2 # From configure.in Id: configure.in 47942 2007-08-07 22:29:07Z VZ .
3 # Guess values for system-dependent variables and create Makefiles.
4 # Generated by GNU Autoconf 2.61 for wxWidgets 2.9.0.
6 # Report bugs to <wx-dev@lists.wxwidgets.org>.
8 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
9 # 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
10 # This configure script is free software; the Free Software Foundation
11 # gives unlimited permission to copy, distribute and modify it.
12 ## --------------------- ##
13 ## M4sh Initialization. ##
14 ## --------------------- ##
16 # Be more Bourne compatible
17 DUALCASE
=1; export DUALCASE
# for MKS sh
18 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
21 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
22 # is contrary to our usage. Disable this feature.
23 alias -g '${1+"$@"}'='"$@"'
26 case `(set -o) 2>/dev/null` in
27 *posix
*) set -o posix
;;
36 # Avoid depending upon Character Ranges.
37 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
38 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
39 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
40 as_cr_digits
='0123456789'
41 as_cr_alnum
=$as_cr_Letters$as_cr_digits
43 # The user is always right.
44 if test "${PATH_SEPARATOR+set}" != set; then
45 echo "#! /bin/sh" >conf$$.sh
46 echo "exit 0" >>conf$$.sh
48 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
56 # Support unset when possible.
57 if ( (MAIL
=60; unset MAIL
) || exit) >/dev
/null
2>&1; then
65 # We need space, tab and new line, in precisely that order. Quoting is
66 # there to prevent editors from complaining about space-tab.
67 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
68 # splitting by setting IFS to empty value.)
73 # Find who we are. Look in the path if we contain no directory separator.
75 *[\\/]* ) as_myself
=$0 ;;
76 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
80 test -z "$as_dir" && as_dir
=.
81 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
87 # We did not find ourselves, most probably we were run as `sh COMMAND'
88 # in which case we are not to be found in the path.
89 if test "x$as_myself" = x
; then
92 if test ! -f "$as_myself"; then
93 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
97 # Work around bugs in pre-3.0 UWIN ksh.
98 for as_var
in ENV MAIL MAILPATH
99 do ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
107 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
108 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
111 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
112 eval $as_var=C
; export $as_var
114 ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
118 # Required to use basename.
119 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
120 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
126 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
133 # Name of the executable.
134 as_me
=`$as_basename -- "$0" ||
135 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
136 X"$0" : 'X\(//\)$' \| \
137 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
139 sed '/^.*\/\([^/][^/]*\)\/*$/{
157 if test "x$CONFIG_SHELL" = x
; then
158 if (eval ":") 2>/dev
/null
; then
164 if test $as_have_required = yes && (eval ":
174 as_func_ret_success () {
177 as_func_ret_failure () {
182 if as_func_success; then
186 echo as_func_success failed.
189 if as_func_failure; then
191 echo as_func_failure succeeded.
194 if as_func_ret_success; then
198 echo as_func_ret_success failed.
201 if as_func_ret_failure; then
203 echo as_func_ret_failure succeeded.
206 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
210 echo positional parameters were not saved.
213 test \$exitcode = 0) || { (exit 1); exit 1; }
218 test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
219 test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
220 ") 2> /dev
/null
; then
224 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
225 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
228 test -z "$as_dir" && as_dir
=.
231 for as_base
in sh bash ksh sh5
; do
232 as_candidate_shells
="$as_candidate_shells $as_dir/$as_base"
239 for as_shell
in $as_candidate_shells $SHELL; do
240 # Try only shells that exist, to save several forks.
241 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
242 { ("$as_shell") 2> /dev
/null
<<\_ASEOF
243 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
246 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
247 # is contrary to our usage. Disable this feature.
248 alias -g '${1+"$@"}'='"$@"'
251 case `(set -o) 2>/dev/null` in
252 *posix
*) set -o posix
;;
261 CONFIG_SHELL
=$as_shell
263 if { "$as_shell" 2> /dev
/null
<<\_ASEOF
264 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
267 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
268 # is contrary to our usage. Disable this feature.
269 alias -g '${1+"$@"}'='"$@"'
272 case `(set -o) 2>/dev/null` in
273 *posix
*) set -o posix
;;
289 as_func_ret_success
() {
292 as_func_ret_failure
() {
297 if as_func_success
; then
301 echo as_func_success failed.
304 if as_func_failure
; then
306 echo as_func_failure succeeded.
309 if as_func_ret_success
; then
313 echo as_func_ret_success failed.
316 if as_func_ret_failure
; then
318 echo as_func_ret_failure succeeded.
321 if ( set x
; as_func_ret_success y
&& test x
= "$1" ); then
325 echo positional parameters were not saved.
328 test $exitcode = 0) || { (exit 1); exit 1; }
333 test "x$as_lineno_1" != "x$as_lineno_2" &&
334 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; }
345 if test "x$CONFIG_SHELL" != x
; then
346 for as_var
in BASH_ENV ENV
347 do ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
350 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
354 if test $as_have_required = no
; then
355 echo This
script requires a shell
more modern than all the
356 echo shells that I found on your system. Please
install a
357 echo modern shell
, or manually run the
script under such a
358 echo shell
if you
do have one.
359 { (exit 1); exit 1; }
369 (eval "as_func_return () {
378 as_func_ret_success () {
381 as_func_ret_failure () {
386 if as_func_success; then
390 echo as_func_success failed.
393 if as_func_failure; then
395 echo as_func_failure succeeded.
398 if as_func_ret_success; then
402 echo as_func_ret_success failed.
405 if as_func_ret_failure; then
407 echo as_func_ret_failure succeeded.
410 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
414 echo positional parameters were not saved.
417 test \$exitcode = 0") || {
418 echo No shell found that supports shell functions.
419 echo Please tell autoconf@gnu.org about your system
,
420 echo including any error possibly output before this
428 test "x$as_lineno_1" != "x$as_lineno_2" &&
429 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
431 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
432 # uniformly replaced by the line number. The first 'sed' inserts a
433 # line-number line after each line using $LINENO; the second 'sed'
434 # does the real work. The second script uses 'N' to pair each
435 # line-number line with the line containing $LINENO, and appends
436 # trailing '-' during substitution so that $LINENO is not a special
438 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
439 # scripts with optimization help from Paolo Bonzini. Blame Lee
440 # E. McMahon (1931-1989) for sed's syntax. :-)
452 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
456 chmod +x
"$as_me.lineno" ||
457 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
458 { (exit 1); exit 1; }; }
460 # Don't try to exec as it changes $[0], causing all sort of problems
461 # (the dirname of $[0] is not the place where we might find the
462 # original and so on. Autoconf is especially sensitive to this).
464 # Exit status is that of the last command.
469 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
475 ECHO_C
= ECHO_N
= ECHO_T
=
479 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
486 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
487 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
493 rm -f conf$$ conf$$.exe conf$$.
file
494 if test -d conf$$.dir
; then
495 rm -f conf$$.dir
/conf$$.
file
501 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
503 # ... but there are two gotchas:
504 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
505 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
506 # In both cases, we have to default to `cp -p'.
507 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe
||
509 elif ln conf$$.
file conf$$
2>/dev
/null
; then
514 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
515 rmdir conf$$.dir
2>/dev
/null
517 if mkdir -p .
2>/dev
/null
; then
520 test -d .
/-p && rmdir .
/-p
524 if test -x / >/dev
/null
2>&1; then
527 if ls -dL / >/dev
/null
2>&1; then
534 if test -d "$1"; then
540 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
541 ???[sx]*):;;*)false;;esac;fi
545 as_executable_p
=$as_test_x
547 # Sed expression to map a string onto a valid CPP name.
548 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
550 # Sed expression to map a string onto a valid variable name.
551 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
555 exec 7<&0 </dev
/null
6>&1
558 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
559 # so uname gets run too.
560 ac_hostname
=`(hostname || uname -n) 2>/dev/null | sed 1q`
565 ac_default_prefix
=/usr
/local
567 ac_config_libobj_dir
=.
573 SHELL
=${CONFIG_SHELL-/bin/sh}
575 # Identity of this package.
576 PACKAGE_NAME
='wxWidgets'
577 PACKAGE_TARNAME
='wxwidgets'
578 PACKAGE_VERSION
='2.9.0'
579 PACKAGE_STRING
='wxWidgets 2.9.0'
580 PACKAGE_BUGREPORT
='wx-dev@lists.wxwidgets.org'
582 ac_unique_file
="wx-config.in"
583 # Factoring default headers for most tests.
584 ac_includes_default
="\
586 #ifdef HAVE_SYS_TYPES_H
587 # include <sys/types.h>
589 #ifdef HAVE_SYS_STAT_H
590 # include <sys/stat.h>
596 # ifdef HAVE_STDLIB_H
601 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
606 #ifdef HAVE_STRINGS_H
607 # include <strings.h>
609 #ifdef HAVE_INTTYPES_H
610 # include <inttypes.h>
628 program_transform_name
707 LIBGNOMEPRINTUI_CFLAGS
754 SAMPLES_RPATH_POSTLINK
810 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT
811 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT
812 COND_BUILD_DEBUG_UNICODE_0
813 COND_BUILD_DEBUG_UNICODE_1
815 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT
816 COND_BUILD_RELEASE_UNICODE_0
817 COND_BUILD_RELEASE_UNICODE_1
826 COND_MONOLITHIC_0_SHARED_0
827 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1
828 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1
829 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1
830 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1
831 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1
832 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1
833 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1
834 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1
835 COND_MONOLITHIC_0_SHARED_0_USE_STC_1
836 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1
837 COND_MONOLITHIC_0_SHARED_1
838 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1
839 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1
840 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1
841 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1
842 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1
843 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1
844 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1
845 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1
846 COND_MONOLITHIC_0_SHARED_1_USE_STC_1
847 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1
848 COND_MONOLITHIC_0_USE_AUI_1
849 COND_MONOLITHIC_0_USE_GUI_1
850 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1
851 COND_MONOLITHIC_0_USE_GUI_1_USE_ODBC_1
852 COND_MONOLITHIC_0_USE_HTML_1
853 COND_MONOLITHIC_0_USE_MEDIA_1
854 COND_MONOLITHIC_0_USE_ODBC_1
855 COND_MONOLITHIC_0_USE_QA_1
856 COND_MONOLITHIC_0_USE_RICHTEXT_1
857 COND_MONOLITHIC_0_USE_STC_1
858 COND_MONOLITHIC_0_USE_XRC_1
860 COND_MONOLITHIC_1_SHARED_0
861 COND_MONOLITHIC_1_SHARED_1
862 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1
863 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1
864 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1
865 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1
866 COND_PLATFORM_MACOSX_1
867 COND_PLATFORM_MACOSX_1_TOOLKIT_
868 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA
869 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK
870 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC
871 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1
872 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF
873 COND_PLATFORM_MACOSX_1_TOOLKIT_X11
874 COND_PLATFORM_MACOSX_1_USE_GUI_1
875 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1
876 COND_PLATFORM_MACOS_1
878 COND_PLATFORM_MSDOS_0
879 COND_PLATFORM_MSDOS_1
883 COND_PLATFORM_UNIX_1_TOOLKIT_MGL
884 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1
885 COND_PLATFORM_UNIX_1_USE_GUI_1
886 COND_PLATFORM_UNIX_1_USE_PLUGINS_0
887 COND_PLATFORM_WIN32_0
888 COND_PLATFORM_WIN32_1
890 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0
891 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0
892 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0
893 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1
894 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
895 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
896 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
897 COND_SHARED_0_USE_STC_1
898 COND_SHARED_0_USE_XRC_1
899 COND_SHARED_0_WXUSE_EXPAT_BUILTIN
900 COND_SHARED_0_WXUSE_ODBC_BUILTIN
901 COND_SHARED_0_WXUSE_REGEX_BUILTIN
902 COND_SHARED_0_WXUSE_ZLIB_BUILTIN
904 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1
905 COND_SHARED_1_USE_XRC_1
908 COND_TOOLKIT_COCOA_USE_GUI_1
909 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0
911 COND_TOOLKIT_DFB_USE_GUI_1
913 COND_TOOLKIT_GTK_TOOLKIT_VERSION_
914 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2
915 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1
916 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0
917 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1
918 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0
919 COND_TOOLKIT_GTK_USE_GUI_1
921 COND_TOOLKIT_MAC_USE_GUI_1
922 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0
924 COND_TOOLKIT_MGL_USE_GUI_1
926 COND_TOOLKIT_MOTIF_USE_GUI_1
927 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0
929 COND_TOOLKIT_MSW_USE_GUI_1
930 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0
931 COND_TOOLKIT_MSW_WXUNIV_0
933 COND_TOOLKIT_PM_USE_GUI_1
934 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0
936 COND_TOOLKIT_WINCE_USE_GUI_1
937 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0
938 COND_TOOLKIT_WINCE_WXUNIV_0
940 COND_TOOLKIT_X11_USE_GUI_1
942 COND_USE_EXCEPTIONS_0
943 COND_USE_EXCEPTIONS_1
946 COND_USE_GUI_1_USE_OPENGL_1
947 COND_USE_GUI_1_WXUNIV_0
948 COND_USE_GUI_1_WXUNIV_1
949 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
950 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
951 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
958 COND_USE_SOSYMLINKS_1
959 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1
960 COND_USE_SOVERLINUX_1
962 COND_USE_SOVERSOLARIS_1
967 COND_WINDOWS_IMPLIB_1
968 COND_WITH_PLUGIN_SDL_1
971 COND_WXUSE_EXPAT_BUILTIN
972 COND_WXUSE_LIBJPEG_BUILTIN
973 COND_WXUSE_LIBPNG_BUILTIN
974 COND_WXUSE_LIBTIFF_BUILTIN
975 COND_WXUSE_ODBC_BUILTIN
976 COND_WXUSE_REGEX_BUILTIN
977 COND_WXUSE_ZLIB_BUILTIN
980 WX_LIBRARY_BASENAME_NOGUI
981 WX_LIBRARY_BASENAME_GUI
1001 WXCONFIG_LDFLAGS_GUI
1014 WX_RESOURCES_MACOSX_ASCII
1015 WX_RESOURCES_MACOSX_DATA
1025 ac_precious_vars
='build_alias
1047 LIBGNOMEPRINTUI_CFLAGS
1048 LIBGNOMEPRINTUI_LIBS
1057 ac_subdirs_all
='src/expat'
1059 # Initialize some variables set by options.
1061 ac_init_version
=false
1062 # The variables have the same names as the options, with
1063 # dashes changed to underlines.
1064 cache_file
=/dev
/null
1071 program_transform_name
=s
,x
,x
,
1079 # Installation directory options.
1080 # These are left unexpanded so users can "make install exec_prefix=/foo"
1081 # and all the variables that are supposed to be based on exec_prefix
1082 # by default will actually change.
1083 # Use braces instead of parens because sh, perl, etc. also accept them.
1084 # (The list follows the same order as the GNU Coding Standards.)
1085 bindir
='${exec_prefix}/bin'
1086 sbindir
='${exec_prefix}/sbin'
1087 libexecdir
='${exec_prefix}/libexec'
1088 datarootdir
='${prefix}/share'
1089 datadir
='${datarootdir}'
1090 sysconfdir
='${prefix}/etc'
1091 sharedstatedir
='${prefix}/com'
1092 localstatedir
='${prefix}/var'
1093 includedir
='${prefix}/include'
1094 oldincludedir
='/usr/include'
1095 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
1096 infodir
='${datarootdir}/info'
1101 libdir
='${exec_prefix}/lib'
1102 localedir
='${datarootdir}/locale'
1103 mandir
='${datarootdir}/man'
1109 # If the previous option needs an argument, assign it.
1110 if test -n "$ac_prev"; then
1111 eval $ac_prev=\
$ac_option
1117 *=*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1121 # Accept the important Cygnus configure options, so we can diagnose typos.
1123 case $ac_dashdash$ac_option in
1127 -bindir | --bindir | --bindi | --bind | --bin | --bi)
1129 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1130 bindir
=$ac_optarg ;;
1132 -build | --build | --buil | --bui | --bu)
1133 ac_prev
=build_alias
;;
1134 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1135 build_alias
=$ac_optarg ;;
1137 -cache-file | --cache-file | --cache-fil | --cache-fi \
1138 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1139 ac_prev
=cache_file
;;
1140 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1141 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1142 cache_file
=$ac_optarg ;;
1144 --config-cache | -C)
1145 cache_file
=config.cache
;;
1147 -datadir | --datadir | --datadi | --datad)
1149 -datadir=* | --datadir=* | --datadi=* | --datad=*)
1150 datadir
=$ac_optarg ;;
1152 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1153 | --dataroo | --dataro | --datar)
1154 ac_prev
=datarootdir
;;
1155 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1156 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1157 datarootdir
=$ac_optarg ;;
1159 -disable-* | --disable-*)
1160 ac_feature
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1161 # Reject names that are not valid shell variable names.
1162 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1163 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
1164 { (exit 1); exit 1; }; }
1165 ac_feature
=`echo $ac_feature | sed 's/[-.]/_/g'`
1166 eval enable_
$ac_feature=no
;;
1168 -docdir | --docdir | --docdi | --doc | --do)
1170 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1171 docdir
=$ac_optarg ;;
1173 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1175 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1176 dvidir
=$ac_optarg ;;
1178 -enable-* | --enable-*)
1179 ac_feature
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1180 # Reject names that are not valid shell variable names.
1181 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1182 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
1183 { (exit 1); exit 1; }; }
1184 ac_feature
=`echo $ac_feature | sed 's/[-.]/_/g'`
1185 eval enable_
$ac_feature=\
$ac_optarg ;;
1187 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1188 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1189 | --exec | --exe | --ex)
1190 ac_prev
=exec_prefix
;;
1191 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1192 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1193 | --exec=* | --exe=* | --ex=*)
1194 exec_prefix
=$ac_optarg ;;
1196 -gas | --gas | --ga | --g)
1197 # Obsolete; use --with-gas.
1200 -help | --help | --hel | --he | -h)
1201 ac_init_help
=long
;;
1202 -help=r
* | --help=r
* | --hel=r
* | --he=r
* | -hr*)
1203 ac_init_help
=recursive
;;
1204 -help=s
* | --help=s
* | --hel=s
* | --he=s
* | -hs*)
1205 ac_init_help
=short
;;
1207 -host | --host | --hos | --ho)
1208 ac_prev
=host_alias
;;
1209 -host=* | --host=* | --hos=* | --ho=*)
1210 host_alias
=$ac_optarg ;;
1212 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1214 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1216 htmldir
=$ac_optarg ;;
1218 -includedir | --includedir | --includedi | --included | --include \
1219 | --includ | --inclu | --incl | --inc)
1220 ac_prev
=includedir
;;
1221 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1222 | --includ=* | --inclu=* | --incl=* | --inc=*)
1223 includedir
=$ac_optarg ;;
1225 -infodir | --infodir | --infodi | --infod | --info | --inf)
1227 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1228 infodir
=$ac_optarg ;;
1230 -libdir | --libdir | --libdi | --libd)
1232 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1233 libdir
=$ac_optarg ;;
1235 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1236 | --libexe | --libex | --libe)
1237 ac_prev
=libexecdir
;;
1238 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1239 | --libexe=* | --libex=* | --libe=*)
1240 libexecdir
=$ac_optarg ;;
1242 -localedir | --localedir | --localedi | --localed | --locale)
1243 ac_prev
=localedir
;;
1244 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1245 localedir
=$ac_optarg ;;
1247 -localstatedir | --localstatedir | --localstatedi | --localstated \
1248 | --localstate | --localstat | --localsta | --localst | --locals)
1249 ac_prev
=localstatedir
;;
1250 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1251 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1252 localstatedir
=$ac_optarg ;;
1254 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1256 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1257 mandir
=$ac_optarg ;;
1259 -nfp | --nfp | --nf)
1260 # Obsolete; use --without-fp.
1263 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1264 | --no-cr | --no-c | -n)
1267 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1268 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1271 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1272 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1273 | --oldin | --oldi | --old | --ol | --o)
1274 ac_prev
=oldincludedir
;;
1275 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1276 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1277 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1278 oldincludedir
=$ac_optarg ;;
1280 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1282 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1283 prefix
=$ac_optarg ;;
1285 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1286 | --program-pre | --program-pr | --program-p)
1287 ac_prev
=program_prefix
;;
1288 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1289 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1290 program_prefix
=$ac_optarg ;;
1292 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1293 | --program-suf | --program-su | --program-s)
1294 ac_prev
=program_suffix
;;
1295 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1296 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1297 program_suffix
=$ac_optarg ;;
1299 -program-transform-name | --program-transform-name \
1300 | --program-transform-nam | --program-transform-na \
1301 | --program-transform-n | --program-transform- \
1302 | --program-transform | --program-transfor \
1303 | --program-transfo | --program-transf \
1304 | --program-trans | --program-tran \
1305 | --progr-tra | --program-tr | --program-t)
1306 ac_prev
=program_transform_name
;;
1307 -program-transform-name=* | --program-transform-name=* \
1308 | --program-transform-nam=* | --program-transform-na=* \
1309 | --program-transform-n=* | --program-transform-=* \
1310 | --program-transform=* | --program-transfor=* \
1311 | --program-transfo=* | --program-transf=* \
1312 | --program-trans=* | --program-tran=* \
1313 | --progr-tra=* | --program-tr=* | --program-t=*)
1314 program_transform_name
=$ac_optarg ;;
1316 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1318 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1319 pdfdir
=$ac_optarg ;;
1321 -psdir | --psdir | --psdi | --psd | --ps)
1323 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1326 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1327 | -silent | --silent | --silen | --sile | --sil)
1330 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1332 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1334 sbindir
=$ac_optarg ;;
1336 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1337 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1338 | --sharedst | --shareds | --shared | --share | --shar \
1340 ac_prev
=sharedstatedir
;;
1341 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1342 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1343 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1345 sharedstatedir
=$ac_optarg ;;
1347 -site | --site | --sit)
1349 -site=* | --site=* | --sit=*)
1352 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1354 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1355 srcdir
=$ac_optarg ;;
1357 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1358 | --syscon | --sysco | --sysc | --sys | --sy)
1359 ac_prev
=sysconfdir
;;
1360 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1361 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1362 sysconfdir
=$ac_optarg ;;
1364 -target | --target | --targe | --targ | --tar | --ta | --t)
1365 ac_prev
=target_alias
;;
1366 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1367 target_alias
=$ac_optarg ;;
1369 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1372 -version | --version | --versio | --versi | --vers | -V)
1373 ac_init_version
=: ;;
1376 ac_package
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1377 # Reject names that are not valid shell variable names.
1378 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1379 { echo "$as_me: error: invalid package name: $ac_package" >&2
1380 { (exit 1); exit 1; }; }
1381 ac_package
=`echo $ac_package | sed 's/[-.]/_/g'`
1382 eval with_
$ac_package=\
$ac_optarg ;;
1384 -without-* | --without-*)
1385 ac_package
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1386 # Reject names that are not valid shell variable names.
1387 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1388 { echo "$as_me: error: invalid package name: $ac_package" >&2
1389 { (exit 1); exit 1; }; }
1390 ac_package
=`echo $ac_package | sed 's/[-.]/_/g'`
1391 eval with_
$ac_package=no
;;
1394 # Obsolete; use --with-x.
1397 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1398 | --x-incl | --x-inc | --x-in | --x-i)
1399 ac_prev
=x_includes
;;
1400 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1401 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1402 x_includes
=$ac_optarg ;;
1404 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1405 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1406 ac_prev
=x_libraries
;;
1407 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1408 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1409 x_libraries
=$ac_optarg ;;
1411 -*) { echo "$as_me: error: unrecognized option: $ac_option
1412 Try \`$0 --help' for more information." >&2
1413 { (exit 1); exit 1; }; }
1417 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1418 # Reject names that are not valid shell variable names.
1419 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev
/null
&&
1420 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1421 { (exit 1); exit 1; }; }
1422 eval $ac_envvar=\
$ac_optarg
1423 export $ac_envvar ;;
1426 # FIXME: should be removed in autoconf 3.0.
1427 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1428 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1429 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1430 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1436 if test -n "$ac_prev"; then
1437 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1438 { echo "$as_me: error: missing argument to $ac_option" >&2
1439 { (exit 1); exit 1; }; }
1442 # Be sure to have absolute directory names.
1443 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1444 datadir sysconfdir sharedstatedir localstatedir includedir \
1445 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1446 libdir localedir mandir
1448 eval ac_val
=\$
$ac_var
1450 [\\/$
]* | ?
:[\\/]* ) continue;;
1451 NONE
| '' ) case $ac_var in *prefix
) continue;; esac;;
1453 { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1454 { (exit 1); exit 1; }; }
1457 # There might be people who depend on the old broken behavior: `$host'
1458 # used to hold the argument of --host etc.
1459 # FIXME: To remove some day.
1462 target
=$target_alias
1464 # FIXME: To remove some day.
1465 if test "x$host_alias" != x
; then
1466 if test "x$build_alias" = x
; then
1467 cross_compiling
=maybe
1468 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1469 If a cross compiler is detected then cross compile mode will be used." >&2
1470 elif test "x$build_alias" != "x$host_alias"; then
1476 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1478 test "$silent" = yes && exec 6>/dev
/null
1481 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1482 ac_ls_di
=`ls -di .` &&
1483 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1484 { echo "$as_me: error: Working directory cannot be determined" >&2
1485 { (exit 1); exit 1; }; }
1486 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1487 { echo "$as_me: error: pwd does not report name of working directory" >&2
1488 { (exit 1); exit 1; }; }
1491 # Find the source files, if location was not specified.
1492 if test -z "$srcdir"; then
1493 ac_srcdir_defaulted
=yes
1494 # Try the directory containing this script, then the parent directory.
1495 ac_confdir
=`$as_dirname -- "$0" ||
1496 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1497 X"$0" : 'X\(//\)[^/]' \| \
1498 X"$0" : 'X\(//\)$' \| \
1499 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
1501 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1519 if test ! -r "$srcdir/$ac_unique_file"; then
1523 ac_srcdir_defaulted
=no
1525 if test ! -r "$srcdir/$ac_unique_file"; then
1526 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1527 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1528 { (exit 1); exit 1; }; }
1530 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1532 cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
1533 { (exit 1); exit 1; }; }
1535 # When building in place, set srcdir=.
1536 if test "$ac_abs_confdir" = "$ac_pwd"; then
1539 # Remove unnecessary trailing slashes from srcdir.
1540 # Double slashes in file names in object file debugging info
1541 # mess up M-x gdb in Emacs.
1543 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1545 for ac_var
in $ac_precious_vars; do
1546 eval ac_env_
${ac_var}_set
=\
${${ac_var}+set}
1547 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1548 eval ac_cv_env_
${ac_var}_set
=\
${${ac_var}+set}
1549 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1553 # Report the --help message.
1555 if test "$ac_init_help" = "long"; then
1556 # Omit some internal or obsolete options to make the list less imposing.
1557 # This message is too long to be a string in the A/UX 3.1 sh.
1559 \`configure' configures wxWidgets 2.9.0 to adapt to many kinds of systems.
1561 Usage: $0 [OPTION]... [VAR=VALUE]...
1563 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1564 VAR=VALUE. See below for descriptions of some of the useful variables.
1566 Defaults for the options are specified in brackets.
1569 -h, --help display this help and exit
1570 --help=short display options specific to this package
1571 --help=recursive display the short help of all the included packages
1572 -V, --version display version information and exit
1573 -q, --quiet, --silent do not print \`checking...' messages
1574 --cache-file=FILE cache test results in FILE [disabled]
1575 -C, --config-cache alias for \`--cache-file=config.cache'
1576 -n, --no-create do not create output files
1577 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1579 Installation directories:
1580 --prefix=PREFIX install architecture-independent files in PREFIX
1581 [$ac_default_prefix]
1582 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1585 By default, \`make install' will install all the files in
1586 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1587 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1588 for instance \`--prefix=\$HOME'.
1590 For better control, use the options below.
1592 Fine tuning of the installation directories:
1593 --bindir=DIR user executables [EPREFIX/bin]
1594 --sbindir=DIR system admin executables [EPREFIX/sbin]
1595 --libexecdir=DIR program executables [EPREFIX/libexec]
1596 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1597 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1598 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1599 --libdir=DIR object code libraries [EPREFIX/lib]
1600 --includedir=DIR C header files [PREFIX/include]
1601 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1602 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1603 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1604 --infodir=DIR info documentation [DATAROOTDIR/info]
1605 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1606 --mandir=DIR man documentation [DATAROOTDIR/man]
1607 --docdir=DIR documentation root [DATAROOTDIR/doc/wxwidgets]
1608 --htmldir=DIR html documentation [DOCDIR]
1609 --dvidir=DIR dvi documentation [DOCDIR]
1610 --pdfdir=DIR pdf documentation [DOCDIR]
1611 --psdir=DIR ps documentation [DOCDIR]
1617 --x-includes=DIR X include files are
in DIR
1618 --x-libraries=DIR X library files are
in DIR
1621 --build=BUILD configure
for building on BUILD
[guessed
]
1622 --host=HOST cross
-compile to build programs to run on HOST
[BUILD
]
1623 --target=TARGET configure
for building compilers
for TARGET
[HOST
]
1627 if test -n "$ac_init_help"; then
1628 case $ac_init_help in
1629 short
| recursive
) echo "Configuration of wxWidgets 2.9.0:";;
1634 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1635 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1636 --disable-gui don
't build GUI parts of the library
1637 --enable-monolithic build wxWidgets as single library
1638 --enable-plugins build parts of wxWidgets as loadable components
1639 --enable-official_build official build of wxWidgets (win32 DLL only)
1640 --enable-vendor=VENDOR vendor name (win32 DLL only)
1641 --disable-all-features disable all optional features to build minimal library
1642 --enable-universal use wxWidgets GUI controls instead of native ones
1643 --enable-nanox use NanoX
1644 --disable-gtk2 use GTK+ 1.2 instead of 2.0
1645 --enable-gpe use GNOME PDA Environment features if possible
1646 --disable-shared create static library instead of shared
1647 --disable-optimise create optimised code
1648 --enable-debug same as debug_flag and debug_info
1649 --enable-stl use STL for containers
1650 --enable-std_iostreams use standard C++ stream classes
1651 --enable-std_string use standard C++ string classes
1652 --disable-unicode compile without Unicode support
1653 --enable-mslu use MS Layer for Unicode on Windows 9x (Win32 only)
1654 --enable-utf8 use UTF-8 representation for strings (Unix only)
1655 --enable-utf8only only support UTF-8 locales in UTF-8 build (Unix only)
1656 --enable-extended_rtti use extended RTTI (XTI)
1657 --enable-omf use OMF object format
1658 --enable-debug_flag set __WXDEBUG__ flag (recommended for developers!)
1659 --enable-debug_info create code with debugging information
1660 --enable-debug_gdb create code with extra GDB debugging information
1661 --enable-debug_cntxt use wxDebugContext
1662 --enable-mem_tracing create code with memory tracing
1663 --enable-profile create code with profiling information
1664 --enable-no_rtti create code without RTTI information
1665 --enable-no_exceptions create code without C++ exceptions handling
1666 --enable-permissive compile code disregarding strict ANSI
1667 --enable-no_deps create code without dependency information
1668 --disable-vararg_macros don't use vararg macros
, even
if they are supported
1669 --enable-universal_binary create Mac PowerPC and Intel Universal binary
(not yet working
)
1670 --enable-compat26 enable wxWidgets
2.6 compatibility
1671 --disable-compat28 disable wxWidgets
2.8 compatibility
1672 --disable-rpath disable use of rpath
for uninstalled builds
1673 --enable-objc_uniquifying enable Objective
-C class name uniquifying
1674 --disable-visibility disable use of ELF symbols visibility even
if supported
1675 --enable-intl use internationalization system
1676 --enable-config use wxConfig
(and derived
) classes
1677 --enable-protocols use wxProtocol and derived classes
1678 --enable-ftp use wxFTP
(requires wxProtocol
1679 --enable-http use wxHTTP
(requires wxProtocol
1680 --enable-fileproto use wxFileProto class
(requires wxProtocol
1681 --enable-sockets use socket
/network classes
1682 --enable-ole use OLE classes
(Win32 only
)
1683 --enable-dataobj use data object classes
1684 --enable-ipc use interprocess communication
(wxSocket etc.
)
1685 --enable-baseevtloop use event loop
in console programs too
1686 --enable-epoolloop use wxEpollDispatcher class
(Linux only
)
1687 --enable-selectloop use wxSelectDispatcher class
1688 --enable-apple_ieee use the Apple IEEE codec
1689 --enable-arcstream use wxArchive streams
1690 --enable-base64 use base64 encoding
/decoding functions
1691 --enable-backtrace use wxStackWalker class
for getting backtraces
1692 --enable-catch_segvs catch signals
in wxApp
::OnFatalException
(Unix only
)
1693 --enable-cmdline use wxCmdLineParser class
1694 --enable-datetime use wxDateTime class
1695 --enable-debugreport use wxDebugReport class
1696 --enable-dialupman use dialup network classes
1697 --enable-dynlib use wxLibrary class
for DLL loading
1698 --enable-dynamicloader use
(new
) wxDynamicLibrary class
1699 --enable-exceptions build exception
-safe library
1700 --enable-ffile use wxFFile class
1701 --enable-file use wxFile class
1702 --enable-filesystem use virtual
file systems classes
1703 --enable-fontenum use wxFontEnumerator class
1704 --enable-fontmap use font encodings conversion classes
1705 --enable-fs_archive use virtual archive filesystems
1706 --enable-fs_inet use virtual HTTP
/FTP filesystems
1707 --enable-fs_zip now replaced by fs_archive
1708 --enable-geometry use geometry class
1709 --enable-log use logging system
1710 --enable-longlong use wxLongLong class
1711 --enable-mimetype use wxMimeTypesManager
1712 --enable-snglinst use wxSingleInstanceChecker class
1713 --enable-stdpaths use wxStandardPaths class
1714 --enable-stopwatch use wxStopWatch class
1715 --enable-streams use wxStream etc classes
1716 --enable-sysoptions use wxSystemOptions
1717 --enable-tarstream use wxTar streams
1718 --enable-textbuf use wxTextBuffer class
1719 --enable-textfile use wxTextFile class
1720 --enable-timer use wxTimer class
1721 --enable-sound use wxSound class
1722 --enable-mediactrl use wxMediaCtrl class
1723 --enable-gstreamer8 force GStreamer
0.8 instead of
0.10 with the wxMediaCtrl class on unix
1724 --enable-printfposparam use wxVsnprintf
() which supports positional parameters
1725 --enable-zipstream use wxZip streams
1726 --enable-url use wxURL class
1727 --enable-variant use wxVariant class
1728 --enable-protocol use wxProtocol class
1729 --enable-protocol-http HTTP support
in wxProtocol
1730 --enable-protocol-ftp FTP support
in wxProtocol
1731 --enable-protocol-file FILE support
in wxProtocol
1732 --enable-threads use threads
1733 --enable-docview use document view architecture
1734 --enable-help use
help subsystem
1735 --enable-mshtmlhelp use MS HTML Help
(win32
)
1736 --enable-html use wxHTML sub
-library
1737 --enable-htmlhelp use wxHTML
-based help
1738 --enable-xrc use XRC resources sub
-library
1739 --enable-aui use AUI docking library
1740 --enable-stc use wxStyledTextCtrl library
1741 --enable-constraints use layout
-constraints system
1742 --enable-printarch use printing architecture
1743 --enable-mdi use multiple document interface architecture
1744 --enable-mdidoc use docview architecture with MDI
1745 --enable-loggui use standard GUI logger
1746 --enable-logwin use wxLogWindow
1747 --enable-logdialog use wxLogDialog
1748 --enable-webkit use wxWebKitCtrl
(Mac
)
1749 --enable-richtext use wxRichTextCtrl
1750 --enable-graphics_ctx use graphics context
2D drawing API
1751 --enable-postscript use wxPostscriptDC device context
(default
for gtk
+)
1752 --enable-svg use wxSVGFileDC device context
1753 --enable-clipboard use wxClipboard class
1754 --enable-dnd use Drag
'n'Drop classes
1755 --enable-metafile use win32 metafiles
1756 --disable-controls disable compilation of all standard controls
1757 --enable-accel use accelerators
1758 --enable-animatectrl use wxAnimationCtrl class
1759 --enable-button use wxButton class
1760 --enable-bmpbutton use wxBitmapButton class
1761 --enable-bmpcombobox use wxBitmapComboBox class
1762 --enable-calendar use wxCalendarCtrl class
1763 --enable-caret use wxCaret class
1764 --enable-checkbox use wxCheckBox class
1765 --enable-checklst use wxCheckListBox
(listbox with checkboxes
) class
1766 --enable-choice use wxChoice class
1767 --enable-choicebook use wxChoicebook class
1768 --enable-collpane use wxCollapsiblePane class
1769 --enable-colourpicker use wxColourPickerCtrl class
1770 --enable-combobox use wxComboBox class
1771 --enable-comboctrl use wxComboCtrl class
1772 --enable-datepick use wxDatePickerCtrl class
1773 --enable-dirpicker use wxDirPickerCtrl class
1774 --enable-display use wxDisplay class
1775 --enable-detect_sm use code to detect X11 session manager
1776 --enable-editablebox use wxEditableListBox class
1777 --enable-filepicker use wxFilePickerCtrl class
1778 --enable-fontpicker use wxFontPickerCtrl class
1779 --enable-gauge use wxGauge class
1780 --enable-grid use wxGrid class
1781 --enable-dataviewctrl use wxDataViewCtrl class
1782 --enable-hyperlink use wxHyperlinkCtrl class
1783 --enable-imaglist use wxImageList class
1784 --enable-listbook use wxListbook class
1785 --enable-listbox use wxListBox class
1786 --enable-listctrl use wxListCtrl class
1787 --enable-notebook use wxNotebook class
1788 --enable-odcombobox use wxOwnerDrawnComboBox class
1789 --enable-radiobox use wxRadioBox class
1790 --enable-radiobtn use wxRadioButton class
1791 --enable-sash use wxSashWindow class
1792 --enable-scrollbar use wxScrollBar class and scrollable windows
1793 --enable-searchctrl use wxSearchCtrl class
1794 --enable-slider use wxSlider class
1795 --enable-spinbtn use wxSpinButton class
1796 --enable-spinctrl use wxSpinCtrl class
1797 --enable-splitter use wxSplitterWindow class
1798 --enable-statbmp use wxStaticBitmap class
1799 --enable-statbox use wxStaticBox class
1800 --enable-statline use wxStaticLine class
1801 --enable-stattext use wxStaticText class
1802 --enable-statusbar use wxStatusBar class
1803 --enable-tabdialog use wxTabControl class
1804 --enable-taskbaricon use wxTaskBarIcon class
1805 --enable-textctrl use wxTextCtrl class
1806 --enable-togglebtn use wxToggleButton class
1807 --enable-toolbar use wxToolBar class
1808 --enable-tbarnative use native wxToolBar class
1809 --enable-treebook use wxTreebook class
1810 --enable-toolbook use wxToolbook class
1811 --enable-treectrl use wxTreeCtrl class
1812 --enable-tipwindow use wxTipWindow class
1813 --enable-popupwin use wxPopUpWindow class
1814 --enable-commondlg use all common dialogs
1815 --enable-aboutdlg use wxAboutBox
1816 --enable-choicedlg use wxChoiceDialog
1817 --enable-coldlg use wxColourDialog
1818 --enable-filedlg use wxFileDialog
1819 --enable-finddlg use wxFindReplaceDialog
1820 --enable-fontdlg use wxFontDialog
1821 --enable-dirdlg use wxDirDialog
1822 --enable-msgdlg use wxMessageDialog
1823 --enable-numberdlg use wxNumberEntryDialog
1824 --enable-splash use wxSplashScreen
1825 --enable-textdlg use wxTextDialog
1826 --enable-tipdlg use startup tips
1827 --enable-progressdlg use wxProgressDialog
1828 --enable-wizarddlg use wxWizard
1829 --enable-menus use wxMenu
/wxMenuBar
/wxMenuItem classes
1830 --enable-miniframe use wxMiniFrame class
1831 --enable-tooltips use wxToolTip class
1832 --enable-splines use spline drawing code
1833 --enable-mousewheel use mousewheel
1834 --enable-validators use wxValidator and derived classes
1835 --enable-busyinfo use wxBusyInfo
1836 --enable-joystick use wxJoystick
1837 --enable-metafiles use wxMetaFile
(Win32 only
)
1838 --enable-dragimage use wxDragImage
1839 --enable-accessibility enable accessibility support
1840 --enable-palette use wxPalette class
1841 --enable-image use wxImage class
1842 --enable-gif use gif images
(GIF
file format
)
1843 --enable-pcx use pcx images
(PCX
file format
)
1844 --enable-tga use tga images
(TGA
file format
)
1845 --enable-iff use iff images
(IFF
file format
)
1846 --enable-pnm use pnm images
(PNM
file format
)
1847 --enable-xpm use xpm images
(XPM
file format
)
1848 --enable-icocur use Windows ICO and CUR formats
1849 --enable-dccache cache temporary wxDC objects
(Win32 only
)
1850 --enable-iniconf use wxIniConfig
(Win32 only
)
1851 --enable-ps-in-msw use PS printing
in wxMSW
(Win32 only
)
1852 --enable-ownerdrawn use owner drawn controls
(Win32 only
)
1853 --enable-regkey use wxRegKey class
(Win32 only
)
1854 --enable-uxtheme enable support
for Windows XP themed
look (Win32 only
)
1855 --enable-wxdib use wxDIB class
(Win32 only
)
1856 --disable-largefile omit support
for large files
1857 --disable-gtktest do not try to compile and run a
test GTK
+ program
1858 --disable-gtktest Do not try to compile and run a
test GTK program
1859 --disable-sdltest Do not try to compile and run a
test SDL program
1860 --enable-omf use OMF object format
(OS
/2)
1861 --disable-dependency-tracking
1862 don
't use dependency tracking even if the compiler
1864 --disable-precomp-headers
1865 don't use precompiled headers even
if compiler can
1868 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
1869 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
1870 --without-subdirs don
't generate makefiles for samples/demos/...
1871 --with-flavour=NAME specify a name to identify this build
1872 --with-themes=all|list use only the specified comma-separated list of wxUniversal themes
1873 --with-gtk[=VERSION] use GTK+, VERSION can be 2 (default), 1 or "any"
1874 --with-motif use Motif/Lesstif
1875 --with-mac use Mac OS X
1876 --with-cocoa use Cocoa
1877 --with-wine use Wine
1878 --with-msw use MS-Windows
1879 --with-pm use OS/2 Presentation Manager
1880 --with-mgl use SciTech MGL
1881 --with-directfb use DirectFB
1882 --with-microwin use MicroWindows
1884 --with-libpng use libpng (PNG image format)
1885 --with-libjpeg use libjpeg (JPEG file format)
1886 --with-libtiff use libtiff (TIFF file format)
1887 --with-libxpm use libxpm (XPM file format)
1888 --with-libmspack use libmspack (CHM help files loading)
1889 --without-gnomeprint don't use GNOME printing libraries
1890 --with-gnomevfs use GNOME VFS
for associating MIME types
1891 --with-hildon use Hildon framework
for Nokia
770
1892 --with-opengl use OpenGL
(or Mesa
)
1893 --with-dmalloc use dmalloc library
(http
://dmalloc.com
/)
1894 --with-sdl use SDL
for audio on Unix
1895 --with-regex enable support
for wxRegEx class
1896 --with-zlib use zlib
for LZW compression
1897 --with-odbc use the IODBC and wxODBC classes
1898 --with-expat enable XML support using expat parser
1899 --with-macosx-sdk=PATH use an OS X SDK
at PATH
1900 --with-macosx-version-min=VER build binaries
which require
at least this OS X version
1901 --with-gtk-prefix=PFX Prefix where GTK is installed
(optional
)
1902 --with-gtk-exec-prefix=PFX Exec prefix where GTK is installed
(optional
)
1903 --with-x use the X Window System
1904 --with-libiconv-prefix=DIR search
for libiconv
in DIR
/include and DIR
/lib
1905 --with-sdl-prefix=PFX Prefix where SDL is installed
(optional
)
1906 --with-sdl-exec-prefix=PFX Exec prefix where SDL is installed
(optional
)
1907 --with-cppunit-prefix=PFX Prefix where CppUnit is installed
(optional
)
1908 --with-cppunit-exec-prefix=PFX Exec prefix where CppUnit is installed
(optional
)
1910 Some influential environment variables
:
1911 CC C compiler
command
1912 CFLAGS C compiler flags
1913 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
1914 nonstandard directory
<lib dir
>
1915 LIBS libraries to pass to the linker
, e.g.
-l<library
>
1916 CPPFLAGS C
/C
++/Objective C preprocessor flags
, e.g.
-I<include dir
> if
1917 you have headers
in a nonstandard directory
<include dir
>
1919 CXX C
++ compiler
command
1920 CXXFLAGS C
++ compiler flags
1921 PKG_CONFIG path to pkg
-config utility
1923 C compiler flags
for DIRECTFB
, overriding pkg
-config
1925 linker flags
for DIRECTFB
, overriding pkg
-config
1926 XMKMF Path to xmkmf
, Makefile generator
for X Window System
1928 C compiler flags
for PANGOX
, overriding pkg
-config
1929 PANGOX_LIBS linker flags
for PANGOX
, overriding pkg
-config
1931 C compiler flags
for PANGOFT2
, overriding pkg
-config
1933 linker flags
for PANGOFT2
, overriding pkg
-config
1935 C compiler flags
for PANGOXFT
, overriding pkg
-config
1937 linker flags
for PANGOXFT
, overriding pkg
-config
1938 LIBGNOMEPRINTUI_CFLAGS
1939 C compiler flags
for LIBGNOMEPRINTUI
, overriding pkg
-config
1940 LIBGNOMEPRINTUI_LIBS
1941 linker flags
for LIBGNOMEPRINTUI
, overriding pkg
-config
1943 C compiler flags
for GNOMEVFS
, overriding pkg
-config
1945 linker flags
for GNOMEVFS
, overriding pkg
-config
1947 C compiler flags
for HILDON
, overriding pkg
-config
1948 HILDON_LIBS linker flags
for HILDON
, overriding pkg
-config
1950 C compiler flags
for CAIRO
, overriding pkg
-config
1951 CAIRO_LIBS linker flags
for CAIRO
, overriding pkg
-config
1952 GST_CFLAGS C compiler flags
for GST
, overriding pkg
-config
1953 GST_LIBS linker flags
for GST
, overriding pkg
-config
1955 Use these variables to override the choices made by
`configure' or to help
1956 it to find libraries and programs with nonstandard names/locations.
1958 Report bugs to <wx-dev@lists.wxwidgets.org>.
1963 if test "$ac_init_help" = "recursive"; then
1964 # If there are subdirs, report their specific --help.
1965 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1966 test -d "$ac_dir" || continue
1970 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1972 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1973 # A ".." for each directory in $ac_dir_suffix.
1974 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
1975 case $ac_top_builddir_sub in
1976 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1977 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1980 ac_abs_top_builddir=$ac_pwd
1981 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1982 # for backward compatibility:
1983 ac_top_builddir=$ac_top_build_prefix
1986 .) # We are building in place.
1988 ac_top_srcdir=$ac_top_builddir_sub
1989 ac_abs_top_srcdir=$ac_pwd ;;
1990 [\\/]* | ?:[\\/]* ) # Absolute name.
1991 ac_srcdir=$srcdir$ac_dir_suffix;
1992 ac_top_srcdir=$srcdir
1993 ac_abs_top_srcdir=$srcdir ;;
1995 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1996 ac_top_srcdir=$ac_top_build_prefix$srcdir
1997 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1999 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
2001 cd "$ac_dir" || { ac_status=$?; continue; }
2002 # Check for guested configure.
2003 if test -f "$ac_srcdir/configure.gnu"; then
2005 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
2006 elif test -f "$ac_srcdir/configure"; then
2008 $SHELL "$ac_srcdir/configure" --help=recursive
2010 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
2012 cd "$ac_pwd" || { ac_status=$?; break; }
2016 test -n "$ac_init_help" && exit $ac_status
2017 if $ac_init_version; then
2019 wxWidgets configure 2.9.0
2020 generated by GNU Autoconf 2.61
2022 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
2023 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
2024 This configure script is free software; the Free Software Foundation
2025 gives unlimited permission to copy, distribute and modify it.
2029 cat >config.log <<_ACEOF
2030 This file contains any messages produced by compilers while
2031 running configure, to aid debugging if configure makes a mistake.
2033 It was created by wxWidgets $as_me 2.9.0, which was
2034 generated by GNU Autoconf 2.61. Invocation command line was
2046 hostname = `(hostname
|| uname
-n) 2>/dev
/null
| sed 1q
`
2047 uname -m = `(uname
-m) 2>/dev
/null
|| echo unknown
`
2048 uname -r = `(uname
-r) 2>/dev
/null
|| echo unknown
`
2049 uname -s = `(uname
-s) 2>/dev
/null
|| echo unknown
`
2050 uname -v = `(uname
-v) 2>/dev
/null
|| echo unknown
`
2052 /usr/bin/uname -p = `(/usr
/bin
/uname
-p) 2>/dev
/null
|| echo unknown
`
2053 /bin/uname -X = `(/bin
/uname
-X) 2>/dev
/null
|| echo unknown
`
2055 /bin/arch = `(/bin
/arch
) 2>/dev
/null
|| echo unknown
`
2056 /usr/bin/arch -k = `(/usr
/bin
/arch
-k) 2>/dev
/null
|| echo unknown
`
2057 /usr/convex/getsysinfo = `(/usr
/convex
/getsysinfo
) 2>/dev
/null
|| echo unknown
`
2058 /usr/bin/hostinfo = `(/usr
/bin
/hostinfo
) 2>/dev
/null
|| echo unknown
`
2059 /bin/machine = `(/bin
/machine
) 2>/dev
/null
|| echo unknown
`
2060 /usr/bin/oslevel = `(/usr
/bin
/oslevel
) 2>/dev
/null
|| echo unknown
`
2061 /bin/universe = `(/bin
/universe
) 2>/dev
/null
|| echo unknown
`
2065 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2069 test -z "$as_dir" && as_dir=.
2070 echo "PATH: $as_dir"
2086 # Keep a trace of the command line.
2087 # Strip out --no-create and --no-recursion so they do not pile up.
2088 # Strip out --silent because we don't want to record it for future runs.
2089 # Also quote any args containing shell meta-characters.
2090 # Make two passes to allow for proper duplicate-argument suppression.
2094 ac_must_keep_next=false
2100 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2101 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2102 | -silent | --silent | --silen | --sile | --sil)
2105 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2108 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
2110 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
2111 if test $ac_must_keep_next = true; then
2112 ac_must_keep_next=false # Got value, back to normal.
2115 *=* | --config-cache | -C | -disable-* | --disable-* \
2116 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2117 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2118 | -with-* | --with-* | -without-* | --without-* | --x)
2119 case "$ac_configure_args0 " in
2120 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2123 -* ) ac_must_keep_next=true ;;
2126 ac_configure_args="$ac_configure_args '$ac_arg'"
2131 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
2132 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
2134 # When interrupted or exit'd, cleanup temporary files, and complete
2135 # config.log. We remove comments because anyway the quotes in there
2136 # would cause problems or look ugly.
2137 # WARNING: Use '\'' to represent an apostrophe within the trap.
2138 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2139 trap 'exit_status=$?
2140 # Save into config.log some information that might help in debugging.
2145 ## ---------------- ##
2146 ## Cache variables. ##
2147 ## ---------------- ##
2150 # The following way of writing the cache mishandles newlines in values,
2152 for ac_var in `(set) 2>&1 | sed -n '\''s
/^\
([a
-zA-Z_][a
-zA-Z0-9_]*\
)=.
*/\
1/p
'\''`; do
2153 eval ac_val=\$$ac_var
2157 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
2158 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
2161 _ | IFS | as_nl) ;; #(
2162 *) $as_unset $ac_var ;;
2167 case $as_nl`(ac_space
='\'' '\''; set) 2>&1` in #(
2168 *${as_nl}ac_space=\ *)
2170 "s/'\''/'\''\\\\'\'''\''/g;
2171 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2174 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2182 ## ----------------- ##
2183 ## Output variables. ##
2184 ## ----------------- ##
2187 for ac_var in $ac_subst_vars
2189 eval ac_val=\$$ac_var
2191 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2193 echo "$ac_var='\''$ac_val'\''"
2197 if test -n "$ac_subst_files"; then
2199 ## ------------------- ##
2200 ## File substitutions. ##
2201 ## ------------------- ##
2204 for ac_var in $ac_subst_files
2206 eval ac_val=\$$ac_var
2208 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2210 echo "$ac_var='\''$ac_val'\''"
2215 if test -s confdefs.h; then
2225 test "$ac_signal" != 0 &&
2226 echo "$as_me: caught signal $ac_signal"
2227 echo "$as_me: exit $exit_status"
2229 rm -f core *.core core.conftest.* &&
2230 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2233 for ac_signal in 1 2 13 15; do
2234 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
2238 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2239 rm -f -r conftest* confdefs.h
2241 # Predefined preprocessor variables.
2243 cat >>confdefs.h <<_ACEOF
2244 #define PACKAGE_NAME "$PACKAGE_NAME"
2248 cat >>confdefs.h <<_ACEOF
2249 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2253 cat >>confdefs.h <<_ACEOF
2254 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2258 cat >>confdefs.h <<_ACEOF
2259 #define PACKAGE_STRING "$PACKAGE_STRING"
2263 cat >>confdefs.h <<_ACEOF
2264 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2268 # Let the site file select an alternate cache file if it wants to.
2269 # Prefer explicitly selected file to automatically selected ones.
2270 if test -n "$CONFIG_SITE"; then
2271 set x "$CONFIG_SITE"
2272 elif test "x$prefix" != xNONE; then
2273 set x "$prefix/share/config.site" "$prefix/etc/config.site"
2275 set x "$ac_default_prefix/share/config.site" \
2276 "$ac_default_prefix/etc/config.site"
2281 if test -r "$ac_site_file"; then
2282 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
2283 echo "$as_me: loading site script $ac_site_file" >&6;}
2284 sed 's/^/| /' "$ac_site_file" >&5
2289 if test -r "$cache_file"; then
2290 # Some versions of bash will fail to source /dev/null (special
2291 # files actually), so we avoid doing that.
2292 if test -f "$cache_file"; then
2293 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
2294 echo "$as_me: loading cache $cache_file" >&6;}
2296 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2297 *) . "./$cache_file";;
2301 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
2302 echo "$as_me: creating cache $cache_file" >&6;}
2306 # Check that the precious variables saved in the cache have kept the same
2308 ac_cache_corrupted=false
2309 for ac_var in $ac_precious_vars; do
2310 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2311 eval ac_new_set=\$ac_env_${ac_var}_set
2312 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2313 eval ac_new_val=\$ac_env_${ac_var}_value
2314 case $ac_old_set,$ac_new_set in
2316 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run
" >&5
2317 echo "$as_me: error
: \
`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2318 ac_cache_corrupted=: ;;
2320 { echo "$as_me:$LINENO: error: \`$ac_var' was not
set in the previous run
" >&5
2321 echo "$as_me: error
: \
`$ac_var' was not set in the previous run" >&2;}
2322 ac_cache_corrupted=: ;;
2325 if test "x$ac_old_val" != "x$ac_new_val"; then
2326 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
2327 echo "$as_me: error: \`$ac_var' has changed since the previous run
:" >&2;}
2328 { echo "$as_me:$LINENO: former value
: $ac_old_val" >&5
2329 echo "$as_me: former value
: $ac_old_val" >&2;}
2330 { echo "$as_me:$LINENO: current value
: $ac_new_val" >&5
2331 echo "$as_me: current value
: $ac_new_val" >&2;}
2332 ac_cache_corrupted=:
2335 # Pass precious variables to config.status.
2336 if test "$ac_new_set" = set; then
2338 *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s
/'/'\\\\\\\\''/g
"` ;;
2339 *) ac_arg=$ac_var=$ac_new_val ;;
2341 case " $ac_configure_args " in
2342 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2343 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
2347 if $ac_cache_corrupted; then
2348 { echo "$as_me:$LINENO: error
: changes
in the environment can compromise the build
" >&5
2349 echo "$as_me: error
: changes
in the environment can compromise the build
" >&2;}
2350 { { echo "$as_me:$LINENO: error
: run \
`make distclean' and/or \`rm $cache_file' and start over" >&5
2351 echo "$as_me: error: run \`make distclean' and
/or \
`rm $cache_file' and start over" >&2;}
2352 { (exit 1); exit 1; }; }
2380 ac_cpp='$CPP $CPPFLAGS'
2381 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2382 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2383 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2390 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2391 if test -f "$ac_dir/install-sh"; then
2393 ac_install_sh="$ac_aux_dir/install-sh -c"
2395 elif test -f "$ac_dir/install.sh"; then
2397 ac_install_sh="$ac_aux_dir/install.sh -c"
2399 elif test -f "$ac_dir/shtool"; then
2401 ac_install_sh="$ac_aux_dir/shtool install -c"
2405 if test -z "$ac_aux_dir"; then
2406 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
2407 echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
2408 { (exit 1); exit 1; }; }
2411 # These three variables are undocumented and unsupported,
2412 # and are intended to be withdrawn in a future Autoconf release.
2413 # They can cause serious problems if a builder's source tree is in a directory
2414 # whose full name contains unusual characters.
2415 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2416 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2417 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2420 # Make sure we can run config.sub.
2421 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2422 { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
2423 echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
2424 { (exit 1); exit 1; }; }
2426 { echo "$as_me:$LINENO: checking build system type" >&5
2427 echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
2428 if test "${ac_cv_build+set}" = set; then
2429 echo $ECHO_N "(cached) $ECHO_C" >&6
2431 ac_build_alias=$build_alias
2432 test "x$ac_build_alias" = x &&
2433 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2434 test "x$ac_build_alias" = x &&
2435 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
2436 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
2437 { (exit 1); exit 1; }; }
2438 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2439 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
2440 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
2441 { (exit 1); exit 1; }; }
2444 { echo "$as_me:$LINENO: result: $ac_cv_build" >&5
2445 echo "${ECHO_T}$ac_cv_build" >&6; }
2446 case $ac_cv_build in
2448 *) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
2449 echo "$as_me: error: invalid value of canonical build" >&2;}
2450 { (exit 1); exit 1; }; };;
2453 ac_save_IFS=$IFS; IFS='-'
2459 # Remember, the first character of IFS is used to create $*,
2460 # except with old shells:
2463 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
2466 { echo "$as_me:$LINENO: checking host system type" >&5
2467 echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
2468 if test "${ac_cv_host+set}" = set; then
2469 echo $ECHO_N "(cached) $ECHO_C" >&6
2471 if test "x$host_alias" = x; then
2472 ac_cv_host=$ac_cv_build
2474 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2475 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
2476 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
2477 { (exit 1); exit 1; }; }
2481 { echo "$as_me:$LINENO: result: $ac_cv_host" >&5
2482 echo "${ECHO_T}$ac_cv_host" >&6; }
2485 *) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
2486 echo "$as_me: error: invalid value of canonical host" >&2;}
2487 { (exit 1); exit 1; }; };;
2490 ac_save_IFS=$IFS; IFS='-'
2496 # Remember, the first character of IFS is used to create $*,
2497 # except with old shells:
2500 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
2503 { echo "$as_me:$LINENO: checking target system type" >&5
2504 echo $ECHO_N "checking target system type... $ECHO_C" >&6; }
2505 if test "${ac_cv_target+set}" = set; then
2506 echo $ECHO_N "(cached) $ECHO_C" >&6
2508 if test "x$target_alias" = x; then
2509 ac_cv_target=$ac_cv_host
2511 ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
2512 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&5
2513 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&2;}
2514 { (exit 1); exit 1; }; }
2518 { echo "$as_me:$LINENO: result: $ac_cv_target" >&5
2519 echo "${ECHO_T}$ac_cv_target" >&6; }
2520 case $ac_cv_target in
2522 *) { { echo "$as_me:$LINENO: error: invalid value of canonical target" >&5
2523 echo "$as_me: error: invalid value of canonical target" >&2;}
2524 { (exit 1); exit 1; }; };;
2526 target=$ac_cv_target
2527 ac_save_IFS=$IFS; IFS='-'
2533 # Remember, the first character of IFS is used to create $*,
2534 # except with old shells:
2537 case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac
2540 # The aliases save the names the user supplied, while $host etc.
2541 # will get canonicalized.
2542 test -n "$target_alias" &&
2543 test "$program_prefix$program_suffix$program_transform_name" = \
2545 program_prefix=${target_alias}-
2549 wx_major_version_number=2
2550 wx_minor_version_number=9
2552 wx_subrelease_number=0
2554 WX_RELEASE=$wx_major_version_number.$wx_minor_version_number
2555 WX_VERSION=$WX_RELEASE.$wx_release_number
2556 WX_SUBVERSION=$WX_VERSION.$wx_subrelease_number
2558 WX_MSW_VERSION=$wx_major_version_number$wx_minor_version_number$wx_release_number
2561 wx_top_builddir="`pwd`"
2574 USE_BSD= USE_DARWIN= USE_FREEBSD=
2580 USE_SOLARIS= USE_SUN= USE_SUNOS= USE_SVR4= USE_SYSV= USE_VMS=
2586 NEEDS_D_REENTRANT_FOR_R_FUNCS=0
2588 ALL_TOOLKITS="COCOA GTK MAC MGL MICROWIN MOTIF MSW PM X11 DFB"
2590 DEFAULT_wxUSE_COCOA=0
2594 DEFAULT_wxUSE_MICROWIN=0
2595 DEFAULT_wxUSE_MOTIF=0
2601 DEFAULT_DEFAULT_wxUSE_COCOA=0
2602 DEFAULT_DEFAULT_wxUSE_GTK=0
2603 DEFAULT_DEFAULT_wxUSE_MAC=0
2604 DEFAULT_DEFAULT_wxUSE_MGL=0
2605 DEFAULT_DEFAULT_wxUSE_MICROWIN=0
2606 DEFAULT_DEFAULT_wxUSE_MOTIF=0
2607 DEFAULT_DEFAULT_wxUSE_MSW=0
2608 DEFAULT_DEFAULT_wxUSE_PM=0
2609 DEFAULT_DEFAULT_wxUSE_X11=0
2610 DEFAULT_DEFAULT_wxUSE_DFB=0
2615 SAMPLES_RPATH_POSTLINK=
2617 DEFAULT_STD_FLAG=yes
2622 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2623 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
2625 cat >>confdefs.h <<\_ACEOF
2630 CPPFLAGS="-D_HPUX_SOURCE $CPPFLAGS"
2634 cat >>confdefs.h <<\_ACEOF
2639 if test "x$TMP" = "xalpha"; then
2641 cat >>confdefs.h <<\_ACEOF
2646 DEFAULT_DEFAULT_wxUSE_GTK=1
2648 *-*-gnu* | *-*-k*bsd*-gnu )
2651 if test "x$TMP" = "xalpha"; then
2653 cat >>confdefs.h <<\_ACEOF
2658 DEFAULT_DEFAULT_wxUSE_GTK=1
2660 *-*-irix5* | *-*-irix6* )
2663 cat >>confdefs.h <<\_ACEOF
2667 cat >>confdefs.h <<\_ACEOF
2671 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2677 cat >>confdefs.h <<\_ACEOF
2681 cat >>confdefs.h <<\_ACEOF
2682 #define __SOLARIS__ 1
2685 cat >>confdefs.h <<\_ACEOF
2689 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2690 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
2696 cat >>confdefs.h <<\_ACEOF
2700 cat >>confdefs.h <<\_ACEOF
2704 cat >>confdefs.h <<\_ACEOF
2708 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2713 cat >>confdefs.h <<\_ACEOF
2714 #define __FREEBSD__ 1
2717 cat >>confdefs.h <<\_ACEOF
2721 DEFAULT_DEFAULT_wxUSE_GTK=1
2723 *-*-openbsd*|*-*-mirbsd*)
2726 cat >>confdefs.h <<\_ACEOF
2727 #define __OPENBSD__ 1
2730 cat >>confdefs.h <<\_ACEOF
2734 DEFAULT_DEFAULT_wxUSE_GTK=1
2739 cat >>confdefs.h <<\_ACEOF
2740 #define __NETBSD__ 1
2743 cat >>confdefs.h <<\_ACEOF
2747 DEFAULT_DEFAULT_wxUSE_GTK=1
2748 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
2750 CPPFLAGS="-D_NETBSD_SOURCE -D_LIBC $CPPFLAGS"
2755 cat >>confdefs.h <<\_ACEOF
2759 cat >>confdefs.h <<\_ACEOF
2763 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2764 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
2769 cat >>confdefs.h <<\_ACEOF
2773 cat >>confdefs.h <<\_ACEOF
2777 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2782 cat >>confdefs.h <<\_ACEOF
2786 cat >>confdefs.h <<\_ACEOF
2790 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2797 cat >>confdefs.h <<\_ACEOF
2801 cat >>confdefs.h <<\_ACEOF
2805 cat >>confdefs.h <<\_ACEOF
2809 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2816 cat >>confdefs.h <<\_ACEOF
2817 #define __UNIXWARE__ 1
2822 *-*-cygwin* | *-*-mingw32* )
2825 DEFAULT_DEFAULT_wxUSE_MSW=1
2831 cat >>confdefs.h <<\_ACEOF
2836 DEFAULT_DEFAULT_wxUSE_MGL=1
2839 *-pc-os2_emx | *-pc-os2-emx )
2840 cat >>confdefs.h <<\_ACEOF
2845 cat >>confdefs.h <<\_ACEOF
2850 DEFAULT_DEFAULT_wxUSE_PM=1
2852 LDFLAGS="$LDFLAGS -Zcrtdll"
2853 ac_executable_extensions=".exe"
2854 export ac_executable_extensions
2858 for ac_dir in $PATH; do
2860 if test -z "$ac_TEMP_PATH"; then
2861 ac_TEMP_PATH="$ac_dir"
2863 ac_TEMP_PATH="$ac_TEMP_PATH/$ac_dir"
2866 export PATH="$ac_TEMP_PATH"
2875 cat >>confdefs.h <<\_ACEOF
2879 cat >>confdefs.h <<\_ACEOF
2880 #define __DARWIN__ 1
2883 cat >>confdefs.h <<\_ACEOF
2884 #define TARGET_CARBON 1
2887 DEFAULT_DEFAULT_wxUSE_MAC=1
2890 powerpc-apple-macos* )
2892 ac_cv_c_bigendian=yes
2894 DEFAULT_DEFAULT_wxUSE_MAC=1
2900 cat >>confdefs.h <<\_ACEOF
2907 { echo "$as_me:$LINENO: WARNING: *** System type ${host} is unknown, assuming generic Unix and continuing nevertheless." >&5
2908 echo "$as_me: WARNING: *** System type ${host} is unknown, assuming generic Unix and continuing nevertheless." >&2;}
2909 { echo "$as_me:$LINENO: WARNING: *** Please report the build results to wx-dev@lists.wxwidgets.org." >&5
2910 echo "$as_me: WARNING: *** Please report the build results to wx-dev@lists.wxwidgets.org." >&2;}
2912 DEFAULT_DEFAULT_wxUSE_X11=1
2913 DEFAULT_wxUSE_SHARED=no
2919 wx_arg_cache_file="configarg.cache"
2920 echo "loading argument cache $wx_arg_cache_file"
2921 rm -f ${wx_arg_cache_file}.tmp
2922 touch ${wx_arg_cache_file}.tmp
2923 touch ${wx_arg_cache_file}
2926 DEFAULT_wxUSE_ALL_FEATURES=yes
2928 DEFAULT_wxUSE_STD_IOSTREAM=$DEFAULT_STD_FLAG
2929 DEFAULT_wxUSE_STD_STRING=$DEFAULT_STD_FLAG
2931 DEFAULT_wxUSE_DMALLOC=no
2932 DEFAULT_wxUSE_LIBGNOMEVFS=no
2933 DEFAULT_wxUSE_LIBHILDON=no
2934 DEFAULT_wxUSE_LIBMSPACK=no
2935 DEFAULT_wxUSE_LIBSDL=no
2936 DEFAULT_wxUSE_ODBC=no
2937 DEFAULT_wxUSE_OPENGL=no
2939 DEFAULT_wxUSE_ACCESSIBILITY=no
2940 DEFAULT_wxUSE_DATAVIEWCTRL=no
2941 DEFAULT_wxUSE_GRAPHICS_CONTEXT=no
2942 DEFAULT_wxUSE_MEDIACTRL=no
2943 DEFAULT_wxUSE_TAB_DIALOG=no
2945 DEFAULT_wxUSE_UNICODE_UTF8=auto
2946 DEFAULT_wxUSE_UNICODE_UTF8_LOCALE=no
2948 DEFAULT_wxUSE_UNIVERSAL_BINARY=no
2950 DEFAULT_wxUSE_OFFICIAL_BUILD=no
2952 DEFAULT_wxUSE_GTK2=yes
2954 DEFAULT_wxUSE_OBJC_UNIQUIFYING=no
2957 for toolkit in `echo $ALL_TOOLKITS`; do
2958 LINE=`grep "wxUSE_$toolkit=" ${wx_arg_cache_file}`
2959 if test "x$LINE" != "x" ; then
2960 has_toolkit_in_cache=1
2961 eval "DEFAULT_$LINE"
2962 eval "CACHE_$toolkit=1"
2964 LINE=`grep "wx${toolkit}_VERSION=" ${wx_arg_cache_file}`
2965 if test "x$LINE" != "x" ; then
2966 eval "DEFAULT_$LINE"
2975 enablestring=disable
2977 if test -z "$defaultval"; then
2978 if test x"$enablestring" = xdisable; then
2985 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gui" >&5
2986 echo $ECHO_N "checking for --${enablestring:-enable}-gui... $ECHO_C" >&6; }
2987 # Check whether --enable-gui was given.
2988 if test "${enable_gui+set}" = set; then
2989 enableval=$enable_gui;
2990 if test "$enableval" = yes; then
2991 wx_cv_use_gui='wxUSE_GUI=yes'
2993 wx_cv_use_gui='wxUSE_GUI=no'
2999 LINE=`grep "^wxUSE_GUI=" ${wx_arg_cache_file}`
3000 if test "x$LINE" != x ; then
3001 eval "DEFAULT_$LINE"
3007 wx_cv_use_gui='wxUSE_GUI=${'DEFAULT_wxUSE_GUI":-$defaultval}"
3012 eval "$wx_cv_use_gui"
3013 if test "x$cache" = xyes; then
3014 echo "wxUSE_GUI=$wxUSE_GUI" >> ${wx_arg_cache_file}.tmp
3017 if test x"$enablestring" = xdisable; then
3018 if test $wxUSE_GUI = yes; then
3027 { echo "$as_me:$LINENO: result: $result" >&5
3028 echo "${ECHO_T}$result" >&6; }
3033 if test -z "$defaultval"; then
3034 if test x"$enablestring" = xdisable; then
3041 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-monolithic" >&5
3042 echo $ECHO_N "checking for --${enablestring:-enable}-monolithic... $ECHO_C" >&6; }
3043 # Check whether --enable-monolithic was given.
3044 if test "${enable_monolithic+set}" = set; then
3045 enableval=$enable_monolithic;
3046 if test "$enableval" = yes; then
3047 wx_cv_use_monolithic='wxUSE_MONOLITHIC=yes'
3049 wx_cv_use_monolithic='wxUSE_MONOLITHIC=no'
3055 LINE=`grep "^wxUSE_MONOLITHIC=" ${wx_arg_cache_file}`
3056 if test "x$LINE" != x ; then
3057 eval "DEFAULT_$LINE"
3063 wx_cv_use_monolithic='wxUSE_MONOLITHIC=${'DEFAULT_wxUSE_MONOLITHIC":-$defaultval}"
3068 eval "$wx_cv_use_monolithic"
3069 if test "x$cache" = xyes; then
3070 echo "wxUSE_MONOLITHIC=$wxUSE_MONOLITHIC" >> ${wx_arg_cache_file}.tmp
3073 if test x"$enablestring" = xdisable; then
3074 if test $wxUSE_MONOLITHIC = yes; then
3080 result=$wxUSE_MONOLITHIC
3083 { echo "$as_me:$LINENO: result: $result" >&5
3084 echo "${ECHO_T}$result" >&6; }
3089 if test -z "$defaultval"; then
3090 if test x"$enablestring" = xdisable; then
3097 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-plugins" >&5
3098 echo $ECHO_N "checking for --${enablestring:-enable}-plugins... $ECHO_C" >&6; }
3099 # Check whether --enable-plugins was given.
3100 if test "${enable_plugins+set}" = set; then
3101 enableval=$enable_plugins;
3102 if test "$enableval" = yes; then
3103 wx_cv_use_plugins='wxUSE_PLUGINS=yes'
3105 wx_cv_use_plugins='wxUSE_PLUGINS=no'
3111 LINE=`grep "^wxUSE_PLUGINS=" ${wx_arg_cache_file}`
3112 if test "x$LINE" != x ; then
3113 eval "DEFAULT_$LINE"
3119 wx_cv_use_plugins='wxUSE_PLUGINS=${'DEFAULT_wxUSE_PLUGINS":-$defaultval}"
3124 eval "$wx_cv_use_plugins"
3125 if test "x$cache" = xyes; then
3126 echo "wxUSE_PLUGINS=$wxUSE_PLUGINS" >> ${wx_arg_cache_file}.tmp
3129 if test x"$enablestring" = xdisable; then
3130 if test $wxUSE_PLUGINS = yes; then
3136 result=$wxUSE_PLUGINS
3139 { echo "$as_me:$LINENO: result: $result" >&5
3140 echo "${ECHO_T}$result" >&6; }
3144 defaultval=$wxUSE_ALL_FEATURES
3145 if test -z "$defaultval"; then
3146 if test x"$withstring" = xwithout; then
3152 { echo "$as_me:$LINENO: checking for --${withstring:-with}-subdirs" >&5
3153 echo $ECHO_N "checking for --${withstring:-with}-subdirs... $ECHO_C" >&6; }
3155 # Check whether --with-subdirs was given.
3156 if test "${with_subdirs+set}" = set; then
3157 withval=$with_subdirs;
3158 if test "$withval" = yes; then
3159 wx_cv_use_subdirs='wxWITH_SUBDIRS=yes'
3161 wx_cv_use_subdirs='wxWITH_SUBDIRS=no'
3167 LINE=`grep "^wxWITH_SUBDIRS=" ${wx_arg_cache_file}`
3168 if test "x$LINE" != x ; then
3169 eval "DEFAULT_$LINE"
3175 wx_cv_use_subdirs='wxWITH_SUBDIRS=${'DEFAULT_wxWITH_SUBDIRS":-$defaultval}"
3180 eval "$wx_cv_use_subdirs"
3181 if test "x$cache" = xyes; then
3182 echo "wxWITH_SUBDIRS=$wxWITH_SUBDIRS" >> ${wx_arg_cache_file}.tmp
3185 if test x"$withstring" = xwithout; then
3186 if test $wxWITH_SUBDIRS = yes; then
3192 result=$wxWITH_SUBDIRS
3195 { echo "$as_me:$LINENO: result: $result" >&5
3196 echo "${ECHO_T}$result" >&6; }
3199 # Check whether --with-flavour was given.
3200 if test "${with_flavour+set}" = set; then
3201 withval=$with_flavour; WX_FLAVOUR="$withval"
3207 if test -z "$defaultval"; then
3208 if test x"$enablestring" = xdisable; then
3215 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-official_build" >&5
3216 echo $ECHO_N "checking for --${enablestring:-enable}-official_build... $ECHO_C" >&6; }
3217 # Check whether --enable-official_build was given.
3218 if test "${enable_official_build+set}" = set; then
3219 enableval=$enable_official_build;
3220 if test "$enableval" = yes; then
3221 wx_cv_use_official_build='wxUSE_OFFICIAL_BUILD=yes'
3223 wx_cv_use_official_build='wxUSE_OFFICIAL_BUILD=no'
3229 LINE=`grep "^wxUSE_OFFICIAL_BUILD=" ${wx_arg_cache_file}`
3230 if test "x$LINE" != x ; then
3231 eval "DEFAULT_$LINE"
3237 wx_cv_use_official_build='wxUSE_OFFICIAL_BUILD=${'DEFAULT_wxUSE_OFFICIAL_BUILD":-$defaultval}"
3242 eval "$wx_cv_use_official_build"
3243 if test "x$cache" = xyes; then
3244 echo "wxUSE_OFFICIAL_BUILD=$wxUSE_OFFICIAL_BUILD" >> ${wx_arg_cache_file}.tmp
3247 if test x"$enablestring" = xdisable; then
3248 if test $wxUSE_OFFICIAL_BUILD = yes; then
3254 result=$wxUSE_OFFICIAL_BUILD
3257 { echo "$as_me:$LINENO: result: $result" >&5
3258 echo "${ECHO_T}$result" >&6; }
3260 # Check whether --enable-vendor was given.
3261 if test "${enable_vendor+set}" = set; then
3262 enableval=$enable_vendor; VENDOR="$enableval"
3265 if test "x$VENDOR" = "x"; then
3270 enablestring=disable
3272 if test -z "$defaultval"; then
3273 if test x"$enablestring" = xdisable; then
3280 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-all-features" >&5
3281 echo $ECHO_N "checking for --${enablestring:-enable}-all-features... $ECHO_C" >&6; }
3282 # Check whether --enable-all-features was given.
3283 if test "${enable_all_features+set}" = set; then
3284 enableval=$enable_all_features;
3285 if test "$enableval" = yes; then
3286 wx_cv_use_all_features='wxUSE_ALL_FEATURES=yes'
3288 wx_cv_use_all_features='wxUSE_ALL_FEATURES=no'
3294 LINE=`grep "^wxUSE_ALL_FEATURES=" ${wx_arg_cache_file}`
3295 if test "x$LINE" != x ; then
3296 eval "DEFAULT_$LINE"
3302 wx_cv_use_all_features='wxUSE_ALL_FEATURES=${'DEFAULT_wxUSE_ALL_FEATURES":-$defaultval}"
3307 eval "$wx_cv_use_all_features"
3308 if test "x$cache" = xyes; then
3309 echo "wxUSE_ALL_FEATURES=$wxUSE_ALL_FEATURES" >> ${wx_arg_cache_file}.tmp
3312 if test x"$enablestring" = xdisable; then
3313 if test $wxUSE_ALL_FEATURES = yes; then
3319 result=$wxUSE_ALL_FEATURES
3322 { echo "$as_me:$LINENO: result: $result" >&5
3323 echo "${ECHO_T}$result" >&6; }
3327 if test "$wxUSE_GUI" = "yes"; then
3332 if test -z "$defaultval"; then
3333 if test x"$enablestring" = xdisable; then
3340 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-universal" >&5
3341 echo $ECHO_N "checking for --${enablestring:-enable}-universal... $ECHO_C" >&6; }
3342 # Check whether --enable-universal was given.
3343 if test "${enable_universal+set}" = set; then
3344 enableval=$enable_universal;
3345 if test "$enableval" = yes; then
3346 wx_cv_use_universal='wxUSE_UNIVERSAL=yes'
3348 wx_cv_use_universal='wxUSE_UNIVERSAL=no'
3354 LINE=`grep "^wxUSE_UNIVERSAL=" ${wx_arg_cache_file}`
3355 if test "x$LINE" != x ; then
3356 eval "DEFAULT_$LINE"
3362 wx_cv_use_universal='wxUSE_UNIVERSAL=${'DEFAULT_wxUSE_UNIVERSAL":-$defaultval}"
3367 eval "$wx_cv_use_universal"
3368 if test "x$cache" = xyes; then
3369 echo "wxUSE_UNIVERSAL=$wxUSE_UNIVERSAL" >> ${wx_arg_cache_file}.tmp
3372 if test x"$enablestring" = xdisable; then
3373 if test $wxUSE_UNIVERSAL = yes; then
3379 result=$wxUSE_UNIVERSAL
3382 { echo "$as_me:$LINENO: result: $result" >&5
3383 echo "${ECHO_T}$result" >&6; }
3385 if test "$wxUSE_UNIVERSAL" = "yes"; then
3387 # Check whether --with-themes was given.
3388 if test "${with_themes+set}" = set; then
3389 withval=$with_themes; wxUNIV_THEMES="$withval"
3395 # Check whether --with-gtk was given.
3396 if test "${with_gtk+set}" = set; then
3397 withval=$with_gtk; wxUSE_GTK="$withval" CACHE_GTK=1 TOOLKIT_GIVEN=1
3401 # Check whether --with-motif was given.
3402 if test "${with_motif+set}" = set; then
3403 withval=$with_motif; wxUSE_MOTIF="$withval" CACHE_MOTIF=1 TOOLKIT_GIVEN=1
3407 # Check whether --with-mac was given.
3408 if test "${with_mac+set}" = set; then
3409 withval=$with_mac; wxUSE_MAC="$withval" CACHE_MAC=1 TOOLKIT_GIVEN=1
3413 # Check whether --with-cocoa was given.
3414 if test "${with_cocoa+set}" = set; then
3415 withval=$with_cocoa; wxUSE_COCOA="$withval" CACHE_COCOA=1 TOOLKIT_GIVEN=1
3419 # Check whether --with-wine was given.
3420 if test "${with_wine+set}" = set; then
3421 withval=$with_wine; wxUSE_WINE="$withval" CACHE_WINE=1
3425 # Check whether --with-msw was given.
3426 if test "${with_msw+set}" = set; then
3427 withval=$with_msw; wxUSE_MSW="$withval" CACHE_MSW=1 TOOLKIT_GIVEN=1
3431 # Check whether --with-pm was given.
3432 if test "${with_pm+set}" = set; then
3433 withval=$with_pm; wxUSE_PM="$withval" CACHE_PM=1 TOOLKIT_GIVEN=1
3437 # Check whether --with-mgl was given.
3438 if test "${with_mgl+set}" = set; then
3439 withval=$with_mgl; wxUSE_MGL="$withval" wxUSE_UNIVERSAL="yes" CACHE_MGL=1 TOOLKIT_GIVEN=1
3443 # Check whether --with-directfb was given.
3444 if test "${with_directfb+set}" = set; then
3445 withval=$with_directfb; wxUSE_DFB="$withval" wxUSE_UNIVERSAL="yes" CACHE_DFB=1 TOOLKIT_GIVEN=1
3449 # Check whether --with-microwin was given.
3450 if test "${with_microwin+set}" = set; then
3451 withval=$with_microwin; wxUSE_MICROWIN="$withval" CACHE_MICROWIN=1 TOOLKIT_GIVEN=1
3455 # Check whether --with-x11 was given.
3456 if test "${with_x11+set}" = set; then
3457 withval=$with_x11; wxUSE_X11="$withval" wxUSE_UNIVERSAL="yes" CACHE_X11=1 TOOLKIT_GIVEN=1
3463 if test -z "$defaultval"; then
3464 if test x"$enablestring" = xdisable; then
3471 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-nanox" >&5
3472 echo $ECHO_N "checking for --${enablestring:-enable}-nanox... $ECHO_C" >&6; }
3473 # Check whether --enable-nanox was given.
3474 if test "${enable_nanox+set}" = set; then
3475 enableval=$enable_nanox;
3476 if test "$enableval" = yes; then
3477 wx_cv_use_nanox='wxUSE_NANOX=yes'
3479 wx_cv_use_nanox='wxUSE_NANOX=no'
3485 LINE=`grep "^wxUSE_NANOX=" ${wx_arg_cache_file}`
3486 if test "x$LINE" != x ; then
3487 eval "DEFAULT_$LINE"
3493 wx_cv_use_nanox='wxUSE_NANOX=${'DEFAULT_wxUSE_NANOX":-$defaultval}"
3498 eval "$wx_cv_use_nanox"
3499 if test "x$cache" = xyes; then
3500 echo "wxUSE_NANOX=$wxUSE_NANOX" >> ${wx_arg_cache_file}.tmp
3503 if test x"$enablestring" = xdisable; then
3504 if test $wxUSE_NANOX = yes; then
3513 { echo "$as_me:$LINENO: result: $result" >&5
3514 echo "${ECHO_T}$result" >&6; }
3517 # Check whether --enable-gtk2 was given.
3518 if test "${enable_gtk2+set}" = set; then
3519 enableval=$enable_gtk2; wxUSE_GTK2="$enableval"
3525 if test -z "$defaultval"; then
3526 if test x"$enablestring" = xdisable; then
3533 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gpe" >&5
3534 echo $ECHO_N "checking for --${enablestring:-enable}-gpe... $ECHO_C" >&6; }
3535 # Check whether --enable-gpe was given.
3536 if test "${enable_gpe+set}" = set; then
3537 enableval=$enable_gpe;
3538 if test "$enableval" = yes; then
3539 wx_cv_use_gpe='wxUSE_GPE=yes'
3541 wx_cv_use_gpe='wxUSE_GPE=no'
3547 LINE=`grep "^wxUSE_GPE=" ${wx_arg_cache_file}`
3548 if test "x$LINE" != x ; then
3549 eval "DEFAULT_$LINE"
3555 wx_cv_use_gpe='wxUSE_GPE=${'DEFAULT_wxUSE_GPE":-$defaultval}"
3560 eval "$wx_cv_use_gpe"
3561 if test "x$cache" = xyes; then
3562 echo "wxUSE_GPE=$wxUSE_GPE" >> ${wx_arg_cache_file}.tmp
3565 if test x"$enablestring" = xdisable; then
3566 if test $wxUSE_GPE = yes; then
3575 { echo "$as_me:$LINENO: result: $result" >&5
3576 echo "${ECHO_T}$result" >&6; }
3581 { echo "$as_me:$LINENO: checking for --with-libpng" >&5
3582 echo $ECHO_N "checking for --with-libpng... $ECHO_C" >&6; }
3584 # Check whether --with-libpng was given.
3585 if test "${with_libpng+set}" = set; then
3586 withval=$with_libpng;
3587 if test "$withval" = yes; then
3588 wx_cv_use_libpng='wxUSE_LIBPNG=yes'
3589 elif test "$withval" = no; then
3590 wx_cv_use_libpng='wxUSE_LIBPNG=no'
3591 elif test "$withval" = sys; then
3592 wx_cv_use_libpng='wxUSE_LIBPNG=sys'
3593 elif test "$withval" = builtin; then
3594 wx_cv_use_libpng='wxUSE_LIBPNG=builtin'
3596 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
3597 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
3598 { (exit 1); exit 1; }; }
3604 LINE=`grep "^wxUSE_LIBPNG=" ${wx_arg_cache_file}`
3605 if test "x$LINE" != x ; then
3606 eval "DEFAULT_$LINE"
3612 wx_cv_use_libpng='wxUSE_LIBPNG=${'DEFAULT_wxUSE_LIBPNG":-$wxUSE_ALL_FEATURES}"
3617 eval "$wx_cv_use_libpng"
3618 if test "x$cache" = xyes; then
3619 echo "wxUSE_LIBPNG=$wxUSE_LIBPNG" >> ${wx_arg_cache_file}.tmp
3622 if test "$wxUSE_LIBPNG" = yes; then
3623 { echo "$as_me:$LINENO: result: yes" >&5
3624 echo "${ECHO_T}yes" >&6; }
3625 elif test "$wxUSE_LIBPNG" = no; then
3626 { echo "$as_me:$LINENO: result: no" >&5
3627 echo "${ECHO_T}no" >&6; }
3628 elif test "$wxUSE_LIBPNG" = sys; then
3629 { echo "$as_me:$LINENO: result: system version" >&5
3630 echo "${ECHO_T}system version" >&6; }
3631 elif test "$wxUSE_LIBPNG" = builtin; then
3632 { echo "$as_me:$LINENO: result: builtin version" >&5
3633 echo "${ECHO_T}builtin version" >&6; }
3635 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
3636 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
3637 { (exit 1); exit 1; }; }
3641 { echo "$as_me:$LINENO: checking for --with-libjpeg" >&5
3642 echo $ECHO_N "checking for --with-libjpeg... $ECHO_C" >&6; }
3644 # Check whether --with-libjpeg was given.
3645 if test "${with_libjpeg+set}" = set; then
3646 withval=$with_libjpeg;
3647 if test "$withval" = yes; then
3648 wx_cv_use_libjpeg='wxUSE_LIBJPEG=yes'
3649 elif test "$withval" = no; then
3650 wx_cv_use_libjpeg='wxUSE_LIBJPEG=no'
3651 elif test "$withval" = sys; then
3652 wx_cv_use_libjpeg='wxUSE_LIBJPEG=sys'
3653 elif test "$withval" = builtin; then
3654 wx_cv_use_libjpeg='wxUSE_LIBJPEG=builtin'
3656 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
3657 echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
3658 { (exit 1); exit 1; }; }
3664 LINE=`grep "^wxUSE_LIBJPEG=" ${wx_arg_cache_file}`
3665 if test "x$LINE" != x ; then
3666 eval "DEFAULT_$LINE"
3672 wx_cv_use_libjpeg='wxUSE_LIBJPEG=${'DEFAULT_wxUSE_LIBJPEG":-$wxUSE_ALL_FEATURES}"
3677 eval "$wx_cv_use_libjpeg"
3678 if test "x$cache" = xyes; then
3679 echo "wxUSE_LIBJPEG=$wxUSE_LIBJPEG" >> ${wx_arg_cache_file}.tmp
3682 if test "$wxUSE_LIBJPEG" = yes; then
3683 { echo "$as_me:$LINENO: result: yes" >&5
3684 echo "${ECHO_T}yes" >&6; }
3685 elif test "$wxUSE_LIBJPEG" = no; then
3686 { echo "$as_me:$LINENO: result: no" >&5
3687 echo "${ECHO_T}no" >&6; }
3688 elif test "$wxUSE_LIBJPEG" = sys; then
3689 { echo "$as_me:$LINENO: result: system version" >&5
3690 echo "${ECHO_T}system version" >&6; }
3691 elif test "$wxUSE_LIBJPEG" = builtin; then
3692 { echo "$as_me:$LINENO: result: builtin version" >&5
3693 echo "${ECHO_T}builtin version" >&6; }
3695 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
3696 echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
3697 { (exit 1); exit 1; }; }
3701 { echo "$as_me:$LINENO: checking for --with-libtiff" >&5
3702 echo $ECHO_N "checking for --with-libtiff... $ECHO_C" >&6; }
3704 # Check whether --with-libtiff was given.
3705 if test "${with_libtiff+set}" = set; then
3706 withval=$with_libtiff;
3707 if test "$withval" = yes; then
3708 wx_cv_use_libtiff='wxUSE_LIBTIFF=yes'
3709 elif test "$withval" = no; then
3710 wx_cv_use_libtiff='wxUSE_LIBTIFF=no'
3711 elif test "$withval" = sys; then
3712 wx_cv_use_libtiff='wxUSE_LIBTIFF=sys'
3713 elif test "$withval" = builtin; then
3714 wx_cv_use_libtiff='wxUSE_LIBTIFF=builtin'
3716 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
3717 echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
3718 { (exit 1); exit 1; }; }
3724 LINE=`grep "^wxUSE_LIBTIFF=" ${wx_arg_cache_file}`
3725 if test "x$LINE" != x ; then
3726 eval "DEFAULT_$LINE"
3732 wx_cv_use_libtiff='wxUSE_LIBTIFF=${'DEFAULT_wxUSE_LIBTIFF":-$wxUSE_ALL_FEATURES}"
3737 eval "$wx_cv_use_libtiff"
3738 if test "x$cache" = xyes; then
3739 echo "wxUSE_LIBTIFF=$wxUSE_LIBTIFF" >> ${wx_arg_cache_file}.tmp
3742 if test "$wxUSE_LIBTIFF" = yes; then
3743 { echo "$as_me:$LINENO: result: yes" >&5
3744 echo "${ECHO_T}yes" >&6; }
3745 elif test "$wxUSE_LIBTIFF" = no; then
3746 { echo "$as_me:$LINENO: result: no" >&5
3747 echo "${ECHO_T}no" >&6; }
3748 elif test "$wxUSE_LIBTIFF" = sys; then
3749 { echo "$as_me:$LINENO: result: system version" >&5
3750 echo "${ECHO_T}system version" >&6; }
3751 elif test "$wxUSE_LIBTIFF" = builtin; then
3752 { echo "$as_me:$LINENO: result: builtin version" >&5
3753 echo "${ECHO_T}builtin version" >&6; }
3755 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
3756 echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
3757 { (exit 1); exit 1; }; }
3761 { echo "$as_me:$LINENO: checking for --with-libxpm" >&5
3762 echo $ECHO_N "checking for --with-libxpm... $ECHO_C" >&6; }
3764 # Check whether --with-libxpm was given.
3765 if test "${with_libxpm+set}" = set; then
3766 withval=$with_libxpm;
3767 if test "$withval" = yes; then
3768 wx_cv_use_libxpm='wxUSE_LIBXPM=yes'
3769 elif test "$withval" = no; then
3770 wx_cv_use_libxpm='wxUSE_LIBXPM=no'
3771 elif test "$withval" = sys; then
3772 wx_cv_use_libxpm='wxUSE_LIBXPM=sys'
3773 elif test "$withval" = builtin; then
3774 wx_cv_use_libxpm='wxUSE_LIBXPM=builtin'
3776 { { echo "$as_me:$LINENO: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&5
3777 echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
3778 { (exit 1); exit 1; }; }
3784 LINE=`grep "^wxUSE_LIBXPM=" ${wx_arg_cache_file}`
3785 if test "x$LINE" != x ; then
3786 eval "DEFAULT_$LINE"
3792 wx_cv_use_libxpm='wxUSE_LIBXPM=${'DEFAULT_wxUSE_LIBXPM":-$wxUSE_ALL_FEATURES}"
3797 eval "$wx_cv_use_libxpm"
3798 if test "x$cache" = xyes; then
3799 echo "wxUSE_LIBXPM=$wxUSE_LIBXPM" >> ${wx_arg_cache_file}.tmp
3802 if test "$wxUSE_LIBXPM" = yes; then
3803 { echo "$as_me:$LINENO: result: yes" >&5
3804 echo "${ECHO_T}yes" >&6; }
3805 elif test "$wxUSE_LIBXPM" = no; then
3806 { echo "$as_me:$LINENO: result: no" >&5
3807 echo "${ECHO_T}no" >&6; }
3808 elif test "$wxUSE_LIBXPM" = sys; then
3809 { echo "$as_me:$LINENO: result: system version" >&5
3810 echo "${ECHO_T}system version" >&6; }
3811 elif test "$wxUSE_LIBXPM" = builtin; then
3812 { echo "$as_me:$LINENO: result: builtin version" >&5
3813 echo "${ECHO_T}builtin version" >&6; }
3815 { { echo "$as_me:$LINENO: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&5
3816 echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
3817 { (exit 1); exit 1; }; }
3822 defaultval=$wxUSE_ALL_FEATURES
3823 if test -z "$defaultval"; then
3824 if test x"$withstring" = xwithout; then
3830 { echo "$as_me:$LINENO: checking for --${withstring:-with}-libmspack" >&5
3831 echo $ECHO_N "checking for --${withstring:-with}-libmspack... $ECHO_C" >&6; }
3833 # Check whether --with-libmspack was given.
3834 if test "${with_libmspack+set}" = set; then
3835 withval=$with_libmspack;
3836 if test "$withval" = yes; then
3837 wx_cv_use_libmspack='wxUSE_LIBMSPACK=yes'
3839 wx_cv_use_libmspack='wxUSE_LIBMSPACK=no'
3845 LINE=`grep "^wxUSE_LIBMSPACK=" ${wx_arg_cache_file}`
3846 if test "x$LINE" != x ; then
3847 eval "DEFAULT_$LINE"
3853 wx_cv_use_libmspack='wxUSE_LIBMSPACK=${'DEFAULT_wxUSE_LIBMSPACK":-$defaultval}"
3858 eval "$wx_cv_use_libmspack"
3859 if test "x$cache" = xyes; then
3860 echo "wxUSE_LIBMSPACK=$wxUSE_LIBMSPACK" >> ${wx_arg_cache_file}.tmp
3863 if test x"$withstring" = xwithout; then
3864 if test $wxUSE_LIBMSPACK = yes; then
3870 result=$wxUSE_LIBMSPACK
3873 { echo "$as_me:$LINENO: result: $result" >&5
3874 echo "${ECHO_T}$result" >&6; }
3878 defaultval=$wxUSE_ALL_FEATURES
3879 if test -z "$defaultval"; then
3880 if test x"$withstring" = xwithout; then
3886 { echo "$as_me:$LINENO: checking for --${withstring:-with}-gnomeprint" >&5
3887 echo $ECHO_N "checking for --${withstring:-with}-gnomeprint... $ECHO_C" >&6; }
3889 # Check whether --with-gnomeprint was given.
3890 if test "${with_gnomeprint+set}" = set; then
3891 withval=$with_gnomeprint;
3892 if test "$withval" = yes; then
3893 wx_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT=yes'
3895 wx_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT=no'
3901 LINE=`grep "^wxUSE_LIBGNOMEPRINT=" ${wx_arg_cache_file}`
3902 if test "x$LINE" != x ; then
3903 eval "DEFAULT_$LINE"
3909 wx_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT=${'DEFAULT_wxUSE_LIBGNOMEPRINT":-$defaultval}"
3914 eval "$wx_cv_use_gnomeprint"
3915 if test "x$cache" = xyes; then
3916 echo "wxUSE_LIBGNOMEPRINT=$wxUSE_LIBGNOMEPRINT" >> ${wx_arg_cache_file}.tmp
3919 if test x"$withstring" = xwithout; then
3920 if test $wxUSE_LIBGNOMEPRINT = yes; then
3926 result=$wxUSE_LIBGNOMEPRINT
3929 { echo "$as_me:$LINENO: result: $result" >&5
3930 echo "${ECHO_T}$result" >&6; }
3934 defaultval=$wxUSE_ALL_FEATURES
3935 if test -z "$defaultval"; then
3936 if test x"$withstring" = xwithout; then
3942 { echo "$as_me:$LINENO: checking for --${withstring:-with}-gnomevfs" >&5
3943 echo $ECHO_N "checking for --${withstring:-with}-gnomevfs... $ECHO_C" >&6; }
3945 # Check whether --with-gnomevfs was given.
3946 if test "${with_gnomevfs+set}" = set; then
3947 withval=$with_gnomevfs;
3948 if test "$withval" = yes; then
3949 wx_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS=yes'
3951 wx_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS=no'
3957 LINE=`grep "^wxUSE_LIBGNOMEVFS=" ${wx_arg_cache_file}`
3958 if test "x$LINE" != x ; then
3959 eval "DEFAULT_$LINE"
3965 wx_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS=${'DEFAULT_wxUSE_LIBGNOMEVFS":-$defaultval}"
3970 eval "$wx_cv_use_gnomevfs"
3971 if test "x$cache" = xyes; then
3972 echo "wxUSE_LIBGNOMEVFS=$wxUSE_LIBGNOMEVFS" >> ${wx_arg_cache_file}.tmp
3975 if test x"$withstring" = xwithout; then
3976 if test $wxUSE_LIBGNOMEVFS = yes; then
3982 result=$wxUSE_LIBGNOMEVFS
3985 { echo "$as_me:$LINENO: result: $result" >&5
3986 echo "${ECHO_T}$result" >&6; }
3990 defaultval=$wxUSE_ALL_FEATURES
3991 if test -z "$defaultval"; then
3992 if test x"$withstring" = xwithout; then
3998 { echo "$as_me:$LINENO: checking for --${withstring:-with}-hildon" >&5
3999 echo $ECHO_N "checking for --${withstring:-with}-hildon... $ECHO_C" >&6; }
4001 # Check whether --with-hildon was given.
4002 if test "${with_hildon+set}" = set; then
4003 withval=$with_hildon;
4004 if test "$withval" = yes; then
4005 wx_cv_use_hildon='wxUSE_LIBHILDON=yes'
4007 wx_cv_use_hildon='wxUSE_LIBHILDON=no'
4013 LINE=`grep "^wxUSE_LIBHILDON=" ${wx_arg_cache_file}`
4014 if test "x$LINE" != x ; then
4015 eval "DEFAULT_$LINE"
4021 wx_cv_use_hildon='wxUSE_LIBHILDON=${'DEFAULT_wxUSE_LIBHILDON":-$defaultval}"
4026 eval "$wx_cv_use_hildon"
4027 if test "x$cache" = xyes; then
4028 echo "wxUSE_LIBHILDON=$wxUSE_LIBHILDON" >> ${wx_arg_cache_file}.tmp
4031 if test x"$withstring" = xwithout; then
4032 if test $wxUSE_LIBHILDON = yes; then
4038 result=$wxUSE_LIBHILDON
4041 { echo "$as_me:$LINENO: result: $result" >&5
4042 echo "${ECHO_T}$result" >&6; }
4046 defaultval=$wxUSE_ALL_FEATURES
4047 if test -z "$defaultval"; then
4048 if test x"$withstring" = xwithout; then
4054 { echo "$as_me:$LINENO: checking for --${withstring:-with}-opengl" >&5
4055 echo $ECHO_N "checking for --${withstring:-with}-opengl... $ECHO_C" >&6; }
4057 # Check whether --with-opengl was given.
4058 if test "${with_opengl+set}" = set; then
4059 withval=$with_opengl;
4060 if test "$withval" = yes; then
4061 wx_cv_use_opengl='wxUSE_OPENGL=yes'
4063 wx_cv_use_opengl='wxUSE_OPENGL=no'
4069 LINE=`grep "^wxUSE_OPENGL=" ${wx_arg_cache_file}`
4070 if test "x$LINE" != x ; then
4071 eval "DEFAULT_$LINE"
4077 wx_cv_use_opengl='wxUSE_OPENGL=${'DEFAULT_wxUSE_OPENGL":-$defaultval}"
4082 eval "$wx_cv_use_opengl"
4083 if test "x$cache" = xyes; then
4084 echo "wxUSE_OPENGL=$wxUSE_OPENGL" >> ${wx_arg_cache_file}.tmp
4087 if test x"$withstring" = xwithout; then
4088 if test $wxUSE_OPENGL = yes; then
4094 result=$wxUSE_OPENGL
4097 { echo "$as_me:$LINENO: result: $result" >&5
4098 echo "${ECHO_T}$result" >&6; }
4105 defaultval=$wxUSE_ALL_FEATURES
4106 if test -z "$defaultval"; then
4107 if test x"$withstring" = xwithout; then
4113 { echo "$as_me:$LINENO: checking for --${withstring:-with}-dmalloc" >&5
4114 echo $ECHO_N "checking for --${withstring:-with}-dmalloc... $ECHO_C" >&6; }
4116 # Check whether --with-dmalloc was given.
4117 if test "${with_dmalloc+set}" = set; then
4118 withval=$with_dmalloc;
4119 if test "$withval" = yes; then
4120 wx_cv_use_dmalloc='wxUSE_DMALLOC=yes'
4122 wx_cv_use_dmalloc='wxUSE_DMALLOC=no'
4128 LINE=`grep "^wxUSE_DMALLOC=" ${wx_arg_cache_file}`
4129 if test "x$LINE" != x ; then
4130 eval "DEFAULT_$LINE"
4136 wx_cv_use_dmalloc='wxUSE_DMALLOC=${'DEFAULT_wxUSE_DMALLOC":-$defaultval}"
4141 eval "$wx_cv_use_dmalloc"
4142 if test "x$cache" = xyes; then
4143 echo "wxUSE_DMALLOC=$wxUSE_DMALLOC" >> ${wx_arg_cache_file}.tmp
4146 if test x"$withstring" = xwithout; then
4147 if test $wxUSE_DMALLOC = yes; then
4153 result=$wxUSE_DMALLOC
4156 { echo "$as_me:$LINENO: result: $result" >&5
4157 echo "${ECHO_T}$result" >&6; }
4161 defaultval=$wxUSE_ALL_FEATURES
4162 if test -z "$defaultval"; then
4163 if test x"$withstring" = xwithout; then
4169 { echo "$as_me:$LINENO: checking for --${withstring:-with}-sdl" >&5
4170 echo $ECHO_N "checking for --${withstring:-with}-sdl... $ECHO_C" >&6; }
4172 # Check whether --with-sdl was given.
4173 if test "${with_sdl+set}" = set; then
4175 if test "$withval" = yes; then
4176 wx_cv_use_sdl='wxUSE_LIBSDL=yes'
4178 wx_cv_use_sdl='wxUSE_LIBSDL=no'
4184 LINE=`grep "^wxUSE_LIBSDL=" ${wx_arg_cache_file}`
4185 if test "x$LINE" != x ; then
4186 eval "DEFAULT_$LINE"
4192 wx_cv_use_sdl='wxUSE_LIBSDL=${'DEFAULT_wxUSE_LIBSDL":-$defaultval}"
4197 eval "$wx_cv_use_sdl"
4198 if test "x$cache" = xyes; then
4199 echo "wxUSE_LIBSDL=$wxUSE_LIBSDL" >> ${wx_arg_cache_file}.tmp
4202 if test x"$withstring" = xwithout; then
4203 if test $wxUSE_LIBSDL = yes; then
4209 result=$wxUSE_LIBSDL
4212 { echo "$as_me:$LINENO: result: $result" >&5
4213 echo "${ECHO_T}$result" >&6; }
4216 { echo "$as_me:$LINENO: checking for --with-regex" >&5
4217 echo $ECHO_N "checking for --with-regex... $ECHO_C" >&6; }
4219 # Check whether --with-regex was given.
4220 if test "${with_regex+set}" = set; then
4221 withval=$with_regex;
4222 if test "$withval" = yes; then
4223 wx_cv_use_regex='wxUSE_REGEX=yes'
4224 elif test "$withval" = no; then
4225 wx_cv_use_regex='wxUSE_REGEX=no'
4226 elif test "$withval" = sys; then
4227 wx_cv_use_regex='wxUSE_REGEX=sys'
4228 elif test "$withval" = builtin; then
4229 wx_cv_use_regex='wxUSE_REGEX=builtin'
4231 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
4232 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
4233 { (exit 1); exit 1; }; }
4239 LINE=`grep "^wxUSE_REGEX=" ${wx_arg_cache_file}`
4240 if test "x$LINE" != x ; then
4241 eval "DEFAULT_$LINE"
4247 wx_cv_use_regex='wxUSE_REGEX=${'DEFAULT_wxUSE_REGEX":-$wxUSE_ALL_FEATURES}"
4252 eval "$wx_cv_use_regex"
4253 if test "x$cache" = xyes; then
4254 echo "wxUSE_REGEX=$wxUSE_REGEX" >> ${wx_arg_cache_file}.tmp
4257 if test "$wxUSE_REGEX" = yes; then
4258 { echo "$as_me:$LINENO: result: yes" >&5
4259 echo "${ECHO_T}yes" >&6; }
4260 elif test "$wxUSE_REGEX" = no; then
4261 { echo "$as_me:$LINENO: result: no" >&5
4262 echo "${ECHO_T}no" >&6; }
4263 elif test "$wxUSE_REGEX" = sys; then
4264 { echo "$as_me:$LINENO: result: system version" >&5
4265 echo "${ECHO_T}system version" >&6; }
4266 elif test "$wxUSE_REGEX" = builtin; then
4267 { echo "$as_me:$LINENO: result: builtin version" >&5
4268 echo "${ECHO_T}builtin version" >&6; }
4270 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
4271 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
4272 { (exit 1); exit 1; }; }
4276 { echo "$as_me:$LINENO: checking for --with-zlib" >&5
4277 echo $ECHO_N "checking for --with-zlib... $ECHO_C" >&6; }
4279 # Check whether --with-zlib was given.
4280 if test "${with_zlib+set}" = set; then
4282 if test "$withval" = yes; then
4283 wx_cv_use_zlib='wxUSE_ZLIB=yes'
4284 elif test "$withval" = no; then
4285 wx_cv_use_zlib='wxUSE_ZLIB=no'
4286 elif test "$withval" = sys; then
4287 wx_cv_use_zlib='wxUSE_ZLIB=sys'
4288 elif test "$withval" = builtin; then
4289 wx_cv_use_zlib='wxUSE_ZLIB=builtin'
4291 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
4292 echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
4293 { (exit 1); exit 1; }; }
4299 LINE=`grep "^wxUSE_ZLIB=" ${wx_arg_cache_file}`
4300 if test "x$LINE" != x ; then
4301 eval "DEFAULT_$LINE"
4307 wx_cv_use_zlib='wxUSE_ZLIB=${'DEFAULT_wxUSE_ZLIB":-$wxUSE_ALL_FEATURES}"
4312 eval "$wx_cv_use_zlib"
4313 if test "x$cache" = xyes; then
4314 echo "wxUSE_ZLIB=$wxUSE_ZLIB" >> ${wx_arg_cache_file}.tmp
4317 if test "$wxUSE_ZLIB" = yes; then
4318 { echo "$as_me:$LINENO: result: yes" >&5
4319 echo "${ECHO_T}yes" >&6; }
4320 elif test "$wxUSE_ZLIB" = no; then
4321 { echo "$as_me:$LINENO: result: no" >&5
4322 echo "${ECHO_T}no" >&6; }
4323 elif test "$wxUSE_ZLIB" = sys; then
4324 { echo "$as_me:$LINENO: result: system version" >&5
4325 echo "${ECHO_T}system version" >&6; }
4326 elif test "$wxUSE_ZLIB" = builtin; then
4327 { echo "$as_me:$LINENO: result: builtin version" >&5
4328 echo "${ECHO_T}builtin version" >&6; }
4330 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
4331 echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
4332 { (exit 1); exit 1; }; }
4336 { echo "$as_me:$LINENO: checking for --with-odbc" >&5
4337 echo $ECHO_N "checking for --with-odbc... $ECHO_C" >&6; }
4339 # Check whether --with-odbc was given.
4340 if test "${with_odbc+set}" = set; then
4342 if test "$withval" = yes; then
4343 wx_cv_use_odbc='wxUSE_ODBC=yes'
4344 elif test "$withval" = no; then
4345 wx_cv_use_odbc='wxUSE_ODBC=no'
4346 elif test "$withval" = sys; then
4347 wx_cv_use_odbc='wxUSE_ODBC=sys'
4348 elif test "$withval" = builtin; then
4349 wx_cv_use_odbc='wxUSE_ODBC=builtin'
4351 { { echo "$as_me:$LINENO: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&5
4352 echo "$as_me: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&2;}
4353 { (exit 1); exit 1; }; }
4359 LINE=`grep "^wxUSE_ODBC=" ${wx_arg_cache_file}`
4360 if test "x$LINE" != x ; then
4361 eval "DEFAULT_$LINE"
4367 wx_cv_use_odbc='wxUSE_ODBC=${'DEFAULT_wxUSE_ODBC":-$wxUSE_ALL_FEATURES}"
4372 eval "$wx_cv_use_odbc"
4373 if test "x$cache" = xyes; then
4374 echo "wxUSE_ODBC=$wxUSE_ODBC" >> ${wx_arg_cache_file}.tmp
4377 if test "$wxUSE_ODBC" = yes; then
4378 { echo "$as_me:$LINENO: result: yes" >&5
4379 echo "${ECHO_T}yes" >&6; }
4380 elif test "$wxUSE_ODBC" = no; then
4381 { echo "$as_me:$LINENO: result: no" >&5
4382 echo "${ECHO_T}no" >&6; }
4383 elif test "$wxUSE_ODBC" = sys; then
4384 { echo "$as_me:$LINENO: result: system version" >&5
4385 echo "${ECHO_T}system version" >&6; }
4386 elif test "$wxUSE_ODBC" = builtin; then
4387 { echo "$as_me:$LINENO: result: builtin version" >&5
4388 echo "${ECHO_T}builtin version" >&6; }
4390 { { echo "$as_me:$LINENO: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&5
4391 echo "$as_me: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&2;}
4392 { (exit 1); exit 1; }; }
4396 { echo "$as_me:$LINENO: checking for --with-expat" >&5
4397 echo $ECHO_N "checking for --with-expat... $ECHO_C" >&6; }
4399 # Check whether --with-expat was given.
4400 if test "${with_expat+set}" = set; then
4401 withval=$with_expat;
4402 if test "$withval" = yes; then
4403 wx_cv_use_expat='wxUSE_EXPAT=yes'
4404 elif test "$withval" = no; then
4405 wx_cv_use_expat='wxUSE_EXPAT=no'
4406 elif test "$withval" = sys; then
4407 wx_cv_use_expat='wxUSE_EXPAT=sys'
4408 elif test "$withval" = builtin; then
4409 wx_cv_use_expat='wxUSE_EXPAT=builtin'
4411 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
4412 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
4413 { (exit 1); exit 1; }; }
4419 LINE=`grep "^wxUSE_EXPAT=" ${wx_arg_cache_file}`
4420 if test "x$LINE" != x ; then
4421 eval "DEFAULT_$LINE"
4427 wx_cv_use_expat='wxUSE_EXPAT=${'DEFAULT_wxUSE_EXPAT":-$wxUSE_ALL_FEATURES}"
4432 eval "$wx_cv_use_expat"
4433 if test "x$cache" = xyes; then
4434 echo "wxUSE_EXPAT=$wxUSE_EXPAT" >> ${wx_arg_cache_file}.tmp
4437 if test "$wxUSE_EXPAT" = yes; then
4438 { echo "$as_me:$LINENO: result: yes" >&5
4439 echo "${ECHO_T}yes" >&6; }
4440 elif test "$wxUSE_EXPAT" = no; then
4441 { echo "$as_me:$LINENO: result: no" >&5
4442 echo "${ECHO_T}no" >&6; }
4443 elif test "$wxUSE_EXPAT" = sys; then
4444 { echo "$as_me:$LINENO: result: system version" >&5
4445 echo "${ECHO_T}system version" >&6; }
4446 elif test "$wxUSE_EXPAT" = builtin; then
4447 { echo "$as_me:$LINENO: result: builtin version" >&5
4448 echo "${ECHO_T}builtin version" >&6; }
4450 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
4451 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
4452 { (exit 1); exit 1; }; }
4456 { echo "$as_me:$LINENO: checking for --with-macosx-sdk" >&5
4457 echo $ECHO_N "checking for --with-macosx-sdk... $ECHO_C" >&6; }
4459 # Check whether --with-macosx-sdk was given.
4460 if test "${with_macosx_sdk+set}" = set; then
4461 withval=$with_macosx_sdk;
4462 wxUSE_MACOSX_SDK=$withval
4463 wx_cv_use_macosx_sdk="wxUSE_MACOSX_SDK=$withval"
4464 echo "wxUSE_MACOSX_SDK=$wxUSE_MACOSX_SDK" >> ${wx_arg_cache_file}.tmp
4468 # NOTE: Empty string on purpose so that --without-macosx-sdk (thus no)
4469 # will override --enable-universal_binary's automatic SDK usage.
4471 LINE=`grep "^wxUSE_MACOSX_SDK=" ${wx_arg_cache_file}`
4472 if test "x$LINE" != x ; then
4474 echo "$LINE" >> ${wx_arg_cache_file}.tmp
4479 { echo "$as_me:$LINENO: result: $wxUSE_MACOSX_SDK" >&5
4480 echo "${ECHO_T}$wxUSE_MACOSX_SDK" >&6; }
4482 { echo "$as_me:$LINENO: checking for --with-macosx-version-min" >&5
4483 echo $ECHO_N "checking for --with-macosx-version-min... $ECHO_C" >&6; }
4485 # Check whether --with-macosx-version-min was given.
4486 if test "${with_macosx_version_min+set}" = set; then
4487 withval=$with_macosx_version_min;
4488 wxUSE_MACOSX_VERSION_MIN=$withval
4489 wx_cv_use_macosx_version_min="wxUSE_MACOSX_VERSION_MIN=$withval"
4490 echo "wxUSE_MACOSX_VERSION_MIN=$wxUSE_MACOSX_VERSION_MIN" >> ${wx_arg_cache_file}.tmp
4494 # default "yes" because when not using an SDK it means the same as no
4495 # but when using an SDK it means to use the SDK version
4496 wxUSE_MACOSX_VERSION_MIN=yes
4497 # See if there is a value in the cache
4498 LINE=`grep "^wxUSE_MACOSX_VERSION_MIN=" ${wx_arg_cache_file}`
4499 if test "x$LINE" != x ; then
4501 echo "$LINE" >> ${wx_arg_cache_file}.tmp
4506 { echo "$as_me:$LINENO: result: $wxUSE_MACOSX_VERSION_MIN" >&5
4507 echo "${ECHO_T}$wxUSE_MACOSX_VERSION_MIN" >&6; }
4511 enablestring=disable
4513 if test -z "$defaultval"; then
4514 if test x"$enablestring" = xdisable; then
4521 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-shared" >&5
4522 echo $ECHO_N "checking for --${enablestring:-enable}-shared... $ECHO_C" >&6; }
4523 # Check whether --enable-shared was given.
4524 if test "${enable_shared+set}" = set; then
4525 enableval=$enable_shared;
4526 if test "$enableval" = yes; then
4527 wx_cv_use_shared='wxUSE_SHARED=yes'
4529 wx_cv_use_shared='wxUSE_SHARED=no'
4535 LINE=`grep "^wxUSE_SHARED=" ${wx_arg_cache_file}`
4536 if test "x$LINE" != x ; then
4537 eval "DEFAULT_$LINE"
4543 wx_cv_use_shared='wxUSE_SHARED=${'DEFAULT_wxUSE_SHARED":-$defaultval}"
4548 eval "$wx_cv_use_shared"
4549 if test "x$cache" = xyes; then
4550 echo "wxUSE_SHARED=$wxUSE_SHARED" >> ${wx_arg_cache_file}.tmp
4553 if test x"$enablestring" = xdisable; then
4554 if test $wxUSE_SHARED = yes; then
4560 result=$wxUSE_SHARED
4563 { echo "$as_me:$LINENO: result: $result" >&5
4564 echo "${ECHO_T}$result" >&6; }
4567 enablestring=disable
4569 if test -z "$defaultval"; then
4570 if test x"$enablestring" = xdisable; then
4577 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-optimise" >&5
4578 echo $ECHO_N "checking for --${enablestring:-enable}-optimise... $ECHO_C" >&6; }
4579 # Check whether --enable-optimise was given.
4580 if test "${enable_optimise+set}" = set; then
4581 enableval=$enable_optimise;
4582 if test "$enableval" = yes; then
4583 wx_cv_use_optimise='wxUSE_OPTIMISE=yes'
4585 wx_cv_use_optimise='wxUSE_OPTIMISE=no'
4591 LINE=`grep "^wxUSE_OPTIMISE=" ${wx_arg_cache_file}`
4592 if test "x$LINE" != x ; then
4593 eval "DEFAULT_$LINE"
4599 wx_cv_use_optimise='wxUSE_OPTIMISE=${'DEFAULT_wxUSE_OPTIMISE":-$defaultval}"
4604 eval "$wx_cv_use_optimise"
4605 if test "x$cache" = xyes; then
4606 echo "wxUSE_OPTIMISE=$wxUSE_OPTIMISE" >> ${wx_arg_cache_file}.tmp
4609 if test x"$enablestring" = xdisable; then
4610 if test $wxUSE_OPTIMISE = yes; then
4616 result=$wxUSE_OPTIMISE
4619 { echo "$as_me:$LINENO: result: $result" >&5
4620 echo "${ECHO_T}$result" >&6; }
4625 if test -z "$defaultval"; then
4626 if test x"$enablestring" = xdisable; then
4633 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug" >&5
4634 echo $ECHO_N "checking for --${enablestring:-enable}-debug... $ECHO_C" >&6; }
4635 # Check whether --enable-debug was given.
4636 if test "${enable_debug+set}" = set; then
4637 enableval=$enable_debug;
4638 if test "$enableval" = yes; then
4639 wx_cv_use_debug='wxUSE_DEBUG=yes'
4641 wx_cv_use_debug='wxUSE_DEBUG=no'
4647 LINE=`grep "^wxUSE_DEBUG=" ${wx_arg_cache_file}`
4648 if test "x$LINE" != x ; then
4649 eval "DEFAULT_$LINE"
4655 wx_cv_use_debug='wxUSE_DEBUG=${'DEFAULT_wxUSE_DEBUG":-$defaultval}"
4660 eval "$wx_cv_use_debug"
4661 if test "x$cache" = xyes; then
4662 echo "wxUSE_DEBUG=$wxUSE_DEBUG" >> ${wx_arg_cache_file}.tmp
4665 if test x"$enablestring" = xdisable; then
4666 if test $wxUSE_DEBUG = yes; then
4675 { echo "$as_me:$LINENO: result: $result" >&5
4676 echo "${ECHO_T}$result" >&6; }
4681 if test -z "$defaultval"; then
4682 if test x"$enablestring" = xdisable; then
4689 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stl" >&5
4690 echo $ECHO_N "checking for --${enablestring:-enable}-stl... $ECHO_C" >&6; }
4691 # Check whether --enable-stl was given.
4692 if test "${enable_stl+set}" = set; then
4693 enableval=$enable_stl;
4694 if test "$enableval" = yes; then
4695 wx_cv_use_stl='wxUSE_STL=yes'
4697 wx_cv_use_stl='wxUSE_STL=no'
4703 LINE=`grep "^wxUSE_STL=" ${wx_arg_cache_file}`
4704 if test "x$LINE" != x ; then
4705 eval "DEFAULT_$LINE"
4711 wx_cv_use_stl='wxUSE_STL=${'DEFAULT_wxUSE_STL":-$defaultval}"
4716 eval "$wx_cv_use_stl"
4717 if test "x$cache" = xyes; then
4718 echo "wxUSE_STL=$wxUSE_STL" >> ${wx_arg_cache_file}.tmp
4721 if test x"$enablestring" = xdisable; then
4722 if test $wxUSE_STL = yes; then
4731 { echo "$as_me:$LINENO: result: $result" >&5
4732 echo "${ECHO_T}$result" >&6; }
4737 if test -z "$defaultval"; then
4738 if test x"$enablestring" = xdisable; then
4745 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-std_iostreams" >&5
4746 echo $ECHO_N "checking for --${enablestring:-enable}-std_iostreams... $ECHO_C" >&6; }
4747 # Check whether --enable-std_iostreams was given.
4748 if test "${enable_std_iostreams+set}" = set; then
4749 enableval=$enable_std_iostreams;
4750 if test "$enableval" = yes; then
4751 wx_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=yes'
4753 wx_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=no'
4759 LINE=`grep "^wxUSE_STD_IOSTREAM=" ${wx_arg_cache_file}`
4760 if test "x$LINE" != x ; then
4761 eval "DEFAULT_$LINE"
4767 wx_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=${'DEFAULT_wxUSE_STD_IOSTREAM":-$defaultval}"
4772 eval "$wx_cv_use_std_iostreams"
4773 if test "x$cache" = xyes; then
4774 echo "wxUSE_STD_IOSTREAM=$wxUSE_STD_IOSTREAM" >> ${wx_arg_cache_file}.tmp
4777 if test x"$enablestring" = xdisable; then
4778 if test $wxUSE_STD_IOSTREAM = yes; then
4784 result=$wxUSE_STD_IOSTREAM
4787 { echo "$as_me:$LINENO: result: $result" >&5
4788 echo "${ECHO_T}$result" >&6; }
4793 if test -z "$defaultval"; then
4794 if test x"$enablestring" = xdisable; then
4801 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-std_string" >&5
4802 echo $ECHO_N "checking for --${enablestring:-enable}-std_string... $ECHO_C" >&6; }
4803 # Check whether --enable-std_string was given.
4804 if test "${enable_std_string+set}" = set; then
4805 enableval=$enable_std_string;
4806 if test "$enableval" = yes; then
4807 wx_cv_use_std_string='wxUSE_STD_STRING=yes'
4809 wx_cv_use_std_string='wxUSE_STD_STRING=no'
4815 LINE=`grep "^wxUSE_STD_STRING=" ${wx_arg_cache_file}`
4816 if test "x$LINE" != x ; then
4817 eval "DEFAULT_$LINE"
4823 wx_cv_use_std_string='wxUSE_STD_STRING=${'DEFAULT_wxUSE_STD_STRING":-$defaultval}"
4828 eval "$wx_cv_use_std_string"
4829 if test "x$cache" = xyes; then
4830 echo "wxUSE_STD_STRING=$wxUSE_STD_STRING" >> ${wx_arg_cache_file}.tmp
4833 if test x"$enablestring" = xdisable; then
4834 if test $wxUSE_STD_STRING = yes; then
4840 result=$wxUSE_STD_STRING
4843 { echo "$as_me:$LINENO: result: $result" >&5
4844 echo "${ECHO_T}$result" >&6; }
4847 enablestring=disable
4849 if test -z "$defaultval"; then
4850 if test x"$enablestring" = xdisable; then
4857 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-unicode" >&5
4858 echo $ECHO_N "checking for --${enablestring:-enable}-unicode... $ECHO_C" >&6; }
4859 # Check whether --enable-unicode was given.
4860 if test "${enable_unicode+set}" = set; then
4861 enableval=$enable_unicode;
4862 if test "$enableval" = yes; then
4863 wx_cv_use_unicode='wxUSE_UNICODE=yes'
4865 wx_cv_use_unicode='wxUSE_UNICODE=no'
4871 LINE=`grep "^wxUSE_UNICODE=" ${wx_arg_cache_file}`
4872 if test "x$LINE" != x ; then
4873 eval "DEFAULT_$LINE"
4879 wx_cv_use_unicode='wxUSE_UNICODE=${'DEFAULT_wxUSE_UNICODE":-$defaultval}"
4884 eval "$wx_cv_use_unicode"
4885 if test "x$cache" = xyes; then
4886 echo "wxUSE_UNICODE=$wxUSE_UNICODE" >> ${wx_arg_cache_file}.tmp
4889 if test x"$enablestring" = xdisable; then
4890 if test $wxUSE_UNICODE = yes; then
4896 result=$wxUSE_UNICODE
4899 { echo "$as_me:$LINENO: result: $result" >&5
4900 echo "${ECHO_T}$result" >&6; }
4905 if test -z "$defaultval"; then
4906 if test x"$enablestring" = xdisable; then
4913 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mslu" >&5
4914 echo $ECHO_N "checking for --${enablestring:-enable}-mslu... $ECHO_C" >&6; }
4915 # Check whether --enable-mslu was given.
4916 if test "${enable_mslu+set}" = set; then
4917 enableval=$enable_mslu;
4918 if test "$enableval" = yes; then
4919 wx_cv_use_mslu='wxUSE_UNICODE_MSLU=yes'
4921 wx_cv_use_mslu='wxUSE_UNICODE_MSLU=no'
4927 LINE=`grep "^wxUSE_UNICODE_MSLU=" ${wx_arg_cache_file}`
4928 if test "x$LINE" != x ; then
4929 eval "DEFAULT_$LINE"
4935 wx_cv_use_mslu='wxUSE_UNICODE_MSLU=${'DEFAULT_wxUSE_UNICODE_MSLU":-$defaultval}"
4940 eval "$wx_cv_use_mslu"
4941 if test "x$cache" = xyes; then
4942 echo "wxUSE_UNICODE_MSLU=$wxUSE_UNICODE_MSLU" >> ${wx_arg_cache_file}.tmp
4945 if test x"$enablestring" = xdisable; then
4946 if test $wxUSE_UNICODE_MSLU = yes; then
4952 result=$wxUSE_UNICODE_MSLU
4955 { echo "$as_me:$LINENO: result: $result" >&5
4956 echo "${ECHO_T}$result" >&6; }
4960 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-utf8" >&5
4961 echo $ECHO_N "checking for --${enablestring:-enable}-utf8... $ECHO_C" >&6; }
4962 # Check whether --enable-utf8 was given.
4963 if test "${enable_utf8+set}" = set; then
4964 enableval=$enable_utf8;
4965 wx_cv_use_utf8="wxUSE_UNICODE_UTF8='$enableval'"
4970 LINE=`grep "^wxUSE_UNICODE_UTF8=" ${wx_arg_cache_file}`
4971 if test "x$LINE" != x ; then
4972 eval "DEFAULT_$LINE"
4978 wx_cv_use_utf8='wxUSE_UNICODE_UTF8='$DEFAULT_wxUSE_UNICODE_UTF8
4983 eval "$wx_cv_use_utf8"
4984 if test "x$cache" = xyes; then
4985 echo "wxUSE_UNICODE_UTF8=$wxUSE_UNICODE_UTF8" >> ${wx_arg_cache_file}.tmp
4988 { echo "$as_me:$LINENO: result: $wxUSE_UNICODE_UTF8" >&5
4989 echo "${ECHO_T}$wxUSE_UNICODE_UTF8" >&6; }
4994 if test -z "$defaultval"; then
4995 if test x"$enablestring" = xdisable; then
5002 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-utf8only" >&5
5003 echo $ECHO_N "checking for --${enablestring:-enable}-utf8only... $ECHO_C" >&6; }
5004 # Check whether --enable-utf8only was given.
5005 if test "${enable_utf8only+set}" = set; then
5006 enableval=$enable_utf8only;
5007 if test "$enableval" = yes; then
5008 wx_cv_use_utf8only='wxUSE_UNICODE_UTF8_LOCALE=yes'
5010 wx_cv_use_utf8only='wxUSE_UNICODE_UTF8_LOCALE=no'
5016 LINE=`grep "^wxUSE_UNICODE_UTF8_LOCALE=" ${wx_arg_cache_file}`
5017 if test "x$LINE" != x ; then
5018 eval "DEFAULT_$LINE"
5024 wx_cv_use_utf8only='wxUSE_UNICODE_UTF8_LOCALE=${'DEFAULT_wxUSE_UNICODE_UTF8_LOCALE":-$defaultval}"
5029 eval "$wx_cv_use_utf8only"
5030 if test "x$cache" = xyes; then
5031 echo "wxUSE_UNICODE_UTF8_LOCALE=$wxUSE_UNICODE_UTF8_LOCALE" >> ${wx_arg_cache_file}.tmp
5034 if test x"$enablestring" = xdisable; then
5035 if test $wxUSE_UNICODE_UTF8_LOCALE = yes; then
5041 result=$wxUSE_UNICODE_UTF8_LOCALE
5044 { echo "$as_me:$LINENO: result: $result" >&5
5045 echo "${ECHO_T}$result" >&6; }
5050 if test -z "$defaultval"; then
5051 if test x"$enablestring" = xdisable; then
5058 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-extended_rtti" >&5
5059 echo $ECHO_N "checking for --${enablestring:-enable}-extended_rtti... $ECHO_C" >&6; }
5060 # Check whether --enable-extended_rtti was given.
5061 if test "${enable_extended_rtti+set}" = set; then
5062 enableval=$enable_extended_rtti;
5063 if test "$enableval" = yes; then
5064 wx_cv_use_extended_rtti='wxUSE_EXTENDED_RTTI=yes'
5066 wx_cv_use_extended_rtti='wxUSE_EXTENDED_RTTI=no'
5072 LINE=`grep "^wxUSE_EXTENDED_RTTI=" ${wx_arg_cache_file}`
5073 if test "x$LINE" != x ; then
5074 eval "DEFAULT_$LINE"
5080 wx_cv_use_extended_rtti='wxUSE_EXTENDED_RTTI=${'DEFAULT_wxUSE_EXTENDED_RTTI":-$defaultval}"
5085 eval "$wx_cv_use_extended_rtti"
5086 if test "x$cache" = xyes; then
5087 echo "wxUSE_EXTENDED_RTTI=$wxUSE_EXTENDED_RTTI" >> ${wx_arg_cache_file}.tmp
5090 if test x"$enablestring" = xdisable; then
5091 if test $wxUSE_EXTENDED_RTTI = yes; then
5097 result=$wxUSE_EXTENDED_RTTI
5100 { echo "$as_me:$LINENO: result: $result" >&5
5101 echo "${ECHO_T}$result" >&6; }
5103 if test "$USE_OS2" = "1"; then
5104 DEFAULT_wxUSE_OMF=no
5108 if test -z "$defaultval"; then
5109 if test x"$enablestring" = xdisable; then
5116 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-omf" >&5
5117 echo $ECHO_N "checking for --${enablestring:-enable}-omf... $ECHO_C" >&6; }
5118 # Check whether --enable-omf was given.
5119 if test "${enable_omf+set}" = set; then
5120 enableval=$enable_omf;
5121 if test "$enableval" = yes; then
5122 wx_cv_use_omf='wxUSE_OMF=yes'
5124 wx_cv_use_omf='wxUSE_OMF=no'
5130 LINE=`grep "^wxUSE_OMF=" ${wx_arg_cache_file}`
5131 if test "x$LINE" != x ; then
5132 eval "DEFAULT_$LINE"
5138 wx_cv_use_omf='wxUSE_OMF=${'DEFAULT_wxUSE_OMF":-$defaultval}"
5143 eval "$wx_cv_use_omf"
5144 if test "x$cache" = xyes; then
5145 echo "wxUSE_OMF=$wxUSE_OMF" >> ${wx_arg_cache_file}.tmp
5148 if test x"$enablestring" = xdisable; then
5149 if test $wxUSE_OMF = yes; then
5158 { echo "$as_me:$LINENO: result: $result" >&5
5159 echo "${ECHO_T}$result" >&6; }
5163 if test "$wxUSE_DEBUG" = "yes"; then
5164 DEFAULT_wxUSE_DEBUG_FLAG=yes
5165 DEFAULT_wxUSE_DEBUG_INFO=yes
5167 elif test "$wxUSE_DEBUG" = "no"; then
5168 DEFAULT_wxUSE_DEBUG_FLAG=no
5169 DEFAULT_wxUSE_DEBUG_INFO=no
5176 if test -z "$defaultval"; then
5177 if test x"$enablestring" = xdisable; then
5184 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_flag" >&5
5185 echo $ECHO_N "checking for --${enablestring:-enable}-debug_flag... $ECHO_C" >&6; }
5186 # Check whether --enable-debug_flag was given.
5187 if test "${enable_debug_flag+set}" = set; then
5188 enableval=$enable_debug_flag;
5189 if test "$enableval" = yes; then
5190 wx_cv_use_debug_flag='wxUSE_DEBUG_FLAG=yes'
5192 wx_cv_use_debug_flag='wxUSE_DEBUG_FLAG=no'
5198 LINE=`grep "^wxUSE_DEBUG_FLAG=" ${wx_arg_cache_file}`
5199 if test "x$LINE" != x ; then
5200 eval "DEFAULT_$LINE"
5206 wx_cv_use_debug_flag='wxUSE_DEBUG_FLAG=${'DEFAULT_wxUSE_DEBUG_FLAG":-$defaultval}"
5211 eval "$wx_cv_use_debug_flag"
5212 if test "x$cache" = xyes; then
5213 echo "wxUSE_DEBUG_FLAG=$wxUSE_DEBUG_FLAG" >> ${wx_arg_cache_file}.tmp
5216 if test x"$enablestring" = xdisable; then
5217 if test $wxUSE_DEBUG_FLAG = yes; then
5223 result=$wxUSE_DEBUG_FLAG
5226 { echo "$as_me:$LINENO: result: $result" >&5
5227 echo "${ECHO_T}$result" >&6; }
5232 if test -z "$defaultval"; then
5233 if test x"$enablestring" = xdisable; then
5240 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_info" >&5
5241 echo $ECHO_N "checking for --${enablestring:-enable}-debug_info... $ECHO_C" >&6; }
5242 # Check whether --enable-debug_info was given.
5243 if test "${enable_debug_info+set}" = set; then
5244 enableval=$enable_debug_info;
5245 if test "$enableval" = yes; then
5246 wx_cv_use_debug_info='wxUSE_DEBUG_INFO=yes'
5248 wx_cv_use_debug_info='wxUSE_DEBUG_INFO=no'
5254 LINE=`grep "^wxUSE_DEBUG_INFO=" ${wx_arg_cache_file}`
5255 if test "x$LINE" != x ; then
5256 eval "DEFAULT_$LINE"
5262 wx_cv_use_debug_info='wxUSE_DEBUG_INFO=${'DEFAULT_wxUSE_DEBUG_INFO":-$defaultval}"
5267 eval "$wx_cv_use_debug_info"
5268 if test "x$cache" = xyes; then
5269 echo "wxUSE_DEBUG_INFO=$wxUSE_DEBUG_INFO" >> ${wx_arg_cache_file}.tmp
5272 if test x"$enablestring" = xdisable; then
5273 if test $wxUSE_DEBUG_INFO = yes; then
5279 result=$wxUSE_DEBUG_INFO
5282 { echo "$as_me:$LINENO: result: $result" >&5
5283 echo "${ECHO_T}$result" >&6; }
5288 if test -z "$defaultval"; then
5289 if test x"$enablestring" = xdisable; then
5296 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_gdb" >&5
5297 echo $ECHO_N "checking for --${enablestring:-enable}-debug_gdb... $ECHO_C" >&6; }
5298 # Check whether --enable-debug_gdb was given.
5299 if test "${enable_debug_gdb+set}" = set; then
5300 enableval=$enable_debug_gdb;
5301 if test "$enableval" = yes; then
5302 wx_cv_use_debug_gdb='wxUSE_DEBUG_GDB=yes'
5304 wx_cv_use_debug_gdb='wxUSE_DEBUG_GDB=no'
5310 LINE=`grep "^wxUSE_DEBUG_GDB=" ${wx_arg_cache_file}`
5311 if test "x$LINE" != x ; then
5312 eval "DEFAULT_$LINE"
5318 wx_cv_use_debug_gdb='wxUSE_DEBUG_GDB=${'DEFAULT_wxUSE_DEBUG_GDB":-$defaultval}"
5323 eval "$wx_cv_use_debug_gdb"
5324 if test "x$cache" = xyes; then
5325 echo "wxUSE_DEBUG_GDB=$wxUSE_DEBUG_GDB" >> ${wx_arg_cache_file}.tmp
5328 if test x"$enablestring" = xdisable; then
5329 if test $wxUSE_DEBUG_GDB = yes; then
5335 result=$wxUSE_DEBUG_GDB
5338 { echo "$as_me:$LINENO: result: $result" >&5
5339 echo "${ECHO_T}$result" >&6; }
5344 if test -z "$defaultval"; then
5345 if test x"$enablestring" = xdisable; then
5352 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_cntxt" >&5
5353 echo $ECHO_N "checking for --${enablestring:-enable}-debug_cntxt... $ECHO_C" >&6; }
5354 # Check whether --enable-debug_cntxt was given.
5355 if test "${enable_debug_cntxt+set}" = set; then
5356 enableval=$enable_debug_cntxt;
5357 if test "$enableval" = yes; then
5358 wx_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=yes'
5360 wx_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=no'
5366 LINE=`grep "^wxUSE_DEBUG_CONTEXT=" ${wx_arg_cache_file}`
5367 if test "x$LINE" != x ; then
5368 eval "DEFAULT_$LINE"
5374 wx_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=${'DEFAULT_wxUSE_DEBUG_CONTEXT":-$defaultval}"
5379 eval "$wx_cv_use_debug_cntxt"
5380 if test "x$cache" = xyes; then
5381 echo "wxUSE_DEBUG_CONTEXT=$wxUSE_DEBUG_CONTEXT" >> ${wx_arg_cache_file}.tmp
5384 if test x"$enablestring" = xdisable; then
5385 if test $wxUSE_DEBUG_CONTEXT = yes; then
5391 result=$wxUSE_DEBUG_CONTEXT
5394 { echo "$as_me:$LINENO: result: $result" >&5
5395 echo "${ECHO_T}$result" >&6; }
5400 if test -z "$defaultval"; then
5401 if test x"$enablestring" = xdisable; then
5408 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mem_tracing" >&5
5409 echo $ECHO_N "checking for --${enablestring:-enable}-mem_tracing... $ECHO_C" >&6; }
5410 # Check whether --enable-mem_tracing was given.
5411 if test "${enable_mem_tracing+set}" = set; then
5412 enableval=$enable_mem_tracing;
5413 if test "$enableval" = yes; then
5414 wx_cv_use_mem_tracing='wxUSE_MEM_TRACING=yes'
5416 wx_cv_use_mem_tracing='wxUSE_MEM_TRACING=no'
5422 LINE=`grep "^wxUSE_MEM_TRACING=" ${wx_arg_cache_file}`
5423 if test "x$LINE" != x ; then
5424 eval "DEFAULT_$LINE"
5430 wx_cv_use_mem_tracing='wxUSE_MEM_TRACING=${'DEFAULT_wxUSE_MEM_TRACING":-$defaultval}"
5435 eval "$wx_cv_use_mem_tracing"
5436 if test "x$cache" = xyes; then
5437 echo "wxUSE_MEM_TRACING=$wxUSE_MEM_TRACING" >> ${wx_arg_cache_file}.tmp
5440 if test x"$enablestring" = xdisable; then
5441 if test $wxUSE_MEM_TRACING = yes; then
5447 result=$wxUSE_MEM_TRACING
5450 { echo "$as_me:$LINENO: result: $result" >&5
5451 echo "${ECHO_T}$result" >&6; }
5456 if test -z "$defaultval"; then
5457 if test x"$enablestring" = xdisable; then
5464 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-profile" >&5
5465 echo $ECHO_N "checking for --${enablestring:-enable}-profile... $ECHO_C" >&6; }
5466 # Check whether --enable-profile was given.
5467 if test "${enable_profile+set}" = set; then
5468 enableval=$enable_profile;
5469 if test "$enableval" = yes; then
5470 wx_cv_use_profile='wxUSE_PROFILE=yes'
5472 wx_cv_use_profile='wxUSE_PROFILE=no'
5478 LINE=`grep "^wxUSE_PROFILE=" ${wx_arg_cache_file}`
5479 if test "x$LINE" != x ; then
5480 eval "DEFAULT_$LINE"
5486 wx_cv_use_profile='wxUSE_PROFILE=${'DEFAULT_wxUSE_PROFILE":-$defaultval}"
5491 eval "$wx_cv_use_profile"
5492 if test "x$cache" = xyes; then
5493 echo "wxUSE_PROFILE=$wxUSE_PROFILE" >> ${wx_arg_cache_file}.tmp
5496 if test x"$enablestring" = xdisable; then
5497 if test $wxUSE_PROFILE = yes; then
5503 result=$wxUSE_PROFILE
5506 { echo "$as_me:$LINENO: result: $result" >&5
5507 echo "${ECHO_T}$result" >&6; }
5512 if test -z "$defaultval"; then
5513 if test x"$enablestring" = xdisable; then
5520 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_rtti" >&5
5521 echo $ECHO_N "checking for --${enablestring:-enable}-no_rtti... $ECHO_C" >&6; }
5522 # Check whether --enable-no_rtti was given.
5523 if test "${enable_no_rtti+set}" = set; then
5524 enableval=$enable_no_rtti;
5525 if test "$enableval" = yes; then
5526 wx_cv_use_no_rtti='wxUSE_NO_RTTI=yes'
5528 wx_cv_use_no_rtti='wxUSE_NO_RTTI=no'
5534 LINE=`grep "^wxUSE_NO_RTTI=" ${wx_arg_cache_file}`
5535 if test "x$LINE" != x ; then
5536 eval "DEFAULT_$LINE"
5542 wx_cv_use_no_rtti='wxUSE_NO_RTTI=${'DEFAULT_wxUSE_NO_RTTI":-$defaultval}"
5547 eval "$wx_cv_use_no_rtti"
5548 if test "x$cache" = xyes; then
5549 echo "wxUSE_NO_RTTI=$wxUSE_NO_RTTI" >> ${wx_arg_cache_file}.tmp
5552 if test x"$enablestring" = xdisable; then
5553 if test $wxUSE_NO_RTTI = yes; then
5559 result=$wxUSE_NO_RTTI
5562 { echo "$as_me:$LINENO: result: $result" >&5
5563 echo "${ECHO_T}$result" >&6; }
5568 if test -z "$defaultval"; then
5569 if test x"$enablestring" = xdisable; then
5576 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_exceptions" >&5
5577 echo $ECHO_N "checking for --${enablestring:-enable}-no_exceptions... $ECHO_C" >&6; }
5578 # Check whether --enable-no_exceptions was given.
5579 if test "${enable_no_exceptions+set}" = set; then
5580 enableval=$enable_no_exceptions;
5581 if test "$enableval" = yes; then
5582 wx_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=yes'
5584 wx_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=no'
5590 LINE=`grep "^wxUSE_NO_EXCEPTIONS=" ${wx_arg_cache_file}`
5591 if test "x$LINE" != x ; then
5592 eval "DEFAULT_$LINE"
5598 wx_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=${'DEFAULT_wxUSE_NO_EXCEPTIONS":-$defaultval}"
5603 eval "$wx_cv_use_no_exceptions"
5604 if test "x$cache" = xyes; then
5605 echo "wxUSE_NO_EXCEPTIONS=$wxUSE_NO_EXCEPTIONS" >> ${wx_arg_cache_file}.tmp
5608 if test x"$enablestring" = xdisable; then
5609 if test $wxUSE_NO_EXCEPTIONS = yes; then
5615 result=$wxUSE_NO_EXCEPTIONS
5618 { echo "$as_me:$LINENO: result: $result" >&5
5619 echo "${ECHO_T}$result" >&6; }
5624 if test -z "$defaultval"; then
5625 if test x"$enablestring" = xdisable; then
5632 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-permissive" >&5
5633 echo $ECHO_N "checking for --${enablestring:-enable}-permissive... $ECHO_C" >&6; }
5634 # Check whether --enable-permissive was given.
5635 if test "${enable_permissive+set}" = set; then
5636 enableval=$enable_permissive;
5637 if test "$enableval" = yes; then
5638 wx_cv_use_permissive='wxUSE_PERMISSIVE=yes'
5640 wx_cv_use_permissive='wxUSE_PERMISSIVE=no'
5646 LINE=`grep "^wxUSE_PERMISSIVE=" ${wx_arg_cache_file}`
5647 if test "x$LINE" != x ; then
5648 eval "DEFAULT_$LINE"
5654 wx_cv_use_permissive='wxUSE_PERMISSIVE=${'DEFAULT_wxUSE_PERMISSIVE":-$defaultval}"
5659 eval "$wx_cv_use_permissive"
5660 if test "x$cache" = xyes; then
5661 echo "wxUSE_PERMISSIVE=$wxUSE_PERMISSIVE" >> ${wx_arg_cache_file}.tmp
5664 if test x"$enablestring" = xdisable; then
5665 if test $wxUSE_PERMISSIVE = yes; then
5671 result=$wxUSE_PERMISSIVE
5674 { echo "$as_me:$LINENO: result: $result" >&5
5675 echo "${ECHO_T}$result" >&6; }
5680 if test -z "$defaultval"; then
5681 if test x"$enablestring" = xdisable; then
5688 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_deps" >&5
5689 echo $ECHO_N "checking for --${enablestring:-enable}-no_deps... $ECHO_C" >&6; }
5690 # Check whether --enable-no_deps was given.
5691 if test "${enable_no_deps+set}" = set; then
5692 enableval=$enable_no_deps;
5693 if test "$enableval" = yes; then
5694 wx_cv_use_no_deps='wxUSE_NO_DEPS=yes'
5696 wx_cv_use_no_deps='wxUSE_NO_DEPS=no'
5702 LINE=`grep "^wxUSE_NO_DEPS=" ${wx_arg_cache_file}`
5703 if test "x$LINE" != x ; then
5704 eval "DEFAULT_$LINE"
5710 wx_cv_use_no_deps='wxUSE_NO_DEPS=${'DEFAULT_wxUSE_NO_DEPS":-$defaultval}"
5715 eval "$wx_cv_use_no_deps"
5716 if test "x$cache" = xyes; then
5717 echo "wxUSE_NO_DEPS=$wxUSE_NO_DEPS" >> ${wx_arg_cache_file}.tmp
5720 if test x"$enablestring" = xdisable; then
5721 if test $wxUSE_NO_DEPS = yes; then
5727 result=$wxUSE_NO_DEPS
5730 { echo "$as_me:$LINENO: result: $result" >&5
5731 echo "${ECHO_T}$result" >&6; }
5734 enablestring=disable
5736 if test -z "$defaultval"; then
5737 if test x"$enablestring" = xdisable; then
5744 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-vararg_macros" >&5
5745 echo $ECHO_N "checking for --${enablestring:-enable}-vararg_macros... $ECHO_C" >&6; }
5746 # Check whether --enable-vararg_macros was given.
5747 if test "${enable_vararg_macros+set}" = set; then
5748 enableval=$enable_vararg_macros;
5749 if test "$enableval" = yes; then
5750 wx_cv_use_vararg_macros='wxUSE_VARARG_MACROS=yes'
5752 wx_cv_use_vararg_macros='wxUSE_VARARG_MACROS=no'
5758 LINE=`grep "^wxUSE_VARARG_MACROS=" ${wx_arg_cache_file}`
5759 if test "x$LINE" != x ; then
5760 eval "DEFAULT_$LINE"
5766 wx_cv_use_vararg_macros='wxUSE_VARARG_MACROS=${'DEFAULT_wxUSE_VARARG_MACROS":-$defaultval}"
5771 eval "$wx_cv_use_vararg_macros"
5772 if test "x$cache" = xyes; then
5773 echo "wxUSE_VARARG_MACROS=$wxUSE_VARARG_MACROS" >> ${wx_arg_cache_file}.tmp
5776 if test x"$enablestring" = xdisable; then
5777 if test $wxUSE_VARARG_MACROS = yes; then
5783 result=$wxUSE_VARARG_MACROS
5786 { echo "$as_me:$LINENO: result: $result" >&5
5787 echo "${ECHO_T}$result" >&6; }
5791 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-universal_binary" >&5
5792 echo $ECHO_N "checking for --${enablestring:-enable}-universal_binary... $ECHO_C" >&6; }
5793 # Check whether --enable-universal_binary was given.
5794 if test "${enable_universal_binary+set}" = set; then
5795 enableval=$enable_universal_binary;
5796 wx_cv_use_universal_binary="wxUSE_UNIVERSAL_BINARY='$enableval'"
5801 LINE=`grep "^wxUSE_UNIVERSAL_BINARY=" ${wx_arg_cache_file}`
5802 if test "x$LINE" != x ; then
5803 eval "DEFAULT_$LINE"
5809 wx_cv_use_universal_binary='wxUSE_UNIVERSAL_BINARY='$DEFAULT_wxUSE_UNIVERSAL_BINARY
5814 eval "$wx_cv_use_universal_binary"
5815 if test "x$cache" = xyes; then
5816 echo "wxUSE_UNIVERSAL_BINARY=$wxUSE_UNIVERSAL_BINARY" >> ${wx_arg_cache_file}.tmp
5819 { echo "$as_me:$LINENO: result: $wxUSE_UNIVERSAL_BINARY" >&5
5820 echo "${ECHO_T}$wxUSE_UNIVERSAL_BINARY" >&6; }
5826 if test -z "$defaultval"; then
5827 if test x"$enablestring" = xdisable; then
5834 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat26" >&5
5835 echo $ECHO_N "checking for --${enablestring:-enable}-compat26... $ECHO_C" >&6; }
5836 # Check whether --enable-compat26 was given.
5837 if test "${enable_compat26+set}" = set; then
5838 enableval=$enable_compat26;
5839 if test "$enableval" = yes; then
5840 wx_cv_use_compat26='WXWIN_COMPATIBILITY_2_6=yes'
5842 wx_cv_use_compat26='WXWIN_COMPATIBILITY_2_6=no'
5848 LINE=`grep "^WXWIN_COMPATIBILITY_2_6=" ${wx_arg_cache_file}`
5849 if test "x$LINE" != x ; then
5850 eval "DEFAULT_$LINE"
5856 wx_cv_use_compat26='WXWIN_COMPATIBILITY_2_6=${'DEFAULT_WXWIN_COMPATIBILITY_2_6":-$defaultval}"
5861 eval "$wx_cv_use_compat26"
5862 if test "x$cache" = xyes; then
5863 echo "WXWIN_COMPATIBILITY_2_6=$WXWIN_COMPATIBILITY_2_6" >> ${wx_arg_cache_file}.tmp
5866 if test x"$enablestring" = xdisable; then
5867 if test $WXWIN_COMPATIBILITY_2_6 = yes; then
5873 result=$WXWIN_COMPATIBILITY_2_6
5876 { echo "$as_me:$LINENO: result: $result" >&5
5877 echo "${ECHO_T}$result" >&6; }
5880 enablestring=disable
5882 if test -z "$defaultval"; then
5883 if test x"$enablestring" = xdisable; then
5890 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat28" >&5
5891 echo $ECHO_N "checking for --${enablestring:-enable}-compat28... $ECHO_C" >&6; }
5892 # Check whether --enable-compat28 was given.
5893 if test "${enable_compat28+set}" = set; then
5894 enableval=$enable_compat28;
5895 if test "$enableval" = yes; then
5896 wx_cv_use_compat28='WXWIN_COMPATIBILITY_2_8=yes'
5898 wx_cv_use_compat28='WXWIN_COMPATIBILITY_2_8=no'
5904 LINE=`grep "^WXWIN_COMPATIBILITY_2_8=" ${wx_arg_cache_file}`
5905 if test "x$LINE" != x ; then
5906 eval "DEFAULT_$LINE"
5912 wx_cv_use_compat28='WXWIN_COMPATIBILITY_2_8=${'DEFAULT_WXWIN_COMPATIBILITY_2_8":-$defaultval}"
5917 eval "$wx_cv_use_compat28"
5918 if test "x$cache" = xyes; then
5919 echo "WXWIN_COMPATIBILITY_2_8=$WXWIN_COMPATIBILITY_2_8" >> ${wx_arg_cache_file}.tmp
5922 if test x"$enablestring" = xdisable; then
5923 if test $WXWIN_COMPATIBILITY_2_8 = yes; then
5929 result=$WXWIN_COMPATIBILITY_2_8
5932 { echo "$as_me:$LINENO: result: $result" >&5
5933 echo "${ECHO_T}$result" >&6; }
5937 enablestring=disable
5939 if test -z "$defaultval"; then
5940 if test x"$enablestring" = xdisable; then
5947 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-rpath" >&5
5948 echo $ECHO_N "checking for --${enablestring:-enable}-rpath... $ECHO_C" >&6; }
5949 # Check whether --enable-rpath was given.
5950 if test "${enable_rpath+set}" = set; then
5951 enableval=$enable_rpath;
5952 if test "$enableval" = yes; then
5953 wx_cv_use_rpath='wxUSE_RPATH=yes'
5955 wx_cv_use_rpath='wxUSE_RPATH=no'
5961 LINE=`grep "^wxUSE_RPATH=" ${wx_arg_cache_file}`
5962 if test "x$LINE" != x ; then
5963 eval "DEFAULT_$LINE"
5969 wx_cv_use_rpath='wxUSE_RPATH=${'DEFAULT_wxUSE_RPATH":-$defaultval}"
5974 eval "$wx_cv_use_rpath"
5975 if test "x$cache" = xyes; then
5976 echo "wxUSE_RPATH=$wxUSE_RPATH" >> ${wx_arg_cache_file}.tmp
5979 if test x"$enablestring" = xdisable; then
5980 if test $wxUSE_RPATH = yes; then
5989 { echo "$as_me:$LINENO: result: $result" >&5
5990 echo "${ECHO_T}$result" >&6; }
5996 if test -z "$defaultval"; then
5997 if test x"$enablestring" = xdisable; then
6004 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-objc_uniquifying" >&5
6005 echo $ECHO_N "checking for --${enablestring:-enable}-objc_uniquifying... $ECHO_C" >&6; }
6006 # Check whether --enable-objc_uniquifying was given.
6007 if test "${enable_objc_uniquifying+set}" = set; then
6008 enableval=$enable_objc_uniquifying;
6009 if test "$enableval" = yes; then
6010 wx_cv_use_objc_uniquifying='wxUSE_OBJC_UNIQUIFYING=yes'
6012 wx_cv_use_objc_uniquifying='wxUSE_OBJC_UNIQUIFYING=no'
6018 LINE=`grep "^wxUSE_OBJC_UNIQUIFYING=" ${wx_arg_cache_file}`
6019 if test "x$LINE" != x ; then
6020 eval "DEFAULT_$LINE"
6026 wx_cv_use_objc_uniquifying='wxUSE_OBJC_UNIQUIFYING=${'DEFAULT_wxUSE_OBJC_UNIQUIFYING":-$defaultval}"
6031 eval "$wx_cv_use_objc_uniquifying"
6032 if test "x$cache" = xyes; then
6033 echo "wxUSE_OBJC_UNIQUIFYING=$wxUSE_OBJC_UNIQUIFYING" >> ${wx_arg_cache_file}.tmp
6036 if test x"$enablestring" = xdisable; then
6037 if test $wxUSE_OBJC_UNIQUIFYING = yes; then
6043 result=$wxUSE_OBJC_UNIQUIFYING
6046 { echo "$as_me:$LINENO: result: $result" >&5
6047 echo "${ECHO_T}$result" >&6; }
6051 enablestring=disable
6053 if test -z "$defaultval"; then
6054 if test x"$enablestring" = xdisable; then
6061 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-visibility" >&5
6062 echo $ECHO_N "checking for --${enablestring:-enable}-visibility... $ECHO_C" >&6; }
6063 # Check whether --enable-visibility was given.
6064 if test "${enable_visibility+set}" = set; then
6065 enableval=$enable_visibility;
6066 if test "$enableval" = yes; then
6067 wx_cv_use_visibility='wxUSE_VISIBILITY=yes'
6069 wx_cv_use_visibility='wxUSE_VISIBILITY=no'
6075 LINE=`grep "^wxUSE_VISIBILITY=" ${wx_arg_cache_file}`
6076 if test "x$LINE" != x ; then
6077 eval "DEFAULT_$LINE"
6083 wx_cv_use_visibility='wxUSE_VISIBILITY=${'DEFAULT_wxUSE_VISIBILITY":-$defaultval}"
6088 eval "$wx_cv_use_visibility"
6089 if test "x$cache" = xyes; then
6090 echo "wxUSE_VISIBILITY=$wxUSE_VISIBILITY" >> ${wx_arg_cache_file}.tmp
6093 if test x"$enablestring" = xdisable; then
6094 if test $wxUSE_VISIBILITY = yes; then
6100 result=$wxUSE_VISIBILITY
6103 { echo "$as_me:$LINENO: result: $result" >&5
6104 echo "${ECHO_T}$result" >&6; }
6110 defaultval=$wxUSE_ALL_FEATURES
6111 if test -z "$defaultval"; then
6112 if test x"$enablestring" = xdisable; then
6119 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-intl" >&5
6120 echo $ECHO_N "checking for --${enablestring:-enable}-intl... $ECHO_C" >&6; }
6121 # Check whether --enable-intl was given.
6122 if test "${enable_intl+set}" = set; then
6123 enableval=$enable_intl;
6124 if test "$enableval" = yes; then
6125 wx_cv_use_intl='wxUSE_INTL=yes'
6127 wx_cv_use_intl='wxUSE_INTL=no'
6133 LINE=`grep "^wxUSE_INTL=" ${wx_arg_cache_file}`
6134 if test "x$LINE" != x ; then
6135 eval "DEFAULT_$LINE"
6141 wx_cv_use_intl='wxUSE_INTL=${'DEFAULT_wxUSE_INTL":-$defaultval}"
6146 eval "$wx_cv_use_intl"
6147 if test "x$cache" = xyes; then
6148 echo "wxUSE_INTL=$wxUSE_INTL" >> ${wx_arg_cache_file}.tmp
6151 if test x"$enablestring" = xdisable; then
6152 if test $wxUSE_INTL = yes; then
6161 { echo "$as_me:$LINENO: result: $result" >&5
6162 echo "${ECHO_T}$result" >&6; }
6166 defaultval=$wxUSE_ALL_FEATURES
6167 if test -z "$defaultval"; then
6168 if test x"$enablestring" = xdisable; then
6175 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-config" >&5
6176 echo $ECHO_N "checking for --${enablestring:-enable}-config... $ECHO_C" >&6; }
6177 # Check whether --enable-config was given.
6178 if test "${enable_config+set}" = set; then
6179 enableval=$enable_config;
6180 if test "$enableval" = yes; then
6181 wx_cv_use_config='wxUSE_CONFIG=yes'
6183 wx_cv_use_config='wxUSE_CONFIG=no'
6189 LINE=`grep "^wxUSE_CONFIG=" ${wx_arg_cache_file}`
6190 if test "x$LINE" != x ; then
6191 eval "DEFAULT_$LINE"
6197 wx_cv_use_config='wxUSE_CONFIG=${'DEFAULT_wxUSE_CONFIG":-$defaultval}"
6202 eval "$wx_cv_use_config"
6203 if test "x$cache" = xyes; then
6204 echo "wxUSE_CONFIG=$wxUSE_CONFIG" >> ${wx_arg_cache_file}.tmp
6207 if test x"$enablestring" = xdisable; then
6208 if test $wxUSE_CONFIG = yes; then
6214 result=$wxUSE_CONFIG
6217 { echo "$as_me:$LINENO: result: $result" >&5
6218 echo "${ECHO_T}$result" >&6; }
6223 defaultval=$wxUSE_ALL_FEATURES
6224 if test -z "$defaultval"; then
6225 if test x"$enablestring" = xdisable; then
6232 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocols" >&5
6233 echo $ECHO_N "checking for --${enablestring:-enable}-protocols... $ECHO_C" >&6; }
6234 # Check whether --enable-protocols was given.
6235 if test "${enable_protocols+set}" = set; then
6236 enableval=$enable_protocols;
6237 if test "$enableval" = yes; then
6238 wx_cv_use_protocols='wxUSE_PROTOCOL=yes'
6240 wx_cv_use_protocols='wxUSE_PROTOCOL=no'
6246 LINE=`grep "^wxUSE_PROTOCOL=" ${wx_arg_cache_file}`
6247 if test "x$LINE" != x ; then
6248 eval "DEFAULT_$LINE"
6254 wx_cv_use_protocols='wxUSE_PROTOCOL=${'DEFAULT_wxUSE_PROTOCOL":-$defaultval}"
6259 eval "$wx_cv_use_protocols"
6260 if test "x$cache" = xyes; then
6261 echo "wxUSE_PROTOCOL=$wxUSE_PROTOCOL" >> ${wx_arg_cache_file}.tmp
6264 if test x"$enablestring" = xdisable; then
6265 if test $wxUSE_PROTOCOL = yes; then
6271 result=$wxUSE_PROTOCOL
6274 { echo "$as_me:$LINENO: result: $result" >&5
6275 echo "${ECHO_T}$result" >&6; }
6279 defaultval=$wxUSE_ALL_FEATURES
6280 if test -z "$defaultval"; then
6281 if test x"$enablestring" = xdisable; then
6288 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ftp" >&5
6289 echo $ECHO_N "checking for --${enablestring:-enable}-ftp... $ECHO_C" >&6; }
6290 # Check whether --enable-ftp was given.
6291 if test "${enable_ftp+set}" = set; then
6292 enableval=$enable_ftp;
6293 if test "$enableval" = yes; then
6294 wx_cv_use_ftp='wxUSE_PROTOCOL_FTP=yes'
6296 wx_cv_use_ftp='wxUSE_PROTOCOL_FTP=no'
6302 LINE=`grep "^wxUSE_PROTOCOL_FTP=" ${wx_arg_cache_file}`
6303 if test "x$LINE" != x ; then
6304 eval "DEFAULT_$LINE"
6310 wx_cv_use_ftp='wxUSE_PROTOCOL_FTP=${'DEFAULT_wxUSE_PROTOCOL_FTP":-$defaultval}"
6315 eval "$wx_cv_use_ftp"
6316 if test "x$cache" = xyes; then
6317 echo "wxUSE_PROTOCOL_FTP=$wxUSE_PROTOCOL_FTP" >> ${wx_arg_cache_file}.tmp
6320 if test x"$enablestring" = xdisable; then
6321 if test $wxUSE_PROTOCOL_FTP = yes; then
6327 result=$wxUSE_PROTOCOL_FTP
6330 { echo "$as_me:$LINENO: result: $result" >&5
6331 echo "${ECHO_T}$result" >&6; }
6335 defaultval=$wxUSE_ALL_FEATURES
6336 if test -z "$defaultval"; then
6337 if test x"$enablestring" = xdisable; then
6344 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-http" >&5
6345 echo $ECHO_N "checking for --${enablestring:-enable}-http... $ECHO_C" >&6; }
6346 # Check whether --enable-http was given.
6347 if test "${enable_http+set}" = set; then
6348 enableval=$enable_http;
6349 if test "$enableval" = yes; then
6350 wx_cv_use_http='wxUSE_PROTOCOL_HTTP=yes'
6352 wx_cv_use_http='wxUSE_PROTOCOL_HTTP=no'
6358 LINE=`grep "^wxUSE_PROTOCOL_HTTP=" ${wx_arg_cache_file}`
6359 if test "x$LINE" != x ; then
6360 eval "DEFAULT_$LINE"
6366 wx_cv_use_http='wxUSE_PROTOCOL_HTTP=${'DEFAULT_wxUSE_PROTOCOL_HTTP":-$defaultval}"
6371 eval "$wx_cv_use_http"
6372 if test "x$cache" = xyes; then
6373 echo "wxUSE_PROTOCOL_HTTP=$wxUSE_PROTOCOL_HTTP" >> ${wx_arg_cache_file}.tmp
6376 if test x"$enablestring" = xdisable; then
6377 if test $wxUSE_PROTOCOL_HTTP = yes; then
6383 result=$wxUSE_PROTOCOL_HTTP
6386 { echo "$as_me:$LINENO: result: $result" >&5
6387 echo "${ECHO_T}$result" >&6; }
6391 defaultval=$wxUSE_ALL_FEATURES
6392 if test -z "$defaultval"; then
6393 if test x"$enablestring" = xdisable; then
6400 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fileproto" >&5
6401 echo $ECHO_N "checking for --${enablestring:-enable}-fileproto... $ECHO_C" >&6; }
6402 # Check whether --enable-fileproto was given.
6403 if test "${enable_fileproto+set}" = set; then
6404 enableval=$enable_fileproto;
6405 if test "$enableval" = yes; then
6406 wx_cv_use_fileproto='wxUSE_PROTOCOL_FILE=yes'
6408 wx_cv_use_fileproto='wxUSE_PROTOCOL_FILE=no'
6414 LINE=`grep "^wxUSE_PROTOCOL_FILE=" ${wx_arg_cache_file}`
6415 if test "x$LINE" != x ; then
6416 eval "DEFAULT_$LINE"
6422 wx_cv_use_fileproto='wxUSE_PROTOCOL_FILE=${'DEFAULT_wxUSE_PROTOCOL_FILE":-$defaultval}"
6427 eval "$wx_cv_use_fileproto"
6428 if test "x$cache" = xyes; then
6429 echo "wxUSE_PROTOCOL_FILE=$wxUSE_PROTOCOL_FILE" >> ${wx_arg_cache_file}.tmp
6432 if test x"$enablestring" = xdisable; then
6433 if test $wxUSE_PROTOCOL_FILE = yes; then
6439 result=$wxUSE_PROTOCOL_FILE
6442 { echo "$as_me:$LINENO: result: $result" >&5
6443 echo "${ECHO_T}$result" >&6; }
6447 defaultval=$wxUSE_ALL_FEATURES
6448 if test -z "$defaultval"; then
6449 if test x"$enablestring" = xdisable; then
6456 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sockets" >&5
6457 echo $ECHO_N "checking for --${enablestring:-enable}-sockets... $ECHO_C" >&6; }
6458 # Check whether --enable-sockets was given.
6459 if test "${enable_sockets+set}" = set; then
6460 enableval=$enable_sockets;
6461 if test "$enableval" = yes; then
6462 wx_cv_use_sockets='wxUSE_SOCKETS=yes'
6464 wx_cv_use_sockets='wxUSE_SOCKETS=no'
6470 LINE=`grep "^wxUSE_SOCKETS=" ${wx_arg_cache_file}`
6471 if test "x$LINE" != x ; then
6472 eval "DEFAULT_$LINE"
6478 wx_cv_use_sockets='wxUSE_SOCKETS=${'DEFAULT_wxUSE_SOCKETS":-$defaultval}"
6483 eval "$wx_cv_use_sockets"
6484 if test "x$cache" = xyes; then
6485 echo "wxUSE_SOCKETS=$wxUSE_SOCKETS" >> ${wx_arg_cache_file}.tmp
6488 if test x"$enablestring" = xdisable; then
6489 if test $wxUSE_SOCKETS = yes; then
6495 result=$wxUSE_SOCKETS
6498 { echo "$as_me:$LINENO: result: $result" >&5
6499 echo "${ECHO_T}$result" >&6; }
6503 defaultval=$wxUSE_ALL_FEATURES
6504 if test -z "$defaultval"; then
6505 if test x"$enablestring" = xdisable; then
6512 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ole" >&5
6513 echo $ECHO_N "checking for --${enablestring:-enable}-ole... $ECHO_C" >&6; }
6514 # Check whether --enable-ole was given.
6515 if test "${enable_ole+set}" = set; then
6516 enableval=$enable_ole;
6517 if test "$enableval" = yes; then
6518 wx_cv_use_ole='wxUSE_OLE=yes'
6520 wx_cv_use_ole='wxUSE_OLE=no'
6526 LINE=`grep "^wxUSE_OLE=" ${wx_arg_cache_file}`
6527 if test "x$LINE" != x ; then
6528 eval "DEFAULT_$LINE"
6534 wx_cv_use_ole='wxUSE_OLE=${'DEFAULT_wxUSE_OLE":-$defaultval}"
6539 eval "$wx_cv_use_ole"
6540 if test "x$cache" = xyes; then
6541 echo "wxUSE_OLE=$wxUSE_OLE" >> ${wx_arg_cache_file}.tmp
6544 if test x"$enablestring" = xdisable; then
6545 if test $wxUSE_OLE = yes; then
6554 { echo "$as_me:$LINENO: result: $result" >&5
6555 echo "${ECHO_T}$result" >&6; }
6559 defaultval=$wxUSE_ALL_FEATURES
6560 if test -z "$defaultval"; then
6561 if test x"$enablestring" = xdisable; then
6568 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dataobj" >&5
6569 echo $ECHO_N "checking for --${enablestring:-enable}-dataobj... $ECHO_C" >&6; }
6570 # Check whether --enable-dataobj was given.
6571 if test "${enable_dataobj+set}" = set; then
6572 enableval=$enable_dataobj;
6573 if test "$enableval" = yes; then
6574 wx_cv_use_dataobj='wxUSE_DATAOBJ=yes'
6576 wx_cv_use_dataobj='wxUSE_DATAOBJ=no'
6582 LINE=`grep "^wxUSE_DATAOBJ=" ${wx_arg_cache_file}`
6583 if test "x$LINE" != x ; then
6584 eval "DEFAULT_$LINE"
6590 wx_cv_use_dataobj='wxUSE_DATAOBJ=${'DEFAULT_wxUSE_DATAOBJ":-$defaultval}"
6595 eval "$wx_cv_use_dataobj"
6596 if test "x$cache" = xyes; then
6597 echo "wxUSE_DATAOBJ=$wxUSE_DATAOBJ" >> ${wx_arg_cache_file}.tmp
6600 if test x"$enablestring" = xdisable; then
6601 if test $wxUSE_DATAOBJ = yes; then
6607 result=$wxUSE_DATAOBJ
6610 { echo "$as_me:$LINENO: result: $result" >&5
6611 echo "${ECHO_T}$result" >&6; }
6616 defaultval=$wxUSE_ALL_FEATURES
6617 if test -z "$defaultval"; then
6618 if test x"$enablestring" = xdisable; then
6625 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ipc" >&5
6626 echo $ECHO_N "checking for --${enablestring:-enable}-ipc... $ECHO_C" >&6; }
6627 # Check whether --enable-ipc was given.
6628 if test "${enable_ipc+set}" = set; then
6629 enableval=$enable_ipc;
6630 if test "$enableval" = yes; then
6631 wx_cv_use_ipc='wxUSE_IPC=yes'
6633 wx_cv_use_ipc='wxUSE_IPC=no'
6639 LINE=`grep "^wxUSE_IPC=" ${wx_arg_cache_file}`
6640 if test "x$LINE" != x ; then
6641 eval "DEFAULT_$LINE"
6647 wx_cv_use_ipc='wxUSE_IPC=${'DEFAULT_wxUSE_IPC":-$defaultval}"
6652 eval "$wx_cv_use_ipc"
6653 if test "x$cache" = xyes; then
6654 echo "wxUSE_IPC=$wxUSE_IPC" >> ${wx_arg_cache_file}.tmp
6657 if test x"$enablestring" = xdisable; then
6658 if test $wxUSE_IPC = yes; then
6667 { echo "$as_me:$LINENO: result: $result" >&5
6668 echo "${ECHO_T}$result" >&6; }
6673 defaultval=$wxUSE_ALL_FEATURES
6674 if test -z "$defaultval"; then
6675 if test x"$enablestring" = xdisable; then
6682 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-baseevtloop" >&5
6683 echo $ECHO_N "checking for --${enablestring:-enable}-baseevtloop... $ECHO_C" >&6; }
6684 # Check whether --enable-baseevtloop was given.
6685 if test "${enable_baseevtloop+set}" = set; then
6686 enableval=$enable_baseevtloop;
6687 if test "$enableval" = yes; then
6688 wx_cv_use_baseevtloop='wxUSE_CONSOLE_EVENTLOOP=yes'
6690 wx_cv_use_baseevtloop='wxUSE_CONSOLE_EVENTLOOP=no'
6696 LINE=`grep "^wxUSE_CONSOLE_EVENTLOOP=" ${wx_arg_cache_file}`
6697 if test "x$LINE" != x ; then
6698 eval "DEFAULT_$LINE"
6704 wx_cv_use_baseevtloop='wxUSE_CONSOLE_EVENTLOOP=${'DEFAULT_wxUSE_CONSOLE_EVENTLOOP":-$defaultval}"
6709 eval "$wx_cv_use_baseevtloop"
6710 if test "x$cache" = xyes; then
6711 echo "wxUSE_CONSOLE_EVENTLOOP=$wxUSE_CONSOLE_EVENTLOOP" >> ${wx_arg_cache_file}.tmp
6714 if test x"$enablestring" = xdisable; then
6715 if test $wxUSE_CONSOLE_EVENTLOOP = yes; then
6721 result=$wxUSE_CONSOLE_EVENTLOOP
6724 { echo "$as_me:$LINENO: result: $result" >&5
6725 echo "${ECHO_T}$result" >&6; }
6729 defaultval=$wxUSE_ALL_FEATURES
6730 if test -z "$defaultval"; then
6731 if test x"$enablestring" = xdisable; then
6738 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-epoolloop" >&5
6739 echo $ECHO_N "checking for --${enablestring:-enable}-epoolloop... $ECHO_C" >&6; }
6740 # Check whether --enable-epoolloop was given.
6741 if test "${enable_epoolloop+set}" = set; then
6742 enableval=$enable_epoolloop;
6743 if test "$enableval" = yes; then
6744 wx_cv_use_epoolloop='wxUSE_EPOLL_DISPATCHER=yes'
6746 wx_cv_use_epoolloop='wxUSE_EPOLL_DISPATCHER=no'
6752 LINE=`grep "^wxUSE_EPOLL_DISPATCHER=" ${wx_arg_cache_file}`
6753 if test "x$LINE" != x ; then
6754 eval "DEFAULT_$LINE"
6760 wx_cv_use_epoolloop='wxUSE_EPOLL_DISPATCHER=${'DEFAULT_wxUSE_EPOLL_DISPATCHER":-$defaultval}"
6765 eval "$wx_cv_use_epoolloop"
6766 if test "x$cache" = xyes; then
6767 echo "wxUSE_EPOLL_DISPATCHER=$wxUSE_EPOLL_DISPATCHER" >> ${wx_arg_cache_file}.tmp
6770 if test x"$enablestring" = xdisable; then
6771 if test $wxUSE_EPOLL_DISPATCHER = yes; then
6777 result=$wxUSE_EPOLL_DISPATCHER
6780 { echo "$as_me:$LINENO: result: $result" >&5
6781 echo "${ECHO_T}$result" >&6; }
6785 defaultval=$wxUSE_ALL_FEATURES
6786 if test -z "$defaultval"; then
6787 if test x"$enablestring" = xdisable; then
6794 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-selectloop" >&5
6795 echo $ECHO_N "checking for --${enablestring:-enable}-selectloop... $ECHO_C" >&6; }
6796 # Check whether --enable-selectloop was given.
6797 if test "${enable_selectloop+set}" = set; then
6798 enableval=$enable_selectloop;
6799 if test "$enableval" = yes; then
6800 wx_cv_use_selectloop='wxUSE_SELECT_DISPATCHER=yes'
6802 wx_cv_use_selectloop='wxUSE_SELECT_DISPATCHER=no'
6808 LINE=`grep "^wxUSE_SELECT_DISPATCHER=" ${wx_arg_cache_file}`
6809 if test "x$LINE" != x ; then
6810 eval "DEFAULT_$LINE"
6816 wx_cv_use_selectloop='wxUSE_SELECT_DISPATCHER=${'DEFAULT_wxUSE_SELECT_DISPATCHER":-$defaultval}"
6821 eval "$wx_cv_use_selectloop"
6822 if test "x$cache" = xyes; then
6823 echo "wxUSE_SELECT_DISPATCHER=$wxUSE_SELECT_DISPATCHER" >> ${wx_arg_cache_file}.tmp
6826 if test x"$enablestring" = xdisable; then
6827 if test $wxUSE_SELECT_DISPATCHER = yes; then
6833 result=$wxUSE_SELECT_DISPATCHER
6836 { echo "$as_me:$LINENO: result: $result" >&5
6837 echo "${ECHO_T}$result" >&6; }
6842 defaultval=$wxUSE_ALL_FEATURES
6843 if test -z "$defaultval"; then
6844 if test x"$enablestring" = xdisable; then
6851 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-apple_ieee" >&5
6852 echo $ECHO_N "checking for --${enablestring:-enable}-apple_ieee... $ECHO_C" >&6; }
6853 # Check whether --enable-apple_ieee was given.
6854 if test "${enable_apple_ieee+set}" = set; then
6855 enableval=$enable_apple_ieee;
6856 if test "$enableval" = yes; then
6857 wx_cv_use_apple_ieee='wxUSE_APPLE_IEEE=yes'
6859 wx_cv_use_apple_ieee='wxUSE_APPLE_IEEE=no'
6865 LINE=`grep "^wxUSE_APPLE_IEEE=" ${wx_arg_cache_file}`
6866 if test "x$LINE" != x ; then
6867 eval "DEFAULT_$LINE"
6873 wx_cv_use_apple_ieee='wxUSE_APPLE_IEEE=${'DEFAULT_wxUSE_APPLE_IEEE":-$defaultval}"
6878 eval "$wx_cv_use_apple_ieee"
6879 if test "x$cache" = xyes; then
6880 echo "wxUSE_APPLE_IEEE=$wxUSE_APPLE_IEEE" >> ${wx_arg_cache_file}.tmp
6883 if test x"$enablestring" = xdisable; then
6884 if test $wxUSE_APPLE_IEEE = yes; then
6890 result=$wxUSE_APPLE_IEEE
6893 { echo "$as_me:$LINENO: result: $result" >&5
6894 echo "${ECHO_T}$result" >&6; }
6898 defaultval=$wxUSE_ALL_FEATURES
6899 if test -z "$defaultval"; then
6900 if test x"$enablestring" = xdisable; then
6907 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-arcstream" >&5
6908 echo $ECHO_N "checking for --${enablestring:-enable}-arcstream... $ECHO_C" >&6; }
6909 # Check whether --enable-arcstream was given.
6910 if test "${enable_arcstream+set}" = set; then
6911 enableval=$enable_arcstream;
6912 if test "$enableval" = yes; then
6913 wx_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS=yes'
6915 wx_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS=no'
6921 LINE=`grep "^wxUSE_ARCHIVE_STREAMS=" ${wx_arg_cache_file}`
6922 if test "x$LINE" != x ; then
6923 eval "DEFAULT_$LINE"
6929 wx_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS=${'DEFAULT_wxUSE_ARCHIVE_STREAMS":-$defaultval}"
6934 eval "$wx_cv_use_arcstream"
6935 if test "x$cache" = xyes; then
6936 echo "wxUSE_ARCHIVE_STREAMS=$wxUSE_ARCHIVE_STREAMS" >> ${wx_arg_cache_file}.tmp
6939 if test x"$enablestring" = xdisable; then
6940 if test $wxUSE_ARCHIVE_STREAMS = yes; then
6946 result=$wxUSE_ARCHIVE_STREAMS
6949 { echo "$as_me:$LINENO: result: $result" >&5
6950 echo "${ECHO_T}$result" >&6; }
6954 defaultval=$wxUSE_ALL_FEATURES
6955 if test -z "$defaultval"; then
6956 if test x"$enablestring" = xdisable; then
6963 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-base64" >&5
6964 echo $ECHO_N "checking for --${enablestring:-enable}-base64... $ECHO_C" >&6; }
6965 # Check whether --enable-base64 was given.
6966 if test "${enable_base64+set}" = set; then
6967 enableval=$enable_base64;
6968 if test "$enableval" = yes; then
6969 wx_cv_use_base64='wxUSE_BASE64=yes'
6971 wx_cv_use_base64='wxUSE_BASE64=no'
6977 LINE=`grep "^wxUSE_BASE64=" ${wx_arg_cache_file}`
6978 if test "x$LINE" != x ; then
6979 eval "DEFAULT_$LINE"
6985 wx_cv_use_base64='wxUSE_BASE64=${'DEFAULT_wxUSE_BASE64":-$defaultval}"
6990 eval "$wx_cv_use_base64"
6991 if test "x$cache" = xyes; then
6992 echo "wxUSE_BASE64=$wxUSE_BASE64" >> ${wx_arg_cache_file}.tmp
6995 if test x"$enablestring" = xdisable; then
6996 if test $wxUSE_BASE64 = yes; then
7002 result=$wxUSE_BASE64
7005 { echo "$as_me:$LINENO: result: $result" >&5
7006 echo "${ECHO_T}$result" >&6; }
7010 defaultval=$wxUSE_ALL_FEATURES
7011 if test -z "$defaultval"; then
7012 if test x"$enablestring" = xdisable; then
7019 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-backtrace" >&5
7020 echo $ECHO_N "checking for --${enablestring:-enable}-backtrace... $ECHO_C" >&6; }
7021 # Check whether --enable-backtrace was given.
7022 if test "${enable_backtrace+set}" = set; then
7023 enableval=$enable_backtrace;
7024 if test "$enableval" = yes; then
7025 wx_cv_use_backtrace='wxUSE_STACKWALKER=yes'
7027 wx_cv_use_backtrace='wxUSE_STACKWALKER=no'
7033 LINE=`grep "^wxUSE_STACKWALKER=" ${wx_arg_cache_file}`
7034 if test "x$LINE" != x ; then
7035 eval "DEFAULT_$LINE"
7041 wx_cv_use_backtrace='wxUSE_STACKWALKER=${'DEFAULT_wxUSE_STACKWALKER":-$defaultval}"
7046 eval "$wx_cv_use_backtrace"
7047 if test "x$cache" = xyes; then
7048 echo "wxUSE_STACKWALKER=$wxUSE_STACKWALKER" >> ${wx_arg_cache_file}.tmp
7051 if test x"$enablestring" = xdisable; then
7052 if test $wxUSE_STACKWALKER = yes; then
7058 result=$wxUSE_STACKWALKER
7061 { echo "$as_me:$LINENO: result: $result" >&5
7062 echo "${ECHO_T}$result" >&6; }
7066 defaultval=$wxUSE_ALL_FEATURES
7067 if test -z "$defaultval"; then
7068 if test x"$enablestring" = xdisable; then
7075 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-catch_segvs" >&5
7076 echo $ECHO_N "checking for --${enablestring:-enable}-catch_segvs... $ECHO_C" >&6; }
7077 # Check whether --enable-catch_segvs was given.
7078 if test "${enable_catch_segvs+set}" = set; then
7079 enableval=$enable_catch_segvs;
7080 if test "$enableval" = yes; then
7081 wx_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=yes'
7083 wx_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=no'
7089 LINE=`grep "^wxUSE_ON_FATAL_EXCEPTION=" ${wx_arg_cache_file}`
7090 if test "x$LINE" != x ; then
7091 eval "DEFAULT_$LINE"
7097 wx_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=${'DEFAULT_wxUSE_ON_FATAL_EXCEPTION":-$defaultval}"
7102 eval "$wx_cv_use_catch_segvs"
7103 if test "x$cache" = xyes; then
7104 echo "wxUSE_ON_FATAL_EXCEPTION=$wxUSE_ON_FATAL_EXCEPTION" >> ${wx_arg_cache_file}.tmp
7107 if test x"$enablestring" = xdisable; then
7108 if test $wxUSE_ON_FATAL_EXCEPTION = yes; then
7114 result=$wxUSE_ON_FATAL_EXCEPTION
7117 { echo "$as_me:$LINENO: result: $result" >&5
7118 echo "${ECHO_T}$result" >&6; }
7122 defaultval=$wxUSE_ALL_FEATURES
7123 if test -z "$defaultval"; then
7124 if test x"$enablestring" = xdisable; then
7131 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-cmdline" >&5
7132 echo $ECHO_N "checking for --${enablestring:-enable}-cmdline... $ECHO_C" >&6; }
7133 # Check whether --enable-cmdline was given.
7134 if test "${enable_cmdline+set}" = set; then
7135 enableval=$enable_cmdline;
7136 if test "$enableval" = yes; then
7137 wx_cv_use_cmdline='wxUSE_CMDLINE_PARSER=yes'
7139 wx_cv_use_cmdline='wxUSE_CMDLINE_PARSER=no'
7145 LINE=`grep "^wxUSE_CMDLINE_PARSER=" ${wx_arg_cache_file}`
7146 if test "x$LINE" != x ; then
7147 eval "DEFAULT_$LINE"
7153 wx_cv_use_cmdline='wxUSE_CMDLINE_PARSER=${'DEFAULT_wxUSE_CMDLINE_PARSER":-$defaultval}"
7158 eval "$wx_cv_use_cmdline"
7159 if test "x$cache" = xyes; then
7160 echo "wxUSE_CMDLINE_PARSER=$wxUSE_CMDLINE_PARSER" >> ${wx_arg_cache_file}.tmp
7163 if test x"$enablestring" = xdisable; then
7164 if test $wxUSE_CMDLINE_PARSER = yes; then
7170 result=$wxUSE_CMDLINE_PARSER
7173 { echo "$as_me:$LINENO: result: $result" >&5
7174 echo "${ECHO_T}$result" >&6; }
7178 defaultval=$wxUSE_ALL_FEATURES
7179 if test -z "$defaultval"; then
7180 if test x"$enablestring" = xdisable; then
7187 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-datetime" >&5
7188 echo $ECHO_N "checking for --${enablestring:-enable}-datetime... $ECHO_C" >&6; }
7189 # Check whether --enable-datetime was given.
7190 if test "${enable_datetime+set}" = set; then
7191 enableval=$enable_datetime;
7192 if test "$enableval" = yes; then
7193 wx_cv_use_datetime='wxUSE_DATETIME=yes'
7195 wx_cv_use_datetime='wxUSE_DATETIME=no'
7201 LINE=`grep "^wxUSE_DATETIME=" ${wx_arg_cache_file}`
7202 if test "x$LINE" != x ; then
7203 eval "DEFAULT_$LINE"
7209 wx_cv_use_datetime='wxUSE_DATETIME=${'DEFAULT_wxUSE_DATETIME":-$defaultval}"
7214 eval "$wx_cv_use_datetime"
7215 if test "x$cache" = xyes; then
7216 echo "wxUSE_DATETIME=$wxUSE_DATETIME" >> ${wx_arg_cache_file}.tmp
7219 if test x"$enablestring" = xdisable; then
7220 if test $wxUSE_DATETIME = yes; then
7226 result=$wxUSE_DATETIME
7229 { echo "$as_me:$LINENO: result: $result" >&5
7230 echo "${ECHO_T}$result" >&6; }
7234 defaultval=$wxUSE_ALL_FEATURES
7235 if test -z "$defaultval"; then
7236 if test x"$enablestring" = xdisable; then
7243 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debugreport" >&5
7244 echo $ECHO_N "checking for --${enablestring:-enable}-debugreport... $ECHO_C" >&6; }
7245 # Check whether --enable-debugreport was given.
7246 if test "${enable_debugreport+set}" = set; then
7247 enableval=$enable_debugreport;
7248 if test "$enableval" = yes; then
7249 wx_cv_use_debugreport='wxUSE_DEBUGREPORT=yes'
7251 wx_cv_use_debugreport='wxUSE_DEBUGREPORT=no'
7257 LINE=`grep "^wxUSE_DEBUGREPORT=" ${wx_arg_cache_file}`
7258 if test "x$LINE" != x ; then
7259 eval "DEFAULT_$LINE"
7265 wx_cv_use_debugreport='wxUSE_DEBUGREPORT=${'DEFAULT_wxUSE_DEBUGREPORT":-$defaultval}"
7270 eval "$wx_cv_use_debugreport"
7271 if test "x$cache" = xyes; then
7272 echo "wxUSE_DEBUGREPORT=$wxUSE_DEBUGREPORT" >> ${wx_arg_cache_file}.tmp
7275 if test x"$enablestring" = xdisable; then
7276 if test $wxUSE_DEBUGREPORT = yes; then
7282 result=$wxUSE_DEBUGREPORT
7285 { echo "$as_me:$LINENO: result: $result" >&5
7286 echo "${ECHO_T}$result" >&6; }
7290 defaultval=$wxUSE_ALL_FEATURES
7291 if test -z "$defaultval"; then
7292 if test x"$enablestring" = xdisable; then
7299 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dialupman" >&5
7300 echo $ECHO_N "checking for --${enablestring:-enable}-dialupman... $ECHO_C" >&6; }
7301 # Check whether --enable-dialupman was given.
7302 if test "${enable_dialupman+set}" = set; then
7303 enableval=$enable_dialupman;
7304 if test "$enableval" = yes; then
7305 wx_cv_use_dialupman='wxUSE_DIALUP_MANAGER=yes'
7307 wx_cv_use_dialupman='wxUSE_DIALUP_MANAGER=no'
7313 LINE=`grep "^wxUSE_DIALUP_MANAGER=" ${wx_arg_cache_file}`
7314 if test "x$LINE" != x ; then
7315 eval "DEFAULT_$LINE"
7321 wx_cv_use_dialupman='wxUSE_DIALUP_MANAGER=${'DEFAULT_wxUSE_DIALUP_MANAGER":-$defaultval}"
7326 eval "$wx_cv_use_dialupman"
7327 if test "x$cache" = xyes; then
7328 echo "wxUSE_DIALUP_MANAGER=$wxUSE_DIALUP_MANAGER" >> ${wx_arg_cache_file}.tmp
7331 if test x"$enablestring" = xdisable; then
7332 if test $wxUSE_DIALUP_MANAGER = yes; then
7338 result=$wxUSE_DIALUP_MANAGER
7341 { echo "$as_me:$LINENO: result: $result" >&5
7342 echo "${ECHO_T}$result" >&6; }
7346 defaultval=$wxUSE_ALL_FEATURES
7347 if test -z "$defaultval"; then
7348 if test x"$enablestring" = xdisable; then
7355 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynlib" >&5
7356 echo $ECHO_N "checking for --${enablestring:-enable}-dynlib... $ECHO_C" >&6; }
7357 # Check whether --enable-dynlib was given.
7358 if test "${enable_dynlib+set}" = set; then
7359 enableval=$enable_dynlib;
7360 if test "$enableval" = yes; then
7361 wx_cv_use_dynlib='wxUSE_DYNLIB_CLASS=yes'
7363 wx_cv_use_dynlib='wxUSE_DYNLIB_CLASS=no'
7369 LINE=`grep "^wxUSE_DYNLIB_CLASS=" ${wx_arg_cache_file}`
7370 if test "x$LINE" != x ; then
7371 eval "DEFAULT_$LINE"
7377 wx_cv_use_dynlib='wxUSE_DYNLIB_CLASS=${'DEFAULT_wxUSE_DYNLIB_CLASS":-$defaultval}"
7382 eval "$wx_cv_use_dynlib"
7383 if test "x$cache" = xyes; then
7384 echo "wxUSE_DYNLIB_CLASS=$wxUSE_DYNLIB_CLASS" >> ${wx_arg_cache_file}.tmp
7387 if test x"$enablestring" = xdisable; then
7388 if test $wxUSE_DYNLIB_CLASS = yes; then
7394 result=$wxUSE_DYNLIB_CLASS
7397 { echo "$as_me:$LINENO: result: $result" >&5
7398 echo "${ECHO_T}$result" >&6; }
7402 defaultval=$wxUSE_ALL_FEATURES
7403 if test -z "$defaultval"; then
7404 if test x"$enablestring" = xdisable; then
7411 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynamicloader" >&5
7412 echo $ECHO_N "checking for --${enablestring:-enable}-dynamicloader... $ECHO_C" >&6; }
7413 # Check whether --enable-dynamicloader was given.
7414 if test "${enable_dynamicloader+set}" = set; then
7415 enableval=$enable_dynamicloader;
7416 if test "$enableval" = yes; then
7417 wx_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=yes'
7419 wx_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=no'
7425 LINE=`grep "^wxUSE_DYNAMIC_LOADER=" ${wx_arg_cache_file}`
7426 if test "x$LINE" != x ; then
7427 eval "DEFAULT_$LINE"
7433 wx_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=${'DEFAULT_wxUSE_DYNAMIC_LOADER":-$defaultval}"
7438 eval "$wx_cv_use_dynamicloader"
7439 if test "x$cache" = xyes; then
7440 echo "wxUSE_DYNAMIC_LOADER=$wxUSE_DYNAMIC_LOADER" >> ${wx_arg_cache_file}.tmp
7443 if test x"$enablestring" = xdisable; then
7444 if test $wxUSE_DYNAMIC_LOADER = yes; then
7450 result=$wxUSE_DYNAMIC_LOADER
7453 { echo "$as_me:$LINENO: result: $result" >&5
7454 echo "${ECHO_T}$result" >&6; }
7458 defaultval=$wxUSE_ALL_FEATURES
7459 if test -z "$defaultval"; then
7460 if test x"$enablestring" = xdisable; then
7467 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-exceptions" >&5
7468 echo $ECHO_N "checking for --${enablestring:-enable}-exceptions... $ECHO_C" >&6; }
7469 # Check whether --enable-exceptions was given.
7470 if test "${enable_exceptions+set}" = set; then
7471 enableval=$enable_exceptions;
7472 if test "$enableval" = yes; then
7473 wx_cv_use_exceptions='wxUSE_EXCEPTIONS=yes'
7475 wx_cv_use_exceptions='wxUSE_EXCEPTIONS=no'
7481 LINE=`grep "^wxUSE_EXCEPTIONS=" ${wx_arg_cache_file}`
7482 if test "x$LINE" != x ; then
7483 eval "DEFAULT_$LINE"
7489 wx_cv_use_exceptions='wxUSE_EXCEPTIONS=${'DEFAULT_wxUSE_EXCEPTIONS":-$defaultval}"
7494 eval "$wx_cv_use_exceptions"
7495 if test "x$cache" = xyes; then
7496 echo "wxUSE_EXCEPTIONS=$wxUSE_EXCEPTIONS" >> ${wx_arg_cache_file}.tmp
7499 if test x"$enablestring" = xdisable; then
7500 if test $wxUSE_EXCEPTIONS = yes; then
7506 result=$wxUSE_EXCEPTIONS
7509 { echo "$as_me:$LINENO: result: $result" >&5
7510 echo "${ECHO_T}$result" >&6; }
7514 defaultval=$wxUSE_ALL_FEATURES
7515 if test -z "$defaultval"; then
7516 if test x"$enablestring" = xdisable; then
7523 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ffile" >&5
7524 echo $ECHO_N "checking for --${enablestring:-enable}-ffile... $ECHO_C" >&6; }
7525 # Check whether --enable-ffile was given.
7526 if test "${enable_ffile+set}" = set; then
7527 enableval=$enable_ffile;
7528 if test "$enableval" = yes; then
7529 wx_cv_use_ffile='wxUSE_FFILE=yes'
7531 wx_cv_use_ffile='wxUSE_FFILE=no'
7537 LINE=`grep "^wxUSE_FFILE=" ${wx_arg_cache_file}`
7538 if test "x$LINE" != x ; then
7539 eval "DEFAULT_$LINE"
7545 wx_cv_use_ffile='wxUSE_FFILE=${'DEFAULT_wxUSE_FFILE":-$defaultval}"
7550 eval "$wx_cv_use_ffile"
7551 if test "x$cache" = xyes; then
7552 echo "wxUSE_FFILE=$wxUSE_FFILE" >> ${wx_arg_cache_file}.tmp
7555 if test x"$enablestring" = xdisable; then
7556 if test $wxUSE_FFILE = yes; then
7565 { echo "$as_me:$LINENO: result: $result" >&5
7566 echo "${ECHO_T}$result" >&6; }
7570 defaultval=$wxUSE_ALL_FEATURES
7571 if test -z "$defaultval"; then
7572 if test x"$enablestring" = xdisable; then
7579 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-file" >&5
7580 echo $ECHO_N "checking for --${enablestring:-enable}-file... $ECHO_C" >&6; }
7581 # Check whether --enable-file was given.
7582 if test "${enable_file+set}" = set; then
7583 enableval=$enable_file;
7584 if test "$enableval" = yes; then
7585 wx_cv_use_file='wxUSE_FILE=yes'
7587 wx_cv_use_file='wxUSE_FILE=no'
7593 LINE=`grep "^wxUSE_FILE=" ${wx_arg_cache_file}`
7594 if test "x$LINE" != x ; then
7595 eval "DEFAULT_$LINE"
7601 wx_cv_use_file='wxUSE_FILE=${'DEFAULT_wxUSE_FILE":-$defaultval}"
7606 eval "$wx_cv_use_file"
7607 if test "x$cache" = xyes; then
7608 echo "wxUSE_FILE=$wxUSE_FILE" >> ${wx_arg_cache_file}.tmp
7611 if test x"$enablestring" = xdisable; then
7612 if test $wxUSE_FILE = yes; then
7621 { echo "$as_me:$LINENO: result: $result" >&5
7622 echo "${ECHO_T}$result" >&6; }
7626 defaultval=$wxUSE_ALL_FEATURES
7627 if test -z "$defaultval"; then
7628 if test x"$enablestring" = xdisable; then
7635 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filesystem" >&5
7636 echo $ECHO_N "checking for --${enablestring:-enable}-filesystem... $ECHO_C" >&6; }
7637 # Check whether --enable-filesystem was given.
7638 if test "${enable_filesystem+set}" = set; then
7639 enableval=$enable_filesystem;
7640 if test "$enableval" = yes; then
7641 wx_cv_use_filesystem='wxUSE_FILESYSTEM=yes'
7643 wx_cv_use_filesystem='wxUSE_FILESYSTEM=no'
7649 LINE=`grep "^wxUSE_FILESYSTEM=" ${wx_arg_cache_file}`
7650 if test "x$LINE" != x ; then
7651 eval "DEFAULT_$LINE"
7657 wx_cv_use_filesystem='wxUSE_FILESYSTEM=${'DEFAULT_wxUSE_FILESYSTEM":-$defaultval}"
7662 eval "$wx_cv_use_filesystem"
7663 if test "x$cache" = xyes; then
7664 echo "wxUSE_FILESYSTEM=$wxUSE_FILESYSTEM" >> ${wx_arg_cache_file}.tmp
7667 if test x"$enablestring" = xdisable; then
7668 if test $wxUSE_FILESYSTEM = yes; then
7674 result=$wxUSE_FILESYSTEM
7677 { echo "$as_me:$LINENO: result: $result" >&5
7678 echo "${ECHO_T}$result" >&6; }
7682 defaultval=$wxUSE_ALL_FEATURES
7683 if test -z "$defaultval"; then
7684 if test x"$enablestring" = xdisable; then
7691 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontenum" >&5
7692 echo $ECHO_N "checking for --${enablestring:-enable}-fontenum... $ECHO_C" >&6; }
7693 # Check whether --enable-fontenum was given.
7694 if test "${enable_fontenum+set}" = set; then
7695 enableval=$enable_fontenum;
7696 if test "$enableval" = yes; then
7697 wx_cv_use_fontenum='wxUSE_FONTENUM=yes'
7699 wx_cv_use_fontenum='wxUSE_FONTENUM=no'
7705 LINE=`grep "^wxUSE_FONTENUM=" ${wx_arg_cache_file}`
7706 if test "x$LINE" != x ; then
7707 eval "DEFAULT_$LINE"
7713 wx_cv_use_fontenum='wxUSE_FONTENUM=${'DEFAULT_wxUSE_FONTENUM":-$defaultval}"
7718 eval "$wx_cv_use_fontenum"
7719 if test "x$cache" = xyes; then
7720 echo "wxUSE_FONTENUM=$wxUSE_FONTENUM" >> ${wx_arg_cache_file}.tmp
7723 if test x"$enablestring" = xdisable; then
7724 if test $wxUSE_FONTENUM = yes; then
7730 result=$wxUSE_FONTENUM
7733 { echo "$as_me:$LINENO: result: $result" >&5
7734 echo "${ECHO_T}$result" >&6; }
7738 defaultval=$wxUSE_ALL_FEATURES
7739 if test -z "$defaultval"; then
7740 if test x"$enablestring" = xdisable; then
7747 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontmap" >&5
7748 echo $ECHO_N "checking for --${enablestring:-enable}-fontmap... $ECHO_C" >&6; }
7749 # Check whether --enable-fontmap was given.
7750 if test "${enable_fontmap+set}" = set; then
7751 enableval=$enable_fontmap;
7752 if test "$enableval" = yes; then
7753 wx_cv_use_fontmap='wxUSE_FONTMAP=yes'
7755 wx_cv_use_fontmap='wxUSE_FONTMAP=no'
7761 LINE=`grep "^wxUSE_FONTMAP=" ${wx_arg_cache_file}`
7762 if test "x$LINE" != x ; then
7763 eval "DEFAULT_$LINE"
7769 wx_cv_use_fontmap='wxUSE_FONTMAP=${'DEFAULT_wxUSE_FONTMAP":-$defaultval}"
7774 eval "$wx_cv_use_fontmap"
7775 if test "x$cache" = xyes; then
7776 echo "wxUSE_FONTMAP=$wxUSE_FONTMAP" >> ${wx_arg_cache_file}.tmp
7779 if test x"$enablestring" = xdisable; then
7780 if test $wxUSE_FONTMAP = yes; then
7786 result=$wxUSE_FONTMAP
7789 { echo "$as_me:$LINENO: result: $result" >&5
7790 echo "${ECHO_T}$result" >&6; }
7794 defaultval=$wxUSE_ALL_FEATURES
7795 if test -z "$defaultval"; then
7796 if test x"$enablestring" = xdisable; then
7803 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_archive" >&5
7804 echo $ECHO_N "checking for --${enablestring:-enable}-fs_archive... $ECHO_C" >&6; }
7805 # Check whether --enable-fs_archive was given.
7806 if test "${enable_fs_archive+set}" = set; then
7807 enableval=$enable_fs_archive;
7808 if test "$enableval" = yes; then
7809 wx_cv_use_fs_archive='wxUSE_FS_ARCHIVE=yes'
7811 wx_cv_use_fs_archive='wxUSE_FS_ARCHIVE=no'
7817 LINE=`grep "^wxUSE_FS_ARCHIVE=" ${wx_arg_cache_file}`
7818 if test "x$LINE" != x ; then
7819 eval "DEFAULT_$LINE"
7825 wx_cv_use_fs_archive='wxUSE_FS_ARCHIVE=${'DEFAULT_wxUSE_FS_ARCHIVE":-$defaultval}"
7830 eval "$wx_cv_use_fs_archive"
7831 if test "x$cache" = xyes; then
7832 echo "wxUSE_FS_ARCHIVE=$wxUSE_FS_ARCHIVE" >> ${wx_arg_cache_file}.tmp
7835 if test x"$enablestring" = xdisable; then
7836 if test $wxUSE_FS_ARCHIVE = yes; then
7842 result=$wxUSE_FS_ARCHIVE
7845 { echo "$as_me:$LINENO: result: $result" >&5
7846 echo "${ECHO_T}$result" >&6; }
7850 defaultval=$wxUSE_ALL_FEATURES
7851 if test -z "$defaultval"; then
7852 if test x"$enablestring" = xdisable; then
7859 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_inet" >&5
7860 echo $ECHO_N "checking for --${enablestring:-enable}-fs_inet... $ECHO_C" >&6; }
7861 # Check whether --enable-fs_inet was given.
7862 if test "${enable_fs_inet+set}" = set; then
7863 enableval=$enable_fs_inet;
7864 if test "$enableval" = yes; then
7865 wx_cv_use_fs_inet='wxUSE_FS_INET=yes'
7867 wx_cv_use_fs_inet='wxUSE_FS_INET=no'
7873 LINE=`grep "^wxUSE_FS_INET=" ${wx_arg_cache_file}`
7874 if test "x$LINE" != x ; then
7875 eval "DEFAULT_$LINE"
7881 wx_cv_use_fs_inet='wxUSE_FS_INET=${'DEFAULT_wxUSE_FS_INET":-$defaultval}"
7886 eval "$wx_cv_use_fs_inet"
7887 if test "x$cache" = xyes; then
7888 echo "wxUSE_FS_INET=$wxUSE_FS_INET" >> ${wx_arg_cache_file}.tmp
7891 if test x"$enablestring" = xdisable; then
7892 if test $wxUSE_FS_INET = yes; then
7898 result=$wxUSE_FS_INET
7901 { echo "$as_me:$LINENO: result: $result" >&5
7902 echo "${ECHO_T}$result" >&6; }
7906 defaultval=$wxUSE_ALL_FEATURES
7907 if test -z "$defaultval"; then
7908 if test x"$enablestring" = xdisable; then
7915 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_zip" >&5
7916 echo $ECHO_N "checking for --${enablestring:-enable}-fs_zip... $ECHO_C" >&6; }
7917 # Check whether --enable-fs_zip was given.
7918 if test "${enable_fs_zip+set}" = set; then
7919 enableval=$enable_fs_zip;
7920 if test "$enableval" = yes; then
7921 wx_cv_use_fs_zip='wxUSE_FS_ZIP=yes'
7923 wx_cv_use_fs_zip='wxUSE_FS_ZIP=no'
7929 LINE=`grep "^wxUSE_FS_ZIP=" ${wx_arg_cache_file}`
7930 if test "x$LINE" != x ; then
7931 eval "DEFAULT_$LINE"
7937 wx_cv_use_fs_zip='wxUSE_FS_ZIP=${'DEFAULT_wxUSE_FS_ZIP":-$defaultval}"
7942 eval "$wx_cv_use_fs_zip"
7943 if test "x$cache" = xyes; then
7944 echo "wxUSE_FS_ZIP=$wxUSE_FS_ZIP" >> ${wx_arg_cache_file}.tmp
7947 if test x"$enablestring" = xdisable; then
7948 if test $wxUSE_FS_ZIP = yes; then
7954 result=$wxUSE_FS_ZIP
7957 { echo "$as_me:$LINENO: result: $result" >&5
7958 echo "${ECHO_T}$result" >&6; }
7962 defaultval=$wxUSE_ALL_FEATURES
7963 if test -z "$defaultval"; then
7964 if test x"$enablestring" = xdisable; then
7971 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-geometry" >&5
7972 echo $ECHO_N "checking for --${enablestring:-enable}-geometry... $ECHO_C" >&6; }
7973 # Check whether --enable-geometry was given.
7974 if test "${enable_geometry+set}" = set; then
7975 enableval=$enable_geometry;
7976 if test "$enableval" = yes; then
7977 wx_cv_use_geometry='wxUSE_GEOMETRY=yes'
7979 wx_cv_use_geometry='wxUSE_GEOMETRY=no'
7985 LINE=`grep "^wxUSE_GEOMETRY=" ${wx_arg_cache_file}`
7986 if test "x$LINE" != x ; then
7987 eval "DEFAULT_$LINE"
7993 wx_cv_use_geometry='wxUSE_GEOMETRY=${'DEFAULT_wxUSE_GEOMETRY":-$defaultval}"
7998 eval "$wx_cv_use_geometry"
7999 if test "x$cache" = xyes; then
8000 echo "wxUSE_GEOMETRY=$wxUSE_GEOMETRY" >> ${wx_arg_cache_file}.tmp
8003 if test x"$enablestring" = xdisable; then
8004 if test $wxUSE_GEOMETRY = yes; then
8010 result=$wxUSE_GEOMETRY
8013 { echo "$as_me:$LINENO: result: $result" >&5
8014 echo "${ECHO_T}$result" >&6; }
8018 defaultval=$wxUSE_ALL_FEATURES
8019 if test -z "$defaultval"; then
8020 if test x"$enablestring" = xdisable; then
8027 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-log" >&5
8028 echo $ECHO_N "checking for --${enablestring:-enable}-log... $ECHO_C" >&6; }
8029 # Check whether --enable-log was given.
8030 if test "${enable_log+set}" = set; then
8031 enableval=$enable_log;
8032 if test "$enableval" = yes; then
8033 wx_cv_use_log='wxUSE_LOG=yes'
8035 wx_cv_use_log='wxUSE_LOG=no'
8041 LINE=`grep "^wxUSE_LOG=" ${wx_arg_cache_file}`
8042 if test "x$LINE" != x ; then
8043 eval "DEFAULT_$LINE"
8049 wx_cv_use_log='wxUSE_LOG=${'DEFAULT_wxUSE_LOG":-$defaultval}"
8054 eval "$wx_cv_use_log"
8055 if test "x$cache" = xyes; then
8056 echo "wxUSE_LOG=$wxUSE_LOG" >> ${wx_arg_cache_file}.tmp
8059 if test x"$enablestring" = xdisable; then
8060 if test $wxUSE_LOG = yes; then
8069 { echo "$as_me:$LINENO: result: $result" >&5
8070 echo "${ECHO_T}$result" >&6; }
8074 defaultval=$wxUSE_ALL_FEATURES
8075 if test -z "$defaultval"; then
8076 if test x"$enablestring" = xdisable; then
8083 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-longlong" >&5
8084 echo $ECHO_N "checking for --${enablestring:-enable}-longlong... $ECHO_C" >&6; }
8085 # Check whether --enable-longlong was given.
8086 if test "${enable_longlong+set}" = set; then
8087 enableval=$enable_longlong;
8088 if test "$enableval" = yes; then
8089 wx_cv_use_longlong='wxUSE_LONGLONG=yes'
8091 wx_cv_use_longlong='wxUSE_LONGLONG=no'
8097 LINE=`grep "^wxUSE_LONGLONG=" ${wx_arg_cache_file}`
8098 if test "x$LINE" != x ; then
8099 eval "DEFAULT_$LINE"
8105 wx_cv_use_longlong='wxUSE_LONGLONG=${'DEFAULT_wxUSE_LONGLONG":-$defaultval}"
8110 eval "$wx_cv_use_longlong"
8111 if test "x$cache" = xyes; then
8112 echo "wxUSE_LONGLONG=$wxUSE_LONGLONG" >> ${wx_arg_cache_file}.tmp
8115 if test x"$enablestring" = xdisable; then
8116 if test $wxUSE_LONGLONG = yes; then
8122 result=$wxUSE_LONGLONG
8125 { echo "$as_me:$LINENO: result: $result" >&5
8126 echo "${ECHO_T}$result" >&6; }
8130 defaultval=$wxUSE_ALL_FEATURES
8131 if test -z "$defaultval"; then
8132 if test x"$enablestring" = xdisable; then
8139 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mimetype" >&5
8140 echo $ECHO_N "checking for --${enablestring:-enable}-mimetype... $ECHO_C" >&6; }
8141 # Check whether --enable-mimetype was given.
8142 if test "${enable_mimetype+set}" = set; then
8143 enableval=$enable_mimetype;
8144 if test "$enableval" = yes; then
8145 wx_cv_use_mimetype='wxUSE_MIMETYPE=yes'
8147 wx_cv_use_mimetype='wxUSE_MIMETYPE=no'
8153 LINE=`grep "^wxUSE_MIMETYPE=" ${wx_arg_cache_file}`
8154 if test "x$LINE" != x ; then
8155 eval "DEFAULT_$LINE"
8161 wx_cv_use_mimetype='wxUSE_MIMETYPE=${'DEFAULT_wxUSE_MIMETYPE":-$defaultval}"
8166 eval "$wx_cv_use_mimetype"
8167 if test "x$cache" = xyes; then
8168 echo "wxUSE_MIMETYPE=$wxUSE_MIMETYPE" >> ${wx_arg_cache_file}.tmp
8171 if test x"$enablestring" = xdisable; then
8172 if test $wxUSE_MIMETYPE = yes; then
8178 result=$wxUSE_MIMETYPE
8181 { echo "$as_me:$LINENO: result: $result" >&5
8182 echo "${ECHO_T}$result" >&6; }
8186 defaultval=$wxUSE_ALL_FEATURES
8187 if test -z "$defaultval"; then
8188 if test x"$enablestring" = xdisable; then
8195 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-snglinst" >&5
8196 echo $ECHO_N "checking for --${enablestring:-enable}-snglinst... $ECHO_C" >&6; }
8197 # Check whether --enable-snglinst was given.
8198 if test "${enable_snglinst+set}" = set; then
8199 enableval=$enable_snglinst;
8200 if test "$enableval" = yes; then
8201 wx_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=yes'
8203 wx_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=no'
8209 LINE=`grep "^wxUSE_SNGLINST_CHECKER=" ${wx_arg_cache_file}`
8210 if test "x$LINE" != x ; then
8211 eval "DEFAULT_$LINE"
8217 wx_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=${'DEFAULT_wxUSE_SNGLINST_CHECKER":-$defaultval}"
8222 eval "$wx_cv_use_snglinst"
8223 if test "x$cache" = xyes; then
8224 echo "wxUSE_SNGLINST_CHECKER=$wxUSE_SNGLINST_CHECKER" >> ${wx_arg_cache_file}.tmp
8227 if test x"$enablestring" = xdisable; then
8228 if test $wxUSE_SNGLINST_CHECKER = yes; then
8234 result=$wxUSE_SNGLINST_CHECKER
8237 { echo "$as_me:$LINENO: result: $result" >&5
8238 echo "${ECHO_T}$result" >&6; }
8242 defaultval=$wxUSE_ALL_FEATURES
8243 if test -z "$defaultval"; then
8244 if test x"$enablestring" = xdisable; then
8251 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stdpaths" >&5
8252 echo $ECHO_N "checking for --${enablestring:-enable}-stdpaths... $ECHO_C" >&6; }
8253 # Check whether --enable-stdpaths was given.
8254 if test "${enable_stdpaths+set}" = set; then
8255 enableval=$enable_stdpaths;
8256 if test "$enableval" = yes; then
8257 wx_cv_use_stdpaths='wxUSE_STDPATHS=yes'
8259 wx_cv_use_stdpaths='wxUSE_STDPATHS=no'
8265 LINE=`grep "^wxUSE_STDPATHS=" ${wx_arg_cache_file}`
8266 if test "x$LINE" != x ; then
8267 eval "DEFAULT_$LINE"
8273 wx_cv_use_stdpaths='wxUSE_STDPATHS=${'DEFAULT_wxUSE_STDPATHS":-$defaultval}"
8278 eval "$wx_cv_use_stdpaths"
8279 if test "x$cache" = xyes; then
8280 echo "wxUSE_STDPATHS=$wxUSE_STDPATHS" >> ${wx_arg_cache_file}.tmp
8283 if test x"$enablestring" = xdisable; then
8284 if test $wxUSE_STDPATHS = yes; then
8290 result=$wxUSE_STDPATHS
8293 { echo "$as_me:$LINENO: result: $result" >&5
8294 echo "${ECHO_T}$result" >&6; }
8298 defaultval=$wxUSE_ALL_FEATURES
8299 if test -z "$defaultval"; then
8300 if test x"$enablestring" = xdisable; then
8307 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stopwatch" >&5
8308 echo $ECHO_N "checking for --${enablestring:-enable}-stopwatch... $ECHO_C" >&6; }
8309 # Check whether --enable-stopwatch was given.
8310 if test "${enable_stopwatch+set}" = set; then
8311 enableval=$enable_stopwatch;
8312 if test "$enableval" = yes; then
8313 wx_cv_use_stopwatch='wxUSE_STOPWATCH=yes'
8315 wx_cv_use_stopwatch='wxUSE_STOPWATCH=no'
8321 LINE=`grep "^wxUSE_STOPWATCH=" ${wx_arg_cache_file}`
8322 if test "x$LINE" != x ; then
8323 eval "DEFAULT_$LINE"
8329 wx_cv_use_stopwatch='wxUSE_STOPWATCH=${'DEFAULT_wxUSE_STOPWATCH":-$defaultval}"
8334 eval "$wx_cv_use_stopwatch"
8335 if test "x$cache" = xyes; then
8336 echo "wxUSE_STOPWATCH=$wxUSE_STOPWATCH" >> ${wx_arg_cache_file}.tmp
8339 if test x"$enablestring" = xdisable; then
8340 if test $wxUSE_STOPWATCH = yes; then
8346 result=$wxUSE_STOPWATCH
8349 { echo "$as_me:$LINENO: result: $result" >&5
8350 echo "${ECHO_T}$result" >&6; }
8354 defaultval=$wxUSE_ALL_FEATURES
8355 if test -z "$defaultval"; then
8356 if test x"$enablestring" = xdisable; then
8363 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-streams" >&5
8364 echo $ECHO_N "checking for --${enablestring:-enable}-streams... $ECHO_C" >&6; }
8365 # Check whether --enable-streams was given.
8366 if test "${enable_streams+set}" = set; then
8367 enableval=$enable_streams;
8368 if test "$enableval" = yes; then
8369 wx_cv_use_streams='wxUSE_STREAMS=yes'
8371 wx_cv_use_streams='wxUSE_STREAMS=no'
8377 LINE=`grep "^wxUSE_STREAMS=" ${wx_arg_cache_file}`
8378 if test "x$LINE" != x ; then
8379 eval "DEFAULT_$LINE"
8385 wx_cv_use_streams='wxUSE_STREAMS=${'DEFAULT_wxUSE_STREAMS":-$defaultval}"
8390 eval "$wx_cv_use_streams"
8391 if test "x$cache" = xyes; then
8392 echo "wxUSE_STREAMS=$wxUSE_STREAMS" >> ${wx_arg_cache_file}.tmp
8395 if test x"$enablestring" = xdisable; then
8396 if test $wxUSE_STREAMS = yes; then
8402 result=$wxUSE_STREAMS
8405 { echo "$as_me:$LINENO: result: $result" >&5
8406 echo "${ECHO_T}$result" >&6; }
8410 defaultval=$wxUSE_ALL_FEATURES
8411 if test -z "$defaultval"; then
8412 if test x"$enablestring" = xdisable; then
8419 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-system_options" >&5
8420 echo $ECHO_N "checking for --${enablestring:-enable}-system_options... $ECHO_C" >&6; }
8421 # Check whether --enable-system_options was given.
8422 if test "${enable_system_options+set}" = set; then
8423 enableval=$enable_system_options;
8424 if test "$enableval" = yes; then
8425 wx_cv_use_system_options='wxUSE_SYSTEM_OPTIONS=yes'
8427 wx_cv_use_system_options='wxUSE_SYSTEM_OPTIONS=no'
8433 LINE=`grep "^wxUSE_SYSTEM_OPTIONS=" ${wx_arg_cache_file}`
8434 if test "x$LINE" != x ; then
8435 eval "DEFAULT_$LINE"
8441 wx_cv_use_system_options='wxUSE_SYSTEM_OPTIONS=${'DEFAULT_wxUSE_SYSTEM_OPTIONS":-$defaultval}"
8446 eval "$wx_cv_use_system_options"
8447 if test "x$cache" = xyes; then
8448 echo "wxUSE_SYSTEM_OPTIONS=$wxUSE_SYSTEM_OPTIONS" >> ${wx_arg_cache_file}.tmp
8451 if test x"$enablestring" = xdisable; then
8452 if test $wxUSE_SYSTEM_OPTIONS = yes; then
8458 result=$wxUSE_SYSTEM_OPTIONS
8461 { echo "$as_me:$LINENO: result: $result" >&5
8462 echo "${ECHO_T}$result" >&6; }
8466 defaultval=$wxUSE_ALL_FEATURES
8467 if test -z "$defaultval"; then
8468 if test x"$enablestring" = xdisable; then
8475 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tarstream" >&5
8476 echo $ECHO_N "checking for --${enablestring:-enable}-tarstream... $ECHO_C" >&6; }
8477 # Check whether --enable-tarstream was given.
8478 if test "${enable_tarstream+set}" = set; then
8479 enableval=$enable_tarstream;
8480 if test "$enableval" = yes; then
8481 wx_cv_use_tarstream='wxUSE_TARSTREAM=yes'
8483 wx_cv_use_tarstream='wxUSE_TARSTREAM=no'
8489 LINE=`grep "^wxUSE_TARSTREAM=" ${wx_arg_cache_file}`
8490 if test "x$LINE" != x ; then
8491 eval "DEFAULT_$LINE"
8497 wx_cv_use_tarstream='wxUSE_TARSTREAM=${'DEFAULT_wxUSE_TARSTREAM":-$defaultval}"
8502 eval "$wx_cv_use_tarstream"
8503 if test "x$cache" = xyes; then
8504 echo "wxUSE_TARSTREAM=$wxUSE_TARSTREAM" >> ${wx_arg_cache_file}.tmp
8507 if test x"$enablestring" = xdisable; then
8508 if test $wxUSE_TARSTREAM = yes; then
8514 result=$wxUSE_TARSTREAM
8517 { echo "$as_me:$LINENO: result: $result" >&5
8518 echo "${ECHO_T}$result" >&6; }
8522 defaultval=$wxUSE_ALL_FEATURES
8523 if test -z "$defaultval"; then
8524 if test x"$enablestring" = xdisable; then
8531 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textbuf" >&5
8532 echo $ECHO_N "checking for --${enablestring:-enable}-textbuf... $ECHO_C" >&6; }
8533 # Check whether --enable-textbuf was given.
8534 if test "${enable_textbuf+set}" = set; then
8535 enableval=$enable_textbuf;
8536 if test "$enableval" = yes; then
8537 wx_cv_use_textbuf='wxUSE_TEXTBUFFER=yes'
8539 wx_cv_use_textbuf='wxUSE_TEXTBUFFER=no'
8545 LINE=`grep "^wxUSE_TEXTBUFFER=" ${wx_arg_cache_file}`
8546 if test "x$LINE" != x ; then
8547 eval "DEFAULT_$LINE"
8553 wx_cv_use_textbuf='wxUSE_TEXTBUFFER=${'DEFAULT_wxUSE_TEXTBUFFER":-$defaultval}"
8558 eval "$wx_cv_use_textbuf"
8559 if test "x$cache" = xyes; then
8560 echo "wxUSE_TEXTBUFFER=$wxUSE_TEXTBUFFER" >> ${wx_arg_cache_file}.tmp
8563 if test x"$enablestring" = xdisable; then
8564 if test $wxUSE_TEXTBUFFER = yes; then
8570 result=$wxUSE_TEXTBUFFER
8573 { echo "$as_me:$LINENO: result: $result" >&5
8574 echo "${ECHO_T}$result" >&6; }
8578 defaultval=$wxUSE_ALL_FEATURES
8579 if test -z "$defaultval"; then
8580 if test x"$enablestring" = xdisable; then
8587 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textfile" >&5
8588 echo $ECHO_N "checking for --${enablestring:-enable}-textfile... $ECHO_C" >&6; }
8589 # Check whether --enable-textfile was given.
8590 if test "${enable_textfile+set}" = set; then
8591 enableval=$enable_textfile;
8592 if test "$enableval" = yes; then
8593 wx_cv_use_textfile='wxUSE_TEXTFILE=yes'
8595 wx_cv_use_textfile='wxUSE_TEXTFILE=no'
8601 LINE=`grep "^wxUSE_TEXTFILE=" ${wx_arg_cache_file}`
8602 if test "x$LINE" != x ; then
8603 eval "DEFAULT_$LINE"
8609 wx_cv_use_textfile='wxUSE_TEXTFILE=${'DEFAULT_wxUSE_TEXTFILE":-$defaultval}"
8614 eval "$wx_cv_use_textfile"
8615 if test "x$cache" = xyes; then
8616 echo "wxUSE_TEXTFILE=$wxUSE_TEXTFILE" >> ${wx_arg_cache_file}.tmp
8619 if test x"$enablestring" = xdisable; then
8620 if test $wxUSE_TEXTFILE = yes; then
8626 result=$wxUSE_TEXTFILE
8629 { echo "$as_me:$LINENO: result: $result" >&5
8630 echo "${ECHO_T}$result" >&6; }
8634 defaultval=$wxUSE_ALL_FEATURES
8635 if test -z "$defaultval"; then
8636 if test x"$enablestring" = xdisable; then
8643 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-timer" >&5
8644 echo $ECHO_N "checking for --${enablestring:-enable}-timer... $ECHO_C" >&6; }
8645 # Check whether --enable-timer was given.
8646 if test "${enable_timer+set}" = set; then
8647 enableval=$enable_timer;
8648 if test "$enableval" = yes; then
8649 wx_cv_use_timer='wxUSE_TIMER=yes'
8651 wx_cv_use_timer='wxUSE_TIMER=no'
8657 LINE=`grep "^wxUSE_TIMER=" ${wx_arg_cache_file}`
8658 if test "x$LINE" != x ; then
8659 eval "DEFAULT_$LINE"
8665 wx_cv_use_timer='wxUSE_TIMER=${'DEFAULT_wxUSE_TIMER":-$defaultval}"
8670 eval "$wx_cv_use_timer"
8671 if test "x$cache" = xyes; then
8672 echo "wxUSE_TIMER=$wxUSE_TIMER" >> ${wx_arg_cache_file}.tmp
8675 if test x"$enablestring" = xdisable; then
8676 if test $wxUSE_TIMER = yes; then
8685 { echo "$as_me:$LINENO: result: $result" >&5
8686 echo "${ECHO_T}$result" >&6; }
8690 defaultval=$wxUSE_ALL_FEATURES
8691 if test -z "$defaultval"; then
8692 if test x"$enablestring" = xdisable; then
8699 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sound" >&5
8700 echo $ECHO_N "checking for --${enablestring:-enable}-sound... $ECHO_C" >&6; }
8701 # Check whether --enable-sound was given.
8702 if test "${enable_sound+set}" = set; then
8703 enableval=$enable_sound;
8704 if test "$enableval" = yes; then
8705 wx_cv_use_sound='wxUSE_SOUND=yes'
8707 wx_cv_use_sound='wxUSE_SOUND=no'
8713 LINE=`grep "^wxUSE_SOUND=" ${wx_arg_cache_file}`
8714 if test "x$LINE" != x ; then
8715 eval "DEFAULT_$LINE"
8721 wx_cv_use_sound='wxUSE_SOUND=${'DEFAULT_wxUSE_SOUND":-$defaultval}"
8726 eval "$wx_cv_use_sound"
8727 if test "x$cache" = xyes; then
8728 echo "wxUSE_SOUND=$wxUSE_SOUND" >> ${wx_arg_cache_file}.tmp
8731 if test x"$enablestring" = xdisable; then
8732 if test $wxUSE_SOUND = yes; then
8741 { echo "$as_me:$LINENO: result: $result" >&5
8742 echo "${ECHO_T}$result" >&6; }
8746 defaultval=$wxUSE_ALL_FEATURES
8747 if test -z "$defaultval"; then
8748 if test x"$enablestring" = xdisable; then
8755 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mediactrl" >&5
8756 echo $ECHO_N "checking for --${enablestring:-enable}-mediactrl... $ECHO_C" >&6; }
8757 # Check whether --enable-mediactrl was given.
8758 if test "${enable_mediactrl+set}" = set; then
8759 enableval=$enable_mediactrl;
8760 if test "$enableval" = yes; then
8761 wx_cv_use_mediactrl='wxUSE_MEDIACTRL=yes'
8763 wx_cv_use_mediactrl='wxUSE_MEDIACTRL=no'
8769 LINE=`grep "^wxUSE_MEDIACTRL=" ${wx_arg_cache_file}`
8770 if test "x$LINE" != x ; then
8771 eval "DEFAULT_$LINE"
8777 wx_cv_use_mediactrl='wxUSE_MEDIACTRL=${'DEFAULT_wxUSE_MEDIACTRL":-$defaultval}"
8782 eval "$wx_cv_use_mediactrl"
8783 if test "x$cache" = xyes; then
8784 echo "wxUSE_MEDIACTRL=$wxUSE_MEDIACTRL" >> ${wx_arg_cache_file}.tmp
8787 if test x"$enablestring" = xdisable; then
8788 if test $wxUSE_MEDIACTRL = yes; then
8794 result=$wxUSE_MEDIACTRL
8797 { echo "$as_me:$LINENO: result: $result" >&5
8798 echo "${ECHO_T}$result" >&6; }
8802 defaultval=$wxUSE_ALL_FEATURES
8803 if test -z "$defaultval"; then
8804 if test x"$enablestring" = xdisable; then
8811 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gstreamer8" >&5
8812 echo $ECHO_N "checking for --${enablestring:-enable}-gstreamer8... $ECHO_C" >&6; }
8813 # Check whether --enable-gstreamer8 was given.
8814 if test "${enable_gstreamer8+set}" = set; then
8815 enableval=$enable_gstreamer8;
8816 if test "$enableval" = yes; then
8817 wx_cv_use_gstreamer8='wxUSE_GSTREAMER8=yes'
8819 wx_cv_use_gstreamer8='wxUSE_GSTREAMER8=no'
8825 LINE=`grep "^wxUSE_GSTREAMER8=" ${wx_arg_cache_file}`
8826 if test "x$LINE" != x ; then
8827 eval "DEFAULT_$LINE"
8833 wx_cv_use_gstreamer8='wxUSE_GSTREAMER8=${'DEFAULT_wxUSE_GSTREAMER8":-$defaultval}"
8838 eval "$wx_cv_use_gstreamer8"
8839 if test "x$cache" = xyes; then
8840 echo "wxUSE_GSTREAMER8=$wxUSE_GSTREAMER8" >> ${wx_arg_cache_file}.tmp
8843 if test x"$enablestring" = xdisable; then
8844 if test $wxUSE_GSTREAMER8 = yes; then
8850 result=$wxUSE_GSTREAMER8
8853 { echo "$as_me:$LINENO: result: $result" >&5
8854 echo "${ECHO_T}$result" >&6; }
8858 defaultval=$wxUSE_ALL_FEATURES
8859 if test -z "$defaultval"; then
8860 if test x"$enablestring" = xdisable; then
8867 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-printfposparam" >&5
8868 echo $ECHO_N "checking for --${enablestring:-enable}-printfposparam... $ECHO_C" >&6; }
8869 # Check whether --enable-printfposparam was given.
8870 if test "${enable_printfposparam+set}" = set; then
8871 enableval=$enable_printfposparam;
8872 if test "$enableval" = yes; then
8873 wx_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS=yes'
8875 wx_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS=no'
8881 LINE=`grep "^wxUSE_PRINTF_POS_PARAMS=" ${wx_arg_cache_file}`
8882 if test "x$LINE" != x ; then
8883 eval "DEFAULT_$LINE"
8889 wx_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS=${'DEFAULT_wxUSE_PRINTF_POS_PARAMS":-$defaultval}"
8894 eval "$wx_cv_use_printfposparam"
8895 if test "x$cache" = xyes; then
8896 echo "wxUSE_PRINTF_POS_PARAMS=$wxUSE_PRINTF_POS_PARAMS" >> ${wx_arg_cache_file}.tmp
8899 if test x"$enablestring" = xdisable; then
8900 if test $wxUSE_PRINTF_POS_PARAMS = yes; then
8906 result=$wxUSE_PRINTF_POS_PARAMS
8909 { echo "$as_me:$LINENO: result: $result" >&5
8910 echo "${ECHO_T}$result" >&6; }
8914 defaultval=$wxUSE_ALL_FEATURES
8915 if test -z "$defaultval"; then
8916 if test x"$enablestring" = xdisable; then
8923 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-zipstream" >&5
8924 echo $ECHO_N "checking for --${enablestring:-enable}-zipstream... $ECHO_C" >&6; }
8925 # Check whether --enable-zipstream was given.
8926 if test "${enable_zipstream+set}" = set; then
8927 enableval=$enable_zipstream;
8928 if test "$enableval" = yes; then
8929 wx_cv_use_zipstream='wxUSE_ZIPSTREAM=yes'
8931 wx_cv_use_zipstream='wxUSE_ZIPSTREAM=no'
8937 LINE=`grep "^wxUSE_ZIPSTREAM=" ${wx_arg_cache_file}`
8938 if test "x$LINE" != x ; then
8939 eval "DEFAULT_$LINE"
8945 wx_cv_use_zipstream='wxUSE_ZIPSTREAM=${'DEFAULT_wxUSE_ZIPSTREAM":-$defaultval}"
8950 eval "$wx_cv_use_zipstream"
8951 if test "x$cache" = xyes; then
8952 echo "wxUSE_ZIPSTREAM=$wxUSE_ZIPSTREAM" >> ${wx_arg_cache_file}.tmp
8955 if test x"$enablestring" = xdisable; then
8956 if test $wxUSE_ZIPSTREAM = yes; then
8962 result=$wxUSE_ZIPSTREAM
8965 { echo "$as_me:$LINENO: result: $result" >&5
8966 echo "${ECHO_T}$result" >&6; }
8971 defaultval=$wxUSE_ALL_FEATURES
8972 if test -z "$defaultval"; then
8973 if test x"$enablestring" = xdisable; then
8980 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-url" >&5
8981 echo $ECHO_N "checking for --${enablestring:-enable}-url... $ECHO_C" >&6; }
8982 # Check whether --enable-url was given.
8983 if test "${enable_url+set}" = set; then
8984 enableval=$enable_url;
8985 if test "$enableval" = yes; then
8986 wx_cv_use_url='wxUSE_URL=yes'
8988 wx_cv_use_url='wxUSE_URL=no'
8994 LINE=`grep "^wxUSE_URL=" ${wx_arg_cache_file}`
8995 if test "x$LINE" != x ; then
8996 eval "DEFAULT_$LINE"
9002 wx_cv_use_url='wxUSE_URL=${'DEFAULT_wxUSE_URL":-$defaultval}"
9007 eval "$wx_cv_use_url"
9008 if test "x$cache" = xyes; then
9009 echo "wxUSE_URL=$wxUSE_URL" >> ${wx_arg_cache_file}.tmp
9012 if test x"$enablestring" = xdisable; then
9013 if test $wxUSE_URL = yes; then
9022 { echo "$as_me:$LINENO: result: $result" >&5
9023 echo "${ECHO_T}$result" >&6; }
9027 defaultval=$wxUSE_ALL_FEATURES
9028 if test -z "$defaultval"; then
9029 if test x"$enablestring" = xdisable; then
9036 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-variant" >&5
9037 echo $ECHO_N "checking for --${enablestring:-enable}-variant... $ECHO_C" >&6; }
9038 # Check whether --enable-variant was given.
9039 if test "${enable_variant+set}" = set; then
9040 enableval=$enable_variant;
9041 if test "$enableval" = yes; then
9042 wx_cv_use_variant='wxUSE_VARIANT=yes'
9044 wx_cv_use_variant='wxUSE_VARIANT=no'
9050 LINE=`grep "^wxUSE_VARIANT=" ${wx_arg_cache_file}`
9051 if test "x$LINE" != x ; then
9052 eval "DEFAULT_$LINE"
9058 wx_cv_use_variant='wxUSE_VARIANT=${'DEFAULT_wxUSE_VARIANT":-$defaultval}"
9063 eval "$wx_cv_use_variant"
9064 if test "x$cache" = xyes; then
9065 echo "wxUSE_VARIANT=$wxUSE_VARIANT" >> ${wx_arg_cache_file}.tmp
9068 if test x"$enablestring" = xdisable; then
9069 if test $wxUSE_VARIANT = yes; then
9075 result=$wxUSE_VARIANT
9078 { echo "$as_me:$LINENO: result: $result" >&5
9079 echo "${ECHO_T}$result" >&6; }
9083 defaultval=$wxUSE_ALL_FEATURES
9084 if test -z "$defaultval"; then
9085 if test x"$enablestring" = xdisable; then
9092 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol" >&5
9093 echo $ECHO_N "checking for --${enablestring:-enable}-protocol... $ECHO_C" >&6; }
9094 # Check whether --enable-protocol was given.
9095 if test "${enable_protocol+set}" = set; then
9096 enableval=$enable_protocol;
9097 if test "$enableval" = yes; then
9098 wx_cv_use_protocol='wxUSE_PROTOCOL=yes'
9100 wx_cv_use_protocol='wxUSE_PROTOCOL=no'
9106 LINE=`grep "^wxUSE_PROTOCOL=" ${wx_arg_cache_file}`
9107 if test "x$LINE" != x ; then
9108 eval "DEFAULT_$LINE"
9114 wx_cv_use_protocol='wxUSE_PROTOCOL=${'DEFAULT_wxUSE_PROTOCOL":-$defaultval}"
9119 eval "$wx_cv_use_protocol"
9120 if test "x$cache" = xyes; then
9121 echo "wxUSE_PROTOCOL=$wxUSE_PROTOCOL" >> ${wx_arg_cache_file}.tmp
9124 if test x"$enablestring" = xdisable; then
9125 if test $wxUSE_PROTOCOL = yes; then
9131 result=$wxUSE_PROTOCOL
9134 { echo "$as_me:$LINENO: result: $result" >&5
9135 echo "${ECHO_T}$result" >&6; }
9139 defaultval=$wxUSE_ALL_FEATURES
9140 if test -z "$defaultval"; then
9141 if test x"$enablestring" = xdisable; then
9148 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_http" >&5
9149 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_http... $ECHO_C" >&6; }
9150 # Check whether --enable-protocol_http was given.
9151 if test "${enable_protocol_http+set}" = set; then
9152 enableval=$enable_protocol_http;
9153 if test "$enableval" = yes; then
9154 wx_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP=yes'
9156 wx_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP=no'
9162 LINE=`grep "^wxUSE_PROTOCOL_HTTP=" ${wx_arg_cache_file}`
9163 if test "x$LINE" != x ; then
9164 eval "DEFAULT_$LINE"
9170 wx_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP=${'DEFAULT_wxUSE_PROTOCOL_HTTP":-$defaultval}"
9175 eval "$wx_cv_use_protocol_http"
9176 if test "x$cache" = xyes; then
9177 echo "wxUSE_PROTOCOL_HTTP=$wxUSE_PROTOCOL_HTTP" >> ${wx_arg_cache_file}.tmp
9180 if test x"$enablestring" = xdisable; then
9181 if test $wxUSE_PROTOCOL_HTTP = yes; then
9187 result=$wxUSE_PROTOCOL_HTTP
9190 { echo "$as_me:$LINENO: result: $result" >&5
9191 echo "${ECHO_T}$result" >&6; }
9195 defaultval=$wxUSE_ALL_FEATURES
9196 if test -z "$defaultval"; then
9197 if test x"$enablestring" = xdisable; then
9204 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_ftp" >&5
9205 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_ftp... $ECHO_C" >&6; }
9206 # Check whether --enable-protocol_ftp was given.
9207 if test "${enable_protocol_ftp+set}" = set; then
9208 enableval=$enable_protocol_ftp;
9209 if test "$enableval" = yes; then
9210 wx_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=yes'
9212 wx_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=no'
9218 LINE=`grep "^wxUSE_PROTOCOL_FTP=" ${wx_arg_cache_file}`
9219 if test "x$LINE" != x ; then
9220 eval "DEFAULT_$LINE"
9226 wx_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=${'DEFAULT_wxUSE_PROTOCOL_FTP":-$defaultval}"
9231 eval "$wx_cv_use_protocol_ftp"
9232 if test "x$cache" = xyes; then
9233 echo "wxUSE_PROTOCOL_FTP=$wxUSE_PROTOCOL_FTP" >> ${wx_arg_cache_file}.tmp
9236 if test x"$enablestring" = xdisable; then
9237 if test $wxUSE_PROTOCOL_FTP = yes; then
9243 result=$wxUSE_PROTOCOL_FTP
9246 { echo "$as_me:$LINENO: result: $result" >&5
9247 echo "${ECHO_T}$result" >&6; }
9251 defaultval=$wxUSE_ALL_FEATURES
9252 if test -z "$defaultval"; then
9253 if test x"$enablestring" = xdisable; then
9260 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_file" >&5
9261 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_file... $ECHO_C" >&6; }
9262 # Check whether --enable-protocol_file was given.
9263 if test "${enable_protocol_file+set}" = set; then
9264 enableval=$enable_protocol_file;
9265 if test "$enableval" = yes; then
9266 wx_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=yes'
9268 wx_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=no'
9274 LINE=`grep "^wxUSE_PROTOCOL_FILE=" ${wx_arg_cache_file}`
9275 if test "x$LINE" != x ; then
9276 eval "DEFAULT_$LINE"
9282 wx_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=${'DEFAULT_wxUSE_PROTOCOL_FILE":-$defaultval}"
9287 eval "$wx_cv_use_protocol_file"
9288 if test "x$cache" = xyes; then
9289 echo "wxUSE_PROTOCOL_FILE=$wxUSE_PROTOCOL_FILE" >> ${wx_arg_cache_file}.tmp
9292 if test x"$enablestring" = xdisable; then
9293 if test $wxUSE_PROTOCOL_FILE = yes; then
9299 result=$wxUSE_PROTOCOL_FILE
9302 { echo "$as_me:$LINENO: result: $result" >&5
9303 echo "${ECHO_T}$result" >&6; }
9308 defaultval=$wxUSE_ALL_FEATURES
9309 if test -z "$defaultval"; then
9310 if test x"$enablestring" = xdisable; then
9317 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-threads" >&5
9318 echo $ECHO_N "checking for --${enablestring:-enable}-threads... $ECHO_C" >&6; }
9319 # Check whether --enable-threads was given.
9320 if test "${enable_threads+set}" = set; then
9321 enableval=$enable_threads;
9322 if test "$enableval" = yes; then
9323 wx_cv_use_threads='wxUSE_THREADS=yes'
9325 wx_cv_use_threads='wxUSE_THREADS=no'
9331 LINE=`grep "^wxUSE_THREADS=" ${wx_arg_cache_file}`
9332 if test "x$LINE" != x ; then
9333 eval "DEFAULT_$LINE"
9339 wx_cv_use_threads='wxUSE_THREADS=${'DEFAULT_wxUSE_THREADS":-$defaultval}"
9344 eval "$wx_cv_use_threads"
9345 if test "x$cache" = xyes; then
9346 echo "wxUSE_THREADS=$wxUSE_THREADS" >> ${wx_arg_cache_file}.tmp
9349 if test x"$enablestring" = xdisable; then
9350 if test $wxUSE_THREADS = yes; then
9356 result=$wxUSE_THREADS
9359 { echo "$as_me:$LINENO: result: $result" >&5
9360 echo "${ECHO_T}$result" >&6; }
9363 if test "$wxUSE_GUI" = "yes"; then
9368 defaultval=$wxUSE_ALL_FEATURES
9369 if test -z "$defaultval"; then
9370 if test x"$enablestring" = xdisable; then
9377 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-docview" >&5
9378 echo $ECHO_N "checking for --${enablestring:-enable}-docview... $ECHO_C" >&6; }
9379 # Check whether --enable-docview was given.
9380 if test "${enable_docview+set}" = set; then
9381 enableval=$enable_docview;
9382 if test "$enableval" = yes; then
9383 wx_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=yes'
9385 wx_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=no'
9391 LINE=`grep "^wxUSE_DOC_VIEW_ARCHITECTURE=" ${wx_arg_cache_file}`
9392 if test "x$LINE" != x ; then
9393 eval "DEFAULT_$LINE"
9399 wx_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=${'DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE":-$defaultval}"
9404 eval "$wx_cv_use_docview"
9405 if test "x$cache" = xyes; then
9406 echo "wxUSE_DOC_VIEW_ARCHITECTURE=$wxUSE_DOC_VIEW_ARCHITECTURE" >> ${wx_arg_cache_file}.tmp
9409 if test x"$enablestring" = xdisable; then
9410 if test $wxUSE_DOC_VIEW_ARCHITECTURE = yes; then
9416 result=$wxUSE_DOC_VIEW_ARCHITECTURE
9419 { echo "$as_me:$LINENO: result: $result" >&5
9420 echo "${ECHO_T}$result" >&6; }
9424 defaultval=$wxUSE_ALL_FEATURES
9425 if test -z "$defaultval"; then
9426 if test x"$enablestring" = xdisable; then
9433 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-help" >&5
9434 echo $ECHO_N "checking for --${enablestring:-enable}-help... $ECHO_C" >&6; }
9435 # Check whether --enable-help was given.
9436 if test "${enable_help+set}" = set; then
9437 enableval=$enable_help;
9438 if test "$enableval" = yes; then
9439 wx_cv_use_help='wxUSE_HELP=yes'
9441 wx_cv_use_help='wxUSE_HELP=no'
9447 LINE=`grep "^wxUSE_HELP=" ${wx_arg_cache_file}`
9448 if test "x$LINE" != x ; then
9449 eval "DEFAULT_$LINE"
9455 wx_cv_use_help='wxUSE_HELP=${'DEFAULT_wxUSE_HELP":-$defaultval}"
9460 eval "$wx_cv_use_help"
9461 if test "x$cache" = xyes; then
9462 echo "wxUSE_HELP=$wxUSE_HELP" >> ${wx_arg_cache_file}.tmp
9465 if test x"$enablestring" = xdisable; then
9466 if test $wxUSE_HELP = yes; then
9475 { echo "$as_me:$LINENO: result: $result" >&5
9476 echo "${ECHO_T}$result" >&6; }
9480 defaultval=$wxUSE_ALL_FEATURES
9481 if test -z "$defaultval"; then
9482 if test x"$enablestring" = xdisable; then
9489 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mshtmlhelp" >&5
9490 echo $ECHO_N "checking for --${enablestring:-enable}-mshtmlhelp... $ECHO_C" >&6; }
9491 # Check whether --enable-mshtmlhelp was given.
9492 if test "${enable_mshtmlhelp+set}" = set; then
9493 enableval=$enable_mshtmlhelp;
9494 if test "$enableval" = yes; then
9495 wx_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=yes'
9497 wx_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=no'
9503 LINE=`grep "^wxUSE_MS_HTML_HELP=" ${wx_arg_cache_file}`
9504 if test "x$LINE" != x ; then
9505 eval "DEFAULT_$LINE"
9511 wx_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=${'DEFAULT_wxUSE_MS_HTML_HELP":-$defaultval}"
9516 eval "$wx_cv_use_mshtmlhelp"
9517 if test "x$cache" = xyes; then
9518 echo "wxUSE_MS_HTML_HELP=$wxUSE_MS_HTML_HELP" >> ${wx_arg_cache_file}.tmp
9521 if test x"$enablestring" = xdisable; then
9522 if test $wxUSE_MS_HTML_HELP = yes; then
9528 result=$wxUSE_MS_HTML_HELP
9531 { echo "$as_me:$LINENO: result: $result" >&5
9532 echo "${ECHO_T}$result" >&6; }
9536 defaultval=$wxUSE_ALL_FEATURES
9537 if test -z "$defaultval"; then
9538 if test x"$enablestring" = xdisable; then
9545 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-html" >&5
9546 echo $ECHO_N "checking for --${enablestring:-enable}-html... $ECHO_C" >&6; }
9547 # Check whether --enable-html was given.
9548 if test "${enable_html+set}" = set; then
9549 enableval=$enable_html;
9550 if test "$enableval" = yes; then
9551 wx_cv_use_html='wxUSE_HTML=yes'
9553 wx_cv_use_html='wxUSE_HTML=no'
9559 LINE=`grep "^wxUSE_HTML=" ${wx_arg_cache_file}`
9560 if test "x$LINE" != x ; then
9561 eval "DEFAULT_$LINE"
9567 wx_cv_use_html='wxUSE_HTML=${'DEFAULT_wxUSE_HTML":-$defaultval}"
9572 eval "$wx_cv_use_html"
9573 if test "x$cache" = xyes; then
9574 echo "wxUSE_HTML=$wxUSE_HTML" >> ${wx_arg_cache_file}.tmp
9577 if test x"$enablestring" = xdisable; then
9578 if test $wxUSE_HTML = yes; then
9587 { echo "$as_me:$LINENO: result: $result" >&5
9588 echo "${ECHO_T}$result" >&6; }
9592 defaultval=$wxUSE_ALL_FEATURES
9593 if test -z "$defaultval"; then
9594 if test x"$enablestring" = xdisable; then
9601 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-htmlhelp" >&5
9602 echo $ECHO_N "checking for --${enablestring:-enable}-htmlhelp... $ECHO_C" >&6; }
9603 # Check whether --enable-htmlhelp was given.
9604 if test "${enable_htmlhelp+set}" = set; then
9605 enableval=$enable_htmlhelp;
9606 if test "$enableval" = yes; then
9607 wx_cv_use_htmlhelp='wxUSE_WXHTML_HELP=yes'
9609 wx_cv_use_htmlhelp='wxUSE_WXHTML_HELP=no'
9615 LINE=`grep "^wxUSE_WXHTML_HELP=" ${wx_arg_cache_file}`
9616 if test "x$LINE" != x ; then
9617 eval "DEFAULT_$LINE"
9623 wx_cv_use_htmlhelp='wxUSE_WXHTML_HELP=${'DEFAULT_wxUSE_WXHTML_HELP":-$defaultval}"
9628 eval "$wx_cv_use_htmlhelp"
9629 if test "x$cache" = xyes; then
9630 echo "wxUSE_WXHTML_HELP=$wxUSE_WXHTML_HELP" >> ${wx_arg_cache_file}.tmp
9633 if test x"$enablestring" = xdisable; then
9634 if test $wxUSE_WXHTML_HELP = yes; then
9640 result=$wxUSE_WXHTML_HELP
9643 { echo "$as_me:$LINENO: result: $result" >&5
9644 echo "${ECHO_T}$result" >&6; }
9648 defaultval=$wxUSE_ALL_FEATURES
9649 if test -z "$defaultval"; then
9650 if test x"$enablestring" = xdisable; then
9657 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xrc" >&5
9658 echo $ECHO_N "checking for --${enablestring:-enable}-xrc... $ECHO_C" >&6; }
9659 # Check whether --enable-xrc was given.
9660 if test "${enable_xrc+set}" = set; then
9661 enableval=$enable_xrc;
9662 if test "$enableval" = yes; then
9663 wx_cv_use_xrc='wxUSE_XRC=yes'
9665 wx_cv_use_xrc='wxUSE_XRC=no'
9671 LINE=`grep "^wxUSE_XRC=" ${wx_arg_cache_file}`
9672 if test "x$LINE" != x ; then
9673 eval "DEFAULT_$LINE"
9679 wx_cv_use_xrc='wxUSE_XRC=${'DEFAULT_wxUSE_XRC":-$defaultval}"
9684 eval "$wx_cv_use_xrc"
9685 if test "x$cache" = xyes; then
9686 echo "wxUSE_XRC=$wxUSE_XRC" >> ${wx_arg_cache_file}.tmp
9689 if test x"$enablestring" = xdisable; then
9690 if test $wxUSE_XRC = yes; then
9699 { echo "$as_me:$LINENO: result: $result" >&5
9700 echo "${ECHO_T}$result" >&6; }
9704 defaultval=$wxUSE_ALL_FEATURES
9705 if test -z "$defaultval"; then
9706 if test x"$enablestring" = xdisable; then
9713 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-aui" >&5
9714 echo $ECHO_N "checking for --${enablestring:-enable}-aui... $ECHO_C" >&6; }
9715 # Check whether --enable-aui was given.
9716 if test "${enable_aui+set}" = set; then
9717 enableval=$enable_aui;
9718 if test "$enableval" = yes; then
9719 wx_cv_use_aui='wxUSE_AUI=yes'
9721 wx_cv_use_aui='wxUSE_AUI=no'
9727 LINE=`grep "^wxUSE_AUI=" ${wx_arg_cache_file}`
9728 if test "x$LINE" != x ; then
9729 eval "DEFAULT_$LINE"
9735 wx_cv_use_aui='wxUSE_AUI=${'DEFAULT_wxUSE_AUI":-$defaultval}"
9740 eval "$wx_cv_use_aui"
9741 if test "x$cache" = xyes; then
9742 echo "wxUSE_AUI=$wxUSE_AUI" >> ${wx_arg_cache_file}.tmp
9745 if test x"$enablestring" = xdisable; then
9746 if test $wxUSE_AUI = yes; then
9755 { echo "$as_me:$LINENO: result: $result" >&5
9756 echo "${ECHO_T}$result" >&6; }
9760 defaultval=$wxUSE_ALL_FEATURES
9761 if test -z "$defaultval"; then
9762 if test x"$enablestring" = xdisable; then
9769 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stc" >&5
9770 echo $ECHO_N "checking for --${enablestring:-enable}-stc... $ECHO_C" >&6; }
9771 # Check whether --enable-stc was given.
9772 if test "${enable_stc+set}" = set; then
9773 enableval=$enable_stc;
9774 if test "$enableval" = yes; then
9775 wx_cv_use_stc='wxUSE_STC=yes'
9777 wx_cv_use_stc='wxUSE_STC=no'
9783 LINE=`grep "^wxUSE_STC=" ${wx_arg_cache_file}`
9784 if test "x$LINE" != x ; then
9785 eval "DEFAULT_$LINE"
9791 wx_cv_use_stc='wxUSE_STC=${'DEFAULT_wxUSE_STC":-$defaultval}"
9796 eval "$wx_cv_use_stc"
9797 if test "x$cache" = xyes; then
9798 echo "wxUSE_STC=$wxUSE_STC" >> ${wx_arg_cache_file}.tmp
9801 if test x"$enablestring" = xdisable; then
9802 if test $wxUSE_STC = yes; then
9811 { echo "$as_me:$LINENO: result: $result" >&5
9812 echo "${ECHO_T}$result" >&6; }
9816 defaultval=$wxUSE_ALL_FEATURES
9817 if test -z "$defaultval"; then
9818 if test x"$enablestring" = xdisable; then
9825 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-constraints" >&5
9826 echo $ECHO_N "checking for --${enablestring:-enable}-constraints... $ECHO_C" >&6; }
9827 # Check whether --enable-constraints was given.
9828 if test "${enable_constraints+set}" = set; then
9829 enableval=$enable_constraints;
9830 if test "$enableval" = yes; then
9831 wx_cv_use_constraints='wxUSE_CONSTRAINTS=yes'
9833 wx_cv_use_constraints='wxUSE_CONSTRAINTS=no'
9839 LINE=`grep "^wxUSE_CONSTRAINTS=" ${wx_arg_cache_file}`
9840 if test "x$LINE" != x ; then
9841 eval "DEFAULT_$LINE"
9847 wx_cv_use_constraints='wxUSE_CONSTRAINTS=${'DEFAULT_wxUSE_CONSTRAINTS":-$defaultval}"
9852 eval "$wx_cv_use_constraints"
9853 if test "x$cache" = xyes; then
9854 echo "wxUSE_CONSTRAINTS=$wxUSE_CONSTRAINTS" >> ${wx_arg_cache_file}.tmp
9857 if test x"$enablestring" = xdisable; then
9858 if test $wxUSE_CONSTRAINTS = yes; then
9864 result=$wxUSE_CONSTRAINTS
9867 { echo "$as_me:$LINENO: result: $result" >&5
9868 echo "${ECHO_T}$result" >&6; }
9872 defaultval=$wxUSE_ALL_FEATURES
9873 if test -z "$defaultval"; then
9874 if test x"$enablestring" = xdisable; then
9881 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-printarch" >&5
9882 echo $ECHO_N "checking for --${enablestring:-enable}-printarch... $ECHO_C" >&6; }
9883 # Check whether --enable-printarch was given.
9884 if test "${enable_printarch+set}" = set; then
9885 enableval=$enable_printarch;
9886 if test "$enableval" = yes; then
9887 wx_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=yes'
9889 wx_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=no'
9895 LINE=`grep "^wxUSE_PRINTING_ARCHITECTURE=" ${wx_arg_cache_file}`
9896 if test "x$LINE" != x ; then
9897 eval "DEFAULT_$LINE"
9903 wx_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=${'DEFAULT_wxUSE_PRINTING_ARCHITECTURE":-$defaultval}"
9908 eval "$wx_cv_use_printarch"
9909 if test "x$cache" = xyes; then
9910 echo "wxUSE_PRINTING_ARCHITECTURE=$wxUSE_PRINTING_ARCHITECTURE" >> ${wx_arg_cache_file}.tmp
9913 if test x"$enablestring" = xdisable; then
9914 if test $wxUSE_PRINTING_ARCHITECTURE = yes; then
9920 result=$wxUSE_PRINTING_ARCHITECTURE
9923 { echo "$as_me:$LINENO: result: $result" >&5
9924 echo "${ECHO_T}$result" >&6; }
9928 defaultval=$wxUSE_ALL_FEATURES
9929 if test -z "$defaultval"; then
9930 if test x"$enablestring" = xdisable; then
9937 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mdi" >&5
9938 echo $ECHO_N "checking for --${enablestring:-enable}-mdi... $ECHO_C" >&6; }
9939 # Check whether --enable-mdi was given.
9940 if test "${enable_mdi+set}" = set; then
9941 enableval=$enable_mdi;
9942 if test "$enableval" = yes; then
9943 wx_cv_use_mdi='wxUSE_MDI=yes'
9945 wx_cv_use_mdi='wxUSE_MDI=no'
9951 LINE=`grep "^wxUSE_MDI=" ${wx_arg_cache_file}`
9952 if test "x$LINE" != x ; then
9953 eval "DEFAULT_$LINE"
9959 wx_cv_use_mdi='wxUSE_MDI=${'DEFAULT_wxUSE_MDI":-$defaultval}"
9964 eval "$wx_cv_use_mdi"
9965 if test "x$cache" = xyes; then
9966 echo "wxUSE_MDI=$wxUSE_MDI" >> ${wx_arg_cache_file}.tmp
9969 if test x"$enablestring" = xdisable; then
9970 if test $wxUSE_MDI = yes; then
9979 { echo "$as_me:$LINENO: result: $result" >&5
9980 echo "${ECHO_T}$result" >&6; }
9984 defaultval=$wxUSE_ALL_FEATURES
9985 if test -z "$defaultval"; then
9986 if test x"$enablestring" = xdisable; then
9993 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mdidoc" >&5
9994 echo $ECHO_N "checking for --${enablestring:-enable}-mdidoc... $ECHO_C" >&6; }
9995 # Check whether --enable-mdidoc was given.
9996 if test "${enable_mdidoc+set}" = set; then
9997 enableval=$enable_mdidoc;
9998 if test "$enableval" = yes; then
9999 wx_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE=yes'
10001 wx_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE=no'
10007 LINE=`grep "^wxUSE_MDI_ARCHITECTURE=" ${wx_arg_cache_file}`
10008 if test "x$LINE" != x ; then
10009 eval "DEFAULT_$LINE"
10015 wx_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE=${'DEFAULT_wxUSE_MDI_ARCHITECTURE":-$defaultval}"
10020 eval "$wx_cv_use_mdidoc"
10021 if test "x$cache" = xyes; then
10022 echo "wxUSE_MDI_ARCHITECTURE=$wxUSE_MDI_ARCHITECTURE" >> ${wx_arg_cache_file}.tmp
10025 if test x"$enablestring" = xdisable; then
10026 if test $wxUSE_MDI_ARCHITECTURE = yes; then
10032 result=$wxUSE_MDI_ARCHITECTURE
10035 { echo "$as_me:$LINENO: result: $result" >&5
10036 echo "${ECHO_T}$result" >&6; }
10040 defaultval=$wxUSE_ALL_FEATURES
10041 if test -z "$defaultval"; then
10042 if test x"$enablestring" = xdisable; then
10049 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-loggui" >&5
10050 echo $ECHO_N "checking for --${enablestring:-enable}-loggui... $ECHO_C" >&6; }
10051 # Check whether --enable-loggui was given.
10052 if test "${enable_loggui+set}" = set; then
10053 enableval=$enable_loggui;
10054 if test "$enableval" = yes; then
10055 wx_cv_use_loggui='wxUSE_LOGGUI=yes'
10057 wx_cv_use_loggui='wxUSE_LOGGUI=no'
10063 LINE=`grep "^wxUSE_LOGGUI=" ${wx_arg_cache_file}`
10064 if test "x$LINE" != x ; then
10065 eval "DEFAULT_$LINE"
10071 wx_cv_use_loggui='wxUSE_LOGGUI=${'DEFAULT_wxUSE_LOGGUI":-$defaultval}"
10076 eval "$wx_cv_use_loggui"
10077 if test "x$cache" = xyes; then
10078 echo "wxUSE_LOGGUI=$wxUSE_LOGGUI" >> ${wx_arg_cache_file}.tmp
10081 if test x"$enablestring" = xdisable; then
10082 if test $wxUSE_LOGGUI = yes; then
10088 result=$wxUSE_LOGGUI
10091 { echo "$as_me:$LINENO: result: $result" >&5
10092 echo "${ECHO_T}$result" >&6; }
10096 defaultval=$wxUSE_ALL_FEATURES
10097 if test -z "$defaultval"; then
10098 if test x"$enablestring" = xdisable; then
10105 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logwin" >&5
10106 echo $ECHO_N "checking for --${enablestring:-enable}-logwin... $ECHO_C" >&6; }
10107 # Check whether --enable-logwin was given.
10108 if test "${enable_logwin+set}" = set; then
10109 enableval=$enable_logwin;
10110 if test "$enableval" = yes; then
10111 wx_cv_use_logwin='wxUSE_LOGWINDOW=yes'
10113 wx_cv_use_logwin='wxUSE_LOGWINDOW=no'
10119 LINE=`grep "^wxUSE_LOGWINDOW=" ${wx_arg_cache_file}`
10120 if test "x$LINE" != x ; then
10121 eval "DEFAULT_$LINE"
10127 wx_cv_use_logwin='wxUSE_LOGWINDOW=${'DEFAULT_wxUSE_LOGWINDOW":-$defaultval}"
10132 eval "$wx_cv_use_logwin"
10133 if test "x$cache" = xyes; then
10134 echo "wxUSE_LOGWINDOW=$wxUSE_LOGWINDOW" >> ${wx_arg_cache_file}.tmp
10137 if test x"$enablestring" = xdisable; then
10138 if test $wxUSE_LOGWINDOW = yes; then
10144 result=$wxUSE_LOGWINDOW
10147 { echo "$as_me:$LINENO: result: $result" >&5
10148 echo "${ECHO_T}$result" >&6; }
10152 defaultval=$wxUSE_ALL_FEATURES
10153 if test -z "$defaultval"; then
10154 if test x"$enablestring" = xdisable; then
10161 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logdialog" >&5
10162 echo $ECHO_N "checking for --${enablestring:-enable}-logdialog... $ECHO_C" >&6; }
10163 # Check whether --enable-logdialog was given.
10164 if test "${enable_logdialog+set}" = set; then
10165 enableval=$enable_logdialog;
10166 if test "$enableval" = yes; then
10167 wx_cv_use_logdialog='wxUSE_LOGDIALOG=yes'
10169 wx_cv_use_logdialog='wxUSE_LOGDIALOG=no'
10175 LINE=`grep "^wxUSE_LOGDIALOG=" ${wx_arg_cache_file}`
10176 if test "x$LINE" != x ; then
10177 eval "DEFAULT_$LINE"
10183 wx_cv_use_logdialog='wxUSE_LOGDIALOG=${'DEFAULT_wxUSE_LOGDIALOG":-$defaultval}"
10188 eval "$wx_cv_use_logdialog"
10189 if test "x$cache" = xyes; then
10190 echo "wxUSE_LOGDIALOG=$wxUSE_LOGDIALOG" >> ${wx_arg_cache_file}.tmp
10193 if test x"$enablestring" = xdisable; then
10194 if test $wxUSE_LOGDIALOG = yes; then
10200 result=$wxUSE_LOGDIALOG
10203 { echo "$as_me:$LINENO: result: $result" >&5
10204 echo "${ECHO_T}$result" >&6; }
10208 defaultval=$wxUSE_ALL_FEATURES
10209 if test -z "$defaultval"; then
10210 if test x"$enablestring" = xdisable; then
10217 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-webkit" >&5
10218 echo $ECHO_N "checking for --${enablestring:-enable}-webkit... $ECHO_C" >&6; }
10219 # Check whether --enable-webkit was given.
10220 if test "${enable_webkit+set}" = set; then
10221 enableval=$enable_webkit;
10222 if test "$enableval" = yes; then
10223 wx_cv_use_webkit='wxUSE_WEBKIT=yes'
10225 wx_cv_use_webkit='wxUSE_WEBKIT=no'
10231 LINE=`grep "^wxUSE_WEBKIT=" ${wx_arg_cache_file}`
10232 if test "x$LINE" != x ; then
10233 eval "DEFAULT_$LINE"
10239 wx_cv_use_webkit='wxUSE_WEBKIT=${'DEFAULT_wxUSE_WEBKIT":-$defaultval}"
10244 eval "$wx_cv_use_webkit"
10245 if test "x$cache" = xyes; then
10246 echo "wxUSE_WEBKIT=$wxUSE_WEBKIT" >> ${wx_arg_cache_file}.tmp
10249 if test x"$enablestring" = xdisable; then
10250 if test $wxUSE_WEBKIT = yes; then
10256 result=$wxUSE_WEBKIT
10259 { echo "$as_me:$LINENO: result: $result" >&5
10260 echo "${ECHO_T}$result" >&6; }
10264 defaultval=$wxUSE_ALL_FEATURES
10265 if test -z "$defaultval"; then
10266 if test x"$enablestring" = xdisable; then
10273 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-richtext" >&5
10274 echo $ECHO_N "checking for --${enablestring:-enable}-richtext... $ECHO_C" >&6; }
10275 # Check whether --enable-richtext was given.
10276 if test "${enable_richtext+set}" = set; then
10277 enableval=$enable_richtext;
10278 if test "$enableval" = yes; then
10279 wx_cv_use_richtext='wxUSE_RICHTEXT=yes'
10281 wx_cv_use_richtext='wxUSE_RICHTEXT=no'
10287 LINE=`grep "^wxUSE_RICHTEXT=" ${wx_arg_cache_file}`
10288 if test "x$LINE" != x ; then
10289 eval "DEFAULT_$LINE"
10295 wx_cv_use_richtext='wxUSE_RICHTEXT=${'DEFAULT_wxUSE_RICHTEXT":-$defaultval}"
10300 eval "$wx_cv_use_richtext"
10301 if test "x$cache" = xyes; then
10302 echo "wxUSE_RICHTEXT=$wxUSE_RICHTEXT" >> ${wx_arg_cache_file}.tmp
10305 if test x"$enablestring" = xdisable; then
10306 if test $wxUSE_RICHTEXT = yes; then
10312 result=$wxUSE_RICHTEXT
10315 { echo "$as_me:$LINENO: result: $result" >&5
10316 echo "${ECHO_T}$result" >&6; }
10320 defaultval=$wxUSE_ALL_FEATURES
10321 if test -z "$defaultval"; then
10322 if test x"$enablestring" = xdisable; then
10329 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-graphics_ctx" >&5
10330 echo $ECHO_N "checking for --${enablestring:-enable}-graphics_ctx... $ECHO_C" >&6; }
10331 # Check whether --enable-graphics_ctx was given.
10332 if test "${enable_graphics_ctx+set}" = set; then
10333 enableval=$enable_graphics_ctx;
10334 if test "$enableval" = yes; then
10335 wx_cv_use_graphics_ctx='wxUSE_GRAPHICS_CONTEXT=yes'
10337 wx_cv_use_graphics_ctx='wxUSE_GRAPHICS_CONTEXT=no'
10343 LINE=`grep "^wxUSE_GRAPHICS_CONTEXT=" ${wx_arg_cache_file}`
10344 if test "x$LINE" != x ; then
10345 eval "DEFAULT_$LINE"
10351 wx_cv_use_graphics_ctx='wxUSE_GRAPHICS_CONTEXT=${'DEFAULT_wxUSE_GRAPHICS_CONTEXT":-$defaultval}"
10356 eval "$wx_cv_use_graphics_ctx"
10357 if test "x$cache" = xyes; then
10358 echo "wxUSE_GRAPHICS_CONTEXT=$wxUSE_GRAPHICS_CONTEXT" >> ${wx_arg_cache_file}.tmp
10361 if test x"$enablestring" = xdisable; then
10362 if test $wxUSE_GRAPHICS_CONTEXT = yes; then
10368 result=$wxUSE_GRAPHICS_CONTEXT
10371 { echo "$as_me:$LINENO: result: $result" >&5
10372 echo "${ECHO_T}$result" >&6; }
10376 defaultval=$wxUSE_ALL_FEATURES
10377 if test -z "$defaultval"; then
10378 if test x"$enablestring" = xdisable; then
10385 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-postscript" >&5
10386 echo $ECHO_N "checking for --${enablestring:-enable}-postscript... $ECHO_C" >&6; }
10387 # Check whether --enable-postscript was given.
10388 if test "${enable_postscript+set}" = set; then
10389 enableval=$enable_postscript;
10390 if test "$enableval" = yes; then
10391 wx_cv_use_postscript='wxUSE_POSTSCRIPT=yes'
10393 wx_cv_use_postscript='wxUSE_POSTSCRIPT=no'
10399 LINE=`grep "^wxUSE_POSTSCRIPT=" ${wx_arg_cache_file}`
10400 if test "x$LINE" != x ; then
10401 eval "DEFAULT_$LINE"
10407 wx_cv_use_postscript='wxUSE_POSTSCRIPT=${'DEFAULT_wxUSE_POSTSCRIPT":-$defaultval}"
10412 eval "$wx_cv_use_postscript"
10413 if test "x$cache" = xyes; then
10414 echo "wxUSE_POSTSCRIPT=$wxUSE_POSTSCRIPT" >> ${wx_arg_cache_file}.tmp
10417 if test x"$enablestring" = xdisable; then
10418 if test $wxUSE_POSTSCRIPT = yes; then
10424 result=$wxUSE_POSTSCRIPT
10427 { echo "$as_me:$LINENO: result: $result" >&5
10428 echo "${ECHO_T}$result" >&6; }
10432 defaultval=$wxUSE_ALL_FEATURES
10433 if test -z "$defaultval"; then
10434 if test x"$enablestring" = xdisable; then
10441 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-svg" >&5
10442 echo $ECHO_N "checking for --${enablestring:-enable}-svg... $ECHO_C" >&6; }
10443 # Check whether --enable-svg was given.
10444 if test "${enable_svg+set}" = set; then
10445 enableval=$enable_svg;
10446 if test "$enableval" = yes; then
10447 wx_cv_use_svg='wxUSE_SVG=yes'
10449 wx_cv_use_svg='wxUSE_SVG=no'
10455 LINE=`grep "^wxUSE_SVG=" ${wx_arg_cache_file}`
10456 if test "x$LINE" != x ; then
10457 eval "DEFAULT_$LINE"
10463 wx_cv_use_svg='wxUSE_SVG=${'DEFAULT_wxUSE_SVG":-$defaultval}"
10468 eval "$wx_cv_use_svg"
10469 if test "x$cache" = xyes; then
10470 echo "wxUSE_SVG=$wxUSE_SVG" >> ${wx_arg_cache_file}.tmp
10473 if test x"$enablestring" = xdisable; then
10474 if test $wxUSE_SVG = yes; then
10483 { echo "$as_me:$LINENO: result: $result" >&5
10484 echo "${ECHO_T}$result" >&6; }
10490 defaultval=$wxUSE_ALL_FEATURES
10491 if test -z "$defaultval"; then
10492 if test x"$enablestring" = xdisable; then
10499 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-clipboard" >&5
10500 echo $ECHO_N "checking for --${enablestring:-enable}-clipboard... $ECHO_C" >&6; }
10501 # Check whether --enable-clipboard was given.
10502 if test "${enable_clipboard+set}" = set; then
10503 enableval=$enable_clipboard;
10504 if test "$enableval" = yes; then
10505 wx_cv_use_clipboard='wxUSE_CLIPBOARD=yes'
10507 wx_cv_use_clipboard='wxUSE_CLIPBOARD=no'
10513 LINE=`grep "^wxUSE_CLIPBOARD=" ${wx_arg_cache_file}`
10514 if test "x$LINE" != x ; then
10515 eval "DEFAULT_$LINE"
10521 wx_cv_use_clipboard='wxUSE_CLIPBOARD=${'DEFAULT_wxUSE_CLIPBOARD":-$defaultval}"
10526 eval "$wx_cv_use_clipboard"
10527 if test "x$cache" = xyes; then
10528 echo "wxUSE_CLIPBOARD=$wxUSE_CLIPBOARD" >> ${wx_arg_cache_file}.tmp
10531 if test x"$enablestring" = xdisable; then
10532 if test $wxUSE_CLIPBOARD = yes; then
10538 result=$wxUSE_CLIPBOARD
10541 { echo "$as_me:$LINENO: result: $result" >&5
10542 echo "${ECHO_T}$result" >&6; }
10546 defaultval=$wxUSE_ALL_FEATURES
10547 if test -z "$defaultval"; then
10548 if test x"$enablestring" = xdisable; then
10555 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dnd" >&5
10556 echo $ECHO_N "checking for --${enablestring:-enable}-dnd... $ECHO_C" >&6; }
10557 # Check whether --enable-dnd was given.
10558 if test "${enable_dnd+set}" = set; then
10559 enableval=$enable_dnd;
10560 if test "$enableval" = yes; then
10561 wx_cv_use_dnd='wxUSE_DRAG_AND_DROP=yes'
10563 wx_cv_use_dnd='wxUSE_DRAG_AND_DROP=no'
10569 LINE=`grep "^wxUSE_DRAG_AND_DROP=" ${wx_arg_cache_file}`
10570 if test "x$LINE" != x ; then
10571 eval "DEFAULT_$LINE"
10577 wx_cv_use_dnd='wxUSE_DRAG_AND_DROP=${'DEFAULT_wxUSE_DRAG_AND_DROP":-$defaultval}"
10582 eval "$wx_cv_use_dnd"
10583 if test "x$cache" = xyes; then
10584 echo "wxUSE_DRAG_AND_DROP=$wxUSE_DRAG_AND_DROP" >> ${wx_arg_cache_file}.tmp
10587 if test x"$enablestring" = xdisable; then
10588 if test $wxUSE_DRAG_AND_DROP = yes; then
10594 result=$wxUSE_DRAG_AND_DROP
10597 { echo "$as_me:$LINENO: result: $result" >&5
10598 echo "${ECHO_T}$result" >&6; }
10602 defaultval=$wxUSE_ALL_FEATURES
10603 if test -z "$defaultval"; then
10604 if test x"$enablestring" = xdisable; then
10611 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
10612 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6; }
10613 # Check whether --enable-metafile was given.
10614 if test "${enable_metafile+set}" = set; then
10615 enableval=$enable_metafile;
10616 if test "$enableval" = yes; then
10617 wx_cv_use_metafile='wxUSE_METAFILE=yes'
10619 wx_cv_use_metafile='wxUSE_METAFILE=no'
10625 LINE=`grep "^wxUSE_METAFILE=" ${wx_arg_cache_file}`
10626 if test "x$LINE" != x ; then
10627 eval "DEFAULT_$LINE"
10633 wx_cv_use_metafile='wxUSE_METAFILE=${'DEFAULT_wxUSE_METAFILE":-$defaultval}"
10638 eval "$wx_cv_use_metafile"
10639 if test "x$cache" = xyes; then
10640 echo "wxUSE_METAFILE=$wxUSE_METAFILE" >> ${wx_arg_cache_file}.tmp
10643 if test x"$enablestring" = xdisable; then
10644 if test $wxUSE_METAFILE = yes; then
10650 result=$wxUSE_METAFILE
10653 { echo "$as_me:$LINENO: result: $result" >&5
10654 echo "${ECHO_T}$result" >&6; }
10658 DEFAULT_wxUSE_CONTROLS=none
10660 enablestring=disable
10662 if test -z "$defaultval"; then
10663 if test x"$enablestring" = xdisable; then
10670 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-controls" >&5
10671 echo $ECHO_N "checking for --${enablestring:-enable}-controls... $ECHO_C" >&6; }
10672 # Check whether --enable-controls was given.
10673 if test "${enable_controls+set}" = set; then
10674 enableval=$enable_controls;
10675 if test "$enableval" = yes; then
10676 wx_cv_use_controls='wxUSE_CONTROLS=yes'
10678 wx_cv_use_controls='wxUSE_CONTROLS=no'
10684 LINE=`grep "^wxUSE_CONTROLS=" ${wx_arg_cache_file}`
10685 if test "x$LINE" != x ; then
10686 eval "DEFAULT_$LINE"
10692 wx_cv_use_controls='wxUSE_CONTROLS=${'DEFAULT_wxUSE_CONTROLS":-$defaultval}"
10697 eval "$wx_cv_use_controls"
10698 if test "x$cache" = xyes; then
10699 echo "wxUSE_CONTROLS=$wxUSE_CONTROLS" >> ${wx_arg_cache_file}.tmp
10702 if test x"$enablestring" = xdisable; then
10703 if test $wxUSE_CONTROLS = yes; then
10709 result=$wxUSE_CONTROLS
10712 { echo "$as_me:$LINENO: result: $result" >&5
10713 echo "${ECHO_T}$result" >&6; }
10716 if test "$wxUSE_CONTROLS" = "yes"; then
10717 DEFAULT_wxUSE_ACCEL=yes
10718 DEFAULT_wxUSE_ANIMATIONCTRL=yes
10719 DEFAULT_wxUSE_BMPBUTTON=yes
10720 DEFAULT_wxUSE_BUTTON=yes
10721 DEFAULT_wxUSE_CALCTRL=yes
10722 DEFAULT_wxUSE_CARET=yes
10723 DEFAULT_wxUSE_COMBOBOX=yes
10724 DEFAULT_wxUSE_CHECKBOX=yes
10725 DEFAULT_wxUSE_CHECKLISTBOX=yes
10726 DEFAULT_wxUSE_CHOICE=yes
10727 DEFAULT_wxUSE_CHOICEBOOK=yes
10728 DEFAULT_wxUSE_COLLPANE=yes
10729 DEFAULT_wxUSE_COLOURPICKERCTRL=yes
10730 DEFAULT_wxUSE_COMBOBOX=yes
10731 DEFAULT_wxUSE_DATEPICKCTRL=yes
10732 DEFAULT_wxUSE_DISPLAY=yes
10733 DEFAULT_wxUSE_DETECT_SM=yes
10734 DEFAULT_wxUSE_DIRPICKERCTRL=yes
10735 DEFAULT_wxUSE_FILEPICKERCTRL=yes
10736 DEFAULT_wxUSE_FONTPICKERCTRL=yes
10737 DEFAULT_wxUSE_GAUGE=yes
10738 DEFAULT_wxUSE_GRID=yes
10739 DEFAULT_wxUSE_HYPERLINKCTRL=yes
10740 DEFAULT_wxUSE_DATAVIEWCTRL=no
10741 DEFAULT_wxUSE_IMAGLIST=yes
10742 DEFAULT_wxUSE_LISTBOOK=yes
10743 DEFAULT_wxUSE_LISTBOX=yes
10744 DEFAULT_wxUSE_LISTCTRL=yes
10745 DEFAULT_wxUSE_NOTEBOOK=yes
10746 DEFAULT_wxUSE_RADIOBOX=yes
10747 DEFAULT_wxUSE_RADIOBTN=yes
10748 DEFAULT_wxUSE_SASH=yes
10749 DEFAULT_wxUSE_SCROLLBAR=yes
10750 DEFAULT_wxUSE_SEARCHCTRL=yes
10751 DEFAULT_wxUSE_SLIDER=yes
10752 DEFAULT_wxUSE_SPINBTN=yes
10753 DEFAULT_wxUSE_SPINCTRL=yes
10754 DEFAULT_wxUSE_SPLITTER=yes
10755 DEFAULT_wxUSE_STATBMP=yes
10756 DEFAULT_wxUSE_STATBOX=yes
10757 DEFAULT_wxUSE_STATLINE=yes
10758 DEFAULT_wxUSE_STATUSBAR=yes
10759 DEFAULT_wxUSE_TAB_DIALOG=yes
10760 DEFAULT_wxUSE_TOGGLEBTN=yes
10761 DEFAULT_wxUSE_TOOLBAR=yes
10762 DEFAULT_wxUSE_TOOLBAR_NATIVE=yes
10763 DEFAULT_wxUSE_TOOLTIPS=yes
10764 DEFAULT_wxUSE_TREEBOOK=yes
10765 DEFAULT_wxUSE_TOOLBOOK=yes
10766 DEFAULT_wxUSE_TREECTRL=yes
10767 DEFAULT_wxUSE_POPUPWIN=yes
10768 DEFAULT_wxUSE_TIPWINDOW=yes
10769 elif test "$wxUSE_CONTROLS" = "no"; then
10770 DEFAULT_wxUSE_ACCEL=no
10771 DEFAULT_wxUSE_ANIMATIONCTRL=no
10772 DEFAULT_wxUSE_BMPBUTTON=no
10773 DEFAULT_wxUSE_BUTTON=no
10774 DEFAULT_wxUSE_CALCTRL=no
10775 DEFAULT_wxUSE_CARET=no
10776 DEFAULT_wxUSE_COLLPANE=no
10777 DEFAULT_wxUSE_COMBOBOX=no
10778 DEFAULT_wxUSE_CHECKBOX=no
10779 DEFAULT_wxUSE_CHECKLISTBOX=no
10780 DEFAULT_wxUSE_CHOICE=no
10781 DEFAULT_wxUSE_CHOICEBOOK=no
10782 DEFAULT_wxUSE_COLOURPICKERCTRL=no
10783 DEFAULT_wxUSE_COMBOBOX=no
10784 DEFAULT_wxUSE_DATEPICKCTRL=no
10785 DEFAULT_wxUSE_DISPLAY=no
10786 DEFAULT_wxUSE_DETECT_SM=no
10787 DEFAULT_wxUSE_DIRPICKERCTRL=no
10788 DEFAULT_wxUSE_FILEPICKERCTRL=no
10789 DEFAULT_wxUSE_FONTPICKERCTRL=no
10790 DEFAULT_wxUSE_GAUGE=no
10791 DEFAULT_wxUSE_GRID=no
10792 DEFAULT_wxUSE_HYPERLINKCTRL=no
10793 DEFAULT_wxUSE_DATAVIEWCTRL=no
10794 DEFAULT_wxUSE_IMAGLIST=no
10795 DEFAULT_wxUSE_LISTBOOK=no
10796 DEFAULT_wxUSE_LISTBOX=no
10797 DEFAULT_wxUSE_LISTCTRL=no
10798 DEFAULT_wxUSE_NOTEBOOK=no
10799 DEFAULT_wxUSE_RADIOBOX=no
10800 DEFAULT_wxUSE_RADIOBTN=no
10801 DEFAULT_wxUSE_SASH=no
10802 DEFAULT_wxUSE_SCROLLBAR=no
10803 DEFAULT_wxUSE_SEARCHCTRL=no
10804 DEFAULT_wxUSE_SLIDER=no
10805 DEFAULT_wxUSE_SPINBTN=no
10806 DEFAULT_wxUSE_SPINCTRL=no
10807 DEFAULT_wxUSE_SPLITTER=no
10808 DEFAULT_wxUSE_STATBMP=no
10809 DEFAULT_wxUSE_STATBOX=no
10810 DEFAULT_wxUSE_STATLINE=no
10811 DEFAULT_wxUSE_STATUSBAR=no
10812 DEFAULT_wxUSE_TAB_DIALOG=no
10813 DEFAULT_wxUSE_TOGGLEBTN=no
10814 DEFAULT_wxUSE_TOOLBAR=no
10815 DEFAULT_wxUSE_TOOLBAR_NATIVE=no
10816 DEFAULT_wxUSE_TOOLTIPS=no
10817 DEFAULT_wxUSE_TREEBOOK=no
10818 DEFAULT_wxUSE_TOOLBOOK=no
10819 DEFAULT_wxUSE_TREECTRL=no
10820 DEFAULT_wxUSE_POPUPWIN=no
10821 DEFAULT_wxUSE_TIPWINDOW=no
10826 defaultval=$wxUSE_ALL_FEATURES
10827 if test -z "$defaultval"; then
10828 if test x"$enablestring" = xdisable; then
10835 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accel" >&5
10836 echo $ECHO_N "checking for --${enablestring:-enable}-accel... $ECHO_C" >&6; }
10837 # Check whether --enable-accel was given.
10838 if test "${enable_accel+set}" = set; then
10839 enableval=$enable_accel;
10840 if test "$enableval" = yes; then
10841 wx_cv_use_accel='wxUSE_ACCEL=yes'
10843 wx_cv_use_accel='wxUSE_ACCEL=no'
10849 LINE=`grep "^wxUSE_ACCEL=" ${wx_arg_cache_file}`
10850 if test "x$LINE" != x ; then
10851 eval "DEFAULT_$LINE"
10857 wx_cv_use_accel='wxUSE_ACCEL=${'DEFAULT_wxUSE_ACCEL":-$defaultval}"
10862 eval "$wx_cv_use_accel"
10863 if test "x$cache" = xyes; then
10864 echo "wxUSE_ACCEL=$wxUSE_ACCEL" >> ${wx_arg_cache_file}.tmp
10867 if test x"$enablestring" = xdisable; then
10868 if test $wxUSE_ACCEL = yes; then
10874 result=$wxUSE_ACCEL
10877 { echo "$as_me:$LINENO: result: $result" >&5
10878 echo "${ECHO_T}$result" >&6; }
10882 defaultval=$wxUSE_ALL_FEATURES
10883 if test -z "$defaultval"; then
10884 if test x"$enablestring" = xdisable; then
10891 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-animatectrl" >&5
10892 echo $ECHO_N "checking for --${enablestring:-enable}-animatectrl... $ECHO_C" >&6; }
10893 # Check whether --enable-animatectrl was given.
10894 if test "${enable_animatectrl+set}" = set; then
10895 enableval=$enable_animatectrl;
10896 if test "$enableval" = yes; then
10897 wx_cv_use_animatectrl='wxUSE_ANIMATIONCTRL=yes'
10899 wx_cv_use_animatectrl='wxUSE_ANIMATIONCTRL=no'
10905 LINE=`grep "^wxUSE_ANIMATIONCTRL=" ${wx_arg_cache_file}`
10906 if test "x$LINE" != x ; then
10907 eval "DEFAULT_$LINE"
10913 wx_cv_use_animatectrl='wxUSE_ANIMATIONCTRL=${'DEFAULT_wxUSE_ANIMATIONCTRL":-$defaultval}"
10918 eval "$wx_cv_use_animatectrl"
10919 if test "x$cache" = xyes; then
10920 echo "wxUSE_ANIMATIONCTRL=$wxUSE_ANIMATIONCTRL" >> ${wx_arg_cache_file}.tmp
10923 if test x"$enablestring" = xdisable; then
10924 if test $wxUSE_ANIMATIONCTRL = yes; then
10930 result=$wxUSE_ANIMATIONCTRL
10933 { echo "$as_me:$LINENO: result: $result" >&5
10934 echo "${ECHO_T}$result" >&6; }
10938 defaultval=$wxUSE_ALL_FEATURES
10939 if test -z "$defaultval"; then
10940 if test x"$enablestring" = xdisable; then
10947 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-button" >&5
10948 echo $ECHO_N "checking for --${enablestring:-enable}-button... $ECHO_C" >&6; }
10949 # Check whether --enable-button was given.
10950 if test "${enable_button+set}" = set; then
10951 enableval=$enable_button;
10952 if test "$enableval" = yes; then
10953 wx_cv_use_button='wxUSE_BUTTON=yes'
10955 wx_cv_use_button='wxUSE_BUTTON=no'
10961 LINE=`grep "^wxUSE_BUTTON=" ${wx_arg_cache_file}`
10962 if test "x$LINE" != x ; then
10963 eval "DEFAULT_$LINE"
10969 wx_cv_use_button='wxUSE_BUTTON=${'DEFAULT_wxUSE_BUTTON":-$defaultval}"
10974 eval "$wx_cv_use_button"
10975 if test "x$cache" = xyes; then
10976 echo "wxUSE_BUTTON=$wxUSE_BUTTON" >> ${wx_arg_cache_file}.tmp
10979 if test x"$enablestring" = xdisable; then
10980 if test $wxUSE_BUTTON = yes; then
10986 result=$wxUSE_BUTTON
10989 { echo "$as_me:$LINENO: result: $result" >&5
10990 echo "${ECHO_T}$result" >&6; }
10994 defaultval=$wxUSE_ALL_FEATURES
10995 if test -z "$defaultval"; then
10996 if test x"$enablestring" = xdisable; then
11003 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-bmpbutton" >&5
11004 echo $ECHO_N "checking for --${enablestring:-enable}-bmpbutton... $ECHO_C" >&6; }
11005 # Check whether --enable-bmpbutton was given.
11006 if test "${enable_bmpbutton+set}" = set; then
11007 enableval=$enable_bmpbutton;
11008 if test "$enableval" = yes; then
11009 wx_cv_use_bmpbutton='wxUSE_BMPBUTTON=yes'
11011 wx_cv_use_bmpbutton='wxUSE_BMPBUTTON=no'
11017 LINE=`grep "^wxUSE_BMPBUTTON=" ${wx_arg_cache_file}`
11018 if test "x$LINE" != x ; then
11019 eval "DEFAULT_$LINE"
11025 wx_cv_use_bmpbutton='wxUSE_BMPBUTTON=${'DEFAULT_wxUSE_BMPBUTTON":-$defaultval}"
11030 eval "$wx_cv_use_bmpbutton"
11031 if test "x$cache" = xyes; then
11032 echo "wxUSE_BMPBUTTON=$wxUSE_BMPBUTTON" >> ${wx_arg_cache_file}.tmp
11035 if test x"$enablestring" = xdisable; then
11036 if test $wxUSE_BMPBUTTON = yes; then
11042 result=$wxUSE_BMPBUTTON
11045 { echo "$as_me:$LINENO: result: $result" >&5
11046 echo "${ECHO_T}$result" >&6; }
11050 defaultval=$wxUSE_ALL_FEATURES
11051 if test -z "$defaultval"; then
11052 if test x"$enablestring" = xdisable; then
11059 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-bmpcombobox" >&5
11060 echo $ECHO_N "checking for --${enablestring:-enable}-bmpcombobox... $ECHO_C" >&6; }
11061 # Check whether --enable-bmpcombobox was given.
11062 if test "${enable_bmpcombobox+set}" = set; then
11063 enableval=$enable_bmpcombobox;
11064 if test "$enableval" = yes; then
11065 wx_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX=yes'
11067 wx_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX=no'
11073 LINE=`grep "^wxUSE_BITMAPCOMBOBOX=" ${wx_arg_cache_file}`
11074 if test "x$LINE" != x ; then
11075 eval "DEFAULT_$LINE"
11081 wx_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX=${'DEFAULT_wxUSE_BITMAPCOMBOBOX":-$defaultval}"
11086 eval "$wx_cv_use_bmpcombobox"
11087 if test "x$cache" = xyes; then
11088 echo "wxUSE_BITMAPCOMBOBOX=$wxUSE_BITMAPCOMBOBOX" >> ${wx_arg_cache_file}.tmp
11091 if test x"$enablestring" = xdisable; then
11092 if test $wxUSE_BITMAPCOMBOBOX = yes; then
11098 result=$wxUSE_BITMAPCOMBOBOX
11101 { echo "$as_me:$LINENO: result: $result" >&5
11102 echo "${ECHO_T}$result" >&6; }
11106 defaultval=$wxUSE_ALL_FEATURES
11107 if test -z "$defaultval"; then
11108 if test x"$enablestring" = xdisable; then
11115 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-calendar" >&5
11116 echo $ECHO_N "checking for --${enablestring:-enable}-calendar... $ECHO_C" >&6; }
11117 # Check whether --enable-calendar was given.
11118 if test "${enable_calendar+set}" = set; then
11119 enableval=$enable_calendar;
11120 if test "$enableval" = yes; then
11121 wx_cv_use_calendar='wxUSE_CALCTRL=yes'
11123 wx_cv_use_calendar='wxUSE_CALCTRL=no'
11129 LINE=`grep "^wxUSE_CALCTRL=" ${wx_arg_cache_file}`
11130 if test "x$LINE" != x ; then
11131 eval "DEFAULT_$LINE"
11137 wx_cv_use_calendar='wxUSE_CALCTRL=${'DEFAULT_wxUSE_CALCTRL":-$defaultval}"
11142 eval "$wx_cv_use_calendar"
11143 if test "x$cache" = xyes; then
11144 echo "wxUSE_CALCTRL=$wxUSE_CALCTRL" >> ${wx_arg_cache_file}.tmp
11147 if test x"$enablestring" = xdisable; then
11148 if test $wxUSE_CALCTRL = yes; then
11154 result=$wxUSE_CALCTRL
11157 { echo "$as_me:$LINENO: result: $result" >&5
11158 echo "${ECHO_T}$result" >&6; }
11162 defaultval=$wxUSE_ALL_FEATURES
11163 if test -z "$defaultval"; then
11164 if test x"$enablestring" = xdisable; then
11171 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-caret" >&5
11172 echo $ECHO_N "checking for --${enablestring:-enable}-caret... $ECHO_C" >&6; }
11173 # Check whether --enable-caret was given.
11174 if test "${enable_caret+set}" = set; then
11175 enableval=$enable_caret;
11176 if test "$enableval" = yes; then
11177 wx_cv_use_caret='wxUSE_CARET=yes'
11179 wx_cv_use_caret='wxUSE_CARET=no'
11185 LINE=`grep "^wxUSE_CARET=" ${wx_arg_cache_file}`
11186 if test "x$LINE" != x ; then
11187 eval "DEFAULT_$LINE"
11193 wx_cv_use_caret='wxUSE_CARET=${'DEFAULT_wxUSE_CARET":-$defaultval}"
11198 eval "$wx_cv_use_caret"
11199 if test "x$cache" = xyes; then
11200 echo "wxUSE_CARET=$wxUSE_CARET" >> ${wx_arg_cache_file}.tmp
11203 if test x"$enablestring" = xdisable; then
11204 if test $wxUSE_CARET = yes; then
11210 result=$wxUSE_CARET
11213 { echo "$as_me:$LINENO: result: $result" >&5
11214 echo "${ECHO_T}$result" >&6; }
11218 defaultval=$wxUSE_ALL_FEATURES
11219 if test -z "$defaultval"; then
11220 if test x"$enablestring" = xdisable; then
11227 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checkbox" >&5
11228 echo $ECHO_N "checking for --${enablestring:-enable}-checkbox... $ECHO_C" >&6; }
11229 # Check whether --enable-checkbox was given.
11230 if test "${enable_checkbox+set}" = set; then
11231 enableval=$enable_checkbox;
11232 if test "$enableval" = yes; then
11233 wx_cv_use_checkbox='wxUSE_CHECKBOX=yes'
11235 wx_cv_use_checkbox='wxUSE_CHECKBOX=no'
11241 LINE=`grep "^wxUSE_CHECKBOX=" ${wx_arg_cache_file}`
11242 if test "x$LINE" != x ; then
11243 eval "DEFAULT_$LINE"
11249 wx_cv_use_checkbox='wxUSE_CHECKBOX=${'DEFAULT_wxUSE_CHECKBOX":-$defaultval}"
11254 eval "$wx_cv_use_checkbox"
11255 if test "x$cache" = xyes; then
11256 echo "wxUSE_CHECKBOX=$wxUSE_CHECKBOX" >> ${wx_arg_cache_file}.tmp
11259 if test x"$enablestring" = xdisable; then
11260 if test $wxUSE_CHECKBOX = yes; then
11266 result=$wxUSE_CHECKBOX
11269 { echo "$as_me:$LINENO: result: $result" >&5
11270 echo "${ECHO_T}$result" >&6; }
11274 defaultval=$wxUSE_ALL_FEATURES
11275 if test -z "$defaultval"; then
11276 if test x"$enablestring" = xdisable; then
11283 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checklst" >&5
11284 echo $ECHO_N "checking for --${enablestring:-enable}-checklst... $ECHO_C" >&6; }
11285 # Check whether --enable-checklst was given.
11286 if test "${enable_checklst+set}" = set; then
11287 enableval=$enable_checklst;
11288 if test "$enableval" = yes; then
11289 wx_cv_use_checklst='wxUSE_CHECKLST=yes'
11291 wx_cv_use_checklst='wxUSE_CHECKLST=no'
11297 LINE=`grep "^wxUSE_CHECKLST=" ${wx_arg_cache_file}`
11298 if test "x$LINE" != x ; then
11299 eval "DEFAULT_$LINE"
11305 wx_cv_use_checklst='wxUSE_CHECKLST=${'DEFAULT_wxUSE_CHECKLST":-$defaultval}"
11310 eval "$wx_cv_use_checklst"
11311 if test "x$cache" = xyes; then
11312 echo "wxUSE_CHECKLST=$wxUSE_CHECKLST" >> ${wx_arg_cache_file}.tmp
11315 if test x"$enablestring" = xdisable; then
11316 if test $wxUSE_CHECKLST = yes; then
11322 result=$wxUSE_CHECKLST
11325 { echo "$as_me:$LINENO: result: $result" >&5
11326 echo "${ECHO_T}$result" >&6; }
11330 defaultval=$wxUSE_ALL_FEATURES
11331 if test -z "$defaultval"; then
11332 if test x"$enablestring" = xdisable; then
11339 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choice" >&5
11340 echo $ECHO_N "checking for --${enablestring:-enable}-choice... $ECHO_C" >&6; }
11341 # Check whether --enable-choice was given.
11342 if test "${enable_choice+set}" = set; then
11343 enableval=$enable_choice;
11344 if test "$enableval" = yes; then
11345 wx_cv_use_choice='wxUSE_CHOICE=yes'
11347 wx_cv_use_choice='wxUSE_CHOICE=no'
11353 LINE=`grep "^wxUSE_CHOICE=" ${wx_arg_cache_file}`
11354 if test "x$LINE" != x ; then
11355 eval "DEFAULT_$LINE"
11361 wx_cv_use_choice='wxUSE_CHOICE=${'DEFAULT_wxUSE_CHOICE":-$defaultval}"
11366 eval "$wx_cv_use_choice"
11367 if test "x$cache" = xyes; then
11368 echo "wxUSE_CHOICE=$wxUSE_CHOICE" >> ${wx_arg_cache_file}.tmp
11371 if test x"$enablestring" = xdisable; then
11372 if test $wxUSE_CHOICE = yes; then
11378 result=$wxUSE_CHOICE
11381 { echo "$as_me:$LINENO: result: $result" >&5
11382 echo "${ECHO_T}$result" >&6; }
11386 defaultval=$wxUSE_ALL_FEATURES
11387 if test -z "$defaultval"; then
11388 if test x"$enablestring" = xdisable; then
11395 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choicebook" >&5
11396 echo $ECHO_N "checking for --${enablestring:-enable}-choicebook... $ECHO_C" >&6; }
11397 # Check whether --enable-choicebook was given.
11398 if test "${enable_choicebook+set}" = set; then
11399 enableval=$enable_choicebook;
11400 if test "$enableval" = yes; then
11401 wx_cv_use_choicebook='wxUSE_CHOICEBOOK=yes'
11403 wx_cv_use_choicebook='wxUSE_CHOICEBOOK=no'
11409 LINE=`grep "^wxUSE_CHOICEBOOK=" ${wx_arg_cache_file}`
11410 if test "x$LINE" != x ; then
11411 eval "DEFAULT_$LINE"
11417 wx_cv_use_choicebook='wxUSE_CHOICEBOOK=${'DEFAULT_wxUSE_CHOICEBOOK":-$defaultval}"
11422 eval "$wx_cv_use_choicebook"
11423 if test "x$cache" = xyes; then
11424 echo "wxUSE_CHOICEBOOK=$wxUSE_CHOICEBOOK" >> ${wx_arg_cache_file}.tmp
11427 if test x"$enablestring" = xdisable; then
11428 if test $wxUSE_CHOICEBOOK = yes; then
11434 result=$wxUSE_CHOICEBOOK
11437 { echo "$as_me:$LINENO: result: $result" >&5
11438 echo "${ECHO_T}$result" >&6; }
11442 defaultval=$wxUSE_ALL_FEATURES
11443 if test -z "$defaultval"; then
11444 if test x"$enablestring" = xdisable; then
11451 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-collpane" >&5
11452 echo $ECHO_N "checking for --${enablestring:-enable}-collpane... $ECHO_C" >&6; }
11453 # Check whether --enable-collpane was given.
11454 if test "${enable_collpane+set}" = set; then
11455 enableval=$enable_collpane;
11456 if test "$enableval" = yes; then
11457 wx_cv_use_collpane='wxUSE_COLLPANE=yes'
11459 wx_cv_use_collpane='wxUSE_COLLPANE=no'
11465 LINE=`grep "^wxUSE_COLLPANE=" ${wx_arg_cache_file}`
11466 if test "x$LINE" != x ; then
11467 eval "DEFAULT_$LINE"
11473 wx_cv_use_collpane='wxUSE_COLLPANE=${'DEFAULT_wxUSE_COLLPANE":-$defaultval}"
11478 eval "$wx_cv_use_collpane"
11479 if test "x$cache" = xyes; then
11480 echo "wxUSE_COLLPANE=$wxUSE_COLLPANE" >> ${wx_arg_cache_file}.tmp
11483 if test x"$enablestring" = xdisable; then
11484 if test $wxUSE_COLLPANE = yes; then
11490 result=$wxUSE_COLLPANE
11493 { echo "$as_me:$LINENO: result: $result" >&5
11494 echo "${ECHO_T}$result" >&6; }
11498 defaultval=$wxUSE_ALL_FEATURES
11499 if test -z "$defaultval"; then
11500 if test x"$enablestring" = xdisable; then
11507 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-colourpicker" >&5
11508 echo $ECHO_N "checking for --${enablestring:-enable}-colourpicker... $ECHO_C" >&6; }
11509 # Check whether --enable-colourpicker was given.
11510 if test "${enable_colourpicker+set}" = set; then
11511 enableval=$enable_colourpicker;
11512 if test "$enableval" = yes; then
11513 wx_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL=yes'
11515 wx_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL=no'
11521 LINE=`grep "^wxUSE_COLOURPICKERCTRL=" ${wx_arg_cache_file}`
11522 if test "x$LINE" != x ; then
11523 eval "DEFAULT_$LINE"
11529 wx_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL=${'DEFAULT_wxUSE_COLOURPICKERCTRL":-$defaultval}"
11534 eval "$wx_cv_use_colourpicker"
11535 if test "x$cache" = xyes; then
11536 echo "wxUSE_COLOURPICKERCTRL=$wxUSE_COLOURPICKERCTRL" >> ${wx_arg_cache_file}.tmp
11539 if test x"$enablestring" = xdisable; then
11540 if test $wxUSE_COLOURPICKERCTRL = yes; then
11546 result=$wxUSE_COLOURPICKERCTRL
11549 { echo "$as_me:$LINENO: result: $result" >&5
11550 echo "${ECHO_T}$result" >&6; }
11554 defaultval=$wxUSE_ALL_FEATURES
11555 if test -z "$defaultval"; then
11556 if test x"$enablestring" = xdisable; then
11563 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-combobox" >&5
11564 echo $ECHO_N "checking for --${enablestring:-enable}-combobox... $ECHO_C" >&6; }
11565 # Check whether --enable-combobox was given.
11566 if test "${enable_combobox+set}" = set; then
11567 enableval=$enable_combobox;
11568 if test "$enableval" = yes; then
11569 wx_cv_use_combobox='wxUSE_COMBOBOX=yes'
11571 wx_cv_use_combobox='wxUSE_COMBOBOX=no'
11577 LINE=`grep "^wxUSE_COMBOBOX=" ${wx_arg_cache_file}`
11578 if test "x$LINE" != x ; then
11579 eval "DEFAULT_$LINE"
11585 wx_cv_use_combobox='wxUSE_COMBOBOX=${'DEFAULT_wxUSE_COMBOBOX":-$defaultval}"
11590 eval "$wx_cv_use_combobox"
11591 if test "x$cache" = xyes; then
11592 echo "wxUSE_COMBOBOX=$wxUSE_COMBOBOX" >> ${wx_arg_cache_file}.tmp
11595 if test x"$enablestring" = xdisable; then
11596 if test $wxUSE_COMBOBOX = yes; then
11602 result=$wxUSE_COMBOBOX
11605 { echo "$as_me:$LINENO: result: $result" >&5
11606 echo "${ECHO_T}$result" >&6; }
11610 defaultval=$wxUSE_ALL_FEATURES
11611 if test -z "$defaultval"; then
11612 if test x"$enablestring" = xdisable; then
11619 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-comboctrl" >&5
11620 echo $ECHO_N "checking for --${enablestring:-enable}-comboctrl... $ECHO_C" >&6; }
11621 # Check whether --enable-comboctrl was given.
11622 if test "${enable_comboctrl+set}" = set; then
11623 enableval=$enable_comboctrl;
11624 if test "$enableval" = yes; then
11625 wx_cv_use_comboctrl='wxUSE_COMBOCTRL=yes'
11627 wx_cv_use_comboctrl='wxUSE_COMBOCTRL=no'
11633 LINE=`grep "^wxUSE_COMBOCTRL=" ${wx_arg_cache_file}`
11634 if test "x$LINE" != x ; then
11635 eval "DEFAULT_$LINE"
11641 wx_cv_use_comboctrl='wxUSE_COMBOCTRL=${'DEFAULT_wxUSE_COMBOCTRL":-$defaultval}"
11646 eval "$wx_cv_use_comboctrl"
11647 if test "x$cache" = xyes; then
11648 echo "wxUSE_COMBOCTRL=$wxUSE_COMBOCTRL" >> ${wx_arg_cache_file}.tmp
11651 if test x"$enablestring" = xdisable; then
11652 if test $wxUSE_COMBOCTRL = yes; then
11658 result=$wxUSE_COMBOCTRL
11661 { echo "$as_me:$LINENO: result: $result" >&5
11662 echo "${ECHO_T}$result" >&6; }
11666 defaultval=$wxUSE_ALL_FEATURES
11667 if test -z "$defaultval"; then
11668 if test x"$enablestring" = xdisable; then
11675 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-datepick" >&5
11676 echo $ECHO_N "checking for --${enablestring:-enable}-datepick... $ECHO_C" >&6; }
11677 # Check whether --enable-datepick was given.
11678 if test "${enable_datepick+set}" = set; then
11679 enableval=$enable_datepick;
11680 if test "$enableval" = yes; then
11681 wx_cv_use_datepick='wxUSE_DATEPICKCTRL=yes'
11683 wx_cv_use_datepick='wxUSE_DATEPICKCTRL=no'
11689 LINE=`grep "^wxUSE_DATEPICKCTRL=" ${wx_arg_cache_file}`
11690 if test "x$LINE" != x ; then
11691 eval "DEFAULT_$LINE"
11697 wx_cv_use_datepick='wxUSE_DATEPICKCTRL=${'DEFAULT_wxUSE_DATEPICKCTRL":-$defaultval}"
11702 eval "$wx_cv_use_datepick"
11703 if test "x$cache" = xyes; then
11704 echo "wxUSE_DATEPICKCTRL=$wxUSE_DATEPICKCTRL" >> ${wx_arg_cache_file}.tmp
11707 if test x"$enablestring" = xdisable; then
11708 if test $wxUSE_DATEPICKCTRL = yes; then
11714 result=$wxUSE_DATEPICKCTRL
11717 { echo "$as_me:$LINENO: result: $result" >&5
11718 echo "${ECHO_T}$result" >&6; }
11722 defaultval=$wxUSE_ALL_FEATURES
11723 if test -z "$defaultval"; then
11724 if test x"$enablestring" = xdisable; then
11731 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dirpicker" >&5
11732 echo $ECHO_N "checking for --${enablestring:-enable}-dirpicker... $ECHO_C" >&6; }
11733 # Check whether --enable-dirpicker was given.
11734 if test "${enable_dirpicker+set}" = set; then
11735 enableval=$enable_dirpicker;
11736 if test "$enableval" = yes; then
11737 wx_cv_use_dirpicker='wxUSE_DIRPICKERCTRL=yes'
11739 wx_cv_use_dirpicker='wxUSE_DIRPICKERCTRL=no'
11745 LINE=`grep "^wxUSE_DIRPICKERCTRL=" ${wx_arg_cache_file}`
11746 if test "x$LINE" != x ; then
11747 eval "DEFAULT_$LINE"
11753 wx_cv_use_dirpicker='wxUSE_DIRPICKERCTRL=${'DEFAULT_wxUSE_DIRPICKERCTRL":-$defaultval}"
11758 eval "$wx_cv_use_dirpicker"
11759 if test "x$cache" = xyes; then
11760 echo "wxUSE_DIRPICKERCTRL=$wxUSE_DIRPICKERCTRL" >> ${wx_arg_cache_file}.tmp
11763 if test x"$enablestring" = xdisable; then
11764 if test $wxUSE_DIRPICKERCTRL = yes; then
11770 result=$wxUSE_DIRPICKERCTRL
11773 { echo "$as_me:$LINENO: result: $result" >&5
11774 echo "${ECHO_T}$result" >&6; }
11778 defaultval=$wxUSE_ALL_FEATURES
11779 if test -z "$defaultval"; then
11780 if test x"$enablestring" = xdisable; then
11787 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-display" >&5
11788 echo $ECHO_N "checking for --${enablestring:-enable}-display... $ECHO_C" >&6; }
11789 # Check whether --enable-display was given.
11790 if test "${enable_display+set}" = set; then
11791 enableval=$enable_display;
11792 if test "$enableval" = yes; then
11793 wx_cv_use_display='wxUSE_DISPLAY=yes'
11795 wx_cv_use_display='wxUSE_DISPLAY=no'
11801 LINE=`grep "^wxUSE_DISPLAY=" ${wx_arg_cache_file}`
11802 if test "x$LINE" != x ; then
11803 eval "DEFAULT_$LINE"
11809 wx_cv_use_display='wxUSE_DISPLAY=${'DEFAULT_wxUSE_DISPLAY":-$defaultval}"
11814 eval "$wx_cv_use_display"
11815 if test "x$cache" = xyes; then
11816 echo "wxUSE_DISPLAY=$wxUSE_DISPLAY" >> ${wx_arg_cache_file}.tmp
11819 if test x"$enablestring" = xdisable; then
11820 if test $wxUSE_DISPLAY = yes; then
11826 result=$wxUSE_DISPLAY
11829 { echo "$as_me:$LINENO: result: $result" >&5
11830 echo "${ECHO_T}$result" >&6; }
11834 defaultval=$wxUSE_ALL_FEATURES
11835 if test -z "$defaultval"; then
11836 if test x"$enablestring" = xdisable; then
11843 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-detect_sm" >&5
11844 echo $ECHO_N "checking for --${enablestring:-enable}-detect_sm... $ECHO_C" >&6; }
11845 # Check whether --enable-detect_sm was given.
11846 if test "${enable_detect_sm+set}" = set; then
11847 enableval=$enable_detect_sm;
11848 if test "$enableval" = yes; then
11849 wx_cv_use_detect_sm='wxUSE_DETECT_SM=yes'
11851 wx_cv_use_detect_sm='wxUSE_DETECT_SM=no'
11857 LINE=`grep "^wxUSE_DETECT_SM=" ${wx_arg_cache_file}`
11858 if test "x$LINE" != x ; then
11859 eval "DEFAULT_$LINE"
11865 wx_cv_use_detect_sm='wxUSE_DETECT_SM=${'DEFAULT_wxUSE_DETECT_SM":-$defaultval}"
11870 eval "$wx_cv_use_detect_sm"
11871 if test "x$cache" = xyes; then
11872 echo "wxUSE_DETECT_SM=$wxUSE_DETECT_SM" >> ${wx_arg_cache_file}.tmp
11875 if test x"$enablestring" = xdisable; then
11876 if test $wxUSE_DETECT_SM = yes; then
11882 result=$wxUSE_DETECT_SM
11885 { echo "$as_me:$LINENO: result: $result" >&5
11886 echo "${ECHO_T}$result" >&6; }
11890 defaultval=$wxUSE_ALL_FEATURES
11891 if test -z "$defaultval"; then
11892 if test x"$enablestring" = xdisable; then
11899 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-editablebox" >&5
11900 echo $ECHO_N "checking for --${enablestring:-enable}-editablebox... $ECHO_C" >&6; }
11901 # Check whether --enable-editablebox was given.
11902 if test "${enable_editablebox+set}" = set; then
11903 enableval=$enable_editablebox;
11904 if test "$enableval" = yes; then
11905 wx_cv_use_editablebox='wxUSE_EDITABLELISTBOX=yes'
11907 wx_cv_use_editablebox='wxUSE_EDITABLELISTBOX=no'
11913 LINE=`grep "^wxUSE_EDITABLELISTBOX=" ${wx_arg_cache_file}`
11914 if test "x$LINE" != x ; then
11915 eval "DEFAULT_$LINE"
11921 wx_cv_use_editablebox='wxUSE_EDITABLELISTBOX=${'DEFAULT_wxUSE_EDITABLELISTBOX":-$defaultval}"
11926 eval "$wx_cv_use_editablebox"
11927 if test "x$cache" = xyes; then
11928 echo "wxUSE_EDITABLELISTBOX=$wxUSE_EDITABLELISTBOX" >> ${wx_arg_cache_file}.tmp
11931 if test x"$enablestring" = xdisable; then
11932 if test $wxUSE_EDITABLELISTBOX = yes; then
11938 result=$wxUSE_EDITABLELISTBOX
11941 { echo "$as_me:$LINENO: result: $result" >&5
11942 echo "${ECHO_T}$result" >&6; }
11946 defaultval=$wxUSE_ALL_FEATURES
11947 if test -z "$defaultval"; then
11948 if test x"$enablestring" = xdisable; then
11955 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filepicker" >&5
11956 echo $ECHO_N "checking for --${enablestring:-enable}-filepicker... $ECHO_C" >&6; }
11957 # Check whether --enable-filepicker was given.
11958 if test "${enable_filepicker+set}" = set; then
11959 enableval=$enable_filepicker;
11960 if test "$enableval" = yes; then
11961 wx_cv_use_filepicker='wxUSE_FILEPICKERCTRL=yes'
11963 wx_cv_use_filepicker='wxUSE_FILEPICKERCTRL=no'
11969 LINE=`grep "^wxUSE_FILEPICKERCTRL=" ${wx_arg_cache_file}`
11970 if test "x$LINE" != x ; then
11971 eval "DEFAULT_$LINE"
11977 wx_cv_use_filepicker='wxUSE_FILEPICKERCTRL=${'DEFAULT_wxUSE_FILEPICKERCTRL":-$defaultval}"
11982 eval "$wx_cv_use_filepicker"
11983 if test "x$cache" = xyes; then
11984 echo "wxUSE_FILEPICKERCTRL=$wxUSE_FILEPICKERCTRL" >> ${wx_arg_cache_file}.tmp
11987 if test x"$enablestring" = xdisable; then
11988 if test $wxUSE_FILEPICKERCTRL = yes; then
11994 result=$wxUSE_FILEPICKERCTRL
11997 { echo "$as_me:$LINENO: result: $result" >&5
11998 echo "${ECHO_T}$result" >&6; }
12002 defaultval=$wxUSE_ALL_FEATURES
12003 if test -z "$defaultval"; then
12004 if test x"$enablestring" = xdisable; then
12011 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontpicker" >&5
12012 echo $ECHO_N "checking for --${enablestring:-enable}-fontpicker... $ECHO_C" >&6; }
12013 # Check whether --enable-fontpicker was given.
12014 if test "${enable_fontpicker+set}" = set; then
12015 enableval=$enable_fontpicker;
12016 if test "$enableval" = yes; then
12017 wx_cv_use_fontpicker='wxUSE_FONTPICKERCTRL=yes'
12019 wx_cv_use_fontpicker='wxUSE_FONTPICKERCTRL=no'
12025 LINE=`grep "^wxUSE_FONTPICKERCTRL=" ${wx_arg_cache_file}`
12026 if test "x$LINE" != x ; then
12027 eval "DEFAULT_$LINE"
12033 wx_cv_use_fontpicker='wxUSE_FONTPICKERCTRL=${'DEFAULT_wxUSE_FONTPICKERCTRL":-$defaultval}"
12038 eval "$wx_cv_use_fontpicker"
12039 if test "x$cache" = xyes; then
12040 echo "wxUSE_FONTPICKERCTRL=$wxUSE_FONTPICKERCTRL" >> ${wx_arg_cache_file}.tmp
12043 if test x"$enablestring" = xdisable; then
12044 if test $wxUSE_FONTPICKERCTRL = yes; then
12050 result=$wxUSE_FONTPICKERCTRL
12053 { echo "$as_me:$LINENO: result: $result" >&5
12054 echo "${ECHO_T}$result" >&6; }
12058 defaultval=$wxUSE_ALL_FEATURES
12059 if test -z "$defaultval"; then
12060 if test x"$enablestring" = xdisable; then
12067 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gauge" >&5
12068 echo $ECHO_N "checking for --${enablestring:-enable}-gauge... $ECHO_C" >&6; }
12069 # Check whether --enable-gauge was given.
12070 if test "${enable_gauge+set}" = set; then
12071 enableval=$enable_gauge;
12072 if test "$enableval" = yes; then
12073 wx_cv_use_gauge='wxUSE_GAUGE=yes'
12075 wx_cv_use_gauge='wxUSE_GAUGE=no'
12081 LINE=`grep "^wxUSE_GAUGE=" ${wx_arg_cache_file}`
12082 if test "x$LINE" != x ; then
12083 eval "DEFAULT_$LINE"
12089 wx_cv_use_gauge='wxUSE_GAUGE=${'DEFAULT_wxUSE_GAUGE":-$defaultval}"
12094 eval "$wx_cv_use_gauge"
12095 if test "x$cache" = xyes; then
12096 echo "wxUSE_GAUGE=$wxUSE_GAUGE" >> ${wx_arg_cache_file}.tmp
12099 if test x"$enablestring" = xdisable; then
12100 if test $wxUSE_GAUGE = yes; then
12106 result=$wxUSE_GAUGE
12109 { echo "$as_me:$LINENO: result: $result" >&5
12110 echo "${ECHO_T}$result" >&6; }
12114 defaultval=$wxUSE_ALL_FEATURES
12115 if test -z "$defaultval"; then
12116 if test x"$enablestring" = xdisable; then
12123 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-grid" >&5
12124 echo $ECHO_N "checking for --${enablestring:-enable}-grid... $ECHO_C" >&6; }
12125 # Check whether --enable-grid was given.
12126 if test "${enable_grid+set}" = set; then
12127 enableval=$enable_grid;
12128 if test "$enableval" = yes; then
12129 wx_cv_use_grid='wxUSE_GRID=yes'
12131 wx_cv_use_grid='wxUSE_GRID=no'
12137 LINE=`grep "^wxUSE_GRID=" ${wx_arg_cache_file}`
12138 if test "x$LINE" != x ; then
12139 eval "DEFAULT_$LINE"
12145 wx_cv_use_grid='wxUSE_GRID=${'DEFAULT_wxUSE_GRID":-$defaultval}"
12150 eval "$wx_cv_use_grid"
12151 if test "x$cache" = xyes; then
12152 echo "wxUSE_GRID=$wxUSE_GRID" >> ${wx_arg_cache_file}.tmp
12155 if test x"$enablestring" = xdisable; then
12156 if test $wxUSE_GRID = yes; then
12165 { echo "$as_me:$LINENO: result: $result" >&5
12166 echo "${ECHO_T}$result" >&6; }
12170 defaultval=$wxUSE_ALL_FEATURES
12171 if test -z "$defaultval"; then
12172 if test x"$enablestring" = xdisable; then
12179 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dataviewctrl" >&5
12180 echo $ECHO_N "checking for --${enablestring:-enable}-dataviewctrl... $ECHO_C" >&6; }
12181 # Check whether --enable-dataviewctrl was given.
12182 if test "${enable_dataviewctrl+set}" = set; then
12183 enableval=$enable_dataviewctrl;
12184 if test "$enableval" = yes; then
12185 wx_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL=yes'
12187 wx_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL=no'
12193 LINE=`grep "^wxUSE_DATAVIEWCTRL=" ${wx_arg_cache_file}`
12194 if test "x$LINE" != x ; then
12195 eval "DEFAULT_$LINE"
12201 wx_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL=${'DEFAULT_wxUSE_DATAVIEWCTRL":-$defaultval}"
12206 eval "$wx_cv_use_dataviewctrl"
12207 if test "x$cache" = xyes; then
12208 echo "wxUSE_DATAVIEWCTRL=$wxUSE_DATAVIEWCTRL" >> ${wx_arg_cache_file}.tmp
12211 if test x"$enablestring" = xdisable; then
12212 if test $wxUSE_DATAVIEWCTRL = yes; then
12218 result=$wxUSE_DATAVIEWCTRL
12221 { echo "$as_me:$LINENO: result: $result" >&5
12222 echo "${ECHO_T}$result" >&6; }
12226 defaultval=$wxUSE_ALL_FEATURES
12227 if test -z "$defaultval"; then
12228 if test x"$enablestring" = xdisable; then
12235 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-hyperlink" >&5
12236 echo $ECHO_N "checking for --${enablestring:-enable}-hyperlink... $ECHO_C" >&6; }
12237 # Check whether --enable-hyperlink was given.
12238 if test "${enable_hyperlink+set}" = set; then
12239 enableval=$enable_hyperlink;
12240 if test "$enableval" = yes; then
12241 wx_cv_use_hyperlink='wxUSE_HYPERLINKCTRL=yes'
12243 wx_cv_use_hyperlink='wxUSE_HYPERLINKCTRL=no'
12249 LINE=`grep "^wxUSE_HYPERLINKCTRL=" ${wx_arg_cache_file}`
12250 if test "x$LINE" != x ; then
12251 eval "DEFAULT_$LINE"
12257 wx_cv_use_hyperlink='wxUSE_HYPERLINKCTRL=${'DEFAULT_wxUSE_HYPERLINKCTRL":-$defaultval}"
12262 eval "$wx_cv_use_hyperlink"
12263 if test "x$cache" = xyes; then
12264 echo "wxUSE_HYPERLINKCTRL=$wxUSE_HYPERLINKCTRL" >> ${wx_arg_cache_file}.tmp
12267 if test x"$enablestring" = xdisable; then
12268 if test $wxUSE_HYPERLINKCTRL = yes; then
12274 result=$wxUSE_HYPERLINKCTRL
12277 { echo "$as_me:$LINENO: result: $result" >&5
12278 echo "${ECHO_T}$result" >&6; }
12282 defaultval=$wxUSE_ALL_FEATURES
12283 if test -z "$defaultval"; then
12284 if test x"$enablestring" = xdisable; then
12291 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-imaglist" >&5
12292 echo $ECHO_N "checking for --${enablestring:-enable}-imaglist... $ECHO_C" >&6; }
12293 # Check whether --enable-imaglist was given.
12294 if test "${enable_imaglist+set}" = set; then
12295 enableval=$enable_imaglist;
12296 if test "$enableval" = yes; then
12297 wx_cv_use_imaglist='wxUSE_IMAGLIST=yes'
12299 wx_cv_use_imaglist='wxUSE_IMAGLIST=no'
12305 LINE=`grep "^wxUSE_IMAGLIST=" ${wx_arg_cache_file}`
12306 if test "x$LINE" != x ; then
12307 eval "DEFAULT_$LINE"
12313 wx_cv_use_imaglist='wxUSE_IMAGLIST=${'DEFAULT_wxUSE_IMAGLIST":-$defaultval}"
12318 eval "$wx_cv_use_imaglist"
12319 if test "x$cache" = xyes; then
12320 echo "wxUSE_IMAGLIST=$wxUSE_IMAGLIST" >> ${wx_arg_cache_file}.tmp
12323 if test x"$enablestring" = xdisable; then
12324 if test $wxUSE_IMAGLIST = yes; then
12330 result=$wxUSE_IMAGLIST
12333 { echo "$as_me:$LINENO: result: $result" >&5
12334 echo "${ECHO_T}$result" >&6; }
12338 defaultval=$wxUSE_ALL_FEATURES
12339 if test -z "$defaultval"; then
12340 if test x"$enablestring" = xdisable; then
12347 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbook" >&5
12348 echo $ECHO_N "checking for --${enablestring:-enable}-listbook... $ECHO_C" >&6; }
12349 # Check whether --enable-listbook was given.
12350 if test "${enable_listbook+set}" = set; then
12351 enableval=$enable_listbook;
12352 if test "$enableval" = yes; then
12353 wx_cv_use_listbook='wxUSE_LISTBOOK=yes'
12355 wx_cv_use_listbook='wxUSE_LISTBOOK=no'
12361 LINE=`grep "^wxUSE_LISTBOOK=" ${wx_arg_cache_file}`
12362 if test "x$LINE" != x ; then
12363 eval "DEFAULT_$LINE"
12369 wx_cv_use_listbook='wxUSE_LISTBOOK=${'DEFAULT_wxUSE_LISTBOOK":-$defaultval}"
12374 eval "$wx_cv_use_listbook"
12375 if test "x$cache" = xyes; then
12376 echo "wxUSE_LISTBOOK=$wxUSE_LISTBOOK" >> ${wx_arg_cache_file}.tmp
12379 if test x"$enablestring" = xdisable; then
12380 if test $wxUSE_LISTBOOK = yes; then
12386 result=$wxUSE_LISTBOOK
12389 { echo "$as_me:$LINENO: result: $result" >&5
12390 echo "${ECHO_T}$result" >&6; }
12394 defaultval=$wxUSE_ALL_FEATURES
12395 if test -z "$defaultval"; then
12396 if test x"$enablestring" = xdisable; then
12403 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbox" >&5
12404 echo $ECHO_N "checking for --${enablestring:-enable}-listbox... $ECHO_C" >&6; }
12405 # Check whether --enable-listbox was given.
12406 if test "${enable_listbox+set}" = set; then
12407 enableval=$enable_listbox;
12408 if test "$enableval" = yes; then
12409 wx_cv_use_listbox='wxUSE_LISTBOX=yes'
12411 wx_cv_use_listbox='wxUSE_LISTBOX=no'
12417 LINE=`grep "^wxUSE_LISTBOX=" ${wx_arg_cache_file}`
12418 if test "x$LINE" != x ; then
12419 eval "DEFAULT_$LINE"
12425 wx_cv_use_listbox='wxUSE_LISTBOX=${'DEFAULT_wxUSE_LISTBOX":-$defaultval}"
12430 eval "$wx_cv_use_listbox"
12431 if test "x$cache" = xyes; then
12432 echo "wxUSE_LISTBOX=$wxUSE_LISTBOX" >> ${wx_arg_cache_file}.tmp
12435 if test x"$enablestring" = xdisable; then
12436 if test $wxUSE_LISTBOX = yes; then
12442 result=$wxUSE_LISTBOX
12445 { echo "$as_me:$LINENO: result: $result" >&5
12446 echo "${ECHO_T}$result" >&6; }
12450 defaultval=$wxUSE_ALL_FEATURES
12451 if test -z "$defaultval"; then
12452 if test x"$enablestring" = xdisable; then
12459 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listctrl" >&5
12460 echo $ECHO_N "checking for --${enablestring:-enable}-listctrl... $ECHO_C" >&6; }
12461 # Check whether --enable-listctrl was given.
12462 if test "${enable_listctrl+set}" = set; then
12463 enableval=$enable_listctrl;
12464 if test "$enableval" = yes; then
12465 wx_cv_use_listctrl='wxUSE_LISTCTRL=yes'
12467 wx_cv_use_listctrl='wxUSE_LISTCTRL=no'
12473 LINE=`grep "^wxUSE_LISTCTRL=" ${wx_arg_cache_file}`
12474 if test "x$LINE" != x ; then
12475 eval "DEFAULT_$LINE"
12481 wx_cv_use_listctrl='wxUSE_LISTCTRL=${'DEFAULT_wxUSE_LISTCTRL":-$defaultval}"
12486 eval "$wx_cv_use_listctrl"
12487 if test "x$cache" = xyes; then
12488 echo "wxUSE_LISTCTRL=$wxUSE_LISTCTRL" >> ${wx_arg_cache_file}.tmp
12491 if test x"$enablestring" = xdisable; then
12492 if test $wxUSE_LISTCTRL = yes; then
12498 result=$wxUSE_LISTCTRL
12501 { echo "$as_me:$LINENO: result: $result" >&5
12502 echo "${ECHO_T}$result" >&6; }
12506 defaultval=$wxUSE_ALL_FEATURES
12507 if test -z "$defaultval"; then
12508 if test x"$enablestring" = xdisable; then
12515 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-notebook" >&5
12516 echo $ECHO_N "checking for --${enablestring:-enable}-notebook... $ECHO_C" >&6; }
12517 # Check whether --enable-notebook was given.
12518 if test "${enable_notebook+set}" = set; then
12519 enableval=$enable_notebook;
12520 if test "$enableval" = yes; then
12521 wx_cv_use_notebook='wxUSE_NOTEBOOK=yes'
12523 wx_cv_use_notebook='wxUSE_NOTEBOOK=no'
12529 LINE=`grep "^wxUSE_NOTEBOOK=" ${wx_arg_cache_file}`
12530 if test "x$LINE" != x ; then
12531 eval "DEFAULT_$LINE"
12537 wx_cv_use_notebook='wxUSE_NOTEBOOK=${'DEFAULT_wxUSE_NOTEBOOK":-$defaultval}"
12542 eval "$wx_cv_use_notebook"
12543 if test "x$cache" = xyes; then
12544 echo "wxUSE_NOTEBOOK=$wxUSE_NOTEBOOK" >> ${wx_arg_cache_file}.tmp
12547 if test x"$enablestring" = xdisable; then
12548 if test $wxUSE_NOTEBOOK = yes; then
12554 result=$wxUSE_NOTEBOOK
12557 { echo "$as_me:$LINENO: result: $result" >&5
12558 echo "${ECHO_T}$result" >&6; }
12562 defaultval=$wxUSE_ALL_FEATURES
12563 if test -z "$defaultval"; then
12564 if test x"$enablestring" = xdisable; then
12571 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-odcombobox" >&5
12572 echo $ECHO_N "checking for --${enablestring:-enable}-odcombobox... $ECHO_C" >&6; }
12573 # Check whether --enable-odcombobox was given.
12574 if test "${enable_odcombobox+set}" = set; then
12575 enableval=$enable_odcombobox;
12576 if test "$enableval" = yes; then
12577 wx_cv_use_odcombobox='wxUSE_ODCOMBOBOX=yes'
12579 wx_cv_use_odcombobox='wxUSE_ODCOMBOBOX=no'
12585 LINE=`grep "^wxUSE_ODCOMBOBOX=" ${wx_arg_cache_file}`
12586 if test "x$LINE" != x ; then
12587 eval "DEFAULT_$LINE"
12593 wx_cv_use_odcombobox='wxUSE_ODCOMBOBOX=${'DEFAULT_wxUSE_ODCOMBOBOX":-$defaultval}"
12598 eval "$wx_cv_use_odcombobox"
12599 if test "x$cache" = xyes; then
12600 echo "wxUSE_ODCOMBOBOX=$wxUSE_ODCOMBOBOX" >> ${wx_arg_cache_file}.tmp
12603 if test x"$enablestring" = xdisable; then
12604 if test $wxUSE_ODCOMBOBOX = yes; then
12610 result=$wxUSE_ODCOMBOBOX
12613 { echo "$as_me:$LINENO: result: $result" >&5
12614 echo "${ECHO_T}$result" >&6; }
12618 defaultval=$wxUSE_ALL_FEATURES
12619 if test -z "$defaultval"; then
12620 if test x"$enablestring" = xdisable; then
12627 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobox" >&5
12628 echo $ECHO_N "checking for --${enablestring:-enable}-radiobox... $ECHO_C" >&6; }
12629 # Check whether --enable-radiobox was given.
12630 if test "${enable_radiobox+set}" = set; then
12631 enableval=$enable_radiobox;
12632 if test "$enableval" = yes; then
12633 wx_cv_use_radiobox='wxUSE_RADIOBOX=yes'
12635 wx_cv_use_radiobox='wxUSE_RADIOBOX=no'
12641 LINE=`grep "^wxUSE_RADIOBOX=" ${wx_arg_cache_file}`
12642 if test "x$LINE" != x ; then
12643 eval "DEFAULT_$LINE"
12649 wx_cv_use_radiobox='wxUSE_RADIOBOX=${'DEFAULT_wxUSE_RADIOBOX":-$defaultval}"
12654 eval "$wx_cv_use_radiobox"
12655 if test "x$cache" = xyes; then
12656 echo "wxUSE_RADIOBOX=$wxUSE_RADIOBOX" >> ${wx_arg_cache_file}.tmp
12659 if test x"$enablestring" = xdisable; then
12660 if test $wxUSE_RADIOBOX = yes; then
12666 result=$wxUSE_RADIOBOX
12669 { echo "$as_me:$LINENO: result: $result" >&5
12670 echo "${ECHO_T}$result" >&6; }
12674 defaultval=$wxUSE_ALL_FEATURES
12675 if test -z "$defaultval"; then
12676 if test x"$enablestring" = xdisable; then
12683 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobtn" >&5
12684 echo $ECHO_N "checking for --${enablestring:-enable}-radiobtn... $ECHO_C" >&6; }
12685 # Check whether --enable-radiobtn was given.
12686 if test "${enable_radiobtn+set}" = set; then
12687 enableval=$enable_radiobtn;
12688 if test "$enableval" = yes; then
12689 wx_cv_use_radiobtn='wxUSE_RADIOBTN=yes'
12691 wx_cv_use_radiobtn='wxUSE_RADIOBTN=no'
12697 LINE=`grep "^wxUSE_RADIOBTN=" ${wx_arg_cache_file}`
12698 if test "x$LINE" != x ; then
12699 eval "DEFAULT_$LINE"
12705 wx_cv_use_radiobtn='wxUSE_RADIOBTN=${'DEFAULT_wxUSE_RADIOBTN":-$defaultval}"
12710 eval "$wx_cv_use_radiobtn"
12711 if test "x$cache" = xyes; then
12712 echo "wxUSE_RADIOBTN=$wxUSE_RADIOBTN" >> ${wx_arg_cache_file}.tmp
12715 if test x"$enablestring" = xdisable; then
12716 if test $wxUSE_RADIOBTN = yes; then
12722 result=$wxUSE_RADIOBTN
12725 { echo "$as_me:$LINENO: result: $result" >&5
12726 echo "${ECHO_T}$result" >&6; }
12730 defaultval=$wxUSE_ALL_FEATURES
12731 if test -z "$defaultval"; then
12732 if test x"$enablestring" = xdisable; then
12739 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sash" >&5
12740 echo $ECHO_N "checking for --${enablestring:-enable}-sash... $ECHO_C" >&6; }
12741 # Check whether --enable-sash was given.
12742 if test "${enable_sash+set}" = set; then
12743 enableval=$enable_sash;
12744 if test "$enableval" = yes; then
12745 wx_cv_use_sash='wxUSE_SASH=yes'
12747 wx_cv_use_sash='wxUSE_SASH=no'
12753 LINE=`grep "^wxUSE_SASH=" ${wx_arg_cache_file}`
12754 if test "x$LINE" != x ; then
12755 eval "DEFAULT_$LINE"
12761 wx_cv_use_sash='wxUSE_SASH=${'DEFAULT_wxUSE_SASH":-$defaultval}"
12766 eval "$wx_cv_use_sash"
12767 if test "x$cache" = xyes; then
12768 echo "wxUSE_SASH=$wxUSE_SASH" >> ${wx_arg_cache_file}.tmp
12771 if test x"$enablestring" = xdisable; then
12772 if test $wxUSE_SASH = yes; then
12781 { echo "$as_me:$LINENO: result: $result" >&5
12782 echo "${ECHO_T}$result" >&6; }
12786 defaultval=$wxUSE_ALL_FEATURES
12787 if test -z "$defaultval"; then
12788 if test x"$enablestring" = xdisable; then
12795 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-scrollbar" >&5
12796 echo $ECHO_N "checking for --${enablestring:-enable}-scrollbar... $ECHO_C" >&6; }
12797 # Check whether --enable-scrollbar was given.
12798 if test "${enable_scrollbar+set}" = set; then
12799 enableval=$enable_scrollbar;
12800 if test "$enableval" = yes; then
12801 wx_cv_use_scrollbar='wxUSE_SCROLLBAR=yes'
12803 wx_cv_use_scrollbar='wxUSE_SCROLLBAR=no'
12809 LINE=`grep "^wxUSE_SCROLLBAR=" ${wx_arg_cache_file}`
12810 if test "x$LINE" != x ; then
12811 eval "DEFAULT_$LINE"
12817 wx_cv_use_scrollbar='wxUSE_SCROLLBAR=${'DEFAULT_wxUSE_SCROLLBAR":-$defaultval}"
12822 eval "$wx_cv_use_scrollbar"
12823 if test "x$cache" = xyes; then
12824 echo "wxUSE_SCROLLBAR=$wxUSE_SCROLLBAR" >> ${wx_arg_cache_file}.tmp
12827 if test x"$enablestring" = xdisable; then
12828 if test $wxUSE_SCROLLBAR = yes; then
12834 result=$wxUSE_SCROLLBAR
12837 { echo "$as_me:$LINENO: result: $result" >&5
12838 echo "${ECHO_T}$result" >&6; }
12842 defaultval=$wxUSE_ALL_FEATURES
12843 if test -z "$defaultval"; then
12844 if test x"$enablestring" = xdisable; then
12851 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-searchctrl" >&5
12852 echo $ECHO_N "checking for --${enablestring:-enable}-searchctrl... $ECHO_C" >&6; }
12853 # Check whether --enable-searchctrl was given.
12854 if test "${enable_searchctrl+set}" = set; then
12855 enableval=$enable_searchctrl;
12856 if test "$enableval" = yes; then
12857 wx_cv_use_searchctrl='wxUSE_SEARCHCTRL=yes'
12859 wx_cv_use_searchctrl='wxUSE_SEARCHCTRL=no'
12865 LINE=`grep "^wxUSE_SEARCHCTRL=" ${wx_arg_cache_file}`
12866 if test "x$LINE" != x ; then
12867 eval "DEFAULT_$LINE"
12873 wx_cv_use_searchctrl='wxUSE_SEARCHCTRL=${'DEFAULT_wxUSE_SEARCHCTRL":-$defaultval}"
12878 eval "$wx_cv_use_searchctrl"
12879 if test "x$cache" = xyes; then
12880 echo "wxUSE_SEARCHCTRL=$wxUSE_SEARCHCTRL" >> ${wx_arg_cache_file}.tmp
12883 if test x"$enablestring" = xdisable; then
12884 if test $wxUSE_SEARCHCTRL = yes; then
12890 result=$wxUSE_SEARCHCTRL
12893 { echo "$as_me:$LINENO: result: $result" >&5
12894 echo "${ECHO_T}$result" >&6; }
12898 defaultval=$wxUSE_ALL_FEATURES
12899 if test -z "$defaultval"; then
12900 if test x"$enablestring" = xdisable; then
12907 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-slider" >&5
12908 echo $ECHO_N "checking for --${enablestring:-enable}-slider... $ECHO_C" >&6; }
12909 # Check whether --enable-slider was given.
12910 if test "${enable_slider+set}" = set; then
12911 enableval=$enable_slider;
12912 if test "$enableval" = yes; then
12913 wx_cv_use_slider='wxUSE_SLIDER=yes'
12915 wx_cv_use_slider='wxUSE_SLIDER=no'
12921 LINE=`grep "^wxUSE_SLIDER=" ${wx_arg_cache_file}`
12922 if test "x$LINE" != x ; then
12923 eval "DEFAULT_$LINE"
12929 wx_cv_use_slider='wxUSE_SLIDER=${'DEFAULT_wxUSE_SLIDER":-$defaultval}"
12934 eval "$wx_cv_use_slider"
12935 if test "x$cache" = xyes; then
12936 echo "wxUSE_SLIDER=$wxUSE_SLIDER" >> ${wx_arg_cache_file}.tmp
12939 if test x"$enablestring" = xdisable; then
12940 if test $wxUSE_SLIDER = yes; then
12946 result=$wxUSE_SLIDER
12949 { echo "$as_me:$LINENO: result: $result" >&5
12950 echo "${ECHO_T}$result" >&6; }
12954 defaultval=$wxUSE_ALL_FEATURES
12955 if test -z "$defaultval"; then
12956 if test x"$enablestring" = xdisable; then
12963 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinbtn" >&5
12964 echo $ECHO_N "checking for --${enablestring:-enable}-spinbtn... $ECHO_C" >&6; }
12965 # Check whether --enable-spinbtn was given.
12966 if test "${enable_spinbtn+set}" = set; then
12967 enableval=$enable_spinbtn;
12968 if test "$enableval" = yes; then
12969 wx_cv_use_spinbtn='wxUSE_SPINBTN=yes'
12971 wx_cv_use_spinbtn='wxUSE_SPINBTN=no'
12977 LINE=`grep "^wxUSE_SPINBTN=" ${wx_arg_cache_file}`
12978 if test "x$LINE" != x ; then
12979 eval "DEFAULT_$LINE"
12985 wx_cv_use_spinbtn='wxUSE_SPINBTN=${'DEFAULT_wxUSE_SPINBTN":-$defaultval}"
12990 eval "$wx_cv_use_spinbtn"
12991 if test "x$cache" = xyes; then
12992 echo "wxUSE_SPINBTN=$wxUSE_SPINBTN" >> ${wx_arg_cache_file}.tmp
12995 if test x"$enablestring" = xdisable; then
12996 if test $wxUSE_SPINBTN = yes; then
13002 result=$wxUSE_SPINBTN
13005 { echo "$as_me:$LINENO: result: $result" >&5
13006 echo "${ECHO_T}$result" >&6; }
13010 defaultval=$wxUSE_ALL_FEATURES
13011 if test -z "$defaultval"; then
13012 if test x"$enablestring" = xdisable; then
13019 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinctrl" >&5
13020 echo $ECHO_N "checking for --${enablestring:-enable}-spinctrl... $ECHO_C" >&6; }
13021 # Check whether --enable-spinctrl was given.
13022 if test "${enable_spinctrl+set}" = set; then
13023 enableval=$enable_spinctrl;
13024 if test "$enableval" = yes; then
13025 wx_cv_use_spinctrl='wxUSE_SPINCTRL=yes'
13027 wx_cv_use_spinctrl='wxUSE_SPINCTRL=no'
13033 LINE=`grep "^wxUSE_SPINCTRL=" ${wx_arg_cache_file}`
13034 if test "x$LINE" != x ; then
13035 eval "DEFAULT_$LINE"
13041 wx_cv_use_spinctrl='wxUSE_SPINCTRL=${'DEFAULT_wxUSE_SPINCTRL":-$defaultval}"
13046 eval "$wx_cv_use_spinctrl"
13047 if test "x$cache" = xyes; then
13048 echo "wxUSE_SPINCTRL=$wxUSE_SPINCTRL" >> ${wx_arg_cache_file}.tmp
13051 if test x"$enablestring" = xdisable; then
13052 if test $wxUSE_SPINCTRL = yes; then
13058 result=$wxUSE_SPINCTRL
13061 { echo "$as_me:$LINENO: result: $result" >&5
13062 echo "${ECHO_T}$result" >&6; }
13066 defaultval=$wxUSE_ALL_FEATURES
13067 if test -z "$defaultval"; then
13068 if test x"$enablestring" = xdisable; then
13075 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splitter" >&5
13076 echo $ECHO_N "checking for --${enablestring:-enable}-splitter... $ECHO_C" >&6; }
13077 # Check whether --enable-splitter was given.
13078 if test "${enable_splitter+set}" = set; then
13079 enableval=$enable_splitter;
13080 if test "$enableval" = yes; then
13081 wx_cv_use_splitter='wxUSE_SPLITTER=yes'
13083 wx_cv_use_splitter='wxUSE_SPLITTER=no'
13089 LINE=`grep "^wxUSE_SPLITTER=" ${wx_arg_cache_file}`
13090 if test "x$LINE" != x ; then
13091 eval "DEFAULT_$LINE"
13097 wx_cv_use_splitter='wxUSE_SPLITTER=${'DEFAULT_wxUSE_SPLITTER":-$defaultval}"
13102 eval "$wx_cv_use_splitter"
13103 if test "x$cache" = xyes; then
13104 echo "wxUSE_SPLITTER=$wxUSE_SPLITTER" >> ${wx_arg_cache_file}.tmp
13107 if test x"$enablestring" = xdisable; then
13108 if test $wxUSE_SPLITTER = yes; then
13114 result=$wxUSE_SPLITTER
13117 { echo "$as_me:$LINENO: result: $result" >&5
13118 echo "${ECHO_T}$result" >&6; }
13122 defaultval=$wxUSE_ALL_FEATURES
13123 if test -z "$defaultval"; then
13124 if test x"$enablestring" = xdisable; then
13131 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbmp" >&5
13132 echo $ECHO_N "checking for --${enablestring:-enable}-statbmp... $ECHO_C" >&6; }
13133 # Check whether --enable-statbmp was given.
13134 if test "${enable_statbmp+set}" = set; then
13135 enableval=$enable_statbmp;
13136 if test "$enableval" = yes; then
13137 wx_cv_use_statbmp='wxUSE_STATBMP=yes'
13139 wx_cv_use_statbmp='wxUSE_STATBMP=no'
13145 LINE=`grep "^wxUSE_STATBMP=" ${wx_arg_cache_file}`
13146 if test "x$LINE" != x ; then
13147 eval "DEFAULT_$LINE"
13153 wx_cv_use_statbmp='wxUSE_STATBMP=${'DEFAULT_wxUSE_STATBMP":-$defaultval}"
13158 eval "$wx_cv_use_statbmp"
13159 if test "x$cache" = xyes; then
13160 echo "wxUSE_STATBMP=$wxUSE_STATBMP" >> ${wx_arg_cache_file}.tmp
13163 if test x"$enablestring" = xdisable; then
13164 if test $wxUSE_STATBMP = yes; then
13170 result=$wxUSE_STATBMP
13173 { echo "$as_me:$LINENO: result: $result" >&5
13174 echo "${ECHO_T}$result" >&6; }
13178 defaultval=$wxUSE_ALL_FEATURES
13179 if test -z "$defaultval"; then
13180 if test x"$enablestring" = xdisable; then
13187 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbox" >&5
13188 echo $ECHO_N "checking for --${enablestring:-enable}-statbox... $ECHO_C" >&6; }
13189 # Check whether --enable-statbox was given.
13190 if test "${enable_statbox+set}" = set; then
13191 enableval=$enable_statbox;
13192 if test "$enableval" = yes; then
13193 wx_cv_use_statbox='wxUSE_STATBOX=yes'
13195 wx_cv_use_statbox='wxUSE_STATBOX=no'
13201 LINE=`grep "^wxUSE_STATBOX=" ${wx_arg_cache_file}`
13202 if test "x$LINE" != x ; then
13203 eval "DEFAULT_$LINE"
13209 wx_cv_use_statbox='wxUSE_STATBOX=${'DEFAULT_wxUSE_STATBOX":-$defaultval}"
13214 eval "$wx_cv_use_statbox"
13215 if test "x$cache" = xyes; then
13216 echo "wxUSE_STATBOX=$wxUSE_STATBOX" >> ${wx_arg_cache_file}.tmp
13219 if test x"$enablestring" = xdisable; then
13220 if test $wxUSE_STATBOX = yes; then
13226 result=$wxUSE_STATBOX
13229 { echo "$as_me:$LINENO: result: $result" >&5
13230 echo "${ECHO_T}$result" >&6; }
13234 defaultval=$wxUSE_ALL_FEATURES
13235 if test -z "$defaultval"; then
13236 if test x"$enablestring" = xdisable; then
13243 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statline" >&5
13244 echo $ECHO_N "checking for --${enablestring:-enable}-statline... $ECHO_C" >&6; }
13245 # Check whether --enable-statline was given.
13246 if test "${enable_statline+set}" = set; then
13247 enableval=$enable_statline;
13248 if test "$enableval" = yes; then
13249 wx_cv_use_statline='wxUSE_STATLINE=yes'
13251 wx_cv_use_statline='wxUSE_STATLINE=no'
13257 LINE=`grep "^wxUSE_STATLINE=" ${wx_arg_cache_file}`
13258 if test "x$LINE" != x ; then
13259 eval "DEFAULT_$LINE"
13265 wx_cv_use_statline='wxUSE_STATLINE=${'DEFAULT_wxUSE_STATLINE":-$defaultval}"
13270 eval "$wx_cv_use_statline"
13271 if test "x$cache" = xyes; then
13272 echo "wxUSE_STATLINE=$wxUSE_STATLINE" >> ${wx_arg_cache_file}.tmp
13275 if test x"$enablestring" = xdisable; then
13276 if test $wxUSE_STATLINE = yes; then
13282 result=$wxUSE_STATLINE
13285 { echo "$as_me:$LINENO: result: $result" >&5
13286 echo "${ECHO_T}$result" >&6; }
13290 defaultval=$wxUSE_ALL_FEATURES
13291 if test -z "$defaultval"; then
13292 if test x"$enablestring" = xdisable; then
13299 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stattext" >&5
13300 echo $ECHO_N "checking for --${enablestring:-enable}-stattext... $ECHO_C" >&6; }
13301 # Check whether --enable-stattext was given.
13302 if test "${enable_stattext+set}" = set; then
13303 enableval=$enable_stattext;
13304 if test "$enableval" = yes; then
13305 wx_cv_use_stattext='wxUSE_STATTEXT=yes'
13307 wx_cv_use_stattext='wxUSE_STATTEXT=no'
13313 LINE=`grep "^wxUSE_STATTEXT=" ${wx_arg_cache_file}`
13314 if test "x$LINE" != x ; then
13315 eval "DEFAULT_$LINE"
13321 wx_cv_use_stattext='wxUSE_STATTEXT=${'DEFAULT_wxUSE_STATTEXT":-$defaultval}"
13326 eval "$wx_cv_use_stattext"
13327 if test "x$cache" = xyes; then
13328 echo "wxUSE_STATTEXT=$wxUSE_STATTEXT" >> ${wx_arg_cache_file}.tmp
13331 if test x"$enablestring" = xdisable; then
13332 if test $wxUSE_STATTEXT = yes; then
13338 result=$wxUSE_STATTEXT
13341 { echo "$as_me:$LINENO: result: $result" >&5
13342 echo "${ECHO_T}$result" >&6; }
13346 defaultval=$wxUSE_ALL_FEATURES
13347 if test -z "$defaultval"; then
13348 if test x"$enablestring" = xdisable; then
13355 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statusbar" >&5
13356 echo $ECHO_N "checking for --${enablestring:-enable}-statusbar... $ECHO_C" >&6; }
13357 # Check whether --enable-statusbar was given.
13358 if test "${enable_statusbar+set}" = set; then
13359 enableval=$enable_statusbar;
13360 if test "$enableval" = yes; then
13361 wx_cv_use_statusbar='wxUSE_STATUSBAR=yes'
13363 wx_cv_use_statusbar='wxUSE_STATUSBAR=no'
13369 LINE=`grep "^wxUSE_STATUSBAR=" ${wx_arg_cache_file}`
13370 if test "x$LINE" != x ; then
13371 eval "DEFAULT_$LINE"
13377 wx_cv_use_statusbar='wxUSE_STATUSBAR=${'DEFAULT_wxUSE_STATUSBAR":-$defaultval}"
13382 eval "$wx_cv_use_statusbar"
13383 if test "x$cache" = xyes; then
13384 echo "wxUSE_STATUSBAR=$wxUSE_STATUSBAR" >> ${wx_arg_cache_file}.tmp
13387 if test x"$enablestring" = xdisable; then
13388 if test $wxUSE_STATUSBAR = yes; then
13394 result=$wxUSE_STATUSBAR
13397 { echo "$as_me:$LINENO: result: $result" >&5
13398 echo "${ECHO_T}$result" >&6; }
13402 defaultval=$wxUSE_ALL_FEATURES
13403 if test -z "$defaultval"; then
13404 if test x"$enablestring" = xdisable; then
13411 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tabdialog" >&5
13412 echo $ECHO_N "checking for --${enablestring:-enable}-tabdialog... $ECHO_C" >&6; }
13413 # Check whether --enable-tabdialog was given.
13414 if test "${enable_tabdialog+set}" = set; then
13415 enableval=$enable_tabdialog;
13416 if test "$enableval" = yes; then
13417 wx_cv_use_tabdialog='wxUSE_TAB_DIALOG=yes'
13419 wx_cv_use_tabdialog='wxUSE_TAB_DIALOG=no'
13425 LINE=`grep "^wxUSE_TAB_DIALOG=" ${wx_arg_cache_file}`
13426 if test "x$LINE" != x ; then
13427 eval "DEFAULT_$LINE"
13433 wx_cv_use_tabdialog='wxUSE_TAB_DIALOG=${'DEFAULT_wxUSE_TAB_DIALOG":-$defaultval}"
13438 eval "$wx_cv_use_tabdialog"
13439 if test "x$cache" = xyes; then
13440 echo "wxUSE_TAB_DIALOG=$wxUSE_TAB_DIALOG" >> ${wx_arg_cache_file}.tmp
13443 if test x"$enablestring" = xdisable; then
13444 if test $wxUSE_TAB_DIALOG = yes; then
13450 result=$wxUSE_TAB_DIALOG
13453 { echo "$as_me:$LINENO: result: $result" >&5
13454 echo "${ECHO_T}$result" >&6; }
13458 defaultval=$wxUSE_ALL_FEATURES
13459 if test -z "$defaultval"; then
13460 if test x"$enablestring" = xdisable; then
13467 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-taskbaricon" >&5
13468 echo $ECHO_N "checking for --${enablestring:-enable}-taskbaricon... $ECHO_C" >&6; }
13469 # Check whether --enable-taskbaricon was given.
13470 if test "${enable_taskbaricon+set}" = set; then
13471 enableval=$enable_taskbaricon;
13472 if test "$enableval" = yes; then
13473 wx_cv_use_taskbaricon='wxUSE_TASKBARICON=yes'
13475 wx_cv_use_taskbaricon='wxUSE_TASKBARICON=no'
13481 LINE=`grep "^wxUSE_TASKBARICON=" ${wx_arg_cache_file}`
13482 if test "x$LINE" != x ; then
13483 eval "DEFAULT_$LINE"
13489 wx_cv_use_taskbaricon='wxUSE_TASKBARICON=${'DEFAULT_wxUSE_TASKBARICON":-$defaultval}"
13494 eval "$wx_cv_use_taskbaricon"
13495 if test "x$cache" = xyes; then
13496 echo "wxUSE_TASKBARICON=$wxUSE_TASKBARICON" >> ${wx_arg_cache_file}.tmp
13499 if test x"$enablestring" = xdisable; then
13500 if test $wxUSE_TASKBARICON = yes; then
13506 result=$wxUSE_TASKBARICON
13509 { echo "$as_me:$LINENO: result: $result" >&5
13510 echo "${ECHO_T}$result" >&6; }
13514 defaultval=$wxUSE_ALL_FEATURES
13515 if test -z "$defaultval"; then
13516 if test x"$enablestring" = xdisable; then
13523 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textctrl" >&5
13524 echo $ECHO_N "checking for --${enablestring:-enable}-textctrl... $ECHO_C" >&6; }
13525 # Check whether --enable-textctrl was given.
13526 if test "${enable_textctrl+set}" = set; then
13527 enableval=$enable_textctrl;
13528 if test "$enableval" = yes; then
13529 wx_cv_use_textctrl='wxUSE_TEXTCTRL=yes'
13531 wx_cv_use_textctrl='wxUSE_TEXTCTRL=no'
13537 LINE=`grep "^wxUSE_TEXTCTRL=" ${wx_arg_cache_file}`
13538 if test "x$LINE" != x ; then
13539 eval "DEFAULT_$LINE"
13545 wx_cv_use_textctrl='wxUSE_TEXTCTRL=${'DEFAULT_wxUSE_TEXTCTRL":-$defaultval}"
13550 eval "$wx_cv_use_textctrl"
13551 if test "x$cache" = xyes; then
13552 echo "wxUSE_TEXTCTRL=$wxUSE_TEXTCTRL" >> ${wx_arg_cache_file}.tmp
13555 if test x"$enablestring" = xdisable; then
13556 if test $wxUSE_TEXTCTRL = yes; then
13562 result=$wxUSE_TEXTCTRL
13565 { echo "$as_me:$LINENO: result: $result" >&5
13566 echo "${ECHO_T}$result" >&6; }
13570 defaultval=$wxUSE_ALL_FEATURES
13571 if test -z "$defaultval"; then
13572 if test x"$enablestring" = xdisable; then
13579 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-togglebtn" >&5
13580 echo $ECHO_N "checking for --${enablestring:-enable}-togglebtn... $ECHO_C" >&6; }
13581 # Check whether --enable-togglebtn was given.
13582 if test "${enable_togglebtn+set}" = set; then
13583 enableval=$enable_togglebtn;
13584 if test "$enableval" = yes; then
13585 wx_cv_use_togglebtn='wxUSE_TOGGLEBTN=yes'
13587 wx_cv_use_togglebtn='wxUSE_TOGGLEBTN=no'
13593 LINE=`grep "^wxUSE_TOGGLEBTN=" ${wx_arg_cache_file}`
13594 if test "x$LINE" != x ; then
13595 eval "DEFAULT_$LINE"
13601 wx_cv_use_togglebtn='wxUSE_TOGGLEBTN=${'DEFAULT_wxUSE_TOGGLEBTN":-$defaultval}"
13606 eval "$wx_cv_use_togglebtn"
13607 if test "x$cache" = xyes; then
13608 echo "wxUSE_TOGGLEBTN=$wxUSE_TOGGLEBTN" >> ${wx_arg_cache_file}.tmp
13611 if test x"$enablestring" = xdisable; then
13612 if test $wxUSE_TOGGLEBTN = yes; then
13618 result=$wxUSE_TOGGLEBTN
13621 { echo "$as_me:$LINENO: result: $result" >&5
13622 echo "${ECHO_T}$result" >&6; }
13626 defaultval=$wxUSE_ALL_FEATURES
13627 if test -z "$defaultval"; then
13628 if test x"$enablestring" = xdisable; then
13635 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-toolbar" >&5
13636 echo $ECHO_N "checking for --${enablestring:-enable}-toolbar... $ECHO_C" >&6; }
13637 # Check whether --enable-toolbar was given.
13638 if test "${enable_toolbar+set}" = set; then
13639 enableval=$enable_toolbar;
13640 if test "$enableval" = yes; then
13641 wx_cv_use_toolbar='wxUSE_TOOLBAR=yes'
13643 wx_cv_use_toolbar='wxUSE_TOOLBAR=no'
13649 LINE=`grep "^wxUSE_TOOLBAR=" ${wx_arg_cache_file}`
13650 if test "x$LINE" != x ; then
13651 eval "DEFAULT_$LINE"
13657 wx_cv_use_toolbar='wxUSE_TOOLBAR=${'DEFAULT_wxUSE_TOOLBAR":-$defaultval}"
13662 eval "$wx_cv_use_toolbar"
13663 if test "x$cache" = xyes; then
13664 echo "wxUSE_TOOLBAR=$wxUSE_TOOLBAR" >> ${wx_arg_cache_file}.tmp
13667 if test x"$enablestring" = xdisable; then
13668 if test $wxUSE_TOOLBAR = yes; then
13674 result=$wxUSE_TOOLBAR
13677 { echo "$as_me:$LINENO: result: $result" >&5
13678 echo "${ECHO_T}$result" >&6; }
13682 defaultval=$wxUSE_ALL_FEATURES
13683 if test -z "$defaultval"; then
13684 if test x"$enablestring" = xdisable; then
13691 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tbarnative" >&5
13692 echo $ECHO_N "checking for --${enablestring:-enable}-tbarnative... $ECHO_C" >&6; }
13693 # Check whether --enable-tbarnative was given.
13694 if test "${enable_tbarnative+set}" = set; then
13695 enableval=$enable_tbarnative;
13696 if test "$enableval" = yes; then
13697 wx_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=yes'
13699 wx_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=no'
13705 LINE=`grep "^wxUSE_TOOLBAR_NATIVE=" ${wx_arg_cache_file}`
13706 if test "x$LINE" != x ; then
13707 eval "DEFAULT_$LINE"
13713 wx_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=${'DEFAULT_wxUSE_TOOLBAR_NATIVE":-$defaultval}"
13718 eval "$wx_cv_use_tbarnative"
13719 if test "x$cache" = xyes; then
13720 echo "wxUSE_TOOLBAR_NATIVE=$wxUSE_TOOLBAR_NATIVE" >> ${wx_arg_cache_file}.tmp
13723 if test x"$enablestring" = xdisable; then
13724 if test $wxUSE_TOOLBAR_NATIVE = yes; then
13730 result=$wxUSE_TOOLBAR_NATIVE
13733 { echo "$as_me:$LINENO: result: $result" >&5
13734 echo "${ECHO_T}$result" >&6; }
13738 defaultval=$wxUSE_ALL_FEATURES
13739 if test -z "$defaultval"; then
13740 if test x"$enablestring" = xdisable; then
13747 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-treebook" >&5
13748 echo $ECHO_N "checking for --${enablestring:-enable}-treebook... $ECHO_C" >&6; }
13749 # Check whether --enable-treebook was given.
13750 if test "${enable_treebook+set}" = set; then
13751 enableval=$enable_treebook;
13752 if test "$enableval" = yes; then
13753 wx_cv_use_treebook='wxUSE_TREEBOOK=yes'
13755 wx_cv_use_treebook='wxUSE_TREEBOOK=no'
13761 LINE=`grep "^wxUSE_TREEBOOK=" ${wx_arg_cache_file}`
13762 if test "x$LINE" != x ; then
13763 eval "DEFAULT_$LINE"
13769 wx_cv_use_treebook='wxUSE_TREEBOOK=${'DEFAULT_wxUSE_TREEBOOK":-$defaultval}"
13774 eval "$wx_cv_use_treebook"
13775 if test "x$cache" = xyes; then
13776 echo "wxUSE_TREEBOOK=$wxUSE_TREEBOOK" >> ${wx_arg_cache_file}.tmp
13779 if test x"$enablestring" = xdisable; then
13780 if test $wxUSE_TREEBOOK = yes; then
13786 result=$wxUSE_TREEBOOK
13789 { echo "$as_me:$LINENO: result: $result" >&5
13790 echo "${ECHO_T}$result" >&6; }
13794 defaultval=$wxUSE_ALL_FEATURES
13795 if test -z "$defaultval"; then
13796 if test x"$enablestring" = xdisable; then
13803 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-toolbook" >&5
13804 echo $ECHO_N "checking for --${enablestring:-enable}-toolbook... $ECHO_C" >&6; }
13805 # Check whether --enable-toolbook was given.
13806 if test "${enable_toolbook+set}" = set; then
13807 enableval=$enable_toolbook;
13808 if test "$enableval" = yes; then
13809 wx_cv_use_toolbook='wxUSE_TOOLBOOK=yes'
13811 wx_cv_use_toolbook='wxUSE_TOOLBOOK=no'
13817 LINE=`grep "^wxUSE_TOOLBOOK=" ${wx_arg_cache_file}`
13818 if test "x$LINE" != x ; then
13819 eval "DEFAULT_$LINE"
13825 wx_cv_use_toolbook='wxUSE_TOOLBOOK=${'DEFAULT_wxUSE_TOOLBOOK":-$defaultval}"
13830 eval "$wx_cv_use_toolbook"
13831 if test "x$cache" = xyes; then
13832 echo "wxUSE_TOOLBOOK=$wxUSE_TOOLBOOK" >> ${wx_arg_cache_file}.tmp
13835 if test x"$enablestring" = xdisable; then
13836 if test $wxUSE_TOOLBOOK = yes; then
13842 result=$wxUSE_TOOLBOOK
13845 { echo "$as_me:$LINENO: result: $result" >&5
13846 echo "${ECHO_T}$result" >&6; }
13850 defaultval=$wxUSE_ALL_FEATURES
13851 if test -z "$defaultval"; then
13852 if test x"$enablestring" = xdisable; then
13859 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-treectrl" >&5
13860 echo $ECHO_N "checking for --${enablestring:-enable}-treectrl... $ECHO_C" >&6; }
13861 # Check whether --enable-treectrl was given.
13862 if test "${enable_treectrl+set}" = set; then
13863 enableval=$enable_treectrl;
13864 if test "$enableval" = yes; then
13865 wx_cv_use_treectrl='wxUSE_TREECTRL=yes'
13867 wx_cv_use_treectrl='wxUSE_TREECTRL=no'
13873 LINE=`grep "^wxUSE_TREECTRL=" ${wx_arg_cache_file}`
13874 if test "x$LINE" != x ; then
13875 eval "DEFAULT_$LINE"
13881 wx_cv_use_treectrl='wxUSE_TREECTRL=${'DEFAULT_wxUSE_TREECTRL":-$defaultval}"
13886 eval "$wx_cv_use_treectrl"
13887 if test "x$cache" = xyes; then
13888 echo "wxUSE_TREECTRL=$wxUSE_TREECTRL" >> ${wx_arg_cache_file}.tmp
13891 if test x"$enablestring" = xdisable; then
13892 if test $wxUSE_TREECTRL = yes; then
13898 result=$wxUSE_TREECTRL
13901 { echo "$as_me:$LINENO: result: $result" >&5
13902 echo "${ECHO_T}$result" >&6; }
13906 defaultval=$wxUSE_ALL_FEATURES
13907 if test -z "$defaultval"; then
13908 if test x"$enablestring" = xdisable; then
13915 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipwindow" >&5
13916 echo $ECHO_N "checking for --${enablestring:-enable}-tipwindow... $ECHO_C" >&6; }
13917 # Check whether --enable-tipwindow was given.
13918 if test "${enable_tipwindow+set}" = set; then
13919 enableval=$enable_tipwindow;
13920 if test "$enableval" = yes; then
13921 wx_cv_use_tipwindow='wxUSE_TIPWINDOW=yes'
13923 wx_cv_use_tipwindow='wxUSE_TIPWINDOW=no'
13929 LINE=`grep "^wxUSE_TIPWINDOW=" ${wx_arg_cache_file}`
13930 if test "x$LINE" != x ; then
13931 eval "DEFAULT_$LINE"
13937 wx_cv_use_tipwindow='wxUSE_TIPWINDOW=${'DEFAULT_wxUSE_TIPWINDOW":-$defaultval}"
13942 eval "$wx_cv_use_tipwindow"
13943 if test "x$cache" = xyes; then
13944 echo "wxUSE_TIPWINDOW=$wxUSE_TIPWINDOW" >> ${wx_arg_cache_file}.tmp
13947 if test x"$enablestring" = xdisable; then
13948 if test $wxUSE_TIPWINDOW = yes; then
13954 result=$wxUSE_TIPWINDOW
13957 { echo "$as_me:$LINENO: result: $result" >&5
13958 echo "${ECHO_T}$result" >&6; }
13962 defaultval=$wxUSE_ALL_FEATURES
13963 if test -z "$defaultval"; then
13964 if test x"$enablestring" = xdisable; then
13971 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-popupwin" >&5
13972 echo $ECHO_N "checking for --${enablestring:-enable}-popupwin... $ECHO_C" >&6; }
13973 # Check whether --enable-popupwin was given.
13974 if test "${enable_popupwin+set}" = set; then
13975 enableval=$enable_popupwin;
13976 if test "$enableval" = yes; then
13977 wx_cv_use_popupwin='wxUSE_POPUPWIN=yes'
13979 wx_cv_use_popupwin='wxUSE_POPUPWIN=no'
13985 LINE=`grep "^wxUSE_POPUPWIN=" ${wx_arg_cache_file}`
13986 if test "x$LINE" != x ; then
13987 eval "DEFAULT_$LINE"
13993 wx_cv_use_popupwin='wxUSE_POPUPWIN=${'DEFAULT_wxUSE_POPUPWIN":-$defaultval}"
13998 eval "$wx_cv_use_popupwin"
13999 if test "x$cache" = xyes; then
14000 echo "wxUSE_POPUPWIN=$wxUSE_POPUPWIN" >> ${wx_arg_cache_file}.tmp
14003 if test x"$enablestring" = xdisable; then
14004 if test $wxUSE_POPUPWIN = yes; then
14010 result=$wxUSE_POPUPWIN
14013 { echo "$as_me:$LINENO: result: $result" >&5
14014 echo "${ECHO_T}$result" >&6; }
14020 defaultval=$wxUSE_ALL_FEATURES
14021 if test -z "$defaultval"; then
14022 if test x"$enablestring" = xdisable; then
14029 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-commondlg" >&5
14030 echo $ECHO_N "checking for --${enablestring:-enable}-commondlg... $ECHO_C" >&6; }
14031 # Check whether --enable-commondlg was given.
14032 if test "${enable_commondlg+set}" = set; then
14033 enableval=$enable_commondlg;
14034 if test "$enableval" = yes; then
14035 wx_cv_use_commondlg='wxUSE_COMMONDLGS=yes'
14037 wx_cv_use_commondlg='wxUSE_COMMONDLGS=no'
14043 LINE=`grep "^wxUSE_COMMONDLGS=" ${wx_arg_cache_file}`
14044 if test "x$LINE" != x ; then
14045 eval "DEFAULT_$LINE"
14051 wx_cv_use_commondlg='wxUSE_COMMONDLGS=${'DEFAULT_wxUSE_COMMONDLGS":-$defaultval}"
14056 eval "$wx_cv_use_commondlg"
14057 if test "x$cache" = xyes; then
14058 echo "wxUSE_COMMONDLGS=$wxUSE_COMMONDLGS" >> ${wx_arg_cache_file}.tmp
14061 if test x"$enablestring" = xdisable; then
14062 if test $wxUSE_COMMONDLGS = yes; then
14068 result=$wxUSE_COMMONDLGS
14071 { echo "$as_me:$LINENO: result: $result" >&5
14072 echo "${ECHO_T}$result" >&6; }
14076 defaultval=$wxUSE_ALL_FEATURES
14077 if test -z "$defaultval"; then
14078 if test x"$enablestring" = xdisable; then
14085 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-aboutdlg" >&5
14086 echo $ECHO_N "checking for --${enablestring:-enable}-aboutdlg... $ECHO_C" >&6; }
14087 # Check whether --enable-aboutdlg was given.
14088 if test "${enable_aboutdlg+set}" = set; then
14089 enableval=$enable_aboutdlg;
14090 if test "$enableval" = yes; then
14091 wx_cv_use_aboutdlg='wxUSE_ABOUTDLG=yes'
14093 wx_cv_use_aboutdlg='wxUSE_ABOUTDLG=no'
14099 LINE=`grep "^wxUSE_ABOUTDLG=" ${wx_arg_cache_file}`
14100 if test "x$LINE" != x ; then
14101 eval "DEFAULT_$LINE"
14107 wx_cv_use_aboutdlg='wxUSE_ABOUTDLG=${'DEFAULT_wxUSE_ABOUTDLG":-$defaultval}"
14112 eval "$wx_cv_use_aboutdlg"
14113 if test "x$cache" = xyes; then
14114 echo "wxUSE_ABOUTDLG=$wxUSE_ABOUTDLG" >> ${wx_arg_cache_file}.tmp
14117 if test x"$enablestring" = xdisable; then
14118 if test $wxUSE_ABOUTDLG = yes; then
14124 result=$wxUSE_ABOUTDLG
14127 { echo "$as_me:$LINENO: result: $result" >&5
14128 echo "${ECHO_T}$result" >&6; }
14132 defaultval=$wxUSE_ALL_FEATURES
14133 if test -z "$defaultval"; then
14134 if test x"$enablestring" = xdisable; then
14141 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choicedlg" >&5
14142 echo $ECHO_N "checking for --${enablestring:-enable}-choicedlg... $ECHO_C" >&6; }
14143 # Check whether --enable-choicedlg was given.
14144 if test "${enable_choicedlg+set}" = set; then
14145 enableval=$enable_choicedlg;
14146 if test "$enableval" = yes; then
14147 wx_cv_use_choicedlg='wxUSE_CHOICEDLG=yes'
14149 wx_cv_use_choicedlg='wxUSE_CHOICEDLG=no'
14155 LINE=`grep "^wxUSE_CHOICEDLG=" ${wx_arg_cache_file}`
14156 if test "x$LINE" != x ; then
14157 eval "DEFAULT_$LINE"
14163 wx_cv_use_choicedlg='wxUSE_CHOICEDLG=${'DEFAULT_wxUSE_CHOICEDLG":-$defaultval}"
14168 eval "$wx_cv_use_choicedlg"
14169 if test "x$cache" = xyes; then
14170 echo "wxUSE_CHOICEDLG=$wxUSE_CHOICEDLG" >> ${wx_arg_cache_file}.tmp
14173 if test x"$enablestring" = xdisable; then
14174 if test $wxUSE_CHOICEDLG = yes; then
14180 result=$wxUSE_CHOICEDLG
14183 { echo "$as_me:$LINENO: result: $result" >&5
14184 echo "${ECHO_T}$result" >&6; }
14188 defaultval=$wxUSE_ALL_FEATURES
14189 if test -z "$defaultval"; then
14190 if test x"$enablestring" = xdisable; then
14197 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-coldlg" >&5
14198 echo $ECHO_N "checking for --${enablestring:-enable}-coldlg... $ECHO_C" >&6; }
14199 # Check whether --enable-coldlg was given.
14200 if test "${enable_coldlg+set}" = set; then
14201 enableval=$enable_coldlg;
14202 if test "$enableval" = yes; then
14203 wx_cv_use_coldlg='wxUSE_COLOURDLG=yes'
14205 wx_cv_use_coldlg='wxUSE_COLOURDLG=no'
14211 LINE=`grep "^wxUSE_COLOURDLG=" ${wx_arg_cache_file}`
14212 if test "x$LINE" != x ; then
14213 eval "DEFAULT_$LINE"
14219 wx_cv_use_coldlg='wxUSE_COLOURDLG=${'DEFAULT_wxUSE_COLOURDLG":-$defaultval}"
14224 eval "$wx_cv_use_coldlg"
14225 if test "x$cache" = xyes; then
14226 echo "wxUSE_COLOURDLG=$wxUSE_COLOURDLG" >> ${wx_arg_cache_file}.tmp
14229 if test x"$enablestring" = xdisable; then
14230 if test $wxUSE_COLOURDLG = yes; then
14236 result=$wxUSE_COLOURDLG
14239 { echo "$as_me:$LINENO: result: $result" >&5
14240 echo "${ECHO_T}$result" >&6; }
14244 defaultval=$wxUSE_ALL_FEATURES
14245 if test -z "$defaultval"; then
14246 if test x"$enablestring" = xdisable; then
14253 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filedlg" >&5
14254 echo $ECHO_N "checking for --${enablestring:-enable}-filedlg... $ECHO_C" >&6; }
14255 # Check whether --enable-filedlg was given.
14256 if test "${enable_filedlg+set}" = set; then
14257 enableval=$enable_filedlg;
14258 if test "$enableval" = yes; then
14259 wx_cv_use_filedlg='wxUSE_FILEDLG=yes'
14261 wx_cv_use_filedlg='wxUSE_FILEDLG=no'
14267 LINE=`grep "^wxUSE_FILEDLG=" ${wx_arg_cache_file}`
14268 if test "x$LINE" != x ; then
14269 eval "DEFAULT_$LINE"
14275 wx_cv_use_filedlg='wxUSE_FILEDLG=${'DEFAULT_wxUSE_FILEDLG":-$defaultval}"
14280 eval "$wx_cv_use_filedlg"
14281 if test "x$cache" = xyes; then
14282 echo "wxUSE_FILEDLG=$wxUSE_FILEDLG" >> ${wx_arg_cache_file}.tmp
14285 if test x"$enablestring" = xdisable; then
14286 if test $wxUSE_FILEDLG = yes; then
14292 result=$wxUSE_FILEDLG
14295 { echo "$as_me:$LINENO: result: $result" >&5
14296 echo "${ECHO_T}$result" >&6; }
14300 defaultval=$wxUSE_ALL_FEATURES
14301 if test -z "$defaultval"; then
14302 if test x"$enablestring" = xdisable; then
14309 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-finddlg" >&5
14310 echo $ECHO_N "checking for --${enablestring:-enable}-finddlg... $ECHO_C" >&6; }
14311 # Check whether --enable-finddlg was given.
14312 if test "${enable_finddlg+set}" = set; then
14313 enableval=$enable_finddlg;
14314 if test "$enableval" = yes; then
14315 wx_cv_use_finddlg='wxUSE_FINDREPLDLG=yes'
14317 wx_cv_use_finddlg='wxUSE_FINDREPLDLG=no'
14323 LINE=`grep "^wxUSE_FINDREPLDLG=" ${wx_arg_cache_file}`
14324 if test "x$LINE" != x ; then
14325 eval "DEFAULT_$LINE"
14331 wx_cv_use_finddlg='wxUSE_FINDREPLDLG=${'DEFAULT_wxUSE_FINDREPLDLG":-$defaultval}"
14336 eval "$wx_cv_use_finddlg"
14337 if test "x$cache" = xyes; then
14338 echo "wxUSE_FINDREPLDLG=$wxUSE_FINDREPLDLG" >> ${wx_arg_cache_file}.tmp
14341 if test x"$enablestring" = xdisable; then
14342 if test $wxUSE_FINDREPLDLG = yes; then
14348 result=$wxUSE_FINDREPLDLG
14351 { echo "$as_me:$LINENO: result: $result" >&5
14352 echo "${ECHO_T}$result" >&6; }
14356 defaultval=$wxUSE_ALL_FEATURES
14357 if test -z "$defaultval"; then
14358 if test x"$enablestring" = xdisable; then
14365 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontdlg" >&5
14366 echo $ECHO_N "checking for --${enablestring:-enable}-fontdlg... $ECHO_C" >&6; }
14367 # Check whether --enable-fontdlg was given.
14368 if test "${enable_fontdlg+set}" = set; then
14369 enableval=$enable_fontdlg;
14370 if test "$enableval" = yes; then
14371 wx_cv_use_fontdlg='wxUSE_FONTDLG=yes'
14373 wx_cv_use_fontdlg='wxUSE_FONTDLG=no'
14379 LINE=`grep "^wxUSE_FONTDLG=" ${wx_arg_cache_file}`
14380 if test "x$LINE" != x ; then
14381 eval "DEFAULT_$LINE"
14387 wx_cv_use_fontdlg='wxUSE_FONTDLG=${'DEFAULT_wxUSE_FONTDLG":-$defaultval}"
14392 eval "$wx_cv_use_fontdlg"
14393 if test "x$cache" = xyes; then
14394 echo "wxUSE_FONTDLG=$wxUSE_FONTDLG" >> ${wx_arg_cache_file}.tmp
14397 if test x"$enablestring" = xdisable; then
14398 if test $wxUSE_FONTDLG = yes; then
14404 result=$wxUSE_FONTDLG
14407 { echo "$as_me:$LINENO: result: $result" >&5
14408 echo "${ECHO_T}$result" >&6; }
14412 defaultval=$wxUSE_ALL_FEATURES
14413 if test -z "$defaultval"; then
14414 if test x"$enablestring" = xdisable; then
14421 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dirdlg" >&5
14422 echo $ECHO_N "checking for --${enablestring:-enable}-dirdlg... $ECHO_C" >&6; }
14423 # Check whether --enable-dirdlg was given.
14424 if test "${enable_dirdlg+set}" = set; then
14425 enableval=$enable_dirdlg;
14426 if test "$enableval" = yes; then
14427 wx_cv_use_dirdlg='wxUSE_DIRDLG=yes'
14429 wx_cv_use_dirdlg='wxUSE_DIRDLG=no'
14435 LINE=`grep "^wxUSE_DIRDLG=" ${wx_arg_cache_file}`
14436 if test "x$LINE" != x ; then
14437 eval "DEFAULT_$LINE"
14443 wx_cv_use_dirdlg='wxUSE_DIRDLG=${'DEFAULT_wxUSE_DIRDLG":-$defaultval}"
14448 eval "$wx_cv_use_dirdlg"
14449 if test "x$cache" = xyes; then
14450 echo "wxUSE_DIRDLG=$wxUSE_DIRDLG" >> ${wx_arg_cache_file}.tmp
14453 if test x"$enablestring" = xdisable; then
14454 if test $wxUSE_DIRDLG = yes; then
14460 result=$wxUSE_DIRDLG
14463 { echo "$as_me:$LINENO: result: $result" >&5
14464 echo "${ECHO_T}$result" >&6; }
14468 defaultval=$wxUSE_ALL_FEATURES
14469 if test -z "$defaultval"; then
14470 if test x"$enablestring" = xdisable; then
14477 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-msgdlg" >&5
14478 echo $ECHO_N "checking for --${enablestring:-enable}-msgdlg... $ECHO_C" >&6; }
14479 # Check whether --enable-msgdlg was given.
14480 if test "${enable_msgdlg+set}" = set; then
14481 enableval=$enable_msgdlg;
14482 if test "$enableval" = yes; then
14483 wx_cv_use_msgdlg='wxUSE_MSGDLG=yes'
14485 wx_cv_use_msgdlg='wxUSE_MSGDLG=no'
14491 LINE=`grep "^wxUSE_MSGDLG=" ${wx_arg_cache_file}`
14492 if test "x$LINE" != x ; then
14493 eval "DEFAULT_$LINE"
14499 wx_cv_use_msgdlg='wxUSE_MSGDLG=${'DEFAULT_wxUSE_MSGDLG":-$defaultval}"
14504 eval "$wx_cv_use_msgdlg"
14505 if test "x$cache" = xyes; then
14506 echo "wxUSE_MSGDLG=$wxUSE_MSGDLG" >> ${wx_arg_cache_file}.tmp
14509 if test x"$enablestring" = xdisable; then
14510 if test $wxUSE_MSGDLG = yes; then
14516 result=$wxUSE_MSGDLG
14519 { echo "$as_me:$LINENO: result: $result" >&5
14520 echo "${ECHO_T}$result" >&6; }
14524 defaultval=$wxUSE_ALL_FEATURES
14525 if test -z "$defaultval"; then
14526 if test x"$enablestring" = xdisable; then
14533 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-numberdlg" >&5
14534 echo $ECHO_N "checking for --${enablestring:-enable}-numberdlg... $ECHO_C" >&6; }
14535 # Check whether --enable-numberdlg was given.
14536 if test "${enable_numberdlg+set}" = set; then
14537 enableval=$enable_numberdlg;
14538 if test "$enableval" = yes; then
14539 wx_cv_use_numberdlg='wxUSE_NUMBERDLG=yes'
14541 wx_cv_use_numberdlg='wxUSE_NUMBERDLG=no'
14547 LINE=`grep "^wxUSE_NUMBERDLG=" ${wx_arg_cache_file}`
14548 if test "x$LINE" != x ; then
14549 eval "DEFAULT_$LINE"
14555 wx_cv_use_numberdlg='wxUSE_NUMBERDLG=${'DEFAULT_wxUSE_NUMBERDLG":-$defaultval}"
14560 eval "$wx_cv_use_numberdlg"
14561 if test "x$cache" = xyes; then
14562 echo "wxUSE_NUMBERDLG=$wxUSE_NUMBERDLG" >> ${wx_arg_cache_file}.tmp
14565 if test x"$enablestring" = xdisable; then
14566 if test $wxUSE_NUMBERDLG = yes; then
14572 result=$wxUSE_NUMBERDLG
14575 { echo "$as_me:$LINENO: result: $result" >&5
14576 echo "${ECHO_T}$result" >&6; }
14580 defaultval=$wxUSE_ALL_FEATURES
14581 if test -z "$defaultval"; then
14582 if test x"$enablestring" = xdisable; then
14589 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splash" >&5
14590 echo $ECHO_N "checking for --${enablestring:-enable}-splash... $ECHO_C" >&6; }
14591 # Check whether --enable-splash was given.
14592 if test "${enable_splash+set}" = set; then
14593 enableval=$enable_splash;
14594 if test "$enableval" = yes; then
14595 wx_cv_use_splash='wxUSE_SPLASH=yes'
14597 wx_cv_use_splash='wxUSE_SPLASH=no'
14603 LINE=`grep "^wxUSE_SPLASH=" ${wx_arg_cache_file}`
14604 if test "x$LINE" != x ; then
14605 eval "DEFAULT_$LINE"
14611 wx_cv_use_splash='wxUSE_SPLASH=${'DEFAULT_wxUSE_SPLASH":-$defaultval}"
14616 eval "$wx_cv_use_splash"
14617 if test "x$cache" = xyes; then
14618 echo "wxUSE_SPLASH=$wxUSE_SPLASH" >> ${wx_arg_cache_file}.tmp
14621 if test x"$enablestring" = xdisable; then
14622 if test $wxUSE_SPLASH = yes; then
14628 result=$wxUSE_SPLASH
14631 { echo "$as_me:$LINENO: result: $result" >&5
14632 echo "${ECHO_T}$result" >&6; }
14636 defaultval=$wxUSE_ALL_FEATURES
14637 if test -z "$defaultval"; then
14638 if test x"$enablestring" = xdisable; then
14645 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textdlg" >&5
14646 echo $ECHO_N "checking for --${enablestring:-enable}-textdlg... $ECHO_C" >&6; }
14647 # Check whether --enable-textdlg was given.
14648 if test "${enable_textdlg+set}" = set; then
14649 enableval=$enable_textdlg;
14650 if test "$enableval" = yes; then
14651 wx_cv_use_textdlg='wxUSE_TEXTDLG=yes'
14653 wx_cv_use_textdlg='wxUSE_TEXTDLG=no'
14659 LINE=`grep "^wxUSE_TEXTDLG=" ${wx_arg_cache_file}`
14660 if test "x$LINE" != x ; then
14661 eval "DEFAULT_$LINE"
14667 wx_cv_use_textdlg='wxUSE_TEXTDLG=${'DEFAULT_wxUSE_TEXTDLG":-$defaultval}"
14672 eval "$wx_cv_use_textdlg"
14673 if test "x$cache" = xyes; then
14674 echo "wxUSE_TEXTDLG=$wxUSE_TEXTDLG" >> ${wx_arg_cache_file}.tmp
14677 if test x"$enablestring" = xdisable; then
14678 if test $wxUSE_TEXTDLG = yes; then
14684 result=$wxUSE_TEXTDLG
14687 { echo "$as_me:$LINENO: result: $result" >&5
14688 echo "${ECHO_T}$result" >&6; }
14692 defaultval=$wxUSE_ALL_FEATURES
14693 if test -z "$defaultval"; then
14694 if test x"$enablestring" = xdisable; then
14701 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipdlg" >&5
14702 echo $ECHO_N "checking for --${enablestring:-enable}-tipdlg... $ECHO_C" >&6; }
14703 # Check whether --enable-tipdlg was given.
14704 if test "${enable_tipdlg+set}" = set; then
14705 enableval=$enable_tipdlg;
14706 if test "$enableval" = yes; then
14707 wx_cv_use_tipdlg='wxUSE_STARTUP_TIPS=yes'
14709 wx_cv_use_tipdlg='wxUSE_STARTUP_TIPS=no'
14715 LINE=`grep "^wxUSE_STARTUP_TIPS=" ${wx_arg_cache_file}`
14716 if test "x$LINE" != x ; then
14717 eval "DEFAULT_$LINE"
14723 wx_cv_use_tipdlg='wxUSE_STARTUP_TIPS=${'DEFAULT_wxUSE_STARTUP_TIPS":-$defaultval}"
14728 eval "$wx_cv_use_tipdlg"
14729 if test "x$cache" = xyes; then
14730 echo "wxUSE_STARTUP_TIPS=$wxUSE_STARTUP_TIPS" >> ${wx_arg_cache_file}.tmp
14733 if test x"$enablestring" = xdisable; then
14734 if test $wxUSE_STARTUP_TIPS = yes; then
14740 result=$wxUSE_STARTUP_TIPS
14743 { echo "$as_me:$LINENO: result: $result" >&5
14744 echo "${ECHO_T}$result" >&6; }
14748 defaultval=$wxUSE_ALL_FEATURES
14749 if test -z "$defaultval"; then
14750 if test x"$enablestring" = xdisable; then
14757 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-progressdlg" >&5
14758 echo $ECHO_N "checking for --${enablestring:-enable}-progressdlg... $ECHO_C" >&6; }
14759 # Check whether --enable-progressdlg was given.
14760 if test "${enable_progressdlg+set}" = set; then
14761 enableval=$enable_progressdlg;
14762 if test "$enableval" = yes; then
14763 wx_cv_use_progressdlg='wxUSE_PROGRESSDLG=yes'
14765 wx_cv_use_progressdlg='wxUSE_PROGRESSDLG=no'
14771 LINE=`grep "^wxUSE_PROGRESSDLG=" ${wx_arg_cache_file}`
14772 if test "x$LINE" != x ; then
14773 eval "DEFAULT_$LINE"
14779 wx_cv_use_progressdlg='wxUSE_PROGRESSDLG=${'DEFAULT_wxUSE_PROGRESSDLG":-$defaultval}"
14784 eval "$wx_cv_use_progressdlg"
14785 if test "x$cache" = xyes; then
14786 echo "wxUSE_PROGRESSDLG=$wxUSE_PROGRESSDLG" >> ${wx_arg_cache_file}.tmp
14789 if test x"$enablestring" = xdisable; then
14790 if test $wxUSE_PROGRESSDLG = yes; then
14796 result=$wxUSE_PROGRESSDLG
14799 { echo "$as_me:$LINENO: result: $result" >&5
14800 echo "${ECHO_T}$result" >&6; }
14804 defaultval=$wxUSE_ALL_FEATURES
14805 if test -z "$defaultval"; then
14806 if test x"$enablestring" = xdisable; then
14813 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-wizarddlg" >&5
14814 echo $ECHO_N "checking for --${enablestring:-enable}-wizarddlg... $ECHO_C" >&6; }
14815 # Check whether --enable-wizarddlg was given.
14816 if test "${enable_wizarddlg+set}" = set; then
14817 enableval=$enable_wizarddlg;
14818 if test "$enableval" = yes; then
14819 wx_cv_use_wizarddlg='wxUSE_WIZARDDLG=yes'
14821 wx_cv_use_wizarddlg='wxUSE_WIZARDDLG=no'
14827 LINE=`grep "^wxUSE_WIZARDDLG=" ${wx_arg_cache_file}`
14828 if test "x$LINE" != x ; then
14829 eval "DEFAULT_$LINE"
14835 wx_cv_use_wizarddlg='wxUSE_WIZARDDLG=${'DEFAULT_wxUSE_WIZARDDLG":-$defaultval}"
14840 eval "$wx_cv_use_wizarddlg"
14841 if test "x$cache" = xyes; then
14842 echo "wxUSE_WIZARDDLG=$wxUSE_WIZARDDLG" >> ${wx_arg_cache_file}.tmp
14845 if test x"$enablestring" = xdisable; then
14846 if test $wxUSE_WIZARDDLG = yes; then
14852 result=$wxUSE_WIZARDDLG
14855 { echo "$as_me:$LINENO: result: $result" >&5
14856 echo "${ECHO_T}$result" >&6; }
14862 defaultval=$wxUSE_ALL_FEATURES
14863 if test -z "$defaultval"; then
14864 if test x"$enablestring" = xdisable; then
14871 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-menus" >&5
14872 echo $ECHO_N "checking for --${enablestring:-enable}-menus... $ECHO_C" >&6; }
14873 # Check whether --enable-menus was given.
14874 if test "${enable_menus+set}" = set; then
14875 enableval=$enable_menus;
14876 if test "$enableval" = yes; then
14877 wx_cv_use_menus='wxUSE_MENUS=yes'
14879 wx_cv_use_menus='wxUSE_MENUS=no'
14885 LINE=`grep "^wxUSE_MENUS=" ${wx_arg_cache_file}`
14886 if test "x$LINE" != x ; then
14887 eval "DEFAULT_$LINE"
14893 wx_cv_use_menus='wxUSE_MENUS=${'DEFAULT_wxUSE_MENUS":-$defaultval}"
14898 eval "$wx_cv_use_menus"
14899 if test "x$cache" = xyes; then
14900 echo "wxUSE_MENUS=$wxUSE_MENUS" >> ${wx_arg_cache_file}.tmp
14903 if test x"$enablestring" = xdisable; then
14904 if test $wxUSE_MENUS = yes; then
14910 result=$wxUSE_MENUS
14913 { echo "$as_me:$LINENO: result: $result" >&5
14914 echo "${ECHO_T}$result" >&6; }
14918 defaultval=$wxUSE_ALL_FEATURES
14919 if test -z "$defaultval"; then
14920 if test x"$enablestring" = xdisable; then
14927 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-miniframe" >&5
14928 echo $ECHO_N "checking for --${enablestring:-enable}-miniframe... $ECHO_C" >&6; }
14929 # Check whether --enable-miniframe was given.
14930 if test "${enable_miniframe+set}" = set; then
14931 enableval=$enable_miniframe;
14932 if test "$enableval" = yes; then
14933 wx_cv_use_miniframe='wxUSE_MINIFRAME=yes'
14935 wx_cv_use_miniframe='wxUSE_MINIFRAME=no'
14941 LINE=`grep "^wxUSE_MINIFRAME=" ${wx_arg_cache_file}`
14942 if test "x$LINE" != x ; then
14943 eval "DEFAULT_$LINE"
14949 wx_cv_use_miniframe='wxUSE_MINIFRAME=${'DEFAULT_wxUSE_MINIFRAME":-$defaultval}"
14954 eval "$wx_cv_use_miniframe"
14955 if test "x$cache" = xyes; then
14956 echo "wxUSE_MINIFRAME=$wxUSE_MINIFRAME" >> ${wx_arg_cache_file}.tmp
14959 if test x"$enablestring" = xdisable; then
14960 if test $wxUSE_MINIFRAME = yes; then
14966 result=$wxUSE_MINIFRAME
14969 { echo "$as_me:$LINENO: result: $result" >&5
14970 echo "${ECHO_T}$result" >&6; }
14974 defaultval=$wxUSE_ALL_FEATURES
14975 if test -z "$defaultval"; then
14976 if test x"$enablestring" = xdisable; then
14983 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tooltips" >&5
14984 echo $ECHO_N "checking for --${enablestring:-enable}-tooltips... $ECHO_C" >&6; }
14985 # Check whether --enable-tooltips was given.
14986 if test "${enable_tooltips+set}" = set; then
14987 enableval=$enable_tooltips;
14988 if test "$enableval" = yes; then
14989 wx_cv_use_tooltips='wxUSE_TOOLTIPS=yes'
14991 wx_cv_use_tooltips='wxUSE_TOOLTIPS=no'
14997 LINE=`grep "^wxUSE_TOOLTIPS=" ${wx_arg_cache_file}`
14998 if test "x$LINE" != x ; then
14999 eval "DEFAULT_$LINE"
15005 wx_cv_use_tooltips='wxUSE_TOOLTIPS=${'DEFAULT_wxUSE_TOOLTIPS":-$defaultval}"
15010 eval "$wx_cv_use_tooltips"
15011 if test "x$cache" = xyes; then
15012 echo "wxUSE_TOOLTIPS=$wxUSE_TOOLTIPS" >> ${wx_arg_cache_file}.tmp
15015 if test x"$enablestring" = xdisable; then
15016 if test $wxUSE_TOOLTIPS = yes; then
15022 result=$wxUSE_TOOLTIPS
15025 { echo "$as_me:$LINENO: result: $result" >&5
15026 echo "${ECHO_T}$result" >&6; }
15030 defaultval=$wxUSE_ALL_FEATURES
15031 if test -z "$defaultval"; then
15032 if test x"$enablestring" = xdisable; then
15039 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splines" >&5
15040 echo $ECHO_N "checking for --${enablestring:-enable}-splines... $ECHO_C" >&6; }
15041 # Check whether --enable-splines was given.
15042 if test "${enable_splines+set}" = set; then
15043 enableval=$enable_splines;
15044 if test "$enableval" = yes; then
15045 wx_cv_use_splines='wxUSE_SPLINES=yes'
15047 wx_cv_use_splines='wxUSE_SPLINES=no'
15053 LINE=`grep "^wxUSE_SPLINES=" ${wx_arg_cache_file}`
15054 if test "x$LINE" != x ; then
15055 eval "DEFAULT_$LINE"
15061 wx_cv_use_splines='wxUSE_SPLINES=${'DEFAULT_wxUSE_SPLINES":-$defaultval}"
15066 eval "$wx_cv_use_splines"
15067 if test "x$cache" = xyes; then
15068 echo "wxUSE_SPLINES=$wxUSE_SPLINES" >> ${wx_arg_cache_file}.tmp
15071 if test x"$enablestring" = xdisable; then
15072 if test $wxUSE_SPLINES = yes; then
15078 result=$wxUSE_SPLINES
15081 { echo "$as_me:$LINENO: result: $result" >&5
15082 echo "${ECHO_T}$result" >&6; }
15086 defaultval=$wxUSE_ALL_FEATURES
15087 if test -z "$defaultval"; then
15088 if test x"$enablestring" = xdisable; then
15095 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mousewheel" >&5
15096 echo $ECHO_N "checking for --${enablestring:-enable}-mousewheel... $ECHO_C" >&6; }
15097 # Check whether --enable-mousewheel was given.
15098 if test "${enable_mousewheel+set}" = set; then
15099 enableval=$enable_mousewheel;
15100 if test "$enableval" = yes; then
15101 wx_cv_use_mousewheel='wxUSE_MOUSEWHEEL=yes'
15103 wx_cv_use_mousewheel='wxUSE_MOUSEWHEEL=no'
15109 LINE=`grep "^wxUSE_MOUSEWHEEL=" ${wx_arg_cache_file}`
15110 if test "x$LINE" != x ; then
15111 eval "DEFAULT_$LINE"
15117 wx_cv_use_mousewheel='wxUSE_MOUSEWHEEL=${'DEFAULT_wxUSE_MOUSEWHEEL":-$defaultval}"
15122 eval "$wx_cv_use_mousewheel"
15123 if test "x$cache" = xyes; then
15124 echo "wxUSE_MOUSEWHEEL=$wxUSE_MOUSEWHEEL" >> ${wx_arg_cache_file}.tmp
15127 if test x"$enablestring" = xdisable; then
15128 if test $wxUSE_MOUSEWHEEL = yes; then
15134 result=$wxUSE_MOUSEWHEEL
15137 { echo "$as_me:$LINENO: result: $result" >&5
15138 echo "${ECHO_T}$result" >&6; }
15142 defaultval=$wxUSE_ALL_FEATURES
15143 if test -z "$defaultval"; then
15144 if test x"$enablestring" = xdisable; then
15151 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-validators" >&5
15152 echo $ECHO_N "checking for --${enablestring:-enable}-validators... $ECHO_C" >&6; }
15153 # Check whether --enable-validators was given.
15154 if test "${enable_validators+set}" = set; then
15155 enableval=$enable_validators;
15156 if test "$enableval" = yes; then
15157 wx_cv_use_validators='wxUSE_VALIDATORS=yes'
15159 wx_cv_use_validators='wxUSE_VALIDATORS=no'
15165 LINE=`grep "^wxUSE_VALIDATORS=" ${wx_arg_cache_file}`
15166 if test "x$LINE" != x ; then
15167 eval "DEFAULT_$LINE"
15173 wx_cv_use_validators='wxUSE_VALIDATORS=${'DEFAULT_wxUSE_VALIDATORS":-$defaultval}"
15178 eval "$wx_cv_use_validators"
15179 if test "x$cache" = xyes; then
15180 echo "wxUSE_VALIDATORS=$wxUSE_VALIDATORS" >> ${wx_arg_cache_file}.tmp
15183 if test x"$enablestring" = xdisable; then
15184 if test $wxUSE_VALIDATORS = yes; then
15190 result=$wxUSE_VALIDATORS
15193 { echo "$as_me:$LINENO: result: $result" >&5
15194 echo "${ECHO_T}$result" >&6; }
15198 defaultval=$wxUSE_ALL_FEATURES
15199 if test -z "$defaultval"; then
15200 if test x"$enablestring" = xdisable; then
15207 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-busyinfo" >&5
15208 echo $ECHO_N "checking for --${enablestring:-enable}-busyinfo... $ECHO_C" >&6; }
15209 # Check whether --enable-busyinfo was given.
15210 if test "${enable_busyinfo+set}" = set; then
15211 enableval=$enable_busyinfo;
15212 if test "$enableval" = yes; then
15213 wx_cv_use_busyinfo='wxUSE_BUSYINFO=yes'
15215 wx_cv_use_busyinfo='wxUSE_BUSYINFO=no'
15221 LINE=`grep "^wxUSE_BUSYINFO=" ${wx_arg_cache_file}`
15222 if test "x$LINE" != x ; then
15223 eval "DEFAULT_$LINE"
15229 wx_cv_use_busyinfo='wxUSE_BUSYINFO=${'DEFAULT_wxUSE_BUSYINFO":-$defaultval}"
15234 eval "$wx_cv_use_busyinfo"
15235 if test "x$cache" = xyes; then
15236 echo "wxUSE_BUSYINFO=$wxUSE_BUSYINFO" >> ${wx_arg_cache_file}.tmp
15239 if test x"$enablestring" = xdisable; then
15240 if test $wxUSE_BUSYINFO = yes; then
15246 result=$wxUSE_BUSYINFO
15249 { echo "$as_me:$LINENO: result: $result" >&5
15250 echo "${ECHO_T}$result" >&6; }
15254 defaultval=$wxUSE_ALL_FEATURES
15255 if test -z "$defaultval"; then
15256 if test x"$enablestring" = xdisable; then
15263 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-joystick" >&5
15264 echo $ECHO_N "checking for --${enablestring:-enable}-joystick... $ECHO_C" >&6; }
15265 # Check whether --enable-joystick was given.
15266 if test "${enable_joystick+set}" = set; then
15267 enableval=$enable_joystick;
15268 if test "$enableval" = yes; then
15269 wx_cv_use_joystick='wxUSE_JOYSTICK=yes'
15271 wx_cv_use_joystick='wxUSE_JOYSTICK=no'
15277 LINE=`grep "^wxUSE_JOYSTICK=" ${wx_arg_cache_file}`
15278 if test "x$LINE" != x ; then
15279 eval "DEFAULT_$LINE"
15285 wx_cv_use_joystick='wxUSE_JOYSTICK=${'DEFAULT_wxUSE_JOYSTICK":-$defaultval}"
15290 eval "$wx_cv_use_joystick"
15291 if test "x$cache" = xyes; then
15292 echo "wxUSE_JOYSTICK=$wxUSE_JOYSTICK" >> ${wx_arg_cache_file}.tmp
15295 if test x"$enablestring" = xdisable; then
15296 if test $wxUSE_JOYSTICK = yes; then
15302 result=$wxUSE_JOYSTICK
15305 { echo "$as_me:$LINENO: result: $result" >&5
15306 echo "${ECHO_T}$result" >&6; }
15310 defaultval=$wxUSE_ALL_FEATURES
15311 if test -z "$defaultval"; then
15312 if test x"$enablestring" = xdisable; then
15319 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
15320 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6; }
15321 # Check whether --enable-metafile was given.
15322 if test "${enable_metafile+set}" = set; then
15323 enableval=$enable_metafile;
15324 if test "$enableval" = yes; then
15325 wx_cv_use_metafile='wxUSE_METAFILE=yes'
15327 wx_cv_use_metafile='wxUSE_METAFILE=no'
15333 LINE=`grep "^wxUSE_METAFILE=" ${wx_arg_cache_file}`
15334 if test "x$LINE" != x ; then
15335 eval "DEFAULT_$LINE"
15341 wx_cv_use_metafile='wxUSE_METAFILE=${'DEFAULT_wxUSE_METAFILE":-$defaultval}"
15346 eval "$wx_cv_use_metafile"
15347 if test "x$cache" = xyes; then
15348 echo "wxUSE_METAFILE=$wxUSE_METAFILE" >> ${wx_arg_cache_file}.tmp
15351 if test x"$enablestring" = xdisable; then
15352 if test $wxUSE_METAFILE = yes; then
15358 result=$wxUSE_METAFILE
15361 { echo "$as_me:$LINENO: result: $result" >&5
15362 echo "${ECHO_T}$result" >&6; }
15366 defaultval=$wxUSE_ALL_FEATURES
15367 if test -z "$defaultval"; then
15368 if test x"$enablestring" = xdisable; then
15375 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dragimage" >&5
15376 echo $ECHO_N "checking for --${enablestring:-enable}-dragimage... $ECHO_C" >&6; }
15377 # Check whether --enable-dragimage was given.
15378 if test "${enable_dragimage+set}" = set; then
15379 enableval=$enable_dragimage;
15380 if test "$enableval" = yes; then
15381 wx_cv_use_dragimage='wxUSE_DRAGIMAGE=yes'
15383 wx_cv_use_dragimage='wxUSE_DRAGIMAGE=no'
15389 LINE=`grep "^wxUSE_DRAGIMAGE=" ${wx_arg_cache_file}`
15390 if test "x$LINE" != x ; then
15391 eval "DEFAULT_$LINE"
15397 wx_cv_use_dragimage='wxUSE_DRAGIMAGE=${'DEFAULT_wxUSE_DRAGIMAGE":-$defaultval}"
15402 eval "$wx_cv_use_dragimage"
15403 if test "x$cache" = xyes; then
15404 echo "wxUSE_DRAGIMAGE=$wxUSE_DRAGIMAGE" >> ${wx_arg_cache_file}.tmp
15407 if test x"$enablestring" = xdisable; then
15408 if test $wxUSE_DRAGIMAGE = yes; then
15414 result=$wxUSE_DRAGIMAGE
15417 { echo "$as_me:$LINENO: result: $result" >&5
15418 echo "${ECHO_T}$result" >&6; }
15422 defaultval=$wxUSE_ALL_FEATURES
15423 if test -z "$defaultval"; then
15424 if test x"$enablestring" = xdisable; then
15431 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accessibility" >&5
15432 echo $ECHO_N "checking for --${enablestring:-enable}-accessibility... $ECHO_C" >&6; }
15433 # Check whether --enable-accessibility was given.
15434 if test "${enable_accessibility+set}" = set; then
15435 enableval=$enable_accessibility;
15436 if test "$enableval" = yes; then
15437 wx_cv_use_accessibility='wxUSE_ACCESSIBILITY=yes'
15439 wx_cv_use_accessibility='wxUSE_ACCESSIBILITY=no'
15445 LINE=`grep "^wxUSE_ACCESSIBILITY=" ${wx_arg_cache_file}`
15446 if test "x$LINE" != x ; then
15447 eval "DEFAULT_$LINE"
15453 wx_cv_use_accessibility='wxUSE_ACCESSIBILITY=${'DEFAULT_wxUSE_ACCESSIBILITY":-$defaultval}"
15458 eval "$wx_cv_use_accessibility"
15459 if test "x$cache" = xyes; then
15460 echo "wxUSE_ACCESSIBILITY=$wxUSE_ACCESSIBILITY" >> ${wx_arg_cache_file}.tmp
15463 if test x"$enablestring" = xdisable; then
15464 if test $wxUSE_ACCESSIBILITY = yes; then
15470 result=$wxUSE_ACCESSIBILITY
15473 { echo "$as_me:$LINENO: result: $result" >&5
15474 echo "${ECHO_T}$result" >&6; }
15480 defaultval=$wxUSE_ALL_FEATURES
15481 if test -z "$defaultval"; then
15482 if test x"$enablestring" = xdisable; then
15489 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-palette" >&5
15490 echo $ECHO_N "checking for --${enablestring:-enable}-palette... $ECHO_C" >&6; }
15491 # Check whether --enable-palette was given.
15492 if test "${enable_palette+set}" = set; then
15493 enableval=$enable_palette;
15494 if test "$enableval" = yes; then
15495 wx_cv_use_palette='wxUSE_PALETTE=yes'
15497 wx_cv_use_palette='wxUSE_PALETTE=no'
15503 LINE=`grep "^wxUSE_PALETTE=" ${wx_arg_cache_file}`
15504 if test "x$LINE" != x ; then
15505 eval "DEFAULT_$LINE"
15511 wx_cv_use_palette='wxUSE_PALETTE=${'DEFAULT_wxUSE_PALETTE":-$defaultval}"
15516 eval "$wx_cv_use_palette"
15517 if test "x$cache" = xyes; then
15518 echo "wxUSE_PALETTE=$wxUSE_PALETTE" >> ${wx_arg_cache_file}.tmp
15521 if test x"$enablestring" = xdisable; then
15522 if test $wxUSE_PALETTE = yes; then
15528 result=$wxUSE_PALETTE
15531 { echo "$as_me:$LINENO: result: $result" >&5
15532 echo "${ECHO_T}$result" >&6; }
15536 defaultval=$wxUSE_ALL_FEATURES
15537 if test -z "$defaultval"; then
15538 if test x"$enablestring" = xdisable; then
15545 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-image" >&5
15546 echo $ECHO_N "checking for --${enablestring:-enable}-image... $ECHO_C" >&6; }
15547 # Check whether --enable-image was given.
15548 if test "${enable_image+set}" = set; then
15549 enableval=$enable_image;
15550 if test "$enableval" = yes; then
15551 wx_cv_use_image='wxUSE_IMAGE=yes'
15553 wx_cv_use_image='wxUSE_IMAGE=no'
15559 LINE=`grep "^wxUSE_IMAGE=" ${wx_arg_cache_file}`
15560 if test "x$LINE" != x ; then
15561 eval "DEFAULT_$LINE"
15567 wx_cv_use_image='wxUSE_IMAGE=${'DEFAULT_wxUSE_IMAGE":-$defaultval}"
15572 eval "$wx_cv_use_image"
15573 if test "x$cache" = xyes; then
15574 echo "wxUSE_IMAGE=$wxUSE_IMAGE" >> ${wx_arg_cache_file}.tmp
15577 if test x"$enablestring" = xdisable; then
15578 if test $wxUSE_IMAGE = yes; then
15584 result=$wxUSE_IMAGE
15587 { echo "$as_me:$LINENO: result: $result" >&5
15588 echo "${ECHO_T}$result" >&6; }
15592 defaultval=$wxUSE_ALL_FEATURES
15593 if test -z "$defaultval"; then
15594 if test x"$enablestring" = xdisable; then
15601 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gif" >&5
15602 echo $ECHO_N "checking for --${enablestring:-enable}-gif... $ECHO_C" >&6; }
15603 # Check whether --enable-gif was given.
15604 if test "${enable_gif+set}" = set; then
15605 enableval=$enable_gif;
15606 if test "$enableval" = yes; then
15607 wx_cv_use_gif='wxUSE_GIF=yes'
15609 wx_cv_use_gif='wxUSE_GIF=no'
15615 LINE=`grep "^wxUSE_GIF=" ${wx_arg_cache_file}`
15616 if test "x$LINE" != x ; then
15617 eval "DEFAULT_$LINE"
15623 wx_cv_use_gif='wxUSE_GIF=${'DEFAULT_wxUSE_GIF":-$defaultval}"
15628 eval "$wx_cv_use_gif"
15629 if test "x$cache" = xyes; then
15630 echo "wxUSE_GIF=$wxUSE_GIF" >> ${wx_arg_cache_file}.tmp
15633 if test x"$enablestring" = xdisable; then
15634 if test $wxUSE_GIF = yes; then
15643 { echo "$as_me:$LINENO: result: $result" >&5
15644 echo "${ECHO_T}$result" >&6; }
15648 defaultval=$wxUSE_ALL_FEATURES
15649 if test -z "$defaultval"; then
15650 if test x"$enablestring" = xdisable; then
15657 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pcx" >&5
15658 echo $ECHO_N "checking for --${enablestring:-enable}-pcx... $ECHO_C" >&6; }
15659 # Check whether --enable-pcx was given.
15660 if test "${enable_pcx+set}" = set; then
15661 enableval=$enable_pcx;
15662 if test "$enableval" = yes; then
15663 wx_cv_use_pcx='wxUSE_PCX=yes'
15665 wx_cv_use_pcx='wxUSE_PCX=no'
15671 LINE=`grep "^wxUSE_PCX=" ${wx_arg_cache_file}`
15672 if test "x$LINE" != x ; then
15673 eval "DEFAULT_$LINE"
15679 wx_cv_use_pcx='wxUSE_PCX=${'DEFAULT_wxUSE_PCX":-$defaultval}"
15684 eval "$wx_cv_use_pcx"
15685 if test "x$cache" = xyes; then
15686 echo "wxUSE_PCX=$wxUSE_PCX" >> ${wx_arg_cache_file}.tmp
15689 if test x"$enablestring" = xdisable; then
15690 if test $wxUSE_PCX = yes; then
15699 { echo "$as_me:$LINENO: result: $result" >&5
15700 echo "${ECHO_T}$result" >&6; }
15704 defaultval=$wxUSE_ALL_FEATURES
15705 if test -z "$defaultval"; then
15706 if test x"$enablestring" = xdisable; then
15713 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tga" >&5
15714 echo $ECHO_N "checking for --${enablestring:-enable}-tga... $ECHO_C" >&6; }
15715 # Check whether --enable-tga was given.
15716 if test "${enable_tga+set}" = set; then
15717 enableval=$enable_tga;
15718 if test "$enableval" = yes; then
15719 wx_cv_use_tga='wxUSE_TGA=yes'
15721 wx_cv_use_tga='wxUSE_TGA=no'
15727 LINE=`grep "^wxUSE_TGA=" ${wx_arg_cache_file}`
15728 if test "x$LINE" != x ; then
15729 eval "DEFAULT_$LINE"
15735 wx_cv_use_tga='wxUSE_TGA=${'DEFAULT_wxUSE_TGA":-$defaultval}"
15740 eval "$wx_cv_use_tga"
15741 if test "x$cache" = xyes; then
15742 echo "wxUSE_TGA=$wxUSE_TGA" >> ${wx_arg_cache_file}.tmp
15745 if test x"$enablestring" = xdisable; then
15746 if test $wxUSE_TGA = yes; then
15755 { echo "$as_me:$LINENO: result: $result" >&5
15756 echo "${ECHO_T}$result" >&6; }
15760 defaultval=$wxUSE_ALL_FEATURES
15761 if test -z "$defaultval"; then
15762 if test x"$enablestring" = xdisable; then
15769 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-iff" >&5
15770 echo $ECHO_N "checking for --${enablestring:-enable}-iff... $ECHO_C" >&6; }
15771 # Check whether --enable-iff was given.
15772 if test "${enable_iff+set}" = set; then
15773 enableval=$enable_iff;
15774 if test "$enableval" = yes; then
15775 wx_cv_use_iff='wxUSE_IFF=yes'
15777 wx_cv_use_iff='wxUSE_IFF=no'
15783 LINE=`grep "^wxUSE_IFF=" ${wx_arg_cache_file}`
15784 if test "x$LINE" != x ; then
15785 eval "DEFAULT_$LINE"
15791 wx_cv_use_iff='wxUSE_IFF=${'DEFAULT_wxUSE_IFF":-$defaultval}"
15796 eval "$wx_cv_use_iff"
15797 if test "x$cache" = xyes; then
15798 echo "wxUSE_IFF=$wxUSE_IFF" >> ${wx_arg_cache_file}.tmp
15801 if test x"$enablestring" = xdisable; then
15802 if test $wxUSE_IFF = yes; then
15811 { echo "$as_me:$LINENO: result: $result" >&5
15812 echo "${ECHO_T}$result" >&6; }
15816 defaultval=$wxUSE_ALL_FEATURES
15817 if test -z "$defaultval"; then
15818 if test x"$enablestring" = xdisable; then
15825 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pnm" >&5
15826 echo $ECHO_N "checking for --${enablestring:-enable}-pnm... $ECHO_C" >&6; }
15827 # Check whether --enable-pnm was given.
15828 if test "${enable_pnm+set}" = set; then
15829 enableval=$enable_pnm;
15830 if test "$enableval" = yes; then
15831 wx_cv_use_pnm='wxUSE_PNM=yes'
15833 wx_cv_use_pnm='wxUSE_PNM=no'
15839 LINE=`grep "^wxUSE_PNM=" ${wx_arg_cache_file}`
15840 if test "x$LINE" != x ; then
15841 eval "DEFAULT_$LINE"
15847 wx_cv_use_pnm='wxUSE_PNM=${'DEFAULT_wxUSE_PNM":-$defaultval}"
15852 eval "$wx_cv_use_pnm"
15853 if test "x$cache" = xyes; then
15854 echo "wxUSE_PNM=$wxUSE_PNM" >> ${wx_arg_cache_file}.tmp
15857 if test x"$enablestring" = xdisable; then
15858 if test $wxUSE_PNM = yes; then
15867 { echo "$as_me:$LINENO: result: $result" >&5
15868 echo "${ECHO_T}$result" >&6; }
15872 defaultval=$wxUSE_ALL_FEATURES
15873 if test -z "$defaultval"; then
15874 if test x"$enablestring" = xdisable; then
15881 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xpm" >&5
15882 echo $ECHO_N "checking for --${enablestring:-enable}-xpm... $ECHO_C" >&6; }
15883 # Check whether --enable-xpm was given.
15884 if test "${enable_xpm+set}" = set; then
15885 enableval=$enable_xpm;
15886 if test "$enableval" = yes; then
15887 wx_cv_use_xpm='wxUSE_XPM=yes'
15889 wx_cv_use_xpm='wxUSE_XPM=no'
15895 LINE=`grep "^wxUSE_XPM=" ${wx_arg_cache_file}`
15896 if test "x$LINE" != x ; then
15897 eval "DEFAULT_$LINE"
15903 wx_cv_use_xpm='wxUSE_XPM=${'DEFAULT_wxUSE_XPM":-$defaultval}"
15908 eval "$wx_cv_use_xpm"
15909 if test "x$cache" = xyes; then
15910 echo "wxUSE_XPM=$wxUSE_XPM" >> ${wx_arg_cache_file}.tmp
15913 if test x"$enablestring" = xdisable; then
15914 if test $wxUSE_XPM = yes; then
15923 { echo "$as_me:$LINENO: result: $result" >&5
15924 echo "${ECHO_T}$result" >&6; }
15928 defaultval=$wxUSE_ALL_FEATURES
15929 if test -z "$defaultval"; then
15930 if test x"$enablestring" = xdisable; then
15937 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ico_cur" >&5
15938 echo $ECHO_N "checking for --${enablestring:-enable}-ico_cur... $ECHO_C" >&6; }
15939 # Check whether --enable-ico_cur was given.
15940 if test "${enable_ico_cur+set}" = set; then
15941 enableval=$enable_ico_cur;
15942 if test "$enableval" = yes; then
15943 wx_cv_use_ico_cur='wxUSE_ICO_CUR=yes'
15945 wx_cv_use_ico_cur='wxUSE_ICO_CUR=no'
15951 LINE=`grep "^wxUSE_ICO_CUR=" ${wx_arg_cache_file}`
15952 if test "x$LINE" != x ; then
15953 eval "DEFAULT_$LINE"
15959 wx_cv_use_ico_cur='wxUSE_ICO_CUR=${'DEFAULT_wxUSE_ICO_CUR":-$defaultval}"
15964 eval "$wx_cv_use_ico_cur"
15965 if test "x$cache" = xyes; then
15966 echo "wxUSE_ICO_CUR=$wxUSE_ICO_CUR" >> ${wx_arg_cache_file}.tmp
15969 if test x"$enablestring" = xdisable; then
15970 if test $wxUSE_ICO_CUR = yes; then
15976 result=$wxUSE_ICO_CUR
15979 { echo "$as_me:$LINENO: result: $result" >&5
15980 echo "${ECHO_T}$result" >&6; }
15986 defaultval=$wxUSE_ALL_FEATURES
15987 if test -z "$defaultval"; then
15988 if test x"$enablestring" = xdisable; then
15995 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dccache" >&5
15996 echo $ECHO_N "checking for --${enablestring:-enable}-dccache... $ECHO_C" >&6; }
15997 # Check whether --enable-dccache was given.
15998 if test "${enable_dccache+set}" = set; then
15999 enableval=$enable_dccache;
16000 if test "$enableval" = yes; then
16001 wx_cv_use_dccache='wxUSE_DC_CACHEING=yes'
16003 wx_cv_use_dccache='wxUSE_DC_CACHEING=no'
16009 LINE=`grep "^wxUSE_DC_CACHEING=" ${wx_arg_cache_file}`
16010 if test "x$LINE" != x ; then
16011 eval "DEFAULT_$LINE"
16017 wx_cv_use_dccache='wxUSE_DC_CACHEING=${'DEFAULT_wxUSE_DC_CACHEING":-$defaultval}"
16022 eval "$wx_cv_use_dccache"
16023 if test "x$cache" = xyes; then
16024 echo "wxUSE_DC_CACHEING=$wxUSE_DC_CACHEING" >> ${wx_arg_cache_file}.tmp
16027 if test x"$enablestring" = xdisable; then
16028 if test $wxUSE_DC_CACHEING = yes; then
16034 result=$wxUSE_DC_CACHEING
16037 { echo "$as_me:$LINENO: result: $result" >&5
16038 echo "${ECHO_T}$result" >&6; }
16043 if test -z "$defaultval"; then
16044 if test x"$enablestring" = xdisable; then
16051 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-iniconf" >&5
16052 echo $ECHO_N "checking for --${enablestring:-enable}-iniconf... $ECHO_C" >&6; }
16053 # Check whether --enable-iniconf was given.
16054 if test "${enable_iniconf+set}" = set; then
16055 enableval=$enable_iniconf;
16056 if test "$enableval" = yes; then
16057 wx_cv_use_iniconf='wxUSE_INICONF=yes'
16059 wx_cv_use_iniconf='wxUSE_INICONF=no'
16065 LINE=`grep "^wxUSE_INICONF=" ${wx_arg_cache_file}`
16066 if test "x$LINE" != x ; then
16067 eval "DEFAULT_$LINE"
16073 wx_cv_use_iniconf='wxUSE_INICONF=${'DEFAULT_wxUSE_INICONF":-$defaultval}"
16078 eval "$wx_cv_use_iniconf"
16079 if test "x$cache" = xyes; then
16080 echo "wxUSE_INICONF=$wxUSE_INICONF" >> ${wx_arg_cache_file}.tmp
16083 if test x"$enablestring" = xdisable; then
16084 if test $wxUSE_INICONF = yes; then
16090 result=$wxUSE_INICONF
16093 { echo "$as_me:$LINENO: result: $result" >&5
16094 echo "${ECHO_T}$result" >&6; }
16098 defaultval=$wxUSE_ALL_FEATURES
16099 if test -z "$defaultval"; then
16100 if test x"$enablestring" = xdisable; then
16107 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ps-in-msw" >&5
16108 echo $ECHO_N "checking for --${enablestring:-enable}-ps-in-msw... $ECHO_C" >&6; }
16109 # Check whether --enable-ps-in-msw was given.
16110 if test "${enable_ps_in_msw+set}" = set; then
16111 enableval=$enable_ps_in_msw;
16112 if test "$enableval" = yes; then
16113 wx_cv_use_ps_in_msw='wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW=yes'
16115 wx_cv_use_ps_in_msw='wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW=no'
16121 LINE=`grep "^wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW=" ${wx_arg_cache_file}`
16122 if test "x$LINE" != x ; then
16123 eval "DEFAULT_$LINE"
16129 wx_cv_use_ps_in_msw='wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW=${'DEFAULT_wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW":-$defaultval}"
16134 eval "$wx_cv_use_ps_in_msw"
16135 if test "x$cache" = xyes; then
16136 echo "wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW=$wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW" >> ${wx_arg_cache_file}.tmp
16139 if test x"$enablestring" = xdisable; then
16140 if test $wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW = yes; then
16146 result=$wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW
16149 { echo "$as_me:$LINENO: result: $result" >&5
16150 echo "${ECHO_T}$result" >&6; }
16154 defaultval=$wxUSE_ALL_FEATURES
16155 if test -z "$defaultval"; then
16156 if test x"$enablestring" = xdisable; then
16163 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ownerdrawn" >&5
16164 echo $ECHO_N "checking for --${enablestring:-enable}-ownerdrawn... $ECHO_C" >&6; }
16165 # Check whether --enable-ownerdrawn was given.
16166 if test "${enable_ownerdrawn+set}" = set; then
16167 enableval=$enable_ownerdrawn;
16168 if test "$enableval" = yes; then
16169 wx_cv_use_ownerdrawn='wxUSE_OWNER_DRAWN=yes'
16171 wx_cv_use_ownerdrawn='wxUSE_OWNER_DRAWN=no'
16177 LINE=`grep "^wxUSE_OWNER_DRAWN=" ${wx_arg_cache_file}`
16178 if test "x$LINE" != x ; then
16179 eval "DEFAULT_$LINE"
16185 wx_cv_use_ownerdrawn='wxUSE_OWNER_DRAWN=${'DEFAULT_wxUSE_OWNER_DRAWN":-$defaultval}"
16190 eval "$wx_cv_use_ownerdrawn"
16191 if test "x$cache" = xyes; then
16192 echo "wxUSE_OWNER_DRAWN=$wxUSE_OWNER_DRAWN" >> ${wx_arg_cache_file}.tmp
16195 if test x"$enablestring" = xdisable; then
16196 if test $wxUSE_OWNER_DRAWN = yes; then
16202 result=$wxUSE_OWNER_DRAWN
16205 { echo "$as_me:$LINENO: result: $result" >&5
16206 echo "${ECHO_T}$result" >&6; }
16210 defaultval=$wxUSE_ALL_FEATURES
16211 if test -z "$defaultval"; then
16212 if test x"$enablestring" = xdisable; then
16219 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-regkey" >&5
16220 echo $ECHO_N "checking for --${enablestring:-enable}-regkey... $ECHO_C" >&6; }
16221 # Check whether --enable-regkey was given.
16222 if test "${enable_regkey+set}" = set; then
16223 enableval=$enable_regkey;
16224 if test "$enableval" = yes; then
16225 wx_cv_use_regkey='wxUSE_REGKEY=yes'
16227 wx_cv_use_regkey='wxUSE_REGKEY=no'
16233 LINE=`grep "^wxUSE_REGKEY=" ${wx_arg_cache_file}`
16234 if test "x$LINE" != x ; then
16235 eval "DEFAULT_$LINE"
16241 wx_cv_use_regkey='wxUSE_REGKEY=${'DEFAULT_wxUSE_REGKEY":-$defaultval}"
16246 eval "$wx_cv_use_regkey"
16247 if test "x$cache" = xyes; then
16248 echo "wxUSE_REGKEY=$wxUSE_REGKEY" >> ${wx_arg_cache_file}.tmp
16251 if test x"$enablestring" = xdisable; then
16252 if test $wxUSE_REGKEY = yes; then
16258 result=$wxUSE_REGKEY
16261 { echo "$as_me:$LINENO: result: $result" >&5
16262 echo "${ECHO_T}$result" >&6; }
16266 defaultval=$wxUSE_ALL_FEATURES
16267 if test -z "$defaultval"; then
16268 if test x"$enablestring" = xdisable; then
16275 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-uxtheme" >&5
16276 echo $ECHO_N "checking for --${enablestring:-enable}-uxtheme... $ECHO_C" >&6; }
16277 # Check whether --enable-uxtheme was given.
16278 if test "${enable_uxtheme+set}" = set; then
16279 enableval=$enable_uxtheme;
16280 if test "$enableval" = yes; then
16281 wx_cv_use_uxtheme='wxUSE_UXTHEME=yes'
16283 wx_cv_use_uxtheme='wxUSE_UXTHEME=no'
16289 LINE=`grep "^wxUSE_UXTHEME=" ${wx_arg_cache_file}`
16290 if test "x$LINE" != x ; then
16291 eval "DEFAULT_$LINE"
16297 wx_cv_use_uxtheme='wxUSE_UXTHEME=${'DEFAULT_wxUSE_UXTHEME":-$defaultval}"
16302 eval "$wx_cv_use_uxtheme"
16303 if test "x$cache" = xyes; then
16304 echo "wxUSE_UXTHEME=$wxUSE_UXTHEME" >> ${wx_arg_cache_file}.tmp
16307 if test x"$enablestring" = xdisable; then
16308 if test $wxUSE_UXTHEME = yes; then
16314 result=$wxUSE_UXTHEME
16317 { echo "$as_me:$LINENO: result: $result" >&5
16318 echo "${ECHO_T}$result" >&6; }
16322 defaultval=$wxUSE_ALL_FEATURES
16323 if test -z "$defaultval"; then
16324 if test x"$enablestring" = xdisable; then
16331 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-wxdib" >&5
16332 echo $ECHO_N "checking for --${enablestring:-enable}-wxdib... $ECHO_C" >&6; }
16333 # Check whether --enable-wxdib was given.
16334 if test "${enable_wxdib+set}" = set; then
16335 enableval=$enable_wxdib;
16336 if test "$enableval" = yes; then
16337 wx_cv_use_wxdib='wxUSE_DIB=yes'
16339 wx_cv_use_wxdib='wxUSE_DIB=no'
16345 LINE=`grep "^wxUSE_DIB=" ${wx_arg_cache_file}`
16346 if test "x$LINE" != x ; then
16347 eval "DEFAULT_$LINE"
16353 wx_cv_use_wxdib='wxUSE_DIB=${'DEFAULT_wxUSE_DIB":-$defaultval}"
16358 eval "$wx_cv_use_wxdib"
16359 if test "x$cache" = xyes; then
16360 echo "wxUSE_DIB=$wxUSE_DIB" >> ${wx_arg_cache_file}.tmp
16363 if test x"$enablestring" = xdisable; then
16364 if test $wxUSE_DIB = yes; then
16373 { echo "$as_me:$LINENO: result: $result" >&5
16374 echo "${ECHO_T}$result" >&6; }
16380 echo "saving argument cache $wx_arg_cache_file"
16381 mv ${wx_arg_cache_file}.tmp ${wx_arg_cache_file}
16385 { echo "$as_me:$LINENO: checking for toolkit" >&5
16386 echo $ECHO_N "checking for toolkit... $ECHO_C" >&6; }
16388 # In Wine, we need to default to MSW, not GTK or MOTIF
16389 if test "$wxUSE_WINE" = "yes"; then
16390 DEFAULT_DEFAULT_wxUSE_GTK=0
16391 DEFAULT_DEFAULT_wxUSE_MOTIF=0
16392 DEFAULT_DEFAULT_wxUSE_MSW=1
16395 CXX=${CXX:-wineg++}
16399 if test "$wxUSE_GUI" = "yes"; then
16401 if test "$USE_BEOS" = 1; then
16402 { { echo "$as_me:$LINENO: error: BeOS GUI is not supported yet, use --disable-gui" >&5
16403 echo "$as_me: error: BeOS GUI is not supported yet, use --disable-gui" >&2;}
16404 { (exit 1); exit 1; }; }
16407 if test "$TOOLKIT_GIVEN" = 1; then
16408 for toolkit in `echo $ALL_TOOLKITS`; do
16410 eval "value=\$${var}"
16411 if test "x$value" = "xno"; then
16413 elif test "x$value" != "x"; then
16417 if test "x$value" != "x" -a "x$value" != "xyes" -a "x$value" != "xno"; then
16418 eval "wx${toolkit}_VERSION=$value"
16422 for toolkit in `echo $ALL_TOOLKITS`; do
16423 if test "$has_toolkit_in_cache" != 1; then
16424 var=DEFAULT_DEFAULT_wxUSE_$toolkit
16426 var=DEFAULT_wxUSE_$toolkit
16428 eval "version=\$DEFAULT_wx${toolkit}_VERSION"
16429 if test "x$version" != "x"; then
16430 eval "wx${toolkit}_VERSION=$version"
16433 eval "wxUSE_$toolkit=\$${var}"
16437 NUM_TOOLKITS=`expr ${wxUSE_COCOA:-0} + ${wxUSE_GTK:-0} + ${wxUSE_MAC:-0} \
16438 + ${wxUSE_MGL:-0} + ${wxUSE_DFB:-0} + ${wxUSE_MICROWIN:-0} \
16439 + ${wxUSE_MOTIF:-0} + ${wxUSE_MSW:-0} + ${wxUSE_X11:-0}`
16442 *-pc-os2_emx | *-pc-os2-emx )
16443 NUM_TOOLKITS=`expr ${NUM_TOOLKITS} + ${wxUSE_PM:-0}`
16446 case "$NUM_TOOLKITS" in
16450 { { echo "$as_me:$LINENO: error: Please specify a toolkit -- cannot determine the default for ${host}" >&5
16451 echo "$as_me: error: Please specify a toolkit -- cannot determine the default for ${host}" >&2;}
16452 { (exit 1); exit 1; }; }
16455 { { echo "$as_me:$LINENO: error: Please specify at most one toolkit (maybe some are cached in configarg.cache?)" >&5
16456 echo "$as_me: error: Please specify at most one toolkit (maybe some are cached in configarg.cache?)" >&2;}
16457 { (exit 1); exit 1; }; }
16460 # to be removed when --disable-gtk2 isn't needed
16461 if test "x$wxUSE_GTK2" = "xyes"; then
16463 elif test "x$wxUSE_GTK2" = "xno"; then
16467 for toolkit in `echo $ALL_TOOLKITS`; do
16469 eval "value=\$${var}"
16470 if test "x$value" != x; then
16471 cache_var=CACHE_$toolkit
16472 eval "cache=\$${cache_var}"
16473 if test "$cache" = 1; then
16474 echo "$var=$value" >> ${wx_arg_cache_file}
16475 eval "version=\$wx${toolkit}_VERSION"
16476 if test "x$version" != "x"; then
16477 echo "wx${toolkit}_VERSION=$version" >> ${wx_arg_cache_file}
16480 if test "$value" = 1; then
16481 toolkit_echo=`echo $toolkit | tr "[A-Z]" "[a-z]"`
16482 { echo "$as_me:$LINENO: result: $toolkit_echo" >&5
16483 echo "${ECHO_T}$toolkit_echo" >&6; }
16488 if test "x$host_alias" != "x"; then
16489 { echo "$as_me:$LINENO: result: base ($host_alias hosted) only" >&5
16490 echo "${ECHO_T}base ($host_alias hosted) only" >&6; }
16492 { echo "$as_me:$LINENO: result: base only" >&5
16493 echo "${ECHO_T}base only" >&6; }
16498 cat >confcache <<\_ACEOF
16499 # This file is a shell script that caches the results of configure
16500 # tests run on this system so they can be shared between configure
16501 # scripts and configure runs, see configure's option --config-cache.
16502 # It is not useful on other systems. If it contains results you don't
16503 # want to keep, you may remove or edit it.
16505 # config.status only pays attention to the cache file if you give it
16506 # the --recheck option to rerun configure.
16508 # `ac_cv_env_foo
' variables (set or unset) will be overridden when
16509 # loading this file, other *unset* `ac_cv_foo' will be assigned the
16510 # following values.
16514 # The following way of writing the cache mishandles newlines in values,
16515 # but we know of no workaround that is simple, portable, and efficient.
16516 # So, we kill variables containing newlines.
16517 # Ultrix sh set writes to stderr and can't be redirected directly,
16518 # and sets the high bit in the cache file unless we assign to the vars.
16520 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
16521 eval ac_val
=\$
$ac_var
16525 *_cv_
*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
16526 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
16529 _
| IFS
| as_nl
) ;; #(
16530 *) $as_unset $ac_var ;;
16536 case $as_nl`(ac_space=' '; set) 2>&1` in #(
16537 *${as_nl}ac_space
=\
*)
16538 # `set' does not quote correctly, so add quotes (double-quote
16539 # substitution turns \\\\ into \\, and sed turns \\ into \).
16542 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
16545 # `set' quotes correctly as required by POSIX, so do not add quotes.
16546 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
16555 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
16557 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
16559 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
16560 if test -w "$cache_file"; then
16561 test "x$cache_file" != "x/dev/null" &&
16562 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
16563 echo "$as_me: updating cache $cache_file" >&6;}
16564 cat confcache
>$cache_file
16566 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
16567 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
16577 ac_cpp
='$CPP $CPPFLAGS'
16578 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16579 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16580 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
16581 if test -n "$ac_tool_prefix"; then
16582 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
16583 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
16584 { echo "$as_me:$LINENO: checking for $ac_word" >&5
16585 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16586 if test "${ac_cv_prog_CC+set}" = set; then
16587 echo $ECHO_N "(cached) $ECHO_C" >&6
16589 if test -n "$CC"; then
16590 ac_cv_prog_CC
="$CC" # Let the user override the test.
16592 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16593 for as_dir
in $PATH
16596 test -z "$as_dir" && as_dir
=.
16597 for ac_exec_ext
in '' $ac_executable_extensions; do
16598 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16599 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
16600 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16610 if test -n "$CC"; then
16611 { echo "$as_me:$LINENO: result: $CC" >&5
16612 echo "${ECHO_T}$CC" >&6; }
16614 { echo "$as_me:$LINENO: result: no" >&5
16615 echo "${ECHO_T}no" >&6; }
16620 if test -z "$ac_cv_prog_CC"; then
16622 # Extract the first word of "gcc", so it can be a program name with args.
16623 set dummy gcc
; ac_word
=$2
16624 { echo "$as_me:$LINENO: checking for $ac_word" >&5
16625 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16626 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
16627 echo $ECHO_N "(cached) $ECHO_C" >&6
16629 if test -n "$ac_ct_CC"; then
16630 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
16632 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16633 for as_dir
in $PATH
16636 test -z "$as_dir" && as_dir
=.
16637 for ac_exec_ext
in '' $ac_executable_extensions; do
16638 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16639 ac_cv_prog_ac_ct_CC
="gcc"
16640 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16649 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
16650 if test -n "$ac_ct_CC"; then
16651 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
16652 echo "${ECHO_T}$ac_ct_CC" >&6; }
16654 { echo "$as_me:$LINENO: result: no" >&5
16655 echo "${ECHO_T}no" >&6; }
16658 if test "x$ac_ct_CC" = x
; then
16661 case $cross_compiling:$ac_tool_warned in
16663 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
16664 whose name does not start with the host triplet. If you think this
16665 configuration is useful to you, please write to autoconf@gnu.org." >&5
16666 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
16667 whose name does not start with the host triplet. If you think this
16668 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
16669 ac_tool_warned
=yes ;;
16674 CC
="$ac_cv_prog_CC"
16677 if test -z "$CC"; then
16678 if test -n "$ac_tool_prefix"; then
16679 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
16680 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
16681 { echo "$as_me:$LINENO: checking for $ac_word" >&5
16682 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16683 if test "${ac_cv_prog_CC+set}" = set; then
16684 echo $ECHO_N "(cached) $ECHO_C" >&6
16686 if test -n "$CC"; then
16687 ac_cv_prog_CC
="$CC" # Let the user override the test.
16689 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16690 for as_dir
in $PATH
16693 test -z "$as_dir" && as_dir
=.
16694 for ac_exec_ext
in '' $ac_executable_extensions; do
16695 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16696 ac_cv_prog_CC
="${ac_tool_prefix}cc"
16697 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16707 if test -n "$CC"; then
16708 { echo "$as_me:$LINENO: result: $CC" >&5
16709 echo "${ECHO_T}$CC" >&6; }
16711 { echo "$as_me:$LINENO: result: no" >&5
16712 echo "${ECHO_T}no" >&6; }
16718 if test -z "$CC"; then
16719 # Extract the first word of "cc", so it can be a program name with args.
16720 set dummy cc
; ac_word
=$2
16721 { echo "$as_me:$LINENO: checking for $ac_word" >&5
16722 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16723 if test "${ac_cv_prog_CC+set}" = set; then
16724 echo $ECHO_N "(cached) $ECHO_C" >&6
16726 if test -n "$CC"; then
16727 ac_cv_prog_CC
="$CC" # Let the user override the test.
16729 ac_prog_rejected
=no
16730 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16731 for as_dir
in $PATH
16734 test -z "$as_dir" && as_dir
=.
16735 for ac_exec_ext
in '' $ac_executable_extensions; do
16736 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16737 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
16738 ac_prog_rejected
=yes
16742 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16749 if test $ac_prog_rejected = yes; then
16750 # We found a bogon in the path, so make sure we never use it.
16751 set dummy
$ac_cv_prog_CC
16753 if test $# != 0; then
16754 # We chose a different compiler from the bogus one.
16755 # However, it has the same basename, so the bogon will be chosen
16756 # first if we set CC to just the basename; use the full file name.
16758 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
16764 if test -n "$CC"; then
16765 { echo "$as_me:$LINENO: result: $CC" >&5
16766 echo "${ECHO_T}$CC" >&6; }
16768 { echo "$as_me:$LINENO: result: no" >&5
16769 echo "${ECHO_T}no" >&6; }
16774 if test -z "$CC"; then
16775 if test -n "$ac_tool_prefix"; then
16776 for ac_prog
in cl.exe
16778 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
16779 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
16780 { echo "$as_me:$LINENO: checking for $ac_word" >&5
16781 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16782 if test "${ac_cv_prog_CC+set}" = set; then
16783 echo $ECHO_N "(cached) $ECHO_C" >&6
16785 if test -n "$CC"; then
16786 ac_cv_prog_CC
="$CC" # Let the user override the test.
16788 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16789 for as_dir
in $PATH
16792 test -z "$as_dir" && as_dir
=.
16793 for ac_exec_ext
in '' $ac_executable_extensions; do
16794 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16795 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
16796 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16806 if test -n "$CC"; then
16807 { echo "$as_me:$LINENO: result: $CC" >&5
16808 echo "${ECHO_T}$CC" >&6; }
16810 { echo "$as_me:$LINENO: result: no" >&5
16811 echo "${ECHO_T}no" >&6; }
16815 test -n "$CC" && break
16818 if test -z "$CC"; then
16820 for ac_prog
in cl.exe
16822 # Extract the first word of "$ac_prog", so it can be a program name with args.
16823 set dummy
$ac_prog; ac_word
=$2
16824 { echo "$as_me:$LINENO: checking for $ac_word" >&5
16825 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16826 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
16827 echo $ECHO_N "(cached) $ECHO_C" >&6
16829 if test -n "$ac_ct_CC"; then
16830 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
16832 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16833 for as_dir
in $PATH
16836 test -z "$as_dir" && as_dir
=.
16837 for ac_exec_ext
in '' $ac_executable_extensions; do
16838 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16839 ac_cv_prog_ac_ct_CC
="$ac_prog"
16840 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16849 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
16850 if test -n "$ac_ct_CC"; then
16851 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
16852 echo "${ECHO_T}$ac_ct_CC" >&6; }
16854 { echo "$as_me:$LINENO: result: no" >&5
16855 echo "${ECHO_T}no" >&6; }
16859 test -n "$ac_ct_CC" && break
16862 if test "x$ac_ct_CC" = x
; then
16865 case $cross_compiling:$ac_tool_warned in
16867 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
16868 whose name does not start with the host triplet. If you think this
16869 configuration is useful to you, please write to autoconf@gnu.org." >&5
16870 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
16871 whose name does not start with the host triplet. If you think this
16872 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
16873 ac_tool_warned
=yes ;;
16882 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
16883 See \`config.log' for more details." >&5
16884 echo "$as_me: error: no acceptable C compiler found in \$PATH
16885 See \`config.log' for more details." >&2;}
16886 { (exit 1); exit 1; }; }
16888 # Provide some information about the compiler.
16889 echo "$as_me:$LINENO: checking for C compiler version" >&5
16890 ac_compiler
=`set X $ac_compile; echo $2`
16891 { (ac_try
="$ac_compiler --version >&5"
16892 case "(($ac_try" in
16893 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
16894 *) ac_try_echo=$ac_try;;
16896 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16897 (eval "$ac_compiler --version >&5") 2>&5
16899 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16900 (exit $ac_status); }
16901 { (ac_try="$ac_compiler -v >&5"
16902 case "(($ac_try" in
16903 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
16904 *) ac_try_echo
=$ac_try;;
16906 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16907 (eval "$ac_compiler -v >&5") 2>&5
16909 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16910 (exit $ac_status); }
16911 { (ac_try
="$ac_compiler -V >&5"
16912 case "(($ac_try" in
16913 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
16914 *) ac_try_echo=$ac_try;;
16916 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16917 (eval "$ac_compiler -V >&5") 2>&5
16919 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16920 (exit $ac_status); }
16922 cat >conftest.$ac_ext <<_ACEOF
16925 cat confdefs.h >>conftest.$ac_ext
16926 cat >>conftest.$ac_ext <<_ACEOF
16927 /* end confdefs.h. */
16937 ac_clean_files_save=$ac_clean_files
16938 ac_clean_files="$ac_clean_files a.out a.exe b.out"
16939 # Try to create an executable without -o first, disregard a.out.
16940 # It will help us diagnose broken compilers, and finding out an intuition
16942 { echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
16943 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
16944 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
16946 # List of possible output files, starting from the most likely.
16947 # The algorithm is not robust to junk in `.
', hence go to wildcards (a.*)
16948 # only as a last resort. b.out is created by i960 compilers.
16949 ac_files='a_out.exe a.exe conftest.exe a.out conftest a.
* conftest.
* b.out
'
16951 # The IRIX 6 linker writes into existing files which may not be
16952 # executable, retaining their permissions. Remove them first so a
16953 # subsequent execution test works.
16955 for ac_file in $ac_files
16958 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
16959 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
16964 if { (ac_try="$ac_link_default"
16965 case "(($ac_try" in
16966 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16967 *) ac_try_echo=$ac_try;;
16969 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16970 (eval "$ac_link_default") 2>&5
16972 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16973 (exit $ac_status); }; then
16974 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
16975 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
16976 # in a Makefile. We should not override ac_cv_exeext if it was cached,
16977 # so that the user can short-circuit this test for compilers unknown to
16979 for ac_file
in $ac_files ''
16981 test -f "$ac_file" || continue
16983 *.
$ac_ext | *.xcoff
| *.tds
| *.d
| *.pdb
| *.xSYM
| *.bb
| *.bbg
| *.map
| *.inf
| *.o
| *.obj
)
16986 # We found the default executable, but exeext='' is most
16990 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
16992 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
16994 # We set ac_cv_exeext here because the later test for it is not
16995 # safe: cross compilers may not add the suffix if given an `-o'
16996 # argument, so we may need to know it at that point already.
16997 # Even if this section looks crufty: it has the advantage of
16998 # actually working.
17004 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
17010 { echo "$as_me:$LINENO: result: $ac_file" >&5
17011 echo "${ECHO_T}$ac_file" >&6; }
17012 if test -z "$ac_file"; then
17013 echo "$as_me: failed program was:" >&5
17014 sed 's/^/| /' conftest.
$ac_ext >&5
17016 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
17017 See \`config.log' for more details." >&5
17018 echo "$as_me: error: C compiler cannot create executables
17019 See \`config.log' for more details." >&2;}
17020 { (exit 77); exit 77; }; }
17023 ac_exeext
=$ac_cv_exeext
17025 # Check that the compiler produces executables we can run. If not, either
17026 # the compiler is broken, or we cross compile.
17027 { echo "$as_me:$LINENO: checking whether the C compiler works" >&5
17028 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
17029 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
17030 # If not cross compiling, check that we can run a simple program.
17031 if test "$cross_compiling" != yes; then
17032 if { ac_try
='./$ac_file'
17033 { (case "(($ac_try" in
17034 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
17035 *) ac_try_echo=$ac_try;;
17037 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17038 (eval "$ac_try") 2>&5
17040 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17041 (exit $ac_status); }; }; then
17044 if test "$cross_compiling" = maybe; then
17045 cross_compiling=yes
17047 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
17048 If you meant to cross compile, use \`--host'.
17049 See \`config.log' for more details.
" >&5
17050 echo "$as_me: error
: cannot run C compiled programs.
17051 If you meant to cross compile
, use \
`--host'.
17052 See \`config.log
' for more details." >&2;}
17053 { (exit 1); exit 1; }; }
17057 { echo "$as_me:$LINENO: result: yes" >&5
17058 echo "${ECHO_T}yes" >&6; }
17060 rm -f a.out a.exe conftest$ac_cv_exeext b.out
17061 ac_clean_files=$ac_clean_files_save
17062 # Check that the compiler produces executables we can run. If not, either
17063 # the compiler is broken, or we cross compile.
17064 { echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
17065 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
17066 { echo "$as_me:$LINENO: result: $cross_compiling" >&5
17067 echo "${ECHO_T}$cross_compiling" >&6; }
17069 { echo "$as_me:$LINENO: checking for suffix of executables" >&5
17070 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
17071 if { (ac_try="$ac_link"
17072 case "(($ac_try" in
17073 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17074 *) ac_try_echo=$ac_try;;
17076 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17077 (eval "$ac_link") 2>&5
17079 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17080 (exit $ac_status); }; then
17081 # If both `conftest.exe' and
`conftest' are `present
' (well, observable)
17082 # catch `conftest.exe'. For instance with Cygwin
, `ls conftest' will
17083 # work properly (i.e., refer to `conftest.exe
'), while it won't with
17085 for ac_file
in conftest.exe conftest conftest.
*; do
17086 test -f "$ac_file" || continue
17088 *.
$ac_ext | *.xcoff
| *.tds
| *.d
| *.pdb
| *.xSYM
| *.bb
| *.bbg
| *.map
| *.inf
| *.o
| *.obj
) ;;
17089 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
17095 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
17096 See \`config.log' for more details." >&5
17097 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
17098 See \`config.log' for more details." >&2;}
17099 { (exit 1); exit 1; }; }
17102 rm -f conftest
$ac_cv_exeext
17103 { echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
17104 echo "${ECHO_T}$ac_cv_exeext" >&6; }
17106 rm -f conftest.
$ac_ext
17107 EXEEXT
=$ac_cv_exeext
17109 { echo "$as_me:$LINENO: checking for suffix of object files" >&5
17110 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
17111 if test "${ac_cv_objext+set}" = set; then
17112 echo $ECHO_N "(cached) $ECHO_C" >&6
17114 cat >conftest.
$ac_ext <<_ACEOF
17117 cat confdefs.h
>>conftest.
$ac_ext
17118 cat >>conftest.
$ac_ext <<_ACEOF
17119 /* end confdefs.h. */
17129 rm -f conftest.o conftest.obj
17130 if { (ac_try
="$ac_compile"
17131 case "(($ac_try" in
17132 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
17133 *) ac_try_echo=$ac_try;;
17135 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17136 (eval "$ac_compile") 2>&5
17138 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17139 (exit $ac_status); }; then
17140 for ac_file in conftest.o conftest.obj conftest.*; do
17141 test -f "$ac_file" || continue;
17143 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
17144 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
17149 echo "$as_me: failed program was:" >&5
17150 sed 's/^/| /' conftest.$ac_ext >&5
17152 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
17153 See \`config.log
' for more details." >&5
17154 echo "$as_me: error: cannot compute suffix of object files: cannot compile
17155 See \`config.log' for more details.
" >&2;}
17156 { (exit 1); exit 1; }; }
17159 rm -f conftest.$ac_cv_objext conftest.$ac_ext
17161 { echo "$as_me:$LINENO: result
: $ac_cv_objext" >&5
17162 echo "${ECHO_T}$ac_cv_objext" >&6; }
17163 OBJEXT=$ac_cv_objext
17165 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler
" >&5
17166 echo $ECHO_N "checking whether we are using the GNU C compiler...
$ECHO_C" >&6; }
17167 if test "${ac_cv_c_compiler_gnu+set}" = set; then
17168 echo $ECHO_N "(cached
) $ECHO_C" >&6
17170 cat >conftest.$ac_ext <<_ACEOF
17173 cat confdefs.h >>conftest.$ac_ext
17174 cat >>conftest.$ac_ext <<_ACEOF
17175 /* end confdefs.h. */
17188 rm -f conftest.$ac_objext
17189 if { (ac_try="$ac_compile"
17190 case "(($ac_try" in
17191 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17192 *) ac_try_echo=$ac_try;;
17194 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
17195 (eval "$ac_compile") 2>conftest.er1
17197 grep -v '^ *+' conftest.er1 >conftest.err
17199 cat conftest.err >&5
17200 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
17201 (exit $ac_status); } && {
17202 test -z "$ac_c_werror_flag" ||
17203 test ! -s conftest.err
17204 } && test -s conftest.$ac_objext; then
17205 ac_compiler_gnu=yes
17207 echo "$as_me: failed program was
:" >&5
17208 sed 's/^/| /' conftest.$ac_ext >&5
17213 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17214 ac_cv_c_compiler_gnu=$ac_compiler_gnu
17217 { echo "$as_me:$LINENO: result
: $ac_cv_c_compiler_gnu" >&5
17218 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
17219 GCC=`test $ac_compiler_gnu = yes && echo yes`
17220 ac_test_CFLAGS=${CFLAGS+set}
17221 ac_save_CFLAGS=$CFLAGS
17222 { echo "$as_me:$LINENO: checking whether
$CC accepts
-g" >&5
17223 echo $ECHO_N "checking whether
$CC accepts
-g...
$ECHO_C" >&6; }
17224 if test "${ac_cv_prog_cc_g+set}" = set; then
17225 echo $ECHO_N "(cached
) $ECHO_C" >&6
17227 ac_save_c_werror_flag=$ac_c_werror_flag
17228 ac_c_werror_flag=yes
17231 cat >conftest.$ac_ext <<_ACEOF
17234 cat confdefs.h >>conftest.$ac_ext
17235 cat >>conftest.$ac_ext <<_ACEOF
17236 /* end confdefs.h. */
17246 rm -f conftest.$ac_objext
17247 if { (ac_try="$ac_compile"
17248 case "(($ac_try" in
17249 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17250 *) ac_try_echo=$ac_try;;
17252 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
17253 (eval "$ac_compile") 2>conftest.er1
17255 grep -v '^ *+' conftest.er1 >conftest.err
17257 cat conftest.err >&5
17258 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
17259 (exit $ac_status); } && {
17260 test -z "$ac_c_werror_flag" ||
17261 test ! -s conftest.err
17262 } && test -s conftest.$ac_objext; then
17263 ac_cv_prog_cc_g=yes
17265 echo "$as_me: failed program was
:" >&5
17266 sed 's/^/| /' conftest.$ac_ext >&5
17269 cat >conftest.$ac_ext <<_ACEOF
17272 cat confdefs.h >>conftest.$ac_ext
17273 cat >>conftest.$ac_ext <<_ACEOF
17274 /* end confdefs.h. */
17284 rm -f conftest.$ac_objext
17285 if { (ac_try="$ac_compile"
17286 case "(($ac_try" in
17287 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17288 *) ac_try_echo=$ac_try;;
17290 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
17291 (eval "$ac_compile") 2>conftest.er1
17293 grep -v '^ *+' conftest.er1 >conftest.err
17295 cat conftest.err >&5
17296 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
17297 (exit $ac_status); } && {
17298 test -z "$ac_c_werror_flag" ||
17299 test ! -s conftest.err
17300 } && test -s conftest.$ac_objext; then
17303 echo "$as_me: failed program was
:" >&5
17304 sed 's/^/| /' conftest.$ac_ext >&5
17306 ac_c_werror_flag=$ac_save_c_werror_flag
17308 cat >conftest.$ac_ext <<_ACEOF
17311 cat confdefs.h >>conftest.$ac_ext
17312 cat >>conftest.$ac_ext <<_ACEOF
17313 /* end confdefs.h. */
17323 rm -f conftest.$ac_objext
17324 if { (ac_try="$ac_compile"
17325 case "(($ac_try" in
17326 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17327 *) ac_try_echo=$ac_try;;
17329 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
17330 (eval "$ac_compile") 2>conftest.er1
17332 grep -v '^ *+' conftest.er1 >conftest.err
17334 cat conftest.err >&5
17335 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
17336 (exit $ac_status); } && {
17337 test -z "$ac_c_werror_flag" ||
17338 test ! -s conftest.err
17339 } && test -s conftest.$ac_objext; then
17340 ac_cv_prog_cc_g=yes
17342 echo "$as_me: failed program was
:" >&5
17343 sed 's/^/| /' conftest.$ac_ext >&5
17348 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17351 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17354 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17355 ac_c_werror_flag=$ac_save_c_werror_flag
17357 { echo "$as_me:$LINENO: result
: $ac_cv_prog_cc_g" >&5
17358 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
17359 if test "$ac_test_CFLAGS" = set; then
17360 CFLAGS=$ac_save_CFLAGS
17361 elif test $ac_cv_prog_cc_g = yes; then
17362 if test "$GCC" = yes; then
17368 if test "$GCC" = yes; then
17374 { echo "$as_me:$LINENO: checking
for $CC option to accept ISO C89
" >&5
17375 echo $ECHO_N "checking
for $CC option to accept ISO C89...
$ECHO_C" >&6; }
17376 if test "${ac_cv_prog_cc_c89+set}" = set; then
17377 echo $ECHO_N "(cached
) $ECHO_C" >&6
17379 ac_cv_prog_cc_c89=no
17381 cat >conftest.$ac_ext <<_ACEOF
17384 cat confdefs.h >>conftest.$ac_ext
17385 cat >>conftest.$ac_ext <<_ACEOF
17386 /* end confdefs.h. */
17387 #include <stdarg.h>
17389 #include <sys/types.h>
17390 #include <sys/stat.h>
17391 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
17392 struct buf { int x; };
17393 FILE * (*rcsopen) (struct buf *, struct stat *, int);
17394 static char *e (p, i)
17400 static char *f (char * (*g) (char **, int), char **p, ...)
17405 s = g (p, va_arg (v,int));
17410 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
17411 function prototypes and stuff, but not '\xHH' hex character constants.
17412 These don't provoke an error unfortunately, instead are silently treated
17413 as 'x'. The following induces an error, until -std is added to get
17414 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
17415 array size at least. It's necessary to write '\x00'==0 to get something
17416 that's true only with -std. */
17417 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
17419 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
17420 inside strings and character constants. */
17422 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
17424 int test (int i, double x);
17425 struct s1 {int (*f) (int a);};
17426 struct s2 {int (*f) (double a);};
17427 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
17433 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
17438 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
17439 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
17441 CC="$ac_save_CC $ac_arg"
17442 rm -f conftest.$ac_objext
17443 if { (ac_try="$ac_compile"
17444 case "(($ac_try" in
17445 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17446 *) ac_try_echo=$ac_try;;
17448 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
17449 (eval "$ac_compile") 2>conftest.er1
17451 grep -v '^ *+' conftest.er1 >conftest.err
17453 cat conftest.err >&5
17454 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
17455 (exit $ac_status); } && {
17456 test -z "$ac_c_werror_flag" ||
17457 test ! -s conftest.err
17458 } && test -s conftest.$ac_objext; then
17459 ac_cv_prog_cc_c89=$ac_arg
17461 echo "$as_me: failed program was
:" >&5
17462 sed 's/^/| /' conftest.$ac_ext >&5
17467 rm -f core conftest.err conftest.$ac_objext
17468 test "x
$ac_cv_prog_cc_c89" != "xno
" && break
17470 rm -f conftest.$ac_ext
17475 case "x
$ac_cv_prog_cc_c89" in
17477 { echo "$as_me:$LINENO: result
: none needed
" >&5
17478 echo "${ECHO_T}none needed
" >&6; } ;;
17480 { echo "$as_me:$LINENO: result
: unsupported
" >&5
17481 echo "${ECHO_T}unsupported
" >&6; } ;;
17483 CC="$CC $ac_cv_prog_cc_c89"
17484 { echo "$as_me:$LINENO: result
: $ac_cv_prog_cc_c89" >&5
17485 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
17490 ac_cpp='$CPP $CPPFLAGS'
17491 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17492 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17493 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17499 ac_cpp='$CPP $CPPFLAGS'
17500 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17501 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17502 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17504 { echo "$as_me:$LINENO: checking whether we are using the Intel C compiler
" >&5
17505 echo $ECHO_N "checking whether we are using the Intel C compiler...
$ECHO_C" >&6; }
17506 if test "${bakefile_cv_c_compiler___INTEL_COMPILER+set}" = set; then
17507 echo $ECHO_N "(cached
) $ECHO_C" >&6
17509 cat >conftest.$ac_ext <<_ACEOF
17512 cat confdefs.h >>conftest.$ac_ext
17513 cat >>conftest.$ac_ext <<_ACEOF
17514 /* end confdefs.h. */
17520 #ifndef __INTEL_COMPILER
17528 rm -f conftest.$ac_objext
17529 if { (ac_try="$ac_compile"
17530 case "(($ac_try" in
17531 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17532 *) ac_try_echo=$ac_try;;
17534 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
17535 (eval "$ac_compile") 2>conftest.er1
17537 grep -v '^ *+' conftest.er1 >conftest.err
17539 cat conftest.err >&5
17540 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
17541 (exit $ac_status); } && {
17542 test -z "$ac_c_werror_flag" ||
17543 test ! -s conftest.err
17544 } && test -s conftest.$ac_objext; then
17545 bakefile_cv_c_compiler___INTEL_COMPILER=yes
17547 echo "$as_me: failed program was
:" >&5
17548 sed 's/^/| /' conftest.$ac_ext >&5
17550 bakefile_cv_c_compiler___INTEL_COMPILER=no
17554 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17558 { echo "$as_me:$LINENO: result
: $bakefile_cv_c_compiler___INTEL_COMPILER" >&5
17559 echo "${ECHO_T}$bakefile_cv_c_compiler___INTEL_COMPILER" >&6; }
17560 if test "x
$bakefile_cv_c_compiler___INTEL_COMPILER" = "xyes
"; then
17566 ac_cpp='$CPP $CPPFLAGS'
17567 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17568 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17569 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17574 if test "x
$GCC" != "xyes
"; then
17575 if test "xCC
" = "xC
"; then
17576 { echo "$as_me:$LINENO: checking
if the C compiler requires
-ext o
" >&5
17577 echo $ECHO_N "checking
if the C compiler requires
-ext o...
$ECHO_C" >&6; }
17578 if test "${bakefile_cv_c_exto+set}" = set; then
17579 echo $ECHO_N "(cached
) $ECHO_C" >&6
17581 cat >conftest.$ac_ext <<_ACEOF
17584 cat confdefs.h >>conftest.$ac_ext
17585 cat >>conftest.$ac_ext <<_ACEOF
17586 /* end confdefs.h. */
17596 rm -f conftest.$ac_objext conftest.$ac_ext.o
17597 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17598 (eval $ac_compile) 2>&5
17600 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
17601 (exit $ac_status); }; then
17602 for ac_file in `(ls conftest.* 2>/dev/null)`; do
17604 conftest.$ac_ext.o)
17605 bakefile_cv_c_exto="-ext o
"
17612 { { echo "$as_me:$LINENO: error
: cannot figure out
if compiler needs
-ext o
: cannot compile
17613 See \
`config.log' for more details." >&5
17614 echo "$as_me: error: cannot figure out if compiler needs -ext o: cannot compile
17615 See \`config.log
' for more details." >&2;}
17616 { (exit 1); exit 1; }; }
17620 rm -f conftest.$ac_ext.o conftest.$ac_objext conftest.$ac_ext
17623 { echo "$as_me:$LINENO: result: $bakefile_cv_c_exto" >&5
17624 echo "${ECHO_T}$bakefile_cv_c_exto" >&6; }
17625 if test "x$bakefile_cv_c_exto" '!=' "x"; then
17626 if test "c" = "c"; then
17627 CFLAGS="$bakefile_cv_c_exto $CFLAGS"
17629 if test "c" = "cxx"; then
17630 CXXFLAGS="$bakefile_cv_c_exto $CXXFLAGS"
17634 if test "x$bakefile_cv_c_exto" '!=' "x"; then
17635 unset ac_cv_prog_cc_g
17636 ac_test_CFLAGS=${CFLAGS+set}
17637 ac_save_CFLAGS=$CFLAGS
17638 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
17639 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
17640 if test "${ac_cv_prog_cc_g+set}" = set; then
17641 echo $ECHO_N "(cached) $ECHO_C" >&6
17643 ac_save_c_werror_flag=$ac_c_werror_flag
17644 ac_c_werror_flag=yes
17647 cat >conftest.$ac_ext <<_ACEOF
17650 cat confdefs.h >>conftest.$ac_ext
17651 cat >>conftest.$ac_ext <<_ACEOF
17652 /* end confdefs.h. */
17662 rm -f conftest.$ac_objext
17663 if { (ac_try="$ac_compile"
17664 case "(($ac_try" in
17665 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17666 *) ac_try_echo=$ac_try;;
17668 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17669 (eval "$ac_compile") 2>conftest.er1
17671 grep -v '^
*+' conftest.er1 >conftest.err
17673 cat conftest.err >&5
17674 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17675 (exit $ac_status); } && {
17676 test -z "$ac_c_werror_flag" ||
17677 test ! -s conftest.err
17678 } && test -s conftest.$ac_objext; then
17679 ac_cv_prog_cc_g=yes
17681 echo "$as_me: failed program was:" >&5
17682 sed 's
/^
/| /' conftest.$ac_ext >&5
17685 cat >conftest.$ac_ext <<_ACEOF
17688 cat confdefs.h >>conftest.$ac_ext
17689 cat >>conftest.$ac_ext <<_ACEOF
17690 /* end confdefs.h. */
17700 rm -f conftest.$ac_objext
17701 if { (ac_try="$ac_compile"
17702 case "(($ac_try" in
17703 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17704 *) ac_try_echo=$ac_try;;
17706 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17707 (eval "$ac_compile") 2>conftest.er1
17709 grep -v '^
*+' conftest.er1 >conftest.err
17711 cat conftest.err >&5
17712 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17713 (exit $ac_status); } && {
17714 test -z "$ac_c_werror_flag" ||
17715 test ! -s conftest.err
17716 } && test -s conftest.$ac_objext; then
17719 echo "$as_me: failed program was:" >&5
17720 sed 's
/^
/| /' conftest.$ac_ext >&5
17722 ac_c_werror_flag=$ac_save_c_werror_flag
17724 cat >conftest.$ac_ext <<_ACEOF
17727 cat confdefs.h >>conftest.$ac_ext
17728 cat >>conftest.$ac_ext <<_ACEOF
17729 /* end confdefs.h. */
17739 rm -f conftest.$ac_objext
17740 if { (ac_try="$ac_compile"
17741 case "(($ac_try" in
17742 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17743 *) ac_try_echo=$ac_try;;
17745 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17746 (eval "$ac_compile") 2>conftest.er1
17748 grep -v '^
*+' conftest.er1 >conftest.err
17750 cat conftest.err >&5
17751 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17752 (exit $ac_status); } && {
17753 test -z "$ac_c_werror_flag" ||
17754 test ! -s conftest.err
17755 } && test -s conftest.$ac_objext; then
17756 ac_cv_prog_cc_g=yes
17758 echo "$as_me: failed program was:" >&5
17759 sed 's
/^
/| /' conftest.$ac_ext >&5
17764 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17767 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17770 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17771 ac_c_werror_flag=$ac_save_c_werror_flag
17773 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
17774 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
17775 if test "$ac_test_CFLAGS" = set; then
17776 CFLAGS=$ac_save_CFLAGS
17777 elif test $ac_cv_prog_cc_g = yes; then
17778 if test "$GCC" = yes; then
17784 if test "$GCC" = yes; then
17798 ac_cpp='$CPP $CPPFLAGS'
17799 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
17800 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
17801 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17803 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C compiler" >&5
17804 echo $ECHO_N "checking whether we are using the IBM xlC C compiler... $ECHO_C" >&6; }
17805 if test "${bakefile_cv_c_compiler___xlC__+set}" = set; then
17806 echo $ECHO_N "(cached) $ECHO_C" >&6
17808 cat >conftest.$ac_ext <<_ACEOF
17811 cat confdefs.h >>conftest.$ac_ext
17812 cat >>conftest.$ac_ext <<_ACEOF
17813 /* end confdefs.h. */
17827 rm -f conftest.$ac_objext
17828 if { (ac_try="$ac_compile"
17829 case "(($ac_try" in
17830 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17831 *) ac_try_echo=$ac_try;;
17833 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17834 (eval "$ac_compile") 2>conftest.er1
17836 grep -v '^
*+' conftest.er1 >conftest.err
17838 cat conftest.err >&5
17839 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17840 (exit $ac_status); } && {
17841 test -z "$ac_c_werror_flag" ||
17842 test ! -s conftest.err
17843 } && test -s conftest.$ac_objext; then
17844 bakefile_cv_c_compiler___xlC__=yes
17846 echo "$as_me: failed program was:" >&5
17847 sed 's
/^
/| /' conftest.$ac_ext >&5
17849 bakefile_cv_c_compiler___xlC__=no
17853 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17857 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___xlC__" >&5
17858 echo "${ECHO_T}$bakefile_cv_c_compiler___xlC__" >&6; }
17859 if test "x$bakefile_cv_c_compiler___xlC__" = "xyes"; then
17865 ac_cpp='$CPP $CPPFLAGS'
17866 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
17867 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
17868 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17878 ac_cpp='$CPP $CPPFLAGS'
17879 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
17880 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
17881 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17883 { echo "$as_me:$LINENO: checking whether we are using the Metrowerks C compiler" >&5
17884 echo $ECHO_N "checking whether we are using the Metrowerks C compiler... $ECHO_C" >&6; }
17885 if test "${bakefile_cv_c_compiler___MWERKS__+set}" = set; then
17886 echo $ECHO_N "(cached) $ECHO_C" >&6
17888 cat >conftest.$ac_ext <<_ACEOF
17891 cat confdefs.h >>conftest.$ac_ext
17892 cat >>conftest.$ac_ext <<_ACEOF
17893 /* end confdefs.h. */
17907 rm -f conftest.$ac_objext
17908 if { (ac_try="$ac_compile"
17909 case "(($ac_try" in
17910 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17911 *) ac_try_echo=$ac_try;;
17913 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17914 (eval "$ac_compile") 2>conftest.er1
17916 grep -v '^
*+' conftest.er1 >conftest.err
17918 cat conftest.err >&5
17919 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17920 (exit $ac_status); } && {
17921 test -z "$ac_c_werror_flag" ||
17922 test ! -s conftest.err
17923 } && test -s conftest.$ac_objext; then
17924 bakefile_cv_c_compiler___MWERKS__=yes
17926 echo "$as_me: failed program was:" >&5
17927 sed 's
/^
/| /' conftest.$ac_ext >&5
17929 bakefile_cv_c_compiler___MWERKS__=no
17933 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17937 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___MWERKS__" >&5
17938 echo "${ECHO_T}$bakefile_cv_c_compiler___MWERKS__" >&6; }
17939 if test "x$bakefile_cv_c_compiler___MWERKS__" = "xyes"; then
17945 ac_cpp='$CPP $CPPFLAGS'
17946 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
17947 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
17948 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17955 ac_cpp='$CPP $CPPFLAGS'
17956 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
17957 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
17958 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17960 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C compiler" >&5
17961 echo $ECHO_N "checking whether we are using the IBM xlC C compiler... $ECHO_C" >&6; }
17962 if test "${bakefile_cv_c_compiler___xlC__+set}" = set; then
17963 echo $ECHO_N "(cached) $ECHO_C" >&6
17965 cat >conftest.$ac_ext <<_ACEOF
17968 cat confdefs.h >>conftest.$ac_ext
17969 cat >>conftest.$ac_ext <<_ACEOF
17970 /* end confdefs.h. */
17984 rm -f conftest.$ac_objext
17985 if { (ac_try="$ac_compile"
17986 case "(($ac_try" in
17987 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17988 *) ac_try_echo=$ac_try;;
17990 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17991 (eval "$ac_compile") 2>conftest.er1
17993 grep -v '^
*+' conftest.er1 >conftest.err
17995 cat conftest.err >&5
17996 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17997 (exit $ac_status); } && {
17998 test -z "$ac_c_werror_flag" ||
17999 test ! -s conftest.err
18000 } && test -s conftest.$ac_objext; then
18001 bakefile_cv_c_compiler___xlC__=yes
18003 echo "$as_me: failed program was:" >&5
18004 sed 's
/^
/| /' conftest.$ac_ext >&5
18006 bakefile_cv_c_compiler___xlC__=no
18010 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18014 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___xlC__" >&5
18015 echo "${ECHO_T}$bakefile_cv_c_compiler___xlC__" >&6; }
18016 if test "x$bakefile_cv_c_compiler___xlC__" = "xyes"; then
18022 ac_cpp='$CPP $CPPFLAGS'
18023 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
18024 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
18025 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18035 ac_cpp='$CPP $CPPFLAGS'
18036 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
18037 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
18038 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18040 { echo "$as_me:$LINENO: checking whether we are using the SGI C compiler" >&5
18041 echo $ECHO_N "checking whether we are using the SGI C compiler... $ECHO_C" >&6; }
18042 if test "${bakefile_cv_c_compiler__SGI_COMPILER_VERSION+set}" = set; then
18043 echo $ECHO_N "(cached) $ECHO_C" >&6
18045 cat >conftest.$ac_ext <<_ACEOF
18048 cat confdefs.h >>conftest.$ac_ext
18049 cat >>conftest.$ac_ext <<_ACEOF
18050 /* end confdefs.h. */
18056 #ifndef _SGI_COMPILER_VERSION
18064 rm -f conftest.$ac_objext
18065 if { (ac_try="$ac_compile"
18066 case "(($ac_try" in
18067 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18068 *) ac_try_echo=$ac_try;;
18070 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18071 (eval "$ac_compile") 2>conftest.er1
18073 grep -v '^
*+' conftest.er1 >conftest.err
18075 cat conftest.err >&5
18076 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18077 (exit $ac_status); } && {
18078 test -z "$ac_c_werror_flag" ||
18079 test ! -s conftest.err
18080 } && test -s conftest.$ac_objext; then
18081 bakefile_cv_c_compiler__SGI_COMPILER_VERSION=yes
18083 echo "$as_me: failed program was:" >&5
18084 sed 's
/^
/| /' conftest.$ac_ext >&5
18086 bakefile_cv_c_compiler__SGI_COMPILER_VERSION=no
18090 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18094 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler__SGI_COMPILER_VERSION" >&5
18095 echo "${ECHO_T}$bakefile_cv_c_compiler__SGI_COMPILER_VERSION" >&6; }
18096 if test "x$bakefile_cv_c_compiler__SGI_COMPILER_VERSION" = "xyes"; then
18102 ac_cpp='$CPP $CPPFLAGS'
18103 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
18104 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
18105 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18115 ac_cpp='$CPP $CPPFLAGS'
18116 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
18117 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
18118 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18120 { echo "$as_me:$LINENO: checking whether we are using the Sun C compiler" >&5
18121 echo $ECHO_N "checking whether we are using the Sun C compiler... $ECHO_C" >&6; }
18122 if test "${bakefile_cv_c_compiler___SUNPRO_C+set}" = set; then
18123 echo $ECHO_N "(cached) $ECHO_C" >&6
18125 cat >conftest.$ac_ext <<_ACEOF
18128 cat confdefs.h >>conftest.$ac_ext
18129 cat >>conftest.$ac_ext <<_ACEOF
18130 /* end confdefs.h. */
18144 rm -f conftest.$ac_objext
18145 if { (ac_try="$ac_compile"
18146 case "(($ac_try" in
18147 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18148 *) ac_try_echo=$ac_try;;
18150 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18151 (eval "$ac_compile") 2>conftest.er1
18153 grep -v '^
*+' conftest.er1 >conftest.err
18155 cat conftest.err >&5
18156 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18157 (exit $ac_status); } && {
18158 test -z "$ac_c_werror_flag" ||
18159 test ! -s conftest.err
18160 } && test -s conftest.$ac_objext; then
18161 bakefile_cv_c_compiler___SUNPRO_C=yes
18163 echo "$as_me: failed program was:" >&5
18164 sed 's
/^
/| /' conftest.$ac_ext >&5
18166 bakefile_cv_c_compiler___SUNPRO_C=no
18170 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18174 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___SUNPRO_C" >&5
18175 echo "${ECHO_T}$bakefile_cv_c_compiler___SUNPRO_C" >&6; }
18176 if test "x$bakefile_cv_c_compiler___SUNPRO_C" = "xyes"; then
18182 ac_cpp='$CPP $CPPFLAGS'
18183 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
18184 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
18185 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18195 ac_cpp='$CPP $CPPFLAGS'
18196 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
18197 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
18198 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18200 { echo "$as_me:$LINENO: checking whether we are using the HP C compiler" >&5
18201 echo $ECHO_N "checking whether we are using the HP C compiler... $ECHO_C" >&6; }
18202 if test "${bakefile_cv_c_compiler___HP_cc+set}" = set; then
18203 echo $ECHO_N "(cached) $ECHO_C" >&6
18205 cat >conftest.$ac_ext <<_ACEOF
18208 cat confdefs.h >>conftest.$ac_ext
18209 cat >>conftest.$ac_ext <<_ACEOF
18210 /* end confdefs.h. */
18224 rm -f conftest.$ac_objext
18225 if { (ac_try="$ac_compile"
18226 case "(($ac_try" in
18227 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18228 *) ac_try_echo=$ac_try;;
18230 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18231 (eval "$ac_compile") 2>conftest.er1
18233 grep -v '^
*+' conftest.er1 >conftest.err
18235 cat conftest.err >&5
18236 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18237 (exit $ac_status); } && {
18238 test -z "$ac_c_werror_flag" ||
18239 test ! -s conftest.err
18240 } && test -s conftest.$ac_objext; then
18241 bakefile_cv_c_compiler___HP_cc=yes
18243 echo "$as_me: failed program was:" >&5
18244 sed 's
/^
/| /' conftest.$ac_ext >&5
18246 bakefile_cv_c_compiler___HP_cc=no
18250 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18254 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___HP_cc" >&5
18255 echo "${ECHO_T}$bakefile_cv_c_compiler___HP_cc" >&6; }
18256 if test "x$bakefile_cv_c_compiler___HP_cc" = "xyes"; then
18262 ac_cpp='$CPP $CPPFLAGS'
18263 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
18264 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
18265 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18275 ac_cpp='$CPP $CPPFLAGS'
18276 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
18277 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
18278 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18280 { echo "$as_me:$LINENO: checking whether we are using the Compaq C compiler" >&5
18281 echo $ECHO_N "checking whether we are using the Compaq C compiler... $ECHO_C" >&6; }
18282 if test "${bakefile_cv_c_compiler___DECC+set}" = set; then
18283 echo $ECHO_N "(cached) $ECHO_C" >&6
18285 cat >conftest.$ac_ext <<_ACEOF
18288 cat confdefs.h >>conftest.$ac_ext
18289 cat >>conftest.$ac_ext <<_ACEOF
18290 /* end confdefs.h. */
18304 rm -f conftest.$ac_objext
18305 if { (ac_try="$ac_compile"
18306 case "(($ac_try" in
18307 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18308 *) ac_try_echo=$ac_try;;
18310 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18311 (eval "$ac_compile") 2>conftest.er1
18313 grep -v '^
*+' conftest.er1 >conftest.err
18315 cat conftest.err >&5
18316 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18317 (exit $ac_status); } && {
18318 test -z "$ac_c_werror_flag" ||
18319 test ! -s conftest.err
18320 } && test -s conftest.$ac_objext; then
18321 bakefile_cv_c_compiler___DECC=yes
18323 echo "$as_me: failed program was:" >&5
18324 sed 's
/^
/| /' conftest.$ac_ext >&5
18326 bakefile_cv_c_compiler___DECC=no
18330 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18334 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___DECC" >&5
18335 echo "${ECHO_T}$bakefile_cv_c_compiler___DECC" >&6; }
18336 if test "x$bakefile_cv_c_compiler___DECC" = "xyes"; then
18342 ac_cpp='$CPP $CPPFLAGS'
18343 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
18344 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
18345 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18355 ac_cpp='$CPP $CPPFLAGS'
18356 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
18357 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
18358 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18360 { echo "$as_me:$LINENO: checking whether we are using the Sun C compiler" >&5
18361 echo $ECHO_N "checking whether we are using the Sun C compiler... $ECHO_C" >&6; }
18362 if test "${bakefile_cv_c_compiler___SUNPRO_C+set}" = set; then
18363 echo $ECHO_N "(cached) $ECHO_C" >&6
18365 cat >conftest.$ac_ext <<_ACEOF
18368 cat confdefs.h >>conftest.$ac_ext
18369 cat >>conftest.$ac_ext <<_ACEOF
18370 /* end confdefs.h. */
18384 rm -f conftest.$ac_objext
18385 if { (ac_try="$ac_compile"
18386 case "(($ac_try" in
18387 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18388 *) ac_try_echo=$ac_try;;
18390 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18391 (eval "$ac_compile") 2>conftest.er1
18393 grep -v '^
*+' conftest.er1 >conftest.err
18395 cat conftest.err >&5
18396 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18397 (exit $ac_status); } && {
18398 test -z "$ac_c_werror_flag" ||
18399 test ! -s conftest.err
18400 } && test -s conftest.$ac_objext; then
18401 bakefile_cv_c_compiler___SUNPRO_C=yes
18403 echo "$as_me: failed program was:" >&5
18404 sed 's
/^
/| /' conftest.$ac_ext >&5
18406 bakefile_cv_c_compiler___SUNPRO_C=no
18410 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18414 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___SUNPRO_C" >&5
18415 echo "${ECHO_T}$bakefile_cv_c_compiler___SUNPRO_C" >&6; }
18416 if test "x$bakefile_cv_c_compiler___SUNPRO_C" = "xyes"; then
18422 ac_cpp='$CPP $CPPFLAGS'
18423 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
18424 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
18425 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18436 ac_cpp='$CPP $CPPFLAGS'
18437 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
18438 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
18439 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18440 { echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
18441 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
18442 # On Suns, sometimes $CPP names a directory.
18443 if test -n "$CPP" && test -d "$CPP"; then
18446 if test -z "$CPP"; then
18447 if test "${ac_cv_prog_CPP+set}" = set; then
18448 echo $ECHO_N "(cached) $ECHO_C" >&6
18450 # Double quotes because CPP needs to be expanded
18451 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
18453 ac_preproc_ok=false
18454 for ac_c_preproc_warn_flag in '' yes
18456 # Use a header file that comes with gcc, so configuring glibc
18457 # with a fresh cross-compiler works.
18458 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18459 # <limits.h> exists even on freestanding compilers.
18460 # On the NeXT, cc -E runs the code through the compiler's parser
,
18461 # not just through cpp. "Syntax error" is here to catch this case.
18462 cat >conftest.
$ac_ext <<_ACEOF
18465 cat confdefs.h
>>conftest.
$ac_ext
18466 cat >>conftest.
$ac_ext <<_ACEOF
18467 /* end confdefs.h. */
18469 # include <limits.h>
18471 # include <assert.h>
18475 if { (ac_try
="$ac_cpp conftest.$ac_ext"
18476 case "(($ac_try" in
18477 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
18478 *) ac_try_echo=$ac_try;;
18480 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18481 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
18483 grep -v '^ *+' conftest.er1 >conftest.err
18485 cat conftest.err >&5
18486 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18487 (exit $ac_status); } >/dev/null && {
18488 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
18489 test ! -s conftest.err
18493 echo "$as_me: failed program was:" >&5
18494 sed 's/^/| /' conftest.$ac_ext >&5
18496 # Broken: fails on valid input.
18500 rm -f conftest.err conftest.$ac_ext
18502 # OK, works on sane cases. Now check whether nonexistent headers
18503 # can be detected and how.
18504 cat >conftest.$ac_ext <<_ACEOF
18507 cat confdefs.h >>conftest.$ac_ext
18508 cat >>conftest.$ac_ext <<_ACEOF
18509 /* end confdefs.h. */
18510 #include <ac_nonexistent.h>
18512 if { (ac_try="$ac_cpp conftest.$ac_ext"
18513 case "(($ac_try" in
18514 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
18515 *) ac_try_echo
=$ac_try;;
18517 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18518 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
18520 grep -v '^ *+' conftest.er1
>conftest.err
18522 cat conftest.err
>&5
18523 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18524 (exit $ac_status); } >/dev
/null
&& {
18525 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
18526 test ! -s conftest.err
18528 # Broken: success on invalid input.
18531 echo "$as_me: failed program was:" >&5
18532 sed 's/^/| /' conftest.
$ac_ext >&5
18534 # Passes both tests.
18539 rm -f conftest.err conftest.
$ac_ext
18542 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
18543 rm -f conftest.err conftest.
$ac_ext
18544 if $ac_preproc_ok; then
18549 ac_cv_prog_CPP
=$CPP
18552 CPP
=$ac_cv_prog_CPP
18554 ac_cv_prog_CPP
=$CPP
18556 { echo "$as_me:$LINENO: result: $CPP" >&5
18557 echo "${ECHO_T}$CPP" >&6; }
18558 ac_preproc_ok
=false
18559 for ac_c_preproc_warn_flag
in '' yes
18561 # Use a header file that comes with gcc, so configuring glibc
18562 # with a fresh cross-compiler works.
18563 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18564 # <limits.h> exists even on freestanding compilers.
18565 # On the NeXT, cc -E runs the code through the compiler's parser,
18566 # not just through cpp. "Syntax error" is here to catch this case.
18567 cat >conftest.
$ac_ext <<_ACEOF
18570 cat confdefs.h
>>conftest.
$ac_ext
18571 cat >>conftest.
$ac_ext <<_ACEOF
18572 /* end confdefs.h. */
18574 # include <limits.h>
18576 # include <assert.h>
18580 if { (ac_try
="$ac_cpp conftest.$ac_ext"
18581 case "(($ac_try" in
18582 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
18583 *) ac_try_echo=$ac_try;;
18585 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18586 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
18588 grep -v '^ *+' conftest.er1 >conftest.err
18590 cat conftest.err >&5
18591 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18592 (exit $ac_status); } >/dev/null && {
18593 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
18594 test ! -s conftest.err
18598 echo "$as_me: failed program was:" >&5
18599 sed 's/^/| /' conftest.$ac_ext >&5
18601 # Broken: fails on valid input.
18605 rm -f conftest.err conftest.$ac_ext
18607 # OK, works on sane cases. Now check whether nonexistent headers
18608 # can be detected and how.
18609 cat >conftest.$ac_ext <<_ACEOF
18612 cat confdefs.h >>conftest.$ac_ext
18613 cat >>conftest.$ac_ext <<_ACEOF
18614 /* end confdefs.h. */
18615 #include <ac_nonexistent.h>
18617 if { (ac_try="$ac_cpp conftest.$ac_ext"
18618 case "(($ac_try" in
18619 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
18620 *) ac_try_echo
=$ac_try;;
18622 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18623 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
18625 grep -v '^ *+' conftest.er1
>conftest.err
18627 cat conftest.err
>&5
18628 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18629 (exit $ac_status); } >/dev
/null
&& {
18630 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
18631 test ! -s conftest.err
18633 # Broken: success on invalid input.
18636 echo "$as_me: failed program was:" >&5
18637 sed 's/^/| /' conftest.
$ac_ext >&5
18639 # Passes both tests.
18644 rm -f conftest.err conftest.
$ac_ext
18647 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
18648 rm -f conftest.err conftest.
$ac_ext
18649 if $ac_preproc_ok; then
18652 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
18653 See \`config.log' for more details." >&5
18654 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
18655 See \`config.log' for more details." >&2;}
18656 { (exit 1); exit 1; }; }
18660 ac_cpp
='$CPP $CPPFLAGS'
18661 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18662 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18663 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
18666 { echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
18667 echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
18668 if test "${ac_cv_path_GREP+set}" = set; then
18669 echo $ECHO_N "(cached) $ECHO_C" >&6
18671 # Extract the first word of "grep ggrep" to use in msg output
18672 if test -z "$GREP"; then
18673 set dummy
grep ggrep
; ac_prog_name
=$2
18674 if test "${ac_cv_path_GREP+set}" = set; then
18675 echo $ECHO_N "(cached) $ECHO_C" >&6
18677 ac_path_GREP_found
=false
18678 # Loop through the user's path and test for each of PROGNAME-LIST
18679 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
18680 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
18683 test -z "$as_dir" && as_dir
=.
18684 for ac_prog
in grep ggrep
; do
18685 for ac_exec_ext
in '' $ac_executable_extensions; do
18686 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
18687 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
18688 # Check for GNU ac_path_GREP and select it if it is found.
18689 # Check for GNU $ac_path_GREP
18690 case `"$ac_path_GREP" --version 2>&1` in
18692 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
18695 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
18698 cat "conftest.in" "conftest.in" >"conftest.tmp"
18699 mv "conftest.tmp" "conftest.in"
18700 cp "conftest.in" "conftest.nl"
18701 echo 'GREP' >> "conftest.nl"
18702 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null
|| break
18703 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 || break
18704 ac_count
=`expr $ac_count + 1`
18705 if test $ac_count -gt ${ac_path_GREP_max-0}; then
18706 # Best one so far, save it but keep looking for a better one
18707 ac_cv_path_GREP
="$ac_path_GREP"
18708 ac_path_GREP_max
=$ac_count
18710 # 10*(2^10) chars as input seems more than enough
18711 test $ac_count -gt 10 && break
18713 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
18717 $ac_path_GREP_found && break 3
18727 GREP
="$ac_cv_path_GREP"
18728 if test -z "$GREP"; then
18729 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
18730 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
18731 { (exit 1); exit 1; }; }
18735 ac_cv_path_GREP
=$GREP
18740 { echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
18741 echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
18742 GREP
="$ac_cv_path_GREP"
18745 { echo "$as_me:$LINENO: checking for egrep" >&5
18746 echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
18747 if test "${ac_cv_path_EGREP+set}" = set; then
18748 echo $ECHO_N "(cached) $ECHO_C" >&6
18750 if echo a
| $GREP -E '(a|b)' >/dev
/null
2>&1
18751 then ac_cv_path_EGREP
="$GREP -E"
18753 # Extract the first word of "egrep" to use in msg output
18754 if test -z "$EGREP"; then
18755 set dummy
egrep; ac_prog_name
=$2
18756 if test "${ac_cv_path_EGREP+set}" = set; then
18757 echo $ECHO_N "(cached) $ECHO_C" >&6
18759 ac_path_EGREP_found
=false
18760 # Loop through the user's path and test for each of PROGNAME-LIST
18761 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
18762 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
18765 test -z "$as_dir" && as_dir
=.
18766 for ac_prog
in egrep; do
18767 for ac_exec_ext
in '' $ac_executable_extensions; do
18768 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
18769 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
18770 # Check for GNU ac_path_EGREP and select it if it is found.
18771 # Check for GNU $ac_path_EGREP
18772 case `"$ac_path_EGREP" --version 2>&1` in
18774 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
18777 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
18780 cat "conftest.in" "conftest.in" >"conftest.tmp"
18781 mv "conftest.tmp" "conftest.in"
18782 cp "conftest.in" "conftest.nl"
18783 echo 'EGREP' >> "conftest.nl"
18784 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null
|| break
18785 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 || break
18786 ac_count
=`expr $ac_count + 1`
18787 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
18788 # Best one so far, save it but keep looking for a better one
18789 ac_cv_path_EGREP
="$ac_path_EGREP"
18790 ac_path_EGREP_max
=$ac_count
18792 # 10*(2^10) chars as input seems more than enough
18793 test $ac_count -gt 10 && break
18795 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
18799 $ac_path_EGREP_found && break 3
18809 EGREP
="$ac_cv_path_EGREP"
18810 if test -z "$EGREP"; then
18811 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
18812 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
18813 { (exit 1); exit 1; }; }
18817 ac_cv_path_EGREP
=$EGREP
18823 { echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
18824 echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
18825 EGREP
="$ac_cv_path_EGREP"
18828 if test $ac_cv_c_compiler_gnu = yes; then
18829 { echo "$as_me:$LINENO: checking whether $CC needs -traditional" >&5
18830 echo $ECHO_N "checking whether $CC needs -traditional... $ECHO_C" >&6; }
18831 if test "${ac_cv_prog_gcc_traditional+set}" = set; then
18832 echo $ECHO_N "(cached) $ECHO_C" >&6
18834 ac_pattern
="Autoconf.*'x'"
18835 cat >conftest.
$ac_ext <<_ACEOF
18838 cat confdefs.h
>>conftest.
$ac_ext
18839 cat >>conftest.
$ac_ext <<_ACEOF
18840 /* end confdefs.h. */
18844 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
18845 $EGREP "$ac_pattern" >/dev
/null
2>&1; then
18846 ac_cv_prog_gcc_traditional
=yes
18848 ac_cv_prog_gcc_traditional
=no
18853 if test $ac_cv_prog_gcc_traditional = no
; then
18854 cat >conftest.
$ac_ext <<_ACEOF
18857 cat confdefs.h
>>conftest.
$ac_ext
18858 cat >>conftest.
$ac_ext <<_ACEOF
18859 /* end confdefs.h. */
18860 #include <termio.h>
18863 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
18864 $EGREP "$ac_pattern" >/dev
/null
2>&1; then
18865 ac_cv_prog_gcc_traditional
=yes
18871 { echo "$as_me:$LINENO: result: $ac_cv_prog_gcc_traditional" >&5
18872 echo "${ECHO_T}$ac_cv_prog_gcc_traditional" >&6; }
18873 if test $ac_cv_prog_gcc_traditional = yes; then
18874 CC
="$CC -traditional"
18879 CXXFLAGS
=${CXXFLAGS:=}
18884 ac_cpp
='$CXXCPP $CPPFLAGS'
18885 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18886 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18887 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
18888 if test -z "$CXX"; then
18889 if test -n "$CCC"; then
18892 if test -n "$ac_tool_prefix"; then
18893 for ac_prog
in g
++ c
++ gpp aCC CC cxx cc
++ cl.exe FCC KCC RCC xlC_r xlC
18895 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
18896 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
18897 { echo "$as_me:$LINENO: checking for $ac_word" >&5
18898 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
18899 if test "${ac_cv_prog_CXX+set}" = set; then
18900 echo $ECHO_N "(cached) $ECHO_C" >&6
18902 if test -n "$CXX"; then
18903 ac_cv_prog_CXX
="$CXX" # Let the user override the test.
18905 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
18906 for as_dir
in $PATH
18909 test -z "$as_dir" && as_dir
=.
18910 for ac_exec_ext
in '' $ac_executable_extensions; do
18911 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
18912 ac_cv_prog_CXX
="$ac_tool_prefix$ac_prog"
18913 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18922 CXX
=$ac_cv_prog_CXX
18923 if test -n "$CXX"; then
18924 { echo "$as_me:$LINENO: result: $CXX" >&5
18925 echo "${ECHO_T}$CXX" >&6; }
18927 { echo "$as_me:$LINENO: result: no" >&5
18928 echo "${ECHO_T}no" >&6; }
18932 test -n "$CXX" && break
18935 if test -z "$CXX"; then
18937 for ac_prog
in g
++ c
++ gpp aCC CC cxx cc
++ cl.exe FCC KCC RCC xlC_r xlC
18939 # Extract the first word of "$ac_prog", so it can be a program name with args.
18940 set dummy
$ac_prog; ac_word
=$2
18941 { echo "$as_me:$LINENO: checking for $ac_word" >&5
18942 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
18943 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
18944 echo $ECHO_N "(cached) $ECHO_C" >&6
18946 if test -n "$ac_ct_CXX"; then
18947 ac_cv_prog_ac_ct_CXX
="$ac_ct_CXX" # Let the user override the test.
18949 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
18950 for as_dir
in $PATH
18953 test -z "$as_dir" && as_dir
=.
18954 for ac_exec_ext
in '' $ac_executable_extensions; do
18955 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
18956 ac_cv_prog_ac_ct_CXX
="$ac_prog"
18957 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18966 ac_ct_CXX
=$ac_cv_prog_ac_ct_CXX
18967 if test -n "$ac_ct_CXX"; then
18968 { echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
18969 echo "${ECHO_T}$ac_ct_CXX" >&6; }
18971 { echo "$as_me:$LINENO: result: no" >&5
18972 echo "${ECHO_T}no" >&6; }
18976 test -n "$ac_ct_CXX" && break
18979 if test "x$ac_ct_CXX" = x
; then
18982 case $cross_compiling:$ac_tool_warned in
18984 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
18985 whose name does not start with the host triplet. If you think this
18986 configuration is useful to you, please write to autoconf@gnu.org." >&5
18987 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
18988 whose name does not start with the host triplet. If you think this
18989 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
18990 ac_tool_warned
=yes ;;
18998 # Provide some information about the compiler.
18999 echo "$as_me:$LINENO: checking for C++ compiler version" >&5
19000 ac_compiler
=`set X $ac_compile; echo $2`
19001 { (ac_try
="$ac_compiler --version >&5"
19002 case "(($ac_try" in
19003 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
19004 *) ac_try_echo=$ac_try;;
19006 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19007 (eval "$ac_compiler --version >&5") 2>&5
19009 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19010 (exit $ac_status); }
19011 { (ac_try="$ac_compiler -v >&5"
19012 case "(($ac_try" in
19013 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
19014 *) ac_try_echo
=$ac_try;;
19016 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19017 (eval "$ac_compiler -v >&5") 2>&5
19019 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19020 (exit $ac_status); }
19021 { (ac_try
="$ac_compiler -V >&5"
19022 case "(($ac_try" in
19023 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
19024 *) ac_try_echo=$ac_try;;
19026 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19027 (eval "$ac_compiler -V >&5") 2>&5
19029 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19030 (exit $ac_status); }
19032 { echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
19033 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6; }
19034 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
19035 echo $ECHO_N "(cached) $ECHO_C" >&6
19037 cat >conftest.$ac_ext <<_ACEOF
19040 cat confdefs.h >>conftest.$ac_ext
19041 cat >>conftest.$ac_ext <<_ACEOF
19042 /* end confdefs.h. */
19055 rm -f conftest.$ac_objext
19056 if { (ac_try="$ac_compile"
19057 case "(($ac_try" in
19058 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
19059 *) ac_try_echo
=$ac_try;;
19061 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19062 (eval "$ac_compile") 2>conftest.er1
19064 grep -v '^ *+' conftest.er1
>conftest.err
19066 cat conftest.err
>&5
19067 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19068 (exit $ac_status); } && {
19069 test -z "$ac_cxx_werror_flag" ||
19070 test ! -s conftest.err
19071 } && test -s conftest.
$ac_objext; then
19072 ac_compiler_gnu
=yes
19074 echo "$as_me: failed program was:" >&5
19075 sed 's/^/| /' conftest.
$ac_ext >&5
19080 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
19081 ac_cv_cxx_compiler_gnu
=$ac_compiler_gnu
19084 { echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
19085 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6; }
19086 GXX
=`test $ac_compiler_gnu = yes && echo yes`
19087 ac_test_CXXFLAGS
=${CXXFLAGS+set}
19088 ac_save_CXXFLAGS
=$CXXFLAGS
19089 { echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
19090 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6; }
19091 if test "${ac_cv_prog_cxx_g+set}" = set; then
19092 echo $ECHO_N "(cached) $ECHO_C" >&6
19094 ac_save_cxx_werror_flag
=$ac_cxx_werror_flag
19095 ac_cxx_werror_flag
=yes
19096 ac_cv_prog_cxx_g
=no
19098 cat >conftest.
$ac_ext <<_ACEOF
19101 cat confdefs.h
>>conftest.
$ac_ext
19102 cat >>conftest.
$ac_ext <<_ACEOF
19103 /* end confdefs.h. */
19113 rm -f conftest.
$ac_objext
19114 if { (ac_try
="$ac_compile"
19115 case "(($ac_try" in
19116 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
19117 *) ac_try_echo=$ac_try;;
19119 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19120 (eval "$ac_compile") 2>conftest.er1
19122 grep -v '^ *+' conftest.er1 >conftest.err
19124 cat conftest.err >&5
19125 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19126 (exit $ac_status); } && {
19127 test -z "$ac_cxx_werror_flag" ||
19128 test ! -s conftest.err
19129 } && test -s conftest.$ac_objext; then
19130 ac_cv_prog_cxx_g=yes
19132 echo "$as_me: failed program was:" >&5
19133 sed 's/^/| /' conftest.$ac_ext >&5
19136 cat >conftest.$ac_ext <<_ACEOF
19139 cat confdefs.h >>conftest.$ac_ext
19140 cat >>conftest.$ac_ext <<_ACEOF
19141 /* end confdefs.h. */
19151 rm -f conftest.$ac_objext
19152 if { (ac_try="$ac_compile"
19153 case "(($ac_try" in
19154 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
19155 *) ac_try_echo
=$ac_try;;
19157 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19158 (eval "$ac_compile") 2>conftest.er1
19160 grep -v '^ *+' conftest.er1
>conftest.err
19162 cat conftest.err
>&5
19163 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19164 (exit $ac_status); } && {
19165 test -z "$ac_cxx_werror_flag" ||
19166 test ! -s conftest.err
19167 } && test -s conftest.
$ac_objext; then
19170 echo "$as_me: failed program was:" >&5
19171 sed 's/^/| /' conftest.
$ac_ext >&5
19173 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
19175 cat >conftest.
$ac_ext <<_ACEOF
19178 cat confdefs.h
>>conftest.
$ac_ext
19179 cat >>conftest.
$ac_ext <<_ACEOF
19180 /* end confdefs.h. */
19190 rm -f conftest.
$ac_objext
19191 if { (ac_try
="$ac_compile"
19192 case "(($ac_try" in
19193 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
19194 *) ac_try_echo=$ac_try;;
19196 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19197 (eval "$ac_compile") 2>conftest.er1
19199 grep -v '^ *+' conftest.er1 >conftest.err
19201 cat conftest.err >&5
19202 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19203 (exit $ac_status); } && {
19204 test -z "$ac_cxx_werror_flag" ||
19205 test ! -s conftest.err
19206 } && test -s conftest.$ac_objext; then
19207 ac_cv_prog_cxx_g=yes
19209 echo "$as_me: failed program was:" >&5
19210 sed 's/^/| /' conftest.$ac_ext >&5
19215 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19218 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19221 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19222 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
19224 { echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
19225 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6; }
19226 if test "$ac_test_CXXFLAGS" = set; then
19227 CXXFLAGS=$ac_save_CXXFLAGS
19228 elif test $ac_cv_prog_cxx_g = yes; then
19229 if test "$GXX" = yes; then
19235 if test "$GXX" = yes; then
19242 ac_cpp='$CPP $CPPFLAGS'
19243 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19244 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19245 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19251 ac_cpp='$CXXCPP $CPPFLAGS'
19252 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19253 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19254 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19256 { echo "$as_me:$LINENO: checking whether we are using the Intel C++ compiler" >&5
19257 echo $ECHO_N "checking whether we are using the Intel C++ compiler... $ECHO_C" >&6; }
19258 if test "${bakefile_cv_cxx_compiler___INTEL_COMPILER+set}" = set; then
19259 echo $ECHO_N "(cached) $ECHO_C" >&6
19261 cat >conftest.$ac_ext <<_ACEOF
19264 cat confdefs.h >>conftest.$ac_ext
19265 cat >>conftest.$ac_ext <<_ACEOF
19266 /* end confdefs.h. */
19272 #ifndef __INTEL_COMPILER
19280 rm -f conftest.$ac_objext
19281 if { (ac_try="$ac_compile"
19282 case "(($ac_try" in
19283 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
19284 *) ac_try_echo
=$ac_try;;
19286 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19287 (eval "$ac_compile") 2>conftest.er1
19289 grep -v '^ *+' conftest.er1
>conftest.err
19291 cat conftest.err
>&5
19292 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19293 (exit $ac_status); } && {
19294 test -z "$ac_cxx_werror_flag" ||
19295 test ! -s conftest.err
19296 } && test -s conftest.
$ac_objext; then
19297 bakefile_cv_cxx_compiler___INTEL_COMPILER
=yes
19299 echo "$as_me: failed program was:" >&5
19300 sed 's/^/| /' conftest.
$ac_ext >&5
19302 bakefile_cv_cxx_compiler___INTEL_COMPILER
=no
19306 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
19310 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___INTEL_COMPILER" >&5
19311 echo "${ECHO_T}$bakefile_cv_cxx_compiler___INTEL_COMPILER" >&6; }
19312 if test "x$bakefile_cv_cxx_compiler___INTEL_COMPILER" = "xyes"; then
19318 ac_cpp
='$CPP $CPPFLAGS'
19319 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19320 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19321 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
19326 if test "x$GCXX" != "xyes"; then
19327 if test "xCXX" = "xC"; then
19328 { echo "$as_me:$LINENO: checking if the C compiler requires -ext o" >&5
19329 echo $ECHO_N "checking if the C compiler requires -ext o... $ECHO_C" >&6; }
19330 if test "${bakefile_cv_c_exto+set}" = set; then
19331 echo $ECHO_N "(cached) $ECHO_C" >&6
19333 cat >conftest.
$ac_ext <<_ACEOF
19336 cat confdefs.h
>>conftest.
$ac_ext
19337 cat >>conftest.
$ac_ext <<_ACEOF
19338 /* end confdefs.h. */
19348 rm -f conftest.
$ac_objext conftest.
$ac_ext.o
19349 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19350 (eval $ac_compile) 2>&5
19352 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19353 (exit $ac_status); }; then
19354 for ac_file
in `(ls conftest.* 2>/dev/null)`; do
19356 conftest.
$ac_ext.o
)
19357 bakefile_cv_c_exto
="-ext o"
19364 { { echo "$as_me:$LINENO: error: cannot figure out if compiler needs -ext o: cannot compile
19365 See \`config.log' for more details." >&5
19366 echo "$as_me: error: cannot figure out if compiler needs -ext o: cannot compile
19367 See \`config.log' for more details." >&2;}
19368 { (exit 1); exit 1; }; }
19372 rm -f conftest.
$ac_ext.o conftest.
$ac_objext conftest.
$ac_ext
19375 { echo "$as_me:$LINENO: result: $bakefile_cv_c_exto" >&5
19376 echo "${ECHO_T}$bakefile_cv_c_exto" >&6; }
19377 if test "x$bakefile_cv_c_exto" '!=' "x"; then
19378 if test "c" = "c"; then
19379 CFLAGS
="$bakefile_cv_c_exto $CFLAGS"
19381 if test "c" = "cxx"; then
19382 CXXFLAGS
="$bakefile_cv_c_exto $CXXFLAGS"
19386 if test "x$bakefile_cv_c_exto" '!=' "x"; then
19387 unset ac_cv_prog_cc_g
19388 ac_test_CFLAGS
=${CFLAGS+set}
19389 ac_save_CFLAGS
=$CFLAGS
19390 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
19391 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
19392 if test "${ac_cv_prog_cc_g+set}" = set; then
19393 echo $ECHO_N "(cached) $ECHO_C" >&6
19395 ac_save_c_werror_flag
=$ac_c_werror_flag
19396 ac_c_werror_flag
=yes
19399 cat >conftest.
$ac_ext <<_ACEOF
19402 cat confdefs.h
>>conftest.
$ac_ext
19403 cat >>conftest.
$ac_ext <<_ACEOF
19404 /* end confdefs.h. */
19414 rm -f conftest.
$ac_objext
19415 if { (ac_try
="$ac_compile"
19416 case "(($ac_try" in
19417 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
19418 *) ac_try_echo=$ac_try;;
19420 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19421 (eval "$ac_compile") 2>conftest.er1
19423 grep -v '^ *+' conftest.er1 >conftest.err
19425 cat conftest.err >&5
19426 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19427 (exit $ac_status); } && {
19428 test -z "$ac_c_werror_flag" ||
19429 test ! -s conftest.err
19430 } && test -s conftest.$ac_objext; then
19431 ac_cv_prog_cc_g=yes
19433 echo "$as_me: failed program was:" >&5
19434 sed 's/^/| /' conftest.$ac_ext >&5
19437 cat >conftest.$ac_ext <<_ACEOF
19440 cat confdefs.h >>conftest.$ac_ext
19441 cat >>conftest.$ac_ext <<_ACEOF
19442 /* end confdefs.h. */
19452 rm -f conftest.$ac_objext
19453 if { (ac_try="$ac_compile"
19454 case "(($ac_try" in
19455 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
19456 *) ac_try_echo
=$ac_try;;
19458 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19459 (eval "$ac_compile") 2>conftest.er1
19461 grep -v '^ *+' conftest.er1
>conftest.err
19463 cat conftest.err
>&5
19464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19465 (exit $ac_status); } && {
19466 test -z "$ac_c_werror_flag" ||
19467 test ! -s conftest.err
19468 } && test -s conftest.
$ac_objext; then
19471 echo "$as_me: failed program was:" >&5
19472 sed 's/^/| /' conftest.
$ac_ext >&5
19474 ac_c_werror_flag
=$ac_save_c_werror_flag
19476 cat >conftest.
$ac_ext <<_ACEOF
19479 cat confdefs.h
>>conftest.
$ac_ext
19480 cat >>conftest.
$ac_ext <<_ACEOF
19481 /* end confdefs.h. */
19491 rm -f conftest.
$ac_objext
19492 if { (ac_try
="$ac_compile"
19493 case "(($ac_try" in
19494 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
19495 *) ac_try_echo=$ac_try;;
19497 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19498 (eval "$ac_compile") 2>conftest.er1
19500 grep -v '^ *+' conftest.er1 >conftest.err
19502 cat conftest.err >&5
19503 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19504 (exit $ac_status); } && {
19505 test -z "$ac_c_werror_flag" ||
19506 test ! -s conftest.err
19507 } && test -s conftest.$ac_objext; then
19508 ac_cv_prog_cc_g=yes
19510 echo "$as_me: failed program was:" >&5
19511 sed 's/^/| /' conftest.$ac_ext >&5
19516 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19519 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19522 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19523 ac_c_werror_flag=$ac_save_c_werror_flag
19525 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
19526 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
19527 if test "$ac_test_CFLAGS" = set; then
19528 CFLAGS=$ac_save_CFLAGS
19529 elif test $ac_cv_prog_cc_g = yes; then
19530 if test "$GCC" = yes; then
19536 if test "$GCC" = yes; then
19550 ac_cpp='$CXXCPP $CPPFLAGS'
19551 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19552 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19553 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19555 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C++ compiler" >&5
19556 echo $ECHO_N "checking whether we are using the IBM xlC C++ compiler... $ECHO_C" >&6; }
19557 if test "${bakefile_cv_cxx_compiler___xlC__+set}" = set; then
19558 echo $ECHO_N "(cached) $ECHO_C" >&6
19560 cat >conftest.$ac_ext <<_ACEOF
19563 cat confdefs.h >>conftest.$ac_ext
19564 cat >>conftest.$ac_ext <<_ACEOF
19565 /* end confdefs.h. */
19579 rm -f conftest.$ac_objext
19580 if { (ac_try="$ac_compile"
19581 case "(($ac_try" in
19582 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
19583 *) ac_try_echo
=$ac_try;;
19585 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19586 (eval "$ac_compile") 2>conftest.er1
19588 grep -v '^ *+' conftest.er1
>conftest.err
19590 cat conftest.err
>&5
19591 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19592 (exit $ac_status); } && {
19593 test -z "$ac_cxx_werror_flag" ||
19594 test ! -s conftest.err
19595 } && test -s conftest.
$ac_objext; then
19596 bakefile_cv_cxx_compiler___xlC__
=yes
19598 echo "$as_me: failed program was:" >&5
19599 sed 's/^/| /' conftest.
$ac_ext >&5
19601 bakefile_cv_cxx_compiler___xlC__
=no
19605 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
19609 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___xlC__" >&5
19610 echo "${ECHO_T}$bakefile_cv_cxx_compiler___xlC__" >&6; }
19611 if test "x$bakefile_cv_cxx_compiler___xlC__" = "xyes"; then
19617 ac_cpp
='$CPP $CPPFLAGS'
19618 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19619 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19620 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
19630 ac_cpp
='$CXXCPP $CPPFLAGS'
19631 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19632 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19633 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
19635 { echo "$as_me:$LINENO: checking whether we are using the Metrowerks C++ compiler" >&5
19636 echo $ECHO_N "checking whether we are using the Metrowerks C++ compiler... $ECHO_C" >&6; }
19637 if test "${bakefile_cv_cxx_compiler___MWERKS__+set}" = set; then
19638 echo $ECHO_N "(cached) $ECHO_C" >&6
19640 cat >conftest.
$ac_ext <<_ACEOF
19643 cat confdefs.h
>>conftest.
$ac_ext
19644 cat >>conftest.
$ac_ext <<_ACEOF
19645 /* end confdefs.h. */
19659 rm -f conftest.
$ac_objext
19660 if { (ac_try
="$ac_compile"
19661 case "(($ac_try" in
19662 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
19663 *) ac_try_echo=$ac_try;;
19665 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19666 (eval "$ac_compile") 2>conftest.er1
19668 grep -v '^ *+' conftest.er1 >conftest.err
19670 cat conftest.err >&5
19671 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19672 (exit $ac_status); } && {
19673 test -z "$ac_cxx_werror_flag" ||
19674 test ! -s conftest.err
19675 } && test -s conftest.$ac_objext; then
19676 bakefile_cv_cxx_compiler___MWERKS__=yes
19678 echo "$as_me: failed program was:" >&5
19679 sed 's/^/| /' conftest.$ac_ext >&5
19681 bakefile_cv_cxx_compiler___MWERKS__=no
19685 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19689 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___MWERKS__" >&5
19690 echo "${ECHO_T}$bakefile_cv_cxx_compiler___MWERKS__" >&6; }
19691 if test "x$bakefile_cv_cxx_compiler___MWERKS__" = "xyes"; then
19697 ac_cpp='$CPP $CPPFLAGS'
19698 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19699 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19700 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19707 ac_cpp='$CXXCPP $CPPFLAGS'
19708 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19709 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19710 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19712 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C++ compiler" >&5
19713 echo $ECHO_N "checking whether we are using the IBM xlC C++ compiler... $ECHO_C" >&6; }
19714 if test "${bakefile_cv_cxx_compiler___xlC__+set}" = set; then
19715 echo $ECHO_N "(cached) $ECHO_C" >&6
19717 cat >conftest.$ac_ext <<_ACEOF
19720 cat confdefs.h >>conftest.$ac_ext
19721 cat >>conftest.$ac_ext <<_ACEOF
19722 /* end confdefs.h. */
19736 rm -f conftest.$ac_objext
19737 if { (ac_try="$ac_compile"
19738 case "(($ac_try" in
19739 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
19740 *) ac_try_echo
=$ac_try;;
19742 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19743 (eval "$ac_compile") 2>conftest.er1
19745 grep -v '^ *+' conftest.er1
>conftest.err
19747 cat conftest.err
>&5
19748 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19749 (exit $ac_status); } && {
19750 test -z "$ac_cxx_werror_flag" ||
19751 test ! -s conftest.err
19752 } && test -s conftest.
$ac_objext; then
19753 bakefile_cv_cxx_compiler___xlC__
=yes
19755 echo "$as_me: failed program was:" >&5
19756 sed 's/^/| /' conftest.
$ac_ext >&5
19758 bakefile_cv_cxx_compiler___xlC__
=no
19762 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
19766 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___xlC__" >&5
19767 echo "${ECHO_T}$bakefile_cv_cxx_compiler___xlC__" >&6; }
19768 if test "x$bakefile_cv_cxx_compiler___xlC__" = "xyes"; then
19774 ac_cpp
='$CPP $CPPFLAGS'
19775 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19776 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19777 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
19787 ac_cpp
='$CXXCPP $CPPFLAGS'
19788 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19789 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19790 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
19792 { echo "$as_me:$LINENO: checking whether we are using the SGI C++ compiler" >&5
19793 echo $ECHO_N "checking whether we are using the SGI C++ compiler... $ECHO_C" >&6; }
19794 if test "${bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION+set}" = set; then
19795 echo $ECHO_N "(cached) $ECHO_C" >&6
19797 cat >conftest.
$ac_ext <<_ACEOF
19800 cat confdefs.h
>>conftest.
$ac_ext
19801 cat >>conftest.
$ac_ext <<_ACEOF
19802 /* end confdefs.h. */
19808 #ifndef _SGI_COMPILER_VERSION
19816 rm -f conftest.
$ac_objext
19817 if { (ac_try
="$ac_compile"
19818 case "(($ac_try" in
19819 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
19820 *) ac_try_echo=$ac_try;;
19822 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19823 (eval "$ac_compile") 2>conftest.er1
19825 grep -v '^ *+' conftest.er1 >conftest.err
19827 cat conftest.err >&5
19828 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19829 (exit $ac_status); } && {
19830 test -z "$ac_cxx_werror_flag" ||
19831 test ! -s conftest.err
19832 } && test -s conftest.$ac_objext; then
19833 bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION=yes
19835 echo "$as_me: failed program was:" >&5
19836 sed 's/^/| /' conftest.$ac_ext >&5
19838 bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION=no
19842 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19846 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" >&5
19847 echo "${ECHO_T}$bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" >&6; }
19848 if test "x$bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" = "xyes"; then
19854 ac_cpp='$CPP $CPPFLAGS'
19855 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19856 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19857 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19867 ac_cpp='$CXXCPP $CPPFLAGS'
19868 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19869 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19870 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19872 { echo "$as_me:$LINENO: checking whether we are using the Sun C++ compiler" >&5
19873 echo $ECHO_N "checking whether we are using the Sun C++ compiler... $ECHO_C" >&6; }
19874 if test "${bakefile_cv_cxx_compiler___SUNPRO_CC+set}" = set; then
19875 echo $ECHO_N "(cached) $ECHO_C" >&6
19877 cat >conftest.$ac_ext <<_ACEOF
19880 cat confdefs.h >>conftest.$ac_ext
19881 cat >>conftest.$ac_ext <<_ACEOF
19882 /* end confdefs.h. */
19888 #ifndef __SUNPRO_CC
19896 rm -f conftest.$ac_objext
19897 if { (ac_try="$ac_compile"
19898 case "(($ac_try" in
19899 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
19900 *) ac_try_echo
=$ac_try;;
19902 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19903 (eval "$ac_compile") 2>conftest.er1
19905 grep -v '^ *+' conftest.er1
>conftest.err
19907 cat conftest.err
>&5
19908 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19909 (exit $ac_status); } && {
19910 test -z "$ac_cxx_werror_flag" ||
19911 test ! -s conftest.err
19912 } && test -s conftest.
$ac_objext; then
19913 bakefile_cv_cxx_compiler___SUNPRO_CC
=yes
19915 echo "$as_me: failed program was:" >&5
19916 sed 's/^/| /' conftest.
$ac_ext >&5
19918 bakefile_cv_cxx_compiler___SUNPRO_CC
=no
19922 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
19926 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___SUNPRO_CC" >&5
19927 echo "${ECHO_T}$bakefile_cv_cxx_compiler___SUNPRO_CC" >&6; }
19928 if test "x$bakefile_cv_cxx_compiler___SUNPRO_CC" = "xyes"; then
19934 ac_cpp
='$CPP $CPPFLAGS'
19935 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19936 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19937 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
19947 ac_cpp
='$CXXCPP $CPPFLAGS'
19948 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19949 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19950 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
19952 { echo "$as_me:$LINENO: checking whether we are using the HP C++ compiler" >&5
19953 echo $ECHO_N "checking whether we are using the HP C++ compiler... $ECHO_C" >&6; }
19954 if test "${bakefile_cv_cxx_compiler___HP_aCC+set}" = set; then
19955 echo $ECHO_N "(cached) $ECHO_C" >&6
19957 cat >conftest.
$ac_ext <<_ACEOF
19960 cat confdefs.h
>>conftest.
$ac_ext
19961 cat >>conftest.
$ac_ext <<_ACEOF
19962 /* end confdefs.h. */
19976 rm -f conftest.
$ac_objext
19977 if { (ac_try
="$ac_compile"
19978 case "(($ac_try" in
19979 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
19980 *) ac_try_echo=$ac_try;;
19982 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19983 (eval "$ac_compile") 2>conftest.er1
19985 grep -v '^ *+' conftest.er1 >conftest.err
19987 cat conftest.err >&5
19988 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19989 (exit $ac_status); } && {
19990 test -z "$ac_cxx_werror_flag" ||
19991 test ! -s conftest.err
19992 } && test -s conftest.$ac_objext; then
19993 bakefile_cv_cxx_compiler___HP_aCC=yes
19995 echo "$as_me: failed program was:" >&5
19996 sed 's/^/| /' conftest.$ac_ext >&5
19998 bakefile_cv_cxx_compiler___HP_aCC=no
20002 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20006 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___HP_aCC" >&5
20007 echo "${ECHO_T}$bakefile_cv_cxx_compiler___HP_aCC" >&6; }
20008 if test "x$bakefile_cv_cxx_compiler___HP_aCC" = "xyes"; then
20014 ac_cpp='$CPP $CPPFLAGS'
20015 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20016 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20017 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20027 ac_cpp='$CXXCPP $CPPFLAGS'
20028 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20029 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20030 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20032 { echo "$as_me:$LINENO: checking whether we are using the Compaq C++ compiler" >&5
20033 echo $ECHO_N "checking whether we are using the Compaq C++ compiler... $ECHO_C" >&6; }
20034 if test "${bakefile_cv_cxx_compiler___DECCXX+set}" = set; then
20035 echo $ECHO_N "(cached) $ECHO_C" >&6
20037 cat >conftest.$ac_ext <<_ACEOF
20040 cat confdefs.h >>conftest.$ac_ext
20041 cat >>conftest.$ac_ext <<_ACEOF
20042 /* end confdefs.h. */
20056 rm -f conftest.$ac_objext
20057 if { (ac_try="$ac_compile"
20058 case "(($ac_try" in
20059 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
20060 *) ac_try_echo
=$ac_try;;
20062 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20063 (eval "$ac_compile") 2>conftest.er1
20065 grep -v '^ *+' conftest.er1
>conftest.err
20067 cat conftest.err
>&5
20068 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20069 (exit $ac_status); } && {
20070 test -z "$ac_cxx_werror_flag" ||
20071 test ! -s conftest.err
20072 } && test -s conftest.
$ac_objext; then
20073 bakefile_cv_cxx_compiler___DECCXX
=yes
20075 echo "$as_me: failed program was:" >&5
20076 sed 's/^/| /' conftest.
$ac_ext >&5
20078 bakefile_cv_cxx_compiler___DECCXX
=no
20082 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20086 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___DECCXX" >&5
20087 echo "${ECHO_T}$bakefile_cv_cxx_compiler___DECCXX" >&6; }
20088 if test "x$bakefile_cv_cxx_compiler___DECCXX" = "xyes"; then
20094 ac_cpp
='$CPP $CPPFLAGS'
20095 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20096 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20097 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
20107 ac_cpp
='$CXXCPP $CPPFLAGS'
20108 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20109 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20110 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
20112 { echo "$as_me:$LINENO: checking whether we are using the Sun C++ compiler" >&5
20113 echo $ECHO_N "checking whether we are using the Sun C++ compiler... $ECHO_C" >&6; }
20114 if test "${bakefile_cv_cxx_compiler___SUNPRO_CC+set}" = set; then
20115 echo $ECHO_N "(cached) $ECHO_C" >&6
20117 cat >conftest.
$ac_ext <<_ACEOF
20120 cat confdefs.h
>>conftest.
$ac_ext
20121 cat >>conftest.
$ac_ext <<_ACEOF
20122 /* end confdefs.h. */
20128 #ifndef __SUNPRO_CC
20136 rm -f conftest.
$ac_objext
20137 if { (ac_try
="$ac_compile"
20138 case "(($ac_try" in
20139 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
20140 *) ac_try_echo=$ac_try;;
20142 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20143 (eval "$ac_compile") 2>conftest.er1
20145 grep -v '^ *+' conftest.er1 >conftest.err
20147 cat conftest.err >&5
20148 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20149 (exit $ac_status); } && {
20150 test -z "$ac_cxx_werror_flag" ||
20151 test ! -s conftest.err
20152 } && test -s conftest.$ac_objext; then
20153 bakefile_cv_cxx_compiler___SUNPRO_CC=yes
20155 echo "$as_me: failed program was:" >&5
20156 sed 's/^/| /' conftest.$ac_ext >&5
20158 bakefile_cv_cxx_compiler___SUNPRO_CC=no
20162 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20166 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___SUNPRO_CC" >&5
20167 echo "${ECHO_T}$bakefile_cv_cxx_compiler___SUNPRO_CC" >&6; }
20168 if test "x$bakefile_cv_cxx_compiler___SUNPRO_CC" = "xyes"; then
20174 ac_cpp='$CPP $CPPFLAGS'
20175 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20176 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20177 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20187 if test "$CXX" = "g++" -a "$GXX" != "yes"; then
20188 { { echo "$as_me:$LINENO: error: C++ compiler is needed to build wxWidgets" >&5
20189 echo "$as_me: error: C++ compiler is needed to build wxWidgets" >&2;}
20190 { (exit 1); exit 1; }; }
20193 if test "x$SUNCXX" != xyes; then
20194 if test -n "$ac_tool_prefix"; then
20195 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
20196 set dummy ${ac_tool_prefix}ar; ac_word=$2
20197 { echo "$as_me:$LINENO: checking for $ac_word" >&5
20198 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
20199 if test "${ac_cv_prog_AR+set}" = set; then
20200 echo $ECHO_N "(cached) $ECHO_C" >&6
20202 if test -n "$AR"; then
20203 ac_cv_prog_AR="$AR" # Let the user override the test.
20205 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
20206 for as_dir in $PATH
20209 test -z "$as_dir" && as_dir=.
20210 for ac_exec_ext in '' $ac_executable_extensions; do
20211 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
20212 ac_cv_prog_AR="${ac_tool_prefix}ar"
20213 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
20223 if test -n "$AR"; then
20224 { echo "$as_me:$LINENO: result: $AR" >&5
20225 echo "${ECHO_T}$AR" >&6; }
20227 { echo "$as_me:$LINENO: result: no" >&5
20228 echo "${ECHO_T}no" >&6; }
20233 if test -z "$ac_cv_prog_AR"; then
20235 # Extract the first word of "ar", so it can be a program name with args.
20236 set dummy ar; ac_word=$2
20237 { echo "$as_me:$LINENO: checking for $ac_word" >&5
20238 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
20239 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
20240 echo $ECHO_N "(cached) $ECHO_C" >&6
20242 if test -n "$ac_ct_AR"; then
20243 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
20245 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
20246 for as_dir in $PATH
20249 test -z "$as_dir" && as_dir=.
20250 for ac_exec_ext in '' $ac_executable_extensions; do
20251 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
20252 ac_cv_prog_ac_ct_AR="ar"
20253 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
20262 ac_ct_AR=$ac_cv_prog_ac_ct_AR
20263 if test -n "$ac_ct_AR"; then
20264 { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
20265 echo "${ECHO_T}$ac_ct_AR" >&6; }
20267 { echo "$as_me:$LINENO: result: no" >&5
20268 echo "${ECHO_T}no" >&6; }
20271 if test "x$ac_ct_AR" = x; then
20274 case $cross_compiling:$ac_tool_warned in
20276 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
20277 whose name does not start with the host triplet. If you think this
20278 configuration is useful to you, please write to autoconf@gnu.org." >&5
20279 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
20280 whose name does not start with the host triplet. If you think this
20281 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
20282 ac_tool_warned=yes ;;
20287 AR="$ac_cv_prog_AR"
20290 if test "x$AR" = "x" ; then
20291 { { echo "$as_me:$LINENO: error: ar is needed to build wxWidgets" >&5
20292 echo "$as_me: error: ar is needed to build wxWidgets" >&2;}
20293 { (exit 1); exit 1; }; }
20297 retest_macosx_linking=no
20299 #if test "$wxUSE_MAC" = 1; then
20300 if test "x$wxUSE_UNIVERSAL_BINARY" != xno ; then
20301 if test "x$wxUSE_UNIVERSAL_BINARY" == xyes; then
20302 # Implicitly turn on the new --with-macosx-sdk using the default
20303 # SDK which provides the behavior this option has always had.
20304 if test "x$wxUSE_MACOSX_SDK" = "x"; then
20305 { echo "$as_me:$LINENO: WARNING: Enabling default SDK due to --enable-universal_binary." >&5
20306 echo "$as_me: WARNING: Enabling default SDK due to --enable-universal_binary." >&2;}
20307 { echo "$as_me:$LINENO: WARNING: If you don't want this, specify --without-macosx-sdk" >&5
20308 echo "$as_me: WARNING: If you don't want this, specify --without-macosx-sdk" >&2;}
20309 wxUSE_MACOSX_SDK=yes
20312 # Complain to user if he specified an argument to --enable-universal_binary
20313 # and also 1) specified --with-macosx-sdk using the default (yes) or
20314 # 2) specified --with-macosx-sdk using a path or 3) specified
20315 # --without-macosx-sdk (no).
20316 if test "x$wxUSE_MACOSX_SDK" != "x" ; then
20317 { { echo "$as_me:$LINENO: error: Please specify the new --with-macosx-sdk=PATH and do not specify an arg to --enable-universal_binary
20318 See \`config.log
' for more details." >&5
20319 echo "$as_me: error: Please specify the new --with-macosx-sdk=PATH and do not specify an arg to --enable-universal_binary
20320 See \`config.log' for more details.
" >&2;}
20321 { (exit 1); exit 1; }; }
20323 # Put the SDK path into the wxUSE_MACOSX_SDK. We don't have to
20324 # special-case the empty string because the below test simply
20325 # converts "no
" to the empty string anyway.
20326 wxUSE_MACOSX_SDK="$wxUSE_UNIVERSAL_BINARY"
20327 { echo "$as_me:$LINENO: WARNING
: Please use
--with-macosx-sdk=PATH and
--enable-universal_binary without an argument
" >&5
20328 echo "$as_me: WARNING
: Please use
--with-macosx-sdk=PATH and
--enable-universal_binary without an argument
" >&2;}
20331 OSX_UNIV_OPTS="-arch ppc
-arch i386
"
20332 CXXFLAGS="$OSX_UNIV_OPTS $CXXFLAGS"
20333 CFLAGS="$OSX_UNIV_OPTS $CFLAGS"
20334 LDFLAGS="$OSX_UNIV_OPTS $LDFLAGS"
20335 retest_macosx_linking=yes
20337 { echo "$as_me:$LINENO: WARNING
: Disabling precompiled headers due to universal binary build.
" >&5
20338 echo "$as_me: WARNING
: Disabling precompiled headers due to universal binary build.
" >&2;}
20343 if test "x
$wxUSE_MACOSX_SDK" = "xno
"; then
20345 elif test "x
$wxUSE_MACOSX_SDK" = "xyes
"; then
20346 # TODO: Search for most recent SDK and use it.
20347 wxUSE_MACOSX_SDK="/Developer
/SDKs
/MacOSX10.4u.sdk
"
20351 if test "x
$wxUSE_MACOSX_SDK" != "x
"; then
20352 { echo "$as_me:$LINENO: checking
for SDK directory
$wxUSE_MACOSX_SDK" >&5
20353 echo $ECHO_N "checking
for SDK directory
$wxUSE_MACOSX_SDK...
$ECHO_C" >&6; }
20354 if ! test -d "$wxUSE_MACOSX_SDK"; then
20355 { { echo "$as_me:$LINENO: error
: not found
20356 See \
`config.log' for more details." >&5
20357 echo "$as_me: error: not found
20358 See \`config.log
' for more details." >&2;}
20359 { (exit 1); exit 1; }; }
20361 { echo "$as_me:$LINENO: result: exists" >&5
20362 echo "${ECHO_T}exists" >&6; }
20364 MACOSX_SDK_OPTS="-isysroot $wxUSE_MACOSX_SDK"
20365 eval "CC=\"$CC $MACOSX_SDK_OPTS\""
20366 eval "CXX=\"$CXX $MACOSX_SDK_OPTS\""
20367 eval "LD=\"$LD $MACOSX_SDK_OPTS\""
20368 retest_macosx_linking=yes
20371 if test "x$wxUSE_MACOSX_VERSION_MIN" = "xno"; then
20372 wxUSE_MACOSX_VERSION_MIN=
20373 elif test "x$wxUSE_MACOSX_VERSION_MIN" = "xyes"; then
20374 if test "x$wxUSE_MACOSX_SDK" != "x"; then
20375 { echo "$as_me:$LINENO: checking SDK deployment version" >&5
20376 echo $ECHO_N "checking SDK deployment version... $ECHO_C" >&6; }
20378 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/'`
20380 if test "x$MACOSX_SDK_PLIST_VERSION_MIN" != "x"; then
20381 wxUSE_MACOSX_VERSION_MIN=$MACOSX_SDK_PLIST_VERSION_MIN
20382 { echo "$as_me:$LINENO: result: $wxUSE_MACOSX_VERSION_MIN" >&5
20383 echo "${ECHO_T}$wxUSE_MACOSX_VERSION_MIN" >&6; }
20385 { echo "$as_me:$LINENO: WARNING: Could not determine deployment target from SDKSettings.plist" >&5
20386 echo "$as_me: WARNING: Could not determine deployment target from SDKSettings.plist" >&2;}
20387 wxUSE_MACOSX_VERSION_MIN=
20390 wxUSE_MACOSX_VERSION_MIN=
20394 if test "x$wxUSE_MACOSX_VERSION_MIN" != "x"; then
20395 MACOSX_VERSION_MIN_OPTS="-mmacosx-version-min=$wxUSE_MACOSX_VERSION_MIN"
20396 eval "CC=\"$CC $MACOSX_VERSION_MIN_OPTS\""
20397 eval "CXX=\"$CXX $MACOSX_VERSION_MIN_OPTS\""
20398 eval "LD=\"$LD $MACOSX_VERSION_MIN_OPTS\""
20399 retest_macosx_linking=yes
20402 if test "x$retest_macosx_linking" = "xyes"; then
20404 ac_cpp='$CPP $CPPFLAGS'
20405 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
20406 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
20407 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20409 { echo "$as_me:$LINENO: checking if C compiler works with SDK/version options" >&5
20410 echo $ECHO_N "checking if C compiler works with SDK/version options... $ECHO_C" >&6; }
20411 cat >conftest.$ac_ext <<_ACEOF
20414 cat confdefs.h >>conftest.$ac_ext
20415 cat >>conftest.$ac_ext <<_ACEOF
20416 /* end confdefs.h. */
20426 rm -f conftest.$ac_objext conftest$ac_exeext
20427 if { (ac_try="$ac_link"
20428 case "(($ac_try" in
20429 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20430 *) ac_try_echo=$ac_try;;
20432 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20433 (eval "$ac_link") 2>conftest.er1
20435 grep -v '^
*+' conftest.er1 >conftest.err
20437 cat conftest.err >&5
20438 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20439 (exit $ac_status); } && {
20440 test -z "$ac_c_werror_flag" ||
20441 test ! -s conftest.err
20442 } && test -s conftest$ac_exeext &&
20443 $as_test_x conftest$ac_exeext; then
20444 { echo "$as_me:$LINENO: result: yes" >&5
20445 echo "${ECHO_T}yes" >&6; }
20447 echo "$as_me: failed program was:" >&5
20448 sed 's
/^
/| /' conftest.$ac_ext >&5
20450 { { echo "$as_me:$LINENO: error: no. Try a different SDK
20451 See \`config.log' for more details.
" >&5
20452 echo "$as_me: error
: no. Try a different SDK
20453 See \
`config.log' for more details." >&2;}
20454 { (exit 1); exit 1; }; }; exit 1
20457 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
20458 conftest$ac_exeext conftest.$ac_ext
20460 ac_cpp='$CPP $CPPFLAGS'
20461 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20462 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20463 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20467 ac_cpp='$CXXCPP $CPPFLAGS'
20468 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20469 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20470 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20472 { echo "$as_me:$LINENO: checking if C++ compiler works with SDK/version options" >&5
20473 echo $ECHO_N "checking if C++ compiler works with SDK/version options... $ECHO_C" >&6; }
20474 cat >conftest.$ac_ext <<_ACEOF
20477 cat confdefs.h >>conftest.$ac_ext
20478 cat >>conftest.$ac_ext <<_ACEOF
20479 /* end confdefs.h. */
20489 rm -f conftest.$ac_objext conftest$ac_exeext
20490 if { (ac_try="$ac_link"
20491 case "(($ac_try" in
20492 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
20493 *) ac_try_echo
=$ac_try;;
20495 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20496 (eval "$ac_link") 2>conftest.er1
20498 grep -v '^ *+' conftest.er1
>conftest.err
20500 cat conftest.err
>&5
20501 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20502 (exit $ac_status); } && {
20503 test -z "$ac_cxx_werror_flag" ||
20504 test ! -s conftest.err
20505 } && test -s conftest
$ac_exeext &&
20506 $as_test_x conftest
$ac_exeext; then
20507 { echo "$as_me:$LINENO: result: yes" >&5
20508 echo "${ECHO_T}yes" >&6; }
20510 echo "$as_me: failed program was:" >&5
20511 sed 's/^/| /' conftest.
$ac_ext >&5
20513 { { echo "$as_me:$LINENO: error: no. Try a different SDK
20514 See \`config.log' for more details." >&5
20515 echo "$as_me: error: no. Try a different SDK
20516 See \`config.log' for more details." >&2;}
20517 { (exit 1); exit 1; }; }; exit 1
20520 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
20521 conftest
$ac_exeext conftest.
$ac_ext
20523 ac_cpp
='$CPP $CPPFLAGS'
20524 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20525 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20526 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
20534 INSTALL_PROGRAM
="cp -fp"
20535 INSTALL_DATA
="cp -fp"
20542 if test "x$XLCXX" = "xyes" -a "x$USE_AIX" = "x1"; then
20543 CXXFLAGS
="-qunique $CXXFLAGS"
20547 powerpc
-*-darwin* )
20548 { echo "$as_me:$LINENO: checking if __POWERPC__ is already defined" >&5
20549 echo $ECHO_N "checking if __POWERPC__ is already defined... $ECHO_C" >&6; }
20550 cat >conftest.
$ac_ext <<_ACEOF
20553 cat confdefs.h
>>conftest.
$ac_ext
20554 cat >>conftest.
$ac_ext <<_ACEOF
20555 /* end confdefs.h. */
20560 #ifndef __POWERPC__
20561 choke me for lack of PowerPC
20568 rm -f conftest.
$ac_objext
20569 if { (ac_try
="$ac_compile"
20570 case "(($ac_try" in
20571 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
20572 *) ac_try_echo=$ac_try;;
20574 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20575 (eval "$ac_compile") 2>conftest.er1
20577 grep -v '^ *+' conftest.er1 >conftest.err
20579 cat conftest.err >&5
20580 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20581 (exit $ac_status); } && {
20582 test -z "$ac_c_werror_flag" ||
20583 test ! -s conftest.err
20584 } && test -s conftest.$ac_objext; then
20585 { echo "$as_me:$LINENO: result: yes" >&5
20586 echo "${ECHO_T}yes" >&6; }
20588 echo "$as_me: failed program was:" >&5
20589 sed 's/^/| /' conftest.$ac_ext >&5
20591 { echo "$as_me:$LINENO: result: no" >&5
20592 echo "${ECHO_T}no" >&6; }
20593 cat >>confdefs.h <<\_ACEOF
20594 #define __POWERPC__ 1
20600 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20606 { echo "$as_me:$LINENO: checking if CoreFoundation/CFBase.h is usable" >&5
20607 echo $ECHO_N "checking if CoreFoundation/CFBase.h is usable... $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. */
20614 #include <CoreFoundation/CFBase.h>
20624 rm -f conftest.$ac_objext
20625 if { (ac_try="$ac_compile"
20626 case "(($ac_try" in
20627 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
20628 *) ac_try_echo
=$ac_try;;
20630 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20631 (eval "$ac_compile") 2>conftest.er1
20633 grep -v '^ *+' conftest.er1
>conftest.err
20635 cat conftest.err
>&5
20636 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20637 (exit $ac_status); } && {
20638 test -z "$ac_c_werror_flag" ||
20639 test ! -s conftest.err
20640 } && test -s conftest.
$ac_objext; then
20641 { echo "$as_me:$LINENO: result: yes" >&5
20642 echo "${ECHO_T}yes" >&6; }
20644 echo "$as_me: failed program was:" >&5
20645 sed 's/^/| /' conftest.
$ac_ext >&5
20647 { echo "$as_me:$LINENO: result: no" >&5
20648 echo "${ECHO_T}no" >&6; }
20649 { echo "$as_me:$LINENO: checking if __CF_USE_FRAMEWORK_INCLUDES__ is required" >&5
20650 echo $ECHO_N "checking if __CF_USE_FRAMEWORK_INCLUDES__ is required... $ECHO_C" >&6; }
20651 cat >conftest.
$ac_ext <<_ACEOF
20654 cat confdefs.h
>>conftest.
$ac_ext
20655 cat >>conftest.
$ac_ext <<_ACEOF
20656 /* end confdefs.h. */
20657 #define __CF_USE_FRAMEWORK_INCLUDES__
20658 #include <CoreFoundation/CFBase.h>
20668 rm -f conftest.
$ac_objext
20669 if { (ac_try
="$ac_compile"
20670 case "(($ac_try" in
20671 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
20672 *) ac_try_echo=$ac_try;;
20674 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20675 (eval "$ac_compile") 2>conftest.er1
20677 grep -v '^ *+' conftest.er1 >conftest.err
20679 cat conftest.err >&5
20680 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20681 (exit $ac_status); } && {
20682 test -z "$ac_c_werror_flag" ||
20683 test ! -s conftest.err
20684 } && test -s conftest.$ac_objext; then
20685 { echo "$as_me:$LINENO: result: yes" >&5
20686 echo "${ECHO_T}yes" >&6; }
20687 CPPFLAGS="-D__CF_USE_FRAMEWORK_INCLUDES__ $CPPFLAGS"
20689 echo "$as_me: failed program was:" >&5
20690 sed 's/^/| /' conftest.$ac_ext >&5
20692 { { echo "$as_me:$LINENO: error: no. CoreFoundation not available.
20693 See \`config.log
' for more details." >&5
20694 echo "$as_me: error: no. CoreFoundation not available.
20695 See \`config.log' for more details.
" >&2;}
20696 { (exit 1); exit 1; }; }
20700 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20705 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20710 doesnt_want_win32=0
20713 if test "$wxUSE_MSW" = 1 ; then
20716 { echo "$as_me:$LINENO: checking
if -mno-cygwin is
in effect
" >&5
20717 echo $ECHO_N "checking
if -mno-cygwin is
in effect...
$ECHO_C" >&6; }
20718 if test "${wx_cv_nocygwin+set}" = set; then
20719 echo $ECHO_N "(cached
) $ECHO_C" >&6
20722 cat >conftest.$ac_ext <<_ACEOF
20725 cat confdefs.h >>conftest.$ac_ext
20726 cat >>conftest.$ac_ext <<_ACEOF
20727 /* end confdefs.h. */
20741 rm -f conftest.$ac_objext
20742 if { (ac_try="$ac_compile"
20743 case "(($ac_try" in
20744 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20745 *) ac_try_echo=$ac_try;;
20747 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
20748 (eval "$ac_compile") 2>conftest.er1
20750 grep -v '^ *+' conftest.er1 >conftest.err
20752 cat conftest.err >&5
20753 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
20754 (exit $ac_status); } && {
20755 test -z "$ac_c_werror_flag" ||
20756 test ! -s conftest.err
20757 } && test -s conftest.$ac_objext; then
20760 echo "$as_me: failed program was
:" >&5
20761 sed 's/^/| /' conftest.$ac_ext >&5
20767 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20771 { echo "$as_me:$LINENO: result
: $wx_cv_nocygwin" >&5
20772 echo "${ECHO_T}$wx_cv_nocygwin" >&6; }
20774 if test "$wx_cv_nocygwin" = "yes"; then
20777 doesnt_want_win32=1
20780 if test "$wants_win32" = 1 ; then
20781 BAKEFILE_FORCE_PLATFORM=win32
20789 if test "$wxUSE_WINE" = "yes"; then
20791 LDFLAGS_GUI="-mwindows"
20794 if test "$wants_win32" = 1 ; then
20797 cat >>confdefs.h <<\_ACEOF
20798 #define __WIN32__ 1
20801 cat >>confdefs.h <<\_ACEOF
20802 #define __WIN95__ 1
20805 cat >>confdefs.h <<\_ACEOF
20806 #define __WINDOWS__ 1
20809 cat >>confdefs.h <<\_ACEOF
20810 #define __GNUWIN32__ 1
20813 cat >>confdefs.h <<\_ACEOF
20818 if test "$doesnt_want_win32" = 1 ; then
20823 if test "$USE_UNIX" = 1 ; then
20825 cat >>confdefs.h <<\_ACEOF
20832 *-pc-os2_emx | *-pc-os2-emx )
20833 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_GTK" = 1 -o "$wxUSE_X11" = 1; then
20834 { echo "$as_me:$LINENO: checking
for drand48
in -lcExt" >&5
20835 echo $ECHO_N "checking
for drand48
in -lcExt...
$ECHO_C" >&6; }
20836 if test "${ac_cv_lib_cExt_drand48+set}" = set; then
20837 echo $ECHO_N "(cached
) $ECHO_C" >&6
20839 ac_check_lib_save_LIBS=$LIBS
20840 LIBS="-lcExt $LIBS"
20841 cat >conftest.$ac_ext <<_ACEOF
20844 cat confdefs.h >>conftest.$ac_ext
20845 cat >>conftest.$ac_ext <<_ACEOF
20846 /* end confdefs.h. */
20848 /* Override any GCC internal prototype to avoid an error.
20849 Use char because int might match the return type of a GCC
20850 builtin and then its argument prototype would still apply. */
20863 rm -f conftest.$ac_objext conftest$ac_exeext
20864 if { (ac_try="$ac_link"
20865 case "(($ac_try" in
20866 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20867 *) ac_try_echo=$ac_try;;
20869 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
20870 (eval "$ac_link") 2>conftest.er1
20872 grep -v '^ *+' conftest.er1 >conftest.err
20874 cat conftest.err >&5
20875 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
20876 (exit $ac_status); } && {
20877 test -z "$ac_c_werror_flag" ||
20878 test ! -s conftest.err
20879 } && test -s conftest$ac_exeext &&
20880 $as_test_x conftest$ac_exeext; then
20881 ac_cv_lib_cExt_drand48=yes
20883 echo "$as_me: failed program was
:" >&5
20884 sed 's/^/| /' conftest.$ac_ext >&5
20886 ac_cv_lib_cExt_drand48=no
20889 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
20890 conftest$ac_exeext conftest.$ac_ext
20891 LIBS=$ac_check_lib_save_LIBS
20893 { echo "$as_me:$LINENO: result
: $ac_cv_lib_cExt_drand48" >&5
20894 echo "${ECHO_T}$ac_cv_lib_cExt_drand48" >&6; }
20895 if test $ac_cv_lib_cExt_drand48 = yes; then
20896 LIBS="$LIBS -lcExt"
20900 RESPROGRAMOBJ="\
${top_srcdir}/include
/wx
/os
2/wx.res
"
20902 { echo "$as_me:$LINENO: checking
for gcc
/libc version
" >&5
20903 echo $ECHO_N "checking
for gcc
/libc version...
$ECHO_C" >&6; }
20904 if test "${wx_cv_gccversion+set}" = set; then
20905 echo $ECHO_N "(cached
) $ECHO_C" >&6
20908 if test "$cross_compiling" = yes; then
20909 wx_cv_gccversion="EMX2
"
20912 cat >conftest.$ac_ext <<_ACEOF
20915 cat confdefs.h >>conftest.$ac_ext
20916 cat >>conftest.$ac_ext <<_ACEOF
20917 /* end confdefs.h. */
20923 FILE *f=fopen("conftestval
", "w
");
20928 #elif (__GNUC__==3) && ((__GNUC_MINOR__ < 2) || ((__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__<2)))
20930 #elif (__GNUC__==3) && (__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__==2)
20940 rm -f conftest$ac_exeext
20941 if { (ac_try="$ac_link"
20942 case "(($ac_try" in
20943 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20944 *) ac_try_echo=$ac_try;;
20946 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
20947 (eval "$ac_link") 2>&5
20949 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
20950 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
20951 { (case "(($ac_try" in
20952 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20953 *) ac_try_echo=$ac_try;;
20955 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
20956 (eval "$ac_try") 2>&5
20958 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
20959 (exit $ac_status); }; }; then
20960 wx_cv_gccversion=`cat conftestval`
20962 echo "$as_me: program exited with status
$ac_status" >&5
20963 echo "$as_me: failed program was
:" >&5
20964 sed 's/^/| /' conftest.$ac_ext >&5
20966 ( exit $ac_status )
20967 wx_cv_gccversion="EMX2
"
20969 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20975 { echo "$as_me:$LINENO: result
: $wx_cv_gccversion" >&5
20976 echo "${ECHO_T}$wx_cv_gccversion" >&6; }
20977 if test "$wx_cv_gccversion" = "EMX2
"; then
20978 LIBS="$LIBS -lstdcpp"
20979 LDFLAGS="$LDFLAGS -Zsysv-signals"
20981 if test "$wx_cv_gccversion" = "EMX3
"; then
20982 LIBS="$LIBS -lstdcxx -lgcc"
20983 LDFLAGS="$LDFLAGS -Zsysv-signals"
20985 LIBS="$LIBS -lstdc++"
20988 if test "$wxUSE_SHARED" = "yes" -a "$wxUSE_OMF" = "no
"; then
20989 { echo "$as_me:$LINENO: WARNING
: Building DLLs requires OMF mode
, enabled
" >&5
20990 echo "$as_me: WARNING
: Building DLLs requires OMF mode
, enabled
" >&2;}
20997 { echo "$as_me:$LINENO: checking
for strcasecmp
() in string.h
" >&5
20998 echo $ECHO_N "checking
for strcasecmp
() in string.h...
$ECHO_C" >&6; }
20999 if test "${ac_cv_string_strcasecmp+set}" = set; then
21000 echo $ECHO_N "(cached
) $ECHO_C" >&6
21003 cat >conftest.$ac_ext <<_ACEOF
21006 cat confdefs.h >>conftest.$ac_ext
21007 cat >>conftest.$ac_ext <<_ACEOF
21008 /* end confdefs.h. */
21010 #include <string.h>
21016 strcasecmp("foo
", "bar
");
21022 rm -f conftest.$ac_objext conftest$ac_exeext
21023 if { (ac_try="$ac_link"
21024 case "(($ac_try" in
21025 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21026 *) ac_try_echo=$ac_try;;
21028 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
21029 (eval "$ac_link") 2>conftest.er1
21031 grep -v '^ *+' conftest.er1 >conftest.err
21033 cat conftest.err >&5
21034 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
21035 (exit $ac_status); } && {
21036 test -z "$ac_c_werror_flag" ||
21037 test ! -s conftest.err
21038 } && test -s conftest$ac_exeext &&
21039 $as_test_x conftest$ac_exeext; then
21040 ac_cv_string_strcasecmp=yes
21042 echo "$as_me: failed program was
:" >&5
21043 sed 's/^/| /' conftest.$ac_ext >&5
21045 ac_cv_string_strcasecmp=no
21049 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
21050 conftest$ac_exeext conftest.$ac_ext
21053 { echo "$as_me:$LINENO: result
: $ac_cv_string_strcasecmp" >&5
21054 echo "${ECHO_T}$ac_cv_string_strcasecmp" >&6; }
21056 if test x"$ac_cv_string_strcasecmp" = "xyes
"; then
21057 cat >>confdefs.h <<\_ACEOF
21058 #define HAVE_STRCASECMP_IN_STRING_H 1
21062 { echo "$as_me:$LINENO: checking
for strcasecmp
() in strings.h
" >&5
21063 echo $ECHO_N "checking
for strcasecmp
() in strings.h...
$ECHO_C" >&6; }
21064 if test "${ac_cv_strings_strcasecmp+set}" = set; then
21065 echo $ECHO_N "(cached
) $ECHO_C" >&6
21068 cat >conftest.$ac_ext <<_ACEOF
21071 cat confdefs.h >>conftest.$ac_ext
21072 cat >>conftest.$ac_ext <<_ACEOF
21073 /* end confdefs.h. */
21075 #include <strings.h>
21081 strcasecmp("foo
", "bar
");
21087 rm -f conftest.$ac_objext conftest$ac_exeext
21088 if { (ac_try="$ac_link"
21089 case "(($ac_try" in
21090 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21091 *) ac_try_echo=$ac_try;;
21093 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
21094 (eval "$ac_link") 2>conftest.er1
21096 grep -v '^ *+' conftest.er1 >conftest.err
21098 cat conftest.err >&5
21099 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
21100 (exit $ac_status); } && {
21101 test -z "$ac_c_werror_flag" ||
21102 test ! -s conftest.err
21103 } && test -s conftest$ac_exeext &&
21104 $as_test_x conftest$ac_exeext; then
21105 ac_cv_strings_strcasecmp=yes
21107 echo "$as_me: failed program was
:" >&5
21108 sed 's/^/| /' conftest.$ac_ext >&5
21110 ac_cv_strings_strcasecmp=no
21114 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
21115 conftest$ac_exeext conftest.$ac_ext
21118 { echo "$as_me:$LINENO: result
: $ac_cv_strings_strcasecmp" >&5
21119 echo "${ECHO_T}$ac_cv_strings_strcasecmp" >&6; }
21121 if test x"$ac_cv_strings_strcasecmp" = "xyes
"; then
21122 cat >>confdefs.h <<\_ACEOF
21123 #define HAVE_STRCASECMP_IN_STRINGS_H 1
21127 { { echo "$as_me:$LINENO: error
: No
case-insensitive string comparison
function found.
" >&5
21128 echo "$as_me: error
: No
case-insensitive string comparison
function found.
" >&2;}
21129 { (exit 1); exit 1; }; }
21137 { echo "$as_me:$LINENO: checking
for ANSI C header files
" >&5
21138 echo $ECHO_N "checking
for ANSI C header files...
$ECHO_C" >&6; }
21139 if test "${ac_cv_header_stdc+set}" = set; then
21140 echo $ECHO_N "(cached
) $ECHO_C" >&6
21142 cat >conftest.$ac_ext <<_ACEOF
21145 cat confdefs.h >>conftest.$ac_ext
21146 cat >>conftest.$ac_ext <<_ACEOF
21147 /* end confdefs.h. */
21148 #include <stdlib.h>
21149 #include <stdarg.h>
21150 #include <string.h>
21161 rm -f conftest.$ac_objext
21162 if { (ac_try="$ac_compile"
21163 case "(($ac_try" in
21164 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21165 *) ac_try_echo=$ac_try;;
21167 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
21168 (eval "$ac_compile") 2>conftest.er1
21170 grep -v '^ *+' conftest.er1 >conftest.err
21172 cat conftest.err >&5
21173 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
21174 (exit $ac_status); } && {
21175 test -z "$ac_c_werror_flag" ||
21176 test ! -s conftest.err
21177 } && test -s conftest.$ac_objext; then
21178 ac_cv_header_stdc=yes
21180 echo "$as_me: failed program was
:" >&5
21181 sed 's/^/| /' conftest.$ac_ext >&5
21183 ac_cv_header_stdc=no
21186 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21188 if test $ac_cv_header_stdc = yes; then
21189 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
21190 cat >conftest.$ac_ext <<_ACEOF
21193 cat confdefs.h >>conftest.$ac_ext
21194 cat >>conftest.$ac_ext <<_ACEOF
21195 /* end confdefs.h. */
21196 #include <string.h>
21199 if (eval "$ac_cpp conftest.
$ac_ext") 2>&5 |
21200 $EGREP "memchr
" >/dev/null 2>&1; then
21203 ac_cv_header_stdc=no
21209 if test $ac_cv_header_stdc = yes; then
21210 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
21211 cat >conftest.$ac_ext <<_ACEOF
21214 cat confdefs.h >>conftest.$ac_ext
21215 cat >>conftest.$ac_ext <<_ACEOF
21216 /* end confdefs.h. */
21217 #include <stdlib.h>
21220 if (eval "$ac_cpp conftest.
$ac_ext") 2>&5 |
21221 $EGREP "free
" >/dev/null 2>&1; then
21224 ac_cv_header_stdc=no
21230 if test $ac_cv_header_stdc = yes; then
21231 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
21232 if test "$cross_compiling" = yes; then
21235 cat >conftest.$ac_ext <<_ACEOF
21238 cat confdefs.h >>conftest.$ac_ext
21239 cat >>conftest.$ac_ext <<_ACEOF
21240 /* end confdefs.h. */
21242 #include <stdlib.h>
21243 #if ((' ' & 0x0FF) == 0x020)
21244 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
21245 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
21247 # define ISLOWER(c) \
21248 (('a' <= (c) && (c) <= 'i') \
21249 || ('j' <= (c) && (c) <= 'r') \
21250 || ('s' <= (c) && (c) <= 'z'))
21251 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
21254 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
21259 for (i = 0; i < 256; i++)
21260 if (XOR (islower (i), ISLOWER (i))
21261 || toupper (i) != TOUPPER (i))
21266 rm -f conftest$ac_exeext
21267 if { (ac_try="$ac_link"
21268 case "(($ac_try" in
21269 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21270 *) ac_try_echo=$ac_try;;
21272 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
21273 (eval "$ac_link") 2>&5
21275 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
21276 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
21277 { (case "(($ac_try" in
21278 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21279 *) ac_try_echo=$ac_try;;
21281 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
21282 (eval "$ac_try") 2>&5
21284 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
21285 (exit $ac_status); }; }; then
21288 echo "$as_me: program exited with status
$ac_status" >&5
21289 echo "$as_me: failed program was
:" >&5
21290 sed 's/^/| /' conftest.$ac_ext >&5
21292 ( exit $ac_status )
21293 ac_cv_header_stdc=no
21295 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
21301 { echo "$as_me:$LINENO: result
: $ac_cv_header_stdc" >&5
21302 echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
21303 if test $ac_cv_header_stdc = yes; then
21305 cat >>confdefs.h <<\_ACEOF
21306 #define STDC_HEADERS 1
21311 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
21321 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
21322 inttypes.h stdint.h unistd.h
21324 as_ac_Header=`echo "ac_cv_header_
$ac_header" | $as_tr_sh`
21325 { echo "$as_me:$LINENO: checking
for $ac_header" >&5
21326 echo $ECHO_N "checking
for $ac_header...
$ECHO_C" >&6; }
21327 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
21328 echo $ECHO_N "(cached
) $ECHO_C" >&6
21330 cat >conftest.$ac_ext <<_ACEOF
21333 cat confdefs.h >>conftest.$ac_ext
21334 cat >>conftest.$ac_ext <<_ACEOF
21335 /* end confdefs.h. */
21336 $ac_includes_default
21338 #include <$ac_header>
21340 rm -f conftest.$ac_objext
21341 if { (ac_try="$ac_compile"
21342 case "(($ac_try" in
21343 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21344 *) ac_try_echo=$ac_try;;
21346 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
21347 (eval "$ac_compile") 2>conftest.er1
21349 grep -v '^ *+' conftest.er1 >conftest.err
21351 cat conftest.err >&5
21352 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
21353 (exit $ac_status); } && {
21354 test -z "$ac_c_werror_flag" ||
21355 test ! -s conftest.err
21356 } && test -s conftest.$ac_objext; then
21357 eval "$as_ac_Header=yes"
21359 echo "$as_me: failed program was
:" >&5
21360 sed 's/^/| /' conftest.$ac_ext >&5
21362 eval "$as_ac_Header=no
"
21365 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21367 ac_res=`eval echo '${'$as_ac_Header'}'`
21368 { echo "$as_me:$LINENO: result
: $ac_res" >&5
21369 echo "${ECHO_T}$ac_res" >&6; }
21370 if test `eval echo '${'$as_ac_Header'}'` = yes; then
21371 cat >>confdefs.h <<_ACEOF
21372 #define `echo "HAVE_
$ac_header" | $as_tr_cpp` 1
21386 for ac_header in stdlib.h fnmatch.h langinfo.h malloc.h unistd.h wchar.h
21388 as_ac_Header=`echo "ac_cv_header_
$ac_header" | $as_tr_sh`
21389 { echo "$as_me:$LINENO: checking
for $ac_header" >&5
21390 echo $ECHO_N "checking
for $ac_header...
$ECHO_C" >&6; }
21391 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
21392 echo $ECHO_N "(cached
) $ECHO_C" >&6
21394 cat >conftest.$ac_ext <<_ACEOF
21397 cat confdefs.h >>conftest.$ac_ext
21398 cat >>conftest.$ac_ext <<_ACEOF
21399 /* end confdefs.h. */
21400 $ac_includes_default
21402 #include <$ac_header>
21404 rm -f conftest.$ac_objext
21405 if { (ac_try="$ac_compile"
21406 case "(($ac_try" in
21407 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21408 *) ac_try_echo=$ac_try;;
21410 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
21411 (eval "$ac_compile") 2>conftest.er1
21413 grep -v '^ *+' conftest.er1 >conftest.err
21415 cat conftest.err >&5
21416 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
21417 (exit $ac_status); } && {
21418 test -z "$ac_c_werror_flag" ||
21419 test ! -s conftest.err
21420 } && test -s conftest.$ac_objext; then
21421 eval "$as_ac_Header=yes"
21423 echo "$as_me: failed program was
:" >&5
21424 sed 's/^/| /' conftest.$ac_ext >&5
21426 eval "$as_ac_Header=no
"
21429 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21431 ac_res=`eval echo '${'$as_ac_Header'}'`
21432 { echo "$as_me:$LINENO: result
: $ac_res" >&5
21433 echo "${ECHO_T}$ac_res" >&6; }
21434 if test `eval echo '${'$as_ac_Header'}'` = yes; then
21435 cat >>confdefs.h <<_ACEOF
21436 #define `echo "HAVE_
$ac_header" | $as_tr_cpp` 1
21444 if test "$ac_cv_header_wchar_h" != "yes"; then
21446 for ac_header in wcstr.h
21448 as_ac_Header=`echo "ac_cv_header_
$ac_header" | $as_tr_sh`
21449 { echo "$as_me:$LINENO: checking
for $ac_header" >&5
21450 echo $ECHO_N "checking
for $ac_header...
$ECHO_C" >&6; }
21451 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
21452 echo $ECHO_N "(cached
) $ECHO_C" >&6
21454 cat >conftest.$ac_ext <<_ACEOF
21457 cat confdefs.h >>conftest.$ac_ext
21458 cat >>conftest.$ac_ext <<_ACEOF
21459 /* end confdefs.h. */
21460 $ac_includes_default
21462 #include <$ac_header>
21464 rm -f conftest.$ac_objext
21465 if { (ac_try="$ac_compile"
21466 case "(($ac_try" in
21467 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21468 *) ac_try_echo=$ac_try;;
21470 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
21471 (eval "$ac_compile") 2>conftest.er1
21473 grep -v '^ *+' conftest.er1 >conftest.err
21475 cat conftest.err >&5
21476 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
21477 (exit $ac_status); } && {
21478 test -z "$ac_c_werror_flag" ||
21479 test ! -s conftest.err
21480 } && test -s conftest.$ac_objext; then
21481 eval "$as_ac_Header=yes"
21483 echo "$as_me: failed program was
:" >&5
21484 sed 's/^/| /' conftest.$ac_ext >&5
21486 eval "$as_ac_Header=no
"
21489 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21491 ac_res=`eval echo '${'$as_ac_Header'}'`
21492 { echo "$as_me:$LINENO: result
: $ac_res" >&5
21493 echo "${ECHO_T}$ac_res" >&6; }
21494 if test `eval echo '${'$as_ac_Header'}'` = yes; then
21495 cat >>confdefs.h <<_ACEOF
21496 #define `echo "HAVE_
$ac_header" | $as_tr_cpp` 1
21506 *-pc-os2_emx | *-pc-os2-emx )
21507 if test $ac_cv_header_langinfo_h = "yes" \
21508 -a \( "$wx_cv_gccversion" = "EMX2
" \
21509 -o "$wx_cv_gccversion" = "EMX3
" \
21510 -o "$wx_cv_gccversion" = "Innotek5
" \); then
21511 LIBS="$LIBS -lintl"
21516 if test "$USE_UNIX" = 1 ; then
21518 for ac_header in sys/select.h
21520 as_ac_Header=`echo "ac_cv_header_
$ac_header" | $as_tr_sh`
21521 { echo "$as_me:$LINENO: checking
for $ac_header" >&5
21522 echo $ECHO_N "checking
for $ac_header...
$ECHO_C" >&6; }
21523 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
21524 echo $ECHO_N "(cached
) $ECHO_C" >&6
21526 cat >conftest.$ac_ext <<_ACEOF
21529 cat confdefs.h >>conftest.$ac_ext
21530 cat >>conftest.$ac_ext <<_ACEOF
21531 /* end confdefs.h. */
21532 $ac_includes_default
21534 #include <$ac_header>
21536 rm -f conftest.$ac_objext
21537 if { (ac_try="$ac_compile"
21538 case "(($ac_try" in
21539 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21540 *) ac_try_echo=$ac_try;;
21542 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
21543 (eval "$ac_compile") 2>conftest.er1
21545 grep -v '^ *+' conftest.er1 >conftest.err
21547 cat conftest.err >&5
21548 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
21549 (exit $ac_status); } && {
21550 test -z "$ac_c_werror_flag" ||
21551 test ! -s conftest.err
21552 } && test -s conftest.$ac_objext; then
21553 eval "$as_ac_Header=yes"
21555 echo "$as_me: failed program was
:" >&5
21556 sed 's/^/| /' conftest.$ac_ext >&5
21558 eval "$as_ac_Header=no
"
21561 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21563 ac_res=`eval echo '${'$as_ac_Header'}'`
21564 { echo "$as_me:$LINENO: result
: $ac_res" >&5
21565 echo "${ECHO_T}$ac_res" >&6; }
21566 if test `eval echo '${'$as_ac_Header'}'` = yes; then
21567 cat >>confdefs.h <<_ACEOF
21568 #define `echo "HAVE_
$ac_header" | $as_tr_cpp` 1
21578 { echo "$as_me:$LINENO: checking
for an ANSI C
-conforming const
" >&5
21579 echo $ECHO_N "checking
for an ANSI C
-conforming const...
$ECHO_C" >&6; }
21580 if test "${ac_cv_c_const+set}" = set; then
21581 echo $ECHO_N "(cached
) $ECHO_C" >&6
21583 cat >conftest.$ac_ext <<_ACEOF
21586 cat confdefs.h >>conftest.$ac_ext
21587 cat >>conftest.$ac_ext <<_ACEOF
21588 /* end confdefs.h. */
21593 /* FIXME: Include the comments suggested by Paul. */
21594 #ifndef __cplusplus
21595 /* Ultrix mips cc rejects this. */
21596 typedef int charset[2];
21598 /* SunOS 4.1.1 cc rejects this. */
21599 char const *const *pcpcc;
21601 /* NEC SVR4.0.2 mips cc rejects this. */
21602 struct point {int x, y;};
21603 static struct point const zero = {0,0};
21604 /* AIX XL C 1.02.0.0 rejects this.
21605 It does not let you subtract one const X* pointer from another in
21606 an arm of an if-expression whose if-part is not a constant
21608 const char *g = "string
";
21609 pcpcc = &g + (g ? g-g : 0);
21610 /* HPUX 7.0 cc rejects these. */
21612 ppc = (char**) pcpcc;
21613 pcpcc = (char const *const *) ppc;
21614 { /* SCO 3.2v4 cc rejects this. */
21616 char const *s = 0 ? (char *) 0 : (char const *) 0;
21621 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
21622 int x[] = {25, 17};
21623 const int *foo = &x[0];
21626 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
21627 typedef const int *iptr;
21631 { /* AIX XL C 1.02.0.0 rejects this saying
21632 "k.c
", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
21633 struct s { int j; const int *ap[3]; };
21634 struct s *b; b->j = 5;
21636 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
21637 const int foo = 10;
21638 if (!foo) return 0;
21640 return !cs[0] && !zero.x;
21647 rm -f conftest.$ac_objext
21648 if { (ac_try="$ac_compile"
21649 case "(($ac_try" in
21650 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21651 *) ac_try_echo=$ac_try;;
21653 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
21654 (eval "$ac_compile") 2>conftest.er1
21656 grep -v '^ *+' conftest.er1 >conftest.err
21658 cat conftest.err >&5
21659 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
21660 (exit $ac_status); } && {
21661 test -z "$ac_c_werror_flag" ||
21662 test ! -s conftest.err
21663 } && test -s conftest.$ac_objext; then
21666 echo "$as_me: failed program was
:" >&5
21667 sed 's/^/| /' conftest.$ac_ext >&5
21672 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21674 { echo "$as_me:$LINENO: result
: $ac_cv_c_const" >&5
21675 echo "${ECHO_T}$ac_cv_c_const" >&6; }
21676 if test $ac_cv_c_const = no; then
21678 cat >>confdefs.h <<\_ACEOF
21684 { echo "$as_me:$LINENO: checking
for inline
" >&5
21685 echo $ECHO_N "checking
for inline...
$ECHO_C" >&6; }
21686 if test "${ac_cv_c_inline+set}" = set; then
21687 echo $ECHO_N "(cached
) $ECHO_C" >&6
21690 for ac_kw in inline __inline__ __inline; do
21691 cat >conftest.$ac_ext <<_ACEOF
21694 cat confdefs.h >>conftest.$ac_ext
21695 cat >>conftest.$ac_ext <<_ACEOF
21696 /* end confdefs.h. */
21697 #ifndef __cplusplus
21699 static $ac_kw foo_t static_foo () {return 0; }
21700 $ac_kw foo_t foo () {return 0; }
21704 rm -f conftest.$ac_objext
21705 if { (ac_try="$ac_compile"
21706 case "(($ac_try" in
21707 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21708 *) ac_try_echo=$ac_try;;
21710 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
21711 (eval "$ac_compile") 2>conftest.er1
21713 grep -v '^ *+' conftest.er1 >conftest.err
21715 cat conftest.err >&5
21716 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
21717 (exit $ac_status); } && {
21718 test -z "$ac_c_werror_flag" ||
21719 test ! -s conftest.err
21720 } && test -s conftest.$ac_objext; then
21721 ac_cv_c_inline=$ac_kw
21723 echo "$as_me: failed program was
:" >&5
21724 sed 's/^/| /' conftest.$ac_ext >&5
21729 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21730 test "$ac_cv_c_inline" != no && break
21734 { echo "$as_me:$LINENO: result
: $ac_cv_c_inline" >&5
21735 echo "${ECHO_T}$ac_cv_c_inline" >&6; }
21738 case $ac_cv_c_inline in
21741 case $ac_cv_c_inline in
21743 *) ac_val=$ac_cv_c_inline;;
21745 cat >>confdefs.h <<_ACEOF
21746 #ifndef __cplusplus
21747 #define inline $ac_val
21754 { echo "$as_me:$LINENO: checking
for short
" >&5
21755 echo $ECHO_N "checking
for short...
$ECHO_C" >&6; }
21756 if test "${ac_cv_type_short+set}" = set; then
21757 echo $ECHO_N "(cached
) $ECHO_C" >&6
21759 cat >conftest.$ac_ext <<_ACEOF
21762 cat confdefs.h >>conftest.$ac_ext
21763 cat >>conftest.$ac_ext <<_ACEOF
21764 /* end confdefs.h. */
21765 $ac_includes_default
21766 typedef short ac__type_new_;
21770 if ((ac__type_new_ *) 0)
21772 if (sizeof (ac__type_new_))
21778 rm -f conftest.$ac_objext
21779 if { (ac_try="$ac_compile"
21780 case "(($ac_try" in
21781 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21782 *) ac_try_echo=$ac_try;;
21784 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
21785 (eval "$ac_compile") 2>conftest.er1
21787 grep -v '^ *+' conftest.er1 >conftest.err
21789 cat conftest.err >&5
21790 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
21791 (exit $ac_status); } && {
21792 test -z "$ac_c_werror_flag" ||
21793 test ! -s conftest.err
21794 } && test -s conftest.$ac_objext; then
21795 ac_cv_type_short=yes
21797 echo "$as_me: failed program was
:" >&5
21798 sed 's/^/| /' conftest.$ac_ext >&5
21800 ac_cv_type_short=no
21803 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21805 { echo "$as_me:$LINENO: result
: $ac_cv_type_short" >&5
21806 echo "${ECHO_T}$ac_cv_type_short" >&6; }
21808 # The cast to long int works around a bug in the HP C Compiler
21809 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
21810 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
21811 # This bug is HP SR number 8606223364.
21812 { echo "$as_me:$LINENO: checking size of short
" >&5
21813 echo $ECHO_N "checking size of short...
$ECHO_C" >&6; }
21814 if test "${ac_cv_sizeof_short+set}" = set; then
21815 echo $ECHO_N "(cached
) $ECHO_C" >&6
21817 if test "$cross_compiling" = yes; then
21818 # Depending upon the size, compute the lo and hi bounds.
21819 cat >conftest.$ac_ext <<_ACEOF
21822 cat confdefs.h >>conftest.$ac_ext
21823 cat >>conftest.$ac_ext <<_ACEOF
21824 /* end confdefs.h. */
21825 $ac_includes_default
21826 typedef short ac__type_sizeof_;
21830 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
21837 rm -f conftest.$ac_objext
21838 if { (ac_try="$ac_compile"
21839 case "(($ac_try" in
21840 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21841 *) ac_try_echo=$ac_try;;
21843 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
21844 (eval "$ac_compile") 2>conftest.er1
21846 grep -v '^ *+' conftest.er1 >conftest.err
21848 cat conftest.err >&5
21849 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
21850 (exit $ac_status); } && {
21851 test -z "$ac_c_werror_flag" ||
21852 test ! -s conftest.err
21853 } && test -s conftest.$ac_objext; then
21856 cat >conftest.$ac_ext <<_ACEOF
21859 cat confdefs.h >>conftest.$ac_ext
21860 cat >>conftest.$ac_ext <<_ACEOF
21861 /* end confdefs.h. */
21862 $ac_includes_default
21863 typedef short ac__type_sizeof_;
21867 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21874 rm -f conftest.$ac_objext
21875 if { (ac_try="$ac_compile"
21876 case "(($ac_try" in
21877 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21878 *) ac_try_echo=$ac_try;;
21880 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
21881 (eval "$ac_compile") 2>conftest.er1
21883 grep -v '^ *+' conftest.er1 >conftest.err
21885 cat conftest.err >&5
21886 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
21887 (exit $ac_status); } && {
21888 test -z "$ac_c_werror_flag" ||
21889 test ! -s conftest.err
21890 } && test -s conftest.$ac_objext; then
21891 ac_hi=$ac_mid; break
21893 echo "$as_me: failed program was
:" >&5
21894 sed 's/^/| /' conftest.$ac_ext >&5
21896 ac_lo=`expr $ac_mid + 1`
21897 if test $ac_lo -le $ac_mid; then
21901 ac_mid=`expr 2 '*' $ac_mid + 1`
21904 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21907 echo "$as_me: failed program was
:" >&5
21908 sed 's/^/| /' conftest.$ac_ext >&5
21910 cat >conftest.$ac_ext <<_ACEOF
21913 cat confdefs.h >>conftest.$ac_ext
21914 cat >>conftest.$ac_ext <<_ACEOF
21915 /* end confdefs.h. */
21916 $ac_includes_default
21917 typedef short ac__type_sizeof_;
21921 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
21928 rm -f conftest.$ac_objext
21929 if { (ac_try="$ac_compile"
21930 case "(($ac_try" in
21931 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21932 *) ac_try_echo=$ac_try;;
21934 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
21935 (eval "$ac_compile") 2>conftest.er1
21937 grep -v '^ *+' conftest.er1 >conftest.err
21939 cat conftest.err >&5
21940 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
21941 (exit $ac_status); } && {
21942 test -z "$ac_c_werror_flag" ||
21943 test ! -s conftest.err
21944 } && test -s conftest.$ac_objext; then
21947 cat >conftest.$ac_ext <<_ACEOF
21950 cat confdefs.h >>conftest.$ac_ext
21951 cat >>conftest.$ac_ext <<_ACEOF
21952 /* end confdefs.h. */
21953 $ac_includes_default
21954 typedef short ac__type_sizeof_;
21958 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
21965 rm -f conftest.$ac_objext
21966 if { (ac_try="$ac_compile"
21967 case "(($ac_try" in
21968 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21969 *) ac_try_echo=$ac_try;;
21971 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
21972 (eval "$ac_compile") 2>conftest.er1
21974 grep -v '^ *+' conftest.er1 >conftest.err
21976 cat conftest.err >&5
21977 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
21978 (exit $ac_status); } && {
21979 test -z "$ac_c_werror_flag" ||
21980 test ! -s conftest.err
21981 } && test -s conftest.$ac_objext; then
21982 ac_lo=$ac_mid; break
21984 echo "$as_me: failed program was
:" >&5
21985 sed 's/^/| /' conftest.$ac_ext >&5
21987 ac_hi=`expr '(' $ac_mid ')' - 1`
21988 if test $ac_mid -le $ac_hi; then
21992 ac_mid=`expr 2 '*' $ac_mid`
21995 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21998 echo "$as_me: failed program was
:" >&5
21999 sed 's/^/| /' conftest.$ac_ext >&5
22004 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22007 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22008 # Binary search between lo and hi bounds.
22009 while test "x
$ac_lo" != "x
$ac_hi"; do
22010 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
22011 cat >conftest.$ac_ext <<_ACEOF
22014 cat confdefs.h >>conftest.$ac_ext
22015 cat >>conftest.$ac_ext <<_ACEOF
22016 /* end confdefs.h. */
22017 $ac_includes_default
22018 typedef short ac__type_sizeof_;
22022 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22029 rm -f conftest.$ac_objext
22030 if { (ac_try="$ac_compile"
22031 case "(($ac_try" in
22032 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22033 *) ac_try_echo=$ac_try;;
22035 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
22036 (eval "$ac_compile") 2>conftest.er1
22038 grep -v '^ *+' conftest.er1 >conftest.err
22040 cat conftest.err >&5
22041 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
22042 (exit $ac_status); } && {
22043 test -z "$ac_c_werror_flag" ||
22044 test ! -s conftest.err
22045 } && test -s conftest.$ac_objext; then
22048 echo "$as_me: failed program was
:" >&5
22049 sed 's/^/| /' conftest.$ac_ext >&5
22051 ac_lo=`expr '(' $ac_mid ')' + 1`
22054 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22057 ?*) ac_cv_sizeof_short=$ac_lo;;
22058 '') if test "$ac_cv_type_short" = yes; then
22059 { { echo "$as_me:$LINENO: error
: cannot compute sizeof
(short
)
22060 See \
`config.log' for more details." >&5
22061 echo "$as_me: error: cannot compute sizeof (short)
22062 See \`config.log
' for more details." >&2;}
22063 { (exit 77); exit 77; }; }
22065 ac_cv_sizeof_short=0
22069 cat >conftest.$ac_ext <<_ACEOF
22072 cat confdefs.h >>conftest.$ac_ext
22073 cat >>conftest.$ac_ext <<_ACEOF
22074 /* end confdefs.h. */
22075 $ac_includes_default
22076 typedef short ac__type_sizeof_;
22077 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
22078 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
22080 #include <stdlib.h>
22085 FILE *f = fopen ("conftest.val", "w");
22088 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
22090 long int i = longval ();
22091 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22093 fprintf (f, "%ld\n", i);
22097 unsigned long int i = ulongval ();
22098 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22100 fprintf (f, "%lu\n", i);
22102 return ferror (f) || fclose (f) != 0;
22108 rm -f conftest$ac_exeext
22109 if { (ac_try="$ac_link"
22110 case "(($ac_try" in
22111 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22112 *) ac_try_echo=$ac_try;;
22114 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22115 (eval "$ac_link") 2>&5
22117 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22118 (exit $ac_status); } && { ac_try='.
/conftest
$ac_exeext'
22119 { (case "(($ac_try" in
22120 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22121 *) ac_try_echo=$ac_try;;
22123 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22124 (eval "$ac_try") 2>&5
22126 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22127 (exit $ac_status); }; }; then
22128 ac_cv_sizeof_short=`cat conftest.val`
22130 echo "$as_me: program exited with status $ac_status" >&5
22131 echo "$as_me: failed program was:" >&5
22132 sed 's
/^
/| /' conftest.$ac_ext >&5
22134 ( exit $ac_status )
22135 if test "$ac_cv_type_short" = yes; then
22136 { { echo "$as_me:$LINENO: error: cannot compute sizeof (short)
22137 See \`config.log' for more details.
" >&5
22138 echo "$as_me: error
: cannot compute sizeof
(short
)
22139 See \
`config.log' for more details." >&2;}
22140 { (exit 77); exit 77; }; }
22142 ac_cv_sizeof_short=0
22145 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22149 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_short" >&5
22150 echo "${ECHO_T}$ac_cv_sizeof_short" >&6; }
22154 cat >>confdefs.h <<_ACEOF
22155 #define SIZEOF_SHORT $ac_cv_sizeof_short
22159 { echo "$as_me:$LINENO: checking for void *" >&5
22160 echo $ECHO_N "checking for void *... $ECHO_C" >&6; }
22161 if test "${ac_cv_type_void_p+set}" = set; then
22162 echo $ECHO_N "(cached) $ECHO_C" >&6
22164 cat >conftest.$ac_ext <<_ACEOF
22167 cat confdefs.h >>conftest.$ac_ext
22168 cat >>conftest.$ac_ext <<_ACEOF
22169 /* end confdefs.h. */
22170 $ac_includes_default
22171 typedef void * ac__type_new_;
22175 if ((ac__type_new_ *) 0)
22177 if (sizeof (ac__type_new_))
22183 rm -f conftest.$ac_objext
22184 if { (ac_try="$ac_compile"
22185 case "(($ac_try" in
22186 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
22187 *) ac_try_echo
=$ac_try;;
22189 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22190 (eval "$ac_compile") 2>conftest.er1
22192 grep -v '^ *+' conftest.er1
>conftest.err
22194 cat conftest.err
>&5
22195 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22196 (exit $ac_status); } && {
22197 test -z "$ac_c_werror_flag" ||
22198 test ! -s conftest.err
22199 } && test -s conftest.
$ac_objext; then
22200 ac_cv_type_void_p
=yes
22202 echo "$as_me: failed program was:" >&5
22203 sed 's/^/| /' conftest.
$ac_ext >&5
22205 ac_cv_type_void_p
=no
22208 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
22210 { echo "$as_me:$LINENO: result: $ac_cv_type_void_p" >&5
22211 echo "${ECHO_T}$ac_cv_type_void_p" >&6; }
22213 # The cast to long int works around a bug in the HP C Compiler
22214 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
22215 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
22216 # This bug is HP SR number 8606223364.
22217 { echo "$as_me:$LINENO: checking size of void *" >&5
22218 echo $ECHO_N "checking size of void *... $ECHO_C" >&6; }
22219 if test "${ac_cv_sizeof_void_p+set}" = set; then
22220 echo $ECHO_N "(cached) $ECHO_C" >&6
22222 if test "$cross_compiling" = yes; then
22223 # Depending upon the size, compute the lo and hi bounds.
22224 cat >conftest.
$ac_ext <<_ACEOF
22227 cat confdefs.h
>>conftest.
$ac_ext
22228 cat >>conftest.
$ac_ext <<_ACEOF
22229 /* end confdefs.h. */
22230 $ac_includes_default
22231 typedef void * ac__type_sizeof_;
22235 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
22242 rm -f conftest.
$ac_objext
22243 if { (ac_try
="$ac_compile"
22244 case "(($ac_try" in
22245 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
22246 *) ac_try_echo=$ac_try;;
22248 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22249 (eval "$ac_compile") 2>conftest.er1
22251 grep -v '^ *+' conftest.er1 >conftest.err
22253 cat conftest.err >&5
22254 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22255 (exit $ac_status); } && {
22256 test -z "$ac_c_werror_flag" ||
22257 test ! -s conftest.err
22258 } && test -s conftest.$ac_objext; then
22261 cat >conftest.$ac_ext <<_ACEOF
22264 cat confdefs.h >>conftest.$ac_ext
22265 cat >>conftest.$ac_ext <<_ACEOF
22266 /* end confdefs.h. */
22267 $ac_includes_default
22268 typedef void * ac__type_sizeof_;
22272 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22279 rm -f conftest.$ac_objext
22280 if { (ac_try="$ac_compile"
22281 case "(($ac_try" in
22282 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
22283 *) ac_try_echo
=$ac_try;;
22285 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22286 (eval "$ac_compile") 2>conftest.er1
22288 grep -v '^ *+' conftest.er1
>conftest.err
22290 cat conftest.err
>&5
22291 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22292 (exit $ac_status); } && {
22293 test -z "$ac_c_werror_flag" ||
22294 test ! -s conftest.err
22295 } && test -s conftest.
$ac_objext; then
22296 ac_hi
=$ac_mid; break
22298 echo "$as_me: failed program was:" >&5
22299 sed 's/^/| /' conftest.
$ac_ext >&5
22301 ac_lo
=`expr $ac_mid + 1`
22302 if test $ac_lo -le $ac_mid; then
22306 ac_mid
=`expr 2 '*' $ac_mid + 1`
22309 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
22312 echo "$as_me: failed program was:" >&5
22313 sed 's/^/| /' conftest.
$ac_ext >&5
22315 cat >conftest.
$ac_ext <<_ACEOF
22318 cat confdefs.h
>>conftest.
$ac_ext
22319 cat >>conftest.
$ac_ext <<_ACEOF
22320 /* end confdefs.h. */
22321 $ac_includes_default
22322 typedef void * ac__type_sizeof_;
22326 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
22333 rm -f conftest.
$ac_objext
22334 if { (ac_try
="$ac_compile"
22335 case "(($ac_try" in
22336 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
22337 *) ac_try_echo=$ac_try;;
22339 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22340 (eval "$ac_compile") 2>conftest.er1
22342 grep -v '^ *+' conftest.er1 >conftest.err
22344 cat conftest.err >&5
22345 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22346 (exit $ac_status); } && {
22347 test -z "$ac_c_werror_flag" ||
22348 test ! -s conftest.err
22349 } && test -s conftest.$ac_objext; then
22352 cat >conftest.$ac_ext <<_ACEOF
22355 cat confdefs.h >>conftest.$ac_ext
22356 cat >>conftest.$ac_ext <<_ACEOF
22357 /* end confdefs.h. */
22358 $ac_includes_default
22359 typedef void * ac__type_sizeof_;
22363 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
22370 rm -f conftest.$ac_objext
22371 if { (ac_try="$ac_compile"
22372 case "(($ac_try" in
22373 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
22374 *) ac_try_echo
=$ac_try;;
22376 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22377 (eval "$ac_compile") 2>conftest.er1
22379 grep -v '^ *+' conftest.er1
>conftest.err
22381 cat conftest.err
>&5
22382 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22383 (exit $ac_status); } && {
22384 test -z "$ac_c_werror_flag" ||
22385 test ! -s conftest.err
22386 } && test -s conftest.
$ac_objext; then
22387 ac_lo
=$ac_mid; break
22389 echo "$as_me: failed program was:" >&5
22390 sed 's/^/| /' conftest.
$ac_ext >&5
22392 ac_hi
=`expr '(' $ac_mid ')' - 1`
22393 if test $ac_mid -le $ac_hi; then
22397 ac_mid
=`expr 2 '*' $ac_mid`
22400 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
22403 echo "$as_me: failed program was:" >&5
22404 sed 's/^/| /' conftest.
$ac_ext >&5
22409 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
22412 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
22413 # Binary search between lo and hi bounds.
22414 while test "x$ac_lo" != "x$ac_hi"; do
22415 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
22416 cat >conftest.
$ac_ext <<_ACEOF
22419 cat confdefs.h
>>conftest.
$ac_ext
22420 cat >>conftest.
$ac_ext <<_ACEOF
22421 /* end confdefs.h. */
22422 $ac_includes_default
22423 typedef void * ac__type_sizeof_;
22427 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22434 rm -f conftest.
$ac_objext
22435 if { (ac_try
="$ac_compile"
22436 case "(($ac_try" in
22437 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
22438 *) ac_try_echo=$ac_try;;
22440 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22441 (eval "$ac_compile") 2>conftest.er1
22443 grep -v '^ *+' conftest.er1 >conftest.err
22445 cat conftest.err >&5
22446 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22447 (exit $ac_status); } && {
22448 test -z "$ac_c_werror_flag" ||
22449 test ! -s conftest.err
22450 } && test -s conftest.$ac_objext; then
22453 echo "$as_me: failed program was:" >&5
22454 sed 's/^/| /' conftest.$ac_ext >&5
22456 ac_lo=`expr '(' $ac_mid ')' + 1`
22459 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22462 ?*) ac_cv_sizeof_void_p=$ac_lo;;
22463 '') if test "$ac_cv_type_void_p" = yes; then
22464 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *)
22465 See \`config.log
' for more details." >&5
22466 echo "$as_me: error: cannot compute sizeof (void *)
22467 See \`config.log' for more details.
" >&2;}
22468 { (exit 77); exit 77; }; }
22470 ac_cv_sizeof_void_p=0
22474 cat >conftest.$ac_ext <<_ACEOF
22477 cat confdefs.h >>conftest.$ac_ext
22478 cat >>conftest.$ac_ext <<_ACEOF
22479 /* end confdefs.h. */
22480 $ac_includes_default
22481 typedef void * ac__type_sizeof_;
22482 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
22483 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
22485 #include <stdlib.h>
22490 FILE *f = fopen ("conftest.val
", "w
");
22493 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
22495 long int i = longval ();
22496 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22498 fprintf (f, "%ld
\n", i);
22502 unsigned long int i = ulongval ();
22503 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22505 fprintf (f, "%lu
\n", i);
22507 return ferror (f) || fclose (f) != 0;
22513 rm -f conftest$ac_exeext
22514 if { (ac_try="$ac_link"
22515 case "(($ac_try" in
22516 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22517 *) ac_try_echo=$ac_try;;
22519 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
22520 (eval "$ac_link") 2>&5
22522 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
22523 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
22524 { (case "(($ac_try" in
22525 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22526 *) ac_try_echo=$ac_try;;
22528 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
22529 (eval "$ac_try") 2>&5
22531 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
22532 (exit $ac_status); }; }; then
22533 ac_cv_sizeof_void_p=`cat conftest.val`
22535 echo "$as_me: program exited with status
$ac_status" >&5
22536 echo "$as_me: failed program was
:" >&5
22537 sed 's/^/| /' conftest.$ac_ext >&5
22539 ( exit $ac_status )
22540 if test "$ac_cv_type_void_p" = yes; then
22541 { { echo "$as_me:$LINENO: error
: cannot compute sizeof
(void
*)
22542 See \
`config.log' for more details." >&5
22543 echo "$as_me: error: cannot compute sizeof (void *)
22544 See \`config.log
' for more details." >&2;}
22545 { (exit 77); exit 77; }; }
22547 ac_cv_sizeof_void_p=0
22550 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22554 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_void_p" >&5
22555 echo "${ECHO_T}$ac_cv_sizeof_void_p" >&6; }
22559 cat >>confdefs.h <<_ACEOF
22560 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
22564 { echo "$as_me:$LINENO: checking for int" >&5
22565 echo $ECHO_N "checking for int... $ECHO_C" >&6; }
22566 if test "${ac_cv_type_int+set}" = set; then
22567 echo $ECHO_N "(cached) $ECHO_C" >&6
22569 cat >conftest.$ac_ext <<_ACEOF
22572 cat confdefs.h >>conftest.$ac_ext
22573 cat >>conftest.$ac_ext <<_ACEOF
22574 /* end confdefs.h. */
22575 $ac_includes_default
22576 typedef int ac__type_new_;
22580 if ((ac__type_new_ *) 0)
22582 if (sizeof (ac__type_new_))
22588 rm -f conftest.$ac_objext
22589 if { (ac_try="$ac_compile"
22590 case "(($ac_try" in
22591 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22592 *) ac_try_echo=$ac_try;;
22594 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22595 (eval "$ac_compile") 2>conftest.er1
22597 grep -v '^
*+' conftest.er1 >conftest.err
22599 cat conftest.err >&5
22600 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22601 (exit $ac_status); } && {
22602 test -z "$ac_c_werror_flag" ||
22603 test ! -s conftest.err
22604 } && test -s conftest.$ac_objext; then
22607 echo "$as_me: failed program was:" >&5
22608 sed 's
/^
/| /' conftest.$ac_ext >&5
22613 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22615 { echo "$as_me:$LINENO: result: $ac_cv_type_int" >&5
22616 echo "${ECHO_T}$ac_cv_type_int" >&6; }
22618 # The cast to long int works around a bug in the HP C Compiler
22619 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
22620 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
22621 # This bug is HP SR number 8606223364.
22622 { echo "$as_me:$LINENO: checking size of int" >&5
22623 echo $ECHO_N "checking size of int... $ECHO_C" >&6; }
22624 if test "${ac_cv_sizeof_int+set}" = set; then
22625 echo $ECHO_N "(cached) $ECHO_C" >&6
22627 if test "$cross_compiling" = yes; then
22628 # Depending upon the size, compute the lo and hi bounds.
22629 cat >conftest.
$ac_ext <<_ACEOF
22632 cat confdefs.h
>>conftest.
$ac_ext
22633 cat >>conftest.
$ac_ext <<_ACEOF
22634 /* end confdefs.h. */
22635 $ac_includes_default
22636 typedef int ac__type_sizeof_;
22640 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
22647 rm -f conftest.
$ac_objext
22648 if { (ac_try
="$ac_compile"
22649 case "(($ac_try" in
22650 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
22651 *) ac_try_echo=$ac_try;;
22653 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22654 (eval "$ac_compile") 2>conftest.er1
22656 grep -v '^ *+' conftest.er1 >conftest.err
22658 cat conftest.err >&5
22659 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22660 (exit $ac_status); } && {
22661 test -z "$ac_c_werror_flag" ||
22662 test ! -s conftest.err
22663 } && test -s conftest.$ac_objext; then
22666 cat >conftest.$ac_ext <<_ACEOF
22669 cat confdefs.h >>conftest.$ac_ext
22670 cat >>conftest.$ac_ext <<_ACEOF
22671 /* end confdefs.h. */
22672 $ac_includes_default
22673 typedef int ac__type_sizeof_;
22677 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22684 rm -f conftest.$ac_objext
22685 if { (ac_try="$ac_compile"
22686 case "(($ac_try" in
22687 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
22688 *) ac_try_echo
=$ac_try;;
22690 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22691 (eval "$ac_compile") 2>conftest.er1
22693 grep -v '^ *+' conftest.er1
>conftest.err
22695 cat conftest.err
>&5
22696 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22697 (exit $ac_status); } && {
22698 test -z "$ac_c_werror_flag" ||
22699 test ! -s conftest.err
22700 } && test -s conftest.
$ac_objext; then
22701 ac_hi
=$ac_mid; break
22703 echo "$as_me: failed program was:" >&5
22704 sed 's/^/| /' conftest.
$ac_ext >&5
22706 ac_lo
=`expr $ac_mid + 1`
22707 if test $ac_lo -le $ac_mid; then
22711 ac_mid
=`expr 2 '*' $ac_mid + 1`
22714 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
22717 echo "$as_me: failed program was:" >&5
22718 sed 's/^/| /' conftest.
$ac_ext >&5
22720 cat >conftest.
$ac_ext <<_ACEOF
22723 cat confdefs.h
>>conftest.
$ac_ext
22724 cat >>conftest.
$ac_ext <<_ACEOF
22725 /* end confdefs.h. */
22726 $ac_includes_default
22727 typedef int ac__type_sizeof_;
22731 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
22738 rm -f conftest.
$ac_objext
22739 if { (ac_try
="$ac_compile"
22740 case "(($ac_try" in
22741 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
22742 *) ac_try_echo=$ac_try;;
22744 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22745 (eval "$ac_compile") 2>conftest.er1
22747 grep -v '^ *+' conftest.er1 >conftest.err
22749 cat conftest.err >&5
22750 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22751 (exit $ac_status); } && {
22752 test -z "$ac_c_werror_flag" ||
22753 test ! -s conftest.err
22754 } && test -s conftest.$ac_objext; then
22757 cat >conftest.$ac_ext <<_ACEOF
22760 cat confdefs.h >>conftest.$ac_ext
22761 cat >>conftest.$ac_ext <<_ACEOF
22762 /* end confdefs.h. */
22763 $ac_includes_default
22764 typedef int ac__type_sizeof_;
22768 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
22775 rm -f conftest.$ac_objext
22776 if { (ac_try="$ac_compile"
22777 case "(($ac_try" in
22778 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
22779 *) ac_try_echo
=$ac_try;;
22781 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22782 (eval "$ac_compile") 2>conftest.er1
22784 grep -v '^ *+' conftest.er1
>conftest.err
22786 cat conftest.err
>&5
22787 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22788 (exit $ac_status); } && {
22789 test -z "$ac_c_werror_flag" ||
22790 test ! -s conftest.err
22791 } && test -s conftest.
$ac_objext; then
22792 ac_lo
=$ac_mid; break
22794 echo "$as_me: failed program was:" >&5
22795 sed 's/^/| /' conftest.
$ac_ext >&5
22797 ac_hi
=`expr '(' $ac_mid ')' - 1`
22798 if test $ac_mid -le $ac_hi; then
22802 ac_mid
=`expr 2 '*' $ac_mid`
22805 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
22808 echo "$as_me: failed program was:" >&5
22809 sed 's/^/| /' conftest.
$ac_ext >&5
22814 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
22817 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
22818 # Binary search between lo and hi bounds.
22819 while test "x$ac_lo" != "x$ac_hi"; do
22820 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
22821 cat >conftest.
$ac_ext <<_ACEOF
22824 cat confdefs.h
>>conftest.
$ac_ext
22825 cat >>conftest.
$ac_ext <<_ACEOF
22826 /* end confdefs.h. */
22827 $ac_includes_default
22828 typedef int ac__type_sizeof_;
22832 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22839 rm -f conftest.
$ac_objext
22840 if { (ac_try
="$ac_compile"
22841 case "(($ac_try" in
22842 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
22843 *) ac_try_echo=$ac_try;;
22845 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22846 (eval "$ac_compile") 2>conftest.er1
22848 grep -v '^ *+' conftest.er1 >conftest.err
22850 cat conftest.err >&5
22851 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22852 (exit $ac_status); } && {
22853 test -z "$ac_c_werror_flag" ||
22854 test ! -s conftest.err
22855 } && test -s conftest.$ac_objext; then
22858 echo "$as_me: failed program was:" >&5
22859 sed 's/^/| /' conftest.$ac_ext >&5
22861 ac_lo=`expr '(' $ac_mid ')' + 1`
22864 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22867 ?*) ac_cv_sizeof_int=$ac_lo;;
22868 '') if test "$ac_cv_type_int" = yes; then
22869 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int)
22870 See \`config.log
' for more details." >&5
22871 echo "$as_me: error: cannot compute sizeof (int)
22872 See \`config.log' for more details.
" >&2;}
22873 { (exit 77); exit 77; }; }
22879 cat >conftest.$ac_ext <<_ACEOF
22882 cat confdefs.h >>conftest.$ac_ext
22883 cat >>conftest.$ac_ext <<_ACEOF
22884 /* end confdefs.h. */
22885 $ac_includes_default
22886 typedef int ac__type_sizeof_;
22887 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
22888 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
22890 #include <stdlib.h>
22895 FILE *f = fopen ("conftest.val
", "w
");
22898 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
22900 long int i = longval ();
22901 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22903 fprintf (f, "%ld
\n", i);
22907 unsigned long int i = ulongval ();
22908 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22910 fprintf (f, "%lu
\n", i);
22912 return ferror (f) || fclose (f) != 0;
22918 rm -f conftest$ac_exeext
22919 if { (ac_try="$ac_link"
22920 case "(($ac_try" in
22921 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22922 *) ac_try_echo=$ac_try;;
22924 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
22925 (eval "$ac_link") 2>&5
22927 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
22928 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
22929 { (case "(($ac_try" in
22930 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22931 *) ac_try_echo=$ac_try;;
22933 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
22934 (eval "$ac_try") 2>&5
22936 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
22937 (exit $ac_status); }; }; then
22938 ac_cv_sizeof_int=`cat conftest.val`
22940 echo "$as_me: program exited with status
$ac_status" >&5
22941 echo "$as_me: failed program was
:" >&5
22942 sed 's/^/| /' conftest.$ac_ext >&5
22944 ( exit $ac_status )
22945 if test "$ac_cv_type_int" = yes; then
22946 { { echo "$as_me:$LINENO: error
: cannot compute sizeof
(int
)
22947 See \
`config.log' for more details." >&5
22948 echo "$as_me: error: cannot compute sizeof (int)
22949 See \`config.log
' for more details." >&2;}
22950 { (exit 77); exit 77; }; }
22955 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22959 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5
22960 echo "${ECHO_T}$ac_cv_sizeof_int" >&6; }
22964 cat >>confdefs.h <<_ACEOF
22965 #define SIZEOF_INT $ac_cv_sizeof_int
22969 { echo "$as_me:$LINENO: checking for long" >&5
22970 echo $ECHO_N "checking for long... $ECHO_C" >&6; }
22971 if test "${ac_cv_type_long+set}" = set; then
22972 echo $ECHO_N "(cached) $ECHO_C" >&6
22974 cat >conftest.$ac_ext <<_ACEOF
22977 cat confdefs.h >>conftest.$ac_ext
22978 cat >>conftest.$ac_ext <<_ACEOF
22979 /* end confdefs.h. */
22980 $ac_includes_default
22981 typedef long ac__type_new_;
22985 if ((ac__type_new_ *) 0)
22987 if (sizeof (ac__type_new_))
22993 rm -f conftest.$ac_objext
22994 if { (ac_try="$ac_compile"
22995 case "(($ac_try" in
22996 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22997 *) ac_try_echo=$ac_try;;
22999 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23000 (eval "$ac_compile") 2>conftest.er1
23002 grep -v '^
*+' conftest.er1 >conftest.err
23004 cat conftest.err >&5
23005 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23006 (exit $ac_status); } && {
23007 test -z "$ac_c_werror_flag" ||
23008 test ! -s conftest.err
23009 } && test -s conftest.$ac_objext; then
23010 ac_cv_type_long=yes
23012 echo "$as_me: failed program was:" >&5
23013 sed 's
/^
/| /' conftest.$ac_ext >&5
23018 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23020 { echo "$as_me:$LINENO: result: $ac_cv_type_long" >&5
23021 echo "${ECHO_T}$ac_cv_type_long" >&6; }
23023 # The cast to long int works around a bug in the HP C Compiler
23024 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
23025 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
23026 # This bug is HP SR number 8606223364.
23027 { echo "$as_me:$LINENO: checking size of long" >&5
23028 echo $ECHO_N "checking size of long... $ECHO_C" >&6; }
23029 if test "${ac_cv_sizeof_long+set}" = set; then
23030 echo $ECHO_N "(cached) $ECHO_C" >&6
23032 if test "$cross_compiling" = yes; then
23033 # Depending upon the size, compute the lo and hi bounds.
23034 cat >conftest.
$ac_ext <<_ACEOF
23037 cat confdefs.h
>>conftest.
$ac_ext
23038 cat >>conftest.
$ac_ext <<_ACEOF
23039 /* end confdefs.h. */
23040 $ac_includes_default
23041 typedef long ac__type_sizeof_;
23045 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
23052 rm -f conftest.
$ac_objext
23053 if { (ac_try
="$ac_compile"
23054 case "(($ac_try" in
23055 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
23056 *) ac_try_echo=$ac_try;;
23058 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23059 (eval "$ac_compile") 2>conftest.er1
23061 grep -v '^ *+' conftest.er1 >conftest.err
23063 cat conftest.err >&5
23064 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23065 (exit $ac_status); } && {
23066 test -z "$ac_c_werror_flag" ||
23067 test ! -s conftest.err
23068 } && test -s conftest.$ac_objext; then
23071 cat >conftest.$ac_ext <<_ACEOF
23074 cat confdefs.h >>conftest.$ac_ext
23075 cat >>conftest.$ac_ext <<_ACEOF
23076 /* end confdefs.h. */
23077 $ac_includes_default
23078 typedef long ac__type_sizeof_;
23082 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
23089 rm -f conftest.$ac_objext
23090 if { (ac_try="$ac_compile"
23091 case "(($ac_try" in
23092 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
23093 *) ac_try_echo
=$ac_try;;
23095 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23096 (eval "$ac_compile") 2>conftest.er1
23098 grep -v '^ *+' conftest.er1
>conftest.err
23100 cat conftest.err
>&5
23101 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23102 (exit $ac_status); } && {
23103 test -z "$ac_c_werror_flag" ||
23104 test ! -s conftest.err
23105 } && test -s conftest.
$ac_objext; then
23106 ac_hi
=$ac_mid; break
23108 echo "$as_me: failed program was:" >&5
23109 sed 's/^/| /' conftest.
$ac_ext >&5
23111 ac_lo
=`expr $ac_mid + 1`
23112 if test $ac_lo -le $ac_mid; then
23116 ac_mid
=`expr 2 '*' $ac_mid + 1`
23119 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
23122 echo "$as_me: failed program was:" >&5
23123 sed 's/^/| /' conftest.
$ac_ext >&5
23125 cat >conftest.
$ac_ext <<_ACEOF
23128 cat confdefs.h
>>conftest.
$ac_ext
23129 cat >>conftest.
$ac_ext <<_ACEOF
23130 /* end confdefs.h. */
23131 $ac_includes_default
23132 typedef long ac__type_sizeof_;
23136 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
23143 rm -f conftest.
$ac_objext
23144 if { (ac_try
="$ac_compile"
23145 case "(($ac_try" in
23146 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
23147 *) ac_try_echo=$ac_try;;
23149 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23150 (eval "$ac_compile") 2>conftest.er1
23152 grep -v '^ *+' conftest.er1 >conftest.err
23154 cat conftest.err >&5
23155 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23156 (exit $ac_status); } && {
23157 test -z "$ac_c_werror_flag" ||
23158 test ! -s conftest.err
23159 } && test -s conftest.$ac_objext; then
23162 cat >conftest.$ac_ext <<_ACEOF
23165 cat confdefs.h >>conftest.$ac_ext
23166 cat >>conftest.$ac_ext <<_ACEOF
23167 /* end confdefs.h. */
23168 $ac_includes_default
23169 typedef long ac__type_sizeof_;
23173 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
23180 rm -f conftest.$ac_objext
23181 if { (ac_try="$ac_compile"
23182 case "(($ac_try" in
23183 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
23184 *) ac_try_echo
=$ac_try;;
23186 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23187 (eval "$ac_compile") 2>conftest.er1
23189 grep -v '^ *+' conftest.er1
>conftest.err
23191 cat conftest.err
>&5
23192 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23193 (exit $ac_status); } && {
23194 test -z "$ac_c_werror_flag" ||
23195 test ! -s conftest.err
23196 } && test -s conftest.
$ac_objext; then
23197 ac_lo
=$ac_mid; break
23199 echo "$as_me: failed program was:" >&5
23200 sed 's/^/| /' conftest.
$ac_ext >&5
23202 ac_hi
=`expr '(' $ac_mid ')' - 1`
23203 if test $ac_mid -le $ac_hi; then
23207 ac_mid
=`expr 2 '*' $ac_mid`
23210 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
23213 echo "$as_me: failed program was:" >&5
23214 sed 's/^/| /' conftest.
$ac_ext >&5
23219 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
23222 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
23223 # Binary search between lo and hi bounds.
23224 while test "x$ac_lo" != "x$ac_hi"; do
23225 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
23226 cat >conftest.
$ac_ext <<_ACEOF
23229 cat confdefs.h
>>conftest.
$ac_ext
23230 cat >>conftest.
$ac_ext <<_ACEOF
23231 /* end confdefs.h. */
23232 $ac_includes_default
23233 typedef long ac__type_sizeof_;
23237 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
23244 rm -f conftest.
$ac_objext
23245 if { (ac_try
="$ac_compile"
23246 case "(($ac_try" in
23247 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
23248 *) ac_try_echo=$ac_try;;
23250 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23251 (eval "$ac_compile") 2>conftest.er1
23253 grep -v '^ *+' conftest.er1 >conftest.err
23255 cat conftest.err >&5
23256 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23257 (exit $ac_status); } && {
23258 test -z "$ac_c_werror_flag" ||
23259 test ! -s conftest.err
23260 } && test -s conftest.$ac_objext; then
23263 echo "$as_me: failed program was:" >&5
23264 sed 's/^/| /' conftest.$ac_ext >&5
23266 ac_lo=`expr '(' $ac_mid ')' + 1`
23269 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23272 ?*) ac_cv_sizeof_long=$ac_lo;;
23273 '') if test "$ac_cv_type_long" = yes; then
23274 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long)
23275 See \`config.log
' for more details." >&5
23276 echo "$as_me: error: cannot compute sizeof (long)
23277 See \`config.log' for more details.
" >&2;}
23278 { (exit 77); exit 77; }; }
23280 ac_cv_sizeof_long=0
23284 cat >conftest.$ac_ext <<_ACEOF
23287 cat confdefs.h >>conftest.$ac_ext
23288 cat >>conftest.$ac_ext <<_ACEOF
23289 /* end confdefs.h. */
23290 $ac_includes_default
23291 typedef long ac__type_sizeof_;
23292 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
23293 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
23295 #include <stdlib.h>
23300 FILE *f = fopen ("conftest.val
", "w
");
23303 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
23305 long int i = longval ();
23306 if (i != ((long int) (sizeof (ac__type_sizeof_))))
23308 fprintf (f, "%ld
\n", i);
23312 unsigned long int i = ulongval ();
23313 if (i != ((long int) (sizeof (ac__type_sizeof_))))
23315 fprintf (f, "%lu
\n", i);
23317 return ferror (f) || fclose (f) != 0;
23323 rm -f conftest$ac_exeext
23324 if { (ac_try="$ac_link"
23325 case "(($ac_try" in
23326 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23327 *) ac_try_echo=$ac_try;;
23329 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
23330 (eval "$ac_link") 2>&5
23332 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
23333 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
23334 { (case "(($ac_try" in
23335 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23336 *) ac_try_echo=$ac_try;;
23338 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
23339 (eval "$ac_try") 2>&5
23341 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
23342 (exit $ac_status); }; }; then
23343 ac_cv_sizeof_long=`cat conftest.val`
23345 echo "$as_me: program exited with status
$ac_status" >&5
23346 echo "$as_me: failed program was
:" >&5
23347 sed 's/^/| /' conftest.$ac_ext >&5
23349 ( exit $ac_status )
23350 if test "$ac_cv_type_long" = yes; then
23351 { { echo "$as_me:$LINENO: error
: cannot compute sizeof
(long
)
23352 See \
`config.log' for more details." >&5
23353 echo "$as_me: error: cannot compute sizeof (long)
23354 See \`config.log
' for more details." >&2;}
23355 { (exit 77); exit 77; }; }
23357 ac_cv_sizeof_long=0
23360 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
23364 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5
23365 echo "${ECHO_T}$ac_cv_sizeof_long" >&6; }
23369 cat >>confdefs.h <<_ACEOF
23370 #define SIZEOF_LONG $ac_cv_sizeof_long
23374 { echo "$as_me:$LINENO: checking for size_t" >&5
23375 echo $ECHO_N "checking for size_t... $ECHO_C" >&6; }
23376 if test "${ac_cv_type_size_t+set}" = set; then
23377 echo $ECHO_N "(cached) $ECHO_C" >&6
23379 cat >conftest.$ac_ext <<_ACEOF
23382 cat confdefs.h >>conftest.$ac_ext
23383 cat >>conftest.$ac_ext <<_ACEOF
23384 /* end confdefs.h. */
23385 $ac_includes_default
23386 typedef size_t ac__type_new_;
23390 if ((ac__type_new_ *) 0)
23392 if (sizeof (ac__type_new_))
23398 rm -f conftest.$ac_objext
23399 if { (ac_try="$ac_compile"
23400 case "(($ac_try" in
23401 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23402 *) ac_try_echo=$ac_try;;
23404 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23405 (eval "$ac_compile") 2>conftest.er1
23407 grep -v '^
*+' conftest.er1 >conftest.err
23409 cat conftest.err >&5
23410 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23411 (exit $ac_status); } && {
23412 test -z "$ac_c_werror_flag" ||
23413 test ! -s conftest.err
23414 } && test -s conftest.$ac_objext; then
23415 ac_cv_type_size_t=yes
23417 echo "$as_me: failed program was:" >&5
23418 sed 's
/^
/| /' conftest.$ac_ext >&5
23420 ac_cv_type_size_t=no
23423 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23425 { echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
23426 echo "${ECHO_T}$ac_cv_type_size_t" >&6; }
23428 # The cast to long int works around a bug in the HP C Compiler
23429 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
23430 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
23431 # This bug is HP SR number 8606223364.
23432 { echo "$as_me:$LINENO: checking size of size_t" >&5
23433 echo $ECHO_N "checking size of size_t... $ECHO_C" >&6; }
23434 if test "${ac_cv_sizeof_size_t+set}" = set; then
23435 echo $ECHO_N "(cached) $ECHO_C" >&6
23437 if test "$cross_compiling" = yes; then
23438 # Depending upon the size, compute the lo and hi bounds.
23439 cat >conftest.
$ac_ext <<_ACEOF
23442 cat confdefs.h
>>conftest.
$ac_ext
23443 cat >>conftest.
$ac_ext <<_ACEOF
23444 /* end confdefs.h. */
23445 $ac_includes_default
23446 typedef size_t ac__type_sizeof_;
23450 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
23457 rm -f conftest.
$ac_objext
23458 if { (ac_try
="$ac_compile"
23459 case "(($ac_try" in
23460 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
23461 *) ac_try_echo=$ac_try;;
23463 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23464 (eval "$ac_compile") 2>conftest.er1
23466 grep -v '^ *+' conftest.er1 >conftest.err
23468 cat conftest.err >&5
23469 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23470 (exit $ac_status); } && {
23471 test -z "$ac_c_werror_flag" ||
23472 test ! -s conftest.err
23473 } && test -s conftest.$ac_objext; then
23476 cat >conftest.$ac_ext <<_ACEOF
23479 cat confdefs.h >>conftest.$ac_ext
23480 cat >>conftest.$ac_ext <<_ACEOF
23481 /* end confdefs.h. */
23482 $ac_includes_default
23483 typedef size_t ac__type_sizeof_;
23487 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
23494 rm -f conftest.$ac_objext
23495 if { (ac_try="$ac_compile"
23496 case "(($ac_try" in
23497 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
23498 *) ac_try_echo
=$ac_try;;
23500 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23501 (eval "$ac_compile") 2>conftest.er1
23503 grep -v '^ *+' conftest.er1
>conftest.err
23505 cat conftest.err
>&5
23506 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23507 (exit $ac_status); } && {
23508 test -z "$ac_c_werror_flag" ||
23509 test ! -s conftest.err
23510 } && test -s conftest.
$ac_objext; then
23511 ac_hi
=$ac_mid; break
23513 echo "$as_me: failed program was:" >&5
23514 sed 's/^/| /' conftest.
$ac_ext >&5
23516 ac_lo
=`expr $ac_mid + 1`
23517 if test $ac_lo -le $ac_mid; then
23521 ac_mid
=`expr 2 '*' $ac_mid + 1`
23524 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
23527 echo "$as_me: failed program was:" >&5
23528 sed 's/^/| /' conftest.
$ac_ext >&5
23530 cat >conftest.
$ac_ext <<_ACEOF
23533 cat confdefs.h
>>conftest.
$ac_ext
23534 cat >>conftest.
$ac_ext <<_ACEOF
23535 /* end confdefs.h. */
23536 $ac_includes_default
23537 typedef size_t ac__type_sizeof_;
23541 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
23548 rm -f conftest.
$ac_objext
23549 if { (ac_try
="$ac_compile"
23550 case "(($ac_try" in
23551 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
23552 *) ac_try_echo=$ac_try;;
23554 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23555 (eval "$ac_compile") 2>conftest.er1
23557 grep -v '^ *+' conftest.er1 >conftest.err
23559 cat conftest.err >&5
23560 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23561 (exit $ac_status); } && {
23562 test -z "$ac_c_werror_flag" ||
23563 test ! -s conftest.err
23564 } && test -s conftest.$ac_objext; then
23567 cat >conftest.$ac_ext <<_ACEOF
23570 cat confdefs.h >>conftest.$ac_ext
23571 cat >>conftest.$ac_ext <<_ACEOF
23572 /* end confdefs.h. */
23573 $ac_includes_default
23574 typedef size_t ac__type_sizeof_;
23578 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
23585 rm -f conftest.$ac_objext
23586 if { (ac_try="$ac_compile"
23587 case "(($ac_try" in
23588 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
23589 *) ac_try_echo
=$ac_try;;
23591 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23592 (eval "$ac_compile") 2>conftest.er1
23594 grep -v '^ *+' conftest.er1
>conftest.err
23596 cat conftest.err
>&5
23597 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23598 (exit $ac_status); } && {
23599 test -z "$ac_c_werror_flag" ||
23600 test ! -s conftest.err
23601 } && test -s conftest.
$ac_objext; then
23602 ac_lo
=$ac_mid; break
23604 echo "$as_me: failed program was:" >&5
23605 sed 's/^/| /' conftest.
$ac_ext >&5
23607 ac_hi
=`expr '(' $ac_mid ')' - 1`
23608 if test $ac_mid -le $ac_hi; then
23612 ac_mid
=`expr 2 '*' $ac_mid`
23615 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
23618 echo "$as_me: failed program was:" >&5
23619 sed 's/^/| /' conftest.
$ac_ext >&5
23624 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
23627 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
23628 # Binary search between lo and hi bounds.
23629 while test "x$ac_lo" != "x$ac_hi"; do
23630 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
23631 cat >conftest.
$ac_ext <<_ACEOF
23634 cat confdefs.h
>>conftest.
$ac_ext
23635 cat >>conftest.
$ac_ext <<_ACEOF
23636 /* end confdefs.h. */
23637 $ac_includes_default
23638 typedef size_t ac__type_sizeof_;
23642 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
23649 rm -f conftest.
$ac_objext
23650 if { (ac_try
="$ac_compile"
23651 case "(($ac_try" in
23652 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
23653 *) ac_try_echo=$ac_try;;
23655 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23656 (eval "$ac_compile") 2>conftest.er1
23658 grep -v '^ *+' conftest.er1 >conftest.err
23660 cat conftest.err >&5
23661 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23662 (exit $ac_status); } && {
23663 test -z "$ac_c_werror_flag" ||
23664 test ! -s conftest.err
23665 } && test -s conftest.$ac_objext; then
23668 echo "$as_me: failed program was:" >&5
23669 sed 's/^/| /' conftest.$ac_ext >&5
23671 ac_lo=`expr '(' $ac_mid ')' + 1`
23674 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23677 ?*) ac_cv_sizeof_size_t=$ac_lo;;
23678 '') if test "$ac_cv_type_size_t" = yes; then
23679 { { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t)
23680 See \`config.log
' for more details." >&5
23681 echo "$as_me: error: cannot compute sizeof (size_t)
23682 See \`config.log' for more details.
" >&2;}
23683 { (exit 77); exit 77; }; }
23685 ac_cv_sizeof_size_t=0
23689 cat >conftest.$ac_ext <<_ACEOF
23692 cat confdefs.h >>conftest.$ac_ext
23693 cat >>conftest.$ac_ext <<_ACEOF
23694 /* end confdefs.h. */
23695 $ac_includes_default
23696 typedef size_t ac__type_sizeof_;
23697 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
23698 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
23700 #include <stdlib.h>
23705 FILE *f = fopen ("conftest.val
", "w
");
23708 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
23710 long int i = longval ();
23711 if (i != ((long int) (sizeof (ac__type_sizeof_))))
23713 fprintf (f, "%ld
\n", i);
23717 unsigned long int i = ulongval ();
23718 if (i != ((long int) (sizeof (ac__type_sizeof_))))
23720 fprintf (f, "%lu
\n", i);
23722 return ferror (f) || fclose (f) != 0;
23728 rm -f conftest$ac_exeext
23729 if { (ac_try="$ac_link"
23730 case "(($ac_try" in
23731 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23732 *) ac_try_echo=$ac_try;;
23734 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
23735 (eval "$ac_link") 2>&5
23737 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
23738 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
23739 { (case "(($ac_try" in
23740 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23741 *) ac_try_echo=$ac_try;;
23743 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
23744 (eval "$ac_try") 2>&5
23746 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
23747 (exit $ac_status); }; }; then
23748 ac_cv_sizeof_size_t=`cat conftest.val`
23750 echo "$as_me: program exited with status
$ac_status" >&5
23751 echo "$as_me: failed program was
:" >&5
23752 sed 's/^/| /' conftest.$ac_ext >&5
23754 ( exit $ac_status )
23755 if test "$ac_cv_type_size_t" = yes; then
23756 { { echo "$as_me:$LINENO: error
: cannot compute sizeof
(size_t
)
23757 See \
`config.log' for more details." >&5
23758 echo "$as_me: error: cannot compute sizeof (size_t)
23759 See \`config.log
' for more details." >&2;}
23760 { (exit 77); exit 77; }; }
23762 ac_cv_sizeof_size_t=0
23765 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
23769 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_size_t" >&5
23770 echo "${ECHO_T}$ac_cv_sizeof_size_t" >&6; }
23774 cat >>confdefs.h <<_ACEOF
23775 #define SIZEOF_SIZE_T $ac_cv_sizeof_size_t
23782 { echo "$as_me:$LINENO: checking for long long" >&5
23783 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
23784 if test "${ac_cv_type_long_long+set}" = set; then
23785 echo $ECHO_N "(cached) $ECHO_C" >&6
23787 cat >conftest.$ac_ext <<_ACEOF
23790 cat confdefs.h >>conftest.$ac_ext
23791 cat >>conftest.$ac_ext <<_ACEOF
23792 /* end confdefs.h. */
23793 $ac_includes_default
23794 typedef long long ac__type_new_;
23798 if ((ac__type_new_ *) 0)
23800 if (sizeof (ac__type_new_))
23806 rm -f conftest.$ac_objext
23807 if { (ac_try="$ac_compile"
23808 case "(($ac_try" in
23809 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23810 *) ac_try_echo=$ac_try;;
23812 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23813 (eval "$ac_compile") 2>conftest.er1
23815 grep -v '^
*+' conftest.er1 >conftest.err
23817 cat conftest.err >&5
23818 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23819 (exit $ac_status); } && {
23820 test -z "$ac_c_werror_flag" ||
23821 test ! -s conftest.err
23822 } && test -s conftest.$ac_objext; then
23823 ac_cv_type_long_long=yes
23825 echo "$as_me: failed program was:" >&5
23826 sed 's
/^
/| /' conftest.$ac_ext >&5
23828 ac_cv_type_long_long=no
23831 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23833 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
23834 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
23836 # The cast to long int works around a bug in the HP C Compiler
23837 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
23838 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
23839 # This bug is HP SR number 8606223364.
23840 { echo "$as_me:$LINENO: checking size of long long" >&5
23841 echo $ECHO_N "checking size of long long... $ECHO_C" >&6; }
23842 if test "${ac_cv_sizeof_long_long+set}" = set; then
23843 echo $ECHO_N "(cached) $ECHO_C" >&6
23845 if test "$cross_compiling" = yes; then
23846 # Depending upon the size, compute the lo and hi bounds.
23847 cat >conftest.
$ac_ext <<_ACEOF
23850 cat confdefs.h
>>conftest.
$ac_ext
23851 cat >>conftest.
$ac_ext <<_ACEOF
23852 /* end confdefs.h. */
23853 $ac_includes_default
23854 typedef long long ac__type_sizeof_;
23858 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
23865 rm -f conftest.
$ac_objext
23866 if { (ac_try
="$ac_compile"
23867 case "(($ac_try" in
23868 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
23869 *) ac_try_echo=$ac_try;;
23871 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23872 (eval "$ac_compile") 2>conftest.er1
23874 grep -v '^ *+' conftest.er1 >conftest.err
23876 cat conftest.err >&5
23877 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23878 (exit $ac_status); } && {
23879 test -z "$ac_c_werror_flag" ||
23880 test ! -s conftest.err
23881 } && test -s conftest.$ac_objext; then
23884 cat >conftest.$ac_ext <<_ACEOF
23887 cat confdefs.h >>conftest.$ac_ext
23888 cat >>conftest.$ac_ext <<_ACEOF
23889 /* end confdefs.h. */
23890 $ac_includes_default
23891 typedef long long ac__type_sizeof_;
23895 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
23902 rm -f conftest.$ac_objext
23903 if { (ac_try="$ac_compile"
23904 case "(($ac_try" in
23905 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
23906 *) ac_try_echo
=$ac_try;;
23908 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23909 (eval "$ac_compile") 2>conftest.er1
23911 grep -v '^ *+' conftest.er1
>conftest.err
23913 cat conftest.err
>&5
23914 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23915 (exit $ac_status); } && {
23916 test -z "$ac_c_werror_flag" ||
23917 test ! -s conftest.err
23918 } && test -s conftest.
$ac_objext; then
23919 ac_hi
=$ac_mid; break
23921 echo "$as_me: failed program was:" >&5
23922 sed 's/^/| /' conftest.
$ac_ext >&5
23924 ac_lo
=`expr $ac_mid + 1`
23925 if test $ac_lo -le $ac_mid; then
23929 ac_mid
=`expr 2 '*' $ac_mid + 1`
23932 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
23935 echo "$as_me: failed program was:" >&5
23936 sed 's/^/| /' conftest.
$ac_ext >&5
23938 cat >conftest.
$ac_ext <<_ACEOF
23941 cat confdefs.h
>>conftest.
$ac_ext
23942 cat >>conftest.
$ac_ext <<_ACEOF
23943 /* end confdefs.h. */
23944 $ac_includes_default
23945 typedef long long ac__type_sizeof_;
23949 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
23956 rm -f conftest.
$ac_objext
23957 if { (ac_try
="$ac_compile"
23958 case "(($ac_try" in
23959 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
23960 *) ac_try_echo=$ac_try;;
23962 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23963 (eval "$ac_compile") 2>conftest.er1
23965 grep -v '^ *+' conftest.er1 >conftest.err
23967 cat conftest.err >&5
23968 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23969 (exit $ac_status); } && {
23970 test -z "$ac_c_werror_flag" ||
23971 test ! -s conftest.err
23972 } && test -s conftest.$ac_objext; then
23975 cat >conftest.$ac_ext <<_ACEOF
23978 cat confdefs.h >>conftest.$ac_ext
23979 cat >>conftest.$ac_ext <<_ACEOF
23980 /* end confdefs.h. */
23981 $ac_includes_default
23982 typedef long long ac__type_sizeof_;
23986 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
23993 rm -f conftest.$ac_objext
23994 if { (ac_try="$ac_compile"
23995 case "(($ac_try" in
23996 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
23997 *) ac_try_echo
=$ac_try;;
23999 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24000 (eval "$ac_compile") 2>conftest.er1
24002 grep -v '^ *+' conftest.er1
>conftest.err
24004 cat conftest.err
>&5
24005 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24006 (exit $ac_status); } && {
24007 test -z "$ac_c_werror_flag" ||
24008 test ! -s conftest.err
24009 } && test -s conftest.
$ac_objext; then
24010 ac_lo
=$ac_mid; break
24012 echo "$as_me: failed program was:" >&5
24013 sed 's/^/| /' conftest.
$ac_ext >&5
24015 ac_hi
=`expr '(' $ac_mid ')' - 1`
24016 if test $ac_mid -le $ac_hi; then
24020 ac_mid
=`expr 2 '*' $ac_mid`
24023 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
24026 echo "$as_me: failed program was:" >&5
24027 sed 's/^/| /' conftest.
$ac_ext >&5
24032 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
24035 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
24036 # Binary search between lo and hi bounds.
24037 while test "x$ac_lo" != "x$ac_hi"; do
24038 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
24039 cat >conftest.
$ac_ext <<_ACEOF
24042 cat confdefs.h
>>conftest.
$ac_ext
24043 cat >>conftest.
$ac_ext <<_ACEOF
24044 /* end confdefs.h. */
24045 $ac_includes_default
24046 typedef long long ac__type_sizeof_;
24050 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
24057 rm -f conftest.
$ac_objext
24058 if { (ac_try
="$ac_compile"
24059 case "(($ac_try" in
24060 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
24061 *) ac_try_echo=$ac_try;;
24063 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24064 (eval "$ac_compile") 2>conftest.er1
24066 grep -v '^ *+' conftest.er1 >conftest.err
24068 cat conftest.err >&5
24069 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24070 (exit $ac_status); } && {
24071 test -z "$ac_c_werror_flag" ||
24072 test ! -s conftest.err
24073 } && test -s conftest.$ac_objext; then
24076 echo "$as_me: failed program was:" >&5
24077 sed 's/^/| /' conftest.$ac_ext >&5
24079 ac_lo=`expr '(' $ac_mid ')' + 1`
24082 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24085 ?*) ac_cv_sizeof_long_long=$ac_lo;;
24086 '') if test "$ac_cv_type_long_long" = yes; then
24087 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
24088 See \`config.log
' for more details." >&5
24089 echo "$as_me: error: cannot compute sizeof (long long)
24090 See \`config.log' for more details.
" >&2;}
24091 { (exit 77); exit 77; }; }
24093 ac_cv_sizeof_long_long=0
24097 cat >conftest.$ac_ext <<_ACEOF
24100 cat confdefs.h >>conftest.$ac_ext
24101 cat >>conftest.$ac_ext <<_ACEOF
24102 /* end confdefs.h. */
24103 $ac_includes_default
24104 typedef long long ac__type_sizeof_;
24105 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
24106 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
24108 #include <stdlib.h>
24113 FILE *f = fopen ("conftest.val
", "w
");
24116 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
24118 long int i = longval ();
24119 if (i != ((long int) (sizeof (ac__type_sizeof_))))
24121 fprintf (f, "%ld
\n", i);
24125 unsigned long int i = ulongval ();
24126 if (i != ((long int) (sizeof (ac__type_sizeof_))))
24128 fprintf (f, "%lu
\n", i);
24130 return ferror (f) || fclose (f) != 0;
24136 rm -f conftest$ac_exeext
24137 if { (ac_try="$ac_link"
24138 case "(($ac_try" in
24139 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24140 *) ac_try_echo=$ac_try;;
24142 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
24143 (eval "$ac_link") 2>&5
24145 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
24146 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
24147 { (case "(($ac_try" in
24148 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24149 *) ac_try_echo=$ac_try;;
24151 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
24152 (eval "$ac_try") 2>&5
24154 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
24155 (exit $ac_status); }; }; then
24156 ac_cv_sizeof_long_long=`cat conftest.val`
24158 echo "$as_me: program exited with status
$ac_status" >&5
24159 echo "$as_me: failed program was
:" >&5
24160 sed 's/^/| /' conftest.$ac_ext >&5
24162 ( exit $ac_status )
24163 if test "$ac_cv_type_long_long" = yes; then
24164 { { echo "$as_me:$LINENO: error
: cannot compute sizeof
(long long
)
24165 See \
`config.log' for more details." >&5
24166 echo "$as_me: error: cannot compute sizeof (long long)
24167 See \`config.log
' for more details." >&2;}
24168 { (exit 77); exit 77; }; }
24170 ac_cv_sizeof_long_long=0
24173 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
24177 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
24178 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6; }
24182 cat >>confdefs.h <<_ACEOF
24183 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
24189 { echo "$as_me:$LINENO: checking for long long" >&5
24190 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
24191 if test "${ac_cv_type_long_long+set}" = set; then
24192 echo $ECHO_N "(cached) $ECHO_C" >&6
24194 cat >conftest.$ac_ext <<_ACEOF
24197 cat confdefs.h >>conftest.$ac_ext
24198 cat >>conftest.$ac_ext <<_ACEOF
24199 /* end confdefs.h. */
24200 $ac_includes_default
24201 typedef long long ac__type_new_;
24205 if ((ac__type_new_ *) 0)
24207 if (sizeof (ac__type_new_))
24213 rm -f conftest.$ac_objext
24214 if { (ac_try="$ac_compile"
24215 case "(($ac_try" in
24216 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24217 *) ac_try_echo=$ac_try;;
24219 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24220 (eval "$ac_compile") 2>conftest.er1
24222 grep -v '^
*+' conftest.er1 >conftest.err
24224 cat conftest.err >&5
24225 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24226 (exit $ac_status); } && {
24227 test -z "$ac_c_werror_flag" ||
24228 test ! -s conftest.err
24229 } && test -s conftest.$ac_objext; then
24230 ac_cv_type_long_long=yes
24232 echo "$as_me: failed program was:" >&5
24233 sed 's
/^
/| /' conftest.$ac_ext >&5
24235 ac_cv_type_long_long=no
24238 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24240 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
24241 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
24243 # The cast to long int works around a bug in the HP C Compiler
24244 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
24245 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
24246 # This bug is HP SR number 8606223364.
24247 { echo "$as_me:$LINENO: checking size of long long" >&5
24248 echo $ECHO_N "checking size of long long... $ECHO_C" >&6; }
24249 if test "${ac_cv_sizeof_long_long+set}" = set; then
24250 echo $ECHO_N "(cached) $ECHO_C" >&6
24252 if test "$cross_compiling" = yes; then
24253 # Depending upon the size, compute the lo and hi bounds.
24254 cat >conftest.
$ac_ext <<_ACEOF
24257 cat confdefs.h
>>conftest.
$ac_ext
24258 cat >>conftest.
$ac_ext <<_ACEOF
24259 /* end confdefs.h. */
24260 $ac_includes_default
24261 typedef long long ac__type_sizeof_;
24265 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
24272 rm -f conftest.
$ac_objext
24273 if { (ac_try
="$ac_compile"
24274 case "(($ac_try" in
24275 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
24276 *) ac_try_echo=$ac_try;;
24278 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24279 (eval "$ac_compile") 2>conftest.er1
24281 grep -v '^ *+' conftest.er1 >conftest.err
24283 cat conftest.err >&5
24284 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24285 (exit $ac_status); } && {
24286 test -z "$ac_c_werror_flag" ||
24287 test ! -s conftest.err
24288 } && test -s conftest.$ac_objext; then
24291 cat >conftest.$ac_ext <<_ACEOF
24294 cat confdefs.h >>conftest.$ac_ext
24295 cat >>conftest.$ac_ext <<_ACEOF
24296 /* end confdefs.h. */
24297 $ac_includes_default
24298 typedef long long ac__type_sizeof_;
24302 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
24309 rm -f conftest.$ac_objext
24310 if { (ac_try="$ac_compile"
24311 case "(($ac_try" in
24312 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
24313 *) ac_try_echo
=$ac_try;;
24315 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24316 (eval "$ac_compile") 2>conftest.er1
24318 grep -v '^ *+' conftest.er1
>conftest.err
24320 cat conftest.err
>&5
24321 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24322 (exit $ac_status); } && {
24323 test -z "$ac_c_werror_flag" ||
24324 test ! -s conftest.err
24325 } && test -s conftest.
$ac_objext; then
24326 ac_hi
=$ac_mid; break
24328 echo "$as_me: failed program was:" >&5
24329 sed 's/^/| /' conftest.
$ac_ext >&5
24331 ac_lo
=`expr $ac_mid + 1`
24332 if test $ac_lo -le $ac_mid; then
24336 ac_mid
=`expr 2 '*' $ac_mid + 1`
24339 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
24342 echo "$as_me: failed program was:" >&5
24343 sed 's/^/| /' conftest.
$ac_ext >&5
24345 cat >conftest.
$ac_ext <<_ACEOF
24348 cat confdefs.h
>>conftest.
$ac_ext
24349 cat >>conftest.
$ac_ext <<_ACEOF
24350 /* end confdefs.h. */
24351 $ac_includes_default
24352 typedef long long ac__type_sizeof_;
24356 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
24363 rm -f conftest.
$ac_objext
24364 if { (ac_try
="$ac_compile"
24365 case "(($ac_try" in
24366 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
24367 *) ac_try_echo=$ac_try;;
24369 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24370 (eval "$ac_compile") 2>conftest.er1
24372 grep -v '^ *+' conftest.er1 >conftest.err
24374 cat conftest.err >&5
24375 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24376 (exit $ac_status); } && {
24377 test -z "$ac_c_werror_flag" ||
24378 test ! -s conftest.err
24379 } && test -s conftest.$ac_objext; then
24382 cat >conftest.$ac_ext <<_ACEOF
24385 cat confdefs.h >>conftest.$ac_ext
24386 cat >>conftest.$ac_ext <<_ACEOF
24387 /* end confdefs.h. */
24388 $ac_includes_default
24389 typedef long long ac__type_sizeof_;
24393 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
24400 rm -f conftest.$ac_objext
24401 if { (ac_try="$ac_compile"
24402 case "(($ac_try" in
24403 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
24404 *) ac_try_echo
=$ac_try;;
24406 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24407 (eval "$ac_compile") 2>conftest.er1
24409 grep -v '^ *+' conftest.er1
>conftest.err
24411 cat conftest.err
>&5
24412 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24413 (exit $ac_status); } && {
24414 test -z "$ac_c_werror_flag" ||
24415 test ! -s conftest.err
24416 } && test -s conftest.
$ac_objext; then
24417 ac_lo
=$ac_mid; break
24419 echo "$as_me: failed program was:" >&5
24420 sed 's/^/| /' conftest.
$ac_ext >&5
24422 ac_hi
=`expr '(' $ac_mid ')' - 1`
24423 if test $ac_mid -le $ac_hi; then
24427 ac_mid
=`expr 2 '*' $ac_mid`
24430 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
24433 echo "$as_me: failed program was:" >&5
24434 sed 's/^/| /' conftest.
$ac_ext >&5
24439 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
24442 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
24443 # Binary search between lo and hi bounds.
24444 while test "x$ac_lo" != "x$ac_hi"; do
24445 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
24446 cat >conftest.
$ac_ext <<_ACEOF
24449 cat confdefs.h
>>conftest.
$ac_ext
24450 cat >>conftest.
$ac_ext <<_ACEOF
24451 /* end confdefs.h. */
24452 $ac_includes_default
24453 typedef long long ac__type_sizeof_;
24457 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
24464 rm -f conftest.
$ac_objext
24465 if { (ac_try
="$ac_compile"
24466 case "(($ac_try" in
24467 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
24468 *) ac_try_echo=$ac_try;;
24470 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24471 (eval "$ac_compile") 2>conftest.er1
24473 grep -v '^ *+' conftest.er1 >conftest.err
24475 cat conftest.err >&5
24476 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24477 (exit $ac_status); } && {
24478 test -z "$ac_c_werror_flag" ||
24479 test ! -s conftest.err
24480 } && test -s conftest.$ac_objext; then
24483 echo "$as_me: failed program was:" >&5
24484 sed 's/^/| /' conftest.$ac_ext >&5
24486 ac_lo=`expr '(' $ac_mid ')' + 1`
24489 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24492 ?*) ac_cv_sizeof_long_long=$ac_lo;;
24493 '') if test "$ac_cv_type_long_long" = yes; then
24494 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
24495 See \`config.log
' for more details." >&5
24496 echo "$as_me: error: cannot compute sizeof (long long)
24497 See \`config.log' for more details.
" >&2;}
24498 { (exit 77); exit 77; }; }
24500 ac_cv_sizeof_long_long=0
24504 cat >conftest.$ac_ext <<_ACEOF
24507 cat confdefs.h >>conftest.$ac_ext
24508 cat >>conftest.$ac_ext <<_ACEOF
24509 /* end confdefs.h. */
24510 $ac_includes_default
24511 typedef long long ac__type_sizeof_;
24512 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
24513 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
24515 #include <stdlib.h>
24520 FILE *f = fopen ("conftest.val
", "w
");
24523 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
24525 long int i = longval ();
24526 if (i != ((long int) (sizeof (ac__type_sizeof_))))
24528 fprintf (f, "%ld
\n", i);
24532 unsigned long int i = ulongval ();
24533 if (i != ((long int) (sizeof (ac__type_sizeof_))))
24535 fprintf (f, "%lu
\n", i);
24537 return ferror (f) || fclose (f) != 0;
24543 rm -f conftest$ac_exeext
24544 if { (ac_try="$ac_link"
24545 case "(($ac_try" in
24546 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24547 *) ac_try_echo=$ac_try;;
24549 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
24550 (eval "$ac_link") 2>&5
24552 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
24553 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
24554 { (case "(($ac_try" in
24555 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24556 *) ac_try_echo=$ac_try;;
24558 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
24559 (eval "$ac_try") 2>&5
24561 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
24562 (exit $ac_status); }; }; then
24563 ac_cv_sizeof_long_long=`cat conftest.val`
24565 echo "$as_me: program exited with status
$ac_status" >&5
24566 echo "$as_me: failed program was
:" >&5
24567 sed 's/^/| /' conftest.$ac_ext >&5
24569 ( exit $ac_status )
24570 if test "$ac_cv_type_long_long" = yes; then
24571 { { echo "$as_me:$LINENO: error
: cannot compute sizeof
(long long
)
24572 See \
`config.log' for more details." >&5
24573 echo "$as_me: error: cannot compute sizeof (long long)
24574 See \`config.log
' for more details." >&2;}
24575 { (exit 77); exit 77; }; }
24577 ac_cv_sizeof_long_long=0
24580 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
24584 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
24585 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6; }
24589 cat >>confdefs.h <<_ACEOF
24590 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
24594 if test "$ac_cv_sizeof_long_long" != "0"; then
24595 CPPFLAGS="-D_INCLUDE_LONGLONG $CPPFLAGS"
24599 { echo "$as_me:$LINENO: checking for long long" >&5
24600 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
24601 if test "${ac_cv_type_long_long+set}" = set; then
24602 echo $ECHO_N "(cached) $ECHO_C" >&6
24604 cat >conftest.$ac_ext <<_ACEOF
24607 cat confdefs.h >>conftest.$ac_ext
24608 cat >>conftest.$ac_ext <<_ACEOF
24609 /* end confdefs.h. */
24610 $ac_includes_default
24611 typedef long long ac__type_new_;
24615 if ((ac__type_new_ *) 0)
24617 if (sizeof (ac__type_new_))
24623 rm -f conftest.$ac_objext
24624 if { (ac_try="$ac_compile"
24625 case "(($ac_try" in
24626 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24627 *) ac_try_echo=$ac_try;;
24629 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24630 (eval "$ac_compile") 2>conftest.er1
24632 grep -v '^
*+' conftest.er1 >conftest.err
24634 cat conftest.err >&5
24635 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24636 (exit $ac_status); } && {
24637 test -z "$ac_c_werror_flag" ||
24638 test ! -s conftest.err
24639 } && test -s conftest.$ac_objext; then
24640 ac_cv_type_long_long=yes
24642 echo "$as_me: failed program was:" >&5
24643 sed 's
/^
/| /' conftest.$ac_ext >&5
24645 ac_cv_type_long_long=no
24648 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24650 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
24651 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
24653 # The cast to long int works around a bug in the HP C Compiler
24654 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
24655 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
24656 # This bug is HP SR number 8606223364.
24657 { echo "$as_me:$LINENO: checking size of long long" >&5
24658 echo $ECHO_N "checking size of long long... $ECHO_C" >&6; }
24659 if test "${ac_cv_sizeof_long_long+set}" = set; then
24660 echo $ECHO_N "(cached) $ECHO_C" >&6
24662 if test "$cross_compiling" = yes; then
24663 # Depending upon the size, compute the lo and hi bounds.
24664 cat >conftest.
$ac_ext <<_ACEOF
24667 cat confdefs.h
>>conftest.
$ac_ext
24668 cat >>conftest.
$ac_ext <<_ACEOF
24669 /* end confdefs.h. */
24670 $ac_includes_default
24671 typedef long long ac__type_sizeof_;
24675 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
24682 rm -f conftest.
$ac_objext
24683 if { (ac_try
="$ac_compile"
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_compile") 2>conftest.er1
24691 grep -v '^ *+' conftest.er1 >conftest.err
24693 cat conftest.err >&5
24694 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24695 (exit $ac_status); } && {
24696 test -z "$ac_c_werror_flag" ||
24697 test ! -s conftest.err
24698 } && test -s conftest.$ac_objext; then
24701 cat >conftest.$ac_ext <<_ACEOF
24704 cat confdefs.h >>conftest.$ac_ext
24705 cat >>conftest.$ac_ext <<_ACEOF
24706 /* end confdefs.h. */
24707 $ac_includes_default
24708 typedef long long ac__type_sizeof_;
24712 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
24719 rm -f conftest.$ac_objext
24720 if { (ac_try="$ac_compile"
24721 case "(($ac_try" in
24722 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
24723 *) ac_try_echo
=$ac_try;;
24725 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24726 (eval "$ac_compile") 2>conftest.er1
24728 grep -v '^ *+' conftest.er1
>conftest.err
24730 cat conftest.err
>&5
24731 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24732 (exit $ac_status); } && {
24733 test -z "$ac_c_werror_flag" ||
24734 test ! -s conftest.err
24735 } && test -s conftest.
$ac_objext; then
24736 ac_hi
=$ac_mid; break
24738 echo "$as_me: failed program was:" >&5
24739 sed 's/^/| /' conftest.
$ac_ext >&5
24741 ac_lo
=`expr $ac_mid + 1`
24742 if test $ac_lo -le $ac_mid; then
24746 ac_mid
=`expr 2 '*' $ac_mid + 1`
24749 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
24752 echo "$as_me: failed program was:" >&5
24753 sed 's/^/| /' conftest.
$ac_ext >&5
24755 cat >conftest.
$ac_ext <<_ACEOF
24758 cat confdefs.h
>>conftest.
$ac_ext
24759 cat >>conftest.
$ac_ext <<_ACEOF
24760 /* end confdefs.h. */
24761 $ac_includes_default
24762 typedef long long ac__type_sizeof_;
24766 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
24773 rm -f conftest.
$ac_objext
24774 if { (ac_try
="$ac_compile"
24775 case "(($ac_try" in
24776 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
24777 *) ac_try_echo=$ac_try;;
24779 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24780 (eval "$ac_compile") 2>conftest.er1
24782 grep -v '^ *+' conftest.er1 >conftest.err
24784 cat conftest.err >&5
24785 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24786 (exit $ac_status); } && {
24787 test -z "$ac_c_werror_flag" ||
24788 test ! -s conftest.err
24789 } && test -s conftest.$ac_objext; then
24792 cat >conftest.$ac_ext <<_ACEOF
24795 cat confdefs.h >>conftest.$ac_ext
24796 cat >>conftest.$ac_ext <<_ACEOF
24797 /* end confdefs.h. */
24798 $ac_includes_default
24799 typedef long long ac__type_sizeof_;
24803 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
24810 rm -f conftest.$ac_objext
24811 if { (ac_try="$ac_compile"
24812 case "(($ac_try" in
24813 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
24814 *) ac_try_echo
=$ac_try;;
24816 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24817 (eval "$ac_compile") 2>conftest.er1
24819 grep -v '^ *+' conftest.er1
>conftest.err
24821 cat conftest.err
>&5
24822 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24823 (exit $ac_status); } && {
24824 test -z "$ac_c_werror_flag" ||
24825 test ! -s conftest.err
24826 } && test -s conftest.
$ac_objext; then
24827 ac_lo
=$ac_mid; break
24829 echo "$as_me: failed program was:" >&5
24830 sed 's/^/| /' conftest.
$ac_ext >&5
24832 ac_hi
=`expr '(' $ac_mid ')' - 1`
24833 if test $ac_mid -le $ac_hi; then
24837 ac_mid
=`expr 2 '*' $ac_mid`
24840 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
24843 echo "$as_me: failed program was:" >&5
24844 sed 's/^/| /' conftest.
$ac_ext >&5
24849 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
24852 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
24853 # Binary search between lo and hi bounds.
24854 while test "x$ac_lo" != "x$ac_hi"; do
24855 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
24856 cat >conftest.
$ac_ext <<_ACEOF
24859 cat confdefs.h
>>conftest.
$ac_ext
24860 cat >>conftest.
$ac_ext <<_ACEOF
24861 /* end confdefs.h. */
24862 $ac_includes_default
24863 typedef long long ac__type_sizeof_;
24867 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
24874 rm -f conftest.
$ac_objext
24875 if { (ac_try
="$ac_compile"
24876 case "(($ac_try" in
24877 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
24878 *) ac_try_echo=$ac_try;;
24880 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24881 (eval "$ac_compile") 2>conftest.er1
24883 grep -v '^ *+' conftest.er1 >conftest.err
24885 cat conftest.err >&5
24886 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24887 (exit $ac_status); } && {
24888 test -z "$ac_c_werror_flag" ||
24889 test ! -s conftest.err
24890 } && test -s conftest.$ac_objext; then
24893 echo "$as_me: failed program was:" >&5
24894 sed 's/^/| /' conftest.$ac_ext >&5
24896 ac_lo=`expr '(' $ac_mid ')' + 1`
24899 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24902 ?*) ac_cv_sizeof_long_long=$ac_lo;;
24903 '') if test "$ac_cv_type_long_long" = yes; then
24904 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
24905 See \`config.log
' for more details." >&5
24906 echo "$as_me: error: cannot compute sizeof (long long)
24907 See \`config.log' for more details.
" >&2;}
24908 { (exit 77); exit 77; }; }
24910 ac_cv_sizeof_long_long=0
24914 cat >conftest.$ac_ext <<_ACEOF
24917 cat confdefs.h >>conftest.$ac_ext
24918 cat >>conftest.$ac_ext <<_ACEOF
24919 /* end confdefs.h. */
24920 $ac_includes_default
24921 typedef long long ac__type_sizeof_;
24922 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
24923 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
24925 #include <stdlib.h>
24930 FILE *f = fopen ("conftest.val
", "w
");
24933 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
24935 long int i = longval ();
24936 if (i != ((long int) (sizeof (ac__type_sizeof_))))
24938 fprintf (f, "%ld
\n", i);
24942 unsigned long int i = ulongval ();
24943 if (i != ((long int) (sizeof (ac__type_sizeof_))))
24945 fprintf (f, "%lu
\n", i);
24947 return ferror (f) || fclose (f) != 0;
24953 rm -f conftest$ac_exeext
24954 if { (ac_try="$ac_link"
24955 case "(($ac_try" in
24956 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24957 *) ac_try_echo=$ac_try;;
24959 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
24960 (eval "$ac_link") 2>&5
24962 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
24963 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
24964 { (case "(($ac_try" in
24965 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24966 *) ac_try_echo=$ac_try;;
24968 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
24969 (eval "$ac_try") 2>&5
24971 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
24972 (exit $ac_status); }; }; then
24973 ac_cv_sizeof_long_long=`cat conftest.val`
24975 echo "$as_me: program exited with status
$ac_status" >&5
24976 echo "$as_me: failed program was
:" >&5
24977 sed 's/^/| /' conftest.$ac_ext >&5
24979 ( exit $ac_status )
24980 if test "$ac_cv_type_long_long" = yes; then
24981 { { echo "$as_me:$LINENO: error
: cannot compute sizeof
(long long
)
24982 See \
`config.log' for more details." >&5
24983 echo "$as_me: error: cannot compute sizeof (long long)
24984 See \`config.log
' for more details." >&2;}
24985 { (exit 77); exit 77; }; }
24987 ac_cv_sizeof_long_long=0
24990 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
24994 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
24995 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6; }
24999 cat >>confdefs.h <<_ACEOF
25000 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
25006 { echo "$as_me:$LINENO: checking for wchar_t" >&5
25007 echo $ECHO_N "checking for wchar_t... $ECHO_C" >&6; }
25008 if test "${ac_cv_type_wchar_t+set}" = set; then
25009 echo $ECHO_N "(cached) $ECHO_C" >&6
25011 cat >conftest.$ac_ext <<_ACEOF
25014 cat confdefs.h >>conftest.$ac_ext
25015 cat >>conftest.$ac_ext <<_ACEOF
25016 /* end confdefs.h. */
25018 /* DJGPP's wchar_t is now a keyword
in C
++ (still not C though
) */
25019 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
25020 # error "fake wchar_t"
25022 #ifdef HAVE_WCHAR_H
25024 # include <stddef.h>
25026 # include <wchar.h>
25028 #ifdef HAVE_STDLIB_H
25029 # include <stdlib.h>
25035 typedef wchar_t ac__type_new_
;
25039 if ((ac__type_new_
*) 0)
25041 if (sizeof
(ac__type_new_
))
25047 rm -f conftest.
$ac_objext
25048 if { (ac_try
="$ac_compile"
25049 case "(($ac_try" in
25050 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
25051 *) ac_try_echo=$ac_try;;
25053 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25054 (eval "$ac_compile") 2>conftest.er1
25056 grep -v '^ *+' conftest.er1 >conftest.err
25058 cat conftest.err >&5
25059 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25060 (exit $ac_status); } && {
25061 test -z "$ac_c_werror_flag" ||
25062 test ! -s conftest.err
25063 } && test -s conftest.$ac_objext; then
25064 ac_cv_type_wchar_t=yes
25066 echo "$as_me: failed program was:" >&5
25067 sed 's/^/| /' conftest.$ac_ext >&5
25069 ac_cv_type_wchar_t=no
25072 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25074 { echo "$as_me:$LINENO: result: $ac_cv_type_wchar_t" >&5
25075 echo "${ECHO_T}$ac_cv_type_wchar_t" >&6; }
25077 # The cast to long int works around a bug in the HP C Compiler
25078 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
25079 # declarations like `int a3
[[(sizeof
(unsigned char
)) >= 0]];'.
25080 # This bug is HP SR number 8606223364.
25081 { echo "$as_me:$LINENO: checking size of wchar_t" >&5
25082 echo $ECHO_N "checking size of wchar_t... $ECHO_C" >&6; }
25083 if test "${ac_cv_sizeof_wchar_t+set}" = set; then
25084 echo $ECHO_N "(cached) $ECHO_C" >&6
25086 if test "$cross_compiling" = yes; then
25087 # Depending upon the size, compute the lo and hi bounds.
25088 cat >conftest.$ac_ext <<_ACEOF
25091 cat confdefs.h >>conftest.$ac_ext
25092 cat >>conftest.$ac_ext <<_ACEOF
25093 /* end confdefs.h. */
25095 /* DJGPP's wchar_t is now a keyword
in C
++ (still not C though
) */
25096 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
25097 # error "fake wchar_t"
25099 #ifdef HAVE_WCHAR_H
25101 # include <stddef.h>
25103 # include <wchar.h>
25105 #ifdef HAVE_STDLIB_H
25106 # include <stdlib.h>
25112 typedef wchar_t ac__type_sizeof_
;
25116 static int test_array
[1 - 2 * !(((long int
) (sizeof
(ac__type_sizeof_
))) >= 0)];
25123 rm -f conftest.
$ac_objext
25124 if { (ac_try
="$ac_compile"
25125 case "(($ac_try" in
25126 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
25127 *) ac_try_echo=$ac_try;;
25129 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25130 (eval "$ac_compile") 2>conftest.er1
25132 grep -v '^ *+' conftest.er1 >conftest.err
25134 cat conftest.err >&5
25135 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25136 (exit $ac_status); } && {
25137 test -z "$ac_c_werror_flag" ||
25138 test ! -s conftest.err
25139 } && test -s conftest.$ac_objext; then
25142 cat >conftest.$ac_ext <<_ACEOF
25145 cat confdefs.h >>conftest.$ac_ext
25146 cat >>conftest.$ac_ext <<_ACEOF
25147 /* end confdefs.h. */
25149 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
25150 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
25151 # error "fake wchar_t"
25153 #ifdef HAVE_WCHAR_H
25155 # include <stddef.h>
25157 # include <wchar.h>
25159 #ifdef HAVE_STDLIB_H
25160 # include <stdlib.h>
25166 typedef wchar_t ac__type_sizeof_;
25170 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
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_hi
=$ac_mid; break
25196 echo "$as_me: failed program was:" >&5
25197 sed 's/^/| /' conftest.
$ac_ext >&5
25199 ac_lo
=`expr $ac_mid + 1`
25200 if test $ac_lo -le $ac_mid; then
25204 ac_mid
=`expr 2 '*' $ac_mid + 1`
25207 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
25210 echo "$as_me: failed program was:" >&5
25211 sed 's/^/| /' conftest.
$ac_ext >&5
25213 cat >conftest.
$ac_ext <<_ACEOF
25216 cat confdefs.h
>>conftest.
$ac_ext
25217 cat >>conftest.
$ac_ext <<_ACEOF
25218 /* end confdefs.h. */
25220 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
25221 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
25222 # error "fake wchar_t"
25224 #ifdef HAVE_WCHAR_H
25226 # include <stddef.h>
25228 # include <wchar.h>
25230 #ifdef HAVE_STDLIB_H
25231 # include <stdlib.h>
25237 typedef wchar_t ac__type_sizeof_;
25241 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
25248 rm -f conftest.
$ac_objext
25249 if { (ac_try
="$ac_compile"
25250 case "(($ac_try" in
25251 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
25252 *) ac_try_echo=$ac_try;;
25254 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25255 (eval "$ac_compile") 2>conftest.er1
25257 grep -v '^ *+' conftest.er1 >conftest.err
25259 cat conftest.err >&5
25260 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25261 (exit $ac_status); } && {
25262 test -z "$ac_c_werror_flag" ||
25263 test ! -s conftest.err
25264 } && test -s conftest.$ac_objext; then
25267 cat >conftest.$ac_ext <<_ACEOF
25270 cat confdefs.h >>conftest.$ac_ext
25271 cat >>conftest.$ac_ext <<_ACEOF
25272 /* end confdefs.h. */
25274 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
25275 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
25276 # error "fake wchar_t"
25278 #ifdef HAVE_WCHAR_H
25280 # include <stddef.h>
25282 # include <wchar.h>
25284 #ifdef HAVE_STDLIB_H
25285 # include <stdlib.h>
25291 typedef wchar_t ac__type_sizeof_;
25295 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
25302 rm -f conftest.$ac_objext
25303 if { (ac_try="$ac_compile"
25304 case "(($ac_try" in
25305 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
25306 *) ac_try_echo
=$ac_try;;
25308 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25309 (eval "$ac_compile") 2>conftest.er1
25311 grep -v '^ *+' conftest.er1
>conftest.err
25313 cat conftest.err
>&5
25314 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25315 (exit $ac_status); } && {
25316 test -z "$ac_c_werror_flag" ||
25317 test ! -s conftest.err
25318 } && test -s conftest.
$ac_objext; then
25319 ac_lo
=$ac_mid; break
25321 echo "$as_me: failed program was:" >&5
25322 sed 's/^/| /' conftest.
$ac_ext >&5
25324 ac_hi
=`expr '(' $ac_mid ')' - 1`
25325 if test $ac_mid -le $ac_hi; then
25329 ac_mid
=`expr 2 '*' $ac_mid`
25332 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
25335 echo "$as_me: failed program was:" >&5
25336 sed 's/^/| /' conftest.
$ac_ext >&5
25341 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
25344 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
25345 # Binary search between lo and hi bounds.
25346 while test "x$ac_lo" != "x$ac_hi"; do
25347 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
25348 cat >conftest.
$ac_ext <<_ACEOF
25351 cat confdefs.h
>>conftest.
$ac_ext
25352 cat >>conftest.
$ac_ext <<_ACEOF
25353 /* end confdefs.h. */
25355 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
25356 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
25357 # error "fake wchar_t"
25359 #ifdef HAVE_WCHAR_H
25361 # include <stddef.h>
25363 # include <wchar.h>
25365 #ifdef HAVE_STDLIB_H
25366 # include <stdlib.h>
25372 typedef wchar_t ac__type_sizeof_;
25376 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
25383 rm -f conftest.
$ac_objext
25384 if { (ac_try
="$ac_compile"
25385 case "(($ac_try" in
25386 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
25387 *) ac_try_echo=$ac_try;;
25389 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25390 (eval "$ac_compile") 2>conftest.er1
25392 grep -v '^ *+' conftest.er1 >conftest.err
25394 cat conftest.err >&5
25395 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25396 (exit $ac_status); } && {
25397 test -z "$ac_c_werror_flag" ||
25398 test ! -s conftest.err
25399 } && test -s conftest.$ac_objext; then
25402 echo "$as_me: failed program was:" >&5
25403 sed 's/^/| /' conftest.$ac_ext >&5
25405 ac_lo=`expr '(' $ac_mid ')' + 1`
25408 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25411 ?*) ac_cv_sizeof_wchar_t=$ac_lo;;
25412 '') if test "$ac_cv_type_wchar_t" = yes; then
25413 { { echo "$as_me:$LINENO: error: cannot compute sizeof (wchar_t)
25414 See \`config.log
' for more details." >&5
25415 echo "$as_me: error: cannot compute sizeof (wchar_t)
25416 See \`config.log' for more details.
" >&2;}
25417 { (exit 77); exit 77; }; }
25419 ac_cv_sizeof_wchar_t=0
25423 cat >conftest.$ac_ext <<_ACEOF
25426 cat confdefs.h >>conftest.$ac_ext
25427 cat >>conftest.$ac_ext <<_ACEOF
25428 /* end confdefs.h. */
25430 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
25431 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
25432 # error "fake wchar_t
"
25434 #ifdef HAVE_WCHAR_H
25436 # include <stddef.h>
25438 # include <wchar.h>
25440 #ifdef HAVE_STDLIB_H
25441 # include <stdlib.h>
25447 typedef wchar_t ac__type_sizeof_;
25448 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
25449 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
25451 #include <stdlib.h>
25456 FILE *f = fopen ("conftest.val
", "w
");
25459 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
25461 long int i = longval ();
25462 if (i != ((long int) (sizeof (ac__type_sizeof_))))
25464 fprintf (f, "%ld
\n", i);
25468 unsigned long int i = ulongval ();
25469 if (i != ((long int) (sizeof (ac__type_sizeof_))))
25471 fprintf (f, "%lu
\n", i);
25473 return ferror (f) || fclose (f) != 0;
25479 rm -f conftest$ac_exeext
25480 if { (ac_try="$ac_link"
25481 case "(($ac_try" in
25482 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25483 *) ac_try_echo=$ac_try;;
25485 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
25486 (eval "$ac_link") 2>&5
25488 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
25489 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
25490 { (case "(($ac_try" in
25491 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25492 *) ac_try_echo=$ac_try;;
25494 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
25495 (eval "$ac_try") 2>&5
25497 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
25498 (exit $ac_status); }; }; then
25499 ac_cv_sizeof_wchar_t=`cat conftest.val`
25501 echo "$as_me: program exited with status
$ac_status" >&5
25502 echo "$as_me: failed program was
:" >&5
25503 sed 's/^/| /' conftest.$ac_ext >&5
25505 ( exit $ac_status )
25506 if test "$ac_cv_type_wchar_t" = yes; then
25507 { { echo "$as_me:$LINENO: error
: cannot compute sizeof
(wchar_t
)
25508 See \
`config.log' for more details." >&5
25509 echo "$as_me: error: cannot compute sizeof (wchar_t)
25510 See \`config.log
' for more details." >&2;}
25511 { (exit 77); exit 77; }; }
25513 ac_cv_sizeof_wchar_t=0
25516 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
25520 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_wchar_t" >&5
25521 echo "${ECHO_T}$ac_cv_sizeof_wchar_t" >&6; }
25525 cat >>confdefs.h <<_ACEOF
25526 #define SIZEOF_WCHAR_T $ac_cv_sizeof_wchar_t
25530 if test "$ac_cv_sizeof_wchar_t" != "0"; then
25536 { echo "$as_me:$LINENO: checking for va_copy" >&5
25537 echo $ECHO_N "checking for va_copy... $ECHO_C" >&6; }
25538 if test "${wx_cv_func_va_copy+set}" = set; then
25539 echo $ECHO_N "(cached) $ECHO_C" >&6
25543 ac_cpp='$CXXCPP $CPPFLAGS'
25544 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
25545 ac_link='$CXX -o conftest
$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
25546 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25548 cat >conftest.$ac_ext <<_ACEOF
25550 #include <stdarg.h>
25551 void foo(char *f, ...)
25565 rm -f conftest.$ac_objext conftest$ac_exeext
25566 if { (ac_try="$ac_link"
25567 case "(($ac_try" in
25568 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25569 *) ac_try_echo=$ac_try;;
25571 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25572 (eval "$ac_link") 2>conftest.er1
25574 grep -v '^
*+' conftest.er1 >conftest.err
25576 cat conftest.err >&5
25577 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25578 (exit $ac_status); } && {
25579 test -z "$ac_cxx_werror_flag" ||
25580 test ! -s conftest.err
25581 } && test -s conftest$ac_exeext &&
25582 $as_test_x conftest$ac_exeext; then
25583 wx_cv_func_va_copy=yes
25585 echo "$as_me: failed program was:" >&5
25586 sed 's
/^
/| /' conftest.$ac_ext >&5
25588 wx_cv_func_va_copy=no
25592 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25593 conftest$ac_exeext conftest.$ac_ext
25595 ac_cpp='$CPP $CPPFLAGS'
25596 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
25597 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
25598 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25603 { echo "$as_me:$LINENO: result: $wx_cv_func_va_copy" >&5
25604 echo "${ECHO_T}$wx_cv_func_va_copy" >&6; }
25606 if test $wx_cv_func_va_copy = "yes"; then
25607 cat >>confdefs.h <<\_ACEOF
25608 #define HAVE_VA_COPY 1
25612 { echo "$as_me:$LINENO: checking if va_list can be copied by value" >&5
25613 echo $ECHO_N "checking if va_list can be copied by value... $ECHO_C" >&6; }
25614 if test "${wx_cv_type_va_list_lvalue+set}" = set; then
25615 echo $ECHO_N "(cached) $ECHO_C" >&6
25618 if test "$cross_compiling" = yes; then
25619 wx_cv_type_va_list_lvalue=yes
25622 cat >conftest.$ac_ext <<_ACEOF
25624 #include <stdarg.h>
25625 int foo(char *f, ...)
25630 if ( va_arg(ap1, int) != 17 || va_arg(ap2, int) != 17 )
25638 return foo("hi", 17);
25641 rm -f conftest$ac_exeext
25642 if { (ac_try="$ac_link"
25643 case "(($ac_try" in
25644 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25645 *) ac_try_echo=$ac_try;;
25647 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25648 (eval "$ac_link") 2>&5
25650 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25651 (exit $ac_status); } && { ac_try='.
/conftest
$ac_exeext'
25652 { (case "(($ac_try" in
25653 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25654 *) ac_try_echo=$ac_try;;
25656 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25657 (eval "$ac_try") 2>&5
25659 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25660 (exit $ac_status); }; }; then
25661 wx_cv_type_va_list_lvalue=yes
25663 echo "$as_me: program exited with status $ac_status" >&5
25664 echo "$as_me: failed program was:" >&5
25665 sed 's
/^
/| /' conftest.$ac_ext >&5
25667 ( exit $ac_status )
25668 wx_cv_type_va_list_lvalue=no
25670 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
25677 { echo "$as_me:$LINENO: result: $wx_cv_type_va_list_lvalue" >&5
25678 echo "${ECHO_T}$wx_cv_type_va_list_lvalue" >&6; }
25680 if test $wx_cv_type_va_list_lvalue != "yes"; then
25681 cat >>confdefs.h <<\_ACEOF
25682 #define VA_LIST_IS_ARRAY 1
25688 if test "$wxUSE_VARARG_MACROS" = "yes"; then
25690 { echo "$as_me:$LINENO: checking whether the compiler supports variadic macros" >&5
25691 echo $ECHO_N "checking whether the compiler supports variadic macros... $ECHO_C" >&6; }
25692 if test "${wx_cv_have_variadic_macros+set}" = set; then
25693 echo $ECHO_N "(cached) $ECHO_C" >&6
25697 ac_cpp='$CXXCPP $CPPFLAGS'
25698 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
25699 ac_link='$CXX -o conftest
$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
25700 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25702 cat >conftest.$ac_ext <<_ACEOF
25705 cat confdefs.h >>conftest.$ac_ext
25706 cat >>conftest.$ac_ext <<_ACEOF
25707 /* end confdefs.h. */
25710 #define test(fmt, ...) printf(fmt, __VA_ARGS__)
25716 test("%s %d %p", "test", 1, 0);
25723 rm -f conftest.$ac_objext
25724 if { (ac_try="$ac_compile"
25725 case "(($ac_try" in
25726 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25727 *) ac_try_echo=$ac_try;;
25729 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25730 (eval "$ac_compile") 2>conftest.er1
25732 grep -v '^
*+' conftest.er1 >conftest.err
25734 cat conftest.err >&5
25735 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25736 (exit $ac_status); } && {
25737 test -z "$ac_cxx_werror_flag" ||
25738 test ! -s conftest.err
25739 } && test -s conftest.$ac_objext; then
25740 wx_cv_have_variadic_macros=yes
25742 echo "$as_me: failed program was:" >&5
25743 sed 's
/^
/| /' conftest.$ac_ext >&5
25745 wx_cv_have_variadic_macros=no
25749 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25751 ac_cpp='$CPP $CPPFLAGS'
25752 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
25753 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
25754 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25759 { echo "$as_me:$LINENO: result: $wx_cv_have_variadic_macros" >&5
25760 echo "${ECHO_T}$wx_cv_have_variadic_macros" >&6; }
25762 if test $wx_cv_have_variadic_macros = "yes"; then
25763 cat >>confdefs.h <<\_ACEOF
25764 #define HAVE_VARIADIC_MACROS 1
25770 # Check whether --enable-largefile was given.
25771 if test "${enable_largefile+set}" = set; then
25772 enableval=$enable_largefile;
25775 if test "$enable_largefile" != no; then
25778 { echo "$as_me:$LINENO: checking for _FILE_OFFSET_BITS value needed for large files" >&5
25779 echo $ECHO_N "checking for _FILE_OFFSET_BITS value needed for large files... $ECHO_C" >&6; }
25780 if test "${ac_cv_sys_file_offset_bits+set}" = set; then
25781 echo $ECHO_N "(cached) $ECHO_C" >&6
25784 cat >conftest.$ac_ext <<_ACEOF
25787 cat confdefs.h >>conftest.$ac_ext
25788 cat >>conftest.$ac_ext <<_ACEOF
25789 /* end confdefs.h. */
25790 #define _FILE_OFFSET_BITS 64
25791 #include <sys/types.h>
25796 unsigned int field: sizeof(off_t) == 8;
25803 rm -f conftest.$ac_objext
25804 if { (ac_try="$ac_compile"
25805 case "(($ac_try" in
25806 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25807 *) ac_try_echo=$ac_try;;
25809 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25810 (eval "$ac_compile") 2>conftest.er1
25812 grep -v '^
*+' conftest.er1 >conftest.err
25814 cat conftest.err >&5
25815 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25816 (exit $ac_status); } && {
25817 test -z "$ac_c_werror_flag" ||
25818 test ! -s conftest.err
25819 } && test -s conftest.$ac_objext; then
25820 ac_cv_sys_file_offset_bits=64
25822 echo "$as_me: failed program was:" >&5
25823 sed 's
/^
/| /' conftest.$ac_ext >&5
25825 ac_cv_sys_file_offset_bits=no
25828 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25832 { echo "$as_me:$LINENO: result: $ac_cv_sys_file_offset_bits" >&5
25833 echo "${ECHO_T}$ac_cv_sys_file_offset_bits" >&6; }
25835 if test "$ac_cv_sys_file_offset_bits" != no; then
25837 cat >>confdefs.h <<_ACEOF
25838 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
25843 if test "x$wx_largefile" != "xyes"; then
25845 { echo "$as_me:$LINENO: checking for _LARGE_FILES value needed for large files" >&5
25846 echo $ECHO_N "checking for _LARGE_FILES value needed for large files... $ECHO_C" >&6; }
25847 if test "${ac_cv_sys_large_files+set}" = set; then
25848 echo $ECHO_N "(cached) $ECHO_C" >&6
25851 cat >conftest.$ac_ext <<_ACEOF
25854 cat confdefs.h >>conftest.$ac_ext
25855 cat >>conftest.$ac_ext <<_ACEOF
25856 /* end confdefs.h. */
25857 #define _LARGE_FILES 1
25858 #include <sys/types.h>
25863 unsigned int field: sizeof(off_t) == 8;
25870 rm -f conftest.$ac_objext
25871 if { (ac_try="$ac_compile"
25872 case "(($ac_try" in
25873 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25874 *) ac_try_echo=$ac_try;;
25876 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25877 (eval "$ac_compile") 2>conftest.er1
25879 grep -v '^
*+' conftest.er1 >conftest.err
25881 cat conftest.err >&5
25882 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25883 (exit $ac_status); } && {
25884 test -z "$ac_c_werror_flag" ||
25885 test ! -s conftest.err
25886 } && test -s conftest.$ac_objext; then
25887 ac_cv_sys_large_files=1
25889 echo "$as_me: failed program was:" >&5
25890 sed 's
/^
/| /' conftest.$ac_ext >&5
25892 ac_cv_sys_large_files=no
25895 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25899 { echo "$as_me:$LINENO: result: $ac_cv_sys_large_files" >&5
25900 echo "${ECHO_T}$ac_cv_sys_large_files" >&6; }
25902 if test "$ac_cv_sys_large_files" != no; then
25904 cat >>confdefs.h <<_ACEOF
25905 #define _LARGE_FILES $ac_cv_sys_large_files
25912 { echo "$as_me:$LINENO: checking if large file support is available" >&5
25913 echo $ECHO_N "checking if large file support is available... $ECHO_C" >&6; }
25914 if test "x$wx_largefile" = "xyes"; then
25915 cat >>confdefs.h <<\_ACEOF
25916 #define HAVE_LARGEFILE_SUPPORT 1
25920 { echo "$as_me:$LINENO: result: $wx_largefile" >&5
25921 echo "${ECHO_T}$wx_largefile" >&6; }
25925 if test "x$wx_largefile" = "xyes"; then
25926 if test "x$ac_cv_sys_file_offset_bits" = "x64"; then
25927 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES"
25929 if test "$USE_HPUX" = 1 -a "$GXX" = "yes"; then
25930 { echo "$as_me:$LINENO: checking if -D__STDC_EXT__ is required" >&5
25931 echo $ECHO_N "checking if -D__STDC_EXT__ is required... $ECHO_C" >&6; }
25932 if test "${wx_cv_STDC_EXT_required+set}" = set; then
25933 echo $ECHO_N "(cached) $ECHO_C" >&6
25937 ac_cpp='$CXXCPP $CPPFLAGS'
25938 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
25939 ac_link='$CXX -o conftest
$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
25940 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25942 cat >conftest.$ac_ext <<_ACEOF
25945 cat confdefs.h >>conftest.$ac_ext
25946 cat >>conftest.$ac_ext <<_ACEOF
25947 /* end confdefs.h. */
25953 #ifndef __STDC_EXT__
25961 rm -f conftest.$ac_objext
25962 if { (ac_try="$ac_compile"
25963 case "(($ac_try" in
25964 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25965 *) ac_try_echo=$ac_try;;
25967 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25968 (eval "$ac_compile") 2>conftest.er1
25970 grep -v '^
*+' conftest.er1 >conftest.err
25972 cat conftest.err >&5
25973 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25974 (exit $ac_status); } && {
25975 test -z "$ac_cxx_werror_flag" ||
25976 test ! -s conftest.err
25977 } && test -s conftest.$ac_objext; then
25978 wx_cv_STDC_EXT_required=no
25980 echo "$as_me: failed program was:" >&5
25981 sed 's
/^
/| /' conftest.$ac_ext >&5
25983 wx_cv_STDC_EXT_required=yes
25987 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25989 ac_cpp='$CPP $CPPFLAGS'
25990 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
25991 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
25992 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25997 { echo "$as_me:$LINENO: result: $wx_cv_STDC_EXT_required" >&5
25998 echo "${ECHO_T}$wx_cv_STDC_EXT_required" >&6; }
25999 if test "x$wx_cv_STDC_EXT_required" = "xyes"; then
26000 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -D__STDC_EXT__"
26004 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_LARGE_FILES"
26006 { echo "$as_me:$LINENO: checking for _LARGEFILE_SOURCE value needed for large files" >&5
26007 echo $ECHO_N "checking for _LARGEFILE_SOURCE value needed for large files... $ECHO_C" >&6; }
26008 if test "${ac_cv_sys_largefile_source+set}" = set; then
26009 echo $ECHO_N "(cached) $ECHO_C" >&6
26012 cat >conftest.$ac_ext <<_ACEOF
26015 cat confdefs.h >>conftest.$ac_ext
26016 cat >>conftest.$ac_ext <<_ACEOF
26017 /* end confdefs.h. */
26018 #include <sys/types.h> /* for off_t */
26023 int (*fp) (FILE *, off_t, int) = fseeko;
26024 return fseeko (stdin, 0, 0) && fp (stdin, 0, 0);
26029 rm -f conftest.$ac_objext conftest$ac_exeext
26030 if { (ac_try="$ac_link"
26031 case "(($ac_try" in
26032 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26033 *) ac_try_echo=$ac_try;;
26035 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26036 (eval "$ac_link") 2>conftest.er1
26038 grep -v '^
*+' conftest.er1 >conftest.err
26040 cat conftest.err >&5
26041 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26042 (exit $ac_status); } && {
26043 test -z "$ac_c_werror_flag" ||
26044 test ! -s conftest.err
26045 } && test -s conftest$ac_exeext &&
26046 $as_test_x conftest$ac_exeext; then
26047 ac_cv_sys_largefile_source=no; break
26049 echo "$as_me: failed program was:" >&5
26050 sed 's
/^
/| /' conftest.$ac_ext >&5
26055 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26056 conftest$ac_exeext conftest.$ac_ext
26057 cat >conftest.$ac_ext <<_ACEOF
26060 cat confdefs.h >>conftest.$ac_ext
26061 cat >>conftest.$ac_ext <<_ACEOF
26062 /* end confdefs.h. */
26063 #define _LARGEFILE_SOURCE 1
26064 #include <sys/types.h> /* for off_t */
26069 int (*fp) (FILE *, off_t, int) = fseeko;
26070 return fseeko (stdin, 0, 0) && fp (stdin, 0, 0);
26075 rm -f conftest.$ac_objext conftest$ac_exeext
26076 if { (ac_try="$ac_link"
26077 case "(($ac_try" in
26078 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26079 *) ac_try_echo=$ac_try;;
26081 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26082 (eval "$ac_link") 2>conftest.er1
26084 grep -v '^
*+' conftest.er1 >conftest.err
26086 cat conftest.err >&5
26087 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26088 (exit $ac_status); } && {
26089 test -z "$ac_c_werror_flag" ||
26090 test ! -s conftest.err
26091 } && test -s conftest$ac_exeext &&
26092 $as_test_x conftest$ac_exeext; then
26093 ac_cv_sys_largefile_source=1; break
26095 echo "$as_me: failed program was:" >&5
26096 sed 's
/^
/| /' conftest.$ac_ext >&5
26101 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26102 conftest$ac_exeext conftest.$ac_ext
26103 ac_cv_sys_largefile_source=unknown
26107 { echo "$as_me:$LINENO: result: $ac_cv_sys_largefile_source" >&5
26108 echo "${ECHO_T}$ac_cv_sys_largefile_source" >&6; }
26109 case $ac_cv_sys_largefile_source in #(
26112 cat >>confdefs.h <<_ACEOF
26113 #define _LARGEFILE_SOURCE $ac_cv_sys_largefile_source
26119 # We used to try defining _XOPEN_SOURCE=500 too, to work around a bug
26120 # in glibc 2.1.3, but that breaks too many other things.
26121 # If you want fseeko and ftello with glibc, upgrade to a fixed glibc.
26122 if test $ac_cv_sys_largefile_source != unknown; then
26124 cat >>confdefs.h <<\_ACEOF
26125 #define HAVE_FSEEKO 1
26130 if test "$ac_cv_sys_largefile_source" != no; then
26131 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_LARGEFILE_SOURCE=$ac_cv_sys_largefile_source"
26135 { echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
26136 echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6; }
26137 if test "${ac_cv_c_bigendian+set}" = set; then
26138 echo $ECHO_N "(cached) $ECHO_C" >&6
26140 ac_cv_c_bigendian=unknown
26141 # See if sys/param.h defines the BYTE_ORDER macro.
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>
26149 #include <sys/param.h>
26154 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
26155 bogus endian macros
26161 rm -f conftest.$ac_objext
26162 if { (ac_try="$ac_compile"
26163 case "(($ac_try" in
26164 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26165 *) ac_try_echo=$ac_try;;
26167 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26168 (eval "$ac_compile") 2>conftest.er1
26170 grep -v '^
*+' conftest.er1 >conftest.err
26172 cat conftest.err >&5
26173 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26174 (exit $ac_status); } && {
26175 test -z "$ac_c_werror_flag" ||
26176 test ! -s conftest.err
26177 } && test -s conftest.$ac_objext; then
26178 # It does; now see whether it defined to BIG_ENDIAN or not.
26179 cat >conftest.$ac_ext <<_ACEOF
26182 cat confdefs.h >>conftest.$ac_ext
26183 cat >>conftest.$ac_ext <<_ACEOF
26184 /* end confdefs.h. */
26185 #include <sys/types.h>
26186 #include <sys/param.h>
26191 #if BYTE_ORDER != BIG_ENDIAN
26198 rm -f conftest.$ac_objext
26199 if { (ac_try="$ac_compile"
26200 case "(($ac_try" in
26201 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26202 *) ac_try_echo=$ac_try;;
26204 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26205 (eval "$ac_compile") 2>conftest.er1
26207 grep -v '^
*+' conftest.er1 >conftest.err
26209 cat conftest.err >&5
26210 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26211 (exit $ac_status); } && {
26212 test -z "$ac_c_werror_flag" ||
26213 test ! -s conftest.err
26214 } && test -s conftest.$ac_objext; then
26215 ac_cv_c_bigendian=yes
26217 echo "$as_me: failed program was:" >&5
26218 sed 's
/^
/| /' conftest.$ac_ext >&5
26220 ac_cv_c_bigendian=no
26223 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
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.$ac_ext
26232 if test $ac_cv_c_bigendian = unknown; then
26233 if test "$cross_compiling" = yes; then
26234 ac_cv_c_bigendian=unknown
26236 cat >conftest.$ac_ext <<_ACEOF
26239 cat confdefs.h >>conftest.$ac_ext
26240 cat >>conftest.$ac_ext <<_ACEOF
26241 /* end confdefs.h. */
26243 /* Are we little or big endian? From Harbison&Steele. */
26247 char c[sizeof (long)];
26250 exit (u.c[sizeof (long) - 1] == 1);
26253 rm -f conftest$ac_exeext
26254 if { (ac_try="$ac_link"
26255 case "(($ac_try" in
26256 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26257 *) ac_try_echo=$ac_try;;
26259 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26260 (eval "$ac_link") 2>&5
26262 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26263 (exit $ac_status); } && { ac_try='.
/conftest
$ac_exeext'
26264 { (case "(($ac_try" in
26265 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26266 *) ac_try_echo=$ac_try;;
26268 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26269 (eval "$ac_try") 2>&5
26271 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26272 (exit $ac_status); }; }; then
26273 ac_cv_c_bigendian=no
26275 echo "$as_me: program exited with status $ac_status" >&5
26276 echo "$as_me: failed program was:" >&5
26277 sed 's
/^
/| /' conftest.$ac_ext >&5
26279 ( exit $ac_status )
26280 ac_cv_c_bigendian=yes
26282 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
26288 { echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
26289 echo "${ECHO_T}$ac_cv_c_bigendian" >&6; }
26290 if test $ac_cv_c_bigendian = unknown; then
26291 { 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
26292 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;}
26294 if test $ac_cv_c_bigendian = yes; then
26295 cat >>confdefs.h <<\_ACEOF
26296 #define WORDS_BIGENDIAN 1
26305 ac_cpp='$CXXCPP $CPPFLAGS'
26306 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
26307 ac_link='$CXX -o conftest
$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
26308 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26312 for ac_header in iostream
26314 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
26315 { echo "$as_me:$LINENO: checking for $ac_header" >&5
26316 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
26317 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
26318 echo $ECHO_N "(cached) $ECHO_C" >&6
26320 cat >conftest.$ac_ext <<_ACEOF
26323 cat confdefs.h >>conftest.$ac_ext
26324 cat >>conftest.$ac_ext <<_ACEOF
26325 /* end confdefs.h. */
26328 #include <$ac_header>
26330 rm -f conftest.$ac_objext
26331 if { (ac_try="$ac_compile"
26332 case "(($ac_try" in
26333 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26334 *) ac_try_echo=$ac_try;;
26336 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26337 (eval "$ac_compile") 2>conftest.er1
26339 grep -v '^
*+' conftest.er1 >conftest.err
26341 cat conftest.err >&5
26342 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26343 (exit $ac_status); } && {
26344 test -z "$ac_cxx_werror_flag" ||
26345 test ! -s conftest.err
26346 } && test -s conftest.$ac_objext; then
26347 eval "$as_ac_Header=yes"
26349 echo "$as_me: failed program was:" >&5
26350 sed 's
/^
/| /' conftest.$ac_ext >&5
26352 eval "$as_ac_Header=no"
26355 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26357 ac_res=`eval echo '${'$as_ac_Header'}'`
26358 { echo "$as_me:$LINENO: result: $ac_res" >&5
26359 echo "${ECHO_T}$ac_res" >&6; }
26360 if test `eval echo '${'$as_ac_Header'}'` = yes; then
26361 cat >>confdefs.h <<_ACEOF
26362 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
26370 if test "$ac_cv_header_iostream" = "yes" ; then
26373 cat >>confdefs.h <<\_ACEOF
26374 #define wxUSE_IOSTREAMH 1
26380 ac_cpp='$CPP $CPPFLAGS'
26381 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
26382 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
26383 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26388 { echo "$as_me:$LINENO: checking if C++ compiler supports bool" >&5
26389 echo $ECHO_N "checking if C++ compiler supports bool... $ECHO_C" >&6; }
26390 if test "${wx_cv_cpp_bool+set}" = set; then
26391 echo $ECHO_N "(cached) $ECHO_C" >&6
26396 ac_cpp='$CXXCPP $CPPFLAGS'
26397 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
26398 ac_link='$CXX -o conftest
$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
26399 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26402 cat >conftest.$ac_ext <<_ACEOF
26405 cat confdefs.h >>conftest.$ac_ext
26406 cat >>conftest.$ac_ext <<_ACEOF
26407 /* end confdefs.h. */
26422 rm -f conftest.$ac_objext
26423 if { (ac_try="$ac_compile"
26424 case "(($ac_try" in
26425 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26426 *) ac_try_echo=$ac_try;;
26428 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26429 (eval "$ac_compile") 2>conftest.er1
26431 grep -v '^
*+' conftest.er1 >conftest.err
26433 cat conftest.err >&5
26434 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26435 (exit $ac_status); } && {
26436 test -z "$ac_cxx_werror_flag" ||
26437 test ! -s conftest.err
26438 } && test -s conftest.$ac_objext; then
26443 echo "$as_me: failed program was:" >&5
26444 sed 's
/^
/| /' conftest.$ac_ext >&5
26452 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26455 ac_cpp='$CPP $CPPFLAGS'
26456 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
26457 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
26458 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26462 { echo "$as_me:$LINENO: result: $wx_cv_cpp_bool" >&5
26463 echo "${ECHO_T}$wx_cv_cpp_bool" >&6; }
26465 if test "$wx_cv_cpp_bool" = "yes"; then
26466 cat >>confdefs.h <<\_ACEOF
26467 #define HAVE_BOOL 1
26474 { echo "$as_me:$LINENO: checking if C++ compiler supports the explicit keyword" >&5
26475 echo $ECHO_N "checking if C++ compiler supports the explicit keyword... $ECHO_C" >&6; }
26476 if test "${wx_cv_explicit+set}" = set; then
26477 echo $ECHO_N "(cached) $ECHO_C" >&6
26482 ac_cpp='$CXXCPP $CPPFLAGS'
26483 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
26484 ac_link='$CXX -o conftest
$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
26485 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26488 cat >conftest.$ac_ext <<_ACEOF
26491 cat confdefs.h >>conftest.$ac_ext
26492 cat >>conftest.$ac_ext <<_ACEOF
26493 /* end confdefs.h. */
26495 class Foo { public: explicit Foo(int) {} };
26507 rm -f conftest.$ac_objext
26508 if { (ac_try="$ac_compile"
26509 case "(($ac_try" in
26510 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26511 *) ac_try_echo=$ac_try;;
26513 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26514 (eval "$ac_compile") 2>conftest.er1
26516 grep -v '^
*+' conftest.er1 >conftest.err
26518 cat conftest.err >&5
26519 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26520 (exit $ac_status); } && {
26521 test -z "$ac_cxx_werror_flag" ||
26522 test ! -s conftest.err
26523 } && test -s conftest.$ac_objext; then
26525 cat >conftest.$ac_ext <<_ACEOF
26528 cat confdefs.h >>conftest.$ac_ext
26529 cat >>conftest.$ac_ext <<_ACEOF
26530 /* end confdefs.h. */
26532 class Foo { public: explicit Foo(int) {} };
26533 static void TakeFoo(const Foo& foo) { }
26546 rm -f conftest.$ac_objext
26547 if { (ac_try="$ac_compile"
26548 case "(($ac_try" in
26549 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26550 *) ac_try_echo=$ac_try;;
26552 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26553 (eval "$ac_compile") 2>conftest.er1
26555 grep -v '^
*+' conftest.er1 >conftest.err
26557 cat conftest.err >&5
26558 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26559 (exit $ac_status); } && {
26560 test -z "$ac_cxx_werror_flag" ||
26561 test ! -s conftest.err
26562 } && test -s conftest.$ac_objext; then
26565 echo "$as_me: failed program was:" >&5
26566 sed 's
/^
/| /' conftest.$ac_ext >&5
26572 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26575 echo "$as_me: failed program was:" >&5
26576 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_explicit" >&5
26593 echo "${ECHO_T}$wx_cv_explicit" >&6; }
26595 if test "$wx_cv_explicit" = "yes"; then
26596 cat >>confdefs.h <<\_ACEOF
26597 #define HAVE_EXPLICIT 1
26603 { echo "$as_me:$LINENO: checking whether the compiler supports const_cast<>" >&5
26604 echo $ECHO_N "checking whether the compiler supports const_cast<>... $ECHO_C" >&6; }
26605 if test "${ac_cv_cxx_const_cast+set}" = set; then
26606 echo $ECHO_N "(cached) $ECHO_C" >&6
26610 ac_cpp='$CXXCPP $CPPFLAGS'
26611 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
26612 ac_link='$CXX -o conftest
$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
26613 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26615 cat >conftest.$ac_ext <<_ACEOF
26618 cat confdefs.h >>conftest.$ac_ext
26619 cat >>conftest.$ac_ext <<_ACEOF
26620 /* end confdefs.h. */
26625 int x = 0;const int& y = x;int& z = const_cast<int&>(y);return z;
26630 rm -f conftest.$ac_objext
26631 if { (ac_try="$ac_compile"
26632 case "(($ac_try" in
26633 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26634 *) ac_try_echo=$ac_try;;
26636 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26637 (eval "$ac_compile") 2>conftest.er1
26639 grep -v '^
*+' conftest.er1 >conftest.err
26641 cat conftest.err >&5
26642 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26643 (exit $ac_status); } && {
26644 test -z "$ac_cxx_werror_flag" ||
26645 test ! -s conftest.err
26646 } && test -s conftest.$ac_objext; then
26647 ac_cv_cxx_const_cast=yes
26649 echo "$as_me: failed program was:" >&5
26650 sed 's
/^
/| /' conftest.$ac_ext >&5
26652 ac_cv_cxx_const_cast=no
26655 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26657 ac_cpp='$CPP $CPPFLAGS'
26658 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
26659 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
26660 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26664 { echo "$as_me:$LINENO: result: $ac_cv_cxx_const_cast" >&5
26665 echo "${ECHO_T}$ac_cv_cxx_const_cast" >&6; }
26666 if test "$ac_cv_cxx_const_cast" = yes; then
26668 cat >>confdefs.h <<\_ACEOF
26669 #define HAVE_CONST_CAST
26674 { echo "$as_me:$LINENO: checking whether the compiler supports reinterpret_cast<>" >&5
26675 echo $ECHO_N "checking whether the compiler supports reinterpret_cast<>... $ECHO_C" >&6; }
26676 if test "${ac_cv_cxx_reinterpret_cast+set}" = set; then
26677 echo $ECHO_N "(cached) $ECHO_C" >&6
26681 ac_cpp='$CXXCPP $CPPFLAGS'
26682 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
26683 ac_link='$CXX -o conftest
$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
26684 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26686 cat >conftest.$ac_ext <<_ACEOF
26689 cat confdefs.h >>conftest.$ac_ext
26690 cat >>conftest.$ac_ext <<_ACEOF
26691 /* end confdefs.h. */
26692 #include <typeinfo>
26693 class Base { public : Base () {} virtual void f () = 0;};
26694 class Derived : public Base { public : Derived () {} virtual void f () {} };
26695 class Unrelated { public : Unrelated () {} };
26696 int g (Unrelated&) { return 0; }
26701 Derived d;Base& b=d;Unrelated& e=reinterpret_cast<Unrelated&>(b);return g(e);
26706 rm -f conftest.$ac_objext
26707 if { (ac_try="$ac_compile"
26708 case "(($ac_try" in
26709 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26710 *) ac_try_echo=$ac_try;;
26712 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26713 (eval "$ac_compile") 2>conftest.er1
26715 grep -v '^
*+' conftest.er1 >conftest.err
26717 cat conftest.err >&5
26718 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26719 (exit $ac_status); } && {
26720 test -z "$ac_cxx_werror_flag" ||
26721 test ! -s conftest.err
26722 } && test -s conftest.$ac_objext; then
26723 ac_cv_cxx_reinterpret_cast=yes
26725 echo "$as_me: failed program was:" >&5
26726 sed 's
/^
/| /' conftest.$ac_ext >&5
26728 ac_cv_cxx_reinterpret_cast=no
26731 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26733 ac_cpp='$CPP $CPPFLAGS'
26734 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
26735 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
26736 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26740 { echo "$as_me:$LINENO: result: $ac_cv_cxx_reinterpret_cast" >&5
26741 echo "${ECHO_T}$ac_cv_cxx_reinterpret_cast" >&6; }
26742 if test "$ac_cv_cxx_reinterpret_cast" = yes; then
26744 cat >>confdefs.h <<\_ACEOF
26745 #define HAVE_REINTERPRET_CAST
26750 { echo "$as_me:$LINENO: checking whether the compiler supports static_cast<>" >&5
26751 echo $ECHO_N "checking whether the compiler supports static_cast<>... $ECHO_C" >&6; }
26752 if test "${ac_cv_cxx_static_cast+set}" = set; then
26753 echo $ECHO_N "(cached) $ECHO_C" >&6
26757 ac_cpp='$CXXCPP $CPPFLAGS'
26758 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
26759 ac_link='$CXX -o conftest
$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
26760 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26762 cat >conftest.$ac_ext <<_ACEOF
26765 cat confdefs.h >>conftest.$ac_ext
26766 cat >>conftest.$ac_ext <<_ACEOF
26767 /* end confdefs.h. */
26768 #include <typeinfo>
26769 class Base { public : Base () {} virtual void f () = 0; };
26770 class Derived : public Base { public : Derived () {} virtual void f () {} };
26771 int g (Derived&) { return 0; }
26776 Derived d; Base& b = d; Derived& s = static_cast<Derived&> (b); return g (s);
26781 rm -f conftest.$ac_objext
26782 if { (ac_try="$ac_compile"
26783 case "(($ac_try" in
26784 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26785 *) ac_try_echo=$ac_try;;
26787 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26788 (eval "$ac_compile") 2>conftest.er1
26790 grep -v '^
*+' conftest.er1 >conftest.err
26792 cat conftest.err >&5
26793 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26794 (exit $ac_status); } && {
26795 test -z "$ac_cxx_werror_flag" ||
26796 test ! -s conftest.err
26797 } && test -s conftest.$ac_objext; then
26798 ac_cv_cxx_static_cast=yes
26800 echo "$as_me: failed program was:" >&5
26801 sed 's
/^
/| /' conftest.$ac_ext >&5
26803 ac_cv_cxx_static_cast=no
26806 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26808 ac_cpp='$CPP $CPPFLAGS'
26809 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
26810 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
26811 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26815 { echo "$as_me:$LINENO: result: $ac_cv_cxx_static_cast" >&5
26816 echo "${ECHO_T}$ac_cv_cxx_static_cast" >&6; }
26817 if test "$ac_cv_cxx_static_cast" = yes; then
26819 cat >>confdefs.h <<\_ACEOF
26820 #define HAVE_STATIC_CAST
26826 if test "x$SUNCXX" = xyes; then
26827 CXXFLAGS="-features=tmplife $CXXFLAGS"
26830 if test "x$SUNCC" = xyes; then
26831 CFLAGS="-erroff=E_NO_EXPLICIT_TYPE_GIVEN $CFLAGS"
26834 if test "x$SGICC" = "xyes"; then
26835 CFLAGS="-woff 3970 $CFLAGS"
26837 if test "x$SGICXX" = "xyes"; then
26838 CXXFLAGS="-woff 3970 $CXXFLAGS"
26841 if test "x$HPCC" = "xyes"; then
26842 CFLAGS="+W 2011,2450 $CFLAGS"
26844 if test "x$HPCXX" = "xyes"; then
26845 CXXFLAGS="+W 2340 $CXXFLAGS"
26848 if test "x$COMPAQCXX" = "xyes"; then
26849 CXXFLAGS="-w0 -msg_disable basclsnondto,unrimpret,intconlosbit"
26853 ac_cpp='$CXXCPP $CPPFLAGS'
26854 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
26855 ac_link='$CXX -o conftest
$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
26856 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26859 if test "$wxUSE_STD_STRING" = "yes" -o "$wxUSE_STL" = "yes"; then
26860 if test "$wxUSE_UNICODE" = "yes"; then
26861 std_string="std::wstring"
26862 char_type="wchar_t"
26864 std_string="std::string"
26868 { echo "$as_me:$LINENO: checking for $std_string in <string>" >&5
26869 echo $ECHO_N "checking for $std_string in <string>... $ECHO_C" >&6; }
26870 if test "${wx_cv_class_stdstring+set}" = set; then
26871 echo $ECHO_N "(cached) $ECHO_C" >&6
26874 cat >conftest.$ac_ext <<_ACEOF
26877 cat confdefs.h >>conftest.$ac_ext
26878 cat >>conftest.$ac_ext <<_ACEOF
26879 /* end confdefs.h. */
26889 rm -f conftest.$ac_objext
26890 if { (ac_try="$ac_compile"
26891 case "(($ac_try" in
26892 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26893 *) ac_try_echo=$ac_try;;
26895 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26896 (eval "$ac_compile") 2>conftest.er1
26898 grep -v '^
*+' conftest.er1 >conftest.err
26900 cat conftest.err >&5
26901 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26902 (exit $ac_status); } && {
26903 test -z "$ac_cxx_werror_flag" ||
26904 test ! -s conftest.err
26905 } && test -s conftest.$ac_objext; then
26906 wx_cv_class_stdstring=yes
26908 echo "$as_me: failed program was:" >&5
26909 sed 's
/^
/| /' conftest.$ac_ext >&5
26911 wx_cv_class_stdstring=no
26915 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26919 { echo "$as_me:$LINENO: result: $wx_cv_class_stdstring" >&5
26920 echo "${ECHO_T}$wx_cv_class_stdstring" >&6; }
26922 if test "$wx_cv_class_stdstring" = yes; then
26923 if test "$wxUSE_UNICODE" = "yes"; then
26924 cat >>confdefs.h <<\_ACEOF
26925 #define HAVE_STD_WSTRING 1
26930 { echo "$as_me:$LINENO: checking if std::basic_string<$char_type> works" >&5
26931 echo $ECHO_N "checking if std::basic_string<$char_type> works... $ECHO_C" >&6; }
26932 if test "${wx_cv_class_stdbasicstring+set}" = set; then
26933 echo $ECHO_N "(cached) $ECHO_C" >&6
26936 cat >conftest.$ac_ext <<_ACEOF
26939 cat confdefs.h >>conftest.$ac_ext
26940 cat >>conftest.$ac_ext <<_ACEOF
26941 /* end confdefs.h. */
26943 #ifdef HAVE_WCHAR_H
26945 # include <stddef.h>
26947 # include <wchar.h>
26949 #ifdef HAVE_STDLIB_H
26950 # include <stdlib.h>
26958 std::basic_string<$char_type> foo;
26959 const $char_type* dummy = foo.c_str();
26964 rm -f conftest.$ac_objext
26965 if { (ac_try="$ac_compile"
26966 case "(($ac_try" in
26967 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26968 *) ac_try_echo=$ac_try;;
26970 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26971 (eval "$ac_compile") 2>conftest.er1
26973 grep -v '^
*+' conftest.er1 >conftest.err
26975 cat conftest.err >&5
26976 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26977 (exit $ac_status); } && {
26978 test -z "$ac_cxx_werror_flag" ||
26979 test ! -s conftest.err
26980 } && test -s conftest.$ac_objext; then
26981 wx_cv_class_stdbasicstring=yes
26983 echo "$as_me: failed program was:" >&5
26984 sed 's
/^
/| /' conftest.$ac_ext >&5
26986 wx_cv_class_stdbasicstring=no
26990 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26994 { echo "$as_me:$LINENO: result: $wx_cv_class_stdbasicstring" >&5
26995 echo "${ECHO_T}$wx_cv_class_stdbasicstring" >&6; }
26997 if test "$wx_cv_class_stdbasicstring" != yes; then
26998 if test "$wxUSE_STL" = "yes"; then
26999 { { echo "$as_me:$LINENO: error: Can't use
--enable-stl without
$std_string or std
::basic_string
<$char_type>" >&5
27000 echo "$as_me: error
: Can
't use --enable-stl without $std_string or std::basic_string<$char_type>" >&2;}
27001 { (exit 1); exit 1; }; }
27002 elif grep wxUSE_STD_STRING $wx_arg_cache_file >/dev/null; then
27003 { { echo "$as_me:$LINENO: error: Can't use
--enable-std_string without
$std_string or std
::basic_string
<$char_type>" >&5
27004 echo "$as_me: error
: Can
't use --enable-std_string without $std_string or std::basic_string<$char_type>" >&2;}
27005 { (exit 1); exit 1; }; }
27007 { echo "$as_me:$LINENO: WARNING: No $std_string or std::basic_string<$char_type>, switching to --disable-std_string" >&5
27008 echo "$as_me: WARNING: No $std_string or std::basic_string<$char_type>, switching to --disable-std_string" >&2;}
27009 wxUSE_STD_STRING=no
27015 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
27016 { echo "$as_me:$LINENO: checking for std::istream" >&5
27017 echo $ECHO_N "checking for std::istream... $ECHO_C" >&6; }
27018 if test "${ac_cv_type_std__istream+set}" = set; then
27019 echo $ECHO_N "(cached) $ECHO_C" >&6
27021 cat >conftest.$ac_ext <<_ACEOF
27024 cat confdefs.h >>conftest.$ac_ext
27025 cat >>conftest.$ac_ext <<_ACEOF
27026 /* end confdefs.h. */
27027 #include <iostream>
27029 typedef std::istream ac__type_new_;
27033 if ((ac__type_new_ *) 0)
27035 if (sizeof (ac__type_new_))
27041 rm -f conftest.$ac_objext
27042 if { (ac_try="$ac_compile"
27043 case "(($ac_try" in
27044 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27045 *) ac_try_echo=$ac_try;;
27047 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27048 (eval "$ac_compile") 2>conftest.er1
27050 grep -v '^
*+' conftest.er1 >conftest.err
27052 cat conftest.err >&5
27053 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27054 (exit $ac_status); } && {
27055 test -z "$ac_cxx_werror_flag" ||
27056 test ! -s conftest.err
27057 } && test -s conftest.$ac_objext; then
27058 ac_cv_type_std__istream=yes
27060 echo "$as_me: failed program was:" >&5
27061 sed 's
/^
/| /' conftest.$ac_ext >&5
27063 ac_cv_type_std__istream=no
27066 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27068 { echo "$as_me:$LINENO: result: $ac_cv_type_std__istream" >&5
27069 echo "${ECHO_T}$ac_cv_type_std__istream" >&6; }
27070 if test $ac_cv_type_std__istream = yes; then
27072 cat >>confdefs.h <<_ACEOF
27073 #define HAVE_STD__ISTREAM 1
27078 wxUSE_STD_IOSTREAM=no
27080 { echo "$as_me:$LINENO: checking for std::ostream" >&5
27081 echo $ECHO_N "checking for std::ostream... $ECHO_C" >&6; }
27082 if test "${ac_cv_type_std__ostream+set}" = set; then
27083 echo $ECHO_N "(cached) $ECHO_C" >&6
27085 cat >conftest.$ac_ext <<_ACEOF
27088 cat confdefs.h >>conftest.$ac_ext
27089 cat >>conftest.$ac_ext <<_ACEOF
27090 /* end confdefs.h. */
27091 #include <iostream>
27093 typedef std::ostream ac__type_new_;
27097 if ((ac__type_new_ *) 0)
27099 if (sizeof (ac__type_new_))
27105 rm -f conftest.$ac_objext
27106 if { (ac_try="$ac_compile"
27107 case "(($ac_try" in
27108 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27109 *) ac_try_echo=$ac_try;;
27111 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27112 (eval "$ac_compile") 2>conftest.er1
27114 grep -v '^
*+' conftest.er1 >conftest.err
27116 cat conftest.err >&5
27117 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27118 (exit $ac_status); } && {
27119 test -z "$ac_cxx_werror_flag" ||
27120 test ! -s conftest.err
27121 } && test -s conftest.$ac_objext; then
27122 ac_cv_type_std__ostream=yes
27124 echo "$as_me: failed program was:" >&5
27125 sed 's
/^
/| /' conftest.$ac_ext >&5
27127 ac_cv_type_std__ostream=no
27130 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27132 { echo "$as_me:$LINENO: result: $ac_cv_type_std__ostream" >&5
27133 echo "${ECHO_T}$ac_cv_type_std__ostream" >&6; }
27134 if test $ac_cv_type_std__ostream = yes; then
27136 cat >>confdefs.h <<_ACEOF
27137 #define HAVE_STD__OSTREAM 1
27142 wxUSE_STD_IOSTREAM=no
27146 if test "$wxUSE_STD_IOSTREAM" != "yes"; then
27147 if grep wxUSE_STD_IOSTREAM $wx_arg_cache_file >/dev/null; then
27148 { { echo "$as_me:$LINENO: error: Can't use
--enable-std_iostreams without std
::istream and std
::ostream
" >&5
27149 echo "$as_me: error
: Can
't use --enable-std_iostreams without std::istream and std::ostream" >&2;}
27150 { (exit 1); exit 1; }; }
27152 { echo "$as_me:$LINENO: WARNING: No std::iostreams, switching to --disable-std_iostreams" >&5
27153 echo "$as_me: WARNING: No std::iostreams, switching to --disable-std_iostreams" >&2;}
27158 if test "$wxUSE_STL" = "yes"; then
27159 { echo "$as_me:$LINENO: checking for basic STL functionality" >&5
27160 echo $ECHO_N "checking for basic STL functionality... $ECHO_C" >&6; }
27161 if test "${wx_cv_lib_stl+set}" = set; then
27162 echo $ECHO_N "(cached) $ECHO_C" >&6
27164 cat >conftest.$ac_ext <<_ACEOF
27167 cat confdefs.h >>conftest.$ac_ext
27168 cat >>conftest.$ac_ext <<_ACEOF
27169 /* end confdefs.h. */
27171 #include <functional>
27172 #include <algorithm>
27178 std::vector<int> moo;
27179 std::list<int> foo;
27180 std::vector<int>::iterator it =
27181 std::find_if(moo.begin(), moo.end(),
27182 std::bind2nd(std::less<int>(), 3));
27187 rm -f conftest.$ac_objext
27188 if { (ac_try="$ac_compile"
27189 case "(($ac_try" in
27190 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27191 *) ac_try_echo=$ac_try;;
27193 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27194 (eval "$ac_compile") 2>conftest.er1
27196 grep -v '^
*+' conftest.er1 >conftest.err
27198 cat conftest.err >&5
27199 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27200 (exit $ac_status); } && {
27201 test -z "$ac_cxx_werror_flag" ||
27202 test ! -s conftest.err
27203 } && test -s conftest.$ac_objext; then
27206 echo "$as_me: failed program was:" >&5
27207 sed 's
/^
/| /' conftest.$ac_ext >&5
27213 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27216 { echo "$as_me:$LINENO: result: $wx_cv_lib_stl" >&5
27217 echo "${ECHO_T}$wx_cv_lib_stl" >&6; }
27219 if test "$wx_cv_lib_stl" != yes; then
27220 { { echo "$as_me:$LINENO: error: Can't use
--enable-stl as basic STL functionality is missing
" >&5
27221 echo "$as_me: error
: Can
't use --enable-stl as basic STL functionality is missing" >&2;}
27222 { (exit 1); exit 1; }; }
27225 { echo "$as_me:$LINENO: checking for compliant std::string::compare" >&5
27226 echo $ECHO_N "checking for compliant std::string::compare... $ECHO_C" >&6; }
27227 if test "${wx_cv_func_stdstring_compare+set}" = set; then
27228 echo $ECHO_N "(cached) $ECHO_C" >&6
27230 cat >conftest.$ac_ext <<_ACEOF
27233 cat confdefs.h >>conftest.$ac_ext
27234 cat >>conftest.$ac_ext <<_ACEOF
27235 /* end confdefs.h. */
27240 std::string foo, bar;
27242 foo.compare(1, 1, bar);
27243 foo.compare(1, 1, bar, 1, 1);
27245 foo.compare(1, 1, "");
27246 foo.compare(1, 1, "", 2);
27251 rm -f conftest.$ac_objext
27252 if { (ac_try="$ac_compile"
27253 case "(($ac_try" in
27254 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27255 *) ac_try_echo=$ac_try;;
27257 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27258 (eval "$ac_compile") 2>conftest.er1
27260 grep -v '^
*+' conftest.er1 >conftest.err
27262 cat conftest.err >&5
27263 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27264 (exit $ac_status); } && {
27265 test -z "$ac_cxx_werror_flag" ||
27266 test ! -s conftest.err
27267 } && test -s conftest.$ac_objext; then
27268 wx_cv_func_stdstring_compare=yes
27270 echo "$as_me: failed program was:" >&5
27271 sed 's
/^
/| /' conftest.$ac_ext >&5
27273 wx_cv_func_stdstring_compare=no
27277 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27280 { echo "$as_me:$LINENO: result: $wx_cv_func_stdstring_compare" >&5
27281 echo "${ECHO_T}$wx_cv_func_stdstring_compare" >&6; }
27283 if test "$wx_cv_func_stdstring_compare" = yes; then
27284 cat >>confdefs.h <<\_ACEOF
27285 #define HAVE_STD_STRING_COMPARE 1
27290 { echo "$as_me:$LINENO: checking for hash_map" >&5
27291 echo $ECHO_N "checking for hash_map... $ECHO_C" >&6; }
27292 if test "${ac_cv_header_hash_map+set}" = set; then
27293 echo $ECHO_N "(cached) $ECHO_C" >&6
27295 cat >conftest.$ac_ext <<_ACEOF
27298 cat confdefs.h >>conftest.$ac_ext
27299 cat >>conftest.$ac_ext <<_ACEOF
27300 /* end confdefs.h. */
27304 #include <hash_map>
27306 rm -f conftest.$ac_objext
27307 if { (ac_try="$ac_compile"
27308 case "(($ac_try" in
27309 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27310 *) ac_try_echo=$ac_try;;
27312 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27313 (eval "$ac_compile") 2>conftest.er1
27315 grep -v '^
*+' conftest.er1 >conftest.err
27317 cat conftest.err >&5
27318 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27319 (exit $ac_status); } && {
27320 test -z "$ac_cxx_werror_flag" ||
27321 test ! -s conftest.err
27322 } && test -s conftest.$ac_objext; then
27323 ac_cv_header_hash_map=yes
27325 echo "$as_me: failed program was:" >&5
27326 sed 's
/^
/| /' conftest.$ac_ext >&5
27328 ac_cv_header_hash_map=no
27331 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27333 { echo "$as_me:$LINENO: result: $ac_cv_header_hash_map" >&5
27334 echo "${ECHO_T}$ac_cv_header_hash_map" >&6; }
27335 if test $ac_cv_header_hash_map = yes; then
27336 { echo "$as_me:$LINENO: checking for standard hash_map and hash_set" >&5
27337 echo $ECHO_N "checking for standard hash_map and hash_set... $ECHO_C" >&6; }
27338 if test "${wx_cv_class_stdhashmapset+set}" = set; then
27339 echo $ECHO_N "(cached) $ECHO_C" >&6
27341 cat >conftest.$ac_ext <<_ACEOF
27344 cat confdefs.h >>conftest.$ac_ext
27345 cat >>conftest.$ac_ext <<_ACEOF
27346 /* end confdefs.h. */
27347 #include <hash_map>
27348 #include <hash_set>
27352 std::hash_map<double*, char*, std::hash<double*>, std::equal_to<double*> > test1;
27353 std::hash_set<char*, std::hash<char*>, std::equal_to<char*> > test2;
27358 rm -f conftest.$ac_objext
27359 if { (ac_try="$ac_compile"
27360 case "(($ac_try" in
27361 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27362 *) ac_try_echo=$ac_try;;
27364 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27365 (eval "$ac_compile") 2>conftest.er1
27367 grep -v '^
*+' conftest.er1 >conftest.err
27369 cat conftest.err >&5
27370 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27371 (exit $ac_status); } && {
27372 test -z "$ac_cxx_werror_flag" ||
27373 test ! -s conftest.err
27374 } && test -s conftest.$ac_objext; then
27375 wx_cv_class_stdhashmapset=yes
27377 echo "$as_me: failed program was:" >&5
27378 sed 's
/^
/| /' conftest.$ac_ext >&5
27380 wx_cv_class_stdhashmapset=no
27383 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27387 { echo "$as_me:$LINENO: result: $wx_cv_class_stdhashmapset" >&5
27388 echo "${ECHO_T}$wx_cv_class_stdhashmapset" >&6; }
27393 if test "$wx_cv_class_stdhashmapset" = yes; then
27394 cat >>confdefs.h <<\_ACEOF
27395 #define HAVE_HASH_MAP 1
27398 cat >>confdefs.h <<\_ACEOF
27399 #define HAVE_STD_HASH_MAP 1
27404 { echo "$as_me:$LINENO: checking for ext/hash_map" >&5
27405 echo $ECHO_N "checking for ext/hash_map... $ECHO_C" >&6; }
27406 if test "${ac_cv_header_ext_hash_map+set}" = set; then
27407 echo $ECHO_N "(cached) $ECHO_C" >&6
27409 cat >conftest.$ac_ext <<_ACEOF
27412 cat confdefs.h >>conftest.$ac_ext
27413 cat >>conftest.$ac_ext <<_ACEOF
27414 /* end confdefs.h. */
27418 #include <ext/hash_map>
27420 rm -f conftest.$ac_objext
27421 if { (ac_try="$ac_compile"
27422 case "(($ac_try" in
27423 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27424 *) ac_try_echo=$ac_try;;
27426 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27427 (eval "$ac_compile") 2>conftest.er1
27429 grep -v '^
*+' conftest.er1 >conftest.err
27431 cat conftest.err >&5
27432 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27433 (exit $ac_status); } && {
27434 test -z "$ac_cxx_werror_flag" ||
27435 test ! -s conftest.err
27436 } && test -s conftest.$ac_objext; then
27437 ac_cv_header_ext_hash_map=yes
27439 echo "$as_me: failed program was:" >&5
27440 sed 's
/^
/| /' conftest.$ac_ext >&5
27442 ac_cv_header_ext_hash_map=no
27445 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27447 { echo "$as_me:$LINENO: result: $ac_cv_header_ext_hash_map" >&5
27448 echo "${ECHO_T}$ac_cv_header_ext_hash_map" >&6; }
27449 if test $ac_cv_header_ext_hash_map = yes; then
27450 { echo "$as_me:$LINENO: checking for GNU hash_map and hash_set" >&5
27451 echo $ECHO_N "checking for GNU hash_map and hash_set... $ECHO_C" >&6; }
27452 if test "${wx_cv_class_gnuhashmapset+set}" = set; then
27453 echo $ECHO_N "(cached) $ECHO_C" >&6
27455 cat >conftest.$ac_ext <<_ACEOF
27458 cat confdefs.h >>conftest.$ac_ext
27459 cat >>conftest.$ac_ext <<_ACEOF
27460 /* end confdefs.h. */
27461 #include <ext/hash_map>
27462 #include <ext/hash_set>
27466 __gnu_cxx::hash_map<double*, char*, __gnu_cxx::hash<double*>, std::equal_to<double*> > test1;
27467 __gnu_cxx::hash_set<char*, __gnu_cxx::hash<char*>, std::equal_to<char*> > test2;
27472 rm -f conftest.$ac_objext
27473 if { (ac_try="$ac_compile"
27474 case "(($ac_try" in
27475 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27476 *) ac_try_echo=$ac_try;;
27478 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27479 (eval "$ac_compile") 2>conftest.er1
27481 grep -v '^
*+' conftest.er1 >conftest.err
27483 cat conftest.err >&5
27484 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27485 (exit $ac_status); } && {
27486 test -z "$ac_cxx_werror_flag" ||
27487 test ! -s conftest.err
27488 } && test -s conftest.$ac_objext; then
27489 wx_cv_class_gnuhashmapset=yes
27491 echo "$as_me: failed program was:" >&5
27492 sed 's
/^
/| /' conftest.$ac_ext >&5
27494 wx_cv_class_gnuhashmapset=no
27497 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27501 { echo "$as_me:$LINENO: result: $wx_cv_class_gnuhashmapset" >&5
27502 echo "${ECHO_T}$wx_cv_class_gnuhashmapset" >&6; }
27507 if test "$wx_cv_class_gnuhashmapset" = yes; then
27508 cat >>confdefs.h <<\_ACEOF
27509 #define HAVE_EXT_HASH_MAP 1
27512 cat >>confdefs.h <<\_ACEOF
27513 #define HAVE_GNU_CXX_HASH_MAP 1
27520 ac_cpp='$CPP $CPPFLAGS'
27521 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
27522 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
27523 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27528 /usr/local/include \
27530 /usr/Motif-2.1/include \
27531 /usr/Motif-1.2/include \
27532 /usr/include/Motif1.2 \
27535 /usr/openwin/include \
27539 /usr/X11R6/include \
27540 /usr/X11R6.4/include \
27541 /usr/X11R5/include \
27542 /usr/X11R4/include \
27544 /usr/include/X11R6 \
27545 /usr/include/X11R5 \
27546 /usr/include/X11R4 \
27548 /usr/local/X11R6/include \
27549 /usr/local/X11R5/include \
27550 /usr/local/X11R4/include \
27552 /usr/local/include/X11R6 \
27553 /usr/local/include/X11R5 \
27554 /usr/local/include/X11R4 \
27558 /usr/local/X11/include \
27559 /usr/local/include/X11 \
27561 /usr/XFree86/include/X11 \
27564 /usr/openwin/share/include"
27566 { echo "$as_me:$LINENO: checking for libraries directory" >&5
27567 echo $ECHO_N "checking for libraries directory... $ECHO_C" >&6; }
27571 if test "${wx_cv_std_libpath+set}" = set; then
27572 echo $ECHO_N "(cached) $ECHO_C" >&6
27575 for d in /usr/lib /usr/lib32 /usr/lib/64 /usr/lib64; do
27576 for e in a so sl dylib dll.a; do
27578 if test -f $libc; then
27581 cat >conftest.$ac_ext <<_ACEOF
27582 int main() { return 0; }
27584 rm -f conftest.$ac_objext conftest$ac_exeext
27585 if { (ac_try="$ac_link"
27586 case "(($ac_try" in
27587 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27588 *) ac_try_echo=$ac_try;;
27590 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27591 (eval "$ac_link") 2>conftest.er1
27593 grep -v '^
*+' conftest.er1 >conftest.err
27595 cat conftest.err >&5
27596 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27597 (exit $ac_status); } && {
27598 test -z "$ac_c_werror_flag" ||
27599 test ! -s conftest.err
27600 } && test -s conftest$ac_exeext &&
27601 $as_test_x conftest$ac_exeext; then
27602 wx_cv_std_libpath=`echo $d | sed s@/usr/@@`
27604 echo "$as_me: failed program was:" >&5
27605 sed 's
/^
/| /' conftest.$ac_ext >&5
27610 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27611 conftest$ac_exeext conftest.$ac_ext
27613 if test "x$wx_cv_std_libpath" != "x"; then
27619 if test "x$wx_cv_std_libpath" = "x"; then
27620 wx_cv_std_libpath="lib"
27629 if test "$ac_cv_sizeof_void_p" = 8 -a -d "/usr/lib/64"; then
27630 wx_cv_std_libpath="lib/64"
27632 wx_cv_std_libpath="lib"
27637 if test "$ac_cv_sizeof_void_p" = 8 -a \
27638 -d "/usr/lib64" -a ! -h "/usr/lib64"; then
27639 wx_cv_std_libpath="lib64"
27641 wx_cv_std_libpath="lib"
27646 wx_cv_std_libpath="lib";
27650 { echo "$as_me:$LINENO: result: $wx_cv_std_libpath" >&5
27651 echo "${ECHO_T}$wx_cv_std_libpath" >&6; }
27653 SEARCH_LIB="`echo "$SEARCH_INCLUDE" | sed s@include@$wx_cv_std_libpath@g` /usr/$wx_cv_std_libpath"
27655 if test "$build" != "$host" -a "$GCC" = yes; then
27656 if cross_root=`$CC -print-prog-name=ld 2>/dev/null`; then
27657 cross_root=`dirname $cross_root`
27658 cross_root=`dirname $cross_root`
27660 SEARCH_LIB=`for x in $SEARCH_LIB; do echo $x; done | sed -ne "s|^/usr|$cross_root|p"`
27661 SEARCH_INCLUDE=`for x in $SEARCH_INCLUDE; do echo $x; done | sed -ne "s|^/usr|$cross_root|p"`
27662 SEARCH_INCLUDE="$SEARCH_INCLUDE $cross_root/include"
27664 if test -z "$PKG_CONFIG_PATH"; then
27665 PKG_CONFIG_PATH="$cross_root/local/lib/pkgconfig:$cross_root/lib/pkgconfig"
27666 export PKG_CONFIG_PATH
27669 if test -z "$x_includes" -o "$x_includes" = NONE; then
27672 for ac_dir in $SEARCH_INCLUDE /usr/include;
27674 if test -f "$ac_dir/X11/Intrinsic.h"; then
27675 ac_find_includes=$ac_dir
27680 x_includes=$ac_find_includes
27682 if test -z "$x_libraries" -o "$x_libraries" = NONE; then
27685 for ac_dir in $SEARCH_LIB;
27687 for ac_extension in a so sl dylib dll.a; do
27688 if test -f "$ac_dir/libXt.$ac_extension"; then
27689 ac_find_libraries=$ac_dir
27695 x_libraries=$ac_find_libraries
27701 cat >confcache <<\_ACEOF
27702 # This file is a shell script that caches the results of configure
27703 # tests run on this system so they can be shared between configure
27704 # scripts and configure runs, see configure's option
--config-cache.
27705 # It is not useful on other systems. If it contains results you don't
27706 # want to keep, you may remove or edit it.
27708 # config.status only pays attention to the cache file if you give it
27709 # the --recheck option to rerun configure.
27711 # `ac_cv_env_foo' variables (set or unset) will be overridden when
27712 # loading this file, other *unset* `ac_cv_foo' will be assigned the
27713 # following values.
27717 # The following way of writing the cache mishandles newlines in values,
27718 # but we know of no workaround that is simple, portable, and efficient.
27719 # So, we kill variables containing newlines.
27720 # Ultrix sh set writes to stderr and can't be redirected directly,
27721 # and sets the high bit in the cache file unless we assign to the vars.
27723 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
27724 eval ac_val
=\$
$ac_var
27728 *_cv_
*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
27729 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
27732 _
| IFS
| as_nl
) ;; #(
27733 *) $as_unset $ac_var ;;
27739 case $as_nl`(ac_space=' '; set) 2>&1` in #(
27740 *${as_nl}ac_space
=\
*)
27741 # `set' does not quote correctly, so add quotes (double-quote
27742 # substitution turns \\\\ into \\, and sed turns \\ into \).
27745 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
27748 # `set' quotes correctly as required by POSIX, so do not add quotes.
27749 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
27758 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
27760 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
27762 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
27763 if test -w "$cache_file"; then
27764 test "x$cache_file" != "x/dev/null" &&
27765 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
27766 echo "$as_me: updating cache $cache_file" >&6;}
27767 cat confcache
>$cache_file
27769 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
27770 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
27775 if test "$USE_LINUX" = 1 -o "$USE_GNU" = 1; then
27776 { echo "$as_me:$LINENO: checking for glibc 2.1 or later" >&5
27777 echo $ECHO_N "checking for glibc 2.1 or later... $ECHO_C" >&6; }
27778 if test "${wx_cv_lib_glibc21+set}" = set; then
27779 echo $ECHO_N "(cached) $ECHO_C" >&6
27782 cat >conftest.
$ac_ext <<_ACEOF
27785 cat confdefs.h
>>conftest.
$ac_ext
27786 cat >>conftest.
$ac_ext <<_ACEOF
27787 /* end confdefs.h. */
27788 #include <features.h>
27793 #if (__GLIBC__ < 2) || (__GLIBC_MINOR__ < 1)
27801 rm -f conftest.
$ac_objext
27802 if { (ac_try
="$ac_compile"
27803 case "(($ac_try" in
27804 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
27805 *) ac_try_echo=$ac_try;;
27807 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27808 (eval "$ac_compile") 2>conftest.er1
27810 grep -v '^ *+' conftest.er1 >conftest.err
27812 cat conftest.err >&5
27813 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27814 (exit $ac_status); } && {
27815 test -z "$ac_c_werror_flag" ||
27816 test ! -s conftest.err
27817 } && test -s conftest.$ac_objext; then
27819 wx_cv_lib_glibc21=yes
27822 echo "$as_me: failed program was:" >&5
27823 sed 's/^/| /' conftest.$ac_ext >&5
27826 wx_cv_lib_glibc21=no
27831 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27834 { echo "$as_me:$LINENO: result: $wx_cv_lib_glibc21" >&5
27835 echo "${ECHO_T}$wx_cv_lib_glibc21" >&6; }
27836 if test "$wx_cv_lib_glibc21" = "yes"; then
27837 cat >>confdefs.h <<\_ACEOF
27838 #define wxHAVE_GLIBC2 1
27844 if test "x$wx_cv_lib_glibc21" = "xyes"; then
27845 if test "$wxUSE_UNICODE" = "yes" -o "$wxUSE_THREADS" = "yes"; then
27846 cat >>confdefs.h <<\_ACEOF
27847 #define _GNU_SOURCE 1
27858 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27859 { echo "$as_me:$LINENO: checking for $ac_func" >&5
27860 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
27861 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
27862 echo $ECHO_N "(cached) $ECHO_C" >&6
27864 cat >conftest.$ac_ext <<_ACEOF
27867 cat confdefs.h >>conftest.$ac_ext
27868 cat >>conftest.$ac_ext <<_ACEOF
27869 /* end confdefs.h. */
27870 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
27871 For example, HP-UX 11i <limits.h> declares gettimeofday. */
27872 #define $ac_func innocuous_$ac_func
27874 /* System header to define __stub macros and hopefully few prototypes,
27875 which can conflict with char $ac_func (); below.
27876 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27877 <limits.h> exists even on freestanding compilers. */
27880 # include <limits.h>
27882 # include <assert.h>
27887 /* Override any GCC internal prototype to avoid an error.
27888 Use char because int might match the return type of a GCC
27889 builtin and then its argument prototype would still apply. */
27894 /* The GNU C library defines this for functions which it implements
27895 to always fail with ENOSYS. Some functions are actually named
27896 something starting with __ and the normal name is an alias. */
27897 #if defined __stub_$ac_func || defined __stub___$ac_func
27904 return $ac_func ();
27909 rm -f conftest.$ac_objext conftest$ac_exeext
27910 if { (ac_try="$ac_link"
27911 case "(($ac_try" in
27912 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
27913 *) ac_try_echo
=$ac_try;;
27915 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27916 (eval "$ac_link") 2>conftest.er1
27918 grep -v '^ *+' conftest.er1
>conftest.err
27920 cat conftest.err
>&5
27921 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27922 (exit $ac_status); } && {
27923 test -z "$ac_c_werror_flag" ||
27924 test ! -s conftest.err
27925 } && test -s conftest
$ac_exeext &&
27926 $as_test_x conftest
$ac_exeext; then
27927 eval "$as_ac_var=yes"
27929 echo "$as_me: failed program was:" >&5
27930 sed 's/^/| /' conftest.
$ac_ext >&5
27932 eval "$as_ac_var=no"
27935 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
27936 conftest
$ac_exeext conftest.
$ac_ext
27938 ac_res
=`eval echo '${'$as_ac_var'}'`
27939 { echo "$as_me:$LINENO: result: $ac_res" >&5
27940 echo "${ECHO_T}$ac_res" >&6; }
27941 if test `eval echo '${'$as_ac_var'}'` = yes; then
27942 cat >>confdefs.h
<<_ACEOF
27943 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27950 for ac_func
in floor
27952 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27953 { echo "$as_me:$LINENO: checking for $ac_func" >&5
27954 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
27955 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
27956 echo $ECHO_N "(cached) $ECHO_C" >&6
27958 cat >conftest.
$ac_ext <<_ACEOF
27961 cat confdefs.h
>>conftest.
$ac_ext
27962 cat >>conftest.
$ac_ext <<_ACEOF
27963 /* end confdefs.h. */
27964 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
27965 For example, HP-UX 11i <limits.h> declares gettimeofday. */
27966 #define $ac_func innocuous_$ac_func
27968 /* System header to define __stub macros and hopefully few prototypes,
27969 which can conflict with char $ac_func (); below.
27970 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27971 <limits.h> exists even on freestanding compilers. */
27974 # include <limits.h>
27976 # include <assert.h>
27981 /* Override any GCC internal prototype to avoid an error.
27982 Use char because int might match the return type of a GCC
27983 builtin and then its argument prototype would still apply. */
27988 /* The GNU C library defines this for functions which it implements
27989 to always fail with ENOSYS. Some functions are actually named
27990 something starting with __ and the normal name is an alias. */
27991 #if defined __stub_$ac_func || defined __stub___$ac_func
27998 return $ac_func ();
28003 rm -f conftest.
$ac_objext conftest
$ac_exeext
28004 if { (ac_try
="$ac_link"
28005 case "(($ac_try" in
28006 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
28007 *) ac_try_echo=$ac_try;;
28009 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28010 (eval "$ac_link") 2>conftest.er1
28012 grep -v '^ *+' conftest.er1 >conftest.err
28014 cat conftest.err >&5
28015 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28016 (exit $ac_status); } && {
28017 test -z "$ac_c_werror_flag" ||
28018 test ! -s conftest.err
28019 } && test -s conftest$ac_exeext &&
28020 $as_test_x conftest$ac_exeext; then
28021 eval "$as_ac_var=yes"
28023 echo "$as_me: failed program was:" >&5
28024 sed 's/^/| /' conftest.$ac_ext >&5
28026 eval "$as_ac_var=no"
28029 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28030 conftest$ac_exeext conftest.$ac_ext
28032 ac_res=`eval echo '${'$as_ac_var'}'`
28033 { echo "$as_me:$LINENO: result: $ac_res" >&5
28034 echo "${ECHO_T}$ac_res" >&6; }
28035 if test `eval echo '${'$as_ac_var'}'` = yes; then
28036 cat >>confdefs.h <<_ACEOF
28037 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28043 { echo "$as_me:$LINENO: checking if floating point functions link without -lm" >&5
28044 echo $ECHO_N "checking if floating point functions link without -lm... $ECHO_C" >&6; }
28045 if test "$have_cos" = 1 -a "$have_floor" = 1; then
28046 { echo "$as_me:$LINENO: result: yes" >&5
28047 echo "${ECHO_T}yes" >&6; }
28049 { echo "$as_me:$LINENO: result: no" >&5
28050 echo "${ECHO_T}no" >&6; }
28052 # use different functions to avoid configure caching
28058 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28059 { echo "$as_me:$LINENO: checking for $ac_func" >&5
28060 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
28061 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
28062 echo $ECHO_N "(cached) $ECHO_C" >&6
28064 cat >conftest.$ac_ext <<_ACEOF
28067 cat confdefs.h >>conftest.$ac_ext
28068 cat >>conftest.$ac_ext <<_ACEOF
28069 /* end confdefs.h. */
28070 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
28071 For example, HP-UX 11i <limits.h> declares gettimeofday. */
28072 #define $ac_func innocuous_$ac_func
28074 /* System header to define __stub macros and hopefully few prototypes,
28075 which can conflict with char $ac_func (); below.
28076 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28077 <limits.h> exists even on freestanding compilers. */
28080 # include <limits.h>
28082 # include <assert.h>
28087 /* Override any GCC internal prototype to avoid an error.
28088 Use char because int might match the return type of a GCC
28089 builtin and then its argument prototype would still apply. */
28094 /* The GNU C library defines this for functions which it implements
28095 to always fail with ENOSYS. Some functions are actually named
28096 something starting with __ and the normal name is an alias. */
28097 #if defined __stub_$ac_func || defined __stub___$ac_func
28104 return $ac_func ();
28109 rm -f conftest.$ac_objext conftest$ac_exeext
28110 if { (ac_try="$ac_link"
28111 case "(($ac_try" in
28112 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
28113 *) ac_try_echo
=$ac_try;;
28115 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28116 (eval "$ac_link") 2>conftest.er1
28118 grep -v '^ *+' conftest.er1
>conftest.err
28120 cat conftest.err
>&5
28121 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28122 (exit $ac_status); } && {
28123 test -z "$ac_c_werror_flag" ||
28124 test ! -s conftest.err
28125 } && test -s conftest
$ac_exeext &&
28126 $as_test_x conftest
$ac_exeext; then
28127 eval "$as_ac_var=yes"
28129 echo "$as_me: failed program was:" >&5
28130 sed 's/^/| /' conftest.
$ac_ext >&5
28132 eval "$as_ac_var=no"
28135 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
28136 conftest
$ac_exeext conftest.
$ac_ext
28138 ac_res
=`eval echo '${'$as_ac_var'}'`
28139 { echo "$as_me:$LINENO: result: $ac_res" >&5
28140 echo "${ECHO_T}$ac_res" >&6; }
28141 if test `eval echo '${'$as_ac_var'}'` = yes; then
28142 cat >>confdefs.h
<<_ACEOF
28143 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28150 for ac_func
in ceil
28152 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28153 { echo "$as_me:$LINENO: checking for $ac_func" >&5
28154 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
28155 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
28156 echo $ECHO_N "(cached) $ECHO_C" >&6
28158 cat >conftest.
$ac_ext <<_ACEOF
28161 cat confdefs.h
>>conftest.
$ac_ext
28162 cat >>conftest.
$ac_ext <<_ACEOF
28163 /* end confdefs.h. */
28164 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
28165 For example, HP-UX 11i <limits.h> declares gettimeofday. */
28166 #define $ac_func innocuous_$ac_func
28168 /* System header to define __stub macros and hopefully few prototypes,
28169 which can conflict with char $ac_func (); below.
28170 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28171 <limits.h> exists even on freestanding compilers. */
28174 # include <limits.h>
28176 # include <assert.h>
28181 /* Override any GCC internal prototype to avoid an error.
28182 Use char because int might match the return type of a GCC
28183 builtin and then its argument prototype would still apply. */
28188 /* The GNU C library defines this for functions which it implements
28189 to always fail with ENOSYS. Some functions are actually named
28190 something starting with __ and the normal name is an alias. */
28191 #if defined __stub_$ac_func || defined __stub___$ac_func
28198 return $ac_func ();
28203 rm -f conftest.
$ac_objext conftest
$ac_exeext
28204 if { (ac_try
="$ac_link"
28205 case "(($ac_try" in
28206 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
28207 *) ac_try_echo=$ac_try;;
28209 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28210 (eval "$ac_link") 2>conftest.er1
28212 grep -v '^ *+' conftest.er1 >conftest.err
28214 cat conftest.err >&5
28215 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28216 (exit $ac_status); } && {
28217 test -z "$ac_c_werror_flag" ||
28218 test ! -s conftest.err
28219 } && test -s conftest$ac_exeext &&
28220 $as_test_x conftest$ac_exeext; then
28221 eval "$as_ac_var=yes"
28223 echo "$as_me: failed program was:" >&5
28224 sed 's/^/| /' conftest.$ac_ext >&5
28226 eval "$as_ac_var=no"
28229 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28230 conftest$ac_exeext conftest.$ac_ext
28232 ac_res=`eval echo '${'$as_ac_var'}'`
28233 { echo "$as_me:$LINENO: result: $ac_res" >&5
28234 echo "${ECHO_T}$ac_res" >&6; }
28235 if test `eval echo '${'$as_ac_var'}'` = yes; then
28236 cat >>confdefs.h <<_ACEOF
28237 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28243 { echo "$as_me:$LINENO: checking if floating point functions link with -lm" >&5
28244 echo $ECHO_N "checking if floating point functions link with -lm... $ECHO_C" >&6; }
28245 if test "$have_sin" = 1 -a "$have_ceil" = 1; then
28246 { echo "$as_me:$LINENO: result: yes" >&5
28247 echo "${ECHO_T}yes" >&6; }
28249 { echo "$as_me:$LINENO: result: no" >&5
28250 echo "${ECHO_T}no" >&6; }
28251 # not sure we should warn the user, crash, etc.
28256 ac_cpp='$CXXCPP $CPPFLAGS'
28257 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28258 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28259 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28261 if test "wxUSE_UNICODE" = "yes"; then
28263 for wx_func in wcstoull
28265 { echo "$as_me:$LINENO: checking for $wx_func" >&5
28266 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
28267 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
28268 echo $ECHO_N "(cached) $ECHO_C" >&6
28271 cat >conftest.$ac_ext <<_ACEOF
28275 cat confdefs.h >>conftest.$ac_ext
28276 cat >>conftest.$ac_ext <<_ACEOF
28277 /* end confdefs.h. */
28280 $ac_includes_default
28296 rm -f conftest.$ac_objext conftest$ac_exeext
28297 if { (ac_try="$ac_link"
28298 case "(($ac_try" in
28299 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
28300 *) ac_try_echo
=$ac_try;;
28302 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28303 (eval "$ac_link") 2>conftest.er1
28305 grep -v '^ *+' conftest.er1
>conftest.err
28307 cat conftest.err
>&5
28308 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28309 (exit $ac_status); } && {
28310 test -z "$ac_cxx_werror_flag" ||
28311 test ! -s conftest.err
28312 } && test -s conftest
$ac_exeext &&
28313 $as_test_x conftest
$ac_exeext; then
28314 eval wx_cv_func_
$wx_func=yes
28316 echo "$as_me: failed program was:" >&5
28317 sed 's/^/| /' conftest.
$ac_ext >&5
28319 eval wx_cv_func_
$wx_func=no
28322 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
28323 conftest
$ac_exeext conftest.
$ac_ext
28326 ac_res
=`eval echo '${'wx_cv_func_$wx_func'}'`
28327 { echo "$as_me:$LINENO: result: $ac_res" >&5
28328 echo "${ECHO_T}$ac_res" >&6; }
28330 if eval test \
$wx_cv_func_$wx_func = yes
28332 cat >>confdefs.h
<<_ACEOF
28333 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
28345 for wx_func
in strtoull
28347 { echo "$as_me:$LINENO: checking for $wx_func" >&5
28348 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
28349 if { as_var
=wx_cv_func_
$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
28350 echo $ECHO_N "(cached) $ECHO_C" >&6
28353 cat >conftest.
$ac_ext <<_ACEOF
28357 cat confdefs.h
>>conftest.
$ac_ext
28358 cat >>conftest.
$ac_ext <<_ACEOF
28359 /* end confdefs.h. */
28362 $ac_includes_default
28378 rm -f conftest.
$ac_objext conftest
$ac_exeext
28379 if { (ac_try
="$ac_link"
28380 case "(($ac_try" in
28381 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
28382 *) ac_try_echo=$ac_try;;
28384 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28385 (eval "$ac_link") 2>conftest.er1
28387 grep -v '^ *+' conftest.er1 >conftest.err
28389 cat conftest.err >&5
28390 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28391 (exit $ac_status); } && {
28392 test -z "$ac_cxx_werror_flag" ||
28393 test ! -s conftest.err
28394 } && test -s conftest$ac_exeext &&
28395 $as_test_x conftest$ac_exeext; then
28396 eval wx_cv_func_$wx_func=yes
28398 echo "$as_me: failed program was:" >&5
28399 sed 's/^/| /' conftest.$ac_ext >&5
28401 eval wx_cv_func_$wx_func=no
28404 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28405 conftest$ac_exeext conftest.$ac_ext
28408 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
28409 { echo "$as_me:$LINENO: result: $ac_res" >&5
28410 echo "${ECHO_T}$ac_res" >&6; }
28412 if eval test \$wx_cv_func_$wx_func = yes
28414 cat >>confdefs.h <<_ACEOF
28415 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
28427 ac_cpp='$CPP $CPPFLAGS'
28428 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28429 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28430 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28435 if test "$wxUSE_REGEX" != "no"; then
28436 cat >>confdefs.h <<\_ACEOF
28437 #define wxUSE_REGEX 1
28441 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_REGEX" = "yes"; then
28442 { echo "$as_me:$LINENO: WARNING: Defaulting to the the builtin regex library for Unicode build." >&5
28443 echo "$as_me: WARNING: Defaulting to the the builtin regex library for Unicode build." >&2;}
28444 wxUSE_REGEX=builtin
28447 if test "$wxUSE_REGEX" = "sys" -o "$wxUSE_REGEX" = "yes" ; then
28448 { echo "$as_me:$LINENO: checking for regex.h" >&5
28449 echo $ECHO_N "checking for regex.h... $ECHO_C" >&6; }
28450 if test "${ac_cv_header_regex_h+set}" = set; then
28451 echo $ECHO_N "(cached) $ECHO_C" >&6
28453 cat >conftest.$ac_ext <<_ACEOF
28456 cat confdefs.h >>conftest.$ac_ext
28457 cat >>conftest.$ac_ext <<_ACEOF
28458 /* end confdefs.h. */
28463 rm -f conftest.$ac_objext
28464 if { (ac_try="$ac_compile"
28465 case "(($ac_try" in
28466 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
28467 *) ac_try_echo
=$ac_try;;
28469 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28470 (eval "$ac_compile") 2>conftest.er1
28472 grep -v '^ *+' conftest.er1
>conftest.err
28474 cat conftest.err
>&5
28475 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28476 (exit $ac_status); } && {
28477 test -z "$ac_c_werror_flag" ||
28478 test ! -s conftest.err
28479 } && test -s conftest.
$ac_objext; then
28480 ac_cv_header_regex_h
=yes
28482 echo "$as_me: failed program was:" >&5
28483 sed 's/^/| /' conftest.
$ac_ext >&5
28485 ac_cv_header_regex_h
=no
28488 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
28490 { echo "$as_me:$LINENO: result: $ac_cv_header_regex_h" >&5
28491 echo "${ECHO_T}$ac_cv_header_regex_h" >&6; }
28492 if test $ac_cv_header_regex_h = yes; then
28495 for ac_func
in regcomp re_search
28497 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28498 { echo "$as_me:$LINENO: checking for $ac_func" >&5
28499 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
28500 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
28501 echo $ECHO_N "(cached) $ECHO_C" >&6
28503 cat >conftest.
$ac_ext <<_ACEOF
28506 cat confdefs.h
>>conftest.
$ac_ext
28507 cat >>conftest.
$ac_ext <<_ACEOF
28508 /* end confdefs.h. */
28509 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
28510 For example, HP-UX 11i <limits.h> declares gettimeofday. */
28511 #define $ac_func innocuous_$ac_func
28513 /* System header to define __stub macros and hopefully few prototypes,
28514 which can conflict with char $ac_func (); below.
28515 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28516 <limits.h> exists even on freestanding compilers. */
28519 # include <limits.h>
28521 # include <assert.h>
28526 /* Override any GCC internal prototype to avoid an error.
28527 Use char because int might match the return type of a GCC
28528 builtin and then its argument prototype would still apply. */
28533 /* The GNU C library defines this for functions which it implements
28534 to always fail with ENOSYS. Some functions are actually named
28535 something starting with __ and the normal name is an alias. */
28536 #if defined __stub_$ac_func || defined __stub___$ac_func
28543 return $ac_func ();
28548 rm -f conftest.
$ac_objext conftest
$ac_exeext
28549 if { (ac_try
="$ac_link"
28550 case "(($ac_try" in
28551 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
28552 *) ac_try_echo=$ac_try;;
28554 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28555 (eval "$ac_link") 2>conftest.er1
28557 grep -v '^ *+' conftest.er1 >conftest.err
28559 cat conftest.err >&5
28560 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28561 (exit $ac_status); } && {
28562 test -z "$ac_c_werror_flag" ||
28563 test ! -s conftest.err
28564 } && test -s conftest$ac_exeext &&
28565 $as_test_x conftest$ac_exeext; then
28566 eval "$as_ac_var=yes"
28568 echo "$as_me: failed program was:" >&5
28569 sed 's/^/| /' conftest.$ac_ext >&5
28571 eval "$as_ac_var=no"
28574 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28575 conftest$ac_exeext conftest.$ac_ext
28577 ac_res=`eval echo '${'$as_ac_var'}'`
28578 { echo "$as_me:$LINENO: result: $ac_res" >&5
28579 echo "${ECHO_T}$ac_res" >&6; }
28580 if test `eval echo '${'$as_ac_var'}'` = yes; then
28581 cat >>confdefs.h <<_ACEOF
28582 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28592 if test "x$ac_cv_func_regcomp" != "xyes"; then
28593 if test "$wxUSE_REGEX" = "sys" ; then
28594 { { echo "$as_me:$LINENO: error: system regex library not found! Use --with-regex to use built-in version" >&5
28595 echo "$as_me: error: system regex library not found! Use --with-regex to use built-in version" >&2;}
28596 { (exit 1); exit 1; }; }
28598 { echo "$as_me:$LINENO: WARNING: system regex library not found, will use built-in instead" >&5
28599 echo "$as_me: WARNING: system regex library not found, will use built-in instead" >&2;}
28600 wxUSE_REGEX=builtin
28604 cat >>confdefs.h <<\_ACEOF
28605 #define WX_NO_REGEX_ADVANCED 1
28614 if test "$wxUSE_ZLIB" != "no" ; then
28615 cat >>confdefs.h <<\_ACEOF
28616 #define wxUSE_ZLIB 1
28620 if test "$wxUSE_ZLIB" = "sys" -o "$wxUSE_ZLIB" = "yes" ; then
28621 if test "$USE_DARWIN" = 1; then
28622 system_zlib_h_ok="yes"
28624 { echo "$as_me:$LINENO: checking for zlib.h >= 1.1.4" >&5
28625 echo $ECHO_N "checking for zlib.h >= 1.1.4... $ECHO_C" >&6; }
28626 if test "${ac_cv_header_zlib_h+set}" = set; then
28627 echo $ECHO_N "(cached) $ECHO_C" >&6
28629 if test "$cross_compiling" = yes; then
28630 unset ac_cv_header_zlib_h
28633 cat >conftest.$ac_ext <<_ACEOF
28636 cat confdefs.h >>conftest.$ac_ext
28637 cat >>conftest.$ac_ext <<_ACEOF
28638 /* end confdefs.h. */
28645 FILE *f=fopen("conftestval", "w");
28648 ZLIB_VERSION[0] == '1' &&
28649 (ZLIB_VERSION[2] > '1' ||
28650 (ZLIB_VERSION[2] == '1' &&
28651 ZLIB_VERSION[4] >= '4')) ? "yes" : "no");
28656 rm -f conftest$ac_exeext
28657 if { (ac_try="$ac_link"
28658 case "(($ac_try" in
28659 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
28660 *) ac_try_echo
=$ac_try;;
28662 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28663 (eval "$ac_link") 2>&5
28665 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28666 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
28667 { (case "(($ac_try" in
28668 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
28669 *) ac_try_echo=$ac_try;;
28671 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28672 (eval "$ac_try") 2>&5
28674 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28675 (exit $ac_status); }; }; then
28676 ac_cv_header_zlib_h=`cat conftestval
`
28678 echo "$as_me: program exited with status $ac_status" >&5
28679 echo "$as_me: failed program was:" >&5
28680 sed 's/^/| /' conftest.$ac_ext >&5
28682 ( exit $ac_status )
28683 ac_cv_header_zlib_h=no
28685 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
28691 { echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
28692 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6; }
28693 { echo "$as_me:$LINENO: checking for zlib.h" >&5
28694 echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6; }
28695 if test "${ac_cv_header_zlib_h+set}" = set; then
28696 echo $ECHO_N "(cached) $ECHO_C" >&6
28698 cat >conftest.$ac_ext <<_ACEOF
28701 cat confdefs.h >>conftest.$ac_ext
28702 cat >>conftest.$ac_ext <<_ACEOF
28703 /* end confdefs.h. */
28708 rm -f conftest.$ac_objext
28709 if { (ac_try="$ac_compile"
28710 case "(($ac_try" in
28711 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
28712 *) ac_try_echo
=$ac_try;;
28714 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28715 (eval "$ac_compile") 2>conftest.er1
28717 grep -v '^ *+' conftest.er1
>conftest.err
28719 cat conftest.err
>&5
28720 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28721 (exit $ac_status); } && {
28722 test -z "$ac_c_werror_flag" ||
28723 test ! -s conftest.err
28724 } && test -s conftest.
$ac_objext; then
28725 ac_cv_header_zlib_h
=yes
28727 echo "$as_me: failed program was:" >&5
28728 sed 's/^/| /' conftest.
$ac_ext >&5
28730 ac_cv_header_zlib_h
=no
28733 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
28735 { echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
28736 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6; }
28740 system_zlib_h_ok
=$ac_cv_header_zlib_h
28743 if test "$system_zlib_h_ok" = "yes"; then
28744 { echo "$as_me:$LINENO: checking for deflate in -lz" >&5
28745 echo $ECHO_N "checking for deflate in -lz... $ECHO_C" >&6; }
28746 if test "${ac_cv_lib_z_deflate+set}" = set; then
28747 echo $ECHO_N "(cached) $ECHO_C" >&6
28749 ac_check_lib_save_LIBS
=$LIBS
28751 cat >conftest.
$ac_ext <<_ACEOF
28754 cat confdefs.h
>>conftest.
$ac_ext
28755 cat >>conftest.
$ac_ext <<_ACEOF
28756 /* end confdefs.h. */
28758 /* Override any GCC internal prototype to avoid an error.
28759 Use char because int might match the return type of a GCC
28760 builtin and then its argument prototype would still apply. */
28773 rm -f conftest.
$ac_objext conftest
$ac_exeext
28774 if { (ac_try
="$ac_link"
28775 case "(($ac_try" in
28776 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
28777 *) ac_try_echo=$ac_try;;
28779 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28780 (eval "$ac_link") 2>conftest.er1
28782 grep -v '^ *+' conftest.er1 >conftest.err
28784 cat conftest.err >&5
28785 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28786 (exit $ac_status); } && {
28787 test -z "$ac_c_werror_flag" ||
28788 test ! -s conftest.err
28789 } && test -s conftest$ac_exeext &&
28790 $as_test_x conftest$ac_exeext; then
28791 ac_cv_lib_z_deflate=yes
28793 echo "$as_me: failed program was:" >&5
28794 sed 's/^/| /' conftest.$ac_ext >&5
28796 ac_cv_lib_z_deflate=no
28799 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28800 conftest$ac_exeext conftest.$ac_ext
28801 LIBS=$ac_check_lib_save_LIBS
28803 { echo "$as_me:$LINENO: result: $ac_cv_lib_z_deflate" >&5
28804 echo "${ECHO_T}$ac_cv_lib_z_deflate" >&6; }
28805 if test $ac_cv_lib_z_deflate = yes; then
28811 if test "x$ZLIB_LINK" = "x" ; then
28812 if test "$wxUSE_ZLIB" = "sys" ; then
28813 { { echo "$as_me:$LINENO: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&5
28814 echo "$as_me: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&2;}
28815 { (exit 1); exit 1; }; }
28817 { echo "$as_me:$LINENO: WARNING: zlib library not found or too old, will use built-in instead" >&5
28818 echo "$as_me: WARNING: zlib library not found or too old, will use built-in instead" >&2;}
28829 if test "$wxUSE_LIBPNG" != "no" ; then
28830 cat >>confdefs.h <<\_ACEOF
28831 #define wxUSE_LIBPNG 1
28835 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBPNG" = "builtin" ; then
28836 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&5
28837 echo "$as_me: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&2;}
28841 if test "$wxUSE_MGL" != 1 -a "$wxUSE_LIBPNG" = "sys" -a "$wxUSE_ZLIB" != "sys" ; then
28842 { echo "$as_me:$LINENO: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&5
28843 echo "$as_me: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&2;}
28844 wxUSE_LIBPNG=builtin
28847 if test "$wxUSE_MGL" != 1 ; then
28848 if test "$wxUSE_LIBPNG" = "sys" -o "$wxUSE_LIBPNG" = "yes" ; then
28849 { echo "$as_me:$LINENO: checking for png.h > 0.90" >&5
28850 echo $ECHO_N "checking for png.h > 0.90... $ECHO_C" >&6; }
28851 if test "${ac_cv_header_png_h+set}" = set; then
28852 echo $ECHO_N "(cached) $ECHO_C" >&6
28854 if test "$cross_compiling" = yes; then
28855 unset ac_cv_header_png_h
28858 cat >conftest.$ac_ext <<_ACEOF
28861 cat confdefs.h >>conftest.$ac_ext
28862 cat >>conftest.$ac_ext <<_ACEOF
28863 /* end confdefs.h. */
28870 FILE *f=fopen("conftestval", "w");
28873 PNG_LIBPNG_VER > 90 ? "yes" : "no");
28878 rm -f conftest$ac_exeext
28879 if { (ac_try="$ac_link"
28880 case "(($ac_try" in
28881 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
28882 *) ac_try_echo
=$ac_try;;
28884 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28885 (eval "$ac_link") 2>&5
28887 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28888 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
28889 { (case "(($ac_try" in
28890 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
28891 *) ac_try_echo=$ac_try;;
28893 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28894 (eval "$ac_try") 2>&5
28896 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28897 (exit $ac_status); }; }; then
28898 ac_cv_header_png_h=`cat conftestval
`
28900 echo "$as_me: program exited with status $ac_status" >&5
28901 echo "$as_me: failed program was:" >&5
28902 sed 's/^/| /' conftest.$ac_ext >&5
28904 ( exit $ac_status )
28905 ac_cv_header_png_h=no
28907 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
28913 { echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
28914 echo "${ECHO_T}$ac_cv_header_png_h" >&6; }
28915 { echo "$as_me:$LINENO: checking for png.h" >&5
28916 echo $ECHO_N "checking for png.h... $ECHO_C" >&6; }
28917 if test "${ac_cv_header_png_h+set}" = set; then
28918 echo $ECHO_N "(cached) $ECHO_C" >&6
28920 cat >conftest.$ac_ext <<_ACEOF
28923 cat confdefs.h >>conftest.$ac_ext
28924 cat >>conftest.$ac_ext <<_ACEOF
28925 /* end confdefs.h. */
28930 rm -f conftest.$ac_objext
28931 if { (ac_try="$ac_compile"
28932 case "(($ac_try" in
28933 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
28934 *) ac_try_echo
=$ac_try;;
28936 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28937 (eval "$ac_compile") 2>conftest.er1
28939 grep -v '^ *+' conftest.er1
>conftest.err
28941 cat conftest.err
>&5
28942 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28943 (exit $ac_status); } && {
28944 test -z "$ac_c_werror_flag" ||
28945 test ! -s conftest.err
28946 } && test -s conftest.
$ac_objext; then
28947 ac_cv_header_png_h
=yes
28949 echo "$as_me: failed program was:" >&5
28950 sed 's/^/| /' conftest.
$ac_ext >&5
28952 ac_cv_header_png_h
=no
28955 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
28957 { echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
28958 echo "${ECHO_T}$ac_cv_header_png_h" >&6; }
28962 if test "$ac_cv_header_png_h" = "yes"; then
28963 { echo "$as_me:$LINENO: checking for png_check_sig in -lpng" >&5
28964 echo $ECHO_N "checking for png_check_sig in -lpng... $ECHO_C" >&6; }
28965 if test "${ac_cv_lib_png_png_check_sig+set}" = set; then
28966 echo $ECHO_N "(cached) $ECHO_C" >&6
28968 ac_check_lib_save_LIBS
=$LIBS
28969 LIBS
="-lpng -lz -lm $LIBS"
28970 cat >conftest.
$ac_ext <<_ACEOF
28973 cat confdefs.h
>>conftest.
$ac_ext
28974 cat >>conftest.
$ac_ext <<_ACEOF
28975 /* end confdefs.h. */
28977 /* Override any GCC internal prototype to avoid an error.
28978 Use char because int might match the return type of a GCC
28979 builtin and then its argument prototype would still apply. */
28983 char png_check_sig ();
28987 return png_check_sig ();
28992 rm -f conftest.
$ac_objext conftest
$ac_exeext
28993 if { (ac_try
="$ac_link"
28994 case "(($ac_try" in
28995 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
28996 *) ac_try_echo=$ac_try;;
28998 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28999 (eval "$ac_link") 2>conftest.er1
29001 grep -v '^ *+' conftest.er1 >conftest.err
29003 cat conftest.err >&5
29004 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29005 (exit $ac_status); } && {
29006 test -z "$ac_c_werror_flag" ||
29007 test ! -s conftest.err
29008 } && test -s conftest$ac_exeext &&
29009 $as_test_x conftest$ac_exeext; then
29010 ac_cv_lib_png_png_check_sig=yes
29012 echo "$as_me: failed program was:" >&5
29013 sed 's/^/| /' conftest.$ac_ext >&5
29015 ac_cv_lib_png_png_check_sig=no
29018 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29019 conftest$ac_exeext conftest.$ac_ext
29020 LIBS=$ac_check_lib_save_LIBS
29022 { echo "$as_me:$LINENO: result: $ac_cv_lib_png_png_check_sig" >&5
29023 echo "${ECHO_T}$ac_cv_lib_png_png_check_sig" >&6; }
29024 if test $ac_cv_lib_png_png_check_sig = yes; then
29025 PNG_LINK=" -lpng -lz"
29030 if test "x$PNG_LINK" = "x" ; then
29031 if test "$wxUSE_LIBPNG" = "sys" ; then
29032 { { echo "$as_me:$LINENO: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&5
29033 echo "$as_me: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&2;}
29034 { (exit 1); exit 1; }; }
29036 { echo "$as_me:$LINENO: WARNING: system png library not found or too old, will use built-in instead" >&5
29037 echo "$as_me: WARNING: system png library not found or too old, will use built-in instead" >&2;}
29038 wxUSE_LIBPNG=builtin
29049 if test "$wxUSE_LIBJPEG" != "no" ; then
29050 cat >>confdefs.h <<\_ACEOF
29051 #define wxUSE_LIBJPEG 1
29055 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBJPEG" = "builtin" ; then
29056 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&5
29057 echo "$as_me: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&2;}
29061 if test "$wxUSE_MGL" != 1 ; then
29062 if test "$wxUSE_LIBJPEG" = "sys" -o "$wxUSE_LIBJPEG" = "yes" ; then
29063 { echo "$as_me:$LINENO: checking for jpeglib.h" >&5
29064 echo $ECHO_N "checking for jpeglib.h... $ECHO_C" >&6; }
29065 if test "${ac_cv_header_jpeglib_h+set}" = set; then
29066 echo $ECHO_N "(cached) $ECHO_C" >&6
29068 cat >conftest.$ac_ext <<_ACEOF
29071 cat confdefs.h >>conftest.$ac_ext
29072 cat >>conftest.$ac_ext <<_ACEOF
29073 /* end confdefs.h. */
29075 #undef HAVE_STDLIB_H
29077 #include <jpeglib.h>
29088 rm -f conftest.$ac_objext
29089 if { (ac_try="$ac_compile"
29090 case "(($ac_try" in
29091 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
29092 *) ac_try_echo
=$ac_try;;
29094 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29095 (eval "$ac_compile") 2>conftest.er1
29097 grep -v '^ *+' conftest.er1
>conftest.err
29099 cat conftest.err
>&5
29100 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29101 (exit $ac_status); } && {
29102 test -z "$ac_c_werror_flag" ||
29103 test ! -s conftest.err
29104 } && test -s conftest.
$ac_objext; then
29105 ac_cv_header_jpeglib_h
=yes
29107 echo "$as_me: failed program was:" >&5
29108 sed 's/^/| /' conftest.
$ac_ext >&5
29110 ac_cv_header_jpeglib_h
=no
29114 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
29118 { echo "$as_me:$LINENO: result: $ac_cv_header_jpeglib_h" >&5
29119 echo "${ECHO_T}$ac_cv_header_jpeglib_h" >&6; }
29121 if test "$ac_cv_header_jpeglib_h" = "yes"; then
29122 { echo "$as_me:$LINENO: checking for jpeg_read_header in -ljpeg" >&5
29123 echo $ECHO_N "checking for jpeg_read_header in -ljpeg... $ECHO_C" >&6; }
29124 if test "${ac_cv_lib_jpeg_jpeg_read_header+set}" = set; then
29125 echo $ECHO_N "(cached) $ECHO_C" >&6
29127 ac_check_lib_save_LIBS
=$LIBS
29128 LIBS
="-ljpeg $LIBS"
29129 cat >conftest.
$ac_ext <<_ACEOF
29132 cat confdefs.h
>>conftest.
$ac_ext
29133 cat >>conftest.
$ac_ext <<_ACEOF
29134 /* end confdefs.h. */
29136 /* Override any GCC internal prototype to avoid an error.
29137 Use char because int might match the return type of a GCC
29138 builtin and then its argument prototype would still apply. */
29142 char jpeg_read_header ();
29146 return jpeg_read_header ();
29151 rm -f conftest.
$ac_objext conftest
$ac_exeext
29152 if { (ac_try
="$ac_link"
29153 case "(($ac_try" in
29154 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
29155 *) ac_try_echo=$ac_try;;
29157 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29158 (eval "$ac_link") 2>conftest.er1
29160 grep -v '^ *+' conftest.er1 >conftest.err
29162 cat conftest.err >&5
29163 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29164 (exit $ac_status); } && {
29165 test -z "$ac_c_werror_flag" ||
29166 test ! -s conftest.err
29167 } && test -s conftest$ac_exeext &&
29168 $as_test_x conftest$ac_exeext; then
29169 ac_cv_lib_jpeg_jpeg_read_header=yes
29171 echo "$as_me: failed program was:" >&5
29172 sed 's/^/| /' conftest.$ac_ext >&5
29174 ac_cv_lib_jpeg_jpeg_read_header=no
29177 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29178 conftest$ac_exeext conftest.$ac_ext
29179 LIBS=$ac_check_lib_save_LIBS
29181 { echo "$as_me:$LINENO: result: $ac_cv_lib_jpeg_jpeg_read_header" >&5
29182 echo "${ECHO_T}$ac_cv_lib_jpeg_jpeg_read_header" >&6; }
29183 if test $ac_cv_lib_jpeg_jpeg_read_header = yes; then
29184 JPEG_LINK=" -ljpeg"
29189 if test "x$JPEG_LINK" = "x" ; then
29190 if test "$wxUSE_LIBJPEG" = "sys" ; then
29191 { { echo "$as_me:$LINENO: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&5
29192 echo "$as_me: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&2;}
29193 { (exit 1); exit 1; }; }
29195 { echo "$as_me:$LINENO: WARNING: system jpeg library not found, will use built-in instead" >&5
29196 echo "$as_me: WARNING: system jpeg library not found, will use built-in instead" >&2;}
29197 wxUSE_LIBJPEG=builtin
29202 if test "$wxUSE_MSW" = 1; then
29203 { echo "$as_me:$LINENO: checking for boolean" >&5
29204 echo $ECHO_N "checking for boolean... $ECHO_C" >&6; }
29205 if test "${ac_cv_type_boolean+set}" = set; then
29206 echo $ECHO_N "(cached) $ECHO_C" >&6
29208 cat >conftest.$ac_ext <<_ACEOF
29211 cat confdefs.h >>conftest.$ac_ext
29212 cat >>conftest.$ac_ext <<_ACEOF
29213 /* end confdefs.h. */
29214 #include <windows.h>
29216 typedef boolean ac__type_new_;
29220 if ((ac__type_new_ *) 0)
29222 if (sizeof (ac__type_new_))
29228 rm -f conftest.$ac_objext
29229 if { (ac_try="$ac_compile"
29230 case "(($ac_try" in
29231 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
29232 *) ac_try_echo
=$ac_try;;
29234 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29235 (eval "$ac_compile") 2>conftest.er1
29237 grep -v '^ *+' conftest.er1
>conftest.err
29239 cat conftest.err
>&5
29240 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29241 (exit $ac_status); } && {
29242 test -z "$ac_c_werror_flag" ||
29243 test ! -s conftest.err
29244 } && test -s conftest.
$ac_objext; then
29245 ac_cv_type_boolean
=yes
29247 echo "$as_me: failed program was:" >&5
29248 sed 's/^/| /' conftest.
$ac_ext >&5
29250 ac_cv_type_boolean
=no
29253 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
29255 { echo "$as_me:$LINENO: result: $ac_cv_type_boolean" >&5
29256 echo "${ECHO_T}$ac_cv_type_boolean" >&6; }
29257 if test $ac_cv_type_boolean = yes; then
29259 cat >>confdefs.h
<<_ACEOF
29260 #define HAVE_BOOLEAN 1
29264 { echo "$as_me:$LINENO: checking for boolean" >&5
29265 echo $ECHO_N "checking for boolean... $ECHO_C" >&6; }
29266 if test "${ac_cv_type_boolean+set}" = set; then
29267 echo $ECHO_N "(cached) $ECHO_C" >&6
29269 cat >conftest.
$ac_ext <<_ACEOF
29272 cat confdefs.h
>>conftest.
$ac_ext
29273 cat >>conftest.
$ac_ext <<_ACEOF
29274 /* end confdefs.h. */
29276 #undef HAVE_BOOLEAN
29278 #include <jpeglib.h>
29281 typedef boolean ac__type_new_;
29285 if ((ac__type_new_ *) 0)
29287 if (sizeof (ac__type_new_))
29293 rm -f conftest.
$ac_objext
29294 if { (ac_try
="$ac_compile"
29295 case "(($ac_try" in
29296 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
29297 *) ac_try_echo=$ac_try;;
29299 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29300 (eval "$ac_compile") 2>conftest.er1
29302 grep -v '^ *+' conftest.er1 >conftest.err
29304 cat conftest.err >&5
29305 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29306 (exit $ac_status); } && {
29307 test -z "$ac_c_werror_flag" ||
29308 test ! -s conftest.err
29309 } && test -s conftest.$ac_objext; then
29310 ac_cv_type_boolean=yes
29312 echo "$as_me: failed program was:" >&5
29313 sed 's/^/| /' conftest.$ac_ext >&5
29315 ac_cv_type_boolean=no
29318 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29320 { echo "$as_me:$LINENO: result: $ac_cv_type_boolean" >&5
29321 echo "${ECHO_T}$ac_cv_type_boolean" >&6; }
29323 # The cast to long int works around a bug in the HP C Compiler
29324 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
29325 # declarations like `int a3
[[(sizeof
(unsigned char
)) >= 0]];'.
29326 # This bug is HP SR number 8606223364.
29327 { echo "$as_me:$LINENO: checking size of boolean" >&5
29328 echo $ECHO_N "checking size of boolean... $ECHO_C" >&6; }
29329 if test "${ac_cv_sizeof_boolean+set}" = set; then
29330 echo $ECHO_N "(cached) $ECHO_C" >&6
29332 if test "$cross_compiling" = yes; then
29333 # Depending upon the size, compute the lo and hi bounds.
29334 cat >conftest.$ac_ext <<_ACEOF
29337 cat confdefs.h >>conftest.$ac_ext
29338 cat >>conftest.$ac_ext <<_ACEOF
29339 /* end confdefs.h. */
29341 #undef HAVE_BOOLEAN
29343 #include <jpeglib.h>
29346 typedef boolean ac__type_sizeof_;
29350 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
29357 rm -f conftest.$ac_objext
29358 if { (ac_try="$ac_compile"
29359 case "(($ac_try" in
29360 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29361 *) ac_try_echo=$ac_try;;
29363 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29364 (eval "$ac_compile") 2>conftest.er1
29366 grep -v '^
*+' conftest.er1 >conftest.err
29368 cat conftest.err >&5
29369 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29370 (exit $ac_status); } && {
29371 test -z "$ac_c_werror_flag" ||
29372 test ! -s conftest.err
29373 } && test -s conftest.$ac_objext; then
29376 cat >conftest.$ac_ext <<_ACEOF
29379 cat confdefs.h >>conftest.$ac_ext
29380 cat >>conftest.$ac_ext <<_ACEOF
29381 /* end confdefs.h. */
29383 #undef HAVE_BOOLEAN
29385 #include <jpeglib.h>
29388 typedef boolean ac__type_sizeof_;
29392 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
29399 rm -f conftest.$ac_objext
29400 if { (ac_try="$ac_compile"
29401 case "(($ac_try" in
29402 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29403 *) ac_try_echo=$ac_try;;
29405 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29406 (eval "$ac_compile") 2>conftest.er1
29408 grep -v '^
*+' conftest.er1 >conftest.err
29410 cat conftest.err >&5
29411 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29412 (exit $ac_status); } && {
29413 test -z "$ac_c_werror_flag" ||
29414 test ! -s conftest.err
29415 } && test -s conftest.$ac_objext; then
29416 ac_hi=$ac_mid; break
29418 echo "$as_me: failed program was:" >&5
29419 sed 's
/^
/| /' conftest.$ac_ext >&5
29421 ac_lo=`expr $ac_mid + 1`
29422 if test $ac_lo -le $ac_mid; then
29426 ac_mid=`expr 2 '*' $ac_mid + 1`
29429 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29432 echo "$as_me: failed program was:" >&5
29433 sed 's
/^
/| /' conftest.$ac_ext >&5
29435 cat >conftest.$ac_ext <<_ACEOF
29438 cat confdefs.h >>conftest.$ac_ext
29439 cat >>conftest.$ac_ext <<_ACEOF
29440 /* end confdefs.h. */
29442 #undef HAVE_BOOLEAN
29444 #include <jpeglib.h>
29447 typedef boolean ac__type_sizeof_;
29451 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
29458 rm -f conftest.$ac_objext
29459 if { (ac_try="$ac_compile"
29460 case "(($ac_try" in
29461 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29462 *) ac_try_echo=$ac_try;;
29464 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29465 (eval "$ac_compile") 2>conftest.er1
29467 grep -v '^
*+' conftest.er1 >conftest.err
29469 cat conftest.err >&5
29470 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29471 (exit $ac_status); } && {
29472 test -z "$ac_c_werror_flag" ||
29473 test ! -s conftest.err
29474 } && test -s conftest.$ac_objext; then
29477 cat >conftest.$ac_ext <<_ACEOF
29480 cat confdefs.h >>conftest.$ac_ext
29481 cat >>conftest.$ac_ext <<_ACEOF
29482 /* end confdefs.h. */
29484 #undef HAVE_BOOLEAN
29486 #include <jpeglib.h>
29489 typedef boolean ac__type_sizeof_;
29493 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
29500 rm -f conftest.$ac_objext
29501 if { (ac_try="$ac_compile"
29502 case "(($ac_try" in
29503 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29504 *) ac_try_echo=$ac_try;;
29506 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29507 (eval "$ac_compile") 2>conftest.er1
29509 grep -v '^
*+' conftest.er1 >conftest.err
29511 cat conftest.err >&5
29512 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29513 (exit $ac_status); } && {
29514 test -z "$ac_c_werror_flag" ||
29515 test ! -s conftest.err
29516 } && test -s conftest.$ac_objext; then
29517 ac_lo=$ac_mid; break
29519 echo "$as_me: failed program was:" >&5
29520 sed 's
/^
/| /' conftest.$ac_ext >&5
29522 ac_hi=`expr '(' $ac_mid ')' - 1`
29523 if test $ac_mid -le $ac_hi; then
29527 ac_mid=`expr 2 '*' $ac_mid`
29530 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29533 echo "$as_me: failed program was:" >&5
29534 sed 's
/^
/| /' conftest.$ac_ext >&5
29539 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29542 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29543 # Binary search between lo and hi bounds.
29544 while test "x$ac_lo" != "x$ac_hi"; do
29545 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
29546 cat >conftest.$ac_ext <<_ACEOF
29549 cat confdefs.h >>conftest.$ac_ext
29550 cat >>conftest.$ac_ext <<_ACEOF
29551 /* end confdefs.h. */
29553 #undef HAVE_BOOLEAN
29555 #include <jpeglib.h>
29558 typedef boolean ac__type_sizeof_;
29562 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
29569 rm -f conftest.$ac_objext
29570 if { (ac_try="$ac_compile"
29571 case "(($ac_try" in
29572 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29573 *) ac_try_echo=$ac_try;;
29575 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29576 (eval "$ac_compile") 2>conftest.er1
29578 grep -v '^
*+' conftest.er1 >conftest.err
29580 cat conftest.err >&5
29581 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29582 (exit $ac_status); } && {
29583 test -z "$ac_c_werror_flag" ||
29584 test ! -s conftest.err
29585 } && test -s conftest.$ac_objext; then
29588 echo "$as_me: failed program was:" >&5
29589 sed 's
/^
/| /' conftest.$ac_ext >&5
29591 ac_lo=`expr '(' $ac_mid ')' + 1`
29594 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29597 ?*) ac_cv_sizeof_boolean=$ac_lo;;
29598 '') if test "$ac_cv_type_boolean" = yes; then
29599 { { echo "$as_me:$LINENO: error: cannot compute sizeof (boolean)
29600 See \`config.log' for more details.
" >&5
29601 echo "$as_me: error
: cannot compute sizeof
(boolean
)
29602 See \
`config.log' for more details." >&2;}
29603 { (exit 77); exit 77; }; }
29605 ac_cv_sizeof_boolean=0
29609 cat >conftest.$ac_ext <<_ACEOF
29612 cat confdefs.h >>conftest.$ac_ext
29613 cat >>conftest.$ac_ext <<_ACEOF
29614 /* end confdefs.h. */
29616 #undef HAVE_BOOLEAN
29618 #include <jpeglib.h>
29621 typedef boolean ac__type_sizeof_;
29622 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
29623 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
29625 #include <stdlib.h>
29630 FILE *f = fopen ("conftest.val", "w");
29633 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
29635 long int i = longval ();
29636 if (i != ((long int) (sizeof (ac__type_sizeof_))))
29638 fprintf (f, "%ld\n", i);
29642 unsigned long int i = ulongval ();
29643 if (i != ((long int) (sizeof (ac__type_sizeof_))))
29645 fprintf (f, "%lu\n", i);
29647 return ferror (f) || fclose (f) != 0;
29653 rm -f conftest$ac_exeext
29654 if { (ac_try="$ac_link"
29655 case "(($ac_try" in
29656 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
29657 *) ac_try_echo
=$ac_try;;
29659 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29660 (eval "$ac_link") 2>&5
29662 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29663 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
29664 { (case "(($ac_try" in
29665 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
29666 *) ac_try_echo=$ac_try;;
29668 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29669 (eval "$ac_try") 2>&5
29671 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29672 (exit $ac_status); }; }; then
29673 ac_cv_sizeof_boolean=`cat conftest.val
`
29675 echo "$as_me: program exited with status $ac_status" >&5
29676 echo "$as_me: failed program was:" >&5
29677 sed 's/^/| /' conftest.$ac_ext >&5
29679 ( exit $ac_status )
29680 if test "$ac_cv_type_boolean" = yes; then
29681 { { echo "$as_me:$LINENO: error: cannot compute sizeof (boolean)
29682 See \`config.log
' for more details." >&5
29683 echo "$as_me: error: cannot compute sizeof (boolean)
29684 See \`config.log' for more details.
" >&2;}
29685 { (exit 77); exit 77; }; }
29687 ac_cv_sizeof_boolean=0
29690 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
29694 { echo "$as_me:$LINENO: result
: $ac_cv_sizeof_boolean" >&5
29695 echo "${ECHO_T}$ac_cv_sizeof_boolean" >&6; }
29699 cat >>confdefs.h <<_ACEOF
29700 #define SIZEOF_BOOLEAN $ac_cv_sizeof_boolean
29704 cat >>confdefs.h <<_ACEOF
29705 #define wxHACK_BOOLEAN wxInt`expr 8 \* $ac_cv_sizeof_boolean`
29719 TIFF_PREREQ_LINKS=-lm
29720 if test "$wxUSE_LIBTIFF" != "no
" ; then
29721 cat >>confdefs.h <<\_ACEOF
29722 #define wxUSE_LIBTIFF 1
29726 if test "$wxUSE_LIBTIFF" = "sys
" -o "$wxUSE_LIBTIFF" = "yes" ; then
29727 if test "$wxUSE_LIBJPEG" = "sys
"; then
29728 TIFF_PREREQ_LINKS="$TIFF_PREREQ_LINKS $JPEG_LINK"
29730 if test "$wxUSE_ZLIB" = "sys
"; then
29731 TIFF_PREREQ_LINKS="$TIFF_PREREQ_LINKS $ZLIB_LINK"
29733 { echo "$as_me:$LINENO: checking
for tiffio.h
" >&5
29734 echo $ECHO_N "checking
for tiffio.h...
$ECHO_C" >&6; }
29735 if test "${ac_cv_header_tiffio_h+set}" = set; then
29736 echo $ECHO_N "(cached
) $ECHO_C" >&6
29738 cat >conftest.$ac_ext <<_ACEOF
29741 cat confdefs.h >>conftest.$ac_ext
29742 cat >>conftest.$ac_ext <<_ACEOF
29743 /* end confdefs.h. */
29747 #include <tiffio.h>
29749 rm -f conftest.$ac_objext
29750 if { (ac_try="$ac_compile"
29751 case "(($ac_try" in
29752 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29753 *) ac_try_echo=$ac_try;;
29755 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
29756 (eval "$ac_compile") 2>conftest.er1
29758 grep -v '^ *+' conftest.er1 >conftest.err
29760 cat conftest.err >&5
29761 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
29762 (exit $ac_status); } && {
29763 test -z "$ac_c_werror_flag" ||
29764 test ! -s conftest.err
29765 } && test -s conftest.$ac_objext; then
29766 ac_cv_header_tiffio_h=yes
29768 echo "$as_me: failed program was
:" >&5
29769 sed 's/^/| /' conftest.$ac_ext >&5
29771 ac_cv_header_tiffio_h=no
29774 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29776 { echo "$as_me:$LINENO: result
: $ac_cv_header_tiffio_h" >&5
29777 echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6; }
29778 if test $ac_cv_header_tiffio_h = yes; then
29780 { echo "$as_me:$LINENO: checking
for TIFFError
in -ltiff" >&5
29781 echo $ECHO_N "checking
for TIFFError
in -ltiff...
$ECHO_C" >&6; }
29782 if test "${ac_cv_lib_tiff_TIFFError+set}" = set; then
29783 echo $ECHO_N "(cached
) $ECHO_C" >&6
29785 ac_check_lib_save_LIBS=$LIBS
29786 LIBS="-ltiff $TIFF_PREREQ_LINKS $LIBS"
29787 cat >conftest.$ac_ext <<_ACEOF
29790 cat confdefs.h >>conftest.$ac_ext
29791 cat >>conftest.$ac_ext <<_ACEOF
29792 /* end confdefs.h. */
29794 /* Override any GCC internal prototype to avoid an error.
29795 Use char because int might match the return type of a GCC
29796 builtin and then its argument prototype would still apply. */
29804 return TIFFError ();
29809 rm -f conftest.$ac_objext conftest$ac_exeext
29810 if { (ac_try="$ac_link"
29811 case "(($ac_try" in
29812 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29813 *) ac_try_echo=$ac_try;;
29815 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
29816 (eval "$ac_link") 2>conftest.er1
29818 grep -v '^ *+' conftest.er1 >conftest.err
29820 cat conftest.err >&5
29821 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
29822 (exit $ac_status); } && {
29823 test -z "$ac_c_werror_flag" ||
29824 test ! -s conftest.err
29825 } && test -s conftest$ac_exeext &&
29826 $as_test_x conftest$ac_exeext; then
29827 ac_cv_lib_tiff_TIFFError=yes
29829 echo "$as_me: failed program was
:" >&5
29830 sed 's/^/| /' conftest.$ac_ext >&5
29832 ac_cv_lib_tiff_TIFFError=no
29835 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29836 conftest$ac_exeext conftest.$ac_ext
29837 LIBS=$ac_check_lib_save_LIBS
29839 { echo "$as_me:$LINENO: result
: $ac_cv_lib_tiff_TIFFError" >&5
29840 echo "${ECHO_T}$ac_cv_lib_tiff_TIFFError" >&6; }
29841 if test $ac_cv_lib_tiff_TIFFError = yes; then
29842 TIFF_LINK=" -ltiff"
29850 if test "x
$TIFF_LINK" = "x
" ; then
29851 if test "$wxUSE_LIBTIFF" = "sys
" ; then
29852 { { echo "$as_me:$LINENO: error
: system tiff library not found
! Use
--with-libtiff=builtin to use built
-in version
" >&5
29853 echo "$as_me: error
: system tiff library not found
! Use
--with-libtiff=builtin to use built
-in version
" >&2;}
29854 { (exit 1); exit 1; }; }
29856 { echo "$as_me:$LINENO: WARNING
: system tiff library not found
, will use built
-in instead
" >&5
29857 echo "$as_me: WARNING
: system tiff library not found
, will use built
-in instead
" >&2;}
29858 wxUSE_LIBTIFF=builtin
29867 if test "$wxUSE_WCHAR_T" != "yes"; then
29868 if test "$wxUSE_EXPAT" != "no
"; then
29869 { echo "$as_me:$LINENO: WARNING
: wxWidgets requires wchar_t to use expat
, disabling
" >&5
29870 echo "$as_me: WARNING
: wxWidgets requires wchar_t to use expat
, disabling
" >&2;}
29873 if test "$wxUSE_XML" != "no
"; then
29874 { echo "$as_me:$LINENO: WARNING
: wxWidgets requires wchar_t to use xml
, disabling
" >&5
29875 echo "$as_me: WARNING
: wxWidgets requires wchar_t to use xml
, disabling
" >&2;}
29880 if test "$wxUSE_EXPAT" != "no
"; then
29882 cat >>confdefs.h <<\_ACEOF
29883 #define wxUSE_EXPAT 1
29886 cat >>confdefs.h <<\_ACEOF
29887 #define wxUSE_XML 1
29891 if test "$wxUSE_EXPAT" = "sys
" -o "$wxUSE_EXPAT" = "yes" ; then
29892 { echo "$as_me:$LINENO: checking
for expat.h
" >&5
29893 echo $ECHO_N "checking
for expat.h...
$ECHO_C" >&6; }
29894 if test "${ac_cv_header_expat_h+set}" = set; then
29895 echo $ECHO_N "(cached
) $ECHO_C" >&6
29897 cat >conftest.$ac_ext <<_ACEOF
29900 cat confdefs.h >>conftest.$ac_ext
29901 cat >>conftest.$ac_ext <<_ACEOF
29902 /* end confdefs.h. */
29907 rm -f conftest.$ac_objext
29908 if { (ac_try="$ac_compile"
29909 case "(($ac_try" in
29910 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29911 *) ac_try_echo=$ac_try;;
29913 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
29914 (eval "$ac_compile") 2>conftest.er1
29916 grep -v '^ *+' conftest.er1 >conftest.err
29918 cat conftest.err >&5
29919 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
29920 (exit $ac_status); } && {
29921 test -z "$ac_c_werror_flag" ||
29922 test ! -s conftest.err
29923 } && test -s conftest.$ac_objext; then
29924 ac_cv_header_expat_h=yes
29926 echo "$as_me: failed program was
:" >&5
29927 sed 's/^/| /' conftest.$ac_ext >&5
29929 ac_cv_header_expat_h=no
29932 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29934 { echo "$as_me:$LINENO: result
: $ac_cv_header_expat_h" >&5
29935 echo "${ECHO_T}$ac_cv_header_expat_h" >&6; }
29936 if test $ac_cv_header_expat_h = yes; then
29941 if test "x
$found_expat_h" = "x1
"; then
29942 { echo "$as_me:$LINENO: checking
if expat.h is valid C
++ header
" >&5
29943 echo $ECHO_N "checking
if expat.h is valid C
++ header...
$ECHO_C" >&6; }
29944 if test "${wx_cv_expat_is_not_broken+set}" = set; then
29945 echo $ECHO_N "(cached
) $ECHO_C" >&6
29949 ac_cpp='$CXXCPP $CPPFLAGS'
29950 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29951 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29952 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29954 cat >conftest.$ac_ext <<_ACEOF
29957 cat confdefs.h >>conftest.$ac_ext
29958 cat >>conftest.$ac_ext <<_ACEOF
29959 /* end confdefs.h. */
29969 rm -f conftest.$ac_objext
29970 if { (ac_try="$ac_compile"
29971 case "(($ac_try" in
29972 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29973 *) ac_try_echo=$ac_try;;
29975 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
29976 (eval "$ac_compile") 2>conftest.er1
29978 grep -v '^ *+' conftest.er1 >conftest.err
29980 cat conftest.err >&5
29981 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
29982 (exit $ac_status); } && {
29983 test -z "$ac_cxx_werror_flag" ||
29984 test ! -s conftest.err
29985 } && test -s conftest.$ac_objext; then
29986 wx_cv_expat_is_not_broken=yes
29988 echo "$as_me: failed program was
:" >&5
29989 sed 's/^/| /' conftest.$ac_ext >&5
29991 wx_cv_expat_is_not_broken=no
29995 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29997 ac_cpp='$CPP $CPPFLAGS'
29998 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29999 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30000 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30005 { echo "$as_me:$LINENO: result
: $wx_cv_expat_is_not_broken" >&5
30006 echo "${ECHO_T}$wx_cv_expat_is_not_broken" >&6; }
30007 if test "$wx_cv_expat_is_not_broken" = "yes" ; then
30008 { echo "$as_me:$LINENO: checking
for XML_ParserCreate
in -lexpat" >&5
30009 echo $ECHO_N "checking
for XML_ParserCreate
in -lexpat...
$ECHO_C" >&6; }
30010 if test "${ac_cv_lib_expat_XML_ParserCreate+set}" = set; then
30011 echo $ECHO_N "(cached
) $ECHO_C" >&6
30013 ac_check_lib_save_LIBS=$LIBS
30014 LIBS="-lexpat $LIBS"
30015 cat >conftest.$ac_ext <<_ACEOF
30018 cat confdefs.h >>conftest.$ac_ext
30019 cat >>conftest.$ac_ext <<_ACEOF
30020 /* end confdefs.h. */
30022 /* Override any GCC internal prototype to avoid an error.
30023 Use char because int might match the return type of a GCC
30024 builtin and then its argument prototype would still apply. */
30028 char XML_ParserCreate ();
30032 return XML_ParserCreate ();
30037 rm -f conftest.$ac_objext conftest$ac_exeext
30038 if { (ac_try="$ac_link"
30039 case "(($ac_try" in
30040 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30041 *) ac_try_echo=$ac_try;;
30043 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
30044 (eval "$ac_link") 2>conftest.er1
30046 grep -v '^ *+' conftest.er1 >conftest.err
30048 cat conftest.err >&5
30049 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
30050 (exit $ac_status); } && {
30051 test -z "$ac_c_werror_flag" ||
30052 test ! -s conftest.err
30053 } && test -s conftest$ac_exeext &&
30054 $as_test_x conftest$ac_exeext; then
30055 ac_cv_lib_expat_XML_ParserCreate=yes
30057 echo "$as_me: failed program was
:" >&5
30058 sed 's/^/| /' conftest.$ac_ext >&5
30060 ac_cv_lib_expat_XML_ParserCreate=no
30063 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30064 conftest$ac_exeext conftest.$ac_ext
30065 LIBS=$ac_check_lib_save_LIBS
30067 { echo "$as_me:$LINENO: result
: $ac_cv_lib_expat_XML_ParserCreate" >&5
30068 echo "${ECHO_T}$ac_cv_lib_expat_XML_ParserCreate" >&6; }
30069 if test $ac_cv_lib_expat_XML_ParserCreate = yes; then
30070 EXPAT_LINK=" -lexpat"
30075 if test "x
$EXPAT_LINK" = "x
" ; then
30076 if test "$wxUSE_EXPAT" = "sys
" ; then
30077 { { echo "$as_me:$LINENO: error
: system expat library not found
! Use
--with-expat=builtin to use built
-in version
" >&5
30078 echo "$as_me: error
: system expat library not found
! Use
--with-expat=builtin to use built
-in version
" >&2;}
30079 { (exit 1); exit 1; }; }
30081 { echo "$as_me:$LINENO: WARNING
: system expat library not found
, will use built
-in instead
" >&5
30082 echo "$as_me: WARNING
: system expat library not found
, will use built
-in instead
" >&2;}
30083 wxUSE_EXPAT=builtin
30089 if test "$wxUSE_EXPAT" = "builtin" ; then
30090 subdirs="$subdirs src
/expat
"
30097 if test "$wxUSE_LIBMSPACK" != "no
"; then
30098 { echo "$as_me:$LINENO: checking
for mspack.h
" >&5
30099 echo $ECHO_N "checking
for mspack.h...
$ECHO_C" >&6; }
30100 if test "${ac_cv_header_mspack_h+set}" = set; then
30101 echo $ECHO_N "(cached
) $ECHO_C" >&6
30103 cat >conftest.$ac_ext <<_ACEOF
30106 cat confdefs.h >>conftest.$ac_ext
30107 cat >>conftest.$ac_ext <<_ACEOF
30108 /* end confdefs.h. */
30111 #include <mspack.h>
30113 rm -f conftest.$ac_objext
30114 if { (ac_try="$ac_compile"
30115 case "(($ac_try" in
30116 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30117 *) ac_try_echo=$ac_try;;
30119 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
30120 (eval "$ac_compile") 2>conftest.er1
30122 grep -v '^ *+' conftest.er1 >conftest.err
30124 cat conftest.err >&5
30125 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
30126 (exit $ac_status); } && {
30127 test -z "$ac_c_werror_flag" ||
30128 test ! -s conftest.err
30129 } && test -s conftest.$ac_objext; then
30130 ac_cv_header_mspack_h=yes
30132 echo "$as_me: failed program was
:" >&5
30133 sed 's/^/| /' conftest.$ac_ext >&5
30135 ac_cv_header_mspack_h=no
30138 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30140 { echo "$as_me:$LINENO: result
: $ac_cv_header_mspack_h" >&5
30141 echo "${ECHO_T}$ac_cv_header_mspack_h" >&6; }
30142 if test $ac_cv_header_mspack_h = yes; then
30147 if test "x
$found_mspack_h" = "x1
"; then
30148 { echo "$as_me:$LINENO: checking
for mspack_create_chm_decompressor
in -lmspack" >&5
30149 echo $ECHO_N "checking
for mspack_create_chm_decompressor
in -lmspack...
$ECHO_C" >&6; }
30150 if test "${ac_cv_lib_mspack_mspack_create_chm_decompressor+set}" = set; then
30151 echo $ECHO_N "(cached
) $ECHO_C" >&6
30153 ac_check_lib_save_LIBS=$LIBS
30154 LIBS="-lmspack $LIBS"
30155 cat >conftest.$ac_ext <<_ACEOF
30158 cat confdefs.h >>conftest.$ac_ext
30159 cat >>conftest.$ac_ext <<_ACEOF
30160 /* end confdefs.h. */
30162 /* Override any GCC internal prototype to avoid an error.
30163 Use char because int might match the return type of a GCC
30164 builtin and then its argument prototype would still apply. */
30168 char mspack_create_chm_decompressor ();
30172 return mspack_create_chm_decompressor ();
30177 rm -f conftest.$ac_objext conftest$ac_exeext
30178 if { (ac_try="$ac_link"
30179 case "(($ac_try" in
30180 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30181 *) ac_try_echo=$ac_try;;
30183 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
30184 (eval "$ac_link") 2>conftest.er1
30186 grep -v '^ *+' conftest.er1 >conftest.err
30188 cat conftest.err >&5
30189 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
30190 (exit $ac_status); } && {
30191 test -z "$ac_c_werror_flag" ||
30192 test ! -s conftest.err
30193 } && test -s conftest$ac_exeext &&
30194 $as_test_x conftest$ac_exeext; then
30195 ac_cv_lib_mspack_mspack_create_chm_decompressor=yes
30197 echo "$as_me: failed program was
:" >&5
30198 sed 's/^/| /' conftest.$ac_ext >&5
30200 ac_cv_lib_mspack_mspack_create_chm_decompressor=no
30203 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30204 conftest$ac_exeext conftest.$ac_ext
30205 LIBS=$ac_check_lib_save_LIBS
30207 { echo "$as_me:$LINENO: result
: $ac_cv_lib_mspack_mspack_create_chm_decompressor" >&5
30208 echo "${ECHO_T}$ac_cv_lib_mspack_mspack_create_chm_decompressor" >&6; }
30209 if test $ac_cv_lib_mspack_mspack_create_chm_decompressor = yes; then
30210 MSPACK_LINK=" -lmspack"
30214 if test "x
$MSPACK_LINK" = "x
" ; then
30219 if test "$wxUSE_LIBMSPACK" != "no
"; then
30220 cat >>confdefs.h <<\_ACEOF
30221 #define wxUSE_LIBMSPACK 1
30235 if test "$USE_WIN32" = 1 ; then
30237 for ac_header in w32api.h
30239 as_ac_Header=`echo "ac_cv_header_
$ac_header" | $as_tr_sh`
30240 { echo "$as_me:$LINENO: checking
for $ac_header" >&5
30241 echo $ECHO_N "checking
for $ac_header...
$ECHO_C" >&6; }
30242 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
30243 echo $ECHO_N "(cached
) $ECHO_C" >&6
30245 cat >conftest.$ac_ext <<_ACEOF
30248 cat confdefs.h >>conftest.$ac_ext
30249 cat >>conftest.$ac_ext <<_ACEOF
30250 /* end confdefs.h. */
30253 #include <$ac_header>
30255 rm -f conftest.$ac_objext
30256 if { (ac_try="$ac_compile"
30257 case "(($ac_try" in
30258 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30259 *) ac_try_echo=$ac_try;;
30261 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
30262 (eval "$ac_compile") 2>conftest.er1
30264 grep -v '^ *+' conftest.er1 >conftest.err
30266 cat conftest.err >&5
30267 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
30268 (exit $ac_status); } && {
30269 test -z "$ac_c_werror_flag" ||
30270 test ! -s conftest.err
30271 } && test -s conftest.$ac_objext; then
30272 eval "$as_ac_Header=yes"
30274 echo "$as_me: failed program was
:" >&5
30275 sed 's/^/| /' conftest.$ac_ext >&5
30277 eval "$as_ac_Header=no
"
30280 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30282 ac_res=`eval echo '${'$as_ac_Header'}'`
30283 { echo "$as_me:$LINENO: result
: $ac_res" >&5
30284 echo "${ECHO_T}$ac_res" >&6; }
30285 if test `eval echo '${'$as_ac_Header'}'` = yes; then
30286 cat >>confdefs.h <<_ACEOF
30287 #define `echo "HAVE_
$ac_header" | $as_tr_cpp` 1
30294 { echo "$as_me:$LINENO: checking
for windows.h
" >&5
30295 echo $ECHO_N "checking
for windows.h...
$ECHO_C" >&6; }
30296 if test "${ac_cv_header_windows_h+set}" = set; then
30297 echo $ECHO_N "(cached
) $ECHO_C" >&6
30299 cat >conftest.$ac_ext <<_ACEOF
30302 cat confdefs.h >>conftest.$ac_ext
30303 cat >>conftest.$ac_ext <<_ACEOF
30304 /* end confdefs.h. */
30307 #include <windows.h>
30309 rm -f conftest.$ac_objext
30310 if { (ac_try="$ac_compile"
30311 case "(($ac_try" in
30312 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30313 *) ac_try_echo=$ac_try;;
30315 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
30316 (eval "$ac_compile") 2>conftest.er1
30318 grep -v '^ *+' conftest.er1 >conftest.err
30320 cat conftest.err >&5
30321 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
30322 (exit $ac_status); } && {
30323 test -z "$ac_c_werror_flag" ||
30324 test ! -s conftest.err
30325 } && test -s conftest.$ac_objext; then
30326 ac_cv_header_windows_h=yes
30328 echo "$as_me: failed program was
:" >&5
30329 sed 's/^/| /' conftest.$ac_ext >&5
30331 ac_cv_header_windows_h=no
30334 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30336 { echo "$as_me:$LINENO: result
: $ac_cv_header_windows_h" >&5
30337 echo "${ECHO_T}$ac_cv_header_windows_h" >&6; }
30338 if test $ac_cv_header_windows_h = yes; then
30342 { { echo "$as_me:$LINENO: error
: please
set CFLAGS to contain the location of windows.h
" >&5
30343 echo "$as_me: error
: please
set CFLAGS to contain the location of windows.h
" >&2;}
30344 { (exit 1); exit 1; }; }
30350 LIBS="$LIBS -lwinspool -lwinmm -lshell32 -lcomctl32 -lcomdlg32 -lctl3d32 -ladvapi32 -lwsock32 -lgdi32"
30352 if test "$wxUSE_ACCESSIBILITY" = "yes" ; then
30353 LIBS="$LIBS -loleacc"
30358 LIBS="$LIBS -lkernel32 -luser32"
30361 if test "$wxUSE_ODBC" = "sys
" ; then
30364 if test "$wxUSE_ODBC" = "yes" ; then
30365 LIBS=" -lodbc32 -lole32 -loleaut32 $LIBS"
30366 cat >>confdefs.h <<\_ACEOF
30367 #define wxUSE_ODBC 1
30372 RESFLAGS="--include-dir \
$(top_srcdir)/include
--include-dir \
$(top_srcdir)/\
$(program_dir) --define __WIN32__
--define __WIN95__
--define __GNUWIN32__
"
30373 RESPROGRAMOBJ="\
$(PROGRAM)_resources.o
"
30375 WXCONFIG_RESFLAGS="--define __WIN32__
--define __WIN95__
--define __GNUWIN32__
"
30377 WIN32INSTALL=win32install
30379 { echo "$as_me:$LINENO: checking
for pbt.h
" >&5
30380 echo $ECHO_N "checking
for pbt.h...
$ECHO_C" >&6; }
30381 if test "${ac_cv_header_pbt_h+set}" = set; then
30382 echo $ECHO_N "(cached
) $ECHO_C" >&6
30384 cat >conftest.$ac_ext <<_ACEOF
30387 cat confdefs.h >>conftest.$ac_ext
30388 cat >>conftest.$ac_ext <<_ACEOF
30389 /* end confdefs.h. */
30394 rm -f conftest.$ac_objext
30395 if { (ac_try="$ac_compile"
30396 case "(($ac_try" in
30397 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30398 *) ac_try_echo=$ac_try;;
30400 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
30401 (eval "$ac_compile") 2>conftest.er1
30403 grep -v '^ *+' conftest.er1 >conftest.err
30405 cat conftest.err >&5
30406 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
30407 (exit $ac_status); } && {
30408 test -z "$ac_c_werror_flag" ||
30409 test ! -s conftest.err
30410 } && test -s conftest.$ac_objext; then
30411 ac_cv_header_pbt_h=yes
30413 echo "$as_me: failed program was
:" >&5
30414 sed 's/^/| /' conftest.$ac_ext >&5
30416 ac_cv_header_pbt_h=no
30419 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30421 { echo "$as_me:$LINENO: result
: $ac_cv_header_pbt_h" >&5
30422 echo "${ECHO_T}$ac_cv_header_pbt_h" >&6; }
30423 if test $ac_cv_header_pbt_h = yes; then
30426 cat >>confdefs.h <<\_ACEOF
30427 #define NEED_PBT_H 1
30435 if test "$wxUSE_GUI" = "yes"; then
30445 if test "$wxUSE_COCOA" = 1 ; then
30446 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes"; then
30447 { echo "$as_me:$LINENO: WARNING
: Printing not supported under wxCocoa yet
, disabled
" >&5
30448 echo "$as_me: WARNING
: Printing not supported under wxCocoa yet
, disabled
" >&2;}
30449 wxUSE_PRINTING_ARCHITECTURE=no
30451 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
30452 { echo "$as_me:$LINENO: WARNING
: Drag and Drop not supported under wxCocoa yet
, disabled
" >&5
30453 echo "$as_me: WARNING
: Drag and Drop not supported under wxCocoa yet
, disabled
" >&2;}
30454 wxUSE_DRAG_AND_DROP=no
30456 if test "$wxUSE_DRAGIMAGE" = "yes"; then
30457 { echo "$as_me:$LINENO: WARNING
: wxDragImage not supported under wxCocoa yet
, disabled
" >&5
30458 echo "$as_me: WARNING
: wxDragImage not supported under wxCocoa yet
, disabled
" >&2;}
30463 if test "$wxUSE_MSW" = 1 ; then
30469 WXCONFIG_LDFLAGS_GUI="$LDFLAGS -Wl,--subsystem,windows
-mwindows"
30473 if test "$wxUSE_GTK" = 1; then
30474 { echo "$as_me:$LINENO: checking
for GTK
+ version
" >&5
30475 echo $ECHO_N "checking
for GTK
+ version...
$ECHO_C" >&6; }
30477 gtk_version_cached=1
30478 if test "${wx_cv_lib_gtk+set}" = set; then
30479 echo $ECHO_N "(cached
) $ECHO_C" >&6
30482 gtk_version_cached=0
30483 { echo "$as_me:$LINENO: result
: " >&5
30484 echo "${ECHO_T}" >&6; }
30487 if test "$wxUSE_THREADS" = "yes"; then
30488 GTK_MODULES=gthread
30492 if test "x
$wxGTK_VERSION" != "x1
"
30496 if test "$wxUSE_THREADS" = "yes" -a "$GCC" = yes; then
30501 # Check whether --enable-gtktest was given.
30502 if test "${enable_gtktest+set}" = set; then
30503 enableval=$enable_gtktest;
30509 pkg_config_args=gtk+-2.0
30510 for module in . $GTK_MODULES
30514 pkg_config_args="$pkg_config_args gthread
-2.0
"
30521 # Extract the first word of "pkg
-config", so it can be a program name with args.
30522 set dummy pkg-config; ac_word=$2
30523 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
30524 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
30525 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
30526 echo $ECHO_N "(cached
) $ECHO_C" >&6
30528 case $PKG_CONFIG in
30530 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
30533 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
30534 for as_dir in $PATH
30537 test -z "$as_dir" && as_dir=.
30538 for ac_exec_ext in '' $ac_executable_extensions; do
30539 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
30540 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
30541 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
30548 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no
"
30552 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
30553 if test -n "$PKG_CONFIG"; then
30554 { echo "$as_me:$LINENO: result
: $PKG_CONFIG" >&5
30555 echo "${ECHO_T}$PKG_CONFIG" >&6; }
30557 { echo "$as_me:$LINENO: result
: no
" >&5
30558 echo "${ECHO_T}no
" >&6; }
30563 if test x$PKG_CONFIG != xno ; then
30564 if pkg-config --atleast-pkgconfig-version 0.7 ; then
30567 echo "*** pkg
-config too old
; version
0.7 or better required.
"
30575 min_gtk_version=2.0.0
30576 { echo "$as_me:$LINENO: checking
for GTK
+ - version
>= $min_gtk_version" >&5
30577 echo $ECHO_N "checking
for GTK
+ - version
>= $min_gtk_version...
$ECHO_C" >&6; }
30579 if test x$PKG_CONFIG != xno ; then
30580 ## don't try to run the test against uninstalled libtool libs
30581 if $PKG_CONFIG --uninstalled $pkg_config_args; then
30582 echo "Will use uninstalled version of GTK
+ found
in PKG_CONFIG_PATH
"
30586 if $PKG_CONFIG --atleast-version $min_gtk_version $pkg_config_args; then
30593 if test x"$no_gtk" = x ; then
30594 GTK_CFLAGS=`$PKG_CONFIG $pkg_config_args --cflags`
30595 GTK_LIBS=`$PKG_CONFIG $pkg_config_args --libs`
30596 gtk_config_major_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
30597 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
30598 gtk_config_minor_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
30599 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
30600 gtk_config_micro_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
30601 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
30602 if test "x
$enable_gtktest" = "xyes
" ; then
30603 ac_save_CFLAGS="$CFLAGS"
30604 ac_save_LIBS="$LIBS"
30605 CFLAGS="$CFLAGS $GTK_CFLAGS"
30606 LIBS="$GTK_LIBS $LIBS"
30608 if test "$cross_compiling" = yes; then
30609 echo $ac_n "cross compiling
; assumed OK...
$ac_c"
30611 cat >conftest.$ac_ext <<_ACEOF
30614 cat confdefs.h >>conftest.$ac_ext
30615 cat >>conftest.$ac_ext <<_ACEOF
30616 /* end confdefs.h. */
30618 #include <gtk/gtk.h>
30620 #include <stdlib.h>
30625 int major, minor, micro;
30628 system ("touch conf.gtktest
");
30630 /* HP/UX 9 (%@#!) writes to sscanf strings */
30631 tmp_version = g_strdup("$min_gtk_version");
30632 if (sscanf(tmp_version, "%d.
%d.
%d
", &major, &minor, µ) != 3) {
30633 printf("%s
, bad version string
\n", "$min_gtk_version");
30637 if ((gtk_major_version != $gtk_config_major_version) ||
30638 (gtk_minor_version != $gtk_config_minor_version) ||
30639 (gtk_micro_version != $gtk_config_micro_version))
30641 printf("\n*** 'pkg-config --modversion gtk+-2.0' returned
%d.
%d.
%d
, but GTK
+ (%d.
%d.
%d
)\n",
30642 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
30643 gtk_major_version, gtk_minor_version, gtk_micro_version);
30644 printf ("*** was found
! If pkg
-config was correct
, then it is best
\n");
30645 printf ("*** to remove the old version of GTK
+. You may also be able to fix the error
\n");
30646 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable
, or by editing
\n");
30647 printf("*** /etc
/ld.so.conf. Make sure you have run ldconfig
if that is
\n");
30648 printf("*** required on your system.
\n");
30649 printf("*** If pkg
-config was wrong
, set the environment variable PKG_CONFIG_PATH
\n");
30650 printf("*** to point to the correct configuration files
\n");
30652 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
30653 (gtk_minor_version != GTK_MINOR_VERSION) ||
30654 (gtk_micro_version != GTK_MICRO_VERSION))
30656 printf("*** GTK
+ header files
(version
%d.
%d.
%d
) do not match
\n",
30657 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
30658 printf("*** library
(version
%d.
%d.
%d
)\n",
30659 gtk_major_version, gtk_minor_version, gtk_micro_version);
30663 if ((gtk_major_version > major) ||
30664 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
30665 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
30671 printf("\n*** An old version of GTK
+ (%d.
%d.
%d
) was found.
\n",
30672 gtk_major_version, gtk_minor_version, gtk_micro_version);
30673 printf("*** You need a version of GTK
+ newer than
%d.
%d.
%d. The latest version of
\n",
30674 major, minor, micro);
30675 printf("*** GTK
+ is always available from
ftp://ftp.gtk.org.
\n");
30677 printf("*** If you have already installed a sufficiently new version
, this error
\n");
30678 printf("*** probably means that the wrong copy of the pkg
-config shell
script is
\n");
30679 printf("*** being found. The easiest way to fix this is to remove the old version
\n");
30680 printf("*** of GTK
+, but you can also
set the PKG_CONFIG environment to point to the
\n");
30681 printf("*** correct copy of pkg
-config.
(In this
case, you will have to
\n");
30682 printf("*** modify your LD_LIBRARY_PATH enviroment variable
, or edit
/etc
/ld.so.conf
\n");
30683 printf("*** so that the correct libraries are found
at run
-time))\n");
30690 rm -f conftest$ac_exeext
30691 if { (ac_try="$ac_link"
30692 case "(($ac_try" in
30693 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30694 *) ac_try_echo=$ac_try;;
30696 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
30697 (eval "$ac_link") 2>&5
30699 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
30700 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
30701 { (case "(($ac_try" in
30702 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30703 *) ac_try_echo=$ac_try;;
30705 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
30706 (eval "$ac_try") 2>&5
30708 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
30709 (exit $ac_status); }; }; then
30712 echo "$as_me: program exited with status
$ac_status" >&5
30713 echo "$as_me: failed program was
:" >&5
30714 sed 's/^/| /' conftest.$ac_ext >&5
30716 ( exit $ac_status )
30719 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
30723 CFLAGS="$ac_save_CFLAGS"
30724 LIBS="$ac_save_LIBS"
30727 if test "x
$no_gtk" = x ; then
30728 { echo "$as_me:$LINENO: result
: yes (version
$gtk_config_major_version.
$gtk_config_minor_version.
$gtk_config_micro_version)" >&5
30729 echo "${ECHO_T}yes (version
$gtk_config_major_version.
$gtk_config_minor_version.
$gtk_config_micro_version)" >&6; }
30732 { echo "$as_me:$LINENO: result
: no
" >&5
30733 echo "${ECHO_T}no
" >&6; }
30734 if test "$PKG_CONFIG" = "no
" ; then
30735 echo "*** A new enough version of pkg
-config was not found.
"
30736 echo "*** See http
://pkgconfig.sourceforge.net
"
30738 if test -f conf.gtktest ; then
30741 echo "*** Could not run GTK
+ test program
, checking why...
"
30742 ac_save_CFLAGS="$CFLAGS"
30743 ac_save_LIBS="$LIBS"
30744 CFLAGS="$CFLAGS $GTK_CFLAGS"
30745 LIBS="$LIBS $GTK_LIBS"
30746 cat >conftest.$ac_ext <<_ACEOF
30749 cat confdefs.h >>conftest.$ac_ext
30750 cat >>conftest.$ac_ext <<_ACEOF
30751 /* end confdefs.h. */
30753 #include <gtk/gtk.h>
30759 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
30764 rm -f conftest.$ac_objext conftest$ac_exeext
30765 if { (ac_try="$ac_link"
30766 case "(($ac_try" in
30767 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30768 *) ac_try_echo=$ac_try;;
30770 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
30771 (eval "$ac_link") 2>conftest.er1
30773 grep -v '^ *+' conftest.er1 >conftest.err
30775 cat conftest.err >&5
30776 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
30777 (exit $ac_status); } && {
30778 test -z "$ac_c_werror_flag" ||
30779 test ! -s conftest.err
30780 } && test -s conftest$ac_exeext &&
30781 $as_test_x conftest$ac_exeext; then
30782 echo "*** The
test program compiled
, but did not run. This usually means
"
30783 echo "*** that the run
-time linker is not finding GTK
+ or finding the wrong
"
30784 echo "*** version of GTK
+. If it is not finding GTK
+, you
'll need to set your"
30785 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
30786 echo "*** to the installed location Also, make sure you have run ldconfig if that"
30787 echo "*** is required on your system"
30789 echo "*** If you have an old version installed, it is best to remove it, although"
30790 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
30792 echo "$as_me: failed program was:" >&5
30793 sed 's
/^
/| /' conftest.$ac_ext >&5
30795 echo "*** The test program failed to compile or link. See the file config.log for the"
30796 echo "*** exact error that occured. This usually means GTK+ is incorrectly installed."
30799 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30800 conftest$ac_exeext conftest.$ac_ext
30801 CFLAGS="$ac_save_CFLAGS"
30802 LIBS="$ac_save_LIBS"
30816 if test "$wxUSE_SHARED" != "yes"; then
30817 GTK_LIBS="$GTK_LIBS -lX11"
30822 if test -z "$wx_cv_lib_gtk"; then
30823 if test "x$wxGTK_VERSION" = "x1" -o "x$wxGTK_VERSION" = "xany" ; then
30825 # Check whether --with-gtk-prefix was given.
30826 if test "${with_gtk_prefix+set}" = set; then
30827 withval=$with_gtk_prefix; gtk_config_prefix="$withval"
30829 gtk_config_prefix=""
30833 # Check whether --with-gtk-exec-prefix was given.
30834 if test "${with_gtk_exec_prefix+set}" = set; then
30835 withval=$with_gtk_exec_prefix; gtk_config_exec_prefix="$withval"
30837 gtk_config_exec_prefix=""
30840 # Check whether --enable-gtktest was given.
30841 if test "${enable_gtktest+set}" = set; then
30842 enableval=$enable_gtktest;
30848 for module in . $GTK_MODULES
30852 gtk_config_args="$gtk_config_args gthread"
30857 if test x$gtk_config_exec_prefix != x ; then
30858 gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
30859 if test x${GTK_CONFIG+set} != xset ; then
30860 GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
30863 if test x$gtk_config_prefix != x ; then
30864 gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
30865 if test x${GTK_CONFIG+set} != xset ; then
30866 GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
30870 # Extract the first word of "gtk-config", so it can be a program name with args.
30871 set dummy gtk-config; ac_word=$2
30872 { echo "$as_me:$LINENO: checking for $ac_word" >&5
30873 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
30874 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
30875 echo $ECHO_N "(cached) $ECHO_C" >&6
30877 case $GTK_CONFIG in
30879 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path.
30882 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
30883 for as_dir in $PATH
30886 test -z "$as_dir" && as_dir=.
30887 for ac_exec_ext in '' $ac_executable_extensions; do
30888 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
30889 ac_cv_path_GTK_CONFIG="$as_dir/$ac_word$ac_exec_ext"
30890 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
30897 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no"
30901 GTK_CONFIG=$ac_cv_path_GTK_CONFIG
30902 if test -n "$GTK_CONFIG"; then
30903 { echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
30904 echo "${ECHO_T}$GTK_CONFIG" >&6; }
30906 { echo "$as_me:$LINENO: result: no" >&5
30907 echo "${ECHO_T}no" >&6; }
30911 min_gtk_version=1.2.7
30912 { echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
30913 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6; }
30915 if test "$GTK_CONFIG" = "no" ; then
30918 GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags`
30919 GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs`
30920 gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \
30921 sed 's
/\
([0-9]*\
).\
([0-9]*\
).\
([0-9]*\
)/\
1/'`
30922 gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \
30923 sed 's
/\
([0-9]*\
).\
([0-9]*\
).\
([0-9]*\
)/\
2/'`
30924 gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \
30925 sed 's
/\
([0-9]*\
).\
([0-9]*\
).\
([0-9]*\
)/\
3/'`
30926 if test "x$enable_gtktest" = "xyes" ; then
30927 ac_save_CFLAGS="$CFLAGS"
30928 ac_save_LIBS="$LIBS"
30929 CFLAGS="$CFLAGS $GTK_CFLAGS"
30930 LIBS="$GTK_LIBS $LIBS"
30932 if test "$cross_compiling" = yes; then
30933 echo $ac_n "cross compiling; assumed OK... $ac_c"
30935 cat >conftest.$ac_ext <<_ACEOF
30938 cat confdefs.h >>conftest.$ac_ext
30939 cat >>conftest.$ac_ext <<_ACEOF
30940 /* end confdefs.h. */
30942 #include <gtk/gtk.h>
30944 #include <stdlib.h>
30949 int major, minor, micro;
30952 system ("touch conf.gtktest");
30954 /* HP/UX 9 (%@#!) writes to sscanf strings */
30955 tmp_version = g_strdup("$min_gtk_version");
30956 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
30957 printf("%s, bad version string\n", "$min_gtk_version");
30961 if ((gtk_major_version != $gtk_config_major_version) ||
30962 (gtk_minor_version != $gtk_config_minor_version) ||
30963 (gtk_micro_version != $gtk_config_micro_version))
30965 printf("\n*** 'gtk
-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
30966 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
30967 gtk_major_version, gtk_minor_version, gtk_micro_version);
30968 printf ("*** was found! If gtk-config was correct, then it is best\n");
30969 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
30970 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
30971 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
30972 printf("*** required on your system.\n");
30973 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
30974 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
30975 printf("*** before re-running configure\n");
30977 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
30978 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
30979 (gtk_minor_version != GTK_MINOR_VERSION) ||
30980 (gtk_micro_version != GTK_MICRO_VERSION))
30982 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
30983 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
30984 printf("*** library (version %d.%d.%d)\n",
30985 gtk_major_version, gtk_minor_version, gtk_micro_version);
30987 #endif /* defined (GTK_MAJOR_VERSION) ... */
30990 if ((gtk_major_version > major) ||
30991 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
30992 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
30998 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
30999 gtk_major_version, gtk_minor_version, gtk_micro_version);
31000 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
31001 major, minor, micro);
31002 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
31004 printf("*** If you have already installed a sufficiently new version, this error\n");
31005 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
31006 printf("*** being found. The easiest way to fix this is to remove the old version\n");
31007 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
31008 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
31009 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
31010 printf("*** so that the correct libraries are found at run-time))\n");
31017 rm -f conftest$ac_exeext
31018 if { (ac_try="$ac_link"
31019 case "(($ac_try" in
31020 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31021 *) ac_try_echo=$ac_try;;
31023 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31024 (eval "$ac_link") 2>&5
31026 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31027 (exit $ac_status); } && { ac_try='.
/conftest
$ac_exeext'
31028 { (case "(($ac_try" in
31029 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31030 *) ac_try_echo=$ac_try;;
31032 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31033 (eval "$ac_try") 2>&5
31035 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31036 (exit $ac_status); }; }; then
31039 echo "$as_me: program exited with status $ac_status" >&5
31040 echo "$as_me: failed program was:" >&5
31041 sed 's
/^
/| /' conftest.$ac_ext >&5
31043 ( exit $ac_status )
31046 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
31050 CFLAGS="$ac_save_CFLAGS"
31051 LIBS="$ac_save_LIBS"
31054 if test "x$no_gtk" = x ; then
31055 { echo "$as_me:$LINENO: result: yes" >&5
31056 echo "${ECHO_T}yes" >&6; }
31057 wx_cv_lib_gtk=1.2.7
31059 { echo "$as_me:$LINENO: result: no" >&5
31060 echo "${ECHO_T}no" >&6; }
31061 if test "$GTK_CONFIG" = "no" ; then
31062 echo "*** The gtk-config script installed by GTK could not be found"
31063 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
31064 echo "*** your path, or set the GTK_CONFIG environment variable to the"
31065 echo "*** full path to gtk-config."
31067 if test -f conf.gtktest ; then
31070 echo "*** Could not run GTK test program, checking why..."
31071 CFLAGS="$CFLAGS $GTK_CFLAGS"
31072 LIBS="$LIBS $GTK_LIBS"
31073 cat >conftest.$ac_ext <<_ACEOF
31076 cat confdefs.h >>conftest.$ac_ext
31077 cat >>conftest.$ac_ext <<_ACEOF
31078 /* end confdefs.h. */
31080 #include <gtk/gtk.h>
31086 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
31091 rm -f conftest.$ac_objext conftest$ac_exeext
31092 if { (ac_try="$ac_link"
31093 case "(($ac_try" in
31094 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31095 *) ac_try_echo=$ac_try;;
31097 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31098 (eval "$ac_link") 2>conftest.er1
31100 grep -v '^
*+' conftest.er1 >conftest.err
31102 cat conftest.err >&5
31103 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31104 (exit $ac_status); } && {
31105 test -z "$ac_c_werror_flag" ||
31106 test ! -s conftest.err
31107 } && test -s conftest$ac_exeext &&
31108 $as_test_x conftest$ac_exeext; then
31109 echo "*** The test program compiled, but did not run. This usually means"
31110 echo "*** that the run-time linker is not finding GTK or finding the wrong"
31111 echo "*** version of GTK. If it is not finding GTK, you'll need to
set your
"
31112 echo "*** LD_LIBRARY_PATH environment variable
, or edit
/etc
/ld.so.conf to point
"
31113 echo "*** to the installed location Also
, make sure you have run ldconfig
if that
"
31114 echo "*** is required on your system
"
31116 echo "*** If you have an old version installed
, it is best to remove it
, although
"
31117 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH
"
31119 echo "*** If you have a RedHat
5.0 system
, you should remove the GTK package that
"
31120 echo "*** came with the system with the
command"
31122 echo "*** rpm
--erase --nodeps gtk gtk
-devel"
31124 echo "$as_me: failed program was
:" >&5
31125 sed 's/^/| /' conftest.$ac_ext >&5
31127 echo "*** The
test program failed to compile or link. See the
file config.log
for the
"
31128 echo "*** exact error that occured. This usually means GTK was incorrectly installed
"
31129 echo "*** or that you have moved GTK since it was installed. In the latter
case, you
"
31130 echo "*** may want to edit the gtk
-config script: $GTK_CONFIG"
31133 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31134 conftest$ac_exeext conftest.$ac_ext
31135 CFLAGS="$ac_save_CFLAGS"
31136 LIBS="$ac_save_LIBS"
31148 if test -z "$wx_cv_lib_gtk"; then
31150 # Check whether --with-gtk-prefix was given.
31151 if test "${with_gtk_prefix+set}" = set; then
31152 withval=$with_gtk_prefix; gtk_config_prefix="$withval"
31154 gtk_config_prefix=""
31158 # Check whether --with-gtk-exec-prefix was given.
31159 if test "${with_gtk_exec_prefix+set}" = set; then
31160 withval=$with_gtk_exec_prefix; gtk_config_exec_prefix="$withval"
31162 gtk_config_exec_prefix=""
31165 # Check whether --enable-gtktest was given.
31166 if test "${enable_gtktest+set}" = set; then
31167 enableval=$enable_gtktest;
31173 for module in . $GTK_MODULES
31177 gtk_config_args="$gtk_config_args gthread
"
31182 if test x$gtk_config_exec_prefix != x ; then
31183 gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
31184 if test x${GTK_CONFIG+set} != xset ; then
31185 GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
31188 if test x$gtk_config_prefix != x ; then
31189 gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
31190 if test x${GTK_CONFIG+set} != xset ; then
31191 GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
31195 # Extract the first word of "gtk
-config", so it can be a program name with args.
31196 set dummy gtk-config; ac_word=$2
31197 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
31198 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
31199 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
31200 echo $ECHO_N "(cached
) $ECHO_C" >&6
31202 case $GTK_CONFIG in
31204 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path.
31207 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
31208 for as_dir in $PATH
31211 test -z "$as_dir" && as_dir=.
31212 for ac_exec_ext in '' $ac_executable_extensions; do
31213 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
31214 ac_cv_path_GTK_CONFIG="$as_dir/$ac_word$ac_exec_ext"
31215 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
31222 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no
"
31226 GTK_CONFIG=$ac_cv_path_GTK_CONFIG
31227 if test -n "$GTK_CONFIG"; then
31228 { echo "$as_me:$LINENO: result
: $GTK_CONFIG" >&5
31229 echo "${ECHO_T}$GTK_CONFIG" >&6; }
31231 { echo "$as_me:$LINENO: result
: no
" >&5
31232 echo "${ECHO_T}no
" >&6; }
31236 min_gtk_version=1.2.3
31237 { echo "$as_me:$LINENO: checking
for GTK
- version
>= $min_gtk_version" >&5
31238 echo $ECHO_N "checking
for GTK
- version
>= $min_gtk_version...
$ECHO_C" >&6; }
31240 if test "$GTK_CONFIG" = "no
" ; then
31243 GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags`
31244 GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs`
31245 gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \
31246 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
31247 gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \
31248 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
31249 gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \
31250 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
31251 if test "x
$enable_gtktest" = "xyes
" ; then
31252 ac_save_CFLAGS="$CFLAGS"
31253 ac_save_LIBS="$LIBS"
31254 CFLAGS="$CFLAGS $GTK_CFLAGS"
31255 LIBS="$GTK_LIBS $LIBS"
31257 if test "$cross_compiling" = yes; then
31258 echo $ac_n "cross compiling
; assumed OK...
$ac_c"
31260 cat >conftest.$ac_ext <<_ACEOF
31263 cat confdefs.h >>conftest.$ac_ext
31264 cat >>conftest.$ac_ext <<_ACEOF
31265 /* end confdefs.h. */
31267 #include <gtk/gtk.h>
31269 #include <stdlib.h>
31274 int major, minor, micro;
31277 system ("touch conf.gtktest
");
31279 /* HP/UX 9 (%@#!) writes to sscanf strings */
31280 tmp_version = g_strdup("$min_gtk_version");
31281 if (sscanf(tmp_version, "%d.
%d.
%d
", &major, &minor, µ) != 3) {
31282 printf("%s
, bad version string
\n", "$min_gtk_version");
31286 if ((gtk_major_version != $gtk_config_major_version) ||
31287 (gtk_minor_version != $gtk_config_minor_version) ||
31288 (gtk_micro_version != $gtk_config_micro_version))
31290 printf("\n*** 'gtk-config --version' returned
%d.
%d.
%d
, but GTK
+ (%d.
%d.
%d
)\n",
31291 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
31292 gtk_major_version, gtk_minor_version, gtk_micro_version);
31293 printf ("*** was found
! If gtk
-config was correct
, then it is best
\n");
31294 printf ("*** to remove the old version of GTK
+. You may also be able to fix the error
\n");
31295 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable
, or by editing
\n");
31296 printf("*** /etc
/ld.so.conf. Make sure you have run ldconfig
if that is
\n");
31297 printf("*** required on your system.
\n");
31298 printf("*** If gtk
-config was wrong
, set the environment variable GTK_CONFIG
\n");
31299 printf("*** to point to the correct copy of gtk
-config, and remove the
file config.cache
\n");
31300 printf("*** before re
-running configure
\n");
31302 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
31303 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
31304 (gtk_minor_version != GTK_MINOR_VERSION) ||
31305 (gtk_micro_version != GTK_MICRO_VERSION))
31307 printf("*** GTK
+ header files
(version
%d.
%d.
%d
) do not match
\n",
31308 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
31309 printf("*** library
(version
%d.
%d.
%d
)\n",
31310 gtk_major_version, gtk_minor_version, gtk_micro_version);
31312 #endif /* defined (GTK_MAJOR_VERSION) ... */
31315 if ((gtk_major_version > major) ||
31316 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
31317 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
31323 printf("\n*** An old version of GTK
+ (%d.
%d.
%d
) was found.
\n",
31324 gtk_major_version, gtk_minor_version, gtk_micro_version);
31325 printf("*** You need a version of GTK
+ newer than
%d.
%d.
%d. The latest version of
\n",
31326 major, minor, micro);
31327 printf("*** GTK
+ is always available from
ftp://ftp.gtk.org.
\n");
31329 printf("*** If you have already installed a sufficiently new version
, this error
\n");
31330 printf("*** probably means that the wrong copy of the gtk
-config shell
script is
\n");
31331 printf("*** being found. The easiest way to fix this is to remove the old version
\n");
31332 printf("*** of GTK
+, but you can also
set the GTK_CONFIG environment to point to the
\n");
31333 printf("*** correct copy of gtk
-config.
(In this
case, you will have to
\n");
31334 printf("*** modify your LD_LIBRARY_PATH enviroment variable
, or edit
/etc
/ld.so.conf
\n");
31335 printf("*** so that the correct libraries are found
at run
-time))\n");
31342 rm -f conftest$ac_exeext
31343 if { (ac_try="$ac_link"
31344 case "(($ac_try" in
31345 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31346 *) ac_try_echo=$ac_try;;
31348 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
31349 (eval "$ac_link") 2>&5
31351 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
31352 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
31353 { (case "(($ac_try" in
31354 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31355 *) ac_try_echo=$ac_try;;
31357 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
31358 (eval "$ac_try") 2>&5
31360 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
31361 (exit $ac_status); }; }; then
31364 echo "$as_me: program exited with status
$ac_status" >&5
31365 echo "$as_me: failed program was
:" >&5
31366 sed 's/^/| /' conftest.$ac_ext >&5
31368 ( exit $ac_status )
31371 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
31375 CFLAGS="$ac_save_CFLAGS"
31376 LIBS="$ac_save_LIBS"
31379 if test "x
$no_gtk" = x ; then
31380 { echo "$as_me:$LINENO: result
: yes" >&5
31381 echo "${ECHO_T}yes" >&6; }
31382 wx_cv_lib_gtk=1.2.3
31384 { echo "$as_me:$LINENO: result
: no
" >&5
31385 echo "${ECHO_T}no
" >&6; }
31386 if test "$GTK_CONFIG" = "no
" ; then
31387 echo "*** The gtk
-config script installed by GTK could not be found
"
31388 echo "*** If GTK was installed
in PREFIX
, make sure PREFIX
/bin is
in"
31389 echo "*** your path
, or
set the GTK_CONFIG environment variable to the
"
31390 echo "*** full path to gtk
-config.
"
31392 if test -f conf.gtktest ; then
31395 echo "*** Could not run GTK
test program
, checking why...
"
31396 CFLAGS="$CFLAGS $GTK_CFLAGS"
31397 LIBS="$LIBS $GTK_LIBS"
31398 cat >conftest.$ac_ext <<_ACEOF
31401 cat confdefs.h >>conftest.$ac_ext
31402 cat >>conftest.$ac_ext <<_ACEOF
31403 /* end confdefs.h. */
31405 #include <gtk/gtk.h>
31411 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
31416 rm -f conftest.$ac_objext conftest$ac_exeext
31417 if { (ac_try="$ac_link"
31418 case "(($ac_try" in
31419 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31420 *) ac_try_echo=$ac_try;;
31422 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
31423 (eval "$ac_link") 2>conftest.er1
31425 grep -v '^ *+' conftest.er1 >conftest.err
31427 cat conftest.err >&5
31428 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
31429 (exit $ac_status); } && {
31430 test -z "$ac_c_werror_flag" ||
31431 test ! -s conftest.err
31432 } && test -s conftest$ac_exeext &&
31433 $as_test_x conftest$ac_exeext; then
31434 echo "*** The
test program compiled
, but did not run. This usually means
"
31435 echo "*** that the run
-time linker is not finding GTK or finding the wrong
"
31436 echo "*** version of GTK. If it is not finding GTK
, you
'll need to set your"
31437 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
31438 echo "*** to the installed location Also, make sure you have run ldconfig if that"
31439 echo "*** is required on your system"
31441 echo "*** If you have an old version installed, it is best to remove it, although"
31442 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
31444 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
31445 echo "*** came with the system with the command"
31447 echo "*** rpm --erase --nodeps gtk gtk-devel"
31449 echo "$as_me: failed program was:" >&5
31450 sed 's
/^
/| /' conftest.$ac_ext >&5
31452 echo "*** The test program failed to compile or link. See the file config.log for the"
31453 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
31454 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
31455 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
31458 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31459 conftest$ac_exeext conftest.$ac_ext
31460 CFLAGS="$ac_save_CFLAGS"
31461 LIBS="$ac_save_LIBS"
31476 if test -z "$wx_cv_lib_gtk"; then
31479 wx_cv_cflags_gtk=$GTK_CFLAGS
31480 wx_cv_libs_gtk=`echo $GTK_LIBS | sed -e 's
/ -l[^
]*cairo
[^
]*//g
'`
31487 if test "$gtk_version_cached" = 1; then
31488 { echo "$as_me:$LINENO: result: $wx_cv_lib_gtk" >&5
31489 echo "${ECHO_T}$wx_cv_lib_gtk" >&6; }
31492 case "$wx_cv_lib_gtk" in
31501 *) { { echo "$as_me:$LINENO: error:
31502 The development files for GTK+ were not found. For GTK+ 2, please
31503 ensure that pkg-config is in the path and that gtk+-2.0.pc is
31504 installed. For GTK+ 1.2 please check that gtk-config is in the path,
31505 and that the version is 1.2.3 or above. Also check that the
31506 libraries returned by 'pkg
-config gtk
+-2.0
--libs' or 'gtk
-config
31507 --libs' are in the LD_LIBRARY_PATH or equivalent.
31509 echo "$as_me: error:
31510 The development files for GTK+ were not found. For GTK+ 2, please
31511 ensure that pkg-config is in the path and that gtk+-2.0.pc is
31512 installed. For GTK+ 1.2 please check that gtk-config is in the path,
31513 and that the version is 1.2.3 or above. Also check that the
31514 libraries returned by 'pkg
-config gtk
+-2.0
--libs' or 'gtk
-config
31515 --libs' are in the LD_LIBRARY_PATH or equivalent.
31517 { (exit 1); exit 1; }; }
31521 if test "$WXGTK20" = 1; then
31522 save_CFLAGS="$CFLAGS"
31524 CFLAGS="$wx_cv_cflags_gtk $CFLAGS"
31525 LIBS="$LIBS $wx_cv_libs_gtk"
31527 { echo "$as_me:$LINENO: checking whether gtk_icon_size_lookup is declared" >&5
31528 echo $ECHO_N "checking whether gtk_icon_size_lookup is declared... $ECHO_C" >&6; }
31529 if test "${ac_cv_have_decl_gtk_icon_size_lookup+set}" = set; then
31530 echo $ECHO_N "(cached) $ECHO_C" >&6
31532 cat >conftest.$ac_ext <<_ACEOF
31535 cat confdefs.h >>conftest.$ac_ext
31536 cat >>conftest.$ac_ext <<_ACEOF
31537 /* end confdefs.h. */
31538 #include <gtk/gtk.h>
31543 #ifndef gtk_icon_size_lookup
31544 (void) gtk_icon_size_lookup;
31551 rm -f conftest.$ac_objext
31552 if { (ac_try="$ac_compile"
31553 case "(($ac_try" in
31554 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31555 *) ac_try_echo=$ac_try;;
31557 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31558 (eval "$ac_compile") 2>conftest.er1
31560 grep -v '^
*+' conftest.er1 >conftest.err
31562 cat conftest.err >&5
31563 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31564 (exit $ac_status); } && {
31565 test -z "$ac_c_werror_flag" ||
31566 test ! -s conftest.err
31567 } && test -s conftest.$ac_objext; then
31568 ac_cv_have_decl_gtk_icon_size_lookup=yes
31570 echo "$as_me: failed program was:" >&5
31571 sed 's
/^
/| /' conftest.$ac_ext >&5
31573 ac_cv_have_decl_gtk_icon_size_lookup=no
31576 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31578 { echo "$as_me:$LINENO: result: $ac_cv_have_decl_gtk_icon_size_lookup" >&5
31579 echo "${ECHO_T}$ac_cv_have_decl_gtk_icon_size_lookup" >&6; }
31580 if test $ac_cv_have_decl_gtk_icon_size_lookup = yes; then
31582 cat >>confdefs.h <<_ACEOF
31583 #define HAVE_DECL_GTK_ICON_SIZE_LOOKUP 1
31588 cat >>confdefs.h <<_ACEOF
31589 #define HAVE_DECL_GTK_ICON_SIZE_LOOKUP 0
31592 cat >>confdefs.h <<\_ACEOF
31593 #define NEED_GTK_ICON_SIZE_LOOKUP 1
31601 { echo "$as_me:$LINENO: checking if GTK+ is version >= 2.10" >&5
31602 echo $ECHO_N "checking if GTK+ is version >= 2.10... $ECHO_C" >&6; }
31603 cat >conftest.$ac_ext <<_ACEOF
31606 cat confdefs.h >>conftest.$ac_ext
31607 cat >>conftest.$ac_ext <<_ACEOF
31608 /* end confdefs.h. */
31610 #include <gtk/gtk.h>
31616 #if !GTK_CHECK_VERSION(2,10,0)
31624 rm -f conftest.$ac_objext
31625 if { (ac_try="$ac_compile"
31626 case "(($ac_try" in
31627 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31628 *) ac_try_echo=$ac_try;;
31630 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31631 (eval "$ac_compile") 2>conftest.er1
31633 grep -v '^
*+' conftest.er1 >conftest.err
31635 cat conftest.err >&5
31636 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31637 (exit $ac_status); } && {
31638 test -z "$ac_c_werror_flag" ||
31639 test ! -s conftest.err
31640 } && test -s conftest.$ac_objext; then
31642 cat >>confdefs.h <<\_ACEOF
31643 #define __WXGTK210__ 1
31646 cat >>confdefs.h <<\_ACEOF
31647 #define __WXGTK26__ 1
31650 cat >>confdefs.h <<\_ACEOF
31651 #define __WXGTK24__ 1
31654 { echo "$as_me:$LINENO: result: yes" >&5
31655 echo "${ECHO_T}yes" >&6; }
31659 echo "$as_me: failed program was:" >&5
31660 sed 's
/^
/| /' conftest.$ac_ext >&5
31663 { echo "$as_me:$LINENO: result: no" >&5
31664 echo "${ECHO_T}no" >&6; }
31669 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31671 if test "$ac_wxgtk210" = 0; then
31672 { echo "$as_me:$LINENO: checking if GTK+ is version >= 2.6" >&5
31673 echo $ECHO_N "checking if GTK+ is version >= 2.6... $ECHO_C" >&6; }
31674 cat >conftest.$ac_ext <<_ACEOF
31677 cat confdefs.h >>conftest.$ac_ext
31678 cat >>conftest.$ac_ext <<_ACEOF
31679 /* end confdefs.h. */
31681 #include <gtk/gtk.h>
31687 #if !GTK_CHECK_VERSION(2,6,0)
31695 rm -f conftest.$ac_objext
31696 if { (ac_try="$ac_compile"
31697 case "(($ac_try" in
31698 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31699 *) ac_try_echo=$ac_try;;
31701 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31702 (eval "$ac_compile") 2>conftest.er1
31704 grep -v '^
*+' conftest.er1 >conftest.err
31706 cat conftest.err >&5
31707 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31708 (exit $ac_status); } && {
31709 test -z "$ac_c_werror_flag" ||
31710 test ! -s conftest.err
31711 } && test -s conftest.$ac_objext; then
31713 cat >>confdefs.h <<\_ACEOF
31714 #define __WXGTK26__ 1
31717 cat >>confdefs.h <<\_ACEOF
31718 #define __WXGTK24__ 1
31721 { echo "$as_me:$LINENO: result: yes" >&5
31722 echo "${ECHO_T}yes" >&6; }
31726 echo "$as_me: failed program was:" >&5
31727 sed 's
/^
/| /' conftest.$ac_ext >&5
31730 { echo "$as_me:$LINENO: result: no" >&5
31731 echo "${ECHO_T}no" >&6; }
31736 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31739 if test "$ac_wxgtk26" = 0; then
31740 { echo "$as_me:$LINENO: checking if GTK+ is version >= 2.4" >&5
31741 echo $ECHO_N "checking if GTK+ is version >= 2.4... $ECHO_C" >&6; }
31742 cat >conftest.$ac_ext <<_ACEOF
31745 cat confdefs.h >>conftest.$ac_ext
31746 cat >>conftest.$ac_ext <<_ACEOF
31747 /* end confdefs.h. */
31749 #include <gtk/gtk.h>
31755 #if !GTK_CHECK_VERSION(2,4,0)
31763 rm -f conftest.$ac_objext
31764 if { (ac_try="$ac_compile"
31765 case "(($ac_try" in
31766 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31767 *) ac_try_echo=$ac_try;;
31769 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31770 (eval "$ac_compile") 2>conftest.er1
31772 grep -v '^
*+' conftest.er1 >conftest.err
31774 cat conftest.err >&5
31775 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31776 (exit $ac_status); } && {
31777 test -z "$ac_c_werror_flag" ||
31778 test ! -s conftest.err
31779 } && test -s conftest.$ac_objext; then
31781 cat >>confdefs.h <<\_ACEOF
31782 #define __WXGTK24__ 1
31785 { echo "$as_me:$LINENO: result: yes" >&5
31786 echo "${ECHO_T}yes" >&6; }
31789 echo "$as_me: failed program was:" >&5
31790 sed 's
/^
/| /' conftest.$ac_ext >&5
31793 { echo "$as_me:$LINENO: result: no" >&5
31794 echo "${ECHO_T}no" >&6; }
31798 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31801 CFLAGS="$save_CFLAGS"
31804 if test "$wxUSE_UNICODE" = "yes"; then
31805 { echo "$as_me:$LINENO: WARNING: Unicode configuration not supported with GTK+ 1.x" >&5
31806 echo "$as_me: WARNING: Unicode configuration not supported with GTK+ 1.x" >&2;}
31810 { echo "$as_me:$LINENO: checking for gdk_im_open in -lgdk" >&5
31811 echo $ECHO_N "checking for gdk_im_open in -lgdk... $ECHO_C" >&6; }
31812 if test "${ac_cv_lib_gdk_gdk_im_open+set}" = set; then
31813 echo $ECHO_N "(cached) $ECHO_C" >&6
31815 ac_check_lib_save_LIBS=$LIBS
31817 cat >conftest.$ac_ext <<_ACEOF
31820 cat confdefs.h >>conftest.$ac_ext
31821 cat >>conftest.$ac_ext <<_ACEOF
31822 /* end confdefs.h. */
31824 /* Override any GCC internal prototype to avoid an error.
31825 Use char because int might match the return type of a GCC
31826 builtin and then its argument prototype would still apply. */
31830 char gdk_im_open ();
31834 return gdk_im_open ();
31839 rm -f conftest.$ac_objext conftest$ac_exeext
31840 if { (ac_try="$ac_link"
31841 case "(($ac_try" in
31842 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31843 *) ac_try_echo=$ac_try;;
31845 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31846 (eval "$ac_link") 2>conftest.er1
31848 grep -v '^
*+' conftest.er1 >conftest.err
31850 cat conftest.err >&5
31851 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31852 (exit $ac_status); } && {
31853 test -z "$ac_c_werror_flag" ||
31854 test ! -s conftest.err
31855 } && test -s conftest$ac_exeext &&
31856 $as_test_x conftest$ac_exeext; then
31857 ac_cv_lib_gdk_gdk_im_open=yes
31859 echo "$as_me: failed program was:" >&5
31860 sed 's
/^
/| /' conftest.$ac_ext >&5
31862 ac_cv_lib_gdk_gdk_im_open=no
31865 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31866 conftest$ac_exeext conftest.$ac_ext
31867 LIBS=$ac_check_lib_save_LIBS
31869 { echo "$as_me:$LINENO: result: $ac_cv_lib_gdk_gdk_im_open" >&5
31870 echo "${ECHO_T}$ac_cv_lib_gdk_gdk_im_open" >&6; }
31871 if test $ac_cv_lib_gdk_gdk_im_open = yes; then
31872 cat >>confdefs.h <<\_ACEOF
31879 if test "$USE_DARWIN" != 1; then
31881 for ac_func in poll
31883 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31884 { echo "$as_me:$LINENO: checking for $ac_func" >&5
31885 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
31886 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
31887 echo $ECHO_N "(cached) $ECHO_C" >&6
31889 cat >conftest.$ac_ext <<_ACEOF
31892 cat confdefs.h >>conftest.$ac_ext
31893 cat >>conftest.$ac_ext <<_ACEOF
31894 /* end confdefs.h. */
31895 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31896 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31897 #define $ac_func innocuous_$ac_func
31899 /* System header to define __stub macros and hopefully few prototypes,
31900 which can conflict with char $ac_func (); below.
31901 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31902 <limits.h> exists even on freestanding compilers. */
31905 # include <limits.h>
31907 # include <assert.h>
31912 /* Override any GCC internal prototype to avoid an error.
31913 Use char because int might match the return type of a GCC
31914 builtin and then its argument prototype would still apply. */
31919 /* The GNU C library defines this for functions which it implements
31920 to always fail with ENOSYS. Some functions are actually named
31921 something starting with __ and the normal name is an alias. */
31922 #if defined __stub_$ac_func || defined __stub___$ac_func
31929 return $ac_func ();
31934 rm -f conftest.$ac_objext conftest$ac_exeext
31935 if { (ac_try="$ac_link"
31936 case "(($ac_try" in
31937 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31938 *) ac_try_echo=$ac_try;;
31940 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31941 (eval "$ac_link") 2>conftest.er1
31943 grep -v '^
*+' conftest.er1 >conftest.err
31945 cat conftest.err >&5
31946 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31947 (exit $ac_status); } && {
31948 test -z "$ac_c_werror_flag" ||
31949 test ! -s conftest.err
31950 } && test -s conftest$ac_exeext &&
31951 $as_test_x conftest$ac_exeext; then
31952 eval "$as_ac_var=yes"
31954 echo "$as_me: failed program was:" >&5
31955 sed 's
/^
/| /' conftest.$ac_ext >&5
31957 eval "$as_ac_var=no"
31960 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31961 conftest$ac_exeext conftest.$ac_ext
31963 ac_res=`eval echo '${'$as_ac_var'}'`
31964 { echo "$as_me:$LINENO: result: $ac_res" >&5
31965 echo "${ECHO_T}$ac_res" >&6; }
31966 if test `eval echo '${'$as_ac_var'}'` = yes; then
31967 cat >>confdefs.h <<_ACEOF
31968 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31977 TOOLKIT_INCLUDE="$wx_cv_cflags_gtk"
31978 GUI_TK_LIBRARY="$wx_cv_libs_gtk $GUI_TK_LIBRARY"
31980 AFMINSTALL=afminstall
31984 if test "$wxUSE_GPE" = "yes"; then
31985 { echo "$as_me:$LINENO: checking for gpewidget library" >&5
31986 echo $ECHO_N "checking for gpewidget library... $ECHO_C" >&6; }
31989 for ac_dir in $SEARCH_LIB;
31991 for ac_extension in a so sl dylib dll.a; do
31992 if test -f "$ac_dir/libgpewidget.$ac_extension"; then
31993 ac_find_libraries=$ac_dir
31999 if test "$ac_find_libraries" != "" ; then
32001 if test "$ac_find_libraries" = "default location"; then
32004 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
32006 if test $result = 0; then
32009 ac_path_to_link=" -L$ac_find_libraries"
32013 GUI_TK_LIBRARY="-L${prefix}/lib -lgpewidget $GUI_TK_LIBRARY"
32015 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
32016 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
32018 { echo "$as_me:$LINENO: result: not found" >&5
32019 echo "${ECHO_T}not found" >&6; }
32025 if test "$wxUSE_MGL" = 1; then
32026 { echo "$as_me:$LINENO: checking for SciTech MGL library" >&5
32027 echo $ECHO_N "checking for SciTech MGL library... $ECHO_C" >&6; }
32028 if test "x$MGL_ROOT" = x ; then
32029 { echo "$as_me:$LINENO: result: not found" >&5
32030 echo "${ECHO_T}not found" >&6; }
32031 { { echo "$as_me:$LINENO: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&5
32032 echo "$as_me: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&2;}
32033 { (exit 1); exit 1; }; }
32035 { echo "$as_me:$LINENO: result: $MGL_ROOT" >&5
32036 echo "${ECHO_T}$MGL_ROOT" >&6; }
32039 { echo "$as_me:$LINENO: checking for libmgl location" >&5
32040 echo $ECHO_N "checking for libmgl location... $ECHO_C" >&6; }
32043 if test "x$wxUSE_SHARED" = xyes ; then
32044 mgl_os_candidates="linux/gcc/x86/so linux/gcc/x86/a linux/gcc/glibc.so linux/gcc/glibc"
32046 mgl_os_candidates="linux/gcc/x86/a linux/gcc/x86/so linux/gcc/glibc linux/gcc/glibc.so"
32050 mgl_os_candidates="dos32/dj2"
32053 { { echo "$as_me:$LINENO: error: This system type ${host} is not yet supported by wxMGL." >&5
32054 echo "$as_me: error: This system type ${host} is not yet supported by wxMGL." >&2;}
32055 { (exit 1); exit 1; }; }
32061 for mgl_os_i in $mgl_os_candidates ; do
32062 if test "x$mgl_os" = x ; then
32063 if test "$wxUSE_DEBUG_FLAG" = yes ; then
32064 if test -f $MGL_ROOT/lib/debug/$mgl_os_i/libmgl.a -o \
32065 -f $MGL_ROOT/lib/debug/$mgl_os_i/libmgl.so; then
32070 if test "x$mgl_lib_type" = x ; then
32071 if test -f $MGL_ROOT/lib/release/$mgl_os_i/libmgl.a -o \
32072 -f $MGL_ROOT/lib/release/$mgl_os_i/libmgl.so; then
32073 mgl_lib_type=release
32080 if test "x$mgl_os" = x ; then
32081 { echo "$as_me:$LINENO: result: not found" >&5
32082 echo "${ECHO_T}not found" >&6; }
32083 { { echo "$as_me:$LINENO: error: Cannot find MGL libraries, make sure they are compiled." >&5
32084 echo "$as_me: error: Cannot find MGL libraries, make sure they are compiled." >&2;}
32085 { (exit 1); exit 1; }; }
32087 { echo "$as_me:$LINENO: result: \"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&5
32088 echo "${ECHO_T}\"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&6; }
32090 wxUSE_UNIVERSAL="yes"
32092 TOOLKIT_INCLUDE="-I$MGL_ROOT/include"
32093 GUI_TK_LIBRARY="-L$MGL_ROOT/lib/$mgl_lib_type/$mgl_os -lmgl -lmglcpp -lpm"
32095 AFMINSTALL=afminstall
32100 if test "$wxUSE_DFB" = 1; then
32103 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
32104 if test -n "$ac_tool_prefix"; then
32105 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
32106 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
32107 { echo "$as_me:$LINENO: checking for $ac_word" >&5
32108 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
32109 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
32110 echo $ECHO_N "(cached) $ECHO_C" >&6
32112 case $PKG_CONFIG in
32114 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
32117 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
32118 for as_dir in $PATH
32121 test -z "$as_dir" && as_dir=.
32122 for ac_exec_ext in '' $ac_executable_extensions; do
32123 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
32124 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
32125 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
32135 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
32136 if test -n "$PKG_CONFIG"; then
32137 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
32138 echo "${ECHO_T}$PKG_CONFIG" >&6; }
32140 { echo "$as_me:$LINENO: result: no" >&5
32141 echo "${ECHO_T}no" >&6; }
32146 if test -z "$ac_cv_path_PKG_CONFIG"; then
32147 ac_pt_PKG_CONFIG=$PKG_CONFIG
32148 # Extract the first word of "pkg-config", so it can be a program name with args.
32149 set dummy pkg-config; ac_word=$2
32150 { echo "$as_me:$LINENO: checking for $ac_word" >&5
32151 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
32152 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
32153 echo $ECHO_N "(cached) $ECHO_C" >&6
32155 case $ac_pt_PKG_CONFIG in
32157 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
32160 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
32161 for as_dir in $PATH
32164 test -z "$as_dir" && as_dir=.
32165 for ac_exec_ext in '' $ac_executable_extensions; do
32166 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
32167 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
32168 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
32178 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
32179 if test -n "$ac_pt_PKG_CONFIG"; then
32180 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
32181 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
32183 { echo "$as_me:$LINENO: result: no" >&5
32184 echo "${ECHO_T}no" >&6; }
32187 if test "x$ac_pt_PKG_CONFIG" = x; then
32190 case $cross_compiling:$ac_tool_warned in
32192 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
32193 whose name does not start with the host triplet. If you think this
32194 configuration is useful to you, please write to autoconf@gnu.org." >&5
32195 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
32196 whose name does not start with the host triplet. If you think this
32197 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
32198 ac_tool_warned=yes ;;
32200 PKG_CONFIG=$ac_pt_PKG_CONFIG
32203 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
32207 if test -n "$PKG_CONFIG"; then
32208 _pkg_min_version=0.9.0
32209 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
32210 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
32211 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
32212 { echo "$as_me:$LINENO: result: yes" >&5
32213 echo "${ECHO_T}yes" >&6; }
32215 { echo "$as_me:$LINENO: result: no" >&5
32216 echo "${ECHO_T}no" >&6; }
32224 { echo "$as_me:$LINENO: checking for DIRECTFB" >&5
32225 echo $ECHO_N "checking for DIRECTFB... $ECHO_C" >&6; }
32227 if test -n "$PKG_CONFIG"; then
32228 if test -n "$DIRECTFB_CFLAGS"; then
32229 pkg_cv_DIRECTFB_CFLAGS="$DIRECTFB_CFLAGS"
32231 if test -n "$PKG_CONFIG" && \
32232 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"directfb >= 0.9.23\"") >&5
32233 ($PKG_CONFIG --exists --print-errors "directfb >= 0.9.23") 2>&5
32235 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32236 (exit $ac_status); }; then
32237 pkg_cv_DIRECTFB_CFLAGS=`$PKG_CONFIG --cflags "directfb >= 0.9.23" 2>/dev/null`
32245 if test -n "$PKG_CONFIG"; then
32246 if test -n "$DIRECTFB_LIBS"; then
32247 pkg_cv_DIRECTFB_LIBS="$DIRECTFB_LIBS"
32249 if test -n "$PKG_CONFIG" && \
32250 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"directfb >= 0.9.23\"") >&5
32251 ($PKG_CONFIG --exists --print-errors "directfb >= 0.9.23") 2>&5
32253 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32254 (exit $ac_status); }; then
32255 pkg_cv_DIRECTFB_LIBS=`$PKG_CONFIG --libs "directfb >= 0.9.23" 2>/dev/null`
32266 if test $pkg_failed = yes; then
32268 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
32269 _pkg_short_errors_supported=yes
32271 _pkg_short_errors_supported=no
32273 if test $_pkg_short_errors_supported = yes; then
32274 DIRECTFB_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "directfb >= 0.9.23"`
32276 DIRECTFB_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "directfb >= 0.9.23"`
32278 # Put the nasty error message in config.log where it belongs
32279 echo "$DIRECTFB_PKG_ERRORS" >&5
32282 { { echo "$as_me:$LINENO: error: DirectFB not found." >&5
32283 echo "$as_me: error: DirectFB not found." >&2;}
32284 { (exit 1); exit 1; }; }
32287 elif test $pkg_failed = untried; then
32289 { { echo "$as_me:$LINENO: error: DirectFB not found." >&5
32290 echo "$as_me: error: DirectFB not found." >&2;}
32291 { (exit 1); exit 1; }; }
32295 DIRECTFB_CFLAGS=$pkg_cv_DIRECTFB_CFLAGS
32296 DIRECTFB_LIBS=$pkg_cv_DIRECTFB_LIBS
32297 { echo "$as_me:$LINENO: result: yes" >&5
32298 echo "${ECHO_T}yes" >&6; }
32300 wxUSE_UNIVERSAL="yes"
32301 TOOLKIT_INCLUDE="$DIRECTFB_CFLAGS"
32302 GUI_TK_LIBRARY="$DIRECTFB_LIBS"
32309 if test "$wxUSE_MICROWIN" = 1; then
32310 { echo "$as_me:$LINENO: checking for MicroWindows" >&5
32311 echo $ECHO_N "checking for MicroWindows... $ECHO_C" >&6; }
32312 if test "x$MICROWINDOWS" = x ; then
32313 { echo "$as_me:$LINENO: result: not found" >&5
32314 echo "${ECHO_T}not found" >&6; }
32315 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&5
32316 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&2;}
32317 { (exit 1); exit 1; }; }
32319 { echo "$as_me:$LINENO: result: $MICROWINDOWS" >&5
32320 echo "${ECHO_T}$MICROWINDOWS" >&6; }
32323 if test -f $MICROWINDOWS/lib/libmwin.a; then
32324 { echo "$as_me:$LINENO: result: MicroWindows' libraries found.
" >&5
32325 echo "${ECHO_T}MicroWindows
' libraries found." >&6; }
32327 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows libraries, make sure they are compiled." >&5
32328 echo "$as_me: error: Cannot find MicroWindows libraries, make sure they are compiled." >&2;}
32329 { (exit 1); exit 1; }; }
32332 TOOLKIT_INCLUDE="-I$MICROWINDOWS/include"
32333 GUI_TK_LIBRARY="-L$MICROWINDOWS/lib -lmwin -lmwengine -mwfonts -mwdrivers -mwinlib"
32335 wxUSE_UNIVERSAL="yes"
32337 AFMINSTALL=afminstall
32339 GUIDIST=MICROWIN_DIST
32341 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXMSW__ -D__WIN95__ -D__WIN32__ -DMWIN -DMICROWIN_NOCONTROLS -DMICROWIN_TODO=1"
32344 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
32345 { echo "$as_me:$LINENO: checking for X" >&5
32346 echo $ECHO_N "checking for X... $ECHO_C" >&6; }
32349 # Check whether --with-x was given.
32350 if test "${with_x+set}" = set; then
32354 # $have_x is `yes', `no', `disabled
', or empty when we do not yet know.
32355 if test "x$with_x" = xno; then
32356 # The user explicitly disabled X.
32359 case $x_includes,$x_libraries in #(
32360 *\'*) { { echo "$as_me:$LINENO: error: Cannot use X directory names containing '" >&5
32361 echo "$as_me: error
: Cannot use X directory names containing
'" >&2;}
32362 { (exit 1); exit 1; }; };; #(
32363 *,NONE | NONE,*) if test "${ac_cv_have_x+set}" = set; then
32364 echo $ECHO_N "(cached) $ECHO_C" >&6
32366 # One or both of the vars are not set, and there is no cached value.
32367 ac_x_includes=no ac_x_libraries=no
32368 rm -f -r conftest.dir
32369 if mkdir conftest.dir; then
32371 cat >Imakefile <<'_ACEOF'
32373 @echo incroot='${INCROOT}'
32375 @echo usrlibdir='${USRLIBDIR}'
32377 @echo libdir='${LIBDIR}'
32379 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
32380 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
32381 for ac_var in incroot usrlibdir libdir; do
32382 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's
/^
$ac_var=//p
'\`"
32384 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
32385 for ac_extension in a so sl; do
32386 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
32387 test -f "$ac_im_libdir/libX11.$ac_extension"; then
32388 ac_im_usrlibdir=$ac_im_libdir; break
32391 # Screen out bogus values from the imake configuration. They are
32392 # bogus both because they are the default anyway, and because
32393 # using them would break gcc on systems where it needs fixed includes.
32394 case $ac_im_incroot in
32395 /usr/include) ac_x_includes= ;;
32396 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
32398 case $ac_im_usrlibdir in
32399 /usr/lib | /lib) ;;
32400 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
32404 rm -f -r conftest.dir
32407 # Standard set of common directories for X headers.
32408 # Check X11 before X11Rn because it is often a symlink to the current release.
32420 /usr
/local
/X
11/include
32421 /usr
/local
/X
11R
6/include
32422 /usr
/local
/X
11R
5/include
32423 /usr
/local
/X
11R
4/include
32425 /usr
/local
/include
/X11
32426 /usr
/local
/include
/X11R6
32427 /usr
/local
/include
/X11R5
32428 /usr
/local
/include
/X11R4
32432 /usr
/XFree
86/include
/X11
32436 /usr
/unsupported
/include
32437 /usr
/athena
/include
32438 /usr
/local
/x
11r
5/include
32439 /usr
/lpp
/Xamples
/include
32441 /usr
/openwin
/include
32442 /usr
/openwin
/share
/include
'
32444 if test "$ac_x_includes" = no; then
32445 # Guess where to find include files, by looking for Xlib.h.
32446 # First, try using that file with no special directory specified.
32447 cat >conftest.$ac_ext <<_ACEOF
32450 cat confdefs.h >>conftest.$ac_ext
32451 cat >>conftest.$ac_ext <<_ACEOF
32452 /* end confdefs.h. */
32453 #include <X11/Xlib.h>
32455 if { (ac_try="$ac_cpp conftest.$ac_ext"
32456 case "(($ac_try" in
32457 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32458 *) ac_try_echo=$ac_try;;
32460 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32461 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
32463 grep -v '^
*+' conftest.er1 >conftest.err
32465 cat conftest.err >&5
32466 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32467 (exit $ac_status); } >/dev/null && {
32468 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
32469 test ! -s conftest.err
32471 # We can compile using X headers with no special include directory.
32474 echo "$as_me: failed program was:" >&5
32475 sed 's
/^
/| /' conftest.$ac_ext >&5
32477 for ac_dir in $ac_x_header_dirs; do
32478 if test -r "$ac_dir/X11/Xlib.h"; then
32479 ac_x_includes=$ac_dir
32485 rm -f conftest.err conftest.$ac_ext
32486 fi # $ac_x_includes = no
32488 if test "$ac_x_libraries" = no; then
32489 # Check for the libraries.
32490 # See if we find them without any special options.
32491 # Don't add to
$LIBS permanently.
32494 cat >conftest.
$ac_ext <<_ACEOF
32497 cat confdefs.h
>>conftest.
$ac_ext
32498 cat >>conftest.
$ac_ext <<_ACEOF
32499 /* end confdefs.h. */
32500 #include <X11/Xlib.h>
32509 rm -f conftest.
$ac_objext conftest
$ac_exeext
32510 if { (ac_try
="$ac_link"
32511 case "(($ac_try" in
32512 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
32513 *) ac_try_echo=$ac_try;;
32515 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32516 (eval "$ac_link") 2>conftest.er1
32518 grep -v '^ *+' conftest.er1 >conftest.err
32520 cat conftest.err >&5
32521 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32522 (exit $ac_status); } && {
32523 test -z "$ac_c_werror_flag" ||
32524 test ! -s conftest.err
32525 } && test -s conftest$ac_exeext &&
32526 $as_test_x conftest$ac_exeext; then
32528 # We can link X programs with no special library path.
32531 echo "$as_me: failed program was:" >&5
32532 sed 's/^/| /' conftest.$ac_ext >&5
32535 for ac_dir in `echo "$ac_x_includes $ac_x_header_dirs" | sed s
/include
/lib
/g
`
32537 # Don't even attempt the hair of trying to link an X program!
32538 for ac_extension in a so sl; do
32539 if test -r "$ac_dir/libX11.$ac_extension"; then
32540 ac_x_libraries=$ac_dir
32547 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32548 conftest$ac_exeext conftest.$ac_ext
32549 fi # $ac_x_libraries = no
32551 case $ac_x_includes,$ac_x_libraries in #(
32552 no,* | *,no | *\'*)
32553 # Didn't find X, or a directory has "'" in its name.
32554 ac_cv_have_x="have_x=no";; #(
32556 # Record where we found X for the cache.
32557 ac_cv_have_x="have_x=yes\
32558 ac_x_includes='$ac_x_includes'\
32559 ac_x_libraries='$ac_x_libraries'"
32565 eval "$ac_cv_have_x"
32568 if test "$have_x" != yes; then
32569 { echo "$as_me:$LINENO: result: $have_x" >&5
32570 echo "${ECHO_T}$have_x" >&6; }
32573 # If each of the values was on the command line, it overrides each guess.
32574 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
32575 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
32576 # Update the cache value to reflect the command line values.
32577 ac_cv_have_x="have_x=yes\
32578 ac_x_includes='$x_includes'\
32579 ac_x_libraries='$x_libraries'"
32580 { echo "$as_me:$LINENO: result: libraries $x_libraries, headers $x_includes" >&5
32581 echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6; }
32584 if test "$no_x" = yes; then
32585 # Not all programs may use this symbol, but it does not hurt to define it.
32587 cat >>confdefs.h <<\_ACEOF
32588 #define X_DISPLAY_MISSING 1
32591 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
32593 if test -n "$x_includes"; then
32594 X_CFLAGS="$X_CFLAGS -I$x_includes"
32597 # It would also be nice to do this for all -L options, not just this one.
32598 if test -n "$x_libraries"; then
32599 X_LIBS="$X_LIBS -L$x_libraries"
32600 # For Solaris; some versions of Sun CC require a space after -R and
32601 # others require no space. Words are not sufficient . . . .
32602 { echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
32603 echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6; }
32604 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
32605 ac_xsave_c_werror_flag=$ac_c_werror_flag
32606 ac_c_werror_flag=yes
32607 cat >conftest.$ac_ext <<_ACEOF
32610 cat confdefs.h >>conftest.$ac_ext
32611 cat >>conftest.$ac_ext <<_ACEOF
32612 /* end confdefs.h. */
32622 rm -f conftest.$ac_objext conftest$ac_exeext
32623 if { (ac_try="$ac_link"
32624 case "(($ac_try" in
32625 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
32626 *) ac_try_echo
=$ac_try;;
32628 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32629 (eval "$ac_link") 2>conftest.er1
32631 grep -v '^ *+' conftest.er1
>conftest.err
32633 cat conftest.err
>&5
32634 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32635 (exit $ac_status); } && {
32636 test -z "$ac_c_werror_flag" ||
32637 test ! -s conftest.err
32638 } && test -s conftest
$ac_exeext &&
32639 $as_test_x conftest
$ac_exeext; then
32640 { echo "$as_me:$LINENO: result: no" >&5
32641 echo "${ECHO_T}no" >&6; }
32642 X_LIBS
="$X_LIBS -R$x_libraries"
32644 echo "$as_me: failed program was:" >&5
32645 sed 's/^/| /' conftest.
$ac_ext >&5
32647 LIBS
="$ac_xsave_LIBS -R $x_libraries"
32648 cat >conftest.
$ac_ext <<_ACEOF
32651 cat confdefs.h
>>conftest.
$ac_ext
32652 cat >>conftest.
$ac_ext <<_ACEOF
32653 /* end confdefs.h. */
32663 rm -f conftest.
$ac_objext conftest
$ac_exeext
32664 if { (ac_try
="$ac_link"
32665 case "(($ac_try" in
32666 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
32667 *) ac_try_echo=$ac_try;;
32669 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32670 (eval "$ac_link") 2>conftest.er1
32672 grep -v '^ *+' conftest.er1 >conftest.err
32674 cat conftest.err >&5
32675 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32676 (exit $ac_status); } && {
32677 test -z "$ac_c_werror_flag" ||
32678 test ! -s conftest.err
32679 } && test -s conftest$ac_exeext &&
32680 $as_test_x conftest$ac_exeext; then
32681 { echo "$as_me:$LINENO: result: yes" >&5
32682 echo "${ECHO_T}yes" >&6; }
32683 X_LIBS="$X_LIBS -R $x_libraries"
32685 echo "$as_me: failed program was:" >&5
32686 sed 's/^/| /' conftest.$ac_ext >&5
32688 { echo "$as_me:$LINENO: result: neither works" >&5
32689 echo "${ECHO_T}neither works" >&6; }
32692 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32693 conftest$ac_exeext conftest.$ac_ext
32696 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32697 conftest$ac_exeext conftest.$ac_ext
32698 ac_c_werror_flag=$ac_xsave_c_werror_flag
32699 LIBS=$ac_xsave_LIBS
32702 # Check for system-dependent libraries X programs must link with.
32703 # Do this before checking for the system-independent R6 libraries
32704 # (-lICE), since we may need -lsocket or whatever for X linking.
32706 if test "$ISC" = yes; then
32707 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
32709 # Martyn Johnson says this is needed for Ultrix, if the X
32710 # libraries were built with DECnet support. And Karl Berry says
32711 # the Alpha needs dnet_stub (dnet does not exist).
32712 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
32713 cat >conftest.$ac_ext <<_ACEOF
32716 cat confdefs.h >>conftest.$ac_ext
32717 cat >>conftest.$ac_ext <<_ACEOF
32718 /* end confdefs.h. */
32720 /* Override any GCC internal prototype to avoid an error.
32721 Use char because int might match the return type of a GCC
32722 builtin and then its argument prototype would still apply. */
32726 char XOpenDisplay ();
32730 return XOpenDisplay ();
32735 rm -f conftest.$ac_objext conftest$ac_exeext
32736 if { (ac_try="$ac_link"
32737 case "(($ac_try" in
32738 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
32739 *) ac_try_echo
=$ac_try;;
32741 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32742 (eval "$ac_link") 2>conftest.er1
32744 grep -v '^ *+' conftest.er1
>conftest.err
32746 cat conftest.err
>&5
32747 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32748 (exit $ac_status); } && {
32749 test -z "$ac_c_werror_flag" ||
32750 test ! -s conftest.err
32751 } && test -s conftest
$ac_exeext &&
32752 $as_test_x conftest
$ac_exeext; then
32755 echo "$as_me: failed program was:" >&5
32756 sed 's/^/| /' conftest.
$ac_ext >&5
32758 { echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
32759 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6; }
32760 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
32761 echo $ECHO_N "(cached) $ECHO_C" >&6
32763 ac_check_lib_save_LIBS
=$LIBS
32764 LIBS
="-ldnet $LIBS"
32765 cat >conftest.
$ac_ext <<_ACEOF
32768 cat confdefs.h
>>conftest.
$ac_ext
32769 cat >>conftest.
$ac_ext <<_ACEOF
32770 /* end confdefs.h. */
32772 /* Override any GCC internal prototype to avoid an error.
32773 Use char because int might match the return type of a GCC
32774 builtin and then its argument prototype would still apply. */
32782 return dnet_ntoa ();
32787 rm -f conftest.
$ac_objext conftest
$ac_exeext
32788 if { (ac_try
="$ac_link"
32789 case "(($ac_try" in
32790 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
32791 *) ac_try_echo=$ac_try;;
32793 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32794 (eval "$ac_link") 2>conftest.er1
32796 grep -v '^ *+' conftest.er1 >conftest.err
32798 cat conftest.err >&5
32799 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32800 (exit $ac_status); } && {
32801 test -z "$ac_c_werror_flag" ||
32802 test ! -s conftest.err
32803 } && test -s conftest$ac_exeext &&
32804 $as_test_x conftest$ac_exeext; then
32805 ac_cv_lib_dnet_dnet_ntoa=yes
32807 echo "$as_me: failed program was:" >&5
32808 sed 's/^/| /' conftest.$ac_ext >&5
32810 ac_cv_lib_dnet_dnet_ntoa=no
32813 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32814 conftest$ac_exeext conftest.$ac_ext
32815 LIBS=$ac_check_lib_save_LIBS
32817 { echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
32818 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6; }
32819 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
32820 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
32823 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
32824 { echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
32825 echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6; }
32826 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
32827 echo $ECHO_N "(cached) $ECHO_C" >&6
32829 ac_check_lib_save_LIBS=$LIBS
32830 LIBS="-ldnet_stub $LIBS"
32831 cat >conftest.$ac_ext <<_ACEOF
32834 cat confdefs.h >>conftest.$ac_ext
32835 cat >>conftest.$ac_ext <<_ACEOF
32836 /* end confdefs.h. */
32838 /* Override any GCC internal prototype to avoid an error.
32839 Use char because int might match the return type of a GCC
32840 builtin and then its argument prototype would still apply. */
32848 return dnet_ntoa ();
32853 rm -f conftest.$ac_objext conftest$ac_exeext
32854 if { (ac_try="$ac_link"
32855 case "(($ac_try" in
32856 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
32857 *) ac_try_echo
=$ac_try;;
32859 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32860 (eval "$ac_link") 2>conftest.er1
32862 grep -v '^ *+' conftest.er1
>conftest.err
32864 cat conftest.err
>&5
32865 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32866 (exit $ac_status); } && {
32867 test -z "$ac_c_werror_flag" ||
32868 test ! -s conftest.err
32869 } && test -s conftest
$ac_exeext &&
32870 $as_test_x conftest
$ac_exeext; then
32871 ac_cv_lib_dnet_stub_dnet_ntoa
=yes
32873 echo "$as_me: failed program was:" >&5
32874 sed 's/^/| /' conftest.
$ac_ext >&5
32876 ac_cv_lib_dnet_stub_dnet_ntoa
=no
32879 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
32880 conftest
$ac_exeext conftest.
$ac_ext
32881 LIBS
=$ac_check_lib_save_LIBS
32883 { echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
32884 echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
32885 if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
32886 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet_stub"
32892 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
32893 conftest
$ac_exeext conftest.
$ac_ext
32894 LIBS
="$ac_xsave_LIBS"
32896 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
32897 # to get the SysV transport functions.
32898 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
32900 # The nsl library prevents programs from opening the X display
32901 # on Irix 5.2, according to T.E. Dickey.
32902 # The functions gethostbyname, getservbyname, and inet_addr are
32903 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
32904 { echo "$as_me:$LINENO: checking for gethostbyname" >&5
32905 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6; }
32906 if test "${ac_cv_func_gethostbyname+set}" = set; then
32907 echo $ECHO_N "(cached) $ECHO_C" >&6
32909 cat >conftest.
$ac_ext <<_ACEOF
32912 cat confdefs.h
>>conftest.
$ac_ext
32913 cat >>conftest.
$ac_ext <<_ACEOF
32914 /* end confdefs.h. */
32915 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
32916 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32917 #define gethostbyname innocuous_gethostbyname
32919 /* System header to define __stub macros and hopefully few prototypes,
32920 which can conflict with char gethostbyname (); below.
32921 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32922 <limits.h> exists even on freestanding compilers. */
32925 # include <limits.h>
32927 # include <assert.h>
32930 #undef gethostbyname
32932 /* Override any GCC internal prototype to avoid an error.
32933 Use char because int might match the return type of a GCC
32934 builtin and then its argument prototype would still apply. */
32938 char gethostbyname ();
32939 /* The GNU C library defines this for functions which it implements
32940 to always fail with ENOSYS. Some functions are actually named
32941 something starting with __ and the normal name is an alias. */
32942 #if defined __stub_gethostbyname || defined __stub___gethostbyname
32949 return gethostbyname ();
32954 rm -f conftest.
$ac_objext conftest
$ac_exeext
32955 if { (ac_try
="$ac_link"
32956 case "(($ac_try" in
32957 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
32958 *) ac_try_echo=$ac_try;;
32960 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32961 (eval "$ac_link") 2>conftest.er1
32963 grep -v '^ *+' conftest.er1 >conftest.err
32965 cat conftest.err >&5
32966 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32967 (exit $ac_status); } && {
32968 test -z "$ac_c_werror_flag" ||
32969 test ! -s conftest.err
32970 } && test -s conftest$ac_exeext &&
32971 $as_test_x conftest$ac_exeext; then
32972 ac_cv_func_gethostbyname=yes
32974 echo "$as_me: failed program was:" >&5
32975 sed 's/^/| /' conftest.$ac_ext >&5
32977 ac_cv_func_gethostbyname=no
32980 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32981 conftest$ac_exeext conftest.$ac_ext
32983 { echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
32984 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6; }
32986 if test $ac_cv_func_gethostbyname = no; then
32987 { echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
32988 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6; }
32989 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
32990 echo $ECHO_N "(cached) $ECHO_C" >&6
32992 ac_check_lib_save_LIBS=$LIBS
32994 cat >conftest.$ac_ext <<_ACEOF
32997 cat confdefs.h >>conftest.$ac_ext
32998 cat >>conftest.$ac_ext <<_ACEOF
32999 /* end confdefs.h. */
33001 /* Override any GCC internal prototype to avoid an error.
33002 Use char because int might match the return type of a GCC
33003 builtin and then its argument prototype would still apply. */
33007 char gethostbyname ();
33011 return gethostbyname ();
33016 rm -f conftest.$ac_objext conftest$ac_exeext
33017 if { (ac_try="$ac_link"
33018 case "(($ac_try" in
33019 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
33020 *) ac_try_echo
=$ac_try;;
33022 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33023 (eval "$ac_link") 2>conftest.er1
33025 grep -v '^ *+' conftest.er1
>conftest.err
33027 cat conftest.err
>&5
33028 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33029 (exit $ac_status); } && {
33030 test -z "$ac_c_werror_flag" ||
33031 test ! -s conftest.err
33032 } && test -s conftest
$ac_exeext &&
33033 $as_test_x conftest
$ac_exeext; then
33034 ac_cv_lib_nsl_gethostbyname
=yes
33036 echo "$as_me: failed program was:" >&5
33037 sed 's/^/| /' conftest.
$ac_ext >&5
33039 ac_cv_lib_nsl_gethostbyname
=no
33042 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
33043 conftest
$ac_exeext conftest.
$ac_ext
33044 LIBS
=$ac_check_lib_save_LIBS
33046 { echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
33047 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6; }
33048 if test $ac_cv_lib_nsl_gethostbyname = yes; then
33049 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl"
33052 if test $ac_cv_lib_nsl_gethostbyname = no
; then
33053 { echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
33054 echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6; }
33055 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
33056 echo $ECHO_N "(cached) $ECHO_C" >&6
33058 ac_check_lib_save_LIBS
=$LIBS
33060 cat >conftest.
$ac_ext <<_ACEOF
33063 cat confdefs.h
>>conftest.
$ac_ext
33064 cat >>conftest.
$ac_ext <<_ACEOF
33065 /* end confdefs.h. */
33067 /* Override any GCC internal prototype to avoid an error.
33068 Use char because int might match the return type of a GCC
33069 builtin and then its argument prototype would still apply. */
33073 char gethostbyname ();
33077 return gethostbyname ();
33082 rm -f conftest.
$ac_objext conftest
$ac_exeext
33083 if { (ac_try
="$ac_link"
33084 case "(($ac_try" in
33085 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
33086 *) ac_try_echo=$ac_try;;
33088 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33089 (eval "$ac_link") 2>conftest.er1
33091 grep -v '^ *+' conftest.er1 >conftest.err
33093 cat conftest.err >&5
33094 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33095 (exit $ac_status); } && {
33096 test -z "$ac_c_werror_flag" ||
33097 test ! -s conftest.err
33098 } && test -s conftest$ac_exeext &&
33099 $as_test_x conftest$ac_exeext; then
33100 ac_cv_lib_bsd_gethostbyname=yes
33102 echo "$as_me: failed program was:" >&5
33103 sed 's/^/| /' conftest.$ac_ext >&5
33105 ac_cv_lib_bsd_gethostbyname=no
33108 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33109 conftest$ac_exeext conftest.$ac_ext
33110 LIBS=$ac_check_lib_save_LIBS
33112 { echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
33113 echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6; }
33114 if test $ac_cv_lib_bsd_gethostbyname = yes; then
33115 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
33121 # lieder@skyler.mavd.honeywell.com says without -lsocket,
33122 # socket/setsockopt and other routines are undefined under SCO ODT
33123 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
33124 # on later versions), says Simon Leinen: it contains gethostby*
33125 # variants that don't use the name server (or something). -lsocket
33126 # must be given before -lnsl if both are needed. We assume that
33127 # if connect needs -lnsl, so does gethostbyname.
33128 { echo "$as_me:$LINENO: checking for connect" >&5
33129 echo $ECHO_N "checking for connect... $ECHO_C" >&6; }
33130 if test "${ac_cv_func_connect+set}" = set; then
33131 echo $ECHO_N "(cached) $ECHO_C" >&6
33133 cat >conftest.$ac_ext <<_ACEOF
33136 cat confdefs.h >>conftest.$ac_ext
33137 cat >>conftest.$ac_ext <<_ACEOF
33138 /* end confdefs.h. */
33139 /* Define connect to an innocuous variant, in case <limits.h> declares connect.
33140 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33141 #define connect innocuous_connect
33143 /* System header to define __stub macros and hopefully few prototypes,
33144 which can conflict with char connect (); below.
33145 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33146 <limits.h> exists even on freestanding compilers. */
33149 # include <limits.h>
33151 # include <assert.h>
33156 /* Override any GCC internal prototype to avoid an error.
33157 Use char because int might match the return type of a GCC
33158 builtin and then its argument prototype would still apply. */
33163 /* The GNU C library defines this for functions which it implements
33164 to always fail with ENOSYS. Some functions are actually named
33165 something starting with __ and the normal name is an alias. */
33166 #if defined __stub_connect || defined __stub___connect
33178 rm -f conftest.$ac_objext conftest$ac_exeext
33179 if { (ac_try="$ac_link"
33180 case "(($ac_try" in
33181 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
33182 *) ac_try_echo
=$ac_try;;
33184 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33185 (eval "$ac_link") 2>conftest.er1
33187 grep -v '^ *+' conftest.er1
>conftest.err
33189 cat conftest.err
>&5
33190 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33191 (exit $ac_status); } && {
33192 test -z "$ac_c_werror_flag" ||
33193 test ! -s conftest.err
33194 } && test -s conftest
$ac_exeext &&
33195 $as_test_x conftest
$ac_exeext; then
33196 ac_cv_func_connect
=yes
33198 echo "$as_me: failed program was:" >&5
33199 sed 's/^/| /' conftest.
$ac_ext >&5
33201 ac_cv_func_connect
=no
33204 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
33205 conftest
$ac_exeext conftest.
$ac_ext
33207 { echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
33208 echo "${ECHO_T}$ac_cv_func_connect" >&6; }
33210 if test $ac_cv_func_connect = no
; then
33211 { echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
33212 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6; }
33213 if test "${ac_cv_lib_socket_connect+set}" = set; then
33214 echo $ECHO_N "(cached) $ECHO_C" >&6
33216 ac_check_lib_save_LIBS
=$LIBS
33217 LIBS
="-lsocket $X_EXTRA_LIBS $LIBS"
33218 cat >conftest.
$ac_ext <<_ACEOF
33221 cat confdefs.h
>>conftest.
$ac_ext
33222 cat >>conftest.
$ac_ext <<_ACEOF
33223 /* end confdefs.h. */
33225 /* Override any GCC internal prototype to avoid an error.
33226 Use char because int might match the return type of a GCC
33227 builtin and then its argument prototype would still apply. */
33240 rm -f conftest.
$ac_objext conftest
$ac_exeext
33241 if { (ac_try
="$ac_link"
33242 case "(($ac_try" in
33243 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
33244 *) ac_try_echo=$ac_try;;
33246 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33247 (eval "$ac_link") 2>conftest.er1
33249 grep -v '^ *+' conftest.er1 >conftest.err
33251 cat conftest.err >&5
33252 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33253 (exit $ac_status); } && {
33254 test -z "$ac_c_werror_flag" ||
33255 test ! -s conftest.err
33256 } && test -s conftest$ac_exeext &&
33257 $as_test_x conftest$ac_exeext; then
33258 ac_cv_lib_socket_connect=yes
33260 echo "$as_me: failed program was:" >&5
33261 sed 's/^/| /' conftest.$ac_ext >&5
33263 ac_cv_lib_socket_connect=no
33266 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33267 conftest$ac_exeext conftest.$ac_ext
33268 LIBS=$ac_check_lib_save_LIBS
33270 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
33271 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6; }
33272 if test $ac_cv_lib_socket_connect = yes; then
33273 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
33278 # Guillermo Gomez says -lposix is necessary on A/UX.
33279 { echo "$as_me:$LINENO: checking for remove" >&5
33280 echo $ECHO_N "checking for remove... $ECHO_C" >&6; }
33281 if test "${ac_cv_func_remove+set}" = set; then
33282 echo $ECHO_N "(cached) $ECHO_C" >&6
33284 cat >conftest.$ac_ext <<_ACEOF
33287 cat confdefs.h >>conftest.$ac_ext
33288 cat >>conftest.$ac_ext <<_ACEOF
33289 /* end confdefs.h. */
33290 /* Define remove to an innocuous variant, in case <limits.h> declares remove.
33291 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33292 #define remove innocuous_remove
33294 /* System header to define __stub macros and hopefully few prototypes,
33295 which can conflict with char remove (); below.
33296 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33297 <limits.h> exists even on freestanding compilers. */
33300 # include <limits.h>
33302 # include <assert.h>
33307 /* Override any GCC internal prototype to avoid an error.
33308 Use char because int might match the return type of a GCC
33309 builtin and then its argument prototype would still apply. */
33314 /* The GNU C library defines this for functions which it implements
33315 to always fail with ENOSYS. Some functions are actually named
33316 something starting with __ and the normal name is an alias. */
33317 #if defined __stub_remove || defined __stub___remove
33329 rm -f conftest.$ac_objext conftest$ac_exeext
33330 if { (ac_try="$ac_link"
33331 case "(($ac_try" in
33332 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
33333 *) ac_try_echo
=$ac_try;;
33335 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33336 (eval "$ac_link") 2>conftest.er1
33338 grep -v '^ *+' conftest.er1
>conftest.err
33340 cat conftest.err
>&5
33341 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33342 (exit $ac_status); } && {
33343 test -z "$ac_c_werror_flag" ||
33344 test ! -s conftest.err
33345 } && test -s conftest
$ac_exeext &&
33346 $as_test_x conftest
$ac_exeext; then
33347 ac_cv_func_remove
=yes
33349 echo "$as_me: failed program was:" >&5
33350 sed 's/^/| /' conftest.
$ac_ext >&5
33352 ac_cv_func_remove
=no
33355 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
33356 conftest
$ac_exeext conftest.
$ac_ext
33358 { echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
33359 echo "${ECHO_T}$ac_cv_func_remove" >&6; }
33361 if test $ac_cv_func_remove = no
; then
33362 { echo "$as_me:$LINENO: checking for remove in -lposix" >&5
33363 echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6; }
33364 if test "${ac_cv_lib_posix_remove+set}" = set; then
33365 echo $ECHO_N "(cached) $ECHO_C" >&6
33367 ac_check_lib_save_LIBS
=$LIBS
33368 LIBS
="-lposix $LIBS"
33369 cat >conftest.
$ac_ext <<_ACEOF
33372 cat confdefs.h
>>conftest.
$ac_ext
33373 cat >>conftest.
$ac_ext <<_ACEOF
33374 /* end confdefs.h. */
33376 /* Override any GCC internal prototype to avoid an error.
33377 Use char because int might match the return type of a GCC
33378 builtin and then its argument prototype would still apply. */
33391 rm -f conftest.
$ac_objext conftest
$ac_exeext
33392 if { (ac_try
="$ac_link"
33393 case "(($ac_try" in
33394 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
33395 *) ac_try_echo=$ac_try;;
33397 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33398 (eval "$ac_link") 2>conftest.er1
33400 grep -v '^ *+' conftest.er1 >conftest.err
33402 cat conftest.err >&5
33403 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33404 (exit $ac_status); } && {
33405 test -z "$ac_c_werror_flag" ||
33406 test ! -s conftest.err
33407 } && test -s conftest$ac_exeext &&
33408 $as_test_x conftest$ac_exeext; then
33409 ac_cv_lib_posix_remove=yes
33411 echo "$as_me: failed program was:" >&5
33412 sed 's/^/| /' conftest.$ac_ext >&5
33414 ac_cv_lib_posix_remove=no
33417 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33418 conftest$ac_exeext conftest.$ac_ext
33419 LIBS=$ac_check_lib_save_LIBS
33421 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
33422 echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6; }
33423 if test $ac_cv_lib_posix_remove = yes; then
33424 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
33429 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
33430 { echo "$as_me:$LINENO: checking for shmat" >&5
33431 echo $ECHO_N "checking for shmat... $ECHO_C" >&6; }
33432 if test "${ac_cv_func_shmat+set}" = set; then
33433 echo $ECHO_N "(cached) $ECHO_C" >&6
33435 cat >conftest.$ac_ext <<_ACEOF
33438 cat confdefs.h >>conftest.$ac_ext
33439 cat >>conftest.$ac_ext <<_ACEOF
33440 /* end confdefs.h. */
33441 /* Define shmat to an innocuous variant, in case <limits.h> declares shmat.
33442 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33443 #define shmat innocuous_shmat
33445 /* System header to define __stub macros and hopefully few prototypes,
33446 which can conflict with char shmat (); below.
33447 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33448 <limits.h> exists even on freestanding compilers. */
33451 # include <limits.h>
33453 # include <assert.h>
33458 /* Override any GCC internal prototype to avoid an error.
33459 Use char because int might match the return type of a GCC
33460 builtin and then its argument prototype would still apply. */
33465 /* The GNU C library defines this for functions which it implements
33466 to always fail with ENOSYS. Some functions are actually named
33467 something starting with __ and the normal name is an alias. */
33468 #if defined __stub_shmat || defined __stub___shmat
33480 rm -f conftest.$ac_objext conftest$ac_exeext
33481 if { (ac_try="$ac_link"
33482 case "(($ac_try" in
33483 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
33484 *) ac_try_echo
=$ac_try;;
33486 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33487 (eval "$ac_link") 2>conftest.er1
33489 grep -v '^ *+' conftest.er1
>conftest.err
33491 cat conftest.err
>&5
33492 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33493 (exit $ac_status); } && {
33494 test -z "$ac_c_werror_flag" ||
33495 test ! -s conftest.err
33496 } && test -s conftest
$ac_exeext &&
33497 $as_test_x conftest
$ac_exeext; then
33498 ac_cv_func_shmat
=yes
33500 echo "$as_me: failed program was:" >&5
33501 sed 's/^/| /' conftest.
$ac_ext >&5
33503 ac_cv_func_shmat
=no
33506 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
33507 conftest
$ac_exeext conftest.
$ac_ext
33509 { echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
33510 echo "${ECHO_T}$ac_cv_func_shmat" >&6; }
33512 if test $ac_cv_func_shmat = no
; then
33513 { echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
33514 echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6; }
33515 if test "${ac_cv_lib_ipc_shmat+set}" = set; then
33516 echo $ECHO_N "(cached) $ECHO_C" >&6
33518 ac_check_lib_save_LIBS
=$LIBS
33520 cat >conftest.
$ac_ext <<_ACEOF
33523 cat confdefs.h
>>conftest.
$ac_ext
33524 cat >>conftest.
$ac_ext <<_ACEOF
33525 /* end confdefs.h. */
33527 /* Override any GCC internal prototype to avoid an error.
33528 Use char because int might match the return type of a GCC
33529 builtin and then its argument prototype would still apply. */
33542 rm -f conftest.
$ac_objext conftest
$ac_exeext
33543 if { (ac_try
="$ac_link"
33544 case "(($ac_try" in
33545 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
33546 *) ac_try_echo=$ac_try;;
33548 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33549 (eval "$ac_link") 2>conftest.er1
33551 grep -v '^ *+' conftest.er1 >conftest.err
33553 cat conftest.err >&5
33554 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33555 (exit $ac_status); } && {
33556 test -z "$ac_c_werror_flag" ||
33557 test ! -s conftest.err
33558 } && test -s conftest$ac_exeext &&
33559 $as_test_x conftest$ac_exeext; then
33560 ac_cv_lib_ipc_shmat=yes
33562 echo "$as_me: failed program was:" >&5
33563 sed 's/^/| /' conftest.$ac_ext >&5
33565 ac_cv_lib_ipc_shmat=no
33568 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33569 conftest$ac_exeext conftest.$ac_ext
33570 LIBS=$ac_check_lib_save_LIBS
33572 { echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
33573 echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6; }
33574 if test $ac_cv_lib_ipc_shmat = yes; then
33575 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
33581 # Check for libraries that X11R6 Xt/Xaw programs need.
33582 ac_save_LDFLAGS=$LDFLAGS
33583 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
33584 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
33585 # check for ICE first), but we must link in the order -lSM -lICE or
33586 # we get undefined symbols. So assume we have SM if we have ICE.
33587 # These have to be linked with before -lX11, unlike the other
33588 # libraries we check for below, so use a different variable.
33589 # John Interrante, Karl Berry
33590 { echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
33591 echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6; }
33592 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
33593 echo $ECHO_N "(cached) $ECHO_C" >&6
33595 ac_check_lib_save_LIBS=$LIBS
33596 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
33597 cat >conftest.$ac_ext <<_ACEOF
33600 cat confdefs.h >>conftest.$ac_ext
33601 cat >>conftest.$ac_ext <<_ACEOF
33602 /* end confdefs.h. */
33604 /* Override any GCC internal prototype to avoid an error.
33605 Use char because int might match the return type of a GCC
33606 builtin and then its argument prototype would still apply. */
33610 char IceConnectionNumber ();
33614 return IceConnectionNumber ();
33619 rm -f conftest.$ac_objext conftest$ac_exeext
33620 if { (ac_try="$ac_link"
33621 case "(($ac_try" in
33622 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
33623 *) ac_try_echo
=$ac_try;;
33625 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33626 (eval "$ac_link") 2>conftest.er1
33628 grep -v '^ *+' conftest.er1
>conftest.err
33630 cat conftest.err
>&5
33631 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33632 (exit $ac_status); } && {
33633 test -z "$ac_c_werror_flag" ||
33634 test ! -s conftest.err
33635 } && test -s conftest
$ac_exeext &&
33636 $as_test_x conftest
$ac_exeext; then
33637 ac_cv_lib_ICE_IceConnectionNumber
=yes
33639 echo "$as_me: failed program was:" >&5
33640 sed 's/^/| /' conftest.
$ac_ext >&5
33642 ac_cv_lib_ICE_IceConnectionNumber
=no
33645 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
33646 conftest
$ac_exeext conftest.
$ac_ext
33647 LIBS
=$ac_check_lib_save_LIBS
33649 { echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
33650 echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
33651 if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
33652 X_PRE_LIBS
="$X_PRE_LIBS -lSM -lICE"
33655 LDFLAGS
=$ac_save_LDFLAGS
33660 if test "$no_x" = "yes"; then
33661 { { echo "$as_me:$LINENO: error: X11 not found, please use --x-includes and/or --x-libraries options (see config.log for details)" >&5
33662 echo "$as_me: error: X11 not found, please use --x-includes and/or --x-libraries options (see config.log for details)" >&2;}
33663 { (exit 1); exit 1; }; }
33666 GUI_TK_LIBRARY
=`echo $X_LIBS | sed 's/ -LNONE//' | sed 's/ -RNONE//'`
33667 TOOLKIT_INCLUDE
=`echo $X_CFLAGS | sed 's/ -INONE//'`
33668 AFMINSTALL
=afminstall
33669 COMPILED_X_PROGRAM
=0
33673 if test "$wxUSE_X11" = 1; then
33674 if test "$wxUSE_NANOX" = "yes"; then
33675 { echo "$as_me:$LINENO: checking for MicroWindows/NanoX distribution" >&5
33676 echo $ECHO_N "checking for MicroWindows/NanoX distribution... $ECHO_C" >&6; }
33677 if test "x$MICROWIN" = x
; then
33678 { echo "$as_me:$LINENO: result: not found" >&5
33679 echo "${ECHO_T}not found" >&6; }
33680 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&5
33681 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&2;}
33682 { (exit 1); exit 1; }; }
33684 { echo "$as_me:$LINENO: result: $MICROWIN" >&5
33685 echo "${ECHO_T}$MICROWIN" >&6; }
33686 cat >>confdefs.h
<<\_ACEOF
33687 #define wxUSE_NANOX 1
33693 if test "$wxUSE_UNICODE" = "yes"; then
33696 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
33697 if test -n "$ac_tool_prefix"; then
33698 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
33699 set dummy
${ac_tool_prefix}pkg
-config; ac_word
=$2
33700 { echo "$as_me:$LINENO: checking for $ac_word" >&5
33701 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
33702 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
33703 echo $ECHO_N "(cached) $ECHO_C" >&6
33705 case $PKG_CONFIG in
33707 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
33710 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
33711 for as_dir
in $PATH
33714 test -z "$as_dir" && as_dir
=.
33715 for ac_exec_ext
in '' $ac_executable_extensions; do
33716 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
33717 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
33718 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
33728 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
33729 if test -n "$PKG_CONFIG"; then
33730 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
33731 echo "${ECHO_T}$PKG_CONFIG" >&6; }
33733 { echo "$as_me:$LINENO: result: no" >&5
33734 echo "${ECHO_T}no" >&6; }
33739 if test -z "$ac_cv_path_PKG_CONFIG"; then
33740 ac_pt_PKG_CONFIG
=$PKG_CONFIG
33741 # Extract the first word of "pkg-config", so it can be a program name with args.
33742 set dummy pkg
-config; ac_word
=$2
33743 { echo "$as_me:$LINENO: checking for $ac_word" >&5
33744 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
33745 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
33746 echo $ECHO_N "(cached) $ECHO_C" >&6
33748 case $ac_pt_PKG_CONFIG in
33750 ac_cv_path_ac_pt_PKG_CONFIG
="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
33753 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
33754 for as_dir
in $PATH
33757 test -z "$as_dir" && as_dir
=.
33758 for ac_exec_ext
in '' $ac_executable_extensions; do
33759 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
33760 ac_cv_path_ac_pt_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
33761 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
33771 ac_pt_PKG_CONFIG
=$ac_cv_path_ac_pt_PKG_CONFIG
33772 if test -n "$ac_pt_PKG_CONFIG"; then
33773 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
33774 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
33776 { echo "$as_me:$LINENO: result: no" >&5
33777 echo "${ECHO_T}no" >&6; }
33780 if test "x$ac_pt_PKG_CONFIG" = x
; then
33783 case $cross_compiling:$ac_tool_warned in
33785 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
33786 whose name does not start with the host triplet. If you think this
33787 configuration is useful to you, please write to autoconf@gnu.org." >&5
33788 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
33789 whose name does not start with the host triplet. If you think this
33790 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
33791 ac_tool_warned
=yes ;;
33793 PKG_CONFIG
=$ac_pt_PKG_CONFIG
33796 PKG_CONFIG
="$ac_cv_path_PKG_CONFIG"
33800 if test -n "$PKG_CONFIG"; then
33801 _pkg_min_version
=0.9.0
33802 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
33803 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
33804 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
33805 { echo "$as_me:$LINENO: result: yes" >&5
33806 echo "${ECHO_T}yes" >&6; }
33808 { echo "$as_me:$LINENO: result: no" >&5
33809 echo "${ECHO_T}no" >&6; }
33817 { echo "$as_me:$LINENO: checking for PANGOX" >&5
33818 echo $ECHO_N "checking for PANGOX... $ECHO_C" >&6; }
33820 if test -n "$PKG_CONFIG"; then
33821 if test -n "$PANGOX_CFLAGS"; then
33822 pkg_cv_PANGOX_CFLAGS
="$PANGOX_CFLAGS"
33824 if test -n "$PKG_CONFIG" && \
33825 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangox\"") >&5
33826 ($PKG_CONFIG --exists --print-errors "pangox") 2>&5
33828 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33829 (exit $ac_status); }; then
33830 pkg_cv_PANGOX_CFLAGS
=`$PKG_CONFIG --cflags "pangox" 2>/dev/null`
33838 if test -n "$PKG_CONFIG"; then
33839 if test -n "$PANGOX_LIBS"; then
33840 pkg_cv_PANGOX_LIBS
="$PANGOX_LIBS"
33842 if test -n "$PKG_CONFIG" && \
33843 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangox\"") >&5
33844 ($PKG_CONFIG --exists --print-errors "pangox") 2>&5
33846 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33847 (exit $ac_status); }; then
33848 pkg_cv_PANGOX_LIBS
=`$PKG_CONFIG --libs "pangox" 2>/dev/null`
33859 if test $pkg_failed = yes; then
33861 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
33862 _pkg_short_errors_supported
=yes
33864 _pkg_short_errors_supported
=no
33866 if test $_pkg_short_errors_supported = yes; then
33867 PANGOX_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangox"`
33869 PANGOX_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "pangox"`
33871 # Put the nasty error message in config.log where it belongs
33872 echo "$PANGOX_PKG_ERRORS" >&5
33875 { { echo "$as_me:$LINENO: error: pangox library not found, library cannot be compiled in Unicode mode" >&5
33876 echo "$as_me: error: pangox library not found, library cannot be compiled in Unicode mode" >&2;}
33877 { (exit 1); exit 1; }; }
33880 elif test $pkg_failed = untried
; then
33882 { { echo "$as_me:$LINENO: error: pangox library not found, library cannot be compiled in Unicode mode" >&5
33883 echo "$as_me: error: pangox library not found, library cannot be compiled in Unicode mode" >&2;}
33884 { (exit 1); exit 1; }; }
33888 PANGOX_CFLAGS
=$pkg_cv_PANGOX_CFLAGS
33889 PANGOX_LIBS
=$pkg_cv_PANGOX_LIBS
33890 { echo "$as_me:$LINENO: result: yes" >&5
33891 echo "${ECHO_T}yes" >&6; }
33893 CFLAGS
="$PANGOX_CFLAGS $CFLAGS"
33894 CXXFLAGS
="$PANGOX_CFLAGS $CXXFLAGS"
33895 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $PANGOX_LIBS"
33900 { echo "$as_me:$LINENO: checking for PANGOFT2" >&5
33901 echo $ECHO_N "checking for PANGOFT2... $ECHO_C" >&6; }
33903 if test -n "$PKG_CONFIG"; then
33904 if test -n "$PANGOFT2_CFLAGS"; then
33905 pkg_cv_PANGOFT2_CFLAGS
="$PANGOFT2_CFLAGS"
33907 if test -n "$PKG_CONFIG" && \
33908 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoft2\"") >&5
33909 ($PKG_CONFIG --exists --print-errors "pangoft2") 2>&5
33911 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33912 (exit $ac_status); }; then
33913 pkg_cv_PANGOFT2_CFLAGS
=`$PKG_CONFIG --cflags "pangoft2" 2>/dev/null`
33921 if test -n "$PKG_CONFIG"; then
33922 if test -n "$PANGOFT2_LIBS"; then
33923 pkg_cv_PANGOFT2_LIBS
="$PANGOFT2_LIBS"
33925 if test -n "$PKG_CONFIG" && \
33926 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoft2\"") >&5
33927 ($PKG_CONFIG --exists --print-errors "pangoft2") 2>&5
33929 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33930 (exit $ac_status); }; then
33931 pkg_cv_PANGOFT2_LIBS
=`$PKG_CONFIG --libs "pangoft2" 2>/dev/null`
33942 if test $pkg_failed = yes; then
33944 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
33945 _pkg_short_errors_supported
=yes
33947 _pkg_short_errors_supported
=no
33949 if test $_pkg_short_errors_supported = yes; then
33950 PANGOFT2_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangoft2"`
33952 PANGOFT2_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoft2"`
33954 # Put the nasty error message in config.log where it belongs
33955 echo "$PANGOFT2_PKG_ERRORS" >&5
33958 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
33959 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
33960 wxUSE_PRINTING_ARCHITECTURE
="no"
33963 elif test $pkg_failed = untried
; then
33965 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
33966 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
33967 wxUSE_PRINTING_ARCHITECTURE
="no"
33971 PANGOFT2_CFLAGS
=$pkg_cv_PANGOFT2_CFLAGS
33972 PANGOFT2_LIBS
=$pkg_cv_PANGOFT2_LIBS
33973 { echo "$as_me:$LINENO: result: yes" >&5
33974 echo "${ECHO_T}yes" >&6; }
33976 CFLAGS
="$PANGOFT2_CFLAGS $CFLAGS"
33977 CXXFLAGS
="$PANGOFT2_CFLAGS $CXXFLAGS"
33978 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $PANGOFT2_LIBS"
33983 { echo "$as_me:$LINENO: checking for PANGOXFT" >&5
33984 echo $ECHO_N "checking for PANGOXFT... $ECHO_C" >&6; }
33986 if test -n "$PKG_CONFIG"; then
33987 if test -n "$PANGOXFT_CFLAGS"; then
33988 pkg_cv_PANGOXFT_CFLAGS
="$PANGOXFT_CFLAGS"
33990 if test -n "$PKG_CONFIG" && \
33991 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoxft\"") >&5
33992 ($PKG_CONFIG --exists --print-errors "pangoxft") 2>&5
33994 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33995 (exit $ac_status); }; then
33996 pkg_cv_PANGOXFT_CFLAGS
=`$PKG_CONFIG --cflags "pangoxft" 2>/dev/null`
34004 if test -n "$PKG_CONFIG"; then
34005 if test -n "$PANGOXFT_LIBS"; then
34006 pkg_cv_PANGOXFT_LIBS
="$PANGOXFT_LIBS"
34008 if test -n "$PKG_CONFIG" && \
34009 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoxft\"") >&5
34010 ($PKG_CONFIG --exists --print-errors "pangoxft") 2>&5
34012 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34013 (exit $ac_status); }; then
34014 pkg_cv_PANGOXFT_LIBS
=`$PKG_CONFIG --libs "pangoxft" 2>/dev/null`
34025 if test $pkg_failed = yes; then
34027 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
34028 _pkg_short_errors_supported
=yes
34030 _pkg_short_errors_supported
=no
34032 if test $_pkg_short_errors_supported = yes; then
34033 PANGOXFT_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangoxft"`
34035 PANGOXFT_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoxft"`
34037 # Put the nasty error message in config.log where it belongs
34038 echo "$PANGOXFT_PKG_ERRORS" >&5
34041 { echo "$as_me:$LINENO: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
34042 echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
34045 elif test $pkg_failed = untried
; then
34047 { echo "$as_me:$LINENO: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
34048 echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
34052 PANGOXFT_CFLAGS
=$pkg_cv_PANGOXFT_CFLAGS
34053 PANGOXFT_LIBS
=$pkg_cv_PANGOXFT_LIBS
34054 { echo "$as_me:$LINENO: result: yes" >&5
34055 echo "${ECHO_T}yes" >&6; }
34057 cat >>confdefs.h
<<\_ACEOF
34058 #define HAVE_PANGO_XFT 1
34061 CFLAGS
="$PANGOXFT_CFLAGS $CFLAGS"
34062 CXXFLAGS
="$PANGOXFT_CFLAGS $CXXFLAGS"
34063 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $PANGOXFT_LIBS"
34067 LIBS
="$LIBS $PANGOX_LIBS"
34069 for ac_func
in pango_font_family_is_monospace
34071 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34072 { echo "$as_me:$LINENO: checking for $ac_func" >&5
34073 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
34074 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
34075 echo $ECHO_N "(cached) $ECHO_C" >&6
34077 cat >conftest.
$ac_ext <<_ACEOF
34080 cat confdefs.h
>>conftest.
$ac_ext
34081 cat >>conftest.
$ac_ext <<_ACEOF
34082 /* end confdefs.h. */
34083 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34084 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34085 #define $ac_func innocuous_$ac_func
34087 /* System header to define __stub macros and hopefully few prototypes,
34088 which can conflict with char $ac_func (); below.
34089 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34090 <limits.h> exists even on freestanding compilers. */
34093 # include <limits.h>
34095 # include <assert.h>
34100 /* Override any GCC internal prototype to avoid an error.
34101 Use char because int might match the return type of a GCC
34102 builtin and then its argument prototype would still apply. */
34107 /* The GNU C library defines this for functions which it implements
34108 to always fail with ENOSYS. Some functions are actually named
34109 something starting with __ and the normal name is an alias. */
34110 #if defined __stub_$ac_func || defined __stub___$ac_func
34117 return $ac_func ();
34122 rm -f conftest.
$ac_objext conftest
$ac_exeext
34123 if { (ac_try
="$ac_link"
34124 case "(($ac_try" in
34125 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
34126 *) ac_try_echo=$ac_try;;
34128 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34129 (eval "$ac_link") 2>conftest.er1
34131 grep -v '^ *+' conftest.er1 >conftest.err
34133 cat conftest.err >&5
34134 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34135 (exit $ac_status); } && {
34136 test -z "$ac_c_werror_flag" ||
34137 test ! -s conftest.err
34138 } && test -s conftest$ac_exeext &&
34139 $as_test_x conftest$ac_exeext; then
34140 eval "$as_ac_var=yes"
34142 echo "$as_me: failed program was:" >&5
34143 sed 's/^/| /' conftest.$ac_ext >&5
34145 eval "$as_ac_var=no"
34148 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
34149 conftest$ac_exeext conftest.$ac_ext
34151 ac_res=`eval echo '${'$as_ac_var'}'`
34152 { echo "$as_me:$LINENO: result: $ac_res" >&5
34153 echo "${ECHO_T}$ac_res" >&6; }
34154 if test `eval echo '${'$as_ac_var'}'` = yes; then
34155 cat >>confdefs.h <<_ACEOF
34156 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34165 wxUSE_UNIVERSAL="yes"
34167 if test "$wxUSE_NANOX" = "yes"; then
34168 TOOLKIT_INCLUDE="-I\$(top_srcdir)/include/wx/x11/nanox -I\$(MICROWIN)/src/include $TOOLKIT_INCLUDE"
34169 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"
34170 GUI_TK_LIBRARY="$GUI_TK_LIBRARY \$(MICROWIN)/src/lib/libnano-X.a"
34172 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lX11"
34179 if test "$wxUSE_MOTIF" = 1; then
34180 { echo "$as_me:$LINENO: checking for Motif/Lesstif headers" >&5
34181 echo $ECHO_N "checking for Motif/Lesstif headers... $ECHO_C" >&6; }
34184 for ac_dir in $SEARCH_INCLUDE /usr/include;
34186 if test -f "$ac_dir/Xm/Xm.h"; then
34187 ac_find_includes=$ac_dir
34192 if test "$ac_find_includes" != "" ; then
34193 { echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
34194 echo "${ECHO_T}found in $ac_find_includes" >&6; }
34196 if test "x$ac_find_includes" = "x/usr/include"; then
34197 ac_path_to_include=""
34199 echo "$TOOLKIT_INCLUDE" | grep "\-I$ac_find_includes" > /dev/null
34201 if test $result = 0; then
34202 ac_path_to_include=""
34204 ac_path_to_include=" -I$ac_find_includes"
34208 TOOLKIT_INCLUDE="$TOOLKIT_INCLUDE$ac_path_to_include"
34210 save_CFLAGS=$CFLAGS
34211 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
34213 cat >conftest.$ac_ext <<_ACEOF
34216 cat confdefs.h >>conftest.$ac_ext
34217 cat >>conftest.$ac_ext <<_ACEOF
34218 /* end confdefs.h. */
34227 version = xmUseVersion;
34233 rm -f conftest.$ac_objext
34234 if { (ac_try="$ac_compile"
34235 case "(($ac_try" in
34236 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
34237 *) ac_try_echo
=$ac_try;;
34239 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34240 (eval "$ac_compile") 2>conftest.er1
34242 grep -v '^ *+' conftest.er1
>conftest.err
34244 cat conftest.err
>&5
34245 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34246 (exit $ac_status); } && {
34247 test -z "$ac_c_werror_flag" ||
34248 test ! -s conftest.err
34249 } && test -s conftest.
$ac_objext; then
34251 { echo "$as_me:$LINENO: result: found in default search path" >&5
34252 echo "${ECHO_T}found in default search path" >&6; }
34253 COMPILED_X_PROGRAM
=1
34256 echo "$as_me: failed program was:" >&5
34257 sed 's/^/| /' conftest.
$ac_ext >&5
34260 { echo "$as_me:$LINENO: result: no" >&5
34261 echo "${ECHO_T}no" >&6; }
34262 { { echo "$as_me:$LINENO: error: please set CPPFLAGS to contain the location of Xm/Xm.h" >&5
34263 echo "$as_me: error: please set CPPFLAGS to contain the location of Xm/Xm.h" >&2;}
34264 { (exit 1); exit 1; }; }
34269 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
34271 CFLAGS
=$save_CFLAGS
34275 { echo "$as_me:$LINENO: checking for Motif/Lesstif library" >&5
34276 echo $ECHO_N "checking for Motif/Lesstif library... $ECHO_C" >&6; }
34279 for ac_dir
in $SEARCH_LIB;
34281 for ac_extension
in a so sl dylib dll.a
; do
34282 if test -f "$ac_dir/libXm.$ac_extension"; then
34283 ac_find_libraries
=$ac_dir
34290 if test "x$ac_find_libraries" != "x" ; then
34291 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
34292 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
34295 if test "$ac_find_libraries" = "default location"; then
34298 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev
/null
34300 if test $result = 0; then
34303 ac_path_to_link
=" -L$ac_find_libraries"
34307 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY$ac_path_to_link"
34309 save_CFLAGS
=$CFLAGS
34310 CFLAGS
="$TOOLKIT_INCLUDE $CFLAGS"
34312 LIBS
="$GUI_TK_LIBRARY -lXm -lXmu -lXext -lX11"
34314 cat >conftest.
$ac_ext <<_ACEOF
34317 cat confdefs.h
>>conftest.
$ac_ext
34318 cat >>conftest.
$ac_ext <<_ACEOF
34319 /* end confdefs.h. */
34328 version = xmUseVersion;
34334 rm -f conftest.
$ac_objext conftest
$ac_exeext
34335 if { (ac_try
="$ac_link"
34336 case "(($ac_try" in
34337 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
34338 *) ac_try_echo=$ac_try;;
34340 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34341 (eval "$ac_link") 2>conftest.er1
34343 grep -v '^ *+' conftest.er1 >conftest.err
34345 cat conftest.err >&5
34346 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34347 (exit $ac_status); } && {
34348 test -z "$ac_c_werror_flag" ||
34349 test ! -s conftest.err
34350 } && test -s conftest$ac_exeext &&
34351 $as_test_x conftest$ac_exeext; then
34353 { echo "$as_me:$LINENO: result: found in default search path" >&5
34354 echo "${ECHO_T}found in default search path" >&6; }
34355 COMPILED_X_PROGRAM=1
34358 echo "$as_me: failed program was:" >&5
34359 sed 's/^/| /' conftest.$ac_ext >&5
34362 { echo "$as_me:$LINENO: result: no" >&5
34363 echo "${ECHO_T}no" >&6; }
34364 { { echo "$as_me:$LINENO: error: please set LDFLAGS to contain the location of libXm" >&5
34365 echo "$as_me: error: please set LDFLAGS to contain the location of libXm" >&2;}
34366 { (exit 1); exit 1; }; }
34371 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
34372 conftest$ac_exeext conftest.$ac_ext
34374 CFLAGS=$save_CFLAGS
34378 { echo "$as_me:$LINENO: checking if we need -lXp and/or -lSM -lICE" >&5
34379 echo $ECHO_N "checking if we need -lXp and/or -lSM -lICE... $ECHO_C" >&6; }
34383 for libp in "" " -lXp"; do
34384 if test "$libs_found" = "0"; then
34385 for libsm_ice in "" " -lSM -lICE"; do
34386 if test "$libs_found" = "0"; then
34388 LIBS="$GUI_TK_LIBRARY -lXm ${libp} -lXmu -lXext -lXt${libsm_ice} -lX11"
34389 save_CFLAGS=$CFLAGS
34390 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
34392 cat >conftest.$ac_ext <<_ACEOF
34395 cat confdefs.h >>conftest.$ac_ext
34396 cat >>conftest.$ac_ext <<_ACEOF
34397 /* end confdefs.h. */
34400 #include <Xm/List.h>
34406 XmString string = NULL;
34409 XmListAddItem(w, string, position);
34415 rm -f conftest.$ac_objext conftest$ac_exeext
34416 if { (ac_try="$ac_link"
34417 case "(($ac_try" in
34418 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
34419 *) ac_try_echo
=$ac_try;;
34421 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34422 (eval "$ac_link") 2>conftest.er1
34424 grep -v '^ *+' conftest.er1
>conftest.err
34426 cat conftest.err
>&5
34427 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34428 (exit $ac_status); } && {
34429 test -z "$ac_c_werror_flag" ||
34430 test ! -s conftest.err
34431 } && test -s conftest
$ac_exeext &&
34432 $as_test_x conftest
$ac_exeext; then
34435 libsm_ice_link
="$libsm_ice"
34436 { echo "$as_me:$LINENO: result: need${libp_link}${libsm_ice_link}" >&5
34437 echo "${ECHO_T}need${libp_link}${libsm_ice_link}" >&6; }
34441 echo "$as_me: failed program was:" >&5
34442 sed 's/^/| /' conftest.
$ac_ext >&5
34448 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
34449 conftest
$ac_exeext conftest.
$ac_ext
34452 CFLAGS
=$save_CFLAGS
34458 if test "$libs_found" = "0"; then
34459 { echo "$as_me:$LINENO: result: can't find the right libraries" >&5
34460 echo "${ECHO_T}can't find the right libraries" >&6; }
34461 { { echo "$as_me:$LINENO: error: can't link a simple motif program" >&5
34462 echo "$as_me: error: can't link a simple motif program" >&2;}
34463 { (exit 1); exit 1; }; }
34466 { echo "$as_me:$LINENO: checking for SgCreateList in -lSgm" >&5
34467 echo $ECHO_N "checking for SgCreateList in -lSgm... $ECHO_C" >&6; }
34468 if test "${ac_cv_lib_Sgm_SgCreateList+set}" = set; then
34469 echo $ECHO_N "(cached) $ECHO_C" >&6
34471 ac_check_lib_save_LIBS
=$LIBS
34473 cat >conftest.
$ac_ext <<_ACEOF
34476 cat confdefs.h
>>conftest.
$ac_ext
34477 cat >>conftest.
$ac_ext <<_ACEOF
34478 /* end confdefs.h. */
34480 /* Override any GCC internal prototype to avoid an error.
34481 Use char because int might match the return type of a GCC
34482 builtin and then its argument prototype would still apply. */
34486 char SgCreateList ();
34490 return SgCreateList ();
34495 rm -f conftest.
$ac_objext conftest
$ac_exeext
34496 if { (ac_try
="$ac_link"
34497 case "(($ac_try" in
34498 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
34499 *) ac_try_echo=$ac_try;;
34501 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34502 (eval "$ac_link") 2>conftest.er1
34504 grep -v '^ *+' conftest.er1 >conftest.err
34506 cat conftest.err >&5
34507 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34508 (exit $ac_status); } && {
34509 test -z "$ac_c_werror_flag" ||
34510 test ! -s conftest.err
34511 } && test -s conftest$ac_exeext &&
34512 $as_test_x conftest$ac_exeext; then
34513 ac_cv_lib_Sgm_SgCreateList=yes
34515 echo "$as_me: failed program was:" >&5
34516 sed 's/^/| /' conftest.$ac_ext >&5
34518 ac_cv_lib_Sgm_SgCreateList=no
34521 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
34522 conftest$ac_exeext conftest.$ac_ext
34523 LIBS=$ac_check_lib_save_LIBS
34525 { echo "$as_me:$LINENO: result: $ac_cv_lib_Sgm_SgCreateList" >&5
34526 echo "${ECHO_T}$ac_cv_lib_Sgm_SgCreateList" >&6; }
34527 if test $ac_cv_lib_Sgm_SgCreateList = yes; then
34528 libsgm_link=" -lSgm"
34532 save_CFLAGS=$CFLAGS
34533 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
34535 { echo "$as_me:$LINENO: checking for Motif 2" >&5
34536 echo $ECHO_N "checking for Motif 2... $ECHO_C" >&6; }
34537 if test "${wx_cv_lib_motif2+set}" = set; then
34538 echo $ECHO_N "(cached) $ECHO_C" >&6
34540 cat >conftest.$ac_ext <<_ACEOF
34543 cat confdefs.h >>conftest.$ac_ext
34544 cat >>conftest.$ac_ext <<_ACEOF
34545 /* end confdefs.h. */
34553 #if XmVersion < 2000
34561 rm -f conftest.$ac_objext
34562 if { (ac_try="$ac_compile"
34563 case "(($ac_try" in
34564 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
34565 *) ac_try_echo
=$ac_try;;
34567 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34568 (eval "$ac_compile") 2>conftest.er1
34570 grep -v '^ *+' conftest.er1
>conftest.err
34572 cat conftest.err
>&5
34573 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34574 (exit $ac_status); } && {
34575 test -z "$ac_c_werror_flag" ||
34576 test ! -s conftest.err
34577 } && test -s conftest.
$ac_objext; then
34578 wx_cv_lib_motif2
="yes"
34580 echo "$as_me: failed program was:" >&5
34581 sed 's/^/| /' conftest.
$ac_ext >&5
34583 wx_cv_lib_motif2
="no"
34586 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
34588 { echo "$as_me:$LINENO: result: $wx_cv_lib_motif2" >&5
34589 echo "${ECHO_T}$wx_cv_lib_motif2" >&6; }
34590 if test "$wx_cv_lib_motif2" = "yes"; then
34591 cat >>confdefs.h
<<\_ACEOF
34592 #define __WXMOTIF20__ 1
34596 cat >>confdefs.h
<<\_ACEOF
34597 #define __WXMOTIF20__ 0
34602 { echo "$as_me:$LINENO: checking whether Motif is Lesstif" >&5
34603 echo $ECHO_N "checking whether Motif is Lesstif... $ECHO_C" >&6; }
34604 if test "${wx_cv_lib_lesstif+set}" = set; then
34605 echo $ECHO_N "(cached) $ECHO_C" >&6
34607 cat >conftest.
$ac_ext <<_ACEOF
34610 cat confdefs.h
>>conftest.
$ac_ext
34611 cat >>conftest.
$ac_ext <<_ACEOF
34612 /* end confdefs.h. */
34620 #if !defined(LesstifVersion) || LesstifVersion <= 0
34628 rm -f conftest.
$ac_objext
34629 if { (ac_try
="$ac_compile"
34630 case "(($ac_try" in
34631 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
34632 *) ac_try_echo=$ac_try;;
34634 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34635 (eval "$ac_compile") 2>conftest.er1
34637 grep -v '^ *+' conftest.er1 >conftest.err
34639 cat conftest.err >&5
34640 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34641 (exit $ac_status); } && {
34642 test -z "$ac_c_werror_flag" ||
34643 test ! -s conftest.err
34644 } && test -s conftest.$ac_objext; then
34645 wx_cv_lib_lesstif="yes"
34647 echo "$as_me: failed program was:" >&5
34648 sed 's/^/| /' conftest.$ac_ext >&5
34650 wx_cv_lib_lesstif="no"
34653 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34656 { echo "$as_me:$LINENO: result: $wx_cv_lib_lesstif" >&5
34657 echo "${ECHO_T}$wx_cv_lib_lesstif" >&6; }
34658 if test "$wx_cv_lib_lesstif" = "yes"; then
34659 cat >>confdefs.h <<\_ACEOF
34660 #define __WXLESSTIF__ 1
34664 cat >>confdefs.h <<\_ACEOF
34665 #define __WXLESSTIF__ 0
34670 CFLAGS=$save_CFLAGS
34672 GUI_TK_LIBRARY="$GUI_TK_LIBRARY${libsgm_link} -lXm${libp_link} -lXmu -lXext -lXt${libsm_ice_link} -lX11"
34677 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
34678 if test "$wxUSE_LIBXPM" = "sys"; then
34679 { echo "$as_me:$LINENO: checking for Xpm library" >&5
34680 echo $ECHO_N "checking for Xpm library... $ECHO_C" >&6; }
34683 for ac_dir in $SEARCH_LIB;
34685 for ac_extension in a so sl dylib dll.a; do
34686 if test -f "$ac_dir/libXpm.$ac_extension"; then
34687 ac_find_libraries=$ac_dir
34693 if test "$ac_find_libraries" != "" ; then
34695 if test "$ac_find_libraries" = "default location"; then
34698 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
34700 if test $result = 0; then
34703 ac_path_to_link=" -L$ac_find_libraries"
34707 GUI_TK_LIBRARY="$GUI_TK_LIBRARY$ac_path_to_link"
34708 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
34709 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
34711 { echo "$as_me:$LINENO: checking for X11/xpm.h" >&5
34712 echo $ECHO_N "checking for X11/xpm.h... $ECHO_C" >&6; }
34713 if test "${wx_cv_x11_xpm_h+set}" = set; then
34714 echo $ECHO_N "(cached) $ECHO_C" >&6
34717 save_CFLAGS=$CFLAGS
34718 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
34720 cat >conftest.$ac_ext <<_ACEOF
34723 cat confdefs.h >>conftest.$ac_ext
34724 cat >>conftest.$ac_ext <<_ACEOF
34725 /* end confdefs.h. */
34727 #include <X11/xpm.h>
34734 version = XpmLibraryVersion();
34740 rm -f conftest.$ac_objext
34741 if { (ac_try="$ac_compile"
34742 case "(($ac_try" in
34743 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
34744 *) ac_try_echo
=$ac_try;;
34746 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34747 (eval "$ac_compile") 2>conftest.er1
34749 grep -v '^ *+' conftest.er1
>conftest.err
34751 cat conftest.err
>&5
34752 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34753 (exit $ac_status); } && {
34754 test -z "$ac_c_werror_flag" ||
34755 test ! -s conftest.err
34756 } && test -s conftest.
$ac_objext; then
34757 wx_cv_x11_xpm_h
=yes
34759 echo "$as_me: failed program was:" >&5
34760 sed 's/^/| /' conftest.
$ac_ext >&5
34766 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
34768 CFLAGS
=$save_CFLAGS
34772 { echo "$as_me:$LINENO: result: $wx_cv_x11_xpm_h" >&5
34773 echo "${ECHO_T}$wx_cv_x11_xpm_h" >&6; }
34775 if test $wx_cv_x11_xpm_h = "yes"; then
34776 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lXpm"
34777 cat >>confdefs.h
<<\_ACEOF
34778 #define wxHAVE_LIB_XPM 1
34782 { echo "$as_me:$LINENO: WARNING: built-in less efficient XPM decoder will be used" >&5
34783 echo "$as_me: WARNING: built-in less efficient XPM decoder will be used" >&2;}
34789 { echo "$as_me:$LINENO: checking for XShapeQueryExtension in -lXext" >&5
34790 echo $ECHO_N "checking for XShapeQueryExtension in -lXext... $ECHO_C" >&6; }
34791 if test "${ac_cv_lib_Xext_XShapeQueryExtension+set}" = set; then
34792 echo $ECHO_N "(cached) $ECHO_C" >&6
34794 ac_check_lib_save_LIBS
=$LIBS
34795 LIBS
="-lXext $GUI_TK_LIBRARY -lX11 $LIBS"
34796 cat >conftest.
$ac_ext <<_ACEOF
34799 cat confdefs.h
>>conftest.
$ac_ext
34800 cat >>conftest.
$ac_ext <<_ACEOF
34801 /* end confdefs.h. */
34803 /* Override any GCC internal prototype to avoid an error.
34804 Use char because int might match the return type of a GCC
34805 builtin and then its argument prototype would still apply. */
34809 char XShapeQueryExtension ();
34813 return XShapeQueryExtension ();
34818 rm -f conftest.
$ac_objext conftest
$ac_exeext
34819 if { (ac_try
="$ac_link"
34820 case "(($ac_try" in
34821 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
34822 *) ac_try_echo=$ac_try;;
34824 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34825 (eval "$ac_link") 2>conftest.er1
34827 grep -v '^ *+' conftest.er1 >conftest.err
34829 cat conftest.err >&5
34830 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34831 (exit $ac_status); } && {
34832 test -z "$ac_c_werror_flag" ||
34833 test ! -s conftest.err
34834 } && test -s conftest$ac_exeext &&
34835 $as_test_x conftest$ac_exeext; then
34836 ac_cv_lib_Xext_XShapeQueryExtension=yes
34838 echo "$as_me: failed program was:" >&5
34839 sed 's/^/| /' conftest.$ac_ext >&5
34841 ac_cv_lib_Xext_XShapeQueryExtension=no
34844 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
34845 conftest$ac_exeext conftest.$ac_ext
34846 LIBS=$ac_check_lib_save_LIBS
34848 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
34849 echo "${ECHO_T}$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
34850 if test $ac_cv_lib_Xext_XShapeQueryExtension = yes; then
34852 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXext"
34858 if test "$wxHAVE_XEXT_LIB" = 1; then
34859 save_CFLAGS="$CFLAGS"
34860 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
34862 { echo "$as_me:$LINENO: checking for X11/extensions/shape.h" >&5
34863 echo $ECHO_N "checking for X11/extensions/shape.h... $ECHO_C" >&6; }
34864 cat >conftest.$ac_ext <<_ACEOF
34867 cat confdefs.h >>conftest.$ac_ext
34868 cat >>conftest.$ac_ext <<_ACEOF
34869 /* end confdefs.h. */
34871 #include <X11/Xlib.h>
34872 #include <X11/extensions/shape.h>
34878 int dummy1, dummy2;
34879 XShapeQueryExtension((Display*)NULL,
34880 (int*)NULL, (int*)NULL);
34886 rm -f conftest.$ac_objext
34887 if { (ac_try="$ac_compile"
34888 case "(($ac_try" in
34889 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
34890 *) ac_try_echo
=$ac_try;;
34892 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34893 (eval "$ac_compile") 2>conftest.er1
34895 grep -v '^ *+' conftest.er1
>conftest.err
34897 cat conftest.err
>&5
34898 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34899 (exit $ac_status); } && {
34900 test -z "$ac_c_werror_flag" ||
34901 test ! -s conftest.err
34902 } && test -s conftest.
$ac_objext; then
34904 cat >>confdefs.h
<<\_ACEOF
34905 #define HAVE_XSHAPE 1
34908 { echo "$as_me:$LINENO: result: found" >&5
34909 echo "${ECHO_T}found" >&6; }
34912 echo "$as_me: failed program was:" >&5
34913 sed 's/^/| /' conftest.
$ac_ext >&5
34916 { echo "$as_me:$LINENO: result: not found" >&5
34917 echo "${ECHO_T}not found" >&6; }
34921 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
34922 CFLAGS
="$save_CFLAGS"
34927 if test "$wxUSE_MAC" = 1; then
34928 { echo "$as_me:$LINENO: checking for compiler syntax to enable Pascal strings" >&5
34929 echo $ECHO_N "checking for compiler syntax to enable Pascal strings... $ECHO_C" >&6; }
34930 if test "$GCC" = yes; then
34931 { echo "$as_me:$LINENO: result: gcc" >&5
34932 echo "${ECHO_T}gcc" >&6; }
34933 CPPFLAGS_PASCAL
="-fpascal-strings"
34934 elif test "`echo $CXX | sed -e 's@.*/@@'`" = "xlC"; then
34935 { echo "$as_me:$LINENO: result: xlc" >&5
34936 echo "${ECHO_T}xlc" >&6; }
34937 CPPFLAGS_PASCAL
="-qmacpstr"
34939 { echo "$as_me:$LINENO: result: none" >&5
34940 echo "${ECHO_T}none" >&6; }
34943 if test "x$wxUSE_UNIX" = "xyes"; then
34944 CPPFLAGS
="$CPPFLAGS_PASCAL -I\${top_srcdir}/src/mac/carbon/morefilex -I/Developer/Headers/FlatCarbon $CPPFLAGS"
34946 CPPFLAGS
="$CPPFLAGS_PASCAL -I\${top_srcdir}/src/mac/carbon/morefilex -DTARGET_CARBON $CPPFLAGS"
34951 WXBASEPORT
="_carbon"
34954 if test "$wxUSE_COCOA" = 1; then
34959 if test "$wxUSE_PM" = 1; then
34962 { echo "$as_me:$LINENO: checking for type SPBCDATA" >&5
34963 echo $ECHO_N "checking for type SPBCDATA... $ECHO_C" >&6; }
34964 if test "${wx_cv_spbcdata+set}" = set; then
34965 echo $ECHO_N "(cached) $ECHO_C" >&6
34968 cat >conftest.
$ac_ext <<_ACEOF
34971 cat confdefs.h
>>conftest.
$ac_ext
34972 cat >>conftest.
$ac_ext <<_ACEOF
34973 /* end confdefs.h. */
34988 rm -f conftest.
$ac_objext
34989 if { (ac_try
="$ac_compile"
34990 case "(($ac_try" in
34991 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
34992 *) ac_try_echo=$ac_try;;
34994 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34995 (eval "$ac_compile") 2>conftest.er1
34997 grep -v '^ *+' conftest.er1 >conftest.err
34999 cat conftest.err >&5
35000 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35001 (exit $ac_status); } && {
35002 test -z "$ac_c_werror_flag" ||
35003 test ! -s conftest.err
35004 } && test -s conftest.$ac_objext; then
35007 echo "$as_me: failed program was:" >&5
35008 sed 's/^/| /' conftest.$ac_ext >&5
35014 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35018 { echo "$as_me:$LINENO: result: $wx_cv_spbcdata" >&5
35019 echo "${ECHO_T}$wx_cv_spbcdata" >&6; }
35021 if test $wx_cv_spbcdata = "yes"; then
35022 cat >>confdefs.h <<\_ACEOF
35023 #define HAVE_SPBCDATA 1
35029 if test "$TOOLKIT" = "PM" ; then
35032 TOOLKIT_DIR=`echo ${TOOLKIT} | tr "[A-Z]" "[a-z]"`
35035 if test "$wxUSE_UNIVERSAL" = "yes"; then
35036 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXUNIVERSAL__"
35040 GUIDIST="${GUIDIST} SAMPLES_DIST DEMOS_DIST UTILS_DIST MISC_DIST"
35041 DISTDIR="wx\$(TOOLKIT)"
35047 if test "$USE_WIN32" = 1 ; then
35051 GUIDIST="BASE_DIST"
35057 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_UTF8" = "auto" ; then
35058 if test "$TOOLKIT" = "DFB" ; then
35059 wxUSE_UNICODE_UTF8=yes
35060 elif test "$TOOLKIT" = "GTK" -a "$WXGTK20" = "1" ; then
35061 wxUSE_UNICODE_UTF8=yes
35062 elif test "$USE_OS2" = "1" ; then
35063 wxUSE_UNICODE_UTF8=yes
35065 wxUSE_UNICODE_UTF8=no
35070 if test "$wxUSE_GUI" = "yes"; then
35071 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_PM" != 1; then
35073 for ac_header in X11/Xlib.h
35075 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
35076 { echo "$as_me:$LINENO: checking for $ac_header" >&5
35077 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
35078 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
35079 echo $ECHO_N "(cached) $ECHO_C" >&6
35081 cat >conftest.$ac_ext <<_ACEOF
35084 cat confdefs.h >>conftest.$ac_ext
35085 cat >>conftest.$ac_ext <<_ACEOF
35086 /* end confdefs.h. */
35089 #include <$ac_header>
35091 rm -f conftest.$ac_objext
35092 if { (ac_try="$ac_compile"
35093 case "(($ac_try" in
35094 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
35095 *) ac_try_echo
=$ac_try;;
35097 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35098 (eval "$ac_compile") 2>conftest.er1
35100 grep -v '^ *+' conftest.er1
>conftest.err
35102 cat conftest.err
>&5
35103 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35104 (exit $ac_status); } && {
35105 test -z "$ac_c_werror_flag" ||
35106 test ! -s conftest.err
35107 } && test -s conftest.
$ac_objext; then
35108 eval "$as_ac_Header=yes"
35110 echo "$as_me: failed program was:" >&5
35111 sed 's/^/| /' conftest.
$ac_ext >&5
35113 eval "$as_ac_Header=no"
35116 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
35118 ac_res
=`eval echo '${'$as_ac_Header'}'`
35119 { echo "$as_me:$LINENO: result: $ac_res" >&5
35120 echo "${ECHO_T}$ac_res" >&6; }
35121 if test `eval echo '${'$as_ac_Header'}'` = yes; then
35122 cat >>confdefs.h
<<_ACEOF
35123 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
35131 for ac_header
in X
11/XKBlib.h
35133 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
35134 { echo "$as_me:$LINENO: checking for $ac_header" >&5
35135 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
35136 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
35137 echo $ECHO_N "(cached) $ECHO_C" >&6
35139 cat >conftest.
$ac_ext <<_ACEOF
35142 cat confdefs.h
>>conftest.
$ac_ext
35143 cat >>conftest.
$ac_ext <<_ACEOF
35144 /* end confdefs.h. */
35146 #if HAVE_X11_XLIB_H
35147 #include <X11/Xlib.h>
35151 #include <$ac_header>
35153 rm -f conftest.
$ac_objext
35154 if { (ac_try
="$ac_compile"
35155 case "(($ac_try" in
35156 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
35157 *) ac_try_echo=$ac_try;;
35159 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35160 (eval "$ac_compile") 2>conftest.er1
35162 grep -v '^ *+' conftest.er1 >conftest.err
35164 cat conftest.err >&5
35165 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35166 (exit $ac_status); } && {
35167 test -z "$ac_c_werror_flag" ||
35168 test ! -s conftest.err
35169 } && test -s conftest.$ac_objext; then
35170 eval "$as_ac_Header=yes"
35172 echo "$as_me: failed program was:" >&5
35173 sed 's/^/| /' conftest.$ac_ext >&5
35175 eval "$as_ac_Header=no"
35178 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35180 ac_res=`eval echo '${'$as_ac_Header'}'`
35181 { echo "$as_me:$LINENO: result: $ac_res" >&5
35182 echo "${ECHO_T}$ac_res" >&6; }
35183 if test `eval echo '${'$as_ac_Header'}'` = yes; then
35184 cat >>confdefs.h <<_ACEOF
35185 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
35200 if test "$TOOLKIT" != "MSW" ; then
35202 if test "$wxUSE_ODBC" = "sys" -o "$wxUSE_ODBC" = "yes" ; then
35204 { echo "$as_me:$LINENO: checking for sql.h" >&5
35205 echo $ECHO_N "checking for sql.h... $ECHO_C" >&6; }
35206 if test "${ac_cv_header_sql_h+set}" = set; then
35207 echo $ECHO_N "(cached) $ECHO_C" >&6
35209 cat >conftest.$ac_ext <<_ACEOF
35212 cat confdefs.h >>conftest.$ac_ext
35213 cat >>conftest.$ac_ext <<_ACEOF
35214 /* end confdefs.h. */
35219 rm -f conftest.$ac_objext
35220 if { (ac_try="$ac_compile"
35221 case "(($ac_try" in
35222 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
35223 *) ac_try_echo
=$ac_try;;
35225 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35226 (eval "$ac_compile") 2>conftest.er1
35228 grep -v '^ *+' conftest.er1
>conftest.err
35230 cat conftest.err
>&5
35231 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35232 (exit $ac_status); } && {
35233 test -z "$ac_c_werror_flag" ||
35234 test ! -s conftest.err
35235 } && test -s conftest.
$ac_objext; then
35236 ac_cv_header_sql_h
=yes
35238 echo "$as_me: failed program was:" >&5
35239 sed 's/^/| /' conftest.
$ac_ext >&5
35241 ac_cv_header_sql_h
=no
35244 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
35246 { echo "$as_me:$LINENO: result: $ac_cv_header_sql_h" >&5
35247 echo "${ECHO_T}$ac_cv_header_sql_h" >&6; }
35248 if test $ac_cv_header_sql_h = yes; then
35253 if test "x$found_sql_h" = "x1" ; then
35254 { echo "$as_me:$LINENO: checking for SQLAllocEnv in -liodbc" >&5
35255 echo $ECHO_N "checking for SQLAllocEnv in -liodbc... $ECHO_C" >&6; }
35256 if test "${ac_cv_lib_iodbc_SQLAllocEnv+set}" = set; then
35257 echo $ECHO_N "(cached) $ECHO_C" >&6
35259 ac_check_lib_save_LIBS
=$LIBS
35260 LIBS
="-liodbc $LIBS"
35261 cat >conftest.
$ac_ext <<_ACEOF
35264 cat confdefs.h
>>conftest.
$ac_ext
35265 cat >>conftest.
$ac_ext <<_ACEOF
35266 /* end confdefs.h. */
35268 /* Override any GCC internal prototype to avoid an error.
35269 Use char because int might match the return type of a GCC
35270 builtin and then its argument prototype would still apply. */
35274 char SQLAllocEnv ();
35278 return SQLAllocEnv ();
35283 rm -f conftest.
$ac_objext conftest
$ac_exeext
35284 if { (ac_try
="$ac_link"
35285 case "(($ac_try" in
35286 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
35287 *) ac_try_echo=$ac_try;;
35289 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35290 (eval "$ac_link") 2>conftest.er1
35292 grep -v '^ *+' conftest.er1 >conftest.err
35294 cat conftest.err >&5
35295 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35296 (exit $ac_status); } && {
35297 test -z "$ac_c_werror_flag" ||
35298 test ! -s conftest.err
35299 } && test -s conftest$ac_exeext &&
35300 $as_test_x conftest$ac_exeext; then
35301 ac_cv_lib_iodbc_SQLAllocEnv=yes
35303 echo "$as_me: failed program was:" >&5
35304 sed 's/^/| /' conftest.$ac_ext >&5
35306 ac_cv_lib_iodbc_SQLAllocEnv=no
35309 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35310 conftest$ac_exeext conftest.$ac_ext
35311 LIBS=$ac_check_lib_save_LIBS
35313 { echo "$as_me:$LINENO: result: $ac_cv_lib_iodbc_SQLAllocEnv" >&5
35314 echo "${ECHO_T}$ac_cv_lib_iodbc_SQLAllocEnv" >&6; }
35315 if test $ac_cv_lib_iodbc_SQLAllocEnv = yes; then
35316 ODBC_LINK=" -liodbc"
35319 { echo "$as_me:$LINENO: checking for SQLAllocEnv in -lunixodbc" >&5
35320 echo $ECHO_N "checking for SQLAllocEnv in -lunixodbc... $ECHO_C" >&6; }
35321 if test "${ac_cv_lib_unixodbc_SQLAllocEnv+set}" = set; then
35322 echo $ECHO_N "(cached) $ECHO_C" >&6
35324 ac_check_lib_save_LIBS=$LIBS
35325 LIBS="-lunixodbc $LIBS"
35326 cat >conftest.$ac_ext <<_ACEOF
35329 cat confdefs.h >>conftest.$ac_ext
35330 cat >>conftest.$ac_ext <<_ACEOF
35331 /* end confdefs.h. */
35333 /* Override any GCC internal prototype to avoid an error.
35334 Use char because int might match the return type of a GCC
35335 builtin and then its argument prototype would still apply. */
35339 char SQLAllocEnv ();
35343 return SQLAllocEnv ();
35348 rm -f conftest.$ac_objext conftest$ac_exeext
35349 if { (ac_try="$ac_link"
35350 case "(($ac_try" in
35351 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
35352 *) ac_try_echo
=$ac_try;;
35354 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35355 (eval "$ac_link") 2>conftest.er1
35357 grep -v '^ *+' conftest.er1
>conftest.err
35359 cat conftest.err
>&5
35360 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35361 (exit $ac_status); } && {
35362 test -z "$ac_c_werror_flag" ||
35363 test ! -s conftest.err
35364 } && test -s conftest
$ac_exeext &&
35365 $as_test_x conftest
$ac_exeext; then
35366 ac_cv_lib_unixodbc_SQLAllocEnv
=yes
35368 echo "$as_me: failed program was:" >&5
35369 sed 's/^/| /' conftest.
$ac_ext >&5
35371 ac_cv_lib_unixodbc_SQLAllocEnv
=no
35374 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
35375 conftest
$ac_exeext conftest.
$ac_ext
35376 LIBS
=$ac_check_lib_save_LIBS
35378 { echo "$as_me:$LINENO: result: $ac_cv_lib_unixodbc_SQLAllocEnv" >&5
35379 echo "${ECHO_T}$ac_cv_lib_unixodbc_SQLAllocEnv" >&6; }
35380 if test $ac_cv_lib_unixodbc_SQLAllocEnv = yes; then
35381 ODBC_LINK
=" -lunixodbc"
35384 { echo "$as_me:$LINENO: checking for SQLAllocEnv in -lodbc" >&5
35385 echo $ECHO_N "checking for SQLAllocEnv in -lodbc... $ECHO_C" >&6; }
35386 if test "${ac_cv_lib_odbc_SQLAllocEnv+set}" = set; then
35387 echo $ECHO_N "(cached) $ECHO_C" >&6
35389 ac_check_lib_save_LIBS
=$LIBS
35390 LIBS
="-lodbc $LIBS"
35391 cat >conftest.
$ac_ext <<_ACEOF
35394 cat confdefs.h
>>conftest.
$ac_ext
35395 cat >>conftest.
$ac_ext <<_ACEOF
35396 /* end confdefs.h. */
35398 /* Override any GCC internal prototype to avoid an error.
35399 Use char because int might match the return type of a GCC
35400 builtin and then its argument prototype would still apply. */
35404 char SQLAllocEnv ();
35408 return SQLAllocEnv ();
35413 rm -f conftest.
$ac_objext conftest
$ac_exeext
35414 if { (ac_try
="$ac_link"
35415 case "(($ac_try" in
35416 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
35417 *) ac_try_echo=$ac_try;;
35419 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35420 (eval "$ac_link") 2>conftest.er1
35422 grep -v '^ *+' conftest.er1 >conftest.err
35424 cat conftest.err >&5
35425 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35426 (exit $ac_status); } && {
35427 test -z "$ac_c_werror_flag" ||
35428 test ! -s conftest.err
35429 } && test -s conftest$ac_exeext &&
35430 $as_test_x conftest$ac_exeext; then
35431 ac_cv_lib_odbc_SQLAllocEnv=yes
35433 echo "$as_me: failed program was:" >&5
35434 sed 's/^/| /' conftest.$ac_ext >&5
35436 ac_cv_lib_odbc_SQLAllocEnv=no
35439 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35440 conftest$ac_exeext conftest.$ac_ext
35441 LIBS=$ac_check_lib_save_LIBS
35443 { echo "$as_me:$LINENO: result: $ac_cv_lib_odbc_SQLAllocEnv" >&5
35444 echo "${ECHO_T}$ac_cv_lib_odbc_SQLAllocEnv" >&6; }
35445 if test $ac_cv_lib_odbc_SQLAllocEnv = yes; then
35446 ODBC_LINK=" -lodbc"
35456 if test "x$ODBC_LINK" = "x" ; then
35457 if test "$wxUSE_ODBC" = "sys" ; then
35458 { { echo "$as_me:$LINENO: error: system ODBC library not found! Use --with-odbc=builtin to use built-in version" >&5
35459 echo "$as_me: error: system ODBC library not found! Use --with-odbc=builtin to use built-in version" >&2;}
35460 { (exit 1); exit 1; }; }
35462 { echo "$as_me:$LINENO: WARNING: system ODBC library not found, will use built-in instead" >&5
35463 echo "$as_me: WARNING: system ODBC library not found, will use built-in instead" >&2;}
35471 if test "$wxUSE_ODBC" = "builtin" ; then
35472 cat >>confdefs.h <<\_ACEOF
35473 #define wxUSE_BUILTIN_IODBC 1
35479 if test "$wxUSE_ODBC" != "no" ; then
35480 cat >>confdefs.h <<\_ACEOF
35481 #define wxUSE_ODBC 1
35484 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS db"
35486 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_IODBC_"
35490 if test "$wxUSE_DISPLAY" = "yes"; then
35491 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1; then
35492 { echo "$as_me:$LINENO: checking for Xinerama" >&5
35493 echo $ECHO_N "checking for Xinerama... $ECHO_C" >&6; }
35496 for ac_dir in $SEARCH_LIB;
35498 for ac_extension in a so sl dylib dll.a; do
35499 if test -f "$ac_dir/libXinerama.$ac_extension"; then
35500 ac_find_libraries=$ac_dir
35506 if test "$ac_find_libraries" != "" ; then
35508 if test "$ac_find_libraries" = "default location"; then
35511 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
35513 if test $result = 0; then
35516 ac_path_to_link=" -L$ac_find_libraries"
35520 if test "$ac_path_to_link" != " -L/usr/lib" ; then
35521 LDFLAGS="$LDFLAGS $ac_path_to_link"
35523 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXinerama"
35524 { echo "$as_me:$LINENO: result: yes" >&5
35525 echo "${ECHO_T}yes" >&6; }
35527 { echo "$as_me:$LINENO: checking for Xxf86vm extension" >&5
35528 echo $ECHO_N "checking for Xxf86vm extension... $ECHO_C" >&6; }
35531 for ac_dir in $SEARCH_LIB;
35533 for ac_extension in a so sl dylib dll.a; do
35534 if test -f "$ac_dir/libXxf86vm.$ac_extension"; then
35535 ac_find_libraries=$ac_dir
35541 if test "$ac_find_libraries" != "" ; then
35542 { echo "$as_me:$LINENO: result: yes" >&5
35543 echo "${ECHO_T}yes" >&6; }
35545 for ac_header in X11/extensions/xf86vmode.h
35547 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
35548 { echo "$as_me:$LINENO: checking for $ac_header" >&5
35549 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
35550 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
35551 echo $ECHO_N "(cached) $ECHO_C" >&6
35553 cat >conftest.$ac_ext <<_ACEOF
35556 cat confdefs.h >>conftest.$ac_ext
35557 cat >>conftest.$ac_ext <<_ACEOF
35558 /* end confdefs.h. */
35560 #if HAVE_X11_XLIB_H
35561 #include <X11/Xlib.h>
35565 #include <$ac_header>
35567 rm -f conftest.$ac_objext
35568 if { (ac_try="$ac_compile"
35569 case "(($ac_try" in
35570 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
35571 *) ac_try_echo
=$ac_try;;
35573 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35574 (eval "$ac_compile") 2>conftest.er1
35576 grep -v '^ *+' conftest.er1
>conftest.err
35578 cat conftest.err
>&5
35579 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35580 (exit $ac_status); } && {
35581 test -z "$ac_c_werror_flag" ||
35582 test ! -s conftest.err
35583 } && test -s conftest.
$ac_objext; then
35584 eval "$as_ac_Header=yes"
35586 echo "$as_me: failed program was:" >&5
35587 sed 's/^/| /' conftest.
$ac_ext >&5
35589 eval "$as_ac_Header=no"
35592 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
35594 ac_res
=`eval echo '${'$as_ac_Header'}'`
35595 { echo "$as_me:$LINENO: result: $ac_res" >&5
35596 echo "${ECHO_T}$ac_res" >&6; }
35597 if test `eval echo '${'$as_ac_Header'}'` = yes; then
35598 cat >>confdefs.h
<<_ACEOF
35599 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
35602 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lXxf86vm"
35609 { echo "$as_me:$LINENO: result: no" >&5
35610 echo "${ECHO_T}no" >&6; }
35614 { echo "$as_me:$LINENO: result: no" >&5
35615 echo "${ECHO_T}no" >&6; }
35616 { echo "$as_me:$LINENO: WARNING: Xinerama not found; disabling wxDisplay" >&5
35617 echo "$as_me: WARNING: Xinerama not found; disabling wxDisplay" >&2;}
35620 elif test "$wxUSE_MSW" = 1; then
35621 { echo "$as_me:$LINENO: checking for ddraw.h" >&5
35622 echo $ECHO_N "checking for ddraw.h... $ECHO_C" >&6; }
35623 if test "${ac_cv_header_ddraw_h+set}" = set; then
35624 echo $ECHO_N "(cached) $ECHO_C" >&6
35626 cat >conftest.
$ac_ext <<_ACEOF
35629 cat confdefs.h
>>conftest.
$ac_ext
35630 cat >>conftest.
$ac_ext <<_ACEOF
35631 /* end confdefs.h. */
35632 #include <windows.h>
35636 rm -f conftest.
$ac_objext
35637 if { (ac_try
="$ac_compile"
35638 case "(($ac_try" in
35639 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
35640 *) ac_try_echo=$ac_try;;
35642 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35643 (eval "$ac_compile") 2>conftest.er1
35645 grep -v '^ *+' conftest.er1 >conftest.err
35647 cat conftest.err >&5
35648 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35649 (exit $ac_status); } && {
35650 test -z "$ac_c_werror_flag" ||
35651 test ! -s conftest.err
35652 } && test -s conftest.$ac_objext; then
35653 ac_cv_header_ddraw_h=yes
35655 echo "$as_me: failed program was:" >&5
35656 sed 's/^/| /' conftest.$ac_ext >&5
35658 ac_cv_header_ddraw_h=no
35661 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35663 { echo "$as_me:$LINENO: result: $ac_cv_header_ddraw_h" >&5
35664 echo "${ECHO_T}$ac_cv_header_ddraw_h" >&6; }
35670 if test "$wxUSE_DETECT_SM" = "yes"; then
35671 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1; then
35672 { echo "$as_me:$LINENO: checking for -lSM - X11 session management" >&5
35673 echo $ECHO_N "checking for -lSM - X11 session management... $ECHO_C" >&6; }
35676 for ac_dir in $SEARCH_LIB;
35678 for ac_extension in a so sl dylib dll.a; do
35679 if test -f "$ac_dir/libSM.$ac_extension"; then
35680 ac_find_libraries=$ac_dir
35686 if test "$ac_find_libraries" != "" ; then
35688 if test "$ac_find_libraries" = "default location"; then
35691 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
35693 if test $result = 0; then
35696 ac_path_to_link=" -L$ac_find_libraries"
35700 if test "$ac_path_to_link" != " -L/usr/lib" ; then
35701 LDFLAGS="$LDFLAGS $ac_path_to_link"
35703 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lSM"
35704 { echo "$as_me:$LINENO: result: yes" >&5
35705 echo "${ECHO_T}yes" >&6; }
35707 { echo "$as_me:$LINENO: result: no" >&5
35708 echo "${ECHO_T}no" >&6; }
35709 { echo "$as_me:$LINENO: WARNING: libSM not found; disabling session management detection" >&5
35710 echo "$as_me: WARNING: libSM not found; disabling session management detection" >&2;}
35711 wxUSE_DETECT_SM="no"
35714 wxUSE_DETECT_SM="no"
35721 if test "$wxUSE_OPENGL" = "yes"; then
35722 if test "$wxUSE_MGL" = 1 -o "$wxUSE_DFB" = "1"; then
35723 { echo "$as_me:$LINENO: WARNING: wxGLCanvas not implemented for this port, library will be compiled without it." >&5
35724 echo "$as_me: WARNING: wxGLCanvas not implemented for this port, library will be compiled without it." >&2;}
35726 elif test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = "1"; then
35727 OPENGL_LIBS="-framework OpenGL -framework AGL"
35728 elif test "$wxUSE_MSW" = 1; then
35729 OPENGL_LIBS="-lopengl32 -lglu32"
35731 { echo "$as_me:$LINENO: checking for OpenGL headers" >&5
35732 echo $ECHO_N "checking for OpenGL headers... $ECHO_C" >&6; }
35735 for ac_dir in $SEARCH_INCLUDE /opt/graphics/OpenGL/include /usr/include;
35737 if test -f "$ac_dir/GL/gl.h"; then
35738 ac_find_includes=$ac_dir
35743 if test "$ac_find_includes" != "" ; then
35744 { echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
35745 echo "${ECHO_T}found in $ac_find_includes" >&6; }
35747 if test "x$ac_find_includes" = "x/usr/include"; then
35748 ac_path_to_include=""
35750 echo "$CPPFLAGS" | grep "\-I$ac_find_includes" > /dev/null
35752 if test $result = 0; then
35753 ac_path_to_include=""
35755 ac_path_to_include=" -I$ac_find_includes"
35759 CPPFLAGS="$ac_path_to_include $CPPFLAGS"
35761 { echo "$as_me:$LINENO: result: not found" >&5
35762 echo "${ECHO_T}not found" >&6; }
35765 { echo "$as_me:$LINENO: checking for GL/gl.h" >&5
35766 echo $ECHO_N "checking for GL/gl.h... $ECHO_C" >&6; }
35767 if test "${ac_cv_header_GL_gl_h+set}" = set; then
35768 echo $ECHO_N "(cached) $ECHO_C" >&6
35770 cat >conftest.$ac_ext <<_ACEOF
35773 cat confdefs.h >>conftest.$ac_ext
35774 cat >>conftest.$ac_ext <<_ACEOF
35775 /* end confdefs.h. */
35780 rm -f conftest.$ac_objext
35781 if { (ac_try="$ac_compile"
35782 case "(($ac_try" in
35783 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
35784 *) ac_try_echo
=$ac_try;;
35786 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35787 (eval "$ac_compile") 2>conftest.er1
35789 grep -v '^ *+' conftest.er1
>conftest.err
35791 cat conftest.err
>&5
35792 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35793 (exit $ac_status); } && {
35794 test -z "$ac_c_werror_flag" ||
35795 test ! -s conftest.err
35796 } && test -s conftest.
$ac_objext; then
35797 ac_cv_header_GL_gl_h
=yes
35799 echo "$as_me: failed program was:" >&5
35800 sed 's/^/| /' conftest.
$ac_ext >&5
35802 ac_cv_header_GL_gl_h
=no
35805 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
35807 { echo "$as_me:$LINENO: result: $ac_cv_header_GL_gl_h" >&5
35808 echo "${ECHO_T}$ac_cv_header_GL_gl_h" >&6; }
35809 if test $ac_cv_header_GL_gl_h = yes; then
35811 { echo "$as_me:$LINENO: checking for GL/glu.h" >&5
35812 echo $ECHO_N "checking for GL/glu.h... $ECHO_C" >&6; }
35813 if test "${ac_cv_header_GL_glu_h+set}" = set; then
35814 echo $ECHO_N "(cached) $ECHO_C" >&6
35816 cat >conftest.
$ac_ext <<_ACEOF
35819 cat confdefs.h
>>conftest.
$ac_ext
35820 cat >>conftest.
$ac_ext <<_ACEOF
35821 /* end confdefs.h. */
35824 #include <GL/glu.h>
35826 rm -f conftest.
$ac_objext
35827 if { (ac_try
="$ac_compile"
35828 case "(($ac_try" in
35829 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
35830 *) ac_try_echo=$ac_try;;
35832 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35833 (eval "$ac_compile") 2>conftest.er1
35835 grep -v '^ *+' conftest.er1 >conftest.err
35837 cat conftest.err >&5
35838 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35839 (exit $ac_status); } && {
35840 test -z "$ac_c_werror_flag" ||
35841 test ! -s conftest.err
35842 } && test -s conftest.$ac_objext; then
35843 ac_cv_header_GL_glu_h=yes
35845 echo "$as_me: failed program was:" >&5
35846 sed 's/^/| /' conftest.$ac_ext >&5
35848 ac_cv_header_GL_glu_h=no
35851 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35853 { echo "$as_me:$LINENO: result: $ac_cv_header_GL_glu_h" >&5
35854 echo "${ECHO_T}$ac_cv_header_GL_glu_h" >&6; }
35855 if test $ac_cv_header_GL_glu_h = yes; then
35859 { echo "$as_me:$LINENO: checking for -lGL" >&5
35860 echo $ECHO_N "checking for -lGL... $ECHO_C" >&6; }
35863 for ac_dir in $SEARCH_LIB /opt/graphics/OpenGL/lib;
35865 for ac_extension in a so sl dylib dll.a; do
35866 if test -f "$ac_dir/libGL.$ac_extension"; then
35867 ac_find_libraries=$ac_dir
35873 if test "$ac_find_libraries" != "" ; then
35874 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
35875 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
35878 if test "$ac_find_libraries" = "default location"; then
35881 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
35883 if test $result = 0; then
35886 ac_path_to_link=" -L$ac_find_libraries"
35890 if test "$ac_path_to_link" != " -L/usr/lib" ; then
35891 LDFLAGS_GL="$ac_path_to_link"
35894 { echo "$as_me:$LINENO: checking for -lGLU" >&5
35895 echo $ECHO_N "checking for -lGLU... $ECHO_C" >&6; }
35898 for ac_dir in $SEARCH_LIB;
35900 for ac_extension in a so sl dylib dll.a; do
35901 if test -f "$ac_dir/libGLU.$ac_extension"; then
35902 ac_find_libraries=$ac_dir
35908 if test "$ac_find_libraries" != "" ; then
35910 if test "$ac_find_libraries" = "default location"; then
35913 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
35915 if test $result = 0; then
35918 ac_path_to_link=" -L$ac_find_libraries"
35922 if test "$ac_path_to_link" != " -L/usr/lib" -a \
35923 "$ac_path_to_link" != "$LDFLAGS_GL"; then
35924 LDFLAGS_GL="$LDFLAGS_GL$ac_path_to_link"
35928 OPENGL_LIBS="-lGL -lGLU"
35929 { echo "$as_me:$LINENO: result: yes" >&5
35930 echo "${ECHO_T}yes" >&6; }
35932 { echo "$as_me:$LINENO: result: no" >&5
35933 echo "${ECHO_T}no" >&6; }
35936 { echo "$as_me:$LINENO: result: no" >&5
35937 echo "${ECHO_T}no" >&6; }
35940 if test "$found_gl" != 1; then
35941 { echo "$as_me:$LINENO: checking for -lMesaGL" >&5
35942 echo $ECHO_N "checking for -lMesaGL... $ECHO_C" >&6; }
35945 for ac_dir in $SEARCH_LIB;
35947 for ac_extension in a so sl dylib dll.a; do
35948 if test -f "$ac_dir/libMesaGL.$ac_extension"; then
35949 ac_find_libraries=$ac_dir
35955 if test "$ac_find_libraries" != "" ; then
35957 if test "$ac_find_libraries" = "default location"; then
35960 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
35962 if test $result = 0; then
35965 ac_path_to_link=" -L$ac_find_libraries"
35969 LDFLAGS_GL="$LDFLAGS$ac_path_to_link"
35970 OPENGL_LIBS="-lMesaGL -lMesaGLU"
35971 { echo "$as_me:$LINENO: result: yes" >&5
35972 echo "${ECHO_T}yes" >&6; }
35974 { echo "$as_me:$LINENO: result: no" >&5
35975 echo "${ECHO_T}no" >&6; }
35987 if test "x$OPENGL_LIBS" = "x"; then
35988 { { echo "$as_me:$LINENO: error: OpenGL libraries not available" >&5
35989 echo "$as_me: error: OpenGL libraries not available" >&2;}
35990 { (exit 1); exit 1; }; }
35994 if test "$wxUSE_OPENGL" = "yes"; then
35996 cat >>confdefs.h <<\_ACEOF
35997 #define wxUSE_OPENGL 1
36000 cat >>confdefs.h <<\_ACEOF
36001 #define wxUSE_GLCANVAS 1
36004 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS opengl opengl/cube opengl/penguin opengl/isosurf"
36009 if test -n "$TOOLKIT" ; then
36010 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WX${TOOLKIT}__"
36015 if test "$wxUSE_SHARED" = "yes"; then
36019 { echo "$as_me:$LINENO: WARNING: Host system doesn't support shared libraries, disabling" >&5
36020 echo "$as_me: WARNING: Host system doesn't support shared libraries, disabling" >&2;}
36025 if test "$wxUSE_SHARED" = "yes"; then
36029 *-*-cygwin* | *-*-mingw* )
36030 wx_cv_version_script=no
36034 { echo "$as_me:$LINENO: checking if the linker accepts --version-script" >&5
36035 echo $ECHO_N "checking if the linker accepts --version-script... $ECHO_C" >&6; }
36036 if test "${wx_cv_version_script+set}" = set; then
36037 echo $ECHO_N "(cached) $ECHO_C" >&6
36040 echo "VER_1 { *; };" >conftest.sym
36041 echo "int main() { return 0; }" >conftest.cpp
36044 $CXX -o conftest.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
36045 -Wl,--version-script,conftest.sym >/dev/null 2>conftest.stderr'
36046 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36047 (eval $ac_try) 2>&5
36049 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36050 (exit $ac_status); }; } ; then
36051 if test -s conftest.stderr ; then
36052 wx_cv_version_script=no
36054 wx_cv_version_script=yes
36057 wx_cv_version_script=no
36060 if test $wx_cv_version_script = yes
36062 echo "struct B { virtual ~B() { } }; \
36063 struct D : public B { }; \
36064 void F() { D d; }" > conftest.cpp
36067 $CXX -shared -fPIC -o conftest1.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
36068 -Wl,--version-script,conftest.sym >/dev/null 2>/dev/null'
36069 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36070 (eval $ac_try) 2>&5
36072 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36073 (exit $ac_status); }; } &&
36075 $CXX -shared -fPIC -o conftest2.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
36076 -Wl,--version-script,conftest.sym conftest1.output >/dev/null 2>/dev/null'
36077 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36078 (eval $ac_try) 2>&5
36080 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36081 (exit $ac_status); }; }
36084 $CXX -shared -fPIC -o conftest3.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
36085 -Wl,--version-script,conftest.sym conftest2.output conftest1.output >/dev/null 2>/dev/null'
36086 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36087 (eval $ac_try) 2>&5
36089 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36090 (exit $ac_status); }; }
36092 wx_cv_version_script=yes
36094 wx_cv_version_script=no
36099 rm -f conftest.output conftest.stderr conftest.sym conftest.cpp
36100 rm -f conftest1.output conftest2.output conftest3.output
36103 { echo "$as_me:$LINENO: result: $wx_cv_version_script" >&5
36104 echo "${ECHO_T}$wx_cv_version_script" >&6; }
36106 if test $wx_cv_version_script = yes ; then
36107 LDFLAGS_VERSIONING="-Wl,--version-script,\$(wx_top_builddir)/version-script"
36113 if test "$wxUSE_VISIBILITY" != "no"; then
36116 if test -n "$GCC"; then
36117 CFLAGS_VISIBILITY="-fvisibility=hidden"
36118 CXXFLAGS_VISIBILITY="-fvisibility=hidden -fvisibility-inlines-hidden"
36119 { echo "$as_me:$LINENO: checking for symbols visibility support" >&5
36120 echo $ECHO_N "checking for symbols visibility support... $ECHO_C" >&6; }
36121 if test "${wx_cv_cc_visibility+set}" = set; then
36122 echo $ECHO_N "(cached) $ECHO_C" >&6
36125 wx_save_CXXFLAGS="$CXXFLAGS"
36126 CXXFLAGS="$CXXFLAGS $CXXFLAGS_VISIBILITY"
36128 ac_cpp='$CXXCPP $CPPFLAGS'
36129 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36130 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36131 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36133 cat >conftest.$ac_ext <<_ACEOF
36136 cat confdefs.h >>conftest.$ac_ext
36137 cat >>conftest.$ac_ext <<_ACEOF
36138 /* end confdefs.h. */
36140 /* we need gcc >= 4.0, older versions with visibility support
36141 didn't have class visibility: */
36142 #if defined(__GNUC__) && __GNUC__ < 4
36143 error this gcc is too old;
36146 /* visibility only makes sense for ELF shared libs: */
36147 #if !defined(__ELF__) && !defined(__APPLE__)
36148 error this platform has no visibility;
36151 extern __attribute__((__visibility__("hidden"))) int hiddenvar;
36152 extern __attribute__((__visibility__("default"))) int exportedvar;
36153 extern __attribute__((__visibility__("hidden"))) int hiddenfunc (void);
36154 extern __attribute__((__visibility__("default"))) int exportedfunc (void);
36155 class __attribute__((__visibility__("default"))) Foo {
36167 rm -f conftest.$ac_objext
36168 if { (ac_try="$ac_compile"
36169 case "(($ac_try" in
36170 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
36171 *) ac_try_echo
=$ac_try;;
36173 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36174 (eval "$ac_compile") 2>conftest.er1
36176 grep -v '^ *+' conftest.er1
>conftest.err
36178 cat conftest.err
>&5
36179 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36180 (exit $ac_status); } && {
36181 test -z "$ac_cxx_werror_flag" ||
36182 test ! -s conftest.err
36183 } && test -s conftest.
$ac_objext; then
36184 wx_cv_cc_visibility
=yes
36186 echo "$as_me: failed program was:" >&5
36187 sed 's/^/| /' conftest.
$ac_ext >&5
36189 wx_cv_cc_visibility
=no
36192 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
36194 ac_cpp
='$CPP $CPPFLAGS'
36195 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36196 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36197 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
36199 CXXFLAGS
="$wx_save_CXXFLAGS"
36202 { echo "$as_me:$LINENO: result: $wx_cv_cc_visibility" >&5
36203 echo "${ECHO_T}$wx_cv_cc_visibility" >&6; }
36204 if test $wx_cv_cc_visibility = yes; then
36205 cat >>confdefs.h
<<\_ACEOF
36206 #define HAVE_VISIBILITY 1
36210 { echo "$as_me:$LINENO: checking for broken libstdc++ visibility" >&5
36211 echo $ECHO_N "checking for broken libstdc++ visibility... $ECHO_C" >&6; }
36212 if test "${wx_cv_cc_broken_libstdcxx_visibility+set}" = set; then
36213 echo $ECHO_N "(cached) $ECHO_C" >&6
36216 wx_save_CXXFLAGS
="$CXXFLAGS"
36217 wx_save_LDFLAGS
="$LDFLAGS"
36218 CXXFLAGS
="$CXXFLAGS $CXXFLAGS_VISIBILITY"
36219 LDFLAGS
="$LDFLAGS -shared -fPIC"
36221 ac_cpp
='$CXXCPP $CPPFLAGS'
36222 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36223 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36224 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
36226 cat >conftest.
$ac_ext <<_ACEOF
36229 cat confdefs.h
>>conftest.
$ac_ext
36230 cat >>conftest.
$ac_ext <<_ACEOF
36231 /* end confdefs.h. */
36239 std::string s("hello");
36246 rm -f conftest.
$ac_objext conftest
$ac_exeext
36247 if { (ac_try
="$ac_link"
36248 case "(($ac_try" in
36249 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
36250 *) ac_try_echo=$ac_try;;
36252 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36253 (eval "$ac_link") 2>conftest.er1
36255 grep -v '^ *+' conftest.er1 >conftest.err
36257 cat conftest.err >&5
36258 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36259 (exit $ac_status); } && {
36260 test -z "$ac_cxx_werror_flag" ||
36261 test ! -s conftest.err
36262 } && test -s conftest$ac_exeext &&
36263 $as_test_x conftest$ac_exeext; then
36264 wx_cv_cc_broken_libstdcxx_visibility=no
36266 echo "$as_me: failed program was:" >&5
36267 sed 's/^/| /' conftest.$ac_ext >&5
36269 wx_cv_cc_broken_libstdcxx_visibility=yes
36272 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36273 conftest$ac_exeext conftest.$ac_ext
36275 ac_cpp='$CPP $CPPFLAGS'
36276 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36277 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36278 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36280 CXXFLAGS="$wx_save_CXXFLAGS"
36281 LDFLAGS="$wx_save_LDFLAGS"
36284 { echo "$as_me:$LINENO: result: $wx_cv_cc_broken_libstdcxx_visibility" >&5
36285 echo "${ECHO_T}$wx_cv_cc_broken_libstdcxx_visibility" >&6; }
36286 if test $wx_cv_cc_broken_libstdcxx_visibility = yes; then
36287 cat >>confdefs.h <<\_ACEOF
36288 #define HAVE_BROKEN_LIBSTDCXX_VISIBILITY 1
36294 CFLAGS_VISIBILITY=""
36295 CXXFLAGS_VISIBILITY=""
36303 if test "x$SUNCXX" = xyes; then
36304 SAMPLES_RPATH_FLAG="-R\$(wx_top_builddir)/lib"
36305 WXCONFIG_RPATH="-R\$libdir"
36308 *-*-linux* | *-*-gnu* )
36309 SAMPLES_RPATH_FLAG="-Wl,-rpath,\$(wx_top_builddir)/lib"
36310 WXCONFIG_RPATH="-Wl,-rpath,\$libdir"
36315 CPPFLAGS="-isystem /usr/openwin/include $CPPFLAGS"
36317 saveLdflags="$LDFLAGS"
36318 LDFLAGS="$saveLdflags -Wl,-rpath,/"
36319 { echo "$as_me:$LINENO: checking if the linker accepts -rpath" >&5
36320 echo $ECHO_N "checking if the linker accepts -rpath... $ECHO_C" >&6; }
36321 cat >conftest.$ac_ext <<_ACEOF
36324 cat confdefs.h >>conftest.$ac_ext
36325 cat >>conftest.$ac_ext <<_ACEOF
36326 /* end confdefs.h. */
36336 rm -f conftest.$ac_objext conftest$ac_exeext
36337 if { (ac_try="$ac_link"
36338 case "(($ac_try" in
36339 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
36340 *) ac_try_echo
=$ac_try;;
36342 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36343 (eval "$ac_link") 2>conftest.er1
36345 grep -v '^ *+' conftest.er1
>conftest.err
36347 cat conftest.err
>&5
36348 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36349 (exit $ac_status); } && {
36350 test -z "$ac_c_werror_flag" ||
36351 test ! -s conftest.err
36352 } && test -s conftest
$ac_exeext &&
36353 $as_test_x conftest
$ac_exeext; then
36355 { echo "$as_me:$LINENO: result: yes" >&5
36356 echo "${ECHO_T}yes" >&6; }
36357 SAMPLES_RPATH_FLAG
="-Wl,-rpath,\$(wx_top_builddir)/lib"
36358 WXCONFIG_RPATH
="-Wl,-rpath,\$libdir"
36361 echo "$as_me: failed program was:" >&5
36362 sed 's/^/| /' conftest.
$ac_ext >&5
36365 { echo "$as_me:$LINENO: result: no" >&5
36366 echo "${ECHO_T}no" >&6; }
36367 { echo "$as_me:$LINENO: checking if the linker accepts -R" >&5
36368 echo $ECHO_N "checking if the linker accepts -R... $ECHO_C" >&6; }
36369 LDFLAGS
="$saveLdflags -Wl,-R,/"
36370 cat >conftest.
$ac_ext <<_ACEOF
36373 cat confdefs.h
>>conftest.
$ac_ext
36374 cat >>conftest.
$ac_ext <<_ACEOF
36375 /* end confdefs.h. */
36385 rm -f conftest.
$ac_objext conftest
$ac_exeext
36386 if { (ac_try
="$ac_link"
36387 case "(($ac_try" in
36388 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
36389 *) ac_try_echo=$ac_try;;
36391 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36392 (eval "$ac_link") 2>conftest.er1
36394 grep -v '^ *+' conftest.er1 >conftest.err
36396 cat conftest.err >&5
36397 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36398 (exit $ac_status); } && {
36399 test -z "$ac_c_werror_flag" ||
36400 test ! -s conftest.err
36401 } && test -s conftest$ac_exeext &&
36402 $as_test_x conftest$ac_exeext; then
36404 { echo "$as_me:$LINENO: result: yes" >&5
36405 echo "${ECHO_T}yes" >&6; }
36406 SAMPLES_RPATH_FLAG="-Wl,-R,\$(wx_top_builddir)/lib"
36407 WXCONFIG_RPATH="-Wl,-R,\$libdir"
36410 echo "$as_me: failed program was:" >&5
36411 sed 's/^/| /' conftest.$ac_ext >&5
36414 { echo "$as_me:$LINENO: result: no" >&5
36415 echo "${ECHO_T}no" >&6; }
36419 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36420 conftest$ac_exeext conftest.$ac_ext
36424 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36425 conftest$ac_exeext conftest.$ac_ext
36426 LDFLAGS="$saveLdflags"
36430 install_name_tool=`which install_name_tool
`
36431 if test "$install_name_tool" -a -x "$install_name_tool"; then
36432 SAMPLES_RPATH_POSTLINK="\$(wx_top_builddir)/change-install-names \$(LIBDIRNAME) \$(prefix) \$@"
36433 cat <<EOF >change-install-names
36435 libnames=\`cd \
${1} ; ls -1 | grep '\.[0-9][0-9]*\.dylib\$'\
`
36436 inst_cmd="install_name_tool "
36437 for i in \${libnames} ; do
36438 inst_cmd="\${inst_cmd} -change \${2}/lib/\${i} \${1}/\${i}"
36442 chmod +x change-install-names
36446 *-*-cygwin* | *-*-mingw32* )
36447 WXCONFIG_ONLY_CPPFLAGS="$WXCONFIG_ONLY_CPPFLAGS -DWXUSINGDLL"
36451 SAMPLES_RPATH_FLAG="-Wl,+b,\$(wx_top_builddir)/lib"
36452 WXCONFIG_RPATH="-Wl,+b,\$libdir"
36458 if test $wxUSE_RPATH = "no"; then
36459 SAMPLES_RPATH_FLAG=''
36460 SAMPLES_RPATH_POSTLINK=''
36468 config_linkage_component="-static"
36475 lib_unicode_suffix=
36477 if test "$wxUSE_UNICODE" = "yes"; then
36478 lib_unicode_suffix=u
36479 WX_CHARTYPE="unicode"
36484 WX_DEBUGTYPE="release"
36486 if test "$wxUSE_DEBUG_FLAG" = "yes"; then
36488 WX_DEBUGTYPE="debug"
36492 WX_FLAVOUR=${WX_FLAVOUR:+-$WX_FLAVOUR}
36493 WX_LIB_FLAVOUR=`echo $WX_FLAVOUR | tr '-' '_'`
36496 if test "$wxUSE_DEBUG_INFO" = "yes"; then
36500 WX_VERSION_TAG=`echo WX
${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}_
${WX_RELEASE} | tr "[a-z]" "[A-Z]"`
36502 TOOLCHAIN_NAME="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}"
36504 TOOLCHAIN_FULLNAME="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}-${WX_CHARTYPE}-${WX_DEBUGTYPE}${config_linkage_component}-${WX_RELEASE}${WX_FLAVOUR}"
36506 if test "$cross_compiling" = "yes"; then
36507 HOST_SUFFIX="-$host_alias"
36508 TOOLCHAIN_NAME="$TOOLCHAIN_NAME$HOST_SUFFIX"
36509 TOOLCHAIN_FULLNAME="${host_alias}-$TOOLCHAIN_FULLNAME"
36512 WX_LIBRARY_BASENAME_NOGUI="wx_base${WXBASEPORT}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
36513 if test "${TOOLKIT_DIR}" = "os2"; then
36514 WX_LIBRARY_BASENAME_GUI="wx_pm${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
36516 WX_LIBRARY_BASENAME_GUI="wx_${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
36521 if test "$wxUSE_COCOA" = 1; then
36524 ac_cpp='$CPP $CPPFLAGS'
36525 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36526 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36527 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36531 { echo "$as_me:$LINENO: checking if AppKit/NSEvent.h conflicts with CoreFoundation" >&5
36532 echo $ECHO_N "checking if AppKit/NSEvent.h conflicts with CoreFoundation... $ECHO_C" >&6; }
36533 cat >conftest.$ac_ext <<_ACEOF
36536 cat confdefs.h >>conftest.$ac_ext
36537 cat >>conftest.$ac_ext <<_ACEOF
36538 /* end confdefs.h. */
36539 #include <AppKit/NSEvent.h>
36540 #include <CoreFoundation/CoreFoundation.h>
36550 rm -f conftest.$ac_objext
36551 if { (ac_try="$ac_compile"
36552 case "(($ac_try" in
36553 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
36554 *) ac_try_echo
=$ac_try;;
36556 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36557 (eval "$ac_compile") 2>conftest.er1
36559 grep -v '^ *+' conftest.er1
>conftest.err
36561 cat conftest.err
>&5
36562 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36563 (exit $ac_status); } && {
36564 test -z "$ac_c_werror_flag" ||
36565 test ! -s conftest.err
36566 } && test -s conftest.
$ac_objext; then
36567 { echo "$as_me:$LINENO: result: no" >&5
36568 echo "${ECHO_T}no" >&6; }
36570 echo "$as_me: failed program was:" >&5
36571 sed 's/^/| /' conftest.
$ac_ext >&5
36573 { echo "$as_me:$LINENO: result: yes" >&5
36574 echo "${ECHO_T}yes" >&6; }
36575 { echo "$as_me:$LINENO: checking if defining __Point__ will fix it" >&5
36576 echo $ECHO_N "checking if defining __Point__ will fix it... $ECHO_C" >&6; }
36577 cat >conftest.
$ac_ext <<_ACEOF
36580 cat confdefs.h
>>conftest.
$ac_ext
36581 cat >>conftest.
$ac_ext <<_ACEOF
36582 /* end confdefs.h. */
36583 #define __Point__ 1
36584 #include <AppKit/NSEvent.h>
36585 #include <CoreFoundation/CoreFoundation.h>
36595 rm -f conftest.
$ac_objext
36596 if { (ac_try
="$ac_compile"
36597 case "(($ac_try" in
36598 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
36599 *) ac_try_echo=$ac_try;;
36601 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36602 (eval "$ac_compile") 2>conftest.er1
36604 grep -v '^ *+' conftest.er1 >conftest.err
36606 cat conftest.err >&5
36607 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36608 (exit $ac_status); } && {
36609 test -z "$ac_c_werror_flag" ||
36610 test ! -s conftest.err
36611 } && test -s conftest.$ac_objext; then
36612 { echo "$as_me:$LINENO: result: yes" >&5
36613 echo "${ECHO_T}yes" >&6; }
36614 cat >>confdefs.h <<\_ACEOF
36615 #define __Point__ 1
36620 echo "$as_me: failed program was:" >&5
36621 sed 's/^/| /' conftest.$ac_ext >&5
36623 { { echo "$as_me:$LINENO: error: no
36624 See \`config.log
' for more details." >&5
36625 echo "$as_me: error: no
36626 See \`config.log' for more details.
" >&2;}
36627 { (exit 1); exit 1; }; }
36631 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36635 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36637 ac_cpp='$CPP $CPPFLAGS'
36638 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36639 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36640 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36645 { echo "$as_me:$LINENO: checking
for mode_t
" >&5
36646 echo $ECHO_N "checking
for mode_t...
$ECHO_C" >&6; }
36647 if test "${ac_cv_type_mode_t+set}" = set; then
36648 echo $ECHO_N "(cached
) $ECHO_C" >&6
36650 cat >conftest.$ac_ext <<_ACEOF
36653 cat confdefs.h >>conftest.$ac_ext
36654 cat >>conftest.$ac_ext <<_ACEOF
36655 /* end confdefs.h. */
36656 $ac_includes_default
36657 typedef mode_t ac__type_new_;
36661 if ((ac__type_new_ *) 0)
36663 if (sizeof (ac__type_new_))
36669 rm -f conftest.$ac_objext
36670 if { (ac_try="$ac_compile"
36671 case "(($ac_try" in
36672 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36673 *) ac_try_echo=$ac_try;;
36675 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
36676 (eval "$ac_compile") 2>conftest.er1
36678 grep -v '^ *+' conftest.er1 >conftest.err
36680 cat conftest.err >&5
36681 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
36682 (exit $ac_status); } && {
36683 test -z "$ac_c_werror_flag" ||
36684 test ! -s conftest.err
36685 } && test -s conftest.$ac_objext; then
36686 ac_cv_type_mode_t=yes
36688 echo "$as_me: failed program was
:" >&5
36689 sed 's/^/| /' conftest.$ac_ext >&5
36691 ac_cv_type_mode_t=no
36694 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36696 { echo "$as_me:$LINENO: result
: $ac_cv_type_mode_t" >&5
36697 echo "${ECHO_T}$ac_cv_type_mode_t" >&6; }
36698 if test $ac_cv_type_mode_t = yes; then
36702 cat >>confdefs.h <<_ACEOF
36708 { echo "$as_me:$LINENO: checking
for off_t
" >&5
36709 echo $ECHO_N "checking
for off_t...
$ECHO_C" >&6; }
36710 if test "${ac_cv_type_off_t+set}" = set; then
36711 echo $ECHO_N "(cached
) $ECHO_C" >&6
36713 cat >conftest.$ac_ext <<_ACEOF
36716 cat confdefs.h >>conftest.$ac_ext
36717 cat >>conftest.$ac_ext <<_ACEOF
36718 /* end confdefs.h. */
36719 $ac_includes_default
36720 typedef off_t ac__type_new_;
36724 if ((ac__type_new_ *) 0)
36726 if (sizeof (ac__type_new_))
36732 rm -f conftest.$ac_objext
36733 if { (ac_try="$ac_compile"
36734 case "(($ac_try" in
36735 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36736 *) ac_try_echo=$ac_try;;
36738 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
36739 (eval "$ac_compile") 2>conftest.er1
36741 grep -v '^ *+' conftest.er1 >conftest.err
36743 cat conftest.err >&5
36744 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
36745 (exit $ac_status); } && {
36746 test -z "$ac_c_werror_flag" ||
36747 test ! -s conftest.err
36748 } && test -s conftest.$ac_objext; then
36749 ac_cv_type_off_t=yes
36751 echo "$as_me: failed program was
:" >&5
36752 sed 's/^/| /' conftest.$ac_ext >&5
36754 ac_cv_type_off_t=no
36757 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36759 { echo "$as_me:$LINENO: result
: $ac_cv_type_off_t" >&5
36760 echo "${ECHO_T}$ac_cv_type_off_t" >&6; }
36761 if test $ac_cv_type_off_t = yes; then
36765 cat >>confdefs.h <<_ACEOF
36766 #define off_t long int
36771 { echo "$as_me:$LINENO: checking
for pid_t
" >&5
36772 echo $ECHO_N "checking
for pid_t...
$ECHO_C" >&6; }
36773 if test "${ac_cv_type_pid_t+set}" = set; then
36774 echo $ECHO_N "(cached
) $ECHO_C" >&6
36776 cat >conftest.$ac_ext <<_ACEOF
36779 cat confdefs.h >>conftest.$ac_ext
36780 cat >>conftest.$ac_ext <<_ACEOF
36781 /* end confdefs.h. */
36782 $ac_includes_default
36783 typedef pid_t ac__type_new_;
36787 if ((ac__type_new_ *) 0)
36789 if (sizeof (ac__type_new_))
36795 rm -f conftest.$ac_objext
36796 if { (ac_try="$ac_compile"
36797 case "(($ac_try" in
36798 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36799 *) ac_try_echo=$ac_try;;
36801 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
36802 (eval "$ac_compile") 2>conftest.er1
36804 grep -v '^ *+' conftest.er1 >conftest.err
36806 cat conftest.err >&5
36807 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
36808 (exit $ac_status); } && {
36809 test -z "$ac_c_werror_flag" ||
36810 test ! -s conftest.err
36811 } && test -s conftest.$ac_objext; then
36812 ac_cv_type_pid_t=yes
36814 echo "$as_me: failed program was
:" >&5
36815 sed 's/^/| /' conftest.$ac_ext >&5
36817 ac_cv_type_pid_t=no
36820 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36822 { echo "$as_me:$LINENO: result
: $ac_cv_type_pid_t" >&5
36823 echo "${ECHO_T}$ac_cv_type_pid_t" >&6; }
36824 if test $ac_cv_type_pid_t = yes; then
36828 cat >>confdefs.h <<_ACEOF
36834 { echo "$as_me:$LINENO: checking
for size_t
" >&5
36835 echo $ECHO_N "checking
for size_t...
$ECHO_C" >&6; }
36836 if test "${ac_cv_type_size_t+set}" = set; then
36837 echo $ECHO_N "(cached
) $ECHO_C" >&6
36839 cat >conftest.$ac_ext <<_ACEOF
36842 cat confdefs.h >>conftest.$ac_ext
36843 cat >>conftest.$ac_ext <<_ACEOF
36844 /* end confdefs.h. */
36845 $ac_includes_default
36846 typedef size_t ac__type_new_;
36850 if ((ac__type_new_ *) 0)
36852 if (sizeof (ac__type_new_))
36858 rm -f conftest.$ac_objext
36859 if { (ac_try="$ac_compile"
36860 case "(($ac_try" in
36861 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36862 *) ac_try_echo=$ac_try;;
36864 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
36865 (eval "$ac_compile") 2>conftest.er1
36867 grep -v '^ *+' conftest.er1 >conftest.err
36869 cat conftest.err >&5
36870 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
36871 (exit $ac_status); } && {
36872 test -z "$ac_c_werror_flag" ||
36873 test ! -s conftest.err
36874 } && test -s conftest.$ac_objext; then
36875 ac_cv_type_size_t=yes
36877 echo "$as_me: failed program was
:" >&5
36878 sed 's/^/| /' conftest.$ac_ext >&5
36880 ac_cv_type_size_t=no
36883 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36885 { echo "$as_me:$LINENO: result
: $ac_cv_type_size_t" >&5
36886 echo "${ECHO_T}$ac_cv_type_size_t" >&6; }
36887 if test $ac_cv_type_size_t = yes; then
36891 cat >>confdefs.h <<_ACEOF
36892 #define size_t unsigned int
36897 { echo "$as_me:$LINENO: checking
for uid_t
in sys
/types.h
" >&5
36898 echo $ECHO_N "checking
for uid_t
in sys
/types.h...
$ECHO_C" >&6; }
36899 if test "${ac_cv_type_uid_t+set}" = set; then
36900 echo $ECHO_N "(cached
) $ECHO_C" >&6
36902 cat >conftest.$ac_ext <<_ACEOF
36905 cat confdefs.h >>conftest.$ac_ext
36906 cat >>conftest.$ac_ext <<_ACEOF
36907 /* end confdefs.h. */
36908 #include <sys/types.h>
36911 if (eval "$ac_cpp conftest.
$ac_ext") 2>&5 |
36912 $EGREP "uid_t
" >/dev/null 2>&1; then
36913 ac_cv_type_uid_t=yes
36915 ac_cv_type_uid_t=no
36920 { echo "$as_me:$LINENO: result
: $ac_cv_type_uid_t" >&5
36921 echo "${ECHO_T}$ac_cv_type_uid_t" >&6; }
36922 if test $ac_cv_type_uid_t = no; then
36924 cat >>confdefs.h <<\_ACEOF
36929 cat >>confdefs.h <<\_ACEOF
36936 { echo "$as_me:$LINENO: checking
for ssize_t
" >&5
36937 echo $ECHO_N "checking
for ssize_t...
$ECHO_C" >&6; }
36938 if test "${ac_cv_type_ssize_t+set}" = set; then
36939 echo $ECHO_N "(cached
) $ECHO_C" >&6
36941 cat >conftest.$ac_ext <<_ACEOF
36944 cat confdefs.h >>conftest.$ac_ext
36945 cat >>conftest.$ac_ext <<_ACEOF
36946 /* end confdefs.h. */
36947 $ac_includes_default
36948 typedef ssize_t ac__type_new_;
36952 if ((ac__type_new_ *) 0)
36954 if (sizeof (ac__type_new_))
36960 rm -f conftest.$ac_objext
36961 if { (ac_try="$ac_compile"
36962 case "(($ac_try" in
36963 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36964 *) ac_try_echo=$ac_try;;
36966 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
36967 (eval "$ac_compile") 2>conftest.er1
36969 grep -v '^ *+' conftest.er1 >conftest.err
36971 cat conftest.err >&5
36972 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
36973 (exit $ac_status); } && {
36974 test -z "$ac_c_werror_flag" ||
36975 test ! -s conftest.err
36976 } && test -s conftest.$ac_objext; then
36977 ac_cv_type_ssize_t=yes
36979 echo "$as_me: failed program was
:" >&5
36980 sed 's/^/| /' conftest.$ac_ext >&5
36982 ac_cv_type_ssize_t=no
36985 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36987 { echo "$as_me:$LINENO: result
: $ac_cv_type_ssize_t" >&5
36988 echo "${ECHO_T}$ac_cv_type_ssize_t" >&6; }
36989 if test $ac_cv_type_ssize_t = yes; then
36991 cat >>confdefs.h <<_ACEOF
36992 #define HAVE_SSIZE_T 1
37000 ac_cpp='$CXXCPP $CPPFLAGS'
37001 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37002 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37003 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37004 { echo "$as_me:$LINENO: checking
if size_t is unsigned int
" >&5
37005 echo $ECHO_N "checking
if size_t is unsigned int...
$ECHO_C" >&6; }
37006 if test "${wx_cv_size_t_is_uint+set}" = set; then
37007 echo $ECHO_N "(cached
) $ECHO_C" >&6
37010 cat >conftest.$ac_ext <<_ACEOF
37013 cat confdefs.h >>conftest.$ac_ext
37014 cat >>conftest.$ac_ext <<_ACEOF
37015 /* end confdefs.h. */
37016 #include <stddef.h>
37023 struct Foo { void foo(size_t); void foo(unsigned int); };
37031 rm -f conftest.$ac_objext
37032 if { (ac_try="$ac_compile"
37033 case "(($ac_try" in
37034 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37035 *) ac_try_echo=$ac_try;;
37037 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
37038 (eval "$ac_compile") 2>conftest.er1
37040 grep -v '^ *+' conftest.er1 >conftest.err
37042 cat conftest.err >&5
37043 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
37044 (exit $ac_status); } && {
37045 test -z "$ac_cxx_werror_flag" ||
37046 test ! -s conftest.err
37047 } && test -s conftest.$ac_objext; then
37048 wx_cv_size_t_is_uint=no
37050 echo "$as_me: failed program was
:" >&5
37051 sed 's/^/| /' conftest.$ac_ext >&5
37053 wx_cv_size_t_is_uint=yes
37057 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37061 { echo "$as_me:$LINENO: result
: $wx_cv_size_t_is_uint" >&5
37062 echo "${ECHO_T}$wx_cv_size_t_is_uint" >&6; }
37064 if test "$wx_cv_size_t_is_uint" = "yes"; then
37065 cat >>confdefs.h <<\_ACEOF
37066 #define wxSIZE_T_IS_UINT 1
37070 { echo "$as_me:$LINENO: checking
if size_t is unsigned long
" >&5
37071 echo $ECHO_N "checking
if size_t is unsigned long...
$ECHO_C" >&6; }
37072 if test "${wx_cv_size_t_is_ulong+set}" = set; then
37073 echo $ECHO_N "(cached
) $ECHO_C" >&6
37075 cat >conftest.$ac_ext <<_ACEOF
37078 cat confdefs.h >>conftest.$ac_ext
37079 cat >>conftest.$ac_ext <<_ACEOF
37080 /* end confdefs.h. */
37081 #include <stddef.h>
37088 struct Foo { void foo(size_t); void foo(unsigned long); };
37096 rm -f conftest.$ac_objext
37097 if { (ac_try="$ac_compile"
37098 case "(($ac_try" in
37099 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37100 *) ac_try_echo=$ac_try;;
37102 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
37103 (eval "$ac_compile") 2>conftest.er1
37105 grep -v '^ *+' conftest.er1 >conftest.err
37107 cat conftest.err >&5
37108 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
37109 (exit $ac_status); } && {
37110 test -z "$ac_cxx_werror_flag" ||
37111 test ! -s conftest.err
37112 } && test -s conftest.$ac_objext; then
37113 wx_cv_size_t_is_ulong=no
37115 echo "$as_me: failed program was
:" >&5
37116 sed 's/^/| /' conftest.$ac_ext >&5
37118 wx_cv_size_t_is_ulong=yes
37122 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37125 { echo "$as_me:$LINENO: result
: $wx_cv_size_t_is_ulong" >&5
37126 echo "${ECHO_T}$wx_cv_size_t_is_ulong" >&6; }
37128 if test "$wx_cv_size_t_is_ulong" = "yes"; then
37129 cat >>confdefs.h <<\_ACEOF
37130 #define wxSIZE_T_IS_ULONG 1
37136 { echo "$as_me:$LINENO: checking
if wchar_t is separate
type" >&5
37137 echo $ECHO_N "checking
if wchar_t is separate
type...
$ECHO_C" >&6; }
37138 if test "${wx_cv_wchar_t_is_separate_type+set}" = set; then
37139 echo $ECHO_N "(cached
) $ECHO_C" >&6
37141 cat >conftest.$ac_ext <<_ACEOF
37144 cat confdefs.h >>conftest.$ac_ext
37145 cat >>conftest.$ac_ext <<_ACEOF
37146 /* end confdefs.h. */
37154 struct Foo { void foo(wchar_t);
37155 void foo(unsigned short);
37156 void foo(unsigned int);
37157 void foo(unsigned long); };
37165 rm -f conftest.$ac_objext
37166 if { (ac_try="$ac_compile"
37167 case "(($ac_try" in
37168 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37169 *) ac_try_echo=$ac_try;;
37171 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
37172 (eval "$ac_compile") 2>conftest.er1
37174 grep -v '^ *+' conftest.er1 >conftest.err
37176 cat conftest.err >&5
37177 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
37178 (exit $ac_status); } && {
37179 test -z "$ac_cxx_werror_flag" ||
37180 test ! -s conftest.err
37181 } && test -s conftest.$ac_objext; then
37182 wx_cv_wchar_t_is_separate_type=yes
37184 echo "$as_me: failed program was
:" >&5
37185 sed 's/^/| /' conftest.$ac_ext >&5
37187 wx_cv_wchar_t_is_separate_type=no
37191 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37194 { echo "$as_me:$LINENO: result
: $wx_cv_wchar_t_is_separate_type" >&5
37195 echo "${ECHO_T}$wx_cv_wchar_t_is_separate_type" >&6; }
37197 if test "$wx_cv_wchar_t_is_separate_type" = "yes"; then
37198 cat >>confdefs.h <<\_ACEOF
37199 #define wxWCHAR_T_IS_REAL_TYPE 1
37203 cat >>confdefs.h <<\_ACEOF
37204 #define wxWCHAR_T_IS_REAL_TYPE 0
37210 ac_cpp='$CPP $CPPFLAGS'
37211 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37212 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37213 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37216 { echo "$as_me:$LINENO: checking
for pw_gecos
in struct passwd
" >&5
37217 echo $ECHO_N "checking
for pw_gecos
in struct passwd...
$ECHO_C" >&6; }
37218 if test "${wx_cv_struct_pw_gecos+set}" = set; then
37219 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. */
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
37259 wx_cv_struct_pw_gecos=yes
37262 echo "$as_me: failed program was
:" >&5
37263 sed 's/^/| /' conftest.$ac_ext >&5
37266 wx_cv_struct_pw_gecos=no
37271 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37275 { echo "$as_me:$LINENO: result
: $wx_cv_struct_pw_gecos" >&5
37276 echo "${ECHO_T}$wx_cv_struct_pw_gecos" >&6; }
37278 if test "$wx_cv_struct_pw_gecos" = "yes"; then
37279 cat >>confdefs.h <<\_ACEOF
37280 #define HAVE_PW_GECOS 1
37286 if test "$wxUSE_WCHAR_T" = "yes"; then
37287 cat >>confdefs.h <<\_ACEOF
37288 #define wxUSE_WCHAR_T 1
37295 for ac_func in wcslen
37297 as_ac_var=`echo "ac_cv_func_
$ac_func" | $as_tr_sh`
37298 { echo "$as_me:$LINENO: checking
for $ac_func" >&5
37299 echo $ECHO_N "checking
for $ac_func...
$ECHO_C" >&6; }
37300 if { as_var=$as_ac_var; eval "test \"\
${$as_var+set}\" = set"; }; then
37301 echo $ECHO_N "(cached
) $ECHO_C" >&6
37303 cat >conftest.$ac_ext <<_ACEOF
37306 cat confdefs.h >>conftest.$ac_ext
37307 cat >>conftest.$ac_ext <<_ACEOF
37308 /* end confdefs.h. */
37309 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37310 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37311 #define $ac_func innocuous_$ac_func
37313 /* System header to define __stub macros and hopefully few prototypes,
37314 which can conflict with char $ac_func (); below.
37315 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37316 <limits.h> exists even on freestanding compilers. */
37319 # include <limits.h>
37321 # include <assert.h>
37326 /* Override any GCC internal prototype to avoid an error.
37327 Use char because int might match the return type of a GCC
37328 builtin and then its argument prototype would still apply. */
37333 /* The GNU C library defines this for functions which it implements
37334 to always fail with ENOSYS. Some functions are actually named
37335 something starting with __ and the normal name is an alias. */
37336 #if defined __stub_$ac_func || defined __stub___$ac_func
37343 return $ac_func ();
37348 rm -f conftest.$ac_objext conftest$ac_exeext
37349 if { (ac_try="$ac_link"
37350 case "(($ac_try" in
37351 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37352 *) ac_try_echo=$ac_try;;
37354 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
37355 (eval "$ac_link") 2>conftest.er1
37357 grep -v '^ *+' conftest.er1 >conftest.err
37359 cat conftest.err >&5
37360 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
37361 (exit $ac_status); } && {
37362 test -z "$ac_c_werror_flag" ||
37363 test ! -s conftest.err
37364 } && test -s conftest$ac_exeext &&
37365 $as_test_x conftest$ac_exeext; then
37366 eval "$as_ac_var=yes"
37368 echo "$as_me: failed program was
:" >&5
37369 sed 's/^/| /' conftest.$ac_ext >&5
37371 eval "$as_ac_var=no
"
37374 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37375 conftest$ac_exeext conftest.$ac_ext
37377 ac_res=`eval echo '${'$as_ac_var'}'`
37378 { echo "$as_me:$LINENO: result
: $ac_res" >&5
37379 echo "${ECHO_T}$ac_res" >&6; }
37380 if test `eval echo '${'$as_ac_var'}'` = yes; then
37381 cat >>confdefs.h <<_ACEOF
37382 #define `echo "HAVE_
$ac_func" | $as_tr_cpp` 1
37389 if test "$WCSLEN_FOUND" = 0; then
37390 if test "$TOOLKIT" = "MSW
"; then
37391 { echo "$as_me:$LINENO: checking
for wcslen
in -lmsvcrt" >&5
37392 echo $ECHO_N "checking
for wcslen
in -lmsvcrt...
$ECHO_C" >&6; }
37393 if test "${ac_cv_lib_msvcrt_wcslen+set}" = set; then
37394 echo $ECHO_N "(cached
) $ECHO_C" >&6
37396 ac_check_lib_save_LIBS=$LIBS
37397 LIBS="-lmsvcrt $LIBS"
37398 cat >conftest.$ac_ext <<_ACEOF
37401 cat confdefs.h >>conftest.$ac_ext
37402 cat >>conftest.$ac_ext <<_ACEOF
37403 /* end confdefs.h. */
37405 /* Override any GCC internal prototype to avoid an error.
37406 Use char because int might match the return type of a GCC
37407 builtin and then its argument prototype would still apply. */
37420 rm -f conftest.$ac_objext conftest$ac_exeext
37421 if { (ac_try="$ac_link"
37422 case "(($ac_try" in
37423 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37424 *) ac_try_echo=$ac_try;;
37426 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
37427 (eval "$ac_link") 2>conftest.er1
37429 grep -v '^ *+' conftest.er1 >conftest.err
37431 cat conftest.err >&5
37432 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
37433 (exit $ac_status); } && {
37434 test -z "$ac_c_werror_flag" ||
37435 test ! -s conftest.err
37436 } && test -s conftest$ac_exeext &&
37437 $as_test_x conftest$ac_exeext; then
37438 ac_cv_lib_msvcrt_wcslen=yes
37440 echo "$as_me: failed program was
:" >&5
37441 sed 's/^/| /' conftest.$ac_ext >&5
37443 ac_cv_lib_msvcrt_wcslen=no
37446 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37447 conftest$ac_exeext conftest.$ac_ext
37448 LIBS=$ac_check_lib_save_LIBS
37450 { echo "$as_me:$LINENO: result
: $ac_cv_lib_msvcrt_wcslen" >&5
37451 echo "${ECHO_T}$ac_cv_lib_msvcrt_wcslen" >&6; }
37452 if test $ac_cv_lib_msvcrt_wcslen = yes; then
37457 { echo "$as_me:$LINENO: checking
for wcslen
in -lw" >&5
37458 echo $ECHO_N "checking
for wcslen
in -lw...
$ECHO_C" >&6; }
37459 if test "${ac_cv_lib_w_wcslen+set}" = set; then
37460 echo $ECHO_N "(cached
) $ECHO_C" >&6
37462 ac_check_lib_save_LIBS=$LIBS
37464 cat >conftest.$ac_ext <<_ACEOF
37467 cat confdefs.h >>conftest.$ac_ext
37468 cat >>conftest.$ac_ext <<_ACEOF
37469 /* end confdefs.h. */
37471 /* Override any GCC internal prototype to avoid an error.
37472 Use char because int might match the return type of a GCC
37473 builtin and then its argument prototype would still apply. */
37486 rm -f conftest.$ac_objext conftest$ac_exeext
37487 if { (ac_try="$ac_link"
37488 case "(($ac_try" in
37489 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37490 *) ac_try_echo=$ac_try;;
37492 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
37493 (eval "$ac_link") 2>conftest.er1
37495 grep -v '^ *+' conftest.er1 >conftest.err
37497 cat conftest.err >&5
37498 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
37499 (exit $ac_status); } && {
37500 test -z "$ac_c_werror_flag" ||
37501 test ! -s conftest.err
37502 } && test -s conftest$ac_exeext &&
37503 $as_test_x conftest$ac_exeext; then
37504 ac_cv_lib_w_wcslen=yes
37506 echo "$as_me: failed program was
:" >&5
37507 sed 's/^/| /' conftest.$ac_ext >&5
37509 ac_cv_lib_w_wcslen=no
37512 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37513 conftest$ac_exeext conftest.$ac_ext
37514 LIBS=$ac_check_lib_save_LIBS
37516 { echo "$as_me:$LINENO: result
: $ac_cv_lib_w_wcslen" >&5
37517 echo "${ECHO_T}$ac_cv_lib_w_wcslen" >&6; }
37518 if test $ac_cv_lib_w_wcslen = yes; then
37528 if test "$WCSLEN_FOUND" = 1; then
37529 cat >>confdefs.h <<\_ACEOF
37530 #define HAVE_WCSLEN 1
37536 for ac_func in wcsdup
37538 as_ac_var=`echo "ac_cv_func_
$ac_func" | $as_tr_sh`
37539 { echo "$as_me:$LINENO: checking
for $ac_func" >&5
37540 echo $ECHO_N "checking
for $ac_func...
$ECHO_C" >&6; }
37541 if { as_var=$as_ac_var; eval "test \"\
${$as_var+set}\" = set"; }; then
37542 echo $ECHO_N "(cached
) $ECHO_C" >&6
37544 cat >conftest.$ac_ext <<_ACEOF
37547 cat confdefs.h >>conftest.$ac_ext
37548 cat >>conftest.$ac_ext <<_ACEOF
37549 /* end confdefs.h. */
37550 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37551 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37552 #define $ac_func innocuous_$ac_func
37554 /* System header to define __stub macros and hopefully few prototypes,
37555 which can conflict with char $ac_func (); below.
37556 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37557 <limits.h> exists even on freestanding compilers. */
37560 # include <limits.h>
37562 # include <assert.h>
37567 /* Override any GCC internal prototype to avoid an error.
37568 Use char because int might match the return type of a GCC
37569 builtin and then its argument prototype would still apply. */
37574 /* The GNU C library defines this for functions which it implements
37575 to always fail with ENOSYS. Some functions are actually named
37576 something starting with __ and the normal name is an alias. */
37577 #if defined __stub_$ac_func || defined __stub___$ac_func
37584 return $ac_func ();
37589 rm -f conftest.$ac_objext conftest$ac_exeext
37590 if { (ac_try="$ac_link"
37591 case "(($ac_try" in
37592 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37593 *) ac_try_echo=$ac_try;;
37595 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
37596 (eval "$ac_link") 2>conftest.er1
37598 grep -v '^ *+' conftest.er1 >conftest.err
37600 cat conftest.err >&5
37601 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
37602 (exit $ac_status); } && {
37603 test -z "$ac_c_werror_flag" ||
37604 test ! -s conftest.err
37605 } && test -s conftest$ac_exeext &&
37606 $as_test_x conftest$ac_exeext; then
37607 eval "$as_ac_var=yes"
37609 echo "$as_me: failed program was
:" >&5
37610 sed 's/^/| /' conftest.$ac_ext >&5
37612 eval "$as_ac_var=no
"
37615 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37616 conftest$ac_exeext conftest.$ac_ext
37618 ac_res=`eval echo '${'$as_ac_var'}'`
37619 { echo "$as_me:$LINENO: result
: $ac_res" >&5
37620 echo "${ECHO_T}$ac_res" >&6; }
37621 if test `eval echo '${'$as_ac_var'}'` = yes; then
37622 cat >>confdefs.h <<_ACEOF
37623 #define `echo "HAVE_
$ac_func" | $as_tr_cpp` 1
37630 if test "$USE_HPUX" = 1 -a "$GCC" != "yes"; then
37631 CPPFLAGS="-D_INCLUDE__STDC_A1_SOURCE $CPPFLAGS"
37634 { echo "$as_me:$LINENO: checking
for mbstate_t
" >&5
37635 echo $ECHO_N "checking
for mbstate_t...
$ECHO_C" >&6; }
37636 if test "${ac_cv_type_mbstate_t+set}" = set; then
37637 echo $ECHO_N "(cached
) $ECHO_C" >&6
37639 cat >conftest.$ac_ext <<_ACEOF
37642 cat confdefs.h >>conftest.$ac_ext
37643 cat >>conftest.$ac_ext <<_ACEOF
37644 /* end confdefs.h. */
37647 typedef mbstate_t ac__type_new_;
37651 if ((ac__type_new_ *) 0)
37653 if (sizeof (ac__type_new_))
37659 rm -f conftest.$ac_objext
37660 if { (ac_try="$ac_compile"
37661 case "(($ac_try" in
37662 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37663 *) ac_try_echo=$ac_try;;
37665 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
37666 (eval "$ac_compile") 2>conftest.er1
37668 grep -v '^ *+' conftest.er1 >conftest.err
37670 cat conftest.err >&5
37671 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
37672 (exit $ac_status); } && {
37673 test -z "$ac_c_werror_flag" ||
37674 test ! -s conftest.err
37675 } && test -s conftest.$ac_objext; then
37676 ac_cv_type_mbstate_t=yes
37678 echo "$as_me: failed program was
:" >&5
37679 sed 's/^/| /' conftest.$ac_ext >&5
37681 ac_cv_type_mbstate_t=no
37684 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37686 { echo "$as_me:$LINENO: result
: $ac_cv_type_mbstate_t" >&5
37687 echo "${ECHO_T}$ac_cv_type_mbstate_t" >&6; }
37688 if test $ac_cv_type_mbstate_t = yes; then
37690 cat >>confdefs.h <<_ACEOF
37691 #define HAVE_MBSTATE_T 1
37695 for ac_func in wcsrtombs
37697 as_ac_var=`echo "ac_cv_func_
$ac_func" | $as_tr_sh`
37698 { echo "$as_me:$LINENO: checking
for $ac_func" >&5
37699 echo $ECHO_N "checking
for $ac_func...
$ECHO_C" >&6; }
37700 if { as_var=$as_ac_var; eval "test \"\
${$as_var+set}\" = set"; }; then
37701 echo $ECHO_N "(cached
) $ECHO_C" >&6
37703 cat >conftest.$ac_ext <<_ACEOF
37706 cat confdefs.h >>conftest.$ac_ext
37707 cat >>conftest.$ac_ext <<_ACEOF
37708 /* end confdefs.h. */
37709 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37710 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37711 #define $ac_func innocuous_$ac_func
37713 /* System header to define __stub macros and hopefully few prototypes,
37714 which can conflict with char $ac_func (); below.
37715 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37716 <limits.h> exists even on freestanding compilers. */
37719 # include <limits.h>
37721 # include <assert.h>
37726 /* Override any GCC internal prototype to avoid an error.
37727 Use char because int might match the return type of a GCC
37728 builtin and then its argument prototype would still apply. */
37733 /* The GNU C library defines this for functions which it implements
37734 to always fail with ENOSYS. Some functions are actually named
37735 something starting with __ and the normal name is an alias. */
37736 #if defined __stub_$ac_func || defined __stub___$ac_func
37743 return $ac_func ();
37748 rm -f conftest.$ac_objext conftest$ac_exeext
37749 if { (ac_try="$ac_link"
37750 case "(($ac_try" in
37751 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37752 *) ac_try_echo=$ac_try;;
37754 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
37755 (eval "$ac_link") 2>conftest.er1
37757 grep -v '^ *+' conftest.er1 >conftest.err
37759 cat conftest.err >&5
37760 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
37761 (exit $ac_status); } && {
37762 test -z "$ac_c_werror_flag" ||
37763 test ! -s conftest.err
37764 } && test -s conftest$ac_exeext &&
37765 $as_test_x conftest$ac_exeext; then
37766 eval "$as_ac_var=yes"
37768 echo "$as_me: failed program was
:" >&5
37769 sed 's/^/| /' conftest.$ac_ext >&5
37771 eval "$as_ac_var=no
"
37774 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37775 conftest$ac_exeext conftest.$ac_ext
37777 ac_res=`eval echo '${'$as_ac_var'}'`
37778 { echo "$as_me:$LINENO: result
: $ac_res" >&5
37779 echo "${ECHO_T}$ac_res" >&6; }
37780 if test `eval echo '${'$as_ac_var'}'` = yes; then
37781 cat >>confdefs.h <<_ACEOF
37782 #define `echo "HAVE_
$ac_func" | $as_tr_cpp` 1
37791 { echo "$as_me:$LINENO: WARNING
: Wide character support is unavailable
" >&5
37792 echo "$as_me: WARNING
: Wide character support is unavailable
" >&2;}
37797 for ac_func in snprintf vsnprintf
37799 as_ac_var=`echo "ac_cv_func_
$ac_func" | $as_tr_sh`
37800 { echo "$as_me:$LINENO: checking
for $ac_func" >&5
37801 echo $ECHO_N "checking
for $ac_func...
$ECHO_C" >&6; }
37802 if { as_var=$as_ac_var; eval "test \"\
${$as_var+set}\" = set"; }; then
37803 echo $ECHO_N "(cached
) $ECHO_C" >&6
37805 cat >conftest.$ac_ext <<_ACEOF
37808 cat confdefs.h >>conftest.$ac_ext
37809 cat >>conftest.$ac_ext <<_ACEOF
37810 /* end confdefs.h. */
37811 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37812 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37813 #define $ac_func innocuous_$ac_func
37815 /* System header to define __stub macros and hopefully few prototypes,
37816 which can conflict with char $ac_func (); below.
37817 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37818 <limits.h> exists even on freestanding compilers. */
37821 # include <limits.h>
37823 # include <assert.h>
37828 /* Override any GCC internal prototype to avoid an error.
37829 Use char because int might match the return type of a GCC
37830 builtin and then its argument prototype would still apply. */
37835 /* The GNU C library defines this for functions which it implements
37836 to always fail with ENOSYS. Some functions are actually named
37837 something starting with __ and the normal name is an alias. */
37838 #if defined __stub_$ac_func || defined __stub___$ac_func
37845 return $ac_func ();
37850 rm -f conftest.$ac_objext conftest$ac_exeext
37851 if { (ac_try="$ac_link"
37852 case "(($ac_try" in
37853 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37854 *) ac_try_echo=$ac_try;;
37856 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
37857 (eval "$ac_link") 2>conftest.er1
37859 grep -v '^ *+' conftest.er1 >conftest.err
37861 cat conftest.err >&5
37862 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
37863 (exit $ac_status); } && {
37864 test -z "$ac_c_werror_flag" ||
37865 test ! -s conftest.err
37866 } && test -s conftest$ac_exeext &&
37867 $as_test_x conftest$ac_exeext; then
37868 eval "$as_ac_var=yes"
37870 echo "$as_me: failed program was
:" >&5
37871 sed 's/^/| /' conftest.$ac_ext >&5
37873 eval "$as_ac_var=no
"
37876 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37877 conftest$ac_exeext conftest.$ac_ext
37879 ac_res=`eval echo '${'$as_ac_var'}'`
37880 { echo "$as_me:$LINENO: result
: $ac_res" >&5
37881 echo "${ECHO_T}$ac_res" >&6; }
37882 if test `eval echo '${'$as_ac_var'}'` = yes; then
37883 cat >>confdefs.h <<_ACEOF
37884 #define `echo "HAVE_
$ac_func" | $as_tr_cpp` 1
37891 if test "$ac_cv_func_vsnprintf" = "yes"; then
37892 { echo "$as_me:$LINENO: checking
for vsnprintf declaration
" >&5
37893 echo $ECHO_N "checking
for vsnprintf declaration...
$ECHO_C" >&6; }
37894 if test "${wx_cv_func_vsnprintf_decl+set}" = set; then
37895 echo $ECHO_N "(cached
) $ECHO_C" >&6
37898 cat >conftest.$ac_ext <<_ACEOF
37901 cat confdefs.h >>conftest.$ac_ext
37902 cat >>conftest.$ac_ext <<_ACEOF
37903 /* end confdefs.h. */
37906 #include <stdarg.h>
37908 #if __MSL__ >= 0x6000
37910 using namespace std;
37920 vsnprintf(buf, 10u, "%s
", ap);
37926 rm -f conftest.$ac_objext
37927 if { (ac_try="$ac_compile"
37928 case "(($ac_try" in
37929 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37930 *) ac_try_echo=$ac_try;;
37932 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
37933 (eval "$ac_compile") 2>conftest.er1
37935 grep -v '^ *+' conftest.er1 >conftest.err
37937 cat conftest.err >&5
37938 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
37939 (exit $ac_status); } && {
37940 test -z "$ac_c_werror_flag" ||
37941 test ! -s conftest.err
37942 } && test -s conftest.$ac_objext; then
37943 wx_cv_func_vsnprintf_decl=yes
37945 echo "$as_me: failed program was
:" >&5
37946 sed 's/^/| /' conftest.$ac_ext >&5
37948 wx_cv_func_vsnprintf_decl=no
37952 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37956 { echo "$as_me:$LINENO: result
: $wx_cv_func_vsnprintf_decl" >&5
37957 echo "${ECHO_T}$wx_cv_func_vsnprintf_decl" >&6; }
37959 if test "$wx_cv_func_vsnprintf_decl" = "yes"; then
37960 cat >>confdefs.h <<\_ACEOF
37961 #define HAVE_VSNPRINTF_DECL 1
37965 { echo "$as_me:$LINENO: checking
if vsnprintf declaration is broken
" >&5
37966 echo $ECHO_N "checking
if vsnprintf declaration is broken...
$ECHO_C" >&6; }
37967 if test "${wx_cv_func_broken_vsnprintf_decl+set}" = set; then
37968 echo $ECHO_N "(cached
) $ECHO_C" >&6
37971 cat >conftest.$ac_ext <<_ACEOF
37974 cat confdefs.h >>conftest.$ac_ext
37975 cat >>conftest.$ac_ext <<_ACEOF
37976 /* end confdefs.h. */
37979 #include <stdarg.h>
37981 #if __MSL__ >= 0x6000
37983 using namespace std;
37993 const char *fmt = "%s
";
37994 vsnprintf(buf, 10u, fmt, ap);
38000 rm -f conftest.$ac_objext
38001 if { (ac_try="$ac_compile"
38002 case "(($ac_try" in
38003 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38004 *) ac_try_echo=$ac_try;;
38006 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
38007 (eval "$ac_compile") 2>conftest.er1
38009 grep -v '^ *+' conftest.er1 >conftest.err
38011 cat conftest.err >&5
38012 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
38013 (exit $ac_status); } && {
38014 test -z "$ac_c_werror_flag" ||
38015 test ! -s conftest.err
38016 } && test -s conftest.$ac_objext; then
38017 wx_cv_func_broken_vsnprintf_decl=no
38019 echo "$as_me: failed program was
:" >&5
38020 sed 's/^/| /' conftest.$ac_ext >&5
38022 wx_cv_func_broken_vsnprintf_decl=yes
38026 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38030 { echo "$as_me:$LINENO: result
: $wx_cv_func_broken_vsnprintf_decl" >&5
38031 echo "${ECHO_T}$wx_cv_func_broken_vsnprintf_decl" >&6; }
38033 if test "$wx_cv_func_broken_vsnprintf_decl" = "yes"; then
38034 cat >>confdefs.h <<\_ACEOF
38035 #define HAVE_BROKEN_VSNPRINTF_DECL 1
38042 if test "$ac_cv_func_snprintf" = "yes"; then
38043 { echo "$as_me:$LINENO: checking
for snprintf declaration
" >&5
38044 echo $ECHO_N "checking
for snprintf declaration...
$ECHO_C" >&6; }
38045 if test "${wx_cv_func_snprintf_decl+set}" = set; then
38046 echo $ECHO_N "(cached
) $ECHO_C" >&6
38049 cat >conftest.$ac_ext <<_ACEOF
38052 cat confdefs.h >>conftest.$ac_ext
38053 cat >>conftest.$ac_ext <<_ACEOF
38054 /* end confdefs.h. */
38057 #include <stdarg.h>
38059 #if __MSL__ >= 0x6000
38061 using namespace std;
38070 snprintf(buf, 10u, "%s
", "wx
");
38076 rm -f conftest.$ac_objext
38077 if { (ac_try="$ac_compile"
38078 case "(($ac_try" in
38079 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38080 *) ac_try_echo=$ac_try;;
38082 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
38083 (eval "$ac_compile") 2>conftest.er1
38085 grep -v '^ *+' conftest.er1 >conftest.err
38087 cat conftest.err >&5
38088 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
38089 (exit $ac_status); } && {
38090 test -z "$ac_c_werror_flag" ||
38091 test ! -s conftest.err
38092 } && test -s conftest.$ac_objext; then
38093 wx_cv_func_snprintf_decl=yes
38095 echo "$as_me: failed program was
:" >&5
38096 sed 's/^/| /' conftest.$ac_ext >&5
38098 wx_cv_func_snprintf_decl=no
38102 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38106 { echo "$as_me:$LINENO: result
: $wx_cv_func_snprintf_decl" >&5
38107 echo "${ECHO_T}$wx_cv_func_snprintf_decl" >&6; }
38109 if test "$wx_cv_func_snprintf_decl" = "yes"; then
38110 cat >>confdefs.h <<\_ACEOF
38111 #define HAVE_SNPRINTF_DECL 1
38115 { echo "$as_me:$LINENO: checking
if snprintf declaration is broken
" >&5
38116 echo $ECHO_N "checking
if snprintf declaration is broken...
$ECHO_C" >&6; }
38117 if test "${wx_cv_func_broken_snprintf_decl+set}" = set; then
38118 echo $ECHO_N "(cached
) $ECHO_C" >&6
38121 cat >conftest.$ac_ext <<_ACEOF
38124 cat confdefs.h >>conftest.$ac_ext
38125 cat >>conftest.$ac_ext <<_ACEOF
38126 /* end confdefs.h. */
38129 #include <stdarg.h>
38131 #if __MSL__ >= 0x6000
38133 using namespace std;
38142 const char *fmt = "%s
";
38143 snprintf(buf, 10u, fmt, "wx
");
38149 rm -f conftest.$ac_objext
38150 if { (ac_try="$ac_compile"
38151 case "(($ac_try" in
38152 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38153 *) ac_try_echo=$ac_try;;
38155 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
38156 (eval "$ac_compile") 2>conftest.er1
38158 grep -v '^ *+' conftest.er1 >conftest.err
38160 cat conftest.err >&5
38161 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
38162 (exit $ac_status); } && {
38163 test -z "$ac_c_werror_flag" ||
38164 test ! -s conftest.err
38165 } && test -s conftest.$ac_objext; then
38166 wx_cv_func_broken_snprintf_decl=no
38168 echo "$as_me: failed program was
:" >&5
38169 sed 's/^/| /' conftest.$ac_ext >&5
38171 wx_cv_func_broken_snprintf_decl=yes
38175 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38179 { echo "$as_me:$LINENO: result
: $wx_cv_func_broken_snprintf_decl" >&5
38180 echo "${ECHO_T}$wx_cv_func_broken_snprintf_decl" >&6; }
38182 if test "$wx_cv_func_broken_snprintf_decl" = "yes"; then
38183 cat >>confdefs.h <<\_ACEOF
38184 #define HAVE_BROKEN_SNPRINTF_DECL 1
38190 if test "$wxUSE_PRINTF_POS_PARAMS" = "yes"; then
38192 { echo "$as_me:$LINENO: checking
if snprintf supports positional arguments
" >&5
38193 echo $ECHO_N "checking
if snprintf supports positional arguments...
$ECHO_C" >&6; }
38194 if test "${wx_cv_func_snprintf_pos_params+set}" = set; then
38195 echo $ECHO_N "(cached
) $ECHO_C" >&6
38198 if test "$cross_compiling" = yes; then
38200 { echo "$as_me:$LINENO: WARNING
: Assuming Unix98
printf() is not available
,
38201 define HAVE_UNIX98_PRINTF as
1 in setup.h
if it is available.
" >&5
38202 echo "$as_me: WARNING
: Assuming Unix98
printf() is not available
,
38203 define HAVE_UNIX98_PRINTF as
1 in setup.h
if it is available.
" >&2;}
38204 wx_cv_func_snprintf_pos_params=no
38208 cat >conftest.$ac_ext <<_ACEOF
38211 cat confdefs.h >>conftest.$ac_ext
38212 cat >>conftest.$ac_ext <<_ACEOF
38213 /* end confdefs.h. */
38220 snprintf (buffer, 128, "%2$d %3$d %1$d", 1, 2, 3);
38221 if (strcmp ("2 3 1", buffer) == 0)
38227 rm -f conftest$ac_exeext
38228 if { (ac_try="$ac_link"
38229 case "(($ac_try" in
38230 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38231 *) ac_try_echo=$ac_try;;
38233 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
38234 (eval "$ac_link") 2>&5
38236 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
38237 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
38238 { (case "(($ac_try" in
38239 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38240 *) ac_try_echo=$ac_try;;
38242 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
38243 (eval "$ac_try") 2>&5
38245 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
38246 (exit $ac_status); }; }; then
38247 wx_cv_func_snprintf_pos_params=no
38249 echo "$as_me: program exited with status
$ac_status" >&5
38250 echo "$as_me: failed program was
:" >&5
38251 sed 's/^/| /' conftest.$ac_ext >&5
38253 ( exit $ac_status )
38254 wx_cv_func_snprintf_pos_params=yes
38256 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
38263 { echo "$as_me:$LINENO: result
: $wx_cv_func_snprintf_pos_params" >&5
38264 echo "${ECHO_T}$wx_cv_func_snprintf_pos_params" >&6; }
38266 if test "$wx_cv_func_snprintf_pos_params" = "yes"; then
38267 cat >>confdefs.h <<\_ACEOF
38268 #define HAVE_UNIX98_PRINTF 1
38275 if test "$wxUSE_UNICODE" = yes; then
38278 for ac_func in swprintf
38280 as_ac_var=`echo "ac_cv_func_
$ac_func" | $as_tr_sh`
38281 { echo "$as_me:$LINENO: checking
for $ac_func" >&5
38282 echo $ECHO_N "checking
for $ac_func...
$ECHO_C" >&6; }
38283 if { as_var=$as_ac_var; eval "test \"\
${$as_var+set}\" = set"; }; then
38284 echo $ECHO_N "(cached
) $ECHO_C" >&6
38286 cat >conftest.$ac_ext <<_ACEOF
38289 cat confdefs.h >>conftest.$ac_ext
38290 cat >>conftest.$ac_ext <<_ACEOF
38291 /* end confdefs.h. */
38292 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38293 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38294 #define $ac_func innocuous_$ac_func
38296 /* System header to define __stub macros and hopefully few prototypes,
38297 which can conflict with char $ac_func (); below.
38298 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38299 <limits.h> exists even on freestanding compilers. */
38302 # include <limits.h>
38304 # include <assert.h>
38309 /* Override any GCC internal prototype to avoid an error.
38310 Use char because int might match the return type of a GCC
38311 builtin and then its argument prototype would still apply. */
38316 /* The GNU C library defines this for functions which it implements
38317 to always fail with ENOSYS. Some functions are actually named
38318 something starting with __ and the normal name is an alias. */
38319 #if defined __stub_$ac_func || defined __stub___$ac_func
38326 return $ac_func ();
38331 rm -f conftest.$ac_objext conftest$ac_exeext
38332 if { (ac_try="$ac_link"
38333 case "(($ac_try" in
38334 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38335 *) ac_try_echo=$ac_try;;
38337 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
38338 (eval "$ac_link") 2>conftest.er1
38340 grep -v '^ *+' conftest.er1 >conftest.err
38342 cat conftest.err >&5
38343 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
38344 (exit $ac_status); } && {
38345 test -z "$ac_c_werror_flag" ||
38346 test ! -s conftest.err
38347 } && test -s conftest$ac_exeext &&
38348 $as_test_x conftest$ac_exeext; then
38349 eval "$as_ac_var=yes"
38351 echo "$as_me: failed program was
:" >&5
38352 sed 's/^/| /' conftest.$ac_ext >&5
38354 eval "$as_ac_var=no
"
38357 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38358 conftest$ac_exeext conftest.$ac_ext
38360 ac_res=`eval echo '${'$as_ac_var'}'`
38361 { echo "$as_me:$LINENO: result
: $ac_res" >&5
38362 echo "${ECHO_T}$ac_res" >&6; }
38363 if test `eval echo '${'$as_ac_var'}'` = yes; then
38364 cat >>confdefs.h <<_ACEOF
38365 #define `echo "HAVE_
$ac_func" | $as_tr_cpp` 1
38372 if test "$ac_cv_func_swprintf" = "yes"; then
38373 { echo "$as_me:$LINENO: checking
if swprintf declaration is broken
" >&5
38374 echo $ECHO_N "checking
if swprintf declaration is broken...
$ECHO_C" >&6; }
38375 if test "${wx_cv_func_broken_swprintf_decl+set}" = set; then
38376 echo $ECHO_N "(cached
) $ECHO_C" >&6
38379 cat >conftest.$ac_ext <<_ACEOF
38382 cat confdefs.h >>conftest.$ac_ext
38383 cat >>conftest.$ac_ext <<_ACEOF
38384 /* end confdefs.h. */
38387 #include <stdarg.h>
38395 const wchar_t *fmt = L"test";
38396 swprintf(buf, 10u, fmt);
38402 rm -f conftest.$ac_objext
38403 if { (ac_try="$ac_compile"
38404 case "(($ac_try" in
38405 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38406 *) ac_try_echo=$ac_try;;
38408 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
38409 (eval "$ac_compile") 2>conftest.er1
38411 grep -v '^ *+' conftest.er1 >conftest.err
38413 cat conftest.err >&5
38414 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
38415 (exit $ac_status); } && {
38416 test -z "$ac_c_werror_flag" ||
38417 test ! -s conftest.err
38418 } && test -s conftest.$ac_objext; then
38419 wx_cv_func_broken_swprintf_decl=no
38421 echo "$as_me: failed program was
:" >&5
38422 sed 's/^/| /' conftest.$ac_ext >&5
38424 wx_cv_func_broken_swprintf_decl=yes
38428 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38432 { echo "$as_me:$LINENO: result
: $wx_cv_func_broken_swprintf_decl" >&5
38433 echo "${ECHO_T}$wx_cv_func_broken_swprintf_decl" >&6; }
38435 if test "$wx_cv_func_broken_swprintf_decl" = "yes"; then
38436 cat >>confdefs.h <<\_ACEOF
38437 #define HAVE_BROKEN_SWPRINTF_DECL 1
38443 wchar_headers="#include <stdio.h>
38444 #include <wchar.h>"
38448 for ac_header
in widec.h
38450 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
38451 { echo "$as_me:$LINENO: checking for $ac_header" >&5
38452 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
38453 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
38454 echo $ECHO_N "(cached) $ECHO_C" >&6
38456 cat >conftest.
$ac_ext <<_ACEOF
38459 cat confdefs.h
>>conftest.
$ac_ext
38460 cat >>conftest.
$ac_ext <<_ACEOF
38461 /* end confdefs.h. */
38462 $ac_includes_default
38464 #include <$ac_header>
38466 rm -f conftest.
$ac_objext
38467 if { (ac_try
="$ac_compile"
38468 case "(($ac_try" in
38469 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
38470 *) ac_try_echo=$ac_try;;
38472 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38473 (eval "$ac_compile") 2>conftest.er1
38475 grep -v '^ *+' conftest.er1 >conftest.err
38477 cat conftest.err >&5
38478 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38479 (exit $ac_status); } && {
38480 test -z "$ac_c_werror_flag" ||
38481 test ! -s conftest.err
38482 } && test -s conftest.$ac_objext; then
38483 eval "$as_ac_Header=yes"
38485 echo "$as_me: failed program was:" >&5
38486 sed 's/^/| /' conftest.$ac_ext >&5
38488 eval "$as_ac_Header=no"
38491 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38493 ac_res=`eval echo '${'$as_ac_Header'}'`
38494 { echo "$as_me:$LINENO: result: $ac_res" >&5
38495 echo "${ECHO_T}$ac_res" >&6; }
38496 if test `eval echo '${'$as_ac_Header'}'` = yes; then
38497 cat >>confdefs.h <<_ACEOF
38498 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
38505 if test "$ac_cv_header_widec_h" = "yes"; then
38506 wchar_headers="$wchar_headers
38507 #include <widec.h>"
38512 for wx_func in wputc wputchar putws fputws wprintf vswprintf
38514 { echo "$as_me:$LINENO: checking for $wx_func" >&5
38515 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
38516 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
38517 echo $ECHO_N "(cached) $ECHO_C" >&6
38520 cat >conftest.$ac_ext <<_ACEOF
38524 cat confdefs.h >>conftest.$ac_ext
38525 cat >>conftest.$ac_ext <<_ACEOF
38526 /* end confdefs.h. */
38529 $ac_includes_default
38545 rm -f conftest.$ac_objext conftest$ac_exeext
38546 if { (ac_try="$ac_link"
38547 case "(($ac_try" in
38548 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
38549 *) ac_try_echo
=$ac_try;;
38551 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38552 (eval "$ac_link") 2>conftest.er1
38554 grep -v '^ *+' conftest.er1
>conftest.err
38556 cat conftest.err
>&5
38557 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38558 (exit $ac_status); } && {
38559 test -z "$ac_c_werror_flag" ||
38560 test ! -s conftest.err
38561 } && test -s conftest
$ac_exeext &&
38562 $as_test_x conftest
$ac_exeext; then
38563 eval wx_cv_func_
$wx_func=yes
38565 echo "$as_me: failed program was:" >&5
38566 sed 's/^/| /' conftest.
$ac_ext >&5
38568 eval wx_cv_func_
$wx_func=no
38571 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
38572 conftest
$ac_exeext conftest.
$ac_ext
38575 ac_res
=`eval echo '${'wx_cv_func_$wx_func'}'`
38576 { echo "$as_me:$LINENO: result: $ac_res" >&5
38577 echo "${ECHO_T}$ac_res" >&6; }
38579 if eval test \
$wx_cv_func_$wx_func = yes
38581 cat >>confdefs.h
<<_ACEOF
38582 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
38593 { echo "$as_me:$LINENO: checking for _vsnwprintf" >&5
38594 echo $ECHO_N "checking for _vsnwprintf... $ECHO_C" >&6; }
38595 cat >conftest.
$ac_ext <<_ACEOF
38598 cat confdefs.h
>>conftest.
$ac_ext
38599 cat >>conftest.
$ac_ext <<_ACEOF
38600 /* end confdefs.h. */
38610 rm -f conftest.
$ac_objext
38611 if { (ac_try
="$ac_compile"
38612 case "(($ac_try" in
38613 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
38614 *) ac_try_echo=$ac_try;;
38616 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38617 (eval "$ac_compile") 2>conftest.er1
38619 grep -v '^ *+' conftest.er1 >conftest.err
38621 cat conftest.err >&5
38622 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38623 (exit $ac_status); } && {
38624 test -z "$ac_c_werror_flag" ||
38625 test ! -s conftest.err
38626 } && test -s conftest.$ac_objext; then
38627 { echo "$as_me:$LINENO: result: yes" >&5
38628 echo "${ECHO_T}yes" >&6; }
38629 cat >>confdefs.h <<\_ACEOF
38630 #define HAVE__VSNWPRINTF 1
38634 echo "$as_me: failed program was:" >&5
38635 sed 's/^/| /' conftest.$ac_ext >&5
38637 { echo "$as_me:$LINENO: result: no" >&5
38638 echo "${ECHO_T}no" >&6; }
38641 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext;
38644 if test "x$ac_cv_header_fnmatch_h" = "xyes"; then
38646 for wx_func in fnmatch
38648 { echo "$as_me:$LINENO: checking for $wx_func" >&5
38649 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
38650 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
38651 echo $ECHO_N "(cached) $ECHO_C" >&6
38654 cat >conftest.$ac_ext <<_ACEOF
38658 cat confdefs.h >>conftest.$ac_ext
38659 cat >>conftest.$ac_ext <<_ACEOF
38660 /* end confdefs.h. */
38662 #include <fnmatch.h>
38663 $ac_includes_default
38679 rm -f conftest.$ac_objext conftest$ac_exeext
38680 if { (ac_try="$ac_link"
38681 case "(($ac_try" in
38682 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
38683 *) ac_try_echo
=$ac_try;;
38685 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38686 (eval "$ac_link") 2>conftest.er1
38688 grep -v '^ *+' conftest.er1
>conftest.err
38690 cat conftest.err
>&5
38691 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38692 (exit $ac_status); } && {
38693 test -z "$ac_c_werror_flag" ||
38694 test ! -s conftest.err
38695 } && test -s conftest
$ac_exeext &&
38696 $as_test_x conftest
$ac_exeext; then
38697 eval wx_cv_func_
$wx_func=yes
38699 echo "$as_me: failed program was:" >&5
38700 sed 's/^/| /' conftest.
$ac_ext >&5
38702 eval wx_cv_func_
$wx_func=no
38705 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
38706 conftest
$ac_exeext conftest.
$ac_ext
38709 ac_res
=`eval echo '${'wx_cv_func_$wx_func'}'`
38710 { echo "$as_me:$LINENO: result: $ac_res" >&5
38711 echo "${ECHO_T}$ac_res" >&6; }
38713 if eval test \
$wx_cv_func_$wx_func = yes
38715 cat >>confdefs.h
<<_ACEOF
38716 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
38728 if test "$wxUSE_FILE" = "yes"; then
38730 for wx_func
in fsync
38732 { echo "$as_me:$LINENO: checking for $wx_func" >&5
38733 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
38734 if { as_var
=wx_cv_func_
$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
38735 echo $ECHO_N "(cached) $ECHO_C" >&6
38738 cat >conftest.
$ac_ext <<_ACEOF
38742 cat confdefs.h
>>conftest.
$ac_ext
38743 cat >>conftest.
$ac_ext <<_ACEOF
38744 /* end confdefs.h. */
38747 $ac_includes_default
38763 rm -f conftest.
$ac_objext conftest
$ac_exeext
38764 if { (ac_try
="$ac_link"
38765 case "(($ac_try" in
38766 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
38767 *) ac_try_echo=$ac_try;;
38769 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38770 (eval "$ac_link") 2>conftest.er1
38772 grep -v '^ *+' conftest.er1 >conftest.err
38774 cat conftest.err >&5
38775 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38776 (exit $ac_status); } && {
38777 test -z "$ac_c_werror_flag" ||
38778 test ! -s conftest.err
38779 } && test -s conftest$ac_exeext &&
38780 $as_test_x conftest$ac_exeext; then
38781 eval wx_cv_func_$wx_func=yes
38783 echo "$as_me: failed program was:" >&5
38784 sed 's/^/| /' conftest.$ac_ext >&5
38786 eval wx_cv_func_$wx_func=no
38789 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38790 conftest$ac_exeext conftest.$ac_ext
38793 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
38794 { echo "$as_me:$LINENO: result: $ac_res" >&5
38795 echo "${ECHO_T}$ac_res" >&6; }
38797 if eval test \$wx_cv_func_$wx_func = yes
38799 cat >>confdefs.h <<_ACEOF
38800 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
38813 ac_cpp='$CXXCPP $CPPFLAGS'
38814 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38815 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38816 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38819 for wx_func in round
38821 { echo "$as_me:$LINENO: checking for $wx_func" >&5
38822 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
38823 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
38824 echo $ECHO_N "(cached) $ECHO_C" >&6
38827 cat >conftest.$ac_ext <<_ACEOF
38831 cat confdefs.h >>conftest.$ac_ext
38832 cat >>conftest.$ac_ext <<_ACEOF
38833 /* end confdefs.h. */
38836 $ac_includes_default
38852 rm -f conftest.$ac_objext conftest$ac_exeext
38853 if { (ac_try="$ac_link"
38854 case "(($ac_try" in
38855 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
38856 *) ac_try_echo
=$ac_try;;
38858 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38859 (eval "$ac_link") 2>conftest.er1
38861 grep -v '^ *+' conftest.er1
>conftest.err
38863 cat conftest.err
>&5
38864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38865 (exit $ac_status); } && {
38866 test -z "$ac_cxx_werror_flag" ||
38867 test ! -s conftest.err
38868 } && test -s conftest
$ac_exeext &&
38869 $as_test_x conftest
$ac_exeext; then
38870 eval wx_cv_func_
$wx_func=yes
38872 echo "$as_me: failed program was:" >&5
38873 sed 's/^/| /' conftest.
$ac_ext >&5
38875 eval wx_cv_func_
$wx_func=no
38878 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
38879 conftest
$ac_exeext conftest.
$ac_ext
38882 ac_res
=`eval echo '${'wx_cv_func_$wx_func'}'`
38883 { echo "$as_me:$LINENO: result: $ac_res" >&5
38884 echo "${ECHO_T}$ac_res" >&6; }
38886 if eval test \
$wx_cv_func_$wx_func = yes
38888 cat >>confdefs.h
<<_ACEOF
38889 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
38900 ac_cpp
='$CPP $CPPFLAGS'
38901 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38902 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38903 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
38906 if test "$TOOLKIT" != "MSW"; then
38912 # Check whether --with-libiconv-prefix was given.
38913 if test "${with_libiconv_prefix+set}" = set; then
38914 withval
=$with_libiconv_prefix;
38915 for dir
in `echo "$withval" | tr : ' '`; do
38916 if test -d $dir/include
; then CPPFLAGS
="$CPPFLAGS -I$dir/include"; fi
38917 if test -d $dir/lib
; then LDFLAGS
="$LDFLAGS -L$dir/lib"; fi
38923 { echo "$as_me:$LINENO: checking for iconv" >&5
38924 echo $ECHO_N "checking for iconv... $ECHO_C" >&6; }
38925 if test "${am_cv_func_iconv+set}" = set; then
38926 echo $ECHO_N "(cached) $ECHO_C" >&6
38929 am_cv_func_iconv
="no, consider installing GNU libiconv"
38931 cat >conftest.
$ac_ext <<_ACEOF
38934 cat confdefs.h
>>conftest.
$ac_ext
38935 cat >>conftest.
$ac_ext <<_ACEOF
38936 /* end confdefs.h. */
38937 #include <stdlib.h>
38942 iconv_t cd = iconv_open("","");
38943 iconv(cd,NULL,NULL,NULL,NULL);
38949 rm -f conftest.
$ac_objext conftest
$ac_exeext
38950 if { (ac_try
="$ac_link"
38951 case "(($ac_try" in
38952 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
38953 *) ac_try_echo=$ac_try;;
38955 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38956 (eval "$ac_link") 2>conftest.er1
38958 grep -v '^ *+' conftest.er1 >conftest.err
38960 cat conftest.err >&5
38961 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38962 (exit $ac_status); } && {
38963 test -z "$ac_c_werror_flag" ||
38964 test ! -s conftest.err
38965 } && test -s conftest$ac_exeext &&
38966 $as_test_x conftest$ac_exeext; then
38967 am_cv_func_iconv=yes
38969 echo "$as_me: failed program was:" >&5
38970 sed 's/^/| /' conftest.$ac_ext >&5
38975 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38976 conftest$ac_exeext conftest.$ac_ext
38977 if test "$am_cv_func_iconv" != yes; then
38978 am_save_LIBS="$LIBS"
38979 LIBS="$LIBS -liconv"
38980 cat >conftest.$ac_ext <<_ACEOF
38983 cat confdefs.h >>conftest.$ac_ext
38984 cat >>conftest.$ac_ext <<_ACEOF
38985 /* end confdefs.h. */
38986 #include <stdlib.h>
38991 iconv_t cd = iconv_open("","");
38992 iconv(cd,NULL,NULL,NULL,NULL);
38998 rm -f conftest.$ac_objext conftest$ac_exeext
38999 if { (ac_try="$ac_link"
39000 case "(($ac_try" in
39001 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
39002 *) ac_try_echo
=$ac_try;;
39004 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39005 (eval "$ac_link") 2>conftest.er1
39007 grep -v '^ *+' conftest.er1
>conftest.err
39009 cat conftest.err
>&5
39010 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39011 (exit $ac_status); } && {
39012 test -z "$ac_c_werror_flag" ||
39013 test ! -s conftest.err
39014 } && test -s conftest
$ac_exeext &&
39015 $as_test_x conftest
$ac_exeext; then
39016 am_cv_lib_iconv
=yes
39017 am_cv_func_iconv
=yes
39019 echo "$as_me: failed program was:" >&5
39020 sed 's/^/| /' conftest.
$ac_ext >&5
39025 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
39026 conftest
$ac_exeext conftest.
$ac_ext
39027 LIBS
="$am_save_LIBS"
39031 { echo "$as_me:$LINENO: result: $am_cv_func_iconv" >&5
39032 echo "${ECHO_T}$am_cv_func_iconv" >&6; }
39033 if test "$am_cv_func_iconv" = yes; then
39035 cat >>confdefs.h
<<\_ACEOF
39036 #define HAVE_ICONV 1
39039 { echo "$as_me:$LINENO: checking if iconv needs const" >&5
39040 echo $ECHO_N "checking if iconv needs const... $ECHO_C" >&6; }
39041 if test "${wx_cv_func_iconv_const+set}" = set; then
39042 echo $ECHO_N "(cached) $ECHO_C" >&6
39044 cat >conftest.
$ac_ext <<_ACEOF
39047 cat confdefs.h
>>conftest.
$ac_ext
39048 cat >>conftest.
$ac_ext <<_ACEOF
39049 /* end confdefs.h. */
39051 #include <stdlib.h>
39057 #if defined(__STDC__) || defined(__cplusplus)
39058 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
39071 rm -f conftest.
$ac_objext
39072 if { (ac_try
="$ac_compile"
39073 case "(($ac_try" in
39074 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
39075 *) ac_try_echo=$ac_try;;
39077 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39078 (eval "$ac_compile") 2>conftest.er1
39080 grep -v '^ *+' conftest.er1 >conftest.err
39082 cat conftest.err >&5
39083 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39084 (exit $ac_status); } && {
39085 test -z "$ac_c_werror_flag" ||
39086 test ! -s conftest.err
39087 } && test -s conftest.$ac_objext; then
39088 wx_cv_func_iconv_const="no"
39090 echo "$as_me: failed program was:" >&5
39091 sed 's/^/| /' conftest.$ac_ext >&5
39093 wx_cv_func_iconv_const="yes"
39097 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39100 { echo "$as_me:$LINENO: result: $wx_cv_func_iconv_const" >&5
39101 echo "${ECHO_T}$wx_cv_func_iconv_const" >&6; }
39104 if test "x$wx_cv_func_iconv_const" = "xyes"; then
39105 iconv_const="const"
39109 cat >>confdefs.h <<_ACEOF
39110 #define ICONV_CONST $iconv_const
39115 if test "$am_cv_lib_iconv" = yes; then
39120 LIBS="$LIBICONV $LIBS"
39122 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes" -a "$wxUSE_UNIX" = "yes"; then
39124 for ac_func in sigaction
39126 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39127 { echo "$as_me:$LINENO: checking for $ac_func" >&5
39128 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
39129 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
39130 echo $ECHO_N "(cached) $ECHO_C" >&6
39132 cat >conftest.$ac_ext <<_ACEOF
39135 cat confdefs.h >>conftest.$ac_ext
39136 cat >>conftest.$ac_ext <<_ACEOF
39137 /* end confdefs.h. */
39138 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39139 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39140 #define $ac_func innocuous_$ac_func
39142 /* System header to define __stub macros and hopefully few prototypes,
39143 which can conflict with char $ac_func (); below.
39144 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39145 <limits.h> exists even on freestanding compilers. */
39148 # include <limits.h>
39150 # include <assert.h>
39155 /* Override any GCC internal prototype to avoid an error.
39156 Use char because int might match the return type of a GCC
39157 builtin and then its argument prototype would still apply. */
39162 /* The GNU C library defines this for functions which it implements
39163 to always fail with ENOSYS. Some functions are actually named
39164 something starting with __ and the normal name is an alias. */
39165 #if defined __stub_$ac_func || defined __stub___$ac_func
39172 return $ac_func ();
39177 rm -f conftest.$ac_objext conftest$ac_exeext
39178 if { (ac_try="$ac_link"
39179 case "(($ac_try" in
39180 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
39181 *) ac_try_echo
=$ac_try;;
39183 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39184 (eval "$ac_link") 2>conftest.er1
39186 grep -v '^ *+' conftest.er1
>conftest.err
39188 cat conftest.err
>&5
39189 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39190 (exit $ac_status); } && {
39191 test -z "$ac_c_werror_flag" ||
39192 test ! -s conftest.err
39193 } && test -s conftest
$ac_exeext &&
39194 $as_test_x conftest
$ac_exeext; then
39195 eval "$as_ac_var=yes"
39197 echo "$as_me: failed program was:" >&5
39198 sed 's/^/| /' conftest.
$ac_ext >&5
39200 eval "$as_ac_var=no"
39203 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
39204 conftest
$ac_exeext conftest.
$ac_ext
39206 ac_res
=`eval echo '${'$as_ac_var'}'`
39207 { echo "$as_me:$LINENO: result: $ac_res" >&5
39208 echo "${ECHO_T}$ac_res" >&6; }
39209 if test `eval echo '${'$as_ac_var'}'` = yes; then
39210 cat >>confdefs.h
<<_ACEOF
39211 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39218 if test "$ac_cv_func_sigaction" = "no"; then
39219 { echo "$as_me:$LINENO: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&5
39220 echo "$as_me: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&2;}
39221 wxUSE_ON_FATAL_EXCEPTION
=no
39224 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
39225 { echo "$as_me:$LINENO: checking for sa_handler type" >&5
39226 echo $ECHO_N "checking for sa_handler type... $ECHO_C" >&6; }
39227 if test "${wx_cv_type_sa_handler+set}" = set; then
39228 echo $ECHO_N "(cached) $ECHO_C" >&6
39232 ac_cpp
='$CXXCPP $CPPFLAGS'
39233 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39234 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39235 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
39237 cat >conftest.
$ac_ext <<_ACEOF
39240 cat confdefs.h
>>conftest.
$ac_ext
39241 cat >>conftest.
$ac_ext <<_ACEOF
39242 /* end confdefs.h. */
39243 #include <signal.h>
39248 extern void testSigHandler(int);
39250 struct sigaction sa;
39251 sa.sa_handler = testSigHandler;
39257 rm -f conftest.
$ac_objext
39258 if { (ac_try
="$ac_compile"
39259 case "(($ac_try" in
39260 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
39261 *) ac_try_echo=$ac_try;;
39263 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39264 (eval "$ac_compile") 2>conftest.er1
39266 grep -v '^ *+' conftest.er1 >conftest.err
39268 cat conftest.err >&5
39269 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39270 (exit $ac_status); } && {
39271 test -z "$ac_cxx_werror_flag" ||
39272 test ! -s conftest.err
39273 } && test -s conftest.$ac_objext; then
39275 wx_cv_type_sa_handler=int
39278 echo "$as_me: failed program was:" >&5
39279 sed 's/^/| /' conftest.$ac_ext >&5
39282 wx_cv_type_sa_handler=void
39286 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39288 ac_cpp='$CPP $CPPFLAGS'
39289 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39290 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39291 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39295 { echo "$as_me:$LINENO: result: $wx_cv_type_sa_handler" >&5
39296 echo "${ECHO_T}$wx_cv_type_sa_handler" >&6; }
39298 cat >>confdefs.h <<_ACEOF
39299 #define wxTYPE_SA_HANDLER $wx_cv_type_sa_handler
39305 if test "$wxUSE_STACKWALKER" = "yes" -a "$wxUSE_UNIX" = "yes"; then
39306 { echo "$as_me:$LINENO: checking for backtrace() in <execinfo.h>" >&5
39307 echo $ECHO_N "checking for backtrace() in <execinfo.h>... $ECHO_C" >&6; }
39308 if test "${wx_cv_func_backtrace+set}" = set; then
39309 echo $ECHO_N "(cached) $ECHO_C" >&6
39313 ac_cpp='$CXXCPP $CPPFLAGS'
39314 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39315 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39316 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39318 cat >conftest.$ac_ext <<_ACEOF
39321 cat confdefs.h >>conftest.$ac_ext
39322 cat >>conftest.$ac_ext <<_ACEOF
39323 /* end confdefs.h. */
39324 #include <execinfo.h>
39332 backtrace(trace, 1);
39333 messages = backtrace_symbols(trace, 1);
39339 rm -f conftest.$ac_objext
39340 if { (ac_try="$ac_compile"
39341 case "(($ac_try" in
39342 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
39343 *) ac_try_echo
=$ac_try;;
39345 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39346 (eval "$ac_compile") 2>conftest.er1
39348 grep -v '^ *+' conftest.er1
>conftest.err
39350 cat conftest.err
>&5
39351 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39352 (exit $ac_status); } && {
39353 test -z "$ac_cxx_werror_flag" ||
39354 test ! -s conftest.err
39355 } && test -s conftest.
$ac_objext; then
39356 wx_cv_func_backtrace
=yes
39358 echo "$as_me: failed program was:" >&5
39359 sed 's/^/| /' conftest.
$ac_ext >&5
39361 wx_cv_func_backtrace
=no
39365 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
39367 ac_cpp
='$CPP $CPPFLAGS'
39368 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39369 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39370 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
39375 { echo "$as_me:$LINENO: result: $wx_cv_func_backtrace" >&5
39376 echo "${ECHO_T}$wx_cv_func_backtrace" >&6; }
39379 if test "$wx_cv_func_backtrace" = "no"; then
39380 { echo "$as_me:$LINENO: WARNING: backtrace() is not available, wxStackWalker will not be available" >&5
39381 echo "$as_me: WARNING: backtrace() is not available, wxStackWalker will not be available" >&2;}
39382 wxUSE_STACKWALKER
=no
39384 { echo "$as_me:$LINENO: checking for __cxa_demangle() in <cxxabi.h>" >&5
39385 echo $ECHO_N "checking for __cxa_demangle() in <cxxabi.h>... $ECHO_C" >&6; }
39386 if test "${wx_cv_func_cxa_demangle+set}" = set; then
39387 echo $ECHO_N "(cached) $ECHO_C" >&6
39391 ac_cpp
='$CXXCPP $CPPFLAGS'
39392 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39393 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39394 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
39396 cat >conftest.
$ac_ext <<_ACEOF
39399 cat confdefs.h
>>conftest.
$ac_ext
39400 cat >>conftest.
$ac_ext <<_ACEOF
39401 /* end confdefs.h. */
39402 #include <cxxabi.h>
39408 __cxxabiv1::__cxa_demangle("foo", 0, 0, &rc);
39414 rm -f conftest.
$ac_objext conftest
$ac_exeext
39415 if { (ac_try
="$ac_link"
39416 case "(($ac_try" in
39417 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
39418 *) ac_try_echo=$ac_try;;
39420 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39421 (eval "$ac_link") 2>conftest.er1
39423 grep -v '^ *+' conftest.er1 >conftest.err
39425 cat conftest.err >&5
39426 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39427 (exit $ac_status); } && {
39428 test -z "$ac_cxx_werror_flag" ||
39429 test ! -s conftest.err
39430 } && test -s conftest$ac_exeext &&
39431 $as_test_x conftest$ac_exeext; then
39432 wx_cv_func_cxa_demangle=yes
39434 echo "$as_me: failed program was:" >&5
39435 sed 's/^/| /' conftest.$ac_ext >&5
39437 wx_cv_func_cxa_demangle=no
39441 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39442 conftest$ac_exeext conftest.$ac_ext
39444 ac_cpp='$CPP $CPPFLAGS'
39445 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39446 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39447 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39452 { echo "$as_me:$LINENO: result: $wx_cv_func_cxa_demangle" >&5
39453 echo "${ECHO_T}$wx_cv_func_cxa_demangle" >&6; }
39455 if test "$wx_cv_func_cxa_demangle" = "yes"; then
39456 cat >>confdefs.h <<\_ACEOF
39457 #define HAVE_CXA_DEMANGLE 1
39464 if test "$wxUSE_STACKWALKER" = "yes" -a "$USE_WIN32" != "1" -a "$USE_UNIX" != "1"; then
39465 { echo "$as_me:$LINENO: WARNING: wxStackWalker is only available on Win32 and UNIX... disabled" >&5
39466 echo "$as_me: WARNING: wxStackWalker is only available on Win32 and UNIX... disabled" >&2;}
39467 wxUSE_STACKWALKER=no
39473 for ac_func in mkstemp mktemp
39475 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39476 { echo "$as_me:$LINENO: checking for $ac_func" >&5
39477 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
39478 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
39479 echo $ECHO_N "(cached) $ECHO_C" >&6
39481 cat >conftest.$ac_ext <<_ACEOF
39484 cat confdefs.h >>conftest.$ac_ext
39485 cat >>conftest.$ac_ext <<_ACEOF
39486 /* end confdefs.h. */
39487 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39488 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39489 #define $ac_func innocuous_$ac_func
39491 /* System header to define __stub macros and hopefully few prototypes,
39492 which can conflict with char $ac_func (); below.
39493 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39494 <limits.h> exists even on freestanding compilers. */
39497 # include <limits.h>
39499 # include <assert.h>
39504 /* Override any GCC internal prototype to avoid an error.
39505 Use char because int might match the return type of a GCC
39506 builtin and then its argument prototype would still apply. */
39511 /* The GNU C library defines this for functions which it implements
39512 to always fail with ENOSYS. Some functions are actually named
39513 something starting with __ and the normal name is an alias. */
39514 #if defined __stub_$ac_func || defined __stub___$ac_func
39521 return $ac_func ();
39526 rm -f conftest.$ac_objext conftest$ac_exeext
39527 if { (ac_try="$ac_link"
39528 case "(($ac_try" in
39529 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
39530 *) ac_try_echo
=$ac_try;;
39532 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39533 (eval "$ac_link") 2>conftest.er1
39535 grep -v '^ *+' conftest.er1
>conftest.err
39537 cat conftest.err
>&5
39538 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39539 (exit $ac_status); } && {
39540 test -z "$ac_c_werror_flag" ||
39541 test ! -s conftest.err
39542 } && test -s conftest
$ac_exeext &&
39543 $as_test_x conftest
$ac_exeext; then
39544 eval "$as_ac_var=yes"
39546 echo "$as_me: failed program was:" >&5
39547 sed 's/^/| /' conftest.
$ac_ext >&5
39549 eval "$as_ac_var=no"
39552 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
39553 conftest
$ac_exeext conftest.
$ac_ext
39555 ac_res
=`eval echo '${'$as_ac_var'}'`
39556 { echo "$as_me:$LINENO: result: $ac_res" >&5
39557 echo "${ECHO_T}$ac_res" >&6; }
39558 if test `eval echo '${'$as_ac_var'}'` = yes; then
39559 cat >>confdefs.h
<<_ACEOF
39560 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39567 { echo "$as_me:$LINENO: checking for statfs" >&5
39568 echo $ECHO_N "checking for statfs... $ECHO_C" >&6; }
39569 if test "${wx_cv_func_statfs+set}" = set; then
39570 echo $ECHO_N "(cached) $ECHO_C" >&6
39572 cat >conftest.
$ac_ext <<_ACEOF
39575 cat confdefs.h
>>conftest.
$ac_ext
39576 cat >>conftest.
$ac_ext <<_ACEOF
39577 /* end confdefs.h. */
39579 #if defined(__BSD__)
39580 #include <sys/param.h>
39581 #include <sys/mount.h>
39583 #include <sys/vfs.h>
39601 rm -f conftest.
$ac_objext
39602 if { (ac_try
="$ac_compile"
39603 case "(($ac_try" in
39604 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
39605 *) ac_try_echo=$ac_try;;
39607 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39608 (eval "$ac_compile") 2>conftest.er1
39610 grep -v '^ *+' conftest.er1 >conftest.err
39612 cat conftest.err >&5
39613 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39614 (exit $ac_status); } && {
39615 test -z "$ac_c_werror_flag" ||
39616 test ! -s conftest.err
39617 } && test -s conftest.$ac_objext; then
39618 wx_cv_func_statfs=yes
39620 echo "$as_me: failed program was:" >&5
39621 sed 's/^/| /' conftest.$ac_ext >&5
39623 wx_cv_func_statfs=no
39627 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39630 { echo "$as_me:$LINENO: result: $wx_cv_func_statfs" >&5
39631 echo "${ECHO_T}$wx_cv_func_statfs" >&6; }
39633 if test "$wx_cv_func_statfs" = "yes"; then
39634 { echo "$as_me:$LINENO: checking for statfs declaration" >&5
39635 echo $ECHO_N "checking for statfs declaration... $ECHO_C" >&6; }
39636 if test "${wx_cv_func_statfs_decl+set}" = set; then
39637 echo $ECHO_N "(cached) $ECHO_C" >&6
39640 ac_cpp='$CXXCPP $CPPFLAGS'
39641 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39642 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39643 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39645 cat >conftest.$ac_ext <<_ACEOF
39648 cat confdefs.h >>conftest.$ac_ext
39649 cat >>conftest.$ac_ext <<_ACEOF
39650 /* end confdefs.h. */
39652 #if defined(__BSD__)
39653 #include <sys/param.h>
39654 #include <sys/mount.h>
39656 #include <sys/vfs.h>
39670 rm -f conftest.$ac_objext
39671 if { (ac_try="$ac_compile"
39672 case "(($ac_try" in
39673 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
39674 *) ac_try_echo
=$ac_try;;
39676 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39677 (eval "$ac_compile") 2>conftest.er1
39679 grep -v '^ *+' conftest.er1
>conftest.err
39681 cat conftest.err
>&5
39682 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39683 (exit $ac_status); } && {
39684 test -z "$ac_cxx_werror_flag" ||
39685 test ! -s conftest.err
39686 } && test -s conftest.
$ac_objext; then
39687 wx_cv_func_statfs_decl
=yes
39689 echo "$as_me: failed program was:" >&5
39690 sed 's/^/| /' conftest.
$ac_ext >&5
39692 wx_cv_func_statfs_decl
=no
39696 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
39698 ac_cpp
='$CPP $CPPFLAGS'
39699 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39700 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39701 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
39705 { echo "$as_me:$LINENO: result: $wx_cv_func_statfs_decl" >&5
39706 echo "${ECHO_T}$wx_cv_func_statfs_decl" >&6; }
39708 if test "$wx_cv_func_statfs_decl" = "yes"; then
39709 cat >>confdefs.h
<<\_ACEOF
39710 #define HAVE_STATFS_DECL 1
39715 wx_cv_type_statvfs_t
="struct statfs"
39716 cat >>confdefs.h
<<\_ACEOF
39717 #define HAVE_STATFS 1
39721 { echo "$as_me:$LINENO: checking for statvfs" >&5
39722 echo $ECHO_N "checking for statvfs... $ECHO_C" >&6; }
39723 if test "${wx_cv_func_statvfs+set}" = set; then
39724 echo $ECHO_N "(cached) $ECHO_C" >&6
39726 cat >conftest.
$ac_ext <<_ACEOF
39729 cat confdefs.h
>>conftest.
$ac_ext
39730 cat >>conftest.
$ac_ext <<_ACEOF
39731 /* end confdefs.h. */
39733 #include <stddef.h>
39734 #include <sys/statvfs.h>
39740 statvfs("/", NULL);
39746 rm -f conftest.
$ac_objext
39747 if { (ac_try
="$ac_compile"
39748 case "(($ac_try" in
39749 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
39750 *) ac_try_echo=$ac_try;;
39752 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39753 (eval "$ac_compile") 2>conftest.er1
39755 grep -v '^ *+' conftest.er1 >conftest.err
39757 cat conftest.err >&5
39758 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39759 (exit $ac_status); } && {
39760 test -z "$ac_c_werror_flag" ||
39761 test ! -s conftest.err
39762 } && test -s conftest.$ac_objext; then
39763 wx_cv_func_statvfs=yes
39765 echo "$as_me: failed program was:" >&5
39766 sed 's/^/| /' conftest.$ac_ext >&5
39768 wx_cv_func_statvfs=no
39772 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39775 { echo "$as_me:$LINENO: result: $wx_cv_func_statvfs" >&5
39776 echo "${ECHO_T}$wx_cv_func_statvfs" >&6; }
39778 if test "$wx_cv_func_statvfs" = "yes"; then
39779 { echo "$as_me:$LINENO: checking for statvfs argument type" >&5
39780 echo $ECHO_N "checking for statvfs argument type... $ECHO_C" >&6; }
39781 if test "${wx_cv_type_statvfs_t+set}" = set; then
39782 echo $ECHO_N "(cached) $ECHO_C" >&6
39785 ac_cpp='$CXXCPP $CPPFLAGS'
39786 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39787 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39788 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39790 cat >conftest.$ac_ext <<_ACEOF
39793 cat confdefs.h >>conftest.$ac_ext
39794 cat >>conftest.$ac_ext <<_ACEOF
39795 /* end confdefs.h. */
39797 #include <sys/statvfs.h>
39814 rm -f conftest.$ac_objext
39815 if { (ac_try="$ac_compile"
39816 case "(($ac_try" in
39817 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
39818 *) ac_try_echo
=$ac_try;;
39820 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39821 (eval "$ac_compile") 2>conftest.er1
39823 grep -v '^ *+' conftest.er1
>conftest.err
39825 cat conftest.err
>&5
39826 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39827 (exit $ac_status); } && {
39828 test -z "$ac_cxx_werror_flag" ||
39829 test ! -s conftest.err
39830 } && test -s conftest.
$ac_objext; then
39831 wx_cv_type_statvfs_t
=statvfs_t
39833 echo "$as_me: failed program was:" >&5
39834 sed 's/^/| /' conftest.
$ac_ext >&5
39837 cat >conftest.
$ac_ext <<_ACEOF
39840 cat confdefs.h
>>conftest.
$ac_ext
39841 cat >>conftest.
$ac_ext <<_ACEOF
39842 /* end confdefs.h. */
39844 #include <sys/statvfs.h>
39861 rm -f conftest.
$ac_objext
39862 if { (ac_try
="$ac_compile"
39863 case "(($ac_try" in
39864 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
39865 *) ac_try_echo=$ac_try;;
39867 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39868 (eval "$ac_compile") 2>conftest.er1
39870 grep -v '^ *+' conftest.er1 >conftest.err
39872 cat conftest.err >&5
39873 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39874 (exit $ac_status); } && {
39875 test -z "$ac_cxx_werror_flag" ||
39876 test ! -s conftest.err
39877 } && test -s conftest.$ac_objext; then
39878 wx_cv_type_statvfs_t="struct statvfs"
39880 echo "$as_me: failed program was:" >&5
39881 sed 's/^/| /' conftest.$ac_ext >&5
39883 wx_cv_type_statvfs_t="unknown"
39887 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39892 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39894 ac_cpp='$CPP $CPPFLAGS'
39895 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39896 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39897 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39901 { echo "$as_me:$LINENO: result: $wx_cv_type_statvfs_t" >&5
39902 echo "${ECHO_T}$wx_cv_type_statvfs_t" >&6; }
39904 if test "$wx_cv_type_statvfs_t" != "unknown"; then
39905 cat >>confdefs.h <<\_ACEOF
39906 #define HAVE_STATVFS 1
39911 wx_cv_type_statvfs_t="unknown"
39915 if test "$wx_cv_type_statvfs_t" != "unknown"; then
39916 cat >>confdefs.h <<_ACEOF
39917 #define WX_STATFS_T $wx_cv_type_statvfs_t
39921 { echo "$as_me:$LINENO: WARNING: wxGetDiskSpace() function won't work without statfs()" >&5
39922 echo "$as_me: WARNING: wxGetDiskSpace() function won't work without statfs()" >&2;}
39925 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
39928 for ac_func in fcntl flock
39930 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39931 { echo "$as_me:$LINENO: checking for $ac_func" >&5
39932 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
39933 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
39934 echo $ECHO_N "(cached) $ECHO_C" >&6
39936 cat >conftest.$ac_ext <<_ACEOF
39939 cat confdefs.h >>conftest.$ac_ext
39940 cat >>conftest.$ac_ext <<_ACEOF
39941 /* end confdefs.h. */
39942 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39943 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39944 #define $ac_func innocuous_$ac_func
39946 /* System header to define __stub macros and hopefully few prototypes,
39947 which can conflict with char $ac_func (); below.
39948 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39949 <limits.h> exists even on freestanding compilers. */
39952 # include <limits.h>
39954 # include <assert.h>
39959 /* Override any GCC internal prototype to avoid an error.
39960 Use char because int might match the return type of a GCC
39961 builtin and then its argument prototype would still apply. */
39966 /* The GNU C library defines this for functions which it implements
39967 to always fail with ENOSYS. Some functions are actually named
39968 something starting with __ and the normal name is an alias. */
39969 #if defined __stub_$ac_func || defined __stub___$ac_func
39976 return $ac_func ();
39981 rm -f conftest.$ac_objext conftest$ac_exeext
39982 if { (ac_try="$ac_link"
39983 case "(($ac_try" in
39984 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
39985 *) ac_try_echo
=$ac_try;;
39987 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39988 (eval "$ac_link") 2>conftest.er1
39990 grep -v '^ *+' conftest.er1
>conftest.err
39992 cat conftest.err
>&5
39993 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39994 (exit $ac_status); } && {
39995 test -z "$ac_c_werror_flag" ||
39996 test ! -s conftest.err
39997 } && test -s conftest
$ac_exeext &&
39998 $as_test_x conftest
$ac_exeext; then
39999 eval "$as_ac_var=yes"
40001 echo "$as_me: failed program was:" >&5
40002 sed 's/^/| /' conftest.
$ac_ext >&5
40004 eval "$as_ac_var=no"
40007 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
40008 conftest
$ac_exeext conftest.
$ac_ext
40010 ac_res
=`eval echo '${'$as_ac_var'}'`
40011 { echo "$as_me:$LINENO: result: $ac_res" >&5
40012 echo "${ECHO_T}$ac_res" >&6; }
40013 if test `eval echo '${'$as_ac_var'}'` = yes; then
40014 cat >>confdefs.h
<<_ACEOF
40015 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40022 if test "$ac_cv_func_fcntl" != "yes" -a "$ac_cv_func_flock" != "yes"; then
40023 { echo "$as_me:$LINENO: WARNING: wxSingleInstanceChecker not available" >&5
40024 echo "$as_me: WARNING: wxSingleInstanceChecker not available" >&2;}
40025 wxUSE_SNGLINST_CHECKER
=no
40030 for ac_func
in timegm
40032 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40033 { echo "$as_me:$LINENO: checking for $ac_func" >&5
40034 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
40035 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
40036 echo $ECHO_N "(cached) $ECHO_C" >&6
40038 cat >conftest.
$ac_ext <<_ACEOF
40041 cat confdefs.h
>>conftest.
$ac_ext
40042 cat >>conftest.
$ac_ext <<_ACEOF
40043 /* end confdefs.h. */
40044 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40045 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40046 #define $ac_func innocuous_$ac_func
40048 /* System header to define __stub macros and hopefully few prototypes,
40049 which can conflict with char $ac_func (); below.
40050 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40051 <limits.h> exists even on freestanding compilers. */
40054 # include <limits.h>
40056 # include <assert.h>
40061 /* Override any GCC internal prototype to avoid an error.
40062 Use char because int might match the return type of a GCC
40063 builtin and then its argument prototype would still apply. */
40068 /* The GNU C library defines this for functions which it implements
40069 to always fail with ENOSYS. Some functions are actually named
40070 something starting with __ and the normal name is an alias. */
40071 #if defined __stub_$ac_func || defined __stub___$ac_func
40078 return $ac_func ();
40083 rm -f conftest.
$ac_objext conftest
$ac_exeext
40084 if { (ac_try
="$ac_link"
40085 case "(($ac_try" in
40086 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
40087 *) ac_try_echo=$ac_try;;
40089 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40090 (eval "$ac_link") 2>conftest.er1
40092 grep -v '^ *+' conftest.er1 >conftest.err
40094 cat conftest.err >&5
40095 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40096 (exit $ac_status); } && {
40097 test -z "$ac_c_werror_flag" ||
40098 test ! -s conftest.err
40099 } && test -s conftest$ac_exeext &&
40100 $as_test_x conftest$ac_exeext; then
40101 eval "$as_ac_var=yes"
40103 echo "$as_me: failed program was:" >&5
40104 sed 's/^/| /' conftest.$ac_ext >&5
40106 eval "$as_ac_var=no"
40109 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40110 conftest$ac_exeext conftest.$ac_ext
40112 ac_res=`eval echo '${'$as_ac_var'}'`
40113 { echo "$as_me:$LINENO: result: $ac_res" >&5
40114 echo "${ECHO_T}$ac_res" >&6; }
40115 if test `eval echo '${'$as_ac_var'}'` = yes; then
40116 cat >>confdefs.h <<_ACEOF
40117 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40126 for ac_func in setenv putenv
40128 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40129 { echo "$as_me:$LINENO: checking for $ac_func" >&5
40130 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
40131 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
40132 echo $ECHO_N "(cached) $ECHO_C" >&6
40134 cat >conftest.$ac_ext <<_ACEOF
40137 cat confdefs.h >>conftest.$ac_ext
40138 cat >>conftest.$ac_ext <<_ACEOF
40139 /* end confdefs.h. */
40140 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40141 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40142 #define $ac_func innocuous_$ac_func
40144 /* System header to define __stub macros and hopefully few prototypes,
40145 which can conflict with char $ac_func (); below.
40146 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40147 <limits.h> exists even on freestanding compilers. */
40150 # include <limits.h>
40152 # include <assert.h>
40157 /* Override any GCC internal prototype to avoid an error.
40158 Use char because int might match the return type of a GCC
40159 builtin and then its argument prototype would still apply. */
40164 /* The GNU C library defines this for functions which it implements
40165 to always fail with ENOSYS. Some functions are actually named
40166 something starting with __ and the normal name is an alias. */
40167 #if defined __stub_$ac_func || defined __stub___$ac_func
40174 return $ac_func ();
40179 rm -f conftest.$ac_objext conftest$ac_exeext
40180 if { (ac_try="$ac_link"
40181 case "(($ac_try" in
40182 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
40183 *) ac_try_echo
=$ac_try;;
40185 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40186 (eval "$ac_link") 2>conftest.er1
40188 grep -v '^ *+' conftest.er1
>conftest.err
40190 cat conftest.err
>&5
40191 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40192 (exit $ac_status); } && {
40193 test -z "$ac_c_werror_flag" ||
40194 test ! -s conftest.err
40195 } && test -s conftest
$ac_exeext &&
40196 $as_test_x conftest
$ac_exeext; then
40197 eval "$as_ac_var=yes"
40199 echo "$as_me: failed program was:" >&5
40200 sed 's/^/| /' conftest.
$ac_ext >&5
40202 eval "$as_ac_var=no"
40205 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
40206 conftest
$ac_exeext conftest.
$ac_ext
40208 ac_res
=`eval echo '${'$as_ac_var'}'`
40209 { echo "$as_me:$LINENO: result: $ac_res" >&5
40210 echo "${ECHO_T}$ac_res" >&6; }
40211 if test `eval echo '${'$as_ac_var'}'` = yes; then
40212 cat >>confdefs.h
<<_ACEOF
40213 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40219 if test "$ac_cv_func_setenv" = "yes"; then
40221 for ac_func
in unsetenv
40223 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40224 { echo "$as_me:$LINENO: checking for $ac_func" >&5
40225 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
40226 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
40227 echo $ECHO_N "(cached) $ECHO_C" >&6
40229 cat >conftest.
$ac_ext <<_ACEOF
40232 cat confdefs.h
>>conftest.
$ac_ext
40233 cat >>conftest.
$ac_ext <<_ACEOF
40234 /* end confdefs.h. */
40235 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40236 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40237 #define $ac_func innocuous_$ac_func
40239 /* System header to define __stub macros and hopefully few prototypes,
40240 which can conflict with char $ac_func (); below.
40241 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40242 <limits.h> exists even on freestanding compilers. */
40245 # include <limits.h>
40247 # include <assert.h>
40252 /* Override any GCC internal prototype to avoid an error.
40253 Use char because int might match the return type of a GCC
40254 builtin and then its argument prototype would still apply. */
40259 /* The GNU C library defines this for functions which it implements
40260 to always fail with ENOSYS. Some functions are actually named
40261 something starting with __ and the normal name is an alias. */
40262 #if defined __stub_$ac_func || defined __stub___$ac_func
40269 return $ac_func ();
40274 rm -f conftest.
$ac_objext conftest
$ac_exeext
40275 if { (ac_try
="$ac_link"
40276 case "(($ac_try" in
40277 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
40278 *) ac_try_echo=$ac_try;;
40280 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40281 (eval "$ac_link") 2>conftest.er1
40283 grep -v '^ *+' conftest.er1 >conftest.err
40285 cat conftest.err >&5
40286 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40287 (exit $ac_status); } && {
40288 test -z "$ac_c_werror_flag" ||
40289 test ! -s conftest.err
40290 } && test -s conftest$ac_exeext &&
40291 $as_test_x conftest$ac_exeext; then
40292 eval "$as_ac_var=yes"
40294 echo "$as_me: failed program was:" >&5
40295 sed 's/^/| /' conftest.$ac_ext >&5
40297 eval "$as_ac_var=no"
40300 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40301 conftest$ac_exeext conftest.$ac_ext
40303 ac_res=`eval echo '${'$as_ac_var'}'`
40304 { echo "$as_me:$LINENO: result: $ac_res" >&5
40305 echo "${ECHO_T}$ac_res" >&6; }
40306 if test `eval echo '${'$as_ac_var'}'` = yes; then
40307 cat >>confdefs.h <<_ACEOF
40308 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40316 HAVE_SOME_SLEEP_FUNC=0
40317 if test "$USE_BEOS" = 1; then
40318 cat >>confdefs.h <<\_ACEOF
40319 #define HAVE_SLEEP 1
40322 HAVE_SOME_SLEEP_FUNC=1
40325 if test "$USE_DARWIN" = 1; then
40326 cat >>confdefs.h <<\_ACEOF
40327 #define HAVE_USLEEP 1
40330 HAVE_SOME_SLEEP_FUNC=1
40333 if test "$HAVE_SOME_SLEEP_FUNC" != 1; then
40336 for ac_func in nanosleep
40338 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40339 { echo "$as_me:$LINENO: checking for $ac_func" >&5
40340 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
40341 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
40342 echo $ECHO_N "(cached) $ECHO_C" >&6
40344 cat >conftest.$ac_ext <<_ACEOF
40347 cat confdefs.h >>conftest.$ac_ext
40348 cat >>conftest.$ac_ext <<_ACEOF
40349 /* end confdefs.h. */
40350 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40351 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40352 #define $ac_func innocuous_$ac_func
40354 /* System header to define __stub macros and hopefully few prototypes,
40355 which can conflict with char $ac_func (); below.
40356 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40357 <limits.h> exists even on freestanding compilers. */
40360 # include <limits.h>
40362 # include <assert.h>
40367 /* Override any GCC internal prototype to avoid an error.
40368 Use char because int might match the return type of a GCC
40369 builtin and then its argument prototype would still apply. */
40374 /* The GNU C library defines this for functions which it implements
40375 to always fail with ENOSYS. Some functions are actually named
40376 something starting with __ and the normal name is an alias. */
40377 #if defined __stub_$ac_func || defined __stub___$ac_func
40384 return $ac_func ();
40389 rm -f conftest.$ac_objext conftest$ac_exeext
40390 if { (ac_try="$ac_link"
40391 case "(($ac_try" in
40392 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
40393 *) ac_try_echo
=$ac_try;;
40395 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40396 (eval "$ac_link") 2>conftest.er1
40398 grep -v '^ *+' conftest.er1
>conftest.err
40400 cat conftest.err
>&5
40401 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40402 (exit $ac_status); } && {
40403 test -z "$ac_c_werror_flag" ||
40404 test ! -s conftest.err
40405 } && test -s conftest
$ac_exeext &&
40406 $as_test_x conftest
$ac_exeext; then
40407 eval "$as_ac_var=yes"
40409 echo "$as_me: failed program was:" >&5
40410 sed 's/^/| /' conftest.
$ac_ext >&5
40412 eval "$as_ac_var=no"
40415 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
40416 conftest
$ac_exeext conftest.
$ac_ext
40418 ac_res
=`eval echo '${'$as_ac_var'}'`
40419 { echo "$as_me:$LINENO: result: $ac_res" >&5
40420 echo "${ECHO_T}$ac_res" >&6; }
40421 if test `eval echo '${'$as_ac_var'}'` = yes; then
40422 cat >>confdefs.h
<<_ACEOF
40423 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40425 cat >>confdefs.h
<<\_ACEOF
40426 #define HAVE_NANOSLEEP 1
40431 { echo "$as_me:$LINENO: checking for nanosleep in -lposix4" >&5
40432 echo $ECHO_N "checking for nanosleep in -lposix4... $ECHO_C" >&6; }
40433 if test "${ac_cv_lib_posix4_nanosleep+set}" = set; then
40434 echo $ECHO_N "(cached) $ECHO_C" >&6
40436 ac_check_lib_save_LIBS
=$LIBS
40437 LIBS
="-lposix4 $LIBS"
40438 cat >conftest.
$ac_ext <<_ACEOF
40441 cat confdefs.h
>>conftest.
$ac_ext
40442 cat >>conftest.
$ac_ext <<_ACEOF
40443 /* end confdefs.h. */
40445 /* Override any GCC internal prototype to avoid an error.
40446 Use char because int might match the return type of a GCC
40447 builtin and then its argument prototype would still apply. */
40455 return nanosleep ();
40460 rm -f conftest.
$ac_objext conftest
$ac_exeext
40461 if { (ac_try
="$ac_link"
40462 case "(($ac_try" in
40463 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
40464 *) ac_try_echo=$ac_try;;
40466 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40467 (eval "$ac_link") 2>conftest.er1
40469 grep -v '^ *+' conftest.er1 >conftest.err
40471 cat conftest.err >&5
40472 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40473 (exit $ac_status); } && {
40474 test -z "$ac_c_werror_flag" ||
40475 test ! -s conftest.err
40476 } && test -s conftest$ac_exeext &&
40477 $as_test_x conftest$ac_exeext; then
40478 ac_cv_lib_posix4_nanosleep=yes
40480 echo "$as_me: failed program was:" >&5
40481 sed 's/^/| /' conftest.$ac_ext >&5
40483 ac_cv_lib_posix4_nanosleep=no
40486 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40487 conftest$ac_exeext conftest.$ac_ext
40488 LIBS=$ac_check_lib_save_LIBS
40490 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_nanosleep" >&5
40491 echo "${ECHO_T}$ac_cv_lib_posix4_nanosleep" >&6; }
40492 if test $ac_cv_lib_posix4_nanosleep = yes; then
40494 cat >>confdefs.h <<\_ACEOF
40495 #define HAVE_NANOSLEEP 1
40498 POSIX4_LINK=" -lposix4"
40503 for wx_func in usleep
40505 { echo "$as_me:$LINENO: checking for $wx_func" >&5
40506 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
40507 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
40508 echo $ECHO_N "(cached) $ECHO_C" >&6
40511 cat >conftest.$ac_ext <<_ACEOF
40515 cat confdefs.h >>conftest.$ac_ext
40516 cat >>conftest.$ac_ext <<_ACEOF
40517 /* end confdefs.h. */
40520 $ac_includes_default
40536 rm -f conftest.$ac_objext conftest$ac_exeext
40537 if { (ac_try="$ac_link"
40538 case "(($ac_try" in
40539 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
40540 *) ac_try_echo
=$ac_try;;
40542 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40543 (eval "$ac_link") 2>conftest.er1
40545 grep -v '^ *+' conftest.er1
>conftest.err
40547 cat conftest.err
>&5
40548 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40549 (exit $ac_status); } && {
40550 test -z "$ac_c_werror_flag" ||
40551 test ! -s conftest.err
40552 } && test -s conftest
$ac_exeext &&
40553 $as_test_x conftest
$ac_exeext; then
40554 eval wx_cv_func_
$wx_func=yes
40556 echo "$as_me: failed program was:" >&5
40557 sed 's/^/| /' conftest.
$ac_ext >&5
40559 eval wx_cv_func_
$wx_func=no
40562 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
40563 conftest
$ac_exeext conftest.
$ac_ext
40566 ac_res
=`eval echo '${'wx_cv_func_$wx_func'}'`
40567 { echo "$as_me:$LINENO: result: $ac_res" >&5
40568 echo "${ECHO_T}$ac_res" >&6; }
40570 if eval test \
$wx_cv_func_$wx_func = yes
40572 cat >>confdefs.h
<<_ACEOF
40573 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
40579 { echo "$as_me:$LINENO: WARNING: wxSleep() function will not work" >&5
40580 echo "$as_me: WARNING: wxSleep() function will not work" >&2;}
40597 for wx_func
in uname
40599 { echo "$as_me:$LINENO: checking for $wx_func" >&5
40600 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
40601 if { as_var
=wx_cv_func_
$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
40602 echo $ECHO_N "(cached) $ECHO_C" >&6
40605 cat >conftest.
$ac_ext <<_ACEOF
40609 cat confdefs.h
>>conftest.
$ac_ext
40610 cat >>conftest.
$ac_ext <<_ACEOF
40611 /* end confdefs.h. */
40613 #include <sys/utsname.h>
40614 $ac_includes_default
40630 rm -f conftest.
$ac_objext conftest
$ac_exeext
40631 if { (ac_try
="$ac_link"
40632 case "(($ac_try" in
40633 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
40634 *) ac_try_echo=$ac_try;;
40636 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40637 (eval "$ac_link") 2>conftest.er1
40639 grep -v '^ *+' conftest.er1 >conftest.err
40641 cat conftest.err >&5
40642 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40643 (exit $ac_status); } && {
40644 test -z "$ac_c_werror_flag" ||
40645 test ! -s conftest.err
40646 } && test -s conftest$ac_exeext &&
40647 $as_test_x conftest$ac_exeext; then
40648 eval wx_cv_func_$wx_func=yes
40650 echo "$as_me: failed program was:" >&5
40651 sed 's/^/| /' conftest.$ac_ext >&5
40653 eval wx_cv_func_$wx_func=no
40656 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40657 conftest$ac_exeext conftest.$ac_ext
40660 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
40661 { echo "$as_me:$LINENO: result: $ac_res" >&5
40662 echo "${ECHO_T}$ac_res" >&6; }
40664 if eval test \$wx_cv_func_$wx_func = yes
40666 cat >>confdefs.h <<_ACEOF
40667 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
40677 if test "$wx_cv_func_uname" != yes; then
40679 for wx_func in gethostname
40681 { echo "$as_me:$LINENO: checking for $wx_func" >&5
40682 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
40683 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
40684 echo $ECHO_N "(cached) $ECHO_C" >&6
40687 cat >conftest.$ac_ext <<_ACEOF
40691 cat confdefs.h >>conftest.$ac_ext
40692 cat >>conftest.$ac_ext <<_ACEOF
40693 /* end confdefs.h. */
40696 $ac_includes_default
40712 rm -f conftest.$ac_objext conftest$ac_exeext
40713 if { (ac_try="$ac_link"
40714 case "(($ac_try" in
40715 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
40716 *) ac_try_echo
=$ac_try;;
40718 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40719 (eval "$ac_link") 2>conftest.er1
40721 grep -v '^ *+' conftest.er1
>conftest.err
40723 cat conftest.err
>&5
40724 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40725 (exit $ac_status); } && {
40726 test -z "$ac_c_werror_flag" ||
40727 test ! -s conftest.err
40728 } && test -s conftest
$ac_exeext &&
40729 $as_test_x conftest
$ac_exeext; then
40730 eval wx_cv_func_
$wx_func=yes
40732 echo "$as_me: failed program was:" >&5
40733 sed 's/^/| /' conftest.
$ac_ext >&5
40735 eval wx_cv_func_
$wx_func=no
40738 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
40739 conftest
$ac_exeext conftest.
$ac_ext
40742 ac_res
=`eval echo '${'wx_cv_func_$wx_func'}'`
40743 { echo "$as_me:$LINENO: result: $ac_res" >&5
40744 echo "${ECHO_T}$ac_res" >&6; }
40746 if eval test \
$wx_cv_func_$wx_func = yes
40748 cat >>confdefs.h
<<_ACEOF
40749 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
40762 for wx_func
in strtok_r
40764 { echo "$as_me:$LINENO: checking for $wx_func" >&5
40765 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
40766 if { as_var
=wx_cv_func_
$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
40767 echo $ECHO_N "(cached) $ECHO_C" >&6
40770 cat >conftest.
$ac_ext <<_ACEOF
40774 cat confdefs.h
>>conftest.
$ac_ext
40775 cat >>conftest.
$ac_ext <<_ACEOF
40776 /* end confdefs.h. */
40779 $ac_includes_default
40795 rm -f conftest.
$ac_objext conftest
$ac_exeext
40796 if { (ac_try
="$ac_link"
40797 case "(($ac_try" in
40798 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
40799 *) ac_try_echo=$ac_try;;
40801 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40802 (eval "$ac_link") 2>conftest.er1
40804 grep -v '^ *+' conftest.er1 >conftest.err
40806 cat conftest.err >&5
40807 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40808 (exit $ac_status); } && {
40809 test -z "$ac_c_werror_flag" ||
40810 test ! -s conftest.err
40811 } && test -s conftest$ac_exeext &&
40812 $as_test_x conftest$ac_exeext; then
40813 eval wx_cv_func_$wx_func=yes
40815 echo "$as_me: failed program was:" >&5
40816 sed 's/^/| /' conftest.$ac_ext >&5
40818 eval wx_cv_func_$wx_func=no
40821 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40822 conftest$ac_exeext conftest.$ac_ext
40825 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
40826 { echo "$as_me:$LINENO: result: $ac_res" >&5
40827 echo "${ECHO_T}$ac_res" >&6; }
40829 if eval test \$wx_cv_func_$wx_func = yes
40831 cat >>confdefs.h <<_ACEOF
40832 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
40845 for ac_func in inet_addr
40847 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40848 { echo "$as_me:$LINENO: checking for $ac_func" >&5
40849 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
40850 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
40851 echo $ECHO_N "(cached) $ECHO_C" >&6
40853 cat >conftest.$ac_ext <<_ACEOF
40856 cat confdefs.h >>conftest.$ac_ext
40857 cat >>conftest.$ac_ext <<_ACEOF
40858 /* end confdefs.h. */
40859 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40860 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40861 #define $ac_func innocuous_$ac_func
40863 /* System header to define __stub macros and hopefully few prototypes,
40864 which can conflict with char $ac_func (); below.
40865 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40866 <limits.h> exists even on freestanding compilers. */
40869 # include <limits.h>
40871 # include <assert.h>
40876 /* Override any GCC internal prototype to avoid an error.
40877 Use char because int might match the return type of a GCC
40878 builtin and then its argument prototype would still apply. */
40883 /* The GNU C library defines this for functions which it implements
40884 to always fail with ENOSYS. Some functions are actually named
40885 something starting with __ and the normal name is an alias. */
40886 #if defined __stub_$ac_func || defined __stub___$ac_func
40893 return $ac_func ();
40898 rm -f conftest.$ac_objext conftest$ac_exeext
40899 if { (ac_try="$ac_link"
40900 case "(($ac_try" in
40901 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
40902 *) ac_try_echo
=$ac_try;;
40904 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40905 (eval "$ac_link") 2>conftest.er1
40907 grep -v '^ *+' conftest.er1
>conftest.err
40909 cat conftest.err
>&5
40910 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40911 (exit $ac_status); } && {
40912 test -z "$ac_c_werror_flag" ||
40913 test ! -s conftest.err
40914 } && test -s conftest
$ac_exeext &&
40915 $as_test_x conftest
$ac_exeext; then
40916 eval "$as_ac_var=yes"
40918 echo "$as_me: failed program was:" >&5
40919 sed 's/^/| /' conftest.
$ac_ext >&5
40921 eval "$as_ac_var=no"
40924 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
40925 conftest
$ac_exeext conftest.
$ac_ext
40927 ac_res
=`eval echo '${'$as_ac_var'}'`
40928 { echo "$as_me:$LINENO: result: $ac_res" >&5
40929 echo "${ECHO_T}$ac_res" >&6; }
40930 if test `eval echo '${'$as_ac_var'}'` = yes; then
40931 cat >>confdefs.h
<<_ACEOF
40932 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40934 cat >>confdefs.h
<<\_ACEOF
40935 #define HAVE_INET_ADDR 1
40940 { echo "$as_me:$LINENO: checking for inet_addr in -lnsl" >&5
40941 echo $ECHO_N "checking for inet_addr in -lnsl... $ECHO_C" >&6; }
40942 if test "${ac_cv_lib_nsl_inet_addr+set}" = set; then
40943 echo $ECHO_N "(cached) $ECHO_C" >&6
40945 ac_check_lib_save_LIBS
=$LIBS
40947 cat >conftest.
$ac_ext <<_ACEOF
40950 cat confdefs.h
>>conftest.
$ac_ext
40951 cat >>conftest.
$ac_ext <<_ACEOF
40952 /* end confdefs.h. */
40954 /* Override any GCC internal prototype to avoid an error.
40955 Use char because int might match the return type of a GCC
40956 builtin and then its argument prototype would still apply. */
40964 return inet_addr ();
40969 rm -f conftest.
$ac_objext conftest
$ac_exeext
40970 if { (ac_try
="$ac_link"
40971 case "(($ac_try" in
40972 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
40973 *) ac_try_echo=$ac_try;;
40975 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40976 (eval "$ac_link") 2>conftest.er1
40978 grep -v '^ *+' conftest.er1 >conftest.err
40980 cat conftest.err >&5
40981 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40982 (exit $ac_status); } && {
40983 test -z "$ac_c_werror_flag" ||
40984 test ! -s conftest.err
40985 } && test -s conftest$ac_exeext &&
40986 $as_test_x conftest$ac_exeext; then
40987 ac_cv_lib_nsl_inet_addr=yes
40989 echo "$as_me: failed program was:" >&5
40990 sed 's/^/| /' conftest.$ac_ext >&5
40992 ac_cv_lib_nsl_inet_addr=no
40995 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40996 conftest$ac_exeext conftest.$ac_ext
40997 LIBS=$ac_check_lib_save_LIBS
40999 { echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_inet_addr" >&5
41000 echo "${ECHO_T}$ac_cv_lib_nsl_inet_addr" >&6; }
41001 if test $ac_cv_lib_nsl_inet_addr = yes; then
41005 { echo "$as_me:$LINENO: checking for inet_addr in -lresolv" >&5
41006 echo $ECHO_N "checking for inet_addr in -lresolv... $ECHO_C" >&6; }
41007 if test "${ac_cv_lib_resolv_inet_addr+set}" = set; then
41008 echo $ECHO_N "(cached) $ECHO_C" >&6
41010 ac_check_lib_save_LIBS=$LIBS
41011 LIBS="-lresolv $LIBS"
41012 cat >conftest.$ac_ext <<_ACEOF
41015 cat confdefs.h >>conftest.$ac_ext
41016 cat >>conftest.$ac_ext <<_ACEOF
41017 /* end confdefs.h. */
41019 /* Override any GCC internal prototype to avoid an error.
41020 Use char because int might match the return type of a GCC
41021 builtin and then its argument prototype would still apply. */
41029 return inet_addr ();
41034 rm -f conftest.$ac_objext conftest$ac_exeext
41035 if { (ac_try="$ac_link"
41036 case "(($ac_try" in
41037 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
41038 *) ac_try_echo
=$ac_try;;
41040 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41041 (eval "$ac_link") 2>conftest.er1
41043 grep -v '^ *+' conftest.er1
>conftest.err
41045 cat conftest.err
>&5
41046 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41047 (exit $ac_status); } && {
41048 test -z "$ac_c_werror_flag" ||
41049 test ! -s conftest.err
41050 } && test -s conftest
$ac_exeext &&
41051 $as_test_x conftest
$ac_exeext; then
41052 ac_cv_lib_resolv_inet_addr
=yes
41054 echo "$as_me: failed program was:" >&5
41055 sed 's/^/| /' conftest.
$ac_ext >&5
41057 ac_cv_lib_resolv_inet_addr
=no
41060 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
41061 conftest
$ac_exeext conftest.
$ac_ext
41062 LIBS
=$ac_check_lib_save_LIBS
41064 { echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_inet_addr" >&5
41065 echo "${ECHO_T}$ac_cv_lib_resolv_inet_addr" >&6; }
41066 if test $ac_cv_lib_resolv_inet_addr = yes; then
41070 { echo "$as_me:$LINENO: checking for inet_addr in -lsocket" >&5
41071 echo $ECHO_N "checking for inet_addr in -lsocket... $ECHO_C" >&6; }
41072 if test "${ac_cv_lib_socket_inet_addr+set}" = set; then
41073 echo $ECHO_N "(cached) $ECHO_C" >&6
41075 ac_check_lib_save_LIBS
=$LIBS
41076 LIBS
="-lsocket $LIBS"
41077 cat >conftest.
$ac_ext <<_ACEOF
41080 cat confdefs.h
>>conftest.
$ac_ext
41081 cat >>conftest.
$ac_ext <<_ACEOF
41082 /* end confdefs.h. */
41084 /* Override any GCC internal prototype to avoid an error.
41085 Use char because int might match the return type of a GCC
41086 builtin and then its argument prototype would still apply. */
41094 return inet_addr ();
41099 rm -f conftest.
$ac_objext conftest
$ac_exeext
41100 if { (ac_try
="$ac_link"
41101 case "(($ac_try" in
41102 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
41103 *) ac_try_echo=$ac_try;;
41105 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41106 (eval "$ac_link") 2>conftest.er1
41108 grep -v '^ *+' conftest.er1 >conftest.err
41110 cat conftest.err >&5
41111 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41112 (exit $ac_status); } && {
41113 test -z "$ac_c_werror_flag" ||
41114 test ! -s conftest.err
41115 } && test -s conftest$ac_exeext &&
41116 $as_test_x conftest$ac_exeext; then
41117 ac_cv_lib_socket_inet_addr=yes
41119 echo "$as_me: failed program was:" >&5
41120 sed 's/^/| /' conftest.$ac_ext >&5
41122 ac_cv_lib_socket_inet_addr=no
41125 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41126 conftest$ac_exeext conftest.$ac_ext
41127 LIBS=$ac_check_lib_save_LIBS
41129 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_inet_addr" >&5
41130 echo "${ECHO_T}$ac_cv_lib_socket_inet_addr" >&6; }
41131 if test $ac_cv_lib_socket_inet_addr = yes; then
41151 for ac_func in inet_aton
41153 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41154 { echo "$as_me:$LINENO: checking for $ac_func" >&5
41155 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
41156 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
41157 echo $ECHO_N "(cached) $ECHO_C" >&6
41159 cat >conftest.$ac_ext <<_ACEOF
41162 cat confdefs.h >>conftest.$ac_ext
41163 cat >>conftest.$ac_ext <<_ACEOF
41164 /* end confdefs.h. */
41165 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41166 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41167 #define $ac_func innocuous_$ac_func
41169 /* System header to define __stub macros and hopefully few prototypes,
41170 which can conflict with char $ac_func (); below.
41171 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41172 <limits.h> exists even on freestanding compilers. */
41175 # include <limits.h>
41177 # include <assert.h>
41182 /* Override any GCC internal prototype to avoid an error.
41183 Use char because int might match the return type of a GCC
41184 builtin and then its argument prototype would still apply. */
41189 /* The GNU C library defines this for functions which it implements
41190 to always fail with ENOSYS. Some functions are actually named
41191 something starting with __ and the normal name is an alias. */
41192 #if defined __stub_$ac_func || defined __stub___$ac_func
41199 return $ac_func ();
41204 rm -f conftest.$ac_objext conftest$ac_exeext
41205 if { (ac_try="$ac_link"
41206 case "(($ac_try" in
41207 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
41208 *) ac_try_echo
=$ac_try;;
41210 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41211 (eval "$ac_link") 2>conftest.er1
41213 grep -v '^ *+' conftest.er1
>conftest.err
41215 cat conftest.err
>&5
41216 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41217 (exit $ac_status); } && {
41218 test -z "$ac_c_werror_flag" ||
41219 test ! -s conftest.err
41220 } && test -s conftest
$ac_exeext &&
41221 $as_test_x conftest
$ac_exeext; then
41222 eval "$as_ac_var=yes"
41224 echo "$as_me: failed program was:" >&5
41225 sed 's/^/| /' conftest.
$ac_ext >&5
41227 eval "$as_ac_var=no"
41230 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
41231 conftest
$ac_exeext conftest.
$ac_ext
41233 ac_res
=`eval echo '${'$as_ac_var'}'`
41234 { echo "$as_me:$LINENO: result: $ac_res" >&5
41235 echo "${ECHO_T}$ac_res" >&6; }
41236 if test `eval echo '${'$as_ac_var'}'` = yes; then
41237 cat >>confdefs.h
<<_ACEOF
41238 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41240 cat >>confdefs.h
<<\_ACEOF
41241 #define HAVE_INET_ATON 1
41246 as_ac_Lib
=`echo "ac_cv_lib_$INET_LINK''_inet_aton" | $as_tr_sh`
41247 { echo "$as_me:$LINENO: checking for inet_aton in -l$INET_LINK" >&5
41248 echo $ECHO_N "checking for inet_aton in -l$INET_LINK... $ECHO_C" >&6; }
41249 if { as_var
=$as_ac_Lib; eval "test \"\${$as_var+set}\" = set"; }; then
41250 echo $ECHO_N "(cached) $ECHO_C" >&6
41252 ac_check_lib_save_LIBS
=$LIBS
41253 LIBS
="-l$INET_LINK $LIBS"
41254 cat >conftest.
$ac_ext <<_ACEOF
41257 cat confdefs.h
>>conftest.
$ac_ext
41258 cat >>conftest.
$ac_ext <<_ACEOF
41259 /* end confdefs.h. */
41261 /* Override any GCC internal prototype to avoid an error.
41262 Use char because int might match the return type of a GCC
41263 builtin and then its argument prototype would still apply. */
41271 return inet_aton ();
41276 rm -f conftest.
$ac_objext conftest
$ac_exeext
41277 if { (ac_try
="$ac_link"
41278 case "(($ac_try" in
41279 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
41280 *) ac_try_echo=$ac_try;;
41282 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41283 (eval "$ac_link") 2>conftest.er1
41285 grep -v '^ *+' conftest.er1 >conftest.err
41287 cat conftest.err >&5
41288 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41289 (exit $ac_status); } && {
41290 test -z "$ac_c_werror_flag" ||
41291 test ! -s conftest.err
41292 } && test -s conftest$ac_exeext &&
41293 $as_test_x conftest$ac_exeext; then
41294 eval "$as_ac_Lib=yes"
41296 echo "$as_me: failed program was:" >&5
41297 sed 's/^/| /' conftest.$ac_ext >&5
41299 eval "$as_ac_Lib=no"
41302 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41303 conftest$ac_exeext conftest.$ac_ext
41304 LIBS=$ac_check_lib_save_LIBS
41306 ac_res=`eval echo '${'$as_ac_Lib'}'`
41307 { echo "$as_me:$LINENO: result: $ac_res" >&5
41308 echo "${ECHO_T}$ac_res" >&6; }
41309 if test `eval echo '${'$as_ac_Lib'}'` = yes; then
41310 cat >>confdefs.h <<\_ACEOF
41311 #define HAVE_INET_ATON 1
41321 if test "x$INET_LINK" != "x"; then
41322 cat >>confdefs.h <<\_ACEOF
41323 #define HAVE_INET_ADDR 1
41326 INET_LINK=" -l$INET_LINK"
41330 for wx_func in fdopen
41332 { echo "$as_me:$LINENO: checking for $wx_func" >&5
41333 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
41334 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
41335 echo $ECHO_N "(cached) $ECHO_C" >&6
41338 cat >conftest.$ac_ext <<_ACEOF
41342 cat confdefs.h >>conftest.$ac_ext
41343 cat >>conftest.$ac_ext <<_ACEOF
41344 /* end confdefs.h. */
41347 $ac_includes_default
41363 rm -f conftest.$ac_objext conftest$ac_exeext
41364 if { (ac_try="$ac_link"
41365 case "(($ac_try" in
41366 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
41367 *) ac_try_echo
=$ac_try;;
41369 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41370 (eval "$ac_link") 2>conftest.er1
41372 grep -v '^ *+' conftest.er1
>conftest.err
41374 cat conftest.err
>&5
41375 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41376 (exit $ac_status); } && {
41377 test -z "$ac_c_werror_flag" ||
41378 test ! -s conftest.err
41379 } && test -s conftest
$ac_exeext &&
41380 $as_test_x conftest
$ac_exeext; then
41381 eval wx_cv_func_
$wx_func=yes
41383 echo "$as_me: failed program was:" >&5
41384 sed 's/^/| /' conftest.
$ac_ext >&5
41386 eval wx_cv_func_
$wx_func=no
41389 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
41390 conftest
$ac_exeext conftest.
$ac_ext
41393 ac_res
=`eval echo '${'wx_cv_func_$wx_func'}'`
41394 { echo "$as_me:$LINENO: result: $ac_res" >&5
41395 echo "${ECHO_T}$ac_res" >&6; }
41397 if eval test \
$wx_cv_func_$wx_func = yes
41399 cat >>confdefs.h
<<_ACEOF
41400 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
41415 cat >confcache
<<\_ACEOF
41416 # This file is a shell script that caches the results of configure
41417 # tests run on this system so they can be shared between configure
41418 # scripts and configure runs, see configure's option --config-cache.
41419 # It is not useful on other systems. If it contains results you don't
41420 # want to keep, you may remove or edit it.
41422 # config.status only pays attention to the cache file if you give it
41423 # the --recheck option to rerun configure.
41425 # `ac_cv_env_foo' variables (set or unset) will be overridden when
41426 # loading this file, other *unset* `ac_cv_foo' will be assigned the
41427 # following values.
41431 # The following way of writing the cache mishandles newlines in values,
41432 # but we know of no workaround that is simple, portable, and efficient.
41433 # So, we kill variables containing newlines.
41434 # Ultrix sh set writes to stderr and can't be redirected directly,
41435 # and sets the high bit in the cache file unless we assign to the vars.
41437 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
41438 eval ac_val
=\$
$ac_var
41442 *_cv_
*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
41443 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
41446 _
| IFS
| as_nl
) ;; #(
41447 *) $as_unset $ac_var ;;
41453 case $as_nl`(ac_space=' '; set) 2>&1` in #(
41454 *${as_nl}ac_space
=\
*)
41455 # `set' does not quote correctly, so add quotes (double-quote
41456 # substitution turns \\\\ into \\, and sed turns \\ into \).
41459 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
41462 # `set' quotes correctly as required by POSIX, so do not add quotes.
41463 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
41472 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
41474 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
41476 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
41477 if test -w "$cache_file"; then
41478 test "x$cache_file" != "x/dev/null" &&
41479 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
41480 echo "$as_me: updating cache $cache_file" >&6;}
41481 cat confcache
>$cache_file
41483 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
41484 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
41490 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
41496 if test "$wxUSE_THREADS" = "yes" ; then
41497 if test "$USE_BEOS" = 1; then
41498 { echo "$as_me:$LINENO: WARNING: BeOS threads are not yet supported... disabled" >&5
41499 echo "$as_me: WARNING: BeOS threads are not yet supported... disabled" >&2;}
41504 if test "$wxUSE_THREADS" = "yes" ; then
41507 THREAD_OPTS
="-pthread"
41508 if test "x$SUNCXX" = xyes
; then
41509 THREAD_OPTS
="-mt lthread $THREAD_OPTS"
41513 *-*-solaris2* | *-*-sunos4* )
41514 if test "x$GCC" = "xyes"; then
41515 THREAD_OPTS
="-pthreads $THREAD_OPTS"
41519 THREAD_OPTS
="-kthread lthread $THREAD_OPTS c_r"
41521 *-*-darwin* | *-*-cygwin* )
41525 THREAD_OPTS
="pthreads"
41528 if test "x$GCC" = "xyes"; then
41529 $CXX -dumpspecs | grep 'pthread:' >/dev
/null
||
41537 if test "x$GCC" = "xyes"; then
41543 if test "x$GCC" != "xyes"; then
41544 THREAD_OPTS
="-Ethread"
41549 THREAD_OPTS
="$THREAD_OPTS pthread none"
41552 for flag
in $THREAD_OPTS; do
41555 { echo "$as_me:$LINENO: checking whether pthreads work without any flags" >&5
41556 echo $ECHO_N "checking whether pthreads work without any flags... $ECHO_C" >&6; }
41560 { echo "$as_me:$LINENO: checking whether pthreads work with $flag" >&5
41561 echo $ECHO_N "checking whether pthreads work with $flag... $ECHO_C" >&6; }
41562 THREADS_CFLAGS
="$flag"
41566 { echo "$as_me:$LINENO: checking for the pthreads library -l$flag" >&5
41567 echo $ECHO_N "checking for the pthreads library -l$flag... $ECHO_C" >&6; }
41568 THREADS_LINK
="-l$flag"
41573 save_CFLAGS
="$CFLAGS"
41574 LIBS
="$THREADS_LINK $LIBS"
41575 CFLAGS
="$THREADS_CFLAGS $CFLAGS"
41577 cat >conftest.
$ac_ext <<_ACEOF
41580 cat confdefs.h
>>conftest.
$ac_ext
41581 cat >>conftest.
$ac_ext <<_ACEOF
41582 /* end confdefs.h. */
41583 #include <pthread.h>
41587 pthread_create(0,0,0,0);
41592 rm -f conftest.
$ac_objext conftest
$ac_exeext
41593 if { (ac_try
="$ac_link"
41594 case "(($ac_try" in
41595 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
41596 *) ac_try_echo=$ac_try;;
41598 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41599 (eval "$ac_link") 2>conftest.er1
41601 grep -v '^ *+' conftest.er1 >conftest.err
41603 cat conftest.err >&5
41604 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41605 (exit $ac_status); } && {
41606 test -z "$ac_c_werror_flag" ||
41607 test ! -s conftest.err
41608 } && test -s conftest$ac_exeext &&
41609 $as_test_x conftest$ac_exeext; then
41612 echo "$as_me: failed program was:" >&5
41613 sed 's/^/| /' conftest.$ac_ext >&5
41618 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41619 conftest$ac_exeext conftest.$ac_ext
41622 CFLAGS="$save_CFLAGS"
41624 { echo "$as_me:$LINENO: result: $THREADS_OK" >&5
41625 echo "${ECHO_T}$THREADS_OK" >&6; }
41626 if test "x$THREADS_OK" = "xyes"; then
41634 if test "x$THREADS_OK" != "xyes"; then
41636 { echo "$as_me:$LINENO: WARNING: No thread support on this system... disabled" >&5
41637 echo "$as_me: WARNING: No thread support on this system... disabled" >&2;}
41639 LDFLAGS="$THREADS_CFLAGS $LDFLAGS"
41640 LIBS="$THREADS_LINK $LIBS"
41642 { echo "$as_me:$LINENO: checking if more special flags are required for pthreads" >&5
41643 echo $ECHO_N "checking if more special flags are required for pthreads... $ECHO_C" >&6; }
41647 LDFLAGS="-L/usr/lib/threads $LDFLAGS"
41648 flag="-D_THREAD_SAFE"
41651 flag="-D_THREAD_SAFE"
41654 flag="-D_REENTRANT"
41655 if test "x$GCC" != "xyes"; then
41656 flag="$flag -D_RWSTD_MULTI_THREAD"
41659 *solaris* | alpha*-osf*)
41660 flag="-D_REENTRANT"
41663 { echo "$as_me:$LINENO: result: ${flag}" >&5
41664 echo "${ECHO_T}${flag}" >&6; }
41665 if test "x$flag" != xno; then
41666 THREADS_CFLAGS="$THREADS_CFLAGS $flag"
41669 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS $THREADS_CFLAGS"
41673 if test "$wxUSE_THREADS" = "yes" ; then
41675 for ac_func in thr_setconcurrency
41677 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41678 { echo "$as_me:$LINENO: checking for $ac_func" >&5
41679 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
41680 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
41681 echo $ECHO_N "(cached) $ECHO_C" >&6
41683 cat >conftest.$ac_ext <<_ACEOF
41686 cat confdefs.h >>conftest.$ac_ext
41687 cat >>conftest.$ac_ext <<_ACEOF
41688 /* end confdefs.h. */
41689 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41690 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41691 #define $ac_func innocuous_$ac_func
41693 /* System header to define __stub macros and hopefully few prototypes,
41694 which can conflict with char $ac_func (); below.
41695 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41696 <limits.h> exists even on freestanding compilers. */
41699 # include <limits.h>
41701 # include <assert.h>
41706 /* Override any GCC internal prototype to avoid an error.
41707 Use char because int might match the return type of a GCC
41708 builtin and then its argument prototype would still apply. */
41713 /* The GNU C library defines this for functions which it implements
41714 to always fail with ENOSYS. Some functions are actually named
41715 something starting with __ and the normal name is an alias. */
41716 #if defined __stub_$ac_func || defined __stub___$ac_func
41723 return $ac_func ();
41728 rm -f conftest.$ac_objext conftest$ac_exeext
41729 if { (ac_try="$ac_link"
41730 case "(($ac_try" in
41731 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
41732 *) ac_try_echo
=$ac_try;;
41734 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41735 (eval "$ac_link") 2>conftest.er1
41737 grep -v '^ *+' conftest.er1
>conftest.err
41739 cat conftest.err
>&5
41740 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41741 (exit $ac_status); } && {
41742 test -z "$ac_c_werror_flag" ||
41743 test ! -s conftest.err
41744 } && test -s conftest
$ac_exeext &&
41745 $as_test_x conftest
$ac_exeext; then
41746 eval "$as_ac_var=yes"
41748 echo "$as_me: failed program was:" >&5
41749 sed 's/^/| /' conftest.
$ac_ext >&5
41751 eval "$as_ac_var=no"
41754 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
41755 conftest
$ac_exeext conftest.
$ac_ext
41757 ac_res
=`eval echo '${'$as_ac_var'}'`
41758 { echo "$as_me:$LINENO: result: $ac_res" >&5
41759 echo "${ECHO_T}$ac_res" >&6; }
41760 if test `eval echo '${'$as_ac_var'}'` = yes; then
41761 cat >>confdefs.h
<<_ACEOF
41762 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41769 { echo "$as_me:$LINENO: checking for pthread_cleanup_push/pop" >&5
41770 echo $ECHO_N "checking for pthread_cleanup_push/pop... $ECHO_C" >&6; }
41771 if test "${wx_cv_func_pthread_cleanup+set}" = set; then
41772 echo $ECHO_N "(cached) $ECHO_C" >&6
41776 ac_cpp
='$CXXCPP $CPPFLAGS'
41777 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41778 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41779 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
41781 cat >conftest.
$ac_ext <<_ACEOF
41784 cat confdefs.h
>>conftest.
$ac_ext
41785 cat >>conftest.
$ac_ext <<_ACEOF
41786 /* end confdefs.h. */
41787 #include <pthread.h>
41788 void ThreadCleanupFunc(void *p);
41795 pthread_cleanup_push(ThreadCleanupFunc, p);
41796 pthread_cleanup_pop(0);
41802 rm -f conftest.
$ac_objext
41803 if { (ac_try
="$ac_compile"
41804 case "(($ac_try" in
41805 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
41806 *) ac_try_echo=$ac_try;;
41808 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41809 (eval "$ac_compile") 2>conftest.er1
41811 grep -v '^ *+' conftest.er1 >conftest.err
41813 cat conftest.err >&5
41814 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41815 (exit $ac_status); } && {
41816 test -z "$ac_cxx_werror_flag" ||
41817 test ! -s conftest.err
41818 } && test -s conftest.$ac_objext; then
41820 wx_cv_func_pthread_cleanup=yes
41823 echo "$as_me: failed program was:" >&5
41824 sed 's/^/| /' conftest.$ac_ext >&5
41827 wx_cv_func_pthread_cleanup=no
41832 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41834 ac_cpp='$CPP $CPPFLAGS'
41835 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41836 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41837 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41841 { echo "$as_me:$LINENO: result: $wx_cv_func_pthread_cleanup" >&5
41842 echo "${ECHO_T}$wx_cv_func_pthread_cleanup" >&6; }
41843 if test "x$wx_cv_func_pthread_cleanup" = "xyes"; then
41844 cat >>confdefs.h <<\_ACEOF
41845 #define wxHAVE_PTHREAD_CLEANUP 1
41851 for ac_header in sched.h
41853 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
41854 { echo "$as_me:$LINENO: checking for $ac_header" >&5
41855 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
41856 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
41857 echo $ECHO_N "(cached) $ECHO_C" >&6
41859 cat >conftest.$ac_ext <<_ACEOF
41862 cat confdefs.h >>conftest.$ac_ext
41863 cat >>conftest.$ac_ext <<_ACEOF
41864 /* end confdefs.h. */
41865 $ac_includes_default
41867 #include <$ac_header>
41869 rm -f conftest.$ac_objext
41870 if { (ac_try="$ac_compile"
41871 case "(($ac_try" in
41872 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
41873 *) ac_try_echo
=$ac_try;;
41875 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41876 (eval "$ac_compile") 2>conftest.er1
41878 grep -v '^ *+' conftest.er1
>conftest.err
41880 cat conftest.err
>&5
41881 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41882 (exit $ac_status); } && {
41883 test -z "$ac_c_werror_flag" ||
41884 test ! -s conftest.err
41885 } && test -s conftest.
$ac_objext; then
41886 eval "$as_ac_Header=yes"
41888 echo "$as_me: failed program was:" >&5
41889 sed 's/^/| /' conftest.
$ac_ext >&5
41891 eval "$as_ac_Header=no"
41894 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
41896 ac_res
=`eval echo '${'$as_ac_Header'}'`
41897 { echo "$as_me:$LINENO: result: $ac_res" >&5
41898 echo "${ECHO_T}$ac_res" >&6; }
41899 if test `eval echo '${'$as_ac_Header'}'` = yes; then
41900 cat >>confdefs.h
<<_ACEOF
41901 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
41908 if test "$ac_cv_header_sched_h" = "yes"; then
41909 { echo "$as_me:$LINENO: checking for sched_yield" >&5
41910 echo $ECHO_N "checking for sched_yield... $ECHO_C" >&6; }
41911 if test "${ac_cv_func_sched_yield+set}" = set; then
41912 echo $ECHO_N "(cached) $ECHO_C" >&6
41914 cat >conftest.
$ac_ext <<_ACEOF
41917 cat confdefs.h
>>conftest.
$ac_ext
41918 cat >>conftest.
$ac_ext <<_ACEOF
41919 /* end confdefs.h. */
41920 /* Define sched_yield to an innocuous variant, in case <limits.h> declares sched_yield.
41921 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41922 #define sched_yield innocuous_sched_yield
41924 /* System header to define __stub macros and hopefully few prototypes,
41925 which can conflict with char sched_yield (); below.
41926 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41927 <limits.h> exists even on freestanding compilers. */
41930 # include <limits.h>
41932 # include <assert.h>
41937 /* Override any GCC internal prototype to avoid an error.
41938 Use char because int might match the return type of a GCC
41939 builtin and then its argument prototype would still apply. */
41943 char sched_yield ();
41944 /* The GNU C library defines this for functions which it implements
41945 to always fail with ENOSYS. Some functions are actually named
41946 something starting with __ and the normal name is an alias. */
41947 #if defined __stub_sched_yield || defined __stub___sched_yield
41954 return sched_yield ();
41959 rm -f conftest.
$ac_objext conftest
$ac_exeext
41960 if { (ac_try
="$ac_link"
41961 case "(($ac_try" in
41962 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
41963 *) ac_try_echo=$ac_try;;
41965 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41966 (eval "$ac_link") 2>conftest.er1
41968 grep -v '^ *+' conftest.er1 >conftest.err
41970 cat conftest.err >&5
41971 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41972 (exit $ac_status); } && {
41973 test -z "$ac_c_werror_flag" ||
41974 test ! -s conftest.err
41975 } && test -s conftest$ac_exeext &&
41976 $as_test_x conftest$ac_exeext; then
41977 ac_cv_func_sched_yield=yes
41979 echo "$as_me: failed program was:" >&5
41980 sed 's/^/| /' conftest.$ac_ext >&5
41982 ac_cv_func_sched_yield=no
41985 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41986 conftest$ac_exeext conftest.$ac_ext
41988 { echo "$as_me:$LINENO: result: $ac_cv_func_sched_yield" >&5
41989 echo "${ECHO_T}$ac_cv_func_sched_yield" >&6; }
41990 if test $ac_cv_func_sched_yield = yes; then
41991 cat >>confdefs.h <<\_ACEOF
41992 #define HAVE_SCHED_YIELD 1
41997 { echo "$as_me:$LINENO: checking for sched_yield in -lposix4" >&5
41998 echo $ECHO_N "checking for sched_yield in -lposix4... $ECHO_C" >&6; }
41999 if test "${ac_cv_lib_posix4_sched_yield+set}" = set; then
42000 echo $ECHO_N "(cached) $ECHO_C" >&6
42002 ac_check_lib_save_LIBS=$LIBS
42003 LIBS="-lposix4 $LIBS"
42004 cat >conftest.$ac_ext <<_ACEOF
42007 cat confdefs.h >>conftest.$ac_ext
42008 cat >>conftest.$ac_ext <<_ACEOF
42009 /* end confdefs.h. */
42011 /* Override any GCC internal prototype to avoid an error.
42012 Use char because int might match the return type of a GCC
42013 builtin and then its argument prototype would still apply. */
42017 char sched_yield ();
42021 return sched_yield ();
42026 rm -f conftest.$ac_objext conftest$ac_exeext
42027 if { (ac_try="$ac_link"
42028 case "(($ac_try" in
42029 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
42030 *) ac_try_echo
=$ac_try;;
42032 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42033 (eval "$ac_link") 2>conftest.er1
42035 grep -v '^ *+' conftest.er1
>conftest.err
42037 cat conftest.err
>&5
42038 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42039 (exit $ac_status); } && {
42040 test -z "$ac_c_werror_flag" ||
42041 test ! -s conftest.err
42042 } && test -s conftest
$ac_exeext &&
42043 $as_test_x conftest
$ac_exeext; then
42044 ac_cv_lib_posix4_sched_yield
=yes
42046 echo "$as_me: failed program was:" >&5
42047 sed 's/^/| /' conftest.
$ac_ext >&5
42049 ac_cv_lib_posix4_sched_yield
=no
42052 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
42053 conftest
$ac_exeext conftest.
$ac_ext
42054 LIBS
=$ac_check_lib_save_LIBS
42056 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_yield" >&5
42057 echo "${ECHO_T}$ac_cv_lib_posix4_sched_yield" >&6; }
42058 if test $ac_cv_lib_posix4_sched_yield = yes; then
42059 cat >>confdefs.h
<<\_ACEOF
42060 #define HAVE_SCHED_YIELD 1
42062 POSIX4_LINK
=" -lposix4"
42064 { echo "$as_me:$LINENO: WARNING: wxThread::Yield will not work properly" >&5
42065 echo "$as_me: WARNING: wxThread::Yield will not work properly" >&2;}
42076 { echo "$as_me:$LINENO: checking for pthread_attr_getschedpolicy" >&5
42077 echo $ECHO_N "checking for pthread_attr_getschedpolicy... $ECHO_C" >&6; }
42078 if test "${ac_cv_func_pthread_attr_getschedpolicy+set}" = set; then
42079 echo $ECHO_N "(cached) $ECHO_C" >&6
42081 cat >conftest.
$ac_ext <<_ACEOF
42084 cat confdefs.h
>>conftest.
$ac_ext
42085 cat >>conftest.
$ac_ext <<_ACEOF
42086 /* end confdefs.h. */
42087 /* Define pthread_attr_getschedpolicy to an innocuous variant, in case <limits.h> declares pthread_attr_getschedpolicy.
42088 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42089 #define pthread_attr_getschedpolicy innocuous_pthread_attr_getschedpolicy
42091 /* System header to define __stub macros and hopefully few prototypes,
42092 which can conflict with char pthread_attr_getschedpolicy (); below.
42093 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42094 <limits.h> exists even on freestanding compilers. */
42097 # include <limits.h>
42099 # include <assert.h>
42102 #undef pthread_attr_getschedpolicy
42104 /* Override any GCC internal prototype to avoid an error.
42105 Use char because int might match the return type of a GCC
42106 builtin and then its argument prototype would still apply. */
42110 char pthread_attr_getschedpolicy ();
42111 /* The GNU C library defines this for functions which it implements
42112 to always fail with ENOSYS. Some functions are actually named
42113 something starting with __ and the normal name is an alias. */
42114 #if defined __stub_pthread_attr_getschedpolicy || defined __stub___pthread_attr_getschedpolicy
42121 return pthread_attr_getschedpolicy ();
42126 rm -f conftest.
$ac_objext conftest
$ac_exeext
42127 if { (ac_try
="$ac_link"
42128 case "(($ac_try" in
42129 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
42130 *) ac_try_echo=$ac_try;;
42132 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42133 (eval "$ac_link") 2>conftest.er1
42135 grep -v '^ *+' conftest.er1 >conftest.err
42137 cat conftest.err >&5
42138 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42139 (exit $ac_status); } && {
42140 test -z "$ac_c_werror_flag" ||
42141 test ! -s conftest.err
42142 } && test -s conftest$ac_exeext &&
42143 $as_test_x conftest$ac_exeext; then
42144 ac_cv_func_pthread_attr_getschedpolicy=yes
42146 echo "$as_me: failed program was:" >&5
42147 sed 's/^/| /' conftest.$ac_ext >&5
42149 ac_cv_func_pthread_attr_getschedpolicy=no
42152 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42153 conftest$ac_exeext conftest.$ac_ext
42155 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_getschedpolicy" >&5
42156 echo "${ECHO_T}$ac_cv_func_pthread_attr_getschedpolicy" >&6; }
42157 if test $ac_cv_func_pthread_attr_getschedpolicy = yes; then
42158 { echo "$as_me:$LINENO: checking for pthread_attr_setschedparam" >&5
42159 echo $ECHO_N "checking for pthread_attr_setschedparam... $ECHO_C" >&6; }
42160 if test "${ac_cv_func_pthread_attr_setschedparam+set}" = set; then
42161 echo $ECHO_N "(cached) $ECHO_C" >&6
42163 cat >conftest.$ac_ext <<_ACEOF
42166 cat confdefs.h >>conftest.$ac_ext
42167 cat >>conftest.$ac_ext <<_ACEOF
42168 /* end confdefs.h. */
42169 /* Define pthread_attr_setschedparam to an innocuous variant, in case <limits.h> declares pthread_attr_setschedparam.
42170 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42171 #define pthread_attr_setschedparam innocuous_pthread_attr_setschedparam
42173 /* System header to define __stub macros and hopefully few prototypes,
42174 which can conflict with char pthread_attr_setschedparam (); below.
42175 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42176 <limits.h> exists even on freestanding compilers. */
42179 # include <limits.h>
42181 # include <assert.h>
42184 #undef pthread_attr_setschedparam
42186 /* Override any GCC internal prototype to avoid an error.
42187 Use char because int might match the return type of a GCC
42188 builtin and then its argument prototype would still apply. */
42192 char pthread_attr_setschedparam ();
42193 /* The GNU C library defines this for functions which it implements
42194 to always fail with ENOSYS. Some functions are actually named
42195 something starting with __ and the normal name is an alias. */
42196 #if defined __stub_pthread_attr_setschedparam || defined __stub___pthread_attr_setschedparam
42203 return pthread_attr_setschedparam ();
42208 rm -f conftest.$ac_objext conftest$ac_exeext
42209 if { (ac_try="$ac_link"
42210 case "(($ac_try" in
42211 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
42212 *) ac_try_echo
=$ac_try;;
42214 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42215 (eval "$ac_link") 2>conftest.er1
42217 grep -v '^ *+' conftest.er1
>conftest.err
42219 cat conftest.err
>&5
42220 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42221 (exit $ac_status); } && {
42222 test -z "$ac_c_werror_flag" ||
42223 test ! -s conftest.err
42224 } && test -s conftest
$ac_exeext &&
42225 $as_test_x conftest
$ac_exeext; then
42226 ac_cv_func_pthread_attr_setschedparam
=yes
42228 echo "$as_me: failed program was:" >&5
42229 sed 's/^/| /' conftest.
$ac_ext >&5
42231 ac_cv_func_pthread_attr_setschedparam
=no
42234 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
42235 conftest
$ac_exeext conftest.
$ac_ext
42237 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setschedparam" >&5
42238 echo "${ECHO_T}$ac_cv_func_pthread_attr_setschedparam" >&6; }
42239 if test $ac_cv_func_pthread_attr_setschedparam = yes; then
42240 { echo "$as_me:$LINENO: checking for sched_get_priority_max" >&5
42241 echo $ECHO_N "checking for sched_get_priority_max... $ECHO_C" >&6; }
42242 if test "${ac_cv_func_sched_get_priority_max+set}" = set; then
42243 echo $ECHO_N "(cached) $ECHO_C" >&6
42245 cat >conftest.
$ac_ext <<_ACEOF
42248 cat confdefs.h
>>conftest.
$ac_ext
42249 cat >>conftest.
$ac_ext <<_ACEOF
42250 /* end confdefs.h. */
42251 /* Define sched_get_priority_max to an innocuous variant, in case <limits.h> declares sched_get_priority_max.
42252 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42253 #define sched_get_priority_max innocuous_sched_get_priority_max
42255 /* System header to define __stub macros and hopefully few prototypes,
42256 which can conflict with char sched_get_priority_max (); below.
42257 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42258 <limits.h> exists even on freestanding compilers. */
42261 # include <limits.h>
42263 # include <assert.h>
42266 #undef sched_get_priority_max
42268 /* Override any GCC internal prototype to avoid an error.
42269 Use char because int might match the return type of a GCC
42270 builtin and then its argument prototype would still apply. */
42274 char sched_get_priority_max ();
42275 /* The GNU C library defines this for functions which it implements
42276 to always fail with ENOSYS. Some functions are actually named
42277 something starting with __ and the normal name is an alias. */
42278 #if defined __stub_sched_get_priority_max || defined __stub___sched_get_priority_max
42285 return sched_get_priority_max ();
42290 rm -f conftest.
$ac_objext conftest
$ac_exeext
42291 if { (ac_try
="$ac_link"
42292 case "(($ac_try" in
42293 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
42294 *) ac_try_echo=$ac_try;;
42296 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42297 (eval "$ac_link") 2>conftest.er1
42299 grep -v '^ *+' conftest.er1 >conftest.err
42301 cat conftest.err >&5
42302 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42303 (exit $ac_status); } && {
42304 test -z "$ac_c_werror_flag" ||
42305 test ! -s conftest.err
42306 } && test -s conftest$ac_exeext &&
42307 $as_test_x conftest$ac_exeext; then
42308 ac_cv_func_sched_get_priority_max=yes
42310 echo "$as_me: failed program was:" >&5
42311 sed 's/^/| /' conftest.$ac_ext >&5
42313 ac_cv_func_sched_get_priority_max=no
42316 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42317 conftest$ac_exeext conftest.$ac_ext
42319 { echo "$as_me:$LINENO: result: $ac_cv_func_sched_get_priority_max" >&5
42320 echo "${ECHO_T}$ac_cv_func_sched_get_priority_max" >&6; }
42321 if test $ac_cv_func_sched_get_priority_max = yes; then
42324 { echo "$as_me:$LINENO: checking for sched_get_priority_max in -lposix4" >&5
42325 echo $ECHO_N "checking for sched_get_priority_max in -lposix4... $ECHO_C" >&6; }
42326 if test "${ac_cv_lib_posix4_sched_get_priority_max+set}" = set; then
42327 echo $ECHO_N "(cached) $ECHO_C" >&6
42329 ac_check_lib_save_LIBS=$LIBS
42330 LIBS="-lposix4 $LIBS"
42331 cat >conftest.$ac_ext <<_ACEOF
42334 cat confdefs.h >>conftest.$ac_ext
42335 cat >>conftest.$ac_ext <<_ACEOF
42336 /* end confdefs.h. */
42338 /* Override any GCC internal prototype to avoid an error.
42339 Use char because int might match the return type of a GCC
42340 builtin and then its argument prototype would still apply. */
42344 char sched_get_priority_max ();
42348 return sched_get_priority_max ();
42353 rm -f conftest.$ac_objext conftest$ac_exeext
42354 if { (ac_try="$ac_link"
42355 case "(($ac_try" in
42356 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
42357 *) ac_try_echo
=$ac_try;;
42359 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42360 (eval "$ac_link") 2>conftest.er1
42362 grep -v '^ *+' conftest.er1
>conftest.err
42364 cat conftest.err
>&5
42365 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42366 (exit $ac_status); } && {
42367 test -z "$ac_c_werror_flag" ||
42368 test ! -s conftest.err
42369 } && test -s conftest
$ac_exeext &&
42370 $as_test_x conftest
$ac_exeext; then
42371 ac_cv_lib_posix4_sched_get_priority_max
=yes
42373 echo "$as_me: failed program was:" >&5
42374 sed 's/^/| /' conftest.
$ac_ext >&5
42376 ac_cv_lib_posix4_sched_get_priority_max
=no
42379 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
42380 conftest
$ac_exeext conftest.
$ac_ext
42381 LIBS
=$ac_check_lib_save_LIBS
42383 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_get_priority_max" >&5
42384 echo "${ECHO_T}$ac_cv_lib_posix4_sched_get_priority_max" >&6; }
42385 if test $ac_cv_lib_posix4_sched_get_priority_max = yes; then
42388 POSIX4_LINK
=" -lposix4"
42402 if test "$HAVE_PRIOR_FUNCS" = 1; then
42403 cat >>confdefs.h
<<\_ACEOF
42404 #define HAVE_THREAD_PRIORITY_FUNCTIONS 1
42408 { echo "$as_me:$LINENO: WARNING: Setting thread priority will not work" >&5
42409 echo "$as_me: WARNING: Setting thread priority will not work" >&2;}
42412 { echo "$as_me:$LINENO: checking for pthread_cancel" >&5
42413 echo $ECHO_N "checking for pthread_cancel... $ECHO_C" >&6; }
42414 if test "${ac_cv_func_pthread_cancel+set}" = set; then
42415 echo $ECHO_N "(cached) $ECHO_C" >&6
42417 cat >conftest.
$ac_ext <<_ACEOF
42420 cat confdefs.h
>>conftest.
$ac_ext
42421 cat >>conftest.
$ac_ext <<_ACEOF
42422 /* end confdefs.h. */
42423 /* Define pthread_cancel to an innocuous variant, in case <limits.h> declares pthread_cancel.
42424 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42425 #define pthread_cancel innocuous_pthread_cancel
42427 /* System header to define __stub macros and hopefully few prototypes,
42428 which can conflict with char pthread_cancel (); below.
42429 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42430 <limits.h> exists even on freestanding compilers. */
42433 # include <limits.h>
42435 # include <assert.h>
42438 #undef pthread_cancel
42440 /* Override any GCC internal prototype to avoid an error.
42441 Use char because int might match the return type of a GCC
42442 builtin and then its argument prototype would still apply. */
42446 char pthread_cancel ();
42447 /* The GNU C library defines this for functions which it implements
42448 to always fail with ENOSYS. Some functions are actually named
42449 something starting with __ and the normal name is an alias. */
42450 #if defined __stub_pthread_cancel || defined __stub___pthread_cancel
42457 return pthread_cancel ();
42462 rm -f conftest.
$ac_objext conftest
$ac_exeext
42463 if { (ac_try
="$ac_link"
42464 case "(($ac_try" in
42465 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
42466 *) ac_try_echo=$ac_try;;
42468 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42469 (eval "$ac_link") 2>conftest.er1
42471 grep -v '^ *+' conftest.er1 >conftest.err
42473 cat conftest.err >&5
42474 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42475 (exit $ac_status); } && {
42476 test -z "$ac_c_werror_flag" ||
42477 test ! -s conftest.err
42478 } && test -s conftest$ac_exeext &&
42479 $as_test_x conftest$ac_exeext; then
42480 ac_cv_func_pthread_cancel=yes
42482 echo "$as_me: failed program was:" >&5
42483 sed 's/^/| /' conftest.$ac_ext >&5
42485 ac_cv_func_pthread_cancel=no
42488 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42489 conftest$ac_exeext conftest.$ac_ext
42491 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_cancel" >&5
42492 echo "${ECHO_T}$ac_cv_func_pthread_cancel" >&6; }
42493 if test $ac_cv_func_pthread_cancel = yes; then
42494 cat >>confdefs.h <<\_ACEOF
42495 #define HAVE_PTHREAD_CANCEL 1
42499 { echo "$as_me:$LINENO: WARNING: wxThread::Kill() will not work properly" >&5
42500 echo "$as_me: WARNING: wxThread::Kill() will not work properly" >&2;}
42504 { echo "$as_me:$LINENO: checking for pthread_mutex_timedlock" >&5
42505 echo $ECHO_N "checking for pthread_mutex_timedlock... $ECHO_C" >&6; }
42506 if test "${ac_cv_func_pthread_mutex_timedlock+set}" = set; then
42507 echo $ECHO_N "(cached) $ECHO_C" >&6
42509 cat >conftest.$ac_ext <<_ACEOF
42512 cat confdefs.h >>conftest.$ac_ext
42513 cat >>conftest.$ac_ext <<_ACEOF
42514 /* end confdefs.h. */
42515 /* Define pthread_mutex_timedlock to an innocuous variant, in case <limits.h> declares pthread_mutex_timedlock.
42516 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42517 #define pthread_mutex_timedlock innocuous_pthread_mutex_timedlock
42519 /* System header to define __stub macros and hopefully few prototypes,
42520 which can conflict with char pthread_mutex_timedlock (); below.
42521 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42522 <limits.h> exists even on freestanding compilers. */
42525 # include <limits.h>
42527 # include <assert.h>
42530 #undef pthread_mutex_timedlock
42532 /* Override any GCC internal prototype to avoid an error.
42533 Use char because int might match the return type of a GCC
42534 builtin and then its argument prototype would still apply. */
42538 char pthread_mutex_timedlock ();
42539 /* The GNU C library defines this for functions which it implements
42540 to always fail with ENOSYS. Some functions are actually named
42541 something starting with __ and the normal name is an alias. */
42542 #if defined __stub_pthread_mutex_timedlock || defined __stub___pthread_mutex_timedlock
42549 return pthread_mutex_timedlock ();
42554 rm -f conftest.$ac_objext conftest$ac_exeext
42555 if { (ac_try="$ac_link"
42556 case "(($ac_try" in
42557 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
42558 *) ac_try_echo
=$ac_try;;
42560 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42561 (eval "$ac_link") 2>conftest.er1
42563 grep -v '^ *+' conftest.er1
>conftest.err
42565 cat conftest.err
>&5
42566 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42567 (exit $ac_status); } && {
42568 test -z "$ac_c_werror_flag" ||
42569 test ! -s conftest.err
42570 } && test -s conftest
$ac_exeext &&
42571 $as_test_x conftest
$ac_exeext; then
42572 ac_cv_func_pthread_mutex_timedlock
=yes
42574 echo "$as_me: failed program was:" >&5
42575 sed 's/^/| /' conftest.
$ac_ext >&5
42577 ac_cv_func_pthread_mutex_timedlock
=no
42580 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
42581 conftest
$ac_exeext conftest.
$ac_ext
42583 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_mutex_timedlock" >&5
42584 echo "${ECHO_T}$ac_cv_func_pthread_mutex_timedlock" >&6; }
42585 if test $ac_cv_func_pthread_mutex_timedlock = yes; then
42586 cat >>confdefs.h
<<\_ACEOF
42587 #define HAVE_PTHREAD_MUTEX_TIMEDLOCK 1
42591 { echo "$as_me:$LINENO: WARNING: wxMutex::LockTimeout() will not work" >&5
42592 echo "$as_me: WARNING: wxMutex::LockTimeout() will not work" >&2;}
42596 { echo "$as_me:$LINENO: checking for pthread_attr_setstacksize" >&5
42597 echo $ECHO_N "checking for pthread_attr_setstacksize... $ECHO_C" >&6; }
42598 if test "${ac_cv_func_pthread_attr_setstacksize+set}" = set; then
42599 echo $ECHO_N "(cached) $ECHO_C" >&6
42601 cat >conftest.
$ac_ext <<_ACEOF
42604 cat confdefs.h
>>conftest.
$ac_ext
42605 cat >>conftest.
$ac_ext <<_ACEOF
42606 /* end confdefs.h. */
42607 /* Define pthread_attr_setstacksize to an innocuous variant, in case <limits.h> declares pthread_attr_setstacksize.
42608 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42609 #define pthread_attr_setstacksize innocuous_pthread_attr_setstacksize
42611 /* System header to define __stub macros and hopefully few prototypes,
42612 which can conflict with char pthread_attr_setstacksize (); below.
42613 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42614 <limits.h> exists even on freestanding compilers. */
42617 # include <limits.h>
42619 # include <assert.h>
42622 #undef pthread_attr_setstacksize
42624 /* Override any GCC internal prototype to avoid an error.
42625 Use char because int might match the return type of a GCC
42626 builtin and then its argument prototype would still apply. */
42630 char pthread_attr_setstacksize ();
42631 /* The GNU C library defines this for functions which it implements
42632 to always fail with ENOSYS. Some functions are actually named
42633 something starting with __ and the normal name is an alias. */
42634 #if defined __stub_pthread_attr_setstacksize || defined __stub___pthread_attr_setstacksize
42641 return pthread_attr_setstacksize ();
42646 rm -f conftest.
$ac_objext conftest
$ac_exeext
42647 if { (ac_try
="$ac_link"
42648 case "(($ac_try" in
42649 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
42650 *) ac_try_echo=$ac_try;;
42652 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42653 (eval "$ac_link") 2>conftest.er1
42655 grep -v '^ *+' conftest.er1 >conftest.err
42657 cat conftest.err >&5
42658 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42659 (exit $ac_status); } && {
42660 test -z "$ac_c_werror_flag" ||
42661 test ! -s conftest.err
42662 } && test -s conftest$ac_exeext &&
42663 $as_test_x conftest$ac_exeext; then
42664 ac_cv_func_pthread_attr_setstacksize=yes
42666 echo "$as_me: failed program was:" >&5
42667 sed 's/^/| /' conftest.$ac_ext >&5
42669 ac_cv_func_pthread_attr_setstacksize=no
42672 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42673 conftest$ac_exeext conftest.$ac_ext
42675 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setstacksize" >&5
42676 echo "${ECHO_T}$ac_cv_func_pthread_attr_setstacksize" >&6; }
42677 if test $ac_cv_func_pthread_attr_setstacksize = yes; then
42678 cat >>confdefs.h <<\_ACEOF
42679 #define HAVE_PTHREAD_ATTR_SETSTACKSIZE 1
42686 { echo "$as_me:$LINENO: checking for pthread_mutexattr_t" >&5
42687 echo $ECHO_N "checking for pthread_mutexattr_t... $ECHO_C" >&6; }
42688 if test "${wx_cv_type_pthread_mutexattr_t+set}" = set; then
42689 echo $ECHO_N "(cached) $ECHO_C" >&6
42692 cat >conftest.$ac_ext <<_ACEOF
42695 cat confdefs.h >>conftest.$ac_ext
42696 cat >>conftest.$ac_ext <<_ACEOF
42697 /* end confdefs.h. */
42698 #include <pthread.h>
42703 pthread_mutexattr_t attr;
42704 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
42710 rm -f conftest.$ac_objext
42711 if { (ac_try="$ac_compile"
42712 case "(($ac_try" in
42713 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
42714 *) ac_try_echo
=$ac_try;;
42716 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42717 (eval "$ac_compile") 2>conftest.er1
42719 grep -v '^ *+' conftest.er1
>conftest.err
42721 cat conftest.err
>&5
42722 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42723 (exit $ac_status); } && {
42724 test -z "$ac_c_werror_flag" ||
42725 test ! -s conftest.err
42726 } && test -s conftest.
$ac_objext; then
42727 wx_cv_type_pthread_mutexattr_t
=yes
42729 echo "$as_me: failed program was:" >&5
42730 sed 's/^/| /' conftest.
$ac_ext >&5
42732 wx_cv_type_pthread_mutexattr_t
=no
42736 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
42739 { echo "$as_me:$LINENO: result: $wx_cv_type_pthread_mutexattr_t" >&5
42740 echo "${ECHO_T}$wx_cv_type_pthread_mutexattr_t" >&6; }
42742 if test "$wx_cv_type_pthread_mutexattr_t" = "yes"; then
42743 cat >>confdefs.h
<<\_ACEOF
42744 #define HAVE_PTHREAD_MUTEXATTR_T 1
42748 { echo "$as_me:$LINENO: checking for pthread_mutexattr_settype declaration" >&5
42749 echo $ECHO_N "checking for pthread_mutexattr_settype declaration... $ECHO_C" >&6; }
42750 if test "${wx_cv_func_pthread_mutexattr_settype_decl+set}" = set; then
42751 echo $ECHO_N "(cached) $ECHO_C" >&6
42754 cat >conftest.
$ac_ext <<_ACEOF
42757 cat confdefs.h
>>conftest.
$ac_ext
42758 cat >>conftest.
$ac_ext <<_ACEOF
42759 /* end confdefs.h. */
42760 #include <pthread.h>
42765 pthread_mutexattr_t attr;
42766 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
42772 rm -f conftest.
$ac_objext
42773 if { (ac_try
="$ac_compile"
42774 case "(($ac_try" in
42775 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
42776 *) ac_try_echo=$ac_try;;
42778 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42779 (eval "$ac_compile") 2>conftest.er1
42781 grep -v '^ *+' conftest.er1 >conftest.err
42783 cat conftest.err >&5
42784 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42785 (exit $ac_status); } && {
42786 test -z "$ac_c_werror_flag" ||
42787 test ! -s conftest.err
42788 } && test -s conftest.$ac_objext; then
42789 wx_cv_func_pthread_mutexattr_settype_decl=yes
42791 echo "$as_me: failed program was:" >&5
42792 sed 's/^/| /' conftest.$ac_ext >&5
42794 wx_cv_func_pthread_mutexattr_settype_decl=no
42798 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42801 { echo "$as_me:$LINENO: result: $wx_cv_func_pthread_mutexattr_settype_decl" >&5
42802 echo "${ECHO_T}$wx_cv_func_pthread_mutexattr_settype_decl" >&6; }
42803 if test "$wx_cv_func_pthread_mutexattr_settype_decl" = "yes"; then
42804 cat >>confdefs.h <<\_ACEOF
42805 #define HAVE_PTHREAD_MUTEXATTR_SETTYPE_DECL 1
42810 { echo "$as_me:$LINENO: checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER" >&5
42811 echo $ECHO_N "checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER... $ECHO_C" >&6; }
42812 if test "${wx_cv_type_pthread_rec_mutex_init+set}" = set; then
42813 echo $ECHO_N "(cached) $ECHO_C" >&6
42816 cat >conftest.$ac_ext <<_ACEOF
42819 cat confdefs.h >>conftest.$ac_ext
42820 cat >>conftest.$ac_ext <<_ACEOF
42821 /* end confdefs.h. */
42822 #include <pthread.h>
42827 pthread_mutex_t attr = PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP;
42833 rm -f conftest.$ac_objext
42834 if { (ac_try="$ac_compile"
42835 case "(($ac_try" in
42836 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
42837 *) ac_try_echo
=$ac_try;;
42839 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42840 (eval "$ac_compile") 2>conftest.er1
42842 grep -v '^ *+' conftest.er1
>conftest.err
42844 cat conftest.err
>&5
42845 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42846 (exit $ac_status); } && {
42847 test -z "$ac_c_werror_flag" ||
42848 test ! -s conftest.err
42849 } && test -s conftest.
$ac_objext; then
42851 wx_cv_type_pthread_rec_mutex_init
=yes
42854 echo "$as_me: failed program was:" >&5
42855 sed 's/^/| /' conftest.
$ac_ext >&5
42858 wx_cv_type_pthread_rec_mutex_init
=no
42863 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
42866 { echo "$as_me:$LINENO: result: $wx_cv_type_pthread_rec_mutex_init" >&5
42867 echo "${ECHO_T}$wx_cv_type_pthread_rec_mutex_init" >&6; }
42868 if test "$wx_cv_type_pthread_rec_mutex_init" = "yes"; then
42869 cat >>confdefs.h
<<\_ACEOF
42870 #define HAVE_PTHREAD_RECURSIVE_MUTEX_INITIALIZER 1
42874 { echo "$as_me:$LINENO: WARNING: wxMutex won't be recursive on this platform" >&5
42875 echo "$as_me: WARNING: wxMutex won't be recursive on this platform" >&2;}
42881 if test "$wxUSE_THREADS" = "yes" ; then
42884 { echo "$as_me:$LINENO: checking if compiler supports -mthreads" >&5
42885 echo $ECHO_N "checking if compiler supports -mthreads... $ECHO_C" >&6; }
42886 if test "${wx_cv_cflags_mthread+set}" = set; then
42887 echo $ECHO_N "(cached) $ECHO_C" >&6
42890 CFLAGS_OLD
="$CFLAGS"
42891 CFLAGS
="-mthreads $CFLAGS"
42892 cat >conftest.
$ac_ext <<_ACEOF
42895 cat confdefs.h
>>conftest.
$ac_ext
42896 cat >>conftest.
$ac_ext <<_ACEOF
42897 /* end confdefs.h. */
42907 rm -f conftest.
$ac_objext
42908 if { (ac_try
="$ac_compile"
42909 case "(($ac_try" in
42910 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
42911 *) ac_try_echo=$ac_try;;
42913 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42914 (eval "$ac_compile") 2>conftest.er1
42916 grep -v '^ *+' conftest.er1 >conftest.err
42918 cat conftest.err >&5
42919 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42920 (exit $ac_status); } && {
42921 test -z "$ac_c_werror_flag" ||
42922 test ! -s conftest.err
42923 } && test -s conftest.$ac_objext; then
42924 wx_cv_cflags_mthread=yes
42926 echo "$as_me: failed program was:" >&5
42927 sed 's/^/| /' conftest.$ac_ext >&5
42929 wx_cv_cflags_mthread=no
42933 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42937 { echo "$as_me:$LINENO: result: $wx_cv_cflags_mthread" >&5
42938 echo "${ECHO_T}$wx_cv_cflags_mthread" >&6; }
42940 if test "$wx_cv_cflags_mthread" = "yes"; then
42941 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -mthreads"
42942 LDFLAGS="$LDFLAGS -mthreads"
42944 CFLAGS="$CFLAGS_OLD"
42948 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -Zmt -D__ST_MT_ERRNO__"
42949 LDFLAGS="$LDFLAGS -Zmt"
42955 { echo "$as_me:$LINENO: checking for localtime_r" >&5
42956 echo $ECHO_N "checking for localtime_r... $ECHO_C" >&6; }
42957 if test "${ac_cv_func_localtime_r+set}" = set; then
42958 echo $ECHO_N "(cached) $ECHO_C" >&6
42960 cat >conftest.$ac_ext <<_ACEOF
42963 cat confdefs.h >>conftest.$ac_ext
42964 cat >>conftest.$ac_ext <<_ACEOF
42965 /* end confdefs.h. */
42966 /* Define localtime_r to an innocuous variant, in case <limits.h> declares localtime_r.
42967 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42968 #define localtime_r innocuous_localtime_r
42970 /* System header to define __stub macros and hopefully few prototypes,
42971 which can conflict with char localtime_r (); below.
42972 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42973 <limits.h> exists even on freestanding compilers. */
42976 # include <limits.h>
42978 # include <assert.h>
42983 /* Override any GCC internal prototype to avoid an error.
42984 Use char because int might match the return type of a GCC
42985 builtin and then its argument prototype would still apply. */
42989 char localtime_r ();
42990 /* The GNU C library defines this for functions which it implements
42991 to always fail with ENOSYS. Some functions are actually named
42992 something starting with __ and the normal name is an alias. */
42993 #if defined __stub_localtime_r || defined __stub___localtime_r
43000 return localtime_r ();
43005 rm -f conftest.$ac_objext conftest$ac_exeext
43006 if { (ac_try="$ac_link"
43007 case "(($ac_try" in
43008 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
43009 *) ac_try_echo
=$ac_try;;
43011 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43012 (eval "$ac_link") 2>conftest.er1
43014 grep -v '^ *+' conftest.er1
>conftest.err
43016 cat conftest.err
>&5
43017 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43018 (exit $ac_status); } && {
43019 test -z "$ac_c_werror_flag" ||
43020 test ! -s conftest.err
43021 } && test -s conftest
$ac_exeext &&
43022 $as_test_x conftest
$ac_exeext; then
43023 ac_cv_func_localtime_r
=yes
43025 echo "$as_me: failed program was:" >&5
43026 sed 's/^/| /' conftest.
$ac_ext >&5
43028 ac_cv_func_localtime_r
=no
43031 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
43032 conftest
$ac_exeext conftest.
$ac_ext
43034 { echo "$as_me:$LINENO: result: $ac_cv_func_localtime_r" >&5
43035 echo "${ECHO_T}$ac_cv_func_localtime_r" >&6; }
43036 if test $ac_cv_func_localtime_r = yes; then
43037 cat >>confdefs.h
<<\_ACEOF
43038 #define HAVE_LOCALTIME_R 1
43043 { echo "$as_me:$LINENO: checking for gmtime_r" >&5
43044 echo $ECHO_N "checking for gmtime_r... $ECHO_C" >&6; }
43045 if test "${ac_cv_func_gmtime_r+set}" = set; then
43046 echo $ECHO_N "(cached) $ECHO_C" >&6
43048 cat >conftest.
$ac_ext <<_ACEOF
43051 cat confdefs.h
>>conftest.
$ac_ext
43052 cat >>conftest.
$ac_ext <<_ACEOF
43053 /* end confdefs.h. */
43054 /* Define gmtime_r to an innocuous variant, in case <limits.h> declares gmtime_r.
43055 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43056 #define gmtime_r innocuous_gmtime_r
43058 /* System header to define __stub macros and hopefully few prototypes,
43059 which can conflict with char gmtime_r (); below.
43060 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43061 <limits.h> exists even on freestanding compilers. */
43064 # include <limits.h>
43066 # include <assert.h>
43071 /* Override any GCC internal prototype to avoid an error.
43072 Use char because int might match the return type of a GCC
43073 builtin and then its argument prototype would still apply. */
43078 /* The GNU C library defines this for functions which it implements
43079 to always fail with ENOSYS. Some functions are actually named
43080 something starting with __ and the normal name is an alias. */
43081 #if defined __stub_gmtime_r || defined __stub___gmtime_r
43088 return gmtime_r ();
43093 rm -f conftest.
$ac_objext conftest
$ac_exeext
43094 if { (ac_try
="$ac_link"
43095 case "(($ac_try" in
43096 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
43097 *) ac_try_echo=$ac_try;;
43099 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43100 (eval "$ac_link") 2>conftest.er1
43102 grep -v '^ *+' conftest.er1 >conftest.err
43104 cat conftest.err >&5
43105 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43106 (exit $ac_status); } && {
43107 test -z "$ac_c_werror_flag" ||
43108 test ! -s conftest.err
43109 } && test -s conftest$ac_exeext &&
43110 $as_test_x conftest$ac_exeext; then
43111 ac_cv_func_gmtime_r=yes
43113 echo "$as_me: failed program was:" >&5
43114 sed 's/^/| /' conftest.$ac_ext >&5
43116 ac_cv_func_gmtime_r=no
43119 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
43120 conftest$ac_exeext conftest.$ac_ext
43122 { echo "$as_me:$LINENO: result: $ac_cv_func_gmtime_r" >&5
43123 echo "${ECHO_T}$ac_cv_func_gmtime_r" >&6; }
43124 if test $ac_cv_func_gmtime_r = yes; then
43125 cat >>confdefs.h <<\_ACEOF
43126 #define HAVE_GMTIME_R 1
43131 { echo "$as_me:$LINENO: checking for readdir_r" >&5
43132 echo $ECHO_N "checking for readdir_r... $ECHO_C" >&6; }
43133 if test "${ac_cv_func_readdir_r+set}" = set; then
43134 echo $ECHO_N "(cached) $ECHO_C" >&6
43136 cat >conftest.$ac_ext <<_ACEOF
43139 cat confdefs.h >>conftest.$ac_ext
43140 cat >>conftest.$ac_ext <<_ACEOF
43141 /* end confdefs.h. */
43142 /* Define readdir_r to an innocuous variant, in case <limits.h> declares readdir_r.
43143 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43144 #define readdir_r innocuous_readdir_r
43146 /* System header to define __stub macros and hopefully few prototypes,
43147 which can conflict with char readdir_r (); below.
43148 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43149 <limits.h> exists even on freestanding compilers. */
43152 # include <limits.h>
43154 # include <assert.h>
43159 /* Override any GCC internal prototype to avoid an error.
43160 Use char because int might match the return type of a GCC
43161 builtin and then its argument prototype would still apply. */
43166 /* The GNU C library defines this for functions which it implements
43167 to always fail with ENOSYS. Some functions are actually named
43168 something starting with __ and the normal name is an alias. */
43169 #if defined __stub_readdir_r || defined __stub___readdir_r
43176 return readdir_r ();
43181 rm -f conftest.$ac_objext conftest$ac_exeext
43182 if { (ac_try="$ac_link"
43183 case "(($ac_try" in
43184 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
43185 *) ac_try_echo
=$ac_try;;
43187 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43188 (eval "$ac_link") 2>conftest.er1
43190 grep -v '^ *+' conftest.er1
>conftest.err
43192 cat conftest.err
>&5
43193 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43194 (exit $ac_status); } && {
43195 test -z "$ac_c_werror_flag" ||
43196 test ! -s conftest.err
43197 } && test -s conftest
$ac_exeext &&
43198 $as_test_x conftest
$ac_exeext; then
43199 ac_cv_func_readdir_r
=yes
43201 echo "$as_me: failed program was:" >&5
43202 sed 's/^/| /' conftest.
$ac_ext >&5
43204 ac_cv_func_readdir_r
=no
43207 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
43208 conftest
$ac_exeext conftest.
$ac_ext
43210 { echo "$as_me:$LINENO: result: $ac_cv_func_readdir_r" >&5
43211 echo "${ECHO_T}$ac_cv_func_readdir_r" >&6; }
43212 if test $ac_cv_func_readdir_r = yes; then
43213 cat >>confdefs.h
<<\_ACEOF
43214 #define HAVE_READDIR_R 1
43223 ac_cpp
='$CPP $CPPFLAGS'
43224 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43225 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43226 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
43228 { echo "$as_me:$LINENO: checking how many arguments gethostbyname_r() takes" >&5
43229 echo $ECHO_N "checking how many arguments gethostbyname_r() takes... $ECHO_C" >&6; }
43231 if test "${ac_cv_func_which_gethostbyname_r+set}" = set; then
43232 echo $ECHO_N "(cached) $ECHO_C" >&6
43236 ################################################################
43238 ac_cv_func_which_gethostbyname_r
=unknown
43241 # ONE ARGUMENT (sanity check)
43244 # This should fail, as there is no variant of gethostbyname_r() that takes
43245 # a single argument. If it actually compiles, then we can assume that
43246 # netdb.h is not declaring the function, and the compiler is thereby
43247 # assuming an implicit prototype. In which case, we're out of luck.
43249 cat >conftest.
$ac_ext <<_ACEOF
43252 cat confdefs.h
>>conftest.
$ac_ext
43253 cat >>conftest.
$ac_ext <<_ACEOF
43254 /* end confdefs.h. */
43260 char *name = "www.gnu.org";
43261 (void)gethostbyname_r(name) /* ; */
43267 rm -f conftest.
$ac_objext
43268 if { (ac_try
="$ac_compile"
43269 case "(($ac_try" in
43270 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
43271 *) ac_try_echo=$ac_try;;
43273 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43274 (eval "$ac_compile") 2>conftest.er1
43276 grep -v '^ *+' conftest.er1 >conftest.err
43278 cat conftest.err >&5
43279 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43280 (exit $ac_status); } && {
43281 test -z "$ac_c_werror_flag" ||
43282 test ! -s conftest.err
43283 } && test -s conftest.$ac_objext; then
43284 ac_cv_func_which_gethostbyname_r=no
43286 echo "$as_me: failed program was:" >&5
43287 sed 's/^/| /' conftest.$ac_ext >&5
43292 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43299 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
43301 cat >conftest.$ac_ext <<_ACEOF
43304 cat confdefs.h >>conftest.$ac_ext
43305 cat >>conftest.$ac_ext <<_ACEOF
43306 /* end confdefs.h. */
43312 char *name = "www.gnu.org";
43313 struct hostent ret, *retp;
43317 (void)gethostbyname_r(name, &ret, buf, buflen, &retp, &my_h_errno) /* ; */
43323 rm -f conftest.$ac_objext
43324 if { (ac_try="$ac_compile"
43325 case "(($ac_try" in
43326 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
43327 *) ac_try_echo
=$ac_try;;
43329 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43330 (eval "$ac_compile") 2>conftest.er1
43332 grep -v '^ *+' conftest.er1
>conftest.err
43334 cat conftest.err
>&5
43335 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43336 (exit $ac_status); } && {
43337 test -z "$ac_c_werror_flag" ||
43338 test ! -s conftest.err
43339 } && test -s conftest.
$ac_objext; then
43340 ac_cv_func_which_gethostbyname_r
=six
43342 echo "$as_me: failed program was:" >&5
43343 sed 's/^/| /' conftest.
$ac_ext >&5
43348 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
43357 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
43359 cat >conftest.
$ac_ext <<_ACEOF
43362 cat confdefs.h
>>conftest.
$ac_ext
43363 cat >>conftest.
$ac_ext <<_ACEOF
43364 /* end confdefs.h. */
43370 char *name = "www.gnu.org";
43371 struct hostent ret;
43375 (void)gethostbyname_r(name, &ret, buf, buflen, &my_h_errno) /* ; */
43381 rm -f conftest.
$ac_objext
43382 if { (ac_try
="$ac_compile"
43383 case "(($ac_try" in
43384 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
43385 *) ac_try_echo=$ac_try;;
43387 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43388 (eval "$ac_compile") 2>conftest.er1
43390 grep -v '^ *+' conftest.er1 >conftest.err
43392 cat conftest.err >&5
43393 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43394 (exit $ac_status); } && {
43395 test -z "$ac_c_werror_flag" ||
43396 test ! -s conftest.err
43397 } && test -s conftest.$ac_objext; then
43398 ac_cv_func_which_gethostbyname_r=five
43400 echo "$as_me: failed program was:" >&5
43401 sed 's/^/| /' conftest.$ac_ext >&5
43406 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43412 # (e.g. AIX, HP-UX, Tru64)
43415 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
43417 cat >conftest.$ac_ext <<_ACEOF
43420 cat confdefs.h >>conftest.$ac_ext
43421 cat >>conftest.$ac_ext <<_ACEOF
43422 /* end confdefs.h. */
43428 char *name = "www.gnu.org";
43429 struct hostent ret;
43430 struct hostent_data data;
43431 (void)gethostbyname_r(name, &ret, &data) /* ; */
43437 rm -f conftest.$ac_objext
43438 if { (ac_try="$ac_compile"
43439 case "(($ac_try" in
43440 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
43441 *) ac_try_echo
=$ac_try;;
43443 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43444 (eval "$ac_compile") 2>conftest.er1
43446 grep -v '^ *+' conftest.er1
>conftest.err
43448 cat conftest.err
>&5
43449 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43450 (exit $ac_status); } && {
43451 test -z "$ac_c_werror_flag" ||
43452 test ! -s conftest.err
43453 } && test -s conftest.
$ac_objext; then
43454 ac_cv_func_which_gethostbyname_r
=three
43456 echo "$as_me: failed program was:" >&5
43457 sed 's/^/| /' conftest.
$ac_ext >&5
43462 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
43466 ################################################################
43471 case "$ac_cv_func_which_gethostbyname_r" in
43473 { echo "$as_me:$LINENO: result: three" >&5
43474 echo "${ECHO_T}three" >&6; }
43475 cat >>confdefs.h
<<\_ACEOF
43476 #define HAVE_FUNC_GETHOSTBYNAME_R_3 1
43482 { echo "$as_me:$LINENO: result: five" >&5
43483 echo "${ECHO_T}five" >&6; }
43484 cat >>confdefs.h
<<\_ACEOF
43485 #define HAVE_FUNC_GETHOSTBYNAME_R_5 1
43491 { echo "$as_me:$LINENO: result: six" >&5
43492 echo "${ECHO_T}six" >&6; }
43493 cat >>confdefs.h
<<\_ACEOF
43494 #define HAVE_FUNC_GETHOSTBYNAME_R_6 1
43500 { echo "$as_me:$LINENO: result: cannot find function declaration in netdb.h" >&5
43501 echo "${ECHO_T}cannot find function declaration in netdb.h" >&6; }
43505 { echo "$as_me:$LINENO: result: can't tell" >&5
43506 echo "${ECHO_T}can't tell" >&6; }
43510 { { echo "$as_me:$LINENO: error: internal error" >&5
43511 echo "$as_me: error: internal error" >&2;}
43512 { (exit 1); exit 1; }; }
43517 ac_cpp
='$CPP $CPPFLAGS'
43518 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43519 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43520 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
43524 if test "x$ac_cv_func_which_gethostbyname_r" = "xno" -o \
43525 "x$ac_cv_func_which_gethostbyname_r" = "xunknown" ; then
43526 { echo "$as_me:$LINENO: checking for gethostbyname" >&5
43527 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6; }
43528 if test "${ac_cv_func_gethostbyname+set}" = set; then
43529 echo $ECHO_N "(cached) $ECHO_C" >&6
43531 cat >conftest.
$ac_ext <<_ACEOF
43534 cat confdefs.h
>>conftest.
$ac_ext
43535 cat >>conftest.
$ac_ext <<_ACEOF
43536 /* end confdefs.h. */
43537 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
43538 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43539 #define gethostbyname innocuous_gethostbyname
43541 /* System header to define __stub macros and hopefully few prototypes,
43542 which can conflict with char gethostbyname (); below.
43543 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43544 <limits.h> exists even on freestanding compilers. */
43547 # include <limits.h>
43549 # include <assert.h>
43552 #undef gethostbyname
43554 /* Override any GCC internal prototype to avoid an error.
43555 Use char because int might match the return type of a GCC
43556 builtin and then its argument prototype would still apply. */
43560 char gethostbyname ();
43561 /* The GNU C library defines this for functions which it implements
43562 to always fail with ENOSYS. Some functions are actually named
43563 something starting with __ and the normal name is an alias. */
43564 #if defined __stub_gethostbyname || defined __stub___gethostbyname
43571 return gethostbyname ();
43576 rm -f conftest.
$ac_objext conftest
$ac_exeext
43577 if { (ac_try
="$ac_link"
43578 case "(($ac_try" in
43579 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
43580 *) ac_try_echo=$ac_try;;
43582 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43583 (eval "$ac_link") 2>conftest.er1
43585 grep -v '^ *+' conftest.er1 >conftest.err
43587 cat conftest.err >&5
43588 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43589 (exit $ac_status); } && {
43590 test -z "$ac_c_werror_flag" ||
43591 test ! -s conftest.err
43592 } && test -s conftest$ac_exeext &&
43593 $as_test_x conftest$ac_exeext; then
43594 ac_cv_func_gethostbyname=yes
43596 echo "$as_me: failed program was:" >&5
43597 sed 's/^/| /' conftest.$ac_ext >&5
43599 ac_cv_func_gethostbyname=no
43602 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
43603 conftest$ac_exeext conftest.$ac_ext
43605 { echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
43606 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6; }
43607 if test $ac_cv_func_gethostbyname = yes; then
43608 cat >>confdefs.h <<\_ACEOF
43609 #define HAVE_GETHOSTBYNAME 1
43616 { echo "$as_me:$LINENO: checking how many arguments getservbyname_r() takes" >&5
43617 echo $ECHO_N "checking how many arguments getservbyname_r() takes... $ECHO_C" >&6; }
43618 if test "${ac_cv_func_which_getservbyname_r+set}" = set; then
43619 echo $ECHO_N "(cached) $ECHO_C" >&6
43623 ac_cpp='$CXXCPP $CPPFLAGS'
43624 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43625 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43626 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43629 cat >conftest.$ac_ext <<_ACEOF
43632 cat confdefs.h >>conftest.$ac_ext
43633 cat >>conftest.$ac_ext <<_ACEOF
43634 /* end confdefs.h. */
43642 struct servent *se, *res;
43645 (void) getservbyname_r(name, proto, se, buffer, buflen, &res)
43651 rm -f conftest.$ac_objext
43652 if { (ac_try="$ac_compile"
43653 case "(($ac_try" in
43654 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
43655 *) ac_try_echo
=$ac_try;;
43657 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43658 (eval "$ac_compile") 2>conftest.er1
43660 grep -v '^ *+' conftest.er1
>conftest.err
43662 cat conftest.err
>&5
43663 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43664 (exit $ac_status); } && {
43665 test -z "$ac_cxx_werror_flag" ||
43666 test ! -s conftest.err
43667 } && test -s conftest.
$ac_objext; then
43668 ac_cv_func_which_getservbyname_r
=six
43670 echo "$as_me: failed program was:" >&5
43671 sed 's/^/| /' conftest.
$ac_ext >&5
43674 cat >conftest.
$ac_ext <<_ACEOF
43677 cat confdefs.h
>>conftest.
$ac_ext
43678 cat >>conftest.
$ac_ext <<_ACEOF
43679 /* end confdefs.h. */
43687 struct servent *se;
43690 (void) getservbyname_r(name, proto, se, buffer, buflen)
43696 rm -f conftest.
$ac_objext
43697 if { (ac_try
="$ac_compile"
43698 case "(($ac_try" in
43699 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
43700 *) ac_try_echo=$ac_try;;
43702 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43703 (eval "$ac_compile") 2>conftest.er1
43705 grep -v '^ *+' conftest.er1 >conftest.err
43707 cat conftest.err >&5
43708 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43709 (exit $ac_status); } && {
43710 test -z "$ac_cxx_werror_flag" ||
43711 test ! -s conftest.err
43712 } && test -s conftest.$ac_objext; then
43713 ac_cv_func_which_getservbyname_r=five
43715 echo "$as_me: failed program was:" >&5
43716 sed 's/^/| /' conftest.$ac_ext >&5
43719 cat >conftest.$ac_ext <<_ACEOF
43722 cat confdefs.h >>conftest.$ac_ext
43723 cat >>conftest.$ac_ext <<_ACEOF
43724 /* end confdefs.h. */
43732 struct servent *se;
43733 struct servent_data data;
43734 (void) getservbyname_r(name, proto, se, &data);
43740 rm -f conftest.$ac_objext
43741 if { (ac_try="$ac_compile"
43742 case "(($ac_try" in
43743 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
43744 *) ac_try_echo
=$ac_try;;
43746 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43747 (eval "$ac_compile") 2>conftest.er1
43749 grep -v '^ *+' conftest.er1
>conftest.err
43751 cat conftest.err
>&5
43752 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43753 (exit $ac_status); } && {
43754 test -z "$ac_cxx_werror_flag" ||
43755 test ! -s conftest.err
43756 } && test -s conftest.
$ac_objext; then
43757 ac_cv_func_which_getservbyname_r
=four
43759 echo "$as_me: failed program was:" >&5
43760 sed 's/^/| /' conftest.
$ac_ext >&5
43762 ac_cv_func_which_getservbyname_r
=no
43766 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
43771 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
43776 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
43778 ac_cpp
='$CPP $CPPFLAGS'
43779 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43780 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43781 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
43786 { echo "$as_me:$LINENO: result: $ac_cv_func_which_getservbyname_r" >&5
43787 echo "${ECHO_T}$ac_cv_func_which_getservbyname_r" >&6; }
43789 if test $ac_cv_func_which_getservbyname_r = six
; then
43790 cat >>confdefs.h
<<\_ACEOF
43791 #define HAVE_FUNC_GETSERVBYNAME_R_6 1
43794 elif test $ac_cv_func_which_getservbyname_r = five
; then
43795 cat >>confdefs.h
<<\_ACEOF
43796 #define HAVE_FUNC_GETSERVBYNAME_R_5 1
43799 elif test $ac_cv_func_which_getservbyname_r = four
; then
43800 cat >>confdefs.h
<<\_ACEOF
43801 #define HAVE_FUNC_GETSERVBYNAME_R_4 1
43807 if test "x$ac_cv_func_which_getservbyname_r" = "xno" -o \
43808 "x$ac_cv_func_which_getservbyname_r" = "xunknown" ; then
43810 for ac_func
in getservbyname
43812 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43813 { echo "$as_me:$LINENO: checking for $ac_func" >&5
43814 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
43815 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
43816 echo $ECHO_N "(cached) $ECHO_C" >&6
43818 cat >conftest.
$ac_ext <<_ACEOF
43821 cat confdefs.h
>>conftest.
$ac_ext
43822 cat >>conftest.
$ac_ext <<_ACEOF
43823 /* end confdefs.h. */
43824 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43825 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43826 #define $ac_func innocuous_$ac_func
43828 /* System header to define __stub macros and hopefully few prototypes,
43829 which can conflict with char $ac_func (); below.
43830 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43831 <limits.h> exists even on freestanding compilers. */
43834 # include <limits.h>
43836 # include <assert.h>
43841 /* Override any GCC internal prototype to avoid an error.
43842 Use char because int might match the return type of a GCC
43843 builtin and then its argument prototype would still apply. */
43848 /* The GNU C library defines this for functions which it implements
43849 to always fail with ENOSYS. Some functions are actually named
43850 something starting with __ and the normal name is an alias. */
43851 #if defined __stub_$ac_func || defined __stub___$ac_func
43858 return $ac_func ();
43863 rm -f conftest.
$ac_objext conftest
$ac_exeext
43864 if { (ac_try
="$ac_link"
43865 case "(($ac_try" in
43866 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
43867 *) ac_try_echo=$ac_try;;
43869 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43870 (eval "$ac_link") 2>conftest.er1
43872 grep -v '^ *+' conftest.er1 >conftest.err
43874 cat conftest.err >&5
43875 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43876 (exit $ac_status); } && {
43877 test -z "$ac_c_werror_flag" ||
43878 test ! -s conftest.err
43879 } && test -s conftest$ac_exeext &&
43880 $as_test_x conftest$ac_exeext; then
43881 eval "$as_ac_var=yes"
43883 echo "$as_me: failed program was:" >&5
43884 sed 's/^/| /' conftest.$ac_ext >&5
43886 eval "$as_ac_var=no"
43889 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
43890 conftest$ac_exeext conftest.$ac_ext
43892 ac_res=`eval echo '${'$as_ac_var'}'`
43893 { echo "$as_me:$LINENO: result: $ac_res" >&5
43894 echo "${ECHO_T}$ac_res" >&6; }
43895 if test `eval echo '${'$as_ac_var'}'` = yes; then
43896 cat >>confdefs.h <<_ACEOF
43897 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43899 cat >>confdefs.h <<\_ACEOF
43900 #define HAVE_GETSERVBYNAME 1
43908 if test "$wxUSE_THREADS" = "yes"; then
43909 cat >>confdefs.h <<\_ACEOF
43910 #define wxUSE_THREADS 1
43914 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS thread"
43916 if test "$wx_cv_func_strtok_r" = "yes"; then
43917 { echo "$as_me:$LINENO: checking if -D_REENTRANT is needed" >&5
43918 echo $ECHO_N "checking if -D_REENTRANT is needed... $ECHO_C" >&6; }
43919 if test "$NEEDS_D_REENTRANT_FOR_R_FUNCS" = 1; then
43920 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_REENTRANT"
43921 { echo "$as_me:$LINENO: result: yes" >&5
43922 echo "${ECHO_T}yes" >&6; }
43924 { echo "$as_me:$LINENO: result: no" >&5
43925 echo "${ECHO_T}no" >&6; }
43930 if test "$WXGTK20" = 1 ; then
43931 cat >>confdefs.h <<_ACEOF
43932 #define __WXGTK20__ $WXGTK20
43938 if test "$WXGTK12" = 1 ; then
43939 cat >>confdefs.h <<_ACEOF
43940 #define __WXGTK12__ $WXGTK12
43945 if test "$WXGTK127" = 1 ; then
43946 cat >>confdefs.h <<_ACEOF
43947 #define __WXGTK127__ $WXGTK127
43952 if test "$WXGPE" = 1 ; then
43953 cat >>confdefs.h <<_ACEOF
43954 #define __WXGPE__ $WXGPE
43960 if test "$wxUSE_DEBUG_INFO" = "yes" ; then
43965 if test "$wxUSE_DEBUG_GDB" = "yes" ; then
43966 wxUSE_DEBUG_INFO=yes
43967 if test "$GCC" = yes; then
43968 DEBUG_CFLAGS="-ggdb"
43972 if test "$wxUSE_DEBUG_FLAG" = "yes" ; then
43973 cat >>confdefs.h <<\_ACEOF
43977 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D__WXDEBUG__"
43979 if test "$wxUSE_GTK" = 1 ; then
43980 if test "x$wxGTK_VERSION" = "x1" ; then
43981 CPPFLAGS="-DGTK_NO_CHECK_CASTS $CPPFLAGS"
43986 if test "$wxUSE_MEM_TRACING" = "yes" ; then
43987 cat >>confdefs.h <<\_ACEOF
43988 #define wxUSE_MEMORY_TRACING 1
43991 cat >>confdefs.h <<\_ACEOF
43992 #define wxUSE_GLOBAL_MEMORY_OPERATORS 1
43995 cat >>confdefs.h <<\_ACEOF
43996 #define wxUSE_DEBUG_NEW_ALWAYS 1
43999 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS memcheck"
44002 if test "$wxUSE_DMALLOC" = "yes" ; then
44003 DMALLOC_LIBS="-ldmallocthcxx"
44007 if test "$wxUSE_PROFILE" = "yes" ; then
44008 PROFILE_FLAGS=" -pg"
44011 if test "$GCC" = "yes" ; then
44012 if test "$wxUSE_NO_RTTI" = "yes" ; then
44013 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -fno-rtti"
44015 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
44016 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -fno-exceptions"
44018 if test "$wxUSE_PERMISSIVE" = "yes" ; then
44019 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -fpermissive"
44024 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -mminimal-toc"
44027 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -ffunction-sections"
44033 if test "$wxUSE_OPTIMISE" = "no" ; then
44034 if test "$GCC" = yes ; then
44035 OPTIMISE_CFLAGS="-O0"
44038 if test "$GCC" = yes ; then
44040 *-pc-os2_emx | *-pc-os2-emx )
44041 OPTIMISE_CFLAGS="-O2"
44044 OPTIMISE_CFLAGS="-O2 -fno-strict-aliasing"
44048 OPTIMISE_CFLAGS="-O"
44053 if test "x$WXWIN_COMPATIBILITY_2_6" = "xyes"; then
44054 cat >>confdefs.h <<\_ACEOF
44055 #define WXWIN_COMPATIBILITY_2_6 1
44059 WXWIN_COMPATIBILITY_2_8="yes"
44062 if test "x$WXWIN_COMPATIBILITY_2_8" != "xno"; then
44063 cat >>confdefs.h <<\_ACEOF
44064 #define WXWIN_COMPATIBILITY_2_8 1
44070 if test "$wxUSE_GUI" = "yes"; then
44071 cat >>confdefs.h <<\_ACEOF
44072 #define wxUSE_GUI 1
44079 if test "$wxUSE_UNIX" = "yes"; then
44080 cat >>confdefs.h <<\_ACEOF
44081 #define wxUSE_UNIX 1
44087 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
44091 if test "$wxUSE_DYNAMIC_LOADER" = "yes" -o "$wxUSE_DYNLIB_CLASS" = "yes" ; then
44092 if test "$USE_DARWIN" = 1; then
44094 elif test "$USE_DOS" = 1; then
44098 for ac_func in dlopen
44100 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
44101 { echo "$as_me:$LINENO: checking for $ac_func" >&5
44102 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
44103 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
44104 echo $ECHO_N "(cached) $ECHO_C" >&6
44106 cat >conftest.$ac_ext <<_ACEOF
44109 cat confdefs.h >>conftest.$ac_ext
44110 cat >>conftest.$ac_ext <<_ACEOF
44111 /* end confdefs.h. */
44112 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
44113 For example, HP-UX 11i <limits.h> declares gettimeofday. */
44114 #define $ac_func innocuous_$ac_func
44116 /* System header to define __stub macros and hopefully few prototypes,
44117 which can conflict with char $ac_func (); below.
44118 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44119 <limits.h> exists even on freestanding compilers. */
44122 # include <limits.h>
44124 # include <assert.h>
44129 /* Override any GCC internal prototype to avoid an error.
44130 Use char because int might match the return type of a GCC
44131 builtin and then its argument prototype would still apply. */
44136 /* The GNU C library defines this for functions which it implements
44137 to always fail with ENOSYS. Some functions are actually named
44138 something starting with __ and the normal name is an alias. */
44139 #if defined __stub_$ac_func || defined __stub___$ac_func
44146 return $ac_func ();
44151 rm -f conftest.$ac_objext conftest$ac_exeext
44152 if { (ac_try="$ac_link"
44153 case "(($ac_try" in
44154 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
44155 *) ac_try_echo
=$ac_try;;
44157 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44158 (eval "$ac_link") 2>conftest.er1
44160 grep -v '^ *+' conftest.er1
>conftest.err
44162 cat conftest.err
>&5
44163 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44164 (exit $ac_status); } && {
44165 test -z "$ac_c_werror_flag" ||
44166 test ! -s conftest.err
44167 } && test -s conftest
$ac_exeext &&
44168 $as_test_x conftest
$ac_exeext; then
44169 eval "$as_ac_var=yes"
44171 echo "$as_me: failed program was:" >&5
44172 sed 's/^/| /' conftest.
$ac_ext >&5
44174 eval "$as_ac_var=no"
44177 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
44178 conftest
$ac_exeext conftest.
$ac_ext
44180 ac_res
=`eval echo '${'$as_ac_var'}'`
44181 { echo "$as_me:$LINENO: result: $ac_res" >&5
44182 echo "${ECHO_T}$ac_res" >&6; }
44183 if test `eval echo '${'$as_ac_var'}'` = yes; then
44184 cat >>confdefs.h
<<_ACEOF
44185 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
44188 cat >>confdefs.h
<<\_ACEOF
44189 #define HAVE_DLOPEN 1
44196 { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
44197 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
44198 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
44199 echo $ECHO_N "(cached) $ECHO_C" >&6
44201 ac_check_lib_save_LIBS
=$LIBS
44203 cat >conftest.
$ac_ext <<_ACEOF
44206 cat confdefs.h
>>conftest.
$ac_ext
44207 cat >>conftest.
$ac_ext <<_ACEOF
44208 /* end confdefs.h. */
44210 /* Override any GCC internal prototype to avoid an error.
44211 Use char because int might match the return type of a GCC
44212 builtin and then its argument prototype would still apply. */
44225 rm -f conftest.
$ac_objext conftest
$ac_exeext
44226 if { (ac_try
="$ac_link"
44227 case "(($ac_try" in
44228 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
44229 *) ac_try_echo=$ac_try;;
44231 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44232 (eval "$ac_link") 2>conftest.er1
44234 grep -v '^ *+' conftest.er1 >conftest.err
44236 cat conftest.err >&5
44237 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44238 (exit $ac_status); } && {
44239 test -z "$ac_c_werror_flag" ||
44240 test ! -s conftest.err
44241 } && test -s conftest$ac_exeext &&
44242 $as_test_x conftest$ac_exeext; then
44243 ac_cv_lib_dl_dlopen=yes
44245 echo "$as_me: failed program was:" >&5
44246 sed 's/^/| /' conftest.$ac_ext >&5
44248 ac_cv_lib_dl_dlopen=no
44251 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
44252 conftest$ac_exeext conftest.$ac_ext
44253 LIBS=$ac_check_lib_save_LIBS
44255 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
44256 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
44257 if test $ac_cv_lib_dl_dlopen = yes; then
44259 cat >>confdefs.h <<\_ACEOF
44260 #define HAVE_DLOPEN 1
44264 DL_LINK=" -ldl$DL_LINK"
44269 for ac_func in shl_load
44271 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
44272 { echo "$as_me:$LINENO: checking for $ac_func" >&5
44273 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
44274 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
44275 echo $ECHO_N "(cached) $ECHO_C" >&6
44277 cat >conftest.$ac_ext <<_ACEOF
44280 cat confdefs.h >>conftest.$ac_ext
44281 cat >>conftest.$ac_ext <<_ACEOF
44282 /* end confdefs.h. */
44283 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
44284 For example, HP-UX 11i <limits.h> declares gettimeofday. */
44285 #define $ac_func innocuous_$ac_func
44287 /* System header to define __stub macros and hopefully few prototypes,
44288 which can conflict with char $ac_func (); below.
44289 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44290 <limits.h> exists even on freestanding compilers. */
44293 # include <limits.h>
44295 # include <assert.h>
44300 /* Override any GCC internal prototype to avoid an error.
44301 Use char because int might match the return type of a GCC
44302 builtin and then its argument prototype would still apply. */
44307 /* The GNU C library defines this for functions which it implements
44308 to always fail with ENOSYS. Some functions are actually named
44309 something starting with __ and the normal name is an alias. */
44310 #if defined __stub_$ac_func || defined __stub___$ac_func
44317 return $ac_func ();
44322 rm -f conftest.$ac_objext conftest$ac_exeext
44323 if { (ac_try="$ac_link"
44324 case "(($ac_try" in
44325 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
44326 *) ac_try_echo
=$ac_try;;
44328 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44329 (eval "$ac_link") 2>conftest.er1
44331 grep -v '^ *+' conftest.er1
>conftest.err
44333 cat conftest.err
>&5
44334 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44335 (exit $ac_status); } && {
44336 test -z "$ac_c_werror_flag" ||
44337 test ! -s conftest.err
44338 } && test -s conftest
$ac_exeext &&
44339 $as_test_x conftest
$ac_exeext; then
44340 eval "$as_ac_var=yes"
44342 echo "$as_me: failed program was:" >&5
44343 sed 's/^/| /' conftest.
$ac_ext >&5
44345 eval "$as_ac_var=no"
44348 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
44349 conftest
$ac_exeext conftest.
$ac_ext
44351 ac_res
=`eval echo '${'$as_ac_var'}'`
44352 { echo "$as_me:$LINENO: result: $ac_res" >&5
44353 echo "${ECHO_T}$ac_res" >&6; }
44354 if test `eval echo '${'$as_ac_var'}'` = yes; then
44355 cat >>confdefs.h
<<_ACEOF
44356 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
44359 cat >>confdefs.h
<<\_ACEOF
44360 #define HAVE_SHL_LOAD 1
44367 { echo "$as_me:$LINENO: checking for dld in -lshl_load" >&5
44368 echo $ECHO_N "checking for dld in -lshl_load... $ECHO_C" >&6; }
44369 if test "${ac_cv_lib_shl_load_dld+set}" = set; then
44370 echo $ECHO_N "(cached) $ECHO_C" >&6
44372 ac_check_lib_save_LIBS
=$LIBS
44373 LIBS
="-lshl_load $LIBS"
44374 cat >conftest.
$ac_ext <<_ACEOF
44377 cat confdefs.h
>>conftest.
$ac_ext
44378 cat >>conftest.
$ac_ext <<_ACEOF
44379 /* end confdefs.h. */
44381 /* Override any GCC internal prototype to avoid an error.
44382 Use char because int might match the return type of a GCC
44383 builtin and then its argument prototype would still apply. */
44396 rm -f conftest.
$ac_objext conftest
$ac_exeext
44397 if { (ac_try
="$ac_link"
44398 case "(($ac_try" in
44399 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
44400 *) ac_try_echo=$ac_try;;
44402 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44403 (eval "$ac_link") 2>conftest.er1
44405 grep -v '^ *+' conftest.er1 >conftest.err
44407 cat conftest.err >&5
44408 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44409 (exit $ac_status); } && {
44410 test -z "$ac_c_werror_flag" ||
44411 test ! -s conftest.err
44412 } && test -s conftest$ac_exeext &&
44413 $as_test_x conftest$ac_exeext; then
44414 ac_cv_lib_shl_load_dld=yes
44416 echo "$as_me: failed program was:" >&5
44417 sed 's/^/| /' conftest.$ac_ext >&5
44419 ac_cv_lib_shl_load_dld=no
44422 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
44423 conftest$ac_exeext conftest.$ac_ext
44424 LIBS=$ac_check_lib_save_LIBS
44426 { echo "$as_me:$LINENO: result: $ac_cv_lib_shl_load_dld" >&5
44427 echo "${ECHO_T}$ac_cv_lib_shl_load_dld" >&6; }
44428 if test $ac_cv_lib_shl_load_dld = yes; then
44431 DL_LINK=" -ldld$DL_LINK"
44447 if test "$HAVE_DL_FUNCS" = 1; then
44449 for ac_func in dlerror
44451 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
44452 { echo "$as_me:$LINENO: checking for $ac_func" >&5
44453 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
44454 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
44455 echo $ECHO_N "(cached) $ECHO_C" >&6
44457 cat >conftest.$ac_ext <<_ACEOF
44460 cat confdefs.h >>conftest.$ac_ext
44461 cat >>conftest.$ac_ext <<_ACEOF
44462 /* end confdefs.h. */
44463 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
44464 For example, HP-UX 11i <limits.h> declares gettimeofday. */
44465 #define $ac_func innocuous_$ac_func
44467 /* System header to define __stub macros and hopefully few prototypes,
44468 which can conflict with char $ac_func (); below.
44469 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44470 <limits.h> exists even on freestanding compilers. */
44473 # include <limits.h>
44475 # include <assert.h>
44480 /* Override any GCC internal prototype to avoid an error.
44481 Use char because int might match the return type of a GCC
44482 builtin and then its argument prototype would still apply. */
44487 /* The GNU C library defines this for functions which it implements
44488 to always fail with ENOSYS. Some functions are actually named
44489 something starting with __ and the normal name is an alias. */
44490 #if defined __stub_$ac_func || defined __stub___$ac_func
44497 return $ac_func ();
44502 rm -f conftest.$ac_objext conftest$ac_exeext
44503 if { (ac_try="$ac_link"
44504 case "(($ac_try" in
44505 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
44506 *) ac_try_echo
=$ac_try;;
44508 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44509 (eval "$ac_link") 2>conftest.er1
44511 grep -v '^ *+' conftest.er1
>conftest.err
44513 cat conftest.err
>&5
44514 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44515 (exit $ac_status); } && {
44516 test -z "$ac_c_werror_flag" ||
44517 test ! -s conftest.err
44518 } && test -s conftest
$ac_exeext &&
44519 $as_test_x conftest
$ac_exeext; then
44520 eval "$as_ac_var=yes"
44522 echo "$as_me: failed program was:" >&5
44523 sed 's/^/| /' conftest.
$ac_ext >&5
44525 eval "$as_ac_var=no"
44528 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
44529 conftest
$ac_exeext conftest.
$ac_ext
44531 ac_res
=`eval echo '${'$as_ac_var'}'`
44532 { echo "$as_me:$LINENO: result: $ac_res" >&5
44533 echo "${ECHO_T}$ac_res" >&6; }
44534 if test `eval echo '${'$as_ac_var'}'` = yes; then
44535 cat >>confdefs.h
<<_ACEOF
44536 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
44538 cat >>confdefs.h
<<\_ACEOF
44539 #define HAVE_DLERROR 1
44544 { echo "$as_me:$LINENO: checking for dlerror in -ldl" >&5
44545 echo $ECHO_N "checking for dlerror in -ldl... $ECHO_C" >&6; }
44546 if test "${ac_cv_lib_dl_dlerror+set}" = set; then
44547 echo $ECHO_N "(cached) $ECHO_C" >&6
44549 ac_check_lib_save_LIBS
=$LIBS
44551 cat >conftest.
$ac_ext <<_ACEOF
44554 cat confdefs.h
>>conftest.
$ac_ext
44555 cat >>conftest.
$ac_ext <<_ACEOF
44556 /* end confdefs.h. */
44558 /* Override any GCC internal prototype to avoid an error.
44559 Use char because int might match the return type of a GCC
44560 builtin and then its argument prototype would still apply. */
44573 rm -f conftest.
$ac_objext conftest
$ac_exeext
44574 if { (ac_try
="$ac_link"
44575 case "(($ac_try" in
44576 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
44577 *) ac_try_echo=$ac_try;;
44579 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44580 (eval "$ac_link") 2>conftest.er1
44582 grep -v '^ *+' conftest.er1 >conftest.err
44584 cat conftest.err >&5
44585 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44586 (exit $ac_status); } && {
44587 test -z "$ac_c_werror_flag" ||
44588 test ! -s conftest.err
44589 } && test -s conftest$ac_exeext &&
44590 $as_test_x conftest$ac_exeext; then
44591 ac_cv_lib_dl_dlerror=yes
44593 echo "$as_me: failed program was:" >&5
44594 sed 's/^/| /' conftest.$ac_ext >&5
44596 ac_cv_lib_dl_dlerror=no
44599 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
44600 conftest$ac_exeext conftest.$ac_ext
44601 LIBS=$ac_check_lib_save_LIBS
44603 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlerror" >&5
44604 echo "${ECHO_T}$ac_cv_lib_dl_dlerror" >&6; }
44605 if test $ac_cv_lib_dl_dlerror = yes; then
44606 cat >>confdefs.h <<\_ACEOF
44607 #define HAVE_DLERROR 1
44620 if test "$HAVE_DL_FUNCS" = 0; then
44621 if test "$HAVE_SHL_FUNCS" = 0; then
44622 if test "$USE_UNIX" = 1 -o "$USE_DOS" = 1; then
44623 { echo "$as_me:$LINENO: WARNING: Missing dynamic loading support, several features will be disabled" >&5
44624 echo "$as_me: WARNING: Missing dynamic loading support, several features will be disabled" >&2;}
44625 wxUSE_DYNAMIC_LOADER=no
44626 wxUSE_DYNLIB_CLASS=no
44628 { echo "$as_me:$LINENO: WARNING: Assuming wxLibrary class works on this platform" >&5
44629 echo "$as_me: WARNING: Assuming wxLibrary class works on this platform" >&2;}
44636 if test "$wxUSE_DYNAMIC_LOADER" = "yes" ; then
44637 cat >>confdefs.h <<\_ACEOF
44638 #define wxUSE_DYNAMIC_LOADER 1
44642 if test "$wxUSE_DYNLIB_CLASS" = "yes" ; then
44643 cat >>confdefs.h <<\_ACEOF
44644 #define wxUSE_DYNLIB_CLASS 1
44651 if test "$wxUSE_PLUGINS" = "yes" ; then
44652 if test "$wxUSE_SHARED" = "no" ; then
44653 { echo "$as_me:$LINENO: WARNING: plugins supported only in shared build, disabling" >&5
44654 echo "$as_me: WARNING: plugins supported only in shared build, disabling" >&2;}
44657 if test "$wxUSE_MONOLITHIC" = "yes" ; then
44658 { echo "$as_me:$LINENO: WARNING: plugins not supported monolithic build, disabling" >&5
44659 echo "$as_me: WARNING: plugins not supported monolithic build, disabling" >&2;}
44662 if test "$wxUSE_DYNLIB_CLASS" = "no" ; then
44663 { echo "$as_me:$LINENO: WARNING: plugins require wxDynamicLibrary, disabling" >&5
44664 echo "$as_me: WARNING: plugins require wxDynamicLibrary, disabling" >&2;}
44667 if test "$wxUSE_PLUGINS" = "yes" ; then
44668 cat >>confdefs.h <<\_ACEOF
44669 #define wxUSE_PLUGINS 1
44676 if test "$wxUSE_STL" = "yes"; then
44677 cat >>confdefs.h <<\_ACEOF
44678 #define wxUSE_STL 1
44683 if test "$wxUSE_EXTENDED_RTTI" = "yes"; then
44684 cat >>confdefs.h <<\_ACEOF
44685 #define wxUSE_EXTENDED_RTTI 1
44690 if test "$wxUSE_APPLE_IEEE" = "yes"; then
44691 cat >>confdefs.h <<\_ACEOF
44692 #define wxUSE_APPLE_IEEE 1
44697 if test "$wxUSE_TIMER" = "yes"; then
44698 cat >>confdefs.h <<\_ACEOF
44699 #define wxUSE_TIMER 1
44704 if test "$USE_UNIX" = "1" ; then
44705 if test "$wxUSE_MGL" != 1; then
44706 { echo "$as_me:$LINENO: checking for SNDCTL_DSP_SPEED in sys/soundcard.h" >&5
44707 echo $ECHO_N "checking for SNDCTL_DSP_SPEED in sys/soundcard.h... $ECHO_C" >&6; }
44708 if test "${ac_cv_header_sys_soundcard+set}" = set; then
44709 echo $ECHO_N "(cached) $ECHO_C" >&6
44712 cat >conftest.$ac_ext <<_ACEOF
44715 cat confdefs.h >>conftest.$ac_ext
44716 cat >>conftest.$ac_ext <<_ACEOF
44717 /* end confdefs.h. */
44719 #include <sys/ioctl.h>
44720 #include <sys/soundcard.h>
44726 ioctl(0, SNDCTL_DSP_SPEED, 0);
44732 rm -f conftest.$ac_objext conftest$ac_exeext
44733 if { (ac_try="$ac_link"
44734 case "(($ac_try" in
44735 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
44736 *) ac_try_echo
=$ac_try;;
44738 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44739 (eval "$ac_link") 2>conftest.er1
44741 grep -v '^ *+' conftest.er1
>conftest.err
44743 cat conftest.err
>&5
44744 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44745 (exit $ac_status); } && {
44746 test -z "$ac_c_werror_flag" ||
44747 test ! -s conftest.err
44748 } && test -s conftest
$ac_exeext &&
44749 $as_test_x conftest
$ac_exeext; then
44750 ac_cv_header_sys_soundcard
=yes
44752 echo "$as_me: failed program was:" >&5
44753 sed 's/^/| /' conftest.
$ac_ext >&5
44757 LIBS
="$saveLibs -lossaudio"
44758 cat >conftest.
$ac_ext <<_ACEOF
44761 cat confdefs.h
>>conftest.
$ac_ext
44762 cat >>conftest.
$ac_ext <<_ACEOF
44763 /* end confdefs.h. */
44765 #include <sys/ioctl.h>
44766 #include <sys/soundcard.h>
44772 ioctl(0, SNDCTL_DSP_SPEED, 0);
44778 rm -f conftest.
$ac_objext conftest
$ac_exeext
44779 if { (ac_try
="$ac_link"
44780 case "(($ac_try" in
44781 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
44782 *) ac_try_echo=$ac_try;;
44784 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44785 (eval "$ac_link") 2>conftest.er1
44787 grep -v '^ *+' conftest.er1 >conftest.err
44789 cat conftest.err >&5
44790 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44791 (exit $ac_status); } && {
44792 test -z "$ac_c_werror_flag" ||
44793 test ! -s conftest.err
44794 } && test -s conftest$ac_exeext &&
44795 $as_test_x conftest$ac_exeext; then
44796 ac_cv_header_sys_soundcard=yes
44798 echo "$as_me: failed program was:" >&5
44799 sed 's/^/| /' conftest.$ac_ext >&5
44803 ac_cv_header_sys_soundcard=no
44808 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
44809 conftest$ac_exeext conftest.$ac_ext
44814 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
44815 conftest$ac_exeext conftest.$ac_ext
44818 { echo "$as_me:$LINENO: result: $ac_cv_header_sys_soundcard" >&5
44819 echo "${ECHO_T}$ac_cv_header_sys_soundcard" >&6; }
44822 if test "$ac_cv_header_sys_soundcard" = "yes"; then
44823 cat >>confdefs.h <<\_ACEOF
44824 #define HAVE_SYS_SOUNDCARD_H 1
44831 if test "$wxUSE_SOUND" = "yes"; then
44832 if test "$USE_UNIX" = "1" ; then
44833 if test "$wxUSE_LIBSDL" != "no"; then
44835 # Check whether --with-sdl-prefix was given.
44836 if test "${with_sdl_prefix+set}" = set; then
44837 withval=$with_sdl_prefix; sdl_prefix="$withval"
44843 # Check whether --with-sdl-exec-prefix was given.
44844 if test "${with_sdl_exec_prefix+set}" = set; then
44845 withval=$with_sdl_exec_prefix; sdl_exec_prefix="$withval"
44850 # Check whether --enable-sdltest was given.
44851 if test "${enable_sdltest+set}" = set; then
44852 enableval=$enable_sdltest;
44858 if test x$sdl_exec_prefix != x ; then
44859 sdl_args="$sdl_args --exec-prefix=$sdl_exec_prefix"
44860 if test x${SDL_CONFIG+set} != xset ; then
44861 SDL_CONFIG=$sdl_exec_prefix/bin/sdl-config
44864 if test x$sdl_prefix != x ; then
44865 sdl_args="$sdl_args --prefix=$sdl_prefix"
44866 if test x${SDL_CONFIG+set} != xset ; then
44867 SDL_CONFIG=$sdl_prefix/bin/sdl-config
44871 if test "x$prefix" != xNONE; then
44872 PATH="$prefix/bin:$prefix/usr/bin:$PATH"
44874 # Extract the first word of "sdl-config", so it can be a program name with args.
44875 set dummy sdl-config; ac_word=$2
44876 { echo "$as_me:$LINENO: checking for $ac_word" >&5
44877 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
44878 if test "${ac_cv_path_SDL_CONFIG+set}" = set; then
44879 echo $ECHO_N "(cached) $ECHO_C" >&6
44881 case $SDL_CONFIG in
44883 ac_cv_path_SDL_CONFIG="$SDL_CONFIG" # Let the user override the test with a path.
44886 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
44887 for as_dir in $PATH
44890 test -z "$as_dir" && as_dir=.
44891 for ac_exec_ext in '' $ac_executable_extensions; do
44892 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
44893 ac_cv_path_SDL_CONFIG="$as_dir/$ac_word$ac_exec_ext"
44894 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
44901 test -z "$ac_cv_path_SDL_CONFIG" && ac_cv_path_SDL_CONFIG="no"
44905 SDL_CONFIG=$ac_cv_path_SDL_CONFIG
44906 if test -n "$SDL_CONFIG"; then
44907 { echo "$as_me:$LINENO: result: $SDL_CONFIG" >&5
44908 echo "${ECHO_T}$SDL_CONFIG" >&6; }
44910 { echo "$as_me:$LINENO: result: no" >&5
44911 echo "${ECHO_T}no" >&6; }
44915 min_sdl_version=1.2.0
44916 { echo "$as_me:$LINENO: checking for SDL - version >= $min_sdl_version" >&5
44917 echo $ECHO_N "checking for SDL - version >= $min_sdl_version... $ECHO_C" >&6; }
44919 if test "$SDL_CONFIG" = "no" ; then
44922 SDL_CFLAGS=`$SDL_CONFIG $sdlconf_args --cflags`
44923 SDL_LIBS=`$SDL_CONFIG $sdlconf_args --libs`
44925 sdl_major_version=`$SDL_CONFIG $sdl_args --version | \
44926 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
44927 sdl_minor_version=`$SDL_CONFIG $sdl_args --version | \
44928 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
44929 sdl_micro_version=`$SDL_CONFIG $sdl_config_args --version | \
44930 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
44931 if test "x$enable_sdltest" = "xyes" ; then
44932 ac_save_CFLAGS="$CFLAGS"
44933 ac_save_CXXFLAGS="$CXXFLAGS"
44934 ac_save_LIBS="$LIBS"
44935 CFLAGS="$CFLAGS $SDL_CFLAGS"
44936 CXXFLAGS="$CXXFLAGS $SDL_CFLAGS"
44937 LIBS="$LIBS $SDL_LIBS"
44939 if test "$cross_compiling" = yes; then
44940 echo $ac_n "cross compiling; assumed OK... $ac_c"
44942 cat >conftest.$ac_ext <<_ACEOF
44945 cat confdefs.h >>conftest.$ac_ext
44946 cat >>conftest.$ac_ext <<_ACEOF
44947 /* end confdefs.h. */
44950 #include <stdlib.h>
44951 #include <string.h>
44955 my_strdup (char *str)
44961 new_str = (char *)malloc ((strlen (str) + 1) * sizeof(char));
44962 strcpy (new_str, str);
44970 int main (int argc, char *argv[])
44972 int major, minor, micro;
44975 /* This hangs on some systems (?)
44976 system ("touch conf.sdltest");
44978 { FILE *fp = fopen("conf.sdltest", "a"); if ( fp ) fclose(fp); }
44980 /* HP/UX 9 (%@#!) writes to sscanf strings */
44981 tmp_version = my_strdup("$min_sdl_version");
44982 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
44983 printf("%s, bad version string\n", "$min_sdl_version");
44987 if (($sdl_major_version > major) ||
44988 (($sdl_major_version == major) && ($sdl_minor_version > minor)) ||
44989 (($sdl_major_version == major) && ($sdl_minor_version == minor) && ($sdl_micro_version >= micro)))
44995 printf("\n*** 'sdl-config --version' returned %d.%d.%d, but the minimum version\n", $sdl_major_version, $sdl_minor_version, $sdl_micro_version);
44996 printf("*** of SDL required is %d.%d.%d. If sdl-config is correct, then it is\n", major, minor, micro);
44997 printf("*** best to upgrade to the required version.\n");
44998 printf("*** If sdl-config was wrong, set the environment variable SDL_CONFIG\n");
44999 printf("*** to point to the correct copy of sdl-config, and remove the file\n");
45000 printf("*** config.cache before re-running configure\n");
45007 rm -f conftest$ac_exeext
45008 if { (ac_try="$ac_link"
45009 case "(($ac_try" in
45010 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
45011 *) ac_try_echo
=$ac_try;;
45013 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45014 (eval "$ac_link") 2>&5
45016 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45017 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
45018 { (case "(($ac_try" in
45019 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
45020 *) ac_try_echo=$ac_try;;
45022 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45023 (eval "$ac_try") 2>&5
45025 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45026 (exit $ac_status); }; }; then
45029 echo "$as_me: program exited with status $ac_status" >&5
45030 echo "$as_me: failed program was:" >&5
45031 sed 's/^/| /' conftest.$ac_ext >&5
45033 ( exit $ac_status )
45036 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
45040 CFLAGS="$ac_save_CFLAGS"
45041 CXXFLAGS="$ac_save_CXXFLAGS"
45042 LIBS="$ac_save_LIBS"
45045 if test "x$no_sdl" = x ; then
45046 { echo "$as_me:$LINENO: result: yes" >&5
45047 echo "${ECHO_T}yes" >&6; }
45049 EXTRALIBS_SDL="$SDL_LIBS"
45050 CFLAGS="$SDL_CFLAGS $CFLAGS"
45051 CXXFLAGS="$SDL_CFLAGS $CXXFLAGS"
45052 cat >>confdefs.h <<\_ACEOF
45053 #define wxUSE_LIBSDL 1
45058 { echo "$as_me:$LINENO: result: no" >&5
45059 echo "${ECHO_T}no" >&6; }
45060 if test "$SDL_CONFIG" = "no" ; then
45061 echo "*** The sdl-config script installed by SDL could not be found"
45062 echo "*** If SDL was installed in PREFIX, make sure PREFIX/bin is in"
45063 echo "*** your path, or set the SDL_CONFIG environment variable to the"
45064 echo "*** full path to sdl-config."
45066 if test -f conf.sdltest ; then
45069 echo "*** Could not run SDL test program, checking why..."
45070 CFLAGS="$CFLAGS $SDL_CFLAGS"
45071 CXXFLAGS="$CXXFLAGS $SDL_CFLAGS"
45072 LIBS="$LIBS $SDL_LIBS"
45073 cat >conftest.$ac_ext <<_ACEOF
45076 cat confdefs.h >>conftest.$ac_ext
45077 cat >>conftest.$ac_ext <<_ACEOF
45078 /* end confdefs.h. */
45083 int main(int argc, char *argv[])
45086 #define main K_and_R_C_main
45096 rm -f conftest.$ac_objext conftest$ac_exeext
45097 if { (ac_try="$ac_link"
45098 case "(($ac_try" in
45099 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
45100 *) ac_try_echo
=$ac_try;;
45102 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45103 (eval "$ac_link") 2>conftest.er1
45105 grep -v '^ *+' conftest.er1
>conftest.err
45107 cat conftest.err
>&5
45108 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45109 (exit $ac_status); } && {
45110 test -z "$ac_c_werror_flag" ||
45111 test ! -s conftest.err
45112 } && test -s conftest
$ac_exeext &&
45113 $as_test_x conftest
$ac_exeext; then
45114 echo "*** The test program compiled, but did not run. This usually means"
45115 echo "*** that the run-time linker is not finding SDL or finding the wrong"
45116 echo "*** version of SDL. If it is not finding SDL, you'll need to set your"
45117 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
45118 echo "*** to the installed location Also, make sure you have run ldconfig if that"
45119 echo "*** is required on your system"
45121 echo "*** If you have an old version installed, it is best to remove it, although"
45122 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
45124 echo "$as_me: failed program was:" >&5
45125 sed 's/^/| /' conftest.
$ac_ext >&5
45127 echo "*** The test program failed to compile or link. See the file config.log for the"
45128 echo "*** exact error that occured. This usually means SDL was incorrectly installed"
45129 echo "*** or that you have moved SDL since it was installed. In the latter case, you"
45130 echo "*** may want to edit the sdl-config script: $SDL_CONFIG"
45133 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
45134 conftest
$ac_exeext conftest.
$ac_ext
45135 CFLAGS
="$ac_save_CFLAGS"
45136 CXXFLAGS
="$ac_save_CXXFLAGS"
45137 LIBS
="$ac_save_LIBS"
45148 if test "$wxUSE_LIBSDL" = "yes" -a "$wxUSE_PLUGINS" = "yes" ; then
45153 if test "$wxUSE_MGL" = 1; then
45154 { echo "$as_me:$LINENO: WARNING: wxSound not supported in MGL under DOS... disabled" >&5
45155 echo "$as_me: WARNING: wxSound not supported in MGL under DOS... disabled" >&2;}
45161 if test "$wxUSE_SOUND" = "yes"; then
45162 cat >>confdefs.h
<<\_ACEOF
45163 #define wxUSE_SOUND 1
45166 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS sound"
45169 if test "$WXGTK20" = 1; then
45172 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
45173 if test -n "$ac_tool_prefix"; then
45174 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
45175 set dummy
${ac_tool_prefix}pkg
-config; ac_word
=$2
45176 { echo "$as_me:$LINENO: checking for $ac_word" >&5
45177 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
45178 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
45179 echo $ECHO_N "(cached) $ECHO_C" >&6
45181 case $PKG_CONFIG in
45183 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
45186 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
45187 for as_dir
in $PATH
45190 test -z "$as_dir" && as_dir
=.
45191 for ac_exec_ext
in '' $ac_executable_extensions; do
45192 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
45193 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
45194 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
45204 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
45205 if test -n "$PKG_CONFIG"; then
45206 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
45207 echo "${ECHO_T}$PKG_CONFIG" >&6; }
45209 { echo "$as_me:$LINENO: result: no" >&5
45210 echo "${ECHO_T}no" >&6; }
45215 if test -z "$ac_cv_path_PKG_CONFIG"; then
45216 ac_pt_PKG_CONFIG
=$PKG_CONFIG
45217 # Extract the first word of "pkg-config", so it can be a program name with args.
45218 set dummy pkg
-config; ac_word
=$2
45219 { echo "$as_me:$LINENO: checking for $ac_word" >&5
45220 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
45221 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
45222 echo $ECHO_N "(cached) $ECHO_C" >&6
45224 case $ac_pt_PKG_CONFIG in
45226 ac_cv_path_ac_pt_PKG_CONFIG
="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
45229 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
45230 for as_dir
in $PATH
45233 test -z "$as_dir" && as_dir
=.
45234 for ac_exec_ext
in '' $ac_executable_extensions; do
45235 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
45236 ac_cv_path_ac_pt_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
45237 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
45247 ac_pt_PKG_CONFIG
=$ac_cv_path_ac_pt_PKG_CONFIG
45248 if test -n "$ac_pt_PKG_CONFIG"; then
45249 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
45250 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
45252 { echo "$as_me:$LINENO: result: no" >&5
45253 echo "${ECHO_T}no" >&6; }
45256 if test "x$ac_pt_PKG_CONFIG" = x
; then
45259 case $cross_compiling:$ac_tool_warned in
45261 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
45262 whose name does not start with the host triplet. If you think this
45263 configuration is useful to you, please write to autoconf@gnu.org." >&5
45264 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
45265 whose name does not start with the host triplet. If you think this
45266 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
45267 ac_tool_warned
=yes ;;
45269 PKG_CONFIG
=$ac_pt_PKG_CONFIG
45272 PKG_CONFIG
="$ac_cv_path_PKG_CONFIG"
45276 if test -n "$PKG_CONFIG"; then
45277 _pkg_min_version
=0.9.0
45278 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
45279 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
45280 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
45281 { echo "$as_me:$LINENO: result: yes" >&5
45282 echo "${ECHO_T}yes" >&6; }
45284 { echo "$as_me:$LINENO: result: no" >&5
45285 echo "${ECHO_T}no" >&6; }
45291 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
45292 if test "$wxUSE_LIBGNOMEPRINT" = "yes" ; then
45296 { echo "$as_me:$LINENO: checking for LIBGNOMEPRINTUI" >&5
45297 echo $ECHO_N "checking for LIBGNOMEPRINTUI... $ECHO_C" >&6; }
45299 if test -n "$PKG_CONFIG"; then
45300 if test -n "$LIBGNOMEPRINTUI_CFLAGS"; then
45301 pkg_cv_LIBGNOMEPRINTUI_CFLAGS
="$LIBGNOMEPRINTUI_CFLAGS"
45303 if test -n "$PKG_CONFIG" && \
45304 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libgnomeprintui-2.2 >= 2.8\"") >&5
45305 ($PKG_CONFIG --exists --print-errors "libgnomeprintui-2.2 >= 2.8") 2>&5
45307 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45308 (exit $ac_status); }; then
45309 pkg_cv_LIBGNOMEPRINTUI_CFLAGS
=`$PKG_CONFIG --cflags "libgnomeprintui-2.2 >= 2.8" 2>/dev/null`
45317 if test -n "$PKG_CONFIG"; then
45318 if test -n "$LIBGNOMEPRINTUI_LIBS"; then
45319 pkg_cv_LIBGNOMEPRINTUI_LIBS
="$LIBGNOMEPRINTUI_LIBS"
45321 if test -n "$PKG_CONFIG" && \
45322 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libgnomeprintui-2.2 >= 2.8\"") >&5
45323 ($PKG_CONFIG --exists --print-errors "libgnomeprintui-2.2 >= 2.8") 2>&5
45325 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45326 (exit $ac_status); }; then
45327 pkg_cv_LIBGNOMEPRINTUI_LIBS
=`$PKG_CONFIG --libs "libgnomeprintui-2.2 >= 2.8" 2>/dev/null`
45338 if test $pkg_failed = yes; then
45340 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
45341 _pkg_short_errors_supported
=yes
45343 _pkg_short_errors_supported
=no
45345 if test $_pkg_short_errors_supported = yes; then
45346 LIBGNOMEPRINTUI_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libgnomeprintui-2.2 >= 2.8"`
45348 LIBGNOMEPRINTUI_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "libgnomeprintui-2.2 >= 2.8"`
45350 # Put the nasty error message in config.log where it belongs
45351 echo "$LIBGNOMEPRINTUI_PKG_ERRORS" >&5
45354 { echo "$as_me:$LINENO: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&5
45355 echo "$as_me: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&2;}
45356 wxUSE_LIBGNOMEPRINT
="no"
45359 elif test $pkg_failed = untried
; then
45361 { echo "$as_me:$LINENO: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&5
45362 echo "$as_me: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&2;}
45363 wxUSE_LIBGNOMEPRINT
="no"
45367 LIBGNOMEPRINTUI_CFLAGS
=$pkg_cv_LIBGNOMEPRINTUI_CFLAGS
45368 LIBGNOMEPRINTUI_LIBS
=$pkg_cv_LIBGNOMEPRINTUI_LIBS
45369 { echo "$as_me:$LINENO: result: yes" >&5
45370 echo "${ECHO_T}yes" >&6; }
45372 CFLAGS
="$LIBGNOMEPRINTUI_CFLAGS $CFLAGS"
45373 CXXFLAGS
="$LIBGNOMEPRINTUI_CFLAGS $CXXFLAGS"
45374 cat >>confdefs.h
<<\_ACEOF
45375 #define wxUSE_LIBGNOMEPRINT 1
45383 if test "$wxUSE_MIMETYPE" = "yes" ; then
45384 if test "$wxUSE_LIBGNOMEVFS" = "yes" ; then
45388 { echo "$as_me:$LINENO: checking for GNOMEVFS" >&5
45389 echo $ECHO_N "checking for GNOMEVFS... $ECHO_C" >&6; }
45391 if test -n "$PKG_CONFIG"; then
45392 if test -n "$GNOMEVFS_CFLAGS"; then
45393 pkg_cv_GNOMEVFS_CFLAGS
="$GNOMEVFS_CFLAGS"
45395 if test -n "$PKG_CONFIG" && \
45396 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gnome-vfs-2.0 >= 2.0\"") >&5
45397 ($PKG_CONFIG --exists --print-errors "gnome-vfs-2.0 >= 2.0") 2>&5
45399 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45400 (exit $ac_status); }; then
45401 pkg_cv_GNOMEVFS_CFLAGS
=`$PKG_CONFIG --cflags "gnome-vfs-2.0 >= 2.0" 2>/dev/null`
45409 if test -n "$PKG_CONFIG"; then
45410 if test -n "$GNOMEVFS_LIBS"; then
45411 pkg_cv_GNOMEVFS_LIBS
="$GNOMEVFS_LIBS"
45413 if test -n "$PKG_CONFIG" && \
45414 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gnome-vfs-2.0 >= 2.0\"") >&5
45415 ($PKG_CONFIG --exists --print-errors "gnome-vfs-2.0 >= 2.0") 2>&5
45417 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45418 (exit $ac_status); }; then
45419 pkg_cv_GNOMEVFS_LIBS
=`$PKG_CONFIG --libs "gnome-vfs-2.0 >= 2.0" 2>/dev/null`
45430 if test $pkg_failed = yes; then
45432 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
45433 _pkg_short_errors_supported
=yes
45435 _pkg_short_errors_supported
=no
45437 if test $_pkg_short_errors_supported = yes; then
45438 GNOMEVFS_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gnome-vfs-2.0 >= 2.0"`
45440 GNOMEVFS_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "gnome-vfs-2.0 >= 2.0"`
45442 # Put the nasty error message in config.log where it belongs
45443 echo "$GNOMEVFS_PKG_ERRORS" >&5
45446 { echo "$as_me:$LINENO: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&5
45447 echo "$as_me: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&2;}
45448 wxUSE_LIBGNOMEVFS
="no"
45451 elif test $pkg_failed = untried
; then
45453 { echo "$as_me:$LINENO: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&5
45454 echo "$as_me: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&2;}
45455 wxUSE_LIBGNOMEVFS
="no"
45459 GNOMEVFS_CFLAGS
=$pkg_cv_GNOMEVFS_CFLAGS
45460 GNOMEVFS_LIBS
=$pkg_cv_GNOMEVFS_LIBS
45461 { echo "$as_me:$LINENO: result: yes" >&5
45462 echo "${ECHO_T}yes" >&6; }
45464 CFLAGS
="$GNOMEVFS_CFLAGS $CFLAGS"
45465 CXXFLAGS
="$GNOMEVFS_CFLAGS $CXXFLAGS"
45466 cat >>confdefs.h
<<\_ACEOF
45467 #define wxUSE_LIBGNOMEVFS 1
45475 if test "$wxUSE_LIBHILDON" = "yes" ; then
45478 { echo "$as_me:$LINENO: checking for HILDON" >&5
45479 echo $ECHO_N "checking for HILDON... $ECHO_C" >&6; }
45481 if test -n "$PKG_CONFIG"; then
45482 if test -n "$HILDON_CFLAGS"; then
45483 pkg_cv_HILDON_CFLAGS
="$HILDON_CFLAGS"
45485 if test -n "$PKG_CONFIG" && \
45486 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-lgpl >= 0.9\"") >&5
45487 ($PKG_CONFIG --exists --print-errors "hildon-lgpl >= 0.9") 2>&5
45489 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45490 (exit $ac_status); }; then
45491 pkg_cv_HILDON_CFLAGS
=`$PKG_CONFIG --cflags "hildon-lgpl >= 0.9" 2>/dev/null`
45499 if test -n "$PKG_CONFIG"; then
45500 if test -n "$HILDON_LIBS"; then
45501 pkg_cv_HILDON_LIBS
="$HILDON_LIBS"
45503 if test -n "$PKG_CONFIG" && \
45504 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-lgpl >= 0.9\"") >&5
45505 ($PKG_CONFIG --exists --print-errors "hildon-lgpl >= 0.9") 2>&5
45507 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45508 (exit $ac_status); }; then
45509 pkg_cv_HILDON_LIBS
=`$PKG_CONFIG --libs "hildon-lgpl >= 0.9" 2>/dev/null`
45520 if test $pkg_failed = yes; then
45522 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
45523 _pkg_short_errors_supported
=yes
45525 _pkg_short_errors_supported
=no
45527 if test $_pkg_short_errors_supported = yes; then
45528 HILDON_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "hildon-lgpl >= 0.9"`
45530 HILDON_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "hildon-lgpl >= 0.9"`
45532 # Put the nasty error message in config.log where it belongs
45533 echo "$HILDON_PKG_ERRORS" >&5
45536 { echo "$as_me:$LINENO: WARNING: libhildon_lgpl not found" >&5
45537 echo "$as_me: WARNING: libhildon_lgpl not found" >&2;}
45538 wxUSE_LIBHILDON
="no"
45541 elif test $pkg_failed = untried
; then
45543 { echo "$as_me:$LINENO: WARNING: libhildon_lgpl not found" >&5
45544 echo "$as_me: WARNING: libhildon_lgpl not found" >&2;}
45545 wxUSE_LIBHILDON
="no"
45549 HILDON_CFLAGS
=$pkg_cv_HILDON_CFLAGS
45550 HILDON_LIBS
=$pkg_cv_HILDON_LIBS
45551 { echo "$as_me:$LINENO: result: yes" >&5
45552 echo "${ECHO_T}yes" >&6; }
45554 EXTRALIBS_HILDON
="$HILDON_LIBS"
45555 CFLAGS
="$CFLAGS $HILDON_CFLAGS"
45556 CXXFLAGS
="$CXXFLAGS $HILDON_CFLAGS"
45557 cat >>confdefs.h
<<\_ACEOF
45558 #define wxUSE_LIBHILDON 1
45566 if test "$wxUSE_CMDLINE_PARSER" = "yes"; then
45567 cat >>confdefs.h
<<\_ACEOF
45568 #define wxUSE_CMDLINE_PARSER 1
45573 if test "$wxUSE_STOPWATCH" = "yes"; then
45574 cat >>confdefs.h
<<\_ACEOF
45575 #define wxUSE_STOPWATCH 1
45580 if test "$wxUSE_DATETIME" = "yes"; then
45581 cat >>confdefs.h
<<\_ACEOF
45582 #define wxUSE_DATETIME 1
45587 if test "$wxUSE_FILE" = "yes"; then
45588 cat >>confdefs.h
<<\_ACEOF
45589 #define wxUSE_FILE 1
45594 if test "$wxUSE_FFILE" = "yes"; then
45595 cat >>confdefs.h
<<\_ACEOF
45596 #define wxUSE_FFILE 1
45601 if test "$wxUSE_ARCHIVE_STREAMS" = "yes"; then
45602 if test "$wxUSE_STREAMS" != yes; then
45603 { echo "$as_me:$LINENO: WARNING: wxArchive requires wxStreams... disabled" >&5
45604 echo "$as_me: WARNING: wxArchive requires wxStreams... disabled" >&2;}
45605 wxUSE_ARCHIVE_STREAMS
=no
45607 cat >>confdefs.h
<<\_ACEOF
45608 #define wxUSE_ARCHIVE_STREAMS 1
45614 if test "$wxUSE_ZIPSTREAM" = "yes"; then
45615 if test "$wxUSE_ARCHIVE_STREAMS" != "yes"; then
45616 { echo "$as_me:$LINENO: WARNING: wxZip requires wxArchive... disabled" >&5
45617 echo "$as_me: WARNING: wxZip requires wxArchive... disabled" >&2;}
45618 elif test "$wxUSE_ZLIB" = "no"; then
45619 { echo "$as_me:$LINENO: WARNING: wxZip requires wxZlib... disabled" >&5
45620 echo "$as_me: WARNING: wxZip requires wxZlib... disabled" >&2;}
45622 cat >>confdefs.h
<<\_ACEOF
45623 #define wxUSE_ZIPSTREAM 1
45629 if test "$wxUSE_TARSTREAM" = "yes"; then
45630 if test "$wxUSE_ARCHIVE_STREAMS" != "yes"; then
45631 { echo "$as_me:$LINENO: WARNING: wxTar requires wxArchive... disabled" >&5
45632 echo "$as_me: WARNING: wxTar requires wxArchive... disabled" >&2;}
45634 cat >>confdefs.h
<<\_ACEOF
45635 #define wxUSE_TARSTREAM 1
45641 if test "$wxUSE_FILESYSTEM" = "yes"; then
45642 if test "$wxUSE_STREAMS" != yes -o \
( "$wxUSE_FILE" != yes -a "$wxUSE_FFILE" != yes \
); then
45643 { echo "$as_me:$LINENO: WARNING: wxFileSystem requires wxStreams and wxFile or wxFFile... disabled" >&5
45644 echo "$as_me: WARNING: wxFileSystem requires wxStreams and wxFile or wxFFile... disabled" >&2;}
45645 wxUSE_FILESYSTEM
=no
45647 cat >>confdefs.h
<<\_ACEOF
45648 #define wxUSE_FILESYSTEM 1
45654 if test "$wxUSE_FS_ARCHIVE" = "yes"; then
45655 if test "$wxUSE_FILESYSTEM" != yes -o "$wxUSE_ARCHIVE_STREAMS" != yes; then
45656 { echo "$as_me:$LINENO: WARNING: wxArchiveFSHandler requires wxArchive and wxFileSystem... disabled" >&5
45657 echo "$as_me: WARNING: wxArchiveFSHandler requires wxArchive and wxFileSystem... disabled" >&2;}
45659 cat >>confdefs.h
<<\_ACEOF
45660 #define wxUSE_FS_ARCHIVE 1
45666 if test "$wxUSE_FS_ZIP" = "yes"; then
45667 if test "$wxUSE_FS_ARCHIVE" != yes; then
45668 { echo "$as_me:$LINENO: WARNING: wxZipFSHandler requires wxArchiveFSHandler... disabled" >&5
45669 echo "$as_me: WARNING: wxZipFSHandler requires wxArchiveFSHandler... disabled" >&2;}
45671 cat >>confdefs.h
<<\_ACEOF
45672 #define wxUSE_FS_ZIP 1
45678 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
45679 if test "$USE_UNIX" != 1; then
45680 { echo "$as_me:$LINENO: WARNING: Catching fatal exceptions not currently supported on this system, wxApp::OnFatalException will not be called" >&5
45681 echo "$as_me: WARNING: Catching fatal exceptions not currently supported on this system, wxApp::OnFatalException will not be called" >&2;}
45682 wxUSE_ON_FATAL_EXCEPTION
=no
45684 cat >>confdefs.h
<<\_ACEOF
45685 #define wxUSE_ON_FATAL_EXCEPTION 1
45691 if test "$wxUSE_STACKWALKER" = "yes"; then
45692 cat >>confdefs.h
<<\_ACEOF
45693 #define wxUSE_STACKWALKER 1
45698 if test "$wxUSE_DEBUGREPORT" = "yes"; then
45699 if test "$USE_UNIX" != "1" -a "$USE_WIN32" != "1"; then
45700 { echo "$as_me:$LINENO: WARNING: Creating debug reports not currently supported on this system, disabled" >&5
45701 echo "$as_me: WARNING: Creating debug reports not currently supported on this system, disabled" >&2;}
45702 wxUSE_DEBUGREPORT
=no
45704 cat >>confdefs.h
<<\_ACEOF
45705 #define wxUSE_DEBUGREPORT 1
45708 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
45709 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS debugrpt"
45714 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
45715 cat >>confdefs.h
<<\_ACEOF
45716 #define wxUSE_SNGLINST_CHECKER 1
45721 if test "$wxUSE_BUSYINFO" = "yes"; then
45722 cat >>confdefs.h
<<\_ACEOF
45723 #define wxUSE_BUSYINFO 1
45728 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
45729 cat >>confdefs.h
<<\_ACEOF
45730 #define wxUSE_STD_IOSTREAM 1
45735 if test "$wxUSE_STD_STRING" = "yes"; then
45736 cat >>confdefs.h
<<\_ACEOF
45737 #define wxUSE_STD_STRING 1
45742 if test "$wxUSE_STDPATHS" = "yes"; then
45743 cat >>confdefs.h
<<\_ACEOF
45744 #define wxUSE_STDPATHS 1
45749 if test "$wxUSE_TEXTBUFFER" = "yes"; then
45750 cat >>confdefs.h
<<\_ACEOF
45751 #define wxUSE_TEXTBUFFER 1
45756 if test "$wxUSE_TEXTFILE" = "yes"; then
45757 if test "$wxUSE_FILE" != "yes" -o "$wxUSE_TEXTBUFFER" != "yes" ; then
45758 { echo "$as_me:$LINENO: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&5
45759 echo "$as_me: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&2;}
45761 cat >>confdefs.h
<<\_ACEOF
45762 #define wxUSE_TEXTFILE 1
45768 if test "$wxUSE_CONFIG" = "yes" ; then
45769 if test "$wxUSE_TEXTFILE" != "yes"; then
45770 { echo "$as_me:$LINENO: WARNING: wxConfig requires wxTextFile... disabled" >&5
45771 echo "$as_me: WARNING: wxConfig requires wxTextFile... disabled" >&2;}
45773 cat >>confdefs.h
<<\_ACEOF
45774 #define wxUSE_CONFIG 1
45777 cat >>confdefs.h
<<\_ACEOF
45778 #define wxUSE_CONFIG_NATIVE 1
45781 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS config"
45785 if test "$wxUSE_INTL" = "yes" ; then
45786 if test "$wxUSE_FILE" != "yes"; then
45787 { echo "$as_me:$LINENO: WARNING: I18n code requires wxFile... disabled" >&5
45788 echo "$as_me: WARNING: I18n code requires wxFile... disabled" >&2;}
45790 cat >>confdefs.h
<<\_ACEOF
45791 #define wxUSE_INTL 1
45794 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS internat"
45795 GUIDIST
="$GUIDIST INTL_DIST"
45799 if test "$wxUSE_LOG" = "yes"; then
45800 cat >>confdefs.h
<<\_ACEOF
45801 #define wxUSE_LOG 1
45805 if test "$wxUSE_LOGGUI" = "yes"; then
45806 cat >>confdefs.h
<<\_ACEOF
45807 #define wxUSE_LOGGUI 1
45812 if test "$wxUSE_LOGWINDOW" = "yes"; then
45813 cat >>confdefs.h
<<\_ACEOF
45814 #define wxUSE_LOGWINDOW 1
45819 if test "$wxUSE_LOGDIALOG" = "yes"; then
45820 cat >>confdefs.h
<<\_ACEOF
45821 #define wxUSE_LOG_DIALOG 1
45826 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS keyboard"
45829 if test "$wxUSE_LONGLONG" = "yes"; then
45830 cat >>confdefs.h
<<\_ACEOF
45831 #define wxUSE_LONGLONG 1
45836 if test "$wxUSE_GEOMETRY" = "yes"; then
45837 cat >>confdefs.h
<<\_ACEOF
45838 #define wxUSE_GEOMETRY 1
45843 if test "$wxUSE_BASE64" = "yes"; then
45844 cat >>confdefs.h
<<\_ACEOF
45845 #define wxUSE_BASE64 1
45850 if test "$wxUSE_STREAMS" = "yes" ; then
45851 cat >>confdefs.h
<<\_ACEOF
45852 #define wxUSE_STREAMS 1
45857 if test "$wxUSE_PRINTF_POS_PARAMS" = "yes"; then
45858 cat >>confdefs.h
<<\_ACEOF
45859 #define wxUSE_PRINTF_POS_PARAMS 1
45864 if test "$wxUSE_OBJC_UNIQUIFYING" = "yes"; then
45865 cat >>confdefs.h
<<\_ACEOF
45866 #define wxUSE_OBJC_UNIQUIFYING 1
45872 if test "$wxUSE_CONSOLE_EVENTLOOP" = "yes"; then
45873 cat >>confdefs.h
<<\_ACEOF
45874 #define wxUSE_CONSOLE_EVENTLOOP 1
45878 if test "$wxUSE_UNIX" = "yes"; then
45879 if test "$wxUSE_SELECT_DISPATCHER" = "yes"; then
45880 cat >>confdefs.h
<<\_ACEOF
45881 #define wxUSE_SELECT_DISPATCHER 1
45886 if test "$wxUSE_EPOLL_DISPATCHER" = "yes"; then
45888 for ac_header
in sys
/epoll.h
45890 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
45891 { echo "$as_me:$LINENO: checking for $ac_header" >&5
45892 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
45893 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
45894 echo $ECHO_N "(cached) $ECHO_C" >&6
45896 cat >conftest.
$ac_ext <<_ACEOF
45899 cat confdefs.h
>>conftest.
$ac_ext
45900 cat >>conftest.
$ac_ext <<_ACEOF
45901 /* end confdefs.h. */
45902 $ac_includes_default
45904 #include <$ac_header>
45906 rm -f conftest.
$ac_objext
45907 if { (ac_try
="$ac_compile"
45908 case "(($ac_try" in
45909 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
45910 *) ac_try_echo=$ac_try;;
45912 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45913 (eval "$ac_compile") 2>conftest.er1
45915 grep -v '^ *+' conftest.er1 >conftest.err
45917 cat conftest.err >&5
45918 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45919 (exit $ac_status); } && {
45920 test -z "$ac_c_werror_flag" ||
45921 test ! -s conftest.err
45922 } && test -s conftest.$ac_objext; then
45923 eval "$as_ac_Header=yes"
45925 echo "$as_me: failed program was:" >&5
45926 sed 's/^/| /' conftest.$ac_ext >&5
45928 eval "$as_ac_Header=no"
45931 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45933 ac_res=`eval echo '${'$as_ac_Header'}'`
45934 { echo "$as_me:$LINENO: result: $ac_res" >&5
45935 echo "${ECHO_T}$ac_res" >&6; }
45936 if test `eval echo '${'$as_ac_Header'}'` = yes; then
45937 cat >>confdefs.h <<_ACEOF
45938 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
45945 if test "$ac_cv_header_sys_epoll_h" = "yes"; then
45946 cat >>confdefs.h <<\_ACEOF
45947 #define wxUSE_EPOLL_DISPATCHER 1
45951 { echo "$as_me:$LINENO: WARNING: sys/epoll.h not available, wxEpollDispatcher disabled" >&5
45952 echo "$as_me: WARNING: sys/epoll.h not available, wxEpollDispatcher disabled" >&2;}
45961 for ac_func in gettimeofday ftime
45963 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
45964 { echo "$as_me:$LINENO: checking for $ac_func" >&5
45965 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
45966 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
45967 echo $ECHO_N "(cached) $ECHO_C" >&6
45969 cat >conftest.$ac_ext <<_ACEOF
45972 cat confdefs.h >>conftest.$ac_ext
45973 cat >>conftest.$ac_ext <<_ACEOF
45974 /* end confdefs.h. */
45975 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
45976 For example, HP-UX 11i <limits.h> declares gettimeofday. */
45977 #define $ac_func innocuous_$ac_func
45979 /* System header to define __stub macros and hopefully few prototypes,
45980 which can conflict with char $ac_func (); below.
45981 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
45982 <limits.h> exists even on freestanding compilers. */
45985 # include <limits.h>
45987 # include <assert.h>
45992 /* Override any GCC internal prototype to avoid an error.
45993 Use char because int might match the return type of a GCC
45994 builtin and then its argument prototype would still apply. */
45999 /* The GNU C library defines this for functions which it implements
46000 to always fail with ENOSYS. Some functions are actually named
46001 something starting with __ and the normal name is an alias. */
46002 #if defined __stub_$ac_func || defined __stub___$ac_func
46009 return $ac_func ();
46014 rm -f conftest.$ac_objext conftest$ac_exeext
46015 if { (ac_try="$ac_link"
46016 case "(($ac_try" in
46017 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
46018 *) ac_try_echo
=$ac_try;;
46020 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46021 (eval "$ac_link") 2>conftest.er1
46023 grep -v '^ *+' conftest.er1
>conftest.err
46025 cat conftest.err
>&5
46026 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46027 (exit $ac_status); } && {
46028 test -z "$ac_c_werror_flag" ||
46029 test ! -s conftest.err
46030 } && test -s conftest
$ac_exeext &&
46031 $as_test_x conftest
$ac_exeext; then
46032 eval "$as_ac_var=yes"
46034 echo "$as_me: failed program was:" >&5
46035 sed 's/^/| /' conftest.
$ac_ext >&5
46037 eval "$as_ac_var=no"
46040 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
46041 conftest
$ac_exeext conftest.
$ac_ext
46043 ac_res
=`eval echo '${'$as_ac_var'}'`
46044 { echo "$as_me:$LINENO: result: $ac_res" >&5
46045 echo "${ECHO_T}$ac_res" >&6; }
46046 if test `eval echo '${'$as_ac_var'}'` = yes; then
46047 cat >>confdefs.h
<<_ACEOF
46048 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
46055 if test "$ac_cv_func_gettimeofday" = "yes"; then
46056 { echo "$as_me:$LINENO: checking whether gettimeofday takes two arguments" >&5
46057 echo $ECHO_N "checking whether gettimeofday takes two arguments... $ECHO_C" >&6; }
46058 if test "${wx_cv_func_gettimeofday_has_2_args+set}" = set; then
46059 echo $ECHO_N "(cached) $ECHO_C" >&6
46062 cat >conftest.
$ac_ext <<_ACEOF
46065 cat confdefs.h
>>conftest.
$ac_ext
46066 cat >>conftest.
$ac_ext <<_ACEOF
46067 /* end confdefs.h. */
46069 #include <sys/time.h>
46070 #include <unistd.h>
46077 gettimeofday(&tv, NULL);
46083 rm -f conftest.
$ac_objext
46084 if { (ac_try
="$ac_compile"
46085 case "(($ac_try" in
46086 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
46087 *) ac_try_echo=$ac_try;;
46089 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46090 (eval "$ac_compile") 2>conftest.er1
46092 grep -v '^ *+' conftest.er1 >conftest.err
46094 cat conftest.err >&5
46095 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46096 (exit $ac_status); } && {
46097 test -z "$ac_c_werror_flag" ||
46098 test ! -s conftest.err
46099 } && test -s conftest.$ac_objext; then
46100 wx_cv_func_gettimeofday_has_2_args=yes
46102 echo "$as_me: failed program was:" >&5
46103 sed 's/^/| /' conftest.$ac_ext >&5
46105 cat >conftest.$ac_ext <<_ACEOF
46108 cat confdefs.h >>conftest.$ac_ext
46109 cat >>conftest.$ac_ext <<_ACEOF
46110 /* end confdefs.h. */
46112 #include <sys/time.h>
46113 #include <unistd.h>
46126 rm -f conftest.$ac_objext
46127 if { (ac_try="$ac_compile"
46128 case "(($ac_try" in
46129 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
46130 *) ac_try_echo
=$ac_try;;
46132 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46133 (eval "$ac_compile") 2>conftest.er1
46135 grep -v '^ *+' conftest.er1
>conftest.err
46137 cat conftest.err
>&5
46138 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46139 (exit $ac_status); } && {
46140 test -z "$ac_c_werror_flag" ||
46141 test ! -s conftest.err
46142 } && test -s conftest.
$ac_objext; then
46143 wx_cv_func_gettimeofday_has_2_args
=no
46145 echo "$as_me: failed program was:" >&5
46146 sed 's/^/| /' conftest.
$ac_ext >&5
46149 { echo "$as_me:$LINENO: WARNING: failed to determine number of gettimeofday() arguments" >&5
46150 echo "$as_me: WARNING: failed to determine number of gettimeofday() arguments" >&2;}
46151 wx_cv_func_gettimeofday_has_2_args
=unknown
46156 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
46160 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
46163 { echo "$as_me:$LINENO: result: $wx_cv_func_gettimeofday_has_2_args" >&5
46164 echo "${ECHO_T}$wx_cv_func_gettimeofday_has_2_args" >&6; }
46166 if test "$wx_cv_func_gettimeofday_has_2_args" != "yes"; then
46167 cat >>confdefs.h
<<\_ACEOF
46168 #define WX_GETTIMEOFDAY_NO_TZ 1
46174 if test "$wxUSE_DATETIME" = "yes"; then
46175 { echo "$as_me:$LINENO: checking for strptime" >&5
46176 echo $ECHO_N "checking for strptime... $ECHO_C" >&6; }
46177 if test "${ac_cv_func_strptime+set}" = set; then
46178 echo $ECHO_N "(cached) $ECHO_C" >&6
46180 cat >conftest.
$ac_ext <<_ACEOF
46183 cat confdefs.h
>>conftest.
$ac_ext
46184 cat >>conftest.
$ac_ext <<_ACEOF
46185 /* end confdefs.h. */
46186 /* Define strptime to an innocuous variant, in case <limits.h> declares strptime.
46187 For example, HP-UX 11i <limits.h> declares gettimeofday. */
46188 #define strptime innocuous_strptime
46190 /* System header to define __stub macros and hopefully few prototypes,
46191 which can conflict with char strptime (); below.
46192 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
46193 <limits.h> exists even on freestanding compilers. */
46196 # include <limits.h>
46198 # include <assert.h>
46203 /* Override any GCC internal prototype to avoid an error.
46204 Use char because int might match the return type of a GCC
46205 builtin and then its argument prototype would still apply. */
46210 /* The GNU C library defines this for functions which it implements
46211 to always fail with ENOSYS. Some functions are actually named
46212 something starting with __ and the normal name is an alias. */
46213 #if defined __stub_strptime || defined __stub___strptime
46220 return strptime ();
46225 rm -f conftest.
$ac_objext conftest
$ac_exeext
46226 if { (ac_try
="$ac_link"
46227 case "(($ac_try" in
46228 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
46229 *) ac_try_echo=$ac_try;;
46231 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46232 (eval "$ac_link") 2>conftest.er1
46234 grep -v '^ *+' conftest.er1 >conftest.err
46236 cat conftest.err >&5
46237 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46238 (exit $ac_status); } && {
46239 test -z "$ac_c_werror_flag" ||
46240 test ! -s conftest.err
46241 } && test -s conftest$ac_exeext &&
46242 $as_test_x conftest$ac_exeext; then
46243 ac_cv_func_strptime=yes
46245 echo "$as_me: failed program was:" >&5
46246 sed 's/^/| /' conftest.$ac_ext >&5
46248 ac_cv_func_strptime=no
46251 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
46252 conftest$ac_exeext conftest.$ac_ext
46254 { echo "$as_me:$LINENO: result: $ac_cv_func_strptime" >&5
46255 echo "${ECHO_T}$ac_cv_func_strptime" >&6; }
46257 if test "$ac_cv_func_strptime" = "yes"; then
46258 { echo "$as_me:$LINENO: checking for strptime declaration" >&5
46259 echo $ECHO_N "checking for strptime declaration... $ECHO_C" >&6; }
46260 if test "${wx_cv_func_strptime_decl+set}" = set; then
46261 echo $ECHO_N "(cached) $ECHO_C" >&6
46265 ac_cpp='$CXXCPP $CPPFLAGS'
46266 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46267 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46268 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46270 cat >conftest.$ac_ext <<_ACEOF
46273 cat confdefs.h >>conftest.$ac_ext
46274 cat >>conftest.$ac_ext <<_ACEOF
46275 /* end confdefs.h. */
46284 strptime("foo", "bar", &t);
46290 rm -f conftest.$ac_objext
46291 if { (ac_try="$ac_compile"
46292 case "(($ac_try" in
46293 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
46294 *) ac_try_echo
=$ac_try;;
46296 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46297 (eval "$ac_compile") 2>conftest.er1
46299 grep -v '^ *+' conftest.er1
>conftest.err
46301 cat conftest.err
>&5
46302 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46303 (exit $ac_status); } && {
46304 test -z "$ac_cxx_werror_flag" ||
46305 test ! -s conftest.err
46306 } && test -s conftest.
$ac_objext; then
46307 wx_cv_func_strptime_decl
=yes
46309 echo "$as_me: failed program was:" >&5
46310 sed 's/^/| /' conftest.
$ac_ext >&5
46312 wx_cv_func_strptime_decl
=no
46316 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
46318 ac_cpp
='$CPP $CPPFLAGS'
46319 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46320 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46321 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
46326 { echo "$as_me:$LINENO: result: $wx_cv_func_strptime_decl" >&5
46327 echo "${ECHO_T}$wx_cv_func_strptime_decl" >&6; }
46329 if test "$wx_cv_func_strptime_decl" = "yes"; then
46330 cat >>confdefs.h
<<\_ACEOF
46331 #define HAVE_STRPTIME_DECL 1
46335 wx_strptime_decl
="extern char *strptime(const char *, const char *, struct tm *);"
46337 if test "$ac_cv_func_strptime" = "yes"; then
46338 { echo "$as_me:$LINENO: checking whether strptime() fails on invalid strings" >&5
46339 echo $ECHO_N "checking whether strptime() fails on invalid strings... $ECHO_C" >&6; }
46340 if test "${wx_cv_func_strptime_ok+set}" = set; then
46341 echo $ECHO_N "(cached) $ECHO_C" >&6
46343 if test "$cross_compiling" = yes; then
46344 wx_cv_func_strptime_ok
=no
46347 cat >conftest.
$ac_ext <<_ACEOF
46349 #include <stdlib.h>
46351 #include "confdefs.h"
46358 return !!strptime("", "%x", &t);
46362 rm -f conftest
$ac_exeext
46363 if { (ac_try
="$ac_link"
46364 case "(($ac_try" in
46365 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
46366 *) ac_try_echo=$ac_try;;
46368 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46369 (eval "$ac_link") 2>&5
46371 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46372 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
46373 { (case "(($ac_try" in
46374 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
46375 *) ac_try_echo
=$ac_try;;
46377 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46378 (eval "$ac_try") 2>&5
46380 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46381 (exit $ac_status); }; }; then
46382 wx_cv_func_strptime_ok
=yes
46384 echo "$as_me: program exited with status $ac_status" >&5
46385 echo "$as_me: failed program was:" >&5
46386 sed 's/^/| /' conftest.
$ac_ext >&5
46388 ( exit $ac_status )
46389 wx_cv_func_strptime_ok
=no
46391 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
46397 { echo "$as_me:$LINENO: result: $wx_cv_func_strptime_ok" >&5
46398 echo "${ECHO_T}$wx_cv_func_strptime_ok" >&6; }
46400 if test "$wx_cv_func_strptime_ok" = "yes"; then
46401 cat >>confdefs.h
<<\_ACEOF
46402 #define HAVE_STRPTIME 1
46408 { echo "$as_me:$LINENO: checking for timezone variable in <time.h>" >&5
46409 echo $ECHO_N "checking for timezone variable in <time.h>... $ECHO_C" >&6; }
46410 if test "${wx_cv_var_timezone+set}" = set; then
46411 echo $ECHO_N "(cached) $ECHO_C" >&6
46415 ac_cpp
='$CXXCPP $CPPFLAGS'
46416 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46417 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46418 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
46420 cat >conftest.
$ac_ext <<_ACEOF
46423 cat confdefs.h
>>conftest.
$ac_ext
46424 cat >>conftest.
$ac_ext <<_ACEOF
46425 /* end confdefs.h. */
46440 rm -f conftest.
$ac_objext
46441 if { (ac_try
="$ac_compile"
46442 case "(($ac_try" in
46443 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
46444 *) ac_try_echo=$ac_try;;
46446 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46447 (eval "$ac_compile") 2>conftest.er1
46449 grep -v '^ *+' conftest.er1 >conftest.err
46451 cat conftest.err >&5
46452 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46453 (exit $ac_status); } && {
46454 test -z "$ac_cxx_werror_flag" ||
46455 test ! -s conftest.err
46456 } && test -s conftest.$ac_objext; then
46458 wx_cv_var_timezone=timezone
46461 echo "$as_me: failed program was:" >&5
46462 sed 's/^/| /' conftest.$ac_ext >&5
46465 cat >conftest.$ac_ext <<_ACEOF
46468 cat confdefs.h >>conftest.$ac_ext
46469 cat >>conftest.$ac_ext <<_ACEOF
46470 /* end confdefs.h. */
46485 rm -f conftest.$ac_objext
46486 if { (ac_try="$ac_compile"
46487 case "(($ac_try" in
46488 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
46489 *) ac_try_echo
=$ac_try;;
46491 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46492 (eval "$ac_compile") 2>conftest.er1
46494 grep -v '^ *+' conftest.er1
>conftest.err
46496 cat conftest.err
>&5
46497 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46498 (exit $ac_status); } && {
46499 test -z "$ac_cxx_werror_flag" ||
46500 test ! -s conftest.err
46501 } && test -s conftest.
$ac_objext; then
46503 wx_cv_var_timezone
=_timezone
46506 echo "$as_me: failed program was:" >&5
46507 sed 's/^/| /' conftest.
$ac_ext >&5
46510 cat >conftest.
$ac_ext <<_ACEOF
46513 cat confdefs.h
>>conftest.
$ac_ext
46514 cat >>conftest.
$ac_ext <<_ACEOF
46515 /* end confdefs.h. */
46530 rm -f conftest.
$ac_objext
46531 if { (ac_try
="$ac_compile"
46532 case "(($ac_try" in
46533 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
46534 *) ac_try_echo=$ac_try;;
46536 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46537 (eval "$ac_compile") 2>conftest.er1
46539 grep -v '^ *+' conftest.er1 >conftest.err
46541 cat conftest.err >&5
46542 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46543 (exit $ac_status); } && {
46544 test -z "$ac_cxx_werror_flag" ||
46545 test ! -s conftest.err
46546 } && test -s conftest.$ac_objext; then
46548 wx_cv_var_timezone=__timezone
46551 echo "$as_me: failed program was:" >&5
46552 sed 's/^/| /' conftest.$ac_ext >&5
46555 if test "$USE_DOS" = 0 ; then
46556 { echo "$as_me:$LINENO: WARNING: no timezone variable" >&5
46557 echo "$as_me: WARNING: no timezone variable" >&2;}
46563 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46568 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46573 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46575 ac_cpp='$CPP $CPPFLAGS'
46576 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46577 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46578 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46583 { echo "$as_me:$LINENO: result: $wx_cv_var_timezone" >&5
46584 echo "${ECHO_T}$wx_cv_var_timezone" >&6; }
46586 if test "x$wx_cv_var_timezone" != x ; then
46587 cat >>confdefs.h <<_ACEOF
46588 #define WX_TIMEZONE $wx_cv_var_timezone
46594 for ac_func in localtime
46596 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
46597 { echo "$as_me:$LINENO: checking for $ac_func" >&5
46598 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
46599 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
46600 echo $ECHO_N "(cached) $ECHO_C" >&6
46602 cat >conftest.$ac_ext <<_ACEOF
46605 cat confdefs.h >>conftest.$ac_ext
46606 cat >>conftest.$ac_ext <<_ACEOF
46607 /* end confdefs.h. */
46608 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
46609 For example, HP-UX 11i <limits.h> declares gettimeofday. */
46610 #define $ac_func innocuous_$ac_func
46612 /* System header to define __stub macros and hopefully few prototypes,
46613 which can conflict with char $ac_func (); below.
46614 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
46615 <limits.h> exists even on freestanding compilers. */
46618 # include <limits.h>
46620 # include <assert.h>
46625 /* Override any GCC internal prototype to avoid an error.
46626 Use char because int might match the return type of a GCC
46627 builtin and then its argument prototype would still apply. */
46632 /* The GNU C library defines this for functions which it implements
46633 to always fail with ENOSYS. Some functions are actually named
46634 something starting with __ and the normal name is an alias. */
46635 #if defined __stub_$ac_func || defined __stub___$ac_func
46642 return $ac_func ();
46647 rm -f conftest.$ac_objext conftest$ac_exeext
46648 if { (ac_try="$ac_link"
46649 case "(($ac_try" in
46650 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
46651 *) ac_try_echo
=$ac_try;;
46653 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46654 (eval "$ac_link") 2>conftest.er1
46656 grep -v '^ *+' conftest.er1
>conftest.err
46658 cat conftest.err
>&5
46659 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46660 (exit $ac_status); } && {
46661 test -z "$ac_c_werror_flag" ||
46662 test ! -s conftest.err
46663 } && test -s conftest
$ac_exeext &&
46664 $as_test_x conftest
$ac_exeext; then
46665 eval "$as_ac_var=yes"
46667 echo "$as_me: failed program was:" >&5
46668 sed 's/^/| /' conftest.
$ac_ext >&5
46670 eval "$as_ac_var=no"
46673 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
46674 conftest
$ac_exeext conftest.
$ac_ext
46676 ac_res
=`eval echo '${'$as_ac_var'}'`
46677 { echo "$as_me:$LINENO: result: $ac_res" >&5
46678 echo "${ECHO_T}$ac_res" >&6; }
46679 if test `eval echo '${'$as_ac_var'}'` = yes; then
46680 cat >>confdefs.h
<<_ACEOF
46681 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
46688 if test "$ac_cv_func_localtime" = "yes"; then
46689 { echo "$as_me:$LINENO: checking for tm_gmtoff in struct tm" >&5
46690 echo $ECHO_N "checking for tm_gmtoff in struct tm... $ECHO_C" >&6; }
46691 if test "${wx_cv_struct_tm_has_gmtoff+set}" = set; then
46692 echo $ECHO_N "(cached) $ECHO_C" >&6
46695 cat >conftest.
$ac_ext <<_ACEOF
46698 cat confdefs.h
>>conftest.
$ac_ext
46699 cat >>conftest.
$ac_ext <<_ACEOF
46700 /* end confdefs.h. */
46715 rm -f conftest.
$ac_objext
46716 if { (ac_try
="$ac_compile"
46717 case "(($ac_try" in
46718 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
46719 *) ac_try_echo=$ac_try;;
46721 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46722 (eval "$ac_compile") 2>conftest.er1
46724 grep -v '^ *+' conftest.er1 >conftest.err
46726 cat conftest.err >&5
46727 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46728 (exit $ac_status); } && {
46729 test -z "$ac_c_werror_flag" ||
46730 test ! -s conftest.err
46731 } && test -s conftest.$ac_objext; then
46733 wx_cv_struct_tm_has_gmtoff=yes
46736 echo "$as_me: failed program was:" >&5
46737 sed 's/^/| /' conftest.$ac_ext >&5
46739 wx_cv_struct_tm_has_gmtoff=no
46743 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46746 { echo "$as_me:$LINENO: result: $wx_cv_struct_tm_has_gmtoff" >&5
46747 echo "${ECHO_T}$wx_cv_struct_tm_has_gmtoff" >&6; }
46750 if test "$wx_cv_struct_tm_has_gmtoff" = "yes"; then
46751 cat >>confdefs.h <<\_ACEOF
46752 #define WX_GMTOFF_IN_TM 1
46757 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS typetest"
46761 if test "$wxUSE_SOCKETS" = "yes"; then
46762 if test "$wxUSE_MGL" = "1"; then
46763 { echo "$as_me:$LINENO: WARNING: wxSocket not yet supported under MGL... disabled" >&5
46764 echo "$as_me: WARNING: wxSocket not yet supported under MGL... disabled" >&2;}
46769 if test "$wxUSE_SOCKETS" = "yes"; then
46770 if test "$TOOLKIT" != "MSW"; then
46771 { echo "$as_me:$LINENO: checking for socket" >&5
46772 echo $ECHO_N "checking for socket... $ECHO_C" >&6; }
46773 if test "${ac_cv_func_socket+set}" = set; then
46774 echo $ECHO_N "(cached) $ECHO_C" >&6
46776 cat >conftest.$ac_ext <<_ACEOF
46779 cat confdefs.h >>conftest.$ac_ext
46780 cat >>conftest.$ac_ext <<_ACEOF
46781 /* end confdefs.h. */
46782 /* Define socket to an innocuous variant, in case <limits.h> declares socket.
46783 For example, HP-UX 11i <limits.h> declares gettimeofday. */
46784 #define socket innocuous_socket
46786 /* System header to define __stub macros and hopefully few prototypes,
46787 which can conflict with char socket (); below.
46788 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
46789 <limits.h> exists even on freestanding compilers. */
46792 # include <limits.h>
46794 # include <assert.h>
46799 /* Override any GCC internal prototype to avoid an error.
46800 Use char because int might match the return type of a GCC
46801 builtin and then its argument prototype would still apply. */
46806 /* The GNU C library defines this for functions which it implements
46807 to always fail with ENOSYS. Some functions are actually named
46808 something starting with __ and the normal name is an alias. */
46809 #if defined __stub_socket || defined __stub___socket
46821 rm -f conftest.$ac_objext conftest$ac_exeext
46822 if { (ac_try="$ac_link"
46823 case "(($ac_try" in
46824 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
46825 *) ac_try_echo
=$ac_try;;
46827 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46828 (eval "$ac_link") 2>conftest.er1
46830 grep -v '^ *+' conftest.er1
>conftest.err
46832 cat conftest.err
>&5
46833 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46834 (exit $ac_status); } && {
46835 test -z "$ac_c_werror_flag" ||
46836 test ! -s conftest.err
46837 } && test -s conftest
$ac_exeext &&
46838 $as_test_x conftest
$ac_exeext; then
46839 ac_cv_func_socket
=yes
46841 echo "$as_me: failed program was:" >&5
46842 sed 's/^/| /' conftest.
$ac_ext >&5
46844 ac_cv_func_socket
=no
46847 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
46848 conftest
$ac_exeext conftest.
$ac_ext
46850 { echo "$as_me:$LINENO: result: $ac_cv_func_socket" >&5
46851 echo "${ECHO_T}$ac_cv_func_socket" >&6; }
46852 if test $ac_cv_func_socket = yes; then
46856 { echo "$as_me:$LINENO: checking for socket in -lsocket" >&5
46857 echo $ECHO_N "checking for socket in -lsocket... $ECHO_C" >&6; }
46858 if test "${ac_cv_lib_socket_socket+set}" = set; then
46859 echo $ECHO_N "(cached) $ECHO_C" >&6
46861 ac_check_lib_save_LIBS
=$LIBS
46862 LIBS
="-lsocket $LIBS"
46863 cat >conftest.
$ac_ext <<_ACEOF
46866 cat confdefs.h
>>conftest.
$ac_ext
46867 cat >>conftest.
$ac_ext <<_ACEOF
46868 /* end confdefs.h. */
46870 /* Override any GCC internal prototype to avoid an error.
46871 Use char because int might match the return type of a GCC
46872 builtin and then its argument prototype would still apply. */
46885 rm -f conftest.
$ac_objext conftest
$ac_exeext
46886 if { (ac_try
="$ac_link"
46887 case "(($ac_try" in
46888 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
46889 *) ac_try_echo=$ac_try;;
46891 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46892 (eval "$ac_link") 2>conftest.er1
46894 grep -v '^ *+' conftest.er1 >conftest.err
46896 cat conftest.err >&5
46897 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46898 (exit $ac_status); } && {
46899 test -z "$ac_c_werror_flag" ||
46900 test ! -s conftest.err
46901 } && test -s conftest$ac_exeext &&
46902 $as_test_x conftest$ac_exeext; then
46903 ac_cv_lib_socket_socket=yes
46905 echo "$as_me: failed program was:" >&5
46906 sed 's/^/| /' conftest.$ac_ext >&5
46908 ac_cv_lib_socket_socket=no
46911 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
46912 conftest$ac_exeext conftest.$ac_ext
46913 LIBS=$ac_check_lib_save_LIBS
46915 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_socket" >&5
46916 echo "${ECHO_T}$ac_cv_lib_socket_socket" >&6; }
46917 if test $ac_cv_lib_socket_socket = yes; then
46918 if test "$INET_LINK" != " -lsocket"; then
46919 INET_LINK="$INET_LINK -lsocket"
46923 { echo "$as_me:$LINENO: WARNING: socket library not found - sockets will be disabled" >&5
46924 echo "$as_me: WARNING: socket library not found - sockets will be disabled" >&2;}
46937 if test "$wxUSE_SOCKETS" = "yes" ; then
46938 if test "$TOOLKIT" != "MSW"; then
46939 { echo "$as_me:$LINENO: checking what is the type of the third argument of getsockname" >&5
46940 echo $ECHO_N "checking what is the type of the third argument of getsockname... $ECHO_C" >&6; }
46941 if test "${wx_cv_type_getsockname3+set}" = set; then
46942 echo $ECHO_N "(cached) $ECHO_C" >&6
46946 ac_cpp='$CXXCPP $CPPFLAGS'
46947 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46948 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46949 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46951 cat >conftest.$ac_ext <<_ACEOF
46954 cat confdefs.h >>conftest.$ac_ext
46955 cat >>conftest.$ac_ext <<_ACEOF
46956 /* end confdefs.h. */
46958 #include <sys/types.h>
46959 #include <sys/socket.h>
46966 getsockname(0, 0, &len);
46972 rm -f conftest.$ac_objext
46973 if { (ac_try="$ac_compile"
46974 case "(($ac_try" in
46975 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
46976 *) ac_try_echo
=$ac_try;;
46978 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46979 (eval "$ac_compile") 2>conftest.er1
46981 grep -v '^ *+' conftest.er1
>conftest.err
46983 cat conftest.err
>&5
46984 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46985 (exit $ac_status); } && {
46986 test -z "$ac_cxx_werror_flag" ||
46987 test ! -s conftest.err
46988 } && test -s conftest.
$ac_objext; then
46989 wx_cv_type_getsockname3
=socklen_t
46991 echo "$as_me: failed program was:" >&5
46992 sed 's/^/| /' conftest.
$ac_ext >&5
46995 CFLAGS_OLD
="$CFLAGS"
46996 if test "$GCC" = yes ; then
46997 CFLAGS
="-Werror $CFLAGS"
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 getsockname(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_getsockname3=size_t
47040 echo "$as_me: failed program was:" >&5
47041 sed 's/^/| /' conftest.$ac_ext >&5
47043 cat >conftest.$ac_ext <<_ACEOF
47046 cat confdefs.h >>conftest.$ac_ext
47047 cat >>conftest.$ac_ext <<_ACEOF
47048 /* end confdefs.h. */
47050 #include <sys/types.h>
47051 #include <sys/socket.h>
47058 getsockname(0, 0, &len);
47064 rm -f conftest.$ac_objext
47065 if { (ac_try="$ac_compile"
47066 case "(($ac_try" in
47067 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
47068 *) ac_try_echo
=$ac_try;;
47070 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47071 (eval "$ac_compile") 2>conftest.er1
47073 grep -v '^ *+' conftest.er1
>conftest.err
47075 cat conftest.err
>&5
47076 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47077 (exit $ac_status); } && {
47078 test -z "$ac_cxx_werror_flag" ||
47079 test ! -s conftest.err
47080 } && test -s conftest.
$ac_objext; then
47081 wx_cv_type_getsockname3
=int
47083 echo "$as_me: failed program was:" >&5
47084 sed 's/^/| /' conftest.
$ac_ext >&5
47086 wx_cv_type_getsockname3
=unknown
47090 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
47094 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
47096 CFLAGS
="$CFLAGS_OLD"
47101 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
47103 ac_cpp
='$CPP $CPPFLAGS'
47104 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47105 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47106 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
47110 { echo "$as_me:$LINENO: result: $wx_cv_type_getsockname3" >&5
47111 echo "${ECHO_T}$wx_cv_type_getsockname3" >&6; }
47113 if test "$wx_cv_type_getsockname3" = "unknown"; then
47115 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
47116 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
47118 cat >>confdefs.h
<<_ACEOF
47119 #define WX_SOCKLEN_T $wx_cv_type_getsockname3
47123 { echo "$as_me:$LINENO: checking what is the type of the fifth argument of getsockopt" >&5
47124 echo $ECHO_N "checking what is the type of the fifth argument of getsockopt... $ECHO_C" >&6; }
47125 if test "${wx_cv_type_getsockopt5+set}" = set; then
47126 echo $ECHO_N "(cached) $ECHO_C" >&6
47130 ac_cpp
='$CXXCPP $CPPFLAGS'
47131 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47132 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47133 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
47135 cat >conftest.
$ac_ext <<_ACEOF
47138 cat confdefs.h
>>conftest.
$ac_ext
47139 cat >>conftest.
$ac_ext <<_ACEOF
47140 /* end confdefs.h. */
47142 #include <sys/types.h>
47143 #include <sys/socket.h>
47150 getsockopt(0, 0, 0, 0, &len);
47156 rm -f conftest.
$ac_objext
47157 if { (ac_try
="$ac_compile"
47158 case "(($ac_try" in
47159 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
47160 *) ac_try_echo=$ac_try;;
47162 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47163 (eval "$ac_compile") 2>conftest.er1
47165 grep -v '^ *+' conftest.er1 >conftest.err
47167 cat conftest.err >&5
47168 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47169 (exit $ac_status); } && {
47170 test -z "$ac_cxx_werror_flag" ||
47171 test ! -s conftest.err
47172 } && test -s conftest.$ac_objext; then
47173 wx_cv_type_getsockopt5=socklen_t
47175 echo "$as_me: failed program was:" >&5
47176 sed 's/^/| /' conftest.$ac_ext >&5
47179 cat >conftest.$ac_ext <<_ACEOF
47182 cat confdefs.h >>conftest.$ac_ext
47183 cat >>conftest.$ac_ext <<_ACEOF
47184 /* end confdefs.h. */
47186 #include <sys/types.h>
47187 #include <sys/socket.h>
47194 getsockopt(0, 0, 0, 0, &len);
47200 rm -f conftest.$ac_objext
47201 if { (ac_try="$ac_compile"
47202 case "(($ac_try" in
47203 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
47204 *) ac_try_echo
=$ac_try;;
47206 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47207 (eval "$ac_compile") 2>conftest.er1
47209 grep -v '^ *+' conftest.er1
>conftest.err
47211 cat conftest.err
>&5
47212 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47213 (exit $ac_status); } && {
47214 test -z "$ac_cxx_werror_flag" ||
47215 test ! -s conftest.err
47216 } && test -s conftest.
$ac_objext; then
47217 wx_cv_type_getsockopt5
=size_t
47219 echo "$as_me: failed program was:" >&5
47220 sed 's/^/| /' conftest.
$ac_ext >&5
47222 cat >conftest.
$ac_ext <<_ACEOF
47225 cat confdefs.h
>>conftest.
$ac_ext
47226 cat >>conftest.
$ac_ext <<_ACEOF
47227 /* end confdefs.h. */
47229 #include <sys/types.h>
47230 #include <sys/socket.h>
47237 getsockopt(0, 0, 0, 0, &len);
47243 rm -f conftest.
$ac_objext
47244 if { (ac_try
="$ac_compile"
47245 case "(($ac_try" in
47246 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
47247 *) ac_try_echo=$ac_try;;
47249 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47250 (eval "$ac_compile") 2>conftest.er1
47252 grep -v '^ *+' conftest.er1 >conftest.err
47254 cat conftest.err >&5
47255 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47256 (exit $ac_status); } && {
47257 test -z "$ac_cxx_werror_flag" ||
47258 test ! -s conftest.err
47259 } && test -s conftest.$ac_objext; then
47260 wx_cv_type_getsockopt5=int
47262 echo "$as_me: failed program was:" >&5
47263 sed 's/^/| /' conftest.$ac_ext >&5
47265 wx_cv_type_getsockopt5=unknown
47269 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47273 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47278 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47280 ac_cpp='$CPP $CPPFLAGS'
47281 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47282 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47283 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47287 { echo "$as_me:$LINENO: result: $wx_cv_type_getsockopt5" >&5
47288 echo "${ECHO_T}$wx_cv_type_getsockopt5" >&6; }
47290 if test "$wx_cv_type_getsockopt5" = "unknown"; then
47292 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
47293 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
47295 cat >>confdefs.h <<_ACEOF
47296 #define SOCKOPTLEN_T $wx_cv_type_getsockopt5
47303 if test "$wxUSE_SOCKETS" = "yes" ; then
47304 cat >>confdefs.h <<\_ACEOF
47305 #define wxUSE_SOCKETS 1
47308 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sockets"
47311 if test "$wxUSE_PROTOCOL" = "yes"; then
47312 if test "$wxUSE_SOCKETS" != "yes"; then
47313 { echo "$as_me:$LINENO: WARNING: Protocol classes require sockets... disabled" >&5
47314 echo "$as_me: WARNING: Protocol classes require sockets... disabled" >&2;}
47319 if test "$wxUSE_PROTOCOL" = "yes"; then
47320 cat >>confdefs.h <<\_ACEOF
47321 #define wxUSE_PROTOCOL 1
47325 if test "$wxUSE_PROTOCOL_HTTP" = "yes"; then
47326 cat >>confdefs.h <<\_ACEOF
47327 #define wxUSE_PROTOCOL_HTTP 1
47331 if test "$wxUSE_PROTOCOL_FTP" = "yes"; then
47332 cat >>confdefs.h <<\_ACEOF
47333 #define wxUSE_PROTOCOL_FTP 1
47337 if test "$wxUSE_PROTOCOL_FILE" = "yes"; then
47338 cat >>confdefs.h <<\_ACEOF
47339 #define wxUSE_PROTOCOL_FILE 1
47344 if test "$wxUSE_FS_INET" = "yes"; then
47345 { echo "$as_me:$LINENO: WARNING: HTTP filesystem require protocol classes... disabled" >&5
47346 echo "$as_me: WARNING: HTTP filesystem require protocol classes... disabled" >&2;}
47351 if test "$wxUSE_URL" = "yes"; then
47352 if test "$wxUSE_PROTOCOL" != "yes"; then
47353 { echo "$as_me:$LINENO: WARNING: wxURL class requires wxProtocol... disabled" >&5
47354 echo "$as_me: WARNING: wxURL class requires wxProtocol... disabled" >&2;}
47357 if test "$wxUSE_URL" = "yes"; then
47358 cat >>confdefs.h <<\_ACEOF
47359 #define wxUSE_URL 1
47365 if test "$wxUSE_VARIANT" = "yes"; then
47366 cat >>confdefs.h <<\_ACEOF
47367 #define wxUSE_VARIANT 1
47372 if test "$wxUSE_FS_INET" = "yes"; then
47373 cat >>confdefs.h <<\_ACEOF
47374 #define wxUSE_FS_INET 1
47380 if test "$wxUSE_GUI" = "yes" -a "$wxUSE_JOYSTICK" = "yes"; then
47383 if test "$TOOLKIT" = "MSW"; then
47386 elif test "$TOOLKIT" = "MAC" -o "$TOOLKIT" = "COCOA"; then
47387 if test "$USE_DARWIN" = 1; then
47388 { echo "$as_me:$LINENO: checking headers have declarations needed for joystick support" >&5
47389 echo $ECHO_N "checking headers have declarations needed for joystick support... $ECHO_C" >&6; }
47391 ac_cpp='$CXXCPP $CPPFLAGS'
47392 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47393 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47394 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47396 cat >conftest.$ac_ext <<_ACEOF
47399 cat confdefs.h >>conftest.$ac_ext
47400 cat >>conftest.$ac_ext <<_ACEOF
47401 /* end confdefs.h. */
47402 #include <IOKit/hid/IOHIDLib.h>
47406 IOHIDQueueInterface *qi = NULL;
47407 IOHIDCallbackFunction cb = NULL;
47408 qi->setEventCallout(NULL, cb, NULL, NULL);
47413 rm -f conftest.$ac_objext
47414 if { (ac_try="$ac_compile"
47415 case "(($ac_try" in
47416 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
47417 *) ac_try_echo
=$ac_try;;
47419 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47420 (eval "$ac_compile") 2>conftest.er1
47422 grep -v '^ *+' conftest.er1
>conftest.err
47424 cat conftest.err
>&5
47425 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47426 (exit $ac_status); } && {
47427 test -z "$ac_cxx_werror_flag" ||
47428 test ! -s conftest.err
47429 } && test -s conftest.
$ac_objext; then
47433 echo "$as_me: failed program was:" >&5
47434 sed 's/^/| /' conftest.
$ac_ext >&5
47439 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
47441 ac_cpp
='$CPP $CPPFLAGS'
47442 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47443 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47444 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
47446 { echo "$as_me:$LINENO: result: $wxUSE_JOYSTICK" >&5
47447 echo "${ECHO_T}$wxUSE_JOYSTICK" >&6; }
47451 if test "$wxUSE_MGL" != "1"; then
47453 for ac_header
in linux
/joystick.h
47455 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
47456 { echo "$as_me:$LINENO: checking for $ac_header" >&5
47457 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
47458 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
47459 echo $ECHO_N "(cached) $ECHO_C" >&6
47461 cat >conftest.
$ac_ext <<_ACEOF
47464 cat confdefs.h
>>conftest.
$ac_ext
47465 cat >>conftest.
$ac_ext <<_ACEOF
47466 /* end confdefs.h. */
47467 $ac_includes_default
47469 #include <$ac_header>
47471 rm -f conftest.
$ac_objext
47472 if { (ac_try
="$ac_compile"
47473 case "(($ac_try" in
47474 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
47475 *) ac_try_echo=$ac_try;;
47477 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47478 (eval "$ac_compile") 2>conftest.er1
47480 grep -v '^ *+' conftest.er1 >conftest.err
47482 cat conftest.err >&5
47483 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47484 (exit $ac_status); } && {
47485 test -z "$ac_c_werror_flag" ||
47486 test ! -s conftest.err
47487 } && test -s conftest.$ac_objext; then
47488 eval "$as_ac_Header=yes"
47490 echo "$as_me: failed program was:" >&5
47491 sed 's/^/| /' conftest.$ac_ext >&5
47493 eval "$as_ac_Header=no"
47496 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47498 ac_res=`eval echo '${'$as_ac_Header'}'`
47499 { echo "$as_me:$LINENO: result: $ac_res" >&5
47500 echo "${ECHO_T}$ac_res" >&6; }
47501 if test `eval echo '${'$as_ac_Header'}'` = yes; then
47502 cat >>confdefs.h <<_ACEOF
47503 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
47513 if test "$wxUSE_JOYSTICK" = "yes"; then
47514 cat >>confdefs.h <<\_ACEOF
47515 #define wxUSE_JOYSTICK 1
47518 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS joytest"
47520 { echo "$as_me:$LINENO: WARNING: Joystick not supported by this system... disabled" >&5
47521 echo "$as_me: WARNING: Joystick not supported by this system... disabled" >&2;}
47527 if test "$wxUSE_FONTENUM" = "yes" ; then
47528 cat >>confdefs.h <<\_ACEOF
47529 #define wxUSE_FONTENUM 1
47534 if test "$wxUSE_FONTMAP" = "yes" ; then
47535 cat >>confdefs.h <<\_ACEOF
47536 #define wxUSE_FONTMAP 1
47541 if test "$wxUSE_UNICODE" = "yes" ; then
47542 cat >>confdefs.h <<\_ACEOF
47543 #define wxUSE_UNICODE 1
47547 if test "$USE_WIN32" != 1; then
47548 wxUSE_UNICODE_MSLU=no
47551 if test "$USE_WIN32" = 1 -a "$wxUSE_UNICODE_MSLU" = "yes"; then
47552 { echo "$as_me:$LINENO: checking for main in -lunicows" >&5
47553 echo $ECHO_N "checking for main in -lunicows... $ECHO_C" >&6; }
47554 if test "${ac_cv_lib_unicows_main+set}" = set; then
47555 echo $ECHO_N "(cached) $ECHO_C" >&6
47557 ac_check_lib_save_LIBS=$LIBS
47558 LIBS="-lunicows $LIBS"
47559 cat >conftest.$ac_ext <<_ACEOF
47562 cat confdefs.h >>conftest.$ac_ext
47563 cat >>conftest.$ac_ext <<_ACEOF
47564 /* end confdefs.h. */
47575 rm -f conftest.$ac_objext conftest$ac_exeext
47576 if { (ac_try="$ac_link"
47577 case "(($ac_try" in
47578 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
47579 *) ac_try_echo
=$ac_try;;
47581 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47582 (eval "$ac_link") 2>conftest.er1
47584 grep -v '^ *+' conftest.er1
>conftest.err
47586 cat conftest.err
>&5
47587 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47588 (exit $ac_status); } && {
47589 test -z "$ac_c_werror_flag" ||
47590 test ! -s conftest.err
47591 } && test -s conftest
$ac_exeext &&
47592 $as_test_x conftest
$ac_exeext; then
47593 ac_cv_lib_unicows_main
=yes
47595 echo "$as_me: failed program was:" >&5
47596 sed 's/^/| /' conftest.
$ac_ext >&5
47598 ac_cv_lib_unicows_main
=no
47601 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
47602 conftest
$ac_exeext conftest.
$ac_ext
47603 LIBS
=$ac_check_lib_save_LIBS
47605 { echo "$as_me:$LINENO: result: $ac_cv_lib_unicows_main" >&5
47606 echo "${ECHO_T}$ac_cv_lib_unicows_main" >&6; }
47607 if test $ac_cv_lib_unicows_main = yes; then
47609 cat >>confdefs.h
<<\_ACEOF
47610 #define wxUSE_UNICODE_MSLU 1
47616 { echo "$as_me:$LINENO: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
47617 Applications will only run on Windows NT/2000/XP!" >&5
47618 echo "$as_me: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
47619 Applications will only run on Windows NT/2000/XP!" >&2;}
47620 wxUSE_UNICODE_MSLU
=no
47627 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_UTF8" = "yes"; then
47628 cat >>confdefs.h
<<\_ACEOF
47629 #define wxUSE_UNICODE_UTF8 1
47633 if test "$wxUSE_UNICODE_UTF8_LOCALE" = "yes"; then
47634 cat >>confdefs.h
<<\_ACEOF
47635 #define wxUSE_UTF8_LOCALE_ONLY 1
47642 if test "$wxUSE_CONSTRAINTS" = "yes"; then
47643 cat >>confdefs.h
<<\_ACEOF
47644 #define wxUSE_CONSTRAINTS 1
47647 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS layout"
47650 if test "$wxUSE_MDI" = "yes"; then
47651 cat >>confdefs.h
<<\_ACEOF
47652 #define wxUSE_MDI 1
47656 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
47657 cat >>confdefs.h
<<\_ACEOF
47658 #define wxUSE_MDI_ARCHITECTURE 1
47661 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS mdi"
47665 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = "yes" ; then
47666 cat >>confdefs.h
<<\_ACEOF
47667 #define wxUSE_DOC_VIEW_ARCHITECTURE 1
47670 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS docview"
47671 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
47672 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS docvwmdi"
47676 if test "$wxUSE_HELP" = "yes"; then
47677 cat >>confdefs.h
<<\_ACEOF
47678 #define wxUSE_HELP 1
47681 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS help"
47683 if test "$wxUSE_MSW" = 1; then
47684 if test "$wxUSE_MS_HTML_HELP" = "yes"; then
47685 cat >>confdefs.h
<<\_ACEOF
47686 #define wxUSE_MS_HTML_HELP 1
47692 if test "$wxUSE_WXHTML_HELP" = "yes"; then
47693 if test "$wxUSE_HTML" = "yes"; then
47694 cat >>confdefs.h
<<\_ACEOF
47695 #define wxUSE_WXHTML_HELP 1
47699 { echo "$as_me:$LINENO: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&5
47700 echo "$as_me: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&2;}
47701 wxUSE_WXHTML_HELP
=no
47706 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
47707 if test "$wxUSE_CONSTRAINTS" != "yes"; then
47708 { echo "$as_me:$LINENO: WARNING: Printing support cannot be used without constraints so it won't be compiled without it" >&5
47709 echo "$as_me: WARNING: Printing support cannot be used without constraints so it won't be compiled without it" >&2;}
47711 cat >>confdefs.h
<<\_ACEOF
47712 #define wxUSE_PRINTING_ARCHITECTURE 1
47716 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS printing"
47719 if test "$wxUSE_POSTSCRIPT" = "yes" ; then
47720 cat >>confdefs.h
<<\_ACEOF
47721 #define wxUSE_POSTSCRIPT 1
47726 cat >>confdefs.h
<<\_ACEOF
47727 #define wxUSE_AFM_FOR_POSTSCRIPT 1
47731 if test "$wxUSE_SVG" = "yes"; then
47732 cat >>confdefs.h
<<\_ACEOF
47733 #define wxUSE_SVG 1
47739 if test "$wxUSE_METAFILE" = "yes"; then
47740 if test "$wxUSE_MSW" != 1 -a "$wxUSE_MAC" != 1 -a "$wxUSE_PM" != 1; then
47741 { echo "$as_me:$LINENO: WARNING: wxMetafile is not available on this system... disabled" >&5
47742 echo "$as_me: WARNING: wxMetafile is not available on this system... disabled" >&2;}
47748 if test "$USE_WIN32" = 1 -a \
( "$wxUSE_DATAOBJ" = "yes" \
47749 -o "$wxUSE_CLIPBOARD" = "yes" \
47750 -o "$wxUSE_OLE" = "yes" \
47751 -o "$wxUSE_DRAG_AND_DROP" = "yes" \
) ; then
47752 { echo "$as_me:$LINENO: checking for ole2.h" >&5
47753 echo $ECHO_N "checking for ole2.h... $ECHO_C" >&6; }
47754 if test "${ac_cv_header_ole2_h+set}" = set; then
47755 echo $ECHO_N "(cached) $ECHO_C" >&6
47757 cat >conftest.
$ac_ext <<_ACEOF
47760 cat confdefs.h
>>conftest.
$ac_ext
47761 cat >>conftest.
$ac_ext <<_ACEOF
47762 /* end confdefs.h. */
47767 rm -f conftest.
$ac_objext
47768 if { (ac_try
="$ac_compile"
47769 case "(($ac_try" in
47770 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
47771 *) ac_try_echo=$ac_try;;
47773 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47774 (eval "$ac_compile") 2>conftest.er1
47776 grep -v '^ *+' conftest.er1 >conftest.err
47778 cat conftest.err >&5
47779 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47780 (exit $ac_status); } && {
47781 test -z "$ac_c_werror_flag" ||
47782 test ! -s conftest.err
47783 } && test -s conftest.$ac_objext; then
47784 ac_cv_header_ole2_h=yes
47786 echo "$as_me: failed program was:" >&5
47787 sed 's/^/| /' conftest.$ac_ext >&5
47789 ac_cv_header_ole2_h=no
47792 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47794 { echo "$as_me:$LINENO: result: $ac_cv_header_ole2_h" >&5
47795 echo "${ECHO_T}$ac_cv_header_ole2_h" >&6; }
47799 if test "$ac_cv_header_ole2_h" = "yes" ; then
47800 if test "$GCC" = yes ; then
47801 { echo "$as_me:$LINENO: checking if g++ requires -fvtable-thunks" >&5
47802 echo $ECHO_N "checking if g++ requires -fvtable-thunks... $ECHO_C" >&6; }
47803 cat >conftest.$ac_ext <<_ACEOF
47806 cat confdefs.h >>conftest.$ac_ext
47807 cat >>conftest.$ac_ext <<_ACEOF
47808 /* end confdefs.h. */
47809 #include <windows.h>
47819 rm -f conftest.$ac_objext
47820 if { (ac_try="$ac_compile"
47821 case "(($ac_try" in
47822 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
47823 *) ac_try_echo
=$ac_try;;
47825 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47826 (eval "$ac_compile") 2>conftest.er1
47828 grep -v '^ *+' conftest.er1
>conftest.err
47830 cat conftest.err
>&5
47831 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47832 (exit $ac_status); } && {
47833 test -z "$ac_c_werror_flag" ||
47834 test ! -s conftest.err
47835 } && test -s conftest.
$ac_objext; then
47836 { echo "$as_me:$LINENO: result: no" >&5
47837 echo "${ECHO_T}no" >&6; }
47839 echo "$as_me: failed program was:" >&5
47840 sed 's/^/| /' conftest.
$ac_ext >&5
47842 { echo "$as_me:$LINENO: result: yes" >&5
47843 echo "${ECHO_T}yes" >&6; }
47844 WXCONFIG_CXXFLAGS
="$WXCONFIG_CXXFLAGS -fvtable-thunks"
47847 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
47848 LIBS
=" -lrpcrt4 -loleaut32 -lole32 -luuid$LIBS"
47849 if test "$wxUSE_OLE" = "yes" ; then
47850 cat >>confdefs.h
<<\_ACEOF
47851 #define wxUSE_OLE 1
47854 cat >>confdefs.h
<<\_ACEOF
47855 #define wxUSE_OLE_AUTOMATION 1
47858 cat >>confdefs.h
<<\_ACEOF
47859 #define wxUSE_ACTIVEX 1
47862 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS oleauto"
47866 if test "$wxUSE_DATAOBJ" = "yes" ; then
47867 cat >>confdefs.h
<<\_ACEOF
47868 #define wxUSE_DATAOBJ 1
47873 { echo "$as_me:$LINENO: WARNING: Some features disabled because OLE headers not found" >&5
47874 echo "$as_me: WARNING: Some features disabled because OLE headers not found" >&2;}
47877 wxUSE_DRAG_AND_DROP
=no
47882 if test "$wxUSE_METAFILE" = "yes"; then
47883 cat >>confdefs.h
<<\_ACEOF
47884 #define wxUSE_METAFILE 1
47888 cat >>confdefs.h
<<\_ACEOF
47889 #define wxUSE_ENH_METAFILE 1
47895 if test "$wxUSE_IPC" = "yes"; then
47896 if test "$wxUSE_SOCKETS" != "yes" -a "$USE_WIN32" != 1; then
47897 { echo "$as_me:$LINENO: WARNING: wxWidgets IPC classes require sockets... disabled" >&5
47898 echo "$as_me: WARNING: wxWidgets IPC classes require sockets... disabled" >&2;}
47902 if test "$wxUSE_IPC" = "yes"; then
47903 cat >>confdefs.h
<<\_ACEOF
47904 #define wxUSE_IPC 1
47907 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS ipc"
47911 if test "$wxUSE_DATAOBJ" = "yes"; then
47912 if test "$wxUSE_MGL" = 1 -o "$wxUSE_DFB" = 1; then
47913 { echo "$as_me:$LINENO: WARNING: wxDataObject not yet supported under $TOOLKIT... disabled" >&5
47914 echo "$as_me: WARNING: wxDataObject not yet supported under $TOOLKIT... disabled" >&2;}
47917 cat >>confdefs.h
<<\_ACEOF
47918 #define wxUSE_DATAOBJ 1
47923 { echo "$as_me:$LINENO: WARNING: Clipboard and drag-and-drop require wxDataObject -- disabled" >&5
47924 echo "$as_me: WARNING: Clipboard and drag-and-drop require wxDataObject -- disabled" >&2;}
47926 wxUSE_DRAG_AND_DROP
=no
47929 if test "$wxUSE_CLIPBOARD" = "yes"; then
47930 if test "$wxUSE_MGL" = 1 -o "$wxUSE_DFB" = 1; then
47931 { echo "$as_me:$LINENO: WARNING: Clipboard not yet supported under $TOOLKIT... disabled" >&5
47932 echo "$as_me: WARNING: Clipboard not yet supported under $TOOLKIT... disabled" >&2;}
47936 if test "$wxUSE_CLIPBOARD" = "yes"; then
47937 cat >>confdefs.h
<<\_ACEOF
47938 #define wxUSE_CLIPBOARD 1
47944 if test "$wxUSE_DRAG_AND_DROP" = "yes" ; then
47945 if test "$wxUSE_GTK" = 1; then
47946 if test "$WXGTK12" != 1; then
47947 { echo "$as_me:$LINENO: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&5
47948 echo "$as_me: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&2;}
47949 wxUSE_DRAG_AND_DROP
=no
47953 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_X11" = 1 -o "$wxUSE_MGL" = 1 -o \
47954 "$wxUSE_DFB" = 1; then
47955 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under $TOOLKIT... disabled" >&5
47956 echo "$as_me: WARNING: Drag and drop not yet supported under $TOOLKIT... disabled" >&2;}
47957 wxUSE_DRAG_AND_DROP
=no
47960 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
47961 cat >>confdefs.h
<<\_ACEOF
47962 #define wxUSE_DRAG_AND_DROP 1
47969 if test "$wxUSE_DRAG_AND_DROP" = "yes" -o "$wxUSE_CLIPBOARD" = "yes"; then
47970 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dnd"
47973 if test "$wxUSE_SPLINES" = "yes" ; then
47974 cat >>confdefs.h
<<\_ACEOF
47975 #define wxUSE_SPLINES 1
47980 if test "$wxUSE_MOUSEWHEEL" = "yes" ; then
47981 cat >>confdefs.h
<<\_ACEOF
47982 #define wxUSE_MOUSEWHEEL 1
47989 if test "$wxUSE_CONTROLS" = "yes"; then
47993 if test "$wxUSE_ACCEL" = "yes"; then
47994 cat >>confdefs.h
<<\_ACEOF
47995 #define wxUSE_ACCEL 1
48001 if test "$wxUSE_ANIMATIONCTRL" = "yes"; then
48002 cat >>confdefs.h
<<\_ACEOF
48003 #define wxUSE_ANIMATIONCTRL 1
48007 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS animate"
48010 if test "$wxUSE_BUTTON" = "yes"; then
48011 cat >>confdefs.h
<<\_ACEOF
48012 #define wxUSE_BUTTON 1
48018 if test "$wxUSE_BMPBUTTON" = "yes"; then
48019 cat >>confdefs.h
<<\_ACEOF
48020 #define wxUSE_BMPBUTTON 1
48026 if test "$wxUSE_CALCTRL" = "yes"; then
48027 cat >>confdefs.h
<<\_ACEOF
48028 #define wxUSE_CALENDARCTRL 1
48032 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS calendar"
48035 if test "$wxUSE_CARET" = "yes"; then
48036 cat >>confdefs.h
<<\_ACEOF
48037 #define wxUSE_CARET 1
48041 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS caret"
48044 if test "$wxUSE_COLLPANE" = "yes"; then
48045 cat >>confdefs.h
<<\_ACEOF
48046 #define wxUSE_COLLPANE 1
48050 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS collpane"
48053 if test "$wxUSE_COMBOBOX" = "yes"; then
48054 cat >>confdefs.h
<<\_ACEOF
48055 #define wxUSE_COMBOBOX 1
48061 if test "$wxUSE_COMBOCTRL" = "yes"; then
48062 cat >>confdefs.h
<<\_ACEOF
48063 #define wxUSE_COMBOCTRL 1
48069 if test "$wxUSE_CHOICE" = "yes"; then
48070 cat >>confdefs.h
<<\_ACEOF
48071 #define wxUSE_CHOICE 1
48077 if test "$wxUSE_CHOICEBOOK" = "yes"; then
48078 cat >>confdefs.h
<<\_ACEOF
48079 #define wxUSE_CHOICEBOOK 1
48085 if test "$wxUSE_CHECKBOX" = "yes"; then
48086 cat >>confdefs.h
<<\_ACEOF
48087 #define wxUSE_CHECKBOX 1
48093 if test "$wxUSE_CHECKLST" = "yes"; then
48094 cat >>confdefs.h
<<\_ACEOF
48095 #define wxUSE_CHECKLISTBOX 1
48101 if test "$wxUSE_COLOURPICKERCTRL" = "yes"; then
48102 cat >>confdefs.h
<<\_ACEOF
48103 #define wxUSE_COLOURPICKERCTRL 1
48109 if test "$wxUSE_DATEPICKCTRL" = "yes"; then
48110 cat >>confdefs.h
<<\_ACEOF
48111 #define wxUSE_DATEPICKCTRL 1
48117 if test "$wxUSE_DIRPICKERCTRL" = "yes"; then
48118 cat >>confdefs.h
<<\_ACEOF
48119 #define wxUSE_DIRPICKERCTRL 1
48125 if test "$wxUSE_FILEPICKERCTRL" = "yes"; then
48126 cat >>confdefs.h
<<\_ACEOF
48127 #define wxUSE_FILEPICKERCTRL 1
48133 if test "$wxUSE_FONTPICKERCTRL" = "yes"; then
48134 cat >>confdefs.h
<<\_ACEOF
48135 #define wxUSE_FONTPICKERCTRL 1
48141 if test "$wxUSE_DISPLAY" = "yes"; then
48142 if test "$wxUSE_DFB" = 1 -o "$wxUSE_MGL" = 1; then
48143 { echo "$as_me:$LINENO: WARNING: wxDisplay not yet supported under $TOOLKIT... disabled" >&5
48144 echo "$as_me: WARNING: wxDisplay not yet supported under $TOOLKIT... disabled" >&2;}
48147 cat >>confdefs.h
<<\_ACEOF
48148 #define wxUSE_DISPLAY 1
48151 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS display"
48155 if test "$wxUSE_DETECT_SM" = "yes"; then
48156 cat >>confdefs.h
<<\_ACEOF
48157 #define wxUSE_DETECT_SM 1
48162 if test "$wxUSE_GAUGE" = "yes"; then
48163 cat >>confdefs.h
<<\_ACEOF
48164 #define wxUSE_GAUGE 1
48170 if test "$wxUSE_GRID" = "yes"; then
48171 cat >>confdefs.h
<<\_ACEOF
48172 #define wxUSE_GRID 1
48176 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS grid"
48179 if test "$wxUSE_HYPERLINKCTRL" = "yes"; then
48180 cat >>confdefs.h
<<\_ACEOF
48181 #define wxUSE_HYPERLINKCTRL 1
48187 if test "$wxUSE_BITMAPCOMBOBOX" = "yes"; then
48188 cat >>confdefs.h
<<\_ACEOF
48189 #define wxUSE_BITMAPCOMBOBOX 1
48195 if test "$wxUSE_DATAVIEWCTRL" = "yes"; then
48196 cat >>confdefs.h
<<\_ACEOF
48197 #define wxUSE_DATAVIEWCTRL 1
48201 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dataview"
48204 if test "$wxUSE_IMAGLIST" = "yes"; then
48205 cat >>confdefs.h
<<\_ACEOF
48206 #define wxUSE_IMAGLIST 1
48211 if test "$wxUSE_LISTBOOK" = "yes"; then
48212 cat >>confdefs.h
<<\_ACEOF
48213 #define wxUSE_LISTBOOK 1
48219 if test "$wxUSE_LISTBOX" = "yes"; then
48220 cat >>confdefs.h
<<\_ACEOF
48221 #define wxUSE_LISTBOX 1
48227 if test "$wxUSE_LISTCTRL" = "yes"; then
48228 if test "$wxUSE_IMAGLIST" = "yes"; then
48229 cat >>confdefs.h
<<\_ACEOF
48230 #define wxUSE_LISTCTRL 1
48234 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS listctrl"
48236 { echo "$as_me:$LINENO: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&5
48237 echo "$as_me: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&2;}
48241 if test "$wxUSE_EDITABLELISTBOX" = "yes"; then
48242 cat >>confdefs.h
<<\_ACEOF
48243 #define wxUSE_EDITABLELISTBOX 1
48247 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS editlbox"
48250 if test "$wxUSE_NOTEBOOK" = "yes"; then
48251 cat >>confdefs.h
<<\_ACEOF
48252 #define wxUSE_NOTEBOOK 1
48256 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS notebook"
48259 if test "$wxUSE_ODCOMBOBOX" = "yes"; then
48260 cat >>confdefs.h
<<\_ACEOF
48261 #define wxUSE_ODCOMBOBOX 1
48265 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS combo"
48268 if test "$wxUSE_RADIOBOX" = "yes"; then
48269 cat >>confdefs.h
<<\_ACEOF
48270 #define wxUSE_RADIOBOX 1
48276 if test "$wxUSE_RADIOBTN" = "yes"; then
48277 cat >>confdefs.h
<<\_ACEOF
48278 #define wxUSE_RADIOBTN 1
48284 if test "$wxUSE_SASH" = "yes"; then
48285 cat >>confdefs.h
<<\_ACEOF
48286 #define wxUSE_SASH 1
48289 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS sashtest"
48292 if test "$wxUSE_SCROLLBAR" = "yes"; then
48293 cat >>confdefs.h
<<\_ACEOF
48294 #define wxUSE_SCROLLBAR 1
48298 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS scroll scrollsub"
48301 if test "$wxUSE_SEARCHCTRL" = "yes"; then
48302 cat >>confdefs.h
<<\_ACEOF
48303 #define wxUSE_SEARCHCTRL 1
48309 if test "$wxUSE_SLIDER" = "yes"; then
48310 cat >>confdefs.h
<<\_ACEOF
48311 #define wxUSE_SLIDER 1
48317 if test "$wxUSE_SPINBTN" = "yes"; then
48318 cat >>confdefs.h
<<\_ACEOF
48319 #define wxUSE_SPINBTN 1
48325 if test "$wxUSE_SPINCTRL" = "yes"; then
48326 cat >>confdefs.h
<<\_ACEOF
48327 #define wxUSE_SPINCTRL 1
48333 if test "$wxUSE_SPLITTER" = "yes"; then
48334 cat >>confdefs.h
<<\_ACEOF
48335 #define wxUSE_SPLITTER 1
48338 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS splitter"
48341 if test "$wxUSE_STATBMP" = "yes"; then
48342 cat >>confdefs.h
<<\_ACEOF
48343 #define wxUSE_STATBMP 1
48349 if test "$wxUSE_STATBOX" = "yes"; then
48350 cat >>confdefs.h
<<\_ACEOF
48351 #define wxUSE_STATBOX 1
48357 if test "$wxUSE_STATTEXT" = "yes"; then
48358 cat >>confdefs.h
<<\_ACEOF
48359 #define wxUSE_STATTEXT 1
48365 if test "$wxUSE_STATLINE" = "yes"; then
48366 cat >>confdefs.h
<<\_ACEOF
48367 #define wxUSE_STATLINE 1
48373 if test "$wxUSE_STATUSBAR" = "yes"; then
48374 cat >>confdefs.h
<<\_ACEOF
48375 #define wxUSE_NATIVE_STATUSBAR 1
48378 cat >>confdefs.h
<<\_ACEOF
48379 #define wxUSE_STATUSBAR 1
48384 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS statbar"
48387 if test "$wxUSE_TAB_DIALOG" = "yes"; then
48388 cat >>confdefs.h
<<\_ACEOF
48389 #define wxUSE_TAB_DIALOG 1
48394 if test "$wxUSE_TEXTCTRL" = "yes"; then
48395 cat >>confdefs.h
<<\_ACEOF
48396 #define wxUSE_TEXTCTRL 1
48400 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS text"
48403 if test "$wxUSE_TOGGLEBTN" = "yes"; then
48404 if test "$wxUSE_COCOA" = 1 ; then
48405 { echo "$as_me:$LINENO: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&5
48406 echo "$as_me: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&2;}
48410 if test "$wxUSE_TOGGLEBTN" = "yes"; then
48411 cat >>confdefs.h
<<\_ACEOF
48412 #define wxUSE_TOGGLEBTN 1
48419 if test "$wxUSE_TOOLBAR" = "yes"; then
48420 cat >>confdefs.h
<<\_ACEOF
48421 #define wxUSE_TOOLBAR 1
48426 if test "$wxUSE_UNIVERSAL" = "yes"; then
48427 wxUSE_TOOLBAR_NATIVE
="no"
48429 wxUSE_TOOLBAR_NATIVE
="yes"
48430 cat >>confdefs.h
<<\_ACEOF
48431 #define wxUSE_TOOLBAR_NATIVE 1
48436 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS toolbar"
48439 if test "$wxUSE_TOOLTIPS" = "yes"; then
48440 if test "$wxUSE_MOTIF" = 1; then
48441 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet under Motif... disabled" >&5
48442 echo "$as_me: WARNING: wxTooltip not supported yet under Motif... disabled" >&2;}
48444 if test "$wxUSE_UNIVERSAL" = "yes"; then
48445 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&5
48446 echo "$as_me: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&2;}
48448 cat >>confdefs.h
<<\_ACEOF
48449 #define wxUSE_TOOLTIPS 1
48456 if test "$wxUSE_TREEBOOK" = "yes"; then
48457 cat >>confdefs.h
<<\_ACEOF
48458 #define wxUSE_TREEBOOK 1
48464 if test "$wxUSE_TOOLBOOK" = "yes"; then
48465 cat >>confdefs.h
<<\_ACEOF
48466 #define wxUSE_TOOLBOOK 1
48472 if test "$wxUSE_TREECTRL" = "yes"; then
48473 if test "$wxUSE_IMAGLIST" = "yes"; then
48474 cat >>confdefs.h
<<\_ACEOF
48475 #define wxUSE_TREECTRL 1
48479 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS treectrl"
48481 { echo "$as_me:$LINENO: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&5
48482 echo "$as_me: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&2;}
48486 if test "$wxUSE_POPUPWIN" = "yes"; then
48487 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 ; then
48488 { echo "$as_me:$LINENO: WARNING: Popup window not yet supported under Mac OS X... disabled" >&5
48489 echo "$as_me: WARNING: Popup window not yet supported under Mac OS X... disabled" >&2;}
48491 if test "$wxUSE_PM" = 1; then
48492 { echo "$as_me:$LINENO: WARNING: wxPopupWindow not yet supported under PM... disabled" >&5
48493 echo "$as_me: WARNING: wxPopupWindow not yet supported under PM... disabled" >&2;}
48495 cat >>confdefs.h
<<\_ACEOF
48496 #define wxUSE_POPUPWIN 1
48499 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS popup"
48506 if test "$wxUSE_DIALUP_MANAGER" = "yes"; then
48507 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 -o "$wxUSE_MGL" = 1; then
48508 { echo "$as_me:$LINENO: WARNING: Dialup manager not supported on this platform... disabled" >&5
48509 echo "$as_me: WARNING: Dialup manager not supported on this platform... disabled" >&2;}
48511 cat >>confdefs.h
<<\_ACEOF
48512 #define wxUSE_DIALUP_MANAGER 1
48515 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dialup"
48519 if test "$wxUSE_TIPWINDOW" = "yes"; then
48520 if test "$wxUSE_PM" = 1; then
48521 { echo "$as_me:$LINENO: WARNING: wxTipWindow not yet supported under PM... disabled" >&5
48522 echo "$as_me: WARNING: wxTipWindow not yet supported under PM... disabled" >&2;}
48524 cat >>confdefs.h
<<\_ACEOF
48525 #define wxUSE_TIPWINDOW 1
48531 if test "$USES_CONTROLS" = 1; then
48532 cat >>confdefs.h
<<\_ACEOF
48533 #define wxUSE_CONTROLS 1
48539 if test "$wxUSE_ACCESSIBILITY" = "yes"; then
48540 cat >>confdefs.h
<<\_ACEOF
48541 #define wxUSE_ACCESSIBILITY 1
48544 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS access"
48547 if test "$wxUSE_DRAGIMAGE" = "yes"; then
48548 cat >>confdefs.h
<<\_ACEOF
48549 #define wxUSE_DRAGIMAGE 1
48552 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dragimag"
48555 if test "$wxUSE_EXCEPTIONS" = "yes"; then
48556 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
48557 { echo "$as_me:$LINENO: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&5
48558 echo "$as_me: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&2;}
48560 cat >>confdefs.h
<<\_ACEOF
48561 #define wxUSE_EXCEPTIONS 1
48564 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS except"
48569 if test "$wxUSE_HTML" = "yes"; then
48570 cat >>confdefs.h
<<\_ACEOF
48571 #define wxUSE_HTML 1
48575 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS html html/about html/help html/helpview html/printing html/test html/virtual html/widget html/zip htlbox"
48576 if test "$wxUSE_MAC" = 1; then
48577 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS html/htmlctrl"
48580 if test "$wxUSE_WEBKIT" = "yes"; then
48581 if test "$wxUSE_MAC" = 1 -a "$USE_DARWIN" = 1; then
48582 old_CPPFLAGS
="$CPPFLAGS"
48583 CPPFLAGS
="-x objective-c++ $CPPFLAGS"
48584 { echo "$as_me:$LINENO: checking for WebKit/HIWebView.h" >&5
48585 echo $ECHO_N "checking for WebKit/HIWebView.h... $ECHO_C" >&6; }
48586 if test "${ac_cv_header_WebKit_HIWebView_h+set}" = set; then
48587 echo $ECHO_N "(cached) $ECHO_C" >&6
48589 cat >conftest.
$ac_ext <<_ACEOF
48592 cat confdefs.h
>>conftest.
$ac_ext
48593 cat >>conftest.
$ac_ext <<_ACEOF
48594 /* end confdefs.h. */
48596 #include <Carbon/Carbon.h>
48597 #include <WebKit/WebKit.h>
48600 #include <WebKit/HIWebView.h>
48602 rm -f conftest.
$ac_objext
48603 if { (ac_try
="$ac_compile"
48604 case "(($ac_try" in
48605 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
48606 *) ac_try_echo=$ac_try;;
48608 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
48609 (eval "$ac_compile") 2>conftest.er1
48611 grep -v '^ *+' conftest.er1 >conftest.err
48613 cat conftest.err >&5
48614 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48615 (exit $ac_status); } && {
48616 test -z "$ac_c_werror_flag" ||
48617 test ! -s conftest.err
48618 } && test -s conftest.$ac_objext; then
48619 ac_cv_header_WebKit_HIWebView_h=yes
48621 echo "$as_me: failed program was:" >&5
48622 sed 's/^/| /' conftest.$ac_ext >&5
48624 ac_cv_header_WebKit_HIWebView_h=no
48627 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48629 { echo "$as_me:$LINENO: result: $ac_cv_header_WebKit_HIWebView_h" >&5
48630 echo "${ECHO_T}$ac_cv_header_WebKit_HIWebView_h" >&6; }
48631 if test $ac_cv_header_WebKit_HIWebView_h = yes; then
48633 cat >>confdefs.h <<\_ACEOF
48634 #define wxUSE_WEBKIT 1
48637 WEBKIT_LINK="-framework WebKit"
48641 { echo "$as_me:$LINENO: WARNING: WebKit headers not found; disabling wxWebKit" >&5
48642 echo "$as_me: WARNING: WebKit headers not found; disabling wxWebKit" >&2;}
48648 CPPFLAGS="$old_CPPFLAGS"
48649 elif test "$wxUSE_COCOA" = 1; then
48650 cat >>confdefs.h <<\_ACEOF
48651 #define wxUSE_WEBKIT 1
48660 if test "$wxUSE_XRC" = "yes"; then
48661 if test "$wxUSE_XML" != "yes"; then
48662 { echo "$as_me:$LINENO: WARNING: XML library not built, XRC resources disabled" >&5
48663 echo "$as_me: WARNING: XML library not built, XRC resources disabled" >&2;}
48666 cat >>confdefs.h <<\_ACEOF
48667 #define wxUSE_XRC 1
48671 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS xrc"
48676 if test "$wxUSE_AUI" = "yes"; then
48677 cat >>confdefs.h <<\_ACEOF
48678 #define wxUSE_AUI 1
48682 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS aui"
48686 if test "$wxUSE_STC" = "yes"; then
48687 cat >>confdefs.h <<\_ACEOF
48688 #define wxUSE_STC 1
48692 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS stc"
48695 if test "$wxUSE_MENUS" = "yes"; then
48696 cat >>confdefs.h <<\_ACEOF
48697 #define wxUSE_MENUS 1
48700 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS menu"
48703 if test "$wxUSE_METAFILE" = "yes"; then
48704 cat >>confdefs.h <<\_ACEOF
48705 #define wxUSE_METAFILE 1
48710 if test "$wxUSE_MIMETYPE" = "yes"; then
48711 cat >>confdefs.h <<\_ACEOF
48712 #define wxUSE_MIMETYPE 1
48717 if test "$wxUSE_MINIFRAME" = "yes"; then
48718 cat >>confdefs.h <<\_ACEOF
48719 #define wxUSE_MINIFRAME 1
48724 if test "$wxUSE_SYSTEM_OPTIONS" = "yes"; then
48725 cat >>confdefs.h <<\_ACEOF
48726 #define wxUSE_SYSTEM_OPTIONS 1
48731 if test "$wxUSE_TASKBARICON" = "yes"; then
48732 cat >>confdefs.h <<\_ACEOF
48733 #define wxUSE_TASKBARICON 1
48736 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS taskbar"
48740 if test "$wxUSE_VALIDATORS" = "yes"; then
48741 cat >>confdefs.h <<\_ACEOF
48742 #define wxUSE_VALIDATORS 1
48745 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS validate"
48748 if test "$wxUSE_PALETTE" = "yes" ; then
48749 if test "$wxUSE_DFB" = 1; then
48750 { echo "$as_me:$LINENO: WARNING: wxPalette not yet supported under DFB... disabled" >&5
48751 echo "$as_me: WARNING: wxPalette not yet supported under DFB... disabled" >&2;}
48754 cat >>confdefs.h <<\_ACEOF
48755 #define wxUSE_PALETTE 1
48761 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_MSLU" = "yes" ; then
48762 LIBS=" -lunicows $LIBS"
48766 if test "$wxUSE_RICHTEXT" = "yes"; then
48767 cat >>confdefs.h <<\_ACEOF
48768 #define wxUSE_RICHTEXT 1
48772 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS richtext"
48776 if test "$wxUSE_IMAGE" = "yes" ; then
48777 cat >>confdefs.h <<\_ACEOF
48778 #define wxUSE_IMAGE 1
48782 if test "$wxUSE_GIF" = "yes" ; then
48783 cat >>confdefs.h <<\_ACEOF
48784 #define wxUSE_GIF 1
48789 if test "$wxUSE_PCX" = "yes" ; then
48790 cat >>confdefs.h <<\_ACEOF
48791 #define wxUSE_PCX 1
48796 if test "$wxUSE_TGA" = "yes" ; then
48797 cat >>confdefs.h <<\_ACEOF
48798 #define wxUSE_TGA 1
48803 if test "$wxUSE_IFF" = "yes" ; then
48804 cat >>confdefs.h <<\_ACEOF
48805 #define wxUSE_IFF 1
48810 if test "$wxUSE_PNM" = "yes" ; then
48811 cat >>confdefs.h <<\_ACEOF
48812 #define wxUSE_PNM 1
48817 if test "$wxUSE_XPM" = "yes" ; then
48818 cat >>confdefs.h <<\_ACEOF
48819 #define wxUSE_XPM 1
48824 if test "$wxUSE_ICO_CUR" = "yes" ; then
48825 cat >>confdefs.h <<\_ACEOF
48826 #define wxUSE_ICO_CUR 1
48833 if test "$wxUSE_ABOUTDLG" = "yes"; then
48834 cat >>confdefs.h <<\_ACEOF
48835 #define wxUSE_ABOUTDLG 1
48840 if test "$wxUSE_CHOICEDLG" = "yes"; then
48841 cat >>confdefs.h <<\_ACEOF
48842 #define wxUSE_CHOICEDLG 1
48847 if test "$wxUSE_COLOURDLG" = "yes"; then
48848 cat >>confdefs.h <<\_ACEOF
48849 #define wxUSE_COLOURDLG 1
48854 if test "$wxUSE_FILEDLG" = "yes"; then
48855 cat >>confdefs.h <<\_ACEOF
48856 #define wxUSE_FILEDLG 1
48861 if test "$wxUSE_FINDREPLDLG" = "yes"; then
48862 cat >>confdefs.h <<\_ACEOF
48863 #define wxUSE_FINDREPLDLG 1
48868 if test "$wxUSE_FONTDLG" = "yes"; then
48869 cat >>confdefs.h <<\_ACEOF
48870 #define wxUSE_FONTDLG 1
48875 if test "$wxUSE_DIRDLG" = "yes"; then
48876 if test "$wxUSE_TREECTRL" != "yes"; then
48877 { echo "$as_me:$LINENO: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&5
48878 echo "$as_me: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&2;}
48880 cat >>confdefs.h <<\_ACEOF
48881 #define wxUSE_DIRDLG 1
48887 if test "$wxUSE_MSGDLG" = "yes"; then
48888 cat >>confdefs.h <<\_ACEOF
48889 #define wxUSE_MSGDLG 1
48894 if test "$wxUSE_NUMBERDLG" = "yes"; then
48895 cat >>confdefs.h <<\_ACEOF
48896 #define wxUSE_NUMBERDLG 1
48901 if test "$wxUSE_PROGRESSDLG" = "yes"; then
48902 if test "$wxUSE_CONSTRAINTS" != "yes"; then
48903 { echo "$as_me:$LINENO: WARNING: wxProgressDialog requires constraints so it won't be compiled without them" >&5
48904 echo "$as_me: WARNING: wxProgressDialog requires constraints so it won't be compiled without them" >&2;}
48906 cat >>confdefs.h <<\_ACEOF
48907 #define wxUSE_PROGRESSDLG 1
48913 if test "$wxUSE_SPLASH" = "yes"; then
48914 cat >>confdefs.h <<\_ACEOF
48915 #define wxUSE_SPLASH 1
48918 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS splash"
48921 if test "$wxUSE_STARTUP_TIPS" = "yes"; then
48922 if test "$wxUSE_CONSTRAINTS" != "yes"; then
48923 { echo "$as_me:$LINENO: WARNING: Startup tips requires constraints and won't be compiled without them" >&5
48924 echo "$as_me: WARNING: Startup tips requires constraints and won't be compiled without them" >&2;}
48926 cat >>confdefs.h <<\_ACEOF
48927 #define wxUSE_STARTUP_TIPS 1
48933 if test "$wxUSE_TEXTDLG" = "yes"; then
48934 cat >>confdefs.h <<\_ACEOF
48935 #define wxUSE_TEXTDLG 1
48940 if test "$wxUSE_WIZARDDLG" = "yes"; then
48941 cat >>confdefs.h <<\_ACEOF
48942 #define wxUSE_WIZARDDLG 1
48945 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS wizard"
48949 if test "$wxUSE_MSW" = 1 ; then
48951 if test "$wxUSE_DC_CACHEING" = "yes"; then
48952 cat >>confdefs.h <<\_ACEOF
48953 #define wxUSE_DC_CACHEING 1
48958 if test "$wxUSE_INICONF" = "yes"; then
48959 cat >>confdefs.h <<\_ACEOF
48960 #define wxUSE_INICONF 1
48965 if test "$wxUSE_DIB" = "yes"; then
48966 cat >>confdefs.h <<\_ACEOF
48967 #define wxUSE_WXDIB 1
48972 if test "$wxUSE_OWNER_DRAWN" = "yes"; then
48973 cat >>confdefs.h <<\_ACEOF
48974 #define wxUSE_OWNER_DRAWN 1
48979 if test "$wxUSE_REGKEY" = "yes"; then
48980 cat >>confdefs.h <<\_ACEOF
48981 #define wxUSE_REGKEY 1
48986 if test "$wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW" = "yes"; then
48987 cat >>confdefs.h <<\_ACEOF
48988 #define wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW 1
48993 if test "$wxUSE_UXTHEME" = "yes"; then
48994 cat >>confdefs.h <<\_ACEOF
48995 #define wxUSE_UXTHEME 1
49003 if test "$wxUSE_GRAPHICS_CONTEXT" = "yes"; then
49004 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = "1"; then
49005 cat >>confdefs.h <<\_ACEOF
49006 #define wxUSE_GRAPHICS_CONTEXT 1
49009 elif test "$wxUSE_GTK" != 1; then
49010 cat >>confdefs.h <<\_ACEOF
49011 #define wxUSE_GRAPHICS_CONTEXT 1
49017 { echo "$as_me:$LINENO: checking for CAIRO" >&5
49018 echo $ECHO_N "checking for CAIRO... $ECHO_C" >&6; }
49020 if test -n "$PKG_CONFIG"; then
49021 if test -n "$CAIRO_CFLAGS"; then
49022 pkg_cv_CAIRO_CFLAGS="$CAIRO_CFLAGS"
49024 if test -n "$PKG_CONFIG" && \
49025 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"cairo\"") >&5
49026 ($PKG_CONFIG --exists --print-errors "cairo") 2>&5
49028 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49029 (exit $ac_status); }; then
49030 pkg_cv_CAIRO_CFLAGS=`$PKG_CONFIG --cflags "cairo" 2>/dev
/null
`
49038 if test -n "$PKG_CONFIG"; then
49039 if test -n "$CAIRO_LIBS"; then
49040 pkg_cv_CAIRO_LIBS="$CAIRO_LIBS"
49042 if test -n "$PKG_CONFIG" && \
49043 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"cairo\"") >&5
49044 ($PKG_CONFIG --exists --print-errors "cairo") 2>&5
49046 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49047 (exit $ac_status); }; then
49048 pkg_cv_CAIRO_LIBS=`$PKG_CONFIG --libs "cairo" 2>/dev
/null
`
49059 if test $pkg_failed = yes; then
49061 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
49062 _pkg_short_errors_supported=yes
49064 _pkg_short_errors_supported=no
49066 if test $_pkg_short_errors_supported = yes; then
49067 CAIRO_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "cairo"`
49069 CAIRO_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "cairo"`
49071 # Put the nasty error message in config.log where it belongs
49072 echo "$CAIRO_PKG_ERRORS" >&5
49074 { echo "$as_me:$LINENO: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&5
49075 echo "$as_me: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&2;}
49077 elif test $pkg_failed = untried; then
49078 { echo "$as_me:$LINENO: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&5
49079 echo "$as_me: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&2;}
49082 CAIRO_CFLAGS=$pkg_cv_CAIRO_CFLAGS
49083 CAIRO_LIBS=$pkg_cv_CAIRO_LIBS
49084 { echo "$as_me:$LINENO: result: yes" >&5
49085 echo "${ECHO_T}yes" >&6; }
49086 cat >>confdefs.h <<\_ACEOF
49087 #define wxUSE_GRAPHICS_CONTEXT 1
49097 if test "$wxUSE_MEDIACTRL" = "yes"; then
49100 if test "$wxUSE_GTK" = 1; then
49101 wxUSE_GSTREAMER="no"
49103 GST_VERSION_MAJOR=0
49104 GST_VERSION_MINOR=10
49105 GST_VERSION=$GST_VERSION_MAJOR.$GST_VERSION_MINOR
49107 if test "$wxUSE_GSTREAMER8" = "no"; then
49110 { echo "$as_me:$LINENO: checking for GST" >&5
49111 echo $ECHO_N "checking for GST... $ECHO_C" >&6; }
49113 if test -n "$PKG_CONFIG"; then
49114 if test -n "$GST_CFLAGS"; then
49115 pkg_cv_GST_CFLAGS="$GST_CFLAGS"
49117 if test -n "$PKG_CONFIG" && \
49118 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-plugins-base-\$GST_VERSION gconf-2.0\"") >&5
49119 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0") 2>&5
49121 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49122 (exit $ac_status); }; then
49123 pkg_cv_GST_CFLAGS=`$PKG_CONFIG --cflags "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0" 2>/dev
/null
`
49131 if test -n "$PKG_CONFIG"; then
49132 if test -n "$GST_LIBS"; then
49133 pkg_cv_GST_LIBS="$GST_LIBS"
49135 if test -n "$PKG_CONFIG" && \
49136 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-plugins-base-\$GST_VERSION gconf-2.0\"") >&5
49137 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0") 2>&5
49139 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49140 (exit $ac_status); }; then
49141 pkg_cv_GST_LIBS=`$PKG_CONFIG --libs "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0" 2>/dev
/null
`
49152 if test $pkg_failed = yes; then
49154 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
49155 _pkg_short_errors_supported=yes
49157 _pkg_short_errors_supported=no
49159 if test $_pkg_short_errors_supported = yes; then
49160 GST_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0"`
49162 GST_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0"`
49164 # Put the nasty error message in config.log where it belongs
49165 echo "$GST_PKG_ERRORS" >&5
49168 { echo "$as_me:$LINENO: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&5
49169 echo "$as_me: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&2;}
49170 GST_VERSION_MINOR=8
49173 elif test $pkg_failed = untried; then
49175 { echo "$as_me:$LINENO: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&5
49176 echo "$as_me: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&2;}
49177 GST_VERSION_MINOR=8
49181 GST_CFLAGS=$pkg_cv_GST_CFLAGS
49182 GST_LIBS=$pkg_cv_GST_LIBS
49183 { echo "$as_me:$LINENO: result: yes" >&5
49184 echo "${ECHO_T}yes" >&6; }
49186 wxUSE_GSTREAMER="yes"
49187 GST_LIBS="$GST_LIBS -lgstinterfaces-$GST_VERSION"
49191 GST_VERSION_MINOR=8
49194 if test $GST_VERSION_MINOR = "8"; then
49195 GST_VERSION=$GST_VERSION_MAJOR.$GST_VERSION_MINOR
49198 { echo "$as_me:$LINENO: checking for GST" >&5
49199 echo $ECHO_N "checking for GST... $ECHO_C" >&6; }
49201 if test -n "$PKG_CONFIG"; then
49202 if test -n "$GST_CFLAGS"; then
49203 pkg_cv_GST_CFLAGS="$GST_CFLAGS"
49205 if test -n "$PKG_CONFIG" && \
49206 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-interfaces-\$GST_VERSION gstreamer-gconf-\$GST_VERSION\"") >&5
49207 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION") 2>&5
49209 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49210 (exit $ac_status); }; then
49211 pkg_cv_GST_CFLAGS=`$PKG_CONFIG --cflags "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION" 2>/dev
/null
`
49219 if test -n "$PKG_CONFIG"; then
49220 if test -n "$GST_LIBS"; then
49221 pkg_cv_GST_LIBS="$GST_LIBS"
49223 if test -n "$PKG_CONFIG" && \
49224 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-interfaces-\$GST_VERSION gstreamer-gconf-\$GST_VERSION\"") >&5
49225 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION") 2>&5
49227 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49228 (exit $ac_status); }; then
49229 pkg_cv_GST_LIBS=`$PKG_CONFIG --libs "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION" 2>/dev
/null
`
49240 if test $pkg_failed = yes; then
49242 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
49243 _pkg_short_errors_supported=yes
49245 _pkg_short_errors_supported=no
49247 if test $_pkg_short_errors_supported = yes; then
49248 GST_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION"`
49250 GST_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION"`
49252 # Put the nasty error message in config.log where it belongs
49253 echo "$GST_PKG_ERRORS" >&5
49256 { echo "$as_me:$LINENO: WARNING: GStreamer 0.8/0.10 not available." >&5
49257 echo "$as_me: WARNING: GStreamer 0.8/0.10 not available." >&2;}
49259 elif test $pkg_failed = untried; then
49261 { echo "$as_me:$LINENO: WARNING: GStreamer 0.8/0.10 not available." >&5
49262 echo "$as_me: WARNING: GStreamer 0.8/0.10 not available." >&2;}
49265 GST_CFLAGS=$pkg_cv_GST_CFLAGS
49266 GST_LIBS=$pkg_cv_GST_LIBS
49267 { echo "$as_me:$LINENO: result: yes" >&5
49268 echo "${ECHO_T}yes" >&6; }
49269 wxUSE_GSTREAMER="yes"
49274 if test "$wxUSE_GSTREAMER" = "yes"; then
49275 CPPFLAGS="$GST_CFLAGS $CPPFLAGS"
49276 LIBS="$GST_LIBS $LIBS"
49278 cat >>confdefs.h <<\_ACEOF
49279 #define wxUSE_GSTREAMER 1
49287 if test $USE_MEDIA = 1; then
49288 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS mediaplayer"
49289 cat >>confdefs.h <<\_ACEOF
49290 #define wxUSE_MEDIACTRL 1
49297 if test "$cross_compiling" = "yes"; then
49300 OSINFO=`uname
-s -r -m`
49301 OSINFO="\"$OSINFO\""
49304 cat >>confdefs.h <<_ACEOF
49305 #define WXWIN_OS_DESCRIPTION $OSINFO
49310 if test "x$prefix" != "xNONE"; then
49313 wxPREFIX=$ac_default_prefix
49316 cat >>confdefs.h <<_ACEOF
49317 #define wxINSTALL_PREFIX "$wxPREFIX"
49323 STD_BASE_LIBS="base"
49325 BUILT_WX_LIBS="base"
49326 ALL_WX_LIBS="xrc stc gl media dbgrid qa html adv core odbc xml net base"
49328 if test "$wxUSE_SOCKETS" = "yes" ; then
49329 STD_BASE_LIBS="net $STD_BASE_LIBS"
49330 BUILT_WX_LIBS="net $BUILT_WX_LIBS"
49332 if test "$wxUSE_ODBC" != "no" ; then
49333 BUILT_WX_LIBS="odbc $BUILT_WX_LIBS"
49335 if test "$wxUSE_XML" = "yes" ; then
49336 STD_BASE_LIBS="xml $STD_BASE_LIBS"
49337 BUILT_WX_LIBS="xml $BUILT_WX_LIBS"
49340 if test "$wxUSE_GUI" = "yes"; then
49341 STD_GUI_LIBS="adv core"
49342 BUILT_WX_LIBS="$STD_GUI_LIBS $BUILT_WX_LIBS"
49344 if test "$wxUSE_DEBUGREPORT" = "yes" ; then
49345 STD_GUI_LIBS="qa $STD_GUI_LIBS"
49346 BUILT_WX_LIBS="qa $BUILT_WX_LIBS"
49348 if test "$wxUSE_ODBC" != "no" ; then
49349 BUILT_WX_LIBS="dbgrid $BUILT_WX_LIBS"
49351 if test "$wxUSE_HTML" = "yes" ; then
49352 STD_GUI_LIBS="html $STD_GUI_LIBS"
49353 BUILT_WX_LIBS="html $BUILT_WX_LIBS"
49355 if test "$wxUSE_MEDIACTRL" = "yes" ; then
49356 BUILT_WX_LIBS="media $BUILT_WX_LIBS"
49358 if test "$wxUSE_OPENGL" = "yes" ; then
49359 BUILT_WX_LIBS="gl $BUILT_WX_LIBS"
49361 if test "$wxUSE_AUI" = "yes" ; then
49362 BUILT_WX_LIBS="aui $BUILT_WX_LIBS"
49364 if test "$wxUSE_STC" = "yes" ; then
49365 BUILT_WX_LIBS="stc $BUILT_WX_LIBS"
49367 if test "$wxUSE_XRC" = "yes" ; then
49368 STD_GUI_LIBS="xrc $STD_GUI_LIBS"
49369 BUILT_WX_LIBS="xrc $BUILT_WX_LIBS"
49380 if test "$wxUSE_MAC" = 1 ; then
49381 if test "$wxUSE_SOUND" = "yes" || test "$wxUSE_MEDIACTRL" = "yes"; then
49382 if test "$USE_DARWIN" = 1; then
49383 LDFLAGS="$LDFLAGS -framework QuickTime"
49385 LDFLAGS="$LDFLAGS -lQuickTimeLib"
49388 if test "$USE_DARWIN" = 1; then
49389 LDFLAGS="$LDFLAGS -framework IOKit -framework Carbon -framework Cocoa -framework System"
49391 LDFLAGS="$LDFLAGS -lCarbonLib"
49394 if test "$wxUSE_COCOA" = 1 ; then
49395 LDFLAGS="$LDFLAGS -framework IOKit -framework Cocoa"
49396 if test "$wxUSE_MEDIACTRL" = "yes"; then
49397 LDFLAGS="$LDFLAGS -framework QuickTime"
49400 if test "$USE_DARWIN" = 1 -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1 ; then
49401 LDFLAGS="$LDFLAGS -framework IOKit -framework CoreServices -framework System -framework ApplicationServices"
49404 LIBS="$ZLIB_LINK $POSIX4_LINK $INET_LINK $WCHAR_LINK $DL_LINK $LIBS"
49406 if test "$wxUSE_GUI" = "yes"; then
49409 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS artprov controls dialogs drawing \
49410 erase event exec font image minimal mobile \
49411 mobile/wxedit mobile/styles render \
49412 shaped svg taborder vscroll widgets"
49414 if test "$wxUSE_MONOLITHIC" != "yes"; then
49415 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS console"
49417 if test "$TOOLKIT" = "MSW"; then
49418 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS regtest"
49419 if test "$wxUSE_UNIVERSAL" != "yes"; then
49420 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ownerdrw nativdlg"
49423 if test "$TOOLKIT" = "PM" -a "$wxUSE_UNIVERSAL" != "yes"; then
49424 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ownerdrw"
49427 SAMPLES_SUBDIRS="console"
49431 if test "x$INTELCC" = "xyes" ; then
49432 CWARNINGS="-Wall -wd810,869,981,1418,1572,1684"
49433 elif test "$GCC" = yes ; then
49434 CWARNINGS="-Wall -Wundef"
49437 if test "x$INTELCXX" = "xyes" ; then
49438 CXXWARNINGS="-Wall -wd279,383,444,810,869,981,1418,1419"
49439 elif test "$GXX" = yes ; then
49440 CXXWARNINGS="-Wall -Wundef -Wno-ctor-dtor-privacy"
49444 WXCONFIG_CFLAGS=`echo $WXCONFIG_CFLAGS`
49445 WXCONFIG_CXXFLAGS=`echo $WXCONFIG_CFLAGS $WXCONFIG_CXXFLAGS`
49448 CPPFLAGS=`echo $WXCONFIG_CPPFLAGS \
49449 -I\\${wx_top_builddir}/lib
/wx
/include
/${TOOLCHAIN_FULLNAME} \
49450 -I\\${top_srcdir}/include
$TOOLKIT_INCLUDE \
49453 C_AND_CXX_FLAGS="$DEBUG_CFLAGS $PROFILE_FLAGS $OPTIMISE_CFLAGS"
49454 CFLAGS=`echo $WXCONFIG_CFLAGS $CWARNINGS $C_AND_CXX_FLAGS $CFLAGS `
49455 CXXFLAGS=`echo $WXCONFIG_CXXFLAGS $C_AND_CXX_FLAGS $CXXFLAGS `
49457 WXCONFIG_CPPFLAGS=`echo $WXCONFIG_CPPFLAGS $WXCONFIG_ONLY_CPPFLAGS`
49460 if test "x$MWCC" = "xyes"; then
49462 CC="$CC -cwd source -I-"
49463 CXX="$CXX -cwd source -I-"
49468 EXTRALIBS="$LDFLAGS $LDFLAGS_VERSIONING $LIBS $DMALLOC_LIBS"
49469 EXTRALIBS_XML="$EXPAT_LINK"
49470 EXTRALIBS_HTML="$MSPACK_LINK"
49471 EXTRALIBS_ODBC="$ODBC_LINK"
49472 EXTRALIBS_STC="-lwxscintilla${lib_debug_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX}"
49473 if test "$wxUSE_GUI" = "yes"; then
49474 EXTRALIBS_GUI=`echo $GUI_TK_LIBRARY $PNG_LINK $JPEG_LINK $TIFF_LINK $WEBKIT_LINK $EXTRALIBS_HILDON $EXTRALIBS_GNOMEVFS $EXTRALIBS_GNOMEPRINT`
49476 if test "$wxUSE_OPENGL" = "yes"; then
49477 EXTRALIBS_OPENGL="$LDFLAGS_GL $OPENGL_LIBS"
49480 LDFLAGS="$LDFLAGS $PROFILE_FLAGS"
49482 WXCONFIG_LIBS="$LIBS"
49484 if test "$wxUSE_REGEX" = "builtin" ; then
49485 wxconfig_3rdparty="regex${lib_unicode_suffix} $wxconfig_3rdparty"
49487 if test "$wxUSE_EXPAT" = "builtin" ; then
49488 wxconfig_3rdparty="expat $wxconfig_3rdparty"
49490 if test "$wxUSE_ODBC" = "builtin" ; then
49491 wxconfig_3rdparty="odbc $wxconfig_3rdparty"
49493 if test "$wxUSE_LIBTIFF" = "builtin" ; then
49494 wxconfig_3rdparty="tiff $wxconfig_3rdparty"
49496 if test "$wxUSE_LIBJPEG" = "builtin" ; then
49497 wxconfig_3rdparty="jpeg $wxconfig_3rdparty"
49499 if test "$wxUSE_LIBPNG" = "builtin" ; then
49500 wxconfig_3rdparty="png $wxconfig_3rdparty"
49502 if test "$wxUSE_ZLIB" = "builtin" ; then
49503 wxconfig_3rdparty="zlib $wxconfig_3rdparty"
49506 for i in $wxconfig_3rdparty ; do
49507 WXCONFIG_LIBS="-lwx${i}${lib_debug_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX} $WXCONFIG_LIBS"
49511 if test "x$wxUSE_UNIVERSAL" = "xyes" ; then
49514 case "$wxUNIV_THEMES" in
49516 cat >>confdefs.h <<\_ACEOF
49517 #define wxUSE_ALL_THEMES 1
49523 for t in `echo $wxUNIV_THEMES | tr , ' ' | tr a
-z A
-Z`; do
49524 cat >>confdefs.h <<_ACEOF
49525 #define wxUSE_THEME_$t 1
49542 if test $wxUSE_MONOLITHIC = "yes" ; then
49548 if test $wxUSE_PLUGINS = "yes" ; then
49554 if test $wxUSE_ODBC != "no" ; then
49560 if test "$wxUSE_DEBUGREPORT" = "yes" ; then
49566 if test $wxUSE_OFFICIAL_BUILD = "yes" ; then
49597 TOOLKIT_LOWERCASE=`echo $TOOLKIT | tr "[A-Z]" "[a-z]"`
49608 TOOLKIT_DESC="GTK+"
49609 if test "$WXGTK20" = 1; then
49610 TOOLKIT_DESC="$TOOLKIT_DESC 2"
49611 if test "$wxUSE_LIBGNOMEPRINT" = "yes" ; then
49612 TOOLKIT_EXTRA="$TOOLKIT_EXTRA gnomeprint";
49614 if test "$wxUSE_LIBGNOMEVFS" = "yes" ; then
49615 TOOLKIT_EXTRA="$TOOLKIT_EXTRA gnomevfs"
49617 if test "$wxUSE_LIBHILDON" = "yes"; then
49618 TOOLKIT_EXTRA="$TOOLKIT_EXTRA hildon"
49621 if test "$TOOLKIT_EXTRA" != ""; then
49622 TOOLKIT_DESC="$TOOLKIT_DESC with support for `echo $TOOLKIT_EXTRA | tr -s ' '`"
49628 TOOLKIT_DESC=$TOOLKIT_LOWERCASE
49632 TOOLKIT_DESC="base only"
49636 if test "$wxUSE_WINE" = "yes"; then
49637 BAKEFILE_FORCE_PLATFORM=win32
49640 if test "$wxUSE_UNICODE" = yes -a "$GCC" = yes -a "$bk_use_pch" != no
49642 { echo "$as_me:$LINENO: checking for gcc precompiled header bug" >&5
49643 echo $ECHO_N "checking for gcc precompiled header bug... $ECHO_C" >&6; }
49644 if test "${wx_cv_gcc_pch_bug+set}" = set; then
49645 echo $ECHO_N "(cached) $ECHO_C" >&6
49648 echo '#include <stdio.h>
49649 const wchar_t test_var[] = L"awidetest";' > conftest.h
49651 echo '#include "conftest.h"
49654 printf("%ls", test_var);
49658 wx_cv_gcc_pch_bug="pch not supported"
49660 if $CXX conftest.h >/dev/null 2>&1
49664 if $CXX -o conftest$PROGRAM_EXT conftest.cpp >/dev/null 2>&1
49666 if tr -dc '[a-z]' < conftest$PROGRAM_EXT |
49667 grep awidetest >/dev/null
49669 wx_cv_gcc_pch_bug=no
49671 wx_cv_gcc_pch_bug=yes
49676 rm -f conftest.h conftest.gch conftest.cpp conftest$PROGRAM_EXT
49679 { echo "$as_me:$LINENO: result: $wx_cv_gcc_pch_bug" >&5
49680 echo "${ECHO_T}$wx_cv_gcc_pch_bug" >&6; }
49682 if test "$wx_cv_gcc_pch_bug" = yes; then
49690 if test "x$BAKEFILE_HOST" = "x"; then
49691 if test "x${host}" = "x" ; then
49692 { { echo "$as_me:$LINENO: error: You must call the autoconf \"CANONICAL_HOST\" macro in your configure.ac (or .in) file." >&5
49693 echo "$as_me: error: You must call the autoconf \"CANONICAL_HOST\" macro in your configure.ac (or .in) file." >&2;}
49694 { (exit 1); exit 1; }; }
49697 BAKEFILE_HOST="${host}"
49700 if test "x$BAKEFILE_CHECK_BASICS" != "xno"; then
49702 if test -n "$ac_tool_prefix"; then
49703 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
49704 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
49705 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49706 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49707 if test "${ac_cv_prog_RANLIB+set}" = set; then
49708 echo $ECHO_N "(cached) $ECHO_C" >&6
49710 if test -n "$RANLIB"; then
49711 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
49713 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49714 for as_dir in $PATH
49717 test -z "$as_dir" && as_dir=.
49718 for ac_exec_ext in '' $ac_executable_extensions; do
49719 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49720 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
49721 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49730 RANLIB=$ac_cv_prog_RANLIB
49731 if test -n "$RANLIB"; then
49732 { echo "$as_me:$LINENO: result: $RANLIB" >&5
49733 echo "${ECHO_T}$RANLIB" >&6; }
49735 { echo "$as_me:$LINENO: result: no" >&5
49736 echo "${ECHO_T}no" >&6; }
49741 if test -z "$ac_cv_prog_RANLIB"; then
49742 ac_ct_RANLIB=$RANLIB
49743 # Extract the first word of "ranlib", so it can be a program name with args.
49744 set dummy ranlib; ac_word=$2
49745 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49746 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49747 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
49748 echo $ECHO_N "(cached) $ECHO_C" >&6
49750 if test -n "$ac_ct_RANLIB"; then
49751 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
49753 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49754 for as_dir in $PATH
49757 test -z "$as_dir" && as_dir=.
49758 for ac_exec_ext in '' $ac_executable_extensions; do
49759 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49760 ac_cv_prog_ac_ct_RANLIB="ranlib"
49761 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49770 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
49771 if test -n "$ac_ct_RANLIB"; then
49772 { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
49773 echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
49775 { echo "$as_me:$LINENO: result: no" >&5
49776 echo "${ECHO_T}no" >&6; }
49779 if test "x$ac_ct_RANLIB" = x; then
49782 case $cross_compiling:$ac_tool_warned in
49784 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
49785 whose name does not start with the host triplet. If you think this
49786 configuration is useful to you, please write to autoconf@gnu.org." >&5
49787 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
49788 whose name does not start with the host triplet. If you think this
49789 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
49790 ac_tool_warned=yes ;;
49792 RANLIB=$ac_ct_RANLIB
49795 RANLIB="$ac_cv_prog_RANLIB"
49798 # Find a good install program. We prefer a C program (faster),
49799 # so one script is as good as another. But avoid the broken or
49800 # incompatible versions:
49801 # SysV /etc/install, /usr/sbin/install
49802 # SunOS /usr/etc/install
49803 # IRIX /sbin/install
49805 # AmigaOS /C/install, which installs bootblocks on floppy discs
49806 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
49807 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
49808 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
49809 # OS/2's system install, which has a completely different semantic
49810 # ./install, which can be erroneously created by make from ./install.sh.
49811 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
49812 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
49813 if test -z "$INSTALL"; then
49814 if test "${ac_cv_path_install+set}" = set; then
49815 echo $ECHO_N "(cached) $ECHO_C" >&6
49817 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49818 for as_dir in $PATH
49821 test -z "$as_dir" && as_dir=.
49822 # Account for people who put trailing slashes in PATH elements.
49824 ./ | .// | /cC/* | \
49825 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
49826 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
49829 # OSF1 and SCO ODT 3.0 have their own names for install.
49830 # Don't use installbsd from OSF since it installs stuff as root
49832 for ac_prog in ginstall scoinst install; do
49833 for ac_exec_ext in '' $ac_executable_extensions; do
49834 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
49835 if test $ac_prog = install &&
49836 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
49837 # AIX install. It has an incompatible calling convention.
49839 elif test $ac_prog = install &&
49840 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
49841 # program-specific install script used by HP pwplus--don't use.
49844 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
49857 if test "${ac_cv_path_install+set}" = set; then
49858 INSTALL=$ac_cv_path_install
49860 # As a last resort, use the slow shell script. Don't cache a
49861 # value for INSTALL within a source directory, because that will
49862 # break other packages using the cache if that directory is
49863 # removed, or if the value is a relative name.
49864 INSTALL=$ac_install_sh
49867 { echo "$as_me:$LINENO: result: $INSTALL" >&5
49868 echo "${ECHO_T}$INSTALL" >&6; }
49870 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
49871 # It thinks the first close brace ends the variable substitution.
49872 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
49874 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
49876 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
49878 { echo "$as_me:$LINENO: checking whether ln -s works" >&5
49879 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; }
49881 if test "$LN_S" = "ln -s"; then
49882 { echo "$as_me:$LINENO: result: yes" >&5
49883 echo "${ECHO_T}yes" >&6; }
49885 { echo "$as_me:$LINENO: result: no, using $LN_S" >&5
49886 echo "${ECHO_T}no, using $LN_S" >&6; }
49890 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
49891 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
49892 set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
49893 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
49894 echo $ECHO_N "(cached) $ECHO_C" >&6
49896 cat >conftest.make <<\_ACEOF
49899 @echo '@@@%%%=$(MAKE)=@@@%%%'
49901 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
49902 case `${MAKE-make} -f conftest.
make 2>/dev
/null
` in
49903 *@@@%%%=?*=@@@%%%*)
49904 eval ac_cv_prog_make_${ac_make}_set=yes;;
49906 eval ac_cv_prog_make_${ac_make}_set=no;;
49908 rm -f conftest.make
49910 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
49911 { echo "$as_me:$LINENO: result: yes" >&5
49912 echo "${ECHO_T}yes" >&6; }
49915 { echo "$as_me:$LINENO: result: no" >&5
49916 echo "${ECHO_T}no" >&6; }
49917 SET_MAKE="MAKE=${MAKE-make}"
49922 if test "x$SUNCXX" = "xyes"; then
49924 AROPTIONS="-xar -o"
49926 elif test "x$SGICC" = "xyes"; then
49931 if test -n "$ac_tool_prefix"; then
49932 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
49933 set dummy ${ac_tool_prefix}ar; ac_word=$2
49934 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49935 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49936 if test "${ac_cv_prog_AR+set}" = set; then
49937 echo $ECHO_N "(cached) $ECHO_C" >&6
49939 if test -n "$AR"; then
49940 ac_cv_prog_AR="$AR" # Let the user override the test.
49942 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49943 for as_dir in $PATH
49946 test -z "$as_dir" && as_dir=.
49947 for ac_exec_ext in '' $ac_executable_extensions; do
49948 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49949 ac_cv_prog_AR="${ac_tool_prefix}ar"
49950 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49960 if test -n "$AR"; then
49961 { echo "$as_me:$LINENO: result: $AR" >&5
49962 echo "${ECHO_T}$AR" >&6; }
49964 { echo "$as_me:$LINENO: result: no" >&5
49965 echo "${ECHO_T}no" >&6; }
49970 if test -z "$ac_cv_prog_AR"; then
49972 # Extract the first word of "ar", so it can be a program name with args.
49973 set dummy ar; ac_word=$2
49974 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49975 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49976 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
49977 echo $ECHO_N "(cached) $ECHO_C" >&6
49979 if test -n "$ac_ct_AR"; then
49980 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
49982 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49983 for as_dir in $PATH
49986 test -z "$as_dir" && as_dir=.
49987 for ac_exec_ext in '' $ac_executable_extensions; do
49988 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49989 ac_cv_prog_ac_ct_AR="ar"
49990 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49999 ac_ct_AR=$ac_cv_prog_ac_ct_AR
50000 if test -n "$ac_ct_AR"; then
50001 { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
50002 echo "${ECHO_T}$ac_ct_AR" >&6; }
50004 { echo "$as_me:$LINENO: result: no" >&5
50005 echo "${ECHO_T}no" >&6; }
50008 if test "x$ac_ct_AR" = x; then
50011 case $cross_compiling:$ac_tool_warned in
50013 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
50014 whose name does not start with the host triplet. If you think this
50015 configuration is useful to you, please write to autoconf@gnu.org." >&5
50016 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
50017 whose name does not start with the host triplet. If you think this
50018 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
50019 ac_tool_warned=yes ;;
50024 AR="$ac_cv_prog_AR"
50031 if test -n "$ac_tool_prefix"; then
50032 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
50033 set dummy ${ac_tool_prefix}strip; ac_word=$2
50034 { echo "$as_me:$LINENO: checking for $ac_word" >&5
50035 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
50036 if test "${ac_cv_prog_STRIP+set}" = set; then
50037 echo $ECHO_N "(cached) $ECHO_C" >&6
50039 if test -n "$STRIP"; then
50040 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
50042 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
50043 for as_dir in $PATH
50046 test -z "$as_dir" && as_dir=.
50047 for ac_exec_ext in '' $ac_executable_extensions; do
50048 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
50049 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
50050 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
50059 STRIP=$ac_cv_prog_STRIP
50060 if test -n "$STRIP"; then
50061 { echo "$as_me:$LINENO: result: $STRIP" >&5
50062 echo "${ECHO_T}$STRIP" >&6; }
50064 { echo "$as_me:$LINENO: result: no" >&5
50065 echo "${ECHO_T}no" >&6; }
50070 if test -z "$ac_cv_prog_STRIP"; then
50072 # Extract the first word of "strip", so it can be a program name with args.
50073 set dummy strip; ac_word=$2
50074 { echo "$as_me:$LINENO: checking for $ac_word" >&5
50075 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
50076 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
50077 echo $ECHO_N "(cached) $ECHO_C" >&6
50079 if test -n "$ac_ct_STRIP"; then
50080 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
50082 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
50083 for as_dir in $PATH
50086 test -z "$as_dir" && as_dir=.
50087 for ac_exec_ext in '' $ac_executable_extensions; do
50088 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
50089 ac_cv_prog_ac_ct_STRIP="strip"
50090 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
50099 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
50100 if test -n "$ac_ct_STRIP"; then
50101 { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
50102 echo "${ECHO_T}$ac_ct_STRIP" >&6; }
50104 { echo "$as_me:$LINENO: result: no" >&5
50105 echo "${ECHO_T}no" >&6; }
50108 if test "x$ac_ct_STRIP" = x; then
50111 case $cross_compiling:$ac_tool_warned in
50113 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
50114 whose name does not start with the host triplet. If you think this
50115 configuration is useful to you, please write to autoconf@gnu.org." >&5
50116 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
50117 whose name does not start with the host triplet. If you think this
50118 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
50119 ac_tool_warned=yes ;;
50124 STRIP="$ac_cv_prog_STRIP"
50127 if test -n "$ac_tool_prefix"; then
50128 # Extract the first word of "${ac_tool_prefix}nm", so it can be a program name with args.
50129 set dummy ${ac_tool_prefix}nm; ac_word=$2
50130 { echo "$as_me:$LINENO: checking for $ac_word" >&5
50131 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
50132 if test "${ac_cv_prog_NM+set}" = set; then
50133 echo $ECHO_N "(cached) $ECHO_C" >&6
50135 if test -n "$NM"; then
50136 ac_cv_prog_NM="$NM" # Let the user override the test.
50138 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
50139 for as_dir in $PATH
50142 test -z "$as_dir" && as_dir=.
50143 for ac_exec_ext in '' $ac_executable_extensions; do
50144 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
50145 ac_cv_prog_NM="${ac_tool_prefix}nm"
50146 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
50156 if test -n "$NM"; then
50157 { echo "$as_me:$LINENO: result: $NM" >&5
50158 echo "${ECHO_T}$NM" >&6; }
50160 { echo "$as_me:$LINENO: result: no" >&5
50161 echo "${ECHO_T}no" >&6; }
50166 if test -z "$ac_cv_prog_NM"; then
50168 # Extract the first word of "nm", so it can be a program name with args.
50169 set dummy nm; ac_word=$2
50170 { echo "$as_me:$LINENO: checking for $ac_word" >&5
50171 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
50172 if test "${ac_cv_prog_ac_ct_NM+set}" = set; then
50173 echo $ECHO_N "(cached) $ECHO_C" >&6
50175 if test -n "$ac_ct_NM"; then
50176 ac_cv_prog_ac_ct_NM="$ac_ct_NM" # Let the user override the test.
50178 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
50179 for as_dir in $PATH
50182 test -z "$as_dir" && as_dir=.
50183 for ac_exec_ext in '' $ac_executable_extensions; do
50184 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
50185 ac_cv_prog_ac_ct_NM="nm"
50186 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
50195 ac_ct_NM=$ac_cv_prog_ac_ct_NM
50196 if test -n "$ac_ct_NM"; then
50197 { echo "$as_me:$LINENO: result: $ac_ct_NM" >&5
50198 echo "${ECHO_T}$ac_ct_NM" >&6; }
50200 { echo "$as_me:$LINENO: result: no" >&5
50201 echo "${ECHO_T}no" >&6; }
50204 if test "x$ac_ct_NM" = x; then
50207 case $cross_compiling:$ac_tool_warned in
50209 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
50210 whose name does not start with the host triplet. If you think this
50211 configuration is useful to you, please write to autoconf@gnu.org." >&5
50212 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
50213 whose name does not start with the host triplet. If you think this
50214 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
50215 ac_tool_warned=yes ;;
50220 NM="$ac_cv_prog_NM"
50224 case ${BAKEFILE_HOST} in
50226 INSTALL_DIR="mkdir -p"
50229 INSTALL_DIR='$(INSTALL) -d'
50235 case ${BAKEFILE_HOST} in
50236 *-*-cygwin* | *-*-mingw32* )
50237 LDFLAGS_GUI="-mwindows"
50243 { echo "$as_me:$LINENO: checking if make is GNU make" >&5
50244 echo $ECHO_N "checking if make is GNU make... $ECHO_C" >&6; }
50245 if test "${bakefile_cv_prog_makeisgnu+set}" = set; then
50246 echo $ECHO_N "(cached) $ECHO_C" >&6
50249 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev/null |
50250 egrep -s GNU > /dev/null); then
50251 bakefile_cv_prog_makeisgnu="yes"
50253 bakefile_cv_prog_makeisgnu="no"
50257 { echo "$as_me:$LINENO: result: $bakefile_cv_prog_makeisgnu" >&5
50258 echo "${ECHO_T}$bakefile_cv_prog_makeisgnu" >&6; }
50260 if test "x$bakefile_cv_prog_makeisgnu" = "xyes"; then
50277 if test "x$BAKEFILE_FORCE_PLATFORM" = "x"; then
50278 case "${BAKEFILE_HOST}" in
50285 *-pc-os2_emx | *-pc-os2-emx )
50295 powerpc-apple-macos* )
50304 case "$BAKEFILE_FORCE_PLATFORM" in
50339 # Check whether --enable-omf was given.
50340 if test "${enable_omf+set}" = set; then
50341 enableval=$enable_omf; bk_os2_use_omf="$enableval"
50345 case "${BAKEFILE_HOST}" in
50347 if test "x$GCC" = "xyes"; then
50348 CFLAGS="$CFLAGS -fno-common"
50349 CXXFLAGS="$CXXFLAGS -fno-common"
50351 if test "x$XLCC" = "xyes"; then
50352 CFLAGS="$CFLAGS -qnocommon"
50353 CXXFLAGS="$CXXFLAGS -qnocommon"
50357 *-pc-os2_emx | *-pc-os2-emx )
50358 if test "x$bk_os2_use_omf" = "xyes" ; then
50361 LDFLAGS="-Zomf $LDFLAGS"
50362 CFLAGS="-Zomf $CFLAGS"
50363 CXXFLAGS="-Zomf $CXXFLAGS"
50371 LDFLAGS="-L/boot/develop/lib/x86 $LDFLAGS"
50377 SO_SUFFIX_MODULE="so"
50382 DLLPREFIX_MODULE=""
50386 case "${BAKEFILE_HOST}" in
50389 SO_SUFFIX_MODULE="sl"
50393 SO_SUFFIX_MODULE="a"
50397 SO_SUFFIX_MODULE="dll"
50398 DLLIMP_SUFFIX="dll.a"
50405 SO_SUFFIX_MODULE="dll"
50406 DLLIMP_SUFFIX="dll.a"
50416 *-pc-os2_emx | *-pc-os2-emx )
50418 SO_SUFFIX_MODULE="dll"
50419 DLLIMP_SUFFIX=$OS2_LIBEXT
50423 LIBEXT=".$OS2_LIBEXT"
50428 SO_SUFFIX_MODULE="bundle"
50432 if test "x$DLLIMP_SUFFIX" = "x" ; then
50433 DLLIMP_SUFFIX="$SO_SUFFIX"
50448 if test "x$GCC" = "xyes"; then
50452 SHARED_LD_CC="\$(CC) -shared ${PIC_FLAG} -o"
50453 SHARED_LD_CXX="\$(CXX) -shared ${PIC_FLAG} -o"
50456 case "${BAKEFILE_HOST}" in
50458 if test "x$GCC" != "xyes"; then
50459 LDFLAGS="$LDFLAGS -L/usr/lib"
50461 SHARED_LD_CC="${CC} -b -o"
50462 SHARED_LD_CXX="${CXX} -b -o"
50468 if test "$INTELCC" = "yes"; then
50470 elif test "x$SUNCXX" = "xyes"; then
50471 SHARED_LD_CC="${CC} -G -o"
50472 SHARED_LD_CXX="${CXX} -G -o"
50478 if test "x$SUNCXX" = xyes ; then
50479 SHARED_LD_CC="${CC} -G -o"
50480 SHARED_LD_CXX="${CXX} -G -o"
50488 cat <<EOF >shared-ld-sh
50490 #-----------------------------------------------------------------------------
50491 #-- Name: distrib/mac/shared-ld-sh
50492 #-- Purpose: Link a mach-o dynamic shared library for Darwin / Mac OS X
50493 #-- Author: Gilles Depeyrot
50494 #-- Copyright: (c) 2002 Gilles Depeyrot
50495 #-- Licence: any use permitted
50496 #-----------------------------------------------------------------------------
50501 linking_flag="-dynamiclib"
50502 ldargs="-r -keep_private_externs -nostdlib"
50504 while test ${D}# -gt 0; do
50511 -o|-compatibility_version|-current_version|-framework|-undefined|-install_name)
50512 # collect these options and values
50513 args="${D}{args} ${D}1 ${D}2"
50518 # collect these load args
50519 ldargs="${D}{ldargs} ${D}1"
50522 -l*|-L*|-flat_namespace|-headerpad_max_install_names)
50523 # collect these options
50524 args="${D}{args} ${D}1"
50527 -dynamiclib|-bundle)
50528 linking_flag="${D}1"
50532 echo "shared-ld: unhandled option '${D}1'"
50536 *.o | *.a | *.dylib)
50537 # collect object files
50538 objects="${D}{objects} ${D}1"
50542 echo "shared-ld: unhandled argument '${D}1'"
50553 # Link one module containing all the others
50555 if test ${D}{verbose} = 1; then
50556 echo "c++ ${D}{ldargs} ${D}{objects} -o master.${D}${D}.o"
50558 c++ ${D}{ldargs} ${D}{objects} -o master.${D}${D}.o
50562 # Link the shared library from the single module created, but only if the
50563 # previous command didn't fail:
50565 if test ${D}{status} = 0; then
50566 if test ${D}{verbose} = 1; then
50567 echo "c++ ${D}{linking_flag} master.${D}${D}.o ${D}{args}"
50569 c++ ${D}{linking_flag} master.${D}${D}.o ${D}{args}
50574 # Remove intermediate module
50576 rm -f master.${D}${D}.o
50581 chmod +x shared-ld-sh
50583 SHARED_LD_MODULE_CC="`pwd`/shared-ld-sh -bundle -headerpad_max_install_names -o"
50584 SHARED_LD_MODULE_CXX="$SHARED_LD_MODULE_CC"
50587 { echo "$as_me:$LINENO: checking for gcc 3.1 or later" >&5
50588 echo $ECHO_N "checking for gcc 3.1 or later... $ECHO_C" >&6; }
50589 if test "${bakefile_cv_gcc31+set}" = set; then
50590 echo $ECHO_N "(cached) $ECHO_C" >&6
50593 cat >conftest.$ac_ext <<_ACEOF
50596 cat confdefs.h >>conftest.$ac_ext
50597 cat >>conftest.$ac_ext <<_ACEOF
50598 /* end confdefs.h. */
50604 #if (__GNUC__ < 3) || \
50605 ((__GNUC__ == 3) && (__GNUC_MINOR__ < 1))
50613 rm -f conftest.$ac_objext
50614 if { (ac_try="$ac_compile"
50615 case "(($ac_try" in
50616 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
50617 *) ac_try_echo
=$ac_try;;
50619 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
50620 (eval "$ac_compile") 2>conftest.er1
50622 grep -v '^ *+' conftest.er1
>conftest.err
50624 cat conftest.err
>&5
50625 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50626 (exit $ac_status); } && {
50627 test -z "$ac_c_werror_flag" ||
50628 test ! -s conftest.err
50629 } && test -s conftest.
$ac_objext; then
50631 bakefile_cv_gcc31
=yes
50634 echo "$as_me: failed program was:" >&5
50635 sed 's/^/| /' conftest.
$ac_ext >&5
50638 bakefile_cv_gcc31
=no
50643 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
50646 { echo "$as_me:$LINENO: result: $bakefile_cv_gcc31" >&5
50647 echo "${ECHO_T}$bakefile_cv_gcc31" >&6; }
50648 if test "$bakefile_cv_gcc31" = "no"; then
50649 SHARED_LD_CC
="`pwd`/shared-ld-sh -dynamiclib -headerpad_max_install_names -o"
50650 SHARED_LD_CXX
="$SHARED_LD_CC"
50652 SHARED_LD_CC
="\${CC} -dynamiclib -single_module -headerpad_max_install_names -o"
50653 SHARED_LD_CXX
="\${CXX} -dynamiclib -single_module -headerpad_max_install_names -o"
50656 if test "x$GCC" == "xyes"; then
50657 PIC_FLAG
="-dynamic -fPIC"
50659 if test "x$XLCC" = "xyes"; then
50660 PIC_FLAG
="-dynamic -DPIC"
50665 if test "x$GCC" = "xyes"; then
50668 case "${BAKEFILE_HOST}" in
50670 LD_EXPFULL
="-Wl,-bexpfull"
50674 SHARED_LD_CC
="\$(CC) -shared $LD_EXPFULL -o"
50675 SHARED_LD_CXX
="\$(CXX) -shared $LD_EXPFULL -o"
50677 # Extract the first word of "makeC++SharedLib", so it can be a program name with args.
50678 set dummy makeC
++SharedLib
; ac_word
=$2
50679 { echo "$as_me:$LINENO: checking for $ac_word" >&5
50680 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
50681 if test "${ac_cv_prog_AIX_CXX_LD+set}" = set; then
50682 echo $ECHO_N "(cached) $ECHO_C" >&6
50684 if test -n "$AIX_CXX_LD"; then
50685 ac_cv_prog_AIX_CXX_LD
="$AIX_CXX_LD" # Let the user override the test.
50687 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
50688 for as_dir
in $PATH
50691 test -z "$as_dir" && as_dir
=.
50692 for ac_exec_ext
in '' $ac_executable_extensions; do
50693 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
50694 ac_cv_prog_AIX_CXX_LD
="makeC++SharedLib"
50695 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
50702 test -z "$ac_cv_prog_AIX_CXX_LD" && ac_cv_prog_AIX_CXX_LD
="/usr/lpp/xlC/bin/makeC++SharedLib"
50705 AIX_CXX_LD
=$ac_cv_prog_AIX_CXX_LD
50706 if test -n "$AIX_CXX_LD"; then
50707 { echo "$as_me:$LINENO: result: $AIX_CXX_LD" >&5
50708 echo "${ECHO_T}$AIX_CXX_LD" >&6; }
50710 { echo "$as_me:$LINENO: result: no" >&5
50711 echo "${ECHO_T}no" >&6; }
50715 SHARED_LD_CC
="$AIX_CC_LD -p 0 -o"
50716 SHARED_LD_CXX
="$AIX_CXX_LD -p 0 -o"
50721 SHARED_LD_CC
="${LD} -nostart -o"
50722 SHARED_LD_CXX
="${LD} -nostart -o"
50726 if test "x$GCC" != "xyes"; then
50731 *-*-cygwin* | *-*-mingw32* )
50733 SHARED_LD_CC
="\$(CC) -shared -o"
50734 SHARED_LD_CXX
="\$(CXX) -shared -o"
50738 *-pc-os2_emx | *-pc-os2-emx )
50739 SHARED_LD_CC
="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
50740 SHARED_LD_CXX
="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
50744 cat <<EOF >dllar.sh
50747 # dllar - a tool to build both a .dll and an .a file
50748 # from a set of object (.o) files for EMX/OS2.
50750 # Written by Andrew Zabolotny, bit@freya.etu.ru
50751 # Ported to Unix like shell by Stefan Neis, Stefan.Neis@t-online.de
50753 # This script will accept a set of files on the command line.
50754 # All the public symbols from the .o files will be exported into
50755 # a .DEF file, then linker will be run (through gcc) against them to
50756 # build a shared library consisting of all given .o files. All libraries
50757 # (.a) will be first decompressed into component .o files then act as
50758 # described above. You can optionally give a description (-d "description")
50759 # which will be put into .DLL. To see the list of accepted options (as well
50760 # as command-line format) simply run this program without options. The .DLL
50761 # is built to be imported by name (there is no guarantee that new versions
50762 # of the library you build will have same ordinals for same symbols).
50764 # dllar is free software; you can redistribute it and/or modify
50765 # it under the terms of the GNU General Public License as published by
50766 # the Free Software Foundation; either version 2, or (at your option)
50767 # any later version.
50769 # dllar is distributed in the hope that it will be useful,
50770 # but WITHOUT ANY WARRANTY; without even the implied warranty of
50771 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
50772 # GNU General Public License for more details.
50774 # You should have received a copy of the GNU General Public License
50775 # along with dllar; see the file COPYING. If not, write to the Free
50776 # Software Foundation, 59 Temple Place - Suite 330, Boston, MA
50779 # To successfuly run this program you will need:
50780 # - Current drive should have LFN support (HPFS, ext2, network, etc)
50781 # (Sometimes dllar generates filenames which won't fit 8.3 scheme)
50783 # (used to build the .dll)
50785 # (used to create .def file from .o files)
50787 # (used to create .a file from .def file)
50788 # - GNU text utilites (cat, sort, uniq)
50789 # used to process emxexp output
50790 # - GNU file utilities (mv, rm)
50792 # - lxlite (optional, see flag below)
50793 # (used for general .dll cleanup)
50800 # basnam, variant of basename, which does _not_ remove the path, _iff_
50801 # second argument (suffix to remove) is given
50805 echo ${D}1 | sed 's/.*\\///' | sed 's/.*\\\\//'
50808 echo ${D}1 | sed 's/'${D}2'${D}//'
50811 echo "error in basnam ${D}*"
50817 # Cleanup temporary files and output
50820 for i in ${D}inputFiles ; do
50823 rm -rf \`basnam ${D}i !\`
50830 # Kill result in case of failure as there is just to many stupid make/nmake
50831 # things out there which doesn't do this.
50832 if [ ${D}# -eq 0 ]; then
50833 rm -f ${D}arcFile ${D}arcFile2 ${D}defFile ${D}dllFile
50837 # Print usage and exit script with rc=1.
50839 echo 'Usage: dllar.sh [-o[utput] output_file] [-i[mport] importlib_name]'
50840 echo ' [-name-mangler-script script.sh]'
50841 echo ' [-d[escription] "dll descrption"] [-cc "CC"] [-f[lags] "CFLAGS"]'
50842 echo ' [-ord[inals]] -ex[clude] "symbol(s)"'
50843 echo ' [-libf[lags] "{INIT|TERM}{GLOBAL|INSTANCE}"] [-nocrt[dll]] [-nolxl[ite]]'
50844 echo ' [*.o] [*.a]'
50845 echo '*> "output_file" should have no extension.'
50846 echo ' If it has the .o, .a or .dll extension, it is automatically removed.'
50847 echo ' The import library name is derived from this and is set to "name".a,'
50848 echo ' unless overridden by -import'
50849 echo '*> "importlib_name" should have no extension.'
50850 echo ' If it has the .o, or .a extension, it is automatically removed.'
50851 echo ' This name is used as the import library name and may be longer and'
50852 echo ' more descriptive than the DLL name which has to follow the old '
50853 echo ' 8.3 convention of FAT.'
50854 echo '*> "script.sh may be given to override the output_file name by a'
50855 echo ' different name. It is mainly useful if the regular make process'
50856 echo ' of some package does not take into account OS/2 restriction of'
50857 echo ' DLL name lengths. It takes the importlib name as input and is'
50858 echo ' supposed to procude a shorter name as output. The script should'
50859 echo ' expect to get importlib_name without extension and should produce'
50860 echo ' a (max.) 8 letter name without extension.'
50861 echo '*> "cc" is used to use another GCC executable. (default: gcc.exe)'
50862 echo '*> "flags" should be any set of valid GCC flags. (default: -s -Zcrtdll)'
50863 echo ' These flags will be put at the start of GCC command line.'
50864 echo '*> -ord[inals] tells dllar to export entries by ordinals. Be careful.'
50865 echo '*> -ex[clude] defines symbols which will not be exported. You can define'
50866 echo ' multiple symbols, for example -ex "myfunc yourfunc _GLOBAL*".'
50867 echo ' If the last character of a symbol is "*", all symbols beginning'
50868 echo ' with the prefix before "*" will be exclude, (see _GLOBAL* above).'
50869 echo '*> -libf[lags] can be used to add INITGLOBAL/INITINSTANCE and/or'
50870 echo ' TERMGLOBAL/TERMINSTANCE flags to the dynamically-linked library.'
50871 echo '*> -nocrt[dll] switch will disable linking the library against emx''s'
50872 echo ' C runtime DLLs.'
50873 echo '*> -nolxl[ite] switch will disable running lxlite on the resulting DLL.'
50874 echo '*> All other switches (for example -L./ or -lmylib) will be passed'
50875 echo ' unchanged to GCC at the end of command line.'
50876 echo '*> If you create a DLL from a library and you do not specify -o,'
50877 echo ' the basename for DLL and import library will be set to library name,'
50878 echo ' the initial library will be renamed to 'name'_s.a (_s for static)'
50879 echo ' i.e. "dllar gcc.a" will create gcc.dll and gcc.a, and the initial'
50880 echo ' library will be renamed into gcc_s.a.'
50883 echo ' dllar -o gcc290.dll libgcc.a -d "GNU C runtime library" -ord'
50884 echo ' -ex "__main __ctordtor*" -libf "INITINSTANCE TERMINSTANCE"'
50889 # Execute a command.
50890 # If exit code of the commnad <> 0 CleanUp() is called and we'll exit the script.
50891 # @Uses Whatever CleanUp() uses.
50897 if [ ${D}rcCmd -ne 0 ]; then
50898 echo "command failed, exit code="${D}rcCmd
50913 CFLAGS="-s -Zcrtdll"
50915 EXPORT_BY_ORDINALS=0
50920 case ${D}curDirS in
50924 curDirS=${D}{curDirS}"/"
50927 # Parse commandline
50930 while [ ${D}1 ]; do
50933 EXPORT_BY_ORDINALS=1;
50943 -name-mangler-script)
50964 exclude_symbols=${D}{exclude_symbols}${D}1" "
50968 library_flags=${D}{library_flags}${D}1" "
50987 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
50990 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS} \`basnam ${D}1 .dll\`"
50991 if [ ${D}omfLinking -eq 1 ]; then
50992 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.lib"
50994 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.a"
50999 if [ ${D}libsToLink -ne 0 ]; then
51000 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
51002 for file in ${D}1 ; do
51003 if [ -f ${D}file ]; then
51004 inputFiles="${D}{inputFiles} ${D}file"
51008 if [ ${D}found -eq 0 ]; then
51009 echo "ERROR: No file(s) found: "${D}1
51016 done # iterate cmdline words
51019 if [ -z "${D}inputFiles" ]; then
51020 echo "dllar: no input files"
51024 # Now extract all .o files from .a files
51026 for file in ${D}inputFiles ; do
51037 EXTRA_CFLAGS="${D}EXTRA_CFLAGS -Zomf"
51042 dirname=\`basnam ${D}file ${D}suffix\`"_%"
51044 if [ ${D}? -ne 0 ]; then
51045 echo "Failed to create subdirectory ./${D}dirname"
51049 # Append '!' to indicate archive
51050 newInputFiles="${D}newInputFiles ${D}{dirname}!"
51051 doCommand "cd ${D}dirname; ${D}AR x ../${D}file"
51054 for subfile in ${D}dirname/*.o* ; do
51055 if [ -f ${D}subfile ]; then
51057 if [ -s ${D}subfile ]; then
51058 # FIXME: This should be: is file size > 32 byte, _not_ > 0!
51059 newInputFiles="${D}newInputFiles ${D}subfile"
51063 if [ ${D}found -eq 0 ]; then
51064 echo "WARNING: there are no files in archive \\'${D}file\\'"
51068 newInputFiles="${D}{newInputFiles} ${D}file"
51072 inputFiles="${D}newInputFiles"
51074 # Output filename(s).
51076 if [ -z ${D}outFile ]; then
51078 set outFile ${D}inputFiles; outFile=${D}2
51081 # If it is an archive, remove the '!' and the '_%' suffixes
51082 case ${D}outFile in
51084 outFile=\`basnam ${D}outFile _%!\`
51089 case ${D}outFile in
51091 outFile=\`basnam ${D}outFile .dll\`
51094 outFile=\`basnam ${D}outFile .DLL\`
51097 outFile=\`basnam ${D}outFile .o\`
51100 outFile=\`basnam ${D}outFile .obj\`
51103 outFile=\`basnam ${D}outFile .a\`
51106 outFile=\`basnam ${D}outFile .lib\`
51111 case ${D}outimpFile in
51113 outimpFile=\`basnam ${D}outimpFile .a\`
51116 outimpFile=\`basnam ${D}outimpFile .lib\`
51121 if [ -z ${D}outimpFile ]; then
51122 outimpFile=${D}outFile
51124 defFile="${D}{outFile}.def"
51125 arcFile="${D}{outimpFile}.a"
51126 arcFile2="${D}{outimpFile}.lib"
51128 #create ${D}dllFile as something matching 8.3 restrictions,
51129 if [ -z ${D}renameScript ] ; then
51130 dllFile="${D}outFile"
51132 dllFile=\`${D}renameScript ${D}outimpFile\`
51135 if [ ${D}do_backup -ne 0 ] ; then
51136 if [ -f ${D}arcFile ] ; then
51137 doCommand "mv ${D}arcFile ${D}{outFile}_s.a"
51139 if [ -f ${D}arcFile2 ] ; then
51140 doCommand "mv ${D}arcFile2 ${D}{outFile}_s.lib"
51144 # Extract public symbols from all the object files.
51145 tmpdefFile=${D}{defFile}_%
51146 rm -f ${D}tmpdefFile
51147 for file in ${D}inputFiles ; do
51152 doCommand "emxexp -u ${D}file >> ${D}tmpdefFile"
51157 # Create the def file.
51159 echo "LIBRARY \`basnam ${D}dllFile\` ${D}library_flags" >> ${D}defFile
51160 dllFile="${D}{dllFile}.dll"
51161 if [ ! -z ${D}description ]; then
51162 echo "DESCRIPTION \\"${D}{description}\\"" >> ${D}defFile
51164 echo "EXPORTS" >> ${D}defFile
51166 doCommand "cat ${D}tmpdefFile | sort.exe | uniq.exe > ${D}{tmpdefFile}%"
51167 grep -v "^ *;" < ${D}{tmpdefFile}% | grep -v "^ *${D}" >${D}tmpdefFile
51169 # Checks if the export is ok or not.
51170 for word in ${D}exclude_symbols; do
51171 grep -v ${D}word < ${D}tmpdefFile >${D}{tmpdefFile}%
51172 mv ${D}{tmpdefFile}% ${D}tmpdefFile
51176 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
51177 sed "=" < ${D}tmpdefFile | \\
51181 s/^\\([0-9]\\+\\)\\([^;]*\\)\\(;.*\\)\\?/\\2 @\\1 NONAME/
51183 ' > ${D}{tmpdefFile}%
51184 grep -v "^ *${D}" < ${D}{tmpdefFile}% > ${D}tmpdefFile
51186 rm -f ${D}{tmpdefFile}%
51188 cat ${D}tmpdefFile >> ${D}defFile
51189 rm -f ${D}tmpdefFile
51191 # Do linking, create implib, and apply lxlite.
51193 for file in ${D}inputFiles ; do
51198 gccCmdl="${D}gccCmdl ${D}file"
51202 doCommand "${D}CC ${D}CFLAGS -Zdll -o ${D}dllFile ${D}defFile ${D}gccCmdl ${D}EXTRA_CFLAGS"
51203 touch "${D}{outFile}.dll"
51205 doCommand "emximp -o ${D}arcFile ${D}defFile"
51206 if [ ${D}flag_USE_LXLITE -ne 0 ]; then
51208 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
51211 doCommand "lxlite -cs -t: -mrn -mln ${D}add_flags ${D}dllFile"
51213 doCommand "emxomf -s -l ${D}arcFile"
51223 powerpc
-apple-macos* | \
51224 *-*-freebsd* | *-*-openbsd* | *-*-netbsd* | *-*-k*bsd
*-gnu | \
51234 { { echo "$as_me:$LINENO: error: unknown system type $BAKEFILE_HOST." >&5
51235 echo "$as_me: error: unknown system type $BAKEFILE_HOST." >&2;}
51236 { (exit 1); exit 1; }; }
51239 if test "x$PIC_FLAG" != "x" ; then
51240 PIC_FLAG
="$PIC_FLAG -DPIC"
51243 if test "x$SHARED_LD_MODULE_CC" = "x" ; then
51244 SHARED_LD_MODULE_CC
="$SHARED_LD_CC"
51246 if test "x$SHARED_LD_MODULE_CXX" = "x" ; then
51247 SHARED_LD_MODULE_CXX
="$SHARED_LD_CXX"
51266 case "${BAKEFILE_HOST}" in
51267 *-*-linux* | *-*-freebsd* | *-*-k*bsd
*-gnu )
51268 if test "x$SUNCXX" = "xyes"; then
51271 SONAME_FLAG
="-Wl,-soname,"
51306 # Check whether --enable-dependency-tracking was given.
51307 if test "${enable_dependency_tracking+set}" = set; then
51308 enableval
=$enable_dependency_tracking; bk_use_trackdeps
="$enableval"
51312 { echo "$as_me:$LINENO: checking for dependency tracking method" >&5
51313 echo $ECHO_N "checking for dependency tracking method... $ECHO_C" >&6; }
51316 if test "x$bk_use_trackdeps" = "xno" ; then
51318 { echo "$as_me:$LINENO: result: disabled" >&5
51319 echo "${ECHO_T}disabled" >&6; }
51323 if test "x$GCC" = "xyes"; then
51325 case "${BAKEFILE_HOST}" in
51327 DEPSFLAG
="-no-cpp-precomp -MMD"
51333 { echo "$as_me:$LINENO: result: gcc" >&5
51334 echo "${ECHO_T}gcc" >&6; }
51335 elif test "x$MWCC" = "xyes"; then
51338 { echo "$as_me:$LINENO: result: mwcc" >&5
51339 echo "${ECHO_T}mwcc" >&6; }
51340 elif test "x$SUNCC" = "xyes"; then
51343 { echo "$as_me:$LINENO: result: Sun cc" >&5
51344 echo "${ECHO_T}Sun cc" >&6; }
51345 elif test "x$SGICC" = "xyes"; then
51348 { echo "$as_me:$LINENO: result: SGI cc" >&5
51349 echo "${ECHO_T}SGI cc" >&6; }
51350 elif test "x$HPCC" = "xyes"; then
51353 { echo "$as_me:$LINENO: result: HP cc" >&5
51354 echo "${ECHO_T}HP cc" >&6; }
51355 elif test "x$COMPAQCC" = "xyes"; then
51358 { echo "$as_me:$LINENO: result: Compaq cc" >&5
51359 echo "${ECHO_T}Compaq cc" >&6; }
51362 { echo "$as_me:$LINENO: result: none" >&5
51363 echo "${ECHO_T}none" >&6; }
51366 if test $DEPS_TRACKING = 1 ; then
51372 # This script is part of Bakefile (http://bakefile.sourceforge.net) autoconf
51373 # script. It is used to track C/C++ files dependencies in portable way.
51375 # Permission is given to use this file in any way.
51377 DEPSMODE=${DEPSMODE}
51379 DEPSFLAG="${DEPSFLAG}"
51381 mkdir -p ${D}DEPSDIR
51383 if test ${D}DEPSMODE = gcc ; then
51384 ${D}* ${D}{DEPSFLAG}
51386 if test ${D}{status} != 0 ; then
51389 # move created file to the location we want it in:
51390 while test ${D}# -gt 0; do
51404 depfile=\`basename ${D}srcfile | sed -e 's/\\..*${D}/.d/g'\`
51405 depobjname=\`echo ${D}depfile |sed -e 's/\\.d/.o/g'\`
51406 if test -f ${D}depfile ; then
51407 sed -e "s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{DEPSDIR}/${D}{objfile}.d
51410 # "g++ -MMD -o fooobj.o foosrc.cpp" produces fooobj.d
51411 depfile=\`basename ${D}objfile | sed -e 's/\\..*${D}/.d/g'\`
51412 if test ! -f ${D}depfile ; then
51413 # "cxx -MD -o fooobj.o foosrc.cpp" creates fooobj.o.d (Compaq C++)
51414 depfile="${D}objfile.d"
51416 if test -f ${D}depfile ; then
51417 sed -e "/^${D}objfile/!s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{DEPSDIR}/${D}{objfile}.d
51422 elif test ${D}DEPSMODE = mwcc ; then
51423 ${D}* || exit ${D}?
51424 # Run mwcc again with -MM and redirect into the dep file we want
51425 # NOTE: We can't use shift here because we need ${D}* to be valid
51427 for arg in ${D}* ; do
51428 if test "${D}prevarg" = "-o"; then
51441 ${D}* ${D}DEPSFLAG >${D}{DEPSDIR}/${D}{objfile}.d
51443 elif test ${D}DEPSMODE = unixcc; then
51444 ${D}* || exit ${D}?
51445 # Run compiler again with deps flag and redirect into the dep file.
51446 # It doesn't work if the '-o FILE' option is used, but without it the
51447 # dependency file will contain the wrong name for the object. So it is
51448 # removed from the command line, and the dep file is fixed with sed.
51450 while test ${D}# -gt 0; do
51457 eval arg${D}#=\\${D}1
51458 cmd="${D}cmd \\${D}arg${D}#"
51463 eval "${D}cmd ${D}DEPSFLAG" | sed "s|.*:|${D}objfile:|" >${D}{DEPSDIR}/${D}{objfile}.d
51472 BK_DEPS
="`pwd`/bk-deps"
51480 case ${BAKEFILE_HOST} in
51481 *-*-cygwin* | *-*-mingw32* )
51482 if test -n "$ac_tool_prefix"; then
51483 # Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args.
51484 set dummy
${ac_tool_prefix}windres
; ac_word
=$2
51485 { echo "$as_me:$LINENO: checking for $ac_word" >&5
51486 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
51487 if test "${ac_cv_prog_WINDRES+set}" = set; then
51488 echo $ECHO_N "(cached) $ECHO_C" >&6
51490 if test -n "$WINDRES"; then
51491 ac_cv_prog_WINDRES
="$WINDRES" # Let the user override the test.
51493 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
51494 for as_dir
in $PATH
51497 test -z "$as_dir" && as_dir
=.
51498 for ac_exec_ext
in '' $ac_executable_extensions; do
51499 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
51500 ac_cv_prog_WINDRES
="${ac_tool_prefix}windres"
51501 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
51510 WINDRES
=$ac_cv_prog_WINDRES
51511 if test -n "$WINDRES"; then
51512 { echo "$as_me:$LINENO: result: $WINDRES" >&5
51513 echo "${ECHO_T}$WINDRES" >&6; }
51515 { echo "$as_me:$LINENO: result: no" >&5
51516 echo "${ECHO_T}no" >&6; }
51521 if test -z "$ac_cv_prog_WINDRES"; then
51522 ac_ct_WINDRES
=$WINDRES
51523 # Extract the first word of "windres", so it can be a program name with args.
51524 set dummy windres
; ac_word
=$2
51525 { echo "$as_me:$LINENO: checking for $ac_word" >&5
51526 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
51527 if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then
51528 echo $ECHO_N "(cached) $ECHO_C" >&6
51530 if test -n "$ac_ct_WINDRES"; then
51531 ac_cv_prog_ac_ct_WINDRES
="$ac_ct_WINDRES" # Let the user override the test.
51533 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
51534 for as_dir
in $PATH
51537 test -z "$as_dir" && as_dir
=.
51538 for ac_exec_ext
in '' $ac_executable_extensions; do
51539 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
51540 ac_cv_prog_ac_ct_WINDRES
="windres"
51541 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
51550 ac_ct_WINDRES
=$ac_cv_prog_ac_ct_WINDRES
51551 if test -n "$ac_ct_WINDRES"; then
51552 { echo "$as_me:$LINENO: result: $ac_ct_WINDRES" >&5
51553 echo "${ECHO_T}$ac_ct_WINDRES" >&6; }
51555 { echo "$as_me:$LINENO: result: no" >&5
51556 echo "${ECHO_T}no" >&6; }
51559 if test "x$ac_ct_WINDRES" = x
; then
51562 case $cross_compiling:$ac_tool_warned in
51564 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
51565 whose name does not start with the host triplet. If you think this
51566 configuration is useful to you, please write to autoconf@gnu.org." >&5
51567 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
51568 whose name does not start with the host triplet. If you think this
51569 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
51570 ac_tool_warned
=yes ;;
51572 WINDRES
=$ac_ct_WINDRES
51575 WINDRES
="$ac_cv_prog_WINDRES"
51580 *-*-darwin* | powerpc
-apple-macos* )
51581 # Extract the first word of "Rez", so it can be a program name with args.
51582 set dummy Rez
; ac_word
=$2
51583 { echo "$as_me:$LINENO: checking for $ac_word" >&5
51584 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
51585 if test "${ac_cv_prog_REZ+set}" = set; then
51586 echo $ECHO_N "(cached) $ECHO_C" >&6
51588 if test -n "$REZ"; then
51589 ac_cv_prog_REZ
="$REZ" # Let the user override the test.
51591 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
51592 for as_dir
in $PATH
51595 test -z "$as_dir" && as_dir
=.
51596 for ac_exec_ext
in '' $ac_executable_extensions; do
51597 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
51598 ac_cv_prog_REZ
="Rez"
51599 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
51606 test -z "$ac_cv_prog_REZ" && ac_cv_prog_REZ
="/Developer/Tools/Rez"
51609 REZ
=$ac_cv_prog_REZ
51610 if test -n "$REZ"; then
51611 { echo "$as_me:$LINENO: result: $REZ" >&5
51612 echo "${ECHO_T}$REZ" >&6; }
51614 { echo "$as_me:$LINENO: result: no" >&5
51615 echo "${ECHO_T}no" >&6; }
51619 # Extract the first word of "SetFile", so it can be a program name with args.
51620 set dummy SetFile
; ac_word
=$2
51621 { echo "$as_me:$LINENO: checking for $ac_word" >&5
51622 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
51623 if test "${ac_cv_prog_SETFILE+set}" = set; then
51624 echo $ECHO_N "(cached) $ECHO_C" >&6
51626 if test -n "$SETFILE"; then
51627 ac_cv_prog_SETFILE
="$SETFILE" # Let the user override the test.
51629 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
51630 for as_dir
in $PATH
51633 test -z "$as_dir" && as_dir
=.
51634 for ac_exec_ext
in '' $ac_executable_extensions; do
51635 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
51636 ac_cv_prog_SETFILE
="SetFile"
51637 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
51644 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE
="/Developer/Tools/SetFile"
51647 SETFILE
=$ac_cv_prog_SETFILE
51648 if test -n "$SETFILE"; then
51649 { echo "$as_me:$LINENO: result: $SETFILE" >&5
51650 echo "${ECHO_T}$SETFILE" >&6; }
51652 { echo "$as_me:$LINENO: result: no" >&5
51653 echo "${ECHO_T}no" >&6; }
51665 BAKEFILE_BAKEFILE_M4_VERSION
="0.2.2"
51668 BAKEFILE_AUTOCONF_INC_M4_VERSION
="0.2.2"
51672 # Check whether --enable-precomp-headers was given.
51673 if test "${enable_precomp_headers+set}" = set; then
51674 enableval
=$enable_precomp_headers; bk_use_pch
="$enableval"
51683 case ${BAKEFILE_HOST} in
51689 if test "x$bk_use_pch" = "x" -o "x$bk_use_pch" = "xyes" ; then
51690 if test "x$GCC" = "xyes"; then
51691 { echo "$as_me:$LINENO: checking if the compiler supports precompiled headers" >&5
51692 echo $ECHO_N "checking if the compiler supports precompiled headers... $ECHO_C" >&6; }
51693 cat >conftest.
$ac_ext <<_ACEOF
51696 cat confdefs.h
>>conftest.
$ac_ext
51697 cat >>conftest.
$ac_ext <<_ACEOF
51698 /* end confdefs.h. */
51704 #if !defined(__GNUC__) || !defined(__GNUC_MINOR__)
51705 There is no PCH support
51708 There is no PCH support
51710 #if (__GNUC__ == 3) && \
51711 ((!defined(__APPLE_CC__) && (__GNUC_MINOR__ < 4)) || \
51712 ( defined(__APPLE_CC__) && (__GNUC_MINOR__ < 3))) || \
51713 ( defined(__INTEL_COMPILER) )
51714 There is no PCH support
51721 rm -f conftest.
$ac_objext
51722 if { (ac_try
="$ac_compile"
51723 case "(($ac_try" in
51724 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
51725 *) ac_try_echo=$ac_try;;
51727 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
51728 (eval "$ac_compile") 2>conftest.er1
51730 grep -v '^ *+' conftest.er1 >conftest.err
51732 cat conftest.err >&5
51733 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51734 (exit $ac_status); } && {
51735 test -z "$ac_c_werror_flag" ||
51736 test ! -s conftest.err
51737 } && test -s conftest.$ac_objext; then
51739 { echo "$as_me:$LINENO: result: yes" >&5
51740 echo "${ECHO_T}yes" >&6; }
51744 echo "$as_me: failed program was:" >&5
51745 sed 's/^/| /' conftest.$ac_ext >&5
51748 cat >conftest.$ac_ext <<_ACEOF
51751 cat confdefs.h >>conftest.$ac_ext
51752 cat >>conftest.$ac_ext <<_ACEOF
51753 /* end confdefs.h. */
51759 #if !defined(__INTEL_COMPILER) || \
51760 (__INTEL_COMPILER < 800)
51761 There is no PCH support
51768 rm -f conftest.$ac_objext
51769 if { (ac_try="$ac_compile"
51770 case "(($ac_try" in
51771 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
51772 *) ac_try_echo
=$ac_try;;
51774 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
51775 (eval "$ac_compile") 2>conftest.er1
51777 grep -v '^ *+' conftest.er1
>conftest.err
51779 cat conftest.err
>&5
51780 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51781 (exit $ac_status); } && {
51782 test -z "$ac_c_werror_flag" ||
51783 test ! -s conftest.err
51784 } && test -s conftest.
$ac_objext; then
51786 { echo "$as_me:$LINENO: result: yes" >&5
51787 echo "${ECHO_T}yes" >&6; }
51791 echo "$as_me: failed program was:" >&5
51792 sed 's/^/| /' conftest.
$ac_ext >&5
51795 { echo "$as_me:$LINENO: result: no" >&5
51796 echo "${ECHO_T}no" >&6; }
51800 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
51804 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
51805 if test $GCC_PCH = 1 -o $ICC_PCH = 1 ; then
51809 cat <<EOF >bk-make-pch
51812 # This script is part of Bakefile (http://bakefile.sourceforge.net) autoconf
51813 # script. It is used to generated precompiled headers.
51815 # Permission is given to use this file in any way.
51825 while test ${D}{#} -gt 0; do
51829 incdir=\`echo ${D}{1} | sed -e 's/-I\\(.*\\)/\\1/g'\`
51830 if test "x${D}{headerfile}" = "x" -a -f "${D}{incdir}/${D}{header}" ; then
51831 headerfile="${D}{incdir}/${D}{header}"
51834 -use-pch|-use_pch )
51839 if test ${D}add_to_cmdline = 1 ; then
51840 compiler="${D}{compiler} ${D}{1}"
51845 if test "x${D}{headerfile}" = "x" ; then
51846 echo "error: can't find header ${D}{header} in include paths" >&2
51848 if test -f ${D}{outfile} ; then
51849 rm -f ${D}{outfile}
51851 mkdir -p \`dirname ${D}{outfile}\`
51853 depsfile=".deps/\`echo ${D}{outfile} | tr '/.' '__'\`.d"
51855 if test "x${GCC_PCH}" = "x1" ; then
51856 # can do this because gcc is >= 3.4:
51857 ${D}{compiler} -o ${D}{outfile} -MMD -MF "${D}{depsfile}" "${D}{headerfile}"
51858 elif test "x${ICC_PCH}" = "x1" ; then
51859 filename=pch_gen-${D}${D}
51860 file=${D}{filename}.c
51861 dfile=${D}{filename}.d
51862 cat > ${D}file <<EOT
51863 #include "${D}header"
51865 # using -MF icc complains about differing command lines in creation/use
51866 ${D}compiler -c -create_pch ${D}outfile -MMD ${D}file && \\
51867 sed -e "s,^.*:,${D}outfile:," -e "s, ${D}file,," < ${D}dfile > ${D}depsfile && \\
51868 rm -f ${D}file ${D}dfile ${D}{filename}.o
51874 chmod +x bk
-make-pch
51875 BK_MAKE_PCH
="`pwd`/bk-make-pch"
51884 COND_BUILD_DEBUG
="#"
51885 if test "x$BUILD" = "xdebug" ; then
51886 COND_BUILD_DEBUG
=""
51889 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT
="#"
51890 if test "x$BUILD" = "xdebug" -a "x$DEBUG_FLAG" = "xdefault" ; then
51891 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT
=""
51894 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT
="#"
51895 if test "x$BUILD" = "xdebug" -a "x$DEBUG_INFO" = "xdefault" ; then
51896 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT
=""
51899 COND_BUILD_DEBUG_UNICODE_0
="#"
51900 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x0" ; then
51901 COND_BUILD_DEBUG_UNICODE_0
=""
51904 COND_BUILD_DEBUG_UNICODE_1
="#"
51905 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x1" ; then
51906 COND_BUILD_DEBUG_UNICODE_1
=""
51909 COND_BUILD_RELEASE
="#"
51910 if test "x$BUILD" = "xrelease" ; then
51911 COND_BUILD_RELEASE
=""
51914 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT
="#"
51915 if test "x$BUILD" = "xrelease" -a "x$DEBUG_INFO" = "xdefault" ; then
51916 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT
=""
51919 COND_BUILD_RELEASE_UNICODE_0
="#"
51920 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x0" ; then
51921 COND_BUILD_RELEASE_UNICODE_0
=""
51924 COND_BUILD_RELEASE_UNICODE_1
="#"
51925 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x1" ; then
51926 COND_BUILD_RELEASE_UNICODE_1
=""
51929 COND_DEBUG_FLAG_1
="#"
51930 if test "x$DEBUG_FLAG" = "x1" ; then
51931 COND_DEBUG_FLAG_1
=""
51934 COND_DEBUG_INFO_0
="#"
51935 if test "x$DEBUG_INFO" = "x0" ; then
51936 COND_DEBUG_INFO_0
=""
51939 COND_DEBUG_INFO_1
="#"
51940 if test "x$DEBUG_INFO" = "x1" ; then
51941 COND_DEBUG_INFO_1
=""
51944 COND_DEPS_TRACKING_0
="#"
51945 if test "x$DEPS_TRACKING" = "x0" ; then
51946 COND_DEPS_TRACKING_0
=""
51949 COND_DEPS_TRACKING_1
="#"
51950 if test "x$DEPS_TRACKING" = "x1" ; then
51951 COND_DEPS_TRACKING_1
=""
51955 if test "x$GCC_PCH" = "x1" ; then
51960 if test "x$ICC_PCH" = "x1" ; then
51964 COND_MONOLITHIC_0
="#"
51965 if test "x$MONOLITHIC" = "x0" ; then
51966 COND_MONOLITHIC_0
=""
51969 COND_MONOLITHIC_0_SHARED_0
="#"
51970 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" ; then
51971 COND_MONOLITHIC_0_SHARED_0
=""
51974 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1
="#"
51975 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_AUI" = "x1" ; then
51976 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1
=""
51979 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1
="#"
51980 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" ; then
51981 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1
=""
51984 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1
="#"
51985 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
51986 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1
=""
51989 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1
="#"
51990 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
51991 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1
=""
51994 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1
="#"
51995 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_ODBC" = "x1" ; then
51996 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1
=""
51999 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1
="#"
52000 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_QA" = "x1" ; then
52001 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1
=""
52004 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1
="#"
52005 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_ODBC" = "x1" ; then
52006 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1
=""
52009 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1
="#"
52010 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_RICHTEXT" = "x1" ; then
52011 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1
=""
52014 COND_MONOLITHIC_0_SHARED_0_USE_STC_1
="#"
52015 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_STC" = "x1" ; then
52016 COND_MONOLITHIC_0_SHARED_0_USE_STC_1
=""
52019 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1
="#"
52020 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_XRC" = "x1" ; then
52021 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1
=""
52024 COND_MONOLITHIC_0_SHARED_1
="#"
52025 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" ; then
52026 COND_MONOLITHIC_0_SHARED_1
=""
52029 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1
="#"
52030 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_AUI" = "x1" ; then
52031 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1
=""
52034 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1
="#"
52035 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" ; then
52036 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1
=""
52039 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1
="#"
52040 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
52041 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1
=""
52044 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1
="#"
52045 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
52046 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1
=""
52049 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1
="#"
52050 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_ODBC" = "x1" ; then
52051 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1
=""
52054 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1
="#"
52055 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_QA" = "x1" ; then
52056 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1
=""
52059 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1
="#"
52060 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_ODBC" = "x1" ; then
52061 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1
=""
52064 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1
="#"
52065 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_RICHTEXT" = "x1" ; then
52066 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1
=""
52069 COND_MONOLITHIC_0_SHARED_1_USE_STC_1
="#"
52070 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_STC" = "x1" ; then
52071 COND_MONOLITHIC_0_SHARED_1_USE_STC_1
=""
52074 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1
="#"
52075 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_XRC" = "x1" ; then
52076 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1
=""
52079 COND_MONOLITHIC_0_USE_AUI_1
="#"
52080 if test "x$MONOLITHIC" = "x0" -a "x$USE_AUI" = "x1" ; then
52081 COND_MONOLITHIC_0_USE_AUI_1
=""
52084 COND_MONOLITHIC_0_USE_GUI_1
="#"
52085 if test "x$MONOLITHIC" = "x0" -a "x$USE_GUI" = "x1" ; then
52086 COND_MONOLITHIC_0_USE_GUI_1
=""
52089 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1
="#"
52090 if test "x$MONOLITHIC" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
52091 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1
=""
52094 COND_MONOLITHIC_0_USE_GUI_1_USE_ODBC_1
="#"
52095 if test "x$MONOLITHIC" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_ODBC" = "x1" ; then
52096 COND_MONOLITHIC_0_USE_GUI_1_USE_ODBC_1
=""
52099 COND_MONOLITHIC_0_USE_HTML_1
="#"
52100 if test "x$MONOLITHIC" = "x0" -a "x$USE_HTML" = "x1" ; then
52101 COND_MONOLITHIC_0_USE_HTML_1
=""
52104 COND_MONOLITHIC_0_USE_MEDIA_1
="#"
52105 if test "x$MONOLITHIC" = "x0" -a "x$USE_MEDIA" = "x1" ; then
52106 COND_MONOLITHIC_0_USE_MEDIA_1
=""
52109 COND_MONOLITHIC_0_USE_ODBC_1
="#"
52110 if test "x$MONOLITHIC" = "x0" -a "x$USE_ODBC" = "x1" ; then
52111 COND_MONOLITHIC_0_USE_ODBC_1
=""
52114 COND_MONOLITHIC_0_USE_QA_1
="#"
52115 if test "x$MONOLITHIC" = "x0" -a "x$USE_QA" = "x1" ; then
52116 COND_MONOLITHIC_0_USE_QA_1
=""
52119 COND_MONOLITHIC_0_USE_RICHTEXT_1
="#"
52120 if test "x$MONOLITHIC" = "x0" -a "x$USE_RICHTEXT" = "x1" ; then
52121 COND_MONOLITHIC_0_USE_RICHTEXT_1
=""
52124 COND_MONOLITHIC_0_USE_STC_1
="#"
52125 if test "x$MONOLITHIC" = "x0" -a "x$USE_STC" = "x1" ; then
52126 COND_MONOLITHIC_0_USE_STC_1
=""
52129 COND_MONOLITHIC_0_USE_XRC_1
="#"
52130 if test "x$MONOLITHIC" = "x0" -a "x$USE_XRC" = "x1" ; then
52131 COND_MONOLITHIC_0_USE_XRC_1
=""
52134 COND_MONOLITHIC_1
="#"
52135 if test "x$MONOLITHIC" = "x1" ; then
52136 COND_MONOLITHIC_1
=""
52139 COND_MONOLITHIC_1_SHARED_0
="#"
52140 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x0" ; then
52141 COND_MONOLITHIC_1_SHARED_0
=""
52144 COND_MONOLITHIC_1_SHARED_1
="#"
52145 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x1" ; then
52146 COND_MONOLITHIC_1_SHARED_1
=""
52149 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1
="#"
52150 if test "x$OFFICIAL_BUILD" = "x0" -a "x$PLATFORM_WIN32" = "x1" ; then
52151 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1
=""
52154 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1
="#"
52155 if test "x$OFFICIAL_BUILD" = "x1" -a "x$PLATFORM_WIN32" = "x1" ; then
52156 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1
=""
52159 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1
="#"
52160 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERCYGWIN" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
52161 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1
=""
52164 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1
="#"
52165 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
52166 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1
=""
52169 COND_PLATFORM_MACOSX_1
="#"
52170 if test "x$PLATFORM_MACOSX" = "x1" ; then
52171 COND_PLATFORM_MACOSX_1
=""
52174 COND_PLATFORM_MACOSX_1_TOOLKIT_
="#"
52175 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "x" ; then
52176 COND_PLATFORM_MACOSX_1_TOOLKIT_
=""
52179 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA
="#"
52180 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xCOCOA" ; then
52181 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA
=""
52184 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK
="#"
52185 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xGTK" ; then
52186 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK
=""
52189 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC
="#"
52190 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMAC" ; then
52191 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC
=""
52194 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1
="#"
52195 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" ; then
52196 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1
=""
52199 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF
="#"
52200 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMOTIF" ; then
52201 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF
=""
52204 COND_PLATFORM_MACOSX_1_TOOLKIT_X11
="#"
52205 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xX11" ; then
52206 COND_PLATFORM_MACOSX_1_TOOLKIT_X11
=""
52209 COND_PLATFORM_MACOSX_1_USE_GUI_1
="#"
52210 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_GUI" = "x1" ; then
52211 COND_PLATFORM_MACOSX_1_USE_GUI_1
=""
52214 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1
="#"
52215 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
52216 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1
=""
52219 COND_PLATFORM_MACOS_1
="#"
52220 if test "x$PLATFORM_MACOS" = "x1" ; then
52221 COND_PLATFORM_MACOS_1
=""
52224 COND_PLATFORM_MAC_1
="#"
52225 if test "x$PLATFORM_MAC" = "x1" ; then
52226 COND_PLATFORM_MAC_1
=""
52229 COND_PLATFORM_MSDOS_0
="#"
52230 if test "x$PLATFORM_MSDOS" = "x0" ; then
52231 COND_PLATFORM_MSDOS_0
=""
52234 COND_PLATFORM_MSDOS_1
="#"
52235 if test "x$PLATFORM_MSDOS" = "x1" ; then
52236 COND_PLATFORM_MSDOS_1
=""
52239 COND_PLATFORM_OS2_1
="#"
52240 if test "x$PLATFORM_OS2" = "x1" ; then
52241 COND_PLATFORM_OS2_1
=""
52244 COND_PLATFORM_UNIX_0
="#"
52245 if test "x$PLATFORM_UNIX" = "x0" ; then
52246 COND_PLATFORM_UNIX_0
=""
52249 COND_PLATFORM_UNIX_1
="#"
52250 if test "x$PLATFORM_UNIX" = "x1" ; then
52251 COND_PLATFORM_UNIX_1
=""
52254 COND_PLATFORM_UNIX_1_TOOLKIT_MGL
="#"
52255 if test "x$PLATFORM_UNIX" = "x1" -a "x$TOOLKIT" = "xMGL" ; then
52256 COND_PLATFORM_UNIX_1_TOOLKIT_MGL
=""
52259 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1
="#"
52260 if test "x$PLATFORM_UNIX" = "x1" -a "x$TOOLKIT" = "xMGL" -a "x$USE_GUI" = "x1" ; then
52261 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1
=""
52264 COND_PLATFORM_UNIX_1_USE_GUI_1
="#"
52265 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_GUI" = "x1" ; then
52266 COND_PLATFORM_UNIX_1_USE_GUI_1
=""
52269 COND_PLATFORM_UNIX_1_USE_PLUGINS_0
="#"
52270 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_PLUGINS" = "x0" ; then
52271 COND_PLATFORM_UNIX_1_USE_PLUGINS_0
=""
52274 COND_PLATFORM_WIN32_0
="#"
52275 if test "x$PLATFORM_WIN32" = "x0" ; then
52276 COND_PLATFORM_WIN32_0
=""
52279 COND_PLATFORM_WIN32_1
="#"
52280 if test "x$PLATFORM_WIN32" = "x1" ; then
52281 COND_PLATFORM_WIN32_1
=""
52285 if test "x$SHARED" = "x0" ; then
52289 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0
="#"
52290 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMAC" -a "x$WXUNIV" = "x0" ; then
52291 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0
=""
52294 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0
="#"
52295 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
52296 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0
=""
52299 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0
="#"
52300 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xPM" -a "x$WXUNIV" = "x0" ; then
52301 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0
=""
52304 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1
="#"
52305 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
52306 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1
=""
52309 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
="#"
52310 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
52311 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
=""
52314 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
="#"
52315 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
52316 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
=""
52319 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
="#"
52320 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
52321 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
=""
52324 COND_SHARED_0_USE_STC_1
="#"
52325 if test "x$SHARED" = "x0" -a "x$USE_STC" = "x1" ; then
52326 COND_SHARED_0_USE_STC_1
=""
52329 COND_SHARED_0_USE_XRC_1
="#"
52330 if test "x$SHARED" = "x0" -a "x$USE_XRC" = "x1" ; then
52331 COND_SHARED_0_USE_XRC_1
=""
52334 COND_SHARED_0_WXUSE_EXPAT_BUILTIN
="#"
52335 if test "x$SHARED" = "x0" -a "x$wxUSE_EXPAT" = "xbuiltin" ; then
52336 COND_SHARED_0_WXUSE_EXPAT_BUILTIN
=""
52339 COND_SHARED_0_WXUSE_ODBC_BUILTIN
="#"
52340 if test "x$SHARED" = "x0" -a "x$wxUSE_ODBC" = "xbuiltin" ; then
52341 COND_SHARED_0_WXUSE_ODBC_BUILTIN
=""
52344 COND_SHARED_0_WXUSE_REGEX_BUILTIN
="#"
52345 if test "x$SHARED" = "x0" -a "x$wxUSE_REGEX" = "xbuiltin" ; then
52346 COND_SHARED_0_WXUSE_REGEX_BUILTIN
=""
52349 COND_SHARED_0_WXUSE_ZLIB_BUILTIN
="#"
52350 if test "x$SHARED" = "x0" -a "x$wxUSE_ZLIB" = "xbuiltin" ; then
52351 COND_SHARED_0_WXUSE_ZLIB_BUILTIN
=""
52355 if test "x$SHARED" = "x1" ; then
52359 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1
="#"
52360 if test "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
52361 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1
=""
52364 COND_SHARED_1_USE_XRC_1
="#"
52365 if test "x$SHARED" = "x1" -a "x$USE_XRC" = "x1" ; then
52366 COND_SHARED_1_USE_XRC_1
=""
52370 if test "x$TOOLKIT" = "x" ; then
52374 COND_TOOLKIT_COCOA
="#"
52375 if test "x$TOOLKIT" = "xCOCOA" ; then
52376 COND_TOOLKIT_COCOA
=""
52379 COND_TOOLKIT_COCOA_USE_GUI_1
="#"
52380 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" ; then
52381 COND_TOOLKIT_COCOA_USE_GUI_1
=""
52384 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0
="#"
52385 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
52386 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0
=""
52389 COND_TOOLKIT_DFB
="#"
52390 if test "x$TOOLKIT" = "xDFB" ; then
52391 COND_TOOLKIT_DFB
=""
52394 COND_TOOLKIT_DFB_USE_GUI_1
="#"
52395 if test "x$TOOLKIT" = "xDFB" -a "x$USE_GUI" = "x1" ; then
52396 COND_TOOLKIT_DFB_USE_GUI_1
=""
52399 COND_TOOLKIT_GTK
="#"
52400 if test "x$TOOLKIT" = "xGTK" ; then
52401 COND_TOOLKIT_GTK
=""
52404 COND_TOOLKIT_GTK_TOOLKIT_VERSION_
="#"
52405 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" ; then
52406 COND_TOOLKIT_GTK_TOOLKIT_VERSION_
=""
52409 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2
="#"
52410 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" ; then
52411 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2
=""
52414 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1
="#"
52415 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" ; then
52416 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1
=""
52419 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0
="#"
52420 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
52421 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0
=""
52424 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1
="#"
52425 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" -a "x$USE_GUI" = "x1" ; then
52426 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1
=""
52429 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0
="#"
52430 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
52431 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0
=""
52434 COND_TOOLKIT_GTK_USE_GUI_1
="#"
52435 if test "x$TOOLKIT" = "xGTK" -a "x$USE_GUI" = "x1" ; then
52436 COND_TOOLKIT_GTK_USE_GUI_1
=""
52439 COND_TOOLKIT_MAC
="#"
52440 if test "x$TOOLKIT" = "xMAC" ; then
52441 COND_TOOLKIT_MAC
=""
52444 COND_TOOLKIT_MAC_USE_GUI_1
="#"
52445 if test "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" ; then
52446 COND_TOOLKIT_MAC_USE_GUI_1
=""
52449 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0
="#"
52450 if test "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
52451 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0
=""
52454 COND_TOOLKIT_MGL
="#"
52455 if test "x$TOOLKIT" = "xMGL" ; then
52456 COND_TOOLKIT_MGL
=""
52459 COND_TOOLKIT_MGL_USE_GUI_1
="#"
52460 if test "x$TOOLKIT" = "xMGL" -a "x$USE_GUI" = "x1" ; then
52461 COND_TOOLKIT_MGL_USE_GUI_1
=""
52464 COND_TOOLKIT_MOTIF
="#"
52465 if test "x$TOOLKIT" = "xMOTIF" ; then
52466 COND_TOOLKIT_MOTIF
=""
52469 COND_TOOLKIT_MOTIF_USE_GUI_1
="#"
52470 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" ; then
52471 COND_TOOLKIT_MOTIF_USE_GUI_1
=""
52474 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0
="#"
52475 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
52476 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0
=""
52479 COND_TOOLKIT_MSW
="#"
52480 if test "x$TOOLKIT" = "xMSW" ; then
52481 COND_TOOLKIT_MSW
=""
52484 COND_TOOLKIT_MSW_USE_GUI_1
="#"
52485 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" ; then
52486 COND_TOOLKIT_MSW_USE_GUI_1
=""
52489 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0
="#"
52490 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
52491 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0
=""
52494 COND_TOOLKIT_MSW_WXUNIV_0
="#"
52495 if test "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
52496 COND_TOOLKIT_MSW_WXUNIV_0
=""
52499 COND_TOOLKIT_PM
="#"
52500 if test "x$TOOLKIT" = "xPM" ; then
52504 COND_TOOLKIT_PM_USE_GUI_1
="#"
52505 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" ; then
52506 COND_TOOLKIT_PM_USE_GUI_1
=""
52509 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0
="#"
52510 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
52511 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0
=""
52514 COND_TOOLKIT_WINCE
="#"
52515 if test "x$TOOLKIT" = "xWINCE" ; then
52516 COND_TOOLKIT_WINCE
=""
52519 COND_TOOLKIT_WINCE_USE_GUI_1
="#"
52520 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" ; then
52521 COND_TOOLKIT_WINCE_USE_GUI_1
=""
52524 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0
="#"
52525 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
52526 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0
=""
52529 COND_TOOLKIT_WINCE_WXUNIV_0
="#"
52530 if test "x$TOOLKIT" = "xWINCE" -a "x$WXUNIV" = "x0" ; then
52531 COND_TOOLKIT_WINCE_WXUNIV_0
=""
52534 COND_TOOLKIT_X11
="#"
52535 if test "x$TOOLKIT" = "xX11" ; then
52536 COND_TOOLKIT_X11
=""
52539 COND_TOOLKIT_X11_USE_GUI_1
="#"
52540 if test "x$TOOLKIT" = "xX11" -a "x$USE_GUI" = "x1" ; then
52541 COND_TOOLKIT_X11_USE_GUI_1
=""
52545 if test "x$UNICODE" = "x1" ; then
52549 COND_USE_EXCEPTIONS_0
="#"
52550 if test "x$USE_EXCEPTIONS" = "x0" ; then
52551 COND_USE_EXCEPTIONS_0
=""
52554 COND_USE_EXCEPTIONS_1
="#"
52555 if test "x$USE_EXCEPTIONS" = "x1" ; then
52556 COND_USE_EXCEPTIONS_1
=""
52560 if test "x$USE_GUI" = "x0" ; then
52565 if test "x$USE_GUI" = "x1" ; then
52569 COND_USE_GUI_1_USE_OPENGL_1
="#"
52570 if test "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
52571 COND_USE_GUI_1_USE_OPENGL_1
=""
52574 COND_USE_GUI_1_WXUNIV_0
="#"
52575 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
52576 COND_USE_GUI_1_WXUNIV_0
=""
52579 COND_USE_GUI_1_WXUNIV_1
="#"
52580 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x1" ; then
52581 COND_USE_GUI_1_WXUNIV_1
=""
52584 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
="#"
52585 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
52586 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
=""
52589 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
="#"
52590 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
52591 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
=""
52594 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
="#"
52595 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
52596 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
=""
52599 COND_USE_ODBC_1
="#"
52600 if test "x$USE_ODBC" = "x1" ; then
52604 COND_USE_OPENGL_1
="#"
52605 if test "x$USE_OPENGL" = "x1" ; then
52606 COND_USE_OPENGL_1
=""
52610 if test "x$USE_PCH" = "x1" ; then
52614 COND_USE_PLUGINS_0
="#"
52615 if test "x$USE_PLUGINS" = "x0" ; then
52616 COND_USE_PLUGINS_0
=""
52619 COND_USE_RTTI_0
="#"
52620 if test "x$USE_RTTI" = "x0" ; then
52624 COND_USE_RTTI_1
="#"
52625 if test "x$USE_RTTI" = "x1" ; then
52629 COND_USE_SOSYMLINKS_1
="#"
52630 if test "x$USE_SOSYMLINKS" = "x1" ; then
52631 COND_USE_SOSYMLINKS_1
=""
52634 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1
="#"
52635 if test "x$USE_SOVERCYGWIN" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
52636 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1
=""
52639 COND_USE_SOVERLINUX_1
="#"
52640 if test "x$USE_SOVERLINUX" = "x1" ; then
52641 COND_USE_SOVERLINUX_1
=""
52644 COND_USE_SOVERSION_0
="#"
52645 if test "x$USE_SOVERSION" = "x0" ; then
52646 COND_USE_SOVERSION_0
=""
52649 COND_USE_SOVERSOLARIS_1
="#"
52650 if test "x$USE_SOVERSOLARIS" = "x1" ; then
52651 COND_USE_SOVERSOLARIS_1
=""
52655 if test "x$USE_STC" = "x1" ; then
52659 COND_USE_THREADS_0
="#"
52660 if test "x$USE_THREADS" = "x0" ; then
52661 COND_USE_THREADS_0
=""
52664 COND_USE_THREADS_1
="#"
52665 if test "x$USE_THREADS" = "x1" ; then
52666 COND_USE_THREADS_1
=""
52670 if test "x$USE_XRC" = "x1" ; then
52674 COND_WINDOWS_IMPLIB_1
="#"
52675 if test "x$WINDOWS_IMPLIB" = "x1" ; then
52676 COND_WINDOWS_IMPLIB_1
=""
52679 COND_WITH_PLUGIN_SDL_1
="#"
52680 if test "x$WITH_PLUGIN_SDL" = "x1" ; then
52681 COND_WITH_PLUGIN_SDL_1
=""
52685 if test "x$WXUNIV" = "x0" ; then
52690 if test "x$WXUNIV" = "x1" ; then
52694 COND_WXUSE_EXPAT_BUILTIN
="#"
52695 if test "x$wxUSE_EXPAT" = "xbuiltin" ; then
52696 COND_WXUSE_EXPAT_BUILTIN
=""
52699 COND_WXUSE_LIBJPEG_BUILTIN
="#"
52700 if test "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
52701 COND_WXUSE_LIBJPEG_BUILTIN
=""
52704 COND_WXUSE_LIBPNG_BUILTIN
="#"
52705 if test "x$wxUSE_LIBPNG" = "xbuiltin" ; then
52706 COND_WXUSE_LIBPNG_BUILTIN
=""
52709 COND_WXUSE_LIBTIFF_BUILTIN
="#"
52710 if test "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
52711 COND_WXUSE_LIBTIFF_BUILTIN
=""
52714 COND_WXUSE_ODBC_BUILTIN
="#"
52715 if test "x$wxUSE_ODBC" = "xbuiltin" ; then
52716 COND_WXUSE_ODBC_BUILTIN
=""
52719 COND_WXUSE_REGEX_BUILTIN
="#"
52720 if test "x$wxUSE_REGEX" = "xbuiltin" ; then
52721 COND_WXUSE_REGEX_BUILTIN
=""
52724 COND_WXUSE_ZLIB_BUILTIN
="#"
52725 if test "x$wxUSE_ZLIB" = "xbuiltin" ; then
52726 COND_WXUSE_ZLIB_BUILTIN
=""
52731 if test "$BAKEFILE_AUTOCONF_INC_M4_VERSION" = "" ; then
52732 { { 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
52733 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;}
52734 { (exit 1); exit 1; }; }
52737 if test "$BAKEFILE_BAKEFILE_M4_VERSION" != "$BAKEFILE_AUTOCONF_INC_M4_VERSION" ; then
52738 { { 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
52739 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;}
52740 { (exit 1); exit 1; }; }
52747 ?
:* ) # Drive letter, considered as absolute.
52750 INSTALL
=`pwd`/${INSTALL} ;;
52753 if test "$wxUSE_GUI" = "yes"; then
52755 if test "$wxUSE_MSW" = 1 ; then
52756 if test "x$WINDRES" = "x"; then
52757 { { echo "$as_me:$LINENO: error: Required windres program not found" >&5
52758 echo "$as_me: error: Required windres program not found" >&2;}
52759 { (exit 1); exit 1; }; }
52765 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1; then
52766 WX_RESOURCES_MACOSX_ASCII
="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.r"
52767 WX_RESOURCES_MACOSX_DATA
="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.rsrc"
52769 LIBWXMACRES
="\$(wx_top_builddir)/lib/${WX_RESOURCES_MACOSX_ASCII}"
52771 # Extract the first word of "DeRez", so it can be a program name with args.
52772 set dummy DeRez
; ac_word
=$2
52773 { echo "$as_me:$LINENO: checking for $ac_word" >&5
52774 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
52775 if test "${ac_cv_prog_DEREZ+set}" = set; then
52776 echo $ECHO_N "(cached) $ECHO_C" >&6
52778 if test -n "$DEREZ"; then
52779 ac_cv_prog_DEREZ
="$DEREZ" # Let the user override the test.
52781 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
52782 for as_dir
in $PATH
52785 test -z "$as_dir" && as_dir
=.
52786 for ac_exec_ext
in '' $ac_executable_extensions; do
52787 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
52788 ac_cv_prog_DEREZ
="DeRez"
52789 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
52796 test -z "$ac_cv_prog_DEREZ" && ac_cv_prog_DEREZ
="/Developer/Tools/DeRez"
52799 DEREZ
=$ac_cv_prog_DEREZ
52800 if test -n "$DEREZ"; then
52801 { echo "$as_me:$LINENO: result: $DEREZ" >&5
52802 echo "${ECHO_T}$DEREZ" >&6; }
52804 { echo "$as_me:$LINENO: result: no" >&5
52805 echo "${ECHO_T}no" >&6; }
52810 MACSETFILE
="\$(SETFILE)"
52812 if test "$wxUSE_MAC" = 1; then
52813 POSTLINK_COMMAND
="\$(REZ) -d __DARWIN__ -t APPL Carbon.r -o"
52815 WXCONFIG_RESFLAGS
="-d __DARWIN__ -t APPL Carbon.r -o"
52817 POSTLINK_COMMAND
="cat /dev/null | \$(REZ) -d __DARWIN__ -t APPL ${LIBWXMACRES}"
52818 RESCOMP
="cat /dev/null \| $REZ"
52819 WXCONFIG_RESFLAGS
="-d __DARWIN__ -t APPL \$libdir/$WX_RESOURCES_MACOSX_ASCII"
52825 if test "$wxUSE_PM" = 1; then
52827 WXCONFIG_RESFLAGS
="-ep"
52829 POSTLINK_COMMAND
="$RESCOMP $WXCONFIG_RESFLAGS"
52831 POSTLINK_COMMAND
="@true"
52838 if test $GCC_PCH = 1
52840 if test "$wx_cv_gcc_pch_bug" = yes; then
52841 { echo "$as_me:$LINENO: WARNING: *** Precompiled header support is broken on this compiler" >&5
52842 echo "$as_me: WARNING: *** Precompiled header support is broken on this compiler" >&2;}
52843 { echo "$as_me:$LINENO: WARNING: *** --enable-precomp-headers is not recommended" >&5
52844 echo "$as_me: WARNING: *** --enable-precomp-headers is not recommended" >&2;}
52845 { echo "$as_me:$LINENO: WARNING: *** see http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13361" >&5
52846 echo "$as_me: WARNING: *** see http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13361" >&2;}
52849 CPPFLAGS
="-DWX_PRECOMP $CPPFLAGS"
52853 if test "$wxUSE_MAC" = 1 ; then
52854 if test "x$wxUSE_UNIVERSAL_BINARY" != "xno" ; then
52855 sed "s/DEPSMODE=gcc/DEPSMODE=none/" < bk
-deps > temp
52861 if test "$wxUSE_SHARED" = "yes"; then
52863 sanitised_bakefile_mess
=`echo "$SHARED_LD_CXX" | tr -d '()'`
52864 EXE_LINKER
=`eval echo "$sanitised_bakefile_mess"`
52867 *-pc-os2_emx | *-pc-os2-emx )
52868 SHARED_LD_CC
="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
52869 SHARED_LD_CXX
="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
52870 cp -p ${srcdir}/src
/os
2/dllnames.sh .
52871 cp -p ${srcdir}/src
/os
2/dllar.sh .
52876 EXE_LINKER
="$CXX -o"
52879 if test "$wxUSE_OMF" = "yes"; then
52881 *-pc-os2_emx | *-pc-os2-emx )
52882 LDFLAGS
="$LDFLAGS -Zlinker /EXEPACK"
52883 LDFLAGS_GUI
="-Zlinker /PMTYPE:PM"
52884 WXCONFIG_LDFLAGS_GUI
="-Zlinker /PMTYPE:PM"
52889 WXCONFIG_CPPFLAGS
="$WXCONFIG_CPPFLAGS $TOOLCHAIN_DEFS"
52894 if "$GCC" = yes; then
52895 CPPFLAGS
=`echo $CPPFLAGS | sed 's/-mt//'`
52896 LIBS
=`echo $LIBS | sed 's/-mt//'`
52897 EXTRALIBS_GUI
=`echo $EXTRALIBS_GUI | sed 's/-mt//'`
52902 if test "x$SUNCXX" = xyes
; then
52903 CPPFLAGS
=`echo $CPPFLAGS | sed 's/-pthread//'`
52904 LIBS
=`echo $LIBS | sed 's/-pthread//'`
52905 EXTRALIBS_GUI
=`echo $EXTRALIBS_GUI | sed 's/-pthread//'`
52910 CFLAGS
="$CFLAGS $CFLAGS_VISIBILITY"
52911 CXXFLAGS
="$CXXFLAGS $CXXFLAGS_VISIBILITY"
52913 SAMPLES_SUBDIRS
="`echo $SAMPLES_SUBDIRS | tr -s ' ' | tr ' ' '\n' | sort | uniq | tr '\n' ' '| tr -d '\r'`"
52975 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
52976 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
52977 set x
${MAKE-make}; ac_make
=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
52978 if { as_var
=ac_cv_prog_make_
${ac_make}_set
; eval "test \"\${$as_var+set}\" = set"; }; then
52979 echo $ECHO_N "(cached) $ECHO_C" >&6
52981 cat >conftest.
make <<\_ACEOF
52984 @
echo '@@@%%%=$(MAKE)=@@@%%%'
52986 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
52987 case `${MAKE-make} -f conftest.make 2>/dev/null` in
52988 *@@@
%%%=?
*=@@@
%%%*)
52989 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
52991 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
52993 rm -f conftest.
make
52995 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
52996 { echo "$as_me:$LINENO: result: yes" >&5
52997 echo "${ECHO_T}yes" >&6; }
53000 { echo "$as_me:$LINENO: result: no" >&5
53001 echo "${ECHO_T}no" >&6; }
53002 SET_MAKE
="MAKE=${MAKE-make}"
53007 ac_config_headers
="$ac_config_headers lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in"
53010 if test "$USE_WIN32" = 1; then
53011 ac_config_commands
="$ac_config_commands
53017 ac_config_files
="$ac_config_files lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in"
53020 ac_config_files
="$ac_config_files lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in"
53023 if test "$wx_cv_version_script" = "yes"; then
53024 ac_config_files
="$ac_config_files version-script"
53027 ac_config_files
="$ac_config_files Makefile"
53030 ac_config_commands
="$ac_config_commands wx-config"
53034 if test "$wxWITH_SUBDIRS" != "no"; then
53035 if test "$wxUSE_GUI" = "yes"; then
53036 SUBDIRS
="samples demos utils"
53037 else SUBDIRS
="samples utils"
53042 # Check whether --with-cppunit-prefix was given.
53043 if test "${with_cppunit_prefix+set}" = set; then
53044 withval
=$with_cppunit_prefix; cppunit_config_prefix
="$withval"
53046 cppunit_config_prefix
=""
53050 # Check whether --with-cppunit-exec-prefix was given.
53051 if test "${with_cppunit_exec_prefix+set}" = set; then
53052 withval
=$with_cppunit_exec_prefix; cppunit_config_exec_prefix
="$withval"
53054 cppunit_config_exec_prefix
=""
53058 if test x
$cppunit_config_exec_prefix != x
; then
53059 cppunit_config_args
="$cppunit_config_args --exec-prefix=$cppunit_config_exec_prefix"
53060 if test x
${CPPUNIT_CONFIG+set} != xset
; then
53061 CPPUNIT_CONFIG
=$cppunit_config_exec_prefix/bin
/cppunit
-config
53064 if test x
$cppunit_config_prefix != x
; then
53065 cppunit_config_args
="$cppunit_config_args --prefix=$cppunit_config_prefix"
53066 if test x
${CPPUNIT_CONFIG+set} != xset
; then
53067 CPPUNIT_CONFIG
=$cppunit_config_prefix/bin
/cppunit
-config
53071 # Extract the first word of "cppunit-config", so it can be a program name with args.
53072 set dummy cppunit
-config; ac_word
=$2
53073 { echo "$as_me:$LINENO: checking for $ac_word" >&5
53074 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
53075 if test "${ac_cv_path_CPPUNIT_CONFIG+set}" = set; then
53076 echo $ECHO_N "(cached) $ECHO_C" >&6
53078 case $CPPUNIT_CONFIG in
53080 ac_cv_path_CPPUNIT_CONFIG
="$CPPUNIT_CONFIG" # Let the user override the test with a path.
53083 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
53084 for as_dir
in $PATH
53087 test -z "$as_dir" && as_dir
=.
53088 for ac_exec_ext
in '' $ac_executable_extensions; do
53089 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
53090 ac_cv_path_CPPUNIT_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
53091 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
53098 test -z "$ac_cv_path_CPPUNIT_CONFIG" && ac_cv_path_CPPUNIT_CONFIG
="no"
53102 CPPUNIT_CONFIG
=$ac_cv_path_CPPUNIT_CONFIG
53103 if test -n "$CPPUNIT_CONFIG"; then
53104 { echo "$as_me:$LINENO: result: $CPPUNIT_CONFIG" >&5
53105 echo "${ECHO_T}$CPPUNIT_CONFIG" >&6; }
53107 { echo "$as_me:$LINENO: result: no" >&5
53108 echo "${ECHO_T}no" >&6; }
53112 cppunit_version_min
=1.8.0
53114 { echo "$as_me:$LINENO: checking for Cppunit - version >= $cppunit_version_min" >&5
53115 echo $ECHO_N "checking for Cppunit - version >= $cppunit_version_min... $ECHO_C" >&6; }
53117 if test "$CPPUNIT_CONFIG" = "no" ; then
53118 { echo "$as_me:$LINENO: result: no" >&5
53119 echo "${ECHO_T}no" >&6; }
53122 CPPUNIT_CFLAGS
=`$CPPUNIT_CONFIG --cflags`
53123 CPPUNIT_LIBS
=`$CPPUNIT_CONFIG --libs`
53124 cppunit_version
=`$CPPUNIT_CONFIG --version`
53126 cppunit_major_version
=`echo $cppunit_version | \
53127 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
53128 cppunit_minor_version
=`echo $cppunit_version | \
53129 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
53130 cppunit_micro_version
=`echo $cppunit_version | \
53131 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
53133 cppunit_major_min
=`echo $cppunit_version_min | \
53134 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
53135 cppunit_minor_min
=`echo $cppunit_version_min | \
53136 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
53137 cppunit_micro_min
=`echo $cppunit_version_min | \
53138 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
53140 cppunit_version_proper
=`expr \
53141 $cppunit_major_version \> $cppunit_major_min \| \
53142 $cppunit_major_version \= $cppunit_major_min \& \
53143 $cppunit_minor_version \> $cppunit_minor_min \| \
53144 $cppunit_major_version \= $cppunit_major_min \& \
53145 $cppunit_minor_version \= $cppunit_minor_min \& \
53146 $cppunit_micro_version \>= $cppunit_micro_min `
53148 if test "$cppunit_version_proper" = "1" ; then
53149 { echo "$as_me:$LINENO: result: $cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&5
53150 echo "${ECHO_T}$cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&6; }
53152 { echo "$as_me:$LINENO: result: no" >&5
53153 echo "${ECHO_T}no" >&6; }
53158 if test "x$no_cppunit" = x
; then
53159 SUBDIRS
="$SUBDIRS tests"
53170 for subdir
in `echo $SUBDIRS`; do
53171 if test -d ${srcdir}/${subdir} ; then
53172 if test "$wxUSE_GUI" = "yes"; then
53173 if test ${subdir} = "samples"; then
53174 makefiles
="samples/Makefile.in $makefiles"
53175 for sample
in `echo $SAMPLES_SUBDIRS`; do
53176 if test -d $srcdir/samples
/$sample; then
53177 makefiles
="samples/$sample/Makefile.in $makefiles"
53181 disabled_var
=DISABLED_
`echo $subdir | tr [a-z] [A-Z]`;
53182 eval "disabled=\$$disabled_var"
53183 disabled
=/`echo X $disabled | sed 's@ @/|/@g'`/
53184 makefiles
=`(cd $srcdir ; find $subdir -name Makefile.in) | $EGREP -v "$disabled"`
53186 else if test ${subdir} = "samples"; then
53187 makefiles
="samples/Makefile.in samples/console/Makefile.in"
53188 elif test ${subdir} = "utils"; then
53190 for util
in HelpGen tex2rtf
; do
53191 if test -d $srcdir/utils
/$util ; then
53192 makefiles
="utils/$util/Makefile.in \
53193 utils/$util/src/Makefile.in \
53197 else makefiles
=`(cd $srcdir ; find $subdir -name Makefile.in)`
53201 for mkin
in $makefiles ; do
53202 mk
=`echo $mkin | sed 's/Makefile\.in/Makefile/g'`
53203 ac_config_files
="$ac_config_files $mk"
53209 cat >confcache
<<\_ACEOF
53210 # This file is a shell script that caches the results of configure
53211 # tests run on this system so they can be shared between configure
53212 # scripts and configure runs, see configure's option --config-cache.
53213 # It is not useful on other systems. If it contains results you don't
53214 # want to keep, you may remove or edit it.
53216 # config.status only pays attention to the cache file if you give it
53217 # the --recheck option to rerun configure.
53219 # `ac_cv_env_foo' variables (set or unset) will be overridden when
53220 # loading this file, other *unset* `ac_cv_foo' will be assigned the
53221 # following values.
53225 # The following way of writing the cache mishandles newlines in values,
53226 # but we know of no workaround that is simple, portable, and efficient.
53227 # So, we kill variables containing newlines.
53228 # Ultrix sh set writes to stderr and can't be redirected directly,
53229 # and sets the high bit in the cache file unless we assign to the vars.
53231 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
53232 eval ac_val
=\$
$ac_var
53236 *_cv_
*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
53237 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
53240 _
| IFS
| as_nl
) ;; #(
53241 *) $as_unset $ac_var ;;
53247 case $as_nl`(ac_space=' '; set) 2>&1` in #(
53248 *${as_nl}ac_space
=\
*)
53249 # `set' does not quote correctly, so add quotes (double-quote
53250 # substitution turns \\\\ into \\, and sed turns \\ into \).
53253 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
53256 # `set' quotes correctly as required by POSIX, so do not add quotes.
53257 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
53266 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
53268 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
53270 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
53271 if test -w "$cache_file"; then
53272 test "x$cache_file" != "x/dev/null" &&
53273 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
53274 echo "$as_me: updating cache $cache_file" >&6;}
53275 cat confcache
>$cache_file
53277 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
53278 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
53283 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
53284 # Let make expand exec_prefix.
53285 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
53287 DEFS
=-DHAVE_CONFIG_H
53291 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
53292 # 1. Remove the extension, and $U if already installed.
53293 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
53294 ac_i
=`echo "$ac_i" | sed "$ac_script"`
53295 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
53296 # will be set to the directory where LIBOBJS objects are built.
53297 ac_libobjs
="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
53298 ac_ltlibobjs
="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
53300 LIBOBJS
=$ac_libobjs
53302 LTLIBOBJS
=$ac_ltlibobjs
53306 : ${CONFIG_STATUS=./config.status}
53307 ac_clean_files_save
=$ac_clean_files
53308 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
53309 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
53310 echo "$as_me: creating $CONFIG_STATUS" >&6;}
53311 cat >$CONFIG_STATUS <<_ACEOF
53313 # Generated by $as_me.
53314 # Run this file to recreate the current configuration.
53315 # Compiler output produced by configure, useful for debugging
53316 # configure, is in config.log if it exists.
53319 ac_cs_recheck=false
53321 SHELL=\${CONFIG_SHELL-$SHELL}
53324 cat >>$CONFIG_STATUS <<\_ACEOF
53325 ## --------------------- ##
53326 ## M4sh Initialization. ##
53327 ## --------------------- ##
53329 # Be more Bourne compatible
53330 DUALCASE
=1; export DUALCASE
# for MKS sh
53331 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
53334 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
53335 # is contrary to our usage. Disable this feature.
53336 alias -g '${1+"$@"}'='"$@"'
53337 setopt NO_GLOB_SUBST
53339 case `(set -o) 2>/dev/null` in
53340 *posix
*) set -o posix
;;
53349 # Avoid depending upon Character Ranges.
53350 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
53351 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
53352 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
53353 as_cr_digits
='0123456789'
53354 as_cr_alnum
=$as_cr_Letters$as_cr_digits
53356 # The user is always right.
53357 if test "${PATH_SEPARATOR+set}" != set; then
53358 echo "#! /bin/sh" >conf$$.sh
53359 echo "exit 0" >>conf$$.sh
53361 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
53369 # Support unset when possible.
53370 if ( (MAIL
=60; unset MAIL
) || exit) >/dev
/null
2>&1; then
53378 # We need space, tab and new line, in precisely that order. Quoting is
53379 # there to prevent editors from complaining about space-tab.
53380 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
53381 # splitting by setting IFS to empty value.)
53386 # Find who we are. Look in the path if we contain no directory separator.
53388 *[\\/]* ) as_myself
=$0 ;;
53389 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
53390 for as_dir
in $PATH
53393 test -z "$as_dir" && as_dir
=.
53394 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
53400 # We did not find ourselves, most probably we were run as `sh COMMAND'
53401 # in which case we are not to be found in the path.
53402 if test "x$as_myself" = x
; then
53405 if test ! -f "$as_myself"; then
53406 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
53407 { (exit 1); exit 1; }
53410 # Work around bugs in pre-3.0 UWIN ksh.
53411 for as_var
in ENV MAIL MAILPATH
53412 do ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
53420 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
53421 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
53422 LC_TELEPHONE LC_TIME
53424 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
53425 eval $as_var=C
; export $as_var
53427 ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
53431 # Required to use basename.
53432 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
53433 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
53439 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
53440 as_basename
=basename
53446 # Name of the executable.
53447 as_me
=`$as_basename -- "$0" ||
53448 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
53449 X"$0" : 'X\(//\)$' \| \
53450 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
53452 sed '/^.*\/\([^/][^/]*\)\/*$/{
53471 as_lineno_1
=$LINENO
53472 as_lineno_2
=$LINENO
53473 test "x$as_lineno_1" != "x$as_lineno_2" &&
53474 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
53476 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
53477 # uniformly replaced by the line number. The first 'sed' inserts a
53478 # line-number line after each line using $LINENO; the second 'sed'
53479 # does the real work. The second script uses 'N' to pair each
53480 # line-number line with the line containing $LINENO, and appends
53481 # trailing '-' during substitution so that $LINENO is not a special
53482 # case at line end.
53483 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
53484 # scripts with optimization help from Paolo Bonzini. Blame Lee
53485 # E. McMahon (1931-1989) for sed's syntax. :-)
53497 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
53500 ' >$as_me.lineno
&&
53501 chmod +x
"$as_me.lineno" ||
53502 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
53503 { (exit 1); exit 1; }; }
53505 # Don't try to exec as it changes $[0], causing all sort of problems
53506 # (the dirname of $[0] is not the place where we might find the
53507 # original and so on. Autoconf is especially sensitive to this).
53508 .
"./$as_me.lineno"
53509 # Exit status is that of the last command.
53514 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
53520 ECHO_C
= ECHO_N
= ECHO_T
=
53521 case `echo -n x` in
53523 case `echo 'x\c'` in
53524 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
53531 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
53532 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
53538 rm -f conf$$ conf$$.exe conf$$.
file
53539 if test -d conf$$.dir
; then
53540 rm -f conf$$.dir
/conf$$.
file
53546 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
53548 # ... but there are two gotchas:
53549 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
53550 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
53551 # In both cases, we have to default to `cp -p'.
53552 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe
||
53554 elif ln conf$$.
file conf$$
2>/dev
/null
; then
53559 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
53560 rmdir conf$$.dir
2>/dev
/null
53562 if mkdir -p .
2>/dev
/null
; then
53565 test -d .
/-p && rmdir .
/-p
53569 if test -x / >/dev
/null
2>&1; then
53570 as_test_x
='test -x'
53572 if ls -dL / >/dev
/null
2>&1; then
53579 if test -d "$1"; then
53585 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
53586 ???[sx]*):;;*)false;;esac;fi
53590 as_executable_p
=$as_test_x
53592 # Sed expression to map a string onto a valid CPP name.
53593 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
53595 # Sed expression to map a string onto a valid variable name.
53596 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
53601 # Save the log message, to keep $[0] and so on meaningful, and to
53602 # report actual input values of CONFIG_FILES etc. instead of their
53603 # values after options handling.
53605 This file was extended by wxWidgets $as_me 2.9.0, which was
53606 generated by GNU Autoconf 2.61. Invocation command line was
53608 CONFIG_FILES = $CONFIG_FILES
53609 CONFIG_HEADERS = $CONFIG_HEADERS
53610 CONFIG_LINKS = $CONFIG_LINKS
53611 CONFIG_COMMANDS = $CONFIG_COMMANDS
53614 on `(hostname || uname -n) 2>/dev/null | sed 1q`
53619 cat >>$CONFIG_STATUS <<_ACEOF
53620 # Files that config.status was made for.
53621 config_files="$ac_config_files"
53622 config_headers="$ac_config_headers"
53623 config_commands="$ac_config_commands"
53627 cat >>$CONFIG_STATUS <<\_ACEOF
53629 \`$as_me' instantiates files from templates according to the
53630 current configuration.
53632 Usage: $0 [OPTIONS] [FILE]...
53634 -h, --help print this help, then exit
53635 -V, --version print version number and configuration settings, then exit
53636 -q, --quiet do not print progress messages
53637 -d, --debug don't remove temporary files
53638 --recheck update $as_me by reconfiguring in the same conditions
53639 --file=FILE[:TEMPLATE]
53640 instantiate the configuration file FILE
53641 --header=FILE[:TEMPLATE]
53642 instantiate the configuration header FILE
53644 Configuration files:
53647 Configuration headers:
53650 Configuration commands:
53653 Report bugs to <bug-autoconf@gnu.org>."
53656 cat >>$CONFIG_STATUS <<_ACEOF
53658 wxWidgets config.status 2.9.0
53659 configured by $0, generated by GNU Autoconf 2.61,
53660 with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
53662 Copyright (C) 2006 Free Software Foundation, Inc.
53663 This config.status script is free software; the Free Software Foundation
53664 gives unlimited permission to copy, distribute and modify it."
53671 cat >>$CONFIG_STATUS <<\_ACEOF
53672 # If no file are specified by the user, then we need to provide default
53673 # value. By we need to know if files were specified by the user.
53679 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
53680 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
53691 # Handling of the options.
53692 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
53694 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
53695 echo "$ac_cs_version"; exit ;;
53696 --debug | --debu | --deb | --de | --d | -d )
53698 --file | --fil | --fi | --f )
53700 CONFIG_FILES
="$CONFIG_FILES $ac_optarg"
53701 ac_need_defaults
=false
;;
53702 --header | --heade | --head | --hea )
53704 CONFIG_HEADERS
="$CONFIG_HEADERS $ac_optarg"
53705 ac_need_defaults
=false
;;
53707 # Conflict between --help and --header
53708 { echo "$as_me: error: ambiguous option: $1
53709 Try \`$0 --help' for more information." >&2
53710 { (exit 1); exit 1; }; };;
53711 --help | --hel | -h )
53712 echo "$ac_cs_usage"; exit ;;
53713 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
53714 | -silent | --silent | --silen | --sile | --sil | --si | --s)
53717 # This is an error.
53718 -*) { echo "$as_me: error: unrecognized option: $1
53719 Try \`$0 --help' for more information." >&2
53720 { (exit 1); exit 1; }; } ;;
53722 *) ac_config_targets
="$ac_config_targets $1"
53723 ac_need_defaults
=false
;;
53729 ac_configure_extra_args
=
53731 if $ac_cs_silent; then
53733 ac_configure_extra_args
="$ac_configure_extra_args --silent"
53737 cat >>$CONFIG_STATUS <<_ACEOF
53738 if \$ac_cs_recheck; then
53739 echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
53740 CONFIG_SHELL=$SHELL
53741 export CONFIG_SHELL
53742 exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
53746 cat >>$CONFIG_STATUS <<\_ACEOF
53750 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
53751 ## Running $as_me. ##
53757 cat >>$CONFIG_STATUS <<_ACEOF
53763 infile="$srcdir/include/wx/msw/genrcdefs.h"
53764 outdir="lib/wx/include/$TOOLCHAIN_FULLNAME/wx/msw"
53767 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
53768 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
53769 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
53775 cat >>$CONFIG_STATUS <<\_ACEOF
53777 # Handling of arguments.
53778 for ac_config_target
in $ac_config_targets
53780 case $ac_config_target in
53781 "lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h") CONFIG_HEADERS
="$CONFIG_HEADERS lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in" ;;
53782 "rcdefs.h") CONFIG_COMMANDS
="$CONFIG_COMMANDS rcdefs.h" ;;
53783 "lib/wx/config/${TOOLCHAIN_FULLNAME}") CONFIG_FILES
="$CONFIG_FILES lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in" ;;
53784 "lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}") CONFIG_FILES
="$CONFIG_FILES lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in" ;;
53785 "version-script") CONFIG_FILES
="$CONFIG_FILES version-script" ;;
53786 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
53787 "wx-config") CONFIG_COMMANDS
="$CONFIG_COMMANDS wx-config" ;;
53788 "$mk") CONFIG_FILES
="$CONFIG_FILES $mk" ;;
53790 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
53791 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
53792 { (exit 1); exit 1; }; };;
53797 # If the user did not use the arguments to specify the items to instantiate,
53798 # then the envvar interface is used. Set only those that are not.
53799 # We use the long form for the default assignment because of an extremely
53800 # bizarre bug on SunOS 4.1.3.
53801 if $ac_need_defaults; then
53802 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
53803 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
53804 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
53807 # Have a temporary directory for convenience. Make it in the build tree
53808 # simply because there is no reason against having it here, and in addition,
53809 # creating and moving files from /tmp can sometimes cause problems.
53810 # Hook for its removal unless debugging.
53811 # Note that there is a small window in which the directory will not be cleaned:
53812 # after its creation but before its name has been assigned to `$tmp'.
53816 trap 'exit_status=$?
53817 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
53819 trap '{ (exit 1); exit 1; }' 1 2 13 15
53821 # Create a (secure) tmp directory for tmp files.
53824 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
53825 test -n "$tmp" && test -d "$tmp"
53828 tmp
=.
/conf$$
-$RANDOM
53829 (umask 077 && mkdir "$tmp")
53832 echo "$me: cannot create a temporary directory in ." >&2
53833 { (exit 1); exit 1; }
53837 # Set up the sed scripts for CONFIG_FILES section.
53840 # No need to generate the scripts if there are no CONFIG_FILES.
53841 # This happens for instance when ./config.status config.h
53842 if test -n "$CONFIG_FILES"; then
53849 for ac_last_try
in false false false false false
:; do
53850 cat >conf$
$subs.
sed <<_ACEOF
53851 SHELL!$SHELL$ac_delim
53852 PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
53853 PACKAGE_NAME!$PACKAGE_NAME$ac_delim
53854 PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
53855 PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
53856 PACKAGE_STRING!$PACKAGE_STRING$ac_delim
53857 PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
53858 exec_prefix!$exec_prefix$ac_delim
53859 prefix!$prefix$ac_delim
53860 program_transform_name!$program_transform_name$ac_delim
53861 bindir!$bindir$ac_delim
53862 sbindir!$sbindir$ac_delim
53863 libexecdir!$libexecdir$ac_delim
53864 datarootdir!$datarootdir$ac_delim
53865 datadir!$datadir$ac_delim
53866 sysconfdir!$sysconfdir$ac_delim
53867 sharedstatedir!$sharedstatedir$ac_delim
53868 localstatedir!$localstatedir$ac_delim
53869 includedir!$includedir$ac_delim
53870 oldincludedir!$oldincludedir$ac_delim
53871 docdir!$docdir$ac_delim
53872 infodir!$infodir$ac_delim
53873 htmldir!$htmldir$ac_delim
53874 dvidir!$dvidir$ac_delim
53875 pdfdir!$pdfdir$ac_delim
53876 psdir!$psdir$ac_delim
53877 libdir!$libdir$ac_delim
53878 localedir!$localedir$ac_delim
53879 mandir!$mandir$ac_delim
53880 DEFS!$DEFS$ac_delim
53881 ECHO_C!$ECHO_C$ac_delim
53882 ECHO_N!$ECHO_N$ac_delim
53883 ECHO_T!$ECHO_T$ac_delim
53884 LIBS!$LIBS$ac_delim
53885 build_alias!$build_alias$ac_delim
53886 host_alias!$host_alias$ac_delim
53887 target_alias!$target_alias$ac_delim
53888 build!$build$ac_delim
53889 build_cpu!$build_cpu$ac_delim
53890 build_vendor!$build_vendor$ac_delim
53891 build_os!$build_os$ac_delim
53892 host!$host$ac_delim
53893 host_cpu!$host_cpu$ac_delim
53894 host_vendor!$host_vendor$ac_delim
53895 host_os!$host_os$ac_delim
53896 target!$target$ac_delim
53897 target_cpu!$target_cpu$ac_delim
53898 target_vendor!$target_vendor$ac_delim
53899 target_os!$target_os$ac_delim
53900 wx_top_builddir!$wx_top_builddir$ac_delim
53902 CFLAGS!$CFLAGS$ac_delim
53903 LDFLAGS!$LDFLAGS$ac_delim
53904 CPPFLAGS!$CPPFLAGS$ac_delim
53905 ac_ct_CC!$ac_ct_CC$ac_delim
53906 EXEEXT!$EXEEXT$ac_delim
53907 OBJEXT!$OBJEXT$ac_delim
53909 GREP!$GREP$ac_delim
53910 EGREP!$EGREP$ac_delim
53912 CXXFLAGS!$CXXFLAGS$ac_delim
53913 ac_ct_CXX!$ac_ct_CXX$ac_delim
53915 subdirs!$subdirs$ac_delim
53916 PKG_CONFIG!$PKG_CONFIG$ac_delim
53917 GTK_CFLAGS!$GTK_CFLAGS$ac_delim
53918 GTK_LIBS!$GTK_LIBS$ac_delim
53919 GTK_CONFIG!$GTK_CONFIG$ac_delim
53920 DIRECTFB_CFLAGS!$DIRECTFB_CFLAGS$ac_delim
53921 DIRECTFB_LIBS!$DIRECTFB_LIBS$ac_delim
53922 XMKMF!$XMKMF$ac_delim
53923 X_CFLAGS!$X_CFLAGS$ac_delim
53924 X_PRE_LIBS!$X_PRE_LIBS$ac_delim
53925 X_LIBS!$X_LIBS$ac_delim
53926 X_EXTRA_LIBS!$X_EXTRA_LIBS$ac_delim
53927 PANGOX_CFLAGS!$PANGOX_CFLAGS$ac_delim
53928 PANGOX_LIBS!$PANGOX_LIBS$ac_delim
53929 PANGOFT2_CFLAGS!$PANGOFT2_CFLAGS$ac_delim
53930 PANGOFT2_LIBS!$PANGOFT2_LIBS$ac_delim
53931 PANGOXFT_CFLAGS!$PANGOXFT_CFLAGS$ac_delim
53932 PANGOXFT_LIBS!$PANGOXFT_LIBS$ac_delim
53933 CFLAGS_VISIBILITY!$CFLAGS_VISIBILITY$ac_delim
53934 CXXFLAGS_VISIBILITY!$CXXFLAGS_VISIBILITY$ac_delim
53935 LIBICONV!$LIBICONV$ac_delim
53936 SDL_CONFIG!$SDL_CONFIG$ac_delim
53937 SDL_CFLAGS!$SDL_CFLAGS$ac_delim
53938 SDL_LIBS!$SDL_LIBS$ac_delim
53939 LIBGNOMEPRINTUI_CFLAGS!$LIBGNOMEPRINTUI_CFLAGS$ac_delim
53940 LIBGNOMEPRINTUI_LIBS!$LIBGNOMEPRINTUI_LIBS$ac_delim
53941 GNOMEVFS_CFLAGS!$GNOMEVFS_CFLAGS$ac_delim
53942 GNOMEVFS_LIBS!$GNOMEVFS_LIBS$ac_delim
53943 HILDON_CFLAGS!$HILDON_CFLAGS$ac_delim
53944 HILDON_LIBS!$HILDON_LIBS$ac_delim
53945 CAIRO_CFLAGS!$CAIRO_CFLAGS$ac_delim
53946 CAIRO_LIBS!$CAIRO_LIBS$ac_delim
53947 GST_CFLAGS!$GST_CFLAGS$ac_delim
53950 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
53952 elif $ac_last_try; then
53953 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
53954 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
53955 { (exit 1); exit 1; }; }
53957 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
53961 ac_eof
=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
53962 if test -n "$ac_eof"; then
53963 ac_eof
=`echo "$ac_eof" | sort -nru | sed 1q`
53964 ac_eof
=`expr $ac_eof + 1`
53967 cat >>$CONFIG_STATUS <<_ACEOF
53968 cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
53969 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
53972 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
53973 s/^/s,@/; s/!/@,|#_!!_#|/
53976 s/'"$ac_delim"'$/,g/; t
53978 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
53979 ' >>$CONFIG_STATUS <conf$
$subs.
sed
53980 rm -f conf$
$subs.
sed
53981 cat >>$CONFIG_STATUS <<_ACEOF
53987 for ac_last_try
in false false false false false
:; do
53988 cat >conf$
$subs.
sed <<_ACEOF
53989 GST_LIBS!$GST_LIBS$ac_delim
53990 ALL_WX_LIBS!$ALL_WX_LIBS$ac_delim
53991 BUILT_WX_LIBS!$BUILT_WX_LIBS$ac_delim
53992 STD_BASE_LIBS!$STD_BASE_LIBS$ac_delim
53993 STD_GUI_LIBS!$STD_GUI_LIBS$ac_delim
53994 wxUSE_ZLIB!$wxUSE_ZLIB$ac_delim
53995 wxUSE_REGEX!$wxUSE_REGEX$ac_delim
53996 wxUSE_EXPAT!$wxUSE_EXPAT$ac_delim
53997 wxUSE_ODBC!$wxUSE_ODBC$ac_delim
53998 wxUSE_LIBJPEG!$wxUSE_LIBJPEG$ac_delim
53999 wxUSE_LIBPNG!$wxUSE_LIBPNG$ac_delim
54000 wxUSE_LIBTIFF!$wxUSE_LIBTIFF$ac_delim
54001 VENDOR!$VENDOR$ac_delim
54002 OFFICIAL_BUILD!$OFFICIAL_BUILD$ac_delim
54003 WX_FLAVOUR!$WX_FLAVOUR$ac_delim
54004 WX_LIB_FLAVOUR!$WX_LIB_FLAVOUR$ac_delim
54005 WXUNIV!$WXUNIV$ac_delim
54006 MONOLITHIC!$MONOLITHIC$ac_delim
54007 USE_PLUGINS!$USE_PLUGINS$ac_delim
54008 CXXWARNINGS!$CXXWARNINGS$ac_delim
54009 EXTRALIBS!$EXTRALIBS$ac_delim
54010 EXTRALIBS_XML!$EXTRALIBS_XML$ac_delim
54011 EXTRALIBS_HTML!$EXTRALIBS_HTML$ac_delim
54012 EXTRALIBS_ODBC!$EXTRALIBS_ODBC$ac_delim
54013 EXTRALIBS_GUI!$EXTRALIBS_GUI$ac_delim
54014 EXTRALIBS_OPENGL!$EXTRALIBS_OPENGL$ac_delim
54015 EXTRALIBS_SDL!$EXTRALIBS_SDL$ac_delim
54016 WITH_PLUGIN_SDL!$WITH_PLUGIN_SDL$ac_delim
54017 EXTRALIBS_GNOMEPRINT!$EXTRALIBS_GNOMEPRINT$ac_delim
54018 EXTRALIBS_GNOMEVFS!$EXTRALIBS_GNOMEVFS$ac_delim
54019 EXTRALIBS_HILDON!$EXTRALIBS_HILDON$ac_delim
54020 UNICODE!$UNICODE$ac_delim
54021 BUILD!$BUILD$ac_delim
54022 DEBUG_INFO!$DEBUG_INFO$ac_delim
54023 DEBUG_FLAG!$DEBUG_FLAG$ac_delim
54024 TOOLKIT_LOWERCASE!$TOOLKIT_LOWERCASE$ac_delim
54025 TOOLKIT_VERSION!$TOOLKIT_VERSION$ac_delim
54026 SAMPLES_RPATH_FLAG!$SAMPLES_RPATH_FLAG$ac_delim
54027 SAMPLES_RPATH_POSTLINK!$SAMPLES_RPATH_POSTLINK$ac_delim
54028 HOST_SUFFIX!$HOST_SUFFIX$ac_delim
54029 CPPUNIT_CFLAGS!$CPPUNIT_CFLAGS$ac_delim
54030 CPPUNIT_LIBS!$CPPUNIT_LIBS$ac_delim
54031 RANLIB!$RANLIB$ac_delim
54032 INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
54033 INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
54034 INSTALL_DATA!$INSTALL_DATA$ac_delim
54035 LN_S!$LN_S$ac_delim
54036 SET_MAKE!$SET_MAKE$ac_delim
54037 MAKE_SET!$MAKE_SET$ac_delim
54038 AROPTIONS!$AROPTIONS$ac_delim
54039 STRIP!$STRIP$ac_delim
54041 INSTALL_DIR!$INSTALL_DIR$ac_delim
54042 LDFLAGS_GUI!$LDFLAGS_GUI$ac_delim
54043 IF_GNU_MAKE!$IF_GNU_MAKE$ac_delim
54044 PLATFORM_UNIX!$PLATFORM_UNIX$ac_delim
54045 PLATFORM_WIN32!$PLATFORM_WIN32$ac_delim
54046 PLATFORM_MSDOS!$PLATFORM_MSDOS$ac_delim
54047 PLATFORM_MAC!$PLATFORM_MAC$ac_delim
54048 PLATFORM_MACOS!$PLATFORM_MACOS$ac_delim
54049 PLATFORM_MACOSX!$PLATFORM_MACOSX$ac_delim
54050 PLATFORM_OS2!$PLATFORM_OS2$ac_delim
54051 PLATFORM_BEOS!$PLATFORM_BEOS$ac_delim
54052 SO_SUFFIX!$SO_SUFFIX$ac_delim
54053 SO_SUFFIX_MODULE!$SO_SUFFIX_MODULE$ac_delim
54054 DLLIMP_SUFFIX!$DLLIMP_SUFFIX$ac_delim
54055 LIBPREFIX!$LIBPREFIX$ac_delim
54056 LIBEXT!$LIBEXT$ac_delim
54057 DLLPREFIX!$DLLPREFIX$ac_delim
54058 DLLPREFIX_MODULE!$DLLPREFIX_MODULE$ac_delim
54059 dlldir!$dlldir$ac_delim
54060 AIX_CXX_LD!$AIX_CXX_LD$ac_delim
54061 SHARED_LD_CC!$SHARED_LD_CC$ac_delim
54062 SHARED_LD_CXX!$SHARED_LD_CXX$ac_delim
54063 SHARED_LD_MODULE_CC!$SHARED_LD_MODULE_CC$ac_delim
54064 SHARED_LD_MODULE_CXX!$SHARED_LD_MODULE_CXX$ac_delim
54065 PIC_FLAG!$PIC_FLAG$ac_delim
54066 WINDOWS_IMPLIB!$WINDOWS_IMPLIB$ac_delim
54067 USE_SOVERSION!$USE_SOVERSION$ac_delim
54068 USE_SOVERLINUX!$USE_SOVERLINUX$ac_delim
54069 USE_SOVERSOLARIS!$USE_SOVERSOLARIS$ac_delim
54070 USE_SOVERCYGWIN!$USE_SOVERCYGWIN$ac_delim
54071 USE_MACVERSION!$USE_MACVERSION$ac_delim
54072 USE_SOSYMLINKS!$USE_SOSYMLINKS$ac_delim
54073 SONAME_FLAG!$SONAME_FLAG$ac_delim
54074 DEPS_TRACKING!$DEPS_TRACKING$ac_delim
54075 BK_DEPS!$BK_DEPS$ac_delim
54076 WINDRES!$WINDRES$ac_delim
54078 SETFILE!$SETFILE$ac_delim
54079 GCC_PCH!$GCC_PCH$ac_delim
54080 ICC_PCH!$ICC_PCH$ac_delim
54081 BK_MAKE_PCH!$BK_MAKE_PCH$ac_delim
54082 COND_BUILD_DEBUG!$COND_BUILD_DEBUG$ac_delim
54083 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT!$COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT$ac_delim
54084 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT!$COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT$ac_delim
54085 COND_BUILD_DEBUG_UNICODE_0!$COND_BUILD_DEBUG_UNICODE_0$ac_delim
54088 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
54090 elif $ac_last_try; then
54091 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
54092 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
54093 { (exit 1); exit 1; }; }
54095 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
54099 ac_eof
=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
54100 if test -n "$ac_eof"; then
54101 ac_eof
=`echo "$ac_eof" | sort -nru | sed 1q`
54102 ac_eof
=`expr $ac_eof + 1`
54105 cat >>$CONFIG_STATUS <<_ACEOF
54106 cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof
54107 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
54110 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
54111 s/^/s,@/; s/!/@,|#_!!_#|/
54114 s/'"$ac_delim"'$/,g/; t
54116 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
54117 ' >>$CONFIG_STATUS <conf$
$subs.
sed
54118 rm -f conf$
$subs.
sed
54119 cat >>$CONFIG_STATUS <<_ACEOF
54125 for ac_last_try
in false false false false false
:; do
54126 cat >conf$
$subs.
sed <<_ACEOF
54127 COND_BUILD_DEBUG_UNICODE_1!$COND_BUILD_DEBUG_UNICODE_1$ac_delim
54128 COND_BUILD_RELEASE!$COND_BUILD_RELEASE$ac_delim
54129 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT!$COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT$ac_delim
54130 COND_BUILD_RELEASE_UNICODE_0!$COND_BUILD_RELEASE_UNICODE_0$ac_delim
54131 COND_BUILD_RELEASE_UNICODE_1!$COND_BUILD_RELEASE_UNICODE_1$ac_delim
54132 COND_DEBUG_FLAG_1!$COND_DEBUG_FLAG_1$ac_delim
54133 COND_DEBUG_INFO_0!$COND_DEBUG_INFO_0$ac_delim
54134 COND_DEBUG_INFO_1!$COND_DEBUG_INFO_1$ac_delim
54135 COND_DEPS_TRACKING_0!$COND_DEPS_TRACKING_0$ac_delim
54136 COND_DEPS_TRACKING_1!$COND_DEPS_TRACKING_1$ac_delim
54137 COND_GCC_PCH_1!$COND_GCC_PCH_1$ac_delim
54138 COND_ICC_PCH_1!$COND_ICC_PCH_1$ac_delim
54139 COND_MONOLITHIC_0!$COND_MONOLITHIC_0$ac_delim
54140 COND_MONOLITHIC_0_SHARED_0!$COND_MONOLITHIC_0_SHARED_0$ac_delim
54141 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1!$COND_MONOLITHIC_0_SHARED_0_USE_AUI_1$ac_delim
54142 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1$ac_delim
54143 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1$ac_delim
54144 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1$ac_delim
54145 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1$ac_delim
54146 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1$ac_delim
54147 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1!$COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1$ac_delim
54148 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1!$COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1$ac_delim
54149 COND_MONOLITHIC_0_SHARED_0_USE_STC_1!$COND_MONOLITHIC_0_SHARED_0_USE_STC_1$ac_delim
54150 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1!$COND_MONOLITHIC_0_SHARED_0_USE_XRC_1$ac_delim
54151 COND_MONOLITHIC_0_SHARED_1!$COND_MONOLITHIC_0_SHARED_1$ac_delim
54152 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1!$COND_MONOLITHIC_0_SHARED_1_USE_AUI_1$ac_delim
54153 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1$ac_delim
54154 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1$ac_delim
54155 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1$ac_delim
54156 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1$ac_delim
54157 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1$ac_delim
54158 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1!$COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1$ac_delim
54159 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1!$COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1$ac_delim
54160 COND_MONOLITHIC_0_SHARED_1_USE_STC_1!$COND_MONOLITHIC_0_SHARED_1_USE_STC_1$ac_delim
54161 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1!$COND_MONOLITHIC_0_SHARED_1_USE_XRC_1$ac_delim
54162 COND_MONOLITHIC_0_USE_AUI_1!$COND_MONOLITHIC_0_USE_AUI_1$ac_delim
54163 COND_MONOLITHIC_0_USE_GUI_1!$COND_MONOLITHIC_0_USE_GUI_1$ac_delim
54164 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1!$COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1$ac_delim
54165 COND_MONOLITHIC_0_USE_GUI_1_USE_ODBC_1!$COND_MONOLITHIC_0_USE_GUI_1_USE_ODBC_1$ac_delim
54166 COND_MONOLITHIC_0_USE_HTML_1!$COND_MONOLITHIC_0_USE_HTML_1$ac_delim
54167 COND_MONOLITHIC_0_USE_MEDIA_1!$COND_MONOLITHIC_0_USE_MEDIA_1$ac_delim
54168 COND_MONOLITHIC_0_USE_ODBC_1!$COND_MONOLITHIC_0_USE_ODBC_1$ac_delim
54169 COND_MONOLITHIC_0_USE_QA_1!$COND_MONOLITHIC_0_USE_QA_1$ac_delim
54170 COND_MONOLITHIC_0_USE_RICHTEXT_1!$COND_MONOLITHIC_0_USE_RICHTEXT_1$ac_delim
54171 COND_MONOLITHIC_0_USE_STC_1!$COND_MONOLITHIC_0_USE_STC_1$ac_delim
54172 COND_MONOLITHIC_0_USE_XRC_1!$COND_MONOLITHIC_0_USE_XRC_1$ac_delim
54173 COND_MONOLITHIC_1!$COND_MONOLITHIC_1$ac_delim
54174 COND_MONOLITHIC_1_SHARED_0!$COND_MONOLITHIC_1_SHARED_0$ac_delim
54175 COND_MONOLITHIC_1_SHARED_1!$COND_MONOLITHIC_1_SHARED_1$ac_delim
54176 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1!$COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1$ac_delim
54177 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1!$COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1$ac_delim
54178 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1!$COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1$ac_delim
54179 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1!$COND_PLATFORM_MACOSX_0_USE_SOVERSION_1$ac_delim
54180 COND_PLATFORM_MACOSX_1!$COND_PLATFORM_MACOSX_1$ac_delim
54181 COND_PLATFORM_MACOSX_1_TOOLKIT_!$COND_PLATFORM_MACOSX_1_TOOLKIT_$ac_delim
54182 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA!$COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA$ac_delim
54183 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK!$COND_PLATFORM_MACOSX_1_TOOLKIT_GTK$ac_delim
54184 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC!$COND_PLATFORM_MACOSX_1_TOOLKIT_MAC$ac_delim
54185 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1!$COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1$ac_delim
54186 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF!$COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF$ac_delim
54187 COND_PLATFORM_MACOSX_1_TOOLKIT_X11!$COND_PLATFORM_MACOSX_1_TOOLKIT_X11$ac_delim
54188 COND_PLATFORM_MACOSX_1_USE_GUI_1!$COND_PLATFORM_MACOSX_1_USE_GUI_1$ac_delim
54189 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1!$COND_PLATFORM_MACOSX_1_USE_SOVERSION_1$ac_delim
54190 COND_PLATFORM_MACOS_1!$COND_PLATFORM_MACOS_1$ac_delim
54191 COND_PLATFORM_MAC_1!$COND_PLATFORM_MAC_1$ac_delim
54192 COND_PLATFORM_MSDOS_0!$COND_PLATFORM_MSDOS_0$ac_delim
54193 COND_PLATFORM_MSDOS_1!$COND_PLATFORM_MSDOS_1$ac_delim
54194 COND_PLATFORM_OS2_1!$COND_PLATFORM_OS2_1$ac_delim
54195 COND_PLATFORM_UNIX_0!$COND_PLATFORM_UNIX_0$ac_delim
54196 COND_PLATFORM_UNIX_1!$COND_PLATFORM_UNIX_1$ac_delim
54197 COND_PLATFORM_UNIX_1_TOOLKIT_MGL!$COND_PLATFORM_UNIX_1_TOOLKIT_MGL$ac_delim
54198 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1!$COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1$ac_delim
54199 COND_PLATFORM_UNIX_1_USE_GUI_1!$COND_PLATFORM_UNIX_1_USE_GUI_1$ac_delim
54200 COND_PLATFORM_UNIX_1_USE_PLUGINS_0!$COND_PLATFORM_UNIX_1_USE_PLUGINS_0$ac_delim
54201 COND_PLATFORM_WIN32_0!$COND_PLATFORM_WIN32_0$ac_delim
54202 COND_PLATFORM_WIN32_1!$COND_PLATFORM_WIN32_1$ac_delim
54203 COND_SHARED_0!$COND_SHARED_0$ac_delim
54204 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0!$COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0$ac_delim
54205 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0!$COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0$ac_delim
54206 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0!$COND_SHARED_0_TOOLKIT_PM_WXUNIV_0$ac_delim
54207 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1!$COND_SHARED_0_USE_GUI_1_USE_OPENGL_1$ac_delim
54208 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN!$COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN$ac_delim
54209 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN!$COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN$ac_delim
54210 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN!$COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN$ac_delim
54211 COND_SHARED_0_USE_STC_1!$COND_SHARED_0_USE_STC_1$ac_delim
54212 COND_SHARED_0_USE_XRC_1!$COND_SHARED_0_USE_XRC_1$ac_delim
54213 COND_SHARED_0_WXUSE_EXPAT_BUILTIN!$COND_SHARED_0_WXUSE_EXPAT_BUILTIN$ac_delim
54214 COND_SHARED_0_WXUSE_ODBC_BUILTIN!$COND_SHARED_0_WXUSE_ODBC_BUILTIN$ac_delim
54215 COND_SHARED_0_WXUSE_REGEX_BUILTIN!$COND_SHARED_0_WXUSE_REGEX_BUILTIN$ac_delim
54216 COND_SHARED_0_WXUSE_ZLIB_BUILTIN!$COND_SHARED_0_WXUSE_ZLIB_BUILTIN$ac_delim
54217 COND_SHARED_1!$COND_SHARED_1$ac_delim
54218 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1!$COND_SHARED_1_USE_GUI_1_USE_OPENGL_1$ac_delim
54219 COND_SHARED_1_USE_XRC_1!$COND_SHARED_1_USE_XRC_1$ac_delim
54220 COND_TOOLKIT_!$COND_TOOLKIT_$ac_delim
54221 COND_TOOLKIT_COCOA!$COND_TOOLKIT_COCOA$ac_delim
54222 COND_TOOLKIT_COCOA_USE_GUI_1!$COND_TOOLKIT_COCOA_USE_GUI_1$ac_delim
54223 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0$ac_delim
54226 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
54228 elif $ac_last_try; then
54229 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
54230 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
54231 { (exit 1); exit 1; }; }
54233 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
54237 ac_eof
=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
54238 if test -n "$ac_eof"; then
54239 ac_eof
=`echo "$ac_eof" | sort -nru | sed 1q`
54240 ac_eof
=`expr $ac_eof + 1`
54243 cat >>$CONFIG_STATUS <<_ACEOF
54244 cat >"\$tmp/subs-3.sed" <<\CEOF$ac_eof
54245 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
54248 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
54249 s/^/s,@/; s/!/@,|#_!!_#|/
54252 s/'"$ac_delim"'$/,g/; t
54254 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
54255 ' >>$CONFIG_STATUS <conf$
$subs.
sed
54256 rm -f conf$
$subs.
sed
54257 cat >>$CONFIG_STATUS <<_ACEOF
54263 for ac_last_try
in false false false false false
:; do
54264 cat >conf$
$subs.
sed <<_ACEOF
54265 COND_TOOLKIT_DFB!$COND_TOOLKIT_DFB$ac_delim
54266 COND_TOOLKIT_DFB_USE_GUI_1!$COND_TOOLKIT_DFB_USE_GUI_1$ac_delim
54267 COND_TOOLKIT_GTK!$COND_TOOLKIT_GTK$ac_delim
54268 COND_TOOLKIT_GTK_TOOLKIT_VERSION_!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_$ac_delim
54269 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2$ac_delim
54270 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1$ac_delim
54271 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0$ac_delim
54272 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1!$COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1$ac_delim
54273 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0$ac_delim
54274 COND_TOOLKIT_GTK_USE_GUI_1!$COND_TOOLKIT_GTK_USE_GUI_1$ac_delim
54275 COND_TOOLKIT_MAC!$COND_TOOLKIT_MAC$ac_delim
54276 COND_TOOLKIT_MAC_USE_GUI_1!$COND_TOOLKIT_MAC_USE_GUI_1$ac_delim
54277 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0$ac_delim
54278 COND_TOOLKIT_MGL!$COND_TOOLKIT_MGL$ac_delim
54279 COND_TOOLKIT_MGL_USE_GUI_1!$COND_TOOLKIT_MGL_USE_GUI_1$ac_delim
54280 COND_TOOLKIT_MOTIF!$COND_TOOLKIT_MOTIF$ac_delim
54281 COND_TOOLKIT_MOTIF_USE_GUI_1!$COND_TOOLKIT_MOTIF_USE_GUI_1$ac_delim
54282 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0$ac_delim
54283 COND_TOOLKIT_MSW!$COND_TOOLKIT_MSW$ac_delim
54284 COND_TOOLKIT_MSW_USE_GUI_1!$COND_TOOLKIT_MSW_USE_GUI_1$ac_delim
54285 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0$ac_delim
54286 COND_TOOLKIT_MSW_WXUNIV_0!$COND_TOOLKIT_MSW_WXUNIV_0$ac_delim
54287 COND_TOOLKIT_PM!$COND_TOOLKIT_PM$ac_delim
54288 COND_TOOLKIT_PM_USE_GUI_1!$COND_TOOLKIT_PM_USE_GUI_1$ac_delim
54289 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0$ac_delim
54290 COND_TOOLKIT_WINCE!$COND_TOOLKIT_WINCE$ac_delim
54291 COND_TOOLKIT_WINCE_USE_GUI_1!$COND_TOOLKIT_WINCE_USE_GUI_1$ac_delim
54292 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0$ac_delim
54293 COND_TOOLKIT_WINCE_WXUNIV_0!$COND_TOOLKIT_WINCE_WXUNIV_0$ac_delim
54294 COND_TOOLKIT_X11!$COND_TOOLKIT_X11$ac_delim
54295 COND_TOOLKIT_X11_USE_GUI_1!$COND_TOOLKIT_X11_USE_GUI_1$ac_delim
54296 COND_UNICODE_1!$COND_UNICODE_1$ac_delim
54297 COND_USE_EXCEPTIONS_0!$COND_USE_EXCEPTIONS_0$ac_delim
54298 COND_USE_EXCEPTIONS_1!$COND_USE_EXCEPTIONS_1$ac_delim
54299 COND_USE_GUI_0!$COND_USE_GUI_0$ac_delim
54300 COND_USE_GUI_1!$COND_USE_GUI_1$ac_delim
54301 COND_USE_GUI_1_USE_OPENGL_1!$COND_USE_GUI_1_USE_OPENGL_1$ac_delim
54302 COND_USE_GUI_1_WXUNIV_0!$COND_USE_GUI_1_WXUNIV_0$ac_delim
54303 COND_USE_GUI_1_WXUNIV_1!$COND_USE_GUI_1_WXUNIV_1$ac_delim
54304 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN!$COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN$ac_delim
54305 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN!$COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN$ac_delim
54306 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN!$COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN$ac_delim
54307 COND_USE_ODBC_1!$COND_USE_ODBC_1$ac_delim
54308 COND_USE_OPENGL_1!$COND_USE_OPENGL_1$ac_delim
54309 COND_USE_PCH_1!$COND_USE_PCH_1$ac_delim
54310 COND_USE_PLUGINS_0!$COND_USE_PLUGINS_0$ac_delim
54311 COND_USE_RTTI_0!$COND_USE_RTTI_0$ac_delim
54312 COND_USE_RTTI_1!$COND_USE_RTTI_1$ac_delim
54313 COND_USE_SOSYMLINKS_1!$COND_USE_SOSYMLINKS_1$ac_delim
54314 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1!$COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1$ac_delim
54315 COND_USE_SOVERLINUX_1!$COND_USE_SOVERLINUX_1$ac_delim
54316 COND_USE_SOVERSION_0!$COND_USE_SOVERSION_0$ac_delim
54317 COND_USE_SOVERSOLARIS_1!$COND_USE_SOVERSOLARIS_1$ac_delim
54318 COND_USE_STC_1!$COND_USE_STC_1$ac_delim
54319 COND_USE_THREADS_0!$COND_USE_THREADS_0$ac_delim
54320 COND_USE_THREADS_1!$COND_USE_THREADS_1$ac_delim
54321 COND_USE_XRC_1!$COND_USE_XRC_1$ac_delim
54322 COND_WINDOWS_IMPLIB_1!$COND_WINDOWS_IMPLIB_1$ac_delim
54323 COND_WITH_PLUGIN_SDL_1!$COND_WITH_PLUGIN_SDL_1$ac_delim
54324 COND_WXUNIV_0!$COND_WXUNIV_0$ac_delim
54325 COND_WXUNIV_1!$COND_WXUNIV_1$ac_delim
54326 COND_WXUSE_EXPAT_BUILTIN!$COND_WXUSE_EXPAT_BUILTIN$ac_delim
54327 COND_WXUSE_LIBJPEG_BUILTIN!$COND_WXUSE_LIBJPEG_BUILTIN$ac_delim
54328 COND_WXUSE_LIBPNG_BUILTIN!$COND_WXUSE_LIBPNG_BUILTIN$ac_delim
54329 COND_WXUSE_LIBTIFF_BUILTIN!$COND_WXUSE_LIBTIFF_BUILTIN$ac_delim
54330 COND_WXUSE_ODBC_BUILTIN!$COND_WXUSE_ODBC_BUILTIN$ac_delim
54331 COND_WXUSE_REGEX_BUILTIN!$COND_WXUSE_REGEX_BUILTIN$ac_delim
54332 COND_WXUSE_ZLIB_BUILTIN!$COND_WXUSE_ZLIB_BUILTIN$ac_delim
54333 DEREZ!$DEREZ$ac_delim
54334 SHARED!$SHARED$ac_delim
54335 WX_LIBRARY_BASENAME_NOGUI!$WX_LIBRARY_BASENAME_NOGUI$ac_delim
54336 WX_LIBRARY_BASENAME_GUI!$WX_LIBRARY_BASENAME_GUI$ac_delim
54337 USE_GUI!$USE_GUI$ac_delim
54338 AFMINSTALL!$AFMINSTALL$ac_delim
54339 WIN32INSTALL!$WIN32INSTALL$ac_delim
54340 TOOLKIT!$TOOLKIT$ac_delim
54341 TOOLKIT_DIR!$TOOLKIT_DIR$ac_delim
54342 TOOLCHAIN_NAME!$TOOLCHAIN_NAME$ac_delim
54343 TOOLCHAIN_FULLNAME!$TOOLCHAIN_FULLNAME$ac_delim
54344 cross_compiling!$cross_compiling$ac_delim
54345 WIDGET_SET!$WIDGET_SET$ac_delim
54346 WX_RELEASE!$WX_RELEASE$ac_delim
54347 WX_VERSION!$WX_VERSION$ac_delim
54348 WX_SUBVERSION!$WX_SUBVERSION$ac_delim
54349 WX_CHARTYPE!$WX_CHARTYPE$ac_delim
54350 WX_DEBUGTYPE!$WX_DEBUGTYPE$ac_delim
54351 WXCONFIG_CPPFLAGS!$WXCONFIG_CPPFLAGS$ac_delim
54352 WXCONFIG_CFLAGS!$WXCONFIG_CFLAGS$ac_delim
54353 WXCONFIG_CXXFLAGS!$WXCONFIG_CXXFLAGS$ac_delim
54354 WXCONFIG_LIBS!$WXCONFIG_LIBS$ac_delim
54355 WXCONFIG_RPATH!$WXCONFIG_RPATH$ac_delim
54356 WXCONFIG_LDFLAGS_GUI!$WXCONFIG_LDFLAGS_GUI$ac_delim
54357 WXCONFIG_RESFLAGS!$WXCONFIG_RESFLAGS$ac_delim
54358 EXE_LINKER!$EXE_LINKER$ac_delim
54359 GUIDIST!$GUIDIST$ac_delim
54360 DISTDIR!$DISTDIR$ac_delim
54361 SAMPLES_SUBDIRS!$SAMPLES_SUBDIRS$ac_delim
54364 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
54366 elif $ac_last_try; then
54367 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
54368 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
54369 { (exit 1); exit 1; }; }
54371 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
54375 ac_eof
=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
54376 if test -n "$ac_eof"; then
54377 ac_eof
=`echo "$ac_eof" | sort -nru | sed 1q`
54378 ac_eof
=`expr $ac_eof + 1`
54381 cat >>$CONFIG_STATUS <<_ACEOF
54382 cat >"\$tmp/subs-4.sed" <<\CEOF$ac_eof
54383 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
54386 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
54387 s/^/s,@/; s/!/@,|#_!!_#|/
54390 s/'"$ac_delim"'$/,g/; t
54392 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
54393 ' >>$CONFIG_STATUS <conf$
$subs.
sed
54394 rm -f conf$
$subs.
sed
54395 cat >>$CONFIG_STATUS <<_ACEOF
54401 for ac_last_try
in false false false false false
:; do
54402 cat >conf$
$subs.
sed <<_ACEOF
54403 LDFLAGS_GL!$LDFLAGS_GL$ac_delim
54404 OPENGL_LIBS!$OPENGL_LIBS$ac_delim
54405 DMALLOC_LIBS!$DMALLOC_LIBS$ac_delim
54406 WX_VERSION_TAG!$WX_VERSION_TAG$ac_delim
54407 RESCOMP!$RESCOMP$ac_delim
54408 RESFLAGS!$RESFLAGS$ac_delim
54409 RESPROGRAMOBJ!$RESPROGRAMOBJ$ac_delim
54410 WX_RESOURCES_MACOSX_ASCII!$WX_RESOURCES_MACOSX_ASCII$ac_delim
54411 WX_RESOURCES_MACOSX_DATA!$WX_RESOURCES_MACOSX_DATA$ac_delim
54412 LIBWXMACRES!$LIBWXMACRES$ac_delim
54413 POSTLINK_COMMAND!$POSTLINK_COMMAND$ac_delim
54414 MACSETFILE!$MACSETFILE$ac_delim
54416 DLLTOOL!$DLLTOOL$ac_delim
54417 CPPUNIT_CONFIG!$CPPUNIT_CONFIG$ac_delim
54418 LIBOBJS!$LIBOBJS$ac_delim
54419 LTLIBOBJS!$LTLIBOBJS$ac_delim
54422 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 17; then
54424 elif $ac_last_try; then
54425 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
54426 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
54427 { (exit 1); exit 1; }; }
54429 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
54433 ac_eof
=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
54434 if test -n "$ac_eof"; then
54435 ac_eof
=`echo "$ac_eof" | sort -nru | sed 1q`
54436 ac_eof
=`expr $ac_eof + 1`
54439 cat >>$CONFIG_STATUS <<_ACEOF
54440 cat >"\$tmp/subs-5.sed" <<\CEOF$ac_eof
54441 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
54444 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
54445 s/^/s,@/; s/!/@,|#_!!_#|/
54448 s/'"$ac_delim"'$/,g/; t
54450 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
54451 ' >>$CONFIG_STATUS <conf$
$subs.
sed
54452 rm -f conf$
$subs.
sed
54453 cat >>$CONFIG_STATUS <<_ACEOF
54460 # VPATH may cause trouble with some makes, so we remove $(srcdir),
54461 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
54462 # trailing colons and then remove the whole line if VPATH becomes empty
54463 # (actually we leave an empty line to preserve line numbers).
54464 if test "x$srcdir" = x.
; then
54465 ac_vpsub
='/^[ ]*VPATH[ ]*=/{
54466 s/:*\$(srcdir):*/:/
54467 s/:*\${srcdir}:*/:/
54469 s/^\([^=]*=[ ]*\):*/\1/
54475 cat >>$CONFIG_STATUS <<\_ACEOF
54476 fi # test -n "$CONFIG_FILES"
54479 for ac_tag
in :F
$CONFIG_FILES :H
$CONFIG_HEADERS :C
$CONFIG_COMMANDS
54482 :[FHLC
]) ac_mode
=$ac_tag; continue;;
54484 case $ac_mode$ac_tag in
54486 :L
* | :C
*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
54487 echo "$as_me: error: Invalid tag $ac_tag." >&2;}
54488 { (exit 1); exit 1; }; };;
54489 :[FH
]-) ac_tag
=-:-;;
54490 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
54507 -) ac_f
="$tmp/stdin";;
54508 *) # Look for the file first in the build tree, then in the source tree
54509 # (if the path is not absolute). The absolute path cannot be DOS-style,
54510 # because $ac_f cannot contain `:'.
54514 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
54516 { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
54517 echo "$as_me: error: cannot find input file: $ac_f" >&2;}
54518 { (exit 1); exit 1; }; };;
54520 ac_file_inputs
="$ac_file_inputs $ac_f"
54523 # Let's still pretend it is `configure' which instantiates (i.e., don't
54524 # use $as_me), people would be surprised to read:
54525 # /* config.h. Generated by config.status. */
54526 configure_input
="Generated from "`IFS=:
54527 echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
54528 if test x
"$ac_file" != x
-; then
54529 configure_input
="$ac_file. $configure_input"
54530 { echo "$as_me:$LINENO: creating $ac_file" >&5
54531 echo "$as_me: creating $ac_file" >&6;}
54535 *:-:* | *:-) cat >"$tmp/stdin";;
54540 ac_dir
=`$as_dirname -- "$ac_file" ||
54541 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
54542 X"$ac_file" : 'X\(//\)[^/]' \| \
54543 X"$ac_file" : 'X\(//\)$' \| \
54544 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
54546 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
54550 /^X\(\/\/\)[^/].*/{
54565 -*) as_dir
=.
/$as_dir;;
54567 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
54571 *\'*) as_qdir
=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
54572 *) as_qdir
=$as_dir;;
54574 as_dirs
="'$as_qdir' $as_dirs"
54575 as_dir
=`$as_dirname -- "$as_dir" ||
54576 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
54577 X"$as_dir" : 'X\(//\)[^/]' \| \
54578 X"$as_dir" : 'X\(//\)$' \| \
54579 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
54581 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
54585 /^X\(\/\/\)[^/].*/{
54598 test -d "$as_dir" && break
54600 test -z "$as_dirs" || eval "mkdir $as_dirs"
54601 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
54602 echo "$as_me: error: cannot create directory $as_dir" >&2;}
54603 { (exit 1); exit 1; }; }; }
54607 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
54609 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
54610 # A ".." for each directory in $ac_dir_suffix.
54611 ac_top_builddir_sub
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
54612 case $ac_top_builddir_sub in
54613 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
54614 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
54617 ac_abs_top_builddir
=$ac_pwd
54618 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
54619 # for backward compatibility:
54620 ac_top_builddir
=$ac_top_build_prefix
54623 .
) # We are building in place.
54625 ac_top_srcdir
=$ac_top_builddir_sub
54626 ac_abs_top_srcdir
=$ac_pwd ;;
54627 [\\/]* | ?
:[\\/]* ) # Absolute name.
54628 ac_srcdir
=$srcdir$ac_dir_suffix;
54629 ac_top_srcdir
=$srcdir
54630 ac_abs_top_srcdir
=$srcdir ;;
54631 *) # Relative name.
54632 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
54633 ac_top_srcdir
=$ac_top_build_prefix$srcdir
54634 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
54636 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
54646 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
54647 *) ac_INSTALL
=$ac_top_build_prefix$INSTALL ;;
54651 cat >>$CONFIG_STATUS <<\_ACEOF
54652 # If the template does not know about datarootdir, expand it.
54653 # FIXME: This hack should be removed a few years after 2.60.
54654 ac_datarootdir_hack
=; ac_datarootdir_seen
=
54656 case `sed -n '/datarootdir/ {
54665 ' $ac_file_inputs` in
54666 *datarootdir
*) ac_datarootdir_seen
=yes;;
54667 *@datadir@
*|*@docdir@
*|*@infodir@
*|*@localedir@
*|*@mandir@
*)
54668 { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
54669 echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
54671 cat >>$CONFIG_STATUS <<_ACEOF
54672 ac_datarootdir_hack='
54673 s&@datadir@&$datadir&g
54674 s&@docdir@&$docdir&g
54675 s&@infodir@&$infodir&g
54676 s&@localedir@&$localedir&g
54677 s&@mandir@&$mandir&g
54678 s&\\\${datarootdir}&$datarootdir&g' ;;
54682 # Neutralize VPATH when `$srcdir' = `.'.
54683 # Shell code in configure.ac might set extrasub.
54684 # FIXME: do we really want to maintain this feature?
54685 cat >>$CONFIG_STATUS <<_ACEOF
54689 cat >>$CONFIG_STATUS <<\_ACEOF
54691 /@
[a
-zA-Z_][a
-zA-Z_0-9]*@
/!b
54692 s
&@configure_input@
&$configure_input&;t t
54693 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
54694 s
&@srcdir@
&$ac_srcdir&;t t
54695 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
54696 s
&@top_srcdir@
&$ac_top_srcdir&;t t
54697 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
54698 s
&@builddir@
&$ac_builddir&;t t
54699 s
&@abs_builddir@
&$ac_abs_builddir&;t t
54700 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
54701 s
&@INSTALL@
&$ac_INSTALL&;t t
54702 $ac_datarootdir_hack
54703 " $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
54705 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
54706 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out
"`; test -n "$ac_out"; } &&
54707 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out
"`; test -z "$ac_out"; } &&
54708 { echo "$as_me:$LINENO: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
54709 which seems to be undefined. Please make sure it is defined." >&5
54710 echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
54711 which seems to be undefined. Please make sure it is defined." >&2;}
54715 -) cat "$tmp/out"; rm -f "$tmp/out";;
54716 *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
54725 # Transform confdefs.h into a sed script `conftest.defines', that
54726 # substitutes the proper values into config.h.in to produce config.h.
54727 rm -f conftest.defines conftest.
tail
54728 # First, append a space to every undef/define line, to ease matching.
54729 echo 's/$/ /' >conftest.defines
54730 # Then, protect against being on the right side of a sed subst, or in
54731 # an unquoted here document, in config.status. If some macros were
54732 # called several times there might be several #defines for the same
54733 # symbol, which is useless. But do not sort them, since the last
54734 # AC_DEFINE must be honored.
54735 ac_word_re
=[_
$as_cr_Letters][_
$as_cr_alnum]*
54736 # These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
54737 # NAME is the cpp macro being defined, VALUE is the value it is being given.
54738 # PARAMS is the parameter list in the macro definition--in most cases, it's
54739 # just an empty string.
54740 ac_dA
='s,^\\([ #]*\\)[^ ]*\\([ ]*'
54741 ac_dB
='\\)[ (].*,\\1define\\2'
54749 s/^[ ]*#[ ]*define[ ][ ]*//
54754 s/^\('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
54755 s/^\('"$ac_word_re"'\)[ ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
54756 ' >>conftest.defines
54758 # Remove the space that was appended to ease matching.
54759 # Then replace #undef with comments. This is necessary, for
54760 # example, in the case of _POSIX_SOURCE, which is predefined and required
54761 # on some systems where configure will not decide to define it.
54762 # (The regexp can be short, since the line contains either #define or #undef.)
54764 s,^[ #]*u.*,/* & */,' >>conftest.defines
54766 # Break up conftest.defines:
54767 ac_max_sed_lines
=50
54769 # First sed command is: sed -f defines.sed $ac_file_inputs >"$tmp/out1"
54770 # Second one is: sed -f defines.sed "$tmp/out1" >"$tmp/out2"
54771 # Third one will be: sed -f defines.sed "$tmp/out2" >"$tmp/out1"
54773 ac_in
='$ac_file_inputs'
54774 ac_out
='"$tmp/out1"'
54775 ac_nxt
='"$tmp/out2"'
54779 # Write a here document:
54780 cat >>$CONFIG_STATUS <<_ACEOF
54781 # First, check the format of the line:
54782 cat >"\$tmp/defines.sed" <<\\CEOF
54783 /^[ ]*#[ ]*undef[ ][ ]*$ac_word_re[ ]*\$/b def
54784 /^[ ]*#[ ]*define[ ][ ]*$ac_word_re[( ]/b def
54788 sed ${ac_max_sed_lines}q conftest.defines
>>$CONFIG_STATUS
54790 sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
54791 ac_in
=$ac_out; ac_out
=$ac_nxt; ac_nxt
=$ac_in
54792 sed 1,${ac_max_sed_lines}d conftest.defines
>conftest.
tail
54793 grep . conftest.
tail >/dev
/null
|| break
54794 rm -f conftest.defines
54795 mv conftest.
tail conftest.defines
54797 rm -f conftest.defines conftest.
tail
54799 echo "ac_result=$ac_in" >>$CONFIG_STATUS
54800 cat >>$CONFIG_STATUS <<\_ACEOF
54801 if test x
"$ac_file" != x
-; then
54802 echo "/* $configure_input */" >"$tmp/config.h"
54803 cat "$ac_result" >>"$tmp/config.h"
54804 if diff $ac_file "$tmp/config.h" >/dev
/null
2>&1; then
54805 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
54806 echo "$as_me: $ac_file is unchanged" >&6;}
54809 mv "$tmp/config.h" $ac_file
54812 echo "/* $configure_input */"
54818 :C
) { echo "$as_me:$LINENO: executing $ac_file commands" >&5
54819 echo "$as_me: executing $ac_file commands" >&6;}
54824 case $ac_file$ac_mode in
54826 mkdir -p $outdir &&
54827 $CPP $infile | sed 's/^# *[1-9].*//;s/^ *//;/./,/^$/!d' > $outdir/rcdefs.h
54829 "lib/wx/config/${TOOLCHAIN_FULLNAME}":F
) chmod +x lib
/wx
/config
/${TOOLCHAIN_FULLNAME} ;;
54830 "lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}":F
) chmod +x lib
/wx
/config
/inplace
-${TOOLCHAIN_FULLNAME} ;;
54831 "wx-config":C
) rm -f wx
-config
54832 ${LN_S} lib
/wx
/config
/inplace
-${TOOLCHAIN_FULLNAME} wx
-config
54839 { (exit 0); exit 0; }
54841 chmod +x
$CONFIG_STATUS
54842 ac_clean_files
=$ac_clean_files_save
54845 # configure is writing to config.log, and then calls config.status.
54846 # config.status does its own redirection, appending to config.log.
54847 # Unfortunately, on DOS this fails, as config.log is still kept open
54848 # by configure, so config.status won't be able to write to it; its
54849 # output is simply discarded. So we exec the FD to /dev/null,
54850 # effectively closing config.log, so it can be properly (re)opened and
54851 # appended to by config.status. When coming back to configure, we
54852 # need to make the FD available again.
54853 if test "$no_create" != yes; then
54855 ac_config_status_args
=
54856 test "$silent" = yes &&
54857 ac_config_status_args
="$ac_config_status_args --quiet"
54859 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
54861 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
54862 # would make configure fail if this is the last instruction.
54863 $ac_cs_success || { (exit 1); exit 1; }
54867 # CONFIG_SUBDIRS section.
54869 if test "$no_recursion" != yes; then
54871 # Remove --cache-file and --srcdir arguments so they do not pile up.
54872 ac_sub_configure_args
=
54874 eval "set x $ac_configure_args"
54878 if test -n "$ac_prev"; then
54883 -cache-file | --cache-file | --cache-fil | --cache-fi \
54884 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
54885 ac_prev
=cache_file
;;
54886 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
54887 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \
54890 --config-cache | -C)
54892 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
54894 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
54896 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
54898 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
54902 *\'*) ac_arg
=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
54904 ac_sub_configure_args
="$ac_sub_configure_args '$ac_arg'" ;;
54908 # Always prepend --prefix to ensure using the same prefix
54909 # in subdir configurations.
54910 ac_arg
="--prefix=$prefix"
54912 *\'*) ac_arg
=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
54914 ac_sub_configure_args
="'$ac_arg' $ac_sub_configure_args"
54917 if test "$silent" = yes; then
54918 ac_sub_configure_args
="--silent $ac_sub_configure_args"
54922 for ac_dir
in : $subdirs; do test "x$ac_dir" = x
: && continue
54924 # Do not complain, so a configure script can configure whichever
54925 # parts of a large source tree are present.
54926 test -d "$srcdir/$ac_dir" || continue
54928 ac_msg
="=== configuring in $ac_dir (`pwd`/$ac_dir)"
54929 echo "$as_me:$LINENO: $ac_msg" >&5
54933 -*) as_dir
=.
/$as_dir;;
54935 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
54939 *\'*) as_qdir
=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
54940 *) as_qdir
=$as_dir;;
54942 as_dirs
="'$as_qdir' $as_dirs"
54943 as_dir
=`$as_dirname -- "$as_dir" ||
54944 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
54945 X"$as_dir" : 'X\(//\)[^/]' \| \
54946 X"$as_dir" : 'X\(//\)$' \| \
54947 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
54949 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
54953 /^X\(\/\/\)[^/].*/{
54966 test -d "$as_dir" && break
54968 test -z "$as_dirs" || eval "mkdir $as_dirs"
54969 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
54970 echo "$as_me: error: cannot create directory $as_dir" >&2;}
54971 { (exit 1); exit 1; }; }; }
54975 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
54977 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
54978 # A ".." for each directory in $ac_dir_suffix.
54979 ac_top_builddir_sub
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
54980 case $ac_top_builddir_sub in
54981 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
54982 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
54985 ac_abs_top_builddir
=$ac_pwd
54986 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
54987 # for backward compatibility:
54988 ac_top_builddir
=$ac_top_build_prefix
54991 .
) # We are building in place.
54993 ac_top_srcdir
=$ac_top_builddir_sub
54994 ac_abs_top_srcdir
=$ac_pwd ;;
54995 [\\/]* | ?
:[\\/]* ) # Absolute name.
54996 ac_srcdir
=$srcdir$ac_dir_suffix;
54997 ac_top_srcdir
=$srcdir
54998 ac_abs_top_srcdir
=$srcdir ;;
54999 *) # Relative name.
55000 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
55001 ac_top_srcdir
=$ac_top_build_prefix$srcdir
55002 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
55004 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
55009 # Check for guested configure; otherwise get Cygnus style configure.
55010 if test -f "$ac_srcdir/configure.gnu"; then
55011 ac_sub_configure
=$ac_srcdir/configure.gnu
55012 elif test -f "$ac_srcdir/configure"; then
55013 ac_sub_configure
=$ac_srcdir/configure
55014 elif test -f "$ac_srcdir/configure.in"; then
55015 # This should be Cygnus configure.
55016 ac_sub_configure
=$ac_aux_dir/configure
55018 { echo "$as_me:$LINENO: WARNING: no configuration information is in $ac_dir" >&5
55019 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
55023 # The recursion is here.
55024 if test -n "$ac_sub_configure"; then
55025 # Make the cache file name correct relative to the subdirectory.
55026 case $cache_file in
55027 [\\/]* | ?
:[\\/]* ) ac_sub_cache_file
=$cache_file ;;
55028 *) # Relative name.
55029 ac_sub_cache_file
=$ac_top_build_prefix$cache_file ;;
55032 { echo "$as_me:$LINENO: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
55033 echo "$as_me: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
55034 # The eval makes quoting arguments work.
55035 eval "\$SHELL \"\$ac_sub_configure\" $ac_sub_configure_args \
55036 --cache-file=\"\$ac_sub_cache_file\" --srcdir=\"\$ac_srcdir\"" ||
55037 { { echo "$as_me:$LINENO: error: $ac_sub_configure failed for $ac_dir" >&5
55038 echo "$as_me: error: $ac_sub_configure failed for $ac_dir" >&2;}
55039 { (exit 1); exit 1; }; }
55048 echo "Configured wxWidgets ${WX_VERSION} for \`${host}'"
55050 echo " Which GUI toolkit should wxWidgets use? ${TOOLKIT_DESC}"
55051 echo " Should wxWidgets be compiled into single library? ${wxUSE_MONOLITHIC:-yes}"
55053 echo " Should wxWidgets be compiled in debug mode? ${wxUSE_DEBUG:-no}"
55054 echo " Should wxWidgets be linked as a shared library? ${wxUSE_SHARED:-no}"
55055 echo $ECHO_N " Should wxWidgets support Unicode? ${wxUSE_UNICODE:-no}$ECHO_C"
55056 if test "$wxUSE_UNICODE" = "yes"; then
55057 if test "$wxUSE_UNICODE_UTF8" = "yes"; then
55058 echo " (using UTF-8)"
55060 echo " (using wchar_t)"
55066 echo " What level of wxWidgets compatibility should be enabled?"
55067 echo " wxWidgets 2.6 ${WXWIN_COMPATIBILITY_2_6:-no}"
55068 echo " wxWidgets 2.8 ${WXWIN_COMPATIBILITY_2_8:-yes}"
55070 echo " Which libraries should wxWidgets use?"
55071 echo " STL ${wxUSE_STL}"
55072 echo " jpeg ${wxUSE_LIBJPEG-none}"
55073 echo " png ${wxUSE_LIBPNG-none}"
55074 echo " regex ${wxUSE_REGEX}"
55075 echo " tiff ${wxUSE_LIBTIFF-none}"
55076 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
55077 echo " xpm ${wxUSE_LIBXPM-none}"
55079 echo " zlib ${wxUSE_ZLIB}"
55080 echo " odbc ${wxUSE_ODBC}"
55081 echo " expat ${wxUSE_EXPAT}"
55082 echo " libmspack ${wxUSE_LIBMSPACK}"
55083 echo " sdl ${wxUSE_LIBSDL}"