2 # From configure.in Id: configure.in 47439 2007-07-13 20:44:26Z VS .
3 # Guess values for system-dependent variables and create Makefiles.
4 # Generated by GNU Autoconf 2.61 for wxWidgets 2.9.0.
6 # Report bugs to <wx-dev@lists.wxwidgets.org>.
8 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
9 # 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
10 # This configure script is free software; the Free Software Foundation
11 # gives unlimited permission to copy, distribute and modify it.
12 ## --------------------- ##
13 ## M4sh Initialization. ##
14 ## --------------------- ##
16 # Be more Bourne compatible
17 DUALCASE
=1; export DUALCASE
# for MKS sh
18 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
21 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
22 # is contrary to our usage. Disable this feature.
23 alias -g '${1+"$@"}'='"$@"'
26 case `(set -o) 2>/dev/null` in
27 *posix
*) set -o posix
;;
36 # Avoid depending upon Character Ranges.
37 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
38 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
39 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
40 as_cr_digits
='0123456789'
41 as_cr_alnum
=$as_cr_Letters$as_cr_digits
43 # The user is always right.
44 if test "${PATH_SEPARATOR+set}" != set; then
45 echo "#! /bin/sh" >conf$$.sh
46 echo "exit 0" >>conf$$.sh
48 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
56 # Support unset when possible.
57 if ( (MAIL
=60; unset MAIL
) || exit) >/dev
/null
2>&1; then
65 # We need space, tab and new line, in precisely that order. Quoting is
66 # there to prevent editors from complaining about space-tab.
67 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
68 # splitting by setting IFS to empty value.)
73 # Find who we are. Look in the path if we contain no directory separator.
75 *[\\/]* ) as_myself
=$0 ;;
76 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
80 test -z "$as_dir" && as_dir
=.
81 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
87 # We did not find ourselves, most probably we were run as `sh COMMAND'
88 # in which case we are not to be found in the path.
89 if test "x$as_myself" = x
; then
92 if test ! -f "$as_myself"; then
93 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
97 # Work around bugs in pre-3.0 UWIN ksh.
98 for as_var
in ENV MAIL MAILPATH
99 do ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
107 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
108 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
111 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
112 eval $as_var=C
; export $as_var
114 ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
118 # Required to use basename.
119 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
120 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
126 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
133 # Name of the executable.
134 as_me
=`$as_basename -- "$0" ||
135 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
136 X"$0" : 'X\(//\)$' \| \
137 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
139 sed '/^.*\/\([^/][^/]*\)\/*$/{
157 if test "x$CONFIG_SHELL" = x
; then
158 if (eval ":") 2>/dev
/null
; then
164 if test $as_have_required = yes && (eval ":
174 as_func_ret_success () {
177 as_func_ret_failure () {
182 if as_func_success; then
186 echo as_func_success failed.
189 if as_func_failure; then
191 echo as_func_failure succeeded.
194 if as_func_ret_success; then
198 echo as_func_ret_success failed.
201 if as_func_ret_failure; then
203 echo as_func_ret_failure succeeded.
206 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
210 echo positional parameters were not saved.
213 test \$exitcode = 0) || { (exit 1); exit 1; }
218 test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
219 test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
220 ") 2> /dev
/null
; then
224 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
225 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
228 test -z "$as_dir" && as_dir
=.
231 for as_base
in sh bash ksh sh5
; do
232 as_candidate_shells
="$as_candidate_shells $as_dir/$as_base"
239 for as_shell
in $as_candidate_shells $SHELL; do
240 # Try only shells that exist, to save several forks.
241 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
242 { ("$as_shell") 2> /dev
/null
<<\_ASEOF
243 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
246 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
247 # is contrary to our usage. Disable this feature.
248 alias -g '${1+"$@"}'='"$@"'
251 case `(set -o) 2>/dev/null` in
252 *posix
*) set -o posix
;;
261 CONFIG_SHELL
=$as_shell
263 if { "$as_shell" 2> /dev
/null
<<\_ASEOF
264 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
267 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
268 # is contrary to our usage. Disable this feature.
269 alias -g '${1+"$@"}'='"$@"'
272 case `(set -o) 2>/dev/null` in
273 *posix
*) set -o posix
;;
289 as_func_ret_success
() {
292 as_func_ret_failure
() {
297 if as_func_success
; then
301 echo as_func_success failed.
304 if as_func_failure
; then
306 echo as_func_failure succeeded.
309 if as_func_ret_success
; then
313 echo as_func_ret_success failed.
316 if as_func_ret_failure
; then
318 echo as_func_ret_failure succeeded.
321 if ( set x
; as_func_ret_success y
&& test x
= "$1" ); then
325 echo positional parameters were not saved.
328 test $exitcode = 0) || { (exit 1); exit 1; }
333 test "x$as_lineno_1" != "x$as_lineno_2" &&
334 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; }
345 if test "x$CONFIG_SHELL" != x
; then
346 for as_var
in BASH_ENV ENV
347 do ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
350 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
354 if test $as_have_required = no
; then
355 echo This
script requires a shell
more modern than all the
356 echo shells that I found on your system. Please
install a
357 echo modern shell
, or manually run the
script under such a
358 echo shell
if you
do have one.
359 { (exit 1); exit 1; }
369 (eval "as_func_return () {
378 as_func_ret_success () {
381 as_func_ret_failure () {
386 if as_func_success; then
390 echo as_func_success failed.
393 if as_func_failure; then
395 echo as_func_failure succeeded.
398 if as_func_ret_success; then
402 echo as_func_ret_success failed.
405 if as_func_ret_failure; then
407 echo as_func_ret_failure succeeded.
410 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
414 echo positional parameters were not saved.
417 test \$exitcode = 0") || {
418 echo No shell found that supports shell functions.
419 echo Please tell autoconf@gnu.org about your system
,
420 echo including any error possibly output before this
428 test "x$as_lineno_1" != "x$as_lineno_2" &&
429 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
431 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
432 # uniformly replaced by the line number. The first 'sed' inserts a
433 # line-number line after each line using $LINENO; the second 'sed'
434 # does the real work. The second script uses 'N' to pair each
435 # line-number line with the line containing $LINENO, and appends
436 # trailing '-' during substitution so that $LINENO is not a special
438 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
439 # scripts with optimization help from Paolo Bonzini. Blame Lee
440 # E. McMahon (1931-1989) for sed's syntax. :-)
452 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
456 chmod +x
"$as_me.lineno" ||
457 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
458 { (exit 1); exit 1; }; }
460 # Don't try to exec as it changes $[0], causing all sort of problems
461 # (the dirname of $[0] is not the place where we might find the
462 # original and so on. Autoconf is especially sensitive to this).
464 # Exit status is that of the last command.
469 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
475 ECHO_C
= ECHO_N
= ECHO_T
=
479 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
486 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
487 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
493 rm -f conf$$ conf$$.exe conf$$.
file
494 if test -d conf$$.dir
; then
495 rm -f conf$$.dir
/conf$$.
file
501 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
503 # ... but there are two gotchas:
504 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
505 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
506 # In both cases, we have to default to `cp -p'.
507 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe
||
509 elif ln conf$$.
file conf$$
2>/dev
/null
; then
514 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
515 rmdir conf$$.dir
2>/dev
/null
517 if mkdir -p .
2>/dev
/null
; then
520 test -d .
/-p && rmdir .
/-p
524 if test -x / >/dev
/null
2>&1; then
527 if ls -dL / >/dev
/null
2>&1; then
534 if test -d "$1"; then
540 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
541 ???[sx]*):;;*)false;;esac;fi
545 as_executable_p
=$as_test_x
547 # Sed expression to map a string onto a valid CPP name.
548 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
550 # Sed expression to map a string onto a valid variable name.
551 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
555 exec 7<&0 </dev
/null
6>&1
558 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
559 # so uname gets run too.
560 ac_hostname
=`(hostname || uname -n) 2>/dev/null | sed 1q`
565 ac_default_prefix
=/usr
/local
567 ac_config_libobj_dir
=.
573 SHELL
=${CONFIG_SHELL-/bin/sh}
575 # Identity of this package.
576 PACKAGE_NAME
='wxWidgets'
577 PACKAGE_TARNAME
='wxwidgets'
578 PACKAGE_VERSION
='2.9.0'
579 PACKAGE_STRING
='wxWidgets 2.9.0'
580 PACKAGE_BUGREPORT
='wx-dev@lists.wxwidgets.org'
582 ac_unique_file
="wx-config.in"
583 # Factoring default headers for most tests.
584 ac_includes_default
="\
586 #ifdef HAVE_SYS_TYPES_H
587 # include <sys/types.h>
589 #ifdef HAVE_SYS_STAT_H
590 # include <sys/stat.h>
596 # ifdef HAVE_STDLIB_H
601 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
606 #ifdef HAVE_STRINGS_H
607 # include <strings.h>
609 #ifdef HAVE_INTTYPES_H
610 # include <inttypes.h>
628 program_transform_name
719 LIBGNOMEPRINTUI_CFLAGS
766 SAMPLES_RPATH_POSTLINK
812 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT
813 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT
814 COND_BUILD_DEBUG_UNICODE_0
815 COND_BUILD_DEBUG_UNICODE_1
817 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT
818 COND_BUILD_RELEASE_UNICODE_0
819 COND_BUILD_RELEASE_UNICODE_1
828 COND_MONOLITHIC_0_SHARED_0
829 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1
830 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1
831 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1
832 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1
833 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1
834 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1
835 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1
836 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1
837 COND_MONOLITHIC_0_SHARED_0_USE_STC_1
838 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1
839 COND_MONOLITHIC_0_SHARED_1
840 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1
841 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1
842 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1
843 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1
844 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1
845 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1
846 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1
847 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1
848 COND_MONOLITHIC_0_SHARED_1_USE_STC_1
849 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1
850 COND_MONOLITHIC_0_USE_AUI_1
851 COND_MONOLITHIC_0_USE_GUI_1
852 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1
853 COND_MONOLITHIC_0_USE_GUI_1_USE_ODBC_1
854 COND_MONOLITHIC_0_USE_HTML_1
855 COND_MONOLITHIC_0_USE_MEDIA_1
856 COND_MONOLITHIC_0_USE_ODBC_1
857 COND_MONOLITHIC_0_USE_QA_1
858 COND_MONOLITHIC_0_USE_RICHTEXT_1
859 COND_MONOLITHIC_0_USE_STC_1
860 COND_MONOLITHIC_0_USE_XRC_1
862 COND_MONOLITHIC_1_SHARED_0
863 COND_MONOLITHIC_1_SHARED_1
864 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1
865 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1
866 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1
867 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1
868 COND_PLATFORM_MACOSX_1
869 COND_PLATFORM_MACOSX_1_TOOLKIT_
870 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA
871 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK
872 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC
873 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1
874 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF
875 COND_PLATFORM_MACOSX_1_TOOLKIT_X11
876 COND_PLATFORM_MACOSX_1_USE_GUI_1
877 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1
878 COND_PLATFORM_MACOS_1
880 COND_PLATFORM_MSDOS_0
881 COND_PLATFORM_MSDOS_1
885 COND_PLATFORM_UNIX_1_TOOLKIT_MGL
886 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1
887 COND_PLATFORM_UNIX_1_USE_GUI_1
888 COND_PLATFORM_UNIX_1_USE_PLUGINS_0
889 COND_PLATFORM_WIN32_0
890 COND_PLATFORM_WIN32_1
892 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0
893 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0
894 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0
895 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1
896 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
897 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
898 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
899 COND_SHARED_0_USE_STC_1
900 COND_SHARED_0_USE_XRC_1
901 COND_SHARED_0_WXUSE_EXPAT_BUILTIN
902 COND_SHARED_0_WXUSE_ODBC_BUILTIN
903 COND_SHARED_0_WXUSE_REGEX_BUILTIN
904 COND_SHARED_0_WXUSE_ZLIB_BUILTIN
906 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1
907 COND_SHARED_1_USE_XRC_1
910 COND_TOOLKIT_COCOA_USE_GUI_1
911 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0
913 COND_TOOLKIT_DFB_USE_GUI_1
915 COND_TOOLKIT_GTK_TOOLKIT_VERSION_
916 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2
917 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1
918 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0
919 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1
920 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0
921 COND_TOOLKIT_GTK_USE_GUI_1
923 COND_TOOLKIT_MAC_USE_GUI_1
924 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0
926 COND_TOOLKIT_MGL_USE_GUI_1
928 COND_TOOLKIT_MOTIF_USE_GUI_1
929 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0
931 COND_TOOLKIT_MSW_USE_GUI_1
932 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0
933 COND_TOOLKIT_MSW_WXUNIV_0
935 COND_TOOLKIT_PM_USE_GUI_1
936 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0
938 COND_TOOLKIT_WINCE_USE_GUI_1
939 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0
940 COND_TOOLKIT_WINCE_WXUNIV_0
942 COND_TOOLKIT_X11_USE_GUI_1
944 COND_USE_EXCEPTIONS_0
945 COND_USE_EXCEPTIONS_1
948 COND_USE_GUI_1_USE_OPENGL_1
949 COND_USE_GUI_1_WXUNIV_0
950 COND_USE_GUI_1_WXUNIV_1
951 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
952 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
953 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
960 COND_USE_SOSYMLINKS_1
961 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1
962 COND_USE_SOVERLINUX_1
964 COND_USE_SOVERSOLARIS_1
969 COND_WINDOWS_IMPLIB_1
970 COND_WITH_PLUGIN_SDL_1
973 COND_WXUSE_EXPAT_BUILTIN
974 COND_WXUSE_LIBJPEG_BUILTIN
975 COND_WXUSE_LIBPNG_BUILTIN
976 COND_WXUSE_LIBTIFF_BUILTIN
977 COND_WXUSE_ODBC_BUILTIN
978 COND_WXUSE_REGEX_BUILTIN
979 COND_WXUSE_ZLIB_BUILTIN
981 WX_LIBRARY_BASENAME_NOGUI
982 WX_LIBRARY_BASENAME_GUI
1002 WXCONFIG_LDFLAGS_GUI
1015 WX_RESOURCES_MACOSX_ASCII
1016 WX_RESOURCES_MACOSX_DATA
1025 ac_precious_vars
='build_alias
1047 LIBGNOMEPRINTUI_CFLAGS
1048 LIBGNOMEPRINTUI_LIBS
1057 ac_subdirs_all
='src/expat'
1059 # Initialize some variables set by options.
1061 ac_init_version
=false
1062 # The variables have the same names as the options, with
1063 # dashes changed to underlines.
1064 cache_file
=/dev
/null
1071 program_transform_name
=s
,x
,x
,
1079 # Installation directory options.
1080 # These are left unexpanded so users can "make install exec_prefix=/foo"
1081 # and all the variables that are supposed to be based on exec_prefix
1082 # by default will actually change.
1083 # Use braces instead of parens because sh, perl, etc. also accept them.
1084 # (The list follows the same order as the GNU Coding Standards.)
1085 bindir
='${exec_prefix}/bin'
1086 sbindir
='${exec_prefix}/sbin'
1087 libexecdir
='${exec_prefix}/libexec'
1088 datarootdir
='${prefix}/share'
1089 datadir
='${datarootdir}'
1090 sysconfdir
='${prefix}/etc'
1091 sharedstatedir
='${prefix}/com'
1092 localstatedir
='${prefix}/var'
1093 includedir
='${prefix}/include'
1094 oldincludedir
='/usr/include'
1095 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
1096 infodir
='${datarootdir}/info'
1101 libdir
='${exec_prefix}/lib'
1102 localedir
='${datarootdir}/locale'
1103 mandir
='${datarootdir}/man'
1109 # If the previous option needs an argument, assign it.
1110 if test -n "$ac_prev"; then
1111 eval $ac_prev=\
$ac_option
1117 *=*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1121 # Accept the important Cygnus configure options, so we can diagnose typos.
1123 case $ac_dashdash$ac_option in
1127 -bindir | --bindir | --bindi | --bind | --bin | --bi)
1129 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1130 bindir
=$ac_optarg ;;
1132 -build | --build | --buil | --bui | --bu)
1133 ac_prev
=build_alias
;;
1134 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1135 build_alias
=$ac_optarg ;;
1137 -cache-file | --cache-file | --cache-fil | --cache-fi \
1138 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1139 ac_prev
=cache_file
;;
1140 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1141 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1142 cache_file
=$ac_optarg ;;
1144 --config-cache | -C)
1145 cache_file
=config.cache
;;
1147 -datadir | --datadir | --datadi | --datad)
1149 -datadir=* | --datadir=* | --datadi=* | --datad=*)
1150 datadir
=$ac_optarg ;;
1152 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1153 | --dataroo | --dataro | --datar)
1154 ac_prev
=datarootdir
;;
1155 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1156 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1157 datarootdir
=$ac_optarg ;;
1159 -disable-* | --disable-*)
1160 ac_feature
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1161 # Reject names that are not valid shell variable names.
1162 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1163 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
1164 { (exit 1); exit 1; }; }
1165 ac_feature
=`echo $ac_feature | sed 's/[-.]/_/g'`
1166 eval enable_
$ac_feature=no
;;
1168 -docdir | --docdir | --docdi | --doc | --do)
1170 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1171 docdir
=$ac_optarg ;;
1173 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1175 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1176 dvidir
=$ac_optarg ;;
1178 -enable-* | --enable-*)
1179 ac_feature
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1180 # Reject names that are not valid shell variable names.
1181 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1182 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
1183 { (exit 1); exit 1; }; }
1184 ac_feature
=`echo $ac_feature | sed 's/[-.]/_/g'`
1185 eval enable_
$ac_feature=\
$ac_optarg ;;
1187 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1188 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1189 | --exec | --exe | --ex)
1190 ac_prev
=exec_prefix
;;
1191 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1192 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1193 | --exec=* | --exe=* | --ex=*)
1194 exec_prefix
=$ac_optarg ;;
1196 -gas | --gas | --ga | --g)
1197 # Obsolete; use --with-gas.
1200 -help | --help | --hel | --he | -h)
1201 ac_init_help
=long
;;
1202 -help=r
* | --help=r
* | --hel=r
* | --he=r
* | -hr*)
1203 ac_init_help
=recursive
;;
1204 -help=s
* | --help=s
* | --hel=s
* | --he=s
* | -hs*)
1205 ac_init_help
=short
;;
1207 -host | --host | --hos | --ho)
1208 ac_prev
=host_alias
;;
1209 -host=* | --host=* | --hos=* | --ho=*)
1210 host_alias
=$ac_optarg ;;
1212 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1214 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1216 htmldir
=$ac_optarg ;;
1218 -includedir | --includedir | --includedi | --included | --include \
1219 | --includ | --inclu | --incl | --inc)
1220 ac_prev
=includedir
;;
1221 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1222 | --includ=* | --inclu=* | --incl=* | --inc=*)
1223 includedir
=$ac_optarg ;;
1225 -infodir | --infodir | --infodi | --infod | --info | --inf)
1227 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1228 infodir
=$ac_optarg ;;
1230 -libdir | --libdir | --libdi | --libd)
1232 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1233 libdir
=$ac_optarg ;;
1235 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1236 | --libexe | --libex | --libe)
1237 ac_prev
=libexecdir
;;
1238 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1239 | --libexe=* | --libex=* | --libe=*)
1240 libexecdir
=$ac_optarg ;;
1242 -localedir | --localedir | --localedi | --localed | --locale)
1243 ac_prev
=localedir
;;
1244 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1245 localedir
=$ac_optarg ;;
1247 -localstatedir | --localstatedir | --localstatedi | --localstated \
1248 | --localstate | --localstat | --localsta | --localst | --locals)
1249 ac_prev
=localstatedir
;;
1250 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1251 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1252 localstatedir
=$ac_optarg ;;
1254 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1256 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1257 mandir
=$ac_optarg ;;
1259 -nfp | --nfp | --nf)
1260 # Obsolete; use --without-fp.
1263 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1264 | --no-cr | --no-c | -n)
1267 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1268 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1271 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1272 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1273 | --oldin | --oldi | --old | --ol | --o)
1274 ac_prev
=oldincludedir
;;
1275 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1276 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1277 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1278 oldincludedir
=$ac_optarg ;;
1280 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1282 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1283 prefix
=$ac_optarg ;;
1285 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1286 | --program-pre | --program-pr | --program-p)
1287 ac_prev
=program_prefix
;;
1288 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1289 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1290 program_prefix
=$ac_optarg ;;
1292 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1293 | --program-suf | --program-su | --program-s)
1294 ac_prev
=program_suffix
;;
1295 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1296 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1297 program_suffix
=$ac_optarg ;;
1299 -program-transform-name | --program-transform-name \
1300 | --program-transform-nam | --program-transform-na \
1301 | --program-transform-n | --program-transform- \
1302 | --program-transform | --program-transfor \
1303 | --program-transfo | --program-transf \
1304 | --program-trans | --program-tran \
1305 | --progr-tra | --program-tr | --program-t)
1306 ac_prev
=program_transform_name
;;
1307 -program-transform-name=* | --program-transform-name=* \
1308 | --program-transform-nam=* | --program-transform-na=* \
1309 | --program-transform-n=* | --program-transform-=* \
1310 | --program-transform=* | --program-transfor=* \
1311 | --program-transfo=* | --program-transf=* \
1312 | --program-trans=* | --program-tran=* \
1313 | --progr-tra=* | --program-tr=* | --program-t=*)
1314 program_transform_name
=$ac_optarg ;;
1316 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1318 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1319 pdfdir
=$ac_optarg ;;
1321 -psdir | --psdir | --psdi | --psd | --ps)
1323 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1326 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1327 | -silent | --silent | --silen | --sile | --sil)
1330 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1332 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1334 sbindir
=$ac_optarg ;;
1336 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1337 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1338 | --sharedst | --shareds | --shared | --share | --shar \
1340 ac_prev
=sharedstatedir
;;
1341 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1342 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1343 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1345 sharedstatedir
=$ac_optarg ;;
1347 -site | --site | --sit)
1349 -site=* | --site=* | --sit=*)
1352 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1354 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1355 srcdir
=$ac_optarg ;;
1357 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1358 | --syscon | --sysco | --sysc | --sys | --sy)
1359 ac_prev
=sysconfdir
;;
1360 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1361 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1362 sysconfdir
=$ac_optarg ;;
1364 -target | --target | --targe | --targ | --tar | --ta | --t)
1365 ac_prev
=target_alias
;;
1366 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1367 target_alias
=$ac_optarg ;;
1369 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1372 -version | --version | --versio | --versi | --vers | -V)
1373 ac_init_version
=: ;;
1376 ac_package
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1377 # Reject names that are not valid shell variable names.
1378 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1379 { echo "$as_me: error: invalid package name: $ac_package" >&2
1380 { (exit 1); exit 1; }; }
1381 ac_package
=`echo $ac_package | sed 's/[-.]/_/g'`
1382 eval with_
$ac_package=\
$ac_optarg ;;
1384 -without-* | --without-*)
1385 ac_package
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1386 # Reject names that are not valid shell variable names.
1387 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1388 { echo "$as_me: error: invalid package name: $ac_package" >&2
1389 { (exit 1); exit 1; }; }
1390 ac_package
=`echo $ac_package | sed 's/[-.]/_/g'`
1391 eval with_
$ac_package=no
;;
1394 # Obsolete; use --with-x.
1397 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1398 | --x-incl | --x-inc | --x-in | --x-i)
1399 ac_prev
=x_includes
;;
1400 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1401 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1402 x_includes
=$ac_optarg ;;
1404 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1405 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1406 ac_prev
=x_libraries
;;
1407 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1408 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1409 x_libraries
=$ac_optarg ;;
1411 -*) { echo "$as_me: error: unrecognized option: $ac_option
1412 Try \`$0 --help' for more information." >&2
1413 { (exit 1); exit 1; }; }
1417 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1418 # Reject names that are not valid shell variable names.
1419 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev
/null
&&
1420 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1421 { (exit 1); exit 1; }; }
1422 eval $ac_envvar=\
$ac_optarg
1423 export $ac_envvar ;;
1426 # FIXME: should be removed in autoconf 3.0.
1427 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1428 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1429 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1430 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1436 if test -n "$ac_prev"; then
1437 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1438 { echo "$as_me: error: missing argument to $ac_option" >&2
1439 { (exit 1); exit 1; }; }
1442 # Be sure to have absolute directory names.
1443 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1444 datadir sysconfdir sharedstatedir localstatedir includedir \
1445 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1446 libdir localedir mandir
1448 eval ac_val
=\$
$ac_var
1450 [\\/$
]* | ?
:[\\/]* ) continue;;
1451 NONE
| '' ) case $ac_var in *prefix
) continue;; esac;;
1453 { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1454 { (exit 1); exit 1; }; }
1457 # There might be people who depend on the old broken behavior: `$host'
1458 # used to hold the argument of --host etc.
1459 # FIXME: To remove some day.
1462 target
=$target_alias
1464 # FIXME: To remove some day.
1465 if test "x$host_alias" != x
; then
1466 if test "x$build_alias" = x
; then
1467 cross_compiling
=maybe
1468 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1469 If a cross compiler is detected then cross compile mode will be used." >&2
1470 elif test "x$build_alias" != "x$host_alias"; then
1476 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1478 test "$silent" = yes && exec 6>/dev
/null
1481 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1482 ac_ls_di
=`ls -di .` &&
1483 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1484 { echo "$as_me: error: Working directory cannot be determined" >&2
1485 { (exit 1); exit 1; }; }
1486 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1487 { echo "$as_me: error: pwd does not report name of working directory" >&2
1488 { (exit 1); exit 1; }; }
1491 # Find the source files, if location was not specified.
1492 if test -z "$srcdir"; then
1493 ac_srcdir_defaulted
=yes
1494 # Try the directory containing this script, then the parent directory.
1495 ac_confdir
=`$as_dirname -- "$0" ||
1496 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1497 X"$0" : 'X\(//\)[^/]' \| \
1498 X"$0" : 'X\(//\)$' \| \
1499 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
1501 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1519 if test ! -r "$srcdir/$ac_unique_file"; then
1523 ac_srcdir_defaulted
=no
1525 if test ! -r "$srcdir/$ac_unique_file"; then
1526 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1527 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1528 { (exit 1); exit 1; }; }
1530 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1532 cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
1533 { (exit 1); exit 1; }; }
1535 # When building in place, set srcdir=.
1536 if test "$ac_abs_confdir" = "$ac_pwd"; then
1539 # Remove unnecessary trailing slashes from srcdir.
1540 # Double slashes in file names in object file debugging info
1541 # mess up M-x gdb in Emacs.
1543 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1545 for ac_var
in $ac_precious_vars; do
1546 eval ac_env_
${ac_var}_set
=\
${${ac_var}+set}
1547 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1548 eval ac_cv_env_
${ac_var}_set
=\
${${ac_var}+set}
1549 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1553 # Report the --help message.
1555 if test "$ac_init_help" = "long"; then
1556 # Omit some internal or obsolete options to make the list less imposing.
1557 # This message is too long to be a string in the A/UX 3.1 sh.
1559 \`configure' configures wxWidgets 2.9.0 to adapt to many kinds of systems.
1561 Usage: $0 [OPTION]... [VAR=VALUE]...
1563 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1564 VAR=VALUE. See below for descriptions of some of the useful variables.
1566 Defaults for the options are specified in brackets.
1569 -h, --help display this help and exit
1570 --help=short display options specific to this package
1571 --help=recursive display the short help of all the included packages
1572 -V, --version display version information and exit
1573 -q, --quiet, --silent do not print \`checking...' messages
1574 --cache-file=FILE cache test results in FILE [disabled]
1575 -C, --config-cache alias for \`--cache-file=config.cache'
1576 -n, --no-create do not create output files
1577 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1579 Installation directories:
1580 --prefix=PREFIX install architecture-independent files in PREFIX
1581 [$ac_default_prefix]
1582 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1585 By default, \`make install' will install all the files in
1586 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1587 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1588 for instance \`--prefix=\$HOME'.
1590 For better control, use the options below.
1592 Fine tuning of the installation directories:
1593 --bindir=DIR user executables [EPREFIX/bin]
1594 --sbindir=DIR system admin executables [EPREFIX/sbin]
1595 --libexecdir=DIR program executables [EPREFIX/libexec]
1596 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1597 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1598 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1599 --libdir=DIR object code libraries [EPREFIX/lib]
1600 --includedir=DIR C header files [PREFIX/include]
1601 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1602 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1603 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1604 --infodir=DIR info documentation [DATAROOTDIR/info]
1605 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1606 --mandir=DIR man documentation [DATAROOTDIR/man]
1607 --docdir=DIR documentation root [DATAROOTDIR/doc/wxwidgets]
1608 --htmldir=DIR html documentation [DOCDIR]
1609 --dvidir=DIR dvi documentation [DOCDIR]
1610 --pdfdir=DIR pdf documentation [DOCDIR]
1611 --psdir=DIR ps documentation [DOCDIR]
1617 --x-includes=DIR X include files are
in DIR
1618 --x-libraries=DIR X library files are
in DIR
1621 --build=BUILD configure
for building on BUILD
[guessed
]
1622 --host=HOST cross
-compile to build programs to run on HOST
[BUILD
]
1623 --target=TARGET configure
for building compilers
for TARGET
[HOST
]
1627 if test -n "$ac_init_help"; then
1628 case $ac_init_help in
1629 short
| recursive
) echo "Configuration of wxWidgets 2.9.0:";;
1634 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1635 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1636 --disable-gui don
't build GUI parts of the library
1637 --enable-monolithic build wxWidgets as single library
1638 --enable-plugins build parts of wxWidgets as loadable components
1639 --enable-official_build official build of wxWidgets (win32 DLL only)
1640 --enable-vendor=VENDOR vendor name (win32 DLL only)
1641 --disable-all-features disable all optional features to build minimal library
1642 --enable-universal use wxWidgets GUI controls instead of native ones
1643 --enable-nanox use NanoX
1644 --disable-gtk2 use GTK+ 1.2 instead of 2.0
1645 --enable-gpe use GNOME PDA Environment features if possible
1646 --disable-shared create static library instead of shared
1647 --disable-optimise create optimised code
1648 --enable-debug same as debug_flag and debug_info
1649 --enable-stl use STL for containers
1650 --enable-std_iostreams use standard C++ stream classes
1651 --enable-std_string use standard C++ string classes
1652 --disable-unicode compile without Unicode support
1653 --enable-mslu use MS Layer for Unicode on Windows 9x (Win32 only)
1654 --enable-utf8 use UTF-8 representation for strings (Unix only)
1655 --enable-utf8only only support UTF-8 locales in UTF-8 build (Unix only)
1656 --enable-extended_rtti use extended RTTI (XTI)
1657 --enable-omf use OMF object format
1658 --enable-debug_flag set __WXDEBUG__ flag (recommended for developers!)
1659 --enable-debug_info create code with debugging information
1660 --enable-debug_gdb create code with extra GDB debugging information
1661 --enable-debug_cntxt use wxDebugContext
1662 --enable-mem_tracing create code with memory tracing
1663 --enable-profile create code with profiling information
1664 --enable-no_rtti create code without RTTI information
1665 --enable-no_exceptions create code without C++ exceptions handling
1666 --enable-permissive compile code disregarding strict ANSI
1667 --enable-no_deps create code without dependency information
1668 --disable-vararg_macros don't use vararg macros
, even
if they are supported
1669 --enable-universal_binary[=SDK
] 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-apple_ieee use the Apple IEEE codec
1686 --enable-arcstream use wxArchive streams
1687 --enable-base64 use base64 encoding
/decoding functions
1688 --enable-backtrace use wxStackWalker class
for getting backtraces
1689 --enable-catch_segvs catch signals
in wxApp
::OnFatalException
(Unix only
)
1690 --enable-cmdline use wxCmdLineParser class
1691 --enable-datetime use wxDateTime class
1692 --enable-debugreport use wxDebugReport class
1693 --enable-dialupman use dialup network classes
1694 --enable-dynlib use wxLibrary class
for DLL loading
1695 --enable-dynamicloader use
(new
) wxDynamicLibrary class
1696 --enable-exceptions build exception
-safe library
1697 --enable-ffile use wxFFile class
1698 --enable-file use wxFile class
1699 --enable-filesystem use virtual
file systems classes
1700 --enable-fontmap use font encodings conversion classes
1701 --enable-fs_archive use virtual archive filesystems
1702 --enable-fs_inet use virtual HTTP
/FTP filesystems
1703 --enable-fs_zip now replaced by fs_archive
1704 --enable-geometry use geometry class
1705 --enable-log use logging system
1706 --enable-longlong use wxLongLong class
1707 --enable-mimetype use wxMimeTypesManager
1708 --enable-snglinst use wxSingleInstanceChecker class
1709 --enable-stdpaths use wxStandardPaths class
1710 --enable-stopwatch use wxStopWatch class
1711 --enable-streams use wxStream etc classes
1712 --enable-sysoptions use wxSystemOptions
1713 --enable-tarstream use wxTar streams
1714 --enable-textbuf use wxTextBuffer class
1715 --enable-textfile use wxTextFile class
1716 --enable-timer use wxTimer class
1717 --enable-sound use wxSound class
1718 --enable-mediactrl use wxMediaCtrl class
1719 --enable-gstreamer8 force GStreamer
0.8 instead of
0.10 with the wxMediaCtrl class on unix
1720 --enable-printfposparam use wxVsnprintf
() which supports positional parameters
1721 --enable-zipstream use wxZip streams
1722 --enable-url use wxURL class
1723 --enable-variant use wxVariant class
1724 --enable-protocol use wxProtocol class
1725 --enable-protocol-http HTTP support
in wxProtocol
1726 --enable-protocol-ftp FTP support
in wxProtocol
1727 --enable-protocol-file FILE support
in wxProtocol
1728 --enable-threads use threads
1729 --enable-docview use document view architecture
1730 --enable-help use
help subsystem
1731 --enable-mshtmlhelp use MS HTML Help
(win32
)
1732 --enable-html use wxHTML sub
-library
1733 --enable-htmlhelp use wxHTML
-based help
1734 --enable-xrc use XRC resources sub
-library
1735 --enable-aui use AUI docking library
1736 --enable-stc use wxStyledTextCtrl library
1737 --enable-constraints use layout
-constraints system
1738 --enable-printarch use printing architecture
1739 --enable-mdi use multiple document interface architecture
1740 --enable-mdidoc use docview architecture with MDI
1741 --enable-loggui use standard GUI logger
1742 --enable-logwin use wxLogWindow
1743 --enable-logdialog use wxLogDialog
1744 --enable-webkit use wxWebKitCtrl
(Mac
)
1745 --enable-richtext use wxRichTextCtrl
1746 --enable-graphics_ctx use graphics context
2D drawing API
1747 --enable-postscript use wxPostscriptDC device context
(default
for gtk
+)
1748 --enable-svg use wxSVGFileDC device context
1749 --enable-clipboard use wxClipboard class
1750 --enable-dnd use Drag
'n'Drop classes
1751 --enable-metafile use win32 metafiles
1752 --disable-controls disable compilation of all standard controls
1753 --enable-accel use accelerators
1754 --enable-animatectrl use wxAnimationCtrl class
1755 --enable-button use wxButton class
1756 --enable-bmpbutton use wxBitmapButton class
1757 --enable-bmpcombobox use wxBitmapComboBox class
1758 --enable-calendar use wxCalendarCtrl class
1759 --enable-caret use wxCaret class
1760 --enable-checkbox use wxCheckBox class
1761 --enable-checklst use wxCheckListBox
(listbox with checkboxes
) class
1762 --enable-choice use wxChoice class
1763 --enable-choicebook use wxChoicebook class
1764 --enable-collpane use wxCollapsiblePane class
1765 --enable-colourpicker use wxColourPickerCtrl class
1766 --enable-combobox use wxComboBox class
1767 --enable-comboctrl use wxComboCtrl class
1768 --enable-datepick use wxDatePickerCtrl class
1769 --enable-dirpicker use wxDirPickerCtrl class
1770 --enable-display use wxDisplay class
1771 --enable-detect_sm use code to detect X11 session manager
1772 --enable-editablebox use wxEditableListBox class
1773 --enable-filepicker use wxFilePickerCtrl class
1774 --enable-fontpicker use wxFontPickerCtrl class
1775 --enable-gauge use wxGauge class
1776 --enable-grid use wxGrid class
1777 --enable-dataviewctrl use wxDataViewCtrl class
1778 --enable-hyperlink use wxHyperlinkCtrl class
1779 --enable-imaglist use wxImageList class
1780 --enable-listbook use wxListbook class
1781 --enable-listbox use wxListBox class
1782 --enable-listctrl use wxListCtrl class
1783 --enable-notebook use wxNotebook class
1784 --enable-odcombobox use wxOwnerDrawnComboBox class
1785 --enable-radiobox use wxRadioBox class
1786 --enable-radiobtn use wxRadioButton class
1787 --enable-sash use wxSashWindow class
1788 --enable-scrollbar use wxScrollBar class and scrollable windows
1789 --enable-searchctrl use wxSearchCtrl class
1790 --enable-slider use wxSlider class
1791 --enable-spinbtn use wxSpinButton class
1792 --enable-spinctrl use wxSpinCtrl class
1793 --enable-splitter use wxSplitterWindow class
1794 --enable-statbmp use wxStaticBitmap class
1795 --enable-statbox use wxStaticBox class
1796 --enable-statline use wxStaticLine class
1797 --enable-stattext use wxStaticText class
1798 --enable-statusbar use wxStatusBar class
1799 --enable-tabdialog use wxTabControl class
1800 --enable-textctrl use wxTextCtrl class
1801 --enable-togglebtn use wxToggleButton class
1802 --enable-toolbar use wxToolBar class
1803 --enable-tbarnative use native wxToolBar class
1804 --enable-treebook use wxTreebook class
1805 --enable-toolbook use wxToolbook class
1806 --enable-treectrl use wxTreeCtrl class
1807 --enable-tipwindow use wxTipWindow class
1808 --enable-popupwin use wxPopUpWindow class
1809 --enable-commondlg use all common dialogs
1810 --enable-aboutdlg use wxAboutBox
1811 --enable-choicedlg use wxChoiceDialog
1812 --enable-coldlg use wxColourDialog
1813 --enable-filedlg use wxFileDialog
1814 --enable-finddlg use wxFindReplaceDialog
1815 --enable-fontdlg use wxFontDialog
1816 --enable-dirdlg use wxDirDialog
1817 --enable-msgdlg use wxMessageDialog
1818 --enable-numberdlg use wxNumberEntryDialog
1819 --enable-splash use wxSplashScreen
1820 --enable-textdlg use wxTextDialog
1821 --enable-tipdlg use startup tips
1822 --enable-progressdlg use wxProgressDialog
1823 --enable-wizarddlg use wxWizard
1824 --enable-menus use wxMenu
/wxMenuBar
/wxMenuItem classes
1825 --enable-miniframe use wxMiniFrame class
1826 --enable-tooltips use wxToolTip class
1827 --enable-splines use spline drawing code
1828 --enable-mousewheel use mousewheel
1829 --enable-validators use wxValidator and derived classes
1830 --enable-busyinfo use wxBusyInfo
1831 --enable-joystick use wxJoystick
1832 --enable-metafiles use wxMetaFile
(Win32 only
)
1833 --enable-dragimage use wxDragImage
1834 --enable-accessibility enable accessibility support
1835 --enable-dccache cache temporary wxDC objects
(Win32 only
)
1836 --enable-palette use wxPalette class
1837 --enable-image use wxImage class
1838 --enable-gif use gif images
(GIF
file format
)
1839 --enable-pcx use pcx images
(PCX
file format
)
1840 --enable-tga use tga images
(TGA
file format
)
1841 --enable-iff use iff images
(IFF
file format
)
1842 --enable-pnm use pnm images
(PNM
file format
)
1843 --enable-xpm use xpm images
(XPM
file format
)
1844 --enable-icocur use Windows ICO and CUR formats
1845 --disable-largefile omit support
for large files
1846 --disable-gtktest do not try to compile and run a
test GTK
+ program
1847 --disable-gtktest Do not try to compile and run a
test GTK program
1848 --disable-sdltest Do not try to compile and run a
test SDL program
1849 --enable-omf use OMF object format
(OS
/2)
1850 --disable-dependency-tracking
1851 don
't use dependency tracking even if the compiler
1853 --disable-precomp-headers
1854 don't use precompiled headers even
if compiler can
1857 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
1858 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
1859 --without-subdirs don
't generate makefiles for samples/demos/...
1860 --with-flavour=NAME specify a name to identify this build
1861 --with-themes=all|list use only the specified comma-separated list of wxUniversal themes
1862 --with-gtk[=VERSION] use GTK+, VERSION can be 2 (default), 1 or "any"
1863 --with-motif use Motif/Lesstif
1864 --with-mac use Mac OS X
1865 --with-cocoa use Cocoa
1866 --with-wine use Wine
1867 --with-msw use MS-Windows
1868 --with-pm use OS/2 Presentation Manager
1869 --with-mgl use SciTech MGL
1870 --with-directfb use DirectFB
1871 --with-microwin use MicroWindows
1873 --with-libpng use libpng (PNG image format)
1874 --with-libjpeg use libjpeg (JPEG file format)
1875 --with-libtiff use libtiff (TIFF file format)
1876 --with-libxpm use libxpm (XPM file format)
1877 --with-libmspack use libmspack (CHM help files loading)
1878 --without-gnomeprint don't use GNOME printing libraries
1879 --with-gnomevfs use GNOME VFS
for associating MIME types
1880 --with-hildon use Hildon framework
for Nokia
770
1881 --with-opengl use OpenGL
(or Mesa
)
1882 --with-dmalloc use dmalloc library
(http
://dmalloc.com
/)
1883 --with-sdl use SDL
for audio on Unix
1884 --with-regex enable support
for wxRegEx class
1885 --with-zlib use zlib
for LZW compression
1886 --with-odbc use the IODBC and wxODBC classes
1887 --with-expat enable XML support using expat parser
1888 --with-gtk-prefix=PFX Prefix where GTK is installed
(optional
)
1889 --with-gtk-exec-prefix=PFX Exec prefix where GTK is installed
(optional
)
1890 --with-x use the X Window System
1891 --with-libiconv-prefix=DIR search
for libiconv
in DIR
/include and DIR
/lib
1892 --with-sdl-prefix=PFX Prefix where SDL is installed
(optional
)
1893 --with-sdl-exec-prefix=PFX Exec prefix where SDL is installed
(optional
)
1894 --with-cppunit-prefix=PFX Prefix where CppUnit is installed
(optional
)
1895 --with-cppunit-exec-prefix=PFX Exec prefix where CppUnit is installed
(optional
)
1897 Some influential environment variables
:
1898 CC C compiler
command
1899 CFLAGS C compiler flags
1900 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
1901 nonstandard directory
<lib dir
>
1902 LIBS libraries to pass to the linker
, e.g.
-l<library
>
1903 CPPFLAGS C
/C
++/Objective C preprocessor flags
, e.g.
-I<include dir
> if
1904 you have headers
in a nonstandard directory
<include dir
>
1906 CXX C
++ compiler
command
1907 CXXFLAGS C
++ compiler flags
1908 PKG_CONFIG path to pkg
-config utility
1910 C compiler flags
for DIRECTFB
, overriding pkg
-config
1912 linker flags
for DIRECTFB
, overriding pkg
-config
1913 XMKMF Path to xmkmf
, Makefile generator
for X Window System
1915 C compiler flags
for PANGOX
, overriding pkg
-config
1916 PANGOX_LIBS linker flags
for PANGOX
, overriding pkg
-config
1918 C compiler flags
for PANGOFT2
, overriding pkg
-config
1920 linker flags
for PANGOFT2
, overriding pkg
-config
1922 C compiler flags
for PANGOXFT
, overriding pkg
-config
1924 linker flags
for PANGOXFT
, overriding pkg
-config
1925 LIBGNOMEPRINTUI_CFLAGS
1926 C compiler flags
for LIBGNOMEPRINTUI
, overriding pkg
-config
1927 LIBGNOMEPRINTUI_LIBS
1928 linker flags
for LIBGNOMEPRINTUI
, overriding pkg
-config
1930 C compiler flags
for GNOMEVFS
, overriding pkg
-config
1932 linker flags
for GNOMEVFS
, overriding pkg
-config
1934 C compiler flags
for HILDON
, overriding pkg
-config
1935 HILDON_LIBS linker flags
for HILDON
, overriding pkg
-config
1937 C compiler flags
for CAIRO
, overriding pkg
-config
1938 CAIRO_LIBS linker flags
for CAIRO
, overriding pkg
-config
1939 GST_CFLAGS C compiler flags
for GST
, overriding pkg
-config
1940 GST_LIBS linker flags
for GST
, overriding pkg
-config
1942 Use these variables to override the choices made by
`configure' or to help
1943 it to find libraries and programs with nonstandard names/locations.
1945 Report bugs to <wx-dev@lists.wxwidgets.org>.
1950 if test "$ac_init_help" = "recursive"; then
1951 # If there are subdirs, report their specific --help.
1952 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1953 test -d "$ac_dir" || continue
1957 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1959 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1960 # A ".." for each directory in $ac_dir_suffix.
1961 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
1962 case $ac_top_builddir_sub in
1963 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1964 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1967 ac_abs_top_builddir=$ac_pwd
1968 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1969 # for backward compatibility:
1970 ac_top_builddir=$ac_top_build_prefix
1973 .) # We are building in place.
1975 ac_top_srcdir=$ac_top_builddir_sub
1976 ac_abs_top_srcdir=$ac_pwd ;;
1977 [\\/]* | ?:[\\/]* ) # Absolute name.
1978 ac_srcdir=$srcdir$ac_dir_suffix;
1979 ac_top_srcdir=$srcdir
1980 ac_abs_top_srcdir=$srcdir ;;
1982 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1983 ac_top_srcdir=$ac_top_build_prefix$srcdir
1984 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1986 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1988 cd "$ac_dir" || { ac_status=$?; continue; }
1989 # Check for guested configure.
1990 if test -f "$ac_srcdir/configure.gnu"; then
1992 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1993 elif test -f "$ac_srcdir/configure"; then
1995 $SHELL "$ac_srcdir/configure" --help=recursive
1997 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1999 cd "$ac_pwd" || { ac_status=$?; break; }
2003 test -n "$ac_init_help" && exit $ac_status
2004 if $ac_init_version; then
2006 wxWidgets configure 2.9.0
2007 generated by GNU Autoconf 2.61
2009 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
2010 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
2011 This configure script is free software; the Free Software Foundation
2012 gives unlimited permission to copy, distribute and modify it.
2016 cat >config.log <<_ACEOF
2017 This file contains any messages produced by compilers while
2018 running configure, to aid debugging if configure makes a mistake.
2020 It was created by wxWidgets $as_me 2.9.0, which was
2021 generated by GNU Autoconf 2.61. Invocation command line was
2033 hostname = `(hostname
|| uname
-n) 2>/dev
/null
| sed 1q
`
2034 uname -m = `(uname
-m) 2>/dev
/null
|| echo unknown
`
2035 uname -r = `(uname
-r) 2>/dev
/null
|| echo unknown
`
2036 uname -s = `(uname
-s) 2>/dev
/null
|| echo unknown
`
2037 uname -v = `(uname
-v) 2>/dev
/null
|| echo unknown
`
2039 /usr/bin/uname -p = `(/usr
/bin
/uname
-p) 2>/dev
/null
|| echo unknown
`
2040 /bin/uname -X = `(/bin
/uname
-X) 2>/dev
/null
|| echo unknown
`
2042 /bin/arch = `(/bin
/arch
) 2>/dev
/null
|| echo unknown
`
2043 /usr/bin/arch -k = `(/usr
/bin
/arch
-k) 2>/dev
/null
|| echo unknown
`
2044 /usr/convex/getsysinfo = `(/usr
/convex
/getsysinfo
) 2>/dev
/null
|| echo unknown
`
2045 /usr/bin/hostinfo = `(/usr
/bin
/hostinfo
) 2>/dev
/null
|| echo unknown
`
2046 /bin/machine = `(/bin
/machine
) 2>/dev
/null
|| echo unknown
`
2047 /usr/bin/oslevel = `(/usr
/bin
/oslevel
) 2>/dev
/null
|| echo unknown
`
2048 /bin/universe = `(/bin
/universe
) 2>/dev
/null
|| echo unknown
`
2052 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2056 test -z "$as_dir" && as_dir=.
2057 echo "PATH: $as_dir"
2073 # Keep a trace of the command line.
2074 # Strip out --no-create and --no-recursion so they do not pile up.
2075 # Strip out --silent because we don't want to record it for future runs.
2076 # Also quote any args containing shell meta-characters.
2077 # Make two passes to allow for proper duplicate-argument suppression.
2081 ac_must_keep_next=false
2087 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2088 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2089 | -silent | --silent | --silen | --sile | --sil)
2092 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2095 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
2097 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
2098 if test $ac_must_keep_next = true; then
2099 ac_must_keep_next=false # Got value, back to normal.
2102 *=* | --config-cache | -C | -disable-* | --disable-* \
2103 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2104 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2105 | -with-* | --with-* | -without-* | --without-* | --x)
2106 case "$ac_configure_args0 " in
2107 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2110 -* ) ac_must_keep_next=true ;;
2113 ac_configure_args="$ac_configure_args '$ac_arg'"
2118 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
2119 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
2121 # When interrupted or exit'd, cleanup temporary files, and complete
2122 # config.log. We remove comments because anyway the quotes in there
2123 # would cause problems or look ugly.
2124 # WARNING: Use '\'' to represent an apostrophe within the trap.
2125 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2126 trap 'exit_status=$?
2127 # Save into config.log some information that might help in debugging.
2132 ## ---------------- ##
2133 ## Cache variables. ##
2134 ## ---------------- ##
2137 # The following way of writing the cache mishandles newlines in values,
2139 for ac_var in `(set) 2>&1 | sed -n '\''s
/^\
([a
-zA-Z_][a
-zA-Z0-9_]*\
)=.
*/\
1/p
'\''`; do
2140 eval ac_val=\$$ac_var
2144 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
2145 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
2148 _ | IFS | as_nl) ;; #(
2149 *) $as_unset $ac_var ;;
2154 case $as_nl`(ac_space
='\'' '\''; set) 2>&1` in #(
2155 *${as_nl}ac_space=\ *)
2157 "s/'\''/'\''\\\\'\'''\''/g;
2158 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2161 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2169 ## ----------------- ##
2170 ## Output variables. ##
2171 ## ----------------- ##
2174 for ac_var in $ac_subst_vars
2176 eval ac_val=\$$ac_var
2178 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2180 echo "$ac_var='\''$ac_val'\''"
2184 if test -n "$ac_subst_files"; then
2186 ## ------------------- ##
2187 ## File substitutions. ##
2188 ## ------------------- ##
2191 for ac_var in $ac_subst_files
2193 eval ac_val=\$$ac_var
2195 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2197 echo "$ac_var='\''$ac_val'\''"
2202 if test -s confdefs.h; then
2212 test "$ac_signal" != 0 &&
2213 echo "$as_me: caught signal $ac_signal"
2214 echo "$as_me: exit $exit_status"
2216 rm -f core *.core core.conftest.* &&
2217 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2220 for ac_signal in 1 2 13 15; do
2221 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
2225 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2226 rm -f -r conftest* confdefs.h
2228 # Predefined preprocessor variables.
2230 cat >>confdefs.h <<_ACEOF
2231 #define PACKAGE_NAME "$PACKAGE_NAME"
2235 cat >>confdefs.h <<_ACEOF
2236 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2240 cat >>confdefs.h <<_ACEOF
2241 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2245 cat >>confdefs.h <<_ACEOF
2246 #define PACKAGE_STRING "$PACKAGE_STRING"
2250 cat >>confdefs.h <<_ACEOF
2251 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2255 # Let the site file select an alternate cache file if it wants to.
2256 # Prefer explicitly selected file to automatically selected ones.
2257 if test -n "$CONFIG_SITE"; then
2258 set x "$CONFIG_SITE"
2259 elif test "x$prefix" != xNONE; then
2260 set x "$prefix/share/config.site" "$prefix/etc/config.site"
2262 set x "$ac_default_prefix/share/config.site" \
2263 "$ac_default_prefix/etc/config.site"
2268 if test -r "$ac_site_file"; then
2269 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
2270 echo "$as_me: loading site script $ac_site_file" >&6;}
2271 sed 's/^/| /' "$ac_site_file" >&5
2276 if test -r "$cache_file"; then
2277 # Some versions of bash will fail to source /dev/null (special
2278 # files actually), so we avoid doing that.
2279 if test -f "$cache_file"; then
2280 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
2281 echo "$as_me: loading cache $cache_file" >&6;}
2283 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2284 *) . "./$cache_file";;
2288 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
2289 echo "$as_me: creating cache $cache_file" >&6;}
2293 # Check that the precious variables saved in the cache have kept the same
2295 ac_cache_corrupted=false
2296 for ac_var in $ac_precious_vars; do
2297 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2298 eval ac_new_set=\$ac_env_${ac_var}_set
2299 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2300 eval ac_new_val=\$ac_env_${ac_var}_value
2301 case $ac_old_set,$ac_new_set in
2303 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run
" >&5
2304 echo "$as_me: error
: \
`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2305 ac_cache_corrupted=: ;;
2307 { echo "$as_me:$LINENO: error: \`$ac_var' was not
set in the previous run
" >&5
2308 echo "$as_me: error
: \
`$ac_var' was not set in the previous run" >&2;}
2309 ac_cache_corrupted=: ;;
2312 if test "x$ac_old_val" != "x$ac_new_val"; then
2313 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
2314 echo "$as_me: error: \`$ac_var' has changed since the previous run
:" >&2;}
2315 { echo "$as_me:$LINENO: former value
: $ac_old_val" >&5
2316 echo "$as_me: former value
: $ac_old_val" >&2;}
2317 { echo "$as_me:$LINENO: current value
: $ac_new_val" >&5
2318 echo "$as_me: current value
: $ac_new_val" >&2;}
2319 ac_cache_corrupted=:
2322 # Pass precious variables to config.status.
2323 if test "$ac_new_set" = set; then
2325 *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s
/'/'\\\\\\\\''/g
"` ;;
2326 *) ac_arg=$ac_var=$ac_new_val ;;
2328 case " $ac_configure_args " in
2329 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2330 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
2334 if $ac_cache_corrupted; then
2335 { echo "$as_me:$LINENO: error
: changes
in the environment can compromise the build
" >&5
2336 echo "$as_me: error
: changes
in the environment can compromise the build
" >&2;}
2337 { { echo "$as_me:$LINENO: error
: run \
`make distclean' and/or \`rm $cache_file' and start over" >&5
2338 echo "$as_me: error: run \`make distclean' and
/or \
`rm $cache_file' and start over" >&2;}
2339 { (exit 1); exit 1; }; }
2367 ac_cpp='$CPP $CPPFLAGS'
2368 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2369 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2370 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2377 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2378 if test -f "$ac_dir/install-sh"; then
2380 ac_install_sh="$ac_aux_dir/install-sh -c"
2382 elif test -f "$ac_dir/install.sh"; then
2384 ac_install_sh="$ac_aux_dir/install.sh -c"
2386 elif test -f "$ac_dir/shtool"; then
2388 ac_install_sh="$ac_aux_dir/shtool install -c"
2392 if test -z "$ac_aux_dir"; then
2393 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
2394 echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
2395 { (exit 1); exit 1; }; }
2398 # These three variables are undocumented and unsupported,
2399 # and are intended to be withdrawn in a future Autoconf release.
2400 # They can cause serious problems if a builder's source tree is in a directory
2401 # whose full name contains unusual characters.
2402 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2403 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2404 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2407 # Make sure we can run config.sub.
2408 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2409 { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
2410 echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
2411 { (exit 1); exit 1; }; }
2413 { echo "$as_me:$LINENO: checking build system type" >&5
2414 echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
2415 if test "${ac_cv_build+set}" = set; then
2416 echo $ECHO_N "(cached) $ECHO_C" >&6
2418 ac_build_alias=$build_alias
2419 test "x$ac_build_alias" = x &&
2420 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2421 test "x$ac_build_alias" = x &&
2422 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
2423 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
2424 { (exit 1); exit 1; }; }
2425 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2426 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
2427 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
2428 { (exit 1); exit 1; }; }
2431 { echo "$as_me:$LINENO: result: $ac_cv_build" >&5
2432 echo "${ECHO_T}$ac_cv_build" >&6; }
2433 case $ac_cv_build in
2435 *) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
2436 echo "$as_me: error: invalid value of canonical build" >&2;}
2437 { (exit 1); exit 1; }; };;
2440 ac_save_IFS=$IFS; IFS='-'
2446 # Remember, the first character of IFS is used to create $*,
2447 # except with old shells:
2450 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
2453 { echo "$as_me:$LINENO: checking host system type" >&5
2454 echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
2455 if test "${ac_cv_host+set}" = set; then
2456 echo $ECHO_N "(cached) $ECHO_C" >&6
2458 if test "x$host_alias" = x; then
2459 ac_cv_host=$ac_cv_build
2461 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2462 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
2463 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
2464 { (exit 1); exit 1; }; }
2468 { echo "$as_me:$LINENO: result: $ac_cv_host" >&5
2469 echo "${ECHO_T}$ac_cv_host" >&6; }
2472 *) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
2473 echo "$as_me: error: invalid value of canonical host" >&2;}
2474 { (exit 1); exit 1; }; };;
2477 ac_save_IFS=$IFS; IFS='-'
2483 # Remember, the first character of IFS is used to create $*,
2484 # except with old shells:
2487 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
2490 { echo "$as_me:$LINENO: checking target system type" >&5
2491 echo $ECHO_N "checking target system type... $ECHO_C" >&6; }
2492 if test "${ac_cv_target+set}" = set; then
2493 echo $ECHO_N "(cached) $ECHO_C" >&6
2495 if test "x$target_alias" = x; then
2496 ac_cv_target=$ac_cv_host
2498 ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
2499 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&5
2500 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&2;}
2501 { (exit 1); exit 1; }; }
2505 { echo "$as_me:$LINENO: result: $ac_cv_target" >&5
2506 echo "${ECHO_T}$ac_cv_target" >&6; }
2507 case $ac_cv_target in
2509 *) { { echo "$as_me:$LINENO: error: invalid value of canonical target" >&5
2510 echo "$as_me: error: invalid value of canonical target" >&2;}
2511 { (exit 1); exit 1; }; };;
2513 target=$ac_cv_target
2514 ac_save_IFS=$IFS; IFS='-'
2520 # Remember, the first character of IFS is used to create $*,
2521 # except with old shells:
2524 case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac
2527 # The aliases save the names the user supplied, while $host etc.
2528 # will get canonicalized.
2529 test -n "$target_alias" &&
2530 test "$program_prefix$program_suffix$program_transform_name" = \
2532 program_prefix=${target_alias}-
2536 wx_major_version_number=2
2537 wx_minor_version_number=9
2539 wx_subrelease_number=0
2541 WX_RELEASE=$wx_major_version_number.$wx_minor_version_number
2542 WX_VERSION=$WX_RELEASE.$wx_release_number
2543 WX_SUBVERSION=$WX_VERSION.$wx_subrelease_number
2545 WX_MSW_VERSION=$wx_major_version_number$wx_minor_version_number$wx_release_number
2548 wx_top_builddir="`pwd`"
2561 USE_BSD= USE_DARWIN= USE_FREEBSD=
2567 USE_SOLARIS= USE_SUN= USE_SUNOS= USE_SVR4= USE_SYSV= USE_VMS=
2573 NEEDS_D_REENTRANT_FOR_R_FUNCS=0
2575 ALL_TOOLKITS="COCOA GTK MAC MGL MICROWIN MOTIF MSW PM X11 DFB"
2577 DEFAULT_wxUSE_COCOA=0
2581 DEFAULT_wxUSE_MICROWIN=0
2582 DEFAULT_wxUSE_MOTIF=0
2588 DEFAULT_DEFAULT_wxUSE_COCOA=0
2589 DEFAULT_DEFAULT_wxUSE_GTK=0
2590 DEFAULT_DEFAULT_wxUSE_MAC=0
2591 DEFAULT_DEFAULT_wxUSE_MGL=0
2592 DEFAULT_DEFAULT_wxUSE_MICROWIN=0
2593 DEFAULT_DEFAULT_wxUSE_MOTIF=0
2594 DEFAULT_DEFAULT_wxUSE_MSW=0
2595 DEFAULT_DEFAULT_wxUSE_PM=0
2596 DEFAULT_DEFAULT_wxUSE_X11=0
2597 DEFAULT_DEFAULT_wxUSE_DFB=0
2602 SAMPLES_RPATH_POSTLINK=
2604 DEFAULT_STD_FLAG=yes
2609 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2610 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
2612 cat >>confdefs.h <<\_ACEOF
2617 CPPFLAGS="-D_HPUX_SOURCE $CPPFLAGS"
2621 cat >>confdefs.h <<\_ACEOF
2626 if test "x$TMP" = "xalpha"; then
2628 cat >>confdefs.h <<\_ACEOF
2633 DEFAULT_DEFAULT_wxUSE_GTK=1
2635 *-*-gnu* | *-*-k*bsd*-gnu )
2638 if test "x$TMP" = "xalpha"; then
2640 cat >>confdefs.h <<\_ACEOF
2645 DEFAULT_DEFAULT_wxUSE_GTK=1
2647 *-*-irix5* | *-*-irix6* )
2650 cat >>confdefs.h <<\_ACEOF
2654 cat >>confdefs.h <<\_ACEOF
2658 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2664 cat >>confdefs.h <<\_ACEOF
2668 cat >>confdefs.h <<\_ACEOF
2669 #define __SOLARIS__ 1
2672 cat >>confdefs.h <<\_ACEOF
2676 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2677 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
2683 cat >>confdefs.h <<\_ACEOF
2687 cat >>confdefs.h <<\_ACEOF
2691 cat >>confdefs.h <<\_ACEOF
2695 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2700 cat >>confdefs.h <<\_ACEOF
2701 #define __FREEBSD__ 1
2704 cat >>confdefs.h <<\_ACEOF
2708 DEFAULT_DEFAULT_wxUSE_GTK=1
2710 *-*-openbsd*|*-*-mirbsd*)
2713 cat >>confdefs.h <<\_ACEOF
2714 #define __OPENBSD__ 1
2717 cat >>confdefs.h <<\_ACEOF
2721 DEFAULT_DEFAULT_wxUSE_GTK=1
2726 cat >>confdefs.h <<\_ACEOF
2727 #define __NETBSD__ 1
2730 cat >>confdefs.h <<\_ACEOF
2734 DEFAULT_DEFAULT_wxUSE_GTK=1
2735 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
2737 CPPFLAGS="-D_NETBSD_SOURCE -D_LIBC $CPPFLAGS"
2742 cat >>confdefs.h <<\_ACEOF
2746 cat >>confdefs.h <<\_ACEOF
2750 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2751 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
2756 cat >>confdefs.h <<\_ACEOF
2760 cat >>confdefs.h <<\_ACEOF
2764 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2769 cat >>confdefs.h <<\_ACEOF
2773 cat >>confdefs.h <<\_ACEOF
2777 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2784 cat >>confdefs.h <<\_ACEOF
2788 cat >>confdefs.h <<\_ACEOF
2792 cat >>confdefs.h <<\_ACEOF
2796 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2803 cat >>confdefs.h <<\_ACEOF
2804 #define __UNIXWARE__ 1
2809 *-*-cygwin* | *-*-mingw32* )
2812 DEFAULT_DEFAULT_wxUSE_MSW=1
2818 cat >>confdefs.h <<\_ACEOF
2823 DEFAULT_DEFAULT_wxUSE_MGL=1
2826 *-pc-os2_emx | *-pc-os2-emx )
2827 cat >>confdefs.h <<\_ACEOF
2832 cat >>confdefs.h <<\_ACEOF
2837 DEFAULT_DEFAULT_wxUSE_PM=1
2839 LDFLAGS="$LDFLAGS -Zcrtdll"
2840 ac_executable_extensions=".exe"
2841 export ac_executable_extensions
2845 for ac_dir in $PATH; do
2847 if test -z "$ac_TEMP_PATH"; then
2848 ac_TEMP_PATH="$ac_dir"
2850 ac_TEMP_PATH="$ac_TEMP_PATH/$ac_dir"
2853 export PATH="$ac_TEMP_PATH"
2862 cat >>confdefs.h <<\_ACEOF
2866 cat >>confdefs.h <<\_ACEOF
2867 #define __DARWIN__ 1
2870 cat >>confdefs.h <<\_ACEOF
2871 #define TARGET_CARBON 1
2874 DEFAULT_DEFAULT_wxUSE_MAC=1
2877 powerpc-apple-macos* )
2879 ac_cv_c_bigendian=yes
2881 DEFAULT_DEFAULT_wxUSE_MAC=1
2887 cat >>confdefs.h <<\_ACEOF
2894 { echo "$as_me:$LINENO: WARNING: *** System type ${host} is unknown, assuming generic Unix and continuing nevertheless." >&5
2895 echo "$as_me: WARNING: *** System type ${host} is unknown, assuming generic Unix and continuing nevertheless." >&2;}
2896 { echo "$as_me:$LINENO: WARNING: *** Please report the build results to wx-dev@lists.wxwidgets.org." >&5
2897 echo "$as_me: WARNING: *** Please report the build results to wx-dev@lists.wxwidgets.org." >&2;}
2899 DEFAULT_DEFAULT_wxUSE_X11=1
2900 DEFAULT_wxUSE_SHARED=no
2906 wx_arg_cache_file="configarg.cache"
2907 echo "loading argument cache $wx_arg_cache_file"
2908 rm -f ${wx_arg_cache_file}.tmp
2909 touch ${wx_arg_cache_file}.tmp
2910 touch ${wx_arg_cache_file}
2913 DEFAULT_wxUSE_ALL_FEATURES=yes
2915 DEFAULT_wxUSE_STD_IOSTREAM=$DEFAULT_STD_FLAG
2916 DEFAULT_wxUSE_STD_STRING=$DEFAULT_STD_FLAG
2918 DEFAULT_wxUSE_DMALLOC=no
2919 DEFAULT_wxUSE_LIBGNOMEVFS=no
2920 DEFAULT_wxUSE_LIBHILDON=no
2921 DEFAULT_wxUSE_LIBMSPACK=no
2922 DEFAULT_wxUSE_LIBSDL=no
2923 DEFAULT_wxUSE_ODBC=no
2924 DEFAULT_wxUSE_OPENGL=no
2926 DEFAULT_wxUSE_ACCESSIBILITY=no
2927 DEFAULT_wxUSE_DATAVIEWCTRL=no
2928 DEFAULT_wxUSE_GRAPHICS_CONTEXT=no
2929 DEFAULT_wxUSE_MEDIACTRL=no
2930 DEFAULT_wxUSE_TAB_DIALOG=no
2932 DEFAULT_wxUSE_UNICODE_UTF8=auto
2933 DEFAULT_wxUSE_UNICODE_UTF8_LOCALE=no
2935 DEFAULT_wxUSE_OFFICIAL_BUILD=no
2937 DEFAULT_wxUSE_GTK2=yes
2939 DEFAULT_wxUSE_OBJC_UNIQUIFYING=no
2942 for toolkit in `echo $ALL_TOOLKITS`; do
2943 LINE=`grep "wxUSE_$toolkit=" ${wx_arg_cache_file}`
2944 if test "x$LINE" != "x" ; then
2945 has_toolkit_in_cache=1
2946 eval "DEFAULT_$LINE"
2947 eval "CACHE_$toolkit=1"
2949 LINE=`grep "wx${toolkit}_VERSION=" ${wx_arg_cache_file}`
2950 if test "x$LINE" != "x" ; then
2951 eval "DEFAULT_$LINE"
2960 enablestring=disable
2962 if test -z "$defaultval"; then
2963 if test x"$enablestring" = xdisable; then
2970 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gui" >&5
2971 echo $ECHO_N "checking for --${enablestring:-enable}-gui... $ECHO_C" >&6; }
2973 # Check whether --enable-gui was given.
2974 if test "${enable_gui+set}" = set; then
2975 enableval=$enable_gui;
2976 if test "$enableval" = yes; then
2977 wx_cv_use_gui='wxUSE_GUI=yes'
2979 wx_cv_use_gui='wxUSE_GUI=no'
2984 LINE=`grep "^wxUSE_GUI=" ${wx_arg_cache_file}`
2985 if test "x$LINE" != x ; then
2986 eval "DEFAULT_$LINE"
2991 wx_cv_use_gui='wxUSE_GUI=${'DEFAULT_wxUSE_GUI":-$defaultval}"
2996 eval "$wx_cv_use_gui"
2997 if test "$no_cache" != 1; then
2998 echo $wx_cv_use_gui >> ${wx_arg_cache_file}.tmp
3001 if test x"$enablestring" = xdisable; then
3002 if test $wxUSE_GUI = yes; then
3011 { echo "$as_me:$LINENO: result: $result" >&5
3012 echo "${ECHO_T}$result" >&6; }
3017 if test -z "$defaultval"; then
3018 if test x"$enablestring" = xdisable; then
3025 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-monolithic" >&5
3026 echo $ECHO_N "checking for --${enablestring:-enable}-monolithic... $ECHO_C" >&6; }
3028 # Check whether --enable-monolithic was given.
3029 if test "${enable_monolithic+set}" = set; then
3030 enableval=$enable_monolithic;
3031 if test "$enableval" = yes; then
3032 wx_cv_use_monolithic='wxUSE_MONOLITHIC=yes'
3034 wx_cv_use_monolithic='wxUSE_MONOLITHIC=no'
3039 LINE=`grep "^wxUSE_MONOLITHIC=" ${wx_arg_cache_file}`
3040 if test "x$LINE" != x ; then
3041 eval "DEFAULT_$LINE"
3046 wx_cv_use_monolithic='wxUSE_MONOLITHIC=${'DEFAULT_wxUSE_MONOLITHIC":-$defaultval}"
3051 eval "$wx_cv_use_monolithic"
3052 if test "$no_cache" != 1; then
3053 echo $wx_cv_use_monolithic >> ${wx_arg_cache_file}.tmp
3056 if test x"$enablestring" = xdisable; then
3057 if test $wxUSE_MONOLITHIC = yes; then
3063 result=$wxUSE_MONOLITHIC
3066 { echo "$as_me:$LINENO: result: $result" >&5
3067 echo "${ECHO_T}$result" >&6; }
3072 if test -z "$defaultval"; then
3073 if test x"$enablestring" = xdisable; then
3080 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-plugins" >&5
3081 echo $ECHO_N "checking for --${enablestring:-enable}-plugins... $ECHO_C" >&6; }
3083 # Check whether --enable-plugins was given.
3084 if test "${enable_plugins+set}" = set; then
3085 enableval=$enable_plugins;
3086 if test "$enableval" = yes; then
3087 wx_cv_use_plugins='wxUSE_PLUGINS=yes'
3089 wx_cv_use_plugins='wxUSE_PLUGINS=no'
3094 LINE=`grep "^wxUSE_PLUGINS=" ${wx_arg_cache_file}`
3095 if test "x$LINE" != x ; then
3096 eval "DEFAULT_$LINE"
3101 wx_cv_use_plugins='wxUSE_PLUGINS=${'DEFAULT_wxUSE_PLUGINS":-$defaultval}"
3106 eval "$wx_cv_use_plugins"
3107 if test "$no_cache" != 1; then
3108 echo $wx_cv_use_plugins >> ${wx_arg_cache_file}.tmp
3111 if test x"$enablestring" = xdisable; then
3112 if test $wxUSE_PLUGINS = yes; then
3118 result=$wxUSE_PLUGINS
3121 { echo "$as_me:$LINENO: result: $result" >&5
3122 echo "${ECHO_T}$result" >&6; }
3126 { echo "$as_me:$LINENO: checking for --${withstring:-with}-subdirs" >&5
3127 echo $ECHO_N "checking for --${withstring:-with}-subdirs... $ECHO_C" >&6; }
3130 # Check whether --with-subdirs was given.
3131 if test "${with_subdirs+set}" = set; then
3132 withval=$with_subdirs;
3133 if test "$withval" = yes; then
3134 wx_cv_use_subdirs='wxWITH_SUBDIRS=yes'
3136 wx_cv_use_subdirs='wxWITH_SUBDIRS=no'
3141 LINE=`grep "^wxWITH_SUBDIRS=" ${wx_arg_cache_file}`
3142 if test "x$LINE" != x ; then
3143 eval "DEFAULT_$LINE"
3148 wx_cv_use_subdirs='wxWITH_SUBDIRS=${'DEFAULT_wxWITH_SUBDIRS":-$wxUSE_ALL_FEATURES}"
3153 eval "$wx_cv_use_subdirs"
3154 if test "$no_cache" != 1; then
3155 echo $wx_cv_use_subdirs >> ${wx_arg_cache_file}.tmp
3158 if test x"$withstring" = xwithout; then
3159 if test $wxWITH_SUBDIRS = yes; then
3165 result=$wxWITH_SUBDIRS
3168 { echo "$as_me:$LINENO: result: $result" >&5
3169 echo "${ECHO_T}$result" >&6; }
3172 # Check whether --with-flavour was given.
3173 if test "${with_flavour+set}" = set; then
3174 withval=$with_flavour; WX_FLAVOUR="$withval"
3180 if test -z "$defaultval"; then
3181 if test x"$enablestring" = xdisable; then
3188 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-official_build" >&5
3189 echo $ECHO_N "checking for --${enablestring:-enable}-official_build... $ECHO_C" >&6; }
3191 # Check whether --enable-official_build was given.
3192 if test "${enable_official_build+set}" = set; then
3193 enableval=$enable_official_build;
3194 if test "$enableval" = yes; then
3195 wx_cv_use_official_build='wxUSE_OFFICIAL_BUILD=yes'
3197 wx_cv_use_official_build='wxUSE_OFFICIAL_BUILD=no'
3202 LINE=`grep "^wxUSE_OFFICIAL_BUILD=" ${wx_arg_cache_file}`
3203 if test "x$LINE" != x ; then
3204 eval "DEFAULT_$LINE"
3209 wx_cv_use_official_build='wxUSE_OFFICIAL_BUILD=${'DEFAULT_wxUSE_OFFICIAL_BUILD":-$defaultval}"
3214 eval "$wx_cv_use_official_build"
3215 if test "$no_cache" != 1; then
3216 echo $wx_cv_use_official_build >> ${wx_arg_cache_file}.tmp
3219 if test x"$enablestring" = xdisable; then
3220 if test $wxUSE_OFFICIAL_BUILD = yes; then
3226 result=$wxUSE_OFFICIAL_BUILD
3229 { echo "$as_me:$LINENO: result: $result" >&5
3230 echo "${ECHO_T}$result" >&6; }
3232 # Check whether --enable-vendor was given.
3233 if test "${enable_vendor+set}" = set; then
3234 enableval=$enable_vendor; VENDOR="$enableval"
3237 if test "x$VENDOR" = "x"; then
3242 enablestring=disable
3244 if test -z "$defaultval"; then
3245 if test x"$enablestring" = xdisable; then
3252 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-all-features" >&5
3253 echo $ECHO_N "checking for --${enablestring:-enable}-all-features... $ECHO_C" >&6; }
3255 # Check whether --enable-all-features was given.
3256 if test "${enable_all_features+set}" = set; then
3257 enableval=$enable_all_features;
3258 if test "$enableval" = yes; then
3259 wx_cv_use_all_features='wxUSE_ALL_FEATURES=yes'
3261 wx_cv_use_all_features='wxUSE_ALL_FEATURES=no'
3266 LINE=`grep "^wxUSE_ALL_FEATURES=" ${wx_arg_cache_file}`
3267 if test "x$LINE" != x ; then
3268 eval "DEFAULT_$LINE"
3273 wx_cv_use_all_features='wxUSE_ALL_FEATURES=${'DEFAULT_wxUSE_ALL_FEATURES":-$defaultval}"
3278 eval "$wx_cv_use_all_features"
3279 if test "$no_cache" != 1; then
3280 echo $wx_cv_use_all_features >> ${wx_arg_cache_file}.tmp
3283 if test x"$enablestring" = xdisable; then
3284 if test $wxUSE_ALL_FEATURES = yes; then
3290 result=$wxUSE_ALL_FEATURES
3293 { echo "$as_me:$LINENO: result: $result" >&5
3294 echo "${ECHO_T}$result" >&6; }
3298 if test "$wxUSE_GUI" = "yes"; then
3303 if test -z "$defaultval"; then
3304 if test x"$enablestring" = xdisable; then
3311 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-universal" >&5
3312 echo $ECHO_N "checking for --${enablestring:-enable}-universal... $ECHO_C" >&6; }
3314 # Check whether --enable-universal was given.
3315 if test "${enable_universal+set}" = set; then
3316 enableval=$enable_universal;
3317 if test "$enableval" = yes; then
3318 wx_cv_use_universal='wxUSE_UNIVERSAL=yes'
3320 wx_cv_use_universal='wxUSE_UNIVERSAL=no'
3325 LINE=`grep "^wxUSE_UNIVERSAL=" ${wx_arg_cache_file}`
3326 if test "x$LINE" != x ; then
3327 eval "DEFAULT_$LINE"
3332 wx_cv_use_universal='wxUSE_UNIVERSAL=${'DEFAULT_wxUSE_UNIVERSAL":-$defaultval}"
3337 eval "$wx_cv_use_universal"
3338 if test "$no_cache" != 1; then
3339 echo $wx_cv_use_universal >> ${wx_arg_cache_file}.tmp
3342 if test x"$enablestring" = xdisable; then
3343 if test $wxUSE_UNIVERSAL = yes; then
3349 result=$wxUSE_UNIVERSAL
3352 { echo "$as_me:$LINENO: result: $result" >&5
3353 echo "${ECHO_T}$result" >&6; }
3355 if test "$wxUSE_UNIVERSAL" = "yes"; then
3357 # Check whether --with-themes was given.
3358 if test "${with_themes+set}" = set; then
3359 withval=$with_themes; wxUNIV_THEMES="$withval"
3365 # Check whether --with-gtk was given.
3366 if test "${with_gtk+set}" = set; then
3367 withval=$with_gtk; wxUSE_GTK="$withval" CACHE_GTK=1 TOOLKIT_GIVEN=1
3371 # Check whether --with-motif was given.
3372 if test "${with_motif+set}" = set; then
3373 withval=$with_motif; wxUSE_MOTIF="$withval" CACHE_MOTIF=1 TOOLKIT_GIVEN=1
3377 # Check whether --with-mac was given.
3378 if test "${with_mac+set}" = set; then
3379 withval=$with_mac; wxUSE_MAC="$withval" CACHE_MAC=1 TOOLKIT_GIVEN=1
3383 # Check whether --with-cocoa was given.
3384 if test "${with_cocoa+set}" = set; then
3385 withval=$with_cocoa; wxUSE_COCOA="$withval" CACHE_COCOA=1 TOOLKIT_GIVEN=1
3389 # Check whether --with-wine was given.
3390 if test "${with_wine+set}" = set; then
3391 withval=$with_wine; wxUSE_WINE="$withval" CACHE_WINE=1
3395 # Check whether --with-msw was given.
3396 if test "${with_msw+set}" = set; then
3397 withval=$with_msw; wxUSE_MSW="$withval" CACHE_MSW=1 TOOLKIT_GIVEN=1
3401 # Check whether --with-pm was given.
3402 if test "${with_pm+set}" = set; then
3403 withval=$with_pm; wxUSE_PM="$withval" CACHE_PM=1 TOOLKIT_GIVEN=1
3407 # Check whether --with-mgl was given.
3408 if test "${with_mgl+set}" = set; then
3409 withval=$with_mgl; wxUSE_MGL="$withval" wxUSE_UNIVERSAL="yes" CACHE_MGL=1 TOOLKIT_GIVEN=1
3413 # Check whether --with-directfb was given.
3414 if test "${with_directfb+set}" = set; then
3415 withval=$with_directfb; wxUSE_DFB="$withval" wxUSE_UNIVERSAL="yes" CACHE_DFB=1 TOOLKIT_GIVEN=1
3419 # Check whether --with-microwin was given.
3420 if test "${with_microwin+set}" = set; then
3421 withval=$with_microwin; wxUSE_MICROWIN="$withval" CACHE_MICROWIN=1 TOOLKIT_GIVEN=1
3425 # Check whether --with-x11 was given.
3426 if test "${with_x11+set}" = set; then
3427 withval=$with_x11; wxUSE_X11="$withval" wxUSE_UNIVERSAL="yes" CACHE_X11=1 TOOLKIT_GIVEN=1
3433 if test -z "$defaultval"; then
3434 if test x"$enablestring" = xdisable; then
3441 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-nanox" >&5
3442 echo $ECHO_N "checking for --${enablestring:-enable}-nanox... $ECHO_C" >&6; }
3444 # Check whether --enable-nanox was given.
3445 if test "${enable_nanox+set}" = set; then
3446 enableval=$enable_nanox;
3447 if test "$enableval" = yes; then
3448 wx_cv_use_nanox='wxUSE_NANOX=yes'
3450 wx_cv_use_nanox='wxUSE_NANOX=no'
3455 LINE=`grep "^wxUSE_NANOX=" ${wx_arg_cache_file}`
3456 if test "x$LINE" != x ; then
3457 eval "DEFAULT_$LINE"
3462 wx_cv_use_nanox='wxUSE_NANOX=${'DEFAULT_wxUSE_NANOX":-$defaultval}"
3467 eval "$wx_cv_use_nanox"
3468 if test "$no_cache" != 1; then
3469 echo $wx_cv_use_nanox >> ${wx_arg_cache_file}.tmp
3472 if test x"$enablestring" = xdisable; then
3473 if test $wxUSE_NANOX = yes; then
3482 { echo "$as_me:$LINENO: result: $result" >&5
3483 echo "${ECHO_T}$result" >&6; }
3486 # Check whether --enable-gtk2 was given.
3487 if test "${enable_gtk2+set}" = set; then
3488 enableval=$enable_gtk2; wxUSE_GTK2="$enableval"
3494 if test -z "$defaultval"; then
3495 if test x"$enablestring" = xdisable; then
3502 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gpe" >&5
3503 echo $ECHO_N "checking for --${enablestring:-enable}-gpe... $ECHO_C" >&6; }
3505 # Check whether --enable-gpe was given.
3506 if test "${enable_gpe+set}" = set; then
3507 enableval=$enable_gpe;
3508 if test "$enableval" = yes; then
3509 wx_cv_use_gpe='wxUSE_GPE=yes'
3511 wx_cv_use_gpe='wxUSE_GPE=no'
3516 LINE=`grep "^wxUSE_GPE=" ${wx_arg_cache_file}`
3517 if test "x$LINE" != x ; then
3518 eval "DEFAULT_$LINE"
3523 wx_cv_use_gpe='wxUSE_GPE=${'DEFAULT_wxUSE_GPE":-$defaultval}"
3528 eval "$wx_cv_use_gpe"
3529 if test "$no_cache" != 1; then
3530 echo $wx_cv_use_gpe >> ${wx_arg_cache_file}.tmp
3533 if test x"$enablestring" = xdisable; then
3534 if test $wxUSE_GPE = yes; then
3543 { echo "$as_me:$LINENO: result: $result" >&5
3544 echo "${ECHO_T}$result" >&6; }
3549 { echo "$as_me:$LINENO: checking for --with-libpng" >&5
3550 echo $ECHO_N "checking for --with-libpng... $ECHO_C" >&6; }
3553 # Check whether --with-libpng was given.
3554 if test "${with_libpng+set}" = set; then
3555 withval=$with_libpng;
3556 if test "$withval" = yes; then
3557 wx_cv_use_libpng='wxUSE_LIBPNG=yes'
3558 elif test "$withval" = no; then
3559 wx_cv_use_libpng='wxUSE_LIBPNG=no'
3560 elif test "$withval" = sys; then
3561 wx_cv_use_libpng='wxUSE_LIBPNG=sys'
3562 elif test "$withval" = builtin; then
3563 wx_cv_use_libpng='wxUSE_LIBPNG=builtin'
3565 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
3566 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
3567 { (exit 1); exit 1; }; }
3572 LINE=`grep "^wxUSE_LIBPNG=" ${wx_arg_cache_file}`
3573 if test "x$LINE" != x ; then
3574 eval "DEFAULT_$LINE"
3579 wx_cv_use_libpng='wxUSE_LIBPNG=${'DEFAULT_wxUSE_LIBPNG":-$wxUSE_ALL_FEATURES}"
3584 eval "$wx_cv_use_libpng"
3585 if test "$no_cache" != 1; then
3586 echo $wx_cv_use_libpng >> ${wx_arg_cache_file}.tmp
3589 if test "$wxUSE_LIBPNG" = yes; then
3590 { echo "$as_me:$LINENO: result: yes" >&5
3591 echo "${ECHO_T}yes" >&6; }
3592 elif test "$wxUSE_LIBPNG" = no; then
3593 { echo "$as_me:$LINENO: result: no" >&5
3594 echo "${ECHO_T}no" >&6; }
3595 elif test "$wxUSE_LIBPNG" = sys; then
3596 { echo "$as_me:$LINENO: result: system version" >&5
3597 echo "${ECHO_T}system version" >&6; }
3598 elif test "$wxUSE_LIBPNG" = builtin; then
3599 { echo "$as_me:$LINENO: result: builtin version" >&5
3600 echo "${ECHO_T}builtin version" >&6; }
3602 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
3603 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
3604 { (exit 1); exit 1; }; }
3608 { echo "$as_me:$LINENO: checking for --with-libjpeg" >&5
3609 echo $ECHO_N "checking for --with-libjpeg... $ECHO_C" >&6; }
3612 # Check whether --with-libjpeg was given.
3613 if test "${with_libjpeg+set}" = set; then
3614 withval=$with_libjpeg;
3615 if test "$withval" = yes; then
3616 wx_cv_use_libjpeg='wxUSE_LIBJPEG=yes'
3617 elif test "$withval" = no; then
3618 wx_cv_use_libjpeg='wxUSE_LIBJPEG=no'
3619 elif test "$withval" = sys; then
3620 wx_cv_use_libjpeg='wxUSE_LIBJPEG=sys'
3621 elif test "$withval" = builtin; then
3622 wx_cv_use_libjpeg='wxUSE_LIBJPEG=builtin'
3624 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
3625 echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
3626 { (exit 1); exit 1; }; }
3631 LINE=`grep "^wxUSE_LIBJPEG=" ${wx_arg_cache_file}`
3632 if test "x$LINE" != x ; then
3633 eval "DEFAULT_$LINE"
3638 wx_cv_use_libjpeg='wxUSE_LIBJPEG=${'DEFAULT_wxUSE_LIBJPEG":-$wxUSE_ALL_FEATURES}"
3643 eval "$wx_cv_use_libjpeg"
3644 if test "$no_cache" != 1; then
3645 echo $wx_cv_use_libjpeg >> ${wx_arg_cache_file}.tmp
3648 if test "$wxUSE_LIBJPEG" = yes; then
3649 { echo "$as_me:$LINENO: result: yes" >&5
3650 echo "${ECHO_T}yes" >&6; }
3651 elif test "$wxUSE_LIBJPEG" = no; then
3652 { echo "$as_me:$LINENO: result: no" >&5
3653 echo "${ECHO_T}no" >&6; }
3654 elif test "$wxUSE_LIBJPEG" = sys; then
3655 { echo "$as_me:$LINENO: result: system version" >&5
3656 echo "${ECHO_T}system version" >&6; }
3657 elif test "$wxUSE_LIBJPEG" = builtin; then
3658 { echo "$as_me:$LINENO: result: builtin version" >&5
3659 echo "${ECHO_T}builtin version" >&6; }
3661 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
3662 echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
3663 { (exit 1); exit 1; }; }
3667 { echo "$as_me:$LINENO: checking for --with-libtiff" >&5
3668 echo $ECHO_N "checking for --with-libtiff... $ECHO_C" >&6; }
3671 # Check whether --with-libtiff was given.
3672 if test "${with_libtiff+set}" = set; then
3673 withval=$with_libtiff;
3674 if test "$withval" = yes; then
3675 wx_cv_use_libtiff='wxUSE_LIBTIFF=yes'
3676 elif test "$withval" = no; then
3677 wx_cv_use_libtiff='wxUSE_LIBTIFF=no'
3678 elif test "$withval" = sys; then
3679 wx_cv_use_libtiff='wxUSE_LIBTIFF=sys'
3680 elif test "$withval" = builtin; then
3681 wx_cv_use_libtiff='wxUSE_LIBTIFF=builtin'
3683 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
3684 echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
3685 { (exit 1); exit 1; }; }
3690 LINE=`grep "^wxUSE_LIBTIFF=" ${wx_arg_cache_file}`
3691 if test "x$LINE" != x ; then
3692 eval "DEFAULT_$LINE"
3697 wx_cv_use_libtiff='wxUSE_LIBTIFF=${'DEFAULT_wxUSE_LIBTIFF":-$wxUSE_ALL_FEATURES}"
3702 eval "$wx_cv_use_libtiff"
3703 if test "$no_cache" != 1; then
3704 echo $wx_cv_use_libtiff >> ${wx_arg_cache_file}.tmp
3707 if test "$wxUSE_LIBTIFF" = yes; then
3708 { echo "$as_me:$LINENO: result: yes" >&5
3709 echo "${ECHO_T}yes" >&6; }
3710 elif test "$wxUSE_LIBTIFF" = no; then
3711 { echo "$as_me:$LINENO: result: no" >&5
3712 echo "${ECHO_T}no" >&6; }
3713 elif test "$wxUSE_LIBTIFF" = sys; then
3714 { echo "$as_me:$LINENO: result: system version" >&5
3715 echo "${ECHO_T}system version" >&6; }
3716 elif test "$wxUSE_LIBTIFF" = builtin; then
3717 { echo "$as_me:$LINENO: result: builtin version" >&5
3718 echo "${ECHO_T}builtin version" >&6; }
3720 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
3721 echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
3722 { (exit 1); exit 1; }; }
3726 { echo "$as_me:$LINENO: checking for --with-libxpm" >&5
3727 echo $ECHO_N "checking for --with-libxpm... $ECHO_C" >&6; }
3730 # Check whether --with-libxpm was given.
3731 if test "${with_libxpm+set}" = set; then
3732 withval=$with_libxpm;
3733 if test "$withval" = yes; then
3734 wx_cv_use_libxpm='wxUSE_LIBXPM=yes'
3735 elif test "$withval" = no; then
3736 wx_cv_use_libxpm='wxUSE_LIBXPM=no'
3737 elif test "$withval" = sys; then
3738 wx_cv_use_libxpm='wxUSE_LIBXPM=sys'
3739 elif test "$withval" = builtin; then
3740 wx_cv_use_libxpm='wxUSE_LIBXPM=builtin'
3742 { { echo "$as_me:$LINENO: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&5
3743 echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
3744 { (exit 1); exit 1; }; }
3749 LINE=`grep "^wxUSE_LIBXPM=" ${wx_arg_cache_file}`
3750 if test "x$LINE" != x ; then
3751 eval "DEFAULT_$LINE"
3756 wx_cv_use_libxpm='wxUSE_LIBXPM=${'DEFAULT_wxUSE_LIBXPM":-$wxUSE_ALL_FEATURES}"
3761 eval "$wx_cv_use_libxpm"
3762 if test "$no_cache" != 1; then
3763 echo $wx_cv_use_libxpm >> ${wx_arg_cache_file}.tmp
3766 if test "$wxUSE_LIBXPM" = yes; then
3767 { echo "$as_me:$LINENO: result: yes" >&5
3768 echo "${ECHO_T}yes" >&6; }
3769 elif test "$wxUSE_LIBXPM" = no; then
3770 { echo "$as_me:$LINENO: result: no" >&5
3771 echo "${ECHO_T}no" >&6; }
3772 elif test "$wxUSE_LIBXPM" = sys; then
3773 { echo "$as_me:$LINENO: result: system version" >&5
3774 echo "${ECHO_T}system version" >&6; }
3775 elif test "$wxUSE_LIBXPM" = builtin; then
3776 { echo "$as_me:$LINENO: result: builtin version" >&5
3777 echo "${ECHO_T}builtin version" >&6; }
3779 { { echo "$as_me:$LINENO: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&5
3780 echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
3781 { (exit 1); exit 1; }; }
3786 { echo "$as_me:$LINENO: checking for --${withstring:-with}-libmspack" >&5
3787 echo $ECHO_N "checking for --${withstring:-with}-libmspack... $ECHO_C" >&6; }
3790 # Check whether --with-libmspack was given.
3791 if test "${with_libmspack+set}" = set; then
3792 withval=$with_libmspack;
3793 if test "$withval" = yes; then
3794 wx_cv_use_libmspack='wxUSE_LIBMSPACK=yes'
3796 wx_cv_use_libmspack='wxUSE_LIBMSPACK=no'
3801 LINE=`grep "^wxUSE_LIBMSPACK=" ${wx_arg_cache_file}`
3802 if test "x$LINE" != x ; then
3803 eval "DEFAULT_$LINE"
3808 wx_cv_use_libmspack='wxUSE_LIBMSPACK=${'DEFAULT_wxUSE_LIBMSPACK":-$wxUSE_ALL_FEATURES}"
3813 eval "$wx_cv_use_libmspack"
3814 if test "$no_cache" != 1; then
3815 echo $wx_cv_use_libmspack >> ${wx_arg_cache_file}.tmp
3818 if test x"$withstring" = xwithout; then
3819 if test $wxUSE_LIBMSPACK = yes; then
3825 result=$wxUSE_LIBMSPACK
3828 { echo "$as_me:$LINENO: result: $result" >&5
3829 echo "${ECHO_T}$result" >&6; }
3833 { echo "$as_me:$LINENO: checking for --${withstring:-with}-gnomeprint" >&5
3834 echo $ECHO_N "checking for --${withstring:-with}-gnomeprint... $ECHO_C" >&6; }
3837 # Check whether --with-gnomeprint was given.
3838 if test "${with_gnomeprint+set}" = set; then
3839 withval=$with_gnomeprint;
3840 if test "$withval" = yes; then
3841 wx_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT=yes'
3843 wx_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT=no'
3848 LINE=`grep "^wxUSE_LIBGNOMEPRINT=" ${wx_arg_cache_file}`
3849 if test "x$LINE" != x ; then
3850 eval "DEFAULT_$LINE"
3855 wx_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT=${'DEFAULT_wxUSE_LIBGNOMEPRINT":-$wxUSE_ALL_FEATURES}"
3860 eval "$wx_cv_use_gnomeprint"
3861 if test "$no_cache" != 1; then
3862 echo $wx_cv_use_gnomeprint >> ${wx_arg_cache_file}.tmp
3865 if test x"$withstring" = xwithout; then
3866 if test $wxUSE_LIBGNOMEPRINT = yes; then
3872 result=$wxUSE_LIBGNOMEPRINT
3875 { echo "$as_me:$LINENO: result: $result" >&5
3876 echo "${ECHO_T}$result" >&6; }
3880 { echo "$as_me:$LINENO: checking for --${withstring:-with}-gnomevfs" >&5
3881 echo $ECHO_N "checking for --${withstring:-with}-gnomevfs... $ECHO_C" >&6; }
3884 # Check whether --with-gnomevfs was given.
3885 if test "${with_gnomevfs+set}" = set; then
3886 withval=$with_gnomevfs;
3887 if test "$withval" = yes; then
3888 wx_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS=yes'
3890 wx_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS=no'
3895 LINE=`grep "^wxUSE_LIBGNOMEVFS=" ${wx_arg_cache_file}`
3896 if test "x$LINE" != x ; then
3897 eval "DEFAULT_$LINE"
3902 wx_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS=${'DEFAULT_wxUSE_LIBGNOMEVFS":-$wxUSE_ALL_FEATURES}"
3907 eval "$wx_cv_use_gnomevfs"
3908 if test "$no_cache" != 1; then
3909 echo $wx_cv_use_gnomevfs >> ${wx_arg_cache_file}.tmp
3912 if test x"$withstring" = xwithout; then
3913 if test $wxUSE_LIBGNOMEVFS = yes; then
3919 result=$wxUSE_LIBGNOMEVFS
3922 { echo "$as_me:$LINENO: result: $result" >&5
3923 echo "${ECHO_T}$result" >&6; }
3927 { echo "$as_me:$LINENO: checking for --${withstring:-with}-hildon" >&5
3928 echo $ECHO_N "checking for --${withstring:-with}-hildon... $ECHO_C" >&6; }
3931 # Check whether --with-hildon was given.
3932 if test "${with_hildon+set}" = set; then
3933 withval=$with_hildon;
3934 if test "$withval" = yes; then
3935 wx_cv_use_hildon='wxUSE_LIBHILDON=yes'
3937 wx_cv_use_hildon='wxUSE_LIBHILDON=no'
3942 LINE=`grep "^wxUSE_LIBHILDON=" ${wx_arg_cache_file}`
3943 if test "x$LINE" != x ; then
3944 eval "DEFAULT_$LINE"
3949 wx_cv_use_hildon='wxUSE_LIBHILDON=${'DEFAULT_wxUSE_LIBHILDON":-$wxUSE_ALL_FEATURES}"
3954 eval "$wx_cv_use_hildon"
3955 if test "$no_cache" != 1; then
3956 echo $wx_cv_use_hildon >> ${wx_arg_cache_file}.tmp
3959 if test x"$withstring" = xwithout; then
3960 if test $wxUSE_LIBHILDON = yes; then
3966 result=$wxUSE_LIBHILDON
3969 { echo "$as_me:$LINENO: result: $result" >&5
3970 echo "${ECHO_T}$result" >&6; }
3974 { echo "$as_me:$LINENO: checking for --${withstring:-with}-opengl" >&5
3975 echo $ECHO_N "checking for --${withstring:-with}-opengl... $ECHO_C" >&6; }
3978 # Check whether --with-opengl was given.
3979 if test "${with_opengl+set}" = set; then
3980 withval=$with_opengl;
3981 if test "$withval" = yes; then
3982 wx_cv_use_opengl='wxUSE_OPENGL=yes'
3984 wx_cv_use_opengl='wxUSE_OPENGL=no'
3989 LINE=`grep "^wxUSE_OPENGL=" ${wx_arg_cache_file}`
3990 if test "x$LINE" != x ; then
3991 eval "DEFAULT_$LINE"
3996 wx_cv_use_opengl='wxUSE_OPENGL=${'DEFAULT_wxUSE_OPENGL":-$wxUSE_ALL_FEATURES}"
4001 eval "$wx_cv_use_opengl"
4002 if test "$no_cache" != 1; then
4003 echo $wx_cv_use_opengl >> ${wx_arg_cache_file}.tmp
4006 if test x"$withstring" = xwithout; then
4007 if test $wxUSE_OPENGL = yes; then
4013 result=$wxUSE_OPENGL
4016 { echo "$as_me:$LINENO: result: $result" >&5
4017 echo "${ECHO_T}$result" >&6; }
4024 { echo "$as_me:$LINENO: checking for --${withstring:-with}-dmalloc" >&5
4025 echo $ECHO_N "checking for --${withstring:-with}-dmalloc... $ECHO_C" >&6; }
4028 # Check whether --with-dmalloc was given.
4029 if test "${with_dmalloc+set}" = set; then
4030 withval=$with_dmalloc;
4031 if test "$withval" = yes; then
4032 wx_cv_use_dmalloc='wxUSE_DMALLOC=yes'
4034 wx_cv_use_dmalloc='wxUSE_DMALLOC=no'
4039 LINE=`grep "^wxUSE_DMALLOC=" ${wx_arg_cache_file}`
4040 if test "x$LINE" != x ; then
4041 eval "DEFAULT_$LINE"
4046 wx_cv_use_dmalloc='wxUSE_DMALLOC=${'DEFAULT_wxUSE_DMALLOC":-$wxUSE_ALL_FEATURES}"
4051 eval "$wx_cv_use_dmalloc"
4052 if test "$no_cache" != 1; then
4053 echo $wx_cv_use_dmalloc >> ${wx_arg_cache_file}.tmp
4056 if test x"$withstring" = xwithout; then
4057 if test $wxUSE_DMALLOC = yes; then
4063 result=$wxUSE_DMALLOC
4066 { echo "$as_me:$LINENO: result: $result" >&5
4067 echo "${ECHO_T}$result" >&6; }
4071 { echo "$as_me:$LINENO: checking for --${withstring:-with}-sdl" >&5
4072 echo $ECHO_N "checking for --${withstring:-with}-sdl... $ECHO_C" >&6; }
4075 # Check whether --with-sdl was given.
4076 if test "${with_sdl+set}" = set; then
4078 if test "$withval" = yes; then
4079 wx_cv_use_sdl='wxUSE_LIBSDL=yes'
4081 wx_cv_use_sdl='wxUSE_LIBSDL=no'
4086 LINE=`grep "^wxUSE_LIBSDL=" ${wx_arg_cache_file}`
4087 if test "x$LINE" != x ; then
4088 eval "DEFAULT_$LINE"
4093 wx_cv_use_sdl='wxUSE_LIBSDL=${'DEFAULT_wxUSE_LIBSDL":-$wxUSE_ALL_FEATURES}"
4098 eval "$wx_cv_use_sdl"
4099 if test "$no_cache" != 1; then
4100 echo $wx_cv_use_sdl >> ${wx_arg_cache_file}.tmp
4103 if test x"$withstring" = xwithout; then
4104 if test $wxUSE_LIBSDL = yes; then
4110 result=$wxUSE_LIBSDL
4113 { echo "$as_me:$LINENO: result: $result" >&5
4114 echo "${ECHO_T}$result" >&6; }
4117 { echo "$as_me:$LINENO: checking for --with-regex" >&5
4118 echo $ECHO_N "checking for --with-regex... $ECHO_C" >&6; }
4121 # Check whether --with-regex was given.
4122 if test "${with_regex+set}" = set; then
4123 withval=$with_regex;
4124 if test "$withval" = yes; then
4125 wx_cv_use_regex='wxUSE_REGEX=yes'
4126 elif test "$withval" = no; then
4127 wx_cv_use_regex='wxUSE_REGEX=no'
4128 elif test "$withval" = sys; then
4129 wx_cv_use_regex='wxUSE_REGEX=sys'
4130 elif test "$withval" = builtin; then
4131 wx_cv_use_regex='wxUSE_REGEX=builtin'
4133 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
4134 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
4135 { (exit 1); exit 1; }; }
4140 LINE=`grep "^wxUSE_REGEX=" ${wx_arg_cache_file}`
4141 if test "x$LINE" != x ; then
4142 eval "DEFAULT_$LINE"
4147 wx_cv_use_regex='wxUSE_REGEX=${'DEFAULT_wxUSE_REGEX":-$wxUSE_ALL_FEATURES}"
4152 eval "$wx_cv_use_regex"
4153 if test "$no_cache" != 1; then
4154 echo $wx_cv_use_regex >> ${wx_arg_cache_file}.tmp
4157 if test "$wxUSE_REGEX" = yes; then
4158 { echo "$as_me:$LINENO: result: yes" >&5
4159 echo "${ECHO_T}yes" >&6; }
4160 elif test "$wxUSE_REGEX" = no; then
4161 { echo "$as_me:$LINENO: result: no" >&5
4162 echo "${ECHO_T}no" >&6; }
4163 elif test "$wxUSE_REGEX" = sys; then
4164 { echo "$as_me:$LINENO: result: system version" >&5
4165 echo "${ECHO_T}system version" >&6; }
4166 elif test "$wxUSE_REGEX" = builtin; then
4167 { echo "$as_me:$LINENO: result: builtin version" >&5
4168 echo "${ECHO_T}builtin version" >&6; }
4170 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
4171 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
4172 { (exit 1); exit 1; }; }
4176 { echo "$as_me:$LINENO: checking for --with-zlib" >&5
4177 echo $ECHO_N "checking for --with-zlib... $ECHO_C" >&6; }
4180 # Check whether --with-zlib was given.
4181 if test "${with_zlib+set}" = set; then
4183 if test "$withval" = yes; then
4184 wx_cv_use_zlib='wxUSE_ZLIB=yes'
4185 elif test "$withval" = no; then
4186 wx_cv_use_zlib='wxUSE_ZLIB=no'
4187 elif test "$withval" = sys; then
4188 wx_cv_use_zlib='wxUSE_ZLIB=sys'
4189 elif test "$withval" = builtin; then
4190 wx_cv_use_zlib='wxUSE_ZLIB=builtin'
4192 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
4193 echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
4194 { (exit 1); exit 1; }; }
4199 LINE=`grep "^wxUSE_ZLIB=" ${wx_arg_cache_file}`
4200 if test "x$LINE" != x ; then
4201 eval "DEFAULT_$LINE"
4206 wx_cv_use_zlib='wxUSE_ZLIB=${'DEFAULT_wxUSE_ZLIB":-$wxUSE_ALL_FEATURES}"
4211 eval "$wx_cv_use_zlib"
4212 if test "$no_cache" != 1; then
4213 echo $wx_cv_use_zlib >> ${wx_arg_cache_file}.tmp
4216 if test "$wxUSE_ZLIB" = yes; then
4217 { echo "$as_me:$LINENO: result: yes" >&5
4218 echo "${ECHO_T}yes" >&6; }
4219 elif test "$wxUSE_ZLIB" = no; then
4220 { echo "$as_me:$LINENO: result: no" >&5
4221 echo "${ECHO_T}no" >&6; }
4222 elif test "$wxUSE_ZLIB" = sys; then
4223 { echo "$as_me:$LINENO: result: system version" >&5
4224 echo "${ECHO_T}system version" >&6; }
4225 elif test "$wxUSE_ZLIB" = builtin; then
4226 { echo "$as_me:$LINENO: result: builtin version" >&5
4227 echo "${ECHO_T}builtin version" >&6; }
4229 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
4230 echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
4231 { (exit 1); exit 1; }; }
4235 { echo "$as_me:$LINENO: checking for --with-odbc" >&5
4236 echo $ECHO_N "checking for --with-odbc... $ECHO_C" >&6; }
4239 # Check whether --with-odbc was given.
4240 if test "${with_odbc+set}" = set; then
4242 if test "$withval" = yes; then
4243 wx_cv_use_odbc='wxUSE_ODBC=yes'
4244 elif test "$withval" = no; then
4245 wx_cv_use_odbc='wxUSE_ODBC=no'
4246 elif test "$withval" = sys; then
4247 wx_cv_use_odbc='wxUSE_ODBC=sys'
4248 elif test "$withval" = builtin; then
4249 wx_cv_use_odbc='wxUSE_ODBC=builtin'
4251 { { echo "$as_me:$LINENO: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&5
4252 echo "$as_me: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&2;}
4253 { (exit 1); exit 1; }; }
4258 LINE=`grep "^wxUSE_ODBC=" ${wx_arg_cache_file}`
4259 if test "x$LINE" != x ; then
4260 eval "DEFAULT_$LINE"
4265 wx_cv_use_odbc='wxUSE_ODBC=${'DEFAULT_wxUSE_ODBC":-$wxUSE_ALL_FEATURES}"
4270 eval "$wx_cv_use_odbc"
4271 if test "$no_cache" != 1; then
4272 echo $wx_cv_use_odbc >> ${wx_arg_cache_file}.tmp
4275 if test "$wxUSE_ODBC" = yes; then
4276 { echo "$as_me:$LINENO: result: yes" >&5
4277 echo "${ECHO_T}yes" >&6; }
4278 elif test "$wxUSE_ODBC" = no; then
4279 { echo "$as_me:$LINENO: result: no" >&5
4280 echo "${ECHO_T}no" >&6; }
4281 elif test "$wxUSE_ODBC" = sys; then
4282 { echo "$as_me:$LINENO: result: system version" >&5
4283 echo "${ECHO_T}system version" >&6; }
4284 elif test "$wxUSE_ODBC" = builtin; then
4285 { echo "$as_me:$LINENO: result: builtin version" >&5
4286 echo "${ECHO_T}builtin version" >&6; }
4288 { { echo "$as_me:$LINENO: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&5
4289 echo "$as_me: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&2;}
4290 { (exit 1); exit 1; }; }
4294 { echo "$as_me:$LINENO: checking for --with-expat" >&5
4295 echo $ECHO_N "checking for --with-expat... $ECHO_C" >&6; }
4298 # Check whether --with-expat was given.
4299 if test "${with_expat+set}" = set; then
4300 withval=$with_expat;
4301 if test "$withval" = yes; then
4302 wx_cv_use_expat='wxUSE_EXPAT=yes'
4303 elif test "$withval" = no; then
4304 wx_cv_use_expat='wxUSE_EXPAT=no'
4305 elif test "$withval" = sys; then
4306 wx_cv_use_expat='wxUSE_EXPAT=sys'
4307 elif test "$withval" = builtin; then
4308 wx_cv_use_expat='wxUSE_EXPAT=builtin'
4310 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
4311 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
4312 { (exit 1); exit 1; }; }
4317 LINE=`grep "^wxUSE_EXPAT=" ${wx_arg_cache_file}`
4318 if test "x$LINE" != x ; then
4319 eval "DEFAULT_$LINE"
4324 wx_cv_use_expat='wxUSE_EXPAT=${'DEFAULT_wxUSE_EXPAT":-$wxUSE_ALL_FEATURES}"
4329 eval "$wx_cv_use_expat"
4330 if test "$no_cache" != 1; then
4331 echo $wx_cv_use_expat >> ${wx_arg_cache_file}.tmp
4334 if test "$wxUSE_EXPAT" = yes; then
4335 { echo "$as_me:$LINENO: result: yes" >&5
4336 echo "${ECHO_T}yes" >&6; }
4337 elif test "$wxUSE_EXPAT" = no; then
4338 { echo "$as_me:$LINENO: result: no" >&5
4339 echo "${ECHO_T}no" >&6; }
4340 elif test "$wxUSE_EXPAT" = sys; then
4341 { echo "$as_me:$LINENO: result: system version" >&5
4342 echo "${ECHO_T}system version" >&6; }
4343 elif test "$wxUSE_EXPAT" = builtin; then
4344 { echo "$as_me:$LINENO: result: builtin version" >&5
4345 echo "${ECHO_T}builtin version" >&6; }
4347 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
4348 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
4349 { (exit 1); exit 1; }; }
4355 enablestring=disable
4357 if test -z "$defaultval"; then
4358 if test x"$enablestring" = xdisable; then
4365 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-shared" >&5
4366 echo $ECHO_N "checking for --${enablestring:-enable}-shared... $ECHO_C" >&6; }
4368 # Check whether --enable-shared was given.
4369 if test "${enable_shared+set}" = set; then
4370 enableval=$enable_shared;
4371 if test "$enableval" = yes; then
4372 wx_cv_use_shared='wxUSE_SHARED=yes'
4374 wx_cv_use_shared='wxUSE_SHARED=no'
4379 LINE=`grep "^wxUSE_SHARED=" ${wx_arg_cache_file}`
4380 if test "x$LINE" != x ; then
4381 eval "DEFAULT_$LINE"
4386 wx_cv_use_shared='wxUSE_SHARED=${'DEFAULT_wxUSE_SHARED":-$defaultval}"
4391 eval "$wx_cv_use_shared"
4392 if test "$no_cache" != 1; then
4393 echo $wx_cv_use_shared >> ${wx_arg_cache_file}.tmp
4396 if test x"$enablestring" = xdisable; then
4397 if test $wxUSE_SHARED = yes; then
4403 result=$wxUSE_SHARED
4406 { echo "$as_me:$LINENO: result: $result" >&5
4407 echo "${ECHO_T}$result" >&6; }
4410 enablestring=disable
4412 if test -z "$defaultval"; then
4413 if test x"$enablestring" = xdisable; then
4420 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-optimise" >&5
4421 echo $ECHO_N "checking for --${enablestring:-enable}-optimise... $ECHO_C" >&6; }
4423 # Check whether --enable-optimise was given.
4424 if test "${enable_optimise+set}" = set; then
4425 enableval=$enable_optimise;
4426 if test "$enableval" = yes; then
4427 wx_cv_use_optimise='wxUSE_OPTIMISE=yes'
4429 wx_cv_use_optimise='wxUSE_OPTIMISE=no'
4434 LINE=`grep "^wxUSE_OPTIMISE=" ${wx_arg_cache_file}`
4435 if test "x$LINE" != x ; then
4436 eval "DEFAULT_$LINE"
4441 wx_cv_use_optimise='wxUSE_OPTIMISE=${'DEFAULT_wxUSE_OPTIMISE":-$defaultval}"
4446 eval "$wx_cv_use_optimise"
4447 if test "$no_cache" != 1; then
4448 echo $wx_cv_use_optimise >> ${wx_arg_cache_file}.tmp
4451 if test x"$enablestring" = xdisable; then
4452 if test $wxUSE_OPTIMISE = yes; then
4458 result=$wxUSE_OPTIMISE
4461 { echo "$as_me:$LINENO: result: $result" >&5
4462 echo "${ECHO_T}$result" >&6; }
4467 if test -z "$defaultval"; then
4468 if test x"$enablestring" = xdisable; then
4475 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug" >&5
4476 echo $ECHO_N "checking for --${enablestring:-enable}-debug... $ECHO_C" >&6; }
4478 # Check whether --enable-debug was given.
4479 if test "${enable_debug+set}" = set; then
4480 enableval=$enable_debug;
4481 if test "$enableval" = yes; then
4482 wx_cv_use_debug='wxUSE_DEBUG=yes'
4484 wx_cv_use_debug='wxUSE_DEBUG=no'
4489 LINE=`grep "^wxUSE_DEBUG=" ${wx_arg_cache_file}`
4490 if test "x$LINE" != x ; then
4491 eval "DEFAULT_$LINE"
4496 wx_cv_use_debug='wxUSE_DEBUG=${'DEFAULT_wxUSE_DEBUG":-$defaultval}"
4501 eval "$wx_cv_use_debug"
4502 if test "$no_cache" != 1; then
4503 echo $wx_cv_use_debug >> ${wx_arg_cache_file}.tmp
4506 if test x"$enablestring" = xdisable; then
4507 if test $wxUSE_DEBUG = yes; then
4516 { echo "$as_me:$LINENO: result: $result" >&5
4517 echo "${ECHO_T}$result" >&6; }
4522 if test -z "$defaultval"; then
4523 if test x"$enablestring" = xdisable; then
4530 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stl" >&5
4531 echo $ECHO_N "checking for --${enablestring:-enable}-stl... $ECHO_C" >&6; }
4533 # Check whether --enable-stl was given.
4534 if test "${enable_stl+set}" = set; then
4535 enableval=$enable_stl;
4536 if test "$enableval" = yes; then
4537 wx_cv_use_stl='wxUSE_STL=yes'
4539 wx_cv_use_stl='wxUSE_STL=no'
4544 LINE=`grep "^wxUSE_STL=" ${wx_arg_cache_file}`
4545 if test "x$LINE" != x ; then
4546 eval "DEFAULT_$LINE"
4551 wx_cv_use_stl='wxUSE_STL=${'DEFAULT_wxUSE_STL":-$defaultval}"
4556 eval "$wx_cv_use_stl"
4557 if test "$no_cache" != 1; then
4558 echo $wx_cv_use_stl >> ${wx_arg_cache_file}.tmp
4561 if test x"$enablestring" = xdisable; then
4562 if test $wxUSE_STL = yes; then
4571 { echo "$as_me:$LINENO: result: $result" >&5
4572 echo "${ECHO_T}$result" >&6; }
4577 if test -z "$defaultval"; then
4578 if test x"$enablestring" = xdisable; then
4585 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-std_iostreams" >&5
4586 echo $ECHO_N "checking for --${enablestring:-enable}-std_iostreams... $ECHO_C" >&6; }
4588 # Check whether --enable-std_iostreams was given.
4589 if test "${enable_std_iostreams+set}" = set; then
4590 enableval=$enable_std_iostreams;
4591 if test "$enableval" = yes; then
4592 wx_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=yes'
4594 wx_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=no'
4599 LINE=`grep "^wxUSE_STD_IOSTREAM=" ${wx_arg_cache_file}`
4600 if test "x$LINE" != x ; then
4601 eval "DEFAULT_$LINE"
4606 wx_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=${'DEFAULT_wxUSE_STD_IOSTREAM":-$defaultval}"
4611 eval "$wx_cv_use_std_iostreams"
4612 if test "$no_cache" != 1; then
4613 echo $wx_cv_use_std_iostreams >> ${wx_arg_cache_file}.tmp
4616 if test x"$enablestring" = xdisable; then
4617 if test $wxUSE_STD_IOSTREAM = yes; then
4623 result=$wxUSE_STD_IOSTREAM
4626 { echo "$as_me:$LINENO: result: $result" >&5
4627 echo "${ECHO_T}$result" >&6; }
4632 if test -z "$defaultval"; then
4633 if test x"$enablestring" = xdisable; then
4640 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-std_string" >&5
4641 echo $ECHO_N "checking for --${enablestring:-enable}-std_string... $ECHO_C" >&6; }
4643 # Check whether --enable-std_string was given.
4644 if test "${enable_std_string+set}" = set; then
4645 enableval=$enable_std_string;
4646 if test "$enableval" = yes; then
4647 wx_cv_use_std_string='wxUSE_STD_STRING=yes'
4649 wx_cv_use_std_string='wxUSE_STD_STRING=no'
4654 LINE=`grep "^wxUSE_STD_STRING=" ${wx_arg_cache_file}`
4655 if test "x$LINE" != x ; then
4656 eval "DEFAULT_$LINE"
4661 wx_cv_use_std_string='wxUSE_STD_STRING=${'DEFAULT_wxUSE_STD_STRING":-$defaultval}"
4666 eval "$wx_cv_use_std_string"
4667 if test "$no_cache" != 1; then
4668 echo $wx_cv_use_std_string >> ${wx_arg_cache_file}.tmp
4671 if test x"$enablestring" = xdisable; then
4672 if test $wxUSE_STD_STRING = yes; then
4678 result=$wxUSE_STD_STRING
4681 { echo "$as_me:$LINENO: result: $result" >&5
4682 echo "${ECHO_T}$result" >&6; }
4685 enablestring=disable
4687 if test -z "$defaultval"; then
4688 if test x"$enablestring" = xdisable; then
4695 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-unicode" >&5
4696 echo $ECHO_N "checking for --${enablestring:-enable}-unicode... $ECHO_C" >&6; }
4698 # Check whether --enable-unicode was given.
4699 if test "${enable_unicode+set}" = set; then
4700 enableval=$enable_unicode;
4701 if test "$enableval" = yes; then
4702 wx_cv_use_unicode='wxUSE_UNICODE=yes'
4704 wx_cv_use_unicode='wxUSE_UNICODE=no'
4709 LINE=`grep "^wxUSE_UNICODE=" ${wx_arg_cache_file}`
4710 if test "x$LINE" != x ; then
4711 eval "DEFAULT_$LINE"
4716 wx_cv_use_unicode='wxUSE_UNICODE=${'DEFAULT_wxUSE_UNICODE":-$defaultval}"
4721 eval "$wx_cv_use_unicode"
4722 if test "$no_cache" != 1; then
4723 echo $wx_cv_use_unicode >> ${wx_arg_cache_file}.tmp
4726 if test x"$enablestring" = xdisable; then
4727 if test $wxUSE_UNICODE = yes; then
4733 result=$wxUSE_UNICODE
4736 { echo "$as_me:$LINENO: result: $result" >&5
4737 echo "${ECHO_T}$result" >&6; }
4742 if test -z "$defaultval"; then
4743 if test x"$enablestring" = xdisable; then
4750 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mslu" >&5
4751 echo $ECHO_N "checking for --${enablestring:-enable}-mslu... $ECHO_C" >&6; }
4753 # Check whether --enable-mslu was given.
4754 if test "${enable_mslu+set}" = set; then
4755 enableval=$enable_mslu;
4756 if test "$enableval" = yes; then
4757 wx_cv_use_mslu='wxUSE_UNICODE_MSLU=yes'
4759 wx_cv_use_mslu='wxUSE_UNICODE_MSLU=no'
4764 LINE=`grep "^wxUSE_UNICODE_MSLU=" ${wx_arg_cache_file}`
4765 if test "x$LINE" != x ; then
4766 eval "DEFAULT_$LINE"
4771 wx_cv_use_mslu='wxUSE_UNICODE_MSLU=${'DEFAULT_wxUSE_UNICODE_MSLU":-$defaultval}"
4776 eval "$wx_cv_use_mslu"
4777 if test "$no_cache" != 1; then
4778 echo $wx_cv_use_mslu >> ${wx_arg_cache_file}.tmp
4781 if test x"$enablestring" = xdisable; then
4782 if test $wxUSE_UNICODE_MSLU = yes; then
4788 result=$wxUSE_UNICODE_MSLU
4791 { echo "$as_me:$LINENO: result: $result" >&5
4792 echo "${ECHO_T}$result" >&6; }
4796 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-utf8" >&5
4797 echo $ECHO_N "checking for --${enablestring:-enable}-utf8... $ECHO_C" >&6; }
4799 # Check whether --enable-utf8 was given.
4800 if test "${enable_utf8+set}" = set; then
4801 enableval=$enable_utf8;
4802 wx_cv_use_utf8="wxUSE_UNICODE_UTF8='$enableval'"
4806 LINE=`grep "^wxUSE_UNICODE_UTF8=" ${wx_arg_cache_file}`
4807 if test "x$LINE" != x ; then
4808 eval "DEFAULT_$LINE"
4813 wx_cv_use_utf8='wxUSE_UNICODE_UTF8='$DEFAULT_wxUSE_UNICODE_UTF8
4818 eval "$wx_cv_use_utf8"
4819 if test "$no_cache" != 1; then
4820 echo $wx_cv_use_utf8 >> ${wx_arg_cache_file}.tmp
4823 { echo "$as_me:$LINENO: result: $wxUSE_UNICODE_UTF8" >&5
4824 echo "${ECHO_T}$wxUSE_UNICODE_UTF8" >&6; }
4829 if test -z "$defaultval"; then
4830 if test x"$enablestring" = xdisable; then
4837 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-utf8only" >&5
4838 echo $ECHO_N "checking for --${enablestring:-enable}-utf8only... $ECHO_C" >&6; }
4840 # Check whether --enable-utf8only was given.
4841 if test "${enable_utf8only+set}" = set; then
4842 enableval=$enable_utf8only;
4843 if test "$enableval" = yes; then
4844 wx_cv_use_utf8only='wxUSE_UNICODE_UTF8_LOCALE=yes'
4846 wx_cv_use_utf8only='wxUSE_UNICODE_UTF8_LOCALE=no'
4851 LINE=`grep "^wxUSE_UNICODE_UTF8_LOCALE=" ${wx_arg_cache_file}`
4852 if test "x$LINE" != x ; then
4853 eval "DEFAULT_$LINE"
4858 wx_cv_use_utf8only='wxUSE_UNICODE_UTF8_LOCALE=${'DEFAULT_wxUSE_UNICODE_UTF8_LOCALE":-$defaultval}"
4863 eval "$wx_cv_use_utf8only"
4864 if test "$no_cache" != 1; then
4865 echo $wx_cv_use_utf8only >> ${wx_arg_cache_file}.tmp
4868 if test x"$enablestring" = xdisable; then
4869 if test $wxUSE_UNICODE_UTF8_LOCALE = yes; then
4875 result=$wxUSE_UNICODE_UTF8_LOCALE
4878 { echo "$as_me:$LINENO: result: $result" >&5
4879 echo "${ECHO_T}$result" >&6; }
4884 if test -z "$defaultval"; then
4885 if test x"$enablestring" = xdisable; then
4892 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-extended_rtti" >&5
4893 echo $ECHO_N "checking for --${enablestring:-enable}-extended_rtti... $ECHO_C" >&6; }
4895 # Check whether --enable-extended_rtti was given.
4896 if test "${enable_extended_rtti+set}" = set; then
4897 enableval=$enable_extended_rtti;
4898 if test "$enableval" = yes; then
4899 wx_cv_use_extended_rtti='wxUSE_EXTENDED_RTTI=yes'
4901 wx_cv_use_extended_rtti='wxUSE_EXTENDED_RTTI=no'
4906 LINE=`grep "^wxUSE_EXTENDED_RTTI=" ${wx_arg_cache_file}`
4907 if test "x$LINE" != x ; then
4908 eval "DEFAULT_$LINE"
4913 wx_cv_use_extended_rtti='wxUSE_EXTENDED_RTTI=${'DEFAULT_wxUSE_EXTENDED_RTTI":-$defaultval}"
4918 eval "$wx_cv_use_extended_rtti"
4919 if test "$no_cache" != 1; then
4920 echo $wx_cv_use_extended_rtti >> ${wx_arg_cache_file}.tmp
4923 if test x"$enablestring" = xdisable; then
4924 if test $wxUSE_EXTENDED_RTTI = yes; then
4930 result=$wxUSE_EXTENDED_RTTI
4933 { echo "$as_me:$LINENO: result: $result" >&5
4934 echo "${ECHO_T}$result" >&6; }
4936 if test "$USE_OS2" = "1"; then
4937 DEFAULT_wxUSE_OMF=no
4941 if test -z "$defaultval"; then
4942 if test x"$enablestring" = xdisable; then
4949 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-omf" >&5
4950 echo $ECHO_N "checking for --${enablestring:-enable}-omf... $ECHO_C" >&6; }
4952 # Check whether --enable-omf was given.
4953 if test "${enable_omf+set}" = set; then
4954 enableval=$enable_omf;
4955 if test "$enableval" = yes; then
4956 wx_cv_use_omf='wxUSE_OMF=yes'
4958 wx_cv_use_omf='wxUSE_OMF=no'
4963 LINE=`grep "^wxUSE_OMF=" ${wx_arg_cache_file}`
4964 if test "x$LINE" != x ; then
4965 eval "DEFAULT_$LINE"
4970 wx_cv_use_omf='wxUSE_OMF=${'DEFAULT_wxUSE_OMF":-$defaultval}"
4975 eval "$wx_cv_use_omf"
4976 if test "$no_cache" != 1; then
4977 echo $wx_cv_use_omf >> ${wx_arg_cache_file}.tmp
4980 if test x"$enablestring" = xdisable; then
4981 if test $wxUSE_OMF = yes; then
4990 { echo "$as_me:$LINENO: result: $result" >&5
4991 echo "${ECHO_T}$result" >&6; }
4995 if test "$wxUSE_DEBUG" = "yes"; then
4996 DEFAULT_wxUSE_DEBUG_FLAG=yes
4997 DEFAULT_wxUSE_DEBUG_INFO=yes
4999 elif test "$wxUSE_DEBUG" = "no"; then
5000 DEFAULT_wxUSE_DEBUG_FLAG=no
5001 DEFAULT_wxUSE_DEBUG_INFO=no
5008 if test -z "$defaultval"; then
5009 if test x"$enablestring" = xdisable; then
5016 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_flag" >&5
5017 echo $ECHO_N "checking for --${enablestring:-enable}-debug_flag... $ECHO_C" >&6; }
5019 # Check whether --enable-debug_flag was given.
5020 if test "${enable_debug_flag+set}" = set; then
5021 enableval=$enable_debug_flag;
5022 if test "$enableval" = yes; then
5023 wx_cv_use_debug_flag='wxUSE_DEBUG_FLAG=yes'
5025 wx_cv_use_debug_flag='wxUSE_DEBUG_FLAG=no'
5030 LINE=`grep "^wxUSE_DEBUG_FLAG=" ${wx_arg_cache_file}`
5031 if test "x$LINE" != x ; then
5032 eval "DEFAULT_$LINE"
5037 wx_cv_use_debug_flag='wxUSE_DEBUG_FLAG=${'DEFAULT_wxUSE_DEBUG_FLAG":-$defaultval}"
5042 eval "$wx_cv_use_debug_flag"
5043 if test "$no_cache" != 1; then
5044 echo $wx_cv_use_debug_flag >> ${wx_arg_cache_file}.tmp
5047 if test x"$enablestring" = xdisable; then
5048 if test $wxUSE_DEBUG_FLAG = yes; then
5054 result=$wxUSE_DEBUG_FLAG
5057 { echo "$as_me:$LINENO: result: $result" >&5
5058 echo "${ECHO_T}$result" >&6; }
5063 if test -z "$defaultval"; then
5064 if test x"$enablestring" = xdisable; then
5071 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_info" >&5
5072 echo $ECHO_N "checking for --${enablestring:-enable}-debug_info... $ECHO_C" >&6; }
5074 # Check whether --enable-debug_info was given.
5075 if test "${enable_debug_info+set}" = set; then
5076 enableval=$enable_debug_info;
5077 if test "$enableval" = yes; then
5078 wx_cv_use_debug_info='wxUSE_DEBUG_INFO=yes'
5080 wx_cv_use_debug_info='wxUSE_DEBUG_INFO=no'
5085 LINE=`grep "^wxUSE_DEBUG_INFO=" ${wx_arg_cache_file}`
5086 if test "x$LINE" != x ; then
5087 eval "DEFAULT_$LINE"
5092 wx_cv_use_debug_info='wxUSE_DEBUG_INFO=${'DEFAULT_wxUSE_DEBUG_INFO":-$defaultval}"
5097 eval "$wx_cv_use_debug_info"
5098 if test "$no_cache" != 1; then
5099 echo $wx_cv_use_debug_info >> ${wx_arg_cache_file}.tmp
5102 if test x"$enablestring" = xdisable; then
5103 if test $wxUSE_DEBUG_INFO = yes; then
5109 result=$wxUSE_DEBUG_INFO
5112 { echo "$as_me:$LINENO: result: $result" >&5
5113 echo "${ECHO_T}$result" >&6; }
5118 if test -z "$defaultval"; then
5119 if test x"$enablestring" = xdisable; then
5126 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_gdb" >&5
5127 echo $ECHO_N "checking for --${enablestring:-enable}-debug_gdb... $ECHO_C" >&6; }
5129 # Check whether --enable-debug_gdb was given.
5130 if test "${enable_debug_gdb+set}" = set; then
5131 enableval=$enable_debug_gdb;
5132 if test "$enableval" = yes; then
5133 wx_cv_use_debug_gdb='wxUSE_DEBUG_GDB=yes'
5135 wx_cv_use_debug_gdb='wxUSE_DEBUG_GDB=no'
5140 LINE=`grep "^wxUSE_DEBUG_GDB=" ${wx_arg_cache_file}`
5141 if test "x$LINE" != x ; then
5142 eval "DEFAULT_$LINE"
5147 wx_cv_use_debug_gdb='wxUSE_DEBUG_GDB=${'DEFAULT_wxUSE_DEBUG_GDB":-$defaultval}"
5152 eval "$wx_cv_use_debug_gdb"
5153 if test "$no_cache" != 1; then
5154 echo $wx_cv_use_debug_gdb >> ${wx_arg_cache_file}.tmp
5157 if test x"$enablestring" = xdisable; then
5158 if test $wxUSE_DEBUG_GDB = yes; then
5164 result=$wxUSE_DEBUG_GDB
5167 { echo "$as_me:$LINENO: result: $result" >&5
5168 echo "${ECHO_T}$result" >&6; }
5173 if test -z "$defaultval"; then
5174 if test x"$enablestring" = xdisable; then
5181 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_cntxt" >&5
5182 echo $ECHO_N "checking for --${enablestring:-enable}-debug_cntxt... $ECHO_C" >&6; }
5184 # Check whether --enable-debug_cntxt was given.
5185 if test "${enable_debug_cntxt+set}" = set; then
5186 enableval=$enable_debug_cntxt;
5187 if test "$enableval" = yes; then
5188 wx_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=yes'
5190 wx_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=no'
5195 LINE=`grep "^wxUSE_DEBUG_CONTEXT=" ${wx_arg_cache_file}`
5196 if test "x$LINE" != x ; then
5197 eval "DEFAULT_$LINE"
5202 wx_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=${'DEFAULT_wxUSE_DEBUG_CONTEXT":-$defaultval}"
5207 eval "$wx_cv_use_debug_cntxt"
5208 if test "$no_cache" != 1; then
5209 echo $wx_cv_use_debug_cntxt >> ${wx_arg_cache_file}.tmp
5212 if test x"$enablestring" = xdisable; then
5213 if test $wxUSE_DEBUG_CONTEXT = yes; then
5219 result=$wxUSE_DEBUG_CONTEXT
5222 { echo "$as_me:$LINENO: result: $result" >&5
5223 echo "${ECHO_T}$result" >&6; }
5228 if test -z "$defaultval"; then
5229 if test x"$enablestring" = xdisable; then
5236 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mem_tracing" >&5
5237 echo $ECHO_N "checking for --${enablestring:-enable}-mem_tracing... $ECHO_C" >&6; }
5239 # Check whether --enable-mem_tracing was given.
5240 if test "${enable_mem_tracing+set}" = set; then
5241 enableval=$enable_mem_tracing;
5242 if test "$enableval" = yes; then
5243 wx_cv_use_mem_tracing='wxUSE_MEM_TRACING=yes'
5245 wx_cv_use_mem_tracing='wxUSE_MEM_TRACING=no'
5250 LINE=`grep "^wxUSE_MEM_TRACING=" ${wx_arg_cache_file}`
5251 if test "x$LINE" != x ; then
5252 eval "DEFAULT_$LINE"
5257 wx_cv_use_mem_tracing='wxUSE_MEM_TRACING=${'DEFAULT_wxUSE_MEM_TRACING":-$defaultval}"
5262 eval "$wx_cv_use_mem_tracing"
5263 if test "$no_cache" != 1; then
5264 echo $wx_cv_use_mem_tracing >> ${wx_arg_cache_file}.tmp
5267 if test x"$enablestring" = xdisable; then
5268 if test $wxUSE_MEM_TRACING = yes; then
5274 result=$wxUSE_MEM_TRACING
5277 { echo "$as_me:$LINENO: result: $result" >&5
5278 echo "${ECHO_T}$result" >&6; }
5283 if test -z "$defaultval"; then
5284 if test x"$enablestring" = xdisable; then
5291 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-profile" >&5
5292 echo $ECHO_N "checking for --${enablestring:-enable}-profile... $ECHO_C" >&6; }
5294 # Check whether --enable-profile was given.
5295 if test "${enable_profile+set}" = set; then
5296 enableval=$enable_profile;
5297 if test "$enableval" = yes; then
5298 wx_cv_use_profile='wxUSE_PROFILE=yes'
5300 wx_cv_use_profile='wxUSE_PROFILE=no'
5305 LINE=`grep "^wxUSE_PROFILE=" ${wx_arg_cache_file}`
5306 if test "x$LINE" != x ; then
5307 eval "DEFAULT_$LINE"
5312 wx_cv_use_profile='wxUSE_PROFILE=${'DEFAULT_wxUSE_PROFILE":-$defaultval}"
5317 eval "$wx_cv_use_profile"
5318 if test "$no_cache" != 1; then
5319 echo $wx_cv_use_profile >> ${wx_arg_cache_file}.tmp
5322 if test x"$enablestring" = xdisable; then
5323 if test $wxUSE_PROFILE = yes; then
5329 result=$wxUSE_PROFILE
5332 { echo "$as_me:$LINENO: result: $result" >&5
5333 echo "${ECHO_T}$result" >&6; }
5338 if test -z "$defaultval"; then
5339 if test x"$enablestring" = xdisable; then
5346 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_rtti" >&5
5347 echo $ECHO_N "checking for --${enablestring:-enable}-no_rtti... $ECHO_C" >&6; }
5349 # Check whether --enable-no_rtti was given.
5350 if test "${enable_no_rtti+set}" = set; then
5351 enableval=$enable_no_rtti;
5352 if test "$enableval" = yes; then
5353 wx_cv_use_no_rtti='wxUSE_NO_RTTI=yes'
5355 wx_cv_use_no_rtti='wxUSE_NO_RTTI=no'
5360 LINE=`grep "^wxUSE_NO_RTTI=" ${wx_arg_cache_file}`
5361 if test "x$LINE" != x ; then
5362 eval "DEFAULT_$LINE"
5367 wx_cv_use_no_rtti='wxUSE_NO_RTTI=${'DEFAULT_wxUSE_NO_RTTI":-$defaultval}"
5372 eval "$wx_cv_use_no_rtti"
5373 if test "$no_cache" != 1; then
5374 echo $wx_cv_use_no_rtti >> ${wx_arg_cache_file}.tmp
5377 if test x"$enablestring" = xdisable; then
5378 if test $wxUSE_NO_RTTI = yes; then
5384 result=$wxUSE_NO_RTTI
5387 { echo "$as_me:$LINENO: result: $result" >&5
5388 echo "${ECHO_T}$result" >&6; }
5393 if test -z "$defaultval"; then
5394 if test x"$enablestring" = xdisable; then
5401 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_exceptions" >&5
5402 echo $ECHO_N "checking for --${enablestring:-enable}-no_exceptions... $ECHO_C" >&6; }
5404 # Check whether --enable-no_exceptions was given.
5405 if test "${enable_no_exceptions+set}" = set; then
5406 enableval=$enable_no_exceptions;
5407 if test "$enableval" = yes; then
5408 wx_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=yes'
5410 wx_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=no'
5415 LINE=`grep "^wxUSE_NO_EXCEPTIONS=" ${wx_arg_cache_file}`
5416 if test "x$LINE" != x ; then
5417 eval "DEFAULT_$LINE"
5422 wx_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=${'DEFAULT_wxUSE_NO_EXCEPTIONS":-$defaultval}"
5427 eval "$wx_cv_use_no_exceptions"
5428 if test "$no_cache" != 1; then
5429 echo $wx_cv_use_no_exceptions >> ${wx_arg_cache_file}.tmp
5432 if test x"$enablestring" = xdisable; then
5433 if test $wxUSE_NO_EXCEPTIONS = yes; then
5439 result=$wxUSE_NO_EXCEPTIONS
5442 { echo "$as_me:$LINENO: result: $result" >&5
5443 echo "${ECHO_T}$result" >&6; }
5448 if test -z "$defaultval"; then
5449 if test x"$enablestring" = xdisable; then
5456 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-permissive" >&5
5457 echo $ECHO_N "checking for --${enablestring:-enable}-permissive... $ECHO_C" >&6; }
5459 # Check whether --enable-permissive was given.
5460 if test "${enable_permissive+set}" = set; then
5461 enableval=$enable_permissive;
5462 if test "$enableval" = yes; then
5463 wx_cv_use_permissive='wxUSE_PERMISSIVE=yes'
5465 wx_cv_use_permissive='wxUSE_PERMISSIVE=no'
5470 LINE=`grep "^wxUSE_PERMISSIVE=" ${wx_arg_cache_file}`
5471 if test "x$LINE" != x ; then
5472 eval "DEFAULT_$LINE"
5477 wx_cv_use_permissive='wxUSE_PERMISSIVE=${'DEFAULT_wxUSE_PERMISSIVE":-$defaultval}"
5482 eval "$wx_cv_use_permissive"
5483 if test "$no_cache" != 1; then
5484 echo $wx_cv_use_permissive >> ${wx_arg_cache_file}.tmp
5487 if test x"$enablestring" = xdisable; then
5488 if test $wxUSE_PERMISSIVE = yes; then
5494 result=$wxUSE_PERMISSIVE
5497 { echo "$as_me:$LINENO: result: $result" >&5
5498 echo "${ECHO_T}$result" >&6; }
5503 if test -z "$defaultval"; then
5504 if test x"$enablestring" = xdisable; then
5511 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_deps" >&5
5512 echo $ECHO_N "checking for --${enablestring:-enable}-no_deps... $ECHO_C" >&6; }
5514 # Check whether --enable-no_deps was given.
5515 if test "${enable_no_deps+set}" = set; then
5516 enableval=$enable_no_deps;
5517 if test "$enableval" = yes; then
5518 wx_cv_use_no_deps='wxUSE_NO_DEPS=yes'
5520 wx_cv_use_no_deps='wxUSE_NO_DEPS=no'
5525 LINE=`grep "^wxUSE_NO_DEPS=" ${wx_arg_cache_file}`
5526 if test "x$LINE" != x ; then
5527 eval "DEFAULT_$LINE"
5532 wx_cv_use_no_deps='wxUSE_NO_DEPS=${'DEFAULT_wxUSE_NO_DEPS":-$defaultval}"
5537 eval "$wx_cv_use_no_deps"
5538 if test "$no_cache" != 1; then
5539 echo $wx_cv_use_no_deps >> ${wx_arg_cache_file}.tmp
5542 if test x"$enablestring" = xdisable; then
5543 if test $wxUSE_NO_DEPS = yes; then
5549 result=$wxUSE_NO_DEPS
5552 { echo "$as_me:$LINENO: result: $result" >&5
5553 echo "${ECHO_T}$result" >&6; }
5556 enablestring=disable
5558 if test -z "$defaultval"; then
5559 if test x"$enablestring" = xdisable; then
5566 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-vararg_macros" >&5
5567 echo $ECHO_N "checking for --${enablestring:-enable}-vararg_macros... $ECHO_C" >&6; }
5569 # Check whether --enable-vararg_macros was given.
5570 if test "${enable_vararg_macros+set}" = set; then
5571 enableval=$enable_vararg_macros;
5572 if test "$enableval" = yes; then
5573 wx_cv_use_vararg_macros='wxUSE_VARARG_MACROS=yes'
5575 wx_cv_use_vararg_macros='wxUSE_VARARG_MACROS=no'
5580 LINE=`grep "^wxUSE_VARARG_MACROS=" ${wx_arg_cache_file}`
5581 if test "x$LINE" != x ; then
5582 eval "DEFAULT_$LINE"
5587 wx_cv_use_vararg_macros='wxUSE_VARARG_MACROS=${'DEFAULT_wxUSE_VARARG_MACROS":-$defaultval}"
5592 eval "$wx_cv_use_vararg_macros"
5593 if test "$no_cache" != 1; then
5594 echo $wx_cv_use_vararg_macros >> ${wx_arg_cache_file}.tmp
5597 if test x"$enablestring" = xdisable; then
5598 if test $wxUSE_VARARG_MACROS = yes; then
5604 result=$wxUSE_VARARG_MACROS
5607 { echo "$as_me:$LINENO: result: $result" >&5
5608 echo "${ECHO_T}$result" >&6; }
5612 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-universal_binary" >&5
5613 echo $ECHO_N "checking for --${enablestring:-enable}-universal_binary... $ECHO_C" >&6; }
5615 # Check whether --enable-universal_binary was given.
5616 if test "${enable_universal_binary+set}" = set; then
5617 enableval=$enable_universal_binary;
5618 wx_cv_use_universal_binary="wxUSE_UNIVERSAL_BINARY='$enableval'"
5622 LINE=`grep "^wxUSE_UNIVERSAL_BINARY=" ${wx_arg_cache_file}`
5623 if test "x$LINE" != x ; then
5624 eval "DEFAULT_$LINE"
5629 wx_cv_use_universal_binary='wxUSE_UNIVERSAL_BINARY='$DEFAULT_wxUSE_UNIVERSAL_BINARY
5634 eval "$wx_cv_use_universal_binary"
5635 if test "$no_cache" != 1; then
5636 echo $wx_cv_use_universal_binary >> ${wx_arg_cache_file}.tmp
5639 { echo "$as_me:$LINENO: result: $wxUSE_UNIVERSAL_BINARY" >&5
5640 echo "${ECHO_T}$wxUSE_UNIVERSAL_BINARY" >&6; }
5646 if test -z "$defaultval"; then
5647 if test x"$enablestring" = xdisable; then
5654 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat26" >&5
5655 echo $ECHO_N "checking for --${enablestring:-enable}-compat26... $ECHO_C" >&6; }
5657 # Check whether --enable-compat26 was given.
5658 if test "${enable_compat26+set}" = set; then
5659 enableval=$enable_compat26;
5660 if test "$enableval" = yes; then
5661 wx_cv_use_compat26='WXWIN_COMPATIBILITY_2_6=yes'
5663 wx_cv_use_compat26='WXWIN_COMPATIBILITY_2_6=no'
5668 LINE=`grep "^WXWIN_COMPATIBILITY_2_6=" ${wx_arg_cache_file}`
5669 if test "x$LINE" != x ; then
5670 eval "DEFAULT_$LINE"
5675 wx_cv_use_compat26='WXWIN_COMPATIBILITY_2_6=${'DEFAULT_WXWIN_COMPATIBILITY_2_6":-$defaultval}"
5680 eval "$wx_cv_use_compat26"
5681 if test "$no_cache" != 1; then
5682 echo $wx_cv_use_compat26 >> ${wx_arg_cache_file}.tmp
5685 if test x"$enablestring" = xdisable; then
5686 if test $WXWIN_COMPATIBILITY_2_6 = yes; then
5692 result=$WXWIN_COMPATIBILITY_2_6
5695 { echo "$as_me:$LINENO: result: $result" >&5
5696 echo "${ECHO_T}$result" >&6; }
5699 enablestring=disable
5701 if test -z "$defaultval"; then
5702 if test x"$enablestring" = xdisable; then
5709 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat28" >&5
5710 echo $ECHO_N "checking for --${enablestring:-enable}-compat28... $ECHO_C" >&6; }
5712 # Check whether --enable-compat28 was given.
5713 if test "${enable_compat28+set}" = set; then
5714 enableval=$enable_compat28;
5715 if test "$enableval" = yes; then
5716 wx_cv_use_compat28='WXWIN_COMPATIBILITY_2_8=yes'
5718 wx_cv_use_compat28='WXWIN_COMPATIBILITY_2_8=no'
5723 LINE=`grep "^WXWIN_COMPATIBILITY_2_8=" ${wx_arg_cache_file}`
5724 if test "x$LINE" != x ; then
5725 eval "DEFAULT_$LINE"
5730 wx_cv_use_compat28='WXWIN_COMPATIBILITY_2_8=${'DEFAULT_WXWIN_COMPATIBILITY_2_8":-$defaultval}"
5735 eval "$wx_cv_use_compat28"
5736 if test "$no_cache" != 1; then
5737 echo $wx_cv_use_compat28 >> ${wx_arg_cache_file}.tmp
5740 if test x"$enablestring" = xdisable; then
5741 if test $WXWIN_COMPATIBILITY_2_8 = yes; then
5747 result=$WXWIN_COMPATIBILITY_2_8
5750 { echo "$as_me:$LINENO: result: $result" >&5
5751 echo "${ECHO_T}$result" >&6; }
5755 enablestring=disable
5757 if test -z "$defaultval"; then
5758 if test x"$enablestring" = xdisable; then
5765 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-rpath" >&5
5766 echo $ECHO_N "checking for --${enablestring:-enable}-rpath... $ECHO_C" >&6; }
5768 # Check whether --enable-rpath was given.
5769 if test "${enable_rpath+set}" = set; then
5770 enableval=$enable_rpath;
5771 if test "$enableval" = yes; then
5772 wx_cv_use_rpath='wxUSE_RPATH=yes'
5774 wx_cv_use_rpath='wxUSE_RPATH=no'
5779 LINE=`grep "^wxUSE_RPATH=" ${wx_arg_cache_file}`
5780 if test "x$LINE" != x ; then
5781 eval "DEFAULT_$LINE"
5786 wx_cv_use_rpath='wxUSE_RPATH=${'DEFAULT_wxUSE_RPATH":-$defaultval}"
5791 eval "$wx_cv_use_rpath"
5792 if test "$no_cache" != 1; then
5793 echo $wx_cv_use_rpath >> ${wx_arg_cache_file}.tmp
5796 if test x"$enablestring" = xdisable; then
5797 if test $wxUSE_RPATH = yes; then
5806 { echo "$as_me:$LINENO: result: $result" >&5
5807 echo "${ECHO_T}$result" >&6; }
5813 if test -z "$defaultval"; then
5814 if test x"$enablestring" = xdisable; then
5821 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-objc_uniquifying" >&5
5822 echo $ECHO_N "checking for --${enablestring:-enable}-objc_uniquifying... $ECHO_C" >&6; }
5824 # Check whether --enable-objc_uniquifying was given.
5825 if test "${enable_objc_uniquifying+set}" = set; then
5826 enableval=$enable_objc_uniquifying;
5827 if test "$enableval" = yes; then
5828 wx_cv_use_objc_uniquifying='wxUSE_OBJC_UNIQUIFYING=yes'
5830 wx_cv_use_objc_uniquifying='wxUSE_OBJC_UNIQUIFYING=no'
5835 LINE=`grep "^wxUSE_OBJC_UNIQUIFYING=" ${wx_arg_cache_file}`
5836 if test "x$LINE" != x ; then
5837 eval "DEFAULT_$LINE"
5842 wx_cv_use_objc_uniquifying='wxUSE_OBJC_UNIQUIFYING=${'DEFAULT_wxUSE_OBJC_UNIQUIFYING":-$defaultval}"
5847 eval "$wx_cv_use_objc_uniquifying"
5848 if test "$no_cache" != 1; then
5849 echo $wx_cv_use_objc_uniquifying >> ${wx_arg_cache_file}.tmp
5852 if test x"$enablestring" = xdisable; then
5853 if test $wxUSE_OBJC_UNIQUIFYING = yes; then
5859 result=$wxUSE_OBJC_UNIQUIFYING
5862 { echo "$as_me:$LINENO: result: $result" >&5
5863 echo "${ECHO_T}$result" >&6; }
5867 enablestring=disable
5869 if test -z "$defaultval"; then
5870 if test x"$enablestring" = xdisable; then
5877 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-visibility" >&5
5878 echo $ECHO_N "checking for --${enablestring:-enable}-visibility... $ECHO_C" >&6; }
5880 # Check whether --enable-visibility was given.
5881 if test "${enable_visibility+set}" = set; then
5882 enableval=$enable_visibility;
5883 if test "$enableval" = yes; then
5884 wx_cv_use_visibility='wxUSE_VISIBILITY=yes'
5886 wx_cv_use_visibility='wxUSE_VISIBILITY=no'
5891 LINE=`grep "^wxUSE_VISIBILITY=" ${wx_arg_cache_file}`
5892 if test "x$LINE" != x ; then
5893 eval "DEFAULT_$LINE"
5898 wx_cv_use_visibility='wxUSE_VISIBILITY=${'DEFAULT_wxUSE_VISIBILITY":-$defaultval}"
5903 eval "$wx_cv_use_visibility"
5904 if test "$no_cache" != 1; then
5905 echo $wx_cv_use_visibility >> ${wx_arg_cache_file}.tmp
5908 if test x"$enablestring" = xdisable; then
5909 if test $wxUSE_VISIBILITY = yes; then
5915 result=$wxUSE_VISIBILITY
5918 { echo "$as_me:$LINENO: result: $result" >&5
5919 echo "${ECHO_T}$result" >&6; }
5925 defaultval=$wxUSE_ALL_FEATURES
5926 if test -z "$defaultval"; then
5927 if test x"$enablestring" = xdisable; then
5934 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-intl" >&5
5935 echo $ECHO_N "checking for --${enablestring:-enable}-intl... $ECHO_C" >&6; }
5937 # Check whether --enable-intl was given.
5938 if test "${enable_intl+set}" = set; then
5939 enableval=$enable_intl;
5940 if test "$enableval" = yes; then
5941 wx_cv_use_intl='wxUSE_INTL=yes'
5943 wx_cv_use_intl='wxUSE_INTL=no'
5948 LINE=`grep "^wxUSE_INTL=" ${wx_arg_cache_file}`
5949 if test "x$LINE" != x ; then
5950 eval "DEFAULT_$LINE"
5955 wx_cv_use_intl='wxUSE_INTL=${'DEFAULT_wxUSE_INTL":-$defaultval}"
5960 eval "$wx_cv_use_intl"
5961 if test "$no_cache" != 1; then
5962 echo $wx_cv_use_intl >> ${wx_arg_cache_file}.tmp
5965 if test x"$enablestring" = xdisable; then
5966 if test $wxUSE_INTL = yes; then
5975 { echo "$as_me:$LINENO: result: $result" >&5
5976 echo "${ECHO_T}$result" >&6; }
5980 defaultval=$wxUSE_ALL_FEATURES
5981 if test -z "$defaultval"; then
5982 if test x"$enablestring" = xdisable; then
5989 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-config" >&5
5990 echo $ECHO_N "checking for --${enablestring:-enable}-config... $ECHO_C" >&6; }
5992 # Check whether --enable-config was given.
5993 if test "${enable_config+set}" = set; then
5994 enableval=$enable_config;
5995 if test "$enableval" = yes; then
5996 wx_cv_use_config='wxUSE_CONFIG=yes'
5998 wx_cv_use_config='wxUSE_CONFIG=no'
6003 LINE=`grep "^wxUSE_CONFIG=" ${wx_arg_cache_file}`
6004 if test "x$LINE" != x ; then
6005 eval "DEFAULT_$LINE"
6010 wx_cv_use_config='wxUSE_CONFIG=${'DEFAULT_wxUSE_CONFIG":-$defaultval}"
6015 eval "$wx_cv_use_config"
6016 if test "$no_cache" != 1; then
6017 echo $wx_cv_use_config >> ${wx_arg_cache_file}.tmp
6020 if test x"$enablestring" = xdisable; then
6021 if test $wxUSE_CONFIG = yes; then
6027 result=$wxUSE_CONFIG
6030 { echo "$as_me:$LINENO: result: $result" >&5
6031 echo "${ECHO_T}$result" >&6; }
6036 defaultval=$wxUSE_ALL_FEATURES
6037 if test -z "$defaultval"; then
6038 if test x"$enablestring" = xdisable; then
6045 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocols" >&5
6046 echo $ECHO_N "checking for --${enablestring:-enable}-protocols... $ECHO_C" >&6; }
6048 # Check whether --enable-protocols was given.
6049 if test "${enable_protocols+set}" = set; then
6050 enableval=$enable_protocols;
6051 if test "$enableval" = yes; then
6052 wx_cv_use_protocols='wxUSE_PROTOCOL=yes'
6054 wx_cv_use_protocols='wxUSE_PROTOCOL=no'
6059 LINE=`grep "^wxUSE_PROTOCOL=" ${wx_arg_cache_file}`
6060 if test "x$LINE" != x ; then
6061 eval "DEFAULT_$LINE"
6066 wx_cv_use_protocols='wxUSE_PROTOCOL=${'DEFAULT_wxUSE_PROTOCOL":-$defaultval}"
6071 eval "$wx_cv_use_protocols"
6072 if test "$no_cache" != 1; then
6073 echo $wx_cv_use_protocols >> ${wx_arg_cache_file}.tmp
6076 if test x"$enablestring" = xdisable; then
6077 if test $wxUSE_PROTOCOL = yes; then
6083 result=$wxUSE_PROTOCOL
6086 { echo "$as_me:$LINENO: result: $result" >&5
6087 echo "${ECHO_T}$result" >&6; }
6091 defaultval=$wxUSE_ALL_FEATURES
6092 if test -z "$defaultval"; then
6093 if test x"$enablestring" = xdisable; then
6100 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ftp" >&5
6101 echo $ECHO_N "checking for --${enablestring:-enable}-ftp... $ECHO_C" >&6; }
6103 # Check whether --enable-ftp was given.
6104 if test "${enable_ftp+set}" = set; then
6105 enableval=$enable_ftp;
6106 if test "$enableval" = yes; then
6107 wx_cv_use_ftp='wxUSE_PROTOCOL_FTP=yes'
6109 wx_cv_use_ftp='wxUSE_PROTOCOL_FTP=no'
6114 LINE=`grep "^wxUSE_PROTOCOL_FTP=" ${wx_arg_cache_file}`
6115 if test "x$LINE" != x ; then
6116 eval "DEFAULT_$LINE"
6121 wx_cv_use_ftp='wxUSE_PROTOCOL_FTP=${'DEFAULT_wxUSE_PROTOCOL_FTP":-$defaultval}"
6126 eval "$wx_cv_use_ftp"
6127 if test "$no_cache" != 1; then
6128 echo $wx_cv_use_ftp >> ${wx_arg_cache_file}.tmp
6131 if test x"$enablestring" = xdisable; then
6132 if test $wxUSE_PROTOCOL_FTP = yes; then
6138 result=$wxUSE_PROTOCOL_FTP
6141 { echo "$as_me:$LINENO: result: $result" >&5
6142 echo "${ECHO_T}$result" >&6; }
6146 defaultval=$wxUSE_ALL_FEATURES
6147 if test -z "$defaultval"; then
6148 if test x"$enablestring" = xdisable; then
6155 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-http" >&5
6156 echo $ECHO_N "checking for --${enablestring:-enable}-http... $ECHO_C" >&6; }
6158 # Check whether --enable-http was given.
6159 if test "${enable_http+set}" = set; then
6160 enableval=$enable_http;
6161 if test "$enableval" = yes; then
6162 wx_cv_use_http='wxUSE_PROTOCOL_HTTP=yes'
6164 wx_cv_use_http='wxUSE_PROTOCOL_HTTP=no'
6169 LINE=`grep "^wxUSE_PROTOCOL_HTTP=" ${wx_arg_cache_file}`
6170 if test "x$LINE" != x ; then
6171 eval "DEFAULT_$LINE"
6176 wx_cv_use_http='wxUSE_PROTOCOL_HTTP=${'DEFAULT_wxUSE_PROTOCOL_HTTP":-$defaultval}"
6181 eval "$wx_cv_use_http"
6182 if test "$no_cache" != 1; then
6183 echo $wx_cv_use_http >> ${wx_arg_cache_file}.tmp
6186 if test x"$enablestring" = xdisable; then
6187 if test $wxUSE_PROTOCOL_HTTP = yes; then
6193 result=$wxUSE_PROTOCOL_HTTP
6196 { echo "$as_me:$LINENO: result: $result" >&5
6197 echo "${ECHO_T}$result" >&6; }
6201 defaultval=$wxUSE_ALL_FEATURES
6202 if test -z "$defaultval"; then
6203 if test x"$enablestring" = xdisable; then
6210 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fileproto" >&5
6211 echo $ECHO_N "checking for --${enablestring:-enable}-fileproto... $ECHO_C" >&6; }
6213 # Check whether --enable-fileproto was given.
6214 if test "${enable_fileproto+set}" = set; then
6215 enableval=$enable_fileproto;
6216 if test "$enableval" = yes; then
6217 wx_cv_use_fileproto='wxUSE_PROTOCOL_FILE=yes'
6219 wx_cv_use_fileproto='wxUSE_PROTOCOL_FILE=no'
6224 LINE=`grep "^wxUSE_PROTOCOL_FILE=" ${wx_arg_cache_file}`
6225 if test "x$LINE" != x ; then
6226 eval "DEFAULT_$LINE"
6231 wx_cv_use_fileproto='wxUSE_PROTOCOL_FILE=${'DEFAULT_wxUSE_PROTOCOL_FILE":-$defaultval}"
6236 eval "$wx_cv_use_fileproto"
6237 if test "$no_cache" != 1; then
6238 echo $wx_cv_use_fileproto >> ${wx_arg_cache_file}.tmp
6241 if test x"$enablestring" = xdisable; then
6242 if test $wxUSE_PROTOCOL_FILE = yes; then
6248 result=$wxUSE_PROTOCOL_FILE
6251 { echo "$as_me:$LINENO: result: $result" >&5
6252 echo "${ECHO_T}$result" >&6; }
6256 defaultval=$wxUSE_ALL_FEATURES
6257 if test -z "$defaultval"; then
6258 if test x"$enablestring" = xdisable; then
6265 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sockets" >&5
6266 echo $ECHO_N "checking for --${enablestring:-enable}-sockets... $ECHO_C" >&6; }
6268 # Check whether --enable-sockets was given.
6269 if test "${enable_sockets+set}" = set; then
6270 enableval=$enable_sockets;
6271 if test "$enableval" = yes; then
6272 wx_cv_use_sockets='wxUSE_SOCKETS=yes'
6274 wx_cv_use_sockets='wxUSE_SOCKETS=no'
6279 LINE=`grep "^wxUSE_SOCKETS=" ${wx_arg_cache_file}`
6280 if test "x$LINE" != x ; then
6281 eval "DEFAULT_$LINE"
6286 wx_cv_use_sockets='wxUSE_SOCKETS=${'DEFAULT_wxUSE_SOCKETS":-$defaultval}"
6291 eval "$wx_cv_use_sockets"
6292 if test "$no_cache" != 1; then
6293 echo $wx_cv_use_sockets >> ${wx_arg_cache_file}.tmp
6296 if test x"$enablestring" = xdisable; then
6297 if test $wxUSE_SOCKETS = yes; then
6303 result=$wxUSE_SOCKETS
6306 { echo "$as_me:$LINENO: result: $result" >&5
6307 echo "${ECHO_T}$result" >&6; }
6311 defaultval=$wxUSE_ALL_FEATURES
6312 if test -z "$defaultval"; then
6313 if test x"$enablestring" = xdisable; then
6320 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ole" >&5
6321 echo $ECHO_N "checking for --${enablestring:-enable}-ole... $ECHO_C" >&6; }
6323 # Check whether --enable-ole was given.
6324 if test "${enable_ole+set}" = set; then
6325 enableval=$enable_ole;
6326 if test "$enableval" = yes; then
6327 wx_cv_use_ole='wxUSE_OLE=yes'
6329 wx_cv_use_ole='wxUSE_OLE=no'
6334 LINE=`grep "^wxUSE_OLE=" ${wx_arg_cache_file}`
6335 if test "x$LINE" != x ; then
6336 eval "DEFAULT_$LINE"
6341 wx_cv_use_ole='wxUSE_OLE=${'DEFAULT_wxUSE_OLE":-$defaultval}"
6346 eval "$wx_cv_use_ole"
6347 if test "$no_cache" != 1; then
6348 echo $wx_cv_use_ole >> ${wx_arg_cache_file}.tmp
6351 if test x"$enablestring" = xdisable; then
6352 if test $wxUSE_OLE = yes; then
6361 { echo "$as_me:$LINENO: result: $result" >&5
6362 echo "${ECHO_T}$result" >&6; }
6366 defaultval=$wxUSE_ALL_FEATURES
6367 if test -z "$defaultval"; then
6368 if test x"$enablestring" = xdisable; then
6375 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dataobj" >&5
6376 echo $ECHO_N "checking for --${enablestring:-enable}-dataobj... $ECHO_C" >&6; }
6378 # Check whether --enable-dataobj was given.
6379 if test "${enable_dataobj+set}" = set; then
6380 enableval=$enable_dataobj;
6381 if test "$enableval" = yes; then
6382 wx_cv_use_dataobj='wxUSE_DATAOBJ=yes'
6384 wx_cv_use_dataobj='wxUSE_DATAOBJ=no'
6389 LINE=`grep "^wxUSE_DATAOBJ=" ${wx_arg_cache_file}`
6390 if test "x$LINE" != x ; then
6391 eval "DEFAULT_$LINE"
6396 wx_cv_use_dataobj='wxUSE_DATAOBJ=${'DEFAULT_wxUSE_DATAOBJ":-$defaultval}"
6401 eval "$wx_cv_use_dataobj"
6402 if test "$no_cache" != 1; then
6403 echo $wx_cv_use_dataobj >> ${wx_arg_cache_file}.tmp
6406 if test x"$enablestring" = xdisable; then
6407 if test $wxUSE_DATAOBJ = yes; then
6413 result=$wxUSE_DATAOBJ
6416 { echo "$as_me:$LINENO: result: $result" >&5
6417 echo "${ECHO_T}$result" >&6; }
6422 defaultval=$wxUSE_ALL_FEATURES
6423 if test -z "$defaultval"; then
6424 if test x"$enablestring" = xdisable; then
6431 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ipc" >&5
6432 echo $ECHO_N "checking for --${enablestring:-enable}-ipc... $ECHO_C" >&6; }
6434 # Check whether --enable-ipc was given.
6435 if test "${enable_ipc+set}" = set; then
6436 enableval=$enable_ipc;
6437 if test "$enableval" = yes; then
6438 wx_cv_use_ipc='wxUSE_IPC=yes'
6440 wx_cv_use_ipc='wxUSE_IPC=no'
6445 LINE=`grep "^wxUSE_IPC=" ${wx_arg_cache_file}`
6446 if test "x$LINE" != x ; then
6447 eval "DEFAULT_$LINE"
6452 wx_cv_use_ipc='wxUSE_IPC=${'DEFAULT_wxUSE_IPC":-$defaultval}"
6457 eval "$wx_cv_use_ipc"
6458 if test "$no_cache" != 1; then
6459 echo $wx_cv_use_ipc >> ${wx_arg_cache_file}.tmp
6462 if test x"$enablestring" = xdisable; then
6463 if test $wxUSE_IPC = yes; then
6472 { echo "$as_me:$LINENO: result: $result" >&5
6473 echo "${ECHO_T}$result" >&6; }
6478 defaultval=$wxUSE_ALL_FEATURES
6479 if test -z "$defaultval"; then
6480 if test x"$enablestring" = xdisable; then
6487 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-apple_ieee" >&5
6488 echo $ECHO_N "checking for --${enablestring:-enable}-apple_ieee... $ECHO_C" >&6; }
6490 # Check whether --enable-apple_ieee was given.
6491 if test "${enable_apple_ieee+set}" = set; then
6492 enableval=$enable_apple_ieee;
6493 if test "$enableval" = yes; then
6494 wx_cv_use_apple_ieee='wxUSE_APPLE_IEEE=yes'
6496 wx_cv_use_apple_ieee='wxUSE_APPLE_IEEE=no'
6501 LINE=`grep "^wxUSE_APPLE_IEEE=" ${wx_arg_cache_file}`
6502 if test "x$LINE" != x ; then
6503 eval "DEFAULT_$LINE"
6508 wx_cv_use_apple_ieee='wxUSE_APPLE_IEEE=${'DEFAULT_wxUSE_APPLE_IEEE":-$defaultval}"
6513 eval "$wx_cv_use_apple_ieee"
6514 if test "$no_cache" != 1; then
6515 echo $wx_cv_use_apple_ieee >> ${wx_arg_cache_file}.tmp
6518 if test x"$enablestring" = xdisable; then
6519 if test $wxUSE_APPLE_IEEE = yes; then
6525 result=$wxUSE_APPLE_IEEE
6528 { echo "$as_me:$LINENO: result: $result" >&5
6529 echo "${ECHO_T}$result" >&6; }
6533 defaultval=$wxUSE_ALL_FEATURES
6534 if test -z "$defaultval"; then
6535 if test x"$enablestring" = xdisable; then
6542 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-arcstream" >&5
6543 echo $ECHO_N "checking for --${enablestring:-enable}-arcstream... $ECHO_C" >&6; }
6545 # Check whether --enable-arcstream was given.
6546 if test "${enable_arcstream+set}" = set; then
6547 enableval=$enable_arcstream;
6548 if test "$enableval" = yes; then
6549 wx_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS=yes'
6551 wx_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS=no'
6556 LINE=`grep "^wxUSE_ARCHIVE_STREAMS=" ${wx_arg_cache_file}`
6557 if test "x$LINE" != x ; then
6558 eval "DEFAULT_$LINE"
6563 wx_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS=${'DEFAULT_wxUSE_ARCHIVE_STREAMS":-$defaultval}"
6568 eval "$wx_cv_use_arcstream"
6569 if test "$no_cache" != 1; then
6570 echo $wx_cv_use_arcstream >> ${wx_arg_cache_file}.tmp
6573 if test x"$enablestring" = xdisable; then
6574 if test $wxUSE_ARCHIVE_STREAMS = yes; then
6580 result=$wxUSE_ARCHIVE_STREAMS
6583 { echo "$as_me:$LINENO: result: $result" >&5
6584 echo "${ECHO_T}$result" >&6; }
6588 defaultval=$wxUSE_ALL_FEATURES
6589 if test -z "$defaultval"; then
6590 if test x"$enablestring" = xdisable; then
6597 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-base64" >&5
6598 echo $ECHO_N "checking for --${enablestring:-enable}-base64... $ECHO_C" >&6; }
6600 # Check whether --enable-base64 was given.
6601 if test "${enable_base64+set}" = set; then
6602 enableval=$enable_base64;
6603 if test "$enableval" = yes; then
6604 wx_cv_use_base64='wxUSE_BASE64=yes'
6606 wx_cv_use_base64='wxUSE_BASE64=no'
6611 LINE=`grep "^wxUSE_BASE64=" ${wx_arg_cache_file}`
6612 if test "x$LINE" != x ; then
6613 eval "DEFAULT_$LINE"
6618 wx_cv_use_base64='wxUSE_BASE64=${'DEFAULT_wxUSE_BASE64":-$defaultval}"
6623 eval "$wx_cv_use_base64"
6624 if test "$no_cache" != 1; then
6625 echo $wx_cv_use_base64 >> ${wx_arg_cache_file}.tmp
6628 if test x"$enablestring" = xdisable; then
6629 if test $wxUSE_BASE64 = yes; then
6635 result=$wxUSE_BASE64
6638 { echo "$as_me:$LINENO: result: $result" >&5
6639 echo "${ECHO_T}$result" >&6; }
6643 defaultval=$wxUSE_ALL_FEATURES
6644 if test -z "$defaultval"; then
6645 if test x"$enablestring" = xdisable; then
6652 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-backtrace" >&5
6653 echo $ECHO_N "checking for --${enablestring:-enable}-backtrace... $ECHO_C" >&6; }
6655 # Check whether --enable-backtrace was given.
6656 if test "${enable_backtrace+set}" = set; then
6657 enableval=$enable_backtrace;
6658 if test "$enableval" = yes; then
6659 wx_cv_use_backtrace='wxUSE_STACKWALKER=yes'
6661 wx_cv_use_backtrace='wxUSE_STACKWALKER=no'
6666 LINE=`grep "^wxUSE_STACKWALKER=" ${wx_arg_cache_file}`
6667 if test "x$LINE" != x ; then
6668 eval "DEFAULT_$LINE"
6673 wx_cv_use_backtrace='wxUSE_STACKWALKER=${'DEFAULT_wxUSE_STACKWALKER":-$defaultval}"
6678 eval "$wx_cv_use_backtrace"
6679 if test "$no_cache" != 1; then
6680 echo $wx_cv_use_backtrace >> ${wx_arg_cache_file}.tmp
6683 if test x"$enablestring" = xdisable; then
6684 if test $wxUSE_STACKWALKER = yes; then
6690 result=$wxUSE_STACKWALKER
6693 { echo "$as_me:$LINENO: result: $result" >&5
6694 echo "${ECHO_T}$result" >&6; }
6698 defaultval=$wxUSE_ALL_FEATURES
6699 if test -z "$defaultval"; then
6700 if test x"$enablestring" = xdisable; then
6707 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-catch_segvs" >&5
6708 echo $ECHO_N "checking for --${enablestring:-enable}-catch_segvs... $ECHO_C" >&6; }
6710 # Check whether --enable-catch_segvs was given.
6711 if test "${enable_catch_segvs+set}" = set; then
6712 enableval=$enable_catch_segvs;
6713 if test "$enableval" = yes; then
6714 wx_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=yes'
6716 wx_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=no'
6721 LINE=`grep "^wxUSE_ON_FATAL_EXCEPTION=" ${wx_arg_cache_file}`
6722 if test "x$LINE" != x ; then
6723 eval "DEFAULT_$LINE"
6728 wx_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=${'DEFAULT_wxUSE_ON_FATAL_EXCEPTION":-$defaultval}"
6733 eval "$wx_cv_use_catch_segvs"
6734 if test "$no_cache" != 1; then
6735 echo $wx_cv_use_catch_segvs >> ${wx_arg_cache_file}.tmp
6738 if test x"$enablestring" = xdisable; then
6739 if test $wxUSE_ON_FATAL_EXCEPTION = yes; then
6745 result=$wxUSE_ON_FATAL_EXCEPTION
6748 { echo "$as_me:$LINENO: result: $result" >&5
6749 echo "${ECHO_T}$result" >&6; }
6753 defaultval=$wxUSE_ALL_FEATURES
6754 if test -z "$defaultval"; then
6755 if test x"$enablestring" = xdisable; then
6762 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-cmdline" >&5
6763 echo $ECHO_N "checking for --${enablestring:-enable}-cmdline... $ECHO_C" >&6; }
6765 # Check whether --enable-cmdline was given.
6766 if test "${enable_cmdline+set}" = set; then
6767 enableval=$enable_cmdline;
6768 if test "$enableval" = yes; then
6769 wx_cv_use_cmdline='wxUSE_CMDLINE_PARSER=yes'
6771 wx_cv_use_cmdline='wxUSE_CMDLINE_PARSER=no'
6776 LINE=`grep "^wxUSE_CMDLINE_PARSER=" ${wx_arg_cache_file}`
6777 if test "x$LINE" != x ; then
6778 eval "DEFAULT_$LINE"
6783 wx_cv_use_cmdline='wxUSE_CMDLINE_PARSER=${'DEFAULT_wxUSE_CMDLINE_PARSER":-$defaultval}"
6788 eval "$wx_cv_use_cmdline"
6789 if test "$no_cache" != 1; then
6790 echo $wx_cv_use_cmdline >> ${wx_arg_cache_file}.tmp
6793 if test x"$enablestring" = xdisable; then
6794 if test $wxUSE_CMDLINE_PARSER = yes; then
6800 result=$wxUSE_CMDLINE_PARSER
6803 { echo "$as_me:$LINENO: result: $result" >&5
6804 echo "${ECHO_T}$result" >&6; }
6808 defaultval=$wxUSE_ALL_FEATURES
6809 if test -z "$defaultval"; then
6810 if test x"$enablestring" = xdisable; then
6817 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-datetime" >&5
6818 echo $ECHO_N "checking for --${enablestring:-enable}-datetime... $ECHO_C" >&6; }
6820 # Check whether --enable-datetime was given.
6821 if test "${enable_datetime+set}" = set; then
6822 enableval=$enable_datetime;
6823 if test "$enableval" = yes; then
6824 wx_cv_use_datetime='wxUSE_DATETIME=yes'
6826 wx_cv_use_datetime='wxUSE_DATETIME=no'
6831 LINE=`grep "^wxUSE_DATETIME=" ${wx_arg_cache_file}`
6832 if test "x$LINE" != x ; then
6833 eval "DEFAULT_$LINE"
6838 wx_cv_use_datetime='wxUSE_DATETIME=${'DEFAULT_wxUSE_DATETIME":-$defaultval}"
6843 eval "$wx_cv_use_datetime"
6844 if test "$no_cache" != 1; then
6845 echo $wx_cv_use_datetime >> ${wx_arg_cache_file}.tmp
6848 if test x"$enablestring" = xdisable; then
6849 if test $wxUSE_DATETIME = yes; then
6855 result=$wxUSE_DATETIME
6858 { echo "$as_me:$LINENO: result: $result" >&5
6859 echo "${ECHO_T}$result" >&6; }
6863 defaultval=$wxUSE_ALL_FEATURES
6864 if test -z "$defaultval"; then
6865 if test x"$enablestring" = xdisable; then
6872 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debugreport" >&5
6873 echo $ECHO_N "checking for --${enablestring:-enable}-debugreport... $ECHO_C" >&6; }
6875 # Check whether --enable-debugreport was given.
6876 if test "${enable_debugreport+set}" = set; then
6877 enableval=$enable_debugreport;
6878 if test "$enableval" = yes; then
6879 wx_cv_use_debugreport='wxUSE_DEBUGREPORT=yes'
6881 wx_cv_use_debugreport='wxUSE_DEBUGREPORT=no'
6886 LINE=`grep "^wxUSE_DEBUGREPORT=" ${wx_arg_cache_file}`
6887 if test "x$LINE" != x ; then
6888 eval "DEFAULT_$LINE"
6893 wx_cv_use_debugreport='wxUSE_DEBUGREPORT=${'DEFAULT_wxUSE_DEBUGREPORT":-$defaultval}"
6898 eval "$wx_cv_use_debugreport"
6899 if test "$no_cache" != 1; then
6900 echo $wx_cv_use_debugreport >> ${wx_arg_cache_file}.tmp
6903 if test x"$enablestring" = xdisable; then
6904 if test $wxUSE_DEBUGREPORT = yes; then
6910 result=$wxUSE_DEBUGREPORT
6913 { echo "$as_me:$LINENO: result: $result" >&5
6914 echo "${ECHO_T}$result" >&6; }
6918 defaultval=$wxUSE_ALL_FEATURES
6919 if test -z "$defaultval"; then
6920 if test x"$enablestring" = xdisable; then
6927 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dialupman" >&5
6928 echo $ECHO_N "checking for --${enablestring:-enable}-dialupman... $ECHO_C" >&6; }
6930 # Check whether --enable-dialupman was given.
6931 if test "${enable_dialupman+set}" = set; then
6932 enableval=$enable_dialupman;
6933 if test "$enableval" = yes; then
6934 wx_cv_use_dialupman='wxUSE_DIALUP_MANAGER=yes'
6936 wx_cv_use_dialupman='wxUSE_DIALUP_MANAGER=no'
6941 LINE=`grep "^wxUSE_DIALUP_MANAGER=" ${wx_arg_cache_file}`
6942 if test "x$LINE" != x ; then
6943 eval "DEFAULT_$LINE"
6948 wx_cv_use_dialupman='wxUSE_DIALUP_MANAGER=${'DEFAULT_wxUSE_DIALUP_MANAGER":-$defaultval}"
6953 eval "$wx_cv_use_dialupman"
6954 if test "$no_cache" != 1; then
6955 echo $wx_cv_use_dialupman >> ${wx_arg_cache_file}.tmp
6958 if test x"$enablestring" = xdisable; then
6959 if test $wxUSE_DIALUP_MANAGER = yes; then
6965 result=$wxUSE_DIALUP_MANAGER
6968 { echo "$as_me:$LINENO: result: $result" >&5
6969 echo "${ECHO_T}$result" >&6; }
6973 defaultval=$wxUSE_ALL_FEATURES
6974 if test -z "$defaultval"; then
6975 if test x"$enablestring" = xdisable; then
6982 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynlib" >&5
6983 echo $ECHO_N "checking for --${enablestring:-enable}-dynlib... $ECHO_C" >&6; }
6985 # Check whether --enable-dynlib was given.
6986 if test "${enable_dynlib+set}" = set; then
6987 enableval=$enable_dynlib;
6988 if test "$enableval" = yes; then
6989 wx_cv_use_dynlib='wxUSE_DYNLIB_CLASS=yes'
6991 wx_cv_use_dynlib='wxUSE_DYNLIB_CLASS=no'
6996 LINE=`grep "^wxUSE_DYNLIB_CLASS=" ${wx_arg_cache_file}`
6997 if test "x$LINE" != x ; then
6998 eval "DEFAULT_$LINE"
7003 wx_cv_use_dynlib='wxUSE_DYNLIB_CLASS=${'DEFAULT_wxUSE_DYNLIB_CLASS":-$defaultval}"
7008 eval "$wx_cv_use_dynlib"
7009 if test "$no_cache" != 1; then
7010 echo $wx_cv_use_dynlib >> ${wx_arg_cache_file}.tmp
7013 if test x"$enablestring" = xdisable; then
7014 if test $wxUSE_DYNLIB_CLASS = yes; then
7020 result=$wxUSE_DYNLIB_CLASS
7023 { echo "$as_me:$LINENO: result: $result" >&5
7024 echo "${ECHO_T}$result" >&6; }
7028 defaultval=$wxUSE_ALL_FEATURES
7029 if test -z "$defaultval"; then
7030 if test x"$enablestring" = xdisable; then
7037 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynamicloader" >&5
7038 echo $ECHO_N "checking for --${enablestring:-enable}-dynamicloader... $ECHO_C" >&6; }
7040 # Check whether --enable-dynamicloader was given.
7041 if test "${enable_dynamicloader+set}" = set; then
7042 enableval=$enable_dynamicloader;
7043 if test "$enableval" = yes; then
7044 wx_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=yes'
7046 wx_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=no'
7051 LINE=`grep "^wxUSE_DYNAMIC_LOADER=" ${wx_arg_cache_file}`
7052 if test "x$LINE" != x ; then
7053 eval "DEFAULT_$LINE"
7058 wx_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=${'DEFAULT_wxUSE_DYNAMIC_LOADER":-$defaultval}"
7063 eval "$wx_cv_use_dynamicloader"
7064 if test "$no_cache" != 1; then
7065 echo $wx_cv_use_dynamicloader >> ${wx_arg_cache_file}.tmp
7068 if test x"$enablestring" = xdisable; then
7069 if test $wxUSE_DYNAMIC_LOADER = yes; then
7075 result=$wxUSE_DYNAMIC_LOADER
7078 { echo "$as_me:$LINENO: result: $result" >&5
7079 echo "${ECHO_T}$result" >&6; }
7083 defaultval=$wxUSE_ALL_FEATURES
7084 if test -z "$defaultval"; then
7085 if test x"$enablestring" = xdisable; then
7092 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-exceptions" >&5
7093 echo $ECHO_N "checking for --${enablestring:-enable}-exceptions... $ECHO_C" >&6; }
7095 # Check whether --enable-exceptions was given.
7096 if test "${enable_exceptions+set}" = set; then
7097 enableval=$enable_exceptions;
7098 if test "$enableval" = yes; then
7099 wx_cv_use_exceptions='wxUSE_EXCEPTIONS=yes'
7101 wx_cv_use_exceptions='wxUSE_EXCEPTIONS=no'
7106 LINE=`grep "^wxUSE_EXCEPTIONS=" ${wx_arg_cache_file}`
7107 if test "x$LINE" != x ; then
7108 eval "DEFAULT_$LINE"
7113 wx_cv_use_exceptions='wxUSE_EXCEPTIONS=${'DEFAULT_wxUSE_EXCEPTIONS":-$defaultval}"
7118 eval "$wx_cv_use_exceptions"
7119 if test "$no_cache" != 1; then
7120 echo $wx_cv_use_exceptions >> ${wx_arg_cache_file}.tmp
7123 if test x"$enablestring" = xdisable; then
7124 if test $wxUSE_EXCEPTIONS = yes; then
7130 result=$wxUSE_EXCEPTIONS
7133 { echo "$as_me:$LINENO: result: $result" >&5
7134 echo "${ECHO_T}$result" >&6; }
7138 defaultval=$wxUSE_ALL_FEATURES
7139 if test -z "$defaultval"; then
7140 if test x"$enablestring" = xdisable; then
7147 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ffile" >&5
7148 echo $ECHO_N "checking for --${enablestring:-enable}-ffile... $ECHO_C" >&6; }
7150 # Check whether --enable-ffile was given.
7151 if test "${enable_ffile+set}" = set; then
7152 enableval=$enable_ffile;
7153 if test "$enableval" = yes; then
7154 wx_cv_use_ffile='wxUSE_FFILE=yes'
7156 wx_cv_use_ffile='wxUSE_FFILE=no'
7161 LINE=`grep "^wxUSE_FFILE=" ${wx_arg_cache_file}`
7162 if test "x$LINE" != x ; then
7163 eval "DEFAULT_$LINE"
7168 wx_cv_use_ffile='wxUSE_FFILE=${'DEFAULT_wxUSE_FFILE":-$defaultval}"
7173 eval "$wx_cv_use_ffile"
7174 if test "$no_cache" != 1; then
7175 echo $wx_cv_use_ffile >> ${wx_arg_cache_file}.tmp
7178 if test x"$enablestring" = xdisable; then
7179 if test $wxUSE_FFILE = yes; then
7188 { echo "$as_me:$LINENO: result: $result" >&5
7189 echo "${ECHO_T}$result" >&6; }
7193 defaultval=$wxUSE_ALL_FEATURES
7194 if test -z "$defaultval"; then
7195 if test x"$enablestring" = xdisable; then
7202 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-file" >&5
7203 echo $ECHO_N "checking for --${enablestring:-enable}-file... $ECHO_C" >&6; }
7205 # Check whether --enable-file was given.
7206 if test "${enable_file+set}" = set; then
7207 enableval=$enable_file;
7208 if test "$enableval" = yes; then
7209 wx_cv_use_file='wxUSE_FILE=yes'
7211 wx_cv_use_file='wxUSE_FILE=no'
7216 LINE=`grep "^wxUSE_FILE=" ${wx_arg_cache_file}`
7217 if test "x$LINE" != x ; then
7218 eval "DEFAULT_$LINE"
7223 wx_cv_use_file='wxUSE_FILE=${'DEFAULT_wxUSE_FILE":-$defaultval}"
7228 eval "$wx_cv_use_file"
7229 if test "$no_cache" != 1; then
7230 echo $wx_cv_use_file >> ${wx_arg_cache_file}.tmp
7233 if test x"$enablestring" = xdisable; then
7234 if test $wxUSE_FILE = yes; then
7243 { echo "$as_me:$LINENO: result: $result" >&5
7244 echo "${ECHO_T}$result" >&6; }
7248 defaultval=$wxUSE_ALL_FEATURES
7249 if test -z "$defaultval"; then
7250 if test x"$enablestring" = xdisable; then
7257 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filesystem" >&5
7258 echo $ECHO_N "checking for --${enablestring:-enable}-filesystem... $ECHO_C" >&6; }
7260 # Check whether --enable-filesystem was given.
7261 if test "${enable_filesystem+set}" = set; then
7262 enableval=$enable_filesystem;
7263 if test "$enableval" = yes; then
7264 wx_cv_use_filesystem='wxUSE_FILESYSTEM=yes'
7266 wx_cv_use_filesystem='wxUSE_FILESYSTEM=no'
7271 LINE=`grep "^wxUSE_FILESYSTEM=" ${wx_arg_cache_file}`
7272 if test "x$LINE" != x ; then
7273 eval "DEFAULT_$LINE"
7278 wx_cv_use_filesystem='wxUSE_FILESYSTEM=${'DEFAULT_wxUSE_FILESYSTEM":-$defaultval}"
7283 eval "$wx_cv_use_filesystem"
7284 if test "$no_cache" != 1; then
7285 echo $wx_cv_use_filesystem >> ${wx_arg_cache_file}.tmp
7288 if test x"$enablestring" = xdisable; then
7289 if test $wxUSE_FILESYSTEM = yes; then
7295 result=$wxUSE_FILESYSTEM
7298 { echo "$as_me:$LINENO: result: $result" >&5
7299 echo "${ECHO_T}$result" >&6; }
7303 defaultval=$wxUSE_ALL_FEATURES
7304 if test -z "$defaultval"; then
7305 if test x"$enablestring" = xdisable; then
7312 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontmap" >&5
7313 echo $ECHO_N "checking for --${enablestring:-enable}-fontmap... $ECHO_C" >&6; }
7315 # Check whether --enable-fontmap was given.
7316 if test "${enable_fontmap+set}" = set; then
7317 enableval=$enable_fontmap;
7318 if test "$enableval" = yes; then
7319 wx_cv_use_fontmap='wxUSE_FONTMAP=yes'
7321 wx_cv_use_fontmap='wxUSE_FONTMAP=no'
7326 LINE=`grep "^wxUSE_FONTMAP=" ${wx_arg_cache_file}`
7327 if test "x$LINE" != x ; then
7328 eval "DEFAULT_$LINE"
7333 wx_cv_use_fontmap='wxUSE_FONTMAP=${'DEFAULT_wxUSE_FONTMAP":-$defaultval}"
7338 eval "$wx_cv_use_fontmap"
7339 if test "$no_cache" != 1; then
7340 echo $wx_cv_use_fontmap >> ${wx_arg_cache_file}.tmp
7343 if test x"$enablestring" = xdisable; then
7344 if test $wxUSE_FONTMAP = yes; then
7350 result=$wxUSE_FONTMAP
7353 { echo "$as_me:$LINENO: result: $result" >&5
7354 echo "${ECHO_T}$result" >&6; }
7358 defaultval=$wxUSE_ALL_FEATURES
7359 if test -z "$defaultval"; then
7360 if test x"$enablestring" = xdisable; then
7367 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_archive" >&5
7368 echo $ECHO_N "checking for --${enablestring:-enable}-fs_archive... $ECHO_C" >&6; }
7370 # Check whether --enable-fs_archive was given.
7371 if test "${enable_fs_archive+set}" = set; then
7372 enableval=$enable_fs_archive;
7373 if test "$enableval" = yes; then
7374 wx_cv_use_fs_archive='wxUSE_FS_ARCHIVE=yes'
7376 wx_cv_use_fs_archive='wxUSE_FS_ARCHIVE=no'
7381 LINE=`grep "^wxUSE_FS_ARCHIVE=" ${wx_arg_cache_file}`
7382 if test "x$LINE" != x ; then
7383 eval "DEFAULT_$LINE"
7388 wx_cv_use_fs_archive='wxUSE_FS_ARCHIVE=${'DEFAULT_wxUSE_FS_ARCHIVE":-$defaultval}"
7393 eval "$wx_cv_use_fs_archive"
7394 if test "$no_cache" != 1; then
7395 echo $wx_cv_use_fs_archive >> ${wx_arg_cache_file}.tmp
7398 if test x"$enablestring" = xdisable; then
7399 if test $wxUSE_FS_ARCHIVE = yes; then
7405 result=$wxUSE_FS_ARCHIVE
7408 { echo "$as_me:$LINENO: result: $result" >&5
7409 echo "${ECHO_T}$result" >&6; }
7413 defaultval=$wxUSE_ALL_FEATURES
7414 if test -z "$defaultval"; then
7415 if test x"$enablestring" = xdisable; then
7422 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_inet" >&5
7423 echo $ECHO_N "checking for --${enablestring:-enable}-fs_inet... $ECHO_C" >&6; }
7425 # Check whether --enable-fs_inet was given.
7426 if test "${enable_fs_inet+set}" = set; then
7427 enableval=$enable_fs_inet;
7428 if test "$enableval" = yes; then
7429 wx_cv_use_fs_inet='wxUSE_FS_INET=yes'
7431 wx_cv_use_fs_inet='wxUSE_FS_INET=no'
7436 LINE=`grep "^wxUSE_FS_INET=" ${wx_arg_cache_file}`
7437 if test "x$LINE" != x ; then
7438 eval "DEFAULT_$LINE"
7443 wx_cv_use_fs_inet='wxUSE_FS_INET=${'DEFAULT_wxUSE_FS_INET":-$defaultval}"
7448 eval "$wx_cv_use_fs_inet"
7449 if test "$no_cache" != 1; then
7450 echo $wx_cv_use_fs_inet >> ${wx_arg_cache_file}.tmp
7453 if test x"$enablestring" = xdisable; then
7454 if test $wxUSE_FS_INET = yes; then
7460 result=$wxUSE_FS_INET
7463 { echo "$as_me:$LINENO: result: $result" >&5
7464 echo "${ECHO_T}$result" >&6; }
7468 defaultval=$wxUSE_ALL_FEATURES
7469 if test -z "$defaultval"; then
7470 if test x"$enablestring" = xdisable; then
7477 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_zip" >&5
7478 echo $ECHO_N "checking for --${enablestring:-enable}-fs_zip... $ECHO_C" >&6; }
7480 # Check whether --enable-fs_zip was given.
7481 if test "${enable_fs_zip+set}" = set; then
7482 enableval=$enable_fs_zip;
7483 if test "$enableval" = yes; then
7484 wx_cv_use_fs_zip='wxUSE_FS_ZIP=yes'
7486 wx_cv_use_fs_zip='wxUSE_FS_ZIP=no'
7491 LINE=`grep "^wxUSE_FS_ZIP=" ${wx_arg_cache_file}`
7492 if test "x$LINE" != x ; then
7493 eval "DEFAULT_$LINE"
7498 wx_cv_use_fs_zip='wxUSE_FS_ZIP=${'DEFAULT_wxUSE_FS_ZIP":-$defaultval}"
7503 eval "$wx_cv_use_fs_zip"
7504 if test "$no_cache" != 1; then
7505 echo $wx_cv_use_fs_zip >> ${wx_arg_cache_file}.tmp
7508 if test x"$enablestring" = xdisable; then
7509 if test $wxUSE_FS_ZIP = yes; then
7515 result=$wxUSE_FS_ZIP
7518 { echo "$as_me:$LINENO: result: $result" >&5
7519 echo "${ECHO_T}$result" >&6; }
7523 defaultval=$wxUSE_ALL_FEATURES
7524 if test -z "$defaultval"; then
7525 if test x"$enablestring" = xdisable; then
7532 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-geometry" >&5
7533 echo $ECHO_N "checking for --${enablestring:-enable}-geometry... $ECHO_C" >&6; }
7535 # Check whether --enable-geometry was given.
7536 if test "${enable_geometry+set}" = set; then
7537 enableval=$enable_geometry;
7538 if test "$enableval" = yes; then
7539 wx_cv_use_geometry='wxUSE_GEOMETRY=yes'
7541 wx_cv_use_geometry='wxUSE_GEOMETRY=no'
7546 LINE=`grep "^wxUSE_GEOMETRY=" ${wx_arg_cache_file}`
7547 if test "x$LINE" != x ; then
7548 eval "DEFAULT_$LINE"
7553 wx_cv_use_geometry='wxUSE_GEOMETRY=${'DEFAULT_wxUSE_GEOMETRY":-$defaultval}"
7558 eval "$wx_cv_use_geometry"
7559 if test "$no_cache" != 1; then
7560 echo $wx_cv_use_geometry >> ${wx_arg_cache_file}.tmp
7563 if test x"$enablestring" = xdisable; then
7564 if test $wxUSE_GEOMETRY = yes; then
7570 result=$wxUSE_GEOMETRY
7573 { echo "$as_me:$LINENO: result: $result" >&5
7574 echo "${ECHO_T}$result" >&6; }
7578 defaultval=$wxUSE_ALL_FEATURES
7579 if test -z "$defaultval"; then
7580 if test x"$enablestring" = xdisable; then
7587 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-log" >&5
7588 echo $ECHO_N "checking for --${enablestring:-enable}-log... $ECHO_C" >&6; }
7590 # Check whether --enable-log was given.
7591 if test "${enable_log+set}" = set; then
7592 enableval=$enable_log;
7593 if test "$enableval" = yes; then
7594 wx_cv_use_log='wxUSE_LOG=yes'
7596 wx_cv_use_log='wxUSE_LOG=no'
7601 LINE=`grep "^wxUSE_LOG=" ${wx_arg_cache_file}`
7602 if test "x$LINE" != x ; then
7603 eval "DEFAULT_$LINE"
7608 wx_cv_use_log='wxUSE_LOG=${'DEFAULT_wxUSE_LOG":-$defaultval}"
7613 eval "$wx_cv_use_log"
7614 if test "$no_cache" != 1; then
7615 echo $wx_cv_use_log >> ${wx_arg_cache_file}.tmp
7618 if test x"$enablestring" = xdisable; then
7619 if test $wxUSE_LOG = yes; then
7628 { echo "$as_me:$LINENO: result: $result" >&5
7629 echo "${ECHO_T}$result" >&6; }
7633 defaultval=$wxUSE_ALL_FEATURES
7634 if test -z "$defaultval"; then
7635 if test x"$enablestring" = xdisable; then
7642 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-longlong" >&5
7643 echo $ECHO_N "checking for --${enablestring:-enable}-longlong... $ECHO_C" >&6; }
7645 # Check whether --enable-longlong was given.
7646 if test "${enable_longlong+set}" = set; then
7647 enableval=$enable_longlong;
7648 if test "$enableval" = yes; then
7649 wx_cv_use_longlong='wxUSE_LONGLONG=yes'
7651 wx_cv_use_longlong='wxUSE_LONGLONG=no'
7656 LINE=`grep "^wxUSE_LONGLONG=" ${wx_arg_cache_file}`
7657 if test "x$LINE" != x ; then
7658 eval "DEFAULT_$LINE"
7663 wx_cv_use_longlong='wxUSE_LONGLONG=${'DEFAULT_wxUSE_LONGLONG":-$defaultval}"
7668 eval "$wx_cv_use_longlong"
7669 if test "$no_cache" != 1; then
7670 echo $wx_cv_use_longlong >> ${wx_arg_cache_file}.tmp
7673 if test x"$enablestring" = xdisable; then
7674 if test $wxUSE_LONGLONG = yes; then
7680 result=$wxUSE_LONGLONG
7683 { echo "$as_me:$LINENO: result: $result" >&5
7684 echo "${ECHO_T}$result" >&6; }
7688 defaultval=$wxUSE_ALL_FEATURES
7689 if test -z "$defaultval"; then
7690 if test x"$enablestring" = xdisable; then
7697 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mimetype" >&5
7698 echo $ECHO_N "checking for --${enablestring:-enable}-mimetype... $ECHO_C" >&6; }
7700 # Check whether --enable-mimetype was given.
7701 if test "${enable_mimetype+set}" = set; then
7702 enableval=$enable_mimetype;
7703 if test "$enableval" = yes; then
7704 wx_cv_use_mimetype='wxUSE_MIMETYPE=yes'
7706 wx_cv_use_mimetype='wxUSE_MIMETYPE=no'
7711 LINE=`grep "^wxUSE_MIMETYPE=" ${wx_arg_cache_file}`
7712 if test "x$LINE" != x ; then
7713 eval "DEFAULT_$LINE"
7718 wx_cv_use_mimetype='wxUSE_MIMETYPE=${'DEFAULT_wxUSE_MIMETYPE":-$defaultval}"
7723 eval "$wx_cv_use_mimetype"
7724 if test "$no_cache" != 1; then
7725 echo $wx_cv_use_mimetype >> ${wx_arg_cache_file}.tmp
7728 if test x"$enablestring" = xdisable; then
7729 if test $wxUSE_MIMETYPE = yes; then
7735 result=$wxUSE_MIMETYPE
7738 { echo "$as_me:$LINENO: result: $result" >&5
7739 echo "${ECHO_T}$result" >&6; }
7743 defaultval=$wxUSE_ALL_FEATURES
7744 if test -z "$defaultval"; then
7745 if test x"$enablestring" = xdisable; then
7752 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-snglinst" >&5
7753 echo $ECHO_N "checking for --${enablestring:-enable}-snglinst... $ECHO_C" >&6; }
7755 # Check whether --enable-snglinst was given.
7756 if test "${enable_snglinst+set}" = set; then
7757 enableval=$enable_snglinst;
7758 if test "$enableval" = yes; then
7759 wx_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=yes'
7761 wx_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=no'
7766 LINE=`grep "^wxUSE_SNGLINST_CHECKER=" ${wx_arg_cache_file}`
7767 if test "x$LINE" != x ; then
7768 eval "DEFAULT_$LINE"
7773 wx_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=${'DEFAULT_wxUSE_SNGLINST_CHECKER":-$defaultval}"
7778 eval "$wx_cv_use_snglinst"
7779 if test "$no_cache" != 1; then
7780 echo $wx_cv_use_snglinst >> ${wx_arg_cache_file}.tmp
7783 if test x"$enablestring" = xdisable; then
7784 if test $wxUSE_SNGLINST_CHECKER = yes; then
7790 result=$wxUSE_SNGLINST_CHECKER
7793 { echo "$as_me:$LINENO: result: $result" >&5
7794 echo "${ECHO_T}$result" >&6; }
7798 defaultval=$wxUSE_ALL_FEATURES
7799 if test -z "$defaultval"; then
7800 if test x"$enablestring" = xdisable; then
7807 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stdpaths" >&5
7808 echo $ECHO_N "checking for --${enablestring:-enable}-stdpaths... $ECHO_C" >&6; }
7810 # Check whether --enable-stdpaths was given.
7811 if test "${enable_stdpaths+set}" = set; then
7812 enableval=$enable_stdpaths;
7813 if test "$enableval" = yes; then
7814 wx_cv_use_stdpaths='wxUSE_STDPATHS=yes'
7816 wx_cv_use_stdpaths='wxUSE_STDPATHS=no'
7821 LINE=`grep "^wxUSE_STDPATHS=" ${wx_arg_cache_file}`
7822 if test "x$LINE" != x ; then
7823 eval "DEFAULT_$LINE"
7828 wx_cv_use_stdpaths='wxUSE_STDPATHS=${'DEFAULT_wxUSE_STDPATHS":-$defaultval}"
7833 eval "$wx_cv_use_stdpaths"
7834 if test "$no_cache" != 1; then
7835 echo $wx_cv_use_stdpaths >> ${wx_arg_cache_file}.tmp
7838 if test x"$enablestring" = xdisable; then
7839 if test $wxUSE_STDPATHS = yes; then
7845 result=$wxUSE_STDPATHS
7848 { echo "$as_me:$LINENO: result: $result" >&5
7849 echo "${ECHO_T}$result" >&6; }
7853 defaultval=$wxUSE_ALL_FEATURES
7854 if test -z "$defaultval"; then
7855 if test x"$enablestring" = xdisable; then
7862 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stopwatch" >&5
7863 echo $ECHO_N "checking for --${enablestring:-enable}-stopwatch... $ECHO_C" >&6; }
7865 # Check whether --enable-stopwatch was given.
7866 if test "${enable_stopwatch+set}" = set; then
7867 enableval=$enable_stopwatch;
7868 if test "$enableval" = yes; then
7869 wx_cv_use_stopwatch='wxUSE_STOPWATCH=yes'
7871 wx_cv_use_stopwatch='wxUSE_STOPWATCH=no'
7876 LINE=`grep "^wxUSE_STOPWATCH=" ${wx_arg_cache_file}`
7877 if test "x$LINE" != x ; then
7878 eval "DEFAULT_$LINE"
7883 wx_cv_use_stopwatch='wxUSE_STOPWATCH=${'DEFAULT_wxUSE_STOPWATCH":-$defaultval}"
7888 eval "$wx_cv_use_stopwatch"
7889 if test "$no_cache" != 1; then
7890 echo $wx_cv_use_stopwatch >> ${wx_arg_cache_file}.tmp
7893 if test x"$enablestring" = xdisable; then
7894 if test $wxUSE_STOPWATCH = yes; then
7900 result=$wxUSE_STOPWATCH
7903 { echo "$as_me:$LINENO: result: $result" >&5
7904 echo "${ECHO_T}$result" >&6; }
7908 defaultval=$wxUSE_ALL_FEATURES
7909 if test -z "$defaultval"; then
7910 if test x"$enablestring" = xdisable; then
7917 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-streams" >&5
7918 echo $ECHO_N "checking for --${enablestring:-enable}-streams... $ECHO_C" >&6; }
7920 # Check whether --enable-streams was given.
7921 if test "${enable_streams+set}" = set; then
7922 enableval=$enable_streams;
7923 if test "$enableval" = yes; then
7924 wx_cv_use_streams='wxUSE_STREAMS=yes'
7926 wx_cv_use_streams='wxUSE_STREAMS=no'
7931 LINE=`grep "^wxUSE_STREAMS=" ${wx_arg_cache_file}`
7932 if test "x$LINE" != x ; then
7933 eval "DEFAULT_$LINE"
7938 wx_cv_use_streams='wxUSE_STREAMS=${'DEFAULT_wxUSE_STREAMS":-$defaultval}"
7943 eval "$wx_cv_use_streams"
7944 if test "$no_cache" != 1; then
7945 echo $wx_cv_use_streams >> ${wx_arg_cache_file}.tmp
7948 if test x"$enablestring" = xdisable; then
7949 if test $wxUSE_STREAMS = yes; then
7955 result=$wxUSE_STREAMS
7958 { echo "$as_me:$LINENO: result: $result" >&5
7959 echo "${ECHO_T}$result" >&6; }
7963 defaultval=$wxUSE_ALL_FEATURES
7964 if test -z "$defaultval"; then
7965 if test x"$enablestring" = xdisable; then
7972 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-system_options" >&5
7973 echo $ECHO_N "checking for --${enablestring:-enable}-system_options... $ECHO_C" >&6; }
7975 # Check whether --enable-system_options was given.
7976 if test "${enable_system_options+set}" = set; then
7977 enableval=$enable_system_options;
7978 if test "$enableval" = yes; then
7979 wx_cv_use_system_options='wxUSE_SYSTEM_OPTIONS=yes'
7981 wx_cv_use_system_options='wxUSE_SYSTEM_OPTIONS=no'
7986 LINE=`grep "^wxUSE_SYSTEM_OPTIONS=" ${wx_arg_cache_file}`
7987 if test "x$LINE" != x ; then
7988 eval "DEFAULT_$LINE"
7993 wx_cv_use_system_options='wxUSE_SYSTEM_OPTIONS=${'DEFAULT_wxUSE_SYSTEM_OPTIONS":-$defaultval}"
7998 eval "$wx_cv_use_system_options"
7999 if test "$no_cache" != 1; then
8000 echo $wx_cv_use_system_options >> ${wx_arg_cache_file}.tmp
8003 if test x"$enablestring" = xdisable; then
8004 if test $wxUSE_SYSTEM_OPTIONS = yes; then
8010 result=$wxUSE_SYSTEM_OPTIONS
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}-tarstream" >&5
8028 echo $ECHO_N "checking for --${enablestring:-enable}-tarstream... $ECHO_C" >&6; }
8030 # Check whether --enable-tarstream was given.
8031 if test "${enable_tarstream+set}" = set; then
8032 enableval=$enable_tarstream;
8033 if test "$enableval" = yes; then
8034 wx_cv_use_tarstream='wxUSE_TARSTREAM=yes'
8036 wx_cv_use_tarstream='wxUSE_TARSTREAM=no'
8041 LINE=`grep "^wxUSE_TARSTREAM=" ${wx_arg_cache_file}`
8042 if test "x$LINE" != x ; then
8043 eval "DEFAULT_$LINE"
8048 wx_cv_use_tarstream='wxUSE_TARSTREAM=${'DEFAULT_wxUSE_TARSTREAM":-$defaultval}"
8053 eval "$wx_cv_use_tarstream"
8054 if test "$no_cache" != 1; then
8055 echo $wx_cv_use_tarstream >> ${wx_arg_cache_file}.tmp
8058 if test x"$enablestring" = xdisable; then
8059 if test $wxUSE_TARSTREAM = yes; then
8065 result=$wxUSE_TARSTREAM
8068 { echo "$as_me:$LINENO: result: $result" >&5
8069 echo "${ECHO_T}$result" >&6; }
8073 defaultval=$wxUSE_ALL_FEATURES
8074 if test -z "$defaultval"; then
8075 if test x"$enablestring" = xdisable; then
8082 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textbuf" >&5
8083 echo $ECHO_N "checking for --${enablestring:-enable}-textbuf... $ECHO_C" >&6; }
8085 # Check whether --enable-textbuf was given.
8086 if test "${enable_textbuf+set}" = set; then
8087 enableval=$enable_textbuf;
8088 if test "$enableval" = yes; then
8089 wx_cv_use_textbuf='wxUSE_TEXTBUFFER=yes'
8091 wx_cv_use_textbuf='wxUSE_TEXTBUFFER=no'
8096 LINE=`grep "^wxUSE_TEXTBUFFER=" ${wx_arg_cache_file}`
8097 if test "x$LINE" != x ; then
8098 eval "DEFAULT_$LINE"
8103 wx_cv_use_textbuf='wxUSE_TEXTBUFFER=${'DEFAULT_wxUSE_TEXTBUFFER":-$defaultval}"
8108 eval "$wx_cv_use_textbuf"
8109 if test "$no_cache" != 1; then
8110 echo $wx_cv_use_textbuf >> ${wx_arg_cache_file}.tmp
8113 if test x"$enablestring" = xdisable; then
8114 if test $wxUSE_TEXTBUFFER = yes; then
8120 result=$wxUSE_TEXTBUFFER
8123 { echo "$as_me:$LINENO: result: $result" >&5
8124 echo "${ECHO_T}$result" >&6; }
8128 defaultval=$wxUSE_ALL_FEATURES
8129 if test -z "$defaultval"; then
8130 if test x"$enablestring" = xdisable; then
8137 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textfile" >&5
8138 echo $ECHO_N "checking for --${enablestring:-enable}-textfile... $ECHO_C" >&6; }
8140 # Check whether --enable-textfile was given.
8141 if test "${enable_textfile+set}" = set; then
8142 enableval=$enable_textfile;
8143 if test "$enableval" = yes; then
8144 wx_cv_use_textfile='wxUSE_TEXTFILE=yes'
8146 wx_cv_use_textfile='wxUSE_TEXTFILE=no'
8151 LINE=`grep "^wxUSE_TEXTFILE=" ${wx_arg_cache_file}`
8152 if test "x$LINE" != x ; then
8153 eval "DEFAULT_$LINE"
8158 wx_cv_use_textfile='wxUSE_TEXTFILE=${'DEFAULT_wxUSE_TEXTFILE":-$defaultval}"
8163 eval "$wx_cv_use_textfile"
8164 if test "$no_cache" != 1; then
8165 echo $wx_cv_use_textfile >> ${wx_arg_cache_file}.tmp
8168 if test x"$enablestring" = xdisable; then
8169 if test $wxUSE_TEXTFILE = yes; then
8175 result=$wxUSE_TEXTFILE
8178 { echo "$as_me:$LINENO: result: $result" >&5
8179 echo "${ECHO_T}$result" >&6; }
8183 defaultval=$wxUSE_ALL_FEATURES
8184 if test -z "$defaultval"; then
8185 if test x"$enablestring" = xdisable; then
8192 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-timer" >&5
8193 echo $ECHO_N "checking for --${enablestring:-enable}-timer... $ECHO_C" >&6; }
8195 # Check whether --enable-timer was given.
8196 if test "${enable_timer+set}" = set; then
8197 enableval=$enable_timer;
8198 if test "$enableval" = yes; then
8199 wx_cv_use_timer='wxUSE_TIMER=yes'
8201 wx_cv_use_timer='wxUSE_TIMER=no'
8206 LINE=`grep "^wxUSE_TIMER=" ${wx_arg_cache_file}`
8207 if test "x$LINE" != x ; then
8208 eval "DEFAULT_$LINE"
8213 wx_cv_use_timer='wxUSE_TIMER=${'DEFAULT_wxUSE_TIMER":-$defaultval}"
8218 eval "$wx_cv_use_timer"
8219 if test "$no_cache" != 1; then
8220 echo $wx_cv_use_timer >> ${wx_arg_cache_file}.tmp
8223 if test x"$enablestring" = xdisable; then
8224 if test $wxUSE_TIMER = yes; then
8233 { echo "$as_me:$LINENO: result: $result" >&5
8234 echo "${ECHO_T}$result" >&6; }
8238 defaultval=$wxUSE_ALL_FEATURES
8239 if test -z "$defaultval"; then
8240 if test x"$enablestring" = xdisable; then
8247 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sound" >&5
8248 echo $ECHO_N "checking for --${enablestring:-enable}-sound... $ECHO_C" >&6; }
8250 # Check whether --enable-sound was given.
8251 if test "${enable_sound+set}" = set; then
8252 enableval=$enable_sound;
8253 if test "$enableval" = yes; then
8254 wx_cv_use_sound='wxUSE_SOUND=yes'
8256 wx_cv_use_sound='wxUSE_SOUND=no'
8261 LINE=`grep "^wxUSE_SOUND=" ${wx_arg_cache_file}`
8262 if test "x$LINE" != x ; then
8263 eval "DEFAULT_$LINE"
8268 wx_cv_use_sound='wxUSE_SOUND=${'DEFAULT_wxUSE_SOUND":-$defaultval}"
8273 eval "$wx_cv_use_sound"
8274 if test "$no_cache" != 1; then
8275 echo $wx_cv_use_sound >> ${wx_arg_cache_file}.tmp
8278 if test x"$enablestring" = xdisable; then
8279 if test $wxUSE_SOUND = yes; then
8288 { echo "$as_me:$LINENO: result: $result" >&5
8289 echo "${ECHO_T}$result" >&6; }
8293 defaultval=$wxUSE_ALL_FEATURES
8294 if test -z "$defaultval"; then
8295 if test x"$enablestring" = xdisable; then
8302 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mediactrl" >&5
8303 echo $ECHO_N "checking for --${enablestring:-enable}-mediactrl... $ECHO_C" >&6; }
8305 # Check whether --enable-mediactrl was given.
8306 if test "${enable_mediactrl+set}" = set; then
8307 enableval=$enable_mediactrl;
8308 if test "$enableval" = yes; then
8309 wx_cv_use_mediactrl='wxUSE_MEDIACTRL=yes'
8311 wx_cv_use_mediactrl='wxUSE_MEDIACTRL=no'
8316 LINE=`grep "^wxUSE_MEDIACTRL=" ${wx_arg_cache_file}`
8317 if test "x$LINE" != x ; then
8318 eval "DEFAULT_$LINE"
8323 wx_cv_use_mediactrl='wxUSE_MEDIACTRL=${'DEFAULT_wxUSE_MEDIACTRL":-$defaultval}"
8328 eval "$wx_cv_use_mediactrl"
8329 if test "$no_cache" != 1; then
8330 echo $wx_cv_use_mediactrl >> ${wx_arg_cache_file}.tmp
8333 if test x"$enablestring" = xdisable; then
8334 if test $wxUSE_MEDIACTRL = yes; then
8340 result=$wxUSE_MEDIACTRL
8343 { echo "$as_me:$LINENO: result: $result" >&5
8344 echo "${ECHO_T}$result" >&6; }
8348 defaultval=$wxUSE_ALL_FEATURES
8349 if test -z "$defaultval"; then
8350 if test x"$enablestring" = xdisable; then
8357 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gstreamer8" >&5
8358 echo $ECHO_N "checking for --${enablestring:-enable}-gstreamer8... $ECHO_C" >&6; }
8360 # Check whether --enable-gstreamer8 was given.
8361 if test "${enable_gstreamer8+set}" = set; then
8362 enableval=$enable_gstreamer8;
8363 if test "$enableval" = yes; then
8364 wx_cv_use_gstreamer8='wxUSE_GSTREAMER8=yes'
8366 wx_cv_use_gstreamer8='wxUSE_GSTREAMER8=no'
8371 LINE=`grep "^wxUSE_GSTREAMER8=" ${wx_arg_cache_file}`
8372 if test "x$LINE" != x ; then
8373 eval "DEFAULT_$LINE"
8378 wx_cv_use_gstreamer8='wxUSE_GSTREAMER8=${'DEFAULT_wxUSE_GSTREAMER8":-$defaultval}"
8383 eval "$wx_cv_use_gstreamer8"
8384 if test "$no_cache" != 1; then
8385 echo $wx_cv_use_gstreamer8 >> ${wx_arg_cache_file}.tmp
8388 if test x"$enablestring" = xdisable; then
8389 if test $wxUSE_GSTREAMER8 = yes; then
8395 result=$wxUSE_GSTREAMER8
8398 { echo "$as_me:$LINENO: result: $result" >&5
8399 echo "${ECHO_T}$result" >&6; }
8403 defaultval=$wxUSE_ALL_FEATURES
8404 if test -z "$defaultval"; then
8405 if test x"$enablestring" = xdisable; then
8412 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-printfposparam" >&5
8413 echo $ECHO_N "checking for --${enablestring:-enable}-printfposparam... $ECHO_C" >&6; }
8415 # Check whether --enable-printfposparam was given.
8416 if test "${enable_printfposparam+set}" = set; then
8417 enableval=$enable_printfposparam;
8418 if test "$enableval" = yes; then
8419 wx_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS=yes'
8421 wx_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS=no'
8426 LINE=`grep "^wxUSE_PRINTF_POS_PARAMS=" ${wx_arg_cache_file}`
8427 if test "x$LINE" != x ; then
8428 eval "DEFAULT_$LINE"
8433 wx_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS=${'DEFAULT_wxUSE_PRINTF_POS_PARAMS":-$defaultval}"
8438 eval "$wx_cv_use_printfposparam"
8439 if test "$no_cache" != 1; then
8440 echo $wx_cv_use_printfposparam >> ${wx_arg_cache_file}.tmp
8443 if test x"$enablestring" = xdisable; then
8444 if test $wxUSE_PRINTF_POS_PARAMS = yes; then
8450 result=$wxUSE_PRINTF_POS_PARAMS
8453 { echo "$as_me:$LINENO: result: $result" >&5
8454 echo "${ECHO_T}$result" >&6; }
8458 defaultval=$wxUSE_ALL_FEATURES
8459 if test -z "$defaultval"; then
8460 if test x"$enablestring" = xdisable; then
8467 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-zipstream" >&5
8468 echo $ECHO_N "checking for --${enablestring:-enable}-zipstream... $ECHO_C" >&6; }
8470 # Check whether --enable-zipstream was given.
8471 if test "${enable_zipstream+set}" = set; then
8472 enableval=$enable_zipstream;
8473 if test "$enableval" = yes; then
8474 wx_cv_use_zipstream='wxUSE_ZIPSTREAM=yes'
8476 wx_cv_use_zipstream='wxUSE_ZIPSTREAM=no'
8481 LINE=`grep "^wxUSE_ZIPSTREAM=" ${wx_arg_cache_file}`
8482 if test "x$LINE" != x ; then
8483 eval "DEFAULT_$LINE"
8488 wx_cv_use_zipstream='wxUSE_ZIPSTREAM=${'DEFAULT_wxUSE_ZIPSTREAM":-$defaultval}"
8493 eval "$wx_cv_use_zipstream"
8494 if test "$no_cache" != 1; then
8495 echo $wx_cv_use_zipstream >> ${wx_arg_cache_file}.tmp
8498 if test x"$enablestring" = xdisable; then
8499 if test $wxUSE_ZIPSTREAM = yes; then
8505 result=$wxUSE_ZIPSTREAM
8508 { echo "$as_me:$LINENO: result: $result" >&5
8509 echo "${ECHO_T}$result" >&6; }
8514 defaultval=$wxUSE_ALL_FEATURES
8515 if test -z "$defaultval"; then
8516 if test x"$enablestring" = xdisable; then
8523 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-url" >&5
8524 echo $ECHO_N "checking for --${enablestring:-enable}-url... $ECHO_C" >&6; }
8526 # Check whether --enable-url was given.
8527 if test "${enable_url+set}" = set; then
8528 enableval=$enable_url;
8529 if test "$enableval" = yes; then
8530 wx_cv_use_url='wxUSE_URL=yes'
8532 wx_cv_use_url='wxUSE_URL=no'
8537 LINE=`grep "^wxUSE_URL=" ${wx_arg_cache_file}`
8538 if test "x$LINE" != x ; then
8539 eval "DEFAULT_$LINE"
8544 wx_cv_use_url='wxUSE_URL=${'DEFAULT_wxUSE_URL":-$defaultval}"
8549 eval "$wx_cv_use_url"
8550 if test "$no_cache" != 1; then
8551 echo $wx_cv_use_url >> ${wx_arg_cache_file}.tmp
8554 if test x"$enablestring" = xdisable; then
8555 if test $wxUSE_URL = yes; then
8564 { echo "$as_me:$LINENO: result: $result" >&5
8565 echo "${ECHO_T}$result" >&6; }
8569 defaultval=$wxUSE_ALL_FEATURES
8570 if test -z "$defaultval"; then
8571 if test x"$enablestring" = xdisable; then
8578 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-variant" >&5
8579 echo $ECHO_N "checking for --${enablestring:-enable}-variant... $ECHO_C" >&6; }
8581 # Check whether --enable-variant was given.
8582 if test "${enable_variant+set}" = set; then
8583 enableval=$enable_variant;
8584 if test "$enableval" = yes; then
8585 wx_cv_use_variant='wxUSE_VARIANT=yes'
8587 wx_cv_use_variant='wxUSE_VARIANT=no'
8592 LINE=`grep "^wxUSE_VARIANT=" ${wx_arg_cache_file}`
8593 if test "x$LINE" != x ; then
8594 eval "DEFAULT_$LINE"
8599 wx_cv_use_variant='wxUSE_VARIANT=${'DEFAULT_wxUSE_VARIANT":-$defaultval}"
8604 eval "$wx_cv_use_variant"
8605 if test "$no_cache" != 1; then
8606 echo $wx_cv_use_variant >> ${wx_arg_cache_file}.tmp
8609 if test x"$enablestring" = xdisable; then
8610 if test $wxUSE_VARIANT = yes; then
8616 result=$wxUSE_VARIANT
8619 { echo "$as_me:$LINENO: result: $result" >&5
8620 echo "${ECHO_T}$result" >&6; }
8624 defaultval=$wxUSE_ALL_FEATURES
8625 if test -z "$defaultval"; then
8626 if test x"$enablestring" = xdisable; then
8633 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol" >&5
8634 echo $ECHO_N "checking for --${enablestring:-enable}-protocol... $ECHO_C" >&6; }
8636 # Check whether --enable-protocol was given.
8637 if test "${enable_protocol+set}" = set; then
8638 enableval=$enable_protocol;
8639 if test "$enableval" = yes; then
8640 wx_cv_use_protocol='wxUSE_PROTOCOL=yes'
8642 wx_cv_use_protocol='wxUSE_PROTOCOL=no'
8647 LINE=`grep "^wxUSE_PROTOCOL=" ${wx_arg_cache_file}`
8648 if test "x$LINE" != x ; then
8649 eval "DEFAULT_$LINE"
8654 wx_cv_use_protocol='wxUSE_PROTOCOL=${'DEFAULT_wxUSE_PROTOCOL":-$defaultval}"
8659 eval "$wx_cv_use_protocol"
8660 if test "$no_cache" != 1; then
8661 echo $wx_cv_use_protocol >> ${wx_arg_cache_file}.tmp
8664 if test x"$enablestring" = xdisable; then
8665 if test $wxUSE_PROTOCOL = yes; then
8671 result=$wxUSE_PROTOCOL
8674 { echo "$as_me:$LINENO: result: $result" >&5
8675 echo "${ECHO_T}$result" >&6; }
8679 defaultval=$wxUSE_ALL_FEATURES
8680 if test -z "$defaultval"; then
8681 if test x"$enablestring" = xdisable; then
8688 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_http" >&5
8689 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_http... $ECHO_C" >&6; }
8691 # Check whether --enable-protocol_http was given.
8692 if test "${enable_protocol_http+set}" = set; then
8693 enableval=$enable_protocol_http;
8694 if test "$enableval" = yes; then
8695 wx_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP=yes'
8697 wx_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP=no'
8702 LINE=`grep "^wxUSE_PROTOCOL_HTTP=" ${wx_arg_cache_file}`
8703 if test "x$LINE" != x ; then
8704 eval "DEFAULT_$LINE"
8709 wx_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP=${'DEFAULT_wxUSE_PROTOCOL_HTTP":-$defaultval}"
8714 eval "$wx_cv_use_protocol_http"
8715 if test "$no_cache" != 1; then
8716 echo $wx_cv_use_protocol_http >> ${wx_arg_cache_file}.tmp
8719 if test x"$enablestring" = xdisable; then
8720 if test $wxUSE_PROTOCOL_HTTP = yes; then
8726 result=$wxUSE_PROTOCOL_HTTP
8729 { echo "$as_me:$LINENO: result: $result" >&5
8730 echo "${ECHO_T}$result" >&6; }
8734 defaultval=$wxUSE_ALL_FEATURES
8735 if test -z "$defaultval"; then
8736 if test x"$enablestring" = xdisable; then
8743 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_ftp" >&5
8744 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_ftp... $ECHO_C" >&6; }
8746 # Check whether --enable-protocol_ftp was given.
8747 if test "${enable_protocol_ftp+set}" = set; then
8748 enableval=$enable_protocol_ftp;
8749 if test "$enableval" = yes; then
8750 wx_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=yes'
8752 wx_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=no'
8757 LINE=`grep "^wxUSE_PROTOCOL_FTP=" ${wx_arg_cache_file}`
8758 if test "x$LINE" != x ; then
8759 eval "DEFAULT_$LINE"
8764 wx_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=${'DEFAULT_wxUSE_PROTOCOL_FTP":-$defaultval}"
8769 eval "$wx_cv_use_protocol_ftp"
8770 if test "$no_cache" != 1; then
8771 echo $wx_cv_use_protocol_ftp >> ${wx_arg_cache_file}.tmp
8774 if test x"$enablestring" = xdisable; then
8775 if test $wxUSE_PROTOCOL_FTP = yes; then
8781 result=$wxUSE_PROTOCOL_FTP
8784 { echo "$as_me:$LINENO: result: $result" >&5
8785 echo "${ECHO_T}$result" >&6; }
8789 defaultval=$wxUSE_ALL_FEATURES
8790 if test -z "$defaultval"; then
8791 if test x"$enablestring" = xdisable; then
8798 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_file" >&5
8799 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_file... $ECHO_C" >&6; }
8801 # Check whether --enable-protocol_file was given.
8802 if test "${enable_protocol_file+set}" = set; then
8803 enableval=$enable_protocol_file;
8804 if test "$enableval" = yes; then
8805 wx_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=yes'
8807 wx_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=no'
8812 LINE=`grep "^wxUSE_PROTOCOL_FILE=" ${wx_arg_cache_file}`
8813 if test "x$LINE" != x ; then
8814 eval "DEFAULT_$LINE"
8819 wx_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=${'DEFAULT_wxUSE_PROTOCOL_FILE":-$defaultval}"
8824 eval "$wx_cv_use_protocol_file"
8825 if test "$no_cache" != 1; then
8826 echo $wx_cv_use_protocol_file >> ${wx_arg_cache_file}.tmp
8829 if test x"$enablestring" = xdisable; then
8830 if test $wxUSE_PROTOCOL_FILE = yes; then
8836 result=$wxUSE_PROTOCOL_FILE
8839 { echo "$as_me:$LINENO: result: $result" >&5
8840 echo "${ECHO_T}$result" >&6; }
8845 defaultval=$wxUSE_ALL_FEATURES
8846 if test -z "$defaultval"; then
8847 if test x"$enablestring" = xdisable; then
8854 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-threads" >&5
8855 echo $ECHO_N "checking for --${enablestring:-enable}-threads... $ECHO_C" >&6; }
8857 # Check whether --enable-threads was given.
8858 if test "${enable_threads+set}" = set; then
8859 enableval=$enable_threads;
8860 if test "$enableval" = yes; then
8861 wx_cv_use_threads='wxUSE_THREADS=yes'
8863 wx_cv_use_threads='wxUSE_THREADS=no'
8868 LINE=`grep "^wxUSE_THREADS=" ${wx_arg_cache_file}`
8869 if test "x$LINE" != x ; then
8870 eval "DEFAULT_$LINE"
8875 wx_cv_use_threads='wxUSE_THREADS=${'DEFAULT_wxUSE_THREADS":-$defaultval}"
8880 eval "$wx_cv_use_threads"
8881 if test "$no_cache" != 1; then
8882 echo $wx_cv_use_threads >> ${wx_arg_cache_file}.tmp
8885 if test x"$enablestring" = xdisable; then
8886 if test $wxUSE_THREADS = yes; then
8892 result=$wxUSE_THREADS
8895 { echo "$as_me:$LINENO: result: $result" >&5
8896 echo "${ECHO_T}$result" >&6; }
8899 if test "$wxUSE_GUI" = "yes"; then
8904 defaultval=$wxUSE_ALL_FEATURES
8905 if test -z "$defaultval"; then
8906 if test x"$enablestring" = xdisable; then
8913 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-docview" >&5
8914 echo $ECHO_N "checking for --${enablestring:-enable}-docview... $ECHO_C" >&6; }
8916 # Check whether --enable-docview was given.
8917 if test "${enable_docview+set}" = set; then
8918 enableval=$enable_docview;
8919 if test "$enableval" = yes; then
8920 wx_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=yes'
8922 wx_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=no'
8927 LINE=`grep "^wxUSE_DOC_VIEW_ARCHITECTURE=" ${wx_arg_cache_file}`
8928 if test "x$LINE" != x ; then
8929 eval "DEFAULT_$LINE"
8934 wx_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=${'DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE":-$defaultval}"
8939 eval "$wx_cv_use_docview"
8940 if test "$no_cache" != 1; then
8941 echo $wx_cv_use_docview >> ${wx_arg_cache_file}.tmp
8944 if test x"$enablestring" = xdisable; then
8945 if test $wxUSE_DOC_VIEW_ARCHITECTURE = yes; then
8951 result=$wxUSE_DOC_VIEW_ARCHITECTURE
8954 { echo "$as_me:$LINENO: result: $result" >&5
8955 echo "${ECHO_T}$result" >&6; }
8959 defaultval=$wxUSE_ALL_FEATURES
8960 if test -z "$defaultval"; then
8961 if test x"$enablestring" = xdisable; then
8968 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-help" >&5
8969 echo $ECHO_N "checking for --${enablestring:-enable}-help... $ECHO_C" >&6; }
8971 # Check whether --enable-help was given.
8972 if test "${enable_help+set}" = set; then
8973 enableval=$enable_help;
8974 if test "$enableval" = yes; then
8975 wx_cv_use_help='wxUSE_HELP=yes'
8977 wx_cv_use_help='wxUSE_HELP=no'
8982 LINE=`grep "^wxUSE_HELP=" ${wx_arg_cache_file}`
8983 if test "x$LINE" != x ; then
8984 eval "DEFAULT_$LINE"
8989 wx_cv_use_help='wxUSE_HELP=${'DEFAULT_wxUSE_HELP":-$defaultval}"
8994 eval "$wx_cv_use_help"
8995 if test "$no_cache" != 1; then
8996 echo $wx_cv_use_help >> ${wx_arg_cache_file}.tmp
8999 if test x"$enablestring" = xdisable; then
9000 if test $wxUSE_HELP = yes; then
9009 { echo "$as_me:$LINENO: result: $result" >&5
9010 echo "${ECHO_T}$result" >&6; }
9014 defaultval=$wxUSE_ALL_FEATURES
9015 if test -z "$defaultval"; then
9016 if test x"$enablestring" = xdisable; then
9023 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mshtmlhelp" >&5
9024 echo $ECHO_N "checking for --${enablestring:-enable}-mshtmlhelp... $ECHO_C" >&6; }
9026 # Check whether --enable-mshtmlhelp was given.
9027 if test "${enable_mshtmlhelp+set}" = set; then
9028 enableval=$enable_mshtmlhelp;
9029 if test "$enableval" = yes; then
9030 wx_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=yes'
9032 wx_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=no'
9037 LINE=`grep "^wxUSE_MS_HTML_HELP=" ${wx_arg_cache_file}`
9038 if test "x$LINE" != x ; then
9039 eval "DEFAULT_$LINE"
9044 wx_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=${'DEFAULT_wxUSE_MS_HTML_HELP":-$defaultval}"
9049 eval "$wx_cv_use_mshtmlhelp"
9050 if test "$no_cache" != 1; then
9051 echo $wx_cv_use_mshtmlhelp >> ${wx_arg_cache_file}.tmp
9054 if test x"$enablestring" = xdisable; then
9055 if test $wxUSE_MS_HTML_HELP = yes; then
9061 result=$wxUSE_MS_HTML_HELP
9064 { echo "$as_me:$LINENO: result: $result" >&5
9065 echo "${ECHO_T}$result" >&6; }
9069 defaultval=$wxUSE_ALL_FEATURES
9070 if test -z "$defaultval"; then
9071 if test x"$enablestring" = xdisable; then
9078 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-html" >&5
9079 echo $ECHO_N "checking for --${enablestring:-enable}-html... $ECHO_C" >&6; }
9081 # Check whether --enable-html was given.
9082 if test "${enable_html+set}" = set; then
9083 enableval=$enable_html;
9084 if test "$enableval" = yes; then
9085 wx_cv_use_html='wxUSE_HTML=yes'
9087 wx_cv_use_html='wxUSE_HTML=no'
9092 LINE=`grep "^wxUSE_HTML=" ${wx_arg_cache_file}`
9093 if test "x$LINE" != x ; then
9094 eval "DEFAULT_$LINE"
9099 wx_cv_use_html='wxUSE_HTML=${'DEFAULT_wxUSE_HTML":-$defaultval}"
9104 eval "$wx_cv_use_html"
9105 if test "$no_cache" != 1; then
9106 echo $wx_cv_use_html >> ${wx_arg_cache_file}.tmp
9109 if test x"$enablestring" = xdisable; then
9110 if test $wxUSE_HTML = yes; then
9119 { echo "$as_me:$LINENO: result: $result" >&5
9120 echo "${ECHO_T}$result" >&6; }
9124 defaultval=$wxUSE_ALL_FEATURES
9125 if test -z "$defaultval"; then
9126 if test x"$enablestring" = xdisable; then
9133 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-htmlhelp" >&5
9134 echo $ECHO_N "checking for --${enablestring:-enable}-htmlhelp... $ECHO_C" >&6; }
9136 # Check whether --enable-htmlhelp was given.
9137 if test "${enable_htmlhelp+set}" = set; then
9138 enableval=$enable_htmlhelp;
9139 if test "$enableval" = yes; then
9140 wx_cv_use_htmlhelp='wxUSE_WXHTML_HELP=yes'
9142 wx_cv_use_htmlhelp='wxUSE_WXHTML_HELP=no'
9147 LINE=`grep "^wxUSE_WXHTML_HELP=" ${wx_arg_cache_file}`
9148 if test "x$LINE" != x ; then
9149 eval "DEFAULT_$LINE"
9154 wx_cv_use_htmlhelp='wxUSE_WXHTML_HELP=${'DEFAULT_wxUSE_WXHTML_HELP":-$defaultval}"
9159 eval "$wx_cv_use_htmlhelp"
9160 if test "$no_cache" != 1; then
9161 echo $wx_cv_use_htmlhelp >> ${wx_arg_cache_file}.tmp
9164 if test x"$enablestring" = xdisable; then
9165 if test $wxUSE_WXHTML_HELP = yes; then
9171 result=$wxUSE_WXHTML_HELP
9174 { echo "$as_me:$LINENO: result: $result" >&5
9175 echo "${ECHO_T}$result" >&6; }
9179 defaultval=$wxUSE_ALL_FEATURES
9180 if test -z "$defaultval"; then
9181 if test x"$enablestring" = xdisable; then
9188 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xrc" >&5
9189 echo $ECHO_N "checking for --${enablestring:-enable}-xrc... $ECHO_C" >&6; }
9191 # Check whether --enable-xrc was given.
9192 if test "${enable_xrc+set}" = set; then
9193 enableval=$enable_xrc;
9194 if test "$enableval" = yes; then
9195 wx_cv_use_xrc='wxUSE_XRC=yes'
9197 wx_cv_use_xrc='wxUSE_XRC=no'
9202 LINE=`grep "^wxUSE_XRC=" ${wx_arg_cache_file}`
9203 if test "x$LINE" != x ; then
9204 eval "DEFAULT_$LINE"
9209 wx_cv_use_xrc='wxUSE_XRC=${'DEFAULT_wxUSE_XRC":-$defaultval}"
9214 eval "$wx_cv_use_xrc"
9215 if test "$no_cache" != 1; then
9216 echo $wx_cv_use_xrc >> ${wx_arg_cache_file}.tmp
9219 if test x"$enablestring" = xdisable; then
9220 if test $wxUSE_XRC = yes; then
9229 { echo "$as_me:$LINENO: result: $result" >&5
9230 echo "${ECHO_T}$result" >&6; }
9234 defaultval=$wxUSE_ALL_FEATURES
9235 if test -z "$defaultval"; then
9236 if test x"$enablestring" = xdisable; then
9243 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-aui" >&5
9244 echo $ECHO_N "checking for --${enablestring:-enable}-aui... $ECHO_C" >&6; }
9246 # Check whether --enable-aui was given.
9247 if test "${enable_aui+set}" = set; then
9248 enableval=$enable_aui;
9249 if test "$enableval" = yes; then
9250 wx_cv_use_aui='wxUSE_AUI=yes'
9252 wx_cv_use_aui='wxUSE_AUI=no'
9257 LINE=`grep "^wxUSE_AUI=" ${wx_arg_cache_file}`
9258 if test "x$LINE" != x ; then
9259 eval "DEFAULT_$LINE"
9264 wx_cv_use_aui='wxUSE_AUI=${'DEFAULT_wxUSE_AUI":-$defaultval}"
9269 eval "$wx_cv_use_aui"
9270 if test "$no_cache" != 1; then
9271 echo $wx_cv_use_aui >> ${wx_arg_cache_file}.tmp
9274 if test x"$enablestring" = xdisable; then
9275 if test $wxUSE_AUI = yes; then
9284 { echo "$as_me:$LINENO: result: $result" >&5
9285 echo "${ECHO_T}$result" >&6; }
9289 defaultval=$wxUSE_ALL_FEATURES
9290 if test -z "$defaultval"; then
9291 if test x"$enablestring" = xdisable; then
9298 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stc" >&5
9299 echo $ECHO_N "checking for --${enablestring:-enable}-stc... $ECHO_C" >&6; }
9301 # Check whether --enable-stc was given.
9302 if test "${enable_stc+set}" = set; then
9303 enableval=$enable_stc;
9304 if test "$enableval" = yes; then
9305 wx_cv_use_stc='wxUSE_STC=yes'
9307 wx_cv_use_stc='wxUSE_STC=no'
9312 LINE=`grep "^wxUSE_STC=" ${wx_arg_cache_file}`
9313 if test "x$LINE" != x ; then
9314 eval "DEFAULT_$LINE"
9319 wx_cv_use_stc='wxUSE_STC=${'DEFAULT_wxUSE_STC":-$defaultval}"
9324 eval "$wx_cv_use_stc"
9325 if test "$no_cache" != 1; then
9326 echo $wx_cv_use_stc >> ${wx_arg_cache_file}.tmp
9329 if test x"$enablestring" = xdisable; then
9330 if test $wxUSE_STC = yes; then
9339 { echo "$as_me:$LINENO: result: $result" >&5
9340 echo "${ECHO_T}$result" >&6; }
9344 defaultval=$wxUSE_ALL_FEATURES
9345 if test -z "$defaultval"; then
9346 if test x"$enablestring" = xdisable; then
9353 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-constraints" >&5
9354 echo $ECHO_N "checking for --${enablestring:-enable}-constraints... $ECHO_C" >&6; }
9356 # Check whether --enable-constraints was given.
9357 if test "${enable_constraints+set}" = set; then
9358 enableval=$enable_constraints;
9359 if test "$enableval" = yes; then
9360 wx_cv_use_constraints='wxUSE_CONSTRAINTS=yes'
9362 wx_cv_use_constraints='wxUSE_CONSTRAINTS=no'
9367 LINE=`grep "^wxUSE_CONSTRAINTS=" ${wx_arg_cache_file}`
9368 if test "x$LINE" != x ; then
9369 eval "DEFAULT_$LINE"
9374 wx_cv_use_constraints='wxUSE_CONSTRAINTS=${'DEFAULT_wxUSE_CONSTRAINTS":-$defaultval}"
9379 eval "$wx_cv_use_constraints"
9380 if test "$no_cache" != 1; then
9381 echo $wx_cv_use_constraints >> ${wx_arg_cache_file}.tmp
9384 if test x"$enablestring" = xdisable; then
9385 if test $wxUSE_CONSTRAINTS = yes; then
9391 result=$wxUSE_CONSTRAINTS
9394 { echo "$as_me:$LINENO: result: $result" >&5
9395 echo "${ECHO_T}$result" >&6; }
9399 defaultval=$wxUSE_ALL_FEATURES
9400 if test -z "$defaultval"; then
9401 if test x"$enablestring" = xdisable; then
9408 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-printarch" >&5
9409 echo $ECHO_N "checking for --${enablestring:-enable}-printarch... $ECHO_C" >&6; }
9411 # Check whether --enable-printarch was given.
9412 if test "${enable_printarch+set}" = set; then
9413 enableval=$enable_printarch;
9414 if test "$enableval" = yes; then
9415 wx_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=yes'
9417 wx_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=no'
9422 LINE=`grep "^wxUSE_PRINTING_ARCHITECTURE=" ${wx_arg_cache_file}`
9423 if test "x$LINE" != x ; then
9424 eval "DEFAULT_$LINE"
9429 wx_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=${'DEFAULT_wxUSE_PRINTING_ARCHITECTURE":-$defaultval}"
9434 eval "$wx_cv_use_printarch"
9435 if test "$no_cache" != 1; then
9436 echo $wx_cv_use_printarch >> ${wx_arg_cache_file}.tmp
9439 if test x"$enablestring" = xdisable; then
9440 if test $wxUSE_PRINTING_ARCHITECTURE = yes; then
9446 result=$wxUSE_PRINTING_ARCHITECTURE
9449 { echo "$as_me:$LINENO: result: $result" >&5
9450 echo "${ECHO_T}$result" >&6; }
9454 defaultval=$wxUSE_ALL_FEATURES
9455 if test -z "$defaultval"; then
9456 if test x"$enablestring" = xdisable; then
9463 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mdi" >&5
9464 echo $ECHO_N "checking for --${enablestring:-enable}-mdi... $ECHO_C" >&6; }
9466 # Check whether --enable-mdi was given.
9467 if test "${enable_mdi+set}" = set; then
9468 enableval=$enable_mdi;
9469 if test "$enableval" = yes; then
9470 wx_cv_use_mdi='wxUSE_MDI=yes'
9472 wx_cv_use_mdi='wxUSE_MDI=no'
9477 LINE=`grep "^wxUSE_MDI=" ${wx_arg_cache_file}`
9478 if test "x$LINE" != x ; then
9479 eval "DEFAULT_$LINE"
9484 wx_cv_use_mdi='wxUSE_MDI=${'DEFAULT_wxUSE_MDI":-$defaultval}"
9489 eval "$wx_cv_use_mdi"
9490 if test "$no_cache" != 1; then
9491 echo $wx_cv_use_mdi >> ${wx_arg_cache_file}.tmp
9494 if test x"$enablestring" = xdisable; then
9495 if test $wxUSE_MDI = yes; then
9504 { echo "$as_me:$LINENO: result: $result" >&5
9505 echo "${ECHO_T}$result" >&6; }
9509 defaultval=$wxUSE_ALL_FEATURES
9510 if test -z "$defaultval"; then
9511 if test x"$enablestring" = xdisable; then
9518 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mdidoc" >&5
9519 echo $ECHO_N "checking for --${enablestring:-enable}-mdidoc... $ECHO_C" >&6; }
9521 # Check whether --enable-mdidoc was given.
9522 if test "${enable_mdidoc+set}" = set; then
9523 enableval=$enable_mdidoc;
9524 if test "$enableval" = yes; then
9525 wx_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE=yes'
9527 wx_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE=no'
9532 LINE=`grep "^wxUSE_MDI_ARCHITECTURE=" ${wx_arg_cache_file}`
9533 if test "x$LINE" != x ; then
9534 eval "DEFAULT_$LINE"
9539 wx_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE=${'DEFAULT_wxUSE_MDI_ARCHITECTURE":-$defaultval}"
9544 eval "$wx_cv_use_mdidoc"
9545 if test "$no_cache" != 1; then
9546 echo $wx_cv_use_mdidoc >> ${wx_arg_cache_file}.tmp
9549 if test x"$enablestring" = xdisable; then
9550 if test $wxUSE_MDI_ARCHITECTURE = yes; then
9556 result=$wxUSE_MDI_ARCHITECTURE
9559 { echo "$as_me:$LINENO: result: $result" >&5
9560 echo "${ECHO_T}$result" >&6; }
9564 defaultval=$wxUSE_ALL_FEATURES
9565 if test -z "$defaultval"; then
9566 if test x"$enablestring" = xdisable; then
9573 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-loggui" >&5
9574 echo $ECHO_N "checking for --${enablestring:-enable}-loggui... $ECHO_C" >&6; }
9576 # Check whether --enable-loggui was given.
9577 if test "${enable_loggui+set}" = set; then
9578 enableval=$enable_loggui;
9579 if test "$enableval" = yes; then
9580 wx_cv_use_loggui='wxUSE_LOGGUI=yes'
9582 wx_cv_use_loggui='wxUSE_LOGGUI=no'
9587 LINE=`grep "^wxUSE_LOGGUI=" ${wx_arg_cache_file}`
9588 if test "x$LINE" != x ; then
9589 eval "DEFAULT_$LINE"
9594 wx_cv_use_loggui='wxUSE_LOGGUI=${'DEFAULT_wxUSE_LOGGUI":-$defaultval}"
9599 eval "$wx_cv_use_loggui"
9600 if test "$no_cache" != 1; then
9601 echo $wx_cv_use_loggui >> ${wx_arg_cache_file}.tmp
9604 if test x"$enablestring" = xdisable; then
9605 if test $wxUSE_LOGGUI = yes; then
9611 result=$wxUSE_LOGGUI
9614 { echo "$as_me:$LINENO: result: $result" >&5
9615 echo "${ECHO_T}$result" >&6; }
9619 defaultval=$wxUSE_ALL_FEATURES
9620 if test -z "$defaultval"; then
9621 if test x"$enablestring" = xdisable; then
9628 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logwin" >&5
9629 echo $ECHO_N "checking for --${enablestring:-enable}-logwin... $ECHO_C" >&6; }
9631 # Check whether --enable-logwin was given.
9632 if test "${enable_logwin+set}" = set; then
9633 enableval=$enable_logwin;
9634 if test "$enableval" = yes; then
9635 wx_cv_use_logwin='wxUSE_LOGWINDOW=yes'
9637 wx_cv_use_logwin='wxUSE_LOGWINDOW=no'
9642 LINE=`grep "^wxUSE_LOGWINDOW=" ${wx_arg_cache_file}`
9643 if test "x$LINE" != x ; then
9644 eval "DEFAULT_$LINE"
9649 wx_cv_use_logwin='wxUSE_LOGWINDOW=${'DEFAULT_wxUSE_LOGWINDOW":-$defaultval}"
9654 eval "$wx_cv_use_logwin"
9655 if test "$no_cache" != 1; then
9656 echo $wx_cv_use_logwin >> ${wx_arg_cache_file}.tmp
9659 if test x"$enablestring" = xdisable; then
9660 if test $wxUSE_LOGWINDOW = yes; then
9666 result=$wxUSE_LOGWINDOW
9669 { echo "$as_me:$LINENO: result: $result" >&5
9670 echo "${ECHO_T}$result" >&6; }
9674 defaultval=$wxUSE_ALL_FEATURES
9675 if test -z "$defaultval"; then
9676 if test x"$enablestring" = xdisable; then
9683 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logdialog" >&5
9684 echo $ECHO_N "checking for --${enablestring:-enable}-logdialog... $ECHO_C" >&6; }
9686 # Check whether --enable-logdialog was given.
9687 if test "${enable_logdialog+set}" = set; then
9688 enableval=$enable_logdialog;
9689 if test "$enableval" = yes; then
9690 wx_cv_use_logdialog='wxUSE_LOGDIALOG=yes'
9692 wx_cv_use_logdialog='wxUSE_LOGDIALOG=no'
9697 LINE=`grep "^wxUSE_LOGDIALOG=" ${wx_arg_cache_file}`
9698 if test "x$LINE" != x ; then
9699 eval "DEFAULT_$LINE"
9704 wx_cv_use_logdialog='wxUSE_LOGDIALOG=${'DEFAULT_wxUSE_LOGDIALOG":-$defaultval}"
9709 eval "$wx_cv_use_logdialog"
9710 if test "$no_cache" != 1; then
9711 echo $wx_cv_use_logdialog >> ${wx_arg_cache_file}.tmp
9714 if test x"$enablestring" = xdisable; then
9715 if test $wxUSE_LOGDIALOG = yes; then
9721 result=$wxUSE_LOGDIALOG
9724 { echo "$as_me:$LINENO: result: $result" >&5
9725 echo "${ECHO_T}$result" >&6; }
9729 defaultval=$wxUSE_ALL_FEATURES
9730 if test -z "$defaultval"; then
9731 if test x"$enablestring" = xdisable; then
9738 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-webkit" >&5
9739 echo $ECHO_N "checking for --${enablestring:-enable}-webkit... $ECHO_C" >&6; }
9741 # Check whether --enable-webkit was given.
9742 if test "${enable_webkit+set}" = set; then
9743 enableval=$enable_webkit;
9744 if test "$enableval" = yes; then
9745 wx_cv_use_webkit='wxUSE_WEBKIT=yes'
9747 wx_cv_use_webkit='wxUSE_WEBKIT=no'
9752 LINE=`grep "^wxUSE_WEBKIT=" ${wx_arg_cache_file}`
9753 if test "x$LINE" != x ; then
9754 eval "DEFAULT_$LINE"
9759 wx_cv_use_webkit='wxUSE_WEBKIT=${'DEFAULT_wxUSE_WEBKIT":-$defaultval}"
9764 eval "$wx_cv_use_webkit"
9765 if test "$no_cache" != 1; then
9766 echo $wx_cv_use_webkit >> ${wx_arg_cache_file}.tmp
9769 if test x"$enablestring" = xdisable; then
9770 if test $wxUSE_WEBKIT = yes; then
9776 result=$wxUSE_WEBKIT
9779 { echo "$as_me:$LINENO: result: $result" >&5
9780 echo "${ECHO_T}$result" >&6; }
9784 defaultval=$wxUSE_ALL_FEATURES
9785 if test -z "$defaultval"; then
9786 if test x"$enablestring" = xdisable; then
9793 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-richtext" >&5
9794 echo $ECHO_N "checking for --${enablestring:-enable}-richtext... $ECHO_C" >&6; }
9796 # Check whether --enable-richtext was given.
9797 if test "${enable_richtext+set}" = set; then
9798 enableval=$enable_richtext;
9799 if test "$enableval" = yes; then
9800 wx_cv_use_richtext='wxUSE_RICHTEXT=yes'
9802 wx_cv_use_richtext='wxUSE_RICHTEXT=no'
9807 LINE=`grep "^wxUSE_RICHTEXT=" ${wx_arg_cache_file}`
9808 if test "x$LINE" != x ; then
9809 eval "DEFAULT_$LINE"
9814 wx_cv_use_richtext='wxUSE_RICHTEXT=${'DEFAULT_wxUSE_RICHTEXT":-$defaultval}"
9819 eval "$wx_cv_use_richtext"
9820 if test "$no_cache" != 1; then
9821 echo $wx_cv_use_richtext >> ${wx_arg_cache_file}.tmp
9824 if test x"$enablestring" = xdisable; then
9825 if test $wxUSE_RICHTEXT = yes; then
9831 result=$wxUSE_RICHTEXT
9834 { echo "$as_me:$LINENO: result: $result" >&5
9835 echo "${ECHO_T}$result" >&6; }
9839 defaultval=$wxUSE_ALL_FEATURES
9840 if test -z "$defaultval"; then
9841 if test x"$enablestring" = xdisable; then
9848 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-graphics_ctx" >&5
9849 echo $ECHO_N "checking for --${enablestring:-enable}-graphics_ctx... $ECHO_C" >&6; }
9851 # Check whether --enable-graphics_ctx was given.
9852 if test "${enable_graphics_ctx+set}" = set; then
9853 enableval=$enable_graphics_ctx;
9854 if test "$enableval" = yes; then
9855 wx_cv_use_graphics_ctx='wxUSE_GRAPHICS_CONTEXT=yes'
9857 wx_cv_use_graphics_ctx='wxUSE_GRAPHICS_CONTEXT=no'
9862 LINE=`grep "^wxUSE_GRAPHICS_CONTEXT=" ${wx_arg_cache_file}`
9863 if test "x$LINE" != x ; then
9864 eval "DEFAULT_$LINE"
9869 wx_cv_use_graphics_ctx='wxUSE_GRAPHICS_CONTEXT=${'DEFAULT_wxUSE_GRAPHICS_CONTEXT":-$defaultval}"
9874 eval "$wx_cv_use_graphics_ctx"
9875 if test "$no_cache" != 1; then
9876 echo $wx_cv_use_graphics_ctx >> ${wx_arg_cache_file}.tmp
9879 if test x"$enablestring" = xdisable; then
9880 if test $wxUSE_GRAPHICS_CONTEXT = yes; then
9886 result=$wxUSE_GRAPHICS_CONTEXT
9889 { echo "$as_me:$LINENO: result: $result" >&5
9890 echo "${ECHO_T}$result" >&6; }
9894 defaultval=$wxUSE_ALL_FEATURES
9895 if test -z "$defaultval"; then
9896 if test x"$enablestring" = xdisable; then
9903 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-postscript" >&5
9904 echo $ECHO_N "checking for --${enablestring:-enable}-postscript... $ECHO_C" >&6; }
9906 # Check whether --enable-postscript was given.
9907 if test "${enable_postscript+set}" = set; then
9908 enableval=$enable_postscript;
9909 if test "$enableval" = yes; then
9910 wx_cv_use_postscript='wxUSE_POSTSCRIPT=yes'
9912 wx_cv_use_postscript='wxUSE_POSTSCRIPT=no'
9917 LINE=`grep "^wxUSE_POSTSCRIPT=" ${wx_arg_cache_file}`
9918 if test "x$LINE" != x ; then
9919 eval "DEFAULT_$LINE"
9924 wx_cv_use_postscript='wxUSE_POSTSCRIPT=${'DEFAULT_wxUSE_POSTSCRIPT":-$defaultval}"
9929 eval "$wx_cv_use_postscript"
9930 if test "$no_cache" != 1; then
9931 echo $wx_cv_use_postscript >> ${wx_arg_cache_file}.tmp
9934 if test x"$enablestring" = xdisable; then
9935 if test $wxUSE_POSTSCRIPT = yes; then
9941 result=$wxUSE_POSTSCRIPT
9944 { echo "$as_me:$LINENO: result: $result" >&5
9945 echo "${ECHO_T}$result" >&6; }
9949 defaultval=$wxUSE_ALL_FEATURES
9950 if test -z "$defaultval"; then
9951 if test x"$enablestring" = xdisable; then
9958 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-svg" >&5
9959 echo $ECHO_N "checking for --${enablestring:-enable}-svg... $ECHO_C" >&6; }
9961 # Check whether --enable-svg was given.
9962 if test "${enable_svg+set}" = set; then
9963 enableval=$enable_svg;
9964 if test "$enableval" = yes; then
9965 wx_cv_use_svg='wxUSE_SVG=yes'
9967 wx_cv_use_svg='wxUSE_SVG=no'
9972 LINE=`grep "^wxUSE_SVG=" ${wx_arg_cache_file}`
9973 if test "x$LINE" != x ; then
9974 eval "DEFAULT_$LINE"
9979 wx_cv_use_svg='wxUSE_SVG=${'DEFAULT_wxUSE_SVG":-$defaultval}"
9984 eval "$wx_cv_use_svg"
9985 if test "$no_cache" != 1; then
9986 echo $wx_cv_use_svg >> ${wx_arg_cache_file}.tmp
9989 if test x"$enablestring" = xdisable; then
9990 if test $wxUSE_SVG = yes; then
9999 { echo "$as_me:$LINENO: result: $result" >&5
10000 echo "${ECHO_T}$result" >&6; }
10006 defaultval=$wxUSE_ALL_FEATURES
10007 if test -z "$defaultval"; then
10008 if test x"$enablestring" = xdisable; then
10015 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-clipboard" >&5
10016 echo $ECHO_N "checking for --${enablestring:-enable}-clipboard... $ECHO_C" >&6; }
10018 # Check whether --enable-clipboard was given.
10019 if test "${enable_clipboard+set}" = set; then
10020 enableval=$enable_clipboard;
10021 if test "$enableval" = yes; then
10022 wx_cv_use_clipboard='wxUSE_CLIPBOARD=yes'
10024 wx_cv_use_clipboard='wxUSE_CLIPBOARD=no'
10029 LINE=`grep "^wxUSE_CLIPBOARD=" ${wx_arg_cache_file}`
10030 if test "x$LINE" != x ; then
10031 eval "DEFAULT_$LINE"
10036 wx_cv_use_clipboard='wxUSE_CLIPBOARD=${'DEFAULT_wxUSE_CLIPBOARD":-$defaultval}"
10041 eval "$wx_cv_use_clipboard"
10042 if test "$no_cache" != 1; then
10043 echo $wx_cv_use_clipboard >> ${wx_arg_cache_file}.tmp
10046 if test x"$enablestring" = xdisable; then
10047 if test $wxUSE_CLIPBOARD = yes; then
10053 result=$wxUSE_CLIPBOARD
10056 { echo "$as_me:$LINENO: result: $result" >&5
10057 echo "${ECHO_T}$result" >&6; }
10061 defaultval=$wxUSE_ALL_FEATURES
10062 if test -z "$defaultval"; then
10063 if test x"$enablestring" = xdisable; then
10070 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dnd" >&5
10071 echo $ECHO_N "checking for --${enablestring:-enable}-dnd... $ECHO_C" >&6; }
10073 # Check whether --enable-dnd was given.
10074 if test "${enable_dnd+set}" = set; then
10075 enableval=$enable_dnd;
10076 if test "$enableval" = yes; then
10077 wx_cv_use_dnd='wxUSE_DRAG_AND_DROP=yes'
10079 wx_cv_use_dnd='wxUSE_DRAG_AND_DROP=no'
10084 LINE=`grep "^wxUSE_DRAG_AND_DROP=" ${wx_arg_cache_file}`
10085 if test "x$LINE" != x ; then
10086 eval "DEFAULT_$LINE"
10091 wx_cv_use_dnd='wxUSE_DRAG_AND_DROP=${'DEFAULT_wxUSE_DRAG_AND_DROP":-$defaultval}"
10096 eval "$wx_cv_use_dnd"
10097 if test "$no_cache" != 1; then
10098 echo $wx_cv_use_dnd >> ${wx_arg_cache_file}.tmp
10101 if test x"$enablestring" = xdisable; then
10102 if test $wxUSE_DRAG_AND_DROP = yes; then
10108 result=$wxUSE_DRAG_AND_DROP
10111 { echo "$as_me:$LINENO: result: $result" >&5
10112 echo "${ECHO_T}$result" >&6; }
10116 defaultval=$wxUSE_ALL_FEATURES
10117 if test -z "$defaultval"; then
10118 if test x"$enablestring" = xdisable; then
10125 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
10126 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6; }
10128 # Check whether --enable-metafile was given.
10129 if test "${enable_metafile+set}" = set; then
10130 enableval=$enable_metafile;
10131 if test "$enableval" = yes; then
10132 wx_cv_use_metafile='wxUSE_METAFILE=yes'
10134 wx_cv_use_metafile='wxUSE_METAFILE=no'
10139 LINE=`grep "^wxUSE_METAFILE=" ${wx_arg_cache_file}`
10140 if test "x$LINE" != x ; then
10141 eval "DEFAULT_$LINE"
10146 wx_cv_use_metafile='wxUSE_METAFILE=${'DEFAULT_wxUSE_METAFILE":-$defaultval}"
10151 eval "$wx_cv_use_metafile"
10152 if test "$no_cache" != 1; then
10153 echo $wx_cv_use_metafile >> ${wx_arg_cache_file}.tmp
10156 if test x"$enablestring" = xdisable; then
10157 if test $wxUSE_METAFILE = yes; then
10163 result=$wxUSE_METAFILE
10166 { echo "$as_me:$LINENO: result: $result" >&5
10167 echo "${ECHO_T}$result" >&6; }
10171 DEFAULT_wxUSE_CONTROLS=none
10173 enablestring=disable
10175 if test -z "$defaultval"; then
10176 if test x"$enablestring" = xdisable; then
10183 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-controls" >&5
10184 echo $ECHO_N "checking for --${enablestring:-enable}-controls... $ECHO_C" >&6; }
10186 # Check whether --enable-controls was given.
10187 if test "${enable_controls+set}" = set; then
10188 enableval=$enable_controls;
10189 if test "$enableval" = yes; then
10190 wx_cv_use_controls='wxUSE_CONTROLS=yes'
10192 wx_cv_use_controls='wxUSE_CONTROLS=no'
10197 LINE=`grep "^wxUSE_CONTROLS=" ${wx_arg_cache_file}`
10198 if test "x$LINE" != x ; then
10199 eval "DEFAULT_$LINE"
10204 wx_cv_use_controls='wxUSE_CONTROLS=${'DEFAULT_wxUSE_CONTROLS":-$defaultval}"
10209 eval "$wx_cv_use_controls"
10210 if test "$no_cache" != 1; then
10211 echo $wx_cv_use_controls >> ${wx_arg_cache_file}.tmp
10214 if test x"$enablestring" = xdisable; then
10215 if test $wxUSE_CONTROLS = yes; then
10221 result=$wxUSE_CONTROLS
10224 { echo "$as_me:$LINENO: result: $result" >&5
10225 echo "${ECHO_T}$result" >&6; }
10228 if test "$wxUSE_CONTROLS" = "yes"; then
10229 DEFAULT_wxUSE_ACCEL=yes
10230 DEFAULT_wxUSE_ANIMATIONCTRL=yes
10231 DEFAULT_wxUSE_BMPBUTTON=yes
10232 DEFAULT_wxUSE_BUTTON=yes
10233 DEFAULT_wxUSE_CALCTRL=yes
10234 DEFAULT_wxUSE_CARET=yes
10235 DEFAULT_wxUSE_COMBOBOX=yes
10236 DEFAULT_wxUSE_CHECKBOX=yes
10237 DEFAULT_wxUSE_CHECKLISTBOX=yes
10238 DEFAULT_wxUSE_CHOICE=yes
10239 DEFAULT_wxUSE_CHOICEBOOK=yes
10240 DEFAULT_wxUSE_COLLPANE=yes
10241 DEFAULT_wxUSE_COLOURPICKERCTRL=yes
10242 DEFAULT_wxUSE_COMBOBOX=yes
10243 DEFAULT_wxUSE_DATEPICKCTRL=yes
10244 DEFAULT_wxUSE_DISPLAY=yes
10245 DEFAULT_wxUSE_DETECT_SM=yes
10246 DEFAULT_wxUSE_DIRPICKERCTRL=yes
10247 DEFAULT_wxUSE_FILEPICKERCTRL=yes
10248 DEFAULT_wxUSE_FONTPICKERCTRL=yes
10249 DEFAULT_wxUSE_GAUGE=yes
10250 DEFAULT_wxUSE_GRID=yes
10251 DEFAULT_wxUSE_HYPERLINKCTRL=yes
10252 DEFAULT_wxUSE_DATAVIEWCTRL=no
10253 DEFAULT_wxUSE_IMAGLIST=yes
10254 DEFAULT_wxUSE_LISTBOOK=yes
10255 DEFAULT_wxUSE_LISTBOX=yes
10256 DEFAULT_wxUSE_LISTCTRL=yes
10257 DEFAULT_wxUSE_NOTEBOOK=yes
10258 DEFAULT_wxUSE_RADIOBOX=yes
10259 DEFAULT_wxUSE_RADIOBTN=yes
10260 DEFAULT_wxUSE_SASH=yes
10261 DEFAULT_wxUSE_SCROLLBAR=yes
10262 DEFAULT_wxUSE_SEARCHCTRL=yes
10263 DEFAULT_wxUSE_SLIDER=yes
10264 DEFAULT_wxUSE_SPINBTN=yes
10265 DEFAULT_wxUSE_SPINCTRL=yes
10266 DEFAULT_wxUSE_SPLITTER=yes
10267 DEFAULT_wxUSE_STATBMP=yes
10268 DEFAULT_wxUSE_STATBOX=yes
10269 DEFAULT_wxUSE_STATLINE=yes
10270 DEFAULT_wxUSE_STATUSBAR=yes
10271 DEFAULT_wxUSE_TAB_DIALOG=yes
10272 DEFAULT_wxUSE_TOGGLEBTN=yes
10273 DEFAULT_wxUSE_TOOLBAR=yes
10274 DEFAULT_wxUSE_TOOLBAR_NATIVE=yes
10275 DEFAULT_wxUSE_TOOLTIPS=yes
10276 DEFAULT_wxUSE_TREEBOOK=yes
10277 DEFAULT_wxUSE_TOOLBOOK=yes
10278 DEFAULT_wxUSE_TREECTRL=yes
10279 DEFAULT_wxUSE_POPUPWIN=yes
10280 DEFAULT_wxUSE_TIPWINDOW=yes
10281 elif test "$wxUSE_CONTROLS" = "no"; then
10282 DEFAULT_wxUSE_ACCEL=no
10283 DEFAULT_wxUSE_ANIMATIONCTRL=no
10284 DEFAULT_wxUSE_BMPBUTTON=no
10285 DEFAULT_wxUSE_BUTTON=no
10286 DEFAULT_wxUSE_CALCTRL=no
10287 DEFAULT_wxUSE_CARET=no
10288 DEFAULT_wxUSE_COLLPANE=no
10289 DEFAULT_wxUSE_COMBOBOX=no
10290 DEFAULT_wxUSE_CHECKBOX=no
10291 DEFAULT_wxUSE_CHECKLISTBOX=no
10292 DEFAULT_wxUSE_CHOICE=no
10293 DEFAULT_wxUSE_CHOICEBOOK=no
10294 DEFAULT_wxUSE_COLOURPICKERCTRL=no
10295 DEFAULT_wxUSE_COMBOBOX=no
10296 DEFAULT_wxUSE_DATEPICKCTRL=no
10297 DEFAULT_wxUSE_DISPLAY=no
10298 DEFAULT_wxUSE_DETECT_SM=no
10299 DEFAULT_wxUSE_DIRPICKERCTRL=no
10300 DEFAULT_wxUSE_FILEPICKERCTRL=no
10301 DEFAULT_wxUSE_FONTPICKERCTRL=no
10302 DEFAULT_wxUSE_GAUGE=no
10303 DEFAULT_wxUSE_GRID=no
10304 DEFAULT_wxUSE_HYPERLINKCTRL=no
10305 DEFAULT_wxUSE_DATAVIEWCTRL=no
10306 DEFAULT_wxUSE_IMAGLIST=no
10307 DEFAULT_wxUSE_LISTBOOK=no
10308 DEFAULT_wxUSE_LISTBOX=no
10309 DEFAULT_wxUSE_LISTCTRL=no
10310 DEFAULT_wxUSE_NOTEBOOK=no
10311 DEFAULT_wxUSE_RADIOBOX=no
10312 DEFAULT_wxUSE_RADIOBTN=no
10313 DEFAULT_wxUSE_SASH=no
10314 DEFAULT_wxUSE_SCROLLBAR=no
10315 DEFAULT_wxUSE_SEARCHCTRL=no
10316 DEFAULT_wxUSE_SLIDER=no
10317 DEFAULT_wxUSE_SPINBTN=no
10318 DEFAULT_wxUSE_SPINCTRL=no
10319 DEFAULT_wxUSE_SPLITTER=no
10320 DEFAULT_wxUSE_STATBMP=no
10321 DEFAULT_wxUSE_STATBOX=no
10322 DEFAULT_wxUSE_STATLINE=no
10323 DEFAULT_wxUSE_STATUSBAR=no
10324 DEFAULT_wxUSE_TAB_DIALOG=no
10325 DEFAULT_wxUSE_TOGGLEBTN=no
10326 DEFAULT_wxUSE_TOOLBAR=no
10327 DEFAULT_wxUSE_TOOLBAR_NATIVE=no
10328 DEFAULT_wxUSE_TOOLTIPS=no
10329 DEFAULT_wxUSE_TREEBOOK=no
10330 DEFAULT_wxUSE_TOOLBOOK=no
10331 DEFAULT_wxUSE_TREECTRL=no
10332 DEFAULT_wxUSE_POPUPWIN=no
10333 DEFAULT_wxUSE_TIPWINDOW=no
10338 defaultval=$wxUSE_ALL_FEATURES
10339 if test -z "$defaultval"; then
10340 if test x"$enablestring" = xdisable; then
10347 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accel" >&5
10348 echo $ECHO_N "checking for --${enablestring:-enable}-accel... $ECHO_C" >&6; }
10350 # Check whether --enable-accel was given.
10351 if test "${enable_accel+set}" = set; then
10352 enableval=$enable_accel;
10353 if test "$enableval" = yes; then
10354 wx_cv_use_accel='wxUSE_ACCEL=yes'
10356 wx_cv_use_accel='wxUSE_ACCEL=no'
10361 LINE=`grep "^wxUSE_ACCEL=" ${wx_arg_cache_file}`
10362 if test "x$LINE" != x ; then
10363 eval "DEFAULT_$LINE"
10368 wx_cv_use_accel='wxUSE_ACCEL=${'DEFAULT_wxUSE_ACCEL":-$defaultval}"
10373 eval "$wx_cv_use_accel"
10374 if test "$no_cache" != 1; then
10375 echo $wx_cv_use_accel >> ${wx_arg_cache_file}.tmp
10378 if test x"$enablestring" = xdisable; then
10379 if test $wxUSE_ACCEL = yes; then
10385 result=$wxUSE_ACCEL
10388 { echo "$as_me:$LINENO: result: $result" >&5
10389 echo "${ECHO_T}$result" >&6; }
10393 defaultval=$wxUSE_ALL_FEATURES
10394 if test -z "$defaultval"; then
10395 if test x"$enablestring" = xdisable; then
10402 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-animatectrl" >&5
10403 echo $ECHO_N "checking for --${enablestring:-enable}-animatectrl... $ECHO_C" >&6; }
10405 # Check whether --enable-animatectrl was given.
10406 if test "${enable_animatectrl+set}" = set; then
10407 enableval=$enable_animatectrl;
10408 if test "$enableval" = yes; then
10409 wx_cv_use_animatectrl='wxUSE_ANIMATIONCTRL=yes'
10411 wx_cv_use_animatectrl='wxUSE_ANIMATIONCTRL=no'
10416 LINE=`grep "^wxUSE_ANIMATIONCTRL=" ${wx_arg_cache_file}`
10417 if test "x$LINE" != x ; then
10418 eval "DEFAULT_$LINE"
10423 wx_cv_use_animatectrl='wxUSE_ANIMATIONCTRL=${'DEFAULT_wxUSE_ANIMATIONCTRL":-$defaultval}"
10428 eval "$wx_cv_use_animatectrl"
10429 if test "$no_cache" != 1; then
10430 echo $wx_cv_use_animatectrl >> ${wx_arg_cache_file}.tmp
10433 if test x"$enablestring" = xdisable; then
10434 if test $wxUSE_ANIMATIONCTRL = yes; then
10440 result=$wxUSE_ANIMATIONCTRL
10443 { echo "$as_me:$LINENO: result: $result" >&5
10444 echo "${ECHO_T}$result" >&6; }
10448 defaultval=$wxUSE_ALL_FEATURES
10449 if test -z "$defaultval"; then
10450 if test x"$enablestring" = xdisable; then
10457 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-button" >&5
10458 echo $ECHO_N "checking for --${enablestring:-enable}-button... $ECHO_C" >&6; }
10460 # Check whether --enable-button was given.
10461 if test "${enable_button+set}" = set; then
10462 enableval=$enable_button;
10463 if test "$enableval" = yes; then
10464 wx_cv_use_button='wxUSE_BUTTON=yes'
10466 wx_cv_use_button='wxUSE_BUTTON=no'
10471 LINE=`grep "^wxUSE_BUTTON=" ${wx_arg_cache_file}`
10472 if test "x$LINE" != x ; then
10473 eval "DEFAULT_$LINE"
10478 wx_cv_use_button='wxUSE_BUTTON=${'DEFAULT_wxUSE_BUTTON":-$defaultval}"
10483 eval "$wx_cv_use_button"
10484 if test "$no_cache" != 1; then
10485 echo $wx_cv_use_button >> ${wx_arg_cache_file}.tmp
10488 if test x"$enablestring" = xdisable; then
10489 if test $wxUSE_BUTTON = yes; then
10495 result=$wxUSE_BUTTON
10498 { echo "$as_me:$LINENO: result: $result" >&5
10499 echo "${ECHO_T}$result" >&6; }
10503 defaultval=$wxUSE_ALL_FEATURES
10504 if test -z "$defaultval"; then
10505 if test x"$enablestring" = xdisable; then
10512 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-bmpbutton" >&5
10513 echo $ECHO_N "checking for --${enablestring:-enable}-bmpbutton... $ECHO_C" >&6; }
10515 # Check whether --enable-bmpbutton was given.
10516 if test "${enable_bmpbutton+set}" = set; then
10517 enableval=$enable_bmpbutton;
10518 if test "$enableval" = yes; then
10519 wx_cv_use_bmpbutton='wxUSE_BMPBUTTON=yes'
10521 wx_cv_use_bmpbutton='wxUSE_BMPBUTTON=no'
10526 LINE=`grep "^wxUSE_BMPBUTTON=" ${wx_arg_cache_file}`
10527 if test "x$LINE" != x ; then
10528 eval "DEFAULT_$LINE"
10533 wx_cv_use_bmpbutton='wxUSE_BMPBUTTON=${'DEFAULT_wxUSE_BMPBUTTON":-$defaultval}"
10538 eval "$wx_cv_use_bmpbutton"
10539 if test "$no_cache" != 1; then
10540 echo $wx_cv_use_bmpbutton >> ${wx_arg_cache_file}.tmp
10543 if test x"$enablestring" = xdisable; then
10544 if test $wxUSE_BMPBUTTON = yes; then
10550 result=$wxUSE_BMPBUTTON
10553 { echo "$as_me:$LINENO: result: $result" >&5
10554 echo "${ECHO_T}$result" >&6; }
10558 defaultval=$wxUSE_ALL_FEATURES
10559 if test -z "$defaultval"; then
10560 if test x"$enablestring" = xdisable; then
10567 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-bmpcombobox" >&5
10568 echo $ECHO_N "checking for --${enablestring:-enable}-bmpcombobox... $ECHO_C" >&6; }
10570 # Check whether --enable-bmpcombobox was given.
10571 if test "${enable_bmpcombobox+set}" = set; then
10572 enableval=$enable_bmpcombobox;
10573 if test "$enableval" = yes; then
10574 wx_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX=yes'
10576 wx_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX=no'
10581 LINE=`grep "^wxUSE_BITMAPCOMBOBOX=" ${wx_arg_cache_file}`
10582 if test "x$LINE" != x ; then
10583 eval "DEFAULT_$LINE"
10588 wx_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX=${'DEFAULT_wxUSE_BITMAPCOMBOBOX":-$defaultval}"
10593 eval "$wx_cv_use_bmpcombobox"
10594 if test "$no_cache" != 1; then
10595 echo $wx_cv_use_bmpcombobox >> ${wx_arg_cache_file}.tmp
10598 if test x"$enablestring" = xdisable; then
10599 if test $wxUSE_BITMAPCOMBOBOX = yes; then
10605 result=$wxUSE_BITMAPCOMBOBOX
10608 { echo "$as_me:$LINENO: result: $result" >&5
10609 echo "${ECHO_T}$result" >&6; }
10613 defaultval=$wxUSE_ALL_FEATURES
10614 if test -z "$defaultval"; then
10615 if test x"$enablestring" = xdisable; then
10622 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-calendar" >&5
10623 echo $ECHO_N "checking for --${enablestring:-enable}-calendar... $ECHO_C" >&6; }
10625 # Check whether --enable-calendar was given.
10626 if test "${enable_calendar+set}" = set; then
10627 enableval=$enable_calendar;
10628 if test "$enableval" = yes; then
10629 wx_cv_use_calendar='wxUSE_CALCTRL=yes'
10631 wx_cv_use_calendar='wxUSE_CALCTRL=no'
10636 LINE=`grep "^wxUSE_CALCTRL=" ${wx_arg_cache_file}`
10637 if test "x$LINE" != x ; then
10638 eval "DEFAULT_$LINE"
10643 wx_cv_use_calendar='wxUSE_CALCTRL=${'DEFAULT_wxUSE_CALCTRL":-$defaultval}"
10648 eval "$wx_cv_use_calendar"
10649 if test "$no_cache" != 1; then
10650 echo $wx_cv_use_calendar >> ${wx_arg_cache_file}.tmp
10653 if test x"$enablestring" = xdisable; then
10654 if test $wxUSE_CALCTRL = yes; then
10660 result=$wxUSE_CALCTRL
10663 { echo "$as_me:$LINENO: result: $result" >&5
10664 echo "${ECHO_T}$result" >&6; }
10668 defaultval=$wxUSE_ALL_FEATURES
10669 if test -z "$defaultval"; then
10670 if test x"$enablestring" = xdisable; then
10677 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-caret" >&5
10678 echo $ECHO_N "checking for --${enablestring:-enable}-caret... $ECHO_C" >&6; }
10680 # Check whether --enable-caret was given.
10681 if test "${enable_caret+set}" = set; then
10682 enableval=$enable_caret;
10683 if test "$enableval" = yes; then
10684 wx_cv_use_caret='wxUSE_CARET=yes'
10686 wx_cv_use_caret='wxUSE_CARET=no'
10691 LINE=`grep "^wxUSE_CARET=" ${wx_arg_cache_file}`
10692 if test "x$LINE" != x ; then
10693 eval "DEFAULT_$LINE"
10698 wx_cv_use_caret='wxUSE_CARET=${'DEFAULT_wxUSE_CARET":-$defaultval}"
10703 eval "$wx_cv_use_caret"
10704 if test "$no_cache" != 1; then
10705 echo $wx_cv_use_caret >> ${wx_arg_cache_file}.tmp
10708 if test x"$enablestring" = xdisable; then
10709 if test $wxUSE_CARET = yes; then
10715 result=$wxUSE_CARET
10718 { echo "$as_me:$LINENO: result: $result" >&5
10719 echo "${ECHO_T}$result" >&6; }
10723 defaultval=$wxUSE_ALL_FEATURES
10724 if test -z "$defaultval"; then
10725 if test x"$enablestring" = xdisable; then
10732 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checkbox" >&5
10733 echo $ECHO_N "checking for --${enablestring:-enable}-checkbox... $ECHO_C" >&6; }
10735 # Check whether --enable-checkbox was given.
10736 if test "${enable_checkbox+set}" = set; then
10737 enableval=$enable_checkbox;
10738 if test "$enableval" = yes; then
10739 wx_cv_use_checkbox='wxUSE_CHECKBOX=yes'
10741 wx_cv_use_checkbox='wxUSE_CHECKBOX=no'
10746 LINE=`grep "^wxUSE_CHECKBOX=" ${wx_arg_cache_file}`
10747 if test "x$LINE" != x ; then
10748 eval "DEFAULT_$LINE"
10753 wx_cv_use_checkbox='wxUSE_CHECKBOX=${'DEFAULT_wxUSE_CHECKBOX":-$defaultval}"
10758 eval "$wx_cv_use_checkbox"
10759 if test "$no_cache" != 1; then
10760 echo $wx_cv_use_checkbox >> ${wx_arg_cache_file}.tmp
10763 if test x"$enablestring" = xdisable; then
10764 if test $wxUSE_CHECKBOX = yes; then
10770 result=$wxUSE_CHECKBOX
10773 { echo "$as_me:$LINENO: result: $result" >&5
10774 echo "${ECHO_T}$result" >&6; }
10778 defaultval=$wxUSE_ALL_FEATURES
10779 if test -z "$defaultval"; then
10780 if test x"$enablestring" = xdisable; then
10787 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checklst" >&5
10788 echo $ECHO_N "checking for --${enablestring:-enable}-checklst... $ECHO_C" >&6; }
10790 # Check whether --enable-checklst was given.
10791 if test "${enable_checklst+set}" = set; then
10792 enableval=$enable_checklst;
10793 if test "$enableval" = yes; then
10794 wx_cv_use_checklst='wxUSE_CHECKLST=yes'
10796 wx_cv_use_checklst='wxUSE_CHECKLST=no'
10801 LINE=`grep "^wxUSE_CHECKLST=" ${wx_arg_cache_file}`
10802 if test "x$LINE" != x ; then
10803 eval "DEFAULT_$LINE"
10808 wx_cv_use_checklst='wxUSE_CHECKLST=${'DEFAULT_wxUSE_CHECKLST":-$defaultval}"
10813 eval "$wx_cv_use_checklst"
10814 if test "$no_cache" != 1; then
10815 echo $wx_cv_use_checklst >> ${wx_arg_cache_file}.tmp
10818 if test x"$enablestring" = xdisable; then
10819 if test $wxUSE_CHECKLST = yes; then
10825 result=$wxUSE_CHECKLST
10828 { echo "$as_me:$LINENO: result: $result" >&5
10829 echo "${ECHO_T}$result" >&6; }
10833 defaultval=$wxUSE_ALL_FEATURES
10834 if test -z "$defaultval"; then
10835 if test x"$enablestring" = xdisable; then
10842 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choice" >&5
10843 echo $ECHO_N "checking for --${enablestring:-enable}-choice... $ECHO_C" >&6; }
10845 # Check whether --enable-choice was given.
10846 if test "${enable_choice+set}" = set; then
10847 enableval=$enable_choice;
10848 if test "$enableval" = yes; then
10849 wx_cv_use_choice='wxUSE_CHOICE=yes'
10851 wx_cv_use_choice='wxUSE_CHOICE=no'
10856 LINE=`grep "^wxUSE_CHOICE=" ${wx_arg_cache_file}`
10857 if test "x$LINE" != x ; then
10858 eval "DEFAULT_$LINE"
10863 wx_cv_use_choice='wxUSE_CHOICE=${'DEFAULT_wxUSE_CHOICE":-$defaultval}"
10868 eval "$wx_cv_use_choice"
10869 if test "$no_cache" != 1; then
10870 echo $wx_cv_use_choice >> ${wx_arg_cache_file}.tmp
10873 if test x"$enablestring" = xdisable; then
10874 if test $wxUSE_CHOICE = yes; then
10880 result=$wxUSE_CHOICE
10883 { echo "$as_me:$LINENO: result: $result" >&5
10884 echo "${ECHO_T}$result" >&6; }
10888 defaultval=$wxUSE_ALL_FEATURES
10889 if test -z "$defaultval"; then
10890 if test x"$enablestring" = xdisable; then
10897 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choicebook" >&5
10898 echo $ECHO_N "checking for --${enablestring:-enable}-choicebook... $ECHO_C" >&6; }
10900 # Check whether --enable-choicebook was given.
10901 if test "${enable_choicebook+set}" = set; then
10902 enableval=$enable_choicebook;
10903 if test "$enableval" = yes; then
10904 wx_cv_use_choicebook='wxUSE_CHOICEBOOK=yes'
10906 wx_cv_use_choicebook='wxUSE_CHOICEBOOK=no'
10911 LINE=`grep "^wxUSE_CHOICEBOOK=" ${wx_arg_cache_file}`
10912 if test "x$LINE" != x ; then
10913 eval "DEFAULT_$LINE"
10918 wx_cv_use_choicebook='wxUSE_CHOICEBOOK=${'DEFAULT_wxUSE_CHOICEBOOK":-$defaultval}"
10923 eval "$wx_cv_use_choicebook"
10924 if test "$no_cache" != 1; then
10925 echo $wx_cv_use_choicebook >> ${wx_arg_cache_file}.tmp
10928 if test x"$enablestring" = xdisable; then
10929 if test $wxUSE_CHOICEBOOK = yes; then
10935 result=$wxUSE_CHOICEBOOK
10938 { echo "$as_me:$LINENO: result: $result" >&5
10939 echo "${ECHO_T}$result" >&6; }
10943 defaultval=$wxUSE_ALL_FEATURES
10944 if test -z "$defaultval"; then
10945 if test x"$enablestring" = xdisable; then
10952 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-collpane" >&5
10953 echo $ECHO_N "checking for --${enablestring:-enable}-collpane... $ECHO_C" >&6; }
10955 # Check whether --enable-collpane was given.
10956 if test "${enable_collpane+set}" = set; then
10957 enableval=$enable_collpane;
10958 if test "$enableval" = yes; then
10959 wx_cv_use_collpane='wxUSE_COLLPANE=yes'
10961 wx_cv_use_collpane='wxUSE_COLLPANE=no'
10966 LINE=`grep "^wxUSE_COLLPANE=" ${wx_arg_cache_file}`
10967 if test "x$LINE" != x ; then
10968 eval "DEFAULT_$LINE"
10973 wx_cv_use_collpane='wxUSE_COLLPANE=${'DEFAULT_wxUSE_COLLPANE":-$defaultval}"
10978 eval "$wx_cv_use_collpane"
10979 if test "$no_cache" != 1; then
10980 echo $wx_cv_use_collpane >> ${wx_arg_cache_file}.tmp
10983 if test x"$enablestring" = xdisable; then
10984 if test $wxUSE_COLLPANE = yes; then
10990 result=$wxUSE_COLLPANE
10993 { echo "$as_me:$LINENO: result: $result" >&5
10994 echo "${ECHO_T}$result" >&6; }
10998 defaultval=$wxUSE_ALL_FEATURES
10999 if test -z "$defaultval"; then
11000 if test x"$enablestring" = xdisable; then
11007 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-colourpicker" >&5
11008 echo $ECHO_N "checking for --${enablestring:-enable}-colourpicker... $ECHO_C" >&6; }
11010 # Check whether --enable-colourpicker was given.
11011 if test "${enable_colourpicker+set}" = set; then
11012 enableval=$enable_colourpicker;
11013 if test "$enableval" = yes; then
11014 wx_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL=yes'
11016 wx_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL=no'
11021 LINE=`grep "^wxUSE_COLOURPICKERCTRL=" ${wx_arg_cache_file}`
11022 if test "x$LINE" != x ; then
11023 eval "DEFAULT_$LINE"
11028 wx_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL=${'DEFAULT_wxUSE_COLOURPICKERCTRL":-$defaultval}"
11033 eval "$wx_cv_use_colourpicker"
11034 if test "$no_cache" != 1; then
11035 echo $wx_cv_use_colourpicker >> ${wx_arg_cache_file}.tmp
11038 if test x"$enablestring" = xdisable; then
11039 if test $wxUSE_COLOURPICKERCTRL = yes; then
11045 result=$wxUSE_COLOURPICKERCTRL
11048 { echo "$as_me:$LINENO: result: $result" >&5
11049 echo "${ECHO_T}$result" >&6; }
11053 defaultval=$wxUSE_ALL_FEATURES
11054 if test -z "$defaultval"; then
11055 if test x"$enablestring" = xdisable; then
11062 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-combobox" >&5
11063 echo $ECHO_N "checking for --${enablestring:-enable}-combobox... $ECHO_C" >&6; }
11065 # Check whether --enable-combobox was given.
11066 if test "${enable_combobox+set}" = set; then
11067 enableval=$enable_combobox;
11068 if test "$enableval" = yes; then
11069 wx_cv_use_combobox='wxUSE_COMBOBOX=yes'
11071 wx_cv_use_combobox='wxUSE_COMBOBOX=no'
11076 LINE=`grep "^wxUSE_COMBOBOX=" ${wx_arg_cache_file}`
11077 if test "x$LINE" != x ; then
11078 eval "DEFAULT_$LINE"
11083 wx_cv_use_combobox='wxUSE_COMBOBOX=${'DEFAULT_wxUSE_COMBOBOX":-$defaultval}"
11088 eval "$wx_cv_use_combobox"
11089 if test "$no_cache" != 1; then
11090 echo $wx_cv_use_combobox >> ${wx_arg_cache_file}.tmp
11093 if test x"$enablestring" = xdisable; then
11094 if test $wxUSE_COMBOBOX = yes; then
11100 result=$wxUSE_COMBOBOX
11103 { echo "$as_me:$LINENO: result: $result" >&5
11104 echo "${ECHO_T}$result" >&6; }
11108 defaultval=$wxUSE_ALL_FEATURES
11109 if test -z "$defaultval"; then
11110 if test x"$enablestring" = xdisable; then
11117 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-comboctrl" >&5
11118 echo $ECHO_N "checking for --${enablestring:-enable}-comboctrl... $ECHO_C" >&6; }
11120 # Check whether --enable-comboctrl was given.
11121 if test "${enable_comboctrl+set}" = set; then
11122 enableval=$enable_comboctrl;
11123 if test "$enableval" = yes; then
11124 wx_cv_use_comboctrl='wxUSE_COMBOCTRL=yes'
11126 wx_cv_use_comboctrl='wxUSE_COMBOCTRL=no'
11131 LINE=`grep "^wxUSE_COMBOCTRL=" ${wx_arg_cache_file}`
11132 if test "x$LINE" != x ; then
11133 eval "DEFAULT_$LINE"
11138 wx_cv_use_comboctrl='wxUSE_COMBOCTRL=${'DEFAULT_wxUSE_COMBOCTRL":-$defaultval}"
11143 eval "$wx_cv_use_comboctrl"
11144 if test "$no_cache" != 1; then
11145 echo $wx_cv_use_comboctrl >> ${wx_arg_cache_file}.tmp
11148 if test x"$enablestring" = xdisable; then
11149 if test $wxUSE_COMBOCTRL = yes; then
11155 result=$wxUSE_COMBOCTRL
11158 { echo "$as_me:$LINENO: result: $result" >&5
11159 echo "${ECHO_T}$result" >&6; }
11163 defaultval=$wxUSE_ALL_FEATURES
11164 if test -z "$defaultval"; then
11165 if test x"$enablestring" = xdisable; then
11172 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-datepick" >&5
11173 echo $ECHO_N "checking for --${enablestring:-enable}-datepick... $ECHO_C" >&6; }
11175 # Check whether --enable-datepick was given.
11176 if test "${enable_datepick+set}" = set; then
11177 enableval=$enable_datepick;
11178 if test "$enableval" = yes; then
11179 wx_cv_use_datepick='wxUSE_DATEPICKCTRL=yes'
11181 wx_cv_use_datepick='wxUSE_DATEPICKCTRL=no'
11186 LINE=`grep "^wxUSE_DATEPICKCTRL=" ${wx_arg_cache_file}`
11187 if test "x$LINE" != x ; then
11188 eval "DEFAULT_$LINE"
11193 wx_cv_use_datepick='wxUSE_DATEPICKCTRL=${'DEFAULT_wxUSE_DATEPICKCTRL":-$defaultval}"
11198 eval "$wx_cv_use_datepick"
11199 if test "$no_cache" != 1; then
11200 echo $wx_cv_use_datepick >> ${wx_arg_cache_file}.tmp
11203 if test x"$enablestring" = xdisable; then
11204 if test $wxUSE_DATEPICKCTRL = yes; then
11210 result=$wxUSE_DATEPICKCTRL
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}-dirpicker" >&5
11228 echo $ECHO_N "checking for --${enablestring:-enable}-dirpicker... $ECHO_C" >&6; }
11230 # Check whether --enable-dirpicker was given.
11231 if test "${enable_dirpicker+set}" = set; then
11232 enableval=$enable_dirpicker;
11233 if test "$enableval" = yes; then
11234 wx_cv_use_dirpicker='wxUSE_DIRPICKERCTRL=yes'
11236 wx_cv_use_dirpicker='wxUSE_DIRPICKERCTRL=no'
11241 LINE=`grep "^wxUSE_DIRPICKERCTRL=" ${wx_arg_cache_file}`
11242 if test "x$LINE" != x ; then
11243 eval "DEFAULT_$LINE"
11248 wx_cv_use_dirpicker='wxUSE_DIRPICKERCTRL=${'DEFAULT_wxUSE_DIRPICKERCTRL":-$defaultval}"
11253 eval "$wx_cv_use_dirpicker"
11254 if test "$no_cache" != 1; then
11255 echo $wx_cv_use_dirpicker >> ${wx_arg_cache_file}.tmp
11258 if test x"$enablestring" = xdisable; then
11259 if test $wxUSE_DIRPICKERCTRL = yes; then
11265 result=$wxUSE_DIRPICKERCTRL
11268 { echo "$as_me:$LINENO: result: $result" >&5
11269 echo "${ECHO_T}$result" >&6; }
11273 defaultval=$wxUSE_ALL_FEATURES
11274 if test -z "$defaultval"; then
11275 if test x"$enablestring" = xdisable; then
11282 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-display" >&5
11283 echo $ECHO_N "checking for --${enablestring:-enable}-display... $ECHO_C" >&6; }
11285 # Check whether --enable-display was given.
11286 if test "${enable_display+set}" = set; then
11287 enableval=$enable_display;
11288 if test "$enableval" = yes; then
11289 wx_cv_use_display='wxUSE_DISPLAY=yes'
11291 wx_cv_use_display='wxUSE_DISPLAY=no'
11296 LINE=`grep "^wxUSE_DISPLAY=" ${wx_arg_cache_file}`
11297 if test "x$LINE" != x ; then
11298 eval "DEFAULT_$LINE"
11303 wx_cv_use_display='wxUSE_DISPLAY=${'DEFAULT_wxUSE_DISPLAY":-$defaultval}"
11308 eval "$wx_cv_use_display"
11309 if test "$no_cache" != 1; then
11310 echo $wx_cv_use_display >> ${wx_arg_cache_file}.tmp
11313 if test x"$enablestring" = xdisable; then
11314 if test $wxUSE_DISPLAY = yes; then
11320 result=$wxUSE_DISPLAY
11323 { echo "$as_me:$LINENO: result: $result" >&5
11324 echo "${ECHO_T}$result" >&6; }
11328 defaultval=$wxUSE_ALL_FEATURES
11329 if test -z "$defaultval"; then
11330 if test x"$enablestring" = xdisable; then
11337 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-detect_sm" >&5
11338 echo $ECHO_N "checking for --${enablestring:-enable}-detect_sm... $ECHO_C" >&6; }
11340 # Check whether --enable-detect_sm was given.
11341 if test "${enable_detect_sm+set}" = set; then
11342 enableval=$enable_detect_sm;
11343 if test "$enableval" = yes; then
11344 wx_cv_use_detect_sm='wxUSE_DETECT_SM=yes'
11346 wx_cv_use_detect_sm='wxUSE_DETECT_SM=no'
11351 LINE=`grep "^wxUSE_DETECT_SM=" ${wx_arg_cache_file}`
11352 if test "x$LINE" != x ; then
11353 eval "DEFAULT_$LINE"
11358 wx_cv_use_detect_sm='wxUSE_DETECT_SM=${'DEFAULT_wxUSE_DETECT_SM":-$defaultval}"
11363 eval "$wx_cv_use_detect_sm"
11364 if test "$no_cache" != 1; then
11365 echo $wx_cv_use_detect_sm >> ${wx_arg_cache_file}.tmp
11368 if test x"$enablestring" = xdisable; then
11369 if test $wxUSE_DETECT_SM = yes; then
11375 result=$wxUSE_DETECT_SM
11378 { echo "$as_me:$LINENO: result: $result" >&5
11379 echo "${ECHO_T}$result" >&6; }
11383 defaultval=$wxUSE_ALL_FEATURES
11384 if test -z "$defaultval"; then
11385 if test x"$enablestring" = xdisable; then
11392 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-editablebox" >&5
11393 echo $ECHO_N "checking for --${enablestring:-enable}-editablebox... $ECHO_C" >&6; }
11395 # Check whether --enable-editablebox was given.
11396 if test "${enable_editablebox+set}" = set; then
11397 enableval=$enable_editablebox;
11398 if test "$enableval" = yes; then
11399 wx_cv_use_editablebox='wxUSE_EDITABLELISTBOX=yes'
11401 wx_cv_use_editablebox='wxUSE_EDITABLELISTBOX=no'
11406 LINE=`grep "^wxUSE_EDITABLELISTBOX=" ${wx_arg_cache_file}`
11407 if test "x$LINE" != x ; then
11408 eval "DEFAULT_$LINE"
11413 wx_cv_use_editablebox='wxUSE_EDITABLELISTBOX=${'DEFAULT_wxUSE_EDITABLELISTBOX":-$defaultval}"
11418 eval "$wx_cv_use_editablebox"
11419 if test "$no_cache" != 1; then
11420 echo $wx_cv_use_editablebox >> ${wx_arg_cache_file}.tmp
11423 if test x"$enablestring" = xdisable; then
11424 if test $wxUSE_EDITABLELISTBOX = yes; then
11430 result=$wxUSE_EDITABLELISTBOX
11433 { echo "$as_me:$LINENO: result: $result" >&5
11434 echo "${ECHO_T}$result" >&6; }
11438 defaultval=$wxUSE_ALL_FEATURES
11439 if test -z "$defaultval"; then
11440 if test x"$enablestring" = xdisable; then
11447 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filepicker" >&5
11448 echo $ECHO_N "checking for --${enablestring:-enable}-filepicker... $ECHO_C" >&6; }
11450 # Check whether --enable-filepicker was given.
11451 if test "${enable_filepicker+set}" = set; then
11452 enableval=$enable_filepicker;
11453 if test "$enableval" = yes; then
11454 wx_cv_use_filepicker='wxUSE_FILEPICKERCTRL=yes'
11456 wx_cv_use_filepicker='wxUSE_FILEPICKERCTRL=no'
11461 LINE=`grep "^wxUSE_FILEPICKERCTRL=" ${wx_arg_cache_file}`
11462 if test "x$LINE" != x ; then
11463 eval "DEFAULT_$LINE"
11468 wx_cv_use_filepicker='wxUSE_FILEPICKERCTRL=${'DEFAULT_wxUSE_FILEPICKERCTRL":-$defaultval}"
11473 eval "$wx_cv_use_filepicker"
11474 if test "$no_cache" != 1; then
11475 echo $wx_cv_use_filepicker >> ${wx_arg_cache_file}.tmp
11478 if test x"$enablestring" = xdisable; then
11479 if test $wxUSE_FILEPICKERCTRL = yes; then
11485 result=$wxUSE_FILEPICKERCTRL
11488 { echo "$as_me:$LINENO: result: $result" >&5
11489 echo "${ECHO_T}$result" >&6; }
11493 defaultval=$wxUSE_ALL_FEATURES
11494 if test -z "$defaultval"; then
11495 if test x"$enablestring" = xdisable; then
11502 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontpicker" >&5
11503 echo $ECHO_N "checking for --${enablestring:-enable}-fontpicker... $ECHO_C" >&6; }
11505 # Check whether --enable-fontpicker was given.
11506 if test "${enable_fontpicker+set}" = set; then
11507 enableval=$enable_fontpicker;
11508 if test "$enableval" = yes; then
11509 wx_cv_use_fontpicker='wxUSE_FONTPICKERCTRL=yes'
11511 wx_cv_use_fontpicker='wxUSE_FONTPICKERCTRL=no'
11516 LINE=`grep "^wxUSE_FONTPICKERCTRL=" ${wx_arg_cache_file}`
11517 if test "x$LINE" != x ; then
11518 eval "DEFAULT_$LINE"
11523 wx_cv_use_fontpicker='wxUSE_FONTPICKERCTRL=${'DEFAULT_wxUSE_FONTPICKERCTRL":-$defaultval}"
11528 eval "$wx_cv_use_fontpicker"
11529 if test "$no_cache" != 1; then
11530 echo $wx_cv_use_fontpicker >> ${wx_arg_cache_file}.tmp
11533 if test x"$enablestring" = xdisable; then
11534 if test $wxUSE_FONTPICKERCTRL = yes; then
11540 result=$wxUSE_FONTPICKERCTRL
11543 { echo "$as_me:$LINENO: result: $result" >&5
11544 echo "${ECHO_T}$result" >&6; }
11548 defaultval=$wxUSE_ALL_FEATURES
11549 if test -z "$defaultval"; then
11550 if test x"$enablestring" = xdisable; then
11557 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gauge" >&5
11558 echo $ECHO_N "checking for --${enablestring:-enable}-gauge... $ECHO_C" >&6; }
11560 # Check whether --enable-gauge was given.
11561 if test "${enable_gauge+set}" = set; then
11562 enableval=$enable_gauge;
11563 if test "$enableval" = yes; then
11564 wx_cv_use_gauge='wxUSE_GAUGE=yes'
11566 wx_cv_use_gauge='wxUSE_GAUGE=no'
11571 LINE=`grep "^wxUSE_GAUGE=" ${wx_arg_cache_file}`
11572 if test "x$LINE" != x ; then
11573 eval "DEFAULT_$LINE"
11578 wx_cv_use_gauge='wxUSE_GAUGE=${'DEFAULT_wxUSE_GAUGE":-$defaultval}"
11583 eval "$wx_cv_use_gauge"
11584 if test "$no_cache" != 1; then
11585 echo $wx_cv_use_gauge >> ${wx_arg_cache_file}.tmp
11588 if test x"$enablestring" = xdisable; then
11589 if test $wxUSE_GAUGE = yes; then
11595 result=$wxUSE_GAUGE
11598 { echo "$as_me:$LINENO: result: $result" >&5
11599 echo "${ECHO_T}$result" >&6; }
11603 defaultval=$wxUSE_ALL_FEATURES
11604 if test -z "$defaultval"; then
11605 if test x"$enablestring" = xdisable; then
11612 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-grid" >&5
11613 echo $ECHO_N "checking for --${enablestring:-enable}-grid... $ECHO_C" >&6; }
11615 # Check whether --enable-grid was given.
11616 if test "${enable_grid+set}" = set; then
11617 enableval=$enable_grid;
11618 if test "$enableval" = yes; then
11619 wx_cv_use_grid='wxUSE_GRID=yes'
11621 wx_cv_use_grid='wxUSE_GRID=no'
11626 LINE=`grep "^wxUSE_GRID=" ${wx_arg_cache_file}`
11627 if test "x$LINE" != x ; then
11628 eval "DEFAULT_$LINE"
11633 wx_cv_use_grid='wxUSE_GRID=${'DEFAULT_wxUSE_GRID":-$defaultval}"
11638 eval "$wx_cv_use_grid"
11639 if test "$no_cache" != 1; then
11640 echo $wx_cv_use_grid >> ${wx_arg_cache_file}.tmp
11643 if test x"$enablestring" = xdisable; then
11644 if test $wxUSE_GRID = yes; then
11653 { echo "$as_me:$LINENO: result: $result" >&5
11654 echo "${ECHO_T}$result" >&6; }
11658 defaultval=$wxUSE_ALL_FEATURES
11659 if test -z "$defaultval"; then
11660 if test x"$enablestring" = xdisable; then
11667 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dataviewctrl" >&5
11668 echo $ECHO_N "checking for --${enablestring:-enable}-dataviewctrl... $ECHO_C" >&6; }
11670 # Check whether --enable-dataviewctrl was given.
11671 if test "${enable_dataviewctrl+set}" = set; then
11672 enableval=$enable_dataviewctrl;
11673 if test "$enableval" = yes; then
11674 wx_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL=yes'
11676 wx_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL=no'
11681 LINE=`grep "^wxUSE_DATAVIEWCTRL=" ${wx_arg_cache_file}`
11682 if test "x$LINE" != x ; then
11683 eval "DEFAULT_$LINE"
11688 wx_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL=${'DEFAULT_wxUSE_DATAVIEWCTRL":-$defaultval}"
11693 eval "$wx_cv_use_dataviewctrl"
11694 if test "$no_cache" != 1; then
11695 echo $wx_cv_use_dataviewctrl >> ${wx_arg_cache_file}.tmp
11698 if test x"$enablestring" = xdisable; then
11699 if test $wxUSE_DATAVIEWCTRL = yes; then
11705 result=$wxUSE_DATAVIEWCTRL
11708 { echo "$as_me:$LINENO: result: $result" >&5
11709 echo "${ECHO_T}$result" >&6; }
11713 defaultval=$wxUSE_ALL_FEATURES
11714 if test -z "$defaultval"; then
11715 if test x"$enablestring" = xdisable; then
11722 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-hyperlink" >&5
11723 echo $ECHO_N "checking for --${enablestring:-enable}-hyperlink... $ECHO_C" >&6; }
11725 # Check whether --enable-hyperlink was given.
11726 if test "${enable_hyperlink+set}" = set; then
11727 enableval=$enable_hyperlink;
11728 if test "$enableval" = yes; then
11729 wx_cv_use_hyperlink='wxUSE_HYPERLINKCTRL=yes'
11731 wx_cv_use_hyperlink='wxUSE_HYPERLINKCTRL=no'
11736 LINE=`grep "^wxUSE_HYPERLINKCTRL=" ${wx_arg_cache_file}`
11737 if test "x$LINE" != x ; then
11738 eval "DEFAULT_$LINE"
11743 wx_cv_use_hyperlink='wxUSE_HYPERLINKCTRL=${'DEFAULT_wxUSE_HYPERLINKCTRL":-$defaultval}"
11748 eval "$wx_cv_use_hyperlink"
11749 if test "$no_cache" != 1; then
11750 echo $wx_cv_use_hyperlink >> ${wx_arg_cache_file}.tmp
11753 if test x"$enablestring" = xdisable; then
11754 if test $wxUSE_HYPERLINKCTRL = yes; then
11760 result=$wxUSE_HYPERLINKCTRL
11763 { echo "$as_me:$LINENO: result: $result" >&5
11764 echo "${ECHO_T}$result" >&6; }
11768 defaultval=$wxUSE_ALL_FEATURES
11769 if test -z "$defaultval"; then
11770 if test x"$enablestring" = xdisable; then
11777 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-imaglist" >&5
11778 echo $ECHO_N "checking for --${enablestring:-enable}-imaglist... $ECHO_C" >&6; }
11780 # Check whether --enable-imaglist was given.
11781 if test "${enable_imaglist+set}" = set; then
11782 enableval=$enable_imaglist;
11783 if test "$enableval" = yes; then
11784 wx_cv_use_imaglist='wxUSE_IMAGLIST=yes'
11786 wx_cv_use_imaglist='wxUSE_IMAGLIST=no'
11791 LINE=`grep "^wxUSE_IMAGLIST=" ${wx_arg_cache_file}`
11792 if test "x$LINE" != x ; then
11793 eval "DEFAULT_$LINE"
11798 wx_cv_use_imaglist='wxUSE_IMAGLIST=${'DEFAULT_wxUSE_IMAGLIST":-$defaultval}"
11803 eval "$wx_cv_use_imaglist"
11804 if test "$no_cache" != 1; then
11805 echo $wx_cv_use_imaglist >> ${wx_arg_cache_file}.tmp
11808 if test x"$enablestring" = xdisable; then
11809 if test $wxUSE_IMAGLIST = yes; then
11815 result=$wxUSE_IMAGLIST
11818 { echo "$as_me:$LINENO: result: $result" >&5
11819 echo "${ECHO_T}$result" >&6; }
11823 defaultval=$wxUSE_ALL_FEATURES
11824 if test -z "$defaultval"; then
11825 if test x"$enablestring" = xdisable; then
11832 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbook" >&5
11833 echo $ECHO_N "checking for --${enablestring:-enable}-listbook... $ECHO_C" >&6; }
11835 # Check whether --enable-listbook was given.
11836 if test "${enable_listbook+set}" = set; then
11837 enableval=$enable_listbook;
11838 if test "$enableval" = yes; then
11839 wx_cv_use_listbook='wxUSE_LISTBOOK=yes'
11841 wx_cv_use_listbook='wxUSE_LISTBOOK=no'
11846 LINE=`grep "^wxUSE_LISTBOOK=" ${wx_arg_cache_file}`
11847 if test "x$LINE" != x ; then
11848 eval "DEFAULT_$LINE"
11853 wx_cv_use_listbook='wxUSE_LISTBOOK=${'DEFAULT_wxUSE_LISTBOOK":-$defaultval}"
11858 eval "$wx_cv_use_listbook"
11859 if test "$no_cache" != 1; then
11860 echo $wx_cv_use_listbook >> ${wx_arg_cache_file}.tmp
11863 if test x"$enablestring" = xdisable; then
11864 if test $wxUSE_LISTBOOK = yes; then
11870 result=$wxUSE_LISTBOOK
11873 { echo "$as_me:$LINENO: result: $result" >&5
11874 echo "${ECHO_T}$result" >&6; }
11878 defaultval=$wxUSE_ALL_FEATURES
11879 if test -z "$defaultval"; then
11880 if test x"$enablestring" = xdisable; then
11887 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbox" >&5
11888 echo $ECHO_N "checking for --${enablestring:-enable}-listbox... $ECHO_C" >&6; }
11890 # Check whether --enable-listbox was given.
11891 if test "${enable_listbox+set}" = set; then
11892 enableval=$enable_listbox;
11893 if test "$enableval" = yes; then
11894 wx_cv_use_listbox='wxUSE_LISTBOX=yes'
11896 wx_cv_use_listbox='wxUSE_LISTBOX=no'
11901 LINE=`grep "^wxUSE_LISTBOX=" ${wx_arg_cache_file}`
11902 if test "x$LINE" != x ; then
11903 eval "DEFAULT_$LINE"
11908 wx_cv_use_listbox='wxUSE_LISTBOX=${'DEFAULT_wxUSE_LISTBOX":-$defaultval}"
11913 eval "$wx_cv_use_listbox"
11914 if test "$no_cache" != 1; then
11915 echo $wx_cv_use_listbox >> ${wx_arg_cache_file}.tmp
11918 if test x"$enablestring" = xdisable; then
11919 if test $wxUSE_LISTBOX = yes; then
11925 result=$wxUSE_LISTBOX
11928 { echo "$as_me:$LINENO: result: $result" >&5
11929 echo "${ECHO_T}$result" >&6; }
11933 defaultval=$wxUSE_ALL_FEATURES
11934 if test -z "$defaultval"; then
11935 if test x"$enablestring" = xdisable; then
11942 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listctrl" >&5
11943 echo $ECHO_N "checking for --${enablestring:-enable}-listctrl... $ECHO_C" >&6; }
11945 # Check whether --enable-listctrl was given.
11946 if test "${enable_listctrl+set}" = set; then
11947 enableval=$enable_listctrl;
11948 if test "$enableval" = yes; then
11949 wx_cv_use_listctrl='wxUSE_LISTCTRL=yes'
11951 wx_cv_use_listctrl='wxUSE_LISTCTRL=no'
11956 LINE=`grep "^wxUSE_LISTCTRL=" ${wx_arg_cache_file}`
11957 if test "x$LINE" != x ; then
11958 eval "DEFAULT_$LINE"
11963 wx_cv_use_listctrl='wxUSE_LISTCTRL=${'DEFAULT_wxUSE_LISTCTRL":-$defaultval}"
11968 eval "$wx_cv_use_listctrl"
11969 if test "$no_cache" != 1; then
11970 echo $wx_cv_use_listctrl >> ${wx_arg_cache_file}.tmp
11973 if test x"$enablestring" = xdisable; then
11974 if test $wxUSE_LISTCTRL = yes; then
11980 result=$wxUSE_LISTCTRL
11983 { echo "$as_me:$LINENO: result: $result" >&5
11984 echo "${ECHO_T}$result" >&6; }
11988 defaultval=$wxUSE_ALL_FEATURES
11989 if test -z "$defaultval"; then
11990 if test x"$enablestring" = xdisable; then
11997 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-notebook" >&5
11998 echo $ECHO_N "checking for --${enablestring:-enable}-notebook... $ECHO_C" >&6; }
12000 # Check whether --enable-notebook was given.
12001 if test "${enable_notebook+set}" = set; then
12002 enableval=$enable_notebook;
12003 if test "$enableval" = yes; then
12004 wx_cv_use_notebook='wxUSE_NOTEBOOK=yes'
12006 wx_cv_use_notebook='wxUSE_NOTEBOOK=no'
12011 LINE=`grep "^wxUSE_NOTEBOOK=" ${wx_arg_cache_file}`
12012 if test "x$LINE" != x ; then
12013 eval "DEFAULT_$LINE"
12018 wx_cv_use_notebook='wxUSE_NOTEBOOK=${'DEFAULT_wxUSE_NOTEBOOK":-$defaultval}"
12023 eval "$wx_cv_use_notebook"
12024 if test "$no_cache" != 1; then
12025 echo $wx_cv_use_notebook >> ${wx_arg_cache_file}.tmp
12028 if test x"$enablestring" = xdisable; then
12029 if test $wxUSE_NOTEBOOK = yes; then
12035 result=$wxUSE_NOTEBOOK
12038 { echo "$as_me:$LINENO: result: $result" >&5
12039 echo "${ECHO_T}$result" >&6; }
12043 defaultval=$wxUSE_ALL_FEATURES
12044 if test -z "$defaultval"; then
12045 if test x"$enablestring" = xdisable; then
12052 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-odcombobox" >&5
12053 echo $ECHO_N "checking for --${enablestring:-enable}-odcombobox... $ECHO_C" >&6; }
12055 # Check whether --enable-odcombobox was given.
12056 if test "${enable_odcombobox+set}" = set; then
12057 enableval=$enable_odcombobox;
12058 if test "$enableval" = yes; then
12059 wx_cv_use_odcombobox='wxUSE_ODCOMBOBOX=yes'
12061 wx_cv_use_odcombobox='wxUSE_ODCOMBOBOX=no'
12066 LINE=`grep "^wxUSE_ODCOMBOBOX=" ${wx_arg_cache_file}`
12067 if test "x$LINE" != x ; then
12068 eval "DEFAULT_$LINE"
12073 wx_cv_use_odcombobox='wxUSE_ODCOMBOBOX=${'DEFAULT_wxUSE_ODCOMBOBOX":-$defaultval}"
12078 eval "$wx_cv_use_odcombobox"
12079 if test "$no_cache" != 1; then
12080 echo $wx_cv_use_odcombobox >> ${wx_arg_cache_file}.tmp
12083 if test x"$enablestring" = xdisable; then
12084 if test $wxUSE_ODCOMBOBOX = yes; then
12090 result=$wxUSE_ODCOMBOBOX
12093 { echo "$as_me:$LINENO: result: $result" >&5
12094 echo "${ECHO_T}$result" >&6; }
12098 defaultval=$wxUSE_ALL_FEATURES
12099 if test -z "$defaultval"; then
12100 if test x"$enablestring" = xdisable; then
12107 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobox" >&5
12108 echo $ECHO_N "checking for --${enablestring:-enable}-radiobox... $ECHO_C" >&6; }
12110 # Check whether --enable-radiobox was given.
12111 if test "${enable_radiobox+set}" = set; then
12112 enableval=$enable_radiobox;
12113 if test "$enableval" = yes; then
12114 wx_cv_use_radiobox='wxUSE_RADIOBOX=yes'
12116 wx_cv_use_radiobox='wxUSE_RADIOBOX=no'
12121 LINE=`grep "^wxUSE_RADIOBOX=" ${wx_arg_cache_file}`
12122 if test "x$LINE" != x ; then
12123 eval "DEFAULT_$LINE"
12128 wx_cv_use_radiobox='wxUSE_RADIOBOX=${'DEFAULT_wxUSE_RADIOBOX":-$defaultval}"
12133 eval "$wx_cv_use_radiobox"
12134 if test "$no_cache" != 1; then
12135 echo $wx_cv_use_radiobox >> ${wx_arg_cache_file}.tmp
12138 if test x"$enablestring" = xdisable; then
12139 if test $wxUSE_RADIOBOX = yes; then
12145 result=$wxUSE_RADIOBOX
12148 { echo "$as_me:$LINENO: result: $result" >&5
12149 echo "${ECHO_T}$result" >&6; }
12153 defaultval=$wxUSE_ALL_FEATURES
12154 if test -z "$defaultval"; then
12155 if test x"$enablestring" = xdisable; then
12162 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobtn" >&5
12163 echo $ECHO_N "checking for --${enablestring:-enable}-radiobtn... $ECHO_C" >&6; }
12165 # Check whether --enable-radiobtn was given.
12166 if test "${enable_radiobtn+set}" = set; then
12167 enableval=$enable_radiobtn;
12168 if test "$enableval" = yes; then
12169 wx_cv_use_radiobtn='wxUSE_RADIOBTN=yes'
12171 wx_cv_use_radiobtn='wxUSE_RADIOBTN=no'
12176 LINE=`grep "^wxUSE_RADIOBTN=" ${wx_arg_cache_file}`
12177 if test "x$LINE" != x ; then
12178 eval "DEFAULT_$LINE"
12183 wx_cv_use_radiobtn='wxUSE_RADIOBTN=${'DEFAULT_wxUSE_RADIOBTN":-$defaultval}"
12188 eval "$wx_cv_use_radiobtn"
12189 if test "$no_cache" != 1; then
12190 echo $wx_cv_use_radiobtn >> ${wx_arg_cache_file}.tmp
12193 if test x"$enablestring" = xdisable; then
12194 if test $wxUSE_RADIOBTN = yes; then
12200 result=$wxUSE_RADIOBTN
12203 { echo "$as_me:$LINENO: result: $result" >&5
12204 echo "${ECHO_T}$result" >&6; }
12208 defaultval=$wxUSE_ALL_FEATURES
12209 if test -z "$defaultval"; then
12210 if test x"$enablestring" = xdisable; then
12217 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sash" >&5
12218 echo $ECHO_N "checking for --${enablestring:-enable}-sash... $ECHO_C" >&6; }
12220 # Check whether --enable-sash was given.
12221 if test "${enable_sash+set}" = set; then
12222 enableval=$enable_sash;
12223 if test "$enableval" = yes; then
12224 wx_cv_use_sash='wxUSE_SASH=yes'
12226 wx_cv_use_sash='wxUSE_SASH=no'
12231 LINE=`grep "^wxUSE_SASH=" ${wx_arg_cache_file}`
12232 if test "x$LINE" != x ; then
12233 eval "DEFAULT_$LINE"
12238 wx_cv_use_sash='wxUSE_SASH=${'DEFAULT_wxUSE_SASH":-$defaultval}"
12243 eval "$wx_cv_use_sash"
12244 if test "$no_cache" != 1; then
12245 echo $wx_cv_use_sash >> ${wx_arg_cache_file}.tmp
12248 if test x"$enablestring" = xdisable; then
12249 if test $wxUSE_SASH = yes; then
12258 { echo "$as_me:$LINENO: result: $result" >&5
12259 echo "${ECHO_T}$result" >&6; }
12263 defaultval=$wxUSE_ALL_FEATURES
12264 if test -z "$defaultval"; then
12265 if test x"$enablestring" = xdisable; then
12272 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-scrollbar" >&5
12273 echo $ECHO_N "checking for --${enablestring:-enable}-scrollbar... $ECHO_C" >&6; }
12275 # Check whether --enable-scrollbar was given.
12276 if test "${enable_scrollbar+set}" = set; then
12277 enableval=$enable_scrollbar;
12278 if test "$enableval" = yes; then
12279 wx_cv_use_scrollbar='wxUSE_SCROLLBAR=yes'
12281 wx_cv_use_scrollbar='wxUSE_SCROLLBAR=no'
12286 LINE=`grep "^wxUSE_SCROLLBAR=" ${wx_arg_cache_file}`
12287 if test "x$LINE" != x ; then
12288 eval "DEFAULT_$LINE"
12293 wx_cv_use_scrollbar='wxUSE_SCROLLBAR=${'DEFAULT_wxUSE_SCROLLBAR":-$defaultval}"
12298 eval "$wx_cv_use_scrollbar"
12299 if test "$no_cache" != 1; then
12300 echo $wx_cv_use_scrollbar >> ${wx_arg_cache_file}.tmp
12303 if test x"$enablestring" = xdisable; then
12304 if test $wxUSE_SCROLLBAR = yes; then
12310 result=$wxUSE_SCROLLBAR
12313 { echo "$as_me:$LINENO: result: $result" >&5
12314 echo "${ECHO_T}$result" >&6; }
12318 defaultval=$wxUSE_ALL_FEATURES
12319 if test -z "$defaultval"; then
12320 if test x"$enablestring" = xdisable; then
12327 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-searchctrl" >&5
12328 echo $ECHO_N "checking for --${enablestring:-enable}-searchctrl... $ECHO_C" >&6; }
12330 # Check whether --enable-searchctrl was given.
12331 if test "${enable_searchctrl+set}" = set; then
12332 enableval=$enable_searchctrl;
12333 if test "$enableval" = yes; then
12334 wx_cv_use_searchctrl='wxUSE_SEARCHCTRL=yes'
12336 wx_cv_use_searchctrl='wxUSE_SEARCHCTRL=no'
12341 LINE=`grep "^wxUSE_SEARCHCTRL=" ${wx_arg_cache_file}`
12342 if test "x$LINE" != x ; then
12343 eval "DEFAULT_$LINE"
12348 wx_cv_use_searchctrl='wxUSE_SEARCHCTRL=${'DEFAULT_wxUSE_SEARCHCTRL":-$defaultval}"
12353 eval "$wx_cv_use_searchctrl"
12354 if test "$no_cache" != 1; then
12355 echo $wx_cv_use_searchctrl >> ${wx_arg_cache_file}.tmp
12358 if test x"$enablestring" = xdisable; then
12359 if test $wxUSE_SEARCHCTRL = yes; then
12365 result=$wxUSE_SEARCHCTRL
12368 { echo "$as_me:$LINENO: result: $result" >&5
12369 echo "${ECHO_T}$result" >&6; }
12373 defaultval=$wxUSE_ALL_FEATURES
12374 if test -z "$defaultval"; then
12375 if test x"$enablestring" = xdisable; then
12382 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-slider" >&5
12383 echo $ECHO_N "checking for --${enablestring:-enable}-slider... $ECHO_C" >&6; }
12385 # Check whether --enable-slider was given.
12386 if test "${enable_slider+set}" = set; then
12387 enableval=$enable_slider;
12388 if test "$enableval" = yes; then
12389 wx_cv_use_slider='wxUSE_SLIDER=yes'
12391 wx_cv_use_slider='wxUSE_SLIDER=no'
12396 LINE=`grep "^wxUSE_SLIDER=" ${wx_arg_cache_file}`
12397 if test "x$LINE" != x ; then
12398 eval "DEFAULT_$LINE"
12403 wx_cv_use_slider='wxUSE_SLIDER=${'DEFAULT_wxUSE_SLIDER":-$defaultval}"
12408 eval "$wx_cv_use_slider"
12409 if test "$no_cache" != 1; then
12410 echo $wx_cv_use_slider >> ${wx_arg_cache_file}.tmp
12413 if test x"$enablestring" = xdisable; then
12414 if test $wxUSE_SLIDER = yes; then
12420 result=$wxUSE_SLIDER
12423 { echo "$as_me:$LINENO: result: $result" >&5
12424 echo "${ECHO_T}$result" >&6; }
12428 defaultval=$wxUSE_ALL_FEATURES
12429 if test -z "$defaultval"; then
12430 if test x"$enablestring" = xdisable; then
12437 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinbtn" >&5
12438 echo $ECHO_N "checking for --${enablestring:-enable}-spinbtn... $ECHO_C" >&6; }
12440 # Check whether --enable-spinbtn was given.
12441 if test "${enable_spinbtn+set}" = set; then
12442 enableval=$enable_spinbtn;
12443 if test "$enableval" = yes; then
12444 wx_cv_use_spinbtn='wxUSE_SPINBTN=yes'
12446 wx_cv_use_spinbtn='wxUSE_SPINBTN=no'
12451 LINE=`grep "^wxUSE_SPINBTN=" ${wx_arg_cache_file}`
12452 if test "x$LINE" != x ; then
12453 eval "DEFAULT_$LINE"
12458 wx_cv_use_spinbtn='wxUSE_SPINBTN=${'DEFAULT_wxUSE_SPINBTN":-$defaultval}"
12463 eval "$wx_cv_use_spinbtn"
12464 if test "$no_cache" != 1; then
12465 echo $wx_cv_use_spinbtn >> ${wx_arg_cache_file}.tmp
12468 if test x"$enablestring" = xdisable; then
12469 if test $wxUSE_SPINBTN = yes; then
12475 result=$wxUSE_SPINBTN
12478 { echo "$as_me:$LINENO: result: $result" >&5
12479 echo "${ECHO_T}$result" >&6; }
12483 defaultval=$wxUSE_ALL_FEATURES
12484 if test -z "$defaultval"; then
12485 if test x"$enablestring" = xdisable; then
12492 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinctrl" >&5
12493 echo $ECHO_N "checking for --${enablestring:-enable}-spinctrl... $ECHO_C" >&6; }
12495 # Check whether --enable-spinctrl was given.
12496 if test "${enable_spinctrl+set}" = set; then
12497 enableval=$enable_spinctrl;
12498 if test "$enableval" = yes; then
12499 wx_cv_use_spinctrl='wxUSE_SPINCTRL=yes'
12501 wx_cv_use_spinctrl='wxUSE_SPINCTRL=no'
12506 LINE=`grep "^wxUSE_SPINCTRL=" ${wx_arg_cache_file}`
12507 if test "x$LINE" != x ; then
12508 eval "DEFAULT_$LINE"
12513 wx_cv_use_spinctrl='wxUSE_SPINCTRL=${'DEFAULT_wxUSE_SPINCTRL":-$defaultval}"
12518 eval "$wx_cv_use_spinctrl"
12519 if test "$no_cache" != 1; then
12520 echo $wx_cv_use_spinctrl >> ${wx_arg_cache_file}.tmp
12523 if test x"$enablestring" = xdisable; then
12524 if test $wxUSE_SPINCTRL = yes; then
12530 result=$wxUSE_SPINCTRL
12533 { echo "$as_me:$LINENO: result: $result" >&5
12534 echo "${ECHO_T}$result" >&6; }
12538 defaultval=$wxUSE_ALL_FEATURES
12539 if test -z "$defaultval"; then
12540 if test x"$enablestring" = xdisable; then
12547 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splitter" >&5
12548 echo $ECHO_N "checking for --${enablestring:-enable}-splitter... $ECHO_C" >&6; }
12550 # Check whether --enable-splitter was given.
12551 if test "${enable_splitter+set}" = set; then
12552 enableval=$enable_splitter;
12553 if test "$enableval" = yes; then
12554 wx_cv_use_splitter='wxUSE_SPLITTER=yes'
12556 wx_cv_use_splitter='wxUSE_SPLITTER=no'
12561 LINE=`grep "^wxUSE_SPLITTER=" ${wx_arg_cache_file}`
12562 if test "x$LINE" != x ; then
12563 eval "DEFAULT_$LINE"
12568 wx_cv_use_splitter='wxUSE_SPLITTER=${'DEFAULT_wxUSE_SPLITTER":-$defaultval}"
12573 eval "$wx_cv_use_splitter"
12574 if test "$no_cache" != 1; then
12575 echo $wx_cv_use_splitter >> ${wx_arg_cache_file}.tmp
12578 if test x"$enablestring" = xdisable; then
12579 if test $wxUSE_SPLITTER = yes; then
12585 result=$wxUSE_SPLITTER
12588 { echo "$as_me:$LINENO: result: $result" >&5
12589 echo "${ECHO_T}$result" >&6; }
12593 defaultval=$wxUSE_ALL_FEATURES
12594 if test -z "$defaultval"; then
12595 if test x"$enablestring" = xdisable; then
12602 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbmp" >&5
12603 echo $ECHO_N "checking for --${enablestring:-enable}-statbmp... $ECHO_C" >&6; }
12605 # Check whether --enable-statbmp was given.
12606 if test "${enable_statbmp+set}" = set; then
12607 enableval=$enable_statbmp;
12608 if test "$enableval" = yes; then
12609 wx_cv_use_statbmp='wxUSE_STATBMP=yes'
12611 wx_cv_use_statbmp='wxUSE_STATBMP=no'
12616 LINE=`grep "^wxUSE_STATBMP=" ${wx_arg_cache_file}`
12617 if test "x$LINE" != x ; then
12618 eval "DEFAULT_$LINE"
12623 wx_cv_use_statbmp='wxUSE_STATBMP=${'DEFAULT_wxUSE_STATBMP":-$defaultval}"
12628 eval "$wx_cv_use_statbmp"
12629 if test "$no_cache" != 1; then
12630 echo $wx_cv_use_statbmp >> ${wx_arg_cache_file}.tmp
12633 if test x"$enablestring" = xdisable; then
12634 if test $wxUSE_STATBMP = yes; then
12640 result=$wxUSE_STATBMP
12643 { echo "$as_me:$LINENO: result: $result" >&5
12644 echo "${ECHO_T}$result" >&6; }
12648 defaultval=$wxUSE_ALL_FEATURES
12649 if test -z "$defaultval"; then
12650 if test x"$enablestring" = xdisable; then
12657 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbox" >&5
12658 echo $ECHO_N "checking for --${enablestring:-enable}-statbox... $ECHO_C" >&6; }
12660 # Check whether --enable-statbox was given.
12661 if test "${enable_statbox+set}" = set; then
12662 enableval=$enable_statbox;
12663 if test "$enableval" = yes; then
12664 wx_cv_use_statbox='wxUSE_STATBOX=yes'
12666 wx_cv_use_statbox='wxUSE_STATBOX=no'
12671 LINE=`grep "^wxUSE_STATBOX=" ${wx_arg_cache_file}`
12672 if test "x$LINE" != x ; then
12673 eval "DEFAULT_$LINE"
12678 wx_cv_use_statbox='wxUSE_STATBOX=${'DEFAULT_wxUSE_STATBOX":-$defaultval}"
12683 eval "$wx_cv_use_statbox"
12684 if test "$no_cache" != 1; then
12685 echo $wx_cv_use_statbox >> ${wx_arg_cache_file}.tmp
12688 if test x"$enablestring" = xdisable; then
12689 if test $wxUSE_STATBOX = yes; then
12695 result=$wxUSE_STATBOX
12698 { echo "$as_me:$LINENO: result: $result" >&5
12699 echo "${ECHO_T}$result" >&6; }
12703 defaultval=$wxUSE_ALL_FEATURES
12704 if test -z "$defaultval"; then
12705 if test x"$enablestring" = xdisable; then
12712 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statline" >&5
12713 echo $ECHO_N "checking for --${enablestring:-enable}-statline... $ECHO_C" >&6; }
12715 # Check whether --enable-statline was given.
12716 if test "${enable_statline+set}" = set; then
12717 enableval=$enable_statline;
12718 if test "$enableval" = yes; then
12719 wx_cv_use_statline='wxUSE_STATLINE=yes'
12721 wx_cv_use_statline='wxUSE_STATLINE=no'
12726 LINE=`grep "^wxUSE_STATLINE=" ${wx_arg_cache_file}`
12727 if test "x$LINE" != x ; then
12728 eval "DEFAULT_$LINE"
12733 wx_cv_use_statline='wxUSE_STATLINE=${'DEFAULT_wxUSE_STATLINE":-$defaultval}"
12738 eval "$wx_cv_use_statline"
12739 if test "$no_cache" != 1; then
12740 echo $wx_cv_use_statline >> ${wx_arg_cache_file}.tmp
12743 if test x"$enablestring" = xdisable; then
12744 if test $wxUSE_STATLINE = yes; then
12750 result=$wxUSE_STATLINE
12753 { echo "$as_me:$LINENO: result: $result" >&5
12754 echo "${ECHO_T}$result" >&6; }
12758 defaultval=$wxUSE_ALL_FEATURES
12759 if test -z "$defaultval"; then
12760 if test x"$enablestring" = xdisable; then
12767 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stattext" >&5
12768 echo $ECHO_N "checking for --${enablestring:-enable}-stattext... $ECHO_C" >&6; }
12770 # Check whether --enable-stattext was given.
12771 if test "${enable_stattext+set}" = set; then
12772 enableval=$enable_stattext;
12773 if test "$enableval" = yes; then
12774 wx_cv_use_stattext='wxUSE_STATTEXT=yes'
12776 wx_cv_use_stattext='wxUSE_STATTEXT=no'
12781 LINE=`grep "^wxUSE_STATTEXT=" ${wx_arg_cache_file}`
12782 if test "x$LINE" != x ; then
12783 eval "DEFAULT_$LINE"
12788 wx_cv_use_stattext='wxUSE_STATTEXT=${'DEFAULT_wxUSE_STATTEXT":-$defaultval}"
12793 eval "$wx_cv_use_stattext"
12794 if test "$no_cache" != 1; then
12795 echo $wx_cv_use_stattext >> ${wx_arg_cache_file}.tmp
12798 if test x"$enablestring" = xdisable; then
12799 if test $wxUSE_STATTEXT = yes; then
12805 result=$wxUSE_STATTEXT
12808 { echo "$as_me:$LINENO: result: $result" >&5
12809 echo "${ECHO_T}$result" >&6; }
12813 defaultval=$wxUSE_ALL_FEATURES
12814 if test -z "$defaultval"; then
12815 if test x"$enablestring" = xdisable; then
12822 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statusbar" >&5
12823 echo $ECHO_N "checking for --${enablestring:-enable}-statusbar... $ECHO_C" >&6; }
12825 # Check whether --enable-statusbar was given.
12826 if test "${enable_statusbar+set}" = set; then
12827 enableval=$enable_statusbar;
12828 if test "$enableval" = yes; then
12829 wx_cv_use_statusbar='wxUSE_STATUSBAR=yes'
12831 wx_cv_use_statusbar='wxUSE_STATUSBAR=no'
12836 LINE=`grep "^wxUSE_STATUSBAR=" ${wx_arg_cache_file}`
12837 if test "x$LINE" != x ; then
12838 eval "DEFAULT_$LINE"
12843 wx_cv_use_statusbar='wxUSE_STATUSBAR=${'DEFAULT_wxUSE_STATUSBAR":-$defaultval}"
12848 eval "$wx_cv_use_statusbar"
12849 if test "$no_cache" != 1; then
12850 echo $wx_cv_use_statusbar >> ${wx_arg_cache_file}.tmp
12853 if test x"$enablestring" = xdisable; then
12854 if test $wxUSE_STATUSBAR = yes; then
12860 result=$wxUSE_STATUSBAR
12863 { echo "$as_me:$LINENO: result: $result" >&5
12864 echo "${ECHO_T}$result" >&6; }
12868 defaultval=$wxUSE_ALL_FEATURES
12869 if test -z "$defaultval"; then
12870 if test x"$enablestring" = xdisable; then
12877 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tabdialog" >&5
12878 echo $ECHO_N "checking for --${enablestring:-enable}-tabdialog... $ECHO_C" >&6; }
12880 # Check whether --enable-tabdialog was given.
12881 if test "${enable_tabdialog+set}" = set; then
12882 enableval=$enable_tabdialog;
12883 if test "$enableval" = yes; then
12884 wx_cv_use_tabdialog='wxUSE_TAB_DIALOG=yes'
12886 wx_cv_use_tabdialog='wxUSE_TAB_DIALOG=no'
12891 LINE=`grep "^wxUSE_TAB_DIALOG=" ${wx_arg_cache_file}`
12892 if test "x$LINE" != x ; then
12893 eval "DEFAULT_$LINE"
12898 wx_cv_use_tabdialog='wxUSE_TAB_DIALOG=${'DEFAULT_wxUSE_TAB_DIALOG":-$defaultval}"
12903 eval "$wx_cv_use_tabdialog"
12904 if test "$no_cache" != 1; then
12905 echo $wx_cv_use_tabdialog >> ${wx_arg_cache_file}.tmp
12908 if test x"$enablestring" = xdisable; then
12909 if test $wxUSE_TAB_DIALOG = yes; then
12915 result=$wxUSE_TAB_DIALOG
12918 { echo "$as_me:$LINENO: result: $result" >&5
12919 echo "${ECHO_T}$result" >&6; }
12923 defaultval=$wxUSE_ALL_FEATURES
12924 if test -z "$defaultval"; then
12925 if test x"$enablestring" = xdisable; then
12932 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textctrl" >&5
12933 echo $ECHO_N "checking for --${enablestring:-enable}-textctrl... $ECHO_C" >&6; }
12935 # Check whether --enable-textctrl was given.
12936 if test "${enable_textctrl+set}" = set; then
12937 enableval=$enable_textctrl;
12938 if test "$enableval" = yes; then
12939 wx_cv_use_textctrl='wxUSE_TEXTCTRL=yes'
12941 wx_cv_use_textctrl='wxUSE_TEXTCTRL=no'
12946 LINE=`grep "^wxUSE_TEXTCTRL=" ${wx_arg_cache_file}`
12947 if test "x$LINE" != x ; then
12948 eval "DEFAULT_$LINE"
12953 wx_cv_use_textctrl='wxUSE_TEXTCTRL=${'DEFAULT_wxUSE_TEXTCTRL":-$defaultval}"
12958 eval "$wx_cv_use_textctrl"
12959 if test "$no_cache" != 1; then
12960 echo $wx_cv_use_textctrl >> ${wx_arg_cache_file}.tmp
12963 if test x"$enablestring" = xdisable; then
12964 if test $wxUSE_TEXTCTRL = yes; then
12970 result=$wxUSE_TEXTCTRL
12973 { echo "$as_me:$LINENO: result: $result" >&5
12974 echo "${ECHO_T}$result" >&6; }
12978 defaultval=$wxUSE_ALL_FEATURES
12979 if test -z "$defaultval"; then
12980 if test x"$enablestring" = xdisable; then
12987 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-togglebtn" >&5
12988 echo $ECHO_N "checking for --${enablestring:-enable}-togglebtn... $ECHO_C" >&6; }
12990 # Check whether --enable-togglebtn was given.
12991 if test "${enable_togglebtn+set}" = set; then
12992 enableval=$enable_togglebtn;
12993 if test "$enableval" = yes; then
12994 wx_cv_use_togglebtn='wxUSE_TOGGLEBTN=yes'
12996 wx_cv_use_togglebtn='wxUSE_TOGGLEBTN=no'
13001 LINE=`grep "^wxUSE_TOGGLEBTN=" ${wx_arg_cache_file}`
13002 if test "x$LINE" != x ; then
13003 eval "DEFAULT_$LINE"
13008 wx_cv_use_togglebtn='wxUSE_TOGGLEBTN=${'DEFAULT_wxUSE_TOGGLEBTN":-$defaultval}"
13013 eval "$wx_cv_use_togglebtn"
13014 if test "$no_cache" != 1; then
13015 echo $wx_cv_use_togglebtn >> ${wx_arg_cache_file}.tmp
13018 if test x"$enablestring" = xdisable; then
13019 if test $wxUSE_TOGGLEBTN = yes; then
13025 result=$wxUSE_TOGGLEBTN
13028 { echo "$as_me:$LINENO: result: $result" >&5
13029 echo "${ECHO_T}$result" >&6; }
13033 defaultval=$wxUSE_ALL_FEATURES
13034 if test -z "$defaultval"; then
13035 if test x"$enablestring" = xdisable; then
13042 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-toolbar" >&5
13043 echo $ECHO_N "checking for --${enablestring:-enable}-toolbar... $ECHO_C" >&6; }
13045 # Check whether --enable-toolbar was given.
13046 if test "${enable_toolbar+set}" = set; then
13047 enableval=$enable_toolbar;
13048 if test "$enableval" = yes; then
13049 wx_cv_use_toolbar='wxUSE_TOOLBAR=yes'
13051 wx_cv_use_toolbar='wxUSE_TOOLBAR=no'
13056 LINE=`grep "^wxUSE_TOOLBAR=" ${wx_arg_cache_file}`
13057 if test "x$LINE" != x ; then
13058 eval "DEFAULT_$LINE"
13063 wx_cv_use_toolbar='wxUSE_TOOLBAR=${'DEFAULT_wxUSE_TOOLBAR":-$defaultval}"
13068 eval "$wx_cv_use_toolbar"
13069 if test "$no_cache" != 1; then
13070 echo $wx_cv_use_toolbar >> ${wx_arg_cache_file}.tmp
13073 if test x"$enablestring" = xdisable; then
13074 if test $wxUSE_TOOLBAR = yes; then
13080 result=$wxUSE_TOOLBAR
13083 { echo "$as_me:$LINENO: result: $result" >&5
13084 echo "${ECHO_T}$result" >&6; }
13088 defaultval=$wxUSE_ALL_FEATURES
13089 if test -z "$defaultval"; then
13090 if test x"$enablestring" = xdisable; then
13097 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tbarnative" >&5
13098 echo $ECHO_N "checking for --${enablestring:-enable}-tbarnative... $ECHO_C" >&6; }
13100 # Check whether --enable-tbarnative was given.
13101 if test "${enable_tbarnative+set}" = set; then
13102 enableval=$enable_tbarnative;
13103 if test "$enableval" = yes; then
13104 wx_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=yes'
13106 wx_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=no'
13111 LINE=`grep "^wxUSE_TOOLBAR_NATIVE=" ${wx_arg_cache_file}`
13112 if test "x$LINE" != x ; then
13113 eval "DEFAULT_$LINE"
13118 wx_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=${'DEFAULT_wxUSE_TOOLBAR_NATIVE":-$defaultval}"
13123 eval "$wx_cv_use_tbarnative"
13124 if test "$no_cache" != 1; then
13125 echo $wx_cv_use_tbarnative >> ${wx_arg_cache_file}.tmp
13128 if test x"$enablestring" = xdisable; then
13129 if test $wxUSE_TOOLBAR_NATIVE = yes; then
13135 result=$wxUSE_TOOLBAR_NATIVE
13138 { echo "$as_me:$LINENO: result: $result" >&5
13139 echo "${ECHO_T}$result" >&6; }
13143 defaultval=$wxUSE_ALL_FEATURES
13144 if test -z "$defaultval"; then
13145 if test x"$enablestring" = xdisable; then
13152 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-treebook" >&5
13153 echo $ECHO_N "checking for --${enablestring:-enable}-treebook... $ECHO_C" >&6; }
13155 # Check whether --enable-treebook was given.
13156 if test "${enable_treebook+set}" = set; then
13157 enableval=$enable_treebook;
13158 if test "$enableval" = yes; then
13159 wx_cv_use_treebook='wxUSE_TREEBOOK=yes'
13161 wx_cv_use_treebook='wxUSE_TREEBOOK=no'
13166 LINE=`grep "^wxUSE_TREEBOOK=" ${wx_arg_cache_file}`
13167 if test "x$LINE" != x ; then
13168 eval "DEFAULT_$LINE"
13173 wx_cv_use_treebook='wxUSE_TREEBOOK=${'DEFAULT_wxUSE_TREEBOOK":-$defaultval}"
13178 eval "$wx_cv_use_treebook"
13179 if test "$no_cache" != 1; then
13180 echo $wx_cv_use_treebook >> ${wx_arg_cache_file}.tmp
13183 if test x"$enablestring" = xdisable; then
13184 if test $wxUSE_TREEBOOK = yes; then
13190 result=$wxUSE_TREEBOOK
13193 { echo "$as_me:$LINENO: result: $result" >&5
13194 echo "${ECHO_T}$result" >&6; }
13198 defaultval=$wxUSE_ALL_FEATURES
13199 if test -z "$defaultval"; then
13200 if test x"$enablestring" = xdisable; then
13207 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-toolbook" >&5
13208 echo $ECHO_N "checking for --${enablestring:-enable}-toolbook... $ECHO_C" >&6; }
13210 # Check whether --enable-toolbook was given.
13211 if test "${enable_toolbook+set}" = set; then
13212 enableval=$enable_toolbook;
13213 if test "$enableval" = yes; then
13214 wx_cv_use_toolbook='wxUSE_TOOLBOOK=yes'
13216 wx_cv_use_toolbook='wxUSE_TOOLBOOK=no'
13221 LINE=`grep "^wxUSE_TOOLBOOK=" ${wx_arg_cache_file}`
13222 if test "x$LINE" != x ; then
13223 eval "DEFAULT_$LINE"
13228 wx_cv_use_toolbook='wxUSE_TOOLBOOK=${'DEFAULT_wxUSE_TOOLBOOK":-$defaultval}"
13233 eval "$wx_cv_use_toolbook"
13234 if test "$no_cache" != 1; then
13235 echo $wx_cv_use_toolbook >> ${wx_arg_cache_file}.tmp
13238 if test x"$enablestring" = xdisable; then
13239 if test $wxUSE_TOOLBOOK = yes; then
13245 result=$wxUSE_TOOLBOOK
13248 { echo "$as_me:$LINENO: result: $result" >&5
13249 echo "${ECHO_T}$result" >&6; }
13253 defaultval=$wxUSE_ALL_FEATURES
13254 if test -z "$defaultval"; then
13255 if test x"$enablestring" = xdisable; then
13262 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-treectrl" >&5
13263 echo $ECHO_N "checking for --${enablestring:-enable}-treectrl... $ECHO_C" >&6; }
13265 # Check whether --enable-treectrl was given.
13266 if test "${enable_treectrl+set}" = set; then
13267 enableval=$enable_treectrl;
13268 if test "$enableval" = yes; then
13269 wx_cv_use_treectrl='wxUSE_TREECTRL=yes'
13271 wx_cv_use_treectrl='wxUSE_TREECTRL=no'
13276 LINE=`grep "^wxUSE_TREECTRL=" ${wx_arg_cache_file}`
13277 if test "x$LINE" != x ; then
13278 eval "DEFAULT_$LINE"
13283 wx_cv_use_treectrl='wxUSE_TREECTRL=${'DEFAULT_wxUSE_TREECTRL":-$defaultval}"
13288 eval "$wx_cv_use_treectrl"
13289 if test "$no_cache" != 1; then
13290 echo $wx_cv_use_treectrl >> ${wx_arg_cache_file}.tmp
13293 if test x"$enablestring" = xdisable; then
13294 if test $wxUSE_TREECTRL = yes; then
13300 result=$wxUSE_TREECTRL
13303 { echo "$as_me:$LINENO: result: $result" >&5
13304 echo "${ECHO_T}$result" >&6; }
13308 defaultval=$wxUSE_ALL_FEATURES
13309 if test -z "$defaultval"; then
13310 if test x"$enablestring" = xdisable; then
13317 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipwindow" >&5
13318 echo $ECHO_N "checking for --${enablestring:-enable}-tipwindow... $ECHO_C" >&6; }
13320 # Check whether --enable-tipwindow was given.
13321 if test "${enable_tipwindow+set}" = set; then
13322 enableval=$enable_tipwindow;
13323 if test "$enableval" = yes; then
13324 wx_cv_use_tipwindow='wxUSE_TIPWINDOW=yes'
13326 wx_cv_use_tipwindow='wxUSE_TIPWINDOW=no'
13331 LINE=`grep "^wxUSE_TIPWINDOW=" ${wx_arg_cache_file}`
13332 if test "x$LINE" != x ; then
13333 eval "DEFAULT_$LINE"
13338 wx_cv_use_tipwindow='wxUSE_TIPWINDOW=${'DEFAULT_wxUSE_TIPWINDOW":-$defaultval}"
13343 eval "$wx_cv_use_tipwindow"
13344 if test "$no_cache" != 1; then
13345 echo $wx_cv_use_tipwindow >> ${wx_arg_cache_file}.tmp
13348 if test x"$enablestring" = xdisable; then
13349 if test $wxUSE_TIPWINDOW = yes; then
13355 result=$wxUSE_TIPWINDOW
13358 { echo "$as_me:$LINENO: result: $result" >&5
13359 echo "${ECHO_T}$result" >&6; }
13363 defaultval=$wxUSE_ALL_FEATURES
13364 if test -z "$defaultval"; then
13365 if test x"$enablestring" = xdisable; then
13372 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-popupwin" >&5
13373 echo $ECHO_N "checking for --${enablestring:-enable}-popupwin... $ECHO_C" >&6; }
13375 # Check whether --enable-popupwin was given.
13376 if test "${enable_popupwin+set}" = set; then
13377 enableval=$enable_popupwin;
13378 if test "$enableval" = yes; then
13379 wx_cv_use_popupwin='wxUSE_POPUPWIN=yes'
13381 wx_cv_use_popupwin='wxUSE_POPUPWIN=no'
13386 LINE=`grep "^wxUSE_POPUPWIN=" ${wx_arg_cache_file}`
13387 if test "x$LINE" != x ; then
13388 eval "DEFAULT_$LINE"
13393 wx_cv_use_popupwin='wxUSE_POPUPWIN=${'DEFAULT_wxUSE_POPUPWIN":-$defaultval}"
13398 eval "$wx_cv_use_popupwin"
13399 if test "$no_cache" != 1; then
13400 echo $wx_cv_use_popupwin >> ${wx_arg_cache_file}.tmp
13403 if test x"$enablestring" = xdisable; then
13404 if test $wxUSE_POPUPWIN = yes; then
13410 result=$wxUSE_POPUPWIN
13413 { echo "$as_me:$LINENO: result: $result" >&5
13414 echo "${ECHO_T}$result" >&6; }
13420 defaultval=$wxUSE_ALL_FEATURES
13421 if test -z "$defaultval"; then
13422 if test x"$enablestring" = xdisable; then
13429 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-commondlg" >&5
13430 echo $ECHO_N "checking for --${enablestring:-enable}-commondlg... $ECHO_C" >&6; }
13432 # Check whether --enable-commondlg was given.
13433 if test "${enable_commondlg+set}" = set; then
13434 enableval=$enable_commondlg;
13435 if test "$enableval" = yes; then
13436 wx_cv_use_commondlg='wxUSE_COMMONDLGS=yes'
13438 wx_cv_use_commondlg='wxUSE_COMMONDLGS=no'
13443 LINE=`grep "^wxUSE_COMMONDLGS=" ${wx_arg_cache_file}`
13444 if test "x$LINE" != x ; then
13445 eval "DEFAULT_$LINE"
13450 wx_cv_use_commondlg='wxUSE_COMMONDLGS=${'DEFAULT_wxUSE_COMMONDLGS":-$defaultval}"
13455 eval "$wx_cv_use_commondlg"
13456 if test "$no_cache" != 1; then
13457 echo $wx_cv_use_commondlg >> ${wx_arg_cache_file}.tmp
13460 if test x"$enablestring" = xdisable; then
13461 if test $wxUSE_COMMONDLGS = yes; then
13467 result=$wxUSE_COMMONDLGS
13470 { echo "$as_me:$LINENO: result: $result" >&5
13471 echo "${ECHO_T}$result" >&6; }
13475 defaultval=$wxUSE_ALL_FEATURES
13476 if test -z "$defaultval"; then
13477 if test x"$enablestring" = xdisable; then
13484 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-aboutdlg" >&5
13485 echo $ECHO_N "checking for --${enablestring:-enable}-aboutdlg... $ECHO_C" >&6; }
13487 # Check whether --enable-aboutdlg was given.
13488 if test "${enable_aboutdlg+set}" = set; then
13489 enableval=$enable_aboutdlg;
13490 if test "$enableval" = yes; then
13491 wx_cv_use_aboutdlg='wxUSE_ABOUTDLG=yes'
13493 wx_cv_use_aboutdlg='wxUSE_ABOUTDLG=no'
13498 LINE=`grep "^wxUSE_ABOUTDLG=" ${wx_arg_cache_file}`
13499 if test "x$LINE" != x ; then
13500 eval "DEFAULT_$LINE"
13505 wx_cv_use_aboutdlg='wxUSE_ABOUTDLG=${'DEFAULT_wxUSE_ABOUTDLG":-$defaultval}"
13510 eval "$wx_cv_use_aboutdlg"
13511 if test "$no_cache" != 1; then
13512 echo $wx_cv_use_aboutdlg >> ${wx_arg_cache_file}.tmp
13515 if test x"$enablestring" = xdisable; then
13516 if test $wxUSE_ABOUTDLG = yes; then
13522 result=$wxUSE_ABOUTDLG
13525 { echo "$as_me:$LINENO: result: $result" >&5
13526 echo "${ECHO_T}$result" >&6; }
13530 defaultval=$wxUSE_ALL_FEATURES
13531 if test -z "$defaultval"; then
13532 if test x"$enablestring" = xdisable; then
13539 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choicedlg" >&5
13540 echo $ECHO_N "checking for --${enablestring:-enable}-choicedlg... $ECHO_C" >&6; }
13542 # Check whether --enable-choicedlg was given.
13543 if test "${enable_choicedlg+set}" = set; then
13544 enableval=$enable_choicedlg;
13545 if test "$enableval" = yes; then
13546 wx_cv_use_choicedlg='wxUSE_CHOICEDLG=yes'
13548 wx_cv_use_choicedlg='wxUSE_CHOICEDLG=no'
13553 LINE=`grep "^wxUSE_CHOICEDLG=" ${wx_arg_cache_file}`
13554 if test "x$LINE" != x ; then
13555 eval "DEFAULT_$LINE"
13560 wx_cv_use_choicedlg='wxUSE_CHOICEDLG=${'DEFAULT_wxUSE_CHOICEDLG":-$defaultval}"
13565 eval "$wx_cv_use_choicedlg"
13566 if test "$no_cache" != 1; then
13567 echo $wx_cv_use_choicedlg >> ${wx_arg_cache_file}.tmp
13570 if test x"$enablestring" = xdisable; then
13571 if test $wxUSE_CHOICEDLG = yes; then
13577 result=$wxUSE_CHOICEDLG
13580 { echo "$as_me:$LINENO: result: $result" >&5
13581 echo "${ECHO_T}$result" >&6; }
13585 defaultval=$wxUSE_ALL_FEATURES
13586 if test -z "$defaultval"; then
13587 if test x"$enablestring" = xdisable; then
13594 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-coldlg" >&5
13595 echo $ECHO_N "checking for --${enablestring:-enable}-coldlg... $ECHO_C" >&6; }
13597 # Check whether --enable-coldlg was given.
13598 if test "${enable_coldlg+set}" = set; then
13599 enableval=$enable_coldlg;
13600 if test "$enableval" = yes; then
13601 wx_cv_use_coldlg='wxUSE_COLOURDLG=yes'
13603 wx_cv_use_coldlg='wxUSE_COLOURDLG=no'
13608 LINE=`grep "^wxUSE_COLOURDLG=" ${wx_arg_cache_file}`
13609 if test "x$LINE" != x ; then
13610 eval "DEFAULT_$LINE"
13615 wx_cv_use_coldlg='wxUSE_COLOURDLG=${'DEFAULT_wxUSE_COLOURDLG":-$defaultval}"
13620 eval "$wx_cv_use_coldlg"
13621 if test "$no_cache" != 1; then
13622 echo $wx_cv_use_coldlg >> ${wx_arg_cache_file}.tmp
13625 if test x"$enablestring" = xdisable; then
13626 if test $wxUSE_COLOURDLG = yes; then
13632 result=$wxUSE_COLOURDLG
13635 { echo "$as_me:$LINENO: result: $result" >&5
13636 echo "${ECHO_T}$result" >&6; }
13640 defaultval=$wxUSE_ALL_FEATURES
13641 if test -z "$defaultval"; then
13642 if test x"$enablestring" = xdisable; then
13649 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filedlg" >&5
13650 echo $ECHO_N "checking for --${enablestring:-enable}-filedlg... $ECHO_C" >&6; }
13652 # Check whether --enable-filedlg was given.
13653 if test "${enable_filedlg+set}" = set; then
13654 enableval=$enable_filedlg;
13655 if test "$enableval" = yes; then
13656 wx_cv_use_filedlg='wxUSE_FILEDLG=yes'
13658 wx_cv_use_filedlg='wxUSE_FILEDLG=no'
13663 LINE=`grep "^wxUSE_FILEDLG=" ${wx_arg_cache_file}`
13664 if test "x$LINE" != x ; then
13665 eval "DEFAULT_$LINE"
13670 wx_cv_use_filedlg='wxUSE_FILEDLG=${'DEFAULT_wxUSE_FILEDLG":-$defaultval}"
13675 eval "$wx_cv_use_filedlg"
13676 if test "$no_cache" != 1; then
13677 echo $wx_cv_use_filedlg >> ${wx_arg_cache_file}.tmp
13680 if test x"$enablestring" = xdisable; then
13681 if test $wxUSE_FILEDLG = yes; then
13687 result=$wxUSE_FILEDLG
13690 { echo "$as_me:$LINENO: result: $result" >&5
13691 echo "${ECHO_T}$result" >&6; }
13695 defaultval=$wxUSE_ALL_FEATURES
13696 if test -z "$defaultval"; then
13697 if test x"$enablestring" = xdisable; then
13704 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-finddlg" >&5
13705 echo $ECHO_N "checking for --${enablestring:-enable}-finddlg... $ECHO_C" >&6; }
13707 # Check whether --enable-finddlg was given.
13708 if test "${enable_finddlg+set}" = set; then
13709 enableval=$enable_finddlg;
13710 if test "$enableval" = yes; then
13711 wx_cv_use_finddlg='wxUSE_FINDREPLDLG=yes'
13713 wx_cv_use_finddlg='wxUSE_FINDREPLDLG=no'
13718 LINE=`grep "^wxUSE_FINDREPLDLG=" ${wx_arg_cache_file}`
13719 if test "x$LINE" != x ; then
13720 eval "DEFAULT_$LINE"
13725 wx_cv_use_finddlg='wxUSE_FINDREPLDLG=${'DEFAULT_wxUSE_FINDREPLDLG":-$defaultval}"
13730 eval "$wx_cv_use_finddlg"
13731 if test "$no_cache" != 1; then
13732 echo $wx_cv_use_finddlg >> ${wx_arg_cache_file}.tmp
13735 if test x"$enablestring" = xdisable; then
13736 if test $wxUSE_FINDREPLDLG = yes; then
13742 result=$wxUSE_FINDREPLDLG
13745 { echo "$as_me:$LINENO: result: $result" >&5
13746 echo "${ECHO_T}$result" >&6; }
13750 defaultval=$wxUSE_ALL_FEATURES
13751 if test -z "$defaultval"; then
13752 if test x"$enablestring" = xdisable; then
13759 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontdlg" >&5
13760 echo $ECHO_N "checking for --${enablestring:-enable}-fontdlg... $ECHO_C" >&6; }
13762 # Check whether --enable-fontdlg was given.
13763 if test "${enable_fontdlg+set}" = set; then
13764 enableval=$enable_fontdlg;
13765 if test "$enableval" = yes; then
13766 wx_cv_use_fontdlg='wxUSE_FONTDLG=yes'
13768 wx_cv_use_fontdlg='wxUSE_FONTDLG=no'
13773 LINE=`grep "^wxUSE_FONTDLG=" ${wx_arg_cache_file}`
13774 if test "x$LINE" != x ; then
13775 eval "DEFAULT_$LINE"
13780 wx_cv_use_fontdlg='wxUSE_FONTDLG=${'DEFAULT_wxUSE_FONTDLG":-$defaultval}"
13785 eval "$wx_cv_use_fontdlg"
13786 if test "$no_cache" != 1; then
13787 echo $wx_cv_use_fontdlg >> ${wx_arg_cache_file}.tmp
13790 if test x"$enablestring" = xdisable; then
13791 if test $wxUSE_FONTDLG = yes; then
13797 result=$wxUSE_FONTDLG
13800 { echo "$as_me:$LINENO: result: $result" >&5
13801 echo "${ECHO_T}$result" >&6; }
13805 defaultval=$wxUSE_ALL_FEATURES
13806 if test -z "$defaultval"; then
13807 if test x"$enablestring" = xdisable; then
13814 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dirdlg" >&5
13815 echo $ECHO_N "checking for --${enablestring:-enable}-dirdlg... $ECHO_C" >&6; }
13817 # Check whether --enable-dirdlg was given.
13818 if test "${enable_dirdlg+set}" = set; then
13819 enableval=$enable_dirdlg;
13820 if test "$enableval" = yes; then
13821 wx_cv_use_dirdlg='wxUSE_DIRDLG=yes'
13823 wx_cv_use_dirdlg='wxUSE_DIRDLG=no'
13828 LINE=`grep "^wxUSE_DIRDLG=" ${wx_arg_cache_file}`
13829 if test "x$LINE" != x ; then
13830 eval "DEFAULT_$LINE"
13835 wx_cv_use_dirdlg='wxUSE_DIRDLG=${'DEFAULT_wxUSE_DIRDLG":-$defaultval}"
13840 eval "$wx_cv_use_dirdlg"
13841 if test "$no_cache" != 1; then
13842 echo $wx_cv_use_dirdlg >> ${wx_arg_cache_file}.tmp
13845 if test x"$enablestring" = xdisable; then
13846 if test $wxUSE_DIRDLG = yes; then
13852 result=$wxUSE_DIRDLG
13855 { echo "$as_me:$LINENO: result: $result" >&5
13856 echo "${ECHO_T}$result" >&6; }
13860 defaultval=$wxUSE_ALL_FEATURES
13861 if test -z "$defaultval"; then
13862 if test x"$enablestring" = xdisable; then
13869 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-msgdlg" >&5
13870 echo $ECHO_N "checking for --${enablestring:-enable}-msgdlg... $ECHO_C" >&6; }
13872 # Check whether --enable-msgdlg was given.
13873 if test "${enable_msgdlg+set}" = set; then
13874 enableval=$enable_msgdlg;
13875 if test "$enableval" = yes; then
13876 wx_cv_use_msgdlg='wxUSE_MSGDLG=yes'
13878 wx_cv_use_msgdlg='wxUSE_MSGDLG=no'
13883 LINE=`grep "^wxUSE_MSGDLG=" ${wx_arg_cache_file}`
13884 if test "x$LINE" != x ; then
13885 eval "DEFAULT_$LINE"
13890 wx_cv_use_msgdlg='wxUSE_MSGDLG=${'DEFAULT_wxUSE_MSGDLG":-$defaultval}"
13895 eval "$wx_cv_use_msgdlg"
13896 if test "$no_cache" != 1; then
13897 echo $wx_cv_use_msgdlg >> ${wx_arg_cache_file}.tmp
13900 if test x"$enablestring" = xdisable; then
13901 if test $wxUSE_MSGDLG = yes; then
13907 result=$wxUSE_MSGDLG
13910 { echo "$as_me:$LINENO: result: $result" >&5
13911 echo "${ECHO_T}$result" >&6; }
13915 defaultval=$wxUSE_ALL_FEATURES
13916 if test -z "$defaultval"; then
13917 if test x"$enablestring" = xdisable; then
13924 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-numberdlg" >&5
13925 echo $ECHO_N "checking for --${enablestring:-enable}-numberdlg... $ECHO_C" >&6; }
13927 # Check whether --enable-numberdlg was given.
13928 if test "${enable_numberdlg+set}" = set; then
13929 enableval=$enable_numberdlg;
13930 if test "$enableval" = yes; then
13931 wx_cv_use_numberdlg='wxUSE_NUMBERDLG=yes'
13933 wx_cv_use_numberdlg='wxUSE_NUMBERDLG=no'
13938 LINE=`grep "^wxUSE_NUMBERDLG=" ${wx_arg_cache_file}`
13939 if test "x$LINE" != x ; then
13940 eval "DEFAULT_$LINE"
13945 wx_cv_use_numberdlg='wxUSE_NUMBERDLG=${'DEFAULT_wxUSE_NUMBERDLG":-$defaultval}"
13950 eval "$wx_cv_use_numberdlg"
13951 if test "$no_cache" != 1; then
13952 echo $wx_cv_use_numberdlg >> ${wx_arg_cache_file}.tmp
13955 if test x"$enablestring" = xdisable; then
13956 if test $wxUSE_NUMBERDLG = yes; then
13962 result=$wxUSE_NUMBERDLG
13965 { echo "$as_me:$LINENO: result: $result" >&5
13966 echo "${ECHO_T}$result" >&6; }
13970 defaultval=$wxUSE_ALL_FEATURES
13971 if test -z "$defaultval"; then
13972 if test x"$enablestring" = xdisable; then
13979 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splash" >&5
13980 echo $ECHO_N "checking for --${enablestring:-enable}-splash... $ECHO_C" >&6; }
13982 # Check whether --enable-splash was given.
13983 if test "${enable_splash+set}" = set; then
13984 enableval=$enable_splash;
13985 if test "$enableval" = yes; then
13986 wx_cv_use_splash='wxUSE_SPLASH=yes'
13988 wx_cv_use_splash='wxUSE_SPLASH=no'
13993 LINE=`grep "^wxUSE_SPLASH=" ${wx_arg_cache_file}`
13994 if test "x$LINE" != x ; then
13995 eval "DEFAULT_$LINE"
14000 wx_cv_use_splash='wxUSE_SPLASH=${'DEFAULT_wxUSE_SPLASH":-$defaultval}"
14005 eval "$wx_cv_use_splash"
14006 if test "$no_cache" != 1; then
14007 echo $wx_cv_use_splash >> ${wx_arg_cache_file}.tmp
14010 if test x"$enablestring" = xdisable; then
14011 if test $wxUSE_SPLASH = yes; then
14017 result=$wxUSE_SPLASH
14020 { echo "$as_me:$LINENO: result: $result" >&5
14021 echo "${ECHO_T}$result" >&6; }
14025 defaultval=$wxUSE_ALL_FEATURES
14026 if test -z "$defaultval"; then
14027 if test x"$enablestring" = xdisable; then
14034 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textdlg" >&5
14035 echo $ECHO_N "checking for --${enablestring:-enable}-textdlg... $ECHO_C" >&6; }
14037 # Check whether --enable-textdlg was given.
14038 if test "${enable_textdlg+set}" = set; then
14039 enableval=$enable_textdlg;
14040 if test "$enableval" = yes; then
14041 wx_cv_use_textdlg='wxUSE_TEXTDLG=yes'
14043 wx_cv_use_textdlg='wxUSE_TEXTDLG=no'
14048 LINE=`grep "^wxUSE_TEXTDLG=" ${wx_arg_cache_file}`
14049 if test "x$LINE" != x ; then
14050 eval "DEFAULT_$LINE"
14055 wx_cv_use_textdlg='wxUSE_TEXTDLG=${'DEFAULT_wxUSE_TEXTDLG":-$defaultval}"
14060 eval "$wx_cv_use_textdlg"
14061 if test "$no_cache" != 1; then
14062 echo $wx_cv_use_textdlg >> ${wx_arg_cache_file}.tmp
14065 if test x"$enablestring" = xdisable; then
14066 if test $wxUSE_TEXTDLG = yes; then
14072 result=$wxUSE_TEXTDLG
14075 { echo "$as_me:$LINENO: result: $result" >&5
14076 echo "${ECHO_T}$result" >&6; }
14080 defaultval=$wxUSE_ALL_FEATURES
14081 if test -z "$defaultval"; then
14082 if test x"$enablestring" = xdisable; then
14089 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipdlg" >&5
14090 echo $ECHO_N "checking for --${enablestring:-enable}-tipdlg... $ECHO_C" >&6; }
14092 # Check whether --enable-tipdlg was given.
14093 if test "${enable_tipdlg+set}" = set; then
14094 enableval=$enable_tipdlg;
14095 if test "$enableval" = yes; then
14096 wx_cv_use_tipdlg='wxUSE_STARTUP_TIPS=yes'
14098 wx_cv_use_tipdlg='wxUSE_STARTUP_TIPS=no'
14103 LINE=`grep "^wxUSE_STARTUP_TIPS=" ${wx_arg_cache_file}`
14104 if test "x$LINE" != x ; then
14105 eval "DEFAULT_$LINE"
14110 wx_cv_use_tipdlg='wxUSE_STARTUP_TIPS=${'DEFAULT_wxUSE_STARTUP_TIPS":-$defaultval}"
14115 eval "$wx_cv_use_tipdlg"
14116 if test "$no_cache" != 1; then
14117 echo $wx_cv_use_tipdlg >> ${wx_arg_cache_file}.tmp
14120 if test x"$enablestring" = xdisable; then
14121 if test $wxUSE_STARTUP_TIPS = yes; then
14127 result=$wxUSE_STARTUP_TIPS
14130 { echo "$as_me:$LINENO: result: $result" >&5
14131 echo "${ECHO_T}$result" >&6; }
14135 defaultval=$wxUSE_ALL_FEATURES
14136 if test -z "$defaultval"; then
14137 if test x"$enablestring" = xdisable; then
14144 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-progressdlg" >&5
14145 echo $ECHO_N "checking for --${enablestring:-enable}-progressdlg... $ECHO_C" >&6; }
14147 # Check whether --enable-progressdlg was given.
14148 if test "${enable_progressdlg+set}" = set; then
14149 enableval=$enable_progressdlg;
14150 if test "$enableval" = yes; then
14151 wx_cv_use_progressdlg='wxUSE_PROGRESSDLG=yes'
14153 wx_cv_use_progressdlg='wxUSE_PROGRESSDLG=no'
14158 LINE=`grep "^wxUSE_PROGRESSDLG=" ${wx_arg_cache_file}`
14159 if test "x$LINE" != x ; then
14160 eval "DEFAULT_$LINE"
14165 wx_cv_use_progressdlg='wxUSE_PROGRESSDLG=${'DEFAULT_wxUSE_PROGRESSDLG":-$defaultval}"
14170 eval "$wx_cv_use_progressdlg"
14171 if test "$no_cache" != 1; then
14172 echo $wx_cv_use_progressdlg >> ${wx_arg_cache_file}.tmp
14175 if test x"$enablestring" = xdisable; then
14176 if test $wxUSE_PROGRESSDLG = yes; then
14182 result=$wxUSE_PROGRESSDLG
14185 { echo "$as_me:$LINENO: result: $result" >&5
14186 echo "${ECHO_T}$result" >&6; }
14190 defaultval=$wxUSE_ALL_FEATURES
14191 if test -z "$defaultval"; then
14192 if test x"$enablestring" = xdisable; then
14199 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-wizarddlg" >&5
14200 echo $ECHO_N "checking for --${enablestring:-enable}-wizarddlg... $ECHO_C" >&6; }
14202 # Check whether --enable-wizarddlg was given.
14203 if test "${enable_wizarddlg+set}" = set; then
14204 enableval=$enable_wizarddlg;
14205 if test "$enableval" = yes; then
14206 wx_cv_use_wizarddlg='wxUSE_WIZARDDLG=yes'
14208 wx_cv_use_wizarddlg='wxUSE_WIZARDDLG=no'
14213 LINE=`grep "^wxUSE_WIZARDDLG=" ${wx_arg_cache_file}`
14214 if test "x$LINE" != x ; then
14215 eval "DEFAULT_$LINE"
14220 wx_cv_use_wizarddlg='wxUSE_WIZARDDLG=${'DEFAULT_wxUSE_WIZARDDLG":-$defaultval}"
14225 eval "$wx_cv_use_wizarddlg"
14226 if test "$no_cache" != 1; then
14227 echo $wx_cv_use_wizarddlg >> ${wx_arg_cache_file}.tmp
14230 if test x"$enablestring" = xdisable; then
14231 if test $wxUSE_WIZARDDLG = yes; then
14237 result=$wxUSE_WIZARDDLG
14240 { echo "$as_me:$LINENO: result: $result" >&5
14241 echo "${ECHO_T}$result" >&6; }
14247 defaultval=$wxUSE_ALL_FEATURES
14248 if test -z "$defaultval"; then
14249 if test x"$enablestring" = xdisable; then
14256 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-menus" >&5
14257 echo $ECHO_N "checking for --${enablestring:-enable}-menus... $ECHO_C" >&6; }
14259 # Check whether --enable-menus was given.
14260 if test "${enable_menus+set}" = set; then
14261 enableval=$enable_menus;
14262 if test "$enableval" = yes; then
14263 wx_cv_use_menus='wxUSE_MENUS=yes'
14265 wx_cv_use_menus='wxUSE_MENUS=no'
14270 LINE=`grep "^wxUSE_MENUS=" ${wx_arg_cache_file}`
14271 if test "x$LINE" != x ; then
14272 eval "DEFAULT_$LINE"
14277 wx_cv_use_menus='wxUSE_MENUS=${'DEFAULT_wxUSE_MENUS":-$defaultval}"
14282 eval "$wx_cv_use_menus"
14283 if test "$no_cache" != 1; then
14284 echo $wx_cv_use_menus >> ${wx_arg_cache_file}.tmp
14287 if test x"$enablestring" = xdisable; then
14288 if test $wxUSE_MENUS = yes; then
14294 result=$wxUSE_MENUS
14297 { echo "$as_me:$LINENO: result: $result" >&5
14298 echo "${ECHO_T}$result" >&6; }
14302 defaultval=$wxUSE_ALL_FEATURES
14303 if test -z "$defaultval"; then
14304 if test x"$enablestring" = xdisable; then
14311 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-miniframe" >&5
14312 echo $ECHO_N "checking for --${enablestring:-enable}-miniframe... $ECHO_C" >&6; }
14314 # Check whether --enable-miniframe was given.
14315 if test "${enable_miniframe+set}" = set; then
14316 enableval=$enable_miniframe;
14317 if test "$enableval" = yes; then
14318 wx_cv_use_miniframe='wxUSE_MINIFRAME=yes'
14320 wx_cv_use_miniframe='wxUSE_MINIFRAME=no'
14325 LINE=`grep "^wxUSE_MINIFRAME=" ${wx_arg_cache_file}`
14326 if test "x$LINE" != x ; then
14327 eval "DEFAULT_$LINE"
14332 wx_cv_use_miniframe='wxUSE_MINIFRAME=${'DEFAULT_wxUSE_MINIFRAME":-$defaultval}"
14337 eval "$wx_cv_use_miniframe"
14338 if test "$no_cache" != 1; then
14339 echo $wx_cv_use_miniframe >> ${wx_arg_cache_file}.tmp
14342 if test x"$enablestring" = xdisable; then
14343 if test $wxUSE_MINIFRAME = yes; then
14349 result=$wxUSE_MINIFRAME
14352 { echo "$as_me:$LINENO: result: $result" >&5
14353 echo "${ECHO_T}$result" >&6; }
14357 defaultval=$wxUSE_ALL_FEATURES
14358 if test -z "$defaultval"; then
14359 if test x"$enablestring" = xdisable; then
14366 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tooltips" >&5
14367 echo $ECHO_N "checking for --${enablestring:-enable}-tooltips... $ECHO_C" >&6; }
14369 # Check whether --enable-tooltips was given.
14370 if test "${enable_tooltips+set}" = set; then
14371 enableval=$enable_tooltips;
14372 if test "$enableval" = yes; then
14373 wx_cv_use_tooltips='wxUSE_TOOLTIPS=yes'
14375 wx_cv_use_tooltips='wxUSE_TOOLTIPS=no'
14380 LINE=`grep "^wxUSE_TOOLTIPS=" ${wx_arg_cache_file}`
14381 if test "x$LINE" != x ; then
14382 eval "DEFAULT_$LINE"
14387 wx_cv_use_tooltips='wxUSE_TOOLTIPS=${'DEFAULT_wxUSE_TOOLTIPS":-$defaultval}"
14392 eval "$wx_cv_use_tooltips"
14393 if test "$no_cache" != 1; then
14394 echo $wx_cv_use_tooltips >> ${wx_arg_cache_file}.tmp
14397 if test x"$enablestring" = xdisable; then
14398 if test $wxUSE_TOOLTIPS = yes; then
14404 result=$wxUSE_TOOLTIPS
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}-splines" >&5
14422 echo $ECHO_N "checking for --${enablestring:-enable}-splines... $ECHO_C" >&6; }
14424 # Check whether --enable-splines was given.
14425 if test "${enable_splines+set}" = set; then
14426 enableval=$enable_splines;
14427 if test "$enableval" = yes; then
14428 wx_cv_use_splines='wxUSE_SPLINES=yes'
14430 wx_cv_use_splines='wxUSE_SPLINES=no'
14435 LINE=`grep "^wxUSE_SPLINES=" ${wx_arg_cache_file}`
14436 if test "x$LINE" != x ; then
14437 eval "DEFAULT_$LINE"
14442 wx_cv_use_splines='wxUSE_SPLINES=${'DEFAULT_wxUSE_SPLINES":-$defaultval}"
14447 eval "$wx_cv_use_splines"
14448 if test "$no_cache" != 1; then
14449 echo $wx_cv_use_splines >> ${wx_arg_cache_file}.tmp
14452 if test x"$enablestring" = xdisable; then
14453 if test $wxUSE_SPLINES = yes; then
14459 result=$wxUSE_SPLINES
14462 { echo "$as_me:$LINENO: result: $result" >&5
14463 echo "${ECHO_T}$result" >&6; }
14467 defaultval=$wxUSE_ALL_FEATURES
14468 if test -z "$defaultval"; then
14469 if test x"$enablestring" = xdisable; then
14476 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mousewheel" >&5
14477 echo $ECHO_N "checking for --${enablestring:-enable}-mousewheel... $ECHO_C" >&6; }
14479 # Check whether --enable-mousewheel was given.
14480 if test "${enable_mousewheel+set}" = set; then
14481 enableval=$enable_mousewheel;
14482 if test "$enableval" = yes; then
14483 wx_cv_use_mousewheel='wxUSE_MOUSEWHEEL=yes'
14485 wx_cv_use_mousewheel='wxUSE_MOUSEWHEEL=no'
14490 LINE=`grep "^wxUSE_MOUSEWHEEL=" ${wx_arg_cache_file}`
14491 if test "x$LINE" != x ; then
14492 eval "DEFAULT_$LINE"
14497 wx_cv_use_mousewheel='wxUSE_MOUSEWHEEL=${'DEFAULT_wxUSE_MOUSEWHEEL":-$defaultval}"
14502 eval "$wx_cv_use_mousewheel"
14503 if test "$no_cache" != 1; then
14504 echo $wx_cv_use_mousewheel >> ${wx_arg_cache_file}.tmp
14507 if test x"$enablestring" = xdisable; then
14508 if test $wxUSE_MOUSEWHEEL = yes; then
14514 result=$wxUSE_MOUSEWHEEL
14517 { echo "$as_me:$LINENO: result: $result" >&5
14518 echo "${ECHO_T}$result" >&6; }
14522 defaultval=$wxUSE_ALL_FEATURES
14523 if test -z "$defaultval"; then
14524 if test x"$enablestring" = xdisable; then
14531 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-validators" >&5
14532 echo $ECHO_N "checking for --${enablestring:-enable}-validators... $ECHO_C" >&6; }
14534 # Check whether --enable-validators was given.
14535 if test "${enable_validators+set}" = set; then
14536 enableval=$enable_validators;
14537 if test "$enableval" = yes; then
14538 wx_cv_use_validators='wxUSE_VALIDATORS=yes'
14540 wx_cv_use_validators='wxUSE_VALIDATORS=no'
14545 LINE=`grep "^wxUSE_VALIDATORS=" ${wx_arg_cache_file}`
14546 if test "x$LINE" != x ; then
14547 eval "DEFAULT_$LINE"
14552 wx_cv_use_validators='wxUSE_VALIDATORS=${'DEFAULT_wxUSE_VALIDATORS":-$defaultval}"
14557 eval "$wx_cv_use_validators"
14558 if test "$no_cache" != 1; then
14559 echo $wx_cv_use_validators >> ${wx_arg_cache_file}.tmp
14562 if test x"$enablestring" = xdisable; then
14563 if test $wxUSE_VALIDATORS = yes; then
14569 result=$wxUSE_VALIDATORS
14572 { echo "$as_me:$LINENO: result: $result" >&5
14573 echo "${ECHO_T}$result" >&6; }
14577 defaultval=$wxUSE_ALL_FEATURES
14578 if test -z "$defaultval"; then
14579 if test x"$enablestring" = xdisable; then
14586 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-busyinfo" >&5
14587 echo $ECHO_N "checking for --${enablestring:-enable}-busyinfo... $ECHO_C" >&6; }
14589 # Check whether --enable-busyinfo was given.
14590 if test "${enable_busyinfo+set}" = set; then
14591 enableval=$enable_busyinfo;
14592 if test "$enableval" = yes; then
14593 wx_cv_use_busyinfo='wxUSE_BUSYINFO=yes'
14595 wx_cv_use_busyinfo='wxUSE_BUSYINFO=no'
14600 LINE=`grep "^wxUSE_BUSYINFO=" ${wx_arg_cache_file}`
14601 if test "x$LINE" != x ; then
14602 eval "DEFAULT_$LINE"
14607 wx_cv_use_busyinfo='wxUSE_BUSYINFO=${'DEFAULT_wxUSE_BUSYINFO":-$defaultval}"
14612 eval "$wx_cv_use_busyinfo"
14613 if test "$no_cache" != 1; then
14614 echo $wx_cv_use_busyinfo >> ${wx_arg_cache_file}.tmp
14617 if test x"$enablestring" = xdisable; then
14618 if test $wxUSE_BUSYINFO = yes; then
14624 result=$wxUSE_BUSYINFO
14627 { echo "$as_me:$LINENO: result: $result" >&5
14628 echo "${ECHO_T}$result" >&6; }
14632 defaultval=$wxUSE_ALL_FEATURES
14633 if test -z "$defaultval"; then
14634 if test x"$enablestring" = xdisable; then
14641 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-joystick" >&5
14642 echo $ECHO_N "checking for --${enablestring:-enable}-joystick... $ECHO_C" >&6; }
14644 # Check whether --enable-joystick was given.
14645 if test "${enable_joystick+set}" = set; then
14646 enableval=$enable_joystick;
14647 if test "$enableval" = yes; then
14648 wx_cv_use_joystick='wxUSE_JOYSTICK=yes'
14650 wx_cv_use_joystick='wxUSE_JOYSTICK=no'
14655 LINE=`grep "^wxUSE_JOYSTICK=" ${wx_arg_cache_file}`
14656 if test "x$LINE" != x ; then
14657 eval "DEFAULT_$LINE"
14662 wx_cv_use_joystick='wxUSE_JOYSTICK=${'DEFAULT_wxUSE_JOYSTICK":-$defaultval}"
14667 eval "$wx_cv_use_joystick"
14668 if test "$no_cache" != 1; then
14669 echo $wx_cv_use_joystick >> ${wx_arg_cache_file}.tmp
14672 if test x"$enablestring" = xdisable; then
14673 if test $wxUSE_JOYSTICK = yes; then
14679 result=$wxUSE_JOYSTICK
14682 { echo "$as_me:$LINENO: result: $result" >&5
14683 echo "${ECHO_T}$result" >&6; }
14687 defaultval=$wxUSE_ALL_FEATURES
14688 if test -z "$defaultval"; then
14689 if test x"$enablestring" = xdisable; then
14696 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
14697 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6; }
14699 # Check whether --enable-metafile was given.
14700 if test "${enable_metafile+set}" = set; then
14701 enableval=$enable_metafile;
14702 if test "$enableval" = yes; then
14703 wx_cv_use_metafile='wxUSE_METAFILE=yes'
14705 wx_cv_use_metafile='wxUSE_METAFILE=no'
14710 LINE=`grep "^wxUSE_METAFILE=" ${wx_arg_cache_file}`
14711 if test "x$LINE" != x ; then
14712 eval "DEFAULT_$LINE"
14717 wx_cv_use_metafile='wxUSE_METAFILE=${'DEFAULT_wxUSE_METAFILE":-$defaultval}"
14722 eval "$wx_cv_use_metafile"
14723 if test "$no_cache" != 1; then
14724 echo $wx_cv_use_metafile >> ${wx_arg_cache_file}.tmp
14727 if test x"$enablestring" = xdisable; then
14728 if test $wxUSE_METAFILE = yes; then
14734 result=$wxUSE_METAFILE
14737 { echo "$as_me:$LINENO: result: $result" >&5
14738 echo "${ECHO_T}$result" >&6; }
14742 defaultval=$wxUSE_ALL_FEATURES
14743 if test -z "$defaultval"; then
14744 if test x"$enablestring" = xdisable; then
14751 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dragimage" >&5
14752 echo $ECHO_N "checking for --${enablestring:-enable}-dragimage... $ECHO_C" >&6; }
14754 # Check whether --enable-dragimage was given.
14755 if test "${enable_dragimage+set}" = set; then
14756 enableval=$enable_dragimage;
14757 if test "$enableval" = yes; then
14758 wx_cv_use_dragimage='wxUSE_DRAGIMAGE=yes'
14760 wx_cv_use_dragimage='wxUSE_DRAGIMAGE=no'
14765 LINE=`grep "^wxUSE_DRAGIMAGE=" ${wx_arg_cache_file}`
14766 if test "x$LINE" != x ; then
14767 eval "DEFAULT_$LINE"
14772 wx_cv_use_dragimage='wxUSE_DRAGIMAGE=${'DEFAULT_wxUSE_DRAGIMAGE":-$defaultval}"
14777 eval "$wx_cv_use_dragimage"
14778 if test "$no_cache" != 1; then
14779 echo $wx_cv_use_dragimage >> ${wx_arg_cache_file}.tmp
14782 if test x"$enablestring" = xdisable; then
14783 if test $wxUSE_DRAGIMAGE = yes; then
14789 result=$wxUSE_DRAGIMAGE
14792 { echo "$as_me:$LINENO: result: $result" >&5
14793 echo "${ECHO_T}$result" >&6; }
14797 defaultval=$wxUSE_ALL_FEATURES
14798 if test -z "$defaultval"; then
14799 if test x"$enablestring" = xdisable; then
14806 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accessibility" >&5
14807 echo $ECHO_N "checking for --${enablestring:-enable}-accessibility... $ECHO_C" >&6; }
14809 # Check whether --enable-accessibility was given.
14810 if test "${enable_accessibility+set}" = set; then
14811 enableval=$enable_accessibility;
14812 if test "$enableval" = yes; then
14813 wx_cv_use_accessibility='wxUSE_ACCESSIBILITY=yes'
14815 wx_cv_use_accessibility='wxUSE_ACCESSIBILITY=no'
14820 LINE=`grep "^wxUSE_ACCESSIBILITY=" ${wx_arg_cache_file}`
14821 if test "x$LINE" != x ; then
14822 eval "DEFAULT_$LINE"
14827 wx_cv_use_accessibility='wxUSE_ACCESSIBILITY=${'DEFAULT_wxUSE_ACCESSIBILITY":-$defaultval}"
14832 eval "$wx_cv_use_accessibility"
14833 if test "$no_cache" != 1; then
14834 echo $wx_cv_use_accessibility >> ${wx_arg_cache_file}.tmp
14837 if test x"$enablestring" = xdisable; then
14838 if test $wxUSE_ACCESSIBILITY = yes; then
14844 result=$wxUSE_ACCESSIBILITY
14847 { echo "$as_me:$LINENO: result: $result" >&5
14848 echo "${ECHO_T}$result" >&6; }
14851 if test "$wxUSE_MSW" = "1"; then
14854 defaultval=$wxUSE_ALL_FEATURES
14855 if test -z "$defaultval"; then
14856 if test x"$enablestring" = xdisable; then
14863 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dccache" >&5
14864 echo $ECHO_N "checking for --${enablestring:-enable}-dccache... $ECHO_C" >&6; }
14866 # Check whether --enable-dccache was given.
14867 if test "${enable_dccache+set}" = set; then
14868 enableval=$enable_dccache;
14869 if test "$enableval" = yes; then
14870 wx_cv_use_dccache='wxUSE_DC_CACHEING=yes'
14872 wx_cv_use_dccache='wxUSE_DC_CACHEING=no'
14877 LINE=`grep "^wxUSE_DC_CACHEING=" ${wx_arg_cache_file}`
14878 if test "x$LINE" != x ; then
14879 eval "DEFAULT_$LINE"
14884 wx_cv_use_dccache='wxUSE_DC_CACHEING=${'DEFAULT_wxUSE_DC_CACHEING":-$defaultval}"
14889 eval "$wx_cv_use_dccache"
14890 if test "$no_cache" != 1; then
14891 echo $wx_cv_use_dccache >> ${wx_arg_cache_file}.tmp
14894 if test x"$enablestring" = xdisable; then
14895 if test $wxUSE_DC_CACHEING = yes; then
14901 result=$wxUSE_DC_CACHEING
14904 { echo "$as_me:$LINENO: result: $result" >&5
14905 echo "${ECHO_T}$result" >&6; }
14912 defaultval=$wxUSE_ALL_FEATURES
14913 if test -z "$defaultval"; then
14914 if test x"$enablestring" = xdisable; then
14921 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-palette" >&5
14922 echo $ECHO_N "checking for --${enablestring:-enable}-palette... $ECHO_C" >&6; }
14924 # Check whether --enable-palette was given.
14925 if test "${enable_palette+set}" = set; then
14926 enableval=$enable_palette;
14927 if test "$enableval" = yes; then
14928 wx_cv_use_palette='wxUSE_PALETTE=yes'
14930 wx_cv_use_palette='wxUSE_PALETTE=no'
14935 LINE=`grep "^wxUSE_PALETTE=" ${wx_arg_cache_file}`
14936 if test "x$LINE" != x ; then
14937 eval "DEFAULT_$LINE"
14942 wx_cv_use_palette='wxUSE_PALETTE=${'DEFAULT_wxUSE_PALETTE":-$defaultval}"
14947 eval "$wx_cv_use_palette"
14948 if test "$no_cache" != 1; then
14949 echo $wx_cv_use_palette >> ${wx_arg_cache_file}.tmp
14952 if test x"$enablestring" = xdisable; then
14953 if test $wxUSE_PALETTE = yes; then
14959 result=$wxUSE_PALETTE
14962 { echo "$as_me:$LINENO: result: $result" >&5
14963 echo "${ECHO_T}$result" >&6; }
14967 defaultval=$wxUSE_ALL_FEATURES
14968 if test -z "$defaultval"; then
14969 if test x"$enablestring" = xdisable; then
14976 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-image" >&5
14977 echo $ECHO_N "checking for --${enablestring:-enable}-image... $ECHO_C" >&6; }
14979 # Check whether --enable-image was given.
14980 if test "${enable_image+set}" = set; then
14981 enableval=$enable_image;
14982 if test "$enableval" = yes; then
14983 wx_cv_use_image='wxUSE_IMAGE=yes'
14985 wx_cv_use_image='wxUSE_IMAGE=no'
14990 LINE=`grep "^wxUSE_IMAGE=" ${wx_arg_cache_file}`
14991 if test "x$LINE" != x ; then
14992 eval "DEFAULT_$LINE"
14997 wx_cv_use_image='wxUSE_IMAGE=${'DEFAULT_wxUSE_IMAGE":-$defaultval}"
15002 eval "$wx_cv_use_image"
15003 if test "$no_cache" != 1; then
15004 echo $wx_cv_use_image >> ${wx_arg_cache_file}.tmp
15007 if test x"$enablestring" = xdisable; then
15008 if test $wxUSE_IMAGE = yes; then
15014 result=$wxUSE_IMAGE
15017 { echo "$as_me:$LINENO: result: $result" >&5
15018 echo "${ECHO_T}$result" >&6; }
15022 defaultval=$wxUSE_ALL_FEATURES
15023 if test -z "$defaultval"; then
15024 if test x"$enablestring" = xdisable; then
15031 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gif" >&5
15032 echo $ECHO_N "checking for --${enablestring:-enable}-gif... $ECHO_C" >&6; }
15034 # Check whether --enable-gif was given.
15035 if test "${enable_gif+set}" = set; then
15036 enableval=$enable_gif;
15037 if test "$enableval" = yes; then
15038 wx_cv_use_gif='wxUSE_GIF=yes'
15040 wx_cv_use_gif='wxUSE_GIF=no'
15045 LINE=`grep "^wxUSE_GIF=" ${wx_arg_cache_file}`
15046 if test "x$LINE" != x ; then
15047 eval "DEFAULT_$LINE"
15052 wx_cv_use_gif='wxUSE_GIF=${'DEFAULT_wxUSE_GIF":-$defaultval}"
15057 eval "$wx_cv_use_gif"
15058 if test "$no_cache" != 1; then
15059 echo $wx_cv_use_gif >> ${wx_arg_cache_file}.tmp
15062 if test x"$enablestring" = xdisable; then
15063 if test $wxUSE_GIF = yes; then
15072 { echo "$as_me:$LINENO: result: $result" >&5
15073 echo "${ECHO_T}$result" >&6; }
15077 defaultval=$wxUSE_ALL_FEATURES
15078 if test -z "$defaultval"; then
15079 if test x"$enablestring" = xdisable; then
15086 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pcx" >&5
15087 echo $ECHO_N "checking for --${enablestring:-enable}-pcx... $ECHO_C" >&6; }
15089 # Check whether --enable-pcx was given.
15090 if test "${enable_pcx+set}" = set; then
15091 enableval=$enable_pcx;
15092 if test "$enableval" = yes; then
15093 wx_cv_use_pcx='wxUSE_PCX=yes'
15095 wx_cv_use_pcx='wxUSE_PCX=no'
15100 LINE=`grep "^wxUSE_PCX=" ${wx_arg_cache_file}`
15101 if test "x$LINE" != x ; then
15102 eval "DEFAULT_$LINE"
15107 wx_cv_use_pcx='wxUSE_PCX=${'DEFAULT_wxUSE_PCX":-$defaultval}"
15112 eval "$wx_cv_use_pcx"
15113 if test "$no_cache" != 1; then
15114 echo $wx_cv_use_pcx >> ${wx_arg_cache_file}.tmp
15117 if test x"$enablestring" = xdisable; then
15118 if test $wxUSE_PCX = yes; then
15127 { echo "$as_me:$LINENO: result: $result" >&5
15128 echo "${ECHO_T}$result" >&6; }
15132 defaultval=$wxUSE_ALL_FEATURES
15133 if test -z "$defaultval"; then
15134 if test x"$enablestring" = xdisable; then
15141 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tga" >&5
15142 echo $ECHO_N "checking for --${enablestring:-enable}-tga... $ECHO_C" >&6; }
15144 # Check whether --enable-tga was given.
15145 if test "${enable_tga+set}" = set; then
15146 enableval=$enable_tga;
15147 if test "$enableval" = yes; then
15148 wx_cv_use_tga='wxUSE_TGA=yes'
15150 wx_cv_use_tga='wxUSE_TGA=no'
15155 LINE=`grep "^wxUSE_TGA=" ${wx_arg_cache_file}`
15156 if test "x$LINE" != x ; then
15157 eval "DEFAULT_$LINE"
15162 wx_cv_use_tga='wxUSE_TGA=${'DEFAULT_wxUSE_TGA":-$defaultval}"
15167 eval "$wx_cv_use_tga"
15168 if test "$no_cache" != 1; then
15169 echo $wx_cv_use_tga >> ${wx_arg_cache_file}.tmp
15172 if test x"$enablestring" = xdisable; then
15173 if test $wxUSE_TGA = yes; then
15182 { echo "$as_me:$LINENO: result: $result" >&5
15183 echo "${ECHO_T}$result" >&6; }
15187 defaultval=$wxUSE_ALL_FEATURES
15188 if test -z "$defaultval"; then
15189 if test x"$enablestring" = xdisable; then
15196 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-iff" >&5
15197 echo $ECHO_N "checking for --${enablestring:-enable}-iff... $ECHO_C" >&6; }
15199 # Check whether --enable-iff was given.
15200 if test "${enable_iff+set}" = set; then
15201 enableval=$enable_iff;
15202 if test "$enableval" = yes; then
15203 wx_cv_use_iff='wxUSE_IFF=yes'
15205 wx_cv_use_iff='wxUSE_IFF=no'
15210 LINE=`grep "^wxUSE_IFF=" ${wx_arg_cache_file}`
15211 if test "x$LINE" != x ; then
15212 eval "DEFAULT_$LINE"
15217 wx_cv_use_iff='wxUSE_IFF=${'DEFAULT_wxUSE_IFF":-$defaultval}"
15222 eval "$wx_cv_use_iff"
15223 if test "$no_cache" != 1; then
15224 echo $wx_cv_use_iff >> ${wx_arg_cache_file}.tmp
15227 if test x"$enablestring" = xdisable; then
15228 if test $wxUSE_IFF = yes; then
15237 { echo "$as_me:$LINENO: result: $result" >&5
15238 echo "${ECHO_T}$result" >&6; }
15242 defaultval=$wxUSE_ALL_FEATURES
15243 if test -z "$defaultval"; then
15244 if test x"$enablestring" = xdisable; then
15251 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pnm" >&5
15252 echo $ECHO_N "checking for --${enablestring:-enable}-pnm... $ECHO_C" >&6; }
15254 # Check whether --enable-pnm was given.
15255 if test "${enable_pnm+set}" = set; then
15256 enableval=$enable_pnm;
15257 if test "$enableval" = yes; then
15258 wx_cv_use_pnm='wxUSE_PNM=yes'
15260 wx_cv_use_pnm='wxUSE_PNM=no'
15265 LINE=`grep "^wxUSE_PNM=" ${wx_arg_cache_file}`
15266 if test "x$LINE" != x ; then
15267 eval "DEFAULT_$LINE"
15272 wx_cv_use_pnm='wxUSE_PNM=${'DEFAULT_wxUSE_PNM":-$defaultval}"
15277 eval "$wx_cv_use_pnm"
15278 if test "$no_cache" != 1; then
15279 echo $wx_cv_use_pnm >> ${wx_arg_cache_file}.tmp
15282 if test x"$enablestring" = xdisable; then
15283 if test $wxUSE_PNM = yes; then
15292 { echo "$as_me:$LINENO: result: $result" >&5
15293 echo "${ECHO_T}$result" >&6; }
15297 defaultval=$wxUSE_ALL_FEATURES
15298 if test -z "$defaultval"; then
15299 if test x"$enablestring" = xdisable; then
15306 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xpm" >&5
15307 echo $ECHO_N "checking for --${enablestring:-enable}-xpm... $ECHO_C" >&6; }
15309 # Check whether --enable-xpm was given.
15310 if test "${enable_xpm+set}" = set; then
15311 enableval=$enable_xpm;
15312 if test "$enableval" = yes; then
15313 wx_cv_use_xpm='wxUSE_XPM=yes'
15315 wx_cv_use_xpm='wxUSE_XPM=no'
15320 LINE=`grep "^wxUSE_XPM=" ${wx_arg_cache_file}`
15321 if test "x$LINE" != x ; then
15322 eval "DEFAULT_$LINE"
15327 wx_cv_use_xpm='wxUSE_XPM=${'DEFAULT_wxUSE_XPM":-$defaultval}"
15332 eval "$wx_cv_use_xpm"
15333 if test "$no_cache" != 1; then
15334 echo $wx_cv_use_xpm >> ${wx_arg_cache_file}.tmp
15337 if test x"$enablestring" = xdisable; then
15338 if test $wxUSE_XPM = yes; then
15347 { echo "$as_me:$LINENO: result: $result" >&5
15348 echo "${ECHO_T}$result" >&6; }
15352 defaultval=$wxUSE_ALL_FEATURES
15353 if test -z "$defaultval"; then
15354 if test x"$enablestring" = xdisable; then
15361 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ico_cur" >&5
15362 echo $ECHO_N "checking for --${enablestring:-enable}-ico_cur... $ECHO_C" >&6; }
15364 # Check whether --enable-ico_cur was given.
15365 if test "${enable_ico_cur+set}" = set; then
15366 enableval=$enable_ico_cur;
15367 if test "$enableval" = yes; then
15368 wx_cv_use_ico_cur='wxUSE_ICO_CUR=yes'
15370 wx_cv_use_ico_cur='wxUSE_ICO_CUR=no'
15375 LINE=`grep "^wxUSE_ICO_CUR=" ${wx_arg_cache_file}`
15376 if test "x$LINE" != x ; then
15377 eval "DEFAULT_$LINE"
15382 wx_cv_use_ico_cur='wxUSE_ICO_CUR=${'DEFAULT_wxUSE_ICO_CUR":-$defaultval}"
15387 eval "$wx_cv_use_ico_cur"
15388 if test "$no_cache" != 1; then
15389 echo $wx_cv_use_ico_cur >> ${wx_arg_cache_file}.tmp
15392 if test x"$enablestring" = xdisable; then
15393 if test $wxUSE_ICO_CUR = yes; then
15399 result=$wxUSE_ICO_CUR
15402 { echo "$as_me:$LINENO: result: $result" >&5
15403 echo "${ECHO_T}$result" >&6; }
15409 echo "saving argument cache $wx_arg_cache_file"
15410 mv ${wx_arg_cache_file}.tmp ${wx_arg_cache_file}
15414 { echo "$as_me:$LINENO: checking for toolkit" >&5
15415 echo $ECHO_N "checking for toolkit... $ECHO_C" >&6; }
15417 # In Wine, we need to default to MSW, not GTK or MOTIF
15418 if test "$wxUSE_WINE" = "yes"; then
15419 DEFAULT_DEFAULT_wxUSE_GTK=0
15420 DEFAULT_DEFAULT_wxUSE_MOTIF=0
15421 DEFAULT_DEFAULT_wxUSE_MSW=1
15424 CXX=${CXX:-wineg++}
15428 if test "$wxUSE_GUI" = "yes"; then
15430 if test "$USE_BEOS" = 1; then
15431 { { echo "$as_me:$LINENO: error: BeOS GUI is not supported yet, use --disable-gui" >&5
15432 echo "$as_me: error: BeOS GUI is not supported yet, use --disable-gui" >&2;}
15433 { (exit 1); exit 1; }; }
15436 if test "$TOOLKIT_GIVEN" = 1; then
15437 for toolkit in `echo $ALL_TOOLKITS`; do
15439 eval "value=\$${var}"
15440 if test "x$value" = "xno"; then
15442 elif test "x$value" != "x"; then
15446 if test "x$value" != "x" -a "x$value" != "xyes" -a "x$value" != "xno"; then
15447 eval "wx${toolkit}_VERSION=$value"
15451 for toolkit in `echo $ALL_TOOLKITS`; do
15452 if test "$has_toolkit_in_cache" != 1; then
15453 var=DEFAULT_DEFAULT_wxUSE_$toolkit
15455 var=DEFAULT_wxUSE_$toolkit
15457 eval "version=\$DEFAULT_wx${toolkit}_VERSION"
15458 if test "x$version" != "x"; then
15459 eval "wx${toolkit}_VERSION=$version"
15462 eval "wxUSE_$toolkit=\$${var}"
15466 NUM_TOOLKITS=`expr ${wxUSE_COCOA:-0} + ${wxUSE_GTK:-0} + ${wxUSE_MAC:-0} \
15467 + ${wxUSE_MGL:-0} + ${wxUSE_DFB:-0} + ${wxUSE_MICROWIN:-0} \
15468 + ${wxUSE_MOTIF:-0} + ${wxUSE_MSW:-0} + ${wxUSE_X11:-0}`
15471 *-pc-os2_emx | *-pc-os2-emx )
15472 NUM_TOOLKITS=`expr ${NUM_TOOLKITS} + ${wxUSE_PM:-0}`
15475 case "$NUM_TOOLKITS" in
15479 { { echo "$as_me:$LINENO: error: Please specify a toolkit -- cannot determine the default for ${host}" >&5
15480 echo "$as_me: error: Please specify a toolkit -- cannot determine the default for ${host}" >&2;}
15481 { (exit 1); exit 1; }; }
15484 { { echo "$as_me:$LINENO: error: Please specify at most one toolkit (maybe some are cached in configarg.cache?)" >&5
15485 echo "$as_me: error: Please specify at most one toolkit (maybe some are cached in configarg.cache?)" >&2;}
15486 { (exit 1); exit 1; }; }
15489 # to be removed when --disable-gtk2 isn't needed
15490 if test "x$wxUSE_GTK2" = "xyes"; then
15492 elif test "x$wxUSE_GTK2" = "xno"; then
15496 for toolkit in `echo $ALL_TOOLKITS`; do
15498 eval "value=\$${var}"
15499 if test "x$value" != x; then
15500 cache_var=CACHE_$toolkit
15501 eval "cache=\$${cache_var}"
15502 if test "$cache" = 1; then
15503 echo "$var=$value" >> ${wx_arg_cache_file}
15504 eval "version=\$wx${toolkit}_VERSION"
15505 if test "x$version" != "x"; then
15506 echo "wx${toolkit}_VERSION=$version" >> ${wx_arg_cache_file}
15509 if test "$value" = 1; then
15510 toolkit_echo=`echo $toolkit | tr "[A-Z]" "[a-z]"`
15511 { echo "$as_me:$LINENO: result: $toolkit_echo" >&5
15512 echo "${ECHO_T}$toolkit_echo" >&6; }
15517 if test "x$host_alias" != "x"; then
15518 { echo "$as_me:$LINENO: result: base ($host_alias hosted) only" >&5
15519 echo "${ECHO_T}base ($host_alias hosted) only" >&6; }
15521 { echo "$as_me:$LINENO: result: base only" >&5
15522 echo "${ECHO_T}base only" >&6; }
15527 cat >confcache <<\_ACEOF
15528 # This file is a shell script that caches the results of configure
15529 # tests run on this system so they can be shared between configure
15530 # scripts and configure runs, see configure's option --config-cache.
15531 # It is not useful on other systems. If it contains results you don't
15532 # want to keep, you may remove or edit it.
15534 # config.status only pays attention to the cache file if you give it
15535 # the --recheck option to rerun configure.
15537 # `ac_cv_env_foo
' variables (set or unset) will be overridden when
15538 # loading this file, other *unset* `ac_cv_foo' will be assigned the
15539 # following values.
15543 # The following way of writing the cache mishandles newlines in values,
15544 # but we know of no workaround that is simple, portable, and efficient.
15545 # So, we kill variables containing newlines.
15546 # Ultrix sh set writes to stderr and can't be redirected directly,
15547 # and sets the high bit in the cache file unless we assign to the vars.
15549 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
15550 eval ac_val
=\$
$ac_var
15554 *_cv_
*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
15555 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
15558 _
| IFS
| as_nl
) ;; #(
15559 *) $as_unset $ac_var ;;
15565 case $as_nl`(ac_space=' '; set) 2>&1` in #(
15566 *${as_nl}ac_space
=\
*)
15567 # `set' does not quote correctly, so add quotes (double-quote
15568 # substitution turns \\\\ into \\, and sed turns \\ into \).
15571 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
15574 # `set' quotes correctly as required by POSIX, so do not add quotes.
15575 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
15584 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
15586 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
15588 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
15589 if test -w "$cache_file"; then
15590 test "x$cache_file" != "x/dev/null" &&
15591 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
15592 echo "$as_me: updating cache $cache_file" >&6;}
15593 cat confcache
>$cache_file
15595 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
15596 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
15606 ac_cpp
='$CPP $CPPFLAGS'
15607 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15608 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15609 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
15610 if test -n "$ac_tool_prefix"; then
15611 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
15612 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
15613 { echo "$as_me:$LINENO: checking for $ac_word" >&5
15614 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
15615 if test "${ac_cv_prog_CC+set}" = set; then
15616 echo $ECHO_N "(cached) $ECHO_C" >&6
15618 if test -n "$CC"; then
15619 ac_cv_prog_CC
="$CC" # Let the user override the test.
15621 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15622 for as_dir
in $PATH
15625 test -z "$as_dir" && as_dir
=.
15626 for ac_exec_ext
in '' $ac_executable_extensions; do
15627 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
15628 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
15629 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15639 if test -n "$CC"; then
15640 { echo "$as_me:$LINENO: result: $CC" >&5
15641 echo "${ECHO_T}$CC" >&6; }
15643 { echo "$as_me:$LINENO: result: no" >&5
15644 echo "${ECHO_T}no" >&6; }
15649 if test -z "$ac_cv_prog_CC"; then
15651 # Extract the first word of "gcc", so it can be a program name with args.
15652 set dummy gcc
; ac_word
=$2
15653 { echo "$as_me:$LINENO: checking for $ac_word" >&5
15654 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
15655 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
15656 echo $ECHO_N "(cached) $ECHO_C" >&6
15658 if test -n "$ac_ct_CC"; then
15659 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
15661 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15662 for as_dir
in $PATH
15665 test -z "$as_dir" && as_dir
=.
15666 for ac_exec_ext
in '' $ac_executable_extensions; do
15667 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
15668 ac_cv_prog_ac_ct_CC
="gcc"
15669 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15678 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
15679 if test -n "$ac_ct_CC"; then
15680 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
15681 echo "${ECHO_T}$ac_ct_CC" >&6; }
15683 { echo "$as_me:$LINENO: result: no" >&5
15684 echo "${ECHO_T}no" >&6; }
15687 if test "x$ac_ct_CC" = x
; then
15690 case $cross_compiling:$ac_tool_warned in
15692 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
15693 whose name does not start with the host triplet. If you think this
15694 configuration is useful to you, please write to autoconf@gnu.org." >&5
15695 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
15696 whose name does not start with the host triplet. If you think this
15697 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
15698 ac_tool_warned
=yes ;;
15703 CC
="$ac_cv_prog_CC"
15706 if test -z "$CC"; then
15707 if test -n "$ac_tool_prefix"; then
15708 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
15709 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
15710 { echo "$as_me:$LINENO: checking for $ac_word" >&5
15711 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
15712 if test "${ac_cv_prog_CC+set}" = set; then
15713 echo $ECHO_N "(cached) $ECHO_C" >&6
15715 if test -n "$CC"; then
15716 ac_cv_prog_CC
="$CC" # Let the user override the test.
15718 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15719 for as_dir
in $PATH
15722 test -z "$as_dir" && as_dir
=.
15723 for ac_exec_ext
in '' $ac_executable_extensions; do
15724 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
15725 ac_cv_prog_CC
="${ac_tool_prefix}cc"
15726 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15736 if test -n "$CC"; then
15737 { echo "$as_me:$LINENO: result: $CC" >&5
15738 echo "${ECHO_T}$CC" >&6; }
15740 { echo "$as_me:$LINENO: result: no" >&5
15741 echo "${ECHO_T}no" >&6; }
15747 if test -z "$CC"; then
15748 # Extract the first word of "cc", so it can be a program name with args.
15749 set dummy cc
; ac_word
=$2
15750 { echo "$as_me:$LINENO: checking for $ac_word" >&5
15751 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
15752 if test "${ac_cv_prog_CC+set}" = set; then
15753 echo $ECHO_N "(cached) $ECHO_C" >&6
15755 if test -n "$CC"; then
15756 ac_cv_prog_CC
="$CC" # Let the user override the test.
15758 ac_prog_rejected
=no
15759 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15760 for as_dir
in $PATH
15763 test -z "$as_dir" && as_dir
=.
15764 for ac_exec_ext
in '' $ac_executable_extensions; do
15765 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
15766 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
15767 ac_prog_rejected
=yes
15771 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15778 if test $ac_prog_rejected = yes; then
15779 # We found a bogon in the path, so make sure we never use it.
15780 set dummy
$ac_cv_prog_CC
15782 if test $# != 0; then
15783 # We chose a different compiler from the bogus one.
15784 # However, it has the same basename, so the bogon will be chosen
15785 # first if we set CC to just the basename; use the full file name.
15787 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
15793 if test -n "$CC"; then
15794 { echo "$as_me:$LINENO: result: $CC" >&5
15795 echo "${ECHO_T}$CC" >&6; }
15797 { echo "$as_me:$LINENO: result: no" >&5
15798 echo "${ECHO_T}no" >&6; }
15803 if test -z "$CC"; then
15804 if test -n "$ac_tool_prefix"; then
15805 for ac_prog
in cl.exe
15807 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
15808 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
15809 { echo "$as_me:$LINENO: checking for $ac_word" >&5
15810 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
15811 if test "${ac_cv_prog_CC+set}" = set; then
15812 echo $ECHO_N "(cached) $ECHO_C" >&6
15814 if test -n "$CC"; then
15815 ac_cv_prog_CC
="$CC" # Let the user override the test.
15817 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15818 for as_dir
in $PATH
15821 test -z "$as_dir" && as_dir
=.
15822 for ac_exec_ext
in '' $ac_executable_extensions; do
15823 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
15824 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
15825 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15835 if test -n "$CC"; then
15836 { echo "$as_me:$LINENO: result: $CC" >&5
15837 echo "${ECHO_T}$CC" >&6; }
15839 { echo "$as_me:$LINENO: result: no" >&5
15840 echo "${ECHO_T}no" >&6; }
15844 test -n "$CC" && break
15847 if test -z "$CC"; then
15849 for ac_prog
in cl.exe
15851 # Extract the first word of "$ac_prog", so it can be a program name with args.
15852 set dummy
$ac_prog; ac_word
=$2
15853 { echo "$as_me:$LINENO: checking for $ac_word" >&5
15854 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
15855 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
15856 echo $ECHO_N "(cached) $ECHO_C" >&6
15858 if test -n "$ac_ct_CC"; then
15859 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
15861 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15862 for as_dir
in $PATH
15865 test -z "$as_dir" && as_dir
=.
15866 for ac_exec_ext
in '' $ac_executable_extensions; do
15867 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
15868 ac_cv_prog_ac_ct_CC
="$ac_prog"
15869 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15878 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
15879 if test -n "$ac_ct_CC"; then
15880 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
15881 echo "${ECHO_T}$ac_ct_CC" >&6; }
15883 { echo "$as_me:$LINENO: result: no" >&5
15884 echo "${ECHO_T}no" >&6; }
15888 test -n "$ac_ct_CC" && break
15891 if test "x$ac_ct_CC" = x
; then
15894 case $cross_compiling:$ac_tool_warned in
15896 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
15897 whose name does not start with the host triplet. If you think this
15898 configuration is useful to you, please write to autoconf@gnu.org." >&5
15899 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
15900 whose name does not start with the host triplet. If you think this
15901 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
15902 ac_tool_warned
=yes ;;
15911 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
15912 See \`config.log' for more details." >&5
15913 echo "$as_me: error: no acceptable C compiler found in \$PATH
15914 See \`config.log' for more details." >&2;}
15915 { (exit 1); exit 1; }; }
15917 # Provide some information about the compiler.
15918 echo "$as_me:$LINENO: checking for C compiler version" >&5
15919 ac_compiler
=`set X $ac_compile; echo $2`
15920 { (ac_try
="$ac_compiler --version >&5"
15921 case "(($ac_try" in
15922 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
15923 *) ac_try_echo=$ac_try;;
15925 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15926 (eval "$ac_compiler --version >&5") 2>&5
15928 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15929 (exit $ac_status); }
15930 { (ac_try="$ac_compiler -v >&5"
15931 case "(($ac_try" in
15932 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
15933 *) ac_try_echo
=$ac_try;;
15935 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15936 (eval "$ac_compiler -v >&5") 2>&5
15938 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15939 (exit $ac_status); }
15940 { (ac_try
="$ac_compiler -V >&5"
15941 case "(($ac_try" in
15942 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
15943 *) ac_try_echo=$ac_try;;
15945 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15946 (eval "$ac_compiler -V >&5") 2>&5
15948 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15949 (exit $ac_status); }
15951 cat >conftest.$ac_ext <<_ACEOF
15954 cat confdefs.h >>conftest.$ac_ext
15955 cat >>conftest.$ac_ext <<_ACEOF
15956 /* end confdefs.h. */
15966 ac_clean_files_save=$ac_clean_files
15967 ac_clean_files="$ac_clean_files a.out a.exe b.out"
15968 # Try to create an executable without -o first, disregard a.out.
15969 # It will help us diagnose broken compilers, and finding out an intuition
15971 { echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
15972 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
15973 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
15975 # List of possible output files, starting from the most likely.
15976 # The algorithm is not robust to junk in `.
', hence go to wildcards (a.*)
15977 # only as a last resort. b.out is created by i960 compilers.
15978 ac_files='a_out.exe a.exe conftest.exe a.out conftest a.
* conftest.
* b.out
'
15980 # The IRIX 6 linker writes into existing files which may not be
15981 # executable, retaining their permissions. Remove them first so a
15982 # subsequent execution test works.
15984 for ac_file in $ac_files
15987 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
15988 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
15993 if { (ac_try="$ac_link_default"
15994 case "(($ac_try" in
15995 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15996 *) ac_try_echo=$ac_try;;
15998 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15999 (eval "$ac_link_default") 2>&5
16001 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16002 (exit $ac_status); }; then
16003 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
16004 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
16005 # in a Makefile. We should not override ac_cv_exeext if it was cached,
16006 # so that the user can short-circuit this test for compilers unknown to
16008 for ac_file
in $ac_files ''
16010 test -f "$ac_file" || continue
16012 *.
$ac_ext | *.xcoff
| *.tds
| *.d
| *.pdb
| *.xSYM
| *.bb
| *.bbg
| *.map
| *.inf
| *.o
| *.obj
)
16015 # We found the default executable, but exeext='' is most
16019 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
16021 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
16023 # We set ac_cv_exeext here because the later test for it is not
16024 # safe: cross compilers may not add the suffix if given an `-o'
16025 # argument, so we may need to know it at that point already.
16026 # Even if this section looks crufty: it has the advantage of
16027 # actually working.
16033 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
16039 { echo "$as_me:$LINENO: result: $ac_file" >&5
16040 echo "${ECHO_T}$ac_file" >&6; }
16041 if test -z "$ac_file"; then
16042 echo "$as_me: failed program was:" >&5
16043 sed 's/^/| /' conftest.
$ac_ext >&5
16045 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
16046 See \`config.log' for more details." >&5
16047 echo "$as_me: error: C compiler cannot create executables
16048 See \`config.log' for more details." >&2;}
16049 { (exit 77); exit 77; }; }
16052 ac_exeext
=$ac_cv_exeext
16054 # Check that the compiler produces executables we can run. If not, either
16055 # the compiler is broken, or we cross compile.
16056 { echo "$as_me:$LINENO: checking whether the C compiler works" >&5
16057 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
16058 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
16059 # If not cross compiling, check that we can run a simple program.
16060 if test "$cross_compiling" != yes; then
16061 if { ac_try
='./$ac_file'
16062 { (case "(($ac_try" in
16063 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
16064 *) ac_try_echo=$ac_try;;
16066 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16067 (eval "$ac_try") 2>&5
16069 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16070 (exit $ac_status); }; }; then
16073 if test "$cross_compiling" = maybe; then
16074 cross_compiling=yes
16076 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
16077 If you meant to cross compile, use \`--host'.
16078 See \`config.log' for more details.
" >&5
16079 echo "$as_me: error
: cannot run C compiled programs.
16080 If you meant to cross compile
, use \
`--host'.
16081 See \`config.log
' for more details." >&2;}
16082 { (exit 1); exit 1; }; }
16086 { echo "$as_me:$LINENO: result: yes" >&5
16087 echo "${ECHO_T}yes" >&6; }
16089 rm -f a.out a.exe conftest$ac_cv_exeext b.out
16090 ac_clean_files=$ac_clean_files_save
16091 # Check that the compiler produces executables we can run. If not, either
16092 # the compiler is broken, or we cross compile.
16093 { echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
16094 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
16095 { echo "$as_me:$LINENO: result: $cross_compiling" >&5
16096 echo "${ECHO_T}$cross_compiling" >&6; }
16098 { echo "$as_me:$LINENO: checking for suffix of executables" >&5
16099 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
16100 if { (ac_try="$ac_link"
16101 case "(($ac_try" in
16102 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16103 *) ac_try_echo=$ac_try;;
16105 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16106 (eval "$ac_link") 2>&5
16108 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16109 (exit $ac_status); }; then
16110 # If both `conftest.exe' and
`conftest' are `present
' (well, observable)
16111 # catch `conftest.exe'. For instance with Cygwin
, `ls conftest' will
16112 # work properly (i.e., refer to `conftest.exe
'), while it won't with
16114 for ac_file
in conftest.exe conftest conftest.
*; do
16115 test -f "$ac_file" || continue
16117 *.
$ac_ext | *.xcoff
| *.tds
| *.d
| *.pdb
| *.xSYM
| *.bb
| *.bbg
| *.map
| *.inf
| *.o
| *.obj
) ;;
16118 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
16124 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
16125 See \`config.log' for more details." >&5
16126 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
16127 See \`config.log' for more details." >&2;}
16128 { (exit 1); exit 1; }; }
16131 rm -f conftest
$ac_cv_exeext
16132 { echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
16133 echo "${ECHO_T}$ac_cv_exeext" >&6; }
16135 rm -f conftest.
$ac_ext
16136 EXEEXT
=$ac_cv_exeext
16138 { echo "$as_me:$LINENO: checking for suffix of object files" >&5
16139 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
16140 if test "${ac_cv_objext+set}" = set; then
16141 echo $ECHO_N "(cached) $ECHO_C" >&6
16143 cat >conftest.
$ac_ext <<_ACEOF
16146 cat confdefs.h
>>conftest.
$ac_ext
16147 cat >>conftest.
$ac_ext <<_ACEOF
16148 /* end confdefs.h. */
16158 rm -f conftest.o conftest.obj
16159 if { (ac_try
="$ac_compile"
16160 case "(($ac_try" in
16161 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
16162 *) ac_try_echo=$ac_try;;
16164 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16165 (eval "$ac_compile") 2>&5
16167 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16168 (exit $ac_status); }; then
16169 for ac_file in conftest.o conftest.obj conftest.*; do
16170 test -f "$ac_file" || continue;
16172 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
16173 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
16178 echo "$as_me: failed program was:" >&5
16179 sed 's/^/| /' conftest.$ac_ext >&5
16181 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
16182 See \`config.log
' for more details." >&5
16183 echo "$as_me: error: cannot compute suffix of object files: cannot compile
16184 See \`config.log' for more details.
" >&2;}
16185 { (exit 1); exit 1; }; }
16188 rm -f conftest.$ac_cv_objext conftest.$ac_ext
16190 { echo "$as_me:$LINENO: result
: $ac_cv_objext" >&5
16191 echo "${ECHO_T}$ac_cv_objext" >&6; }
16192 OBJEXT=$ac_cv_objext
16194 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler
" >&5
16195 echo $ECHO_N "checking whether we are using the GNU C compiler...
$ECHO_C" >&6; }
16196 if test "${ac_cv_c_compiler_gnu+set}" = set; then
16197 echo $ECHO_N "(cached
) $ECHO_C" >&6
16199 cat >conftest.$ac_ext <<_ACEOF
16202 cat confdefs.h >>conftest.$ac_ext
16203 cat >>conftest.$ac_ext <<_ACEOF
16204 /* end confdefs.h. */
16217 rm -f conftest.$ac_objext
16218 if { (ac_try="$ac_compile"
16219 case "(($ac_try" in
16220 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16221 *) ac_try_echo=$ac_try;;
16223 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
16224 (eval "$ac_compile") 2>conftest.er1
16226 grep -v '^ *+' conftest.er1 >conftest.err
16228 cat conftest.err >&5
16229 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
16230 (exit $ac_status); } && {
16231 test -z "$ac_c_werror_flag" ||
16232 test ! -s conftest.err
16233 } && test -s conftest.$ac_objext; then
16234 ac_compiler_gnu=yes
16236 echo "$as_me: failed program was
:" >&5
16237 sed 's/^/| /' conftest.$ac_ext >&5
16242 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16243 ac_cv_c_compiler_gnu=$ac_compiler_gnu
16246 { echo "$as_me:$LINENO: result
: $ac_cv_c_compiler_gnu" >&5
16247 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
16248 GCC=`test $ac_compiler_gnu = yes && echo yes`
16249 ac_test_CFLAGS=${CFLAGS+set}
16250 ac_save_CFLAGS=$CFLAGS
16251 { echo "$as_me:$LINENO: checking whether
$CC accepts
-g" >&5
16252 echo $ECHO_N "checking whether
$CC accepts
-g...
$ECHO_C" >&6; }
16253 if test "${ac_cv_prog_cc_g+set}" = set; then
16254 echo $ECHO_N "(cached
) $ECHO_C" >&6
16256 ac_save_c_werror_flag=$ac_c_werror_flag
16257 ac_c_werror_flag=yes
16260 cat >conftest.$ac_ext <<_ACEOF
16263 cat confdefs.h >>conftest.$ac_ext
16264 cat >>conftest.$ac_ext <<_ACEOF
16265 /* end confdefs.h. */
16275 rm -f conftest.$ac_objext
16276 if { (ac_try="$ac_compile"
16277 case "(($ac_try" in
16278 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16279 *) ac_try_echo=$ac_try;;
16281 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
16282 (eval "$ac_compile") 2>conftest.er1
16284 grep -v '^ *+' conftest.er1 >conftest.err
16286 cat conftest.err >&5
16287 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
16288 (exit $ac_status); } && {
16289 test -z "$ac_c_werror_flag" ||
16290 test ! -s conftest.err
16291 } && test -s conftest.$ac_objext; then
16292 ac_cv_prog_cc_g=yes
16294 echo "$as_me: failed program was
:" >&5
16295 sed 's/^/| /' conftest.$ac_ext >&5
16298 cat >conftest.$ac_ext <<_ACEOF
16301 cat confdefs.h >>conftest.$ac_ext
16302 cat >>conftest.$ac_ext <<_ACEOF
16303 /* end confdefs.h. */
16313 rm -f conftest.$ac_objext
16314 if { (ac_try="$ac_compile"
16315 case "(($ac_try" in
16316 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16317 *) ac_try_echo=$ac_try;;
16319 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
16320 (eval "$ac_compile") 2>conftest.er1
16322 grep -v '^ *+' conftest.er1 >conftest.err
16324 cat conftest.err >&5
16325 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
16326 (exit $ac_status); } && {
16327 test -z "$ac_c_werror_flag" ||
16328 test ! -s conftest.err
16329 } && test -s conftest.$ac_objext; then
16332 echo "$as_me: failed program was
:" >&5
16333 sed 's/^/| /' conftest.$ac_ext >&5
16335 ac_c_werror_flag=$ac_save_c_werror_flag
16337 cat >conftest.$ac_ext <<_ACEOF
16340 cat confdefs.h >>conftest.$ac_ext
16341 cat >>conftest.$ac_ext <<_ACEOF
16342 /* end confdefs.h. */
16352 rm -f conftest.$ac_objext
16353 if { (ac_try="$ac_compile"
16354 case "(($ac_try" in
16355 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16356 *) ac_try_echo=$ac_try;;
16358 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
16359 (eval "$ac_compile") 2>conftest.er1
16361 grep -v '^ *+' conftest.er1 >conftest.err
16363 cat conftest.err >&5
16364 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
16365 (exit $ac_status); } && {
16366 test -z "$ac_c_werror_flag" ||
16367 test ! -s conftest.err
16368 } && test -s conftest.$ac_objext; then
16369 ac_cv_prog_cc_g=yes
16371 echo "$as_me: failed program was
:" >&5
16372 sed 's/^/| /' conftest.$ac_ext >&5
16377 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16380 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16383 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16384 ac_c_werror_flag=$ac_save_c_werror_flag
16386 { echo "$as_me:$LINENO: result
: $ac_cv_prog_cc_g" >&5
16387 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
16388 if test "$ac_test_CFLAGS" = set; then
16389 CFLAGS=$ac_save_CFLAGS
16390 elif test $ac_cv_prog_cc_g = yes; then
16391 if test "$GCC" = yes; then
16397 if test "$GCC" = yes; then
16403 { echo "$as_me:$LINENO: checking
for $CC option to accept ISO C89
" >&5
16404 echo $ECHO_N "checking
for $CC option to accept ISO C89...
$ECHO_C" >&6; }
16405 if test "${ac_cv_prog_cc_c89+set}" = set; then
16406 echo $ECHO_N "(cached
) $ECHO_C" >&6
16408 ac_cv_prog_cc_c89=no
16410 cat >conftest.$ac_ext <<_ACEOF
16413 cat confdefs.h >>conftest.$ac_ext
16414 cat >>conftest.$ac_ext <<_ACEOF
16415 /* end confdefs.h. */
16416 #include <stdarg.h>
16418 #include <sys/types.h>
16419 #include <sys/stat.h>
16420 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
16421 struct buf { int x; };
16422 FILE * (*rcsopen) (struct buf *, struct stat *, int);
16423 static char *e (p, i)
16429 static char *f (char * (*g) (char **, int), char **p, ...)
16434 s = g (p, va_arg (v,int));
16439 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
16440 function prototypes and stuff, but not '\xHH' hex character constants.
16441 These don't provoke an error unfortunately, instead are silently treated
16442 as 'x'. The following induces an error, until -std is added to get
16443 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
16444 array size at least. It's necessary to write '\x00'==0 to get something
16445 that's true only with -std. */
16446 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
16448 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
16449 inside strings and character constants. */
16451 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
16453 int test (int i, double x);
16454 struct s1 {int (*f) (int a);};
16455 struct s2 {int (*f) (double a);};
16456 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
16462 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
16467 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
16468 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
16470 CC="$ac_save_CC $ac_arg"
16471 rm -f conftest.$ac_objext
16472 if { (ac_try="$ac_compile"
16473 case "(($ac_try" in
16474 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16475 *) ac_try_echo=$ac_try;;
16477 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
16478 (eval "$ac_compile") 2>conftest.er1
16480 grep -v '^ *+' conftest.er1 >conftest.err
16482 cat conftest.err >&5
16483 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
16484 (exit $ac_status); } && {
16485 test -z "$ac_c_werror_flag" ||
16486 test ! -s conftest.err
16487 } && test -s conftest.$ac_objext; then
16488 ac_cv_prog_cc_c89=$ac_arg
16490 echo "$as_me: failed program was
:" >&5
16491 sed 's/^/| /' conftest.$ac_ext >&5
16496 rm -f core conftest.err conftest.$ac_objext
16497 test "x
$ac_cv_prog_cc_c89" != "xno
" && break
16499 rm -f conftest.$ac_ext
16504 case "x
$ac_cv_prog_cc_c89" in
16506 { echo "$as_me:$LINENO: result
: none needed
" >&5
16507 echo "${ECHO_T}none needed
" >&6; } ;;
16509 { echo "$as_me:$LINENO: result
: unsupported
" >&5
16510 echo "${ECHO_T}unsupported
" >&6; } ;;
16512 CC="$CC $ac_cv_prog_cc_c89"
16513 { echo "$as_me:$LINENO: result
: $ac_cv_prog_cc_c89" >&5
16514 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
16519 ac_cpp='$CPP $CPPFLAGS'
16520 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16521 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16522 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16528 ac_cpp='$CPP $CPPFLAGS'
16529 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16530 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16531 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16533 { echo "$as_me:$LINENO: checking whether we are using the Intel C compiler
" >&5
16534 echo $ECHO_N "checking whether we are using the Intel C compiler...
$ECHO_C" >&6; }
16535 if test "${bakefile_cv_c_compiler___INTEL_COMPILER+set}" = set; then
16536 echo $ECHO_N "(cached
) $ECHO_C" >&6
16538 cat >conftest.$ac_ext <<_ACEOF
16541 cat confdefs.h >>conftest.$ac_ext
16542 cat >>conftest.$ac_ext <<_ACEOF
16543 /* end confdefs.h. */
16549 #ifndef __INTEL_COMPILER
16557 rm -f conftest.$ac_objext
16558 if { (ac_try="$ac_compile"
16559 case "(($ac_try" in
16560 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16561 *) ac_try_echo=$ac_try;;
16563 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
16564 (eval "$ac_compile") 2>conftest.er1
16566 grep -v '^ *+' conftest.er1 >conftest.err
16568 cat conftest.err >&5
16569 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
16570 (exit $ac_status); } && {
16571 test -z "$ac_c_werror_flag" ||
16572 test ! -s conftest.err
16573 } && test -s conftest.$ac_objext; then
16574 bakefile_cv_c_compiler___INTEL_COMPILER=yes
16576 echo "$as_me: failed program was
:" >&5
16577 sed 's/^/| /' conftest.$ac_ext >&5
16579 bakefile_cv_c_compiler___INTEL_COMPILER=no
16583 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16587 { echo "$as_me:$LINENO: result
: $bakefile_cv_c_compiler___INTEL_COMPILER" >&5
16588 echo "${ECHO_T}$bakefile_cv_c_compiler___INTEL_COMPILER" >&6; }
16589 if test "x
$bakefile_cv_c_compiler___INTEL_COMPILER" = "xyes
"; then
16595 ac_cpp='$CPP $CPPFLAGS'
16596 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16597 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16598 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16603 if test "x
$GCC" != "xyes
"; then
16604 if test "xCC
" = "xC
"; then
16605 { echo "$as_me:$LINENO: checking
if the C compiler requires
-ext o
" >&5
16606 echo $ECHO_N "checking
if the C compiler requires
-ext o...
$ECHO_C" >&6; }
16607 if test "${bakefile_cv_c_exto+set}" = set; then
16608 echo $ECHO_N "(cached
) $ECHO_C" >&6
16610 cat >conftest.$ac_ext <<_ACEOF
16613 cat confdefs.h >>conftest.$ac_ext
16614 cat >>conftest.$ac_ext <<_ACEOF
16615 /* end confdefs.h. */
16625 rm -f conftest.$ac_objext conftest.$ac_ext.o
16626 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16627 (eval $ac_compile) 2>&5
16629 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
16630 (exit $ac_status); }; then
16631 for ac_file in `(ls conftest.* 2>/dev/null)`; do
16633 conftest.$ac_ext.o)
16634 bakefile_cv_c_exto="-ext o
"
16641 { { echo "$as_me:$LINENO: error
: cannot figure out
if compiler needs
-ext o
: cannot compile
16642 See \
`config.log' for more details." >&5
16643 echo "$as_me: error: cannot figure out if compiler needs -ext o: cannot compile
16644 See \`config.log
' for more details." >&2;}
16645 { (exit 1); exit 1; }; }
16649 rm -f conftest.$ac_ext.o conftest.$ac_objext conftest.$ac_ext
16652 { echo "$as_me:$LINENO: result: $bakefile_cv_c_exto" >&5
16653 echo "${ECHO_T}$bakefile_cv_c_exto" >&6; }
16654 if test "x$bakefile_cv_c_exto" '!=' "x"; then
16655 if test "c" = "c"; then
16656 CFLAGS="$bakefile_cv_c_exto $CFLAGS"
16658 if test "c" = "cxx"; then
16659 CXXFLAGS="$bakefile_cv_c_exto $CXXFLAGS"
16663 if test "x$bakefile_cv_c_exto" '!=' "x"; then
16664 unset ac_cv_prog_cc_g
16665 ac_test_CFLAGS=${CFLAGS+set}
16666 ac_save_CFLAGS=$CFLAGS
16667 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
16668 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
16669 if test "${ac_cv_prog_cc_g+set}" = set; then
16670 echo $ECHO_N "(cached) $ECHO_C" >&6
16672 ac_save_c_werror_flag=$ac_c_werror_flag
16673 ac_c_werror_flag=yes
16676 cat >conftest.$ac_ext <<_ACEOF
16679 cat confdefs.h >>conftest.$ac_ext
16680 cat >>conftest.$ac_ext <<_ACEOF
16681 /* end confdefs.h. */
16691 rm -f conftest.$ac_objext
16692 if { (ac_try="$ac_compile"
16693 case "(($ac_try" in
16694 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16695 *) ac_try_echo=$ac_try;;
16697 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16698 (eval "$ac_compile") 2>conftest.er1
16700 grep -v '^
*+' conftest.er1 >conftest.err
16702 cat conftest.err >&5
16703 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16704 (exit $ac_status); } && {
16705 test -z "$ac_c_werror_flag" ||
16706 test ! -s conftest.err
16707 } && test -s conftest.$ac_objext; then
16708 ac_cv_prog_cc_g=yes
16710 echo "$as_me: failed program was:" >&5
16711 sed 's
/^
/| /' conftest.$ac_ext >&5
16714 cat >conftest.$ac_ext <<_ACEOF
16717 cat confdefs.h >>conftest.$ac_ext
16718 cat >>conftest.$ac_ext <<_ACEOF
16719 /* end confdefs.h. */
16729 rm -f conftest.$ac_objext
16730 if { (ac_try="$ac_compile"
16731 case "(($ac_try" in
16732 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16733 *) ac_try_echo=$ac_try;;
16735 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16736 (eval "$ac_compile") 2>conftest.er1
16738 grep -v '^
*+' conftest.er1 >conftest.err
16740 cat conftest.err >&5
16741 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16742 (exit $ac_status); } && {
16743 test -z "$ac_c_werror_flag" ||
16744 test ! -s conftest.err
16745 } && test -s conftest.$ac_objext; then
16748 echo "$as_me: failed program was:" >&5
16749 sed 's
/^
/| /' conftest.$ac_ext >&5
16751 ac_c_werror_flag=$ac_save_c_werror_flag
16753 cat >conftest.$ac_ext <<_ACEOF
16756 cat confdefs.h >>conftest.$ac_ext
16757 cat >>conftest.$ac_ext <<_ACEOF
16758 /* end confdefs.h. */
16768 rm -f conftest.$ac_objext
16769 if { (ac_try="$ac_compile"
16770 case "(($ac_try" in
16771 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16772 *) ac_try_echo=$ac_try;;
16774 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16775 (eval "$ac_compile") 2>conftest.er1
16777 grep -v '^
*+' conftest.er1 >conftest.err
16779 cat conftest.err >&5
16780 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16781 (exit $ac_status); } && {
16782 test -z "$ac_c_werror_flag" ||
16783 test ! -s conftest.err
16784 } && test -s conftest.$ac_objext; then
16785 ac_cv_prog_cc_g=yes
16787 echo "$as_me: failed program was:" >&5
16788 sed 's
/^
/| /' conftest.$ac_ext >&5
16793 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16796 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16799 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16800 ac_c_werror_flag=$ac_save_c_werror_flag
16802 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
16803 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
16804 if test "$ac_test_CFLAGS" = set; then
16805 CFLAGS=$ac_save_CFLAGS
16806 elif test $ac_cv_prog_cc_g = yes; then
16807 if test "$GCC" = yes; then
16813 if test "$GCC" = yes; then
16827 ac_cpp='$CPP $CPPFLAGS'
16828 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
16829 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
16830 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16832 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C compiler" >&5
16833 echo $ECHO_N "checking whether we are using the IBM xlC C compiler... $ECHO_C" >&6; }
16834 if test "${bakefile_cv_c_compiler___xlC__+set}" = set; then
16835 echo $ECHO_N "(cached) $ECHO_C" >&6
16837 cat >conftest.$ac_ext <<_ACEOF
16840 cat confdefs.h >>conftest.$ac_ext
16841 cat >>conftest.$ac_ext <<_ACEOF
16842 /* end confdefs.h. */
16856 rm -f conftest.$ac_objext
16857 if { (ac_try="$ac_compile"
16858 case "(($ac_try" in
16859 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16860 *) ac_try_echo=$ac_try;;
16862 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16863 (eval "$ac_compile") 2>conftest.er1
16865 grep -v '^
*+' conftest.er1 >conftest.err
16867 cat conftest.err >&5
16868 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16869 (exit $ac_status); } && {
16870 test -z "$ac_c_werror_flag" ||
16871 test ! -s conftest.err
16872 } && test -s conftest.$ac_objext; then
16873 bakefile_cv_c_compiler___xlC__=yes
16875 echo "$as_me: failed program was:" >&5
16876 sed 's
/^
/| /' conftest.$ac_ext >&5
16878 bakefile_cv_c_compiler___xlC__=no
16882 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16886 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___xlC__" >&5
16887 echo "${ECHO_T}$bakefile_cv_c_compiler___xlC__" >&6; }
16888 if test "x$bakefile_cv_c_compiler___xlC__" = "xyes"; then
16894 ac_cpp='$CPP $CPPFLAGS'
16895 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
16896 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
16897 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16907 ac_cpp='$CPP $CPPFLAGS'
16908 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
16909 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
16910 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16912 { echo "$as_me:$LINENO: checking whether we are using the Metrowerks C compiler" >&5
16913 echo $ECHO_N "checking whether we are using the Metrowerks C compiler... $ECHO_C" >&6; }
16914 if test "${bakefile_cv_c_compiler___MWERKS__+set}" = set; then
16915 echo $ECHO_N "(cached) $ECHO_C" >&6
16917 cat >conftest.$ac_ext <<_ACEOF
16920 cat confdefs.h >>conftest.$ac_ext
16921 cat >>conftest.$ac_ext <<_ACEOF
16922 /* end confdefs.h. */
16936 rm -f conftest.$ac_objext
16937 if { (ac_try="$ac_compile"
16938 case "(($ac_try" in
16939 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16940 *) ac_try_echo=$ac_try;;
16942 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16943 (eval "$ac_compile") 2>conftest.er1
16945 grep -v '^
*+' conftest.er1 >conftest.err
16947 cat conftest.err >&5
16948 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16949 (exit $ac_status); } && {
16950 test -z "$ac_c_werror_flag" ||
16951 test ! -s conftest.err
16952 } && test -s conftest.$ac_objext; then
16953 bakefile_cv_c_compiler___MWERKS__=yes
16955 echo "$as_me: failed program was:" >&5
16956 sed 's
/^
/| /' conftest.$ac_ext >&5
16958 bakefile_cv_c_compiler___MWERKS__=no
16962 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16966 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___MWERKS__" >&5
16967 echo "${ECHO_T}$bakefile_cv_c_compiler___MWERKS__" >&6; }
16968 if test "x$bakefile_cv_c_compiler___MWERKS__" = "xyes"; then
16974 ac_cpp='$CPP $CPPFLAGS'
16975 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
16976 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
16977 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16984 ac_cpp='$CPP $CPPFLAGS'
16985 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
16986 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
16987 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16989 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C compiler" >&5
16990 echo $ECHO_N "checking whether we are using the IBM xlC C compiler... $ECHO_C" >&6; }
16991 if test "${bakefile_cv_c_compiler___xlC__+set}" = set; then
16992 echo $ECHO_N "(cached) $ECHO_C" >&6
16994 cat >conftest.$ac_ext <<_ACEOF
16997 cat confdefs.h >>conftest.$ac_ext
16998 cat >>conftest.$ac_ext <<_ACEOF
16999 /* end confdefs.h. */
17013 rm -f conftest.$ac_objext
17014 if { (ac_try="$ac_compile"
17015 case "(($ac_try" in
17016 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17017 *) ac_try_echo=$ac_try;;
17019 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17020 (eval "$ac_compile") 2>conftest.er1
17022 grep -v '^
*+' conftest.er1 >conftest.err
17024 cat conftest.err >&5
17025 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17026 (exit $ac_status); } && {
17027 test -z "$ac_c_werror_flag" ||
17028 test ! -s conftest.err
17029 } && test -s conftest.$ac_objext; then
17030 bakefile_cv_c_compiler___xlC__=yes
17032 echo "$as_me: failed program was:" >&5
17033 sed 's
/^
/| /' conftest.$ac_ext >&5
17035 bakefile_cv_c_compiler___xlC__=no
17039 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17043 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___xlC__" >&5
17044 echo "${ECHO_T}$bakefile_cv_c_compiler___xlC__" >&6; }
17045 if test "x$bakefile_cv_c_compiler___xlC__" = "xyes"; then
17051 ac_cpp='$CPP $CPPFLAGS'
17052 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
17053 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
17054 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17064 ac_cpp='$CPP $CPPFLAGS'
17065 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
17066 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
17067 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17069 { echo "$as_me:$LINENO: checking whether we are using the SGI C compiler" >&5
17070 echo $ECHO_N "checking whether we are using the SGI C compiler... $ECHO_C" >&6; }
17071 if test "${bakefile_cv_c_compiler__SGI_COMPILER_VERSION+set}" = set; then
17072 echo $ECHO_N "(cached) $ECHO_C" >&6
17074 cat >conftest.$ac_ext <<_ACEOF
17077 cat confdefs.h >>conftest.$ac_ext
17078 cat >>conftest.$ac_ext <<_ACEOF
17079 /* end confdefs.h. */
17085 #ifndef _SGI_COMPILER_VERSION
17093 rm -f conftest.$ac_objext
17094 if { (ac_try="$ac_compile"
17095 case "(($ac_try" in
17096 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17097 *) ac_try_echo=$ac_try;;
17099 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17100 (eval "$ac_compile") 2>conftest.er1
17102 grep -v '^
*+' conftest.er1 >conftest.err
17104 cat conftest.err >&5
17105 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17106 (exit $ac_status); } && {
17107 test -z "$ac_c_werror_flag" ||
17108 test ! -s conftest.err
17109 } && test -s conftest.$ac_objext; then
17110 bakefile_cv_c_compiler__SGI_COMPILER_VERSION=yes
17112 echo "$as_me: failed program was:" >&5
17113 sed 's
/^
/| /' conftest.$ac_ext >&5
17115 bakefile_cv_c_compiler__SGI_COMPILER_VERSION=no
17119 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17123 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler__SGI_COMPILER_VERSION" >&5
17124 echo "${ECHO_T}$bakefile_cv_c_compiler__SGI_COMPILER_VERSION" >&6; }
17125 if test "x$bakefile_cv_c_compiler__SGI_COMPILER_VERSION" = "xyes"; then
17131 ac_cpp='$CPP $CPPFLAGS'
17132 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
17133 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
17134 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17144 ac_cpp='$CPP $CPPFLAGS'
17145 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
17146 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
17147 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17149 { echo "$as_me:$LINENO: checking whether we are using the Sun C compiler" >&5
17150 echo $ECHO_N "checking whether we are using the Sun C compiler... $ECHO_C" >&6; }
17151 if test "${bakefile_cv_c_compiler___SUNPRO_C+set}" = set; then
17152 echo $ECHO_N "(cached) $ECHO_C" >&6
17154 cat >conftest.$ac_ext <<_ACEOF
17157 cat confdefs.h >>conftest.$ac_ext
17158 cat >>conftest.$ac_ext <<_ACEOF
17159 /* end confdefs.h. */
17173 rm -f conftest.$ac_objext
17174 if { (ac_try="$ac_compile"
17175 case "(($ac_try" in
17176 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17177 *) ac_try_echo=$ac_try;;
17179 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17180 (eval "$ac_compile") 2>conftest.er1
17182 grep -v '^
*+' conftest.er1 >conftest.err
17184 cat conftest.err >&5
17185 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17186 (exit $ac_status); } && {
17187 test -z "$ac_c_werror_flag" ||
17188 test ! -s conftest.err
17189 } && test -s conftest.$ac_objext; then
17190 bakefile_cv_c_compiler___SUNPRO_C=yes
17192 echo "$as_me: failed program was:" >&5
17193 sed 's
/^
/| /' conftest.$ac_ext >&5
17195 bakefile_cv_c_compiler___SUNPRO_C=no
17199 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17203 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___SUNPRO_C" >&5
17204 echo "${ECHO_T}$bakefile_cv_c_compiler___SUNPRO_C" >&6; }
17205 if test "x$bakefile_cv_c_compiler___SUNPRO_C" = "xyes"; then
17211 ac_cpp='$CPP $CPPFLAGS'
17212 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
17213 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
17214 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17224 ac_cpp='$CPP $CPPFLAGS'
17225 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
17226 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
17227 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17229 { echo "$as_me:$LINENO: checking whether we are using the HP C compiler" >&5
17230 echo $ECHO_N "checking whether we are using the HP C compiler... $ECHO_C" >&6; }
17231 if test "${bakefile_cv_c_compiler___HP_cc+set}" = set; then
17232 echo $ECHO_N "(cached) $ECHO_C" >&6
17234 cat >conftest.$ac_ext <<_ACEOF
17237 cat confdefs.h >>conftest.$ac_ext
17238 cat >>conftest.$ac_ext <<_ACEOF
17239 /* end confdefs.h. */
17253 rm -f conftest.$ac_objext
17254 if { (ac_try="$ac_compile"
17255 case "(($ac_try" in
17256 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17257 *) ac_try_echo=$ac_try;;
17259 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17260 (eval "$ac_compile") 2>conftest.er1
17262 grep -v '^
*+' conftest.er1 >conftest.err
17264 cat conftest.err >&5
17265 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17266 (exit $ac_status); } && {
17267 test -z "$ac_c_werror_flag" ||
17268 test ! -s conftest.err
17269 } && test -s conftest.$ac_objext; then
17270 bakefile_cv_c_compiler___HP_cc=yes
17272 echo "$as_me: failed program was:" >&5
17273 sed 's
/^
/| /' conftest.$ac_ext >&5
17275 bakefile_cv_c_compiler___HP_cc=no
17279 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17283 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___HP_cc" >&5
17284 echo "${ECHO_T}$bakefile_cv_c_compiler___HP_cc" >&6; }
17285 if test "x$bakefile_cv_c_compiler___HP_cc" = "xyes"; then
17291 ac_cpp='$CPP $CPPFLAGS'
17292 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
17293 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
17294 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17304 ac_cpp='$CPP $CPPFLAGS'
17305 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
17306 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
17307 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17309 { echo "$as_me:$LINENO: checking whether we are using the Compaq C compiler" >&5
17310 echo $ECHO_N "checking whether we are using the Compaq C compiler... $ECHO_C" >&6; }
17311 if test "${bakefile_cv_c_compiler___DECC+set}" = set; then
17312 echo $ECHO_N "(cached) $ECHO_C" >&6
17314 cat >conftest.$ac_ext <<_ACEOF
17317 cat confdefs.h >>conftest.$ac_ext
17318 cat >>conftest.$ac_ext <<_ACEOF
17319 /* end confdefs.h. */
17333 rm -f conftest.$ac_objext
17334 if { (ac_try="$ac_compile"
17335 case "(($ac_try" in
17336 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17337 *) ac_try_echo=$ac_try;;
17339 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17340 (eval "$ac_compile") 2>conftest.er1
17342 grep -v '^
*+' conftest.er1 >conftest.err
17344 cat conftest.err >&5
17345 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17346 (exit $ac_status); } && {
17347 test -z "$ac_c_werror_flag" ||
17348 test ! -s conftest.err
17349 } && test -s conftest.$ac_objext; then
17350 bakefile_cv_c_compiler___DECC=yes
17352 echo "$as_me: failed program was:" >&5
17353 sed 's
/^
/| /' conftest.$ac_ext >&5
17355 bakefile_cv_c_compiler___DECC=no
17359 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17363 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___DECC" >&5
17364 echo "${ECHO_T}$bakefile_cv_c_compiler___DECC" >&6; }
17365 if test "x$bakefile_cv_c_compiler___DECC" = "xyes"; then
17371 ac_cpp='$CPP $CPPFLAGS'
17372 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
17373 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
17374 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17384 ac_cpp='$CPP $CPPFLAGS'
17385 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
17386 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
17387 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17389 { echo "$as_me:$LINENO: checking whether we are using the Sun C compiler" >&5
17390 echo $ECHO_N "checking whether we are using the Sun C compiler... $ECHO_C" >&6; }
17391 if test "${bakefile_cv_c_compiler___SUNPRO_C+set}" = set; then
17392 echo $ECHO_N "(cached) $ECHO_C" >&6
17394 cat >conftest.$ac_ext <<_ACEOF
17397 cat confdefs.h >>conftest.$ac_ext
17398 cat >>conftest.$ac_ext <<_ACEOF
17399 /* end confdefs.h. */
17413 rm -f conftest.$ac_objext
17414 if { (ac_try="$ac_compile"
17415 case "(($ac_try" in
17416 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17417 *) ac_try_echo=$ac_try;;
17419 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17420 (eval "$ac_compile") 2>conftest.er1
17422 grep -v '^
*+' conftest.er1 >conftest.err
17424 cat conftest.err >&5
17425 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17426 (exit $ac_status); } && {
17427 test -z "$ac_c_werror_flag" ||
17428 test ! -s conftest.err
17429 } && test -s conftest.$ac_objext; then
17430 bakefile_cv_c_compiler___SUNPRO_C=yes
17432 echo "$as_me: failed program was:" >&5
17433 sed 's
/^
/| /' conftest.$ac_ext >&5
17435 bakefile_cv_c_compiler___SUNPRO_C=no
17439 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17443 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___SUNPRO_C" >&5
17444 echo "${ECHO_T}$bakefile_cv_c_compiler___SUNPRO_C" >&6; }
17445 if test "x$bakefile_cv_c_compiler___SUNPRO_C" = "xyes"; then
17451 ac_cpp='$CPP $CPPFLAGS'
17452 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
17453 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
17454 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17465 ac_cpp='$CPP $CPPFLAGS'
17466 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
17467 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
17468 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17469 { echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
17470 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
17471 # On Suns, sometimes $CPP names a directory.
17472 if test -n "$CPP" && test -d "$CPP"; then
17475 if test -z "$CPP"; then
17476 if test "${ac_cv_prog_CPP+set}" = set; then
17477 echo $ECHO_N "(cached) $ECHO_C" >&6
17479 # Double quotes because CPP needs to be expanded
17480 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
17482 ac_preproc_ok=false
17483 for ac_c_preproc_warn_flag in '' yes
17485 # Use a header file that comes with gcc, so configuring glibc
17486 # with a fresh cross-compiler works.
17487 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17488 # <limits.h> exists even on freestanding compilers.
17489 # On the NeXT, cc -E runs the code through the compiler's parser
,
17490 # not just through cpp. "Syntax error" is here to catch this case.
17491 cat >conftest.
$ac_ext <<_ACEOF
17494 cat confdefs.h
>>conftest.
$ac_ext
17495 cat >>conftest.
$ac_ext <<_ACEOF
17496 /* end confdefs.h. */
17498 # include <limits.h>
17500 # include <assert.h>
17504 if { (ac_try
="$ac_cpp conftest.$ac_ext"
17505 case "(($ac_try" in
17506 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
17507 *) ac_try_echo=$ac_try;;
17509 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17510 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
17512 grep -v '^ *+' conftest.er1 >conftest.err
17514 cat conftest.err >&5
17515 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17516 (exit $ac_status); } >/dev/null && {
17517 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
17518 test ! -s conftest.err
17522 echo "$as_me: failed program was:" >&5
17523 sed 's/^/| /' conftest.$ac_ext >&5
17525 # Broken: fails on valid input.
17529 rm -f conftest.err conftest.$ac_ext
17531 # OK, works on sane cases. Now check whether nonexistent headers
17532 # can be detected and how.
17533 cat >conftest.$ac_ext <<_ACEOF
17536 cat confdefs.h >>conftest.$ac_ext
17537 cat >>conftest.$ac_ext <<_ACEOF
17538 /* end confdefs.h. */
17539 #include <ac_nonexistent.h>
17541 if { (ac_try="$ac_cpp conftest.$ac_ext"
17542 case "(($ac_try" in
17543 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
17544 *) ac_try_echo
=$ac_try;;
17546 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17547 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
17549 grep -v '^ *+' conftest.er1
>conftest.err
17551 cat conftest.err
>&5
17552 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17553 (exit $ac_status); } >/dev
/null
&& {
17554 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
17555 test ! -s conftest.err
17557 # Broken: success on invalid input.
17560 echo "$as_me: failed program was:" >&5
17561 sed 's/^/| /' conftest.
$ac_ext >&5
17563 # Passes both tests.
17568 rm -f conftest.err conftest.
$ac_ext
17571 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
17572 rm -f conftest.err conftest.
$ac_ext
17573 if $ac_preproc_ok; then
17578 ac_cv_prog_CPP
=$CPP
17581 CPP
=$ac_cv_prog_CPP
17583 ac_cv_prog_CPP
=$CPP
17585 { echo "$as_me:$LINENO: result: $CPP" >&5
17586 echo "${ECHO_T}$CPP" >&6; }
17587 ac_preproc_ok
=false
17588 for ac_c_preproc_warn_flag
in '' yes
17590 # Use a header file that comes with gcc, so configuring glibc
17591 # with a fresh cross-compiler works.
17592 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17593 # <limits.h> exists even on freestanding compilers.
17594 # On the NeXT, cc -E runs the code through the compiler's parser,
17595 # not just through cpp. "Syntax error" is here to catch this case.
17596 cat >conftest.
$ac_ext <<_ACEOF
17599 cat confdefs.h
>>conftest.
$ac_ext
17600 cat >>conftest.
$ac_ext <<_ACEOF
17601 /* end confdefs.h. */
17603 # include <limits.h>
17605 # include <assert.h>
17609 if { (ac_try
="$ac_cpp conftest.$ac_ext"
17610 case "(($ac_try" in
17611 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
17612 *) ac_try_echo=$ac_try;;
17614 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17615 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
17617 grep -v '^ *+' conftest.er1 >conftest.err
17619 cat conftest.err >&5
17620 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17621 (exit $ac_status); } >/dev/null && {
17622 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
17623 test ! -s conftest.err
17627 echo "$as_me: failed program was:" >&5
17628 sed 's/^/| /' conftest.$ac_ext >&5
17630 # Broken: fails on valid input.
17634 rm -f conftest.err conftest.$ac_ext
17636 # OK, works on sane cases. Now check whether nonexistent headers
17637 # can be detected and how.
17638 cat >conftest.$ac_ext <<_ACEOF
17641 cat confdefs.h >>conftest.$ac_ext
17642 cat >>conftest.$ac_ext <<_ACEOF
17643 /* end confdefs.h. */
17644 #include <ac_nonexistent.h>
17646 if { (ac_try="$ac_cpp conftest.$ac_ext"
17647 case "(($ac_try" in
17648 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
17649 *) ac_try_echo
=$ac_try;;
17651 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17652 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
17654 grep -v '^ *+' conftest.er1
>conftest.err
17656 cat conftest.err
>&5
17657 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17658 (exit $ac_status); } >/dev
/null
&& {
17659 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
17660 test ! -s conftest.err
17662 # Broken: success on invalid input.
17665 echo "$as_me: failed program was:" >&5
17666 sed 's/^/| /' conftest.
$ac_ext >&5
17668 # Passes both tests.
17673 rm -f conftest.err conftest.
$ac_ext
17676 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
17677 rm -f conftest.err conftest.
$ac_ext
17678 if $ac_preproc_ok; then
17681 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
17682 See \`config.log' for more details." >&5
17683 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
17684 See \`config.log' for more details." >&2;}
17685 { (exit 1); exit 1; }; }
17689 ac_cpp
='$CPP $CPPFLAGS'
17690 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17691 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17692 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
17695 { echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
17696 echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
17697 if test "${ac_cv_path_GREP+set}" = set; then
17698 echo $ECHO_N "(cached) $ECHO_C" >&6
17700 # Extract the first word of "grep ggrep" to use in msg output
17701 if test -z "$GREP"; then
17702 set dummy
grep ggrep
; ac_prog_name
=$2
17703 if test "${ac_cv_path_GREP+set}" = set; then
17704 echo $ECHO_N "(cached) $ECHO_C" >&6
17706 ac_path_GREP_found
=false
17707 # Loop through the user's path and test for each of PROGNAME-LIST
17708 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
17709 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
17712 test -z "$as_dir" && as_dir
=.
17713 for ac_prog
in grep ggrep
; do
17714 for ac_exec_ext
in '' $ac_executable_extensions; do
17715 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
17716 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
17717 # Check for GNU ac_path_GREP and select it if it is found.
17718 # Check for GNU $ac_path_GREP
17719 case `"$ac_path_GREP" --version 2>&1` in
17721 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
17724 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
17727 cat "conftest.in" "conftest.in" >"conftest.tmp"
17728 mv "conftest.tmp" "conftest.in"
17729 cp "conftest.in" "conftest.nl"
17730 echo 'GREP' >> "conftest.nl"
17731 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null
|| break
17732 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 || break
17733 ac_count
=`expr $ac_count + 1`
17734 if test $ac_count -gt ${ac_path_GREP_max-0}; then
17735 # Best one so far, save it but keep looking for a better one
17736 ac_cv_path_GREP
="$ac_path_GREP"
17737 ac_path_GREP_max
=$ac_count
17739 # 10*(2^10) chars as input seems more than enough
17740 test $ac_count -gt 10 && break
17742 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
17746 $ac_path_GREP_found && break 3
17756 GREP
="$ac_cv_path_GREP"
17757 if test -z "$GREP"; then
17758 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
17759 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
17760 { (exit 1); exit 1; }; }
17764 ac_cv_path_GREP
=$GREP
17769 { echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
17770 echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
17771 GREP
="$ac_cv_path_GREP"
17774 { echo "$as_me:$LINENO: checking for egrep" >&5
17775 echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
17776 if test "${ac_cv_path_EGREP+set}" = set; then
17777 echo $ECHO_N "(cached) $ECHO_C" >&6
17779 if echo a
| $GREP -E '(a|b)' >/dev
/null
2>&1
17780 then ac_cv_path_EGREP
="$GREP -E"
17782 # Extract the first word of "egrep" to use in msg output
17783 if test -z "$EGREP"; then
17784 set dummy
egrep; ac_prog_name
=$2
17785 if test "${ac_cv_path_EGREP+set}" = set; then
17786 echo $ECHO_N "(cached) $ECHO_C" >&6
17788 ac_path_EGREP_found
=false
17789 # Loop through the user's path and test for each of PROGNAME-LIST
17790 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
17791 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
17794 test -z "$as_dir" && as_dir
=.
17795 for ac_prog
in egrep; do
17796 for ac_exec_ext
in '' $ac_executable_extensions; do
17797 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
17798 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
17799 # Check for GNU ac_path_EGREP and select it if it is found.
17800 # Check for GNU $ac_path_EGREP
17801 case `"$ac_path_EGREP" --version 2>&1` in
17803 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
17806 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
17809 cat "conftest.in" "conftest.in" >"conftest.tmp"
17810 mv "conftest.tmp" "conftest.in"
17811 cp "conftest.in" "conftest.nl"
17812 echo 'EGREP' >> "conftest.nl"
17813 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null
|| break
17814 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 || break
17815 ac_count
=`expr $ac_count + 1`
17816 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
17817 # Best one so far, save it but keep looking for a better one
17818 ac_cv_path_EGREP
="$ac_path_EGREP"
17819 ac_path_EGREP_max
=$ac_count
17821 # 10*(2^10) chars as input seems more than enough
17822 test $ac_count -gt 10 && break
17824 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
17828 $ac_path_EGREP_found && break 3
17838 EGREP
="$ac_cv_path_EGREP"
17839 if test -z "$EGREP"; then
17840 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
17841 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
17842 { (exit 1); exit 1; }; }
17846 ac_cv_path_EGREP
=$EGREP
17852 { echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
17853 echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
17854 EGREP
="$ac_cv_path_EGREP"
17857 if test $ac_cv_c_compiler_gnu = yes; then
17858 { echo "$as_me:$LINENO: checking whether $CC needs -traditional" >&5
17859 echo $ECHO_N "checking whether $CC needs -traditional... $ECHO_C" >&6; }
17860 if test "${ac_cv_prog_gcc_traditional+set}" = set; then
17861 echo $ECHO_N "(cached) $ECHO_C" >&6
17863 ac_pattern
="Autoconf.*'x'"
17864 cat >conftest.
$ac_ext <<_ACEOF
17867 cat confdefs.h
>>conftest.
$ac_ext
17868 cat >>conftest.
$ac_ext <<_ACEOF
17869 /* end confdefs.h. */
17873 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17874 $EGREP "$ac_pattern" >/dev
/null
2>&1; then
17875 ac_cv_prog_gcc_traditional
=yes
17877 ac_cv_prog_gcc_traditional
=no
17882 if test $ac_cv_prog_gcc_traditional = no
; then
17883 cat >conftest.
$ac_ext <<_ACEOF
17886 cat confdefs.h
>>conftest.
$ac_ext
17887 cat >>conftest.
$ac_ext <<_ACEOF
17888 /* end confdefs.h. */
17889 #include <termio.h>
17892 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17893 $EGREP "$ac_pattern" >/dev
/null
2>&1; then
17894 ac_cv_prog_gcc_traditional
=yes
17900 { echo "$as_me:$LINENO: result: $ac_cv_prog_gcc_traditional" >&5
17901 echo "${ECHO_T}$ac_cv_prog_gcc_traditional" >&6; }
17902 if test $ac_cv_prog_gcc_traditional = yes; then
17903 CC
="$CC -traditional"
17908 CXXFLAGS
=${CXXFLAGS:=}
17913 ac_cpp
='$CXXCPP $CPPFLAGS'
17914 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17915 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17916 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
17917 if test -z "$CXX"; then
17918 if test -n "$CCC"; then
17921 if test -n "$ac_tool_prefix"; then
17922 for ac_prog
in g
++ c
++ gpp aCC CC cxx cc
++ cl.exe FCC KCC RCC xlC_r xlC
17924 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
17925 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
17926 { echo "$as_me:$LINENO: checking for $ac_word" >&5
17927 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
17928 if test "${ac_cv_prog_CXX+set}" = set; then
17929 echo $ECHO_N "(cached) $ECHO_C" >&6
17931 if test -n "$CXX"; then
17932 ac_cv_prog_CXX
="$CXX" # Let the user override the test.
17934 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
17935 for as_dir
in $PATH
17938 test -z "$as_dir" && as_dir
=.
17939 for ac_exec_ext
in '' $ac_executable_extensions; do
17940 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
17941 ac_cv_prog_CXX
="$ac_tool_prefix$ac_prog"
17942 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
17951 CXX
=$ac_cv_prog_CXX
17952 if test -n "$CXX"; then
17953 { echo "$as_me:$LINENO: result: $CXX" >&5
17954 echo "${ECHO_T}$CXX" >&6; }
17956 { echo "$as_me:$LINENO: result: no" >&5
17957 echo "${ECHO_T}no" >&6; }
17961 test -n "$CXX" && break
17964 if test -z "$CXX"; then
17966 for ac_prog
in g
++ c
++ gpp aCC CC cxx cc
++ cl.exe FCC KCC RCC xlC_r xlC
17968 # Extract the first word of "$ac_prog", so it can be a program name with args.
17969 set dummy
$ac_prog; ac_word
=$2
17970 { echo "$as_me:$LINENO: checking for $ac_word" >&5
17971 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
17972 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
17973 echo $ECHO_N "(cached) $ECHO_C" >&6
17975 if test -n "$ac_ct_CXX"; then
17976 ac_cv_prog_ac_ct_CXX
="$ac_ct_CXX" # Let the user override the test.
17978 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
17979 for as_dir
in $PATH
17982 test -z "$as_dir" && as_dir
=.
17983 for ac_exec_ext
in '' $ac_executable_extensions; do
17984 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
17985 ac_cv_prog_ac_ct_CXX
="$ac_prog"
17986 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
17995 ac_ct_CXX
=$ac_cv_prog_ac_ct_CXX
17996 if test -n "$ac_ct_CXX"; then
17997 { echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
17998 echo "${ECHO_T}$ac_ct_CXX" >&6; }
18000 { echo "$as_me:$LINENO: result: no" >&5
18001 echo "${ECHO_T}no" >&6; }
18005 test -n "$ac_ct_CXX" && break
18008 if test "x$ac_ct_CXX" = x
; then
18011 case $cross_compiling:$ac_tool_warned in
18013 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
18014 whose name does not start with the host triplet. If you think this
18015 configuration is useful to you, please write to autoconf@gnu.org." >&5
18016 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
18017 whose name does not start with the host triplet. If you think this
18018 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
18019 ac_tool_warned
=yes ;;
18027 # Provide some information about the compiler.
18028 echo "$as_me:$LINENO: checking for C++ compiler version" >&5
18029 ac_compiler
=`set X $ac_compile; echo $2`
18030 { (ac_try
="$ac_compiler --version >&5"
18031 case "(($ac_try" in
18032 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
18033 *) ac_try_echo=$ac_try;;
18035 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18036 (eval "$ac_compiler --version >&5") 2>&5
18038 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18039 (exit $ac_status); }
18040 { (ac_try="$ac_compiler -v >&5"
18041 case "(($ac_try" in
18042 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
18043 *) ac_try_echo
=$ac_try;;
18045 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18046 (eval "$ac_compiler -v >&5") 2>&5
18048 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18049 (exit $ac_status); }
18050 { (ac_try
="$ac_compiler -V >&5"
18051 case "(($ac_try" in
18052 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
18053 *) ac_try_echo=$ac_try;;
18055 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18056 (eval "$ac_compiler -V >&5") 2>&5
18058 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18059 (exit $ac_status); }
18061 { echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
18062 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6; }
18063 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
18064 echo $ECHO_N "(cached) $ECHO_C" >&6
18066 cat >conftest.$ac_ext <<_ACEOF
18069 cat confdefs.h >>conftest.$ac_ext
18070 cat >>conftest.$ac_ext <<_ACEOF
18071 /* end confdefs.h. */
18084 rm -f conftest.$ac_objext
18085 if { (ac_try="$ac_compile"
18086 case "(($ac_try" in
18087 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
18088 *) ac_try_echo
=$ac_try;;
18090 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18091 (eval "$ac_compile") 2>conftest.er1
18093 grep -v '^ *+' conftest.er1
>conftest.err
18095 cat conftest.err
>&5
18096 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18097 (exit $ac_status); } && {
18098 test -z "$ac_cxx_werror_flag" ||
18099 test ! -s conftest.err
18100 } && test -s conftest.
$ac_objext; then
18101 ac_compiler_gnu
=yes
18103 echo "$as_me: failed program was:" >&5
18104 sed 's/^/| /' conftest.
$ac_ext >&5
18109 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
18110 ac_cv_cxx_compiler_gnu
=$ac_compiler_gnu
18113 { echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
18114 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6; }
18115 GXX
=`test $ac_compiler_gnu = yes && echo yes`
18116 ac_test_CXXFLAGS
=${CXXFLAGS+set}
18117 ac_save_CXXFLAGS
=$CXXFLAGS
18118 { echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
18119 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6; }
18120 if test "${ac_cv_prog_cxx_g+set}" = set; then
18121 echo $ECHO_N "(cached) $ECHO_C" >&6
18123 ac_save_cxx_werror_flag
=$ac_cxx_werror_flag
18124 ac_cxx_werror_flag
=yes
18125 ac_cv_prog_cxx_g
=no
18127 cat >conftest.
$ac_ext <<_ACEOF
18130 cat confdefs.h
>>conftest.
$ac_ext
18131 cat >>conftest.
$ac_ext <<_ACEOF
18132 /* end confdefs.h. */
18142 rm -f conftest.
$ac_objext
18143 if { (ac_try
="$ac_compile"
18144 case "(($ac_try" in
18145 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
18146 *) ac_try_echo=$ac_try;;
18148 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18149 (eval "$ac_compile") 2>conftest.er1
18151 grep -v '^ *+' conftest.er1 >conftest.err
18153 cat conftest.err >&5
18154 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18155 (exit $ac_status); } && {
18156 test -z "$ac_cxx_werror_flag" ||
18157 test ! -s conftest.err
18158 } && test -s conftest.$ac_objext; then
18159 ac_cv_prog_cxx_g=yes
18161 echo "$as_me: failed program was:" >&5
18162 sed 's/^/| /' conftest.$ac_ext >&5
18165 cat >conftest.$ac_ext <<_ACEOF
18168 cat confdefs.h >>conftest.$ac_ext
18169 cat >>conftest.$ac_ext <<_ACEOF
18170 /* end confdefs.h. */
18180 rm -f conftest.$ac_objext
18181 if { (ac_try="$ac_compile"
18182 case "(($ac_try" in
18183 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
18184 *) ac_try_echo
=$ac_try;;
18186 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18187 (eval "$ac_compile") 2>conftest.er1
18189 grep -v '^ *+' conftest.er1
>conftest.err
18191 cat conftest.err
>&5
18192 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18193 (exit $ac_status); } && {
18194 test -z "$ac_cxx_werror_flag" ||
18195 test ! -s conftest.err
18196 } && test -s conftest.
$ac_objext; then
18199 echo "$as_me: failed program was:" >&5
18200 sed 's/^/| /' conftest.
$ac_ext >&5
18202 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
18204 cat >conftest.
$ac_ext <<_ACEOF
18207 cat confdefs.h
>>conftest.
$ac_ext
18208 cat >>conftest.
$ac_ext <<_ACEOF
18209 /* end confdefs.h. */
18219 rm -f conftest.
$ac_objext
18220 if { (ac_try
="$ac_compile"
18221 case "(($ac_try" in
18222 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
18223 *) ac_try_echo=$ac_try;;
18225 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18226 (eval "$ac_compile") 2>conftest.er1
18228 grep -v '^ *+' conftest.er1 >conftest.err
18230 cat conftest.err >&5
18231 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18232 (exit $ac_status); } && {
18233 test -z "$ac_cxx_werror_flag" ||
18234 test ! -s conftest.err
18235 } && test -s conftest.$ac_objext; then
18236 ac_cv_prog_cxx_g=yes
18238 echo "$as_me: failed program was:" >&5
18239 sed 's/^/| /' conftest.$ac_ext >&5
18244 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18247 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18250 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18251 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
18253 { echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
18254 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6; }
18255 if test "$ac_test_CXXFLAGS" = set; then
18256 CXXFLAGS=$ac_save_CXXFLAGS
18257 elif test $ac_cv_prog_cxx_g = yes; then
18258 if test "$GXX" = yes; then
18264 if test "$GXX" = yes; then
18271 ac_cpp='$CPP $CPPFLAGS'
18272 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18273 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18274 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18280 ac_cpp='$CXXCPP $CPPFLAGS'
18281 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18282 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18283 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18285 { echo "$as_me:$LINENO: checking whether we are using the Intel C++ compiler" >&5
18286 echo $ECHO_N "checking whether we are using the Intel C++ compiler... $ECHO_C" >&6; }
18287 if test "${bakefile_cv_cxx_compiler___INTEL_COMPILER+set}" = set; then
18288 echo $ECHO_N "(cached) $ECHO_C" >&6
18290 cat >conftest.$ac_ext <<_ACEOF
18293 cat confdefs.h >>conftest.$ac_ext
18294 cat >>conftest.$ac_ext <<_ACEOF
18295 /* end confdefs.h. */
18301 #ifndef __INTEL_COMPILER
18309 rm -f conftest.$ac_objext
18310 if { (ac_try="$ac_compile"
18311 case "(($ac_try" in
18312 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
18313 *) ac_try_echo
=$ac_try;;
18315 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18316 (eval "$ac_compile") 2>conftest.er1
18318 grep -v '^ *+' conftest.er1
>conftest.err
18320 cat conftest.err
>&5
18321 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18322 (exit $ac_status); } && {
18323 test -z "$ac_cxx_werror_flag" ||
18324 test ! -s conftest.err
18325 } && test -s conftest.
$ac_objext; then
18326 bakefile_cv_cxx_compiler___INTEL_COMPILER
=yes
18328 echo "$as_me: failed program was:" >&5
18329 sed 's/^/| /' conftest.
$ac_ext >&5
18331 bakefile_cv_cxx_compiler___INTEL_COMPILER
=no
18335 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
18339 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___INTEL_COMPILER" >&5
18340 echo "${ECHO_T}$bakefile_cv_cxx_compiler___INTEL_COMPILER" >&6; }
18341 if test "x$bakefile_cv_cxx_compiler___INTEL_COMPILER" = "xyes"; then
18347 ac_cpp
='$CPP $CPPFLAGS'
18348 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18349 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18350 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
18355 if test "x$GCXX" != "xyes"; then
18356 if test "xCXX" = "xC"; then
18357 { echo "$as_me:$LINENO: checking if the C compiler requires -ext o" >&5
18358 echo $ECHO_N "checking if the C compiler requires -ext o... $ECHO_C" >&6; }
18359 if test "${bakefile_cv_c_exto+set}" = set; then
18360 echo $ECHO_N "(cached) $ECHO_C" >&6
18362 cat >conftest.
$ac_ext <<_ACEOF
18365 cat confdefs.h
>>conftest.
$ac_ext
18366 cat >>conftest.
$ac_ext <<_ACEOF
18367 /* end confdefs.h. */
18377 rm -f conftest.
$ac_objext conftest.
$ac_ext.o
18378 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18379 (eval $ac_compile) 2>&5
18381 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18382 (exit $ac_status); }; then
18383 for ac_file
in `(ls conftest.* 2>/dev/null)`; do
18385 conftest.
$ac_ext.o
)
18386 bakefile_cv_c_exto
="-ext o"
18393 { { echo "$as_me:$LINENO: error: cannot figure out if compiler needs -ext o: cannot compile
18394 See \`config.log' for more details." >&5
18395 echo "$as_me: error: cannot figure out if compiler needs -ext o: cannot compile
18396 See \`config.log' for more details." >&2;}
18397 { (exit 1); exit 1; }; }
18401 rm -f conftest.
$ac_ext.o conftest.
$ac_objext conftest.
$ac_ext
18404 { echo "$as_me:$LINENO: result: $bakefile_cv_c_exto" >&5
18405 echo "${ECHO_T}$bakefile_cv_c_exto" >&6; }
18406 if test "x$bakefile_cv_c_exto" '!=' "x"; then
18407 if test "c" = "c"; then
18408 CFLAGS
="$bakefile_cv_c_exto $CFLAGS"
18410 if test "c" = "cxx"; then
18411 CXXFLAGS
="$bakefile_cv_c_exto $CXXFLAGS"
18415 if test "x$bakefile_cv_c_exto" '!=' "x"; then
18416 unset ac_cv_prog_cc_g
18417 ac_test_CFLAGS
=${CFLAGS+set}
18418 ac_save_CFLAGS
=$CFLAGS
18419 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
18420 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
18421 if test "${ac_cv_prog_cc_g+set}" = set; then
18422 echo $ECHO_N "(cached) $ECHO_C" >&6
18424 ac_save_c_werror_flag
=$ac_c_werror_flag
18425 ac_c_werror_flag
=yes
18428 cat >conftest.
$ac_ext <<_ACEOF
18431 cat confdefs.h
>>conftest.
$ac_ext
18432 cat >>conftest.
$ac_ext <<_ACEOF
18433 /* end confdefs.h. */
18443 rm -f conftest.
$ac_objext
18444 if { (ac_try
="$ac_compile"
18445 case "(($ac_try" in
18446 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
18447 *) ac_try_echo=$ac_try;;
18449 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18450 (eval "$ac_compile") 2>conftest.er1
18452 grep -v '^ *+' conftest.er1 >conftest.err
18454 cat conftest.err >&5
18455 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18456 (exit $ac_status); } && {
18457 test -z "$ac_c_werror_flag" ||
18458 test ! -s conftest.err
18459 } && test -s conftest.$ac_objext; then
18460 ac_cv_prog_cc_g=yes
18462 echo "$as_me: failed program was:" >&5
18463 sed 's/^/| /' conftest.$ac_ext >&5
18466 cat >conftest.$ac_ext <<_ACEOF
18469 cat confdefs.h >>conftest.$ac_ext
18470 cat >>conftest.$ac_ext <<_ACEOF
18471 /* end confdefs.h. */
18481 rm -f conftest.$ac_objext
18482 if { (ac_try="$ac_compile"
18483 case "(($ac_try" in
18484 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
18485 *) ac_try_echo
=$ac_try;;
18487 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18488 (eval "$ac_compile") 2>conftest.er1
18490 grep -v '^ *+' conftest.er1
>conftest.err
18492 cat conftest.err
>&5
18493 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18494 (exit $ac_status); } && {
18495 test -z "$ac_c_werror_flag" ||
18496 test ! -s conftest.err
18497 } && test -s conftest.
$ac_objext; then
18500 echo "$as_me: failed program was:" >&5
18501 sed 's/^/| /' conftest.
$ac_ext >&5
18503 ac_c_werror_flag
=$ac_save_c_werror_flag
18505 cat >conftest.
$ac_ext <<_ACEOF
18508 cat confdefs.h
>>conftest.
$ac_ext
18509 cat >>conftest.
$ac_ext <<_ACEOF
18510 /* end confdefs.h. */
18520 rm -f conftest.
$ac_objext
18521 if { (ac_try
="$ac_compile"
18522 case "(($ac_try" in
18523 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
18524 *) ac_try_echo=$ac_try;;
18526 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18527 (eval "$ac_compile") 2>conftest.er1
18529 grep -v '^ *+' conftest.er1 >conftest.err
18531 cat conftest.err >&5
18532 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18533 (exit $ac_status); } && {
18534 test -z "$ac_c_werror_flag" ||
18535 test ! -s conftest.err
18536 } && test -s conftest.$ac_objext; then
18537 ac_cv_prog_cc_g=yes
18539 echo "$as_me: failed program was:" >&5
18540 sed 's/^/| /' conftest.$ac_ext >&5
18545 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18548 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18551 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18552 ac_c_werror_flag=$ac_save_c_werror_flag
18554 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
18555 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
18556 if test "$ac_test_CFLAGS" = set; then
18557 CFLAGS=$ac_save_CFLAGS
18558 elif test $ac_cv_prog_cc_g = yes; then
18559 if test "$GCC" = yes; then
18565 if test "$GCC" = yes; then
18579 ac_cpp='$CXXCPP $CPPFLAGS'
18580 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18581 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18582 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18584 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C++ compiler" >&5
18585 echo $ECHO_N "checking whether we are using the IBM xlC C++ compiler... $ECHO_C" >&6; }
18586 if test "${bakefile_cv_cxx_compiler___xlC__+set}" = set; then
18587 echo $ECHO_N "(cached) $ECHO_C" >&6
18589 cat >conftest.$ac_ext <<_ACEOF
18592 cat confdefs.h >>conftest.$ac_ext
18593 cat >>conftest.$ac_ext <<_ACEOF
18594 /* end confdefs.h. */
18608 rm -f conftest.$ac_objext
18609 if { (ac_try="$ac_compile"
18610 case "(($ac_try" in
18611 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
18612 *) ac_try_echo
=$ac_try;;
18614 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18615 (eval "$ac_compile") 2>conftest.er1
18617 grep -v '^ *+' conftest.er1
>conftest.err
18619 cat conftest.err
>&5
18620 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18621 (exit $ac_status); } && {
18622 test -z "$ac_cxx_werror_flag" ||
18623 test ! -s conftest.err
18624 } && test -s conftest.
$ac_objext; then
18625 bakefile_cv_cxx_compiler___xlC__
=yes
18627 echo "$as_me: failed program was:" >&5
18628 sed 's/^/| /' conftest.
$ac_ext >&5
18630 bakefile_cv_cxx_compiler___xlC__
=no
18634 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
18638 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___xlC__" >&5
18639 echo "${ECHO_T}$bakefile_cv_cxx_compiler___xlC__" >&6; }
18640 if test "x$bakefile_cv_cxx_compiler___xlC__" = "xyes"; then
18646 ac_cpp
='$CPP $CPPFLAGS'
18647 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18648 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18649 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
18659 ac_cpp
='$CXXCPP $CPPFLAGS'
18660 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18661 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18662 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
18664 { echo "$as_me:$LINENO: checking whether we are using the Metrowerks C++ compiler" >&5
18665 echo $ECHO_N "checking whether we are using the Metrowerks C++ compiler... $ECHO_C" >&6; }
18666 if test "${bakefile_cv_cxx_compiler___MWERKS__+set}" = set; then
18667 echo $ECHO_N "(cached) $ECHO_C" >&6
18669 cat >conftest.
$ac_ext <<_ACEOF
18672 cat confdefs.h
>>conftest.
$ac_ext
18673 cat >>conftest.
$ac_ext <<_ACEOF
18674 /* end confdefs.h. */
18688 rm -f conftest.
$ac_objext
18689 if { (ac_try
="$ac_compile"
18690 case "(($ac_try" in
18691 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
18692 *) ac_try_echo=$ac_try;;
18694 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18695 (eval "$ac_compile") 2>conftest.er1
18697 grep -v '^ *+' conftest.er1 >conftest.err
18699 cat conftest.err >&5
18700 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18701 (exit $ac_status); } && {
18702 test -z "$ac_cxx_werror_flag" ||
18703 test ! -s conftest.err
18704 } && test -s conftest.$ac_objext; then
18705 bakefile_cv_cxx_compiler___MWERKS__=yes
18707 echo "$as_me: failed program was:" >&5
18708 sed 's/^/| /' conftest.$ac_ext >&5
18710 bakefile_cv_cxx_compiler___MWERKS__=no
18714 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18718 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___MWERKS__" >&5
18719 echo "${ECHO_T}$bakefile_cv_cxx_compiler___MWERKS__" >&6; }
18720 if test "x$bakefile_cv_cxx_compiler___MWERKS__" = "xyes"; then
18726 ac_cpp='$CPP $CPPFLAGS'
18727 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18728 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18729 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18736 ac_cpp='$CXXCPP $CPPFLAGS'
18737 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18738 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18739 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18741 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C++ compiler" >&5
18742 echo $ECHO_N "checking whether we are using the IBM xlC C++ compiler... $ECHO_C" >&6; }
18743 if test "${bakefile_cv_cxx_compiler___xlC__+set}" = set; then
18744 echo $ECHO_N "(cached) $ECHO_C" >&6
18746 cat >conftest.$ac_ext <<_ACEOF
18749 cat confdefs.h >>conftest.$ac_ext
18750 cat >>conftest.$ac_ext <<_ACEOF
18751 /* end confdefs.h. */
18765 rm -f conftest.$ac_objext
18766 if { (ac_try="$ac_compile"
18767 case "(($ac_try" in
18768 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
18769 *) ac_try_echo
=$ac_try;;
18771 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18772 (eval "$ac_compile") 2>conftest.er1
18774 grep -v '^ *+' conftest.er1
>conftest.err
18776 cat conftest.err
>&5
18777 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18778 (exit $ac_status); } && {
18779 test -z "$ac_cxx_werror_flag" ||
18780 test ! -s conftest.err
18781 } && test -s conftest.
$ac_objext; then
18782 bakefile_cv_cxx_compiler___xlC__
=yes
18784 echo "$as_me: failed program was:" >&5
18785 sed 's/^/| /' conftest.
$ac_ext >&5
18787 bakefile_cv_cxx_compiler___xlC__
=no
18791 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
18795 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___xlC__" >&5
18796 echo "${ECHO_T}$bakefile_cv_cxx_compiler___xlC__" >&6; }
18797 if test "x$bakefile_cv_cxx_compiler___xlC__" = "xyes"; then
18803 ac_cpp
='$CPP $CPPFLAGS'
18804 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18805 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18806 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
18816 ac_cpp
='$CXXCPP $CPPFLAGS'
18817 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18818 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18819 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
18821 { echo "$as_me:$LINENO: checking whether we are using the SGI C++ compiler" >&5
18822 echo $ECHO_N "checking whether we are using the SGI C++ compiler... $ECHO_C" >&6; }
18823 if test "${bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION+set}" = set; then
18824 echo $ECHO_N "(cached) $ECHO_C" >&6
18826 cat >conftest.
$ac_ext <<_ACEOF
18829 cat confdefs.h
>>conftest.
$ac_ext
18830 cat >>conftest.
$ac_ext <<_ACEOF
18831 /* end confdefs.h. */
18837 #ifndef _SGI_COMPILER_VERSION
18845 rm -f conftest.
$ac_objext
18846 if { (ac_try
="$ac_compile"
18847 case "(($ac_try" in
18848 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
18849 *) ac_try_echo=$ac_try;;
18851 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18852 (eval "$ac_compile") 2>conftest.er1
18854 grep -v '^ *+' conftest.er1 >conftest.err
18856 cat conftest.err >&5
18857 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18858 (exit $ac_status); } && {
18859 test -z "$ac_cxx_werror_flag" ||
18860 test ! -s conftest.err
18861 } && test -s conftest.$ac_objext; then
18862 bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION=yes
18864 echo "$as_me: failed program was:" >&5
18865 sed 's/^/| /' conftest.$ac_ext >&5
18867 bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION=no
18871 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18875 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" >&5
18876 echo "${ECHO_T}$bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" >&6; }
18877 if test "x$bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" = "xyes"; then
18883 ac_cpp='$CPP $CPPFLAGS'
18884 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18885 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18886 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18896 ac_cpp='$CXXCPP $CPPFLAGS'
18897 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18898 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18899 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18901 { echo "$as_me:$LINENO: checking whether we are using the Sun C++ compiler" >&5
18902 echo $ECHO_N "checking whether we are using the Sun C++ compiler... $ECHO_C" >&6; }
18903 if test "${bakefile_cv_cxx_compiler___SUNPRO_CC+set}" = set; then
18904 echo $ECHO_N "(cached) $ECHO_C" >&6
18906 cat >conftest.$ac_ext <<_ACEOF
18909 cat confdefs.h >>conftest.$ac_ext
18910 cat >>conftest.$ac_ext <<_ACEOF
18911 /* end confdefs.h. */
18917 #ifndef __SUNPRO_CC
18925 rm -f conftest.$ac_objext
18926 if { (ac_try="$ac_compile"
18927 case "(($ac_try" in
18928 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
18929 *) ac_try_echo
=$ac_try;;
18931 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18932 (eval "$ac_compile") 2>conftest.er1
18934 grep -v '^ *+' conftest.er1
>conftest.err
18936 cat conftest.err
>&5
18937 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18938 (exit $ac_status); } && {
18939 test -z "$ac_cxx_werror_flag" ||
18940 test ! -s conftest.err
18941 } && test -s conftest.
$ac_objext; then
18942 bakefile_cv_cxx_compiler___SUNPRO_CC
=yes
18944 echo "$as_me: failed program was:" >&5
18945 sed 's/^/| /' conftest.
$ac_ext >&5
18947 bakefile_cv_cxx_compiler___SUNPRO_CC
=no
18951 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
18955 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___SUNPRO_CC" >&5
18956 echo "${ECHO_T}$bakefile_cv_cxx_compiler___SUNPRO_CC" >&6; }
18957 if test "x$bakefile_cv_cxx_compiler___SUNPRO_CC" = "xyes"; then
18963 ac_cpp
='$CPP $CPPFLAGS'
18964 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18965 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18966 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
18976 ac_cpp
='$CXXCPP $CPPFLAGS'
18977 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18978 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18979 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
18981 { echo "$as_me:$LINENO: checking whether we are using the HP C++ compiler" >&5
18982 echo $ECHO_N "checking whether we are using the HP C++ compiler... $ECHO_C" >&6; }
18983 if test "${bakefile_cv_cxx_compiler___HP_aCC+set}" = set; then
18984 echo $ECHO_N "(cached) $ECHO_C" >&6
18986 cat >conftest.
$ac_ext <<_ACEOF
18989 cat confdefs.h
>>conftest.
$ac_ext
18990 cat >>conftest.
$ac_ext <<_ACEOF
18991 /* end confdefs.h. */
19005 rm -f conftest.
$ac_objext
19006 if { (ac_try
="$ac_compile"
19007 case "(($ac_try" in
19008 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
19009 *) ac_try_echo=$ac_try;;
19011 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19012 (eval "$ac_compile") 2>conftest.er1
19014 grep -v '^ *+' conftest.er1 >conftest.err
19016 cat conftest.err >&5
19017 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19018 (exit $ac_status); } && {
19019 test -z "$ac_cxx_werror_flag" ||
19020 test ! -s conftest.err
19021 } && test -s conftest.$ac_objext; then
19022 bakefile_cv_cxx_compiler___HP_aCC=yes
19024 echo "$as_me: failed program was:" >&5
19025 sed 's/^/| /' conftest.$ac_ext >&5
19027 bakefile_cv_cxx_compiler___HP_aCC=no
19031 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19035 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___HP_aCC" >&5
19036 echo "${ECHO_T}$bakefile_cv_cxx_compiler___HP_aCC" >&6; }
19037 if test "x$bakefile_cv_cxx_compiler___HP_aCC" = "xyes"; then
19043 ac_cpp='$CPP $CPPFLAGS'
19044 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19045 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19046 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19056 ac_cpp='$CXXCPP $CPPFLAGS'
19057 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19058 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19059 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19061 { echo "$as_me:$LINENO: checking whether we are using the Compaq C++ compiler" >&5
19062 echo $ECHO_N "checking whether we are using the Compaq C++ compiler... $ECHO_C" >&6; }
19063 if test "${bakefile_cv_cxx_compiler___DECCXX+set}" = set; then
19064 echo $ECHO_N "(cached) $ECHO_C" >&6
19066 cat >conftest.$ac_ext <<_ACEOF
19069 cat confdefs.h >>conftest.$ac_ext
19070 cat >>conftest.$ac_ext <<_ACEOF
19071 /* end confdefs.h. */
19085 rm -f conftest.$ac_objext
19086 if { (ac_try="$ac_compile"
19087 case "(($ac_try" in
19088 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
19089 *) ac_try_echo
=$ac_try;;
19091 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19092 (eval "$ac_compile") 2>conftest.er1
19094 grep -v '^ *+' conftest.er1
>conftest.err
19096 cat conftest.err
>&5
19097 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19098 (exit $ac_status); } && {
19099 test -z "$ac_cxx_werror_flag" ||
19100 test ! -s conftest.err
19101 } && test -s conftest.
$ac_objext; then
19102 bakefile_cv_cxx_compiler___DECCXX
=yes
19104 echo "$as_me: failed program was:" >&5
19105 sed 's/^/| /' conftest.
$ac_ext >&5
19107 bakefile_cv_cxx_compiler___DECCXX
=no
19111 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
19115 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___DECCXX" >&5
19116 echo "${ECHO_T}$bakefile_cv_cxx_compiler___DECCXX" >&6; }
19117 if test "x$bakefile_cv_cxx_compiler___DECCXX" = "xyes"; then
19123 ac_cpp
='$CPP $CPPFLAGS'
19124 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19125 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19126 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
19136 ac_cpp
='$CXXCPP $CPPFLAGS'
19137 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19138 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19139 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
19141 { echo "$as_me:$LINENO: checking whether we are using the Sun C++ compiler" >&5
19142 echo $ECHO_N "checking whether we are using the Sun C++ compiler... $ECHO_C" >&6; }
19143 if test "${bakefile_cv_cxx_compiler___SUNPRO_CC+set}" = set; then
19144 echo $ECHO_N "(cached) $ECHO_C" >&6
19146 cat >conftest.
$ac_ext <<_ACEOF
19149 cat confdefs.h
>>conftest.
$ac_ext
19150 cat >>conftest.
$ac_ext <<_ACEOF
19151 /* end confdefs.h. */
19157 #ifndef __SUNPRO_CC
19165 rm -f conftest.
$ac_objext
19166 if { (ac_try
="$ac_compile"
19167 case "(($ac_try" in
19168 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
19169 *) ac_try_echo=$ac_try;;
19171 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19172 (eval "$ac_compile") 2>conftest.er1
19174 grep -v '^ *+' conftest.er1 >conftest.err
19176 cat conftest.err >&5
19177 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19178 (exit $ac_status); } && {
19179 test -z "$ac_cxx_werror_flag" ||
19180 test ! -s conftest.err
19181 } && test -s conftest.$ac_objext; then
19182 bakefile_cv_cxx_compiler___SUNPRO_CC=yes
19184 echo "$as_me: failed program was:" >&5
19185 sed 's/^/| /' conftest.$ac_ext >&5
19187 bakefile_cv_cxx_compiler___SUNPRO_CC=no
19191 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19195 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___SUNPRO_CC" >&5
19196 echo "${ECHO_T}$bakefile_cv_cxx_compiler___SUNPRO_CC" >&6; }
19197 if test "x$bakefile_cv_cxx_compiler___SUNPRO_CC" = "xyes"; then
19203 ac_cpp='$CPP $CPPFLAGS'
19204 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19205 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19206 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19216 if test "$CXX" = "g++" -a "$GXX" != "yes"; then
19217 { { echo "$as_me:$LINENO: error: C++ compiler is needed to build wxWidgets" >&5
19218 echo "$as_me: error: C++ compiler is needed to build wxWidgets" >&2;}
19219 { (exit 1); exit 1; }; }
19222 if test -n "$ac_tool_prefix"; then
19223 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
19224 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
19225 { echo "$as_me:$LINENO: checking for $ac_word" >&5
19226 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
19227 if test "${ac_cv_prog_RANLIB+set}" = set; then
19228 echo $ECHO_N "(cached) $ECHO_C" >&6
19230 if test -n "$RANLIB"; then
19231 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
19233 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19234 for as_dir in $PATH
19237 test -z "$as_dir" && as_dir=.
19238 for ac_exec_ext in '' $ac_executable_extensions; do
19239 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
19240 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
19241 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
19250 RANLIB=$ac_cv_prog_RANLIB
19251 if test -n "$RANLIB"; then
19252 { echo "$as_me:$LINENO: result: $RANLIB" >&5
19253 echo "${ECHO_T}$RANLIB" >&6; }
19255 { echo "$as_me:$LINENO: result: no" >&5
19256 echo "${ECHO_T}no" >&6; }
19261 if test -z "$ac_cv_prog_RANLIB"; then
19262 ac_ct_RANLIB=$RANLIB
19263 # Extract the first word of "ranlib", so it can be a program name with args.
19264 set dummy ranlib; ac_word=$2
19265 { echo "$as_me:$LINENO: checking for $ac_word" >&5
19266 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
19267 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
19268 echo $ECHO_N "(cached) $ECHO_C" >&6
19270 if test -n "$ac_ct_RANLIB"; then
19271 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
19273 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19274 for as_dir in $PATH
19277 test -z "$as_dir" && as_dir=.
19278 for ac_exec_ext in '' $ac_executable_extensions; do
19279 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
19280 ac_cv_prog_ac_ct_RANLIB="ranlib"
19281 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
19290 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
19291 if test -n "$ac_ct_RANLIB"; then
19292 { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
19293 echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
19295 { echo "$as_me:$LINENO: result: no" >&5
19296 echo "${ECHO_T}no" >&6; }
19299 if test "x$ac_ct_RANLIB" = x; then
19302 case $cross_compiling:$ac_tool_warned in
19304 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
19305 whose name does not start with the host triplet. If you think this
19306 configuration is useful to you, please write to autoconf@gnu.org." >&5
19307 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
19308 whose name does not start with the host triplet. If you think this
19309 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
19310 ac_tool_warned=yes ;;
19312 RANLIB=$ac_ct_RANLIB
19315 RANLIB="$ac_cv_prog_RANLIB"
19319 if test "x$SUNCXX" != xyes; then
19320 if test -n "$ac_tool_prefix"; then
19321 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
19322 set dummy ${ac_tool_prefix}ar; ac_word=$2
19323 { echo "$as_me:$LINENO: checking for $ac_word" >&5
19324 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
19325 if test "${ac_cv_prog_AR+set}" = set; then
19326 echo $ECHO_N "(cached) $ECHO_C" >&6
19328 if test -n "$AR"; then
19329 ac_cv_prog_AR="$AR" # Let the user override the test.
19331 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19332 for as_dir in $PATH
19335 test -z "$as_dir" && as_dir=.
19336 for ac_exec_ext in '' $ac_executable_extensions; do
19337 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
19338 ac_cv_prog_AR="${ac_tool_prefix}ar"
19339 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
19349 if test -n "$AR"; then
19350 { echo "$as_me:$LINENO: result: $AR" >&5
19351 echo "${ECHO_T}$AR" >&6; }
19353 { echo "$as_me:$LINENO: result: no" >&5
19354 echo "${ECHO_T}no" >&6; }
19359 if test -z "$ac_cv_prog_AR"; then
19361 # Extract the first word of "ar", so it can be a program name with args.
19362 set dummy ar; ac_word=$2
19363 { echo "$as_me:$LINENO: checking for $ac_word" >&5
19364 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
19365 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
19366 echo $ECHO_N "(cached) $ECHO_C" >&6
19368 if test -n "$ac_ct_AR"; then
19369 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
19371 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19372 for as_dir in $PATH
19375 test -z "$as_dir" && as_dir=.
19376 for ac_exec_ext in '' $ac_executable_extensions; do
19377 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
19378 ac_cv_prog_ac_ct_AR="ar"
19379 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
19388 ac_ct_AR=$ac_cv_prog_ac_ct_AR
19389 if test -n "$ac_ct_AR"; then
19390 { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
19391 echo "${ECHO_T}$ac_ct_AR" >&6; }
19393 { echo "$as_me:$LINENO: result: no" >&5
19394 echo "${ECHO_T}no" >&6; }
19397 if test "x$ac_ct_AR" = x; then
19400 case $cross_compiling:$ac_tool_warned in
19402 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
19403 whose name does not start with the host triplet. If you think this
19404 configuration is useful to you, please write to autoconf@gnu.org." >&5
19405 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
19406 whose name does not start with the host triplet. If you think this
19407 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
19408 ac_tool_warned=yes ;;
19413 AR="$ac_cv_prog_AR"
19416 if test "x$AR" = "x" ; then
19417 { { echo "$as_me:$LINENO: error: ar is needed to build wxWidgets" >&5
19418 echo "$as_me: error: ar is needed to build wxWidgets" >&2;}
19419 { (exit 1); exit 1; }; }
19423 # Find a good install program. We prefer a C program (faster),
19424 # so one script is as good as another. But avoid the broken or
19425 # incompatible versions:
19426 # SysV /etc/install, /usr/sbin/install
19427 # SunOS /usr/etc/install
19428 # IRIX /sbin/install
19430 # AmigaOS /C/install, which installs bootblocks on floppy discs
19431 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
19432 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
19433 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
19434 # OS/2's system install, which has a completely different semantic
19435 # ./install, which can be erroneously created by make from ./install.sh.
19436 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
19437 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
19438 if test -z "$INSTALL"; then
19439 if test "${ac_cv_path_install+set}" = set; then
19440 echo $ECHO_N "(cached) $ECHO_C" >&6
19442 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19443 for as_dir in $PATH
19446 test -z "$as_dir" && as_dir=.
19447 # Account for people who put trailing slashes in PATH elements.
19449 ./ | .// | /cC/* | \
19450 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
19451 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
19454 # OSF1 and SCO ODT 3.0 have their own names for install.
19455 # Don't use installbsd from OSF since it installs stuff as root
19457 for ac_prog in ginstall scoinst install; do
19458 for ac_exec_ext in '' $ac_executable_extensions; do
19459 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
19460 if test $ac_prog = install &&
19461 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
19462 # AIX install. It has an incompatible calling convention.
19464 elif test $ac_prog = install &&
19465 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
19466 # program-specific install script used by HP pwplus--don't use.
19469 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
19482 if test "${ac_cv_path_install+set}" = set; then
19483 INSTALL=$ac_cv_path_install
19485 # As a last resort, use the slow shell script. Don't cache a
19486 # value for INSTALL within a source directory, because that will
19487 # break other packages using the cache if that directory is
19488 # removed, or if the value is a relative name.
19489 INSTALL=$ac_install_sh
19492 { echo "$as_me:$LINENO: result: $INSTALL" >&5
19493 echo "${ECHO_T}$INSTALL" >&6; }
19495 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
19496 # It thinks the first close brace ends the variable substitution.
19497 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
19499 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
19501 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
19507 ?:* ) # Drive letter, considered as absolute.
19510 INSTALL=`pwd`/${INSTALL} ;;
19517 INSTALL_PROGRAM="cp -fp"
19518 INSTALL_DATA="cp -fp"
19524 if test -n "$ac_tool_prefix"; then
19525 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
19526 set dummy ${ac_tool_prefix}strip; ac_word=$2
19527 { echo "$as_me:$LINENO: checking for $ac_word" >&5
19528 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
19529 if test "${ac_cv_prog_STRIP+set}" = set; then
19530 echo $ECHO_N "(cached) $ECHO_C" >&6
19532 if test -n "$STRIP"; then
19533 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
19535 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19536 for as_dir in $PATH
19539 test -z "$as_dir" && as_dir=.
19540 for ac_exec_ext in '' $ac_executable_extensions; do
19541 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
19542 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
19543 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
19552 STRIP=$ac_cv_prog_STRIP
19553 if test -n "$STRIP"; then
19554 { echo "$as_me:$LINENO: result: $STRIP" >&5
19555 echo "${ECHO_T}$STRIP" >&6; }
19557 { echo "$as_me:$LINENO: result: no" >&5
19558 echo "${ECHO_T}no" >&6; }
19563 if test -z "$ac_cv_prog_STRIP"; then
19565 # Extract the first word of "strip", so it can be a program name with args.
19566 set dummy strip; ac_word=$2
19567 { echo "$as_me:$LINENO: checking for $ac_word" >&5
19568 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
19569 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
19570 echo $ECHO_N "(cached) $ECHO_C" >&6
19572 if test -n "$ac_ct_STRIP"; then
19573 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
19575 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19576 for as_dir in $PATH
19579 test -z "$as_dir" && as_dir=.
19580 for ac_exec_ext in '' $ac_executable_extensions; do
19581 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
19582 ac_cv_prog_ac_ct_STRIP="strip"
19583 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
19592 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
19593 if test -n "$ac_ct_STRIP"; then
19594 { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
19595 echo "${ECHO_T}$ac_ct_STRIP" >&6; }
19597 { echo "$as_me:$LINENO: result: no" >&5
19598 echo "${ECHO_T}no" >&6; }
19601 if test "x$ac_ct_STRIP" = x; then
19604 case $cross_compiling:$ac_tool_warned in
19606 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
19607 whose name does not start with the host triplet. If you think this
19608 configuration is useful to you, please write to autoconf@gnu.org." >&5
19609 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
19610 whose name does not start with the host triplet. If you think this
19611 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
19612 ac_tool_warned=yes ;;
19617 STRIP="$ac_cv_prog_STRIP"
19621 if test "$wxUSE_WINE" = "yes"; then
19622 if test -n "$ac_tool_prefix"; then
19623 # Extract the first word of "${ac_tool_prefix}wrc", so it can be a program name with args.
19624 set dummy ${ac_tool_prefix}wrc; ac_word=$2
19625 { echo "$as_me:$LINENO: checking for $ac_word" >&5
19626 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
19627 if test "${ac_cv_prog_WINDRES+set}" = set; then
19628 echo $ECHO_N "(cached) $ECHO_C" >&6
19630 if test -n "$WINDRES"; then
19631 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
19633 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19634 for as_dir in $PATH
19637 test -z "$as_dir" && as_dir=.
19638 for ac_exec_ext in '' $ac_executable_extensions; do
19639 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
19640 ac_cv_prog_WINDRES="${ac_tool_prefix}wrc"
19641 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
19650 WINDRES=$ac_cv_prog_WINDRES
19651 if test -n "$WINDRES"; then
19652 { echo "$as_me:$LINENO: result: $WINDRES" >&5
19653 echo "${ECHO_T}$WINDRES" >&6; }
19655 { echo "$as_me:$LINENO: result: no" >&5
19656 echo "${ECHO_T}no" >&6; }
19661 if test -z "$ac_cv_prog_WINDRES"; then
19662 ac_ct_WINDRES=$WINDRES
19663 # Extract the first word of "wrc", so it can be a program name with args.
19664 set dummy wrc; ac_word=$2
19665 { echo "$as_me:$LINENO: checking for $ac_word" >&5
19666 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
19667 if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then
19668 echo $ECHO_N "(cached) $ECHO_C" >&6
19670 if test -n "$ac_ct_WINDRES"; then
19671 ac_cv_prog_ac_ct_WINDRES="$ac_ct_WINDRES" # Let the user override the test.
19673 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19674 for as_dir in $PATH
19677 test -z "$as_dir" && as_dir=.
19678 for ac_exec_ext in '' $ac_executable_extensions; do
19679 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
19680 ac_cv_prog_ac_ct_WINDRES="wrc"
19681 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
19690 ac_ct_WINDRES=$ac_cv_prog_ac_ct_WINDRES
19691 if test -n "$ac_ct_WINDRES"; then
19692 { echo "$as_me:$LINENO: result: $ac_ct_WINDRES" >&5
19693 echo "${ECHO_T}$ac_ct_WINDRES" >&6; }
19695 { echo "$as_me:$LINENO: result: no" >&5
19696 echo "${ECHO_T}no" >&6; }
19699 if test "x$ac_ct_WINDRES" = x; then
19702 case $cross_compiling:$ac_tool_warned in
19704 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
19705 whose name does not start with the host triplet. If you think this
19706 configuration is useful to you, please write to autoconf@gnu.org." >&5
19707 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
19708 whose name does not start with the host triplet. If you think this
19709 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
19710 ac_tool_warned=yes ;;
19712 WINDRES=$ac_ct_WINDRES
19715 WINDRES="$ac_cv_prog_WINDRES"
19721 *-*-cygwin* | *-*-mingw32* )
19722 if test -n "$ac_tool_prefix"; then
19723 # Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args.
19724 set dummy ${ac_tool_prefix}windres; ac_word=$2
19725 { echo "$as_me:$LINENO: checking for $ac_word" >&5
19726 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
19727 if test "${ac_cv_prog_WINDRES+set}" = set; then
19728 echo $ECHO_N "(cached) $ECHO_C" >&6
19730 if test -n "$WINDRES"; then
19731 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
19733 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19734 for as_dir in $PATH
19737 test -z "$as_dir" && as_dir=.
19738 for ac_exec_ext in '' $ac_executable_extensions; do
19739 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
19740 ac_cv_prog_WINDRES="${ac_tool_prefix}windres"
19741 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
19750 WINDRES=$ac_cv_prog_WINDRES
19751 if test -n "$WINDRES"; then
19752 { echo "$as_me:$LINENO: result: $WINDRES" >&5
19753 echo "${ECHO_T}$WINDRES" >&6; }
19755 { echo "$as_me:$LINENO: result: no" >&5
19756 echo "${ECHO_T}no" >&6; }
19761 if test -z "$ac_cv_prog_WINDRES"; then
19762 ac_ct_WINDRES=$WINDRES
19763 # Extract the first word of "windres", so it can be a program name with args.
19764 set dummy windres; ac_word=$2
19765 { echo "$as_me:$LINENO: checking for $ac_word" >&5
19766 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
19767 if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then
19768 echo $ECHO_N "(cached) $ECHO_C" >&6
19770 if test -n "$ac_ct_WINDRES"; then
19771 ac_cv_prog_ac_ct_WINDRES="$ac_ct_WINDRES" # Let the user override the test.
19773 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19774 for as_dir in $PATH
19777 test -z "$as_dir" && as_dir=.
19778 for ac_exec_ext in '' $ac_executable_extensions; do
19779 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
19780 ac_cv_prog_ac_ct_WINDRES="windres"
19781 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
19790 ac_ct_WINDRES=$ac_cv_prog_ac_ct_WINDRES
19791 if test -n "$ac_ct_WINDRES"; then
19792 { echo "$as_me:$LINENO: result: $ac_ct_WINDRES" >&5
19793 echo "${ECHO_T}$ac_ct_WINDRES" >&6; }
19795 { echo "$as_me:$LINENO: result: no" >&5
19796 echo "${ECHO_T}no" >&6; }
19799 if test "x$ac_ct_WINDRES" = x; then
19802 case $cross_compiling:$ac_tool_warned in
19804 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
19805 whose name does not start with the host triplet. If you think this
19806 configuration is useful to you, please write to autoconf@gnu.org." >&5
19807 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
19808 whose name does not start with the host triplet. If you think this
19809 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
19810 ac_tool_warned=yes ;;
19812 WINDRES=$ac_ct_WINDRES
19815 WINDRES="$ac_cv_prog_WINDRES"
19819 if test -n "$ac_tool_prefix"; then
19820 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
19821 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
19822 { echo "$as_me:$LINENO: checking for $ac_word" >&5
19823 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
19824 if test "${ac_cv_prog_DLLTOOL+set}" = set; then
19825 echo $ECHO_N "(cached) $ECHO_C" >&6
19827 if test -n "$DLLTOOL"; then
19828 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
19830 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19831 for as_dir in $PATH
19834 test -z "$as_dir" && as_dir=.
19835 for ac_exec_ext in '' $ac_executable_extensions; do
19836 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
19837 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
19838 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
19847 DLLTOOL=$ac_cv_prog_DLLTOOL
19848 if test -n "$DLLTOOL"; then
19849 { echo "$as_me:$LINENO: result: $DLLTOOL" >&5
19850 echo "${ECHO_T}$DLLTOOL" >&6; }
19852 { echo "$as_me:$LINENO: result: no" >&5
19853 echo "${ECHO_T}no" >&6; }
19858 if test -z "$ac_cv_prog_DLLTOOL"; then
19859 ac_ct_DLLTOOL=$DLLTOOL
19860 # Extract the first word of "dlltool", so it can be a program name with args.
19861 set dummy dlltool; ac_word=$2
19862 { echo "$as_me:$LINENO: checking for $ac_word" >&5
19863 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
19864 if test "${ac_cv_prog_ac_ct_DLLTOOL+set}" = set; then
19865 echo $ECHO_N "(cached) $ECHO_C" >&6
19867 if test -n "$ac_ct_DLLTOOL"; then
19868 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
19870 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19871 for as_dir in $PATH
19874 test -z "$as_dir" && as_dir=.
19875 for ac_exec_ext in '' $ac_executable_extensions; do
19876 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
19877 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
19878 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
19887 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
19888 if test -n "$ac_ct_DLLTOOL"; then
19889 { echo "$as_me:$LINENO: result: $ac_ct_DLLTOOL" >&5
19890 echo "${ECHO_T}$ac_ct_DLLTOOL" >&6; }
19892 { echo "$as_me:$LINENO: result: no" >&5
19893 echo "${ECHO_T}no" >&6; }
19896 if test "x$ac_ct_DLLTOOL" = x; then
19899 case $cross_compiling:$ac_tool_warned in
19901 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
19902 whose name does not start with the host triplet. If you think this
19903 configuration is useful to you, please write to autoconf@gnu.org." >&5
19904 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
19905 whose name does not start with the host triplet. If you think this
19906 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
19907 ac_tool_warned=yes ;;
19909 DLLTOOL=$ac_ct_DLLTOOL
19912 DLLTOOL="$ac_cv_prog_DLLTOOL"
19919 { echo "$as_me:$LINENO: checking if make is GNU make" >&5
19920 echo $ECHO_N "checking if make is GNU make... $ECHO_C" >&6; }
19921 if test "${wx_cv_prog_makeisgnu+set}" = set; then
19922 echo $ECHO_N "(cached) $ECHO_C" >&6
19925 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev/null |
19926 $EGREP -s GNU > /dev/null); then
19927 wx_cv_prog_makeisgnu="yes"
19929 wx_cv_prog_makeisgnu="no"
19933 { echo "$as_me:$LINENO: result: $wx_cv_prog_makeisgnu" >&5
19934 echo "${ECHO_T}$wx_cv_prog_makeisgnu" >&6; }
19936 if test "x$wx_cv_prog_makeisgnu" = "xyes"; then
19944 if test "x$wx_cv_prog_makeisgnu" != "xyes"; then
19945 { echo "$as_me:$LINENO: checking if make supports VPATH" >&5
19946 echo $ECHO_N "checking if make supports VPATH... $ECHO_C" >&6; }
19947 if test "${wx_cv_prog_makevpath+set}" = set; then
19948 echo $ECHO_N "(cached) $ECHO_C" >&6
19951 cat - << EOF > confMake
19957 if test ! -d sub ; then
19960 echo dummy > sub/file
19961 ${MAKE-make} -f confMake VPATH=sub 2>&5 > /dev/null
19963 rm -f sub/file check final_file confMake
19965 if test "$RESULT" = 0; then
19966 wx_cv_prog_makevpath="yes"
19968 wx_cv_prog_makevpath="no"
19972 { echo "$as_me:$LINENO: result: $wx_cv_prog_makevpath" >&5
19973 echo "${ECHO_T}$wx_cv_prog_makevpath" >&6; }
19975 if test "x$wx_cv_prog_makevpath" != "xyes"; then
19976 { { echo "$as_me:$LINENO: error:
19977 You need a make-utility that is able to use the variable
19979 If your version of make does not support VPATH correctly,
19980 please install GNU-make (possibly as gmake), and start
19981 configure with the following command:
19982 export MAKE=gmake; ./configure for sh-type shells
19983 setenv MAKE gmake; ./configure for csh-type shells
19984 Also please do remember to use gmake in this case every time
19985 you are trying to compile.
19987 echo "$as_me: error:
19988 You need a make-utility that is able to use the variable
19990 If your version of make does not support VPATH correctly,
19991 please install GNU-make (possibly as gmake), and start
19992 configure with the following command:
19993 export MAKE=gmake; ./configure for sh-type shells
19994 setenv MAKE gmake; ./configure for csh-type shells
19995 Also please do remember to use gmake in this case every time
19996 you are trying to compile.
19998 { (exit 1); exit 1; }; }
20000 { echo "$as_me:$LINENO: checking whether ln -s works" >&5
20001 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; }
20003 if test "$LN_S" = "ln -s"; then
20004 { echo "$as_me:$LINENO: result: yes" >&5
20005 echo "${ECHO_T}yes" >&6; }
20007 { echo "$as_me:$LINENO: result: no, using $LN_S" >&5
20008 echo "${ECHO_T}no, using $LN_S" >&6; }
20014 if test "x$XLCXX" = "xyes" -a "x$USE_AIX" = "x1"; then
20015 CXXFLAGS="-qunique $CXXFLAGS"
20019 powerpc-*-darwin* )
20020 { echo "$as_me:$LINENO: checking if __POWERPC__ is already defined" >&5
20021 echo $ECHO_N "checking if __POWERPC__ is already defined... $ECHO_C" >&6; }
20022 cat >conftest.$ac_ext <<_ACEOF
20025 cat confdefs.h >>conftest.$ac_ext
20026 cat >>conftest.$ac_ext <<_ACEOF
20027 /* end confdefs.h. */
20032 #ifndef __POWERPC__
20033 choke me for lack of PowerPC
20040 rm -f conftest.$ac_objext
20041 if { (ac_try="$ac_compile"
20042 case "(($ac_try" in
20043 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
20044 *) ac_try_echo
=$ac_try;;
20046 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20047 (eval "$ac_compile") 2>conftest.er1
20049 grep -v '^ *+' conftest.er1
>conftest.err
20051 cat conftest.err
>&5
20052 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20053 (exit $ac_status); } && {
20054 test -z "$ac_c_werror_flag" ||
20055 test ! -s conftest.err
20056 } && test -s conftest.
$ac_objext; then
20057 { echo "$as_me:$LINENO: result: yes" >&5
20058 echo "${ECHO_T}yes" >&6; }
20060 echo "$as_me: failed program was:" >&5
20061 sed 's/^/| /' conftest.
$ac_ext >&5
20063 { echo "$as_me:$LINENO: result: no" >&5
20064 echo "${ECHO_T}no" >&6; }
20065 cat >>confdefs.h
<<\_ACEOF
20066 #define __POWERPC__ 1
20072 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20078 { echo "$as_me:$LINENO: checking if CoreFoundation/CFBase.h is usable" >&5
20079 echo $ECHO_N "checking if CoreFoundation/CFBase.h is usable... $ECHO_C" >&6; }
20080 cat >conftest.
$ac_ext <<_ACEOF
20083 cat confdefs.h
>>conftest.
$ac_ext
20084 cat >>conftest.
$ac_ext <<_ACEOF
20085 /* end confdefs.h. */
20086 #include <CoreFoundation/CFBase.h>
20096 rm -f conftest.
$ac_objext
20097 if { (ac_try
="$ac_compile"
20098 case "(($ac_try" in
20099 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
20100 *) ac_try_echo=$ac_try;;
20102 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20103 (eval "$ac_compile") 2>conftest.er1
20105 grep -v '^ *+' conftest.er1 >conftest.err
20107 cat conftest.err >&5
20108 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20109 (exit $ac_status); } && {
20110 test -z "$ac_c_werror_flag" ||
20111 test ! -s conftest.err
20112 } && test -s conftest.$ac_objext; then
20113 { echo "$as_me:$LINENO: result: yes" >&5
20114 echo "${ECHO_T}yes" >&6; }
20116 echo "$as_me: failed program was:" >&5
20117 sed 's/^/| /' conftest.$ac_ext >&5
20119 { echo "$as_me:$LINENO: result: no" >&5
20120 echo "${ECHO_T}no" >&6; }
20121 { echo "$as_me:$LINENO: checking if __CF_USE_FRAMEWORK_INCLUDES__ is required" >&5
20122 echo $ECHO_N "checking if __CF_USE_FRAMEWORK_INCLUDES__ is required... $ECHO_C" >&6; }
20123 cat >conftest.$ac_ext <<_ACEOF
20126 cat confdefs.h >>conftest.$ac_ext
20127 cat >>conftest.$ac_ext <<_ACEOF
20128 /* end confdefs.h. */
20129 #define __CF_USE_FRAMEWORK_INCLUDES__
20130 #include <CoreFoundation/CFBase.h>
20140 rm -f conftest.$ac_objext
20141 if { (ac_try="$ac_compile"
20142 case "(($ac_try" in
20143 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
20144 *) ac_try_echo
=$ac_try;;
20146 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20147 (eval "$ac_compile") 2>conftest.er1
20149 grep -v '^ *+' conftest.er1
>conftest.err
20151 cat conftest.err
>&5
20152 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20153 (exit $ac_status); } && {
20154 test -z "$ac_c_werror_flag" ||
20155 test ! -s conftest.err
20156 } && test -s conftest.
$ac_objext; then
20157 { echo "$as_me:$LINENO: result: yes" >&5
20158 echo "${ECHO_T}yes" >&6; }
20159 CPPFLAGS
="-D__CF_USE_FRAMEWORK_INCLUDES__ $CPPFLAGS"
20161 echo "$as_me: failed program was:" >&5
20162 sed 's/^/| /' conftest.
$ac_ext >&5
20164 { { echo "$as_me:$LINENO: error: no. CoreFoundation not available.
20165 See \`config.log' for more details." >&5
20166 echo "$as_me: error: no. CoreFoundation not available.
20167 See \`config.log' for more details." >&2;}
20168 { (exit 1); exit 1; }; }
20172 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20177 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20182 doesnt_want_win32
=0
20185 if test "$wxUSE_MSW" = 1 ; then
20188 { echo "$as_me:$LINENO: checking if -mno-cygwin is in effect" >&5
20189 echo $ECHO_N "checking if -mno-cygwin is in effect... $ECHO_C" >&6; }
20190 if test "${wx_cv_nocygwin+set}" = set; then
20191 echo $ECHO_N "(cached) $ECHO_C" >&6
20194 cat >conftest.
$ac_ext <<_ACEOF
20197 cat confdefs.h
>>conftest.
$ac_ext
20198 cat >>conftest.
$ac_ext <<_ACEOF
20199 /* end confdefs.h. */
20213 rm -f conftest.
$ac_objext
20214 if { (ac_try
="$ac_compile"
20215 case "(($ac_try" in
20216 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
20217 *) ac_try_echo=$ac_try;;
20219 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20220 (eval "$ac_compile") 2>conftest.er1
20222 grep -v '^ *+' conftest.er1 >conftest.err
20224 cat conftest.err >&5
20225 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20226 (exit $ac_status); } && {
20227 test -z "$ac_c_werror_flag" ||
20228 test ! -s conftest.err
20229 } && test -s conftest.$ac_objext; then
20232 echo "$as_me: failed program was:" >&5
20233 sed 's/^/| /' conftest.$ac_ext >&5
20239 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20243 { echo "$as_me:$LINENO: result: $wx_cv_nocygwin" >&5
20244 echo "${ECHO_T}$wx_cv_nocygwin" >&6; }
20246 if test "$wx_cv_nocygwin" = "yes"; then
20249 doesnt_want_win32=1
20252 if test "$wants_win32" = 1 ; then
20253 BAKEFILE_FORCE_PLATFORM=win32
20261 if test "$wxUSE_WINE" = "yes"; then
20263 LDFLAGS_GUI="-mwindows"
20266 if test "$wants_win32" = 1 ; then
20269 cat >>confdefs.h <<\_ACEOF
20270 #define __WIN32__ 1
20273 cat >>confdefs.h <<\_ACEOF
20274 #define __WIN95__ 1
20277 cat >>confdefs.h <<\_ACEOF
20278 #define __WINDOWS__ 1
20281 cat >>confdefs.h <<\_ACEOF
20282 #define __GNUWIN32__ 1
20285 cat >>confdefs.h <<\_ACEOF
20290 if test "$doesnt_want_win32" = 1 ; then
20295 if test "$USE_UNIX" = 1 ; then
20297 cat >>confdefs.h <<\_ACEOF
20304 *-pc-os2_emx | *-pc-os2-emx )
20305 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_GTK" = 1 -o "$wxUSE_X11" = 1; then
20306 { echo "$as_me:$LINENO: checking for drand48 in -lcExt" >&5
20307 echo $ECHO_N "checking for drand48 in -lcExt... $ECHO_C" >&6; }
20308 if test "${ac_cv_lib_cExt_drand48+set}" = set; then
20309 echo $ECHO_N "(cached) $ECHO_C" >&6
20311 ac_check_lib_save_LIBS=$LIBS
20312 LIBS="-lcExt $LIBS"
20313 cat >conftest.$ac_ext <<_ACEOF
20316 cat confdefs.h >>conftest.$ac_ext
20317 cat >>conftest.$ac_ext <<_ACEOF
20318 /* end confdefs.h. */
20320 /* Override any GCC internal prototype to avoid an error.
20321 Use char because int might match the return type of a GCC
20322 builtin and then its argument prototype would still apply. */
20335 rm -f conftest.$ac_objext conftest$ac_exeext
20336 if { (ac_try="$ac_link"
20337 case "(($ac_try" in
20338 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
20339 *) ac_try_echo
=$ac_try;;
20341 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20342 (eval "$ac_link") 2>conftest.er1
20344 grep -v '^ *+' conftest.er1
>conftest.err
20346 cat conftest.err
>&5
20347 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20348 (exit $ac_status); } && {
20349 test -z "$ac_c_werror_flag" ||
20350 test ! -s conftest.err
20351 } && test -s conftest
$ac_exeext &&
20352 $as_test_x conftest
$ac_exeext; then
20353 ac_cv_lib_cExt_drand48
=yes
20355 echo "$as_me: failed program was:" >&5
20356 sed 's/^/| /' conftest.
$ac_ext >&5
20358 ac_cv_lib_cExt_drand48
=no
20361 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
20362 conftest
$ac_exeext conftest.
$ac_ext
20363 LIBS
=$ac_check_lib_save_LIBS
20365 { echo "$as_me:$LINENO: result: $ac_cv_lib_cExt_drand48" >&5
20366 echo "${ECHO_T}$ac_cv_lib_cExt_drand48" >&6; }
20367 if test $ac_cv_lib_cExt_drand48 = yes; then
20368 LIBS
="$LIBS -lcExt"
20372 RESPROGRAMOBJ
="\${top_srcdir}/include/wx/os2/wx.res"
20374 { echo "$as_me:$LINENO: checking for gcc/libc version" >&5
20375 echo $ECHO_N "checking for gcc/libc version... $ECHO_C" >&6; }
20376 if test "${wx_cv_gccversion+set}" = set; then
20377 echo $ECHO_N "(cached) $ECHO_C" >&6
20380 if test "$cross_compiling" = yes; then
20381 wx_cv_gccversion
="EMX2"
20384 cat >conftest.
$ac_ext <<_ACEOF
20387 cat confdefs.h
>>conftest.
$ac_ext
20388 cat >>conftest.
$ac_ext <<_ACEOF
20389 /* end confdefs.h. */
20395 FILE *f=fopen("conftestval", "w");
20400 #elif (__GNUC__==3) && ((__GNUC_MINOR__ < 2) || ((__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__<2)))
20402 #elif (__GNUC__==3) && (__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__==2)
20412 rm -f conftest
$ac_exeext
20413 if { (ac_try
="$ac_link"
20414 case "(($ac_try" in
20415 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
20416 *) ac_try_echo=$ac_try;;
20418 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20419 (eval "$ac_link") 2>&5
20421 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20422 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
20423 { (case "(($ac_try" in
20424 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
20425 *) ac_try_echo
=$ac_try;;
20427 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20428 (eval "$ac_try") 2>&5
20430 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20431 (exit $ac_status); }; }; then
20432 wx_cv_gccversion
=`cat conftestval`
20434 echo "$as_me: program exited with status $ac_status" >&5
20435 echo "$as_me: failed program was:" >&5
20436 sed 's/^/| /' conftest.
$ac_ext >&5
20438 ( exit $ac_status )
20439 wx_cv_gccversion
="EMX2"
20441 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
20447 { echo "$as_me:$LINENO: result: $wx_cv_gccversion" >&5
20448 echo "${ECHO_T}$wx_cv_gccversion" >&6; }
20449 if test "$wx_cv_gccversion" = "EMX2"; then
20450 LIBS
="$LIBS -lstdcpp"
20451 LDFLAGS
="$LDFLAGS -Zsysv-signals"
20453 if test "$wx_cv_gccversion" = "EMX3"; then
20454 LIBS
="$LIBS -lstdcxx -lgcc"
20455 LDFLAGS
="$LDFLAGS -Zsysv-signals"
20457 LIBS
="$LIBS -lstdc++"
20460 if test "$wxUSE_SHARED" = "yes" -a "$wxUSE_OMF" = "no"; then
20461 { echo "$as_me:$LINENO: WARNING: Building DLLs requires OMF mode, enabled" >&5
20462 echo "$as_me: WARNING: Building DLLs requires OMF mode, enabled" >&2;}
20469 { echo "$as_me:$LINENO: checking for strcasecmp() in string.h" >&5
20470 echo $ECHO_N "checking for strcasecmp() in string.h... $ECHO_C" >&6; }
20471 if test "${ac_cv_string_strcasecmp+set}" = set; then
20472 echo $ECHO_N "(cached) $ECHO_C" >&6
20475 cat >conftest.
$ac_ext <<_ACEOF
20478 cat confdefs.h
>>conftest.
$ac_ext
20479 cat >>conftest.
$ac_ext <<_ACEOF
20480 /* end confdefs.h. */
20482 #include <string.h>
20488 strcasecmp("foo", "bar");
20494 rm -f conftest.
$ac_objext conftest
$ac_exeext
20495 if { (ac_try
="$ac_link"
20496 case "(($ac_try" in
20497 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
20498 *) ac_try_echo=$ac_try;;
20500 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20501 (eval "$ac_link") 2>conftest.er1
20503 grep -v '^ *+' conftest.er1 >conftest.err
20505 cat conftest.err >&5
20506 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20507 (exit $ac_status); } && {
20508 test -z "$ac_c_werror_flag" ||
20509 test ! -s conftest.err
20510 } && test -s conftest$ac_exeext &&
20511 $as_test_x conftest$ac_exeext; then
20512 ac_cv_string_strcasecmp=yes
20514 echo "$as_me: failed program was:" >&5
20515 sed 's/^/| /' conftest.$ac_ext >&5
20517 ac_cv_string_strcasecmp=no
20521 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
20522 conftest$ac_exeext conftest.$ac_ext
20525 { echo "$as_me:$LINENO: result: $ac_cv_string_strcasecmp" >&5
20526 echo "${ECHO_T}$ac_cv_string_strcasecmp" >&6; }
20528 if test x"$ac_cv_string_strcasecmp" = "xyes"; then
20529 cat >>confdefs.h <<\_ACEOF
20530 #define HAVE_STRCASECMP_IN_STRING_H 1
20534 { echo "$as_me:$LINENO: checking for strcasecmp() in strings.h" >&5
20535 echo $ECHO_N "checking for strcasecmp() in strings.h... $ECHO_C" >&6; }
20536 if test "${ac_cv_strings_strcasecmp+set}" = set; then
20537 echo $ECHO_N "(cached) $ECHO_C" >&6
20540 cat >conftest.$ac_ext <<_ACEOF
20543 cat confdefs.h >>conftest.$ac_ext
20544 cat >>conftest.$ac_ext <<_ACEOF
20545 /* end confdefs.h. */
20547 #include <strings.h>
20553 strcasecmp("foo", "bar");
20559 rm -f conftest.$ac_objext conftest$ac_exeext
20560 if { (ac_try="$ac_link"
20561 case "(($ac_try" in
20562 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
20563 *) ac_try_echo
=$ac_try;;
20565 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20566 (eval "$ac_link") 2>conftest.er1
20568 grep -v '^ *+' conftest.er1
>conftest.err
20570 cat conftest.err
>&5
20571 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20572 (exit $ac_status); } && {
20573 test -z "$ac_c_werror_flag" ||
20574 test ! -s conftest.err
20575 } && test -s conftest
$ac_exeext &&
20576 $as_test_x conftest
$ac_exeext; then
20577 ac_cv_strings_strcasecmp
=yes
20579 echo "$as_me: failed program was:" >&5
20580 sed 's/^/| /' conftest.
$ac_ext >&5
20582 ac_cv_strings_strcasecmp
=no
20586 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
20587 conftest
$ac_exeext conftest.
$ac_ext
20590 { echo "$as_me:$LINENO: result: $ac_cv_strings_strcasecmp" >&5
20591 echo "${ECHO_T}$ac_cv_strings_strcasecmp" >&6; }
20593 if test x
"$ac_cv_strings_strcasecmp" = "xyes"; then
20594 cat >>confdefs.h
<<\_ACEOF
20595 #define HAVE_STRCASECMP_IN_STRINGS_H 1
20599 { { echo "$as_me:$LINENO: error: No case-insensitive string comparison function found." >&5
20600 echo "$as_me: error: No case-insensitive string comparison function found." >&2;}
20601 { (exit 1); exit 1; }; }
20609 { echo "$as_me:$LINENO: checking for ANSI C header files" >&5
20610 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
20611 if test "${ac_cv_header_stdc+set}" = set; then
20612 echo $ECHO_N "(cached) $ECHO_C" >&6
20614 cat >conftest.
$ac_ext <<_ACEOF
20617 cat confdefs.h
>>conftest.
$ac_ext
20618 cat >>conftest.
$ac_ext <<_ACEOF
20619 /* end confdefs.h. */
20620 #include <stdlib.h>
20621 #include <stdarg.h>
20622 #include <string.h>
20633 rm -f conftest.
$ac_objext
20634 if { (ac_try
="$ac_compile"
20635 case "(($ac_try" in
20636 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
20637 *) ac_try_echo=$ac_try;;
20639 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20640 (eval "$ac_compile") 2>conftest.er1
20642 grep -v '^ *+' conftest.er1 >conftest.err
20644 cat conftest.err >&5
20645 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20646 (exit $ac_status); } && {
20647 test -z "$ac_c_werror_flag" ||
20648 test ! -s conftest.err
20649 } && test -s conftest.$ac_objext; then
20650 ac_cv_header_stdc=yes
20652 echo "$as_me: failed program was:" >&5
20653 sed 's/^/| /' conftest.$ac_ext >&5
20655 ac_cv_header_stdc=no
20658 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20660 if test $ac_cv_header_stdc = yes; then
20661 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
20662 cat >conftest.$ac_ext <<_ACEOF
20665 cat confdefs.h >>conftest.$ac_ext
20666 cat >>conftest.$ac_ext <<_ACEOF
20667 /* end confdefs.h. */
20668 #include <string.h>
20671 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20672 $EGREP "memchr" >/dev/null 2>&1; then
20675 ac_cv_header_stdc=no
20681 if test $ac_cv_header_stdc = yes; then
20682 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
20683 cat >conftest.$ac_ext <<_ACEOF
20686 cat confdefs.h >>conftest.$ac_ext
20687 cat >>conftest.$ac_ext <<_ACEOF
20688 /* end confdefs.h. */
20689 #include <stdlib.h>
20692 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20693 $EGREP "free" >/dev/null 2>&1; then
20696 ac_cv_header_stdc=no
20702 if test $ac_cv_header_stdc = yes; then
20703 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
20704 if test "$cross_compiling" = yes; then
20707 cat >conftest.$ac_ext <<_ACEOF
20710 cat confdefs.h >>conftest.$ac_ext
20711 cat >>conftest.$ac_ext <<_ACEOF
20712 /* end confdefs.h. */
20714 #include <stdlib.h>
20715 #if ((' ' & 0x0FF) == 0x020)
20716 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
20717 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
20719 # define ISLOWER(c) \
20720 (('a' <= (c) && (c) <= 'i') \
20721 || ('j' <= (c) && (c) <= 'r') \
20722 || ('s' <= (c) && (c) <= 'z'))
20723 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
20726 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
20731 for (i = 0; i < 256; i++)
20732 if (XOR (islower (i), ISLOWER (i))
20733 || toupper (i) != TOUPPER (i))
20738 rm -f conftest$ac_exeext
20739 if { (ac_try="$ac_link"
20740 case "(($ac_try" in
20741 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
20742 *) ac_try_echo
=$ac_try;;
20744 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20745 (eval "$ac_link") 2>&5
20747 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20748 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
20749 { (case "(($ac_try" in
20750 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
20751 *) ac_try_echo=$ac_try;;
20753 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20754 (eval "$ac_try") 2>&5
20756 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20757 (exit $ac_status); }; }; then
20760 echo "$as_me: program exited with status $ac_status" >&5
20761 echo "$as_me: failed program was:" >&5
20762 sed 's/^/| /' conftest.$ac_ext >&5
20764 ( exit $ac_status )
20765 ac_cv_header_stdc=no
20767 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20773 { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
20774 echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
20775 if test $ac_cv_header_stdc = yes; then
20777 cat >>confdefs.h <<\_ACEOF
20778 #define STDC_HEADERS 1
20783 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
20793 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
20794 inttypes.h stdint.h unistd.h
20796 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
20797 { echo "$as_me:$LINENO: checking for $ac_header" >&5
20798 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
20799 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
20800 echo $ECHO_N "(cached) $ECHO_C" >&6
20802 cat >conftest.$ac_ext <<_ACEOF
20805 cat confdefs.h >>conftest.$ac_ext
20806 cat >>conftest.$ac_ext <<_ACEOF
20807 /* end confdefs.h. */
20808 $ac_includes_default
20810 #include <$ac_header>
20812 rm -f conftest.$ac_objext
20813 if { (ac_try="$ac_compile"
20814 case "(($ac_try" in
20815 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
20816 *) ac_try_echo
=$ac_try;;
20818 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20819 (eval "$ac_compile") 2>conftest.er1
20821 grep -v '^ *+' conftest.er1
>conftest.err
20823 cat conftest.err
>&5
20824 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20825 (exit $ac_status); } && {
20826 test -z "$ac_c_werror_flag" ||
20827 test ! -s conftest.err
20828 } && test -s conftest.
$ac_objext; then
20829 eval "$as_ac_Header=yes"
20831 echo "$as_me: failed program was:" >&5
20832 sed 's/^/| /' conftest.
$ac_ext >&5
20834 eval "$as_ac_Header=no"
20837 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20839 ac_res
=`eval echo '${'$as_ac_Header'}'`
20840 { echo "$as_me:$LINENO: result: $ac_res" >&5
20841 echo "${ECHO_T}$ac_res" >&6; }
20842 if test `eval echo '${'$as_ac_Header'}'` = yes; then
20843 cat >>confdefs.h
<<_ACEOF
20844 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
20858 for ac_header
in stdlib.h fnmatch.h langinfo.h malloc.h unistd.h wchar.h
20860 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
20861 { echo "$as_me:$LINENO: checking for $ac_header" >&5
20862 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
20863 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
20864 echo $ECHO_N "(cached) $ECHO_C" >&6
20866 cat >conftest.
$ac_ext <<_ACEOF
20869 cat confdefs.h
>>conftest.
$ac_ext
20870 cat >>conftest.
$ac_ext <<_ACEOF
20871 /* end confdefs.h. */
20872 $ac_includes_default
20874 #include <$ac_header>
20876 rm -f conftest.
$ac_objext
20877 if { (ac_try
="$ac_compile"
20878 case "(($ac_try" in
20879 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
20880 *) ac_try_echo=$ac_try;;
20882 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20883 (eval "$ac_compile") 2>conftest.er1
20885 grep -v '^ *+' conftest.er1 >conftest.err
20887 cat conftest.err >&5
20888 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20889 (exit $ac_status); } && {
20890 test -z "$ac_c_werror_flag" ||
20891 test ! -s conftest.err
20892 } && test -s conftest.$ac_objext; then
20893 eval "$as_ac_Header=yes"
20895 echo "$as_me: failed program was:" >&5
20896 sed 's/^/| /' conftest.$ac_ext >&5
20898 eval "$as_ac_Header=no"
20901 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20903 ac_res=`eval echo '${'$as_ac_Header'}'`
20904 { echo "$as_me:$LINENO: result: $ac_res" >&5
20905 echo "${ECHO_T}$ac_res" >&6; }
20906 if test `eval echo '${'$as_ac_Header'}'` = yes; then
20907 cat >>confdefs.h <<_ACEOF
20908 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
20916 if test "$ac_cv_header_wchar_h" != "yes"; then
20917 { echo "$as_me:$LINENO: checking for wcstr.h" >&5
20918 echo $ECHO_N "checking for wcstr.h... $ECHO_C" >&6; }
20919 if test "${ac_cv_header_wcstr_h+set}" = set; then
20920 echo $ECHO_N "(cached) $ECHO_C" >&6
20922 cat >conftest.$ac_ext <<_ACEOF
20925 cat confdefs.h >>conftest.$ac_ext
20926 cat >>conftest.$ac_ext <<_ACEOF
20927 /* end confdefs.h. */
20928 $ac_includes_default
20932 rm -f conftest.$ac_objext
20933 if { (ac_try="$ac_compile"
20934 case "(($ac_try" in
20935 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
20936 *) ac_try_echo
=$ac_try;;
20938 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20939 (eval "$ac_compile") 2>conftest.er1
20941 grep -v '^ *+' conftest.er1
>conftest.err
20943 cat conftest.err
>&5
20944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20945 (exit $ac_status); } && {
20946 test -z "$ac_c_werror_flag" ||
20947 test ! -s conftest.err
20948 } && test -s conftest.
$ac_objext; then
20949 ac_cv_header_wcstr_h
=yes
20951 echo "$as_me: failed program was:" >&5
20952 sed 's/^/| /' conftest.
$ac_ext >&5
20954 ac_cv_header_wcstr_h
=no
20957 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20959 { echo "$as_me:$LINENO: result: $ac_cv_header_wcstr_h" >&5
20960 echo "${ECHO_T}$ac_cv_header_wcstr_h" >&6; }
20966 *-pc-os2_emx | *-pc-os2-emx )
20967 if test $ac_cv_header_langinfo_h = "yes" \
20968 -a \
( "$wx_cv_gccversion" = "EMX2" \
20969 -o "$wx_cv_gccversion" = "EMX3" \
20970 -o "$wx_cv_gccversion" = "Innotek5" \
); then
20971 LIBS
="$LIBS -lintl"
20976 if test "$USE_UNIX" = 1 ; then
20977 { echo "$as_me:$LINENO: checking for sys/select.h" >&5
20978 echo $ECHO_N "checking for sys/select.h... $ECHO_C" >&6; }
20979 if test "${ac_cv_header_sys_select_h+set}" = set; then
20980 echo $ECHO_N "(cached) $ECHO_C" >&6
20982 cat >conftest.
$ac_ext <<_ACEOF
20985 cat confdefs.h
>>conftest.
$ac_ext
20986 cat >>conftest.
$ac_ext <<_ACEOF
20987 /* end confdefs.h. */
20988 $ac_includes_default
20990 #include <sys/select.h>
20992 rm -f conftest.
$ac_objext
20993 if { (ac_try
="$ac_compile"
20994 case "(($ac_try" in
20995 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
20996 *) ac_try_echo=$ac_try;;
20998 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20999 (eval "$ac_compile") 2>conftest.er1
21001 grep -v '^ *+' conftest.er1 >conftest.err
21003 cat conftest.err >&5
21004 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21005 (exit $ac_status); } && {
21006 test -z "$ac_c_werror_flag" ||
21007 test ! -s conftest.err
21008 } && test -s conftest.$ac_objext; then
21009 ac_cv_header_sys_select_h=yes
21011 echo "$as_me: failed program was:" >&5
21012 sed 's/^/| /' conftest.$ac_ext >&5
21014 ac_cv_header_sys_select_h=no
21017 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21019 { echo "$as_me:$LINENO: result: $ac_cv_header_sys_select_h" >&5
21020 echo "${ECHO_T}$ac_cv_header_sys_select_h" >&6; }
21026 for ac_header in sys/epoll.h
21028 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
21029 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
21030 { echo "$as_me:$LINENO: checking for $ac_header" >&5
21031 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
21032 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
21033 echo $ECHO_N "(cached) $ECHO_C" >&6
21035 ac_res=`eval echo '${'$as_ac_Header'}'`
21036 { echo "$as_me:$LINENO: result: $ac_res" >&5
21037 echo "${ECHO_T}$ac_res" >&6; }
21039 # Is the header compilable?
21040 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
21041 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
21042 cat >conftest.$ac_ext <<_ACEOF
21045 cat confdefs.h >>conftest.$ac_ext
21046 cat >>conftest.$ac_ext <<_ACEOF
21047 /* end confdefs.h. */
21048 $ac_includes_default
21049 #include <$ac_header>
21051 rm -f conftest.$ac_objext
21052 if { (ac_try="$ac_compile"
21053 case "(($ac_try" in
21054 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
21055 *) ac_try_echo
=$ac_try;;
21057 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21058 (eval "$ac_compile") 2>conftest.er1
21060 grep -v '^ *+' conftest.er1
>conftest.err
21062 cat conftest.err
>&5
21063 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21064 (exit $ac_status); } && {
21065 test -z "$ac_c_werror_flag" ||
21066 test ! -s conftest.err
21067 } && test -s conftest.
$ac_objext; then
21068 ac_header_compiler
=yes
21070 echo "$as_me: failed program was:" >&5
21071 sed 's/^/| /' conftest.
$ac_ext >&5
21073 ac_header_compiler
=no
21076 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21077 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
21078 echo "${ECHO_T}$ac_header_compiler" >&6; }
21080 # Is the header present?
21081 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
21082 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
21083 cat >conftest.
$ac_ext <<_ACEOF
21086 cat confdefs.h
>>conftest.
$ac_ext
21087 cat >>conftest.
$ac_ext <<_ACEOF
21088 /* end confdefs.h. */
21089 #include <$ac_header>
21091 if { (ac_try
="$ac_cpp conftest.$ac_ext"
21092 case "(($ac_try" in
21093 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
21094 *) ac_try_echo=$ac_try;;
21096 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21097 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
21099 grep -v '^ *+' conftest.er1 >conftest.err
21101 cat conftest.err >&5
21102 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21103 (exit $ac_status); } >/dev/null && {
21104 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
21105 test ! -s conftest.err
21107 ac_header_preproc=yes
21109 echo "$as_me: failed program was:" >&5
21110 sed 's/^/| /' conftest.$ac_ext >&5
21112 ac_header_preproc=no
21115 rm -f conftest.err conftest.$ac_ext
21116 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
21117 echo "${ECHO_T}$ac_header_preproc" >&6; }
21119 # So? What about this header?
21120 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
21122 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
21123 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
21124 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
21125 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
21126 ac_header_preproc=yes
21129 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
21130 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
21131 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
21132 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
21133 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
21134 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
21135 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
21136 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
21137 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
21138 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
21139 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
21140 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
21142 ## ----------------------------------------- ##
21143 ## Report this to wx-dev@lists.wxwidgets.org ##
21144 ## ----------------------------------------- ##
21146 ) | sed "s/^/$as_me: WARNING: /" >&2
21149 { echo "$as_me:$LINENO: checking for $ac_header" >&5
21150 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
21151 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
21152 echo $ECHO_N "(cached) $ECHO_C" >&6
21154 eval "$as_ac_Header=\$ac_header_preproc"
21156 ac_res=`eval echo '${'$as_ac_Header'}'`
21157 { echo "$as_me:$LINENO: result: $ac_res" >&5
21158 echo "${ECHO_T}$ac_res" >&6; }
21161 if test `eval echo '${'$as_ac_Header'}'` = yes; then
21162 cat >>confdefs.h <<_ACEOF
21163 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
21172 { echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
21173 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6; }
21174 if test "${ac_cv_c_const+set}" = set; then
21175 echo $ECHO_N "(cached) $ECHO_C" >&6
21177 cat >conftest.$ac_ext <<_ACEOF
21180 cat confdefs.h >>conftest.$ac_ext
21181 cat >>conftest.$ac_ext <<_ACEOF
21182 /* end confdefs.h. */
21187 /* FIXME: Include the comments suggested by Paul. */
21188 #ifndef __cplusplus
21189 /* Ultrix mips cc rejects this. */
21190 typedef int charset[2];
21192 /* SunOS 4.1.1 cc rejects this. */
21193 char const *const *pcpcc;
21195 /* NEC SVR4.0.2 mips cc rejects this. */
21196 struct point {int x, y;};
21197 static struct point const zero = {0,0};
21198 /* AIX XL C 1.02.0.0 rejects this.
21199 It does not let you subtract one const X* pointer from another in
21200 an arm of an if-expression whose if-part is not a constant
21202 const char *g = "string";
21203 pcpcc = &g + (g ? g-g : 0);
21204 /* HPUX 7.0 cc rejects these. */
21206 ppc = (char**) pcpcc;
21207 pcpcc = (char const *const *) ppc;
21208 { /* SCO 3.2v4 cc rejects this. */
21210 char const *s = 0 ? (char *) 0 : (char const *) 0;
21215 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
21216 int x[] = {25, 17};
21217 const int *foo = &x[0];
21220 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
21221 typedef const int *iptr;
21225 { /* AIX XL C 1.02.0.0 rejects this saying
21226 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
21227 struct s { int j; const int *ap[3]; };
21228 struct s *b; b->j = 5;
21230 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
21231 const int foo = 10;
21232 if (!foo) return 0;
21234 return !cs[0] && !zero.x;
21241 rm -f conftest.$ac_objext
21242 if { (ac_try="$ac_compile"
21243 case "(($ac_try" in
21244 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
21245 *) ac_try_echo
=$ac_try;;
21247 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21248 (eval "$ac_compile") 2>conftest.er1
21250 grep -v '^ *+' conftest.er1
>conftest.err
21252 cat conftest.err
>&5
21253 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21254 (exit $ac_status); } && {
21255 test -z "$ac_c_werror_flag" ||
21256 test ! -s conftest.err
21257 } && test -s conftest.
$ac_objext; then
21260 echo "$as_me: failed program was:" >&5
21261 sed 's/^/| /' conftest.
$ac_ext >&5
21266 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21268 { echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
21269 echo "${ECHO_T}$ac_cv_c_const" >&6; }
21270 if test $ac_cv_c_const = no
; then
21272 cat >>confdefs.h
<<\_ACEOF
21278 { echo "$as_me:$LINENO: checking for inline" >&5
21279 echo $ECHO_N "checking for inline... $ECHO_C" >&6; }
21280 if test "${ac_cv_c_inline+set}" = set; then
21281 echo $ECHO_N "(cached) $ECHO_C" >&6
21284 for ac_kw
in inline __inline__ __inline
; do
21285 cat >conftest.
$ac_ext <<_ACEOF
21288 cat confdefs.h
>>conftest.
$ac_ext
21289 cat >>conftest.
$ac_ext <<_ACEOF
21290 /* end confdefs.h. */
21291 #ifndef __cplusplus
21293 static $ac_kw foo_t static_foo () {return 0; }
21294 $ac_kw foo_t foo () {return 0; }
21298 rm -f conftest.
$ac_objext
21299 if { (ac_try
="$ac_compile"
21300 case "(($ac_try" in
21301 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
21302 *) ac_try_echo=$ac_try;;
21304 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21305 (eval "$ac_compile") 2>conftest.er1
21307 grep -v '^ *+' conftest.er1 >conftest.err
21309 cat conftest.err >&5
21310 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21311 (exit $ac_status); } && {
21312 test -z "$ac_c_werror_flag" ||
21313 test ! -s conftest.err
21314 } && test -s conftest.$ac_objext; then
21315 ac_cv_c_inline=$ac_kw
21317 echo "$as_me: failed program was:" >&5
21318 sed 's/^/| /' conftest.$ac_ext >&5
21323 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21324 test "$ac_cv_c_inline" != no && break
21328 { echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
21329 echo "${ECHO_T}$ac_cv_c_inline" >&6; }
21332 case $ac_cv_c_inline in
21335 case $ac_cv_c_inline in
21337 *) ac_val=$ac_cv_c_inline;;
21339 cat >>confdefs.h <<_ACEOF
21340 #ifndef __cplusplus
21341 #define inline $ac_val
21348 { echo "$as_me:$LINENO: checking for short" >&5
21349 echo $ECHO_N "checking for short... $ECHO_C" >&6; }
21350 if test "${ac_cv_type_short+set}" = set; then
21351 echo $ECHO_N "(cached) $ECHO_C" >&6
21353 cat >conftest.$ac_ext <<_ACEOF
21356 cat confdefs.h >>conftest.$ac_ext
21357 cat >>conftest.$ac_ext <<_ACEOF
21358 /* end confdefs.h. */
21359 $ac_includes_default
21360 typedef short ac__type_new_;
21364 if ((ac__type_new_ *) 0)
21366 if (sizeof (ac__type_new_))
21372 rm -f conftest.$ac_objext
21373 if { (ac_try="$ac_compile"
21374 case "(($ac_try" in
21375 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
21376 *) ac_try_echo
=$ac_try;;
21378 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21379 (eval "$ac_compile") 2>conftest.er1
21381 grep -v '^ *+' conftest.er1
>conftest.err
21383 cat conftest.err
>&5
21384 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21385 (exit $ac_status); } && {
21386 test -z "$ac_c_werror_flag" ||
21387 test ! -s conftest.err
21388 } && test -s conftest.
$ac_objext; then
21389 ac_cv_type_short
=yes
21391 echo "$as_me: failed program was:" >&5
21392 sed 's/^/| /' conftest.
$ac_ext >&5
21394 ac_cv_type_short
=no
21397 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21399 { echo "$as_me:$LINENO: result: $ac_cv_type_short" >&5
21400 echo "${ECHO_T}$ac_cv_type_short" >&6; }
21402 # The cast to long int works around a bug in the HP C Compiler
21403 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
21404 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
21405 # This bug is HP SR number 8606223364.
21406 { echo "$as_me:$LINENO: checking size of short" >&5
21407 echo $ECHO_N "checking size of short... $ECHO_C" >&6; }
21408 if test "${ac_cv_sizeof_short+set}" = set; then
21409 echo $ECHO_N "(cached) $ECHO_C" >&6
21411 if test "$cross_compiling" = yes; then
21412 # Depending upon the size, compute the lo and hi bounds.
21413 cat >conftest.
$ac_ext <<_ACEOF
21416 cat confdefs.h
>>conftest.
$ac_ext
21417 cat >>conftest.
$ac_ext <<_ACEOF
21418 /* end confdefs.h. */
21419 $ac_includes_default
21420 typedef short ac__type_sizeof_;
21424 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
21431 rm -f conftest.
$ac_objext
21432 if { (ac_try
="$ac_compile"
21433 case "(($ac_try" in
21434 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
21435 *) ac_try_echo=$ac_try;;
21437 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21438 (eval "$ac_compile") 2>conftest.er1
21440 grep -v '^ *+' conftest.er1 >conftest.err
21442 cat conftest.err >&5
21443 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21444 (exit $ac_status); } && {
21445 test -z "$ac_c_werror_flag" ||
21446 test ! -s conftest.err
21447 } && test -s conftest.$ac_objext; then
21450 cat >conftest.$ac_ext <<_ACEOF
21453 cat confdefs.h >>conftest.$ac_ext
21454 cat >>conftest.$ac_ext <<_ACEOF
21455 /* end confdefs.h. */
21456 $ac_includes_default
21457 typedef short ac__type_sizeof_;
21461 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21468 rm -f conftest.$ac_objext
21469 if { (ac_try="$ac_compile"
21470 case "(($ac_try" in
21471 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
21472 *) ac_try_echo
=$ac_try;;
21474 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21475 (eval "$ac_compile") 2>conftest.er1
21477 grep -v '^ *+' conftest.er1
>conftest.err
21479 cat conftest.err
>&5
21480 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21481 (exit $ac_status); } && {
21482 test -z "$ac_c_werror_flag" ||
21483 test ! -s conftest.err
21484 } && test -s conftest.
$ac_objext; then
21485 ac_hi
=$ac_mid; break
21487 echo "$as_me: failed program was:" >&5
21488 sed 's/^/| /' conftest.
$ac_ext >&5
21490 ac_lo
=`expr $ac_mid + 1`
21491 if test $ac_lo -le $ac_mid; then
21495 ac_mid
=`expr 2 '*' $ac_mid + 1`
21498 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21501 echo "$as_me: failed program was:" >&5
21502 sed 's/^/| /' conftest.
$ac_ext >&5
21504 cat >conftest.
$ac_ext <<_ACEOF
21507 cat confdefs.h
>>conftest.
$ac_ext
21508 cat >>conftest.
$ac_ext <<_ACEOF
21509 /* end confdefs.h. */
21510 $ac_includes_default
21511 typedef short ac__type_sizeof_;
21515 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
21522 rm -f conftest.
$ac_objext
21523 if { (ac_try
="$ac_compile"
21524 case "(($ac_try" in
21525 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
21526 *) ac_try_echo=$ac_try;;
21528 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21529 (eval "$ac_compile") 2>conftest.er1
21531 grep -v '^ *+' conftest.er1 >conftest.err
21533 cat conftest.err >&5
21534 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21535 (exit $ac_status); } && {
21536 test -z "$ac_c_werror_flag" ||
21537 test ! -s conftest.err
21538 } && test -s conftest.$ac_objext; then
21541 cat >conftest.$ac_ext <<_ACEOF
21544 cat confdefs.h >>conftest.$ac_ext
21545 cat >>conftest.$ac_ext <<_ACEOF
21546 /* end confdefs.h. */
21547 $ac_includes_default
21548 typedef short ac__type_sizeof_;
21552 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
21559 rm -f conftest.$ac_objext
21560 if { (ac_try="$ac_compile"
21561 case "(($ac_try" in
21562 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
21563 *) ac_try_echo
=$ac_try;;
21565 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21566 (eval "$ac_compile") 2>conftest.er1
21568 grep -v '^ *+' conftest.er1
>conftest.err
21570 cat conftest.err
>&5
21571 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21572 (exit $ac_status); } && {
21573 test -z "$ac_c_werror_flag" ||
21574 test ! -s conftest.err
21575 } && test -s conftest.
$ac_objext; then
21576 ac_lo
=$ac_mid; break
21578 echo "$as_me: failed program was:" >&5
21579 sed 's/^/| /' conftest.
$ac_ext >&5
21581 ac_hi
=`expr '(' $ac_mid ')' - 1`
21582 if test $ac_mid -le $ac_hi; then
21586 ac_mid
=`expr 2 '*' $ac_mid`
21589 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21592 echo "$as_me: failed program was:" >&5
21593 sed 's/^/| /' conftest.
$ac_ext >&5
21598 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21601 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21602 # Binary search between lo and hi bounds.
21603 while test "x$ac_lo" != "x$ac_hi"; do
21604 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
21605 cat >conftest.
$ac_ext <<_ACEOF
21608 cat confdefs.h
>>conftest.
$ac_ext
21609 cat >>conftest.
$ac_ext <<_ACEOF
21610 /* end confdefs.h. */
21611 $ac_includes_default
21612 typedef short ac__type_sizeof_;
21616 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21623 rm -f conftest.
$ac_objext
21624 if { (ac_try
="$ac_compile"
21625 case "(($ac_try" in
21626 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
21627 *) ac_try_echo=$ac_try;;
21629 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21630 (eval "$ac_compile") 2>conftest.er1
21632 grep -v '^ *+' conftest.er1 >conftest.err
21634 cat conftest.err >&5
21635 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21636 (exit $ac_status); } && {
21637 test -z "$ac_c_werror_flag" ||
21638 test ! -s conftest.err
21639 } && test -s conftest.$ac_objext; then
21642 echo "$as_me: failed program was:" >&5
21643 sed 's/^/| /' conftest.$ac_ext >&5
21645 ac_lo=`expr '(' $ac_mid ')' + 1`
21648 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21651 ?*) ac_cv_sizeof_short=$ac_lo;;
21652 '') if test "$ac_cv_type_short" = yes; then
21653 { { echo "$as_me:$LINENO: error: cannot compute sizeof (short)
21654 See \`config.log
' for more details." >&5
21655 echo "$as_me: error: cannot compute sizeof (short)
21656 See \`config.log' for more details.
" >&2;}
21657 { (exit 77); exit 77; }; }
21659 ac_cv_sizeof_short=0
21663 cat >conftest.$ac_ext <<_ACEOF
21666 cat confdefs.h >>conftest.$ac_ext
21667 cat >>conftest.$ac_ext <<_ACEOF
21668 /* end confdefs.h. */
21669 $ac_includes_default
21670 typedef short ac__type_sizeof_;
21671 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
21672 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
21674 #include <stdlib.h>
21679 FILE *f = fopen ("conftest.val
", "w
");
21682 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
21684 long int i = longval ();
21685 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21687 fprintf (f, "%ld
\n", i);
21691 unsigned long int i = ulongval ();
21692 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21694 fprintf (f, "%lu
\n", i);
21696 return ferror (f) || fclose (f) != 0;
21702 rm -f conftest$ac_exeext
21703 if { (ac_try="$ac_link"
21704 case "(($ac_try" in
21705 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21706 *) ac_try_echo=$ac_try;;
21708 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
21709 (eval "$ac_link") 2>&5
21711 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
21712 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
21713 { (case "(($ac_try" in
21714 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21715 *) ac_try_echo=$ac_try;;
21717 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
21718 (eval "$ac_try") 2>&5
21720 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
21721 (exit $ac_status); }; }; then
21722 ac_cv_sizeof_short=`cat conftest.val`
21724 echo "$as_me: program exited with status
$ac_status" >&5
21725 echo "$as_me: failed program was
:" >&5
21726 sed 's/^/| /' conftest.$ac_ext >&5
21728 ( exit $ac_status )
21729 if test "$ac_cv_type_short" = yes; then
21730 { { echo "$as_me:$LINENO: error
: cannot compute sizeof
(short
)
21731 See \
`config.log' for more details." >&5
21732 echo "$as_me: error: cannot compute sizeof (short)
21733 See \`config.log
' for more details." >&2;}
21734 { (exit 77); exit 77; }; }
21736 ac_cv_sizeof_short=0
21739 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
21743 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_short" >&5
21744 echo "${ECHO_T}$ac_cv_sizeof_short" >&6; }
21748 cat >>confdefs.h <<_ACEOF
21749 #define SIZEOF_SHORT $ac_cv_sizeof_short
21753 { echo "$as_me:$LINENO: checking for void *" >&5
21754 echo $ECHO_N "checking for void *... $ECHO_C" >&6; }
21755 if test "${ac_cv_type_void_p+set}" = set; then
21756 echo $ECHO_N "(cached) $ECHO_C" >&6
21758 cat >conftest.$ac_ext <<_ACEOF
21761 cat confdefs.h >>conftest.$ac_ext
21762 cat >>conftest.$ac_ext <<_ACEOF
21763 /* end confdefs.h. */
21764 $ac_includes_default
21765 typedef void * ac__type_new_;
21769 if ((ac__type_new_ *) 0)
21771 if (sizeof (ac__type_new_))
21777 rm -f conftest.$ac_objext
21778 if { (ac_try="$ac_compile"
21779 case "(($ac_try" in
21780 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21781 *) ac_try_echo=$ac_try;;
21783 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21784 (eval "$ac_compile") 2>conftest.er1
21786 grep -v '^
*+' conftest.er1 >conftest.err
21788 cat conftest.err >&5
21789 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21790 (exit $ac_status); } && {
21791 test -z "$ac_c_werror_flag" ||
21792 test ! -s conftest.err
21793 } && test -s conftest.$ac_objext; then
21794 ac_cv_type_void_p=yes
21796 echo "$as_me: failed program was:" >&5
21797 sed 's
/^
/| /' conftest.$ac_ext >&5
21799 ac_cv_type_void_p=no
21802 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21804 { echo "$as_me:$LINENO: result: $ac_cv_type_void_p" >&5
21805 echo "${ECHO_T}$ac_cv_type_void_p" >&6; }
21807 # The cast to long int works around a bug in the HP C Compiler
21808 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
21809 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
21810 # This bug is HP SR number 8606223364.
21811 { echo "$as_me:$LINENO: checking size of void *" >&5
21812 echo $ECHO_N "checking size of void *... $ECHO_C" >&6; }
21813 if test "${ac_cv_sizeof_void_p+set}" = set; then
21814 echo $ECHO_N "(cached) $ECHO_C" >&6
21816 if test "$cross_compiling" = yes; then
21817 # Depending upon the size, compute the lo and hi bounds.
21818 cat >conftest.
$ac_ext <<_ACEOF
21821 cat confdefs.h
>>conftest.
$ac_ext
21822 cat >>conftest.
$ac_ext <<_ACEOF
21823 /* end confdefs.h. */
21824 $ac_includes_default
21825 typedef void * ac__type_sizeof_;
21829 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
21836 rm -f conftest.
$ac_objext
21837 if { (ac_try
="$ac_compile"
21838 case "(($ac_try" in
21839 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
21840 *) ac_try_echo=$ac_try;;
21842 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21843 (eval "$ac_compile") 2>conftest.er1
21845 grep -v '^ *+' conftest.er1 >conftest.err
21847 cat conftest.err >&5
21848 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21849 (exit $ac_status); } && {
21850 test -z "$ac_c_werror_flag" ||
21851 test ! -s conftest.err
21852 } && test -s conftest.$ac_objext; then
21855 cat >conftest.$ac_ext <<_ACEOF
21858 cat confdefs.h >>conftest.$ac_ext
21859 cat >>conftest.$ac_ext <<_ACEOF
21860 /* end confdefs.h. */
21861 $ac_includes_default
21862 typedef void * ac__type_sizeof_;
21866 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21873 rm -f conftest.$ac_objext
21874 if { (ac_try="$ac_compile"
21875 case "(($ac_try" in
21876 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
21877 *) ac_try_echo
=$ac_try;;
21879 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21880 (eval "$ac_compile") 2>conftest.er1
21882 grep -v '^ *+' conftest.er1
>conftest.err
21884 cat conftest.err
>&5
21885 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21886 (exit $ac_status); } && {
21887 test -z "$ac_c_werror_flag" ||
21888 test ! -s conftest.err
21889 } && test -s conftest.
$ac_objext; then
21890 ac_hi
=$ac_mid; break
21892 echo "$as_me: failed program was:" >&5
21893 sed 's/^/| /' conftest.
$ac_ext >&5
21895 ac_lo
=`expr $ac_mid + 1`
21896 if test $ac_lo -le $ac_mid; then
21900 ac_mid
=`expr 2 '*' $ac_mid + 1`
21903 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21906 echo "$as_me: failed program was:" >&5
21907 sed 's/^/| /' conftest.
$ac_ext >&5
21909 cat >conftest.
$ac_ext <<_ACEOF
21912 cat confdefs.h
>>conftest.
$ac_ext
21913 cat >>conftest.
$ac_ext <<_ACEOF
21914 /* end confdefs.h. */
21915 $ac_includes_default
21916 typedef void * ac__type_sizeof_;
21920 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
21927 rm -f conftest.
$ac_objext
21928 if { (ac_try
="$ac_compile"
21929 case "(($ac_try" in
21930 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
21931 *) ac_try_echo=$ac_try;;
21933 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21934 (eval "$ac_compile") 2>conftest.er1
21936 grep -v '^ *+' conftest.er1 >conftest.err
21938 cat conftest.err >&5
21939 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21940 (exit $ac_status); } && {
21941 test -z "$ac_c_werror_flag" ||
21942 test ! -s conftest.err
21943 } && test -s conftest.$ac_objext; then
21946 cat >conftest.$ac_ext <<_ACEOF
21949 cat confdefs.h >>conftest.$ac_ext
21950 cat >>conftest.$ac_ext <<_ACEOF
21951 /* end confdefs.h. */
21952 $ac_includes_default
21953 typedef void * ac__type_sizeof_;
21957 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
21964 rm -f conftest.$ac_objext
21965 if { (ac_try="$ac_compile"
21966 case "(($ac_try" in
21967 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
21968 *) ac_try_echo
=$ac_try;;
21970 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21971 (eval "$ac_compile") 2>conftest.er1
21973 grep -v '^ *+' conftest.er1
>conftest.err
21975 cat conftest.err
>&5
21976 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21977 (exit $ac_status); } && {
21978 test -z "$ac_c_werror_flag" ||
21979 test ! -s conftest.err
21980 } && test -s conftest.
$ac_objext; then
21981 ac_lo
=$ac_mid; break
21983 echo "$as_me: failed program was:" >&5
21984 sed 's/^/| /' conftest.
$ac_ext >&5
21986 ac_hi
=`expr '(' $ac_mid ')' - 1`
21987 if test $ac_mid -le $ac_hi; then
21991 ac_mid
=`expr 2 '*' $ac_mid`
21994 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21997 echo "$as_me: failed program was:" >&5
21998 sed 's/^/| /' conftest.
$ac_ext >&5
22003 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
22006 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
22007 # Binary search between lo and hi bounds.
22008 while test "x$ac_lo" != "x$ac_hi"; do
22009 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
22010 cat >conftest.
$ac_ext <<_ACEOF
22013 cat confdefs.h
>>conftest.
$ac_ext
22014 cat >>conftest.
$ac_ext <<_ACEOF
22015 /* end confdefs.h. */
22016 $ac_includes_default
22017 typedef void * ac__type_sizeof_;
22021 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22028 rm -f conftest.
$ac_objext
22029 if { (ac_try
="$ac_compile"
22030 case "(($ac_try" in
22031 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
22032 *) ac_try_echo=$ac_try;;
22034 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22035 (eval "$ac_compile") 2>conftest.er1
22037 grep -v '^ *+' conftest.er1 >conftest.err
22039 cat conftest.err >&5
22040 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22041 (exit $ac_status); } && {
22042 test -z "$ac_c_werror_flag" ||
22043 test ! -s conftest.err
22044 } && test -s conftest.$ac_objext; then
22047 echo "$as_me: failed program was:" >&5
22048 sed 's/^/| /' conftest.$ac_ext >&5
22050 ac_lo=`expr '(' $ac_mid ')' + 1`
22053 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22056 ?*) ac_cv_sizeof_void_p=$ac_lo;;
22057 '') if test "$ac_cv_type_void_p" = yes; then
22058 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *)
22059 See \`config.log
' for more details." >&5
22060 echo "$as_me: error: cannot compute sizeof (void *)
22061 See \`config.log' for more details.
" >&2;}
22062 { (exit 77); exit 77; }; }
22064 ac_cv_sizeof_void_p=0
22068 cat >conftest.$ac_ext <<_ACEOF
22071 cat confdefs.h >>conftest.$ac_ext
22072 cat >>conftest.$ac_ext <<_ACEOF
22073 /* end confdefs.h. */
22074 $ac_includes_default
22075 typedef void * ac__type_sizeof_;
22076 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
22077 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
22079 #include <stdlib.h>
22084 FILE *f = fopen ("conftest.val
", "w
");
22087 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
22089 long int i = longval ();
22090 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22092 fprintf (f, "%ld
\n", i);
22096 unsigned long int i = ulongval ();
22097 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22099 fprintf (f, "%lu
\n", i);
22101 return ferror (f) || fclose (f) != 0;
22107 rm -f conftest$ac_exeext
22108 if { (ac_try="$ac_link"
22109 case "(($ac_try" in
22110 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22111 *) ac_try_echo=$ac_try;;
22113 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
22114 (eval "$ac_link") 2>&5
22116 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
22117 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
22118 { (case "(($ac_try" in
22119 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22120 *) ac_try_echo=$ac_try;;
22122 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
22123 (eval "$ac_try") 2>&5
22125 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
22126 (exit $ac_status); }; }; then
22127 ac_cv_sizeof_void_p=`cat conftest.val`
22129 echo "$as_me: program exited with status
$ac_status" >&5
22130 echo "$as_me: failed program was
:" >&5
22131 sed 's/^/| /' conftest.$ac_ext >&5
22133 ( exit $ac_status )
22134 if test "$ac_cv_type_void_p" = yes; then
22135 { { echo "$as_me:$LINENO: error
: cannot compute sizeof
(void
*)
22136 See \
`config.log' for more details." >&5
22137 echo "$as_me: error: cannot compute sizeof (void *)
22138 See \`config.log
' for more details." >&2;}
22139 { (exit 77); exit 77; }; }
22141 ac_cv_sizeof_void_p=0
22144 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22148 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_void_p" >&5
22149 echo "${ECHO_T}$ac_cv_sizeof_void_p" >&6; }
22153 cat >>confdefs.h <<_ACEOF
22154 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
22158 { echo "$as_me:$LINENO: checking for int" >&5
22159 echo $ECHO_N "checking for int... $ECHO_C" >&6; }
22160 if test "${ac_cv_type_int+set}" = set; then
22161 echo $ECHO_N "(cached) $ECHO_C" >&6
22163 cat >conftest.$ac_ext <<_ACEOF
22166 cat confdefs.h >>conftest.$ac_ext
22167 cat >>conftest.$ac_ext <<_ACEOF
22168 /* end confdefs.h. */
22169 $ac_includes_default
22170 typedef int ac__type_new_;
22174 if ((ac__type_new_ *) 0)
22176 if (sizeof (ac__type_new_))
22182 rm -f conftest.$ac_objext
22183 if { (ac_try="$ac_compile"
22184 case "(($ac_try" in
22185 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22186 *) ac_try_echo=$ac_try;;
22188 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22189 (eval "$ac_compile") 2>conftest.er1
22191 grep -v '^
*+' conftest.er1 >conftest.err
22193 cat conftest.err >&5
22194 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22195 (exit $ac_status); } && {
22196 test -z "$ac_c_werror_flag" ||
22197 test ! -s conftest.err
22198 } && test -s conftest.$ac_objext; then
22201 echo "$as_me: failed program was:" >&5
22202 sed 's
/^
/| /' conftest.$ac_ext >&5
22207 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22209 { echo "$as_me:$LINENO: result: $ac_cv_type_int" >&5
22210 echo "${ECHO_T}$ac_cv_type_int" >&6; }
22212 # The cast to long int works around a bug in the HP C Compiler
22213 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
22214 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
22215 # This bug is HP SR number 8606223364.
22216 { echo "$as_me:$LINENO: checking size of int" >&5
22217 echo $ECHO_N "checking size of int... $ECHO_C" >&6; }
22218 if test "${ac_cv_sizeof_int+set}" = set; then
22219 echo $ECHO_N "(cached) $ECHO_C" >&6
22221 if test "$cross_compiling" = yes; then
22222 # Depending upon the size, compute the lo and hi bounds.
22223 cat >conftest.
$ac_ext <<_ACEOF
22226 cat confdefs.h
>>conftest.
$ac_ext
22227 cat >>conftest.
$ac_ext <<_ACEOF
22228 /* end confdefs.h. */
22229 $ac_includes_default
22230 typedef int ac__type_sizeof_;
22234 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
22241 rm -f conftest.
$ac_objext
22242 if { (ac_try
="$ac_compile"
22243 case "(($ac_try" in
22244 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
22245 *) ac_try_echo=$ac_try;;
22247 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22248 (eval "$ac_compile") 2>conftest.er1
22250 grep -v '^ *+' conftest.er1 >conftest.err
22252 cat conftest.err >&5
22253 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22254 (exit $ac_status); } && {
22255 test -z "$ac_c_werror_flag" ||
22256 test ! -s conftest.err
22257 } && test -s conftest.$ac_objext; then
22260 cat >conftest.$ac_ext <<_ACEOF
22263 cat confdefs.h >>conftest.$ac_ext
22264 cat >>conftest.$ac_ext <<_ACEOF
22265 /* end confdefs.h. */
22266 $ac_includes_default
22267 typedef int ac__type_sizeof_;
22271 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22278 rm -f conftest.$ac_objext
22279 if { (ac_try="$ac_compile"
22280 case "(($ac_try" in
22281 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
22282 *) ac_try_echo
=$ac_try;;
22284 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22285 (eval "$ac_compile") 2>conftest.er1
22287 grep -v '^ *+' conftest.er1
>conftest.err
22289 cat conftest.err
>&5
22290 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22291 (exit $ac_status); } && {
22292 test -z "$ac_c_werror_flag" ||
22293 test ! -s conftest.err
22294 } && test -s conftest.
$ac_objext; then
22295 ac_hi
=$ac_mid; break
22297 echo "$as_me: failed program was:" >&5
22298 sed 's/^/| /' conftest.
$ac_ext >&5
22300 ac_lo
=`expr $ac_mid + 1`
22301 if test $ac_lo -le $ac_mid; then
22305 ac_mid
=`expr 2 '*' $ac_mid + 1`
22308 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
22311 echo "$as_me: failed program was:" >&5
22312 sed 's/^/| /' conftest.
$ac_ext >&5
22314 cat >conftest.
$ac_ext <<_ACEOF
22317 cat confdefs.h
>>conftest.
$ac_ext
22318 cat >>conftest.
$ac_ext <<_ACEOF
22319 /* end confdefs.h. */
22320 $ac_includes_default
22321 typedef int ac__type_sizeof_;
22325 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
22332 rm -f conftest.
$ac_objext
22333 if { (ac_try
="$ac_compile"
22334 case "(($ac_try" in
22335 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
22336 *) ac_try_echo=$ac_try;;
22338 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22339 (eval "$ac_compile") 2>conftest.er1
22341 grep -v '^ *+' conftest.er1 >conftest.err
22343 cat conftest.err >&5
22344 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22345 (exit $ac_status); } && {
22346 test -z "$ac_c_werror_flag" ||
22347 test ! -s conftest.err
22348 } && test -s conftest.$ac_objext; then
22351 cat >conftest.$ac_ext <<_ACEOF
22354 cat confdefs.h >>conftest.$ac_ext
22355 cat >>conftest.$ac_ext <<_ACEOF
22356 /* end confdefs.h. */
22357 $ac_includes_default
22358 typedef int ac__type_sizeof_;
22362 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
22369 rm -f conftest.$ac_objext
22370 if { (ac_try="$ac_compile"
22371 case "(($ac_try" in
22372 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
22373 *) ac_try_echo
=$ac_try;;
22375 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22376 (eval "$ac_compile") 2>conftest.er1
22378 grep -v '^ *+' conftest.er1
>conftest.err
22380 cat conftest.err
>&5
22381 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22382 (exit $ac_status); } && {
22383 test -z "$ac_c_werror_flag" ||
22384 test ! -s conftest.err
22385 } && test -s conftest.
$ac_objext; then
22386 ac_lo
=$ac_mid; break
22388 echo "$as_me: failed program was:" >&5
22389 sed 's/^/| /' conftest.
$ac_ext >&5
22391 ac_hi
=`expr '(' $ac_mid ')' - 1`
22392 if test $ac_mid -le $ac_hi; then
22396 ac_mid
=`expr 2 '*' $ac_mid`
22399 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
22402 echo "$as_me: failed program was:" >&5
22403 sed 's/^/| /' conftest.
$ac_ext >&5
22408 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
22411 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
22412 # Binary search between lo and hi bounds.
22413 while test "x$ac_lo" != "x$ac_hi"; do
22414 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
22415 cat >conftest.
$ac_ext <<_ACEOF
22418 cat confdefs.h
>>conftest.
$ac_ext
22419 cat >>conftest.
$ac_ext <<_ACEOF
22420 /* end confdefs.h. */
22421 $ac_includes_default
22422 typedef int ac__type_sizeof_;
22426 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22433 rm -f conftest.
$ac_objext
22434 if { (ac_try
="$ac_compile"
22435 case "(($ac_try" in
22436 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
22437 *) ac_try_echo=$ac_try;;
22439 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22440 (eval "$ac_compile") 2>conftest.er1
22442 grep -v '^ *+' conftest.er1 >conftest.err
22444 cat conftest.err >&5
22445 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22446 (exit $ac_status); } && {
22447 test -z "$ac_c_werror_flag" ||
22448 test ! -s conftest.err
22449 } && test -s conftest.$ac_objext; then
22452 echo "$as_me: failed program was:" >&5
22453 sed 's/^/| /' conftest.$ac_ext >&5
22455 ac_lo=`expr '(' $ac_mid ')' + 1`
22458 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22461 ?*) ac_cv_sizeof_int=$ac_lo;;
22462 '') if test "$ac_cv_type_int" = yes; then
22463 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int)
22464 See \`config.log
' for more details." >&5
22465 echo "$as_me: error: cannot compute sizeof (int)
22466 See \`config.log' for more details.
" >&2;}
22467 { (exit 77); exit 77; }; }
22473 cat >conftest.$ac_ext <<_ACEOF
22476 cat confdefs.h >>conftest.$ac_ext
22477 cat >>conftest.$ac_ext <<_ACEOF
22478 /* end confdefs.h. */
22479 $ac_includes_default
22480 typedef int ac__type_sizeof_;
22481 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
22482 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
22484 #include <stdlib.h>
22489 FILE *f = fopen ("conftest.val
", "w
");
22492 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
22494 long int i = longval ();
22495 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22497 fprintf (f, "%ld
\n", i);
22501 unsigned long int i = ulongval ();
22502 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22504 fprintf (f, "%lu
\n", i);
22506 return ferror (f) || fclose (f) != 0;
22512 rm -f conftest$ac_exeext
22513 if { (ac_try="$ac_link"
22514 case "(($ac_try" in
22515 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22516 *) ac_try_echo=$ac_try;;
22518 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
22519 (eval "$ac_link") 2>&5
22521 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
22522 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
22523 { (case "(($ac_try" in
22524 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22525 *) ac_try_echo=$ac_try;;
22527 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
22528 (eval "$ac_try") 2>&5
22530 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
22531 (exit $ac_status); }; }; then
22532 ac_cv_sizeof_int=`cat conftest.val`
22534 echo "$as_me: program exited with status
$ac_status" >&5
22535 echo "$as_me: failed program was
:" >&5
22536 sed 's/^/| /' conftest.$ac_ext >&5
22538 ( exit $ac_status )
22539 if test "$ac_cv_type_int" = yes; then
22540 { { echo "$as_me:$LINENO: error
: cannot compute sizeof
(int
)
22541 See \
`config.log' for more details." >&5
22542 echo "$as_me: error: cannot compute sizeof (int)
22543 See \`config.log
' for more details." >&2;}
22544 { (exit 77); exit 77; }; }
22549 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22553 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5
22554 echo "${ECHO_T}$ac_cv_sizeof_int" >&6; }
22558 cat >>confdefs.h <<_ACEOF
22559 #define SIZEOF_INT $ac_cv_sizeof_int
22563 { echo "$as_me:$LINENO: checking for long" >&5
22564 echo $ECHO_N "checking for long... $ECHO_C" >&6; }
22565 if test "${ac_cv_type_long+set}" = set; then
22566 echo $ECHO_N "(cached) $ECHO_C" >&6
22568 cat >conftest.$ac_ext <<_ACEOF
22571 cat confdefs.h >>conftest.$ac_ext
22572 cat >>conftest.$ac_ext <<_ACEOF
22573 /* end confdefs.h. */
22574 $ac_includes_default
22575 typedef long ac__type_new_;
22579 if ((ac__type_new_ *) 0)
22581 if (sizeof (ac__type_new_))
22587 rm -f conftest.$ac_objext
22588 if { (ac_try="$ac_compile"
22589 case "(($ac_try" in
22590 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22591 *) ac_try_echo=$ac_try;;
22593 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22594 (eval "$ac_compile") 2>conftest.er1
22596 grep -v '^
*+' conftest.er1 >conftest.err
22598 cat conftest.err >&5
22599 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22600 (exit $ac_status); } && {
22601 test -z "$ac_c_werror_flag" ||
22602 test ! -s conftest.err
22603 } && test -s conftest.$ac_objext; then
22604 ac_cv_type_long=yes
22606 echo "$as_me: failed program was:" >&5
22607 sed 's
/^
/| /' conftest.$ac_ext >&5
22612 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22614 { echo "$as_me:$LINENO: result: $ac_cv_type_long" >&5
22615 echo "${ECHO_T}$ac_cv_type_long" >&6; }
22617 # The cast to long int works around a bug in the HP C Compiler
22618 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
22619 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
22620 # This bug is HP SR number 8606223364.
22621 { echo "$as_me:$LINENO: checking size of long" >&5
22622 echo $ECHO_N "checking size of long... $ECHO_C" >&6; }
22623 if test "${ac_cv_sizeof_long+set}" = set; then
22624 echo $ECHO_N "(cached) $ECHO_C" >&6
22626 if test "$cross_compiling" = yes; then
22627 # Depending upon the size, compute the lo and hi bounds.
22628 cat >conftest.
$ac_ext <<_ACEOF
22631 cat confdefs.h
>>conftest.
$ac_ext
22632 cat >>conftest.
$ac_ext <<_ACEOF
22633 /* end confdefs.h. */
22634 $ac_includes_default
22635 typedef long ac__type_sizeof_;
22639 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
22646 rm -f conftest.
$ac_objext
22647 if { (ac_try
="$ac_compile"
22648 case "(($ac_try" in
22649 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
22650 *) ac_try_echo=$ac_try;;
22652 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22653 (eval "$ac_compile") 2>conftest.er1
22655 grep -v '^ *+' conftest.er1 >conftest.err
22657 cat conftest.err >&5
22658 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22659 (exit $ac_status); } && {
22660 test -z "$ac_c_werror_flag" ||
22661 test ! -s conftest.err
22662 } && test -s conftest.$ac_objext; then
22665 cat >conftest.$ac_ext <<_ACEOF
22668 cat confdefs.h >>conftest.$ac_ext
22669 cat >>conftest.$ac_ext <<_ACEOF
22670 /* end confdefs.h. */
22671 $ac_includes_default
22672 typedef long ac__type_sizeof_;
22676 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22683 rm -f conftest.$ac_objext
22684 if { (ac_try="$ac_compile"
22685 case "(($ac_try" in
22686 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
22687 *) ac_try_echo
=$ac_try;;
22689 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22690 (eval "$ac_compile") 2>conftest.er1
22692 grep -v '^ *+' conftest.er1
>conftest.err
22694 cat conftest.err
>&5
22695 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22696 (exit $ac_status); } && {
22697 test -z "$ac_c_werror_flag" ||
22698 test ! -s conftest.err
22699 } && test -s conftest.
$ac_objext; then
22700 ac_hi
=$ac_mid; break
22702 echo "$as_me: failed program was:" >&5
22703 sed 's/^/| /' conftest.
$ac_ext >&5
22705 ac_lo
=`expr $ac_mid + 1`
22706 if test $ac_lo -le $ac_mid; then
22710 ac_mid
=`expr 2 '*' $ac_mid + 1`
22713 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
22716 echo "$as_me: failed program was:" >&5
22717 sed 's/^/| /' conftest.
$ac_ext >&5
22719 cat >conftest.
$ac_ext <<_ACEOF
22722 cat confdefs.h
>>conftest.
$ac_ext
22723 cat >>conftest.
$ac_ext <<_ACEOF
22724 /* end confdefs.h. */
22725 $ac_includes_default
22726 typedef long ac__type_sizeof_;
22730 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
22737 rm -f conftest.
$ac_objext
22738 if { (ac_try
="$ac_compile"
22739 case "(($ac_try" in
22740 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
22741 *) ac_try_echo=$ac_try;;
22743 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22744 (eval "$ac_compile") 2>conftest.er1
22746 grep -v '^ *+' conftest.er1 >conftest.err
22748 cat conftest.err >&5
22749 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22750 (exit $ac_status); } && {
22751 test -z "$ac_c_werror_flag" ||
22752 test ! -s conftest.err
22753 } && test -s conftest.$ac_objext; then
22756 cat >conftest.$ac_ext <<_ACEOF
22759 cat confdefs.h >>conftest.$ac_ext
22760 cat >>conftest.$ac_ext <<_ACEOF
22761 /* end confdefs.h. */
22762 $ac_includes_default
22763 typedef long ac__type_sizeof_;
22767 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
22774 rm -f conftest.$ac_objext
22775 if { (ac_try="$ac_compile"
22776 case "(($ac_try" in
22777 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
22778 *) ac_try_echo
=$ac_try;;
22780 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22781 (eval "$ac_compile") 2>conftest.er1
22783 grep -v '^ *+' conftest.er1
>conftest.err
22785 cat conftest.err
>&5
22786 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22787 (exit $ac_status); } && {
22788 test -z "$ac_c_werror_flag" ||
22789 test ! -s conftest.err
22790 } && test -s conftest.
$ac_objext; then
22791 ac_lo
=$ac_mid; break
22793 echo "$as_me: failed program was:" >&5
22794 sed 's/^/| /' conftest.
$ac_ext >&5
22796 ac_hi
=`expr '(' $ac_mid ')' - 1`
22797 if test $ac_mid -le $ac_hi; then
22801 ac_mid
=`expr 2 '*' $ac_mid`
22804 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
22807 echo "$as_me: failed program was:" >&5
22808 sed 's/^/| /' conftest.
$ac_ext >&5
22813 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
22816 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
22817 # Binary search between lo and hi bounds.
22818 while test "x$ac_lo" != "x$ac_hi"; do
22819 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
22820 cat >conftest.
$ac_ext <<_ACEOF
22823 cat confdefs.h
>>conftest.
$ac_ext
22824 cat >>conftest.
$ac_ext <<_ACEOF
22825 /* end confdefs.h. */
22826 $ac_includes_default
22827 typedef long ac__type_sizeof_;
22831 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22838 rm -f conftest.
$ac_objext
22839 if { (ac_try
="$ac_compile"
22840 case "(($ac_try" in
22841 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
22842 *) ac_try_echo=$ac_try;;
22844 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22845 (eval "$ac_compile") 2>conftest.er1
22847 grep -v '^ *+' conftest.er1 >conftest.err
22849 cat conftest.err >&5
22850 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22851 (exit $ac_status); } && {
22852 test -z "$ac_c_werror_flag" ||
22853 test ! -s conftest.err
22854 } && test -s conftest.$ac_objext; then
22857 echo "$as_me: failed program was:" >&5
22858 sed 's/^/| /' conftest.$ac_ext >&5
22860 ac_lo=`expr '(' $ac_mid ')' + 1`
22863 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22866 ?*) ac_cv_sizeof_long=$ac_lo;;
22867 '') if test "$ac_cv_type_long" = yes; then
22868 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long)
22869 See \`config.log
' for more details." >&5
22870 echo "$as_me: error: cannot compute sizeof (long)
22871 See \`config.log' for more details.
" >&2;}
22872 { (exit 77); exit 77; }; }
22874 ac_cv_sizeof_long=0
22878 cat >conftest.$ac_ext <<_ACEOF
22881 cat confdefs.h >>conftest.$ac_ext
22882 cat >>conftest.$ac_ext <<_ACEOF
22883 /* end confdefs.h. */
22884 $ac_includes_default
22885 typedef long ac__type_sizeof_;
22886 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
22887 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
22889 #include <stdlib.h>
22894 FILE *f = fopen ("conftest.val
", "w
");
22897 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
22899 long int i = longval ();
22900 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22902 fprintf (f, "%ld
\n", i);
22906 unsigned long int i = ulongval ();
22907 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22909 fprintf (f, "%lu
\n", i);
22911 return ferror (f) || fclose (f) != 0;
22917 rm -f conftest$ac_exeext
22918 if { (ac_try="$ac_link"
22919 case "(($ac_try" in
22920 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22921 *) ac_try_echo=$ac_try;;
22923 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
22924 (eval "$ac_link") 2>&5
22926 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
22927 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
22928 { (case "(($ac_try" in
22929 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22930 *) ac_try_echo=$ac_try;;
22932 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
22933 (eval "$ac_try") 2>&5
22935 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
22936 (exit $ac_status); }; }; then
22937 ac_cv_sizeof_long=`cat conftest.val`
22939 echo "$as_me: program exited with status
$ac_status" >&5
22940 echo "$as_me: failed program was
:" >&5
22941 sed 's/^/| /' conftest.$ac_ext >&5
22943 ( exit $ac_status )
22944 if test "$ac_cv_type_long" = yes; then
22945 { { echo "$as_me:$LINENO: error
: cannot compute sizeof
(long
)
22946 See \
`config.log' for more details." >&5
22947 echo "$as_me: error: cannot compute sizeof (long)
22948 See \`config.log
' for more details." >&2;}
22949 { (exit 77); exit 77; }; }
22951 ac_cv_sizeof_long=0
22954 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22958 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5
22959 echo "${ECHO_T}$ac_cv_sizeof_long" >&6; }
22963 cat >>confdefs.h <<_ACEOF
22964 #define SIZEOF_LONG $ac_cv_sizeof_long
22968 { echo "$as_me:$LINENO: checking for size_t" >&5
22969 echo $ECHO_N "checking for size_t... $ECHO_C" >&6; }
22970 if test "${ac_cv_type_size_t+set}" = set; then
22971 echo $ECHO_N "(cached) $ECHO_C" >&6
22973 cat >conftest.$ac_ext <<_ACEOF
22976 cat confdefs.h >>conftest.$ac_ext
22977 cat >>conftest.$ac_ext <<_ACEOF
22978 /* end confdefs.h. */
22979 $ac_includes_default
22980 typedef size_t ac__type_new_;
22984 if ((ac__type_new_ *) 0)
22986 if (sizeof (ac__type_new_))
22992 rm -f conftest.$ac_objext
22993 if { (ac_try="$ac_compile"
22994 case "(($ac_try" in
22995 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22996 *) ac_try_echo=$ac_try;;
22998 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22999 (eval "$ac_compile") 2>conftest.er1
23001 grep -v '^
*+' conftest.er1 >conftest.err
23003 cat conftest.err >&5
23004 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23005 (exit $ac_status); } && {
23006 test -z "$ac_c_werror_flag" ||
23007 test ! -s conftest.err
23008 } && test -s conftest.$ac_objext; then
23009 ac_cv_type_size_t=yes
23011 echo "$as_me: failed program was:" >&5
23012 sed 's
/^
/| /' conftest.$ac_ext >&5
23014 ac_cv_type_size_t=no
23017 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23019 { echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
23020 echo "${ECHO_T}$ac_cv_type_size_t" >&6; }
23022 # The cast to long int works around a bug in the HP C Compiler
23023 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
23024 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
23025 # This bug is HP SR number 8606223364.
23026 { echo "$as_me:$LINENO: checking size of size_t" >&5
23027 echo $ECHO_N "checking size of size_t... $ECHO_C" >&6; }
23028 if test "${ac_cv_sizeof_size_t+set}" = set; then
23029 echo $ECHO_N "(cached) $ECHO_C" >&6
23031 if test "$cross_compiling" = yes; then
23032 # Depending upon the size, compute the lo and hi bounds.
23033 cat >conftest.
$ac_ext <<_ACEOF
23036 cat confdefs.h
>>conftest.
$ac_ext
23037 cat >>conftest.
$ac_ext <<_ACEOF
23038 /* end confdefs.h. */
23039 $ac_includes_default
23040 typedef size_t ac__type_sizeof_;
23044 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
23051 rm -f conftest.
$ac_objext
23052 if { (ac_try
="$ac_compile"
23053 case "(($ac_try" in
23054 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
23055 *) ac_try_echo=$ac_try;;
23057 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23058 (eval "$ac_compile") 2>conftest.er1
23060 grep -v '^ *+' conftest.er1 >conftest.err
23062 cat conftest.err >&5
23063 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23064 (exit $ac_status); } && {
23065 test -z "$ac_c_werror_flag" ||
23066 test ! -s conftest.err
23067 } && test -s conftest.$ac_objext; then
23070 cat >conftest.$ac_ext <<_ACEOF
23073 cat confdefs.h >>conftest.$ac_ext
23074 cat >>conftest.$ac_ext <<_ACEOF
23075 /* end confdefs.h. */
23076 $ac_includes_default
23077 typedef size_t ac__type_sizeof_;
23081 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
23088 rm -f conftest.$ac_objext
23089 if { (ac_try="$ac_compile"
23090 case "(($ac_try" in
23091 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
23092 *) ac_try_echo
=$ac_try;;
23094 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23095 (eval "$ac_compile") 2>conftest.er1
23097 grep -v '^ *+' conftest.er1
>conftest.err
23099 cat conftest.err
>&5
23100 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23101 (exit $ac_status); } && {
23102 test -z "$ac_c_werror_flag" ||
23103 test ! -s conftest.err
23104 } && test -s conftest.
$ac_objext; then
23105 ac_hi
=$ac_mid; break
23107 echo "$as_me: failed program was:" >&5
23108 sed 's/^/| /' conftest.
$ac_ext >&5
23110 ac_lo
=`expr $ac_mid + 1`
23111 if test $ac_lo -le $ac_mid; then
23115 ac_mid
=`expr 2 '*' $ac_mid + 1`
23118 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
23121 echo "$as_me: failed program was:" >&5
23122 sed 's/^/| /' conftest.
$ac_ext >&5
23124 cat >conftest.
$ac_ext <<_ACEOF
23127 cat confdefs.h
>>conftest.
$ac_ext
23128 cat >>conftest.
$ac_ext <<_ACEOF
23129 /* end confdefs.h. */
23130 $ac_includes_default
23131 typedef size_t ac__type_sizeof_;
23135 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
23142 rm -f conftest.
$ac_objext
23143 if { (ac_try
="$ac_compile"
23144 case "(($ac_try" in
23145 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
23146 *) ac_try_echo=$ac_try;;
23148 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23149 (eval "$ac_compile") 2>conftest.er1
23151 grep -v '^ *+' conftest.er1 >conftest.err
23153 cat conftest.err >&5
23154 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23155 (exit $ac_status); } && {
23156 test -z "$ac_c_werror_flag" ||
23157 test ! -s conftest.err
23158 } && test -s conftest.$ac_objext; then
23161 cat >conftest.$ac_ext <<_ACEOF
23164 cat confdefs.h >>conftest.$ac_ext
23165 cat >>conftest.$ac_ext <<_ACEOF
23166 /* end confdefs.h. */
23167 $ac_includes_default
23168 typedef size_t ac__type_sizeof_;
23172 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
23179 rm -f conftest.$ac_objext
23180 if { (ac_try="$ac_compile"
23181 case "(($ac_try" in
23182 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
23183 *) ac_try_echo
=$ac_try;;
23185 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23186 (eval "$ac_compile") 2>conftest.er1
23188 grep -v '^ *+' conftest.er1
>conftest.err
23190 cat conftest.err
>&5
23191 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23192 (exit $ac_status); } && {
23193 test -z "$ac_c_werror_flag" ||
23194 test ! -s conftest.err
23195 } && test -s conftest.
$ac_objext; then
23196 ac_lo
=$ac_mid; break
23198 echo "$as_me: failed program was:" >&5
23199 sed 's/^/| /' conftest.
$ac_ext >&5
23201 ac_hi
=`expr '(' $ac_mid ')' - 1`
23202 if test $ac_mid -le $ac_hi; then
23206 ac_mid
=`expr 2 '*' $ac_mid`
23209 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
23212 echo "$as_me: failed program was:" >&5
23213 sed 's/^/| /' conftest.
$ac_ext >&5
23218 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
23221 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
23222 # Binary search between lo and hi bounds.
23223 while test "x$ac_lo" != "x$ac_hi"; do
23224 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
23225 cat >conftest.
$ac_ext <<_ACEOF
23228 cat confdefs.h
>>conftest.
$ac_ext
23229 cat >>conftest.
$ac_ext <<_ACEOF
23230 /* end confdefs.h. */
23231 $ac_includes_default
23232 typedef size_t ac__type_sizeof_;
23236 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
23243 rm -f conftest.
$ac_objext
23244 if { (ac_try
="$ac_compile"
23245 case "(($ac_try" in
23246 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
23247 *) ac_try_echo=$ac_try;;
23249 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23250 (eval "$ac_compile") 2>conftest.er1
23252 grep -v '^ *+' conftest.er1 >conftest.err
23254 cat conftest.err >&5
23255 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23256 (exit $ac_status); } && {
23257 test -z "$ac_c_werror_flag" ||
23258 test ! -s conftest.err
23259 } && test -s conftest.$ac_objext; then
23262 echo "$as_me: failed program was:" >&5
23263 sed 's/^/| /' conftest.$ac_ext >&5
23265 ac_lo=`expr '(' $ac_mid ')' + 1`
23268 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23271 ?*) ac_cv_sizeof_size_t=$ac_lo;;
23272 '') if test "$ac_cv_type_size_t" = yes; then
23273 { { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t)
23274 See \`config.log
' for more details." >&5
23275 echo "$as_me: error: cannot compute sizeof (size_t)
23276 See \`config.log' for more details.
" >&2;}
23277 { (exit 77); exit 77; }; }
23279 ac_cv_sizeof_size_t=0
23283 cat >conftest.$ac_ext <<_ACEOF
23286 cat confdefs.h >>conftest.$ac_ext
23287 cat >>conftest.$ac_ext <<_ACEOF
23288 /* end confdefs.h. */
23289 $ac_includes_default
23290 typedef size_t ac__type_sizeof_;
23291 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
23292 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
23294 #include <stdlib.h>
23299 FILE *f = fopen ("conftest.val
", "w
");
23302 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
23304 long int i = longval ();
23305 if (i != ((long int) (sizeof (ac__type_sizeof_))))
23307 fprintf (f, "%ld
\n", i);
23311 unsigned long int i = ulongval ();
23312 if (i != ((long int) (sizeof (ac__type_sizeof_))))
23314 fprintf (f, "%lu
\n", i);
23316 return ferror (f) || fclose (f) != 0;
23322 rm -f conftest$ac_exeext
23323 if { (ac_try="$ac_link"
23324 case "(($ac_try" in
23325 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23326 *) ac_try_echo=$ac_try;;
23328 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
23329 (eval "$ac_link") 2>&5
23331 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
23332 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
23333 { (case "(($ac_try" in
23334 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23335 *) ac_try_echo=$ac_try;;
23337 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
23338 (eval "$ac_try") 2>&5
23340 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
23341 (exit $ac_status); }; }; then
23342 ac_cv_sizeof_size_t=`cat conftest.val`
23344 echo "$as_me: program exited with status
$ac_status" >&5
23345 echo "$as_me: failed program was
:" >&5
23346 sed 's/^/| /' conftest.$ac_ext >&5
23348 ( exit $ac_status )
23349 if test "$ac_cv_type_size_t" = yes; then
23350 { { echo "$as_me:$LINENO: error
: cannot compute sizeof
(size_t
)
23351 See \
`config.log' for more details." >&5
23352 echo "$as_me: error: cannot compute sizeof (size_t)
23353 See \`config.log
' for more details." >&2;}
23354 { (exit 77); exit 77; }; }
23356 ac_cv_sizeof_size_t=0
23359 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
23363 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_size_t" >&5
23364 echo "${ECHO_T}$ac_cv_sizeof_size_t" >&6; }
23368 cat >>confdefs.h <<_ACEOF
23369 #define SIZEOF_SIZE_T $ac_cv_sizeof_size_t
23376 { echo "$as_me:$LINENO: checking for long long" >&5
23377 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
23378 if test "${ac_cv_type_long_long+set}" = set; then
23379 echo $ECHO_N "(cached) $ECHO_C" >&6
23381 cat >conftest.$ac_ext <<_ACEOF
23384 cat confdefs.h >>conftest.$ac_ext
23385 cat >>conftest.$ac_ext <<_ACEOF
23386 /* end confdefs.h. */
23387 $ac_includes_default
23388 typedef long long ac__type_new_;
23392 if ((ac__type_new_ *) 0)
23394 if (sizeof (ac__type_new_))
23400 rm -f conftest.$ac_objext
23401 if { (ac_try="$ac_compile"
23402 case "(($ac_try" in
23403 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23404 *) ac_try_echo=$ac_try;;
23406 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23407 (eval "$ac_compile") 2>conftest.er1
23409 grep -v '^
*+' conftest.er1 >conftest.err
23411 cat conftest.err >&5
23412 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23413 (exit $ac_status); } && {
23414 test -z "$ac_c_werror_flag" ||
23415 test ! -s conftest.err
23416 } && test -s conftest.$ac_objext; then
23417 ac_cv_type_long_long=yes
23419 echo "$as_me: failed program was:" >&5
23420 sed 's
/^
/| /' conftest.$ac_ext >&5
23422 ac_cv_type_long_long=no
23425 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23427 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
23428 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
23430 # The cast to long int works around a bug in the HP C Compiler
23431 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
23432 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
23433 # This bug is HP SR number 8606223364.
23434 { echo "$as_me:$LINENO: checking size of long long" >&5
23435 echo $ECHO_N "checking size of long long... $ECHO_C" >&6; }
23436 if test "${ac_cv_sizeof_long_long+set}" = set; then
23437 echo $ECHO_N "(cached) $ECHO_C" >&6
23439 if test "$cross_compiling" = yes; then
23440 # Depending upon the size, compute the lo and hi bounds.
23441 cat >conftest.
$ac_ext <<_ACEOF
23444 cat confdefs.h
>>conftest.
$ac_ext
23445 cat >>conftest.
$ac_ext <<_ACEOF
23446 /* end confdefs.h. */
23447 $ac_includes_default
23448 typedef long long ac__type_sizeof_;
23452 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
23459 rm -f conftest.
$ac_objext
23460 if { (ac_try
="$ac_compile"
23461 case "(($ac_try" in
23462 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
23463 *) ac_try_echo=$ac_try;;
23465 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23466 (eval "$ac_compile") 2>conftest.er1
23468 grep -v '^ *+' conftest.er1 >conftest.err
23470 cat conftest.err >&5
23471 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23472 (exit $ac_status); } && {
23473 test -z "$ac_c_werror_flag" ||
23474 test ! -s conftest.err
23475 } && test -s conftest.$ac_objext; then
23478 cat >conftest.$ac_ext <<_ACEOF
23481 cat confdefs.h >>conftest.$ac_ext
23482 cat >>conftest.$ac_ext <<_ACEOF
23483 /* end confdefs.h. */
23484 $ac_includes_default
23485 typedef long long ac__type_sizeof_;
23489 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
23496 rm -f conftest.$ac_objext
23497 if { (ac_try="$ac_compile"
23498 case "(($ac_try" in
23499 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
23500 *) ac_try_echo
=$ac_try;;
23502 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23503 (eval "$ac_compile") 2>conftest.er1
23505 grep -v '^ *+' conftest.er1
>conftest.err
23507 cat conftest.err
>&5
23508 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23509 (exit $ac_status); } && {
23510 test -z "$ac_c_werror_flag" ||
23511 test ! -s conftest.err
23512 } && test -s conftest.
$ac_objext; then
23513 ac_hi
=$ac_mid; break
23515 echo "$as_me: failed program was:" >&5
23516 sed 's/^/| /' conftest.
$ac_ext >&5
23518 ac_lo
=`expr $ac_mid + 1`
23519 if test $ac_lo -le $ac_mid; then
23523 ac_mid
=`expr 2 '*' $ac_mid + 1`
23526 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
23529 echo "$as_me: failed program was:" >&5
23530 sed 's/^/| /' conftest.
$ac_ext >&5
23532 cat >conftest.
$ac_ext <<_ACEOF
23535 cat confdefs.h
>>conftest.
$ac_ext
23536 cat >>conftest.
$ac_ext <<_ACEOF
23537 /* end confdefs.h. */
23538 $ac_includes_default
23539 typedef long long ac__type_sizeof_;
23543 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
23550 rm -f conftest.
$ac_objext
23551 if { (ac_try
="$ac_compile"
23552 case "(($ac_try" in
23553 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
23554 *) ac_try_echo=$ac_try;;
23556 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23557 (eval "$ac_compile") 2>conftest.er1
23559 grep -v '^ *+' conftest.er1 >conftest.err
23561 cat conftest.err >&5
23562 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23563 (exit $ac_status); } && {
23564 test -z "$ac_c_werror_flag" ||
23565 test ! -s conftest.err
23566 } && test -s conftest.$ac_objext; then
23569 cat >conftest.$ac_ext <<_ACEOF
23572 cat confdefs.h >>conftest.$ac_ext
23573 cat >>conftest.$ac_ext <<_ACEOF
23574 /* end confdefs.h. */
23575 $ac_includes_default
23576 typedef long long ac__type_sizeof_;
23580 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
23587 rm -f conftest.$ac_objext
23588 if { (ac_try="$ac_compile"
23589 case "(($ac_try" in
23590 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
23591 *) ac_try_echo
=$ac_try;;
23593 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23594 (eval "$ac_compile") 2>conftest.er1
23596 grep -v '^ *+' conftest.er1
>conftest.err
23598 cat conftest.err
>&5
23599 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23600 (exit $ac_status); } && {
23601 test -z "$ac_c_werror_flag" ||
23602 test ! -s conftest.err
23603 } && test -s conftest.
$ac_objext; then
23604 ac_lo
=$ac_mid; break
23606 echo "$as_me: failed program was:" >&5
23607 sed 's/^/| /' conftest.
$ac_ext >&5
23609 ac_hi
=`expr '(' $ac_mid ')' - 1`
23610 if test $ac_mid -le $ac_hi; then
23614 ac_mid
=`expr 2 '*' $ac_mid`
23617 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
23620 echo "$as_me: failed program was:" >&5
23621 sed 's/^/| /' conftest.
$ac_ext >&5
23626 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
23629 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
23630 # Binary search between lo and hi bounds.
23631 while test "x$ac_lo" != "x$ac_hi"; do
23632 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
23633 cat >conftest.
$ac_ext <<_ACEOF
23636 cat confdefs.h
>>conftest.
$ac_ext
23637 cat >>conftest.
$ac_ext <<_ACEOF
23638 /* end confdefs.h. */
23639 $ac_includes_default
23640 typedef long long ac__type_sizeof_;
23644 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
23651 rm -f conftest.
$ac_objext
23652 if { (ac_try
="$ac_compile"
23653 case "(($ac_try" in
23654 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
23655 *) ac_try_echo=$ac_try;;
23657 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23658 (eval "$ac_compile") 2>conftest.er1
23660 grep -v '^ *+' conftest.er1 >conftest.err
23662 cat conftest.err >&5
23663 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23664 (exit $ac_status); } && {
23665 test -z "$ac_c_werror_flag" ||
23666 test ! -s conftest.err
23667 } && test -s conftest.$ac_objext; then
23670 echo "$as_me: failed program was:" >&5
23671 sed 's/^/| /' conftest.$ac_ext >&5
23673 ac_lo=`expr '(' $ac_mid ')' + 1`
23676 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23679 ?*) ac_cv_sizeof_long_long=$ac_lo;;
23680 '') if test "$ac_cv_type_long_long" = yes; then
23681 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
23682 See \`config.log
' for more details." >&5
23683 echo "$as_me: error: cannot compute sizeof (long long)
23684 See \`config.log' for more details.
" >&2;}
23685 { (exit 77); exit 77; }; }
23687 ac_cv_sizeof_long_long=0
23691 cat >conftest.$ac_ext <<_ACEOF
23694 cat confdefs.h >>conftest.$ac_ext
23695 cat >>conftest.$ac_ext <<_ACEOF
23696 /* end confdefs.h. */
23697 $ac_includes_default
23698 typedef long long ac__type_sizeof_;
23699 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
23700 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
23702 #include <stdlib.h>
23707 FILE *f = fopen ("conftest.val
", "w
");
23710 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
23712 long int i = longval ();
23713 if (i != ((long int) (sizeof (ac__type_sizeof_))))
23715 fprintf (f, "%ld
\n", i);
23719 unsigned long int i = ulongval ();
23720 if (i != ((long int) (sizeof (ac__type_sizeof_))))
23722 fprintf (f, "%lu
\n", i);
23724 return ferror (f) || fclose (f) != 0;
23730 rm -f conftest$ac_exeext
23731 if { (ac_try="$ac_link"
23732 case "(($ac_try" in
23733 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23734 *) ac_try_echo=$ac_try;;
23736 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
23737 (eval "$ac_link") 2>&5
23739 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
23740 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
23741 { (case "(($ac_try" in
23742 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23743 *) ac_try_echo=$ac_try;;
23745 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
23746 (eval "$ac_try") 2>&5
23748 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
23749 (exit $ac_status); }; }; then
23750 ac_cv_sizeof_long_long=`cat conftest.val`
23752 echo "$as_me: program exited with status
$ac_status" >&5
23753 echo "$as_me: failed program was
:" >&5
23754 sed 's/^/| /' conftest.$ac_ext >&5
23756 ( exit $ac_status )
23757 if test "$ac_cv_type_long_long" = yes; then
23758 { { echo "$as_me:$LINENO: error
: cannot compute sizeof
(long long
)
23759 See \
`config.log' for more details." >&5
23760 echo "$as_me: error: cannot compute sizeof (long long)
23761 See \`config.log
' for more details." >&2;}
23762 { (exit 77); exit 77; }; }
23764 ac_cv_sizeof_long_long=0
23767 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
23771 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
23772 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6; }
23776 cat >>confdefs.h <<_ACEOF
23777 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
23783 { echo "$as_me:$LINENO: checking for long long" >&5
23784 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
23785 if test "${ac_cv_type_long_long+set}" = set; then
23786 echo $ECHO_N "(cached) $ECHO_C" >&6
23788 cat >conftest.$ac_ext <<_ACEOF
23791 cat confdefs.h >>conftest.$ac_ext
23792 cat >>conftest.$ac_ext <<_ACEOF
23793 /* end confdefs.h. */
23794 $ac_includes_default
23795 typedef long long ac__type_new_;
23799 if ((ac__type_new_ *) 0)
23801 if (sizeof (ac__type_new_))
23807 rm -f conftest.$ac_objext
23808 if { (ac_try="$ac_compile"
23809 case "(($ac_try" in
23810 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23811 *) ac_try_echo=$ac_try;;
23813 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23814 (eval "$ac_compile") 2>conftest.er1
23816 grep -v '^
*+' conftest.er1 >conftest.err
23818 cat conftest.err >&5
23819 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23820 (exit $ac_status); } && {
23821 test -z "$ac_c_werror_flag" ||
23822 test ! -s conftest.err
23823 } && test -s conftest.$ac_objext; then
23824 ac_cv_type_long_long=yes
23826 echo "$as_me: failed program was:" >&5
23827 sed 's
/^
/| /' conftest.$ac_ext >&5
23829 ac_cv_type_long_long=no
23832 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23834 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
23835 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
23837 # The cast to long int works around a bug in the HP C Compiler
23838 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
23839 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
23840 # This bug is HP SR number 8606223364.
23841 { echo "$as_me:$LINENO: checking size of long long" >&5
23842 echo $ECHO_N "checking size of long long... $ECHO_C" >&6; }
23843 if test "${ac_cv_sizeof_long_long+set}" = set; then
23844 echo $ECHO_N "(cached) $ECHO_C" >&6
23846 if test "$cross_compiling" = yes; then
23847 # Depending upon the size, compute the lo and hi bounds.
23848 cat >conftest.
$ac_ext <<_ACEOF
23851 cat confdefs.h
>>conftest.
$ac_ext
23852 cat >>conftest.
$ac_ext <<_ACEOF
23853 /* end confdefs.h. */
23854 $ac_includes_default
23855 typedef long long ac__type_sizeof_;
23859 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
23866 rm -f conftest.
$ac_objext
23867 if { (ac_try
="$ac_compile"
23868 case "(($ac_try" in
23869 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
23870 *) ac_try_echo=$ac_try;;
23872 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23873 (eval "$ac_compile") 2>conftest.er1
23875 grep -v '^ *+' conftest.er1 >conftest.err
23877 cat conftest.err >&5
23878 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23879 (exit $ac_status); } && {
23880 test -z "$ac_c_werror_flag" ||
23881 test ! -s conftest.err
23882 } && test -s conftest.$ac_objext; then
23885 cat >conftest.$ac_ext <<_ACEOF
23888 cat confdefs.h >>conftest.$ac_ext
23889 cat >>conftest.$ac_ext <<_ACEOF
23890 /* end confdefs.h. */
23891 $ac_includes_default
23892 typedef long long ac__type_sizeof_;
23896 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
23903 rm -f conftest.$ac_objext
23904 if { (ac_try="$ac_compile"
23905 case "(($ac_try" in
23906 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
23907 *) ac_try_echo
=$ac_try;;
23909 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23910 (eval "$ac_compile") 2>conftest.er1
23912 grep -v '^ *+' conftest.er1
>conftest.err
23914 cat conftest.err
>&5
23915 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23916 (exit $ac_status); } && {
23917 test -z "$ac_c_werror_flag" ||
23918 test ! -s conftest.err
23919 } && test -s conftest.
$ac_objext; then
23920 ac_hi
=$ac_mid; break
23922 echo "$as_me: failed program was:" >&5
23923 sed 's/^/| /' conftest.
$ac_ext >&5
23925 ac_lo
=`expr $ac_mid + 1`
23926 if test $ac_lo -le $ac_mid; then
23930 ac_mid
=`expr 2 '*' $ac_mid + 1`
23933 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
23936 echo "$as_me: failed program was:" >&5
23937 sed 's/^/| /' conftest.
$ac_ext >&5
23939 cat >conftest.
$ac_ext <<_ACEOF
23942 cat confdefs.h
>>conftest.
$ac_ext
23943 cat >>conftest.
$ac_ext <<_ACEOF
23944 /* end confdefs.h. */
23945 $ac_includes_default
23946 typedef long long ac__type_sizeof_;
23950 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
23957 rm -f conftest.
$ac_objext
23958 if { (ac_try
="$ac_compile"
23959 case "(($ac_try" in
23960 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
23961 *) ac_try_echo=$ac_try;;
23963 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23964 (eval "$ac_compile") 2>conftest.er1
23966 grep -v '^ *+' conftest.er1 >conftest.err
23968 cat conftest.err >&5
23969 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23970 (exit $ac_status); } && {
23971 test -z "$ac_c_werror_flag" ||
23972 test ! -s conftest.err
23973 } && test -s conftest.$ac_objext; then
23976 cat >conftest.$ac_ext <<_ACEOF
23979 cat confdefs.h >>conftest.$ac_ext
23980 cat >>conftest.$ac_ext <<_ACEOF
23981 /* end confdefs.h. */
23982 $ac_includes_default
23983 typedef long long ac__type_sizeof_;
23987 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
23994 rm -f conftest.$ac_objext
23995 if { (ac_try="$ac_compile"
23996 case "(($ac_try" in
23997 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
23998 *) ac_try_echo
=$ac_try;;
24000 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24001 (eval "$ac_compile") 2>conftest.er1
24003 grep -v '^ *+' conftest.er1
>conftest.err
24005 cat conftest.err
>&5
24006 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24007 (exit $ac_status); } && {
24008 test -z "$ac_c_werror_flag" ||
24009 test ! -s conftest.err
24010 } && test -s conftest.
$ac_objext; then
24011 ac_lo
=$ac_mid; break
24013 echo "$as_me: failed program was:" >&5
24014 sed 's/^/| /' conftest.
$ac_ext >&5
24016 ac_hi
=`expr '(' $ac_mid ')' - 1`
24017 if test $ac_mid -le $ac_hi; then
24021 ac_mid
=`expr 2 '*' $ac_mid`
24024 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
24027 echo "$as_me: failed program was:" >&5
24028 sed 's/^/| /' conftest.
$ac_ext >&5
24033 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
24036 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
24037 # Binary search between lo and hi bounds.
24038 while test "x$ac_lo" != "x$ac_hi"; do
24039 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
24040 cat >conftest.
$ac_ext <<_ACEOF
24043 cat confdefs.h
>>conftest.
$ac_ext
24044 cat >>conftest.
$ac_ext <<_ACEOF
24045 /* end confdefs.h. */
24046 $ac_includes_default
24047 typedef long long ac__type_sizeof_;
24051 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
24058 rm -f conftest.
$ac_objext
24059 if { (ac_try
="$ac_compile"
24060 case "(($ac_try" in
24061 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
24062 *) ac_try_echo=$ac_try;;
24064 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24065 (eval "$ac_compile") 2>conftest.er1
24067 grep -v '^ *+' conftest.er1 >conftest.err
24069 cat conftest.err >&5
24070 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24071 (exit $ac_status); } && {
24072 test -z "$ac_c_werror_flag" ||
24073 test ! -s conftest.err
24074 } && test -s conftest.$ac_objext; then
24077 echo "$as_me: failed program was:" >&5
24078 sed 's/^/| /' conftest.$ac_ext >&5
24080 ac_lo=`expr '(' $ac_mid ')' + 1`
24083 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24086 ?*) ac_cv_sizeof_long_long=$ac_lo;;
24087 '') if test "$ac_cv_type_long_long" = yes; then
24088 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
24089 See \`config.log
' for more details." >&5
24090 echo "$as_me: error: cannot compute sizeof (long long)
24091 See \`config.log' for more details.
" >&2;}
24092 { (exit 77); exit 77; }; }
24094 ac_cv_sizeof_long_long=0
24098 cat >conftest.$ac_ext <<_ACEOF
24101 cat confdefs.h >>conftest.$ac_ext
24102 cat >>conftest.$ac_ext <<_ACEOF
24103 /* end confdefs.h. */
24104 $ac_includes_default
24105 typedef long long ac__type_sizeof_;
24106 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
24107 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
24109 #include <stdlib.h>
24114 FILE *f = fopen ("conftest.val
", "w
");
24117 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
24119 long int i = longval ();
24120 if (i != ((long int) (sizeof (ac__type_sizeof_))))
24122 fprintf (f, "%ld
\n", i);
24126 unsigned long int i = ulongval ();
24127 if (i != ((long int) (sizeof (ac__type_sizeof_))))
24129 fprintf (f, "%lu
\n", i);
24131 return ferror (f) || fclose (f) != 0;
24137 rm -f conftest$ac_exeext
24138 if { (ac_try="$ac_link"
24139 case "(($ac_try" in
24140 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24141 *) ac_try_echo=$ac_try;;
24143 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
24144 (eval "$ac_link") 2>&5
24146 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
24147 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
24148 { (case "(($ac_try" in
24149 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24150 *) ac_try_echo=$ac_try;;
24152 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
24153 (eval "$ac_try") 2>&5
24155 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
24156 (exit $ac_status); }; }; then
24157 ac_cv_sizeof_long_long=`cat conftest.val`
24159 echo "$as_me: program exited with status
$ac_status" >&5
24160 echo "$as_me: failed program was
:" >&5
24161 sed 's/^/| /' conftest.$ac_ext >&5
24163 ( exit $ac_status )
24164 if test "$ac_cv_type_long_long" = yes; then
24165 { { echo "$as_me:$LINENO: error
: cannot compute sizeof
(long long
)
24166 See \
`config.log' for more details." >&5
24167 echo "$as_me: error: cannot compute sizeof (long long)
24168 See \`config.log
' for more details." >&2;}
24169 { (exit 77); exit 77; }; }
24171 ac_cv_sizeof_long_long=0
24174 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
24178 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
24179 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6; }
24183 cat >>confdefs.h <<_ACEOF
24184 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
24188 if test "$ac_cv_sizeof_long_long" != "0"; then
24189 CPPFLAGS="-D_INCLUDE_LONGLONG $CPPFLAGS"
24193 { echo "$as_me:$LINENO: checking for long long" >&5
24194 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
24195 if test "${ac_cv_type_long_long+set}" = set; then
24196 echo $ECHO_N "(cached) $ECHO_C" >&6
24198 cat >conftest.$ac_ext <<_ACEOF
24201 cat confdefs.h >>conftest.$ac_ext
24202 cat >>conftest.$ac_ext <<_ACEOF
24203 /* end confdefs.h. */
24204 $ac_includes_default
24205 typedef long long ac__type_new_;
24209 if ((ac__type_new_ *) 0)
24211 if (sizeof (ac__type_new_))
24217 rm -f conftest.$ac_objext
24218 if { (ac_try="$ac_compile"
24219 case "(($ac_try" in
24220 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24221 *) ac_try_echo=$ac_try;;
24223 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24224 (eval "$ac_compile") 2>conftest.er1
24226 grep -v '^
*+' conftest.er1 >conftest.err
24228 cat conftest.err >&5
24229 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24230 (exit $ac_status); } && {
24231 test -z "$ac_c_werror_flag" ||
24232 test ! -s conftest.err
24233 } && test -s conftest.$ac_objext; then
24234 ac_cv_type_long_long=yes
24236 echo "$as_me: failed program was:" >&5
24237 sed 's
/^
/| /' conftest.$ac_ext >&5
24239 ac_cv_type_long_long=no
24242 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24244 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
24245 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
24247 # The cast to long int works around a bug in the HP C Compiler
24248 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
24249 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
24250 # This bug is HP SR number 8606223364.
24251 { echo "$as_me:$LINENO: checking size of long long" >&5
24252 echo $ECHO_N "checking size of long long... $ECHO_C" >&6; }
24253 if test "${ac_cv_sizeof_long_long+set}" = set; then
24254 echo $ECHO_N "(cached) $ECHO_C" >&6
24256 if test "$cross_compiling" = yes; then
24257 # Depending upon the size, compute the lo and hi bounds.
24258 cat >conftest.
$ac_ext <<_ACEOF
24261 cat confdefs.h
>>conftest.
$ac_ext
24262 cat >>conftest.
$ac_ext <<_ACEOF
24263 /* end confdefs.h. */
24264 $ac_includes_default
24265 typedef long long ac__type_sizeof_;
24269 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
24276 rm -f conftest.
$ac_objext
24277 if { (ac_try
="$ac_compile"
24278 case "(($ac_try" in
24279 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
24280 *) ac_try_echo=$ac_try;;
24282 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24283 (eval "$ac_compile") 2>conftest.er1
24285 grep -v '^ *+' conftest.er1 >conftest.err
24287 cat conftest.err >&5
24288 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24289 (exit $ac_status); } && {
24290 test -z "$ac_c_werror_flag" ||
24291 test ! -s conftest.err
24292 } && test -s conftest.$ac_objext; then
24295 cat >conftest.$ac_ext <<_ACEOF
24298 cat confdefs.h >>conftest.$ac_ext
24299 cat >>conftest.$ac_ext <<_ACEOF
24300 /* end confdefs.h. */
24301 $ac_includes_default
24302 typedef long long ac__type_sizeof_;
24306 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
24313 rm -f conftest.$ac_objext
24314 if { (ac_try="$ac_compile"
24315 case "(($ac_try" in
24316 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
24317 *) ac_try_echo
=$ac_try;;
24319 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24320 (eval "$ac_compile") 2>conftest.er1
24322 grep -v '^ *+' conftest.er1
>conftest.err
24324 cat conftest.err
>&5
24325 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24326 (exit $ac_status); } && {
24327 test -z "$ac_c_werror_flag" ||
24328 test ! -s conftest.err
24329 } && test -s conftest.
$ac_objext; then
24330 ac_hi
=$ac_mid; break
24332 echo "$as_me: failed program was:" >&5
24333 sed 's/^/| /' conftest.
$ac_ext >&5
24335 ac_lo
=`expr $ac_mid + 1`
24336 if test $ac_lo -le $ac_mid; then
24340 ac_mid
=`expr 2 '*' $ac_mid + 1`
24343 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
24346 echo "$as_me: failed program was:" >&5
24347 sed 's/^/| /' conftest.
$ac_ext >&5
24349 cat >conftest.
$ac_ext <<_ACEOF
24352 cat confdefs.h
>>conftest.
$ac_ext
24353 cat >>conftest.
$ac_ext <<_ACEOF
24354 /* end confdefs.h. */
24355 $ac_includes_default
24356 typedef long long ac__type_sizeof_;
24360 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
24367 rm -f conftest.
$ac_objext
24368 if { (ac_try
="$ac_compile"
24369 case "(($ac_try" in
24370 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
24371 *) ac_try_echo=$ac_try;;
24373 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24374 (eval "$ac_compile") 2>conftest.er1
24376 grep -v '^ *+' conftest.er1 >conftest.err
24378 cat conftest.err >&5
24379 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24380 (exit $ac_status); } && {
24381 test -z "$ac_c_werror_flag" ||
24382 test ! -s conftest.err
24383 } && test -s conftest.$ac_objext; then
24386 cat >conftest.$ac_ext <<_ACEOF
24389 cat confdefs.h >>conftest.$ac_ext
24390 cat >>conftest.$ac_ext <<_ACEOF
24391 /* end confdefs.h. */
24392 $ac_includes_default
24393 typedef long long ac__type_sizeof_;
24397 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
24404 rm -f conftest.$ac_objext
24405 if { (ac_try="$ac_compile"
24406 case "(($ac_try" in
24407 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
24408 *) ac_try_echo
=$ac_try;;
24410 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24411 (eval "$ac_compile") 2>conftest.er1
24413 grep -v '^ *+' conftest.er1
>conftest.err
24415 cat conftest.err
>&5
24416 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24417 (exit $ac_status); } && {
24418 test -z "$ac_c_werror_flag" ||
24419 test ! -s conftest.err
24420 } && test -s conftest.
$ac_objext; then
24421 ac_lo
=$ac_mid; break
24423 echo "$as_me: failed program was:" >&5
24424 sed 's/^/| /' conftest.
$ac_ext >&5
24426 ac_hi
=`expr '(' $ac_mid ')' - 1`
24427 if test $ac_mid -le $ac_hi; then
24431 ac_mid
=`expr 2 '*' $ac_mid`
24434 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
24437 echo "$as_me: failed program was:" >&5
24438 sed 's/^/| /' conftest.
$ac_ext >&5
24443 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
24446 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
24447 # Binary search between lo and hi bounds.
24448 while test "x$ac_lo" != "x$ac_hi"; do
24449 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
24450 cat >conftest.
$ac_ext <<_ACEOF
24453 cat confdefs.h
>>conftest.
$ac_ext
24454 cat >>conftest.
$ac_ext <<_ACEOF
24455 /* end confdefs.h. */
24456 $ac_includes_default
24457 typedef long long ac__type_sizeof_;
24461 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
24468 rm -f conftest.
$ac_objext
24469 if { (ac_try
="$ac_compile"
24470 case "(($ac_try" in
24471 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
24472 *) ac_try_echo=$ac_try;;
24474 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24475 (eval "$ac_compile") 2>conftest.er1
24477 grep -v '^ *+' conftest.er1 >conftest.err
24479 cat conftest.err >&5
24480 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24481 (exit $ac_status); } && {
24482 test -z "$ac_c_werror_flag" ||
24483 test ! -s conftest.err
24484 } && test -s conftest.$ac_objext; then
24487 echo "$as_me: failed program was:" >&5
24488 sed 's/^/| /' conftest.$ac_ext >&5
24490 ac_lo=`expr '(' $ac_mid ')' + 1`
24493 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24496 ?*) ac_cv_sizeof_long_long=$ac_lo;;
24497 '') if test "$ac_cv_type_long_long" = yes; then
24498 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
24499 See \`config.log
' for more details." >&5
24500 echo "$as_me: error: cannot compute sizeof (long long)
24501 See \`config.log' for more details.
" >&2;}
24502 { (exit 77); exit 77; }; }
24504 ac_cv_sizeof_long_long=0
24508 cat >conftest.$ac_ext <<_ACEOF
24511 cat confdefs.h >>conftest.$ac_ext
24512 cat >>conftest.$ac_ext <<_ACEOF
24513 /* end confdefs.h. */
24514 $ac_includes_default
24515 typedef long long ac__type_sizeof_;
24516 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
24517 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
24519 #include <stdlib.h>
24524 FILE *f = fopen ("conftest.val
", "w
");
24527 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
24529 long int i = longval ();
24530 if (i != ((long int) (sizeof (ac__type_sizeof_))))
24532 fprintf (f, "%ld
\n", i);
24536 unsigned long int i = ulongval ();
24537 if (i != ((long int) (sizeof (ac__type_sizeof_))))
24539 fprintf (f, "%lu
\n", i);
24541 return ferror (f) || fclose (f) != 0;
24547 rm -f conftest$ac_exeext
24548 if { (ac_try="$ac_link"
24549 case "(($ac_try" in
24550 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24551 *) ac_try_echo=$ac_try;;
24553 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
24554 (eval "$ac_link") 2>&5
24556 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
24557 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
24558 { (case "(($ac_try" in
24559 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24560 *) ac_try_echo=$ac_try;;
24562 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
24563 (eval "$ac_try") 2>&5
24565 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
24566 (exit $ac_status); }; }; then
24567 ac_cv_sizeof_long_long=`cat conftest.val`
24569 echo "$as_me: program exited with status
$ac_status" >&5
24570 echo "$as_me: failed program was
:" >&5
24571 sed 's/^/| /' conftest.$ac_ext >&5
24573 ( exit $ac_status )
24574 if test "$ac_cv_type_long_long" = yes; then
24575 { { echo "$as_me:$LINENO: error
: cannot compute sizeof
(long long
)
24576 See \
`config.log' for more details." >&5
24577 echo "$as_me: error: cannot compute sizeof (long long)
24578 See \`config.log
' for more details." >&2;}
24579 { (exit 77); exit 77; }; }
24581 ac_cv_sizeof_long_long=0
24584 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
24588 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
24589 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6; }
24593 cat >>confdefs.h <<_ACEOF
24594 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
24600 { echo "$as_me:$LINENO: checking for wchar_t" >&5
24601 echo $ECHO_N "checking for wchar_t... $ECHO_C" >&6; }
24602 if test "${ac_cv_type_wchar_t+set}" = set; then
24603 echo $ECHO_N "(cached) $ECHO_C" >&6
24605 cat >conftest.$ac_ext <<_ACEOF
24608 cat confdefs.h >>conftest.$ac_ext
24609 cat >>conftest.$ac_ext <<_ACEOF
24610 /* end confdefs.h. */
24612 /* DJGPP's wchar_t is now a keyword
in C
++ (still not C though
) */
24613 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
24614 # error "fake wchar_t"
24616 #ifdef HAVE_WCHAR_H
24618 # include <stddef.h>
24620 # include <wchar.h>
24622 #ifdef HAVE_STDLIB_H
24623 # include <stdlib.h>
24629 typedef wchar_t ac__type_new_
;
24633 if ((ac__type_new_
*) 0)
24635 if (sizeof
(ac__type_new_
))
24641 rm -f conftest.
$ac_objext
24642 if { (ac_try
="$ac_compile"
24643 case "(($ac_try" in
24644 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
24645 *) ac_try_echo=$ac_try;;
24647 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24648 (eval "$ac_compile") 2>conftest.er1
24650 grep -v '^ *+' conftest.er1 >conftest.err
24652 cat conftest.err >&5
24653 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24654 (exit $ac_status); } && {
24655 test -z "$ac_c_werror_flag" ||
24656 test ! -s conftest.err
24657 } && test -s conftest.$ac_objext; then
24658 ac_cv_type_wchar_t=yes
24660 echo "$as_me: failed program was:" >&5
24661 sed 's/^/| /' conftest.$ac_ext >&5
24663 ac_cv_type_wchar_t=no
24666 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24668 { echo "$as_me:$LINENO: result: $ac_cv_type_wchar_t" >&5
24669 echo "${ECHO_T}$ac_cv_type_wchar_t" >&6; }
24671 # The cast to long int works around a bug in the HP C Compiler
24672 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
24673 # declarations like `int a3
[[(sizeof
(unsigned char
)) >= 0]];'.
24674 # This bug is HP SR number 8606223364.
24675 { echo "$as_me:$LINENO: checking size of wchar_t" >&5
24676 echo $ECHO_N "checking size of wchar_t... $ECHO_C" >&6; }
24677 if test "${ac_cv_sizeof_wchar_t+set}" = set; then
24678 echo $ECHO_N "(cached) $ECHO_C" >&6
24680 if test "$cross_compiling" = yes; then
24681 # Depending upon the size, compute the lo and hi bounds.
24682 cat >conftest.$ac_ext <<_ACEOF
24685 cat confdefs.h >>conftest.$ac_ext
24686 cat >>conftest.$ac_ext <<_ACEOF
24687 /* end confdefs.h. */
24689 /* DJGPP's wchar_t is now a keyword
in C
++ (still not C though
) */
24690 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
24691 # error "fake wchar_t"
24693 #ifdef HAVE_WCHAR_H
24695 # include <stddef.h>
24697 # include <wchar.h>
24699 #ifdef HAVE_STDLIB_H
24700 # include <stdlib.h>
24706 typedef wchar_t ac__type_sizeof_
;
24710 static int test_array
[1 - 2 * !(((long int
) (sizeof
(ac__type_sizeof_
))) >= 0)];
24717 rm -f conftest.
$ac_objext
24718 if { (ac_try
="$ac_compile"
24719 case "(($ac_try" in
24720 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
24721 *) ac_try_echo=$ac_try;;
24723 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24724 (eval "$ac_compile") 2>conftest.er1
24726 grep -v '^ *+' conftest.er1 >conftest.err
24728 cat conftest.err >&5
24729 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24730 (exit $ac_status); } && {
24731 test -z "$ac_c_werror_flag" ||
24732 test ! -s conftest.err
24733 } && test -s conftest.$ac_objext; then
24736 cat >conftest.$ac_ext <<_ACEOF
24739 cat confdefs.h >>conftest.$ac_ext
24740 cat >>conftest.$ac_ext <<_ACEOF
24741 /* end confdefs.h. */
24743 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
24744 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
24745 # error "fake wchar_t"
24747 #ifdef HAVE_WCHAR_H
24749 # include <stddef.h>
24751 # include <wchar.h>
24753 #ifdef HAVE_STDLIB_H
24754 # include <stdlib.h>
24760 typedef wchar_t ac__type_sizeof_;
24764 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
24771 rm -f conftest.$ac_objext
24772 if { (ac_try="$ac_compile"
24773 case "(($ac_try" in
24774 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
24775 *) ac_try_echo
=$ac_try;;
24777 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24778 (eval "$ac_compile") 2>conftest.er1
24780 grep -v '^ *+' conftest.er1
>conftest.err
24782 cat conftest.err
>&5
24783 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24784 (exit $ac_status); } && {
24785 test -z "$ac_c_werror_flag" ||
24786 test ! -s conftest.err
24787 } && test -s conftest.
$ac_objext; then
24788 ac_hi
=$ac_mid; break
24790 echo "$as_me: failed program was:" >&5
24791 sed 's/^/| /' conftest.
$ac_ext >&5
24793 ac_lo
=`expr $ac_mid + 1`
24794 if test $ac_lo -le $ac_mid; then
24798 ac_mid
=`expr 2 '*' $ac_mid + 1`
24801 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
24804 echo "$as_me: failed program was:" >&5
24805 sed 's/^/| /' conftest.
$ac_ext >&5
24807 cat >conftest.
$ac_ext <<_ACEOF
24810 cat confdefs.h
>>conftest.
$ac_ext
24811 cat >>conftest.
$ac_ext <<_ACEOF
24812 /* end confdefs.h. */
24814 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
24815 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
24816 # error "fake wchar_t"
24818 #ifdef HAVE_WCHAR_H
24820 # include <stddef.h>
24822 # include <wchar.h>
24824 #ifdef HAVE_STDLIB_H
24825 # include <stdlib.h>
24831 typedef wchar_t ac__type_sizeof_;
24835 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
24842 rm -f conftest.
$ac_objext
24843 if { (ac_try
="$ac_compile"
24844 case "(($ac_try" in
24845 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
24846 *) ac_try_echo=$ac_try;;
24848 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24849 (eval "$ac_compile") 2>conftest.er1
24851 grep -v '^ *+' conftest.er1 >conftest.err
24853 cat conftest.err >&5
24854 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24855 (exit $ac_status); } && {
24856 test -z "$ac_c_werror_flag" ||
24857 test ! -s conftest.err
24858 } && test -s conftest.$ac_objext; then
24861 cat >conftest.$ac_ext <<_ACEOF
24864 cat confdefs.h >>conftest.$ac_ext
24865 cat >>conftest.$ac_ext <<_ACEOF
24866 /* end confdefs.h. */
24868 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
24869 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
24870 # error "fake wchar_t"
24872 #ifdef HAVE_WCHAR_H
24874 # include <stddef.h>
24876 # include <wchar.h>
24878 #ifdef HAVE_STDLIB_H
24879 # include <stdlib.h>
24885 typedef wchar_t ac__type_sizeof_;
24889 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
24896 rm -f conftest.$ac_objext
24897 if { (ac_try="$ac_compile"
24898 case "(($ac_try" in
24899 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
24900 *) ac_try_echo
=$ac_try;;
24902 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24903 (eval "$ac_compile") 2>conftest.er1
24905 grep -v '^ *+' conftest.er1
>conftest.err
24907 cat conftest.err
>&5
24908 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24909 (exit $ac_status); } && {
24910 test -z "$ac_c_werror_flag" ||
24911 test ! -s conftest.err
24912 } && test -s conftest.
$ac_objext; then
24913 ac_lo
=$ac_mid; break
24915 echo "$as_me: failed program was:" >&5
24916 sed 's/^/| /' conftest.
$ac_ext >&5
24918 ac_hi
=`expr '(' $ac_mid ')' - 1`
24919 if test $ac_mid -le $ac_hi; then
24923 ac_mid
=`expr 2 '*' $ac_mid`
24926 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
24929 echo "$as_me: failed program was:" >&5
24930 sed 's/^/| /' conftest.
$ac_ext >&5
24935 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
24938 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
24939 # Binary search between lo and hi bounds.
24940 while test "x$ac_lo" != "x$ac_hi"; do
24941 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
24942 cat >conftest.
$ac_ext <<_ACEOF
24945 cat confdefs.h
>>conftest.
$ac_ext
24946 cat >>conftest.
$ac_ext <<_ACEOF
24947 /* end confdefs.h. */
24949 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
24950 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
24951 # error "fake wchar_t"
24953 #ifdef HAVE_WCHAR_H
24955 # include <stddef.h>
24957 # include <wchar.h>
24959 #ifdef HAVE_STDLIB_H
24960 # include <stdlib.h>
24966 typedef wchar_t ac__type_sizeof_;
24970 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
24977 rm -f conftest.
$ac_objext
24978 if { (ac_try
="$ac_compile"
24979 case "(($ac_try" in
24980 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
24981 *) ac_try_echo=$ac_try;;
24983 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24984 (eval "$ac_compile") 2>conftest.er1
24986 grep -v '^ *+' conftest.er1 >conftest.err
24988 cat conftest.err >&5
24989 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24990 (exit $ac_status); } && {
24991 test -z "$ac_c_werror_flag" ||
24992 test ! -s conftest.err
24993 } && test -s conftest.$ac_objext; then
24996 echo "$as_me: failed program was:" >&5
24997 sed 's/^/| /' conftest.$ac_ext >&5
24999 ac_lo=`expr '(' $ac_mid ')' + 1`
25002 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25005 ?*) ac_cv_sizeof_wchar_t=$ac_lo;;
25006 '') if test "$ac_cv_type_wchar_t" = yes; then
25007 { { echo "$as_me:$LINENO: error: cannot compute sizeof (wchar_t)
25008 See \`config.log
' for more details." >&5
25009 echo "$as_me: error: cannot compute sizeof (wchar_t)
25010 See \`config.log' for more details.
" >&2;}
25011 { (exit 77); exit 77; }; }
25013 ac_cv_sizeof_wchar_t=0
25017 cat >conftest.$ac_ext <<_ACEOF
25020 cat confdefs.h >>conftest.$ac_ext
25021 cat >>conftest.$ac_ext <<_ACEOF
25022 /* end confdefs.h. */
25024 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
25025 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
25026 # error "fake wchar_t
"
25028 #ifdef HAVE_WCHAR_H
25030 # include <stddef.h>
25032 # include <wchar.h>
25034 #ifdef HAVE_STDLIB_H
25035 # include <stdlib.h>
25041 typedef wchar_t ac__type_sizeof_;
25042 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
25043 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
25045 #include <stdlib.h>
25050 FILE *f = fopen ("conftest.val
", "w
");
25053 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
25055 long int i = longval ();
25056 if (i != ((long int) (sizeof (ac__type_sizeof_))))
25058 fprintf (f, "%ld
\n", i);
25062 unsigned long int i = ulongval ();
25063 if (i != ((long int) (sizeof (ac__type_sizeof_))))
25065 fprintf (f, "%lu
\n", i);
25067 return ferror (f) || fclose (f) != 0;
25073 rm -f conftest$ac_exeext
25074 if { (ac_try="$ac_link"
25075 case "(($ac_try" in
25076 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25077 *) ac_try_echo=$ac_try;;
25079 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
25080 (eval "$ac_link") 2>&5
25082 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
25083 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
25084 { (case "(($ac_try" in
25085 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25086 *) ac_try_echo=$ac_try;;
25088 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
25089 (eval "$ac_try") 2>&5
25091 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
25092 (exit $ac_status); }; }; then
25093 ac_cv_sizeof_wchar_t=`cat conftest.val`
25095 echo "$as_me: program exited with status
$ac_status" >&5
25096 echo "$as_me: failed program was
:" >&5
25097 sed 's/^/| /' conftest.$ac_ext >&5
25099 ( exit $ac_status )
25100 if test "$ac_cv_type_wchar_t" = yes; then
25101 { { echo "$as_me:$LINENO: error
: cannot compute sizeof
(wchar_t
)
25102 See \
`config.log' for more details." >&5
25103 echo "$as_me: error: cannot compute sizeof (wchar_t)
25104 See \`config.log
' for more details." >&2;}
25105 { (exit 77); exit 77; }; }
25107 ac_cv_sizeof_wchar_t=0
25110 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
25114 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_wchar_t" >&5
25115 echo "${ECHO_T}$ac_cv_sizeof_wchar_t" >&6; }
25119 cat >>confdefs.h <<_ACEOF
25120 #define SIZEOF_WCHAR_T $ac_cv_sizeof_wchar_t
25124 if test "$ac_cv_sizeof_wchar_t" != "0"; then
25130 { echo "$as_me:$LINENO: checking for va_copy" >&5
25131 echo $ECHO_N "checking for va_copy... $ECHO_C" >&6; }
25132 if test "${wx_cv_func_va_copy+set}" = set; then
25133 echo $ECHO_N "(cached) $ECHO_C" >&6
25137 ac_cpp='$CXXCPP $CPPFLAGS'
25138 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
25139 ac_link='$CXX -o conftest
$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
25140 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25142 cat >conftest.$ac_ext <<_ACEOF
25144 #include <stdarg.h>
25145 void foo(char *f, ...)
25159 rm -f conftest.$ac_objext conftest$ac_exeext
25160 if { (ac_try="$ac_link"
25161 case "(($ac_try" in
25162 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25163 *) ac_try_echo=$ac_try;;
25165 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25166 (eval "$ac_link") 2>conftest.er1
25168 grep -v '^
*+' conftest.er1 >conftest.err
25170 cat conftest.err >&5
25171 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25172 (exit $ac_status); } && {
25173 test -z "$ac_cxx_werror_flag" ||
25174 test ! -s conftest.err
25175 } && test -s conftest$ac_exeext &&
25176 $as_test_x conftest$ac_exeext; then
25177 wx_cv_func_va_copy=yes
25179 echo "$as_me: failed program was:" >&5
25180 sed 's
/^
/| /' conftest.$ac_ext >&5
25182 wx_cv_func_va_copy=no
25186 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25187 conftest$ac_exeext conftest.$ac_ext
25189 ac_cpp='$CPP $CPPFLAGS'
25190 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
25191 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
25192 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25197 { echo "$as_me:$LINENO: result: $wx_cv_func_va_copy" >&5
25198 echo "${ECHO_T}$wx_cv_func_va_copy" >&6; }
25200 if test $wx_cv_func_va_copy = "yes"; then
25201 cat >>confdefs.h <<\_ACEOF
25202 #define HAVE_VA_COPY 1
25206 { echo "$as_me:$LINENO: checking if va_list can be copied by value" >&5
25207 echo $ECHO_N "checking if va_list can be copied by value... $ECHO_C" >&6; }
25208 if test "${wx_cv_type_va_list_lvalue+set}" = set; then
25209 echo $ECHO_N "(cached) $ECHO_C" >&6
25212 if test "$cross_compiling" = yes; then
25213 wx_cv_type_va_list_lvalue=yes
25216 cat >conftest.$ac_ext <<_ACEOF
25218 #include <stdarg.h>
25219 int foo(char *f, ...)
25224 if ( va_arg(ap1, int) != 17 || va_arg(ap2, int) != 17 )
25232 return foo("hi", 17);
25235 rm -f conftest$ac_exeext
25236 if { (ac_try="$ac_link"
25237 case "(($ac_try" in
25238 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25239 *) ac_try_echo=$ac_try;;
25241 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25242 (eval "$ac_link") 2>&5
25244 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25245 (exit $ac_status); } && { ac_try='.
/conftest
$ac_exeext'
25246 { (case "(($ac_try" in
25247 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25248 *) ac_try_echo=$ac_try;;
25250 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25251 (eval "$ac_try") 2>&5
25253 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25254 (exit $ac_status); }; }; then
25255 wx_cv_type_va_list_lvalue=yes
25257 echo "$as_me: program exited with status $ac_status" >&5
25258 echo "$as_me: failed program was:" >&5
25259 sed 's
/^
/| /' conftest.$ac_ext >&5
25261 ( exit $ac_status )
25262 wx_cv_type_va_list_lvalue=no
25264 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
25271 { echo "$as_me:$LINENO: result: $wx_cv_type_va_list_lvalue" >&5
25272 echo "${ECHO_T}$wx_cv_type_va_list_lvalue" >&6; }
25274 if test $wx_cv_type_va_list_lvalue != "yes"; then
25275 cat >>confdefs.h <<\_ACEOF
25276 #define VA_LIST_IS_ARRAY 1
25282 if test "$wxUSE_VARARG_MACROS" = "yes"; then
25284 { echo "$as_me:$LINENO: checking whether the compiler supports variadic macros" >&5
25285 echo $ECHO_N "checking whether the compiler supports variadic macros... $ECHO_C" >&6; }
25286 if test "${wx_cv_have_variadic_macros+set}" = set; then
25287 echo $ECHO_N "(cached) $ECHO_C" >&6
25291 ac_cpp='$CXXCPP $CPPFLAGS'
25292 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
25293 ac_link='$CXX -o conftest
$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
25294 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25296 cat >conftest.$ac_ext <<_ACEOF
25299 cat confdefs.h >>conftest.$ac_ext
25300 cat >>conftest.$ac_ext <<_ACEOF
25301 /* end confdefs.h. */
25304 #define test(fmt, ...) printf(fmt, __VA_ARGS__)
25310 test("%s %d %p", "test", 1, 0);
25317 rm -f conftest.$ac_objext
25318 if { (ac_try="$ac_compile"
25319 case "(($ac_try" in
25320 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25321 *) ac_try_echo=$ac_try;;
25323 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25324 (eval "$ac_compile") 2>conftest.er1
25326 grep -v '^
*+' conftest.er1 >conftest.err
25328 cat conftest.err >&5
25329 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25330 (exit $ac_status); } && {
25331 test -z "$ac_cxx_werror_flag" ||
25332 test ! -s conftest.err
25333 } && test -s conftest.$ac_objext; then
25334 wx_cv_have_variadic_macros=yes
25336 echo "$as_me: failed program was:" >&5
25337 sed 's
/^
/| /' conftest.$ac_ext >&5
25339 wx_cv_have_variadic_macros=no
25343 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25345 ac_cpp='$CPP $CPPFLAGS'
25346 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
25347 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
25348 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25353 { echo "$as_me:$LINENO: result: $wx_cv_have_variadic_macros" >&5
25354 echo "${ECHO_T}$wx_cv_have_variadic_macros" >&6; }
25356 if test $wx_cv_have_variadic_macros = "yes"; then
25357 cat >>confdefs.h <<\_ACEOF
25358 #define HAVE_VARIADIC_MACROS 1
25364 # Check whether --enable-largefile was given.
25365 if test "${enable_largefile+set}" = set; then
25366 enableval=$enable_largefile;
25369 if test "$enable_largefile" != no; then
25372 { echo "$as_me:$LINENO: checking for _FILE_OFFSET_BITS value needed for large files" >&5
25373 echo $ECHO_N "checking for _FILE_OFFSET_BITS value needed for large files... $ECHO_C" >&6; }
25374 if test "${ac_cv_sys_file_offset_bits+set}" = set; then
25375 echo $ECHO_N "(cached) $ECHO_C" >&6
25378 cat >conftest.$ac_ext <<_ACEOF
25381 cat confdefs.h >>conftest.$ac_ext
25382 cat >>conftest.$ac_ext <<_ACEOF
25383 /* end confdefs.h. */
25384 #define _FILE_OFFSET_BITS 64
25385 #include <sys/types.h>
25390 unsigned int field: sizeof(off_t) == 8;
25397 rm -f conftest.$ac_objext
25398 if { (ac_try="$ac_compile"
25399 case "(($ac_try" in
25400 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25401 *) ac_try_echo=$ac_try;;
25403 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25404 (eval "$ac_compile") 2>conftest.er1
25406 grep -v '^
*+' conftest.er1 >conftest.err
25408 cat conftest.err >&5
25409 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25410 (exit $ac_status); } && {
25411 test -z "$ac_c_werror_flag" ||
25412 test ! -s conftest.err
25413 } && test -s conftest.$ac_objext; then
25414 ac_cv_sys_file_offset_bits=64
25416 echo "$as_me: failed program was:" >&5
25417 sed 's
/^
/| /' conftest.$ac_ext >&5
25419 ac_cv_sys_file_offset_bits=no
25422 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25426 { echo "$as_me:$LINENO: result: $ac_cv_sys_file_offset_bits" >&5
25427 echo "${ECHO_T}$ac_cv_sys_file_offset_bits" >&6; }
25429 if test "$ac_cv_sys_file_offset_bits" != no; then
25431 cat >>confdefs.h <<_ACEOF
25432 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
25437 if test "x$wx_largefile" != "xyes"; then
25439 { echo "$as_me:$LINENO: checking for _LARGE_FILES value needed for large files" >&5
25440 echo $ECHO_N "checking for _LARGE_FILES value needed for large files... $ECHO_C" >&6; }
25441 if test "${ac_cv_sys_large_files+set}" = set; then
25442 echo $ECHO_N "(cached) $ECHO_C" >&6
25445 cat >conftest.$ac_ext <<_ACEOF
25448 cat confdefs.h >>conftest.$ac_ext
25449 cat >>conftest.$ac_ext <<_ACEOF
25450 /* end confdefs.h. */
25451 #define _LARGE_FILES 1
25452 #include <sys/types.h>
25457 unsigned int field: sizeof(off_t) == 8;
25464 rm -f conftest.$ac_objext
25465 if { (ac_try="$ac_compile"
25466 case "(($ac_try" in
25467 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25468 *) ac_try_echo=$ac_try;;
25470 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25471 (eval "$ac_compile") 2>conftest.er1
25473 grep -v '^
*+' conftest.er1 >conftest.err
25475 cat conftest.err >&5
25476 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25477 (exit $ac_status); } && {
25478 test -z "$ac_c_werror_flag" ||
25479 test ! -s conftest.err
25480 } && test -s conftest.$ac_objext; then
25481 ac_cv_sys_large_files=1
25483 echo "$as_me: failed program was:" >&5
25484 sed 's
/^
/| /' conftest.$ac_ext >&5
25486 ac_cv_sys_large_files=no
25489 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25493 { echo "$as_me:$LINENO: result: $ac_cv_sys_large_files" >&5
25494 echo "${ECHO_T}$ac_cv_sys_large_files" >&6; }
25496 if test "$ac_cv_sys_large_files" != no; then
25498 cat >>confdefs.h <<_ACEOF
25499 #define _LARGE_FILES $ac_cv_sys_large_files
25506 { echo "$as_me:$LINENO: checking if large file support is available" >&5
25507 echo $ECHO_N "checking if large file support is available... $ECHO_C" >&6; }
25508 if test "x$wx_largefile" = "xyes"; then
25509 cat >>confdefs.h <<\_ACEOF
25510 #define HAVE_LARGEFILE_SUPPORT 1
25514 { echo "$as_me:$LINENO: result: $wx_largefile" >&5
25515 echo "${ECHO_T}$wx_largefile" >&6; }
25519 if test "x$wx_largefile" = "xyes"; then
25520 if test "x$ac_cv_sys_file_offset_bits" = "x64"; then
25521 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES"
25523 if test "$USE_HPUX" = 1 -a "$GXX" = "yes"; then
25524 { echo "$as_me:$LINENO: checking if -D__STDC_EXT__ is required" >&5
25525 echo $ECHO_N "checking if -D__STDC_EXT__ is required... $ECHO_C" >&6; }
25526 if test "${wx_cv_STDC_EXT_required+set}" = set; then
25527 echo $ECHO_N "(cached) $ECHO_C" >&6
25531 ac_cpp='$CXXCPP $CPPFLAGS'
25532 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
25533 ac_link='$CXX -o conftest
$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
25534 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25536 cat >conftest.$ac_ext <<_ACEOF
25539 cat confdefs.h >>conftest.$ac_ext
25540 cat >>conftest.$ac_ext <<_ACEOF
25541 /* end confdefs.h. */
25547 #ifndef __STDC_EXT__
25555 rm -f conftest.$ac_objext
25556 if { (ac_try="$ac_compile"
25557 case "(($ac_try" in
25558 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25559 *) ac_try_echo=$ac_try;;
25561 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25562 (eval "$ac_compile") 2>conftest.er1
25564 grep -v '^
*+' conftest.er1 >conftest.err
25566 cat conftest.err >&5
25567 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25568 (exit $ac_status); } && {
25569 test -z "$ac_cxx_werror_flag" ||
25570 test ! -s conftest.err
25571 } && test -s conftest.$ac_objext; then
25572 wx_cv_STDC_EXT_required=no
25574 echo "$as_me: failed program was:" >&5
25575 sed 's
/^
/| /' conftest.$ac_ext >&5
25577 wx_cv_STDC_EXT_required=yes
25581 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25583 ac_cpp='$CPP $CPPFLAGS'
25584 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
25585 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
25586 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25591 { echo "$as_me:$LINENO: result: $wx_cv_STDC_EXT_required" >&5
25592 echo "${ECHO_T}$wx_cv_STDC_EXT_required" >&6; }
25593 if test "x$wx_cv_STDC_EXT_required" = "xyes"; then
25594 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -D__STDC_EXT__"
25598 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_LARGE_FILES"
25600 { echo "$as_me:$LINENO: checking for _LARGEFILE_SOURCE value needed for large files" >&5
25601 echo $ECHO_N "checking for _LARGEFILE_SOURCE value needed for large files... $ECHO_C" >&6; }
25602 if test "${ac_cv_sys_largefile_source+set}" = set; then
25603 echo $ECHO_N "(cached) $ECHO_C" >&6
25606 cat >conftest.$ac_ext <<_ACEOF
25609 cat confdefs.h >>conftest.$ac_ext
25610 cat >>conftest.$ac_ext <<_ACEOF
25611 /* end confdefs.h. */
25612 #include <sys/types.h> /* for off_t */
25617 int (*fp) (FILE *, off_t, int) = fseeko;
25618 return fseeko (stdin, 0, 0) && fp (stdin, 0, 0);
25623 rm -f conftest.$ac_objext conftest$ac_exeext
25624 if { (ac_try="$ac_link"
25625 case "(($ac_try" in
25626 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25627 *) ac_try_echo=$ac_try;;
25629 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25630 (eval "$ac_link") 2>conftest.er1
25632 grep -v '^
*+' conftest.er1 >conftest.err
25634 cat conftest.err >&5
25635 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25636 (exit $ac_status); } && {
25637 test -z "$ac_c_werror_flag" ||
25638 test ! -s conftest.err
25639 } && test -s conftest$ac_exeext &&
25640 $as_test_x conftest$ac_exeext; then
25641 ac_cv_sys_largefile_source=no; break
25643 echo "$as_me: failed program was:" >&5
25644 sed 's
/^
/| /' conftest.$ac_ext >&5
25649 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25650 conftest$ac_exeext conftest.$ac_ext
25651 cat >conftest.$ac_ext <<_ACEOF
25654 cat confdefs.h >>conftest.$ac_ext
25655 cat >>conftest.$ac_ext <<_ACEOF
25656 /* end confdefs.h. */
25657 #define _LARGEFILE_SOURCE 1
25658 #include <sys/types.h> /* for off_t */
25663 int (*fp) (FILE *, off_t, int) = fseeko;
25664 return fseeko (stdin, 0, 0) && fp (stdin, 0, 0);
25669 rm -f conftest.$ac_objext conftest$ac_exeext
25670 if { (ac_try="$ac_link"
25671 case "(($ac_try" in
25672 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25673 *) ac_try_echo=$ac_try;;
25675 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25676 (eval "$ac_link") 2>conftest.er1
25678 grep -v '^
*+' conftest.er1 >conftest.err
25680 cat conftest.err >&5
25681 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25682 (exit $ac_status); } && {
25683 test -z "$ac_c_werror_flag" ||
25684 test ! -s conftest.err
25685 } && test -s conftest$ac_exeext &&
25686 $as_test_x conftest$ac_exeext; then
25687 ac_cv_sys_largefile_source=1; break
25689 echo "$as_me: failed program was:" >&5
25690 sed 's
/^
/| /' conftest.$ac_ext >&5
25695 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25696 conftest$ac_exeext conftest.$ac_ext
25697 ac_cv_sys_largefile_source=unknown
25701 { echo "$as_me:$LINENO: result: $ac_cv_sys_largefile_source" >&5
25702 echo "${ECHO_T}$ac_cv_sys_largefile_source" >&6; }
25703 case $ac_cv_sys_largefile_source in #(
25706 cat >>confdefs.h <<_ACEOF
25707 #define _LARGEFILE_SOURCE $ac_cv_sys_largefile_source
25713 # We used to try defining _XOPEN_SOURCE=500 too, to work around a bug
25714 # in glibc 2.1.3, but that breaks too many other things.
25715 # If you want fseeko and ftello with glibc, upgrade to a fixed glibc.
25716 if test $ac_cv_sys_largefile_source != unknown; then
25718 cat >>confdefs.h <<\_ACEOF
25719 #define HAVE_FSEEKO 1
25724 if test "$ac_cv_sys_largefile_source" != no; then
25725 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_LARGEFILE_SOURCE=$ac_cv_sys_largefile_source"
25729 { echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
25730 echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6; }
25731 if test "${ac_cv_c_bigendian+set}" = set; then
25732 echo $ECHO_N "(cached) $ECHO_C" >&6
25734 ac_cv_c_bigendian=unknown
25735 # See if sys/param.h defines the BYTE_ORDER macro.
25736 cat >conftest.$ac_ext <<_ACEOF
25739 cat confdefs.h >>conftest.$ac_ext
25740 cat >>conftest.$ac_ext <<_ACEOF
25741 /* end confdefs.h. */
25742 #include <sys/types.h>
25743 #include <sys/param.h>
25748 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
25749 bogus endian macros
25755 rm -f conftest.$ac_objext
25756 if { (ac_try="$ac_compile"
25757 case "(($ac_try" in
25758 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25759 *) ac_try_echo=$ac_try;;
25761 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25762 (eval "$ac_compile") 2>conftest.er1
25764 grep -v '^
*+' conftest.er1 >conftest.err
25766 cat conftest.err >&5
25767 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25768 (exit $ac_status); } && {
25769 test -z "$ac_c_werror_flag" ||
25770 test ! -s conftest.err
25771 } && test -s conftest.$ac_objext; then
25772 # It does; now see whether it defined to BIG_ENDIAN or not.
25773 cat >conftest.$ac_ext <<_ACEOF
25776 cat confdefs.h >>conftest.$ac_ext
25777 cat >>conftest.$ac_ext <<_ACEOF
25778 /* end confdefs.h. */
25779 #include <sys/types.h>
25780 #include <sys/param.h>
25785 #if BYTE_ORDER != BIG_ENDIAN
25792 rm -f conftest.$ac_objext
25793 if { (ac_try="$ac_compile"
25794 case "(($ac_try" in
25795 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25796 *) ac_try_echo=$ac_try;;
25798 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25799 (eval "$ac_compile") 2>conftest.er1
25801 grep -v '^
*+' conftest.er1 >conftest.err
25803 cat conftest.err >&5
25804 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25805 (exit $ac_status); } && {
25806 test -z "$ac_c_werror_flag" ||
25807 test ! -s conftest.err
25808 } && test -s conftest.$ac_objext; then
25809 ac_cv_c_bigendian=yes
25811 echo "$as_me: failed program was:" >&5
25812 sed 's
/^
/| /' conftest.$ac_ext >&5
25814 ac_cv_c_bigendian=no
25817 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25819 echo "$as_me: failed program was:" >&5
25820 sed 's
/^
/| /' conftest.$ac_ext >&5
25825 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25826 if test $ac_cv_c_bigendian = unknown; then
25827 if test "$cross_compiling" = yes; then
25828 ac_cv_c_bigendian=unknown
25830 cat >conftest.$ac_ext <<_ACEOF
25833 cat confdefs.h >>conftest.$ac_ext
25834 cat >>conftest.$ac_ext <<_ACEOF
25835 /* end confdefs.h. */
25837 /* Are we little or big endian? From Harbison&Steele. */
25841 char c[sizeof (long)];
25844 exit (u.c[sizeof (long) - 1] == 1);
25847 rm -f conftest$ac_exeext
25848 if { (ac_try="$ac_link"
25849 case "(($ac_try" in
25850 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25851 *) ac_try_echo=$ac_try;;
25853 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25854 (eval "$ac_link") 2>&5
25856 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25857 (exit $ac_status); } && { ac_try='.
/conftest
$ac_exeext'
25858 { (case "(($ac_try" in
25859 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25860 *) ac_try_echo=$ac_try;;
25862 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25863 (eval "$ac_try") 2>&5
25865 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25866 (exit $ac_status); }; }; then
25867 ac_cv_c_bigendian=no
25869 echo "$as_me: program exited with status $ac_status" >&5
25870 echo "$as_me: failed program was:" >&5
25871 sed 's
/^
/| /' conftest.$ac_ext >&5
25873 ( exit $ac_status )
25874 ac_cv_c_bigendian=yes
25876 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
25882 { echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
25883 echo "${ECHO_T}$ac_cv_c_bigendian" >&6; }
25884 if test $ac_cv_c_bigendian = unknown; then
25885 { 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
25886 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;}
25888 if test $ac_cv_c_bigendian = yes; then
25889 cat >>confdefs.h <<\_ACEOF
25890 #define WORDS_BIGENDIAN 1
25899 ac_cpp='$CXXCPP $CPPFLAGS'
25900 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
25901 ac_link='$CXX -o conftest
$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
25902 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25905 { echo "$as_me:$LINENO: checking for iostream" >&5
25906 echo $ECHO_N "checking for iostream... $ECHO_C" >&6; }
25907 if test "${ac_cv_header_iostream+set}" = set; then
25908 echo $ECHO_N "(cached) $ECHO_C" >&6
25910 cat >conftest.$ac_ext <<_ACEOF
25913 cat confdefs.h >>conftest.$ac_ext
25914 cat >>conftest.$ac_ext <<_ACEOF
25915 /* end confdefs.h. */
25918 #include <iostream>
25920 rm -f conftest.$ac_objext
25921 if { (ac_try="$ac_compile"
25922 case "(($ac_try" in
25923 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25924 *) ac_try_echo=$ac_try;;
25926 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25927 (eval "$ac_compile") 2>conftest.er1
25929 grep -v '^
*+' conftest.er1 >conftest.err
25931 cat conftest.err >&5
25932 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25933 (exit $ac_status); } && {
25934 test -z "$ac_cxx_werror_flag" ||
25935 test ! -s conftest.err
25936 } && test -s conftest.$ac_objext; then
25937 ac_cv_header_iostream=yes
25939 echo "$as_me: failed program was:" >&5
25940 sed 's
/^
/| /' conftest.$ac_ext >&5
25942 ac_cv_header_iostream=no
25945 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25947 { echo "$as_me:$LINENO: result: $ac_cv_header_iostream" >&5
25948 echo "${ECHO_T}$ac_cv_header_iostream" >&6; }
25952 if test "$ac_cv_header_iostream" = "yes" ; then
25955 cat >>confdefs.h <<\_ACEOF
25956 #define wxUSE_IOSTREAMH 1
25962 ac_cpp='$CPP $CPPFLAGS'
25963 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
25964 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
25965 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25970 { echo "$as_me:$LINENO: checking if C++ compiler supports bool" >&5
25971 echo $ECHO_N "checking if C++ compiler supports bool... $ECHO_C" >&6; }
25972 if test "${wx_cv_cpp_bool+set}" = set; then
25973 echo $ECHO_N "(cached) $ECHO_C" >&6
25978 ac_cpp='$CXXCPP $CPPFLAGS'
25979 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
25980 ac_link='$CXX -o conftest
$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
25981 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25984 cat >conftest.$ac_ext <<_ACEOF
25987 cat confdefs.h >>conftest.$ac_ext
25988 cat >>conftest.$ac_ext <<_ACEOF
25989 /* end confdefs.h. */
26004 rm -f conftest.$ac_objext
26005 if { (ac_try="$ac_compile"
26006 case "(($ac_try" in
26007 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26008 *) ac_try_echo=$ac_try;;
26010 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26011 (eval "$ac_compile") 2>conftest.er1
26013 grep -v '^
*+' conftest.er1 >conftest.err
26015 cat conftest.err >&5
26016 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26017 (exit $ac_status); } && {
26018 test -z "$ac_cxx_werror_flag" ||
26019 test ! -s conftest.err
26020 } && test -s conftest.$ac_objext; then
26025 echo "$as_me: failed program was:" >&5
26026 sed 's
/^
/| /' conftest.$ac_ext >&5
26034 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26037 ac_cpp='$CPP $CPPFLAGS'
26038 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
26039 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
26040 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26044 { echo "$as_me:$LINENO: result: $wx_cv_cpp_bool" >&5
26045 echo "${ECHO_T}$wx_cv_cpp_bool" >&6; }
26047 if test "$wx_cv_cpp_bool" = "yes"; then
26048 cat >>confdefs.h <<\_ACEOF
26049 #define HAVE_BOOL 1
26056 { echo "$as_me:$LINENO: checking if C++ compiler supports the explicit keyword" >&5
26057 echo $ECHO_N "checking if C++ compiler supports the explicit keyword... $ECHO_C" >&6; }
26058 if test "${wx_cv_explicit+set}" = set; then
26059 echo $ECHO_N "(cached) $ECHO_C" >&6
26064 ac_cpp='$CXXCPP $CPPFLAGS'
26065 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
26066 ac_link='$CXX -o conftest
$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
26067 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26070 cat >conftest.$ac_ext <<_ACEOF
26073 cat confdefs.h >>conftest.$ac_ext
26074 cat >>conftest.$ac_ext <<_ACEOF
26075 /* end confdefs.h. */
26077 class Foo { public: explicit Foo(int) {} };
26089 rm -f conftest.$ac_objext
26090 if { (ac_try="$ac_compile"
26091 case "(($ac_try" in
26092 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26093 *) ac_try_echo=$ac_try;;
26095 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26096 (eval "$ac_compile") 2>conftest.er1
26098 grep -v '^
*+' conftest.er1 >conftest.err
26100 cat conftest.err >&5
26101 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26102 (exit $ac_status); } && {
26103 test -z "$ac_cxx_werror_flag" ||
26104 test ! -s conftest.err
26105 } && test -s conftest.$ac_objext; then
26107 cat >conftest.$ac_ext <<_ACEOF
26110 cat confdefs.h >>conftest.$ac_ext
26111 cat >>conftest.$ac_ext <<_ACEOF
26112 /* end confdefs.h. */
26114 class Foo { public: explicit Foo(int) {} };
26115 static void TakeFoo(const Foo& foo) { }
26128 rm -f conftest.$ac_objext
26129 if { (ac_try="$ac_compile"
26130 case "(($ac_try" in
26131 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26132 *) ac_try_echo=$ac_try;;
26134 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26135 (eval "$ac_compile") 2>conftest.er1
26137 grep -v '^
*+' conftest.er1 >conftest.err
26139 cat conftest.err >&5
26140 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26141 (exit $ac_status); } && {
26142 test -z "$ac_cxx_werror_flag" ||
26143 test ! -s conftest.err
26144 } && test -s conftest.$ac_objext; then
26147 echo "$as_me: failed program was:" >&5
26148 sed 's
/^
/| /' conftest.$ac_ext >&5
26154 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26157 echo "$as_me: failed program was:" >&5
26158 sed 's
/^
/| /' conftest.$ac_ext >&5
26164 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26167 ac_cpp='$CPP $CPPFLAGS'
26168 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
26169 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
26170 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26174 { echo "$as_me:$LINENO: result: $wx_cv_explicit" >&5
26175 echo "${ECHO_T}$wx_cv_explicit" >&6; }
26177 if test "$wx_cv_explicit" = "yes"; then
26178 cat >>confdefs.h <<\_ACEOF
26179 #define HAVE_EXPLICIT 1
26185 { echo "$as_me:$LINENO: checking whether the compiler supports const_cast<>" >&5
26186 echo $ECHO_N "checking whether the compiler supports const_cast<>... $ECHO_C" >&6; }
26187 if test "${ac_cv_cxx_const_cast+set}" = set; then
26188 echo $ECHO_N "(cached) $ECHO_C" >&6
26192 ac_cpp='$CXXCPP $CPPFLAGS'
26193 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
26194 ac_link='$CXX -o conftest
$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
26195 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26197 cat >conftest.$ac_ext <<_ACEOF
26200 cat confdefs.h >>conftest.$ac_ext
26201 cat >>conftest.$ac_ext <<_ACEOF
26202 /* end confdefs.h. */
26207 int x = 0;const int& y = x;int& z = const_cast<int&>(y);return z;
26212 rm -f conftest.$ac_objext
26213 if { (ac_try="$ac_compile"
26214 case "(($ac_try" in
26215 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26216 *) ac_try_echo=$ac_try;;
26218 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26219 (eval "$ac_compile") 2>conftest.er1
26221 grep -v '^
*+' conftest.er1 >conftest.err
26223 cat conftest.err >&5
26224 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26225 (exit $ac_status); } && {
26226 test -z "$ac_cxx_werror_flag" ||
26227 test ! -s conftest.err
26228 } && test -s conftest.$ac_objext; then
26229 ac_cv_cxx_const_cast=yes
26231 echo "$as_me: failed program was:" >&5
26232 sed 's
/^
/| /' conftest.$ac_ext >&5
26234 ac_cv_cxx_const_cast=no
26237 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26239 ac_cpp='$CPP $CPPFLAGS'
26240 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
26241 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
26242 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26246 { echo "$as_me:$LINENO: result: $ac_cv_cxx_const_cast" >&5
26247 echo "${ECHO_T}$ac_cv_cxx_const_cast" >&6; }
26248 if test "$ac_cv_cxx_const_cast" = yes; then
26250 cat >>confdefs.h <<\_ACEOF
26251 #define HAVE_CONST_CAST
26256 { echo "$as_me:$LINENO: checking whether the compiler supports reinterpret_cast<>" >&5
26257 echo $ECHO_N "checking whether the compiler supports reinterpret_cast<>... $ECHO_C" >&6; }
26258 if test "${ac_cv_cxx_reinterpret_cast+set}" = set; then
26259 echo $ECHO_N "(cached) $ECHO_C" >&6
26263 ac_cpp='$CXXCPP $CPPFLAGS'
26264 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
26265 ac_link='$CXX -o conftest
$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
26266 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26268 cat >conftest.$ac_ext <<_ACEOF
26271 cat confdefs.h >>conftest.$ac_ext
26272 cat >>conftest.$ac_ext <<_ACEOF
26273 /* end confdefs.h. */
26274 #include <typeinfo>
26275 class Base { public : Base () {} virtual void f () = 0;};
26276 class Derived : public Base { public : Derived () {} virtual void f () {} };
26277 class Unrelated { public : Unrelated () {} };
26278 int g (Unrelated&) { return 0; }
26283 Derived d;Base& b=d;Unrelated& e=reinterpret_cast<Unrelated&>(b);return g(e);
26288 rm -f conftest.$ac_objext
26289 if { (ac_try="$ac_compile"
26290 case "(($ac_try" in
26291 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26292 *) ac_try_echo=$ac_try;;
26294 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26295 (eval "$ac_compile") 2>conftest.er1
26297 grep -v '^
*+' conftest.er1 >conftest.err
26299 cat conftest.err >&5
26300 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26301 (exit $ac_status); } && {
26302 test -z "$ac_cxx_werror_flag" ||
26303 test ! -s conftest.err
26304 } && test -s conftest.$ac_objext; then
26305 ac_cv_cxx_reinterpret_cast=yes
26307 echo "$as_me: failed program was:" >&5
26308 sed 's
/^
/| /' conftest.$ac_ext >&5
26310 ac_cv_cxx_reinterpret_cast=no
26313 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26315 ac_cpp='$CPP $CPPFLAGS'
26316 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
26317 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
26318 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26322 { echo "$as_me:$LINENO: result: $ac_cv_cxx_reinterpret_cast" >&5
26323 echo "${ECHO_T}$ac_cv_cxx_reinterpret_cast" >&6; }
26324 if test "$ac_cv_cxx_reinterpret_cast" = yes; then
26326 cat >>confdefs.h <<\_ACEOF
26327 #define HAVE_REINTERPRET_CAST
26332 { echo "$as_me:$LINENO: checking whether the compiler supports static_cast<>" >&5
26333 echo $ECHO_N "checking whether the compiler supports static_cast<>... $ECHO_C" >&6; }
26334 if test "${ac_cv_cxx_static_cast+set}" = set; then
26335 echo $ECHO_N "(cached) $ECHO_C" >&6
26339 ac_cpp='$CXXCPP $CPPFLAGS'
26340 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
26341 ac_link='$CXX -o conftest
$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
26342 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26344 cat >conftest.$ac_ext <<_ACEOF
26347 cat confdefs.h >>conftest.$ac_ext
26348 cat >>conftest.$ac_ext <<_ACEOF
26349 /* end confdefs.h. */
26350 #include <typeinfo>
26351 class Base { public : Base () {} virtual void f () = 0; };
26352 class Derived : public Base { public : Derived () {} virtual void f () {} };
26353 int g (Derived&) { return 0; }
26358 Derived d; Base& b = d; Derived& s = static_cast<Derived&> (b); return g (s);
26363 rm -f conftest.$ac_objext
26364 if { (ac_try="$ac_compile"
26365 case "(($ac_try" in
26366 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26367 *) ac_try_echo=$ac_try;;
26369 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26370 (eval "$ac_compile") 2>conftest.er1
26372 grep -v '^
*+' conftest.er1 >conftest.err
26374 cat conftest.err >&5
26375 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26376 (exit $ac_status); } && {
26377 test -z "$ac_cxx_werror_flag" ||
26378 test ! -s conftest.err
26379 } && test -s conftest.$ac_objext; then
26380 ac_cv_cxx_static_cast=yes
26382 echo "$as_me: failed program was:" >&5
26383 sed 's
/^
/| /' conftest.$ac_ext >&5
26385 ac_cv_cxx_static_cast=no
26388 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26390 ac_cpp='$CPP $CPPFLAGS'
26391 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
26392 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
26393 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26397 { echo "$as_me:$LINENO: result: $ac_cv_cxx_static_cast" >&5
26398 echo "${ECHO_T}$ac_cv_cxx_static_cast" >&6; }
26399 if test "$ac_cv_cxx_static_cast" = yes; then
26401 cat >>confdefs.h <<\_ACEOF
26402 #define HAVE_STATIC_CAST
26408 if test "x$SUNCXX" = xyes; then
26409 CXXFLAGS="-features=tmplife $CXXFLAGS"
26412 if test "x$SUNCC" = xyes; then
26413 CFLAGS="-erroff=E_NO_EXPLICIT_TYPE_GIVEN $CFLAGS"
26416 if test "x$SGICC" = "xyes"; then
26417 CFLAGS="-woff 3970 $CFLAGS"
26419 if test "x$SGICXX" = "xyes"; then
26420 CXXFLAGS="-woff 3970 $CXXFLAGS"
26423 if test "x$HPCC" = "xyes"; then
26424 CFLAGS="+W 2011,2450 $CFLAGS"
26426 if test "x$HPCXX" = "xyes"; then
26427 CXXFLAGS="+W 2340 $CXXFLAGS"
26430 if test "x$COMPAQCXX" = "xyes"; then
26431 CXXFLAGS="-w0 -msg_disable basclsnondto,unrimpret,intconlosbit"
26435 ac_cpp='$CXXCPP $CPPFLAGS'
26436 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
26437 ac_link='$CXX -o conftest
$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
26438 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26441 if test "$wxUSE_STD_STRING" = "yes" -o "$wxUSE_STL" = "yes"; then
26442 if test "$wxUSE_UNICODE" = "yes"; then
26443 std_string="std::wstring"
26444 char_type="wchar_t"
26446 std_string="std::string"
26450 { echo "$as_me:$LINENO: checking for $std_string in <string>" >&5
26451 echo $ECHO_N "checking for $std_string in <string>... $ECHO_C" >&6; }
26452 if test "${wx_cv_class_stdstring+set}" = set; then
26453 echo $ECHO_N "(cached) $ECHO_C" >&6
26456 cat >conftest.$ac_ext <<_ACEOF
26459 cat confdefs.h >>conftest.$ac_ext
26460 cat >>conftest.$ac_ext <<_ACEOF
26461 /* end confdefs.h. */
26471 rm -f conftest.$ac_objext
26472 if { (ac_try="$ac_compile"
26473 case "(($ac_try" in
26474 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26475 *) ac_try_echo=$ac_try;;
26477 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26478 (eval "$ac_compile") 2>conftest.er1
26480 grep -v '^
*+' conftest.er1 >conftest.err
26482 cat conftest.err >&5
26483 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26484 (exit $ac_status); } && {
26485 test -z "$ac_cxx_werror_flag" ||
26486 test ! -s conftest.err
26487 } && test -s conftest.$ac_objext; then
26488 wx_cv_class_stdstring=yes
26490 echo "$as_me: failed program was:" >&5
26491 sed 's
/^
/| /' conftest.$ac_ext >&5
26493 wx_cv_class_stdstring=no
26497 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26501 { echo "$as_me:$LINENO: result: $wx_cv_class_stdstring" >&5
26502 echo "${ECHO_T}$wx_cv_class_stdstring" >&6; }
26504 if test "$wx_cv_class_stdstring" = yes; then
26505 if test "$wxUSE_UNICODE" = "yes"; then
26506 cat >>confdefs.h <<\_ACEOF
26507 #define HAVE_STD_WSTRING 1
26512 { echo "$as_me:$LINENO: checking if std::basic_string<$char_type> works" >&5
26513 echo $ECHO_N "checking if std::basic_string<$char_type> works... $ECHO_C" >&6; }
26514 if test "${wx_cv_class_stdbasicstring+set}" = set; then
26515 echo $ECHO_N "(cached) $ECHO_C" >&6
26518 cat >conftest.$ac_ext <<_ACEOF
26521 cat confdefs.h >>conftest.$ac_ext
26522 cat >>conftest.$ac_ext <<_ACEOF
26523 /* end confdefs.h. */
26525 #ifdef HAVE_WCHAR_H
26527 # include <stddef.h>
26529 # include <wchar.h>
26531 #ifdef HAVE_STDLIB_H
26532 # include <stdlib.h>
26540 std::basic_string<$char_type> foo;
26541 const $char_type* dummy = foo.c_str();
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
26563 wx_cv_class_stdbasicstring=yes
26565 echo "$as_me: failed program was:" >&5
26566 sed 's
/^
/| /' conftest.$ac_ext >&5
26568 wx_cv_class_stdbasicstring=no
26572 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26576 { echo "$as_me:$LINENO: result: $wx_cv_class_stdbasicstring" >&5
26577 echo "${ECHO_T}$wx_cv_class_stdbasicstring" >&6; }
26579 if test "$wx_cv_class_stdbasicstring" != yes; then
26580 if test "$wxUSE_STL" = "yes"; then
26581 { { echo "$as_me:$LINENO: error: Can't use
--enable-stl without
$std_string or std
::basic_string
<$char_type>" >&5
26582 echo "$as_me: error
: Can
't use --enable-stl without $std_string or std::basic_string<$char_type>" >&2;}
26583 { (exit 1); exit 1; }; }
26584 elif grep wxUSE_STD_STRING $wx_arg_cache_file >/dev/null; then
26585 { { echo "$as_me:$LINENO: error: Can't use
--enable-std_string without
$std_string or std
::basic_string
<$char_type>" >&5
26586 echo "$as_me: error
: Can
't use --enable-std_string without $std_string or std::basic_string<$char_type>" >&2;}
26587 { (exit 1); exit 1; }; }
26589 { echo "$as_me:$LINENO: WARNING: No $std_string or std::basic_string<$char_type>, switching to --disable-std_string" >&5
26590 echo "$as_me: WARNING: No $std_string or std::basic_string<$char_type>, switching to --disable-std_string" >&2;}
26591 wxUSE_STD_STRING=no
26597 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
26598 { echo "$as_me:$LINENO: checking for std::istream" >&5
26599 echo $ECHO_N "checking for std::istream... $ECHO_C" >&6; }
26600 if test "${ac_cv_type_std__istream+set}" = set; then
26601 echo $ECHO_N "(cached) $ECHO_C" >&6
26603 cat >conftest.$ac_ext <<_ACEOF
26606 cat confdefs.h >>conftest.$ac_ext
26607 cat >>conftest.$ac_ext <<_ACEOF
26608 /* end confdefs.h. */
26609 #include <iostream>
26611 typedef std::istream ac__type_new_;
26615 if ((ac__type_new_ *) 0)
26617 if (sizeof (ac__type_new_))
26623 rm -f conftest.$ac_objext
26624 if { (ac_try="$ac_compile"
26625 case "(($ac_try" in
26626 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26627 *) ac_try_echo=$ac_try;;
26629 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26630 (eval "$ac_compile") 2>conftest.er1
26632 grep -v '^
*+' conftest.er1 >conftest.err
26634 cat conftest.err >&5
26635 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26636 (exit $ac_status); } && {
26637 test -z "$ac_cxx_werror_flag" ||
26638 test ! -s conftest.err
26639 } && test -s conftest.$ac_objext; then
26640 ac_cv_type_std__istream=yes
26642 echo "$as_me: failed program was:" >&5
26643 sed 's
/^
/| /' conftest.$ac_ext >&5
26645 ac_cv_type_std__istream=no
26648 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26650 { echo "$as_me:$LINENO: result: $ac_cv_type_std__istream" >&5
26651 echo "${ECHO_T}$ac_cv_type_std__istream" >&6; }
26652 if test $ac_cv_type_std__istream = yes; then
26654 cat >>confdefs.h <<_ACEOF
26655 #define HAVE_STD__ISTREAM 1
26660 wxUSE_STD_IOSTREAM=no
26662 { echo "$as_me:$LINENO: checking for std::ostream" >&5
26663 echo $ECHO_N "checking for std::ostream... $ECHO_C" >&6; }
26664 if test "${ac_cv_type_std__ostream+set}" = set; then
26665 echo $ECHO_N "(cached) $ECHO_C" >&6
26667 cat >conftest.$ac_ext <<_ACEOF
26670 cat confdefs.h >>conftest.$ac_ext
26671 cat >>conftest.$ac_ext <<_ACEOF
26672 /* end confdefs.h. */
26673 #include <iostream>
26675 typedef std::ostream ac__type_new_;
26679 if ((ac__type_new_ *) 0)
26681 if (sizeof (ac__type_new_))
26687 rm -f conftest.$ac_objext
26688 if { (ac_try="$ac_compile"
26689 case "(($ac_try" in
26690 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26691 *) ac_try_echo=$ac_try;;
26693 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26694 (eval "$ac_compile") 2>conftest.er1
26696 grep -v '^
*+' conftest.er1 >conftest.err
26698 cat conftest.err >&5
26699 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26700 (exit $ac_status); } && {
26701 test -z "$ac_cxx_werror_flag" ||
26702 test ! -s conftest.err
26703 } && test -s conftest.$ac_objext; then
26704 ac_cv_type_std__ostream=yes
26706 echo "$as_me: failed program was:" >&5
26707 sed 's
/^
/| /' conftest.$ac_ext >&5
26709 ac_cv_type_std__ostream=no
26712 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26714 { echo "$as_me:$LINENO: result: $ac_cv_type_std__ostream" >&5
26715 echo "${ECHO_T}$ac_cv_type_std__ostream" >&6; }
26716 if test $ac_cv_type_std__ostream = yes; then
26718 cat >>confdefs.h <<_ACEOF
26719 #define HAVE_STD__OSTREAM 1
26724 wxUSE_STD_IOSTREAM=no
26728 if test "$wxUSE_STD_IOSTREAM" != "yes"; then
26729 if grep wxUSE_STD_IOSTREAM $wx_arg_cache_file >/dev/null; then
26730 { { echo "$as_me:$LINENO: error: Can't use
--enable-std_iostreams without std
::istream and std
::ostream
" >&5
26731 echo "$as_me: error
: Can
't use --enable-std_iostreams without std::istream and std::ostream" >&2;}
26732 { (exit 1); exit 1; }; }
26734 { echo "$as_me:$LINENO: WARNING: No std::iostreams, switching to --disable-std_iostreams" >&5
26735 echo "$as_me: WARNING: No std::iostreams, switching to --disable-std_iostreams" >&2;}
26740 if test "$wxUSE_STL" = "yes"; then
26741 { echo "$as_me:$LINENO: checking for basic STL functionality" >&5
26742 echo $ECHO_N "checking for basic STL functionality... $ECHO_C" >&6; }
26743 if test "${wx_cv_lib_stl+set}" = set; then
26744 echo $ECHO_N "(cached) $ECHO_C" >&6
26746 cat >conftest.$ac_ext <<_ACEOF
26749 cat confdefs.h >>conftest.$ac_ext
26750 cat >>conftest.$ac_ext <<_ACEOF
26751 /* end confdefs.h. */
26753 #include <functional>
26754 #include <algorithm>
26760 std::vector<int> moo;
26761 std::list<int> foo;
26762 std::vector<int>::iterator it =
26763 std::find_if(moo.begin(), moo.end(),
26764 std::bind2nd(std::less<int>(), 3));
26769 rm -f conftest.$ac_objext
26770 if { (ac_try="$ac_compile"
26771 case "(($ac_try" in
26772 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26773 *) ac_try_echo=$ac_try;;
26775 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26776 (eval "$ac_compile") 2>conftest.er1
26778 grep -v '^
*+' conftest.er1 >conftest.err
26780 cat conftest.err >&5
26781 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26782 (exit $ac_status); } && {
26783 test -z "$ac_cxx_werror_flag" ||
26784 test ! -s conftest.err
26785 } && test -s conftest.$ac_objext; then
26788 echo "$as_me: failed program was:" >&5
26789 sed 's
/^
/| /' conftest.$ac_ext >&5
26795 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26798 { echo "$as_me:$LINENO: result: $wx_cv_lib_stl" >&5
26799 echo "${ECHO_T}$wx_cv_lib_stl" >&6; }
26801 if test "$wx_cv_lib_stl" != yes; then
26802 { { echo "$as_me:$LINENO: error: Can't use
--enable-stl as basic STL functionality is missing
" >&5
26803 echo "$as_me: error
: Can
't use --enable-stl as basic STL functionality is missing" >&2;}
26804 { (exit 1); exit 1; }; }
26807 { echo "$as_me:$LINENO: checking for compliant std::string::compare" >&5
26808 echo $ECHO_N "checking for compliant std::string::compare... $ECHO_C" >&6; }
26809 if test "${wx_cv_func_stdstring_compare+set}" = set; then
26810 echo $ECHO_N "(cached) $ECHO_C" >&6
26812 cat >conftest.$ac_ext <<_ACEOF
26815 cat confdefs.h >>conftest.$ac_ext
26816 cat >>conftest.$ac_ext <<_ACEOF
26817 /* end confdefs.h. */
26822 std::string foo, bar;
26824 foo.compare(1, 1, bar);
26825 foo.compare(1, 1, bar, 1, 1);
26827 foo.compare(1, 1, "");
26828 foo.compare(1, 1, "", 2);
26833 rm -f conftest.$ac_objext
26834 if { (ac_try="$ac_compile"
26835 case "(($ac_try" in
26836 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26837 *) ac_try_echo=$ac_try;;
26839 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26840 (eval "$ac_compile") 2>conftest.er1
26842 grep -v '^
*+' conftest.er1 >conftest.err
26844 cat conftest.err >&5
26845 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26846 (exit $ac_status); } && {
26847 test -z "$ac_cxx_werror_flag" ||
26848 test ! -s conftest.err
26849 } && test -s conftest.$ac_objext; then
26850 wx_cv_func_stdstring_compare=yes
26852 echo "$as_me: failed program was:" >&5
26853 sed 's
/^
/| /' conftest.$ac_ext >&5
26855 wx_cv_func_stdstring_compare=no
26859 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26862 { echo "$as_me:$LINENO: result: $wx_cv_func_stdstring_compare" >&5
26863 echo "${ECHO_T}$wx_cv_func_stdstring_compare" >&6; }
26865 if test "$wx_cv_func_stdstring_compare" = yes; then
26866 cat >>confdefs.h <<\_ACEOF
26867 #define HAVE_STD_STRING_COMPARE 1
26872 { echo "$as_me:$LINENO: checking for hash_map" >&5
26873 echo $ECHO_N "checking for hash_map... $ECHO_C" >&6; }
26874 if test "${ac_cv_header_hash_map+set}" = set; then
26875 echo $ECHO_N "(cached) $ECHO_C" >&6
26877 cat >conftest.$ac_ext <<_ACEOF
26880 cat confdefs.h >>conftest.$ac_ext
26881 cat >>conftest.$ac_ext <<_ACEOF
26882 /* end confdefs.h. */
26886 #include <hash_map>
26888 rm -f conftest.$ac_objext
26889 if { (ac_try="$ac_compile"
26890 case "(($ac_try" in
26891 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26892 *) ac_try_echo=$ac_try;;
26894 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26895 (eval "$ac_compile") 2>conftest.er1
26897 grep -v '^
*+' conftest.er1 >conftest.err
26899 cat conftest.err >&5
26900 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26901 (exit $ac_status); } && {
26902 test -z "$ac_cxx_werror_flag" ||
26903 test ! -s conftest.err
26904 } && test -s conftest.$ac_objext; then
26905 ac_cv_header_hash_map=yes
26907 echo "$as_me: failed program was:" >&5
26908 sed 's
/^
/| /' conftest.$ac_ext >&5
26910 ac_cv_header_hash_map=no
26913 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26915 { echo "$as_me:$LINENO: result: $ac_cv_header_hash_map" >&5
26916 echo "${ECHO_T}$ac_cv_header_hash_map" >&6; }
26917 if test $ac_cv_header_hash_map = yes; then
26918 { echo "$as_me:$LINENO: checking for standard hash_map and hash_set" >&5
26919 echo $ECHO_N "checking for standard hash_map and hash_set... $ECHO_C" >&6; }
26920 if test "${wx_cv_class_stdhashmapset+set}" = set; then
26921 echo $ECHO_N "(cached) $ECHO_C" >&6
26923 cat >conftest.$ac_ext <<_ACEOF
26926 cat confdefs.h >>conftest.$ac_ext
26927 cat >>conftest.$ac_ext <<_ACEOF
26928 /* end confdefs.h. */
26929 #include <hash_map>
26930 #include <hash_set>
26934 std::hash_map<double*, char*, std::hash<double*>, std::equal_to<double*> > test1;
26935 std::hash_set<char*, std::hash<char*>, std::equal_to<char*> > test2;
26940 rm -f conftest.$ac_objext
26941 if { (ac_try="$ac_compile"
26942 case "(($ac_try" in
26943 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26944 *) ac_try_echo=$ac_try;;
26946 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26947 (eval "$ac_compile") 2>conftest.er1
26949 grep -v '^
*+' conftest.er1 >conftest.err
26951 cat conftest.err >&5
26952 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26953 (exit $ac_status); } && {
26954 test -z "$ac_cxx_werror_flag" ||
26955 test ! -s conftest.err
26956 } && test -s conftest.$ac_objext; then
26957 wx_cv_class_stdhashmapset=yes
26959 echo "$as_me: failed program was:" >&5
26960 sed 's
/^
/| /' conftest.$ac_ext >&5
26962 wx_cv_class_stdhashmapset=no
26965 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26969 { echo "$as_me:$LINENO: result: $wx_cv_class_stdhashmapset" >&5
26970 echo "${ECHO_T}$wx_cv_class_stdhashmapset" >&6; }
26975 if test "$wx_cv_class_stdhashmapset" = yes; then
26976 cat >>confdefs.h <<\_ACEOF
26977 #define HAVE_HASH_MAP 1
26980 cat >>confdefs.h <<\_ACEOF
26981 #define HAVE_STD_HASH_MAP 1
26986 { echo "$as_me:$LINENO: checking for ext/hash_map" >&5
26987 echo $ECHO_N "checking for ext/hash_map... $ECHO_C" >&6; }
26988 if test "${ac_cv_header_ext_hash_map+set}" = set; then
26989 echo $ECHO_N "(cached) $ECHO_C" >&6
26991 cat >conftest.$ac_ext <<_ACEOF
26994 cat confdefs.h >>conftest.$ac_ext
26995 cat >>conftest.$ac_ext <<_ACEOF
26996 /* end confdefs.h. */
27000 #include <ext/hash_map>
27002 rm -f conftest.$ac_objext
27003 if { (ac_try="$ac_compile"
27004 case "(($ac_try" in
27005 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27006 *) ac_try_echo=$ac_try;;
27008 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27009 (eval "$ac_compile") 2>conftest.er1
27011 grep -v '^
*+' conftest.er1 >conftest.err
27013 cat conftest.err >&5
27014 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27015 (exit $ac_status); } && {
27016 test -z "$ac_cxx_werror_flag" ||
27017 test ! -s conftest.err
27018 } && test -s conftest.$ac_objext; then
27019 ac_cv_header_ext_hash_map=yes
27021 echo "$as_me: failed program was:" >&5
27022 sed 's
/^
/| /' conftest.$ac_ext >&5
27024 ac_cv_header_ext_hash_map=no
27027 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27029 { echo "$as_me:$LINENO: result: $ac_cv_header_ext_hash_map" >&5
27030 echo "${ECHO_T}$ac_cv_header_ext_hash_map" >&6; }
27031 if test $ac_cv_header_ext_hash_map = yes; then
27032 { echo "$as_me:$LINENO: checking for GNU hash_map and hash_set" >&5
27033 echo $ECHO_N "checking for GNU hash_map and hash_set... $ECHO_C" >&6; }
27034 if test "${wx_cv_class_gnuhashmapset+set}" = set; then
27035 echo $ECHO_N "(cached) $ECHO_C" >&6
27037 cat >conftest.$ac_ext <<_ACEOF
27040 cat confdefs.h >>conftest.$ac_ext
27041 cat >>conftest.$ac_ext <<_ACEOF
27042 /* end confdefs.h. */
27043 #include <ext/hash_map>
27044 #include <ext/hash_set>
27048 __gnu_cxx::hash_map<double*, char*, __gnu_cxx::hash<double*>, std::equal_to<double*> > test1;
27049 __gnu_cxx::hash_set<char*, __gnu_cxx::hash<char*>, std::equal_to<char*> > test2;
27054 rm -f conftest.$ac_objext
27055 if { (ac_try="$ac_compile"
27056 case "(($ac_try" in
27057 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27058 *) ac_try_echo=$ac_try;;
27060 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27061 (eval "$ac_compile") 2>conftest.er1
27063 grep -v '^
*+' conftest.er1 >conftest.err
27065 cat conftest.err >&5
27066 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27067 (exit $ac_status); } && {
27068 test -z "$ac_cxx_werror_flag" ||
27069 test ! -s conftest.err
27070 } && test -s conftest.$ac_objext; then
27071 wx_cv_class_gnuhashmapset=yes
27073 echo "$as_me: failed program was:" >&5
27074 sed 's
/^
/| /' conftest.$ac_ext >&5
27076 wx_cv_class_gnuhashmapset=no
27079 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27083 { echo "$as_me:$LINENO: result: $wx_cv_class_gnuhashmapset" >&5
27084 echo "${ECHO_T}$wx_cv_class_gnuhashmapset" >&6; }
27089 if test "$wx_cv_class_gnuhashmapset" = yes; then
27090 cat >>confdefs.h <<\_ACEOF
27091 #define HAVE_EXT_HASH_MAP 1
27094 cat >>confdefs.h <<\_ACEOF
27095 #define HAVE_GNU_CXX_HASH_MAP 1
27102 ac_cpp='$CPP $CPPFLAGS'
27103 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
27104 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
27105 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27110 /usr/local/include \
27112 /usr/Motif-2.1/include \
27113 /usr/Motif-1.2/include \
27114 /usr/include/Motif1.2 \
27117 /usr/openwin/include \
27121 /usr/X11R6/include \
27122 /usr/X11R6.4/include \
27123 /usr/X11R5/include \
27124 /usr/X11R4/include \
27126 /usr/include/X11R6 \
27127 /usr/include/X11R5 \
27128 /usr/include/X11R4 \
27130 /usr/local/X11R6/include \
27131 /usr/local/X11R5/include \
27132 /usr/local/X11R4/include \
27134 /usr/local/include/X11R6 \
27135 /usr/local/include/X11R5 \
27136 /usr/local/include/X11R4 \
27140 /usr/local/X11/include \
27141 /usr/local/include/X11 \
27143 /usr/XFree86/include/X11 \
27146 /usr/openwin/share/include"
27148 { echo "$as_me:$LINENO: checking for libraries directory" >&5
27149 echo $ECHO_N "checking for libraries directory... $ECHO_C" >&6; }
27153 if test "${wx_cv_std_libpath+set}" = set; then
27154 echo $ECHO_N "(cached) $ECHO_C" >&6
27157 for d in /usr/lib /usr/lib32 /usr/lib/64 /usr/lib64; do
27158 for e in a so sl dylib dll.a; do
27160 if test -f $libc; then
27163 cat >conftest.$ac_ext <<_ACEOF
27164 int main() { return 0; }
27166 rm -f conftest.$ac_objext conftest$ac_exeext
27167 if { (ac_try="$ac_link"
27168 case "(($ac_try" in
27169 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27170 *) ac_try_echo=$ac_try;;
27172 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27173 (eval "$ac_link") 2>conftest.er1
27175 grep -v '^
*+' conftest.er1 >conftest.err
27177 cat conftest.err >&5
27178 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27179 (exit $ac_status); } && {
27180 test -z "$ac_c_werror_flag" ||
27181 test ! -s conftest.err
27182 } && test -s conftest$ac_exeext &&
27183 $as_test_x conftest$ac_exeext; then
27184 wx_cv_std_libpath=`echo $d | sed s@/usr/@@`
27186 echo "$as_me: failed program was:" >&5
27187 sed 's
/^
/| /' conftest.$ac_ext >&5
27192 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27193 conftest$ac_exeext conftest.$ac_ext
27195 if test "x$wx_cv_std_libpath" != "x"; then
27201 if test "x$wx_cv_std_libpath" = "x"; then
27202 wx_cv_std_libpath="lib"
27211 if test "$ac_cv_sizeof_void_p" = 8 -a -d "/usr/lib/64"; then
27212 wx_cv_std_libpath="lib/64"
27214 wx_cv_std_libpath="lib"
27219 if test "$ac_cv_sizeof_void_p" = 8 -a \
27220 -d "/usr/lib64" -a ! -h "/usr/lib64"; then
27221 wx_cv_std_libpath="lib64"
27223 wx_cv_std_libpath="lib"
27228 wx_cv_std_libpath="lib";
27232 { echo "$as_me:$LINENO: result: $wx_cv_std_libpath" >&5
27233 echo "${ECHO_T}$wx_cv_std_libpath" >&6; }
27235 SEARCH_LIB="`echo "$SEARCH_INCLUDE" | sed s@include@$wx_cv_std_libpath@g` /usr/$wx_cv_std_libpath"
27237 if test "$build" != "$host" -a "$GCC" = yes; then
27238 if cross_root=`$CC -print-prog-name=ld 2>/dev/null`; then
27239 cross_root=`dirname $cross_root`
27240 cross_root=`dirname $cross_root`
27242 SEARCH_LIB=`for x in $SEARCH_LIB; do echo $x; done | sed -ne "s|^/usr|$cross_root|p"`
27243 SEARCH_INCLUDE=`for x in $SEARCH_INCLUDE; do echo $x; done | sed -ne "s|^/usr|$cross_root|p"`
27244 SEARCH_INCLUDE="$SEARCH_INCLUDE $cross_root/include"
27246 if test -z "$PKG_CONFIG_PATH"; then
27247 PKG_CONFIG_PATH="$cross_root/local/lib/pkgconfig:$cross_root/lib/pkgconfig"
27248 export PKG_CONFIG_PATH
27251 if test -z "$x_includes" -o "$x_includes" = NONE; then
27254 for ac_dir in $SEARCH_INCLUDE /usr/include;
27256 if test -f "$ac_dir/X11/Intrinsic.h"; then
27257 ac_find_includes=$ac_dir
27262 x_includes=$ac_find_includes
27264 if test -z "$x_libraries" -o "$x_libraries" = NONE; then
27267 for ac_dir in $SEARCH_LIB;
27269 for ac_extension in a so sl dylib dll.a; do
27270 if test -f "$ac_dir/libXt.$ac_extension"; then
27271 ac_find_libraries=$ac_dir
27277 x_libraries=$ac_find_libraries
27283 cat >confcache <<\_ACEOF
27284 # This file is a shell script that caches the results of configure
27285 # tests run on this system so they can be shared between configure
27286 # scripts and configure runs, see configure's option
--config-cache.
27287 # It is not useful on other systems. If it contains results you don't
27288 # want to keep, you may remove or edit it.
27290 # config.status only pays attention to the cache file if you give it
27291 # the --recheck option to rerun configure.
27293 # `ac_cv_env_foo' variables (set or unset) will be overridden when
27294 # loading this file, other *unset* `ac_cv_foo' will be assigned the
27295 # following values.
27299 # The following way of writing the cache mishandles newlines in values,
27300 # but we know of no workaround that is simple, portable, and efficient.
27301 # So, we kill variables containing newlines.
27302 # Ultrix sh set writes to stderr and can't be redirected directly,
27303 # and sets the high bit in the cache file unless we assign to the vars.
27305 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
27306 eval ac_val
=\$
$ac_var
27310 *_cv_
*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
27311 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
27314 _
| IFS
| as_nl
) ;; #(
27315 *) $as_unset $ac_var ;;
27321 case $as_nl`(ac_space=' '; set) 2>&1` in #(
27322 *${as_nl}ac_space
=\
*)
27323 # `set' does not quote correctly, so add quotes (double-quote
27324 # substitution turns \\\\ into \\, and sed turns \\ into \).
27327 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
27330 # `set' quotes correctly as required by POSIX, so do not add quotes.
27331 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
27340 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
27342 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
27344 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
27345 if test -w "$cache_file"; then
27346 test "x$cache_file" != "x/dev/null" &&
27347 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
27348 echo "$as_me: updating cache $cache_file" >&6;}
27349 cat confcache
>$cache_file
27351 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
27352 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
27357 if test "$USE_LINUX" = 1 -o "$USE_GNU" = 1; then
27358 { echo "$as_me:$LINENO: checking for glibc 2.1 or later" >&5
27359 echo $ECHO_N "checking for glibc 2.1 or later... $ECHO_C" >&6; }
27360 if test "${wx_cv_lib_glibc21+set}" = set; then
27361 echo $ECHO_N "(cached) $ECHO_C" >&6
27364 cat >conftest.
$ac_ext <<_ACEOF
27367 cat confdefs.h
>>conftest.
$ac_ext
27368 cat >>conftest.
$ac_ext <<_ACEOF
27369 /* end confdefs.h. */
27370 #include <features.h>
27375 #if (__GLIBC__ < 2) || (__GLIBC_MINOR__ < 1)
27383 rm -f conftest.
$ac_objext
27384 if { (ac_try
="$ac_compile"
27385 case "(($ac_try" in
27386 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
27387 *) ac_try_echo=$ac_try;;
27389 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27390 (eval "$ac_compile") 2>conftest.er1
27392 grep -v '^ *+' conftest.er1 >conftest.err
27394 cat conftest.err >&5
27395 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27396 (exit $ac_status); } && {
27397 test -z "$ac_c_werror_flag" ||
27398 test ! -s conftest.err
27399 } && test -s conftest.$ac_objext; then
27401 wx_cv_lib_glibc21=yes
27404 echo "$as_me: failed program was:" >&5
27405 sed 's/^/| /' conftest.$ac_ext >&5
27408 wx_cv_lib_glibc21=no
27413 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27416 { echo "$as_me:$LINENO: result: $wx_cv_lib_glibc21" >&5
27417 echo "${ECHO_T}$wx_cv_lib_glibc21" >&6; }
27418 if test "$wx_cv_lib_glibc21" = "yes"; then
27419 cat >>confdefs.h <<\_ACEOF
27420 #define wxHAVE_GLIBC2 1
27426 if test "x$wx_cv_lib_glibc21" = "xyes"; then
27427 if test "$wxUSE_UNICODE" = "yes" -o "$wxUSE_THREADS" = "yes"; then
27428 cat >>confdefs.h <<\_ACEOF
27429 #define _GNU_SOURCE 1
27440 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27441 { echo "$as_me:$LINENO: checking for $ac_func" >&5
27442 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
27443 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
27444 echo $ECHO_N "(cached) $ECHO_C" >&6
27446 cat >conftest.$ac_ext <<_ACEOF
27449 cat confdefs.h >>conftest.$ac_ext
27450 cat >>conftest.$ac_ext <<_ACEOF
27451 /* end confdefs.h. */
27452 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
27453 For example, HP-UX 11i <limits.h> declares gettimeofday. */
27454 #define $ac_func innocuous_$ac_func
27456 /* System header to define __stub macros and hopefully few prototypes,
27457 which can conflict with char $ac_func (); below.
27458 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27459 <limits.h> exists even on freestanding compilers. */
27462 # include <limits.h>
27464 # include <assert.h>
27469 /* Override any GCC internal prototype to avoid an error.
27470 Use char because int might match the return type of a GCC
27471 builtin and then its argument prototype would still apply. */
27476 /* The GNU C library defines this for functions which it implements
27477 to always fail with ENOSYS. Some functions are actually named
27478 something starting with __ and the normal name is an alias. */
27479 #if defined __stub_$ac_func || defined __stub___$ac_func
27486 return $ac_func ();
27491 rm -f conftest.$ac_objext conftest$ac_exeext
27492 if { (ac_try="$ac_link"
27493 case "(($ac_try" in
27494 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
27495 *) ac_try_echo
=$ac_try;;
27497 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27498 (eval "$ac_link") 2>conftest.er1
27500 grep -v '^ *+' conftest.er1
>conftest.err
27502 cat conftest.err
>&5
27503 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27504 (exit $ac_status); } && {
27505 test -z "$ac_c_werror_flag" ||
27506 test ! -s conftest.err
27507 } && test -s conftest
$ac_exeext &&
27508 $as_test_x conftest
$ac_exeext; then
27509 eval "$as_ac_var=yes"
27511 echo "$as_me: failed program was:" >&5
27512 sed 's/^/| /' conftest.
$ac_ext >&5
27514 eval "$as_ac_var=no"
27517 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
27518 conftest
$ac_exeext conftest.
$ac_ext
27520 ac_res
=`eval echo '${'$as_ac_var'}'`
27521 { echo "$as_me:$LINENO: result: $ac_res" >&5
27522 echo "${ECHO_T}$ac_res" >&6; }
27523 if test `eval echo '${'$as_ac_var'}'` = yes; then
27524 cat >>confdefs.h
<<_ACEOF
27525 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27532 for ac_func
in floor
27534 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27535 { echo "$as_me:$LINENO: checking for $ac_func" >&5
27536 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
27537 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
27538 echo $ECHO_N "(cached) $ECHO_C" >&6
27540 cat >conftest.
$ac_ext <<_ACEOF
27543 cat confdefs.h
>>conftest.
$ac_ext
27544 cat >>conftest.
$ac_ext <<_ACEOF
27545 /* end confdefs.h. */
27546 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
27547 For example, HP-UX 11i <limits.h> declares gettimeofday. */
27548 #define $ac_func innocuous_$ac_func
27550 /* System header to define __stub macros and hopefully few prototypes,
27551 which can conflict with char $ac_func (); below.
27552 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27553 <limits.h> exists even on freestanding compilers. */
27556 # include <limits.h>
27558 # include <assert.h>
27563 /* Override any GCC internal prototype to avoid an error.
27564 Use char because int might match the return type of a GCC
27565 builtin and then its argument prototype would still apply. */
27570 /* The GNU C library defines this for functions which it implements
27571 to always fail with ENOSYS. Some functions are actually named
27572 something starting with __ and the normal name is an alias. */
27573 #if defined __stub_$ac_func || defined __stub___$ac_func
27580 return $ac_func ();
27585 rm -f conftest.
$ac_objext conftest
$ac_exeext
27586 if { (ac_try
="$ac_link"
27587 case "(($ac_try" in
27588 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
27589 *) ac_try_echo=$ac_try;;
27591 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27592 (eval "$ac_link") 2>conftest.er1
27594 grep -v '^ *+' conftest.er1 >conftest.err
27596 cat conftest.err >&5
27597 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27598 (exit $ac_status); } && {
27599 test -z "$ac_c_werror_flag" ||
27600 test ! -s conftest.err
27601 } && test -s conftest$ac_exeext &&
27602 $as_test_x conftest$ac_exeext; then
27603 eval "$as_ac_var=yes"
27605 echo "$as_me: failed program was:" >&5
27606 sed 's/^/| /' conftest.$ac_ext >&5
27608 eval "$as_ac_var=no"
27611 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27612 conftest$ac_exeext conftest.$ac_ext
27614 ac_res=`eval echo '${'$as_ac_var'}'`
27615 { echo "$as_me:$LINENO: result: $ac_res" >&5
27616 echo "${ECHO_T}$ac_res" >&6; }
27617 if test `eval echo '${'$as_ac_var'}'` = yes; then
27618 cat >>confdefs.h <<_ACEOF
27619 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27625 { echo "$as_me:$LINENO: checking if floating point functions link without -lm" >&5
27626 echo $ECHO_N "checking if floating point functions link without -lm... $ECHO_C" >&6; }
27627 if test "$have_cos" = 1 -a "$have_floor" = 1; then
27628 { echo "$as_me:$LINENO: result: yes" >&5
27629 echo "${ECHO_T}yes" >&6; }
27631 { echo "$as_me:$LINENO: result: no" >&5
27632 echo "${ECHO_T}no" >&6; }
27634 # use different functions to avoid configure caching
27640 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27641 { echo "$as_me:$LINENO: checking for $ac_func" >&5
27642 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
27643 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
27644 echo $ECHO_N "(cached) $ECHO_C" >&6
27646 cat >conftest.$ac_ext <<_ACEOF
27649 cat confdefs.h >>conftest.$ac_ext
27650 cat >>conftest.$ac_ext <<_ACEOF
27651 /* end confdefs.h. */
27652 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
27653 For example, HP-UX 11i <limits.h> declares gettimeofday. */
27654 #define $ac_func innocuous_$ac_func
27656 /* System header to define __stub macros and hopefully few prototypes,
27657 which can conflict with char $ac_func (); below.
27658 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27659 <limits.h> exists even on freestanding compilers. */
27662 # include <limits.h>
27664 # include <assert.h>
27669 /* Override any GCC internal prototype to avoid an error.
27670 Use char because int might match the return type of a GCC
27671 builtin and then its argument prototype would still apply. */
27676 /* The GNU C library defines this for functions which it implements
27677 to always fail with ENOSYS. Some functions are actually named
27678 something starting with __ and the normal name is an alias. */
27679 #if defined __stub_$ac_func || defined __stub___$ac_func
27686 return $ac_func ();
27691 rm -f conftest.$ac_objext conftest$ac_exeext
27692 if { (ac_try="$ac_link"
27693 case "(($ac_try" in
27694 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
27695 *) ac_try_echo
=$ac_try;;
27697 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27698 (eval "$ac_link") 2>conftest.er1
27700 grep -v '^ *+' conftest.er1
>conftest.err
27702 cat conftest.err
>&5
27703 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27704 (exit $ac_status); } && {
27705 test -z "$ac_c_werror_flag" ||
27706 test ! -s conftest.err
27707 } && test -s conftest
$ac_exeext &&
27708 $as_test_x conftest
$ac_exeext; then
27709 eval "$as_ac_var=yes"
27711 echo "$as_me: failed program was:" >&5
27712 sed 's/^/| /' conftest.
$ac_ext >&5
27714 eval "$as_ac_var=no"
27717 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
27718 conftest
$ac_exeext conftest.
$ac_ext
27720 ac_res
=`eval echo '${'$as_ac_var'}'`
27721 { echo "$as_me:$LINENO: result: $ac_res" >&5
27722 echo "${ECHO_T}$ac_res" >&6; }
27723 if test `eval echo '${'$as_ac_var'}'` = yes; then
27724 cat >>confdefs.h
<<_ACEOF
27725 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27732 for ac_func
in ceil
27734 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27735 { echo "$as_me:$LINENO: checking for $ac_func" >&5
27736 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
27737 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
27738 echo $ECHO_N "(cached) $ECHO_C" >&6
27740 cat >conftest.
$ac_ext <<_ACEOF
27743 cat confdefs.h
>>conftest.
$ac_ext
27744 cat >>conftest.
$ac_ext <<_ACEOF
27745 /* end confdefs.h. */
27746 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
27747 For example, HP-UX 11i <limits.h> declares gettimeofday. */
27748 #define $ac_func innocuous_$ac_func
27750 /* System header to define __stub macros and hopefully few prototypes,
27751 which can conflict with char $ac_func (); below.
27752 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27753 <limits.h> exists even on freestanding compilers. */
27756 # include <limits.h>
27758 # include <assert.h>
27763 /* Override any GCC internal prototype to avoid an error.
27764 Use char because int might match the return type of a GCC
27765 builtin and then its argument prototype would still apply. */
27770 /* The GNU C library defines this for functions which it implements
27771 to always fail with ENOSYS. Some functions are actually named
27772 something starting with __ and the normal name is an alias. */
27773 #if defined __stub_$ac_func || defined __stub___$ac_func
27780 return $ac_func ();
27785 rm -f conftest.
$ac_objext conftest
$ac_exeext
27786 if { (ac_try
="$ac_link"
27787 case "(($ac_try" in
27788 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
27789 *) ac_try_echo=$ac_try;;
27791 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27792 (eval "$ac_link") 2>conftest.er1
27794 grep -v '^ *+' conftest.er1 >conftest.err
27796 cat conftest.err >&5
27797 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27798 (exit $ac_status); } && {
27799 test -z "$ac_c_werror_flag" ||
27800 test ! -s conftest.err
27801 } && test -s conftest$ac_exeext &&
27802 $as_test_x conftest$ac_exeext; then
27803 eval "$as_ac_var=yes"
27805 echo "$as_me: failed program was:" >&5
27806 sed 's/^/| /' conftest.$ac_ext >&5
27808 eval "$as_ac_var=no"
27811 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27812 conftest$ac_exeext conftest.$ac_ext
27814 ac_res=`eval echo '${'$as_ac_var'}'`
27815 { echo "$as_me:$LINENO: result: $ac_res" >&5
27816 echo "${ECHO_T}$ac_res" >&6; }
27817 if test `eval echo '${'$as_ac_var'}'` = yes; then
27818 cat >>confdefs.h <<_ACEOF
27819 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27825 { echo "$as_me:$LINENO: checking if floating point functions link with -lm" >&5
27826 echo $ECHO_N "checking if floating point functions link with -lm... $ECHO_C" >&6; }
27827 if test "$have_sin" = 1 -a "$have_ceil" = 1; then
27828 { echo "$as_me:$LINENO: result: yes" >&5
27829 echo "${ECHO_T}yes" >&6; }
27831 { echo "$as_me:$LINENO: result: no" >&5
27832 echo "${ECHO_T}no" >&6; }
27833 # not sure we should warn the user, crash, etc.
27838 ac_cpp='$CXXCPP $CPPFLAGS'
27839 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27840 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27841 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27843 if test "wxUSE_UNICODE" = "yes"; then
27845 for wx_func in wcstoull
27847 { echo "$as_me:$LINENO: checking for $wx_func" >&5
27848 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
27849 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
27850 echo $ECHO_N "(cached) $ECHO_C" >&6
27853 cat >conftest.$ac_ext <<_ACEOF
27857 cat confdefs.h >>conftest.$ac_ext
27858 cat >>conftest.$ac_ext <<_ACEOF
27859 /* end confdefs.h. */
27862 $ac_includes_default
27878 rm -f conftest.$ac_objext conftest$ac_exeext
27879 if { (ac_try="$ac_link"
27880 case "(($ac_try" in
27881 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
27882 *) ac_try_echo
=$ac_try;;
27884 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27885 (eval "$ac_link") 2>conftest.er1
27887 grep -v '^ *+' conftest.er1
>conftest.err
27889 cat conftest.err
>&5
27890 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27891 (exit $ac_status); } && {
27892 test -z "$ac_cxx_werror_flag" ||
27893 test ! -s conftest.err
27894 } && test -s conftest
$ac_exeext &&
27895 $as_test_x conftest
$ac_exeext; then
27896 eval wx_cv_func_
$wx_func=yes
27898 echo "$as_me: failed program was:" >&5
27899 sed 's/^/| /' conftest.
$ac_ext >&5
27901 eval wx_cv_func_
$wx_func=no
27904 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
27905 conftest
$ac_exeext conftest.
$ac_ext
27908 ac_res
=`eval echo '${'wx_cv_func_$wx_func'}'`
27909 { echo "$as_me:$LINENO: result: $ac_res" >&5
27910 echo "${ECHO_T}$ac_res" >&6; }
27912 if eval test \
$wx_cv_func_$wx_func = yes
27914 cat >>confdefs.h
<<_ACEOF
27915 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
27927 for wx_func
in strtoull
27929 { echo "$as_me:$LINENO: checking for $wx_func" >&5
27930 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
27931 if { as_var
=wx_cv_func_
$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
27932 echo $ECHO_N "(cached) $ECHO_C" >&6
27935 cat >conftest.
$ac_ext <<_ACEOF
27939 cat confdefs.h
>>conftest.
$ac_ext
27940 cat >>conftest.
$ac_ext <<_ACEOF
27941 /* end confdefs.h. */
27944 $ac_includes_default
27960 rm -f conftest.
$ac_objext conftest
$ac_exeext
27961 if { (ac_try
="$ac_link"
27962 case "(($ac_try" in
27963 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
27964 *) ac_try_echo=$ac_try;;
27966 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27967 (eval "$ac_link") 2>conftest.er1
27969 grep -v '^ *+' conftest.er1 >conftest.err
27971 cat conftest.err >&5
27972 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27973 (exit $ac_status); } && {
27974 test -z "$ac_cxx_werror_flag" ||
27975 test ! -s conftest.err
27976 } && test -s conftest$ac_exeext &&
27977 $as_test_x conftest$ac_exeext; then
27978 eval wx_cv_func_$wx_func=yes
27980 echo "$as_me: failed program was:" >&5
27981 sed 's/^/| /' conftest.$ac_ext >&5
27983 eval wx_cv_func_$wx_func=no
27986 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27987 conftest$ac_exeext conftest.$ac_ext
27990 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
27991 { echo "$as_me:$LINENO: result: $ac_res" >&5
27992 echo "${ECHO_T}$ac_res" >&6; }
27994 if eval test \$wx_cv_func_$wx_func = yes
27996 cat >>confdefs.h <<_ACEOF
27997 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
28009 ac_cpp='$CPP $CPPFLAGS'
28010 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28011 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28012 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28017 if test "$wxUSE_REGEX" != "no"; then
28018 cat >>confdefs.h <<\_ACEOF
28019 #define wxUSE_REGEX 1
28023 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_REGEX" = "yes"; then
28024 { echo "$as_me:$LINENO: WARNING: Defaulting to the the builtin regex library for Unicode build." >&5
28025 echo "$as_me: WARNING: Defaulting to the the builtin regex library for Unicode build." >&2;}
28026 wxUSE_REGEX=builtin
28029 if test "$wxUSE_REGEX" = "sys" -o "$wxUSE_REGEX" = "yes" ; then
28030 { echo "$as_me:$LINENO: checking for regex.h" >&5
28031 echo $ECHO_N "checking for regex.h... $ECHO_C" >&6; }
28032 if test "${ac_cv_header_regex_h+set}" = set; then
28033 echo $ECHO_N "(cached) $ECHO_C" >&6
28035 cat >conftest.$ac_ext <<_ACEOF
28038 cat confdefs.h >>conftest.$ac_ext
28039 cat >>conftest.$ac_ext <<_ACEOF
28040 /* end confdefs.h. */
28045 rm -f conftest.$ac_objext
28046 if { (ac_try="$ac_compile"
28047 case "(($ac_try" in
28048 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
28049 *) ac_try_echo
=$ac_try;;
28051 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28052 (eval "$ac_compile") 2>conftest.er1
28054 grep -v '^ *+' conftest.er1
>conftest.err
28056 cat conftest.err
>&5
28057 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28058 (exit $ac_status); } && {
28059 test -z "$ac_c_werror_flag" ||
28060 test ! -s conftest.err
28061 } && test -s conftest.
$ac_objext; then
28062 ac_cv_header_regex_h
=yes
28064 echo "$as_me: failed program was:" >&5
28065 sed 's/^/| /' conftest.
$ac_ext >&5
28067 ac_cv_header_regex_h
=no
28070 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
28072 { echo "$as_me:$LINENO: result: $ac_cv_header_regex_h" >&5
28073 echo "${ECHO_T}$ac_cv_header_regex_h" >&6; }
28074 if test $ac_cv_header_regex_h = yes; then
28077 for ac_func
in regcomp re_search
28079 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28080 { echo "$as_me:$LINENO: checking for $ac_func" >&5
28081 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
28082 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
28083 echo $ECHO_N "(cached) $ECHO_C" >&6
28085 cat >conftest.
$ac_ext <<_ACEOF
28088 cat confdefs.h
>>conftest.
$ac_ext
28089 cat >>conftest.
$ac_ext <<_ACEOF
28090 /* end confdefs.h. */
28091 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
28092 For example, HP-UX 11i <limits.h> declares gettimeofday. */
28093 #define $ac_func innocuous_$ac_func
28095 /* System header to define __stub macros and hopefully few prototypes,
28096 which can conflict with char $ac_func (); below.
28097 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28098 <limits.h> exists even on freestanding compilers. */
28101 # include <limits.h>
28103 # include <assert.h>
28108 /* Override any GCC internal prototype to avoid an error.
28109 Use char because int might match the return type of a GCC
28110 builtin and then its argument prototype would still apply. */
28115 /* The GNU C library defines this for functions which it implements
28116 to always fail with ENOSYS. Some functions are actually named
28117 something starting with __ and the normal name is an alias. */
28118 #if defined __stub_$ac_func || defined __stub___$ac_func
28125 return $ac_func ();
28130 rm -f conftest.
$ac_objext conftest
$ac_exeext
28131 if { (ac_try
="$ac_link"
28132 case "(($ac_try" in
28133 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
28134 *) ac_try_echo=$ac_try;;
28136 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28137 (eval "$ac_link") 2>conftest.er1
28139 grep -v '^ *+' conftest.er1 >conftest.err
28141 cat conftest.err >&5
28142 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28143 (exit $ac_status); } && {
28144 test -z "$ac_c_werror_flag" ||
28145 test ! -s conftest.err
28146 } && test -s conftest$ac_exeext &&
28147 $as_test_x conftest$ac_exeext; then
28148 eval "$as_ac_var=yes"
28150 echo "$as_me: failed program was:" >&5
28151 sed 's/^/| /' conftest.$ac_ext >&5
28153 eval "$as_ac_var=no"
28156 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28157 conftest$ac_exeext conftest.$ac_ext
28159 ac_res=`eval echo '${'$as_ac_var'}'`
28160 { echo "$as_me:$LINENO: result: $ac_res" >&5
28161 echo "${ECHO_T}$ac_res" >&6; }
28162 if test `eval echo '${'$as_ac_var'}'` = yes; then
28163 cat >>confdefs.h <<_ACEOF
28164 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28174 if test "x$ac_cv_func_regcomp" != "xyes"; then
28175 if test "$wxUSE_REGEX" = "sys" ; then
28176 { { echo "$as_me:$LINENO: error: system regex library not found! Use --with-regex to use built-in version" >&5
28177 echo "$as_me: error: system regex library not found! Use --with-regex to use built-in version" >&2;}
28178 { (exit 1); exit 1; }; }
28180 { echo "$as_me:$LINENO: WARNING: system regex library not found, will use built-in instead" >&5
28181 echo "$as_me: WARNING: system regex library not found, will use built-in instead" >&2;}
28182 wxUSE_REGEX=builtin
28186 cat >>confdefs.h <<\_ACEOF
28187 #define WX_NO_REGEX_ADVANCED 1
28196 if test "$wxUSE_ZLIB" != "no" ; then
28197 cat >>confdefs.h <<\_ACEOF
28198 #define wxUSE_ZLIB 1
28202 if test "$wxUSE_ZLIB" = "sys" -o "$wxUSE_ZLIB" = "yes" ; then
28203 if test "$USE_DARWIN" = 1; then
28204 system_zlib_h_ok="yes"
28206 { echo "$as_me:$LINENO: checking for zlib.h >= 1.1.4" >&5
28207 echo $ECHO_N "checking for zlib.h >= 1.1.4... $ECHO_C" >&6; }
28208 if test "${ac_cv_header_zlib_h+set}" = set; then
28209 echo $ECHO_N "(cached) $ECHO_C" >&6
28211 if test "$cross_compiling" = yes; then
28212 unset ac_cv_header_zlib_h
28215 cat >conftest.$ac_ext <<_ACEOF
28218 cat confdefs.h >>conftest.$ac_ext
28219 cat >>conftest.$ac_ext <<_ACEOF
28220 /* end confdefs.h. */
28227 FILE *f=fopen("conftestval", "w");
28230 ZLIB_VERSION[0] == '1' &&
28231 (ZLIB_VERSION[2] > '1' ||
28232 (ZLIB_VERSION[2] == '1' &&
28233 ZLIB_VERSION[4] >= '4')) ? "yes" : "no");
28238 rm -f conftest$ac_exeext
28239 if { (ac_try="$ac_link"
28240 case "(($ac_try" in
28241 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
28242 *) ac_try_echo
=$ac_try;;
28244 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28245 (eval "$ac_link") 2>&5
28247 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28248 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
28249 { (case "(($ac_try" in
28250 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
28251 *) ac_try_echo=$ac_try;;
28253 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28254 (eval "$ac_try") 2>&5
28256 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28257 (exit $ac_status); }; }; then
28258 ac_cv_header_zlib_h=`cat conftestval
`
28260 echo "$as_me: program exited with status $ac_status" >&5
28261 echo "$as_me: failed program was:" >&5
28262 sed 's/^/| /' conftest.$ac_ext >&5
28264 ( exit $ac_status )
28265 ac_cv_header_zlib_h=no
28267 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
28273 { echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
28274 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6; }
28275 { echo "$as_me:$LINENO: checking for zlib.h" >&5
28276 echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6; }
28277 if test "${ac_cv_header_zlib_h+set}" = set; then
28278 echo $ECHO_N "(cached) $ECHO_C" >&6
28280 cat >conftest.$ac_ext <<_ACEOF
28283 cat confdefs.h >>conftest.$ac_ext
28284 cat >>conftest.$ac_ext <<_ACEOF
28285 /* end confdefs.h. */
28290 rm -f conftest.$ac_objext
28291 if { (ac_try="$ac_compile"
28292 case "(($ac_try" in
28293 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
28294 *) ac_try_echo
=$ac_try;;
28296 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28297 (eval "$ac_compile") 2>conftest.er1
28299 grep -v '^ *+' conftest.er1
>conftest.err
28301 cat conftest.err
>&5
28302 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28303 (exit $ac_status); } && {
28304 test -z "$ac_c_werror_flag" ||
28305 test ! -s conftest.err
28306 } && test -s conftest.
$ac_objext; then
28307 ac_cv_header_zlib_h
=yes
28309 echo "$as_me: failed program was:" >&5
28310 sed 's/^/| /' conftest.
$ac_ext >&5
28312 ac_cv_header_zlib_h
=no
28315 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
28317 { echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
28318 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6; }
28322 system_zlib_h_ok
=$ac_cv_header_zlib_h
28325 if test "$system_zlib_h_ok" = "yes"; then
28326 { echo "$as_me:$LINENO: checking for deflate in -lz" >&5
28327 echo $ECHO_N "checking for deflate in -lz... $ECHO_C" >&6; }
28328 if test "${ac_cv_lib_z_deflate+set}" = set; then
28329 echo $ECHO_N "(cached) $ECHO_C" >&6
28331 ac_check_lib_save_LIBS
=$LIBS
28333 cat >conftest.
$ac_ext <<_ACEOF
28336 cat confdefs.h
>>conftest.
$ac_ext
28337 cat >>conftest.
$ac_ext <<_ACEOF
28338 /* end confdefs.h. */
28340 /* Override any GCC internal prototype to avoid an error.
28341 Use char because int might match the return type of a GCC
28342 builtin and then its argument prototype would still apply. */
28355 rm -f conftest.
$ac_objext conftest
$ac_exeext
28356 if { (ac_try
="$ac_link"
28357 case "(($ac_try" in
28358 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
28359 *) ac_try_echo=$ac_try;;
28361 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28362 (eval "$ac_link") 2>conftest.er1
28364 grep -v '^ *+' conftest.er1 >conftest.err
28366 cat conftest.err >&5
28367 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28368 (exit $ac_status); } && {
28369 test -z "$ac_c_werror_flag" ||
28370 test ! -s conftest.err
28371 } && test -s conftest$ac_exeext &&
28372 $as_test_x conftest$ac_exeext; then
28373 ac_cv_lib_z_deflate=yes
28375 echo "$as_me: failed program was:" >&5
28376 sed 's/^/| /' conftest.$ac_ext >&5
28378 ac_cv_lib_z_deflate=no
28381 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28382 conftest$ac_exeext conftest.$ac_ext
28383 LIBS=$ac_check_lib_save_LIBS
28385 { echo "$as_me:$LINENO: result: $ac_cv_lib_z_deflate" >&5
28386 echo "${ECHO_T}$ac_cv_lib_z_deflate" >&6; }
28387 if test $ac_cv_lib_z_deflate = yes; then
28393 if test "x$ZLIB_LINK" = "x" ; then
28394 if test "$wxUSE_ZLIB" = "sys" ; then
28395 { { echo "$as_me:$LINENO: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&5
28396 echo "$as_me: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&2;}
28397 { (exit 1); exit 1; }; }
28399 { echo "$as_me:$LINENO: WARNING: zlib library not found or too old, will use built-in instead" >&5
28400 echo "$as_me: WARNING: zlib library not found or too old, will use built-in instead" >&2;}
28411 if test "$wxUSE_LIBPNG" != "no" ; then
28412 cat >>confdefs.h <<\_ACEOF
28413 #define wxUSE_LIBPNG 1
28417 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBPNG" = "builtin" ; then
28418 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&5
28419 echo "$as_me: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&2;}
28423 if test "$wxUSE_MGL" != 1 -a "$wxUSE_LIBPNG" = "sys" -a "$wxUSE_ZLIB" != "sys" ; then
28424 { echo "$as_me:$LINENO: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&5
28425 echo "$as_me: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&2;}
28426 wxUSE_LIBPNG=builtin
28429 if test "$wxUSE_MGL" != 1 ; then
28430 if test "$wxUSE_LIBPNG" = "sys" -o "$wxUSE_LIBPNG" = "yes" ; then
28431 { echo "$as_me:$LINENO: checking for png.h > 0.90" >&5
28432 echo $ECHO_N "checking for png.h > 0.90... $ECHO_C" >&6; }
28433 if test "${ac_cv_header_png_h+set}" = set; then
28434 echo $ECHO_N "(cached) $ECHO_C" >&6
28436 if test "$cross_compiling" = yes; then
28437 unset ac_cv_header_png_h
28440 cat >conftest.$ac_ext <<_ACEOF
28443 cat confdefs.h >>conftest.$ac_ext
28444 cat >>conftest.$ac_ext <<_ACEOF
28445 /* end confdefs.h. */
28452 FILE *f=fopen("conftestval", "w");
28455 PNG_LIBPNG_VER > 90 ? "yes" : "no");
28460 rm -f conftest$ac_exeext
28461 if { (ac_try="$ac_link"
28462 case "(($ac_try" in
28463 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
28464 *) ac_try_echo
=$ac_try;;
28466 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28467 (eval "$ac_link") 2>&5
28469 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28470 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
28471 { (case "(($ac_try" in
28472 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
28473 *) ac_try_echo=$ac_try;;
28475 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28476 (eval "$ac_try") 2>&5
28478 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28479 (exit $ac_status); }; }; then
28480 ac_cv_header_png_h=`cat conftestval
`
28482 echo "$as_me: program exited with status $ac_status" >&5
28483 echo "$as_me: failed program was:" >&5
28484 sed 's/^/| /' conftest.$ac_ext >&5
28486 ( exit $ac_status )
28487 ac_cv_header_png_h=no
28489 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
28495 { echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
28496 echo "${ECHO_T}$ac_cv_header_png_h" >&6; }
28497 { echo "$as_me:$LINENO: checking for png.h" >&5
28498 echo $ECHO_N "checking for png.h... $ECHO_C" >&6; }
28499 if test "${ac_cv_header_png_h+set}" = set; then
28500 echo $ECHO_N "(cached) $ECHO_C" >&6
28502 cat >conftest.$ac_ext <<_ACEOF
28505 cat confdefs.h >>conftest.$ac_ext
28506 cat >>conftest.$ac_ext <<_ACEOF
28507 /* end confdefs.h. */
28512 rm -f conftest.$ac_objext
28513 if { (ac_try="$ac_compile"
28514 case "(($ac_try" in
28515 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
28516 *) ac_try_echo
=$ac_try;;
28518 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28519 (eval "$ac_compile") 2>conftest.er1
28521 grep -v '^ *+' conftest.er1
>conftest.err
28523 cat conftest.err
>&5
28524 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28525 (exit $ac_status); } && {
28526 test -z "$ac_c_werror_flag" ||
28527 test ! -s conftest.err
28528 } && test -s conftest.
$ac_objext; then
28529 ac_cv_header_png_h
=yes
28531 echo "$as_me: failed program was:" >&5
28532 sed 's/^/| /' conftest.
$ac_ext >&5
28534 ac_cv_header_png_h
=no
28537 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
28539 { echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
28540 echo "${ECHO_T}$ac_cv_header_png_h" >&6; }
28544 if test "$ac_cv_header_png_h" = "yes"; then
28545 { echo "$as_me:$LINENO: checking for png_check_sig in -lpng" >&5
28546 echo $ECHO_N "checking for png_check_sig in -lpng... $ECHO_C" >&6; }
28547 if test "${ac_cv_lib_png_png_check_sig+set}" = set; then
28548 echo $ECHO_N "(cached) $ECHO_C" >&6
28550 ac_check_lib_save_LIBS
=$LIBS
28551 LIBS
="-lpng -lz -lm $LIBS"
28552 cat >conftest.
$ac_ext <<_ACEOF
28555 cat confdefs.h
>>conftest.
$ac_ext
28556 cat >>conftest.
$ac_ext <<_ACEOF
28557 /* end confdefs.h. */
28559 /* Override any GCC internal prototype to avoid an error.
28560 Use char because int might match the return type of a GCC
28561 builtin and then its argument prototype would still apply. */
28565 char png_check_sig ();
28569 return png_check_sig ();
28574 rm -f conftest.
$ac_objext conftest
$ac_exeext
28575 if { (ac_try
="$ac_link"
28576 case "(($ac_try" in
28577 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
28578 *) ac_try_echo=$ac_try;;
28580 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28581 (eval "$ac_link") 2>conftest.er1
28583 grep -v '^ *+' conftest.er1 >conftest.err
28585 cat conftest.err >&5
28586 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28587 (exit $ac_status); } && {
28588 test -z "$ac_c_werror_flag" ||
28589 test ! -s conftest.err
28590 } && test -s conftest$ac_exeext &&
28591 $as_test_x conftest$ac_exeext; then
28592 ac_cv_lib_png_png_check_sig=yes
28594 echo "$as_me: failed program was:" >&5
28595 sed 's/^/| /' conftest.$ac_ext >&5
28597 ac_cv_lib_png_png_check_sig=no
28600 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28601 conftest$ac_exeext conftest.$ac_ext
28602 LIBS=$ac_check_lib_save_LIBS
28604 { echo "$as_me:$LINENO: result: $ac_cv_lib_png_png_check_sig" >&5
28605 echo "${ECHO_T}$ac_cv_lib_png_png_check_sig" >&6; }
28606 if test $ac_cv_lib_png_png_check_sig = yes; then
28607 PNG_LINK=" -lpng -lz"
28612 if test "x$PNG_LINK" = "x" ; then
28613 if test "$wxUSE_LIBPNG" = "sys" ; then
28614 { { echo "$as_me:$LINENO: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&5
28615 echo "$as_me: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&2;}
28616 { (exit 1); exit 1; }; }
28618 { echo "$as_me:$LINENO: WARNING: system png library not found or too old, will use built-in instead" >&5
28619 echo "$as_me: WARNING: system png library not found or too old, will use built-in instead" >&2;}
28620 wxUSE_LIBPNG=builtin
28628 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS png"
28633 if test "$wxUSE_LIBJPEG" != "no" ; then
28634 cat >>confdefs.h <<\_ACEOF
28635 #define wxUSE_LIBJPEG 1
28639 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBJPEG" = "builtin" ; then
28640 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&5
28641 echo "$as_me: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&2;}
28645 if test "$wxUSE_MGL" != 1 ; then
28646 if test "$wxUSE_LIBJPEG" = "sys" -o "$wxUSE_LIBJPEG" = "yes" ; then
28647 { echo "$as_me:$LINENO: checking for jpeglib.h" >&5
28648 echo $ECHO_N "checking for jpeglib.h... $ECHO_C" >&6; }
28649 if test "${ac_cv_header_jpeglib_h+set}" = set; then
28650 echo $ECHO_N "(cached) $ECHO_C" >&6
28652 cat >conftest.$ac_ext <<_ACEOF
28655 cat confdefs.h >>conftest.$ac_ext
28656 cat >>conftest.$ac_ext <<_ACEOF
28657 /* end confdefs.h. */
28659 #undef HAVE_STDLIB_H
28661 #include <jpeglib.h>
28672 rm -f conftest.$ac_objext
28673 if { (ac_try="$ac_compile"
28674 case "(($ac_try" in
28675 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
28676 *) ac_try_echo
=$ac_try;;
28678 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28679 (eval "$ac_compile") 2>conftest.er1
28681 grep -v '^ *+' conftest.er1
>conftest.err
28683 cat conftest.err
>&5
28684 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28685 (exit $ac_status); } && {
28686 test -z "$ac_c_werror_flag" ||
28687 test ! -s conftest.err
28688 } && test -s conftest.
$ac_objext; then
28689 ac_cv_header_jpeglib_h
=yes
28691 echo "$as_me: failed program was:" >&5
28692 sed 's/^/| /' conftest.
$ac_ext >&5
28694 ac_cv_header_jpeglib_h
=no
28698 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
28702 { echo "$as_me:$LINENO: result: $ac_cv_header_jpeglib_h" >&5
28703 echo "${ECHO_T}$ac_cv_header_jpeglib_h" >&6; }
28705 if test "$ac_cv_header_jpeglib_h" = "yes"; then
28706 { echo "$as_me:$LINENO: checking for jpeg_read_header in -ljpeg" >&5
28707 echo $ECHO_N "checking for jpeg_read_header in -ljpeg... $ECHO_C" >&6; }
28708 if test "${ac_cv_lib_jpeg_jpeg_read_header+set}" = set; then
28709 echo $ECHO_N "(cached) $ECHO_C" >&6
28711 ac_check_lib_save_LIBS
=$LIBS
28712 LIBS
="-ljpeg $LIBS"
28713 cat >conftest.
$ac_ext <<_ACEOF
28716 cat confdefs.h
>>conftest.
$ac_ext
28717 cat >>conftest.
$ac_ext <<_ACEOF
28718 /* end confdefs.h. */
28720 /* Override any GCC internal prototype to avoid an error.
28721 Use char because int might match the return type of a GCC
28722 builtin and then its argument prototype would still apply. */
28726 char jpeg_read_header ();
28730 return jpeg_read_header ();
28735 rm -f conftest.
$ac_objext conftest
$ac_exeext
28736 if { (ac_try
="$ac_link"
28737 case "(($ac_try" in
28738 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
28739 *) ac_try_echo=$ac_try;;
28741 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28742 (eval "$ac_link") 2>conftest.er1
28744 grep -v '^ *+' conftest.er1 >conftest.err
28746 cat conftest.err >&5
28747 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28748 (exit $ac_status); } && {
28749 test -z "$ac_c_werror_flag" ||
28750 test ! -s conftest.err
28751 } && test -s conftest$ac_exeext &&
28752 $as_test_x conftest$ac_exeext; then
28753 ac_cv_lib_jpeg_jpeg_read_header=yes
28755 echo "$as_me: failed program was:" >&5
28756 sed 's/^/| /' conftest.$ac_ext >&5
28758 ac_cv_lib_jpeg_jpeg_read_header=no
28761 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28762 conftest$ac_exeext conftest.$ac_ext
28763 LIBS=$ac_check_lib_save_LIBS
28765 { echo "$as_me:$LINENO: result: $ac_cv_lib_jpeg_jpeg_read_header" >&5
28766 echo "${ECHO_T}$ac_cv_lib_jpeg_jpeg_read_header" >&6; }
28767 if test $ac_cv_lib_jpeg_jpeg_read_header = yes; then
28768 JPEG_LINK=" -ljpeg"
28773 if test "x$JPEG_LINK" = "x" ; then
28774 if test "$wxUSE_LIBJPEG" = "sys" ; then
28775 { { echo "$as_me:$LINENO: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&5
28776 echo "$as_me: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&2;}
28777 { (exit 1); exit 1; }; }
28779 { echo "$as_me:$LINENO: WARNING: system jpeg library not found, will use built-in instead" >&5
28780 echo "$as_me: WARNING: system jpeg library not found, will use built-in instead" >&2;}
28781 wxUSE_LIBJPEG=builtin
28786 if test "$wxUSE_MSW" = 1; then
28787 { echo "$as_me:$LINENO: checking for boolean" >&5
28788 echo $ECHO_N "checking for boolean... $ECHO_C" >&6; }
28789 if test "${ac_cv_type_boolean+set}" = set; then
28790 echo $ECHO_N "(cached) $ECHO_C" >&6
28792 cat >conftest.$ac_ext <<_ACEOF
28795 cat confdefs.h >>conftest.$ac_ext
28796 cat >>conftest.$ac_ext <<_ACEOF
28797 /* end confdefs.h. */
28798 #include <windows.h>
28800 typedef boolean ac__type_new_;
28804 if ((ac__type_new_ *) 0)
28806 if (sizeof (ac__type_new_))
28812 rm -f conftest.$ac_objext
28813 if { (ac_try="$ac_compile"
28814 case "(($ac_try" in
28815 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
28816 *) ac_try_echo
=$ac_try;;
28818 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28819 (eval "$ac_compile") 2>conftest.er1
28821 grep -v '^ *+' conftest.er1
>conftest.err
28823 cat conftest.err
>&5
28824 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28825 (exit $ac_status); } && {
28826 test -z "$ac_c_werror_flag" ||
28827 test ! -s conftest.err
28828 } && test -s conftest.
$ac_objext; then
28829 ac_cv_type_boolean
=yes
28831 echo "$as_me: failed program was:" >&5
28832 sed 's/^/| /' conftest.
$ac_ext >&5
28834 ac_cv_type_boolean
=no
28837 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
28839 { echo "$as_me:$LINENO: result: $ac_cv_type_boolean" >&5
28840 echo "${ECHO_T}$ac_cv_type_boolean" >&6; }
28841 if test $ac_cv_type_boolean = yes; then
28843 cat >>confdefs.h
<<_ACEOF
28844 #define HAVE_BOOLEAN 1
28848 { echo "$as_me:$LINENO: checking for boolean" >&5
28849 echo $ECHO_N "checking for boolean... $ECHO_C" >&6; }
28850 if test "${ac_cv_type_boolean+set}" = set; then
28851 echo $ECHO_N "(cached) $ECHO_C" >&6
28853 cat >conftest.
$ac_ext <<_ACEOF
28856 cat confdefs.h
>>conftest.
$ac_ext
28857 cat >>conftest.
$ac_ext <<_ACEOF
28858 /* end confdefs.h. */
28860 #undef HAVE_BOOLEAN
28862 #include <jpeglib.h>
28865 typedef boolean ac__type_new_;
28869 if ((ac__type_new_ *) 0)
28871 if (sizeof (ac__type_new_))
28877 rm -f conftest.
$ac_objext
28878 if { (ac_try
="$ac_compile"
28879 case "(($ac_try" in
28880 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
28881 *) ac_try_echo=$ac_try;;
28883 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28884 (eval "$ac_compile") 2>conftest.er1
28886 grep -v '^ *+' conftest.er1 >conftest.err
28888 cat conftest.err >&5
28889 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28890 (exit $ac_status); } && {
28891 test -z "$ac_c_werror_flag" ||
28892 test ! -s conftest.err
28893 } && test -s conftest.$ac_objext; then
28894 ac_cv_type_boolean=yes
28896 echo "$as_me: failed program was:" >&5
28897 sed 's/^/| /' conftest.$ac_ext >&5
28899 ac_cv_type_boolean=no
28902 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28904 { echo "$as_me:$LINENO: result: $ac_cv_type_boolean" >&5
28905 echo "${ECHO_T}$ac_cv_type_boolean" >&6; }
28907 # The cast to long int works around a bug in the HP C Compiler
28908 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
28909 # declarations like `int a3
[[(sizeof
(unsigned char
)) >= 0]];'.
28910 # This bug is HP SR number 8606223364.
28911 { echo "$as_me:$LINENO: checking size of boolean" >&5
28912 echo $ECHO_N "checking size of boolean... $ECHO_C" >&6; }
28913 if test "${ac_cv_sizeof_boolean+set}" = set; then
28914 echo $ECHO_N "(cached) $ECHO_C" >&6
28916 if test "$cross_compiling" = yes; then
28917 # Depending upon the size, compute the lo and hi bounds.
28918 cat >conftest.$ac_ext <<_ACEOF
28921 cat confdefs.h >>conftest.$ac_ext
28922 cat >>conftest.$ac_ext <<_ACEOF
28923 /* end confdefs.h. */
28925 #undef HAVE_BOOLEAN
28927 #include <jpeglib.h>
28930 typedef boolean ac__type_sizeof_;
28934 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
28941 rm -f conftest.$ac_objext
28942 if { (ac_try="$ac_compile"
28943 case "(($ac_try" in
28944 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28945 *) ac_try_echo=$ac_try;;
28947 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28948 (eval "$ac_compile") 2>conftest.er1
28950 grep -v '^
*+' conftest.er1 >conftest.err
28952 cat conftest.err >&5
28953 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28954 (exit $ac_status); } && {
28955 test -z "$ac_c_werror_flag" ||
28956 test ! -s conftest.err
28957 } && test -s conftest.$ac_objext; then
28960 cat >conftest.$ac_ext <<_ACEOF
28963 cat confdefs.h >>conftest.$ac_ext
28964 cat >>conftest.$ac_ext <<_ACEOF
28965 /* end confdefs.h. */
28967 #undef HAVE_BOOLEAN
28969 #include <jpeglib.h>
28972 typedef boolean ac__type_sizeof_;
28976 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
28983 rm -f conftest.$ac_objext
28984 if { (ac_try="$ac_compile"
28985 case "(($ac_try" in
28986 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28987 *) ac_try_echo=$ac_try;;
28989 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28990 (eval "$ac_compile") 2>conftest.er1
28992 grep -v '^
*+' conftest.er1 >conftest.err
28994 cat conftest.err >&5
28995 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28996 (exit $ac_status); } && {
28997 test -z "$ac_c_werror_flag" ||
28998 test ! -s conftest.err
28999 } && test -s conftest.$ac_objext; then
29000 ac_hi=$ac_mid; break
29002 echo "$as_me: failed program was:" >&5
29003 sed 's
/^
/| /' conftest.$ac_ext >&5
29005 ac_lo=`expr $ac_mid + 1`
29006 if test $ac_lo -le $ac_mid; then
29010 ac_mid=`expr 2 '*' $ac_mid + 1`
29013 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29016 echo "$as_me: failed program was:" >&5
29017 sed 's
/^
/| /' conftest.$ac_ext >&5
29019 cat >conftest.$ac_ext <<_ACEOF
29022 cat confdefs.h >>conftest.$ac_ext
29023 cat >>conftest.$ac_ext <<_ACEOF
29024 /* end confdefs.h. */
29026 #undef HAVE_BOOLEAN
29028 #include <jpeglib.h>
29031 typedef boolean ac__type_sizeof_;
29035 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
29042 rm -f conftest.$ac_objext
29043 if { (ac_try="$ac_compile"
29044 case "(($ac_try" in
29045 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29046 *) ac_try_echo=$ac_try;;
29048 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29049 (eval "$ac_compile") 2>conftest.er1
29051 grep -v '^
*+' conftest.er1 >conftest.err
29053 cat conftest.err >&5
29054 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29055 (exit $ac_status); } && {
29056 test -z "$ac_c_werror_flag" ||
29057 test ! -s conftest.err
29058 } && test -s conftest.$ac_objext; then
29061 cat >conftest.$ac_ext <<_ACEOF
29064 cat confdefs.h >>conftest.$ac_ext
29065 cat >>conftest.$ac_ext <<_ACEOF
29066 /* end confdefs.h. */
29068 #undef HAVE_BOOLEAN
29070 #include <jpeglib.h>
29073 typedef boolean ac__type_sizeof_;
29077 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
29084 rm -f conftest.$ac_objext
29085 if { (ac_try="$ac_compile"
29086 case "(($ac_try" in
29087 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29088 *) ac_try_echo=$ac_try;;
29090 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29091 (eval "$ac_compile") 2>conftest.er1
29093 grep -v '^
*+' conftest.er1 >conftest.err
29095 cat conftest.err >&5
29096 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29097 (exit $ac_status); } && {
29098 test -z "$ac_c_werror_flag" ||
29099 test ! -s conftest.err
29100 } && test -s conftest.$ac_objext; then
29101 ac_lo=$ac_mid; break
29103 echo "$as_me: failed program was:" >&5
29104 sed 's
/^
/| /' conftest.$ac_ext >&5
29106 ac_hi=`expr '(' $ac_mid ')' - 1`
29107 if test $ac_mid -le $ac_hi; then
29111 ac_mid=`expr 2 '*' $ac_mid`
29114 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29117 echo "$as_me: failed program was:" >&5
29118 sed 's
/^
/| /' conftest.$ac_ext >&5
29123 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29126 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29127 # Binary search between lo and hi bounds.
29128 while test "x$ac_lo" != "x$ac_hi"; do
29129 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
29130 cat >conftest.$ac_ext <<_ACEOF
29133 cat confdefs.h >>conftest.$ac_ext
29134 cat >>conftest.$ac_ext <<_ACEOF
29135 /* end confdefs.h. */
29137 #undef HAVE_BOOLEAN
29139 #include <jpeglib.h>
29142 typedef boolean ac__type_sizeof_;
29146 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
29153 rm -f conftest.$ac_objext
29154 if { (ac_try="$ac_compile"
29155 case "(($ac_try" in
29156 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29157 *) ac_try_echo=$ac_try;;
29159 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29160 (eval "$ac_compile") 2>conftest.er1
29162 grep -v '^
*+' conftest.er1 >conftest.err
29164 cat conftest.err >&5
29165 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29166 (exit $ac_status); } && {
29167 test -z "$ac_c_werror_flag" ||
29168 test ! -s conftest.err
29169 } && test -s conftest.$ac_objext; then
29172 echo "$as_me: failed program was:" >&5
29173 sed 's
/^
/| /' conftest.$ac_ext >&5
29175 ac_lo=`expr '(' $ac_mid ')' + 1`
29178 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29181 ?*) ac_cv_sizeof_boolean=$ac_lo;;
29182 '') if test "$ac_cv_type_boolean" = yes; then
29183 { { echo "$as_me:$LINENO: error: cannot compute sizeof (boolean)
29184 See \`config.log' for more details.
" >&5
29185 echo "$as_me: error
: cannot compute sizeof
(boolean
)
29186 See \
`config.log' for more details." >&2;}
29187 { (exit 77); exit 77; }; }
29189 ac_cv_sizeof_boolean=0
29193 cat >conftest.$ac_ext <<_ACEOF
29196 cat confdefs.h >>conftest.$ac_ext
29197 cat >>conftest.$ac_ext <<_ACEOF
29198 /* end confdefs.h. */
29200 #undef HAVE_BOOLEAN
29202 #include <jpeglib.h>
29205 typedef boolean ac__type_sizeof_;
29206 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
29207 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
29209 #include <stdlib.h>
29214 FILE *f = fopen ("conftest.val", "w");
29217 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
29219 long int i = longval ();
29220 if (i != ((long int) (sizeof (ac__type_sizeof_))))
29222 fprintf (f, "%ld\n", i);
29226 unsigned long int i = ulongval ();
29227 if (i != ((long int) (sizeof (ac__type_sizeof_))))
29229 fprintf (f, "%lu\n", i);
29231 return ferror (f) || fclose (f) != 0;
29237 rm -f conftest$ac_exeext
29238 if { (ac_try="$ac_link"
29239 case "(($ac_try" in
29240 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
29241 *) ac_try_echo
=$ac_try;;
29243 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29244 (eval "$ac_link") 2>&5
29246 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29247 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
29248 { (case "(($ac_try" in
29249 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
29250 *) ac_try_echo=$ac_try;;
29252 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29253 (eval "$ac_try") 2>&5
29255 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29256 (exit $ac_status); }; }; then
29257 ac_cv_sizeof_boolean=`cat conftest.val
`
29259 echo "$as_me: program exited with status $ac_status" >&5
29260 echo "$as_me: failed program was:" >&5
29261 sed 's/^/| /' conftest.$ac_ext >&5
29263 ( exit $ac_status )
29264 if test "$ac_cv_type_boolean" = yes; then
29265 { { echo "$as_me:$LINENO: error: cannot compute sizeof (boolean)
29266 See \`config.log
' for more details." >&5
29267 echo "$as_me: error: cannot compute sizeof (boolean)
29268 See \`config.log' for more details.
" >&2;}
29269 { (exit 77); exit 77; }; }
29271 ac_cv_sizeof_boolean=0
29274 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
29278 { echo "$as_me:$LINENO: result
: $ac_cv_sizeof_boolean" >&5
29279 echo "${ECHO_T}$ac_cv_sizeof_boolean" >&6; }
29283 cat >>confdefs.h <<_ACEOF
29284 #define SIZEOF_BOOLEAN $ac_cv_sizeof_boolean
29288 cat >>confdefs.h <<_ACEOF
29289 #define wxHACK_BOOLEAN wxInt`expr 8 \* $ac_cv_sizeof_boolean`
29303 TIFF_PREREQ_LINKS=-lm
29304 if test "$wxUSE_LIBTIFF" != "no
" ; then
29305 cat >>confdefs.h <<\_ACEOF
29306 #define wxUSE_LIBTIFF 1
29310 if test "$wxUSE_LIBTIFF" = "sys
" -o "$wxUSE_LIBTIFF" = "yes" ; then
29311 if test "$wxUSE_LIBJPEG" = "sys
"; then
29312 TIFF_PREREQ_LINKS="$TIFF_PREREQ_LINKS $JPEG_LINK"
29314 if test "$wxUSE_ZLIB" = "sys
"; then
29315 TIFF_PREREQ_LINKS="$TIFF_PREREQ_LINKS $ZLIB_LINK"
29317 { echo "$as_me:$LINENO: checking
for tiffio.h
" >&5
29318 echo $ECHO_N "checking
for tiffio.h...
$ECHO_C" >&6; }
29319 if test "${ac_cv_header_tiffio_h+set}" = set; then
29320 echo $ECHO_N "(cached
) $ECHO_C" >&6
29322 cat >conftest.$ac_ext <<_ACEOF
29325 cat confdefs.h >>conftest.$ac_ext
29326 cat >>conftest.$ac_ext <<_ACEOF
29327 /* end confdefs.h. */
29331 #include <tiffio.h>
29333 rm -f conftest.$ac_objext
29334 if { (ac_try="$ac_compile"
29335 case "(($ac_try" in
29336 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29337 *) ac_try_echo=$ac_try;;
29339 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
29340 (eval "$ac_compile") 2>conftest.er1
29342 grep -v '^ *+' conftest.er1 >conftest.err
29344 cat conftest.err >&5
29345 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
29346 (exit $ac_status); } && {
29347 test -z "$ac_c_werror_flag" ||
29348 test ! -s conftest.err
29349 } && test -s conftest.$ac_objext; then
29350 ac_cv_header_tiffio_h=yes
29352 echo "$as_me: failed program was
:" >&5
29353 sed 's/^/| /' conftest.$ac_ext >&5
29355 ac_cv_header_tiffio_h=no
29358 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29360 { echo "$as_me:$LINENO: result
: $ac_cv_header_tiffio_h" >&5
29361 echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6; }
29362 if test $ac_cv_header_tiffio_h = yes; then
29364 { echo "$as_me:$LINENO: checking
for TIFFError
in -ltiff" >&5
29365 echo $ECHO_N "checking
for TIFFError
in -ltiff...
$ECHO_C" >&6; }
29366 if test "${ac_cv_lib_tiff_TIFFError+set}" = set; then
29367 echo $ECHO_N "(cached
) $ECHO_C" >&6
29369 ac_check_lib_save_LIBS=$LIBS
29370 LIBS="-ltiff $TIFF_PREREQ_LINKS $LIBS"
29371 cat >conftest.$ac_ext <<_ACEOF
29374 cat confdefs.h >>conftest.$ac_ext
29375 cat >>conftest.$ac_ext <<_ACEOF
29376 /* end confdefs.h. */
29378 /* Override any GCC internal prototype to avoid an error.
29379 Use char because int might match the return type of a GCC
29380 builtin and then its argument prototype would still apply. */
29388 return TIFFError ();
29393 rm -f conftest.$ac_objext conftest$ac_exeext
29394 if { (ac_try="$ac_link"
29395 case "(($ac_try" in
29396 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29397 *) ac_try_echo=$ac_try;;
29399 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
29400 (eval "$ac_link") 2>conftest.er1
29402 grep -v '^ *+' conftest.er1 >conftest.err
29404 cat conftest.err >&5
29405 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
29406 (exit $ac_status); } && {
29407 test -z "$ac_c_werror_flag" ||
29408 test ! -s conftest.err
29409 } && test -s conftest$ac_exeext &&
29410 $as_test_x conftest$ac_exeext; then
29411 ac_cv_lib_tiff_TIFFError=yes
29413 echo "$as_me: failed program was
:" >&5
29414 sed 's/^/| /' conftest.$ac_ext >&5
29416 ac_cv_lib_tiff_TIFFError=no
29419 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29420 conftest$ac_exeext conftest.$ac_ext
29421 LIBS=$ac_check_lib_save_LIBS
29423 { echo "$as_me:$LINENO: result
: $ac_cv_lib_tiff_TIFFError" >&5
29424 echo "${ECHO_T}$ac_cv_lib_tiff_TIFFError" >&6; }
29425 if test $ac_cv_lib_tiff_TIFFError = yes; then
29426 TIFF_LINK=" -ltiff"
29434 if test "x
$TIFF_LINK" = "x
" ; then
29435 if test "$wxUSE_LIBTIFF" = "sys
" ; then
29436 { { echo "$as_me:$LINENO: error
: system tiff library not found
! Use
--with-libtiff=builtin to use built
-in version
" >&5
29437 echo "$as_me: error
: system tiff library not found
! Use
--with-libtiff=builtin to use built
-in version
" >&2;}
29438 { (exit 1); exit 1; }; }
29440 { echo "$as_me:$LINENO: WARNING
: system tiff library not found
, will use built
-in instead
" >&5
29441 echo "$as_me: WARNING
: system tiff library not found
, will use built
-in instead
" >&2;}
29442 wxUSE_LIBTIFF=builtin
29451 if test "$wxUSE_WCHAR_T" != "yes"; then
29452 if test "$wxUSE_EXPAT" != "no
"; then
29453 { echo "$as_me:$LINENO: WARNING
: wxWidgets requires wchar_t to use expat
, disabling
" >&5
29454 echo "$as_me: WARNING
: wxWidgets requires wchar_t to use expat
, disabling
" >&2;}
29457 if test "$wxUSE_XML" != "no
"; then
29458 { echo "$as_me:$LINENO: WARNING
: wxWidgets requires wchar_t to use xml
, disabling
" >&5
29459 echo "$as_me: WARNING
: wxWidgets requires wchar_t to use xml
, disabling
" >&2;}
29464 if test "$wxUSE_EXPAT" != "no
"; then
29466 cat >>confdefs.h <<\_ACEOF
29467 #define wxUSE_EXPAT 1
29470 cat >>confdefs.h <<\_ACEOF
29471 #define wxUSE_XML 1
29475 if test "$wxUSE_EXPAT" = "sys
" -o "$wxUSE_EXPAT" = "yes" ; then
29476 { echo "$as_me:$LINENO: checking
for expat.h
" >&5
29477 echo $ECHO_N "checking
for expat.h...
$ECHO_C" >&6; }
29478 if test "${ac_cv_header_expat_h+set}" = set; then
29479 echo $ECHO_N "(cached
) $ECHO_C" >&6
29481 cat >conftest.$ac_ext <<_ACEOF
29484 cat confdefs.h >>conftest.$ac_ext
29485 cat >>conftest.$ac_ext <<_ACEOF
29486 /* end confdefs.h. */
29491 rm -f conftest.$ac_objext
29492 if { (ac_try="$ac_compile"
29493 case "(($ac_try" in
29494 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29495 *) ac_try_echo=$ac_try;;
29497 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
29498 (eval "$ac_compile") 2>conftest.er1
29500 grep -v '^ *+' conftest.er1 >conftest.err
29502 cat conftest.err >&5
29503 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
29504 (exit $ac_status); } && {
29505 test -z "$ac_c_werror_flag" ||
29506 test ! -s conftest.err
29507 } && test -s conftest.$ac_objext; then
29508 ac_cv_header_expat_h=yes
29510 echo "$as_me: failed program was
:" >&5
29511 sed 's/^/| /' conftest.$ac_ext >&5
29513 ac_cv_header_expat_h=no
29516 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29518 { echo "$as_me:$LINENO: result
: $ac_cv_header_expat_h" >&5
29519 echo "${ECHO_T}$ac_cv_header_expat_h" >&6; }
29520 if test $ac_cv_header_expat_h = yes; then
29525 if test "x
$found_expat_h" = "x1
"; then
29526 { echo "$as_me:$LINENO: checking
if expat.h is valid C
++ header
" >&5
29527 echo $ECHO_N "checking
if expat.h is valid C
++ header...
$ECHO_C" >&6; }
29528 if test "${wx_cv_expat_is_not_broken+set}" = set; then
29529 echo $ECHO_N "(cached
) $ECHO_C" >&6
29533 ac_cpp='$CXXCPP $CPPFLAGS'
29534 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29535 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29536 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29538 cat >conftest.$ac_ext <<_ACEOF
29541 cat confdefs.h >>conftest.$ac_ext
29542 cat >>conftest.$ac_ext <<_ACEOF
29543 /* end confdefs.h. */
29553 rm -f conftest.$ac_objext
29554 if { (ac_try="$ac_compile"
29555 case "(($ac_try" in
29556 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29557 *) ac_try_echo=$ac_try;;
29559 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
29560 (eval "$ac_compile") 2>conftest.er1
29562 grep -v '^ *+' conftest.er1 >conftest.err
29564 cat conftest.err >&5
29565 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
29566 (exit $ac_status); } && {
29567 test -z "$ac_cxx_werror_flag" ||
29568 test ! -s conftest.err
29569 } && test -s conftest.$ac_objext; then
29570 wx_cv_expat_is_not_broken=yes
29572 echo "$as_me: failed program was
:" >&5
29573 sed 's/^/| /' conftest.$ac_ext >&5
29575 wx_cv_expat_is_not_broken=no
29579 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29581 ac_cpp='$CPP $CPPFLAGS'
29582 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29583 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29584 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29589 { echo "$as_me:$LINENO: result
: $wx_cv_expat_is_not_broken" >&5
29590 echo "${ECHO_T}$wx_cv_expat_is_not_broken" >&6; }
29591 if test "$wx_cv_expat_is_not_broken" = "yes" ; then
29592 { echo "$as_me:$LINENO: checking
for XML_ParserCreate
in -lexpat" >&5
29593 echo $ECHO_N "checking
for XML_ParserCreate
in -lexpat...
$ECHO_C" >&6; }
29594 if test "${ac_cv_lib_expat_XML_ParserCreate+set}" = set; then
29595 echo $ECHO_N "(cached
) $ECHO_C" >&6
29597 ac_check_lib_save_LIBS=$LIBS
29598 LIBS="-lexpat $LIBS"
29599 cat >conftest.$ac_ext <<_ACEOF
29602 cat confdefs.h >>conftest.$ac_ext
29603 cat >>conftest.$ac_ext <<_ACEOF
29604 /* end confdefs.h. */
29606 /* Override any GCC internal prototype to avoid an error.
29607 Use char because int might match the return type of a GCC
29608 builtin and then its argument prototype would still apply. */
29612 char XML_ParserCreate ();
29616 return XML_ParserCreate ();
29621 rm -f conftest.$ac_objext conftest$ac_exeext
29622 if { (ac_try="$ac_link"
29623 case "(($ac_try" in
29624 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29625 *) ac_try_echo=$ac_try;;
29627 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
29628 (eval "$ac_link") 2>conftest.er1
29630 grep -v '^ *+' conftest.er1 >conftest.err
29632 cat conftest.err >&5
29633 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
29634 (exit $ac_status); } && {
29635 test -z "$ac_c_werror_flag" ||
29636 test ! -s conftest.err
29637 } && test -s conftest$ac_exeext &&
29638 $as_test_x conftest$ac_exeext; then
29639 ac_cv_lib_expat_XML_ParserCreate=yes
29641 echo "$as_me: failed program was
:" >&5
29642 sed 's/^/| /' conftest.$ac_ext >&5
29644 ac_cv_lib_expat_XML_ParserCreate=no
29647 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29648 conftest$ac_exeext conftest.$ac_ext
29649 LIBS=$ac_check_lib_save_LIBS
29651 { echo "$as_me:$LINENO: result
: $ac_cv_lib_expat_XML_ParserCreate" >&5
29652 echo "${ECHO_T}$ac_cv_lib_expat_XML_ParserCreate" >&6; }
29653 if test $ac_cv_lib_expat_XML_ParserCreate = yes; then
29654 EXPAT_LINK=" -lexpat"
29659 if test "x
$EXPAT_LINK" = "x
" ; then
29660 if test "$wxUSE_EXPAT" = "sys
" ; then
29661 { { echo "$as_me:$LINENO: error
: system expat library not found
! Use
--with-expat=builtin to use built
-in version
" >&5
29662 echo "$as_me: error
: system expat library not found
! Use
--with-expat=builtin to use built
-in version
" >&2;}
29663 { (exit 1); exit 1; }; }
29665 { echo "$as_me:$LINENO: WARNING
: system expat library not found
, will use built
-in instead
" >&5
29666 echo "$as_me: WARNING
: system expat library not found
, will use built
-in instead
" >&2;}
29667 wxUSE_EXPAT=builtin
29673 if test "$wxUSE_EXPAT" = "builtin" ; then
29674 subdirs="$subdirs src
/expat
"
29681 if test "$wxUSE_LIBMSPACK" != "no
"; then
29682 { echo "$as_me:$LINENO: checking
for mspack.h
" >&5
29683 echo $ECHO_N "checking
for mspack.h...
$ECHO_C" >&6; }
29684 if test "${ac_cv_header_mspack_h+set}" = set; then
29685 echo $ECHO_N "(cached
) $ECHO_C" >&6
29687 cat >conftest.$ac_ext <<_ACEOF
29690 cat confdefs.h >>conftest.$ac_ext
29691 cat >>conftest.$ac_ext <<_ACEOF
29692 /* end confdefs.h. */
29695 #include <mspack.h>
29697 rm -f conftest.$ac_objext
29698 if { (ac_try="$ac_compile"
29699 case "(($ac_try" in
29700 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29701 *) ac_try_echo=$ac_try;;
29703 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
29704 (eval "$ac_compile") 2>conftest.er1
29706 grep -v '^ *+' conftest.er1 >conftest.err
29708 cat conftest.err >&5
29709 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
29710 (exit $ac_status); } && {
29711 test -z "$ac_c_werror_flag" ||
29712 test ! -s conftest.err
29713 } && test -s conftest.$ac_objext; then
29714 ac_cv_header_mspack_h=yes
29716 echo "$as_me: failed program was
:" >&5
29717 sed 's/^/| /' conftest.$ac_ext >&5
29719 ac_cv_header_mspack_h=no
29722 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29724 { echo "$as_me:$LINENO: result
: $ac_cv_header_mspack_h" >&5
29725 echo "${ECHO_T}$ac_cv_header_mspack_h" >&6; }
29726 if test $ac_cv_header_mspack_h = yes; then
29731 if test "x
$found_mspack_h" = "x1
"; then
29732 { echo "$as_me:$LINENO: checking
for mspack_create_chm_decompressor
in -lmspack" >&5
29733 echo $ECHO_N "checking
for mspack_create_chm_decompressor
in -lmspack...
$ECHO_C" >&6; }
29734 if test "${ac_cv_lib_mspack_mspack_create_chm_decompressor+set}" = set; then
29735 echo $ECHO_N "(cached
) $ECHO_C" >&6
29737 ac_check_lib_save_LIBS=$LIBS
29738 LIBS="-lmspack $LIBS"
29739 cat >conftest.$ac_ext <<_ACEOF
29742 cat confdefs.h >>conftest.$ac_ext
29743 cat >>conftest.$ac_ext <<_ACEOF
29744 /* end confdefs.h. */
29746 /* Override any GCC internal prototype to avoid an error.
29747 Use char because int might match the return type of a GCC
29748 builtin and then its argument prototype would still apply. */
29752 char mspack_create_chm_decompressor ();
29756 return mspack_create_chm_decompressor ();
29761 rm -f conftest.$ac_objext conftest$ac_exeext
29762 if { (ac_try="$ac_link"
29763 case "(($ac_try" in
29764 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29765 *) ac_try_echo=$ac_try;;
29767 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
29768 (eval "$ac_link") 2>conftest.er1
29770 grep -v '^ *+' conftest.er1 >conftest.err
29772 cat conftest.err >&5
29773 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
29774 (exit $ac_status); } && {
29775 test -z "$ac_c_werror_flag" ||
29776 test ! -s conftest.err
29777 } && test -s conftest$ac_exeext &&
29778 $as_test_x conftest$ac_exeext; then
29779 ac_cv_lib_mspack_mspack_create_chm_decompressor=yes
29781 echo "$as_me: failed program was
:" >&5
29782 sed 's/^/| /' conftest.$ac_ext >&5
29784 ac_cv_lib_mspack_mspack_create_chm_decompressor=no
29787 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29788 conftest$ac_exeext conftest.$ac_ext
29789 LIBS=$ac_check_lib_save_LIBS
29791 { echo "$as_me:$LINENO: result
: $ac_cv_lib_mspack_mspack_create_chm_decompressor" >&5
29792 echo "${ECHO_T}$ac_cv_lib_mspack_mspack_create_chm_decompressor" >&6; }
29793 if test $ac_cv_lib_mspack_mspack_create_chm_decompressor = yes; then
29794 MSPACK_LINK=" -lmspack"
29798 if test "x
$MSPACK_LINK" = "x
" ; then
29803 if test "$wxUSE_LIBMSPACK" != "no
"; then
29804 cat >>confdefs.h <<\_ACEOF
29805 #define wxUSE_LIBMSPACK 1
29819 if test "$USE_WIN32" = 1 ; then
29820 { echo "$as_me:$LINENO: checking
for w32api.h
" >&5
29821 echo $ECHO_N "checking
for w32api.h...
$ECHO_C" >&6; }
29822 if test "${ac_cv_header_w32api_h+set}" = set; then
29823 echo $ECHO_N "(cached
) $ECHO_C" >&6
29825 cat >conftest.$ac_ext <<_ACEOF
29828 cat confdefs.h >>conftest.$ac_ext
29829 cat >>conftest.$ac_ext <<_ACEOF
29830 /* end confdefs.h. */
29833 #include <w32api.h>
29835 rm -f conftest.$ac_objext
29836 if { (ac_try="$ac_compile"
29837 case "(($ac_try" in
29838 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29839 *) ac_try_echo=$ac_try;;
29841 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
29842 (eval "$ac_compile") 2>conftest.er1
29844 grep -v '^ *+' conftest.er1 >conftest.err
29846 cat conftest.err >&5
29847 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
29848 (exit $ac_status); } && {
29849 test -z "$ac_c_werror_flag" ||
29850 test ! -s conftest.err
29851 } && test -s conftest.$ac_objext; then
29852 ac_cv_header_w32api_h=yes
29854 echo "$as_me: failed program was
:" >&5
29855 sed 's/^/| /' conftest.$ac_ext >&5
29857 ac_cv_header_w32api_h=no
29860 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29862 { echo "$as_me:$LINENO: result
: $ac_cv_header_w32api_h" >&5
29863 echo "${ECHO_T}$ac_cv_header_w32api_h" >&6; }
29866 { echo "$as_me:$LINENO: checking
for windows.h
" >&5
29867 echo $ECHO_N "checking
for windows.h...
$ECHO_C" >&6; }
29868 if test "${ac_cv_header_windows_h+set}" = set; then
29869 echo $ECHO_N "(cached
) $ECHO_C" >&6
29871 cat >conftest.$ac_ext <<_ACEOF
29874 cat confdefs.h >>conftest.$ac_ext
29875 cat >>conftest.$ac_ext <<_ACEOF
29876 /* end confdefs.h. */
29879 #include <windows.h>
29881 rm -f conftest.$ac_objext
29882 if { (ac_try="$ac_compile"
29883 case "(($ac_try" in
29884 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29885 *) ac_try_echo=$ac_try;;
29887 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
29888 (eval "$ac_compile") 2>conftest.er1
29890 grep -v '^ *+' conftest.er1 >conftest.err
29892 cat conftest.err >&5
29893 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
29894 (exit $ac_status); } && {
29895 test -z "$ac_c_werror_flag" ||
29896 test ! -s conftest.err
29897 } && test -s conftest.$ac_objext; then
29898 ac_cv_header_windows_h=yes
29900 echo "$as_me: failed program was
:" >&5
29901 sed 's/^/| /' conftest.$ac_ext >&5
29903 ac_cv_header_windows_h=no
29906 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29908 { echo "$as_me:$LINENO: result
: $ac_cv_header_windows_h" >&5
29909 echo "${ECHO_T}$ac_cv_header_windows_h" >&6; }
29910 if test $ac_cv_header_windows_h = yes; then
29914 { { echo "$as_me:$LINENO: error
: please
set CFLAGS to contain the location of windows.h
" >&5
29915 echo "$as_me: error
: please
set CFLAGS to contain the location of windows.h
" >&2;}
29916 { (exit 1); exit 1; }; }
29922 LIBS="$LIBS -lwinspool -lwinmm -lshell32 -lcomctl32 -lcomdlg32 -lctl3d32 -ladvapi32 -lwsock32 -lgdi32"
29924 if test "$wxUSE_ACCESSIBILITY" = "yes" ; then
29925 LIBS="$LIBS -loleacc"
29930 LIBS="$LIBS -lkernel32 -luser32"
29933 if test "$wxUSE_ODBC" = "sys
" ; then
29936 if test "$wxUSE_ODBC" = "yes" ; then
29937 LIBS=" -lodbc32 -lole32 -loleaut32 $LIBS"
29938 cat >>confdefs.h <<\_ACEOF
29939 #define wxUSE_ODBC 1
29944 RESFLAGS="--include-dir \
$(top_srcdir)/include
--include-dir \
$(top_srcdir)/\
$(program_dir) --define __WIN32__
--define __WIN95__
--define __GNUWIN32__
"
29945 RESPROGRAMOBJ="\
$(PROGRAM)_resources.o
"
29947 WXCONFIG_RESFLAGS="--define __WIN32__
--define __WIN95__
--define __GNUWIN32__
"
29949 WIN32INSTALL=win32install
29951 { echo "$as_me:$LINENO: checking
for pbt.h
" >&5
29952 echo $ECHO_N "checking
for pbt.h...
$ECHO_C" >&6; }
29953 if test "${ac_cv_header_pbt_h+set}" = set; then
29954 echo $ECHO_N "(cached
) $ECHO_C" >&6
29956 cat >conftest.$ac_ext <<_ACEOF
29959 cat confdefs.h >>conftest.$ac_ext
29960 cat >>conftest.$ac_ext <<_ACEOF
29961 /* end confdefs.h. */
29966 rm -f conftest.$ac_objext
29967 if { (ac_try="$ac_compile"
29968 case "(($ac_try" in
29969 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29970 *) ac_try_echo=$ac_try;;
29972 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
29973 (eval "$ac_compile") 2>conftest.er1
29975 grep -v '^ *+' conftest.er1 >conftest.err
29977 cat conftest.err >&5
29978 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
29979 (exit $ac_status); } && {
29980 test -z "$ac_c_werror_flag" ||
29981 test ! -s conftest.err
29982 } && test -s conftest.$ac_objext; then
29983 ac_cv_header_pbt_h=yes
29985 echo "$as_me: failed program was
:" >&5
29986 sed 's/^/| /' conftest.$ac_ext >&5
29988 ac_cv_header_pbt_h=no
29991 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29993 { echo "$as_me:$LINENO: result
: $ac_cv_header_pbt_h" >&5
29994 echo "${ECHO_T}$ac_cv_header_pbt_h" >&6; }
29995 if test $ac_cv_header_pbt_h = yes; then
29998 cat >>confdefs.h <<\_ACEOF
29999 #define NEED_PBT_H 1
30007 if test "$wxUSE_GUI" = "yes"; then
30017 if test "$wxUSE_COCOA" = 1 ; then
30018 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes"; then
30019 { echo "$as_me:$LINENO: WARNING
: Printing not supported under wxCocoa yet
, disabled
" >&5
30020 echo "$as_me: WARNING
: Printing not supported under wxCocoa yet
, disabled
" >&2;}
30021 wxUSE_PRINTING_ARCHITECTURE=no
30023 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
30024 { echo "$as_me:$LINENO: WARNING
: Drag and Drop not supported under wxCocoa yet
, disabled
" >&5
30025 echo "$as_me: WARNING
: Drag and Drop not supported under wxCocoa yet
, disabled
" >&2;}
30026 wxUSE_DRAG_AND_DROP=no
30028 if test "$wxUSE_DRAGIMAGE" = "yes"; then
30029 { echo "$as_me:$LINENO: WARNING
: wxDragImage not supported under wxCocoa yet
, disabled
" >&5
30030 echo "$as_me: WARNING
: wxDragImage not supported under wxCocoa yet
, disabled
" >&2;}
30035 if test "$wxUSE_MSW" = 1 ; then
30041 WXCONFIG_LDFLAGS_GUI="$LDFLAGS -Wl,--subsystem,windows
-mwindows"
30045 if test "$wxUSE_GTK" = 1; then
30046 { echo "$as_me:$LINENO: checking
for GTK
+ version
" >&5
30047 echo $ECHO_N "checking
for GTK
+ version...
$ECHO_C" >&6; }
30049 gtk_version_cached=1
30050 if test "${wx_cv_lib_gtk+set}" = set; then
30051 echo $ECHO_N "(cached
) $ECHO_C" >&6
30054 gtk_version_cached=0
30055 { echo "$as_me:$LINENO: result
: " >&5
30056 echo "${ECHO_T}" >&6; }
30059 if test "$wxUSE_THREADS" = "yes"; then
30060 GTK_MODULES=gthread
30064 if test "x
$wxGTK_VERSION" != "x1
"
30068 if test "$wxUSE_THREADS" = "yes" -a "$GCC" = yes; then
30073 # Check whether --enable-gtktest was given.
30074 if test "${enable_gtktest+set}" = set; then
30075 enableval=$enable_gtktest;
30081 pkg_config_args=gtk+-2.0
30082 for module in . $GTK_MODULES
30086 pkg_config_args="$pkg_config_args gthread
-2.0
"
30093 # Extract the first word of "pkg
-config", so it can be a program name with args.
30094 set dummy pkg-config; ac_word=$2
30095 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
30096 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
30097 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
30098 echo $ECHO_N "(cached
) $ECHO_C" >&6
30100 case $PKG_CONFIG in
30102 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
30105 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
30106 for as_dir in $PATH
30109 test -z "$as_dir" && as_dir=.
30110 for ac_exec_ext in '' $ac_executable_extensions; do
30111 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
30112 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
30113 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
30120 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no
"
30124 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
30125 if test -n "$PKG_CONFIG"; then
30126 { echo "$as_me:$LINENO: result
: $PKG_CONFIG" >&5
30127 echo "${ECHO_T}$PKG_CONFIG" >&6; }
30129 { echo "$as_me:$LINENO: result
: no
" >&5
30130 echo "${ECHO_T}no
" >&6; }
30135 if test x$PKG_CONFIG != xno ; then
30136 if pkg-config --atleast-pkgconfig-version 0.7 ; then
30139 echo "*** pkg
-config too old
; version
0.7 or better required.
"
30147 min_gtk_version=2.0.0
30148 { echo "$as_me:$LINENO: checking
for GTK
+ - version
>= $min_gtk_version" >&5
30149 echo $ECHO_N "checking
for GTK
+ - version
>= $min_gtk_version...
$ECHO_C" >&6; }
30151 if test x$PKG_CONFIG != xno ; then
30152 ## don't try to run the test against uninstalled libtool libs
30153 if $PKG_CONFIG --uninstalled $pkg_config_args; then
30154 echo "Will use uninstalled version of GTK
+ found
in PKG_CONFIG_PATH
"
30158 if $PKG_CONFIG --atleast-version $min_gtk_version $pkg_config_args; then
30165 if test x"$no_gtk" = x ; then
30166 GTK_CFLAGS=`$PKG_CONFIG $pkg_config_args --cflags`
30167 GTK_LIBS=`$PKG_CONFIG $pkg_config_args --libs`
30168 gtk_config_major_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
30169 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
30170 gtk_config_minor_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
30171 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
30172 gtk_config_micro_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
30173 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
30174 if test "x
$enable_gtktest" = "xyes
" ; then
30175 ac_save_CFLAGS="$CFLAGS"
30176 ac_save_LIBS="$LIBS"
30177 CFLAGS="$CFLAGS $GTK_CFLAGS"
30178 LIBS="$GTK_LIBS $LIBS"
30180 if test "$cross_compiling" = yes; then
30181 echo $ac_n "cross compiling
; assumed OK...
$ac_c"
30183 cat >conftest.$ac_ext <<_ACEOF
30186 cat confdefs.h >>conftest.$ac_ext
30187 cat >>conftest.$ac_ext <<_ACEOF
30188 /* end confdefs.h. */
30190 #include <gtk/gtk.h>
30192 #include <stdlib.h>
30197 int major, minor, micro;
30200 system ("touch conf.gtktest
");
30202 /* HP/UX 9 (%@#!) writes to sscanf strings */
30203 tmp_version = g_strdup("$min_gtk_version");
30204 if (sscanf(tmp_version, "%d.
%d.
%d
", &major, &minor, µ) != 3) {
30205 printf("%s
, bad version string
\n", "$min_gtk_version");
30209 if ((gtk_major_version != $gtk_config_major_version) ||
30210 (gtk_minor_version != $gtk_config_minor_version) ||
30211 (gtk_micro_version != $gtk_config_micro_version))
30213 printf("\n*** 'pkg-config --modversion gtk+-2.0' returned
%d.
%d.
%d
, but GTK
+ (%d.
%d.
%d
)\n",
30214 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
30215 gtk_major_version, gtk_minor_version, gtk_micro_version);
30216 printf ("*** was found
! If pkg
-config was correct
, then it is best
\n");
30217 printf ("*** to remove the old version of GTK
+. You may also be able to fix the error
\n");
30218 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable
, or by editing
\n");
30219 printf("*** /etc
/ld.so.conf. Make sure you have run ldconfig
if that is
\n");
30220 printf("*** required on your system.
\n");
30221 printf("*** If pkg
-config was wrong
, set the environment variable PKG_CONFIG_PATH
\n");
30222 printf("*** to point to the correct configuration files
\n");
30224 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
30225 (gtk_minor_version != GTK_MINOR_VERSION) ||
30226 (gtk_micro_version != GTK_MICRO_VERSION))
30228 printf("*** GTK
+ header files
(version
%d.
%d.
%d
) do not match
\n",
30229 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
30230 printf("*** library
(version
%d.
%d.
%d
)\n",
30231 gtk_major_version, gtk_minor_version, gtk_micro_version);
30235 if ((gtk_major_version > major) ||
30236 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
30237 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
30243 printf("\n*** An old version of GTK
+ (%d.
%d.
%d
) was found.
\n",
30244 gtk_major_version, gtk_minor_version, gtk_micro_version);
30245 printf("*** You need a version of GTK
+ newer than
%d.
%d.
%d. The latest version of
\n",
30246 major, minor, micro);
30247 printf("*** GTK
+ is always available from
ftp://ftp.gtk.org.
\n");
30249 printf("*** If you have already installed a sufficiently new version
, this error
\n");
30250 printf("*** probably means that the wrong copy of the pkg
-config shell
script is
\n");
30251 printf("*** being found. The easiest way to fix this is to remove the old version
\n");
30252 printf("*** of GTK
+, but you can also
set the PKG_CONFIG environment to point to the
\n");
30253 printf("*** correct copy of pkg
-config.
(In this
case, you will have to
\n");
30254 printf("*** modify your LD_LIBRARY_PATH enviroment variable
, or edit
/etc
/ld.so.conf
\n");
30255 printf("*** so that the correct libraries are found
at run
-time))\n");
30262 rm -f conftest$ac_exeext
30263 if { (ac_try="$ac_link"
30264 case "(($ac_try" in
30265 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30266 *) ac_try_echo=$ac_try;;
30268 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
30269 (eval "$ac_link") 2>&5
30271 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
30272 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
30273 { (case "(($ac_try" in
30274 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30275 *) ac_try_echo=$ac_try;;
30277 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
30278 (eval "$ac_try") 2>&5
30280 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
30281 (exit $ac_status); }; }; then
30284 echo "$as_me: program exited with status
$ac_status" >&5
30285 echo "$as_me: failed program was
:" >&5
30286 sed 's/^/| /' conftest.$ac_ext >&5
30288 ( exit $ac_status )
30291 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
30295 CFLAGS="$ac_save_CFLAGS"
30296 LIBS="$ac_save_LIBS"
30299 if test "x
$no_gtk" = x ; then
30300 { echo "$as_me:$LINENO: result
: yes (version
$gtk_config_major_version.
$gtk_config_minor_version.
$gtk_config_micro_version)" >&5
30301 echo "${ECHO_T}yes (version
$gtk_config_major_version.
$gtk_config_minor_version.
$gtk_config_micro_version)" >&6; }
30304 { echo "$as_me:$LINENO: result
: no
" >&5
30305 echo "${ECHO_T}no
" >&6; }
30306 if test "$PKG_CONFIG" = "no
" ; then
30307 echo "*** A new enough version of pkg
-config was not found.
"
30308 echo "*** See http
://pkgconfig.sourceforge.net
"
30310 if test -f conf.gtktest ; then
30313 echo "*** Could not run GTK
+ test program
, checking why...
"
30314 ac_save_CFLAGS="$CFLAGS"
30315 ac_save_LIBS="$LIBS"
30316 CFLAGS="$CFLAGS $GTK_CFLAGS"
30317 LIBS="$LIBS $GTK_LIBS"
30318 cat >conftest.$ac_ext <<_ACEOF
30321 cat confdefs.h >>conftest.$ac_ext
30322 cat >>conftest.$ac_ext <<_ACEOF
30323 /* end confdefs.h. */
30325 #include <gtk/gtk.h>
30331 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
30336 rm -f conftest.$ac_objext conftest$ac_exeext
30337 if { (ac_try="$ac_link"
30338 case "(($ac_try" in
30339 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30340 *) ac_try_echo=$ac_try;;
30342 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
30343 (eval "$ac_link") 2>conftest.er1
30345 grep -v '^ *+' conftest.er1 >conftest.err
30347 cat conftest.err >&5
30348 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
30349 (exit $ac_status); } && {
30350 test -z "$ac_c_werror_flag" ||
30351 test ! -s conftest.err
30352 } && test -s conftest$ac_exeext &&
30353 $as_test_x conftest$ac_exeext; then
30354 echo "*** The
test program compiled
, but did not run. This usually means
"
30355 echo "*** that the run
-time linker is not finding GTK
+ or finding the wrong
"
30356 echo "*** version of GTK
+. If it is not finding GTK
+, you
'll need to set your"
30357 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
30358 echo "*** to the installed location Also, make sure you have run ldconfig if that"
30359 echo "*** is required on your system"
30361 echo "*** If you have an old version installed, it is best to remove it, although"
30362 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
30364 echo "$as_me: failed program was:" >&5
30365 sed 's
/^
/| /' conftest.$ac_ext >&5
30367 echo "*** The test program failed to compile or link. See the file config.log for the"
30368 echo "*** exact error that occured. This usually means GTK+ is incorrectly installed."
30371 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30372 conftest$ac_exeext conftest.$ac_ext
30373 CFLAGS="$ac_save_CFLAGS"
30374 LIBS="$ac_save_LIBS"
30388 if test "$wxUSE_SHARED" != "yes"; then
30389 GTK_LIBS="$GTK_LIBS -lX11"
30394 if test -z "$wx_cv_lib_gtk"; then
30395 if test "x$wxGTK_VERSION" = "x1" -o "x$wxGTK_VERSION" = "xany" ; then
30397 # Check whether --with-gtk-prefix was given.
30398 if test "${with_gtk_prefix+set}" = set; then
30399 withval=$with_gtk_prefix; gtk_config_prefix="$withval"
30401 gtk_config_prefix=""
30405 # Check whether --with-gtk-exec-prefix was given.
30406 if test "${with_gtk_exec_prefix+set}" = set; then
30407 withval=$with_gtk_exec_prefix; gtk_config_exec_prefix="$withval"
30409 gtk_config_exec_prefix=""
30412 # Check whether --enable-gtktest was given.
30413 if test "${enable_gtktest+set}" = set; then
30414 enableval=$enable_gtktest;
30420 for module in . $GTK_MODULES
30424 gtk_config_args="$gtk_config_args gthread"
30429 if test x$gtk_config_exec_prefix != x ; then
30430 gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
30431 if test x${GTK_CONFIG+set} != xset ; then
30432 GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
30435 if test x$gtk_config_prefix != x ; then
30436 gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
30437 if test x${GTK_CONFIG+set} != xset ; then
30438 GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
30442 # Extract the first word of "gtk-config", so it can be a program name with args.
30443 set dummy gtk-config; ac_word=$2
30444 { echo "$as_me:$LINENO: checking for $ac_word" >&5
30445 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
30446 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
30447 echo $ECHO_N "(cached) $ECHO_C" >&6
30449 case $GTK_CONFIG in
30451 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path.
30454 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
30455 for as_dir in $PATH
30458 test -z "$as_dir" && as_dir=.
30459 for ac_exec_ext in '' $ac_executable_extensions; do
30460 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
30461 ac_cv_path_GTK_CONFIG="$as_dir/$ac_word$ac_exec_ext"
30462 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
30469 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no"
30473 GTK_CONFIG=$ac_cv_path_GTK_CONFIG
30474 if test -n "$GTK_CONFIG"; then
30475 { echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
30476 echo "${ECHO_T}$GTK_CONFIG" >&6; }
30478 { echo "$as_me:$LINENO: result: no" >&5
30479 echo "${ECHO_T}no" >&6; }
30483 min_gtk_version=1.2.7
30484 { echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
30485 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6; }
30487 if test "$GTK_CONFIG" = "no" ; then
30490 GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags`
30491 GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs`
30492 gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \
30493 sed 's
/\
([0-9]*\
).\
([0-9]*\
).\
([0-9]*\
)/\
1/'`
30494 gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \
30495 sed 's
/\
([0-9]*\
).\
([0-9]*\
).\
([0-9]*\
)/\
2/'`
30496 gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \
30497 sed 's
/\
([0-9]*\
).\
([0-9]*\
).\
([0-9]*\
)/\
3/'`
30498 if test "x$enable_gtktest" = "xyes" ; then
30499 ac_save_CFLAGS="$CFLAGS"
30500 ac_save_LIBS="$LIBS"
30501 CFLAGS="$CFLAGS $GTK_CFLAGS"
30502 LIBS="$GTK_LIBS $LIBS"
30504 if test "$cross_compiling" = yes; then
30505 echo $ac_n "cross compiling; assumed OK... $ac_c"
30507 cat >conftest.$ac_ext <<_ACEOF
30510 cat confdefs.h >>conftest.$ac_ext
30511 cat >>conftest.$ac_ext <<_ACEOF
30512 /* end confdefs.h. */
30514 #include <gtk/gtk.h>
30516 #include <stdlib.h>
30521 int major, minor, micro;
30524 system ("touch conf.gtktest");
30526 /* HP/UX 9 (%@#!) writes to sscanf strings */
30527 tmp_version = g_strdup("$min_gtk_version");
30528 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
30529 printf("%s, bad version string\n", "$min_gtk_version");
30533 if ((gtk_major_version != $gtk_config_major_version) ||
30534 (gtk_minor_version != $gtk_config_minor_version) ||
30535 (gtk_micro_version != $gtk_config_micro_version))
30537 printf("\n*** 'gtk
-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
30538 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
30539 gtk_major_version, gtk_minor_version, gtk_micro_version);
30540 printf ("*** was found! If gtk-config was correct, then it is best\n");
30541 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
30542 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
30543 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
30544 printf("*** required on your system.\n");
30545 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
30546 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
30547 printf("*** before re-running configure\n");
30549 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
30550 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
30551 (gtk_minor_version != GTK_MINOR_VERSION) ||
30552 (gtk_micro_version != GTK_MICRO_VERSION))
30554 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
30555 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
30556 printf("*** library (version %d.%d.%d)\n",
30557 gtk_major_version, gtk_minor_version, gtk_micro_version);
30559 #endif /* defined (GTK_MAJOR_VERSION) ... */
30562 if ((gtk_major_version > major) ||
30563 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
30564 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
30570 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
30571 gtk_major_version, gtk_minor_version, gtk_micro_version);
30572 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
30573 major, minor, micro);
30574 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
30576 printf("*** If you have already installed a sufficiently new version, this error\n");
30577 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
30578 printf("*** being found. The easiest way to fix this is to remove the old version\n");
30579 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
30580 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
30581 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
30582 printf("*** so that the correct libraries are found at run-time))\n");
30589 rm -f conftest$ac_exeext
30590 if { (ac_try="$ac_link"
30591 case "(($ac_try" in
30592 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30593 *) ac_try_echo=$ac_try;;
30595 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30596 (eval "$ac_link") 2>&5
30598 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30599 (exit $ac_status); } && { ac_try='.
/conftest
$ac_exeext'
30600 { (case "(($ac_try" in
30601 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30602 *) ac_try_echo=$ac_try;;
30604 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30605 (eval "$ac_try") 2>&5
30607 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30608 (exit $ac_status); }; }; then
30611 echo "$as_me: program exited with status $ac_status" >&5
30612 echo "$as_me: failed program was:" >&5
30613 sed 's
/^
/| /' conftest.$ac_ext >&5
30615 ( exit $ac_status )
30618 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
30622 CFLAGS="$ac_save_CFLAGS"
30623 LIBS="$ac_save_LIBS"
30626 if test "x$no_gtk" = x ; then
30627 { echo "$as_me:$LINENO: result: yes" >&5
30628 echo "${ECHO_T}yes" >&6; }
30629 wx_cv_lib_gtk=1.2.7
30631 { echo "$as_me:$LINENO: result: no" >&5
30632 echo "${ECHO_T}no" >&6; }
30633 if test "$GTK_CONFIG" = "no" ; then
30634 echo "*** The gtk-config script installed by GTK could not be found"
30635 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
30636 echo "*** your path, or set the GTK_CONFIG environment variable to the"
30637 echo "*** full path to gtk-config."
30639 if test -f conf.gtktest ; then
30642 echo "*** Could not run GTK test program, checking why..."
30643 CFLAGS="$CFLAGS $GTK_CFLAGS"
30644 LIBS="$LIBS $GTK_LIBS"
30645 cat >conftest.$ac_ext <<_ACEOF
30648 cat confdefs.h >>conftest.$ac_ext
30649 cat >>conftest.$ac_ext <<_ACEOF
30650 /* end confdefs.h. */
30652 #include <gtk/gtk.h>
30658 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
30663 rm -f conftest.$ac_objext conftest$ac_exeext
30664 if { (ac_try="$ac_link"
30665 case "(($ac_try" in
30666 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30667 *) ac_try_echo=$ac_try;;
30669 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30670 (eval "$ac_link") 2>conftest.er1
30672 grep -v '^
*+' conftest.er1 >conftest.err
30674 cat conftest.err >&5
30675 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30676 (exit $ac_status); } && {
30677 test -z "$ac_c_werror_flag" ||
30678 test ! -s conftest.err
30679 } && test -s conftest$ac_exeext &&
30680 $as_test_x conftest$ac_exeext; then
30681 echo "*** The test program compiled, but did not run. This usually means"
30682 echo "*** that the run-time linker is not finding GTK or finding the wrong"
30683 echo "*** version of GTK. If it is not finding GTK, you'll need to
set your
"
30684 echo "*** LD_LIBRARY_PATH environment variable
, or edit
/etc
/ld.so.conf to point
"
30685 echo "*** to the installed location Also
, make sure you have run ldconfig
if that
"
30686 echo "*** is required on your system
"
30688 echo "*** If you have an old version installed
, it is best to remove it
, although
"
30689 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH
"
30691 echo "*** If you have a RedHat
5.0 system
, you should remove the GTK package that
"
30692 echo "*** came with the system with the
command"
30694 echo "*** rpm
--erase --nodeps gtk gtk
-devel"
30696 echo "$as_me: failed program was
:" >&5
30697 sed 's/^/| /' conftest.$ac_ext >&5
30699 echo "*** The
test program failed to compile or link. See the
file config.log
for the
"
30700 echo "*** exact error that occured. This usually means GTK was incorrectly installed
"
30701 echo "*** or that you have moved GTK since it was installed. In the latter
case, you
"
30702 echo "*** may want to edit the gtk
-config script: $GTK_CONFIG"
30705 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30706 conftest$ac_exeext conftest.$ac_ext
30707 CFLAGS="$ac_save_CFLAGS"
30708 LIBS="$ac_save_LIBS"
30720 if test -z "$wx_cv_lib_gtk"; then
30722 # Check whether --with-gtk-prefix was given.
30723 if test "${with_gtk_prefix+set}" = set; then
30724 withval=$with_gtk_prefix; gtk_config_prefix="$withval"
30726 gtk_config_prefix=""
30730 # Check whether --with-gtk-exec-prefix was given.
30731 if test "${with_gtk_exec_prefix+set}" = set; then
30732 withval=$with_gtk_exec_prefix; gtk_config_exec_prefix="$withval"
30734 gtk_config_exec_prefix=""
30737 # Check whether --enable-gtktest was given.
30738 if test "${enable_gtktest+set}" = set; then
30739 enableval=$enable_gtktest;
30745 for module in . $GTK_MODULES
30749 gtk_config_args="$gtk_config_args gthread
"
30754 if test x$gtk_config_exec_prefix != x ; then
30755 gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
30756 if test x${GTK_CONFIG+set} != xset ; then
30757 GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
30760 if test x$gtk_config_prefix != x ; then
30761 gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
30762 if test x${GTK_CONFIG+set} != xset ; then
30763 GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
30767 # Extract the first word of "gtk
-config", so it can be a program name with args.
30768 set dummy gtk-config; ac_word=$2
30769 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
30770 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
30771 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
30772 echo $ECHO_N "(cached
) $ECHO_C" >&6
30774 case $GTK_CONFIG in
30776 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path.
30779 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
30780 for as_dir in $PATH
30783 test -z "$as_dir" && as_dir=.
30784 for ac_exec_ext in '' $ac_executable_extensions; do
30785 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
30786 ac_cv_path_GTK_CONFIG="$as_dir/$ac_word$ac_exec_ext"
30787 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
30794 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no
"
30798 GTK_CONFIG=$ac_cv_path_GTK_CONFIG
30799 if test -n "$GTK_CONFIG"; then
30800 { echo "$as_me:$LINENO: result
: $GTK_CONFIG" >&5
30801 echo "${ECHO_T}$GTK_CONFIG" >&6; }
30803 { echo "$as_me:$LINENO: result
: no
" >&5
30804 echo "${ECHO_T}no
" >&6; }
30808 min_gtk_version=1.2.3
30809 { echo "$as_me:$LINENO: checking
for GTK
- version
>= $min_gtk_version" >&5
30810 echo $ECHO_N "checking
for GTK
- version
>= $min_gtk_version...
$ECHO_C" >&6; }
30812 if test "$GTK_CONFIG" = "no
" ; then
30815 GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags`
30816 GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs`
30817 gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \
30818 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
30819 gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \
30820 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
30821 gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \
30822 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
30823 if test "x
$enable_gtktest" = "xyes
" ; then
30824 ac_save_CFLAGS="$CFLAGS"
30825 ac_save_LIBS="$LIBS"
30826 CFLAGS="$CFLAGS $GTK_CFLAGS"
30827 LIBS="$GTK_LIBS $LIBS"
30829 if test "$cross_compiling" = yes; then
30830 echo $ac_n "cross compiling
; assumed OK...
$ac_c"
30832 cat >conftest.$ac_ext <<_ACEOF
30835 cat confdefs.h >>conftest.$ac_ext
30836 cat >>conftest.$ac_ext <<_ACEOF
30837 /* end confdefs.h. */
30839 #include <gtk/gtk.h>
30841 #include <stdlib.h>
30846 int major, minor, micro;
30849 system ("touch conf.gtktest
");
30851 /* HP/UX 9 (%@#!) writes to sscanf strings */
30852 tmp_version = g_strdup("$min_gtk_version");
30853 if (sscanf(tmp_version, "%d.
%d.
%d
", &major, &minor, µ) != 3) {
30854 printf("%s
, bad version string
\n", "$min_gtk_version");
30858 if ((gtk_major_version != $gtk_config_major_version) ||
30859 (gtk_minor_version != $gtk_config_minor_version) ||
30860 (gtk_micro_version != $gtk_config_micro_version))
30862 printf("\n*** 'gtk-config --version' returned
%d.
%d.
%d
, but GTK
+ (%d.
%d.
%d
)\n",
30863 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
30864 gtk_major_version, gtk_minor_version, gtk_micro_version);
30865 printf ("*** was found
! If gtk
-config was correct
, then it is best
\n");
30866 printf ("*** to remove the old version of GTK
+. You may also be able to fix the error
\n");
30867 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable
, or by editing
\n");
30868 printf("*** /etc
/ld.so.conf. Make sure you have run ldconfig
if that is
\n");
30869 printf("*** required on your system.
\n");
30870 printf("*** If gtk
-config was wrong
, set the environment variable GTK_CONFIG
\n");
30871 printf("*** to point to the correct copy of gtk
-config, and remove the
file config.cache
\n");
30872 printf("*** before re
-running configure
\n");
30874 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
30875 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
30876 (gtk_minor_version != GTK_MINOR_VERSION) ||
30877 (gtk_micro_version != GTK_MICRO_VERSION))
30879 printf("*** GTK
+ header files
(version
%d.
%d.
%d
) do not match
\n",
30880 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
30881 printf("*** library
(version
%d.
%d.
%d
)\n",
30882 gtk_major_version, gtk_minor_version, gtk_micro_version);
30884 #endif /* defined (GTK_MAJOR_VERSION) ... */
30887 if ((gtk_major_version > major) ||
30888 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
30889 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
30895 printf("\n*** An old version of GTK
+ (%d.
%d.
%d
) was found.
\n",
30896 gtk_major_version, gtk_minor_version, gtk_micro_version);
30897 printf("*** You need a version of GTK
+ newer than
%d.
%d.
%d. The latest version of
\n",
30898 major, minor, micro);
30899 printf("*** GTK
+ is always available from
ftp://ftp.gtk.org.
\n");
30901 printf("*** If you have already installed a sufficiently new version
, this error
\n");
30902 printf("*** probably means that the wrong copy of the gtk
-config shell
script is
\n");
30903 printf("*** being found. The easiest way to fix this is to remove the old version
\n");
30904 printf("*** of GTK
+, but you can also
set the GTK_CONFIG environment to point to the
\n");
30905 printf("*** correct copy of gtk
-config.
(In this
case, you will have to
\n");
30906 printf("*** modify your LD_LIBRARY_PATH enviroment variable
, or edit
/etc
/ld.so.conf
\n");
30907 printf("*** so that the correct libraries are found
at run
-time))\n");
30914 rm -f conftest$ac_exeext
30915 if { (ac_try="$ac_link"
30916 case "(($ac_try" in
30917 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30918 *) ac_try_echo=$ac_try;;
30920 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
30921 (eval "$ac_link") 2>&5
30923 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
30924 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
30925 { (case "(($ac_try" in
30926 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30927 *) ac_try_echo=$ac_try;;
30929 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
30930 (eval "$ac_try") 2>&5
30932 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
30933 (exit $ac_status); }; }; then
30936 echo "$as_me: program exited with status
$ac_status" >&5
30937 echo "$as_me: failed program was
:" >&5
30938 sed 's/^/| /' conftest.$ac_ext >&5
30940 ( exit $ac_status )
30943 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
30947 CFLAGS="$ac_save_CFLAGS"
30948 LIBS="$ac_save_LIBS"
30951 if test "x
$no_gtk" = x ; then
30952 { echo "$as_me:$LINENO: result
: yes" >&5
30953 echo "${ECHO_T}yes" >&6; }
30954 wx_cv_lib_gtk=1.2.3
30956 { echo "$as_me:$LINENO: result
: no
" >&5
30957 echo "${ECHO_T}no
" >&6; }
30958 if test "$GTK_CONFIG" = "no
" ; then
30959 echo "*** The gtk
-config script installed by GTK could not be found
"
30960 echo "*** If GTK was installed
in PREFIX
, make sure PREFIX
/bin is
in"
30961 echo "*** your path
, or
set the GTK_CONFIG environment variable to the
"
30962 echo "*** full path to gtk
-config.
"
30964 if test -f conf.gtktest ; then
30967 echo "*** Could not run GTK
test program
, checking why...
"
30968 CFLAGS="$CFLAGS $GTK_CFLAGS"
30969 LIBS="$LIBS $GTK_LIBS"
30970 cat >conftest.$ac_ext <<_ACEOF
30973 cat confdefs.h >>conftest.$ac_ext
30974 cat >>conftest.$ac_ext <<_ACEOF
30975 /* end confdefs.h. */
30977 #include <gtk/gtk.h>
30983 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
30988 rm -f conftest.$ac_objext conftest$ac_exeext
30989 if { (ac_try="$ac_link"
30990 case "(($ac_try" in
30991 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30992 *) ac_try_echo=$ac_try;;
30994 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
30995 (eval "$ac_link") 2>conftest.er1
30997 grep -v '^ *+' conftest.er1 >conftest.err
30999 cat conftest.err >&5
31000 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
31001 (exit $ac_status); } && {
31002 test -z "$ac_c_werror_flag" ||
31003 test ! -s conftest.err
31004 } && test -s conftest$ac_exeext &&
31005 $as_test_x conftest$ac_exeext; then
31006 echo "*** The
test program compiled
, but did not run. This usually means
"
31007 echo "*** that the run
-time linker is not finding GTK or finding the wrong
"
31008 echo "*** version of GTK. If it is not finding GTK
, you
'll need to set your"
31009 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
31010 echo "*** to the installed location Also, make sure you have run ldconfig if that"
31011 echo "*** is required on your system"
31013 echo "*** If you have an old version installed, it is best to remove it, although"
31014 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
31016 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
31017 echo "*** came with the system with the command"
31019 echo "*** rpm --erase --nodeps gtk gtk-devel"
31021 echo "$as_me: failed program was:" >&5
31022 sed 's
/^
/| /' conftest.$ac_ext >&5
31024 echo "*** The test program failed to compile or link. See the file config.log for the"
31025 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
31026 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
31027 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
31030 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31031 conftest$ac_exeext conftest.$ac_ext
31032 CFLAGS="$ac_save_CFLAGS"
31033 LIBS="$ac_save_LIBS"
31048 if test -z "$wx_cv_lib_gtk"; then
31051 wx_cv_cflags_gtk=$GTK_CFLAGS
31052 wx_cv_libs_gtk=`echo $GTK_LIBS | sed -e 's
/ -l[^
]*cairo
[^
]*//g
'`
31059 if test "$gtk_version_cached" = 1; then
31060 { echo "$as_me:$LINENO: result: $wx_cv_lib_gtk" >&5
31061 echo "${ECHO_T}$wx_cv_lib_gtk" >&6; }
31064 case "$wx_cv_lib_gtk" in
31073 *) { { echo "$as_me:$LINENO: error:
31074 The development files for GTK+ were not found. For GTK+ 2, please
31075 ensure that pkg-config is in the path and that gtk+-2.0.pc is
31076 installed. For GTK+ 1.2 please check that gtk-config is in the path,
31077 and that the version is 1.2.3 or above. Also check that the
31078 libraries returned by 'pkg
-config gtk
+-2.0
--libs' or 'gtk
-config
31079 --libs' are in the LD_LIBRARY_PATH or equivalent.
31081 echo "$as_me: error:
31082 The development files for GTK+ were not found. For GTK+ 2, please
31083 ensure that pkg-config is in the path and that gtk+-2.0.pc is
31084 installed. For GTK+ 1.2 please check that gtk-config is in the path,
31085 and that the version is 1.2.3 or above. Also check that the
31086 libraries returned by 'pkg
-config gtk
+-2.0
--libs' or 'gtk
-config
31087 --libs' are in the LD_LIBRARY_PATH or equivalent.
31089 { (exit 1); exit 1; }; }
31093 if test "$WXGTK20" = 1; then
31094 save_CFLAGS="$CFLAGS"
31096 CFLAGS="$wx_cv_cflags_gtk $CFLAGS"
31097 LIBS="$LIBS $wx_cv_libs_gtk"
31099 { echo "$as_me:$LINENO: checking whether gtk_icon_size_lookup is declared" >&5
31100 echo $ECHO_N "checking whether gtk_icon_size_lookup is declared... $ECHO_C" >&6; }
31101 if test "${ac_cv_have_decl_gtk_icon_size_lookup+set}" = set; then
31102 echo $ECHO_N "(cached) $ECHO_C" >&6
31104 cat >conftest.$ac_ext <<_ACEOF
31107 cat confdefs.h >>conftest.$ac_ext
31108 cat >>conftest.$ac_ext <<_ACEOF
31109 /* end confdefs.h. */
31110 #include <gtk/gtk.h>
31115 #ifndef gtk_icon_size_lookup
31116 (void) gtk_icon_size_lookup;
31123 rm -f conftest.$ac_objext
31124 if { (ac_try="$ac_compile"
31125 case "(($ac_try" in
31126 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31127 *) ac_try_echo=$ac_try;;
31129 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31130 (eval "$ac_compile") 2>conftest.er1
31132 grep -v '^
*+' conftest.er1 >conftest.err
31134 cat conftest.err >&5
31135 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31136 (exit $ac_status); } && {
31137 test -z "$ac_c_werror_flag" ||
31138 test ! -s conftest.err
31139 } && test -s conftest.$ac_objext; then
31140 ac_cv_have_decl_gtk_icon_size_lookup=yes
31142 echo "$as_me: failed program was:" >&5
31143 sed 's
/^
/| /' conftest.$ac_ext >&5
31145 ac_cv_have_decl_gtk_icon_size_lookup=no
31148 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31150 { echo "$as_me:$LINENO: result: $ac_cv_have_decl_gtk_icon_size_lookup" >&5
31151 echo "${ECHO_T}$ac_cv_have_decl_gtk_icon_size_lookup" >&6; }
31152 if test $ac_cv_have_decl_gtk_icon_size_lookup = yes; then
31154 cat >>confdefs.h <<_ACEOF
31155 #define HAVE_DECL_GTK_ICON_SIZE_LOOKUP 1
31160 cat >>confdefs.h <<_ACEOF
31161 #define HAVE_DECL_GTK_ICON_SIZE_LOOKUP 0
31164 cat >>confdefs.h <<\_ACEOF
31165 #define NEED_GTK_ICON_SIZE_LOOKUP 1
31173 { echo "$as_me:$LINENO: checking if GTK+ is version >= 2.10" >&5
31174 echo $ECHO_N "checking if GTK+ is version >= 2.10... $ECHO_C" >&6; }
31175 cat >conftest.$ac_ext <<_ACEOF
31178 cat confdefs.h >>conftest.$ac_ext
31179 cat >>conftest.$ac_ext <<_ACEOF
31180 /* end confdefs.h. */
31182 #include <gtk/gtk.h>
31188 #if !GTK_CHECK_VERSION(2,10,0)
31196 rm -f conftest.$ac_objext
31197 if { (ac_try="$ac_compile"
31198 case "(($ac_try" in
31199 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31200 *) ac_try_echo=$ac_try;;
31202 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31203 (eval "$ac_compile") 2>conftest.er1
31205 grep -v '^
*+' conftest.er1 >conftest.err
31207 cat conftest.err >&5
31208 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31209 (exit $ac_status); } && {
31210 test -z "$ac_c_werror_flag" ||
31211 test ! -s conftest.err
31212 } && test -s conftest.$ac_objext; then
31214 cat >>confdefs.h <<\_ACEOF
31215 #define __WXGTK210__ 1
31218 cat >>confdefs.h <<\_ACEOF
31219 #define __WXGTK26__ 1
31222 cat >>confdefs.h <<\_ACEOF
31223 #define __WXGTK24__ 1
31226 { echo "$as_me:$LINENO: result: yes" >&5
31227 echo "${ECHO_T}yes" >&6; }
31231 echo "$as_me: failed program was:" >&5
31232 sed 's
/^
/| /' conftest.$ac_ext >&5
31235 { echo "$as_me:$LINENO: result: no" >&5
31236 echo "${ECHO_T}no" >&6; }
31241 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31243 if test "$ac_wxgtk210" = 0; then
31244 { echo "$as_me:$LINENO: checking if GTK+ is version >= 2.6" >&5
31245 echo $ECHO_N "checking if GTK+ is version >= 2.6... $ECHO_C" >&6; }
31246 cat >conftest.$ac_ext <<_ACEOF
31249 cat confdefs.h >>conftest.$ac_ext
31250 cat >>conftest.$ac_ext <<_ACEOF
31251 /* end confdefs.h. */
31253 #include <gtk/gtk.h>
31259 #if !GTK_CHECK_VERSION(2,6,0)
31267 rm -f conftest.$ac_objext
31268 if { (ac_try="$ac_compile"
31269 case "(($ac_try" in
31270 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31271 *) ac_try_echo=$ac_try;;
31273 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31274 (eval "$ac_compile") 2>conftest.er1
31276 grep -v '^
*+' conftest.er1 >conftest.err
31278 cat conftest.err >&5
31279 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31280 (exit $ac_status); } && {
31281 test -z "$ac_c_werror_flag" ||
31282 test ! -s conftest.err
31283 } && test -s conftest.$ac_objext; then
31285 cat >>confdefs.h <<\_ACEOF
31286 #define __WXGTK26__ 1
31289 cat >>confdefs.h <<\_ACEOF
31290 #define __WXGTK24__ 1
31293 { echo "$as_me:$LINENO: result: yes" >&5
31294 echo "${ECHO_T}yes" >&6; }
31298 echo "$as_me: failed program was:" >&5
31299 sed 's
/^
/| /' conftest.$ac_ext >&5
31302 { echo "$as_me:$LINENO: result: no" >&5
31303 echo "${ECHO_T}no" >&6; }
31308 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31311 if test "$ac_wxgtk26" = 0; then
31312 { echo "$as_me:$LINENO: checking if GTK+ is version >= 2.4" >&5
31313 echo $ECHO_N "checking if GTK+ is version >= 2.4... $ECHO_C" >&6; }
31314 cat >conftest.$ac_ext <<_ACEOF
31317 cat confdefs.h >>conftest.$ac_ext
31318 cat >>conftest.$ac_ext <<_ACEOF
31319 /* end confdefs.h. */
31321 #include <gtk/gtk.h>
31327 #if !GTK_CHECK_VERSION(2,4,0)
31335 rm -f conftest.$ac_objext
31336 if { (ac_try="$ac_compile"
31337 case "(($ac_try" in
31338 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31339 *) ac_try_echo=$ac_try;;
31341 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31342 (eval "$ac_compile") 2>conftest.er1
31344 grep -v '^
*+' conftest.er1 >conftest.err
31346 cat conftest.err >&5
31347 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31348 (exit $ac_status); } && {
31349 test -z "$ac_c_werror_flag" ||
31350 test ! -s conftest.err
31351 } && test -s conftest.$ac_objext; then
31353 cat >>confdefs.h <<\_ACEOF
31354 #define __WXGTK24__ 1
31357 { echo "$as_me:$LINENO: result: yes" >&5
31358 echo "${ECHO_T}yes" >&6; }
31361 echo "$as_me: failed program was:" >&5
31362 sed 's
/^
/| /' conftest.$ac_ext >&5
31365 { echo "$as_me:$LINENO: result: no" >&5
31366 echo "${ECHO_T}no" >&6; }
31370 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31373 CFLAGS="$save_CFLAGS"
31376 if test "$wxUSE_UNICODE" = "yes"; then
31377 { echo "$as_me:$LINENO: WARNING: Unicode configuration not supported with GTK+ 1.x" >&5
31378 echo "$as_me: WARNING: Unicode configuration not supported with GTK+ 1.x" >&2;}
31382 { echo "$as_me:$LINENO: checking for gdk_im_open in -lgdk" >&5
31383 echo $ECHO_N "checking for gdk_im_open in -lgdk... $ECHO_C" >&6; }
31384 if test "${ac_cv_lib_gdk_gdk_im_open+set}" = set; then
31385 echo $ECHO_N "(cached) $ECHO_C" >&6
31387 ac_check_lib_save_LIBS=$LIBS
31389 cat >conftest.$ac_ext <<_ACEOF
31392 cat confdefs.h >>conftest.$ac_ext
31393 cat >>conftest.$ac_ext <<_ACEOF
31394 /* end confdefs.h. */
31396 /* Override any GCC internal prototype to avoid an error.
31397 Use char because int might match the return type of a GCC
31398 builtin and then its argument prototype would still apply. */
31402 char gdk_im_open ();
31406 return gdk_im_open ();
31411 rm -f conftest.$ac_objext conftest$ac_exeext
31412 if { (ac_try="$ac_link"
31413 case "(($ac_try" in
31414 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31415 *) ac_try_echo=$ac_try;;
31417 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31418 (eval "$ac_link") 2>conftest.er1
31420 grep -v '^
*+' conftest.er1 >conftest.err
31422 cat conftest.err >&5
31423 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31424 (exit $ac_status); } && {
31425 test -z "$ac_c_werror_flag" ||
31426 test ! -s conftest.err
31427 } && test -s conftest$ac_exeext &&
31428 $as_test_x conftest$ac_exeext; then
31429 ac_cv_lib_gdk_gdk_im_open=yes
31431 echo "$as_me: failed program was:" >&5
31432 sed 's
/^
/| /' conftest.$ac_ext >&5
31434 ac_cv_lib_gdk_gdk_im_open=no
31437 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31438 conftest$ac_exeext conftest.$ac_ext
31439 LIBS=$ac_check_lib_save_LIBS
31441 { echo "$as_me:$LINENO: result: $ac_cv_lib_gdk_gdk_im_open" >&5
31442 echo "${ECHO_T}$ac_cv_lib_gdk_gdk_im_open" >&6; }
31443 if test $ac_cv_lib_gdk_gdk_im_open = yes; then
31444 cat >>confdefs.h <<\_ACEOF
31451 if test "$USE_DARWIN" != 1; then
31453 for ac_func in poll
31455 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31456 { echo "$as_me:$LINENO: checking for $ac_func" >&5
31457 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
31458 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
31459 echo $ECHO_N "(cached) $ECHO_C" >&6
31461 cat >conftest.$ac_ext <<_ACEOF
31464 cat confdefs.h >>conftest.$ac_ext
31465 cat >>conftest.$ac_ext <<_ACEOF
31466 /* end confdefs.h. */
31467 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31468 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31469 #define $ac_func innocuous_$ac_func
31471 /* System header to define __stub macros and hopefully few prototypes,
31472 which can conflict with char $ac_func (); below.
31473 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31474 <limits.h> exists even on freestanding compilers. */
31477 # include <limits.h>
31479 # include <assert.h>
31484 /* Override any GCC internal prototype to avoid an error.
31485 Use char because int might match the return type of a GCC
31486 builtin and then its argument prototype would still apply. */
31491 /* The GNU C library defines this for functions which it implements
31492 to always fail with ENOSYS. Some functions are actually named
31493 something starting with __ and the normal name is an alias. */
31494 #if defined __stub_$ac_func || defined __stub___$ac_func
31501 return $ac_func ();
31506 rm -f conftest.$ac_objext conftest$ac_exeext
31507 if { (ac_try="$ac_link"
31508 case "(($ac_try" in
31509 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31510 *) ac_try_echo=$ac_try;;
31512 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31513 (eval "$ac_link") 2>conftest.er1
31515 grep -v '^
*+' conftest.er1 >conftest.err
31517 cat conftest.err >&5
31518 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31519 (exit $ac_status); } && {
31520 test -z "$ac_c_werror_flag" ||
31521 test ! -s conftest.err
31522 } && test -s conftest$ac_exeext &&
31523 $as_test_x conftest$ac_exeext; then
31524 eval "$as_ac_var=yes"
31526 echo "$as_me: failed program was:" >&5
31527 sed 's
/^
/| /' conftest.$ac_ext >&5
31529 eval "$as_ac_var=no"
31532 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31533 conftest$ac_exeext conftest.$ac_ext
31535 ac_res=`eval echo '${'$as_ac_var'}'`
31536 { echo "$as_me:$LINENO: result: $ac_res" >&5
31537 echo "${ECHO_T}$ac_res" >&6; }
31538 if test `eval echo '${'$as_ac_var'}'` = yes; then
31539 cat >>confdefs.h <<_ACEOF
31540 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31549 TOOLKIT_INCLUDE="$wx_cv_cflags_gtk"
31550 GUI_TK_LIBRARY="$wx_cv_libs_gtk $GUI_TK_LIBRARY"
31552 AFMINSTALL=afminstall
31556 if test "$wxUSE_GPE" = "yes"; then
31557 { echo "$as_me:$LINENO: checking for gpewidget library" >&5
31558 echo $ECHO_N "checking for gpewidget library... $ECHO_C" >&6; }
31561 for ac_dir in $SEARCH_LIB;
31563 for ac_extension in a so sl dylib dll.a; do
31564 if test -f "$ac_dir/libgpewidget.$ac_extension"; then
31565 ac_find_libraries=$ac_dir
31571 if test "$ac_find_libraries" != "" ; then
31573 if test "$ac_find_libraries" = "default location"; then
31576 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
31578 if test $result = 0; then
31581 ac_path_to_link=" -L$ac_find_libraries"
31585 GUI_TK_LIBRARY="-L${prefix}/lib -lgpewidget $GUI_TK_LIBRARY"
31587 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
31588 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
31590 { echo "$as_me:$LINENO: result: not found" >&5
31591 echo "${ECHO_T}not found" >&6; }
31597 if test "$wxUSE_MGL" = 1; then
31598 { echo "$as_me:$LINENO: checking for SciTech MGL library" >&5
31599 echo $ECHO_N "checking for SciTech MGL library... $ECHO_C" >&6; }
31600 if test "x$MGL_ROOT" = x ; then
31601 { echo "$as_me:$LINENO: result: not found" >&5
31602 echo "${ECHO_T}not found" >&6; }
31603 { { echo "$as_me:$LINENO: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&5
31604 echo "$as_me: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&2;}
31605 { (exit 1); exit 1; }; }
31607 { echo "$as_me:$LINENO: result: $MGL_ROOT" >&5
31608 echo "${ECHO_T}$MGL_ROOT" >&6; }
31611 { echo "$as_me:$LINENO: checking for libmgl location" >&5
31612 echo $ECHO_N "checking for libmgl location... $ECHO_C" >&6; }
31615 if test "x$wxUSE_SHARED" = xyes ; then
31616 mgl_os_candidates="linux/gcc/x86/so linux/gcc/x86/a linux/gcc/glibc.so linux/gcc/glibc"
31618 mgl_os_candidates="linux/gcc/x86/a linux/gcc/x86/so linux/gcc/glibc linux/gcc/glibc.so"
31622 mgl_os_candidates="dos32/dj2"
31625 { { echo "$as_me:$LINENO: error: This system type ${host} is not yet supported by wxMGL." >&5
31626 echo "$as_me: error: This system type ${host} is not yet supported by wxMGL." >&2;}
31627 { (exit 1); exit 1; }; }
31633 for mgl_os_i in $mgl_os_candidates ; do
31634 if test "x$mgl_os" = x ; then
31635 if test "$wxUSE_DEBUG_FLAG" = yes ; then
31636 if test -f $MGL_ROOT/lib/debug/$mgl_os_i/libmgl.a -o \
31637 -f $MGL_ROOT/lib/debug/$mgl_os_i/libmgl.so; then
31642 if test "x$mgl_lib_type" = x ; then
31643 if test -f $MGL_ROOT/lib/release/$mgl_os_i/libmgl.a -o \
31644 -f $MGL_ROOT/lib/release/$mgl_os_i/libmgl.so; then
31645 mgl_lib_type=release
31652 if test "x$mgl_os" = x ; then
31653 { echo "$as_me:$LINENO: result: not found" >&5
31654 echo "${ECHO_T}not found" >&6; }
31655 { { echo "$as_me:$LINENO: error: Cannot find MGL libraries, make sure they are compiled." >&5
31656 echo "$as_me: error: Cannot find MGL libraries, make sure they are compiled." >&2;}
31657 { (exit 1); exit 1; }; }
31659 { echo "$as_me:$LINENO: result: \"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&5
31660 echo "${ECHO_T}\"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&6; }
31662 wxUSE_UNIVERSAL="yes"
31664 TOOLKIT_INCLUDE="-I$MGL_ROOT/include"
31665 GUI_TK_LIBRARY="-L$MGL_ROOT/lib/$mgl_lib_type/$mgl_os -lmgl -lmglcpp -lpm"
31667 AFMINSTALL=afminstall
31672 if test "$wxUSE_DFB" = 1; then
31675 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
31676 if test -n "$ac_tool_prefix"; then
31677 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
31678 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
31679 { echo "$as_me:$LINENO: checking for $ac_word" >&5
31680 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
31681 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
31682 echo $ECHO_N "(cached) $ECHO_C" >&6
31684 case $PKG_CONFIG in
31686 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
31689 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
31690 for as_dir in $PATH
31693 test -z "$as_dir" && as_dir=.
31694 for ac_exec_ext in '' $ac_executable_extensions; do
31695 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
31696 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
31697 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
31707 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
31708 if test -n "$PKG_CONFIG"; then
31709 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
31710 echo "${ECHO_T}$PKG_CONFIG" >&6; }
31712 { echo "$as_me:$LINENO: result: no" >&5
31713 echo "${ECHO_T}no" >&6; }
31718 if test -z "$ac_cv_path_PKG_CONFIG"; then
31719 ac_pt_PKG_CONFIG=$PKG_CONFIG
31720 # Extract the first word of "pkg-config", so it can be a program name with args.
31721 set dummy pkg-config; ac_word=$2
31722 { echo "$as_me:$LINENO: checking for $ac_word" >&5
31723 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
31724 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
31725 echo $ECHO_N "(cached) $ECHO_C" >&6
31727 case $ac_pt_PKG_CONFIG in
31729 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
31732 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
31733 for as_dir in $PATH
31736 test -z "$as_dir" && as_dir=.
31737 for ac_exec_ext in '' $ac_executable_extensions; do
31738 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
31739 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
31740 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
31750 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
31751 if test -n "$ac_pt_PKG_CONFIG"; then
31752 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
31753 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
31755 { echo "$as_me:$LINENO: result: no" >&5
31756 echo "${ECHO_T}no" >&6; }
31759 if test "x$ac_pt_PKG_CONFIG" = x; then
31762 case $cross_compiling:$ac_tool_warned in
31764 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
31765 whose name does not start with the host triplet. If you think this
31766 configuration is useful to you, please write to autoconf@gnu.org." >&5
31767 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
31768 whose name does not start with the host triplet. If you think this
31769 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
31770 ac_tool_warned=yes ;;
31772 PKG_CONFIG=$ac_pt_PKG_CONFIG
31775 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
31779 if test -n "$PKG_CONFIG"; then
31780 _pkg_min_version=0.9.0
31781 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
31782 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
31783 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
31784 { echo "$as_me:$LINENO: result: yes" >&5
31785 echo "${ECHO_T}yes" >&6; }
31787 { echo "$as_me:$LINENO: result: no" >&5
31788 echo "${ECHO_T}no" >&6; }
31796 { echo "$as_me:$LINENO: checking for DIRECTFB" >&5
31797 echo $ECHO_N "checking for DIRECTFB... $ECHO_C" >&6; }
31799 if test -n "$PKG_CONFIG"; then
31800 if test -n "$DIRECTFB_CFLAGS"; then
31801 pkg_cv_DIRECTFB_CFLAGS="$DIRECTFB_CFLAGS"
31803 if test -n "$PKG_CONFIG" && \
31804 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"directfb >= 0.9.23\"") >&5
31805 ($PKG_CONFIG --exists --print-errors "directfb >= 0.9.23") 2>&5
31807 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31808 (exit $ac_status); }; then
31809 pkg_cv_DIRECTFB_CFLAGS=`$PKG_CONFIG --cflags "directfb >= 0.9.23" 2>/dev/null`
31817 if test -n "$PKG_CONFIG"; then
31818 if test -n "$DIRECTFB_LIBS"; then
31819 pkg_cv_DIRECTFB_LIBS="$DIRECTFB_LIBS"
31821 if test -n "$PKG_CONFIG" && \
31822 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"directfb >= 0.9.23\"") >&5
31823 ($PKG_CONFIG --exists --print-errors "directfb >= 0.9.23") 2>&5
31825 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31826 (exit $ac_status); }; then
31827 pkg_cv_DIRECTFB_LIBS=`$PKG_CONFIG --libs "directfb >= 0.9.23" 2>/dev/null`
31838 if test $pkg_failed = yes; then
31840 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
31841 _pkg_short_errors_supported=yes
31843 _pkg_short_errors_supported=no
31845 if test $_pkg_short_errors_supported = yes; then
31846 DIRECTFB_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "directfb >= 0.9.23"`
31848 DIRECTFB_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "directfb >= 0.9.23"`
31850 # Put the nasty error message in config.log where it belongs
31851 echo "$DIRECTFB_PKG_ERRORS" >&5
31854 { { echo "$as_me:$LINENO: error: DirectFB not found." >&5
31855 echo "$as_me: error: DirectFB not found." >&2;}
31856 { (exit 1); exit 1; }; }
31859 elif test $pkg_failed = untried; then
31861 { { echo "$as_me:$LINENO: error: DirectFB not found." >&5
31862 echo "$as_me: error: DirectFB not found." >&2;}
31863 { (exit 1); exit 1; }; }
31867 DIRECTFB_CFLAGS=$pkg_cv_DIRECTFB_CFLAGS
31868 DIRECTFB_LIBS=$pkg_cv_DIRECTFB_LIBS
31869 { echo "$as_me:$LINENO: result: yes" >&5
31870 echo "${ECHO_T}yes" >&6; }
31872 wxUSE_UNIVERSAL="yes"
31873 TOOLKIT_INCLUDE="$DIRECTFB_CFLAGS"
31874 GUI_TK_LIBRARY="$DIRECTFB_LIBS"
31881 if test "$wxUSE_MICROWIN" = 1; then
31882 { echo "$as_me:$LINENO: checking for MicroWindows" >&5
31883 echo $ECHO_N "checking for MicroWindows... $ECHO_C" >&6; }
31884 if test "x$MICROWINDOWS" = x ; then
31885 { echo "$as_me:$LINENO: result: not found" >&5
31886 echo "${ECHO_T}not found" >&6; }
31887 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&5
31888 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&2;}
31889 { (exit 1); exit 1; }; }
31891 { echo "$as_me:$LINENO: result: $MICROWINDOWS" >&5
31892 echo "${ECHO_T}$MICROWINDOWS" >&6; }
31895 if test -f $MICROWINDOWS/lib/libmwin.a; then
31896 { echo "$as_me:$LINENO: result: MicroWindows' libraries found.
" >&5
31897 echo "${ECHO_T}MicroWindows
' libraries found." >&6; }
31899 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows libraries, make sure they are compiled." >&5
31900 echo "$as_me: error: Cannot find MicroWindows libraries, make sure they are compiled." >&2;}
31901 { (exit 1); exit 1; }; }
31904 TOOLKIT_INCLUDE="-I$MICROWINDOWS/include"
31905 GUI_TK_LIBRARY="-L$MICROWINDOWS/lib -lmwin -lmwengine -mwfonts -mwdrivers -mwinlib"
31907 wxUSE_UNIVERSAL="yes"
31909 AFMINSTALL=afminstall
31911 GUIDIST=MICROWIN_DIST
31913 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXMSW__ -D__WIN95__ -D__WIN32__ -DMWIN -DMICROWIN_NOCONTROLS -DMICROWIN_TODO=1"
31916 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
31917 { echo "$as_me:$LINENO: checking for X" >&5
31918 echo $ECHO_N "checking for X... $ECHO_C" >&6; }
31921 # Check whether --with-x was given.
31922 if test "${with_x+set}" = set; then
31926 # $have_x is `yes', `no', `disabled
', or empty when we do not yet know.
31927 if test "x$with_x" = xno; then
31928 # The user explicitly disabled X.
31931 case $x_includes,$x_libraries in #(
31932 *\'*) { { echo "$as_me:$LINENO: error: Cannot use X directory names containing '" >&5
31933 echo "$as_me: error
: Cannot use X directory names containing
'" >&2;}
31934 { (exit 1); exit 1; }; };; #(
31935 *,NONE | NONE,*) if test "${ac_cv_have_x+set}" = set; then
31936 echo $ECHO_N "(cached) $ECHO_C" >&6
31938 # One or both of the vars are not set, and there is no cached value.
31939 ac_x_includes=no ac_x_libraries=no
31940 rm -f -r conftest.dir
31941 if mkdir conftest.dir; then
31943 cat >Imakefile <<'_ACEOF'
31945 @echo incroot='${INCROOT}'
31947 @echo usrlibdir='${USRLIBDIR}'
31949 @echo libdir='${LIBDIR}'
31951 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
31952 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
31953 for ac_var in incroot usrlibdir libdir; do
31954 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's
/^
$ac_var=//p
'\`"
31956 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
31957 for ac_extension in a so sl; do
31958 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
31959 test -f "$ac_im_libdir/libX11.$ac_extension"; then
31960 ac_im_usrlibdir=$ac_im_libdir; break
31963 # Screen out bogus values from the imake configuration. They are
31964 # bogus both because they are the default anyway, and because
31965 # using them would break gcc on systems where it needs fixed includes.
31966 case $ac_im_incroot in
31967 /usr/include) ac_x_includes= ;;
31968 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
31970 case $ac_im_usrlibdir in
31971 /usr/lib | /lib) ;;
31972 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
31976 rm -f -r conftest.dir
31979 # Standard set of common directories for X headers.
31980 # Check X11 before X11Rn because it is often a symlink to the current release.
31992 /usr
/local
/X
11/include
31993 /usr
/local
/X
11R
6/include
31994 /usr
/local
/X
11R
5/include
31995 /usr
/local
/X
11R
4/include
31997 /usr
/local
/include
/X11
31998 /usr
/local
/include
/X11R6
31999 /usr
/local
/include
/X11R5
32000 /usr
/local
/include
/X11R4
32004 /usr
/XFree
86/include
/X11
32008 /usr
/unsupported
/include
32009 /usr
/athena
/include
32010 /usr
/local
/x
11r
5/include
32011 /usr
/lpp
/Xamples
/include
32013 /usr
/openwin
/include
32014 /usr
/openwin
/share
/include
'
32016 if test "$ac_x_includes" = no; then
32017 # Guess where to find include files, by looking for Xlib.h.
32018 # First, try using that file with no special directory specified.
32019 cat >conftest.$ac_ext <<_ACEOF
32022 cat confdefs.h >>conftest.$ac_ext
32023 cat >>conftest.$ac_ext <<_ACEOF
32024 /* end confdefs.h. */
32025 #include <X11/Xlib.h>
32027 if { (ac_try="$ac_cpp conftest.$ac_ext"
32028 case "(($ac_try" in
32029 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32030 *) ac_try_echo=$ac_try;;
32032 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32033 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
32035 grep -v '^
*+' conftest.er1 >conftest.err
32037 cat conftest.err >&5
32038 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32039 (exit $ac_status); } >/dev/null && {
32040 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
32041 test ! -s conftest.err
32043 # We can compile using X headers with no special include directory.
32046 echo "$as_me: failed program was:" >&5
32047 sed 's
/^
/| /' conftest.$ac_ext >&5
32049 for ac_dir in $ac_x_header_dirs; do
32050 if test -r "$ac_dir/X11/Xlib.h"; then
32051 ac_x_includes=$ac_dir
32057 rm -f conftest.err conftest.$ac_ext
32058 fi # $ac_x_includes = no
32060 if test "$ac_x_libraries" = no; then
32061 # Check for the libraries.
32062 # See if we find them without any special options.
32063 # Don't add to
$LIBS permanently.
32066 cat >conftest.
$ac_ext <<_ACEOF
32069 cat confdefs.h
>>conftest.
$ac_ext
32070 cat >>conftest.
$ac_ext <<_ACEOF
32071 /* end confdefs.h. */
32072 #include <X11/Xlib.h>
32081 rm -f conftest.
$ac_objext conftest
$ac_exeext
32082 if { (ac_try
="$ac_link"
32083 case "(($ac_try" in
32084 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
32085 *) ac_try_echo=$ac_try;;
32087 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32088 (eval "$ac_link") 2>conftest.er1
32090 grep -v '^ *+' conftest.er1 >conftest.err
32092 cat conftest.err >&5
32093 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32094 (exit $ac_status); } && {
32095 test -z "$ac_c_werror_flag" ||
32096 test ! -s conftest.err
32097 } && test -s conftest$ac_exeext &&
32098 $as_test_x conftest$ac_exeext; then
32100 # We can link X programs with no special library path.
32103 echo "$as_me: failed program was:" >&5
32104 sed 's/^/| /' conftest.$ac_ext >&5
32107 for ac_dir in `echo "$ac_x_includes $ac_x_header_dirs" | sed s
/include
/lib
/g
`
32109 # Don't even attempt the hair of trying to link an X program!
32110 for ac_extension in a so sl; do
32111 if test -r "$ac_dir/libX11.$ac_extension"; then
32112 ac_x_libraries=$ac_dir
32119 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32120 conftest$ac_exeext conftest.$ac_ext
32121 fi # $ac_x_libraries = no
32123 case $ac_x_includes,$ac_x_libraries in #(
32124 no,* | *,no | *\'*)
32125 # Didn't find X, or a directory has "'" in its name.
32126 ac_cv_have_x="have_x=no";; #(
32128 # Record where we found X for the cache.
32129 ac_cv_have_x="have_x=yes\
32130 ac_x_includes='$ac_x_includes'\
32131 ac_x_libraries='$ac_x_libraries'"
32137 eval "$ac_cv_have_x"
32140 if test "$have_x" != yes; then
32141 { echo "$as_me:$LINENO: result: $have_x" >&5
32142 echo "${ECHO_T}$have_x" >&6; }
32145 # If each of the values was on the command line, it overrides each guess.
32146 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
32147 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
32148 # Update the cache value to reflect the command line values.
32149 ac_cv_have_x="have_x=yes\
32150 ac_x_includes='$x_includes'\
32151 ac_x_libraries='$x_libraries'"
32152 { echo "$as_me:$LINENO: result: libraries $x_libraries, headers $x_includes" >&5
32153 echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6; }
32156 if test "$no_x" = yes; then
32157 # Not all programs may use this symbol, but it does not hurt to define it.
32159 cat >>confdefs.h <<\_ACEOF
32160 #define X_DISPLAY_MISSING 1
32163 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
32165 if test -n "$x_includes"; then
32166 X_CFLAGS="$X_CFLAGS -I$x_includes"
32169 # It would also be nice to do this for all -L options, not just this one.
32170 if test -n "$x_libraries"; then
32171 X_LIBS="$X_LIBS -L$x_libraries"
32172 # For Solaris; some versions of Sun CC require a space after -R and
32173 # others require no space. Words are not sufficient . . . .
32174 { echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
32175 echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6; }
32176 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
32177 ac_xsave_c_werror_flag=$ac_c_werror_flag
32178 ac_c_werror_flag=yes
32179 cat >conftest.$ac_ext <<_ACEOF
32182 cat confdefs.h >>conftest.$ac_ext
32183 cat >>conftest.$ac_ext <<_ACEOF
32184 /* end confdefs.h. */
32194 rm -f conftest.$ac_objext conftest$ac_exeext
32195 if { (ac_try="$ac_link"
32196 case "(($ac_try" in
32197 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
32198 *) ac_try_echo
=$ac_try;;
32200 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32201 (eval "$ac_link") 2>conftest.er1
32203 grep -v '^ *+' conftest.er1
>conftest.err
32205 cat conftest.err
>&5
32206 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32207 (exit $ac_status); } && {
32208 test -z "$ac_c_werror_flag" ||
32209 test ! -s conftest.err
32210 } && test -s conftest
$ac_exeext &&
32211 $as_test_x conftest
$ac_exeext; then
32212 { echo "$as_me:$LINENO: result: no" >&5
32213 echo "${ECHO_T}no" >&6; }
32214 X_LIBS
="$X_LIBS -R$x_libraries"
32216 echo "$as_me: failed program was:" >&5
32217 sed 's/^/| /' conftest.
$ac_ext >&5
32219 LIBS
="$ac_xsave_LIBS -R $x_libraries"
32220 cat >conftest.
$ac_ext <<_ACEOF
32223 cat confdefs.h
>>conftest.
$ac_ext
32224 cat >>conftest.
$ac_ext <<_ACEOF
32225 /* end confdefs.h. */
32235 rm -f conftest.
$ac_objext conftest
$ac_exeext
32236 if { (ac_try
="$ac_link"
32237 case "(($ac_try" in
32238 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
32239 *) ac_try_echo=$ac_try;;
32241 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32242 (eval "$ac_link") 2>conftest.er1
32244 grep -v '^ *+' conftest.er1 >conftest.err
32246 cat conftest.err >&5
32247 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32248 (exit $ac_status); } && {
32249 test -z "$ac_c_werror_flag" ||
32250 test ! -s conftest.err
32251 } && test -s conftest$ac_exeext &&
32252 $as_test_x conftest$ac_exeext; then
32253 { echo "$as_me:$LINENO: result: yes" >&5
32254 echo "${ECHO_T}yes" >&6; }
32255 X_LIBS="$X_LIBS -R $x_libraries"
32257 echo "$as_me: failed program was:" >&5
32258 sed 's/^/| /' conftest.$ac_ext >&5
32260 { echo "$as_me:$LINENO: result: neither works" >&5
32261 echo "${ECHO_T}neither works" >&6; }
32264 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32265 conftest$ac_exeext conftest.$ac_ext
32268 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32269 conftest$ac_exeext conftest.$ac_ext
32270 ac_c_werror_flag=$ac_xsave_c_werror_flag
32271 LIBS=$ac_xsave_LIBS
32274 # Check for system-dependent libraries X programs must link with.
32275 # Do this before checking for the system-independent R6 libraries
32276 # (-lICE), since we may need -lsocket or whatever for X linking.
32278 if test "$ISC" = yes; then
32279 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
32281 # Martyn Johnson says this is needed for Ultrix, if the X
32282 # libraries were built with DECnet support. And Karl Berry says
32283 # the Alpha needs dnet_stub (dnet does not exist).
32284 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
32285 cat >conftest.$ac_ext <<_ACEOF
32288 cat confdefs.h >>conftest.$ac_ext
32289 cat >>conftest.$ac_ext <<_ACEOF
32290 /* end confdefs.h. */
32292 /* Override any GCC internal prototype to avoid an error.
32293 Use char because int might match the return type of a GCC
32294 builtin and then its argument prototype would still apply. */
32298 char XOpenDisplay ();
32302 return XOpenDisplay ();
32307 rm -f conftest.$ac_objext conftest$ac_exeext
32308 if { (ac_try="$ac_link"
32309 case "(($ac_try" in
32310 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
32311 *) ac_try_echo
=$ac_try;;
32313 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32314 (eval "$ac_link") 2>conftest.er1
32316 grep -v '^ *+' conftest.er1
>conftest.err
32318 cat conftest.err
>&5
32319 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32320 (exit $ac_status); } && {
32321 test -z "$ac_c_werror_flag" ||
32322 test ! -s conftest.err
32323 } && test -s conftest
$ac_exeext &&
32324 $as_test_x conftest
$ac_exeext; then
32327 echo "$as_me: failed program was:" >&5
32328 sed 's/^/| /' conftest.
$ac_ext >&5
32330 { echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
32331 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6; }
32332 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
32333 echo $ECHO_N "(cached) $ECHO_C" >&6
32335 ac_check_lib_save_LIBS
=$LIBS
32336 LIBS
="-ldnet $LIBS"
32337 cat >conftest.
$ac_ext <<_ACEOF
32340 cat confdefs.h
>>conftest.
$ac_ext
32341 cat >>conftest.
$ac_ext <<_ACEOF
32342 /* end confdefs.h. */
32344 /* Override any GCC internal prototype to avoid an error.
32345 Use char because int might match the return type of a GCC
32346 builtin and then its argument prototype would still apply. */
32354 return dnet_ntoa ();
32359 rm -f conftest.
$ac_objext conftest
$ac_exeext
32360 if { (ac_try
="$ac_link"
32361 case "(($ac_try" in
32362 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
32363 *) ac_try_echo=$ac_try;;
32365 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32366 (eval "$ac_link") 2>conftest.er1
32368 grep -v '^ *+' conftest.er1 >conftest.err
32370 cat conftest.err >&5
32371 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32372 (exit $ac_status); } && {
32373 test -z "$ac_c_werror_flag" ||
32374 test ! -s conftest.err
32375 } && test -s conftest$ac_exeext &&
32376 $as_test_x conftest$ac_exeext; then
32377 ac_cv_lib_dnet_dnet_ntoa=yes
32379 echo "$as_me: failed program was:" >&5
32380 sed 's/^/| /' conftest.$ac_ext >&5
32382 ac_cv_lib_dnet_dnet_ntoa=no
32385 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32386 conftest$ac_exeext conftest.$ac_ext
32387 LIBS=$ac_check_lib_save_LIBS
32389 { echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
32390 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6; }
32391 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
32392 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
32395 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
32396 { echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
32397 echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6; }
32398 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
32399 echo $ECHO_N "(cached) $ECHO_C" >&6
32401 ac_check_lib_save_LIBS=$LIBS
32402 LIBS="-ldnet_stub $LIBS"
32403 cat >conftest.$ac_ext <<_ACEOF
32406 cat confdefs.h >>conftest.$ac_ext
32407 cat >>conftest.$ac_ext <<_ACEOF
32408 /* end confdefs.h. */
32410 /* Override any GCC internal prototype to avoid an error.
32411 Use char because int might match the return type of a GCC
32412 builtin and then its argument prototype would still apply. */
32420 return dnet_ntoa ();
32425 rm -f conftest.$ac_objext conftest$ac_exeext
32426 if { (ac_try="$ac_link"
32427 case "(($ac_try" in
32428 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
32429 *) ac_try_echo
=$ac_try;;
32431 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32432 (eval "$ac_link") 2>conftest.er1
32434 grep -v '^ *+' conftest.er1
>conftest.err
32436 cat conftest.err
>&5
32437 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32438 (exit $ac_status); } && {
32439 test -z "$ac_c_werror_flag" ||
32440 test ! -s conftest.err
32441 } && test -s conftest
$ac_exeext &&
32442 $as_test_x conftest
$ac_exeext; then
32443 ac_cv_lib_dnet_stub_dnet_ntoa
=yes
32445 echo "$as_me: failed program was:" >&5
32446 sed 's/^/| /' conftest.
$ac_ext >&5
32448 ac_cv_lib_dnet_stub_dnet_ntoa
=no
32451 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
32452 conftest
$ac_exeext conftest.
$ac_ext
32453 LIBS
=$ac_check_lib_save_LIBS
32455 { echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
32456 echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
32457 if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
32458 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet_stub"
32464 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
32465 conftest
$ac_exeext conftest.
$ac_ext
32466 LIBS
="$ac_xsave_LIBS"
32468 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
32469 # to get the SysV transport functions.
32470 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
32472 # The nsl library prevents programs from opening the X display
32473 # on Irix 5.2, according to T.E. Dickey.
32474 # The functions gethostbyname, getservbyname, and inet_addr are
32475 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
32476 { echo "$as_me:$LINENO: checking for gethostbyname" >&5
32477 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6; }
32478 if test "${ac_cv_func_gethostbyname+set}" = set; then
32479 echo $ECHO_N "(cached) $ECHO_C" >&6
32481 cat >conftest.
$ac_ext <<_ACEOF
32484 cat confdefs.h
>>conftest.
$ac_ext
32485 cat >>conftest.
$ac_ext <<_ACEOF
32486 /* end confdefs.h. */
32487 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
32488 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32489 #define gethostbyname innocuous_gethostbyname
32491 /* System header to define __stub macros and hopefully few prototypes,
32492 which can conflict with char gethostbyname (); below.
32493 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32494 <limits.h> exists even on freestanding compilers. */
32497 # include <limits.h>
32499 # include <assert.h>
32502 #undef gethostbyname
32504 /* Override any GCC internal prototype to avoid an error.
32505 Use char because int might match the return type of a GCC
32506 builtin and then its argument prototype would still apply. */
32510 char gethostbyname ();
32511 /* The GNU C library defines this for functions which it implements
32512 to always fail with ENOSYS. Some functions are actually named
32513 something starting with __ and the normal name is an alias. */
32514 #if defined __stub_gethostbyname || defined __stub___gethostbyname
32521 return gethostbyname ();
32526 rm -f conftest.
$ac_objext conftest
$ac_exeext
32527 if { (ac_try
="$ac_link"
32528 case "(($ac_try" in
32529 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
32530 *) ac_try_echo=$ac_try;;
32532 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32533 (eval "$ac_link") 2>conftest.er1
32535 grep -v '^ *+' conftest.er1 >conftest.err
32537 cat conftest.err >&5
32538 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32539 (exit $ac_status); } && {
32540 test -z "$ac_c_werror_flag" ||
32541 test ! -s conftest.err
32542 } && test -s conftest$ac_exeext &&
32543 $as_test_x conftest$ac_exeext; then
32544 ac_cv_func_gethostbyname=yes
32546 echo "$as_me: failed program was:" >&5
32547 sed 's/^/| /' conftest.$ac_ext >&5
32549 ac_cv_func_gethostbyname=no
32552 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32553 conftest$ac_exeext conftest.$ac_ext
32555 { echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
32556 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6; }
32558 if test $ac_cv_func_gethostbyname = no; then
32559 { echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
32560 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6; }
32561 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
32562 echo $ECHO_N "(cached) $ECHO_C" >&6
32564 ac_check_lib_save_LIBS=$LIBS
32566 cat >conftest.$ac_ext <<_ACEOF
32569 cat confdefs.h >>conftest.$ac_ext
32570 cat >>conftest.$ac_ext <<_ACEOF
32571 /* end confdefs.h. */
32573 /* Override any GCC internal prototype to avoid an error.
32574 Use char because int might match the return type of a GCC
32575 builtin and then its argument prototype would still apply. */
32579 char gethostbyname ();
32583 return gethostbyname ();
32588 rm -f conftest.$ac_objext conftest$ac_exeext
32589 if { (ac_try="$ac_link"
32590 case "(($ac_try" in
32591 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
32592 *) ac_try_echo
=$ac_try;;
32594 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32595 (eval "$ac_link") 2>conftest.er1
32597 grep -v '^ *+' conftest.er1
>conftest.err
32599 cat conftest.err
>&5
32600 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32601 (exit $ac_status); } && {
32602 test -z "$ac_c_werror_flag" ||
32603 test ! -s conftest.err
32604 } && test -s conftest
$ac_exeext &&
32605 $as_test_x conftest
$ac_exeext; then
32606 ac_cv_lib_nsl_gethostbyname
=yes
32608 echo "$as_me: failed program was:" >&5
32609 sed 's/^/| /' conftest.
$ac_ext >&5
32611 ac_cv_lib_nsl_gethostbyname
=no
32614 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
32615 conftest
$ac_exeext conftest.
$ac_ext
32616 LIBS
=$ac_check_lib_save_LIBS
32618 { echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
32619 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6; }
32620 if test $ac_cv_lib_nsl_gethostbyname = yes; then
32621 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl"
32624 if test $ac_cv_lib_nsl_gethostbyname = no
; then
32625 { echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
32626 echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6; }
32627 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
32628 echo $ECHO_N "(cached) $ECHO_C" >&6
32630 ac_check_lib_save_LIBS
=$LIBS
32632 cat >conftest.
$ac_ext <<_ACEOF
32635 cat confdefs.h
>>conftest.
$ac_ext
32636 cat >>conftest.
$ac_ext <<_ACEOF
32637 /* end confdefs.h. */
32639 /* Override any GCC internal prototype to avoid an error.
32640 Use char because int might match the return type of a GCC
32641 builtin and then its argument prototype would still apply. */
32645 char gethostbyname ();
32649 return gethostbyname ();
32654 rm -f conftest.
$ac_objext conftest
$ac_exeext
32655 if { (ac_try
="$ac_link"
32656 case "(($ac_try" in
32657 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
32658 *) ac_try_echo=$ac_try;;
32660 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32661 (eval "$ac_link") 2>conftest.er1
32663 grep -v '^ *+' conftest.er1 >conftest.err
32665 cat conftest.err >&5
32666 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32667 (exit $ac_status); } && {
32668 test -z "$ac_c_werror_flag" ||
32669 test ! -s conftest.err
32670 } && test -s conftest$ac_exeext &&
32671 $as_test_x conftest$ac_exeext; then
32672 ac_cv_lib_bsd_gethostbyname=yes
32674 echo "$as_me: failed program was:" >&5
32675 sed 's/^/| /' conftest.$ac_ext >&5
32677 ac_cv_lib_bsd_gethostbyname=no
32680 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32681 conftest$ac_exeext conftest.$ac_ext
32682 LIBS=$ac_check_lib_save_LIBS
32684 { echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
32685 echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6; }
32686 if test $ac_cv_lib_bsd_gethostbyname = yes; then
32687 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
32693 # lieder@skyler.mavd.honeywell.com says without -lsocket,
32694 # socket/setsockopt and other routines are undefined under SCO ODT
32695 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
32696 # on later versions), says Simon Leinen: it contains gethostby*
32697 # variants that don't use the name server (or something). -lsocket
32698 # must be given before -lnsl if both are needed. We assume that
32699 # if connect needs -lnsl, so does gethostbyname.
32700 { echo "$as_me:$LINENO: checking for connect" >&5
32701 echo $ECHO_N "checking for connect... $ECHO_C" >&6; }
32702 if test "${ac_cv_func_connect+set}" = set; then
32703 echo $ECHO_N "(cached) $ECHO_C" >&6
32705 cat >conftest.$ac_ext <<_ACEOF
32708 cat confdefs.h >>conftest.$ac_ext
32709 cat >>conftest.$ac_ext <<_ACEOF
32710 /* end confdefs.h. */
32711 /* Define connect to an innocuous variant, in case <limits.h> declares connect.
32712 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32713 #define connect innocuous_connect
32715 /* System header to define __stub macros and hopefully few prototypes,
32716 which can conflict with char connect (); below.
32717 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32718 <limits.h> exists even on freestanding compilers. */
32721 # include <limits.h>
32723 # include <assert.h>
32728 /* Override any GCC internal prototype to avoid an error.
32729 Use char because int might match the return type of a GCC
32730 builtin and then its argument prototype would still apply. */
32735 /* The GNU C library defines this for functions which it implements
32736 to always fail with ENOSYS. Some functions are actually named
32737 something starting with __ and the normal name is an alias. */
32738 #if defined __stub_connect || defined __stub___connect
32750 rm -f conftest.$ac_objext conftest$ac_exeext
32751 if { (ac_try="$ac_link"
32752 case "(($ac_try" in
32753 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
32754 *) ac_try_echo
=$ac_try;;
32756 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32757 (eval "$ac_link") 2>conftest.er1
32759 grep -v '^ *+' conftest.er1
>conftest.err
32761 cat conftest.err
>&5
32762 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32763 (exit $ac_status); } && {
32764 test -z "$ac_c_werror_flag" ||
32765 test ! -s conftest.err
32766 } && test -s conftest
$ac_exeext &&
32767 $as_test_x conftest
$ac_exeext; then
32768 ac_cv_func_connect
=yes
32770 echo "$as_me: failed program was:" >&5
32771 sed 's/^/| /' conftest.
$ac_ext >&5
32773 ac_cv_func_connect
=no
32776 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
32777 conftest
$ac_exeext conftest.
$ac_ext
32779 { echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
32780 echo "${ECHO_T}$ac_cv_func_connect" >&6; }
32782 if test $ac_cv_func_connect = no
; then
32783 { echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
32784 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6; }
32785 if test "${ac_cv_lib_socket_connect+set}" = set; then
32786 echo $ECHO_N "(cached) $ECHO_C" >&6
32788 ac_check_lib_save_LIBS
=$LIBS
32789 LIBS
="-lsocket $X_EXTRA_LIBS $LIBS"
32790 cat >conftest.
$ac_ext <<_ACEOF
32793 cat confdefs.h
>>conftest.
$ac_ext
32794 cat >>conftest.
$ac_ext <<_ACEOF
32795 /* end confdefs.h. */
32797 /* Override any GCC internal prototype to avoid an error.
32798 Use char because int might match the return type of a GCC
32799 builtin and then its argument prototype would still apply. */
32812 rm -f conftest.
$ac_objext conftest
$ac_exeext
32813 if { (ac_try
="$ac_link"
32814 case "(($ac_try" in
32815 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
32816 *) ac_try_echo=$ac_try;;
32818 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32819 (eval "$ac_link") 2>conftest.er1
32821 grep -v '^ *+' conftest.er1 >conftest.err
32823 cat conftest.err >&5
32824 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32825 (exit $ac_status); } && {
32826 test -z "$ac_c_werror_flag" ||
32827 test ! -s conftest.err
32828 } && test -s conftest$ac_exeext &&
32829 $as_test_x conftest$ac_exeext; then
32830 ac_cv_lib_socket_connect=yes
32832 echo "$as_me: failed program was:" >&5
32833 sed 's/^/| /' conftest.$ac_ext >&5
32835 ac_cv_lib_socket_connect=no
32838 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32839 conftest$ac_exeext conftest.$ac_ext
32840 LIBS=$ac_check_lib_save_LIBS
32842 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
32843 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6; }
32844 if test $ac_cv_lib_socket_connect = yes; then
32845 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
32850 # Guillermo Gomez says -lposix is necessary on A/UX.
32851 { echo "$as_me:$LINENO: checking for remove" >&5
32852 echo $ECHO_N "checking for remove... $ECHO_C" >&6; }
32853 if test "${ac_cv_func_remove+set}" = set; then
32854 echo $ECHO_N "(cached) $ECHO_C" >&6
32856 cat >conftest.$ac_ext <<_ACEOF
32859 cat confdefs.h >>conftest.$ac_ext
32860 cat >>conftest.$ac_ext <<_ACEOF
32861 /* end confdefs.h. */
32862 /* Define remove to an innocuous variant, in case <limits.h> declares remove.
32863 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32864 #define remove innocuous_remove
32866 /* System header to define __stub macros and hopefully few prototypes,
32867 which can conflict with char remove (); below.
32868 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32869 <limits.h> exists even on freestanding compilers. */
32872 # include <limits.h>
32874 # include <assert.h>
32879 /* Override any GCC internal prototype to avoid an error.
32880 Use char because int might match the return type of a GCC
32881 builtin and then its argument prototype would still apply. */
32886 /* The GNU C library defines this for functions which it implements
32887 to always fail with ENOSYS. Some functions are actually named
32888 something starting with __ and the normal name is an alias. */
32889 #if defined __stub_remove || defined __stub___remove
32901 rm -f conftest.$ac_objext conftest$ac_exeext
32902 if { (ac_try="$ac_link"
32903 case "(($ac_try" in
32904 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
32905 *) ac_try_echo
=$ac_try;;
32907 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32908 (eval "$ac_link") 2>conftest.er1
32910 grep -v '^ *+' conftest.er1
>conftest.err
32912 cat conftest.err
>&5
32913 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32914 (exit $ac_status); } && {
32915 test -z "$ac_c_werror_flag" ||
32916 test ! -s conftest.err
32917 } && test -s conftest
$ac_exeext &&
32918 $as_test_x conftest
$ac_exeext; then
32919 ac_cv_func_remove
=yes
32921 echo "$as_me: failed program was:" >&5
32922 sed 's/^/| /' conftest.
$ac_ext >&5
32924 ac_cv_func_remove
=no
32927 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
32928 conftest
$ac_exeext conftest.
$ac_ext
32930 { echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
32931 echo "${ECHO_T}$ac_cv_func_remove" >&6; }
32933 if test $ac_cv_func_remove = no
; then
32934 { echo "$as_me:$LINENO: checking for remove in -lposix" >&5
32935 echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6; }
32936 if test "${ac_cv_lib_posix_remove+set}" = set; then
32937 echo $ECHO_N "(cached) $ECHO_C" >&6
32939 ac_check_lib_save_LIBS
=$LIBS
32940 LIBS
="-lposix $LIBS"
32941 cat >conftest.
$ac_ext <<_ACEOF
32944 cat confdefs.h
>>conftest.
$ac_ext
32945 cat >>conftest.
$ac_ext <<_ACEOF
32946 /* end confdefs.h. */
32948 /* Override any GCC internal prototype to avoid an error.
32949 Use char because int might match the return type of a GCC
32950 builtin and then its argument prototype would still apply. */
32963 rm -f conftest.
$ac_objext conftest
$ac_exeext
32964 if { (ac_try
="$ac_link"
32965 case "(($ac_try" in
32966 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
32967 *) ac_try_echo=$ac_try;;
32969 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32970 (eval "$ac_link") 2>conftest.er1
32972 grep -v '^ *+' conftest.er1 >conftest.err
32974 cat conftest.err >&5
32975 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32976 (exit $ac_status); } && {
32977 test -z "$ac_c_werror_flag" ||
32978 test ! -s conftest.err
32979 } && test -s conftest$ac_exeext &&
32980 $as_test_x conftest$ac_exeext; then
32981 ac_cv_lib_posix_remove=yes
32983 echo "$as_me: failed program was:" >&5
32984 sed 's/^/| /' conftest.$ac_ext >&5
32986 ac_cv_lib_posix_remove=no
32989 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32990 conftest$ac_exeext conftest.$ac_ext
32991 LIBS=$ac_check_lib_save_LIBS
32993 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
32994 echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6; }
32995 if test $ac_cv_lib_posix_remove = yes; then
32996 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
33001 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
33002 { echo "$as_me:$LINENO: checking for shmat" >&5
33003 echo $ECHO_N "checking for shmat... $ECHO_C" >&6; }
33004 if test "${ac_cv_func_shmat+set}" = set; then
33005 echo $ECHO_N "(cached) $ECHO_C" >&6
33007 cat >conftest.$ac_ext <<_ACEOF
33010 cat confdefs.h >>conftest.$ac_ext
33011 cat >>conftest.$ac_ext <<_ACEOF
33012 /* end confdefs.h. */
33013 /* Define shmat to an innocuous variant, in case <limits.h> declares shmat.
33014 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33015 #define shmat innocuous_shmat
33017 /* System header to define __stub macros and hopefully few prototypes,
33018 which can conflict with char shmat (); below.
33019 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33020 <limits.h> exists even on freestanding compilers. */
33023 # include <limits.h>
33025 # include <assert.h>
33030 /* Override any GCC internal prototype to avoid an error.
33031 Use char because int might match the return type of a GCC
33032 builtin and then its argument prototype would still apply. */
33037 /* The GNU C library defines this for functions which it implements
33038 to always fail with ENOSYS. Some functions are actually named
33039 something starting with __ and the normal name is an alias. */
33040 #if defined __stub_shmat || defined __stub___shmat
33052 rm -f conftest.$ac_objext conftest$ac_exeext
33053 if { (ac_try="$ac_link"
33054 case "(($ac_try" in
33055 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
33056 *) ac_try_echo
=$ac_try;;
33058 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33059 (eval "$ac_link") 2>conftest.er1
33061 grep -v '^ *+' conftest.er1
>conftest.err
33063 cat conftest.err
>&5
33064 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33065 (exit $ac_status); } && {
33066 test -z "$ac_c_werror_flag" ||
33067 test ! -s conftest.err
33068 } && test -s conftest
$ac_exeext &&
33069 $as_test_x conftest
$ac_exeext; then
33070 ac_cv_func_shmat
=yes
33072 echo "$as_me: failed program was:" >&5
33073 sed 's/^/| /' conftest.
$ac_ext >&5
33075 ac_cv_func_shmat
=no
33078 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
33079 conftest
$ac_exeext conftest.
$ac_ext
33081 { echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
33082 echo "${ECHO_T}$ac_cv_func_shmat" >&6; }
33084 if test $ac_cv_func_shmat = no
; then
33085 { echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
33086 echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6; }
33087 if test "${ac_cv_lib_ipc_shmat+set}" = set; then
33088 echo $ECHO_N "(cached) $ECHO_C" >&6
33090 ac_check_lib_save_LIBS
=$LIBS
33092 cat >conftest.
$ac_ext <<_ACEOF
33095 cat confdefs.h
>>conftest.
$ac_ext
33096 cat >>conftest.
$ac_ext <<_ACEOF
33097 /* end confdefs.h. */
33099 /* Override any GCC internal prototype to avoid an error.
33100 Use char because int might match the return type of a GCC
33101 builtin and then its argument prototype would still apply. */
33114 rm -f conftest.
$ac_objext conftest
$ac_exeext
33115 if { (ac_try
="$ac_link"
33116 case "(($ac_try" in
33117 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
33118 *) ac_try_echo=$ac_try;;
33120 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33121 (eval "$ac_link") 2>conftest.er1
33123 grep -v '^ *+' conftest.er1 >conftest.err
33125 cat conftest.err >&5
33126 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33127 (exit $ac_status); } && {
33128 test -z "$ac_c_werror_flag" ||
33129 test ! -s conftest.err
33130 } && test -s conftest$ac_exeext &&
33131 $as_test_x conftest$ac_exeext; then
33132 ac_cv_lib_ipc_shmat=yes
33134 echo "$as_me: failed program was:" >&5
33135 sed 's/^/| /' conftest.$ac_ext >&5
33137 ac_cv_lib_ipc_shmat=no
33140 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33141 conftest$ac_exeext conftest.$ac_ext
33142 LIBS=$ac_check_lib_save_LIBS
33144 { echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
33145 echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6; }
33146 if test $ac_cv_lib_ipc_shmat = yes; then
33147 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
33153 # Check for libraries that X11R6 Xt/Xaw programs need.
33154 ac_save_LDFLAGS=$LDFLAGS
33155 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
33156 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
33157 # check for ICE first), but we must link in the order -lSM -lICE or
33158 # we get undefined symbols. So assume we have SM if we have ICE.
33159 # These have to be linked with before -lX11, unlike the other
33160 # libraries we check for below, so use a different variable.
33161 # John Interrante, Karl Berry
33162 { echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
33163 echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6; }
33164 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
33165 echo $ECHO_N "(cached) $ECHO_C" >&6
33167 ac_check_lib_save_LIBS=$LIBS
33168 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
33169 cat >conftest.$ac_ext <<_ACEOF
33172 cat confdefs.h >>conftest.$ac_ext
33173 cat >>conftest.$ac_ext <<_ACEOF
33174 /* end confdefs.h. */
33176 /* Override any GCC internal prototype to avoid an error.
33177 Use char because int might match the return type of a GCC
33178 builtin and then its argument prototype would still apply. */
33182 char IceConnectionNumber ();
33186 return IceConnectionNumber ();
33191 rm -f conftest.$ac_objext conftest$ac_exeext
33192 if { (ac_try="$ac_link"
33193 case "(($ac_try" in
33194 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
33195 *) ac_try_echo
=$ac_try;;
33197 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33198 (eval "$ac_link") 2>conftest.er1
33200 grep -v '^ *+' conftest.er1
>conftest.err
33202 cat conftest.err
>&5
33203 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33204 (exit $ac_status); } && {
33205 test -z "$ac_c_werror_flag" ||
33206 test ! -s conftest.err
33207 } && test -s conftest
$ac_exeext &&
33208 $as_test_x conftest
$ac_exeext; then
33209 ac_cv_lib_ICE_IceConnectionNumber
=yes
33211 echo "$as_me: failed program was:" >&5
33212 sed 's/^/| /' conftest.
$ac_ext >&5
33214 ac_cv_lib_ICE_IceConnectionNumber
=no
33217 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
33218 conftest
$ac_exeext conftest.
$ac_ext
33219 LIBS
=$ac_check_lib_save_LIBS
33221 { echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
33222 echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
33223 if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
33224 X_PRE_LIBS
="$X_PRE_LIBS -lSM -lICE"
33227 LDFLAGS
=$ac_save_LDFLAGS
33232 if test "$no_x" = "yes"; then
33233 { { echo "$as_me:$LINENO: error: X11 not found, please use --x-includes and/or --x-libraries options (see config.log for details)" >&5
33234 echo "$as_me: error: X11 not found, please use --x-includes and/or --x-libraries options (see config.log for details)" >&2;}
33235 { (exit 1); exit 1; }; }
33238 GUI_TK_LIBRARY
=`echo $X_LIBS | sed 's/ -LNONE//' | sed 's/ -RNONE//'`
33239 TOOLKIT_INCLUDE
=`echo $X_CFLAGS | sed 's/ -INONE//'`
33240 AFMINSTALL
=afminstall
33241 COMPILED_X_PROGRAM
=0
33245 if test "$wxUSE_X11" = 1; then
33246 if test "$wxUSE_NANOX" = "yes"; then
33247 { echo "$as_me:$LINENO: checking for MicroWindows/NanoX distribution" >&5
33248 echo $ECHO_N "checking for MicroWindows/NanoX distribution... $ECHO_C" >&6; }
33249 if test "x$MICROWIN" = x
; then
33250 { echo "$as_me:$LINENO: result: not found" >&5
33251 echo "${ECHO_T}not found" >&6; }
33252 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&5
33253 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&2;}
33254 { (exit 1); exit 1; }; }
33256 { echo "$as_me:$LINENO: result: $MICROWIN" >&5
33257 echo "${ECHO_T}$MICROWIN" >&6; }
33258 cat >>confdefs.h
<<\_ACEOF
33259 #define wxUSE_NANOX 1
33265 if test "$wxUSE_UNICODE" = "yes"; then
33268 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
33269 if test -n "$ac_tool_prefix"; then
33270 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
33271 set dummy
${ac_tool_prefix}pkg
-config; ac_word
=$2
33272 { echo "$as_me:$LINENO: checking for $ac_word" >&5
33273 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
33274 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
33275 echo $ECHO_N "(cached) $ECHO_C" >&6
33277 case $PKG_CONFIG in
33279 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
33282 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
33283 for as_dir
in $PATH
33286 test -z "$as_dir" && as_dir
=.
33287 for ac_exec_ext
in '' $ac_executable_extensions; do
33288 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
33289 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
33290 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
33300 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
33301 if test -n "$PKG_CONFIG"; then
33302 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
33303 echo "${ECHO_T}$PKG_CONFIG" >&6; }
33305 { echo "$as_me:$LINENO: result: no" >&5
33306 echo "${ECHO_T}no" >&6; }
33311 if test -z "$ac_cv_path_PKG_CONFIG"; then
33312 ac_pt_PKG_CONFIG
=$PKG_CONFIG
33313 # Extract the first word of "pkg-config", so it can be a program name with args.
33314 set dummy pkg
-config; ac_word
=$2
33315 { echo "$as_me:$LINENO: checking for $ac_word" >&5
33316 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
33317 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
33318 echo $ECHO_N "(cached) $ECHO_C" >&6
33320 case $ac_pt_PKG_CONFIG in
33322 ac_cv_path_ac_pt_PKG_CONFIG
="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
33325 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
33326 for as_dir
in $PATH
33329 test -z "$as_dir" && as_dir
=.
33330 for ac_exec_ext
in '' $ac_executable_extensions; do
33331 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
33332 ac_cv_path_ac_pt_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
33333 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
33343 ac_pt_PKG_CONFIG
=$ac_cv_path_ac_pt_PKG_CONFIG
33344 if test -n "$ac_pt_PKG_CONFIG"; then
33345 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
33346 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
33348 { echo "$as_me:$LINENO: result: no" >&5
33349 echo "${ECHO_T}no" >&6; }
33352 if test "x$ac_pt_PKG_CONFIG" = x
; then
33355 case $cross_compiling:$ac_tool_warned in
33357 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
33358 whose name does not start with the host triplet. If you think this
33359 configuration is useful to you, please write to autoconf@gnu.org." >&5
33360 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
33361 whose name does not start with the host triplet. If you think this
33362 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
33363 ac_tool_warned
=yes ;;
33365 PKG_CONFIG
=$ac_pt_PKG_CONFIG
33368 PKG_CONFIG
="$ac_cv_path_PKG_CONFIG"
33372 if test -n "$PKG_CONFIG"; then
33373 _pkg_min_version
=0.9.0
33374 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
33375 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
33376 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
33377 { echo "$as_me:$LINENO: result: yes" >&5
33378 echo "${ECHO_T}yes" >&6; }
33380 { echo "$as_me:$LINENO: result: no" >&5
33381 echo "${ECHO_T}no" >&6; }
33389 { echo "$as_me:$LINENO: checking for PANGOX" >&5
33390 echo $ECHO_N "checking for PANGOX... $ECHO_C" >&6; }
33392 if test -n "$PKG_CONFIG"; then
33393 if test -n "$PANGOX_CFLAGS"; then
33394 pkg_cv_PANGOX_CFLAGS
="$PANGOX_CFLAGS"
33396 if test -n "$PKG_CONFIG" && \
33397 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangox\"") >&5
33398 ($PKG_CONFIG --exists --print-errors "pangox") 2>&5
33400 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33401 (exit $ac_status); }; then
33402 pkg_cv_PANGOX_CFLAGS
=`$PKG_CONFIG --cflags "pangox" 2>/dev/null`
33410 if test -n "$PKG_CONFIG"; then
33411 if test -n "$PANGOX_LIBS"; then
33412 pkg_cv_PANGOX_LIBS
="$PANGOX_LIBS"
33414 if test -n "$PKG_CONFIG" && \
33415 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangox\"") >&5
33416 ($PKG_CONFIG --exists --print-errors "pangox") 2>&5
33418 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33419 (exit $ac_status); }; then
33420 pkg_cv_PANGOX_LIBS
=`$PKG_CONFIG --libs "pangox" 2>/dev/null`
33431 if test $pkg_failed = yes; then
33433 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
33434 _pkg_short_errors_supported
=yes
33436 _pkg_short_errors_supported
=no
33438 if test $_pkg_short_errors_supported = yes; then
33439 PANGOX_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangox"`
33441 PANGOX_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "pangox"`
33443 # Put the nasty error message in config.log where it belongs
33444 echo "$PANGOX_PKG_ERRORS" >&5
33447 { { echo "$as_me:$LINENO: error: pangox library not found, library cannot be compiled in Unicode mode" >&5
33448 echo "$as_me: error: pangox library not found, library cannot be compiled in Unicode mode" >&2;}
33449 { (exit 1); exit 1; }; }
33452 elif test $pkg_failed = untried
; then
33454 { { echo "$as_me:$LINENO: error: pangox library not found, library cannot be compiled in Unicode mode" >&5
33455 echo "$as_me: error: pangox library not found, library cannot be compiled in Unicode mode" >&2;}
33456 { (exit 1); exit 1; }; }
33460 PANGOX_CFLAGS
=$pkg_cv_PANGOX_CFLAGS
33461 PANGOX_LIBS
=$pkg_cv_PANGOX_LIBS
33462 { echo "$as_me:$LINENO: result: yes" >&5
33463 echo "${ECHO_T}yes" >&6; }
33465 CFLAGS
="$PANGOX_CFLAGS $CFLAGS"
33466 CXXFLAGS
="$PANGOX_CFLAGS $CXXFLAGS"
33467 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $PANGOX_LIBS"
33472 { echo "$as_me:$LINENO: checking for PANGOFT2" >&5
33473 echo $ECHO_N "checking for PANGOFT2... $ECHO_C" >&6; }
33475 if test -n "$PKG_CONFIG"; then
33476 if test -n "$PANGOFT2_CFLAGS"; then
33477 pkg_cv_PANGOFT2_CFLAGS
="$PANGOFT2_CFLAGS"
33479 if test -n "$PKG_CONFIG" && \
33480 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoft2\"") >&5
33481 ($PKG_CONFIG --exists --print-errors "pangoft2") 2>&5
33483 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33484 (exit $ac_status); }; then
33485 pkg_cv_PANGOFT2_CFLAGS
=`$PKG_CONFIG --cflags "pangoft2" 2>/dev/null`
33493 if test -n "$PKG_CONFIG"; then
33494 if test -n "$PANGOFT2_LIBS"; then
33495 pkg_cv_PANGOFT2_LIBS
="$PANGOFT2_LIBS"
33497 if test -n "$PKG_CONFIG" && \
33498 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoft2\"") >&5
33499 ($PKG_CONFIG --exists --print-errors "pangoft2") 2>&5
33501 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33502 (exit $ac_status); }; then
33503 pkg_cv_PANGOFT2_LIBS
=`$PKG_CONFIG --libs "pangoft2" 2>/dev/null`
33514 if test $pkg_failed = yes; then
33516 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
33517 _pkg_short_errors_supported
=yes
33519 _pkg_short_errors_supported
=no
33521 if test $_pkg_short_errors_supported = yes; then
33522 PANGOFT2_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangoft2"`
33524 PANGOFT2_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoft2"`
33526 # Put the nasty error message in config.log where it belongs
33527 echo "$PANGOFT2_PKG_ERRORS" >&5
33530 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
33531 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
33532 wxUSE_PRINTING_ARCHITECTURE
="no"
33535 elif test $pkg_failed = untried
; then
33537 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
33538 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
33539 wxUSE_PRINTING_ARCHITECTURE
="no"
33543 PANGOFT2_CFLAGS
=$pkg_cv_PANGOFT2_CFLAGS
33544 PANGOFT2_LIBS
=$pkg_cv_PANGOFT2_LIBS
33545 { echo "$as_me:$LINENO: result: yes" >&5
33546 echo "${ECHO_T}yes" >&6; }
33548 CFLAGS
="$PANGOFT2_CFLAGS $CFLAGS"
33549 CXXFLAGS
="$PANGOFT2_CFLAGS $CXXFLAGS"
33550 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $PANGOFT2_LIBS"
33555 { echo "$as_me:$LINENO: checking for PANGOXFT" >&5
33556 echo $ECHO_N "checking for PANGOXFT... $ECHO_C" >&6; }
33558 if test -n "$PKG_CONFIG"; then
33559 if test -n "$PANGOXFT_CFLAGS"; then
33560 pkg_cv_PANGOXFT_CFLAGS
="$PANGOXFT_CFLAGS"
33562 if test -n "$PKG_CONFIG" && \
33563 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoxft\"") >&5
33564 ($PKG_CONFIG --exists --print-errors "pangoxft") 2>&5
33566 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33567 (exit $ac_status); }; then
33568 pkg_cv_PANGOXFT_CFLAGS
=`$PKG_CONFIG --cflags "pangoxft" 2>/dev/null`
33576 if test -n "$PKG_CONFIG"; then
33577 if test -n "$PANGOXFT_LIBS"; then
33578 pkg_cv_PANGOXFT_LIBS
="$PANGOXFT_LIBS"
33580 if test -n "$PKG_CONFIG" && \
33581 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoxft\"") >&5
33582 ($PKG_CONFIG --exists --print-errors "pangoxft") 2>&5
33584 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33585 (exit $ac_status); }; then
33586 pkg_cv_PANGOXFT_LIBS
=`$PKG_CONFIG --libs "pangoxft" 2>/dev/null`
33597 if test $pkg_failed = yes; then
33599 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
33600 _pkg_short_errors_supported
=yes
33602 _pkg_short_errors_supported
=no
33604 if test $_pkg_short_errors_supported = yes; then
33605 PANGOXFT_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangoxft"`
33607 PANGOXFT_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoxft"`
33609 # Put the nasty error message in config.log where it belongs
33610 echo "$PANGOXFT_PKG_ERRORS" >&5
33613 { echo "$as_me:$LINENO: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
33614 echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
33617 elif test $pkg_failed = untried
; then
33619 { echo "$as_me:$LINENO: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
33620 echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
33624 PANGOXFT_CFLAGS
=$pkg_cv_PANGOXFT_CFLAGS
33625 PANGOXFT_LIBS
=$pkg_cv_PANGOXFT_LIBS
33626 { echo "$as_me:$LINENO: result: yes" >&5
33627 echo "${ECHO_T}yes" >&6; }
33629 cat >>confdefs.h
<<\_ACEOF
33630 #define HAVE_PANGO_XFT 1
33633 CFLAGS
="$PANGOXFT_CFLAGS $CFLAGS"
33634 CXXFLAGS
="$PANGOXFT_CFLAGS $CXXFLAGS"
33635 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $PANGOXFT_LIBS"
33639 LIBS
="$LIBS $PANGOX_LIBS"
33641 for ac_func
in pango_font_family_is_monospace
33643 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33644 { echo "$as_me:$LINENO: checking for $ac_func" >&5
33645 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
33646 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
33647 echo $ECHO_N "(cached) $ECHO_C" >&6
33649 cat >conftest.
$ac_ext <<_ACEOF
33652 cat confdefs.h
>>conftest.
$ac_ext
33653 cat >>conftest.
$ac_ext <<_ACEOF
33654 /* end confdefs.h. */
33655 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33656 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33657 #define $ac_func innocuous_$ac_func
33659 /* System header to define __stub macros and hopefully few prototypes,
33660 which can conflict with char $ac_func (); below.
33661 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33662 <limits.h> exists even on freestanding compilers. */
33665 # include <limits.h>
33667 # include <assert.h>
33672 /* Override any GCC internal prototype to avoid an error.
33673 Use char because int might match the return type of a GCC
33674 builtin and then its argument prototype would still apply. */
33679 /* The GNU C library defines this for functions which it implements
33680 to always fail with ENOSYS. Some functions are actually named
33681 something starting with __ and the normal name is an alias. */
33682 #if defined __stub_$ac_func || defined __stub___$ac_func
33689 return $ac_func ();
33694 rm -f conftest.
$ac_objext conftest
$ac_exeext
33695 if { (ac_try
="$ac_link"
33696 case "(($ac_try" in
33697 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
33698 *) ac_try_echo=$ac_try;;
33700 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33701 (eval "$ac_link") 2>conftest.er1
33703 grep -v '^ *+' conftest.er1 >conftest.err
33705 cat conftest.err >&5
33706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33707 (exit $ac_status); } && {
33708 test -z "$ac_c_werror_flag" ||
33709 test ! -s conftest.err
33710 } && test -s conftest$ac_exeext &&
33711 $as_test_x conftest$ac_exeext; then
33712 eval "$as_ac_var=yes"
33714 echo "$as_me: failed program was:" >&5
33715 sed 's/^/| /' conftest.$ac_ext >&5
33717 eval "$as_ac_var=no"
33720 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33721 conftest$ac_exeext conftest.$ac_ext
33723 ac_res=`eval echo '${'$as_ac_var'}'`
33724 { echo "$as_me:$LINENO: result: $ac_res" >&5
33725 echo "${ECHO_T}$ac_res" >&6; }
33726 if test `eval echo '${'$as_ac_var'}'` = yes; then
33727 cat >>confdefs.h <<_ACEOF
33728 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33737 wxUSE_UNIVERSAL="yes"
33739 if test "$wxUSE_NANOX" = "yes"; then
33740 TOOLKIT_INCLUDE="-I\$(top_srcdir)/include/wx/x11/nanox -I\$(MICROWIN)/src/include $TOOLKIT_INCLUDE"
33741 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"
33742 GUI_TK_LIBRARY="$GUI_TK_LIBRARY \$(MICROWIN)/src/lib/libnano-X.a"
33744 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lX11"
33751 if test "$wxUSE_MOTIF" = 1; then
33752 if test "$wxUSE_UNICODE" = "yes"; then
33753 { { echo "$as_me:$LINENO: error: Unicode configuration not supported with Motif" >&5
33754 echo "$as_me: error: Unicode configuration not supported with Motif" >&2;}
33755 { (exit 1); exit 1; }; }
33758 { echo "$as_me:$LINENO: checking for Motif/Lesstif headers" >&5
33759 echo $ECHO_N "checking for Motif/Lesstif headers... $ECHO_C" >&6; }
33762 for ac_dir in $SEARCH_INCLUDE /usr/include;
33764 if test -f "$ac_dir/Xm/Xm.h"; then
33765 ac_find_includes=$ac_dir
33770 if test "$ac_find_includes" != "" ; then
33771 { echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
33772 echo "${ECHO_T}found in $ac_find_includes" >&6; }
33774 if test "x$ac_find_includes" = "x/usr/include"; then
33775 ac_path_to_include=""
33777 echo "$TOOLKIT_INCLUDE" | grep "\-I$ac_find_includes" > /dev/null
33779 if test $result = 0; then
33780 ac_path_to_include=""
33782 ac_path_to_include=" -I$ac_find_includes"
33786 TOOLKIT_INCLUDE="$TOOLKIT_INCLUDE$ac_path_to_include"
33788 save_CFLAGS=$CFLAGS
33789 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
33791 cat >conftest.$ac_ext <<_ACEOF
33794 cat confdefs.h >>conftest.$ac_ext
33795 cat >>conftest.$ac_ext <<_ACEOF
33796 /* end confdefs.h. */
33805 version = xmUseVersion;
33811 rm -f conftest.$ac_objext
33812 if { (ac_try="$ac_compile"
33813 case "(($ac_try" in
33814 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
33815 *) ac_try_echo
=$ac_try;;
33817 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33818 (eval "$ac_compile") 2>conftest.er1
33820 grep -v '^ *+' conftest.er1
>conftest.err
33822 cat conftest.err
>&5
33823 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33824 (exit $ac_status); } && {
33825 test -z "$ac_c_werror_flag" ||
33826 test ! -s conftest.err
33827 } && test -s conftest.
$ac_objext; then
33829 { echo "$as_me:$LINENO: result: found in default search path" >&5
33830 echo "${ECHO_T}found in default search path" >&6; }
33831 COMPILED_X_PROGRAM
=1
33834 echo "$as_me: failed program was:" >&5
33835 sed 's/^/| /' conftest.
$ac_ext >&5
33838 { echo "$as_me:$LINENO: result: no" >&5
33839 echo "${ECHO_T}no" >&6; }
33840 { { echo "$as_me:$LINENO: error: please set CPPFLAGS to contain the location of Xm/Xm.h" >&5
33841 echo "$as_me: error: please set CPPFLAGS to contain the location of Xm/Xm.h" >&2;}
33842 { (exit 1); exit 1; }; }
33847 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
33849 CFLAGS
=$save_CFLAGS
33853 { echo "$as_me:$LINENO: checking for Motif/Lesstif library" >&5
33854 echo $ECHO_N "checking for Motif/Lesstif library... $ECHO_C" >&6; }
33857 for ac_dir
in $SEARCH_LIB;
33859 for ac_extension
in a so sl dylib dll.a
; do
33860 if test -f "$ac_dir/libXm.$ac_extension"; then
33861 ac_find_libraries
=$ac_dir
33868 if test "x$ac_find_libraries" != "x" ; then
33869 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
33870 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
33873 if test "$ac_find_libraries" = "default location"; then
33876 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev
/null
33878 if test $result = 0; then
33881 ac_path_to_link
=" -L$ac_find_libraries"
33885 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY$ac_path_to_link"
33887 save_CFLAGS
=$CFLAGS
33888 CFLAGS
="$TOOLKIT_INCLUDE $CFLAGS"
33890 LIBS
="$GUI_TK_LIBRARY -lXm -lXmu -lXext -lX11"
33892 cat >conftest.
$ac_ext <<_ACEOF
33895 cat confdefs.h
>>conftest.
$ac_ext
33896 cat >>conftest.
$ac_ext <<_ACEOF
33897 /* end confdefs.h. */
33906 version = xmUseVersion;
33912 rm -f conftest.
$ac_objext conftest
$ac_exeext
33913 if { (ac_try
="$ac_link"
33914 case "(($ac_try" in
33915 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
33916 *) ac_try_echo=$ac_try;;
33918 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33919 (eval "$ac_link") 2>conftest.er1
33921 grep -v '^ *+' conftest.er1 >conftest.err
33923 cat conftest.err >&5
33924 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33925 (exit $ac_status); } && {
33926 test -z "$ac_c_werror_flag" ||
33927 test ! -s conftest.err
33928 } && test -s conftest$ac_exeext &&
33929 $as_test_x conftest$ac_exeext; then
33931 { echo "$as_me:$LINENO: result: found in default search path" >&5
33932 echo "${ECHO_T}found in default search path" >&6; }
33933 COMPILED_X_PROGRAM=1
33936 echo "$as_me: failed program was:" >&5
33937 sed 's/^/| /' conftest.$ac_ext >&5
33940 { echo "$as_me:$LINENO: result: no" >&5
33941 echo "${ECHO_T}no" >&6; }
33942 { { echo "$as_me:$LINENO: error: please set LDFLAGS to contain the location of libXm" >&5
33943 echo "$as_me: error: please set LDFLAGS to contain the location of libXm" >&2;}
33944 { (exit 1); exit 1; }; }
33949 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33950 conftest$ac_exeext conftest.$ac_ext
33952 CFLAGS=$save_CFLAGS
33956 { echo "$as_me:$LINENO: checking if we need -lXp and/or -lSM -lICE" >&5
33957 echo $ECHO_N "checking if we need -lXp and/or -lSM -lICE... $ECHO_C" >&6; }
33961 for libp in "" " -lXp"; do
33962 if test "$libs_found" = "0"; then
33963 for libsm_ice in "" " -lSM -lICE"; do
33964 if test "$libs_found" = "0"; then
33966 LIBS="$GUI_TK_LIBRARY -lXm ${libp} -lXmu -lXext -lXt${libsm_ice} -lX11"
33967 save_CFLAGS=$CFLAGS
33968 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
33970 cat >conftest.$ac_ext <<_ACEOF
33973 cat confdefs.h >>conftest.$ac_ext
33974 cat >>conftest.$ac_ext <<_ACEOF
33975 /* end confdefs.h. */
33978 #include <Xm/List.h>
33984 XmString string = NULL;
33987 XmListAddItem(w, string, position);
33993 rm -f conftest.$ac_objext conftest$ac_exeext
33994 if { (ac_try="$ac_link"
33995 case "(($ac_try" in
33996 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
33997 *) ac_try_echo
=$ac_try;;
33999 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34000 (eval "$ac_link") 2>conftest.er1
34002 grep -v '^ *+' conftest.er1
>conftest.err
34004 cat conftest.err
>&5
34005 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34006 (exit $ac_status); } && {
34007 test -z "$ac_c_werror_flag" ||
34008 test ! -s conftest.err
34009 } && test -s conftest
$ac_exeext &&
34010 $as_test_x conftest
$ac_exeext; then
34013 libsm_ice_link
="$libsm_ice"
34014 { echo "$as_me:$LINENO: result: need${libp_link}${libsm_ice_link}" >&5
34015 echo "${ECHO_T}need${libp_link}${libsm_ice_link}" >&6; }
34019 echo "$as_me: failed program was:" >&5
34020 sed 's/^/| /' conftest.
$ac_ext >&5
34026 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
34027 conftest
$ac_exeext conftest.
$ac_ext
34030 CFLAGS
=$save_CFLAGS
34036 if test "$libs_found" = "0"; then
34037 { echo "$as_me:$LINENO: result: can't find the right libraries" >&5
34038 echo "${ECHO_T}can't find the right libraries" >&6; }
34039 { { echo "$as_me:$LINENO: error: can't link a simple motif program" >&5
34040 echo "$as_me: error: can't link a simple motif program" >&2;}
34041 { (exit 1); exit 1; }; }
34044 { echo "$as_me:$LINENO: checking for SgCreateList in -lSgm" >&5
34045 echo $ECHO_N "checking for SgCreateList in -lSgm... $ECHO_C" >&6; }
34046 if test "${ac_cv_lib_Sgm_SgCreateList+set}" = set; then
34047 echo $ECHO_N "(cached) $ECHO_C" >&6
34049 ac_check_lib_save_LIBS
=$LIBS
34051 cat >conftest.
$ac_ext <<_ACEOF
34054 cat confdefs.h
>>conftest.
$ac_ext
34055 cat >>conftest.
$ac_ext <<_ACEOF
34056 /* end confdefs.h. */
34058 /* Override any GCC internal prototype to avoid an error.
34059 Use char because int might match the return type of a GCC
34060 builtin and then its argument prototype would still apply. */
34064 char SgCreateList ();
34068 return SgCreateList ();
34073 rm -f conftest.
$ac_objext conftest
$ac_exeext
34074 if { (ac_try
="$ac_link"
34075 case "(($ac_try" in
34076 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
34077 *) ac_try_echo=$ac_try;;
34079 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34080 (eval "$ac_link") 2>conftest.er1
34082 grep -v '^ *+' conftest.er1 >conftest.err
34084 cat conftest.err >&5
34085 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34086 (exit $ac_status); } && {
34087 test -z "$ac_c_werror_flag" ||
34088 test ! -s conftest.err
34089 } && test -s conftest$ac_exeext &&
34090 $as_test_x conftest$ac_exeext; then
34091 ac_cv_lib_Sgm_SgCreateList=yes
34093 echo "$as_me: failed program was:" >&5
34094 sed 's/^/| /' conftest.$ac_ext >&5
34096 ac_cv_lib_Sgm_SgCreateList=no
34099 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
34100 conftest$ac_exeext conftest.$ac_ext
34101 LIBS=$ac_check_lib_save_LIBS
34103 { echo "$as_me:$LINENO: result: $ac_cv_lib_Sgm_SgCreateList" >&5
34104 echo "${ECHO_T}$ac_cv_lib_Sgm_SgCreateList" >&6; }
34105 if test $ac_cv_lib_Sgm_SgCreateList = yes; then
34106 libsgm_link=" -lSgm"
34110 save_CFLAGS=$CFLAGS
34111 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
34113 { echo "$as_me:$LINENO: checking for Motif 2" >&5
34114 echo $ECHO_N "checking for Motif 2... $ECHO_C" >&6; }
34115 if test "${wx_cv_lib_motif2+set}" = set; then
34116 echo $ECHO_N "(cached) $ECHO_C" >&6
34118 cat >conftest.$ac_ext <<_ACEOF
34121 cat confdefs.h >>conftest.$ac_ext
34122 cat >>conftest.$ac_ext <<_ACEOF
34123 /* end confdefs.h. */
34131 #if XmVersion < 2000
34139 rm -f conftest.$ac_objext
34140 if { (ac_try="$ac_compile"
34141 case "(($ac_try" in
34142 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
34143 *) ac_try_echo
=$ac_try;;
34145 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34146 (eval "$ac_compile") 2>conftest.er1
34148 grep -v '^ *+' conftest.er1
>conftest.err
34150 cat conftest.err
>&5
34151 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34152 (exit $ac_status); } && {
34153 test -z "$ac_c_werror_flag" ||
34154 test ! -s conftest.err
34155 } && test -s conftest.
$ac_objext; then
34156 wx_cv_lib_motif2
="yes"
34158 echo "$as_me: failed program was:" >&5
34159 sed 's/^/| /' conftest.
$ac_ext >&5
34161 wx_cv_lib_motif2
="no"
34164 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
34166 { echo "$as_me:$LINENO: result: $wx_cv_lib_motif2" >&5
34167 echo "${ECHO_T}$wx_cv_lib_motif2" >&6; }
34168 if test "$wx_cv_lib_motif2" = "yes"; then
34169 cat >>confdefs.h
<<\_ACEOF
34170 #define __WXMOTIF20__ 1
34174 cat >>confdefs.h
<<\_ACEOF
34175 #define __WXMOTIF20__ 0
34180 { echo "$as_me:$LINENO: checking whether Motif is Lesstif" >&5
34181 echo $ECHO_N "checking whether Motif is Lesstif... $ECHO_C" >&6; }
34182 if test "${wx_cv_lib_lesstif+set}" = set; then
34183 echo $ECHO_N "(cached) $ECHO_C" >&6
34185 cat >conftest.
$ac_ext <<_ACEOF
34188 cat confdefs.h
>>conftest.
$ac_ext
34189 cat >>conftest.
$ac_ext <<_ACEOF
34190 /* end confdefs.h. */
34198 #if !defined(LesstifVersion) || LesstifVersion <= 0
34206 rm -f conftest.
$ac_objext
34207 if { (ac_try
="$ac_compile"
34208 case "(($ac_try" in
34209 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
34210 *) ac_try_echo=$ac_try;;
34212 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34213 (eval "$ac_compile") 2>conftest.er1
34215 grep -v '^ *+' conftest.er1 >conftest.err
34217 cat conftest.err >&5
34218 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34219 (exit $ac_status); } && {
34220 test -z "$ac_c_werror_flag" ||
34221 test ! -s conftest.err
34222 } && test -s conftest.$ac_objext; then
34223 wx_cv_lib_lesstif="yes"
34225 echo "$as_me: failed program was:" >&5
34226 sed 's/^/| /' conftest.$ac_ext >&5
34228 wx_cv_lib_lesstif="no"
34231 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34234 { echo "$as_me:$LINENO: result: $wx_cv_lib_lesstif" >&5
34235 echo "${ECHO_T}$wx_cv_lib_lesstif" >&6; }
34236 if test "$wx_cv_lib_lesstif" = "yes"; then
34237 cat >>confdefs.h <<\_ACEOF
34238 #define __WXLESSTIF__ 1
34242 cat >>confdefs.h <<\_ACEOF
34243 #define __WXLESSTIF__ 0
34248 CFLAGS=$save_CFLAGS
34250 GUI_TK_LIBRARY="$GUI_TK_LIBRARY${libsgm_link} -lXm${libp_link} -lXmu -lXext -lXt${libsm_ice_link} -lX11"
34255 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
34256 if test "$wxUSE_LIBXPM" = "sys"; then
34257 { echo "$as_me:$LINENO: checking for Xpm library" >&5
34258 echo $ECHO_N "checking for Xpm library... $ECHO_C" >&6; }
34261 for ac_dir in $SEARCH_LIB;
34263 for ac_extension in a so sl dylib dll.a; do
34264 if test -f "$ac_dir/libXpm.$ac_extension"; then
34265 ac_find_libraries=$ac_dir
34271 if test "$ac_find_libraries" != "" ; then
34273 if test "$ac_find_libraries" = "default location"; then
34276 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
34278 if test $result = 0; then
34281 ac_path_to_link=" -L$ac_find_libraries"
34285 GUI_TK_LIBRARY="$GUI_TK_LIBRARY$ac_path_to_link"
34286 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
34287 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
34289 { echo "$as_me:$LINENO: checking for X11/xpm.h" >&5
34290 echo $ECHO_N "checking for X11/xpm.h... $ECHO_C" >&6; }
34291 if test "${wx_cv_x11_xpm_h+set}" = set; then
34292 echo $ECHO_N "(cached) $ECHO_C" >&6
34295 save_CFLAGS=$CFLAGS
34296 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
34298 cat >conftest.$ac_ext <<_ACEOF
34301 cat confdefs.h >>conftest.$ac_ext
34302 cat >>conftest.$ac_ext <<_ACEOF
34303 /* end confdefs.h. */
34305 #include <X11/xpm.h>
34312 version = XpmLibraryVersion();
34318 rm -f conftest.$ac_objext
34319 if { (ac_try="$ac_compile"
34320 case "(($ac_try" in
34321 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
34322 *) ac_try_echo
=$ac_try;;
34324 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34325 (eval "$ac_compile") 2>conftest.er1
34327 grep -v '^ *+' conftest.er1
>conftest.err
34329 cat conftest.err
>&5
34330 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34331 (exit $ac_status); } && {
34332 test -z "$ac_c_werror_flag" ||
34333 test ! -s conftest.err
34334 } && test -s conftest.
$ac_objext; then
34335 wx_cv_x11_xpm_h
=yes
34337 echo "$as_me: failed program was:" >&5
34338 sed 's/^/| /' conftest.
$ac_ext >&5
34344 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
34346 CFLAGS
=$save_CFLAGS
34350 { echo "$as_me:$LINENO: result: $wx_cv_x11_xpm_h" >&5
34351 echo "${ECHO_T}$wx_cv_x11_xpm_h" >&6; }
34353 if test $wx_cv_x11_xpm_h = "yes"; then
34354 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lXpm"
34355 cat >>confdefs.h
<<\_ACEOF
34356 #define wxHAVE_LIB_XPM 1
34360 { echo "$as_me:$LINENO: WARNING: built-in less efficient XPM decoder will be used" >&5
34361 echo "$as_me: WARNING: built-in less efficient XPM decoder will be used" >&2;}
34367 { echo "$as_me:$LINENO: checking for XShapeQueryExtension in -lXext" >&5
34368 echo $ECHO_N "checking for XShapeQueryExtension in -lXext... $ECHO_C" >&6; }
34369 if test "${ac_cv_lib_Xext_XShapeQueryExtension+set}" = set; then
34370 echo $ECHO_N "(cached) $ECHO_C" >&6
34372 ac_check_lib_save_LIBS
=$LIBS
34373 LIBS
="-lXext $GUI_TK_LIBRARY -lX11 $LIBS"
34374 cat >conftest.
$ac_ext <<_ACEOF
34377 cat confdefs.h
>>conftest.
$ac_ext
34378 cat >>conftest.
$ac_ext <<_ACEOF
34379 /* end confdefs.h. */
34381 /* Override any GCC internal prototype to avoid an error.
34382 Use char because int might match the return type of a GCC
34383 builtin and then its argument prototype would still apply. */
34387 char XShapeQueryExtension ();
34391 return XShapeQueryExtension ();
34396 rm -f conftest.
$ac_objext conftest
$ac_exeext
34397 if { (ac_try
="$ac_link"
34398 case "(($ac_try" in
34399 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
34400 *) ac_try_echo=$ac_try;;
34402 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34403 (eval "$ac_link") 2>conftest.er1
34405 grep -v '^ *+' conftest.er1 >conftest.err
34407 cat conftest.err >&5
34408 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34409 (exit $ac_status); } && {
34410 test -z "$ac_c_werror_flag" ||
34411 test ! -s conftest.err
34412 } && test -s conftest$ac_exeext &&
34413 $as_test_x conftest$ac_exeext; then
34414 ac_cv_lib_Xext_XShapeQueryExtension=yes
34416 echo "$as_me: failed program was:" >&5
34417 sed 's/^/| /' conftest.$ac_ext >&5
34419 ac_cv_lib_Xext_XShapeQueryExtension=no
34422 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
34423 conftest$ac_exeext conftest.$ac_ext
34424 LIBS=$ac_check_lib_save_LIBS
34426 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
34427 echo "${ECHO_T}$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
34428 if test $ac_cv_lib_Xext_XShapeQueryExtension = yes; then
34430 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXext"
34436 if test "$wxHAVE_XEXT_LIB" = 1; then
34437 save_CFLAGS="$CFLAGS"
34438 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
34440 { echo "$as_me:$LINENO: checking for X11/extensions/shape.h" >&5
34441 echo $ECHO_N "checking for X11/extensions/shape.h... $ECHO_C" >&6; }
34442 cat >conftest.$ac_ext <<_ACEOF
34445 cat confdefs.h >>conftest.$ac_ext
34446 cat >>conftest.$ac_ext <<_ACEOF
34447 /* end confdefs.h. */
34449 #include <X11/Xlib.h>
34450 #include <X11/extensions/shape.h>
34456 int dummy1, dummy2;
34457 XShapeQueryExtension((Display*)NULL,
34458 (int*)NULL, (int*)NULL);
34464 rm -f conftest.$ac_objext
34465 if { (ac_try="$ac_compile"
34466 case "(($ac_try" in
34467 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
34468 *) ac_try_echo
=$ac_try;;
34470 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34471 (eval "$ac_compile") 2>conftest.er1
34473 grep -v '^ *+' conftest.er1
>conftest.err
34475 cat conftest.err
>&5
34476 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34477 (exit $ac_status); } && {
34478 test -z "$ac_c_werror_flag" ||
34479 test ! -s conftest.err
34480 } && test -s conftest.
$ac_objext; then
34482 cat >>confdefs.h
<<\_ACEOF
34483 #define HAVE_XSHAPE 1
34486 { echo "$as_me:$LINENO: result: found" >&5
34487 echo "${ECHO_T}found" >&6; }
34490 echo "$as_me: failed program was:" >&5
34491 sed 's/^/| /' conftest.
$ac_ext >&5
34494 { echo "$as_me:$LINENO: result: not found" >&5
34495 echo "${ECHO_T}not found" >&6; }
34499 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
34500 CFLAGS
="$save_CFLAGS"
34505 if test "$wxUSE_MAC" = 1; then
34506 { echo "$as_me:$LINENO: checking for compiler syntax to enable Pascal strings" >&5
34507 echo $ECHO_N "checking for compiler syntax to enable Pascal strings... $ECHO_C" >&6; }
34508 if test "$GCC" = yes; then
34509 { echo "$as_me:$LINENO: result: gcc" >&5
34510 echo "${ECHO_T}gcc" >&6; }
34511 CPPFLAGS_PASCAL
="-fpascal-strings"
34512 elif test "`echo $CXX | sed -e 's@.*/@@'`" = "xlC"; then
34513 { echo "$as_me:$LINENO: result: xlc" >&5
34514 echo "${ECHO_T}xlc" >&6; }
34515 CPPFLAGS_PASCAL
="-qmacpstr"
34517 { echo "$as_me:$LINENO: result: none" >&5
34518 echo "${ECHO_T}none" >&6; }
34521 if test "x$wxUSE_UNIX" = "xyes"; then
34522 CPPFLAGS
="$CPPFLAGS_PASCAL -I\${top_srcdir}/src/mac/carbon/morefilex -I/Developer/Headers/FlatCarbon $CPPFLAGS"
34524 CPPFLAGS
="$CPPFLAGS_PASCAL -I\${top_srcdir}/src/mac/carbon/morefilex -DTARGET_CARBON $CPPFLAGS"
34529 WXBASEPORT
="_carbon"
34532 if test "$wxUSE_COCOA" = 1; then
34537 if test "$wxUSE_PM" = 1; then
34540 { echo "$as_me:$LINENO: checking for type SPBCDATA" >&5
34541 echo $ECHO_N "checking for type SPBCDATA... $ECHO_C" >&6; }
34542 if test "${wx_cv_spbcdata+set}" = set; then
34543 echo $ECHO_N "(cached) $ECHO_C" >&6
34546 cat >conftest.
$ac_ext <<_ACEOF
34549 cat confdefs.h
>>conftest.
$ac_ext
34550 cat >>conftest.
$ac_ext <<_ACEOF
34551 /* end confdefs.h. */
34566 rm -f conftest.
$ac_objext
34567 if { (ac_try
="$ac_compile"
34568 case "(($ac_try" in
34569 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
34570 *) ac_try_echo=$ac_try;;
34572 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34573 (eval "$ac_compile") 2>conftest.er1
34575 grep -v '^ *+' conftest.er1 >conftest.err
34577 cat conftest.err >&5
34578 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34579 (exit $ac_status); } && {
34580 test -z "$ac_c_werror_flag" ||
34581 test ! -s conftest.err
34582 } && test -s conftest.$ac_objext; then
34585 echo "$as_me: failed program was:" >&5
34586 sed 's/^/| /' conftest.$ac_ext >&5
34592 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34596 { echo "$as_me:$LINENO: result: $wx_cv_spbcdata" >&5
34597 echo "${ECHO_T}$wx_cv_spbcdata" >&6; }
34599 if test $wx_cv_spbcdata = "yes"; then
34600 cat >>confdefs.h <<\_ACEOF
34601 #define HAVE_SPBCDATA 1
34607 if test "$TOOLKIT" = "PM" ; then
34610 TOOLKIT_DIR=`echo ${TOOLKIT} | tr "[A-Z]" "[a-z]"`
34613 if test "$wxUSE_UNIVERSAL" = "yes"; then
34614 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXUNIVERSAL__"
34618 GUIDIST="${GUIDIST} SAMPLES_DIST DEMOS_DIST UTILS_DIST MISC_DIST"
34619 DISTDIR="wx\$(TOOLKIT)"
34625 if test "$USE_WIN32" = 1 ; then
34629 GUIDIST="BASE_DIST"
34635 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_UTF8" = "auto" ; then
34636 if test "$TOOLKIT" = "DFB" ; then
34637 wxUSE_UNICODE_UTF8=yes
34638 elif test "$TOOLKIT" = "GTK" -a "$WXGTK20" = "1" ; then
34639 wxUSE_UNICODE_UTF8=yes
34640 elif test "$USE_OS2" = "1" ; then
34641 wxUSE_UNICODE_UTF8=yes
34643 wxUSE_UNICODE_UTF8=no
34648 if test "$wxUSE_GUI" = "yes"; then
34649 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_PM" != 1; then
34650 { echo "$as_me:$LINENO: checking for X11/Xlib.h" >&5
34651 echo $ECHO_N "checking for X11/Xlib.h... $ECHO_C" >&6; }
34652 if test "${ac_cv_header_X11_Xlib_h+set}" = set; then
34653 echo $ECHO_N "(cached) $ECHO_C" >&6
34655 cat >conftest.$ac_ext <<_ACEOF
34658 cat confdefs.h >>conftest.$ac_ext
34659 cat >>conftest.$ac_ext <<_ACEOF
34660 /* end confdefs.h. */
34663 #include <X11/Xlib.h>
34665 rm -f conftest.$ac_objext
34666 if { (ac_try="$ac_compile"
34667 case "(($ac_try" in
34668 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
34669 *) ac_try_echo
=$ac_try;;
34671 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34672 (eval "$ac_compile") 2>conftest.er1
34674 grep -v '^ *+' conftest.er1
>conftest.err
34676 cat conftest.err
>&5
34677 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34678 (exit $ac_status); } && {
34679 test -z "$ac_c_werror_flag" ||
34680 test ! -s conftest.err
34681 } && test -s conftest.
$ac_objext; then
34682 ac_cv_header_X11_Xlib_h
=yes
34684 echo "$as_me: failed program was:" >&5
34685 sed 's/^/| /' conftest.
$ac_ext >&5
34687 ac_cv_header_X11_Xlib_h
=no
34690 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
34692 { echo "$as_me:$LINENO: result: $ac_cv_header_X11_Xlib_h" >&5
34693 echo "${ECHO_T}$ac_cv_header_X11_Xlib_h" >&6; }
34696 { echo "$as_me:$LINENO: checking for X11/XKBlib.h" >&5
34697 echo $ECHO_N "checking for X11/XKBlib.h... $ECHO_C" >&6; }
34698 if test "${ac_cv_header_X11_XKBlib_h+set}" = set; then
34699 echo $ECHO_N "(cached) $ECHO_C" >&6
34701 cat >conftest.
$ac_ext <<_ACEOF
34704 cat confdefs.h
>>conftest.
$ac_ext
34705 cat >>conftest.
$ac_ext <<_ACEOF
34706 /* end confdefs.h. */
34708 #if HAVE_X11_XLIB_H
34709 #include <X11/Xlib.h>
34713 #include <X11/XKBlib.h>
34715 rm -f conftest.
$ac_objext
34716 if { (ac_try
="$ac_compile"
34717 case "(($ac_try" in
34718 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
34719 *) ac_try_echo=$ac_try;;
34721 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34722 (eval "$ac_compile") 2>conftest.er1
34724 grep -v '^ *+' conftest.er1 >conftest.err
34726 cat conftest.err >&5
34727 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34728 (exit $ac_status); } && {
34729 test -z "$ac_c_werror_flag" ||
34730 test ! -s conftest.err
34731 } && test -s conftest.$ac_objext; then
34732 ac_cv_header_X11_XKBlib_h=yes
34734 echo "$as_me: failed program was:" >&5
34735 sed 's/^/| /' conftest.$ac_ext >&5
34737 ac_cv_header_X11_XKBlib_h=no
34740 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34742 { echo "$as_me:$LINENO: result: $ac_cv_header_X11_XKBlib_h" >&5
34743 echo "${ECHO_T}$ac_cv_header_X11_XKBlib_h" >&6; }
34754 if test "$TOOLKIT" != "MSW" ; then
34756 if test "$wxUSE_ODBC" = "sys" -o "$wxUSE_ODBC" = "yes" ; then
34758 { echo "$as_me:$LINENO: checking for sql.h" >&5
34759 echo $ECHO_N "checking for sql.h... $ECHO_C" >&6; }
34760 if test "${ac_cv_header_sql_h+set}" = set; then
34761 echo $ECHO_N "(cached) $ECHO_C" >&6
34763 cat >conftest.$ac_ext <<_ACEOF
34766 cat confdefs.h >>conftest.$ac_ext
34767 cat >>conftest.$ac_ext <<_ACEOF
34768 /* end confdefs.h. */
34773 rm -f conftest.$ac_objext
34774 if { (ac_try="$ac_compile"
34775 case "(($ac_try" in
34776 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
34777 *) ac_try_echo
=$ac_try;;
34779 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34780 (eval "$ac_compile") 2>conftest.er1
34782 grep -v '^ *+' conftest.er1
>conftest.err
34784 cat conftest.err
>&5
34785 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34786 (exit $ac_status); } && {
34787 test -z "$ac_c_werror_flag" ||
34788 test ! -s conftest.err
34789 } && test -s conftest.
$ac_objext; then
34790 ac_cv_header_sql_h
=yes
34792 echo "$as_me: failed program was:" >&5
34793 sed 's/^/| /' conftest.
$ac_ext >&5
34795 ac_cv_header_sql_h
=no
34798 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
34800 { echo "$as_me:$LINENO: result: $ac_cv_header_sql_h" >&5
34801 echo "${ECHO_T}$ac_cv_header_sql_h" >&6; }
34802 if test $ac_cv_header_sql_h = yes; then
34807 if test "x$found_sql_h" = "x1" ; then
34808 { echo "$as_me:$LINENO: checking for SQLAllocEnv in -liodbc" >&5
34809 echo $ECHO_N "checking for SQLAllocEnv in -liodbc... $ECHO_C" >&6; }
34810 if test "${ac_cv_lib_iodbc_SQLAllocEnv+set}" = set; then
34811 echo $ECHO_N "(cached) $ECHO_C" >&6
34813 ac_check_lib_save_LIBS
=$LIBS
34814 LIBS
="-liodbc $LIBS"
34815 cat >conftest.
$ac_ext <<_ACEOF
34818 cat confdefs.h
>>conftest.
$ac_ext
34819 cat >>conftest.
$ac_ext <<_ACEOF
34820 /* end confdefs.h. */
34822 /* Override any GCC internal prototype to avoid an error.
34823 Use char because int might match the return type of a GCC
34824 builtin and then its argument prototype would still apply. */
34828 char SQLAllocEnv ();
34832 return SQLAllocEnv ();
34837 rm -f conftest.
$ac_objext conftest
$ac_exeext
34838 if { (ac_try
="$ac_link"
34839 case "(($ac_try" in
34840 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
34841 *) ac_try_echo=$ac_try;;
34843 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34844 (eval "$ac_link") 2>conftest.er1
34846 grep -v '^ *+' conftest.er1 >conftest.err
34848 cat conftest.err >&5
34849 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34850 (exit $ac_status); } && {
34851 test -z "$ac_c_werror_flag" ||
34852 test ! -s conftest.err
34853 } && test -s conftest$ac_exeext &&
34854 $as_test_x conftest$ac_exeext; then
34855 ac_cv_lib_iodbc_SQLAllocEnv=yes
34857 echo "$as_me: failed program was:" >&5
34858 sed 's/^/| /' conftest.$ac_ext >&5
34860 ac_cv_lib_iodbc_SQLAllocEnv=no
34863 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
34864 conftest$ac_exeext conftest.$ac_ext
34865 LIBS=$ac_check_lib_save_LIBS
34867 { echo "$as_me:$LINENO: result: $ac_cv_lib_iodbc_SQLAllocEnv" >&5
34868 echo "${ECHO_T}$ac_cv_lib_iodbc_SQLAllocEnv" >&6; }
34869 if test $ac_cv_lib_iodbc_SQLAllocEnv = yes; then
34870 ODBC_LINK=" -liodbc"
34873 { echo "$as_me:$LINENO: checking for SQLAllocEnv in -lunixodbc" >&5
34874 echo $ECHO_N "checking for SQLAllocEnv in -lunixodbc... $ECHO_C" >&6; }
34875 if test "${ac_cv_lib_unixodbc_SQLAllocEnv+set}" = set; then
34876 echo $ECHO_N "(cached) $ECHO_C" >&6
34878 ac_check_lib_save_LIBS=$LIBS
34879 LIBS="-lunixodbc $LIBS"
34880 cat >conftest.$ac_ext <<_ACEOF
34883 cat confdefs.h >>conftest.$ac_ext
34884 cat >>conftest.$ac_ext <<_ACEOF
34885 /* end confdefs.h. */
34887 /* Override any GCC internal prototype to avoid an error.
34888 Use char because int might match the return type of a GCC
34889 builtin and then its argument prototype would still apply. */
34893 char SQLAllocEnv ();
34897 return SQLAllocEnv ();
34902 rm -f conftest.$ac_objext conftest$ac_exeext
34903 if { (ac_try="$ac_link"
34904 case "(($ac_try" in
34905 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
34906 *) ac_try_echo
=$ac_try;;
34908 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34909 (eval "$ac_link") 2>conftest.er1
34911 grep -v '^ *+' conftest.er1
>conftest.err
34913 cat conftest.err
>&5
34914 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34915 (exit $ac_status); } && {
34916 test -z "$ac_c_werror_flag" ||
34917 test ! -s conftest.err
34918 } && test -s conftest
$ac_exeext &&
34919 $as_test_x conftest
$ac_exeext; then
34920 ac_cv_lib_unixodbc_SQLAllocEnv
=yes
34922 echo "$as_me: failed program was:" >&5
34923 sed 's/^/| /' conftest.
$ac_ext >&5
34925 ac_cv_lib_unixodbc_SQLAllocEnv
=no
34928 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
34929 conftest
$ac_exeext conftest.
$ac_ext
34930 LIBS
=$ac_check_lib_save_LIBS
34932 { echo "$as_me:$LINENO: result: $ac_cv_lib_unixodbc_SQLAllocEnv" >&5
34933 echo "${ECHO_T}$ac_cv_lib_unixodbc_SQLAllocEnv" >&6; }
34934 if test $ac_cv_lib_unixodbc_SQLAllocEnv = yes; then
34935 ODBC_LINK
=" -lunixodbc"
34938 { echo "$as_me:$LINENO: checking for SQLAllocEnv in -lodbc" >&5
34939 echo $ECHO_N "checking for SQLAllocEnv in -lodbc... $ECHO_C" >&6; }
34940 if test "${ac_cv_lib_odbc_SQLAllocEnv+set}" = set; then
34941 echo $ECHO_N "(cached) $ECHO_C" >&6
34943 ac_check_lib_save_LIBS
=$LIBS
34944 LIBS
="-lodbc $LIBS"
34945 cat >conftest.
$ac_ext <<_ACEOF
34948 cat confdefs.h
>>conftest.
$ac_ext
34949 cat >>conftest.
$ac_ext <<_ACEOF
34950 /* end confdefs.h. */
34952 /* Override any GCC internal prototype to avoid an error.
34953 Use char because int might match the return type of a GCC
34954 builtin and then its argument prototype would still apply. */
34958 char SQLAllocEnv ();
34962 return SQLAllocEnv ();
34967 rm -f conftest.
$ac_objext conftest
$ac_exeext
34968 if { (ac_try
="$ac_link"
34969 case "(($ac_try" in
34970 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
34971 *) ac_try_echo=$ac_try;;
34973 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34974 (eval "$ac_link") 2>conftest.er1
34976 grep -v '^ *+' conftest.er1 >conftest.err
34978 cat conftest.err >&5
34979 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34980 (exit $ac_status); } && {
34981 test -z "$ac_c_werror_flag" ||
34982 test ! -s conftest.err
34983 } && test -s conftest$ac_exeext &&
34984 $as_test_x conftest$ac_exeext; then
34985 ac_cv_lib_odbc_SQLAllocEnv=yes
34987 echo "$as_me: failed program was:" >&5
34988 sed 's/^/| /' conftest.$ac_ext >&5
34990 ac_cv_lib_odbc_SQLAllocEnv=no
34993 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
34994 conftest$ac_exeext conftest.$ac_ext
34995 LIBS=$ac_check_lib_save_LIBS
34997 { echo "$as_me:$LINENO: result: $ac_cv_lib_odbc_SQLAllocEnv" >&5
34998 echo "${ECHO_T}$ac_cv_lib_odbc_SQLAllocEnv" >&6; }
34999 if test $ac_cv_lib_odbc_SQLAllocEnv = yes; then
35000 ODBC_LINK=" -lodbc"
35010 if test "x$ODBC_LINK" = "x" ; then
35011 if test "$wxUSE_ODBC" = "sys" ; then
35012 { { echo "$as_me:$LINENO: error: system ODBC library not found! Use --with-odbc=builtin to use built-in version" >&5
35013 echo "$as_me: error: system ODBC library not found! Use --with-odbc=builtin to use built-in version" >&2;}
35014 { (exit 1); exit 1; }; }
35016 { echo "$as_me:$LINENO: WARNING: system ODBC library not found, will use built-in instead" >&5
35017 echo "$as_me: WARNING: system ODBC library not found, will use built-in instead" >&2;}
35025 if test "$wxUSE_ODBC" = "builtin" ; then
35026 cat >>confdefs.h <<\_ACEOF
35027 #define wxUSE_BUILTIN_IODBC 1
35033 if test "$wxUSE_ODBC" != "no" ; then
35034 cat >>confdefs.h <<\_ACEOF
35035 #define wxUSE_ODBC 1
35038 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS db"
35040 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_IODBC_"
35044 if test "$wxUSE_DISPLAY" = "yes"; then
35045 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1; then
35046 { echo "$as_me:$LINENO: checking for Xinerama" >&5
35047 echo $ECHO_N "checking for Xinerama... $ECHO_C" >&6; }
35050 for ac_dir in $SEARCH_LIB;
35052 for ac_extension in a so sl dylib dll.a; do
35053 if test -f "$ac_dir/libXinerama.$ac_extension"; then
35054 ac_find_libraries=$ac_dir
35060 if test "$ac_find_libraries" != "" ; then
35062 if test "$ac_find_libraries" = "default location"; then
35065 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
35067 if test $result = 0; then
35070 ac_path_to_link=" -L$ac_find_libraries"
35074 if test "$ac_path_to_link" != " -L/usr/lib" ; then
35075 LDFLAGS="$LDFLAGS $ac_path_to_link"
35077 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXinerama"
35078 { echo "$as_me:$LINENO: result: yes" >&5
35079 echo "${ECHO_T}yes" >&6; }
35081 { echo "$as_me:$LINENO: checking for Xxf86vm extension" >&5
35082 echo $ECHO_N "checking for Xxf86vm extension... $ECHO_C" >&6; }
35085 for ac_dir in $SEARCH_LIB;
35087 for ac_extension in a so sl dylib dll.a; do
35088 if test -f "$ac_dir/libXxf86vm.$ac_extension"; then
35089 ac_find_libraries=$ac_dir
35095 if test "$ac_find_libraries" != "" ; then
35096 { echo "$as_me:$LINENO: result: yes" >&5
35097 echo "${ECHO_T}yes" >&6; }
35098 { echo "$as_me:$LINENO: checking for X11/extensions/xf86vmode.h" >&5
35099 echo $ECHO_N "checking for X11/extensions/xf86vmode.h... $ECHO_C" >&6; }
35100 if test "${ac_cv_header_X11_extensions_xf86vmode_h+set}" = set; then
35101 echo $ECHO_N "(cached) $ECHO_C" >&6
35103 cat >conftest.$ac_ext <<_ACEOF
35106 cat confdefs.h >>conftest.$ac_ext
35107 cat >>conftest.$ac_ext <<_ACEOF
35108 /* end confdefs.h. */
35110 #if HAVE_X11_XLIB_H
35111 #include <X11/Xlib.h>
35115 #include <X11/extensions/xf86vmode.h>
35117 rm -f conftest.$ac_objext
35118 if { (ac_try="$ac_compile"
35119 case "(($ac_try" in
35120 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
35121 *) ac_try_echo
=$ac_try;;
35123 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35124 (eval "$ac_compile") 2>conftest.er1
35126 grep -v '^ *+' conftest.er1
>conftest.err
35128 cat conftest.err
>&5
35129 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35130 (exit $ac_status); } && {
35131 test -z "$ac_c_werror_flag" ||
35132 test ! -s conftest.err
35133 } && test -s conftest.
$ac_objext; then
35134 ac_cv_header_X11_extensions_xf86vmode_h
=yes
35136 echo "$as_me: failed program was:" >&5
35137 sed 's/^/| /' conftest.
$ac_ext >&5
35139 ac_cv_header_X11_extensions_xf86vmode_h
=no
35142 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
35144 { echo "$as_me:$LINENO: result: $ac_cv_header_X11_extensions_xf86vmode_h" >&5
35145 echo "${ECHO_T}$ac_cv_header_X11_extensions_xf86vmode_h" >&6; }
35146 if test $ac_cv_header_X11_extensions_xf86vmode_h = yes; then
35148 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lXxf86vm"
35154 { echo "$as_me:$LINENO: result: no" >&5
35155 echo "${ECHO_T}no" >&6; }
35159 { echo "$as_me:$LINENO: result: no" >&5
35160 echo "${ECHO_T}no" >&6; }
35161 { echo "$as_me:$LINENO: WARNING: Xinerama not found; disabling wxDisplay" >&5
35162 echo "$as_me: WARNING: Xinerama not found; disabling wxDisplay" >&2;}
35165 elif test "$wxUSE_MSW" = 1; then
35166 { echo "$as_me:$LINENO: checking for ddraw.h" >&5
35167 echo $ECHO_N "checking for ddraw.h... $ECHO_C" >&6; }
35168 if test "${ac_cv_header_ddraw_h+set}" = set; then
35169 echo $ECHO_N "(cached) $ECHO_C" >&6
35171 cat >conftest.
$ac_ext <<_ACEOF
35174 cat confdefs.h
>>conftest.
$ac_ext
35175 cat >>conftest.
$ac_ext <<_ACEOF
35176 /* end confdefs.h. */
35177 #include <windows.h>
35181 rm -f conftest.
$ac_objext
35182 if { (ac_try
="$ac_compile"
35183 case "(($ac_try" in
35184 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
35185 *) ac_try_echo=$ac_try;;
35187 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35188 (eval "$ac_compile") 2>conftest.er1
35190 grep -v '^ *+' conftest.er1 >conftest.err
35192 cat conftest.err >&5
35193 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35194 (exit $ac_status); } && {
35195 test -z "$ac_c_werror_flag" ||
35196 test ! -s conftest.err
35197 } && test -s conftest.$ac_objext; then
35198 ac_cv_header_ddraw_h=yes
35200 echo "$as_me: failed program was:" >&5
35201 sed 's/^/| /' conftest.$ac_ext >&5
35203 ac_cv_header_ddraw_h=no
35206 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35208 { echo "$as_me:$LINENO: result: $ac_cv_header_ddraw_h" >&5
35209 echo "${ECHO_T}$ac_cv_header_ddraw_h" >&6; }
35215 if test "$wxUSE_DETECT_SM" = "yes"; then
35216 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1; then
35217 { echo "$as_me:$LINENO: checking for -lSM - X11 session management" >&5
35218 echo $ECHO_N "checking for -lSM - X11 session management... $ECHO_C" >&6; }
35221 for ac_dir in $SEARCH_LIB;
35223 for ac_extension in a so sl dylib dll.a; do
35224 if test -f "$ac_dir/libSM.$ac_extension"; then
35225 ac_find_libraries=$ac_dir
35231 if test "$ac_find_libraries" != "" ; then
35233 if test "$ac_find_libraries" = "default location"; then
35236 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
35238 if test $result = 0; then
35241 ac_path_to_link=" -L$ac_find_libraries"
35245 if test "$ac_path_to_link" != " -L/usr/lib" ; then
35246 LDFLAGS="$LDFLAGS $ac_path_to_link"
35248 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lSM"
35249 { echo "$as_me:$LINENO: result: yes" >&5
35250 echo "${ECHO_T}yes" >&6; }
35252 { echo "$as_me:$LINENO: result: no" >&5
35253 echo "${ECHO_T}no" >&6; }
35254 { echo "$as_me:$LINENO: WARNING: libSM not found; disabling session management detection" >&5
35255 echo "$as_me: WARNING: libSM not found; disabling session management detection" >&2;}
35256 wxUSE_DETECT_SM="no"
35259 wxUSE_DETECT_SM="no"
35266 if test "$wxUSE_OPENGL" = "yes"; then
35267 if test "$wxUSE_MGL" = 1 -o "$wxUSE_DFB" = "1"; then
35268 { echo "$as_me:$LINENO: WARNING: wxGLCanvas not implemented for this port, library will be compiled without it." >&5
35269 echo "$as_me: WARNING: wxGLCanvas not implemented for this port, library will be compiled without it." >&2;}
35271 elif test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = "1"; then
35272 OPENGL_LIBS="-framework OpenGL -framework AGL"
35273 elif test "$wxUSE_MSW" = 1; then
35274 OPENGL_LIBS="-lopengl32 -lglu32"
35276 { echo "$as_me:$LINENO: checking for OpenGL headers" >&5
35277 echo $ECHO_N "checking for OpenGL headers... $ECHO_C" >&6; }
35280 for ac_dir in $SEARCH_INCLUDE /opt/graphics/OpenGL/include /usr/include;
35282 if test -f "$ac_dir/GL/gl.h"; then
35283 ac_find_includes=$ac_dir
35288 if test "$ac_find_includes" != "" ; then
35289 { echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
35290 echo "${ECHO_T}found in $ac_find_includes" >&6; }
35292 if test "x$ac_find_includes" = "x/usr/include"; then
35293 ac_path_to_include=""
35295 echo "$CPPFLAGS" | grep "\-I$ac_find_includes" > /dev/null
35297 if test $result = 0; then
35298 ac_path_to_include=""
35300 ac_path_to_include=" -I$ac_find_includes"
35304 CPPFLAGS="$ac_path_to_include $CPPFLAGS"
35306 { echo "$as_me:$LINENO: result: not found" >&5
35307 echo "${ECHO_T}not found" >&6; }
35310 { echo "$as_me:$LINENO: checking for GL/gl.h" >&5
35311 echo $ECHO_N "checking for GL/gl.h... $ECHO_C" >&6; }
35312 if test "${ac_cv_header_GL_gl_h+set}" = set; then
35313 echo $ECHO_N "(cached) $ECHO_C" >&6
35315 cat >conftest.$ac_ext <<_ACEOF
35318 cat confdefs.h >>conftest.$ac_ext
35319 cat >>conftest.$ac_ext <<_ACEOF
35320 /* end confdefs.h. */
35325 rm -f conftest.$ac_objext
35326 if { (ac_try="$ac_compile"
35327 case "(($ac_try" in
35328 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
35329 *) ac_try_echo
=$ac_try;;
35331 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35332 (eval "$ac_compile") 2>conftest.er1
35334 grep -v '^ *+' conftest.er1
>conftest.err
35336 cat conftest.err
>&5
35337 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35338 (exit $ac_status); } && {
35339 test -z "$ac_c_werror_flag" ||
35340 test ! -s conftest.err
35341 } && test -s conftest.
$ac_objext; then
35342 ac_cv_header_GL_gl_h
=yes
35344 echo "$as_me: failed program was:" >&5
35345 sed 's/^/| /' conftest.
$ac_ext >&5
35347 ac_cv_header_GL_gl_h
=no
35350 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
35352 { echo "$as_me:$LINENO: result: $ac_cv_header_GL_gl_h" >&5
35353 echo "${ECHO_T}$ac_cv_header_GL_gl_h" >&6; }
35354 if test $ac_cv_header_GL_gl_h = yes; then
35356 if test "${ac_cv_header_GL_glu_h+set}" = set; then
35357 { echo "$as_me:$LINENO: checking for GL/glu.h" >&5
35358 echo $ECHO_N "checking for GL/glu.h... $ECHO_C" >&6; }
35359 if test "${ac_cv_header_GL_glu_h+set}" = set; then
35360 echo $ECHO_N "(cached) $ECHO_C" >&6
35362 { echo "$as_me:$LINENO: result: $ac_cv_header_GL_glu_h" >&5
35363 echo "${ECHO_T}$ac_cv_header_GL_glu_h" >&6; }
35365 # Is the header compilable?
35366 { echo "$as_me:$LINENO: checking GL/glu.h usability" >&5
35367 echo $ECHO_N "checking GL/glu.h usability... $ECHO_C" >&6; }
35368 cat >conftest.
$ac_ext <<_ACEOF
35371 cat confdefs.h
>>conftest.
$ac_ext
35372 cat >>conftest.
$ac_ext <<_ACEOF
35373 /* end confdefs.h. */
35374 $ac_includes_default
35375 #include <GL/glu.h>
35377 rm -f conftest.
$ac_objext
35378 if { (ac_try
="$ac_compile"
35379 case "(($ac_try" in
35380 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
35381 *) ac_try_echo=$ac_try;;
35383 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35384 (eval "$ac_compile") 2>conftest.er1
35386 grep -v '^ *+' conftest.er1 >conftest.err
35388 cat conftest.err >&5
35389 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35390 (exit $ac_status); } && {
35391 test -z "$ac_c_werror_flag" ||
35392 test ! -s conftest.err
35393 } && test -s conftest.$ac_objext; then
35394 ac_header_compiler=yes
35396 echo "$as_me: failed program was:" >&5
35397 sed 's/^/| /' conftest.$ac_ext >&5
35399 ac_header_compiler=no
35402 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35403 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
35404 echo "${ECHO_T}$ac_header_compiler" >&6; }
35406 # Is the header present?
35407 { echo "$as_me:$LINENO: checking GL/glu.h presence" >&5
35408 echo $ECHO_N "checking GL/glu.h presence... $ECHO_C" >&6; }
35409 cat >conftest.$ac_ext <<_ACEOF
35412 cat confdefs.h >>conftest.$ac_ext
35413 cat >>conftest.$ac_ext <<_ACEOF
35414 /* end confdefs.h. */
35415 #include <GL/glu.h>
35417 if { (ac_try="$ac_cpp conftest.$ac_ext"
35418 case "(($ac_try" in
35419 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
35420 *) ac_try_echo
=$ac_try;;
35422 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35423 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
35425 grep -v '^ *+' conftest.er1
>conftest.err
35427 cat conftest.err
>&5
35428 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35429 (exit $ac_status); } >/dev
/null
&& {
35430 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
35431 test ! -s conftest.err
35433 ac_header_preproc
=yes
35435 echo "$as_me: failed program was:" >&5
35436 sed 's/^/| /' conftest.
$ac_ext >&5
35438 ac_header_preproc
=no
35441 rm -f conftest.err conftest.
$ac_ext
35442 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
35443 echo "${ECHO_T}$ac_header_preproc" >&6; }
35445 # So? What about this header?
35446 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
35448 { echo "$as_me:$LINENO: WARNING: GL/glu.h: accepted by the compiler, rejected by the preprocessor!" >&5
35449 echo "$as_me: WARNING: GL/glu.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
35450 { echo "$as_me:$LINENO: WARNING: GL/glu.h: proceeding with the compiler's result" >&5
35451 echo "$as_me: WARNING: GL/glu.h: proceeding with the compiler's result" >&2;}
35452 ac_header_preproc
=yes
35455 { echo "$as_me:$LINENO: WARNING: GL/glu.h: present but cannot be compiled" >&5
35456 echo "$as_me: WARNING: GL/glu.h: present but cannot be compiled" >&2;}
35457 { echo "$as_me:$LINENO: WARNING: GL/glu.h: check for missing prerequisite headers?" >&5
35458 echo "$as_me: WARNING: GL/glu.h: check for missing prerequisite headers?" >&2;}
35459 { echo "$as_me:$LINENO: WARNING: GL/glu.h: see the Autoconf documentation" >&5
35460 echo "$as_me: WARNING: GL/glu.h: see the Autoconf documentation" >&2;}
35461 { echo "$as_me:$LINENO: WARNING: GL/glu.h: section \"Present But Cannot Be Compiled\"" >&5
35462 echo "$as_me: WARNING: GL/glu.h: section \"Present But Cannot Be Compiled\"" >&2;}
35463 { echo "$as_me:$LINENO: WARNING: GL/glu.h: proceeding with the preprocessor's result" >&5
35464 echo "$as_me: WARNING: GL/glu.h: proceeding with the preprocessor's result" >&2;}
35465 { echo "$as_me:$LINENO: WARNING: GL/glu.h: in the future, the compiler will take precedence" >&5
35466 echo "$as_me: WARNING: GL/glu.h: in the future, the compiler will take precedence" >&2;}
35468 ## ----------------------------------------- ##
35469 ## Report this to wx-dev@lists.wxwidgets.org ##
35470 ## ----------------------------------------- ##
35472 ) | sed "s/^/$as_me: WARNING: /" >&2
35475 { echo "$as_me:$LINENO: checking for GL/glu.h" >&5
35476 echo $ECHO_N "checking for GL/glu.h... $ECHO_C" >&6; }
35477 if test "${ac_cv_header_GL_glu_h+set}" = set; then
35478 echo $ECHO_N "(cached) $ECHO_C" >&6
35480 ac_cv_header_GL_glu_h
=$ac_header_preproc
35482 { echo "$as_me:$LINENO: result: $ac_cv_header_GL_glu_h" >&5
35483 echo "${ECHO_T}$ac_cv_header_GL_glu_h" >&6; }
35486 if test $ac_cv_header_GL_glu_h = yes; then
35490 { echo "$as_me:$LINENO: checking for -lGL" >&5
35491 echo $ECHO_N "checking for -lGL... $ECHO_C" >&6; }
35494 for ac_dir
in $SEARCH_LIB /opt
/graphics
/OpenGL
/lib
;
35496 for ac_extension
in a so sl dylib dll.a
; do
35497 if test -f "$ac_dir/libGL.$ac_extension"; then
35498 ac_find_libraries
=$ac_dir
35504 if test "$ac_find_libraries" != "" ; then
35505 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
35506 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
35509 if test "$ac_find_libraries" = "default location"; then
35512 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev
/null
35514 if test $result = 0; then
35517 ac_path_to_link
=" -L$ac_find_libraries"
35521 if test "$ac_path_to_link" != " -L/usr/lib" ; then
35522 LDFLAGS_GL
="$ac_path_to_link"
35525 { echo "$as_me:$LINENO: checking for -lGLU" >&5
35526 echo $ECHO_N "checking for -lGLU... $ECHO_C" >&6; }
35529 for ac_dir
in $SEARCH_LIB;
35531 for ac_extension
in a so sl dylib dll.a
; do
35532 if test -f "$ac_dir/libGLU.$ac_extension"; then
35533 ac_find_libraries
=$ac_dir
35539 if test "$ac_find_libraries" != "" ; then
35541 if test "$ac_find_libraries" = "default location"; then
35544 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev
/null
35546 if test $result = 0; then
35549 ac_path_to_link
=" -L$ac_find_libraries"
35553 if test "$ac_path_to_link" != " -L/usr/lib" -a \
35554 "$ac_path_to_link" != "$LDFLAGS_GL"; then
35555 LDFLAGS_GL
="$LDFLAGS_GL$ac_path_to_link"
35559 OPENGL_LIBS
="-lGL -lGLU"
35560 { echo "$as_me:$LINENO: result: yes" >&5
35561 echo "${ECHO_T}yes" >&6; }
35563 { echo "$as_me:$LINENO: result: no" >&5
35564 echo "${ECHO_T}no" >&6; }
35567 { echo "$as_me:$LINENO: result: no" >&5
35568 echo "${ECHO_T}no" >&6; }
35571 if test "$found_gl" != 1; then
35572 { echo "$as_me:$LINENO: checking for -lMesaGL" >&5
35573 echo $ECHO_N "checking for -lMesaGL... $ECHO_C" >&6; }
35576 for ac_dir
in $SEARCH_LIB;
35578 for ac_extension
in a so sl dylib dll.a
; do
35579 if test -f "$ac_dir/libMesaGL.$ac_extension"; then
35580 ac_find_libraries
=$ac_dir
35586 if test "$ac_find_libraries" != "" ; then
35588 if test "$ac_find_libraries" = "default location"; then
35591 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev
/null
35593 if test $result = 0; then
35596 ac_path_to_link
=" -L$ac_find_libraries"
35600 LDFLAGS_GL
="$LDFLAGS$ac_path_to_link"
35601 OPENGL_LIBS
="-lMesaGL -lMesaGLU"
35602 { echo "$as_me:$LINENO: result: yes" >&5
35603 echo "${ECHO_T}yes" >&6; }
35605 { echo "$as_me:$LINENO: result: no" >&5
35606 echo "${ECHO_T}no" >&6; }
35618 if test "x$OPENGL_LIBS" = "x"; then
35619 { { echo "$as_me:$LINENO: error: OpenGL libraries not available" >&5
35620 echo "$as_me: error: OpenGL libraries not available" >&2;}
35621 { (exit 1); exit 1; }; }
35625 if test "$wxUSE_OPENGL" = "yes"; then
35627 cat >>confdefs.h
<<\_ACEOF
35628 #define wxUSE_OPENGL 1
35631 cat >>confdefs.h
<<\_ACEOF
35632 #define wxUSE_GLCANVAS 1
35635 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS opengl opengl/cube opengl/penguin opengl/isosurf"
35640 if test -n "$TOOLKIT" ; then
35641 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WX${TOOLKIT}__"
35646 if test "$wxUSE_SHARED" = "yes"; then
35650 { echo "$as_me:$LINENO: WARNING: Host system doesn't support shared libraries, disabling" >&5
35651 echo "$as_me: WARNING: Host system doesn't support shared libraries, disabling" >&2;}
35656 if test "$wxUSE_SHARED" = "yes"; then
35660 *-*-cygwin* | *-*-mingw* )
35661 wx_cv_version_script
=no
35665 { echo "$as_me:$LINENO: checking if the linker accepts --version-script" >&5
35666 echo $ECHO_N "checking if the linker accepts --version-script... $ECHO_C" >&6; }
35667 if test "${wx_cv_version_script+set}" = set; then
35668 echo $ECHO_N "(cached) $ECHO_C" >&6
35671 echo "VER_1 { *; };" >conftest.sym
35672 echo "int main() { return 0; }" >conftest.cpp
35675 $CXX -o conftest.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
35676 -Wl,--version-script,conftest.sym >/dev/null 2>conftest.stderr'
35677 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35678 (eval $ac_try) 2>&5
35680 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35681 (exit $ac_status); }; } ; then
35682 if test -s conftest.stderr
; then
35683 wx_cv_version_script
=no
35685 wx_cv_version_script
=yes
35688 wx_cv_version_script
=no
35691 if test $wx_cv_version_script = yes
35693 echo "struct B { virtual ~B() { } }; \
35694 struct D : public B { }; \
35695 void F() { D d; }" > conftest.cpp
35698 $CXX -shared -fPIC -o conftest1.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
35699 -Wl,--version-script,conftest.sym >/dev/null 2>/dev/null'
35700 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35701 (eval $ac_try) 2>&5
35703 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35704 (exit $ac_status); }; } &&
35706 $CXX -shared -fPIC -o conftest2.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
35707 -Wl,--version-script,conftest.sym conftest1.output >/dev/null 2>/dev/null'
35708 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35709 (eval $ac_try) 2>&5
35711 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35712 (exit $ac_status); }; }
35715 $CXX -shared -fPIC -o conftest3.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
35716 -Wl,--version-script,conftest.sym conftest2.output conftest1.output >/dev/null 2>/dev/null'
35717 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35718 (eval $ac_try) 2>&5
35720 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35721 (exit $ac_status); }; }
35723 wx_cv_version_script
=yes
35725 wx_cv_version_script
=no
35730 rm -f conftest.output conftest.stderr conftest.sym conftest.cpp
35731 rm -f conftest1.output conftest2.output conftest3.output
35734 { echo "$as_me:$LINENO: result: $wx_cv_version_script" >&5
35735 echo "${ECHO_T}$wx_cv_version_script" >&6; }
35737 if test $wx_cv_version_script = yes ; then
35738 LDFLAGS_VERSIONING
="-Wl,--version-script,\$(wx_top_builddir)/version-script"
35744 if test "$wxUSE_VISIBILITY" != "no"; then
35747 if test -n "$GCC"; then
35748 CFLAGS_VISIBILITY
="-fvisibility=hidden"
35749 CXXFLAGS_VISIBILITY
="-fvisibility=hidden -fvisibility-inlines-hidden"
35750 { echo "$as_me:$LINENO: checking for symbols visibility support" >&5
35751 echo $ECHO_N "checking for symbols visibility support... $ECHO_C" >&6; }
35752 if test "${wx_cv_cc_visibility+set}" = set; then
35753 echo $ECHO_N "(cached) $ECHO_C" >&6
35756 wx_save_CXXFLAGS
="$CXXFLAGS"
35757 CXXFLAGS
="$CXXFLAGS $CXXFLAGS_VISIBILITY"
35759 ac_cpp
='$CXXCPP $CPPFLAGS'
35760 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35761 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35762 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
35764 cat >conftest.
$ac_ext <<_ACEOF
35767 cat confdefs.h
>>conftest.
$ac_ext
35768 cat >>conftest.
$ac_ext <<_ACEOF
35769 /* end confdefs.h. */
35771 /* we need gcc >= 4.0, older versions with visibility support
35772 didn't have class visibility: */
35773 #if defined(__GNUC__) && __GNUC__ < 4
35774 error this gcc is too old;
35777 extern __attribute__((__visibility__("hidden"))) int hiddenvar;
35778 extern __attribute__((__visibility__("default"))) int exportedvar;
35779 extern __attribute__((__visibility__("hidden"))) int hiddenfunc (void);
35780 extern __attribute__((__visibility__("default"))) int exportedfunc (void);
35781 class __attribute__((__visibility__("default"))) Foo {
35793 rm -f conftest.
$ac_objext
35794 if { (ac_try
="$ac_compile"
35795 case "(($ac_try" in
35796 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
35797 *) ac_try_echo=$ac_try;;
35799 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35800 (eval "$ac_compile") 2>conftest.er1
35802 grep -v '^ *+' conftest.er1 >conftest.err
35804 cat conftest.err >&5
35805 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35806 (exit $ac_status); } && {
35807 test -z "$ac_cxx_werror_flag" ||
35808 test ! -s conftest.err
35809 } && test -s conftest.$ac_objext; then
35810 wx_cv_cc_visibility=yes
35812 echo "$as_me: failed program was:" >&5
35813 sed 's/^/| /' conftest.$ac_ext >&5
35815 wx_cv_cc_visibility=no
35818 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35820 ac_cpp='$CPP $CPPFLAGS'
35821 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35822 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35823 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35825 CXXFLAGS="$wx_save_CXXFLAGS"
35828 { echo "$as_me:$LINENO: result: $wx_cv_cc_visibility" >&5
35829 echo "${ECHO_T}$wx_cv_cc_visibility" >&6; }
35830 if test $wx_cv_cc_visibility = yes; then
35831 cat >>confdefs.h <<\_ACEOF
35832 #define HAVE_VISIBILITY 1
35836 CFLAGS_VISIBILITY=""
35837 CXXFLAGS_VISIBILITY=""
35845 if test "x$SUNCXX" = xyes; then
35846 SAMPLES_RPATH_FLAG="-R\$(wx_top_builddir)/lib"
35847 WXCONFIG_RPATH="-R\$libdir"
35850 *-*-linux* | *-*-gnu* )
35851 SAMPLES_RPATH_FLAG="-Wl,-rpath,\$(wx_top_builddir)/lib"
35852 WXCONFIG_RPATH="-Wl,-rpath,\$libdir"
35857 CPPFLAGS="-isystem /usr/openwin/include $CPPFLAGS"
35859 saveLdflags="$LDFLAGS"
35860 LDFLAGS="$saveLdflags -Wl,-rpath,/"
35861 { echo "$as_me:$LINENO: checking if the linker accepts -rpath" >&5
35862 echo $ECHO_N "checking if the linker accepts -rpath... $ECHO_C" >&6; }
35863 cat >conftest.$ac_ext <<_ACEOF
35866 cat confdefs.h >>conftest.$ac_ext
35867 cat >>conftest.$ac_ext <<_ACEOF
35868 /* end confdefs.h. */
35878 rm -f conftest.$ac_objext conftest$ac_exeext
35879 if { (ac_try="$ac_link"
35880 case "(($ac_try" in
35881 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
35882 *) ac_try_echo
=$ac_try;;
35884 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35885 (eval "$ac_link") 2>conftest.er1
35887 grep -v '^ *+' conftest.er1
>conftest.err
35889 cat conftest.err
>&5
35890 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35891 (exit $ac_status); } && {
35892 test -z "$ac_c_werror_flag" ||
35893 test ! -s conftest.err
35894 } && test -s conftest
$ac_exeext &&
35895 $as_test_x conftest
$ac_exeext; then
35897 { echo "$as_me:$LINENO: result: yes" >&5
35898 echo "${ECHO_T}yes" >&6; }
35899 SAMPLES_RPATH_FLAG
="-Wl,-rpath,\$(wx_top_builddir)/lib"
35900 WXCONFIG_RPATH
="-Wl,-rpath,\$libdir"
35903 echo "$as_me: failed program was:" >&5
35904 sed 's/^/| /' conftest.
$ac_ext >&5
35907 { echo "$as_me:$LINENO: result: no" >&5
35908 echo "${ECHO_T}no" >&6; }
35909 { echo "$as_me:$LINENO: checking if the linker accepts -R" >&5
35910 echo $ECHO_N "checking if the linker accepts -R... $ECHO_C" >&6; }
35911 LDFLAGS
="$saveLdflags -Wl,-R,/"
35912 cat >conftest.
$ac_ext <<_ACEOF
35915 cat confdefs.h
>>conftest.
$ac_ext
35916 cat >>conftest.
$ac_ext <<_ACEOF
35917 /* end confdefs.h. */
35927 rm -f conftest.
$ac_objext conftest
$ac_exeext
35928 if { (ac_try
="$ac_link"
35929 case "(($ac_try" in
35930 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
35931 *) ac_try_echo=$ac_try;;
35933 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35934 (eval "$ac_link") 2>conftest.er1
35936 grep -v '^ *+' conftest.er1 >conftest.err
35938 cat conftest.err >&5
35939 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35940 (exit $ac_status); } && {
35941 test -z "$ac_c_werror_flag" ||
35942 test ! -s conftest.err
35943 } && test -s conftest$ac_exeext &&
35944 $as_test_x conftest$ac_exeext; then
35946 { echo "$as_me:$LINENO: result: yes" >&5
35947 echo "${ECHO_T}yes" >&6; }
35948 SAMPLES_RPATH_FLAG="-Wl,-R,\$(wx_top_builddir)/lib"
35949 WXCONFIG_RPATH="-Wl,-R,\$libdir"
35952 echo "$as_me: failed program was:" >&5
35953 sed 's/^/| /' conftest.$ac_ext >&5
35956 { echo "$as_me:$LINENO: result: no" >&5
35957 echo "${ECHO_T}no" >&6; }
35961 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35962 conftest$ac_exeext conftest.$ac_ext
35966 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35967 conftest$ac_exeext conftest.$ac_ext
35968 LDFLAGS="$saveLdflags"
35972 install_name_tool=`which install_name_tool
`
35973 if test "$install_name_tool" -a -x "$install_name_tool"; then
35974 SAMPLES_RPATH_POSTLINK="\$(wx_top_builddir)/change-install-names \$(LIBDIRNAME) \$(prefix) \$@"
35975 cat <<EOF >change-install-names
35977 libnames=\`cd \
${1} ; ls -1 | grep '\.[0-9][0-9]*\.dylib\$'\
`
35978 inst_cmd="install_name_tool "
35979 for i in \${libnames} ; do
35980 inst_cmd="\${inst_cmd} -change \${2}/lib/\${i} \${1}/\${i}"
35984 chmod +x change-install-names
35988 *-*-cygwin* | *-*-mingw32* )
35989 WXCONFIG_ONLY_CPPFLAGS="$WXCONFIG_ONLY_CPPFLAGS -DWXUSINGDLL"
35993 SAMPLES_RPATH_FLAG="-Wl,+b,\$(wx_top_builddir)/lib"
35994 WXCONFIG_RPATH="-Wl,+b,\$libdir"
36000 if test $wxUSE_RPATH = "no"; then
36001 SAMPLES_RPATH_FLAG=''
36002 SAMPLES_RPATH_POSTLINK=''
36010 config_linkage_component="-static"
36017 lib_unicode_suffix=
36019 if test "$wxUSE_UNICODE" = "yes"; then
36020 lib_unicode_suffix=u
36021 WX_CHARTYPE="unicode"
36026 WX_DEBUGTYPE="release"
36028 if test "$wxUSE_DEBUG_FLAG" = "yes"; then
36030 WX_DEBUGTYPE="debug"
36034 WX_FLAVOUR=${WX_FLAVOUR:+-$WX_FLAVOUR}
36035 WX_LIB_FLAVOUR=`echo $WX_FLAVOUR | tr '-' '_'`
36038 if test "$wxUSE_DEBUG_INFO" = "yes"; then
36042 WX_VERSION_TAG=`echo WX
${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}_
${WX_RELEASE} | tr "[a-z]" "[A-Z]"`
36044 TOOLCHAIN_NAME="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}"
36046 TOOLCHAIN_FULLNAME="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}-${WX_CHARTYPE}-${WX_DEBUGTYPE}${config_linkage_component}-${WX_RELEASE}${WX_FLAVOUR}"
36048 if test "$cross_compiling" = "yes"; then
36049 HOST_SUFFIX="-$host_alias"
36050 TOOLCHAIN_NAME="$TOOLCHAIN_NAME$HOST_SUFFIX"
36051 TOOLCHAIN_FULLNAME="${host_alias}-$TOOLCHAIN_FULLNAME"
36054 WX_LIBRARY_BASENAME_NOGUI="wx_base${WXBASEPORT}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
36055 if test "${TOOLKIT_DIR}" = "os2"; then
36056 WX_LIBRARY_BASENAME_GUI="wx_pm${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
36058 WX_LIBRARY_BASENAME_GUI="wx_${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
36063 if test "$wxUSE_COCOA" = 1; then
36066 ac_cpp='$CPP $CPPFLAGS'
36067 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36068 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36069 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36073 { echo "$as_me:$LINENO: checking if AppKit/NSEvent.h conflicts with CoreFoundation" >&5
36074 echo $ECHO_N "checking if AppKit/NSEvent.h conflicts with CoreFoundation... $ECHO_C" >&6; }
36075 cat >conftest.$ac_ext <<_ACEOF
36078 cat confdefs.h >>conftest.$ac_ext
36079 cat >>conftest.$ac_ext <<_ACEOF
36080 /* end confdefs.h. */
36081 #include <AppKit/NSEvent.h>
36082 #include <CoreFoundation/CoreFoundation.h>
36092 rm -f conftest.$ac_objext
36093 if { (ac_try="$ac_compile"
36094 case "(($ac_try" in
36095 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
36096 *) ac_try_echo
=$ac_try;;
36098 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36099 (eval "$ac_compile") 2>conftest.er1
36101 grep -v '^ *+' conftest.er1
>conftest.err
36103 cat conftest.err
>&5
36104 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36105 (exit $ac_status); } && {
36106 test -z "$ac_c_werror_flag" ||
36107 test ! -s conftest.err
36108 } && test -s conftest.
$ac_objext; then
36109 { echo "$as_me:$LINENO: result: no" >&5
36110 echo "${ECHO_T}no" >&6; }
36112 echo "$as_me: failed program was:" >&5
36113 sed 's/^/| /' conftest.
$ac_ext >&5
36115 { echo "$as_me:$LINENO: result: yes" >&5
36116 echo "${ECHO_T}yes" >&6; }
36117 { echo "$as_me:$LINENO: checking if defining __Point__ will fix it" >&5
36118 echo $ECHO_N "checking if defining __Point__ will fix it... $ECHO_C" >&6; }
36119 cat >conftest.
$ac_ext <<_ACEOF
36122 cat confdefs.h
>>conftest.
$ac_ext
36123 cat >>conftest.
$ac_ext <<_ACEOF
36124 /* end confdefs.h. */
36125 #define __Point__ 1
36126 #include <AppKit/NSEvent.h>
36127 #include <CoreFoundation/CoreFoundation.h>
36137 rm -f conftest.
$ac_objext
36138 if { (ac_try
="$ac_compile"
36139 case "(($ac_try" in
36140 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
36141 *) ac_try_echo=$ac_try;;
36143 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36144 (eval "$ac_compile") 2>conftest.er1
36146 grep -v '^ *+' conftest.er1 >conftest.err
36148 cat conftest.err >&5
36149 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36150 (exit $ac_status); } && {
36151 test -z "$ac_c_werror_flag" ||
36152 test ! -s conftest.err
36153 } && test -s conftest.$ac_objext; then
36154 { echo "$as_me:$LINENO: result: yes" >&5
36155 echo "${ECHO_T}yes" >&6; }
36156 cat >>confdefs.h <<\_ACEOF
36157 #define __Point__ 1
36162 echo "$as_me: failed program was:" >&5
36163 sed 's/^/| /' conftest.$ac_ext >&5
36165 { { echo "$as_me:$LINENO: error: no
36166 See \`config.log
' for more details." >&5
36167 echo "$as_me: error: no
36168 See \`config.log' for more details.
" >&2;}
36169 { (exit 1); exit 1; }; }
36173 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36177 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36179 ac_cpp='$CPP $CPPFLAGS'
36180 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36181 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36182 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36186 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1; then
36187 WX_RESOURCES_MACOSX_ASCII="libwx_
${TOOLCHAIN_NAME}.
${wx_release_number}.r
"
36188 WX_RESOURCES_MACOSX_DATA="libwx_
${TOOLCHAIN_NAME}.
${wx_release_number}.rsrc
"
36190 LIBWXMACRES="\
$(wx_top_builddir)/lib
/${WX_RESOURCES_MACOSX_ASCII}"
36192 # Extract the first word of "Rez
", so it can be a program name with args.
36193 set dummy Rez; ac_word=$2
36194 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
36195 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
36196 if test "${ac_cv_prog_REZ+set}" = set; then
36197 echo $ECHO_N "(cached
) $ECHO_C" >&6
36199 if test -n "$REZ"; then
36200 ac_cv_prog_REZ="$REZ" # Let the user override the test.
36202 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
36203 for as_dir in $PATH
36206 test -z "$as_dir" && as_dir=.
36207 for ac_exec_ext in '' $ac_executable_extensions; do
36208 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
36209 ac_cv_prog_REZ="Rez
"
36210 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
36217 test -z "$ac_cv_prog_REZ" && ac_cv_prog_REZ="/Developer
/Tools
/Rez
"
36220 REZ=$ac_cv_prog_REZ
36221 if test -n "$REZ"; then
36222 { echo "$as_me:$LINENO: result
: $REZ" >&5
36223 echo "${ECHO_T}$REZ" >&6; }
36225 { echo "$as_me:$LINENO: result
: no
" >&5
36226 echo "${ECHO_T}no
" >&6; }
36230 # Extract the first word of "DeRez
", so it can be a program name with args.
36231 set dummy DeRez; ac_word=$2
36232 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
36233 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
36234 if test "${ac_cv_prog_DEREZ+set}" = set; then
36235 echo $ECHO_N "(cached
) $ECHO_C" >&6
36237 if test -n "$DEREZ"; then
36238 ac_cv_prog_DEREZ="$DEREZ" # Let the user override the test.
36240 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
36241 for as_dir in $PATH
36244 test -z "$as_dir" && as_dir=.
36245 for ac_exec_ext in '' $ac_executable_extensions; do
36246 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
36247 ac_cv_prog_DEREZ="DeRez
"
36248 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
36255 test -z "$ac_cv_prog_DEREZ" && ac_cv_prog_DEREZ="/Developer
/Tools
/DeRez
"
36258 DEREZ=$ac_cv_prog_DEREZ
36259 if test -n "$DEREZ"; then
36260 { echo "$as_me:$LINENO: result
: $DEREZ" >&5
36261 echo "${ECHO_T}$DEREZ" >&6; }
36263 { echo "$as_me:$LINENO: result
: no
" >&5
36264 echo "${ECHO_T}no
" >&6; }
36268 # Extract the first word of "SetFile
", so it can be a program name with args.
36269 set dummy SetFile; ac_word=$2
36270 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
36271 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
36272 if test "${ac_cv_prog_SETFILE+set}" = set; then
36273 echo $ECHO_N "(cached
) $ECHO_C" >&6
36275 if test -n "$SETFILE"; then
36276 ac_cv_prog_SETFILE="$SETFILE" # Let the user override the test.
36278 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
36279 for as_dir in $PATH
36282 test -z "$as_dir" && as_dir=.
36283 for ac_exec_ext in '' $ac_executable_extensions; do
36284 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
36285 ac_cv_prog_SETFILE="SetFile
"
36286 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
36293 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE="/Developer
/Tools
/SetFile
"
36296 SETFILE=$ac_cv_prog_SETFILE
36297 if test -n "$SETFILE"; then
36298 { echo "$as_me:$LINENO: result
: $SETFILE" >&5
36299 echo "${ECHO_T}$SETFILE" >&6; }
36301 { echo "$as_me:$LINENO: result
: no
" >&5
36302 echo "${ECHO_T}no
" >&6; }
36307 MACSETFILE="\
$(SETFILE)"
36309 if test "$wxUSE_MAC" = 1; then
36310 POSTLINK_COMMAND="\
$(REZ) -d __DARWIN__
-t APPL Carbon.r
-o"
36312 WXCONFIG_RESFLAGS="-d __DARWIN__
-t APPL Carbon.r
-o"
36314 POSTLINK_COMMAND="echo -n | \
$(REZ) -d __DARWIN__
-t APPL
${LIBWXMACRES}"
36315 RESCOMP="echo -n \
| $REZ"
36316 WXCONFIG_RESFLAGS="-d __DARWIN__
-t APPL \
$libdir/$WX_RESOURCES_MACOSX_ASCII"
36322 if test "$wxUSE_PM" = 1; then
36324 WXCONFIG_RESFLAGS="-ep"
36326 POSTLINK_COMMAND="$RESCOMP $WXCONFIG_RESFLAGS"
36328 POSTLINK_COMMAND="@true
"
36335 { echo "$as_me:$LINENO: checking
for mode_t
" >&5
36336 echo $ECHO_N "checking
for mode_t...
$ECHO_C" >&6; }
36337 if test "${ac_cv_type_mode_t+set}" = set; then
36338 echo $ECHO_N "(cached
) $ECHO_C" >&6
36340 cat >conftest.$ac_ext <<_ACEOF
36343 cat confdefs.h >>conftest.$ac_ext
36344 cat >>conftest.$ac_ext <<_ACEOF
36345 /* end confdefs.h. */
36346 $ac_includes_default
36347 typedef mode_t ac__type_new_;
36351 if ((ac__type_new_ *) 0)
36353 if (sizeof (ac__type_new_))
36359 rm -f conftest.$ac_objext
36360 if { (ac_try="$ac_compile"
36361 case "(($ac_try" in
36362 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36363 *) ac_try_echo=$ac_try;;
36365 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
36366 (eval "$ac_compile") 2>conftest.er1
36368 grep -v '^ *+' conftest.er1 >conftest.err
36370 cat conftest.err >&5
36371 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
36372 (exit $ac_status); } && {
36373 test -z "$ac_c_werror_flag" ||
36374 test ! -s conftest.err
36375 } && test -s conftest.$ac_objext; then
36376 ac_cv_type_mode_t=yes
36378 echo "$as_me: failed program was
:" >&5
36379 sed 's/^/| /' conftest.$ac_ext >&5
36381 ac_cv_type_mode_t=no
36384 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36386 { echo "$as_me:$LINENO: result
: $ac_cv_type_mode_t" >&5
36387 echo "${ECHO_T}$ac_cv_type_mode_t" >&6; }
36388 if test $ac_cv_type_mode_t = yes; then
36392 cat >>confdefs.h <<_ACEOF
36398 { echo "$as_me:$LINENO: checking
for off_t
" >&5
36399 echo $ECHO_N "checking
for off_t...
$ECHO_C" >&6; }
36400 if test "${ac_cv_type_off_t+set}" = set; then
36401 echo $ECHO_N "(cached
) $ECHO_C" >&6
36403 cat >conftest.$ac_ext <<_ACEOF
36406 cat confdefs.h >>conftest.$ac_ext
36407 cat >>conftest.$ac_ext <<_ACEOF
36408 /* end confdefs.h. */
36409 $ac_includes_default
36410 typedef off_t ac__type_new_;
36414 if ((ac__type_new_ *) 0)
36416 if (sizeof (ac__type_new_))
36422 rm -f conftest.$ac_objext
36423 if { (ac_try="$ac_compile"
36424 case "(($ac_try" in
36425 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36426 *) ac_try_echo=$ac_try;;
36428 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
36429 (eval "$ac_compile") 2>conftest.er1
36431 grep -v '^ *+' conftest.er1 >conftest.err
36433 cat conftest.err >&5
36434 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
36435 (exit $ac_status); } && {
36436 test -z "$ac_c_werror_flag" ||
36437 test ! -s conftest.err
36438 } && test -s conftest.$ac_objext; then
36439 ac_cv_type_off_t=yes
36441 echo "$as_me: failed program was
:" >&5
36442 sed 's/^/| /' conftest.$ac_ext >&5
36444 ac_cv_type_off_t=no
36447 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36449 { echo "$as_me:$LINENO: result
: $ac_cv_type_off_t" >&5
36450 echo "${ECHO_T}$ac_cv_type_off_t" >&6; }
36451 if test $ac_cv_type_off_t = yes; then
36455 cat >>confdefs.h <<_ACEOF
36456 #define off_t long int
36461 { echo "$as_me:$LINENO: checking
for pid_t
" >&5
36462 echo $ECHO_N "checking
for pid_t...
$ECHO_C" >&6; }
36463 if test "${ac_cv_type_pid_t+set}" = set; then
36464 echo $ECHO_N "(cached
) $ECHO_C" >&6
36466 cat >conftest.$ac_ext <<_ACEOF
36469 cat confdefs.h >>conftest.$ac_ext
36470 cat >>conftest.$ac_ext <<_ACEOF
36471 /* end confdefs.h. */
36472 $ac_includes_default
36473 typedef pid_t ac__type_new_;
36477 if ((ac__type_new_ *) 0)
36479 if (sizeof (ac__type_new_))
36485 rm -f conftest.$ac_objext
36486 if { (ac_try="$ac_compile"
36487 case "(($ac_try" in
36488 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36489 *) ac_try_echo=$ac_try;;
36491 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
36492 (eval "$ac_compile") 2>conftest.er1
36494 grep -v '^ *+' conftest.er1 >conftest.err
36496 cat conftest.err >&5
36497 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
36498 (exit $ac_status); } && {
36499 test -z "$ac_c_werror_flag" ||
36500 test ! -s conftest.err
36501 } && test -s conftest.$ac_objext; then
36502 ac_cv_type_pid_t=yes
36504 echo "$as_me: failed program was
:" >&5
36505 sed 's/^/| /' conftest.$ac_ext >&5
36507 ac_cv_type_pid_t=no
36510 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36512 { echo "$as_me:$LINENO: result
: $ac_cv_type_pid_t" >&5
36513 echo "${ECHO_T}$ac_cv_type_pid_t" >&6; }
36514 if test $ac_cv_type_pid_t = yes; then
36518 cat >>confdefs.h <<_ACEOF
36524 { echo "$as_me:$LINENO: checking
for size_t
" >&5
36525 echo $ECHO_N "checking
for size_t...
$ECHO_C" >&6; }
36526 if test "${ac_cv_type_size_t+set}" = set; then
36527 echo $ECHO_N "(cached
) $ECHO_C" >&6
36529 cat >conftest.$ac_ext <<_ACEOF
36532 cat confdefs.h >>conftest.$ac_ext
36533 cat >>conftest.$ac_ext <<_ACEOF
36534 /* end confdefs.h. */
36535 $ac_includes_default
36536 typedef size_t ac__type_new_;
36540 if ((ac__type_new_ *) 0)
36542 if (sizeof (ac__type_new_))
36548 rm -f conftest.$ac_objext
36549 if { (ac_try="$ac_compile"
36550 case "(($ac_try" in
36551 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36552 *) ac_try_echo=$ac_try;;
36554 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
36555 (eval "$ac_compile") 2>conftest.er1
36557 grep -v '^ *+' conftest.er1 >conftest.err
36559 cat conftest.err >&5
36560 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
36561 (exit $ac_status); } && {
36562 test -z "$ac_c_werror_flag" ||
36563 test ! -s conftest.err
36564 } && test -s conftest.$ac_objext; then
36565 ac_cv_type_size_t=yes
36567 echo "$as_me: failed program was
:" >&5
36568 sed 's/^/| /' conftest.$ac_ext >&5
36570 ac_cv_type_size_t=no
36573 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36575 { echo "$as_me:$LINENO: result
: $ac_cv_type_size_t" >&5
36576 echo "${ECHO_T}$ac_cv_type_size_t" >&6; }
36577 if test $ac_cv_type_size_t = yes; then
36581 cat >>confdefs.h <<_ACEOF
36582 #define size_t unsigned int
36587 { echo "$as_me:$LINENO: checking
for uid_t
in sys
/types.h
" >&5
36588 echo $ECHO_N "checking
for uid_t
in sys
/types.h...
$ECHO_C" >&6; }
36589 if test "${ac_cv_type_uid_t+set}" = set; then
36590 echo $ECHO_N "(cached
) $ECHO_C" >&6
36592 cat >conftest.$ac_ext <<_ACEOF
36595 cat confdefs.h >>conftest.$ac_ext
36596 cat >>conftest.$ac_ext <<_ACEOF
36597 /* end confdefs.h. */
36598 #include <sys/types.h>
36601 if (eval "$ac_cpp conftest.
$ac_ext") 2>&5 |
36602 $EGREP "uid_t
" >/dev/null 2>&1; then
36603 ac_cv_type_uid_t=yes
36605 ac_cv_type_uid_t=no
36610 { echo "$as_me:$LINENO: result
: $ac_cv_type_uid_t" >&5
36611 echo "${ECHO_T}$ac_cv_type_uid_t" >&6; }
36612 if test $ac_cv_type_uid_t = no; then
36614 cat >>confdefs.h <<\_ACEOF
36619 cat >>confdefs.h <<\_ACEOF
36626 { echo "$as_me:$LINENO: checking
for ssize_t
" >&5
36627 echo $ECHO_N "checking
for ssize_t...
$ECHO_C" >&6; }
36628 if test "${ac_cv_type_ssize_t+set}" = set; then
36629 echo $ECHO_N "(cached
) $ECHO_C" >&6
36631 cat >conftest.$ac_ext <<_ACEOF
36634 cat confdefs.h >>conftest.$ac_ext
36635 cat >>conftest.$ac_ext <<_ACEOF
36636 /* end confdefs.h. */
36637 $ac_includes_default
36638 typedef ssize_t ac__type_new_;
36642 if ((ac__type_new_ *) 0)
36644 if (sizeof (ac__type_new_))
36650 rm -f conftest.$ac_objext
36651 if { (ac_try="$ac_compile"
36652 case "(($ac_try" in
36653 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36654 *) ac_try_echo=$ac_try;;
36656 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
36657 (eval "$ac_compile") 2>conftest.er1
36659 grep -v '^ *+' conftest.er1 >conftest.err
36661 cat conftest.err >&5
36662 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
36663 (exit $ac_status); } && {
36664 test -z "$ac_c_werror_flag" ||
36665 test ! -s conftest.err
36666 } && test -s conftest.$ac_objext; then
36667 ac_cv_type_ssize_t=yes
36669 echo "$as_me: failed program was
:" >&5
36670 sed 's/^/| /' conftest.$ac_ext >&5
36672 ac_cv_type_ssize_t=no
36675 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36677 { echo "$as_me:$LINENO: result
: $ac_cv_type_ssize_t" >&5
36678 echo "${ECHO_T}$ac_cv_type_ssize_t" >&6; }
36679 if test $ac_cv_type_ssize_t = yes; then
36681 cat >>confdefs.h <<_ACEOF
36682 #define HAVE_SSIZE_T 1
36690 ac_cpp='$CXXCPP $CPPFLAGS'
36691 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36692 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36693 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36694 { echo "$as_me:$LINENO: checking
if size_t is unsigned int
" >&5
36695 echo $ECHO_N "checking
if size_t is unsigned int...
$ECHO_C" >&6; }
36696 if test "${wx_cv_size_t_is_uint+set}" = set; then
36697 echo $ECHO_N "(cached
) $ECHO_C" >&6
36700 cat >conftest.$ac_ext <<_ACEOF
36703 cat confdefs.h >>conftest.$ac_ext
36704 cat >>conftest.$ac_ext <<_ACEOF
36705 /* end confdefs.h. */
36706 #include <stddef.h>
36713 struct Foo { void foo(size_t); void foo(unsigned int); };
36721 rm -f conftest.$ac_objext
36722 if { (ac_try="$ac_compile"
36723 case "(($ac_try" in
36724 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36725 *) ac_try_echo=$ac_try;;
36727 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
36728 (eval "$ac_compile") 2>conftest.er1
36730 grep -v '^ *+' conftest.er1 >conftest.err
36732 cat conftest.err >&5
36733 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
36734 (exit $ac_status); } && {
36735 test -z "$ac_cxx_werror_flag" ||
36736 test ! -s conftest.err
36737 } && test -s conftest.$ac_objext; then
36738 wx_cv_size_t_is_uint=no
36740 echo "$as_me: failed program was
:" >&5
36741 sed 's/^/| /' conftest.$ac_ext >&5
36743 wx_cv_size_t_is_uint=yes
36747 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36751 { echo "$as_me:$LINENO: result
: $wx_cv_size_t_is_uint" >&5
36752 echo "${ECHO_T}$wx_cv_size_t_is_uint" >&6; }
36754 if test "$wx_cv_size_t_is_uint" = "yes"; then
36755 cat >>confdefs.h <<\_ACEOF
36756 #define wxSIZE_T_IS_UINT 1
36760 { echo "$as_me:$LINENO: checking
if size_t is unsigned long
" >&5
36761 echo $ECHO_N "checking
if size_t is unsigned long...
$ECHO_C" >&6; }
36762 if test "${wx_cv_size_t_is_ulong+set}" = set; then
36763 echo $ECHO_N "(cached
) $ECHO_C" >&6
36765 cat >conftest.$ac_ext <<_ACEOF
36768 cat confdefs.h >>conftest.$ac_ext
36769 cat >>conftest.$ac_ext <<_ACEOF
36770 /* end confdefs.h. */
36771 #include <stddef.h>
36778 struct Foo { void foo(size_t); void foo(unsigned long); };
36786 rm -f conftest.$ac_objext
36787 if { (ac_try="$ac_compile"
36788 case "(($ac_try" in
36789 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36790 *) ac_try_echo=$ac_try;;
36792 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
36793 (eval "$ac_compile") 2>conftest.er1
36795 grep -v '^ *+' conftest.er1 >conftest.err
36797 cat conftest.err >&5
36798 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
36799 (exit $ac_status); } && {
36800 test -z "$ac_cxx_werror_flag" ||
36801 test ! -s conftest.err
36802 } && test -s conftest.$ac_objext; then
36803 wx_cv_size_t_is_ulong=no
36805 echo "$as_me: failed program was
:" >&5
36806 sed 's/^/| /' conftest.$ac_ext >&5
36808 wx_cv_size_t_is_ulong=yes
36812 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36815 { echo "$as_me:$LINENO: result
: $wx_cv_size_t_is_ulong" >&5
36816 echo "${ECHO_T}$wx_cv_size_t_is_ulong" >&6; }
36818 if test "$wx_cv_size_t_is_ulong" = "yes"; then
36819 cat >>confdefs.h <<\_ACEOF
36820 #define wxSIZE_T_IS_ULONG 1
36826 { echo "$as_me:$LINENO: checking
if wchar_t is separate
type" >&5
36827 echo $ECHO_N "checking
if wchar_t is separate
type...
$ECHO_C" >&6; }
36828 if test "${wx_cv_wchar_t_is_separate_type+set}" = set; then
36829 echo $ECHO_N "(cached
) $ECHO_C" >&6
36831 cat >conftest.$ac_ext <<_ACEOF
36834 cat confdefs.h >>conftest.$ac_ext
36835 cat >>conftest.$ac_ext <<_ACEOF
36836 /* end confdefs.h. */
36844 struct Foo { void foo(wchar_t);
36845 void foo(unsigned short);
36846 void foo(unsigned int);
36847 void foo(unsigned long); };
36855 rm -f conftest.$ac_objext
36856 if { (ac_try="$ac_compile"
36857 case "(($ac_try" in
36858 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36859 *) ac_try_echo=$ac_try;;
36861 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
36862 (eval "$ac_compile") 2>conftest.er1
36864 grep -v '^ *+' conftest.er1 >conftest.err
36866 cat conftest.err >&5
36867 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
36868 (exit $ac_status); } && {
36869 test -z "$ac_cxx_werror_flag" ||
36870 test ! -s conftest.err
36871 } && test -s conftest.$ac_objext; then
36872 wx_cv_wchar_t_is_separate_type=yes
36874 echo "$as_me: failed program was
:" >&5
36875 sed 's/^/| /' conftest.$ac_ext >&5
36877 wx_cv_wchar_t_is_separate_type=no
36881 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36884 { echo "$as_me:$LINENO: result
: $wx_cv_wchar_t_is_separate_type" >&5
36885 echo "${ECHO_T}$wx_cv_wchar_t_is_separate_type" >&6; }
36887 if test "$wx_cv_wchar_t_is_separate_type" = "yes"; then
36888 cat >>confdefs.h <<\_ACEOF
36889 #define wxWCHAR_T_IS_REAL_TYPE 1
36893 cat >>confdefs.h <<\_ACEOF
36894 #define wxWCHAR_T_IS_REAL_TYPE 0
36900 ac_cpp='$CPP $CPPFLAGS'
36901 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36902 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36903 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36906 { echo "$as_me:$LINENO: checking
for pw_gecos
in struct passwd
" >&5
36907 echo $ECHO_N "checking
for pw_gecos
in struct passwd...
$ECHO_C" >&6; }
36908 if test "${wx_cv_struct_pw_gecos+set}" = set; then
36909 echo $ECHO_N "(cached
) $ECHO_C" >&6
36912 cat >conftest.$ac_ext <<_ACEOF
36915 cat confdefs.h >>conftest.$ac_ext
36916 cat >>conftest.$ac_ext <<_ACEOF
36917 /* end confdefs.h. */
36931 rm -f conftest.$ac_objext
36932 if { (ac_try="$ac_compile"
36933 case "(($ac_try" in
36934 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36935 *) ac_try_echo=$ac_try;;
36937 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
36938 (eval "$ac_compile") 2>conftest.er1
36940 grep -v '^ *+' conftest.er1 >conftest.err
36942 cat conftest.err >&5
36943 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
36944 (exit $ac_status); } && {
36945 test -z "$ac_c_werror_flag" ||
36946 test ! -s conftest.err
36947 } && test -s conftest.$ac_objext; then
36949 wx_cv_struct_pw_gecos=yes
36952 echo "$as_me: failed program was
:" >&5
36953 sed 's/^/| /' conftest.$ac_ext >&5
36956 wx_cv_struct_pw_gecos=no
36961 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36965 { echo "$as_me:$LINENO: result
: $wx_cv_struct_pw_gecos" >&5
36966 echo "${ECHO_T}$wx_cv_struct_pw_gecos" >&6; }
36968 if test "$wx_cv_struct_pw_gecos" = "yes"; then
36969 cat >>confdefs.h <<\_ACEOF
36970 #define HAVE_PW_GECOS 1
36976 if test "$wxUSE_WCHAR_T" = "yes"; then
36977 cat >>confdefs.h <<\_ACEOF
36978 #define wxUSE_WCHAR_T 1
36985 for ac_func in wcslen
36987 as_ac_var=`echo "ac_cv_func_
$ac_func" | $as_tr_sh`
36988 { echo "$as_me:$LINENO: checking
for $ac_func" >&5
36989 echo $ECHO_N "checking
for $ac_func...
$ECHO_C" >&6; }
36990 if { as_var=$as_ac_var; eval "test \"\
${$as_var+set}\" = set"; }; then
36991 echo $ECHO_N "(cached
) $ECHO_C" >&6
36993 cat >conftest.$ac_ext <<_ACEOF
36996 cat confdefs.h >>conftest.$ac_ext
36997 cat >>conftest.$ac_ext <<_ACEOF
36998 /* end confdefs.h. */
36999 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37000 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37001 #define $ac_func innocuous_$ac_func
37003 /* System header to define __stub macros and hopefully few prototypes,
37004 which can conflict with char $ac_func (); below.
37005 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37006 <limits.h> exists even on freestanding compilers. */
37009 # include <limits.h>
37011 # include <assert.h>
37016 /* Override any GCC internal prototype to avoid an error.
37017 Use char because int might match the return type of a GCC
37018 builtin and then its argument prototype would still apply. */
37023 /* The GNU C library defines this for functions which it implements
37024 to always fail with ENOSYS. Some functions are actually named
37025 something starting with __ and the normal name is an alias. */
37026 #if defined __stub_$ac_func || defined __stub___$ac_func
37033 return $ac_func ();
37038 rm -f conftest.$ac_objext conftest$ac_exeext
37039 if { (ac_try="$ac_link"
37040 case "(($ac_try" in
37041 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37042 *) ac_try_echo=$ac_try;;
37044 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
37045 (eval "$ac_link") 2>conftest.er1
37047 grep -v '^ *+' conftest.er1 >conftest.err
37049 cat conftest.err >&5
37050 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
37051 (exit $ac_status); } && {
37052 test -z "$ac_c_werror_flag" ||
37053 test ! -s conftest.err
37054 } && test -s conftest$ac_exeext &&
37055 $as_test_x conftest$ac_exeext; then
37056 eval "$as_ac_var=yes"
37058 echo "$as_me: failed program was
:" >&5
37059 sed 's/^/| /' conftest.$ac_ext >&5
37061 eval "$as_ac_var=no
"
37064 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37065 conftest$ac_exeext conftest.$ac_ext
37067 ac_res=`eval echo '${'$as_ac_var'}'`
37068 { echo "$as_me:$LINENO: result
: $ac_res" >&5
37069 echo "${ECHO_T}$ac_res" >&6; }
37070 if test `eval echo '${'$as_ac_var'}'` = yes; then
37071 cat >>confdefs.h <<_ACEOF
37072 #define `echo "HAVE_
$ac_func" | $as_tr_cpp` 1
37079 if test "$WCSLEN_FOUND" = 0; then
37080 if test "$TOOLKIT" = "MSW
"; then
37081 { echo "$as_me:$LINENO: checking
for wcslen
in -lmsvcrt" >&5
37082 echo $ECHO_N "checking
for wcslen
in -lmsvcrt...
$ECHO_C" >&6; }
37083 if test "${ac_cv_lib_msvcrt_wcslen+set}" = set; then
37084 echo $ECHO_N "(cached
) $ECHO_C" >&6
37086 ac_check_lib_save_LIBS=$LIBS
37087 LIBS="-lmsvcrt $LIBS"
37088 cat >conftest.$ac_ext <<_ACEOF
37091 cat confdefs.h >>conftest.$ac_ext
37092 cat >>conftest.$ac_ext <<_ACEOF
37093 /* end confdefs.h. */
37095 /* Override any GCC internal prototype to avoid an error.
37096 Use char because int might match the return type of a GCC
37097 builtin and then its argument prototype would still apply. */
37110 rm -f conftest.$ac_objext conftest$ac_exeext
37111 if { (ac_try="$ac_link"
37112 case "(($ac_try" in
37113 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37114 *) ac_try_echo=$ac_try;;
37116 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
37117 (eval "$ac_link") 2>conftest.er1
37119 grep -v '^ *+' conftest.er1 >conftest.err
37121 cat conftest.err >&5
37122 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
37123 (exit $ac_status); } && {
37124 test -z "$ac_c_werror_flag" ||
37125 test ! -s conftest.err
37126 } && test -s conftest$ac_exeext &&
37127 $as_test_x conftest$ac_exeext; then
37128 ac_cv_lib_msvcrt_wcslen=yes
37130 echo "$as_me: failed program was
:" >&5
37131 sed 's/^/| /' conftest.$ac_ext >&5
37133 ac_cv_lib_msvcrt_wcslen=no
37136 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37137 conftest$ac_exeext conftest.$ac_ext
37138 LIBS=$ac_check_lib_save_LIBS
37140 { echo "$as_me:$LINENO: result
: $ac_cv_lib_msvcrt_wcslen" >&5
37141 echo "${ECHO_T}$ac_cv_lib_msvcrt_wcslen" >&6; }
37142 if test $ac_cv_lib_msvcrt_wcslen = yes; then
37147 { echo "$as_me:$LINENO: checking
for wcslen
in -lw" >&5
37148 echo $ECHO_N "checking
for wcslen
in -lw...
$ECHO_C" >&6; }
37149 if test "${ac_cv_lib_w_wcslen+set}" = set; then
37150 echo $ECHO_N "(cached
) $ECHO_C" >&6
37152 ac_check_lib_save_LIBS=$LIBS
37154 cat >conftest.$ac_ext <<_ACEOF
37157 cat confdefs.h >>conftest.$ac_ext
37158 cat >>conftest.$ac_ext <<_ACEOF
37159 /* end confdefs.h. */
37161 /* Override any GCC internal prototype to avoid an error.
37162 Use char because int might match the return type of a GCC
37163 builtin and then its argument prototype would still apply. */
37176 rm -f conftest.$ac_objext conftest$ac_exeext
37177 if { (ac_try="$ac_link"
37178 case "(($ac_try" in
37179 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37180 *) ac_try_echo=$ac_try;;
37182 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
37183 (eval "$ac_link") 2>conftest.er1
37185 grep -v '^ *+' conftest.er1 >conftest.err
37187 cat conftest.err >&5
37188 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
37189 (exit $ac_status); } && {
37190 test -z "$ac_c_werror_flag" ||
37191 test ! -s conftest.err
37192 } && test -s conftest$ac_exeext &&
37193 $as_test_x conftest$ac_exeext; then
37194 ac_cv_lib_w_wcslen=yes
37196 echo "$as_me: failed program was
:" >&5
37197 sed 's/^/| /' conftest.$ac_ext >&5
37199 ac_cv_lib_w_wcslen=no
37202 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37203 conftest$ac_exeext conftest.$ac_ext
37204 LIBS=$ac_check_lib_save_LIBS
37206 { echo "$as_me:$LINENO: result
: $ac_cv_lib_w_wcslen" >&5
37207 echo "${ECHO_T}$ac_cv_lib_w_wcslen" >&6; }
37208 if test $ac_cv_lib_w_wcslen = yes; then
37218 if test "$WCSLEN_FOUND" = 1; then
37219 cat >>confdefs.h <<\_ACEOF
37220 #define HAVE_WCSLEN 1
37226 for ac_func in wcsdup
37228 as_ac_var=`echo "ac_cv_func_
$ac_func" | $as_tr_sh`
37229 { echo "$as_me:$LINENO: checking
for $ac_func" >&5
37230 echo $ECHO_N "checking
for $ac_func...
$ECHO_C" >&6; }
37231 if { as_var=$as_ac_var; eval "test \"\
${$as_var+set}\" = set"; }; then
37232 echo $ECHO_N "(cached
) $ECHO_C" >&6
37234 cat >conftest.$ac_ext <<_ACEOF
37237 cat confdefs.h >>conftest.$ac_ext
37238 cat >>conftest.$ac_ext <<_ACEOF
37239 /* end confdefs.h. */
37240 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37241 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37242 #define $ac_func innocuous_$ac_func
37244 /* System header to define __stub macros and hopefully few prototypes,
37245 which can conflict with char $ac_func (); below.
37246 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37247 <limits.h> exists even on freestanding compilers. */
37250 # include <limits.h>
37252 # include <assert.h>
37257 /* Override any GCC internal prototype to avoid an error.
37258 Use char because int might match the return type of a GCC
37259 builtin and then its argument prototype would still apply. */
37264 /* The GNU C library defines this for functions which it implements
37265 to always fail with ENOSYS. Some functions are actually named
37266 something starting with __ and the normal name is an alias. */
37267 #if defined __stub_$ac_func || defined __stub___$ac_func
37274 return $ac_func ();
37279 rm -f conftest.$ac_objext conftest$ac_exeext
37280 if { (ac_try="$ac_link"
37281 case "(($ac_try" in
37282 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37283 *) ac_try_echo=$ac_try;;
37285 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
37286 (eval "$ac_link") 2>conftest.er1
37288 grep -v '^ *+' conftest.er1 >conftest.err
37290 cat conftest.err >&5
37291 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
37292 (exit $ac_status); } && {
37293 test -z "$ac_c_werror_flag" ||
37294 test ! -s conftest.err
37295 } && test -s conftest$ac_exeext &&
37296 $as_test_x conftest$ac_exeext; then
37297 eval "$as_ac_var=yes"
37299 echo "$as_me: failed program was
:" >&5
37300 sed 's/^/| /' conftest.$ac_ext >&5
37302 eval "$as_ac_var=no
"
37305 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37306 conftest$ac_exeext conftest.$ac_ext
37308 ac_res=`eval echo '${'$as_ac_var'}'`
37309 { echo "$as_me:$LINENO: result
: $ac_res" >&5
37310 echo "${ECHO_T}$ac_res" >&6; }
37311 if test `eval echo '${'$as_ac_var'}'` = yes; then
37312 cat >>confdefs.h <<_ACEOF
37313 #define `echo "HAVE_
$ac_func" | $as_tr_cpp` 1
37320 if test "$USE_HPUX" = 1 -a "$GCC" != "yes"; then
37321 CPPFLAGS="-D_INCLUDE__STDC_A1_SOURCE $CPPFLAGS"
37324 { echo "$as_me:$LINENO: checking
for mbstate_t
" >&5
37325 echo $ECHO_N "checking
for mbstate_t...
$ECHO_C" >&6; }
37326 if test "${ac_cv_type_mbstate_t+set}" = set; then
37327 echo $ECHO_N "(cached
) $ECHO_C" >&6
37329 cat >conftest.$ac_ext <<_ACEOF
37332 cat confdefs.h >>conftest.$ac_ext
37333 cat >>conftest.$ac_ext <<_ACEOF
37334 /* end confdefs.h. */
37337 typedef mbstate_t ac__type_new_;
37341 if ((ac__type_new_ *) 0)
37343 if (sizeof (ac__type_new_))
37349 rm -f conftest.$ac_objext
37350 if { (ac_try="$ac_compile"
37351 case "(($ac_try" in
37352 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37353 *) ac_try_echo=$ac_try;;
37355 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
37356 (eval "$ac_compile") 2>conftest.er1
37358 grep -v '^ *+' conftest.er1 >conftest.err
37360 cat conftest.err >&5
37361 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
37362 (exit $ac_status); } && {
37363 test -z "$ac_c_werror_flag" ||
37364 test ! -s conftest.err
37365 } && test -s conftest.$ac_objext; then
37366 ac_cv_type_mbstate_t=yes
37368 echo "$as_me: failed program was
:" >&5
37369 sed 's/^/| /' conftest.$ac_ext >&5
37371 ac_cv_type_mbstate_t=no
37374 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37376 { echo "$as_me:$LINENO: result
: $ac_cv_type_mbstate_t" >&5
37377 echo "${ECHO_T}$ac_cv_type_mbstate_t" >&6; }
37378 if test $ac_cv_type_mbstate_t = yes; then
37380 cat >>confdefs.h <<_ACEOF
37381 #define HAVE_MBSTATE_T 1
37385 for ac_func in wcsrtombs
37387 as_ac_var=`echo "ac_cv_func_
$ac_func" | $as_tr_sh`
37388 { echo "$as_me:$LINENO: checking
for $ac_func" >&5
37389 echo $ECHO_N "checking
for $ac_func...
$ECHO_C" >&6; }
37390 if { as_var=$as_ac_var; eval "test \"\
${$as_var+set}\" = set"; }; then
37391 echo $ECHO_N "(cached
) $ECHO_C" >&6
37393 cat >conftest.$ac_ext <<_ACEOF
37396 cat confdefs.h >>conftest.$ac_ext
37397 cat >>conftest.$ac_ext <<_ACEOF
37398 /* end confdefs.h. */
37399 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37400 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37401 #define $ac_func innocuous_$ac_func
37403 /* System header to define __stub macros and hopefully few prototypes,
37404 which can conflict with char $ac_func (); below.
37405 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37406 <limits.h> exists even on freestanding compilers. */
37409 # include <limits.h>
37411 # include <assert.h>
37416 /* Override any GCC internal prototype to avoid an error.
37417 Use char because int might match the return type of a GCC
37418 builtin and then its argument prototype would still apply. */
37423 /* The GNU C library defines this for functions which it implements
37424 to always fail with ENOSYS. Some functions are actually named
37425 something starting with __ and the normal name is an alias. */
37426 #if defined __stub_$ac_func || defined __stub___$ac_func
37433 return $ac_func ();
37438 rm -f conftest.$ac_objext conftest$ac_exeext
37439 if { (ac_try="$ac_link"
37440 case "(($ac_try" in
37441 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37442 *) ac_try_echo=$ac_try;;
37444 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
37445 (eval "$ac_link") 2>conftest.er1
37447 grep -v '^ *+' conftest.er1 >conftest.err
37449 cat conftest.err >&5
37450 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
37451 (exit $ac_status); } && {
37452 test -z "$ac_c_werror_flag" ||
37453 test ! -s conftest.err
37454 } && test -s conftest$ac_exeext &&
37455 $as_test_x conftest$ac_exeext; then
37456 eval "$as_ac_var=yes"
37458 echo "$as_me: failed program was
:" >&5
37459 sed 's/^/| /' conftest.$ac_ext >&5
37461 eval "$as_ac_var=no
"
37464 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37465 conftest$ac_exeext conftest.$ac_ext
37467 ac_res=`eval echo '${'$as_ac_var'}'`
37468 { echo "$as_me:$LINENO: result
: $ac_res" >&5
37469 echo "${ECHO_T}$ac_res" >&6; }
37470 if test `eval echo '${'$as_ac_var'}'` = yes; then
37471 cat >>confdefs.h <<_ACEOF
37472 #define `echo "HAVE_
$ac_func" | $as_tr_cpp` 1
37481 { echo "$as_me:$LINENO: WARNING
: Wide character support is unavailable
" >&5
37482 echo "$as_me: WARNING
: Wide character support is unavailable
" >&2;}
37487 for ac_func in snprintf vsnprintf
37489 as_ac_var=`echo "ac_cv_func_
$ac_func" | $as_tr_sh`
37490 { echo "$as_me:$LINENO: checking
for $ac_func" >&5
37491 echo $ECHO_N "checking
for $ac_func...
$ECHO_C" >&6; }
37492 if { as_var=$as_ac_var; eval "test \"\
${$as_var+set}\" = set"; }; then
37493 echo $ECHO_N "(cached
) $ECHO_C" >&6
37495 cat >conftest.$ac_ext <<_ACEOF
37498 cat confdefs.h >>conftest.$ac_ext
37499 cat >>conftest.$ac_ext <<_ACEOF
37500 /* end confdefs.h. */
37501 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37502 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37503 #define $ac_func innocuous_$ac_func
37505 /* System header to define __stub macros and hopefully few prototypes,
37506 which can conflict with char $ac_func (); below.
37507 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37508 <limits.h> exists even on freestanding compilers. */
37511 # include <limits.h>
37513 # include <assert.h>
37518 /* Override any GCC internal prototype to avoid an error.
37519 Use char because int might match the return type of a GCC
37520 builtin and then its argument prototype would still apply. */
37525 /* The GNU C library defines this for functions which it implements
37526 to always fail with ENOSYS. Some functions are actually named
37527 something starting with __ and the normal name is an alias. */
37528 #if defined __stub_$ac_func || defined __stub___$ac_func
37535 return $ac_func ();
37540 rm -f conftest.$ac_objext conftest$ac_exeext
37541 if { (ac_try="$ac_link"
37542 case "(($ac_try" in
37543 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37544 *) ac_try_echo=$ac_try;;
37546 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
37547 (eval "$ac_link") 2>conftest.er1
37549 grep -v '^ *+' conftest.er1 >conftest.err
37551 cat conftest.err >&5
37552 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
37553 (exit $ac_status); } && {
37554 test -z "$ac_c_werror_flag" ||
37555 test ! -s conftest.err
37556 } && test -s conftest$ac_exeext &&
37557 $as_test_x conftest$ac_exeext; then
37558 eval "$as_ac_var=yes"
37560 echo "$as_me: failed program was
:" >&5
37561 sed 's/^/| /' conftest.$ac_ext >&5
37563 eval "$as_ac_var=no
"
37566 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37567 conftest$ac_exeext conftest.$ac_ext
37569 ac_res=`eval echo '${'$as_ac_var'}'`
37570 { echo "$as_me:$LINENO: result
: $ac_res" >&5
37571 echo "${ECHO_T}$ac_res" >&6; }
37572 if test `eval echo '${'$as_ac_var'}'` = yes; then
37573 cat >>confdefs.h <<_ACEOF
37574 #define `echo "HAVE_
$ac_func" | $as_tr_cpp` 1
37581 if test "$ac_cv_func_vsnprintf" = "yes"; then
37582 { echo "$as_me:$LINENO: checking
for vsnprintf declaration
" >&5
37583 echo $ECHO_N "checking
for vsnprintf declaration...
$ECHO_C" >&6; }
37584 if test "${wx_cv_func_vsnprintf_decl+set}" = set; then
37585 echo $ECHO_N "(cached
) $ECHO_C" >&6
37588 cat >conftest.$ac_ext <<_ACEOF
37591 cat confdefs.h >>conftest.$ac_ext
37592 cat >>conftest.$ac_ext <<_ACEOF
37593 /* end confdefs.h. */
37596 #include <stdarg.h>
37598 #if __MSL__ >= 0x6000
37600 using namespace std;
37610 vsnprintf(buf, 10u, "%s
", ap);
37616 rm -f conftest.$ac_objext
37617 if { (ac_try="$ac_compile"
37618 case "(($ac_try" in
37619 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37620 *) ac_try_echo=$ac_try;;
37622 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
37623 (eval "$ac_compile") 2>conftest.er1
37625 grep -v '^ *+' conftest.er1 >conftest.err
37627 cat conftest.err >&5
37628 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
37629 (exit $ac_status); } && {
37630 test -z "$ac_c_werror_flag" ||
37631 test ! -s conftest.err
37632 } && test -s conftest.$ac_objext; then
37633 wx_cv_func_vsnprintf_decl=yes
37635 echo "$as_me: failed program was
:" >&5
37636 sed 's/^/| /' conftest.$ac_ext >&5
37638 wx_cv_func_vsnprintf_decl=no
37642 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37646 { echo "$as_me:$LINENO: result
: $wx_cv_func_vsnprintf_decl" >&5
37647 echo "${ECHO_T}$wx_cv_func_vsnprintf_decl" >&6; }
37649 if test "$wx_cv_func_vsnprintf_decl" = "yes"; then
37650 cat >>confdefs.h <<\_ACEOF
37651 #define HAVE_VSNPRINTF_DECL 1
37655 { echo "$as_me:$LINENO: checking
if vsnprintf declaration is broken
" >&5
37656 echo $ECHO_N "checking
if vsnprintf declaration is broken...
$ECHO_C" >&6; }
37657 if test "${wx_cv_func_broken_vsnprintf_decl+set}" = set; then
37658 echo $ECHO_N "(cached
) $ECHO_C" >&6
37661 cat >conftest.$ac_ext <<_ACEOF
37664 cat confdefs.h >>conftest.$ac_ext
37665 cat >>conftest.$ac_ext <<_ACEOF
37666 /* end confdefs.h. */
37669 #include <stdarg.h>
37671 #if __MSL__ >= 0x6000
37673 using namespace std;
37683 const char *fmt = "%s
";
37684 vsnprintf(buf, 10u, fmt, ap);
37690 rm -f conftest.$ac_objext
37691 if { (ac_try="$ac_compile"
37692 case "(($ac_try" in
37693 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37694 *) ac_try_echo=$ac_try;;
37696 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
37697 (eval "$ac_compile") 2>conftest.er1
37699 grep -v '^ *+' conftest.er1 >conftest.err
37701 cat conftest.err >&5
37702 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
37703 (exit $ac_status); } && {
37704 test -z "$ac_c_werror_flag" ||
37705 test ! -s conftest.err
37706 } && test -s conftest.$ac_objext; then
37707 wx_cv_func_broken_vsnprintf_decl=no
37709 echo "$as_me: failed program was
:" >&5
37710 sed 's/^/| /' conftest.$ac_ext >&5
37712 wx_cv_func_broken_vsnprintf_decl=yes
37716 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37720 { echo "$as_me:$LINENO: result
: $wx_cv_func_broken_vsnprintf_decl" >&5
37721 echo "${ECHO_T}$wx_cv_func_broken_vsnprintf_decl" >&6; }
37723 if test "$wx_cv_func_broken_vsnprintf_decl" = "yes"; then
37724 cat >>confdefs.h <<\_ACEOF
37725 #define HAVE_BROKEN_VSNPRINTF_DECL 1
37732 if test "$ac_cv_func_snprintf" = "yes"; then
37733 { echo "$as_me:$LINENO: checking
for snprintf declaration
" >&5
37734 echo $ECHO_N "checking
for snprintf declaration...
$ECHO_C" >&6; }
37735 if test "${wx_cv_func_snprintf_decl+set}" = set; then
37736 echo $ECHO_N "(cached
) $ECHO_C" >&6
37739 cat >conftest.$ac_ext <<_ACEOF
37742 cat confdefs.h >>conftest.$ac_ext
37743 cat >>conftest.$ac_ext <<_ACEOF
37744 /* end confdefs.h. */
37747 #include <stdarg.h>
37749 #if __MSL__ >= 0x6000
37751 using namespace std;
37760 snprintf(buf, 10u, "%s
", "wx
");
37766 rm -f conftest.$ac_objext
37767 if { (ac_try="$ac_compile"
37768 case "(($ac_try" in
37769 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37770 *) ac_try_echo=$ac_try;;
37772 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
37773 (eval "$ac_compile") 2>conftest.er1
37775 grep -v '^ *+' conftest.er1 >conftest.err
37777 cat conftest.err >&5
37778 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
37779 (exit $ac_status); } && {
37780 test -z "$ac_c_werror_flag" ||
37781 test ! -s conftest.err
37782 } && test -s conftest.$ac_objext; then
37783 wx_cv_func_snprintf_decl=yes
37785 echo "$as_me: failed program was
:" >&5
37786 sed 's/^/| /' conftest.$ac_ext >&5
37788 wx_cv_func_snprintf_decl=no
37792 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37796 { echo "$as_me:$LINENO: result
: $wx_cv_func_snprintf_decl" >&5
37797 echo "${ECHO_T}$wx_cv_func_snprintf_decl" >&6; }
37799 if test "$wx_cv_func_snprintf_decl" = "yes"; then
37800 cat >>confdefs.h <<\_ACEOF
37801 #define HAVE_SNPRINTF_DECL 1
37805 { echo "$as_me:$LINENO: checking
if snprintf declaration is broken
" >&5
37806 echo $ECHO_N "checking
if snprintf declaration is broken...
$ECHO_C" >&6; }
37807 if test "${wx_cv_func_broken_snprintf_decl+set}" = set; then
37808 echo $ECHO_N "(cached
) $ECHO_C" >&6
37811 cat >conftest.$ac_ext <<_ACEOF
37814 cat confdefs.h >>conftest.$ac_ext
37815 cat >>conftest.$ac_ext <<_ACEOF
37816 /* end confdefs.h. */
37819 #include <stdarg.h>
37821 #if __MSL__ >= 0x6000
37823 using namespace std;
37832 const char *fmt = "%s
";
37833 snprintf(buf, 10u, fmt, "wx
");
37839 rm -f conftest.$ac_objext
37840 if { (ac_try="$ac_compile"
37841 case "(($ac_try" in
37842 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37843 *) ac_try_echo=$ac_try;;
37845 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
37846 (eval "$ac_compile") 2>conftest.er1
37848 grep -v '^ *+' conftest.er1 >conftest.err
37850 cat conftest.err >&5
37851 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
37852 (exit $ac_status); } && {
37853 test -z "$ac_c_werror_flag" ||
37854 test ! -s conftest.err
37855 } && test -s conftest.$ac_objext; then
37856 wx_cv_func_broken_snprintf_decl=no
37858 echo "$as_me: failed program was
:" >&5
37859 sed 's/^/| /' conftest.$ac_ext >&5
37861 wx_cv_func_broken_snprintf_decl=yes
37865 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37869 { echo "$as_me:$LINENO: result
: $wx_cv_func_broken_snprintf_decl" >&5
37870 echo "${ECHO_T}$wx_cv_func_broken_snprintf_decl" >&6; }
37872 if test "$wx_cv_func_broken_snprintf_decl" = "yes"; then
37873 cat >>confdefs.h <<\_ACEOF
37874 #define HAVE_BROKEN_SNPRINTF_DECL 1
37880 if test "$wxUSE_PRINTF_POS_PARAMS" = "yes"; then
37882 { echo "$as_me:$LINENO: checking
if snprintf supports positional arguments
" >&5
37883 echo $ECHO_N "checking
if snprintf supports positional arguments...
$ECHO_C" >&6; }
37884 if test "${wx_cv_func_snprintf_pos_params+set}" = set; then
37885 echo $ECHO_N "(cached
) $ECHO_C" >&6
37888 if test "$cross_compiling" = yes; then
37890 { echo "$as_me:$LINENO: WARNING
: Assuming Unix98
printf() is not available
,
37891 define HAVE_UNIX98_PRINTF as
1 in setup.h
if it is available.
" >&5
37892 echo "$as_me: WARNING
: Assuming Unix98
printf() is not available
,
37893 define HAVE_UNIX98_PRINTF as
1 in setup.h
if it is available.
" >&2;}
37894 wx_cv_func_snprintf_pos_params=no
37898 cat >conftest.$ac_ext <<_ACEOF
37901 cat confdefs.h >>conftest.$ac_ext
37902 cat >>conftest.$ac_ext <<_ACEOF
37903 /* end confdefs.h. */
37910 snprintf (buffer, 128, "%2$d %3$d %1$d", 1, 2, 3);
37911 if (strcmp ("2 3 1", buffer) == 0)
37917 rm -f conftest$ac_exeext
37918 if { (ac_try="$ac_link"
37919 case "(($ac_try" in
37920 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37921 *) ac_try_echo=$ac_try;;
37923 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
37924 (eval "$ac_link") 2>&5
37926 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
37927 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
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_try") 2>&5
37935 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
37936 (exit $ac_status); }; }; then
37937 wx_cv_func_snprintf_pos_params=no
37939 echo "$as_me: program exited with status
$ac_status" >&5
37940 echo "$as_me: failed program was
:" >&5
37941 sed 's/^/| /' conftest.$ac_ext >&5
37943 ( exit $ac_status )
37944 wx_cv_func_snprintf_pos_params=yes
37946 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
37953 { echo "$as_me:$LINENO: result
: $wx_cv_func_snprintf_pos_params" >&5
37954 echo "${ECHO_T}$wx_cv_func_snprintf_pos_params" >&6; }
37956 if test "$wx_cv_func_snprintf_pos_params" = "yes"; then
37957 cat >>confdefs.h <<\_ACEOF
37958 #define HAVE_UNIX98_PRINTF 1
37965 if test "$wxUSE_UNICODE" = yes; then
37968 for ac_func in swprintf
37970 as_ac_var=`echo "ac_cv_func_
$ac_func" | $as_tr_sh`
37971 { echo "$as_me:$LINENO: checking
for $ac_func" >&5
37972 echo $ECHO_N "checking
for $ac_func...
$ECHO_C" >&6; }
37973 if { as_var=$as_ac_var; eval "test \"\
${$as_var+set}\" = set"; }; then
37974 echo $ECHO_N "(cached
) $ECHO_C" >&6
37976 cat >conftest.$ac_ext <<_ACEOF
37979 cat confdefs.h >>conftest.$ac_ext
37980 cat >>conftest.$ac_ext <<_ACEOF
37981 /* end confdefs.h. */
37982 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37983 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37984 #define $ac_func innocuous_$ac_func
37986 /* System header to define __stub macros and hopefully few prototypes,
37987 which can conflict with char $ac_func (); below.
37988 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37989 <limits.h> exists even on freestanding compilers. */
37992 # include <limits.h>
37994 # include <assert.h>
37999 /* Override any GCC internal prototype to avoid an error.
38000 Use char because int might match the return type of a GCC
38001 builtin and then its argument prototype would still apply. */
38006 /* The GNU C library defines this for functions which it implements
38007 to always fail with ENOSYS. Some functions are actually named
38008 something starting with __ and the normal name is an alias. */
38009 #if defined __stub_$ac_func || defined __stub___$ac_func
38016 return $ac_func ();
38021 rm -f conftest.$ac_objext conftest$ac_exeext
38022 if { (ac_try="$ac_link"
38023 case "(($ac_try" in
38024 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38025 *) ac_try_echo=$ac_try;;
38027 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
38028 (eval "$ac_link") 2>conftest.er1
38030 grep -v '^ *+' conftest.er1 >conftest.err
38032 cat conftest.err >&5
38033 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
38034 (exit $ac_status); } && {
38035 test -z "$ac_c_werror_flag" ||
38036 test ! -s conftest.err
38037 } && test -s conftest$ac_exeext &&
38038 $as_test_x conftest$ac_exeext; then
38039 eval "$as_ac_var=yes"
38041 echo "$as_me: failed program was
:" >&5
38042 sed 's/^/| /' conftest.$ac_ext >&5
38044 eval "$as_ac_var=no
"
38047 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38048 conftest$ac_exeext conftest.$ac_ext
38050 ac_res=`eval echo '${'$as_ac_var'}'`
38051 { echo "$as_me:$LINENO: result
: $ac_res" >&5
38052 echo "${ECHO_T}$ac_res" >&6; }
38053 if test `eval echo '${'$as_ac_var'}'` = yes; then
38054 cat >>confdefs.h <<_ACEOF
38055 #define `echo "HAVE_
$ac_func" | $as_tr_cpp` 1
38062 if test "$ac_cv_func_swprintf" = "yes"; then
38063 { echo "$as_me:$LINENO: checking
if swprintf declaration is broken
" >&5
38064 echo $ECHO_N "checking
if swprintf declaration is broken...
$ECHO_C" >&6; }
38065 if test "${wx_cv_func_broken_swprintf_decl+set}" = set; then
38066 echo $ECHO_N "(cached
) $ECHO_C" >&6
38069 cat >conftest.$ac_ext <<_ACEOF
38072 cat confdefs.h >>conftest.$ac_ext
38073 cat >>conftest.$ac_ext <<_ACEOF
38074 /* end confdefs.h. */
38077 #include <stdarg.h>
38085 const wchar_t *fmt = L"test";
38086 swprintf(buf, 10u, fmt);
38092 rm -f conftest.$ac_objext
38093 if { (ac_try="$ac_compile"
38094 case "(($ac_try" in
38095 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38096 *) ac_try_echo=$ac_try;;
38098 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
38099 (eval "$ac_compile") 2>conftest.er1
38101 grep -v '^ *+' conftest.er1 >conftest.err
38103 cat conftest.err >&5
38104 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
38105 (exit $ac_status); } && {
38106 test -z "$ac_c_werror_flag" ||
38107 test ! -s conftest.err
38108 } && test -s conftest.$ac_objext; then
38109 wx_cv_func_broken_swprintf_decl=no
38111 echo "$as_me: failed program was
:" >&5
38112 sed 's/^/| /' conftest.$ac_ext >&5
38114 wx_cv_func_broken_swprintf_decl=yes
38118 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38122 { echo "$as_me:$LINENO: result
: $wx_cv_func_broken_swprintf_decl" >&5
38123 echo "${ECHO_T}$wx_cv_func_broken_swprintf_decl" >&6; }
38125 if test "$wx_cv_func_broken_swprintf_decl" = "yes"; then
38126 cat >>confdefs.h <<\_ACEOF
38127 #define HAVE_BROKEN_SWPRINTF_DECL 1
38133 wchar_headers="#include <stdio.h>
38134 #include <wchar.h>"
38137 { echo "$as_me:$LINENO: checking for widec.h" >&5
38138 echo $ECHO_N "checking for widec.h... $ECHO_C" >&6; }
38139 if test "${ac_cv_header_widec_h+set}" = set; then
38140 echo $ECHO_N "(cached) $ECHO_C" >&6
38142 cat >conftest.
$ac_ext <<_ACEOF
38145 cat confdefs.h
>>conftest.
$ac_ext
38146 cat >>conftest.
$ac_ext <<_ACEOF
38147 /* end confdefs.h. */
38148 $ac_includes_default
38152 rm -f conftest.
$ac_objext
38153 if { (ac_try
="$ac_compile"
38154 case "(($ac_try" in
38155 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
38156 *) ac_try_echo=$ac_try;;
38158 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38159 (eval "$ac_compile") 2>conftest.er1
38161 grep -v '^ *+' conftest.er1 >conftest.err
38163 cat conftest.err >&5
38164 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38165 (exit $ac_status); } && {
38166 test -z "$ac_c_werror_flag" ||
38167 test ! -s conftest.err
38168 } && test -s conftest.$ac_objext; then
38169 ac_cv_header_widec_h=yes
38171 echo "$as_me: failed program was:" >&5
38172 sed 's/^/| /' conftest.$ac_ext >&5
38174 ac_cv_header_widec_h=no
38177 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38179 { echo "$as_me:$LINENO: result: $ac_cv_header_widec_h" >&5
38180 echo "${ECHO_T}$ac_cv_header_widec_h" >&6; }
38183 if test "$ac_cv_header_widec_h" = "yes"; then
38184 wchar_headers="$wchar_headers
38185 #include <widec.h>"
38190 for wx_func in wputc wputchar putws fputws wprintf vswprintf
38192 { echo "$as_me:$LINENO: checking for $wx_func" >&5
38193 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
38194 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
38195 echo $ECHO_N "(cached) $ECHO_C" >&6
38198 cat >conftest.$ac_ext <<_ACEOF
38202 cat confdefs.h >>conftest.$ac_ext
38203 cat >>conftest.$ac_ext <<_ACEOF
38204 /* end confdefs.h. */
38207 $ac_includes_default
38223 rm -f conftest.$ac_objext conftest$ac_exeext
38224 if { (ac_try="$ac_link"
38225 case "(($ac_try" in
38226 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
38227 *) ac_try_echo
=$ac_try;;
38229 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38230 (eval "$ac_link") 2>conftest.er1
38232 grep -v '^ *+' conftest.er1
>conftest.err
38234 cat conftest.err
>&5
38235 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38236 (exit $ac_status); } && {
38237 test -z "$ac_c_werror_flag" ||
38238 test ! -s conftest.err
38239 } && test -s conftest
$ac_exeext &&
38240 $as_test_x conftest
$ac_exeext; then
38241 eval wx_cv_func_
$wx_func=yes
38243 echo "$as_me: failed program was:" >&5
38244 sed 's/^/| /' conftest.
$ac_ext >&5
38246 eval wx_cv_func_
$wx_func=no
38249 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
38250 conftest
$ac_exeext conftest.
$ac_ext
38253 ac_res
=`eval echo '${'wx_cv_func_$wx_func'}'`
38254 { echo "$as_me:$LINENO: result: $ac_res" >&5
38255 echo "${ECHO_T}$ac_res" >&6; }
38257 if eval test \
$wx_cv_func_$wx_func = yes
38259 cat >>confdefs.h
<<_ACEOF
38260 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
38271 { echo "$as_me:$LINENO: checking for _vsnwprintf" >&5
38272 echo $ECHO_N "checking for _vsnwprintf... $ECHO_C" >&6; }
38273 cat >conftest.
$ac_ext <<_ACEOF
38276 cat confdefs.h
>>conftest.
$ac_ext
38277 cat >>conftest.
$ac_ext <<_ACEOF
38278 /* end confdefs.h. */
38288 rm -f conftest.
$ac_objext
38289 if { (ac_try
="$ac_compile"
38290 case "(($ac_try" in
38291 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
38292 *) ac_try_echo=$ac_try;;
38294 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38295 (eval "$ac_compile") 2>conftest.er1
38297 grep -v '^ *+' conftest.er1 >conftest.err
38299 cat conftest.err >&5
38300 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38301 (exit $ac_status); } && {
38302 test -z "$ac_c_werror_flag" ||
38303 test ! -s conftest.err
38304 } && test -s conftest.$ac_objext; then
38305 { echo "$as_me:$LINENO: result: yes" >&5
38306 echo "${ECHO_T}yes" >&6; }
38307 cat >>confdefs.h <<\_ACEOF
38308 #define HAVE__VSNWPRINTF 1
38312 echo "$as_me: failed program was:" >&5
38313 sed 's/^/| /' conftest.$ac_ext >&5
38315 { echo "$as_me:$LINENO: result: no" >&5
38316 echo "${ECHO_T}no" >&6; }
38319 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext;
38322 if test "x$ac_cv_header_fnmatch_h" = "xyes"; then
38324 for wx_func in fnmatch
38326 { echo "$as_me:$LINENO: checking for $wx_func" >&5
38327 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
38328 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
38329 echo $ECHO_N "(cached) $ECHO_C" >&6
38332 cat >conftest.$ac_ext <<_ACEOF
38336 cat confdefs.h >>conftest.$ac_ext
38337 cat >>conftest.$ac_ext <<_ACEOF
38338 /* end confdefs.h. */
38340 #include <fnmatch.h>
38341 $ac_includes_default
38357 rm -f conftest.$ac_objext conftest$ac_exeext
38358 if { (ac_try="$ac_link"
38359 case "(($ac_try" in
38360 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
38361 *) ac_try_echo
=$ac_try;;
38363 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38364 (eval "$ac_link") 2>conftest.er1
38366 grep -v '^ *+' conftest.er1
>conftest.err
38368 cat conftest.err
>&5
38369 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38370 (exit $ac_status); } && {
38371 test -z "$ac_c_werror_flag" ||
38372 test ! -s conftest.err
38373 } && test -s conftest
$ac_exeext &&
38374 $as_test_x conftest
$ac_exeext; then
38375 eval wx_cv_func_
$wx_func=yes
38377 echo "$as_me: failed program was:" >&5
38378 sed 's/^/| /' conftest.
$ac_ext >&5
38380 eval wx_cv_func_
$wx_func=no
38383 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
38384 conftest
$ac_exeext conftest.
$ac_ext
38387 ac_res
=`eval echo '${'wx_cv_func_$wx_func'}'`
38388 { echo "$as_me:$LINENO: result: $ac_res" >&5
38389 echo "${ECHO_T}$ac_res" >&6; }
38391 if eval test \
$wx_cv_func_$wx_func = yes
38393 cat >>confdefs.h
<<_ACEOF
38394 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
38406 if test "$wxUSE_FILE" = "yes"; then
38408 for wx_func
in fsync
38410 { echo "$as_me:$LINENO: checking for $wx_func" >&5
38411 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
38412 if { as_var
=wx_cv_func_
$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
38413 echo $ECHO_N "(cached) $ECHO_C" >&6
38416 cat >conftest.
$ac_ext <<_ACEOF
38420 cat confdefs.h
>>conftest.
$ac_ext
38421 cat >>conftest.
$ac_ext <<_ACEOF
38422 /* end confdefs.h. */
38425 $ac_includes_default
38441 rm -f conftest.
$ac_objext conftest
$ac_exeext
38442 if { (ac_try
="$ac_link"
38443 case "(($ac_try" in
38444 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
38445 *) ac_try_echo=$ac_try;;
38447 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38448 (eval "$ac_link") 2>conftest.er1
38450 grep -v '^ *+' conftest.er1 >conftest.err
38452 cat conftest.err >&5
38453 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38454 (exit $ac_status); } && {
38455 test -z "$ac_c_werror_flag" ||
38456 test ! -s conftest.err
38457 } && test -s conftest$ac_exeext &&
38458 $as_test_x conftest$ac_exeext; then
38459 eval wx_cv_func_$wx_func=yes
38461 echo "$as_me: failed program was:" >&5
38462 sed 's/^/| /' conftest.$ac_ext >&5
38464 eval wx_cv_func_$wx_func=no
38467 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38468 conftest$ac_exeext conftest.$ac_ext
38471 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
38472 { echo "$as_me:$LINENO: result: $ac_res" >&5
38473 echo "${ECHO_T}$ac_res" >&6; }
38475 if eval test \$wx_cv_func_$wx_func = yes
38477 cat >>confdefs.h <<_ACEOF
38478 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
38491 ac_cpp='$CXXCPP $CPPFLAGS'
38492 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38493 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38494 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38497 for wx_func in round
38499 { echo "$as_me:$LINENO: checking for $wx_func" >&5
38500 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
38501 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
38502 echo $ECHO_N "(cached) $ECHO_C" >&6
38505 cat >conftest.$ac_ext <<_ACEOF
38509 cat confdefs.h >>conftest.$ac_ext
38510 cat >>conftest.$ac_ext <<_ACEOF
38511 /* end confdefs.h. */
38514 $ac_includes_default
38530 rm -f conftest.$ac_objext conftest$ac_exeext
38531 if { (ac_try="$ac_link"
38532 case "(($ac_try" in
38533 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
38534 *) ac_try_echo
=$ac_try;;
38536 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38537 (eval "$ac_link") 2>conftest.er1
38539 grep -v '^ *+' conftest.er1
>conftest.err
38541 cat conftest.err
>&5
38542 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38543 (exit $ac_status); } && {
38544 test -z "$ac_cxx_werror_flag" ||
38545 test ! -s conftest.err
38546 } && test -s conftest
$ac_exeext &&
38547 $as_test_x conftest
$ac_exeext; then
38548 eval wx_cv_func_
$wx_func=yes
38550 echo "$as_me: failed program was:" >&5
38551 sed 's/^/| /' conftest.
$ac_ext >&5
38553 eval wx_cv_func_
$wx_func=no
38556 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
38557 conftest
$ac_exeext conftest.
$ac_ext
38560 ac_res
=`eval echo '${'wx_cv_func_$wx_func'}'`
38561 { echo "$as_me:$LINENO: result: $ac_res" >&5
38562 echo "${ECHO_T}$ac_res" >&6; }
38564 if eval test \
$wx_cv_func_$wx_func = yes
38566 cat >>confdefs.h
<<_ACEOF
38567 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
38578 ac_cpp
='$CPP $CPPFLAGS'
38579 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38580 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38581 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
38584 if test "$TOOLKIT" != "MSW"; then
38590 # Check whether --with-libiconv-prefix was given.
38591 if test "${with_libiconv_prefix+set}" = set; then
38592 withval
=$with_libiconv_prefix;
38593 for dir
in `echo "$withval" | tr : ' '`; do
38594 if test -d $dir/include
; then CPPFLAGS
="$CPPFLAGS -I$dir/include"; fi
38595 if test -d $dir/lib
; then LDFLAGS
="$LDFLAGS -L$dir/lib"; fi
38601 { echo "$as_me:$LINENO: checking for iconv" >&5
38602 echo $ECHO_N "checking for iconv... $ECHO_C" >&6; }
38603 if test "${am_cv_func_iconv+set}" = set; then
38604 echo $ECHO_N "(cached) $ECHO_C" >&6
38607 am_cv_func_iconv
="no, consider installing GNU libiconv"
38609 cat >conftest.
$ac_ext <<_ACEOF
38612 cat confdefs.h
>>conftest.
$ac_ext
38613 cat >>conftest.
$ac_ext <<_ACEOF
38614 /* end confdefs.h. */
38615 #include <stdlib.h>
38620 iconv_t cd = iconv_open("","");
38621 iconv(cd,NULL,NULL,NULL,NULL);
38627 rm -f conftest.
$ac_objext conftest
$ac_exeext
38628 if { (ac_try
="$ac_link"
38629 case "(($ac_try" in
38630 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
38631 *) ac_try_echo=$ac_try;;
38633 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38634 (eval "$ac_link") 2>conftest.er1
38636 grep -v '^ *+' conftest.er1 >conftest.err
38638 cat conftest.err >&5
38639 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38640 (exit $ac_status); } && {
38641 test -z "$ac_c_werror_flag" ||
38642 test ! -s conftest.err
38643 } && test -s conftest$ac_exeext &&
38644 $as_test_x conftest$ac_exeext; then
38645 am_cv_func_iconv=yes
38647 echo "$as_me: failed program was:" >&5
38648 sed 's/^/| /' conftest.$ac_ext >&5
38653 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38654 conftest$ac_exeext conftest.$ac_ext
38655 if test "$am_cv_func_iconv" != yes; then
38656 am_save_LIBS="$LIBS"
38657 LIBS="$LIBS -liconv"
38658 cat >conftest.$ac_ext <<_ACEOF
38661 cat confdefs.h >>conftest.$ac_ext
38662 cat >>conftest.$ac_ext <<_ACEOF
38663 /* end confdefs.h. */
38664 #include <stdlib.h>
38669 iconv_t cd = iconv_open("","");
38670 iconv(cd,NULL,NULL,NULL,NULL);
38676 rm -f conftest.$ac_objext conftest$ac_exeext
38677 if { (ac_try="$ac_link"
38678 case "(($ac_try" in
38679 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
38680 *) ac_try_echo
=$ac_try;;
38682 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38683 (eval "$ac_link") 2>conftest.er1
38685 grep -v '^ *+' conftest.er1
>conftest.err
38687 cat conftest.err
>&5
38688 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38689 (exit $ac_status); } && {
38690 test -z "$ac_c_werror_flag" ||
38691 test ! -s conftest.err
38692 } && test -s conftest
$ac_exeext &&
38693 $as_test_x conftest
$ac_exeext; then
38694 am_cv_lib_iconv
=yes
38695 am_cv_func_iconv
=yes
38697 echo "$as_me: failed program was:" >&5
38698 sed 's/^/| /' conftest.
$ac_ext >&5
38703 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
38704 conftest
$ac_exeext conftest.
$ac_ext
38705 LIBS
="$am_save_LIBS"
38709 { echo "$as_me:$LINENO: result: $am_cv_func_iconv" >&5
38710 echo "${ECHO_T}$am_cv_func_iconv" >&6; }
38711 if test "$am_cv_func_iconv" = yes; then
38713 cat >>confdefs.h
<<\_ACEOF
38714 #define HAVE_ICONV 1
38717 { echo "$as_me:$LINENO: checking if iconv needs const" >&5
38718 echo $ECHO_N "checking if iconv needs const... $ECHO_C" >&6; }
38719 if test "${wx_cv_func_iconv_const+set}" = set; then
38720 echo $ECHO_N "(cached) $ECHO_C" >&6
38722 cat >conftest.
$ac_ext <<_ACEOF
38725 cat confdefs.h
>>conftest.
$ac_ext
38726 cat >>conftest.
$ac_ext <<_ACEOF
38727 /* end confdefs.h. */
38729 #include <stdlib.h>
38735 #if defined(__STDC__) || defined(__cplusplus)
38736 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
38749 rm -f conftest.
$ac_objext
38750 if { (ac_try
="$ac_compile"
38751 case "(($ac_try" in
38752 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
38753 *) ac_try_echo=$ac_try;;
38755 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38756 (eval "$ac_compile") 2>conftest.er1
38758 grep -v '^ *+' conftest.er1 >conftest.err
38760 cat conftest.err >&5
38761 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38762 (exit $ac_status); } && {
38763 test -z "$ac_c_werror_flag" ||
38764 test ! -s conftest.err
38765 } && test -s conftest.$ac_objext; then
38766 wx_cv_func_iconv_const="no"
38768 echo "$as_me: failed program was:" >&5
38769 sed 's/^/| /' conftest.$ac_ext >&5
38771 wx_cv_func_iconv_const="yes"
38775 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38778 { echo "$as_me:$LINENO: result: $wx_cv_func_iconv_const" >&5
38779 echo "${ECHO_T}$wx_cv_func_iconv_const" >&6; }
38782 if test "x$wx_cv_func_iconv_const" = "xyes"; then
38783 iconv_const="const"
38787 cat >>confdefs.h <<_ACEOF
38788 #define ICONV_CONST $iconv_const
38793 if test "$am_cv_lib_iconv" = yes; then
38798 LIBS="$LIBICONV $LIBS"
38800 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes" -a "$wxUSE_UNIX" = "yes"; then
38802 for ac_func in sigaction
38804 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38805 { echo "$as_me:$LINENO: checking for $ac_func" >&5
38806 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
38807 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
38808 echo $ECHO_N "(cached) $ECHO_C" >&6
38810 cat >conftest.$ac_ext <<_ACEOF
38813 cat confdefs.h >>conftest.$ac_ext
38814 cat >>conftest.$ac_ext <<_ACEOF
38815 /* end confdefs.h. */
38816 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38817 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38818 #define $ac_func innocuous_$ac_func
38820 /* System header to define __stub macros and hopefully few prototypes,
38821 which can conflict with char $ac_func (); below.
38822 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38823 <limits.h> exists even on freestanding compilers. */
38826 # include <limits.h>
38828 # include <assert.h>
38833 /* Override any GCC internal prototype to avoid an error.
38834 Use char because int might match the return type of a GCC
38835 builtin and then its argument prototype would still apply. */
38840 /* The GNU C library defines this for functions which it implements
38841 to always fail with ENOSYS. Some functions are actually named
38842 something starting with __ and the normal name is an alias. */
38843 #if defined __stub_$ac_func || defined __stub___$ac_func
38850 return $ac_func ();
38855 rm -f conftest.$ac_objext conftest$ac_exeext
38856 if { (ac_try="$ac_link"
38857 case "(($ac_try" in
38858 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
38859 *) ac_try_echo
=$ac_try;;
38861 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38862 (eval "$ac_link") 2>conftest.er1
38864 grep -v '^ *+' conftest.er1
>conftest.err
38866 cat conftest.err
>&5
38867 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38868 (exit $ac_status); } && {
38869 test -z "$ac_c_werror_flag" ||
38870 test ! -s conftest.err
38871 } && test -s conftest
$ac_exeext &&
38872 $as_test_x conftest
$ac_exeext; then
38873 eval "$as_ac_var=yes"
38875 echo "$as_me: failed program was:" >&5
38876 sed 's/^/| /' conftest.
$ac_ext >&5
38878 eval "$as_ac_var=no"
38881 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
38882 conftest
$ac_exeext conftest.
$ac_ext
38884 ac_res
=`eval echo '${'$as_ac_var'}'`
38885 { echo "$as_me:$LINENO: result: $ac_res" >&5
38886 echo "${ECHO_T}$ac_res" >&6; }
38887 if test `eval echo '${'$as_ac_var'}'` = yes; then
38888 cat >>confdefs.h
<<_ACEOF
38889 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38896 if test "$ac_cv_func_sigaction" = "no"; then
38897 { echo "$as_me:$LINENO: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&5
38898 echo "$as_me: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&2;}
38899 wxUSE_ON_FATAL_EXCEPTION
=no
38902 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
38903 { echo "$as_me:$LINENO: checking for sa_handler type" >&5
38904 echo $ECHO_N "checking for sa_handler type... $ECHO_C" >&6; }
38905 if test "${wx_cv_type_sa_handler+set}" = set; then
38906 echo $ECHO_N "(cached) $ECHO_C" >&6
38910 ac_cpp
='$CXXCPP $CPPFLAGS'
38911 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38912 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38913 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
38915 cat >conftest.
$ac_ext <<_ACEOF
38918 cat confdefs.h
>>conftest.
$ac_ext
38919 cat >>conftest.
$ac_ext <<_ACEOF
38920 /* end confdefs.h. */
38921 #include <signal.h>
38926 extern void testSigHandler(int);
38928 struct sigaction sa;
38929 sa.sa_handler = testSigHandler;
38935 rm -f conftest.
$ac_objext
38936 if { (ac_try
="$ac_compile"
38937 case "(($ac_try" in
38938 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
38939 *) ac_try_echo=$ac_try;;
38941 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38942 (eval "$ac_compile") 2>conftest.er1
38944 grep -v '^ *+' conftest.er1 >conftest.err
38946 cat conftest.err >&5
38947 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38948 (exit $ac_status); } && {
38949 test -z "$ac_cxx_werror_flag" ||
38950 test ! -s conftest.err
38951 } && test -s conftest.$ac_objext; then
38953 wx_cv_type_sa_handler=int
38956 echo "$as_me: failed program was:" >&5
38957 sed 's/^/| /' conftest.$ac_ext >&5
38960 wx_cv_type_sa_handler=void
38964 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38966 ac_cpp='$CPP $CPPFLAGS'
38967 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38968 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38969 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38973 { echo "$as_me:$LINENO: result: $wx_cv_type_sa_handler" >&5
38974 echo "${ECHO_T}$wx_cv_type_sa_handler" >&6; }
38976 cat >>confdefs.h <<_ACEOF
38977 #define wxTYPE_SA_HANDLER $wx_cv_type_sa_handler
38983 if test "$wxUSE_STACKWALKER" = "yes" -a "$wxUSE_UNIX" = "yes"; then
38984 { echo "$as_me:$LINENO: checking for backtrace() in <execinfo.h>" >&5
38985 echo $ECHO_N "checking for backtrace() in <execinfo.h>... $ECHO_C" >&6; }
38986 if test "${wx_cv_func_backtrace+set}" = set; then
38987 echo $ECHO_N "(cached) $ECHO_C" >&6
38991 ac_cpp='$CXXCPP $CPPFLAGS'
38992 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38993 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38994 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38996 cat >conftest.$ac_ext <<_ACEOF
38999 cat confdefs.h >>conftest.$ac_ext
39000 cat >>conftest.$ac_ext <<_ACEOF
39001 /* end confdefs.h. */
39002 #include <execinfo.h>
39010 backtrace(trace, 1);
39011 messages = backtrace_symbols(trace, 1);
39017 rm -f conftest.$ac_objext
39018 if { (ac_try="$ac_compile"
39019 case "(($ac_try" in
39020 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
39021 *) ac_try_echo
=$ac_try;;
39023 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39024 (eval "$ac_compile") 2>conftest.er1
39026 grep -v '^ *+' conftest.er1
>conftest.err
39028 cat conftest.err
>&5
39029 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39030 (exit $ac_status); } && {
39031 test -z "$ac_cxx_werror_flag" ||
39032 test ! -s conftest.err
39033 } && test -s conftest.
$ac_objext; then
39034 wx_cv_func_backtrace
=yes
39036 echo "$as_me: failed program was:" >&5
39037 sed 's/^/| /' conftest.
$ac_ext >&5
39039 wx_cv_func_backtrace
=no
39043 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
39045 ac_cpp
='$CPP $CPPFLAGS'
39046 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39047 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39048 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
39053 { echo "$as_me:$LINENO: result: $wx_cv_func_backtrace" >&5
39054 echo "${ECHO_T}$wx_cv_func_backtrace" >&6; }
39057 if test "$wx_cv_func_backtrace" = "no"; then
39058 { echo "$as_me:$LINENO: WARNING: backtrace() is not available, wxStackWalker will not be available" >&5
39059 echo "$as_me: WARNING: backtrace() is not available, wxStackWalker will not be available" >&2;}
39060 wxUSE_STACKWALKER
=no
39062 { echo "$as_me:$LINENO: checking for __cxa_demangle() in <cxxabi.h>" >&5
39063 echo $ECHO_N "checking for __cxa_demangle() in <cxxabi.h>... $ECHO_C" >&6; }
39064 if test "${wx_cv_func_cxa_demangle+set}" = set; then
39065 echo $ECHO_N "(cached) $ECHO_C" >&6
39069 ac_cpp
='$CXXCPP $CPPFLAGS'
39070 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39071 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39072 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
39074 cat >conftest.
$ac_ext <<_ACEOF
39077 cat confdefs.h
>>conftest.
$ac_ext
39078 cat >>conftest.
$ac_ext <<_ACEOF
39079 /* end confdefs.h. */
39080 #include <cxxabi.h>
39086 __cxxabiv1::__cxa_demangle("foo", 0, 0, &rc);
39092 rm -f conftest.
$ac_objext conftest
$ac_exeext
39093 if { (ac_try
="$ac_link"
39094 case "(($ac_try" in
39095 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
39096 *) ac_try_echo=$ac_try;;
39098 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39099 (eval "$ac_link") 2>conftest.er1
39101 grep -v '^ *+' conftest.er1 >conftest.err
39103 cat conftest.err >&5
39104 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39105 (exit $ac_status); } && {
39106 test -z "$ac_cxx_werror_flag" ||
39107 test ! -s conftest.err
39108 } && test -s conftest$ac_exeext &&
39109 $as_test_x conftest$ac_exeext; then
39110 wx_cv_func_cxa_demangle=yes
39112 echo "$as_me: failed program was:" >&5
39113 sed 's/^/| /' conftest.$ac_ext >&5
39115 wx_cv_func_cxa_demangle=no
39119 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39120 conftest$ac_exeext conftest.$ac_ext
39122 ac_cpp='$CPP $CPPFLAGS'
39123 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39124 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39125 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39130 { echo "$as_me:$LINENO: result: $wx_cv_func_cxa_demangle" >&5
39131 echo "${ECHO_T}$wx_cv_func_cxa_demangle" >&6; }
39133 if test "$wx_cv_func_cxa_demangle" = "yes"; then
39134 cat >>confdefs.h <<\_ACEOF
39135 #define HAVE_CXA_DEMANGLE 1
39142 if test "$wxUSE_STACKWALKER" = "yes" -a "$USE_WIN32" != "1" -a "$USE_UNIX" != "1"; then
39143 { echo "$as_me:$LINENO: WARNING: wxStackWalker is only available on Win32 and UNIX... disabled" >&5
39144 echo "$as_me: WARNING: wxStackWalker is only available on Win32 and UNIX... disabled" >&2;}
39145 wxUSE_STACKWALKER=no
39151 for ac_func in mkstemp mktemp
39153 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39154 { echo "$as_me:$LINENO: checking for $ac_func" >&5
39155 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
39156 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
39157 echo $ECHO_N "(cached) $ECHO_C" >&6
39159 cat >conftest.$ac_ext <<_ACEOF
39162 cat confdefs.h >>conftest.$ac_ext
39163 cat >>conftest.$ac_ext <<_ACEOF
39164 /* end confdefs.h. */
39165 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39166 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39167 #define $ac_func innocuous_$ac_func
39169 /* System header to define __stub macros and hopefully few prototypes,
39170 which can conflict with char $ac_func (); below.
39171 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39172 <limits.h> exists even on freestanding compilers. */
39175 # include <limits.h>
39177 # include <assert.h>
39182 /* Override any GCC internal prototype to avoid an error.
39183 Use char because int might match the return type of a GCC
39184 builtin and then its argument prototype would still apply. */
39189 /* The GNU C library defines this for functions which it implements
39190 to always fail with ENOSYS. Some functions are actually named
39191 something starting with __ and the normal name is an alias. */
39192 #if defined __stub_$ac_func || defined __stub___$ac_func
39199 return $ac_func ();
39204 rm -f conftest.$ac_objext conftest$ac_exeext
39205 if { (ac_try="$ac_link"
39206 case "(($ac_try" in
39207 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
39208 *) ac_try_echo
=$ac_try;;
39210 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39211 (eval "$ac_link") 2>conftest.er1
39213 grep -v '^ *+' conftest.er1
>conftest.err
39215 cat conftest.err
>&5
39216 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39217 (exit $ac_status); } && {
39218 test -z "$ac_c_werror_flag" ||
39219 test ! -s conftest.err
39220 } && test -s conftest
$ac_exeext &&
39221 $as_test_x conftest
$ac_exeext; then
39222 eval "$as_ac_var=yes"
39224 echo "$as_me: failed program was:" >&5
39225 sed 's/^/| /' conftest.
$ac_ext >&5
39227 eval "$as_ac_var=no"
39230 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
39231 conftest
$ac_exeext conftest.
$ac_ext
39233 ac_res
=`eval echo '${'$as_ac_var'}'`
39234 { echo "$as_me:$LINENO: result: $ac_res" >&5
39235 echo "${ECHO_T}$ac_res" >&6; }
39236 if test `eval echo '${'$as_ac_var'}'` = yes; then
39237 cat >>confdefs.h
<<_ACEOF
39238 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39245 { echo "$as_me:$LINENO: checking for statfs" >&5
39246 echo $ECHO_N "checking for statfs... $ECHO_C" >&6; }
39247 if test "${wx_cv_func_statfs+set}" = set; then
39248 echo $ECHO_N "(cached) $ECHO_C" >&6
39250 cat >conftest.
$ac_ext <<_ACEOF
39253 cat confdefs.h
>>conftest.
$ac_ext
39254 cat >>conftest.
$ac_ext <<_ACEOF
39255 /* end confdefs.h. */
39257 #if defined(__BSD__)
39258 #include <sys/param.h>
39259 #include <sys/mount.h>
39261 #include <sys/vfs.h>
39279 rm -f conftest.
$ac_objext
39280 if { (ac_try
="$ac_compile"
39281 case "(($ac_try" in
39282 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
39283 *) ac_try_echo=$ac_try;;
39285 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39286 (eval "$ac_compile") 2>conftest.er1
39288 grep -v '^ *+' conftest.er1 >conftest.err
39290 cat conftest.err >&5
39291 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39292 (exit $ac_status); } && {
39293 test -z "$ac_c_werror_flag" ||
39294 test ! -s conftest.err
39295 } && test -s conftest.$ac_objext; then
39296 wx_cv_func_statfs=yes
39298 echo "$as_me: failed program was:" >&5
39299 sed 's/^/| /' conftest.$ac_ext >&5
39301 wx_cv_func_statfs=no
39305 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39308 { echo "$as_me:$LINENO: result: $wx_cv_func_statfs" >&5
39309 echo "${ECHO_T}$wx_cv_func_statfs" >&6; }
39311 if test "$wx_cv_func_statfs" = "yes"; then
39312 { echo "$as_me:$LINENO: checking for statfs declaration" >&5
39313 echo $ECHO_N "checking for statfs declaration... $ECHO_C" >&6; }
39314 if test "${wx_cv_func_statfs_decl+set}" = set; then
39315 echo $ECHO_N "(cached) $ECHO_C" >&6
39318 ac_cpp='$CXXCPP $CPPFLAGS'
39319 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39320 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39321 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39323 cat >conftest.$ac_ext <<_ACEOF
39326 cat confdefs.h >>conftest.$ac_ext
39327 cat >>conftest.$ac_ext <<_ACEOF
39328 /* end confdefs.h. */
39330 #if defined(__BSD__)
39331 #include <sys/param.h>
39332 #include <sys/mount.h>
39334 #include <sys/vfs.h>
39348 rm -f conftest.$ac_objext
39349 if { (ac_try="$ac_compile"
39350 case "(($ac_try" in
39351 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
39352 *) ac_try_echo
=$ac_try;;
39354 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39355 (eval "$ac_compile") 2>conftest.er1
39357 grep -v '^ *+' conftest.er1
>conftest.err
39359 cat conftest.err
>&5
39360 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39361 (exit $ac_status); } && {
39362 test -z "$ac_cxx_werror_flag" ||
39363 test ! -s conftest.err
39364 } && test -s conftest.
$ac_objext; then
39365 wx_cv_func_statfs_decl
=yes
39367 echo "$as_me: failed program was:" >&5
39368 sed 's/^/| /' conftest.
$ac_ext >&5
39370 wx_cv_func_statfs_decl
=no
39374 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
39376 ac_cpp
='$CPP $CPPFLAGS'
39377 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39378 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39379 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
39383 { echo "$as_me:$LINENO: result: $wx_cv_func_statfs_decl" >&5
39384 echo "${ECHO_T}$wx_cv_func_statfs_decl" >&6; }
39386 if test "$wx_cv_func_statfs_decl" = "yes"; then
39387 cat >>confdefs.h
<<\_ACEOF
39388 #define HAVE_STATFS_DECL 1
39393 wx_cv_type_statvfs_t
="struct statfs"
39394 cat >>confdefs.h
<<\_ACEOF
39395 #define HAVE_STATFS 1
39399 { echo "$as_me:$LINENO: checking for statvfs" >&5
39400 echo $ECHO_N "checking for statvfs... $ECHO_C" >&6; }
39401 if test "${wx_cv_func_statvfs+set}" = set; then
39402 echo $ECHO_N "(cached) $ECHO_C" >&6
39404 cat >conftest.
$ac_ext <<_ACEOF
39407 cat confdefs.h
>>conftest.
$ac_ext
39408 cat >>conftest.
$ac_ext <<_ACEOF
39409 /* end confdefs.h. */
39411 #include <stddef.h>
39412 #include <sys/statvfs.h>
39418 statvfs("/", NULL);
39424 rm -f conftest.
$ac_objext
39425 if { (ac_try
="$ac_compile"
39426 case "(($ac_try" in
39427 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
39428 *) ac_try_echo=$ac_try;;
39430 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39431 (eval "$ac_compile") 2>conftest.er1
39433 grep -v '^ *+' conftest.er1 >conftest.err
39435 cat conftest.err >&5
39436 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39437 (exit $ac_status); } && {
39438 test -z "$ac_c_werror_flag" ||
39439 test ! -s conftest.err
39440 } && test -s conftest.$ac_objext; then
39441 wx_cv_func_statvfs=yes
39443 echo "$as_me: failed program was:" >&5
39444 sed 's/^/| /' conftest.$ac_ext >&5
39446 wx_cv_func_statvfs=no
39450 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39453 { echo "$as_me:$LINENO: result: $wx_cv_func_statvfs" >&5
39454 echo "${ECHO_T}$wx_cv_func_statvfs" >&6; }
39456 if test "$wx_cv_func_statvfs" = "yes"; then
39457 { echo "$as_me:$LINENO: checking for statvfs argument type" >&5
39458 echo $ECHO_N "checking for statvfs argument type... $ECHO_C" >&6; }
39459 if test "${wx_cv_type_statvfs_t+set}" = set; then
39460 echo $ECHO_N "(cached) $ECHO_C" >&6
39463 ac_cpp='$CXXCPP $CPPFLAGS'
39464 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39465 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39466 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39468 cat >conftest.$ac_ext <<_ACEOF
39471 cat confdefs.h >>conftest.$ac_ext
39472 cat >>conftest.$ac_ext <<_ACEOF
39473 /* end confdefs.h. */
39475 #include <sys/statvfs.h>
39492 rm -f conftest.$ac_objext
39493 if { (ac_try="$ac_compile"
39494 case "(($ac_try" in
39495 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
39496 *) ac_try_echo
=$ac_try;;
39498 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39499 (eval "$ac_compile") 2>conftest.er1
39501 grep -v '^ *+' conftest.er1
>conftest.err
39503 cat conftest.err
>&5
39504 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39505 (exit $ac_status); } && {
39506 test -z "$ac_cxx_werror_flag" ||
39507 test ! -s conftest.err
39508 } && test -s conftest.
$ac_objext; then
39509 wx_cv_type_statvfs_t
=statvfs_t
39511 echo "$as_me: failed program was:" >&5
39512 sed 's/^/| /' conftest.
$ac_ext >&5
39515 cat >conftest.
$ac_ext <<_ACEOF
39518 cat confdefs.h
>>conftest.
$ac_ext
39519 cat >>conftest.
$ac_ext <<_ACEOF
39520 /* end confdefs.h. */
39522 #include <sys/statvfs.h>
39539 rm -f conftest.
$ac_objext
39540 if { (ac_try
="$ac_compile"
39541 case "(($ac_try" in
39542 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
39543 *) ac_try_echo=$ac_try;;
39545 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39546 (eval "$ac_compile") 2>conftest.er1
39548 grep -v '^ *+' conftest.er1 >conftest.err
39550 cat conftest.err >&5
39551 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39552 (exit $ac_status); } && {
39553 test -z "$ac_cxx_werror_flag" ||
39554 test ! -s conftest.err
39555 } && test -s conftest.$ac_objext; then
39556 wx_cv_type_statvfs_t="struct statvfs"
39558 echo "$as_me: failed program was:" >&5
39559 sed 's/^/| /' conftest.$ac_ext >&5
39561 wx_cv_type_statvfs_t="unknown"
39565 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39570 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39572 ac_cpp='$CPP $CPPFLAGS'
39573 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39574 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39575 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39579 { echo "$as_me:$LINENO: result: $wx_cv_type_statvfs_t" >&5
39580 echo "${ECHO_T}$wx_cv_type_statvfs_t" >&6; }
39582 if test "$wx_cv_type_statvfs_t" != "unknown"; then
39583 cat >>confdefs.h <<\_ACEOF
39584 #define HAVE_STATVFS 1
39589 wx_cv_type_statvfs_t="unknown"
39593 if test "$wx_cv_type_statvfs_t" != "unknown"; then
39594 cat >>confdefs.h <<_ACEOF
39595 #define WX_STATFS_T $wx_cv_type_statvfs_t
39599 { echo "$as_me:$LINENO: WARNING: wxGetDiskSpace() function won't work without statfs()" >&5
39600 echo "$as_me: WARNING: wxGetDiskSpace() function won't work without statfs()" >&2;}
39603 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
39606 for ac_func in fcntl flock
39608 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39609 { echo "$as_me:$LINENO: checking for $ac_func" >&5
39610 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
39611 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
39612 echo $ECHO_N "(cached) $ECHO_C" >&6
39614 cat >conftest.$ac_ext <<_ACEOF
39617 cat confdefs.h >>conftest.$ac_ext
39618 cat >>conftest.$ac_ext <<_ACEOF
39619 /* end confdefs.h. */
39620 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39621 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39622 #define $ac_func innocuous_$ac_func
39624 /* System header to define __stub macros and hopefully few prototypes,
39625 which can conflict with char $ac_func (); below.
39626 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39627 <limits.h> exists even on freestanding compilers. */
39630 # include <limits.h>
39632 # include <assert.h>
39637 /* Override any GCC internal prototype to avoid an error.
39638 Use char because int might match the return type of a GCC
39639 builtin and then its argument prototype would still apply. */
39644 /* The GNU C library defines this for functions which it implements
39645 to always fail with ENOSYS. Some functions are actually named
39646 something starting with __ and the normal name is an alias. */
39647 #if defined __stub_$ac_func || defined __stub___$ac_func
39654 return $ac_func ();
39659 rm -f conftest.$ac_objext conftest$ac_exeext
39660 if { (ac_try="$ac_link"
39661 case "(($ac_try" in
39662 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
39663 *) ac_try_echo
=$ac_try;;
39665 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39666 (eval "$ac_link") 2>conftest.er1
39668 grep -v '^ *+' conftest.er1
>conftest.err
39670 cat conftest.err
>&5
39671 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39672 (exit $ac_status); } && {
39673 test -z "$ac_c_werror_flag" ||
39674 test ! -s conftest.err
39675 } && test -s conftest
$ac_exeext &&
39676 $as_test_x conftest
$ac_exeext; then
39677 eval "$as_ac_var=yes"
39679 echo "$as_me: failed program was:" >&5
39680 sed 's/^/| /' conftest.
$ac_ext >&5
39682 eval "$as_ac_var=no"
39685 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
39686 conftest
$ac_exeext conftest.
$ac_ext
39688 ac_res
=`eval echo '${'$as_ac_var'}'`
39689 { echo "$as_me:$LINENO: result: $ac_res" >&5
39690 echo "${ECHO_T}$ac_res" >&6; }
39691 if test `eval echo '${'$as_ac_var'}'` = yes; then
39692 cat >>confdefs.h
<<_ACEOF
39693 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39700 if test "$ac_cv_func_fcntl" != "yes" -a "$ac_cv_func_flock" != "yes"; then
39701 { echo "$as_me:$LINENO: WARNING: wxSingleInstanceChecker not available" >&5
39702 echo "$as_me: WARNING: wxSingleInstanceChecker not available" >&2;}
39703 wxUSE_SNGLINST_CHECKER
=no
39708 for ac_func
in timegm
39710 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39711 { echo "$as_me:$LINENO: checking for $ac_func" >&5
39712 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
39713 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
39714 echo $ECHO_N "(cached) $ECHO_C" >&6
39716 cat >conftest.
$ac_ext <<_ACEOF
39719 cat confdefs.h
>>conftest.
$ac_ext
39720 cat >>conftest.
$ac_ext <<_ACEOF
39721 /* end confdefs.h. */
39722 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39723 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39724 #define $ac_func innocuous_$ac_func
39726 /* System header to define __stub macros and hopefully few prototypes,
39727 which can conflict with char $ac_func (); below.
39728 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39729 <limits.h> exists even on freestanding compilers. */
39732 # include <limits.h>
39734 # include <assert.h>
39739 /* Override any GCC internal prototype to avoid an error.
39740 Use char because int might match the return type of a GCC
39741 builtin and then its argument prototype would still apply. */
39746 /* The GNU C library defines this for functions which it implements
39747 to always fail with ENOSYS. Some functions are actually named
39748 something starting with __ and the normal name is an alias. */
39749 #if defined __stub_$ac_func || defined __stub___$ac_func
39756 return $ac_func ();
39761 rm -f conftest.
$ac_objext conftest
$ac_exeext
39762 if { (ac_try
="$ac_link"
39763 case "(($ac_try" in
39764 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
39765 *) ac_try_echo=$ac_try;;
39767 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39768 (eval "$ac_link") 2>conftest.er1
39770 grep -v '^ *+' conftest.er1 >conftest.err
39772 cat conftest.err >&5
39773 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39774 (exit $ac_status); } && {
39775 test -z "$ac_c_werror_flag" ||
39776 test ! -s conftest.err
39777 } && test -s conftest$ac_exeext &&
39778 $as_test_x conftest$ac_exeext; then
39779 eval "$as_ac_var=yes"
39781 echo "$as_me: failed program was:" >&5
39782 sed 's/^/| /' conftest.$ac_ext >&5
39784 eval "$as_ac_var=no"
39787 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39788 conftest$ac_exeext conftest.$ac_ext
39790 ac_res=`eval echo '${'$as_ac_var'}'`
39791 { echo "$as_me:$LINENO: result: $ac_res" >&5
39792 echo "${ECHO_T}$ac_res" >&6; }
39793 if test `eval echo '${'$as_ac_var'}'` = yes; then
39794 cat >>confdefs.h <<_ACEOF
39795 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39804 for ac_func in putenv setenv
39806 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39807 { echo "$as_me:$LINENO: checking for $ac_func" >&5
39808 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
39809 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
39810 echo $ECHO_N "(cached) $ECHO_C" >&6
39812 cat >conftest.$ac_ext <<_ACEOF
39815 cat confdefs.h >>conftest.$ac_ext
39816 cat >>conftest.$ac_ext <<_ACEOF
39817 /* end confdefs.h. */
39818 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39819 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39820 #define $ac_func innocuous_$ac_func
39822 /* System header to define __stub macros and hopefully few prototypes,
39823 which can conflict with char $ac_func (); below.
39824 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39825 <limits.h> exists even on freestanding compilers. */
39828 # include <limits.h>
39830 # include <assert.h>
39835 /* Override any GCC internal prototype to avoid an error.
39836 Use char because int might match the return type of a GCC
39837 builtin and then its argument prototype would still apply. */
39842 /* The GNU C library defines this for functions which it implements
39843 to always fail with ENOSYS. Some functions are actually named
39844 something starting with __ and the normal name is an alias. */
39845 #if defined __stub_$ac_func || defined __stub___$ac_func
39852 return $ac_func ();
39857 rm -f conftest.$ac_objext conftest$ac_exeext
39858 if { (ac_try="$ac_link"
39859 case "(($ac_try" in
39860 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
39861 *) ac_try_echo
=$ac_try;;
39863 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39864 (eval "$ac_link") 2>conftest.er1
39866 grep -v '^ *+' conftest.er1
>conftest.err
39868 cat conftest.err
>&5
39869 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39870 (exit $ac_status); } && {
39871 test -z "$ac_c_werror_flag" ||
39872 test ! -s conftest.err
39873 } && test -s conftest
$ac_exeext &&
39874 $as_test_x conftest
$ac_exeext; then
39875 eval "$as_ac_var=yes"
39877 echo "$as_me: failed program was:" >&5
39878 sed 's/^/| /' conftest.
$ac_ext >&5
39880 eval "$as_ac_var=no"
39883 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
39884 conftest
$ac_exeext conftest.
$ac_ext
39886 ac_res
=`eval echo '${'$as_ac_var'}'`
39887 { echo "$as_me:$LINENO: result: $ac_res" >&5
39888 echo "${ECHO_T}$ac_res" >&6; }
39889 if test `eval echo '${'$as_ac_var'}'` = yes; then
39890 cat >>confdefs.h
<<_ACEOF
39891 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39898 HAVE_SOME_SLEEP_FUNC
=0
39899 if test "$USE_BEOS" = 1; then
39900 cat >>confdefs.h
<<\_ACEOF
39901 #define HAVE_SLEEP 1
39904 HAVE_SOME_SLEEP_FUNC
=1
39907 if test "$USE_DARWIN" = 1; then
39908 cat >>confdefs.h
<<\_ACEOF
39909 #define HAVE_USLEEP 1
39912 HAVE_SOME_SLEEP_FUNC
=1
39915 if test "$HAVE_SOME_SLEEP_FUNC" != 1; then
39918 for ac_func
in nanosleep
39920 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39921 { echo "$as_me:$LINENO: checking for $ac_func" >&5
39922 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
39923 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
39924 echo $ECHO_N "(cached) $ECHO_C" >&6
39926 cat >conftest.
$ac_ext <<_ACEOF
39929 cat confdefs.h
>>conftest.
$ac_ext
39930 cat >>conftest.
$ac_ext <<_ACEOF
39931 /* end confdefs.h. */
39932 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39933 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39934 #define $ac_func innocuous_$ac_func
39936 /* System header to define __stub macros and hopefully few prototypes,
39937 which can conflict with char $ac_func (); below.
39938 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39939 <limits.h> exists even on freestanding compilers. */
39942 # include <limits.h>
39944 # include <assert.h>
39949 /* Override any GCC internal prototype to avoid an error.
39950 Use char because int might match the return type of a GCC
39951 builtin and then its argument prototype would still apply. */
39956 /* The GNU C library defines this for functions which it implements
39957 to always fail with ENOSYS. Some functions are actually named
39958 something starting with __ and the normal name is an alias. */
39959 #if defined __stub_$ac_func || defined __stub___$ac_func
39966 return $ac_func ();
39971 rm -f conftest.
$ac_objext conftest
$ac_exeext
39972 if { (ac_try
="$ac_link"
39973 case "(($ac_try" in
39974 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
39975 *) ac_try_echo=$ac_try;;
39977 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39978 (eval "$ac_link") 2>conftest.er1
39980 grep -v '^ *+' conftest.er1 >conftest.err
39982 cat conftest.err >&5
39983 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39984 (exit $ac_status); } && {
39985 test -z "$ac_c_werror_flag" ||
39986 test ! -s conftest.err
39987 } && test -s conftest$ac_exeext &&
39988 $as_test_x conftest$ac_exeext; then
39989 eval "$as_ac_var=yes"
39991 echo "$as_me: failed program was:" >&5
39992 sed 's/^/| /' conftest.$ac_ext >&5
39994 eval "$as_ac_var=no"
39997 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39998 conftest$ac_exeext conftest.$ac_ext
40000 ac_res=`eval echo '${'$as_ac_var'}'`
40001 { echo "$as_me:$LINENO: result: $ac_res" >&5
40002 echo "${ECHO_T}$ac_res" >&6; }
40003 if test `eval echo '${'$as_ac_var'}'` = yes; then
40004 cat >>confdefs.h <<_ACEOF
40005 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40007 cat >>confdefs.h <<\_ACEOF
40008 #define HAVE_NANOSLEEP 1
40013 { echo "$as_me:$LINENO: checking for nanosleep in -lposix4" >&5
40014 echo $ECHO_N "checking for nanosleep in -lposix4... $ECHO_C" >&6; }
40015 if test "${ac_cv_lib_posix4_nanosleep+set}" = set; then
40016 echo $ECHO_N "(cached) $ECHO_C" >&6
40018 ac_check_lib_save_LIBS=$LIBS
40019 LIBS="-lposix4 $LIBS"
40020 cat >conftest.$ac_ext <<_ACEOF
40023 cat confdefs.h >>conftest.$ac_ext
40024 cat >>conftest.$ac_ext <<_ACEOF
40025 /* end confdefs.h. */
40027 /* Override any GCC internal prototype to avoid an error.
40028 Use char because int might match the return type of a GCC
40029 builtin and then its argument prototype would still apply. */
40037 return nanosleep ();
40042 rm -f conftest.$ac_objext conftest$ac_exeext
40043 if { (ac_try="$ac_link"
40044 case "(($ac_try" in
40045 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
40046 *) ac_try_echo
=$ac_try;;
40048 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40049 (eval "$ac_link") 2>conftest.er1
40051 grep -v '^ *+' conftest.er1
>conftest.err
40053 cat conftest.err
>&5
40054 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40055 (exit $ac_status); } && {
40056 test -z "$ac_c_werror_flag" ||
40057 test ! -s conftest.err
40058 } && test -s conftest
$ac_exeext &&
40059 $as_test_x conftest
$ac_exeext; then
40060 ac_cv_lib_posix4_nanosleep
=yes
40062 echo "$as_me: failed program was:" >&5
40063 sed 's/^/| /' conftest.
$ac_ext >&5
40065 ac_cv_lib_posix4_nanosleep
=no
40068 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
40069 conftest
$ac_exeext conftest.
$ac_ext
40070 LIBS
=$ac_check_lib_save_LIBS
40072 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_nanosleep" >&5
40073 echo "${ECHO_T}$ac_cv_lib_posix4_nanosleep" >&6; }
40074 if test $ac_cv_lib_posix4_nanosleep = yes; then
40076 cat >>confdefs.h
<<\_ACEOF
40077 #define HAVE_NANOSLEEP 1
40080 POSIX4_LINK
=" -lposix4"
40085 for wx_func
in usleep
40087 { echo "$as_me:$LINENO: checking for $wx_func" >&5
40088 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
40089 if { as_var
=wx_cv_func_
$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
40090 echo $ECHO_N "(cached) $ECHO_C" >&6
40093 cat >conftest.
$ac_ext <<_ACEOF
40097 cat confdefs.h
>>conftest.
$ac_ext
40098 cat >>conftest.
$ac_ext <<_ACEOF
40099 /* end confdefs.h. */
40102 $ac_includes_default
40118 rm -f conftest.
$ac_objext conftest
$ac_exeext
40119 if { (ac_try
="$ac_link"
40120 case "(($ac_try" in
40121 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
40122 *) ac_try_echo=$ac_try;;
40124 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40125 (eval "$ac_link") 2>conftest.er1
40127 grep -v '^ *+' conftest.er1 >conftest.err
40129 cat conftest.err >&5
40130 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40131 (exit $ac_status); } && {
40132 test -z "$ac_c_werror_flag" ||
40133 test ! -s conftest.err
40134 } && test -s conftest$ac_exeext &&
40135 $as_test_x conftest$ac_exeext; then
40136 eval wx_cv_func_$wx_func=yes
40138 echo "$as_me: failed program was:" >&5
40139 sed 's/^/| /' conftest.$ac_ext >&5
40141 eval wx_cv_func_$wx_func=no
40144 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40145 conftest$ac_exeext conftest.$ac_ext
40148 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
40149 { echo "$as_me:$LINENO: result: $ac_res" >&5
40150 echo "${ECHO_T}$ac_res" >&6; }
40152 if eval test \$wx_cv_func_$wx_func = yes
40154 cat >>confdefs.h <<_ACEOF
40155 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
40161 { echo "$as_me:$LINENO: WARNING: wxSleep() function will not work" >&5
40162 echo "$as_me: WARNING: wxSleep() function will not work" >&2;}
40179 for wx_func in uname
40181 { echo "$as_me:$LINENO: checking for $wx_func" >&5
40182 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
40183 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
40184 echo $ECHO_N "(cached) $ECHO_C" >&6
40187 cat >conftest.$ac_ext <<_ACEOF
40191 cat confdefs.h >>conftest.$ac_ext
40192 cat >>conftest.$ac_ext <<_ACEOF
40193 /* end confdefs.h. */
40195 #include <sys/utsname.h>
40196 $ac_includes_default
40212 rm -f conftest.$ac_objext conftest$ac_exeext
40213 if { (ac_try="$ac_link"
40214 case "(($ac_try" in
40215 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
40216 *) ac_try_echo
=$ac_try;;
40218 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40219 (eval "$ac_link") 2>conftest.er1
40221 grep -v '^ *+' conftest.er1
>conftest.err
40223 cat conftest.err
>&5
40224 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40225 (exit $ac_status); } && {
40226 test -z "$ac_c_werror_flag" ||
40227 test ! -s conftest.err
40228 } && test -s conftest
$ac_exeext &&
40229 $as_test_x conftest
$ac_exeext; then
40230 eval wx_cv_func_
$wx_func=yes
40232 echo "$as_me: failed program was:" >&5
40233 sed 's/^/| /' conftest.
$ac_ext >&5
40235 eval wx_cv_func_
$wx_func=no
40238 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
40239 conftest
$ac_exeext conftest.
$ac_ext
40242 ac_res
=`eval echo '${'wx_cv_func_$wx_func'}'`
40243 { echo "$as_me:$LINENO: result: $ac_res" >&5
40244 echo "${ECHO_T}$ac_res" >&6; }
40246 if eval test \
$wx_cv_func_$wx_func = yes
40248 cat >>confdefs.h
<<_ACEOF
40249 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
40259 if test "$wx_cv_func_uname" != yes; then
40261 for wx_func
in gethostname
40263 { echo "$as_me:$LINENO: checking for $wx_func" >&5
40264 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
40265 if { as_var
=wx_cv_func_
$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
40266 echo $ECHO_N "(cached) $ECHO_C" >&6
40269 cat >conftest.
$ac_ext <<_ACEOF
40273 cat confdefs.h
>>conftest.
$ac_ext
40274 cat >>conftest.
$ac_ext <<_ACEOF
40275 /* end confdefs.h. */
40278 $ac_includes_default
40294 rm -f conftest.
$ac_objext conftest
$ac_exeext
40295 if { (ac_try
="$ac_link"
40296 case "(($ac_try" in
40297 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
40298 *) ac_try_echo=$ac_try;;
40300 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40301 (eval "$ac_link") 2>conftest.er1
40303 grep -v '^ *+' conftest.er1 >conftest.err
40305 cat conftest.err >&5
40306 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40307 (exit $ac_status); } && {
40308 test -z "$ac_c_werror_flag" ||
40309 test ! -s conftest.err
40310 } && test -s conftest$ac_exeext &&
40311 $as_test_x conftest$ac_exeext; then
40312 eval wx_cv_func_$wx_func=yes
40314 echo "$as_me: failed program was:" >&5
40315 sed 's/^/| /' conftest.$ac_ext >&5
40317 eval wx_cv_func_$wx_func=no
40320 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40321 conftest$ac_exeext conftest.$ac_ext
40324 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
40325 { echo "$as_me:$LINENO: result: $ac_res" >&5
40326 echo "${ECHO_T}$ac_res" >&6; }
40328 if eval test \$wx_cv_func_$wx_func = yes
40330 cat >>confdefs.h <<_ACEOF
40331 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
40344 for wx_func in strtok_r
40346 { echo "$as_me:$LINENO: checking for $wx_func" >&5
40347 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
40348 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
40349 echo $ECHO_N "(cached) $ECHO_C" >&6
40352 cat >conftest.$ac_ext <<_ACEOF
40356 cat confdefs.h >>conftest.$ac_ext
40357 cat >>conftest.$ac_ext <<_ACEOF
40358 /* end confdefs.h. */
40361 $ac_includes_default
40377 rm -f conftest.$ac_objext conftest$ac_exeext
40378 if { (ac_try="$ac_link"
40379 case "(($ac_try" in
40380 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
40381 *) ac_try_echo
=$ac_try;;
40383 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40384 (eval "$ac_link") 2>conftest.er1
40386 grep -v '^ *+' conftest.er1
>conftest.err
40388 cat conftest.err
>&5
40389 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40390 (exit $ac_status); } && {
40391 test -z "$ac_c_werror_flag" ||
40392 test ! -s conftest.err
40393 } && test -s conftest
$ac_exeext &&
40394 $as_test_x conftest
$ac_exeext; then
40395 eval wx_cv_func_
$wx_func=yes
40397 echo "$as_me: failed program was:" >&5
40398 sed 's/^/| /' conftest.
$ac_ext >&5
40400 eval wx_cv_func_
$wx_func=no
40403 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
40404 conftest
$ac_exeext conftest.
$ac_ext
40407 ac_res
=`eval echo '${'wx_cv_func_$wx_func'}'`
40408 { echo "$as_me:$LINENO: result: $ac_res" >&5
40409 echo "${ECHO_T}$ac_res" >&6; }
40411 if eval test \
$wx_cv_func_$wx_func = yes
40413 cat >>confdefs.h
<<_ACEOF
40414 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
40427 for ac_func
in inet_addr
40429 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40430 { echo "$as_me:$LINENO: checking for $ac_func" >&5
40431 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
40432 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
40433 echo $ECHO_N "(cached) $ECHO_C" >&6
40435 cat >conftest.
$ac_ext <<_ACEOF
40438 cat confdefs.h
>>conftest.
$ac_ext
40439 cat >>conftest.
$ac_ext <<_ACEOF
40440 /* end confdefs.h. */
40441 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40442 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40443 #define $ac_func innocuous_$ac_func
40445 /* System header to define __stub macros and hopefully few prototypes,
40446 which can conflict with char $ac_func (); below.
40447 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40448 <limits.h> exists even on freestanding compilers. */
40451 # include <limits.h>
40453 # include <assert.h>
40458 /* Override any GCC internal prototype to avoid an error.
40459 Use char because int might match the return type of a GCC
40460 builtin and then its argument prototype would still apply. */
40465 /* The GNU C library defines this for functions which it implements
40466 to always fail with ENOSYS. Some functions are actually named
40467 something starting with __ and the normal name is an alias. */
40468 #if defined __stub_$ac_func || defined __stub___$ac_func
40475 return $ac_func ();
40480 rm -f conftest.
$ac_objext conftest
$ac_exeext
40481 if { (ac_try
="$ac_link"
40482 case "(($ac_try" in
40483 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
40484 *) ac_try_echo=$ac_try;;
40486 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40487 (eval "$ac_link") 2>conftest.er1
40489 grep -v '^ *+' conftest.er1 >conftest.err
40491 cat conftest.err >&5
40492 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40493 (exit $ac_status); } && {
40494 test -z "$ac_c_werror_flag" ||
40495 test ! -s conftest.err
40496 } && test -s conftest$ac_exeext &&
40497 $as_test_x conftest$ac_exeext; then
40498 eval "$as_ac_var=yes"
40500 echo "$as_me: failed program was:" >&5
40501 sed 's/^/| /' conftest.$ac_ext >&5
40503 eval "$as_ac_var=no"
40506 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40507 conftest$ac_exeext conftest.$ac_ext
40509 ac_res=`eval echo '${'$as_ac_var'}'`
40510 { echo "$as_me:$LINENO: result: $ac_res" >&5
40511 echo "${ECHO_T}$ac_res" >&6; }
40512 if test `eval echo '${'$as_ac_var'}'` = yes; then
40513 cat >>confdefs.h <<_ACEOF
40514 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40516 cat >>confdefs.h <<\_ACEOF
40517 #define HAVE_INET_ADDR 1
40522 { echo "$as_me:$LINENO: checking for inet_addr in -lnsl" >&5
40523 echo $ECHO_N "checking for inet_addr in -lnsl... $ECHO_C" >&6; }
40524 if test "${ac_cv_lib_nsl_inet_addr+set}" = set; then
40525 echo $ECHO_N "(cached) $ECHO_C" >&6
40527 ac_check_lib_save_LIBS=$LIBS
40529 cat >conftest.$ac_ext <<_ACEOF
40532 cat confdefs.h >>conftest.$ac_ext
40533 cat >>conftest.$ac_ext <<_ACEOF
40534 /* end confdefs.h. */
40536 /* Override any GCC internal prototype to avoid an error.
40537 Use char because int might match the return type of a GCC
40538 builtin and then its argument prototype would still apply. */
40546 return inet_addr ();
40551 rm -f conftest.$ac_objext conftest$ac_exeext
40552 if { (ac_try="$ac_link"
40553 case "(($ac_try" in
40554 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
40555 *) ac_try_echo
=$ac_try;;
40557 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40558 (eval "$ac_link") 2>conftest.er1
40560 grep -v '^ *+' conftest.er1
>conftest.err
40562 cat conftest.err
>&5
40563 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40564 (exit $ac_status); } && {
40565 test -z "$ac_c_werror_flag" ||
40566 test ! -s conftest.err
40567 } && test -s conftest
$ac_exeext &&
40568 $as_test_x conftest
$ac_exeext; then
40569 ac_cv_lib_nsl_inet_addr
=yes
40571 echo "$as_me: failed program was:" >&5
40572 sed 's/^/| /' conftest.
$ac_ext >&5
40574 ac_cv_lib_nsl_inet_addr
=no
40577 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
40578 conftest
$ac_exeext conftest.
$ac_ext
40579 LIBS
=$ac_check_lib_save_LIBS
40581 { echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_inet_addr" >&5
40582 echo "${ECHO_T}$ac_cv_lib_nsl_inet_addr" >&6; }
40583 if test $ac_cv_lib_nsl_inet_addr = yes; then
40587 { echo "$as_me:$LINENO: checking for inet_addr in -lresolv" >&5
40588 echo $ECHO_N "checking for inet_addr in -lresolv... $ECHO_C" >&6; }
40589 if test "${ac_cv_lib_resolv_inet_addr+set}" = set; then
40590 echo $ECHO_N "(cached) $ECHO_C" >&6
40592 ac_check_lib_save_LIBS
=$LIBS
40593 LIBS
="-lresolv $LIBS"
40594 cat >conftest.
$ac_ext <<_ACEOF
40597 cat confdefs.h
>>conftest.
$ac_ext
40598 cat >>conftest.
$ac_ext <<_ACEOF
40599 /* end confdefs.h. */
40601 /* Override any GCC internal prototype to avoid an error.
40602 Use char because int might match the return type of a GCC
40603 builtin and then its argument prototype would still apply. */
40611 return inet_addr ();
40616 rm -f conftest.
$ac_objext conftest
$ac_exeext
40617 if { (ac_try
="$ac_link"
40618 case "(($ac_try" in
40619 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
40620 *) ac_try_echo=$ac_try;;
40622 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40623 (eval "$ac_link") 2>conftest.er1
40625 grep -v '^ *+' conftest.er1 >conftest.err
40627 cat conftest.err >&5
40628 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40629 (exit $ac_status); } && {
40630 test -z "$ac_c_werror_flag" ||
40631 test ! -s conftest.err
40632 } && test -s conftest$ac_exeext &&
40633 $as_test_x conftest$ac_exeext; then
40634 ac_cv_lib_resolv_inet_addr=yes
40636 echo "$as_me: failed program was:" >&5
40637 sed 's/^/| /' conftest.$ac_ext >&5
40639 ac_cv_lib_resolv_inet_addr=no
40642 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40643 conftest$ac_exeext conftest.$ac_ext
40644 LIBS=$ac_check_lib_save_LIBS
40646 { echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_inet_addr" >&5
40647 echo "${ECHO_T}$ac_cv_lib_resolv_inet_addr" >&6; }
40648 if test $ac_cv_lib_resolv_inet_addr = yes; then
40652 { echo "$as_me:$LINENO: checking for inet_addr in -lsocket" >&5
40653 echo $ECHO_N "checking for inet_addr in -lsocket... $ECHO_C" >&6; }
40654 if test "${ac_cv_lib_socket_inet_addr+set}" = set; then
40655 echo $ECHO_N "(cached) $ECHO_C" >&6
40657 ac_check_lib_save_LIBS=$LIBS
40658 LIBS="-lsocket $LIBS"
40659 cat >conftest.$ac_ext <<_ACEOF
40662 cat confdefs.h >>conftest.$ac_ext
40663 cat >>conftest.$ac_ext <<_ACEOF
40664 /* end confdefs.h. */
40666 /* Override any GCC internal prototype to avoid an error.
40667 Use char because int might match the return type of a GCC
40668 builtin and then its argument prototype would still apply. */
40676 return inet_addr ();
40681 rm -f conftest.$ac_objext conftest$ac_exeext
40682 if { (ac_try="$ac_link"
40683 case "(($ac_try" in
40684 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
40685 *) ac_try_echo
=$ac_try;;
40687 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40688 (eval "$ac_link") 2>conftest.er1
40690 grep -v '^ *+' conftest.er1
>conftest.err
40692 cat conftest.err
>&5
40693 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40694 (exit $ac_status); } && {
40695 test -z "$ac_c_werror_flag" ||
40696 test ! -s conftest.err
40697 } && test -s conftest
$ac_exeext &&
40698 $as_test_x conftest
$ac_exeext; then
40699 ac_cv_lib_socket_inet_addr
=yes
40701 echo "$as_me: failed program was:" >&5
40702 sed 's/^/| /' conftest.
$ac_ext >&5
40704 ac_cv_lib_socket_inet_addr
=no
40707 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
40708 conftest
$ac_exeext conftest.
$ac_ext
40709 LIBS
=$ac_check_lib_save_LIBS
40711 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_inet_addr" >&5
40712 echo "${ECHO_T}$ac_cv_lib_socket_inet_addr" >&6; }
40713 if test $ac_cv_lib_socket_inet_addr = yes; then
40733 for ac_func
in inet_aton
40735 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40736 { echo "$as_me:$LINENO: checking for $ac_func" >&5
40737 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
40738 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
40739 echo $ECHO_N "(cached) $ECHO_C" >&6
40741 cat >conftest.
$ac_ext <<_ACEOF
40744 cat confdefs.h
>>conftest.
$ac_ext
40745 cat >>conftest.
$ac_ext <<_ACEOF
40746 /* end confdefs.h. */
40747 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40748 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40749 #define $ac_func innocuous_$ac_func
40751 /* System header to define __stub macros and hopefully few prototypes,
40752 which can conflict with char $ac_func (); below.
40753 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40754 <limits.h> exists even on freestanding compilers. */
40757 # include <limits.h>
40759 # include <assert.h>
40764 /* Override any GCC internal prototype to avoid an error.
40765 Use char because int might match the return type of a GCC
40766 builtin and then its argument prototype would still apply. */
40771 /* The GNU C library defines this for functions which it implements
40772 to always fail with ENOSYS. Some functions are actually named
40773 something starting with __ and the normal name is an alias. */
40774 #if defined __stub_$ac_func || defined __stub___$ac_func
40781 return $ac_func ();
40786 rm -f conftest.
$ac_objext conftest
$ac_exeext
40787 if { (ac_try
="$ac_link"
40788 case "(($ac_try" in
40789 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
40790 *) ac_try_echo=$ac_try;;
40792 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40793 (eval "$ac_link") 2>conftest.er1
40795 grep -v '^ *+' conftest.er1 >conftest.err
40797 cat conftest.err >&5
40798 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40799 (exit $ac_status); } && {
40800 test -z "$ac_c_werror_flag" ||
40801 test ! -s conftest.err
40802 } && test -s conftest$ac_exeext &&
40803 $as_test_x conftest$ac_exeext; then
40804 eval "$as_ac_var=yes"
40806 echo "$as_me: failed program was:" >&5
40807 sed 's/^/| /' conftest.$ac_ext >&5
40809 eval "$as_ac_var=no"
40812 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40813 conftest$ac_exeext conftest.$ac_ext
40815 ac_res=`eval echo '${'$as_ac_var'}'`
40816 { echo "$as_me:$LINENO: result: $ac_res" >&5
40817 echo "${ECHO_T}$ac_res" >&6; }
40818 if test `eval echo '${'$as_ac_var'}'` = yes; then
40819 cat >>confdefs.h <<_ACEOF
40820 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40822 cat >>confdefs.h <<\_ACEOF
40823 #define HAVE_INET_ATON 1
40828 as_ac_Lib=`echo "ac_cv_lib_$INET_LINK''_inet_aton" | $as_tr_sh`
40829 { echo "$as_me:$LINENO: checking for inet_aton in -l$INET_LINK" >&5
40830 echo $ECHO_N "checking for inet_aton in -l$INET_LINK... $ECHO_C" >&6; }
40831 if { as_var=$as_ac_Lib; eval "test \"\${$as_var+set}\" = set"; }; then
40832 echo $ECHO_N "(cached) $ECHO_C" >&6
40834 ac_check_lib_save_LIBS=$LIBS
40835 LIBS="-l$INET_LINK $LIBS"
40836 cat >conftest.$ac_ext <<_ACEOF
40839 cat confdefs.h >>conftest.$ac_ext
40840 cat >>conftest.$ac_ext <<_ACEOF
40841 /* end confdefs.h. */
40843 /* Override any GCC internal prototype to avoid an error.
40844 Use char because int might match the return type of a GCC
40845 builtin and then its argument prototype would still apply. */
40853 return inet_aton ();
40858 rm -f conftest.$ac_objext conftest$ac_exeext
40859 if { (ac_try="$ac_link"
40860 case "(($ac_try" in
40861 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
40862 *) ac_try_echo
=$ac_try;;
40864 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40865 (eval "$ac_link") 2>conftest.er1
40867 grep -v '^ *+' conftest.er1
>conftest.err
40869 cat conftest.err
>&5
40870 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40871 (exit $ac_status); } && {
40872 test -z "$ac_c_werror_flag" ||
40873 test ! -s conftest.err
40874 } && test -s conftest
$ac_exeext &&
40875 $as_test_x conftest
$ac_exeext; then
40876 eval "$as_ac_Lib=yes"
40878 echo "$as_me: failed program was:" >&5
40879 sed 's/^/| /' conftest.
$ac_ext >&5
40881 eval "$as_ac_Lib=no"
40884 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
40885 conftest
$ac_exeext conftest.
$ac_ext
40886 LIBS
=$ac_check_lib_save_LIBS
40888 ac_res
=`eval echo '${'$as_ac_Lib'}'`
40889 { echo "$as_me:$LINENO: result: $ac_res" >&5
40890 echo "${ECHO_T}$ac_res" >&6; }
40891 if test `eval echo '${'$as_ac_Lib'}'` = yes; then
40892 cat >>confdefs.h
<<\_ACEOF
40893 #define HAVE_INET_ATON 1
40903 if test "x$INET_LINK" != "x"; then
40904 cat >>confdefs.h
<<\_ACEOF
40905 #define HAVE_INET_ADDR 1
40908 INET_LINK
=" -l$INET_LINK"
40912 for wx_func
in fdopen
40914 { echo "$as_me:$LINENO: checking for $wx_func" >&5
40915 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
40916 if { as_var
=wx_cv_func_
$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
40917 echo $ECHO_N "(cached) $ECHO_C" >&6
40920 cat >conftest.
$ac_ext <<_ACEOF
40924 cat confdefs.h
>>conftest.
$ac_ext
40925 cat >>conftest.
$ac_ext <<_ACEOF
40926 /* end confdefs.h. */
40929 $ac_includes_default
40945 rm -f conftest.
$ac_objext conftest
$ac_exeext
40946 if { (ac_try
="$ac_link"
40947 case "(($ac_try" in
40948 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
40949 *) ac_try_echo=$ac_try;;
40951 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40952 (eval "$ac_link") 2>conftest.er1
40954 grep -v '^ *+' conftest.er1 >conftest.err
40956 cat conftest.err >&5
40957 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40958 (exit $ac_status); } && {
40959 test -z "$ac_c_werror_flag" ||
40960 test ! -s conftest.err
40961 } && test -s conftest$ac_exeext &&
40962 $as_test_x conftest$ac_exeext; then
40963 eval wx_cv_func_$wx_func=yes
40965 echo "$as_me: failed program was:" >&5
40966 sed 's/^/| /' conftest.$ac_ext >&5
40968 eval wx_cv_func_$wx_func=no
40971 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40972 conftest$ac_exeext conftest.$ac_ext
40975 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
40976 { echo "$as_me:$LINENO: result: $ac_res" >&5
40977 echo "${ECHO_T}$ac_res" >&6; }
40979 if eval test \$wx_cv_func_$wx_func = yes
40981 cat >>confdefs.h <<_ACEOF
40982 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
40997 cat >confcache <<\_ACEOF
40998 # This file is a shell script that caches the results of configure
40999 # tests run on this system so they can be shared between configure
41000 # scripts and configure runs, see configure's option --config-cache.
41001 # It is not useful on other systems. If it contains results you don't
41002 # want to keep, you may remove or edit it.
41004 # config.status only pays attention to the cache file if you give it
41005 # the --recheck option to rerun configure.
41007 # `ac_cv_env_foo
' variables (set or unset) will be overridden when
41008 # loading this file, other *unset* `ac_cv_foo' will be assigned the
41009 # following values.
41013 # The following way of writing the cache mishandles newlines in values,
41014 # but we know of no workaround that is simple, portable, and efficient.
41015 # So, we kill variables containing newlines.
41016 # Ultrix sh set writes to stderr and can't be redirected directly,
41017 # and sets the high bit in the cache file unless we assign to the vars.
41019 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
41020 eval ac_val
=\$
$ac_var
41024 *_cv_
*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
41025 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
41028 _
| IFS
| as_nl
) ;; #(
41029 *) $as_unset $ac_var ;;
41035 case $as_nl`(ac_space=' '; set) 2>&1` in #(
41036 *${as_nl}ac_space
=\
*)
41037 # `set' does not quote correctly, so add quotes (double-quote
41038 # substitution turns \\\\ into \\, and sed turns \\ into \).
41041 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
41044 # `set' quotes correctly as required by POSIX, so do not add quotes.
41045 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
41054 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
41056 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
41058 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
41059 if test -w "$cache_file"; then
41060 test "x$cache_file" != "x/dev/null" &&
41061 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
41062 echo "$as_me: updating cache $cache_file" >&6;}
41063 cat confcache
>$cache_file
41065 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
41066 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
41072 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
41078 if test "$wxUSE_THREADS" = "yes" ; then
41079 if test "$USE_BEOS" = 1; then
41080 { echo "$as_me:$LINENO: WARNING: BeOS threads are not yet supported... disabled" >&5
41081 echo "$as_me: WARNING: BeOS threads are not yet supported... disabled" >&2;}
41086 if test "$wxUSE_THREADS" = "yes" ; then
41089 THREAD_OPTS
="-pthread"
41090 if test "x$SUNCXX" = xyes
; then
41091 THREAD_OPTS
="-mt lthread $THREAD_OPTS"
41095 *-*-solaris2* | *-*-sunos4* )
41096 if test "x$GCC" = "xyes"; then
41097 THREAD_OPTS
="-pthreads $THREAD_OPTS"
41101 THREAD_OPTS
="-kthread lthread $THREAD_OPTS c_r"
41103 *-*-darwin* | *-*-cygwin* )
41107 THREAD_OPTS
="pthreads"
41110 if test "x$GCC" = "xyes"; then
41111 $CXX -dumpspecs | grep 'pthread:' >/dev
/null
||
41119 if test "x$GCC" = "xyes"; then
41125 if test "x$GCC" != "xyes"; then
41126 THREAD_OPTS
="-Ethread"
41131 THREAD_OPTS
="$THREAD_OPTS pthread none"
41134 for flag
in $THREAD_OPTS; do
41137 { echo "$as_me:$LINENO: checking whether pthreads work without any flags" >&5
41138 echo $ECHO_N "checking whether pthreads work without any flags... $ECHO_C" >&6; }
41142 { echo "$as_me:$LINENO: checking whether pthreads work with $flag" >&5
41143 echo $ECHO_N "checking whether pthreads work with $flag... $ECHO_C" >&6; }
41144 THREADS_CFLAGS
="$flag"
41148 { echo "$as_me:$LINENO: checking for the pthreads library -l$flag" >&5
41149 echo $ECHO_N "checking for the pthreads library -l$flag... $ECHO_C" >&6; }
41150 THREADS_LINK
="-l$flag"
41155 save_CFLAGS
="$CFLAGS"
41156 LIBS
="$THREADS_LINK $LIBS"
41157 CFLAGS
="$THREADS_CFLAGS $CFLAGS"
41159 cat >conftest.
$ac_ext <<_ACEOF
41162 cat confdefs.h
>>conftest.
$ac_ext
41163 cat >>conftest.
$ac_ext <<_ACEOF
41164 /* end confdefs.h. */
41165 #include <pthread.h>
41169 pthread_create(0,0,0,0);
41174 rm -f conftest.
$ac_objext conftest
$ac_exeext
41175 if { (ac_try
="$ac_link"
41176 case "(($ac_try" in
41177 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
41178 *) ac_try_echo=$ac_try;;
41180 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41181 (eval "$ac_link") 2>conftest.er1
41183 grep -v '^ *+' conftest.er1 >conftest.err
41185 cat conftest.err >&5
41186 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41187 (exit $ac_status); } && {
41188 test -z "$ac_c_werror_flag" ||
41189 test ! -s conftest.err
41190 } && test -s conftest$ac_exeext &&
41191 $as_test_x conftest$ac_exeext; then
41194 echo "$as_me: failed program was:" >&5
41195 sed 's/^/| /' conftest.$ac_ext >&5
41200 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41201 conftest$ac_exeext conftest.$ac_ext
41204 CFLAGS="$save_CFLAGS"
41206 { echo "$as_me:$LINENO: result: $THREADS_OK" >&5
41207 echo "${ECHO_T}$THREADS_OK" >&6; }
41208 if test "x$THREADS_OK" = "xyes"; then
41216 if test "x$THREADS_OK" != "xyes"; then
41218 { echo "$as_me:$LINENO: WARNING: No thread support on this system... disabled" >&5
41219 echo "$as_me: WARNING: No thread support on this system... disabled" >&2;}
41221 LDFLAGS="$THREADS_CFLAGS $LDFLAGS"
41222 LIBS="$THREADS_LINK $LIBS"
41224 { echo "$as_me:$LINENO: checking if more special flags are required for pthreads" >&5
41225 echo $ECHO_N "checking if more special flags are required for pthreads... $ECHO_C" >&6; }
41229 LDFLAGS="-L/usr/lib/threads $LDFLAGS"
41230 flag="-D_THREAD_SAFE"
41233 flag="-D_THREAD_SAFE"
41236 flag="-D_REENTRANT"
41237 if test "x$GCC" != "xyes"; then
41238 flag="$flag -D_RWSTD_MULTI_THREAD"
41241 *solaris* | alpha*-osf*)
41242 flag="-D_REENTRANT"
41245 { echo "$as_me:$LINENO: result: ${flag}" >&5
41246 echo "${ECHO_T}${flag}" >&6; }
41247 if test "x$flag" != xno; then
41248 THREADS_CFLAGS="$THREADS_CFLAGS $flag"
41251 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS $THREADS_CFLAGS"
41255 if test "$wxUSE_THREADS" = "yes" ; then
41257 for ac_func in thr_setconcurrency
41259 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41260 { echo "$as_me:$LINENO: checking for $ac_func" >&5
41261 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
41262 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
41263 echo $ECHO_N "(cached) $ECHO_C" >&6
41265 cat >conftest.$ac_ext <<_ACEOF
41268 cat confdefs.h >>conftest.$ac_ext
41269 cat >>conftest.$ac_ext <<_ACEOF
41270 /* end confdefs.h. */
41271 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41272 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41273 #define $ac_func innocuous_$ac_func
41275 /* System header to define __stub macros and hopefully few prototypes,
41276 which can conflict with char $ac_func (); below.
41277 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41278 <limits.h> exists even on freestanding compilers. */
41281 # include <limits.h>
41283 # include <assert.h>
41288 /* Override any GCC internal prototype to avoid an error.
41289 Use char because int might match the return type of a GCC
41290 builtin and then its argument prototype would still apply. */
41295 /* The GNU C library defines this for functions which it implements
41296 to always fail with ENOSYS. Some functions are actually named
41297 something starting with __ and the normal name is an alias. */
41298 #if defined __stub_$ac_func || defined __stub___$ac_func
41305 return $ac_func ();
41310 rm -f conftest.$ac_objext conftest$ac_exeext
41311 if { (ac_try="$ac_link"
41312 case "(($ac_try" in
41313 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
41314 *) ac_try_echo
=$ac_try;;
41316 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41317 (eval "$ac_link") 2>conftest.er1
41319 grep -v '^ *+' conftest.er1
>conftest.err
41321 cat conftest.err
>&5
41322 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41323 (exit $ac_status); } && {
41324 test -z "$ac_c_werror_flag" ||
41325 test ! -s conftest.err
41326 } && test -s conftest
$ac_exeext &&
41327 $as_test_x conftest
$ac_exeext; then
41328 eval "$as_ac_var=yes"
41330 echo "$as_me: failed program was:" >&5
41331 sed 's/^/| /' conftest.
$ac_ext >&5
41333 eval "$as_ac_var=no"
41336 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
41337 conftest
$ac_exeext conftest.
$ac_ext
41339 ac_res
=`eval echo '${'$as_ac_var'}'`
41340 { echo "$as_me:$LINENO: result: $ac_res" >&5
41341 echo "${ECHO_T}$ac_res" >&6; }
41342 if test `eval echo '${'$as_ac_var'}'` = yes; then
41343 cat >>confdefs.h
<<_ACEOF
41344 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41351 { echo "$as_me:$LINENO: checking for pthread_cleanup_push/pop" >&5
41352 echo $ECHO_N "checking for pthread_cleanup_push/pop... $ECHO_C" >&6; }
41353 if test "${wx_cv_func_pthread_cleanup+set}" = set; then
41354 echo $ECHO_N "(cached) $ECHO_C" >&6
41358 ac_cpp
='$CXXCPP $CPPFLAGS'
41359 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41360 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41361 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
41363 cat >conftest.
$ac_ext <<_ACEOF
41366 cat confdefs.h
>>conftest.
$ac_ext
41367 cat >>conftest.
$ac_ext <<_ACEOF
41368 /* end confdefs.h. */
41369 #include <pthread.h>
41370 void ThreadCleanupFunc(void *p);
41377 pthread_cleanup_push(ThreadCleanupFunc, p);
41378 pthread_cleanup_pop(0);
41384 rm -f conftest.
$ac_objext
41385 if { (ac_try
="$ac_compile"
41386 case "(($ac_try" in
41387 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
41388 *) ac_try_echo=$ac_try;;
41390 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41391 (eval "$ac_compile") 2>conftest.er1
41393 grep -v '^ *+' conftest.er1 >conftest.err
41395 cat conftest.err >&5
41396 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41397 (exit $ac_status); } && {
41398 test -z "$ac_cxx_werror_flag" ||
41399 test ! -s conftest.err
41400 } && test -s conftest.$ac_objext; then
41402 wx_cv_func_pthread_cleanup=yes
41405 echo "$as_me: failed program was:" >&5
41406 sed 's/^/| /' conftest.$ac_ext >&5
41409 wx_cv_func_pthread_cleanup=no
41414 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41416 ac_cpp='$CPP $CPPFLAGS'
41417 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41418 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41419 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41423 { echo "$as_me:$LINENO: result: $wx_cv_func_pthread_cleanup" >&5
41424 echo "${ECHO_T}$wx_cv_func_pthread_cleanup" >&6; }
41425 if test "x$wx_cv_func_pthread_cleanup" = "xyes"; then
41426 cat >>confdefs.h <<\_ACEOF
41427 #define wxHAVE_PTHREAD_CLEANUP 1
41432 { echo "$as_me:$LINENO: checking for sched.h" >&5
41433 echo $ECHO_N "checking for sched.h... $ECHO_C" >&6; }
41434 if test "${ac_cv_header_sched_h+set}" = set; then
41435 echo $ECHO_N "(cached) $ECHO_C" >&6
41437 cat >conftest.$ac_ext <<_ACEOF
41440 cat confdefs.h >>conftest.$ac_ext
41441 cat >>conftest.$ac_ext <<_ACEOF
41442 /* end confdefs.h. */
41443 $ac_includes_default
41447 rm -f conftest.$ac_objext
41448 if { (ac_try="$ac_compile"
41449 case "(($ac_try" in
41450 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
41451 *) ac_try_echo
=$ac_try;;
41453 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41454 (eval "$ac_compile") 2>conftest.er1
41456 grep -v '^ *+' conftest.er1
>conftest.err
41458 cat conftest.err
>&5
41459 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41460 (exit $ac_status); } && {
41461 test -z "$ac_c_werror_flag" ||
41462 test ! -s conftest.err
41463 } && test -s conftest.
$ac_objext; then
41464 ac_cv_header_sched_h
=yes
41466 echo "$as_me: failed program was:" >&5
41467 sed 's/^/| /' conftest.
$ac_ext >&5
41469 ac_cv_header_sched_h
=no
41472 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
41474 { echo "$as_me:$LINENO: result: $ac_cv_header_sched_h" >&5
41475 echo "${ECHO_T}$ac_cv_header_sched_h" >&6; }
41478 if test "$ac_cv_header_sched_h" = "yes"; then
41479 { echo "$as_me:$LINENO: checking for sched_yield" >&5
41480 echo $ECHO_N "checking for sched_yield... $ECHO_C" >&6; }
41481 if test "${ac_cv_func_sched_yield+set}" = set; then
41482 echo $ECHO_N "(cached) $ECHO_C" >&6
41484 cat >conftest.
$ac_ext <<_ACEOF
41487 cat confdefs.h
>>conftest.
$ac_ext
41488 cat >>conftest.
$ac_ext <<_ACEOF
41489 /* end confdefs.h. */
41490 /* Define sched_yield to an innocuous variant, in case <limits.h> declares sched_yield.
41491 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41492 #define sched_yield innocuous_sched_yield
41494 /* System header to define __stub macros and hopefully few prototypes,
41495 which can conflict with char sched_yield (); below.
41496 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41497 <limits.h> exists even on freestanding compilers. */
41500 # include <limits.h>
41502 # include <assert.h>
41507 /* Override any GCC internal prototype to avoid an error.
41508 Use char because int might match the return type of a GCC
41509 builtin and then its argument prototype would still apply. */
41513 char sched_yield ();
41514 /* The GNU C library defines this for functions which it implements
41515 to always fail with ENOSYS. Some functions are actually named
41516 something starting with __ and the normal name is an alias. */
41517 #if defined __stub_sched_yield || defined __stub___sched_yield
41524 return sched_yield ();
41529 rm -f conftest.
$ac_objext conftest
$ac_exeext
41530 if { (ac_try
="$ac_link"
41531 case "(($ac_try" in
41532 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
41533 *) ac_try_echo=$ac_try;;
41535 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41536 (eval "$ac_link") 2>conftest.er1
41538 grep -v '^ *+' conftest.er1 >conftest.err
41540 cat conftest.err >&5
41541 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41542 (exit $ac_status); } && {
41543 test -z "$ac_c_werror_flag" ||
41544 test ! -s conftest.err
41545 } && test -s conftest$ac_exeext &&
41546 $as_test_x conftest$ac_exeext; then
41547 ac_cv_func_sched_yield=yes
41549 echo "$as_me: failed program was:" >&5
41550 sed 's/^/| /' conftest.$ac_ext >&5
41552 ac_cv_func_sched_yield=no
41555 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41556 conftest$ac_exeext conftest.$ac_ext
41558 { echo "$as_me:$LINENO: result: $ac_cv_func_sched_yield" >&5
41559 echo "${ECHO_T}$ac_cv_func_sched_yield" >&6; }
41560 if test $ac_cv_func_sched_yield = yes; then
41561 cat >>confdefs.h <<\_ACEOF
41562 #define HAVE_SCHED_YIELD 1
41567 { echo "$as_me:$LINENO: checking for sched_yield in -lposix4" >&5
41568 echo $ECHO_N "checking for sched_yield in -lposix4... $ECHO_C" >&6; }
41569 if test "${ac_cv_lib_posix4_sched_yield+set}" = set; then
41570 echo $ECHO_N "(cached) $ECHO_C" >&6
41572 ac_check_lib_save_LIBS=$LIBS
41573 LIBS="-lposix4 $LIBS"
41574 cat >conftest.$ac_ext <<_ACEOF
41577 cat confdefs.h >>conftest.$ac_ext
41578 cat >>conftest.$ac_ext <<_ACEOF
41579 /* end confdefs.h. */
41581 /* Override any GCC internal prototype to avoid an error.
41582 Use char because int might match the return type of a GCC
41583 builtin and then its argument prototype would still apply. */
41587 char sched_yield ();
41591 return sched_yield ();
41596 rm -f conftest.$ac_objext conftest$ac_exeext
41597 if { (ac_try="$ac_link"
41598 case "(($ac_try" in
41599 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
41600 *) ac_try_echo
=$ac_try;;
41602 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41603 (eval "$ac_link") 2>conftest.er1
41605 grep -v '^ *+' conftest.er1
>conftest.err
41607 cat conftest.err
>&5
41608 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41609 (exit $ac_status); } && {
41610 test -z "$ac_c_werror_flag" ||
41611 test ! -s conftest.err
41612 } && test -s conftest
$ac_exeext &&
41613 $as_test_x conftest
$ac_exeext; then
41614 ac_cv_lib_posix4_sched_yield
=yes
41616 echo "$as_me: failed program was:" >&5
41617 sed 's/^/| /' conftest.
$ac_ext >&5
41619 ac_cv_lib_posix4_sched_yield
=no
41622 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
41623 conftest
$ac_exeext conftest.
$ac_ext
41624 LIBS
=$ac_check_lib_save_LIBS
41626 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_yield" >&5
41627 echo "${ECHO_T}$ac_cv_lib_posix4_sched_yield" >&6; }
41628 if test $ac_cv_lib_posix4_sched_yield = yes; then
41629 cat >>confdefs.h
<<\_ACEOF
41630 #define HAVE_SCHED_YIELD 1
41632 POSIX4_LINK
=" -lposix4"
41634 { echo "$as_me:$LINENO: WARNING: wxThread::Yield will not work properly" >&5
41635 echo "$as_me: WARNING: wxThread::Yield will not work properly" >&2;}
41646 { echo "$as_me:$LINENO: checking for pthread_attr_getschedpolicy" >&5
41647 echo $ECHO_N "checking for pthread_attr_getschedpolicy... $ECHO_C" >&6; }
41648 if test "${ac_cv_func_pthread_attr_getschedpolicy+set}" = set; then
41649 echo $ECHO_N "(cached) $ECHO_C" >&6
41651 cat >conftest.
$ac_ext <<_ACEOF
41654 cat confdefs.h
>>conftest.
$ac_ext
41655 cat >>conftest.
$ac_ext <<_ACEOF
41656 /* end confdefs.h. */
41657 /* Define pthread_attr_getschedpolicy to an innocuous variant, in case <limits.h> declares pthread_attr_getschedpolicy.
41658 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41659 #define pthread_attr_getschedpolicy innocuous_pthread_attr_getschedpolicy
41661 /* System header to define __stub macros and hopefully few prototypes,
41662 which can conflict with char pthread_attr_getschedpolicy (); below.
41663 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41664 <limits.h> exists even on freestanding compilers. */
41667 # include <limits.h>
41669 # include <assert.h>
41672 #undef pthread_attr_getschedpolicy
41674 /* Override any GCC internal prototype to avoid an error.
41675 Use char because int might match the return type of a GCC
41676 builtin and then its argument prototype would still apply. */
41680 char pthread_attr_getschedpolicy ();
41681 /* The GNU C library defines this for functions which it implements
41682 to always fail with ENOSYS. Some functions are actually named
41683 something starting with __ and the normal name is an alias. */
41684 #if defined __stub_pthread_attr_getschedpolicy || defined __stub___pthread_attr_getschedpolicy
41691 return pthread_attr_getschedpolicy ();
41696 rm -f conftest.
$ac_objext conftest
$ac_exeext
41697 if { (ac_try
="$ac_link"
41698 case "(($ac_try" in
41699 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
41700 *) ac_try_echo=$ac_try;;
41702 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41703 (eval "$ac_link") 2>conftest.er1
41705 grep -v '^ *+' conftest.er1 >conftest.err
41707 cat conftest.err >&5
41708 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41709 (exit $ac_status); } && {
41710 test -z "$ac_c_werror_flag" ||
41711 test ! -s conftest.err
41712 } && test -s conftest$ac_exeext &&
41713 $as_test_x conftest$ac_exeext; then
41714 ac_cv_func_pthread_attr_getschedpolicy=yes
41716 echo "$as_me: failed program was:" >&5
41717 sed 's/^/| /' conftest.$ac_ext >&5
41719 ac_cv_func_pthread_attr_getschedpolicy=no
41722 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41723 conftest$ac_exeext conftest.$ac_ext
41725 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_getschedpolicy" >&5
41726 echo "${ECHO_T}$ac_cv_func_pthread_attr_getschedpolicy" >&6; }
41727 if test $ac_cv_func_pthread_attr_getschedpolicy = yes; then
41728 { echo "$as_me:$LINENO: checking for pthread_attr_setschedparam" >&5
41729 echo $ECHO_N "checking for pthread_attr_setschedparam... $ECHO_C" >&6; }
41730 if test "${ac_cv_func_pthread_attr_setschedparam+set}" = set; then
41731 echo $ECHO_N "(cached) $ECHO_C" >&6
41733 cat >conftest.$ac_ext <<_ACEOF
41736 cat confdefs.h >>conftest.$ac_ext
41737 cat >>conftest.$ac_ext <<_ACEOF
41738 /* end confdefs.h. */
41739 /* Define pthread_attr_setschedparam to an innocuous variant, in case <limits.h> declares pthread_attr_setschedparam.
41740 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41741 #define pthread_attr_setschedparam innocuous_pthread_attr_setschedparam
41743 /* System header to define __stub macros and hopefully few prototypes,
41744 which can conflict with char pthread_attr_setschedparam (); below.
41745 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41746 <limits.h> exists even on freestanding compilers. */
41749 # include <limits.h>
41751 # include <assert.h>
41754 #undef pthread_attr_setschedparam
41756 /* Override any GCC internal prototype to avoid an error.
41757 Use char because int might match the return type of a GCC
41758 builtin and then its argument prototype would still apply. */
41762 char pthread_attr_setschedparam ();
41763 /* The GNU C library defines this for functions which it implements
41764 to always fail with ENOSYS. Some functions are actually named
41765 something starting with __ and the normal name is an alias. */
41766 #if defined __stub_pthread_attr_setschedparam || defined __stub___pthread_attr_setschedparam
41773 return pthread_attr_setschedparam ();
41778 rm -f conftest.$ac_objext conftest$ac_exeext
41779 if { (ac_try="$ac_link"
41780 case "(($ac_try" in
41781 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
41782 *) ac_try_echo
=$ac_try;;
41784 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41785 (eval "$ac_link") 2>conftest.er1
41787 grep -v '^ *+' conftest.er1
>conftest.err
41789 cat conftest.err
>&5
41790 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41791 (exit $ac_status); } && {
41792 test -z "$ac_c_werror_flag" ||
41793 test ! -s conftest.err
41794 } && test -s conftest
$ac_exeext &&
41795 $as_test_x conftest
$ac_exeext; then
41796 ac_cv_func_pthread_attr_setschedparam
=yes
41798 echo "$as_me: failed program was:" >&5
41799 sed 's/^/| /' conftest.
$ac_ext >&5
41801 ac_cv_func_pthread_attr_setschedparam
=no
41804 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
41805 conftest
$ac_exeext conftest.
$ac_ext
41807 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setschedparam" >&5
41808 echo "${ECHO_T}$ac_cv_func_pthread_attr_setschedparam" >&6; }
41809 if test $ac_cv_func_pthread_attr_setschedparam = yes; then
41810 { echo "$as_me:$LINENO: checking for sched_get_priority_max" >&5
41811 echo $ECHO_N "checking for sched_get_priority_max... $ECHO_C" >&6; }
41812 if test "${ac_cv_func_sched_get_priority_max+set}" = set; then
41813 echo $ECHO_N "(cached) $ECHO_C" >&6
41815 cat >conftest.
$ac_ext <<_ACEOF
41818 cat confdefs.h
>>conftest.
$ac_ext
41819 cat >>conftest.
$ac_ext <<_ACEOF
41820 /* end confdefs.h. */
41821 /* Define sched_get_priority_max to an innocuous variant, in case <limits.h> declares sched_get_priority_max.
41822 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41823 #define sched_get_priority_max innocuous_sched_get_priority_max
41825 /* System header to define __stub macros and hopefully few prototypes,
41826 which can conflict with char sched_get_priority_max (); below.
41827 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41828 <limits.h> exists even on freestanding compilers. */
41831 # include <limits.h>
41833 # include <assert.h>
41836 #undef sched_get_priority_max
41838 /* Override any GCC internal prototype to avoid an error.
41839 Use char because int might match the return type of a GCC
41840 builtin and then its argument prototype would still apply. */
41844 char sched_get_priority_max ();
41845 /* The GNU C library defines this for functions which it implements
41846 to always fail with ENOSYS. Some functions are actually named
41847 something starting with __ and the normal name is an alias. */
41848 #if defined __stub_sched_get_priority_max || defined __stub___sched_get_priority_max
41855 return sched_get_priority_max ();
41860 rm -f conftest.
$ac_objext conftest
$ac_exeext
41861 if { (ac_try
="$ac_link"
41862 case "(($ac_try" in
41863 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
41864 *) ac_try_echo=$ac_try;;
41866 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41867 (eval "$ac_link") 2>conftest.er1
41869 grep -v '^ *+' conftest.er1 >conftest.err
41871 cat conftest.err >&5
41872 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41873 (exit $ac_status); } && {
41874 test -z "$ac_c_werror_flag" ||
41875 test ! -s conftest.err
41876 } && test -s conftest$ac_exeext &&
41877 $as_test_x conftest$ac_exeext; then
41878 ac_cv_func_sched_get_priority_max=yes
41880 echo "$as_me: failed program was:" >&5
41881 sed 's/^/| /' conftest.$ac_ext >&5
41883 ac_cv_func_sched_get_priority_max=no
41886 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41887 conftest$ac_exeext conftest.$ac_ext
41889 { echo "$as_me:$LINENO: result: $ac_cv_func_sched_get_priority_max" >&5
41890 echo "${ECHO_T}$ac_cv_func_sched_get_priority_max" >&6; }
41891 if test $ac_cv_func_sched_get_priority_max = yes; then
41894 { echo "$as_me:$LINENO: checking for sched_get_priority_max in -lposix4" >&5
41895 echo $ECHO_N "checking for sched_get_priority_max in -lposix4... $ECHO_C" >&6; }
41896 if test "${ac_cv_lib_posix4_sched_get_priority_max+set}" = set; then
41897 echo $ECHO_N "(cached) $ECHO_C" >&6
41899 ac_check_lib_save_LIBS=$LIBS
41900 LIBS="-lposix4 $LIBS"
41901 cat >conftest.$ac_ext <<_ACEOF
41904 cat confdefs.h >>conftest.$ac_ext
41905 cat >>conftest.$ac_ext <<_ACEOF
41906 /* end confdefs.h. */
41908 /* Override any GCC internal prototype to avoid an error.
41909 Use char because int might match the return type of a GCC
41910 builtin and then its argument prototype would still apply. */
41914 char sched_get_priority_max ();
41918 return sched_get_priority_max ();
41923 rm -f conftest.$ac_objext conftest$ac_exeext
41924 if { (ac_try="$ac_link"
41925 case "(($ac_try" in
41926 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
41927 *) ac_try_echo
=$ac_try;;
41929 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41930 (eval "$ac_link") 2>conftest.er1
41932 grep -v '^ *+' conftest.er1
>conftest.err
41934 cat conftest.err
>&5
41935 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41936 (exit $ac_status); } && {
41937 test -z "$ac_c_werror_flag" ||
41938 test ! -s conftest.err
41939 } && test -s conftest
$ac_exeext &&
41940 $as_test_x conftest
$ac_exeext; then
41941 ac_cv_lib_posix4_sched_get_priority_max
=yes
41943 echo "$as_me: failed program was:" >&5
41944 sed 's/^/| /' conftest.
$ac_ext >&5
41946 ac_cv_lib_posix4_sched_get_priority_max
=no
41949 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
41950 conftest
$ac_exeext conftest.
$ac_ext
41951 LIBS
=$ac_check_lib_save_LIBS
41953 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_get_priority_max" >&5
41954 echo "${ECHO_T}$ac_cv_lib_posix4_sched_get_priority_max" >&6; }
41955 if test $ac_cv_lib_posix4_sched_get_priority_max = yes; then
41958 POSIX4_LINK
=" -lposix4"
41972 if test "$HAVE_PRIOR_FUNCS" = 1; then
41973 cat >>confdefs.h
<<\_ACEOF
41974 #define HAVE_THREAD_PRIORITY_FUNCTIONS 1
41978 { echo "$as_me:$LINENO: WARNING: Setting thread priority will not work" >&5
41979 echo "$as_me: WARNING: Setting thread priority will not work" >&2;}
41982 { echo "$as_me:$LINENO: checking for pthread_cancel" >&5
41983 echo $ECHO_N "checking for pthread_cancel... $ECHO_C" >&6; }
41984 if test "${ac_cv_func_pthread_cancel+set}" = set; then
41985 echo $ECHO_N "(cached) $ECHO_C" >&6
41987 cat >conftest.
$ac_ext <<_ACEOF
41990 cat confdefs.h
>>conftest.
$ac_ext
41991 cat >>conftest.
$ac_ext <<_ACEOF
41992 /* end confdefs.h. */
41993 /* Define pthread_cancel to an innocuous variant, in case <limits.h> declares pthread_cancel.
41994 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41995 #define pthread_cancel innocuous_pthread_cancel
41997 /* System header to define __stub macros and hopefully few prototypes,
41998 which can conflict with char pthread_cancel (); below.
41999 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42000 <limits.h> exists even on freestanding compilers. */
42003 # include <limits.h>
42005 # include <assert.h>
42008 #undef pthread_cancel
42010 /* Override any GCC internal prototype to avoid an error.
42011 Use char because int might match the return type of a GCC
42012 builtin and then its argument prototype would still apply. */
42016 char pthread_cancel ();
42017 /* The GNU C library defines this for functions which it implements
42018 to always fail with ENOSYS. Some functions are actually named
42019 something starting with __ and the normal name is an alias. */
42020 #if defined __stub_pthread_cancel || defined __stub___pthread_cancel
42027 return pthread_cancel ();
42032 rm -f conftest.
$ac_objext conftest
$ac_exeext
42033 if { (ac_try
="$ac_link"
42034 case "(($ac_try" in
42035 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
42036 *) ac_try_echo=$ac_try;;
42038 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42039 (eval "$ac_link") 2>conftest.er1
42041 grep -v '^ *+' conftest.er1 >conftest.err
42043 cat conftest.err >&5
42044 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42045 (exit $ac_status); } && {
42046 test -z "$ac_c_werror_flag" ||
42047 test ! -s conftest.err
42048 } && test -s conftest$ac_exeext &&
42049 $as_test_x conftest$ac_exeext; then
42050 ac_cv_func_pthread_cancel=yes
42052 echo "$as_me: failed program was:" >&5
42053 sed 's/^/| /' conftest.$ac_ext >&5
42055 ac_cv_func_pthread_cancel=no
42058 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42059 conftest$ac_exeext conftest.$ac_ext
42061 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_cancel" >&5
42062 echo "${ECHO_T}$ac_cv_func_pthread_cancel" >&6; }
42063 if test $ac_cv_func_pthread_cancel = yes; then
42064 cat >>confdefs.h <<\_ACEOF
42065 #define HAVE_PTHREAD_CANCEL 1
42069 { echo "$as_me:$LINENO: WARNING: wxThread::Kill() will not work properly" >&5
42070 echo "$as_me: WARNING: wxThread::Kill() will not work properly" >&2;}
42074 { echo "$as_me:$LINENO: checking for pthread_mutex_timedlock" >&5
42075 echo $ECHO_N "checking for pthread_mutex_timedlock... $ECHO_C" >&6; }
42076 if test "${ac_cv_func_pthread_mutex_timedlock+set}" = set; then
42077 echo $ECHO_N "(cached) $ECHO_C" >&6
42079 cat >conftest.$ac_ext <<_ACEOF
42082 cat confdefs.h >>conftest.$ac_ext
42083 cat >>conftest.$ac_ext <<_ACEOF
42084 /* end confdefs.h. */
42085 /* Define pthread_mutex_timedlock to an innocuous variant, in case <limits.h> declares pthread_mutex_timedlock.
42086 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42087 #define pthread_mutex_timedlock innocuous_pthread_mutex_timedlock
42089 /* System header to define __stub macros and hopefully few prototypes,
42090 which can conflict with char pthread_mutex_timedlock (); below.
42091 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42092 <limits.h> exists even on freestanding compilers. */
42095 # include <limits.h>
42097 # include <assert.h>
42100 #undef pthread_mutex_timedlock
42102 /* Override any GCC internal prototype to avoid an error.
42103 Use char because int might match the return type of a GCC
42104 builtin and then its argument prototype would still apply. */
42108 char pthread_mutex_timedlock ();
42109 /* The GNU C library defines this for functions which it implements
42110 to always fail with ENOSYS. Some functions are actually named
42111 something starting with __ and the normal name is an alias. */
42112 #if defined __stub_pthread_mutex_timedlock || defined __stub___pthread_mutex_timedlock
42119 return pthread_mutex_timedlock ();
42124 rm -f conftest.$ac_objext conftest$ac_exeext
42125 if { (ac_try="$ac_link"
42126 case "(($ac_try" in
42127 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
42128 *) ac_try_echo
=$ac_try;;
42130 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42131 (eval "$ac_link") 2>conftest.er1
42133 grep -v '^ *+' conftest.er1
>conftest.err
42135 cat conftest.err
>&5
42136 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42137 (exit $ac_status); } && {
42138 test -z "$ac_c_werror_flag" ||
42139 test ! -s conftest.err
42140 } && test -s conftest
$ac_exeext &&
42141 $as_test_x conftest
$ac_exeext; then
42142 ac_cv_func_pthread_mutex_timedlock
=yes
42144 echo "$as_me: failed program was:" >&5
42145 sed 's/^/| /' conftest.
$ac_ext >&5
42147 ac_cv_func_pthread_mutex_timedlock
=no
42150 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
42151 conftest
$ac_exeext conftest.
$ac_ext
42153 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_mutex_timedlock" >&5
42154 echo "${ECHO_T}$ac_cv_func_pthread_mutex_timedlock" >&6; }
42155 if test $ac_cv_func_pthread_mutex_timedlock = yes; then
42156 cat >>confdefs.h
<<\_ACEOF
42157 #define HAVE_PTHREAD_MUTEX_TIMEDLOCK 1
42161 { echo "$as_me:$LINENO: WARNING: wxMutex::LockTimeout() will not work" >&5
42162 echo "$as_me: WARNING: wxMutex::LockTimeout() will not work" >&2;}
42166 { echo "$as_me:$LINENO: checking for pthread_attr_setstacksize" >&5
42167 echo $ECHO_N "checking for pthread_attr_setstacksize... $ECHO_C" >&6; }
42168 if test "${ac_cv_func_pthread_attr_setstacksize+set}" = set; then
42169 echo $ECHO_N "(cached) $ECHO_C" >&6
42171 cat >conftest.
$ac_ext <<_ACEOF
42174 cat confdefs.h
>>conftest.
$ac_ext
42175 cat >>conftest.
$ac_ext <<_ACEOF
42176 /* end confdefs.h. */
42177 /* Define pthread_attr_setstacksize to an innocuous variant, in case <limits.h> declares pthread_attr_setstacksize.
42178 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42179 #define pthread_attr_setstacksize innocuous_pthread_attr_setstacksize
42181 /* System header to define __stub macros and hopefully few prototypes,
42182 which can conflict with char pthread_attr_setstacksize (); below.
42183 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42184 <limits.h> exists even on freestanding compilers. */
42187 # include <limits.h>
42189 # include <assert.h>
42192 #undef pthread_attr_setstacksize
42194 /* Override any GCC internal prototype to avoid an error.
42195 Use char because int might match the return type of a GCC
42196 builtin and then its argument prototype would still apply. */
42200 char pthread_attr_setstacksize ();
42201 /* The GNU C library defines this for functions which it implements
42202 to always fail with ENOSYS. Some functions are actually named
42203 something starting with __ and the normal name is an alias. */
42204 #if defined __stub_pthread_attr_setstacksize || defined __stub___pthread_attr_setstacksize
42211 return pthread_attr_setstacksize ();
42216 rm -f conftest.
$ac_objext conftest
$ac_exeext
42217 if { (ac_try
="$ac_link"
42218 case "(($ac_try" in
42219 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
42220 *) ac_try_echo=$ac_try;;
42222 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42223 (eval "$ac_link") 2>conftest.er1
42225 grep -v '^ *+' conftest.er1 >conftest.err
42227 cat conftest.err >&5
42228 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42229 (exit $ac_status); } && {
42230 test -z "$ac_c_werror_flag" ||
42231 test ! -s conftest.err
42232 } && test -s conftest$ac_exeext &&
42233 $as_test_x conftest$ac_exeext; then
42234 ac_cv_func_pthread_attr_setstacksize=yes
42236 echo "$as_me: failed program was:" >&5
42237 sed 's/^/| /' conftest.$ac_ext >&5
42239 ac_cv_func_pthread_attr_setstacksize=no
42242 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42243 conftest$ac_exeext conftest.$ac_ext
42245 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setstacksize" >&5
42246 echo "${ECHO_T}$ac_cv_func_pthread_attr_setstacksize" >&6; }
42247 if test $ac_cv_func_pthread_attr_setstacksize = yes; then
42248 cat >>confdefs.h <<\_ACEOF
42249 #define HAVE_PTHREAD_ATTR_SETSTACKSIZE 1
42256 { echo "$as_me:$LINENO: checking for pthread_mutexattr_t" >&5
42257 echo $ECHO_N "checking for pthread_mutexattr_t... $ECHO_C" >&6; }
42258 if test "${wx_cv_type_pthread_mutexattr_t+set}" = set; then
42259 echo $ECHO_N "(cached) $ECHO_C" >&6
42262 cat >conftest.$ac_ext <<_ACEOF
42265 cat confdefs.h >>conftest.$ac_ext
42266 cat >>conftest.$ac_ext <<_ACEOF
42267 /* end confdefs.h. */
42268 #include <pthread.h>
42273 pthread_mutexattr_t attr;
42274 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
42280 rm -f conftest.$ac_objext
42281 if { (ac_try="$ac_compile"
42282 case "(($ac_try" in
42283 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
42284 *) ac_try_echo
=$ac_try;;
42286 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42287 (eval "$ac_compile") 2>conftest.er1
42289 grep -v '^ *+' conftest.er1
>conftest.err
42291 cat conftest.err
>&5
42292 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42293 (exit $ac_status); } && {
42294 test -z "$ac_c_werror_flag" ||
42295 test ! -s conftest.err
42296 } && test -s conftest.
$ac_objext; then
42297 wx_cv_type_pthread_mutexattr_t
=yes
42299 echo "$as_me: failed program was:" >&5
42300 sed 's/^/| /' conftest.
$ac_ext >&5
42302 wx_cv_type_pthread_mutexattr_t
=no
42306 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
42309 { echo "$as_me:$LINENO: result: $wx_cv_type_pthread_mutexattr_t" >&5
42310 echo "${ECHO_T}$wx_cv_type_pthread_mutexattr_t" >&6; }
42312 if test "$wx_cv_type_pthread_mutexattr_t" = "yes"; then
42313 cat >>confdefs.h
<<\_ACEOF
42314 #define HAVE_PTHREAD_MUTEXATTR_T 1
42318 { echo "$as_me:$LINENO: checking for pthread_mutexattr_settype declaration" >&5
42319 echo $ECHO_N "checking for pthread_mutexattr_settype declaration... $ECHO_C" >&6; }
42320 if test "${wx_cv_func_pthread_mutexattr_settype_decl+set}" = set; then
42321 echo $ECHO_N "(cached) $ECHO_C" >&6
42324 cat >conftest.
$ac_ext <<_ACEOF
42327 cat confdefs.h
>>conftest.
$ac_ext
42328 cat >>conftest.
$ac_ext <<_ACEOF
42329 /* end confdefs.h. */
42330 #include <pthread.h>
42335 pthread_mutexattr_t attr;
42336 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
42342 rm -f conftest.
$ac_objext
42343 if { (ac_try
="$ac_compile"
42344 case "(($ac_try" in
42345 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
42346 *) ac_try_echo=$ac_try;;
42348 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42349 (eval "$ac_compile") 2>conftest.er1
42351 grep -v '^ *+' conftest.er1 >conftest.err
42353 cat conftest.err >&5
42354 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42355 (exit $ac_status); } && {
42356 test -z "$ac_c_werror_flag" ||
42357 test ! -s conftest.err
42358 } && test -s conftest.$ac_objext; then
42359 wx_cv_func_pthread_mutexattr_settype_decl=yes
42361 echo "$as_me: failed program was:" >&5
42362 sed 's/^/| /' conftest.$ac_ext >&5
42364 wx_cv_func_pthread_mutexattr_settype_decl=no
42368 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42371 { echo "$as_me:$LINENO: result: $wx_cv_func_pthread_mutexattr_settype_decl" >&5
42372 echo "${ECHO_T}$wx_cv_func_pthread_mutexattr_settype_decl" >&6; }
42373 if test "$wx_cv_func_pthread_mutexattr_settype_decl" = "yes"; then
42374 cat >>confdefs.h <<\_ACEOF
42375 #define HAVE_PTHREAD_MUTEXATTR_SETTYPE_DECL 1
42380 { echo "$as_me:$LINENO: checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER" >&5
42381 echo $ECHO_N "checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER... $ECHO_C" >&6; }
42382 if test "${wx_cv_type_pthread_rec_mutex_init+set}" = set; then
42383 echo $ECHO_N "(cached) $ECHO_C" >&6
42386 cat >conftest.$ac_ext <<_ACEOF
42389 cat confdefs.h >>conftest.$ac_ext
42390 cat >>conftest.$ac_ext <<_ACEOF
42391 /* end confdefs.h. */
42392 #include <pthread.h>
42397 pthread_mutex_t attr = PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP;
42403 rm -f conftest.$ac_objext
42404 if { (ac_try="$ac_compile"
42405 case "(($ac_try" in
42406 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
42407 *) ac_try_echo
=$ac_try;;
42409 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42410 (eval "$ac_compile") 2>conftest.er1
42412 grep -v '^ *+' conftest.er1
>conftest.err
42414 cat conftest.err
>&5
42415 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42416 (exit $ac_status); } && {
42417 test -z "$ac_c_werror_flag" ||
42418 test ! -s conftest.err
42419 } && test -s conftest.
$ac_objext; then
42421 wx_cv_type_pthread_rec_mutex_init
=yes
42424 echo "$as_me: failed program was:" >&5
42425 sed 's/^/| /' conftest.
$ac_ext >&5
42428 wx_cv_type_pthread_rec_mutex_init
=no
42433 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
42436 { echo "$as_me:$LINENO: result: $wx_cv_type_pthread_rec_mutex_init" >&5
42437 echo "${ECHO_T}$wx_cv_type_pthread_rec_mutex_init" >&6; }
42438 if test "$wx_cv_type_pthread_rec_mutex_init" = "yes"; then
42439 cat >>confdefs.h
<<\_ACEOF
42440 #define HAVE_PTHREAD_RECURSIVE_MUTEX_INITIALIZER 1
42444 { echo "$as_me:$LINENO: WARNING: wxMutex won't be recursive on this platform" >&5
42445 echo "$as_me: WARNING: wxMutex won't be recursive on this platform" >&2;}
42451 if test "$wxUSE_THREADS" = "yes" ; then
42454 { echo "$as_me:$LINENO: checking if compiler supports -mthreads" >&5
42455 echo $ECHO_N "checking if compiler supports -mthreads... $ECHO_C" >&6; }
42456 if test "${wx_cv_cflags_mthread+set}" = set; then
42457 echo $ECHO_N "(cached) $ECHO_C" >&6
42460 CFLAGS_OLD
="$CFLAGS"
42461 CFLAGS
="-mthreads $CFLAGS"
42462 cat >conftest.
$ac_ext <<_ACEOF
42465 cat confdefs.h
>>conftest.
$ac_ext
42466 cat >>conftest.
$ac_ext <<_ACEOF
42467 /* end confdefs.h. */
42477 rm -f conftest.
$ac_objext
42478 if { (ac_try
="$ac_compile"
42479 case "(($ac_try" in
42480 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
42481 *) ac_try_echo=$ac_try;;
42483 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42484 (eval "$ac_compile") 2>conftest.er1
42486 grep -v '^ *+' conftest.er1 >conftest.err
42488 cat conftest.err >&5
42489 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42490 (exit $ac_status); } && {
42491 test -z "$ac_c_werror_flag" ||
42492 test ! -s conftest.err
42493 } && test -s conftest.$ac_objext; then
42494 wx_cv_cflags_mthread=yes
42496 echo "$as_me: failed program was:" >&5
42497 sed 's/^/| /' conftest.$ac_ext >&5
42499 wx_cv_cflags_mthread=no
42503 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42507 { echo "$as_me:$LINENO: result: $wx_cv_cflags_mthread" >&5
42508 echo "${ECHO_T}$wx_cv_cflags_mthread" >&6; }
42510 if test "$wx_cv_cflags_mthread" = "yes"; then
42511 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -mthreads"
42512 LDFLAGS="$LDFLAGS -mthreads"
42514 CFLAGS="$CFLAGS_OLD"
42518 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -Zmt -D__ST_MT_ERRNO__"
42519 LDFLAGS="$LDFLAGS -Zmt"
42525 { echo "$as_me:$LINENO: checking for localtime_r" >&5
42526 echo $ECHO_N "checking for localtime_r... $ECHO_C" >&6; }
42527 if test "${ac_cv_func_localtime_r+set}" = set; then
42528 echo $ECHO_N "(cached) $ECHO_C" >&6
42530 cat >conftest.$ac_ext <<_ACEOF
42533 cat confdefs.h >>conftest.$ac_ext
42534 cat >>conftest.$ac_ext <<_ACEOF
42535 /* end confdefs.h. */
42536 /* Define localtime_r to an innocuous variant, in case <limits.h> declares localtime_r.
42537 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42538 #define localtime_r innocuous_localtime_r
42540 /* System header to define __stub macros and hopefully few prototypes,
42541 which can conflict with char localtime_r (); below.
42542 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42543 <limits.h> exists even on freestanding compilers. */
42546 # include <limits.h>
42548 # include <assert.h>
42553 /* Override any GCC internal prototype to avoid an error.
42554 Use char because int might match the return type of a GCC
42555 builtin and then its argument prototype would still apply. */
42559 char localtime_r ();
42560 /* The GNU C library defines this for functions which it implements
42561 to always fail with ENOSYS. Some functions are actually named
42562 something starting with __ and the normal name is an alias. */
42563 #if defined __stub_localtime_r || defined __stub___localtime_r
42570 return localtime_r ();
42575 rm -f conftest.$ac_objext conftest$ac_exeext
42576 if { (ac_try="$ac_link"
42577 case "(($ac_try" in
42578 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
42579 *) ac_try_echo
=$ac_try;;
42581 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42582 (eval "$ac_link") 2>conftest.er1
42584 grep -v '^ *+' conftest.er1
>conftest.err
42586 cat conftest.err
>&5
42587 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42588 (exit $ac_status); } && {
42589 test -z "$ac_c_werror_flag" ||
42590 test ! -s conftest.err
42591 } && test -s conftest
$ac_exeext &&
42592 $as_test_x conftest
$ac_exeext; then
42593 ac_cv_func_localtime_r
=yes
42595 echo "$as_me: failed program was:" >&5
42596 sed 's/^/| /' conftest.
$ac_ext >&5
42598 ac_cv_func_localtime_r
=no
42601 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
42602 conftest
$ac_exeext conftest.
$ac_ext
42604 { echo "$as_me:$LINENO: result: $ac_cv_func_localtime_r" >&5
42605 echo "${ECHO_T}$ac_cv_func_localtime_r" >&6; }
42606 if test $ac_cv_func_localtime_r = yes; then
42607 cat >>confdefs.h
<<\_ACEOF
42608 #define HAVE_LOCALTIME_R 1
42613 { echo "$as_me:$LINENO: checking for gmtime_r" >&5
42614 echo $ECHO_N "checking for gmtime_r... $ECHO_C" >&6; }
42615 if test "${ac_cv_func_gmtime_r+set}" = set; then
42616 echo $ECHO_N "(cached) $ECHO_C" >&6
42618 cat >conftest.
$ac_ext <<_ACEOF
42621 cat confdefs.h
>>conftest.
$ac_ext
42622 cat >>conftest.
$ac_ext <<_ACEOF
42623 /* end confdefs.h. */
42624 /* Define gmtime_r to an innocuous variant, in case <limits.h> declares gmtime_r.
42625 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42626 #define gmtime_r innocuous_gmtime_r
42628 /* System header to define __stub macros and hopefully few prototypes,
42629 which can conflict with char gmtime_r (); below.
42630 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42631 <limits.h> exists even on freestanding compilers. */
42634 # include <limits.h>
42636 # include <assert.h>
42641 /* Override any GCC internal prototype to avoid an error.
42642 Use char because int might match the return type of a GCC
42643 builtin and then its argument prototype would still apply. */
42648 /* The GNU C library defines this for functions which it implements
42649 to always fail with ENOSYS. Some functions are actually named
42650 something starting with __ and the normal name is an alias. */
42651 #if defined __stub_gmtime_r || defined __stub___gmtime_r
42658 return gmtime_r ();
42663 rm -f conftest.
$ac_objext conftest
$ac_exeext
42664 if { (ac_try
="$ac_link"
42665 case "(($ac_try" in
42666 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
42667 *) ac_try_echo=$ac_try;;
42669 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42670 (eval "$ac_link") 2>conftest.er1
42672 grep -v '^ *+' conftest.er1 >conftest.err
42674 cat conftest.err >&5
42675 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42676 (exit $ac_status); } && {
42677 test -z "$ac_c_werror_flag" ||
42678 test ! -s conftest.err
42679 } && test -s conftest$ac_exeext &&
42680 $as_test_x conftest$ac_exeext; then
42681 ac_cv_func_gmtime_r=yes
42683 echo "$as_me: failed program was:" >&5
42684 sed 's/^/| /' conftest.$ac_ext >&5
42686 ac_cv_func_gmtime_r=no
42689 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42690 conftest$ac_exeext conftest.$ac_ext
42692 { echo "$as_me:$LINENO: result: $ac_cv_func_gmtime_r" >&5
42693 echo "${ECHO_T}$ac_cv_func_gmtime_r" >&6; }
42694 if test $ac_cv_func_gmtime_r = yes; then
42695 cat >>confdefs.h <<\_ACEOF
42696 #define HAVE_GMTIME_R 1
42701 { echo "$as_me:$LINENO: checking for readdir_r" >&5
42702 echo $ECHO_N "checking for readdir_r... $ECHO_C" >&6; }
42703 if test "${ac_cv_func_readdir_r+set}" = set; then
42704 echo $ECHO_N "(cached) $ECHO_C" >&6
42706 cat >conftest.$ac_ext <<_ACEOF
42709 cat confdefs.h >>conftest.$ac_ext
42710 cat >>conftest.$ac_ext <<_ACEOF
42711 /* end confdefs.h. */
42712 /* Define readdir_r to an innocuous variant, in case <limits.h> declares readdir_r.
42713 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42714 #define readdir_r innocuous_readdir_r
42716 /* System header to define __stub macros and hopefully few prototypes,
42717 which can conflict with char readdir_r (); below.
42718 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42719 <limits.h> exists even on freestanding compilers. */
42722 # include <limits.h>
42724 # include <assert.h>
42729 /* Override any GCC internal prototype to avoid an error.
42730 Use char because int might match the return type of a GCC
42731 builtin and then its argument prototype would still apply. */
42736 /* The GNU C library defines this for functions which it implements
42737 to always fail with ENOSYS. Some functions are actually named
42738 something starting with __ and the normal name is an alias. */
42739 #if defined __stub_readdir_r || defined __stub___readdir_r
42746 return readdir_r ();
42751 rm -f conftest.$ac_objext conftest$ac_exeext
42752 if { (ac_try="$ac_link"
42753 case "(($ac_try" in
42754 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
42755 *) ac_try_echo
=$ac_try;;
42757 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42758 (eval "$ac_link") 2>conftest.er1
42760 grep -v '^ *+' conftest.er1
>conftest.err
42762 cat conftest.err
>&5
42763 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42764 (exit $ac_status); } && {
42765 test -z "$ac_c_werror_flag" ||
42766 test ! -s conftest.err
42767 } && test -s conftest
$ac_exeext &&
42768 $as_test_x conftest
$ac_exeext; then
42769 ac_cv_func_readdir_r
=yes
42771 echo "$as_me: failed program was:" >&5
42772 sed 's/^/| /' conftest.
$ac_ext >&5
42774 ac_cv_func_readdir_r
=no
42777 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
42778 conftest
$ac_exeext conftest.
$ac_ext
42780 { echo "$as_me:$LINENO: result: $ac_cv_func_readdir_r" >&5
42781 echo "${ECHO_T}$ac_cv_func_readdir_r" >&6; }
42782 if test $ac_cv_func_readdir_r = yes; then
42783 cat >>confdefs.h
<<\_ACEOF
42784 #define HAVE_READDIR_R 1
42793 ac_cpp
='$CPP $CPPFLAGS'
42794 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42795 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42796 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
42798 { echo "$as_me:$LINENO: checking how many arguments gethostbyname_r() takes" >&5
42799 echo $ECHO_N "checking how many arguments gethostbyname_r() takes... $ECHO_C" >&6; }
42801 if test "${ac_cv_func_which_gethostbyname_r+set}" = set; then
42802 echo $ECHO_N "(cached) $ECHO_C" >&6
42806 ################################################################
42808 ac_cv_func_which_gethostbyname_r
=unknown
42811 # ONE ARGUMENT (sanity check)
42814 # This should fail, as there is no variant of gethostbyname_r() that takes
42815 # a single argument. If it actually compiles, then we can assume that
42816 # netdb.h is not declaring the function, and the compiler is thereby
42817 # assuming an implicit prototype. In which case, we're out of luck.
42819 cat >conftest.
$ac_ext <<_ACEOF
42822 cat confdefs.h
>>conftest.
$ac_ext
42823 cat >>conftest.
$ac_ext <<_ACEOF
42824 /* end confdefs.h. */
42830 char *name = "www.gnu.org";
42831 (void)gethostbyname_r(name) /* ; */
42837 rm -f conftest.
$ac_objext
42838 if { (ac_try
="$ac_compile"
42839 case "(($ac_try" in
42840 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
42841 *) ac_try_echo=$ac_try;;
42843 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42844 (eval "$ac_compile") 2>conftest.er1
42846 grep -v '^ *+' conftest.er1 >conftest.err
42848 cat conftest.err >&5
42849 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42850 (exit $ac_status); } && {
42851 test -z "$ac_c_werror_flag" ||
42852 test ! -s conftest.err
42853 } && test -s conftest.$ac_objext; then
42854 ac_cv_func_which_gethostbyname_r=no
42856 echo "$as_me: failed program was:" >&5
42857 sed 's/^/| /' conftest.$ac_ext >&5
42862 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42869 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
42871 cat >conftest.$ac_ext <<_ACEOF
42874 cat confdefs.h >>conftest.$ac_ext
42875 cat >>conftest.$ac_ext <<_ACEOF
42876 /* end confdefs.h. */
42882 char *name = "www.gnu.org";
42883 struct hostent ret, *retp;
42887 (void)gethostbyname_r(name, &ret, buf, buflen, &retp, &my_h_errno) /* ; */
42893 rm -f conftest.$ac_objext
42894 if { (ac_try="$ac_compile"
42895 case "(($ac_try" in
42896 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
42897 *) ac_try_echo
=$ac_try;;
42899 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42900 (eval "$ac_compile") 2>conftest.er1
42902 grep -v '^ *+' conftest.er1
>conftest.err
42904 cat conftest.err
>&5
42905 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42906 (exit $ac_status); } && {
42907 test -z "$ac_c_werror_flag" ||
42908 test ! -s conftest.err
42909 } && test -s conftest.
$ac_objext; then
42910 ac_cv_func_which_gethostbyname_r
=six
42912 echo "$as_me: failed program was:" >&5
42913 sed 's/^/| /' conftest.
$ac_ext >&5
42918 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
42927 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
42929 cat >conftest.
$ac_ext <<_ACEOF
42932 cat confdefs.h
>>conftest.
$ac_ext
42933 cat >>conftest.
$ac_ext <<_ACEOF
42934 /* end confdefs.h. */
42940 char *name = "www.gnu.org";
42941 struct hostent ret;
42945 (void)gethostbyname_r(name, &ret, buf, buflen, &my_h_errno) /* ; */
42951 rm -f conftest.
$ac_objext
42952 if { (ac_try
="$ac_compile"
42953 case "(($ac_try" in
42954 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
42955 *) ac_try_echo=$ac_try;;
42957 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42958 (eval "$ac_compile") 2>conftest.er1
42960 grep -v '^ *+' conftest.er1 >conftest.err
42962 cat conftest.err >&5
42963 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42964 (exit $ac_status); } && {
42965 test -z "$ac_c_werror_flag" ||
42966 test ! -s conftest.err
42967 } && test -s conftest.$ac_objext; then
42968 ac_cv_func_which_gethostbyname_r=five
42970 echo "$as_me: failed program was:" >&5
42971 sed 's/^/| /' conftest.$ac_ext >&5
42976 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42982 # (e.g. AIX, HP-UX, Tru64)
42985 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
42987 cat >conftest.$ac_ext <<_ACEOF
42990 cat confdefs.h >>conftest.$ac_ext
42991 cat >>conftest.$ac_ext <<_ACEOF
42992 /* end confdefs.h. */
42998 char *name = "www.gnu.org";
42999 struct hostent ret;
43000 struct hostent_data data;
43001 (void)gethostbyname_r(name, &ret, &data) /* ; */
43007 rm -f conftest.$ac_objext
43008 if { (ac_try="$ac_compile"
43009 case "(($ac_try" in
43010 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
43011 *) ac_try_echo
=$ac_try;;
43013 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43014 (eval "$ac_compile") 2>conftest.er1
43016 grep -v '^ *+' conftest.er1
>conftest.err
43018 cat conftest.err
>&5
43019 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43020 (exit $ac_status); } && {
43021 test -z "$ac_c_werror_flag" ||
43022 test ! -s conftest.err
43023 } && test -s conftest.
$ac_objext; then
43024 ac_cv_func_which_gethostbyname_r
=three
43026 echo "$as_me: failed program was:" >&5
43027 sed 's/^/| /' conftest.
$ac_ext >&5
43032 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
43036 ################################################################
43041 case "$ac_cv_func_which_gethostbyname_r" in
43043 { echo "$as_me:$LINENO: result: three" >&5
43044 echo "${ECHO_T}three" >&6; }
43045 cat >>confdefs.h
<<\_ACEOF
43046 #define HAVE_FUNC_GETHOSTBYNAME_R_3 1
43052 { echo "$as_me:$LINENO: result: five" >&5
43053 echo "${ECHO_T}five" >&6; }
43054 cat >>confdefs.h
<<\_ACEOF
43055 #define HAVE_FUNC_GETHOSTBYNAME_R_5 1
43061 { echo "$as_me:$LINENO: result: six" >&5
43062 echo "${ECHO_T}six" >&6; }
43063 cat >>confdefs.h
<<\_ACEOF
43064 #define HAVE_FUNC_GETHOSTBYNAME_R_6 1
43070 { echo "$as_me:$LINENO: result: cannot find function declaration in netdb.h" >&5
43071 echo "${ECHO_T}cannot find function declaration in netdb.h" >&6; }
43075 { echo "$as_me:$LINENO: result: can't tell" >&5
43076 echo "${ECHO_T}can't tell" >&6; }
43080 { { echo "$as_me:$LINENO: error: internal error" >&5
43081 echo "$as_me: error: internal error" >&2;}
43082 { (exit 1); exit 1; }; }
43087 ac_cpp
='$CPP $CPPFLAGS'
43088 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43089 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43090 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
43094 if test "x$ac_cv_func_which_gethostbyname_r" = "xno" -o \
43095 "x$ac_cv_func_which_gethostbyname_r" = "xunknown" ; then
43096 { echo "$as_me:$LINENO: checking for gethostbyname" >&5
43097 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6; }
43098 if test "${ac_cv_func_gethostbyname+set}" = set; then
43099 echo $ECHO_N "(cached) $ECHO_C" >&6
43101 cat >conftest.
$ac_ext <<_ACEOF
43104 cat confdefs.h
>>conftest.
$ac_ext
43105 cat >>conftest.
$ac_ext <<_ACEOF
43106 /* end confdefs.h. */
43107 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
43108 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43109 #define gethostbyname innocuous_gethostbyname
43111 /* System header to define __stub macros and hopefully few prototypes,
43112 which can conflict with char gethostbyname (); below.
43113 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43114 <limits.h> exists even on freestanding compilers. */
43117 # include <limits.h>
43119 # include <assert.h>
43122 #undef gethostbyname
43124 /* Override any GCC internal prototype to avoid an error.
43125 Use char because int might match the return type of a GCC
43126 builtin and then its argument prototype would still apply. */
43130 char gethostbyname ();
43131 /* The GNU C library defines this for functions which it implements
43132 to always fail with ENOSYS. Some functions are actually named
43133 something starting with __ and the normal name is an alias. */
43134 #if defined __stub_gethostbyname || defined __stub___gethostbyname
43141 return gethostbyname ();
43146 rm -f conftest.
$ac_objext conftest
$ac_exeext
43147 if { (ac_try
="$ac_link"
43148 case "(($ac_try" in
43149 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
43150 *) ac_try_echo=$ac_try;;
43152 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43153 (eval "$ac_link") 2>conftest.er1
43155 grep -v '^ *+' conftest.er1 >conftest.err
43157 cat conftest.err >&5
43158 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43159 (exit $ac_status); } && {
43160 test -z "$ac_c_werror_flag" ||
43161 test ! -s conftest.err
43162 } && test -s conftest$ac_exeext &&
43163 $as_test_x conftest$ac_exeext; then
43164 ac_cv_func_gethostbyname=yes
43166 echo "$as_me: failed program was:" >&5
43167 sed 's/^/| /' conftest.$ac_ext >&5
43169 ac_cv_func_gethostbyname=no
43172 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
43173 conftest$ac_exeext conftest.$ac_ext
43175 { echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
43176 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6; }
43177 if test $ac_cv_func_gethostbyname = yes; then
43178 cat >>confdefs.h <<\_ACEOF
43179 #define HAVE_GETHOSTBYNAME 1
43186 { echo "$as_me:$LINENO: checking how many arguments getservbyname_r() takes" >&5
43187 echo $ECHO_N "checking how many arguments getservbyname_r() takes... $ECHO_C" >&6; }
43188 if test "${ac_cv_func_which_getservbyname_r+set}" = set; then
43189 echo $ECHO_N "(cached) $ECHO_C" >&6
43193 ac_cpp='$CXXCPP $CPPFLAGS'
43194 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43195 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43196 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43199 cat >conftest.$ac_ext <<_ACEOF
43202 cat confdefs.h >>conftest.$ac_ext
43203 cat >>conftest.$ac_ext <<_ACEOF
43204 /* end confdefs.h. */
43212 struct servent *se, *res;
43215 (void) getservbyname_r(name, proto, se, buffer, buflen, &res)
43221 rm -f conftest.$ac_objext
43222 if { (ac_try="$ac_compile"
43223 case "(($ac_try" in
43224 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
43225 *) ac_try_echo
=$ac_try;;
43227 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43228 (eval "$ac_compile") 2>conftest.er1
43230 grep -v '^ *+' conftest.er1
>conftest.err
43232 cat conftest.err
>&5
43233 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43234 (exit $ac_status); } && {
43235 test -z "$ac_cxx_werror_flag" ||
43236 test ! -s conftest.err
43237 } && test -s conftest.
$ac_objext; then
43238 ac_cv_func_which_getservbyname_r
=six
43240 echo "$as_me: failed program was:" >&5
43241 sed 's/^/| /' conftest.
$ac_ext >&5
43244 cat >conftest.
$ac_ext <<_ACEOF
43247 cat confdefs.h
>>conftest.
$ac_ext
43248 cat >>conftest.
$ac_ext <<_ACEOF
43249 /* end confdefs.h. */
43257 struct servent *se;
43260 (void) getservbyname_r(name, proto, se, buffer, buflen)
43266 rm -f conftest.
$ac_objext
43267 if { (ac_try
="$ac_compile"
43268 case "(($ac_try" in
43269 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
43270 *) ac_try_echo=$ac_try;;
43272 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43273 (eval "$ac_compile") 2>conftest.er1
43275 grep -v '^ *+' conftest.er1 >conftest.err
43277 cat conftest.err >&5
43278 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43279 (exit $ac_status); } && {
43280 test -z "$ac_cxx_werror_flag" ||
43281 test ! -s conftest.err
43282 } && test -s conftest.$ac_objext; then
43283 ac_cv_func_which_getservbyname_r=five
43285 echo "$as_me: failed program was:" >&5
43286 sed 's/^/| /' conftest.$ac_ext >&5
43289 cat >conftest.$ac_ext <<_ACEOF
43292 cat confdefs.h >>conftest.$ac_ext
43293 cat >>conftest.$ac_ext <<_ACEOF
43294 /* end confdefs.h. */
43302 struct servent *se;
43303 struct servent_data data;
43304 (void) getservbyname_r(name, proto, se, &data);
43310 rm -f conftest.$ac_objext
43311 if { (ac_try="$ac_compile"
43312 case "(($ac_try" in
43313 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
43314 *) ac_try_echo
=$ac_try;;
43316 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43317 (eval "$ac_compile") 2>conftest.er1
43319 grep -v '^ *+' conftest.er1
>conftest.err
43321 cat conftest.err
>&5
43322 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43323 (exit $ac_status); } && {
43324 test -z "$ac_cxx_werror_flag" ||
43325 test ! -s conftest.err
43326 } && test -s conftest.
$ac_objext; then
43327 ac_cv_func_which_getservbyname_r
=four
43329 echo "$as_me: failed program was:" >&5
43330 sed 's/^/| /' conftest.
$ac_ext >&5
43332 ac_cv_func_which_getservbyname_r
=no
43336 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
43341 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
43346 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
43348 ac_cpp
='$CPP $CPPFLAGS'
43349 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43350 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43351 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
43356 { echo "$as_me:$LINENO: result: $ac_cv_func_which_getservbyname_r" >&5
43357 echo "${ECHO_T}$ac_cv_func_which_getservbyname_r" >&6; }
43359 if test $ac_cv_func_which_getservbyname_r = six
; then
43360 cat >>confdefs.h
<<\_ACEOF
43361 #define HAVE_FUNC_GETSERVBYNAME_R_6 1
43364 elif test $ac_cv_func_which_getservbyname_r = five
; then
43365 cat >>confdefs.h
<<\_ACEOF
43366 #define HAVE_FUNC_GETSERVBYNAME_R_5 1
43369 elif test $ac_cv_func_which_getservbyname_r = four
; then
43370 cat >>confdefs.h
<<\_ACEOF
43371 #define HAVE_FUNC_GETSERVBYNAME_R_4 1
43377 if test "x$ac_cv_func_which_getservbyname_r" = "xno" -o \
43378 "x$ac_cv_func_which_getservbyname_r" = "xunknown" ; then
43380 for ac_func
in getservbyname
43382 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43383 { echo "$as_me:$LINENO: checking for $ac_func" >&5
43384 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
43385 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
43386 echo $ECHO_N "(cached) $ECHO_C" >&6
43388 cat >conftest.
$ac_ext <<_ACEOF
43391 cat confdefs.h
>>conftest.
$ac_ext
43392 cat >>conftest.
$ac_ext <<_ACEOF
43393 /* end confdefs.h. */
43394 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43395 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43396 #define $ac_func innocuous_$ac_func
43398 /* System header to define __stub macros and hopefully few prototypes,
43399 which can conflict with char $ac_func (); below.
43400 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43401 <limits.h> exists even on freestanding compilers. */
43404 # include <limits.h>
43406 # include <assert.h>
43411 /* Override any GCC internal prototype to avoid an error.
43412 Use char because int might match the return type of a GCC
43413 builtin and then its argument prototype would still apply. */
43418 /* The GNU C library defines this for functions which it implements
43419 to always fail with ENOSYS. Some functions are actually named
43420 something starting with __ and the normal name is an alias. */
43421 #if defined __stub_$ac_func || defined __stub___$ac_func
43428 return $ac_func ();
43433 rm -f conftest.
$ac_objext conftest
$ac_exeext
43434 if { (ac_try
="$ac_link"
43435 case "(($ac_try" in
43436 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
43437 *) ac_try_echo=$ac_try;;
43439 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43440 (eval "$ac_link") 2>conftest.er1
43442 grep -v '^ *+' conftest.er1 >conftest.err
43444 cat conftest.err >&5
43445 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43446 (exit $ac_status); } && {
43447 test -z "$ac_c_werror_flag" ||
43448 test ! -s conftest.err
43449 } && test -s conftest$ac_exeext &&
43450 $as_test_x conftest$ac_exeext; then
43451 eval "$as_ac_var=yes"
43453 echo "$as_me: failed program was:" >&5
43454 sed 's/^/| /' conftest.$ac_ext >&5
43456 eval "$as_ac_var=no"
43459 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
43460 conftest$ac_exeext conftest.$ac_ext
43462 ac_res=`eval echo '${'$as_ac_var'}'`
43463 { echo "$as_me:$LINENO: result: $ac_res" >&5
43464 echo "${ECHO_T}$ac_res" >&6; }
43465 if test `eval echo '${'$as_ac_var'}'` = yes; then
43466 cat >>confdefs.h <<_ACEOF
43467 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43469 cat >>confdefs.h <<\_ACEOF
43470 #define HAVE_GETSERVBYNAME 1
43478 if test "$wxUSE_THREADS" = "yes"; then
43479 cat >>confdefs.h <<\_ACEOF
43480 #define wxUSE_THREADS 1
43484 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS thread"
43486 if test "$wx_cv_func_strtok_r" = "yes"; then
43487 { echo "$as_me:$LINENO: checking if -D_REENTRANT is needed" >&5
43488 echo $ECHO_N "checking if -D_REENTRANT is needed... $ECHO_C" >&6; }
43489 if test "$NEEDS_D_REENTRANT_FOR_R_FUNCS" = 1; then
43490 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_REENTRANT"
43491 { echo "$as_me:$LINENO: result: yes" >&5
43492 echo "${ECHO_T}yes" >&6; }
43494 { echo "$as_me:$LINENO: result: no" >&5
43495 echo "${ECHO_T}no" >&6; }
43500 if test "$WXGTK20" = 1 ; then
43501 cat >>confdefs.h <<_ACEOF
43502 #define __WXGTK20__ $WXGTK20
43508 if test "$WXGTK12" = 1 ; then
43509 cat >>confdefs.h <<_ACEOF
43510 #define __WXGTK12__ $WXGTK12
43515 if test "$WXGTK127" = 1 ; then
43516 cat >>confdefs.h <<_ACEOF
43517 #define __WXGTK127__ $WXGTK127
43522 if test "$WXGPE" = 1 ; then
43523 cat >>confdefs.h <<_ACEOF
43524 #define __WXGPE__ $WXGPE
43530 if test "$wxUSE_DEBUG_INFO" = "yes" ; then
43535 if test "$wxUSE_DEBUG_GDB" = "yes" ; then
43536 wxUSE_DEBUG_INFO=yes
43537 if test "$GCC" = yes; then
43538 DEBUG_CFLAGS="-ggdb"
43542 if test "$wxUSE_DEBUG_FLAG" = "yes" ; then
43543 cat >>confdefs.h <<\_ACEOF
43547 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D__WXDEBUG__"
43549 if test "$wxUSE_GTK" = 1 ; then
43550 if test "x$wxGTK_VERSION" = "x1" ; then
43551 CPPFLAGS="-DGTK_NO_CHECK_CASTS $CPPFLAGS"
43556 if test "$wxUSE_MEM_TRACING" = "yes" ; then
43557 cat >>confdefs.h <<\_ACEOF
43558 #define wxUSE_MEMORY_TRACING 1
43561 cat >>confdefs.h <<\_ACEOF
43562 #define wxUSE_GLOBAL_MEMORY_OPERATORS 1
43565 cat >>confdefs.h <<\_ACEOF
43566 #define wxUSE_DEBUG_NEW_ALWAYS 1
43569 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS memcheck"
43572 if test "$wxUSE_DMALLOC" = "yes" ; then
43573 DMALLOC_LIBS="-ldmallocthcxx"
43577 if test "$wxUSE_PROFILE" = "yes" ; then
43578 PROFILE_FLAGS=" -pg"
43581 if test "$GCC" = "yes" ; then
43582 if test "$wxUSE_NO_RTTI" = "yes" ; then
43583 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -fno-rtti"
43585 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
43586 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -fno-exceptions"
43588 if test "$wxUSE_PERMISSIVE" = "yes" ; then
43589 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -fpermissive"
43594 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -mminimal-toc"
43597 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -ffunction-sections"
43603 if test "$wxUSE_OPTIMISE" = "no" ; then
43604 if test "$GCC" = yes ; then
43605 OPTIMISE_CFLAGS="-O0"
43608 if test "$GCC" = yes ; then
43610 *-pc-os2_emx | *-pc-os2-emx )
43611 OPTIMISE_CFLAGS="-O2"
43614 OPTIMISE_CFLAGS="-O2 -fno-strict-aliasing"
43618 OPTIMISE_CFLAGS="-O"
43623 if test "x$WXWIN_COMPATIBILITY_2_6" = "xyes"; then
43624 cat >>confdefs.h <<\_ACEOF
43625 #define WXWIN_COMPATIBILITY_2_6 1
43629 WXWIN_COMPATIBILITY_2_8="yes"
43632 if test "x$WXWIN_COMPATIBILITY_2_8" != "xno"; then
43633 cat >>confdefs.h <<\_ACEOF
43634 #define WXWIN_COMPATIBILITY_2_8 1
43640 if test "$wxUSE_GUI" = "yes"; then
43641 cat >>confdefs.h <<\_ACEOF
43642 #define wxUSE_GUI 1
43649 if test "$wxUSE_UNIX" = "yes"; then
43650 cat >>confdefs.h <<\_ACEOF
43651 #define wxUSE_UNIX 1
43657 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
43661 if test "$wxUSE_DYNAMIC_LOADER" = "yes" -o "$wxUSE_DYNLIB_CLASS" = "yes" ; then
43662 if test "$USE_DARWIN" = 1; then
43664 elif test "$USE_DOS" = 1; then
43668 for ac_func in dlopen
43670 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43671 { echo "$as_me:$LINENO: checking for $ac_func" >&5
43672 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
43673 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
43674 echo $ECHO_N "(cached) $ECHO_C" >&6
43676 cat >conftest.$ac_ext <<_ACEOF
43679 cat confdefs.h >>conftest.$ac_ext
43680 cat >>conftest.$ac_ext <<_ACEOF
43681 /* end confdefs.h. */
43682 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43683 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43684 #define $ac_func innocuous_$ac_func
43686 /* System header to define __stub macros and hopefully few prototypes,
43687 which can conflict with char $ac_func (); below.
43688 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43689 <limits.h> exists even on freestanding compilers. */
43692 # include <limits.h>
43694 # include <assert.h>
43699 /* Override any GCC internal prototype to avoid an error.
43700 Use char because int might match the return type of a GCC
43701 builtin and then its argument prototype would still apply. */
43706 /* The GNU C library defines this for functions which it implements
43707 to always fail with ENOSYS. Some functions are actually named
43708 something starting with __ and the normal name is an alias. */
43709 #if defined __stub_$ac_func || defined __stub___$ac_func
43716 return $ac_func ();
43721 rm -f conftest.$ac_objext conftest$ac_exeext
43722 if { (ac_try="$ac_link"
43723 case "(($ac_try" in
43724 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
43725 *) ac_try_echo
=$ac_try;;
43727 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43728 (eval "$ac_link") 2>conftest.er1
43730 grep -v '^ *+' conftest.er1
>conftest.err
43732 cat conftest.err
>&5
43733 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43734 (exit $ac_status); } && {
43735 test -z "$ac_c_werror_flag" ||
43736 test ! -s conftest.err
43737 } && test -s conftest
$ac_exeext &&
43738 $as_test_x conftest
$ac_exeext; then
43739 eval "$as_ac_var=yes"
43741 echo "$as_me: failed program was:" >&5
43742 sed 's/^/| /' conftest.
$ac_ext >&5
43744 eval "$as_ac_var=no"
43747 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
43748 conftest
$ac_exeext conftest.
$ac_ext
43750 ac_res
=`eval echo '${'$as_ac_var'}'`
43751 { echo "$as_me:$LINENO: result: $ac_res" >&5
43752 echo "${ECHO_T}$ac_res" >&6; }
43753 if test `eval echo '${'$as_ac_var'}'` = yes; then
43754 cat >>confdefs.h
<<_ACEOF
43755 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43758 cat >>confdefs.h
<<\_ACEOF
43759 #define HAVE_DLOPEN 1
43766 { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
43767 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
43768 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
43769 echo $ECHO_N "(cached) $ECHO_C" >&6
43771 ac_check_lib_save_LIBS
=$LIBS
43773 cat >conftest.
$ac_ext <<_ACEOF
43776 cat confdefs.h
>>conftest.
$ac_ext
43777 cat >>conftest.
$ac_ext <<_ACEOF
43778 /* end confdefs.h. */
43780 /* Override any GCC internal prototype to avoid an error.
43781 Use char because int might match the return type of a GCC
43782 builtin and then its argument prototype would still apply. */
43795 rm -f conftest.
$ac_objext conftest
$ac_exeext
43796 if { (ac_try
="$ac_link"
43797 case "(($ac_try" in
43798 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
43799 *) ac_try_echo=$ac_try;;
43801 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43802 (eval "$ac_link") 2>conftest.er1
43804 grep -v '^ *+' conftest.er1 >conftest.err
43806 cat conftest.err >&5
43807 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43808 (exit $ac_status); } && {
43809 test -z "$ac_c_werror_flag" ||
43810 test ! -s conftest.err
43811 } && test -s conftest$ac_exeext &&
43812 $as_test_x conftest$ac_exeext; then
43813 ac_cv_lib_dl_dlopen=yes
43815 echo "$as_me: failed program was:" >&5
43816 sed 's/^/| /' conftest.$ac_ext >&5
43818 ac_cv_lib_dl_dlopen=no
43821 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
43822 conftest$ac_exeext conftest.$ac_ext
43823 LIBS=$ac_check_lib_save_LIBS
43825 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
43826 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
43827 if test $ac_cv_lib_dl_dlopen = yes; then
43829 cat >>confdefs.h <<\_ACEOF
43830 #define HAVE_DLOPEN 1
43834 DL_LINK=" -ldl$DL_LINK"
43839 for ac_func in shl_load
43841 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43842 { echo "$as_me:$LINENO: checking for $ac_func" >&5
43843 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
43844 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
43845 echo $ECHO_N "(cached) $ECHO_C" >&6
43847 cat >conftest.$ac_ext <<_ACEOF
43850 cat confdefs.h >>conftest.$ac_ext
43851 cat >>conftest.$ac_ext <<_ACEOF
43852 /* end confdefs.h. */
43853 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43854 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43855 #define $ac_func innocuous_$ac_func
43857 /* System header to define __stub macros and hopefully few prototypes,
43858 which can conflict with char $ac_func (); below.
43859 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43860 <limits.h> exists even on freestanding compilers. */
43863 # include <limits.h>
43865 # include <assert.h>
43870 /* Override any GCC internal prototype to avoid an error.
43871 Use char because int might match the return type of a GCC
43872 builtin and then its argument prototype would still apply. */
43877 /* The GNU C library defines this for functions which it implements
43878 to always fail with ENOSYS. Some functions are actually named
43879 something starting with __ and the normal name is an alias. */
43880 #if defined __stub_$ac_func || defined __stub___$ac_func
43887 return $ac_func ();
43892 rm -f conftest.$ac_objext conftest$ac_exeext
43893 if { (ac_try="$ac_link"
43894 case "(($ac_try" in
43895 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
43896 *) ac_try_echo
=$ac_try;;
43898 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43899 (eval "$ac_link") 2>conftest.er1
43901 grep -v '^ *+' conftest.er1
>conftest.err
43903 cat conftest.err
>&5
43904 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43905 (exit $ac_status); } && {
43906 test -z "$ac_c_werror_flag" ||
43907 test ! -s conftest.err
43908 } && test -s conftest
$ac_exeext &&
43909 $as_test_x conftest
$ac_exeext; then
43910 eval "$as_ac_var=yes"
43912 echo "$as_me: failed program was:" >&5
43913 sed 's/^/| /' conftest.
$ac_ext >&5
43915 eval "$as_ac_var=no"
43918 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
43919 conftest
$ac_exeext conftest.
$ac_ext
43921 ac_res
=`eval echo '${'$as_ac_var'}'`
43922 { echo "$as_me:$LINENO: result: $ac_res" >&5
43923 echo "${ECHO_T}$ac_res" >&6; }
43924 if test `eval echo '${'$as_ac_var'}'` = yes; then
43925 cat >>confdefs.h
<<_ACEOF
43926 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43929 cat >>confdefs.h
<<\_ACEOF
43930 #define HAVE_SHL_LOAD 1
43937 { echo "$as_me:$LINENO: checking for dld in -lshl_load" >&5
43938 echo $ECHO_N "checking for dld in -lshl_load... $ECHO_C" >&6; }
43939 if test "${ac_cv_lib_shl_load_dld+set}" = set; then
43940 echo $ECHO_N "(cached) $ECHO_C" >&6
43942 ac_check_lib_save_LIBS
=$LIBS
43943 LIBS
="-lshl_load $LIBS"
43944 cat >conftest.
$ac_ext <<_ACEOF
43947 cat confdefs.h
>>conftest.
$ac_ext
43948 cat >>conftest.
$ac_ext <<_ACEOF
43949 /* end confdefs.h. */
43951 /* Override any GCC internal prototype to avoid an error.
43952 Use char because int might match the return type of a GCC
43953 builtin and then its argument prototype would still apply. */
43966 rm -f conftest.
$ac_objext conftest
$ac_exeext
43967 if { (ac_try
="$ac_link"
43968 case "(($ac_try" in
43969 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
43970 *) ac_try_echo=$ac_try;;
43972 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43973 (eval "$ac_link") 2>conftest.er1
43975 grep -v '^ *+' conftest.er1 >conftest.err
43977 cat conftest.err >&5
43978 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43979 (exit $ac_status); } && {
43980 test -z "$ac_c_werror_flag" ||
43981 test ! -s conftest.err
43982 } && test -s conftest$ac_exeext &&
43983 $as_test_x conftest$ac_exeext; then
43984 ac_cv_lib_shl_load_dld=yes
43986 echo "$as_me: failed program was:" >&5
43987 sed 's/^/| /' conftest.$ac_ext >&5
43989 ac_cv_lib_shl_load_dld=no
43992 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
43993 conftest$ac_exeext conftest.$ac_ext
43994 LIBS=$ac_check_lib_save_LIBS
43996 { echo "$as_me:$LINENO: result: $ac_cv_lib_shl_load_dld" >&5
43997 echo "${ECHO_T}$ac_cv_lib_shl_load_dld" >&6; }
43998 if test $ac_cv_lib_shl_load_dld = yes; then
44001 DL_LINK=" -ldld$DL_LINK"
44017 if test "$HAVE_DL_FUNCS" = 1; then
44019 for ac_func in dlerror
44021 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
44022 { echo "$as_me:$LINENO: checking for $ac_func" >&5
44023 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
44024 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
44025 echo $ECHO_N "(cached) $ECHO_C" >&6
44027 cat >conftest.$ac_ext <<_ACEOF
44030 cat confdefs.h >>conftest.$ac_ext
44031 cat >>conftest.$ac_ext <<_ACEOF
44032 /* end confdefs.h. */
44033 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
44034 For example, HP-UX 11i <limits.h> declares gettimeofday. */
44035 #define $ac_func innocuous_$ac_func
44037 /* System header to define __stub macros and hopefully few prototypes,
44038 which can conflict with char $ac_func (); below.
44039 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44040 <limits.h> exists even on freestanding compilers. */
44043 # include <limits.h>
44045 # include <assert.h>
44050 /* Override any GCC internal prototype to avoid an error.
44051 Use char because int might match the return type of a GCC
44052 builtin and then its argument prototype would still apply. */
44057 /* The GNU C library defines this for functions which it implements
44058 to always fail with ENOSYS. Some functions are actually named
44059 something starting with __ and the normal name is an alias. */
44060 #if defined __stub_$ac_func || defined __stub___$ac_func
44067 return $ac_func ();
44072 rm -f conftest.$ac_objext conftest$ac_exeext
44073 if { (ac_try="$ac_link"
44074 case "(($ac_try" in
44075 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
44076 *) ac_try_echo
=$ac_try;;
44078 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44079 (eval "$ac_link") 2>conftest.er1
44081 grep -v '^ *+' conftest.er1
>conftest.err
44083 cat conftest.err
>&5
44084 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44085 (exit $ac_status); } && {
44086 test -z "$ac_c_werror_flag" ||
44087 test ! -s conftest.err
44088 } && test -s conftest
$ac_exeext &&
44089 $as_test_x conftest
$ac_exeext; then
44090 eval "$as_ac_var=yes"
44092 echo "$as_me: failed program was:" >&5
44093 sed 's/^/| /' conftest.
$ac_ext >&5
44095 eval "$as_ac_var=no"
44098 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
44099 conftest
$ac_exeext conftest.
$ac_ext
44101 ac_res
=`eval echo '${'$as_ac_var'}'`
44102 { echo "$as_me:$LINENO: result: $ac_res" >&5
44103 echo "${ECHO_T}$ac_res" >&6; }
44104 if test `eval echo '${'$as_ac_var'}'` = yes; then
44105 cat >>confdefs.h
<<_ACEOF
44106 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
44108 cat >>confdefs.h
<<\_ACEOF
44109 #define HAVE_DLERROR 1
44114 { echo "$as_me:$LINENO: checking for dlerror in -ldl" >&5
44115 echo $ECHO_N "checking for dlerror in -ldl... $ECHO_C" >&6; }
44116 if test "${ac_cv_lib_dl_dlerror+set}" = set; then
44117 echo $ECHO_N "(cached) $ECHO_C" >&6
44119 ac_check_lib_save_LIBS
=$LIBS
44121 cat >conftest.
$ac_ext <<_ACEOF
44124 cat confdefs.h
>>conftest.
$ac_ext
44125 cat >>conftest.
$ac_ext <<_ACEOF
44126 /* end confdefs.h. */
44128 /* Override any GCC internal prototype to avoid an error.
44129 Use char because int might match the return type of a GCC
44130 builtin and then its argument prototype would still apply. */
44143 rm -f conftest.
$ac_objext conftest
$ac_exeext
44144 if { (ac_try
="$ac_link"
44145 case "(($ac_try" in
44146 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
44147 *) ac_try_echo=$ac_try;;
44149 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44150 (eval "$ac_link") 2>conftest.er1
44152 grep -v '^ *+' conftest.er1 >conftest.err
44154 cat conftest.err >&5
44155 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44156 (exit $ac_status); } && {
44157 test -z "$ac_c_werror_flag" ||
44158 test ! -s conftest.err
44159 } && test -s conftest$ac_exeext &&
44160 $as_test_x conftest$ac_exeext; then
44161 ac_cv_lib_dl_dlerror=yes
44163 echo "$as_me: failed program was:" >&5
44164 sed 's/^/| /' conftest.$ac_ext >&5
44166 ac_cv_lib_dl_dlerror=no
44169 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
44170 conftest$ac_exeext conftest.$ac_ext
44171 LIBS=$ac_check_lib_save_LIBS
44173 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlerror" >&5
44174 echo "${ECHO_T}$ac_cv_lib_dl_dlerror" >&6; }
44175 if test $ac_cv_lib_dl_dlerror = yes; then
44176 cat >>confdefs.h <<\_ACEOF
44177 #define HAVE_DLERROR 1
44190 if test "$HAVE_DL_FUNCS" = 0; then
44191 if test "$HAVE_SHL_FUNCS" = 0; then
44192 if test "$USE_UNIX" = 1 -o "$USE_DOS" = 1; then
44193 { echo "$as_me:$LINENO: WARNING: Missing dynamic loading support, several features will be disabled" >&5
44194 echo "$as_me: WARNING: Missing dynamic loading support, several features will be disabled" >&2;}
44195 wxUSE_DYNAMIC_LOADER=no
44196 wxUSE_DYNLIB_CLASS=no
44198 { echo "$as_me:$LINENO: WARNING: Assuming wxLibrary class works on this platform" >&5
44199 echo "$as_me: WARNING: Assuming wxLibrary class works on this platform" >&2;}
44206 if test "$wxUSE_DYNAMIC_LOADER" = "yes" ; then
44207 cat >>confdefs.h <<\_ACEOF
44208 #define wxUSE_DYNAMIC_LOADER 1
44212 if test "$wxUSE_DYNLIB_CLASS" = "yes" ; then
44213 cat >>confdefs.h <<\_ACEOF
44214 #define wxUSE_DYNLIB_CLASS 1
44221 if test "$wxUSE_PLUGINS" = "yes" ; then
44222 if test "$wxUSE_SHARED" = "no" ; then
44223 { echo "$as_me:$LINENO: WARNING: plugins supported only in shared build, disabling" >&5
44224 echo "$as_me: WARNING: plugins supported only in shared build, disabling" >&2;}
44227 if test "$wxUSE_MONOLITHIC" = "yes" ; then
44228 { echo "$as_me:$LINENO: WARNING: plugins not supported monolithic build, disabling" >&5
44229 echo "$as_me: WARNING: plugins not supported monolithic build, disabling" >&2;}
44232 if test "$wxUSE_DYNLIB_CLASS" = "no" ; then
44233 { echo "$as_me:$LINENO: WARNING: plugins require wxDynamicLibrary, disabling" >&5
44234 echo "$as_me: WARNING: plugins require wxDynamicLibrary, disabling" >&2;}
44237 if test "$wxUSE_PLUGINS" = "yes" ; then
44238 cat >>confdefs.h <<\_ACEOF
44239 #define wxUSE_PLUGINS 1
44246 if test "$wxUSE_STL" = "yes"; then
44247 cat >>confdefs.h <<\_ACEOF
44248 #define wxUSE_STL 1
44253 if test "$wxUSE_EXTENDED_RTTI" = "yes"; then
44254 cat >>confdefs.h <<\_ACEOF
44255 #define wxUSE_EXTENDED_RTTI 1
44260 if test "$wxUSE_APPLE_IEEE" = "yes"; then
44261 cat >>confdefs.h <<\_ACEOF
44262 #define wxUSE_APPLE_IEEE 1
44267 if test "$wxUSE_TIMER" = "yes"; then
44268 cat >>confdefs.h <<\_ACEOF
44269 #define wxUSE_TIMER 1
44274 if test "$USE_UNIX" = "1" ; then
44275 if test "$wxUSE_MGL" != 1; then
44276 { echo "$as_me:$LINENO: checking for SNDCTL_DSP_SPEED in sys/soundcard.h" >&5
44277 echo $ECHO_N "checking for SNDCTL_DSP_SPEED in sys/soundcard.h... $ECHO_C" >&6; }
44278 if test "${ac_cv_header_sys_soundcard+set}" = set; then
44279 echo $ECHO_N "(cached) $ECHO_C" >&6
44282 cat >conftest.$ac_ext <<_ACEOF
44285 cat confdefs.h >>conftest.$ac_ext
44286 cat >>conftest.$ac_ext <<_ACEOF
44287 /* end confdefs.h. */
44289 #include <sys/ioctl.h>
44290 #include <sys/soundcard.h>
44296 ioctl(0, SNDCTL_DSP_SPEED, 0);
44302 rm -f conftest.$ac_objext conftest$ac_exeext
44303 if { (ac_try="$ac_link"
44304 case "(($ac_try" in
44305 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
44306 *) ac_try_echo
=$ac_try;;
44308 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44309 (eval "$ac_link") 2>conftest.er1
44311 grep -v '^ *+' conftest.er1
>conftest.err
44313 cat conftest.err
>&5
44314 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44315 (exit $ac_status); } && {
44316 test -z "$ac_c_werror_flag" ||
44317 test ! -s conftest.err
44318 } && test -s conftest
$ac_exeext &&
44319 $as_test_x conftest
$ac_exeext; then
44320 ac_cv_header_sys_soundcard
=yes
44322 echo "$as_me: failed program was:" >&5
44323 sed 's/^/| /' conftest.
$ac_ext >&5
44327 LIBS
="$saveLibs -lossaudio"
44328 cat >conftest.
$ac_ext <<_ACEOF
44331 cat confdefs.h
>>conftest.
$ac_ext
44332 cat >>conftest.
$ac_ext <<_ACEOF
44333 /* end confdefs.h. */
44335 #include <sys/ioctl.h>
44336 #include <sys/soundcard.h>
44342 ioctl(0, SNDCTL_DSP_SPEED, 0);
44348 rm -f conftest.
$ac_objext conftest
$ac_exeext
44349 if { (ac_try
="$ac_link"
44350 case "(($ac_try" in
44351 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
44352 *) ac_try_echo=$ac_try;;
44354 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44355 (eval "$ac_link") 2>conftest.er1
44357 grep -v '^ *+' conftest.er1 >conftest.err
44359 cat conftest.err >&5
44360 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44361 (exit $ac_status); } && {
44362 test -z "$ac_c_werror_flag" ||
44363 test ! -s conftest.err
44364 } && test -s conftest$ac_exeext &&
44365 $as_test_x conftest$ac_exeext; then
44366 ac_cv_header_sys_soundcard=yes
44368 echo "$as_me: failed program was:" >&5
44369 sed 's/^/| /' conftest.$ac_ext >&5
44373 ac_cv_header_sys_soundcard=no
44378 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
44379 conftest$ac_exeext conftest.$ac_ext
44384 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
44385 conftest$ac_exeext conftest.$ac_ext
44388 { echo "$as_me:$LINENO: result: $ac_cv_header_sys_soundcard" >&5
44389 echo "${ECHO_T}$ac_cv_header_sys_soundcard" >&6; }
44392 if test "$ac_cv_header_sys_soundcard" = "yes"; then
44393 cat >>confdefs.h <<\_ACEOF
44394 #define HAVE_SYS_SOUNDCARD_H 1
44401 if test "$wxUSE_SOUND" = "yes"; then
44402 if test "$USE_UNIX" = "1" ; then
44403 if test "$wxUSE_LIBSDL" != "no"; then
44405 # Check whether --with-sdl-prefix was given.
44406 if test "${with_sdl_prefix+set}" = set; then
44407 withval=$with_sdl_prefix; sdl_prefix="$withval"
44413 # Check whether --with-sdl-exec-prefix was given.
44414 if test "${with_sdl_exec_prefix+set}" = set; then
44415 withval=$with_sdl_exec_prefix; sdl_exec_prefix="$withval"
44420 # Check whether --enable-sdltest was given.
44421 if test "${enable_sdltest+set}" = set; then
44422 enableval=$enable_sdltest;
44428 if test x$sdl_exec_prefix != x ; then
44429 sdl_args="$sdl_args --exec-prefix=$sdl_exec_prefix"
44430 if test x${SDL_CONFIG+set} != xset ; then
44431 SDL_CONFIG=$sdl_exec_prefix/bin/sdl-config
44434 if test x$sdl_prefix != x ; then
44435 sdl_args="$sdl_args --prefix=$sdl_prefix"
44436 if test x${SDL_CONFIG+set} != xset ; then
44437 SDL_CONFIG=$sdl_prefix/bin/sdl-config
44441 if test "x$prefix" != xNONE; then
44442 PATH="$prefix/bin:$prefix/usr/bin:$PATH"
44444 # Extract the first word of "sdl-config", so it can be a program name with args.
44445 set dummy sdl-config; ac_word=$2
44446 { echo "$as_me:$LINENO: checking for $ac_word" >&5
44447 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
44448 if test "${ac_cv_path_SDL_CONFIG+set}" = set; then
44449 echo $ECHO_N "(cached) $ECHO_C" >&6
44451 case $SDL_CONFIG in
44453 ac_cv_path_SDL_CONFIG="$SDL_CONFIG" # Let the user override the test with a path.
44456 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
44457 for as_dir in $PATH
44460 test -z "$as_dir" && as_dir=.
44461 for ac_exec_ext in '' $ac_executable_extensions; do
44462 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
44463 ac_cv_path_SDL_CONFIG="$as_dir/$ac_word$ac_exec_ext"
44464 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
44471 test -z "$ac_cv_path_SDL_CONFIG" && ac_cv_path_SDL_CONFIG="no"
44475 SDL_CONFIG=$ac_cv_path_SDL_CONFIG
44476 if test -n "$SDL_CONFIG"; then
44477 { echo "$as_me:$LINENO: result: $SDL_CONFIG" >&5
44478 echo "${ECHO_T}$SDL_CONFIG" >&6; }
44480 { echo "$as_me:$LINENO: result: no" >&5
44481 echo "${ECHO_T}no" >&6; }
44485 min_sdl_version=1.2.0
44486 { echo "$as_me:$LINENO: checking for SDL - version >= $min_sdl_version" >&5
44487 echo $ECHO_N "checking for SDL - version >= $min_sdl_version... $ECHO_C" >&6; }
44489 if test "$SDL_CONFIG" = "no" ; then
44492 SDL_CFLAGS=`$SDL_CONFIG $sdlconf_args --cflags`
44493 SDL_LIBS=`$SDL_CONFIG $sdlconf_args --libs`
44495 sdl_major_version=`$SDL_CONFIG $sdl_args --version | \
44496 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
44497 sdl_minor_version=`$SDL_CONFIG $sdl_args --version | \
44498 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
44499 sdl_micro_version=`$SDL_CONFIG $sdl_config_args --version | \
44500 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
44501 if test "x$enable_sdltest" = "xyes" ; then
44502 ac_save_CFLAGS="$CFLAGS"
44503 ac_save_CXXFLAGS="$CXXFLAGS"
44504 ac_save_LIBS="$LIBS"
44505 CFLAGS="$CFLAGS $SDL_CFLAGS"
44506 CXXFLAGS="$CXXFLAGS $SDL_CFLAGS"
44507 LIBS="$LIBS $SDL_LIBS"
44509 if test "$cross_compiling" = yes; then
44510 echo $ac_n "cross compiling; assumed OK... $ac_c"
44512 cat >conftest.$ac_ext <<_ACEOF
44515 cat confdefs.h >>conftest.$ac_ext
44516 cat >>conftest.$ac_ext <<_ACEOF
44517 /* end confdefs.h. */
44520 #include <stdlib.h>
44521 #include <string.h>
44525 my_strdup (char *str)
44531 new_str = (char *)malloc ((strlen (str) + 1) * sizeof(char));
44532 strcpy (new_str, str);
44540 int main (int argc, char *argv[])
44542 int major, minor, micro;
44545 /* This hangs on some systems (?)
44546 system ("touch conf.sdltest");
44548 { FILE *fp = fopen("conf.sdltest", "a"); if ( fp ) fclose(fp); }
44550 /* HP/UX 9 (%@#!) writes to sscanf strings */
44551 tmp_version = my_strdup("$min_sdl_version");
44552 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
44553 printf("%s, bad version string\n", "$min_sdl_version");
44557 if (($sdl_major_version > major) ||
44558 (($sdl_major_version == major) && ($sdl_minor_version > minor)) ||
44559 (($sdl_major_version == major) && ($sdl_minor_version == minor) && ($sdl_micro_version >= micro)))
44565 printf("\n*** 'sdl-config --version' returned %d.%d.%d, but the minimum version\n", $sdl_major_version, $sdl_minor_version, $sdl_micro_version);
44566 printf("*** of SDL required is %d.%d.%d. If sdl-config is correct, then it is\n", major, minor, micro);
44567 printf("*** best to upgrade to the required version.\n");
44568 printf("*** If sdl-config was wrong, set the environment variable SDL_CONFIG\n");
44569 printf("*** to point to the correct copy of sdl-config, and remove the file\n");
44570 printf("*** config.cache before re-running configure\n");
44577 rm -f conftest$ac_exeext
44578 if { (ac_try="$ac_link"
44579 case "(($ac_try" in
44580 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
44581 *) ac_try_echo
=$ac_try;;
44583 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44584 (eval "$ac_link") 2>&5
44586 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44587 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
44588 { (case "(($ac_try" in
44589 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
44590 *) ac_try_echo=$ac_try;;
44592 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44593 (eval "$ac_try") 2>&5
44595 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44596 (exit $ac_status); }; }; then
44599 echo "$as_me: program exited with status $ac_status" >&5
44600 echo "$as_me: failed program was:" >&5
44601 sed 's/^/| /' conftest.$ac_ext >&5
44603 ( exit $ac_status )
44606 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
44610 CFLAGS="$ac_save_CFLAGS"
44611 CXXFLAGS="$ac_save_CXXFLAGS"
44612 LIBS="$ac_save_LIBS"
44615 if test "x$no_sdl" = x ; then
44616 { echo "$as_me:$LINENO: result: yes" >&5
44617 echo "${ECHO_T}yes" >&6; }
44619 EXTRALIBS_SDL="$SDL_LIBS"
44620 CFLAGS="$SDL_CFLAGS $CFLAGS"
44621 CXXFLAGS="$SDL_CFLAGS $CXXFLAGS"
44622 cat >>confdefs.h <<\_ACEOF
44623 #define wxUSE_LIBSDL 1
44628 { echo "$as_me:$LINENO: result: no" >&5
44629 echo "${ECHO_T}no" >&6; }
44630 if test "$SDL_CONFIG" = "no" ; then
44631 echo "*** The sdl-config script installed by SDL could not be found"
44632 echo "*** If SDL was installed in PREFIX, make sure PREFIX/bin is in"
44633 echo "*** your path, or set the SDL_CONFIG environment variable to the"
44634 echo "*** full path to sdl-config."
44636 if test -f conf.sdltest ; then
44639 echo "*** Could not run SDL test program, checking why..."
44640 CFLAGS="$CFLAGS $SDL_CFLAGS"
44641 CXXFLAGS="$CXXFLAGS $SDL_CFLAGS"
44642 LIBS="$LIBS $SDL_LIBS"
44643 cat >conftest.$ac_ext <<_ACEOF
44646 cat confdefs.h >>conftest.$ac_ext
44647 cat >>conftest.$ac_ext <<_ACEOF
44648 /* end confdefs.h. */
44653 int main(int argc, char *argv[])
44656 #define main K_and_R_C_main
44666 rm -f conftest.$ac_objext conftest$ac_exeext
44667 if { (ac_try="$ac_link"
44668 case "(($ac_try" in
44669 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
44670 *) ac_try_echo
=$ac_try;;
44672 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44673 (eval "$ac_link") 2>conftest.er1
44675 grep -v '^ *+' conftest.er1
>conftest.err
44677 cat conftest.err
>&5
44678 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44679 (exit $ac_status); } && {
44680 test -z "$ac_c_werror_flag" ||
44681 test ! -s conftest.err
44682 } && test -s conftest
$ac_exeext &&
44683 $as_test_x conftest
$ac_exeext; then
44684 echo "*** The test program compiled, but did not run. This usually means"
44685 echo "*** that the run-time linker is not finding SDL or finding the wrong"
44686 echo "*** version of SDL. If it is not finding SDL, you'll need to set your"
44687 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
44688 echo "*** to the installed location Also, make sure you have run ldconfig if that"
44689 echo "*** is required on your system"
44691 echo "*** If you have an old version installed, it is best to remove it, although"
44692 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
44694 echo "$as_me: failed program was:" >&5
44695 sed 's/^/| /' conftest.
$ac_ext >&5
44697 echo "*** The test program failed to compile or link. See the file config.log for the"
44698 echo "*** exact error that occured. This usually means SDL was incorrectly installed"
44699 echo "*** or that you have moved SDL since it was installed. In the latter case, you"
44700 echo "*** may want to edit the sdl-config script: $SDL_CONFIG"
44703 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
44704 conftest
$ac_exeext conftest.
$ac_ext
44705 CFLAGS
="$ac_save_CFLAGS"
44706 CXXFLAGS
="$ac_save_CXXFLAGS"
44707 LIBS
="$ac_save_LIBS"
44718 if test "$wxUSE_LIBSDL" = "yes" -a "$wxUSE_PLUGINS" = "yes" ; then
44723 if test "$wxUSE_MGL" = 1; then
44724 { echo "$as_me:$LINENO: WARNING: wxSound not supported in MGL under DOS... disabled" >&5
44725 echo "$as_me: WARNING: wxSound not supported in MGL under DOS... disabled" >&2;}
44731 if test "$wxUSE_SOUND" = "yes"; then
44732 cat >>confdefs.h
<<\_ACEOF
44733 #define wxUSE_SOUND 1
44736 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS sound"
44739 if test "$WXGTK20" = 1; then
44742 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
44743 if test -n "$ac_tool_prefix"; then
44744 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
44745 set dummy
${ac_tool_prefix}pkg
-config; ac_word
=$2
44746 { echo "$as_me:$LINENO: checking for $ac_word" >&5
44747 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
44748 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
44749 echo $ECHO_N "(cached) $ECHO_C" >&6
44751 case $PKG_CONFIG in
44753 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
44756 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
44757 for as_dir
in $PATH
44760 test -z "$as_dir" && as_dir
=.
44761 for ac_exec_ext
in '' $ac_executable_extensions; do
44762 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
44763 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
44764 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
44774 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
44775 if test -n "$PKG_CONFIG"; then
44776 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
44777 echo "${ECHO_T}$PKG_CONFIG" >&6; }
44779 { echo "$as_me:$LINENO: result: no" >&5
44780 echo "${ECHO_T}no" >&6; }
44785 if test -z "$ac_cv_path_PKG_CONFIG"; then
44786 ac_pt_PKG_CONFIG
=$PKG_CONFIG
44787 # Extract the first word of "pkg-config", so it can be a program name with args.
44788 set dummy pkg
-config; ac_word
=$2
44789 { echo "$as_me:$LINENO: checking for $ac_word" >&5
44790 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
44791 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
44792 echo $ECHO_N "(cached) $ECHO_C" >&6
44794 case $ac_pt_PKG_CONFIG in
44796 ac_cv_path_ac_pt_PKG_CONFIG
="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
44799 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
44800 for as_dir
in $PATH
44803 test -z "$as_dir" && as_dir
=.
44804 for ac_exec_ext
in '' $ac_executable_extensions; do
44805 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
44806 ac_cv_path_ac_pt_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
44807 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
44817 ac_pt_PKG_CONFIG
=$ac_cv_path_ac_pt_PKG_CONFIG
44818 if test -n "$ac_pt_PKG_CONFIG"; then
44819 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
44820 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
44822 { echo "$as_me:$LINENO: result: no" >&5
44823 echo "${ECHO_T}no" >&6; }
44826 if test "x$ac_pt_PKG_CONFIG" = x
; then
44829 case $cross_compiling:$ac_tool_warned in
44831 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
44832 whose name does not start with the host triplet. If you think this
44833 configuration is useful to you, please write to autoconf@gnu.org." >&5
44834 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
44835 whose name does not start with the host triplet. If you think this
44836 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
44837 ac_tool_warned
=yes ;;
44839 PKG_CONFIG
=$ac_pt_PKG_CONFIG
44842 PKG_CONFIG
="$ac_cv_path_PKG_CONFIG"
44846 if test -n "$PKG_CONFIG"; then
44847 _pkg_min_version
=0.9.0
44848 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
44849 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
44850 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
44851 { echo "$as_me:$LINENO: result: yes" >&5
44852 echo "${ECHO_T}yes" >&6; }
44854 { echo "$as_me:$LINENO: result: no" >&5
44855 echo "${ECHO_T}no" >&6; }
44861 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
44862 if test "$wxUSE_LIBGNOMEPRINT" = "yes" ; then
44866 { echo "$as_me:$LINENO: checking for LIBGNOMEPRINTUI" >&5
44867 echo $ECHO_N "checking for LIBGNOMEPRINTUI... $ECHO_C" >&6; }
44869 if test -n "$PKG_CONFIG"; then
44870 if test -n "$LIBGNOMEPRINTUI_CFLAGS"; then
44871 pkg_cv_LIBGNOMEPRINTUI_CFLAGS
="$LIBGNOMEPRINTUI_CFLAGS"
44873 if test -n "$PKG_CONFIG" && \
44874 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libgnomeprintui-2.2 >= 2.8\"") >&5
44875 ($PKG_CONFIG --exists --print-errors "libgnomeprintui-2.2 >= 2.8") 2>&5
44877 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44878 (exit $ac_status); }; then
44879 pkg_cv_LIBGNOMEPRINTUI_CFLAGS
=`$PKG_CONFIG --cflags "libgnomeprintui-2.2 >= 2.8" 2>/dev/null`
44887 if test -n "$PKG_CONFIG"; then
44888 if test -n "$LIBGNOMEPRINTUI_LIBS"; then
44889 pkg_cv_LIBGNOMEPRINTUI_LIBS
="$LIBGNOMEPRINTUI_LIBS"
44891 if test -n "$PKG_CONFIG" && \
44892 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libgnomeprintui-2.2 >= 2.8\"") >&5
44893 ($PKG_CONFIG --exists --print-errors "libgnomeprintui-2.2 >= 2.8") 2>&5
44895 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44896 (exit $ac_status); }; then
44897 pkg_cv_LIBGNOMEPRINTUI_LIBS
=`$PKG_CONFIG --libs "libgnomeprintui-2.2 >= 2.8" 2>/dev/null`
44908 if test $pkg_failed = yes; then
44910 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
44911 _pkg_short_errors_supported
=yes
44913 _pkg_short_errors_supported
=no
44915 if test $_pkg_short_errors_supported = yes; then
44916 LIBGNOMEPRINTUI_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libgnomeprintui-2.2 >= 2.8"`
44918 LIBGNOMEPRINTUI_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "libgnomeprintui-2.2 >= 2.8"`
44920 # Put the nasty error message in config.log where it belongs
44921 echo "$LIBGNOMEPRINTUI_PKG_ERRORS" >&5
44924 { echo "$as_me:$LINENO: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&5
44925 echo "$as_me: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&2;}
44926 wxUSE_LIBGNOMEPRINT
="no"
44929 elif test $pkg_failed = untried
; then
44931 { echo "$as_me:$LINENO: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&5
44932 echo "$as_me: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&2;}
44933 wxUSE_LIBGNOMEPRINT
="no"
44937 LIBGNOMEPRINTUI_CFLAGS
=$pkg_cv_LIBGNOMEPRINTUI_CFLAGS
44938 LIBGNOMEPRINTUI_LIBS
=$pkg_cv_LIBGNOMEPRINTUI_LIBS
44939 { echo "$as_me:$LINENO: result: yes" >&5
44940 echo "${ECHO_T}yes" >&6; }
44942 CFLAGS
="$LIBGNOMEPRINTUI_CFLAGS $CFLAGS"
44943 CXXFLAGS
="$LIBGNOMEPRINTUI_CFLAGS $CXXFLAGS"
44944 cat >>confdefs.h
<<\_ACEOF
44945 #define wxUSE_LIBGNOMEPRINT 1
44953 if test "$wxUSE_MIMETYPE" = "yes" ; then
44954 if test "$wxUSE_LIBGNOMEVFS" = "yes" ; then
44958 { echo "$as_me:$LINENO: checking for GNOMEVFS" >&5
44959 echo $ECHO_N "checking for GNOMEVFS... $ECHO_C" >&6; }
44961 if test -n "$PKG_CONFIG"; then
44962 if test -n "$GNOMEVFS_CFLAGS"; then
44963 pkg_cv_GNOMEVFS_CFLAGS
="$GNOMEVFS_CFLAGS"
44965 if test -n "$PKG_CONFIG" && \
44966 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gnome-vfs-2.0 >= 2.0\"") >&5
44967 ($PKG_CONFIG --exists --print-errors "gnome-vfs-2.0 >= 2.0") 2>&5
44969 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44970 (exit $ac_status); }; then
44971 pkg_cv_GNOMEVFS_CFLAGS
=`$PKG_CONFIG --cflags "gnome-vfs-2.0 >= 2.0" 2>/dev/null`
44979 if test -n "$PKG_CONFIG"; then
44980 if test -n "$GNOMEVFS_LIBS"; then
44981 pkg_cv_GNOMEVFS_LIBS
="$GNOMEVFS_LIBS"
44983 if test -n "$PKG_CONFIG" && \
44984 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gnome-vfs-2.0 >= 2.0\"") >&5
44985 ($PKG_CONFIG --exists --print-errors "gnome-vfs-2.0 >= 2.0") 2>&5
44987 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44988 (exit $ac_status); }; then
44989 pkg_cv_GNOMEVFS_LIBS
=`$PKG_CONFIG --libs "gnome-vfs-2.0 >= 2.0" 2>/dev/null`
45000 if test $pkg_failed = yes; then
45002 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
45003 _pkg_short_errors_supported
=yes
45005 _pkg_short_errors_supported
=no
45007 if test $_pkg_short_errors_supported = yes; then
45008 GNOMEVFS_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gnome-vfs-2.0 >= 2.0"`
45010 GNOMEVFS_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "gnome-vfs-2.0 >= 2.0"`
45012 # Put the nasty error message in config.log where it belongs
45013 echo "$GNOMEVFS_PKG_ERRORS" >&5
45016 { echo "$as_me:$LINENO: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&5
45017 echo "$as_me: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&2;}
45018 wxUSE_LIBGNOMEVFS
="no"
45021 elif test $pkg_failed = untried
; then
45023 { echo "$as_me:$LINENO: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&5
45024 echo "$as_me: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&2;}
45025 wxUSE_LIBGNOMEVFS
="no"
45029 GNOMEVFS_CFLAGS
=$pkg_cv_GNOMEVFS_CFLAGS
45030 GNOMEVFS_LIBS
=$pkg_cv_GNOMEVFS_LIBS
45031 { echo "$as_me:$LINENO: result: yes" >&5
45032 echo "${ECHO_T}yes" >&6; }
45034 CFLAGS
="$GNOMEVFS_CFLAGS $CFLAGS"
45035 CXXFLAGS
="$GNOMEVFS_CFLAGS $CXXFLAGS"
45036 cat >>confdefs.h
<<\_ACEOF
45037 #define wxUSE_LIBGNOMEVFS 1
45045 if test "$wxUSE_LIBHILDON" = "yes" ; then
45048 { echo "$as_me:$LINENO: checking for HILDON" >&5
45049 echo $ECHO_N "checking for HILDON... $ECHO_C" >&6; }
45051 if test -n "$PKG_CONFIG"; then
45052 if test -n "$HILDON_CFLAGS"; then
45053 pkg_cv_HILDON_CFLAGS
="$HILDON_CFLAGS"
45055 if test -n "$PKG_CONFIG" && \
45056 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-lgpl >= 0.9\"") >&5
45057 ($PKG_CONFIG --exists --print-errors "hildon-lgpl >= 0.9") 2>&5
45059 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45060 (exit $ac_status); }; then
45061 pkg_cv_HILDON_CFLAGS
=`$PKG_CONFIG --cflags "hildon-lgpl >= 0.9" 2>/dev/null`
45069 if test -n "$PKG_CONFIG"; then
45070 if test -n "$HILDON_LIBS"; then
45071 pkg_cv_HILDON_LIBS
="$HILDON_LIBS"
45073 if test -n "$PKG_CONFIG" && \
45074 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-lgpl >= 0.9\"") >&5
45075 ($PKG_CONFIG --exists --print-errors "hildon-lgpl >= 0.9") 2>&5
45077 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45078 (exit $ac_status); }; then
45079 pkg_cv_HILDON_LIBS
=`$PKG_CONFIG --libs "hildon-lgpl >= 0.9" 2>/dev/null`
45090 if test $pkg_failed = yes; then
45092 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
45093 _pkg_short_errors_supported
=yes
45095 _pkg_short_errors_supported
=no
45097 if test $_pkg_short_errors_supported = yes; then
45098 HILDON_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "hildon-lgpl >= 0.9"`
45100 HILDON_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "hildon-lgpl >= 0.9"`
45102 # Put the nasty error message in config.log where it belongs
45103 echo "$HILDON_PKG_ERRORS" >&5
45106 { echo "$as_me:$LINENO: WARNING: libhildon_lgpl not found" >&5
45107 echo "$as_me: WARNING: libhildon_lgpl not found" >&2;}
45108 wxUSE_LIBHILDON
="no"
45111 elif test $pkg_failed = untried
; then
45113 { echo "$as_me:$LINENO: WARNING: libhildon_lgpl not found" >&5
45114 echo "$as_me: WARNING: libhildon_lgpl not found" >&2;}
45115 wxUSE_LIBHILDON
="no"
45119 HILDON_CFLAGS
=$pkg_cv_HILDON_CFLAGS
45120 HILDON_LIBS
=$pkg_cv_HILDON_LIBS
45121 { echo "$as_me:$LINENO: result: yes" >&5
45122 echo "${ECHO_T}yes" >&6; }
45124 EXTRALIBS_HILDON
="$HILDON_LIBS"
45125 CFLAGS
="$CFLAGS $HILDON_CFLAGS"
45126 CXXFLAGS
="$CXXFLAGS $HILDON_CFLAGS"
45127 cat >>confdefs.h
<<\_ACEOF
45128 #define wxUSE_LIBHILDON 1
45136 if test "$wxUSE_CMDLINE_PARSER" = "yes"; then
45137 cat >>confdefs.h
<<\_ACEOF
45138 #define wxUSE_CMDLINE_PARSER 1
45143 if test "$wxUSE_STOPWATCH" = "yes"; then
45144 cat >>confdefs.h
<<\_ACEOF
45145 #define wxUSE_STOPWATCH 1
45150 if test "$wxUSE_DATETIME" = "yes"; then
45151 cat >>confdefs.h
<<\_ACEOF
45152 #define wxUSE_DATETIME 1
45157 if test "$wxUSE_FILE" = "yes"; then
45158 cat >>confdefs.h
<<\_ACEOF
45159 #define wxUSE_FILE 1
45164 if test "$wxUSE_FFILE" = "yes"; then
45165 cat >>confdefs.h
<<\_ACEOF
45166 #define wxUSE_FFILE 1
45171 if test "$wxUSE_ARCHIVE_STREAMS" = "yes"; then
45172 if test "$wxUSE_STREAMS" != yes; then
45173 { echo "$as_me:$LINENO: WARNING: wxArchive requires wxStreams... disabled" >&5
45174 echo "$as_me: WARNING: wxArchive requires wxStreams... disabled" >&2;}
45175 wxUSE_ARCHIVE_STREAMS
=no
45177 cat >>confdefs.h
<<\_ACEOF
45178 #define wxUSE_ARCHIVE_STREAMS 1
45184 if test "$wxUSE_ZIPSTREAM" = "yes"; then
45185 if test "$wxUSE_ARCHIVE_STREAMS" != "yes"; then
45186 { echo "$as_me:$LINENO: WARNING: wxZip requires wxArchive... disabled" >&5
45187 echo "$as_me: WARNING: wxZip requires wxArchive... disabled" >&2;}
45188 elif test "$wxUSE_ZLIB" = "no"; then
45189 { echo "$as_me:$LINENO: WARNING: wxZip requires wxZlib... disabled" >&5
45190 echo "$as_me: WARNING: wxZip requires wxZlib... disabled" >&2;}
45192 cat >>confdefs.h
<<\_ACEOF
45193 #define wxUSE_ZIPSTREAM 1
45199 if test "$wxUSE_TARSTREAM" = "yes"; then
45200 if test "$wxUSE_ARCHIVE_STREAMS" != "yes"; then
45201 { echo "$as_me:$LINENO: WARNING: wxTar requires wxArchive... disabled" >&5
45202 echo "$as_me: WARNING: wxTar requires wxArchive... disabled" >&2;}
45204 cat >>confdefs.h
<<\_ACEOF
45205 #define wxUSE_TARSTREAM 1
45211 if test "$wxUSE_FILESYSTEM" = "yes"; then
45212 if test "$wxUSE_STREAMS" != yes -o \
( "$wxUSE_FILE" != yes -a "$wxUSE_FFILE" != yes \
); then
45213 { echo "$as_me:$LINENO: WARNING: wxFileSystem requires wxStreams and wxFile or wxFFile... disabled" >&5
45214 echo "$as_me: WARNING: wxFileSystem requires wxStreams and wxFile or wxFFile... disabled" >&2;}
45215 wxUSE_FILESYSTEM
=no
45217 cat >>confdefs.h
<<\_ACEOF
45218 #define wxUSE_FILESYSTEM 1
45224 if test "$wxUSE_FS_ARCHIVE" = "yes"; then
45225 if test "$wxUSE_FILESYSTEM" != yes -o "$wxUSE_ARCHIVE_STREAMS" != yes; then
45226 { echo "$as_me:$LINENO: WARNING: wxArchiveFSHandler requires wxArchive and wxFileSystem... disabled" >&5
45227 echo "$as_me: WARNING: wxArchiveFSHandler requires wxArchive and wxFileSystem... disabled" >&2;}
45229 cat >>confdefs.h
<<\_ACEOF
45230 #define wxUSE_FS_ARCHIVE 1
45236 if test "$wxUSE_FS_ZIP" = "yes"; then
45237 if test "$wxUSE_FS_ARCHIVE" != yes; then
45238 { echo "$as_me:$LINENO: WARNING: wxZipFSHandler requires wxArchiveFSHandler... disabled" >&5
45239 echo "$as_me: WARNING: wxZipFSHandler requires wxArchiveFSHandler... disabled" >&2;}
45241 cat >>confdefs.h
<<\_ACEOF
45242 #define wxUSE_FS_ZIP 1
45248 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
45249 if test "$USE_UNIX" != 1; then
45250 { echo "$as_me:$LINENO: WARNING: Catching fatal exceptions not currently supported on this system, wxApp::OnFatalException will not be called" >&5
45251 echo "$as_me: WARNING: Catching fatal exceptions not currently supported on this system, wxApp::OnFatalException will not be called" >&2;}
45252 wxUSE_ON_FATAL_EXCEPTION
=no
45254 cat >>confdefs.h
<<\_ACEOF
45255 #define wxUSE_ON_FATAL_EXCEPTION 1
45261 if test "$wxUSE_STACKWALKER" = "yes"; then
45262 cat >>confdefs.h
<<\_ACEOF
45263 #define wxUSE_STACKWALKER 1
45268 if test "$wxUSE_DEBUGREPORT" = "yes"; then
45269 if test "$USE_UNIX" != "1" -a "$USE_WIN32" != "1"; then
45270 { echo "$as_me:$LINENO: WARNING: Creating debug reports not currently supported on this system, disabled" >&5
45271 echo "$as_me: WARNING: Creating debug reports not currently supported on this system, disabled" >&2;}
45272 wxUSE_DEBUGREPORT
=no
45274 cat >>confdefs.h
<<\_ACEOF
45275 #define wxUSE_DEBUGREPORT 1
45278 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
45279 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS debugrpt"
45284 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
45285 cat >>confdefs.h
<<\_ACEOF
45286 #define wxUSE_SNGLINST_CHECKER 1
45291 if test "$wxUSE_BUSYINFO" = "yes"; then
45292 cat >>confdefs.h
<<\_ACEOF
45293 #define wxUSE_BUSYINFO 1
45298 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
45299 cat >>confdefs.h
<<\_ACEOF
45300 #define wxUSE_STD_IOSTREAM 1
45305 if test "$wxUSE_STD_STRING" = "yes"; then
45306 cat >>confdefs.h
<<\_ACEOF
45307 #define wxUSE_STD_STRING 1
45312 if test "$wxUSE_STDPATHS" = "yes"; then
45313 cat >>confdefs.h
<<\_ACEOF
45314 #define wxUSE_STDPATHS 1
45319 if test "$wxUSE_TEXTBUFFER" = "yes"; then
45320 cat >>confdefs.h
<<\_ACEOF
45321 #define wxUSE_TEXTBUFFER 1
45326 if test "$wxUSE_TEXTFILE" = "yes"; then
45327 if test "$wxUSE_FILE" != "yes" -o "$wxUSE_TEXTBUFFER" != "yes" ; then
45328 { echo "$as_me:$LINENO: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&5
45329 echo "$as_me: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&2;}
45331 cat >>confdefs.h
<<\_ACEOF
45332 #define wxUSE_TEXTFILE 1
45338 if test "$wxUSE_CONFIG" = "yes" ; then
45339 if test "$wxUSE_TEXTFILE" != "yes"; then
45340 { echo "$as_me:$LINENO: WARNING: wxConfig requires wxTextFile... disabled" >&5
45341 echo "$as_me: WARNING: wxConfig requires wxTextFile... disabled" >&2;}
45343 cat >>confdefs.h
<<\_ACEOF
45344 #define wxUSE_CONFIG 1
45347 cat >>confdefs.h
<<\_ACEOF
45348 #define wxUSE_CONFIG_NATIVE 1
45351 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS config"
45355 if test "$wxUSE_INTL" = "yes" ; then
45356 if test "$wxUSE_FILE" != "yes"; then
45357 { echo "$as_me:$LINENO: WARNING: I18n code requires wxFile... disabled" >&5
45358 echo "$as_me: WARNING: I18n code requires wxFile... disabled" >&2;}
45360 cat >>confdefs.h
<<\_ACEOF
45361 #define wxUSE_INTL 1
45364 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS internat"
45365 GUIDIST
="$GUIDIST INTL_DIST"
45369 if test "$wxUSE_LOG" = "yes"; then
45370 cat >>confdefs.h
<<\_ACEOF
45371 #define wxUSE_LOG 1
45375 if test "$wxUSE_LOGGUI" = "yes"; then
45376 cat >>confdefs.h
<<\_ACEOF
45377 #define wxUSE_LOGGUI 1
45382 if test "$wxUSE_LOGWINDOW" = "yes"; then
45383 cat >>confdefs.h
<<\_ACEOF
45384 #define wxUSE_LOGWINDOW 1
45389 if test "$wxUSE_LOGDIALOG" = "yes"; then
45390 cat >>confdefs.h
<<\_ACEOF
45391 #define wxUSE_LOG_DIALOG 1
45396 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS keyboard"
45399 if test "$wxUSE_LONGLONG" = "yes"; then
45400 cat >>confdefs.h
<<\_ACEOF
45401 #define wxUSE_LONGLONG 1
45406 if test "$wxUSE_GEOMETRY" = "yes"; then
45407 cat >>confdefs.h
<<\_ACEOF
45408 #define wxUSE_GEOMETRY 1
45413 if test "$wxUSE_BASE64" = "yes"; then
45414 cat >>confdefs.h
<<\_ACEOF
45415 #define wxUSE_BASE64 1
45420 if test "$wxUSE_STREAMS" = "yes" ; then
45421 cat >>confdefs.h
<<\_ACEOF
45422 #define wxUSE_STREAMS 1
45427 if test "$wxUSE_PRINTF_POS_PARAMS" = "yes"; then
45428 cat >>confdefs.h
<<\_ACEOF
45429 #define wxUSE_PRINTF_POS_PARAMS 1
45434 if test "$wxUSE_OBJC_UNIQUIFYING" = "yes"; then
45435 cat >>confdefs.h
<<\_ACEOF
45436 #define wxUSE_OBJC_UNIQUIFYING 1
45442 if test "$wxUSE_DATETIME" = "yes"; then
45443 { echo "$as_me:$LINENO: checking for strptime" >&5
45444 echo $ECHO_N "checking for strptime... $ECHO_C" >&6; }
45445 if test "${ac_cv_func_strptime+set}" = set; then
45446 echo $ECHO_N "(cached) $ECHO_C" >&6
45448 cat >conftest.
$ac_ext <<_ACEOF
45451 cat confdefs.h
>>conftest.
$ac_ext
45452 cat >>conftest.
$ac_ext <<_ACEOF
45453 /* end confdefs.h. */
45454 /* Define strptime to an innocuous variant, in case <limits.h> declares strptime.
45455 For example, HP-UX 11i <limits.h> declares gettimeofday. */
45456 #define strptime innocuous_strptime
45458 /* System header to define __stub macros and hopefully few prototypes,
45459 which can conflict with char strptime (); below.
45460 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
45461 <limits.h> exists even on freestanding compilers. */
45464 # include <limits.h>
45466 # include <assert.h>
45471 /* Override any GCC internal prototype to avoid an error.
45472 Use char because int might match the return type of a GCC
45473 builtin and then its argument prototype would still apply. */
45478 /* The GNU C library defines this for functions which it implements
45479 to always fail with ENOSYS. Some functions are actually named
45480 something starting with __ and the normal name is an alias. */
45481 #if defined __stub_strptime || defined __stub___strptime
45488 return strptime ();
45493 rm -f conftest.
$ac_objext conftest
$ac_exeext
45494 if { (ac_try
="$ac_link"
45495 case "(($ac_try" in
45496 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
45497 *) ac_try_echo=$ac_try;;
45499 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45500 (eval "$ac_link") 2>conftest.er1
45502 grep -v '^ *+' conftest.er1 >conftest.err
45504 cat conftest.err >&5
45505 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45506 (exit $ac_status); } && {
45507 test -z "$ac_c_werror_flag" ||
45508 test ! -s conftest.err
45509 } && test -s conftest$ac_exeext &&
45510 $as_test_x conftest$ac_exeext; then
45511 ac_cv_func_strptime=yes
45513 echo "$as_me: failed program was:" >&5
45514 sed 's/^/| /' conftest.$ac_ext >&5
45516 ac_cv_func_strptime=no
45519 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
45520 conftest$ac_exeext conftest.$ac_ext
45522 { echo "$as_me:$LINENO: result: $ac_cv_func_strptime" >&5
45523 echo "${ECHO_T}$ac_cv_func_strptime" >&6; }
45525 if test "$ac_cv_func_strptime" = "yes"; then
45526 { echo "$as_me:$LINENO: checking for strptime declaration" >&5
45527 echo $ECHO_N "checking for strptime declaration... $ECHO_C" >&6; }
45528 if test "${wx_cv_func_strptime_decl+set}" = set; then
45529 echo $ECHO_N "(cached) $ECHO_C" >&6
45533 ac_cpp='$CXXCPP $CPPFLAGS'
45534 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45535 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45536 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45538 cat >conftest.$ac_ext <<_ACEOF
45541 cat confdefs.h >>conftest.$ac_ext
45542 cat >>conftest.$ac_ext <<_ACEOF
45543 /* end confdefs.h. */
45552 strptime("foo", "bar", &t);
45558 rm -f conftest.$ac_objext
45559 if { (ac_try="$ac_compile"
45560 case "(($ac_try" in
45561 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
45562 *) ac_try_echo
=$ac_try;;
45564 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45565 (eval "$ac_compile") 2>conftest.er1
45567 grep -v '^ *+' conftest.er1
>conftest.err
45569 cat conftest.err
>&5
45570 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45571 (exit $ac_status); } && {
45572 test -z "$ac_cxx_werror_flag" ||
45573 test ! -s conftest.err
45574 } && test -s conftest.
$ac_objext; then
45575 wx_cv_func_strptime_decl
=yes
45577 echo "$as_me: failed program was:" >&5
45578 sed 's/^/| /' conftest.
$ac_ext >&5
45580 wx_cv_func_strptime_decl
=no
45584 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
45586 ac_cpp
='$CPP $CPPFLAGS'
45587 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45588 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45589 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
45594 { echo "$as_me:$LINENO: result: $wx_cv_func_strptime_decl" >&5
45595 echo "${ECHO_T}$wx_cv_func_strptime_decl" >&6; }
45597 if test "$wx_cv_func_strptime_decl" = "yes"; then
45598 cat >>confdefs.h
<<\_ACEOF
45599 #define HAVE_STRPTIME_DECL 1
45603 wx_strptime_decl
="extern char *strptime(const char *, const char *, struct tm *);"
45605 if test "$ac_cv_func_strptime" = "yes"; then
45606 { echo "$as_me:$LINENO: checking whether strptime() fails on invalid strings" >&5
45607 echo $ECHO_N "checking whether strptime() fails on invalid strings... $ECHO_C" >&6; }
45608 if test "${wx_cv_func_strptime_ok+set}" = set; then
45609 echo $ECHO_N "(cached) $ECHO_C" >&6
45611 if test "$cross_compiling" = yes; then
45612 wx_cv_func_strptime_ok
=no
45615 cat >conftest.
$ac_ext <<_ACEOF
45617 #include <stdlib.h>
45619 #include "confdefs.h"
45626 return !!strptime("", "%x", &t);
45630 rm -f conftest
$ac_exeext
45631 if { (ac_try
="$ac_link"
45632 case "(($ac_try" in
45633 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
45634 *) ac_try_echo=$ac_try;;
45636 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45637 (eval "$ac_link") 2>&5
45639 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45640 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
45641 { (case "(($ac_try" in
45642 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
45643 *) ac_try_echo
=$ac_try;;
45645 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45646 (eval "$ac_try") 2>&5
45648 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45649 (exit $ac_status); }; }; then
45650 wx_cv_func_strptime_ok
=yes
45652 echo "$as_me: program exited with status $ac_status" >&5
45653 echo "$as_me: failed program was:" >&5
45654 sed 's/^/| /' conftest.
$ac_ext >&5
45656 ( exit $ac_status )
45657 wx_cv_func_strptime_ok
=no
45659 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
45665 { echo "$as_me:$LINENO: result: $wx_cv_func_strptime_ok" >&5
45666 echo "${ECHO_T}$wx_cv_func_strptime_ok" >&6; }
45668 if test "$wx_cv_func_strptime_ok" = "yes"; then
45669 cat >>confdefs.h
<<\_ACEOF
45670 #define HAVE_STRPTIME 1
45676 { echo "$as_me:$LINENO: checking for timezone variable in <time.h>" >&5
45677 echo $ECHO_N "checking for timezone variable in <time.h>... $ECHO_C" >&6; }
45678 if test "${wx_cv_var_timezone+set}" = set; then
45679 echo $ECHO_N "(cached) $ECHO_C" >&6
45683 ac_cpp
='$CXXCPP $CPPFLAGS'
45684 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45685 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45686 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
45688 cat >conftest.
$ac_ext <<_ACEOF
45691 cat confdefs.h
>>conftest.
$ac_ext
45692 cat >>conftest.
$ac_ext <<_ACEOF
45693 /* end confdefs.h. */
45708 rm -f conftest.
$ac_objext
45709 if { (ac_try
="$ac_compile"
45710 case "(($ac_try" in
45711 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
45712 *) ac_try_echo=$ac_try;;
45714 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45715 (eval "$ac_compile") 2>conftest.er1
45717 grep -v '^ *+' conftest.er1 >conftest.err
45719 cat conftest.err >&5
45720 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45721 (exit $ac_status); } && {
45722 test -z "$ac_cxx_werror_flag" ||
45723 test ! -s conftest.err
45724 } && test -s conftest.$ac_objext; then
45726 wx_cv_var_timezone=timezone
45729 echo "$as_me: failed program was:" >&5
45730 sed 's/^/| /' conftest.$ac_ext >&5
45733 cat >conftest.$ac_ext <<_ACEOF
45736 cat confdefs.h >>conftest.$ac_ext
45737 cat >>conftest.$ac_ext <<_ACEOF
45738 /* end confdefs.h. */
45753 rm -f conftest.$ac_objext
45754 if { (ac_try="$ac_compile"
45755 case "(($ac_try" in
45756 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
45757 *) ac_try_echo
=$ac_try;;
45759 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45760 (eval "$ac_compile") 2>conftest.er1
45762 grep -v '^ *+' conftest.er1
>conftest.err
45764 cat conftest.err
>&5
45765 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45766 (exit $ac_status); } && {
45767 test -z "$ac_cxx_werror_flag" ||
45768 test ! -s conftest.err
45769 } && test -s conftest.
$ac_objext; then
45771 wx_cv_var_timezone
=_timezone
45774 echo "$as_me: failed program was:" >&5
45775 sed 's/^/| /' conftest.
$ac_ext >&5
45778 cat >conftest.
$ac_ext <<_ACEOF
45781 cat confdefs.h
>>conftest.
$ac_ext
45782 cat >>conftest.
$ac_ext <<_ACEOF
45783 /* end confdefs.h. */
45798 rm -f conftest.
$ac_objext
45799 if { (ac_try
="$ac_compile"
45800 case "(($ac_try" in
45801 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
45802 *) ac_try_echo=$ac_try;;
45804 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45805 (eval "$ac_compile") 2>conftest.er1
45807 grep -v '^ *+' conftest.er1 >conftest.err
45809 cat conftest.err >&5
45810 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45811 (exit $ac_status); } && {
45812 test -z "$ac_cxx_werror_flag" ||
45813 test ! -s conftest.err
45814 } && test -s conftest.$ac_objext; then
45816 wx_cv_var_timezone=__timezone
45819 echo "$as_me: failed program was:" >&5
45820 sed 's/^/| /' conftest.$ac_ext >&5
45823 if test "$USE_DOS" = 0 ; then
45824 { echo "$as_me:$LINENO: WARNING: no timezone variable" >&5
45825 echo "$as_me: WARNING: no timezone variable" >&2;}
45831 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45836 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45841 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45843 ac_cpp='$CPP $CPPFLAGS'
45844 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45845 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45846 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45851 { echo "$as_me:$LINENO: result: $wx_cv_var_timezone" >&5
45852 echo "${ECHO_T}$wx_cv_var_timezone" >&6; }
45854 if test "x$wx_cv_var_timezone" != x ; then
45855 cat >>confdefs.h <<_ACEOF
45856 #define WX_TIMEZONE $wx_cv_var_timezone
45862 for ac_func in localtime
45864 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
45865 { echo "$as_me:$LINENO: checking for $ac_func" >&5
45866 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
45867 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
45868 echo $ECHO_N "(cached) $ECHO_C" >&6
45870 cat >conftest.$ac_ext <<_ACEOF
45873 cat confdefs.h >>conftest.$ac_ext
45874 cat >>conftest.$ac_ext <<_ACEOF
45875 /* end confdefs.h. */
45876 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
45877 For example, HP-UX 11i <limits.h> declares gettimeofday. */
45878 #define $ac_func innocuous_$ac_func
45880 /* System header to define __stub macros and hopefully few prototypes,
45881 which can conflict with char $ac_func (); below.
45882 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
45883 <limits.h> exists even on freestanding compilers. */
45886 # include <limits.h>
45888 # include <assert.h>
45893 /* Override any GCC internal prototype to avoid an error.
45894 Use char because int might match the return type of a GCC
45895 builtin and then its argument prototype would still apply. */
45900 /* The GNU C library defines this for functions which it implements
45901 to always fail with ENOSYS. Some functions are actually named
45902 something starting with __ and the normal name is an alias. */
45903 #if defined __stub_$ac_func || defined __stub___$ac_func
45910 return $ac_func ();
45915 rm -f conftest.$ac_objext conftest$ac_exeext
45916 if { (ac_try="$ac_link"
45917 case "(($ac_try" in
45918 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
45919 *) ac_try_echo
=$ac_try;;
45921 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45922 (eval "$ac_link") 2>conftest.er1
45924 grep -v '^ *+' conftest.er1
>conftest.err
45926 cat conftest.err
>&5
45927 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45928 (exit $ac_status); } && {
45929 test -z "$ac_c_werror_flag" ||
45930 test ! -s conftest.err
45931 } && test -s conftest
$ac_exeext &&
45932 $as_test_x conftest
$ac_exeext; then
45933 eval "$as_ac_var=yes"
45935 echo "$as_me: failed program was:" >&5
45936 sed 's/^/| /' conftest.
$ac_ext >&5
45938 eval "$as_ac_var=no"
45941 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
45942 conftest
$ac_exeext conftest.
$ac_ext
45944 ac_res
=`eval echo '${'$as_ac_var'}'`
45945 { echo "$as_me:$LINENO: result: $ac_res" >&5
45946 echo "${ECHO_T}$ac_res" >&6; }
45947 if test `eval echo '${'$as_ac_var'}'` = yes; then
45948 cat >>confdefs.h
<<_ACEOF
45949 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
45956 if test "$ac_cv_func_localtime" = "yes"; then
45957 { echo "$as_me:$LINENO: checking for tm_gmtoff in struct tm" >&5
45958 echo $ECHO_N "checking for tm_gmtoff in struct tm... $ECHO_C" >&6; }
45959 if test "${wx_cv_struct_tm_has_gmtoff+set}" = set; then
45960 echo $ECHO_N "(cached) $ECHO_C" >&6
45963 cat >conftest.
$ac_ext <<_ACEOF
45966 cat confdefs.h
>>conftest.
$ac_ext
45967 cat >>conftest.
$ac_ext <<_ACEOF
45968 /* end confdefs.h. */
45983 rm -f conftest.
$ac_objext
45984 if { (ac_try
="$ac_compile"
45985 case "(($ac_try" in
45986 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
45987 *) ac_try_echo=$ac_try;;
45989 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45990 (eval "$ac_compile") 2>conftest.er1
45992 grep -v '^ *+' conftest.er1 >conftest.err
45994 cat conftest.err >&5
45995 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45996 (exit $ac_status); } && {
45997 test -z "$ac_c_werror_flag" ||
45998 test ! -s conftest.err
45999 } && test -s conftest.$ac_objext; then
46001 wx_cv_struct_tm_has_gmtoff=yes
46004 echo "$as_me: failed program was:" >&5
46005 sed 's/^/| /' conftest.$ac_ext >&5
46007 wx_cv_struct_tm_has_gmtoff=no
46011 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46014 { echo "$as_me:$LINENO: result: $wx_cv_struct_tm_has_gmtoff" >&5
46015 echo "${ECHO_T}$wx_cv_struct_tm_has_gmtoff" >&6; }
46018 if test "$wx_cv_struct_tm_has_gmtoff" = "yes"; then
46019 cat >>confdefs.h <<\_ACEOF
46020 #define WX_GMTOFF_IN_TM 1
46027 for ac_func in gettimeofday ftime
46029 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
46030 { echo "$as_me:$LINENO: checking for $ac_func" >&5
46031 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
46032 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
46033 echo $ECHO_N "(cached) $ECHO_C" >&6
46035 cat >conftest.$ac_ext <<_ACEOF
46038 cat confdefs.h >>conftest.$ac_ext
46039 cat >>conftest.$ac_ext <<_ACEOF
46040 /* end confdefs.h. */
46041 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
46042 For example, HP-UX 11i <limits.h> declares gettimeofday. */
46043 #define $ac_func innocuous_$ac_func
46045 /* System header to define __stub macros and hopefully few prototypes,
46046 which can conflict with char $ac_func (); below.
46047 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
46048 <limits.h> exists even on freestanding compilers. */
46051 # include <limits.h>
46053 # include <assert.h>
46058 /* Override any GCC internal prototype to avoid an error.
46059 Use char because int might match the return type of a GCC
46060 builtin and then its argument prototype would still apply. */
46065 /* The GNU C library defines this for functions which it implements
46066 to always fail with ENOSYS. Some functions are actually named
46067 something starting with __ and the normal name is an alias. */
46068 #if defined __stub_$ac_func || defined __stub___$ac_func
46075 return $ac_func ();
46080 rm -f conftest.$ac_objext conftest$ac_exeext
46081 if { (ac_try="$ac_link"
46082 case "(($ac_try" in
46083 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
46084 *) ac_try_echo
=$ac_try;;
46086 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46087 (eval "$ac_link") 2>conftest.er1
46089 grep -v '^ *+' conftest.er1
>conftest.err
46091 cat conftest.err
>&5
46092 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46093 (exit $ac_status); } && {
46094 test -z "$ac_c_werror_flag" ||
46095 test ! -s conftest.err
46096 } && test -s conftest
$ac_exeext &&
46097 $as_test_x conftest
$ac_exeext; then
46098 eval "$as_ac_var=yes"
46100 echo "$as_me: failed program was:" >&5
46101 sed 's/^/| /' conftest.
$ac_ext >&5
46103 eval "$as_ac_var=no"
46106 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
46107 conftest
$ac_exeext conftest.
$ac_ext
46109 ac_res
=`eval echo '${'$as_ac_var'}'`
46110 { echo "$as_me:$LINENO: result: $ac_res" >&5
46111 echo "${ECHO_T}$ac_res" >&6; }
46112 if test `eval echo '${'$as_ac_var'}'` = yes; then
46113 cat >>confdefs.h
<<_ACEOF
46114 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
46121 if test "$ac_cv_func_gettimeofday" = "yes"; then
46122 { echo "$as_me:$LINENO: checking whether gettimeofday takes two arguments" >&5
46123 echo $ECHO_N "checking whether gettimeofday takes two arguments... $ECHO_C" >&6; }
46124 if test "${wx_cv_func_gettimeofday_has_2_args+set}" = set; then
46125 echo $ECHO_N "(cached) $ECHO_C" >&6
46128 cat >conftest.
$ac_ext <<_ACEOF
46131 cat confdefs.h
>>conftest.
$ac_ext
46132 cat >>conftest.
$ac_ext <<_ACEOF
46133 /* end confdefs.h. */
46135 #include <sys/time.h>
46136 #include <unistd.h>
46143 gettimeofday(&tv, NULL);
46149 rm -f conftest.
$ac_objext
46150 if { (ac_try
="$ac_compile"
46151 case "(($ac_try" in
46152 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
46153 *) ac_try_echo=$ac_try;;
46155 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46156 (eval "$ac_compile") 2>conftest.er1
46158 grep -v '^ *+' conftest.er1 >conftest.err
46160 cat conftest.err >&5
46161 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46162 (exit $ac_status); } && {
46163 test -z "$ac_c_werror_flag" ||
46164 test ! -s conftest.err
46165 } && test -s conftest.$ac_objext; then
46166 wx_cv_func_gettimeofday_has_2_args=yes
46168 echo "$as_me: failed program was:" >&5
46169 sed 's/^/| /' conftest.$ac_ext >&5
46171 cat >conftest.$ac_ext <<_ACEOF
46174 cat confdefs.h >>conftest.$ac_ext
46175 cat >>conftest.$ac_ext <<_ACEOF
46176 /* end confdefs.h. */
46178 #include <sys/time.h>
46179 #include <unistd.h>
46192 rm -f conftest.$ac_objext
46193 if { (ac_try="$ac_compile"
46194 case "(($ac_try" in
46195 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
46196 *) ac_try_echo
=$ac_try;;
46198 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46199 (eval "$ac_compile") 2>conftest.er1
46201 grep -v '^ *+' conftest.er1
>conftest.err
46203 cat conftest.err
>&5
46204 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46205 (exit $ac_status); } && {
46206 test -z "$ac_c_werror_flag" ||
46207 test ! -s conftest.err
46208 } && test -s conftest.
$ac_objext; then
46209 wx_cv_func_gettimeofday_has_2_args
=no
46211 echo "$as_me: failed program was:" >&5
46212 sed 's/^/| /' conftest.
$ac_ext >&5
46215 { echo "$as_me:$LINENO: WARNING: failed to determine number of gettimeofday() arguments" >&5
46216 echo "$as_me: WARNING: failed to determine number of gettimeofday() arguments" >&2;}
46217 wx_cv_func_gettimeofday_has_2_args
=unknown
46222 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
46226 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
46229 { echo "$as_me:$LINENO: result: $wx_cv_func_gettimeofday_has_2_args" >&5
46230 echo "${ECHO_T}$wx_cv_func_gettimeofday_has_2_args" >&6; }
46232 if test "$wx_cv_func_gettimeofday_has_2_args" != "yes"; then
46233 cat >>confdefs.h
<<\_ACEOF
46234 #define WX_GETTIMEOFDAY_NO_TZ 1
46240 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS typetest"
46244 if test "$wxUSE_SOCKETS" = "yes"; then
46245 if test "$wxUSE_MGL" = "1"; then
46246 { echo "$as_me:$LINENO: WARNING: wxSocket not yet supported under MGL... disabled" >&5
46247 echo "$as_me: WARNING: wxSocket not yet supported under MGL... disabled" >&2;}
46252 if test "$wxUSE_SOCKETS" = "yes"; then
46253 if test "$TOOLKIT" != "MSW"; then
46254 { echo "$as_me:$LINENO: checking for socket" >&5
46255 echo $ECHO_N "checking for socket... $ECHO_C" >&6; }
46256 if test "${ac_cv_func_socket+set}" = set; then
46257 echo $ECHO_N "(cached) $ECHO_C" >&6
46259 cat >conftest.
$ac_ext <<_ACEOF
46262 cat confdefs.h
>>conftest.
$ac_ext
46263 cat >>conftest.
$ac_ext <<_ACEOF
46264 /* end confdefs.h. */
46265 /* Define socket to an innocuous variant, in case <limits.h> declares socket.
46266 For example, HP-UX 11i <limits.h> declares gettimeofday. */
46267 #define socket innocuous_socket
46269 /* System header to define __stub macros and hopefully few prototypes,
46270 which can conflict with char socket (); below.
46271 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
46272 <limits.h> exists even on freestanding compilers. */
46275 # include <limits.h>
46277 # include <assert.h>
46282 /* Override any GCC internal prototype to avoid an error.
46283 Use char because int might match the return type of a GCC
46284 builtin and then its argument prototype would still apply. */
46289 /* The GNU C library defines this for functions which it implements
46290 to always fail with ENOSYS. Some functions are actually named
46291 something starting with __ and the normal name is an alias. */
46292 #if defined __stub_socket || defined __stub___socket
46304 rm -f conftest.
$ac_objext conftest
$ac_exeext
46305 if { (ac_try
="$ac_link"
46306 case "(($ac_try" in
46307 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
46308 *) ac_try_echo=$ac_try;;
46310 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46311 (eval "$ac_link") 2>conftest.er1
46313 grep -v '^ *+' conftest.er1 >conftest.err
46315 cat conftest.err >&5
46316 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46317 (exit $ac_status); } && {
46318 test -z "$ac_c_werror_flag" ||
46319 test ! -s conftest.err
46320 } && test -s conftest$ac_exeext &&
46321 $as_test_x conftest$ac_exeext; then
46322 ac_cv_func_socket=yes
46324 echo "$as_me: failed program was:" >&5
46325 sed 's/^/| /' conftest.$ac_ext >&5
46327 ac_cv_func_socket=no
46330 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
46331 conftest$ac_exeext conftest.$ac_ext
46333 { echo "$as_me:$LINENO: result: $ac_cv_func_socket" >&5
46334 echo "${ECHO_T}$ac_cv_func_socket" >&6; }
46335 if test $ac_cv_func_socket = yes; then
46339 { echo "$as_me:$LINENO: checking for socket in -lsocket" >&5
46340 echo $ECHO_N "checking for socket in -lsocket... $ECHO_C" >&6; }
46341 if test "${ac_cv_lib_socket_socket+set}" = set; then
46342 echo $ECHO_N "(cached) $ECHO_C" >&6
46344 ac_check_lib_save_LIBS=$LIBS
46345 LIBS="-lsocket $LIBS"
46346 cat >conftest.$ac_ext <<_ACEOF
46349 cat confdefs.h >>conftest.$ac_ext
46350 cat >>conftest.$ac_ext <<_ACEOF
46351 /* end confdefs.h. */
46353 /* Override any GCC internal prototype to avoid an error.
46354 Use char because int might match the return type of a GCC
46355 builtin and then its argument prototype would still apply. */
46368 rm -f conftest.$ac_objext conftest$ac_exeext
46369 if { (ac_try="$ac_link"
46370 case "(($ac_try" in
46371 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
46372 *) ac_try_echo
=$ac_try;;
46374 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46375 (eval "$ac_link") 2>conftest.er1
46377 grep -v '^ *+' conftest.er1
>conftest.err
46379 cat conftest.err
>&5
46380 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46381 (exit $ac_status); } && {
46382 test -z "$ac_c_werror_flag" ||
46383 test ! -s conftest.err
46384 } && test -s conftest
$ac_exeext &&
46385 $as_test_x conftest
$ac_exeext; then
46386 ac_cv_lib_socket_socket
=yes
46388 echo "$as_me: failed program was:" >&5
46389 sed 's/^/| /' conftest.
$ac_ext >&5
46391 ac_cv_lib_socket_socket
=no
46394 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
46395 conftest
$ac_exeext conftest.
$ac_ext
46396 LIBS
=$ac_check_lib_save_LIBS
46398 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_socket" >&5
46399 echo "${ECHO_T}$ac_cv_lib_socket_socket" >&6; }
46400 if test $ac_cv_lib_socket_socket = yes; then
46401 if test "$INET_LINK" != " -lsocket"; then
46402 INET_LINK
="$INET_LINK -lsocket"
46406 { echo "$as_me:$LINENO: WARNING: socket library not found - sockets will be disabled" >&5
46407 echo "$as_me: WARNING: socket library not found - sockets will be disabled" >&2;}
46420 if test "$wxUSE_SOCKETS" = "yes" ; then
46421 if test "$TOOLKIT" != "MSW"; then
46422 { echo "$as_me:$LINENO: checking what is the type of the third argument of getsockname" >&5
46423 echo $ECHO_N "checking what is the type of the third argument of getsockname... $ECHO_C" >&6; }
46424 if test "${wx_cv_type_getsockname3+set}" = set; then
46425 echo $ECHO_N "(cached) $ECHO_C" >&6
46429 ac_cpp
='$CXXCPP $CPPFLAGS'
46430 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46431 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46432 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
46434 cat >conftest.
$ac_ext <<_ACEOF
46437 cat confdefs.h
>>conftest.
$ac_ext
46438 cat >>conftest.
$ac_ext <<_ACEOF
46439 /* end confdefs.h. */
46441 #include <sys/types.h>
46442 #include <sys/socket.h>
46449 getsockname(0, 0, &len);
46455 rm -f conftest.
$ac_objext
46456 if { (ac_try
="$ac_compile"
46457 case "(($ac_try" in
46458 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
46459 *) ac_try_echo=$ac_try;;
46461 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46462 (eval "$ac_compile") 2>conftest.er1
46464 grep -v '^ *+' conftest.er1 >conftest.err
46466 cat conftest.err >&5
46467 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46468 (exit $ac_status); } && {
46469 test -z "$ac_cxx_werror_flag" ||
46470 test ! -s conftest.err
46471 } && test -s conftest.$ac_objext; then
46472 wx_cv_type_getsockname3=socklen_t
46474 echo "$as_me: failed program was:" >&5
46475 sed 's/^/| /' conftest.$ac_ext >&5
46478 CFLAGS_OLD="$CFLAGS"
46479 if test "$GCC" = yes ; then
46480 CFLAGS="-Werror $CFLAGS"
46483 cat >conftest.$ac_ext <<_ACEOF
46486 cat confdefs.h >>conftest.$ac_ext
46487 cat >>conftest.$ac_ext <<_ACEOF
46488 /* end confdefs.h. */
46490 #include <sys/types.h>
46491 #include <sys/socket.h>
46498 getsockname(0, 0, &len);
46504 rm -f conftest.$ac_objext
46505 if { (ac_try="$ac_compile"
46506 case "(($ac_try" in
46507 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
46508 *) ac_try_echo
=$ac_try;;
46510 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46511 (eval "$ac_compile") 2>conftest.er1
46513 grep -v '^ *+' conftest.er1
>conftest.err
46515 cat conftest.err
>&5
46516 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46517 (exit $ac_status); } && {
46518 test -z "$ac_cxx_werror_flag" ||
46519 test ! -s conftest.err
46520 } && test -s conftest.
$ac_objext; then
46521 wx_cv_type_getsockname3
=size_t
46523 echo "$as_me: failed program was:" >&5
46524 sed 's/^/| /' conftest.
$ac_ext >&5
46526 cat >conftest.
$ac_ext <<_ACEOF
46529 cat confdefs.h
>>conftest.
$ac_ext
46530 cat >>conftest.
$ac_ext <<_ACEOF
46531 /* end confdefs.h. */
46533 #include <sys/types.h>
46534 #include <sys/socket.h>
46541 getsockname(0, 0, &len);
46547 rm -f conftest.
$ac_objext
46548 if { (ac_try
="$ac_compile"
46549 case "(($ac_try" in
46550 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
46551 *) ac_try_echo=$ac_try;;
46553 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46554 (eval "$ac_compile") 2>conftest.er1
46556 grep -v '^ *+' conftest.er1 >conftest.err
46558 cat conftest.err >&5
46559 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46560 (exit $ac_status); } && {
46561 test -z "$ac_cxx_werror_flag" ||
46562 test ! -s conftest.err
46563 } && test -s conftest.$ac_objext; then
46564 wx_cv_type_getsockname3=int
46566 echo "$as_me: failed program was:" >&5
46567 sed 's/^/| /' conftest.$ac_ext >&5
46569 wx_cv_type_getsockname3=unknown
46573 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46577 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46579 CFLAGS="$CFLAGS_OLD"
46584 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46586 ac_cpp='$CPP $CPPFLAGS'
46587 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46588 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46589 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46593 { echo "$as_me:$LINENO: result: $wx_cv_type_getsockname3" >&5
46594 echo "${ECHO_T}$wx_cv_type_getsockname3" >&6; }
46596 if test "$wx_cv_type_getsockname3" = "unknown"; then
46598 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
46599 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
46601 cat >>confdefs.h <<_ACEOF
46602 #define WX_SOCKLEN_T $wx_cv_type_getsockname3
46606 { echo "$as_me:$LINENO: checking what is the type of the fifth argument of getsockopt" >&5
46607 echo $ECHO_N "checking what is the type of the fifth argument of getsockopt... $ECHO_C" >&6; }
46608 if test "${wx_cv_type_getsockopt5+set}" = set; then
46609 echo $ECHO_N "(cached) $ECHO_C" >&6
46613 ac_cpp='$CXXCPP $CPPFLAGS'
46614 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46615 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46616 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46618 cat >conftest.$ac_ext <<_ACEOF
46621 cat confdefs.h >>conftest.$ac_ext
46622 cat >>conftest.$ac_ext <<_ACEOF
46623 /* end confdefs.h. */
46625 #include <sys/types.h>
46626 #include <sys/socket.h>
46633 getsockopt(0, 0, 0, 0, &len);
46639 rm -f conftest.$ac_objext
46640 if { (ac_try="$ac_compile"
46641 case "(($ac_try" in
46642 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
46643 *) ac_try_echo
=$ac_try;;
46645 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46646 (eval "$ac_compile") 2>conftest.er1
46648 grep -v '^ *+' conftest.er1
>conftest.err
46650 cat conftest.err
>&5
46651 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46652 (exit $ac_status); } && {
46653 test -z "$ac_cxx_werror_flag" ||
46654 test ! -s conftest.err
46655 } && test -s conftest.
$ac_objext; then
46656 wx_cv_type_getsockopt5
=socklen_t
46658 echo "$as_me: failed program was:" >&5
46659 sed 's/^/| /' conftest.
$ac_ext >&5
46662 cat >conftest.
$ac_ext <<_ACEOF
46665 cat confdefs.h
>>conftest.
$ac_ext
46666 cat >>conftest.
$ac_ext <<_ACEOF
46667 /* end confdefs.h. */
46669 #include <sys/types.h>
46670 #include <sys/socket.h>
46677 getsockopt(0, 0, 0, 0, &len);
46683 rm -f conftest.
$ac_objext
46684 if { (ac_try
="$ac_compile"
46685 case "(($ac_try" in
46686 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
46687 *) ac_try_echo=$ac_try;;
46689 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46690 (eval "$ac_compile") 2>conftest.er1
46692 grep -v '^ *+' conftest.er1 >conftest.err
46694 cat conftest.err >&5
46695 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46696 (exit $ac_status); } && {
46697 test -z "$ac_cxx_werror_flag" ||
46698 test ! -s conftest.err
46699 } && test -s conftest.$ac_objext; then
46700 wx_cv_type_getsockopt5=size_t
46702 echo "$as_me: failed program was:" >&5
46703 sed 's/^/| /' conftest.$ac_ext >&5
46705 cat >conftest.$ac_ext <<_ACEOF
46708 cat confdefs.h >>conftest.$ac_ext
46709 cat >>conftest.$ac_ext <<_ACEOF
46710 /* end confdefs.h. */
46712 #include <sys/types.h>
46713 #include <sys/socket.h>
46720 getsockopt(0, 0, 0, 0, &len);
46726 rm -f conftest.$ac_objext
46727 if { (ac_try="$ac_compile"
46728 case "(($ac_try" in
46729 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
46730 *) ac_try_echo
=$ac_try;;
46732 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46733 (eval "$ac_compile") 2>conftest.er1
46735 grep -v '^ *+' conftest.er1
>conftest.err
46737 cat conftest.err
>&5
46738 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46739 (exit $ac_status); } && {
46740 test -z "$ac_cxx_werror_flag" ||
46741 test ! -s conftest.err
46742 } && test -s conftest.
$ac_objext; then
46743 wx_cv_type_getsockopt5
=int
46745 echo "$as_me: failed program was:" >&5
46746 sed 's/^/| /' conftest.
$ac_ext >&5
46748 wx_cv_type_getsockopt5
=unknown
46752 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
46756 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
46761 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
46763 ac_cpp
='$CPP $CPPFLAGS'
46764 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46765 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46766 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
46770 { echo "$as_me:$LINENO: result: $wx_cv_type_getsockopt5" >&5
46771 echo "${ECHO_T}$wx_cv_type_getsockopt5" >&6; }
46773 if test "$wx_cv_type_getsockopt5" = "unknown"; then
46775 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
46776 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
46778 cat >>confdefs.h
<<_ACEOF
46779 #define SOCKOPTLEN_T $wx_cv_type_getsockopt5
46786 if test "$wxUSE_SOCKETS" = "yes" ; then
46787 cat >>confdefs.h
<<\_ACEOF
46788 #define wxUSE_SOCKETS 1
46791 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS sockets"
46794 if test "$wxUSE_PROTOCOL" = "yes"; then
46795 if test "$wxUSE_SOCKETS" != "yes"; then
46796 { echo "$as_me:$LINENO: WARNING: Protocol classes require sockets... disabled" >&5
46797 echo "$as_me: WARNING: Protocol classes require sockets... disabled" >&2;}
46802 if test "$wxUSE_PROTOCOL" = "yes"; then
46803 cat >>confdefs.h
<<\_ACEOF
46804 #define wxUSE_PROTOCOL 1
46808 if test "$wxUSE_PROTOCOL_HTTP" = "yes"; then
46809 cat >>confdefs.h
<<\_ACEOF
46810 #define wxUSE_PROTOCOL_HTTP 1
46814 if test "$wxUSE_PROTOCOL_FTP" = "yes"; then
46815 cat >>confdefs.h
<<\_ACEOF
46816 #define wxUSE_PROTOCOL_FTP 1
46820 if test "$wxUSE_PROTOCOL_FILE" = "yes"; then
46821 cat >>confdefs.h
<<\_ACEOF
46822 #define wxUSE_PROTOCOL_FILE 1
46827 if test "$wxUSE_FS_INET" = "yes"; then
46828 { echo "$as_me:$LINENO: WARNING: HTTP filesystem require protocol classes... disabled" >&5
46829 echo "$as_me: WARNING: HTTP filesystem require protocol classes... disabled" >&2;}
46834 if test "$wxUSE_URL" = "yes"; then
46835 if test "$wxUSE_PROTOCOL" != "yes"; then
46836 { echo "$as_me:$LINENO: WARNING: wxURL class requires wxProtocol... disabled" >&5
46837 echo "$as_me: WARNING: wxURL class requires wxProtocol... disabled" >&2;}
46840 if test "$wxUSE_URL" = "yes"; then
46841 cat >>confdefs.h
<<\_ACEOF
46842 #define wxUSE_URL 1
46848 if test "$wxUSE_VARIANT" = "yes"; then
46849 cat >>confdefs.h
<<\_ACEOF
46850 #define wxUSE_VARIANT 1
46855 if test "$wxUSE_FS_INET" = "yes"; then
46856 cat >>confdefs.h
<<\_ACEOF
46857 #define wxUSE_FS_INET 1
46863 if test "$wxUSE_GUI" = "yes" -a "$wxUSE_JOYSTICK" = "yes"; then
46866 if test "$TOOLKIT" = "MSW"; then
46869 elif test "$TOOLKIT" = "MAC" -o "$TOOLKIT" = "COCOA"; then
46870 if test "$USE_DARWIN" = 1; then
46871 { echo "$as_me:$LINENO: checking headers have declarations needed for joystick support" >&5
46872 echo $ECHO_N "checking headers have declarations needed for joystick support... $ECHO_C" >&6; }
46874 ac_cpp
='$CXXCPP $CPPFLAGS'
46875 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46876 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46877 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
46879 cat >conftest.
$ac_ext <<_ACEOF
46882 cat confdefs.h
>>conftest.
$ac_ext
46883 cat >>conftest.
$ac_ext <<_ACEOF
46884 /* end confdefs.h. */
46885 #include <IOKit/hid/IOHIDLib.h>
46889 IOHIDQueueInterface *qi = NULL;
46890 IOHIDCallbackFunction cb = NULL;
46891 qi->setEventCallout(NULL, cb, NULL, NULL);
46896 rm -f conftest.
$ac_objext
46897 if { (ac_try
="$ac_compile"
46898 case "(($ac_try" in
46899 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
46900 *) ac_try_echo=$ac_try;;
46902 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46903 (eval "$ac_compile") 2>conftest.er1
46905 grep -v '^ *+' conftest.er1 >conftest.err
46907 cat conftest.err >&5
46908 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46909 (exit $ac_status); } && {
46910 test -z "$ac_cxx_werror_flag" ||
46911 test ! -s conftest.err
46912 } && test -s conftest.$ac_objext; then
46916 echo "$as_me: failed program was:" >&5
46917 sed 's/^/| /' conftest.$ac_ext >&5
46922 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46924 ac_cpp='$CPP $CPPFLAGS'
46925 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46926 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46927 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46929 { echo "$as_me:$LINENO: result: $wxUSE_JOYSTICK" >&5
46930 echo "${ECHO_T}$wxUSE_JOYSTICK" >&6; }
46934 if test "$wxUSE_MGL" != "1"; then
46935 { echo "$as_me:$LINENO: checking for linux/joystick.h" >&5
46936 echo $ECHO_N "checking for linux/joystick.h... $ECHO_C" >&6; }
46937 if test "${ac_cv_header_linux_joystick_h+set}" = set; then
46938 echo $ECHO_N "(cached) $ECHO_C" >&6
46940 cat >conftest.$ac_ext <<_ACEOF
46943 cat confdefs.h >>conftest.$ac_ext
46944 cat >>conftest.$ac_ext <<_ACEOF
46945 /* end confdefs.h. */
46946 $ac_includes_default
46948 #include <linux/joystick.h>
46950 rm -f conftest.$ac_objext
46951 if { (ac_try="$ac_compile"
46952 case "(($ac_try" in
46953 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
46954 *) ac_try_echo
=$ac_try;;
46956 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46957 (eval "$ac_compile") 2>conftest.er1
46959 grep -v '^ *+' conftest.er1
>conftest.err
46961 cat conftest.err
>&5
46962 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46963 (exit $ac_status); } && {
46964 test -z "$ac_c_werror_flag" ||
46965 test ! -s conftest.err
46966 } && test -s conftest.
$ac_objext; then
46967 ac_cv_header_linux_joystick_h
=yes
46969 echo "$as_me: failed program was:" >&5
46970 sed 's/^/| /' conftest.
$ac_ext >&5
46972 ac_cv_header_linux_joystick_h
=no
46975 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
46977 { echo "$as_me:$LINENO: result: $ac_cv_header_linux_joystick_h" >&5
46978 echo "${ECHO_T}$ac_cv_header_linux_joystick_h" >&6; }
46979 if test $ac_cv_header_linux_joystick_h = yes; then
46987 if test "$wxUSE_JOYSTICK" = "yes"; then
46988 cat >>confdefs.h
<<\_ACEOF
46989 #define wxUSE_JOYSTICK 1
46992 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS joytest"
46994 { echo "$as_me:$LINENO: WARNING: Joystick not supported by this system... disabled" >&5
46995 echo "$as_me: WARNING: Joystick not supported by this system... disabled" >&2;}
47001 if test "$wxUSE_FONTMAP" = "yes" ; then
47002 cat >>confdefs.h
<<\_ACEOF
47003 #define wxUSE_FONTMAP 1
47008 if test "$wxUSE_UNICODE" = "yes" ; then
47009 cat >>confdefs.h
<<\_ACEOF
47010 #define wxUSE_UNICODE 1
47014 if test "$USE_WIN32" != 1; then
47015 wxUSE_UNICODE_MSLU
=no
47018 if test "$USE_WIN32" = 1 -a "$wxUSE_UNICODE_MSLU" = "yes"; then
47019 { echo "$as_me:$LINENO: checking for main in -lunicows" >&5
47020 echo $ECHO_N "checking for main in -lunicows... $ECHO_C" >&6; }
47021 if test "${ac_cv_lib_unicows_main+set}" = set; then
47022 echo $ECHO_N "(cached) $ECHO_C" >&6
47024 ac_check_lib_save_LIBS
=$LIBS
47025 LIBS
="-lunicows $LIBS"
47026 cat >conftest.
$ac_ext <<_ACEOF
47029 cat confdefs.h
>>conftest.
$ac_ext
47030 cat >>conftest.
$ac_ext <<_ACEOF
47031 /* end confdefs.h. */
47042 rm -f conftest.
$ac_objext conftest
$ac_exeext
47043 if { (ac_try
="$ac_link"
47044 case "(($ac_try" in
47045 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
47046 *) ac_try_echo=$ac_try;;
47048 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47049 (eval "$ac_link") 2>conftest.er1
47051 grep -v '^ *+' conftest.er1 >conftest.err
47053 cat conftest.err >&5
47054 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47055 (exit $ac_status); } && {
47056 test -z "$ac_c_werror_flag" ||
47057 test ! -s conftest.err
47058 } && test -s conftest$ac_exeext &&
47059 $as_test_x conftest$ac_exeext; then
47060 ac_cv_lib_unicows_main=yes
47062 echo "$as_me: failed program was:" >&5
47063 sed 's/^/| /' conftest.$ac_ext >&5
47065 ac_cv_lib_unicows_main=no
47068 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
47069 conftest$ac_exeext conftest.$ac_ext
47070 LIBS=$ac_check_lib_save_LIBS
47072 { echo "$as_me:$LINENO: result: $ac_cv_lib_unicows_main" >&5
47073 echo "${ECHO_T}$ac_cv_lib_unicows_main" >&6; }
47074 if test $ac_cv_lib_unicows_main = yes; then
47076 cat >>confdefs.h <<\_ACEOF
47077 #define wxUSE_UNICODE_MSLU 1
47083 { echo "$as_me:$LINENO: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
47084 Applications will only run on Windows NT/2000/XP!" >&5
47085 echo "$as_me: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
47086 Applications will only run on Windows NT/2000/XP!" >&2;}
47087 wxUSE_UNICODE_MSLU=no
47094 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_UTF8" = "yes"; then
47095 cat >>confdefs.h <<\_ACEOF
47096 #define wxUSE_UNICODE_UTF8 1
47100 if test "$wxUSE_UNICODE_UTF8_LOCALE" = "yes"; then
47101 cat >>confdefs.h <<\_ACEOF
47102 #define wxUSE_UTF8_LOCALE_ONLY 1
47108 if test "$wxUSE_wxUSE_EXPERIMENTAL_PRINTF" = "yes"; then
47109 cat >>confdefs.h <<\_ACEOF
47110 #define wxUSE_EXPERIMENTAL_PRINTF 1
47116 if test "$wxUSE_CONSTRAINTS" = "yes"; then
47117 cat >>confdefs.h <<\_ACEOF
47118 #define wxUSE_CONSTRAINTS 1
47121 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS layout"
47124 if test "$wxUSE_MDI" = "yes"; then
47125 cat >>confdefs.h <<\_ACEOF
47126 #define wxUSE_MDI 1
47130 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
47131 cat >>confdefs.h <<\_ACEOF
47132 #define wxUSE_MDI_ARCHITECTURE 1
47135 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS mdi"
47139 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = "yes" ; then
47140 cat >>confdefs.h <<\_ACEOF
47141 #define wxUSE_DOC_VIEW_ARCHITECTURE 1
47144 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS docview"
47145 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
47146 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS docvwmdi"
47150 if test "$wxUSE_HELP" = "yes"; then
47151 cat >>confdefs.h <<\_ACEOF
47152 #define wxUSE_HELP 1
47155 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS help"
47157 if test "$wxUSE_MSW" = 1; then
47158 if test "$wxUSE_MS_HTML_HELP" = "yes"; then
47159 cat >>confdefs.h <<\_ACEOF
47160 #define wxUSE_MS_HTML_HELP 1
47166 if test "$wxUSE_WXHTML_HELP" = "yes"; then
47167 if test "$wxUSE_HTML" = "yes"; then
47168 cat >>confdefs.h <<\_ACEOF
47169 #define wxUSE_WXHTML_HELP 1
47173 { echo "$as_me:$LINENO: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&5
47174 echo "$as_me: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&2;}
47175 wxUSE_WXHTML_HELP=no
47180 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
47181 if test "$wxUSE_CONSTRAINTS" != "yes"; then
47182 { echo "$as_me:$LINENO: WARNING: Printing support cannot be used without constraints so it won't be compiled without it" >&5
47183 echo "$as_me: WARNING: Printing support cannot be used without constraints so it won't be compiled without it" >&2;}
47185 cat >>confdefs.h <<\_ACEOF
47186 #define wxUSE_PRINTING_ARCHITECTURE 1
47190 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS printing"
47193 if test "$wxUSE_POSTSCRIPT" = "yes" ; then
47194 cat >>confdefs.h <<\_ACEOF
47195 #define wxUSE_POSTSCRIPT 1
47200 cat >>confdefs.h <<\_ACEOF
47201 #define wxUSE_AFM_FOR_POSTSCRIPT 1
47205 cat >>confdefs.h <<\_ACEOF
47206 #define wxUSE_NORMALIZED_PS_FONTS 1
47210 if test "$wxUSE_SVG" = "yes"; then
47211 cat >>confdefs.h <<\_ACEOF
47212 #define wxUSE_SVG 1
47218 if test "$wxUSE_METAFILE" = "yes"; then
47219 if test "$wxUSE_MSW" != 1 -a "$wxUSE_MAC" != 1 -a "$wxUSE_PM" != 1; then
47220 { echo "$as_me:$LINENO: WARNING: wxMetafile is not available on this system... disabled" >&5
47221 echo "$as_me: WARNING: wxMetafile is not available on this system... disabled" >&2;}
47227 if test "$USE_WIN32" = 1 -a \( "$wxUSE_DATAOBJ" = "yes" \
47228 -o "$wxUSE_CLIPBOARD" = "yes" \
47229 -o "$wxUSE_OLE" = "yes" \
47230 -o "$wxUSE_DRAG_AND_DROP" = "yes" \) ; then
47231 { echo "$as_me:$LINENO: checking for ole2.h" >&5
47232 echo $ECHO_N "checking for ole2.h... $ECHO_C" >&6; }
47233 if test "${ac_cv_header_ole2_h+set}" = set; then
47234 echo $ECHO_N "(cached) $ECHO_C" >&6
47236 cat >conftest.$ac_ext <<_ACEOF
47239 cat confdefs.h >>conftest.$ac_ext
47240 cat >>conftest.$ac_ext <<_ACEOF
47241 /* end confdefs.h. */
47246 rm -f conftest.$ac_objext
47247 if { (ac_try="$ac_compile"
47248 case "(($ac_try" in
47249 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
47250 *) ac_try_echo
=$ac_try;;
47252 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47253 (eval "$ac_compile") 2>conftest.er1
47255 grep -v '^ *+' conftest.er1
>conftest.err
47257 cat conftest.err
>&5
47258 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47259 (exit $ac_status); } && {
47260 test -z "$ac_c_werror_flag" ||
47261 test ! -s conftest.err
47262 } && test -s conftest.
$ac_objext; then
47263 ac_cv_header_ole2_h
=yes
47265 echo "$as_me: failed program was:" >&5
47266 sed 's/^/| /' conftest.
$ac_ext >&5
47268 ac_cv_header_ole2_h
=no
47271 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
47273 { echo "$as_me:$LINENO: result: $ac_cv_header_ole2_h" >&5
47274 echo "${ECHO_T}$ac_cv_header_ole2_h" >&6; }
47278 if test "$ac_cv_header_ole2_h" = "yes" ; then
47279 if test "$GCC" = yes ; then
47280 { echo "$as_me:$LINENO: checking if g++ requires -fvtable-thunks" >&5
47281 echo $ECHO_N "checking if g++ requires -fvtable-thunks... $ECHO_C" >&6; }
47282 cat >conftest.
$ac_ext <<_ACEOF
47285 cat confdefs.h
>>conftest.
$ac_ext
47286 cat >>conftest.
$ac_ext <<_ACEOF
47287 /* end confdefs.h. */
47288 #include <windows.h>
47298 rm -f conftest.
$ac_objext
47299 if { (ac_try
="$ac_compile"
47300 case "(($ac_try" in
47301 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
47302 *) ac_try_echo=$ac_try;;
47304 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47305 (eval "$ac_compile") 2>conftest.er1
47307 grep -v '^ *+' conftest.er1 >conftest.err
47309 cat conftest.err >&5
47310 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47311 (exit $ac_status); } && {
47312 test -z "$ac_c_werror_flag" ||
47313 test ! -s conftest.err
47314 } && test -s conftest.$ac_objext; then
47315 { echo "$as_me:$LINENO: result: no" >&5
47316 echo "${ECHO_T}no" >&6; }
47318 echo "$as_me: failed program was:" >&5
47319 sed 's/^/| /' conftest.$ac_ext >&5
47321 { echo "$as_me:$LINENO: result: yes" >&5
47322 echo "${ECHO_T}yes" >&6; }
47323 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -fvtable-thunks"
47326 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47327 LIBS=" -lrpcrt4 -loleaut32 -lole32 -luuid$LIBS"
47328 if test "$wxUSE_OLE" = "yes" ; then
47329 cat >>confdefs.h <<\_ACEOF
47330 #define wxUSE_OLE 1
47333 cat >>confdefs.h <<\_ACEOF
47334 #define wxUSE_OLE_AUTOMATION 1
47337 cat >>confdefs.h <<\_ACEOF
47338 #define wxUSE_ACTIVEX 1
47341 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS oleauto"
47345 if test "$wxUSE_DATAOBJ" = "yes" ; then
47346 cat >>confdefs.h <<\_ACEOF
47347 #define wxUSE_DATAOBJ 1
47352 { echo "$as_me:$LINENO: WARNING: Some features disabled because OLE headers not found" >&5
47353 echo "$as_me: WARNING: Some features disabled because OLE headers not found" >&2;}
47356 wxUSE_DRAG_AND_DROP=no
47361 if test "$wxUSE_METAFILE" = "yes"; then
47362 cat >>confdefs.h <<\_ACEOF
47363 #define wxUSE_METAFILE 1
47367 cat >>confdefs.h <<\_ACEOF
47368 #define wxUSE_ENH_METAFILE 1
47374 if test "$wxUSE_IPC" = "yes"; then
47375 if test "$wxUSE_SOCKETS" != "yes" -a "$USE_WIN32" != 1; then
47376 { echo "$as_me:$LINENO: WARNING: wxWidgets IPC classes require sockets... disabled" >&5
47377 echo "$as_me: WARNING: wxWidgets IPC classes require sockets... disabled" >&2;}
47381 if test "$wxUSE_IPC" = "yes"; then
47382 cat >>confdefs.h <<\_ACEOF
47383 #define wxUSE_IPC 1
47386 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ipc"
47390 if test "$wxUSE_DATAOBJ" = "yes"; then
47391 if test "$wxUSE_MGL" = 1 -o "$wxUSE_DFB" = 1; then
47392 { echo "$as_me:$LINENO: WARNING: wxDataObject not yet supported under $TOOLKIT... disabled" >&5
47393 echo "$as_me: WARNING: wxDataObject not yet supported under $TOOLKIT... disabled" >&2;}
47396 cat >>confdefs.h <<\_ACEOF
47397 #define wxUSE_DATAOBJ 1
47402 { echo "$as_me:$LINENO: WARNING: Clipboard and drag-and-drop require wxDataObject -- disabled" >&5
47403 echo "$as_me: WARNING: Clipboard and drag-and-drop require wxDataObject -- disabled" >&2;}
47405 wxUSE_DRAG_AND_DROP=no
47408 if test "$wxUSE_CLIPBOARD" = "yes"; then
47409 if test "$wxUSE_MGL" = 1 -o "$wxUSE_DFB" = 1; then
47410 { echo "$as_me:$LINENO: WARNING: Clipboard not yet supported under $TOOLKIT... disabled" >&5
47411 echo "$as_me: WARNING: Clipboard not yet supported under $TOOLKIT... disabled" >&2;}
47415 if test "$wxUSE_CLIPBOARD" = "yes"; then
47416 cat >>confdefs.h <<\_ACEOF
47417 #define wxUSE_CLIPBOARD 1
47423 if test "$wxUSE_DRAG_AND_DROP" = "yes" ; then
47424 if test "$wxUSE_GTK" = 1; then
47425 if test "$WXGTK12" != 1; then
47426 { echo "$as_me:$LINENO: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&5
47427 echo "$as_me: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&2;}
47428 wxUSE_DRAG_AND_DROP=no
47432 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_X11" = 1 -o "$wxUSE_MGL" = 1 -o \
47433 "$wxUSE_DFB" = 1; then
47434 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under $TOOLKIT... disabled" >&5
47435 echo "$as_me: WARNING: Drag and drop not yet supported under $TOOLKIT... disabled" >&2;}
47436 wxUSE_DRAG_AND_DROP=no
47439 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
47440 cat >>confdefs.h <<\_ACEOF
47441 #define wxUSE_DRAG_AND_DROP 1
47448 if test "$wxUSE_DRAG_AND_DROP" = "yes" -o "$wxUSE_CLIPBOARD" = "yes"; then
47449 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dnd"
47452 if test "$wxUSE_SPLINES" = "yes" ; then
47453 cat >>confdefs.h <<\_ACEOF
47454 #define wxUSE_SPLINES 1
47459 if test "$wxUSE_MOUSEWHEEL" = "yes" ; then
47460 cat >>confdefs.h <<\_ACEOF
47461 #define wxUSE_MOUSEWHEEL 1
47468 if test "$wxUSE_CONTROLS" = "yes"; then
47472 if test "$wxUSE_ACCEL" = "yes"; then
47473 cat >>confdefs.h <<\_ACEOF
47474 #define wxUSE_ACCEL 1
47480 if test "$wxUSE_ANIMATIONCTRL" = "yes"; then
47481 cat >>confdefs.h <<\_ACEOF
47482 #define wxUSE_ANIMATIONCTRL 1
47486 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS animate"
47489 if test "$wxUSE_BUTTON" = "yes"; then
47490 cat >>confdefs.h <<\_ACEOF
47491 #define wxUSE_BUTTON 1
47497 if test "$wxUSE_BMPBUTTON" = "yes"; then
47498 cat >>confdefs.h <<\_ACEOF
47499 #define wxUSE_BMPBUTTON 1
47505 if test "$wxUSE_CALCTRL" = "yes"; then
47506 cat >>confdefs.h <<\_ACEOF
47507 #define wxUSE_CALENDARCTRL 1
47511 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS calendar"
47514 if test "$wxUSE_CARET" = "yes"; then
47515 cat >>confdefs.h <<\_ACEOF
47516 #define wxUSE_CARET 1
47520 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS caret"
47523 if test "$wxUSE_COLLPANE" = "yes"; then
47524 cat >>confdefs.h <<\_ACEOF
47525 #define wxUSE_COLLPANE 1
47529 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS collpane"
47532 if test "$wxUSE_COMBOBOX" = "yes"; then
47533 cat >>confdefs.h <<\_ACEOF
47534 #define wxUSE_COMBOBOX 1
47540 if test "$wxUSE_COMBOCTRL" = "yes"; then
47541 cat >>confdefs.h <<\_ACEOF
47542 #define wxUSE_COMBOCTRL 1
47548 if test "$wxUSE_CHOICE" = "yes"; then
47549 cat >>confdefs.h <<\_ACEOF
47550 #define wxUSE_CHOICE 1
47556 if test "$wxUSE_CHOICEBOOK" = "yes"; then
47557 cat >>confdefs.h <<\_ACEOF
47558 #define wxUSE_CHOICEBOOK 1
47564 if test "$wxUSE_CHECKBOX" = "yes"; then
47565 cat >>confdefs.h <<\_ACEOF
47566 #define wxUSE_CHECKBOX 1
47572 if test "$wxUSE_CHECKLST" = "yes"; then
47573 cat >>confdefs.h <<\_ACEOF
47574 #define wxUSE_CHECKLISTBOX 1
47578 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS checklst"
47581 if test "$wxUSE_COLOURPICKERCTRL" = "yes"; then
47582 cat >>confdefs.h <<\_ACEOF
47583 #define wxUSE_COLOURPICKERCTRL 1
47589 if test "$wxUSE_DATEPICKCTRL" = "yes"; then
47590 cat >>confdefs.h <<\_ACEOF
47591 #define wxUSE_DATEPICKCTRL 1
47597 if test "$wxUSE_DIRPICKERCTRL" = "yes"; then
47598 cat >>confdefs.h <<\_ACEOF
47599 #define wxUSE_DIRPICKERCTRL 1
47605 if test "$wxUSE_FILEPICKERCTRL" = "yes"; then
47606 cat >>confdefs.h <<\_ACEOF
47607 #define wxUSE_FILEPICKERCTRL 1
47613 if test "$wxUSE_FONTPICKERCTRL" = "yes"; then
47614 cat >>confdefs.h <<\_ACEOF
47615 #define wxUSE_FONTPICKERCTRL 1
47621 if test "$wxUSE_DISPLAY" = "yes"; then
47622 if test "$wxUSE_DFB" = 1 -o "$wxUSE_MGL" = 1; then
47623 { echo "$as_me:$LINENO: WARNING: wxDisplay not yet supported under $TOOLKIT... disabled" >&5
47624 echo "$as_me: WARNING: wxDisplay not yet supported under $TOOLKIT... disabled" >&2;}
47627 cat >>confdefs.h <<\_ACEOF
47628 #define wxUSE_DISPLAY 1
47631 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS display multimon"
47635 if test "$wxUSE_DETECT_SM" = "yes"; then
47636 cat >>confdefs.h <<\_ACEOF
47637 #define wxUSE_DETECT_SM 1
47642 if test "$wxUSE_GAUGE" = "yes"; then
47643 cat >>confdefs.h <<\_ACEOF
47644 #define wxUSE_GAUGE 1
47650 if test "$wxUSE_GRID" = "yes"; then
47651 cat >>confdefs.h <<\_ACEOF
47652 #define wxUSE_GRID 1
47656 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS grid"
47659 if test "$wxUSE_HYPERLINKCTRL" = "yes"; then
47660 cat >>confdefs.h <<\_ACEOF
47661 #define wxUSE_HYPERLINKCTRL 1
47667 if test "$wxUSE_BITMAPCOMBOBOX" = "yes"; then
47668 cat >>confdefs.h <<\_ACEOF
47669 #define wxUSE_BITMAPCOMBOBOX 1
47675 if test "$wxUSE_DATAVIEWCTRL" = "yes"; then
47676 cat >>confdefs.h <<\_ACEOF
47677 #define wxUSE_DATAVIEWCTRL 1
47681 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dataview"
47684 if test "$wxUSE_IMAGLIST" = "yes"; then
47685 cat >>confdefs.h <<\_ACEOF
47686 #define wxUSE_IMAGLIST 1
47691 if test "$wxUSE_LISTBOOK" = "yes"; then
47692 cat >>confdefs.h <<\_ACEOF
47693 #define wxUSE_LISTBOOK 1
47699 if test "$wxUSE_LISTBOX" = "yes"; then
47700 cat >>confdefs.h <<\_ACEOF
47701 #define wxUSE_LISTBOX 1
47705 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS listbox"
47708 if test "$wxUSE_LISTCTRL" = "yes"; then
47709 if test "$wxUSE_IMAGLIST" = "yes"; then
47710 cat >>confdefs.h <<\_ACEOF
47711 #define wxUSE_LISTCTRL 1
47715 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS listctrl"
47717 { echo "$as_me:$LINENO: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&5
47718 echo "$as_me: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&2;}
47722 if test "$wxUSE_EDITABLELISTBOX" = "yes"; then
47723 cat >>confdefs.h <<\_ACEOF
47724 #define wxUSE_EDITABLELISTBOX 1
47728 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS editlbox"
47731 if test "$wxUSE_NOTEBOOK" = "yes"; then
47732 cat >>confdefs.h <<\_ACEOF
47733 #define wxUSE_NOTEBOOK 1
47737 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS notebook"
47740 if test "$wxUSE_ODCOMBOBOX" = "yes"; then
47741 cat >>confdefs.h <<\_ACEOF
47742 #define wxUSE_ODCOMBOBOX 1
47746 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS combo"
47750 if test "$wxUSE_RADIOBOX" = "yes"; then
47751 cat >>confdefs.h <<\_ACEOF
47752 #define wxUSE_RADIOBOX 1
47758 if test "$wxUSE_RADIOBTN" = "yes"; then
47759 cat >>confdefs.h <<\_ACEOF
47760 #define wxUSE_RADIOBTN 1
47766 if test "$wxUSE_SASH" = "yes"; then
47767 cat >>confdefs.h <<\_ACEOF
47768 #define wxUSE_SASH 1
47771 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sashtest"
47774 if test "$wxUSE_SCROLLBAR" = "yes"; then
47775 cat >>confdefs.h <<\_ACEOF
47776 #define wxUSE_SCROLLBAR 1
47780 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS scroll scrollsub"
47783 if test "$wxUSE_SEARCHCTRL" = "yes"; then
47784 cat >>confdefs.h <<\_ACEOF
47785 #define wxUSE_SEARCHCTRL 1
47791 if test "$wxUSE_SLIDER" = "yes"; then
47792 cat >>confdefs.h <<\_ACEOF
47793 #define wxUSE_SLIDER 1
47799 if test "$wxUSE_SPINBTN" = "yes"; then
47800 cat >>confdefs.h <<\_ACEOF
47801 #define wxUSE_SPINBTN 1
47807 if test "$wxUSE_SPINCTRL" = "yes"; then
47808 cat >>confdefs.h <<\_ACEOF
47809 #define wxUSE_SPINCTRL 1
47815 if test "$wxUSE_SPLITTER" = "yes"; then
47816 cat >>confdefs.h <<\_ACEOF
47817 #define wxUSE_SPLITTER 1
47820 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS splitter"
47823 if test "$wxUSE_STATBMP" = "yes"; then
47824 cat >>confdefs.h <<\_ACEOF
47825 #define wxUSE_STATBMP 1
47831 if test "$wxUSE_STATBOX" = "yes"; then
47832 cat >>confdefs.h <<\_ACEOF
47833 #define wxUSE_STATBOX 1
47839 if test "$wxUSE_STATTEXT" = "yes"; then
47840 cat >>confdefs.h <<\_ACEOF
47841 #define wxUSE_STATTEXT 1
47847 if test "$wxUSE_STATLINE" = "yes"; then
47848 cat >>confdefs.h <<\_ACEOF
47849 #define wxUSE_STATLINE 1
47855 if test "$wxUSE_STATUSBAR" = "yes"; then
47856 cat >>confdefs.h <<\_ACEOF
47857 #define wxUSE_NATIVE_STATUSBAR 1
47860 cat >>confdefs.h <<\_ACEOF
47861 #define wxUSE_STATUSBAR 1
47866 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS statbar"
47869 if test "$wxUSE_TAB_DIALOG" = "yes"; then
47870 cat >>confdefs.h <<\_ACEOF
47871 #define wxUSE_TAB_DIALOG 1
47876 if test "$wxUSE_TEXTCTRL" = "yes"; then
47877 cat >>confdefs.h <<\_ACEOF
47878 #define wxUSE_TEXTCTRL 1
47882 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS text"
47885 if test "$wxUSE_TOGGLEBTN" = "yes"; then
47886 if test "$wxUSE_COCOA" = 1 ; then
47887 { echo "$as_me:$LINENO: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&5
47888 echo "$as_me: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&2;}
47892 if test "$wxUSE_TOGGLEBTN" = "yes"; then
47893 cat >>confdefs.h <<\_ACEOF
47894 #define wxUSE_TOGGLEBTN 1
47901 if test "$wxUSE_TOOLBAR" = "yes"; then
47902 cat >>confdefs.h <<\_ACEOF
47903 #define wxUSE_TOOLBAR 1
47908 if test "$wxUSE_UNIVERSAL" = "yes"; then
47909 wxUSE_TOOLBAR_NATIVE="no"
47911 wxUSE_TOOLBAR_NATIVE="yes"
47912 cat >>confdefs.h <<\_ACEOF
47913 #define wxUSE_TOOLBAR_NATIVE 1
47918 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS toolbar"
47921 if test "$wxUSE_TOOLTIPS" = "yes"; then
47922 if test "$wxUSE_MOTIF" = 1; then
47923 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet under Motif... disabled" >&5
47924 echo "$as_me: WARNING: wxTooltip not supported yet under Motif... disabled" >&2;}
47926 if test "$wxUSE_UNIVERSAL" = "yes"; then
47927 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&5
47928 echo "$as_me: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&2;}
47930 cat >>confdefs.h <<\_ACEOF
47931 #define wxUSE_TOOLTIPS 1
47938 if test "$wxUSE_TREEBOOK" = "yes"; then
47939 cat >>confdefs.h <<\_ACEOF
47940 #define wxUSE_TREEBOOK 1
47946 if test "$wxUSE_TOOLBOOK" = "yes"; then
47947 cat >>confdefs.h <<\_ACEOF
47948 #define wxUSE_TOOLBOOK 1
47954 if test "$wxUSE_TREECTRL" = "yes"; then
47955 if test "$wxUSE_IMAGLIST" = "yes"; then
47956 cat >>confdefs.h <<\_ACEOF
47957 #define wxUSE_TREECTRL 1
47961 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS treectrl"
47963 { echo "$as_me:$LINENO: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&5
47964 echo "$as_me: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&2;}
47968 if test "$wxUSE_POPUPWIN" = "yes"; then
47969 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 ; then
47970 { echo "$as_me:$LINENO: WARNING: Popup window not yet supported under Mac OS X... disabled" >&5
47971 echo "$as_me: WARNING: Popup window not yet supported under Mac OS X... disabled" >&2;}
47973 if test "$wxUSE_PM" = 1; then
47974 { echo "$as_me:$LINENO: WARNING: wxPopupWindow not yet supported under PM... disabled" >&5
47975 echo "$as_me: WARNING: wxPopupWindow not yet supported under PM... disabled" >&2;}
47977 cat >>confdefs.h <<\_ACEOF
47978 #define wxUSE_POPUPWIN 1
47981 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS popup"
47988 if test "$wxUSE_DIALUP_MANAGER" = "yes"; then
47989 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 -o "$wxUSE_MGL" = 1; then
47990 { echo "$as_me:$LINENO: WARNING: Dialup manager not supported on this platform... disabled" >&5
47991 echo "$as_me: WARNING: Dialup manager not supported on this platform... disabled" >&2;}
47993 cat >>confdefs.h <<\_ACEOF
47994 #define wxUSE_DIALUP_MANAGER 1
47997 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dialup"
48001 if test "$wxUSE_TIPWINDOW" = "yes"; then
48002 if test "$wxUSE_PM" = 1; then
48003 { echo "$as_me:$LINENO: WARNING: wxTipWindow not yet supported under PM... disabled" >&5
48004 echo "$as_me: WARNING: wxTipWindow not yet supported under PM... disabled" >&2;}
48006 cat >>confdefs.h <<\_ACEOF
48007 #define wxUSE_TIPWINDOW 1
48013 if test "$USES_CONTROLS" = 1; then
48014 cat >>confdefs.h <<\_ACEOF
48015 #define wxUSE_CONTROLS 1
48021 if test "$wxUSE_ACCESSIBILITY" = "yes"; then
48022 cat >>confdefs.h <<\_ACEOF
48023 #define wxUSE_ACCESSIBILITY 1
48026 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS access"
48029 if test "$wxUSE_DC_CACHEING" = "yes"; then
48030 cat >>confdefs.h <<\_ACEOF
48031 #define wxUSE_DC_CACHEING 1
48036 if test "$wxUSE_DRAGIMAGE" = "yes"; then
48037 cat >>confdefs.h <<\_ACEOF
48038 #define wxUSE_DRAGIMAGE 1
48041 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dragimag"
48044 if test "$wxUSE_EXCEPTIONS" = "yes"; then
48045 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
48046 { echo "$as_me:$LINENO: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&5
48047 echo "$as_me: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&2;}
48049 cat >>confdefs.h <<\_ACEOF
48050 #define wxUSE_EXCEPTIONS 1
48053 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS except"
48058 if test "$wxUSE_HTML" = "yes"; then
48059 cat >>confdefs.h <<\_ACEOF
48060 #define wxUSE_HTML 1
48064 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS html html/about html/help html/helpview html/printing html/test html/virtual html/widget html/zip htlbox"
48065 if test "$wxUSE_MAC" = 1; then
48066 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS html/htmlctrl"
48069 if test "$wxUSE_WEBKIT" = "yes"; then
48070 if test "$wxUSE_MAC" = 1 -a "$USE_DARWIN" = 1; then
48071 old_CPPFLAGS="$CPPFLAGS"
48072 CPPFLAGS="-x objective-c++ $CPPFLAGS"
48073 { echo "$as_me:$LINENO: checking for WebKit/HIWebView.h" >&5
48074 echo $ECHO_N "checking for WebKit/HIWebView.h... $ECHO_C" >&6; }
48075 if test "${ac_cv_header_WebKit_HIWebView_h+set}" = set; then
48076 echo $ECHO_N "(cached) $ECHO_C" >&6
48078 cat >conftest.$ac_ext <<_ACEOF
48081 cat confdefs.h >>conftest.$ac_ext
48082 cat >>conftest.$ac_ext <<_ACEOF
48083 /* end confdefs.h. */
48085 #include <Carbon/Carbon.h>
48086 #include <WebKit/WebKit.h>
48089 #include <WebKit/HIWebView.h>
48091 rm -f conftest.$ac_objext
48092 if { (ac_try="$ac_compile"
48093 case "(($ac_try" in
48094 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
48095 *) ac_try_echo
=$ac_try;;
48097 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
48098 (eval "$ac_compile") 2>conftest.er1
48100 grep -v '^ *+' conftest.er1
>conftest.err
48102 cat conftest.err
>&5
48103 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48104 (exit $ac_status); } && {
48105 test -z "$ac_c_werror_flag" ||
48106 test ! -s conftest.err
48107 } && test -s conftest.
$ac_objext; then
48108 ac_cv_header_WebKit_HIWebView_h
=yes
48110 echo "$as_me: failed program was:" >&5
48111 sed 's/^/| /' conftest.
$ac_ext >&5
48113 ac_cv_header_WebKit_HIWebView_h
=no
48116 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
48118 { echo "$as_me:$LINENO: result: $ac_cv_header_WebKit_HIWebView_h" >&5
48119 echo "${ECHO_T}$ac_cv_header_WebKit_HIWebView_h" >&6; }
48120 if test $ac_cv_header_WebKit_HIWebView_h = yes; then
48122 cat >>confdefs.h
<<\_ACEOF
48123 #define wxUSE_WEBKIT 1
48126 WEBKIT_LINK
="-framework WebKit"
48130 { echo "$as_me:$LINENO: WARNING: WebKit headers not found; disabling wxWebKit" >&5
48131 echo "$as_me: WARNING: WebKit headers not found; disabling wxWebKit" >&2;}
48137 CPPFLAGS
="$old_CPPFLAGS"
48138 elif test "$wxUSE_COCOA" = 1; then
48139 cat >>confdefs.h
<<\_ACEOF
48140 #define wxUSE_WEBKIT 1
48149 if test "$wxUSE_XRC" = "yes"; then
48150 if test "$wxUSE_XML" != "yes"; then
48151 { echo "$as_me:$LINENO: WARNING: XML library not built, XRC resources disabled" >&5
48152 echo "$as_me: WARNING: XML library not built, XRC resources disabled" >&2;}
48155 cat >>confdefs.h
<<\_ACEOF
48156 #define wxUSE_XRC 1
48160 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS xrc"
48165 if test "$wxUSE_AUI" = "yes"; then
48166 cat >>confdefs.h
<<\_ACEOF
48167 #define wxUSE_AUI 1
48171 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS aui"
48175 if test "$wxUSE_STC" = "yes"; then
48176 cat >>confdefs.h
<<\_ACEOF
48177 #define wxUSE_STC 1
48181 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS stc"
48184 if test "$wxUSE_MENUS" = "yes"; then
48185 cat >>confdefs.h
<<\_ACEOF
48186 #define wxUSE_MENUS 1
48189 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS menu"
48192 if test "$wxUSE_METAFILE" = "yes"; then
48193 cat >>confdefs.h
<<\_ACEOF
48194 #define wxUSE_METAFILE 1
48199 if test "$wxUSE_MIMETYPE" = "yes"; then
48200 cat >>confdefs.h
<<\_ACEOF
48201 #define wxUSE_MIMETYPE 1
48206 if test "$wxUSE_MINIFRAME" = "yes"; then
48207 cat >>confdefs.h
<<\_ACEOF
48208 #define wxUSE_MINIFRAME 1
48211 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS minifram"
48214 if test "$wxUSE_SYSTEM_OPTIONS" = "yes"; then
48215 cat >>confdefs.h
<<\_ACEOF
48216 #define wxUSE_SYSTEM_OPTIONS 1
48219 if test "$TOOLKIT" = "MSW" -o "$TOOLKIT" = "GTK" -o "$TOOLKIT" = "X11" -o \
48220 "$TOOLKIT" = "MOTIF" -o "$TOOLKIT" = "COCOA"; then
48221 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS taskbar"
48226 if test "$wxUSE_VALIDATORS" = "yes"; then
48227 cat >>confdefs.h
<<\_ACEOF
48228 #define wxUSE_VALIDATORS 1
48231 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS validate"
48234 if test "$wxUSE_PALETTE" = "yes" ; then
48235 if test "$wxUSE_DFB" = 1; then
48236 { echo "$as_me:$LINENO: WARNING: wxPalette not yet supported under DFB... disabled" >&5
48237 echo "$as_me: WARNING: wxPalette not yet supported under DFB... disabled" >&2;}
48240 cat >>confdefs.h
<<\_ACEOF
48241 #define wxUSE_PALETTE 1
48247 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_MSLU" = "yes" ; then
48248 LIBS
=" -lunicows $LIBS"
48252 if test "$wxUSE_RICHTEXT" = "yes"; then
48253 cat >>confdefs.h
<<\_ACEOF
48254 #define wxUSE_RICHTEXT 1
48258 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS richtext"
48262 if test "$wxUSE_IMAGE" = "yes" ; then
48263 cat >>confdefs.h
<<\_ACEOF
48264 #define wxUSE_IMAGE 1
48268 if test "$wxUSE_GIF" = "yes" ; then
48269 cat >>confdefs.h
<<\_ACEOF
48270 #define wxUSE_GIF 1
48275 if test "$wxUSE_PCX" = "yes" ; then
48276 cat >>confdefs.h
<<\_ACEOF
48277 #define wxUSE_PCX 1
48282 if test "$wxUSE_TGA" = "yes" ; then
48283 cat >>confdefs.h
<<\_ACEOF
48284 #define wxUSE_TGA 1
48289 if test "$wxUSE_IFF" = "yes" ; then
48290 cat >>confdefs.h
<<\_ACEOF
48291 #define wxUSE_IFF 1
48296 if test "$wxUSE_PNM" = "yes" ; then
48297 cat >>confdefs.h
<<\_ACEOF
48298 #define wxUSE_PNM 1
48303 if test "$wxUSE_XPM" = "yes" ; then
48304 cat >>confdefs.h
<<\_ACEOF
48305 #define wxUSE_XPM 1
48310 if test "$wxUSE_ICO_CUR" = "yes" ; then
48311 cat >>confdefs.h
<<\_ACEOF
48312 #define wxUSE_ICO_CUR 1
48319 if test "$wxUSE_ABOUTDLG" = "yes"; then
48320 cat >>confdefs.h
<<\_ACEOF
48321 #define wxUSE_ABOUTDLG 1
48326 if test "$wxUSE_CHOICEDLG" = "yes"; then
48327 cat >>confdefs.h
<<\_ACEOF
48328 #define wxUSE_CHOICEDLG 1
48333 if test "$wxUSE_COLOURDLG" = "yes"; then
48334 cat >>confdefs.h
<<\_ACEOF
48335 #define wxUSE_COLOURDLG 1
48340 if test "$wxUSE_FILEDLG" = "yes"; then
48341 cat >>confdefs.h
<<\_ACEOF
48342 #define wxUSE_FILEDLG 1
48347 if test "$wxUSE_FINDREPLDLG" = "yes"; then
48348 cat >>confdefs.h
<<\_ACEOF
48349 #define wxUSE_FINDREPLDLG 1
48354 if test "$wxUSE_FONTDLG" = "yes"; then
48355 cat >>confdefs.h
<<\_ACEOF
48356 #define wxUSE_FONTDLG 1
48361 if test "$wxUSE_DIRDLG" = "yes"; then
48362 if test "$wxUSE_TREECTRL" != "yes"; then
48363 { echo "$as_me:$LINENO: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&5
48364 echo "$as_me: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&2;}
48366 cat >>confdefs.h
<<\_ACEOF
48367 #define wxUSE_DIRDLG 1
48373 if test "$wxUSE_MSGDLG" = "yes"; then
48374 cat >>confdefs.h
<<\_ACEOF
48375 #define wxUSE_MSGDLG 1
48380 if test "$wxUSE_NUMBERDLG" = "yes"; then
48381 cat >>confdefs.h
<<\_ACEOF
48382 #define wxUSE_NUMBERDLG 1
48387 if test "$wxUSE_PROGRESSDLG" = "yes"; then
48388 if test "$wxUSE_CONSTRAINTS" != "yes"; then
48389 { echo "$as_me:$LINENO: WARNING: wxProgressDialog requires constraints so it won't be compiled without them" >&5
48390 echo "$as_me: WARNING: wxProgressDialog requires constraints so it won't be compiled without them" >&2;}
48392 cat >>confdefs.h
<<\_ACEOF
48393 #define wxUSE_PROGRESSDLG 1
48399 if test "$wxUSE_SPLASH" = "yes"; then
48400 cat >>confdefs.h
<<\_ACEOF
48401 #define wxUSE_SPLASH 1
48404 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS splash"
48407 if test "$wxUSE_STARTUP_TIPS" = "yes"; then
48408 if test "$wxUSE_CONSTRAINTS" != "yes"; then
48409 { echo "$as_me:$LINENO: WARNING: Startup tips requires constraints and won't be compiled without them" >&5
48410 echo "$as_me: WARNING: Startup tips requires constraints and won't be compiled without them" >&2;}
48412 cat >>confdefs.h
<<\_ACEOF
48413 #define wxUSE_STARTUP_TIPS 1
48419 if test "$wxUSE_TEXTDLG" = "yes"; then
48420 cat >>confdefs.h
<<\_ACEOF
48421 #define wxUSE_TEXTDLG 1
48426 if test "$wxUSE_WIZARDDLG" = "yes"; then
48427 cat >>confdefs.h
<<\_ACEOF
48428 #define wxUSE_WIZARDDLG 1
48431 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS wizard"
48435 if test "$wxUSE_GRAPHICS_CONTEXT" = "yes"; then
48436 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = "1"; then
48437 cat >>confdefs.h
<<\_ACEOF
48438 #define wxUSE_GRAPHICS_CONTEXT 1
48441 elif test "$wxUSE_GTK" != 1; then
48442 cat >>confdefs.h
<<\_ACEOF
48443 #define wxUSE_GRAPHICS_CONTEXT 1
48449 { echo "$as_me:$LINENO: checking for CAIRO" >&5
48450 echo $ECHO_N "checking for CAIRO... $ECHO_C" >&6; }
48452 if test -n "$PKG_CONFIG"; then
48453 if test -n "$CAIRO_CFLAGS"; then
48454 pkg_cv_CAIRO_CFLAGS
="$CAIRO_CFLAGS"
48456 if test -n "$PKG_CONFIG" && \
48457 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"cairo\"") >&5
48458 ($PKG_CONFIG --exists --print-errors "cairo") 2>&5
48460 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48461 (exit $ac_status); }; then
48462 pkg_cv_CAIRO_CFLAGS
=`$PKG_CONFIG --cflags "cairo" 2>/dev/null`
48470 if test -n "$PKG_CONFIG"; then
48471 if test -n "$CAIRO_LIBS"; then
48472 pkg_cv_CAIRO_LIBS
="$CAIRO_LIBS"
48474 if test -n "$PKG_CONFIG" && \
48475 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"cairo\"") >&5
48476 ($PKG_CONFIG --exists --print-errors "cairo") 2>&5
48478 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48479 (exit $ac_status); }; then
48480 pkg_cv_CAIRO_LIBS
=`$PKG_CONFIG --libs "cairo" 2>/dev/null`
48491 if test $pkg_failed = yes; then
48493 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
48494 _pkg_short_errors_supported
=yes
48496 _pkg_short_errors_supported
=no
48498 if test $_pkg_short_errors_supported = yes; then
48499 CAIRO_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "cairo"`
48501 CAIRO_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "cairo"`
48503 # Put the nasty error message in config.log where it belongs
48504 echo "$CAIRO_PKG_ERRORS" >&5
48506 { echo "$as_me:$LINENO: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&5
48507 echo "$as_me: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&2;}
48509 elif test $pkg_failed = untried
; then
48510 { echo "$as_me:$LINENO: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&5
48511 echo "$as_me: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&2;}
48514 CAIRO_CFLAGS
=$pkg_cv_CAIRO_CFLAGS
48515 CAIRO_LIBS
=$pkg_cv_CAIRO_LIBS
48516 { echo "$as_me:$LINENO: result: yes" >&5
48517 echo "${ECHO_T}yes" >&6; }
48518 cat >>confdefs.h
<<\_ACEOF
48519 #define wxUSE_GRAPHICS_CONTEXT 1
48529 if test "$wxUSE_MEDIACTRL" = "yes"; then
48532 if test "$wxUSE_GTK" = 1; then
48533 wxUSE_GSTREAMER
="no"
48535 GST_VERSION_MAJOR
=0
48536 GST_VERSION_MINOR
=10
48537 GST_VERSION
=$GST_VERSION_MAJOR.
$GST_VERSION_MINOR
48539 if test "$wxUSE_GSTREAMER8" = "no"; then
48542 { echo "$as_me:$LINENO: checking for GST" >&5
48543 echo $ECHO_N "checking for GST... $ECHO_C" >&6; }
48545 if test -n "$PKG_CONFIG"; then
48546 if test -n "$GST_CFLAGS"; then
48547 pkg_cv_GST_CFLAGS
="$GST_CFLAGS"
48549 if test -n "$PKG_CONFIG" && \
48550 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-plugins-base-\$GST_VERSION gconf-2.0\"") >&5
48551 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0") 2>&5
48553 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48554 (exit $ac_status); }; then
48555 pkg_cv_GST_CFLAGS
=`$PKG_CONFIG --cflags "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0" 2>/dev/null`
48563 if test -n "$PKG_CONFIG"; then
48564 if test -n "$GST_LIBS"; then
48565 pkg_cv_GST_LIBS
="$GST_LIBS"
48567 if test -n "$PKG_CONFIG" && \
48568 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-plugins-base-\$GST_VERSION gconf-2.0\"") >&5
48569 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0") 2>&5
48571 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48572 (exit $ac_status); }; then
48573 pkg_cv_GST_LIBS
=`$PKG_CONFIG --libs "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0" 2>/dev/null`
48584 if test $pkg_failed = yes; then
48586 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
48587 _pkg_short_errors_supported
=yes
48589 _pkg_short_errors_supported
=no
48591 if test $_pkg_short_errors_supported = yes; then
48592 GST_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0"`
48594 GST_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0"`
48596 # Put the nasty error message in config.log where it belongs
48597 echo "$GST_PKG_ERRORS" >&5
48600 { echo "$as_me:$LINENO: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&5
48601 echo "$as_me: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&2;}
48602 GST_VERSION_MINOR
=8
48605 elif test $pkg_failed = untried
; then
48607 { echo "$as_me:$LINENO: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&5
48608 echo "$as_me: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&2;}
48609 GST_VERSION_MINOR
=8
48613 GST_CFLAGS
=$pkg_cv_GST_CFLAGS
48614 GST_LIBS
=$pkg_cv_GST_LIBS
48615 { echo "$as_me:$LINENO: result: yes" >&5
48616 echo "${ECHO_T}yes" >&6; }
48618 wxUSE_GSTREAMER
="yes"
48619 GST_LIBS
="$GST_LIBS -lgstinterfaces-$GST_VERSION"
48623 GST_VERSION_MINOR
=8
48626 if test $GST_VERSION_MINOR = "8"; then
48627 GST_VERSION
=$GST_VERSION_MAJOR.
$GST_VERSION_MINOR
48630 { echo "$as_me:$LINENO: checking for GST" >&5
48631 echo $ECHO_N "checking for GST... $ECHO_C" >&6; }
48633 if test -n "$PKG_CONFIG"; then
48634 if test -n "$GST_CFLAGS"; then
48635 pkg_cv_GST_CFLAGS
="$GST_CFLAGS"
48637 if test -n "$PKG_CONFIG" && \
48638 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-interfaces-\$GST_VERSION gstreamer-gconf-\$GST_VERSION\"") >&5
48639 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION") 2>&5
48641 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48642 (exit $ac_status); }; then
48643 pkg_cv_GST_CFLAGS
=`$PKG_CONFIG --cflags "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION" 2>/dev/null`
48651 if test -n "$PKG_CONFIG"; then
48652 if test -n "$GST_LIBS"; then
48653 pkg_cv_GST_LIBS
="$GST_LIBS"
48655 if test -n "$PKG_CONFIG" && \
48656 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-interfaces-\$GST_VERSION gstreamer-gconf-\$GST_VERSION\"") >&5
48657 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION") 2>&5
48659 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48660 (exit $ac_status); }; then
48661 pkg_cv_GST_LIBS
=`$PKG_CONFIG --libs "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION" 2>/dev/null`
48672 if test $pkg_failed = yes; then
48674 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
48675 _pkg_short_errors_supported
=yes
48677 _pkg_short_errors_supported
=no
48679 if test $_pkg_short_errors_supported = yes; then
48680 GST_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION"`
48682 GST_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION"`
48684 # Put the nasty error message in config.log where it belongs
48685 echo "$GST_PKG_ERRORS" >&5
48688 { echo "$as_me:$LINENO: WARNING: GStreamer 0.8/0.10 not available." >&5
48689 echo "$as_me: WARNING: GStreamer 0.8/0.10 not available." >&2;}
48691 elif test $pkg_failed = untried
; then
48693 { echo "$as_me:$LINENO: WARNING: GStreamer 0.8/0.10 not available." >&5
48694 echo "$as_me: WARNING: GStreamer 0.8/0.10 not available." >&2;}
48697 GST_CFLAGS
=$pkg_cv_GST_CFLAGS
48698 GST_LIBS
=$pkg_cv_GST_LIBS
48699 { echo "$as_me:$LINENO: result: yes" >&5
48700 echo "${ECHO_T}yes" >&6; }
48701 wxUSE_GSTREAMER
="yes"
48706 if test "$wxUSE_GSTREAMER" = "yes"; then
48707 CPPFLAGS
="$GST_CFLAGS $CPPFLAGS"
48708 LIBS
="$GST_LIBS $LIBS"
48710 cat >>confdefs.h
<<\_ACEOF
48711 #define wxUSE_GSTREAMER 1
48719 if test $USE_MEDIA = 1; then
48720 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS mediaplayer"
48721 cat >>confdefs.h
<<\_ACEOF
48722 #define wxUSE_MEDIACTRL 1
48729 if test "$cross_compiling" = "yes"; then
48732 OSINFO
=`uname -s -r -m`
48733 OSINFO
="\"$OSINFO\""
48736 cat >>confdefs.h
<<_ACEOF
48737 #define WXWIN_OS_DESCRIPTION $OSINFO
48742 if test "x$prefix" != "xNONE"; then
48745 wxPREFIX
=$ac_default_prefix
48748 cat >>confdefs.h
<<_ACEOF
48749 #define wxINSTALL_PREFIX "$wxPREFIX"
48755 STD_BASE_LIBS
="base"
48757 BUILT_WX_LIBS
="base"
48758 ALL_WX_LIBS
="xrc stc gl media dbgrid qa html adv core odbc xml net base"
48760 if test "$wxUSE_SOCKETS" = "yes" ; then
48761 STD_BASE_LIBS
="net $STD_BASE_LIBS"
48762 BUILT_WX_LIBS
="net $BUILT_WX_LIBS"
48764 if test "$wxUSE_ODBC" != "no" ; then
48765 BUILT_WX_LIBS
="odbc $BUILT_WX_LIBS"
48767 if test "$wxUSE_XML" = "yes" ; then
48768 STD_BASE_LIBS
="xml $STD_BASE_LIBS"
48769 BUILT_WX_LIBS
="xml $BUILT_WX_LIBS"
48772 if test "$wxUSE_GUI" = "yes"; then
48773 STD_GUI_LIBS
="adv core"
48774 BUILT_WX_LIBS
="$STD_GUI_LIBS $BUILT_WX_LIBS"
48776 if test "$wxUSE_DEBUGREPORT" = "yes" ; then
48777 STD_GUI_LIBS
="qa $STD_GUI_LIBS"
48778 BUILT_WX_LIBS
="qa $BUILT_WX_LIBS"
48780 if test "$wxUSE_ODBC" != "no" ; then
48781 BUILT_WX_LIBS
="dbgrid $BUILT_WX_LIBS"
48783 if test "$wxUSE_HTML" = "yes" ; then
48784 STD_GUI_LIBS
="html $STD_GUI_LIBS"
48785 BUILT_WX_LIBS
="html $BUILT_WX_LIBS"
48787 if test "$wxUSE_MEDIACTRL" = "yes" ; then
48788 BUILT_WX_LIBS
="media $BUILT_WX_LIBS"
48790 if test "$wxUSE_OPENGL" = "yes" ; then
48791 BUILT_WX_LIBS
="gl $BUILT_WX_LIBS"
48793 if test "$wxUSE_AUI" = "yes" ; then
48794 BUILT_WX_LIBS
="aui $BUILT_WX_LIBS"
48796 if test "$wxUSE_STC" = "yes" ; then
48797 BUILT_WX_LIBS
="stc $BUILT_WX_LIBS"
48799 if test "$wxUSE_XRC" = "yes" ; then
48800 STD_GUI_LIBS
="xrc $STD_GUI_LIBS"
48801 BUILT_WX_LIBS
="xrc $BUILT_WX_LIBS"
48812 if test "$wxUSE_MAC" = 1 ; then
48813 if test "$wxUSE_SOUND" = "yes" || test "$wxUSE_MEDIACTRL" = "yes"; then
48814 if test "$USE_DARWIN" = 1; then
48815 LDFLAGS
="$LDFLAGS -framework QuickTime"
48817 LDFLAGS
="$LDFLAGS -lQuickTimeLib"
48820 if test "$USE_DARWIN" = 1; then
48821 LDFLAGS
="$LDFLAGS -framework IOKit -framework Carbon -framework Cocoa -framework System"
48823 LDFLAGS
="$LDFLAGS -lCarbonLib"
48826 if test "$wxUSE_COCOA" = 1 ; then
48827 LDFLAGS
="$LDFLAGS -framework IOKit -framework Cocoa"
48828 if test "$wxUSE_MEDIACTRL" = "yes"; then
48829 LDFLAGS
="$LDFLAGS -framework QuickTime"
48832 if test "$USE_DARWIN" = 1 -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1 ; then
48833 LDFLAGS
="$LDFLAGS -framework IOKit -framework CoreServices -framework System -framework ApplicationServices"
48836 LIBS
="$ZLIB_LINK $POSIX4_LINK $INET_LINK $WCHAR_LINK $DL_LINK $LIBS"
48838 if test "$wxUSE_GUI" = "yes"; then
48841 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS artprov controls dialogs drawing \
48842 dynamic erase event exec font image minimal mobile \
48843 mobile/wxedit mobile/styles propsize render \
48844 rotate shaped svg taborder vscroll widgets"
48846 if test "$wxUSE_MONOLITHIC" != "yes"; then
48847 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS console"
48849 if test "$TOOLKIT" = "MSW"; then
48850 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS regtest"
48851 if test "$wxUSE_UNIVERSAL" != "yes"; then
48852 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS ownerdrw nativdlg"
48855 if test "$TOOLKIT" = "PM" -a "$wxUSE_UNIVERSAL" != "yes"; then
48856 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS ownerdrw"
48859 SAMPLES_SUBDIRS
="console"
48863 if test "x$INTELCC" = "xyes" ; then
48864 CWARNINGS
="-Wall -wd810,869,981,1418,1572,1684"
48865 elif test "$GCC" = yes ; then
48866 CWARNINGS
="-Wall -Wundef"
48869 if test "x$INTELCXX" = "xyes" ; then
48870 CXXWARNINGS
="-Wall -wd279,383,444,810,869,981,1418,1419"
48871 elif test "$GXX" = yes ; then
48872 CXXWARNINGS
="-Wall -Wundef -Wno-ctor-dtor-privacy"
48876 WXCONFIG_CFLAGS
=`echo $WXCONFIG_CFLAGS`
48877 WXCONFIG_CXXFLAGS
=`echo $WXCONFIG_CFLAGS $WXCONFIG_CXXFLAGS`
48880 CPPFLAGS
=`echo $WXCONFIG_CPPFLAGS \
48881 -I\\${wx_top_builddir}/lib/wx/include/${TOOLCHAIN_FULLNAME} \
48882 -I\\${top_srcdir}/include $TOOLKIT_INCLUDE \
48885 C_AND_CXX_FLAGS
="$DEBUG_CFLAGS $PROFILE_FLAGS $OPTIMISE_CFLAGS"
48886 CFLAGS
=`echo $WXCONFIG_CFLAGS $CWARNINGS $C_AND_CXX_FLAGS $CFLAGS `
48887 CXXFLAGS
=`echo $WXCONFIG_CXXFLAGS $C_AND_CXX_FLAGS $CXXFLAGS `
48889 WXCONFIG_CPPFLAGS
=`echo $WXCONFIG_CPPFLAGS $WXCONFIG_ONLY_CPPFLAGS`
48892 if test "x$MWCC" = "xyes"; then
48894 CC
="$CC -cwd source -I-"
48895 CXX
="$CXX -cwd source -I-"
48900 EXTRALIBS
="$LDFLAGS $LDFLAGS_VERSIONING $LIBS $DMALLOC_LIBS"
48901 EXTRALIBS_XML
="$EXPAT_LINK"
48902 EXTRALIBS_HTML
="$MSPACK_LINK"
48903 EXTRALIBS_ODBC
="$ODBC_LINK"
48904 EXTRALIBS_STC
="-lwxscintilla${lib_debug_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX}"
48905 if test "$wxUSE_GUI" = "yes"; then
48906 EXTRALIBS_GUI
=`echo $GUI_TK_LIBRARY $PNG_LINK $JPEG_LINK $TIFF_LINK $WEBKIT_LINK $EXTRALIBS_HILDON $EXTRALIBS_GNOMEVFS $EXTRALIBS_GNOMEPRINT`
48908 if test "$wxUSE_OPENGL" = "yes"; then
48909 EXTRALIBS_OPENGL
="$LDFLAGS_GL $OPENGL_LIBS"
48912 LDFLAGS
="$LDFLAGS $PROFILE_FLAGS"
48914 WXCONFIG_LIBS
="$LIBS"
48916 if test "$wxUSE_REGEX" = "builtin" ; then
48917 wxconfig_3rdparty
="regex${lib_unicode_suffix} $wxconfig_3rdparty"
48919 if test "$wxUSE_EXPAT" = "builtin" ; then
48920 wxconfig_3rdparty
="expat $wxconfig_3rdparty"
48922 if test "$wxUSE_ODBC" = "builtin" ; then
48923 wxconfig_3rdparty
="odbc $wxconfig_3rdparty"
48925 if test "$wxUSE_LIBTIFF" = "builtin" ; then
48926 wxconfig_3rdparty
="tiff $wxconfig_3rdparty"
48928 if test "$wxUSE_LIBJPEG" = "builtin" ; then
48929 wxconfig_3rdparty
="jpeg $wxconfig_3rdparty"
48931 if test "$wxUSE_LIBPNG" = "builtin" ; then
48932 wxconfig_3rdparty
="png $wxconfig_3rdparty"
48934 if test "$wxUSE_ZLIB" = "builtin" ; then
48935 wxconfig_3rdparty
="zlib $wxconfig_3rdparty"
48938 for i
in $wxconfig_3rdparty ; do
48939 WXCONFIG_LIBS
="-lwx${i}${lib_debug_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX} $WXCONFIG_LIBS"
48943 if test "x$wxUSE_UNIVERSAL" = "xyes" ; then
48946 case "$wxUNIV_THEMES" in
48948 cat >>confdefs.h
<<\_ACEOF
48949 #define wxUSE_ALL_THEMES 1
48955 for t
in `echo $wxUNIV_THEMES | tr , ' ' | tr a-z A-Z`; do
48956 cat >>confdefs.h
<<_ACEOF
48957 #define wxUSE_THEME_$t 1
48974 if test $wxUSE_MONOLITHIC = "yes" ; then
48980 if test $wxUSE_PLUGINS = "yes" ; then
48986 if test $wxUSE_ODBC != "no" ; then
48992 if test "$wxUSE_DEBUGREPORT" = "yes" ; then
48998 if test $wxUSE_OFFICIAL_BUILD = "yes" ; then
49029 TOOLKIT_LOWERCASE
=`echo $TOOLKIT | tr "[A-Z]" "[a-z]"`
49040 TOOLKIT_DESC
="GTK+"
49041 if test "$WXGTK20" = 1; then
49042 TOOLKIT_DESC
="$TOOLKIT_DESC 2"
49043 if test "$wxUSE_LIBGNOMEPRINT" = "yes" ; then
49044 TOOLKIT_EXTRA
="$TOOLKIT_EXTRA gnomeprint";
49046 if test "$wxUSE_LIBGNOMEVFS" = "yes" ; then
49047 TOOLKIT_EXTRA
="$TOOLKIT_EXTRA gnomevfs"
49049 if test "$wxUSE_LIBHILDON" = "yes"; then
49050 TOOLKIT_EXTRA
="$TOOLKIT_EXTRA hildon"
49053 if test "$TOOLKIT_EXTRA" != ""; then
49054 TOOLKIT_DESC
="$TOOLKIT_DESC with support for `echo $TOOLKIT_EXTRA | tr -s ' '`"
49060 TOOLKIT_DESC
=$TOOLKIT_LOWERCASE
49064 TOOLKIT_DESC
="base only"
49068 if test "$wxUSE_WINE" = "yes"; then
49069 BAKEFILE_FORCE_PLATFORM
=win32
49072 if test "$wxUSE_MAC" = 1 ; then
49073 if test "x$wxUSE_UNIVERSAL_BINARY" != xno
; then
49074 if test "x$wxUSE_UNIVERSAL_BINARY" == xyes
; then
49075 OSX_UNIV_OPTS
="-isysroot /Developer/SDKs/MacOSX10.4u.sdk"
49077 OSX_UNIV_OPTS
=${wxUSE_UNIVERSAL_BINARY:+"-isysroot '$wxUSE_UNIVERSAL_BINARY'"}
49079 OSX_UNIV_OPTS
="$OSX_UNIV_OPTS -arch ppc -arch i386"
49080 CXXFLAGS
="$OSX_UNIV_OPTS $CXXFLAGS"
49081 CFLAGS
="$OSX_UNIV_OPTS $CFLAGS"
49082 LDFLAGS
="$OSX_UNIV_OPTS $LDFLAGS"
49085 # TODO: where do we add "-syslibroot,/Developer/SDKs/MacOSX10.4u.sdk" for libtool (static builds only)?
49086 # The makefile currently uses AR and RANLIB, which libtool apparently supercedes.
49089 if test "$wxUSE_UNICODE" = yes -a "$GCC" = yes -a "$bk_use_pch" != no
49091 { echo "$as_me:$LINENO: checking for gcc precompiled header bug" >&5
49092 echo $ECHO_N "checking for gcc precompiled header bug... $ECHO_C" >&6; }
49093 if test "${wx_cv_gcc_pch_bug+set}" = set; then
49094 echo $ECHO_N "(cached) $ECHO_C" >&6
49097 echo '#include <stdio.h>
49098 const wchar_t test_var[] = L"awidetest";' > conftest.h
49100 echo '#include "conftest.h"
49103 printf("%ls", test_var);
49107 wx_cv_gcc_pch_bug
="pch not supported"
49109 if $CXX conftest.h
>/dev
/null
2>&1
49113 if $CXX -o conftest
$PROGRAM_EXT conftest.cpp
>/dev
/null
2>&1
49115 if tr -dc '[a-z]' < conftest
$PROGRAM_EXT |
49116 grep awidetest
>/dev
/null
49118 wx_cv_gcc_pch_bug
=no
49120 wx_cv_gcc_pch_bug
=yes
49125 rm -f conftest.h conftest.gch conftest.cpp conftest
$PROGRAM_EXT
49128 { echo "$as_me:$LINENO: result: $wx_cv_gcc_pch_bug" >&5
49129 echo "${ECHO_T}$wx_cv_gcc_pch_bug" >&6; }
49131 if test "$wx_cv_gcc_pch_bug" = yes; then
49139 if test "x$BAKEFILE_HOST" = "x"; then
49140 if test "x${host}" = "x" ; then
49141 { { echo "$as_me:$LINENO: error: You must call the autoconf \"CANONICAL_HOST\" macro in your configure.ac (or .in) file." >&5
49142 echo "$as_me: error: You must call the autoconf \"CANONICAL_HOST\" macro in your configure.ac (or .in) file." >&2;}
49143 { (exit 1); exit 1; }; }
49146 BAKEFILE_HOST
="${host}"
49149 if test "x$BAKEFILE_CHECK_BASICS" != "xno"; then
49151 if test -n "$ac_tool_prefix"; then
49152 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
49153 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
49154 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49155 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49156 if test "${ac_cv_prog_RANLIB+set}" = set; then
49157 echo $ECHO_N "(cached) $ECHO_C" >&6
49159 if test -n "$RANLIB"; then
49160 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
49162 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
49163 for as_dir
in $PATH
49166 test -z "$as_dir" && as_dir
=.
49167 for ac_exec_ext
in '' $ac_executable_extensions; do
49168 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49169 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
49170 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49179 RANLIB
=$ac_cv_prog_RANLIB
49180 if test -n "$RANLIB"; then
49181 { echo "$as_me:$LINENO: result: $RANLIB" >&5
49182 echo "${ECHO_T}$RANLIB" >&6; }
49184 { echo "$as_me:$LINENO: result: no" >&5
49185 echo "${ECHO_T}no" >&6; }
49190 if test -z "$ac_cv_prog_RANLIB"; then
49191 ac_ct_RANLIB
=$RANLIB
49192 # Extract the first word of "ranlib", so it can be a program name with args.
49193 set dummy ranlib
; ac_word
=$2
49194 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49195 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49196 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
49197 echo $ECHO_N "(cached) $ECHO_C" >&6
49199 if test -n "$ac_ct_RANLIB"; then
49200 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
49202 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
49203 for as_dir
in $PATH
49206 test -z "$as_dir" && as_dir
=.
49207 for ac_exec_ext
in '' $ac_executable_extensions; do
49208 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49209 ac_cv_prog_ac_ct_RANLIB
="ranlib"
49210 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49219 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
49220 if test -n "$ac_ct_RANLIB"; then
49221 { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
49222 echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
49224 { echo "$as_me:$LINENO: result: no" >&5
49225 echo "${ECHO_T}no" >&6; }
49228 if test "x$ac_ct_RANLIB" = x
; then
49231 case $cross_compiling:$ac_tool_warned in
49233 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
49234 whose name does not start with the host triplet. If you think this
49235 configuration is useful to you, please write to autoconf@gnu.org." >&5
49236 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
49237 whose name does not start with the host triplet. If you think this
49238 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
49239 ac_tool_warned
=yes ;;
49241 RANLIB
=$ac_ct_RANLIB
49244 RANLIB
="$ac_cv_prog_RANLIB"
49247 # Find a good install program. We prefer a C program (faster),
49248 # so one script is as good as another. But avoid the broken or
49249 # incompatible versions:
49250 # SysV /etc/install, /usr/sbin/install
49251 # SunOS /usr/etc/install
49252 # IRIX /sbin/install
49254 # AmigaOS /C/install, which installs bootblocks on floppy discs
49255 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
49256 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
49257 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
49258 # OS/2's system install, which has a completely different semantic
49259 # ./install, which can be erroneously created by make from ./install.sh.
49260 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
49261 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
49262 if test -z "$INSTALL"; then
49263 if test "${ac_cv_path_install+set}" = set; then
49264 echo $ECHO_N "(cached) $ECHO_C" >&6
49266 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
49267 for as_dir
in $PATH
49270 test -z "$as_dir" && as_dir
=.
49271 # Account for people who put trailing slashes in PATH elements.
49273 .
/ | .
// | /cC
/* | \
49274 /etc
/* | /usr
/sbin
/* | /usr
/etc
/* | /sbin
/* | /usr
/afsws
/bin
/* | \
49275 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
49278 # OSF1 and SCO ODT 3.0 have their own names for install.
49279 # Don't use installbsd from OSF since it installs stuff as root
49281 for ac_prog
in ginstall scoinst
install; do
49282 for ac_exec_ext
in '' $ac_executable_extensions; do
49283 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
49284 if test $ac_prog = install &&
49285 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
49286 # AIX install. It has an incompatible calling convention.
49288 elif test $ac_prog = install &&
49289 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
49290 # program-specific install script used by HP pwplus--don't use.
49293 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
49306 if test "${ac_cv_path_install+set}" = set; then
49307 INSTALL
=$ac_cv_path_install
49309 # As a last resort, use the slow shell script. Don't cache a
49310 # value for INSTALL within a source directory, because that will
49311 # break other packages using the cache if that directory is
49312 # removed, or if the value is a relative name.
49313 INSTALL
=$ac_install_sh
49316 { echo "$as_me:$LINENO: result: $INSTALL" >&5
49317 echo "${ECHO_T}$INSTALL" >&6; }
49319 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
49320 # It thinks the first close brace ends the variable substitution.
49321 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
49323 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
49325 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
49327 { echo "$as_me:$LINENO: checking whether ln -s works" >&5
49328 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; }
49330 if test "$LN_S" = "ln -s"; then
49331 { echo "$as_me:$LINENO: result: yes" >&5
49332 echo "${ECHO_T}yes" >&6; }
49334 { echo "$as_me:$LINENO: result: no, using $LN_S" >&5
49335 echo "${ECHO_T}no, using $LN_S" >&6; }
49339 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
49340 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
49341 set x
${MAKE-make}; ac_make
=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
49342 if { as_var
=ac_cv_prog_make_
${ac_make}_set
; eval "test \"\${$as_var+set}\" = set"; }; then
49343 echo $ECHO_N "(cached) $ECHO_C" >&6
49345 cat >conftest.
make <<\_ACEOF
49348 @
echo '@@@%%%=$(MAKE)=@@@%%%'
49350 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
49351 case `${MAKE-make} -f conftest.make 2>/dev/null` in
49352 *@@@
%%%=?
*=@@@
%%%*)
49353 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
49355 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
49357 rm -f conftest.
make
49359 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
49360 { echo "$as_me:$LINENO: result: yes" >&5
49361 echo "${ECHO_T}yes" >&6; }
49364 { echo "$as_me:$LINENO: result: no" >&5
49365 echo "${ECHO_T}no" >&6; }
49366 SET_MAKE
="MAKE=${MAKE-make}"
49371 if test "x$SUNCXX" = "xyes"; then
49373 AROPTIONS
="-xar -o"
49375 elif test "x$SGICC" = "xyes"; then
49380 if test -n "$ac_tool_prefix"; then
49381 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
49382 set dummy
${ac_tool_prefix}ar; ac_word
=$2
49383 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49384 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49385 if test "${ac_cv_prog_AR+set}" = set; then
49386 echo $ECHO_N "(cached) $ECHO_C" >&6
49388 if test -n "$AR"; then
49389 ac_cv_prog_AR
="$AR" # Let the user override the test.
49391 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
49392 for as_dir
in $PATH
49395 test -z "$as_dir" && as_dir
=.
49396 for ac_exec_ext
in '' $ac_executable_extensions; do
49397 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49398 ac_cv_prog_AR
="${ac_tool_prefix}ar"
49399 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49409 if test -n "$AR"; then
49410 { echo "$as_me:$LINENO: result: $AR" >&5
49411 echo "${ECHO_T}$AR" >&6; }
49413 { echo "$as_me:$LINENO: result: no" >&5
49414 echo "${ECHO_T}no" >&6; }
49419 if test -z "$ac_cv_prog_AR"; then
49421 # Extract the first word of "ar", so it can be a program name with args.
49422 set dummy
ar; ac_word
=$2
49423 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49424 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49425 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
49426 echo $ECHO_N "(cached) $ECHO_C" >&6
49428 if test -n "$ac_ct_AR"; then
49429 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
49431 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
49432 for as_dir
in $PATH
49435 test -z "$as_dir" && as_dir
=.
49436 for ac_exec_ext
in '' $ac_executable_extensions; do
49437 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49438 ac_cv_prog_ac_ct_AR
="ar"
49439 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49448 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
49449 if test -n "$ac_ct_AR"; then
49450 { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
49451 echo "${ECHO_T}$ac_ct_AR" >&6; }
49453 { echo "$as_me:$LINENO: result: no" >&5
49454 echo "${ECHO_T}no" >&6; }
49457 if test "x$ac_ct_AR" = x
; then
49460 case $cross_compiling:$ac_tool_warned in
49462 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
49463 whose name does not start with the host triplet. If you think this
49464 configuration is useful to you, please write to autoconf@gnu.org." >&5
49465 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
49466 whose name does not start with the host triplet. If you think this
49467 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
49468 ac_tool_warned
=yes ;;
49473 AR
="$ac_cv_prog_AR"
49480 if test -n "$ac_tool_prefix"; then
49481 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
49482 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
49483 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49484 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49485 if test "${ac_cv_prog_STRIP+set}" = set; then
49486 echo $ECHO_N "(cached) $ECHO_C" >&6
49488 if test -n "$STRIP"; then
49489 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
49491 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
49492 for as_dir
in $PATH
49495 test -z "$as_dir" && as_dir
=.
49496 for ac_exec_ext
in '' $ac_executable_extensions; do
49497 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49498 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
49499 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49508 STRIP
=$ac_cv_prog_STRIP
49509 if test -n "$STRIP"; then
49510 { echo "$as_me:$LINENO: result: $STRIP" >&5
49511 echo "${ECHO_T}$STRIP" >&6; }
49513 { echo "$as_me:$LINENO: result: no" >&5
49514 echo "${ECHO_T}no" >&6; }
49519 if test -z "$ac_cv_prog_STRIP"; then
49521 # Extract the first word of "strip", so it can be a program name with args.
49522 set dummy strip
; ac_word
=$2
49523 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49524 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49525 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
49526 echo $ECHO_N "(cached) $ECHO_C" >&6
49528 if test -n "$ac_ct_STRIP"; then
49529 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
49531 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
49532 for as_dir
in $PATH
49535 test -z "$as_dir" && as_dir
=.
49536 for ac_exec_ext
in '' $ac_executable_extensions; do
49537 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49538 ac_cv_prog_ac_ct_STRIP
="strip"
49539 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49548 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
49549 if test -n "$ac_ct_STRIP"; then
49550 { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
49551 echo "${ECHO_T}$ac_ct_STRIP" >&6; }
49553 { echo "$as_me:$LINENO: result: no" >&5
49554 echo "${ECHO_T}no" >&6; }
49557 if test "x$ac_ct_STRIP" = x
; then
49560 case $cross_compiling:$ac_tool_warned in
49562 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
49563 whose name does not start with the host triplet. If you think this
49564 configuration is useful to you, please write to autoconf@gnu.org." >&5
49565 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
49566 whose name does not start with the host triplet. If you think this
49567 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
49568 ac_tool_warned
=yes ;;
49573 STRIP
="$ac_cv_prog_STRIP"
49576 if test -n "$ac_tool_prefix"; then
49577 # Extract the first word of "${ac_tool_prefix}nm", so it can be a program name with args.
49578 set dummy
${ac_tool_prefix}nm
; ac_word
=$2
49579 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49580 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49581 if test "${ac_cv_prog_NM+set}" = set; then
49582 echo $ECHO_N "(cached) $ECHO_C" >&6
49584 if test -n "$NM"; then
49585 ac_cv_prog_NM
="$NM" # Let the user override the test.
49587 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
49588 for as_dir
in $PATH
49591 test -z "$as_dir" && as_dir
=.
49592 for ac_exec_ext
in '' $ac_executable_extensions; do
49593 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49594 ac_cv_prog_NM
="${ac_tool_prefix}nm"
49595 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49605 if test -n "$NM"; then
49606 { echo "$as_me:$LINENO: result: $NM" >&5
49607 echo "${ECHO_T}$NM" >&6; }
49609 { echo "$as_me:$LINENO: result: no" >&5
49610 echo "${ECHO_T}no" >&6; }
49615 if test -z "$ac_cv_prog_NM"; then
49617 # Extract the first word of "nm", so it can be a program name with args.
49618 set dummy nm
; ac_word
=$2
49619 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49620 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49621 if test "${ac_cv_prog_ac_ct_NM+set}" = set; then
49622 echo $ECHO_N "(cached) $ECHO_C" >&6
49624 if test -n "$ac_ct_NM"; then
49625 ac_cv_prog_ac_ct_NM
="$ac_ct_NM" # Let the user override the test.
49627 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
49628 for as_dir
in $PATH
49631 test -z "$as_dir" && as_dir
=.
49632 for ac_exec_ext
in '' $ac_executable_extensions; do
49633 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49634 ac_cv_prog_ac_ct_NM
="nm"
49635 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49644 ac_ct_NM
=$ac_cv_prog_ac_ct_NM
49645 if test -n "$ac_ct_NM"; then
49646 { echo "$as_me:$LINENO: result: $ac_ct_NM" >&5
49647 echo "${ECHO_T}$ac_ct_NM" >&6; }
49649 { echo "$as_me:$LINENO: result: no" >&5
49650 echo "${ECHO_T}no" >&6; }
49653 if test "x$ac_ct_NM" = x
; then
49656 case $cross_compiling:$ac_tool_warned in
49658 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
49659 whose name does not start with the host triplet. If you think this
49660 configuration is useful to you, please write to autoconf@gnu.org." >&5
49661 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
49662 whose name does not start with the host triplet. If you think this
49663 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
49664 ac_tool_warned
=yes ;;
49669 NM
="$ac_cv_prog_NM"
49673 case ${BAKEFILE_HOST} in
49675 INSTALL_DIR
="mkdir -p"
49678 INSTALL_DIR
='$(INSTALL) -d'
49684 case ${BAKEFILE_HOST} in
49685 *-*-cygwin* | *-*-mingw32* )
49686 LDFLAGS_GUI
="-mwindows"
49692 { echo "$as_me:$LINENO: checking if make is GNU make" >&5
49693 echo $ECHO_N "checking if make is GNU make... $ECHO_C" >&6; }
49694 if test "${bakefile_cv_prog_makeisgnu+set}" = set; then
49695 echo $ECHO_N "(cached) $ECHO_C" >&6
49698 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev
/null
|
49699 egrep -s GNU
> /dev
/null
); then
49700 bakefile_cv_prog_makeisgnu
="yes"
49702 bakefile_cv_prog_makeisgnu
="no"
49706 { echo "$as_me:$LINENO: result: $bakefile_cv_prog_makeisgnu" >&5
49707 echo "${ECHO_T}$bakefile_cv_prog_makeisgnu" >&6; }
49709 if test "x$bakefile_cv_prog_makeisgnu" = "xyes"; then
49726 if test "x$BAKEFILE_FORCE_PLATFORM" = "x"; then
49727 case "${BAKEFILE_HOST}" in
49734 *-pc-os2_emx | *-pc-os2-emx )
49744 powerpc
-apple-macos* )
49753 case "$BAKEFILE_FORCE_PLATFORM" in
49788 # Check whether --enable-omf was given.
49789 if test "${enable_omf+set}" = set; then
49790 enableval
=$enable_omf; bk_os2_use_omf
="$enableval"
49794 case "${BAKEFILE_HOST}" in
49796 if test "x$GCC" = "xyes"; then
49797 CFLAGS
="$CFLAGS -fno-common"
49798 CXXFLAGS
="$CXXFLAGS -fno-common"
49800 if test "x$XLCC" = "xyes"; then
49801 CFLAGS
="$CFLAGS -qnocommon"
49802 CXXFLAGS
="$CXXFLAGS -qnocommon"
49806 *-pc-os2_emx | *-pc-os2-emx )
49807 if test "x$bk_os2_use_omf" = "xyes" ; then
49810 LDFLAGS
="-Zomf $LDFLAGS"
49811 CFLAGS
="-Zomf $CFLAGS"
49812 CXXFLAGS
="-Zomf $CXXFLAGS"
49820 LDFLAGS
="-L/boot/develop/lib/x86 $LDFLAGS"
49826 SO_SUFFIX_MODULE
="so"
49831 DLLPREFIX_MODULE
=""
49835 case "${BAKEFILE_HOST}" in
49838 SO_SUFFIX_MODULE
="sl"
49842 SO_SUFFIX_MODULE
="a"
49846 SO_SUFFIX_MODULE
="dll"
49847 DLLIMP_SUFFIX
="dll.a"
49854 SO_SUFFIX_MODULE
="dll"
49855 DLLIMP_SUFFIX
="dll.a"
49865 *-pc-os2_emx | *-pc-os2-emx )
49867 SO_SUFFIX_MODULE
="dll"
49868 DLLIMP_SUFFIX
=$OS2_LIBEXT
49872 LIBEXT
=".$OS2_LIBEXT"
49877 SO_SUFFIX_MODULE
="bundle"
49881 if test "x$DLLIMP_SUFFIX" = "x" ; then
49882 DLLIMP_SUFFIX
="$SO_SUFFIX"
49897 if test "x$GCC" = "xyes"; then
49901 SHARED_LD_CC
="\$(CC) -shared ${PIC_FLAG} -o"
49902 SHARED_LD_CXX
="\$(CXX) -shared ${PIC_FLAG} -o"
49905 case "${BAKEFILE_HOST}" in
49907 if test "x$GCC" != "xyes"; then
49908 LDFLAGS
="$LDFLAGS -L/usr/lib"
49910 SHARED_LD_CC
="${CC} -b -o"
49911 SHARED_LD_CXX
="${CXX} -b -o"
49917 if test "$INTELCC" = "yes"; then
49919 elif test "x$SUNCXX" = "xyes"; then
49920 SHARED_LD_CC
="${CC} -G -o"
49921 SHARED_LD_CXX
="${CXX} -G -o"
49927 if test "x$SUNCXX" = xyes
; then
49928 SHARED_LD_CC
="${CC} -G -o"
49929 SHARED_LD_CXX
="${CXX} -G -o"
49937 cat <<EOF >shared-ld-sh
49939 #-----------------------------------------------------------------------------
49940 #-- Name: distrib/mac/shared-ld-sh
49941 #-- Purpose: Link a mach-o dynamic shared library for Darwin / Mac OS X
49942 #-- Author: Gilles Depeyrot
49943 #-- Copyright: (c) 2002 Gilles Depeyrot
49944 #-- Licence: any use permitted
49945 #-----------------------------------------------------------------------------
49950 linking_flag="-dynamiclib"
49951 ldargs="-r -keep_private_externs -nostdlib"
49953 while test ${D}# -gt 0; do
49960 -o|-compatibility_version|-current_version|-framework|-undefined|-install_name)
49961 # collect these options and values
49962 args="${D}{args} ${D}1 ${D}2"
49967 # collect these load args
49968 ldargs="${D}{ldargs} ${D}1"
49971 -l*|-L*|-flat_namespace|-headerpad_max_install_names)
49972 # collect these options
49973 args="${D}{args} ${D}1"
49976 -dynamiclib|-bundle)
49977 linking_flag="${D}1"
49981 echo "shared-ld: unhandled option '${D}1'"
49985 *.o | *.a | *.dylib)
49986 # collect object files
49987 objects="${D}{objects} ${D}1"
49991 echo "shared-ld: unhandled argument '${D}1'"
50002 # Link one module containing all the others
50004 if test ${D}{verbose} = 1; then
50005 echo "c++ ${D}{ldargs} ${D}{objects} -o master.${D}${D}.o"
50007 c++ ${D}{ldargs} ${D}{objects} -o master.${D}${D}.o
50011 # Link the shared library from the single module created, but only if the
50012 # previous command didn't fail:
50014 if test ${D}{status} = 0; then
50015 if test ${D}{verbose} = 1; then
50016 echo "c++ ${D}{linking_flag} master.${D}${D}.o ${D}{args}"
50018 c++ ${D}{linking_flag} master.${D}${D}.o ${D}{args}
50023 # Remove intermediate module
50025 rm -f master.${D}${D}.o
50030 chmod +x shared
-ld-sh
50032 SHARED_LD_MODULE_CC
="`pwd`/shared-ld-sh -bundle -headerpad_max_install_names -o"
50033 SHARED_LD_MODULE_CXX
="$SHARED_LD_MODULE_CC"
50036 { echo "$as_me:$LINENO: checking for gcc 3.1 or later" >&5
50037 echo $ECHO_N "checking for gcc 3.1 or later... $ECHO_C" >&6; }
50038 if test "${bakefile_cv_gcc31+set}" = set; then
50039 echo $ECHO_N "(cached) $ECHO_C" >&6
50042 cat >conftest.
$ac_ext <<_ACEOF
50045 cat confdefs.h
>>conftest.
$ac_ext
50046 cat >>conftest.
$ac_ext <<_ACEOF
50047 /* end confdefs.h. */
50053 #if (__GNUC__ < 3) || \
50054 ((__GNUC__ == 3) && (__GNUC_MINOR__ < 1))
50062 rm -f conftest.
$ac_objext
50063 if { (ac_try
="$ac_compile"
50064 case "(($ac_try" in
50065 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
50066 *) ac_try_echo=$ac_try;;
50068 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
50069 (eval "$ac_compile") 2>conftest.er1
50071 grep -v '^ *+' conftest.er1 >conftest.err
50073 cat conftest.err >&5
50074 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50075 (exit $ac_status); } && {
50076 test -z "$ac_c_werror_flag" ||
50077 test ! -s conftest.err
50078 } && test -s conftest.$ac_objext; then
50080 bakefile_cv_gcc31=yes
50083 echo "$as_me: failed program was:" >&5
50084 sed 's/^/| /' conftest.$ac_ext >&5
50087 bakefile_cv_gcc31=no
50092 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50095 { echo "$as_me:$LINENO: result: $bakefile_cv_gcc31" >&5
50096 echo "${ECHO_T}$bakefile_cv_gcc31" >&6; }
50097 if test "$bakefile_cv_gcc31" = "no"; then
50098 SHARED_LD_CC="`pwd`/shared-ld-sh -dynamiclib -headerpad_max_install_names -o"
50099 SHARED_LD_CXX="$SHARED_LD_CC"
50101 SHARED_LD_CC="\${CC} -dynamiclib -single_module -headerpad_max_install_names -o"
50102 SHARED_LD_CXX="\${CXX} -dynamiclib -single_module -headerpad_max_install_names -o"
50105 if test "x$GCC" == "xyes"; then
50106 PIC_FLAG="-dynamic -fPIC"
50108 if test "x$XLCC" = "xyes"; then
50109 PIC_FLAG="-dynamic -DPIC"
50114 if test "x$GCC" = "xyes"; then
50117 case "${BAKEFILE_HOST}" in
50119 LD_EXPFULL="-Wl,-bexpfull"
50123 SHARED_LD_CC="\$(CC) -shared $LD_EXPFULL -o"
50124 SHARED_LD_CXX="\$(CXX) -shared $LD_EXPFULL -o"
50126 # Extract the first word of "makeC++SharedLib", so it can be a program name with args.
50127 set dummy makeC++SharedLib; ac_word=$2
50128 { echo "$as_me:$LINENO: checking for $ac_word" >&5
50129 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
50130 if test "${ac_cv_prog_AIX_CXX_LD+set}" = set; then
50131 echo $ECHO_N "(cached) $ECHO_C" >&6
50133 if test -n "$AIX_CXX_LD"; then
50134 ac_cv_prog_AIX_CXX_LD="$AIX_CXX_LD" # Let the user override the test.
50136 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
50137 for as_dir in $PATH
50140 test -z "$as_dir" && as_dir=.
50141 for ac_exec_ext in '' $ac_executable_extensions; do
50142 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
50143 ac_cv_prog_AIX_CXX_LD="makeC++SharedLib"
50144 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
50151 test -z "$ac_cv_prog_AIX_CXX_LD" && ac_cv_prog_AIX_CXX_LD="/usr/lpp/xlC/bin/makeC++SharedLib"
50154 AIX_CXX_LD=$ac_cv_prog_AIX_CXX_LD
50155 if test -n "$AIX_CXX_LD"; then
50156 { echo "$as_me:$LINENO: result: $AIX_CXX_LD" >&5
50157 echo "${ECHO_T}$AIX_CXX_LD" >&6; }
50159 { echo "$as_me:$LINENO: result: no" >&5
50160 echo "${ECHO_T}no" >&6; }
50164 SHARED_LD_CC="$AIX_CC_LD -p 0 -o"
50165 SHARED_LD_CXX="$AIX_CXX_LD -p 0 -o"
50170 SHARED_LD_CC="${LD} -nostart -o"
50171 SHARED_LD_CXX="${LD} -nostart -o"
50175 if test "x$GCC" != "xyes"; then
50180 *-*-cygwin* | *-*-mingw32* )
50182 SHARED_LD_CC="\$(CC) -shared -o"
50183 SHARED_LD_CXX="\$(CXX) -shared -o"
50187 *-pc-os2_emx | *-pc-os2-emx )
50188 SHARED_LD_CC="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
50189 SHARED_LD_CXX="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
50193 cat <<EOF >dllar.sh
50196 # dllar - a tool to build both a .dll and an .a file
50197 # from a set of object (.o) files for EMX/OS2.
50199 # Written by Andrew Zabolotny, bit@freya.etu.ru
50200 # Ported to Unix like shell by Stefan Neis, Stefan.Neis@t-online.de
50202 # This script will accept a set of files on the command line.
50203 # All the public symbols from the .o files will be exported into
50204 # a .DEF file, then linker will be run (through gcc) against them to
50205 # build a shared library consisting of all given .o files. All libraries
50206 # (.a) will be first decompressed into component .o files then act as
50207 # described above. You can optionally give a description (-d "description")
50208 # which will be put into .DLL. To see the list of accepted options (as well
50209 # as command-line format) simply run this program without options. The .DLL
50210 # is built to be imported by name (there is no guarantee that new versions
50211 # of the library you build will have same ordinals for same symbols).
50213 # dllar is free software; you can redistribute it and/or modify
50214 # it under the terms of the GNU General Public License as published by
50215 # the Free Software Foundation; either version 2, or (at your option)
50216 # any later version.
50218 # dllar is distributed in the hope that it will be useful,
50219 # but WITHOUT ANY WARRANTY; without even the implied warranty of
50220 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
50221 # GNU General Public License for more details.
50223 # You should have received a copy of the GNU General Public License
50224 # along with dllar; see the file COPYING. If not, write to the Free
50225 # Software Foundation, 59 Temple Place - Suite 330, Boston, MA
50228 # To successfuly run this program you will need:
50229 # - Current drive should have LFN support (HPFS, ext2, network, etc)
50230 # (Sometimes dllar generates filenames which won't fit 8.3 scheme)
50232 # (used to build the .dll)
50234 # (used to create .def file from .o files)
50236 # (used to create .a file from .def file)
50237 # - GNU text utilites (cat, sort, uniq)
50238 # used to process emxexp output
50239 # - GNU file utilities (mv, rm)
50241 # - lxlite (optional, see flag below)
50242 # (used for general .dll cleanup)
50249 # basnam, variant of basename, which does _not_ remove the path, _iff_
50250 # second argument (suffix to remove) is given
50254 echo ${D}1 | sed 's/.*\\///' | sed 's/.*\\\\//'
50257 echo ${D}1 | sed 's/'${D}2'${D}//'
50260 echo "error in basnam ${D}*"
50266 # Cleanup temporary files and output
50269 for i in ${D}inputFiles ; do
50272 rm -rf \`basnam
${D}i
!\
`
50279 # Kill result in case of failure as there is just to many stupid make/nmake
50280 # things out there which doesn't do this.
50281 if [ ${D}# -eq 0 ]; then
50282 rm -f ${D}arcFile ${D}arcFile2 ${D}defFile ${D}dllFile
50286 # Print usage and exit script with rc=1.
50288 echo 'Usage: dllar.sh [-o[utput] output_file] [-i[mport] importlib_name]'
50289 echo ' [-name-mangler-script script.sh]'
50290 echo ' [-d[escription] "dll descrption"] [-cc "CC"] [-f[lags] "CFLAGS"]'
50291 echo ' [-ord[inals]] -ex[clude] "symbol(s)"'
50292 echo ' [-libf[lags] "{INIT|TERM}{GLOBAL|INSTANCE}"] [-nocrt[dll]] [-nolxl[ite]]'
50293 echo ' [*.o] [*.a]'
50294 echo '*> "output_file" should have no extension.'
50295 echo ' If it has the .o, .a or .dll extension, it is automatically removed.'
50296 echo ' The import library name is derived from this and is set to "name".a,'
50297 echo ' unless overridden by -import'
50298 echo '*> "importlib_name" should have no extension.'
50299 echo ' If it has the .o, or .a extension, it is automatically removed.'
50300 echo ' This name is used as the import library name and may be longer and'
50301 echo ' more descriptive than the DLL name which has to follow the old '
50302 echo ' 8.3 convention of FAT.'
50303 echo '*> "script.sh may be given to override the output_file name by a'
50304 echo ' different name. It is mainly useful if the regular make process'
50305 echo ' of some package does not take into account OS/2 restriction of'
50306 echo ' DLL name lengths. It takes the importlib name as input and is'
50307 echo ' supposed to procude a shorter name as output. The script should'
50308 echo ' expect to get importlib_name without extension and should produce'
50309 echo ' a (max.) 8 letter name without extension.'
50310 echo '*> "cc" is used to use another GCC executable. (default: gcc.exe)'
50311 echo '*> "flags" should be any set of valid GCC flags. (default: -s -Zcrtdll)'
50312 echo ' These flags will be put at the start of GCC command line.'
50313 echo '*> -ord[inals] tells dllar to export entries by ordinals. Be careful.'
50314 echo '*> -ex[clude] defines symbols which will not be exported. You can define'
50315 echo ' multiple symbols, for example -ex "myfunc yourfunc _GLOBAL*".'
50316 echo ' If the last character of a symbol is "*", all symbols beginning'
50317 echo ' with the prefix before "*" will be exclude, (see _GLOBAL* above).'
50318 echo '*> -libf[lags] can be used to add INITGLOBAL/INITINSTANCE and/or'
50319 echo ' TERMGLOBAL/TERMINSTANCE flags to the dynamically-linked library.'
50320 echo '*> -nocrt[dll] switch will disable linking the library against emx''s'
50321 echo ' C runtime DLLs.'
50322 echo '*> -nolxl[ite] switch will disable running lxlite on the resulting DLL.'
50323 echo '*> All other switches (for example -L./ or -lmylib) will be passed'
50324 echo ' unchanged to GCC at the end of command line.'
50325 echo '*> If you create a DLL from a library and you do not specify -o,'
50326 echo ' the basename for DLL and import library will be set to library name,'
50327 echo ' the initial library will be renamed to 'name'_s.a (_s for static)'
50328 echo ' i.e. "dllar gcc.a" will create gcc.dll and gcc.a, and the initial'
50329 echo ' library will be renamed into gcc_s.a.'
50332 echo ' dllar -o gcc290.dll libgcc.a -d "GNU C runtime library" -ord'
50333 echo ' -ex "__main __ctordtor*" -libf "INITINSTANCE TERMINSTANCE"'
50338 # Execute a command.
50339 # If exit code of the commnad <> 0 CleanUp() is called and we'll exit the script.
50340 # @Uses Whatever CleanUp() uses.
50346 if [ ${D}rcCmd -ne 0 ]; then
50347 echo "command failed, exit code="${D}rcCmd
50362 CFLAGS="-s -Zcrtdll"
50364 EXPORT_BY_ORDINALS=0
50369 case ${D}curDirS in
50373 curDirS=${D}{curDirS}"/"
50376 # Parse commandline
50379 while [ ${D}1 ]; do
50382 EXPORT_BY_ORDINALS=1;
50392 -name-mangler-script)
50413 exclude_symbols=${D}{exclude_symbols}${D}1" "
50417 library_flags=${D}{library_flags}${D}1" "
50436 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
50439 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS} \`basnam
${D}1 .dll\
`"
50440 if [ ${D}omfLinking -eq 1 ]; then
50441 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.lib"
50443 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.a"
50448 if [ ${D}libsToLink -ne 0 ]; then
50449 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
50451 for file in ${D}1 ; do
50452 if [ -f ${D}file ]; then
50453 inputFiles="${D}{inputFiles} ${D}file"
50457 if [ ${D}found -eq 0 ]; then
50458 echo "ERROR: No file(s) found: "${D}1
50465 done # iterate cmdline words
50468 if [ -z "${D}inputFiles" ]; then
50469 echo "dllar: no input files"
50473 # Now extract all .o files from .a files
50475 for file in ${D}inputFiles ; do
50486 EXTRA_CFLAGS="${D}EXTRA_CFLAGS -Zomf"
50491 dirname=\`basnam
${D}file ${D}suffix\
`"_%"
50493 if [ ${D}? -ne 0 ]; then
50494 echo "Failed to create subdirectory ./${D}dirname"
50498 # Append '!' to indicate archive
50499 newInputFiles="${D}newInputFiles ${D}{dirname}!"
50500 doCommand "cd ${D}dirname; ${D}AR x ../${D}file"
50503 for subfile in ${D}dirname/*.o* ; do
50504 if [ -f ${D}subfile ]; then
50506 if [ -s ${D}subfile ]; then
50507 # FIXME: This should be: is file size > 32 byte, _not_ > 0!
50508 newInputFiles="${D}newInputFiles ${D}subfile"
50512 if [ ${D}found -eq 0 ]; then
50513 echo "WARNING: there are no files in archive \\'${D}file\\'"
50517 newInputFiles="${D}{newInputFiles} ${D}file"
50521 inputFiles="${D}newInputFiles"
50523 # Output filename(s).
50525 if [ -z ${D}outFile ]; then
50527 set outFile ${D}inputFiles; outFile=${D}2
50530 # If it is an archive, remove the '!' and the '_%' suffixes
50531 case ${D}outFile in
50533 outFile=\`basnam
${D}outFile _
%!\
`
50538 case ${D}outFile in
50540 outFile=\`basnam
${D}outFile .dll\
`
50543 outFile=\`basnam
${D}outFile .DLL\
`
50546 outFile=\`basnam
${D}outFile .o\
`
50549 outFile=\`basnam
${D}outFile .obj\
`
50552 outFile=\`basnam
${D}outFile .a\
`
50555 outFile=\`basnam
${D}outFile .lib\
`
50560 case ${D}outimpFile in
50562 outimpFile=\`basnam
${D}outimpFile .a\
`
50565 outimpFile=\`basnam
${D}outimpFile .lib\
`
50570 if [ -z ${D}outimpFile ]; then
50571 outimpFile=${D}outFile
50573 defFile="${D}{outFile}.def"
50574 arcFile="${D}{outimpFile}.a"
50575 arcFile2="${D}{outimpFile}.lib"
50577 #create ${D}dllFile as something matching 8.3 restrictions,
50578 if [ -z ${D}renameScript ] ; then
50579 dllFile="${D}outFile"
50581 dllFile=\`${D}renameScript
${D}outimpFile\
`
50584 if [ ${D}do_backup -ne 0 ] ; then
50585 if [ -f ${D}arcFile ] ; then
50586 doCommand "mv ${D}arcFile ${D}{outFile}_s.a"
50588 if [ -f ${D}arcFile2 ] ; then
50589 doCommand "mv ${D}arcFile2 ${D}{outFile}_s.lib"
50593 # Extract public symbols from all the object files.
50594 tmpdefFile=${D}{defFile}_%
50595 rm -f ${D}tmpdefFile
50596 for file in ${D}inputFiles ; do
50601 doCommand "emxexp -u ${D}file >> ${D}tmpdefFile"
50606 # Create the def file.
50608 echo "LIBRARY \`basnam
${D}dllFile\
` ${D}library_flags" >> ${D}defFile
50609 dllFile="${D}{dllFile}.dll"
50610 if [ ! -z ${D}description ]; then
50611 echo "DESCRIPTION \\"${D}{description}\\"" >> ${D}defFile
50613 echo "EXPORTS" >> ${D}defFile
50615 doCommand "cat ${D}tmpdefFile | sort.exe | uniq.exe > ${D}{tmpdefFile}%"
50616 grep -v "^ *;" < ${D}{tmpdefFile}% | grep -v "^ *${D}" >${D}tmpdefFile
50618 # Checks if the export is ok or not.
50619 for word in ${D}exclude_symbols; do
50620 grep -v ${D}word < ${D}tmpdefFile >${D}{tmpdefFile}%
50621 mv ${D}{tmpdefFile}% ${D}tmpdefFile
50625 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
50626 sed "=" < ${D}tmpdefFile | \\
50630 s/^\\([0-9]\\+\\)\\([^;]*\\)\\(;.*\\)\\?/\\2 @\\1 NONAME/
50632 ' > ${D}{tmpdefFile}%
50633 grep -v "^ *${D}" < ${D}{tmpdefFile}% > ${D}tmpdefFile
50635 rm -f ${D}{tmpdefFile}%
50637 cat ${D}tmpdefFile >> ${D}defFile
50638 rm -f ${D}tmpdefFile
50640 # Do linking, create implib, and apply lxlite.
50642 for file in ${D}inputFiles ; do
50647 gccCmdl="${D}gccCmdl ${D}file"
50651 doCommand "${D}CC ${D}CFLAGS -Zdll -o ${D}dllFile ${D}defFile ${D}gccCmdl ${D}EXTRA_CFLAGS"
50652 touch "${D}{outFile}.dll"
50654 doCommand "emximp -o ${D}arcFile ${D}defFile"
50655 if [ ${D}flag_USE_LXLITE -ne 0 ]; then
50657 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
50660 doCommand "lxlite -cs -t: -mrn -mln ${D}add_flags ${D}dllFile"
50662 doCommand "emxomf -s -l ${D}arcFile"
50672 powerpc-apple-macos* | \
50673 *-*-freebsd* | *-*-openbsd* | *-*-netbsd* | *-*-k*bsd*-gnu | \
50683 { { echo "$as_me:$LINENO: error: unknown system type $BAKEFILE_HOST." >&5
50684 echo "$as_me: error: unknown system type $BAKEFILE_HOST." >&2;}
50685 { (exit 1); exit 1; }; }
50688 if test "x$PIC_FLAG" != "x" ; then
50689 PIC_FLAG="$PIC_FLAG -DPIC"
50692 if test "x$SHARED_LD_MODULE_CC" = "x" ; then
50693 SHARED_LD_MODULE_CC="$SHARED_LD_CC"
50695 if test "x$SHARED_LD_MODULE_CXX" = "x" ; then
50696 SHARED_LD_MODULE_CXX="$SHARED_LD_CXX"
50715 case "${BAKEFILE_HOST}" in
50716 *-*-linux* | *-*-freebsd* | *-*-k*bsd*-gnu )
50717 if test "x$SUNCXX" = "xyes"; then
50720 SONAME_FLAG="-Wl,-soname,"
50755 # Check whether --enable-dependency-tracking was given.
50756 if test "${enable_dependency_tracking+set}" = set; then
50757 enableval=$enable_dependency_tracking; bk_use_trackdeps="$enableval"
50761 { echo "$as_me:$LINENO: checking for dependency tracking method" >&5
50762 echo $ECHO_N "checking for dependency tracking method... $ECHO_C" >&6; }
50765 if test "x$bk_use_trackdeps" = "xno" ; then
50767 { echo "$as_me:$LINENO: result: disabled" >&5
50768 echo "${ECHO_T}disabled" >&6; }
50772 if test "x$GCC" = "xyes"; then
50774 case "${BAKEFILE_HOST}" in
50776 DEPSFLAG="-no-cpp-precomp -MMD"
50782 { echo "$as_me:$LINENO: result: gcc" >&5
50783 echo "${ECHO_T}gcc" >&6; }
50784 elif test "x$MWCC" = "xyes"; then
50787 { echo "$as_me:$LINENO: result: mwcc" >&5
50788 echo "${ECHO_T}mwcc" >&6; }
50789 elif test "x$SUNCC" = "xyes"; then
50792 { echo "$as_me:$LINENO: result: Sun cc" >&5
50793 echo "${ECHO_T}Sun cc" >&6; }
50794 elif test "x$SGICC" = "xyes"; then
50797 { echo "$as_me:$LINENO: result: SGI cc" >&5
50798 echo "${ECHO_T}SGI cc" >&6; }
50799 elif test "x$HPCC" = "xyes"; then
50802 { echo "$as_me:$LINENO: result: HP cc" >&5
50803 echo "${ECHO_T}HP cc" >&6; }
50804 elif test "x$COMPAQCC" = "xyes"; then
50807 { echo "$as_me:$LINENO: result: Compaq cc" >&5
50808 echo "${ECHO_T}Compaq cc" >&6; }
50811 { echo "$as_me:$LINENO: result: none" >&5
50812 echo "${ECHO_T}none" >&6; }
50815 if test $DEPS_TRACKING = 1 ; then
50821 # This script is part of Bakefile (http://bakefile.sourceforge.net) autoconf
50822 # script. It is used to track C/C++ files dependencies in portable way.
50824 # Permission is given to use this file in any way.
50826 DEPSMODE=${DEPSMODE}
50828 DEPSFLAG="${DEPSFLAG}"
50830 mkdir -p ${D}DEPSDIR
50832 if test ${D}DEPSMODE = gcc ; then
50833 ${D}* ${D}{DEPSFLAG}
50835 if test ${D}{status} != 0 ; then
50838 # move created file to the location we want it in:
50839 while test ${D}# -gt 0; do
50853 depfile=\`basename ${D}srcfile
| sed -e 's/\\..*${D}/.d/g'\
`
50854 depobjname=\`echo ${D}depfile
|sed -e 's/\\.d/.o/g'\
`
50855 if test -f ${D}depfile ; then
50856 sed -e "s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{DEPSDIR}/${D}{objfile}.d
50859 # "g++ -MMD -o fooobj.o foosrc.cpp" produces fooobj.d
50860 depfile=\`basename ${D}objfile
| sed -e 's/\\..*${D}/.d/g'\
`
50861 if test ! -f ${D}depfile ; then
50862 # "cxx -MD -o fooobj.o foosrc.cpp" creates fooobj.o.d (Compaq C++)
50863 depfile="${D}objfile.d"
50865 if test -f ${D}depfile ; then
50866 sed -e "/^${D}objfile/!s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{DEPSDIR}/${D}{objfile}.d
50871 elif test ${D}DEPSMODE = mwcc ; then
50872 ${D}* || exit ${D}?
50873 # Run mwcc again with -MM and redirect into the dep file we want
50874 # NOTE: We can't use shift here because we need ${D}* to be valid
50876 for arg in ${D}* ; do
50877 if test "${D}prevarg" = "-o"; then
50890 ${D}* ${D}DEPSFLAG >${D}{DEPSDIR}/${D}{objfile}.d
50892 elif test ${D}DEPSMODE = unixcc; then
50893 ${D}* || exit ${D}?
50894 # Run compiler again with deps flag and redirect into the dep file.
50895 # It doesn't work if the '-o FILE' option is used, but without it the
50896 # dependency file will contain the wrong name for the object. So it is
50897 # removed from the command line, and the dep file is fixed with sed.
50899 while test ${D}# -gt 0; do
50906 eval arg${D}#=\\${D}1
50907 cmd="${D}cmd \\${D}arg${D}#"
50912 eval "${D}cmd ${D}DEPSFLAG" | sed "s|.*:|${D}objfile:|" >${D}{DEPSDIR}/${D}{objfile}.d
50921 BK_DEPS="`pwd`/bk-deps"
50929 case ${BAKEFILE_HOST} in
50930 *-*-cygwin* | *-*-mingw32* )
50931 if test -n "$ac_tool_prefix"; then
50932 # Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args.
50933 set dummy ${ac_tool_prefix}windres; ac_word=$2
50934 { echo "$as_me:$LINENO: checking for $ac_word" >&5
50935 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
50936 if test "${ac_cv_prog_WINDRES+set}" = set; then
50937 echo $ECHO_N "(cached) $ECHO_C" >&6
50939 if test -n "$WINDRES"; then
50940 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
50942 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
50943 for as_dir in $PATH
50946 test -z "$as_dir" && as_dir=.
50947 for ac_exec_ext in '' $ac_executable_extensions; do
50948 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
50949 ac_cv_prog_WINDRES="${ac_tool_prefix}windres"
50950 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
50959 WINDRES=$ac_cv_prog_WINDRES
50960 if test -n "$WINDRES"; then
50961 { echo "$as_me:$LINENO: result: $WINDRES" >&5
50962 echo "${ECHO_T}$WINDRES" >&6; }
50964 { echo "$as_me:$LINENO: result: no" >&5
50965 echo "${ECHO_T}no" >&6; }
50970 if test -z "$ac_cv_prog_WINDRES"; then
50971 ac_ct_WINDRES=$WINDRES
50972 # Extract the first word of "windres", so it can be a program name with args.
50973 set dummy windres; ac_word=$2
50974 { echo "$as_me:$LINENO: checking for $ac_word" >&5
50975 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
50976 if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then
50977 echo $ECHO_N "(cached) $ECHO_C" >&6
50979 if test -n "$ac_ct_WINDRES"; then
50980 ac_cv_prog_ac_ct_WINDRES="$ac_ct_WINDRES" # Let the user override the test.
50982 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
50983 for as_dir in $PATH
50986 test -z "$as_dir" && as_dir=.
50987 for ac_exec_ext in '' $ac_executable_extensions; do
50988 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
50989 ac_cv_prog_ac_ct_WINDRES="windres"
50990 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
50999 ac_ct_WINDRES=$ac_cv_prog_ac_ct_WINDRES
51000 if test -n "$ac_ct_WINDRES"; then
51001 { echo "$as_me:$LINENO: result: $ac_ct_WINDRES" >&5
51002 echo "${ECHO_T}$ac_ct_WINDRES" >&6; }
51004 { echo "$as_me:$LINENO: result: no" >&5
51005 echo "${ECHO_T}no" >&6; }
51008 if test "x$ac_ct_WINDRES" = x; then
51011 case $cross_compiling:$ac_tool_warned in
51013 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
51014 whose name does not start with the host triplet. If you think this
51015 configuration is useful to you, please write to autoconf@gnu.org." >&5
51016 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
51017 whose name does not start with the host triplet. If you think this
51018 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
51019 ac_tool_warned=yes ;;
51021 WINDRES=$ac_ct_WINDRES
51024 WINDRES="$ac_cv_prog_WINDRES"
51029 *-*-darwin* | powerpc-apple-macos* )
51030 # Extract the first word of "Rez", so it can be a program name with args.
51031 set dummy Rez; ac_word=$2
51032 { echo "$as_me:$LINENO: checking for $ac_word" >&5
51033 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
51034 if test "${ac_cv_prog_REZ+set}" = set; then
51035 echo $ECHO_N "(cached) $ECHO_C" >&6
51037 if test -n "$REZ"; then
51038 ac_cv_prog_REZ="$REZ" # Let the user override the test.
51040 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
51041 for as_dir in $PATH
51044 test -z "$as_dir" && as_dir=.
51045 for ac_exec_ext in '' $ac_executable_extensions; do
51046 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
51047 ac_cv_prog_REZ="Rez"
51048 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
51055 test -z "$ac_cv_prog_REZ" && ac_cv_prog_REZ="/Developer/Tools/Rez"
51058 REZ=$ac_cv_prog_REZ
51059 if test -n "$REZ"; then
51060 { echo "$as_me:$LINENO: result: $REZ" >&5
51061 echo "${ECHO_T}$REZ" >&6; }
51063 { echo "$as_me:$LINENO: result: no" >&5
51064 echo "${ECHO_T}no" >&6; }
51068 # Extract the first word of "SetFile", so it can be a program name with args.
51069 set dummy SetFile; ac_word=$2
51070 { echo "$as_me:$LINENO: checking for $ac_word" >&5
51071 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
51072 if test "${ac_cv_prog_SETFILE+set}" = set; then
51073 echo $ECHO_N "(cached) $ECHO_C" >&6
51075 if test -n "$SETFILE"; then
51076 ac_cv_prog_SETFILE="$SETFILE" # Let the user override the test.
51078 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
51079 for as_dir in $PATH
51082 test -z "$as_dir" && as_dir=.
51083 for ac_exec_ext in '' $ac_executable_extensions; do
51084 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
51085 ac_cv_prog_SETFILE="SetFile"
51086 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
51093 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE="/Developer/Tools/SetFile"
51096 SETFILE=$ac_cv_prog_SETFILE
51097 if test -n "$SETFILE"; then
51098 { echo "$as_me:$LINENO: result: $SETFILE" >&5
51099 echo "${ECHO_T}$SETFILE" >&6; }
51101 { echo "$as_me:$LINENO: result: no" >&5
51102 echo "${ECHO_T}no" >&6; }
51114 BAKEFILE_BAKEFILE_M4_VERSION="0.2.2"
51117 BAKEFILE_AUTOCONF_INC_M4_VERSION="0.2.2"
51121 # Check whether --enable-precomp-headers was given.
51122 if test "${enable_precomp_headers+set}" = set; then
51123 enableval=$enable_precomp_headers; bk_use_pch="$enableval"
51132 case ${BAKEFILE_HOST} in
51138 if test "x$bk_use_pch" = "x" -o "x$bk_use_pch" = "xyes" ; then
51139 if test "x$GCC" = "xyes"; then
51140 { echo "$as_me:$LINENO: checking if the compiler supports precompiled headers" >&5
51141 echo $ECHO_N "checking if the compiler supports precompiled headers... $ECHO_C" >&6; }
51142 cat >conftest.$ac_ext <<_ACEOF
51145 cat confdefs.h >>conftest.$ac_ext
51146 cat >>conftest.$ac_ext <<_ACEOF
51147 /* end confdefs.h. */
51153 #if !defined(__GNUC__) || !defined(__GNUC_MINOR__)
51154 There is no PCH support
51157 There is no PCH support
51159 #if (__GNUC__ == 3) && \
51160 ((!defined(__APPLE_CC__) && (__GNUC_MINOR__ < 4)) || \
51161 ( defined(__APPLE_CC__) && (__GNUC_MINOR__ < 3))) || \
51162 ( defined(__INTEL_COMPILER) )
51163 There is no PCH support
51170 rm -f conftest.$ac_objext
51171 if { (ac_try="$ac_compile"
51172 case "(($ac_try" in
51173 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
51174 *) ac_try_echo
=$ac_try;;
51176 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
51177 (eval "$ac_compile") 2>conftest.er1
51179 grep -v '^ *+' conftest.er1
>conftest.err
51181 cat conftest.err
>&5
51182 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51183 (exit $ac_status); } && {
51184 test -z "$ac_c_werror_flag" ||
51185 test ! -s conftest.err
51186 } && test -s conftest.
$ac_objext; then
51188 { echo "$as_me:$LINENO: result: yes" >&5
51189 echo "${ECHO_T}yes" >&6; }
51193 echo "$as_me: failed program was:" >&5
51194 sed 's/^/| /' conftest.
$ac_ext >&5
51197 cat >conftest.
$ac_ext <<_ACEOF
51200 cat confdefs.h
>>conftest.
$ac_ext
51201 cat >>conftest.
$ac_ext <<_ACEOF
51202 /* end confdefs.h. */
51208 #if !defined(__INTEL_COMPILER) || \
51209 (__INTEL_COMPILER < 800)
51210 There is no PCH support
51217 rm -f conftest.
$ac_objext
51218 if { (ac_try
="$ac_compile"
51219 case "(($ac_try" in
51220 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
51221 *) ac_try_echo=$ac_try;;
51223 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
51224 (eval "$ac_compile") 2>conftest.er1
51226 grep -v '^ *+' conftest.er1 >conftest.err
51228 cat conftest.err >&5
51229 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51230 (exit $ac_status); } && {
51231 test -z "$ac_c_werror_flag" ||
51232 test ! -s conftest.err
51233 } && test -s conftest.$ac_objext; then
51235 { echo "$as_me:$LINENO: result: yes" >&5
51236 echo "${ECHO_T}yes" >&6; }
51240 echo "$as_me: failed program was:" >&5
51241 sed 's/^/| /' conftest.$ac_ext >&5
51244 { echo "$as_me:$LINENO: result: no" >&5
51245 echo "${ECHO_T}no" >&6; }
51249 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51253 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51254 if test $GCC_PCH = 1 -o $ICC_PCH = 1 ; then
51258 cat <<EOF >bk-make-pch
51261 # This script is part of Bakefile (http://bakefile.sourceforge.net) autoconf
51262 # script. It is used to generated precompiled headers.
51264 # Permission is given to use this file in any way.
51274 while test ${D}{#} -gt 0; do
51278 incdir=\`echo ${D}{1} | sed -e 's/-I\\(.*\\)/\\1/g'\
`
51279 if test "x${D}{headerfile}" = "x" -a -f "${D}{incdir}/${D}{header}" ; then
51280 headerfile="${D}{incdir}/${D}{header}"
51283 -use-pch|-use_pch )
51288 if test ${D}add_to_cmdline = 1 ; then
51289 compiler="${D}{compiler} ${D}{1}"
51294 if test "x${D}{headerfile}" = "x" ; then
51295 echo "error: can't find header ${D}{header} in include paths" >&2
51297 if test -f ${D}{outfile} ; then
51298 rm -f ${D}{outfile}
51300 mkdir -p \`dirname ${D}{outfile
}\
`
51302 depsfile=".deps/\`echo ${D}{outfile
} | tr '/.' '__'\
`.d"
51304 if test "x${GCC_PCH}" = "x1" ; then
51305 # can do this because gcc is >= 3.4:
51306 ${D}{compiler} -o ${D}{outfile} -MMD -MF "${D}{depsfile}" "${D}{headerfile}"
51307 elif test "x${ICC_PCH}" = "x1" ; then
51308 filename=pch_gen-${D}${D}
51309 file=${D}{filename}.c
51310 dfile=${D}{filename}.d
51311 cat > ${D}file <<EOT
51312 #include "${D}header"
51314 # using -MF icc complains about differing command lines in creation/use
51315 ${D}compiler -c -create_pch ${D}outfile -MMD ${D}file && \\
51316 sed -e "s,^.*:,${D}outfile:," -e "s, ${D}file,," < ${D}dfile > ${D}depsfile && \\
51317 rm -f ${D}file ${D}dfile ${D}{filename}.o
51323 chmod +x bk-make-pch
51324 BK_MAKE_PCH="`pwd`/bk-make-pch"
51333 COND_BUILD_DEBUG="#"
51334 if test "x$BUILD" = "xdebug" ; then
51335 COND_BUILD_DEBUG=""
51338 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT="#"
51339 if test "x$BUILD" = "xdebug" -a "x$DEBUG_FLAG" = "xdefault" ; then
51340 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT=""
51343 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT="#"
51344 if test "x$BUILD" = "xdebug" -a "x$DEBUG_INFO" = "xdefault" ; then
51345 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT=""
51348 COND_BUILD_DEBUG_UNICODE_0="#"
51349 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x0" ; then
51350 COND_BUILD_DEBUG_UNICODE_0=""
51353 COND_BUILD_DEBUG_UNICODE_1="#"
51354 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x1" ; then
51355 COND_BUILD_DEBUG_UNICODE_1=""
51358 COND_BUILD_RELEASE="#"
51359 if test "x$BUILD" = "xrelease" ; then
51360 COND_BUILD_RELEASE=""
51363 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT="#"
51364 if test "x$BUILD" = "xrelease" -a "x$DEBUG_INFO" = "xdefault" ; then
51365 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT=""
51368 COND_BUILD_RELEASE_UNICODE_0="#"
51369 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x0" ; then
51370 COND_BUILD_RELEASE_UNICODE_0=""
51373 COND_BUILD_RELEASE_UNICODE_1="#"
51374 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x1" ; then
51375 COND_BUILD_RELEASE_UNICODE_1=""
51378 COND_DEBUG_FLAG_1="#"
51379 if test "x$DEBUG_FLAG" = "x1" ; then
51380 COND_DEBUG_FLAG_1=""
51383 COND_DEBUG_INFO_0="#"
51384 if test "x$DEBUG_INFO" = "x0" ; then
51385 COND_DEBUG_INFO_0=""
51388 COND_DEBUG_INFO_1="#"
51389 if test "x$DEBUG_INFO" = "x1" ; then
51390 COND_DEBUG_INFO_1=""
51393 COND_DEPS_TRACKING_0="#"
51394 if test "x$DEPS_TRACKING" = "x0" ; then
51395 COND_DEPS_TRACKING_0=""
51398 COND_DEPS_TRACKING_1="#"
51399 if test "x$DEPS_TRACKING" = "x1" ; then
51400 COND_DEPS_TRACKING_1=""
51404 if test "x$GCC_PCH" = "x1" ; then
51409 if test "x$ICC_PCH" = "x1" ; then
51413 COND_MONOLITHIC_0="#"
51414 if test "x$MONOLITHIC" = "x0" ; then
51415 COND_MONOLITHIC_0=""
51418 COND_MONOLITHIC_0_SHARED_0="#"
51419 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" ; then
51420 COND_MONOLITHIC_0_SHARED_0=""
51423 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1="#"
51424 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_AUI" = "x1" ; then
51425 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1=""
51428 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1="#"
51429 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" ; then
51430 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1=""
51433 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1="#"
51434 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
51435 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1=""
51438 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1="#"
51439 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
51440 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1=""
51443 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1="#"
51444 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_ODBC" = "x1" ; then
51445 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1=""
51448 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1="#"
51449 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_QA" = "x1" ; then
51450 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1=""
51453 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1="#"
51454 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_ODBC" = "x1" ; then
51455 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1=""
51458 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1="#"
51459 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_RICHTEXT" = "x1" ; then
51460 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1=""
51463 COND_MONOLITHIC_0_SHARED_0_USE_STC_1="#"
51464 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_STC" = "x1" ; then
51465 COND_MONOLITHIC_0_SHARED_0_USE_STC_1=""
51468 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1="#"
51469 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_XRC" = "x1" ; then
51470 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1=""
51473 COND_MONOLITHIC_0_SHARED_1="#"
51474 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" ; then
51475 COND_MONOLITHIC_0_SHARED_1=""
51478 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1="#"
51479 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_AUI" = "x1" ; then
51480 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1=""
51483 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1="#"
51484 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" ; then
51485 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1=""
51488 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1="#"
51489 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
51490 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1=""
51493 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1="#"
51494 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
51495 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1=""
51498 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1="#"
51499 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_ODBC" = "x1" ; then
51500 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1=""
51503 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1="#"
51504 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_QA" = "x1" ; then
51505 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1=""
51508 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1="#"
51509 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_ODBC" = "x1" ; then
51510 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1=""
51513 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1="#"
51514 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_RICHTEXT" = "x1" ; then
51515 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1=""
51518 COND_MONOLITHIC_0_SHARED_1_USE_STC_1="#"
51519 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_STC" = "x1" ; then
51520 COND_MONOLITHIC_0_SHARED_1_USE_STC_1=""
51523 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1="#"
51524 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_XRC" = "x1" ; then
51525 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1=""
51528 COND_MONOLITHIC_0_USE_AUI_1="#"
51529 if test "x$MONOLITHIC" = "x0" -a "x$USE_AUI" = "x1" ; then
51530 COND_MONOLITHIC_0_USE_AUI_1=""
51533 COND_MONOLITHIC_0_USE_GUI_1="#"
51534 if test "x$MONOLITHIC" = "x0" -a "x$USE_GUI" = "x1" ; then
51535 COND_MONOLITHIC_0_USE_GUI_1=""
51538 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1="#"
51539 if test "x$MONOLITHIC" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
51540 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1=""
51543 COND_MONOLITHIC_0_USE_GUI_1_USE_ODBC_1="#"
51544 if test "x$MONOLITHIC" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_ODBC" = "x1" ; then
51545 COND_MONOLITHIC_0_USE_GUI_1_USE_ODBC_1=""
51548 COND_MONOLITHIC_0_USE_HTML_1="#"
51549 if test "x$MONOLITHIC" = "x0" -a "x$USE_HTML" = "x1" ; then
51550 COND_MONOLITHIC_0_USE_HTML_1=""
51553 COND_MONOLITHIC_0_USE_MEDIA_1="#"
51554 if test "x$MONOLITHIC" = "x0" -a "x$USE_MEDIA" = "x1" ; then
51555 COND_MONOLITHIC_0_USE_MEDIA_1=""
51558 COND_MONOLITHIC_0_USE_ODBC_1="#"
51559 if test "x$MONOLITHIC" = "x0" -a "x$USE_ODBC" = "x1" ; then
51560 COND_MONOLITHIC_0_USE_ODBC_1=""
51563 COND_MONOLITHIC_0_USE_QA_1="#"
51564 if test "x$MONOLITHIC" = "x0" -a "x$USE_QA" = "x1" ; then
51565 COND_MONOLITHIC_0_USE_QA_1=""
51568 COND_MONOLITHIC_0_USE_RICHTEXT_1="#"
51569 if test "x$MONOLITHIC" = "x0" -a "x$USE_RICHTEXT" = "x1" ; then
51570 COND_MONOLITHIC_0_USE_RICHTEXT_1=""
51573 COND_MONOLITHIC_0_USE_STC_1="#"
51574 if test "x$MONOLITHIC" = "x0" -a "x$USE_STC" = "x1" ; then
51575 COND_MONOLITHIC_0_USE_STC_1=""
51578 COND_MONOLITHIC_0_USE_XRC_1="#"
51579 if test "x$MONOLITHIC" = "x0" -a "x$USE_XRC" = "x1" ; then
51580 COND_MONOLITHIC_0_USE_XRC_1=""
51583 COND_MONOLITHIC_1="#"
51584 if test "x$MONOLITHIC" = "x1" ; then
51585 COND_MONOLITHIC_1=""
51588 COND_MONOLITHIC_1_SHARED_0="#"
51589 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x0" ; then
51590 COND_MONOLITHIC_1_SHARED_0=""
51593 COND_MONOLITHIC_1_SHARED_1="#"
51594 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x1" ; then
51595 COND_MONOLITHIC_1_SHARED_1=""
51598 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1="#"
51599 if test "x$OFFICIAL_BUILD" = "x0" -a "x$PLATFORM_WIN32" = "x1" ; then
51600 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1=""
51603 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1="#"
51604 if test "x$OFFICIAL_BUILD" = "x1" -a "x$PLATFORM_WIN32" = "x1" ; then
51605 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1=""
51608 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1="#"
51609 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERCYGWIN" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
51610 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1=""
51613 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1="#"
51614 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
51615 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1=""
51618 COND_PLATFORM_MACOSX_1="#"
51619 if test "x$PLATFORM_MACOSX" = "x1" ; then
51620 COND_PLATFORM_MACOSX_1=""
51623 COND_PLATFORM_MACOSX_1_TOOLKIT_="#"
51624 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "x" ; then
51625 COND_PLATFORM_MACOSX_1_TOOLKIT_=""
51628 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA="#"
51629 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xCOCOA" ; then
51630 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA=""
51633 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK="#"
51634 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xGTK" ; then
51635 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK=""
51638 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC="#"
51639 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMAC" ; then
51640 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC=""
51643 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1="#"
51644 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" ; then
51645 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1=""
51648 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF="#"
51649 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMOTIF" ; then
51650 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF=""
51653 COND_PLATFORM_MACOSX_1_TOOLKIT_X11="#"
51654 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xX11" ; then
51655 COND_PLATFORM_MACOSX_1_TOOLKIT_X11=""
51658 COND_PLATFORM_MACOSX_1_USE_GUI_1="#"
51659 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_GUI" = "x1" ; then
51660 COND_PLATFORM_MACOSX_1_USE_GUI_1=""
51663 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1="#"
51664 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
51665 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1=""
51668 COND_PLATFORM_MACOS_1="#"
51669 if test "x$PLATFORM_MACOS" = "x1" ; then
51670 COND_PLATFORM_MACOS_1=""
51673 COND_PLATFORM_MAC_1="#"
51674 if test "x$PLATFORM_MAC" = "x1" ; then
51675 COND_PLATFORM_MAC_1=""
51678 COND_PLATFORM_MSDOS_0="#"
51679 if test "x$PLATFORM_MSDOS" = "x0" ; then
51680 COND_PLATFORM_MSDOS_0=""
51683 COND_PLATFORM_MSDOS_1="#"
51684 if test "x$PLATFORM_MSDOS" = "x1" ; then
51685 COND_PLATFORM_MSDOS_1=""
51688 COND_PLATFORM_OS2_1="#"
51689 if test "x$PLATFORM_OS2" = "x1" ; then
51690 COND_PLATFORM_OS2_1=""
51693 COND_PLATFORM_UNIX_0="#"
51694 if test "x$PLATFORM_UNIX" = "x0" ; then
51695 COND_PLATFORM_UNIX_0=""
51698 COND_PLATFORM_UNIX_1="#"
51699 if test "x$PLATFORM_UNIX" = "x1" ; then
51700 COND_PLATFORM_UNIX_1=""
51703 COND_PLATFORM_UNIX_1_TOOLKIT_MGL="#"
51704 if test "x$PLATFORM_UNIX" = "x1" -a "x$TOOLKIT" = "xMGL" ; then
51705 COND_PLATFORM_UNIX_1_TOOLKIT_MGL=""
51708 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1="#"
51709 if test "x$PLATFORM_UNIX" = "x1" -a "x$TOOLKIT" = "xMGL" -a "x$USE_GUI" = "x1" ; then
51710 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1=""
51713 COND_PLATFORM_UNIX_1_USE_GUI_1="#"
51714 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_GUI" = "x1" ; then
51715 COND_PLATFORM_UNIX_1_USE_GUI_1=""
51718 COND_PLATFORM_UNIX_1_USE_PLUGINS_0="#"
51719 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_PLUGINS" = "x0" ; then
51720 COND_PLATFORM_UNIX_1_USE_PLUGINS_0=""
51723 COND_PLATFORM_WIN32_0="#"
51724 if test "x$PLATFORM_WIN32" = "x0" ; then
51725 COND_PLATFORM_WIN32_0=""
51728 COND_PLATFORM_WIN32_1="#"
51729 if test "x$PLATFORM_WIN32" = "x1" ; then
51730 COND_PLATFORM_WIN32_1=""
51734 if test "x$SHARED" = "x0" ; then
51738 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0="#"
51739 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMAC" -a "x$WXUNIV" = "x0" ; then
51740 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0=""
51743 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0="#"
51744 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
51745 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0=""
51748 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0="#"
51749 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xPM" -a "x$WXUNIV" = "x0" ; then
51750 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0=""
51753 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1="#"
51754 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
51755 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1=""
51758 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN="#"
51759 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
51760 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN=""
51763 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN="#"
51764 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
51765 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN=""
51768 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN="#"
51769 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
51770 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN=""
51773 COND_SHARED_0_USE_STC_1="#"
51774 if test "x$SHARED" = "x0" -a "x$USE_STC" = "x1" ; then
51775 COND_SHARED_0_USE_STC_1=""
51778 COND_SHARED_0_USE_XRC_1="#"
51779 if test "x$SHARED" = "x0" -a "x$USE_XRC" = "x1" ; then
51780 COND_SHARED_0_USE_XRC_1=""
51783 COND_SHARED_0_WXUSE_EXPAT_BUILTIN="#"
51784 if test "x$SHARED" = "x0" -a "x$wxUSE_EXPAT" = "xbuiltin" ; then
51785 COND_SHARED_0_WXUSE_EXPAT_BUILTIN=""
51788 COND_SHARED_0_WXUSE_ODBC_BUILTIN="#"
51789 if test "x$SHARED" = "x0" -a "x$wxUSE_ODBC" = "xbuiltin" ; then
51790 COND_SHARED_0_WXUSE_ODBC_BUILTIN=""
51793 COND_SHARED_0_WXUSE_REGEX_BUILTIN="#"
51794 if test "x$SHARED" = "x0" -a "x$wxUSE_REGEX" = "xbuiltin" ; then
51795 COND_SHARED_0_WXUSE_REGEX_BUILTIN=""
51798 COND_SHARED_0_WXUSE_ZLIB_BUILTIN="#"
51799 if test "x$SHARED" = "x0" -a "x$wxUSE_ZLIB" = "xbuiltin" ; then
51800 COND_SHARED_0_WXUSE_ZLIB_BUILTIN=""
51804 if test "x$SHARED" = "x1" ; then
51808 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1="#"
51809 if test "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
51810 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1=""
51813 COND_SHARED_1_USE_XRC_1="#"
51814 if test "x$SHARED" = "x1" -a "x$USE_XRC" = "x1" ; then
51815 COND_SHARED_1_USE_XRC_1=""
51819 if test "x$TOOLKIT" = "x" ; then
51823 COND_TOOLKIT_COCOA="#"
51824 if test "x$TOOLKIT" = "xCOCOA" ; then
51825 COND_TOOLKIT_COCOA=""
51828 COND_TOOLKIT_COCOA_USE_GUI_1="#"
51829 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" ; then
51830 COND_TOOLKIT_COCOA_USE_GUI_1=""
51833 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0="#"
51834 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
51835 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0=""
51838 COND_TOOLKIT_DFB="#"
51839 if test "x$TOOLKIT" = "xDFB" ; then
51840 COND_TOOLKIT_DFB=""
51843 COND_TOOLKIT_DFB_USE_GUI_1="#"
51844 if test "x$TOOLKIT" = "xDFB" -a "x$USE_GUI" = "x1" ; then
51845 COND_TOOLKIT_DFB_USE_GUI_1=""
51848 COND_TOOLKIT_GTK="#"
51849 if test "x$TOOLKIT" = "xGTK" ; then
51850 COND_TOOLKIT_GTK=""
51853 COND_TOOLKIT_GTK_TOOLKIT_VERSION_="#"
51854 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" ; then
51855 COND_TOOLKIT_GTK_TOOLKIT_VERSION_=""
51858 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2="#"
51859 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" ; then
51860 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2=""
51863 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1="#"
51864 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" ; then
51865 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1=""
51868 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0="#"
51869 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
51870 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0=""
51873 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1="#"
51874 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" -a "x$USE_GUI" = "x1" ; then
51875 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1=""
51878 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0="#"
51879 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
51880 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0=""
51883 COND_TOOLKIT_GTK_USE_GUI_1="#"
51884 if test "x$TOOLKIT" = "xGTK" -a "x$USE_GUI" = "x1" ; then
51885 COND_TOOLKIT_GTK_USE_GUI_1=""
51888 COND_TOOLKIT_MAC="#"
51889 if test "x$TOOLKIT" = "xMAC" ; then
51890 COND_TOOLKIT_MAC=""
51893 COND_TOOLKIT_MAC_USE_GUI_1="#"
51894 if test "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" ; then
51895 COND_TOOLKIT_MAC_USE_GUI_1=""
51898 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0="#"
51899 if test "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
51900 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0=""
51903 COND_TOOLKIT_MGL="#"
51904 if test "x$TOOLKIT" = "xMGL" ; then
51905 COND_TOOLKIT_MGL=""
51908 COND_TOOLKIT_MGL_USE_GUI_1="#"
51909 if test "x$TOOLKIT" = "xMGL" -a "x$USE_GUI" = "x1" ; then
51910 COND_TOOLKIT_MGL_USE_GUI_1=""
51913 COND_TOOLKIT_MOTIF="#"
51914 if test "x$TOOLKIT" = "xMOTIF" ; then
51915 COND_TOOLKIT_MOTIF=""
51918 COND_TOOLKIT_MOTIF_USE_GUI_1="#"
51919 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" ; then
51920 COND_TOOLKIT_MOTIF_USE_GUI_1=""
51923 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0="#"
51924 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
51925 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0=""
51928 COND_TOOLKIT_MSW="#"
51929 if test "x$TOOLKIT" = "xMSW" ; then
51930 COND_TOOLKIT_MSW=""
51933 COND_TOOLKIT_MSW_USE_GUI_1="#"
51934 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" ; then
51935 COND_TOOLKIT_MSW_USE_GUI_1=""
51938 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0="#"
51939 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
51940 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0=""
51943 COND_TOOLKIT_MSW_WXUNIV_0="#"
51944 if test "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
51945 COND_TOOLKIT_MSW_WXUNIV_0=""
51948 COND_TOOLKIT_PM="#"
51949 if test "x$TOOLKIT" = "xPM" ; then
51953 COND_TOOLKIT_PM_USE_GUI_1="#"
51954 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" ; then
51955 COND_TOOLKIT_PM_USE_GUI_1=""
51958 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0="#"
51959 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
51960 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0=""
51963 COND_TOOLKIT_WINCE="#"
51964 if test "x$TOOLKIT" = "xWINCE" ; then
51965 COND_TOOLKIT_WINCE=""
51968 COND_TOOLKIT_WINCE_USE_GUI_1="#"
51969 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" ; then
51970 COND_TOOLKIT_WINCE_USE_GUI_1=""
51973 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0="#"
51974 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
51975 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0=""
51978 COND_TOOLKIT_WINCE_WXUNIV_0="#"
51979 if test "x$TOOLKIT" = "xWINCE" -a "x$WXUNIV" = "x0" ; then
51980 COND_TOOLKIT_WINCE_WXUNIV_0=""
51983 COND_TOOLKIT_X11="#"
51984 if test "x$TOOLKIT" = "xX11" ; then
51985 COND_TOOLKIT_X11=""
51988 COND_TOOLKIT_X11_USE_GUI_1="#"
51989 if test "x$TOOLKIT" = "xX11" -a "x$USE_GUI" = "x1" ; then
51990 COND_TOOLKIT_X11_USE_GUI_1=""
51994 if test "x$UNICODE" = "x1" ; then
51998 COND_USE_EXCEPTIONS_0="#"
51999 if test "x$USE_EXCEPTIONS" = "x0" ; then
52000 COND_USE_EXCEPTIONS_0=""
52003 COND_USE_EXCEPTIONS_1="#"
52004 if test "x$USE_EXCEPTIONS" = "x1" ; then
52005 COND_USE_EXCEPTIONS_1=""
52009 if test "x$USE_GUI" = "x0" ; then
52014 if test "x$USE_GUI" = "x1" ; then
52018 COND_USE_GUI_1_USE_OPENGL_1="#"
52019 if test "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
52020 COND_USE_GUI_1_USE_OPENGL_1=""
52023 COND_USE_GUI_1_WXUNIV_0="#"
52024 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
52025 COND_USE_GUI_1_WXUNIV_0=""
52028 COND_USE_GUI_1_WXUNIV_1="#"
52029 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x1" ; then
52030 COND_USE_GUI_1_WXUNIV_1=""
52033 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN="#"
52034 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
52035 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN=""
52038 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN="#"
52039 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
52040 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN=""
52043 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN="#"
52044 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
52045 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN=""
52048 COND_USE_ODBC_1="#"
52049 if test "x$USE_ODBC" = "x1" ; then
52053 COND_USE_OPENGL_1="#"
52054 if test "x$USE_OPENGL" = "x1" ; then
52055 COND_USE_OPENGL_1=""
52059 if test "x$USE_PCH" = "x1" ; then
52063 COND_USE_PLUGINS_0="#"
52064 if test "x$USE_PLUGINS" = "x0" ; then
52065 COND_USE_PLUGINS_0=""
52068 COND_USE_RTTI_0="#"
52069 if test "x$USE_RTTI" = "x0" ; then
52073 COND_USE_RTTI_1="#"
52074 if test "x$USE_RTTI" = "x1" ; then
52078 COND_USE_SOSYMLINKS_1="#"
52079 if test "x$USE_SOSYMLINKS" = "x1" ; then
52080 COND_USE_SOSYMLINKS_1=""
52083 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1="#"
52084 if test "x$USE_SOVERCYGWIN" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
52085 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1=""
52088 COND_USE_SOVERLINUX_1="#"
52089 if test "x$USE_SOVERLINUX" = "x1" ; then
52090 COND_USE_SOVERLINUX_1=""
52093 COND_USE_SOVERSION_0="#"
52094 if test "x$USE_SOVERSION" = "x0" ; then
52095 COND_USE_SOVERSION_0=""
52098 COND_USE_SOVERSOLARIS_1="#"
52099 if test "x$USE_SOVERSOLARIS" = "x1" ; then
52100 COND_USE_SOVERSOLARIS_1=""
52104 if test "x$USE_STC" = "x1" ; then
52108 COND_USE_THREADS_0="#"
52109 if test "x$USE_THREADS" = "x0" ; then
52110 COND_USE_THREADS_0=""
52113 COND_USE_THREADS_1="#"
52114 if test "x$USE_THREADS" = "x1" ; then
52115 COND_USE_THREADS_1=""
52119 if test "x$USE_XRC" = "x1" ; then
52123 COND_WINDOWS_IMPLIB_1="#"
52124 if test "x$WINDOWS_IMPLIB" = "x1" ; then
52125 COND_WINDOWS_IMPLIB_1=""
52128 COND_WITH_PLUGIN_SDL_1="#"
52129 if test "x$WITH_PLUGIN_SDL" = "x1" ; then
52130 COND_WITH_PLUGIN_SDL_1=""
52134 if test "x$WXUNIV" = "x0" ; then
52139 if test "x$WXUNIV" = "x1" ; then
52143 COND_WXUSE_EXPAT_BUILTIN="#"
52144 if test "x$wxUSE_EXPAT" = "xbuiltin" ; then
52145 COND_WXUSE_EXPAT_BUILTIN=""
52148 COND_WXUSE_LIBJPEG_BUILTIN="#"
52149 if test "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
52150 COND_WXUSE_LIBJPEG_BUILTIN=""
52153 COND_WXUSE_LIBPNG_BUILTIN="#"
52154 if test "x$wxUSE_LIBPNG" = "xbuiltin" ; then
52155 COND_WXUSE_LIBPNG_BUILTIN=""
52158 COND_WXUSE_LIBTIFF_BUILTIN="#"
52159 if test "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
52160 COND_WXUSE_LIBTIFF_BUILTIN=""
52163 COND_WXUSE_ODBC_BUILTIN="#"
52164 if test "x$wxUSE_ODBC" = "xbuiltin" ; then
52165 COND_WXUSE_ODBC_BUILTIN=""
52168 COND_WXUSE_REGEX_BUILTIN="#"
52169 if test "x$wxUSE_REGEX" = "xbuiltin" ; then
52170 COND_WXUSE_REGEX_BUILTIN=""
52173 COND_WXUSE_ZLIB_BUILTIN="#"
52174 if test "x$wxUSE_ZLIB" = "xbuiltin" ; then
52175 COND_WXUSE_ZLIB_BUILTIN=""
52180 if test "$BAKEFILE_AUTOCONF_INC_M4_VERSION" = "" ; then
52181 { { 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
52182 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;}
52183 { (exit 1); exit 1; }; }
52186 if test "$BAKEFILE_BAKEFILE_M4_VERSION" != "$BAKEFILE_AUTOCONF_INC_M4_VERSION" ; then
52187 { { 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
52188 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;}
52189 { (exit 1); exit 1; }; }
52193 if test $GCC_PCH = 1
52195 if test "$wx_cv_gcc_pch_bug" = yes; then
52196 { echo "$as_me:$LINENO: WARNING: *** Precompiled header support is broken on this compiler" >&5
52197 echo "$as_me: WARNING: *** Precompiled header support is broken on this compiler" >&2;}
52198 { echo "$as_me:$LINENO: WARNING: *** --enable-precomp-headers is not recommended" >&5
52199 echo "$as_me: WARNING: *** --enable-precomp-headers is not recommended" >&2;}
52200 { echo "$as_me:$LINENO: WARNING: *** see http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13361" >&5
52201 echo "$as_me: WARNING: *** see http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13361" >&2;}
52204 CPPFLAGS="-DWX_PRECOMP $CPPFLAGS"
52208 if test "$wxUSE_MAC" = 1 ; then
52209 if test "x$wxUSE_UNIVERSAL_BINARY" != "xno" ; then
52210 sed "s/DEPSMODE=gcc/DEPSMODE=none/" < bk-deps > temp
52216 if test "$wxUSE_SHARED" = "yes"; then
52218 sanitised_bakefile_mess=`echo "$SHARED_LD_CXX" | tr -d '()'`
52219 EXE_LINKER=`eval echo "$sanitised_bakefile_mess"`
52222 *-pc-os2_emx | *-pc-os2-emx )
52223 SHARED_LD_CC="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
52224 SHARED_LD_CXX="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
52225 cp -p ${srcdir}/src/os2/dllnames.sh .
52226 cp -p ${srcdir}/src/os2/dllar.sh .
52231 EXE_LINKER="$CXX -o"
52234 if test "$wxUSE_OMF" = "yes"; then
52236 *-pc-os2_emx | *-pc-os2-emx )
52237 LDFLAGS="$LDFLAGS -Zlinker /EXEPACK"
52238 LDFLAGS_GUI="-Zlinker /PMTYPE:PM"
52239 WXCONFIG_LDFLAGS_GUI="-Zlinker /PMTYPE:PM"
52244 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS $TOOLCHAIN_DEFS"
52249 if "$GCC" = yes; then
52250 CPPFLAGS=`echo $CPPFLAGS | sed 's/-mt//'`
52251 LIBS=`echo $LIBS | sed 's/-mt//'`
52252 EXTRALIBS_GUI=`echo $EXTRALIBS_GUI | sed 's/-mt//'`
52257 if test "x$SUNCXX" = xyes; then
52258 CPPFLAGS=`echo $CPPFLAGS | sed 's/-pthread//'`
52259 LIBS=`echo $LIBS | sed 's/-pthread//'`
52260 EXTRALIBS_GUI=`echo $EXTRALIBS_GUI | sed 's/-pthread//'`
52265 CFLAGS="$CFLAGS $CFLAGS_VISIBILITY"
52266 CXXFLAGS="$CXXFLAGS $CXXFLAGS_VISIBILITY"
52268 SAMPLES_SUBDIRS="`echo $SAMPLES_SUBDIRS | tr -s ' ' | tr ' ' '\n' | sort | uniq | tr '\n' ' '| tr -d '\r'`"
52330 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
52331 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
52332 set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
52333 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
52334 echo $ECHO_N "(cached) $ECHO_C" >&6
52336 cat >conftest.make <<\_ACEOF
52339 @echo '@@@%%%=$(MAKE)=@@@%%%'
52341 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
52342 case `${MAKE-make} -f conftest.
make 2>/dev
/null
` in
52343 *@@@%%%=?*=@@@%%%*)
52344 eval ac_cv_prog_make_${ac_make}_set=yes;;
52346 eval ac_cv_prog_make_${ac_make}_set=no;;
52348 rm -f conftest.make
52350 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
52351 { echo "$as_me:$LINENO: result: yes" >&5
52352 echo "${ECHO_T}yes" >&6; }
52355 { echo "$as_me:$LINENO: result: no" >&5
52356 echo "${ECHO_T}no" >&6; }
52357 SET_MAKE="MAKE=${MAKE-make}"
52362 ac_config_headers="$ac_config_headers lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in"
52365 if test "$USE_WIN32" = 1; then
52366 ac_config_commands="$ac_config_commands
52372 ac_config_files="$ac_config_files lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in"
52375 ac_config_files="$ac_config_files lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in"
52378 if test "$wx_cv_version_script" = "yes"; then
52379 ac_config_files="$ac_config_files version-script"
52382 ac_config_files="$ac_config_files Makefile"
52385 ac_config_commands="$ac_config_commands wx-config"
52389 if test "$wxWITH_SUBDIRS" != "no"; then
52390 if test "$wxUSE_GUI" = "yes"; then
52391 SUBDIRS="samples demos utils"
52392 else SUBDIRS="samples utils"
52397 # Check whether --with-cppunit-prefix was given.
52398 if test "${with_cppunit_prefix+set}" = set; then
52399 withval=$with_cppunit_prefix; cppunit_config_prefix="$withval"
52401 cppunit_config_prefix=""
52405 # Check whether --with-cppunit-exec-prefix was given.
52406 if test "${with_cppunit_exec_prefix+set}" = set; then
52407 withval=$with_cppunit_exec_prefix; cppunit_config_exec_prefix="$withval"
52409 cppunit_config_exec_prefix=""
52413 if test x$cppunit_config_exec_prefix != x ; then
52414 cppunit_config_args="$cppunit_config_args --exec-prefix=$cppunit_config_exec_prefix"
52415 if test x${CPPUNIT_CONFIG+set} != xset ; then
52416 CPPUNIT_CONFIG=$cppunit_config_exec_prefix/bin/cppunit-config
52419 if test x$cppunit_config_prefix != x ; then
52420 cppunit_config_args="$cppunit_config_args --prefix=$cppunit_config_prefix"
52421 if test x${CPPUNIT_CONFIG+set} != xset ; then
52422 CPPUNIT_CONFIG=$cppunit_config_prefix/bin/cppunit-config
52426 # Extract the first word of "cppunit-config", so it can be a program name with args.
52427 set dummy cppunit-config; ac_word=$2
52428 { echo "$as_me:$LINENO: checking for $ac_word" >&5
52429 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
52430 if test "${ac_cv_path_CPPUNIT_CONFIG+set}" = set; then
52431 echo $ECHO_N "(cached) $ECHO_C" >&6
52433 case $CPPUNIT_CONFIG in
52435 ac_cv_path_CPPUNIT_CONFIG="$CPPUNIT_CONFIG" # Let the user override the test with a path.
52438 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
52439 for as_dir in $PATH
52442 test -z "$as_dir" && as_dir=.
52443 for ac_exec_ext in '' $ac_executable_extensions; do
52444 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
52445 ac_cv_path_CPPUNIT_CONFIG="$as_dir/$ac_word$ac_exec_ext"
52446 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
52453 test -z "$ac_cv_path_CPPUNIT_CONFIG" && ac_cv_path_CPPUNIT_CONFIG="no"
52457 CPPUNIT_CONFIG=$ac_cv_path_CPPUNIT_CONFIG
52458 if test -n "$CPPUNIT_CONFIG"; then
52459 { echo "$as_me:$LINENO: result: $CPPUNIT_CONFIG" >&5
52460 echo "${ECHO_T}$CPPUNIT_CONFIG" >&6; }
52462 { echo "$as_me:$LINENO: result: no" >&5
52463 echo "${ECHO_T}no" >&6; }
52467 cppunit_version_min=1.8.0
52469 { echo "$as_me:$LINENO: checking for Cppunit - version >= $cppunit_version_min" >&5
52470 echo $ECHO_N "checking for Cppunit - version >= $cppunit_version_min... $ECHO_C" >&6; }
52472 if test "$CPPUNIT_CONFIG" = "no" ; then
52473 { echo "$as_me:$LINENO: result: no" >&5
52474 echo "${ECHO_T}no" >&6; }
52477 CPPUNIT_CFLAGS=`$CPPUNIT_CONFIG --cflags`
52478 CPPUNIT_LIBS=`$CPPUNIT_CONFIG --libs`
52479 cppunit_version=`$CPPUNIT_CONFIG --version`
52481 cppunit_major_version=`echo $cppunit_version | \
52482 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
52483 cppunit_minor_version=`echo $cppunit_version | \
52484 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
52485 cppunit_micro_version=`echo $cppunit_version | \
52486 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
52488 cppunit_major_min=`echo $cppunit_version_min | \
52489 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
52490 cppunit_minor_min=`echo $cppunit_version_min | \
52491 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
52492 cppunit_micro_min=`echo $cppunit_version_min | \
52493 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
52495 cppunit_version_proper=`expr \
52496 $cppunit_major_version \
> $cppunit_major_min \
| \
52497 $cppunit_major_version \
= $cppunit_major_min \
& \
52498 $cppunit_minor_version \
> $cppunit_minor_min \
| \
52499 $cppunit_major_version \
= $cppunit_major_min \
& \
52500 $cppunit_minor_version \
= $cppunit_minor_min \
& \
52501 $cppunit_micro_version \
>= $cppunit_micro_min `
52503 if test "$cppunit_version_proper" = "1" ; then
52504 { echo "$as_me:$LINENO: result: $cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&5
52505 echo "${ECHO_T}$cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&6; }
52507 { echo "$as_me:$LINENO: result: no" >&5
52508 echo "${ECHO_T}no" >&6; }
52513 if test "x$no_cppunit" = x ; then
52514 SUBDIRS="$SUBDIRS tests"
52525 for subdir in `echo $SUBDIRS`; do
52526 if test -d ${srcdir}/${subdir} ; then
52527 if test "$wxUSE_GUI" = "yes"; then
52528 if test ${subdir} = "samples"; then
52529 makefiles="samples/Makefile.in $makefiles"
52530 for sample in `echo $SAMPLES_SUBDIRS`; do
52531 if test -d $srcdir/samples/$sample; then
52532 makefiles="samples/$sample/Makefile.in $makefiles"
52536 disabled_var=DISABLED_`echo $subdir | tr [a
-z] [A
-Z]`;
52537 eval "disabled=\$$disabled_var"
52538 disabled=/`echo X
$disabled | sed 's@ @/|/@g'`/
52539 makefiles=`(cd $srcdir ; find $subdir -name Makefile.
in) | $EGREP -v "$disabled"`
52541 else if test ${subdir} = "samples"; then
52542 makefiles="samples/Makefile.in samples/console/Makefile.in"
52543 elif test ${subdir} = "utils"; then
52545 for util in HelpGen tex2rtf ; do
52546 if test -d $srcdir/utils/$util ; then
52547 makefiles="utils/$util/Makefile.in \
52548 utils/$util/src/Makefile.in \
52552 else makefiles=`(cd $srcdir ; find $subdir -name Makefile.
in)`
52556 for mkin in $makefiles ; do
52557 mk=`echo $mkin | sed 's/Makefile\.in/Makefile/g'`
52558 ac_config_files="$ac_config_files $mk"
52564 cat >confcache <<\_ACEOF
52565 # This file is a shell script that caches the results of configure
52566 # tests run on this system so they can be shared between configure
52567 # scripts and configure runs, see configure's option --config-cache.
52568 # It is not useful on other systems. If it contains results you don't
52569 # want to keep, you may remove or edit it.
52571 # config.status only pays attention to the cache file if you give it
52572 # the --recheck option to rerun configure.
52574 # `ac_cv_env_foo
' variables (set or unset) will be overridden when
52575 # loading this file, other *unset* `ac_cv_foo' will be assigned the
52576 # following values.
52580 # The following way of writing the cache mishandles newlines in values,
52581 # but we know of no workaround that is simple, portable, and efficient.
52582 # So, we kill variables containing newlines.
52583 # Ultrix sh set writes to stderr and can't be redirected directly,
52584 # and sets the high bit in the cache file unless we assign to the vars.
52586 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
52587 eval ac_val
=\$
$ac_var
52591 *_cv_
*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
52592 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
52595 _
| IFS
| as_nl
) ;; #(
52596 *) $as_unset $ac_var ;;
52602 case $as_nl`(ac_space=' '; set) 2>&1` in #(
52603 *${as_nl}ac_space
=\
*)
52604 # `set' does not quote correctly, so add quotes (double-quote
52605 # substitution turns \\\\ into \\, and sed turns \\ into \).
52608 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
52611 # `set' quotes correctly as required by POSIX, so do not add quotes.
52612 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
52621 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
52623 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
52625 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
52626 if test -w "$cache_file"; then
52627 test "x$cache_file" != "x/dev/null" &&
52628 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
52629 echo "$as_me: updating cache $cache_file" >&6;}
52630 cat confcache
>$cache_file
52632 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
52633 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
52638 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
52639 # Let make expand exec_prefix.
52640 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
52642 DEFS
=-DHAVE_CONFIG_H
52646 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
52647 # 1. Remove the extension, and $U if already installed.
52648 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
52649 ac_i
=`echo "$ac_i" | sed "$ac_script"`
52650 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
52651 # will be set to the directory where LIBOBJS objects are built.
52652 ac_libobjs
="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
52653 ac_ltlibobjs
="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
52655 LIBOBJS
=$ac_libobjs
52657 LTLIBOBJS
=$ac_ltlibobjs
52661 : ${CONFIG_STATUS=./config.status}
52662 ac_clean_files_save
=$ac_clean_files
52663 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
52664 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
52665 echo "$as_me: creating $CONFIG_STATUS" >&6;}
52666 cat >$CONFIG_STATUS <<_ACEOF
52668 # Generated by $as_me.
52669 # Run this file to recreate the current configuration.
52670 # Compiler output produced by configure, useful for debugging
52671 # configure, is in config.log if it exists.
52674 ac_cs_recheck=false
52676 SHELL=\${CONFIG_SHELL-$SHELL}
52679 cat >>$CONFIG_STATUS <<\_ACEOF
52680 ## --------------------- ##
52681 ## M4sh Initialization. ##
52682 ## --------------------- ##
52684 # Be more Bourne compatible
52685 DUALCASE
=1; export DUALCASE
# for MKS sh
52686 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
52689 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
52690 # is contrary to our usage. Disable this feature.
52691 alias -g '${1+"$@"}'='"$@"'
52692 setopt NO_GLOB_SUBST
52694 case `(set -o) 2>/dev/null` in
52695 *posix
*) set -o posix
;;
52704 # Avoid depending upon Character Ranges.
52705 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
52706 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
52707 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
52708 as_cr_digits
='0123456789'
52709 as_cr_alnum
=$as_cr_Letters$as_cr_digits
52711 # The user is always right.
52712 if test "${PATH_SEPARATOR+set}" != set; then
52713 echo "#! /bin/sh" >conf$$.sh
52714 echo "exit 0" >>conf$$.sh
52716 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
52724 # Support unset when possible.
52725 if ( (MAIL
=60; unset MAIL
) || exit) >/dev
/null
2>&1; then
52733 # We need space, tab and new line, in precisely that order. Quoting is
52734 # there to prevent editors from complaining about space-tab.
52735 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
52736 # splitting by setting IFS to empty value.)
52741 # Find who we are. Look in the path if we contain no directory separator.
52743 *[\\/]* ) as_myself
=$0 ;;
52744 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
52745 for as_dir
in $PATH
52748 test -z "$as_dir" && as_dir
=.
52749 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
52755 # We did not find ourselves, most probably we were run as `sh COMMAND'
52756 # in which case we are not to be found in the path.
52757 if test "x$as_myself" = x
; then
52760 if test ! -f "$as_myself"; then
52761 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
52762 { (exit 1); exit 1; }
52765 # Work around bugs in pre-3.0 UWIN ksh.
52766 for as_var
in ENV MAIL MAILPATH
52767 do ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
52775 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
52776 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
52777 LC_TELEPHONE LC_TIME
52779 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
52780 eval $as_var=C
; export $as_var
52782 ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
52786 # Required to use basename.
52787 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
52788 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
52794 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
52795 as_basename
=basename
52801 # Name of the executable.
52802 as_me
=`$as_basename -- "$0" ||
52803 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
52804 X"$0" : 'X\(//\)$' \| \
52805 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
52807 sed '/^.*\/\([^/][^/]*\)\/*$/{
52826 as_lineno_1
=$LINENO
52827 as_lineno_2
=$LINENO
52828 test "x$as_lineno_1" != "x$as_lineno_2" &&
52829 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
52831 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
52832 # uniformly replaced by the line number. The first 'sed' inserts a
52833 # line-number line after each line using $LINENO; the second 'sed'
52834 # does the real work. The second script uses 'N' to pair each
52835 # line-number line with the line containing $LINENO, and appends
52836 # trailing '-' during substitution so that $LINENO is not a special
52837 # case at line end.
52838 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
52839 # scripts with optimization help from Paolo Bonzini. Blame Lee
52840 # E. McMahon (1931-1989) for sed's syntax. :-)
52852 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
52855 ' >$as_me.lineno
&&
52856 chmod +x
"$as_me.lineno" ||
52857 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
52858 { (exit 1); exit 1; }; }
52860 # Don't try to exec as it changes $[0], causing all sort of problems
52861 # (the dirname of $[0] is not the place where we might find the
52862 # original and so on. Autoconf is especially sensitive to this).
52863 .
"./$as_me.lineno"
52864 # Exit status is that of the last command.
52869 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
52875 ECHO_C
= ECHO_N
= ECHO_T
=
52876 case `echo -n x` in
52878 case `echo 'x\c'` in
52879 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
52886 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
52887 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
52893 rm -f conf$$ conf$$.exe conf$$.
file
52894 if test -d conf$$.dir
; then
52895 rm -f conf$$.dir
/conf$$.
file
52901 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
52903 # ... but there are two gotchas:
52904 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
52905 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
52906 # In both cases, we have to default to `cp -p'.
52907 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe
||
52909 elif ln conf$$.
file conf$$
2>/dev
/null
; then
52914 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
52915 rmdir conf$$.dir
2>/dev
/null
52917 if mkdir -p .
2>/dev
/null
; then
52920 test -d .
/-p && rmdir .
/-p
52924 if test -x / >/dev
/null
2>&1; then
52925 as_test_x
='test -x'
52927 if ls -dL / >/dev
/null
2>&1; then
52934 if test -d "$1"; then
52940 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
52941 ???[sx]*):;;*)false;;esac;fi
52945 as_executable_p
=$as_test_x
52947 # Sed expression to map a string onto a valid CPP name.
52948 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
52950 # Sed expression to map a string onto a valid variable name.
52951 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
52956 # Save the log message, to keep $[0] and so on meaningful, and to
52957 # report actual input values of CONFIG_FILES etc. instead of their
52958 # values after options handling.
52960 This file was extended by wxWidgets $as_me 2.9.0, which was
52961 generated by GNU Autoconf 2.61. Invocation command line was
52963 CONFIG_FILES = $CONFIG_FILES
52964 CONFIG_HEADERS = $CONFIG_HEADERS
52965 CONFIG_LINKS = $CONFIG_LINKS
52966 CONFIG_COMMANDS = $CONFIG_COMMANDS
52969 on `(hostname || uname -n) 2>/dev/null | sed 1q`
52974 cat >>$CONFIG_STATUS <<_ACEOF
52975 # Files that config.status was made for.
52976 config_files="$ac_config_files"
52977 config_headers="$ac_config_headers"
52978 config_commands="$ac_config_commands"
52982 cat >>$CONFIG_STATUS <<\_ACEOF
52984 \`$as_me' instantiates files from templates according to the
52985 current configuration.
52987 Usage: $0 [OPTIONS] [FILE]...
52989 -h, --help print this help, then exit
52990 -V, --version print version number and configuration settings, then exit
52991 -q, --quiet do not print progress messages
52992 -d, --debug don't remove temporary files
52993 --recheck update $as_me by reconfiguring in the same conditions
52994 --file=FILE[:TEMPLATE]
52995 instantiate the configuration file FILE
52996 --header=FILE[:TEMPLATE]
52997 instantiate the configuration header FILE
52999 Configuration files:
53002 Configuration headers:
53005 Configuration commands:
53008 Report bugs to <bug-autoconf@gnu.org>."
53011 cat >>$CONFIG_STATUS <<_ACEOF
53013 wxWidgets config.status 2.9.0
53014 configured by $0, generated by GNU Autoconf 2.61,
53015 with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
53017 Copyright (C) 2006 Free Software Foundation, Inc.
53018 This config.status script is free software; the Free Software Foundation
53019 gives unlimited permission to copy, distribute and modify it."
53026 cat >>$CONFIG_STATUS <<\_ACEOF
53027 # If no file are specified by the user, then we need to provide default
53028 # value. By we need to know if files were specified by the user.
53034 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
53035 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
53046 # Handling of the options.
53047 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
53049 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
53050 echo "$ac_cs_version"; exit ;;
53051 --debug | --debu | --deb | --de | --d | -d )
53053 --file | --fil | --fi | --f )
53055 CONFIG_FILES
="$CONFIG_FILES $ac_optarg"
53056 ac_need_defaults
=false
;;
53057 --header | --heade | --head | --hea )
53059 CONFIG_HEADERS
="$CONFIG_HEADERS $ac_optarg"
53060 ac_need_defaults
=false
;;
53062 # Conflict between --help and --header
53063 { echo "$as_me: error: ambiguous option: $1
53064 Try \`$0 --help' for more information." >&2
53065 { (exit 1); exit 1; }; };;
53066 --help | --hel | -h )
53067 echo "$ac_cs_usage"; exit ;;
53068 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
53069 | -silent | --silent | --silen | --sile | --sil | --si | --s)
53072 # This is an error.
53073 -*) { echo "$as_me: error: unrecognized option: $1
53074 Try \`$0 --help' for more information." >&2
53075 { (exit 1); exit 1; }; } ;;
53077 *) ac_config_targets
="$ac_config_targets $1"
53078 ac_need_defaults
=false
;;
53084 ac_configure_extra_args
=
53086 if $ac_cs_silent; then
53088 ac_configure_extra_args
="$ac_configure_extra_args --silent"
53092 cat >>$CONFIG_STATUS <<_ACEOF
53093 if \$ac_cs_recheck; then
53094 echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
53095 CONFIG_SHELL=$SHELL
53096 export CONFIG_SHELL
53097 exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
53101 cat >>$CONFIG_STATUS <<\_ACEOF
53105 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
53106 ## Running $as_me. ##
53112 cat >>$CONFIG_STATUS <<_ACEOF
53118 infile="$srcdir/include/wx/msw/genrcdefs.h"
53119 outdir="lib/wx/include/$TOOLCHAIN_FULLNAME/wx/msw"
53122 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
53123 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
53124 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
53130 cat >>$CONFIG_STATUS <<\_ACEOF
53132 # Handling of arguments.
53133 for ac_config_target
in $ac_config_targets
53135 case $ac_config_target in
53136 "lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h") CONFIG_HEADERS
="$CONFIG_HEADERS lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in" ;;
53137 "rcdefs.h") CONFIG_COMMANDS
="$CONFIG_COMMANDS rcdefs.h" ;;
53138 "lib/wx/config/${TOOLCHAIN_FULLNAME}") CONFIG_FILES
="$CONFIG_FILES lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in" ;;
53139 "lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}") CONFIG_FILES
="$CONFIG_FILES lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in" ;;
53140 "version-script") CONFIG_FILES
="$CONFIG_FILES version-script" ;;
53141 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
53142 "wx-config") CONFIG_COMMANDS
="$CONFIG_COMMANDS wx-config" ;;
53143 "$mk") CONFIG_FILES
="$CONFIG_FILES $mk" ;;
53145 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
53146 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
53147 { (exit 1); exit 1; }; };;
53152 # If the user did not use the arguments to specify the items to instantiate,
53153 # then the envvar interface is used. Set only those that are not.
53154 # We use the long form for the default assignment because of an extremely
53155 # bizarre bug on SunOS 4.1.3.
53156 if $ac_need_defaults; then
53157 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
53158 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
53159 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
53162 # Have a temporary directory for convenience. Make it in the build tree
53163 # simply because there is no reason against having it here, and in addition,
53164 # creating and moving files from /tmp can sometimes cause problems.
53165 # Hook for its removal unless debugging.
53166 # Note that there is a small window in which the directory will not be cleaned:
53167 # after its creation but before its name has been assigned to `$tmp'.
53171 trap 'exit_status=$?
53172 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
53174 trap '{ (exit 1); exit 1; }' 1 2 13 15
53176 # Create a (secure) tmp directory for tmp files.
53179 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
53180 test -n "$tmp" && test -d "$tmp"
53183 tmp
=.
/conf$$
-$RANDOM
53184 (umask 077 && mkdir "$tmp")
53187 echo "$me: cannot create a temporary directory in ." >&2
53188 { (exit 1); exit 1; }
53192 # Set up the sed scripts for CONFIG_FILES section.
53195 # No need to generate the scripts if there are no CONFIG_FILES.
53196 # This happens for instance when ./config.status config.h
53197 if test -n "$CONFIG_FILES"; then
53204 for ac_last_try
in false false false false false
:; do
53205 cat >conf$
$subs.
sed <<_ACEOF
53206 SHELL!$SHELL$ac_delim
53207 PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
53208 PACKAGE_NAME!$PACKAGE_NAME$ac_delim
53209 PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
53210 PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
53211 PACKAGE_STRING!$PACKAGE_STRING$ac_delim
53212 PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
53213 exec_prefix!$exec_prefix$ac_delim
53214 prefix!$prefix$ac_delim
53215 program_transform_name!$program_transform_name$ac_delim
53216 bindir!$bindir$ac_delim
53217 sbindir!$sbindir$ac_delim
53218 libexecdir!$libexecdir$ac_delim
53219 datarootdir!$datarootdir$ac_delim
53220 datadir!$datadir$ac_delim
53221 sysconfdir!$sysconfdir$ac_delim
53222 sharedstatedir!$sharedstatedir$ac_delim
53223 localstatedir!$localstatedir$ac_delim
53224 includedir!$includedir$ac_delim
53225 oldincludedir!$oldincludedir$ac_delim
53226 docdir!$docdir$ac_delim
53227 infodir!$infodir$ac_delim
53228 htmldir!$htmldir$ac_delim
53229 dvidir!$dvidir$ac_delim
53230 pdfdir!$pdfdir$ac_delim
53231 psdir!$psdir$ac_delim
53232 libdir!$libdir$ac_delim
53233 localedir!$localedir$ac_delim
53234 mandir!$mandir$ac_delim
53235 DEFS!$DEFS$ac_delim
53236 ECHO_C!$ECHO_C$ac_delim
53237 ECHO_N!$ECHO_N$ac_delim
53238 ECHO_T!$ECHO_T$ac_delim
53239 LIBS!$LIBS$ac_delim
53240 build_alias!$build_alias$ac_delim
53241 host_alias!$host_alias$ac_delim
53242 target_alias!$target_alias$ac_delim
53243 build!$build$ac_delim
53244 build_cpu!$build_cpu$ac_delim
53245 build_vendor!$build_vendor$ac_delim
53246 build_os!$build_os$ac_delim
53247 host!$host$ac_delim
53248 host_cpu!$host_cpu$ac_delim
53249 host_vendor!$host_vendor$ac_delim
53250 host_os!$host_os$ac_delim
53251 target!$target$ac_delim
53252 target_cpu!$target_cpu$ac_delim
53253 target_vendor!$target_vendor$ac_delim
53254 target_os!$target_os$ac_delim
53255 wx_top_builddir!$wx_top_builddir$ac_delim
53257 CFLAGS!$CFLAGS$ac_delim
53258 LDFLAGS!$LDFLAGS$ac_delim
53259 CPPFLAGS!$CPPFLAGS$ac_delim
53260 ac_ct_CC!$ac_ct_CC$ac_delim
53261 EXEEXT!$EXEEXT$ac_delim
53262 OBJEXT!$OBJEXT$ac_delim
53264 GREP!$GREP$ac_delim
53265 EGREP!$EGREP$ac_delim
53267 CXXFLAGS!$CXXFLAGS$ac_delim
53268 ac_ct_CXX!$ac_ct_CXX$ac_delim
53269 RANLIB!$RANLIB$ac_delim
53271 INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
53272 INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
53273 INSTALL_DATA!$INSTALL_DATA$ac_delim
53274 STRIP!$STRIP$ac_delim
53275 WINDRES!$WINDRES$ac_delim
53276 DLLTOOL!$DLLTOOL$ac_delim
53277 IF_GNU_MAKE!$IF_GNU_MAKE$ac_delim
53278 LN_S!$LN_S$ac_delim
53279 subdirs!$subdirs$ac_delim
53280 PKG_CONFIG!$PKG_CONFIG$ac_delim
53281 GTK_CFLAGS!$GTK_CFLAGS$ac_delim
53282 GTK_LIBS!$GTK_LIBS$ac_delim
53283 GTK_CONFIG!$GTK_CONFIG$ac_delim
53284 DIRECTFB_CFLAGS!$DIRECTFB_CFLAGS$ac_delim
53285 DIRECTFB_LIBS!$DIRECTFB_LIBS$ac_delim
53286 XMKMF!$XMKMF$ac_delim
53287 X_CFLAGS!$X_CFLAGS$ac_delim
53288 X_PRE_LIBS!$X_PRE_LIBS$ac_delim
53289 X_LIBS!$X_LIBS$ac_delim
53290 X_EXTRA_LIBS!$X_EXTRA_LIBS$ac_delim
53291 PANGOX_CFLAGS!$PANGOX_CFLAGS$ac_delim
53292 PANGOX_LIBS!$PANGOX_LIBS$ac_delim
53293 PANGOFT2_CFLAGS!$PANGOFT2_CFLAGS$ac_delim
53294 PANGOFT2_LIBS!$PANGOFT2_LIBS$ac_delim
53295 PANGOXFT_CFLAGS!$PANGOXFT_CFLAGS$ac_delim
53296 PANGOXFT_LIBS!$PANGOXFT_LIBS$ac_delim
53297 CFLAGS_VISIBILITY!$CFLAGS_VISIBILITY$ac_delim
53298 CXXFLAGS_VISIBILITY!$CXXFLAGS_VISIBILITY$ac_delim
53300 DEREZ!$DEREZ$ac_delim
53301 SETFILE!$SETFILE$ac_delim
53302 LIBICONV!$LIBICONV$ac_delim
53305 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
53307 elif $ac_last_try; then
53308 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
53309 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
53310 { (exit 1); exit 1; }; }
53312 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
53316 ac_eof
=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
53317 if test -n "$ac_eof"; then
53318 ac_eof
=`echo "$ac_eof" | sort -nru | sed 1q`
53319 ac_eof
=`expr $ac_eof + 1`
53322 cat >>$CONFIG_STATUS <<_ACEOF
53323 cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
53324 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
53327 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
53328 s/^/s,@/; s/!/@,|#_!!_#|/
53331 s/'"$ac_delim"'$/,g/; t
53333 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
53334 ' >>$CONFIG_STATUS <conf$
$subs.
sed
53335 rm -f conf$
$subs.
sed
53336 cat >>$CONFIG_STATUS <<_ACEOF
53342 for ac_last_try
in false false false false false
:; do
53343 cat >conf$
$subs.
sed <<_ACEOF
53344 SDL_CONFIG!$SDL_CONFIG$ac_delim
53345 SDL_CFLAGS!$SDL_CFLAGS$ac_delim
53346 SDL_LIBS!$SDL_LIBS$ac_delim
53347 LIBGNOMEPRINTUI_CFLAGS!$LIBGNOMEPRINTUI_CFLAGS$ac_delim
53348 LIBGNOMEPRINTUI_LIBS!$LIBGNOMEPRINTUI_LIBS$ac_delim
53349 GNOMEVFS_CFLAGS!$GNOMEVFS_CFLAGS$ac_delim
53350 GNOMEVFS_LIBS!$GNOMEVFS_LIBS$ac_delim
53351 HILDON_CFLAGS!$HILDON_CFLAGS$ac_delim
53352 HILDON_LIBS!$HILDON_LIBS$ac_delim
53353 CAIRO_CFLAGS!$CAIRO_CFLAGS$ac_delim
53354 CAIRO_LIBS!$CAIRO_LIBS$ac_delim
53355 GST_CFLAGS!$GST_CFLAGS$ac_delim
53356 GST_LIBS!$GST_LIBS$ac_delim
53357 ALL_WX_LIBS!$ALL_WX_LIBS$ac_delim
53358 BUILT_WX_LIBS!$BUILT_WX_LIBS$ac_delim
53359 STD_BASE_LIBS!$STD_BASE_LIBS$ac_delim
53360 STD_GUI_LIBS!$STD_GUI_LIBS$ac_delim
53361 wxUSE_ZLIB!$wxUSE_ZLIB$ac_delim
53362 wxUSE_REGEX!$wxUSE_REGEX$ac_delim
53363 wxUSE_EXPAT!$wxUSE_EXPAT$ac_delim
53364 wxUSE_ODBC!$wxUSE_ODBC$ac_delim
53365 wxUSE_LIBJPEG!$wxUSE_LIBJPEG$ac_delim
53366 wxUSE_LIBPNG!$wxUSE_LIBPNG$ac_delim
53367 wxUSE_LIBTIFF!$wxUSE_LIBTIFF$ac_delim
53368 VENDOR!$VENDOR$ac_delim
53369 OFFICIAL_BUILD!$OFFICIAL_BUILD$ac_delim
53370 WX_FLAVOUR!$WX_FLAVOUR$ac_delim
53371 WX_LIB_FLAVOUR!$WX_LIB_FLAVOUR$ac_delim
53372 WXUNIV!$WXUNIV$ac_delim
53373 MONOLITHIC!$MONOLITHIC$ac_delim
53374 USE_PLUGINS!$USE_PLUGINS$ac_delim
53375 CXXWARNINGS!$CXXWARNINGS$ac_delim
53376 EXTRALIBS!$EXTRALIBS$ac_delim
53377 EXTRALIBS_XML!$EXTRALIBS_XML$ac_delim
53378 EXTRALIBS_HTML!$EXTRALIBS_HTML$ac_delim
53379 EXTRALIBS_ODBC!$EXTRALIBS_ODBC$ac_delim
53380 EXTRALIBS_GUI!$EXTRALIBS_GUI$ac_delim
53381 EXTRALIBS_OPENGL!$EXTRALIBS_OPENGL$ac_delim
53382 EXTRALIBS_SDL!$EXTRALIBS_SDL$ac_delim
53383 WITH_PLUGIN_SDL!$WITH_PLUGIN_SDL$ac_delim
53384 EXTRALIBS_GNOMEPRINT!$EXTRALIBS_GNOMEPRINT$ac_delim
53385 EXTRALIBS_GNOMEVFS!$EXTRALIBS_GNOMEVFS$ac_delim
53386 EXTRALIBS_HILDON!$EXTRALIBS_HILDON$ac_delim
53387 UNICODE!$UNICODE$ac_delim
53388 BUILD!$BUILD$ac_delim
53389 DEBUG_INFO!$DEBUG_INFO$ac_delim
53390 DEBUG_FLAG!$DEBUG_FLAG$ac_delim
53391 TOOLKIT_LOWERCASE!$TOOLKIT_LOWERCASE$ac_delim
53392 TOOLKIT_VERSION!$TOOLKIT_VERSION$ac_delim
53393 SAMPLES_RPATH_FLAG!$SAMPLES_RPATH_FLAG$ac_delim
53394 SAMPLES_RPATH_POSTLINK!$SAMPLES_RPATH_POSTLINK$ac_delim
53395 HOST_SUFFIX!$HOST_SUFFIX$ac_delim
53396 CPPUNIT_CFLAGS!$CPPUNIT_CFLAGS$ac_delim
53397 CPPUNIT_LIBS!$CPPUNIT_LIBS$ac_delim
53398 SET_MAKE!$SET_MAKE$ac_delim
53399 MAKE_SET!$MAKE_SET$ac_delim
53400 AROPTIONS!$AROPTIONS$ac_delim
53402 INSTALL_DIR!$INSTALL_DIR$ac_delim
53403 LDFLAGS_GUI!$LDFLAGS_GUI$ac_delim
53404 PLATFORM_UNIX!$PLATFORM_UNIX$ac_delim
53405 PLATFORM_WIN32!$PLATFORM_WIN32$ac_delim
53406 PLATFORM_MSDOS!$PLATFORM_MSDOS$ac_delim
53407 PLATFORM_MAC!$PLATFORM_MAC$ac_delim
53408 PLATFORM_MACOS!$PLATFORM_MACOS$ac_delim
53409 PLATFORM_MACOSX!$PLATFORM_MACOSX$ac_delim
53410 PLATFORM_OS2!$PLATFORM_OS2$ac_delim
53411 PLATFORM_BEOS!$PLATFORM_BEOS$ac_delim
53412 SO_SUFFIX!$SO_SUFFIX$ac_delim
53413 SO_SUFFIX_MODULE!$SO_SUFFIX_MODULE$ac_delim
53414 DLLIMP_SUFFIX!$DLLIMP_SUFFIX$ac_delim
53415 LIBPREFIX!$LIBPREFIX$ac_delim
53416 LIBEXT!$LIBEXT$ac_delim
53417 DLLPREFIX!$DLLPREFIX$ac_delim
53418 DLLPREFIX_MODULE!$DLLPREFIX_MODULE$ac_delim
53419 dlldir!$dlldir$ac_delim
53420 AIX_CXX_LD!$AIX_CXX_LD$ac_delim
53421 SHARED_LD_CC!$SHARED_LD_CC$ac_delim
53422 SHARED_LD_CXX!$SHARED_LD_CXX$ac_delim
53423 SHARED_LD_MODULE_CC!$SHARED_LD_MODULE_CC$ac_delim
53424 SHARED_LD_MODULE_CXX!$SHARED_LD_MODULE_CXX$ac_delim
53425 PIC_FLAG!$PIC_FLAG$ac_delim
53426 WINDOWS_IMPLIB!$WINDOWS_IMPLIB$ac_delim
53427 USE_SOVERSION!$USE_SOVERSION$ac_delim
53428 USE_SOVERLINUX!$USE_SOVERLINUX$ac_delim
53429 USE_SOVERSOLARIS!$USE_SOVERSOLARIS$ac_delim
53430 USE_SOVERCYGWIN!$USE_SOVERCYGWIN$ac_delim
53431 USE_MACVERSION!$USE_MACVERSION$ac_delim
53432 USE_SOSYMLINKS!$USE_SOSYMLINKS$ac_delim
53433 SONAME_FLAG!$SONAME_FLAG$ac_delim
53434 DEPS_TRACKING!$DEPS_TRACKING$ac_delim
53435 BK_DEPS!$BK_DEPS$ac_delim
53436 GCC_PCH!$GCC_PCH$ac_delim
53437 ICC_PCH!$ICC_PCH$ac_delim
53438 BK_MAKE_PCH!$BK_MAKE_PCH$ac_delim
53439 COND_BUILD_DEBUG!$COND_BUILD_DEBUG$ac_delim
53440 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT!$COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT$ac_delim
53443 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
53445 elif $ac_last_try; then
53446 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
53447 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
53448 { (exit 1); exit 1; }; }
53450 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
53454 ac_eof
=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
53455 if test -n "$ac_eof"; then
53456 ac_eof
=`echo "$ac_eof" | sort -nru | sed 1q`
53457 ac_eof
=`expr $ac_eof + 1`
53460 cat >>$CONFIG_STATUS <<_ACEOF
53461 cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof
53462 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
53465 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
53466 s/^/s,@/; s/!/@,|#_!!_#|/
53469 s/'"$ac_delim"'$/,g/; t
53471 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
53472 ' >>$CONFIG_STATUS <conf$
$subs.
sed
53473 rm -f conf$
$subs.
sed
53474 cat >>$CONFIG_STATUS <<_ACEOF
53480 for ac_last_try
in false false false false false
:; do
53481 cat >conf$
$subs.
sed <<_ACEOF
53482 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT!$COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT$ac_delim
53483 COND_BUILD_DEBUG_UNICODE_0!$COND_BUILD_DEBUG_UNICODE_0$ac_delim
53484 COND_BUILD_DEBUG_UNICODE_1!$COND_BUILD_DEBUG_UNICODE_1$ac_delim
53485 COND_BUILD_RELEASE!$COND_BUILD_RELEASE$ac_delim
53486 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT!$COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT$ac_delim
53487 COND_BUILD_RELEASE_UNICODE_0!$COND_BUILD_RELEASE_UNICODE_0$ac_delim
53488 COND_BUILD_RELEASE_UNICODE_1!$COND_BUILD_RELEASE_UNICODE_1$ac_delim
53489 COND_DEBUG_FLAG_1!$COND_DEBUG_FLAG_1$ac_delim
53490 COND_DEBUG_INFO_0!$COND_DEBUG_INFO_0$ac_delim
53491 COND_DEBUG_INFO_1!$COND_DEBUG_INFO_1$ac_delim
53492 COND_DEPS_TRACKING_0!$COND_DEPS_TRACKING_0$ac_delim
53493 COND_DEPS_TRACKING_1!$COND_DEPS_TRACKING_1$ac_delim
53494 COND_GCC_PCH_1!$COND_GCC_PCH_1$ac_delim
53495 COND_ICC_PCH_1!$COND_ICC_PCH_1$ac_delim
53496 COND_MONOLITHIC_0!$COND_MONOLITHIC_0$ac_delim
53497 COND_MONOLITHIC_0_SHARED_0!$COND_MONOLITHIC_0_SHARED_0$ac_delim
53498 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1!$COND_MONOLITHIC_0_SHARED_0_USE_AUI_1$ac_delim
53499 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1$ac_delim
53500 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1$ac_delim
53501 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1$ac_delim
53502 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1$ac_delim
53503 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1$ac_delim
53504 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1!$COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1$ac_delim
53505 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1!$COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1$ac_delim
53506 COND_MONOLITHIC_0_SHARED_0_USE_STC_1!$COND_MONOLITHIC_0_SHARED_0_USE_STC_1$ac_delim
53507 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1!$COND_MONOLITHIC_0_SHARED_0_USE_XRC_1$ac_delim
53508 COND_MONOLITHIC_0_SHARED_1!$COND_MONOLITHIC_0_SHARED_1$ac_delim
53509 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1!$COND_MONOLITHIC_0_SHARED_1_USE_AUI_1$ac_delim
53510 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1$ac_delim
53511 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1$ac_delim
53512 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1$ac_delim
53513 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1$ac_delim
53514 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1$ac_delim
53515 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1!$COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1$ac_delim
53516 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1!$COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1$ac_delim
53517 COND_MONOLITHIC_0_SHARED_1_USE_STC_1!$COND_MONOLITHIC_0_SHARED_1_USE_STC_1$ac_delim
53518 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1!$COND_MONOLITHIC_0_SHARED_1_USE_XRC_1$ac_delim
53519 COND_MONOLITHIC_0_USE_AUI_1!$COND_MONOLITHIC_0_USE_AUI_1$ac_delim
53520 COND_MONOLITHIC_0_USE_GUI_1!$COND_MONOLITHIC_0_USE_GUI_1$ac_delim
53521 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1!$COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1$ac_delim
53522 COND_MONOLITHIC_0_USE_GUI_1_USE_ODBC_1!$COND_MONOLITHIC_0_USE_GUI_1_USE_ODBC_1$ac_delim
53523 COND_MONOLITHIC_0_USE_HTML_1!$COND_MONOLITHIC_0_USE_HTML_1$ac_delim
53524 COND_MONOLITHIC_0_USE_MEDIA_1!$COND_MONOLITHIC_0_USE_MEDIA_1$ac_delim
53525 COND_MONOLITHIC_0_USE_ODBC_1!$COND_MONOLITHIC_0_USE_ODBC_1$ac_delim
53526 COND_MONOLITHIC_0_USE_QA_1!$COND_MONOLITHIC_0_USE_QA_1$ac_delim
53527 COND_MONOLITHIC_0_USE_RICHTEXT_1!$COND_MONOLITHIC_0_USE_RICHTEXT_1$ac_delim
53528 COND_MONOLITHIC_0_USE_STC_1!$COND_MONOLITHIC_0_USE_STC_1$ac_delim
53529 COND_MONOLITHIC_0_USE_XRC_1!$COND_MONOLITHIC_0_USE_XRC_1$ac_delim
53530 COND_MONOLITHIC_1!$COND_MONOLITHIC_1$ac_delim
53531 COND_MONOLITHIC_1_SHARED_0!$COND_MONOLITHIC_1_SHARED_0$ac_delim
53532 COND_MONOLITHIC_1_SHARED_1!$COND_MONOLITHIC_1_SHARED_1$ac_delim
53533 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1!$COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1$ac_delim
53534 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1!$COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1$ac_delim
53535 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1!$COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1$ac_delim
53536 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1!$COND_PLATFORM_MACOSX_0_USE_SOVERSION_1$ac_delim
53537 COND_PLATFORM_MACOSX_1!$COND_PLATFORM_MACOSX_1$ac_delim
53538 COND_PLATFORM_MACOSX_1_TOOLKIT_!$COND_PLATFORM_MACOSX_1_TOOLKIT_$ac_delim
53539 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA!$COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA$ac_delim
53540 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK!$COND_PLATFORM_MACOSX_1_TOOLKIT_GTK$ac_delim
53541 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC!$COND_PLATFORM_MACOSX_1_TOOLKIT_MAC$ac_delim
53542 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1!$COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1$ac_delim
53543 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF!$COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF$ac_delim
53544 COND_PLATFORM_MACOSX_1_TOOLKIT_X11!$COND_PLATFORM_MACOSX_1_TOOLKIT_X11$ac_delim
53545 COND_PLATFORM_MACOSX_1_USE_GUI_1!$COND_PLATFORM_MACOSX_1_USE_GUI_1$ac_delim
53546 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1!$COND_PLATFORM_MACOSX_1_USE_SOVERSION_1$ac_delim
53547 COND_PLATFORM_MACOS_1!$COND_PLATFORM_MACOS_1$ac_delim
53548 COND_PLATFORM_MAC_1!$COND_PLATFORM_MAC_1$ac_delim
53549 COND_PLATFORM_MSDOS_0!$COND_PLATFORM_MSDOS_0$ac_delim
53550 COND_PLATFORM_MSDOS_1!$COND_PLATFORM_MSDOS_1$ac_delim
53551 COND_PLATFORM_OS2_1!$COND_PLATFORM_OS2_1$ac_delim
53552 COND_PLATFORM_UNIX_0!$COND_PLATFORM_UNIX_0$ac_delim
53553 COND_PLATFORM_UNIX_1!$COND_PLATFORM_UNIX_1$ac_delim
53554 COND_PLATFORM_UNIX_1_TOOLKIT_MGL!$COND_PLATFORM_UNIX_1_TOOLKIT_MGL$ac_delim
53555 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1!$COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1$ac_delim
53556 COND_PLATFORM_UNIX_1_USE_GUI_1!$COND_PLATFORM_UNIX_1_USE_GUI_1$ac_delim
53557 COND_PLATFORM_UNIX_1_USE_PLUGINS_0!$COND_PLATFORM_UNIX_1_USE_PLUGINS_0$ac_delim
53558 COND_PLATFORM_WIN32_0!$COND_PLATFORM_WIN32_0$ac_delim
53559 COND_PLATFORM_WIN32_1!$COND_PLATFORM_WIN32_1$ac_delim
53560 COND_SHARED_0!$COND_SHARED_0$ac_delim
53561 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0!$COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0$ac_delim
53562 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0!$COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0$ac_delim
53563 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0!$COND_SHARED_0_TOOLKIT_PM_WXUNIV_0$ac_delim
53564 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1!$COND_SHARED_0_USE_GUI_1_USE_OPENGL_1$ac_delim
53565 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN!$COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN$ac_delim
53566 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN!$COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN$ac_delim
53567 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN!$COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN$ac_delim
53568 COND_SHARED_0_USE_STC_1!$COND_SHARED_0_USE_STC_1$ac_delim
53569 COND_SHARED_0_USE_XRC_1!$COND_SHARED_0_USE_XRC_1$ac_delim
53570 COND_SHARED_0_WXUSE_EXPAT_BUILTIN!$COND_SHARED_0_WXUSE_EXPAT_BUILTIN$ac_delim
53571 COND_SHARED_0_WXUSE_ODBC_BUILTIN!$COND_SHARED_0_WXUSE_ODBC_BUILTIN$ac_delim
53572 COND_SHARED_0_WXUSE_REGEX_BUILTIN!$COND_SHARED_0_WXUSE_REGEX_BUILTIN$ac_delim
53573 COND_SHARED_0_WXUSE_ZLIB_BUILTIN!$COND_SHARED_0_WXUSE_ZLIB_BUILTIN$ac_delim
53574 COND_SHARED_1!$COND_SHARED_1$ac_delim
53575 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1!$COND_SHARED_1_USE_GUI_1_USE_OPENGL_1$ac_delim
53576 COND_SHARED_1_USE_XRC_1!$COND_SHARED_1_USE_XRC_1$ac_delim
53577 COND_TOOLKIT_!$COND_TOOLKIT_$ac_delim
53578 COND_TOOLKIT_COCOA!$COND_TOOLKIT_COCOA$ac_delim
53581 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
53583 elif $ac_last_try; then
53584 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
53585 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
53586 { (exit 1); exit 1; }; }
53588 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
53592 ac_eof
=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
53593 if test -n "$ac_eof"; then
53594 ac_eof
=`echo "$ac_eof" | sort -nru | sed 1q`
53595 ac_eof
=`expr $ac_eof + 1`
53598 cat >>$CONFIG_STATUS <<_ACEOF
53599 cat >"\$tmp/subs-3.sed" <<\CEOF$ac_eof
53600 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
53603 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
53604 s/^/s,@/; s/!/@,|#_!!_#|/
53607 s/'"$ac_delim"'$/,g/; t
53609 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
53610 ' >>$CONFIG_STATUS <conf$
$subs.
sed
53611 rm -f conf$
$subs.
sed
53612 cat >>$CONFIG_STATUS <<_ACEOF
53618 for ac_last_try
in false false false false false
:; do
53619 cat >conf$
$subs.
sed <<_ACEOF
53620 COND_TOOLKIT_COCOA_USE_GUI_1!$COND_TOOLKIT_COCOA_USE_GUI_1$ac_delim
53621 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0$ac_delim
53622 COND_TOOLKIT_DFB!$COND_TOOLKIT_DFB$ac_delim
53623 COND_TOOLKIT_DFB_USE_GUI_1!$COND_TOOLKIT_DFB_USE_GUI_1$ac_delim
53624 COND_TOOLKIT_GTK!$COND_TOOLKIT_GTK$ac_delim
53625 COND_TOOLKIT_GTK_TOOLKIT_VERSION_!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_$ac_delim
53626 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2$ac_delim
53627 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1$ac_delim
53628 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0$ac_delim
53629 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1!$COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1$ac_delim
53630 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0$ac_delim
53631 COND_TOOLKIT_GTK_USE_GUI_1!$COND_TOOLKIT_GTK_USE_GUI_1$ac_delim
53632 COND_TOOLKIT_MAC!$COND_TOOLKIT_MAC$ac_delim
53633 COND_TOOLKIT_MAC_USE_GUI_1!$COND_TOOLKIT_MAC_USE_GUI_1$ac_delim
53634 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0$ac_delim
53635 COND_TOOLKIT_MGL!$COND_TOOLKIT_MGL$ac_delim
53636 COND_TOOLKIT_MGL_USE_GUI_1!$COND_TOOLKIT_MGL_USE_GUI_1$ac_delim
53637 COND_TOOLKIT_MOTIF!$COND_TOOLKIT_MOTIF$ac_delim
53638 COND_TOOLKIT_MOTIF_USE_GUI_1!$COND_TOOLKIT_MOTIF_USE_GUI_1$ac_delim
53639 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0$ac_delim
53640 COND_TOOLKIT_MSW!$COND_TOOLKIT_MSW$ac_delim
53641 COND_TOOLKIT_MSW_USE_GUI_1!$COND_TOOLKIT_MSW_USE_GUI_1$ac_delim
53642 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0$ac_delim
53643 COND_TOOLKIT_MSW_WXUNIV_0!$COND_TOOLKIT_MSW_WXUNIV_0$ac_delim
53644 COND_TOOLKIT_PM!$COND_TOOLKIT_PM$ac_delim
53645 COND_TOOLKIT_PM_USE_GUI_1!$COND_TOOLKIT_PM_USE_GUI_1$ac_delim
53646 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0$ac_delim
53647 COND_TOOLKIT_WINCE!$COND_TOOLKIT_WINCE$ac_delim
53648 COND_TOOLKIT_WINCE_USE_GUI_1!$COND_TOOLKIT_WINCE_USE_GUI_1$ac_delim
53649 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0$ac_delim
53650 COND_TOOLKIT_WINCE_WXUNIV_0!$COND_TOOLKIT_WINCE_WXUNIV_0$ac_delim
53651 COND_TOOLKIT_X11!$COND_TOOLKIT_X11$ac_delim
53652 COND_TOOLKIT_X11_USE_GUI_1!$COND_TOOLKIT_X11_USE_GUI_1$ac_delim
53653 COND_UNICODE_1!$COND_UNICODE_1$ac_delim
53654 COND_USE_EXCEPTIONS_0!$COND_USE_EXCEPTIONS_0$ac_delim
53655 COND_USE_EXCEPTIONS_1!$COND_USE_EXCEPTIONS_1$ac_delim
53656 COND_USE_GUI_0!$COND_USE_GUI_0$ac_delim
53657 COND_USE_GUI_1!$COND_USE_GUI_1$ac_delim
53658 COND_USE_GUI_1_USE_OPENGL_1!$COND_USE_GUI_1_USE_OPENGL_1$ac_delim
53659 COND_USE_GUI_1_WXUNIV_0!$COND_USE_GUI_1_WXUNIV_0$ac_delim
53660 COND_USE_GUI_1_WXUNIV_1!$COND_USE_GUI_1_WXUNIV_1$ac_delim
53661 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN!$COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN$ac_delim
53662 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN!$COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN$ac_delim
53663 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN!$COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN$ac_delim
53664 COND_USE_ODBC_1!$COND_USE_ODBC_1$ac_delim
53665 COND_USE_OPENGL_1!$COND_USE_OPENGL_1$ac_delim
53666 COND_USE_PCH_1!$COND_USE_PCH_1$ac_delim
53667 COND_USE_PLUGINS_0!$COND_USE_PLUGINS_0$ac_delim
53668 COND_USE_RTTI_0!$COND_USE_RTTI_0$ac_delim
53669 COND_USE_RTTI_1!$COND_USE_RTTI_1$ac_delim
53670 COND_USE_SOSYMLINKS_1!$COND_USE_SOSYMLINKS_1$ac_delim
53671 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1!$COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1$ac_delim
53672 COND_USE_SOVERLINUX_1!$COND_USE_SOVERLINUX_1$ac_delim
53673 COND_USE_SOVERSION_0!$COND_USE_SOVERSION_0$ac_delim
53674 COND_USE_SOVERSOLARIS_1!$COND_USE_SOVERSOLARIS_1$ac_delim
53675 COND_USE_STC_1!$COND_USE_STC_1$ac_delim
53676 COND_USE_THREADS_0!$COND_USE_THREADS_0$ac_delim
53677 COND_USE_THREADS_1!$COND_USE_THREADS_1$ac_delim
53678 COND_USE_XRC_1!$COND_USE_XRC_1$ac_delim
53679 COND_WINDOWS_IMPLIB_1!$COND_WINDOWS_IMPLIB_1$ac_delim
53680 COND_WITH_PLUGIN_SDL_1!$COND_WITH_PLUGIN_SDL_1$ac_delim
53681 COND_WXUNIV_0!$COND_WXUNIV_0$ac_delim
53682 COND_WXUNIV_1!$COND_WXUNIV_1$ac_delim
53683 COND_WXUSE_EXPAT_BUILTIN!$COND_WXUSE_EXPAT_BUILTIN$ac_delim
53684 COND_WXUSE_LIBJPEG_BUILTIN!$COND_WXUSE_LIBJPEG_BUILTIN$ac_delim
53685 COND_WXUSE_LIBPNG_BUILTIN!$COND_WXUSE_LIBPNG_BUILTIN$ac_delim
53686 COND_WXUSE_LIBTIFF_BUILTIN!$COND_WXUSE_LIBTIFF_BUILTIN$ac_delim
53687 COND_WXUSE_ODBC_BUILTIN!$COND_WXUSE_ODBC_BUILTIN$ac_delim
53688 COND_WXUSE_REGEX_BUILTIN!$COND_WXUSE_REGEX_BUILTIN$ac_delim
53689 COND_WXUSE_ZLIB_BUILTIN!$COND_WXUSE_ZLIB_BUILTIN$ac_delim
53690 SHARED!$SHARED$ac_delim
53691 WX_LIBRARY_BASENAME_NOGUI!$WX_LIBRARY_BASENAME_NOGUI$ac_delim
53692 WX_LIBRARY_BASENAME_GUI!$WX_LIBRARY_BASENAME_GUI$ac_delim
53693 USE_GUI!$USE_GUI$ac_delim
53694 AFMINSTALL!$AFMINSTALL$ac_delim
53695 WIN32INSTALL!$WIN32INSTALL$ac_delim
53696 TOOLKIT!$TOOLKIT$ac_delim
53697 TOOLKIT_DIR!$TOOLKIT_DIR$ac_delim
53698 TOOLCHAIN_NAME!$TOOLCHAIN_NAME$ac_delim
53699 TOOLCHAIN_FULLNAME!$TOOLCHAIN_FULLNAME$ac_delim
53700 cross_compiling!$cross_compiling$ac_delim
53701 WIDGET_SET!$WIDGET_SET$ac_delim
53702 WX_RELEASE!$WX_RELEASE$ac_delim
53703 WX_VERSION!$WX_VERSION$ac_delim
53704 WX_SUBVERSION!$WX_SUBVERSION$ac_delim
53705 WX_CHARTYPE!$WX_CHARTYPE$ac_delim
53706 WX_DEBUGTYPE!$WX_DEBUGTYPE$ac_delim
53707 WXCONFIG_CPPFLAGS!$WXCONFIG_CPPFLAGS$ac_delim
53708 WXCONFIG_CFLAGS!$WXCONFIG_CFLAGS$ac_delim
53709 WXCONFIG_CXXFLAGS!$WXCONFIG_CXXFLAGS$ac_delim
53710 WXCONFIG_LIBS!$WXCONFIG_LIBS$ac_delim
53711 WXCONFIG_RPATH!$WXCONFIG_RPATH$ac_delim
53712 WXCONFIG_LDFLAGS_GUI!$WXCONFIG_LDFLAGS_GUI$ac_delim
53713 WXCONFIG_RESFLAGS!$WXCONFIG_RESFLAGS$ac_delim
53714 EXE_LINKER!$EXE_LINKER$ac_delim
53715 GUIDIST!$GUIDIST$ac_delim
53716 DISTDIR!$DISTDIR$ac_delim
53719 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
53721 elif $ac_last_try; then
53722 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
53723 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
53724 { (exit 1); exit 1; }; }
53726 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
53730 ac_eof
=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
53731 if test -n "$ac_eof"; then
53732 ac_eof
=`echo "$ac_eof" | sort -nru | sed 1q`
53733 ac_eof
=`expr $ac_eof + 1`
53736 cat >>$CONFIG_STATUS <<_ACEOF
53737 cat >"\$tmp/subs-4.sed" <<\CEOF$ac_eof
53738 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
53741 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
53742 s/^/s,@/; s/!/@,|#_!!_#|/
53745 s/'"$ac_delim"'$/,g/; t
53747 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
53748 ' >>$CONFIG_STATUS <conf$
$subs.
sed
53749 rm -f conf$
$subs.
sed
53750 cat >>$CONFIG_STATUS <<_ACEOF
53756 for ac_last_try
in false false false false false
:; do
53757 cat >conf$
$subs.
sed <<_ACEOF
53758 SAMPLES_SUBDIRS!$SAMPLES_SUBDIRS$ac_delim
53759 LDFLAGS_GL!$LDFLAGS_GL$ac_delim
53760 OPENGL_LIBS!$OPENGL_LIBS$ac_delim
53761 DMALLOC_LIBS!$DMALLOC_LIBS$ac_delim
53762 WX_VERSION_TAG!$WX_VERSION_TAG$ac_delim
53763 RESCOMP!$RESCOMP$ac_delim
53764 RESFLAGS!$RESFLAGS$ac_delim
53765 RESPROGRAMOBJ!$RESPROGRAMOBJ$ac_delim
53766 WX_RESOURCES_MACOSX_ASCII!$WX_RESOURCES_MACOSX_ASCII$ac_delim
53767 WX_RESOURCES_MACOSX_DATA!$WX_RESOURCES_MACOSX_DATA$ac_delim
53768 LIBWXMACRES!$LIBWXMACRES$ac_delim
53769 POSTLINK_COMMAND!$POSTLINK_COMMAND$ac_delim
53770 MACSETFILE!$MACSETFILE$ac_delim
53772 CPPUNIT_CONFIG!$CPPUNIT_CONFIG$ac_delim
53773 LIBOBJS!$LIBOBJS$ac_delim
53774 LTLIBOBJS!$LTLIBOBJS$ac_delim
53777 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 17; then
53779 elif $ac_last_try; then
53780 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
53781 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
53782 { (exit 1); exit 1; }; }
53784 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
53788 ac_eof
=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
53789 if test -n "$ac_eof"; then
53790 ac_eof
=`echo "$ac_eof" | sort -nru | sed 1q`
53791 ac_eof
=`expr $ac_eof + 1`
53794 cat >>$CONFIG_STATUS <<_ACEOF
53795 cat >"\$tmp/subs-5.sed" <<\CEOF$ac_eof
53796 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
53799 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
53800 s/^/s,@/; s/!/@,|#_!!_#|/
53803 s/'"$ac_delim"'$/,g/; t
53805 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
53806 ' >>$CONFIG_STATUS <conf$
$subs.
sed
53807 rm -f conf$
$subs.
sed
53808 cat >>$CONFIG_STATUS <<_ACEOF
53815 # VPATH may cause trouble with some makes, so we remove $(srcdir),
53816 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
53817 # trailing colons and then remove the whole line if VPATH becomes empty
53818 # (actually we leave an empty line to preserve line numbers).
53819 if test "x$srcdir" = x.
; then
53820 ac_vpsub
='/^[ ]*VPATH[ ]*=/{
53821 s/:*\$(srcdir):*/:/
53822 s/:*\${srcdir}:*/:/
53824 s/^\([^=]*=[ ]*\):*/\1/
53830 cat >>$CONFIG_STATUS <<\_ACEOF
53831 fi # test -n "$CONFIG_FILES"
53834 for ac_tag
in :F
$CONFIG_FILES :H
$CONFIG_HEADERS :C
$CONFIG_COMMANDS
53837 :[FHLC
]) ac_mode
=$ac_tag; continue;;
53839 case $ac_mode$ac_tag in
53841 :L
* | :C
*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
53842 echo "$as_me: error: Invalid tag $ac_tag." >&2;}
53843 { (exit 1); exit 1; }; };;
53844 :[FH
]-) ac_tag
=-:-;;
53845 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
53862 -) ac_f
="$tmp/stdin";;
53863 *) # Look for the file first in the build tree, then in the source tree
53864 # (if the path is not absolute). The absolute path cannot be DOS-style,
53865 # because $ac_f cannot contain `:'.
53869 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
53871 { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
53872 echo "$as_me: error: cannot find input file: $ac_f" >&2;}
53873 { (exit 1); exit 1; }; };;
53875 ac_file_inputs
="$ac_file_inputs $ac_f"
53878 # Let's still pretend it is `configure' which instantiates (i.e., don't
53879 # use $as_me), people would be surprised to read:
53880 # /* config.h. Generated by config.status. */
53881 configure_input
="Generated from "`IFS=:
53882 echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
53883 if test x
"$ac_file" != x
-; then
53884 configure_input
="$ac_file. $configure_input"
53885 { echo "$as_me:$LINENO: creating $ac_file" >&5
53886 echo "$as_me: creating $ac_file" >&6;}
53890 *:-:* | *:-) cat >"$tmp/stdin";;
53895 ac_dir
=`$as_dirname -- "$ac_file" ||
53896 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
53897 X"$ac_file" : 'X\(//\)[^/]' \| \
53898 X"$ac_file" : 'X\(//\)$' \| \
53899 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
53901 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
53905 /^X\(\/\/\)[^/].*/{
53920 -*) as_dir
=.
/$as_dir;;
53922 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
53926 *\'*) as_qdir
=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
53927 *) as_qdir
=$as_dir;;
53929 as_dirs
="'$as_qdir' $as_dirs"
53930 as_dir
=`$as_dirname -- "$as_dir" ||
53931 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
53932 X"$as_dir" : 'X\(//\)[^/]' \| \
53933 X"$as_dir" : 'X\(//\)$' \| \
53934 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
53936 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
53940 /^X\(\/\/\)[^/].*/{
53953 test -d "$as_dir" && break
53955 test -z "$as_dirs" || eval "mkdir $as_dirs"
53956 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
53957 echo "$as_me: error: cannot create directory $as_dir" >&2;}
53958 { (exit 1); exit 1; }; }; }
53962 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
53964 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
53965 # A ".." for each directory in $ac_dir_suffix.
53966 ac_top_builddir_sub
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
53967 case $ac_top_builddir_sub in
53968 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
53969 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
53972 ac_abs_top_builddir
=$ac_pwd
53973 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
53974 # for backward compatibility:
53975 ac_top_builddir
=$ac_top_build_prefix
53978 .
) # We are building in place.
53980 ac_top_srcdir
=$ac_top_builddir_sub
53981 ac_abs_top_srcdir
=$ac_pwd ;;
53982 [\\/]* | ?
:[\\/]* ) # Absolute name.
53983 ac_srcdir
=$srcdir$ac_dir_suffix;
53984 ac_top_srcdir
=$srcdir
53985 ac_abs_top_srcdir
=$srcdir ;;
53986 *) # Relative name.
53987 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
53988 ac_top_srcdir
=$ac_top_build_prefix$srcdir
53989 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
53991 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
54001 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
54002 *) ac_INSTALL
=$ac_top_build_prefix$INSTALL ;;
54006 cat >>$CONFIG_STATUS <<\_ACEOF
54007 # If the template does not know about datarootdir, expand it.
54008 # FIXME: This hack should be removed a few years after 2.60.
54009 ac_datarootdir_hack
=; ac_datarootdir_seen
=
54011 case `sed -n '/datarootdir/ {
54020 ' $ac_file_inputs` in
54021 *datarootdir
*) ac_datarootdir_seen
=yes;;
54022 *@datadir@
*|*@docdir@
*|*@infodir@
*|*@localedir@
*|*@mandir@
*)
54023 { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
54024 echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
54026 cat >>$CONFIG_STATUS <<_ACEOF
54027 ac_datarootdir_hack='
54028 s&@datadir@&$datadir&g
54029 s&@docdir@&$docdir&g
54030 s&@infodir@&$infodir&g
54031 s&@localedir@&$localedir&g
54032 s&@mandir@&$mandir&g
54033 s&\\\${datarootdir}&$datarootdir&g' ;;
54037 # Neutralize VPATH when `$srcdir' = `.'.
54038 # Shell code in configure.ac might set extrasub.
54039 # FIXME: do we really want to maintain this feature?
54040 cat >>$CONFIG_STATUS <<_ACEOF
54044 cat >>$CONFIG_STATUS <<\_ACEOF
54046 /@
[a
-zA-Z_][a
-zA-Z_0-9]*@
/!b
54047 s
&@configure_input@
&$configure_input&;t t
54048 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
54049 s
&@srcdir@
&$ac_srcdir&;t t
54050 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
54051 s
&@top_srcdir@
&$ac_top_srcdir&;t t
54052 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
54053 s
&@builddir@
&$ac_builddir&;t t
54054 s
&@abs_builddir@
&$ac_abs_builddir&;t t
54055 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
54056 s
&@INSTALL@
&$ac_INSTALL&;t t
54057 $ac_datarootdir_hack
54058 " $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
54060 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
54061 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out
"`; test -n "$ac_out"; } &&
54062 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out
"`; test -z "$ac_out"; } &&
54063 { echo "$as_me:$LINENO: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
54064 which seems to be undefined. Please make sure it is defined." >&5
54065 echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
54066 which seems to be undefined. Please make sure it is defined." >&2;}
54070 -) cat "$tmp/out"; rm -f "$tmp/out";;
54071 *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
54080 # Transform confdefs.h into a sed script `conftest.defines', that
54081 # substitutes the proper values into config.h.in to produce config.h.
54082 rm -f conftest.defines conftest.
tail
54083 # First, append a space to every undef/define line, to ease matching.
54084 echo 's/$/ /' >conftest.defines
54085 # Then, protect against being on the right side of a sed subst, or in
54086 # an unquoted here document, in config.status. If some macros were
54087 # called several times there might be several #defines for the same
54088 # symbol, which is useless. But do not sort them, since the last
54089 # AC_DEFINE must be honored.
54090 ac_word_re
=[_
$as_cr_Letters][_
$as_cr_alnum]*
54091 # These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
54092 # NAME is the cpp macro being defined, VALUE is the value it is being given.
54093 # PARAMS is the parameter list in the macro definition--in most cases, it's
54094 # just an empty string.
54095 ac_dA
='s,^\\([ #]*\\)[^ ]*\\([ ]*'
54096 ac_dB
='\\)[ (].*,\\1define\\2'
54104 s/^[ ]*#[ ]*define[ ][ ]*//
54109 s/^\('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
54110 s/^\('"$ac_word_re"'\)[ ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
54111 ' >>conftest.defines
54113 # Remove the space that was appended to ease matching.
54114 # Then replace #undef with comments. This is necessary, for
54115 # example, in the case of _POSIX_SOURCE, which is predefined and required
54116 # on some systems where configure will not decide to define it.
54117 # (The regexp can be short, since the line contains either #define or #undef.)
54119 s,^[ #]*u.*,/* & */,' >>conftest.defines
54121 # Break up conftest.defines:
54122 ac_max_sed_lines
=50
54124 # First sed command is: sed -f defines.sed $ac_file_inputs >"$tmp/out1"
54125 # Second one is: sed -f defines.sed "$tmp/out1" >"$tmp/out2"
54126 # Third one will be: sed -f defines.sed "$tmp/out2" >"$tmp/out1"
54128 ac_in
='$ac_file_inputs'
54129 ac_out
='"$tmp/out1"'
54130 ac_nxt
='"$tmp/out2"'
54134 # Write a here document:
54135 cat >>$CONFIG_STATUS <<_ACEOF
54136 # First, check the format of the line:
54137 cat >"\$tmp/defines.sed" <<\\CEOF
54138 /^[ ]*#[ ]*undef[ ][ ]*$ac_word_re[ ]*\$/b def
54139 /^[ ]*#[ ]*define[ ][ ]*$ac_word_re[( ]/b def
54143 sed ${ac_max_sed_lines}q conftest.defines
>>$CONFIG_STATUS
54145 sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
54146 ac_in
=$ac_out; ac_out
=$ac_nxt; ac_nxt
=$ac_in
54147 sed 1,${ac_max_sed_lines}d conftest.defines
>conftest.
tail
54148 grep . conftest.
tail >/dev
/null
|| break
54149 rm -f conftest.defines
54150 mv conftest.
tail conftest.defines
54152 rm -f conftest.defines conftest.
tail
54154 echo "ac_result=$ac_in" >>$CONFIG_STATUS
54155 cat >>$CONFIG_STATUS <<\_ACEOF
54156 if test x
"$ac_file" != x
-; then
54157 echo "/* $configure_input */" >"$tmp/config.h"
54158 cat "$ac_result" >>"$tmp/config.h"
54159 if diff $ac_file "$tmp/config.h" >/dev
/null
2>&1; then
54160 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
54161 echo "$as_me: $ac_file is unchanged" >&6;}
54164 mv "$tmp/config.h" $ac_file
54167 echo "/* $configure_input */"
54173 :C
) { echo "$as_me:$LINENO: executing $ac_file commands" >&5
54174 echo "$as_me: executing $ac_file commands" >&6;}
54179 case $ac_file$ac_mode in
54181 mkdir -p $outdir &&
54182 $CPP $infile | sed 's/^# *[1-9].*//;s/^ *//;/./,/^$/!d' > $outdir/rcdefs.h
54184 "lib/wx/config/${TOOLCHAIN_FULLNAME}":F
) chmod +x lib
/wx
/config
/${TOOLCHAIN_FULLNAME} ;;
54185 "lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}":F
) chmod +x lib
/wx
/config
/inplace
-${TOOLCHAIN_FULLNAME} ;;
54186 "wx-config":C
) rm -f wx
-config
54187 ${LN_S} lib
/wx
/config
/inplace
-${TOOLCHAIN_FULLNAME} wx
-config
54194 { (exit 0); exit 0; }
54196 chmod +x
$CONFIG_STATUS
54197 ac_clean_files
=$ac_clean_files_save
54200 # configure is writing to config.log, and then calls config.status.
54201 # config.status does its own redirection, appending to config.log.
54202 # Unfortunately, on DOS this fails, as config.log is still kept open
54203 # by configure, so config.status won't be able to write to it; its
54204 # output is simply discarded. So we exec the FD to /dev/null,
54205 # effectively closing config.log, so it can be properly (re)opened and
54206 # appended to by config.status. When coming back to configure, we
54207 # need to make the FD available again.
54208 if test "$no_create" != yes; then
54210 ac_config_status_args
=
54211 test "$silent" = yes &&
54212 ac_config_status_args
="$ac_config_status_args --quiet"
54214 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
54216 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
54217 # would make configure fail if this is the last instruction.
54218 $ac_cs_success || { (exit 1); exit 1; }
54222 # CONFIG_SUBDIRS section.
54224 if test "$no_recursion" != yes; then
54226 # Remove --cache-file and --srcdir arguments so they do not pile up.
54227 ac_sub_configure_args
=
54229 eval "set x $ac_configure_args"
54233 if test -n "$ac_prev"; then
54238 -cache-file | --cache-file | --cache-fil | --cache-fi \
54239 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
54240 ac_prev
=cache_file
;;
54241 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
54242 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \
54245 --config-cache | -C)
54247 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
54249 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
54251 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
54253 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
54257 *\'*) ac_arg
=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
54259 ac_sub_configure_args
="$ac_sub_configure_args '$ac_arg'" ;;
54263 # Always prepend --prefix to ensure using the same prefix
54264 # in subdir configurations.
54265 ac_arg
="--prefix=$prefix"
54267 *\'*) ac_arg
=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
54269 ac_sub_configure_args
="'$ac_arg' $ac_sub_configure_args"
54272 if test "$silent" = yes; then
54273 ac_sub_configure_args
="--silent $ac_sub_configure_args"
54277 for ac_dir
in : $subdirs; do test "x$ac_dir" = x
: && continue
54279 # Do not complain, so a configure script can configure whichever
54280 # parts of a large source tree are present.
54281 test -d "$srcdir/$ac_dir" || continue
54283 ac_msg
="=== configuring in $ac_dir (`pwd`/$ac_dir)"
54284 echo "$as_me:$LINENO: $ac_msg" >&5
54288 -*) as_dir
=.
/$as_dir;;
54290 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
54294 *\'*) as_qdir
=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
54295 *) as_qdir
=$as_dir;;
54297 as_dirs
="'$as_qdir' $as_dirs"
54298 as_dir
=`$as_dirname -- "$as_dir" ||
54299 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
54300 X"$as_dir" : 'X\(//\)[^/]' \| \
54301 X"$as_dir" : 'X\(//\)$' \| \
54302 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
54304 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
54308 /^X\(\/\/\)[^/].*/{
54321 test -d "$as_dir" && break
54323 test -z "$as_dirs" || eval "mkdir $as_dirs"
54324 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
54325 echo "$as_me: error: cannot create directory $as_dir" >&2;}
54326 { (exit 1); exit 1; }; }; }
54330 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
54332 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
54333 # A ".." for each directory in $ac_dir_suffix.
54334 ac_top_builddir_sub
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
54335 case $ac_top_builddir_sub in
54336 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
54337 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
54340 ac_abs_top_builddir
=$ac_pwd
54341 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
54342 # for backward compatibility:
54343 ac_top_builddir
=$ac_top_build_prefix
54346 .
) # We are building in place.
54348 ac_top_srcdir
=$ac_top_builddir_sub
54349 ac_abs_top_srcdir
=$ac_pwd ;;
54350 [\\/]* | ?
:[\\/]* ) # Absolute name.
54351 ac_srcdir
=$srcdir$ac_dir_suffix;
54352 ac_top_srcdir
=$srcdir
54353 ac_abs_top_srcdir
=$srcdir ;;
54354 *) # Relative name.
54355 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
54356 ac_top_srcdir
=$ac_top_build_prefix$srcdir
54357 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
54359 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
54364 # Check for guested configure; otherwise get Cygnus style configure.
54365 if test -f "$ac_srcdir/configure.gnu"; then
54366 ac_sub_configure
=$ac_srcdir/configure.gnu
54367 elif test -f "$ac_srcdir/configure"; then
54368 ac_sub_configure
=$ac_srcdir/configure
54369 elif test -f "$ac_srcdir/configure.in"; then
54370 # This should be Cygnus configure.
54371 ac_sub_configure
=$ac_aux_dir/configure
54373 { echo "$as_me:$LINENO: WARNING: no configuration information is in $ac_dir" >&5
54374 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
54378 # The recursion is here.
54379 if test -n "$ac_sub_configure"; then
54380 # Make the cache file name correct relative to the subdirectory.
54381 case $cache_file in
54382 [\\/]* | ?
:[\\/]* ) ac_sub_cache_file
=$cache_file ;;
54383 *) # Relative name.
54384 ac_sub_cache_file
=$ac_top_build_prefix$cache_file ;;
54387 { echo "$as_me:$LINENO: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
54388 echo "$as_me: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
54389 # The eval makes quoting arguments work.
54390 eval "\$SHELL \"\$ac_sub_configure\" $ac_sub_configure_args \
54391 --cache-file=\"\$ac_sub_cache_file\" --srcdir=\"\$ac_srcdir\"" ||
54392 { { echo "$as_me:$LINENO: error: $ac_sub_configure failed for $ac_dir" >&5
54393 echo "$as_me: error: $ac_sub_configure failed for $ac_dir" >&2;}
54394 { (exit 1); exit 1; }; }
54403 echo "Configured wxWidgets ${WX_VERSION} for \`${host}'"
54405 echo " Which GUI toolkit should wxWidgets use? ${TOOLKIT_DESC}"
54406 echo " Should wxWidgets be compiled into single library? ${wxUSE_MONOLITHIC:-yes}"
54408 echo " Should wxWidgets be compiled in debug mode? ${wxUSE_DEBUG:-no}"
54409 echo " Should wxWidgets be linked as a shared library? ${wxUSE_SHARED:-no}"
54410 echo -n " Should wxWidgets support Unicode? ${wxUSE_UNICODE:-no}"
54411 if test "$wxUSE_UNICODE" = "yes"; then
54412 if test "$wxUSE_UNICODE_UTF8" = "yes"; then
54413 echo " (using UTF-8)"
54415 echo " (using wchar_t)"
54421 echo " What level of wxWidgets compatibility should be enabled?"
54422 echo " wxWidgets 2.6 ${WXWIN_COMPATIBILITY_2_6:-no}"
54423 echo " wxWidgets 2.8 ${WXWIN_COMPATIBILITY_2_8:-yes}"
54425 echo " Which libraries should wxWidgets use?"
54426 echo " jpeg ${wxUSE_LIBJPEG-none}"
54427 echo " png ${wxUSE_LIBPNG-none}"
54428 echo " regex ${wxUSE_REGEX}"
54429 echo " tiff ${wxUSE_LIBTIFF-none}"
54430 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
54431 echo " xpm ${wxUSE_LIBXPM-none}"
54433 echo " zlib ${wxUSE_ZLIB}"
54434 echo " odbc ${wxUSE_ODBC}"
54435 echo " expat ${wxUSE_EXPAT}"
54436 echo " libmspack ${wxUSE_LIBMSPACK}"
54437 echo " sdl ${wxUSE_LIBSDL}"