2 # From configure.in Id: configure.in.
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
717 LIBGNOMEPRINTUI_CFLAGS
761 SAMPLES_RPATH_POSTLINK
807 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT
808 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT
809 COND_BUILD_DEBUG_UNICODE_0
810 COND_BUILD_DEBUG_UNICODE_1
812 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT
813 COND_BUILD_RELEASE_UNICODE_0
814 COND_BUILD_RELEASE_UNICODE_1
823 COND_MONOLITHIC_0_SHARED_0
824 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1
825 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1
826 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1
827 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1
828 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1
829 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1
830 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1
831 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1
832 COND_MONOLITHIC_0_SHARED_0_USE_STC_1
833 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1
834 COND_MONOLITHIC_0_SHARED_1
835 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1
836 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1
837 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1
838 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1
839 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1
840 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1
841 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1
842 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1
843 COND_MONOLITHIC_0_SHARED_1_USE_STC_1
844 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1
845 COND_MONOLITHIC_0_USE_AUI_1
846 COND_MONOLITHIC_0_USE_GUI_1
847 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1
848 COND_MONOLITHIC_0_USE_GUI_1_USE_ODBC_1
849 COND_MONOLITHIC_0_USE_HTML_1
850 COND_MONOLITHIC_0_USE_MEDIA_1
851 COND_MONOLITHIC_0_USE_ODBC_1
852 COND_MONOLITHIC_0_USE_QA_1
853 COND_MONOLITHIC_0_USE_RICHTEXT_1
854 COND_MONOLITHIC_0_USE_STC_1
855 COND_MONOLITHIC_0_USE_XRC_1
857 COND_MONOLITHIC_1_SHARED_0
858 COND_MONOLITHIC_1_SHARED_1
859 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1
860 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1
861 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1
862 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1
863 COND_PLATFORM_MACOSX_1
864 COND_PLATFORM_MACOSX_1_TOOLKIT_
865 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA
866 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK
867 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC
868 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1
869 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF
870 COND_PLATFORM_MACOSX_1_TOOLKIT_X11
871 COND_PLATFORM_MACOSX_1_USE_GUI_1
872 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1
873 COND_PLATFORM_MACOS_1
875 COND_PLATFORM_MSDOS_0
876 COND_PLATFORM_MSDOS_1
880 COND_PLATFORM_UNIX_1_TOOLKIT_MGL
881 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1
882 COND_PLATFORM_UNIX_1_USE_GUI_1
883 COND_PLATFORM_UNIX_1_USE_PLUGINS_0
884 COND_PLATFORM_WIN32_0
885 COND_PLATFORM_WIN32_1
887 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0
888 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0
889 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0
890 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1
891 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
892 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
893 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
894 COND_SHARED_0_USE_STC_1
895 COND_SHARED_0_USE_XRC_1
896 COND_SHARED_0_WXUSE_EXPAT_BUILTIN
897 COND_SHARED_0_WXUSE_ODBC_BUILTIN
898 COND_SHARED_0_WXUSE_REGEX_BUILTIN
899 COND_SHARED_0_WXUSE_ZLIB_BUILTIN
901 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1
902 COND_SHARED_1_USE_XRC_1
905 COND_TOOLKIT_COCOA_USE_GUI_1
906 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0
908 COND_TOOLKIT_DFB_USE_GUI_1
910 COND_TOOLKIT_GTK_TOOLKIT_VERSION_
911 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2
912 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1
913 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0
914 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1
915 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0
916 COND_TOOLKIT_GTK_USE_GUI_1
918 COND_TOOLKIT_MAC_USE_GUI_1
919 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0
921 COND_TOOLKIT_MGL_USE_GUI_1
923 COND_TOOLKIT_MOTIF_USE_GUI_1
924 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0
926 COND_TOOLKIT_MSW_USE_GUI_1
927 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0
928 COND_TOOLKIT_MSW_WXUNIV_0
930 COND_TOOLKIT_PM_USE_GUI_1
931 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0
933 COND_TOOLKIT_WINCE_USE_GUI_1
934 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0
935 COND_TOOLKIT_WINCE_WXUNIV_0
937 COND_TOOLKIT_X11_USE_GUI_1
939 COND_USE_EXCEPTIONS_0
940 COND_USE_EXCEPTIONS_1
943 COND_USE_GUI_1_WXUNIV_0
944 COND_USE_GUI_1_WXUNIV_1
945 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
946 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
947 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
954 COND_USE_SOSYMLINKS_1
955 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1
956 COND_USE_SOVERLINUX_1
958 COND_USE_SOVERSOLARIS_1
963 COND_WINDOWS_IMPLIB_1
964 COND_WITH_PLUGIN_SDL_1
967 COND_WXUSE_EXPAT_BUILTIN
968 COND_WXUSE_LIBJPEG_BUILTIN
969 COND_WXUSE_LIBPNG_BUILTIN
970 COND_WXUSE_LIBTIFF_BUILTIN
971 COND_WXUSE_ODBC_BUILTIN
972 COND_WXUSE_REGEX_BUILTIN
973 COND_WXUSE_ZLIB_BUILTIN
975 WX_LIBRARY_BASENAME_NOGUI
976 WX_LIBRARY_BASENAME_GUI
1009 WX_RESOURCES_MACOSX_ASCII
1010 WX_RESOURCES_MACOSX_DATA
1019 ac_precious_vars
='build_alias
1041 LIBGNOMEPRINTUI_CFLAGS
1042 LIBGNOMEPRINTUI_LIBS
1051 ac_subdirs_all
='src/expat'
1053 # Initialize some variables set by options.
1055 ac_init_version
=false
1056 # The variables have the same names as the options, with
1057 # dashes changed to underlines.
1058 cache_file
=/dev
/null
1065 program_transform_name
=s
,x
,x
,
1073 # Installation directory options.
1074 # These are left unexpanded so users can "make install exec_prefix=/foo"
1075 # and all the variables that are supposed to be based on exec_prefix
1076 # by default will actually change.
1077 # Use braces instead of parens because sh, perl, etc. also accept them.
1078 # (The list follows the same order as the GNU Coding Standards.)
1079 bindir
='${exec_prefix}/bin'
1080 sbindir
='${exec_prefix}/sbin'
1081 libexecdir
='${exec_prefix}/libexec'
1082 datarootdir
='${prefix}/share'
1083 datadir
='${datarootdir}'
1084 sysconfdir
='${prefix}/etc'
1085 sharedstatedir
='${prefix}/com'
1086 localstatedir
='${prefix}/var'
1087 includedir
='${prefix}/include'
1088 oldincludedir
='/usr/include'
1089 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
1090 infodir
='${datarootdir}/info'
1095 libdir
='${exec_prefix}/lib'
1096 localedir
='${datarootdir}/locale'
1097 mandir
='${datarootdir}/man'
1103 # If the previous option needs an argument, assign it.
1104 if test -n "$ac_prev"; then
1105 eval $ac_prev=\
$ac_option
1111 *=*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1115 # Accept the important Cygnus configure options, so we can diagnose typos.
1117 case $ac_dashdash$ac_option in
1121 -bindir | --bindir | --bindi | --bind | --bin | --bi)
1123 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1124 bindir
=$ac_optarg ;;
1126 -build | --build | --buil | --bui | --bu)
1127 ac_prev
=build_alias
;;
1128 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1129 build_alias
=$ac_optarg ;;
1131 -cache-file | --cache-file | --cache-fil | --cache-fi \
1132 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1133 ac_prev
=cache_file
;;
1134 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1135 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1136 cache_file
=$ac_optarg ;;
1138 --config-cache | -C)
1139 cache_file
=config.cache
;;
1141 -datadir | --datadir | --datadi | --datad)
1143 -datadir=* | --datadir=* | --datadi=* | --datad=*)
1144 datadir
=$ac_optarg ;;
1146 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1147 | --dataroo | --dataro | --datar)
1148 ac_prev
=datarootdir
;;
1149 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1150 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1151 datarootdir
=$ac_optarg ;;
1153 -disable-* | --disable-*)
1154 ac_feature
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1155 # Reject names that are not valid shell variable names.
1156 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1157 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
1158 { (exit 1); exit 1; }; }
1159 ac_feature
=`echo $ac_feature | sed 's/[-.]/_/g'`
1160 eval enable_
$ac_feature=no
;;
1162 -docdir | --docdir | --docdi | --doc | --do)
1164 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1165 docdir
=$ac_optarg ;;
1167 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1169 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1170 dvidir
=$ac_optarg ;;
1172 -enable-* | --enable-*)
1173 ac_feature
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1174 # Reject names that are not valid shell variable names.
1175 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1176 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
1177 { (exit 1); exit 1; }; }
1178 ac_feature
=`echo $ac_feature | sed 's/[-.]/_/g'`
1179 eval enable_
$ac_feature=\
$ac_optarg ;;
1181 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1182 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1183 | --exec | --exe | --ex)
1184 ac_prev
=exec_prefix
;;
1185 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1186 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1187 | --exec=* | --exe=* | --ex=*)
1188 exec_prefix
=$ac_optarg ;;
1190 -gas | --gas | --ga | --g)
1191 # Obsolete; use --with-gas.
1194 -help | --help | --hel | --he | -h)
1195 ac_init_help
=long
;;
1196 -help=r
* | --help=r
* | --hel=r
* | --he=r
* | -hr*)
1197 ac_init_help
=recursive
;;
1198 -help=s
* | --help=s
* | --hel=s
* | --he=s
* | -hs*)
1199 ac_init_help
=short
;;
1201 -host | --host | --hos | --ho)
1202 ac_prev
=host_alias
;;
1203 -host=* | --host=* | --hos=* | --ho=*)
1204 host_alias
=$ac_optarg ;;
1206 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1208 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1210 htmldir
=$ac_optarg ;;
1212 -includedir | --includedir | --includedi | --included | --include \
1213 | --includ | --inclu | --incl | --inc)
1214 ac_prev
=includedir
;;
1215 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1216 | --includ=* | --inclu=* | --incl=* | --inc=*)
1217 includedir
=$ac_optarg ;;
1219 -infodir | --infodir | --infodi | --infod | --info | --inf)
1221 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1222 infodir
=$ac_optarg ;;
1224 -libdir | --libdir | --libdi | --libd)
1226 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1227 libdir
=$ac_optarg ;;
1229 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1230 | --libexe | --libex | --libe)
1231 ac_prev
=libexecdir
;;
1232 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1233 | --libexe=* | --libex=* | --libe=*)
1234 libexecdir
=$ac_optarg ;;
1236 -localedir | --localedir | --localedi | --localed | --locale)
1237 ac_prev
=localedir
;;
1238 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1239 localedir
=$ac_optarg ;;
1241 -localstatedir | --localstatedir | --localstatedi | --localstated \
1242 | --localstate | --localstat | --localsta | --localst | --locals)
1243 ac_prev
=localstatedir
;;
1244 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1245 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1246 localstatedir
=$ac_optarg ;;
1248 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1250 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1251 mandir
=$ac_optarg ;;
1253 -nfp | --nfp | --nf)
1254 # Obsolete; use --without-fp.
1257 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1258 | --no-cr | --no-c | -n)
1261 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1262 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1265 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1266 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1267 | --oldin | --oldi | --old | --ol | --o)
1268 ac_prev
=oldincludedir
;;
1269 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1270 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1271 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1272 oldincludedir
=$ac_optarg ;;
1274 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1276 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1277 prefix
=$ac_optarg ;;
1279 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1280 | --program-pre | --program-pr | --program-p)
1281 ac_prev
=program_prefix
;;
1282 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1283 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1284 program_prefix
=$ac_optarg ;;
1286 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1287 | --program-suf | --program-su | --program-s)
1288 ac_prev
=program_suffix
;;
1289 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1290 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1291 program_suffix
=$ac_optarg ;;
1293 -program-transform-name | --program-transform-name \
1294 | --program-transform-nam | --program-transform-na \
1295 | --program-transform-n | --program-transform- \
1296 | --program-transform | --program-transfor \
1297 | --program-transfo | --program-transf \
1298 | --program-trans | --program-tran \
1299 | --progr-tra | --program-tr | --program-t)
1300 ac_prev
=program_transform_name
;;
1301 -program-transform-name=* | --program-transform-name=* \
1302 | --program-transform-nam=* | --program-transform-na=* \
1303 | --program-transform-n=* | --program-transform-=* \
1304 | --program-transform=* | --program-transfor=* \
1305 | --program-transfo=* | --program-transf=* \
1306 | --program-trans=* | --program-tran=* \
1307 | --progr-tra=* | --program-tr=* | --program-t=*)
1308 program_transform_name
=$ac_optarg ;;
1310 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1312 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1313 pdfdir
=$ac_optarg ;;
1315 -psdir | --psdir | --psdi | --psd | --ps)
1317 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1320 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1321 | -silent | --silent | --silen | --sile | --sil)
1324 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1326 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1328 sbindir
=$ac_optarg ;;
1330 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1331 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1332 | --sharedst | --shareds | --shared | --share | --shar \
1334 ac_prev
=sharedstatedir
;;
1335 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1336 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1337 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1339 sharedstatedir
=$ac_optarg ;;
1341 -site | --site | --sit)
1343 -site=* | --site=* | --sit=*)
1346 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1348 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1349 srcdir
=$ac_optarg ;;
1351 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1352 | --syscon | --sysco | --sysc | --sys | --sy)
1353 ac_prev
=sysconfdir
;;
1354 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1355 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1356 sysconfdir
=$ac_optarg ;;
1358 -target | --target | --targe | --targ | --tar | --ta | --t)
1359 ac_prev
=target_alias
;;
1360 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1361 target_alias
=$ac_optarg ;;
1363 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1366 -version | --version | --versio | --versi | --vers | -V)
1367 ac_init_version
=: ;;
1370 ac_package
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1371 # Reject names that are not valid shell variable names.
1372 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1373 { echo "$as_me: error: invalid package name: $ac_package" >&2
1374 { (exit 1); exit 1; }; }
1375 ac_package
=`echo $ac_package | sed 's/[-.]/_/g'`
1376 eval with_
$ac_package=\
$ac_optarg ;;
1378 -without-* | --without-*)
1379 ac_package
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1380 # Reject names that are not valid shell variable names.
1381 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1382 { echo "$as_me: error: invalid package name: $ac_package" >&2
1383 { (exit 1); exit 1; }; }
1384 ac_package
=`echo $ac_package | sed 's/[-.]/_/g'`
1385 eval with_
$ac_package=no
;;
1388 # Obsolete; use --with-x.
1391 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1392 | --x-incl | --x-inc | --x-in | --x-i)
1393 ac_prev
=x_includes
;;
1394 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1395 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1396 x_includes
=$ac_optarg ;;
1398 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1399 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1400 ac_prev
=x_libraries
;;
1401 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1402 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1403 x_libraries
=$ac_optarg ;;
1405 -*) { echo "$as_me: error: unrecognized option: $ac_option
1406 Try \`$0 --help' for more information." >&2
1407 { (exit 1); exit 1; }; }
1411 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1412 # Reject names that are not valid shell variable names.
1413 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev
/null
&&
1414 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1415 { (exit 1); exit 1; }; }
1416 eval $ac_envvar=\
$ac_optarg
1417 export $ac_envvar ;;
1420 # FIXME: should be removed in autoconf 3.0.
1421 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1422 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1423 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1424 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1430 if test -n "$ac_prev"; then
1431 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1432 { echo "$as_me: error: missing argument to $ac_option" >&2
1433 { (exit 1); exit 1; }; }
1436 # Be sure to have absolute directory names.
1437 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1438 datadir sysconfdir sharedstatedir localstatedir includedir \
1439 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1440 libdir localedir mandir
1442 eval ac_val
=\$
$ac_var
1444 [\\/$
]* | ?
:[\\/]* ) continue;;
1445 NONE
| '' ) case $ac_var in *prefix
) continue;; esac;;
1447 { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1448 { (exit 1); exit 1; }; }
1451 # There might be people who depend on the old broken behavior: `$host'
1452 # used to hold the argument of --host etc.
1453 # FIXME: To remove some day.
1456 target
=$target_alias
1458 # FIXME: To remove some day.
1459 if test "x$host_alias" != x
; then
1460 if test "x$build_alias" = x
; then
1461 cross_compiling
=maybe
1462 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1463 If a cross compiler is detected then cross compile mode will be used." >&2
1464 elif test "x$build_alias" != "x$host_alias"; then
1470 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1472 test "$silent" = yes && exec 6>/dev
/null
1475 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1476 ac_ls_di
=`ls -di .` &&
1477 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1478 { echo "$as_me: error: Working directory cannot be determined" >&2
1479 { (exit 1); exit 1; }; }
1480 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1481 { echo "$as_me: error: pwd does not report name of working directory" >&2
1482 { (exit 1); exit 1; }; }
1485 # Find the source files, if location was not specified.
1486 if test -z "$srcdir"; then
1487 ac_srcdir_defaulted
=yes
1488 # Try the directory containing this script, then the parent directory.
1489 ac_confdir
=`$as_dirname -- "$0" ||
1490 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1491 X"$0" : 'X\(//\)[^/]' \| \
1492 X"$0" : 'X\(//\)$' \| \
1493 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
1495 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1513 if test ! -r "$srcdir/$ac_unique_file"; then
1517 ac_srcdir_defaulted
=no
1519 if test ! -r "$srcdir/$ac_unique_file"; then
1520 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1521 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1522 { (exit 1); exit 1; }; }
1524 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1526 cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
1527 { (exit 1); exit 1; }; }
1529 # When building in place, set srcdir=.
1530 if test "$ac_abs_confdir" = "$ac_pwd"; then
1533 # Remove unnecessary trailing slashes from srcdir.
1534 # Double slashes in file names in object file debugging info
1535 # mess up M-x gdb in Emacs.
1537 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1539 for ac_var
in $ac_precious_vars; do
1540 eval ac_env_
${ac_var}_set
=\
${${ac_var}+set}
1541 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1542 eval ac_cv_env_
${ac_var}_set
=\
${${ac_var}+set}
1543 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1547 # Report the --help message.
1549 if test "$ac_init_help" = "long"; then
1550 # Omit some internal or obsolete options to make the list less imposing.
1551 # This message is too long to be a string in the A/UX 3.1 sh.
1553 \`configure' configures wxWidgets 2.9.0 to adapt to many kinds of systems.
1555 Usage: $0 [OPTION]... [VAR=VALUE]...
1557 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1558 VAR=VALUE. See below for descriptions of some of the useful variables.
1560 Defaults for the options are specified in brackets.
1563 -h, --help display this help and exit
1564 --help=short display options specific to this package
1565 --help=recursive display the short help of all the included packages
1566 -V, --version display version information and exit
1567 -q, --quiet, --silent do not print \`checking...' messages
1568 --cache-file=FILE cache test results in FILE [disabled]
1569 -C, --config-cache alias for \`--cache-file=config.cache'
1570 -n, --no-create do not create output files
1571 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1573 Installation directories:
1574 --prefix=PREFIX install architecture-independent files in PREFIX
1575 [$ac_default_prefix]
1576 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1579 By default, \`make install' will install all the files in
1580 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1581 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1582 for instance \`--prefix=\$HOME'.
1584 For better control, use the options below.
1586 Fine tuning of the installation directories:
1587 --bindir=DIR user executables [EPREFIX/bin]
1588 --sbindir=DIR system admin executables [EPREFIX/sbin]
1589 --libexecdir=DIR program executables [EPREFIX/libexec]
1590 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1591 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1592 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1593 --libdir=DIR object code libraries [EPREFIX/lib]
1594 --includedir=DIR C header files [PREFIX/include]
1595 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1596 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1597 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1598 --infodir=DIR info documentation [DATAROOTDIR/info]
1599 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1600 --mandir=DIR man documentation [DATAROOTDIR/man]
1601 --docdir=DIR documentation root [DATAROOTDIR/doc/wxwidgets]
1602 --htmldir=DIR html documentation [DOCDIR]
1603 --dvidir=DIR dvi documentation [DOCDIR]
1604 --pdfdir=DIR pdf documentation [DOCDIR]
1605 --psdir=DIR ps documentation [DOCDIR]
1611 --x-includes=DIR X include files are
in DIR
1612 --x-libraries=DIR X library files are
in DIR
1615 --build=BUILD configure
for building on BUILD
[guessed
]
1616 --host=HOST cross
-compile to build programs to run on HOST
[BUILD
]
1617 --target=TARGET configure
for building compilers
for TARGET
[HOST
]
1621 if test -n "$ac_init_help"; then
1622 case $ac_init_help in
1623 short
| recursive
) echo "Configuration of wxWidgets 2.9.0:";;
1628 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1629 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1630 --enable-gui use GUI classes
1631 --enable-monolithic build wxWidgets as single library
1632 --enable-plugins build parts of wxWidgets as loadable components
1633 --enable-universal use wxWidgets GUI controls instead of native ones
1634 --enable-nanox use NanoX
1635 --disable-gtk2 use GTK
+ 1.2 instead of
2.0
1636 --enable-gpe use GNOME PDA Environment features
if possible
1637 --enable-shared create shared library code
1638 --enable-optimise create optimised code
1639 --enable-debug same as debug_flag and debug_info
1640 --enable-stl use STL
for containers
1641 --enable-omf use OMF object format
1642 --enable-debug_flag set __WXDEBUG__ flag
(recommended
for developers
!)
1643 --enable-debug_info create code with debugging information
1644 --enable-debug_gdb create code with extra GDB debugging information
1645 --enable-debug_cntxt use wxDebugContext
1646 --enable-mem_tracing create code with memory tracing
1647 --enable-profile create code with profiling information
1648 --enable-no_rtti create code without RTTI information
1649 --enable-no_exceptions create code without C
++ exceptions handling
1650 --enable-permissive compile code disregarding strict ANSI
1651 --enable-no_deps create code without dependency information
1652 --disable-vararg_macros don
't use vararg macros, even if they are supported
1653 --enable-universal_binary[=SDK] create Mac PowerPC and Intel Universal binary (not yet working)
1654 --enable-compat26 enable wxWidgets 2.6 compatibility
1655 --disable-compat28 disable wxWidgets 2.8 compatibility
1656 --disable-rpath disable use of rpath for uninstalled builds
1657 --enable-intl use internationalization system
1658 --enable-config use wxConfig (and derived) classes
1659 --enable-protocols use wxProtocol and derived classes
1660 --enable-ftp use wxFTP (requires wxProtocol
1661 --enable-http use wxHTTP (requires wxProtocol
1662 --enable-fileproto use wxFileProto class (requires wxProtocol
1663 --enable-sockets use socket/network classes
1664 --enable-ole use OLE classes (Win32 only)
1665 --enable-dataobj use data object classes
1666 --enable-ipc use interprocess communication (wxSocket etc.)
1667 --enable-apple_ieee use the Apple IEEE codec
1668 --enable-arcstream use wxArchive streams
1669 --enable-backtrace use wxStackWalker class for getting backtraces
1670 --enable-catch_segvs catch signals in wxApp::OnFatalException (Unix only)
1671 --enable-cmdline use wxCmdLineParser class
1672 --enable-datetime use wxDateTime class
1673 --enable-debugreport use wxDebugReport class
1674 --enable-dialupman use dialup network classes
1675 --enable-dynlib use wxLibrary class for DLL loading
1676 --enable-dynamicloader use (new) wxDynamicLibrary class
1677 --enable-exceptions build exception-safe library
1678 --enable-ffile use wxFFile class
1679 --enable-file use wxFile class
1680 --enable-filesystem use virtual file systems classes
1681 --enable-fontmap use font encodings conversion classes
1682 --enable-fs_archive use virtual archive filesystems
1683 --enable-fs_inet use virtual HTTP/FTP filesystems
1684 --enable-fs_zip now replaced by fs_archive
1685 --enable-geometry use geometry class
1686 --enable-log use logging system
1687 --enable-longlong use wxLongLong class
1688 --enable-mimetype use wxMimeTypesManager
1689 --enable-mslu use MS Layer for Unicode on Windows 9x (Win32 only)
1690 --enable-snglinst use wxSingleInstanceChecker class
1691 --enable-std_iostreams use standard C++ stream classes
1692 --enable-std_string use standard C++ string classes
1693 --enable-stdpaths use wxStandardPaths class
1694 --enable-stopwatch use wxStopWatch class
1695 --enable-streams use wxStream etc classes
1696 --enable-sysoptions use wxSystemOptions
1697 --enable-tarstream use wxTar streams
1698 --enable-textbuf use wxTextBuffer class
1699 --enable-textfile use wxTextFile class
1700 --enable-timer use wxTimer class
1701 --enable-unicode compile wxString with Unicode support
1702 --enable-sound use wxSound class
1703 --enable-mediactrl use wxMediaCtrl class
1704 --enable-gstreamer8 force GStreamer 0.8 instead of 0.10 with the wxMediaCtrl class on unix
1705 --enable-printfposparam use wxVsnprintf() which supports positional parameters
1706 --enable-zipstream use wxZip streams
1707 --enable-url use wxURL class
1708 --enable-variant use wxVariant class
1709 --enable-protocol use wxProtocol class
1710 --enable-protocol-http HTTP support in wxProtocol
1711 --enable-protocol-ftp FTP support in wxProtocol
1712 --enable-protocol-file FILE support in wxProtocol
1713 --enable-threads use threads
1714 --enable-docview use document view architecture
1715 --enable-help use help subsystem
1716 --enable-mshtmlhelp use MS HTML Help (win32)
1717 --enable-html use wxHTML sub-library
1718 --enable-htmlhelp use wxHTML-based help
1719 --enable-xrc use XRC resources sub-library
1720 --enable-aui use AUI docking library
1721 --enable-stc use wxStyledTextCtrl library
1722 --enable-constraints use layout-constraints system
1723 --enable-printarch use printing architecture
1724 --enable-mdi use multiple document interface architecture
1725 --enable-mdidoc use docview architecture with MDI
1726 --enable-loggui use standard GUI logger
1727 --enable-logwin use wxLogWindow
1728 --enable-logdialog use wxLogDialog
1729 --enable-webkit use wxWebKitCtrl (Mac)
1730 --enable-richtext use wxRichTextCtrl
1731 --enable-graphics_ctx use graphics context 2D drawing API
1732 --enable-postscript use wxPostscriptDC device context (default for gtk+)
1733 --enable-clipboard use wxClipboard class
1734 --enable-dnd use Drag'n
'Drop classes
1735 --enable-metafile use win32 metafiles
1736 --enable-controls use all usual controls
1737 --enable-accel use accelerators
1738 --enable-animatectrl use wxAnimationCtrl class
1739 --enable-button use wxButton class
1740 --enable-bmpbutton use wxBitmapButton class
1741 --enable-bmpcombobox use wxBitmapComboBox class
1742 --enable-calendar use wxCalendarCtrl class
1743 --enable-caret use wxCaret class
1744 --enable-checkbox use wxCheckBox class
1745 --enable-checklst use wxCheckListBox (listbox with checkboxes) class
1746 --enable-choice use wxChoice class
1747 --enable-choicebook use wxChoicebook class
1748 --enable-collpane use wxCollapsiblePane class
1749 --enable-colourpicker use wxColourPickerCtrl class
1750 --enable-combobox use wxComboBox class
1751 --enable-comboctrl use wxComboCtrl class
1752 --enable-datepick use wxDatePickerCtrl class
1753 --enable-dirpicker use wxDirPickerCtrl class
1754 --enable-display use wxDisplay class
1755 --enable-detect_sm use code to detect X11 session manager
1756 --enable-filepicker use wxFilePickerCtrl class
1757 --enable-fontpicker use wxFontPickerCtrl class
1758 --enable-gauge use wxGauge class
1759 --enable-grid use wxGrid class
1760 --enable-dataviewctrl use wxDataViewCtrl class
1761 --enable-hyperlink use wxHyperlinkCtrl class
1762 --enable-imaglist use wxImageList class
1763 --enable-listbook use wxListbook class
1764 --enable-listbox use wxListBox class
1765 --enable-listctrl use wxListCtrl class
1766 --enable-notebook use wxNotebook class
1767 --enable-odcombobox use wxOwnerDrawnComboBox class
1768 --enable-radiobox use wxRadioBox class
1769 --enable-radiobtn use wxRadioButton class
1770 --enable-sash use wxSashWindow class
1771 --enable-scrollbar use wxScrollBar class and scrollable windows
1772 --enable-searchctrl use wxSearchCtrl class
1773 --enable-slider use wxSlider class
1774 --enable-spinbtn use wxSpinButton class
1775 --enable-spinctrl use wxSpinCtrl class
1776 --enable-splitter use wxSplitterWindow class
1777 --enable-statbmp use wxStaticBitmap class
1778 --enable-statbox use wxStaticBox class
1779 --enable-statline use wxStaticLine class
1780 --enable-stattext use wxStaticText class
1781 --enable-statusbar use wxStatusBar class
1782 --enable-tabdialog use wxTabControl class
1783 --enable-textctrl use wxTextCtrl class
1784 --enable-togglebtn use wxToggleButton class
1785 --enable-toolbar use wxToolBar class
1786 --enable-tbarnative use native wxToolBar class
1787 --enable-treebook use wxTreebook class
1788 --enable-toolbook use wxToolbook class
1789 --enable-treectrl use wxTreeCtrl class
1790 --enable-tipwindow use wxTipWindow class
1791 --enable-popupwin use wxPopUpWindow class
1792 --enable-commondlg use all common dialogs
1793 --enable-aboutdlg use wxAboutBox
1794 --enable-choicedlg use wxChoiceDialog
1795 --enable-coldlg use wxColourDialog
1796 --enable-filedlg use wxFileDialog
1797 --enable-finddlg use wxFindReplaceDialog
1798 --enable-fontdlg use wxFontDialog
1799 --enable-dirdlg use wxDirDialog
1800 --enable-msgdlg use wxMessageDialog
1801 --enable-numberdlg use wxNumberEntryDialog
1802 --enable-splash use wxSplashScreen
1803 --enable-textdlg use wxTextDialog
1804 --enable-tipdlg use startup tips
1805 --enable-progressdlg use wxProgressDialog
1806 --enable-wizarddlg use wxWizard
1807 --enable-menus use wxMenu/wxMenuBar/wxMenuItem classes
1808 --enable-miniframe use wxMiniFrame class
1809 --enable-tooltips use wxToolTip class
1810 --enable-splines use spline drawing code
1811 --enable-mousewheel use mousewheel
1812 --enable-validators use wxValidator and derived classes
1813 --enable-busyinfo use wxBusyInfo
1814 --enable-joystick use wxJoystick
1815 --enable-metafiles use wxMetaFile (Win32 only)
1816 --enable-dragimage use wxDragImage
1817 --enable-accessibility enable accessibility support
1818 --enable-dccache cache temporary wxDC objects (Win32 only)
1819 --enable-palette use wxPalette class
1820 --enable-image use wxImage class
1821 --enable-gif use gif images (GIF file format)
1822 --enable-pcx use pcx images (PCX file format)
1823 --enable-tga use tga images (TGA file format)
1824 --enable-iff use iff images (IFF file format)
1825 --enable-pnm use pnm images (PNM file format)
1826 --enable-xpm use xpm images (XPM file format)
1827 --enable-icocur use Windows ICO and CUR formats
1828 --enable-official_build official build of wxWidgets (win32 DLL only)
1829 --enable-vendor=VENDOR vendor name (win32 DLL only)
1830 --disable-largefile omit support for large files
1831 --disable-gtktest do not try to compile and run a test GTK+ program
1832 --disable-gtktest Do not try to compile and run a test GTK program
1833 --disable-sdltest Do not try to compile and run a test SDL program
1834 --enable-omf use OMF object format (OS/2)
1835 --disable-dependency-tracking
1836 don't use dependency tracking even
if the compiler
1838 --disable-precomp-headers
1839 don
't use precompiled headers even if compiler can
1842 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1843 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1844 --without-subdirs don't generate makefiles
for samples
/demos
/...
1845 --with-gtk[=VERSION
] use GTK
+, VERSION can be
2 (default
), 1 or
"any"
1846 --with-motif use Motif
/Lesstif
1847 --with-mac use Mac OS X
1848 --with-cocoa use Cocoa
1849 --with-wine use Wine
1850 --with-msw use MS
-Windows
1851 --with-pm use OS
/2 Presentation Manager
1852 --with-mgl use SciTech MGL
1853 --with-directfb use DirectFB
1854 --with-microwin use MicroWindows
1856 --with-libpng use libpng
(PNG image format
)
1857 --with-libjpeg use libjpeg
(JPEG
file format
)
1858 --with-libtiff use libtiff
(TIFF
file format
)
1859 --with-libxpm use libxpm
(XPM
file format
)
1860 --with-libmspack use libmspack
(CHM
help files loading
)
1861 --with-sdl use SDL
for audio on Unix
1862 --with-gnomeprint use GNOME print
for printing under GNOME
1863 --with-gnomevfs use GNOME VFS
for associating MIME types
1864 --with-hildon use Hildon framework
for Nokia
770
1865 --with-opengl use OpenGL
(or Mesa
)
1866 --with-themes=all
|list use only the specified comma
-separated list of wxUniversal themes
1867 --with-dmalloc use dmalloc library
(http
://dmalloc.com
/)
1868 --with-regex enable support
for wxRegEx class
1869 --with-zlib use zlib
for LZW compression
1870 --with-odbc use the IODBC and wxODBC classes
1871 --with-expat enable XML support using expat parser
1872 --with-flavour=NAME specify a name to identify this build
1873 --with-gtk-prefix=PFX Prefix where GTK is installed
(optional
)
1874 --with-gtk-exec-prefix=PFX Exec prefix where GTK is installed
(optional
)
1875 --with-x use the X Window System
1876 --with-libiconv-prefix=DIR search
for libiconv
in DIR
/include and DIR
/lib
1877 --with-sdl-prefix=PFX Prefix where SDL is installed
(optional
)
1878 --with-sdl-exec-prefix=PFX Exec prefix where SDL is installed
(optional
)
1879 --with-cppunit-prefix=PFX Prefix where CppUnit is installed
(optional
)
1880 --with-cppunit-exec-prefix=PFX Exec prefix where CppUnit is installed
(optional
)
1882 Some influential environment variables
:
1883 CC C compiler
command
1884 CFLAGS C compiler flags
1885 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
1886 nonstandard directory
<lib dir
>
1887 LIBS libraries to pass to the linker
, e.g.
-l<library
>
1888 CPPFLAGS C
/C
++/Objective C preprocessor flags
, e.g.
-I<include dir
> if
1889 you have headers
in a nonstandard directory
<include dir
>
1891 CXX C
++ compiler
command
1892 CXXFLAGS C
++ compiler flags
1893 PKG_CONFIG path to pkg
-config utility
1895 C compiler flags
for DIRECTFB
, overriding pkg
-config
1897 linker flags
for DIRECTFB
, overriding pkg
-config
1898 XMKMF Path to xmkmf
, Makefile generator
for X Window System
1900 C compiler flags
for PANGOX
, overriding pkg
-config
1901 PANGOX_LIBS linker flags
for PANGOX
, overriding pkg
-config
1903 C compiler flags
for PANGOFT2
, overriding pkg
-config
1905 linker flags
for PANGOFT2
, overriding pkg
-config
1907 C compiler flags
for PANGOXFT
, overriding pkg
-config
1909 linker flags
for PANGOXFT
, overriding pkg
-config
1910 LIBGNOMEPRINTUI_CFLAGS
1911 C compiler flags
for LIBGNOMEPRINTUI
, overriding pkg
-config
1912 LIBGNOMEPRINTUI_LIBS
1913 linker flags
for LIBGNOMEPRINTUI
, overriding pkg
-config
1915 C compiler flags
for GNOMEVFS
, overriding pkg
-config
1917 linker flags
for GNOMEVFS
, overriding pkg
-config
1919 C compiler flags
for HILDON
, overriding pkg
-config
1920 HILDON_LIBS linker flags
for HILDON
, overriding pkg
-config
1922 C compiler flags
for CAIRO
, overriding pkg
-config
1923 CAIRO_LIBS linker flags
for CAIRO
, overriding pkg
-config
1924 GST_CFLAGS C compiler flags
for GST
, overriding pkg
-config
1925 GST_LIBS linker flags
for GST
, overriding pkg
-config
1927 Use these variables to override the choices made by
`configure' or to help
1928 it to find libraries and programs with nonstandard names/locations.
1930 Report bugs to <wx-dev@lists.wxwidgets.org>.
1935 if test "$ac_init_help" = "recursive"; then
1936 # If there are subdirs, report their specific --help.
1937 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1938 test -d "$ac_dir" || continue
1942 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1944 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1945 # A ".." for each directory in $ac_dir_suffix.
1946 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
1947 case $ac_top_builddir_sub in
1948 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1949 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1952 ac_abs_top_builddir=$ac_pwd
1953 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1954 # for backward compatibility:
1955 ac_top_builddir=$ac_top_build_prefix
1958 .) # We are building in place.
1960 ac_top_srcdir=$ac_top_builddir_sub
1961 ac_abs_top_srcdir=$ac_pwd ;;
1962 [\\/]* | ?:[\\/]* ) # Absolute name.
1963 ac_srcdir=$srcdir$ac_dir_suffix;
1964 ac_top_srcdir=$srcdir
1965 ac_abs_top_srcdir=$srcdir ;;
1967 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1968 ac_top_srcdir=$ac_top_build_prefix$srcdir
1969 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1971 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1973 cd "$ac_dir" || { ac_status=$?; continue; }
1974 # Check for guested configure.
1975 if test -f "$ac_srcdir/configure.gnu"; then
1977 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1978 elif test -f "$ac_srcdir/configure"; then
1980 $SHELL "$ac_srcdir/configure" --help=recursive
1982 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1984 cd "$ac_pwd" || { ac_status=$?; break; }
1988 test -n "$ac_init_help" && exit $ac_status
1989 if $ac_init_version; then
1991 wxWidgets configure 2.9.0
1992 generated by GNU Autoconf 2.61
1994 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1995 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
1996 This configure script is free software; the Free Software Foundation
1997 gives unlimited permission to copy, distribute and modify it.
2001 cat >config.log <<_ACEOF
2002 This file contains any messages produced by compilers while
2003 running configure, to aid debugging if configure makes a mistake.
2005 It was created by wxWidgets $as_me 2.9.0, which was
2006 generated by GNU Autoconf 2.61. Invocation command line was
2018 hostname = `(hostname
|| uname
-n) 2>/dev
/null
| sed 1q
`
2019 uname -m = `(uname
-m) 2>/dev
/null
|| echo unknown
`
2020 uname -r = `(uname
-r) 2>/dev
/null
|| echo unknown
`
2021 uname -s = `(uname
-s) 2>/dev
/null
|| echo unknown
`
2022 uname -v = `(uname
-v) 2>/dev
/null
|| echo unknown
`
2024 /usr/bin/uname -p = `(/usr
/bin
/uname
-p) 2>/dev
/null
|| echo unknown
`
2025 /bin/uname -X = `(/bin
/uname
-X) 2>/dev
/null
|| echo unknown
`
2027 /bin/arch = `(/bin
/arch
) 2>/dev
/null
|| echo unknown
`
2028 /usr/bin/arch -k = `(/usr
/bin
/arch
-k) 2>/dev
/null
|| echo unknown
`
2029 /usr/convex/getsysinfo = `(/usr
/convex
/getsysinfo
) 2>/dev
/null
|| echo unknown
`
2030 /usr/bin/hostinfo = `(/usr
/bin
/hostinfo
) 2>/dev
/null
|| echo unknown
`
2031 /bin/machine = `(/bin
/machine
) 2>/dev
/null
|| echo unknown
`
2032 /usr/bin/oslevel = `(/usr
/bin
/oslevel
) 2>/dev
/null
|| echo unknown
`
2033 /bin/universe = `(/bin
/universe
) 2>/dev
/null
|| echo unknown
`
2037 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2041 test -z "$as_dir" && as_dir=.
2042 echo "PATH: $as_dir"
2058 # Keep a trace of the command line.
2059 # Strip out --no-create and --no-recursion so they do not pile up.
2060 # Strip out --silent because we don't want to record it for future runs.
2061 # Also quote any args containing shell meta-characters.
2062 # Make two passes to allow for proper duplicate-argument suppression.
2066 ac_must_keep_next=false
2072 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2073 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2074 | -silent | --silent | --silen | --sile | --sil)
2077 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2080 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
2082 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
2083 if test $ac_must_keep_next = true; then
2084 ac_must_keep_next=false # Got value, back to normal.
2087 *=* | --config-cache | -C | -disable-* | --disable-* \
2088 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2089 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2090 | -with-* | --with-* | -without-* | --without-* | --x)
2091 case "$ac_configure_args0 " in
2092 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2095 -* ) ac_must_keep_next=true ;;
2098 ac_configure_args="$ac_configure_args '$ac_arg'"
2103 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
2104 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
2106 # When interrupted or exit'd, cleanup temporary files, and complete
2107 # config.log. We remove comments because anyway the quotes in there
2108 # would cause problems or look ugly.
2109 # WARNING: Use '\'' to represent an apostrophe within the trap.
2110 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2111 trap 'exit_status=$?
2112 # Save into config.log some information that might help in debugging.
2117 ## ---------------- ##
2118 ## Cache variables. ##
2119 ## ---------------- ##
2122 # The following way of writing the cache mishandles newlines in values,
2124 for ac_var in `(set) 2>&1 | sed -n '\''s
/^\
([a
-zA-Z_][a
-zA-Z0-9_]*\
)=.
*/\
1/p
'\''`; do
2125 eval ac_val=\$$ac_var
2129 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
2130 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
2133 _ | IFS | as_nl) ;; #(
2134 *) $as_unset $ac_var ;;
2139 case $as_nl`(ac_space
='\'' '\''; set) 2>&1` in #(
2140 *${as_nl}ac_space=\ *)
2142 "s/'\''/'\''\\\\'\'''\''/g;
2143 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2146 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2154 ## ----------------- ##
2155 ## Output variables. ##
2156 ## ----------------- ##
2159 for ac_var in $ac_subst_vars
2161 eval ac_val=\$$ac_var
2163 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2165 echo "$ac_var='\''$ac_val'\''"
2169 if test -n "$ac_subst_files"; then
2171 ## ------------------- ##
2172 ## File substitutions. ##
2173 ## ------------------- ##
2176 for ac_var in $ac_subst_files
2178 eval ac_val=\$$ac_var
2180 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2182 echo "$ac_var='\''$ac_val'\''"
2187 if test -s confdefs.h; then
2197 test "$ac_signal" != 0 &&
2198 echo "$as_me: caught signal $ac_signal"
2199 echo "$as_me: exit $exit_status"
2201 rm -f core *.core core.conftest.* &&
2202 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2205 for ac_signal in 1 2 13 15; do
2206 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
2210 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2211 rm -f -r conftest* confdefs.h
2213 # Predefined preprocessor variables.
2215 cat >>confdefs.h <<_ACEOF
2216 #define PACKAGE_NAME "$PACKAGE_NAME"
2220 cat >>confdefs.h <<_ACEOF
2221 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2225 cat >>confdefs.h <<_ACEOF
2226 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2230 cat >>confdefs.h <<_ACEOF
2231 #define PACKAGE_STRING "$PACKAGE_STRING"
2235 cat >>confdefs.h <<_ACEOF
2236 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2240 # Let the site file select an alternate cache file if it wants to.
2241 # Prefer explicitly selected file to automatically selected ones.
2242 if test -n "$CONFIG_SITE"; then
2243 set x "$CONFIG_SITE"
2244 elif test "x$prefix" != xNONE; then
2245 set x "$prefix/share/config.site" "$prefix/etc/config.site"
2247 set x "$ac_default_prefix/share/config.site" \
2248 "$ac_default_prefix/etc/config.site"
2253 if test -r "$ac_site_file"; then
2254 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
2255 echo "$as_me: loading site script $ac_site_file" >&6;}
2256 sed 's/^/| /' "$ac_site_file" >&5
2261 if test -r "$cache_file"; then
2262 # Some versions of bash will fail to source /dev/null (special
2263 # files actually), so we avoid doing that.
2264 if test -f "$cache_file"; then
2265 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
2266 echo "$as_me: loading cache $cache_file" >&6;}
2268 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2269 *) . "./$cache_file";;
2273 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
2274 echo "$as_me: creating cache $cache_file" >&6;}
2278 # Check that the precious variables saved in the cache have kept the same
2280 ac_cache_corrupted=false
2281 for ac_var in $ac_precious_vars; do
2282 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2283 eval ac_new_set=\$ac_env_${ac_var}_set
2284 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2285 eval ac_new_val=\$ac_env_${ac_var}_value
2286 case $ac_old_set,$ac_new_set in
2288 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run
" >&5
2289 echo "$as_me: error
: \
`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2290 ac_cache_corrupted=: ;;
2292 { echo "$as_me:$LINENO: error: \`$ac_var' was not
set in the previous run
" >&5
2293 echo "$as_me: error
: \
`$ac_var' was not set in the previous run" >&2;}
2294 ac_cache_corrupted=: ;;
2297 if test "x$ac_old_val" != "x$ac_new_val"; then
2298 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
2299 echo "$as_me: error: \`$ac_var' has changed since the previous run
:" >&2;}
2300 { echo "$as_me:$LINENO: former value
: $ac_old_val" >&5
2301 echo "$as_me: former value
: $ac_old_val" >&2;}
2302 { echo "$as_me:$LINENO: current value
: $ac_new_val" >&5
2303 echo "$as_me: current value
: $ac_new_val" >&2;}
2304 ac_cache_corrupted=:
2307 # Pass precious variables to config.status.
2308 if test "$ac_new_set" = set; then
2310 *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s
/'/'\\\\\\\\''/g
"` ;;
2311 *) ac_arg=$ac_var=$ac_new_val ;;
2313 case " $ac_configure_args " in
2314 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2315 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
2319 if $ac_cache_corrupted; then
2320 { echo "$as_me:$LINENO: error
: changes
in the environment can compromise the build
" >&5
2321 echo "$as_me: error
: changes
in the environment can compromise the build
" >&2;}
2322 { { echo "$as_me:$LINENO: error
: run \
`make distclean' and/or \`rm $cache_file' and start over" >&5
2323 echo "$as_me: error: run \`make distclean' and
/or \
`rm $cache_file' and start over" >&2;}
2324 { (exit 1); exit 1; }; }
2352 ac_cpp='$CPP $CPPFLAGS'
2353 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2354 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2355 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2362 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2363 if test -f "$ac_dir/install-sh"; then
2365 ac_install_sh="$ac_aux_dir/install-sh -c"
2367 elif test -f "$ac_dir/install.sh"; then
2369 ac_install_sh="$ac_aux_dir/install.sh -c"
2371 elif test -f "$ac_dir/shtool"; then
2373 ac_install_sh="$ac_aux_dir/shtool install -c"
2377 if test -z "$ac_aux_dir"; then
2378 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
2379 echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
2380 { (exit 1); exit 1; }; }
2383 # These three variables are undocumented and unsupported,
2384 # and are intended to be withdrawn in a future Autoconf release.
2385 # They can cause serious problems if a builder's source tree is in a directory
2386 # whose full name contains unusual characters.
2387 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2388 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2389 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2392 # Make sure we can run config.sub.
2393 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2394 { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
2395 echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
2396 { (exit 1); exit 1; }; }
2398 { echo "$as_me:$LINENO: checking build system type" >&5
2399 echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
2400 if test "${ac_cv_build+set}" = set; then
2401 echo $ECHO_N "(cached) $ECHO_C" >&6
2403 ac_build_alias=$build_alias
2404 test "x$ac_build_alias" = x &&
2405 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2406 test "x$ac_build_alias" = x &&
2407 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
2408 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
2409 { (exit 1); exit 1; }; }
2410 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2411 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
2412 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
2413 { (exit 1); exit 1; }; }
2416 { echo "$as_me:$LINENO: result: $ac_cv_build" >&5
2417 echo "${ECHO_T}$ac_cv_build" >&6; }
2418 case $ac_cv_build in
2420 *) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
2421 echo "$as_me: error: invalid value of canonical build" >&2;}
2422 { (exit 1); exit 1; }; };;
2425 ac_save_IFS=$IFS; IFS='-'
2431 # Remember, the first character of IFS is used to create $*,
2432 # except with old shells:
2435 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
2438 { echo "$as_me:$LINENO: checking host system type" >&5
2439 echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
2440 if test "${ac_cv_host+set}" = set; then
2441 echo $ECHO_N "(cached) $ECHO_C" >&6
2443 if test "x$host_alias" = x; then
2444 ac_cv_host=$ac_cv_build
2446 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2447 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
2448 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
2449 { (exit 1); exit 1; }; }
2453 { echo "$as_me:$LINENO: result: $ac_cv_host" >&5
2454 echo "${ECHO_T}$ac_cv_host" >&6; }
2457 *) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
2458 echo "$as_me: error: invalid value of canonical host" >&2;}
2459 { (exit 1); exit 1; }; };;
2462 ac_save_IFS=$IFS; IFS='-'
2468 # Remember, the first character of IFS is used to create $*,
2469 # except with old shells:
2472 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
2475 { echo "$as_me:$LINENO: checking target system type" >&5
2476 echo $ECHO_N "checking target system type... $ECHO_C" >&6; }
2477 if test "${ac_cv_target+set}" = set; then
2478 echo $ECHO_N "(cached) $ECHO_C" >&6
2480 if test "x$target_alias" = x; then
2481 ac_cv_target=$ac_cv_host
2483 ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
2484 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&5
2485 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&2;}
2486 { (exit 1); exit 1; }; }
2490 { echo "$as_me:$LINENO: result: $ac_cv_target" >&5
2491 echo "${ECHO_T}$ac_cv_target" >&6; }
2492 case $ac_cv_target in
2494 *) { { echo "$as_me:$LINENO: error: invalid value of canonical target" >&5
2495 echo "$as_me: error: invalid value of canonical target" >&2;}
2496 { (exit 1); exit 1; }; };;
2498 target=$ac_cv_target
2499 ac_save_IFS=$IFS; IFS='-'
2505 # Remember, the first character of IFS is used to create $*,
2506 # except with old shells:
2509 case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac
2512 # The aliases save the names the user supplied, while $host etc.
2513 # will get canonicalized.
2514 test -n "$target_alias" &&
2515 test "$program_prefix$program_suffix$program_transform_name" = \
2517 program_prefix=${target_alias}-
2521 wx_major_version_number=2
2522 wx_minor_version_number=9
2524 wx_subrelease_number=0
2526 WX_RELEASE=$wx_major_version_number.$wx_minor_version_number
2527 WX_VERSION=$WX_RELEASE.$wx_release_number
2528 WX_SUBVERSION=$WX_VERSION.$wx_subrelease_number
2530 WX_MSW_VERSION=$wx_major_version_number$wx_minor_version_number$wx_release_number
2533 wx_top_builddir="`pwd`"
2546 USE_BSD= USE_DARWIN= USE_FREEBSD=
2552 USE_SOLARIS= USE_SUN= USE_SUNOS= USE_SVR4= USE_SYSV= USE_VMS=
2558 NEEDS_D_REENTRANT_FOR_R_FUNCS=0
2560 ALL_TOOLKITS="COCOA GTK MAC MGL MICROWIN MOTIF MSW PM X11 DFB"
2562 DEFAULT_wxUSE_COCOA=0
2566 DEFAULT_wxUSE_MICROWIN=0
2567 DEFAULT_wxUSE_MOTIF=0
2573 DEFAULT_DEFAULT_wxUSE_COCOA=0
2574 DEFAULT_DEFAULT_wxUSE_GTK=0
2575 DEFAULT_DEFAULT_wxUSE_MAC=0
2576 DEFAULT_DEFAULT_wxUSE_MGL=0
2577 DEFAULT_DEFAULT_wxUSE_MICROWIN=0
2578 DEFAULT_DEFAULT_wxUSE_MOTIF=0
2579 DEFAULT_DEFAULT_wxUSE_MSW=0
2580 DEFAULT_DEFAULT_wxUSE_PM=0
2581 DEFAULT_DEFAULT_wxUSE_X11=0
2582 DEFAULT_DEFAULT_wxUSE_DFB=0
2587 SAMPLES_RPATH_POSTLINK=
2589 DEFAULT_STD_FLAG=yes
2594 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2595 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
2597 cat >>confdefs.h <<\_ACEOF
2602 CPPFLAGS="-D_HPUX_SOURCE $CPPFLAGS"
2606 cat >>confdefs.h <<\_ACEOF
2611 if test "x$TMP" = "xalpha"; then
2613 cat >>confdefs.h <<\_ACEOF
2618 DEFAULT_DEFAULT_wxUSE_GTK=1
2620 *-*-gnu* | *-*-k*bsd*-gnu )
2623 if test "x$TMP" = "xalpha"; then
2625 cat >>confdefs.h <<\_ACEOF
2630 DEFAULT_DEFAULT_wxUSE_GTK=1
2632 *-*-irix5* | *-*-irix6* )
2635 cat >>confdefs.h <<\_ACEOF
2639 cat >>confdefs.h <<\_ACEOF
2643 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2649 cat >>confdefs.h <<\_ACEOF
2653 cat >>confdefs.h <<\_ACEOF
2654 #define __SOLARIS__ 1
2657 cat >>confdefs.h <<\_ACEOF
2661 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2662 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
2668 cat >>confdefs.h <<\_ACEOF
2672 cat >>confdefs.h <<\_ACEOF
2676 cat >>confdefs.h <<\_ACEOF
2680 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2685 cat >>confdefs.h <<\_ACEOF
2686 #define __FREEBSD__ 1
2689 cat >>confdefs.h <<\_ACEOF
2693 DEFAULT_DEFAULT_wxUSE_GTK=1
2695 *-*-openbsd*|*-*-mirbsd*)
2698 cat >>confdefs.h <<\_ACEOF
2699 #define __OPENBSD__ 1
2702 cat >>confdefs.h <<\_ACEOF
2706 DEFAULT_DEFAULT_wxUSE_GTK=1
2711 cat >>confdefs.h <<\_ACEOF
2712 #define __NETBSD__ 1
2715 cat >>confdefs.h <<\_ACEOF
2719 DEFAULT_DEFAULT_wxUSE_GTK=1
2720 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
2722 CPPFLAGS="-D_NETBSD_SOURCE -D_LIBC $CPPFLAGS"
2727 cat >>confdefs.h <<\_ACEOF
2731 cat >>confdefs.h <<\_ACEOF
2735 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2736 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
2741 cat >>confdefs.h <<\_ACEOF
2745 cat >>confdefs.h <<\_ACEOF
2749 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2754 cat >>confdefs.h <<\_ACEOF
2758 cat >>confdefs.h <<\_ACEOF
2762 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2769 cat >>confdefs.h <<\_ACEOF
2773 cat >>confdefs.h <<\_ACEOF
2777 cat >>confdefs.h <<\_ACEOF
2781 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2788 cat >>confdefs.h <<\_ACEOF
2789 #define __UNIXWARE__ 1
2794 *-*-cygwin* | *-*-mingw32* )
2797 DEFAULT_DEFAULT_wxUSE_MSW=1
2803 cat >>confdefs.h <<\_ACEOF
2808 DEFAULT_DEFAULT_wxUSE_MGL=1
2811 *-pc-os2_emx | *-pc-os2-emx )
2812 cat >>confdefs.h <<\_ACEOF
2817 cat >>confdefs.h <<\_ACEOF
2822 DEFAULT_DEFAULT_wxUSE_PM=1
2824 LDFLAGS="$LDFLAGS -Zcrtdll"
2825 ac_executable_extensions=".exe"
2826 export ac_executable_extensions
2830 for ac_dir in $PATH; do
2832 if test -z "$ac_TEMP_PATH"; then
2833 ac_TEMP_PATH="$ac_dir"
2835 ac_TEMP_PATH="$ac_TEMP_PATH/$ac_dir"
2838 export PATH="$ac_TEMP_PATH"
2847 cat >>confdefs.h <<\_ACEOF
2851 cat >>confdefs.h <<\_ACEOF
2852 #define __DARWIN__ 1
2855 cat >>confdefs.h <<\_ACEOF
2856 #define TARGET_CARBON 1
2859 DEFAULT_DEFAULT_wxUSE_MAC=1
2862 powerpc-apple-macos* )
2864 ac_cv_c_bigendian=yes
2866 DEFAULT_DEFAULT_wxUSE_MAC=1
2872 cat >>confdefs.h <<\_ACEOF
2879 { echo "$as_me:$LINENO: WARNING: *** System type ${host} is unknown, assuming generic Unix and continuing nevertheless." >&5
2880 echo "$as_me: WARNING: *** System type ${host} is unknown, assuming generic Unix and continuing nevertheless." >&2;}
2881 { echo "$as_me:$LINENO: WARNING: *** Please report the build results to wx-dev@lists.wxwidgets.org." >&5
2882 echo "$as_me: WARNING: *** Please report the build results to wx-dev@lists.wxwidgets.org." >&2;}
2884 DEFAULT_DEFAULT_wxUSE_X11=1
2885 DEFAULT_wxUSE_SHARED=no
2891 wx_arg_cache_file="configarg.cache"
2892 echo "loading argument cache $wx_arg_cache_file"
2893 rm -f ${wx_arg_cache_file}.tmp
2894 touch ${wx_arg_cache_file}.tmp
2895 touch ${wx_arg_cache_file}
2899 if test $DEBUG_CONFIGURE = 1; then
2900 DEFAULT_wxUSE_UNIVERSAL=no
2901 DEFAULT_wxUSE_STL=no
2903 DEFAULT_wxUSE_NANOX=no
2905 DEFAULT_wxUSE_THREADS=yes
2907 DEFAULT_wxUSE_SHARED=${DEFAULT_wxUSE_SHARED:-yes}
2908 DEFAULT_wxUSE_OPTIMISE=no
2909 DEFAULT_wxUSE_PROFILE=no
2910 DEFAULT_wxUSE_NO_DEPS=no
2911 DEFAULT_wxUSE_VARARG_MACROS=no
2912 DEFAULT_wxUSE_NO_RTTI=no
2913 DEFAULT_wxUSE_NO_EXCEPTIONS=no
2914 DEFAULT_wxUSE_UNIVERSAL_BINARY=no
2915 DEFAULT_wxUSE_RPATH=yes
2916 DEFAULT_wxUSE_PERMISSIVE=no
2917 DEFAULT_wxUSE_DEBUG_FLAG=yes
2918 DEFAULT_wxUSE_DEBUG_INFO=yes
2919 DEFAULT_wxUSE_DEBUG_GDB=yes
2920 DEFAULT_wxUSE_MEM_TRACING=no
2921 DEFAULT_wxUSE_DEBUG_CONTEXT=no
2922 DEFAULT_wxUSE_DMALLOC=no
2923 DEFAULT_wxUSE_APPLE_IEEE=no
2925 DEFAULT_wxUSE_EXCEPTIONS=no
2926 DEFAULT_wxUSE_LOG=yes
2927 DEFAULT_wxUSE_LOGWINDOW=no
2928 DEFAULT_wxUSE_LOGGUI=no
2929 DEFAULT_wxUSE_LOGDIALOG=no
2931 DEFAULT_wxUSE_GUI=yes
2932 DEFAULT_wxUSE_CONTROLS=no
2934 DEFAULT_wxUSE_REGEX=no
2935 DEFAULT_wxUSE_XML=no
2936 DEFAULT_wxUSE_EXPAT=no
2937 DEFAULT_wxUSE_ZLIB=no
2938 DEFAULT_wxUSE_LIBPNG=no
2939 DEFAULT_wxUSE_LIBJPEG=no
2940 DEFAULT_wxUSE_LIBTIFF=no
2941 DEFAULT_wxUSE_LIBXPM=no
2942 DEFAULT_wxUSE_LIBMSPACK=no
2943 DEFAULT_wxUSE_LIBSDL=no
2944 DEFAULT_wxUSE_LIBGNOMEPRINT=no
2945 DEFAULT_wxUSE_LIBGNOMEVFS=no
2946 DEFAULT_wxUSE_LIBHILDON=no
2947 DEFAULT_wxUSE_ODBC=no
2948 DEFAULT_wxUSE_OPENGL=no
2950 DEFAULT_wxUSE_ON_FATAL_EXCEPTION=no
2951 DEFAULT_wxUSE_STACKWALKER=no
2952 DEFAULT_wxUSE_DEBUGREPORT=no
2953 DEFAULT_wxUSE_SNGLINST_CHECKER=no
2954 DEFAULT_wxUSE_STD_IOSTREAM=no
2955 DEFAULT_wxUSE_STD_STRING=no
2956 DEFAULT_wxUSE_CMDLINE_PARSER=no
2957 DEFAULT_wxUSE_DATETIME=no
2958 DEFAULT_wxUSE_TIMER=no
2959 DEFAULT_wxUSE_STOPWATCH=no
2960 DEFAULT_wxUSE_FILE=no
2961 DEFAULT_wxUSE_FFILE=no
2962 DEFAULT_wxUSE_STDPATHS=no
2963 DEFAULT_wxUSE_TEXTBUFFER=no
2964 DEFAULT_wxUSE_TEXTFILE=no
2965 DEFAULT_wxUSE_SOUND=no
2966 DEFAULT_wxUSE_MEDIACTRL=no
2967 DEFAULT_wxUSE_GSTREAMER8=no
2968 DEFAULT_wxUSE_PRINTF_POS_PARAMS=no
2969 DEFAULT_wxUSE_INTL=no
2970 DEFAULT_wxUSE_CONFIG=no
2971 DEFAULT_wxUSE_FONTMAP=no
2972 DEFAULT_wxUSE_STREAMS=no
2973 DEFAULT_wxUSE_SOCKETS=no
2974 DEFAULT_wxUSE_OLE=no
2975 DEFAULT_wxUSE_DATAOBJ=no
2976 DEFAULT_wxUSE_DIALUP_MANAGER=no
2977 DEFAULT_wxUSE_JOYSTICK=no
2978 DEFAULT_wxUSE_DYNLIB_CLASS=no
2979 DEFAULT_wxUSE_DYNAMIC_LOADER=no
2980 DEFAULT_wxUSE_LONGLONG=no
2981 DEFAULT_wxUSE_GEOMETRY=no
2983 DEFAULT_wxUSE_AFM_FOR_POSTSCRIPT=no
2984 DEFAULT_wxUSE_NORMALIZED_PS_FONTS=no
2985 DEFAULT_wxUSE_POSTSCRIPT=no
2987 DEFAULT_wxUSE_CLIPBOARD=no
2988 DEFAULT_wxUSE_TOOLTIPS=no
2989 DEFAULT_wxUSE_DRAG_AND_DROP=no
2990 DEFAULT_wxUSE_DRAGIMAGE=no
2991 DEFAULT_wxUSE_SPLINES=no
2992 DEFAULT_wxUSE_MOUSEWHEEL=no
2994 DEFAULT_wxUSE_MDI=no
2995 DEFAULT_wxUSE_MDI_ARCHITECTURE=no
2996 DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE=no
2997 DEFAULT_wxUSE_PRINTING_ARCHITECTURE=no
2999 DEFAULT_wxUSE_CONSTRAINTS=no
3000 DEFAULT_wxUSE_IPC=no
3001 DEFAULT_wxUSE_HELP=no
3002 DEFAULT_wxUSE_MS_HTML_HELP=no
3003 DEFAULT_wxUSE_WXHTML_HELP=no
3004 DEFAULT_wxUSE_TREELAYOUT=no
3005 DEFAULT_wxUSE_METAFILE=no
3006 DEFAULT_wxUSE_MIMETYPE=no
3007 DEFAULT_wxUSE_SYSTEM_OPTIONS=no
3008 DEFAULT_wxUSE_PROTOCOL=no
3009 DEFAULT_wxUSE_PROTOCOL_HTTP=no
3010 DEFAULT_wxUSE_PROTOCOL_FTP=no
3011 DEFAULT_wxUSE_PROTOCOL_FILE=no
3012 DEFAULT_wxUSE_URL=no
3013 DEFAULT_wxUSE_VARIANT=no
3015 DEFAULT_wxUSE_ABOUTDLG=no
3016 DEFAULT_wxUSE_COMMONDLGS=no
3017 DEFAULT_wxUSE_CHOICEDLG=no
3018 DEFAULT_wxUSE_COLOURDLG=no
3019 DEFAULT_wxUSE_DIRDLG=no
3020 DEFAULT_wxUSE_FILEDLG=no
3021 DEFAULT_wxUSE_FINDREPLDLG=no
3022 DEFAULT_wxUSE_FONTDLG=no
3023 DEFAULT_wxUSE_MSGDLG=no
3024 DEFAULT_wxUSE_NUMBERDLG=no
3025 DEFAULT_wxUSE_TEXTDLG=no
3026 DEFAULT_wxUSE_SPLASH=no
3027 DEFAULT_wxUSE_STARTUP_TIPS=no
3028 DEFAULT_wxUSE_PROGRESSDLG=no
3029 DEFAULT_wxUSE_WIZARDDLG=no
3031 DEFAULT_wxUSE_MENUS=no
3032 DEFAULT_wxUSE_MINIFRAME=no
3033 DEFAULT_wxUSE_HTML=no
3034 DEFAULT_wxUSE_RICHTEXT=no
3035 DEFAULT_wxUSE_XRC=no
3036 DEFAULT_wxUSE_AUI=no
3037 DEFAULT_wxUSE_STC=no
3038 DEFAULT_wxUSE_WEBKIT=no
3039 DEFAULT_wxUSE_FILESYSTEM=no
3040 DEFAULT_wxUSE_FS_INET=no
3041 DEFAULT_wxUSE_FS_ZIP=no
3042 DEFAULT_wxUSE_FS_ARCHIVE=no
3043 DEFAULT_wxUSE_BUSYINFO=no
3044 DEFAULT_wxUSE_ARCHIVE_STREAMS=no
3045 DEFAULT_wxUSE_ZIPSTREAM=no
3046 DEFAULT_wxUSE_TARSTREAM=no
3047 DEFAULT_wxUSE_VALIDATORS=no
3049 DEFAULT_wxUSE_ACCEL=no
3050 DEFAULT_wxUSE_ANIMATIONCTRL=no
3051 DEFAULT_wxUSE_BUTTON=no
3052 DEFAULT_wxUSE_BMPBUTTON=no
3053 DEFAULT_wxUSE_BITMAPCOMBOBOX=no
3054 DEFAULT_wxUSE_CALCTRL=no
3055 DEFAULT_wxUSE_CARET=no
3056 DEFAULT_wxUSE_CHECKBOX=no
3057 DEFAULT_wxUSE_CHECKLST=no
3058 DEFAULT_wxUSE_CHOICE=no
3059 DEFAULT_wxUSE_CHOICEBOOK=no
3060 DEFAULT_wxUSE_COLLPANE=no
3061 DEFAULT_wxUSE_COLOURPICKERCTRL=no
3062 DEFAULT_wxUSE_COMBOBOX=no
3063 DEFAULT_wxUSE_COMBOCTRL=no
3064 DEFAULT_wxUSE_DATEPICKCTRL=no
3065 DEFAULT_wxUSE_DISPLAY=no
3066 DEFAULT_wxUSE_DETECT_SM=no
3067 DEFAULT_wxUSE_DIRPICKERCTRL=no
3068 DEFAULT_wxUSE_FILEPICKERCTRL=no
3069 DEFAULT_wxUSE_FONTPICKERCTRL=no
3070 DEFAULT_wxUSE_GAUGE=no
3071 DEFAULT_wxUSE_GRAPHICS_CONTEXT=no
3072 DEFAULT_wxUSE_GRID=no
3073 DEFAULT_wxUSE_HYPERLINKCTRL=no
3074 DEFAULT_wxUSE_DATAVIEWCTRL=no
3075 DEFAULT_wxUSE_IMAGLIST=no
3076 DEFAULT_wxUSE_LISTBOOK=no
3077 DEFAULT_wxUSE_LISTBOX=no
3078 DEFAULT_wxUSE_LISTCTRL=no
3079 DEFAULT_wxUSE_NOTEBOOK=no
3080 DEFAULT_wxUSE_ODCOMBOBOX=no
3081 DEFAULT_wxUSE_RADIOBOX=no
3082 DEFAULT_wxUSE_RADIOBTN=no
3083 DEFAULT_wxUSE_SASH=no
3084 DEFAULT_wxUSE_SCROLLBAR=no
3085 DEFAULT_wxUSE_SEARCHCTRL=no
3086 DEFAULT_wxUSE_SLIDER=no
3087 DEFAULT_wxUSE_SPINBTN=no
3088 DEFAULT_wxUSE_SPINCTRL=no
3089 DEFAULT_wxUSE_SPLITTER=no
3090 DEFAULT_wxUSE_STATBMP=no
3091 DEFAULT_wxUSE_STATBOX=no
3092 DEFAULT_wxUSE_STATLINE=no
3093 DEFAULT_wxUSE_STATTEXT=no
3094 DEFAULT_wxUSE_STATUSBAR=yes
3095 DEFAULT_wxUSE_TAB_DIALOG=no
3096 DEFAULT_wxUSE_TEXTCTRL=no
3097 DEFAULT_wxUSE_TOGGLEBTN=no
3098 DEFAULT_wxUSE_TOOLBAR=no
3099 DEFAULT_wxUSE_TOOLBAR_NATIVE=no
3100 DEFAULT_wxUSE_TREEBOOK=no
3101 DEFAULT_wxUSE_TOOLBOOK=no
3102 DEFAULT_wxUSE_TREECTRL=no
3103 DEFAULT_wxUSE_POPUPWIN=no
3104 DEFAULT_wxUSE_TIPWINDOW=no
3106 DEFAULT_wxUSE_UNICODE=no
3107 DEFAULT_wxUSE_UNICODE_MSLU=no
3108 DEFAULT_wxUSE_WCSRTOMBS=no
3110 DEFAULT_wxUSE_PALETTE=no
3111 DEFAULT_wxUSE_IMAGE=no
3112 DEFAULT_wxUSE_GIF=no
3113 DEFAULT_wxUSE_PCX=no
3114 DEFAULT_wxUSE_TGA=no
3115 DEFAULT_wxUSE_PNM=no
3116 DEFAULT_wxUSE_IFF=no
3117 DEFAULT_wxUSE_XPM=no
3118 DEFAULT_wxUSE_ICO_CUR=no
3119 DEFAULT_wxUSE_ACCESSIBILITY=no
3121 DEFAULT_wxUSE_MONOLITHIC=no
3122 DEFAULT_wxUSE_PLUGINS=no
3123 DEFAULT_wxUSE_OFFICIAL_BUILD=no
3125 DEFAULT_wxUSE_UNIVERSAL=no
3126 DEFAULT_wxUSE_STL=no
3128 DEFAULT_wxUSE_NANOX=no
3130 DEFAULT_wxUSE_THREADS=yes
3132 DEFAULT_wxUSE_SHARED=${DEFAULT_wxUSE_SHARED:-yes}
3133 DEFAULT_wxUSE_OPTIMISE=yes
3134 DEFAULT_wxUSE_PROFILE=no
3135 DEFAULT_wxUSE_NO_DEPS=no
3136 DEFAULT_wxUSE_VARARG_MACROS=yes
3137 DEFAULT_wxUSE_NO_RTTI=no
3138 DEFAULT_wxUSE_NO_EXCEPTIONS=no
3139 DEFAULT_wxUSE_UNIVERSAL_BINARY=no
3140 DEFAULT_wxUSE_RPATH=yes
3141 DEFAULT_wxUSE_PERMISSIVE=no
3142 DEFAULT_wxUSE_DEBUG_FLAG=no
3143 DEFAULT_wxUSE_DEBUG_INFO=no
3144 DEFAULT_wxUSE_DEBUG_GDB=no
3145 DEFAULT_wxUSE_MEM_TRACING=no
3146 DEFAULT_wxUSE_DEBUG_CONTEXT=no
3147 DEFAULT_wxUSE_DMALLOC=no
3148 DEFAULT_wxUSE_APPLE_IEEE=yes
3150 DEFAULT_wxUSE_EXCEPTIONS=yes
3151 DEFAULT_wxUSE_LOG=yes
3152 DEFAULT_wxUSE_LOGWINDOW=yes
3153 DEFAULT_wxUSE_LOGGUI=yes
3154 DEFAULT_wxUSE_LOGDIALOG=yes
3156 DEFAULT_wxUSE_GUI=yes
3158 DEFAULT_wxUSE_REGEX=yes
3159 DEFAULT_wxUSE_XML=yes
3160 DEFAULT_wxUSE_EXPAT=yes
3161 DEFAULT_wxUSE_ZLIB=yes
3162 DEFAULT_wxUSE_LIBPNG=yes
3163 DEFAULT_wxUSE_LIBJPEG=yes
3164 DEFAULT_wxUSE_LIBTIFF=yes
3165 DEFAULT_wxUSE_LIBXPM=yes
3166 DEFAULT_wxUSE_LIBMSPACK=yes
3167 DEFAULT_wxUSE_LIBSDL=no
3168 DEFAULT_wxUSE_LIBGNOMEPRINT=yes
3169 DEFAULT_wxUSE_LIBGNOMEVFS=no
3170 DEFAULT_wxUSE_LIBHILDON=no
3171 DEFAULT_wxUSE_ODBC=no
3172 DEFAULT_wxUSE_OPENGL=no
3174 DEFAULT_wxUSE_ON_FATAL_EXCEPTION=yes
3175 DEFAULT_wxUSE_STACKWALKER=yes
3176 DEFAULT_wxUSE_DEBUGREPORT=yes
3177 DEFAULT_wxUSE_SNGLINST_CHECKER=yes
3178 DEFAULT_wxUSE_STD_IOSTREAM=$DEFAULT_STD_FLAG
3179 DEFAULT_wxUSE_STD_STRING=$DEFAULT_STD_FLAG
3180 DEFAULT_wxUSE_CMDLINE_PARSER=yes
3181 DEFAULT_wxUSE_DATETIME=yes
3182 DEFAULT_wxUSE_TIMER=yes
3183 DEFAULT_wxUSE_STOPWATCH=yes
3184 DEFAULT_wxUSE_FILE=yes
3185 DEFAULT_wxUSE_FFILE=yes
3186 DEFAULT_wxUSE_STDPATHS=yes
3187 DEFAULT_wxUSE_TEXTBUFFER=yes
3188 DEFAULT_wxUSE_TEXTFILE=yes
3189 DEFAULT_wxUSE_SOUND=yes
3190 DEFAULT_wxUSE_MEDIACTRL=no
3191 DEFAULT_wxUSE_GSTREAMER8=no
3192 DEFAULT_wxUSE_PRINTF_POS_PARAMS=yes
3193 DEFAULT_wxUSE_INTL=yes
3194 DEFAULT_wxUSE_CONFIG=yes
3195 DEFAULT_wxUSE_FONTMAP=yes
3196 DEFAULT_wxUSE_STREAMS=yes
3197 DEFAULT_wxUSE_SOCKETS=yes
3198 DEFAULT_wxUSE_OLE=yes
3199 DEFAULT_wxUSE_DATAOBJ=yes
3200 DEFAULT_wxUSE_DIALUP_MANAGER=yes
3201 DEFAULT_wxUSE_JOYSTICK=yes
3202 DEFAULT_wxUSE_DYNLIB_CLASS=yes
3203 DEFAULT_wxUSE_DYNAMIC_LOADER=yes
3204 DEFAULT_wxUSE_LONGLONG=yes
3205 DEFAULT_wxUSE_GEOMETRY=yes
3207 DEFAULT_wxUSE_AFM_FOR_POSTSCRIPT=yes
3208 DEFAULT_wxUSE_NORMALIZED_PS_FONTS=yes
3209 DEFAULT_wxUSE_POSTSCRIPT=yes
3211 DEFAULT_wxUSE_CLIPBOARD=yes
3212 DEFAULT_wxUSE_TOOLTIPS=yes
3213 DEFAULT_wxUSE_DRAG_AND_DROP=yes
3214 DEFAULT_wxUSE_DRAGIMAGE=yes
3215 DEFAULT_wxUSE_SPLINES=yes
3216 DEFAULT_wxUSE_MOUSEWHEEL=yes
3218 DEFAULT_wxUSE_MDI=yes
3219 DEFAULT_wxUSE_MDI_ARCHITECTURE=yes
3220 DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE=yes
3221 DEFAULT_wxUSE_PRINTING_ARCHITECTURE=yes
3223 DEFAULT_wxUSE_CONSTRAINTS=yes
3224 DEFAULT_wxUSE_IPC=yes
3225 DEFAULT_wxUSE_HELP=yes
3226 DEFAULT_wxUSE_MS_HTML_HELP=yes
3227 DEFAULT_wxUSE_WXHTML_HELP=yes
3228 DEFAULT_wxUSE_TREELAYOUT=yes
3229 DEFAULT_wxUSE_METAFILE=yes
3230 DEFAULT_wxUSE_MIMETYPE=yes
3231 DEFAULT_wxUSE_SYSTEM_OPTIONS=yes
3232 DEFAULT_wxUSE_PROTOCOL=yes
3233 DEFAULT_wxUSE_PROTOCOL_HTTP=yes
3234 DEFAULT_wxUSE_PROTOCOL_FTP=yes
3235 DEFAULT_wxUSE_PROTOCOL_FILE=yes
3236 DEFAULT_wxUSE_URL=yes
3237 DEFAULT_wxUSE_VARIANT=yes
3239 DEFAULT_wxUSE_ABOUTDLG=yes
3240 DEFAULT_wxUSE_COMMONDLGS=yes
3241 DEFAULT_wxUSE_CHOICEDLG=yes
3242 DEFAULT_wxUSE_COLOURDLG=yes
3243 DEFAULT_wxUSE_DIRDLG=yes
3244 DEFAULT_wxUSE_FILEDLG=yes
3245 DEFAULT_wxUSE_FINDREPLDLG=yes
3246 DEFAULT_wxUSE_FONTDLG=yes
3247 DEFAULT_wxUSE_MSGDLG=yes
3248 DEFAULT_wxUSE_NUMBERDLG=yes
3249 DEFAULT_wxUSE_TEXTDLG=yes
3250 DEFAULT_wxUSE_SPLASH=yes
3251 DEFAULT_wxUSE_STARTUP_TIPS=yes
3252 DEFAULT_wxUSE_PROGRESSDLG=yes
3253 DEFAULT_wxUSE_WIZARDDLG=yes
3255 DEFAULT_wxUSE_MENUS=yes
3256 DEFAULT_wxUSE_MINIFRAME=yes
3257 DEFAULT_wxUSE_HTML=yes
3258 DEFAULT_wxUSE_RICHTEXT=yes
3259 DEFAULT_wxUSE_XRC=yes
3260 DEFAULT_wxUSE_AUI=yes
3261 DEFAULT_wxUSE_STC=yes
3262 DEFAULT_wxUSE_WEBKIT=yes
3263 DEFAULT_wxUSE_FILESYSTEM=yes
3264 DEFAULT_wxUSE_FS_INET=yes
3265 DEFAULT_wxUSE_FS_ZIP=yes
3266 DEFAULT_wxUSE_FS_ARCHIVE=yes
3267 DEFAULT_wxUSE_BUSYINFO=yes
3268 DEFAULT_wxUSE_ARCHIVE_STREAMS=yes
3269 DEFAULT_wxUSE_ZIPSTREAM=yes
3270 DEFAULT_wxUSE_TARSTREAM=yes
3271 DEFAULT_wxUSE_VALIDATORS=yes
3273 DEFAULT_wxUSE_ACCEL=yes
3274 DEFAULT_wxUSE_ANIMATIONCTRL=yes
3275 DEFAULT_wxUSE_BUTTON=yes
3276 DEFAULT_wxUSE_BMPBUTTON=yes
3277 DEFAULT_wxUSE_BITMAPCOMBOBOX=yes
3278 DEFAULT_wxUSE_CALCTRL=yes
3279 DEFAULT_wxUSE_CARET=yes
3280 DEFAULT_wxUSE_CHECKBOX=yes
3281 DEFAULT_wxUSE_CHECKLST=yes
3282 DEFAULT_wxUSE_CHOICE=yes
3283 DEFAULT_wxUSE_CHOICEBOOK=yes
3284 DEFAULT_wxUSE_COLLPANE=yes
3285 DEFAULT_wxUSE_COLOURPICKERCTRL=yes
3286 DEFAULT_wxUSE_COMBOBOX=yes
3287 DEFAULT_wxUSE_COMBOCTRL=yes
3288 DEFAULT_wxUSE_DATEPICKCTRL=yes
3289 DEFAULT_wxUSE_DISPLAY=yes
3290 DEFAULT_wxUSE_DETECT_SM=yes
3291 DEFAULT_wxUSE_DIRPICKERCTRL=yes
3292 DEFAULT_wxUSE_FILEPICKERCTRL=yes
3293 DEFAULT_wxUSE_FONTPICKERCTRL=yes
3294 DEFAULT_wxUSE_GAUGE=yes
3295 DEFAULT_wxUSE_GRID=yes
3296 DEFAULT_wxUSE_GRAPHICS_CONTEXT=no
3297 DEFAULT_wxUSE_HYPERLINKCTRL=yes
3298 DEFAULT_wxUSE_DATAVIEWCTRL=no
3299 DEFAULT_wxUSE_IMAGLIST=yes
3300 DEFAULT_wxUSE_LISTBOOK=yes
3301 DEFAULT_wxUSE_LISTBOX=yes
3302 DEFAULT_wxUSE_LISTCTRL=yes
3303 DEFAULT_wxUSE_NOTEBOOK=yes
3304 DEFAULT_wxUSE_ODCOMBOBOX=yes
3305 DEFAULT_wxUSE_RADIOBOX=yes
3306 DEFAULT_wxUSE_RADIOBTN=yes
3307 DEFAULT_wxUSE_SASH=yes
3308 DEFAULT_wxUSE_SCROLLBAR=yes
3309 DEFAULT_wxUSE_SEARCHCTRL=yes
3310 DEFAULT_wxUSE_SLIDER=yes
3311 DEFAULT_wxUSE_SPINBTN=yes
3312 DEFAULT_wxUSE_SPINCTRL=yes
3313 DEFAULT_wxUSE_SPLITTER=yes
3314 DEFAULT_wxUSE_STATBMP=yes
3315 DEFAULT_wxUSE_STATBOX=yes
3316 DEFAULT_wxUSE_STATLINE=yes
3317 DEFAULT_wxUSE_STATTEXT=yes
3318 DEFAULT_wxUSE_STATUSBAR=yes
3319 DEFAULT_wxUSE_TAB_DIALOG=no
3320 DEFAULT_wxUSE_TEXTCTRL=yes
3321 DEFAULT_wxUSE_TOGGLEBTN=yes
3322 DEFAULT_wxUSE_TOOLBAR=yes
3323 DEFAULT_wxUSE_TOOLBAR_NATIVE=yes
3324 DEFAULT_wxUSE_TREEBOOK=yes
3325 DEFAULT_wxUSE_TOOLBOOK=yes
3326 DEFAULT_wxUSE_TREECTRL=yes
3327 DEFAULT_wxUSE_POPUPWIN=yes
3328 DEFAULT_wxUSE_TIPWINDOW=yes
3330 DEFAULT_wxUSE_UNICODE=no
3331 DEFAULT_wxUSE_UNICODE_MSLU=yes
3332 DEFAULT_wxUSE_WCSRTOMBS=no
3334 DEFAULT_wxUSE_PALETTE=yes
3335 DEFAULT_wxUSE_IMAGE=yes
3336 DEFAULT_wxUSE_GIF=yes
3337 DEFAULT_wxUSE_PCX=yes
3338 DEFAULT_wxUSE_TGA=yes
3339 DEFAULT_wxUSE_IFF=no DEFAULT_wxUSE_PNM=yes
3340 DEFAULT_wxUSE_XPM=yes
3341 DEFAULT_wxUSE_ICO_CUR=yes
3342 DEFAULT_wxUSE_ACCESSIBILITY=no
3344 DEFAULT_wxUSE_MONOLITHIC=no
3345 DEFAULT_wxUSE_PLUGINS=no
3346 DEFAULT_wxUSE_OFFICIAL_BUILD=no
3348 DEFAULT_wxUSE_GTK2=yes
3354 for toolkit in `echo $ALL_TOOLKITS`; do
3355 LINE=`grep "wxUSE_$toolkit=" ${wx_arg_cache_file}`
3356 if test "x$LINE" != "x" ; then
3357 has_toolkit_in_cache=1
3358 eval "DEFAULT_$LINE"
3359 eval "CACHE_$toolkit=1"
3361 LINE=`grep "wx${toolkit}_VERSION=" ${wx_arg_cache_file}`
3362 if test "x$LINE" != "x" ; then
3363 eval "DEFAULT_$LINE"
3371 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gui" >&5
3372 echo $ECHO_N "checking for --${enablestring:-enable}-gui... $ECHO_C" >&6; }
3374 # Check whether --enable-gui was given.
3375 if test "${enable_gui+set}" = set; then
3376 enableval=$enable_gui;
3377 if test "$enableval" = yes; then
3378 ac_cv_use_gui='wxUSE_GUI=yes'
3380 ac_cv_use_gui='wxUSE_GUI=no'
3385 LINE=`grep "wxUSE_GUI" ${wx_arg_cache_file}`
3386 if test "x$LINE" != x ; then
3387 eval "DEFAULT_$LINE"
3392 ac_cv_use_gui='wxUSE_GUI='$DEFAULT_wxUSE_GUI
3397 eval "$ac_cv_use_gui"
3398 if test "$no_cache" != 1; then
3399 echo $ac_cv_use_gui >> ${wx_arg_cache_file}.tmp
3402 if test "$wxUSE_GUI" = yes; then
3403 { echo "$as_me:$LINENO: result: yes" >&5
3404 echo "${ECHO_T}yes" >&6; }
3406 { echo "$as_me:$LINENO: result: no" >&5
3407 echo "${ECHO_T}no" >&6; }
3412 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-monolithic" >&5
3413 echo $ECHO_N "checking for --${enablestring:-enable}-monolithic... $ECHO_C" >&6; }
3415 # Check whether --enable-monolithic was given.
3416 if test "${enable_monolithic+set}" = set; then
3417 enableval=$enable_monolithic;
3418 if test "$enableval" = yes; then
3419 ac_cv_use_monolithic='wxUSE_MONOLITHIC=yes'
3421 ac_cv_use_monolithic='wxUSE_MONOLITHIC=no'
3426 LINE=`grep "wxUSE_MONOLITHIC" ${wx_arg_cache_file}`
3427 if test "x$LINE" != x ; then
3428 eval "DEFAULT_$LINE"
3433 ac_cv_use_monolithic='wxUSE_MONOLITHIC='$DEFAULT_wxUSE_MONOLITHIC
3438 eval "$ac_cv_use_monolithic"
3439 if test "$no_cache" != 1; then
3440 echo $ac_cv_use_monolithic >> ${wx_arg_cache_file}.tmp
3443 if test "$wxUSE_MONOLITHIC" = yes; then
3444 { echo "$as_me:$LINENO: result: yes" >&5
3445 echo "${ECHO_T}yes" >&6; }
3447 { echo "$as_me:$LINENO: result: no" >&5
3448 echo "${ECHO_T}no" >&6; }
3453 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-plugins" >&5
3454 echo $ECHO_N "checking for --${enablestring:-enable}-plugins... $ECHO_C" >&6; }
3456 # Check whether --enable-plugins was given.
3457 if test "${enable_plugins+set}" = set; then
3458 enableval=$enable_plugins;
3459 if test "$enableval" = yes; then
3460 ac_cv_use_plugins='wxUSE_PLUGINS=yes'
3462 ac_cv_use_plugins='wxUSE_PLUGINS=no'
3467 LINE=`grep "wxUSE_PLUGINS" ${wx_arg_cache_file}`
3468 if test "x$LINE" != x ; then
3469 eval "DEFAULT_$LINE"
3474 ac_cv_use_plugins='wxUSE_PLUGINS='$DEFAULT_wxUSE_PLUGINS
3479 eval "$ac_cv_use_plugins"
3480 if test "$no_cache" != 1; then
3481 echo $ac_cv_use_plugins >> ${wx_arg_cache_file}.tmp
3484 if test "$wxUSE_PLUGINS" = yes; then
3485 { echo "$as_me:$LINENO: result: yes" >&5
3486 echo "${ECHO_T}yes" >&6; }
3488 { echo "$as_me:$LINENO: result: no" >&5
3489 echo "${ECHO_T}no" >&6; }
3494 { echo "$as_me:$LINENO: checking for --${withstring:-with}-subdirs" >&5
3495 echo $ECHO_N "checking for --${withstring:-with}-subdirs... $ECHO_C" >&6; }
3498 # Check whether --with-subdirs was given.
3499 if test "${with_subdirs+set}" = set; then
3500 withval=$with_subdirs;
3501 if test "$withval" = yes; then
3502 ac_cv_use_subdirs='wxWITH_SUBDIRS=yes'
3504 ac_cv_use_subdirs='wxWITH_SUBDIRS=no'
3509 LINE=`grep "wxWITH_SUBDIRS" ${wx_arg_cache_file}`
3510 if test "x$LINE" != x ; then
3511 eval "DEFAULT_$LINE"
3516 ac_cv_use_subdirs='wxWITH_SUBDIRS='$DEFAULT_wxWITH_SUBDIRS
3521 eval "$ac_cv_use_subdirs"
3522 if test "$no_cache" != 1; then
3523 echo $ac_cv_use_subdirs >> ${wx_arg_cache_file}.tmp
3526 if test "$wxWITH_SUBDIRS" = yes; then
3527 { echo "$as_me:$LINENO: result: yes" >&5
3528 echo "${ECHO_T}yes" >&6; }
3530 { echo "$as_me:$LINENO: result: no" >&5
3531 echo "${ECHO_T}no" >&6; }
3535 if test "$wxUSE_GUI" = "yes"; then
3539 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-universal" >&5
3540 echo $ECHO_N "checking for --${enablestring:-enable}-universal... $ECHO_C" >&6; }
3542 # Check whether --enable-universal was given.
3543 if test "${enable_universal+set}" = set; then
3544 enableval=$enable_universal;
3545 if test "$enableval" = yes; then
3546 ac_cv_use_universal='wxUSE_UNIVERSAL=yes'
3548 ac_cv_use_universal='wxUSE_UNIVERSAL=no'
3553 LINE=`grep "wxUSE_UNIVERSAL" ${wx_arg_cache_file}`
3554 if test "x$LINE" != x ; then
3555 eval "DEFAULT_$LINE"
3560 ac_cv_use_universal='wxUSE_UNIVERSAL='$DEFAULT_wxUSE_UNIVERSAL
3565 eval "$ac_cv_use_universal"
3566 if test "$no_cache" != 1; then
3567 echo $ac_cv_use_universal >> ${wx_arg_cache_file}.tmp
3570 if test "$wxUSE_UNIVERSAL" = yes; then
3571 { echo "$as_me:$LINENO: result: yes" >&5
3572 echo "${ECHO_T}yes" >&6; }
3574 { echo "$as_me:$LINENO: result: no" >&5
3575 echo "${ECHO_T}no" >&6; }
3579 # Check whether --with-gtk was given.
3580 if test "${with_gtk+set}" = set; then
3581 withval=$with_gtk; wxUSE_GTK="$withval" CACHE_GTK=1 TOOLKIT_GIVEN=1
3585 # Check whether --with-motif was given.
3586 if test "${with_motif+set}" = set; then
3587 withval=$with_motif; wxUSE_MOTIF="$withval" CACHE_MOTIF=1 TOOLKIT_GIVEN=1
3591 # Check whether --with-mac was given.
3592 if test "${with_mac+set}" = set; then
3593 withval=$with_mac; wxUSE_MAC="$withval" CACHE_MAC=1 TOOLKIT_GIVEN=1
3597 # Check whether --with-cocoa was given.
3598 if test "${with_cocoa+set}" = set; then
3599 withval=$with_cocoa; wxUSE_COCOA="$withval" CACHE_COCOA=1 TOOLKIT_GIVEN=1
3603 # Check whether --with-wine was given.
3604 if test "${with_wine+set}" = set; then
3605 withval=$with_wine; wxUSE_WINE="$withval" CACHE_WINE=1
3609 # Check whether --with-msw was given.
3610 if test "${with_msw+set}" = set; then
3611 withval=$with_msw; wxUSE_MSW="$withval" CACHE_MSW=1 TOOLKIT_GIVEN=1
3615 # Check whether --with-pm was given.
3616 if test "${with_pm+set}" = set; then
3617 withval=$with_pm; wxUSE_PM="$withval" CACHE_PM=1 TOOLKIT_GIVEN=1
3621 # Check whether --with-mgl was given.
3622 if test "${with_mgl+set}" = set; then
3623 withval=$with_mgl; wxUSE_MGL="$withval" wxUSE_UNIVERSAL="yes" CACHE_MGL=1 TOOLKIT_GIVEN=1
3627 # Check whether --with-directfb was given.
3628 if test "${with_directfb+set}" = set; then
3629 withval=$with_directfb; wxUSE_DFB="$withval" wxUSE_UNIVERSAL="yes" CACHE_DFB=1 TOOLKIT_GIVEN=1
3633 # Check whether --with-microwin was given.
3634 if test "${with_microwin+set}" = set; then
3635 withval=$with_microwin; wxUSE_MICROWIN="$withval" CACHE_MICROWIN=1 TOOLKIT_GIVEN=1
3639 # Check whether --with-x11 was given.
3640 if test "${with_x11+set}" = set; then
3641 withval=$with_x11; wxUSE_X11="$withval" wxUSE_UNIVERSAL="yes" CACHE_X11=1 TOOLKIT_GIVEN=1
3646 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-nanox" >&5
3647 echo $ECHO_N "checking for --${enablestring:-enable}-nanox... $ECHO_C" >&6; }
3649 # Check whether --enable-nanox was given.
3650 if test "${enable_nanox+set}" = set; then
3651 enableval=$enable_nanox;
3652 if test "$enableval" = yes; then
3653 ac_cv_use_nanox='wxUSE_NANOX=yes'
3655 ac_cv_use_nanox='wxUSE_NANOX=no'
3660 LINE=`grep "wxUSE_NANOX" ${wx_arg_cache_file}`
3661 if test "x$LINE" != x ; then
3662 eval "DEFAULT_$LINE"
3667 ac_cv_use_nanox='wxUSE_NANOX='$DEFAULT_wxUSE_NANOX
3672 eval "$ac_cv_use_nanox"
3673 if test "$no_cache" != 1; then
3674 echo $ac_cv_use_nanox >> ${wx_arg_cache_file}.tmp
3677 if test "$wxUSE_NANOX" = yes; then
3678 { echo "$as_me:$LINENO: result: yes" >&5
3679 echo "${ECHO_T}yes" >&6; }
3681 { echo "$as_me:$LINENO: result: no" >&5
3682 echo "${ECHO_T}no" >&6; }
3686 # Check whether --enable-gtk2 was given.
3687 if test "${enable_gtk2+set}" = set; then
3688 enableval=$enable_gtk2; wxUSE_GTK2="$enableval"
3693 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gpe" >&5
3694 echo $ECHO_N "checking for --${enablestring:-enable}-gpe... $ECHO_C" >&6; }
3696 # Check whether --enable-gpe was given.
3697 if test "${enable_gpe+set}" = set; then
3698 enableval=$enable_gpe;
3699 if test "$enableval" = yes; then
3700 ac_cv_use_gpe='wxUSE_GPE=yes'
3702 ac_cv_use_gpe='wxUSE_GPE=no'
3707 LINE=`grep "wxUSE_GPE" ${wx_arg_cache_file}`
3708 if test "x$LINE" != x ; then
3709 eval "DEFAULT_$LINE"
3714 ac_cv_use_gpe='wxUSE_GPE='$DEFAULT_wxUSE_GPE
3719 eval "$ac_cv_use_gpe"
3720 if test "$no_cache" != 1; then
3721 echo $ac_cv_use_gpe >> ${wx_arg_cache_file}.tmp
3724 if test "$wxUSE_GPE" = yes; then
3725 { echo "$as_me:$LINENO: result: yes" >&5
3726 echo "${ECHO_T}yes" >&6; }
3728 { echo "$as_me:$LINENO: result: no" >&5
3729 echo "${ECHO_T}no" >&6; }
3734 { echo "$as_me:$LINENO: checking for --with-libpng" >&5
3735 echo $ECHO_N "checking for --with-libpng... $ECHO_C" >&6; }
3738 # Check whether --with-libpng was given.
3739 if test "${with_libpng+set}" = set; then
3740 withval=$with_libpng;
3741 if test "$withval" = yes; then
3742 ac_cv_use_libpng='wxUSE_LIBPNG=yes'
3743 elif test "$withval" = no; then
3744 ac_cv_use_libpng='wxUSE_LIBPNG=no'
3745 elif test "$withval" = sys; then
3746 ac_cv_use_libpng='wxUSE_LIBPNG=sys'
3747 elif test "$withval" = builtin; then
3748 ac_cv_use_libpng='wxUSE_LIBPNG=builtin'
3750 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
3751 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
3752 { (exit 1); exit 1; }; }
3757 LINE=`grep "wxUSE_LIBPNG" ${wx_arg_cache_file}`
3758 if test "x$LINE" != x ; then
3759 eval "DEFAULT_$LINE"
3764 ac_cv_use_libpng='wxUSE_LIBPNG='$DEFAULT_wxUSE_LIBPNG
3769 eval "$ac_cv_use_libpng"
3770 if test "$no_cache" != 1; then
3771 echo $ac_cv_use_libpng >> ${wx_arg_cache_file}.tmp
3774 if test "$wxUSE_LIBPNG" = yes; then
3775 { echo "$as_me:$LINENO: result: yes" >&5
3776 echo "${ECHO_T}yes" >&6; }
3777 elif test "$wxUSE_LIBPNG" = no; then
3778 { echo "$as_me:$LINENO: result: no" >&5
3779 echo "${ECHO_T}no" >&6; }
3780 elif test "$wxUSE_LIBPNG" = sys; then
3781 { echo "$as_me:$LINENO: result: system version" >&5
3782 echo "${ECHO_T}system version" >&6; }
3783 elif test "$wxUSE_LIBPNG" = builtin; then
3784 { echo "$as_me:$LINENO: result: builtin version" >&5
3785 echo "${ECHO_T}builtin version" >&6; }
3787 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
3788 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
3789 { (exit 1); exit 1; }; }
3793 { echo "$as_me:$LINENO: checking for --with-libjpeg" >&5
3794 echo $ECHO_N "checking for --with-libjpeg... $ECHO_C" >&6; }
3797 # Check whether --with-libjpeg was given.
3798 if test "${with_libjpeg+set}" = set; then
3799 withval=$with_libjpeg;
3800 if test "$withval" = yes; then
3801 ac_cv_use_libjpeg='wxUSE_LIBJPEG=yes'
3802 elif test "$withval" = no; then
3803 ac_cv_use_libjpeg='wxUSE_LIBJPEG=no'
3804 elif test "$withval" = sys; then
3805 ac_cv_use_libjpeg='wxUSE_LIBJPEG=sys'
3806 elif test "$withval" = builtin; then
3807 ac_cv_use_libjpeg='wxUSE_LIBJPEG=builtin'
3809 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
3810 echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
3811 { (exit 1); exit 1; }; }
3816 LINE=`grep "wxUSE_LIBJPEG" ${wx_arg_cache_file}`
3817 if test "x$LINE" != x ; then
3818 eval "DEFAULT_$LINE"
3823 ac_cv_use_libjpeg='wxUSE_LIBJPEG='$DEFAULT_wxUSE_LIBJPEG
3828 eval "$ac_cv_use_libjpeg"
3829 if test "$no_cache" != 1; then
3830 echo $ac_cv_use_libjpeg >> ${wx_arg_cache_file}.tmp
3833 if test "$wxUSE_LIBJPEG" = yes; then
3834 { echo "$as_me:$LINENO: result: yes" >&5
3835 echo "${ECHO_T}yes" >&6; }
3836 elif test "$wxUSE_LIBJPEG" = no; then
3837 { echo "$as_me:$LINENO: result: no" >&5
3838 echo "${ECHO_T}no" >&6; }
3839 elif test "$wxUSE_LIBJPEG" = sys; then
3840 { echo "$as_me:$LINENO: result: system version" >&5
3841 echo "${ECHO_T}system version" >&6; }
3842 elif test "$wxUSE_LIBJPEG" = builtin; then
3843 { echo "$as_me:$LINENO: result: builtin version" >&5
3844 echo "${ECHO_T}builtin version" >&6; }
3846 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
3847 echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
3848 { (exit 1); exit 1; }; }
3852 { echo "$as_me:$LINENO: checking for --with-libtiff" >&5
3853 echo $ECHO_N "checking for --with-libtiff... $ECHO_C" >&6; }
3856 # Check whether --with-libtiff was given.
3857 if test "${with_libtiff+set}" = set; then
3858 withval=$with_libtiff;
3859 if test "$withval" = yes; then
3860 ac_cv_use_libtiff='wxUSE_LIBTIFF=yes'
3861 elif test "$withval" = no; then
3862 ac_cv_use_libtiff='wxUSE_LIBTIFF=no'
3863 elif test "$withval" = sys; then
3864 ac_cv_use_libtiff='wxUSE_LIBTIFF=sys'
3865 elif test "$withval" = builtin; then
3866 ac_cv_use_libtiff='wxUSE_LIBTIFF=builtin'
3868 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
3869 echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
3870 { (exit 1); exit 1; }; }
3875 LINE=`grep "wxUSE_LIBTIFF" ${wx_arg_cache_file}`
3876 if test "x$LINE" != x ; then
3877 eval "DEFAULT_$LINE"
3882 ac_cv_use_libtiff='wxUSE_LIBTIFF='$DEFAULT_wxUSE_LIBTIFF
3887 eval "$ac_cv_use_libtiff"
3888 if test "$no_cache" != 1; then
3889 echo $ac_cv_use_libtiff >> ${wx_arg_cache_file}.tmp
3892 if test "$wxUSE_LIBTIFF" = yes; then
3893 { echo "$as_me:$LINENO: result: yes" >&5
3894 echo "${ECHO_T}yes" >&6; }
3895 elif test "$wxUSE_LIBTIFF" = no; then
3896 { echo "$as_me:$LINENO: result: no" >&5
3897 echo "${ECHO_T}no" >&6; }
3898 elif test "$wxUSE_LIBTIFF" = sys; then
3899 { echo "$as_me:$LINENO: result: system version" >&5
3900 echo "${ECHO_T}system version" >&6; }
3901 elif test "$wxUSE_LIBTIFF" = builtin; then
3902 { echo "$as_me:$LINENO: result: builtin version" >&5
3903 echo "${ECHO_T}builtin version" >&6; }
3905 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
3906 echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
3907 { (exit 1); exit 1; }; }
3911 { echo "$as_me:$LINENO: checking for --with-libxpm" >&5
3912 echo $ECHO_N "checking for --with-libxpm... $ECHO_C" >&6; }
3915 # Check whether --with-libxpm was given.
3916 if test "${with_libxpm+set}" = set; then
3917 withval=$with_libxpm;
3918 if test "$withval" = yes; then
3919 ac_cv_use_libxpm='wxUSE_LIBXPM=yes'
3920 elif test "$withval" = no; then
3921 ac_cv_use_libxpm='wxUSE_LIBXPM=no'
3922 elif test "$withval" = sys; then
3923 ac_cv_use_libxpm='wxUSE_LIBXPM=sys'
3924 elif test "$withval" = builtin; then
3925 ac_cv_use_libxpm='wxUSE_LIBXPM=builtin'
3927 { { echo "$as_me:$LINENO: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&5
3928 echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
3929 { (exit 1); exit 1; }; }
3934 LINE=`grep "wxUSE_LIBXPM" ${wx_arg_cache_file}`
3935 if test "x$LINE" != x ; then
3936 eval "DEFAULT_$LINE"
3941 ac_cv_use_libxpm='wxUSE_LIBXPM='$DEFAULT_wxUSE_LIBXPM
3946 eval "$ac_cv_use_libxpm"
3947 if test "$no_cache" != 1; then
3948 echo $ac_cv_use_libxpm >> ${wx_arg_cache_file}.tmp
3951 if test "$wxUSE_LIBXPM" = yes; then
3952 { echo "$as_me:$LINENO: result: yes" >&5
3953 echo "${ECHO_T}yes" >&6; }
3954 elif test "$wxUSE_LIBXPM" = no; then
3955 { echo "$as_me:$LINENO: result: no" >&5
3956 echo "${ECHO_T}no" >&6; }
3957 elif test "$wxUSE_LIBXPM" = sys; then
3958 { echo "$as_me:$LINENO: result: system version" >&5
3959 echo "${ECHO_T}system version" >&6; }
3960 elif test "$wxUSE_LIBXPM" = builtin; then
3961 { echo "$as_me:$LINENO: result: builtin version" >&5
3962 echo "${ECHO_T}builtin version" >&6; }
3964 { { echo "$as_me:$LINENO: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&5
3965 echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
3966 { (exit 1); exit 1; }; }
3971 { echo "$as_me:$LINENO: checking for --${withstring:-with}-libmspack" >&5
3972 echo $ECHO_N "checking for --${withstring:-with}-libmspack... $ECHO_C" >&6; }
3975 # Check whether --with-libmspack was given.
3976 if test "${with_libmspack+set}" = set; then
3977 withval=$with_libmspack;
3978 if test "$withval" = yes; then
3979 ac_cv_use_libmspack='wxUSE_LIBMSPACK=yes'
3981 ac_cv_use_libmspack='wxUSE_LIBMSPACK=no'
3986 LINE=`grep "wxUSE_LIBMSPACK" ${wx_arg_cache_file}`
3987 if test "x$LINE" != x ; then
3988 eval "DEFAULT_$LINE"
3993 ac_cv_use_libmspack='wxUSE_LIBMSPACK='$DEFAULT_wxUSE_LIBMSPACK
3998 eval "$ac_cv_use_libmspack"
3999 if test "$no_cache" != 1; then
4000 echo $ac_cv_use_libmspack >> ${wx_arg_cache_file}.tmp
4003 if test "$wxUSE_LIBMSPACK" = yes; then
4004 { echo "$as_me:$LINENO: result: yes" >&5
4005 echo "${ECHO_T}yes" >&6; }
4007 { echo "$as_me:$LINENO: result: no" >&5
4008 echo "${ECHO_T}no" >&6; }
4013 { echo "$as_me:$LINENO: checking for --${withstring:-with}-sdl" >&5
4014 echo $ECHO_N "checking for --${withstring:-with}-sdl... $ECHO_C" >&6; }
4017 # Check whether --with-sdl was given.
4018 if test "${with_sdl+set}" = set; then
4020 if test "$withval" = yes; then
4021 ac_cv_use_sdl='wxUSE_LIBSDL=yes'
4023 ac_cv_use_sdl='wxUSE_LIBSDL=no'
4028 LINE=`grep "wxUSE_LIBSDL" ${wx_arg_cache_file}`
4029 if test "x$LINE" != x ; then
4030 eval "DEFAULT_$LINE"
4035 ac_cv_use_sdl='wxUSE_LIBSDL='$DEFAULT_wxUSE_LIBSDL
4040 eval "$ac_cv_use_sdl"
4041 if test "$no_cache" != 1; then
4042 echo $ac_cv_use_sdl >> ${wx_arg_cache_file}.tmp
4045 if test "$wxUSE_LIBSDL" = yes; then
4046 { echo "$as_me:$LINENO: result: yes" >&5
4047 echo "${ECHO_T}yes" >&6; }
4049 { echo "$as_me:$LINENO: result: no" >&5
4050 echo "${ECHO_T}no" >&6; }
4055 { echo "$as_me:$LINENO: checking for --${withstring:-with}-gnomeprint" >&5
4056 echo $ECHO_N "checking for --${withstring:-with}-gnomeprint... $ECHO_C" >&6; }
4059 # Check whether --with-gnomeprint was given.
4060 if test "${with_gnomeprint+set}" = set; then
4061 withval=$with_gnomeprint;
4062 if test "$withval" = yes; then
4063 ac_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT=yes'
4065 ac_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT=no'
4070 LINE=`grep "wxUSE_LIBGNOMEPRINT" ${wx_arg_cache_file}`
4071 if test "x$LINE" != x ; then
4072 eval "DEFAULT_$LINE"
4077 ac_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT='$DEFAULT_wxUSE_LIBGNOMEPRINT
4082 eval "$ac_cv_use_gnomeprint"
4083 if test "$no_cache" != 1; then
4084 echo $ac_cv_use_gnomeprint >> ${wx_arg_cache_file}.tmp
4087 if test "$wxUSE_LIBGNOMEPRINT" = yes; then
4088 { echo "$as_me:$LINENO: result: yes" >&5
4089 echo "${ECHO_T}yes" >&6; }
4091 { echo "$as_me:$LINENO: result: no" >&5
4092 echo "${ECHO_T}no" >&6; }
4097 { echo "$as_me:$LINENO: checking for --${withstring:-with}-gnomevfs" >&5
4098 echo $ECHO_N "checking for --${withstring:-with}-gnomevfs... $ECHO_C" >&6; }
4101 # Check whether --with-gnomevfs was given.
4102 if test "${with_gnomevfs+set}" = set; then
4103 withval=$with_gnomevfs;
4104 if test "$withval" = yes; then
4105 ac_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS=yes'
4107 ac_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS=no'
4112 LINE=`grep "wxUSE_LIBGNOMEVFS" ${wx_arg_cache_file}`
4113 if test "x$LINE" != x ; then
4114 eval "DEFAULT_$LINE"
4119 ac_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS='$DEFAULT_wxUSE_LIBGNOMEVFS
4124 eval "$ac_cv_use_gnomevfs"
4125 if test "$no_cache" != 1; then
4126 echo $ac_cv_use_gnomevfs >> ${wx_arg_cache_file}.tmp
4129 if test "$wxUSE_LIBGNOMEVFS" = yes; then
4130 { echo "$as_me:$LINENO: result: yes" >&5
4131 echo "${ECHO_T}yes" >&6; }
4133 { echo "$as_me:$LINENO: result: no" >&5
4134 echo "${ECHO_T}no" >&6; }
4139 { echo "$as_me:$LINENO: checking for --${withstring:-with}-hildon" >&5
4140 echo $ECHO_N "checking for --${withstring:-with}-hildon... $ECHO_C" >&6; }
4143 # Check whether --with-hildon was given.
4144 if test "${with_hildon+set}" = set; then
4145 withval=$with_hildon;
4146 if test "$withval" = yes; then
4147 ac_cv_use_hildon='wxUSE_LIBHILDON=yes'
4149 ac_cv_use_hildon='wxUSE_LIBHILDON=no'
4154 LINE=`grep "wxUSE_LIBHILDON" ${wx_arg_cache_file}`
4155 if test "x$LINE" != x ; then
4156 eval "DEFAULT_$LINE"
4161 ac_cv_use_hildon='wxUSE_LIBHILDON='$DEFAULT_wxUSE_LIBHILDON
4166 eval "$ac_cv_use_hildon"
4167 if test "$no_cache" != 1; then
4168 echo $ac_cv_use_hildon >> ${wx_arg_cache_file}.tmp
4171 if test "$wxUSE_LIBHILDON" = yes; then
4172 { echo "$as_me:$LINENO: result: yes" >&5
4173 echo "${ECHO_T}yes" >&6; }
4175 { echo "$as_me:$LINENO: result: no" >&5
4176 echo "${ECHO_T}no" >&6; }
4181 { echo "$as_me:$LINENO: checking for --${withstring:-with}-opengl" >&5
4182 echo $ECHO_N "checking for --${withstring:-with}-opengl... $ECHO_C" >&6; }
4185 # Check whether --with-opengl was given.
4186 if test "${with_opengl+set}" = set; then
4187 withval=$with_opengl;
4188 if test "$withval" = yes; then
4189 ac_cv_use_opengl='wxUSE_OPENGL=yes'
4191 ac_cv_use_opengl='wxUSE_OPENGL=no'
4196 LINE=`grep "wxUSE_OPENGL" ${wx_arg_cache_file}`
4197 if test "x$LINE" != x ; then
4198 eval "DEFAULT_$LINE"
4203 ac_cv_use_opengl='wxUSE_OPENGL='$DEFAULT_wxUSE_OPENGL
4208 eval "$ac_cv_use_opengl"
4209 if test "$no_cache" != 1; then
4210 echo $ac_cv_use_opengl >> ${wx_arg_cache_file}.tmp
4213 if test "$wxUSE_OPENGL" = yes; then
4214 { echo "$as_me:$LINENO: result: yes" >&5
4215 echo "${ECHO_T}yes" >&6; }
4217 { echo "$as_me:$LINENO: result: no" >&5
4218 echo "${ECHO_T}no" >&6; }
4222 if test "$wxUSE_UNIVERSAL" = "yes"; then
4224 # Check whether --with-themes was given.
4225 if test "${with_themes+set}" = set; then
4226 withval=$with_themes; wxUNIV_THEMES="$withval"
4235 { echo "$as_me:$LINENO: checking for --${withstring:-with}-dmalloc" >&5
4236 echo $ECHO_N "checking for --${withstring:-with}-dmalloc... $ECHO_C" >&6; }
4239 # Check whether --with-dmalloc was given.
4240 if test "${with_dmalloc+set}" = set; then
4241 withval=$with_dmalloc;
4242 if test "$withval" = yes; then
4243 ac_cv_use_dmalloc='wxUSE_DMALLOC=yes'
4245 ac_cv_use_dmalloc='wxUSE_DMALLOC=no'
4250 LINE=`grep "wxUSE_DMALLOC" ${wx_arg_cache_file}`
4251 if test "x$LINE" != x ; then
4252 eval "DEFAULT_$LINE"
4257 ac_cv_use_dmalloc='wxUSE_DMALLOC='$DEFAULT_wxUSE_DMALLOC
4262 eval "$ac_cv_use_dmalloc"
4263 if test "$no_cache" != 1; then
4264 echo $ac_cv_use_dmalloc >> ${wx_arg_cache_file}.tmp
4267 if test "$wxUSE_DMALLOC" = yes; then
4268 { echo "$as_me:$LINENO: result: yes" >&5
4269 echo "${ECHO_T}yes" >&6; }
4271 { echo "$as_me:$LINENO: result: no" >&5
4272 echo "${ECHO_T}no" >&6; }
4276 { echo "$as_me:$LINENO: checking for --with-regex" >&5
4277 echo $ECHO_N "checking for --with-regex... $ECHO_C" >&6; }
4280 # Check whether --with-regex was given.
4281 if test "${with_regex+set}" = set; then
4282 withval=$with_regex;
4283 if test "$withval" = yes; then
4284 ac_cv_use_regex='wxUSE_REGEX=yes'
4285 elif test "$withval" = no; then
4286 ac_cv_use_regex='wxUSE_REGEX=no'
4287 elif test "$withval" = sys; then
4288 ac_cv_use_regex='wxUSE_REGEX=sys'
4289 elif test "$withval" = builtin; then
4290 ac_cv_use_regex='wxUSE_REGEX=builtin'
4292 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
4293 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
4294 { (exit 1); exit 1; }; }
4299 LINE=`grep "wxUSE_REGEX" ${wx_arg_cache_file}`
4300 if test "x$LINE" != x ; then
4301 eval "DEFAULT_$LINE"
4306 ac_cv_use_regex='wxUSE_REGEX='$DEFAULT_wxUSE_REGEX
4311 eval "$ac_cv_use_regex"
4312 if test "$no_cache" != 1; then
4313 echo $ac_cv_use_regex >> ${wx_arg_cache_file}.tmp
4316 if test "$wxUSE_REGEX" = yes; then
4317 { echo "$as_me:$LINENO: result: yes" >&5
4318 echo "${ECHO_T}yes" >&6; }
4319 elif test "$wxUSE_REGEX" = no; then
4320 { echo "$as_me:$LINENO: result: no" >&5
4321 echo "${ECHO_T}no" >&6; }
4322 elif test "$wxUSE_REGEX" = sys; then
4323 { echo "$as_me:$LINENO: result: system version" >&5
4324 echo "${ECHO_T}system version" >&6; }
4325 elif test "$wxUSE_REGEX" = builtin; then
4326 { echo "$as_me:$LINENO: result: builtin version" >&5
4327 echo "${ECHO_T}builtin version" >&6; }
4329 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
4330 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
4331 { (exit 1); exit 1; }; }
4335 { echo "$as_me:$LINENO: checking for --with-zlib" >&5
4336 echo $ECHO_N "checking for --with-zlib... $ECHO_C" >&6; }
4339 # Check whether --with-zlib was given.
4340 if test "${with_zlib+set}" = set; then
4342 if test "$withval" = yes; then
4343 ac_cv_use_zlib='wxUSE_ZLIB=yes'
4344 elif test "$withval" = no; then
4345 ac_cv_use_zlib='wxUSE_ZLIB=no'
4346 elif test "$withval" = sys; then
4347 ac_cv_use_zlib='wxUSE_ZLIB=sys'
4348 elif test "$withval" = builtin; then
4349 ac_cv_use_zlib='wxUSE_ZLIB=builtin'
4351 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
4352 echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
4353 { (exit 1); exit 1; }; }
4358 LINE=`grep "wxUSE_ZLIB" ${wx_arg_cache_file}`
4359 if test "x$LINE" != x ; then
4360 eval "DEFAULT_$LINE"
4365 ac_cv_use_zlib='wxUSE_ZLIB='$DEFAULT_wxUSE_ZLIB
4370 eval "$ac_cv_use_zlib"
4371 if test "$no_cache" != 1; then
4372 echo $ac_cv_use_zlib >> ${wx_arg_cache_file}.tmp
4375 if test "$wxUSE_ZLIB" = yes; then
4376 { echo "$as_me:$LINENO: result: yes" >&5
4377 echo "${ECHO_T}yes" >&6; }
4378 elif test "$wxUSE_ZLIB" = no; then
4379 { echo "$as_me:$LINENO: result: no" >&5
4380 echo "${ECHO_T}no" >&6; }
4381 elif test "$wxUSE_ZLIB" = sys; then
4382 { echo "$as_me:$LINENO: result: system version" >&5
4383 echo "${ECHO_T}system version" >&6; }
4384 elif test "$wxUSE_ZLIB" = builtin; then
4385 { echo "$as_me:$LINENO: result: builtin version" >&5
4386 echo "${ECHO_T}builtin version" >&6; }
4388 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
4389 echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
4390 { (exit 1); exit 1; }; }
4394 { echo "$as_me:$LINENO: checking for --with-odbc" >&5
4395 echo $ECHO_N "checking for --with-odbc... $ECHO_C" >&6; }
4398 # Check whether --with-odbc was given.
4399 if test "${with_odbc+set}" = set; then
4401 if test "$withval" = yes; then
4402 ac_cv_use_odbc='wxUSE_ODBC=yes'
4403 elif test "$withval" = no; then
4404 ac_cv_use_odbc='wxUSE_ODBC=no'
4405 elif test "$withval" = sys; then
4406 ac_cv_use_odbc='wxUSE_ODBC=sys'
4407 elif test "$withval" = builtin; then
4408 ac_cv_use_odbc='wxUSE_ODBC=builtin'
4410 { { echo "$as_me:$LINENO: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&5
4411 echo "$as_me: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&2;}
4412 { (exit 1); exit 1; }; }
4417 LINE=`grep "wxUSE_ODBC" ${wx_arg_cache_file}`
4418 if test "x$LINE" != x ; then
4419 eval "DEFAULT_$LINE"
4424 ac_cv_use_odbc='wxUSE_ODBC='$DEFAULT_wxUSE_ODBC
4429 eval "$ac_cv_use_odbc"
4430 if test "$no_cache" != 1; then
4431 echo $ac_cv_use_odbc >> ${wx_arg_cache_file}.tmp
4434 if test "$wxUSE_ODBC" = yes; then
4435 { echo "$as_me:$LINENO: result: yes" >&5
4436 echo "${ECHO_T}yes" >&6; }
4437 elif test "$wxUSE_ODBC" = no; then
4438 { echo "$as_me:$LINENO: result: no" >&5
4439 echo "${ECHO_T}no" >&6; }
4440 elif test "$wxUSE_ODBC" = sys; then
4441 { echo "$as_me:$LINENO: result: system version" >&5
4442 echo "${ECHO_T}system version" >&6; }
4443 elif test "$wxUSE_ODBC" = builtin; then
4444 { echo "$as_me:$LINENO: result: builtin version" >&5
4445 echo "${ECHO_T}builtin version" >&6; }
4447 { { echo "$as_me:$LINENO: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&5
4448 echo "$as_me: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&2;}
4449 { (exit 1); exit 1; }; }
4453 { echo "$as_me:$LINENO: checking for --with-expat" >&5
4454 echo $ECHO_N "checking for --with-expat... $ECHO_C" >&6; }
4457 # Check whether --with-expat was given.
4458 if test "${with_expat+set}" = set; then
4459 withval=$with_expat;
4460 if test "$withval" = yes; then
4461 ac_cv_use_expat='wxUSE_EXPAT=yes'
4462 elif test "$withval" = no; then
4463 ac_cv_use_expat='wxUSE_EXPAT=no'
4464 elif test "$withval" = sys; then
4465 ac_cv_use_expat='wxUSE_EXPAT=sys'
4466 elif test "$withval" = builtin; then
4467 ac_cv_use_expat='wxUSE_EXPAT=builtin'
4469 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
4470 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
4471 { (exit 1); exit 1; }; }
4476 LINE=`grep "wxUSE_EXPAT" ${wx_arg_cache_file}`
4477 if test "x$LINE" != x ; then
4478 eval "DEFAULT_$LINE"
4483 ac_cv_use_expat='wxUSE_EXPAT='$DEFAULT_wxUSE_EXPAT
4488 eval "$ac_cv_use_expat"
4489 if test "$no_cache" != 1; then
4490 echo $ac_cv_use_expat >> ${wx_arg_cache_file}.tmp
4493 if test "$wxUSE_EXPAT" = yes; then
4494 { echo "$as_me:$LINENO: result: yes" >&5
4495 echo "${ECHO_T}yes" >&6; }
4496 elif test "$wxUSE_EXPAT" = no; then
4497 { echo "$as_me:$LINENO: result: no" >&5
4498 echo "${ECHO_T}no" >&6; }
4499 elif test "$wxUSE_EXPAT" = sys; then
4500 { echo "$as_me:$LINENO: result: system version" >&5
4501 echo "${ECHO_T}system version" >&6; }
4502 elif test "$wxUSE_EXPAT" = builtin; then
4503 { echo "$as_me:$LINENO: result: builtin version" >&5
4504 echo "${ECHO_T}builtin version" >&6; }
4506 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
4507 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
4508 { (exit 1); exit 1; }; }
4515 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-shared" >&5
4516 echo $ECHO_N "checking for --${enablestring:-enable}-shared... $ECHO_C" >&6; }
4518 # Check whether --enable-shared was given.
4519 if test "${enable_shared+set}" = set; then
4520 enableval=$enable_shared;
4521 if test "$enableval" = yes; then
4522 ac_cv_use_shared='wxUSE_SHARED=yes'
4524 ac_cv_use_shared='wxUSE_SHARED=no'
4529 LINE=`grep "wxUSE_SHARED" ${wx_arg_cache_file}`
4530 if test "x$LINE" != x ; then
4531 eval "DEFAULT_$LINE"
4536 ac_cv_use_shared='wxUSE_SHARED='$DEFAULT_wxUSE_SHARED
4541 eval "$ac_cv_use_shared"
4542 if test "$no_cache" != 1; then
4543 echo $ac_cv_use_shared >> ${wx_arg_cache_file}.tmp
4546 if test "$wxUSE_SHARED" = yes; then
4547 { echo "$as_me:$LINENO: result: yes" >&5
4548 echo "${ECHO_T}yes" >&6; }
4550 { echo "$as_me:$LINENO: result: no" >&5
4551 echo "${ECHO_T}no" >&6; }
4556 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-optimise" >&5
4557 echo $ECHO_N "checking for --${enablestring:-enable}-optimise... $ECHO_C" >&6; }
4559 # Check whether --enable-optimise was given.
4560 if test "${enable_optimise+set}" = set; then
4561 enableval=$enable_optimise;
4562 if test "$enableval" = yes; then
4563 ac_cv_use_optimise='wxUSE_OPTIMISE=yes'
4565 ac_cv_use_optimise='wxUSE_OPTIMISE=no'
4570 LINE=`grep "wxUSE_OPTIMISE" ${wx_arg_cache_file}`
4571 if test "x$LINE" != x ; then
4572 eval "DEFAULT_$LINE"
4577 ac_cv_use_optimise='wxUSE_OPTIMISE='$DEFAULT_wxUSE_OPTIMISE
4582 eval "$ac_cv_use_optimise"
4583 if test "$no_cache" != 1; then
4584 echo $ac_cv_use_optimise >> ${wx_arg_cache_file}.tmp
4587 if test "$wxUSE_OPTIMISE" = yes; then
4588 { echo "$as_me:$LINENO: result: yes" >&5
4589 echo "${ECHO_T}yes" >&6; }
4591 { echo "$as_me:$LINENO: result: no" >&5
4592 echo "${ECHO_T}no" >&6; }
4597 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug" >&5
4598 echo $ECHO_N "checking for --${enablestring:-enable}-debug... $ECHO_C" >&6; }
4600 # Check whether --enable-debug was given.
4601 if test "${enable_debug+set}" = set; then
4602 enableval=$enable_debug;
4603 if test "$enableval" = yes; then
4604 ac_cv_use_debug='wxUSE_DEBUG=yes'
4606 ac_cv_use_debug='wxUSE_DEBUG=no'
4611 LINE=`grep "wxUSE_DEBUG" ${wx_arg_cache_file}`
4612 if test "x$LINE" != x ; then
4613 eval "DEFAULT_$LINE"
4618 ac_cv_use_debug='wxUSE_DEBUG='$DEFAULT_wxUSE_DEBUG
4623 eval "$ac_cv_use_debug"
4624 if test "$no_cache" != 1; then
4625 echo $ac_cv_use_debug >> ${wx_arg_cache_file}.tmp
4628 if test "$wxUSE_DEBUG" = yes; then
4629 { echo "$as_me:$LINENO: result: yes" >&5
4630 echo "${ECHO_T}yes" >&6; }
4632 { echo "$as_me:$LINENO: result: no" >&5
4633 echo "${ECHO_T}no" >&6; }
4638 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stl" >&5
4639 echo $ECHO_N "checking for --${enablestring:-enable}-stl... $ECHO_C" >&6; }
4641 # Check whether --enable-stl was given.
4642 if test "${enable_stl+set}" = set; then
4643 enableval=$enable_stl;
4644 if test "$enableval" = yes; then
4645 ac_cv_use_stl='wxUSE_STL=yes'
4647 ac_cv_use_stl='wxUSE_STL=no'
4652 LINE=`grep "wxUSE_STL" ${wx_arg_cache_file}`
4653 if test "x$LINE" != x ; then
4654 eval "DEFAULT_$LINE"
4659 ac_cv_use_stl='wxUSE_STL='$DEFAULT_wxUSE_STL
4664 eval "$ac_cv_use_stl"
4665 if test "$no_cache" != 1; then
4666 echo $ac_cv_use_stl >> ${wx_arg_cache_file}.tmp
4669 if test "$wxUSE_STL" = yes; then
4670 { echo "$as_me:$LINENO: result: yes" >&5
4671 echo "${ECHO_T}yes" >&6; }
4673 { echo "$as_me:$LINENO: result: no" >&5
4674 echo "${ECHO_T}no" >&6; }
4677 if test "$USE_OS2" = "1"; then
4678 DEFAULT_wxUSE_OMF=no
4681 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-omf" >&5
4682 echo $ECHO_N "checking for --${enablestring:-enable}-omf... $ECHO_C" >&6; }
4684 # Check whether --enable-omf was given.
4685 if test "${enable_omf+set}" = set; then
4686 enableval=$enable_omf;
4687 if test "$enableval" = yes; then
4688 ac_cv_use_omf='wxUSE_OMF=yes'
4690 ac_cv_use_omf='wxUSE_OMF=no'
4695 LINE=`grep "wxUSE_OMF" ${wx_arg_cache_file}`
4696 if test "x$LINE" != x ; then
4697 eval "DEFAULT_$LINE"
4702 ac_cv_use_omf='wxUSE_OMF='$DEFAULT_wxUSE_OMF
4707 eval "$ac_cv_use_omf"
4708 if test "$no_cache" != 1; then
4709 echo $ac_cv_use_omf >> ${wx_arg_cache_file}.tmp
4712 if test "$wxUSE_OMF" = yes; then
4713 { echo "$as_me:$LINENO: result: yes" >&5
4714 echo "${ECHO_T}yes" >&6; }
4716 { echo "$as_me:$LINENO: result: no" >&5
4717 echo "${ECHO_T}no" >&6; }
4722 if test "$wxUSE_DEBUG" = "yes"; then
4723 DEFAULT_wxUSE_DEBUG_FLAG=yes
4724 DEFAULT_wxUSE_DEBUG_INFO=yes
4726 elif test "$wxUSE_DEBUG" = "no"; then
4727 DEFAULT_wxUSE_DEBUG_FLAG=no
4728 DEFAULT_wxUSE_DEBUG_INFO=no
4734 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_flag" >&5
4735 echo $ECHO_N "checking for --${enablestring:-enable}-debug_flag... $ECHO_C" >&6; }
4737 # Check whether --enable-debug_flag was given.
4738 if test "${enable_debug_flag+set}" = set; then
4739 enableval=$enable_debug_flag;
4740 if test "$enableval" = yes; then
4741 ac_cv_use_debug_flag='wxUSE_DEBUG_FLAG=yes'
4743 ac_cv_use_debug_flag='wxUSE_DEBUG_FLAG=no'
4748 LINE=`grep "wxUSE_DEBUG_FLAG" ${wx_arg_cache_file}`
4749 if test "x$LINE" != x ; then
4750 eval "DEFAULT_$LINE"
4755 ac_cv_use_debug_flag='wxUSE_DEBUG_FLAG='$DEFAULT_wxUSE_DEBUG_FLAG
4760 eval "$ac_cv_use_debug_flag"
4761 if test "$no_cache" != 1; then
4762 echo $ac_cv_use_debug_flag >> ${wx_arg_cache_file}.tmp
4765 if test "$wxUSE_DEBUG_FLAG" = yes; then
4766 { echo "$as_me:$LINENO: result: yes" >&5
4767 echo "${ECHO_T}yes" >&6; }
4769 { echo "$as_me:$LINENO: result: no" >&5
4770 echo "${ECHO_T}no" >&6; }
4775 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_info" >&5
4776 echo $ECHO_N "checking for --${enablestring:-enable}-debug_info... $ECHO_C" >&6; }
4778 # Check whether --enable-debug_info was given.
4779 if test "${enable_debug_info+set}" = set; then
4780 enableval=$enable_debug_info;
4781 if test "$enableval" = yes; then
4782 ac_cv_use_debug_info='wxUSE_DEBUG_INFO=yes'
4784 ac_cv_use_debug_info='wxUSE_DEBUG_INFO=no'
4789 LINE=`grep "wxUSE_DEBUG_INFO" ${wx_arg_cache_file}`
4790 if test "x$LINE" != x ; then
4791 eval "DEFAULT_$LINE"
4796 ac_cv_use_debug_info='wxUSE_DEBUG_INFO='$DEFAULT_wxUSE_DEBUG_INFO
4801 eval "$ac_cv_use_debug_info"
4802 if test "$no_cache" != 1; then
4803 echo $ac_cv_use_debug_info >> ${wx_arg_cache_file}.tmp
4806 if test "$wxUSE_DEBUG_INFO" = yes; then
4807 { echo "$as_me:$LINENO: result: yes" >&5
4808 echo "${ECHO_T}yes" >&6; }
4810 { echo "$as_me:$LINENO: result: no" >&5
4811 echo "${ECHO_T}no" >&6; }
4816 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_gdb" >&5
4817 echo $ECHO_N "checking for --${enablestring:-enable}-debug_gdb... $ECHO_C" >&6; }
4819 # Check whether --enable-debug_gdb was given.
4820 if test "${enable_debug_gdb+set}" = set; then
4821 enableval=$enable_debug_gdb;
4822 if test "$enableval" = yes; then
4823 ac_cv_use_debug_gdb='wxUSE_DEBUG_GDB=yes'
4825 ac_cv_use_debug_gdb='wxUSE_DEBUG_GDB=no'
4830 LINE=`grep "wxUSE_DEBUG_GDB" ${wx_arg_cache_file}`
4831 if test "x$LINE" != x ; then
4832 eval "DEFAULT_$LINE"
4837 ac_cv_use_debug_gdb='wxUSE_DEBUG_GDB='$DEFAULT_wxUSE_DEBUG_GDB
4842 eval "$ac_cv_use_debug_gdb"
4843 if test "$no_cache" != 1; then
4844 echo $ac_cv_use_debug_gdb >> ${wx_arg_cache_file}.tmp
4847 if test "$wxUSE_DEBUG_GDB" = yes; then
4848 { echo "$as_me:$LINENO: result: yes" >&5
4849 echo "${ECHO_T}yes" >&6; }
4851 { echo "$as_me:$LINENO: result: no" >&5
4852 echo "${ECHO_T}no" >&6; }
4857 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_cntxt" >&5
4858 echo $ECHO_N "checking for --${enablestring:-enable}-debug_cntxt... $ECHO_C" >&6; }
4860 # Check whether --enable-debug_cntxt was given.
4861 if test "${enable_debug_cntxt+set}" = set; then
4862 enableval=$enable_debug_cntxt;
4863 if test "$enableval" = yes; then
4864 ac_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=yes'
4866 ac_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=no'
4871 LINE=`grep "wxUSE_DEBUG_CONTEXT" ${wx_arg_cache_file}`
4872 if test "x$LINE" != x ; then
4873 eval "DEFAULT_$LINE"
4878 ac_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT='$DEFAULT_wxUSE_DEBUG_CONTEXT
4883 eval "$ac_cv_use_debug_cntxt"
4884 if test "$no_cache" != 1; then
4885 echo $ac_cv_use_debug_cntxt >> ${wx_arg_cache_file}.tmp
4888 if test "$wxUSE_DEBUG_CONTEXT" = yes; then
4889 { echo "$as_me:$LINENO: result: yes" >&5
4890 echo "${ECHO_T}yes" >&6; }
4892 { echo "$as_me:$LINENO: result: no" >&5
4893 echo "${ECHO_T}no" >&6; }
4898 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mem_tracing" >&5
4899 echo $ECHO_N "checking for --${enablestring:-enable}-mem_tracing... $ECHO_C" >&6; }
4901 # Check whether --enable-mem_tracing was given.
4902 if test "${enable_mem_tracing+set}" = set; then
4903 enableval=$enable_mem_tracing;
4904 if test "$enableval" = yes; then
4905 ac_cv_use_mem_tracing='wxUSE_MEM_TRACING=yes'
4907 ac_cv_use_mem_tracing='wxUSE_MEM_TRACING=no'
4912 LINE=`grep "wxUSE_MEM_TRACING" ${wx_arg_cache_file}`
4913 if test "x$LINE" != x ; then
4914 eval "DEFAULT_$LINE"
4919 ac_cv_use_mem_tracing='wxUSE_MEM_TRACING='$DEFAULT_wxUSE_MEM_TRACING
4924 eval "$ac_cv_use_mem_tracing"
4925 if test "$no_cache" != 1; then
4926 echo $ac_cv_use_mem_tracing >> ${wx_arg_cache_file}.tmp
4929 if test "$wxUSE_MEM_TRACING" = yes; then
4930 { echo "$as_me:$LINENO: result: yes" >&5
4931 echo "${ECHO_T}yes" >&6; }
4933 { echo "$as_me:$LINENO: result: no" >&5
4934 echo "${ECHO_T}no" >&6; }
4939 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-profile" >&5
4940 echo $ECHO_N "checking for --${enablestring:-enable}-profile... $ECHO_C" >&6; }
4942 # Check whether --enable-profile was given.
4943 if test "${enable_profile+set}" = set; then
4944 enableval=$enable_profile;
4945 if test "$enableval" = yes; then
4946 ac_cv_use_profile='wxUSE_PROFILE=yes'
4948 ac_cv_use_profile='wxUSE_PROFILE=no'
4953 LINE=`grep "wxUSE_PROFILE" ${wx_arg_cache_file}`
4954 if test "x$LINE" != x ; then
4955 eval "DEFAULT_$LINE"
4960 ac_cv_use_profile='wxUSE_PROFILE='$DEFAULT_wxUSE_PROFILE
4965 eval "$ac_cv_use_profile"
4966 if test "$no_cache" != 1; then
4967 echo $ac_cv_use_profile >> ${wx_arg_cache_file}.tmp
4970 if test "$wxUSE_PROFILE" = yes; then
4971 { echo "$as_me:$LINENO: result: yes" >&5
4972 echo "${ECHO_T}yes" >&6; }
4974 { echo "$as_me:$LINENO: result: no" >&5
4975 echo "${ECHO_T}no" >&6; }
4980 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_rtti" >&5
4981 echo $ECHO_N "checking for --${enablestring:-enable}-no_rtti... $ECHO_C" >&6; }
4983 # Check whether --enable-no_rtti was given.
4984 if test "${enable_no_rtti+set}" = set; then
4985 enableval=$enable_no_rtti;
4986 if test "$enableval" = yes; then
4987 ac_cv_use_no_rtti='wxUSE_NO_RTTI=yes'
4989 ac_cv_use_no_rtti='wxUSE_NO_RTTI=no'
4994 LINE=`grep "wxUSE_NO_RTTI" ${wx_arg_cache_file}`
4995 if test "x$LINE" != x ; then
4996 eval "DEFAULT_$LINE"
5001 ac_cv_use_no_rtti='wxUSE_NO_RTTI='$DEFAULT_wxUSE_NO_RTTI
5006 eval "$ac_cv_use_no_rtti"
5007 if test "$no_cache" != 1; then
5008 echo $ac_cv_use_no_rtti >> ${wx_arg_cache_file}.tmp
5011 if test "$wxUSE_NO_RTTI" = yes; then
5012 { echo "$as_me:$LINENO: result: yes" >&5
5013 echo "${ECHO_T}yes" >&6; }
5015 { echo "$as_me:$LINENO: result: no" >&5
5016 echo "${ECHO_T}no" >&6; }
5021 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_exceptions" >&5
5022 echo $ECHO_N "checking for --${enablestring:-enable}-no_exceptions... $ECHO_C" >&6; }
5024 # Check whether --enable-no_exceptions was given.
5025 if test "${enable_no_exceptions+set}" = set; then
5026 enableval=$enable_no_exceptions;
5027 if test "$enableval" = yes; then
5028 ac_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=yes'
5030 ac_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=no'
5035 LINE=`grep "wxUSE_NO_EXCEPTIONS" ${wx_arg_cache_file}`
5036 if test "x$LINE" != x ; then
5037 eval "DEFAULT_$LINE"
5042 ac_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS='$DEFAULT_wxUSE_NO_EXCEPTIONS
5047 eval "$ac_cv_use_no_exceptions"
5048 if test "$no_cache" != 1; then
5049 echo $ac_cv_use_no_exceptions >> ${wx_arg_cache_file}.tmp
5052 if test "$wxUSE_NO_EXCEPTIONS" = yes; then
5053 { echo "$as_me:$LINENO: result: yes" >&5
5054 echo "${ECHO_T}yes" >&6; }
5056 { echo "$as_me:$LINENO: result: no" >&5
5057 echo "${ECHO_T}no" >&6; }
5062 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-permissive" >&5
5063 echo $ECHO_N "checking for --${enablestring:-enable}-permissive... $ECHO_C" >&6; }
5065 # Check whether --enable-permissive was given.
5066 if test "${enable_permissive+set}" = set; then
5067 enableval=$enable_permissive;
5068 if test "$enableval" = yes; then
5069 ac_cv_use_permissive='wxUSE_PERMISSIVE=yes'
5071 ac_cv_use_permissive='wxUSE_PERMISSIVE=no'
5076 LINE=`grep "wxUSE_PERMISSIVE" ${wx_arg_cache_file}`
5077 if test "x$LINE" != x ; then
5078 eval "DEFAULT_$LINE"
5083 ac_cv_use_permissive='wxUSE_PERMISSIVE='$DEFAULT_wxUSE_PERMISSIVE
5088 eval "$ac_cv_use_permissive"
5089 if test "$no_cache" != 1; then
5090 echo $ac_cv_use_permissive >> ${wx_arg_cache_file}.tmp
5093 if test "$wxUSE_PERMISSIVE" = yes; then
5094 { echo "$as_me:$LINENO: result: yes" >&5
5095 echo "${ECHO_T}yes" >&6; }
5097 { echo "$as_me:$LINENO: result: no" >&5
5098 echo "${ECHO_T}no" >&6; }
5103 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_deps" >&5
5104 echo $ECHO_N "checking for --${enablestring:-enable}-no_deps... $ECHO_C" >&6; }
5106 # Check whether --enable-no_deps was given.
5107 if test "${enable_no_deps+set}" = set; then
5108 enableval=$enable_no_deps;
5109 if test "$enableval" = yes; then
5110 ac_cv_use_no_deps='wxUSE_NO_DEPS=yes'
5112 ac_cv_use_no_deps='wxUSE_NO_DEPS=no'
5117 LINE=`grep "wxUSE_NO_DEPS" ${wx_arg_cache_file}`
5118 if test "x$LINE" != x ; then
5119 eval "DEFAULT_$LINE"
5124 ac_cv_use_no_deps='wxUSE_NO_DEPS='$DEFAULT_wxUSE_NO_DEPS
5129 eval "$ac_cv_use_no_deps"
5130 if test "$no_cache" != 1; then
5131 echo $ac_cv_use_no_deps >> ${wx_arg_cache_file}.tmp
5134 if test "$wxUSE_NO_DEPS" = yes; then
5135 { echo "$as_me:$LINENO: result: yes" >&5
5136 echo "${ECHO_T}yes" >&6; }
5138 { echo "$as_me:$LINENO: result: no" >&5
5139 echo "${ECHO_T}no" >&6; }
5144 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-vararg_macros" >&5
5145 echo $ECHO_N "checking for --${enablestring:-enable}-vararg_macros... $ECHO_C" >&6; }
5147 # Check whether --enable-vararg_macros was given.
5148 if test "${enable_vararg_macros+set}" = set; then
5149 enableval=$enable_vararg_macros;
5150 if test "$enableval" = yes; then
5151 ac_cv_use_vararg_macros='wxUSE_VARARG_MACROS=yes'
5153 ac_cv_use_vararg_macros='wxUSE_VARARG_MACROS=no'
5158 LINE=`grep "wxUSE_VARARG_MACROS" ${wx_arg_cache_file}`
5159 if test "x$LINE" != x ; then
5160 eval "DEFAULT_$LINE"
5165 ac_cv_use_vararg_macros='wxUSE_VARARG_MACROS='$DEFAULT_wxUSE_VARARG_MACROS
5170 eval "$ac_cv_use_vararg_macros"
5171 if test "$no_cache" != 1; then
5172 echo $ac_cv_use_vararg_macros >> ${wx_arg_cache_file}.tmp
5175 if test "$wxUSE_VARARG_MACROS" = yes; then
5176 { echo "$as_me:$LINENO: result: yes" >&5
5177 echo "${ECHO_T}yes" >&6; }
5179 { echo "$as_me:$LINENO: result: no" >&5
5180 echo "${ECHO_T}no" >&6; }
5185 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-universal_binary" >&5
5186 echo $ECHO_N "checking for --${enablestring:-enable}-universal_binary... $ECHO_C" >&6; }
5188 # Check whether --enable-universal_binary was given.
5189 if test "${enable_universal_binary+set}" = set; then
5190 enableval=$enable_universal_binary;
5191 wx_cv_use_universal_binary="wxUSE_UNIVERSAL_BINARY='$enableval'"
5195 LINE=`grep "wxUSE_UNIVERSAL_BINARY" ${wx_arg_cache_file}`
5196 if test "x$LINE" != x ; then
5197 eval "DEFAULT_$LINE"
5198 wx_cv_use_universal_binary='wxUSE_UNIVERSAL_BINARY='$DEFAULT_wxUSE_UNIVERSAL_BINARY
5201 wx_cv_use_universal_binary="wxUSE_UNIVERSAL_BINARY=no"
5207 eval "$wx_cv_use_universal_binary"
5208 if test "$no_cache" != 1; then
5209 echo $wx_cv_use_universal_binary >> ${wx_arg_cache_file}.tmp
5212 { echo "$as_me:$LINENO: result: $wxUSE_UNIVERSAL_BINARY" >&5
5213 echo "${ECHO_T}$wxUSE_UNIVERSAL_BINARY" >&6; }
5218 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat26" >&5
5219 echo $ECHO_N "checking for --${enablestring:-enable}-compat26... $ECHO_C" >&6; }
5221 # Check whether --enable-compat26 was given.
5222 if test "${enable_compat26+set}" = set; then
5223 enableval=$enable_compat26;
5224 if test "$enableval" = yes; then
5225 ac_cv_use_compat26='WXWIN_COMPATIBILITY_2_6=yes'
5227 ac_cv_use_compat26='WXWIN_COMPATIBILITY_2_6=no'
5232 LINE=`grep "WXWIN_COMPATIBILITY_2_6" ${wx_arg_cache_file}`
5233 if test "x$LINE" != x ; then
5234 eval "DEFAULT_$LINE"
5239 ac_cv_use_compat26='WXWIN_COMPATIBILITY_2_6='$DEFAULT_WXWIN_COMPATIBILITY_2_6
5244 eval "$ac_cv_use_compat26"
5245 if test "$no_cache" != 1; then
5246 echo $ac_cv_use_compat26 >> ${wx_arg_cache_file}.tmp
5249 if test "$WXWIN_COMPATIBILITY_2_6" = yes; then
5250 { echo "$as_me:$LINENO: result: yes" >&5
5251 echo "${ECHO_T}yes" >&6; }
5253 { echo "$as_me:$LINENO: result: no" >&5
5254 echo "${ECHO_T}no" >&6; }
5258 enablestring=disable
5259 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat28" >&5
5260 echo $ECHO_N "checking for --${enablestring:-enable}-compat28... $ECHO_C" >&6; }
5262 # Check whether --enable-compat28 was given.
5263 if test "${enable_compat28+set}" = set; then
5264 enableval=$enable_compat28;
5265 if test "$enableval" = yes; then
5266 ac_cv_use_compat28='WXWIN_COMPATIBILITY_2_8=yes'
5268 ac_cv_use_compat28='WXWIN_COMPATIBILITY_2_8=no'
5273 LINE=`grep "WXWIN_COMPATIBILITY_2_8" ${wx_arg_cache_file}`
5274 if test "x$LINE" != x ; then
5275 eval "DEFAULT_$LINE"
5280 ac_cv_use_compat28='WXWIN_COMPATIBILITY_2_8='$DEFAULT_WXWIN_COMPATIBILITY_2_8
5285 eval "$ac_cv_use_compat28"
5286 if test "$no_cache" != 1; then
5287 echo $ac_cv_use_compat28 >> ${wx_arg_cache_file}.tmp
5290 if test "$WXWIN_COMPATIBILITY_2_8" = yes; then
5291 { echo "$as_me:$LINENO: result: yes" >&5
5292 echo "${ECHO_T}yes" >&6; }
5294 { echo "$as_me:$LINENO: result: no" >&5
5295 echo "${ECHO_T}no" >&6; }
5301 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-rpath" >&5
5302 echo $ECHO_N "checking for --${enablestring:-enable}-rpath... $ECHO_C" >&6; }
5304 # Check whether --enable-rpath was given.
5305 if test "${enable_rpath+set}" = set; then
5306 enableval=$enable_rpath;
5307 if test "$enableval" = yes; then
5308 ac_cv_use_rpath='wxUSE_RPATH=yes'
5310 ac_cv_use_rpath='wxUSE_RPATH=no'
5315 LINE=`grep "wxUSE_RPATH" ${wx_arg_cache_file}`
5316 if test "x$LINE" != x ; then
5317 eval "DEFAULT_$LINE"
5322 ac_cv_use_rpath='wxUSE_RPATH='$DEFAULT_wxUSE_RPATH
5327 eval "$ac_cv_use_rpath"
5328 if test "$no_cache" != 1; then
5329 echo $ac_cv_use_rpath >> ${wx_arg_cache_file}.tmp
5332 if test "$wxUSE_RPATH" = yes; then
5333 { echo "$as_me:$LINENO: result: yes" >&5
5334 echo "${ECHO_T}yes" >&6; }
5336 { echo "$as_me:$LINENO: result: no" >&5
5337 echo "${ECHO_T}no" >&6; }
5345 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-intl" >&5
5346 echo $ECHO_N "checking for --${enablestring:-enable}-intl... $ECHO_C" >&6; }
5348 # Check whether --enable-intl was given.
5349 if test "${enable_intl+set}" = set; then
5350 enableval=$enable_intl;
5351 if test "$enableval" = yes; then
5352 ac_cv_use_intl='wxUSE_INTL=yes'
5354 ac_cv_use_intl='wxUSE_INTL=no'
5359 LINE=`grep "wxUSE_INTL" ${wx_arg_cache_file}`
5360 if test "x$LINE" != x ; then
5361 eval "DEFAULT_$LINE"
5366 ac_cv_use_intl='wxUSE_INTL='$DEFAULT_wxUSE_INTL
5371 eval "$ac_cv_use_intl"
5372 if test "$no_cache" != 1; then
5373 echo $ac_cv_use_intl >> ${wx_arg_cache_file}.tmp
5376 if test "$wxUSE_INTL" = yes; then
5377 { echo "$as_me:$LINENO: result: yes" >&5
5378 echo "${ECHO_T}yes" >&6; }
5380 { echo "$as_me:$LINENO: result: no" >&5
5381 echo "${ECHO_T}no" >&6; }
5386 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-config" >&5
5387 echo $ECHO_N "checking for --${enablestring:-enable}-config... $ECHO_C" >&6; }
5389 # Check whether --enable-config was given.
5390 if test "${enable_config+set}" = set; then
5391 enableval=$enable_config;
5392 if test "$enableval" = yes; then
5393 ac_cv_use_config='wxUSE_CONFIG=yes'
5395 ac_cv_use_config='wxUSE_CONFIG=no'
5400 LINE=`grep "wxUSE_CONFIG" ${wx_arg_cache_file}`
5401 if test "x$LINE" != x ; then
5402 eval "DEFAULT_$LINE"
5407 ac_cv_use_config='wxUSE_CONFIG='$DEFAULT_wxUSE_CONFIG
5412 eval "$ac_cv_use_config"
5413 if test "$no_cache" != 1; then
5414 echo $ac_cv_use_config >> ${wx_arg_cache_file}.tmp
5417 if test "$wxUSE_CONFIG" = yes; then
5418 { echo "$as_me:$LINENO: result: yes" >&5
5419 echo "${ECHO_T}yes" >&6; }
5421 { echo "$as_me:$LINENO: result: no" >&5
5422 echo "${ECHO_T}no" >&6; }
5428 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocols" >&5
5429 echo $ECHO_N "checking for --${enablestring:-enable}-protocols... $ECHO_C" >&6; }
5431 # Check whether --enable-protocols was given.
5432 if test "${enable_protocols+set}" = set; then
5433 enableval=$enable_protocols;
5434 if test "$enableval" = yes; then
5435 ac_cv_use_protocols='wxUSE_PROTOCOL=yes'
5437 ac_cv_use_protocols='wxUSE_PROTOCOL=no'
5442 LINE=`grep "wxUSE_PROTOCOL" ${wx_arg_cache_file}`
5443 if test "x$LINE" != x ; then
5444 eval "DEFAULT_$LINE"
5449 ac_cv_use_protocols='wxUSE_PROTOCOL='$DEFAULT_wxUSE_PROTOCOL
5454 eval "$ac_cv_use_protocols"
5455 if test "$no_cache" != 1; then
5456 echo $ac_cv_use_protocols >> ${wx_arg_cache_file}.tmp
5459 if test "$wxUSE_PROTOCOL" = yes; then
5460 { echo "$as_me:$LINENO: result: yes" >&5
5461 echo "${ECHO_T}yes" >&6; }
5463 { echo "$as_me:$LINENO: result: no" >&5
5464 echo "${ECHO_T}no" >&6; }
5469 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ftp" >&5
5470 echo $ECHO_N "checking for --${enablestring:-enable}-ftp... $ECHO_C" >&6; }
5472 # Check whether --enable-ftp was given.
5473 if test "${enable_ftp+set}" = set; then
5474 enableval=$enable_ftp;
5475 if test "$enableval" = yes; then
5476 ac_cv_use_ftp='wxUSE_PROTOCOL_FTP=yes'
5478 ac_cv_use_ftp='wxUSE_PROTOCOL_FTP=no'
5483 LINE=`grep "wxUSE_PROTOCOL_FTP" ${wx_arg_cache_file}`
5484 if test "x$LINE" != x ; then
5485 eval "DEFAULT_$LINE"
5490 ac_cv_use_ftp='wxUSE_PROTOCOL_FTP='$DEFAULT_wxUSE_PROTOCOL_FTP
5495 eval "$ac_cv_use_ftp"
5496 if test "$no_cache" != 1; then
5497 echo $ac_cv_use_ftp >> ${wx_arg_cache_file}.tmp
5500 if test "$wxUSE_PROTOCOL_FTP" = yes; then
5501 { echo "$as_me:$LINENO: result: yes" >&5
5502 echo "${ECHO_T}yes" >&6; }
5504 { echo "$as_me:$LINENO: result: no" >&5
5505 echo "${ECHO_T}no" >&6; }
5510 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-http" >&5
5511 echo $ECHO_N "checking for --${enablestring:-enable}-http... $ECHO_C" >&6; }
5513 # Check whether --enable-http was given.
5514 if test "${enable_http+set}" = set; then
5515 enableval=$enable_http;
5516 if test "$enableval" = yes; then
5517 ac_cv_use_http='wxUSE_PROTOCOL_HTTP=yes'
5519 ac_cv_use_http='wxUSE_PROTOCOL_HTTP=no'
5524 LINE=`grep "wxUSE_PROTOCOL_HTTP" ${wx_arg_cache_file}`
5525 if test "x$LINE" != x ; then
5526 eval "DEFAULT_$LINE"
5531 ac_cv_use_http='wxUSE_PROTOCOL_HTTP='$DEFAULT_wxUSE_PROTOCOL_HTTP
5536 eval "$ac_cv_use_http"
5537 if test "$no_cache" != 1; then
5538 echo $ac_cv_use_http >> ${wx_arg_cache_file}.tmp
5541 if test "$wxUSE_PROTOCOL_HTTP" = yes; then
5542 { echo "$as_me:$LINENO: result: yes" >&5
5543 echo "${ECHO_T}yes" >&6; }
5545 { echo "$as_me:$LINENO: result: no" >&5
5546 echo "${ECHO_T}no" >&6; }
5551 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fileproto" >&5
5552 echo $ECHO_N "checking for --${enablestring:-enable}-fileproto... $ECHO_C" >&6; }
5554 # Check whether --enable-fileproto was given.
5555 if test "${enable_fileproto+set}" = set; then
5556 enableval=$enable_fileproto;
5557 if test "$enableval" = yes; then
5558 ac_cv_use_fileproto='wxUSE_PROTOCOL_FILE=yes'
5560 ac_cv_use_fileproto='wxUSE_PROTOCOL_FILE=no'
5565 LINE=`grep "wxUSE_PROTOCOL_FILE" ${wx_arg_cache_file}`
5566 if test "x$LINE" != x ; then
5567 eval "DEFAULT_$LINE"
5572 ac_cv_use_fileproto='wxUSE_PROTOCOL_FILE='$DEFAULT_wxUSE_PROTOCOL_FILE
5577 eval "$ac_cv_use_fileproto"
5578 if test "$no_cache" != 1; then
5579 echo $ac_cv_use_fileproto >> ${wx_arg_cache_file}.tmp
5582 if test "$wxUSE_PROTOCOL_FILE" = yes; then
5583 { echo "$as_me:$LINENO: result: yes" >&5
5584 echo "${ECHO_T}yes" >&6; }
5586 { echo "$as_me:$LINENO: result: no" >&5
5587 echo "${ECHO_T}no" >&6; }
5592 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sockets" >&5
5593 echo $ECHO_N "checking for --${enablestring:-enable}-sockets... $ECHO_C" >&6; }
5595 # Check whether --enable-sockets was given.
5596 if test "${enable_sockets+set}" = set; then
5597 enableval=$enable_sockets;
5598 if test "$enableval" = yes; then
5599 ac_cv_use_sockets='wxUSE_SOCKETS=yes'
5601 ac_cv_use_sockets='wxUSE_SOCKETS=no'
5606 LINE=`grep "wxUSE_SOCKETS" ${wx_arg_cache_file}`
5607 if test "x$LINE" != x ; then
5608 eval "DEFAULT_$LINE"
5613 ac_cv_use_sockets='wxUSE_SOCKETS='$DEFAULT_wxUSE_SOCKETS
5618 eval "$ac_cv_use_sockets"
5619 if test "$no_cache" != 1; then
5620 echo $ac_cv_use_sockets >> ${wx_arg_cache_file}.tmp
5623 if test "$wxUSE_SOCKETS" = yes; then
5624 { echo "$as_me:$LINENO: result: yes" >&5
5625 echo "${ECHO_T}yes" >&6; }
5627 { echo "$as_me:$LINENO: result: no" >&5
5628 echo "${ECHO_T}no" >&6; }
5633 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ole" >&5
5634 echo $ECHO_N "checking for --${enablestring:-enable}-ole... $ECHO_C" >&6; }
5636 # Check whether --enable-ole was given.
5637 if test "${enable_ole+set}" = set; then
5638 enableval=$enable_ole;
5639 if test "$enableval" = yes; then
5640 ac_cv_use_ole='wxUSE_OLE=yes'
5642 ac_cv_use_ole='wxUSE_OLE=no'
5647 LINE=`grep "wxUSE_OLE" ${wx_arg_cache_file}`
5648 if test "x$LINE" != x ; then
5649 eval "DEFAULT_$LINE"
5654 ac_cv_use_ole='wxUSE_OLE='$DEFAULT_wxUSE_OLE
5659 eval "$ac_cv_use_ole"
5660 if test "$no_cache" != 1; then
5661 echo $ac_cv_use_ole >> ${wx_arg_cache_file}.tmp
5664 if test "$wxUSE_OLE" = yes; then
5665 { echo "$as_me:$LINENO: result: yes" >&5
5666 echo "${ECHO_T}yes" >&6; }
5668 { echo "$as_me:$LINENO: result: no" >&5
5669 echo "${ECHO_T}no" >&6; }
5674 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dataobj" >&5
5675 echo $ECHO_N "checking for --${enablestring:-enable}-dataobj... $ECHO_C" >&6; }
5677 # Check whether --enable-dataobj was given.
5678 if test "${enable_dataobj+set}" = set; then
5679 enableval=$enable_dataobj;
5680 if test "$enableval" = yes; then
5681 ac_cv_use_dataobj='wxUSE_DATAOBJ=yes'
5683 ac_cv_use_dataobj='wxUSE_DATAOBJ=no'
5688 LINE=`grep "wxUSE_DATAOBJ" ${wx_arg_cache_file}`
5689 if test "x$LINE" != x ; then
5690 eval "DEFAULT_$LINE"
5695 ac_cv_use_dataobj='wxUSE_DATAOBJ='$DEFAULT_wxUSE_DATAOBJ
5700 eval "$ac_cv_use_dataobj"
5701 if test "$no_cache" != 1; then
5702 echo $ac_cv_use_dataobj >> ${wx_arg_cache_file}.tmp
5705 if test "$wxUSE_DATAOBJ" = yes; then
5706 { echo "$as_me:$LINENO: result: yes" >&5
5707 echo "${ECHO_T}yes" >&6; }
5709 { echo "$as_me:$LINENO: result: no" >&5
5710 echo "${ECHO_T}no" >&6; }
5716 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ipc" >&5
5717 echo $ECHO_N "checking for --${enablestring:-enable}-ipc... $ECHO_C" >&6; }
5719 # Check whether --enable-ipc was given.
5720 if test "${enable_ipc+set}" = set; then
5721 enableval=$enable_ipc;
5722 if test "$enableval" = yes; then
5723 ac_cv_use_ipc='wxUSE_IPC=yes'
5725 ac_cv_use_ipc='wxUSE_IPC=no'
5730 LINE=`grep "wxUSE_IPC" ${wx_arg_cache_file}`
5731 if test "x$LINE" != x ; then
5732 eval "DEFAULT_$LINE"
5737 ac_cv_use_ipc='wxUSE_IPC='$DEFAULT_wxUSE_IPC
5742 eval "$ac_cv_use_ipc"
5743 if test "$no_cache" != 1; then
5744 echo $ac_cv_use_ipc >> ${wx_arg_cache_file}.tmp
5747 if test "$wxUSE_IPC" = yes; then
5748 { echo "$as_me:$LINENO: result: yes" >&5
5749 echo "${ECHO_T}yes" >&6; }
5751 { echo "$as_me:$LINENO: result: no" >&5
5752 echo "${ECHO_T}no" >&6; }
5758 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-apple_ieee" >&5
5759 echo $ECHO_N "checking for --${enablestring:-enable}-apple_ieee... $ECHO_C" >&6; }
5761 # Check whether --enable-apple_ieee was given.
5762 if test "${enable_apple_ieee+set}" = set; then
5763 enableval=$enable_apple_ieee;
5764 if test "$enableval" = yes; then
5765 ac_cv_use_apple_ieee='wxUSE_APPLE_IEEE=yes'
5767 ac_cv_use_apple_ieee='wxUSE_APPLE_IEEE=no'
5772 LINE=`grep "wxUSE_APPLE_IEEE" ${wx_arg_cache_file}`
5773 if test "x$LINE" != x ; then
5774 eval "DEFAULT_$LINE"
5779 ac_cv_use_apple_ieee='wxUSE_APPLE_IEEE='$DEFAULT_wxUSE_APPLE_IEEE
5784 eval "$ac_cv_use_apple_ieee"
5785 if test "$no_cache" != 1; then
5786 echo $ac_cv_use_apple_ieee >> ${wx_arg_cache_file}.tmp
5789 if test "$wxUSE_APPLE_IEEE" = yes; then
5790 { echo "$as_me:$LINENO: result: yes" >&5
5791 echo "${ECHO_T}yes" >&6; }
5793 { echo "$as_me:$LINENO: result: no" >&5
5794 echo "${ECHO_T}no" >&6; }
5799 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-arcstream" >&5
5800 echo $ECHO_N "checking for --${enablestring:-enable}-arcstream... $ECHO_C" >&6; }
5802 # Check whether --enable-arcstream was given.
5803 if test "${enable_arcstream+set}" = set; then
5804 enableval=$enable_arcstream;
5805 if test "$enableval" = yes; then
5806 ac_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS=yes'
5808 ac_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS=no'
5813 LINE=`grep "wxUSE_ARCHIVE_STREAMS" ${wx_arg_cache_file}`
5814 if test "x$LINE" != x ; then
5815 eval "DEFAULT_$LINE"
5820 ac_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS='$DEFAULT_wxUSE_ARCHIVE_STREAMS
5825 eval "$ac_cv_use_arcstream"
5826 if test "$no_cache" != 1; then
5827 echo $ac_cv_use_arcstream >> ${wx_arg_cache_file}.tmp
5830 if test "$wxUSE_ARCHIVE_STREAMS" = yes; then
5831 { echo "$as_me:$LINENO: result: yes" >&5
5832 echo "${ECHO_T}yes" >&6; }
5834 { echo "$as_me:$LINENO: result: no" >&5
5835 echo "${ECHO_T}no" >&6; }
5840 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-backtrace" >&5
5841 echo $ECHO_N "checking for --${enablestring:-enable}-backtrace... $ECHO_C" >&6; }
5843 # Check whether --enable-backtrace was given.
5844 if test "${enable_backtrace+set}" = set; then
5845 enableval=$enable_backtrace;
5846 if test "$enableval" = yes; then
5847 ac_cv_use_backtrace='wxUSE_STACKWALKER=yes'
5849 ac_cv_use_backtrace='wxUSE_STACKWALKER=no'
5854 LINE=`grep "wxUSE_STACKWALKER" ${wx_arg_cache_file}`
5855 if test "x$LINE" != x ; then
5856 eval "DEFAULT_$LINE"
5861 ac_cv_use_backtrace='wxUSE_STACKWALKER='$DEFAULT_wxUSE_STACKWALKER
5866 eval "$ac_cv_use_backtrace"
5867 if test "$no_cache" != 1; then
5868 echo $ac_cv_use_backtrace >> ${wx_arg_cache_file}.tmp
5871 if test "$wxUSE_STACKWALKER" = yes; then
5872 { echo "$as_me:$LINENO: result: yes" >&5
5873 echo "${ECHO_T}yes" >&6; }
5875 { echo "$as_me:$LINENO: result: no" >&5
5876 echo "${ECHO_T}no" >&6; }
5881 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-catch_segvs" >&5
5882 echo $ECHO_N "checking for --${enablestring:-enable}-catch_segvs... $ECHO_C" >&6; }
5884 # Check whether --enable-catch_segvs was given.
5885 if test "${enable_catch_segvs+set}" = set; then
5886 enableval=$enable_catch_segvs;
5887 if test "$enableval" = yes; then
5888 ac_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=yes'
5890 ac_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=no'
5895 LINE=`grep "wxUSE_ON_FATAL_EXCEPTION" ${wx_arg_cache_file}`
5896 if test "x$LINE" != x ; then
5897 eval "DEFAULT_$LINE"
5902 ac_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION='$DEFAULT_wxUSE_ON_FATAL_EXCEPTION
5907 eval "$ac_cv_use_catch_segvs"
5908 if test "$no_cache" != 1; then
5909 echo $ac_cv_use_catch_segvs >> ${wx_arg_cache_file}.tmp
5912 if test "$wxUSE_ON_FATAL_EXCEPTION" = yes; then
5913 { echo "$as_me:$LINENO: result: yes" >&5
5914 echo "${ECHO_T}yes" >&6; }
5916 { echo "$as_me:$LINENO: result: no" >&5
5917 echo "${ECHO_T}no" >&6; }
5922 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-cmdline" >&5
5923 echo $ECHO_N "checking for --${enablestring:-enable}-cmdline... $ECHO_C" >&6; }
5925 # Check whether --enable-cmdline was given.
5926 if test "${enable_cmdline+set}" = set; then
5927 enableval=$enable_cmdline;
5928 if test "$enableval" = yes; then
5929 ac_cv_use_cmdline='wxUSE_CMDLINE_PARSER=yes'
5931 ac_cv_use_cmdline='wxUSE_CMDLINE_PARSER=no'
5936 LINE=`grep "wxUSE_CMDLINE_PARSER" ${wx_arg_cache_file}`
5937 if test "x$LINE" != x ; then
5938 eval "DEFAULT_$LINE"
5943 ac_cv_use_cmdline='wxUSE_CMDLINE_PARSER='$DEFAULT_wxUSE_CMDLINE_PARSER
5948 eval "$ac_cv_use_cmdline"
5949 if test "$no_cache" != 1; then
5950 echo $ac_cv_use_cmdline >> ${wx_arg_cache_file}.tmp
5953 if test "$wxUSE_CMDLINE_PARSER" = yes; then
5954 { echo "$as_me:$LINENO: result: yes" >&5
5955 echo "${ECHO_T}yes" >&6; }
5957 { echo "$as_me:$LINENO: result: no" >&5
5958 echo "${ECHO_T}no" >&6; }
5963 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-datetime" >&5
5964 echo $ECHO_N "checking for --${enablestring:-enable}-datetime... $ECHO_C" >&6; }
5966 # Check whether --enable-datetime was given.
5967 if test "${enable_datetime+set}" = set; then
5968 enableval=$enable_datetime;
5969 if test "$enableval" = yes; then
5970 ac_cv_use_datetime='wxUSE_DATETIME=yes'
5972 ac_cv_use_datetime='wxUSE_DATETIME=no'
5977 LINE=`grep "wxUSE_DATETIME" ${wx_arg_cache_file}`
5978 if test "x$LINE" != x ; then
5979 eval "DEFAULT_$LINE"
5984 ac_cv_use_datetime='wxUSE_DATETIME='$DEFAULT_wxUSE_DATETIME
5989 eval "$ac_cv_use_datetime"
5990 if test "$no_cache" != 1; then
5991 echo $ac_cv_use_datetime >> ${wx_arg_cache_file}.tmp
5994 if test "$wxUSE_DATETIME" = yes; then
5995 { echo "$as_me:$LINENO: result: yes" >&5
5996 echo "${ECHO_T}yes" >&6; }
5998 { echo "$as_me:$LINENO: result: no" >&5
5999 echo "${ECHO_T}no" >&6; }
6004 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debugreport" >&5
6005 echo $ECHO_N "checking for --${enablestring:-enable}-debugreport... $ECHO_C" >&6; }
6007 # Check whether --enable-debugreport was given.
6008 if test "${enable_debugreport+set}" = set; then
6009 enableval=$enable_debugreport;
6010 if test "$enableval" = yes; then
6011 ac_cv_use_debugreport='wxUSE_DEBUGREPORT=yes'
6013 ac_cv_use_debugreport='wxUSE_DEBUGREPORT=no'
6018 LINE=`grep "wxUSE_DEBUGREPORT" ${wx_arg_cache_file}`
6019 if test "x$LINE" != x ; then
6020 eval "DEFAULT_$LINE"
6025 ac_cv_use_debugreport='wxUSE_DEBUGREPORT='$DEFAULT_wxUSE_DEBUGREPORT
6030 eval "$ac_cv_use_debugreport"
6031 if test "$no_cache" != 1; then
6032 echo $ac_cv_use_debugreport >> ${wx_arg_cache_file}.tmp
6035 if test "$wxUSE_DEBUGREPORT" = yes; then
6036 { echo "$as_me:$LINENO: result: yes" >&5
6037 echo "${ECHO_T}yes" >&6; }
6039 { echo "$as_me:$LINENO: result: no" >&5
6040 echo "${ECHO_T}no" >&6; }
6045 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dialupman" >&5
6046 echo $ECHO_N "checking for --${enablestring:-enable}-dialupman... $ECHO_C" >&6; }
6048 # Check whether --enable-dialupman was given.
6049 if test "${enable_dialupman+set}" = set; then
6050 enableval=$enable_dialupman;
6051 if test "$enableval" = yes; then
6052 ac_cv_use_dialupman='wxUSE_DIALUP_MANAGER=yes'
6054 ac_cv_use_dialupman='wxUSE_DIALUP_MANAGER=no'
6059 LINE=`grep "wxUSE_DIALUP_MANAGER" ${wx_arg_cache_file}`
6060 if test "x$LINE" != x ; then
6061 eval "DEFAULT_$LINE"
6066 ac_cv_use_dialupman='wxUSE_DIALUP_MANAGER='$DEFAULT_wxUSE_DIALUP_MANAGER
6071 eval "$ac_cv_use_dialupman"
6072 if test "$no_cache" != 1; then
6073 echo $ac_cv_use_dialupman >> ${wx_arg_cache_file}.tmp
6076 if test "$wxUSE_DIALUP_MANAGER" = yes; then
6077 { echo "$as_me:$LINENO: result: yes" >&5
6078 echo "${ECHO_T}yes" >&6; }
6080 { echo "$as_me:$LINENO: result: no" >&5
6081 echo "${ECHO_T}no" >&6; }
6086 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynlib" >&5
6087 echo $ECHO_N "checking for --${enablestring:-enable}-dynlib... $ECHO_C" >&6; }
6089 # Check whether --enable-dynlib was given.
6090 if test "${enable_dynlib+set}" = set; then
6091 enableval=$enable_dynlib;
6092 if test "$enableval" = yes; then
6093 ac_cv_use_dynlib='wxUSE_DYNLIB_CLASS=yes'
6095 ac_cv_use_dynlib='wxUSE_DYNLIB_CLASS=no'
6100 LINE=`grep "wxUSE_DYNLIB_CLASS" ${wx_arg_cache_file}`
6101 if test "x$LINE" != x ; then
6102 eval "DEFAULT_$LINE"
6107 ac_cv_use_dynlib='wxUSE_DYNLIB_CLASS='$DEFAULT_wxUSE_DYNLIB_CLASS
6112 eval "$ac_cv_use_dynlib"
6113 if test "$no_cache" != 1; then
6114 echo $ac_cv_use_dynlib >> ${wx_arg_cache_file}.tmp
6117 if test "$wxUSE_DYNLIB_CLASS" = yes; then
6118 { echo "$as_me:$LINENO: result: yes" >&5
6119 echo "${ECHO_T}yes" >&6; }
6121 { echo "$as_me:$LINENO: result: no" >&5
6122 echo "${ECHO_T}no" >&6; }
6127 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynamicloader" >&5
6128 echo $ECHO_N "checking for --${enablestring:-enable}-dynamicloader... $ECHO_C" >&6; }
6130 # Check whether --enable-dynamicloader was given.
6131 if test "${enable_dynamicloader+set}" = set; then
6132 enableval=$enable_dynamicloader;
6133 if test "$enableval" = yes; then
6134 ac_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=yes'
6136 ac_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=no'
6141 LINE=`grep "wxUSE_DYNAMIC_LOADER" ${wx_arg_cache_file}`
6142 if test "x$LINE" != x ; then
6143 eval "DEFAULT_$LINE"
6148 ac_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER='$DEFAULT_wxUSE_DYNAMIC_LOADER
6153 eval "$ac_cv_use_dynamicloader"
6154 if test "$no_cache" != 1; then
6155 echo $ac_cv_use_dynamicloader >> ${wx_arg_cache_file}.tmp
6158 if test "$wxUSE_DYNAMIC_LOADER" = yes; then
6159 { echo "$as_me:$LINENO: result: yes" >&5
6160 echo "${ECHO_T}yes" >&6; }
6162 { echo "$as_me:$LINENO: result: no" >&5
6163 echo "${ECHO_T}no" >&6; }
6168 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-exceptions" >&5
6169 echo $ECHO_N "checking for --${enablestring:-enable}-exceptions... $ECHO_C" >&6; }
6171 # Check whether --enable-exceptions was given.
6172 if test "${enable_exceptions+set}" = set; then
6173 enableval=$enable_exceptions;
6174 if test "$enableval" = yes; then
6175 ac_cv_use_exceptions='wxUSE_EXCEPTIONS=yes'
6177 ac_cv_use_exceptions='wxUSE_EXCEPTIONS=no'
6182 LINE=`grep "wxUSE_EXCEPTIONS" ${wx_arg_cache_file}`
6183 if test "x$LINE" != x ; then
6184 eval "DEFAULT_$LINE"
6189 ac_cv_use_exceptions='wxUSE_EXCEPTIONS='$DEFAULT_wxUSE_EXCEPTIONS
6194 eval "$ac_cv_use_exceptions"
6195 if test "$no_cache" != 1; then
6196 echo $ac_cv_use_exceptions >> ${wx_arg_cache_file}.tmp
6199 if test "$wxUSE_EXCEPTIONS" = yes; then
6200 { echo "$as_me:$LINENO: result: yes" >&5
6201 echo "${ECHO_T}yes" >&6; }
6203 { echo "$as_me:$LINENO: result: no" >&5
6204 echo "${ECHO_T}no" >&6; }
6209 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ffile" >&5
6210 echo $ECHO_N "checking for --${enablestring:-enable}-ffile... $ECHO_C" >&6; }
6212 # Check whether --enable-ffile was given.
6213 if test "${enable_ffile+set}" = set; then
6214 enableval=$enable_ffile;
6215 if test "$enableval" = yes; then
6216 ac_cv_use_ffile='wxUSE_FFILE=yes'
6218 ac_cv_use_ffile='wxUSE_FFILE=no'
6223 LINE=`grep "wxUSE_FFILE" ${wx_arg_cache_file}`
6224 if test "x$LINE" != x ; then
6225 eval "DEFAULT_$LINE"
6230 ac_cv_use_ffile='wxUSE_FFILE='$DEFAULT_wxUSE_FFILE
6235 eval "$ac_cv_use_ffile"
6236 if test "$no_cache" != 1; then
6237 echo $ac_cv_use_ffile >> ${wx_arg_cache_file}.tmp
6240 if test "$wxUSE_FFILE" = yes; then
6241 { echo "$as_me:$LINENO: result: yes" >&5
6242 echo "${ECHO_T}yes" >&6; }
6244 { echo "$as_me:$LINENO: result: no" >&5
6245 echo "${ECHO_T}no" >&6; }
6250 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-file" >&5
6251 echo $ECHO_N "checking for --${enablestring:-enable}-file... $ECHO_C" >&6; }
6253 # Check whether --enable-file was given.
6254 if test "${enable_file+set}" = set; then
6255 enableval=$enable_file;
6256 if test "$enableval" = yes; then
6257 ac_cv_use_file='wxUSE_FILE=yes'
6259 ac_cv_use_file='wxUSE_FILE=no'
6264 LINE=`grep "wxUSE_FILE" ${wx_arg_cache_file}`
6265 if test "x$LINE" != x ; then
6266 eval "DEFAULT_$LINE"
6271 ac_cv_use_file='wxUSE_FILE='$DEFAULT_wxUSE_FILE
6276 eval "$ac_cv_use_file"
6277 if test "$no_cache" != 1; then
6278 echo $ac_cv_use_file >> ${wx_arg_cache_file}.tmp
6281 if test "$wxUSE_FILE" = yes; then
6282 { echo "$as_me:$LINENO: result: yes" >&5
6283 echo "${ECHO_T}yes" >&6; }
6285 { echo "$as_me:$LINENO: result: no" >&5
6286 echo "${ECHO_T}no" >&6; }
6291 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filesystem" >&5
6292 echo $ECHO_N "checking for --${enablestring:-enable}-filesystem... $ECHO_C" >&6; }
6294 # Check whether --enable-filesystem was given.
6295 if test "${enable_filesystem+set}" = set; then
6296 enableval=$enable_filesystem;
6297 if test "$enableval" = yes; then
6298 ac_cv_use_filesystem='wxUSE_FILESYSTEM=yes'
6300 ac_cv_use_filesystem='wxUSE_FILESYSTEM=no'
6305 LINE=`grep "wxUSE_FILESYSTEM" ${wx_arg_cache_file}`
6306 if test "x$LINE" != x ; then
6307 eval "DEFAULT_$LINE"
6312 ac_cv_use_filesystem='wxUSE_FILESYSTEM='$DEFAULT_wxUSE_FILESYSTEM
6317 eval "$ac_cv_use_filesystem"
6318 if test "$no_cache" != 1; then
6319 echo $ac_cv_use_filesystem >> ${wx_arg_cache_file}.tmp
6322 if test "$wxUSE_FILESYSTEM" = yes; then
6323 { echo "$as_me:$LINENO: result: yes" >&5
6324 echo "${ECHO_T}yes" >&6; }
6326 { echo "$as_me:$LINENO: result: no" >&5
6327 echo "${ECHO_T}no" >&6; }
6332 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontmap" >&5
6333 echo $ECHO_N "checking for --${enablestring:-enable}-fontmap... $ECHO_C" >&6; }
6335 # Check whether --enable-fontmap was given.
6336 if test "${enable_fontmap+set}" = set; then
6337 enableval=$enable_fontmap;
6338 if test "$enableval" = yes; then
6339 ac_cv_use_fontmap='wxUSE_FONTMAP=yes'
6341 ac_cv_use_fontmap='wxUSE_FONTMAP=no'
6346 LINE=`grep "wxUSE_FONTMAP" ${wx_arg_cache_file}`
6347 if test "x$LINE" != x ; then
6348 eval "DEFAULT_$LINE"
6353 ac_cv_use_fontmap='wxUSE_FONTMAP='$DEFAULT_wxUSE_FONTMAP
6358 eval "$ac_cv_use_fontmap"
6359 if test "$no_cache" != 1; then
6360 echo $ac_cv_use_fontmap >> ${wx_arg_cache_file}.tmp
6363 if test "$wxUSE_FONTMAP" = yes; then
6364 { echo "$as_me:$LINENO: result: yes" >&5
6365 echo "${ECHO_T}yes" >&6; }
6367 { echo "$as_me:$LINENO: result: no" >&5
6368 echo "${ECHO_T}no" >&6; }
6373 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_archive" >&5
6374 echo $ECHO_N "checking for --${enablestring:-enable}-fs_archive... $ECHO_C" >&6; }
6376 # Check whether --enable-fs_archive was given.
6377 if test "${enable_fs_archive+set}" = set; then
6378 enableval=$enable_fs_archive;
6379 if test "$enableval" = yes; then
6380 ac_cv_use_fs_archive='wxUSE_FS_ARCHIVE=yes'
6382 ac_cv_use_fs_archive='wxUSE_FS_ARCHIVE=no'
6387 LINE=`grep "wxUSE_FS_ARCHIVE" ${wx_arg_cache_file}`
6388 if test "x$LINE" != x ; then
6389 eval "DEFAULT_$LINE"
6394 ac_cv_use_fs_archive='wxUSE_FS_ARCHIVE='$DEFAULT_wxUSE_FS_ARCHIVE
6399 eval "$ac_cv_use_fs_archive"
6400 if test "$no_cache" != 1; then
6401 echo $ac_cv_use_fs_archive >> ${wx_arg_cache_file}.tmp
6404 if test "$wxUSE_FS_ARCHIVE" = yes; then
6405 { echo "$as_me:$LINENO: result: yes" >&5
6406 echo "${ECHO_T}yes" >&6; }
6408 { echo "$as_me:$LINENO: result: no" >&5
6409 echo "${ECHO_T}no" >&6; }
6414 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_inet" >&5
6415 echo $ECHO_N "checking for --${enablestring:-enable}-fs_inet... $ECHO_C" >&6; }
6417 # Check whether --enable-fs_inet was given.
6418 if test "${enable_fs_inet+set}" = set; then
6419 enableval=$enable_fs_inet;
6420 if test "$enableval" = yes; then
6421 ac_cv_use_fs_inet='wxUSE_FS_INET=yes'
6423 ac_cv_use_fs_inet='wxUSE_FS_INET=no'
6428 LINE=`grep "wxUSE_FS_INET" ${wx_arg_cache_file}`
6429 if test "x$LINE" != x ; then
6430 eval "DEFAULT_$LINE"
6435 ac_cv_use_fs_inet='wxUSE_FS_INET='$DEFAULT_wxUSE_FS_INET
6440 eval "$ac_cv_use_fs_inet"
6441 if test "$no_cache" != 1; then
6442 echo $ac_cv_use_fs_inet >> ${wx_arg_cache_file}.tmp
6445 if test "$wxUSE_FS_INET" = yes; then
6446 { echo "$as_me:$LINENO: result: yes" >&5
6447 echo "${ECHO_T}yes" >&6; }
6449 { echo "$as_me:$LINENO: result: no" >&5
6450 echo "${ECHO_T}no" >&6; }
6455 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_zip" >&5
6456 echo $ECHO_N "checking for --${enablestring:-enable}-fs_zip... $ECHO_C" >&6; }
6458 # Check whether --enable-fs_zip was given.
6459 if test "${enable_fs_zip+set}" = set; then
6460 enableval=$enable_fs_zip;
6461 if test "$enableval" = yes; then
6462 ac_cv_use_fs_zip='wxUSE_FS_ZIP=yes'
6464 ac_cv_use_fs_zip='wxUSE_FS_ZIP=no'
6469 LINE=`grep "wxUSE_FS_ZIP" ${wx_arg_cache_file}`
6470 if test "x$LINE" != x ; then
6471 eval "DEFAULT_$LINE"
6476 ac_cv_use_fs_zip='wxUSE_FS_ZIP='$DEFAULT_wxUSE_FS_ZIP
6481 eval "$ac_cv_use_fs_zip"
6482 if test "$no_cache" != 1; then
6483 echo $ac_cv_use_fs_zip >> ${wx_arg_cache_file}.tmp
6486 if test "$wxUSE_FS_ZIP" = yes; then
6487 { echo "$as_me:$LINENO: result: yes" >&5
6488 echo "${ECHO_T}yes" >&6; }
6490 { echo "$as_me:$LINENO: result: no" >&5
6491 echo "${ECHO_T}no" >&6; }
6496 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-geometry" >&5
6497 echo $ECHO_N "checking for --${enablestring:-enable}-geometry... $ECHO_C" >&6; }
6499 # Check whether --enable-geometry was given.
6500 if test "${enable_geometry+set}" = set; then
6501 enableval=$enable_geometry;
6502 if test "$enableval" = yes; then
6503 ac_cv_use_geometry='wxUSE_GEOMETRY=yes'
6505 ac_cv_use_geometry='wxUSE_GEOMETRY=no'
6510 LINE=`grep "wxUSE_GEOMETRY" ${wx_arg_cache_file}`
6511 if test "x$LINE" != x ; then
6512 eval "DEFAULT_$LINE"
6517 ac_cv_use_geometry='wxUSE_GEOMETRY='$DEFAULT_wxUSE_GEOMETRY
6522 eval "$ac_cv_use_geometry"
6523 if test "$no_cache" != 1; then
6524 echo $ac_cv_use_geometry >> ${wx_arg_cache_file}.tmp
6527 if test "$wxUSE_GEOMETRY" = yes; then
6528 { echo "$as_me:$LINENO: result: yes" >&5
6529 echo "${ECHO_T}yes" >&6; }
6531 { echo "$as_me:$LINENO: result: no" >&5
6532 echo "${ECHO_T}no" >&6; }
6537 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-log" >&5
6538 echo $ECHO_N "checking for --${enablestring:-enable}-log... $ECHO_C" >&6; }
6540 # Check whether --enable-log was given.
6541 if test "${enable_log+set}" = set; then
6542 enableval=$enable_log;
6543 if test "$enableval" = yes; then
6544 ac_cv_use_log='wxUSE_LOG=yes'
6546 ac_cv_use_log='wxUSE_LOG=no'
6551 LINE=`grep "wxUSE_LOG" ${wx_arg_cache_file}`
6552 if test "x$LINE" != x ; then
6553 eval "DEFAULT_$LINE"
6558 ac_cv_use_log='wxUSE_LOG='$DEFAULT_wxUSE_LOG
6563 eval "$ac_cv_use_log"
6564 if test "$no_cache" != 1; then
6565 echo $ac_cv_use_log >> ${wx_arg_cache_file}.tmp
6568 if test "$wxUSE_LOG" = yes; then
6569 { echo "$as_me:$LINENO: result: yes" >&5
6570 echo "${ECHO_T}yes" >&6; }
6572 { echo "$as_me:$LINENO: result: no" >&5
6573 echo "${ECHO_T}no" >&6; }
6578 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-longlong" >&5
6579 echo $ECHO_N "checking for --${enablestring:-enable}-longlong... $ECHO_C" >&6; }
6581 # Check whether --enable-longlong was given.
6582 if test "${enable_longlong+set}" = set; then
6583 enableval=$enable_longlong;
6584 if test "$enableval" = yes; then
6585 ac_cv_use_longlong='wxUSE_LONGLONG=yes'
6587 ac_cv_use_longlong='wxUSE_LONGLONG=no'
6592 LINE=`grep "wxUSE_LONGLONG" ${wx_arg_cache_file}`
6593 if test "x$LINE" != x ; then
6594 eval "DEFAULT_$LINE"
6599 ac_cv_use_longlong='wxUSE_LONGLONG='$DEFAULT_wxUSE_LONGLONG
6604 eval "$ac_cv_use_longlong"
6605 if test "$no_cache" != 1; then
6606 echo $ac_cv_use_longlong >> ${wx_arg_cache_file}.tmp
6609 if test "$wxUSE_LONGLONG" = yes; then
6610 { echo "$as_me:$LINENO: result: yes" >&5
6611 echo "${ECHO_T}yes" >&6; }
6613 { echo "$as_me:$LINENO: result: no" >&5
6614 echo "${ECHO_T}no" >&6; }
6619 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mimetype" >&5
6620 echo $ECHO_N "checking for --${enablestring:-enable}-mimetype... $ECHO_C" >&6; }
6622 # Check whether --enable-mimetype was given.
6623 if test "${enable_mimetype+set}" = set; then
6624 enableval=$enable_mimetype;
6625 if test "$enableval" = yes; then
6626 ac_cv_use_mimetype='wxUSE_MIMETYPE=yes'
6628 ac_cv_use_mimetype='wxUSE_MIMETYPE=no'
6633 LINE=`grep "wxUSE_MIMETYPE" ${wx_arg_cache_file}`
6634 if test "x$LINE" != x ; then
6635 eval "DEFAULT_$LINE"
6640 ac_cv_use_mimetype='wxUSE_MIMETYPE='$DEFAULT_wxUSE_MIMETYPE
6645 eval "$ac_cv_use_mimetype"
6646 if test "$no_cache" != 1; then
6647 echo $ac_cv_use_mimetype >> ${wx_arg_cache_file}.tmp
6650 if test "$wxUSE_MIMETYPE" = yes; then
6651 { echo "$as_me:$LINENO: result: yes" >&5
6652 echo "${ECHO_T}yes" >&6; }
6654 { echo "$as_me:$LINENO: result: no" >&5
6655 echo "${ECHO_T}no" >&6; }
6660 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mslu" >&5
6661 echo $ECHO_N "checking for --${enablestring:-enable}-mslu... $ECHO_C" >&6; }
6663 # Check whether --enable-mslu was given.
6664 if test "${enable_mslu+set}" = set; then
6665 enableval=$enable_mslu;
6666 if test "$enableval" = yes; then
6667 ac_cv_use_mslu='wxUSE_UNICODE_MSLU=yes'
6669 ac_cv_use_mslu='wxUSE_UNICODE_MSLU=no'
6674 LINE=`grep "wxUSE_UNICODE_MSLU" ${wx_arg_cache_file}`
6675 if test "x$LINE" != x ; then
6676 eval "DEFAULT_$LINE"
6681 ac_cv_use_mslu='wxUSE_UNICODE_MSLU='$DEFAULT_wxUSE_UNICODE_MSLU
6686 eval "$ac_cv_use_mslu"
6687 if test "$no_cache" != 1; then
6688 echo $ac_cv_use_mslu >> ${wx_arg_cache_file}.tmp
6691 if test "$wxUSE_UNICODE_MSLU" = yes; then
6692 { echo "$as_me:$LINENO: result: yes" >&5
6693 echo "${ECHO_T}yes" >&6; }
6695 { echo "$as_me:$LINENO: result: no" >&5
6696 echo "${ECHO_T}no" >&6; }
6701 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-snglinst" >&5
6702 echo $ECHO_N "checking for --${enablestring:-enable}-snglinst... $ECHO_C" >&6; }
6704 # Check whether --enable-snglinst was given.
6705 if test "${enable_snglinst+set}" = set; then
6706 enableval=$enable_snglinst;
6707 if test "$enableval" = yes; then
6708 ac_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=yes'
6710 ac_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=no'
6715 LINE=`grep "wxUSE_SNGLINST_CHECKER" ${wx_arg_cache_file}`
6716 if test "x$LINE" != x ; then
6717 eval "DEFAULT_$LINE"
6722 ac_cv_use_snglinst='wxUSE_SNGLINST_CHECKER='$DEFAULT_wxUSE_SNGLINST_CHECKER
6727 eval "$ac_cv_use_snglinst"
6728 if test "$no_cache" != 1; then
6729 echo $ac_cv_use_snglinst >> ${wx_arg_cache_file}.tmp
6732 if test "$wxUSE_SNGLINST_CHECKER" = yes; then
6733 { echo "$as_me:$LINENO: result: yes" >&5
6734 echo "${ECHO_T}yes" >&6; }
6736 { echo "$as_me:$LINENO: result: no" >&5
6737 echo "${ECHO_T}no" >&6; }
6742 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-std_iostreams" >&5
6743 echo $ECHO_N "checking for --${enablestring:-enable}-std_iostreams... $ECHO_C" >&6; }
6745 # Check whether --enable-std_iostreams was given.
6746 if test "${enable_std_iostreams+set}" = set; then
6747 enableval=$enable_std_iostreams;
6748 if test "$enableval" = yes; then
6749 ac_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=yes'
6751 ac_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=no'
6756 LINE=`grep "wxUSE_STD_IOSTREAM" ${wx_arg_cache_file}`
6757 if test "x$LINE" != x ; then
6758 eval "DEFAULT_$LINE"
6763 ac_cv_use_std_iostreams='wxUSE_STD_IOSTREAM='$DEFAULT_wxUSE_STD_IOSTREAM
6768 eval "$ac_cv_use_std_iostreams"
6769 if test "$no_cache" != 1; then
6770 echo $ac_cv_use_std_iostreams >> ${wx_arg_cache_file}.tmp
6773 if test "$wxUSE_STD_IOSTREAM" = yes; then
6774 { echo "$as_me:$LINENO: result: yes" >&5
6775 echo "${ECHO_T}yes" >&6; }
6777 { echo "$as_me:$LINENO: result: no" >&5
6778 echo "${ECHO_T}no" >&6; }
6783 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-std_string" >&5
6784 echo $ECHO_N "checking for --${enablestring:-enable}-std_string... $ECHO_C" >&6; }
6786 # Check whether --enable-std_string was given.
6787 if test "${enable_std_string+set}" = set; then
6788 enableval=$enable_std_string;
6789 if test "$enableval" = yes; then
6790 ac_cv_use_std_string='wxUSE_STD_STRING=yes'
6792 ac_cv_use_std_string='wxUSE_STD_STRING=no'
6797 LINE=`grep "wxUSE_STD_STRING" ${wx_arg_cache_file}`
6798 if test "x$LINE" != x ; then
6799 eval "DEFAULT_$LINE"
6804 ac_cv_use_std_string='wxUSE_STD_STRING='$DEFAULT_wxUSE_STD_STRING
6809 eval "$ac_cv_use_std_string"
6810 if test "$no_cache" != 1; then
6811 echo $ac_cv_use_std_string >> ${wx_arg_cache_file}.tmp
6814 if test "$wxUSE_STD_STRING" = yes; then
6815 { echo "$as_me:$LINENO: result: yes" >&5
6816 echo "${ECHO_T}yes" >&6; }
6818 { echo "$as_me:$LINENO: result: no" >&5
6819 echo "${ECHO_T}no" >&6; }
6824 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stdpaths" >&5
6825 echo $ECHO_N "checking for --${enablestring:-enable}-stdpaths... $ECHO_C" >&6; }
6827 # Check whether --enable-stdpaths was given.
6828 if test "${enable_stdpaths+set}" = set; then
6829 enableval=$enable_stdpaths;
6830 if test "$enableval" = yes; then
6831 ac_cv_use_stdpaths='wxUSE_STDPATHS=yes'
6833 ac_cv_use_stdpaths='wxUSE_STDPATHS=no'
6838 LINE=`grep "wxUSE_STDPATHS" ${wx_arg_cache_file}`
6839 if test "x$LINE" != x ; then
6840 eval "DEFAULT_$LINE"
6845 ac_cv_use_stdpaths='wxUSE_STDPATHS='$DEFAULT_wxUSE_STDPATHS
6850 eval "$ac_cv_use_stdpaths"
6851 if test "$no_cache" != 1; then
6852 echo $ac_cv_use_stdpaths >> ${wx_arg_cache_file}.tmp
6855 if test "$wxUSE_STDPATHS" = yes; then
6856 { echo "$as_me:$LINENO: result: yes" >&5
6857 echo "${ECHO_T}yes" >&6; }
6859 { echo "$as_me:$LINENO: result: no" >&5
6860 echo "${ECHO_T}no" >&6; }
6865 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stopwatch" >&5
6866 echo $ECHO_N "checking for --${enablestring:-enable}-stopwatch... $ECHO_C" >&6; }
6868 # Check whether --enable-stopwatch was given.
6869 if test "${enable_stopwatch+set}" = set; then
6870 enableval=$enable_stopwatch;
6871 if test "$enableval" = yes; then
6872 ac_cv_use_stopwatch='wxUSE_STOPWATCH=yes'
6874 ac_cv_use_stopwatch='wxUSE_STOPWATCH=no'
6879 LINE=`grep "wxUSE_STOPWATCH" ${wx_arg_cache_file}`
6880 if test "x$LINE" != x ; then
6881 eval "DEFAULT_$LINE"
6886 ac_cv_use_stopwatch='wxUSE_STOPWATCH='$DEFAULT_wxUSE_STOPWATCH
6891 eval "$ac_cv_use_stopwatch"
6892 if test "$no_cache" != 1; then
6893 echo $ac_cv_use_stopwatch >> ${wx_arg_cache_file}.tmp
6896 if test "$wxUSE_STOPWATCH" = yes; then
6897 { echo "$as_me:$LINENO: result: yes" >&5
6898 echo "${ECHO_T}yes" >&6; }
6900 { echo "$as_me:$LINENO: result: no" >&5
6901 echo "${ECHO_T}no" >&6; }
6906 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-streams" >&5
6907 echo $ECHO_N "checking for --${enablestring:-enable}-streams... $ECHO_C" >&6; }
6909 # Check whether --enable-streams was given.
6910 if test "${enable_streams+set}" = set; then
6911 enableval=$enable_streams;
6912 if test "$enableval" = yes; then
6913 ac_cv_use_streams='wxUSE_STREAMS=yes'
6915 ac_cv_use_streams='wxUSE_STREAMS=no'
6920 LINE=`grep "wxUSE_STREAMS" ${wx_arg_cache_file}`
6921 if test "x$LINE" != x ; then
6922 eval "DEFAULT_$LINE"
6927 ac_cv_use_streams='wxUSE_STREAMS='$DEFAULT_wxUSE_STREAMS
6932 eval "$ac_cv_use_streams"
6933 if test "$no_cache" != 1; then
6934 echo $ac_cv_use_streams >> ${wx_arg_cache_file}.tmp
6937 if test "$wxUSE_STREAMS" = yes; then
6938 { echo "$as_me:$LINENO: result: yes" >&5
6939 echo "${ECHO_T}yes" >&6; }
6941 { echo "$as_me:$LINENO: result: no" >&5
6942 echo "${ECHO_T}no" >&6; }
6947 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-system_options" >&5
6948 echo $ECHO_N "checking for --${enablestring:-enable}-system_options... $ECHO_C" >&6; }
6950 # Check whether --enable-system_options was given.
6951 if test "${enable_system_options+set}" = set; then
6952 enableval=$enable_system_options;
6953 if test "$enableval" = yes; then
6954 ac_cv_use_system_options='wxUSE_SYSTEM_OPTIONS=yes'
6956 ac_cv_use_system_options='wxUSE_SYSTEM_OPTIONS=no'
6961 LINE=`grep "wxUSE_SYSTEM_OPTIONS" ${wx_arg_cache_file}`
6962 if test "x$LINE" != x ; then
6963 eval "DEFAULT_$LINE"
6968 ac_cv_use_system_options='wxUSE_SYSTEM_OPTIONS='$DEFAULT_wxUSE_SYSTEM_OPTIONS
6973 eval "$ac_cv_use_system_options"
6974 if test "$no_cache" != 1; then
6975 echo $ac_cv_use_system_options >> ${wx_arg_cache_file}.tmp
6978 if test "$wxUSE_SYSTEM_OPTIONS" = yes; then
6979 { echo "$as_me:$LINENO: result: yes" >&5
6980 echo "${ECHO_T}yes" >&6; }
6982 { echo "$as_me:$LINENO: result: no" >&5
6983 echo "${ECHO_T}no" >&6; }
6988 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tarstream" >&5
6989 echo $ECHO_N "checking for --${enablestring:-enable}-tarstream... $ECHO_C" >&6; }
6991 # Check whether --enable-tarstream was given.
6992 if test "${enable_tarstream+set}" = set; then
6993 enableval=$enable_tarstream;
6994 if test "$enableval" = yes; then
6995 ac_cv_use_tarstream='wxUSE_TARSTREAM=yes'
6997 ac_cv_use_tarstream='wxUSE_TARSTREAM=no'
7002 LINE=`grep "wxUSE_TARSTREAM" ${wx_arg_cache_file}`
7003 if test "x$LINE" != x ; then
7004 eval "DEFAULT_$LINE"
7009 ac_cv_use_tarstream='wxUSE_TARSTREAM='$DEFAULT_wxUSE_TARSTREAM
7014 eval "$ac_cv_use_tarstream"
7015 if test "$no_cache" != 1; then
7016 echo $ac_cv_use_tarstream >> ${wx_arg_cache_file}.tmp
7019 if test "$wxUSE_TARSTREAM" = yes; then
7020 { echo "$as_me:$LINENO: result: yes" >&5
7021 echo "${ECHO_T}yes" >&6; }
7023 { echo "$as_me:$LINENO: result: no" >&5
7024 echo "${ECHO_T}no" >&6; }
7029 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textbuf" >&5
7030 echo $ECHO_N "checking for --${enablestring:-enable}-textbuf... $ECHO_C" >&6; }
7032 # Check whether --enable-textbuf was given.
7033 if test "${enable_textbuf+set}" = set; then
7034 enableval=$enable_textbuf;
7035 if test "$enableval" = yes; then
7036 ac_cv_use_textbuf='wxUSE_TEXTBUFFER=yes'
7038 ac_cv_use_textbuf='wxUSE_TEXTBUFFER=no'
7043 LINE=`grep "wxUSE_TEXTBUFFER" ${wx_arg_cache_file}`
7044 if test "x$LINE" != x ; then
7045 eval "DEFAULT_$LINE"
7050 ac_cv_use_textbuf='wxUSE_TEXTBUFFER='$DEFAULT_wxUSE_TEXTBUFFER
7055 eval "$ac_cv_use_textbuf"
7056 if test "$no_cache" != 1; then
7057 echo $ac_cv_use_textbuf >> ${wx_arg_cache_file}.tmp
7060 if test "$wxUSE_TEXTBUFFER" = yes; then
7061 { echo "$as_me:$LINENO: result: yes" >&5
7062 echo "${ECHO_T}yes" >&6; }
7064 { echo "$as_me:$LINENO: result: no" >&5
7065 echo "${ECHO_T}no" >&6; }
7070 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textfile" >&5
7071 echo $ECHO_N "checking for --${enablestring:-enable}-textfile... $ECHO_C" >&6; }
7073 # Check whether --enable-textfile was given.
7074 if test "${enable_textfile+set}" = set; then
7075 enableval=$enable_textfile;
7076 if test "$enableval" = yes; then
7077 ac_cv_use_textfile='wxUSE_TEXTFILE=yes'
7079 ac_cv_use_textfile='wxUSE_TEXTFILE=no'
7084 LINE=`grep "wxUSE_TEXTFILE" ${wx_arg_cache_file}`
7085 if test "x$LINE" != x ; then
7086 eval "DEFAULT_$LINE"
7091 ac_cv_use_textfile='wxUSE_TEXTFILE='$DEFAULT_wxUSE_TEXTFILE
7096 eval "$ac_cv_use_textfile"
7097 if test "$no_cache" != 1; then
7098 echo $ac_cv_use_textfile >> ${wx_arg_cache_file}.tmp
7101 if test "$wxUSE_TEXTFILE" = yes; then
7102 { echo "$as_me:$LINENO: result: yes" >&5
7103 echo "${ECHO_T}yes" >&6; }
7105 { echo "$as_me:$LINENO: result: no" >&5
7106 echo "${ECHO_T}no" >&6; }
7111 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-timer" >&5
7112 echo $ECHO_N "checking for --${enablestring:-enable}-timer... $ECHO_C" >&6; }
7114 # Check whether --enable-timer was given.
7115 if test "${enable_timer+set}" = set; then
7116 enableval=$enable_timer;
7117 if test "$enableval" = yes; then
7118 ac_cv_use_timer='wxUSE_TIMER=yes'
7120 ac_cv_use_timer='wxUSE_TIMER=no'
7125 LINE=`grep "wxUSE_TIMER" ${wx_arg_cache_file}`
7126 if test "x$LINE" != x ; then
7127 eval "DEFAULT_$LINE"
7132 ac_cv_use_timer='wxUSE_TIMER='$DEFAULT_wxUSE_TIMER
7137 eval "$ac_cv_use_timer"
7138 if test "$no_cache" != 1; then
7139 echo $ac_cv_use_timer >> ${wx_arg_cache_file}.tmp
7142 if test "$wxUSE_TIMER" = yes; then
7143 { echo "$as_me:$LINENO: result: yes" >&5
7144 echo "${ECHO_T}yes" >&6; }
7146 { echo "$as_me:$LINENO: result: no" >&5
7147 echo "${ECHO_T}no" >&6; }
7152 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-unicode" >&5
7153 echo $ECHO_N "checking for --${enablestring:-enable}-unicode... $ECHO_C" >&6; }
7155 # Check whether --enable-unicode was given.
7156 if test "${enable_unicode+set}" = set; then
7157 enableval=$enable_unicode;
7158 if test "$enableval" = yes; then
7159 ac_cv_use_unicode='wxUSE_UNICODE=yes'
7161 ac_cv_use_unicode='wxUSE_UNICODE=no'
7166 LINE=`grep "wxUSE_UNICODE" ${wx_arg_cache_file}`
7167 if test "x$LINE" != x ; then
7168 eval "DEFAULT_$LINE"
7173 ac_cv_use_unicode='wxUSE_UNICODE='$DEFAULT_wxUSE_UNICODE
7178 eval "$ac_cv_use_unicode"
7179 if test "$no_cache" != 1; then
7180 echo $ac_cv_use_unicode >> ${wx_arg_cache_file}.tmp
7183 if test "$wxUSE_UNICODE" = yes; then
7184 { echo "$as_me:$LINENO: result: yes" >&5
7185 echo "${ECHO_T}yes" >&6; }
7187 { echo "$as_me:$LINENO: result: no" >&5
7188 echo "${ECHO_T}no" >&6; }
7193 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sound" >&5
7194 echo $ECHO_N "checking for --${enablestring:-enable}-sound... $ECHO_C" >&6; }
7196 # Check whether --enable-sound was given.
7197 if test "${enable_sound+set}" = set; then
7198 enableval=$enable_sound;
7199 if test "$enableval" = yes; then
7200 ac_cv_use_sound='wxUSE_SOUND=yes'
7202 ac_cv_use_sound='wxUSE_SOUND=no'
7207 LINE=`grep "wxUSE_SOUND" ${wx_arg_cache_file}`
7208 if test "x$LINE" != x ; then
7209 eval "DEFAULT_$LINE"
7214 ac_cv_use_sound='wxUSE_SOUND='$DEFAULT_wxUSE_SOUND
7219 eval "$ac_cv_use_sound"
7220 if test "$no_cache" != 1; then
7221 echo $ac_cv_use_sound >> ${wx_arg_cache_file}.tmp
7224 if test "$wxUSE_SOUND" = yes; then
7225 { echo "$as_me:$LINENO: result: yes" >&5
7226 echo "${ECHO_T}yes" >&6; }
7228 { echo "$as_me:$LINENO: result: no" >&5
7229 echo "${ECHO_T}no" >&6; }
7234 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mediactrl" >&5
7235 echo $ECHO_N "checking for --${enablestring:-enable}-mediactrl... $ECHO_C" >&6; }
7237 # Check whether --enable-mediactrl was given.
7238 if test "${enable_mediactrl+set}" = set; then
7239 enableval=$enable_mediactrl;
7240 if test "$enableval" = yes; then
7241 ac_cv_use_mediactrl='wxUSE_MEDIACTRL=yes'
7243 ac_cv_use_mediactrl='wxUSE_MEDIACTRL=no'
7248 LINE=`grep "wxUSE_MEDIACTRL" ${wx_arg_cache_file}`
7249 if test "x$LINE" != x ; then
7250 eval "DEFAULT_$LINE"
7255 ac_cv_use_mediactrl='wxUSE_MEDIACTRL='$DEFAULT_wxUSE_MEDIACTRL
7260 eval "$ac_cv_use_mediactrl"
7261 if test "$no_cache" != 1; then
7262 echo $ac_cv_use_mediactrl >> ${wx_arg_cache_file}.tmp
7265 if test "$wxUSE_MEDIACTRL" = yes; then
7266 { echo "$as_me:$LINENO: result: yes" >&5
7267 echo "${ECHO_T}yes" >&6; }
7269 { echo "$as_me:$LINENO: result: no" >&5
7270 echo "${ECHO_T}no" >&6; }
7275 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gstreamer8" >&5
7276 echo $ECHO_N "checking for --${enablestring:-enable}-gstreamer8... $ECHO_C" >&6; }
7278 # Check whether --enable-gstreamer8 was given.
7279 if test "${enable_gstreamer8+set}" = set; then
7280 enableval=$enable_gstreamer8;
7281 if test "$enableval" = yes; then
7282 ac_cv_use_gstreamer8='wxUSE_GSTREAMER8=yes'
7284 ac_cv_use_gstreamer8='wxUSE_GSTREAMER8=no'
7289 LINE=`grep "wxUSE_GSTREAMER8" ${wx_arg_cache_file}`
7290 if test "x$LINE" != x ; then
7291 eval "DEFAULT_$LINE"
7296 ac_cv_use_gstreamer8='wxUSE_GSTREAMER8='$DEFAULT_wxUSE_GSTREAMER8
7301 eval "$ac_cv_use_gstreamer8"
7302 if test "$no_cache" != 1; then
7303 echo $ac_cv_use_gstreamer8 >> ${wx_arg_cache_file}.tmp
7306 if test "$wxUSE_GSTREAMER8" = yes; then
7307 { echo "$as_me:$LINENO: result: yes" >&5
7308 echo "${ECHO_T}yes" >&6; }
7310 { echo "$as_me:$LINENO: result: no" >&5
7311 echo "${ECHO_T}no" >&6; }
7316 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-printfposparam" >&5
7317 echo $ECHO_N "checking for --${enablestring:-enable}-printfposparam... $ECHO_C" >&6; }
7319 # Check whether --enable-printfposparam was given.
7320 if test "${enable_printfposparam+set}" = set; then
7321 enableval=$enable_printfposparam;
7322 if test "$enableval" = yes; then
7323 ac_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS=yes'
7325 ac_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS=no'
7330 LINE=`grep "wxUSE_PRINTF_POS_PARAMS" ${wx_arg_cache_file}`
7331 if test "x$LINE" != x ; then
7332 eval "DEFAULT_$LINE"
7337 ac_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS='$DEFAULT_wxUSE_PRINTF_POS_PARAMS
7342 eval "$ac_cv_use_printfposparam"
7343 if test "$no_cache" != 1; then
7344 echo $ac_cv_use_printfposparam >> ${wx_arg_cache_file}.tmp
7347 if test "$wxUSE_PRINTF_POS_PARAMS" = yes; then
7348 { echo "$as_me:$LINENO: result: yes" >&5
7349 echo "${ECHO_T}yes" >&6; }
7351 { echo "$as_me:$LINENO: result: no" >&5
7352 echo "${ECHO_T}no" >&6; }
7357 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-zipstream" >&5
7358 echo $ECHO_N "checking for --${enablestring:-enable}-zipstream... $ECHO_C" >&6; }
7360 # Check whether --enable-zipstream was given.
7361 if test "${enable_zipstream+set}" = set; then
7362 enableval=$enable_zipstream;
7363 if test "$enableval" = yes; then
7364 ac_cv_use_zipstream='wxUSE_ZIPSTREAM=yes'
7366 ac_cv_use_zipstream='wxUSE_ZIPSTREAM=no'
7371 LINE=`grep "wxUSE_ZIPSTREAM" ${wx_arg_cache_file}`
7372 if test "x$LINE" != x ; then
7373 eval "DEFAULT_$LINE"
7378 ac_cv_use_zipstream='wxUSE_ZIPSTREAM='$DEFAULT_wxUSE_ZIPSTREAM
7383 eval "$ac_cv_use_zipstream"
7384 if test "$no_cache" != 1; then
7385 echo $ac_cv_use_zipstream >> ${wx_arg_cache_file}.tmp
7388 if test "$wxUSE_ZIPSTREAM" = yes; then
7389 { echo "$as_me:$LINENO: result: yes" >&5
7390 echo "${ECHO_T}yes" >&6; }
7392 { echo "$as_me:$LINENO: result: no" >&5
7393 echo "${ECHO_T}no" >&6; }
7399 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-url" >&5
7400 echo $ECHO_N "checking for --${enablestring:-enable}-url... $ECHO_C" >&6; }
7402 # Check whether --enable-url was given.
7403 if test "${enable_url+set}" = set; then
7404 enableval=$enable_url;
7405 if test "$enableval" = yes; then
7406 ac_cv_use_url='wxUSE_URL=yes'
7408 ac_cv_use_url='wxUSE_URL=no'
7413 LINE=`grep "wxUSE_URL" ${wx_arg_cache_file}`
7414 if test "x$LINE" != x ; then
7415 eval "DEFAULT_$LINE"
7420 ac_cv_use_url='wxUSE_URL='$DEFAULT_wxUSE_URL
7425 eval "$ac_cv_use_url"
7426 if test "$no_cache" != 1; then
7427 echo $ac_cv_use_url >> ${wx_arg_cache_file}.tmp
7430 if test "$wxUSE_URL" = yes; then
7431 { echo "$as_me:$LINENO: result: yes" >&5
7432 echo "${ECHO_T}yes" >&6; }
7434 { echo "$as_me:$LINENO: result: no" >&5
7435 echo "${ECHO_T}no" >&6; }
7440 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-variant" >&5
7441 echo $ECHO_N "checking for --${enablestring:-enable}-variant... $ECHO_C" >&6; }
7443 # Check whether --enable-variant was given.
7444 if test "${enable_variant+set}" = set; then
7445 enableval=$enable_variant;
7446 if test "$enableval" = yes; then
7447 ac_cv_use_variant='wxUSE_VARIANT=yes'
7449 ac_cv_use_variant='wxUSE_VARIANT=no'
7454 LINE=`grep "wxUSE_VARIANT" ${wx_arg_cache_file}`
7455 if test "x$LINE" != x ; then
7456 eval "DEFAULT_$LINE"
7461 ac_cv_use_variant='wxUSE_VARIANT='$DEFAULT_wxUSE_VARIANT
7466 eval "$ac_cv_use_variant"
7467 if test "$no_cache" != 1; then
7468 echo $ac_cv_use_variant >> ${wx_arg_cache_file}.tmp
7471 if test "$wxUSE_VARIANT" = yes; then
7472 { echo "$as_me:$LINENO: result: yes" >&5
7473 echo "${ECHO_T}yes" >&6; }
7475 { echo "$as_me:$LINENO: result: no" >&5
7476 echo "${ECHO_T}no" >&6; }
7481 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol" >&5
7482 echo $ECHO_N "checking for --${enablestring:-enable}-protocol... $ECHO_C" >&6; }
7484 # Check whether --enable-protocol was given.
7485 if test "${enable_protocol+set}" = set; then
7486 enableval=$enable_protocol;
7487 if test "$enableval" = yes; then
7488 ac_cv_use_protocol='wxUSE_PROTOCOL=yes'
7490 ac_cv_use_protocol='wxUSE_PROTOCOL=no'
7495 LINE=`grep "wxUSE_PROTOCOL" ${wx_arg_cache_file}`
7496 if test "x$LINE" != x ; then
7497 eval "DEFAULT_$LINE"
7502 ac_cv_use_protocol='wxUSE_PROTOCOL='$DEFAULT_wxUSE_PROTOCOL
7507 eval "$ac_cv_use_protocol"
7508 if test "$no_cache" != 1; then
7509 echo $ac_cv_use_protocol >> ${wx_arg_cache_file}.tmp
7512 if test "$wxUSE_PROTOCOL" = yes; then
7513 { echo "$as_me:$LINENO: result: yes" >&5
7514 echo "${ECHO_T}yes" >&6; }
7516 { echo "$as_me:$LINENO: result: no" >&5
7517 echo "${ECHO_T}no" >&6; }
7522 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_http" >&5
7523 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_http... $ECHO_C" >&6; }
7525 # Check whether --enable-protocol_http was given.
7526 if test "${enable_protocol_http+set}" = set; then
7527 enableval=$enable_protocol_http;
7528 if test "$enableval" = yes; then
7529 ac_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP=yes'
7531 ac_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP=no'
7536 LINE=`grep "wxUSE_PROTOCOL_HTTP" ${wx_arg_cache_file}`
7537 if test "x$LINE" != x ; then
7538 eval "DEFAULT_$LINE"
7543 ac_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP='$DEFAULT_wxUSE_PROTOCOL_HTTP
7548 eval "$ac_cv_use_protocol_http"
7549 if test "$no_cache" != 1; then
7550 echo $ac_cv_use_protocol_http >> ${wx_arg_cache_file}.tmp
7553 if test "$wxUSE_PROTOCOL_HTTP" = yes; then
7554 { echo "$as_me:$LINENO: result: yes" >&5
7555 echo "${ECHO_T}yes" >&6; }
7557 { echo "$as_me:$LINENO: result: no" >&5
7558 echo "${ECHO_T}no" >&6; }
7563 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_ftp" >&5
7564 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_ftp... $ECHO_C" >&6; }
7566 # Check whether --enable-protocol_ftp was given.
7567 if test "${enable_protocol_ftp+set}" = set; then
7568 enableval=$enable_protocol_ftp;
7569 if test "$enableval" = yes; then
7570 ac_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=yes'
7572 ac_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=no'
7577 LINE=`grep "wxUSE_PROTOCOL_FTP" ${wx_arg_cache_file}`
7578 if test "x$LINE" != x ; then
7579 eval "DEFAULT_$LINE"
7584 ac_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP='$DEFAULT_wxUSE_PROTOCOL_FTP
7589 eval "$ac_cv_use_protocol_ftp"
7590 if test "$no_cache" != 1; then
7591 echo $ac_cv_use_protocol_ftp >> ${wx_arg_cache_file}.tmp
7594 if test "$wxUSE_PROTOCOL_FTP" = yes; then
7595 { echo "$as_me:$LINENO: result: yes" >&5
7596 echo "${ECHO_T}yes" >&6; }
7598 { echo "$as_me:$LINENO: result: no" >&5
7599 echo "${ECHO_T}no" >&6; }
7604 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_file" >&5
7605 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_file... $ECHO_C" >&6; }
7607 # Check whether --enable-protocol_file was given.
7608 if test "${enable_protocol_file+set}" = set; then
7609 enableval=$enable_protocol_file;
7610 if test "$enableval" = yes; then
7611 ac_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=yes'
7613 ac_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=no'
7618 LINE=`grep "wxUSE_PROTOCOL_FILE" ${wx_arg_cache_file}`
7619 if test "x$LINE" != x ; then
7620 eval "DEFAULT_$LINE"
7625 ac_cv_use_protocol_file='wxUSE_PROTOCOL_FILE='$DEFAULT_wxUSE_PROTOCOL_FILE
7630 eval "$ac_cv_use_protocol_file"
7631 if test "$no_cache" != 1; then
7632 echo $ac_cv_use_protocol_file >> ${wx_arg_cache_file}.tmp
7635 if test "$wxUSE_PROTOCOL_FILE" = yes; then
7636 { echo "$as_me:$LINENO: result: yes" >&5
7637 echo "${ECHO_T}yes" >&6; }
7639 { echo "$as_me:$LINENO: result: no" >&5
7640 echo "${ECHO_T}no" >&6; }
7648 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-threads" >&5
7649 echo $ECHO_N "checking for --${enablestring:-enable}-threads... $ECHO_C" >&6; }
7651 # Check whether --enable-threads was given.
7652 if test "${enable_threads+set}" = set; then
7653 enableval=$enable_threads;
7654 if test "$enableval" = yes; then
7655 ac_cv_use_threads='wxUSE_THREADS=yes'
7657 ac_cv_use_threads='wxUSE_THREADS=no'
7662 LINE=`grep "wxUSE_THREADS" ${wx_arg_cache_file}`
7663 if test "x$LINE" != x ; then
7664 eval "DEFAULT_$LINE"
7669 ac_cv_use_threads='wxUSE_THREADS='$DEFAULT_wxUSE_THREADS
7674 eval "$ac_cv_use_threads"
7675 if test "$no_cache" != 1; then
7676 echo $ac_cv_use_threads >> ${wx_arg_cache_file}.tmp
7679 if test "$wxUSE_THREADS" = yes; then
7680 { echo "$as_me:$LINENO: result: yes" >&5
7681 echo "${ECHO_T}yes" >&6; }
7683 { echo "$as_me:$LINENO: result: no" >&5
7684 echo "${ECHO_T}no" >&6; }
7688 if test "$wxUSE_GUI" = "yes"; then
7693 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-docview" >&5
7694 echo $ECHO_N "checking for --${enablestring:-enable}-docview... $ECHO_C" >&6; }
7696 # Check whether --enable-docview was given.
7697 if test "${enable_docview+set}" = set; then
7698 enableval=$enable_docview;
7699 if test "$enableval" = yes; then
7700 ac_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=yes'
7702 ac_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=no'
7707 LINE=`grep "wxUSE_DOC_VIEW_ARCHITECTURE" ${wx_arg_cache_file}`
7708 if test "x$LINE" != x ; then
7709 eval "DEFAULT_$LINE"
7714 ac_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE='$DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE
7719 eval "$ac_cv_use_docview"
7720 if test "$no_cache" != 1; then
7721 echo $ac_cv_use_docview >> ${wx_arg_cache_file}.tmp
7724 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = yes; then
7725 { echo "$as_me:$LINENO: result: yes" >&5
7726 echo "${ECHO_T}yes" >&6; }
7728 { echo "$as_me:$LINENO: result: no" >&5
7729 echo "${ECHO_T}no" >&6; }
7734 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-help" >&5
7735 echo $ECHO_N "checking for --${enablestring:-enable}-help... $ECHO_C" >&6; }
7737 # Check whether --enable-help was given.
7738 if test "${enable_help+set}" = set; then
7739 enableval=$enable_help;
7740 if test "$enableval" = yes; then
7741 ac_cv_use_help='wxUSE_HELP=yes'
7743 ac_cv_use_help='wxUSE_HELP=no'
7748 LINE=`grep "wxUSE_HELP" ${wx_arg_cache_file}`
7749 if test "x$LINE" != x ; then
7750 eval "DEFAULT_$LINE"
7755 ac_cv_use_help='wxUSE_HELP='$DEFAULT_wxUSE_HELP
7760 eval "$ac_cv_use_help"
7761 if test "$no_cache" != 1; then
7762 echo $ac_cv_use_help >> ${wx_arg_cache_file}.tmp
7765 if test "$wxUSE_HELP" = yes; then
7766 { echo "$as_me:$LINENO: result: yes" >&5
7767 echo "${ECHO_T}yes" >&6; }
7769 { echo "$as_me:$LINENO: result: no" >&5
7770 echo "${ECHO_T}no" >&6; }
7775 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mshtmlhelp" >&5
7776 echo $ECHO_N "checking for --${enablestring:-enable}-mshtmlhelp... $ECHO_C" >&6; }
7778 # Check whether --enable-mshtmlhelp was given.
7779 if test "${enable_mshtmlhelp+set}" = set; then
7780 enableval=$enable_mshtmlhelp;
7781 if test "$enableval" = yes; then
7782 ac_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=yes'
7784 ac_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=no'
7789 LINE=`grep "wxUSE_MS_HTML_HELP" ${wx_arg_cache_file}`
7790 if test "x$LINE" != x ; then
7791 eval "DEFAULT_$LINE"
7796 ac_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP='$DEFAULT_wxUSE_MS_HTML_HELP
7801 eval "$ac_cv_use_mshtmlhelp"
7802 if test "$no_cache" != 1; then
7803 echo $ac_cv_use_mshtmlhelp >> ${wx_arg_cache_file}.tmp
7806 if test "$wxUSE_MS_HTML_HELP" = yes; then
7807 { echo "$as_me:$LINENO: result: yes" >&5
7808 echo "${ECHO_T}yes" >&6; }
7810 { echo "$as_me:$LINENO: result: no" >&5
7811 echo "${ECHO_T}no" >&6; }
7816 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-html" >&5
7817 echo $ECHO_N "checking for --${enablestring:-enable}-html... $ECHO_C" >&6; }
7819 # Check whether --enable-html was given.
7820 if test "${enable_html+set}" = set; then
7821 enableval=$enable_html;
7822 if test "$enableval" = yes; then
7823 ac_cv_use_html='wxUSE_HTML=yes'
7825 ac_cv_use_html='wxUSE_HTML=no'
7830 LINE=`grep "wxUSE_HTML" ${wx_arg_cache_file}`
7831 if test "x$LINE" != x ; then
7832 eval "DEFAULT_$LINE"
7837 ac_cv_use_html='wxUSE_HTML='$DEFAULT_wxUSE_HTML
7842 eval "$ac_cv_use_html"
7843 if test "$no_cache" != 1; then
7844 echo $ac_cv_use_html >> ${wx_arg_cache_file}.tmp
7847 if test "$wxUSE_HTML" = yes; then
7848 { echo "$as_me:$LINENO: result: yes" >&5
7849 echo "${ECHO_T}yes" >&6; }
7851 { echo "$as_me:$LINENO: result: no" >&5
7852 echo "${ECHO_T}no" >&6; }
7857 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-htmlhelp" >&5
7858 echo $ECHO_N "checking for --${enablestring:-enable}-htmlhelp... $ECHO_C" >&6; }
7860 # Check whether --enable-htmlhelp was given.
7861 if test "${enable_htmlhelp+set}" = set; then
7862 enableval=$enable_htmlhelp;
7863 if test "$enableval" = yes; then
7864 ac_cv_use_htmlhelp='wxUSE_WXHTML_HELP=yes'
7866 ac_cv_use_htmlhelp='wxUSE_WXHTML_HELP=no'
7871 LINE=`grep "wxUSE_WXHTML_HELP" ${wx_arg_cache_file}`
7872 if test "x$LINE" != x ; then
7873 eval "DEFAULT_$LINE"
7878 ac_cv_use_htmlhelp='wxUSE_WXHTML_HELP='$DEFAULT_wxUSE_WXHTML_HELP
7883 eval "$ac_cv_use_htmlhelp"
7884 if test "$no_cache" != 1; then
7885 echo $ac_cv_use_htmlhelp >> ${wx_arg_cache_file}.tmp
7888 if test "$wxUSE_WXHTML_HELP" = yes; then
7889 { echo "$as_me:$LINENO: result: yes" >&5
7890 echo "${ECHO_T}yes" >&6; }
7892 { echo "$as_me:$LINENO: result: no" >&5
7893 echo "${ECHO_T}no" >&6; }
7898 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xrc" >&5
7899 echo $ECHO_N "checking for --${enablestring:-enable}-xrc... $ECHO_C" >&6; }
7901 # Check whether --enable-xrc was given.
7902 if test "${enable_xrc+set}" = set; then
7903 enableval=$enable_xrc;
7904 if test "$enableval" = yes; then
7905 ac_cv_use_xrc='wxUSE_XRC=yes'
7907 ac_cv_use_xrc='wxUSE_XRC=no'
7912 LINE=`grep "wxUSE_XRC" ${wx_arg_cache_file}`
7913 if test "x$LINE" != x ; then
7914 eval "DEFAULT_$LINE"
7919 ac_cv_use_xrc='wxUSE_XRC='$DEFAULT_wxUSE_XRC
7924 eval "$ac_cv_use_xrc"
7925 if test "$no_cache" != 1; then
7926 echo $ac_cv_use_xrc >> ${wx_arg_cache_file}.tmp
7929 if test "$wxUSE_XRC" = yes; then
7930 { echo "$as_me:$LINENO: result: yes" >&5
7931 echo "${ECHO_T}yes" >&6; }
7933 { echo "$as_me:$LINENO: result: no" >&5
7934 echo "${ECHO_T}no" >&6; }
7939 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-aui" >&5
7940 echo $ECHO_N "checking for --${enablestring:-enable}-aui... $ECHO_C" >&6; }
7942 # Check whether --enable-aui was given.
7943 if test "${enable_aui+set}" = set; then
7944 enableval=$enable_aui;
7945 if test "$enableval" = yes; then
7946 ac_cv_use_aui='wxUSE_AUI=yes'
7948 ac_cv_use_aui='wxUSE_AUI=no'
7953 LINE=`grep "wxUSE_AUI" ${wx_arg_cache_file}`
7954 if test "x$LINE" != x ; then
7955 eval "DEFAULT_$LINE"
7960 ac_cv_use_aui='wxUSE_AUI='$DEFAULT_wxUSE_AUI
7965 eval "$ac_cv_use_aui"
7966 if test "$no_cache" != 1; then
7967 echo $ac_cv_use_aui >> ${wx_arg_cache_file}.tmp
7970 if test "$wxUSE_AUI" = yes; then
7971 { echo "$as_me:$LINENO: result: yes" >&5
7972 echo "${ECHO_T}yes" >&6; }
7974 { echo "$as_me:$LINENO: result: no" >&5
7975 echo "${ECHO_T}no" >&6; }
7980 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stc" >&5
7981 echo $ECHO_N "checking for --${enablestring:-enable}-stc... $ECHO_C" >&6; }
7983 # Check whether --enable-stc was given.
7984 if test "${enable_stc+set}" = set; then
7985 enableval=$enable_stc;
7986 if test "$enableval" = yes; then
7987 ac_cv_use_stc='wxUSE_STC=yes'
7989 ac_cv_use_stc='wxUSE_STC=no'
7994 LINE=`grep "wxUSE_STC" ${wx_arg_cache_file}`
7995 if test "x$LINE" != x ; then
7996 eval "DEFAULT_$LINE"
8001 ac_cv_use_stc='wxUSE_STC='$DEFAULT_wxUSE_STC
8006 eval "$ac_cv_use_stc"
8007 if test "$no_cache" != 1; then
8008 echo $ac_cv_use_stc >> ${wx_arg_cache_file}.tmp
8011 if test "$wxUSE_STC" = yes; then
8012 { echo "$as_me:$LINENO: result: yes" >&5
8013 echo "${ECHO_T}yes" >&6; }
8015 { echo "$as_me:$LINENO: result: no" >&5
8016 echo "${ECHO_T}no" >&6; }
8021 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-constraints" >&5
8022 echo $ECHO_N "checking for --${enablestring:-enable}-constraints... $ECHO_C" >&6; }
8024 # Check whether --enable-constraints was given.
8025 if test "${enable_constraints+set}" = set; then
8026 enableval=$enable_constraints;
8027 if test "$enableval" = yes; then
8028 ac_cv_use_constraints='wxUSE_CONSTRAINTS=yes'
8030 ac_cv_use_constraints='wxUSE_CONSTRAINTS=no'
8035 LINE=`grep "wxUSE_CONSTRAINTS" ${wx_arg_cache_file}`
8036 if test "x$LINE" != x ; then
8037 eval "DEFAULT_$LINE"
8042 ac_cv_use_constraints='wxUSE_CONSTRAINTS='$DEFAULT_wxUSE_CONSTRAINTS
8047 eval "$ac_cv_use_constraints"
8048 if test "$no_cache" != 1; then
8049 echo $ac_cv_use_constraints >> ${wx_arg_cache_file}.tmp
8052 if test "$wxUSE_CONSTRAINTS" = yes; then
8053 { echo "$as_me:$LINENO: result: yes" >&5
8054 echo "${ECHO_T}yes" >&6; }
8056 { echo "$as_me:$LINENO: result: no" >&5
8057 echo "${ECHO_T}no" >&6; }
8062 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-printarch" >&5
8063 echo $ECHO_N "checking for --${enablestring:-enable}-printarch... $ECHO_C" >&6; }
8065 # Check whether --enable-printarch was given.
8066 if test "${enable_printarch+set}" = set; then
8067 enableval=$enable_printarch;
8068 if test "$enableval" = yes; then
8069 ac_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=yes'
8071 ac_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=no'
8076 LINE=`grep "wxUSE_PRINTING_ARCHITECTURE" ${wx_arg_cache_file}`
8077 if test "x$LINE" != x ; then
8078 eval "DEFAULT_$LINE"
8083 ac_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE='$DEFAULT_wxUSE_PRINTING_ARCHITECTURE
8088 eval "$ac_cv_use_printarch"
8089 if test "$no_cache" != 1; then
8090 echo $ac_cv_use_printarch >> ${wx_arg_cache_file}.tmp
8093 if test "$wxUSE_PRINTING_ARCHITECTURE" = yes; then
8094 { echo "$as_me:$LINENO: result: yes" >&5
8095 echo "${ECHO_T}yes" >&6; }
8097 { echo "$as_me:$LINENO: result: no" >&5
8098 echo "${ECHO_T}no" >&6; }
8103 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mdi" >&5
8104 echo $ECHO_N "checking for --${enablestring:-enable}-mdi... $ECHO_C" >&6; }
8106 # Check whether --enable-mdi was given.
8107 if test "${enable_mdi+set}" = set; then
8108 enableval=$enable_mdi;
8109 if test "$enableval" = yes; then
8110 ac_cv_use_mdi='wxUSE_MDI=yes'
8112 ac_cv_use_mdi='wxUSE_MDI=no'
8117 LINE=`grep "wxUSE_MDI" ${wx_arg_cache_file}`
8118 if test "x$LINE" != x ; then
8119 eval "DEFAULT_$LINE"
8124 ac_cv_use_mdi='wxUSE_MDI='$DEFAULT_wxUSE_MDI
8129 eval "$ac_cv_use_mdi"
8130 if test "$no_cache" != 1; then
8131 echo $ac_cv_use_mdi >> ${wx_arg_cache_file}.tmp
8134 if test "$wxUSE_MDI" = yes; then
8135 { echo "$as_me:$LINENO: result: yes" >&5
8136 echo "${ECHO_T}yes" >&6; }
8138 { echo "$as_me:$LINENO: result: no" >&5
8139 echo "${ECHO_T}no" >&6; }
8144 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mdidoc" >&5
8145 echo $ECHO_N "checking for --${enablestring:-enable}-mdidoc... $ECHO_C" >&6; }
8147 # Check whether --enable-mdidoc was given.
8148 if test "${enable_mdidoc+set}" = set; then
8149 enableval=$enable_mdidoc;
8150 if test "$enableval" = yes; then
8151 ac_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE=yes'
8153 ac_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE=no'
8158 LINE=`grep "wxUSE_MDI_ARCHITECTURE" ${wx_arg_cache_file}`
8159 if test "x$LINE" != x ; then
8160 eval "DEFAULT_$LINE"
8165 ac_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE='$DEFAULT_wxUSE_MDI_ARCHITECTURE
8170 eval "$ac_cv_use_mdidoc"
8171 if test "$no_cache" != 1; then
8172 echo $ac_cv_use_mdidoc >> ${wx_arg_cache_file}.tmp
8175 if test "$wxUSE_MDI_ARCHITECTURE" = yes; then
8176 { echo "$as_me:$LINENO: result: yes" >&5
8177 echo "${ECHO_T}yes" >&6; }
8179 { echo "$as_me:$LINENO: result: no" >&5
8180 echo "${ECHO_T}no" >&6; }
8185 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-loggui" >&5
8186 echo $ECHO_N "checking for --${enablestring:-enable}-loggui... $ECHO_C" >&6; }
8188 # Check whether --enable-loggui was given.
8189 if test "${enable_loggui+set}" = set; then
8190 enableval=$enable_loggui;
8191 if test "$enableval" = yes; then
8192 ac_cv_use_loggui='wxUSE_LOGGUI=yes'
8194 ac_cv_use_loggui='wxUSE_LOGGUI=no'
8199 LINE=`grep "wxUSE_LOGGUI" ${wx_arg_cache_file}`
8200 if test "x$LINE" != x ; then
8201 eval "DEFAULT_$LINE"
8206 ac_cv_use_loggui='wxUSE_LOGGUI='$DEFAULT_wxUSE_LOGGUI
8211 eval "$ac_cv_use_loggui"
8212 if test "$no_cache" != 1; then
8213 echo $ac_cv_use_loggui >> ${wx_arg_cache_file}.tmp
8216 if test "$wxUSE_LOGGUI" = yes; then
8217 { echo "$as_me:$LINENO: result: yes" >&5
8218 echo "${ECHO_T}yes" >&6; }
8220 { echo "$as_me:$LINENO: result: no" >&5
8221 echo "${ECHO_T}no" >&6; }
8226 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logwin" >&5
8227 echo $ECHO_N "checking for --${enablestring:-enable}-logwin... $ECHO_C" >&6; }
8229 # Check whether --enable-logwin was given.
8230 if test "${enable_logwin+set}" = set; then
8231 enableval=$enable_logwin;
8232 if test "$enableval" = yes; then
8233 ac_cv_use_logwin='wxUSE_LOGWINDOW=yes'
8235 ac_cv_use_logwin='wxUSE_LOGWINDOW=no'
8240 LINE=`grep "wxUSE_LOGWINDOW" ${wx_arg_cache_file}`
8241 if test "x$LINE" != x ; then
8242 eval "DEFAULT_$LINE"
8247 ac_cv_use_logwin='wxUSE_LOGWINDOW='$DEFAULT_wxUSE_LOGWINDOW
8252 eval "$ac_cv_use_logwin"
8253 if test "$no_cache" != 1; then
8254 echo $ac_cv_use_logwin >> ${wx_arg_cache_file}.tmp
8257 if test "$wxUSE_LOGWINDOW" = yes; then
8258 { echo "$as_me:$LINENO: result: yes" >&5
8259 echo "${ECHO_T}yes" >&6; }
8261 { echo "$as_me:$LINENO: result: no" >&5
8262 echo "${ECHO_T}no" >&6; }
8267 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logdialog" >&5
8268 echo $ECHO_N "checking for --${enablestring:-enable}-logdialog... $ECHO_C" >&6; }
8270 # Check whether --enable-logdialog was given.
8271 if test "${enable_logdialog+set}" = set; then
8272 enableval=$enable_logdialog;
8273 if test "$enableval" = yes; then
8274 ac_cv_use_logdialog='wxUSE_LOGDIALOG=yes'
8276 ac_cv_use_logdialog='wxUSE_LOGDIALOG=no'
8281 LINE=`grep "wxUSE_LOGDIALOG" ${wx_arg_cache_file}`
8282 if test "x$LINE" != x ; then
8283 eval "DEFAULT_$LINE"
8288 ac_cv_use_logdialog='wxUSE_LOGDIALOG='$DEFAULT_wxUSE_LOGDIALOG
8293 eval "$ac_cv_use_logdialog"
8294 if test "$no_cache" != 1; then
8295 echo $ac_cv_use_logdialog >> ${wx_arg_cache_file}.tmp
8298 if test "$wxUSE_LOGDIALOG" = yes; then
8299 { echo "$as_me:$LINENO: result: yes" >&5
8300 echo "${ECHO_T}yes" >&6; }
8302 { echo "$as_me:$LINENO: result: no" >&5
8303 echo "${ECHO_T}no" >&6; }
8308 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-webkit" >&5
8309 echo $ECHO_N "checking for --${enablestring:-enable}-webkit... $ECHO_C" >&6; }
8311 # Check whether --enable-webkit was given.
8312 if test "${enable_webkit+set}" = set; then
8313 enableval=$enable_webkit;
8314 if test "$enableval" = yes; then
8315 ac_cv_use_webkit='wxUSE_WEBKIT=yes'
8317 ac_cv_use_webkit='wxUSE_WEBKIT=no'
8322 LINE=`grep "wxUSE_WEBKIT" ${wx_arg_cache_file}`
8323 if test "x$LINE" != x ; then
8324 eval "DEFAULT_$LINE"
8329 ac_cv_use_webkit='wxUSE_WEBKIT='$DEFAULT_wxUSE_WEBKIT
8334 eval "$ac_cv_use_webkit"
8335 if test "$no_cache" != 1; then
8336 echo $ac_cv_use_webkit >> ${wx_arg_cache_file}.tmp
8339 if test "$wxUSE_WEBKIT" = yes; then
8340 { echo "$as_me:$LINENO: result: yes" >&5
8341 echo "${ECHO_T}yes" >&6; }
8343 { echo "$as_me:$LINENO: result: no" >&5
8344 echo "${ECHO_T}no" >&6; }
8349 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-richtext" >&5
8350 echo $ECHO_N "checking for --${enablestring:-enable}-richtext... $ECHO_C" >&6; }
8352 # Check whether --enable-richtext was given.
8353 if test "${enable_richtext+set}" = set; then
8354 enableval=$enable_richtext;
8355 if test "$enableval" = yes; then
8356 ac_cv_use_richtext='wxUSE_RICHTEXT=yes'
8358 ac_cv_use_richtext='wxUSE_RICHTEXT=no'
8363 LINE=`grep "wxUSE_RICHTEXT" ${wx_arg_cache_file}`
8364 if test "x$LINE" != x ; then
8365 eval "DEFAULT_$LINE"
8370 ac_cv_use_richtext='wxUSE_RICHTEXT='$DEFAULT_wxUSE_RICHTEXT
8375 eval "$ac_cv_use_richtext"
8376 if test "$no_cache" != 1; then
8377 echo $ac_cv_use_richtext >> ${wx_arg_cache_file}.tmp
8380 if test "$wxUSE_RICHTEXT" = yes; then
8381 { echo "$as_me:$LINENO: result: yes" >&5
8382 echo "${ECHO_T}yes" >&6; }
8384 { echo "$as_me:$LINENO: result: no" >&5
8385 echo "${ECHO_T}no" >&6; }
8390 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-graphics_ctx" >&5
8391 echo $ECHO_N "checking for --${enablestring:-enable}-graphics_ctx... $ECHO_C" >&6; }
8393 # Check whether --enable-graphics_ctx was given.
8394 if test "${enable_graphics_ctx+set}" = set; then
8395 enableval=$enable_graphics_ctx;
8396 if test "$enableval" = yes; then
8397 ac_cv_use_graphics_ctx='wxUSE_GRAPHICS_CONTEXT=yes'
8399 ac_cv_use_graphics_ctx='wxUSE_GRAPHICS_CONTEXT=no'
8404 LINE=`grep "wxUSE_GRAPHICS_CONTEXT" ${wx_arg_cache_file}`
8405 if test "x$LINE" != x ; then
8406 eval "DEFAULT_$LINE"
8411 ac_cv_use_graphics_ctx='wxUSE_GRAPHICS_CONTEXT='$DEFAULT_wxUSE_GRAPHICS_CONTEXT
8416 eval "$ac_cv_use_graphics_ctx"
8417 if test "$no_cache" != 1; then
8418 echo $ac_cv_use_graphics_ctx >> ${wx_arg_cache_file}.tmp
8421 if test "$wxUSE_GRAPHICS_CONTEXT" = yes; then
8422 { echo "$as_me:$LINENO: result: yes" >&5
8423 echo "${ECHO_T}yes" >&6; }
8425 { echo "$as_me:$LINENO: result: no" >&5
8426 echo "${ECHO_T}no" >&6; }
8432 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-postscript" >&5
8433 echo $ECHO_N "checking for --${enablestring:-enable}-postscript... $ECHO_C" >&6; }
8435 # Check whether --enable-postscript was given.
8436 if test "${enable_postscript+set}" = set; then
8437 enableval=$enable_postscript;
8438 if test "$enableval" = yes; then
8439 ac_cv_use_postscript='wxUSE_POSTSCRIPT=yes'
8441 ac_cv_use_postscript='wxUSE_POSTSCRIPT=no'
8446 LINE=`grep "wxUSE_POSTSCRIPT" ${wx_arg_cache_file}`
8447 if test "x$LINE" != x ; then
8448 eval "DEFAULT_$LINE"
8453 ac_cv_use_postscript='wxUSE_POSTSCRIPT='$DEFAULT_wxUSE_POSTSCRIPT
8458 eval "$ac_cv_use_postscript"
8459 if test "$no_cache" != 1; then
8460 echo $ac_cv_use_postscript >> ${wx_arg_cache_file}.tmp
8463 if test "$wxUSE_POSTSCRIPT" = yes; then
8464 { echo "$as_me:$LINENO: result: yes" >&5
8465 echo "${ECHO_T}yes" >&6; }
8467 { echo "$as_me:$LINENO: result: no" >&5
8468 echo "${ECHO_T}no" >&6; }
8476 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-clipboard" >&5
8477 echo $ECHO_N "checking for --${enablestring:-enable}-clipboard... $ECHO_C" >&6; }
8479 # Check whether --enable-clipboard was given.
8480 if test "${enable_clipboard+set}" = set; then
8481 enableval=$enable_clipboard;
8482 if test "$enableval" = yes; then
8483 ac_cv_use_clipboard='wxUSE_CLIPBOARD=yes'
8485 ac_cv_use_clipboard='wxUSE_CLIPBOARD=no'
8490 LINE=`grep "wxUSE_CLIPBOARD" ${wx_arg_cache_file}`
8491 if test "x$LINE" != x ; then
8492 eval "DEFAULT_$LINE"
8497 ac_cv_use_clipboard='wxUSE_CLIPBOARD='$DEFAULT_wxUSE_CLIPBOARD
8502 eval "$ac_cv_use_clipboard"
8503 if test "$no_cache" != 1; then
8504 echo $ac_cv_use_clipboard >> ${wx_arg_cache_file}.tmp
8507 if test "$wxUSE_CLIPBOARD" = yes; then
8508 { echo "$as_me:$LINENO: result: yes" >&5
8509 echo "${ECHO_T}yes" >&6; }
8511 { echo "$as_me:$LINENO: result: no" >&5
8512 echo "${ECHO_T}no" >&6; }
8517 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dnd" >&5
8518 echo $ECHO_N "checking for --${enablestring:-enable}-dnd... $ECHO_C" >&6; }
8520 # Check whether --enable-dnd was given.
8521 if test "${enable_dnd+set}" = set; then
8522 enableval=$enable_dnd;
8523 if test "$enableval" = yes; then
8524 ac_cv_use_dnd='wxUSE_DRAG_AND_DROP=yes'
8526 ac_cv_use_dnd='wxUSE_DRAG_AND_DROP=no'
8531 LINE=`grep "wxUSE_DRAG_AND_DROP" ${wx_arg_cache_file}`
8532 if test "x$LINE" != x ; then
8533 eval "DEFAULT_$LINE"
8538 ac_cv_use_dnd='wxUSE_DRAG_AND_DROP='$DEFAULT_wxUSE_DRAG_AND_DROP
8543 eval "$ac_cv_use_dnd"
8544 if test "$no_cache" != 1; then
8545 echo $ac_cv_use_dnd >> ${wx_arg_cache_file}.tmp
8548 if test "$wxUSE_DRAG_AND_DROP" = yes; then
8549 { echo "$as_me:$LINENO: result: yes" >&5
8550 echo "${ECHO_T}yes" >&6; }
8552 { echo "$as_me:$LINENO: result: no" >&5
8553 echo "${ECHO_T}no" >&6; }
8558 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
8559 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6; }
8561 # Check whether --enable-metafile was given.
8562 if test "${enable_metafile+set}" = set; then
8563 enableval=$enable_metafile;
8564 if test "$enableval" = yes; then
8565 ac_cv_use_metafile='wxUSE_METAFILE=yes'
8567 ac_cv_use_metafile='wxUSE_METAFILE=no'
8572 LINE=`grep "wxUSE_METAFILE" ${wx_arg_cache_file}`
8573 if test "x$LINE" != x ; then
8574 eval "DEFAULT_$LINE"
8579 ac_cv_use_metafile='wxUSE_METAFILE='$DEFAULT_wxUSE_METAFILE
8584 eval "$ac_cv_use_metafile"
8585 if test "$no_cache" != 1; then
8586 echo $ac_cv_use_metafile >> ${wx_arg_cache_file}.tmp
8589 if test "$wxUSE_METAFILE" = yes; then
8590 { echo "$as_me:$LINENO: result: yes" >&5
8591 echo "${ECHO_T}yes" >&6; }
8593 { echo "$as_me:$LINENO: result: no" >&5
8594 echo "${ECHO_T}no" >&6; }
8602 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-controls" >&5
8603 echo $ECHO_N "checking for --${enablestring:-enable}-controls... $ECHO_C" >&6; }
8605 # Check whether --enable-controls was given.
8606 if test "${enable_controls+set}" = set; then
8607 enableval=$enable_controls;
8608 if test "$enableval" = yes; then
8609 ac_cv_use_controls='wxUSE_CONTROLS=yes'
8611 ac_cv_use_controls='wxUSE_CONTROLS=no'
8616 LINE=`grep "wxUSE_CONTROLS" ${wx_arg_cache_file}`
8617 if test "x$LINE" != x ; then
8618 eval "DEFAULT_$LINE"
8623 ac_cv_use_controls='wxUSE_CONTROLS='$DEFAULT_wxUSE_CONTROLS
8628 eval "$ac_cv_use_controls"
8629 if test "$no_cache" != 1; then
8630 echo $ac_cv_use_controls >> ${wx_arg_cache_file}.tmp
8633 if test "$wxUSE_CONTROLS" = yes; then
8634 { echo "$as_me:$LINENO: result: yes" >&5
8635 echo "${ECHO_T}yes" >&6; }
8637 { echo "$as_me:$LINENO: result: no" >&5
8638 echo "${ECHO_T}no" >&6; }
8642 if test "$wxUSE_CONTROLS" = "yes"; then
8643 DEFAULT_wxUSE_ACCEL=yes
8644 DEFAULT_wxUSE_ANIMATIONCTRL=yes
8645 DEFAULT_wxUSE_BMPBUTTON=yes
8646 DEFAULT_wxUSE_BUTTON=yes
8647 DEFAULT_wxUSE_CALCTRL=yes
8648 DEFAULT_wxUSE_CARET=yes
8649 DEFAULT_wxUSE_COMBOBOX=yes
8650 DEFAULT_wxUSE_CHECKBOX=yes
8651 DEFAULT_wxUSE_CHECKLISTBOX=yes
8652 DEFAULT_wxUSE_CHOICE=yes
8653 DEFAULT_wxUSE_CHOICEBOOK=yes
8654 DEFAULT_wxUSE_COLLPANE=yes
8655 DEFAULT_wxUSE_COLOURPICKERCTRL=yes
8656 DEFAULT_wxUSE_COMBOBOX=yes
8657 DEFAULT_wxUSE_DATEPICKCTRL=yes
8658 DEFAULT_wxUSE_DISPLAY=yes
8659 DEFAULT_wxUSE_DETECT_SM=yes
8660 DEFAULT_wxUSE_DIRPICKERCTRL=yes
8661 DEFAULT_wxUSE_FILEPICKERCTRL=yes
8662 DEFAULT_wxUSE_FONTPICKERCTRL=yes
8663 DEFAULT_wxUSE_GAUGE=yes
8664 DEFAULT_wxUSE_GRID=yes
8665 DEFAULT_wxUSE_HYPERLINKCTRL=yes
8666 DEFAULT_wxUSE_DATAVIEWCTRL=no
8667 DEFAULT_wxUSE_IMAGLIST=yes
8668 DEFAULT_wxUSE_LISTBOOK=yes
8669 DEFAULT_wxUSE_LISTBOX=yes
8670 DEFAULT_wxUSE_LISTCTRL=yes
8671 DEFAULT_wxUSE_NOTEBOOK=yes
8672 DEFAULT_wxUSE_RADIOBOX=yes
8673 DEFAULT_wxUSE_RADIOBTN=yes
8674 DEFAULT_wxUSE_SASH=yes
8675 DEFAULT_wxUSE_SCROLLBAR=yes
8676 DEFAULT_wxUSE_SEARCHCTRL=yes
8677 DEFAULT_wxUSE_SLIDER=yes
8678 DEFAULT_wxUSE_SPINBTN=yes
8679 DEFAULT_wxUSE_SPINCTRL=yes
8680 DEFAULT_wxUSE_SPLITTER=yes
8681 DEFAULT_wxUSE_STATBMP=yes
8682 DEFAULT_wxUSE_STATBOX=yes
8683 DEFAULT_wxUSE_STATLINE=yes
8684 DEFAULT_wxUSE_STATUSBAR=yes
8685 DEFAULT_wxUSE_TAB_DIALOG=yes
8686 DEFAULT_wxUSE_TOGGLEBTN=yes
8687 DEFAULT_wxUSE_TOOLBAR=yes
8688 DEFAULT_wxUSE_TOOLBAR_NATIVE=yes
8689 DEFAULT_wxUSE_TOOLTIPS=yes
8690 DEFAULT_wxUSE_TREEBOOK=yes
8691 DEFAULT_wxUSE_TOOLBOOK=yes
8692 DEFAULT_wxUSE_TREECTRL=yes
8693 DEFAULT_wxUSE_POPUPWIN=yes
8694 DEFAULT_wxUSE_TIPWINDOW=yes
8695 elif test "$wxUSE_CONTROLS" = "no"; then
8696 DEFAULT_wxUSE_ACCEL=no
8697 DEFAULT_wxUSE_ANIMATIONCTRL=no
8698 DEFAULT_wxUSE_BMPBUTTON=no
8699 DEFAULT_wxUSE_BUTTON=no
8700 DEFAULT_wxUSE_CALCTRL=no
8701 DEFAULT_wxUSE_CARET=no
8702 DEFAULT_wxUSE_COLLPANE=no
8703 DEFAULT_wxUSE_COMBOBOX=no
8704 DEFAULT_wxUSE_CHECKBOX=no
8705 DEFAULT_wxUSE_CHECKLISTBOX=no
8706 DEFAULT_wxUSE_CHOICE=no
8707 DEFAULT_wxUSE_CHOICEBOOK=no
8708 DEFAULT_wxUSE_COLOURPICKERCTRL=no
8709 DEFAULT_wxUSE_COMBOBOX=no
8710 DEFAULT_wxUSE_DATEPICKCTRL=no
8711 DEFAULT_wxUSE_DISPLAY=no
8712 DEFAULT_wxUSE_DETECT_SM=no
8713 DEFAULT_wxUSE_DIRPICKERCTRL=no
8714 DEFAULT_wxUSE_FILEPICKERCTRL=no
8715 DEFAULT_wxUSE_FONTPICKERCTRL=no
8716 DEFAULT_wxUSE_GAUGE=no
8717 DEFAULT_wxUSE_GRID=no
8718 DEFAULT_wxUSE_HYPERLINKCTRL=no
8719 DEFAULT_wxUSE_DATAVIEWCTRL=no
8720 DEFAULT_wxUSE_IMAGLIST=no
8721 DEFAULT_wxUSE_LISTBOOK=no
8722 DEFAULT_wxUSE_LISTBOX=no
8723 DEFAULT_wxUSE_LISTCTRL=no
8724 DEFAULT_wxUSE_NOTEBOOK=no
8725 DEFAULT_wxUSE_RADIOBOX=no
8726 DEFAULT_wxUSE_RADIOBTN=no
8727 DEFAULT_wxUSE_SASH=no
8728 DEFAULT_wxUSE_SCROLLBAR=no
8729 DEFAULT_wxUSE_SEARCHCTRL=no
8730 DEFAULT_wxUSE_SLIDER=no
8731 DEFAULT_wxUSE_SPINBTN=no
8732 DEFAULT_wxUSE_SPINCTRL=no
8733 DEFAULT_wxUSE_SPLITTER=no
8734 DEFAULT_wxUSE_STATBMP=no
8735 DEFAULT_wxUSE_STATBOX=no
8736 DEFAULT_wxUSE_STATLINE=no
8737 DEFAULT_wxUSE_STATUSBAR=no
8738 DEFAULT_wxUSE_TAB_DIALOG=no
8739 DEFAULT_wxUSE_TOGGLEBTN=no
8740 DEFAULT_wxUSE_TOOLBAR=no
8741 DEFAULT_wxUSE_TOOLBAR_NATIVE=no
8742 DEFAULT_wxUSE_TOOLTIPS=no
8743 DEFAULT_wxUSE_TREEBOOK=no
8744 DEFAULT_wxUSE_TOOLBOOK=no
8745 DEFAULT_wxUSE_TREECTRL=no
8746 DEFAULT_wxUSE_POPUPWIN=no
8747 DEFAULT_wxUSE_TIPWINDOW=no
8752 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accel" >&5
8753 echo $ECHO_N "checking for --${enablestring:-enable}-accel... $ECHO_C" >&6; }
8755 # Check whether --enable-accel was given.
8756 if test "${enable_accel+set}" = set; then
8757 enableval=$enable_accel;
8758 if test "$enableval" = yes; then
8759 ac_cv_use_accel='wxUSE_ACCEL=yes'
8761 ac_cv_use_accel='wxUSE_ACCEL=no'
8766 LINE=`grep "wxUSE_ACCEL" ${wx_arg_cache_file}`
8767 if test "x$LINE" != x ; then
8768 eval "DEFAULT_$LINE"
8773 ac_cv_use_accel='wxUSE_ACCEL='$DEFAULT_wxUSE_ACCEL
8778 eval "$ac_cv_use_accel"
8779 if test "$no_cache" != 1; then
8780 echo $ac_cv_use_accel >> ${wx_arg_cache_file}.tmp
8783 if test "$wxUSE_ACCEL" = yes; then
8784 { echo "$as_me:$LINENO: result: yes" >&5
8785 echo "${ECHO_T}yes" >&6; }
8787 { echo "$as_me:$LINENO: result: no" >&5
8788 echo "${ECHO_T}no" >&6; }
8793 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-animatectrl" >&5
8794 echo $ECHO_N "checking for --${enablestring:-enable}-animatectrl... $ECHO_C" >&6; }
8796 # Check whether --enable-animatectrl was given.
8797 if test "${enable_animatectrl+set}" = set; then
8798 enableval=$enable_animatectrl;
8799 if test "$enableval" = yes; then
8800 ac_cv_use_animatectrl='wxUSE_ANIMATIONCTRL=yes'
8802 ac_cv_use_animatectrl='wxUSE_ANIMATIONCTRL=no'
8807 LINE=`grep "wxUSE_ANIMATIONCTRL" ${wx_arg_cache_file}`
8808 if test "x$LINE" != x ; then
8809 eval "DEFAULT_$LINE"
8814 ac_cv_use_animatectrl='wxUSE_ANIMATIONCTRL='$DEFAULT_wxUSE_ANIMATIONCTRL
8819 eval "$ac_cv_use_animatectrl"
8820 if test "$no_cache" != 1; then
8821 echo $ac_cv_use_animatectrl >> ${wx_arg_cache_file}.tmp
8824 if test "$wxUSE_ANIMATIONCTRL" = yes; then
8825 { echo "$as_me:$LINENO: result: yes" >&5
8826 echo "${ECHO_T}yes" >&6; }
8828 { echo "$as_me:$LINENO: result: no" >&5
8829 echo "${ECHO_T}no" >&6; }
8834 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-button" >&5
8835 echo $ECHO_N "checking for --${enablestring:-enable}-button... $ECHO_C" >&6; }
8837 # Check whether --enable-button was given.
8838 if test "${enable_button+set}" = set; then
8839 enableval=$enable_button;
8840 if test "$enableval" = yes; then
8841 ac_cv_use_button='wxUSE_BUTTON=yes'
8843 ac_cv_use_button='wxUSE_BUTTON=no'
8848 LINE=`grep "wxUSE_BUTTON" ${wx_arg_cache_file}`
8849 if test "x$LINE" != x ; then
8850 eval "DEFAULT_$LINE"
8855 ac_cv_use_button='wxUSE_BUTTON='$DEFAULT_wxUSE_BUTTON
8860 eval "$ac_cv_use_button"
8861 if test "$no_cache" != 1; then
8862 echo $ac_cv_use_button >> ${wx_arg_cache_file}.tmp
8865 if test "$wxUSE_BUTTON" = yes; then
8866 { echo "$as_me:$LINENO: result: yes" >&5
8867 echo "${ECHO_T}yes" >&6; }
8869 { echo "$as_me:$LINENO: result: no" >&5
8870 echo "${ECHO_T}no" >&6; }
8875 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-bmpbutton" >&5
8876 echo $ECHO_N "checking for --${enablestring:-enable}-bmpbutton... $ECHO_C" >&6; }
8878 # Check whether --enable-bmpbutton was given.
8879 if test "${enable_bmpbutton+set}" = set; then
8880 enableval=$enable_bmpbutton;
8881 if test "$enableval" = yes; then
8882 ac_cv_use_bmpbutton='wxUSE_BMPBUTTON=yes'
8884 ac_cv_use_bmpbutton='wxUSE_BMPBUTTON=no'
8889 LINE=`grep "wxUSE_BMPBUTTON" ${wx_arg_cache_file}`
8890 if test "x$LINE" != x ; then
8891 eval "DEFAULT_$LINE"
8896 ac_cv_use_bmpbutton='wxUSE_BMPBUTTON='$DEFAULT_wxUSE_BMPBUTTON
8901 eval "$ac_cv_use_bmpbutton"
8902 if test "$no_cache" != 1; then
8903 echo $ac_cv_use_bmpbutton >> ${wx_arg_cache_file}.tmp
8906 if test "$wxUSE_BMPBUTTON" = yes; then
8907 { echo "$as_me:$LINENO: result: yes" >&5
8908 echo "${ECHO_T}yes" >&6; }
8910 { echo "$as_me:$LINENO: result: no" >&5
8911 echo "${ECHO_T}no" >&6; }
8916 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-bmpcombobox" >&5
8917 echo $ECHO_N "checking for --${enablestring:-enable}-bmpcombobox... $ECHO_C" >&6; }
8919 # Check whether --enable-bmpcombobox was given.
8920 if test "${enable_bmpcombobox+set}" = set; then
8921 enableval=$enable_bmpcombobox;
8922 if test "$enableval" = yes; then
8923 ac_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX=yes'
8925 ac_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX=no'
8930 LINE=`grep "wxUSE_BITMAPCOMBOBOX" ${wx_arg_cache_file}`
8931 if test "x$LINE" != x ; then
8932 eval "DEFAULT_$LINE"
8937 ac_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX='$DEFAULT_wxUSE_BITMAPCOMBOBOX
8942 eval "$ac_cv_use_bmpcombobox"
8943 if test "$no_cache" != 1; then
8944 echo $ac_cv_use_bmpcombobox >> ${wx_arg_cache_file}.tmp
8947 if test "$wxUSE_BITMAPCOMBOBOX" = yes; then
8948 { echo "$as_me:$LINENO: result: yes" >&5
8949 echo "${ECHO_T}yes" >&6; }
8951 { echo "$as_me:$LINENO: result: no" >&5
8952 echo "${ECHO_T}no" >&6; }
8957 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-calendar" >&5
8958 echo $ECHO_N "checking for --${enablestring:-enable}-calendar... $ECHO_C" >&6; }
8960 # Check whether --enable-calendar was given.
8961 if test "${enable_calendar+set}" = set; then
8962 enableval=$enable_calendar;
8963 if test "$enableval" = yes; then
8964 ac_cv_use_calendar='wxUSE_CALCTRL=yes'
8966 ac_cv_use_calendar='wxUSE_CALCTRL=no'
8971 LINE=`grep "wxUSE_CALCTRL" ${wx_arg_cache_file}`
8972 if test "x$LINE" != x ; then
8973 eval "DEFAULT_$LINE"
8978 ac_cv_use_calendar='wxUSE_CALCTRL='$DEFAULT_wxUSE_CALCTRL
8983 eval "$ac_cv_use_calendar"
8984 if test "$no_cache" != 1; then
8985 echo $ac_cv_use_calendar >> ${wx_arg_cache_file}.tmp
8988 if test "$wxUSE_CALCTRL" = yes; then
8989 { echo "$as_me:$LINENO: result: yes" >&5
8990 echo "${ECHO_T}yes" >&6; }
8992 { echo "$as_me:$LINENO: result: no" >&5
8993 echo "${ECHO_T}no" >&6; }
8998 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-caret" >&5
8999 echo $ECHO_N "checking for --${enablestring:-enable}-caret... $ECHO_C" >&6; }
9001 # Check whether --enable-caret was given.
9002 if test "${enable_caret+set}" = set; then
9003 enableval=$enable_caret;
9004 if test "$enableval" = yes; then
9005 ac_cv_use_caret='wxUSE_CARET=yes'
9007 ac_cv_use_caret='wxUSE_CARET=no'
9012 LINE=`grep "wxUSE_CARET" ${wx_arg_cache_file}`
9013 if test "x$LINE" != x ; then
9014 eval "DEFAULT_$LINE"
9019 ac_cv_use_caret='wxUSE_CARET='$DEFAULT_wxUSE_CARET
9024 eval "$ac_cv_use_caret"
9025 if test "$no_cache" != 1; then
9026 echo $ac_cv_use_caret >> ${wx_arg_cache_file}.tmp
9029 if test "$wxUSE_CARET" = yes; then
9030 { echo "$as_me:$LINENO: result: yes" >&5
9031 echo "${ECHO_T}yes" >&6; }
9033 { echo "$as_me:$LINENO: result: no" >&5
9034 echo "${ECHO_T}no" >&6; }
9039 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checkbox" >&5
9040 echo $ECHO_N "checking for --${enablestring:-enable}-checkbox... $ECHO_C" >&6; }
9042 # Check whether --enable-checkbox was given.
9043 if test "${enable_checkbox+set}" = set; then
9044 enableval=$enable_checkbox;
9045 if test "$enableval" = yes; then
9046 ac_cv_use_checkbox='wxUSE_CHECKBOX=yes'
9048 ac_cv_use_checkbox='wxUSE_CHECKBOX=no'
9053 LINE=`grep "wxUSE_CHECKBOX" ${wx_arg_cache_file}`
9054 if test "x$LINE" != x ; then
9055 eval "DEFAULT_$LINE"
9060 ac_cv_use_checkbox='wxUSE_CHECKBOX='$DEFAULT_wxUSE_CHECKBOX
9065 eval "$ac_cv_use_checkbox"
9066 if test "$no_cache" != 1; then
9067 echo $ac_cv_use_checkbox >> ${wx_arg_cache_file}.tmp
9070 if test "$wxUSE_CHECKBOX" = yes; then
9071 { echo "$as_me:$LINENO: result: yes" >&5
9072 echo "${ECHO_T}yes" >&6; }
9074 { echo "$as_me:$LINENO: result: no" >&5
9075 echo "${ECHO_T}no" >&6; }
9080 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checklst" >&5
9081 echo $ECHO_N "checking for --${enablestring:-enable}-checklst... $ECHO_C" >&6; }
9083 # Check whether --enable-checklst was given.
9084 if test "${enable_checklst+set}" = set; then
9085 enableval=$enable_checklst;
9086 if test "$enableval" = yes; then
9087 ac_cv_use_checklst='wxUSE_CHECKLST=yes'
9089 ac_cv_use_checklst='wxUSE_CHECKLST=no'
9094 LINE=`grep "wxUSE_CHECKLST" ${wx_arg_cache_file}`
9095 if test "x$LINE" != x ; then
9096 eval "DEFAULT_$LINE"
9101 ac_cv_use_checklst='wxUSE_CHECKLST='$DEFAULT_wxUSE_CHECKLST
9106 eval "$ac_cv_use_checklst"
9107 if test "$no_cache" != 1; then
9108 echo $ac_cv_use_checklst >> ${wx_arg_cache_file}.tmp
9111 if test "$wxUSE_CHECKLST" = yes; then
9112 { echo "$as_me:$LINENO: result: yes" >&5
9113 echo "${ECHO_T}yes" >&6; }
9115 { echo "$as_me:$LINENO: result: no" >&5
9116 echo "${ECHO_T}no" >&6; }
9121 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choice" >&5
9122 echo $ECHO_N "checking for --${enablestring:-enable}-choice... $ECHO_C" >&6; }
9124 # Check whether --enable-choice was given.
9125 if test "${enable_choice+set}" = set; then
9126 enableval=$enable_choice;
9127 if test "$enableval" = yes; then
9128 ac_cv_use_choice='wxUSE_CHOICE=yes'
9130 ac_cv_use_choice='wxUSE_CHOICE=no'
9135 LINE=`grep "wxUSE_CHOICE" ${wx_arg_cache_file}`
9136 if test "x$LINE" != x ; then
9137 eval "DEFAULT_$LINE"
9142 ac_cv_use_choice='wxUSE_CHOICE='$DEFAULT_wxUSE_CHOICE
9147 eval "$ac_cv_use_choice"
9148 if test "$no_cache" != 1; then
9149 echo $ac_cv_use_choice >> ${wx_arg_cache_file}.tmp
9152 if test "$wxUSE_CHOICE" = yes; then
9153 { echo "$as_me:$LINENO: result: yes" >&5
9154 echo "${ECHO_T}yes" >&6; }
9156 { echo "$as_me:$LINENO: result: no" >&5
9157 echo "${ECHO_T}no" >&6; }
9162 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choicebook" >&5
9163 echo $ECHO_N "checking for --${enablestring:-enable}-choicebook... $ECHO_C" >&6; }
9165 # Check whether --enable-choicebook was given.
9166 if test "${enable_choicebook+set}" = set; then
9167 enableval=$enable_choicebook;
9168 if test "$enableval" = yes; then
9169 ac_cv_use_choicebook='wxUSE_CHOICEBOOK=yes'
9171 ac_cv_use_choicebook='wxUSE_CHOICEBOOK=no'
9176 LINE=`grep "wxUSE_CHOICEBOOK" ${wx_arg_cache_file}`
9177 if test "x$LINE" != x ; then
9178 eval "DEFAULT_$LINE"
9183 ac_cv_use_choicebook='wxUSE_CHOICEBOOK='$DEFAULT_wxUSE_CHOICEBOOK
9188 eval "$ac_cv_use_choicebook"
9189 if test "$no_cache" != 1; then
9190 echo $ac_cv_use_choicebook >> ${wx_arg_cache_file}.tmp
9193 if test "$wxUSE_CHOICEBOOK" = yes; then
9194 { echo "$as_me:$LINENO: result: yes" >&5
9195 echo "${ECHO_T}yes" >&6; }
9197 { echo "$as_me:$LINENO: result: no" >&5
9198 echo "${ECHO_T}no" >&6; }
9203 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-collpane" >&5
9204 echo $ECHO_N "checking for --${enablestring:-enable}-collpane... $ECHO_C" >&6; }
9206 # Check whether --enable-collpane was given.
9207 if test "${enable_collpane+set}" = set; then
9208 enableval=$enable_collpane;
9209 if test "$enableval" = yes; then
9210 ac_cv_use_collpane='wxUSE_COLLPANE=yes'
9212 ac_cv_use_collpane='wxUSE_COLLPANE=no'
9217 LINE=`grep "wxUSE_COLLPANE" ${wx_arg_cache_file}`
9218 if test "x$LINE" != x ; then
9219 eval "DEFAULT_$LINE"
9224 ac_cv_use_collpane='wxUSE_COLLPANE='$DEFAULT_wxUSE_COLLPANE
9229 eval "$ac_cv_use_collpane"
9230 if test "$no_cache" != 1; then
9231 echo $ac_cv_use_collpane >> ${wx_arg_cache_file}.tmp
9234 if test "$wxUSE_COLLPANE" = yes; then
9235 { echo "$as_me:$LINENO: result: yes" >&5
9236 echo "${ECHO_T}yes" >&6; }
9238 { echo "$as_me:$LINENO: result: no" >&5
9239 echo "${ECHO_T}no" >&6; }
9244 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-colourpicker" >&5
9245 echo $ECHO_N "checking for --${enablestring:-enable}-colourpicker... $ECHO_C" >&6; }
9247 # Check whether --enable-colourpicker was given.
9248 if test "${enable_colourpicker+set}" = set; then
9249 enableval=$enable_colourpicker;
9250 if test "$enableval" = yes; then
9251 ac_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL=yes'
9253 ac_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL=no'
9258 LINE=`grep "wxUSE_COLOURPICKERCTRL" ${wx_arg_cache_file}`
9259 if test "x$LINE" != x ; then
9260 eval "DEFAULT_$LINE"
9265 ac_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL='$DEFAULT_wxUSE_COLOURPICKERCTRL
9270 eval "$ac_cv_use_colourpicker"
9271 if test "$no_cache" != 1; then
9272 echo $ac_cv_use_colourpicker >> ${wx_arg_cache_file}.tmp
9275 if test "$wxUSE_COLOURPICKERCTRL" = yes; then
9276 { echo "$as_me:$LINENO: result: yes" >&5
9277 echo "${ECHO_T}yes" >&6; }
9279 { echo "$as_me:$LINENO: result: no" >&5
9280 echo "${ECHO_T}no" >&6; }
9285 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-combobox" >&5
9286 echo $ECHO_N "checking for --${enablestring:-enable}-combobox... $ECHO_C" >&6; }
9288 # Check whether --enable-combobox was given.
9289 if test "${enable_combobox+set}" = set; then
9290 enableval=$enable_combobox;
9291 if test "$enableval" = yes; then
9292 ac_cv_use_combobox='wxUSE_COMBOBOX=yes'
9294 ac_cv_use_combobox='wxUSE_COMBOBOX=no'
9299 LINE=`grep "wxUSE_COMBOBOX" ${wx_arg_cache_file}`
9300 if test "x$LINE" != x ; then
9301 eval "DEFAULT_$LINE"
9306 ac_cv_use_combobox='wxUSE_COMBOBOX='$DEFAULT_wxUSE_COMBOBOX
9311 eval "$ac_cv_use_combobox"
9312 if test "$no_cache" != 1; then
9313 echo $ac_cv_use_combobox >> ${wx_arg_cache_file}.tmp
9316 if test "$wxUSE_COMBOBOX" = yes; then
9317 { echo "$as_me:$LINENO: result: yes" >&5
9318 echo "${ECHO_T}yes" >&6; }
9320 { echo "$as_me:$LINENO: result: no" >&5
9321 echo "${ECHO_T}no" >&6; }
9326 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-comboctrl" >&5
9327 echo $ECHO_N "checking for --${enablestring:-enable}-comboctrl... $ECHO_C" >&6; }
9329 # Check whether --enable-comboctrl was given.
9330 if test "${enable_comboctrl+set}" = set; then
9331 enableval=$enable_comboctrl;
9332 if test "$enableval" = yes; then
9333 ac_cv_use_comboctrl='wxUSE_COMBOCTRL=yes'
9335 ac_cv_use_comboctrl='wxUSE_COMBOCTRL=no'
9340 LINE=`grep "wxUSE_COMBOCTRL" ${wx_arg_cache_file}`
9341 if test "x$LINE" != x ; then
9342 eval "DEFAULT_$LINE"
9347 ac_cv_use_comboctrl='wxUSE_COMBOCTRL='$DEFAULT_wxUSE_COMBOCTRL
9352 eval "$ac_cv_use_comboctrl"
9353 if test "$no_cache" != 1; then
9354 echo $ac_cv_use_comboctrl >> ${wx_arg_cache_file}.tmp
9357 if test "$wxUSE_COMBOCTRL" = yes; then
9358 { echo "$as_me:$LINENO: result: yes" >&5
9359 echo "${ECHO_T}yes" >&6; }
9361 { echo "$as_me:$LINENO: result: no" >&5
9362 echo "${ECHO_T}no" >&6; }
9367 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-datepick" >&5
9368 echo $ECHO_N "checking for --${enablestring:-enable}-datepick... $ECHO_C" >&6; }
9370 # Check whether --enable-datepick was given.
9371 if test "${enable_datepick+set}" = set; then
9372 enableval=$enable_datepick;
9373 if test "$enableval" = yes; then
9374 ac_cv_use_datepick='wxUSE_DATEPICKCTRL=yes'
9376 ac_cv_use_datepick='wxUSE_DATEPICKCTRL=no'
9381 LINE=`grep "wxUSE_DATEPICKCTRL" ${wx_arg_cache_file}`
9382 if test "x$LINE" != x ; then
9383 eval "DEFAULT_$LINE"
9388 ac_cv_use_datepick='wxUSE_DATEPICKCTRL='$DEFAULT_wxUSE_DATEPICKCTRL
9393 eval "$ac_cv_use_datepick"
9394 if test "$no_cache" != 1; then
9395 echo $ac_cv_use_datepick >> ${wx_arg_cache_file}.tmp
9398 if test "$wxUSE_DATEPICKCTRL" = yes; then
9399 { echo "$as_me:$LINENO: result: yes" >&5
9400 echo "${ECHO_T}yes" >&6; }
9402 { echo "$as_me:$LINENO: result: no" >&5
9403 echo "${ECHO_T}no" >&6; }
9408 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dirpicker" >&5
9409 echo $ECHO_N "checking for --${enablestring:-enable}-dirpicker... $ECHO_C" >&6; }
9411 # Check whether --enable-dirpicker was given.
9412 if test "${enable_dirpicker+set}" = set; then
9413 enableval=$enable_dirpicker;
9414 if test "$enableval" = yes; then
9415 ac_cv_use_dirpicker='wxUSE_DIRPICKERCTRL=yes'
9417 ac_cv_use_dirpicker='wxUSE_DIRPICKERCTRL=no'
9422 LINE=`grep "wxUSE_DIRPICKERCTRL" ${wx_arg_cache_file}`
9423 if test "x$LINE" != x ; then
9424 eval "DEFAULT_$LINE"
9429 ac_cv_use_dirpicker='wxUSE_DIRPICKERCTRL='$DEFAULT_wxUSE_DIRPICKERCTRL
9434 eval "$ac_cv_use_dirpicker"
9435 if test "$no_cache" != 1; then
9436 echo $ac_cv_use_dirpicker >> ${wx_arg_cache_file}.tmp
9439 if test "$wxUSE_DIRPICKERCTRL" = yes; then
9440 { echo "$as_me:$LINENO: result: yes" >&5
9441 echo "${ECHO_T}yes" >&6; }
9443 { echo "$as_me:$LINENO: result: no" >&5
9444 echo "${ECHO_T}no" >&6; }
9449 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-display" >&5
9450 echo $ECHO_N "checking for --${enablestring:-enable}-display... $ECHO_C" >&6; }
9452 # Check whether --enable-display was given.
9453 if test "${enable_display+set}" = set; then
9454 enableval=$enable_display;
9455 if test "$enableval" = yes; then
9456 ac_cv_use_display='wxUSE_DISPLAY=yes'
9458 ac_cv_use_display='wxUSE_DISPLAY=no'
9463 LINE=`grep "wxUSE_DISPLAY" ${wx_arg_cache_file}`
9464 if test "x$LINE" != x ; then
9465 eval "DEFAULT_$LINE"
9470 ac_cv_use_display='wxUSE_DISPLAY='$DEFAULT_wxUSE_DISPLAY
9475 eval "$ac_cv_use_display"
9476 if test "$no_cache" != 1; then
9477 echo $ac_cv_use_display >> ${wx_arg_cache_file}.tmp
9480 if test "$wxUSE_DISPLAY" = yes; then
9481 { echo "$as_me:$LINENO: result: yes" >&5
9482 echo "${ECHO_T}yes" >&6; }
9484 { echo "$as_me:$LINENO: result: no" >&5
9485 echo "${ECHO_T}no" >&6; }
9490 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-detect_sm" >&5
9491 echo $ECHO_N "checking for --${enablestring:-enable}-detect_sm... $ECHO_C" >&6; }
9493 # Check whether --enable-detect_sm was given.
9494 if test "${enable_detect_sm+set}" = set; then
9495 enableval=$enable_detect_sm;
9496 if test "$enableval" = yes; then
9497 ac_cv_use_detect_sm='wxUSE_DETECT_SM=yes'
9499 ac_cv_use_detect_sm='wxUSE_DETECT_SM=no'
9504 LINE=`grep "wxUSE_DETECT_SM" ${wx_arg_cache_file}`
9505 if test "x$LINE" != x ; then
9506 eval "DEFAULT_$LINE"
9511 ac_cv_use_detect_sm='wxUSE_DETECT_SM='$DEFAULT_wxUSE_DETECT_SM
9516 eval "$ac_cv_use_detect_sm"
9517 if test "$no_cache" != 1; then
9518 echo $ac_cv_use_detect_sm >> ${wx_arg_cache_file}.tmp
9521 if test "$wxUSE_DETECT_SM" = yes; then
9522 { echo "$as_me:$LINENO: result: yes" >&5
9523 echo "${ECHO_T}yes" >&6; }
9525 { echo "$as_me:$LINENO: result: no" >&5
9526 echo "${ECHO_T}no" >&6; }
9531 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filepicker" >&5
9532 echo $ECHO_N "checking for --${enablestring:-enable}-filepicker... $ECHO_C" >&6; }
9534 # Check whether --enable-filepicker was given.
9535 if test "${enable_filepicker+set}" = set; then
9536 enableval=$enable_filepicker;
9537 if test "$enableval" = yes; then
9538 ac_cv_use_filepicker='wxUSE_FILEPICKERCTRL=yes'
9540 ac_cv_use_filepicker='wxUSE_FILEPICKERCTRL=no'
9545 LINE=`grep "wxUSE_FILEPICKERCTRL" ${wx_arg_cache_file}`
9546 if test "x$LINE" != x ; then
9547 eval "DEFAULT_$LINE"
9552 ac_cv_use_filepicker='wxUSE_FILEPICKERCTRL='$DEFAULT_wxUSE_FILEPICKERCTRL
9557 eval "$ac_cv_use_filepicker"
9558 if test "$no_cache" != 1; then
9559 echo $ac_cv_use_filepicker >> ${wx_arg_cache_file}.tmp
9562 if test "$wxUSE_FILEPICKERCTRL" = yes; then
9563 { echo "$as_me:$LINENO: result: yes" >&5
9564 echo "${ECHO_T}yes" >&6; }
9566 { echo "$as_me:$LINENO: result: no" >&5
9567 echo "${ECHO_T}no" >&6; }
9572 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontpicker" >&5
9573 echo $ECHO_N "checking for --${enablestring:-enable}-fontpicker... $ECHO_C" >&6; }
9575 # Check whether --enable-fontpicker was given.
9576 if test "${enable_fontpicker+set}" = set; then
9577 enableval=$enable_fontpicker;
9578 if test "$enableval" = yes; then
9579 ac_cv_use_fontpicker='wxUSE_FONTPICKERCTRL=yes'
9581 ac_cv_use_fontpicker='wxUSE_FONTPICKERCTRL=no'
9586 LINE=`grep "wxUSE_FONTPICKERCTRL" ${wx_arg_cache_file}`
9587 if test "x$LINE" != x ; then
9588 eval "DEFAULT_$LINE"
9593 ac_cv_use_fontpicker='wxUSE_FONTPICKERCTRL='$DEFAULT_wxUSE_FONTPICKERCTRL
9598 eval "$ac_cv_use_fontpicker"
9599 if test "$no_cache" != 1; then
9600 echo $ac_cv_use_fontpicker >> ${wx_arg_cache_file}.tmp
9603 if test "$wxUSE_FONTPICKERCTRL" = yes; then
9604 { echo "$as_me:$LINENO: result: yes" >&5
9605 echo "${ECHO_T}yes" >&6; }
9607 { echo "$as_me:$LINENO: result: no" >&5
9608 echo "${ECHO_T}no" >&6; }
9613 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gauge" >&5
9614 echo $ECHO_N "checking for --${enablestring:-enable}-gauge... $ECHO_C" >&6; }
9616 # Check whether --enable-gauge was given.
9617 if test "${enable_gauge+set}" = set; then
9618 enableval=$enable_gauge;
9619 if test "$enableval" = yes; then
9620 ac_cv_use_gauge='wxUSE_GAUGE=yes'
9622 ac_cv_use_gauge='wxUSE_GAUGE=no'
9627 LINE=`grep "wxUSE_GAUGE" ${wx_arg_cache_file}`
9628 if test "x$LINE" != x ; then
9629 eval "DEFAULT_$LINE"
9634 ac_cv_use_gauge='wxUSE_GAUGE='$DEFAULT_wxUSE_GAUGE
9639 eval "$ac_cv_use_gauge"
9640 if test "$no_cache" != 1; then
9641 echo $ac_cv_use_gauge >> ${wx_arg_cache_file}.tmp
9644 if test "$wxUSE_GAUGE" = yes; then
9645 { echo "$as_me:$LINENO: result: yes" >&5
9646 echo "${ECHO_T}yes" >&6; }
9648 { echo "$as_me:$LINENO: result: no" >&5
9649 echo "${ECHO_T}no" >&6; }
9654 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-grid" >&5
9655 echo $ECHO_N "checking for --${enablestring:-enable}-grid... $ECHO_C" >&6; }
9657 # Check whether --enable-grid was given.
9658 if test "${enable_grid+set}" = set; then
9659 enableval=$enable_grid;
9660 if test "$enableval" = yes; then
9661 ac_cv_use_grid='wxUSE_GRID=yes'
9663 ac_cv_use_grid='wxUSE_GRID=no'
9668 LINE=`grep "wxUSE_GRID" ${wx_arg_cache_file}`
9669 if test "x$LINE" != x ; then
9670 eval "DEFAULT_$LINE"
9675 ac_cv_use_grid='wxUSE_GRID='$DEFAULT_wxUSE_GRID
9680 eval "$ac_cv_use_grid"
9681 if test "$no_cache" != 1; then
9682 echo $ac_cv_use_grid >> ${wx_arg_cache_file}.tmp
9685 if test "$wxUSE_GRID" = yes; then
9686 { echo "$as_me:$LINENO: result: yes" >&5
9687 echo "${ECHO_T}yes" >&6; }
9689 { echo "$as_me:$LINENO: result: no" >&5
9690 echo "${ECHO_T}no" >&6; }
9695 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dataviewctrl" >&5
9696 echo $ECHO_N "checking for --${enablestring:-enable}-dataviewctrl... $ECHO_C" >&6; }
9698 # Check whether --enable-dataviewctrl was given.
9699 if test "${enable_dataviewctrl+set}" = set; then
9700 enableval=$enable_dataviewctrl;
9701 if test "$enableval" = yes; then
9702 ac_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL=yes'
9704 ac_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL=no'
9709 LINE=`grep "wxUSE_DATAVIEWCTRL" ${wx_arg_cache_file}`
9710 if test "x$LINE" != x ; then
9711 eval "DEFAULT_$LINE"
9716 ac_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL='$DEFAULT_wxUSE_DATAVIEWCTRL
9721 eval "$ac_cv_use_dataviewctrl"
9722 if test "$no_cache" != 1; then
9723 echo $ac_cv_use_dataviewctrl >> ${wx_arg_cache_file}.tmp
9726 if test "$wxUSE_DATAVIEWCTRL" = yes; then
9727 { echo "$as_me:$LINENO: result: yes" >&5
9728 echo "${ECHO_T}yes" >&6; }
9730 { echo "$as_me:$LINENO: result: no" >&5
9731 echo "${ECHO_T}no" >&6; }
9736 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-hyperlink" >&5
9737 echo $ECHO_N "checking for --${enablestring:-enable}-hyperlink... $ECHO_C" >&6; }
9739 # Check whether --enable-hyperlink was given.
9740 if test "${enable_hyperlink+set}" = set; then
9741 enableval=$enable_hyperlink;
9742 if test "$enableval" = yes; then
9743 ac_cv_use_hyperlink='wxUSE_HYPERLINKCTRL=yes'
9745 ac_cv_use_hyperlink='wxUSE_HYPERLINKCTRL=no'
9750 LINE=`grep "wxUSE_HYPERLINKCTRL" ${wx_arg_cache_file}`
9751 if test "x$LINE" != x ; then
9752 eval "DEFAULT_$LINE"
9757 ac_cv_use_hyperlink='wxUSE_HYPERLINKCTRL='$DEFAULT_wxUSE_HYPERLINKCTRL
9762 eval "$ac_cv_use_hyperlink"
9763 if test "$no_cache" != 1; then
9764 echo $ac_cv_use_hyperlink >> ${wx_arg_cache_file}.tmp
9767 if test "$wxUSE_HYPERLINKCTRL" = yes; then
9768 { echo "$as_me:$LINENO: result: yes" >&5
9769 echo "${ECHO_T}yes" >&6; }
9771 { echo "$as_me:$LINENO: result: no" >&5
9772 echo "${ECHO_T}no" >&6; }
9777 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-imaglist" >&5
9778 echo $ECHO_N "checking for --${enablestring:-enable}-imaglist... $ECHO_C" >&6; }
9780 # Check whether --enable-imaglist was given.
9781 if test "${enable_imaglist+set}" = set; then
9782 enableval=$enable_imaglist;
9783 if test "$enableval" = yes; then
9784 ac_cv_use_imaglist='wxUSE_IMAGLIST=yes'
9786 ac_cv_use_imaglist='wxUSE_IMAGLIST=no'
9791 LINE=`grep "wxUSE_IMAGLIST" ${wx_arg_cache_file}`
9792 if test "x$LINE" != x ; then
9793 eval "DEFAULT_$LINE"
9798 ac_cv_use_imaglist='wxUSE_IMAGLIST='$DEFAULT_wxUSE_IMAGLIST
9803 eval "$ac_cv_use_imaglist"
9804 if test "$no_cache" != 1; then
9805 echo $ac_cv_use_imaglist >> ${wx_arg_cache_file}.tmp
9808 if test "$wxUSE_IMAGLIST" = yes; then
9809 { echo "$as_me:$LINENO: result: yes" >&5
9810 echo "${ECHO_T}yes" >&6; }
9812 { echo "$as_me:$LINENO: result: no" >&5
9813 echo "${ECHO_T}no" >&6; }
9818 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbook" >&5
9819 echo $ECHO_N "checking for --${enablestring:-enable}-listbook... $ECHO_C" >&6; }
9821 # Check whether --enable-listbook was given.
9822 if test "${enable_listbook+set}" = set; then
9823 enableval=$enable_listbook;
9824 if test "$enableval" = yes; then
9825 ac_cv_use_listbook='wxUSE_LISTBOOK=yes'
9827 ac_cv_use_listbook='wxUSE_LISTBOOK=no'
9832 LINE=`grep "wxUSE_LISTBOOK" ${wx_arg_cache_file}`
9833 if test "x$LINE" != x ; then
9834 eval "DEFAULT_$LINE"
9839 ac_cv_use_listbook='wxUSE_LISTBOOK='$DEFAULT_wxUSE_LISTBOOK
9844 eval "$ac_cv_use_listbook"
9845 if test "$no_cache" != 1; then
9846 echo $ac_cv_use_listbook >> ${wx_arg_cache_file}.tmp
9849 if test "$wxUSE_LISTBOOK" = yes; then
9850 { echo "$as_me:$LINENO: result: yes" >&5
9851 echo "${ECHO_T}yes" >&6; }
9853 { echo "$as_me:$LINENO: result: no" >&5
9854 echo "${ECHO_T}no" >&6; }
9859 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbox" >&5
9860 echo $ECHO_N "checking for --${enablestring:-enable}-listbox... $ECHO_C" >&6; }
9862 # Check whether --enable-listbox was given.
9863 if test "${enable_listbox+set}" = set; then
9864 enableval=$enable_listbox;
9865 if test "$enableval" = yes; then
9866 ac_cv_use_listbox='wxUSE_LISTBOX=yes'
9868 ac_cv_use_listbox='wxUSE_LISTBOX=no'
9873 LINE=`grep "wxUSE_LISTBOX" ${wx_arg_cache_file}`
9874 if test "x$LINE" != x ; then
9875 eval "DEFAULT_$LINE"
9880 ac_cv_use_listbox='wxUSE_LISTBOX='$DEFAULT_wxUSE_LISTBOX
9885 eval "$ac_cv_use_listbox"
9886 if test "$no_cache" != 1; then
9887 echo $ac_cv_use_listbox >> ${wx_arg_cache_file}.tmp
9890 if test "$wxUSE_LISTBOX" = yes; then
9891 { echo "$as_me:$LINENO: result: yes" >&5
9892 echo "${ECHO_T}yes" >&6; }
9894 { echo "$as_me:$LINENO: result: no" >&5
9895 echo "${ECHO_T}no" >&6; }
9900 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listctrl" >&5
9901 echo $ECHO_N "checking for --${enablestring:-enable}-listctrl... $ECHO_C" >&6; }
9903 # Check whether --enable-listctrl was given.
9904 if test "${enable_listctrl+set}" = set; then
9905 enableval=$enable_listctrl;
9906 if test "$enableval" = yes; then
9907 ac_cv_use_listctrl='wxUSE_LISTCTRL=yes'
9909 ac_cv_use_listctrl='wxUSE_LISTCTRL=no'
9914 LINE=`grep "wxUSE_LISTCTRL" ${wx_arg_cache_file}`
9915 if test "x$LINE" != x ; then
9916 eval "DEFAULT_$LINE"
9921 ac_cv_use_listctrl='wxUSE_LISTCTRL='$DEFAULT_wxUSE_LISTCTRL
9926 eval "$ac_cv_use_listctrl"
9927 if test "$no_cache" != 1; then
9928 echo $ac_cv_use_listctrl >> ${wx_arg_cache_file}.tmp
9931 if test "$wxUSE_LISTCTRL" = yes; then
9932 { echo "$as_me:$LINENO: result: yes" >&5
9933 echo "${ECHO_T}yes" >&6; }
9935 { echo "$as_me:$LINENO: result: no" >&5
9936 echo "${ECHO_T}no" >&6; }
9941 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-notebook" >&5
9942 echo $ECHO_N "checking for --${enablestring:-enable}-notebook... $ECHO_C" >&6; }
9944 # Check whether --enable-notebook was given.
9945 if test "${enable_notebook+set}" = set; then
9946 enableval=$enable_notebook;
9947 if test "$enableval" = yes; then
9948 ac_cv_use_notebook='wxUSE_NOTEBOOK=yes'
9950 ac_cv_use_notebook='wxUSE_NOTEBOOK=no'
9955 LINE=`grep "wxUSE_NOTEBOOK" ${wx_arg_cache_file}`
9956 if test "x$LINE" != x ; then
9957 eval "DEFAULT_$LINE"
9962 ac_cv_use_notebook='wxUSE_NOTEBOOK='$DEFAULT_wxUSE_NOTEBOOK
9967 eval "$ac_cv_use_notebook"
9968 if test "$no_cache" != 1; then
9969 echo $ac_cv_use_notebook >> ${wx_arg_cache_file}.tmp
9972 if test "$wxUSE_NOTEBOOK" = yes; then
9973 { echo "$as_me:$LINENO: result: yes" >&5
9974 echo "${ECHO_T}yes" >&6; }
9976 { echo "$as_me:$LINENO: result: no" >&5
9977 echo "${ECHO_T}no" >&6; }
9982 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-odcombobox" >&5
9983 echo $ECHO_N "checking for --${enablestring:-enable}-odcombobox... $ECHO_C" >&6; }
9985 # Check whether --enable-odcombobox was given.
9986 if test "${enable_odcombobox+set}" = set; then
9987 enableval=$enable_odcombobox;
9988 if test "$enableval" = yes; then
9989 ac_cv_use_odcombobox='wxUSE_ODCOMBOBOX=yes'
9991 ac_cv_use_odcombobox='wxUSE_ODCOMBOBOX=no'
9996 LINE=`grep "wxUSE_ODCOMBOBOX" ${wx_arg_cache_file}`
9997 if test "x$LINE" != x ; then
9998 eval "DEFAULT_$LINE"
10003 ac_cv_use_odcombobox='wxUSE_ODCOMBOBOX='$DEFAULT_wxUSE_ODCOMBOBOX
10008 eval "$ac_cv_use_odcombobox"
10009 if test "$no_cache" != 1; then
10010 echo $ac_cv_use_odcombobox >> ${wx_arg_cache_file}.tmp
10013 if test "$wxUSE_ODCOMBOBOX" = yes; then
10014 { echo "$as_me:$LINENO: result: yes" >&5
10015 echo "${ECHO_T}yes" >&6; }
10017 { echo "$as_me:$LINENO: result: no" >&5
10018 echo "${ECHO_T}no" >&6; }
10023 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobox" >&5
10024 echo $ECHO_N "checking for --${enablestring:-enable}-radiobox... $ECHO_C" >&6; }
10026 # Check whether --enable-radiobox was given.
10027 if test "${enable_radiobox+set}" = set; then
10028 enableval=$enable_radiobox;
10029 if test "$enableval" = yes; then
10030 ac_cv_use_radiobox='wxUSE_RADIOBOX=yes'
10032 ac_cv_use_radiobox='wxUSE_RADIOBOX=no'
10037 LINE=`grep "wxUSE_RADIOBOX" ${wx_arg_cache_file}`
10038 if test "x$LINE" != x ; then
10039 eval "DEFAULT_$LINE"
10044 ac_cv_use_radiobox='wxUSE_RADIOBOX='$DEFAULT_wxUSE_RADIOBOX
10049 eval "$ac_cv_use_radiobox"
10050 if test "$no_cache" != 1; then
10051 echo $ac_cv_use_radiobox >> ${wx_arg_cache_file}.tmp
10054 if test "$wxUSE_RADIOBOX" = yes; then
10055 { echo "$as_me:$LINENO: result: yes" >&5
10056 echo "${ECHO_T}yes" >&6; }
10058 { echo "$as_me:$LINENO: result: no" >&5
10059 echo "${ECHO_T}no" >&6; }
10064 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobtn" >&5
10065 echo $ECHO_N "checking for --${enablestring:-enable}-radiobtn... $ECHO_C" >&6; }
10067 # Check whether --enable-radiobtn was given.
10068 if test "${enable_radiobtn+set}" = set; then
10069 enableval=$enable_radiobtn;
10070 if test "$enableval" = yes; then
10071 ac_cv_use_radiobtn='wxUSE_RADIOBTN=yes'
10073 ac_cv_use_radiobtn='wxUSE_RADIOBTN=no'
10078 LINE=`grep "wxUSE_RADIOBTN" ${wx_arg_cache_file}`
10079 if test "x$LINE" != x ; then
10080 eval "DEFAULT_$LINE"
10085 ac_cv_use_radiobtn='wxUSE_RADIOBTN='$DEFAULT_wxUSE_RADIOBTN
10090 eval "$ac_cv_use_radiobtn"
10091 if test "$no_cache" != 1; then
10092 echo $ac_cv_use_radiobtn >> ${wx_arg_cache_file}.tmp
10095 if test "$wxUSE_RADIOBTN" = yes; then
10096 { echo "$as_me:$LINENO: result: yes" >&5
10097 echo "${ECHO_T}yes" >&6; }
10099 { echo "$as_me:$LINENO: result: no" >&5
10100 echo "${ECHO_T}no" >&6; }
10105 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sash" >&5
10106 echo $ECHO_N "checking for --${enablestring:-enable}-sash... $ECHO_C" >&6; }
10108 # Check whether --enable-sash was given.
10109 if test "${enable_sash+set}" = set; then
10110 enableval=$enable_sash;
10111 if test "$enableval" = yes; then
10112 ac_cv_use_sash='wxUSE_SASH=yes'
10114 ac_cv_use_sash='wxUSE_SASH=no'
10119 LINE=`grep "wxUSE_SASH" ${wx_arg_cache_file}`
10120 if test "x$LINE" != x ; then
10121 eval "DEFAULT_$LINE"
10126 ac_cv_use_sash='wxUSE_SASH='$DEFAULT_wxUSE_SASH
10131 eval "$ac_cv_use_sash"
10132 if test "$no_cache" != 1; then
10133 echo $ac_cv_use_sash >> ${wx_arg_cache_file}.tmp
10136 if test "$wxUSE_SASH" = yes; then
10137 { echo "$as_me:$LINENO: result: yes" >&5
10138 echo "${ECHO_T}yes" >&6; }
10140 { echo "$as_me:$LINENO: result: no" >&5
10141 echo "${ECHO_T}no" >&6; }
10146 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-scrollbar" >&5
10147 echo $ECHO_N "checking for --${enablestring:-enable}-scrollbar... $ECHO_C" >&6; }
10149 # Check whether --enable-scrollbar was given.
10150 if test "${enable_scrollbar+set}" = set; then
10151 enableval=$enable_scrollbar;
10152 if test "$enableval" = yes; then
10153 ac_cv_use_scrollbar='wxUSE_SCROLLBAR=yes'
10155 ac_cv_use_scrollbar='wxUSE_SCROLLBAR=no'
10160 LINE=`grep "wxUSE_SCROLLBAR" ${wx_arg_cache_file}`
10161 if test "x$LINE" != x ; then
10162 eval "DEFAULT_$LINE"
10167 ac_cv_use_scrollbar='wxUSE_SCROLLBAR='$DEFAULT_wxUSE_SCROLLBAR
10172 eval "$ac_cv_use_scrollbar"
10173 if test "$no_cache" != 1; then
10174 echo $ac_cv_use_scrollbar >> ${wx_arg_cache_file}.tmp
10177 if test "$wxUSE_SCROLLBAR" = yes; then
10178 { echo "$as_me:$LINENO: result: yes" >&5
10179 echo "${ECHO_T}yes" >&6; }
10181 { echo "$as_me:$LINENO: result: no" >&5
10182 echo "${ECHO_T}no" >&6; }
10187 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-searchctrl" >&5
10188 echo $ECHO_N "checking for --${enablestring:-enable}-searchctrl... $ECHO_C" >&6; }
10190 # Check whether --enable-searchctrl was given.
10191 if test "${enable_searchctrl+set}" = set; then
10192 enableval=$enable_searchctrl;
10193 if test "$enableval" = yes; then
10194 ac_cv_use_searchctrl='wxUSE_SEARCHCTRL=yes'
10196 ac_cv_use_searchctrl='wxUSE_SEARCHCTRL=no'
10201 LINE=`grep "wxUSE_SEARCHCTRL" ${wx_arg_cache_file}`
10202 if test "x$LINE" != x ; then
10203 eval "DEFAULT_$LINE"
10208 ac_cv_use_searchctrl='wxUSE_SEARCHCTRL='$DEFAULT_wxUSE_SEARCHCTRL
10213 eval "$ac_cv_use_searchctrl"
10214 if test "$no_cache" != 1; then
10215 echo $ac_cv_use_searchctrl >> ${wx_arg_cache_file}.tmp
10218 if test "$wxUSE_SEARCHCTRL" = yes; then
10219 { echo "$as_me:$LINENO: result: yes" >&5
10220 echo "${ECHO_T}yes" >&6; }
10222 { echo "$as_me:$LINENO: result: no" >&5
10223 echo "${ECHO_T}no" >&6; }
10228 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-slider" >&5
10229 echo $ECHO_N "checking for --${enablestring:-enable}-slider... $ECHO_C" >&6; }
10231 # Check whether --enable-slider was given.
10232 if test "${enable_slider+set}" = set; then
10233 enableval=$enable_slider;
10234 if test "$enableval" = yes; then
10235 ac_cv_use_slider='wxUSE_SLIDER=yes'
10237 ac_cv_use_slider='wxUSE_SLIDER=no'
10242 LINE=`grep "wxUSE_SLIDER" ${wx_arg_cache_file}`
10243 if test "x$LINE" != x ; then
10244 eval "DEFAULT_$LINE"
10249 ac_cv_use_slider='wxUSE_SLIDER='$DEFAULT_wxUSE_SLIDER
10254 eval "$ac_cv_use_slider"
10255 if test "$no_cache" != 1; then
10256 echo $ac_cv_use_slider >> ${wx_arg_cache_file}.tmp
10259 if test "$wxUSE_SLIDER" = yes; then
10260 { echo "$as_me:$LINENO: result: yes" >&5
10261 echo "${ECHO_T}yes" >&6; }
10263 { echo "$as_me:$LINENO: result: no" >&5
10264 echo "${ECHO_T}no" >&6; }
10269 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinbtn" >&5
10270 echo $ECHO_N "checking for --${enablestring:-enable}-spinbtn... $ECHO_C" >&6; }
10272 # Check whether --enable-spinbtn was given.
10273 if test "${enable_spinbtn+set}" = set; then
10274 enableval=$enable_spinbtn;
10275 if test "$enableval" = yes; then
10276 ac_cv_use_spinbtn='wxUSE_SPINBTN=yes'
10278 ac_cv_use_spinbtn='wxUSE_SPINBTN=no'
10283 LINE=`grep "wxUSE_SPINBTN" ${wx_arg_cache_file}`
10284 if test "x$LINE" != x ; then
10285 eval "DEFAULT_$LINE"
10290 ac_cv_use_spinbtn='wxUSE_SPINBTN='$DEFAULT_wxUSE_SPINBTN
10295 eval "$ac_cv_use_spinbtn"
10296 if test "$no_cache" != 1; then
10297 echo $ac_cv_use_spinbtn >> ${wx_arg_cache_file}.tmp
10300 if test "$wxUSE_SPINBTN" = yes; then
10301 { echo "$as_me:$LINENO: result: yes" >&5
10302 echo "${ECHO_T}yes" >&6; }
10304 { echo "$as_me:$LINENO: result: no" >&5
10305 echo "${ECHO_T}no" >&6; }
10310 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinctrl" >&5
10311 echo $ECHO_N "checking for --${enablestring:-enable}-spinctrl... $ECHO_C" >&6; }
10313 # Check whether --enable-spinctrl was given.
10314 if test "${enable_spinctrl+set}" = set; then
10315 enableval=$enable_spinctrl;
10316 if test "$enableval" = yes; then
10317 ac_cv_use_spinctrl='wxUSE_SPINCTRL=yes'
10319 ac_cv_use_spinctrl='wxUSE_SPINCTRL=no'
10324 LINE=`grep "wxUSE_SPINCTRL" ${wx_arg_cache_file}`
10325 if test "x$LINE" != x ; then
10326 eval "DEFAULT_$LINE"
10331 ac_cv_use_spinctrl='wxUSE_SPINCTRL='$DEFAULT_wxUSE_SPINCTRL
10336 eval "$ac_cv_use_spinctrl"
10337 if test "$no_cache" != 1; then
10338 echo $ac_cv_use_spinctrl >> ${wx_arg_cache_file}.tmp
10341 if test "$wxUSE_SPINCTRL" = yes; then
10342 { echo "$as_me:$LINENO: result: yes" >&5
10343 echo "${ECHO_T}yes" >&6; }
10345 { echo "$as_me:$LINENO: result: no" >&5
10346 echo "${ECHO_T}no" >&6; }
10351 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splitter" >&5
10352 echo $ECHO_N "checking for --${enablestring:-enable}-splitter... $ECHO_C" >&6; }
10354 # Check whether --enable-splitter was given.
10355 if test "${enable_splitter+set}" = set; then
10356 enableval=$enable_splitter;
10357 if test "$enableval" = yes; then
10358 ac_cv_use_splitter='wxUSE_SPLITTER=yes'
10360 ac_cv_use_splitter='wxUSE_SPLITTER=no'
10365 LINE=`grep "wxUSE_SPLITTER" ${wx_arg_cache_file}`
10366 if test "x$LINE" != x ; then
10367 eval "DEFAULT_$LINE"
10372 ac_cv_use_splitter='wxUSE_SPLITTER='$DEFAULT_wxUSE_SPLITTER
10377 eval "$ac_cv_use_splitter"
10378 if test "$no_cache" != 1; then
10379 echo $ac_cv_use_splitter >> ${wx_arg_cache_file}.tmp
10382 if test "$wxUSE_SPLITTER" = yes; then
10383 { echo "$as_me:$LINENO: result: yes" >&5
10384 echo "${ECHO_T}yes" >&6; }
10386 { echo "$as_me:$LINENO: result: no" >&5
10387 echo "${ECHO_T}no" >&6; }
10392 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbmp" >&5
10393 echo $ECHO_N "checking for --${enablestring:-enable}-statbmp... $ECHO_C" >&6; }
10395 # Check whether --enable-statbmp was given.
10396 if test "${enable_statbmp+set}" = set; then
10397 enableval=$enable_statbmp;
10398 if test "$enableval" = yes; then
10399 ac_cv_use_statbmp='wxUSE_STATBMP=yes'
10401 ac_cv_use_statbmp='wxUSE_STATBMP=no'
10406 LINE=`grep "wxUSE_STATBMP" ${wx_arg_cache_file}`
10407 if test "x$LINE" != x ; then
10408 eval "DEFAULT_$LINE"
10413 ac_cv_use_statbmp='wxUSE_STATBMP='$DEFAULT_wxUSE_STATBMP
10418 eval "$ac_cv_use_statbmp"
10419 if test "$no_cache" != 1; then
10420 echo $ac_cv_use_statbmp >> ${wx_arg_cache_file}.tmp
10423 if test "$wxUSE_STATBMP" = yes; then
10424 { echo "$as_me:$LINENO: result: yes" >&5
10425 echo "${ECHO_T}yes" >&6; }
10427 { echo "$as_me:$LINENO: result: no" >&5
10428 echo "${ECHO_T}no" >&6; }
10433 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbox" >&5
10434 echo $ECHO_N "checking for --${enablestring:-enable}-statbox... $ECHO_C" >&6; }
10436 # Check whether --enable-statbox was given.
10437 if test "${enable_statbox+set}" = set; then
10438 enableval=$enable_statbox;
10439 if test "$enableval" = yes; then
10440 ac_cv_use_statbox='wxUSE_STATBOX=yes'
10442 ac_cv_use_statbox='wxUSE_STATBOX=no'
10447 LINE=`grep "wxUSE_STATBOX" ${wx_arg_cache_file}`
10448 if test "x$LINE" != x ; then
10449 eval "DEFAULT_$LINE"
10454 ac_cv_use_statbox='wxUSE_STATBOX='$DEFAULT_wxUSE_STATBOX
10459 eval "$ac_cv_use_statbox"
10460 if test "$no_cache" != 1; then
10461 echo $ac_cv_use_statbox >> ${wx_arg_cache_file}.tmp
10464 if test "$wxUSE_STATBOX" = yes; then
10465 { echo "$as_me:$LINENO: result: yes" >&5
10466 echo "${ECHO_T}yes" >&6; }
10468 { echo "$as_me:$LINENO: result: no" >&5
10469 echo "${ECHO_T}no" >&6; }
10474 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statline" >&5
10475 echo $ECHO_N "checking for --${enablestring:-enable}-statline... $ECHO_C" >&6; }
10477 # Check whether --enable-statline was given.
10478 if test "${enable_statline+set}" = set; then
10479 enableval=$enable_statline;
10480 if test "$enableval" = yes; then
10481 ac_cv_use_statline='wxUSE_STATLINE=yes'
10483 ac_cv_use_statline='wxUSE_STATLINE=no'
10488 LINE=`grep "wxUSE_STATLINE" ${wx_arg_cache_file}`
10489 if test "x$LINE" != x ; then
10490 eval "DEFAULT_$LINE"
10495 ac_cv_use_statline='wxUSE_STATLINE='$DEFAULT_wxUSE_STATLINE
10500 eval "$ac_cv_use_statline"
10501 if test "$no_cache" != 1; then
10502 echo $ac_cv_use_statline >> ${wx_arg_cache_file}.tmp
10505 if test "$wxUSE_STATLINE" = yes; then
10506 { echo "$as_me:$LINENO: result: yes" >&5
10507 echo "${ECHO_T}yes" >&6; }
10509 { echo "$as_me:$LINENO: result: no" >&5
10510 echo "${ECHO_T}no" >&6; }
10515 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stattext" >&5
10516 echo $ECHO_N "checking for --${enablestring:-enable}-stattext... $ECHO_C" >&6; }
10518 # Check whether --enable-stattext was given.
10519 if test "${enable_stattext+set}" = set; then
10520 enableval=$enable_stattext;
10521 if test "$enableval" = yes; then
10522 ac_cv_use_stattext='wxUSE_STATTEXT=yes'
10524 ac_cv_use_stattext='wxUSE_STATTEXT=no'
10529 LINE=`grep "wxUSE_STATTEXT" ${wx_arg_cache_file}`
10530 if test "x$LINE" != x ; then
10531 eval "DEFAULT_$LINE"
10536 ac_cv_use_stattext='wxUSE_STATTEXT='$DEFAULT_wxUSE_STATTEXT
10541 eval "$ac_cv_use_stattext"
10542 if test "$no_cache" != 1; then
10543 echo $ac_cv_use_stattext >> ${wx_arg_cache_file}.tmp
10546 if test "$wxUSE_STATTEXT" = yes; then
10547 { echo "$as_me:$LINENO: result: yes" >&5
10548 echo "${ECHO_T}yes" >&6; }
10550 { echo "$as_me:$LINENO: result: no" >&5
10551 echo "${ECHO_T}no" >&6; }
10556 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statusbar" >&5
10557 echo $ECHO_N "checking for --${enablestring:-enable}-statusbar... $ECHO_C" >&6; }
10559 # Check whether --enable-statusbar was given.
10560 if test "${enable_statusbar+set}" = set; then
10561 enableval=$enable_statusbar;
10562 if test "$enableval" = yes; then
10563 ac_cv_use_statusbar='wxUSE_STATUSBAR=yes'
10565 ac_cv_use_statusbar='wxUSE_STATUSBAR=no'
10570 LINE=`grep "wxUSE_STATUSBAR" ${wx_arg_cache_file}`
10571 if test "x$LINE" != x ; then
10572 eval "DEFAULT_$LINE"
10577 ac_cv_use_statusbar='wxUSE_STATUSBAR='$DEFAULT_wxUSE_STATUSBAR
10582 eval "$ac_cv_use_statusbar"
10583 if test "$no_cache" != 1; then
10584 echo $ac_cv_use_statusbar >> ${wx_arg_cache_file}.tmp
10587 if test "$wxUSE_STATUSBAR" = yes; then
10588 { echo "$as_me:$LINENO: result: yes" >&5
10589 echo "${ECHO_T}yes" >&6; }
10591 { echo "$as_me:$LINENO: result: no" >&5
10592 echo "${ECHO_T}no" >&6; }
10597 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tabdialog" >&5
10598 echo $ECHO_N "checking for --${enablestring:-enable}-tabdialog... $ECHO_C" >&6; }
10600 # Check whether --enable-tabdialog was given.
10601 if test "${enable_tabdialog+set}" = set; then
10602 enableval=$enable_tabdialog;
10603 if test "$enableval" = yes; then
10604 ac_cv_use_tabdialog='wxUSE_TAB_DIALOG=yes'
10606 ac_cv_use_tabdialog='wxUSE_TAB_DIALOG=no'
10611 LINE=`grep "wxUSE_TAB_DIALOG" ${wx_arg_cache_file}`
10612 if test "x$LINE" != x ; then
10613 eval "DEFAULT_$LINE"
10618 ac_cv_use_tabdialog='wxUSE_TAB_DIALOG='$DEFAULT_wxUSE_TAB_DIALOG
10623 eval "$ac_cv_use_tabdialog"
10624 if test "$no_cache" != 1; then
10625 echo $ac_cv_use_tabdialog >> ${wx_arg_cache_file}.tmp
10628 if test "$wxUSE_TAB_DIALOG" = yes; then
10629 { echo "$as_me:$LINENO: result: yes" >&5
10630 echo "${ECHO_T}yes" >&6; }
10632 { echo "$as_me:$LINENO: result: no" >&5
10633 echo "${ECHO_T}no" >&6; }
10638 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textctrl" >&5
10639 echo $ECHO_N "checking for --${enablestring:-enable}-textctrl... $ECHO_C" >&6; }
10641 # Check whether --enable-textctrl was given.
10642 if test "${enable_textctrl+set}" = set; then
10643 enableval=$enable_textctrl;
10644 if test "$enableval" = yes; then
10645 ac_cv_use_textctrl='wxUSE_TEXTCTRL=yes'
10647 ac_cv_use_textctrl='wxUSE_TEXTCTRL=no'
10652 LINE=`grep "wxUSE_TEXTCTRL" ${wx_arg_cache_file}`
10653 if test "x$LINE" != x ; then
10654 eval "DEFAULT_$LINE"
10659 ac_cv_use_textctrl='wxUSE_TEXTCTRL='$DEFAULT_wxUSE_TEXTCTRL
10664 eval "$ac_cv_use_textctrl"
10665 if test "$no_cache" != 1; then
10666 echo $ac_cv_use_textctrl >> ${wx_arg_cache_file}.tmp
10669 if test "$wxUSE_TEXTCTRL" = yes; then
10670 { echo "$as_me:$LINENO: result: yes" >&5
10671 echo "${ECHO_T}yes" >&6; }
10673 { echo "$as_me:$LINENO: result: no" >&5
10674 echo "${ECHO_T}no" >&6; }
10679 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-togglebtn" >&5
10680 echo $ECHO_N "checking for --${enablestring:-enable}-togglebtn... $ECHO_C" >&6; }
10682 # Check whether --enable-togglebtn was given.
10683 if test "${enable_togglebtn+set}" = set; then
10684 enableval=$enable_togglebtn;
10685 if test "$enableval" = yes; then
10686 ac_cv_use_togglebtn='wxUSE_TOGGLEBTN=yes'
10688 ac_cv_use_togglebtn='wxUSE_TOGGLEBTN=no'
10693 LINE=`grep "wxUSE_TOGGLEBTN" ${wx_arg_cache_file}`
10694 if test "x$LINE" != x ; then
10695 eval "DEFAULT_$LINE"
10700 ac_cv_use_togglebtn='wxUSE_TOGGLEBTN='$DEFAULT_wxUSE_TOGGLEBTN
10705 eval "$ac_cv_use_togglebtn"
10706 if test "$no_cache" != 1; then
10707 echo $ac_cv_use_togglebtn >> ${wx_arg_cache_file}.tmp
10710 if test "$wxUSE_TOGGLEBTN" = yes; then
10711 { echo "$as_me:$LINENO: result: yes" >&5
10712 echo "${ECHO_T}yes" >&6; }
10714 { echo "$as_me:$LINENO: result: no" >&5
10715 echo "${ECHO_T}no" >&6; }
10720 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-toolbar" >&5
10721 echo $ECHO_N "checking for --${enablestring:-enable}-toolbar... $ECHO_C" >&6; }
10723 # Check whether --enable-toolbar was given.
10724 if test "${enable_toolbar+set}" = set; then
10725 enableval=$enable_toolbar;
10726 if test "$enableval" = yes; then
10727 ac_cv_use_toolbar='wxUSE_TOOLBAR=yes'
10729 ac_cv_use_toolbar='wxUSE_TOOLBAR=no'
10734 LINE=`grep "wxUSE_TOOLBAR" ${wx_arg_cache_file}`
10735 if test "x$LINE" != x ; then
10736 eval "DEFAULT_$LINE"
10741 ac_cv_use_toolbar='wxUSE_TOOLBAR='$DEFAULT_wxUSE_TOOLBAR
10746 eval "$ac_cv_use_toolbar"
10747 if test "$no_cache" != 1; then
10748 echo $ac_cv_use_toolbar >> ${wx_arg_cache_file}.tmp
10751 if test "$wxUSE_TOOLBAR" = yes; then
10752 { echo "$as_me:$LINENO: result: yes" >&5
10753 echo "${ECHO_T}yes" >&6; }
10755 { echo "$as_me:$LINENO: result: no" >&5
10756 echo "${ECHO_T}no" >&6; }
10761 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tbarnative" >&5
10762 echo $ECHO_N "checking for --${enablestring:-enable}-tbarnative... $ECHO_C" >&6; }
10764 # Check whether --enable-tbarnative was given.
10765 if test "${enable_tbarnative+set}" = set; then
10766 enableval=$enable_tbarnative;
10767 if test "$enableval" = yes; then
10768 ac_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=yes'
10770 ac_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=no'
10775 LINE=`grep "wxUSE_TOOLBAR_NATIVE" ${wx_arg_cache_file}`
10776 if test "x$LINE" != x ; then
10777 eval "DEFAULT_$LINE"
10782 ac_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE='$DEFAULT_wxUSE_TOOLBAR_NATIVE
10787 eval "$ac_cv_use_tbarnative"
10788 if test "$no_cache" != 1; then
10789 echo $ac_cv_use_tbarnative >> ${wx_arg_cache_file}.tmp
10792 if test "$wxUSE_TOOLBAR_NATIVE" = yes; then
10793 { echo "$as_me:$LINENO: result: yes" >&5
10794 echo "${ECHO_T}yes" >&6; }
10796 { echo "$as_me:$LINENO: result: no" >&5
10797 echo "${ECHO_T}no" >&6; }
10802 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-treebook" >&5
10803 echo $ECHO_N "checking for --${enablestring:-enable}-treebook... $ECHO_C" >&6; }
10805 # Check whether --enable-treebook was given.
10806 if test "${enable_treebook+set}" = set; then
10807 enableval=$enable_treebook;
10808 if test "$enableval" = yes; then
10809 ac_cv_use_treebook='wxUSE_TREEBOOK=yes'
10811 ac_cv_use_treebook='wxUSE_TREEBOOK=no'
10816 LINE=`grep "wxUSE_TREEBOOK" ${wx_arg_cache_file}`
10817 if test "x$LINE" != x ; then
10818 eval "DEFAULT_$LINE"
10823 ac_cv_use_treebook='wxUSE_TREEBOOK='$DEFAULT_wxUSE_TREEBOOK
10828 eval "$ac_cv_use_treebook"
10829 if test "$no_cache" != 1; then
10830 echo $ac_cv_use_treebook >> ${wx_arg_cache_file}.tmp
10833 if test "$wxUSE_TREEBOOK" = yes; then
10834 { echo "$as_me:$LINENO: result: yes" >&5
10835 echo "${ECHO_T}yes" >&6; }
10837 { echo "$as_me:$LINENO: result: no" >&5
10838 echo "${ECHO_T}no" >&6; }
10843 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-toolbook" >&5
10844 echo $ECHO_N "checking for --${enablestring:-enable}-toolbook... $ECHO_C" >&6; }
10846 # Check whether --enable-toolbook was given.
10847 if test "${enable_toolbook+set}" = set; then
10848 enableval=$enable_toolbook;
10849 if test "$enableval" = yes; then
10850 ac_cv_use_toolbook='wxUSE_TOOLBOOK=yes'
10852 ac_cv_use_toolbook='wxUSE_TOOLBOOK=no'
10857 LINE=`grep "wxUSE_TOOLBOOK" ${wx_arg_cache_file}`
10858 if test "x$LINE" != x ; then
10859 eval "DEFAULT_$LINE"
10864 ac_cv_use_toolbook='wxUSE_TOOLBOOK='$DEFAULT_wxUSE_TOOLBOOK
10869 eval "$ac_cv_use_toolbook"
10870 if test "$no_cache" != 1; then
10871 echo $ac_cv_use_toolbook >> ${wx_arg_cache_file}.tmp
10874 if test "$wxUSE_TOOLBOOK" = yes; then
10875 { echo "$as_me:$LINENO: result: yes" >&5
10876 echo "${ECHO_T}yes" >&6; }
10878 { echo "$as_me:$LINENO: result: no" >&5
10879 echo "${ECHO_T}no" >&6; }
10884 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-treectrl" >&5
10885 echo $ECHO_N "checking for --${enablestring:-enable}-treectrl... $ECHO_C" >&6; }
10887 # Check whether --enable-treectrl was given.
10888 if test "${enable_treectrl+set}" = set; then
10889 enableval=$enable_treectrl;
10890 if test "$enableval" = yes; then
10891 ac_cv_use_treectrl='wxUSE_TREECTRL=yes'
10893 ac_cv_use_treectrl='wxUSE_TREECTRL=no'
10898 LINE=`grep "wxUSE_TREECTRL" ${wx_arg_cache_file}`
10899 if test "x$LINE" != x ; then
10900 eval "DEFAULT_$LINE"
10905 ac_cv_use_treectrl='wxUSE_TREECTRL='$DEFAULT_wxUSE_TREECTRL
10910 eval "$ac_cv_use_treectrl"
10911 if test "$no_cache" != 1; then
10912 echo $ac_cv_use_treectrl >> ${wx_arg_cache_file}.tmp
10915 if test "$wxUSE_TREECTRL" = yes; then
10916 { echo "$as_me:$LINENO: result: yes" >&5
10917 echo "${ECHO_T}yes" >&6; }
10919 { echo "$as_me:$LINENO: result: no" >&5
10920 echo "${ECHO_T}no" >&6; }
10925 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipwindow" >&5
10926 echo $ECHO_N "checking for --${enablestring:-enable}-tipwindow... $ECHO_C" >&6; }
10928 # Check whether --enable-tipwindow was given.
10929 if test "${enable_tipwindow+set}" = set; then
10930 enableval=$enable_tipwindow;
10931 if test "$enableval" = yes; then
10932 ac_cv_use_tipwindow='wxUSE_TIPWINDOW=yes'
10934 ac_cv_use_tipwindow='wxUSE_TIPWINDOW=no'
10939 LINE=`grep "wxUSE_TIPWINDOW" ${wx_arg_cache_file}`
10940 if test "x$LINE" != x ; then
10941 eval "DEFAULT_$LINE"
10946 ac_cv_use_tipwindow='wxUSE_TIPWINDOW='$DEFAULT_wxUSE_TIPWINDOW
10951 eval "$ac_cv_use_tipwindow"
10952 if test "$no_cache" != 1; then
10953 echo $ac_cv_use_tipwindow >> ${wx_arg_cache_file}.tmp
10956 if test "$wxUSE_TIPWINDOW" = yes; then
10957 { echo "$as_me:$LINENO: result: yes" >&5
10958 echo "${ECHO_T}yes" >&6; }
10960 { echo "$as_me:$LINENO: result: no" >&5
10961 echo "${ECHO_T}no" >&6; }
10966 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-popupwin" >&5
10967 echo $ECHO_N "checking for --${enablestring:-enable}-popupwin... $ECHO_C" >&6; }
10969 # Check whether --enable-popupwin was given.
10970 if test "${enable_popupwin+set}" = set; then
10971 enableval=$enable_popupwin;
10972 if test "$enableval" = yes; then
10973 ac_cv_use_popupwin='wxUSE_POPUPWIN=yes'
10975 ac_cv_use_popupwin='wxUSE_POPUPWIN=no'
10980 LINE=`grep "wxUSE_POPUPWIN" ${wx_arg_cache_file}`
10981 if test "x$LINE" != x ; then
10982 eval "DEFAULT_$LINE"
10987 ac_cv_use_popupwin='wxUSE_POPUPWIN='$DEFAULT_wxUSE_POPUPWIN
10992 eval "$ac_cv_use_popupwin"
10993 if test "$no_cache" != 1; then
10994 echo $ac_cv_use_popupwin >> ${wx_arg_cache_file}.tmp
10997 if test "$wxUSE_POPUPWIN" = yes; then
10998 { echo "$as_me:$LINENO: result: yes" >&5
10999 echo "${ECHO_T}yes" >&6; }
11001 { echo "$as_me:$LINENO: result: no" >&5
11002 echo "${ECHO_T}no" >&6; }
11009 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-commondlg" >&5
11010 echo $ECHO_N "checking for --${enablestring:-enable}-commondlg... $ECHO_C" >&6; }
11012 # Check whether --enable-commondlg was given.
11013 if test "${enable_commondlg+set}" = set; then
11014 enableval=$enable_commondlg;
11015 if test "$enableval" = yes; then
11016 ac_cv_use_commondlg='wxUSE_COMMONDLGS=yes'
11018 ac_cv_use_commondlg='wxUSE_COMMONDLGS=no'
11023 LINE=`grep "wxUSE_COMMONDLGS" ${wx_arg_cache_file}`
11024 if test "x$LINE" != x ; then
11025 eval "DEFAULT_$LINE"
11030 ac_cv_use_commondlg='wxUSE_COMMONDLGS='$DEFAULT_wxUSE_COMMONDLGS
11035 eval "$ac_cv_use_commondlg"
11036 if test "$no_cache" != 1; then
11037 echo $ac_cv_use_commondlg >> ${wx_arg_cache_file}.tmp
11040 if test "$wxUSE_COMMONDLGS" = yes; then
11041 { echo "$as_me:$LINENO: result: yes" >&5
11042 echo "${ECHO_T}yes" >&6; }
11044 { echo "$as_me:$LINENO: result: no" >&5
11045 echo "${ECHO_T}no" >&6; }
11050 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-aboutdlg" >&5
11051 echo $ECHO_N "checking for --${enablestring:-enable}-aboutdlg... $ECHO_C" >&6; }
11053 # Check whether --enable-aboutdlg was given.
11054 if test "${enable_aboutdlg+set}" = set; then
11055 enableval=$enable_aboutdlg;
11056 if test "$enableval" = yes; then
11057 ac_cv_use_aboutdlg='wxUSE_ABOUTDLG=yes'
11059 ac_cv_use_aboutdlg='wxUSE_ABOUTDLG=no'
11064 LINE=`grep "wxUSE_ABOUTDLG" ${wx_arg_cache_file}`
11065 if test "x$LINE" != x ; then
11066 eval "DEFAULT_$LINE"
11071 ac_cv_use_aboutdlg='wxUSE_ABOUTDLG='$DEFAULT_wxUSE_ABOUTDLG
11076 eval "$ac_cv_use_aboutdlg"
11077 if test "$no_cache" != 1; then
11078 echo $ac_cv_use_aboutdlg >> ${wx_arg_cache_file}.tmp
11081 if test "$wxUSE_ABOUTDLG" = yes; then
11082 { echo "$as_me:$LINENO: result: yes" >&5
11083 echo "${ECHO_T}yes" >&6; }
11085 { echo "$as_me:$LINENO: result: no" >&5
11086 echo "${ECHO_T}no" >&6; }
11091 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choicedlg" >&5
11092 echo $ECHO_N "checking for --${enablestring:-enable}-choicedlg... $ECHO_C" >&6; }
11094 # Check whether --enable-choicedlg was given.
11095 if test "${enable_choicedlg+set}" = set; then
11096 enableval=$enable_choicedlg;
11097 if test "$enableval" = yes; then
11098 ac_cv_use_choicedlg='wxUSE_CHOICEDLG=yes'
11100 ac_cv_use_choicedlg='wxUSE_CHOICEDLG=no'
11105 LINE=`grep "wxUSE_CHOICEDLG" ${wx_arg_cache_file}`
11106 if test "x$LINE" != x ; then
11107 eval "DEFAULT_$LINE"
11112 ac_cv_use_choicedlg='wxUSE_CHOICEDLG='$DEFAULT_wxUSE_CHOICEDLG
11117 eval "$ac_cv_use_choicedlg"
11118 if test "$no_cache" != 1; then
11119 echo $ac_cv_use_choicedlg >> ${wx_arg_cache_file}.tmp
11122 if test "$wxUSE_CHOICEDLG" = yes; then
11123 { echo "$as_me:$LINENO: result: yes" >&5
11124 echo "${ECHO_T}yes" >&6; }
11126 { echo "$as_me:$LINENO: result: no" >&5
11127 echo "${ECHO_T}no" >&6; }
11132 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-coldlg" >&5
11133 echo $ECHO_N "checking for --${enablestring:-enable}-coldlg... $ECHO_C" >&6; }
11135 # Check whether --enable-coldlg was given.
11136 if test "${enable_coldlg+set}" = set; then
11137 enableval=$enable_coldlg;
11138 if test "$enableval" = yes; then
11139 ac_cv_use_coldlg='wxUSE_COLOURDLG=yes'
11141 ac_cv_use_coldlg='wxUSE_COLOURDLG=no'
11146 LINE=`grep "wxUSE_COLOURDLG" ${wx_arg_cache_file}`
11147 if test "x$LINE" != x ; then
11148 eval "DEFAULT_$LINE"
11153 ac_cv_use_coldlg='wxUSE_COLOURDLG='$DEFAULT_wxUSE_COLOURDLG
11158 eval "$ac_cv_use_coldlg"
11159 if test "$no_cache" != 1; then
11160 echo $ac_cv_use_coldlg >> ${wx_arg_cache_file}.tmp
11163 if test "$wxUSE_COLOURDLG" = yes; then
11164 { echo "$as_me:$LINENO: result: yes" >&5
11165 echo "${ECHO_T}yes" >&6; }
11167 { echo "$as_me:$LINENO: result: no" >&5
11168 echo "${ECHO_T}no" >&6; }
11173 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filedlg" >&5
11174 echo $ECHO_N "checking for --${enablestring:-enable}-filedlg... $ECHO_C" >&6; }
11176 # Check whether --enable-filedlg was given.
11177 if test "${enable_filedlg+set}" = set; then
11178 enableval=$enable_filedlg;
11179 if test "$enableval" = yes; then
11180 ac_cv_use_filedlg='wxUSE_FILEDLG=yes'
11182 ac_cv_use_filedlg='wxUSE_FILEDLG=no'
11187 LINE=`grep "wxUSE_FILEDLG" ${wx_arg_cache_file}`
11188 if test "x$LINE" != x ; then
11189 eval "DEFAULT_$LINE"
11194 ac_cv_use_filedlg='wxUSE_FILEDLG='$DEFAULT_wxUSE_FILEDLG
11199 eval "$ac_cv_use_filedlg"
11200 if test "$no_cache" != 1; then
11201 echo $ac_cv_use_filedlg >> ${wx_arg_cache_file}.tmp
11204 if test "$wxUSE_FILEDLG" = yes; then
11205 { echo "$as_me:$LINENO: result: yes" >&5
11206 echo "${ECHO_T}yes" >&6; }
11208 { echo "$as_me:$LINENO: result: no" >&5
11209 echo "${ECHO_T}no" >&6; }
11214 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-finddlg" >&5
11215 echo $ECHO_N "checking for --${enablestring:-enable}-finddlg... $ECHO_C" >&6; }
11217 # Check whether --enable-finddlg was given.
11218 if test "${enable_finddlg+set}" = set; then
11219 enableval=$enable_finddlg;
11220 if test "$enableval" = yes; then
11221 ac_cv_use_finddlg='wxUSE_FINDREPLDLG=yes'
11223 ac_cv_use_finddlg='wxUSE_FINDREPLDLG=no'
11228 LINE=`grep "wxUSE_FINDREPLDLG" ${wx_arg_cache_file}`
11229 if test "x$LINE" != x ; then
11230 eval "DEFAULT_$LINE"
11235 ac_cv_use_finddlg='wxUSE_FINDREPLDLG='$DEFAULT_wxUSE_FINDREPLDLG
11240 eval "$ac_cv_use_finddlg"
11241 if test "$no_cache" != 1; then
11242 echo $ac_cv_use_finddlg >> ${wx_arg_cache_file}.tmp
11245 if test "$wxUSE_FINDREPLDLG" = yes; then
11246 { echo "$as_me:$LINENO: result: yes" >&5
11247 echo "${ECHO_T}yes" >&6; }
11249 { echo "$as_me:$LINENO: result: no" >&5
11250 echo "${ECHO_T}no" >&6; }
11255 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontdlg" >&5
11256 echo $ECHO_N "checking for --${enablestring:-enable}-fontdlg... $ECHO_C" >&6; }
11258 # Check whether --enable-fontdlg was given.
11259 if test "${enable_fontdlg+set}" = set; then
11260 enableval=$enable_fontdlg;
11261 if test "$enableval" = yes; then
11262 ac_cv_use_fontdlg='wxUSE_FONTDLG=yes'
11264 ac_cv_use_fontdlg='wxUSE_FONTDLG=no'
11269 LINE=`grep "wxUSE_FONTDLG" ${wx_arg_cache_file}`
11270 if test "x$LINE" != x ; then
11271 eval "DEFAULT_$LINE"
11276 ac_cv_use_fontdlg='wxUSE_FONTDLG='$DEFAULT_wxUSE_FONTDLG
11281 eval "$ac_cv_use_fontdlg"
11282 if test "$no_cache" != 1; then
11283 echo $ac_cv_use_fontdlg >> ${wx_arg_cache_file}.tmp
11286 if test "$wxUSE_FONTDLG" = yes; then
11287 { echo "$as_me:$LINENO: result: yes" >&5
11288 echo "${ECHO_T}yes" >&6; }
11290 { echo "$as_me:$LINENO: result: no" >&5
11291 echo "${ECHO_T}no" >&6; }
11296 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dirdlg" >&5
11297 echo $ECHO_N "checking for --${enablestring:-enable}-dirdlg... $ECHO_C" >&6; }
11299 # Check whether --enable-dirdlg was given.
11300 if test "${enable_dirdlg+set}" = set; then
11301 enableval=$enable_dirdlg;
11302 if test "$enableval" = yes; then
11303 ac_cv_use_dirdlg='wxUSE_DIRDLG=yes'
11305 ac_cv_use_dirdlg='wxUSE_DIRDLG=no'
11310 LINE=`grep "wxUSE_DIRDLG" ${wx_arg_cache_file}`
11311 if test "x$LINE" != x ; then
11312 eval "DEFAULT_$LINE"
11317 ac_cv_use_dirdlg='wxUSE_DIRDLG='$DEFAULT_wxUSE_DIRDLG
11322 eval "$ac_cv_use_dirdlg"
11323 if test "$no_cache" != 1; then
11324 echo $ac_cv_use_dirdlg >> ${wx_arg_cache_file}.tmp
11327 if test "$wxUSE_DIRDLG" = yes; then
11328 { echo "$as_me:$LINENO: result: yes" >&5
11329 echo "${ECHO_T}yes" >&6; }
11331 { echo "$as_me:$LINENO: result: no" >&5
11332 echo "${ECHO_T}no" >&6; }
11337 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-msgdlg" >&5
11338 echo $ECHO_N "checking for --${enablestring:-enable}-msgdlg... $ECHO_C" >&6; }
11340 # Check whether --enable-msgdlg was given.
11341 if test "${enable_msgdlg+set}" = set; then
11342 enableval=$enable_msgdlg;
11343 if test "$enableval" = yes; then
11344 ac_cv_use_msgdlg='wxUSE_MSGDLG=yes'
11346 ac_cv_use_msgdlg='wxUSE_MSGDLG=no'
11351 LINE=`grep "wxUSE_MSGDLG" ${wx_arg_cache_file}`
11352 if test "x$LINE" != x ; then
11353 eval "DEFAULT_$LINE"
11358 ac_cv_use_msgdlg='wxUSE_MSGDLG='$DEFAULT_wxUSE_MSGDLG
11363 eval "$ac_cv_use_msgdlg"
11364 if test "$no_cache" != 1; then
11365 echo $ac_cv_use_msgdlg >> ${wx_arg_cache_file}.tmp
11368 if test "$wxUSE_MSGDLG" = yes; then
11369 { echo "$as_me:$LINENO: result: yes" >&5
11370 echo "${ECHO_T}yes" >&6; }
11372 { echo "$as_me:$LINENO: result: no" >&5
11373 echo "${ECHO_T}no" >&6; }
11378 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-numberdlg" >&5
11379 echo $ECHO_N "checking for --${enablestring:-enable}-numberdlg... $ECHO_C" >&6; }
11381 # Check whether --enable-numberdlg was given.
11382 if test "${enable_numberdlg+set}" = set; then
11383 enableval=$enable_numberdlg;
11384 if test "$enableval" = yes; then
11385 ac_cv_use_numberdlg='wxUSE_NUMBERDLG=yes'
11387 ac_cv_use_numberdlg='wxUSE_NUMBERDLG=no'
11392 LINE=`grep "wxUSE_NUMBERDLG" ${wx_arg_cache_file}`
11393 if test "x$LINE" != x ; then
11394 eval "DEFAULT_$LINE"
11399 ac_cv_use_numberdlg='wxUSE_NUMBERDLG='$DEFAULT_wxUSE_NUMBERDLG
11404 eval "$ac_cv_use_numberdlg"
11405 if test "$no_cache" != 1; then
11406 echo $ac_cv_use_numberdlg >> ${wx_arg_cache_file}.tmp
11409 if test "$wxUSE_NUMBERDLG" = yes; then
11410 { echo "$as_me:$LINENO: result: yes" >&5
11411 echo "${ECHO_T}yes" >&6; }
11413 { echo "$as_me:$LINENO: result: no" >&5
11414 echo "${ECHO_T}no" >&6; }
11419 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splash" >&5
11420 echo $ECHO_N "checking for --${enablestring:-enable}-splash... $ECHO_C" >&6; }
11422 # Check whether --enable-splash was given.
11423 if test "${enable_splash+set}" = set; then
11424 enableval=$enable_splash;
11425 if test "$enableval" = yes; then
11426 ac_cv_use_splash='wxUSE_SPLASH=yes'
11428 ac_cv_use_splash='wxUSE_SPLASH=no'
11433 LINE=`grep "wxUSE_SPLASH" ${wx_arg_cache_file}`
11434 if test "x$LINE" != x ; then
11435 eval "DEFAULT_$LINE"
11440 ac_cv_use_splash='wxUSE_SPLASH='$DEFAULT_wxUSE_SPLASH
11445 eval "$ac_cv_use_splash"
11446 if test "$no_cache" != 1; then
11447 echo $ac_cv_use_splash >> ${wx_arg_cache_file}.tmp
11450 if test "$wxUSE_SPLASH" = yes; then
11451 { echo "$as_me:$LINENO: result: yes" >&5
11452 echo "${ECHO_T}yes" >&6; }
11454 { echo "$as_me:$LINENO: result: no" >&5
11455 echo "${ECHO_T}no" >&6; }
11460 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textdlg" >&5
11461 echo $ECHO_N "checking for --${enablestring:-enable}-textdlg... $ECHO_C" >&6; }
11463 # Check whether --enable-textdlg was given.
11464 if test "${enable_textdlg+set}" = set; then
11465 enableval=$enable_textdlg;
11466 if test "$enableval" = yes; then
11467 ac_cv_use_textdlg='wxUSE_TEXTDLG=yes'
11469 ac_cv_use_textdlg='wxUSE_TEXTDLG=no'
11474 LINE=`grep "wxUSE_TEXTDLG" ${wx_arg_cache_file}`
11475 if test "x$LINE" != x ; then
11476 eval "DEFAULT_$LINE"
11481 ac_cv_use_textdlg='wxUSE_TEXTDLG='$DEFAULT_wxUSE_TEXTDLG
11486 eval "$ac_cv_use_textdlg"
11487 if test "$no_cache" != 1; then
11488 echo $ac_cv_use_textdlg >> ${wx_arg_cache_file}.tmp
11491 if test "$wxUSE_TEXTDLG" = yes; then
11492 { echo "$as_me:$LINENO: result: yes" >&5
11493 echo "${ECHO_T}yes" >&6; }
11495 { echo "$as_me:$LINENO: result: no" >&5
11496 echo "${ECHO_T}no" >&6; }
11501 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipdlg" >&5
11502 echo $ECHO_N "checking for --${enablestring:-enable}-tipdlg... $ECHO_C" >&6; }
11504 # Check whether --enable-tipdlg was given.
11505 if test "${enable_tipdlg+set}" = set; then
11506 enableval=$enable_tipdlg;
11507 if test "$enableval" = yes; then
11508 ac_cv_use_tipdlg='wxUSE_STARTUP_TIPS=yes'
11510 ac_cv_use_tipdlg='wxUSE_STARTUP_TIPS=no'
11515 LINE=`grep "wxUSE_STARTUP_TIPS" ${wx_arg_cache_file}`
11516 if test "x$LINE" != x ; then
11517 eval "DEFAULT_$LINE"
11522 ac_cv_use_tipdlg='wxUSE_STARTUP_TIPS='$DEFAULT_wxUSE_STARTUP_TIPS
11527 eval "$ac_cv_use_tipdlg"
11528 if test "$no_cache" != 1; then
11529 echo $ac_cv_use_tipdlg >> ${wx_arg_cache_file}.tmp
11532 if test "$wxUSE_STARTUP_TIPS" = yes; then
11533 { echo "$as_me:$LINENO: result: yes" >&5
11534 echo "${ECHO_T}yes" >&6; }
11536 { echo "$as_me:$LINENO: result: no" >&5
11537 echo "${ECHO_T}no" >&6; }
11542 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-progressdlg" >&5
11543 echo $ECHO_N "checking for --${enablestring:-enable}-progressdlg... $ECHO_C" >&6; }
11545 # Check whether --enable-progressdlg was given.
11546 if test "${enable_progressdlg+set}" = set; then
11547 enableval=$enable_progressdlg;
11548 if test "$enableval" = yes; then
11549 ac_cv_use_progressdlg='wxUSE_PROGRESSDLG=yes'
11551 ac_cv_use_progressdlg='wxUSE_PROGRESSDLG=no'
11556 LINE=`grep "wxUSE_PROGRESSDLG" ${wx_arg_cache_file}`
11557 if test "x$LINE" != x ; then
11558 eval "DEFAULT_$LINE"
11563 ac_cv_use_progressdlg='wxUSE_PROGRESSDLG='$DEFAULT_wxUSE_PROGRESSDLG
11568 eval "$ac_cv_use_progressdlg"
11569 if test "$no_cache" != 1; then
11570 echo $ac_cv_use_progressdlg >> ${wx_arg_cache_file}.tmp
11573 if test "$wxUSE_PROGRESSDLG" = yes; then
11574 { echo "$as_me:$LINENO: result: yes" >&5
11575 echo "${ECHO_T}yes" >&6; }
11577 { echo "$as_me:$LINENO: result: no" >&5
11578 echo "${ECHO_T}no" >&6; }
11583 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-wizarddlg" >&5
11584 echo $ECHO_N "checking for --${enablestring:-enable}-wizarddlg... $ECHO_C" >&6; }
11586 # Check whether --enable-wizarddlg was given.
11587 if test "${enable_wizarddlg+set}" = set; then
11588 enableval=$enable_wizarddlg;
11589 if test "$enableval" = yes; then
11590 ac_cv_use_wizarddlg='wxUSE_WIZARDDLG=yes'
11592 ac_cv_use_wizarddlg='wxUSE_WIZARDDLG=no'
11597 LINE=`grep "wxUSE_WIZARDDLG" ${wx_arg_cache_file}`
11598 if test "x$LINE" != x ; then
11599 eval "DEFAULT_$LINE"
11604 ac_cv_use_wizarddlg='wxUSE_WIZARDDLG='$DEFAULT_wxUSE_WIZARDDLG
11609 eval "$ac_cv_use_wizarddlg"
11610 if test "$no_cache" != 1; then
11611 echo $ac_cv_use_wizarddlg >> ${wx_arg_cache_file}.tmp
11614 if test "$wxUSE_WIZARDDLG" = yes; then
11615 { echo "$as_me:$LINENO: result: yes" >&5
11616 echo "${ECHO_T}yes" >&6; }
11618 { echo "$as_me:$LINENO: result: no" >&5
11619 echo "${ECHO_T}no" >&6; }
11626 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-menus" >&5
11627 echo $ECHO_N "checking for --${enablestring:-enable}-menus... $ECHO_C" >&6; }
11629 # Check whether --enable-menus was given.
11630 if test "${enable_menus+set}" = set; then
11631 enableval=$enable_menus;
11632 if test "$enableval" = yes; then
11633 ac_cv_use_menus='wxUSE_MENUS=yes'
11635 ac_cv_use_menus='wxUSE_MENUS=no'
11640 LINE=`grep "wxUSE_MENUS" ${wx_arg_cache_file}`
11641 if test "x$LINE" != x ; then
11642 eval "DEFAULT_$LINE"
11647 ac_cv_use_menus='wxUSE_MENUS='$DEFAULT_wxUSE_MENUS
11652 eval "$ac_cv_use_menus"
11653 if test "$no_cache" != 1; then
11654 echo $ac_cv_use_menus >> ${wx_arg_cache_file}.tmp
11657 if test "$wxUSE_MENUS" = yes; then
11658 { echo "$as_me:$LINENO: result: yes" >&5
11659 echo "${ECHO_T}yes" >&6; }
11661 { echo "$as_me:$LINENO: result: no" >&5
11662 echo "${ECHO_T}no" >&6; }
11667 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-miniframe" >&5
11668 echo $ECHO_N "checking for --${enablestring:-enable}-miniframe... $ECHO_C" >&6; }
11670 # Check whether --enable-miniframe was given.
11671 if test "${enable_miniframe+set}" = set; then
11672 enableval=$enable_miniframe;
11673 if test "$enableval" = yes; then
11674 ac_cv_use_miniframe='wxUSE_MINIFRAME=yes'
11676 ac_cv_use_miniframe='wxUSE_MINIFRAME=no'
11681 LINE=`grep "wxUSE_MINIFRAME" ${wx_arg_cache_file}`
11682 if test "x$LINE" != x ; then
11683 eval "DEFAULT_$LINE"
11688 ac_cv_use_miniframe='wxUSE_MINIFRAME='$DEFAULT_wxUSE_MINIFRAME
11693 eval "$ac_cv_use_miniframe"
11694 if test "$no_cache" != 1; then
11695 echo $ac_cv_use_miniframe >> ${wx_arg_cache_file}.tmp
11698 if test "$wxUSE_MINIFRAME" = yes; then
11699 { echo "$as_me:$LINENO: result: yes" >&5
11700 echo "${ECHO_T}yes" >&6; }
11702 { echo "$as_me:$LINENO: result: no" >&5
11703 echo "${ECHO_T}no" >&6; }
11708 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tooltips" >&5
11709 echo $ECHO_N "checking for --${enablestring:-enable}-tooltips... $ECHO_C" >&6; }
11711 # Check whether --enable-tooltips was given.
11712 if test "${enable_tooltips+set}" = set; then
11713 enableval=$enable_tooltips;
11714 if test "$enableval" = yes; then
11715 ac_cv_use_tooltips='wxUSE_TOOLTIPS=yes'
11717 ac_cv_use_tooltips='wxUSE_TOOLTIPS=no'
11722 LINE=`grep "wxUSE_TOOLTIPS" ${wx_arg_cache_file}`
11723 if test "x$LINE" != x ; then
11724 eval "DEFAULT_$LINE"
11729 ac_cv_use_tooltips='wxUSE_TOOLTIPS='$DEFAULT_wxUSE_TOOLTIPS
11734 eval "$ac_cv_use_tooltips"
11735 if test "$no_cache" != 1; then
11736 echo $ac_cv_use_tooltips >> ${wx_arg_cache_file}.tmp
11739 if test "$wxUSE_TOOLTIPS" = yes; then
11740 { echo "$as_me:$LINENO: result: yes" >&5
11741 echo "${ECHO_T}yes" >&6; }
11743 { echo "$as_me:$LINENO: result: no" >&5
11744 echo "${ECHO_T}no" >&6; }
11749 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splines" >&5
11750 echo $ECHO_N "checking for --${enablestring:-enable}-splines... $ECHO_C" >&6; }
11752 # Check whether --enable-splines was given.
11753 if test "${enable_splines+set}" = set; then
11754 enableval=$enable_splines;
11755 if test "$enableval" = yes; then
11756 ac_cv_use_splines='wxUSE_SPLINES=yes'
11758 ac_cv_use_splines='wxUSE_SPLINES=no'
11763 LINE=`grep "wxUSE_SPLINES" ${wx_arg_cache_file}`
11764 if test "x$LINE" != x ; then
11765 eval "DEFAULT_$LINE"
11770 ac_cv_use_splines='wxUSE_SPLINES='$DEFAULT_wxUSE_SPLINES
11775 eval "$ac_cv_use_splines"
11776 if test "$no_cache" != 1; then
11777 echo $ac_cv_use_splines >> ${wx_arg_cache_file}.tmp
11780 if test "$wxUSE_SPLINES" = yes; then
11781 { echo "$as_me:$LINENO: result: yes" >&5
11782 echo "${ECHO_T}yes" >&6; }
11784 { echo "$as_me:$LINENO: result: no" >&5
11785 echo "${ECHO_T}no" >&6; }
11790 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mousewheel" >&5
11791 echo $ECHO_N "checking for --${enablestring:-enable}-mousewheel... $ECHO_C" >&6; }
11793 # Check whether --enable-mousewheel was given.
11794 if test "${enable_mousewheel+set}" = set; then
11795 enableval=$enable_mousewheel;
11796 if test "$enableval" = yes; then
11797 ac_cv_use_mousewheel='wxUSE_MOUSEWHEEL=yes'
11799 ac_cv_use_mousewheel='wxUSE_MOUSEWHEEL=no'
11804 LINE=`grep "wxUSE_MOUSEWHEEL" ${wx_arg_cache_file}`
11805 if test "x$LINE" != x ; then
11806 eval "DEFAULT_$LINE"
11811 ac_cv_use_mousewheel='wxUSE_MOUSEWHEEL='$DEFAULT_wxUSE_MOUSEWHEEL
11816 eval "$ac_cv_use_mousewheel"
11817 if test "$no_cache" != 1; then
11818 echo $ac_cv_use_mousewheel >> ${wx_arg_cache_file}.tmp
11821 if test "$wxUSE_MOUSEWHEEL" = yes; then
11822 { echo "$as_me:$LINENO: result: yes" >&5
11823 echo "${ECHO_T}yes" >&6; }
11825 { echo "$as_me:$LINENO: result: no" >&5
11826 echo "${ECHO_T}no" >&6; }
11831 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-validators" >&5
11832 echo $ECHO_N "checking for --${enablestring:-enable}-validators... $ECHO_C" >&6; }
11834 # Check whether --enable-validators was given.
11835 if test "${enable_validators+set}" = set; then
11836 enableval=$enable_validators;
11837 if test "$enableval" = yes; then
11838 ac_cv_use_validators='wxUSE_VALIDATORS=yes'
11840 ac_cv_use_validators='wxUSE_VALIDATORS=no'
11845 LINE=`grep "wxUSE_VALIDATORS" ${wx_arg_cache_file}`
11846 if test "x$LINE" != x ; then
11847 eval "DEFAULT_$LINE"
11852 ac_cv_use_validators='wxUSE_VALIDATORS='$DEFAULT_wxUSE_VALIDATORS
11857 eval "$ac_cv_use_validators"
11858 if test "$no_cache" != 1; then
11859 echo $ac_cv_use_validators >> ${wx_arg_cache_file}.tmp
11862 if test "$wxUSE_VALIDATORS" = yes; then
11863 { echo "$as_me:$LINENO: result: yes" >&5
11864 echo "${ECHO_T}yes" >&6; }
11866 { echo "$as_me:$LINENO: result: no" >&5
11867 echo "${ECHO_T}no" >&6; }
11872 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-busyinfo" >&5
11873 echo $ECHO_N "checking for --${enablestring:-enable}-busyinfo... $ECHO_C" >&6; }
11875 # Check whether --enable-busyinfo was given.
11876 if test "${enable_busyinfo+set}" = set; then
11877 enableval=$enable_busyinfo;
11878 if test "$enableval" = yes; then
11879 ac_cv_use_busyinfo='wxUSE_BUSYINFO=yes'
11881 ac_cv_use_busyinfo='wxUSE_BUSYINFO=no'
11886 LINE=`grep "wxUSE_BUSYINFO" ${wx_arg_cache_file}`
11887 if test "x$LINE" != x ; then
11888 eval "DEFAULT_$LINE"
11893 ac_cv_use_busyinfo='wxUSE_BUSYINFO='$DEFAULT_wxUSE_BUSYINFO
11898 eval "$ac_cv_use_busyinfo"
11899 if test "$no_cache" != 1; then
11900 echo $ac_cv_use_busyinfo >> ${wx_arg_cache_file}.tmp
11903 if test "$wxUSE_BUSYINFO" = yes; then
11904 { echo "$as_me:$LINENO: result: yes" >&5
11905 echo "${ECHO_T}yes" >&6; }
11907 { echo "$as_me:$LINENO: result: no" >&5
11908 echo "${ECHO_T}no" >&6; }
11913 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-joystick" >&5
11914 echo $ECHO_N "checking for --${enablestring:-enable}-joystick... $ECHO_C" >&6; }
11916 # Check whether --enable-joystick was given.
11917 if test "${enable_joystick+set}" = set; then
11918 enableval=$enable_joystick;
11919 if test "$enableval" = yes; then
11920 ac_cv_use_joystick='wxUSE_JOYSTICK=yes'
11922 ac_cv_use_joystick='wxUSE_JOYSTICK=no'
11927 LINE=`grep "wxUSE_JOYSTICK" ${wx_arg_cache_file}`
11928 if test "x$LINE" != x ; then
11929 eval "DEFAULT_$LINE"
11934 ac_cv_use_joystick='wxUSE_JOYSTICK='$DEFAULT_wxUSE_JOYSTICK
11939 eval "$ac_cv_use_joystick"
11940 if test "$no_cache" != 1; then
11941 echo $ac_cv_use_joystick >> ${wx_arg_cache_file}.tmp
11944 if test "$wxUSE_JOYSTICK" = yes; then
11945 { echo "$as_me:$LINENO: result: yes" >&5
11946 echo "${ECHO_T}yes" >&6; }
11948 { echo "$as_me:$LINENO: result: no" >&5
11949 echo "${ECHO_T}no" >&6; }
11954 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
11955 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6; }
11957 # Check whether --enable-metafile was given.
11958 if test "${enable_metafile+set}" = set; then
11959 enableval=$enable_metafile;
11960 if test "$enableval" = yes; then
11961 ac_cv_use_metafile='wxUSE_METAFILE=yes'
11963 ac_cv_use_metafile='wxUSE_METAFILE=no'
11968 LINE=`grep "wxUSE_METAFILE" ${wx_arg_cache_file}`
11969 if test "x$LINE" != x ; then
11970 eval "DEFAULT_$LINE"
11975 ac_cv_use_metafile='wxUSE_METAFILE='$DEFAULT_wxUSE_METAFILE
11980 eval "$ac_cv_use_metafile"
11981 if test "$no_cache" != 1; then
11982 echo $ac_cv_use_metafile >> ${wx_arg_cache_file}.tmp
11985 if test "$wxUSE_METAFILE" = yes; then
11986 { echo "$as_me:$LINENO: result: yes" >&5
11987 echo "${ECHO_T}yes" >&6; }
11989 { echo "$as_me:$LINENO: result: no" >&5
11990 echo "${ECHO_T}no" >&6; }
11995 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dragimage" >&5
11996 echo $ECHO_N "checking for --${enablestring:-enable}-dragimage... $ECHO_C" >&6; }
11998 # Check whether --enable-dragimage was given.
11999 if test "${enable_dragimage+set}" = set; then
12000 enableval=$enable_dragimage;
12001 if test "$enableval" = yes; then
12002 ac_cv_use_dragimage='wxUSE_DRAGIMAGE=yes'
12004 ac_cv_use_dragimage='wxUSE_DRAGIMAGE=no'
12009 LINE=`grep "wxUSE_DRAGIMAGE" ${wx_arg_cache_file}`
12010 if test "x$LINE" != x ; then
12011 eval "DEFAULT_$LINE"
12016 ac_cv_use_dragimage='wxUSE_DRAGIMAGE='$DEFAULT_wxUSE_DRAGIMAGE
12021 eval "$ac_cv_use_dragimage"
12022 if test "$no_cache" != 1; then
12023 echo $ac_cv_use_dragimage >> ${wx_arg_cache_file}.tmp
12026 if test "$wxUSE_DRAGIMAGE" = yes; then
12027 { echo "$as_me:$LINENO: result: yes" >&5
12028 echo "${ECHO_T}yes" >&6; }
12030 { echo "$as_me:$LINENO: result: no" >&5
12031 echo "${ECHO_T}no" >&6; }
12036 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accessibility" >&5
12037 echo $ECHO_N "checking for --${enablestring:-enable}-accessibility... $ECHO_C" >&6; }
12039 # Check whether --enable-accessibility was given.
12040 if test "${enable_accessibility+set}" = set; then
12041 enableval=$enable_accessibility;
12042 if test "$enableval" = yes; then
12043 ac_cv_use_accessibility='wxUSE_ACCESSIBILITY=yes'
12045 ac_cv_use_accessibility='wxUSE_ACCESSIBILITY=no'
12050 LINE=`grep "wxUSE_ACCESSIBILITY" ${wx_arg_cache_file}`
12051 if test "x$LINE" != x ; then
12052 eval "DEFAULT_$LINE"
12057 ac_cv_use_accessibility='wxUSE_ACCESSIBILITY='$DEFAULT_wxUSE_ACCESSIBILITY
12062 eval "$ac_cv_use_accessibility"
12063 if test "$no_cache" != 1; then
12064 echo $ac_cv_use_accessibility >> ${wx_arg_cache_file}.tmp
12067 if test "$wxUSE_ACCESSIBILITY" = yes; then
12068 { echo "$as_me:$LINENO: result: yes" >&5
12069 echo "${ECHO_T}yes" >&6; }
12071 { echo "$as_me:$LINENO: result: no" >&5
12072 echo "${ECHO_T}no" >&6; }
12076 if test "$wxUSE_MSW" = "1"; then
12079 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dccache" >&5
12080 echo $ECHO_N "checking for --${enablestring:-enable}-dccache... $ECHO_C" >&6; }
12082 # Check whether --enable-dccache was given.
12083 if test "${enable_dccache+set}" = set; then
12084 enableval=$enable_dccache;
12085 if test "$enableval" = yes; then
12086 ac_cv_use_dccache='wxUSE_DC_CACHEING=yes'
12088 ac_cv_use_dccache='wxUSE_DC_CACHEING=no'
12093 LINE=`grep "wxUSE_DC_CACHEING" ${wx_arg_cache_file}`
12094 if test "x$LINE" != x ; then
12095 eval "DEFAULT_$LINE"
12100 ac_cv_use_dccache='wxUSE_DC_CACHEING='$DEFAULT_wxUSE_DC_CACHEING
12105 eval "$ac_cv_use_dccache"
12106 if test "$no_cache" != 1; then
12107 echo $ac_cv_use_dccache >> ${wx_arg_cache_file}.tmp
12110 if test "$wxUSE_DC_CACHEING" = yes; then
12111 { echo "$as_me:$LINENO: result: yes" >&5
12112 echo "${ECHO_T}yes" >&6; }
12114 { echo "$as_me:$LINENO: result: no" >&5
12115 echo "${ECHO_T}no" >&6; }
12123 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-palette" >&5
12124 echo $ECHO_N "checking for --${enablestring:-enable}-palette... $ECHO_C" >&6; }
12126 # Check whether --enable-palette was given.
12127 if test "${enable_palette+set}" = set; then
12128 enableval=$enable_palette;
12129 if test "$enableval" = yes; then
12130 ac_cv_use_palette='wxUSE_PALETTE=yes'
12132 ac_cv_use_palette='wxUSE_PALETTE=no'
12137 LINE=`grep "wxUSE_PALETTE" ${wx_arg_cache_file}`
12138 if test "x$LINE" != x ; then
12139 eval "DEFAULT_$LINE"
12144 ac_cv_use_palette='wxUSE_PALETTE='$DEFAULT_wxUSE_PALETTE
12149 eval "$ac_cv_use_palette"
12150 if test "$no_cache" != 1; then
12151 echo $ac_cv_use_palette >> ${wx_arg_cache_file}.tmp
12154 if test "$wxUSE_PALETTE" = yes; then
12155 { echo "$as_me:$LINENO: result: yes" >&5
12156 echo "${ECHO_T}yes" >&6; }
12158 { echo "$as_me:$LINENO: result: no" >&5
12159 echo "${ECHO_T}no" >&6; }
12164 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-image" >&5
12165 echo $ECHO_N "checking for --${enablestring:-enable}-image... $ECHO_C" >&6; }
12167 # Check whether --enable-image was given.
12168 if test "${enable_image+set}" = set; then
12169 enableval=$enable_image;
12170 if test "$enableval" = yes; then
12171 ac_cv_use_image='wxUSE_IMAGE=yes'
12173 ac_cv_use_image='wxUSE_IMAGE=no'
12178 LINE=`grep "wxUSE_IMAGE" ${wx_arg_cache_file}`
12179 if test "x$LINE" != x ; then
12180 eval "DEFAULT_$LINE"
12185 ac_cv_use_image='wxUSE_IMAGE='$DEFAULT_wxUSE_IMAGE
12190 eval "$ac_cv_use_image"
12191 if test "$no_cache" != 1; then
12192 echo $ac_cv_use_image >> ${wx_arg_cache_file}.tmp
12195 if test "$wxUSE_IMAGE" = yes; then
12196 { echo "$as_me:$LINENO: result: yes" >&5
12197 echo "${ECHO_T}yes" >&6; }
12199 { echo "$as_me:$LINENO: result: no" >&5
12200 echo "${ECHO_T}no" >&6; }
12205 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gif" >&5
12206 echo $ECHO_N "checking for --${enablestring:-enable}-gif... $ECHO_C" >&6; }
12208 # Check whether --enable-gif was given.
12209 if test "${enable_gif+set}" = set; then
12210 enableval=$enable_gif;
12211 if test "$enableval" = yes; then
12212 ac_cv_use_gif='wxUSE_GIF=yes'
12214 ac_cv_use_gif='wxUSE_GIF=no'
12219 LINE=`grep "wxUSE_GIF" ${wx_arg_cache_file}`
12220 if test "x$LINE" != x ; then
12221 eval "DEFAULT_$LINE"
12226 ac_cv_use_gif='wxUSE_GIF='$DEFAULT_wxUSE_GIF
12231 eval "$ac_cv_use_gif"
12232 if test "$no_cache" != 1; then
12233 echo $ac_cv_use_gif >> ${wx_arg_cache_file}.tmp
12236 if test "$wxUSE_GIF" = yes; then
12237 { echo "$as_me:$LINENO: result: yes" >&5
12238 echo "${ECHO_T}yes" >&6; }
12240 { echo "$as_me:$LINENO: result: no" >&5
12241 echo "${ECHO_T}no" >&6; }
12246 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pcx" >&5
12247 echo $ECHO_N "checking for --${enablestring:-enable}-pcx... $ECHO_C" >&6; }
12249 # Check whether --enable-pcx was given.
12250 if test "${enable_pcx+set}" = set; then
12251 enableval=$enable_pcx;
12252 if test "$enableval" = yes; then
12253 ac_cv_use_pcx='wxUSE_PCX=yes'
12255 ac_cv_use_pcx='wxUSE_PCX=no'
12260 LINE=`grep "wxUSE_PCX" ${wx_arg_cache_file}`
12261 if test "x$LINE" != x ; then
12262 eval "DEFAULT_$LINE"
12267 ac_cv_use_pcx='wxUSE_PCX='$DEFAULT_wxUSE_PCX
12272 eval "$ac_cv_use_pcx"
12273 if test "$no_cache" != 1; then
12274 echo $ac_cv_use_pcx >> ${wx_arg_cache_file}.tmp
12277 if test "$wxUSE_PCX" = yes; then
12278 { echo "$as_me:$LINENO: result: yes" >&5
12279 echo "${ECHO_T}yes" >&6; }
12281 { echo "$as_me:$LINENO: result: no" >&5
12282 echo "${ECHO_T}no" >&6; }
12287 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tga" >&5
12288 echo $ECHO_N "checking for --${enablestring:-enable}-tga... $ECHO_C" >&6; }
12290 # Check whether --enable-tga was given.
12291 if test "${enable_tga+set}" = set; then
12292 enableval=$enable_tga;
12293 if test "$enableval" = yes; then
12294 ac_cv_use_tga='wxUSE_TGA=yes'
12296 ac_cv_use_tga='wxUSE_TGA=no'
12301 LINE=`grep "wxUSE_TGA" ${wx_arg_cache_file}`
12302 if test "x$LINE" != x ; then
12303 eval "DEFAULT_$LINE"
12308 ac_cv_use_tga='wxUSE_TGA='$DEFAULT_wxUSE_TGA
12313 eval "$ac_cv_use_tga"
12314 if test "$no_cache" != 1; then
12315 echo $ac_cv_use_tga >> ${wx_arg_cache_file}.tmp
12318 if test "$wxUSE_TGA" = yes; then
12319 { echo "$as_me:$LINENO: result: yes" >&5
12320 echo "${ECHO_T}yes" >&6; }
12322 { echo "$as_me:$LINENO: result: no" >&5
12323 echo "${ECHO_T}no" >&6; }
12328 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-iff" >&5
12329 echo $ECHO_N "checking for --${enablestring:-enable}-iff... $ECHO_C" >&6; }
12331 # Check whether --enable-iff was given.
12332 if test "${enable_iff+set}" = set; then
12333 enableval=$enable_iff;
12334 if test "$enableval" = yes; then
12335 ac_cv_use_iff='wxUSE_IFF=yes'
12337 ac_cv_use_iff='wxUSE_IFF=no'
12342 LINE=`grep "wxUSE_IFF" ${wx_arg_cache_file}`
12343 if test "x$LINE" != x ; then
12344 eval "DEFAULT_$LINE"
12349 ac_cv_use_iff='wxUSE_IFF='$DEFAULT_wxUSE_IFF
12354 eval "$ac_cv_use_iff"
12355 if test "$no_cache" != 1; then
12356 echo $ac_cv_use_iff >> ${wx_arg_cache_file}.tmp
12359 if test "$wxUSE_IFF" = yes; then
12360 { echo "$as_me:$LINENO: result: yes" >&5
12361 echo "${ECHO_T}yes" >&6; }
12363 { echo "$as_me:$LINENO: result: no" >&5
12364 echo "${ECHO_T}no" >&6; }
12369 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pnm" >&5
12370 echo $ECHO_N "checking for --${enablestring:-enable}-pnm... $ECHO_C" >&6; }
12372 # Check whether --enable-pnm was given.
12373 if test "${enable_pnm+set}" = set; then
12374 enableval=$enable_pnm;
12375 if test "$enableval" = yes; then
12376 ac_cv_use_pnm='wxUSE_PNM=yes'
12378 ac_cv_use_pnm='wxUSE_PNM=no'
12383 LINE=`grep "wxUSE_PNM" ${wx_arg_cache_file}`
12384 if test "x$LINE" != x ; then
12385 eval "DEFAULT_$LINE"
12390 ac_cv_use_pnm='wxUSE_PNM='$DEFAULT_wxUSE_PNM
12395 eval "$ac_cv_use_pnm"
12396 if test "$no_cache" != 1; then
12397 echo $ac_cv_use_pnm >> ${wx_arg_cache_file}.tmp
12400 if test "$wxUSE_PNM" = yes; then
12401 { echo "$as_me:$LINENO: result: yes" >&5
12402 echo "${ECHO_T}yes" >&6; }
12404 { echo "$as_me:$LINENO: result: no" >&5
12405 echo "${ECHO_T}no" >&6; }
12410 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xpm" >&5
12411 echo $ECHO_N "checking for --${enablestring:-enable}-xpm... $ECHO_C" >&6; }
12413 # Check whether --enable-xpm was given.
12414 if test "${enable_xpm+set}" = set; then
12415 enableval=$enable_xpm;
12416 if test "$enableval" = yes; then
12417 ac_cv_use_xpm='wxUSE_XPM=yes'
12419 ac_cv_use_xpm='wxUSE_XPM=no'
12424 LINE=`grep "wxUSE_XPM" ${wx_arg_cache_file}`
12425 if test "x$LINE" != x ; then
12426 eval "DEFAULT_$LINE"
12431 ac_cv_use_xpm='wxUSE_XPM='$DEFAULT_wxUSE_XPM
12436 eval "$ac_cv_use_xpm"
12437 if test "$no_cache" != 1; then
12438 echo $ac_cv_use_xpm >> ${wx_arg_cache_file}.tmp
12441 if test "$wxUSE_XPM" = yes; then
12442 { echo "$as_me:$LINENO: result: yes" >&5
12443 echo "${ECHO_T}yes" >&6; }
12445 { echo "$as_me:$LINENO: result: no" >&5
12446 echo "${ECHO_T}no" >&6; }
12451 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ico_cur" >&5
12452 echo $ECHO_N "checking for --${enablestring:-enable}-ico_cur... $ECHO_C" >&6; }
12454 # Check whether --enable-ico_cur was given.
12455 if test "${enable_ico_cur+set}" = set; then
12456 enableval=$enable_ico_cur;
12457 if test "$enableval" = yes; then
12458 ac_cv_use_ico_cur='wxUSE_ICO_CUR=yes'
12460 ac_cv_use_ico_cur='wxUSE_ICO_CUR=no'
12465 LINE=`grep "wxUSE_ICO_CUR" ${wx_arg_cache_file}`
12466 if test "x$LINE" != x ; then
12467 eval "DEFAULT_$LINE"
12472 ac_cv_use_ico_cur='wxUSE_ICO_CUR='$DEFAULT_wxUSE_ICO_CUR
12477 eval "$ac_cv_use_ico_cur"
12478 if test "$no_cache" != 1; then
12479 echo $ac_cv_use_ico_cur >> ${wx_arg_cache_file}.tmp
12482 if test "$wxUSE_ICO_CUR" = yes; then
12483 { echo "$as_me:$LINENO: result: yes" >&5
12484 echo "${ECHO_T}yes" >&6; }
12486 { echo "$as_me:$LINENO: result: no" >&5
12487 echo "${ECHO_T}no" >&6; }
12495 # Check whether --with-flavour was given.
12496 if test "${with_flavour+set}" = set; then
12497 withval=$with_flavour; WX_FLAVOUR="$withval"
12504 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-official_build" >&5
12505 echo $ECHO_N "checking for --${enablestring:-enable}-official_build... $ECHO_C" >&6; }
12507 # Check whether --enable-official_build was given.
12508 if test "${enable_official_build+set}" = set; then
12509 enableval=$enable_official_build;
12510 if test "$enableval" = yes; then
12511 ac_cv_use_official_build='wxUSE_OFFICIAL_BUILD=yes'
12513 ac_cv_use_official_build='wxUSE_OFFICIAL_BUILD=no'
12518 LINE=`grep "wxUSE_OFFICIAL_BUILD" ${wx_arg_cache_file}`
12519 if test "x$LINE" != x ; then
12520 eval "DEFAULT_$LINE"
12525 ac_cv_use_official_build='wxUSE_OFFICIAL_BUILD='$DEFAULT_wxUSE_OFFICIAL_BUILD
12530 eval "$ac_cv_use_official_build"
12531 if test "$no_cache" != 1; then
12532 echo $ac_cv_use_official_build >> ${wx_arg_cache_file}.tmp
12535 if test "$wxUSE_OFFICIAL_BUILD" = yes; then
12536 { echo "$as_me:$LINENO: result: yes" >&5
12537 echo "${ECHO_T}yes" >&6; }
12539 { echo "$as_me:$LINENO: result: no" >&5
12540 echo "${ECHO_T}no" >&6; }
12543 # Check whether --enable-vendor was given.
12544 if test "${enable_vendor+set}" = set; then
12545 enableval=$enable_vendor; VENDOR="$enableval"
12548 if test "x$VENDOR" = "x"; then
12555 echo "saving argument cache $wx_arg_cache_file"
12556 mv ${wx_arg_cache_file}.tmp ${wx_arg_cache_file}
12560 { echo "$as_me:$LINENO: checking for toolkit" >&5
12561 echo $ECHO_N "checking for toolkit... $ECHO_C" >&6; }
12563 # In Wine, we need to default to MSW, not GTK or MOTIF
12564 if test "$wxUSE_WINE" = "yes"; then
12565 DEFAULT_DEFAULT_wxUSE_GTK=0
12566 DEFAULT_DEFAULT_wxUSE_MOTIF=0
12567 DEFAULT_DEFAULT_wxUSE_MSW=1
12570 CXX=${CXX:-wineg++}
12574 if test "$wxUSE_GUI" = "yes"; then
12576 if test "$USE_BEOS" = 1; then
12577 { { echo "$as_me:$LINENO: error: BeOS GUI is not supported yet, use --disable-gui" >&5
12578 echo "$as_me: error: BeOS GUI is not supported yet, use --disable-gui" >&2;}
12579 { (exit 1); exit 1; }; }
12582 if test "$TOOLKIT_GIVEN" = 1; then
12583 for toolkit in `echo $ALL_TOOLKITS`; do
12585 eval "value=\$${var}"
12586 if test "x$value" = "xno"; then
12588 elif test "x$value" != "x"; then
12592 if test "x$value" != "x" -a "x$value" != "xyes" -a "x$value" != "xno"; then
12593 eval "wx${toolkit}_VERSION=$value"
12597 for toolkit in `echo $ALL_TOOLKITS`; do
12598 if test "$has_toolkit_in_cache" != 1; then
12599 var=DEFAULT_DEFAULT_wxUSE_$toolkit
12601 var=DEFAULT_wxUSE_$toolkit
12603 eval "version=\$DEFAULT_wx${toolkit}_VERSION"
12604 if test "x$version" != "x"; then
12605 eval "wx${toolkit}_VERSION=$version"
12608 eval "wxUSE_$toolkit=\$${var}"
12612 NUM_TOOLKITS=`expr ${wxUSE_COCOA:-0} + ${wxUSE_GTK:-0} + ${wxUSE_MAC:-0} \
12613 + ${wxUSE_MGL:-0} + ${wxUSE_DFB:-0} + ${wxUSE_MICROWIN:-0} \
12614 + ${wxUSE_MOTIF:-0} + ${wxUSE_MSW:-0} + ${wxUSE_X11:-0}`
12617 *-pc-os2_emx | *-pc-os2-emx )
12618 NUM_TOOLKITS=`expr ${NUM_TOOLKITS} + ${wxUSE_PM:-0}`
12621 case "$NUM_TOOLKITS" in
12625 { { echo "$as_me:$LINENO: error: Please specify a toolkit -- cannot determine the default for ${host}" >&5
12626 echo "$as_me: error: Please specify a toolkit -- cannot determine the default for ${host}" >&2;}
12627 { (exit 1); exit 1; }; }
12630 { { echo "$as_me:$LINENO: error: Please specify at most one toolkit (maybe some are cached in configarg.cache?)" >&5
12631 echo "$as_me: error: Please specify at most one toolkit (maybe some are cached in configarg.cache?)" >&2;}
12632 { (exit 1); exit 1; }; }
12635 # to be removed when --disable-gtk2 isn't needed
12636 if test "x$wxUSE_GTK2" = "xyes"; then
12638 elif test "x$wxUSE_GTK2" = "xno"; then
12642 for toolkit in `echo $ALL_TOOLKITS`; do
12644 eval "value=\$${var}"
12645 if test "x$value" != x; then
12646 cache_var=CACHE_$toolkit
12647 eval "cache=\$${cache_var}"
12648 if test "$cache" = 1; then
12649 echo "$var=$value" >> ${wx_arg_cache_file}
12650 eval "version=\$wx${toolkit}_VERSION"
12651 if test "x$version" != "x"; then
12652 echo "wx${toolkit}_VERSION=$version" >> ${wx_arg_cache_file}
12655 if test "$value" = 1; then
12656 toolkit_echo=`echo $toolkit | tr "[A-Z]" "[a-z]"`
12657 { echo "$as_me:$LINENO: result: $toolkit_echo" >&5
12658 echo "${ECHO_T}$toolkit_echo" >&6; }
12663 if test "x$host_alias" != "x"; then
12664 { echo "$as_me:$LINENO: result: base ($host_alias hosted) only" >&5
12665 echo "${ECHO_T}base ($host_alias hosted) only" >&6; }
12667 { echo "$as_me:$LINENO: result: base only" >&5
12668 echo "${ECHO_T}base only" >&6; }
12673 cat >confcache <<\_ACEOF
12674 # This file is a shell script that caches the results of configure
12675 # tests run on this system so they can be shared between configure
12676 # scripts and configure runs, see configure's option --config-cache.
12677 # It is not useful on other systems. If it contains results you don't
12678 # want to keep, you may remove or edit it.
12680 # config.status only pays attention to the cache file if you give it
12681 # the --recheck option to rerun configure.
12683 # `ac_cv_env_foo
' variables (set or unset) will be overridden when
12684 # loading this file, other *unset* `ac_cv_foo' will be assigned the
12685 # following values.
12689 # The following way of writing the cache mishandles newlines in values,
12690 # but we know of no workaround that is simple, portable, and efficient.
12691 # So, we kill variables containing newlines.
12692 # Ultrix sh set writes to stderr and can't be redirected directly,
12693 # and sets the high bit in the cache file unless we assign to the vars.
12695 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
12696 eval ac_val
=\$
$ac_var
12700 *_cv_
*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
12701 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
12704 _
| IFS
| as_nl
) ;; #(
12705 *) $as_unset $ac_var ;;
12711 case $as_nl`(ac_space=' '; set) 2>&1` in #(
12712 *${as_nl}ac_space
=\
*)
12713 # `set' does not quote correctly, so add quotes (double-quote
12714 # substitution turns \\\\ into \\, and sed turns \\ into \).
12717 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
12720 # `set' quotes correctly as required by POSIX, so do not add quotes.
12721 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
12730 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
12732 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
12734 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
12735 if test -w "$cache_file"; then
12736 test "x$cache_file" != "x/dev/null" &&
12737 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
12738 echo "$as_me: updating cache $cache_file" >&6;}
12739 cat confcache
>$cache_file
12741 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
12742 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
12752 ac_cpp
='$CPP $CPPFLAGS'
12753 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12754 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12755 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12756 if test -n "$ac_tool_prefix"; then
12757 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
12758 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
12759 { echo "$as_me:$LINENO: checking for $ac_word" >&5
12760 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
12761 if test "${ac_cv_prog_CC+set}" = set; then
12762 echo $ECHO_N "(cached) $ECHO_C" >&6
12764 if test -n "$CC"; then
12765 ac_cv_prog_CC
="$CC" # Let the user override the test.
12767 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12768 for as_dir
in $PATH
12771 test -z "$as_dir" && as_dir
=.
12772 for ac_exec_ext
in '' $ac_executable_extensions; do
12773 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12774 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
12775 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12785 if test -n "$CC"; then
12786 { echo "$as_me:$LINENO: result: $CC" >&5
12787 echo "${ECHO_T}$CC" >&6; }
12789 { echo "$as_me:$LINENO: result: no" >&5
12790 echo "${ECHO_T}no" >&6; }
12795 if test -z "$ac_cv_prog_CC"; then
12797 # Extract the first word of "gcc", so it can be a program name with args.
12798 set dummy gcc
; ac_word
=$2
12799 { echo "$as_me:$LINENO: checking for $ac_word" >&5
12800 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
12801 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
12802 echo $ECHO_N "(cached) $ECHO_C" >&6
12804 if test -n "$ac_ct_CC"; then
12805 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
12807 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12808 for as_dir
in $PATH
12811 test -z "$as_dir" && as_dir
=.
12812 for ac_exec_ext
in '' $ac_executable_extensions; do
12813 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12814 ac_cv_prog_ac_ct_CC
="gcc"
12815 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12824 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
12825 if test -n "$ac_ct_CC"; then
12826 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
12827 echo "${ECHO_T}$ac_ct_CC" >&6; }
12829 { echo "$as_me:$LINENO: result: no" >&5
12830 echo "${ECHO_T}no" >&6; }
12833 if test "x$ac_ct_CC" = x
; then
12836 case $cross_compiling:$ac_tool_warned in
12838 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
12839 whose name does not start with the host triplet. If you think this
12840 configuration is useful to you, please write to autoconf@gnu.org." >&5
12841 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
12842 whose name does not start with the host triplet. If you think this
12843 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
12844 ac_tool_warned
=yes ;;
12849 CC
="$ac_cv_prog_CC"
12852 if test -z "$CC"; then
12853 if test -n "$ac_tool_prefix"; then
12854 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
12855 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
12856 { echo "$as_me:$LINENO: checking for $ac_word" >&5
12857 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
12858 if test "${ac_cv_prog_CC+set}" = set; then
12859 echo $ECHO_N "(cached) $ECHO_C" >&6
12861 if test -n "$CC"; then
12862 ac_cv_prog_CC
="$CC" # Let the user override the test.
12864 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12865 for as_dir
in $PATH
12868 test -z "$as_dir" && as_dir
=.
12869 for ac_exec_ext
in '' $ac_executable_extensions; do
12870 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12871 ac_cv_prog_CC
="${ac_tool_prefix}cc"
12872 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12882 if test -n "$CC"; then
12883 { echo "$as_me:$LINENO: result: $CC" >&5
12884 echo "${ECHO_T}$CC" >&6; }
12886 { echo "$as_me:$LINENO: result: no" >&5
12887 echo "${ECHO_T}no" >&6; }
12893 if test -z "$CC"; then
12894 # Extract the first word of "cc", so it can be a program name with args.
12895 set dummy cc
; ac_word
=$2
12896 { echo "$as_me:$LINENO: checking for $ac_word" >&5
12897 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
12898 if test "${ac_cv_prog_CC+set}" = set; then
12899 echo $ECHO_N "(cached) $ECHO_C" >&6
12901 if test -n "$CC"; then
12902 ac_cv_prog_CC
="$CC" # Let the user override the test.
12904 ac_prog_rejected
=no
12905 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12906 for as_dir
in $PATH
12909 test -z "$as_dir" && as_dir
=.
12910 for ac_exec_ext
in '' $ac_executable_extensions; do
12911 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12912 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
12913 ac_prog_rejected
=yes
12917 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12924 if test $ac_prog_rejected = yes; then
12925 # We found a bogon in the path, so make sure we never use it.
12926 set dummy
$ac_cv_prog_CC
12928 if test $# != 0; then
12929 # We chose a different compiler from the bogus one.
12930 # However, it has the same basename, so the bogon will be chosen
12931 # first if we set CC to just the basename; use the full file name.
12933 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
12939 if test -n "$CC"; then
12940 { echo "$as_me:$LINENO: result: $CC" >&5
12941 echo "${ECHO_T}$CC" >&6; }
12943 { echo "$as_me:$LINENO: result: no" >&5
12944 echo "${ECHO_T}no" >&6; }
12949 if test -z "$CC"; then
12950 if test -n "$ac_tool_prefix"; then
12951 for ac_prog
in cl.exe
12953 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
12954 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
12955 { echo "$as_me:$LINENO: checking for $ac_word" >&5
12956 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
12957 if test "${ac_cv_prog_CC+set}" = set; then
12958 echo $ECHO_N "(cached) $ECHO_C" >&6
12960 if test -n "$CC"; then
12961 ac_cv_prog_CC
="$CC" # Let the user override the test.
12963 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12964 for as_dir
in $PATH
12967 test -z "$as_dir" && as_dir
=.
12968 for ac_exec_ext
in '' $ac_executable_extensions; do
12969 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12970 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
12971 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12981 if test -n "$CC"; then
12982 { echo "$as_me:$LINENO: result: $CC" >&5
12983 echo "${ECHO_T}$CC" >&6; }
12985 { echo "$as_me:$LINENO: result: no" >&5
12986 echo "${ECHO_T}no" >&6; }
12990 test -n "$CC" && break
12993 if test -z "$CC"; then
12995 for ac_prog
in cl.exe
12997 # Extract the first word of "$ac_prog", so it can be a program name with args.
12998 set dummy
$ac_prog; ac_word
=$2
12999 { echo "$as_me:$LINENO: checking for $ac_word" >&5
13000 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
13001 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
13002 echo $ECHO_N "(cached) $ECHO_C" >&6
13004 if test -n "$ac_ct_CC"; then
13005 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
13007 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13008 for as_dir
in $PATH
13011 test -z "$as_dir" && as_dir
=.
13012 for ac_exec_ext
in '' $ac_executable_extensions; do
13013 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13014 ac_cv_prog_ac_ct_CC
="$ac_prog"
13015 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13024 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
13025 if test -n "$ac_ct_CC"; then
13026 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
13027 echo "${ECHO_T}$ac_ct_CC" >&6; }
13029 { echo "$as_me:$LINENO: result: no" >&5
13030 echo "${ECHO_T}no" >&6; }
13034 test -n "$ac_ct_CC" && break
13037 if test "x$ac_ct_CC" = x
; then
13040 case $cross_compiling:$ac_tool_warned in
13042 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
13043 whose name does not start with the host triplet. If you think this
13044 configuration is useful to you, please write to autoconf@gnu.org." >&5
13045 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
13046 whose name does not start with the host triplet. If you think this
13047 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
13048 ac_tool_warned
=yes ;;
13057 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
13058 See \`config.log' for more details." >&5
13059 echo "$as_me: error: no acceptable C compiler found in \$PATH
13060 See \`config.log' for more details." >&2;}
13061 { (exit 1); exit 1; }; }
13063 # Provide some information about the compiler.
13064 echo "$as_me:$LINENO: checking for C compiler version" >&5
13065 ac_compiler
=`set X $ac_compile; echo $2`
13066 { (ac_try
="$ac_compiler --version >&5"
13067 case "(($ac_try" in
13068 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
13069 *) ac_try_echo=$ac_try;;
13071 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13072 (eval "$ac_compiler --version >&5") 2>&5
13074 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13075 (exit $ac_status); }
13076 { (ac_try="$ac_compiler -v >&5"
13077 case "(($ac_try" in
13078 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
13079 *) ac_try_echo
=$ac_try;;
13081 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13082 (eval "$ac_compiler -v >&5") 2>&5
13084 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13085 (exit $ac_status); }
13086 { (ac_try
="$ac_compiler -V >&5"
13087 case "(($ac_try" in
13088 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
13089 *) ac_try_echo=$ac_try;;
13091 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13092 (eval "$ac_compiler -V >&5") 2>&5
13094 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13095 (exit $ac_status); }
13097 cat >conftest.$ac_ext <<_ACEOF
13100 cat confdefs.h >>conftest.$ac_ext
13101 cat >>conftest.$ac_ext <<_ACEOF
13102 /* end confdefs.h. */
13112 ac_clean_files_save=$ac_clean_files
13113 ac_clean_files="$ac_clean_files a.out a.exe b.out"
13114 # Try to create an executable without -o first, disregard a.out.
13115 # It will help us diagnose broken compilers, and finding out an intuition
13117 { echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
13118 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
13119 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
13121 # List of possible output files, starting from the most likely.
13122 # The algorithm is not robust to junk in `.
', hence go to wildcards (a.*)
13123 # only as a last resort. b.out is created by i960 compilers.
13124 ac_files='a_out.exe a.exe conftest.exe a.out conftest a.
* conftest.
* b.out
'
13126 # The IRIX 6 linker writes into existing files which may not be
13127 # executable, retaining their permissions. Remove them first so a
13128 # subsequent execution test works.
13130 for ac_file in $ac_files
13133 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
13134 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
13139 if { (ac_try="$ac_link_default"
13140 case "(($ac_try" in
13141 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13142 *) ac_try_echo=$ac_try;;
13144 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13145 (eval "$ac_link_default") 2>&5
13147 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13148 (exit $ac_status); }; then
13149 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
13150 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
13151 # in a Makefile. We should not override ac_cv_exeext if it was cached,
13152 # so that the user can short-circuit this test for compilers unknown to
13154 for ac_file
in $ac_files ''
13156 test -f "$ac_file" || continue
13158 *.
$ac_ext | *.xcoff
| *.tds
| *.d
| *.pdb
| *.xSYM
| *.bb
| *.bbg
| *.map
| *.inf
| *.o
| *.obj
)
13161 # We found the default executable, but exeext='' is most
13165 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
13167 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
13169 # We set ac_cv_exeext here because the later test for it is not
13170 # safe: cross compilers may not add the suffix if given an `-o'
13171 # argument, so we may need to know it at that point already.
13172 # Even if this section looks crufty: it has the advantage of
13173 # actually working.
13179 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
13185 { echo "$as_me:$LINENO: result: $ac_file" >&5
13186 echo "${ECHO_T}$ac_file" >&6; }
13187 if test -z "$ac_file"; then
13188 echo "$as_me: failed program was:" >&5
13189 sed 's/^/| /' conftest.
$ac_ext >&5
13191 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
13192 See \`config.log' for more details." >&5
13193 echo "$as_me: error: C compiler cannot create executables
13194 See \`config.log' for more details." >&2;}
13195 { (exit 77); exit 77; }; }
13198 ac_exeext
=$ac_cv_exeext
13200 # Check that the compiler produces executables we can run. If not, either
13201 # the compiler is broken, or we cross compile.
13202 { echo "$as_me:$LINENO: checking whether the C compiler works" >&5
13203 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
13204 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
13205 # If not cross compiling, check that we can run a simple program.
13206 if test "$cross_compiling" != yes; then
13207 if { ac_try
='./$ac_file'
13208 { (case "(($ac_try" in
13209 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
13210 *) ac_try_echo=$ac_try;;
13212 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13213 (eval "$ac_try") 2>&5
13215 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13216 (exit $ac_status); }; }; then
13219 if test "$cross_compiling" = maybe; then
13220 cross_compiling=yes
13222 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
13223 If you meant to cross compile, use \`--host'.
13224 See \`config.log' for more details.
" >&5
13225 echo "$as_me: error
: cannot run C compiled programs.
13226 If you meant to cross compile
, use \
`--host'.
13227 See \`config.log
' for more details." >&2;}
13228 { (exit 1); exit 1; }; }
13232 { echo "$as_me:$LINENO: result: yes" >&5
13233 echo "${ECHO_T}yes" >&6; }
13235 rm -f a.out a.exe conftest$ac_cv_exeext b.out
13236 ac_clean_files=$ac_clean_files_save
13237 # Check that the compiler produces executables we can run. If not, either
13238 # the compiler is broken, or we cross compile.
13239 { echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
13240 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
13241 { echo "$as_me:$LINENO: result: $cross_compiling" >&5
13242 echo "${ECHO_T}$cross_compiling" >&6; }
13244 { echo "$as_me:$LINENO: checking for suffix of executables" >&5
13245 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
13246 if { (ac_try="$ac_link"
13247 case "(($ac_try" in
13248 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13249 *) ac_try_echo=$ac_try;;
13251 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13252 (eval "$ac_link") 2>&5
13254 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13255 (exit $ac_status); }; then
13256 # If both `conftest.exe' and
`conftest' are `present
' (well, observable)
13257 # catch `conftest.exe'. For instance with Cygwin
, `ls conftest' will
13258 # work properly (i.e., refer to `conftest.exe
'), while it won't with
13260 for ac_file
in conftest.exe conftest conftest.
*; do
13261 test -f "$ac_file" || continue
13263 *.
$ac_ext | *.xcoff
| *.tds
| *.d
| *.pdb
| *.xSYM
| *.bb
| *.bbg
| *.map
| *.inf
| *.o
| *.obj
) ;;
13264 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
13270 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
13271 See \`config.log' for more details." >&5
13272 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
13273 See \`config.log' for more details." >&2;}
13274 { (exit 1); exit 1; }; }
13277 rm -f conftest
$ac_cv_exeext
13278 { echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
13279 echo "${ECHO_T}$ac_cv_exeext" >&6; }
13281 rm -f conftest.
$ac_ext
13282 EXEEXT
=$ac_cv_exeext
13284 { echo "$as_me:$LINENO: checking for suffix of object files" >&5
13285 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
13286 if test "${ac_cv_objext+set}" = set; then
13287 echo $ECHO_N "(cached) $ECHO_C" >&6
13289 cat >conftest.
$ac_ext <<_ACEOF
13292 cat confdefs.h
>>conftest.
$ac_ext
13293 cat >>conftest.
$ac_ext <<_ACEOF
13294 /* end confdefs.h. */
13304 rm -f conftest.o conftest.obj
13305 if { (ac_try
="$ac_compile"
13306 case "(($ac_try" in
13307 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
13308 *) ac_try_echo=$ac_try;;
13310 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13311 (eval "$ac_compile") 2>&5
13313 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13314 (exit $ac_status); }; then
13315 for ac_file in conftest.o conftest.obj conftest.*; do
13316 test -f "$ac_file" || continue;
13318 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
13319 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
13324 echo "$as_me: failed program was:" >&5
13325 sed 's/^/| /' conftest.$ac_ext >&5
13327 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
13328 See \`config.log
' for more details." >&5
13329 echo "$as_me: error: cannot compute suffix of object files: cannot compile
13330 See \`config.log' for more details.
" >&2;}
13331 { (exit 1); exit 1; }; }
13334 rm -f conftest.$ac_cv_objext conftest.$ac_ext
13336 { echo "$as_me:$LINENO: result
: $ac_cv_objext" >&5
13337 echo "${ECHO_T}$ac_cv_objext" >&6; }
13338 OBJEXT=$ac_cv_objext
13340 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler
" >&5
13341 echo $ECHO_N "checking whether we are using the GNU C compiler...
$ECHO_C" >&6; }
13342 if test "${ac_cv_c_compiler_gnu+set}" = set; then
13343 echo $ECHO_N "(cached
) $ECHO_C" >&6
13345 cat >conftest.$ac_ext <<_ACEOF
13348 cat confdefs.h >>conftest.$ac_ext
13349 cat >>conftest.$ac_ext <<_ACEOF
13350 /* end confdefs.h. */
13363 rm -f conftest.$ac_objext
13364 if { (ac_try="$ac_compile"
13365 case "(($ac_try" in
13366 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13367 *) ac_try_echo=$ac_try;;
13369 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
13370 (eval "$ac_compile") 2>conftest.er1
13372 grep -v '^ *+' conftest.er1 >conftest.err
13374 cat conftest.err >&5
13375 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
13376 (exit $ac_status); } && {
13377 test -z "$ac_c_werror_flag" ||
13378 test ! -s conftest.err
13379 } && test -s conftest.$ac_objext; then
13380 ac_compiler_gnu=yes
13382 echo "$as_me: failed program was
:" >&5
13383 sed 's/^/| /' conftest.$ac_ext >&5
13388 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13389 ac_cv_c_compiler_gnu=$ac_compiler_gnu
13392 { echo "$as_me:$LINENO: result
: $ac_cv_c_compiler_gnu" >&5
13393 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
13394 GCC=`test $ac_compiler_gnu = yes && echo yes`
13395 ac_test_CFLAGS=${CFLAGS+set}
13396 ac_save_CFLAGS=$CFLAGS
13397 { echo "$as_me:$LINENO: checking whether
$CC accepts
-g" >&5
13398 echo $ECHO_N "checking whether
$CC accepts
-g...
$ECHO_C" >&6; }
13399 if test "${ac_cv_prog_cc_g+set}" = set; then
13400 echo $ECHO_N "(cached
) $ECHO_C" >&6
13402 ac_save_c_werror_flag=$ac_c_werror_flag
13403 ac_c_werror_flag=yes
13406 cat >conftest.$ac_ext <<_ACEOF
13409 cat confdefs.h >>conftest.$ac_ext
13410 cat >>conftest.$ac_ext <<_ACEOF
13411 /* end confdefs.h. */
13421 rm -f conftest.$ac_objext
13422 if { (ac_try="$ac_compile"
13423 case "(($ac_try" in
13424 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13425 *) ac_try_echo=$ac_try;;
13427 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
13428 (eval "$ac_compile") 2>conftest.er1
13430 grep -v '^ *+' conftest.er1 >conftest.err
13432 cat conftest.err >&5
13433 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
13434 (exit $ac_status); } && {
13435 test -z "$ac_c_werror_flag" ||
13436 test ! -s conftest.err
13437 } && test -s conftest.$ac_objext; then
13438 ac_cv_prog_cc_g=yes
13440 echo "$as_me: failed program was
:" >&5
13441 sed 's/^/| /' conftest.$ac_ext >&5
13444 cat >conftest.$ac_ext <<_ACEOF
13447 cat confdefs.h >>conftest.$ac_ext
13448 cat >>conftest.$ac_ext <<_ACEOF
13449 /* end confdefs.h. */
13459 rm -f conftest.$ac_objext
13460 if { (ac_try="$ac_compile"
13461 case "(($ac_try" in
13462 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13463 *) ac_try_echo=$ac_try;;
13465 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
13466 (eval "$ac_compile") 2>conftest.er1
13468 grep -v '^ *+' conftest.er1 >conftest.err
13470 cat conftest.err >&5
13471 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
13472 (exit $ac_status); } && {
13473 test -z "$ac_c_werror_flag" ||
13474 test ! -s conftest.err
13475 } && test -s conftest.$ac_objext; then
13478 echo "$as_me: failed program was
:" >&5
13479 sed 's/^/| /' conftest.$ac_ext >&5
13481 ac_c_werror_flag=$ac_save_c_werror_flag
13483 cat >conftest.$ac_ext <<_ACEOF
13486 cat confdefs.h >>conftest.$ac_ext
13487 cat >>conftest.$ac_ext <<_ACEOF
13488 /* end confdefs.h. */
13498 rm -f conftest.$ac_objext
13499 if { (ac_try="$ac_compile"
13500 case "(($ac_try" in
13501 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13502 *) ac_try_echo=$ac_try;;
13504 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
13505 (eval "$ac_compile") 2>conftest.er1
13507 grep -v '^ *+' conftest.er1 >conftest.err
13509 cat conftest.err >&5
13510 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
13511 (exit $ac_status); } && {
13512 test -z "$ac_c_werror_flag" ||
13513 test ! -s conftest.err
13514 } && test -s conftest.$ac_objext; then
13515 ac_cv_prog_cc_g=yes
13517 echo "$as_me: failed program was
:" >&5
13518 sed 's/^/| /' conftest.$ac_ext >&5
13523 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13526 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13529 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13530 ac_c_werror_flag=$ac_save_c_werror_flag
13532 { echo "$as_me:$LINENO: result
: $ac_cv_prog_cc_g" >&5
13533 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
13534 if test "$ac_test_CFLAGS" = set; then
13535 CFLAGS=$ac_save_CFLAGS
13536 elif test $ac_cv_prog_cc_g = yes; then
13537 if test "$GCC" = yes; then
13543 if test "$GCC" = yes; then
13549 { echo "$as_me:$LINENO: checking
for $CC option to accept ISO C89
" >&5
13550 echo $ECHO_N "checking
for $CC option to accept ISO C89...
$ECHO_C" >&6; }
13551 if test "${ac_cv_prog_cc_c89+set}" = set; then
13552 echo $ECHO_N "(cached
) $ECHO_C" >&6
13554 ac_cv_prog_cc_c89=no
13556 cat >conftest.$ac_ext <<_ACEOF
13559 cat confdefs.h >>conftest.$ac_ext
13560 cat >>conftest.$ac_ext <<_ACEOF
13561 /* end confdefs.h. */
13562 #include <stdarg.h>
13564 #include <sys/types.h>
13565 #include <sys/stat.h>
13566 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
13567 struct buf { int x; };
13568 FILE * (*rcsopen) (struct buf *, struct stat *, int);
13569 static char *e (p, i)
13575 static char *f (char * (*g) (char **, int), char **p, ...)
13580 s = g (p, va_arg (v,int));
13585 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
13586 function prototypes and stuff, but not '\xHH' hex character constants.
13587 These don't provoke an error unfortunately, instead are silently treated
13588 as 'x'. The following induces an error, until -std is added to get
13589 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
13590 array size at least. It's necessary to write '\x00'==0 to get something
13591 that's true only with -std. */
13592 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
13594 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
13595 inside strings and character constants. */
13597 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
13599 int test (int i, double x);
13600 struct s1 {int (*f) (int a);};
13601 struct s2 {int (*f) (double a);};
13602 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
13608 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
13613 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
13614 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
13616 CC="$ac_save_CC $ac_arg"
13617 rm -f conftest.$ac_objext
13618 if { (ac_try="$ac_compile"
13619 case "(($ac_try" in
13620 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13621 *) ac_try_echo=$ac_try;;
13623 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
13624 (eval "$ac_compile") 2>conftest.er1
13626 grep -v '^ *+' conftest.er1 >conftest.err
13628 cat conftest.err >&5
13629 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
13630 (exit $ac_status); } && {
13631 test -z "$ac_c_werror_flag" ||
13632 test ! -s conftest.err
13633 } && test -s conftest.$ac_objext; then
13634 ac_cv_prog_cc_c89=$ac_arg
13636 echo "$as_me: failed program was
:" >&5
13637 sed 's/^/| /' conftest.$ac_ext >&5
13642 rm -f core conftest.err conftest.$ac_objext
13643 test "x
$ac_cv_prog_cc_c89" != "xno
" && break
13645 rm -f conftest.$ac_ext
13650 case "x
$ac_cv_prog_cc_c89" in
13652 { echo "$as_me:$LINENO: result
: none needed
" >&5
13653 echo "${ECHO_T}none needed
" >&6; } ;;
13655 { echo "$as_me:$LINENO: result
: unsupported
" >&5
13656 echo "${ECHO_T}unsupported
" >&6; } ;;
13658 CC="$CC $ac_cv_prog_cc_c89"
13659 { echo "$as_me:$LINENO: result
: $ac_cv_prog_cc_c89" >&5
13660 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
13665 ac_cpp='$CPP $CPPFLAGS'
13666 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13667 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13668 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13673 ac_cpp='$CPP $CPPFLAGS'
13674 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13675 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13676 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13678 { echo "$as_me:$LINENO: checking whether we are using the Intel C compiler
" >&5
13679 echo $ECHO_N "checking whether we are using the Intel C compiler...
$ECHO_C" >&6; }
13680 if test "${bakefile_cv_c_compiler___INTEL_COMPILER+set}" = set; then
13681 echo $ECHO_N "(cached
) $ECHO_C" >&6
13683 cat >conftest.$ac_ext <<_ACEOF
13686 cat confdefs.h >>conftest.$ac_ext
13687 cat >>conftest.$ac_ext <<_ACEOF
13688 /* end confdefs.h. */
13694 #ifndef __INTEL_COMPILER
13702 rm -f conftest.$ac_objext
13703 if { (ac_try="$ac_compile"
13704 case "(($ac_try" in
13705 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13706 *) ac_try_echo=$ac_try;;
13708 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
13709 (eval "$ac_compile") 2>conftest.er1
13711 grep -v '^ *+' conftest.er1 >conftest.err
13713 cat conftest.err >&5
13714 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
13715 (exit $ac_status); } && {
13716 test -z "$ac_c_werror_flag" ||
13717 test ! -s conftest.err
13718 } && test -s conftest.$ac_objext; then
13719 bakefile_cv_c_compiler___INTEL_COMPILER=yes
13721 echo "$as_me: failed program was
:" >&5
13722 sed 's/^/| /' conftest.$ac_ext >&5
13724 bakefile_cv_c_compiler___INTEL_COMPILER=no
13728 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13732 { echo "$as_me:$LINENO: result
: $bakefile_cv_c_compiler___INTEL_COMPILER" >&5
13733 echo "${ECHO_T}$bakefile_cv_c_compiler___INTEL_COMPILER" >&6; }
13735 ac_cpp='$CPP $CPPFLAGS'
13736 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13737 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13738 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13740 if test "x
$bakefile_cv_c_compiler___INTEL_COMPILER" = "xyes
"; then
13747 if test "x
$GCC" != "xyes
"; then
13748 if test "xCC
" = "xC
"; then
13749 { echo "$as_me:$LINENO: checking
if the C compiler requires
-ext o
" >&5
13750 echo $ECHO_N "checking
if the C compiler requires
-ext o...
$ECHO_C" >&6; }
13751 if test "${bakefile_cv_c_exto+set}" = set; then
13752 echo $ECHO_N "(cached
) $ECHO_C" >&6
13754 cat >conftest.$ac_ext <<_ACEOF
13757 cat confdefs.h >>conftest.$ac_ext
13758 cat >>conftest.$ac_ext <<_ACEOF
13759 /* end confdefs.h. */
13769 rm -f conftest.$ac_objext conftest.$ac_ext.o
13770 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13771 (eval $ac_compile) 2>&5
13773 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
13774 (exit $ac_status); }; then
13775 for ac_file in `(ls conftest.* 2>/dev/null)`; do
13777 conftest.$ac_ext.o)
13778 bakefile_cv_c_exto="-ext o
"
13785 { { echo "$as_me:$LINENO: error
: cannot figure out
if compiler needs
-ext o
: cannot compile
13786 See \
`config.log' for more details." >&5
13787 echo "$as_me: error: cannot figure out if compiler needs -ext o: cannot compile
13788 See \`config.log
' for more details." >&2;}
13789 { (exit 1); exit 1; }; }
13793 rm -f conftest.$ac_ext.o conftest.$ac_objext conftest.$ac_ext
13796 { echo "$as_me:$LINENO: result: $bakefile_cv_c_exto" >&5
13797 echo "${ECHO_T}$bakefile_cv_c_exto" >&6; }
13798 if test "x$bakefile_cv_c_exto" '!=' "x"; then
13799 if test "c" = "c"; then
13800 CFLAGS="$bakefile_cv_c_exto $CFLAGS"
13802 if test "c" = "cxx"; then
13803 CXXFLAGS="$bakefile_cv_c_exto $CXXFLAGS"
13807 if test "x$bakefile_cv_c_exto" '!=' "x"; then
13808 unset ac_cv_prog_cc_g
13809 ac_test_CFLAGS=${CFLAGS+set}
13810 ac_save_CFLAGS=$CFLAGS
13811 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
13812 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
13813 if test "${ac_cv_prog_cc_g+set}" = set; then
13814 echo $ECHO_N "(cached) $ECHO_C" >&6
13816 ac_save_c_werror_flag=$ac_c_werror_flag
13817 ac_c_werror_flag=yes
13820 cat >conftest.$ac_ext <<_ACEOF
13823 cat confdefs.h >>conftest.$ac_ext
13824 cat >>conftest.$ac_ext <<_ACEOF
13825 /* end confdefs.h. */
13835 rm -f conftest.$ac_objext
13836 if { (ac_try="$ac_compile"
13837 case "(($ac_try" in
13838 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13839 *) ac_try_echo=$ac_try;;
13841 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13842 (eval "$ac_compile") 2>conftest.er1
13844 grep -v '^
*+' conftest.er1 >conftest.err
13846 cat conftest.err >&5
13847 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13848 (exit $ac_status); } && {
13849 test -z "$ac_c_werror_flag" ||
13850 test ! -s conftest.err
13851 } && test -s conftest.$ac_objext; then
13852 ac_cv_prog_cc_g=yes
13854 echo "$as_me: failed program was:" >&5
13855 sed 's
/^
/| /' conftest.$ac_ext >&5
13858 cat >conftest.$ac_ext <<_ACEOF
13861 cat confdefs.h >>conftest.$ac_ext
13862 cat >>conftest.$ac_ext <<_ACEOF
13863 /* end confdefs.h. */
13873 rm -f conftest.$ac_objext
13874 if { (ac_try="$ac_compile"
13875 case "(($ac_try" in
13876 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13877 *) ac_try_echo=$ac_try;;
13879 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13880 (eval "$ac_compile") 2>conftest.er1
13882 grep -v '^
*+' conftest.er1 >conftest.err
13884 cat conftest.err >&5
13885 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13886 (exit $ac_status); } && {
13887 test -z "$ac_c_werror_flag" ||
13888 test ! -s conftest.err
13889 } && test -s conftest.$ac_objext; then
13892 echo "$as_me: failed program was:" >&5
13893 sed 's
/^
/| /' conftest.$ac_ext >&5
13895 ac_c_werror_flag=$ac_save_c_werror_flag
13897 cat >conftest.$ac_ext <<_ACEOF
13900 cat confdefs.h >>conftest.$ac_ext
13901 cat >>conftest.$ac_ext <<_ACEOF
13902 /* end confdefs.h. */
13912 rm -f conftest.$ac_objext
13913 if { (ac_try="$ac_compile"
13914 case "(($ac_try" in
13915 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13916 *) ac_try_echo=$ac_try;;
13918 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13919 (eval "$ac_compile") 2>conftest.er1
13921 grep -v '^
*+' conftest.er1 >conftest.err
13923 cat conftest.err >&5
13924 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13925 (exit $ac_status); } && {
13926 test -z "$ac_c_werror_flag" ||
13927 test ! -s conftest.err
13928 } && test -s conftest.$ac_objext; then
13929 ac_cv_prog_cc_g=yes
13931 echo "$as_me: failed program was:" >&5
13932 sed 's
/^
/| /' conftest.$ac_ext >&5
13937 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13940 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13943 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13944 ac_c_werror_flag=$ac_save_c_werror_flag
13946 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
13947 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
13948 if test "$ac_test_CFLAGS" = set; then
13949 CFLAGS=$ac_save_CFLAGS
13950 elif test $ac_cv_prog_cc_g = yes; then
13951 if test "$GCC" = yes; then
13957 if test "$GCC" = yes; then
13969 ac_cpp='$CPP $CPPFLAGS'
13970 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
13971 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
13972 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13974 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C compiler" >&5
13975 echo $ECHO_N "checking whether we are using the IBM xlC C compiler... $ECHO_C" >&6; }
13976 if test "${bakefile_cv_c_compiler_xlc+set}" = set; then
13977 echo $ECHO_N "(cached) $ECHO_C" >&6
13979 cat >conftest.$ac_ext <<_ACEOF
13982 cat confdefs.h >>conftest.$ac_ext
13983 cat >>conftest.$ac_ext <<_ACEOF
13984 /* end confdefs.h. */
13997 rm -f conftest.$ac_objext
13998 if { (ac_try="$ac_compile"
13999 case "(($ac_try" in
14000 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14001 *) ac_try_echo=$ac_try;;
14003 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14004 (eval "$ac_compile") 2>conftest.er1
14006 grep -v '^
*+' conftest.er1 >conftest.err
14008 cat conftest.err >&5
14009 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14010 (exit $ac_status); } && {
14011 test -z "$ac_c_werror_flag" ||
14012 test ! -s conftest.err
14013 } && test -s conftest.$ac_objext; then
14014 bakefile_compiler_xlc=yes
14016 echo "$as_me: failed program was:" >&5
14017 sed 's
/^
/| /' conftest.$ac_ext >&5
14019 bakefile_compiler_xlc=no
14022 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14023 bakefile_cv_c_compiler_xlc=$bakefile_compiler_xlc
14026 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler_xlc" >&5
14027 echo "${ECHO_T}$bakefile_cv_c_compiler_xlc" >&6; }
14029 XLCC=`test $bakefile_cv_c_compiler_xlc = yes && echo yes`
14031 ac_cpp='$CPP $CPPFLAGS'
14032 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
14033 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
14034 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14041 ac_cpp='$CPP $CPPFLAGS'
14042 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
14043 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
14044 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14046 { echo "$as_me:$LINENO: checking whether we are using the Metrowerks C compiler" >&5
14047 echo $ECHO_N "checking whether we are using the Metrowerks C compiler... $ECHO_C" >&6; }
14048 if test "${bakefile_cv_c_compiler_mwerks+set}" = set; then
14049 echo $ECHO_N "(cached) $ECHO_C" >&6
14051 cat >conftest.$ac_ext <<_ACEOF
14054 cat confdefs.h >>conftest.$ac_ext
14055 cat >>conftest.$ac_ext <<_ACEOF
14056 /* end confdefs.h. */
14069 rm -f conftest.$ac_objext
14070 if { (ac_try="$ac_compile"
14071 case "(($ac_try" in
14072 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14073 *) ac_try_echo=$ac_try;;
14075 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14076 (eval "$ac_compile") 2>conftest.er1
14078 grep -v '^
*+' conftest.er1 >conftest.err
14080 cat conftest.err >&5
14081 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14082 (exit $ac_status); } && {
14083 test -z "$ac_c_werror_flag" ||
14084 test ! -s conftest.err
14085 } && test -s conftest.$ac_objext; then
14086 bakefile_compiler_mwerks=yes
14088 echo "$as_me: failed program was:" >&5
14089 sed 's
/^
/| /' conftest.$ac_ext >&5
14091 bakefile_compiler_mwerks=no
14094 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14095 bakefile_cv_c_compiler_mwerks=$bakefile_compiler_mwerks
14098 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler_mwerks" >&5
14099 echo "${ECHO_T}$bakefile_cv_c_compiler_mwerks" >&6; }
14101 MWCC=`test $bakefile_cv_c_compiler_mwerks = yes && echo yes`
14103 ac_cpp='$CPP $CPPFLAGS'
14104 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
14105 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
14106 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14110 ac_cpp='$CPP $CPPFLAGS'
14111 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
14112 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
14113 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14115 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C compiler" >&5
14116 echo $ECHO_N "checking whether we are using the IBM xlC C compiler... $ECHO_C" >&6; }
14117 if test "${bakefile_cv_c_compiler_xlc+set}" = set; then
14118 echo $ECHO_N "(cached) $ECHO_C" >&6
14120 cat >conftest.$ac_ext <<_ACEOF
14123 cat confdefs.h >>conftest.$ac_ext
14124 cat >>conftest.$ac_ext <<_ACEOF
14125 /* end confdefs.h. */
14138 rm -f conftest.$ac_objext
14139 if { (ac_try="$ac_compile"
14140 case "(($ac_try" in
14141 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14142 *) ac_try_echo=$ac_try;;
14144 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14145 (eval "$ac_compile") 2>conftest.er1
14147 grep -v '^
*+' conftest.er1 >conftest.err
14149 cat conftest.err >&5
14150 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14151 (exit $ac_status); } && {
14152 test -z "$ac_c_werror_flag" ||
14153 test ! -s conftest.err
14154 } && test -s conftest.$ac_objext; then
14155 bakefile_compiler_xlc=yes
14157 echo "$as_me: failed program was:" >&5
14158 sed 's
/^
/| /' conftest.$ac_ext >&5
14160 bakefile_compiler_xlc=no
14163 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14164 bakefile_cv_c_compiler_xlc=$bakefile_compiler_xlc
14167 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler_xlc" >&5
14168 echo "${ECHO_T}$bakefile_cv_c_compiler_xlc" >&6; }
14170 XLCC=`test $bakefile_cv_c_compiler_xlc = yes && echo yes`
14172 ac_cpp='$CPP $CPPFLAGS'
14173 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
14174 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
14175 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14184 ac_cpp='$CPP $CPPFLAGS'
14185 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
14186 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
14187 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14189 { echo "$as_me:$LINENO: checking whether we are using the SGI C compiler" >&5
14190 echo $ECHO_N "checking whether we are using the SGI C compiler... $ECHO_C" >&6; }
14191 if test "${bakefile_cv_c_compiler__SGI_COMPILER_VERSION+set}" = set; then
14192 echo $ECHO_N "(cached) $ECHO_C" >&6
14194 cat >conftest.$ac_ext <<_ACEOF
14197 cat confdefs.h >>conftest.$ac_ext
14198 cat >>conftest.$ac_ext <<_ACEOF
14199 /* end confdefs.h. */
14205 #ifndef _SGI_COMPILER_VERSION
14213 rm -f conftest.$ac_objext
14214 if { (ac_try="$ac_compile"
14215 case "(($ac_try" in
14216 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14217 *) ac_try_echo=$ac_try;;
14219 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14220 (eval "$ac_compile") 2>conftest.er1
14222 grep -v '^
*+' conftest.er1 >conftest.err
14224 cat conftest.err >&5
14225 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14226 (exit $ac_status); } && {
14227 test -z "$ac_c_werror_flag" ||
14228 test ! -s conftest.err
14229 } && test -s conftest.$ac_objext; then
14230 bakefile_cv_c_compiler__SGI_COMPILER_VERSION=yes
14232 echo "$as_me: failed program was:" >&5
14233 sed 's
/^
/| /' conftest.$ac_ext >&5
14235 bakefile_cv_c_compiler__SGI_COMPILER_VERSION=no
14239 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14243 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler__SGI_COMPILER_VERSION" >&5
14244 echo "${ECHO_T}$bakefile_cv_c_compiler__SGI_COMPILER_VERSION" >&6; }
14246 ac_cpp='$CPP $CPPFLAGS'
14247 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
14248 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
14249 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14251 if test "x$bakefile_cv_c_compiler__SGI_COMPILER_VERSION" = "xyes"; then
14264 ac_cpp='$CPP $CPPFLAGS'
14265 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
14266 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
14267 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14269 { echo "$as_me:$LINENO: checking whether we are using the HP C compiler" >&5
14270 echo $ECHO_N "checking whether we are using the HP C compiler... $ECHO_C" >&6; }
14271 if test "${bakefile_cv_c_compiler___HP_cc+set}" = set; then
14272 echo $ECHO_N "(cached) $ECHO_C" >&6
14274 cat >conftest.$ac_ext <<_ACEOF
14277 cat confdefs.h >>conftest.$ac_ext
14278 cat >>conftest.$ac_ext <<_ACEOF
14279 /* end confdefs.h. */
14293 rm -f conftest.$ac_objext
14294 if { (ac_try="$ac_compile"
14295 case "(($ac_try" in
14296 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14297 *) ac_try_echo=$ac_try;;
14299 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14300 (eval "$ac_compile") 2>conftest.er1
14302 grep -v '^
*+' conftest.er1 >conftest.err
14304 cat conftest.err >&5
14305 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14306 (exit $ac_status); } && {
14307 test -z "$ac_c_werror_flag" ||
14308 test ! -s conftest.err
14309 } && test -s conftest.$ac_objext; then
14310 bakefile_cv_c_compiler___HP_cc=yes
14312 echo "$as_me: failed program was:" >&5
14313 sed 's
/^
/| /' conftest.$ac_ext >&5
14315 bakefile_cv_c_compiler___HP_cc=no
14319 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14323 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___HP_cc" >&5
14324 echo "${ECHO_T}$bakefile_cv_c_compiler___HP_cc" >&6; }
14326 ac_cpp='$CPP $CPPFLAGS'
14327 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
14328 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
14329 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14331 if test "x$bakefile_cv_c_compiler___HP_cc" = "xyes"; then
14344 ac_cpp='$CPP $CPPFLAGS'
14345 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
14346 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
14347 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14349 { echo "$as_me:$LINENO: checking whether we are using the Compaq C compiler" >&5
14350 echo $ECHO_N "checking whether we are using the Compaq C compiler... $ECHO_C" >&6; }
14351 if test "${bakefile_cv_c_compiler___DECC+set}" = set; then
14352 echo $ECHO_N "(cached) $ECHO_C" >&6
14354 cat >conftest.$ac_ext <<_ACEOF
14357 cat confdefs.h >>conftest.$ac_ext
14358 cat >>conftest.$ac_ext <<_ACEOF
14359 /* end confdefs.h. */
14373 rm -f conftest.$ac_objext
14374 if { (ac_try="$ac_compile"
14375 case "(($ac_try" in
14376 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14377 *) ac_try_echo=$ac_try;;
14379 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14380 (eval "$ac_compile") 2>conftest.er1
14382 grep -v '^
*+' conftest.er1 >conftest.err
14384 cat conftest.err >&5
14385 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14386 (exit $ac_status); } && {
14387 test -z "$ac_c_werror_flag" ||
14388 test ! -s conftest.err
14389 } && test -s conftest.$ac_objext; then
14390 bakefile_cv_c_compiler___DECC=yes
14392 echo "$as_me: failed program was:" >&5
14393 sed 's
/^
/| /' conftest.$ac_ext >&5
14395 bakefile_cv_c_compiler___DECC=no
14399 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14403 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___DECC" >&5
14404 echo "${ECHO_T}$bakefile_cv_c_compiler___DECC" >&6; }
14406 ac_cpp='$CPP $CPPFLAGS'
14407 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
14408 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
14409 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14411 if test "x$bakefile_cv_c_compiler___DECC" = "xyes"; then
14424 ac_cpp='$CPP $CPPFLAGS'
14425 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
14426 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
14427 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14429 { echo "$as_me:$LINENO: checking whether we are using the Sun C compiler" >&5
14430 echo $ECHO_N "checking whether we are using the Sun C compiler... $ECHO_C" >&6; }
14431 if test "${bakefile_cv_c_compiler___SUNPRO_C+set}" = set; then
14432 echo $ECHO_N "(cached) $ECHO_C" >&6
14434 cat >conftest.$ac_ext <<_ACEOF
14437 cat confdefs.h >>conftest.$ac_ext
14438 cat >>conftest.$ac_ext <<_ACEOF
14439 /* end confdefs.h. */
14453 rm -f conftest.$ac_objext
14454 if { (ac_try="$ac_compile"
14455 case "(($ac_try" in
14456 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14457 *) ac_try_echo=$ac_try;;
14459 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14460 (eval "$ac_compile") 2>conftest.er1
14462 grep -v '^
*+' conftest.er1 >conftest.err
14464 cat conftest.err >&5
14465 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14466 (exit $ac_status); } && {
14467 test -z "$ac_c_werror_flag" ||
14468 test ! -s conftest.err
14469 } && test -s conftest.$ac_objext; then
14470 bakefile_cv_c_compiler___SUNPRO_C=yes
14472 echo "$as_me: failed program was:" >&5
14473 sed 's
/^
/| /' conftest.$ac_ext >&5
14475 bakefile_cv_c_compiler___SUNPRO_C=no
14479 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14483 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___SUNPRO_C" >&5
14484 echo "${ECHO_T}$bakefile_cv_c_compiler___SUNPRO_C" >&6; }
14486 ac_cpp='$CPP $CPPFLAGS'
14487 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
14488 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
14489 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14491 if test "x$bakefile_cv_c_compiler___SUNPRO_C" = "xyes"; then
14505 ac_cpp='$CPP $CPPFLAGS'
14506 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
14507 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
14508 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14509 { echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
14510 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
14511 # On Suns, sometimes $CPP names a directory.
14512 if test -n "$CPP" && test -d "$CPP"; then
14515 if test -z "$CPP"; then
14516 if test "${ac_cv_prog_CPP+set}" = set; then
14517 echo $ECHO_N "(cached) $ECHO_C" >&6
14519 # Double quotes because CPP needs to be expanded
14520 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
14522 ac_preproc_ok=false
14523 for ac_c_preproc_warn_flag in '' yes
14525 # Use a header file that comes with gcc, so configuring glibc
14526 # with a fresh cross-compiler works.
14527 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14528 # <limits.h> exists even on freestanding compilers.
14529 # On the NeXT, cc -E runs the code through the compiler's parser
,
14530 # not just through cpp. "Syntax error" is here to catch this case.
14531 cat >conftest.
$ac_ext <<_ACEOF
14534 cat confdefs.h
>>conftest.
$ac_ext
14535 cat >>conftest.
$ac_ext <<_ACEOF
14536 /* end confdefs.h. */
14538 # include <limits.h>
14540 # include <assert.h>
14544 if { (ac_try
="$ac_cpp conftest.$ac_ext"
14545 case "(($ac_try" in
14546 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
14547 *) ac_try_echo=$ac_try;;
14549 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14550 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
14552 grep -v '^ *+' conftest.er1 >conftest.err
14554 cat conftest.err >&5
14555 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14556 (exit $ac_status); } >/dev/null && {
14557 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
14558 test ! -s conftest.err
14562 echo "$as_me: failed program was:" >&5
14563 sed 's/^/| /' conftest.$ac_ext >&5
14565 # Broken: fails on valid input.
14569 rm -f conftest.err conftest.$ac_ext
14571 # OK, works on sane cases. Now check whether nonexistent headers
14572 # can be detected and how.
14573 cat >conftest.$ac_ext <<_ACEOF
14576 cat confdefs.h >>conftest.$ac_ext
14577 cat >>conftest.$ac_ext <<_ACEOF
14578 /* end confdefs.h. */
14579 #include <ac_nonexistent.h>
14581 if { (ac_try="$ac_cpp conftest.$ac_ext"
14582 case "(($ac_try" in
14583 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
14584 *) ac_try_echo
=$ac_try;;
14586 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14587 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
14589 grep -v '^ *+' conftest.er1
>conftest.err
14591 cat conftest.err
>&5
14592 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14593 (exit $ac_status); } >/dev
/null
&& {
14594 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
14595 test ! -s conftest.err
14597 # Broken: success on invalid input.
14600 echo "$as_me: failed program was:" >&5
14601 sed 's/^/| /' conftest.
$ac_ext >&5
14603 # Passes both tests.
14608 rm -f conftest.err conftest.
$ac_ext
14611 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
14612 rm -f conftest.err conftest.
$ac_ext
14613 if $ac_preproc_ok; then
14618 ac_cv_prog_CPP
=$CPP
14621 CPP
=$ac_cv_prog_CPP
14623 ac_cv_prog_CPP
=$CPP
14625 { echo "$as_me:$LINENO: result: $CPP" >&5
14626 echo "${ECHO_T}$CPP" >&6; }
14627 ac_preproc_ok
=false
14628 for ac_c_preproc_warn_flag
in '' yes
14630 # Use a header file that comes with gcc, so configuring glibc
14631 # with a fresh cross-compiler works.
14632 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14633 # <limits.h> exists even on freestanding compilers.
14634 # On the NeXT, cc -E runs the code through the compiler's parser,
14635 # not just through cpp. "Syntax error" is here to catch this case.
14636 cat >conftest.
$ac_ext <<_ACEOF
14639 cat confdefs.h
>>conftest.
$ac_ext
14640 cat >>conftest.
$ac_ext <<_ACEOF
14641 /* end confdefs.h. */
14643 # include <limits.h>
14645 # include <assert.h>
14649 if { (ac_try
="$ac_cpp conftest.$ac_ext"
14650 case "(($ac_try" in
14651 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
14652 *) ac_try_echo=$ac_try;;
14654 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14655 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
14657 grep -v '^ *+' conftest.er1 >conftest.err
14659 cat conftest.err >&5
14660 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14661 (exit $ac_status); } >/dev/null && {
14662 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
14663 test ! -s conftest.err
14667 echo "$as_me: failed program was:" >&5
14668 sed 's/^/| /' conftest.$ac_ext >&5
14670 # Broken: fails on valid input.
14674 rm -f conftest.err conftest.$ac_ext
14676 # OK, works on sane cases. Now check whether nonexistent headers
14677 # can be detected and how.
14678 cat >conftest.$ac_ext <<_ACEOF
14681 cat confdefs.h >>conftest.$ac_ext
14682 cat >>conftest.$ac_ext <<_ACEOF
14683 /* end confdefs.h. */
14684 #include <ac_nonexistent.h>
14686 if { (ac_try="$ac_cpp conftest.$ac_ext"
14687 case "(($ac_try" in
14688 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
14689 *) ac_try_echo
=$ac_try;;
14691 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14692 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
14694 grep -v '^ *+' conftest.er1
>conftest.err
14696 cat conftest.err
>&5
14697 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14698 (exit $ac_status); } >/dev
/null
&& {
14699 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
14700 test ! -s conftest.err
14702 # Broken: success on invalid input.
14705 echo "$as_me: failed program was:" >&5
14706 sed 's/^/| /' conftest.
$ac_ext >&5
14708 # Passes both tests.
14713 rm -f conftest.err conftest.
$ac_ext
14716 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
14717 rm -f conftest.err conftest.
$ac_ext
14718 if $ac_preproc_ok; then
14721 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
14722 See \`config.log' for more details." >&5
14723 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
14724 See \`config.log' for more details." >&2;}
14725 { (exit 1); exit 1; }; }
14729 ac_cpp
='$CPP $CPPFLAGS'
14730 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14731 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14732 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
14735 { echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
14736 echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
14737 if test "${ac_cv_path_GREP+set}" = set; then
14738 echo $ECHO_N "(cached) $ECHO_C" >&6
14740 # Extract the first word of "grep ggrep" to use in msg output
14741 if test -z "$GREP"; then
14742 set dummy
grep ggrep
; ac_prog_name
=$2
14743 if test "${ac_cv_path_GREP+set}" = set; then
14744 echo $ECHO_N "(cached) $ECHO_C" >&6
14746 ac_path_GREP_found
=false
14747 # Loop through the user's path and test for each of PROGNAME-LIST
14748 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14749 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
14752 test -z "$as_dir" && as_dir
=.
14753 for ac_prog
in grep ggrep
; do
14754 for ac_exec_ext
in '' $ac_executable_extensions; do
14755 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
14756 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
14757 # Check for GNU ac_path_GREP and select it if it is found.
14758 # Check for GNU $ac_path_GREP
14759 case `"$ac_path_GREP" --version 2>&1` in
14761 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
14764 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
14767 cat "conftest.in" "conftest.in" >"conftest.tmp"
14768 mv "conftest.tmp" "conftest.in"
14769 cp "conftest.in" "conftest.nl"
14770 echo 'GREP' >> "conftest.nl"
14771 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null
|| break
14772 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 || break
14773 ac_count
=`expr $ac_count + 1`
14774 if test $ac_count -gt ${ac_path_GREP_max-0}; then
14775 # Best one so far, save it but keep looking for a better one
14776 ac_cv_path_GREP
="$ac_path_GREP"
14777 ac_path_GREP_max
=$ac_count
14779 # 10*(2^10) chars as input seems more than enough
14780 test $ac_count -gt 10 && break
14782 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
14786 $ac_path_GREP_found && break 3
14796 GREP
="$ac_cv_path_GREP"
14797 if test -z "$GREP"; then
14798 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
14799 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
14800 { (exit 1); exit 1; }; }
14804 ac_cv_path_GREP
=$GREP
14809 { echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
14810 echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
14811 GREP
="$ac_cv_path_GREP"
14814 { echo "$as_me:$LINENO: checking for egrep" >&5
14815 echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
14816 if test "${ac_cv_path_EGREP+set}" = set; then
14817 echo $ECHO_N "(cached) $ECHO_C" >&6
14819 if echo a
| $GREP -E '(a|b)' >/dev
/null
2>&1
14820 then ac_cv_path_EGREP
="$GREP -E"
14822 # Extract the first word of "egrep" to use in msg output
14823 if test -z "$EGREP"; then
14824 set dummy
egrep; ac_prog_name
=$2
14825 if test "${ac_cv_path_EGREP+set}" = set; then
14826 echo $ECHO_N "(cached) $ECHO_C" >&6
14828 ac_path_EGREP_found
=false
14829 # Loop through the user's path and test for each of PROGNAME-LIST
14830 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14831 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
14834 test -z "$as_dir" && as_dir
=.
14835 for ac_prog
in egrep; do
14836 for ac_exec_ext
in '' $ac_executable_extensions; do
14837 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
14838 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
14839 # Check for GNU ac_path_EGREP and select it if it is found.
14840 # Check for GNU $ac_path_EGREP
14841 case `"$ac_path_EGREP" --version 2>&1` in
14843 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
14846 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
14849 cat "conftest.in" "conftest.in" >"conftest.tmp"
14850 mv "conftest.tmp" "conftest.in"
14851 cp "conftest.in" "conftest.nl"
14852 echo 'EGREP' >> "conftest.nl"
14853 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null
|| break
14854 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 || break
14855 ac_count
=`expr $ac_count + 1`
14856 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
14857 # Best one so far, save it but keep looking for a better one
14858 ac_cv_path_EGREP
="$ac_path_EGREP"
14859 ac_path_EGREP_max
=$ac_count
14861 # 10*(2^10) chars as input seems more than enough
14862 test $ac_count -gt 10 && break
14864 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
14868 $ac_path_EGREP_found && break 3
14878 EGREP
="$ac_cv_path_EGREP"
14879 if test -z "$EGREP"; then
14880 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
14881 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
14882 { (exit 1); exit 1; }; }
14886 ac_cv_path_EGREP
=$EGREP
14892 { echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
14893 echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
14894 EGREP
="$ac_cv_path_EGREP"
14897 if test $ac_cv_c_compiler_gnu = yes; then
14898 { echo "$as_me:$LINENO: checking whether $CC needs -traditional" >&5
14899 echo $ECHO_N "checking whether $CC needs -traditional... $ECHO_C" >&6; }
14900 if test "${ac_cv_prog_gcc_traditional+set}" = set; then
14901 echo $ECHO_N "(cached) $ECHO_C" >&6
14903 ac_pattern
="Autoconf.*'x'"
14904 cat >conftest.
$ac_ext <<_ACEOF
14907 cat confdefs.h
>>conftest.
$ac_ext
14908 cat >>conftest.
$ac_ext <<_ACEOF
14909 /* end confdefs.h. */
14913 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
14914 $EGREP "$ac_pattern" >/dev
/null
2>&1; then
14915 ac_cv_prog_gcc_traditional
=yes
14917 ac_cv_prog_gcc_traditional
=no
14922 if test $ac_cv_prog_gcc_traditional = no
; then
14923 cat >conftest.
$ac_ext <<_ACEOF
14926 cat confdefs.h
>>conftest.
$ac_ext
14927 cat >>conftest.
$ac_ext <<_ACEOF
14928 /* end confdefs.h. */
14929 #include <termio.h>
14932 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
14933 $EGREP "$ac_pattern" >/dev
/null
2>&1; then
14934 ac_cv_prog_gcc_traditional
=yes
14940 { echo "$as_me:$LINENO: result: $ac_cv_prog_gcc_traditional" >&5
14941 echo "${ECHO_T}$ac_cv_prog_gcc_traditional" >&6; }
14942 if test $ac_cv_prog_gcc_traditional = yes; then
14943 CC
="$CC -traditional"
14948 CXXFLAGS
=${CXXFLAGS:=}
14953 ac_cpp
='$CXXCPP $CPPFLAGS'
14954 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14955 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14956 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
14957 if test -z "$CXX"; then
14958 if test -n "$CCC"; then
14961 if test -n "$ac_tool_prefix"; then
14962 for ac_prog
in g
++ c
++ gpp aCC CC cxx cc
++ cl.exe FCC KCC RCC xlC_r xlC
14964 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
14965 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
14966 { echo "$as_me:$LINENO: checking for $ac_word" >&5
14967 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
14968 if test "${ac_cv_prog_CXX+set}" = set; then
14969 echo $ECHO_N "(cached) $ECHO_C" >&6
14971 if test -n "$CXX"; then
14972 ac_cv_prog_CXX
="$CXX" # Let the user override the test.
14974 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14975 for as_dir
in $PATH
14978 test -z "$as_dir" && as_dir
=.
14979 for ac_exec_ext
in '' $ac_executable_extensions; do
14980 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14981 ac_cv_prog_CXX
="$ac_tool_prefix$ac_prog"
14982 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14991 CXX
=$ac_cv_prog_CXX
14992 if test -n "$CXX"; then
14993 { echo "$as_me:$LINENO: result: $CXX" >&5
14994 echo "${ECHO_T}$CXX" >&6; }
14996 { echo "$as_me:$LINENO: result: no" >&5
14997 echo "${ECHO_T}no" >&6; }
15001 test -n "$CXX" && break
15004 if test -z "$CXX"; then
15006 for ac_prog
in g
++ c
++ gpp aCC CC cxx cc
++ cl.exe FCC KCC RCC xlC_r xlC
15008 # Extract the first word of "$ac_prog", so it can be a program name with args.
15009 set dummy
$ac_prog; ac_word
=$2
15010 { echo "$as_me:$LINENO: checking for $ac_word" >&5
15011 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
15012 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
15013 echo $ECHO_N "(cached) $ECHO_C" >&6
15015 if test -n "$ac_ct_CXX"; then
15016 ac_cv_prog_ac_ct_CXX
="$ac_ct_CXX" # Let the user override the test.
15018 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15019 for as_dir
in $PATH
15022 test -z "$as_dir" && as_dir
=.
15023 for ac_exec_ext
in '' $ac_executable_extensions; do
15024 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
15025 ac_cv_prog_ac_ct_CXX
="$ac_prog"
15026 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15035 ac_ct_CXX
=$ac_cv_prog_ac_ct_CXX
15036 if test -n "$ac_ct_CXX"; then
15037 { echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
15038 echo "${ECHO_T}$ac_ct_CXX" >&6; }
15040 { echo "$as_me:$LINENO: result: no" >&5
15041 echo "${ECHO_T}no" >&6; }
15045 test -n "$ac_ct_CXX" && break
15048 if test "x$ac_ct_CXX" = x
; then
15051 case $cross_compiling:$ac_tool_warned in
15053 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
15054 whose name does not start with the host triplet. If you think this
15055 configuration is useful to you, please write to autoconf@gnu.org." >&5
15056 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
15057 whose name does not start with the host triplet. If you think this
15058 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
15059 ac_tool_warned
=yes ;;
15067 # Provide some information about the compiler.
15068 echo "$as_me:$LINENO: checking for C++ compiler version" >&5
15069 ac_compiler
=`set X $ac_compile; echo $2`
15070 { (ac_try
="$ac_compiler --version >&5"
15071 case "(($ac_try" in
15072 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
15073 *) ac_try_echo=$ac_try;;
15075 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15076 (eval "$ac_compiler --version >&5") 2>&5
15078 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15079 (exit $ac_status); }
15080 { (ac_try="$ac_compiler -v >&5"
15081 case "(($ac_try" in
15082 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
15083 *) ac_try_echo
=$ac_try;;
15085 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15086 (eval "$ac_compiler -v >&5") 2>&5
15088 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15089 (exit $ac_status); }
15090 { (ac_try
="$ac_compiler -V >&5"
15091 case "(($ac_try" in
15092 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
15093 *) ac_try_echo=$ac_try;;
15095 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15096 (eval "$ac_compiler -V >&5") 2>&5
15098 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15099 (exit $ac_status); }
15101 { echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
15102 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6; }
15103 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
15104 echo $ECHO_N "(cached) $ECHO_C" >&6
15106 cat >conftest.$ac_ext <<_ACEOF
15109 cat confdefs.h >>conftest.$ac_ext
15110 cat >>conftest.$ac_ext <<_ACEOF
15111 /* end confdefs.h. */
15124 rm -f conftest.$ac_objext
15125 if { (ac_try="$ac_compile"
15126 case "(($ac_try" in
15127 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
15128 *) ac_try_echo
=$ac_try;;
15130 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15131 (eval "$ac_compile") 2>conftest.er1
15133 grep -v '^ *+' conftest.er1
>conftest.err
15135 cat conftest.err
>&5
15136 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15137 (exit $ac_status); } && {
15138 test -z "$ac_cxx_werror_flag" ||
15139 test ! -s conftest.err
15140 } && test -s conftest.
$ac_objext; then
15141 ac_compiler_gnu
=yes
15143 echo "$as_me: failed program was:" >&5
15144 sed 's/^/| /' conftest.
$ac_ext >&5
15149 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
15150 ac_cv_cxx_compiler_gnu
=$ac_compiler_gnu
15153 { echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
15154 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6; }
15155 GXX
=`test $ac_compiler_gnu = yes && echo yes`
15156 ac_test_CXXFLAGS
=${CXXFLAGS+set}
15157 ac_save_CXXFLAGS
=$CXXFLAGS
15158 { echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
15159 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6; }
15160 if test "${ac_cv_prog_cxx_g+set}" = set; then
15161 echo $ECHO_N "(cached) $ECHO_C" >&6
15163 ac_save_cxx_werror_flag
=$ac_cxx_werror_flag
15164 ac_cxx_werror_flag
=yes
15165 ac_cv_prog_cxx_g
=no
15167 cat >conftest.
$ac_ext <<_ACEOF
15170 cat confdefs.h
>>conftest.
$ac_ext
15171 cat >>conftest.
$ac_ext <<_ACEOF
15172 /* end confdefs.h. */
15182 rm -f conftest.
$ac_objext
15183 if { (ac_try
="$ac_compile"
15184 case "(($ac_try" in
15185 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
15186 *) ac_try_echo=$ac_try;;
15188 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15189 (eval "$ac_compile") 2>conftest.er1
15191 grep -v '^ *+' conftest.er1 >conftest.err
15193 cat conftest.err >&5
15194 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15195 (exit $ac_status); } && {
15196 test -z "$ac_cxx_werror_flag" ||
15197 test ! -s conftest.err
15198 } && test -s conftest.$ac_objext; then
15199 ac_cv_prog_cxx_g=yes
15201 echo "$as_me: failed program was:" >&5
15202 sed 's/^/| /' conftest.$ac_ext >&5
15205 cat >conftest.$ac_ext <<_ACEOF
15208 cat confdefs.h >>conftest.$ac_ext
15209 cat >>conftest.$ac_ext <<_ACEOF
15210 /* end confdefs.h. */
15220 rm -f conftest.$ac_objext
15221 if { (ac_try="$ac_compile"
15222 case "(($ac_try" in
15223 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
15224 *) ac_try_echo
=$ac_try;;
15226 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15227 (eval "$ac_compile") 2>conftest.er1
15229 grep -v '^ *+' conftest.er1
>conftest.err
15231 cat conftest.err
>&5
15232 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15233 (exit $ac_status); } && {
15234 test -z "$ac_cxx_werror_flag" ||
15235 test ! -s conftest.err
15236 } && test -s conftest.
$ac_objext; then
15239 echo "$as_me: failed program was:" >&5
15240 sed 's/^/| /' conftest.
$ac_ext >&5
15242 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
15244 cat >conftest.
$ac_ext <<_ACEOF
15247 cat confdefs.h
>>conftest.
$ac_ext
15248 cat >>conftest.
$ac_ext <<_ACEOF
15249 /* end confdefs.h. */
15259 rm -f conftest.
$ac_objext
15260 if { (ac_try
="$ac_compile"
15261 case "(($ac_try" in
15262 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
15263 *) ac_try_echo=$ac_try;;
15265 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15266 (eval "$ac_compile") 2>conftest.er1
15268 grep -v '^ *+' conftest.er1 >conftest.err
15270 cat conftest.err >&5
15271 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15272 (exit $ac_status); } && {
15273 test -z "$ac_cxx_werror_flag" ||
15274 test ! -s conftest.err
15275 } && test -s conftest.$ac_objext; then
15276 ac_cv_prog_cxx_g=yes
15278 echo "$as_me: failed program was:" >&5
15279 sed 's/^/| /' conftest.$ac_ext >&5
15284 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15287 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15290 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15291 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
15293 { echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
15294 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6; }
15295 if test "$ac_test_CXXFLAGS" = set; then
15296 CXXFLAGS=$ac_save_CXXFLAGS
15297 elif test $ac_cv_prog_cxx_g = yes; then
15298 if test "$GXX" = yes; then
15304 if test "$GXX" = yes; then
15311 ac_cpp='$CPP $CPPFLAGS'
15312 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15313 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15314 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15319 ac_cpp='$CXXCPP $CPPFLAGS'
15320 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15321 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15322 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15324 { echo "$as_me:$LINENO: checking whether we are using the Intel C++ compiler" >&5
15325 echo $ECHO_N "checking whether we are using the Intel C++ compiler... $ECHO_C" >&6; }
15326 if test "${bakefile_cv_cxx_compiler___INTEL_COMPILER+set}" = set; then
15327 echo $ECHO_N "(cached) $ECHO_C" >&6
15329 cat >conftest.$ac_ext <<_ACEOF
15332 cat confdefs.h >>conftest.$ac_ext
15333 cat >>conftest.$ac_ext <<_ACEOF
15334 /* end confdefs.h. */
15340 #ifndef __INTEL_COMPILER
15348 rm -f conftest.$ac_objext
15349 if { (ac_try="$ac_compile"
15350 case "(($ac_try" in
15351 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
15352 *) ac_try_echo
=$ac_try;;
15354 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15355 (eval "$ac_compile") 2>conftest.er1
15357 grep -v '^ *+' conftest.er1
>conftest.err
15359 cat conftest.err
>&5
15360 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15361 (exit $ac_status); } && {
15362 test -z "$ac_cxx_werror_flag" ||
15363 test ! -s conftest.err
15364 } && test -s conftest.
$ac_objext; then
15365 bakefile_cv_cxx_compiler___INTEL_COMPILER
=yes
15367 echo "$as_me: failed program was:" >&5
15368 sed 's/^/| /' conftest.
$ac_ext >&5
15370 bakefile_cv_cxx_compiler___INTEL_COMPILER
=no
15374 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
15378 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___INTEL_COMPILER" >&5
15379 echo "${ECHO_T}$bakefile_cv_cxx_compiler___INTEL_COMPILER" >&6; }
15381 ac_cpp
='$CPP $CPPFLAGS'
15382 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15383 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15384 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
15386 if test "x$bakefile_cv_c_compiler___INTEL_COMPILER" = "xyes"; then
15393 if test "x$GCXX" != "xyes"; then
15394 if test "xCXX" = "xC"; then
15395 { echo "$as_me:$LINENO: checking if the C compiler requires -ext o" >&5
15396 echo $ECHO_N "checking if the C compiler requires -ext o... $ECHO_C" >&6; }
15397 if test "${bakefile_cv_c_exto+set}" = set; then
15398 echo $ECHO_N "(cached) $ECHO_C" >&6
15400 cat >conftest.
$ac_ext <<_ACEOF
15403 cat confdefs.h
>>conftest.
$ac_ext
15404 cat >>conftest.
$ac_ext <<_ACEOF
15405 /* end confdefs.h. */
15415 rm -f conftest.
$ac_objext conftest.
$ac_ext.o
15416 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15417 (eval $ac_compile) 2>&5
15419 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15420 (exit $ac_status); }; then
15421 for ac_file
in `(ls conftest.* 2>/dev/null)`; do
15423 conftest.
$ac_ext.o
)
15424 bakefile_cv_c_exto
="-ext o"
15431 { { echo "$as_me:$LINENO: error: cannot figure out if compiler needs -ext o: cannot compile
15432 See \`config.log' for more details." >&5
15433 echo "$as_me: error: cannot figure out if compiler needs -ext o: cannot compile
15434 See \`config.log' for more details." >&2;}
15435 { (exit 1); exit 1; }; }
15439 rm -f conftest.
$ac_ext.o conftest.
$ac_objext conftest.
$ac_ext
15442 { echo "$as_me:$LINENO: result: $bakefile_cv_c_exto" >&5
15443 echo "${ECHO_T}$bakefile_cv_c_exto" >&6; }
15444 if test "x$bakefile_cv_c_exto" '!=' "x"; then
15445 if test "c" = "c"; then
15446 CFLAGS
="$bakefile_cv_c_exto $CFLAGS"
15448 if test "c" = "cxx"; then
15449 CXXFLAGS
="$bakefile_cv_c_exto $CXXFLAGS"
15453 if test "x$bakefile_cv_c_exto" '!=' "x"; then
15454 unset ac_cv_prog_cc_g
15455 ac_test_CFLAGS
=${CFLAGS+set}
15456 ac_save_CFLAGS
=$CFLAGS
15457 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
15458 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
15459 if test "${ac_cv_prog_cc_g+set}" = set; then
15460 echo $ECHO_N "(cached) $ECHO_C" >&6
15462 ac_save_c_werror_flag
=$ac_c_werror_flag
15463 ac_c_werror_flag
=yes
15466 cat >conftest.
$ac_ext <<_ACEOF
15469 cat confdefs.h
>>conftest.
$ac_ext
15470 cat >>conftest.
$ac_ext <<_ACEOF
15471 /* end confdefs.h. */
15481 rm -f conftest.
$ac_objext
15482 if { (ac_try
="$ac_compile"
15483 case "(($ac_try" in
15484 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
15485 *) ac_try_echo=$ac_try;;
15487 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15488 (eval "$ac_compile") 2>conftest.er1
15490 grep -v '^ *+' conftest.er1 >conftest.err
15492 cat conftest.err >&5
15493 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15494 (exit $ac_status); } && {
15495 test -z "$ac_c_werror_flag" ||
15496 test ! -s conftest.err
15497 } && test -s conftest.$ac_objext; then
15498 ac_cv_prog_cc_g=yes
15500 echo "$as_me: failed program was:" >&5
15501 sed 's/^/| /' conftest.$ac_ext >&5
15504 cat >conftest.$ac_ext <<_ACEOF
15507 cat confdefs.h >>conftest.$ac_ext
15508 cat >>conftest.$ac_ext <<_ACEOF
15509 /* end confdefs.h. */
15519 rm -f conftest.$ac_objext
15520 if { (ac_try="$ac_compile"
15521 case "(($ac_try" in
15522 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
15523 *) ac_try_echo
=$ac_try;;
15525 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15526 (eval "$ac_compile") 2>conftest.er1
15528 grep -v '^ *+' conftest.er1
>conftest.err
15530 cat conftest.err
>&5
15531 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15532 (exit $ac_status); } && {
15533 test -z "$ac_c_werror_flag" ||
15534 test ! -s conftest.err
15535 } && test -s conftest.
$ac_objext; then
15538 echo "$as_me: failed program was:" >&5
15539 sed 's/^/| /' conftest.
$ac_ext >&5
15541 ac_c_werror_flag
=$ac_save_c_werror_flag
15543 cat >conftest.
$ac_ext <<_ACEOF
15546 cat confdefs.h
>>conftest.
$ac_ext
15547 cat >>conftest.
$ac_ext <<_ACEOF
15548 /* end confdefs.h. */
15558 rm -f conftest.
$ac_objext
15559 if { (ac_try
="$ac_compile"
15560 case "(($ac_try" in
15561 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
15562 *) ac_try_echo=$ac_try;;
15564 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15565 (eval "$ac_compile") 2>conftest.er1
15567 grep -v '^ *+' conftest.er1 >conftest.err
15569 cat conftest.err >&5
15570 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15571 (exit $ac_status); } && {
15572 test -z "$ac_c_werror_flag" ||
15573 test ! -s conftest.err
15574 } && test -s conftest.$ac_objext; then
15575 ac_cv_prog_cc_g=yes
15577 echo "$as_me: failed program was:" >&5
15578 sed 's/^/| /' conftest.$ac_ext >&5
15583 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15586 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15589 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15590 ac_c_werror_flag=$ac_save_c_werror_flag
15592 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
15593 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
15594 if test "$ac_test_CFLAGS" = set; then
15595 CFLAGS=$ac_save_CFLAGS
15596 elif test $ac_cv_prog_cc_g = yes; then
15597 if test "$GCC" = yes; then
15603 if test "$GCC" = yes; then
15615 ac_cpp='$CXXCPP $CPPFLAGS'
15616 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15617 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15618 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15620 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C++ compiler" >&5
15621 echo $ECHO_N "checking whether we are using the IBM xlC C++ compiler... $ECHO_C" >&6; }
15622 if test "${bakefile_cv_cxx_compiler_xlc+set}" = set; then
15623 echo $ECHO_N "(cached) $ECHO_C" >&6
15625 cat >conftest.$ac_ext <<_ACEOF
15628 cat confdefs.h >>conftest.$ac_ext
15629 cat >>conftest.$ac_ext <<_ACEOF
15630 /* end confdefs.h. */
15643 rm -f conftest.$ac_objext
15644 if { (ac_try="$ac_compile"
15645 case "(($ac_try" in
15646 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
15647 *) ac_try_echo
=$ac_try;;
15649 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15650 (eval "$ac_compile") 2>conftest.er1
15652 grep -v '^ *+' conftest.er1
>conftest.err
15654 cat conftest.err
>&5
15655 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15656 (exit $ac_status); } && {
15657 test -z "$ac_cxx_werror_flag" ||
15658 test ! -s conftest.err
15659 } && test -s conftest.
$ac_objext; then
15660 bakefile_compiler_xlc
=yes
15662 echo "$as_me: failed program was:" >&5
15663 sed 's/^/| /' conftest.
$ac_ext >&5
15665 bakefile_compiler_xlc
=no
15668 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
15669 bakefile_cv_cxx_compiler_xlc
=$bakefile_compiler_xlc
15672 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler_xlc" >&5
15673 echo "${ECHO_T}$bakefile_cv_cxx_compiler_xlc" >&6; }
15675 XLCXX
=`test $bakefile_cv_cxx_compiler_xlc = yes && echo yes`
15677 ac_cpp
='$CPP $CPPFLAGS'
15678 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15679 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15680 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
15687 ac_cpp
='$CXXCPP $CPPFLAGS'
15688 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15689 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15690 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
15692 { echo "$as_me:$LINENO: checking whether we are using the Metrowerks C++ compiler" >&5
15693 echo $ECHO_N "checking whether we are using the Metrowerks C++ compiler... $ECHO_C" >&6; }
15694 if test "${bakefile_cv_cxx_compiler_mwerks+set}" = set; then
15695 echo $ECHO_N "(cached) $ECHO_C" >&6
15697 cat >conftest.
$ac_ext <<_ACEOF
15700 cat confdefs.h
>>conftest.
$ac_ext
15701 cat >>conftest.
$ac_ext <<_ACEOF
15702 /* end confdefs.h. */
15715 rm -f conftest.
$ac_objext
15716 if { (ac_try
="$ac_compile"
15717 case "(($ac_try" in
15718 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
15719 *) ac_try_echo=$ac_try;;
15721 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15722 (eval "$ac_compile") 2>conftest.er1
15724 grep -v '^ *+' conftest.er1 >conftest.err
15726 cat conftest.err >&5
15727 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15728 (exit $ac_status); } && {
15729 test -z "$ac_cxx_werror_flag" ||
15730 test ! -s conftest.err
15731 } && test -s conftest.$ac_objext; then
15732 bakefile_compiler_mwerks=yes
15734 echo "$as_me: failed program was:" >&5
15735 sed 's/^/| /' conftest.$ac_ext >&5
15737 bakefile_compiler_mwerks=no
15740 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15741 bakefile_cv_cxx_compiler_mwerks=$bakefile_compiler_mwerks
15744 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler_mwerks" >&5
15745 echo "${ECHO_T}$bakefile_cv_cxx_compiler_mwerks" >&6; }
15747 MWCXX=`test $bakefile_cv_cxx_compiler_mwerks = yes && echo yes`
15749 ac_cpp='$CPP $CPPFLAGS'
15750 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15751 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15752 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15756 ac_cpp='$CXXCPP $CPPFLAGS'
15757 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15758 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15759 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15761 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C++ compiler" >&5
15762 echo $ECHO_N "checking whether we are using the IBM xlC C++ compiler... $ECHO_C" >&6; }
15763 if test "${bakefile_cv_cxx_compiler_xlc+set}" = set; then
15764 echo $ECHO_N "(cached) $ECHO_C" >&6
15766 cat >conftest.$ac_ext <<_ACEOF
15769 cat confdefs.h >>conftest.$ac_ext
15770 cat >>conftest.$ac_ext <<_ACEOF
15771 /* end confdefs.h. */
15784 rm -f conftest.$ac_objext
15785 if { (ac_try="$ac_compile"
15786 case "(($ac_try" in
15787 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
15788 *) ac_try_echo
=$ac_try;;
15790 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15791 (eval "$ac_compile") 2>conftest.er1
15793 grep -v '^ *+' conftest.er1
>conftest.err
15795 cat conftest.err
>&5
15796 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15797 (exit $ac_status); } && {
15798 test -z "$ac_cxx_werror_flag" ||
15799 test ! -s conftest.err
15800 } && test -s conftest.
$ac_objext; then
15801 bakefile_compiler_xlc
=yes
15803 echo "$as_me: failed program was:" >&5
15804 sed 's/^/| /' conftest.
$ac_ext >&5
15806 bakefile_compiler_xlc
=no
15809 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
15810 bakefile_cv_cxx_compiler_xlc
=$bakefile_compiler_xlc
15813 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler_xlc" >&5
15814 echo "${ECHO_T}$bakefile_cv_cxx_compiler_xlc" >&6; }
15816 XLCXX
=`test $bakefile_cv_cxx_compiler_xlc = yes && echo yes`
15818 ac_cpp
='$CPP $CPPFLAGS'
15819 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15820 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15821 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
15830 ac_cpp
='$CXXCPP $CPPFLAGS'
15831 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15832 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15833 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
15835 { echo "$as_me:$LINENO: checking whether we are using the SGI C++ compiler" >&5
15836 echo $ECHO_N "checking whether we are using the SGI C++ compiler... $ECHO_C" >&6; }
15837 if test "${bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION+set}" = set; then
15838 echo $ECHO_N "(cached) $ECHO_C" >&6
15840 cat >conftest.
$ac_ext <<_ACEOF
15843 cat confdefs.h
>>conftest.
$ac_ext
15844 cat >>conftest.
$ac_ext <<_ACEOF
15845 /* end confdefs.h. */
15851 #ifndef _SGI_COMPILER_VERSION
15859 rm -f conftest.
$ac_objext
15860 if { (ac_try
="$ac_compile"
15861 case "(($ac_try" in
15862 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
15863 *) ac_try_echo=$ac_try;;
15865 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15866 (eval "$ac_compile") 2>conftest.er1
15868 grep -v '^ *+' conftest.er1 >conftest.err
15870 cat conftest.err >&5
15871 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15872 (exit $ac_status); } && {
15873 test -z "$ac_cxx_werror_flag" ||
15874 test ! -s conftest.err
15875 } && test -s conftest.$ac_objext; then
15876 bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION=yes
15878 echo "$as_me: failed program was:" >&5
15879 sed 's/^/| /' conftest.$ac_ext >&5
15881 bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION=no
15885 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15889 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" >&5
15890 echo "${ECHO_T}$bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" >&6; }
15892 ac_cpp='$CPP $CPPFLAGS'
15893 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15894 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15895 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15897 if test "x$bakefile_cv_c_compiler__SGI_COMPILER_VERSION" = "xyes"; then
15910 ac_cpp='$CXXCPP $CPPFLAGS'
15911 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15912 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15913 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15915 { echo "$as_me:$LINENO: checking whether we are using the HP C++ compiler" >&5
15916 echo $ECHO_N "checking whether we are using the HP C++ compiler... $ECHO_C" >&6; }
15917 if test "${bakefile_cv_cxx_compiler___HP_aCC+set}" = set; then
15918 echo $ECHO_N "(cached) $ECHO_C" >&6
15920 cat >conftest.$ac_ext <<_ACEOF
15923 cat confdefs.h >>conftest.$ac_ext
15924 cat >>conftest.$ac_ext <<_ACEOF
15925 /* end confdefs.h. */
15939 rm -f conftest.$ac_objext
15940 if { (ac_try="$ac_compile"
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_compile") 2>conftest.er1
15948 grep -v '^ *+' conftest.er1
>conftest.err
15950 cat conftest.err
>&5
15951 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15952 (exit $ac_status); } && {
15953 test -z "$ac_cxx_werror_flag" ||
15954 test ! -s conftest.err
15955 } && test -s conftest.
$ac_objext; then
15956 bakefile_cv_cxx_compiler___HP_aCC
=yes
15958 echo "$as_me: failed program was:" >&5
15959 sed 's/^/| /' conftest.
$ac_ext >&5
15961 bakefile_cv_cxx_compiler___HP_aCC
=no
15965 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
15969 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___HP_aCC" >&5
15970 echo "${ECHO_T}$bakefile_cv_cxx_compiler___HP_aCC" >&6; }
15972 ac_cpp
='$CPP $CPPFLAGS'
15973 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15974 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15975 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
15977 if test "x$bakefile_cv_c_compiler___HP_aCC" = "xyes"; then
15990 ac_cpp
='$CXXCPP $CPPFLAGS'
15991 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15992 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15993 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
15995 { echo "$as_me:$LINENO: checking whether we are using the Compaq C++ compiler" >&5
15996 echo $ECHO_N "checking whether we are using the Compaq C++ compiler... $ECHO_C" >&6; }
15997 if test "${bakefile_cv_cxx_compiler___DECCXX+set}" = set; then
15998 echo $ECHO_N "(cached) $ECHO_C" >&6
16000 cat >conftest.
$ac_ext <<_ACEOF
16003 cat confdefs.h
>>conftest.
$ac_ext
16004 cat >>conftest.
$ac_ext <<_ACEOF
16005 /* end confdefs.h. */
16019 rm -f conftest.
$ac_objext
16020 if { (ac_try
="$ac_compile"
16021 case "(($ac_try" in
16022 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
16023 *) ac_try_echo=$ac_try;;
16025 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16026 (eval "$ac_compile") 2>conftest.er1
16028 grep -v '^ *+' conftest.er1 >conftest.err
16030 cat conftest.err >&5
16031 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16032 (exit $ac_status); } && {
16033 test -z "$ac_cxx_werror_flag" ||
16034 test ! -s conftest.err
16035 } && test -s conftest.$ac_objext; then
16036 bakefile_cv_cxx_compiler___DECCXX=yes
16038 echo "$as_me: failed program was:" >&5
16039 sed 's/^/| /' conftest.$ac_ext >&5
16041 bakefile_cv_cxx_compiler___DECCXX=no
16045 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16049 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___DECCXX" >&5
16050 echo "${ECHO_T}$bakefile_cv_cxx_compiler___DECCXX" >&6; }
16052 ac_cpp='$CPP $CPPFLAGS'
16053 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16054 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16055 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16057 if test "x$bakefile_cv_c_compiler___DECCXX" = "xyes"; then
16070 ac_cpp='$CXXCPP $CPPFLAGS'
16071 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16072 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16073 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16075 { echo "$as_me:$LINENO: checking whether we are using the Sun C++ compiler" >&5
16076 echo $ECHO_N "checking whether we are using the Sun C++ compiler... $ECHO_C" >&6; }
16077 if test "${bakefile_cv_cxx_compiler___SUNPRO_CC+set}" = set; then
16078 echo $ECHO_N "(cached) $ECHO_C" >&6
16080 cat >conftest.$ac_ext <<_ACEOF
16083 cat confdefs.h >>conftest.$ac_ext
16084 cat >>conftest.$ac_ext <<_ACEOF
16085 /* end confdefs.h. */
16091 #ifndef __SUNPRO_CC
16099 rm -f conftest.$ac_objext
16100 if { (ac_try="$ac_compile"
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_compile") 2>conftest.er1
16108 grep -v '^ *+' conftest.er1
>conftest.err
16110 cat conftest.err
>&5
16111 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16112 (exit $ac_status); } && {
16113 test -z "$ac_cxx_werror_flag" ||
16114 test ! -s conftest.err
16115 } && test -s conftest.
$ac_objext; then
16116 bakefile_cv_cxx_compiler___SUNPRO_CC
=yes
16118 echo "$as_me: failed program was:" >&5
16119 sed 's/^/| /' conftest.
$ac_ext >&5
16121 bakefile_cv_cxx_compiler___SUNPRO_CC
=no
16125 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
16129 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___SUNPRO_CC" >&5
16130 echo "${ECHO_T}$bakefile_cv_cxx_compiler___SUNPRO_CC" >&6; }
16132 ac_cpp
='$CPP $CPPFLAGS'
16133 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16134 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16135 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
16137 if test "x$bakefile_cv_c_compiler___SUNPRO_CC" = "xyes"; then
16150 if test -n "$ac_tool_prefix"; then
16151 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
16152 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
16153 { echo "$as_me:$LINENO: checking for $ac_word" >&5
16154 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16155 if test "${ac_cv_prog_RANLIB+set}" = set; then
16156 echo $ECHO_N "(cached) $ECHO_C" >&6
16158 if test -n "$RANLIB"; then
16159 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
16161 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16162 for as_dir
in $PATH
16165 test -z "$as_dir" && as_dir
=.
16166 for ac_exec_ext
in '' $ac_executable_extensions; do
16167 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16168 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
16169 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16178 RANLIB
=$ac_cv_prog_RANLIB
16179 if test -n "$RANLIB"; then
16180 { echo "$as_me:$LINENO: result: $RANLIB" >&5
16181 echo "${ECHO_T}$RANLIB" >&6; }
16183 { echo "$as_me:$LINENO: result: no" >&5
16184 echo "${ECHO_T}no" >&6; }
16189 if test -z "$ac_cv_prog_RANLIB"; then
16190 ac_ct_RANLIB
=$RANLIB
16191 # Extract the first word of "ranlib", so it can be a program name with args.
16192 set dummy ranlib
; ac_word
=$2
16193 { echo "$as_me:$LINENO: checking for $ac_word" >&5
16194 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16195 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
16196 echo $ECHO_N "(cached) $ECHO_C" >&6
16198 if test -n "$ac_ct_RANLIB"; then
16199 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
16201 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16202 for as_dir
in $PATH
16205 test -z "$as_dir" && as_dir
=.
16206 for ac_exec_ext
in '' $ac_executable_extensions; do
16207 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16208 ac_cv_prog_ac_ct_RANLIB
="ranlib"
16209 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16218 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
16219 if test -n "$ac_ct_RANLIB"; then
16220 { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
16221 echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
16223 { echo "$as_me:$LINENO: result: no" >&5
16224 echo "${ECHO_T}no" >&6; }
16227 if test "x$ac_ct_RANLIB" = x
; then
16230 case $cross_compiling:$ac_tool_warned in
16232 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
16233 whose name does not start with the host triplet. If you think this
16234 configuration is useful to you, please write to autoconf@gnu.org." >&5
16235 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
16236 whose name does not start with the host triplet. If you think this
16237 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
16238 ac_tool_warned
=yes ;;
16240 RANLIB
=$ac_ct_RANLIB
16243 RANLIB
="$ac_cv_prog_RANLIB"
16247 if test "x$SUNCXX" != xyes
; then
16248 if test -n "$ac_tool_prefix"; then
16249 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
16250 set dummy
${ac_tool_prefix}ar; ac_word
=$2
16251 { echo "$as_me:$LINENO: checking for $ac_word" >&5
16252 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16253 if test "${ac_cv_prog_AR+set}" = set; then
16254 echo $ECHO_N "(cached) $ECHO_C" >&6
16256 if test -n "$AR"; then
16257 ac_cv_prog_AR
="$AR" # Let the user override the test.
16259 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16260 for as_dir
in $PATH
16263 test -z "$as_dir" && as_dir
=.
16264 for ac_exec_ext
in '' $ac_executable_extensions; do
16265 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16266 ac_cv_prog_AR
="${ac_tool_prefix}ar"
16267 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16277 if test -n "$AR"; then
16278 { echo "$as_me:$LINENO: result: $AR" >&5
16279 echo "${ECHO_T}$AR" >&6; }
16281 { echo "$as_me:$LINENO: result: no" >&5
16282 echo "${ECHO_T}no" >&6; }
16287 if test -z "$ac_cv_prog_AR"; then
16289 # Extract the first word of "ar", so it can be a program name with args.
16290 set dummy
ar; ac_word
=$2
16291 { echo "$as_me:$LINENO: checking for $ac_word" >&5
16292 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16293 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
16294 echo $ECHO_N "(cached) $ECHO_C" >&6
16296 if test -n "$ac_ct_AR"; then
16297 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
16299 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16300 for as_dir
in $PATH
16303 test -z "$as_dir" && as_dir
=.
16304 for ac_exec_ext
in '' $ac_executable_extensions; do
16305 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16306 ac_cv_prog_ac_ct_AR
="ar"
16307 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16316 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
16317 if test -n "$ac_ct_AR"; then
16318 { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
16319 echo "${ECHO_T}$ac_ct_AR" >&6; }
16321 { echo "$as_me:$LINENO: result: no" >&5
16322 echo "${ECHO_T}no" >&6; }
16325 if test "x$ac_ct_AR" = x
; then
16328 case $cross_compiling:$ac_tool_warned in
16330 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
16331 whose name does not start with the host triplet. If you think this
16332 configuration is useful to you, please write to autoconf@gnu.org." >&5
16333 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
16334 whose name does not start with the host triplet. If you think this
16335 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
16336 ac_tool_warned
=yes ;;
16341 AR
="$ac_cv_prog_AR"
16344 if test "x$AR" = "x" ; then
16345 { { echo "$as_me:$LINENO: error: ar is needed to build wxWidgets" >&5
16346 echo "$as_me: error: ar is needed to build wxWidgets" >&2;}
16347 { (exit 1); exit 1; }; }
16351 # Find a good install program. We prefer a C program (faster),
16352 # so one script is as good as another. But avoid the broken or
16353 # incompatible versions:
16354 # SysV /etc/install, /usr/sbin/install
16355 # SunOS /usr/etc/install
16356 # IRIX /sbin/install
16358 # AmigaOS /C/install, which installs bootblocks on floppy discs
16359 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
16360 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
16361 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
16362 # OS/2's system install, which has a completely different semantic
16363 # ./install, which can be erroneously created by make from ./install.sh.
16364 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
16365 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
16366 if test -z "$INSTALL"; then
16367 if test "${ac_cv_path_install+set}" = set; then
16368 echo $ECHO_N "(cached) $ECHO_C" >&6
16370 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16371 for as_dir
in $PATH
16374 test -z "$as_dir" && as_dir
=.
16375 # Account for people who put trailing slashes in PATH elements.
16377 .
/ | .
// | /cC
/* | \
16378 /etc
/* | /usr
/sbin
/* | /usr
/etc
/* | /sbin
/* | /usr
/afsws
/bin
/* | \
16379 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
16382 # OSF1 and SCO ODT 3.0 have their own names for install.
16383 # Don't use installbsd from OSF since it installs stuff as root
16385 for ac_prog
in ginstall scoinst
install; do
16386 for ac_exec_ext
in '' $ac_executable_extensions; do
16387 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
16388 if test $ac_prog = install &&
16389 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
16390 # AIX install. It has an incompatible calling convention.
16392 elif test $ac_prog = install &&
16393 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
16394 # program-specific install script used by HP pwplus--don't use.
16397 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
16410 if test "${ac_cv_path_install+set}" = set; then
16411 INSTALL
=$ac_cv_path_install
16413 # As a last resort, use the slow shell script. Don't cache a
16414 # value for INSTALL within a source directory, because that will
16415 # break other packages using the cache if that directory is
16416 # removed, or if the value is a relative name.
16417 INSTALL
=$ac_install_sh
16420 { echo "$as_me:$LINENO: result: $INSTALL" >&5
16421 echo "${ECHO_T}$INSTALL" >&6; }
16423 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
16424 # It thinks the first close brace ends the variable substitution.
16425 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
16427 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
16429 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
16435 ?
:* ) # Drive letter, considered as absolute.
16438 INSTALL
=`pwd`/${INSTALL} ;;
16445 INSTALL_PROGRAM
="cp -fp"
16446 INSTALL_DATA
="cp -fp"
16452 if test -n "$ac_tool_prefix"; then
16453 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
16454 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
16455 { echo "$as_me:$LINENO: checking for $ac_word" >&5
16456 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16457 if test "${ac_cv_prog_STRIP+set}" = set; then
16458 echo $ECHO_N "(cached) $ECHO_C" >&6
16460 if test -n "$STRIP"; then
16461 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
16463 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16464 for as_dir
in $PATH
16467 test -z "$as_dir" && as_dir
=.
16468 for ac_exec_ext
in '' $ac_executable_extensions; do
16469 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16470 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
16471 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16480 STRIP
=$ac_cv_prog_STRIP
16481 if test -n "$STRIP"; then
16482 { echo "$as_me:$LINENO: result: $STRIP" >&5
16483 echo "${ECHO_T}$STRIP" >&6; }
16485 { echo "$as_me:$LINENO: result: no" >&5
16486 echo "${ECHO_T}no" >&6; }
16491 if test -z "$ac_cv_prog_STRIP"; then
16493 # Extract the first word of "strip", so it can be a program name with args.
16494 set dummy strip
; ac_word
=$2
16495 { echo "$as_me:$LINENO: checking for $ac_word" >&5
16496 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16497 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
16498 echo $ECHO_N "(cached) $ECHO_C" >&6
16500 if test -n "$ac_ct_STRIP"; then
16501 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
16503 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16504 for as_dir
in $PATH
16507 test -z "$as_dir" && as_dir
=.
16508 for ac_exec_ext
in '' $ac_executable_extensions; do
16509 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16510 ac_cv_prog_ac_ct_STRIP
="strip"
16511 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16520 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
16521 if test -n "$ac_ct_STRIP"; then
16522 { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
16523 echo "${ECHO_T}$ac_ct_STRIP" >&6; }
16525 { echo "$as_me:$LINENO: result: no" >&5
16526 echo "${ECHO_T}no" >&6; }
16529 if test "x$ac_ct_STRIP" = x
; then
16532 case $cross_compiling:$ac_tool_warned in
16534 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
16535 whose name does not start with the host triplet. If you think this
16536 configuration is useful to you, please write to autoconf@gnu.org." >&5
16537 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
16538 whose name does not start with the host triplet. If you think this
16539 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
16540 ac_tool_warned
=yes ;;
16545 STRIP
="$ac_cv_prog_STRIP"
16549 if test "$wxUSE_WINE" = "yes"; then
16550 if test -n "$ac_tool_prefix"; then
16551 # Extract the first word of "${ac_tool_prefix}wrc", so it can be a program name with args.
16552 set dummy
${ac_tool_prefix}wrc
; ac_word
=$2
16553 { echo "$as_me:$LINENO: checking for $ac_word" >&5
16554 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16555 if test "${ac_cv_prog_WINDRES+set}" = set; then
16556 echo $ECHO_N "(cached) $ECHO_C" >&6
16558 if test -n "$WINDRES"; then
16559 ac_cv_prog_WINDRES
="$WINDRES" # Let the user override the test.
16561 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16562 for as_dir
in $PATH
16565 test -z "$as_dir" && as_dir
=.
16566 for ac_exec_ext
in '' $ac_executable_extensions; do
16567 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16568 ac_cv_prog_WINDRES
="${ac_tool_prefix}wrc"
16569 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16578 WINDRES
=$ac_cv_prog_WINDRES
16579 if test -n "$WINDRES"; then
16580 { echo "$as_me:$LINENO: result: $WINDRES" >&5
16581 echo "${ECHO_T}$WINDRES" >&6; }
16583 { echo "$as_me:$LINENO: result: no" >&5
16584 echo "${ECHO_T}no" >&6; }
16589 if test -z "$ac_cv_prog_WINDRES"; then
16590 ac_ct_WINDRES
=$WINDRES
16591 # Extract the first word of "wrc", so it can be a program name with args.
16592 set dummy wrc
; ac_word
=$2
16593 { echo "$as_me:$LINENO: checking for $ac_word" >&5
16594 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16595 if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then
16596 echo $ECHO_N "(cached) $ECHO_C" >&6
16598 if test -n "$ac_ct_WINDRES"; then
16599 ac_cv_prog_ac_ct_WINDRES
="$ac_ct_WINDRES" # Let the user override the test.
16601 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16602 for as_dir
in $PATH
16605 test -z "$as_dir" && as_dir
=.
16606 for ac_exec_ext
in '' $ac_executable_extensions; do
16607 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16608 ac_cv_prog_ac_ct_WINDRES
="wrc"
16609 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16618 ac_ct_WINDRES
=$ac_cv_prog_ac_ct_WINDRES
16619 if test -n "$ac_ct_WINDRES"; then
16620 { echo "$as_me:$LINENO: result: $ac_ct_WINDRES" >&5
16621 echo "${ECHO_T}$ac_ct_WINDRES" >&6; }
16623 { echo "$as_me:$LINENO: result: no" >&5
16624 echo "${ECHO_T}no" >&6; }
16627 if test "x$ac_ct_WINDRES" = x
; then
16630 case $cross_compiling:$ac_tool_warned in
16632 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
16633 whose name does not start with the host triplet. If you think this
16634 configuration is useful to you, please write to autoconf@gnu.org." >&5
16635 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
16636 whose name does not start with the host triplet. If you think this
16637 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
16638 ac_tool_warned
=yes ;;
16640 WINDRES
=$ac_ct_WINDRES
16643 WINDRES
="$ac_cv_prog_WINDRES"
16649 *-*-cygwin* | *-*-mingw32* )
16650 if test -n "$ac_tool_prefix"; then
16651 # Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args.
16652 set dummy
${ac_tool_prefix}windres
; ac_word
=$2
16653 { echo "$as_me:$LINENO: checking for $ac_word" >&5
16654 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16655 if test "${ac_cv_prog_WINDRES+set}" = set; then
16656 echo $ECHO_N "(cached) $ECHO_C" >&6
16658 if test -n "$WINDRES"; then
16659 ac_cv_prog_WINDRES
="$WINDRES" # Let the user override the test.
16661 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16662 for as_dir
in $PATH
16665 test -z "$as_dir" && as_dir
=.
16666 for ac_exec_ext
in '' $ac_executable_extensions; do
16667 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16668 ac_cv_prog_WINDRES
="${ac_tool_prefix}windres"
16669 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16678 WINDRES
=$ac_cv_prog_WINDRES
16679 if test -n "$WINDRES"; then
16680 { echo "$as_me:$LINENO: result: $WINDRES" >&5
16681 echo "${ECHO_T}$WINDRES" >&6; }
16683 { echo "$as_me:$LINENO: result: no" >&5
16684 echo "${ECHO_T}no" >&6; }
16689 if test -z "$ac_cv_prog_WINDRES"; then
16690 ac_ct_WINDRES
=$WINDRES
16691 # Extract the first word of "windres", so it can be a program name with args.
16692 set dummy windres
; ac_word
=$2
16693 { echo "$as_me:$LINENO: checking for $ac_word" >&5
16694 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16695 if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then
16696 echo $ECHO_N "(cached) $ECHO_C" >&6
16698 if test -n "$ac_ct_WINDRES"; then
16699 ac_cv_prog_ac_ct_WINDRES
="$ac_ct_WINDRES" # Let the user override the test.
16701 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16702 for as_dir
in $PATH
16705 test -z "$as_dir" && as_dir
=.
16706 for ac_exec_ext
in '' $ac_executable_extensions; do
16707 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16708 ac_cv_prog_ac_ct_WINDRES
="windres"
16709 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16718 ac_ct_WINDRES
=$ac_cv_prog_ac_ct_WINDRES
16719 if test -n "$ac_ct_WINDRES"; then
16720 { echo "$as_me:$LINENO: result: $ac_ct_WINDRES" >&5
16721 echo "${ECHO_T}$ac_ct_WINDRES" >&6; }
16723 { echo "$as_me:$LINENO: result: no" >&5
16724 echo "${ECHO_T}no" >&6; }
16727 if test "x$ac_ct_WINDRES" = x
; then
16730 case $cross_compiling:$ac_tool_warned in
16732 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
16733 whose name does not start with the host triplet. If you think this
16734 configuration is useful to you, please write to autoconf@gnu.org." >&5
16735 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
16736 whose name does not start with the host triplet. If you think this
16737 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
16738 ac_tool_warned
=yes ;;
16740 WINDRES
=$ac_ct_WINDRES
16743 WINDRES
="$ac_cv_prog_WINDRES"
16747 if test -n "$ac_tool_prefix"; then
16748 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
16749 set dummy
${ac_tool_prefix}dlltool
; ac_word
=$2
16750 { echo "$as_me:$LINENO: checking for $ac_word" >&5
16751 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16752 if test "${ac_cv_prog_DLLTOOL+set}" = set; then
16753 echo $ECHO_N "(cached) $ECHO_C" >&6
16755 if test -n "$DLLTOOL"; then
16756 ac_cv_prog_DLLTOOL
="$DLLTOOL" # Let the user override the test.
16758 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16759 for as_dir
in $PATH
16762 test -z "$as_dir" && as_dir
=.
16763 for ac_exec_ext
in '' $ac_executable_extensions; do
16764 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16765 ac_cv_prog_DLLTOOL
="${ac_tool_prefix}dlltool"
16766 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16775 DLLTOOL
=$ac_cv_prog_DLLTOOL
16776 if test -n "$DLLTOOL"; then
16777 { echo "$as_me:$LINENO: result: $DLLTOOL" >&5
16778 echo "${ECHO_T}$DLLTOOL" >&6; }
16780 { echo "$as_me:$LINENO: result: no" >&5
16781 echo "${ECHO_T}no" >&6; }
16786 if test -z "$ac_cv_prog_DLLTOOL"; then
16787 ac_ct_DLLTOOL
=$DLLTOOL
16788 # Extract the first word of "dlltool", so it can be a program name with args.
16789 set dummy dlltool
; ac_word
=$2
16790 { echo "$as_me:$LINENO: checking for $ac_word" >&5
16791 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16792 if test "${ac_cv_prog_ac_ct_DLLTOOL+set}" = set; then
16793 echo $ECHO_N "(cached) $ECHO_C" >&6
16795 if test -n "$ac_ct_DLLTOOL"; then
16796 ac_cv_prog_ac_ct_DLLTOOL
="$ac_ct_DLLTOOL" # Let the user override the test.
16798 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16799 for as_dir
in $PATH
16802 test -z "$as_dir" && as_dir
=.
16803 for ac_exec_ext
in '' $ac_executable_extensions; do
16804 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16805 ac_cv_prog_ac_ct_DLLTOOL
="dlltool"
16806 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16815 ac_ct_DLLTOOL
=$ac_cv_prog_ac_ct_DLLTOOL
16816 if test -n "$ac_ct_DLLTOOL"; then
16817 { echo "$as_me:$LINENO: result: $ac_ct_DLLTOOL" >&5
16818 echo "${ECHO_T}$ac_ct_DLLTOOL" >&6; }
16820 { echo "$as_me:$LINENO: result: no" >&5
16821 echo "${ECHO_T}no" >&6; }
16824 if test "x$ac_ct_DLLTOOL" = x
; then
16827 case $cross_compiling:$ac_tool_warned in
16829 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
16830 whose name does not start with the host triplet. If you think this
16831 configuration is useful to you, please write to autoconf@gnu.org." >&5
16832 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
16833 whose name does not start with the host triplet. If you think this
16834 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
16835 ac_tool_warned
=yes ;;
16837 DLLTOOL
=$ac_ct_DLLTOOL
16840 DLLTOOL
="$ac_cv_prog_DLLTOOL"
16847 { echo "$as_me:$LINENO: checking if make is GNU make" >&5
16848 echo $ECHO_N "checking if make is GNU make... $ECHO_C" >&6; }
16849 if test "${wx_cv_prog_makeisgnu+set}" = set; then
16850 echo $ECHO_N "(cached) $ECHO_C" >&6
16853 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev
/null
|
16854 $EGREP -s GNU
> /dev
/null
); then
16855 wx_cv_prog_makeisgnu
="yes"
16857 wx_cv_prog_makeisgnu
="no"
16861 { echo "$as_me:$LINENO: result: $wx_cv_prog_makeisgnu" >&5
16862 echo "${ECHO_T}$wx_cv_prog_makeisgnu" >&6; }
16864 if test "x$wx_cv_prog_makeisgnu" = "xyes"; then
16872 if test "x$wx_cv_prog_makeisgnu" != "xyes"; then
16873 { echo "$as_me:$LINENO: checking if make supports VPATH" >&5
16874 echo $ECHO_N "checking if make supports VPATH... $ECHO_C" >&6; }
16875 if test "${wx_cv_prog_makevpath+set}" = set; then
16876 echo $ECHO_N "(cached) $ECHO_C" >&6
16879 cat - << EOF > confMake
16885 if test ! -d sub
; then
16888 echo dummy
> sub
/file
16889 ${MAKE-make} -f confMake VPATH
=sub
2>&5 > /dev
/null
16891 rm -f sub
/file check final_file confMake
16893 if test "$RESULT" = 0; then
16894 wx_cv_prog_makevpath
="yes"
16896 wx_cv_prog_makevpath
="no"
16900 { echo "$as_me:$LINENO: result: $wx_cv_prog_makevpath" >&5
16901 echo "${ECHO_T}$wx_cv_prog_makevpath" >&6; }
16903 if test "x$wx_cv_prog_makevpath" != "xyes"; then
16904 { { echo "$as_me:$LINENO: error:
16905 You need a make-utility that is able to use the variable
16907 If your version of make does not support VPATH correctly,
16908 please install GNU-make (possibly as gmake), and start
16909 configure with the following command:
16910 export MAKE=gmake; ./configure for sh-type shells
16911 setenv MAKE gmake; ./configure for csh-type shells
16912 Also please do remember to use gmake in this case every time
16913 you are trying to compile.
16915 echo "$as_me: error:
16916 You need a make-utility that is able to use the variable
16918 If your version of make does not support VPATH correctly,
16919 please install GNU-make (possibly as gmake), and start
16920 configure with the following command:
16921 export MAKE=gmake; ./configure for sh-type shells
16922 setenv MAKE gmake; ./configure for csh-type shells
16923 Also please do remember to use gmake in this case every time
16924 you are trying to compile.
16926 { (exit 1); exit 1; }; }
16928 { echo "$as_me:$LINENO: checking whether ln -s works" >&5
16929 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; }
16931 if test "$LN_S" = "ln -s"; then
16932 { echo "$as_me:$LINENO: result: yes" >&5
16933 echo "${ECHO_T}yes" >&6; }
16935 { echo "$as_me:$LINENO: result: no, using $LN_S" >&5
16936 echo "${ECHO_T}no, using $LN_S" >&6; }
16942 if test "x$XLCXX" = "xyes" -a "x$USE_AIX" = "x1"; then
16943 CXXFLAGS
="-qunique $CXXFLAGS"
16947 powerpc
-*-darwin* )
16948 { echo "$as_me:$LINENO: checking if __POWERPC__ is already defined" >&5
16949 echo $ECHO_N "checking if __POWERPC__ is already defined... $ECHO_C" >&6; }
16950 cat >conftest.
$ac_ext <<_ACEOF
16953 cat confdefs.h
>>conftest.
$ac_ext
16954 cat >>conftest.
$ac_ext <<_ACEOF
16955 /* end confdefs.h. */
16960 #ifndef __POWERPC__
16961 choke me for lack of PowerPC
16968 rm -f conftest.
$ac_objext
16969 if { (ac_try
="$ac_compile"
16970 case "(($ac_try" in
16971 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
16972 *) ac_try_echo=$ac_try;;
16974 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16975 (eval "$ac_compile") 2>conftest.er1
16977 grep -v '^ *+' conftest.er1 >conftest.err
16979 cat conftest.err >&5
16980 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16981 (exit $ac_status); } && {
16982 test -z "$ac_c_werror_flag" ||
16983 test ! -s conftest.err
16984 } && test -s conftest.$ac_objext; then
16985 { echo "$as_me:$LINENO: result: yes" >&5
16986 echo "${ECHO_T}yes" >&6; }
16988 echo "$as_me: failed program was:" >&5
16989 sed 's/^/| /' conftest.$ac_ext >&5
16991 { echo "$as_me:$LINENO: result: no" >&5
16992 echo "${ECHO_T}no" >&6; }
16993 cat >>confdefs.h <<\_ACEOF
16994 #define __POWERPC__ 1
17000 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17006 { echo "$as_me:$LINENO: checking if CoreFoundation/CFBase.h is usable" >&5
17007 echo $ECHO_N "checking if CoreFoundation/CFBase.h is usable... $ECHO_C" >&6; }
17008 cat >conftest.$ac_ext <<_ACEOF
17011 cat confdefs.h >>conftest.$ac_ext
17012 cat >>conftest.$ac_ext <<_ACEOF
17013 /* end confdefs.h. */
17014 #include <CoreFoundation/CFBase.h>
17024 rm -f conftest.$ac_objext
17025 if { (ac_try="$ac_compile"
17026 case "(($ac_try" in
17027 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
17028 *) ac_try_echo
=$ac_try;;
17030 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17031 (eval "$ac_compile") 2>conftest.er1
17033 grep -v '^ *+' conftest.er1
>conftest.err
17035 cat conftest.err
>&5
17036 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17037 (exit $ac_status); } && {
17038 test -z "$ac_c_werror_flag" ||
17039 test ! -s conftest.err
17040 } && test -s conftest.
$ac_objext; then
17041 { echo "$as_me:$LINENO: result: yes" >&5
17042 echo "${ECHO_T}yes" >&6; }
17044 echo "$as_me: failed program was:" >&5
17045 sed 's/^/| /' conftest.
$ac_ext >&5
17047 { echo "$as_me:$LINENO: result: no" >&5
17048 echo "${ECHO_T}no" >&6; }
17049 { echo "$as_me:$LINENO: checking if __CF_USE_FRAMEWORK_INCLUDES__ is required" >&5
17050 echo $ECHO_N "checking if __CF_USE_FRAMEWORK_INCLUDES__ is required... $ECHO_C" >&6; }
17051 cat >conftest.
$ac_ext <<_ACEOF
17054 cat confdefs.h
>>conftest.
$ac_ext
17055 cat >>conftest.
$ac_ext <<_ACEOF
17056 /* end confdefs.h. */
17057 #define __CF_USE_FRAMEWORK_INCLUDES__
17058 #include <CoreFoundation/CFBase.h>
17068 rm -f conftest.
$ac_objext
17069 if { (ac_try
="$ac_compile"
17070 case "(($ac_try" in
17071 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
17072 *) ac_try_echo=$ac_try;;
17074 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17075 (eval "$ac_compile") 2>conftest.er1
17077 grep -v '^ *+' conftest.er1 >conftest.err
17079 cat conftest.err >&5
17080 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17081 (exit $ac_status); } && {
17082 test -z "$ac_c_werror_flag" ||
17083 test ! -s conftest.err
17084 } && test -s conftest.$ac_objext; then
17085 { echo "$as_me:$LINENO: result: yes" >&5
17086 echo "${ECHO_T}yes" >&6; }
17087 CPPFLAGS="-D__CF_USE_FRAMEWORK_INCLUDES__ $CPPFLAGS"
17089 echo "$as_me: failed program was:" >&5
17090 sed 's/^/| /' conftest.$ac_ext >&5
17092 { { echo "$as_me:$LINENO: error: no. CoreFoundation not available.
17093 See \`config.log
' for more details." >&5
17094 echo "$as_me: error: no. CoreFoundation not available.
17095 See \`config.log' for more details.
" >&2;}
17096 { (exit 1); exit 1; }; }
17100 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17105 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17110 doesnt_want_win32=0
17113 if test "$wxUSE_MSW" = 1 ; then
17116 { echo "$as_me:$LINENO: checking
if -mno-cygwin is
in effect
" >&5
17117 echo $ECHO_N "checking
if -mno-cygwin is
in effect...
$ECHO_C" >&6; }
17118 if test "${wx_cv_nocygwin+set}" = set; then
17119 echo $ECHO_N "(cached
) $ECHO_C" >&6
17122 cat >conftest.$ac_ext <<_ACEOF
17125 cat confdefs.h >>conftest.$ac_ext
17126 cat >>conftest.$ac_ext <<_ACEOF
17127 /* end confdefs.h. */
17141 rm -f conftest.$ac_objext
17142 if { (ac_try="$ac_compile"
17143 case "(($ac_try" in
17144 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17145 *) ac_try_echo=$ac_try;;
17147 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
17148 (eval "$ac_compile") 2>conftest.er1
17150 grep -v '^ *+' conftest.er1 >conftest.err
17152 cat conftest.err >&5
17153 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
17154 (exit $ac_status); } && {
17155 test -z "$ac_c_werror_flag" ||
17156 test ! -s conftest.err
17157 } && test -s conftest.$ac_objext; then
17160 echo "$as_me: failed program was
:" >&5
17161 sed 's/^/| /' conftest.$ac_ext >&5
17167 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17171 { echo "$as_me:$LINENO: result
: $wx_cv_nocygwin" >&5
17172 echo "${ECHO_T}$wx_cv_nocygwin" >&6; }
17174 if test "$wx_cv_nocygwin" = "yes"; then
17177 doesnt_want_win32=1
17180 if test "$wants_win32" = 1 ; then
17181 BAKEFILE_FORCE_PLATFORM=win32
17189 if test "$wxUSE_WINE" = "yes"; then
17191 LDFLAGS_GUI="-mwindows"
17194 if test "$wants_win32" = 1 ; then
17197 cat >>confdefs.h <<\_ACEOF
17198 #define __WIN32__ 1
17201 cat >>confdefs.h <<\_ACEOF
17202 #define __WIN95__ 1
17205 cat >>confdefs.h <<\_ACEOF
17206 #define __WINDOWS__ 1
17209 cat >>confdefs.h <<\_ACEOF
17210 #define __GNUWIN32__ 1
17213 cat >>confdefs.h <<\_ACEOF
17218 if test "$doesnt_want_win32" = 1 ; then
17223 if test "$USE_UNIX" = 1 ; then
17225 cat >>confdefs.h <<\_ACEOF
17232 *-pc-os2_emx | *-pc-os2-emx )
17233 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_GTK" = 1 -o "$wxUSE_X11" = 1; then
17234 { echo "$as_me:$LINENO: checking
for drand48
in -lcExt" >&5
17235 echo $ECHO_N "checking
for drand48
in -lcExt...
$ECHO_C" >&6; }
17236 if test "${ac_cv_lib_cExt_drand48+set}" = set; then
17237 echo $ECHO_N "(cached
) $ECHO_C" >&6
17239 ac_check_lib_save_LIBS=$LIBS
17240 LIBS="-lcExt $LIBS"
17241 cat >conftest.$ac_ext <<_ACEOF
17244 cat confdefs.h >>conftest.$ac_ext
17245 cat >>conftest.$ac_ext <<_ACEOF
17246 /* end confdefs.h. */
17248 /* Override any GCC internal prototype to avoid an error.
17249 Use char because int might match the return type of a GCC
17250 builtin and then its argument prototype would still apply. */
17263 rm -f conftest.$ac_objext conftest$ac_exeext
17264 if { (ac_try="$ac_link"
17265 case "(($ac_try" in
17266 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17267 *) ac_try_echo=$ac_try;;
17269 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
17270 (eval "$ac_link") 2>conftest.er1
17272 grep -v '^ *+' conftest.er1 >conftest.err
17274 cat conftest.err >&5
17275 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
17276 (exit $ac_status); } && {
17277 test -z "$ac_c_werror_flag" ||
17278 test ! -s conftest.err
17279 } && test -s conftest$ac_exeext &&
17280 $as_test_x conftest$ac_exeext; then
17281 ac_cv_lib_cExt_drand48=yes
17283 echo "$as_me: failed program was
:" >&5
17284 sed 's/^/| /' conftest.$ac_ext >&5
17286 ac_cv_lib_cExt_drand48=no
17289 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17290 conftest$ac_exeext conftest.$ac_ext
17291 LIBS=$ac_check_lib_save_LIBS
17293 { echo "$as_me:$LINENO: result
: $ac_cv_lib_cExt_drand48" >&5
17294 echo "${ECHO_T}$ac_cv_lib_cExt_drand48" >&6; }
17295 if test $ac_cv_lib_cExt_drand48 = yes; then
17296 LIBS="$LIBS -lcExt"
17300 RESPROGRAMOBJ="\
${top_srcdir}/include
/wx
/os
2/wx.res
"
17302 { echo "$as_me:$LINENO: checking
for gcc
/libc version
" >&5
17303 echo $ECHO_N "checking
for gcc
/libc version...
$ECHO_C" >&6; }
17304 if test "${wx_cv_gccversion+set}" = set; then
17305 echo $ECHO_N "(cached
) $ECHO_C" >&6
17308 if test "$cross_compiling" = yes; then
17309 wx_cv_gccversion="EMX2
"
17312 cat >conftest.$ac_ext <<_ACEOF
17315 cat confdefs.h >>conftest.$ac_ext
17316 cat >>conftest.$ac_ext <<_ACEOF
17317 /* end confdefs.h. */
17323 FILE *f=fopen("conftestval
", "w
");
17328 #elif (__GNUC__==3) && ((__GNUC_MINOR__ < 2) || ((__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__<2)))
17330 #elif (__GNUC__==3) && (__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__==2)
17340 rm -f conftest$ac_exeext
17341 if { (ac_try="$ac_link"
17342 case "(($ac_try" in
17343 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17344 *) ac_try_echo=$ac_try;;
17346 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
17347 (eval "$ac_link") 2>&5
17349 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
17350 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
17351 { (case "(($ac_try" in
17352 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17353 *) ac_try_echo=$ac_try;;
17355 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
17356 (eval "$ac_try") 2>&5
17358 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
17359 (exit $ac_status); }; }; then
17360 wx_cv_gccversion=`cat conftestval`
17362 echo "$as_me: program exited with status
$ac_status" >&5
17363 echo "$as_me: failed program was
:" >&5
17364 sed 's/^/| /' conftest.$ac_ext >&5
17366 ( exit $ac_status )
17367 wx_cv_gccversion="EMX2
"
17369 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
17375 { echo "$as_me:$LINENO: result
: $wx_cv_gccversion" >&5
17376 echo "${ECHO_T}$wx_cv_gccversion" >&6; }
17377 if test "$wx_cv_gccversion" = "EMX2
"; then
17378 LIBS="$LIBS -lstdcpp"
17379 LDFLAGS="$LDFLAGS -Zsysv-signals"
17381 if test "$wx_cv_gccversion" = "EMX3
"; then
17382 LIBS="$LIBS -lstdcxx -lgcc"
17383 LDFLAGS="$LDFLAGS -Zsysv-signals"
17385 LIBS="$LIBS -lstdc++"
17388 if test "$wxUSE_SHARED" = "yes" -a "$wxUSE_OMF" = "no
"; then
17389 { echo "$as_me:$LINENO: WARNING
: Building DLLs requires OMF mode
, enabled
" >&5
17390 echo "$as_me: WARNING
: Building DLLs requires OMF mode
, enabled
" >&2;}
17397 { echo "$as_me:$LINENO: checking
for strcasecmp
() in string.h
" >&5
17398 echo $ECHO_N "checking
for strcasecmp
() in string.h...
$ECHO_C" >&6; }
17399 if test "${ac_cv_string_strcasecmp+set}" = set; then
17400 echo $ECHO_N "(cached
) $ECHO_C" >&6
17403 cat >conftest.$ac_ext <<_ACEOF
17406 cat confdefs.h >>conftest.$ac_ext
17407 cat >>conftest.$ac_ext <<_ACEOF
17408 /* end confdefs.h. */
17410 #include <string.h>
17416 strcasecmp("foo
", "bar
");
17422 rm -f conftest.$ac_objext conftest$ac_exeext
17423 if { (ac_try="$ac_link"
17424 case "(($ac_try" in
17425 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17426 *) ac_try_echo=$ac_try;;
17428 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
17429 (eval "$ac_link") 2>conftest.er1
17431 grep -v '^ *+' conftest.er1 >conftest.err
17433 cat conftest.err >&5
17434 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
17435 (exit $ac_status); } && {
17436 test -z "$ac_c_werror_flag" ||
17437 test ! -s conftest.err
17438 } && test -s conftest$ac_exeext &&
17439 $as_test_x conftest$ac_exeext; then
17440 ac_cv_string_strcasecmp=yes
17442 echo "$as_me: failed program was
:" >&5
17443 sed 's/^/| /' conftest.$ac_ext >&5
17445 ac_cv_string_strcasecmp=no
17449 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17450 conftest$ac_exeext conftest.$ac_ext
17453 { echo "$as_me:$LINENO: result
: $ac_cv_string_strcasecmp" >&5
17454 echo "${ECHO_T}$ac_cv_string_strcasecmp" >&6; }
17456 if test x"$ac_cv_string_strcasecmp" = "xyes
"; then
17457 cat >>confdefs.h <<\_ACEOF
17458 #define HAVE_STRCASECMP_IN_STRING_H 1
17462 { echo "$as_me:$LINENO: checking
for strcasecmp
() in strings.h
" >&5
17463 echo $ECHO_N "checking
for strcasecmp
() in strings.h...
$ECHO_C" >&6; }
17464 if test "${ac_cv_strings_strcasecmp+set}" = set; then
17465 echo $ECHO_N "(cached
) $ECHO_C" >&6
17468 cat >conftest.$ac_ext <<_ACEOF
17471 cat confdefs.h >>conftest.$ac_ext
17472 cat >>conftest.$ac_ext <<_ACEOF
17473 /* end confdefs.h. */
17475 #include <strings.h>
17481 strcasecmp("foo
", "bar
");
17487 rm -f conftest.$ac_objext conftest$ac_exeext
17488 if { (ac_try="$ac_link"
17489 case "(($ac_try" in
17490 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17491 *) ac_try_echo=$ac_try;;
17493 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
17494 (eval "$ac_link") 2>conftest.er1
17496 grep -v '^ *+' conftest.er1 >conftest.err
17498 cat conftest.err >&5
17499 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
17500 (exit $ac_status); } && {
17501 test -z "$ac_c_werror_flag" ||
17502 test ! -s conftest.err
17503 } && test -s conftest$ac_exeext &&
17504 $as_test_x conftest$ac_exeext; then
17505 ac_cv_strings_strcasecmp=yes
17507 echo "$as_me: failed program was
:" >&5
17508 sed 's/^/| /' conftest.$ac_ext >&5
17510 ac_cv_strings_strcasecmp=no
17514 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17515 conftest$ac_exeext conftest.$ac_ext
17518 { echo "$as_me:$LINENO: result
: $ac_cv_strings_strcasecmp" >&5
17519 echo "${ECHO_T}$ac_cv_strings_strcasecmp" >&6; }
17521 if test x"$ac_cv_strings_strcasecmp" = "xyes
"; then
17522 cat >>confdefs.h <<\_ACEOF
17523 #define HAVE_STRCASECMP_IN_STRINGS_H 1
17527 { { echo "$as_me:$LINENO: error
: No
case-insensitive string comparison
function found.
" >&5
17528 echo "$as_me: error
: No
case-insensitive string comparison
function found.
" >&2;}
17529 { (exit 1); exit 1; }; }
17537 { echo "$as_me:$LINENO: checking
for ANSI C header files
" >&5
17538 echo $ECHO_N "checking
for ANSI C header files...
$ECHO_C" >&6; }
17539 if test "${ac_cv_header_stdc+set}" = set; then
17540 echo $ECHO_N "(cached
) $ECHO_C" >&6
17542 cat >conftest.$ac_ext <<_ACEOF
17545 cat confdefs.h >>conftest.$ac_ext
17546 cat >>conftest.$ac_ext <<_ACEOF
17547 /* end confdefs.h. */
17548 #include <stdlib.h>
17549 #include <stdarg.h>
17550 #include <string.h>
17561 rm -f conftest.$ac_objext
17562 if { (ac_try="$ac_compile"
17563 case "(($ac_try" in
17564 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17565 *) ac_try_echo=$ac_try;;
17567 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
17568 (eval "$ac_compile") 2>conftest.er1
17570 grep -v '^ *+' conftest.er1 >conftest.err
17572 cat conftest.err >&5
17573 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
17574 (exit $ac_status); } && {
17575 test -z "$ac_c_werror_flag" ||
17576 test ! -s conftest.err
17577 } && test -s conftest.$ac_objext; then
17578 ac_cv_header_stdc=yes
17580 echo "$as_me: failed program was
:" >&5
17581 sed 's/^/| /' conftest.$ac_ext >&5
17583 ac_cv_header_stdc=no
17586 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17588 if test $ac_cv_header_stdc = yes; then
17589 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
17590 cat >conftest.$ac_ext <<_ACEOF
17593 cat confdefs.h >>conftest.$ac_ext
17594 cat >>conftest.$ac_ext <<_ACEOF
17595 /* end confdefs.h. */
17596 #include <string.h>
17599 if (eval "$ac_cpp conftest.
$ac_ext") 2>&5 |
17600 $EGREP "memchr
" >/dev/null 2>&1; then
17603 ac_cv_header_stdc=no
17609 if test $ac_cv_header_stdc = yes; then
17610 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
17611 cat >conftest.$ac_ext <<_ACEOF
17614 cat confdefs.h >>conftest.$ac_ext
17615 cat >>conftest.$ac_ext <<_ACEOF
17616 /* end confdefs.h. */
17617 #include <stdlib.h>
17620 if (eval "$ac_cpp conftest.
$ac_ext") 2>&5 |
17621 $EGREP "free
" >/dev/null 2>&1; then
17624 ac_cv_header_stdc=no
17630 if test $ac_cv_header_stdc = yes; then
17631 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
17632 if test "$cross_compiling" = yes; then
17635 cat >conftest.$ac_ext <<_ACEOF
17638 cat confdefs.h >>conftest.$ac_ext
17639 cat >>conftest.$ac_ext <<_ACEOF
17640 /* end confdefs.h. */
17642 #include <stdlib.h>
17643 #if ((' ' & 0x0FF) == 0x020)
17644 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
17645 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
17647 # define ISLOWER(c) \
17648 (('a' <= (c) && (c) <= 'i') \
17649 || ('j' <= (c) && (c) <= 'r') \
17650 || ('s' <= (c) && (c) <= 'z'))
17651 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
17654 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
17659 for (i = 0; i < 256; i++)
17660 if (XOR (islower (i), ISLOWER (i))
17661 || toupper (i) != TOUPPER (i))
17666 rm -f conftest$ac_exeext
17667 if { (ac_try="$ac_link"
17668 case "(($ac_try" in
17669 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17670 *) ac_try_echo=$ac_try;;
17672 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
17673 (eval "$ac_link") 2>&5
17675 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
17676 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
17677 { (case "(($ac_try" in
17678 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17679 *) ac_try_echo=$ac_try;;
17681 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
17682 (eval "$ac_try") 2>&5
17684 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
17685 (exit $ac_status); }; }; then
17688 echo "$as_me: program exited with status
$ac_status" >&5
17689 echo "$as_me: failed program was
:" >&5
17690 sed 's/^/| /' conftest.$ac_ext >&5
17692 ( exit $ac_status )
17693 ac_cv_header_stdc=no
17695 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
17701 { echo "$as_me:$LINENO: result
: $ac_cv_header_stdc" >&5
17702 echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
17703 if test $ac_cv_header_stdc = yes; then
17705 cat >>confdefs.h <<\_ACEOF
17706 #define STDC_HEADERS 1
17711 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
17721 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
17722 inttypes.h stdint.h unistd.h
17724 as_ac_Header=`echo "ac_cv_header_
$ac_header" | $as_tr_sh`
17725 { echo "$as_me:$LINENO: checking
for $ac_header" >&5
17726 echo $ECHO_N "checking
for $ac_header...
$ECHO_C" >&6; }
17727 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
17728 echo $ECHO_N "(cached
) $ECHO_C" >&6
17730 cat >conftest.$ac_ext <<_ACEOF
17733 cat confdefs.h >>conftest.$ac_ext
17734 cat >>conftest.$ac_ext <<_ACEOF
17735 /* end confdefs.h. */
17736 $ac_includes_default
17738 #include <$ac_header>
17740 rm -f conftest.$ac_objext
17741 if { (ac_try="$ac_compile"
17742 case "(($ac_try" in
17743 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17744 *) ac_try_echo=$ac_try;;
17746 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
17747 (eval "$ac_compile") 2>conftest.er1
17749 grep -v '^ *+' conftest.er1 >conftest.err
17751 cat conftest.err >&5
17752 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
17753 (exit $ac_status); } && {
17754 test -z "$ac_c_werror_flag" ||
17755 test ! -s conftest.err
17756 } && test -s conftest.$ac_objext; then
17757 eval "$as_ac_Header=yes"
17759 echo "$as_me: failed program was
:" >&5
17760 sed 's/^/| /' conftest.$ac_ext >&5
17762 eval "$as_ac_Header=no
"
17765 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17767 ac_res=`eval echo '${'$as_ac_Header'}'`
17768 { echo "$as_me:$LINENO: result
: $ac_res" >&5
17769 echo "${ECHO_T}$ac_res" >&6; }
17770 if test `eval echo '${'$as_ac_Header'}'` = yes; then
17771 cat >>confdefs.h <<_ACEOF
17772 #define `echo "HAVE_
$ac_header" | $as_tr_cpp` 1
17786 for ac_header in stdlib.h fnmatch.h langinfo.h malloc.h unistd.h wchar.h
17788 as_ac_Header=`echo "ac_cv_header_
$ac_header" | $as_tr_sh`
17789 { echo "$as_me:$LINENO: checking
for $ac_header" >&5
17790 echo $ECHO_N "checking
for $ac_header...
$ECHO_C" >&6; }
17791 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
17792 echo $ECHO_N "(cached
) $ECHO_C" >&6
17794 cat >conftest.$ac_ext <<_ACEOF
17797 cat confdefs.h >>conftest.$ac_ext
17798 cat >>conftest.$ac_ext <<_ACEOF
17799 /* end confdefs.h. */
17800 $ac_includes_default
17802 #include <$ac_header>
17804 rm -f conftest.$ac_objext
17805 if { (ac_try="$ac_compile"
17806 case "(($ac_try" in
17807 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17808 *) ac_try_echo=$ac_try;;
17810 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
17811 (eval "$ac_compile") 2>conftest.er1
17813 grep -v '^ *+' conftest.er1 >conftest.err
17815 cat conftest.err >&5
17816 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
17817 (exit $ac_status); } && {
17818 test -z "$ac_c_werror_flag" ||
17819 test ! -s conftest.err
17820 } && test -s conftest.$ac_objext; then
17821 eval "$as_ac_Header=yes"
17823 echo "$as_me: failed program was
:" >&5
17824 sed 's/^/| /' conftest.$ac_ext >&5
17826 eval "$as_ac_Header=no
"
17829 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17831 ac_res=`eval echo '${'$as_ac_Header'}'`
17832 { echo "$as_me:$LINENO: result
: $ac_res" >&5
17833 echo "${ECHO_T}$ac_res" >&6; }
17834 if test `eval echo '${'$as_ac_Header'}'` = yes; then
17835 cat >>confdefs.h <<_ACEOF
17836 #define `echo "HAVE_
$ac_header" | $as_tr_cpp` 1
17844 if test "$ac_cv_header_wchar_h" != "yes"; then
17845 { echo "$as_me:$LINENO: checking
for wcstr.h
" >&5
17846 echo $ECHO_N "checking
for wcstr.h...
$ECHO_C" >&6; }
17847 if test "${ac_cv_header_wcstr_h+set}" = set; then
17848 echo $ECHO_N "(cached
) $ECHO_C" >&6
17850 cat >conftest.$ac_ext <<_ACEOF
17853 cat confdefs.h >>conftest.$ac_ext
17854 cat >>conftest.$ac_ext <<_ACEOF
17855 /* end confdefs.h. */
17856 $ac_includes_default
17860 rm -f conftest.$ac_objext
17861 if { (ac_try="$ac_compile"
17862 case "(($ac_try" in
17863 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17864 *) ac_try_echo=$ac_try;;
17866 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
17867 (eval "$ac_compile") 2>conftest.er1
17869 grep -v '^ *+' conftest.er1 >conftest.err
17871 cat conftest.err >&5
17872 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
17873 (exit $ac_status); } && {
17874 test -z "$ac_c_werror_flag" ||
17875 test ! -s conftest.err
17876 } && test -s conftest.$ac_objext; then
17877 ac_cv_header_wcstr_h=yes
17879 echo "$as_me: failed program was
:" >&5
17880 sed 's/^/| /' conftest.$ac_ext >&5
17882 ac_cv_header_wcstr_h=no
17885 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17887 { echo "$as_me:$LINENO: result
: $ac_cv_header_wcstr_h" >&5
17888 echo "${ECHO_T}$ac_cv_header_wcstr_h" >&6; }
17894 *-pc-os2_emx | *-pc-os2-emx )
17895 if test $ac_cv_header_langinfo_h = "yes" \
17896 -a \( "$wx_cv_gccversion" = "EMX2
" \
17897 -o "$wx_cv_gccversion" = "EMX3
" \
17898 -o "$wx_cv_gccversion" = "Innotek5
" \); then
17899 LIBS="$LIBS -lintl"
17904 if test "$USE_UNIX" = 1 ; then
17905 { echo "$as_me:$LINENO: checking
for sys
/select.h
" >&5
17906 echo $ECHO_N "checking
for sys
/select.h...
$ECHO_C" >&6; }
17907 if test "${ac_cv_header_sys_select_h+set}" = set; then
17908 echo $ECHO_N "(cached
) $ECHO_C" >&6
17910 cat >conftest.$ac_ext <<_ACEOF
17913 cat confdefs.h >>conftest.$ac_ext
17914 cat >>conftest.$ac_ext <<_ACEOF
17915 /* end confdefs.h. */
17916 $ac_includes_default
17918 #include <sys/select.h>
17920 rm -f conftest.$ac_objext
17921 if { (ac_try="$ac_compile"
17922 case "(($ac_try" in
17923 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17924 *) ac_try_echo=$ac_try;;
17926 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
17927 (eval "$ac_compile") 2>conftest.er1
17929 grep -v '^ *+' conftest.er1 >conftest.err
17931 cat conftest.err >&5
17932 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
17933 (exit $ac_status); } && {
17934 test -z "$ac_c_werror_flag" ||
17935 test ! -s conftest.err
17936 } && test -s conftest.$ac_objext; then
17937 ac_cv_header_sys_select_h=yes
17939 echo "$as_me: failed program was
:" >&5
17940 sed 's/^/| /' conftest.$ac_ext >&5
17942 ac_cv_header_sys_select_h=no
17945 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17947 { echo "$as_me:$LINENO: result
: $ac_cv_header_sys_select_h" >&5
17948 echo "${ECHO_T}$ac_cv_header_sys_select_h" >&6; }
17954 { echo "$as_me:$LINENO: checking
for an ANSI C
-conforming const
" >&5
17955 echo $ECHO_N "checking
for an ANSI C
-conforming const...
$ECHO_C" >&6; }
17956 if test "${ac_cv_c_const+set}" = set; then
17957 echo $ECHO_N "(cached
) $ECHO_C" >&6
17959 cat >conftest.$ac_ext <<_ACEOF
17962 cat confdefs.h >>conftest.$ac_ext
17963 cat >>conftest.$ac_ext <<_ACEOF
17964 /* end confdefs.h. */
17969 /* FIXME: Include the comments suggested by Paul. */
17970 #ifndef __cplusplus
17971 /* Ultrix mips cc rejects this. */
17972 typedef int charset[2];
17974 /* SunOS 4.1.1 cc rejects this. */
17975 char const *const *pcpcc;
17977 /* NEC SVR4.0.2 mips cc rejects this. */
17978 struct point {int x, y;};
17979 static struct point const zero = {0,0};
17980 /* AIX XL C 1.02.0.0 rejects this.
17981 It does not let you subtract one const X* pointer from another in
17982 an arm of an if-expression whose if-part is not a constant
17984 const char *g = "string
";
17985 pcpcc = &g + (g ? g-g : 0);
17986 /* HPUX 7.0 cc rejects these. */
17988 ppc = (char**) pcpcc;
17989 pcpcc = (char const *const *) ppc;
17990 { /* SCO 3.2v4 cc rejects this. */
17992 char const *s = 0 ? (char *) 0 : (char const *) 0;
17997 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
17998 int x[] = {25, 17};
17999 const int *foo = &x[0];
18002 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
18003 typedef const int *iptr;
18007 { /* AIX XL C 1.02.0.0 rejects this saying
18008 "k.c
", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
18009 struct s { int j; const int *ap[3]; };
18010 struct s *b; b->j = 5;
18012 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
18013 const int foo = 10;
18014 if (!foo) return 0;
18016 return !cs[0] && !zero.x;
18023 rm -f conftest.$ac_objext
18024 if { (ac_try="$ac_compile"
18025 case "(($ac_try" in
18026 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18027 *) ac_try_echo=$ac_try;;
18029 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
18030 (eval "$ac_compile") 2>conftest.er1
18032 grep -v '^ *+' conftest.er1 >conftest.err
18034 cat conftest.err >&5
18035 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
18036 (exit $ac_status); } && {
18037 test -z "$ac_c_werror_flag" ||
18038 test ! -s conftest.err
18039 } && test -s conftest.$ac_objext; then
18042 echo "$as_me: failed program was
:" >&5
18043 sed 's/^/| /' conftest.$ac_ext >&5
18048 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18050 { echo "$as_me:$LINENO: result
: $ac_cv_c_const" >&5
18051 echo "${ECHO_T}$ac_cv_c_const" >&6; }
18052 if test $ac_cv_c_const = no; then
18054 cat >>confdefs.h <<\_ACEOF
18060 { echo "$as_me:$LINENO: checking
for inline
" >&5
18061 echo $ECHO_N "checking
for inline...
$ECHO_C" >&6; }
18062 if test "${ac_cv_c_inline+set}" = set; then
18063 echo $ECHO_N "(cached
) $ECHO_C" >&6
18066 for ac_kw in inline __inline__ __inline; do
18067 cat >conftest.$ac_ext <<_ACEOF
18070 cat confdefs.h >>conftest.$ac_ext
18071 cat >>conftest.$ac_ext <<_ACEOF
18072 /* end confdefs.h. */
18073 #ifndef __cplusplus
18075 static $ac_kw foo_t static_foo () {return 0; }
18076 $ac_kw foo_t foo () {return 0; }
18080 rm -f conftest.$ac_objext
18081 if { (ac_try="$ac_compile"
18082 case "(($ac_try" in
18083 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18084 *) ac_try_echo=$ac_try;;
18086 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
18087 (eval "$ac_compile") 2>conftest.er1
18089 grep -v '^ *+' conftest.er1 >conftest.err
18091 cat conftest.err >&5
18092 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
18093 (exit $ac_status); } && {
18094 test -z "$ac_c_werror_flag" ||
18095 test ! -s conftest.err
18096 } && test -s conftest.$ac_objext; then
18097 ac_cv_c_inline=$ac_kw
18099 echo "$as_me: failed program was
:" >&5
18100 sed 's/^/| /' conftest.$ac_ext >&5
18105 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18106 test "$ac_cv_c_inline" != no && break
18110 { echo "$as_me:$LINENO: result
: $ac_cv_c_inline" >&5
18111 echo "${ECHO_T}$ac_cv_c_inline" >&6; }
18114 case $ac_cv_c_inline in
18117 case $ac_cv_c_inline in
18119 *) ac_val=$ac_cv_c_inline;;
18121 cat >>confdefs.h <<_ACEOF
18122 #ifndef __cplusplus
18123 #define inline $ac_val
18130 { echo "$as_me:$LINENO: checking
for short
" >&5
18131 echo $ECHO_N "checking
for short...
$ECHO_C" >&6; }
18132 if test "${ac_cv_type_short+set}" = set; then
18133 echo $ECHO_N "(cached
) $ECHO_C" >&6
18135 cat >conftest.$ac_ext <<_ACEOF
18138 cat confdefs.h >>conftest.$ac_ext
18139 cat >>conftest.$ac_ext <<_ACEOF
18140 /* end confdefs.h. */
18141 $ac_includes_default
18142 typedef short ac__type_new_;
18146 if ((ac__type_new_ *) 0)
18148 if (sizeof (ac__type_new_))
18154 rm -f conftest.$ac_objext
18155 if { (ac_try="$ac_compile"
18156 case "(($ac_try" in
18157 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18158 *) ac_try_echo=$ac_try;;
18160 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
18161 (eval "$ac_compile") 2>conftest.er1
18163 grep -v '^ *+' conftest.er1 >conftest.err
18165 cat conftest.err >&5
18166 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
18167 (exit $ac_status); } && {
18168 test -z "$ac_c_werror_flag" ||
18169 test ! -s conftest.err
18170 } && test -s conftest.$ac_objext; then
18171 ac_cv_type_short=yes
18173 echo "$as_me: failed program was
:" >&5
18174 sed 's/^/| /' conftest.$ac_ext >&5
18176 ac_cv_type_short=no
18179 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18181 { echo "$as_me:$LINENO: result
: $ac_cv_type_short" >&5
18182 echo "${ECHO_T}$ac_cv_type_short" >&6; }
18184 # The cast to long int works around a bug in the HP C Compiler
18185 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
18186 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
18187 # This bug is HP SR number 8606223364.
18188 { echo "$as_me:$LINENO: checking size of short
" >&5
18189 echo $ECHO_N "checking size of short...
$ECHO_C" >&6; }
18190 if test "${ac_cv_sizeof_short+set}" = set; then
18191 echo $ECHO_N "(cached
) $ECHO_C" >&6
18193 if test "$cross_compiling" = yes; then
18194 # Depending upon the size, compute the lo and hi bounds.
18195 cat >conftest.$ac_ext <<_ACEOF
18198 cat confdefs.h >>conftest.$ac_ext
18199 cat >>conftest.$ac_ext <<_ACEOF
18200 /* end confdefs.h. */
18201 $ac_includes_default
18202 typedef short ac__type_sizeof_;
18206 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
18213 rm -f conftest.$ac_objext
18214 if { (ac_try="$ac_compile"
18215 case "(($ac_try" in
18216 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18217 *) ac_try_echo=$ac_try;;
18219 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
18220 (eval "$ac_compile") 2>conftest.er1
18222 grep -v '^ *+' conftest.er1 >conftest.err
18224 cat conftest.err >&5
18225 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
18226 (exit $ac_status); } && {
18227 test -z "$ac_c_werror_flag" ||
18228 test ! -s conftest.err
18229 } && test -s conftest.$ac_objext; then
18232 cat >conftest.$ac_ext <<_ACEOF
18235 cat confdefs.h >>conftest.$ac_ext
18236 cat >>conftest.$ac_ext <<_ACEOF
18237 /* end confdefs.h. */
18238 $ac_includes_default
18239 typedef short ac__type_sizeof_;
18243 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
18250 rm -f conftest.$ac_objext
18251 if { (ac_try="$ac_compile"
18252 case "(($ac_try" in
18253 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18254 *) ac_try_echo=$ac_try;;
18256 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
18257 (eval "$ac_compile") 2>conftest.er1
18259 grep -v '^ *+' conftest.er1 >conftest.err
18261 cat conftest.err >&5
18262 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
18263 (exit $ac_status); } && {
18264 test -z "$ac_c_werror_flag" ||
18265 test ! -s conftest.err
18266 } && test -s conftest.$ac_objext; then
18267 ac_hi=$ac_mid; break
18269 echo "$as_me: failed program was
:" >&5
18270 sed 's/^/| /' conftest.$ac_ext >&5
18272 ac_lo=`expr $ac_mid + 1`
18273 if test $ac_lo -le $ac_mid; then
18277 ac_mid=`expr 2 '*' $ac_mid + 1`
18280 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18283 echo "$as_me: failed program was
:" >&5
18284 sed 's/^/| /' conftest.$ac_ext >&5
18286 cat >conftest.$ac_ext <<_ACEOF
18289 cat confdefs.h >>conftest.$ac_ext
18290 cat >>conftest.$ac_ext <<_ACEOF
18291 /* end confdefs.h. */
18292 $ac_includes_default
18293 typedef short ac__type_sizeof_;
18297 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
18304 rm -f conftest.$ac_objext
18305 if { (ac_try="$ac_compile"
18306 case "(($ac_try" in
18307 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18308 *) ac_try_echo=$ac_try;;
18310 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
18311 (eval "$ac_compile") 2>conftest.er1
18313 grep -v '^ *+' conftest.er1 >conftest.err
18315 cat conftest.err >&5
18316 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
18317 (exit $ac_status); } && {
18318 test -z "$ac_c_werror_flag" ||
18319 test ! -s conftest.err
18320 } && test -s conftest.$ac_objext; then
18323 cat >conftest.$ac_ext <<_ACEOF
18326 cat confdefs.h >>conftest.$ac_ext
18327 cat >>conftest.$ac_ext <<_ACEOF
18328 /* end confdefs.h. */
18329 $ac_includes_default
18330 typedef short ac__type_sizeof_;
18334 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
18341 rm -f conftest.$ac_objext
18342 if { (ac_try="$ac_compile"
18343 case "(($ac_try" in
18344 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18345 *) ac_try_echo=$ac_try;;
18347 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
18348 (eval "$ac_compile") 2>conftest.er1
18350 grep -v '^ *+' conftest.er1 >conftest.err
18352 cat conftest.err >&5
18353 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
18354 (exit $ac_status); } && {
18355 test -z "$ac_c_werror_flag" ||
18356 test ! -s conftest.err
18357 } && test -s conftest.$ac_objext; then
18358 ac_lo=$ac_mid; break
18360 echo "$as_me: failed program was
:" >&5
18361 sed 's/^/| /' conftest.$ac_ext >&5
18363 ac_hi=`expr '(' $ac_mid ')' - 1`
18364 if test $ac_mid -le $ac_hi; then
18368 ac_mid=`expr 2 '*' $ac_mid`
18371 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18374 echo "$as_me: failed program was
:" >&5
18375 sed 's/^/| /' conftest.$ac_ext >&5
18380 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18383 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18384 # Binary search between lo and hi bounds.
18385 while test "x
$ac_lo" != "x
$ac_hi"; do
18386 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
18387 cat >conftest.$ac_ext <<_ACEOF
18390 cat confdefs.h >>conftest.$ac_ext
18391 cat >>conftest.$ac_ext <<_ACEOF
18392 /* end confdefs.h. */
18393 $ac_includes_default
18394 typedef short ac__type_sizeof_;
18398 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
18405 rm -f conftest.$ac_objext
18406 if { (ac_try="$ac_compile"
18407 case "(($ac_try" in
18408 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18409 *) ac_try_echo=$ac_try;;
18411 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
18412 (eval "$ac_compile") 2>conftest.er1
18414 grep -v '^ *+' conftest.er1 >conftest.err
18416 cat conftest.err >&5
18417 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
18418 (exit $ac_status); } && {
18419 test -z "$ac_c_werror_flag" ||
18420 test ! -s conftest.err
18421 } && test -s conftest.$ac_objext; then
18424 echo "$as_me: failed program was
:" >&5
18425 sed 's/^/| /' conftest.$ac_ext >&5
18427 ac_lo=`expr '(' $ac_mid ')' + 1`
18430 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18433 ?*) ac_cv_sizeof_short=$ac_lo;;
18434 '') if test "$ac_cv_type_short" = yes; then
18435 { { echo "$as_me:$LINENO: error
: cannot compute sizeof
(short
)
18436 See \
`config.log' for more details." >&5
18437 echo "$as_me: error: cannot compute sizeof (short)
18438 See \`config.log
' for more details." >&2;}
18439 { (exit 77); exit 77; }; }
18441 ac_cv_sizeof_short=0
18445 cat >conftest.$ac_ext <<_ACEOF
18448 cat confdefs.h >>conftest.$ac_ext
18449 cat >>conftest.$ac_ext <<_ACEOF
18450 /* end confdefs.h. */
18451 $ac_includes_default
18452 typedef short ac__type_sizeof_;
18453 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
18454 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
18456 #include <stdlib.h>
18461 FILE *f = fopen ("conftest.val", "w");
18464 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
18466 long int i = longval ();
18467 if (i != ((long int) (sizeof (ac__type_sizeof_))))
18469 fprintf (f, "%ld\n", i);
18473 unsigned long int i = ulongval ();
18474 if (i != ((long int) (sizeof (ac__type_sizeof_))))
18476 fprintf (f, "%lu\n", i);
18478 return ferror (f) || fclose (f) != 0;
18484 rm -f conftest$ac_exeext
18485 if { (ac_try="$ac_link"
18486 case "(($ac_try" in
18487 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18488 *) ac_try_echo=$ac_try;;
18490 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18491 (eval "$ac_link") 2>&5
18493 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18494 (exit $ac_status); } && { ac_try='.
/conftest
$ac_exeext'
18495 { (case "(($ac_try" in
18496 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18497 *) ac_try_echo=$ac_try;;
18499 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18500 (eval "$ac_try") 2>&5
18502 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18503 (exit $ac_status); }; }; then
18504 ac_cv_sizeof_short=`cat conftest.val`
18506 echo "$as_me: program exited with status $ac_status" >&5
18507 echo "$as_me: failed program was:" >&5
18508 sed 's
/^
/| /' conftest.$ac_ext >&5
18510 ( exit $ac_status )
18511 if test "$ac_cv_type_short" = yes; then
18512 { { echo "$as_me:$LINENO: error: cannot compute sizeof (short)
18513 See \`config.log' for more details.
" >&5
18514 echo "$as_me: error
: cannot compute sizeof
(short
)
18515 See \
`config.log' for more details." >&2;}
18516 { (exit 77); exit 77; }; }
18518 ac_cv_sizeof_short=0
18521 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
18525 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_short" >&5
18526 echo "${ECHO_T}$ac_cv_sizeof_short" >&6; }
18530 cat >>confdefs.h <<_ACEOF
18531 #define SIZEOF_SHORT $ac_cv_sizeof_short
18535 { echo "$as_me:$LINENO: checking for void *" >&5
18536 echo $ECHO_N "checking for void *... $ECHO_C" >&6; }
18537 if test "${ac_cv_type_void_p+set}" = set; then
18538 echo $ECHO_N "(cached) $ECHO_C" >&6
18540 cat >conftest.$ac_ext <<_ACEOF
18543 cat confdefs.h >>conftest.$ac_ext
18544 cat >>conftest.$ac_ext <<_ACEOF
18545 /* end confdefs.h. */
18546 $ac_includes_default
18547 typedef void * ac__type_new_;
18551 if ((ac__type_new_ *) 0)
18553 if (sizeof (ac__type_new_))
18559 rm -f conftest.$ac_objext
18560 if { (ac_try="$ac_compile"
18561 case "(($ac_try" in
18562 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
18563 *) ac_try_echo
=$ac_try;;
18565 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18566 (eval "$ac_compile") 2>conftest.er1
18568 grep -v '^ *+' conftest.er1
>conftest.err
18570 cat conftest.err
>&5
18571 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18572 (exit $ac_status); } && {
18573 test -z "$ac_c_werror_flag" ||
18574 test ! -s conftest.err
18575 } && test -s conftest.
$ac_objext; then
18576 ac_cv_type_void_p
=yes
18578 echo "$as_me: failed program was:" >&5
18579 sed 's/^/| /' conftest.
$ac_ext >&5
18581 ac_cv_type_void_p
=no
18584 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
18586 { echo "$as_me:$LINENO: result: $ac_cv_type_void_p" >&5
18587 echo "${ECHO_T}$ac_cv_type_void_p" >&6; }
18589 # The cast to long int works around a bug in the HP C Compiler
18590 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
18591 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
18592 # This bug is HP SR number 8606223364.
18593 { echo "$as_me:$LINENO: checking size of void *" >&5
18594 echo $ECHO_N "checking size of void *... $ECHO_C" >&6; }
18595 if test "${ac_cv_sizeof_void_p+set}" = set; then
18596 echo $ECHO_N "(cached) $ECHO_C" >&6
18598 if test "$cross_compiling" = yes; then
18599 # Depending upon the size, compute the lo and hi bounds.
18600 cat >conftest.
$ac_ext <<_ACEOF
18603 cat confdefs.h
>>conftest.
$ac_ext
18604 cat >>conftest.
$ac_ext <<_ACEOF
18605 /* end confdefs.h. */
18606 $ac_includes_default
18607 typedef void * ac__type_sizeof_;
18611 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
18618 rm -f conftest.
$ac_objext
18619 if { (ac_try
="$ac_compile"
18620 case "(($ac_try" in
18621 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
18622 *) ac_try_echo=$ac_try;;
18624 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18625 (eval "$ac_compile") 2>conftest.er1
18627 grep -v '^ *+' conftest.er1 >conftest.err
18629 cat conftest.err >&5
18630 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18631 (exit $ac_status); } && {
18632 test -z "$ac_c_werror_flag" ||
18633 test ! -s conftest.err
18634 } && test -s conftest.$ac_objext; then
18637 cat >conftest.$ac_ext <<_ACEOF
18640 cat confdefs.h >>conftest.$ac_ext
18641 cat >>conftest.$ac_ext <<_ACEOF
18642 /* end confdefs.h. */
18643 $ac_includes_default
18644 typedef void * ac__type_sizeof_;
18648 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
18655 rm -f conftest.$ac_objext
18656 if { (ac_try="$ac_compile"
18657 case "(($ac_try" in
18658 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
18659 *) ac_try_echo
=$ac_try;;
18661 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18662 (eval "$ac_compile") 2>conftest.er1
18664 grep -v '^ *+' conftest.er1
>conftest.err
18666 cat conftest.err
>&5
18667 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18668 (exit $ac_status); } && {
18669 test -z "$ac_c_werror_flag" ||
18670 test ! -s conftest.err
18671 } && test -s conftest.
$ac_objext; then
18672 ac_hi
=$ac_mid; break
18674 echo "$as_me: failed program was:" >&5
18675 sed 's/^/| /' conftest.
$ac_ext >&5
18677 ac_lo
=`expr $ac_mid + 1`
18678 if test $ac_lo -le $ac_mid; then
18682 ac_mid
=`expr 2 '*' $ac_mid + 1`
18685 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
18688 echo "$as_me: failed program was:" >&5
18689 sed 's/^/| /' conftest.
$ac_ext >&5
18691 cat >conftest.
$ac_ext <<_ACEOF
18694 cat confdefs.h
>>conftest.
$ac_ext
18695 cat >>conftest.
$ac_ext <<_ACEOF
18696 /* end confdefs.h. */
18697 $ac_includes_default
18698 typedef void * ac__type_sizeof_;
18702 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
18709 rm -f conftest.
$ac_objext
18710 if { (ac_try
="$ac_compile"
18711 case "(($ac_try" in
18712 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
18713 *) ac_try_echo=$ac_try;;
18715 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18716 (eval "$ac_compile") 2>conftest.er1
18718 grep -v '^ *+' conftest.er1 >conftest.err
18720 cat conftest.err >&5
18721 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18722 (exit $ac_status); } && {
18723 test -z "$ac_c_werror_flag" ||
18724 test ! -s conftest.err
18725 } && test -s conftest.$ac_objext; then
18728 cat >conftest.$ac_ext <<_ACEOF
18731 cat confdefs.h >>conftest.$ac_ext
18732 cat >>conftest.$ac_ext <<_ACEOF
18733 /* end confdefs.h. */
18734 $ac_includes_default
18735 typedef void * ac__type_sizeof_;
18739 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
18746 rm -f conftest.$ac_objext
18747 if { (ac_try="$ac_compile"
18748 case "(($ac_try" in
18749 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
18750 *) ac_try_echo
=$ac_try;;
18752 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18753 (eval "$ac_compile") 2>conftest.er1
18755 grep -v '^ *+' conftest.er1
>conftest.err
18757 cat conftest.err
>&5
18758 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18759 (exit $ac_status); } && {
18760 test -z "$ac_c_werror_flag" ||
18761 test ! -s conftest.err
18762 } && test -s conftest.
$ac_objext; then
18763 ac_lo
=$ac_mid; break
18765 echo "$as_me: failed program was:" >&5
18766 sed 's/^/| /' conftest.
$ac_ext >&5
18768 ac_hi
=`expr '(' $ac_mid ')' - 1`
18769 if test $ac_mid -le $ac_hi; then
18773 ac_mid
=`expr 2 '*' $ac_mid`
18776 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
18779 echo "$as_me: failed program was:" >&5
18780 sed 's/^/| /' conftest.
$ac_ext >&5
18785 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
18788 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
18789 # Binary search between lo and hi bounds.
18790 while test "x$ac_lo" != "x$ac_hi"; do
18791 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
18792 cat >conftest.
$ac_ext <<_ACEOF
18795 cat confdefs.h
>>conftest.
$ac_ext
18796 cat >>conftest.
$ac_ext <<_ACEOF
18797 /* end confdefs.h. */
18798 $ac_includes_default
18799 typedef void * ac__type_sizeof_;
18803 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
18810 rm -f conftest.
$ac_objext
18811 if { (ac_try
="$ac_compile"
18812 case "(($ac_try" in
18813 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
18814 *) ac_try_echo=$ac_try;;
18816 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18817 (eval "$ac_compile") 2>conftest.er1
18819 grep -v '^ *+' conftest.er1 >conftest.err
18821 cat conftest.err >&5
18822 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18823 (exit $ac_status); } && {
18824 test -z "$ac_c_werror_flag" ||
18825 test ! -s conftest.err
18826 } && test -s conftest.$ac_objext; then
18829 echo "$as_me: failed program was:" >&5
18830 sed 's/^/| /' conftest.$ac_ext >&5
18832 ac_lo=`expr '(' $ac_mid ')' + 1`
18835 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18838 ?*) ac_cv_sizeof_void_p=$ac_lo;;
18839 '') if test "$ac_cv_type_void_p" = yes; then
18840 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *)
18841 See \`config.log
' for more details." >&5
18842 echo "$as_me: error: cannot compute sizeof (void *)
18843 See \`config.log' for more details.
" >&2;}
18844 { (exit 77); exit 77; }; }
18846 ac_cv_sizeof_void_p=0
18850 cat >conftest.$ac_ext <<_ACEOF
18853 cat confdefs.h >>conftest.$ac_ext
18854 cat >>conftest.$ac_ext <<_ACEOF
18855 /* end confdefs.h. */
18856 $ac_includes_default
18857 typedef void * ac__type_sizeof_;
18858 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
18859 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
18861 #include <stdlib.h>
18866 FILE *f = fopen ("conftest.val
", "w
");
18869 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
18871 long int i = longval ();
18872 if (i != ((long int) (sizeof (ac__type_sizeof_))))
18874 fprintf (f, "%ld
\n", i);
18878 unsigned long int i = ulongval ();
18879 if (i != ((long int) (sizeof (ac__type_sizeof_))))
18881 fprintf (f, "%lu
\n", i);
18883 return ferror (f) || fclose (f) != 0;
18889 rm -f conftest$ac_exeext
18890 if { (ac_try="$ac_link"
18891 case "(($ac_try" in
18892 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18893 *) ac_try_echo=$ac_try;;
18895 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
18896 (eval "$ac_link") 2>&5
18898 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
18899 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
18900 { (case "(($ac_try" in
18901 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18902 *) ac_try_echo=$ac_try;;
18904 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
18905 (eval "$ac_try") 2>&5
18907 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
18908 (exit $ac_status); }; }; then
18909 ac_cv_sizeof_void_p=`cat conftest.val`
18911 echo "$as_me: program exited with status
$ac_status" >&5
18912 echo "$as_me: failed program was
:" >&5
18913 sed 's/^/| /' conftest.$ac_ext >&5
18915 ( exit $ac_status )
18916 if test "$ac_cv_type_void_p" = yes; then
18917 { { echo "$as_me:$LINENO: error
: cannot compute sizeof
(void
*)
18918 See \
`config.log' for more details." >&5
18919 echo "$as_me: error: cannot compute sizeof (void *)
18920 See \`config.log
' for more details." >&2;}
18921 { (exit 77); exit 77; }; }
18923 ac_cv_sizeof_void_p=0
18926 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
18930 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_void_p" >&5
18931 echo "${ECHO_T}$ac_cv_sizeof_void_p" >&6; }
18935 cat >>confdefs.h <<_ACEOF
18936 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
18940 { echo "$as_me:$LINENO: checking for int" >&5
18941 echo $ECHO_N "checking for int... $ECHO_C" >&6; }
18942 if test "${ac_cv_type_int+set}" = set; then
18943 echo $ECHO_N "(cached) $ECHO_C" >&6
18945 cat >conftest.$ac_ext <<_ACEOF
18948 cat confdefs.h >>conftest.$ac_ext
18949 cat >>conftest.$ac_ext <<_ACEOF
18950 /* end confdefs.h. */
18951 $ac_includes_default
18952 typedef int ac__type_new_;
18956 if ((ac__type_new_ *) 0)
18958 if (sizeof (ac__type_new_))
18964 rm -f conftest.$ac_objext
18965 if { (ac_try="$ac_compile"
18966 case "(($ac_try" in
18967 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18968 *) ac_try_echo=$ac_try;;
18970 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18971 (eval "$ac_compile") 2>conftest.er1
18973 grep -v '^
*+' conftest.er1 >conftest.err
18975 cat conftest.err >&5
18976 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18977 (exit $ac_status); } && {
18978 test -z "$ac_c_werror_flag" ||
18979 test ! -s conftest.err
18980 } && test -s conftest.$ac_objext; then
18983 echo "$as_me: failed program was:" >&5
18984 sed 's
/^
/| /' conftest.$ac_ext >&5
18989 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18991 { echo "$as_me:$LINENO: result: $ac_cv_type_int" >&5
18992 echo "${ECHO_T}$ac_cv_type_int" >&6; }
18994 # The cast to long int works around a bug in the HP C Compiler
18995 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
18996 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
18997 # This bug is HP SR number 8606223364.
18998 { echo "$as_me:$LINENO: checking size of int" >&5
18999 echo $ECHO_N "checking size of int... $ECHO_C" >&6; }
19000 if test "${ac_cv_sizeof_int+set}" = set; then
19001 echo $ECHO_N "(cached) $ECHO_C" >&6
19003 if test "$cross_compiling" = yes; then
19004 # Depending upon the size, compute the lo and hi bounds.
19005 cat >conftest.
$ac_ext <<_ACEOF
19008 cat confdefs.h
>>conftest.
$ac_ext
19009 cat >>conftest.
$ac_ext <<_ACEOF
19010 /* end confdefs.h. */
19011 $ac_includes_default
19012 typedef int ac__type_sizeof_;
19016 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
19023 rm -f conftest.
$ac_objext
19024 if { (ac_try
="$ac_compile"
19025 case "(($ac_try" in
19026 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
19027 *) ac_try_echo=$ac_try;;
19029 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19030 (eval "$ac_compile") 2>conftest.er1
19032 grep -v '^ *+' conftest.er1 >conftest.err
19034 cat conftest.err >&5
19035 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19036 (exit $ac_status); } && {
19037 test -z "$ac_c_werror_flag" ||
19038 test ! -s conftest.err
19039 } && test -s conftest.$ac_objext; then
19042 cat >conftest.$ac_ext <<_ACEOF
19045 cat confdefs.h >>conftest.$ac_ext
19046 cat >>conftest.$ac_ext <<_ACEOF
19047 /* end confdefs.h. */
19048 $ac_includes_default
19049 typedef int ac__type_sizeof_;
19053 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
19060 rm -f conftest.$ac_objext
19061 if { (ac_try="$ac_compile"
19062 case "(($ac_try" in
19063 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
19064 *) ac_try_echo
=$ac_try;;
19066 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19067 (eval "$ac_compile") 2>conftest.er1
19069 grep -v '^ *+' conftest.er1
>conftest.err
19071 cat conftest.err
>&5
19072 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19073 (exit $ac_status); } && {
19074 test -z "$ac_c_werror_flag" ||
19075 test ! -s conftest.err
19076 } && test -s conftest.
$ac_objext; then
19077 ac_hi
=$ac_mid; break
19079 echo "$as_me: failed program was:" >&5
19080 sed 's/^/| /' conftest.
$ac_ext >&5
19082 ac_lo
=`expr $ac_mid + 1`
19083 if test $ac_lo -le $ac_mid; then
19087 ac_mid
=`expr 2 '*' $ac_mid + 1`
19090 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
19093 echo "$as_me: failed program was:" >&5
19094 sed 's/^/| /' conftest.
$ac_ext >&5
19096 cat >conftest.
$ac_ext <<_ACEOF
19099 cat confdefs.h
>>conftest.
$ac_ext
19100 cat >>conftest.
$ac_ext <<_ACEOF
19101 /* end confdefs.h. */
19102 $ac_includes_default
19103 typedef int ac__type_sizeof_;
19107 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
19114 rm -f conftest.
$ac_objext
19115 if { (ac_try
="$ac_compile"
19116 case "(($ac_try" in
19117 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
19118 *) ac_try_echo=$ac_try;;
19120 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19121 (eval "$ac_compile") 2>conftest.er1
19123 grep -v '^ *+' conftest.er1 >conftest.err
19125 cat conftest.err >&5
19126 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19127 (exit $ac_status); } && {
19128 test -z "$ac_c_werror_flag" ||
19129 test ! -s conftest.err
19130 } && test -s conftest.$ac_objext; then
19133 cat >conftest.$ac_ext <<_ACEOF
19136 cat confdefs.h >>conftest.$ac_ext
19137 cat >>conftest.$ac_ext <<_ACEOF
19138 /* end confdefs.h. */
19139 $ac_includes_default
19140 typedef int ac__type_sizeof_;
19144 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
19151 rm -f conftest.$ac_objext
19152 if { (ac_try="$ac_compile"
19153 case "(($ac_try" in
19154 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
19155 *) ac_try_echo
=$ac_try;;
19157 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19158 (eval "$ac_compile") 2>conftest.er1
19160 grep -v '^ *+' conftest.er1
>conftest.err
19162 cat conftest.err
>&5
19163 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19164 (exit $ac_status); } && {
19165 test -z "$ac_c_werror_flag" ||
19166 test ! -s conftest.err
19167 } && test -s conftest.
$ac_objext; then
19168 ac_lo
=$ac_mid; break
19170 echo "$as_me: failed program was:" >&5
19171 sed 's/^/| /' conftest.
$ac_ext >&5
19173 ac_hi
=`expr '(' $ac_mid ')' - 1`
19174 if test $ac_mid -le $ac_hi; then
19178 ac_mid
=`expr 2 '*' $ac_mid`
19181 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
19184 echo "$as_me: failed program was:" >&5
19185 sed 's/^/| /' conftest.
$ac_ext >&5
19190 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
19193 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
19194 # Binary search between lo and hi bounds.
19195 while test "x$ac_lo" != "x$ac_hi"; do
19196 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
19197 cat >conftest.
$ac_ext <<_ACEOF
19200 cat confdefs.h
>>conftest.
$ac_ext
19201 cat >>conftest.
$ac_ext <<_ACEOF
19202 /* end confdefs.h. */
19203 $ac_includes_default
19204 typedef int ac__type_sizeof_;
19208 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
19215 rm -f conftest.
$ac_objext
19216 if { (ac_try
="$ac_compile"
19217 case "(($ac_try" in
19218 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
19219 *) ac_try_echo=$ac_try;;
19221 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19222 (eval "$ac_compile") 2>conftest.er1
19224 grep -v '^ *+' conftest.er1 >conftest.err
19226 cat conftest.err >&5
19227 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19228 (exit $ac_status); } && {
19229 test -z "$ac_c_werror_flag" ||
19230 test ! -s conftest.err
19231 } && test -s conftest.$ac_objext; then
19234 echo "$as_me: failed program was:" >&5
19235 sed 's/^/| /' conftest.$ac_ext >&5
19237 ac_lo=`expr '(' $ac_mid ')' + 1`
19240 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19243 ?*) ac_cv_sizeof_int=$ac_lo;;
19244 '') if test "$ac_cv_type_int" = yes; then
19245 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int)
19246 See \`config.log
' for more details." >&5
19247 echo "$as_me: error: cannot compute sizeof (int)
19248 See \`config.log' for more details.
" >&2;}
19249 { (exit 77); exit 77; }; }
19255 cat >conftest.$ac_ext <<_ACEOF
19258 cat confdefs.h >>conftest.$ac_ext
19259 cat >>conftest.$ac_ext <<_ACEOF
19260 /* end confdefs.h. */
19261 $ac_includes_default
19262 typedef int ac__type_sizeof_;
19263 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
19264 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
19266 #include <stdlib.h>
19271 FILE *f = fopen ("conftest.val
", "w
");
19274 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
19276 long int i = longval ();
19277 if (i != ((long int) (sizeof (ac__type_sizeof_))))
19279 fprintf (f, "%ld
\n", i);
19283 unsigned long int i = ulongval ();
19284 if (i != ((long int) (sizeof (ac__type_sizeof_))))
19286 fprintf (f, "%lu
\n", i);
19288 return ferror (f) || fclose (f) != 0;
19294 rm -f conftest$ac_exeext
19295 if { (ac_try="$ac_link"
19296 case "(($ac_try" in
19297 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19298 *) ac_try_echo=$ac_try;;
19300 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
19301 (eval "$ac_link") 2>&5
19303 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
19304 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
19305 { (case "(($ac_try" in
19306 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19307 *) ac_try_echo=$ac_try;;
19309 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
19310 (eval "$ac_try") 2>&5
19312 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
19313 (exit $ac_status); }; }; then
19314 ac_cv_sizeof_int=`cat conftest.val`
19316 echo "$as_me: program exited with status
$ac_status" >&5
19317 echo "$as_me: failed program was
:" >&5
19318 sed 's/^/| /' conftest.$ac_ext >&5
19320 ( exit $ac_status )
19321 if test "$ac_cv_type_int" = yes; then
19322 { { echo "$as_me:$LINENO: error
: cannot compute sizeof
(int
)
19323 See \
`config.log' for more details." >&5
19324 echo "$as_me: error: cannot compute sizeof (int)
19325 See \`config.log
' for more details." >&2;}
19326 { (exit 77); exit 77; }; }
19331 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
19335 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5
19336 echo "${ECHO_T}$ac_cv_sizeof_int" >&6; }
19340 cat >>confdefs.h <<_ACEOF
19341 #define SIZEOF_INT $ac_cv_sizeof_int
19345 { echo "$as_me:$LINENO: checking for long" >&5
19346 echo $ECHO_N "checking for long... $ECHO_C" >&6; }
19347 if test "${ac_cv_type_long+set}" = set; then
19348 echo $ECHO_N "(cached) $ECHO_C" >&6
19350 cat >conftest.$ac_ext <<_ACEOF
19353 cat confdefs.h >>conftest.$ac_ext
19354 cat >>conftest.$ac_ext <<_ACEOF
19355 /* end confdefs.h. */
19356 $ac_includes_default
19357 typedef long ac__type_new_;
19361 if ((ac__type_new_ *) 0)
19363 if (sizeof (ac__type_new_))
19369 rm -f conftest.$ac_objext
19370 if { (ac_try="$ac_compile"
19371 case "(($ac_try" in
19372 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19373 *) ac_try_echo=$ac_try;;
19375 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19376 (eval "$ac_compile") 2>conftest.er1
19378 grep -v '^
*+' conftest.er1 >conftest.err
19380 cat conftest.err >&5
19381 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19382 (exit $ac_status); } && {
19383 test -z "$ac_c_werror_flag" ||
19384 test ! -s conftest.err
19385 } && test -s conftest.$ac_objext; then
19386 ac_cv_type_long=yes
19388 echo "$as_me: failed program was:" >&5
19389 sed 's
/^
/| /' conftest.$ac_ext >&5
19394 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19396 { echo "$as_me:$LINENO: result: $ac_cv_type_long" >&5
19397 echo "${ECHO_T}$ac_cv_type_long" >&6; }
19399 # The cast to long int works around a bug in the HP C Compiler
19400 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
19401 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
19402 # This bug is HP SR number 8606223364.
19403 { echo "$as_me:$LINENO: checking size of long" >&5
19404 echo $ECHO_N "checking size of long... $ECHO_C" >&6; }
19405 if test "${ac_cv_sizeof_long+set}" = set; then
19406 echo $ECHO_N "(cached) $ECHO_C" >&6
19408 if test "$cross_compiling" = yes; then
19409 # Depending upon the size, compute the lo and hi bounds.
19410 cat >conftest.
$ac_ext <<_ACEOF
19413 cat confdefs.h
>>conftest.
$ac_ext
19414 cat >>conftest.
$ac_ext <<_ACEOF
19415 /* end confdefs.h. */
19416 $ac_includes_default
19417 typedef long ac__type_sizeof_;
19421 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
19428 rm -f conftest.
$ac_objext
19429 if { (ac_try
="$ac_compile"
19430 case "(($ac_try" in
19431 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
19432 *) ac_try_echo=$ac_try;;
19434 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19435 (eval "$ac_compile") 2>conftest.er1
19437 grep -v '^ *+' conftest.er1 >conftest.err
19439 cat conftest.err >&5
19440 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19441 (exit $ac_status); } && {
19442 test -z "$ac_c_werror_flag" ||
19443 test ! -s conftest.err
19444 } && test -s conftest.$ac_objext; then
19447 cat >conftest.$ac_ext <<_ACEOF
19450 cat confdefs.h >>conftest.$ac_ext
19451 cat >>conftest.$ac_ext <<_ACEOF
19452 /* end confdefs.h. */
19453 $ac_includes_default
19454 typedef long ac__type_sizeof_;
19458 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
19465 rm -f conftest.$ac_objext
19466 if { (ac_try="$ac_compile"
19467 case "(($ac_try" in
19468 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
19469 *) ac_try_echo
=$ac_try;;
19471 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19472 (eval "$ac_compile") 2>conftest.er1
19474 grep -v '^ *+' conftest.er1
>conftest.err
19476 cat conftest.err
>&5
19477 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19478 (exit $ac_status); } && {
19479 test -z "$ac_c_werror_flag" ||
19480 test ! -s conftest.err
19481 } && test -s conftest.
$ac_objext; then
19482 ac_hi
=$ac_mid; break
19484 echo "$as_me: failed program was:" >&5
19485 sed 's/^/| /' conftest.
$ac_ext >&5
19487 ac_lo
=`expr $ac_mid + 1`
19488 if test $ac_lo -le $ac_mid; then
19492 ac_mid
=`expr 2 '*' $ac_mid + 1`
19495 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
19498 echo "$as_me: failed program was:" >&5
19499 sed 's/^/| /' conftest.
$ac_ext >&5
19501 cat >conftest.
$ac_ext <<_ACEOF
19504 cat confdefs.h
>>conftest.
$ac_ext
19505 cat >>conftest.
$ac_ext <<_ACEOF
19506 /* end confdefs.h. */
19507 $ac_includes_default
19508 typedef long ac__type_sizeof_;
19512 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
19519 rm -f conftest.
$ac_objext
19520 if { (ac_try
="$ac_compile"
19521 case "(($ac_try" in
19522 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
19523 *) ac_try_echo=$ac_try;;
19525 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19526 (eval "$ac_compile") 2>conftest.er1
19528 grep -v '^ *+' conftest.er1 >conftest.err
19530 cat conftest.err >&5
19531 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19532 (exit $ac_status); } && {
19533 test -z "$ac_c_werror_flag" ||
19534 test ! -s conftest.err
19535 } && test -s conftest.$ac_objext; then
19538 cat >conftest.$ac_ext <<_ACEOF
19541 cat confdefs.h >>conftest.$ac_ext
19542 cat >>conftest.$ac_ext <<_ACEOF
19543 /* end confdefs.h. */
19544 $ac_includes_default
19545 typedef long ac__type_sizeof_;
19549 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
19556 rm -f conftest.$ac_objext
19557 if { (ac_try="$ac_compile"
19558 case "(($ac_try" in
19559 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
19560 *) ac_try_echo
=$ac_try;;
19562 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19563 (eval "$ac_compile") 2>conftest.er1
19565 grep -v '^ *+' conftest.er1
>conftest.err
19567 cat conftest.err
>&5
19568 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19569 (exit $ac_status); } && {
19570 test -z "$ac_c_werror_flag" ||
19571 test ! -s conftest.err
19572 } && test -s conftest.
$ac_objext; then
19573 ac_lo
=$ac_mid; break
19575 echo "$as_me: failed program was:" >&5
19576 sed 's/^/| /' conftest.
$ac_ext >&5
19578 ac_hi
=`expr '(' $ac_mid ')' - 1`
19579 if test $ac_mid -le $ac_hi; then
19583 ac_mid
=`expr 2 '*' $ac_mid`
19586 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
19589 echo "$as_me: failed program was:" >&5
19590 sed 's/^/| /' conftest.
$ac_ext >&5
19595 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
19598 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
19599 # Binary search between lo and hi bounds.
19600 while test "x$ac_lo" != "x$ac_hi"; do
19601 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
19602 cat >conftest.
$ac_ext <<_ACEOF
19605 cat confdefs.h
>>conftest.
$ac_ext
19606 cat >>conftest.
$ac_ext <<_ACEOF
19607 /* end confdefs.h. */
19608 $ac_includes_default
19609 typedef long ac__type_sizeof_;
19613 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
19620 rm -f conftest.
$ac_objext
19621 if { (ac_try
="$ac_compile"
19622 case "(($ac_try" in
19623 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
19624 *) ac_try_echo=$ac_try;;
19626 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19627 (eval "$ac_compile") 2>conftest.er1
19629 grep -v '^ *+' conftest.er1 >conftest.err
19631 cat conftest.err >&5
19632 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19633 (exit $ac_status); } && {
19634 test -z "$ac_c_werror_flag" ||
19635 test ! -s conftest.err
19636 } && test -s conftest.$ac_objext; then
19639 echo "$as_me: failed program was:" >&5
19640 sed 's/^/| /' conftest.$ac_ext >&5
19642 ac_lo=`expr '(' $ac_mid ')' + 1`
19645 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19648 ?*) ac_cv_sizeof_long=$ac_lo;;
19649 '') if test "$ac_cv_type_long" = yes; then
19650 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long)
19651 See \`config.log
' for more details." >&5
19652 echo "$as_me: error: cannot compute sizeof (long)
19653 See \`config.log' for more details.
" >&2;}
19654 { (exit 77); exit 77; }; }
19656 ac_cv_sizeof_long=0
19660 cat >conftest.$ac_ext <<_ACEOF
19663 cat confdefs.h >>conftest.$ac_ext
19664 cat >>conftest.$ac_ext <<_ACEOF
19665 /* end confdefs.h. */
19666 $ac_includes_default
19667 typedef long ac__type_sizeof_;
19668 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
19669 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
19671 #include <stdlib.h>
19676 FILE *f = fopen ("conftest.val
", "w
");
19679 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
19681 long int i = longval ();
19682 if (i != ((long int) (sizeof (ac__type_sizeof_))))
19684 fprintf (f, "%ld
\n", i);
19688 unsigned long int i = ulongval ();
19689 if (i != ((long int) (sizeof (ac__type_sizeof_))))
19691 fprintf (f, "%lu
\n", i);
19693 return ferror (f) || fclose (f) != 0;
19699 rm -f conftest$ac_exeext
19700 if { (ac_try="$ac_link"
19701 case "(($ac_try" in
19702 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19703 *) ac_try_echo=$ac_try;;
19705 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
19706 (eval "$ac_link") 2>&5
19708 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
19709 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
19710 { (case "(($ac_try" in
19711 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19712 *) ac_try_echo=$ac_try;;
19714 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
19715 (eval "$ac_try") 2>&5
19717 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
19718 (exit $ac_status); }; }; then
19719 ac_cv_sizeof_long=`cat conftest.val`
19721 echo "$as_me: program exited with status
$ac_status" >&5
19722 echo "$as_me: failed program was
:" >&5
19723 sed 's/^/| /' conftest.$ac_ext >&5
19725 ( exit $ac_status )
19726 if test "$ac_cv_type_long" = yes; then
19727 { { echo "$as_me:$LINENO: error
: cannot compute sizeof
(long
)
19728 See \
`config.log' for more details." >&5
19729 echo "$as_me: error: cannot compute sizeof (long)
19730 See \`config.log
' for more details." >&2;}
19731 { (exit 77); exit 77; }; }
19733 ac_cv_sizeof_long=0
19736 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
19740 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5
19741 echo "${ECHO_T}$ac_cv_sizeof_long" >&6; }
19745 cat >>confdefs.h <<_ACEOF
19746 #define SIZEOF_LONG $ac_cv_sizeof_long
19750 { echo "$as_me:$LINENO: checking for size_t" >&5
19751 echo $ECHO_N "checking for size_t... $ECHO_C" >&6; }
19752 if test "${ac_cv_type_size_t+set}" = set; then
19753 echo $ECHO_N "(cached) $ECHO_C" >&6
19755 cat >conftest.$ac_ext <<_ACEOF
19758 cat confdefs.h >>conftest.$ac_ext
19759 cat >>conftest.$ac_ext <<_ACEOF
19760 /* end confdefs.h. */
19761 $ac_includes_default
19762 typedef size_t ac__type_new_;
19766 if ((ac__type_new_ *) 0)
19768 if (sizeof (ac__type_new_))
19774 rm -f conftest.$ac_objext
19775 if { (ac_try="$ac_compile"
19776 case "(($ac_try" in
19777 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19778 *) ac_try_echo=$ac_try;;
19780 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19781 (eval "$ac_compile") 2>conftest.er1
19783 grep -v '^
*+' conftest.er1 >conftest.err
19785 cat conftest.err >&5
19786 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19787 (exit $ac_status); } && {
19788 test -z "$ac_c_werror_flag" ||
19789 test ! -s conftest.err
19790 } && test -s conftest.$ac_objext; then
19791 ac_cv_type_size_t=yes
19793 echo "$as_me: failed program was:" >&5
19794 sed 's
/^
/| /' conftest.$ac_ext >&5
19796 ac_cv_type_size_t=no
19799 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19801 { echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
19802 echo "${ECHO_T}$ac_cv_type_size_t" >&6; }
19804 # The cast to long int works around a bug in the HP C Compiler
19805 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
19806 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
19807 # This bug is HP SR number 8606223364.
19808 { echo "$as_me:$LINENO: checking size of size_t" >&5
19809 echo $ECHO_N "checking size of size_t... $ECHO_C" >&6; }
19810 if test "${ac_cv_sizeof_size_t+set}" = set; then
19811 echo $ECHO_N "(cached) $ECHO_C" >&6
19813 if test "$cross_compiling" = yes; then
19814 # Depending upon the size, compute the lo and hi bounds.
19815 cat >conftest.
$ac_ext <<_ACEOF
19818 cat confdefs.h
>>conftest.
$ac_ext
19819 cat >>conftest.
$ac_ext <<_ACEOF
19820 /* end confdefs.h. */
19821 $ac_includes_default
19822 typedef size_t ac__type_sizeof_;
19826 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
19833 rm -f conftest.
$ac_objext
19834 if { (ac_try
="$ac_compile"
19835 case "(($ac_try" in
19836 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
19837 *) ac_try_echo=$ac_try;;
19839 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19840 (eval "$ac_compile") 2>conftest.er1
19842 grep -v '^ *+' conftest.er1 >conftest.err
19844 cat conftest.err >&5
19845 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19846 (exit $ac_status); } && {
19847 test -z "$ac_c_werror_flag" ||
19848 test ! -s conftest.err
19849 } && test -s conftest.$ac_objext; then
19852 cat >conftest.$ac_ext <<_ACEOF
19855 cat confdefs.h >>conftest.$ac_ext
19856 cat >>conftest.$ac_ext <<_ACEOF
19857 /* end confdefs.h. */
19858 $ac_includes_default
19859 typedef size_t ac__type_sizeof_;
19863 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
19870 rm -f conftest.$ac_objext
19871 if { (ac_try="$ac_compile"
19872 case "(($ac_try" in
19873 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
19874 *) ac_try_echo
=$ac_try;;
19876 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19877 (eval "$ac_compile") 2>conftest.er1
19879 grep -v '^ *+' conftest.er1
>conftest.err
19881 cat conftest.err
>&5
19882 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19883 (exit $ac_status); } && {
19884 test -z "$ac_c_werror_flag" ||
19885 test ! -s conftest.err
19886 } && test -s conftest.
$ac_objext; then
19887 ac_hi
=$ac_mid; break
19889 echo "$as_me: failed program was:" >&5
19890 sed 's/^/| /' conftest.
$ac_ext >&5
19892 ac_lo
=`expr $ac_mid + 1`
19893 if test $ac_lo -le $ac_mid; then
19897 ac_mid
=`expr 2 '*' $ac_mid + 1`
19900 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
19903 echo "$as_me: failed program was:" >&5
19904 sed 's/^/| /' conftest.
$ac_ext >&5
19906 cat >conftest.
$ac_ext <<_ACEOF
19909 cat confdefs.h
>>conftest.
$ac_ext
19910 cat >>conftest.
$ac_ext <<_ACEOF
19911 /* end confdefs.h. */
19912 $ac_includes_default
19913 typedef size_t ac__type_sizeof_;
19917 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
19924 rm -f conftest.
$ac_objext
19925 if { (ac_try
="$ac_compile"
19926 case "(($ac_try" in
19927 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
19928 *) ac_try_echo=$ac_try;;
19930 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19931 (eval "$ac_compile") 2>conftest.er1
19933 grep -v '^ *+' conftest.er1 >conftest.err
19935 cat conftest.err >&5
19936 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19937 (exit $ac_status); } && {
19938 test -z "$ac_c_werror_flag" ||
19939 test ! -s conftest.err
19940 } && test -s conftest.$ac_objext; then
19943 cat >conftest.$ac_ext <<_ACEOF
19946 cat confdefs.h >>conftest.$ac_ext
19947 cat >>conftest.$ac_ext <<_ACEOF
19948 /* end confdefs.h. */
19949 $ac_includes_default
19950 typedef size_t ac__type_sizeof_;
19954 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
19961 rm -f conftest.$ac_objext
19962 if { (ac_try="$ac_compile"
19963 case "(($ac_try" in
19964 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
19965 *) ac_try_echo
=$ac_try;;
19967 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19968 (eval "$ac_compile") 2>conftest.er1
19970 grep -v '^ *+' conftest.er1
>conftest.err
19972 cat conftest.err
>&5
19973 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19974 (exit $ac_status); } && {
19975 test -z "$ac_c_werror_flag" ||
19976 test ! -s conftest.err
19977 } && test -s conftest.
$ac_objext; then
19978 ac_lo
=$ac_mid; break
19980 echo "$as_me: failed program was:" >&5
19981 sed 's/^/| /' conftest.
$ac_ext >&5
19983 ac_hi
=`expr '(' $ac_mid ')' - 1`
19984 if test $ac_mid -le $ac_hi; then
19988 ac_mid
=`expr 2 '*' $ac_mid`
19991 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
19994 echo "$as_me: failed program was:" >&5
19995 sed 's/^/| /' conftest.
$ac_ext >&5
20000 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20003 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20004 # Binary search between lo and hi bounds.
20005 while test "x$ac_lo" != "x$ac_hi"; do
20006 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
20007 cat >conftest.
$ac_ext <<_ACEOF
20010 cat confdefs.h
>>conftest.
$ac_ext
20011 cat >>conftest.
$ac_ext <<_ACEOF
20012 /* end confdefs.h. */
20013 $ac_includes_default
20014 typedef size_t ac__type_sizeof_;
20018 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
20025 rm -f conftest.
$ac_objext
20026 if { (ac_try
="$ac_compile"
20027 case "(($ac_try" in
20028 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
20029 *) ac_try_echo=$ac_try;;
20031 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20032 (eval "$ac_compile") 2>conftest.er1
20034 grep -v '^ *+' conftest.er1 >conftest.err
20036 cat conftest.err >&5
20037 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20038 (exit $ac_status); } && {
20039 test -z "$ac_c_werror_flag" ||
20040 test ! -s conftest.err
20041 } && test -s conftest.$ac_objext; then
20044 echo "$as_me: failed program was:" >&5
20045 sed 's/^/| /' conftest.$ac_ext >&5
20047 ac_lo=`expr '(' $ac_mid ')' + 1`
20050 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20053 ?*) ac_cv_sizeof_size_t=$ac_lo;;
20054 '') if test "$ac_cv_type_size_t" = yes; then
20055 { { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t)
20056 See \`config.log
' for more details." >&5
20057 echo "$as_me: error: cannot compute sizeof (size_t)
20058 See \`config.log' for more details.
" >&2;}
20059 { (exit 77); exit 77; }; }
20061 ac_cv_sizeof_size_t=0
20065 cat >conftest.$ac_ext <<_ACEOF
20068 cat confdefs.h >>conftest.$ac_ext
20069 cat >>conftest.$ac_ext <<_ACEOF
20070 /* end confdefs.h. */
20071 $ac_includes_default
20072 typedef size_t ac__type_sizeof_;
20073 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
20074 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
20076 #include <stdlib.h>
20081 FILE *f = fopen ("conftest.val
", "w
");
20084 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
20086 long int i = longval ();
20087 if (i != ((long int) (sizeof (ac__type_sizeof_))))
20089 fprintf (f, "%ld
\n", i);
20093 unsigned long int i = ulongval ();
20094 if (i != ((long int) (sizeof (ac__type_sizeof_))))
20096 fprintf (f, "%lu
\n", i);
20098 return ferror (f) || fclose (f) != 0;
20104 rm -f conftest$ac_exeext
20105 if { (ac_try="$ac_link"
20106 case "(($ac_try" in
20107 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20108 *) ac_try_echo=$ac_try;;
20110 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
20111 (eval "$ac_link") 2>&5
20113 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
20114 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
20115 { (case "(($ac_try" in
20116 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20117 *) ac_try_echo=$ac_try;;
20119 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
20120 (eval "$ac_try") 2>&5
20122 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
20123 (exit $ac_status); }; }; then
20124 ac_cv_sizeof_size_t=`cat conftest.val`
20126 echo "$as_me: program exited with status
$ac_status" >&5
20127 echo "$as_me: failed program was
:" >&5
20128 sed 's/^/| /' conftest.$ac_ext >&5
20130 ( exit $ac_status )
20131 if test "$ac_cv_type_size_t" = yes; then
20132 { { echo "$as_me:$LINENO: error
: cannot compute sizeof
(size_t
)
20133 See \
`config.log' for more details." >&5
20134 echo "$as_me: error: cannot compute sizeof (size_t)
20135 See \`config.log
' for more details." >&2;}
20136 { (exit 77); exit 77; }; }
20138 ac_cv_sizeof_size_t=0
20141 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20145 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_size_t" >&5
20146 echo "${ECHO_T}$ac_cv_sizeof_size_t" >&6; }
20150 cat >>confdefs.h <<_ACEOF
20151 #define SIZEOF_SIZE_T $ac_cv_sizeof_size_t
20158 { echo "$as_me:$LINENO: checking for long long" >&5
20159 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
20160 if test "${ac_cv_type_long_long+set}" = set; then
20161 echo $ECHO_N "(cached) $ECHO_C" >&6
20163 cat >conftest.$ac_ext <<_ACEOF
20166 cat confdefs.h >>conftest.$ac_ext
20167 cat >>conftest.$ac_ext <<_ACEOF
20168 /* end confdefs.h. */
20169 $ac_includes_default
20170 typedef long long ac__type_new_;
20174 if ((ac__type_new_ *) 0)
20176 if (sizeof (ac__type_new_))
20182 rm -f conftest.$ac_objext
20183 if { (ac_try="$ac_compile"
20184 case "(($ac_try" in
20185 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20186 *) ac_try_echo=$ac_try;;
20188 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20189 (eval "$ac_compile") 2>conftest.er1
20191 grep -v '^
*+' conftest.er1 >conftest.err
20193 cat conftest.err >&5
20194 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20195 (exit $ac_status); } && {
20196 test -z "$ac_c_werror_flag" ||
20197 test ! -s conftest.err
20198 } && test -s conftest.$ac_objext; then
20199 ac_cv_type_long_long=yes
20201 echo "$as_me: failed program was:" >&5
20202 sed 's
/^
/| /' conftest.$ac_ext >&5
20204 ac_cv_type_long_long=no
20207 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20209 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
20210 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
20212 # The cast to long int works around a bug in the HP C Compiler
20213 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20214 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20215 # This bug is HP SR number 8606223364.
20216 { echo "$as_me:$LINENO: checking size of long long" >&5
20217 echo $ECHO_N "checking size of long long... $ECHO_C" >&6; }
20218 if test "${ac_cv_sizeof_long_long+set}" = set; then
20219 echo $ECHO_N "(cached) $ECHO_C" >&6
20221 if test "$cross_compiling" = yes; then
20222 # Depending upon the size, compute the lo and hi bounds.
20223 cat >conftest.
$ac_ext <<_ACEOF
20226 cat confdefs.h
>>conftest.
$ac_ext
20227 cat >>conftest.
$ac_ext <<_ACEOF
20228 /* end confdefs.h. */
20229 $ac_includes_default
20230 typedef long long ac__type_sizeof_;
20234 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
20241 rm -f conftest.
$ac_objext
20242 if { (ac_try
="$ac_compile"
20243 case "(($ac_try" in
20244 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
20245 *) ac_try_echo=$ac_try;;
20247 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20248 (eval "$ac_compile") 2>conftest.er1
20250 grep -v '^ *+' conftest.er1 >conftest.err
20252 cat conftest.err >&5
20253 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20254 (exit $ac_status); } && {
20255 test -z "$ac_c_werror_flag" ||
20256 test ! -s conftest.err
20257 } && test -s conftest.$ac_objext; then
20260 cat >conftest.$ac_ext <<_ACEOF
20263 cat confdefs.h >>conftest.$ac_ext
20264 cat >>conftest.$ac_ext <<_ACEOF
20265 /* end confdefs.h. */
20266 $ac_includes_default
20267 typedef long long ac__type_sizeof_;
20271 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
20278 rm -f conftest.$ac_objext
20279 if { (ac_try="$ac_compile"
20280 case "(($ac_try" in
20281 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
20282 *) ac_try_echo
=$ac_try;;
20284 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20285 (eval "$ac_compile") 2>conftest.er1
20287 grep -v '^ *+' conftest.er1
>conftest.err
20289 cat conftest.err
>&5
20290 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20291 (exit $ac_status); } && {
20292 test -z "$ac_c_werror_flag" ||
20293 test ! -s conftest.err
20294 } && test -s conftest.
$ac_objext; then
20295 ac_hi
=$ac_mid; break
20297 echo "$as_me: failed program was:" >&5
20298 sed 's/^/| /' conftest.
$ac_ext >&5
20300 ac_lo
=`expr $ac_mid + 1`
20301 if test $ac_lo -le $ac_mid; then
20305 ac_mid
=`expr 2 '*' $ac_mid + 1`
20308 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20311 echo "$as_me: failed program was:" >&5
20312 sed 's/^/| /' conftest.
$ac_ext >&5
20314 cat >conftest.
$ac_ext <<_ACEOF
20317 cat confdefs.h
>>conftest.
$ac_ext
20318 cat >>conftest.
$ac_ext <<_ACEOF
20319 /* end confdefs.h. */
20320 $ac_includes_default
20321 typedef long long ac__type_sizeof_;
20325 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
20332 rm -f conftest.
$ac_objext
20333 if { (ac_try
="$ac_compile"
20334 case "(($ac_try" in
20335 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
20336 *) ac_try_echo=$ac_try;;
20338 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20339 (eval "$ac_compile") 2>conftest.er1
20341 grep -v '^ *+' conftest.er1 >conftest.err
20343 cat conftest.err >&5
20344 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20345 (exit $ac_status); } && {
20346 test -z "$ac_c_werror_flag" ||
20347 test ! -s conftest.err
20348 } && test -s conftest.$ac_objext; then
20351 cat >conftest.$ac_ext <<_ACEOF
20354 cat confdefs.h >>conftest.$ac_ext
20355 cat >>conftest.$ac_ext <<_ACEOF
20356 /* end confdefs.h. */
20357 $ac_includes_default
20358 typedef long long ac__type_sizeof_;
20362 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
20369 rm -f conftest.$ac_objext
20370 if { (ac_try="$ac_compile"
20371 case "(($ac_try" in
20372 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
20373 *) ac_try_echo
=$ac_try;;
20375 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20376 (eval "$ac_compile") 2>conftest.er1
20378 grep -v '^ *+' conftest.er1
>conftest.err
20380 cat conftest.err
>&5
20381 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20382 (exit $ac_status); } && {
20383 test -z "$ac_c_werror_flag" ||
20384 test ! -s conftest.err
20385 } && test -s conftest.
$ac_objext; then
20386 ac_lo
=$ac_mid; break
20388 echo "$as_me: failed program was:" >&5
20389 sed 's/^/| /' conftest.
$ac_ext >&5
20391 ac_hi
=`expr '(' $ac_mid ')' - 1`
20392 if test $ac_mid -le $ac_hi; then
20396 ac_mid
=`expr 2 '*' $ac_mid`
20399 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20402 echo "$as_me: failed program was:" >&5
20403 sed 's/^/| /' conftest.
$ac_ext >&5
20408 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20411 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20412 # Binary search between lo and hi bounds.
20413 while test "x$ac_lo" != "x$ac_hi"; do
20414 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
20415 cat >conftest.
$ac_ext <<_ACEOF
20418 cat confdefs.h
>>conftest.
$ac_ext
20419 cat >>conftest.
$ac_ext <<_ACEOF
20420 /* end confdefs.h. */
20421 $ac_includes_default
20422 typedef long long ac__type_sizeof_;
20426 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
20433 rm -f conftest.
$ac_objext
20434 if { (ac_try
="$ac_compile"
20435 case "(($ac_try" in
20436 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
20437 *) ac_try_echo=$ac_try;;
20439 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20440 (eval "$ac_compile") 2>conftest.er1
20442 grep -v '^ *+' conftest.er1 >conftest.err
20444 cat conftest.err >&5
20445 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20446 (exit $ac_status); } && {
20447 test -z "$ac_c_werror_flag" ||
20448 test ! -s conftest.err
20449 } && test -s conftest.$ac_objext; then
20452 echo "$as_me: failed program was:" >&5
20453 sed 's/^/| /' conftest.$ac_ext >&5
20455 ac_lo=`expr '(' $ac_mid ')' + 1`
20458 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20461 ?*) ac_cv_sizeof_long_long=$ac_lo;;
20462 '') if test "$ac_cv_type_long_long" = yes; then
20463 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
20464 See \`config.log
' for more details." >&5
20465 echo "$as_me: error: cannot compute sizeof (long long)
20466 See \`config.log' for more details.
" >&2;}
20467 { (exit 77); exit 77; }; }
20469 ac_cv_sizeof_long_long=0
20473 cat >conftest.$ac_ext <<_ACEOF
20476 cat confdefs.h >>conftest.$ac_ext
20477 cat >>conftest.$ac_ext <<_ACEOF
20478 /* end confdefs.h. */
20479 $ac_includes_default
20480 typedef long long ac__type_sizeof_;
20481 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
20482 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
20484 #include <stdlib.h>
20489 FILE *f = fopen ("conftest.val
", "w
");
20492 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
20494 long int i = longval ();
20495 if (i != ((long int) (sizeof (ac__type_sizeof_))))
20497 fprintf (f, "%ld
\n", i);
20501 unsigned long int i = ulongval ();
20502 if (i != ((long int) (sizeof (ac__type_sizeof_))))
20504 fprintf (f, "%lu
\n", i);
20506 return ferror (f) || fclose (f) != 0;
20512 rm -f conftest$ac_exeext
20513 if { (ac_try="$ac_link"
20514 case "(($ac_try" in
20515 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20516 *) ac_try_echo=$ac_try;;
20518 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
20519 (eval "$ac_link") 2>&5
20521 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
20522 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
20523 { (case "(($ac_try" in
20524 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20525 *) ac_try_echo=$ac_try;;
20527 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
20528 (eval "$ac_try") 2>&5
20530 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
20531 (exit $ac_status); }; }; then
20532 ac_cv_sizeof_long_long=`cat conftest.val`
20534 echo "$as_me: program exited with status
$ac_status" >&5
20535 echo "$as_me: failed program was
:" >&5
20536 sed 's/^/| /' conftest.$ac_ext >&5
20538 ( exit $ac_status )
20539 if test "$ac_cv_type_long_long" = yes; then
20540 { { echo "$as_me:$LINENO: error
: cannot compute sizeof
(long long
)
20541 See \
`config.log' for more details." >&5
20542 echo "$as_me: error: cannot compute sizeof (long long)
20543 See \`config.log
' for more details." >&2;}
20544 { (exit 77); exit 77; }; }
20546 ac_cv_sizeof_long_long=0
20549 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20553 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
20554 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6; }
20558 cat >>confdefs.h <<_ACEOF
20559 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
20565 { echo "$as_me:$LINENO: checking for long long" >&5
20566 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
20567 if test "${ac_cv_type_long_long+set}" = set; then
20568 echo $ECHO_N "(cached) $ECHO_C" >&6
20570 cat >conftest.$ac_ext <<_ACEOF
20573 cat confdefs.h >>conftest.$ac_ext
20574 cat >>conftest.$ac_ext <<_ACEOF
20575 /* end confdefs.h. */
20576 $ac_includes_default
20577 typedef long long ac__type_new_;
20581 if ((ac__type_new_ *) 0)
20583 if (sizeof (ac__type_new_))
20589 rm -f conftest.$ac_objext
20590 if { (ac_try="$ac_compile"
20591 case "(($ac_try" in
20592 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20593 *) ac_try_echo=$ac_try;;
20595 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20596 (eval "$ac_compile") 2>conftest.er1
20598 grep -v '^
*+' conftest.er1 >conftest.err
20600 cat conftest.err >&5
20601 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20602 (exit $ac_status); } && {
20603 test -z "$ac_c_werror_flag" ||
20604 test ! -s conftest.err
20605 } && test -s conftest.$ac_objext; then
20606 ac_cv_type_long_long=yes
20608 echo "$as_me: failed program was:" >&5
20609 sed 's
/^
/| /' conftest.$ac_ext >&5
20611 ac_cv_type_long_long=no
20614 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20616 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
20617 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
20619 # The cast to long int works around a bug in the HP C Compiler
20620 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20621 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20622 # This bug is HP SR number 8606223364.
20623 { echo "$as_me:$LINENO: checking size of long long" >&5
20624 echo $ECHO_N "checking size of long long... $ECHO_C" >&6; }
20625 if test "${ac_cv_sizeof_long_long+set}" = set; then
20626 echo $ECHO_N "(cached) $ECHO_C" >&6
20628 if test "$cross_compiling" = yes; then
20629 # Depending upon the size, compute the lo and hi bounds.
20630 cat >conftest.
$ac_ext <<_ACEOF
20633 cat confdefs.h
>>conftest.
$ac_ext
20634 cat >>conftest.
$ac_ext <<_ACEOF
20635 /* end confdefs.h. */
20636 $ac_includes_default
20637 typedef long long ac__type_sizeof_;
20641 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
20648 rm -f conftest.
$ac_objext
20649 if { (ac_try
="$ac_compile"
20650 case "(($ac_try" in
20651 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
20652 *) ac_try_echo=$ac_try;;
20654 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20655 (eval "$ac_compile") 2>conftest.er1
20657 grep -v '^ *+' conftest.er1 >conftest.err
20659 cat conftest.err >&5
20660 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20661 (exit $ac_status); } && {
20662 test -z "$ac_c_werror_flag" ||
20663 test ! -s conftest.err
20664 } && test -s conftest.$ac_objext; then
20667 cat >conftest.$ac_ext <<_ACEOF
20670 cat confdefs.h >>conftest.$ac_ext
20671 cat >>conftest.$ac_ext <<_ACEOF
20672 /* end confdefs.h. */
20673 $ac_includes_default
20674 typedef long long ac__type_sizeof_;
20678 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
20685 rm -f conftest.$ac_objext
20686 if { (ac_try="$ac_compile"
20687 case "(($ac_try" in
20688 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
20689 *) ac_try_echo
=$ac_try;;
20691 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20692 (eval "$ac_compile") 2>conftest.er1
20694 grep -v '^ *+' conftest.er1
>conftest.err
20696 cat conftest.err
>&5
20697 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20698 (exit $ac_status); } && {
20699 test -z "$ac_c_werror_flag" ||
20700 test ! -s conftest.err
20701 } && test -s conftest.
$ac_objext; then
20702 ac_hi
=$ac_mid; break
20704 echo "$as_me: failed program was:" >&5
20705 sed 's/^/| /' conftest.
$ac_ext >&5
20707 ac_lo
=`expr $ac_mid + 1`
20708 if test $ac_lo -le $ac_mid; then
20712 ac_mid
=`expr 2 '*' $ac_mid + 1`
20715 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20718 echo "$as_me: failed program was:" >&5
20719 sed 's/^/| /' conftest.
$ac_ext >&5
20721 cat >conftest.
$ac_ext <<_ACEOF
20724 cat confdefs.h
>>conftest.
$ac_ext
20725 cat >>conftest.
$ac_ext <<_ACEOF
20726 /* end confdefs.h. */
20727 $ac_includes_default
20728 typedef long long ac__type_sizeof_;
20732 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
20739 rm -f conftest.
$ac_objext
20740 if { (ac_try
="$ac_compile"
20741 case "(($ac_try" in
20742 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
20743 *) ac_try_echo=$ac_try;;
20745 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20746 (eval "$ac_compile") 2>conftest.er1
20748 grep -v '^ *+' conftest.er1 >conftest.err
20750 cat conftest.err >&5
20751 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20752 (exit $ac_status); } && {
20753 test -z "$ac_c_werror_flag" ||
20754 test ! -s conftest.err
20755 } && test -s conftest.$ac_objext; then
20758 cat >conftest.$ac_ext <<_ACEOF
20761 cat confdefs.h >>conftest.$ac_ext
20762 cat >>conftest.$ac_ext <<_ACEOF
20763 /* end confdefs.h. */
20764 $ac_includes_default
20765 typedef long long ac__type_sizeof_;
20769 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
20776 rm -f conftest.$ac_objext
20777 if { (ac_try="$ac_compile"
20778 case "(($ac_try" in
20779 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
20780 *) ac_try_echo
=$ac_try;;
20782 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20783 (eval "$ac_compile") 2>conftest.er1
20785 grep -v '^ *+' conftest.er1
>conftest.err
20787 cat conftest.err
>&5
20788 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20789 (exit $ac_status); } && {
20790 test -z "$ac_c_werror_flag" ||
20791 test ! -s conftest.err
20792 } && test -s conftest.
$ac_objext; then
20793 ac_lo
=$ac_mid; break
20795 echo "$as_me: failed program was:" >&5
20796 sed 's/^/| /' conftest.
$ac_ext >&5
20798 ac_hi
=`expr '(' $ac_mid ')' - 1`
20799 if test $ac_mid -le $ac_hi; then
20803 ac_mid
=`expr 2 '*' $ac_mid`
20806 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20809 echo "$as_me: failed program was:" >&5
20810 sed 's/^/| /' conftest.
$ac_ext >&5
20815 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20818 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20819 # Binary search between lo and hi bounds.
20820 while test "x$ac_lo" != "x$ac_hi"; do
20821 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
20822 cat >conftest.
$ac_ext <<_ACEOF
20825 cat confdefs.h
>>conftest.
$ac_ext
20826 cat >>conftest.
$ac_ext <<_ACEOF
20827 /* end confdefs.h. */
20828 $ac_includes_default
20829 typedef long long ac__type_sizeof_;
20833 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
20840 rm -f conftest.
$ac_objext
20841 if { (ac_try
="$ac_compile"
20842 case "(($ac_try" in
20843 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
20844 *) ac_try_echo=$ac_try;;
20846 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20847 (eval "$ac_compile") 2>conftest.er1
20849 grep -v '^ *+' conftest.er1 >conftest.err
20851 cat conftest.err >&5
20852 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20853 (exit $ac_status); } && {
20854 test -z "$ac_c_werror_flag" ||
20855 test ! -s conftest.err
20856 } && test -s conftest.$ac_objext; then
20859 echo "$as_me: failed program was:" >&5
20860 sed 's/^/| /' conftest.$ac_ext >&5
20862 ac_lo=`expr '(' $ac_mid ')' + 1`
20865 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20868 ?*) ac_cv_sizeof_long_long=$ac_lo;;
20869 '') if test "$ac_cv_type_long_long" = yes; then
20870 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
20871 See \`config.log
' for more details." >&5
20872 echo "$as_me: error: cannot compute sizeof (long long)
20873 See \`config.log' for more details.
" >&2;}
20874 { (exit 77); exit 77; }; }
20876 ac_cv_sizeof_long_long=0
20880 cat >conftest.$ac_ext <<_ACEOF
20883 cat confdefs.h >>conftest.$ac_ext
20884 cat >>conftest.$ac_ext <<_ACEOF
20885 /* end confdefs.h. */
20886 $ac_includes_default
20887 typedef long long ac__type_sizeof_;
20888 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
20889 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
20891 #include <stdlib.h>
20896 FILE *f = fopen ("conftest.val
", "w
");
20899 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
20901 long int i = longval ();
20902 if (i != ((long int) (sizeof (ac__type_sizeof_))))
20904 fprintf (f, "%ld
\n", i);
20908 unsigned long int i = ulongval ();
20909 if (i != ((long int) (sizeof (ac__type_sizeof_))))
20911 fprintf (f, "%lu
\n", i);
20913 return ferror (f) || fclose (f) != 0;
20919 rm -f conftest$ac_exeext
20920 if { (ac_try="$ac_link"
20921 case "(($ac_try" in
20922 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20923 *) ac_try_echo=$ac_try;;
20925 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
20926 (eval "$ac_link") 2>&5
20928 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
20929 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
20930 { (case "(($ac_try" in
20931 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20932 *) ac_try_echo=$ac_try;;
20934 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
20935 (eval "$ac_try") 2>&5
20937 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
20938 (exit $ac_status); }; }; then
20939 ac_cv_sizeof_long_long=`cat conftest.val`
20941 echo "$as_me: program exited with status
$ac_status" >&5
20942 echo "$as_me: failed program was
:" >&5
20943 sed 's/^/| /' conftest.$ac_ext >&5
20945 ( exit $ac_status )
20946 if test "$ac_cv_type_long_long" = yes; then
20947 { { echo "$as_me:$LINENO: error
: cannot compute sizeof
(long long
)
20948 See \
`config.log' for more details." >&5
20949 echo "$as_me: error: cannot compute sizeof (long long)
20950 See \`config.log
' for more details." >&2;}
20951 { (exit 77); exit 77; }; }
20953 ac_cv_sizeof_long_long=0
20956 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20960 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
20961 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6; }
20965 cat >>confdefs.h <<_ACEOF
20966 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
20970 if test "$ac_cv_sizeof_long_long" != "0"; then
20971 CPPFLAGS="-D_INCLUDE_LONGLONG $CPPFLAGS"
20975 { echo "$as_me:$LINENO: checking for long long" >&5
20976 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
20977 if test "${ac_cv_type_long_long+set}" = set; then
20978 echo $ECHO_N "(cached) $ECHO_C" >&6
20980 cat >conftest.$ac_ext <<_ACEOF
20983 cat confdefs.h >>conftest.$ac_ext
20984 cat >>conftest.$ac_ext <<_ACEOF
20985 /* end confdefs.h. */
20986 $ac_includes_default
20987 typedef long long ac__type_new_;
20991 if ((ac__type_new_ *) 0)
20993 if (sizeof (ac__type_new_))
20999 rm -f conftest.$ac_objext
21000 if { (ac_try="$ac_compile"
21001 case "(($ac_try" in
21002 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21003 *) ac_try_echo=$ac_try;;
21005 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21006 (eval "$ac_compile") 2>conftest.er1
21008 grep -v '^
*+' conftest.er1 >conftest.err
21010 cat conftest.err >&5
21011 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21012 (exit $ac_status); } && {
21013 test -z "$ac_c_werror_flag" ||
21014 test ! -s conftest.err
21015 } && test -s conftest.$ac_objext; then
21016 ac_cv_type_long_long=yes
21018 echo "$as_me: failed program was:" >&5
21019 sed 's
/^
/| /' conftest.$ac_ext >&5
21021 ac_cv_type_long_long=no
21024 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21026 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
21027 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
21029 # The cast to long int works around a bug in the HP C Compiler
21030 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
21031 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
21032 # This bug is HP SR number 8606223364.
21033 { echo "$as_me:$LINENO: checking size of long long" >&5
21034 echo $ECHO_N "checking size of long long... $ECHO_C" >&6; }
21035 if test "${ac_cv_sizeof_long_long+set}" = set; then
21036 echo $ECHO_N "(cached) $ECHO_C" >&6
21038 if test "$cross_compiling" = yes; then
21039 # Depending upon the size, compute the lo and hi bounds.
21040 cat >conftest.
$ac_ext <<_ACEOF
21043 cat confdefs.h
>>conftest.
$ac_ext
21044 cat >>conftest.
$ac_ext <<_ACEOF
21045 /* end confdefs.h. */
21046 $ac_includes_default
21047 typedef long long ac__type_sizeof_;
21051 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
21058 rm -f conftest.
$ac_objext
21059 if { (ac_try
="$ac_compile"
21060 case "(($ac_try" in
21061 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
21062 *) ac_try_echo=$ac_try;;
21064 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21065 (eval "$ac_compile") 2>conftest.er1
21067 grep -v '^ *+' conftest.er1 >conftest.err
21069 cat conftest.err >&5
21070 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21071 (exit $ac_status); } && {
21072 test -z "$ac_c_werror_flag" ||
21073 test ! -s conftest.err
21074 } && test -s conftest.$ac_objext; then
21077 cat >conftest.$ac_ext <<_ACEOF
21080 cat confdefs.h >>conftest.$ac_ext
21081 cat >>conftest.$ac_ext <<_ACEOF
21082 /* end confdefs.h. */
21083 $ac_includes_default
21084 typedef long long ac__type_sizeof_;
21088 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21095 rm -f conftest.$ac_objext
21096 if { (ac_try="$ac_compile"
21097 case "(($ac_try" in
21098 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
21099 *) ac_try_echo
=$ac_try;;
21101 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21102 (eval "$ac_compile") 2>conftest.er1
21104 grep -v '^ *+' conftest.er1
>conftest.err
21106 cat conftest.err
>&5
21107 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21108 (exit $ac_status); } && {
21109 test -z "$ac_c_werror_flag" ||
21110 test ! -s conftest.err
21111 } && test -s conftest.
$ac_objext; then
21112 ac_hi
=$ac_mid; break
21114 echo "$as_me: failed program was:" >&5
21115 sed 's/^/| /' conftest.
$ac_ext >&5
21117 ac_lo
=`expr $ac_mid + 1`
21118 if test $ac_lo -le $ac_mid; then
21122 ac_mid
=`expr 2 '*' $ac_mid + 1`
21125 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21128 echo "$as_me: failed program was:" >&5
21129 sed 's/^/| /' conftest.
$ac_ext >&5
21131 cat >conftest.
$ac_ext <<_ACEOF
21134 cat confdefs.h
>>conftest.
$ac_ext
21135 cat >>conftest.
$ac_ext <<_ACEOF
21136 /* end confdefs.h. */
21137 $ac_includes_default
21138 typedef long long ac__type_sizeof_;
21142 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
21149 rm -f conftest.
$ac_objext
21150 if { (ac_try
="$ac_compile"
21151 case "(($ac_try" in
21152 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
21153 *) ac_try_echo=$ac_try;;
21155 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21156 (eval "$ac_compile") 2>conftest.er1
21158 grep -v '^ *+' conftest.er1 >conftest.err
21160 cat conftest.err >&5
21161 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21162 (exit $ac_status); } && {
21163 test -z "$ac_c_werror_flag" ||
21164 test ! -s conftest.err
21165 } && test -s conftest.$ac_objext; then
21168 cat >conftest.$ac_ext <<_ACEOF
21171 cat confdefs.h >>conftest.$ac_ext
21172 cat >>conftest.$ac_ext <<_ACEOF
21173 /* end confdefs.h. */
21174 $ac_includes_default
21175 typedef long long ac__type_sizeof_;
21179 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
21186 rm -f conftest.$ac_objext
21187 if { (ac_try="$ac_compile"
21188 case "(($ac_try" in
21189 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
21190 *) ac_try_echo
=$ac_try;;
21192 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21193 (eval "$ac_compile") 2>conftest.er1
21195 grep -v '^ *+' conftest.er1
>conftest.err
21197 cat conftest.err
>&5
21198 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21199 (exit $ac_status); } && {
21200 test -z "$ac_c_werror_flag" ||
21201 test ! -s conftest.err
21202 } && test -s conftest.
$ac_objext; then
21203 ac_lo
=$ac_mid; break
21205 echo "$as_me: failed program was:" >&5
21206 sed 's/^/| /' conftest.
$ac_ext >&5
21208 ac_hi
=`expr '(' $ac_mid ')' - 1`
21209 if test $ac_mid -le $ac_hi; then
21213 ac_mid
=`expr 2 '*' $ac_mid`
21216 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21219 echo "$as_me: failed program was:" >&5
21220 sed 's/^/| /' conftest.
$ac_ext >&5
21225 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21228 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21229 # Binary search between lo and hi bounds.
21230 while test "x$ac_lo" != "x$ac_hi"; do
21231 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
21232 cat >conftest.
$ac_ext <<_ACEOF
21235 cat confdefs.h
>>conftest.
$ac_ext
21236 cat >>conftest.
$ac_ext <<_ACEOF
21237 /* end confdefs.h. */
21238 $ac_includes_default
21239 typedef long long ac__type_sizeof_;
21243 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21250 rm -f conftest.
$ac_objext
21251 if { (ac_try
="$ac_compile"
21252 case "(($ac_try" in
21253 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
21254 *) ac_try_echo=$ac_try;;
21256 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21257 (eval "$ac_compile") 2>conftest.er1
21259 grep -v '^ *+' conftest.er1 >conftest.err
21261 cat conftest.err >&5
21262 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21263 (exit $ac_status); } && {
21264 test -z "$ac_c_werror_flag" ||
21265 test ! -s conftest.err
21266 } && test -s conftest.$ac_objext; then
21269 echo "$as_me: failed program was:" >&5
21270 sed 's/^/| /' conftest.$ac_ext >&5
21272 ac_lo=`expr '(' $ac_mid ')' + 1`
21275 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21278 ?*) ac_cv_sizeof_long_long=$ac_lo;;
21279 '') if test "$ac_cv_type_long_long" = yes; then
21280 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
21281 See \`config.log
' for more details." >&5
21282 echo "$as_me: error: cannot compute sizeof (long long)
21283 See \`config.log' for more details.
" >&2;}
21284 { (exit 77); exit 77; }; }
21286 ac_cv_sizeof_long_long=0
21290 cat >conftest.$ac_ext <<_ACEOF
21293 cat confdefs.h >>conftest.$ac_ext
21294 cat >>conftest.$ac_ext <<_ACEOF
21295 /* end confdefs.h. */
21296 $ac_includes_default
21297 typedef long long ac__type_sizeof_;
21298 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
21299 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
21301 #include <stdlib.h>
21306 FILE *f = fopen ("conftest.val
", "w
");
21309 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
21311 long int i = longval ();
21312 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21314 fprintf (f, "%ld
\n", i);
21318 unsigned long int i = ulongval ();
21319 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21321 fprintf (f, "%lu
\n", i);
21323 return ferror (f) || fclose (f) != 0;
21329 rm -f conftest$ac_exeext
21330 if { (ac_try="$ac_link"
21331 case "(($ac_try" in
21332 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21333 *) ac_try_echo=$ac_try;;
21335 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
21336 (eval "$ac_link") 2>&5
21338 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
21339 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
21340 { (case "(($ac_try" in
21341 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21342 *) ac_try_echo=$ac_try;;
21344 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
21345 (eval "$ac_try") 2>&5
21347 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
21348 (exit $ac_status); }; }; then
21349 ac_cv_sizeof_long_long=`cat conftest.val`
21351 echo "$as_me: program exited with status
$ac_status" >&5
21352 echo "$as_me: failed program was
:" >&5
21353 sed 's/^/| /' conftest.$ac_ext >&5
21355 ( exit $ac_status )
21356 if test "$ac_cv_type_long_long" = yes; then
21357 { { echo "$as_me:$LINENO: error
: cannot compute sizeof
(long long
)
21358 See \
`config.log' for more details." >&5
21359 echo "$as_me: error: cannot compute sizeof (long long)
21360 See \`config.log
' for more details." >&2;}
21361 { (exit 77); exit 77; }; }
21363 ac_cv_sizeof_long_long=0
21366 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
21370 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
21371 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6; }
21375 cat >>confdefs.h <<_ACEOF
21376 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
21382 { echo "$as_me:$LINENO: checking for wchar_t" >&5
21383 echo $ECHO_N "checking for wchar_t... $ECHO_C" >&6; }
21384 if test "${ac_cv_type_wchar_t+set}" = set; then
21385 echo $ECHO_N "(cached) $ECHO_C" >&6
21387 cat >conftest.$ac_ext <<_ACEOF
21390 cat confdefs.h >>conftest.$ac_ext
21391 cat >>conftest.$ac_ext <<_ACEOF
21392 /* end confdefs.h. */
21394 /* DJGPP's wchar_t is now a keyword
in C
++ (still not C though
) */
21395 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
21396 # error "fake wchar_t"
21398 #ifdef HAVE_WCHAR_H
21400 # include <stddef.h>
21402 # include <wchar.h>
21404 #ifdef HAVE_STDLIB_H
21405 # include <stdlib.h>
21411 typedef wchar_t ac__type_new_
;
21415 if ((ac__type_new_
*) 0)
21417 if (sizeof
(ac__type_new_
))
21423 rm -f conftest.
$ac_objext
21424 if { (ac_try
="$ac_compile"
21425 case "(($ac_try" in
21426 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
21427 *) ac_try_echo=$ac_try;;
21429 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21430 (eval "$ac_compile") 2>conftest.er1
21432 grep -v '^ *+' conftest.er1 >conftest.err
21434 cat conftest.err >&5
21435 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21436 (exit $ac_status); } && {
21437 test -z "$ac_c_werror_flag" ||
21438 test ! -s conftest.err
21439 } && test -s conftest.$ac_objext; then
21440 ac_cv_type_wchar_t=yes
21442 echo "$as_me: failed program was:" >&5
21443 sed 's/^/| /' conftest.$ac_ext >&5
21445 ac_cv_type_wchar_t=no
21448 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21450 { echo "$as_me:$LINENO: result: $ac_cv_type_wchar_t" >&5
21451 echo "${ECHO_T}$ac_cv_type_wchar_t" >&6; }
21453 # The cast to long int works around a bug in the HP C Compiler
21454 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
21455 # declarations like `int a3
[[(sizeof
(unsigned char
)) >= 0]];'.
21456 # This bug is HP SR number 8606223364.
21457 { echo "$as_me:$LINENO: checking size of wchar_t" >&5
21458 echo $ECHO_N "checking size of wchar_t... $ECHO_C" >&6; }
21459 if test "${ac_cv_sizeof_wchar_t+set}" = set; then
21460 echo $ECHO_N "(cached) $ECHO_C" >&6
21462 if test "$cross_compiling" = yes; then
21463 # Depending upon the size, compute the lo and hi bounds.
21464 cat >conftest.$ac_ext <<_ACEOF
21467 cat confdefs.h >>conftest.$ac_ext
21468 cat >>conftest.$ac_ext <<_ACEOF
21469 /* end confdefs.h. */
21471 /* DJGPP's wchar_t is now a keyword
in C
++ (still not C though
) */
21472 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
21473 # error "fake wchar_t"
21475 #ifdef HAVE_WCHAR_H
21477 # include <stddef.h>
21479 # include <wchar.h>
21481 #ifdef HAVE_STDLIB_H
21482 # include <stdlib.h>
21488 typedef wchar_t ac__type_sizeof_
;
21492 static int test_array
[1 - 2 * !(((long int
) (sizeof
(ac__type_sizeof_
))) >= 0)];
21499 rm -f conftest.
$ac_objext
21500 if { (ac_try
="$ac_compile"
21501 case "(($ac_try" in
21502 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
21503 *) ac_try_echo=$ac_try;;
21505 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21506 (eval "$ac_compile") 2>conftest.er1
21508 grep -v '^ *+' conftest.er1 >conftest.err
21510 cat conftest.err >&5
21511 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21512 (exit $ac_status); } && {
21513 test -z "$ac_c_werror_flag" ||
21514 test ! -s conftest.err
21515 } && test -s conftest.$ac_objext; then
21518 cat >conftest.$ac_ext <<_ACEOF
21521 cat confdefs.h >>conftest.$ac_ext
21522 cat >>conftest.$ac_ext <<_ACEOF
21523 /* end confdefs.h. */
21525 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
21526 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
21527 # error "fake wchar_t"
21529 #ifdef HAVE_WCHAR_H
21531 # include <stddef.h>
21533 # include <wchar.h>
21535 #ifdef HAVE_STDLIB_H
21536 # include <stdlib.h>
21542 typedef wchar_t ac__type_sizeof_;
21546 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21553 rm -f conftest.$ac_objext
21554 if { (ac_try="$ac_compile"
21555 case "(($ac_try" in
21556 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
21557 *) ac_try_echo
=$ac_try;;
21559 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21560 (eval "$ac_compile") 2>conftest.er1
21562 grep -v '^ *+' conftest.er1
>conftest.err
21564 cat conftest.err
>&5
21565 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21566 (exit $ac_status); } && {
21567 test -z "$ac_c_werror_flag" ||
21568 test ! -s conftest.err
21569 } && test -s conftest.
$ac_objext; then
21570 ac_hi
=$ac_mid; break
21572 echo "$as_me: failed program was:" >&5
21573 sed 's/^/| /' conftest.
$ac_ext >&5
21575 ac_lo
=`expr $ac_mid + 1`
21576 if test $ac_lo -le $ac_mid; then
21580 ac_mid
=`expr 2 '*' $ac_mid + 1`
21583 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21586 echo "$as_me: failed program was:" >&5
21587 sed 's/^/| /' conftest.
$ac_ext >&5
21589 cat >conftest.
$ac_ext <<_ACEOF
21592 cat confdefs.h
>>conftest.
$ac_ext
21593 cat >>conftest.
$ac_ext <<_ACEOF
21594 /* end confdefs.h. */
21596 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
21597 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
21598 # error "fake wchar_t"
21600 #ifdef HAVE_WCHAR_H
21602 # include <stddef.h>
21604 # include <wchar.h>
21606 #ifdef HAVE_STDLIB_H
21607 # include <stdlib.h>
21613 typedef wchar_t ac__type_sizeof_;
21617 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
21624 rm -f conftest.
$ac_objext
21625 if { (ac_try
="$ac_compile"
21626 case "(($ac_try" in
21627 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
21628 *) ac_try_echo=$ac_try;;
21630 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21631 (eval "$ac_compile") 2>conftest.er1
21633 grep -v '^ *+' conftest.er1 >conftest.err
21635 cat conftest.err >&5
21636 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21637 (exit $ac_status); } && {
21638 test -z "$ac_c_werror_flag" ||
21639 test ! -s conftest.err
21640 } && test -s conftest.$ac_objext; then
21643 cat >conftest.$ac_ext <<_ACEOF
21646 cat confdefs.h >>conftest.$ac_ext
21647 cat >>conftest.$ac_ext <<_ACEOF
21648 /* end confdefs.h. */
21650 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
21651 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
21652 # error "fake wchar_t"
21654 #ifdef HAVE_WCHAR_H
21656 # include <stddef.h>
21658 # include <wchar.h>
21660 #ifdef HAVE_STDLIB_H
21661 # include <stdlib.h>
21667 typedef wchar_t ac__type_sizeof_;
21671 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
21678 rm -f conftest.$ac_objext
21679 if { (ac_try="$ac_compile"
21680 case "(($ac_try" in
21681 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
21682 *) ac_try_echo
=$ac_try;;
21684 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21685 (eval "$ac_compile") 2>conftest.er1
21687 grep -v '^ *+' conftest.er1
>conftest.err
21689 cat conftest.err
>&5
21690 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21691 (exit $ac_status); } && {
21692 test -z "$ac_c_werror_flag" ||
21693 test ! -s conftest.err
21694 } && test -s conftest.
$ac_objext; then
21695 ac_lo
=$ac_mid; break
21697 echo "$as_me: failed program was:" >&5
21698 sed 's/^/| /' conftest.
$ac_ext >&5
21700 ac_hi
=`expr '(' $ac_mid ')' - 1`
21701 if test $ac_mid -le $ac_hi; then
21705 ac_mid
=`expr 2 '*' $ac_mid`
21708 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21711 echo "$as_me: failed program was:" >&5
21712 sed 's/^/| /' conftest.
$ac_ext >&5
21717 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21720 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21721 # Binary search between lo and hi bounds.
21722 while test "x$ac_lo" != "x$ac_hi"; do
21723 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
21724 cat >conftest.
$ac_ext <<_ACEOF
21727 cat confdefs.h
>>conftest.
$ac_ext
21728 cat >>conftest.
$ac_ext <<_ACEOF
21729 /* end confdefs.h. */
21731 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
21732 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
21733 # error "fake wchar_t"
21735 #ifdef HAVE_WCHAR_H
21737 # include <stddef.h>
21739 # include <wchar.h>
21741 #ifdef HAVE_STDLIB_H
21742 # include <stdlib.h>
21748 typedef wchar_t ac__type_sizeof_;
21752 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21759 rm -f conftest.
$ac_objext
21760 if { (ac_try
="$ac_compile"
21761 case "(($ac_try" in
21762 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
21763 *) ac_try_echo=$ac_try;;
21765 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21766 (eval "$ac_compile") 2>conftest.er1
21768 grep -v '^ *+' conftest.er1 >conftest.err
21770 cat conftest.err >&5
21771 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21772 (exit $ac_status); } && {
21773 test -z "$ac_c_werror_flag" ||
21774 test ! -s conftest.err
21775 } && test -s conftest.$ac_objext; then
21778 echo "$as_me: failed program was:" >&5
21779 sed 's/^/| /' conftest.$ac_ext >&5
21781 ac_lo=`expr '(' $ac_mid ')' + 1`
21784 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21787 ?*) ac_cv_sizeof_wchar_t=$ac_lo;;
21788 '') if test "$ac_cv_type_wchar_t" = yes; then
21789 { { echo "$as_me:$LINENO: error: cannot compute sizeof (wchar_t)
21790 See \`config.log
' for more details." >&5
21791 echo "$as_me: error: cannot compute sizeof (wchar_t)
21792 See \`config.log' for more details.
" >&2;}
21793 { (exit 77); exit 77; }; }
21795 ac_cv_sizeof_wchar_t=0
21799 cat >conftest.$ac_ext <<_ACEOF
21802 cat confdefs.h >>conftest.$ac_ext
21803 cat >>conftest.$ac_ext <<_ACEOF
21804 /* end confdefs.h. */
21806 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
21807 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
21808 # error "fake wchar_t
"
21810 #ifdef HAVE_WCHAR_H
21812 # include <stddef.h>
21814 # include <wchar.h>
21816 #ifdef HAVE_STDLIB_H
21817 # include <stdlib.h>
21823 typedef wchar_t ac__type_sizeof_;
21824 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
21825 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
21827 #include <stdlib.h>
21832 FILE *f = fopen ("conftest.val
", "w
");
21835 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
21837 long int i = longval ();
21838 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21840 fprintf (f, "%ld
\n", i);
21844 unsigned long int i = ulongval ();
21845 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21847 fprintf (f, "%lu
\n", i);
21849 return ferror (f) || fclose (f) != 0;
21855 rm -f conftest$ac_exeext
21856 if { (ac_try="$ac_link"
21857 case "(($ac_try" in
21858 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21859 *) ac_try_echo=$ac_try;;
21861 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
21862 (eval "$ac_link") 2>&5
21864 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
21865 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
21866 { (case "(($ac_try" in
21867 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21868 *) ac_try_echo=$ac_try;;
21870 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
21871 (eval "$ac_try") 2>&5
21873 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
21874 (exit $ac_status); }; }; then
21875 ac_cv_sizeof_wchar_t=`cat conftest.val`
21877 echo "$as_me: program exited with status
$ac_status" >&5
21878 echo "$as_me: failed program was
:" >&5
21879 sed 's/^/| /' conftest.$ac_ext >&5
21881 ( exit $ac_status )
21882 if test "$ac_cv_type_wchar_t" = yes; then
21883 { { echo "$as_me:$LINENO: error
: cannot compute sizeof
(wchar_t
)
21884 See \
`config.log' for more details." >&5
21885 echo "$as_me: error: cannot compute sizeof (wchar_t)
21886 See \`config.log
' for more details." >&2;}
21887 { (exit 77); exit 77; }; }
21889 ac_cv_sizeof_wchar_t=0
21892 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
21896 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_wchar_t" >&5
21897 echo "${ECHO_T}$ac_cv_sizeof_wchar_t" >&6; }
21901 cat >>confdefs.h <<_ACEOF
21902 #define SIZEOF_WCHAR_T $ac_cv_sizeof_wchar_t
21906 if test "$ac_cv_sizeof_wchar_t" != "0"; then
21912 { echo "$as_me:$LINENO: checking for va_copy" >&5
21913 echo $ECHO_N "checking for va_copy... $ECHO_C" >&6; }
21914 if test "${wx_cv_func_va_copy+set}" = set; then
21915 echo $ECHO_N "(cached) $ECHO_C" >&6
21918 cat >conftest.$ac_ext <<_ACEOF
21920 #include <stdarg.h>
21921 void foo(char *f, ...)
21935 rm -f conftest.$ac_objext conftest$ac_exeext
21936 if { (ac_try="$ac_link"
21937 case "(($ac_try" in
21938 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21939 *) ac_try_echo=$ac_try;;
21941 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21942 (eval "$ac_link") 2>conftest.er1
21944 grep -v '^
*+' conftest.er1 >conftest.err
21946 cat conftest.err >&5
21947 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21948 (exit $ac_status); } && {
21949 test -z "$ac_c_werror_flag" ||
21950 test ! -s conftest.err
21951 } && test -s conftest$ac_exeext &&
21952 $as_test_x conftest$ac_exeext; then
21953 wx_cv_func_va_copy=yes
21955 echo "$as_me: failed program was:" >&5
21956 sed 's
/^
/| /' conftest.$ac_ext >&5
21958 wx_cv_func_va_copy=no
21962 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
21963 conftest$ac_exeext conftest.$ac_ext
21967 { echo "$as_me:$LINENO: result: $wx_cv_func_va_copy" >&5
21968 echo "${ECHO_T}$wx_cv_func_va_copy" >&6; }
21970 if test $wx_cv_func_va_copy = "yes"; then
21971 cat >>confdefs.h <<\_ACEOF
21972 #define HAVE_VA_COPY 1
21976 { echo "$as_me:$LINENO: checking if va_list can be copied by value" >&5
21977 echo $ECHO_N "checking if va_list can be copied by value... $ECHO_C" >&6; }
21978 if test "${wx_cv_type_va_list_lvalue+set}" = set; then
21979 echo $ECHO_N "(cached) $ECHO_C" >&6
21982 if test "$cross_compiling" = yes; then
21983 wx_cv_type_va_list_lvalue=yes
21986 cat >conftest.$ac_ext <<_ACEOF
21988 #include <stdarg.h>
21989 int foo(char *f, ...)
21994 if ( va_arg(ap1, int) != 17 || va_arg(ap2, int) != 17 )
22002 return foo("hi", 17);
22005 rm -f conftest$ac_exeext
22006 if { (ac_try="$ac_link"
22007 case "(($ac_try" in
22008 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22009 *) ac_try_echo=$ac_try;;
22011 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22012 (eval "$ac_link") 2>&5
22014 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22015 (exit $ac_status); } && { ac_try='.
/conftest
$ac_exeext'
22016 { (case "(($ac_try" in
22017 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22018 *) ac_try_echo=$ac_try;;
22020 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22021 (eval "$ac_try") 2>&5
22023 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22024 (exit $ac_status); }; }; then
22025 wx_cv_type_va_list_lvalue=yes
22027 echo "$as_me: program exited with status $ac_status" >&5
22028 echo "$as_me: failed program was:" >&5
22029 sed 's
/^
/| /' conftest.$ac_ext >&5
22031 ( exit $ac_status )
22032 wx_cv_type_va_list_lvalue=no
22034 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22041 { echo "$as_me:$LINENO: result: $wx_cv_type_va_list_lvalue" >&5
22042 echo "${ECHO_T}$wx_cv_type_va_list_lvalue" >&6; }
22044 if test $wx_cv_type_va_list_lvalue != "yes"; then
22045 cat >>confdefs.h <<\_ACEOF
22046 #define VA_LIST_IS_ARRAY 1
22052 if test "$wxUSE_VARARG_MACROS" = "yes"; then
22054 { echo "$as_me:$LINENO: checking whether the compiler supports variadic macros" >&5
22055 echo $ECHO_N "checking whether the compiler supports variadic macros... $ECHO_C" >&6; }
22056 if test "${wx_cv_have_variadic_macros+set}" = set; then
22057 echo $ECHO_N "(cached) $ECHO_C" >&6
22061 ac_cpp='$CXXCPP $CPPFLAGS'
22062 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
22063 ac_link='$CXX -o conftest
$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
22064 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22066 cat >conftest.$ac_ext <<_ACEOF
22069 cat confdefs.h >>conftest.$ac_ext
22070 cat >>conftest.$ac_ext <<_ACEOF
22071 /* end confdefs.h. */
22074 #define test(fmt, ...) printf(fmt, __VA_ARGS__)
22080 test("%s %d %p", "test", 1, 0);
22087 rm -f conftest.$ac_objext
22088 if { (ac_try="$ac_compile"
22089 case "(($ac_try" in
22090 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22091 *) ac_try_echo=$ac_try;;
22093 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22094 (eval "$ac_compile") 2>conftest.er1
22096 grep -v '^
*+' conftest.er1 >conftest.err
22098 cat conftest.err >&5
22099 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22100 (exit $ac_status); } && {
22101 test -z "$ac_cxx_werror_flag" ||
22102 test ! -s conftest.err
22103 } && test -s conftest.$ac_objext; then
22104 wx_cv_have_variadic_macros=yes
22106 echo "$as_me: failed program was:" >&5
22107 sed 's
/^
/| /' conftest.$ac_ext >&5
22109 wx_cv_have_variadic_macros=no
22113 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22115 ac_cpp='$CPP $CPPFLAGS'
22116 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
22117 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
22118 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22123 { echo "$as_me:$LINENO: result: $wx_cv_have_variadic_macros" >&5
22124 echo "${ECHO_T}$wx_cv_have_variadic_macros" >&6; }
22126 if test $wx_cv_have_variadic_macros = "yes"; then
22127 cat >>confdefs.h <<\_ACEOF
22128 #define HAVE_VARIADIC_MACROS 1
22134 # Check whether --enable-largefile was given.
22135 if test "${enable_largefile+set}" = set; then
22136 enableval=$enable_largefile;
22139 if test "$enable_largefile" != no; then
22142 { echo "$as_me:$LINENO: checking for _FILE_OFFSET_BITS value needed for large files" >&5
22143 echo $ECHO_N "checking for _FILE_OFFSET_BITS value needed for large files... $ECHO_C" >&6; }
22144 if test "${ac_cv_sys_file_offset_bits+set}" = set; then
22145 echo $ECHO_N "(cached) $ECHO_C" >&6
22148 cat >conftest.$ac_ext <<_ACEOF
22151 cat confdefs.h >>conftest.$ac_ext
22152 cat >>conftest.$ac_ext <<_ACEOF
22153 /* end confdefs.h. */
22154 #define _FILE_OFFSET_BITS 64
22155 #include <sys/types.h>
22160 unsigned int field: sizeof(off_t) == 8;
22167 rm -f conftest.$ac_objext
22168 if { (ac_try="$ac_compile"
22169 case "(($ac_try" in
22170 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22171 *) ac_try_echo=$ac_try;;
22173 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22174 (eval "$ac_compile") 2>conftest.er1
22176 grep -v '^
*+' conftest.er1 >conftest.err
22178 cat conftest.err >&5
22179 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22180 (exit $ac_status); } && {
22181 test -z "$ac_c_werror_flag" ||
22182 test ! -s conftest.err
22183 } && test -s conftest.$ac_objext; then
22184 ac_cv_sys_file_offset_bits=64
22186 echo "$as_me: failed program was:" >&5
22187 sed 's
/^
/| /' conftest.$ac_ext >&5
22189 ac_cv_sys_file_offset_bits=no
22192 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22196 { echo "$as_me:$LINENO: result: $ac_cv_sys_file_offset_bits" >&5
22197 echo "${ECHO_T}$ac_cv_sys_file_offset_bits" >&6; }
22199 if test "$ac_cv_sys_file_offset_bits" != no; then
22201 cat >>confdefs.h <<_ACEOF
22202 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
22207 if test "x$wx_largefile" != "xyes"; then
22209 { echo "$as_me:$LINENO: checking for _LARGE_FILES value needed for large files" >&5
22210 echo $ECHO_N "checking for _LARGE_FILES value needed for large files... $ECHO_C" >&6; }
22211 if test "${ac_cv_sys_large_files+set}" = set; then
22212 echo $ECHO_N "(cached) $ECHO_C" >&6
22215 cat >conftest.$ac_ext <<_ACEOF
22218 cat confdefs.h >>conftest.$ac_ext
22219 cat >>conftest.$ac_ext <<_ACEOF
22220 /* end confdefs.h. */
22221 #define _LARGE_FILES 1
22222 #include <sys/types.h>
22227 unsigned int field: sizeof(off_t) == 8;
22234 rm -f conftest.$ac_objext
22235 if { (ac_try="$ac_compile"
22236 case "(($ac_try" in
22237 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22238 *) ac_try_echo=$ac_try;;
22240 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22241 (eval "$ac_compile") 2>conftest.er1
22243 grep -v '^
*+' conftest.er1 >conftest.err
22245 cat conftest.err >&5
22246 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22247 (exit $ac_status); } && {
22248 test -z "$ac_c_werror_flag" ||
22249 test ! -s conftest.err
22250 } && test -s conftest.$ac_objext; then
22251 ac_cv_sys_large_files=1
22253 echo "$as_me: failed program was:" >&5
22254 sed 's
/^
/| /' conftest.$ac_ext >&5
22256 ac_cv_sys_large_files=no
22259 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22263 { echo "$as_me:$LINENO: result: $ac_cv_sys_large_files" >&5
22264 echo "${ECHO_T}$ac_cv_sys_large_files" >&6; }
22266 if test "$ac_cv_sys_large_files" != no; then
22268 cat >>confdefs.h <<_ACEOF
22269 #define _LARGE_FILES $ac_cv_sys_large_files
22276 { echo "$as_me:$LINENO: checking if large file support is available" >&5
22277 echo $ECHO_N "checking if large file support is available... $ECHO_C" >&6; }
22278 if test "x$wx_largefile" = "xyes"; then
22279 cat >>confdefs.h <<\_ACEOF
22280 #define HAVE_LARGEFILE_SUPPORT 1
22284 { echo "$as_me:$LINENO: result: $wx_largefile" >&5
22285 echo "${ECHO_T}$wx_largefile" >&6; }
22289 if test "x$wx_largefile" = "xyes"; then
22290 if test "x$ac_cv_sys_file_offset_bits" = "x64"; then
22291 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES"
22293 if test "$USE_HPUX" = 1 -a "$GXX" = "yes"; then
22294 { echo "$as_me:$LINENO: checking if -D__STDC_EXT__ is required" >&5
22295 echo $ECHO_N "checking if -D__STDC_EXT__ is required... $ECHO_C" >&6; }
22296 if test "${wx_cv_STDC_EXT_required+set}" = set; then
22297 echo $ECHO_N "(cached) $ECHO_C" >&6
22301 ac_cpp='$CXXCPP $CPPFLAGS'
22302 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
22303 ac_link='$CXX -o conftest
$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
22304 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22306 cat >conftest.$ac_ext <<_ACEOF
22309 cat confdefs.h >>conftest.$ac_ext
22310 cat >>conftest.$ac_ext <<_ACEOF
22311 /* end confdefs.h. */
22317 #ifndef __STDC_EXT__
22325 rm -f conftest.$ac_objext
22326 if { (ac_try="$ac_compile"
22327 case "(($ac_try" in
22328 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22329 *) ac_try_echo=$ac_try;;
22331 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22332 (eval "$ac_compile") 2>conftest.er1
22334 grep -v '^
*+' conftest.er1 >conftest.err
22336 cat conftest.err >&5
22337 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22338 (exit $ac_status); } && {
22339 test -z "$ac_cxx_werror_flag" ||
22340 test ! -s conftest.err
22341 } && test -s conftest.$ac_objext; then
22342 wx_cv_STDC_EXT_required=no
22344 echo "$as_me: failed program was:" >&5
22345 sed 's
/^
/| /' conftest.$ac_ext >&5
22347 wx_cv_STDC_EXT_required=yes
22351 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22353 ac_cpp='$CPP $CPPFLAGS'
22354 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
22355 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
22356 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22361 { echo "$as_me:$LINENO: result: $wx_cv_STDC_EXT_required" >&5
22362 echo "${ECHO_T}$wx_cv_STDC_EXT_required" >&6; }
22363 if test "x$wx_cv_STDC_EXT_required" = "xyes"; then
22364 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -D__STDC_EXT__"
22368 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_LARGE_FILES"
22370 { echo "$as_me:$LINENO: checking for _LARGEFILE_SOURCE value needed for large files" >&5
22371 echo $ECHO_N "checking for _LARGEFILE_SOURCE value needed for large files... $ECHO_C" >&6; }
22372 if test "${ac_cv_sys_largefile_source+set}" = set; then
22373 echo $ECHO_N "(cached) $ECHO_C" >&6
22376 cat >conftest.$ac_ext <<_ACEOF
22379 cat confdefs.h >>conftest.$ac_ext
22380 cat >>conftest.$ac_ext <<_ACEOF
22381 /* end confdefs.h. */
22386 return fseeko (stdin, 0, 0) && (fseeko) (stdin, 0, 0);
22391 rm -f conftest.$ac_objext conftest$ac_exeext
22392 if { (ac_try="$ac_link"
22393 case "(($ac_try" in
22394 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22395 *) ac_try_echo=$ac_try;;
22397 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22398 (eval "$ac_link") 2>conftest.er1
22400 grep -v '^
*+' conftest.er1 >conftest.err
22402 cat conftest.err >&5
22403 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22404 (exit $ac_status); } && {
22405 test -z "$ac_c_werror_flag" ||
22406 test ! -s conftest.err
22407 } && test -s conftest$ac_exeext &&
22408 $as_test_x conftest$ac_exeext; then
22409 ac_cv_sys_largefile_source=no; break
22411 echo "$as_me: failed program was:" >&5
22412 sed 's
/^
/| /' conftest.$ac_ext >&5
22417 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
22418 conftest$ac_exeext conftest.$ac_ext
22419 cat >conftest.$ac_ext <<_ACEOF
22422 cat confdefs.h >>conftest.$ac_ext
22423 cat >>conftest.$ac_ext <<_ACEOF
22424 /* end confdefs.h. */
22425 #define _LARGEFILE_SOURCE 1
22430 return fseeko (stdin, 0, 0) && (fseeko) (stdin, 0, 0);
22435 rm -f conftest.$ac_objext conftest$ac_exeext
22436 if { (ac_try="$ac_link"
22437 case "(($ac_try" in
22438 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22439 *) ac_try_echo=$ac_try;;
22441 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22442 (eval "$ac_link") 2>conftest.er1
22444 grep -v '^
*+' conftest.er1 >conftest.err
22446 cat conftest.err >&5
22447 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22448 (exit $ac_status); } && {
22449 test -z "$ac_c_werror_flag" ||
22450 test ! -s conftest.err
22451 } && test -s conftest$ac_exeext &&
22452 $as_test_x conftest$ac_exeext; then
22453 ac_cv_sys_largefile_source=1; break
22455 echo "$as_me: failed program was:" >&5
22456 sed 's
/^
/| /' conftest.$ac_ext >&5
22461 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
22462 conftest$ac_exeext conftest.$ac_ext
22463 ac_cv_sys_largefile_source=unknown
22467 { echo "$as_me:$LINENO: result: $ac_cv_sys_largefile_source" >&5
22468 echo "${ECHO_T}$ac_cv_sys_largefile_source" >&6; }
22469 case $ac_cv_sys_largefile_source in #(
22472 cat >>confdefs.h <<_ACEOF
22473 #define _LARGEFILE_SOURCE $ac_cv_sys_largefile_source
22479 # We used to try defining _XOPEN_SOURCE=500 too, to work around a bug
22480 # in glibc 2.1.3, but that breaks too many other things.
22481 # If you want fseeko and ftello with glibc, upgrade to a fixed glibc.
22482 if test $ac_cv_sys_largefile_source != unknown; then
22484 cat >>confdefs.h <<\_ACEOF
22485 #define HAVE_FSEEKO 1
22490 if test "$ac_cv_sys_largefile_source" != no; then
22491 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_LARGEFILE_SOURCE=$ac_cv_sys_largefile_source"
22495 { echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
22496 echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6; }
22497 if test "${ac_cv_c_bigendian+set}" = set; then
22498 echo $ECHO_N "(cached) $ECHO_C" >&6
22500 ac_cv_c_bigendian=unknown
22501 # See if sys/param.h defines the BYTE_ORDER macro.
22502 cat >conftest.$ac_ext <<_ACEOF
22505 cat confdefs.h >>conftest.$ac_ext
22506 cat >>conftest.$ac_ext <<_ACEOF
22507 /* end confdefs.h. */
22508 #include <sys/types.h>
22509 #include <sys/param.h>
22514 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
22515 bogus endian macros
22521 rm -f conftest.$ac_objext
22522 if { (ac_try="$ac_compile"
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_compile") 2>conftest.er1
22530 grep -v '^
*+' conftest.er1 >conftest.err
22532 cat conftest.err >&5
22533 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22534 (exit $ac_status); } && {
22535 test -z "$ac_c_werror_flag" ||
22536 test ! -s conftest.err
22537 } && test -s conftest.$ac_objext; then
22538 # It does; now see whether it defined to BIG_ENDIAN or not.
22539 cat >conftest.$ac_ext <<_ACEOF
22542 cat confdefs.h >>conftest.$ac_ext
22543 cat >>conftest.$ac_ext <<_ACEOF
22544 /* end confdefs.h. */
22545 #include <sys/types.h>
22546 #include <sys/param.h>
22551 #if BYTE_ORDER != BIG_ENDIAN
22558 rm -f conftest.$ac_objext
22559 if { (ac_try="$ac_compile"
22560 case "(($ac_try" in
22561 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22562 *) ac_try_echo=$ac_try;;
22564 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22565 (eval "$ac_compile") 2>conftest.er1
22567 grep -v '^
*+' conftest.er1 >conftest.err
22569 cat conftest.err >&5
22570 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22571 (exit $ac_status); } && {
22572 test -z "$ac_c_werror_flag" ||
22573 test ! -s conftest.err
22574 } && test -s conftest.$ac_objext; then
22575 ac_cv_c_bigendian=yes
22577 echo "$as_me: failed program was:" >&5
22578 sed 's
/^
/| /' conftest.$ac_ext >&5
22580 ac_cv_c_bigendian=no
22583 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22585 echo "$as_me: failed program was:" >&5
22586 sed 's
/^
/| /' conftest.$ac_ext >&5
22591 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22592 if test $ac_cv_c_bigendian = unknown; then
22593 if test "$cross_compiling" = yes; then
22594 ac_cv_c_bigendian=unknown
22596 cat >conftest.$ac_ext <<_ACEOF
22599 cat confdefs.h >>conftest.$ac_ext
22600 cat >>conftest.$ac_ext <<_ACEOF
22601 /* end confdefs.h. */
22603 /* Are we little or big endian? From Harbison&Steele. */
22607 char c[sizeof (long)];
22610 exit (u.c[sizeof (long) - 1] == 1);
22613 rm -f conftest$ac_exeext
22614 if { (ac_try="$ac_link"
22615 case "(($ac_try" in
22616 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22617 *) ac_try_echo=$ac_try;;
22619 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22620 (eval "$ac_link") 2>&5
22622 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22623 (exit $ac_status); } && { ac_try='.
/conftest
$ac_exeext'
22624 { (case "(($ac_try" in
22625 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22626 *) ac_try_echo=$ac_try;;
22628 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22629 (eval "$ac_try") 2>&5
22631 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22632 (exit $ac_status); }; }; then
22633 ac_cv_c_bigendian=no
22635 echo "$as_me: program exited with status $ac_status" >&5
22636 echo "$as_me: failed program was:" >&5
22637 sed 's
/^
/| /' conftest.$ac_ext >&5
22639 ( exit $ac_status )
22640 ac_cv_c_bigendian=yes
22642 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22648 { echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
22649 echo "${ECHO_T}$ac_cv_c_bigendian" >&6; }
22650 if test $ac_cv_c_bigendian = unknown; then
22651 { 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
22652 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;}
22654 if test $ac_cv_c_bigendian = yes; then
22655 cat >>confdefs.h <<\_ACEOF
22656 #define WORDS_BIGENDIAN 1
22665 ac_cpp='$CXXCPP $CPPFLAGS'
22666 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
22667 ac_link='$CXX -o conftest
$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
22668 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22671 { echo "$as_me:$LINENO: checking for iostream" >&5
22672 echo $ECHO_N "checking for iostream... $ECHO_C" >&6; }
22673 if test "${ac_cv_header_iostream+set}" = set; then
22674 echo $ECHO_N "(cached) $ECHO_C" >&6
22676 cat >conftest.$ac_ext <<_ACEOF
22679 cat confdefs.h >>conftest.$ac_ext
22680 cat >>conftest.$ac_ext <<_ACEOF
22681 /* end confdefs.h. */
22684 #include <iostream>
22686 rm -f conftest.$ac_objext
22687 if { (ac_try="$ac_compile"
22688 case "(($ac_try" in
22689 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22690 *) ac_try_echo=$ac_try;;
22692 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22693 (eval "$ac_compile") 2>conftest.er1
22695 grep -v '^
*+' conftest.er1 >conftest.err
22697 cat conftest.err >&5
22698 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22699 (exit $ac_status); } && {
22700 test -z "$ac_cxx_werror_flag" ||
22701 test ! -s conftest.err
22702 } && test -s conftest.$ac_objext; then
22703 ac_cv_header_iostream=yes
22705 echo "$as_me: failed program was:" >&5
22706 sed 's
/^
/| /' conftest.$ac_ext >&5
22708 ac_cv_header_iostream=no
22711 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22713 { echo "$as_me:$LINENO: result: $ac_cv_header_iostream" >&5
22714 echo "${ECHO_T}$ac_cv_header_iostream" >&6; }
22718 if test "$ac_cv_header_iostream" = "yes" ; then
22721 cat >>confdefs.h <<\_ACEOF
22722 #define wxUSE_IOSTREAMH 1
22728 ac_cpp='$CPP $CPPFLAGS'
22729 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
22730 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
22731 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22736 { echo "$as_me:$LINENO: checking if C++ compiler supports bool" >&5
22737 echo $ECHO_N "checking if C++ compiler supports bool... $ECHO_C" >&6; }
22738 if test "${wx_cv_cpp_bool+set}" = set; then
22739 echo $ECHO_N "(cached) $ECHO_C" >&6
22744 ac_cpp='$CXXCPP $CPPFLAGS'
22745 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
22746 ac_link='$CXX -o conftest
$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
22747 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22750 cat >conftest.$ac_ext <<_ACEOF
22753 cat confdefs.h >>conftest.$ac_ext
22754 cat >>conftest.$ac_ext <<_ACEOF
22755 /* end confdefs.h. */
22770 rm -f conftest.$ac_objext
22771 if { (ac_try="$ac_compile"
22772 case "(($ac_try" in
22773 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22774 *) ac_try_echo=$ac_try;;
22776 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22777 (eval "$ac_compile") 2>conftest.er1
22779 grep -v '^
*+' conftest.er1 >conftest.err
22781 cat conftest.err >&5
22782 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22783 (exit $ac_status); } && {
22784 test -z "$ac_cxx_werror_flag" ||
22785 test ! -s conftest.err
22786 } && test -s conftest.$ac_objext; then
22791 echo "$as_me: failed program was:" >&5
22792 sed 's
/^
/| /' conftest.$ac_ext >&5
22800 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22803 ac_cpp='$CPP $CPPFLAGS'
22804 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
22805 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
22806 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22810 { echo "$as_me:$LINENO: result: $wx_cv_cpp_bool" >&5
22811 echo "${ECHO_T}$wx_cv_cpp_bool" >&6; }
22813 if test "$wx_cv_cpp_bool" = "yes"; then
22814 cat >>confdefs.h <<\_ACEOF
22815 #define HAVE_BOOL 1
22822 { echo "$as_me:$LINENO: checking if C++ compiler supports the explicit keyword" >&5
22823 echo $ECHO_N "checking if C++ compiler supports the explicit keyword... $ECHO_C" >&6; }
22824 if test "${wx_cv_explicit+set}" = set; then
22825 echo $ECHO_N "(cached) $ECHO_C" >&6
22830 ac_cpp='$CXXCPP $CPPFLAGS'
22831 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
22832 ac_link='$CXX -o conftest
$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
22833 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22836 cat >conftest.$ac_ext <<_ACEOF
22839 cat confdefs.h >>conftest.$ac_ext
22840 cat >>conftest.$ac_ext <<_ACEOF
22841 /* end confdefs.h. */
22843 class Foo { public: explicit Foo(int) {} };
22855 rm -f conftest.$ac_objext
22856 if { (ac_try="$ac_compile"
22857 case "(($ac_try" in
22858 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22859 *) ac_try_echo=$ac_try;;
22861 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22862 (eval "$ac_compile") 2>conftest.er1
22864 grep -v '^
*+' conftest.er1 >conftest.err
22866 cat conftest.err >&5
22867 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22868 (exit $ac_status); } && {
22869 test -z "$ac_cxx_werror_flag" ||
22870 test ! -s conftest.err
22871 } && test -s conftest.$ac_objext; then
22873 cat >conftest.$ac_ext <<_ACEOF
22876 cat confdefs.h >>conftest.$ac_ext
22877 cat >>conftest.$ac_ext <<_ACEOF
22878 /* end confdefs.h. */
22880 class Foo { public: explicit Foo(int) {} };
22881 static void TakeFoo(const Foo& foo) { }
22894 rm -f conftest.$ac_objext
22895 if { (ac_try="$ac_compile"
22896 case "(($ac_try" in
22897 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22898 *) ac_try_echo=$ac_try;;
22900 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22901 (eval "$ac_compile") 2>conftest.er1
22903 grep -v '^
*+' conftest.er1 >conftest.err
22905 cat conftest.err >&5
22906 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22907 (exit $ac_status); } && {
22908 test -z "$ac_cxx_werror_flag" ||
22909 test ! -s conftest.err
22910 } && test -s conftest.$ac_objext; then
22913 echo "$as_me: failed program was:" >&5
22914 sed 's
/^
/| /' conftest.$ac_ext >&5
22920 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22923 echo "$as_me: failed program was:" >&5
22924 sed 's
/^
/| /' conftest.$ac_ext >&5
22930 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22933 ac_cpp='$CPP $CPPFLAGS'
22934 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
22935 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
22936 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22940 { echo "$as_me:$LINENO: result: $wx_cv_explicit" >&5
22941 echo "${ECHO_T}$wx_cv_explicit" >&6; }
22943 if test "$wx_cv_explicit" = "yes"; then
22944 cat >>confdefs.h <<\_ACEOF
22945 #define HAVE_EXPLICIT 1
22951 { echo "$as_me:$LINENO: checking whether the compiler supports const_cast<>" >&5
22952 echo $ECHO_N "checking whether the compiler supports const_cast<>... $ECHO_C" >&6; }
22953 if test "${ac_cv_cxx_const_cast+set}" = set; then
22954 echo $ECHO_N "(cached) $ECHO_C" >&6
22958 ac_cpp='$CXXCPP $CPPFLAGS'
22959 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
22960 ac_link='$CXX -o conftest
$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
22961 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22963 cat >conftest.$ac_ext <<_ACEOF
22966 cat confdefs.h >>conftest.$ac_ext
22967 cat >>conftest.$ac_ext <<_ACEOF
22968 /* end confdefs.h. */
22973 int x = 0;const int& y = x;int& z = const_cast<int&>(y);return z;
22978 rm -f conftest.$ac_objext
22979 if { (ac_try="$ac_compile"
22980 case "(($ac_try" in
22981 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22982 *) ac_try_echo=$ac_try;;
22984 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22985 (eval "$ac_compile") 2>conftest.er1
22987 grep -v '^
*+' conftest.er1 >conftest.err
22989 cat conftest.err >&5
22990 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22991 (exit $ac_status); } && {
22992 test -z "$ac_cxx_werror_flag" ||
22993 test ! -s conftest.err
22994 } && test -s conftest.$ac_objext; then
22995 ac_cv_cxx_const_cast=yes
22997 echo "$as_me: failed program was:" >&5
22998 sed 's
/^
/| /' conftest.$ac_ext >&5
23000 ac_cv_cxx_const_cast=no
23003 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23005 ac_cpp='$CPP $CPPFLAGS'
23006 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
23007 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
23008 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23012 { echo "$as_me:$LINENO: result: $ac_cv_cxx_const_cast" >&5
23013 echo "${ECHO_T}$ac_cv_cxx_const_cast" >&6; }
23014 if test "$ac_cv_cxx_const_cast" = yes; then
23016 cat >>confdefs.h <<\_ACEOF
23017 #define HAVE_CONST_CAST
23022 { echo "$as_me:$LINENO: checking whether the compiler supports reinterpret_cast<>" >&5
23023 echo $ECHO_N "checking whether the compiler supports reinterpret_cast<>... $ECHO_C" >&6; }
23024 if test "${ac_cv_cxx_reinterpret_cast+set}" = set; then
23025 echo $ECHO_N "(cached) $ECHO_C" >&6
23029 ac_cpp='$CXXCPP $CPPFLAGS'
23030 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
23031 ac_link='$CXX -o conftest
$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
23032 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23034 cat >conftest.$ac_ext <<_ACEOF
23037 cat confdefs.h >>conftest.$ac_ext
23038 cat >>conftest.$ac_ext <<_ACEOF
23039 /* end confdefs.h. */
23040 #include <typeinfo>
23041 class Base { public : Base () {} virtual void f () = 0;};
23042 class Derived : public Base { public : Derived () {} virtual void f () {} };
23043 class Unrelated { public : Unrelated () {} };
23044 int g (Unrelated&) { return 0; }
23049 Derived d;Base& b=d;Unrelated& e=reinterpret_cast<Unrelated&>(b);return g(e);
23054 rm -f conftest.$ac_objext
23055 if { (ac_try="$ac_compile"
23056 case "(($ac_try" in
23057 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23058 *) ac_try_echo=$ac_try;;
23060 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23061 (eval "$ac_compile") 2>conftest.er1
23063 grep -v '^
*+' conftest.er1 >conftest.err
23065 cat conftest.err >&5
23066 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23067 (exit $ac_status); } && {
23068 test -z "$ac_cxx_werror_flag" ||
23069 test ! -s conftest.err
23070 } && test -s conftest.$ac_objext; then
23071 ac_cv_cxx_reinterpret_cast=yes
23073 echo "$as_me: failed program was:" >&5
23074 sed 's
/^
/| /' conftest.$ac_ext >&5
23076 ac_cv_cxx_reinterpret_cast=no
23079 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23081 ac_cpp='$CPP $CPPFLAGS'
23082 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
23083 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
23084 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23088 { echo "$as_me:$LINENO: result: $ac_cv_cxx_reinterpret_cast" >&5
23089 echo "${ECHO_T}$ac_cv_cxx_reinterpret_cast" >&6; }
23090 if test "$ac_cv_cxx_reinterpret_cast" = yes; then
23092 cat >>confdefs.h <<\_ACEOF
23093 #define HAVE_REINTERPRET_CAST
23098 { echo "$as_me:$LINENO: checking whether the compiler supports static_cast<>" >&5
23099 echo $ECHO_N "checking whether the compiler supports static_cast<>... $ECHO_C" >&6; }
23100 if test "${ac_cv_cxx_static_cast+set}" = set; then
23101 echo $ECHO_N "(cached) $ECHO_C" >&6
23105 ac_cpp='$CXXCPP $CPPFLAGS'
23106 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
23107 ac_link='$CXX -o conftest
$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
23108 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23110 cat >conftest.$ac_ext <<_ACEOF
23113 cat confdefs.h >>conftest.$ac_ext
23114 cat >>conftest.$ac_ext <<_ACEOF
23115 /* end confdefs.h. */
23116 #include <typeinfo>
23117 class Base { public : Base () {} virtual void f () = 0; };
23118 class Derived : public Base { public : Derived () {} virtual void f () {} };
23119 int g (Derived&) { return 0; }
23124 Derived d; Base& b = d; Derived& s = static_cast<Derived&> (b); return g (s);
23129 rm -f conftest.$ac_objext
23130 if { (ac_try="$ac_compile"
23131 case "(($ac_try" in
23132 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23133 *) ac_try_echo=$ac_try;;
23135 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23136 (eval "$ac_compile") 2>conftest.er1
23138 grep -v '^
*+' conftest.er1 >conftest.err
23140 cat conftest.err >&5
23141 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23142 (exit $ac_status); } && {
23143 test -z "$ac_cxx_werror_flag" ||
23144 test ! -s conftest.err
23145 } && test -s conftest.$ac_objext; then
23146 ac_cv_cxx_static_cast=yes
23148 echo "$as_me: failed program was:" >&5
23149 sed 's
/^
/| /' conftest.$ac_ext >&5
23151 ac_cv_cxx_static_cast=no
23154 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23156 ac_cpp='$CPP $CPPFLAGS'
23157 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
23158 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
23159 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23163 { echo "$as_me:$LINENO: result: $ac_cv_cxx_static_cast" >&5
23164 echo "${ECHO_T}$ac_cv_cxx_static_cast" >&6; }
23165 if test "$ac_cv_cxx_static_cast" = yes; then
23167 cat >>confdefs.h <<\_ACEOF
23168 #define HAVE_STATIC_CAST
23174 if test "x$SUNCXX" = xyes; then
23175 CXXFLAGS="-features=tmplife $CXXFLAGS"
23178 if test "x$SUNCC" = xyes; then
23179 CFLAGS="-erroff=E_NO_EXPLICIT_TYPE_GIVEN $CFLAGS"
23182 if test "x$SGICC" = "xyes"; then
23183 CFLAGS="-woff 3970 $CFLAGS"
23185 if test "x$SGICXX" = "xyes"; then
23186 CXXFLAGS="-woff 3970 $CXXFLAGS"
23189 if test "x$HPCC" = "xyes"; then
23190 CFLAGS="+W 2011,2450 $CFLAGS"
23192 if test "x$HPCXX" = "xyes"; then
23193 CXXFLAGS="+W 2340 $CXXFLAGS"
23196 if test "x$COMPAQCXX" = "xyes"; then
23197 CXXFLAGS="-w0 -msg_disable basclsnondto,unrimpret,intconlosbit"
23201 ac_cpp='$CXXCPP $CPPFLAGS'
23202 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
23203 ac_link='$CXX -o conftest
$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
23204 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23207 if test "$wxUSE_STD_STRING" = "yes" -o "$wxUSE_STL" = "yes"; then
23208 if test "$wxUSE_UNICODE" = "yes"; then
23209 std_string="std::wstring"
23210 char_type="wchar_t"
23212 std_string="std::string"
23216 { echo "$as_me:$LINENO: checking for $std_string in <string>" >&5
23217 echo $ECHO_N "checking for $std_string in <string>... $ECHO_C" >&6; }
23218 if test "${wx_cv_class_stdstring+set}" = set; then
23219 echo $ECHO_N "(cached) $ECHO_C" >&6
23222 cat >conftest.$ac_ext <<_ACEOF
23225 cat confdefs.h >>conftest.$ac_ext
23226 cat >>conftest.$ac_ext <<_ACEOF
23227 /* end confdefs.h. */
23237 rm -f conftest.$ac_objext
23238 if { (ac_try="$ac_compile"
23239 case "(($ac_try" in
23240 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23241 *) ac_try_echo=$ac_try;;
23243 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23244 (eval "$ac_compile") 2>conftest.er1
23246 grep -v '^
*+' conftest.er1 >conftest.err
23248 cat conftest.err >&5
23249 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23250 (exit $ac_status); } && {
23251 test -z "$ac_cxx_werror_flag" ||
23252 test ! -s conftest.err
23253 } && test -s conftest.$ac_objext; then
23254 wx_cv_class_stdstring=yes
23256 echo "$as_me: failed program was:" >&5
23257 sed 's
/^
/| /' conftest.$ac_ext >&5
23259 wx_cv_class_stdstring=no
23263 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23267 { echo "$as_me:$LINENO: result: $wx_cv_class_stdstring" >&5
23268 echo "${ECHO_T}$wx_cv_class_stdstring" >&6; }
23270 if test "$wx_cv_class_stdstring" = yes; then
23271 if test "$wxUSE_UNICODE" = "yes"; then
23272 cat >>confdefs.h <<\_ACEOF
23273 #define HAVE_STD_WSTRING 1
23278 { echo "$as_me:$LINENO: checking if std::basic_string<$char_type> works" >&5
23279 echo $ECHO_N "checking if std::basic_string<$char_type> works... $ECHO_C" >&6; }
23280 if test "${wx_cv_class_stdbasicstring+set}" = set; then
23281 echo $ECHO_N "(cached) $ECHO_C" >&6
23284 cat >conftest.$ac_ext <<_ACEOF
23287 cat confdefs.h >>conftest.$ac_ext
23288 cat >>conftest.$ac_ext <<_ACEOF
23289 /* end confdefs.h. */
23291 #ifdef HAVE_WCHAR_H
23293 # include <stddef.h>
23295 # include <wchar.h>
23297 #ifdef HAVE_STDLIB_H
23298 # include <stdlib.h>
23306 std::basic_string<$char_type> foo;
23307 const $char_type* dummy = foo.c_str();
23312 rm -f conftest.$ac_objext
23313 if { (ac_try="$ac_compile"
23314 case "(($ac_try" in
23315 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23316 *) ac_try_echo=$ac_try;;
23318 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23319 (eval "$ac_compile") 2>conftest.er1
23321 grep -v '^
*+' conftest.er1 >conftest.err
23323 cat conftest.err >&5
23324 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23325 (exit $ac_status); } && {
23326 test -z "$ac_cxx_werror_flag" ||
23327 test ! -s conftest.err
23328 } && test -s conftest.$ac_objext; then
23329 wx_cv_class_stdbasicstring=yes
23331 echo "$as_me: failed program was:" >&5
23332 sed 's
/^
/| /' conftest.$ac_ext >&5
23334 wx_cv_class_stdbasicstring=no
23338 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23342 { echo "$as_me:$LINENO: result: $wx_cv_class_stdbasicstring" >&5
23343 echo "${ECHO_T}$wx_cv_class_stdbasicstring" >&6; }
23345 if test "$wx_cv_class_stdbasicstring" != yes; then
23346 if test "$wxUSE_STL" = "yes"; then
23347 { { echo "$as_me:$LINENO: error: Can't use
--enable-stl without
$std_string or std
::basic_string
<$char_type>" >&5
23348 echo "$as_me: error
: Can
't use --enable-stl without $std_string or std::basic_string<$char_type>" >&2;}
23349 { (exit 1); exit 1; }; }
23350 elif grep wxUSE_STD_STRING $wx_arg_cache_file >/dev/null; then
23351 { { echo "$as_me:$LINENO: error: Can't use
--enable-std_string without
$std_string or std
::basic_string
<$char_type>" >&5
23352 echo "$as_me: error
: Can
't use --enable-std_string without $std_string or std::basic_string<$char_type>" >&2;}
23353 { (exit 1); exit 1; }; }
23355 { echo "$as_me:$LINENO: WARNING: No $std_string or std::basic_string<$char_type>, switching to --disable-std_string" >&5
23356 echo "$as_me: WARNING: No $std_string or std::basic_string<$char_type>, switching to --disable-std_string" >&2;}
23357 wxUSE_STD_STRING=no
23363 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
23364 { echo "$as_me:$LINENO: checking for std::istream" >&5
23365 echo $ECHO_N "checking for std::istream... $ECHO_C" >&6; }
23366 if test "${ac_cv_type_std__istream+set}" = set; then
23367 echo $ECHO_N "(cached) $ECHO_C" >&6
23369 cat >conftest.$ac_ext <<_ACEOF
23372 cat confdefs.h >>conftest.$ac_ext
23373 cat >>conftest.$ac_ext <<_ACEOF
23374 /* end confdefs.h. */
23375 #include <iostream>
23377 typedef std::istream ac__type_new_;
23381 if ((ac__type_new_ *) 0)
23383 if (sizeof (ac__type_new_))
23389 rm -f conftest.$ac_objext
23390 if { (ac_try="$ac_compile"
23391 case "(($ac_try" in
23392 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23393 *) ac_try_echo=$ac_try;;
23395 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23396 (eval "$ac_compile") 2>conftest.er1
23398 grep -v '^
*+' conftest.er1 >conftest.err
23400 cat conftest.err >&5
23401 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23402 (exit $ac_status); } && {
23403 test -z "$ac_cxx_werror_flag" ||
23404 test ! -s conftest.err
23405 } && test -s conftest.$ac_objext; then
23406 ac_cv_type_std__istream=yes
23408 echo "$as_me: failed program was:" >&5
23409 sed 's
/^
/| /' conftest.$ac_ext >&5
23411 ac_cv_type_std__istream=no
23414 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23416 { echo "$as_me:$LINENO: result: $ac_cv_type_std__istream" >&5
23417 echo "${ECHO_T}$ac_cv_type_std__istream" >&6; }
23418 if test $ac_cv_type_std__istream = yes; then
23420 cat >>confdefs.h <<_ACEOF
23421 #define HAVE_STD__ISTREAM 1
23426 wxUSE_STD_IOSTREAM=no
23428 { echo "$as_me:$LINENO: checking for std::ostream" >&5
23429 echo $ECHO_N "checking for std::ostream... $ECHO_C" >&6; }
23430 if test "${ac_cv_type_std__ostream+set}" = set; then
23431 echo $ECHO_N "(cached) $ECHO_C" >&6
23433 cat >conftest.$ac_ext <<_ACEOF
23436 cat confdefs.h >>conftest.$ac_ext
23437 cat >>conftest.$ac_ext <<_ACEOF
23438 /* end confdefs.h. */
23439 #include <iostream>
23441 typedef std::ostream ac__type_new_;
23445 if ((ac__type_new_ *) 0)
23447 if (sizeof (ac__type_new_))
23453 rm -f conftest.$ac_objext
23454 if { (ac_try="$ac_compile"
23455 case "(($ac_try" in
23456 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23457 *) ac_try_echo=$ac_try;;
23459 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23460 (eval "$ac_compile") 2>conftest.er1
23462 grep -v '^
*+' conftest.er1 >conftest.err
23464 cat conftest.err >&5
23465 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23466 (exit $ac_status); } && {
23467 test -z "$ac_cxx_werror_flag" ||
23468 test ! -s conftest.err
23469 } && test -s conftest.$ac_objext; then
23470 ac_cv_type_std__ostream=yes
23472 echo "$as_me: failed program was:" >&5
23473 sed 's
/^
/| /' conftest.$ac_ext >&5
23475 ac_cv_type_std__ostream=no
23478 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23480 { echo "$as_me:$LINENO: result: $ac_cv_type_std__ostream" >&5
23481 echo "${ECHO_T}$ac_cv_type_std__ostream" >&6; }
23482 if test $ac_cv_type_std__ostream = yes; then
23484 cat >>confdefs.h <<_ACEOF
23485 #define HAVE_STD__OSTREAM 1
23490 wxUSE_STD_IOSTREAM=no
23494 if test "$wxUSE_STD_IOSTREAM" != "yes"; then
23495 if grep wxUSE_STD_IOSTREAM $wx_arg_cache_file >/dev/null; then
23496 { { echo "$as_me:$LINENO: error: Can't use
--enable-std_iostreams without std
::istream and std
::ostream
" >&5
23497 echo "$as_me: error
: Can
't use --enable-std_iostreams without std::istream and std::ostream" >&2;}
23498 { (exit 1); exit 1; }; }
23500 { echo "$as_me:$LINENO: WARNING: No std::iostreams, switching to --disable-std_iostreams" >&5
23501 echo "$as_me: WARNING: No std::iostreams, switching to --disable-std_iostreams" >&2;}
23506 if test "$wxUSE_STL" = "yes"; then
23507 { echo "$as_me:$LINENO: checking for basic STL functionality" >&5
23508 echo $ECHO_N "checking for basic STL functionality... $ECHO_C" >&6; }
23509 if test "${wx_cv_lib_stl+set}" = set; then
23510 echo $ECHO_N "(cached) $ECHO_C" >&6
23512 cat >conftest.$ac_ext <<_ACEOF
23515 cat confdefs.h >>conftest.$ac_ext
23516 cat >>conftest.$ac_ext <<_ACEOF
23517 /* end confdefs.h. */
23519 #include <functional>
23520 #include <algorithm>
23526 std::vector<int> moo;
23527 std::list<int> foo;
23528 std::vector<int>::iterator it =
23529 std::find_if(moo.begin(), moo.end(),
23530 std::bind2nd(std::less<int>(), 3));
23535 rm -f conftest.$ac_objext
23536 if { (ac_try="$ac_compile"
23537 case "(($ac_try" in
23538 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23539 *) ac_try_echo=$ac_try;;
23541 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23542 (eval "$ac_compile") 2>conftest.er1
23544 grep -v '^
*+' conftest.er1 >conftest.err
23546 cat conftest.err >&5
23547 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23548 (exit $ac_status); } && {
23549 test -z "$ac_cxx_werror_flag" ||
23550 test ! -s conftest.err
23551 } && test -s conftest.$ac_objext; then
23554 echo "$as_me: failed program was:" >&5
23555 sed 's
/^
/| /' conftest.$ac_ext >&5
23561 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23564 { echo "$as_me:$LINENO: result: $wx_cv_lib_stl" >&5
23565 echo "${ECHO_T}$wx_cv_lib_stl" >&6; }
23567 if test "$wx_cv_lib_stl" != yes; then
23568 { { echo "$as_me:$LINENO: error: Can't use
--enable-stl as basic STL functionality is missing
" >&5
23569 echo "$as_me: error
: Can
't use --enable-stl as basic STL functionality is missing" >&2;}
23570 { (exit 1); exit 1; }; }
23573 { echo "$as_me:$LINENO: checking for compliant std::string::compare" >&5
23574 echo $ECHO_N "checking for compliant std::string::compare... $ECHO_C" >&6; }
23575 if test "${wx_cv_func_stdstring_compare+set}" = set; then
23576 echo $ECHO_N "(cached) $ECHO_C" >&6
23578 cat >conftest.$ac_ext <<_ACEOF
23581 cat confdefs.h >>conftest.$ac_ext
23582 cat >>conftest.$ac_ext <<_ACEOF
23583 /* end confdefs.h. */
23588 std::string foo, bar;
23590 foo.compare(1, 1, bar);
23591 foo.compare(1, 1, bar, 1, 1);
23593 foo.compare(1, 1, "");
23594 foo.compare(1, 1, "", 2);
23599 rm -f conftest.$ac_objext
23600 if { (ac_try="$ac_compile"
23601 case "(($ac_try" in
23602 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23603 *) ac_try_echo=$ac_try;;
23605 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23606 (eval "$ac_compile") 2>conftest.er1
23608 grep -v '^
*+' conftest.er1 >conftest.err
23610 cat conftest.err >&5
23611 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23612 (exit $ac_status); } && {
23613 test -z "$ac_cxx_werror_flag" ||
23614 test ! -s conftest.err
23615 } && test -s conftest.$ac_objext; then
23616 wx_cv_func_stdstring_compare=yes
23618 echo "$as_me: failed program was:" >&5
23619 sed 's
/^
/| /' conftest.$ac_ext >&5
23621 wx_cv_func_stdstring_compare=no
23625 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23628 { echo "$as_me:$LINENO: result: $wx_cv_func_stdstring_compare" >&5
23629 echo "${ECHO_T}$wx_cv_func_stdstring_compare" >&6; }
23631 if test "$wx_cv_func_stdstring_compare" = yes; then
23632 cat >>confdefs.h <<\_ACEOF
23633 #define HAVE_STD_STRING_COMPARE 1
23638 { echo "$as_me:$LINENO: checking for hash_map" >&5
23639 echo $ECHO_N "checking for hash_map... $ECHO_C" >&6; }
23640 if test "${ac_cv_header_hash_map+set}" = set; then
23641 echo $ECHO_N "(cached) $ECHO_C" >&6
23643 cat >conftest.$ac_ext <<_ACEOF
23646 cat confdefs.h >>conftest.$ac_ext
23647 cat >>conftest.$ac_ext <<_ACEOF
23648 /* end confdefs.h. */
23652 #include <hash_map>
23654 rm -f conftest.$ac_objext
23655 if { (ac_try="$ac_compile"
23656 case "(($ac_try" in
23657 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23658 *) ac_try_echo=$ac_try;;
23660 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23661 (eval "$ac_compile") 2>conftest.er1
23663 grep -v '^
*+' conftest.er1 >conftest.err
23665 cat conftest.err >&5
23666 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23667 (exit $ac_status); } && {
23668 test -z "$ac_cxx_werror_flag" ||
23669 test ! -s conftest.err
23670 } && test -s conftest.$ac_objext; then
23671 ac_cv_header_hash_map=yes
23673 echo "$as_me: failed program was:" >&5
23674 sed 's
/^
/| /' conftest.$ac_ext >&5
23676 ac_cv_header_hash_map=no
23679 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23681 { echo "$as_me:$LINENO: result: $ac_cv_header_hash_map" >&5
23682 echo "${ECHO_T}$ac_cv_header_hash_map" >&6; }
23683 if test $ac_cv_header_hash_map = yes; then
23684 { echo "$as_me:$LINENO: checking for standard hash_map and hash_set" >&5
23685 echo $ECHO_N "checking for standard hash_map and hash_set... $ECHO_C" >&6; }
23686 if test "${wx_cv_class_stdhashmapset+set}" = set; then
23687 echo $ECHO_N "(cached) $ECHO_C" >&6
23689 cat >conftest.$ac_ext <<_ACEOF
23692 cat confdefs.h >>conftest.$ac_ext
23693 cat >>conftest.$ac_ext <<_ACEOF
23694 /* end confdefs.h. */
23695 #include <hash_map>
23696 #include <hash_set>
23700 std::hash_map<double*, char*, std::hash<double*>, std::equal_to<double*> > test1;
23701 std::hash_set<char*, std::hash<char*>, std::equal_to<char*> > test2;
23706 rm -f conftest.$ac_objext
23707 if { (ac_try="$ac_compile"
23708 case "(($ac_try" in
23709 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23710 *) ac_try_echo=$ac_try;;
23712 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23713 (eval "$ac_compile") 2>conftest.er1
23715 grep -v '^
*+' conftest.er1 >conftest.err
23717 cat conftest.err >&5
23718 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23719 (exit $ac_status); } && {
23720 test -z "$ac_cxx_werror_flag" ||
23721 test ! -s conftest.err
23722 } && test -s conftest.$ac_objext; then
23723 wx_cv_class_stdhashmapset=yes
23725 echo "$as_me: failed program was:" >&5
23726 sed 's
/^
/| /' conftest.$ac_ext >&5
23728 wx_cv_class_stdhashmapset=no
23731 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23735 { echo "$as_me:$LINENO: result: $wx_cv_class_stdhashmapset" >&5
23736 echo "${ECHO_T}$wx_cv_class_stdhashmapset" >&6; }
23741 if test "$wx_cv_class_stdhashmapset" = yes; then
23742 cat >>confdefs.h <<\_ACEOF
23743 #define HAVE_HASH_MAP 1
23746 cat >>confdefs.h <<\_ACEOF
23747 #define HAVE_STD_HASH_MAP 1
23752 { echo "$as_me:$LINENO: checking for ext/hash_map" >&5
23753 echo $ECHO_N "checking for ext/hash_map... $ECHO_C" >&6; }
23754 if test "${ac_cv_header_ext_hash_map+set}" = set; then
23755 echo $ECHO_N "(cached) $ECHO_C" >&6
23757 cat >conftest.$ac_ext <<_ACEOF
23760 cat confdefs.h >>conftest.$ac_ext
23761 cat >>conftest.$ac_ext <<_ACEOF
23762 /* end confdefs.h. */
23766 #include <ext/hash_map>
23768 rm -f conftest.$ac_objext
23769 if { (ac_try="$ac_compile"
23770 case "(($ac_try" in
23771 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23772 *) ac_try_echo=$ac_try;;
23774 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23775 (eval "$ac_compile") 2>conftest.er1
23777 grep -v '^
*+' conftest.er1 >conftest.err
23779 cat conftest.err >&5
23780 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23781 (exit $ac_status); } && {
23782 test -z "$ac_cxx_werror_flag" ||
23783 test ! -s conftest.err
23784 } && test -s conftest.$ac_objext; then
23785 ac_cv_header_ext_hash_map=yes
23787 echo "$as_me: failed program was:" >&5
23788 sed 's
/^
/| /' conftest.$ac_ext >&5
23790 ac_cv_header_ext_hash_map=no
23793 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23795 { echo "$as_me:$LINENO: result: $ac_cv_header_ext_hash_map" >&5
23796 echo "${ECHO_T}$ac_cv_header_ext_hash_map" >&6; }
23797 if test $ac_cv_header_ext_hash_map = yes; then
23798 { echo "$as_me:$LINENO: checking for GNU hash_map and hash_set" >&5
23799 echo $ECHO_N "checking for GNU hash_map and hash_set... $ECHO_C" >&6; }
23800 if test "${wx_cv_class_gnuhashmapset+set}" = set; then
23801 echo $ECHO_N "(cached) $ECHO_C" >&6
23803 cat >conftest.$ac_ext <<_ACEOF
23806 cat confdefs.h >>conftest.$ac_ext
23807 cat >>conftest.$ac_ext <<_ACEOF
23808 /* end confdefs.h. */
23809 #include <ext/hash_map>
23810 #include <ext/hash_set>
23814 __gnu_cxx::hash_map<double*, char*, __gnu_cxx::hash<double*>, std::equal_to<double*> > test1;
23815 __gnu_cxx::hash_set<char*, __gnu_cxx::hash<char*>, std::equal_to<char*> > test2;
23820 rm -f conftest.$ac_objext
23821 if { (ac_try="$ac_compile"
23822 case "(($ac_try" in
23823 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23824 *) ac_try_echo=$ac_try;;
23826 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23827 (eval "$ac_compile") 2>conftest.er1
23829 grep -v '^
*+' conftest.er1 >conftest.err
23831 cat conftest.err >&5
23832 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23833 (exit $ac_status); } && {
23834 test -z "$ac_cxx_werror_flag" ||
23835 test ! -s conftest.err
23836 } && test -s conftest.$ac_objext; then
23837 wx_cv_class_gnuhashmapset=yes
23839 echo "$as_me: failed program was:" >&5
23840 sed 's
/^
/| /' conftest.$ac_ext >&5
23842 wx_cv_class_gnuhashmapset=no
23845 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23849 { echo "$as_me:$LINENO: result: $wx_cv_class_gnuhashmapset" >&5
23850 echo "${ECHO_T}$wx_cv_class_gnuhashmapset" >&6; }
23855 if test "$wx_cv_class_gnuhashmapset" = yes; then
23856 cat >>confdefs.h <<\_ACEOF
23857 #define HAVE_EXT_HASH_MAP 1
23860 cat >>confdefs.h <<\_ACEOF
23861 #define HAVE_GNU_CXX_HASH_MAP 1
23868 ac_cpp='$CPP $CPPFLAGS'
23869 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
23870 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
23871 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23876 /usr/local/include \
23878 /usr/Motif-2.1/include \
23879 /usr/Motif-1.2/include \
23880 /usr/include/Motif1.2 \
23883 /usr/openwin/include \
23887 /usr/X11R6/include \
23888 /usr/X11R6.4/include \
23889 /usr/X11R5/include \
23890 /usr/X11R4/include \
23892 /usr/include/X11R6 \
23893 /usr/include/X11R5 \
23894 /usr/include/X11R4 \
23896 /usr/local/X11R6/include \
23897 /usr/local/X11R5/include \
23898 /usr/local/X11R4/include \
23900 /usr/local/include/X11R6 \
23901 /usr/local/include/X11R5 \
23902 /usr/local/include/X11R4 \
23906 /usr/local/X11/include \
23907 /usr/local/include/X11 \
23909 /usr/XFree86/include/X11 \
23912 /usr/openwin/share/include"
23914 { echo "$as_me:$LINENO: checking for libraries directory" >&5
23915 echo $ECHO_N "checking for libraries directory... $ECHO_C" >&6; }
23919 if test "${wx_cv_std_libpath+set}" = set; then
23920 echo $ECHO_N "(cached) $ECHO_C" >&6
23923 for d in /usr/lib /usr/lib32 /usr/lib/64 /usr/lib64; do
23924 for e in a so sl dylib dll.a; do
23926 if test -f $libc; then
23929 cat >conftest.$ac_ext <<_ACEOF
23930 int main() { return 0; }
23932 rm -f conftest.$ac_objext conftest$ac_exeext
23933 if { (ac_try="$ac_link"
23934 case "(($ac_try" in
23935 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23936 *) ac_try_echo=$ac_try;;
23938 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23939 (eval "$ac_link") 2>conftest.er1
23941 grep -v '^
*+' conftest.er1 >conftest.err
23943 cat conftest.err >&5
23944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23945 (exit $ac_status); } && {
23946 test -z "$ac_c_werror_flag" ||
23947 test ! -s conftest.err
23948 } && test -s conftest$ac_exeext &&
23949 $as_test_x conftest$ac_exeext; then
23950 wx_cv_std_libpath=`echo $d | sed s@/usr/@@`
23952 echo "$as_me: failed program was:" >&5
23953 sed 's
/^
/| /' conftest.$ac_ext >&5
23958 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
23959 conftest$ac_exeext conftest.$ac_ext
23961 if test "x$wx_cv_std_libpath" != "x"; then
23967 if test "x$wx_cv_std_libpath" = "x"; then
23968 wx_cv_std_libpath="lib"
23977 if test "$ac_cv_sizeof_void_p" = 8 -a -d "/usr/lib/64"; then
23978 wx_cv_std_libpath="lib/64"
23980 wx_cv_std_libpath="lib"
23985 if test "$ac_cv_sizeof_void_p" = 8 -a \
23986 -d "/usr/lib64" -a ! -h "/usr/lib64"; then
23987 wx_cv_std_libpath="lib64"
23989 wx_cv_std_libpath="lib"
23994 wx_cv_std_libpath="lib";
23998 { echo "$as_me:$LINENO: result: $wx_cv_std_libpath" >&5
23999 echo "${ECHO_T}$wx_cv_std_libpath" >&6; }
24001 SEARCH_LIB="`echo "$SEARCH_INCLUDE" | sed s@include@$wx_cv_std_libpath@g` /usr/$wx_cv_std_libpath"
24003 if test "$build" != "$host" -a "$GCC" = yes; then
24004 if cross_root=`$CC -print-prog-name=ld 2>/dev/null`; then
24005 cross_root=`dirname $cross_root`
24006 cross_root=`dirname $cross_root`
24008 SEARCH_LIB=`for x in $SEARCH_LIB; do echo $x; done | sed -ne "s|^/usr|$cross_root|p"`
24009 SEARCH_INCLUDE=`for x in $SEARCH_INCLUDE; do echo $x; done | sed -ne "s|^/usr|$cross_root|p"`
24010 SEARCH_INCLUDE="$SEARCH_INCLUDE $cross_root/include"
24012 if test -z "$PKG_CONFIG_PATH"; then
24013 PKG_CONFIG_PATH="$cross_root/local/lib/pkgconfig:$cross_root/lib/pkgconfig"
24014 export PKG_CONFIG_PATH
24017 if test -z "$x_includes" -o "$x_includes" = NONE; then
24020 for ac_dir in $SEARCH_INCLUDE /usr/include;
24022 if test -f "$ac_dir/X11/Intrinsic.h"; then
24023 ac_find_includes=$ac_dir
24028 x_includes=$ac_find_includes
24030 if test -z "$x_libraries" -o "$x_libraries" = NONE; then
24033 for ac_dir in $SEARCH_LIB;
24035 for ac_extension in a so sl dylib dll.a; do
24036 if test -f "$ac_dir/libXt.$ac_extension"; then
24037 ac_find_libraries=$ac_dir
24043 x_libraries=$ac_find_libraries
24049 cat >confcache <<\_ACEOF
24050 # This file is a shell script that caches the results of configure
24051 # tests run on this system so they can be shared between configure
24052 # scripts and configure runs, see configure's option
--config-cache.
24053 # It is not useful on other systems. If it contains results you don't
24054 # want to keep, you may remove or edit it.
24056 # config.status only pays attention to the cache file if you give it
24057 # the --recheck option to rerun configure.
24059 # `ac_cv_env_foo' variables (set or unset) will be overridden when
24060 # loading this file, other *unset* `ac_cv_foo' will be assigned the
24061 # following values.
24065 # The following way of writing the cache mishandles newlines in values,
24066 # but we know of no workaround that is simple, portable, and efficient.
24067 # So, we kill variables containing newlines.
24068 # Ultrix sh set writes to stderr and can't be redirected directly,
24069 # and sets the high bit in the cache file unless we assign to the vars.
24071 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
24072 eval ac_val
=\$
$ac_var
24076 *_cv_
*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
24077 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
24080 _
| IFS
| as_nl
) ;; #(
24081 *) $as_unset $ac_var ;;
24087 case $as_nl`(ac_space=' '; set) 2>&1` in #(
24088 *${as_nl}ac_space
=\
*)
24089 # `set' does not quote correctly, so add quotes (double-quote
24090 # substitution turns \\\\ into \\, and sed turns \\ into \).
24093 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
24096 # `set' quotes correctly as required by POSIX, so do not add quotes.
24097 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
24106 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
24108 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
24110 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
24111 if test -w "$cache_file"; then
24112 test "x$cache_file" != "x/dev/null" &&
24113 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
24114 echo "$as_me: updating cache $cache_file" >&6;}
24115 cat confcache
>$cache_file
24117 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
24118 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
24123 if test "$USE_LINUX" = 1 -o "$USE_GNU" = 1; then
24124 { echo "$as_me:$LINENO: checking for glibc 2.1 or later" >&5
24125 echo $ECHO_N "checking for glibc 2.1 or later... $ECHO_C" >&6; }
24126 if test "${wx_cv_lib_glibc21+set}" = set; then
24127 echo $ECHO_N "(cached) $ECHO_C" >&6
24130 cat >conftest.
$ac_ext <<_ACEOF
24133 cat confdefs.h
>>conftest.
$ac_ext
24134 cat >>conftest.
$ac_ext <<_ACEOF
24135 /* end confdefs.h. */
24136 #include <features.h>
24141 #if (__GLIBC__ < 2) || (__GLIBC_MINOR__ < 1)
24149 rm -f conftest.
$ac_objext
24150 if { (ac_try
="$ac_compile"
24151 case "(($ac_try" in
24152 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
24153 *) ac_try_echo=$ac_try;;
24155 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24156 (eval "$ac_compile") 2>conftest.er1
24158 grep -v '^ *+' conftest.er1 >conftest.err
24160 cat conftest.err >&5
24161 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24162 (exit $ac_status); } && {
24163 test -z "$ac_c_werror_flag" ||
24164 test ! -s conftest.err
24165 } && test -s conftest.$ac_objext; then
24167 wx_cv_lib_glibc21=yes
24170 echo "$as_me: failed program was:" >&5
24171 sed 's/^/| /' conftest.$ac_ext >&5
24174 wx_cv_lib_glibc21=no
24179 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24182 { echo "$as_me:$LINENO: result: $wx_cv_lib_glibc21" >&5
24183 echo "${ECHO_T}$wx_cv_lib_glibc21" >&6; }
24184 if test "$wx_cv_lib_glibc21" = "yes"; then
24185 cat >>confdefs.h <<\_ACEOF
24186 #define wxHAVE_GLIBC2 1
24192 if test "x$wx_cv_lib_glibc21" = "xyes"; then
24193 if test "$wxUSE_UNICODE" = "yes" -o "$wxUSE_THREADS" = "yes"; then
24194 cat >>confdefs.h <<\_ACEOF
24195 #define _GNU_SOURCE 1
24206 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24207 { echo "$as_me:$LINENO: checking for $ac_func" >&5
24208 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
24209 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
24210 echo $ECHO_N "(cached) $ECHO_C" >&6
24212 cat >conftest.$ac_ext <<_ACEOF
24215 cat confdefs.h >>conftest.$ac_ext
24216 cat >>conftest.$ac_ext <<_ACEOF
24217 /* end confdefs.h. */
24218 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
24219 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24220 #define $ac_func innocuous_$ac_func
24222 /* System header to define __stub macros and hopefully few prototypes,
24223 which can conflict with char $ac_func (); below.
24224 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24225 <limits.h> exists even on freestanding compilers. */
24228 # include <limits.h>
24230 # include <assert.h>
24235 /* Override any GCC internal prototype to avoid an error.
24236 Use char because int might match the return type of a GCC
24237 builtin and then its argument prototype would still apply. */
24242 /* The GNU C library defines this for functions which it implements
24243 to always fail with ENOSYS. Some functions are actually named
24244 something starting with __ and the normal name is an alias. */
24245 #if defined __stub_$ac_func || defined __stub___$ac_func
24252 return $ac_func ();
24257 rm -f conftest.$ac_objext conftest$ac_exeext
24258 if { (ac_try="$ac_link"
24259 case "(($ac_try" in
24260 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
24261 *) ac_try_echo
=$ac_try;;
24263 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24264 (eval "$ac_link") 2>conftest.er1
24266 grep -v '^ *+' conftest.er1
>conftest.err
24268 cat conftest.err
>&5
24269 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24270 (exit $ac_status); } && {
24271 test -z "$ac_c_werror_flag" ||
24272 test ! -s conftest.err
24273 } && test -s conftest
$ac_exeext &&
24274 $as_test_x conftest
$ac_exeext; then
24275 eval "$as_ac_var=yes"
24277 echo "$as_me: failed program was:" >&5
24278 sed 's/^/| /' conftest.
$ac_ext >&5
24280 eval "$as_ac_var=no"
24283 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
24284 conftest
$ac_exeext conftest.
$ac_ext
24286 ac_res
=`eval echo '${'$as_ac_var'}'`
24287 { echo "$as_me:$LINENO: result: $ac_res" >&5
24288 echo "${ECHO_T}$ac_res" >&6; }
24289 if test `eval echo '${'$as_ac_var'}'` = yes; then
24290 cat >>confdefs.h
<<_ACEOF
24291 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24298 for ac_func
in floor
24300 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24301 { echo "$as_me:$LINENO: checking for $ac_func" >&5
24302 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
24303 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
24304 echo $ECHO_N "(cached) $ECHO_C" >&6
24306 cat >conftest.
$ac_ext <<_ACEOF
24309 cat confdefs.h
>>conftest.
$ac_ext
24310 cat >>conftest.
$ac_ext <<_ACEOF
24311 /* end confdefs.h. */
24312 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
24313 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24314 #define $ac_func innocuous_$ac_func
24316 /* System header to define __stub macros and hopefully few prototypes,
24317 which can conflict with char $ac_func (); below.
24318 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24319 <limits.h> exists even on freestanding compilers. */
24322 # include <limits.h>
24324 # include <assert.h>
24329 /* Override any GCC internal prototype to avoid an error.
24330 Use char because int might match the return type of a GCC
24331 builtin and then its argument prototype would still apply. */
24336 /* The GNU C library defines this for functions which it implements
24337 to always fail with ENOSYS. Some functions are actually named
24338 something starting with __ and the normal name is an alias. */
24339 #if defined __stub_$ac_func || defined __stub___$ac_func
24346 return $ac_func ();
24351 rm -f conftest.
$ac_objext conftest
$ac_exeext
24352 if { (ac_try
="$ac_link"
24353 case "(($ac_try" in
24354 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
24355 *) ac_try_echo=$ac_try;;
24357 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24358 (eval "$ac_link") 2>conftest.er1
24360 grep -v '^ *+' conftest.er1 >conftest.err
24362 cat conftest.err >&5
24363 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24364 (exit $ac_status); } && {
24365 test -z "$ac_c_werror_flag" ||
24366 test ! -s conftest.err
24367 } && test -s conftest$ac_exeext &&
24368 $as_test_x conftest$ac_exeext; then
24369 eval "$as_ac_var=yes"
24371 echo "$as_me: failed program was:" >&5
24372 sed 's/^/| /' conftest.$ac_ext >&5
24374 eval "$as_ac_var=no"
24377 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
24378 conftest$ac_exeext conftest.$ac_ext
24380 ac_res=`eval echo '${'$as_ac_var'}'`
24381 { echo "$as_me:$LINENO: result: $ac_res" >&5
24382 echo "${ECHO_T}$ac_res" >&6; }
24383 if test `eval echo '${'$as_ac_var'}'` = yes; then
24384 cat >>confdefs.h <<_ACEOF
24385 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24391 { echo "$as_me:$LINENO: checking if floating point functions link without -lm" >&5
24392 echo $ECHO_N "checking if floating point functions link without -lm... $ECHO_C" >&6; }
24393 if test "$have_cos" = 1 -a "$have_floor" = 1; then
24394 { echo "$as_me:$LINENO: result: yes" >&5
24395 echo "${ECHO_T}yes" >&6; }
24397 { echo "$as_me:$LINENO: result: no" >&5
24398 echo "${ECHO_T}no" >&6; }
24400 # use different functions to avoid configure caching
24406 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24407 { echo "$as_me:$LINENO: checking for $ac_func" >&5
24408 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
24409 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
24410 echo $ECHO_N "(cached) $ECHO_C" >&6
24412 cat >conftest.$ac_ext <<_ACEOF
24415 cat confdefs.h >>conftest.$ac_ext
24416 cat >>conftest.$ac_ext <<_ACEOF
24417 /* end confdefs.h. */
24418 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
24419 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24420 #define $ac_func innocuous_$ac_func
24422 /* System header to define __stub macros and hopefully few prototypes,
24423 which can conflict with char $ac_func (); below.
24424 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24425 <limits.h> exists even on freestanding compilers. */
24428 # include <limits.h>
24430 # include <assert.h>
24435 /* Override any GCC internal prototype to avoid an error.
24436 Use char because int might match the return type of a GCC
24437 builtin and then its argument prototype would still apply. */
24442 /* The GNU C library defines this for functions which it implements
24443 to always fail with ENOSYS. Some functions are actually named
24444 something starting with __ and the normal name is an alias. */
24445 #if defined __stub_$ac_func || defined __stub___$ac_func
24452 return $ac_func ();
24457 rm -f conftest.$ac_objext conftest$ac_exeext
24458 if { (ac_try="$ac_link"
24459 case "(($ac_try" in
24460 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
24461 *) ac_try_echo
=$ac_try;;
24463 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24464 (eval "$ac_link") 2>conftest.er1
24466 grep -v '^ *+' conftest.er1
>conftest.err
24468 cat conftest.err
>&5
24469 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24470 (exit $ac_status); } && {
24471 test -z "$ac_c_werror_flag" ||
24472 test ! -s conftest.err
24473 } && test -s conftest
$ac_exeext &&
24474 $as_test_x conftest
$ac_exeext; then
24475 eval "$as_ac_var=yes"
24477 echo "$as_me: failed program was:" >&5
24478 sed 's/^/| /' conftest.
$ac_ext >&5
24480 eval "$as_ac_var=no"
24483 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
24484 conftest
$ac_exeext conftest.
$ac_ext
24486 ac_res
=`eval echo '${'$as_ac_var'}'`
24487 { echo "$as_me:$LINENO: result: $ac_res" >&5
24488 echo "${ECHO_T}$ac_res" >&6; }
24489 if test `eval echo '${'$as_ac_var'}'` = yes; then
24490 cat >>confdefs.h
<<_ACEOF
24491 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24498 for ac_func
in ceil
24500 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24501 { echo "$as_me:$LINENO: checking for $ac_func" >&5
24502 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
24503 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
24504 echo $ECHO_N "(cached) $ECHO_C" >&6
24506 cat >conftest.
$ac_ext <<_ACEOF
24509 cat confdefs.h
>>conftest.
$ac_ext
24510 cat >>conftest.
$ac_ext <<_ACEOF
24511 /* end confdefs.h. */
24512 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
24513 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24514 #define $ac_func innocuous_$ac_func
24516 /* System header to define __stub macros and hopefully few prototypes,
24517 which can conflict with char $ac_func (); below.
24518 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24519 <limits.h> exists even on freestanding compilers. */
24522 # include <limits.h>
24524 # include <assert.h>
24529 /* Override any GCC internal prototype to avoid an error.
24530 Use char because int might match the return type of a GCC
24531 builtin and then its argument prototype would still apply. */
24536 /* The GNU C library defines this for functions which it implements
24537 to always fail with ENOSYS. Some functions are actually named
24538 something starting with __ and the normal name is an alias. */
24539 #if defined __stub_$ac_func || defined __stub___$ac_func
24546 return $ac_func ();
24551 rm -f conftest.
$ac_objext conftest
$ac_exeext
24552 if { (ac_try
="$ac_link"
24553 case "(($ac_try" in
24554 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
24555 *) ac_try_echo=$ac_try;;
24557 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24558 (eval "$ac_link") 2>conftest.er1
24560 grep -v '^ *+' conftest.er1 >conftest.err
24562 cat conftest.err >&5
24563 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24564 (exit $ac_status); } && {
24565 test -z "$ac_c_werror_flag" ||
24566 test ! -s conftest.err
24567 } && test -s conftest$ac_exeext &&
24568 $as_test_x conftest$ac_exeext; then
24569 eval "$as_ac_var=yes"
24571 echo "$as_me: failed program was:" >&5
24572 sed 's/^/| /' conftest.$ac_ext >&5
24574 eval "$as_ac_var=no"
24577 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
24578 conftest$ac_exeext conftest.$ac_ext
24580 ac_res=`eval echo '${'$as_ac_var'}'`
24581 { echo "$as_me:$LINENO: result: $ac_res" >&5
24582 echo "${ECHO_T}$ac_res" >&6; }
24583 if test `eval echo '${'$as_ac_var'}'` = yes; then
24584 cat >>confdefs.h <<_ACEOF
24585 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24591 { echo "$as_me:$LINENO: checking if floating point functions link with -lm" >&5
24592 echo $ECHO_N "checking if floating point functions link with -lm... $ECHO_C" >&6; }
24593 if test "$have_sin" = 1 -a "$have_ceil" = 1; then
24594 { echo "$as_me:$LINENO: result: yes" >&5
24595 echo "${ECHO_T}yes" >&6; }
24597 { echo "$as_me:$LINENO: result: no" >&5
24598 echo "${ECHO_T}no" >&6; }
24599 # not sure we should warn the user, crash, etc.
24604 ac_cpp='$CXXCPP $CPPFLAGS'
24605 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24606 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24607 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24609 if test "wxUSE_UNICODE" = "yes"; then
24611 for wx_func in wcstoull
24613 { echo "$as_me:$LINENO: checking for $wx_func" >&5
24614 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
24615 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
24616 echo $ECHO_N "(cached) $ECHO_C" >&6
24619 cat >conftest.$ac_ext <<_ACEOF
24623 cat confdefs.h >>conftest.$ac_ext
24624 cat >>conftest.$ac_ext <<_ACEOF
24625 /* end confdefs.h. */
24628 $ac_includes_default
24644 rm -f conftest.$ac_objext conftest$ac_exeext
24645 if { (ac_try="$ac_link"
24646 case "(($ac_try" in
24647 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
24648 *) ac_try_echo
=$ac_try;;
24650 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24651 (eval "$ac_link") 2>conftest.er1
24653 grep -v '^ *+' conftest.er1
>conftest.err
24655 cat conftest.err
>&5
24656 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24657 (exit $ac_status); } && {
24658 test -z "$ac_cxx_werror_flag" ||
24659 test ! -s conftest.err
24660 } && test -s conftest
$ac_exeext &&
24661 $as_test_x conftest
$ac_exeext; then
24662 eval wx_cv_func_
$wx_func=yes
24664 echo "$as_me: failed program was:" >&5
24665 sed 's/^/| /' conftest.
$ac_ext >&5
24667 eval wx_cv_func_
$wx_func=no
24670 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
24671 conftest
$ac_exeext conftest.
$ac_ext
24674 ac_res
=`eval echo '${'wx_cv_func_$wx_func'}'`
24675 { echo "$as_me:$LINENO: result: $ac_res" >&5
24676 echo "${ECHO_T}$ac_res" >&6; }
24678 if eval test \
$wx_cv_func_$wx_func = yes
24680 cat >>confdefs.h
<<_ACEOF
24681 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
24693 for wx_func
in strtoull
24695 { echo "$as_me:$LINENO: checking for $wx_func" >&5
24696 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
24697 if { as_var
=wx_cv_func_
$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
24698 echo $ECHO_N "(cached) $ECHO_C" >&6
24701 cat >conftest.
$ac_ext <<_ACEOF
24705 cat confdefs.h
>>conftest.
$ac_ext
24706 cat >>conftest.
$ac_ext <<_ACEOF
24707 /* end confdefs.h. */
24710 $ac_includes_default
24726 rm -f conftest.
$ac_objext conftest
$ac_exeext
24727 if { (ac_try
="$ac_link"
24728 case "(($ac_try" in
24729 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
24730 *) ac_try_echo=$ac_try;;
24732 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24733 (eval "$ac_link") 2>conftest.er1
24735 grep -v '^ *+' conftest.er1 >conftest.err
24737 cat conftest.err >&5
24738 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24739 (exit $ac_status); } && {
24740 test -z "$ac_cxx_werror_flag" ||
24741 test ! -s conftest.err
24742 } && test -s conftest$ac_exeext &&
24743 $as_test_x conftest$ac_exeext; then
24744 eval wx_cv_func_$wx_func=yes
24746 echo "$as_me: failed program was:" >&5
24747 sed 's/^/| /' conftest.$ac_ext >&5
24749 eval wx_cv_func_$wx_func=no
24752 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
24753 conftest$ac_exeext conftest.$ac_ext
24756 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
24757 { echo "$as_me:$LINENO: result: $ac_res" >&5
24758 echo "${ECHO_T}$ac_res" >&6; }
24760 if eval test \$wx_cv_func_$wx_func = yes
24762 cat >>confdefs.h <<_ACEOF
24763 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
24775 ac_cpp='$CPP $CPPFLAGS'
24776 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24777 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24778 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24783 if test "$wxUSE_REGEX" != "no"; then
24784 cat >>confdefs.h <<\_ACEOF
24785 #define wxUSE_REGEX 1
24789 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_REGEX" = "yes"; then
24790 { echo "$as_me:$LINENO: WARNING: Defaulting to the the builtin regex library for Unicode build." >&5
24791 echo "$as_me: WARNING: Defaulting to the the builtin regex library for Unicode build." >&2;}
24792 wxUSE_REGEX=builtin
24795 if test "$wxUSE_REGEX" = "sys" -o "$wxUSE_REGEX" = "yes" ; then
24796 { echo "$as_me:$LINENO: checking for regex.h" >&5
24797 echo $ECHO_N "checking for regex.h... $ECHO_C" >&6; }
24798 if test "${ac_cv_header_regex_h+set}" = set; then
24799 echo $ECHO_N "(cached) $ECHO_C" >&6
24801 cat >conftest.$ac_ext <<_ACEOF
24804 cat confdefs.h >>conftest.$ac_ext
24805 cat >>conftest.$ac_ext <<_ACEOF
24806 /* end confdefs.h. */
24811 rm -f conftest.$ac_objext
24812 if { (ac_try="$ac_compile"
24813 case "(($ac_try" in
24814 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
24815 *) ac_try_echo
=$ac_try;;
24817 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24818 (eval "$ac_compile") 2>conftest.er1
24820 grep -v '^ *+' conftest.er1
>conftest.err
24822 cat conftest.err
>&5
24823 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24824 (exit $ac_status); } && {
24825 test -z "$ac_c_werror_flag" ||
24826 test ! -s conftest.err
24827 } && test -s conftest.
$ac_objext; then
24828 ac_cv_header_regex_h
=yes
24830 echo "$as_me: failed program was:" >&5
24831 sed 's/^/| /' conftest.
$ac_ext >&5
24833 ac_cv_header_regex_h
=no
24836 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
24838 { echo "$as_me:$LINENO: result: $ac_cv_header_regex_h" >&5
24839 echo "${ECHO_T}$ac_cv_header_regex_h" >&6; }
24840 if test $ac_cv_header_regex_h = yes; then
24843 for ac_func
in regcomp re_search
24845 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24846 { echo "$as_me:$LINENO: checking for $ac_func" >&5
24847 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
24848 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
24849 echo $ECHO_N "(cached) $ECHO_C" >&6
24851 cat >conftest.
$ac_ext <<_ACEOF
24854 cat confdefs.h
>>conftest.
$ac_ext
24855 cat >>conftest.
$ac_ext <<_ACEOF
24856 /* end confdefs.h. */
24857 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
24858 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24859 #define $ac_func innocuous_$ac_func
24861 /* System header to define __stub macros and hopefully few prototypes,
24862 which can conflict with char $ac_func (); below.
24863 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24864 <limits.h> exists even on freestanding compilers. */
24867 # include <limits.h>
24869 # include <assert.h>
24874 /* Override any GCC internal prototype to avoid an error.
24875 Use char because int might match the return type of a GCC
24876 builtin and then its argument prototype would still apply. */
24881 /* The GNU C library defines this for functions which it implements
24882 to always fail with ENOSYS. Some functions are actually named
24883 something starting with __ and the normal name is an alias. */
24884 #if defined __stub_$ac_func || defined __stub___$ac_func
24891 return $ac_func ();
24896 rm -f conftest.
$ac_objext conftest
$ac_exeext
24897 if { (ac_try
="$ac_link"
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_link") 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_exeext &&
24913 $as_test_x conftest$ac_exeext; then
24914 eval "$as_ac_var=yes"
24916 echo "$as_me: failed program was:" >&5
24917 sed 's/^/| /' conftest.$ac_ext >&5
24919 eval "$as_ac_var=no"
24922 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
24923 conftest$ac_exeext conftest.$ac_ext
24925 ac_res=`eval echo '${'$as_ac_var'}'`
24926 { echo "$as_me:$LINENO: result: $ac_res" >&5
24927 echo "${ECHO_T}$ac_res" >&6; }
24928 if test `eval echo '${'$as_ac_var'}'` = yes; then
24929 cat >>confdefs.h <<_ACEOF
24930 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24940 if test "x$ac_cv_func_regcomp" != "xyes"; then
24941 if test "$wxUSE_REGEX" = "sys" ; then
24942 { { echo "$as_me:$LINENO: error: system regex library not found! Use --with-regex to use built-in version" >&5
24943 echo "$as_me: error: system regex library not found! Use --with-regex to use built-in version" >&2;}
24944 { (exit 1); exit 1; }; }
24946 { echo "$as_me:$LINENO: WARNING: system regex library not found, will use built-in instead" >&5
24947 echo "$as_me: WARNING: system regex library not found, will use built-in instead" >&2;}
24948 wxUSE_REGEX=builtin
24952 cat >>confdefs.h <<\_ACEOF
24953 #define WX_NO_REGEX_ADVANCED 1
24962 if test "$wxUSE_ZLIB" != "no" ; then
24963 cat >>confdefs.h <<\_ACEOF
24964 #define wxUSE_ZLIB 1
24968 if test "$wxUSE_ZLIB" = "sys" -o "$wxUSE_ZLIB" = "yes" ; then
24969 if test "$USE_DARWIN" = 1; then
24970 system_zlib_h_ok="yes"
24972 { echo "$as_me:$LINENO: checking for zlib.h >= 1.1.4" >&5
24973 echo $ECHO_N "checking for zlib.h >= 1.1.4... $ECHO_C" >&6; }
24974 if test "${ac_cv_header_zlib_h+set}" = set; then
24975 echo $ECHO_N "(cached) $ECHO_C" >&6
24977 if test "$cross_compiling" = yes; then
24978 unset ac_cv_header_zlib_h
24981 cat >conftest.$ac_ext <<_ACEOF
24984 cat confdefs.h >>conftest.$ac_ext
24985 cat >>conftest.$ac_ext <<_ACEOF
24986 /* end confdefs.h. */
24993 FILE *f=fopen("conftestval", "w");
24996 ZLIB_VERSION[0] == '1' &&
24997 (ZLIB_VERSION[2] > '1' ||
24998 (ZLIB_VERSION[2] == '1' &&
24999 ZLIB_VERSION[4] >= '4')) ? "yes" : "no");
25004 rm -f conftest$ac_exeext
25005 if { (ac_try="$ac_link"
25006 case "(($ac_try" in
25007 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
25008 *) ac_try_echo
=$ac_try;;
25010 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25011 (eval "$ac_link") 2>&5
25013 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25014 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
25015 { (case "(($ac_try" in
25016 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
25017 *) ac_try_echo=$ac_try;;
25019 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25020 (eval "$ac_try") 2>&5
25022 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25023 (exit $ac_status); }; }; then
25024 ac_cv_header_zlib_h=`cat conftestval
`
25026 echo "$as_me: program exited with status $ac_status" >&5
25027 echo "$as_me: failed program was:" >&5
25028 sed 's/^/| /' conftest.$ac_ext >&5
25030 ( exit $ac_status )
25031 ac_cv_header_zlib_h=no
25033 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
25039 { echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
25040 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6; }
25041 { echo "$as_me:$LINENO: checking for zlib.h" >&5
25042 echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6; }
25043 if test "${ac_cv_header_zlib_h+set}" = set; then
25044 echo $ECHO_N "(cached) $ECHO_C" >&6
25046 cat >conftest.$ac_ext <<_ACEOF
25049 cat confdefs.h >>conftest.$ac_ext
25050 cat >>conftest.$ac_ext <<_ACEOF
25051 /* end confdefs.h. */
25056 rm -f conftest.$ac_objext
25057 if { (ac_try="$ac_compile"
25058 case "(($ac_try" in
25059 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
25060 *) ac_try_echo
=$ac_try;;
25062 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25063 (eval "$ac_compile") 2>conftest.er1
25065 grep -v '^ *+' conftest.er1
>conftest.err
25067 cat conftest.err
>&5
25068 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25069 (exit $ac_status); } && {
25070 test -z "$ac_c_werror_flag" ||
25071 test ! -s conftest.err
25072 } && test -s conftest.
$ac_objext; then
25073 ac_cv_header_zlib_h
=yes
25075 echo "$as_me: failed program was:" >&5
25076 sed 's/^/| /' conftest.
$ac_ext >&5
25078 ac_cv_header_zlib_h
=no
25081 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
25083 { echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
25084 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6; }
25088 system_zlib_h_ok
=$ac_cv_header_zlib_h
25091 if test "$system_zlib_h_ok" = "yes"; then
25092 { echo "$as_me:$LINENO: checking for deflate in -lz" >&5
25093 echo $ECHO_N "checking for deflate in -lz... $ECHO_C" >&6; }
25094 if test "${ac_cv_lib_z_deflate+set}" = set; then
25095 echo $ECHO_N "(cached) $ECHO_C" >&6
25097 ac_check_lib_save_LIBS
=$LIBS
25099 cat >conftest.
$ac_ext <<_ACEOF
25102 cat confdefs.h
>>conftest.
$ac_ext
25103 cat >>conftest.
$ac_ext <<_ACEOF
25104 /* end confdefs.h. */
25106 /* Override any GCC internal prototype to avoid an error.
25107 Use char because int might match the return type of a GCC
25108 builtin and then its argument prototype would still apply. */
25121 rm -f conftest.
$ac_objext conftest
$ac_exeext
25122 if { (ac_try
="$ac_link"
25123 case "(($ac_try" in
25124 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
25125 *) ac_try_echo=$ac_try;;
25127 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25128 (eval "$ac_link") 2>conftest.er1
25130 grep -v '^ *+' conftest.er1 >conftest.err
25132 cat conftest.err >&5
25133 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25134 (exit $ac_status); } && {
25135 test -z "$ac_c_werror_flag" ||
25136 test ! -s conftest.err
25137 } && test -s conftest$ac_exeext &&
25138 $as_test_x conftest$ac_exeext; then
25139 ac_cv_lib_z_deflate=yes
25141 echo "$as_me: failed program was:" >&5
25142 sed 's/^/| /' conftest.$ac_ext >&5
25144 ac_cv_lib_z_deflate=no
25147 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25148 conftest$ac_exeext conftest.$ac_ext
25149 LIBS=$ac_check_lib_save_LIBS
25151 { echo "$as_me:$LINENO: result: $ac_cv_lib_z_deflate" >&5
25152 echo "${ECHO_T}$ac_cv_lib_z_deflate" >&6; }
25153 if test $ac_cv_lib_z_deflate = yes; then
25159 if test "x$ZLIB_LINK" = "x" ; then
25160 if test "$wxUSE_ZLIB" = "sys" ; then
25161 { { echo "$as_me:$LINENO: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&5
25162 echo "$as_me: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&2;}
25163 { (exit 1); exit 1; }; }
25165 { echo "$as_me:$LINENO: WARNING: zlib library not found or too old, will use built-in instead" >&5
25166 echo "$as_me: WARNING: zlib library not found or too old, will use built-in instead" >&2;}
25177 if test "$wxUSE_LIBPNG" != "no" ; then
25178 cat >>confdefs.h <<\_ACEOF
25179 #define wxUSE_LIBPNG 1
25183 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBPNG" = "builtin" ; then
25184 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&5
25185 echo "$as_me: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&2;}
25189 if test "$wxUSE_MGL" != 1 -a "$wxUSE_LIBPNG" = "sys" -a "$wxUSE_ZLIB" != "sys" ; then
25190 { echo "$as_me:$LINENO: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&5
25191 echo "$as_me: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&2;}
25192 wxUSE_LIBPNG=builtin
25195 if test "$wxUSE_MGL" != 1 ; then
25196 if test "$wxUSE_LIBPNG" = "sys" -o "$wxUSE_LIBPNG" = "yes" ; then
25197 { echo "$as_me:$LINENO: checking for png.h > 0.90" >&5
25198 echo $ECHO_N "checking for png.h > 0.90... $ECHO_C" >&6; }
25199 if test "${ac_cv_header_png_h+set}" = set; then
25200 echo $ECHO_N "(cached) $ECHO_C" >&6
25202 if test "$cross_compiling" = yes; then
25203 unset ac_cv_header_png_h
25206 cat >conftest.$ac_ext <<_ACEOF
25209 cat confdefs.h >>conftest.$ac_ext
25210 cat >>conftest.$ac_ext <<_ACEOF
25211 /* end confdefs.h. */
25218 FILE *f=fopen("conftestval", "w");
25221 PNG_LIBPNG_VER > 90 ? "yes" : "no");
25226 rm -f conftest$ac_exeext
25227 if { (ac_try="$ac_link"
25228 case "(($ac_try" in
25229 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
25230 *) ac_try_echo
=$ac_try;;
25232 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25233 (eval "$ac_link") 2>&5
25235 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25236 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
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_try") 2>&5
25244 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25245 (exit $ac_status); }; }; then
25246 ac_cv_header_png_h=`cat conftestval
`
25248 echo "$as_me: program exited with status $ac_status" >&5
25249 echo "$as_me: failed program was:" >&5
25250 sed 's/^/| /' conftest.$ac_ext >&5
25252 ( exit $ac_status )
25253 ac_cv_header_png_h=no
25255 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
25261 { echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
25262 echo "${ECHO_T}$ac_cv_header_png_h" >&6; }
25263 { echo "$as_me:$LINENO: checking for png.h" >&5
25264 echo $ECHO_N "checking for png.h... $ECHO_C" >&6; }
25265 if test "${ac_cv_header_png_h+set}" = set; then
25266 echo $ECHO_N "(cached) $ECHO_C" >&6
25268 cat >conftest.$ac_ext <<_ACEOF
25271 cat confdefs.h >>conftest.$ac_ext
25272 cat >>conftest.$ac_ext <<_ACEOF
25273 /* end confdefs.h. */
25278 rm -f conftest.$ac_objext
25279 if { (ac_try="$ac_compile"
25280 case "(($ac_try" in
25281 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
25282 *) ac_try_echo
=$ac_try;;
25284 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25285 (eval "$ac_compile") 2>conftest.er1
25287 grep -v '^ *+' conftest.er1
>conftest.err
25289 cat conftest.err
>&5
25290 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25291 (exit $ac_status); } && {
25292 test -z "$ac_c_werror_flag" ||
25293 test ! -s conftest.err
25294 } && test -s conftest.
$ac_objext; then
25295 ac_cv_header_png_h
=yes
25297 echo "$as_me: failed program was:" >&5
25298 sed 's/^/| /' conftest.
$ac_ext >&5
25300 ac_cv_header_png_h
=no
25303 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
25305 { echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
25306 echo "${ECHO_T}$ac_cv_header_png_h" >&6; }
25310 if test "$ac_cv_header_png_h" = "yes"; then
25311 { echo "$as_me:$LINENO: checking for png_check_sig in -lpng" >&5
25312 echo $ECHO_N "checking for png_check_sig in -lpng... $ECHO_C" >&6; }
25313 if test "${ac_cv_lib_png_png_check_sig+set}" = set; then
25314 echo $ECHO_N "(cached) $ECHO_C" >&6
25316 ac_check_lib_save_LIBS
=$LIBS
25317 LIBS
="-lpng -lz -lm $LIBS"
25318 cat >conftest.
$ac_ext <<_ACEOF
25321 cat confdefs.h
>>conftest.
$ac_ext
25322 cat >>conftest.
$ac_ext <<_ACEOF
25323 /* end confdefs.h. */
25325 /* Override any GCC internal prototype to avoid an error.
25326 Use char because int might match the return type of a GCC
25327 builtin and then its argument prototype would still apply. */
25331 char png_check_sig ();
25335 return png_check_sig ();
25340 rm -f conftest.
$ac_objext conftest
$ac_exeext
25341 if { (ac_try
="$ac_link"
25342 case "(($ac_try" in
25343 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
25344 *) ac_try_echo=$ac_try;;
25346 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25347 (eval "$ac_link") 2>conftest.er1
25349 grep -v '^ *+' conftest.er1 >conftest.err
25351 cat conftest.err >&5
25352 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25353 (exit $ac_status); } && {
25354 test -z "$ac_c_werror_flag" ||
25355 test ! -s conftest.err
25356 } && test -s conftest$ac_exeext &&
25357 $as_test_x conftest$ac_exeext; then
25358 ac_cv_lib_png_png_check_sig=yes
25360 echo "$as_me: failed program was:" >&5
25361 sed 's/^/| /' conftest.$ac_ext >&5
25363 ac_cv_lib_png_png_check_sig=no
25366 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25367 conftest$ac_exeext conftest.$ac_ext
25368 LIBS=$ac_check_lib_save_LIBS
25370 { echo "$as_me:$LINENO: result: $ac_cv_lib_png_png_check_sig" >&5
25371 echo "${ECHO_T}$ac_cv_lib_png_png_check_sig" >&6; }
25372 if test $ac_cv_lib_png_png_check_sig = yes; then
25373 PNG_LINK=" -lpng -lz"
25378 if test "x$PNG_LINK" = "x" ; then
25379 if test "$wxUSE_LIBPNG" = "sys" ; then
25380 { { echo "$as_me:$LINENO: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&5
25381 echo "$as_me: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&2;}
25382 { (exit 1); exit 1; }; }
25384 { echo "$as_me:$LINENO: WARNING: system png library not found or too old, will use built-in instead" >&5
25385 echo "$as_me: WARNING: system png library not found or too old, will use built-in instead" >&2;}
25386 wxUSE_LIBPNG=builtin
25394 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS png"
25399 if test "$wxUSE_LIBJPEG" != "no" ; then
25400 cat >>confdefs.h <<\_ACEOF
25401 #define wxUSE_LIBJPEG 1
25405 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBJPEG" = "builtin" ; then
25406 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&5
25407 echo "$as_me: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&2;}
25411 if test "$wxUSE_MGL" != 1 ; then
25412 if test "$wxUSE_LIBJPEG" = "sys" -o "$wxUSE_LIBJPEG" = "yes" ; then
25413 { echo "$as_me:$LINENO: checking for jpeglib.h" >&5
25414 echo $ECHO_N "checking for jpeglib.h... $ECHO_C" >&6; }
25415 if test "${ac_cv_header_jpeglib_h+set}" = set; then
25416 echo $ECHO_N "(cached) $ECHO_C" >&6
25418 cat >conftest.$ac_ext <<_ACEOF
25421 cat confdefs.h >>conftest.$ac_ext
25422 cat >>conftest.$ac_ext <<_ACEOF
25423 /* end confdefs.h. */
25425 #undef HAVE_STDLIB_H
25427 #include <jpeglib.h>
25438 rm -f conftest.$ac_objext
25439 if { (ac_try="$ac_compile"
25440 case "(($ac_try" in
25441 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
25442 *) ac_try_echo
=$ac_try;;
25444 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25445 (eval "$ac_compile") 2>conftest.er1
25447 grep -v '^ *+' conftest.er1
>conftest.err
25449 cat conftest.err
>&5
25450 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25451 (exit $ac_status); } && {
25452 test -z "$ac_c_werror_flag" ||
25453 test ! -s conftest.err
25454 } && test -s conftest.
$ac_objext; then
25455 ac_cv_header_jpeglib_h
=yes
25457 echo "$as_me: failed program was:" >&5
25458 sed 's/^/| /' conftest.
$ac_ext >&5
25460 ac_cv_header_jpeglib_h
=no
25464 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
25468 { echo "$as_me:$LINENO: result: $ac_cv_header_jpeglib_h" >&5
25469 echo "${ECHO_T}$ac_cv_header_jpeglib_h" >&6; }
25471 if test "$ac_cv_header_jpeglib_h" = "yes"; then
25472 { echo "$as_me:$LINENO: checking for jpeg_read_header in -ljpeg" >&5
25473 echo $ECHO_N "checking for jpeg_read_header in -ljpeg... $ECHO_C" >&6; }
25474 if test "${ac_cv_lib_jpeg_jpeg_read_header+set}" = set; then
25475 echo $ECHO_N "(cached) $ECHO_C" >&6
25477 ac_check_lib_save_LIBS
=$LIBS
25478 LIBS
="-ljpeg $LIBS"
25479 cat >conftest.
$ac_ext <<_ACEOF
25482 cat confdefs.h
>>conftest.
$ac_ext
25483 cat >>conftest.
$ac_ext <<_ACEOF
25484 /* end confdefs.h. */
25486 /* Override any GCC internal prototype to avoid an error.
25487 Use char because int might match the return type of a GCC
25488 builtin and then its argument prototype would still apply. */
25492 char jpeg_read_header ();
25496 return jpeg_read_header ();
25501 rm -f conftest.
$ac_objext conftest
$ac_exeext
25502 if { (ac_try
="$ac_link"
25503 case "(($ac_try" in
25504 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
25505 *) ac_try_echo=$ac_try;;
25507 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25508 (eval "$ac_link") 2>conftest.er1
25510 grep -v '^ *+' conftest.er1 >conftest.err
25512 cat conftest.err >&5
25513 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25514 (exit $ac_status); } && {
25515 test -z "$ac_c_werror_flag" ||
25516 test ! -s conftest.err
25517 } && test -s conftest$ac_exeext &&
25518 $as_test_x conftest$ac_exeext; then
25519 ac_cv_lib_jpeg_jpeg_read_header=yes
25521 echo "$as_me: failed program was:" >&5
25522 sed 's/^/| /' conftest.$ac_ext >&5
25524 ac_cv_lib_jpeg_jpeg_read_header=no
25527 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25528 conftest$ac_exeext conftest.$ac_ext
25529 LIBS=$ac_check_lib_save_LIBS
25531 { echo "$as_me:$LINENO: result: $ac_cv_lib_jpeg_jpeg_read_header" >&5
25532 echo "${ECHO_T}$ac_cv_lib_jpeg_jpeg_read_header" >&6; }
25533 if test $ac_cv_lib_jpeg_jpeg_read_header = yes; then
25534 JPEG_LINK=" -ljpeg"
25539 if test "x$JPEG_LINK" = "x" ; then
25540 if test "$wxUSE_LIBJPEG" = "sys" ; then
25541 { { echo "$as_me:$LINENO: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&5
25542 echo "$as_me: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&2;}
25543 { (exit 1); exit 1; }; }
25545 { echo "$as_me:$LINENO: WARNING: system jpeg library not found, will use built-in instead" >&5
25546 echo "$as_me: WARNING: system jpeg library not found, will use built-in instead" >&2;}
25547 wxUSE_LIBJPEG=builtin
25552 if test "$wxUSE_MSW" = 1; then
25553 { echo "$as_me:$LINENO: checking for boolean" >&5
25554 echo $ECHO_N "checking for boolean... $ECHO_C" >&6; }
25555 if test "${ac_cv_type_boolean+set}" = set; then
25556 echo $ECHO_N "(cached) $ECHO_C" >&6
25558 cat >conftest.$ac_ext <<_ACEOF
25561 cat confdefs.h >>conftest.$ac_ext
25562 cat >>conftest.$ac_ext <<_ACEOF
25563 /* end confdefs.h. */
25564 #include <windows.h>
25566 typedef boolean ac__type_new_;
25570 if ((ac__type_new_ *) 0)
25572 if (sizeof (ac__type_new_))
25578 rm -f conftest.$ac_objext
25579 if { (ac_try="$ac_compile"
25580 case "(($ac_try" in
25581 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
25582 *) ac_try_echo
=$ac_try;;
25584 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25585 (eval "$ac_compile") 2>conftest.er1
25587 grep -v '^ *+' conftest.er1
>conftest.err
25589 cat conftest.err
>&5
25590 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25591 (exit $ac_status); } && {
25592 test -z "$ac_c_werror_flag" ||
25593 test ! -s conftest.err
25594 } && test -s conftest.
$ac_objext; then
25595 ac_cv_type_boolean
=yes
25597 echo "$as_me: failed program was:" >&5
25598 sed 's/^/| /' conftest.
$ac_ext >&5
25600 ac_cv_type_boolean
=no
25603 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
25605 { echo "$as_me:$LINENO: result: $ac_cv_type_boolean" >&5
25606 echo "${ECHO_T}$ac_cv_type_boolean" >&6; }
25607 if test $ac_cv_type_boolean = yes; then
25609 cat >>confdefs.h
<<_ACEOF
25610 #define HAVE_BOOLEAN 1
25614 { echo "$as_me:$LINENO: checking for boolean" >&5
25615 echo $ECHO_N "checking for boolean... $ECHO_C" >&6; }
25616 if test "${ac_cv_type_boolean+set}" = set; then
25617 echo $ECHO_N "(cached) $ECHO_C" >&6
25619 cat >conftest.
$ac_ext <<_ACEOF
25622 cat confdefs.h
>>conftest.
$ac_ext
25623 cat >>conftest.
$ac_ext <<_ACEOF
25624 /* end confdefs.h. */
25626 #undef HAVE_BOOLEAN
25628 #include <jpeglib.h>
25631 typedef boolean ac__type_new_;
25635 if ((ac__type_new_ *) 0)
25637 if (sizeof (ac__type_new_))
25643 rm -f conftest.
$ac_objext
25644 if { (ac_try
="$ac_compile"
25645 case "(($ac_try" in
25646 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
25647 *) ac_try_echo=$ac_try;;
25649 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25650 (eval "$ac_compile") 2>conftest.er1
25652 grep -v '^ *+' conftest.er1 >conftest.err
25654 cat conftest.err >&5
25655 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25656 (exit $ac_status); } && {
25657 test -z "$ac_c_werror_flag" ||
25658 test ! -s conftest.err
25659 } && test -s conftest.$ac_objext; then
25660 ac_cv_type_boolean=yes
25662 echo "$as_me: failed program was:" >&5
25663 sed 's/^/| /' conftest.$ac_ext >&5
25665 ac_cv_type_boolean=no
25668 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25670 { echo "$as_me:$LINENO: result: $ac_cv_type_boolean" >&5
25671 echo "${ECHO_T}$ac_cv_type_boolean" >&6; }
25673 # The cast to long int works around a bug in the HP C Compiler
25674 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
25675 # declarations like `int a3
[[(sizeof
(unsigned char
)) >= 0]];'.
25676 # This bug is HP SR number 8606223364.
25677 { echo "$as_me:$LINENO: checking size of boolean" >&5
25678 echo $ECHO_N "checking size of boolean... $ECHO_C" >&6; }
25679 if test "${ac_cv_sizeof_boolean+set}" = set; then
25680 echo $ECHO_N "(cached) $ECHO_C" >&6
25682 if test "$cross_compiling" = yes; then
25683 # Depending upon the size, compute the lo and hi bounds.
25684 cat >conftest.$ac_ext <<_ACEOF
25687 cat confdefs.h >>conftest.$ac_ext
25688 cat >>conftest.$ac_ext <<_ACEOF
25689 /* end confdefs.h. */
25691 #undef HAVE_BOOLEAN
25693 #include <jpeglib.h>
25696 typedef boolean ac__type_sizeof_;
25700 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
25707 rm -f conftest.$ac_objext
25708 if { (ac_try="$ac_compile"
25709 case "(($ac_try" in
25710 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25711 *) ac_try_echo=$ac_try;;
25713 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25714 (eval "$ac_compile") 2>conftest.er1
25716 grep -v '^
*+' conftest.er1 >conftest.err
25718 cat conftest.err >&5
25719 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25720 (exit $ac_status); } && {
25721 test -z "$ac_c_werror_flag" ||
25722 test ! -s conftest.err
25723 } && test -s conftest.$ac_objext; then
25726 cat >conftest.$ac_ext <<_ACEOF
25729 cat confdefs.h >>conftest.$ac_ext
25730 cat >>conftest.$ac_ext <<_ACEOF
25731 /* end confdefs.h. */
25733 #undef HAVE_BOOLEAN
25735 #include <jpeglib.h>
25738 typedef boolean ac__type_sizeof_;
25742 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
25749 rm -f conftest.$ac_objext
25750 if { (ac_try="$ac_compile"
25751 case "(($ac_try" in
25752 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25753 *) ac_try_echo=$ac_try;;
25755 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25756 (eval "$ac_compile") 2>conftest.er1
25758 grep -v '^
*+' conftest.er1 >conftest.err
25760 cat conftest.err >&5
25761 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25762 (exit $ac_status); } && {
25763 test -z "$ac_c_werror_flag" ||
25764 test ! -s conftest.err
25765 } && test -s conftest.$ac_objext; then
25766 ac_hi=$ac_mid; break
25768 echo "$as_me: failed program was:" >&5
25769 sed 's
/^
/| /' conftest.$ac_ext >&5
25771 ac_lo=`expr $ac_mid + 1`
25772 if test $ac_lo -le $ac_mid; then
25776 ac_mid=`expr 2 '*' $ac_mid + 1`
25779 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25782 echo "$as_me: failed program was:" >&5
25783 sed 's
/^
/| /' conftest.$ac_ext >&5
25785 cat >conftest.$ac_ext <<_ACEOF
25788 cat confdefs.h >>conftest.$ac_ext
25789 cat >>conftest.$ac_ext <<_ACEOF
25790 /* end confdefs.h. */
25792 #undef HAVE_BOOLEAN
25794 #include <jpeglib.h>
25797 typedef boolean ac__type_sizeof_;
25801 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
25808 rm -f conftest.$ac_objext
25809 if { (ac_try="$ac_compile"
25810 case "(($ac_try" in
25811 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25812 *) ac_try_echo=$ac_try;;
25814 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25815 (eval "$ac_compile") 2>conftest.er1
25817 grep -v '^
*+' conftest.er1 >conftest.err
25819 cat conftest.err >&5
25820 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25821 (exit $ac_status); } && {
25822 test -z "$ac_c_werror_flag" ||
25823 test ! -s conftest.err
25824 } && test -s conftest.$ac_objext; then
25827 cat >conftest.$ac_ext <<_ACEOF
25830 cat confdefs.h >>conftest.$ac_ext
25831 cat >>conftest.$ac_ext <<_ACEOF
25832 /* end confdefs.h. */
25834 #undef HAVE_BOOLEAN
25836 #include <jpeglib.h>
25839 typedef boolean ac__type_sizeof_;
25843 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
25850 rm -f conftest.$ac_objext
25851 if { (ac_try="$ac_compile"
25852 case "(($ac_try" in
25853 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25854 *) ac_try_echo=$ac_try;;
25856 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25857 (eval "$ac_compile") 2>conftest.er1
25859 grep -v '^
*+' conftest.er1 >conftest.err
25861 cat conftest.err >&5
25862 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25863 (exit $ac_status); } && {
25864 test -z "$ac_c_werror_flag" ||
25865 test ! -s conftest.err
25866 } && test -s conftest.$ac_objext; then
25867 ac_lo=$ac_mid; break
25869 echo "$as_me: failed program was:" >&5
25870 sed 's
/^
/| /' conftest.$ac_ext >&5
25872 ac_hi=`expr '(' $ac_mid ')' - 1`
25873 if test $ac_mid -le $ac_hi; then
25877 ac_mid=`expr 2 '*' $ac_mid`
25880 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25883 echo "$as_me: failed program was:" >&5
25884 sed 's
/^
/| /' conftest.$ac_ext >&5
25889 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25892 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25893 # Binary search between lo and hi bounds.
25894 while test "x$ac_lo" != "x$ac_hi"; do
25895 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
25896 cat >conftest.$ac_ext <<_ACEOF
25899 cat confdefs.h >>conftest.$ac_ext
25900 cat >>conftest.$ac_ext <<_ACEOF
25901 /* end confdefs.h. */
25903 #undef HAVE_BOOLEAN
25905 #include <jpeglib.h>
25908 typedef boolean ac__type_sizeof_;
25912 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
25919 rm -f conftest.$ac_objext
25920 if { (ac_try="$ac_compile"
25921 case "(($ac_try" in
25922 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25923 *) ac_try_echo=$ac_try;;
25925 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25926 (eval "$ac_compile") 2>conftest.er1
25928 grep -v '^
*+' conftest.er1 >conftest.err
25930 cat conftest.err >&5
25931 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25932 (exit $ac_status); } && {
25933 test -z "$ac_c_werror_flag" ||
25934 test ! -s conftest.err
25935 } && test -s conftest.$ac_objext; then
25938 echo "$as_me: failed program was:" >&5
25939 sed 's
/^
/| /' conftest.$ac_ext >&5
25941 ac_lo=`expr '(' $ac_mid ')' + 1`
25944 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25947 ?*) ac_cv_sizeof_boolean=$ac_lo;;
25948 '') if test "$ac_cv_type_boolean" = yes; then
25949 { { echo "$as_me:$LINENO: error: cannot compute sizeof (boolean)
25950 See \`config.log' for more details.
" >&5
25951 echo "$as_me: error
: cannot compute sizeof
(boolean
)
25952 See \
`config.log' for more details." >&2;}
25953 { (exit 77); exit 77; }; }
25955 ac_cv_sizeof_boolean=0
25959 cat >conftest.$ac_ext <<_ACEOF
25962 cat confdefs.h >>conftest.$ac_ext
25963 cat >>conftest.$ac_ext <<_ACEOF
25964 /* end confdefs.h. */
25966 #undef HAVE_BOOLEAN
25968 #include <jpeglib.h>
25971 typedef boolean ac__type_sizeof_;
25972 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
25973 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
25975 #include <stdlib.h>
25980 FILE *f = fopen ("conftest.val", "w");
25983 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
25985 long int i = longval ();
25986 if (i != ((long int) (sizeof (ac__type_sizeof_))))
25988 fprintf (f, "%ld\n", i);
25992 unsigned long int i = ulongval ();
25993 if (i != ((long int) (sizeof (ac__type_sizeof_))))
25995 fprintf (f, "%lu\n", i);
25997 return ferror (f) || fclose (f) != 0;
26003 rm -f conftest$ac_exeext
26004 if { (ac_try="$ac_link"
26005 case "(($ac_try" in
26006 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
26007 *) ac_try_echo
=$ac_try;;
26009 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26010 (eval "$ac_link") 2>&5
26012 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26013 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
26014 { (case "(($ac_try" in
26015 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
26016 *) ac_try_echo=$ac_try;;
26018 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26019 (eval "$ac_try") 2>&5
26021 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26022 (exit $ac_status); }; }; then
26023 ac_cv_sizeof_boolean=`cat conftest.val
`
26025 echo "$as_me: program exited with status $ac_status" >&5
26026 echo "$as_me: failed program was:" >&5
26027 sed 's/^/| /' conftest.$ac_ext >&5
26029 ( exit $ac_status )
26030 if test "$ac_cv_type_boolean" = yes; then
26031 { { echo "$as_me:$LINENO: error: cannot compute sizeof (boolean)
26032 See \`config.log
' for more details." >&5
26033 echo "$as_me: error: cannot compute sizeof (boolean)
26034 See \`config.log' for more details.
" >&2;}
26035 { (exit 77); exit 77; }; }
26037 ac_cv_sizeof_boolean=0
26040 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
26044 { echo "$as_me:$LINENO: result
: $ac_cv_sizeof_boolean" >&5
26045 echo "${ECHO_T}$ac_cv_sizeof_boolean" >&6; }
26049 cat >>confdefs.h <<_ACEOF
26050 #define SIZEOF_BOOLEAN $ac_cv_sizeof_boolean
26054 cat >>confdefs.h <<_ACEOF
26055 #define wxHACK_BOOLEAN wxInt`expr 8 \* $ac_cv_sizeof_boolean`
26069 TIFF_PREREQ_LINKS=-lm
26070 if test "$wxUSE_LIBTIFF" != "no
" ; then
26071 cat >>confdefs.h <<\_ACEOF
26072 #define wxUSE_LIBTIFF 1
26076 if test "$wxUSE_LIBTIFF" = "sys
" -o "$wxUSE_LIBTIFF" = "yes" ; then
26077 if test "$wxUSE_LIBJPEG" = "sys
"; then
26078 TIFF_PREREQ_LINKS="$TIFF_PREREQ_LINKS $JPEG_LINK"
26080 if test "$wxUSE_ZLIB" = "sys
"; then
26081 TIFF_PREREQ_LINKS="$TIFF_PREREQ_LINKS $ZLIB_LINK"
26083 { echo "$as_me:$LINENO: checking
for tiffio.h
" >&5
26084 echo $ECHO_N "checking
for tiffio.h...
$ECHO_C" >&6; }
26085 if test "${ac_cv_header_tiffio_h+set}" = set; then
26086 echo $ECHO_N "(cached
) $ECHO_C" >&6
26088 cat >conftest.$ac_ext <<_ACEOF
26091 cat confdefs.h >>conftest.$ac_ext
26092 cat >>conftest.$ac_ext <<_ACEOF
26093 /* end confdefs.h. */
26097 #include <tiffio.h>
26099 rm -f conftest.$ac_objext
26100 if { (ac_try="$ac_compile"
26101 case "(($ac_try" in
26102 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26103 *) ac_try_echo=$ac_try;;
26105 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
26106 (eval "$ac_compile") 2>conftest.er1
26108 grep -v '^ *+' conftest.er1 >conftest.err
26110 cat conftest.err >&5
26111 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
26112 (exit $ac_status); } && {
26113 test -z "$ac_c_werror_flag" ||
26114 test ! -s conftest.err
26115 } && test -s conftest.$ac_objext; then
26116 ac_cv_header_tiffio_h=yes
26118 echo "$as_me: failed program was
:" >&5
26119 sed 's/^/| /' conftest.$ac_ext >&5
26121 ac_cv_header_tiffio_h=no
26124 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26126 { echo "$as_me:$LINENO: result
: $ac_cv_header_tiffio_h" >&5
26127 echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6; }
26128 if test $ac_cv_header_tiffio_h = yes; then
26130 { echo "$as_me:$LINENO: checking
for TIFFError
in -ltiff" >&5
26131 echo $ECHO_N "checking
for TIFFError
in -ltiff...
$ECHO_C" >&6; }
26132 if test "${ac_cv_lib_tiff_TIFFError+set}" = set; then
26133 echo $ECHO_N "(cached
) $ECHO_C" >&6
26135 ac_check_lib_save_LIBS=$LIBS
26136 LIBS="-ltiff $TIFF_PREREQ_LINKS $LIBS"
26137 cat >conftest.$ac_ext <<_ACEOF
26140 cat confdefs.h >>conftest.$ac_ext
26141 cat >>conftest.$ac_ext <<_ACEOF
26142 /* end confdefs.h. */
26144 /* Override any GCC internal prototype to avoid an error.
26145 Use char because int might match the return type of a GCC
26146 builtin and then its argument prototype would still apply. */
26154 return TIFFError ();
26159 rm -f conftest.$ac_objext conftest$ac_exeext
26160 if { (ac_try="$ac_link"
26161 case "(($ac_try" in
26162 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26163 *) ac_try_echo=$ac_try;;
26165 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
26166 (eval "$ac_link") 2>conftest.er1
26168 grep -v '^ *+' conftest.er1 >conftest.err
26170 cat conftest.err >&5
26171 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
26172 (exit $ac_status); } && {
26173 test -z "$ac_c_werror_flag" ||
26174 test ! -s conftest.err
26175 } && test -s conftest$ac_exeext &&
26176 $as_test_x conftest$ac_exeext; then
26177 ac_cv_lib_tiff_TIFFError=yes
26179 echo "$as_me: failed program was
:" >&5
26180 sed 's/^/| /' conftest.$ac_ext >&5
26182 ac_cv_lib_tiff_TIFFError=no
26185 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26186 conftest$ac_exeext conftest.$ac_ext
26187 LIBS=$ac_check_lib_save_LIBS
26189 { echo "$as_me:$LINENO: result
: $ac_cv_lib_tiff_TIFFError" >&5
26190 echo "${ECHO_T}$ac_cv_lib_tiff_TIFFError" >&6; }
26191 if test $ac_cv_lib_tiff_TIFFError = yes; then
26192 TIFF_LINK=" -ltiff"
26200 if test "x
$TIFF_LINK" = "x
" ; then
26201 if test "$wxUSE_LIBTIFF" = "sys
" ; then
26202 { { echo "$as_me:$LINENO: error
: system tiff library not found
! Use
--with-libtiff=builtin to use built
-in version
" >&5
26203 echo "$as_me: error
: system tiff library not found
! Use
--with-libtiff=builtin to use built
-in version
" >&2;}
26204 { (exit 1); exit 1; }; }
26206 { echo "$as_me:$LINENO: WARNING
: system tiff library not found
, will use built
-in instead
" >&5
26207 echo "$as_me: WARNING
: system tiff library not found
, will use built
-in instead
" >&2;}
26208 wxUSE_LIBTIFF=builtin
26217 if test "$wxUSE_WCHAR_T" != "yes"; then
26218 if test "$wxUSE_EXPAT" != "no
"; then
26219 { echo "$as_me:$LINENO: WARNING
: wxWidgets requires wchar_t to use expat
, disabling
" >&5
26220 echo "$as_me: WARNING
: wxWidgets requires wchar_t to use expat
, disabling
" >&2;}
26223 if test "$wxUSE_XML" != "no
"; then
26224 { echo "$as_me:$LINENO: WARNING
: wxWidgets requires wchar_t to use xml
, disabling
" >&5
26225 echo "$as_me: WARNING
: wxWidgets requires wchar_t to use xml
, disabling
" >&2;}
26230 if test "$wxUSE_EXPAT" != "no
"; then
26232 cat >>confdefs.h <<\_ACEOF
26233 #define wxUSE_EXPAT 1
26236 cat >>confdefs.h <<\_ACEOF
26237 #define wxUSE_XML 1
26241 if test "$wxUSE_EXPAT" = "sys
" -o "$wxUSE_EXPAT" = "yes" ; then
26242 { echo "$as_me:$LINENO: checking
for expat.h
" >&5
26243 echo $ECHO_N "checking
for expat.h...
$ECHO_C" >&6; }
26244 if test "${ac_cv_header_expat_h+set}" = set; then
26245 echo $ECHO_N "(cached
) $ECHO_C" >&6
26247 cat >conftest.$ac_ext <<_ACEOF
26250 cat confdefs.h >>conftest.$ac_ext
26251 cat >>conftest.$ac_ext <<_ACEOF
26252 /* end confdefs.h. */
26257 rm -f conftest.$ac_objext
26258 if { (ac_try="$ac_compile"
26259 case "(($ac_try" in
26260 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26261 *) ac_try_echo=$ac_try;;
26263 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
26264 (eval "$ac_compile") 2>conftest.er1
26266 grep -v '^ *+' conftest.er1 >conftest.err
26268 cat conftest.err >&5
26269 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
26270 (exit $ac_status); } && {
26271 test -z "$ac_c_werror_flag" ||
26272 test ! -s conftest.err
26273 } && test -s conftest.$ac_objext; then
26274 ac_cv_header_expat_h=yes
26276 echo "$as_me: failed program was
:" >&5
26277 sed 's/^/| /' conftest.$ac_ext >&5
26279 ac_cv_header_expat_h=no
26282 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26284 { echo "$as_me:$LINENO: result
: $ac_cv_header_expat_h" >&5
26285 echo "${ECHO_T}$ac_cv_header_expat_h" >&6; }
26286 if test $ac_cv_header_expat_h = yes; then
26291 if test "x
$found_expat_h" = "x1
"; then
26292 { echo "$as_me:$LINENO: checking
if expat.h is valid C
++ header
" >&5
26293 echo $ECHO_N "checking
if expat.h is valid C
++ header...
$ECHO_C" >&6; }
26294 if test "${wx_cv_expat_is_not_broken+set}" = set; then
26295 echo $ECHO_N "(cached
) $ECHO_C" >&6
26299 ac_cpp='$CXXCPP $CPPFLAGS'
26300 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26301 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26302 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26304 cat >conftest.$ac_ext <<_ACEOF
26307 cat confdefs.h >>conftest.$ac_ext
26308 cat >>conftest.$ac_ext <<_ACEOF
26309 /* end confdefs.h. */
26319 rm -f conftest.$ac_objext
26320 if { (ac_try="$ac_compile"
26321 case "(($ac_try" in
26322 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26323 *) ac_try_echo=$ac_try;;
26325 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
26326 (eval "$ac_compile") 2>conftest.er1
26328 grep -v '^ *+' conftest.er1 >conftest.err
26330 cat conftest.err >&5
26331 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
26332 (exit $ac_status); } && {
26333 test -z "$ac_cxx_werror_flag" ||
26334 test ! -s conftest.err
26335 } && test -s conftest.$ac_objext; then
26336 wx_cv_expat_is_not_broken=yes
26338 echo "$as_me: failed program was
:" >&5
26339 sed 's/^/| /' conftest.$ac_ext >&5
26341 wx_cv_expat_is_not_broken=no
26345 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26347 ac_cpp='$CPP $CPPFLAGS'
26348 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26349 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26350 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26355 { echo "$as_me:$LINENO: result
: $wx_cv_expat_is_not_broken" >&5
26356 echo "${ECHO_T}$wx_cv_expat_is_not_broken" >&6; }
26357 if test "$wx_cv_expat_is_not_broken" = "yes" ; then
26358 { echo "$as_me:$LINENO: checking
for XML_ParserCreate
in -lexpat" >&5
26359 echo $ECHO_N "checking
for XML_ParserCreate
in -lexpat...
$ECHO_C" >&6; }
26360 if test "${ac_cv_lib_expat_XML_ParserCreate+set}" = set; then
26361 echo $ECHO_N "(cached
) $ECHO_C" >&6
26363 ac_check_lib_save_LIBS=$LIBS
26364 LIBS="-lexpat $LIBS"
26365 cat >conftest.$ac_ext <<_ACEOF
26368 cat confdefs.h >>conftest.$ac_ext
26369 cat >>conftest.$ac_ext <<_ACEOF
26370 /* end confdefs.h. */
26372 /* Override any GCC internal prototype to avoid an error.
26373 Use char because int might match the return type of a GCC
26374 builtin and then its argument prototype would still apply. */
26378 char XML_ParserCreate ();
26382 return XML_ParserCreate ();
26387 rm -f conftest.$ac_objext conftest$ac_exeext
26388 if { (ac_try="$ac_link"
26389 case "(($ac_try" in
26390 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26391 *) ac_try_echo=$ac_try;;
26393 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
26394 (eval "$ac_link") 2>conftest.er1
26396 grep -v '^ *+' conftest.er1 >conftest.err
26398 cat conftest.err >&5
26399 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
26400 (exit $ac_status); } && {
26401 test -z "$ac_c_werror_flag" ||
26402 test ! -s conftest.err
26403 } && test -s conftest$ac_exeext &&
26404 $as_test_x conftest$ac_exeext; then
26405 ac_cv_lib_expat_XML_ParserCreate=yes
26407 echo "$as_me: failed program was
:" >&5
26408 sed 's/^/| /' conftest.$ac_ext >&5
26410 ac_cv_lib_expat_XML_ParserCreate=no
26413 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26414 conftest$ac_exeext conftest.$ac_ext
26415 LIBS=$ac_check_lib_save_LIBS
26417 { echo "$as_me:$LINENO: result
: $ac_cv_lib_expat_XML_ParserCreate" >&5
26418 echo "${ECHO_T}$ac_cv_lib_expat_XML_ParserCreate" >&6; }
26419 if test $ac_cv_lib_expat_XML_ParserCreate = yes; then
26420 EXPAT_LINK=" -lexpat"
26425 if test "x
$EXPAT_LINK" = "x
" ; then
26426 if test "$wxUSE_EXPAT" = "sys
" ; then
26427 { { echo "$as_me:$LINENO: error
: system expat library not found
! Use
--with-expat=builtin to use built
-in version
" >&5
26428 echo "$as_me: error
: system expat library not found
! Use
--with-expat=builtin to use built
-in version
" >&2;}
26429 { (exit 1); exit 1; }; }
26431 { echo "$as_me:$LINENO: WARNING
: system expat library not found
, will use built
-in instead
" >&5
26432 echo "$as_me: WARNING
: system expat library not found
, will use built
-in instead
" >&2;}
26433 wxUSE_EXPAT=builtin
26439 if test "$wxUSE_EXPAT" = "builtin" ; then
26440 subdirs="$subdirs src
/expat
"
26447 if test "$wxUSE_LIBMSPACK" != "no
"; then
26448 { echo "$as_me:$LINENO: checking
for mspack.h
" >&5
26449 echo $ECHO_N "checking
for mspack.h...
$ECHO_C" >&6; }
26450 if test "${ac_cv_header_mspack_h+set}" = set; then
26451 echo $ECHO_N "(cached
) $ECHO_C" >&6
26453 cat >conftest.$ac_ext <<_ACEOF
26456 cat confdefs.h >>conftest.$ac_ext
26457 cat >>conftest.$ac_ext <<_ACEOF
26458 /* end confdefs.h. */
26461 #include <mspack.h>
26463 rm -f conftest.$ac_objext
26464 if { (ac_try="$ac_compile"
26465 case "(($ac_try" in
26466 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26467 *) ac_try_echo=$ac_try;;
26469 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
26470 (eval "$ac_compile") 2>conftest.er1
26472 grep -v '^ *+' conftest.er1 >conftest.err
26474 cat conftest.err >&5
26475 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
26476 (exit $ac_status); } && {
26477 test -z "$ac_c_werror_flag" ||
26478 test ! -s conftest.err
26479 } && test -s conftest.$ac_objext; then
26480 ac_cv_header_mspack_h=yes
26482 echo "$as_me: failed program was
:" >&5
26483 sed 's/^/| /' conftest.$ac_ext >&5
26485 ac_cv_header_mspack_h=no
26488 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26490 { echo "$as_me:$LINENO: result
: $ac_cv_header_mspack_h" >&5
26491 echo "${ECHO_T}$ac_cv_header_mspack_h" >&6; }
26492 if test $ac_cv_header_mspack_h = yes; then
26497 if test "x
$found_mspack_h" = "x1
"; then
26498 { echo "$as_me:$LINENO: checking
for mspack_create_chm_decompressor
in -lmspack" >&5
26499 echo $ECHO_N "checking
for mspack_create_chm_decompressor
in -lmspack...
$ECHO_C" >&6; }
26500 if test "${ac_cv_lib_mspack_mspack_create_chm_decompressor+set}" = set; then
26501 echo $ECHO_N "(cached
) $ECHO_C" >&6
26503 ac_check_lib_save_LIBS=$LIBS
26504 LIBS="-lmspack $LIBS"
26505 cat >conftest.$ac_ext <<_ACEOF
26508 cat confdefs.h >>conftest.$ac_ext
26509 cat >>conftest.$ac_ext <<_ACEOF
26510 /* end confdefs.h. */
26512 /* Override any GCC internal prototype to avoid an error.
26513 Use char because int might match the return type of a GCC
26514 builtin and then its argument prototype would still apply. */
26518 char mspack_create_chm_decompressor ();
26522 return mspack_create_chm_decompressor ();
26527 rm -f conftest.$ac_objext conftest$ac_exeext
26528 if { (ac_try="$ac_link"
26529 case "(($ac_try" in
26530 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26531 *) ac_try_echo=$ac_try;;
26533 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
26534 (eval "$ac_link") 2>conftest.er1
26536 grep -v '^ *+' conftest.er1 >conftest.err
26538 cat conftest.err >&5
26539 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
26540 (exit $ac_status); } && {
26541 test -z "$ac_c_werror_flag" ||
26542 test ! -s conftest.err
26543 } && test -s conftest$ac_exeext &&
26544 $as_test_x conftest$ac_exeext; then
26545 ac_cv_lib_mspack_mspack_create_chm_decompressor=yes
26547 echo "$as_me: failed program was
:" >&5
26548 sed 's/^/| /' conftest.$ac_ext >&5
26550 ac_cv_lib_mspack_mspack_create_chm_decompressor=no
26553 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26554 conftest$ac_exeext conftest.$ac_ext
26555 LIBS=$ac_check_lib_save_LIBS
26557 { echo "$as_me:$LINENO: result
: $ac_cv_lib_mspack_mspack_create_chm_decompressor" >&5
26558 echo "${ECHO_T}$ac_cv_lib_mspack_mspack_create_chm_decompressor" >&6; }
26559 if test $ac_cv_lib_mspack_mspack_create_chm_decompressor = yes; then
26560 MSPACK_LINK=" -lmspack"
26564 if test "x
$MSPACK_LINK" = "x
" ; then
26569 if test "$wxUSE_LIBMSPACK" != "no
"; then
26570 cat >>confdefs.h <<\_ACEOF
26571 #define wxUSE_LIBMSPACK 1
26585 if test "$USE_WIN32" = 1 ; then
26586 { echo "$as_me:$LINENO: checking
for w32api.h
" >&5
26587 echo $ECHO_N "checking
for w32api.h...
$ECHO_C" >&6; }
26588 if test "${ac_cv_header_w32api_h+set}" = set; then
26589 echo $ECHO_N "(cached
) $ECHO_C" >&6
26591 cat >conftest.$ac_ext <<_ACEOF
26594 cat confdefs.h >>conftest.$ac_ext
26595 cat >>conftest.$ac_ext <<_ACEOF
26596 /* end confdefs.h. */
26599 #include <w32api.h>
26601 rm -f conftest.$ac_objext
26602 if { (ac_try="$ac_compile"
26603 case "(($ac_try" in
26604 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26605 *) ac_try_echo=$ac_try;;
26607 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
26608 (eval "$ac_compile") 2>conftest.er1
26610 grep -v '^ *+' conftest.er1 >conftest.err
26612 cat conftest.err >&5
26613 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
26614 (exit $ac_status); } && {
26615 test -z "$ac_c_werror_flag" ||
26616 test ! -s conftest.err
26617 } && test -s conftest.$ac_objext; then
26618 ac_cv_header_w32api_h=yes
26620 echo "$as_me: failed program was
:" >&5
26621 sed 's/^/| /' conftest.$ac_ext >&5
26623 ac_cv_header_w32api_h=no
26626 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26628 { echo "$as_me:$LINENO: result
: $ac_cv_header_w32api_h" >&5
26629 echo "${ECHO_T}$ac_cv_header_w32api_h" >&6; }
26632 { echo "$as_me:$LINENO: checking
for windows.h
" >&5
26633 echo $ECHO_N "checking
for windows.h...
$ECHO_C" >&6; }
26634 if test "${ac_cv_header_windows_h+set}" = set; then
26635 echo $ECHO_N "(cached
) $ECHO_C" >&6
26637 cat >conftest.$ac_ext <<_ACEOF
26640 cat confdefs.h >>conftest.$ac_ext
26641 cat >>conftest.$ac_ext <<_ACEOF
26642 /* end confdefs.h. */
26645 #include <windows.h>
26647 rm -f conftest.$ac_objext
26648 if { (ac_try="$ac_compile"
26649 case "(($ac_try" in
26650 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26651 *) ac_try_echo=$ac_try;;
26653 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
26654 (eval "$ac_compile") 2>conftest.er1
26656 grep -v '^ *+' conftest.er1 >conftest.err
26658 cat conftest.err >&5
26659 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
26660 (exit $ac_status); } && {
26661 test -z "$ac_c_werror_flag" ||
26662 test ! -s conftest.err
26663 } && test -s conftest.$ac_objext; then
26664 ac_cv_header_windows_h=yes
26666 echo "$as_me: failed program was
:" >&5
26667 sed 's/^/| /' conftest.$ac_ext >&5
26669 ac_cv_header_windows_h=no
26672 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26674 { echo "$as_me:$LINENO: result
: $ac_cv_header_windows_h" >&5
26675 echo "${ECHO_T}$ac_cv_header_windows_h" >&6; }
26676 if test $ac_cv_header_windows_h = yes; then
26680 { { echo "$as_me:$LINENO: error
: please
set CFLAGS to contain the location of windows.h
" >&5
26681 echo "$as_me: error
: please
set CFLAGS to contain the location of windows.h
" >&2;}
26682 { (exit 1); exit 1; }; }
26688 LIBS="$LIBS -lwinspool -lwinmm -lshell32 -lcomctl32 -lcomdlg32 -lctl3d32 -ladvapi32 -lwsock32 -lgdi32"
26690 if test "$wxUSE_ACCESSIBILITY" = "yes" ; then
26691 LIBS="$LIBS -loleacc"
26696 LIBS="$LIBS -lkernel32 -luser32"
26699 if test "$wxUSE_ODBC" = "sys
" ; then
26702 if test "$wxUSE_ODBC" = "yes" ; then
26703 LIBS=" -lodbc32 -lole32 -loleaut32 $LIBS"
26704 cat >>confdefs.h <<\_ACEOF
26705 #define wxUSE_ODBC 1
26710 RESFLAGS="--include-dir \
$(top_srcdir)/include
--include-dir \
$(top_srcdir)/\
$(program_dir) --define __WIN32__
--define __WIN95__
--define __GNUWIN32__
"
26711 RESPROGRAMOBJ="\
$(PROGRAM)_resources.o
"
26713 WXCONFIG_RESFLAGS="--define __WIN32__
--define __WIN95__
--define __GNUWIN32__
"
26715 WIN32INSTALL=win32install
26717 { echo "$as_me:$LINENO: checking
for pbt.h
" >&5
26718 echo $ECHO_N "checking
for pbt.h...
$ECHO_C" >&6; }
26719 if test "${ac_cv_header_pbt_h+set}" = set; then
26720 echo $ECHO_N "(cached
) $ECHO_C" >&6
26722 cat >conftest.$ac_ext <<_ACEOF
26725 cat confdefs.h >>conftest.$ac_ext
26726 cat >>conftest.$ac_ext <<_ACEOF
26727 /* end confdefs.h. */
26732 rm -f conftest.$ac_objext
26733 if { (ac_try="$ac_compile"
26734 case "(($ac_try" in
26735 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26736 *) ac_try_echo=$ac_try;;
26738 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
26739 (eval "$ac_compile") 2>conftest.er1
26741 grep -v '^ *+' conftest.er1 >conftest.err
26743 cat conftest.err >&5
26744 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
26745 (exit $ac_status); } && {
26746 test -z "$ac_c_werror_flag" ||
26747 test ! -s conftest.err
26748 } && test -s conftest.$ac_objext; then
26749 ac_cv_header_pbt_h=yes
26751 echo "$as_me: failed program was
:" >&5
26752 sed 's/^/| /' conftest.$ac_ext >&5
26754 ac_cv_header_pbt_h=no
26757 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26759 { echo "$as_me:$LINENO: result
: $ac_cv_header_pbt_h" >&5
26760 echo "${ECHO_T}$ac_cv_header_pbt_h" >&6; }
26761 if test $ac_cv_header_pbt_h = yes; then
26764 cat >>confdefs.h <<\_ACEOF
26765 #define NEED_PBT_H 1
26773 if test "$wxUSE_GUI" = "yes"; then
26783 if test "$wxUSE_COCOA" = 1 ; then
26784 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes"; then
26785 { echo "$as_me:$LINENO: WARNING
: Printing not supported under wxCocoa yet
, disabled
" >&5
26786 echo "$as_me: WARNING
: Printing not supported under wxCocoa yet
, disabled
" >&2;}
26787 wxUSE_PRINTING_ARCHITECTURE=no
26789 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
26790 { echo "$as_me:$LINENO: WARNING
: Drag and Drop not supported under wxCocoa yet
, disabled
" >&5
26791 echo "$as_me: WARNING
: Drag and Drop not supported under wxCocoa yet
, disabled
" >&2;}
26792 wxUSE_DRAG_AND_DROP=no
26794 if test "$wxUSE_DRAGIMAGE" = "yes"; then
26795 { echo "$as_me:$LINENO: WARNING
: wxDragImage not supported under wxCocoa yet
, disabled
" >&5
26796 echo "$as_me: WARNING
: wxDragImage not supported under wxCocoa yet
, disabled
" >&2;}
26801 if test "$wxUSE_MSW" = 1 ; then
26807 WXCONFIG_LDFLAGS_GUI="$LDFLAGS -Wl,--subsystem,windows
-mwindows"
26811 if test "$wxUSE_GTK" = 1; then
26812 { echo "$as_me:$LINENO: checking
for GTK
+ version
" >&5
26813 echo $ECHO_N "checking
for GTK
+ version...
$ECHO_C" >&6; }
26815 gtk_version_cached=1
26816 if test "${wx_cv_lib_gtk+set}" = set; then
26817 echo $ECHO_N "(cached
) $ECHO_C" >&6
26820 gtk_version_cached=0
26821 { echo "$as_me:$LINENO: result
: " >&5
26822 echo "${ECHO_T}" >&6; }
26825 if test "$wxUSE_THREADS" = "yes"; then
26826 GTK_MODULES=gthread
26830 if test "x
$wxGTK_VERSION" != "x1
"
26834 if test "$wxUSE_THREADS" = "yes" -a "$GCC" = yes; then
26839 # Check whether --enable-gtktest was given.
26840 if test "${enable_gtktest+set}" = set; then
26841 enableval=$enable_gtktest;
26847 pkg_config_args=gtk+-2.0
26848 for module in . $GTK_MODULES
26852 pkg_config_args="$pkg_config_args gthread
-2.0
"
26859 # Extract the first word of "pkg
-config", so it can be a program name with args.
26860 set dummy pkg-config; ac_word=$2
26861 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
26862 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
26863 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
26864 echo $ECHO_N "(cached
) $ECHO_C" >&6
26866 case $PKG_CONFIG in
26868 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
26871 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
26872 for as_dir in $PATH
26875 test -z "$as_dir" && as_dir=.
26876 for ac_exec_ext in '' $ac_executable_extensions; do
26877 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
26878 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
26879 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
26886 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no
"
26890 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
26891 if test -n "$PKG_CONFIG"; then
26892 { echo "$as_me:$LINENO: result
: $PKG_CONFIG" >&5
26893 echo "${ECHO_T}$PKG_CONFIG" >&6; }
26895 { echo "$as_me:$LINENO: result
: no
" >&5
26896 echo "${ECHO_T}no
" >&6; }
26901 if test x$PKG_CONFIG != xno ; then
26902 if pkg-config --atleast-pkgconfig-version 0.7 ; then
26905 echo "*** pkg
-config too old
; version
0.7 or better required.
"
26913 min_gtk_version=2.0.0
26914 { echo "$as_me:$LINENO: checking
for GTK
+ - version
>= $min_gtk_version" >&5
26915 echo $ECHO_N "checking
for GTK
+ - version
>= $min_gtk_version...
$ECHO_C" >&6; }
26917 if test x$PKG_CONFIG != xno ; then
26918 ## don't try to run the test against uninstalled libtool libs
26919 if $PKG_CONFIG --uninstalled $pkg_config_args; then
26920 echo "Will use uninstalled version of GTK
+ found
in PKG_CONFIG_PATH
"
26924 if $PKG_CONFIG --atleast-version $min_gtk_version $pkg_config_args; then
26931 if test x"$no_gtk" = x ; then
26932 GTK_CFLAGS=`$PKG_CONFIG $pkg_config_args --cflags`
26933 GTK_LIBS=`$PKG_CONFIG $pkg_config_args --libs`
26934 gtk_config_major_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
26935 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
26936 gtk_config_minor_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
26937 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
26938 gtk_config_micro_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
26939 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
26940 if test "x
$enable_gtktest" = "xyes
" ; then
26941 ac_save_CFLAGS="$CFLAGS"
26942 ac_save_LIBS="$LIBS"
26943 CFLAGS="$CFLAGS $GTK_CFLAGS"
26944 LIBS="$GTK_LIBS $LIBS"
26946 if test "$cross_compiling" = yes; then
26947 echo $ac_n "cross compiling
; assumed OK...
$ac_c"
26949 cat >conftest.$ac_ext <<_ACEOF
26952 cat confdefs.h >>conftest.$ac_ext
26953 cat >>conftest.$ac_ext <<_ACEOF
26954 /* end confdefs.h. */
26956 #include <gtk/gtk.h>
26958 #include <stdlib.h>
26963 int major, minor, micro;
26966 system ("touch conf.gtktest
");
26968 /* HP/UX 9 (%@#!) writes to sscanf strings */
26969 tmp_version = g_strdup("$min_gtk_version");
26970 if (sscanf(tmp_version, "%d.
%d.
%d
", &major, &minor, µ) != 3) {
26971 printf("%s
, bad version string
\n", "$min_gtk_version");
26975 if ((gtk_major_version != $gtk_config_major_version) ||
26976 (gtk_minor_version != $gtk_config_minor_version) ||
26977 (gtk_micro_version != $gtk_config_micro_version))
26979 printf("\n*** 'pkg-config --modversion gtk+-2.0' returned
%d.
%d.
%d
, but GTK
+ (%d.
%d.
%d
)\n",
26980 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
26981 gtk_major_version, gtk_minor_version, gtk_micro_version);
26982 printf ("*** was found
! If pkg
-config was correct
, then it is best
\n");
26983 printf ("*** to remove the old version of GTK
+. You may also be able to fix the error
\n");
26984 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable
, or by editing
\n");
26985 printf("*** /etc
/ld.so.conf. Make sure you have run ldconfig
if that is
\n");
26986 printf("*** required on your system.
\n");
26987 printf("*** If pkg
-config was wrong
, set the environment variable PKG_CONFIG_PATH
\n");
26988 printf("*** to point to the correct configuration files
\n");
26990 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
26991 (gtk_minor_version != GTK_MINOR_VERSION) ||
26992 (gtk_micro_version != GTK_MICRO_VERSION))
26994 printf("*** GTK
+ header files
(version
%d.
%d.
%d
) do not match
\n",
26995 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
26996 printf("*** library
(version
%d.
%d.
%d
)\n",
26997 gtk_major_version, gtk_minor_version, gtk_micro_version);
27001 if ((gtk_major_version > major) ||
27002 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
27003 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
27009 printf("\n*** An old version of GTK
+ (%d.
%d.
%d
) was found.
\n",
27010 gtk_major_version, gtk_minor_version, gtk_micro_version);
27011 printf("*** You need a version of GTK
+ newer than
%d.
%d.
%d. The latest version of
\n",
27012 major, minor, micro);
27013 printf("*** GTK
+ is always available from
ftp://ftp.gtk.org.
\n");
27015 printf("*** If you have already installed a sufficiently new version
, this error
\n");
27016 printf("*** probably means that the wrong copy of the pkg
-config shell
script is
\n");
27017 printf("*** being found. The easiest way to fix this is to remove the old version
\n");
27018 printf("*** of GTK
+, but you can also
set the PKG_CONFIG environment to point to the
\n");
27019 printf("*** correct copy of pkg
-config.
(In this
case, you will have to
\n");
27020 printf("*** modify your LD_LIBRARY_PATH enviroment variable
, or edit
/etc
/ld.so.conf
\n");
27021 printf("*** so that the correct libraries are found
at run
-time))\n");
27028 rm -f conftest$ac_exeext
27029 if { (ac_try="$ac_link"
27030 case "(($ac_try" in
27031 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27032 *) ac_try_echo=$ac_try;;
27034 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
27035 (eval "$ac_link") 2>&5
27037 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
27038 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
27039 { (case "(($ac_try" in
27040 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27041 *) ac_try_echo=$ac_try;;
27043 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
27044 (eval "$ac_try") 2>&5
27046 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
27047 (exit $ac_status); }; }; then
27050 echo "$as_me: program exited with status
$ac_status" >&5
27051 echo "$as_me: failed program was
:" >&5
27052 sed 's/^/| /' conftest.$ac_ext >&5
27054 ( exit $ac_status )
27057 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
27061 CFLAGS="$ac_save_CFLAGS"
27062 LIBS="$ac_save_LIBS"
27065 if test "x
$no_gtk" = x ; then
27066 { echo "$as_me:$LINENO: result
: yes (version
$gtk_config_major_version.
$gtk_config_minor_version.
$gtk_config_micro_version)" >&5
27067 echo "${ECHO_T}yes (version
$gtk_config_major_version.
$gtk_config_minor_version.
$gtk_config_micro_version)" >&6; }
27070 { echo "$as_me:$LINENO: result
: no
" >&5
27071 echo "${ECHO_T}no
" >&6; }
27072 if test "$PKG_CONFIG" = "no
" ; then
27073 echo "*** A new enough version of pkg
-config was not found.
"
27074 echo "*** See http
://pkgconfig.sourceforge.net
"
27076 if test -f conf.gtktest ; then
27079 echo "*** Could not run GTK
+ test program
, checking why...
"
27080 ac_save_CFLAGS="$CFLAGS"
27081 ac_save_LIBS="$LIBS"
27082 CFLAGS="$CFLAGS $GTK_CFLAGS"
27083 LIBS="$LIBS $GTK_LIBS"
27084 cat >conftest.$ac_ext <<_ACEOF
27087 cat confdefs.h >>conftest.$ac_ext
27088 cat >>conftest.$ac_ext <<_ACEOF
27089 /* end confdefs.h. */
27091 #include <gtk/gtk.h>
27097 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
27102 rm -f conftest.$ac_objext conftest$ac_exeext
27103 if { (ac_try="$ac_link"
27104 case "(($ac_try" in
27105 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27106 *) ac_try_echo=$ac_try;;
27108 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
27109 (eval "$ac_link") 2>conftest.er1
27111 grep -v '^ *+' conftest.er1 >conftest.err
27113 cat conftest.err >&5
27114 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
27115 (exit $ac_status); } && {
27116 test -z "$ac_c_werror_flag" ||
27117 test ! -s conftest.err
27118 } && test -s conftest$ac_exeext &&
27119 $as_test_x conftest$ac_exeext; then
27120 echo "*** The
test program compiled
, but did not run. This usually means
"
27121 echo "*** that the run
-time linker is not finding GTK
+ or finding the wrong
"
27122 echo "*** version of GTK
+. If it is not finding GTK
+, you
'll need to set your"
27123 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
27124 echo "*** to the installed location Also, make sure you have run ldconfig if that"
27125 echo "*** is required on your system"
27127 echo "*** If you have an old version installed, it is best to remove it, although"
27128 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
27130 echo "$as_me: failed program was:" >&5
27131 sed 's
/^
/| /' conftest.$ac_ext >&5
27133 echo "*** The test program failed to compile or link. See the file config.log for the"
27134 echo "*** exact error that occured. This usually means GTK+ is incorrectly installed."
27137 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27138 conftest$ac_exeext conftest.$ac_ext
27139 CFLAGS="$ac_save_CFLAGS"
27140 LIBS="$ac_save_LIBS"
27154 if test "$wxUSE_THREADS" = "yes" -a "$GCC" = yes; then
27155 GTK_CFLAGS=`echo $GTK_CFLAGS | sed 's
/-mt//'`
27156 GTK_LIBS=`echo $GTK_LIBS | sed 's
/-mt//'`
27158 if test "$wxUSE_SHARED" != "yes"; then
27159 GTK_LIBS="$GTK_LIBS -lX11"
27164 if test -z "$wx_cv_lib_gtk"; then
27165 if test "x$wxGTK_VERSION" = "x1" -o "x$wxGTK_VERSION" = "xany" ; then
27167 # Check whether --with-gtk-prefix was given.
27168 if test "${with_gtk_prefix+set}" = set; then
27169 withval=$with_gtk_prefix; gtk_config_prefix="$withval"
27171 gtk_config_prefix=""
27175 # Check whether --with-gtk-exec-prefix was given.
27176 if test "${with_gtk_exec_prefix+set}" = set; then
27177 withval=$with_gtk_exec_prefix; gtk_config_exec_prefix="$withval"
27179 gtk_config_exec_prefix=""
27182 # Check whether --enable-gtktest was given.
27183 if test "${enable_gtktest+set}" = set; then
27184 enableval=$enable_gtktest;
27190 for module in . $GTK_MODULES
27194 gtk_config_args="$gtk_config_args gthread"
27199 if test x$gtk_config_exec_prefix != x ; then
27200 gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
27201 if test x${GTK_CONFIG+set} != xset ; then
27202 GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
27205 if test x$gtk_config_prefix != x ; then
27206 gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
27207 if test x${GTK_CONFIG+set} != xset ; then
27208 GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
27212 # Extract the first word of "gtk-config", so it can be a program name with args.
27213 set dummy gtk-config; ac_word=$2
27214 { echo "$as_me:$LINENO: checking for $ac_word" >&5
27215 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
27216 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
27217 echo $ECHO_N "(cached) $ECHO_C" >&6
27219 case $GTK_CONFIG in
27221 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path.
27224 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
27225 for as_dir in $PATH
27228 test -z "$as_dir" && as_dir=.
27229 for ac_exec_ext in '' $ac_executable_extensions; do
27230 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
27231 ac_cv_path_GTK_CONFIG="$as_dir/$ac_word$ac_exec_ext"
27232 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
27239 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no"
27243 GTK_CONFIG=$ac_cv_path_GTK_CONFIG
27244 if test -n "$GTK_CONFIG"; then
27245 { echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
27246 echo "${ECHO_T}$GTK_CONFIG" >&6; }
27248 { echo "$as_me:$LINENO: result: no" >&5
27249 echo "${ECHO_T}no" >&6; }
27253 min_gtk_version=1.2.7
27254 { echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
27255 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6; }
27257 if test "$GTK_CONFIG" = "no" ; then
27260 GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags`
27261 GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs`
27262 gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \
27263 sed 's
/\
([0-9]*\
).\
([0-9]*\
).\
([0-9]*\
)/\
1/'`
27264 gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \
27265 sed 's
/\
([0-9]*\
).\
([0-9]*\
).\
([0-9]*\
)/\
2/'`
27266 gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \
27267 sed 's
/\
([0-9]*\
).\
([0-9]*\
).\
([0-9]*\
)/\
3/'`
27268 if test "x$enable_gtktest" = "xyes" ; then
27269 ac_save_CFLAGS="$CFLAGS"
27270 ac_save_LIBS="$LIBS"
27271 CFLAGS="$CFLAGS $GTK_CFLAGS"
27272 LIBS="$GTK_LIBS $LIBS"
27274 if test "$cross_compiling" = yes; then
27275 echo $ac_n "cross compiling; assumed OK... $ac_c"
27277 cat >conftest.$ac_ext <<_ACEOF
27280 cat confdefs.h >>conftest.$ac_ext
27281 cat >>conftest.$ac_ext <<_ACEOF
27282 /* end confdefs.h. */
27284 #include <gtk/gtk.h>
27286 #include <stdlib.h>
27291 int major, minor, micro;
27294 system ("touch conf.gtktest");
27296 /* HP/UX 9 (%@#!) writes to sscanf strings */
27297 tmp_version = g_strdup("$min_gtk_version");
27298 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
27299 printf("%s, bad version string\n", "$min_gtk_version");
27303 if ((gtk_major_version != $gtk_config_major_version) ||
27304 (gtk_minor_version != $gtk_config_minor_version) ||
27305 (gtk_micro_version != $gtk_config_micro_version))
27307 printf("\n*** 'gtk
-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
27308 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
27309 gtk_major_version, gtk_minor_version, gtk_micro_version);
27310 printf ("*** was found! If gtk-config was correct, then it is best\n");
27311 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
27312 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
27313 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
27314 printf("*** required on your system.\n");
27315 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
27316 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
27317 printf("*** before re-running configure\n");
27319 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
27320 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
27321 (gtk_minor_version != GTK_MINOR_VERSION) ||
27322 (gtk_micro_version != GTK_MICRO_VERSION))
27324 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
27325 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
27326 printf("*** library (version %d.%d.%d)\n",
27327 gtk_major_version, gtk_minor_version, gtk_micro_version);
27329 #endif /* defined (GTK_MAJOR_VERSION) ... */
27332 if ((gtk_major_version > major) ||
27333 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
27334 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
27340 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
27341 gtk_major_version, gtk_minor_version, gtk_micro_version);
27342 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
27343 major, minor, micro);
27344 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
27346 printf("*** If you have already installed a sufficiently new version, this error\n");
27347 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
27348 printf("*** being found. The easiest way to fix this is to remove the old version\n");
27349 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
27350 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
27351 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
27352 printf("*** so that the correct libraries are found at run-time))\n");
27359 rm -f conftest$ac_exeext
27360 if { (ac_try="$ac_link"
27361 case "(($ac_try" in
27362 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27363 *) ac_try_echo=$ac_try;;
27365 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27366 (eval "$ac_link") 2>&5
27368 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27369 (exit $ac_status); } && { ac_try='.
/conftest
$ac_exeext'
27370 { (case "(($ac_try" in
27371 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27372 *) ac_try_echo=$ac_try;;
27374 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27375 (eval "$ac_try") 2>&5
27377 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27378 (exit $ac_status); }; }; then
27381 echo "$as_me: program exited with status $ac_status" >&5
27382 echo "$as_me: failed program was:" >&5
27383 sed 's
/^
/| /' conftest.$ac_ext >&5
27385 ( exit $ac_status )
27388 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
27392 CFLAGS="$ac_save_CFLAGS"
27393 LIBS="$ac_save_LIBS"
27396 if test "x$no_gtk" = x ; then
27397 { echo "$as_me:$LINENO: result: yes" >&5
27398 echo "${ECHO_T}yes" >&6; }
27399 wx_cv_lib_gtk=1.2.7
27401 { echo "$as_me:$LINENO: result: no" >&5
27402 echo "${ECHO_T}no" >&6; }
27403 if test "$GTK_CONFIG" = "no" ; then
27404 echo "*** The gtk-config script installed by GTK could not be found"
27405 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
27406 echo "*** your path, or set the GTK_CONFIG environment variable to the"
27407 echo "*** full path to gtk-config."
27409 if test -f conf.gtktest ; then
27412 echo "*** Could not run GTK test program, checking why..."
27413 CFLAGS="$CFLAGS $GTK_CFLAGS"
27414 LIBS="$LIBS $GTK_LIBS"
27415 cat >conftest.$ac_ext <<_ACEOF
27418 cat confdefs.h >>conftest.$ac_ext
27419 cat >>conftest.$ac_ext <<_ACEOF
27420 /* end confdefs.h. */
27422 #include <gtk/gtk.h>
27428 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
27433 rm -f conftest.$ac_objext conftest$ac_exeext
27434 if { (ac_try="$ac_link"
27435 case "(($ac_try" in
27436 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27437 *) ac_try_echo=$ac_try;;
27439 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27440 (eval "$ac_link") 2>conftest.er1
27442 grep -v '^
*+' conftest.er1 >conftest.err
27444 cat conftest.err >&5
27445 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27446 (exit $ac_status); } && {
27447 test -z "$ac_c_werror_flag" ||
27448 test ! -s conftest.err
27449 } && test -s conftest$ac_exeext &&
27450 $as_test_x conftest$ac_exeext; then
27451 echo "*** The test program compiled, but did not run. This usually means"
27452 echo "*** that the run-time linker is not finding GTK or finding the wrong"
27453 echo "*** version of GTK. If it is not finding GTK, you'll need to
set your
"
27454 echo "*** LD_LIBRARY_PATH environment variable
, or edit
/etc
/ld.so.conf to point
"
27455 echo "*** to the installed location Also
, make sure you have run ldconfig
if that
"
27456 echo "*** is required on your system
"
27458 echo "*** If you have an old version installed
, it is best to remove it
, although
"
27459 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH
"
27461 echo "*** If you have a RedHat
5.0 system
, you should remove the GTK package that
"
27462 echo "*** came with the system with the
command"
27464 echo "*** rpm
--erase --nodeps gtk gtk
-devel"
27466 echo "$as_me: failed program was
:" >&5
27467 sed 's/^/| /' conftest.$ac_ext >&5
27469 echo "*** The
test program failed to compile or link. See the
file config.log
for the
"
27470 echo "*** exact error that occured. This usually means GTK was incorrectly installed
"
27471 echo "*** or that you have moved GTK since it was installed. In the latter
case, you
"
27472 echo "*** may want to edit the gtk
-config script: $GTK_CONFIG"
27475 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27476 conftest$ac_exeext conftest.$ac_ext
27477 CFLAGS="$ac_save_CFLAGS"
27478 LIBS="$ac_save_LIBS"
27490 if test -z "$wx_cv_lib_gtk"; then
27492 # Check whether --with-gtk-prefix was given.
27493 if test "${with_gtk_prefix+set}" = set; then
27494 withval=$with_gtk_prefix; gtk_config_prefix="$withval"
27496 gtk_config_prefix=""
27500 # Check whether --with-gtk-exec-prefix was given.
27501 if test "${with_gtk_exec_prefix+set}" = set; then
27502 withval=$with_gtk_exec_prefix; gtk_config_exec_prefix="$withval"
27504 gtk_config_exec_prefix=""
27507 # Check whether --enable-gtktest was given.
27508 if test "${enable_gtktest+set}" = set; then
27509 enableval=$enable_gtktest;
27515 for module in . $GTK_MODULES
27519 gtk_config_args="$gtk_config_args gthread
"
27524 if test x$gtk_config_exec_prefix != x ; then
27525 gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
27526 if test x${GTK_CONFIG+set} != xset ; then
27527 GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
27530 if test x$gtk_config_prefix != x ; then
27531 gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
27532 if test x${GTK_CONFIG+set} != xset ; then
27533 GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
27537 # Extract the first word of "gtk
-config", so it can be a program name with args.
27538 set dummy gtk-config; ac_word=$2
27539 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
27540 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
27541 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
27542 echo $ECHO_N "(cached
) $ECHO_C" >&6
27544 case $GTK_CONFIG in
27546 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path.
27549 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
27550 for as_dir in $PATH
27553 test -z "$as_dir" && as_dir=.
27554 for ac_exec_ext in '' $ac_executable_extensions; do
27555 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
27556 ac_cv_path_GTK_CONFIG="$as_dir/$ac_word$ac_exec_ext"
27557 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
27564 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no
"
27568 GTK_CONFIG=$ac_cv_path_GTK_CONFIG
27569 if test -n "$GTK_CONFIG"; then
27570 { echo "$as_me:$LINENO: result
: $GTK_CONFIG" >&5
27571 echo "${ECHO_T}$GTK_CONFIG" >&6; }
27573 { echo "$as_me:$LINENO: result
: no
" >&5
27574 echo "${ECHO_T}no
" >&6; }
27578 min_gtk_version=1.2.3
27579 { echo "$as_me:$LINENO: checking
for GTK
- version
>= $min_gtk_version" >&5
27580 echo $ECHO_N "checking
for GTK
- version
>= $min_gtk_version...
$ECHO_C" >&6; }
27582 if test "$GTK_CONFIG" = "no
" ; then
27585 GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags`
27586 GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs`
27587 gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \
27588 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
27589 gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \
27590 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
27591 gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \
27592 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
27593 if test "x
$enable_gtktest" = "xyes
" ; then
27594 ac_save_CFLAGS="$CFLAGS"
27595 ac_save_LIBS="$LIBS"
27596 CFLAGS="$CFLAGS $GTK_CFLAGS"
27597 LIBS="$GTK_LIBS $LIBS"
27599 if test "$cross_compiling" = yes; then
27600 echo $ac_n "cross compiling
; assumed OK...
$ac_c"
27602 cat >conftest.$ac_ext <<_ACEOF
27605 cat confdefs.h >>conftest.$ac_ext
27606 cat >>conftest.$ac_ext <<_ACEOF
27607 /* end confdefs.h. */
27609 #include <gtk/gtk.h>
27611 #include <stdlib.h>
27616 int major, minor, micro;
27619 system ("touch conf.gtktest
");
27621 /* HP/UX 9 (%@#!) writes to sscanf strings */
27622 tmp_version = g_strdup("$min_gtk_version");
27623 if (sscanf(tmp_version, "%d.
%d.
%d
", &major, &minor, µ) != 3) {
27624 printf("%s
, bad version string
\n", "$min_gtk_version");
27628 if ((gtk_major_version != $gtk_config_major_version) ||
27629 (gtk_minor_version != $gtk_config_minor_version) ||
27630 (gtk_micro_version != $gtk_config_micro_version))
27632 printf("\n*** 'gtk-config --version' returned
%d.
%d.
%d
, but GTK
+ (%d.
%d.
%d
)\n",
27633 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
27634 gtk_major_version, gtk_minor_version, gtk_micro_version);
27635 printf ("*** was found
! If gtk
-config was correct
, then it is best
\n");
27636 printf ("*** to remove the old version of GTK
+. You may also be able to fix the error
\n");
27637 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable
, or by editing
\n");
27638 printf("*** /etc
/ld.so.conf. Make sure you have run ldconfig
if that is
\n");
27639 printf("*** required on your system.
\n");
27640 printf("*** If gtk
-config was wrong
, set the environment variable GTK_CONFIG
\n");
27641 printf("*** to point to the correct copy of gtk
-config, and remove the
file config.cache
\n");
27642 printf("*** before re
-running configure
\n");
27644 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
27645 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
27646 (gtk_minor_version != GTK_MINOR_VERSION) ||
27647 (gtk_micro_version != GTK_MICRO_VERSION))
27649 printf("*** GTK
+ header files
(version
%d.
%d.
%d
) do not match
\n",
27650 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
27651 printf("*** library
(version
%d.
%d.
%d
)\n",
27652 gtk_major_version, gtk_minor_version, gtk_micro_version);
27654 #endif /* defined (GTK_MAJOR_VERSION) ... */
27657 if ((gtk_major_version > major) ||
27658 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
27659 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
27665 printf("\n*** An old version of GTK
+ (%d.
%d.
%d
) was found.
\n",
27666 gtk_major_version, gtk_minor_version, gtk_micro_version);
27667 printf("*** You need a version of GTK
+ newer than
%d.
%d.
%d. The latest version of
\n",
27668 major, minor, micro);
27669 printf("*** GTK
+ is always available from
ftp://ftp.gtk.org.
\n");
27671 printf("*** If you have already installed a sufficiently new version
, this error
\n");
27672 printf("*** probably means that the wrong copy of the gtk
-config shell
script is
\n");
27673 printf("*** being found. The easiest way to fix this is to remove the old version
\n");
27674 printf("*** of GTK
+, but you can also
set the GTK_CONFIG environment to point to the
\n");
27675 printf("*** correct copy of gtk
-config.
(In this
case, you will have to
\n");
27676 printf("*** modify your LD_LIBRARY_PATH enviroment variable
, or edit
/etc
/ld.so.conf
\n");
27677 printf("*** so that the correct libraries are found
at run
-time))\n");
27684 rm -f conftest$ac_exeext
27685 if { (ac_try="$ac_link"
27686 case "(($ac_try" in
27687 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27688 *) ac_try_echo=$ac_try;;
27690 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
27691 (eval "$ac_link") 2>&5
27693 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
27694 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
27695 { (case "(($ac_try" in
27696 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27697 *) ac_try_echo=$ac_try;;
27699 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
27700 (eval "$ac_try") 2>&5
27702 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
27703 (exit $ac_status); }; }; then
27706 echo "$as_me: program exited with status
$ac_status" >&5
27707 echo "$as_me: failed program was
:" >&5
27708 sed 's/^/| /' conftest.$ac_ext >&5
27710 ( exit $ac_status )
27713 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
27717 CFLAGS="$ac_save_CFLAGS"
27718 LIBS="$ac_save_LIBS"
27721 if test "x
$no_gtk" = x ; then
27722 { echo "$as_me:$LINENO: result
: yes" >&5
27723 echo "${ECHO_T}yes" >&6; }
27724 wx_cv_lib_gtk=1.2.3
27726 { echo "$as_me:$LINENO: result
: no
" >&5
27727 echo "${ECHO_T}no
" >&6; }
27728 if test "$GTK_CONFIG" = "no
" ; then
27729 echo "*** The gtk
-config script installed by GTK could not be found
"
27730 echo "*** If GTK was installed
in PREFIX
, make sure PREFIX
/bin is
in"
27731 echo "*** your path
, or
set the GTK_CONFIG environment variable to the
"
27732 echo "*** full path to gtk
-config.
"
27734 if test -f conf.gtktest ; then
27737 echo "*** Could not run GTK
test program
, checking why...
"
27738 CFLAGS="$CFLAGS $GTK_CFLAGS"
27739 LIBS="$LIBS $GTK_LIBS"
27740 cat >conftest.$ac_ext <<_ACEOF
27743 cat confdefs.h >>conftest.$ac_ext
27744 cat >>conftest.$ac_ext <<_ACEOF
27745 /* end confdefs.h. */
27747 #include <gtk/gtk.h>
27753 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
27758 rm -f conftest.$ac_objext conftest$ac_exeext
27759 if { (ac_try="$ac_link"
27760 case "(($ac_try" in
27761 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27762 *) ac_try_echo=$ac_try;;
27764 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
27765 (eval "$ac_link") 2>conftest.er1
27767 grep -v '^ *+' conftest.er1 >conftest.err
27769 cat conftest.err >&5
27770 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
27771 (exit $ac_status); } && {
27772 test -z "$ac_c_werror_flag" ||
27773 test ! -s conftest.err
27774 } && test -s conftest$ac_exeext &&
27775 $as_test_x conftest$ac_exeext; then
27776 echo "*** The
test program compiled
, but did not run. This usually means
"
27777 echo "*** that the run
-time linker is not finding GTK or finding the wrong
"
27778 echo "*** version of GTK. If it is not finding GTK
, you
'll need to set your"
27779 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
27780 echo "*** to the installed location Also, make sure you have run ldconfig if that"
27781 echo "*** is required on your system"
27783 echo "*** If you have an old version installed, it is best to remove it, although"
27784 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
27786 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
27787 echo "*** came with the system with the command"
27789 echo "*** rpm --erase --nodeps gtk gtk-devel"
27791 echo "$as_me: failed program was:" >&5
27792 sed 's
/^
/| /' conftest.$ac_ext >&5
27794 echo "*** The test program failed to compile or link. See the file config.log for the"
27795 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
27796 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
27797 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
27800 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27801 conftest$ac_exeext conftest.$ac_ext
27802 CFLAGS="$ac_save_CFLAGS"
27803 LIBS="$ac_save_LIBS"
27818 if test -z "$wx_cv_lib_gtk"; then
27821 wx_cv_cflags_gtk=$GTK_CFLAGS
27822 wx_cv_libs_gtk=`echo $GTK_LIBS | sed -e 's
/ -l[^
]*cairo
[^
]*//g
'`
27829 if test "$gtk_version_cached" = 1; then
27830 { echo "$as_me:$LINENO: result: $wx_cv_lib_gtk" >&5
27831 echo "${ECHO_T}$wx_cv_lib_gtk" >&6; }
27834 case "$wx_cv_lib_gtk" in
27843 *) { { echo "$as_me:$LINENO: error:
27844 The development files for GTK+ were not found. For GTK+ 2, please
27845 ensure that pkg-config is in the path and that gtk+-2.0.pc is
27846 installed. For GTK+ 1.2 please check that gtk-config is in the path,
27847 and that the version is 1.2.3 or above. Also check that the
27848 libraries returned by 'pkg
-config gtk
+-2.0
--libs' or 'gtk
-config
27849 --libs' are in the LD_LIBRARY_PATH or equivalent.
27851 echo "$as_me: error:
27852 The development files for GTK+ were not found. For GTK+ 2, please
27853 ensure that pkg-config is in the path and that gtk+-2.0.pc is
27854 installed. For GTK+ 1.2 please check that gtk-config is in the path,
27855 and that the version is 1.2.3 or above. Also check that the
27856 libraries returned by 'pkg
-config gtk
+-2.0
--libs' or 'gtk
-config
27857 --libs' are in the LD_LIBRARY_PATH or equivalent.
27859 { (exit 1); exit 1; }; }
27863 if test "$WXGTK20" = 1; then
27864 save_CFLAGS="$CFLAGS"
27866 CFLAGS="$wx_cv_cflags_gtk $CFLAGS"
27867 LIBS="$LIBS $wx_cv_libs_gtk"
27869 { echo "$as_me:$LINENO: checking whether gtk_icon_size_lookup is declared" >&5
27870 echo $ECHO_N "checking whether gtk_icon_size_lookup is declared... $ECHO_C" >&6; }
27871 if test "${ac_cv_have_decl_gtk_icon_size_lookup+set}" = set; then
27872 echo $ECHO_N "(cached) $ECHO_C" >&6
27874 cat >conftest.$ac_ext <<_ACEOF
27877 cat confdefs.h >>conftest.$ac_ext
27878 cat >>conftest.$ac_ext <<_ACEOF
27879 /* end confdefs.h. */
27880 #include <gtk/gtk.h>
27885 #ifndef gtk_icon_size_lookup
27886 (void) gtk_icon_size_lookup;
27893 rm -f conftest.$ac_objext
27894 if { (ac_try="$ac_compile"
27895 case "(($ac_try" in
27896 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27897 *) ac_try_echo=$ac_try;;
27899 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27900 (eval "$ac_compile") 2>conftest.er1
27902 grep -v '^
*+' conftest.er1 >conftest.err
27904 cat conftest.err >&5
27905 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27906 (exit $ac_status); } && {
27907 test -z "$ac_c_werror_flag" ||
27908 test ! -s conftest.err
27909 } && test -s conftest.$ac_objext; then
27910 ac_cv_have_decl_gtk_icon_size_lookup=yes
27912 echo "$as_me: failed program was:" >&5
27913 sed 's
/^
/| /' conftest.$ac_ext >&5
27915 ac_cv_have_decl_gtk_icon_size_lookup=no
27918 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27920 { echo "$as_me:$LINENO: result: $ac_cv_have_decl_gtk_icon_size_lookup" >&5
27921 echo "${ECHO_T}$ac_cv_have_decl_gtk_icon_size_lookup" >&6; }
27922 if test $ac_cv_have_decl_gtk_icon_size_lookup = yes; then
27924 cat >>confdefs.h <<_ACEOF
27925 #define HAVE_DECL_GTK_ICON_SIZE_LOOKUP 1
27930 cat >>confdefs.h <<_ACEOF
27931 #define HAVE_DECL_GTK_ICON_SIZE_LOOKUP 0
27934 cat >>confdefs.h <<\_ACEOF
27935 #define NEED_GTK_ICON_SIZE_LOOKUP 1
27943 { echo "$as_me:$LINENO: checking if GTK+ is version >= 2.10" >&5
27944 echo $ECHO_N "checking if GTK+ is version >= 2.10... $ECHO_C" >&6; }
27945 cat >conftest.$ac_ext <<_ACEOF
27948 cat confdefs.h >>conftest.$ac_ext
27949 cat >>conftest.$ac_ext <<_ACEOF
27950 /* end confdefs.h. */
27952 #include <gtk/gtk.h>
27958 #if !GTK_CHECK_VERSION(2,10,0)
27966 rm -f conftest.$ac_objext
27967 if { (ac_try="$ac_compile"
27968 case "(($ac_try" in
27969 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27970 *) ac_try_echo=$ac_try;;
27972 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27973 (eval "$ac_compile") 2>conftest.er1
27975 grep -v '^
*+' conftest.er1 >conftest.err
27977 cat conftest.err >&5
27978 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27979 (exit $ac_status); } && {
27980 test -z "$ac_c_werror_flag" ||
27981 test ! -s conftest.err
27982 } && test -s conftest.$ac_objext; then
27984 cat >>confdefs.h <<\_ACEOF
27985 #define __WXGTK210__ 1
27988 cat >>confdefs.h <<\_ACEOF
27989 #define __WXGTK26__ 1
27992 cat >>confdefs.h <<\_ACEOF
27993 #define __WXGTK24__ 1
27996 { echo "$as_me:$LINENO: result: yes" >&5
27997 echo "${ECHO_T}yes" >&6; }
28001 echo "$as_me: failed program was:" >&5
28002 sed 's
/^
/| /' conftest.$ac_ext >&5
28005 { echo "$as_me:$LINENO: result: no" >&5
28006 echo "${ECHO_T}no" >&6; }
28011 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28013 if test "$ac_wxgtk210" = 0; then
28014 { echo "$as_me:$LINENO: checking if GTK+ is version >= 2.6" >&5
28015 echo $ECHO_N "checking if GTK+ is version >= 2.6... $ECHO_C" >&6; }
28016 cat >conftest.$ac_ext <<_ACEOF
28019 cat confdefs.h >>conftest.$ac_ext
28020 cat >>conftest.$ac_ext <<_ACEOF
28021 /* end confdefs.h. */
28023 #include <gtk/gtk.h>
28029 #if !GTK_CHECK_VERSION(2,6,0)
28037 rm -f conftest.$ac_objext
28038 if { (ac_try="$ac_compile"
28039 case "(($ac_try" in
28040 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28041 *) ac_try_echo=$ac_try;;
28043 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28044 (eval "$ac_compile") 2>conftest.er1
28046 grep -v '^
*+' conftest.er1 >conftest.err
28048 cat conftest.err >&5
28049 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28050 (exit $ac_status); } && {
28051 test -z "$ac_c_werror_flag" ||
28052 test ! -s conftest.err
28053 } && test -s conftest.$ac_objext; then
28055 cat >>confdefs.h <<\_ACEOF
28056 #define __WXGTK26__ 1
28059 cat >>confdefs.h <<\_ACEOF
28060 #define __WXGTK24__ 1
28063 { echo "$as_me:$LINENO: result: yes" >&5
28064 echo "${ECHO_T}yes" >&6; }
28068 echo "$as_me: failed program was:" >&5
28069 sed 's
/^
/| /' conftest.$ac_ext >&5
28072 { echo "$as_me:$LINENO: result: no" >&5
28073 echo "${ECHO_T}no" >&6; }
28078 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28081 if test "$ac_wxgtk26" = 0; then
28082 { echo "$as_me:$LINENO: checking if GTK+ is version >= 2.4" >&5
28083 echo $ECHO_N "checking if GTK+ is version >= 2.4... $ECHO_C" >&6; }
28084 cat >conftest.$ac_ext <<_ACEOF
28087 cat confdefs.h >>conftest.$ac_ext
28088 cat >>conftest.$ac_ext <<_ACEOF
28089 /* end confdefs.h. */
28091 #include <gtk/gtk.h>
28097 #if !GTK_CHECK_VERSION(2,4,0)
28105 rm -f conftest.$ac_objext
28106 if { (ac_try="$ac_compile"
28107 case "(($ac_try" in
28108 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28109 *) ac_try_echo=$ac_try;;
28111 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28112 (eval "$ac_compile") 2>conftest.er1
28114 grep -v '^
*+' conftest.er1 >conftest.err
28116 cat conftest.err >&5
28117 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28118 (exit $ac_status); } && {
28119 test -z "$ac_c_werror_flag" ||
28120 test ! -s conftest.err
28121 } && test -s conftest.$ac_objext; then
28123 cat >>confdefs.h <<\_ACEOF
28124 #define __WXGTK24__ 1
28127 { echo "$as_me:$LINENO: result: yes" >&5
28128 echo "${ECHO_T}yes" >&6; }
28131 echo "$as_me: failed program was:" >&5
28132 sed 's
/^
/| /' conftest.$ac_ext >&5
28135 { echo "$as_me:$LINENO: result: no" >&5
28136 echo "${ECHO_T}no" >&6; }
28140 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28143 CFLAGS="$save_CFLAGS"
28146 if test "$wxUSE_UNICODE" = "yes"; then
28147 { echo "$as_me:$LINENO: WARNING: Unicode configuration not supported with GTK+ 1.x" >&5
28148 echo "$as_me: WARNING: Unicode configuration not supported with GTK+ 1.x" >&2;}
28152 { echo "$as_me:$LINENO: checking for gdk_im_open in -lgdk" >&5
28153 echo $ECHO_N "checking for gdk_im_open in -lgdk... $ECHO_C" >&6; }
28154 if test "${ac_cv_lib_gdk_gdk_im_open+set}" = set; then
28155 echo $ECHO_N "(cached) $ECHO_C" >&6
28157 ac_check_lib_save_LIBS=$LIBS
28159 cat >conftest.$ac_ext <<_ACEOF
28162 cat confdefs.h >>conftest.$ac_ext
28163 cat >>conftest.$ac_ext <<_ACEOF
28164 /* end confdefs.h. */
28166 /* Override any GCC internal prototype to avoid an error.
28167 Use char because int might match the return type of a GCC
28168 builtin and then its argument prototype would still apply. */
28172 char gdk_im_open ();
28176 return gdk_im_open ();
28181 rm -f conftest.$ac_objext conftest$ac_exeext
28182 if { (ac_try="$ac_link"
28183 case "(($ac_try" in
28184 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28185 *) ac_try_echo=$ac_try;;
28187 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28188 (eval "$ac_link") 2>conftest.er1
28190 grep -v '^
*+' conftest.er1 >conftest.err
28192 cat conftest.err >&5
28193 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28194 (exit $ac_status); } && {
28195 test -z "$ac_c_werror_flag" ||
28196 test ! -s conftest.err
28197 } && test -s conftest$ac_exeext &&
28198 $as_test_x conftest$ac_exeext; then
28199 ac_cv_lib_gdk_gdk_im_open=yes
28201 echo "$as_me: failed program was:" >&5
28202 sed 's
/^
/| /' conftest.$ac_ext >&5
28204 ac_cv_lib_gdk_gdk_im_open=no
28207 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28208 conftest$ac_exeext conftest.$ac_ext
28209 LIBS=$ac_check_lib_save_LIBS
28211 { echo "$as_me:$LINENO: result: $ac_cv_lib_gdk_gdk_im_open" >&5
28212 echo "${ECHO_T}$ac_cv_lib_gdk_gdk_im_open" >&6; }
28213 if test $ac_cv_lib_gdk_gdk_im_open = yes; then
28214 cat >>confdefs.h <<\_ACEOF
28221 if test "$USE_DARWIN" != 1; then
28223 for ac_func in poll
28225 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28226 { echo "$as_me:$LINENO: checking for $ac_func" >&5
28227 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
28228 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
28229 echo $ECHO_N "(cached) $ECHO_C" >&6
28231 cat >conftest.$ac_ext <<_ACEOF
28234 cat confdefs.h >>conftest.$ac_ext
28235 cat >>conftest.$ac_ext <<_ACEOF
28236 /* end confdefs.h. */
28237 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
28238 For example, HP-UX 11i <limits.h> declares gettimeofday. */
28239 #define $ac_func innocuous_$ac_func
28241 /* System header to define __stub macros and hopefully few prototypes,
28242 which can conflict with char $ac_func (); below.
28243 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28244 <limits.h> exists even on freestanding compilers. */
28247 # include <limits.h>
28249 # include <assert.h>
28254 /* Override any GCC internal prototype to avoid an error.
28255 Use char because int might match the return type of a GCC
28256 builtin and then its argument prototype would still apply. */
28261 /* The GNU C library defines this for functions which it implements
28262 to always fail with ENOSYS. Some functions are actually named
28263 something starting with __ and the normal name is an alias. */
28264 #if defined __stub_$ac_func || defined __stub___$ac_func
28271 return $ac_func ();
28276 rm -f conftest.$ac_objext conftest$ac_exeext
28277 if { (ac_try="$ac_link"
28278 case "(($ac_try" in
28279 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28280 *) ac_try_echo=$ac_try;;
28282 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28283 (eval "$ac_link") 2>conftest.er1
28285 grep -v '^
*+' conftest.er1 >conftest.err
28287 cat conftest.err >&5
28288 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28289 (exit $ac_status); } && {
28290 test -z "$ac_c_werror_flag" ||
28291 test ! -s conftest.err
28292 } && test -s conftest$ac_exeext &&
28293 $as_test_x conftest$ac_exeext; then
28294 eval "$as_ac_var=yes"
28296 echo "$as_me: failed program was:" >&5
28297 sed 's
/^
/| /' conftest.$ac_ext >&5
28299 eval "$as_ac_var=no"
28302 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28303 conftest$ac_exeext conftest.$ac_ext
28305 ac_res=`eval echo '${'$as_ac_var'}'`
28306 { echo "$as_me:$LINENO: result: $ac_res" >&5
28307 echo "${ECHO_T}$ac_res" >&6; }
28308 if test `eval echo '${'$as_ac_var'}'` = yes; then
28309 cat >>confdefs.h <<_ACEOF
28310 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28319 TOOLKIT_INCLUDE="$wx_cv_cflags_gtk"
28320 GUI_TK_LIBRARY="$wx_cv_libs_gtk $GUI_TK_LIBRARY"
28322 AFMINSTALL=afminstall
28326 if test "$wxUSE_GPE" = "yes"; then
28327 { echo "$as_me:$LINENO: checking for gpewidget library" >&5
28328 echo $ECHO_N "checking for gpewidget library... $ECHO_C" >&6; }
28331 for ac_dir in $SEARCH_LIB;
28333 for ac_extension in a so sl dylib dll.a; do
28334 if test -f "$ac_dir/libgpewidget.$ac_extension"; then
28335 ac_find_libraries=$ac_dir
28341 if test "$ac_find_libraries" != "" ; then
28343 if test "$ac_find_libraries" = "default location"; then
28346 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
28348 if test $result = 0; then
28351 ac_path_to_link=" -L$ac_find_libraries"
28355 GUI_TK_LIBRARY="-L${prefix}/lib -lgpewidget $GUI_TK_LIBRARY"
28357 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
28358 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
28360 { echo "$as_me:$LINENO: result: not found" >&5
28361 echo "${ECHO_T}not found" >&6; }
28367 if test "$wxUSE_MGL" = 1; then
28368 { echo "$as_me:$LINENO: checking for SciTech MGL library" >&5
28369 echo $ECHO_N "checking for SciTech MGL library... $ECHO_C" >&6; }
28370 if test "x$MGL_ROOT" = x ; then
28371 { echo "$as_me:$LINENO: result: not found" >&5
28372 echo "${ECHO_T}not found" >&6; }
28373 { { echo "$as_me:$LINENO: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&5
28374 echo "$as_me: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&2;}
28375 { (exit 1); exit 1; }; }
28377 { echo "$as_me:$LINENO: result: $MGL_ROOT" >&5
28378 echo "${ECHO_T}$MGL_ROOT" >&6; }
28381 { echo "$as_me:$LINENO: checking for libmgl location" >&5
28382 echo $ECHO_N "checking for libmgl location... $ECHO_C" >&6; }
28385 if test "x$wxUSE_SHARED" = xyes ; then
28386 mgl_os_candidates="linux/gcc/x86/so linux/gcc/x86/a linux/gcc/glibc.so linux/gcc/glibc"
28388 mgl_os_candidates="linux/gcc/x86/a linux/gcc/x86/so linux/gcc/glibc linux/gcc/glibc.so"
28392 mgl_os_candidates="dos32/dj2"
28395 { { echo "$as_me:$LINENO: error: This system type ${host} is not yet supported by wxMGL." >&5
28396 echo "$as_me: error: This system type ${host} is not yet supported by wxMGL." >&2;}
28397 { (exit 1); exit 1; }; }
28403 for mgl_os_i in $mgl_os_candidates ; do
28404 if test "x$mgl_os" = x ; then
28405 if test "$wxUSE_DEBUG_FLAG" = yes ; then
28406 if test -f $MGL_ROOT/lib/debug/$mgl_os_i/libmgl.a -o \
28407 -f $MGL_ROOT/lib/debug/$mgl_os_i/libmgl.so; then
28412 if test "x$mgl_lib_type" = x ; then
28413 if test -f $MGL_ROOT/lib/release/$mgl_os_i/libmgl.a -o \
28414 -f $MGL_ROOT/lib/release/$mgl_os_i/libmgl.so; then
28415 mgl_lib_type=release
28422 if test "x$mgl_os" = x ; then
28423 { echo "$as_me:$LINENO: result: not found" >&5
28424 echo "${ECHO_T}not found" >&6; }
28425 { { echo "$as_me:$LINENO: error: Cannot find MGL libraries, make sure they are compiled." >&5
28426 echo "$as_me: error: Cannot find MGL libraries, make sure they are compiled." >&2;}
28427 { (exit 1); exit 1; }; }
28429 { echo "$as_me:$LINENO: result: \"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&5
28430 echo "${ECHO_T}\"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&6; }
28432 wxUSE_UNIVERSAL="yes"
28434 TOOLKIT_INCLUDE="-I$MGL_ROOT/include"
28435 GUI_TK_LIBRARY="-L$MGL_ROOT/lib/$mgl_lib_type/$mgl_os -lmgl -lmglcpp -lpm"
28437 AFMINSTALL=afminstall
28442 if test "$wxUSE_DFB" = 1; then
28445 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
28446 if test -n "$ac_tool_prefix"; then
28447 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
28448 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
28449 { echo "$as_me:$LINENO: checking for $ac_word" >&5
28450 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
28451 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
28452 echo $ECHO_N "(cached) $ECHO_C" >&6
28454 case $PKG_CONFIG in
28456 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
28459 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
28460 for as_dir in $PATH
28463 test -z "$as_dir" && as_dir=.
28464 for ac_exec_ext in '' $ac_executable_extensions; do
28465 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
28466 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
28467 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
28477 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
28478 if test -n "$PKG_CONFIG"; then
28479 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
28480 echo "${ECHO_T}$PKG_CONFIG" >&6; }
28482 { echo "$as_me:$LINENO: result: no" >&5
28483 echo "${ECHO_T}no" >&6; }
28488 if test -z "$ac_cv_path_PKG_CONFIG"; then
28489 ac_pt_PKG_CONFIG=$PKG_CONFIG
28490 # Extract the first word of "pkg-config", so it can be a program name with args.
28491 set dummy pkg-config; ac_word=$2
28492 { echo "$as_me:$LINENO: checking for $ac_word" >&5
28493 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
28494 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
28495 echo $ECHO_N "(cached) $ECHO_C" >&6
28497 case $ac_pt_PKG_CONFIG in
28499 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
28502 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
28503 for as_dir in $PATH
28506 test -z "$as_dir" && as_dir=.
28507 for ac_exec_ext in '' $ac_executable_extensions; do
28508 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
28509 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
28510 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
28520 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
28521 if test -n "$ac_pt_PKG_CONFIG"; then
28522 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
28523 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
28525 { echo "$as_me:$LINENO: result: no" >&5
28526 echo "${ECHO_T}no" >&6; }
28529 if test "x$ac_pt_PKG_CONFIG" = x; then
28532 case $cross_compiling:$ac_tool_warned in
28534 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
28535 whose name does not start with the host triplet. If you think this
28536 configuration is useful to you, please write to autoconf@gnu.org." >&5
28537 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
28538 whose name does not start with the host triplet. If you think this
28539 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
28540 ac_tool_warned=yes ;;
28542 PKG_CONFIG=$ac_pt_PKG_CONFIG
28545 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
28549 if test -n "$PKG_CONFIG"; then
28550 _pkg_min_version=0.9.0
28551 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
28552 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
28553 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
28554 { echo "$as_me:$LINENO: result: yes" >&5
28555 echo "${ECHO_T}yes" >&6; }
28557 { echo "$as_me:$LINENO: result: no" >&5
28558 echo "${ECHO_T}no" >&6; }
28566 { echo "$as_me:$LINENO: checking for DIRECTFB" >&5
28567 echo $ECHO_N "checking for DIRECTFB... $ECHO_C" >&6; }
28569 if test -n "$PKG_CONFIG"; then
28570 if test -n "$DIRECTFB_CFLAGS"; then
28571 pkg_cv_DIRECTFB_CFLAGS="$DIRECTFB_CFLAGS"
28573 if test -n "$PKG_CONFIG" && \
28574 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"directfb >= 0.9.23\"") >&5
28575 ($PKG_CONFIG --exists --print-errors "directfb >= 0.9.23") 2>&5
28577 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28578 (exit $ac_status); }; then
28579 pkg_cv_DIRECTFB_CFLAGS=`$PKG_CONFIG --cflags "directfb >= 0.9.23" 2>/dev/null`
28587 if test -n "$PKG_CONFIG"; then
28588 if test -n "$DIRECTFB_LIBS"; then
28589 pkg_cv_DIRECTFB_LIBS="$DIRECTFB_LIBS"
28591 if test -n "$PKG_CONFIG" && \
28592 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"directfb >= 0.9.23\"") >&5
28593 ($PKG_CONFIG --exists --print-errors "directfb >= 0.9.23") 2>&5
28595 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28596 (exit $ac_status); }; then
28597 pkg_cv_DIRECTFB_LIBS=`$PKG_CONFIG --libs "directfb >= 0.9.23" 2>/dev/null`
28608 if test $pkg_failed = yes; then
28610 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
28611 _pkg_short_errors_supported=yes
28613 _pkg_short_errors_supported=no
28615 if test $_pkg_short_errors_supported = yes; then
28616 DIRECTFB_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "directfb >= 0.9.23"`
28618 DIRECTFB_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "directfb >= 0.9.23"`
28620 # Put the nasty error message in config.log where it belongs
28621 echo "$DIRECTFB_PKG_ERRORS" >&5
28624 { { echo "$as_me:$LINENO: error: DirectFB not found." >&5
28625 echo "$as_me: error: DirectFB not found." >&2;}
28626 { (exit 1); exit 1; }; }
28629 elif test $pkg_failed = untried; then
28631 { { echo "$as_me:$LINENO: error: DirectFB not found." >&5
28632 echo "$as_me: error: DirectFB not found." >&2;}
28633 { (exit 1); exit 1; }; }
28637 DIRECTFB_CFLAGS=$pkg_cv_DIRECTFB_CFLAGS
28638 DIRECTFB_LIBS=$pkg_cv_DIRECTFB_LIBS
28639 { echo "$as_me:$LINENO: result: yes" >&5
28640 echo "${ECHO_T}yes" >&6; }
28642 wxUSE_UNIVERSAL="yes"
28643 TOOLKIT_INCLUDE="$DIRECTFB_CFLAGS"
28644 GUI_TK_LIBRARY="$DIRECTFB_LIBS"
28651 if test "$wxUSE_MICROWIN" = 1; then
28652 { echo "$as_me:$LINENO: checking for MicroWindows" >&5
28653 echo $ECHO_N "checking for MicroWindows... $ECHO_C" >&6; }
28654 if test "x$MICROWINDOWS" = x ; then
28655 { echo "$as_me:$LINENO: result: not found" >&5
28656 echo "${ECHO_T}not found" >&6; }
28657 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&5
28658 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&2;}
28659 { (exit 1); exit 1; }; }
28661 { echo "$as_me:$LINENO: result: $MICROWINDOWS" >&5
28662 echo "${ECHO_T}$MICROWINDOWS" >&6; }
28665 if test -f $MICROWINDOWS/lib/libmwin.a; then
28666 { echo "$as_me:$LINENO: result: MicroWindows' libraries found.
" >&5
28667 echo "${ECHO_T}MicroWindows
' libraries found." >&6; }
28669 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows libraries, make sure they are compiled." >&5
28670 echo "$as_me: error: Cannot find MicroWindows libraries, make sure they are compiled." >&2;}
28671 { (exit 1); exit 1; }; }
28674 TOOLKIT_INCLUDE="-I$MICROWINDOWS/include"
28675 GUI_TK_LIBRARY="-L$MICROWINDOWS/lib -lmwin -lmwengine -mwfonts -mwdrivers -mwinlib"
28677 wxUSE_UNIVERSAL="yes"
28679 AFMINSTALL=afminstall
28681 GUIDIST=MICROWIN_DIST
28683 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXMSW__ -D__WIN95__ -D__WIN32__ -DMWIN -DMICROWIN_NOCONTROLS -DMICROWIN_TODO=1"
28686 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
28687 { echo "$as_me:$LINENO: checking for X" >&5
28688 echo $ECHO_N "checking for X... $ECHO_C" >&6; }
28691 # Check whether --with-x was given.
28692 if test "${with_x+set}" = set; then
28696 # $have_x is `yes', `no', `disabled
', or empty when we do not yet know.
28697 if test "x$with_x" = xno; then
28698 # The user explicitly disabled X.
28701 case $x_includes,$x_libraries in #(
28702 *\'*) { { echo "$as_me:$LINENO: error: Cannot use X directory names containing '" >&5
28703 echo "$as_me: error
: Cannot use X directory names containing
'" >&2;}
28704 { (exit 1); exit 1; }; };; #(
28705 *,NONE | NONE,*) if test "${ac_cv_have_x+set}" = set; then
28706 echo $ECHO_N "(cached) $ECHO_C" >&6
28708 # One or both of the vars are not set, and there is no cached value.
28709 ac_x_includes=no ac_x_libraries=no
28710 rm -f -r conftest.dir
28711 if mkdir conftest.dir; then
28713 cat >Imakefile <<'_ACEOF'
28715 @echo incroot='${INCROOT}'
28717 @echo usrlibdir='${USRLIBDIR}'
28719 @echo libdir='${LIBDIR}'
28721 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
28722 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
28723 for ac_var in incroot usrlibdir libdir; do
28724 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's
/^
$ac_var=//p
'\`"
28726 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
28727 for ac_extension in a so sl; do
28728 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
28729 test -f "$ac_im_libdir/libX11.$ac_extension"; then
28730 ac_im_usrlibdir=$ac_im_libdir; break
28733 # Screen out bogus values from the imake configuration. They are
28734 # bogus both because they are the default anyway, and because
28735 # using them would break gcc on systems where it needs fixed includes.
28736 case $ac_im_incroot in
28737 /usr/include) ac_x_includes= ;;
28738 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
28740 case $ac_im_usrlibdir in
28741 /usr/lib | /lib) ;;
28742 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
28746 rm -f -r conftest.dir
28749 # Standard set of common directories for X headers.
28750 # Check X11 before X11Rn because it is often a symlink to the current release.
28762 /usr
/local
/X
11/include
28763 /usr
/local
/X
11R
6/include
28764 /usr
/local
/X
11R
5/include
28765 /usr
/local
/X
11R
4/include
28767 /usr
/local
/include
/X11
28768 /usr
/local
/include
/X11R6
28769 /usr
/local
/include
/X11R5
28770 /usr
/local
/include
/X11R4
28774 /usr
/XFree
86/include
/X11
28778 /usr
/unsupported
/include
28779 /usr
/athena
/include
28780 /usr
/local
/x
11r
5/include
28781 /usr
/lpp
/Xamples
/include
28783 /usr
/openwin
/include
28784 /usr
/openwin
/share
/include
'
28786 if test "$ac_x_includes" = no; then
28787 # Guess where to find include files, by looking for Xlib.h.
28788 # First, try using that file with no special directory specified.
28789 cat >conftest.$ac_ext <<_ACEOF
28792 cat confdefs.h >>conftest.$ac_ext
28793 cat >>conftest.$ac_ext <<_ACEOF
28794 /* end confdefs.h. */
28795 #include <X11/Xlib.h>
28797 if { (ac_try="$ac_cpp conftest.$ac_ext"
28798 case "(($ac_try" in
28799 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28800 *) ac_try_echo=$ac_try;;
28802 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28803 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
28805 grep -v '^
*+' conftest.er1 >conftest.err
28807 cat conftest.err >&5
28808 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28809 (exit $ac_status); } >/dev/null && {
28810 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
28811 test ! -s conftest.err
28813 # We can compile using X headers with no special include directory.
28816 echo "$as_me: failed program was:" >&5
28817 sed 's
/^
/| /' conftest.$ac_ext >&5
28819 for ac_dir in $ac_x_header_dirs; do
28820 if test -r "$ac_dir/X11/Xlib.h"; then
28821 ac_x_includes=$ac_dir
28827 rm -f conftest.err conftest.$ac_ext
28828 fi # $ac_x_includes = no
28830 if test "$ac_x_libraries" = no; then
28831 # Check for the libraries.
28832 # See if we find them without any special options.
28833 # Don't add to
$LIBS permanently.
28836 cat >conftest.
$ac_ext <<_ACEOF
28839 cat confdefs.h
>>conftest.
$ac_ext
28840 cat >>conftest.
$ac_ext <<_ACEOF
28841 /* end confdefs.h. */
28842 #include <X11/Xlib.h>
28851 rm -f conftest.
$ac_objext conftest
$ac_exeext
28852 if { (ac_try
="$ac_link"
28853 case "(($ac_try" in
28854 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
28855 *) ac_try_echo=$ac_try;;
28857 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28858 (eval "$ac_link") 2>conftest.er1
28860 grep -v '^ *+' conftest.er1 >conftest.err
28862 cat conftest.err >&5
28863 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28864 (exit $ac_status); } && {
28865 test -z "$ac_c_werror_flag" ||
28866 test ! -s conftest.err
28867 } && test -s conftest$ac_exeext &&
28868 $as_test_x conftest$ac_exeext; then
28870 # We can link X programs with no special library path.
28873 echo "$as_me: failed program was:" >&5
28874 sed 's/^/| /' conftest.$ac_ext >&5
28877 for ac_dir in `echo "$ac_x_includes $ac_x_header_dirs" | sed s
/include
/lib
/g
`
28879 # Don't even attempt the hair of trying to link an X program!
28880 for ac_extension in a so sl; do
28881 if test -r "$ac_dir/libX11.$ac_extension"; then
28882 ac_x_libraries=$ac_dir
28889 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28890 conftest$ac_exeext conftest.$ac_ext
28891 fi # $ac_x_libraries = no
28893 case $ac_x_includes,$ac_x_libraries in #(
28894 no,* | *,no | *\'*)
28895 # Didn't find X, or a directory has "'" in its name.
28896 ac_cv_have_x="have_x=no";; #(
28898 # Record where we found X for the cache.
28899 ac_cv_have_x="have_x=yes\
28900 ac_x_includes='$ac_x_includes'\
28901 ac_x_libraries='$ac_x_libraries'"
28907 eval "$ac_cv_have_x"
28910 if test "$have_x" != yes; then
28911 { echo "$as_me:$LINENO: result: $have_x" >&5
28912 echo "${ECHO_T}$have_x" >&6; }
28915 # If each of the values was on the command line, it overrides each guess.
28916 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
28917 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
28918 # Update the cache value to reflect the command line values.
28919 ac_cv_have_x="have_x=yes\
28920 ac_x_includes='$x_includes'\
28921 ac_x_libraries='$x_libraries'"
28922 { echo "$as_me:$LINENO: result: libraries $x_libraries, headers $x_includes" >&5
28923 echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6; }
28926 if test "$no_x" = yes; then
28927 # Not all programs may use this symbol, but it does not hurt to define it.
28929 cat >>confdefs.h <<\_ACEOF
28930 #define X_DISPLAY_MISSING 1
28933 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
28935 if test -n "$x_includes"; then
28936 X_CFLAGS="$X_CFLAGS -I$x_includes"
28939 # It would also be nice to do this for all -L options, not just this one.
28940 if test -n "$x_libraries"; then
28941 X_LIBS="$X_LIBS -L$x_libraries"
28942 # For Solaris; some versions of Sun CC require a space after -R and
28943 # others require no space. Words are not sufficient . . . .
28944 { echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
28945 echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6; }
28946 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
28947 ac_xsave_c_werror_flag=$ac_c_werror_flag
28948 ac_c_werror_flag=yes
28949 cat >conftest.$ac_ext <<_ACEOF
28952 cat confdefs.h >>conftest.$ac_ext
28953 cat >>conftest.$ac_ext <<_ACEOF
28954 /* end confdefs.h. */
28964 rm -f conftest.$ac_objext conftest$ac_exeext
28965 if { (ac_try="$ac_link"
28966 case "(($ac_try" in
28967 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
28968 *) ac_try_echo
=$ac_try;;
28970 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28971 (eval "$ac_link") 2>conftest.er1
28973 grep -v '^ *+' conftest.er1
>conftest.err
28975 cat conftest.err
>&5
28976 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28977 (exit $ac_status); } && {
28978 test -z "$ac_c_werror_flag" ||
28979 test ! -s conftest.err
28980 } && test -s conftest
$ac_exeext &&
28981 $as_test_x conftest
$ac_exeext; then
28982 { echo "$as_me:$LINENO: result: no" >&5
28983 echo "${ECHO_T}no" >&6; }
28984 X_LIBS
="$X_LIBS -R$x_libraries"
28986 echo "$as_me: failed program was:" >&5
28987 sed 's/^/| /' conftest.
$ac_ext >&5
28989 LIBS
="$ac_xsave_LIBS -R $x_libraries"
28990 cat >conftest.
$ac_ext <<_ACEOF
28993 cat confdefs.h
>>conftest.
$ac_ext
28994 cat >>conftest.
$ac_ext <<_ACEOF
28995 /* end confdefs.h. */
29005 rm -f conftest.
$ac_objext conftest
$ac_exeext
29006 if { (ac_try
="$ac_link"
29007 case "(($ac_try" in
29008 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
29009 *) ac_try_echo=$ac_try;;
29011 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29012 (eval "$ac_link") 2>conftest.er1
29014 grep -v '^ *+' conftest.er1 >conftest.err
29016 cat conftest.err >&5
29017 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29018 (exit $ac_status); } && {
29019 test -z "$ac_c_werror_flag" ||
29020 test ! -s conftest.err
29021 } && test -s conftest$ac_exeext &&
29022 $as_test_x conftest$ac_exeext; then
29023 { echo "$as_me:$LINENO: result: yes" >&5
29024 echo "${ECHO_T}yes" >&6; }
29025 X_LIBS="$X_LIBS -R $x_libraries"
29027 echo "$as_me: failed program was:" >&5
29028 sed 's/^/| /' conftest.$ac_ext >&5
29030 { echo "$as_me:$LINENO: result: neither works" >&5
29031 echo "${ECHO_T}neither works" >&6; }
29034 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29035 conftest$ac_exeext conftest.$ac_ext
29038 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29039 conftest$ac_exeext conftest.$ac_ext
29040 ac_c_werror_flag=$ac_xsave_c_werror_flag
29041 LIBS=$ac_xsave_LIBS
29044 # Check for system-dependent libraries X programs must link with.
29045 # Do this before checking for the system-independent R6 libraries
29046 # (-lICE), since we may need -lsocket or whatever for X linking.
29048 if test "$ISC" = yes; then
29049 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
29051 # Martyn Johnson says this is needed for Ultrix, if the X
29052 # libraries were built with DECnet support. And Karl Berry says
29053 # the Alpha needs dnet_stub (dnet does not exist).
29054 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
29055 cat >conftest.$ac_ext <<_ACEOF
29058 cat confdefs.h >>conftest.$ac_ext
29059 cat >>conftest.$ac_ext <<_ACEOF
29060 /* end confdefs.h. */
29062 /* Override any GCC internal prototype to avoid an error.
29063 Use char because int might match the return type of a GCC
29064 builtin and then its argument prototype would still apply. */
29068 char XOpenDisplay ();
29072 return XOpenDisplay ();
29077 rm -f conftest.$ac_objext conftest$ac_exeext
29078 if { (ac_try="$ac_link"
29079 case "(($ac_try" in
29080 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
29081 *) ac_try_echo
=$ac_try;;
29083 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29084 (eval "$ac_link") 2>conftest.er1
29086 grep -v '^ *+' conftest.er1
>conftest.err
29088 cat conftest.err
>&5
29089 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29090 (exit $ac_status); } && {
29091 test -z "$ac_c_werror_flag" ||
29092 test ! -s conftest.err
29093 } && test -s conftest
$ac_exeext &&
29094 $as_test_x conftest
$ac_exeext; then
29097 echo "$as_me: failed program was:" >&5
29098 sed 's/^/| /' conftest.
$ac_ext >&5
29100 { echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
29101 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6; }
29102 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
29103 echo $ECHO_N "(cached) $ECHO_C" >&6
29105 ac_check_lib_save_LIBS
=$LIBS
29106 LIBS
="-ldnet $LIBS"
29107 cat >conftest.
$ac_ext <<_ACEOF
29110 cat confdefs.h
>>conftest.
$ac_ext
29111 cat >>conftest.
$ac_ext <<_ACEOF
29112 /* end confdefs.h. */
29114 /* Override any GCC internal prototype to avoid an error.
29115 Use char because int might match the return type of a GCC
29116 builtin and then its argument prototype would still apply. */
29124 return dnet_ntoa ();
29129 rm -f conftest.
$ac_objext conftest
$ac_exeext
29130 if { (ac_try
="$ac_link"
29131 case "(($ac_try" in
29132 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
29133 *) ac_try_echo=$ac_try;;
29135 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29136 (eval "$ac_link") 2>conftest.er1
29138 grep -v '^ *+' conftest.er1 >conftest.err
29140 cat conftest.err >&5
29141 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29142 (exit $ac_status); } && {
29143 test -z "$ac_c_werror_flag" ||
29144 test ! -s conftest.err
29145 } && test -s conftest$ac_exeext &&
29146 $as_test_x conftest$ac_exeext; then
29147 ac_cv_lib_dnet_dnet_ntoa=yes
29149 echo "$as_me: failed program was:" >&5
29150 sed 's/^/| /' conftest.$ac_ext >&5
29152 ac_cv_lib_dnet_dnet_ntoa=no
29155 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29156 conftest$ac_exeext conftest.$ac_ext
29157 LIBS=$ac_check_lib_save_LIBS
29159 { echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
29160 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6; }
29161 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
29162 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
29165 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
29166 { echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
29167 echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6; }
29168 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
29169 echo $ECHO_N "(cached) $ECHO_C" >&6
29171 ac_check_lib_save_LIBS=$LIBS
29172 LIBS="-ldnet_stub $LIBS"
29173 cat >conftest.$ac_ext <<_ACEOF
29176 cat confdefs.h >>conftest.$ac_ext
29177 cat >>conftest.$ac_ext <<_ACEOF
29178 /* end confdefs.h. */
29180 /* Override any GCC internal prototype to avoid an error.
29181 Use char because int might match the return type of a GCC
29182 builtin and then its argument prototype would still apply. */
29190 return dnet_ntoa ();
29195 rm -f conftest.$ac_objext conftest$ac_exeext
29196 if { (ac_try="$ac_link"
29197 case "(($ac_try" in
29198 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
29199 *) ac_try_echo
=$ac_try;;
29201 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29202 (eval "$ac_link") 2>conftest.er1
29204 grep -v '^ *+' conftest.er1
>conftest.err
29206 cat conftest.err
>&5
29207 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29208 (exit $ac_status); } && {
29209 test -z "$ac_c_werror_flag" ||
29210 test ! -s conftest.err
29211 } && test -s conftest
$ac_exeext &&
29212 $as_test_x conftest
$ac_exeext; then
29213 ac_cv_lib_dnet_stub_dnet_ntoa
=yes
29215 echo "$as_me: failed program was:" >&5
29216 sed 's/^/| /' conftest.
$ac_ext >&5
29218 ac_cv_lib_dnet_stub_dnet_ntoa
=no
29221 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
29222 conftest
$ac_exeext conftest.
$ac_ext
29223 LIBS
=$ac_check_lib_save_LIBS
29225 { echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
29226 echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
29227 if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
29228 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet_stub"
29234 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
29235 conftest
$ac_exeext conftest.
$ac_ext
29236 LIBS
="$ac_xsave_LIBS"
29238 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
29239 # to get the SysV transport functions.
29240 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
29242 # The nsl library prevents programs from opening the X display
29243 # on Irix 5.2, according to T.E. Dickey.
29244 # The functions gethostbyname, getservbyname, and inet_addr are
29245 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
29246 { echo "$as_me:$LINENO: checking for gethostbyname" >&5
29247 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6; }
29248 if test "${ac_cv_func_gethostbyname+set}" = set; then
29249 echo $ECHO_N "(cached) $ECHO_C" >&6
29251 cat >conftest.
$ac_ext <<_ACEOF
29254 cat confdefs.h
>>conftest.
$ac_ext
29255 cat >>conftest.
$ac_ext <<_ACEOF
29256 /* end confdefs.h. */
29257 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
29258 For example, HP-UX 11i <limits.h> declares gettimeofday. */
29259 #define gethostbyname innocuous_gethostbyname
29261 /* System header to define __stub macros and hopefully few prototypes,
29262 which can conflict with char gethostbyname (); below.
29263 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29264 <limits.h> exists even on freestanding compilers. */
29267 # include <limits.h>
29269 # include <assert.h>
29272 #undef gethostbyname
29274 /* Override any GCC internal prototype to avoid an error.
29275 Use char because int might match the return type of a GCC
29276 builtin and then its argument prototype would still apply. */
29280 char gethostbyname ();
29281 /* The GNU C library defines this for functions which it implements
29282 to always fail with ENOSYS. Some functions are actually named
29283 something starting with __ and the normal name is an alias. */
29284 #if defined __stub_gethostbyname || defined __stub___gethostbyname
29291 return gethostbyname ();
29296 rm -f conftest.
$ac_objext conftest
$ac_exeext
29297 if { (ac_try
="$ac_link"
29298 case "(($ac_try" in
29299 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
29300 *) ac_try_echo=$ac_try;;
29302 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29303 (eval "$ac_link") 2>conftest.er1
29305 grep -v '^ *+' conftest.er1 >conftest.err
29307 cat conftest.err >&5
29308 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29309 (exit $ac_status); } && {
29310 test -z "$ac_c_werror_flag" ||
29311 test ! -s conftest.err
29312 } && test -s conftest$ac_exeext &&
29313 $as_test_x conftest$ac_exeext; then
29314 ac_cv_func_gethostbyname=yes
29316 echo "$as_me: failed program was:" >&5
29317 sed 's/^/| /' conftest.$ac_ext >&5
29319 ac_cv_func_gethostbyname=no
29322 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29323 conftest$ac_exeext conftest.$ac_ext
29325 { echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
29326 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6; }
29328 if test $ac_cv_func_gethostbyname = no; then
29329 { echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
29330 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6; }
29331 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
29332 echo $ECHO_N "(cached) $ECHO_C" >&6
29334 ac_check_lib_save_LIBS=$LIBS
29336 cat >conftest.$ac_ext <<_ACEOF
29339 cat confdefs.h >>conftest.$ac_ext
29340 cat >>conftest.$ac_ext <<_ACEOF
29341 /* end confdefs.h. */
29343 /* Override any GCC internal prototype to avoid an error.
29344 Use char because int might match the return type of a GCC
29345 builtin and then its argument prototype would still apply. */
29349 char gethostbyname ();
29353 return gethostbyname ();
29358 rm -f conftest.$ac_objext conftest$ac_exeext
29359 if { (ac_try="$ac_link"
29360 case "(($ac_try" in
29361 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
29362 *) ac_try_echo
=$ac_try;;
29364 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29365 (eval "$ac_link") 2>conftest.er1
29367 grep -v '^ *+' conftest.er1
>conftest.err
29369 cat conftest.err
>&5
29370 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29371 (exit $ac_status); } && {
29372 test -z "$ac_c_werror_flag" ||
29373 test ! -s conftest.err
29374 } && test -s conftest
$ac_exeext &&
29375 $as_test_x conftest
$ac_exeext; then
29376 ac_cv_lib_nsl_gethostbyname
=yes
29378 echo "$as_me: failed program was:" >&5
29379 sed 's/^/| /' conftest.
$ac_ext >&5
29381 ac_cv_lib_nsl_gethostbyname
=no
29384 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
29385 conftest
$ac_exeext conftest.
$ac_ext
29386 LIBS
=$ac_check_lib_save_LIBS
29388 { echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
29389 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6; }
29390 if test $ac_cv_lib_nsl_gethostbyname = yes; then
29391 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl"
29394 if test $ac_cv_lib_nsl_gethostbyname = no
; then
29395 { echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
29396 echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6; }
29397 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
29398 echo $ECHO_N "(cached) $ECHO_C" >&6
29400 ac_check_lib_save_LIBS
=$LIBS
29402 cat >conftest.
$ac_ext <<_ACEOF
29405 cat confdefs.h
>>conftest.
$ac_ext
29406 cat >>conftest.
$ac_ext <<_ACEOF
29407 /* end confdefs.h. */
29409 /* Override any GCC internal prototype to avoid an error.
29410 Use char because int might match the return type of a GCC
29411 builtin and then its argument prototype would still apply. */
29415 char gethostbyname ();
29419 return gethostbyname ();
29424 rm -f conftest.
$ac_objext conftest
$ac_exeext
29425 if { (ac_try
="$ac_link"
29426 case "(($ac_try" in
29427 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
29428 *) ac_try_echo=$ac_try;;
29430 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29431 (eval "$ac_link") 2>conftest.er1
29433 grep -v '^ *+' conftest.er1 >conftest.err
29435 cat conftest.err >&5
29436 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29437 (exit $ac_status); } && {
29438 test -z "$ac_c_werror_flag" ||
29439 test ! -s conftest.err
29440 } && test -s conftest$ac_exeext &&
29441 $as_test_x conftest$ac_exeext; then
29442 ac_cv_lib_bsd_gethostbyname=yes
29444 echo "$as_me: failed program was:" >&5
29445 sed 's/^/| /' conftest.$ac_ext >&5
29447 ac_cv_lib_bsd_gethostbyname=no
29450 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29451 conftest$ac_exeext conftest.$ac_ext
29452 LIBS=$ac_check_lib_save_LIBS
29454 { echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
29455 echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6; }
29456 if test $ac_cv_lib_bsd_gethostbyname = yes; then
29457 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
29463 # lieder@skyler.mavd.honeywell.com says without -lsocket,
29464 # socket/setsockopt and other routines are undefined under SCO ODT
29465 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
29466 # on later versions), says Simon Leinen: it contains gethostby*
29467 # variants that don't use the name server (or something). -lsocket
29468 # must be given before -lnsl if both are needed. We assume that
29469 # if connect needs -lnsl, so does gethostbyname.
29470 { echo "$as_me:$LINENO: checking for connect" >&5
29471 echo $ECHO_N "checking for connect... $ECHO_C" >&6; }
29472 if test "${ac_cv_func_connect+set}" = set; then
29473 echo $ECHO_N "(cached) $ECHO_C" >&6
29475 cat >conftest.$ac_ext <<_ACEOF
29478 cat confdefs.h >>conftest.$ac_ext
29479 cat >>conftest.$ac_ext <<_ACEOF
29480 /* end confdefs.h. */
29481 /* Define connect to an innocuous variant, in case <limits.h> declares connect.
29482 For example, HP-UX 11i <limits.h> declares gettimeofday. */
29483 #define connect innocuous_connect
29485 /* System header to define __stub macros and hopefully few prototypes,
29486 which can conflict with char connect (); below.
29487 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29488 <limits.h> exists even on freestanding compilers. */
29491 # include <limits.h>
29493 # include <assert.h>
29498 /* Override any GCC internal prototype to avoid an error.
29499 Use char because int might match the return type of a GCC
29500 builtin and then its argument prototype would still apply. */
29505 /* The GNU C library defines this for functions which it implements
29506 to always fail with ENOSYS. Some functions are actually named
29507 something starting with __ and the normal name is an alias. */
29508 #if defined __stub_connect || defined __stub___connect
29520 rm -f conftest.$ac_objext conftest$ac_exeext
29521 if { (ac_try="$ac_link"
29522 case "(($ac_try" in
29523 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
29524 *) ac_try_echo
=$ac_try;;
29526 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29527 (eval "$ac_link") 2>conftest.er1
29529 grep -v '^ *+' conftest.er1
>conftest.err
29531 cat conftest.err
>&5
29532 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29533 (exit $ac_status); } && {
29534 test -z "$ac_c_werror_flag" ||
29535 test ! -s conftest.err
29536 } && test -s conftest
$ac_exeext &&
29537 $as_test_x conftest
$ac_exeext; then
29538 ac_cv_func_connect
=yes
29540 echo "$as_me: failed program was:" >&5
29541 sed 's/^/| /' conftest.
$ac_ext >&5
29543 ac_cv_func_connect
=no
29546 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
29547 conftest
$ac_exeext conftest.
$ac_ext
29549 { echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
29550 echo "${ECHO_T}$ac_cv_func_connect" >&6; }
29552 if test $ac_cv_func_connect = no
; then
29553 { echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
29554 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6; }
29555 if test "${ac_cv_lib_socket_connect+set}" = set; then
29556 echo $ECHO_N "(cached) $ECHO_C" >&6
29558 ac_check_lib_save_LIBS
=$LIBS
29559 LIBS
="-lsocket $X_EXTRA_LIBS $LIBS"
29560 cat >conftest.
$ac_ext <<_ACEOF
29563 cat confdefs.h
>>conftest.
$ac_ext
29564 cat >>conftest.
$ac_ext <<_ACEOF
29565 /* end confdefs.h. */
29567 /* Override any GCC internal prototype to avoid an error.
29568 Use char because int might match the return type of a GCC
29569 builtin and then its argument prototype would still apply. */
29582 rm -f conftest.
$ac_objext conftest
$ac_exeext
29583 if { (ac_try
="$ac_link"
29584 case "(($ac_try" in
29585 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
29586 *) ac_try_echo=$ac_try;;
29588 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29589 (eval "$ac_link") 2>conftest.er1
29591 grep -v '^ *+' conftest.er1 >conftest.err
29593 cat conftest.err >&5
29594 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29595 (exit $ac_status); } && {
29596 test -z "$ac_c_werror_flag" ||
29597 test ! -s conftest.err
29598 } && test -s conftest$ac_exeext &&
29599 $as_test_x conftest$ac_exeext; then
29600 ac_cv_lib_socket_connect=yes
29602 echo "$as_me: failed program was:" >&5
29603 sed 's/^/| /' conftest.$ac_ext >&5
29605 ac_cv_lib_socket_connect=no
29608 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29609 conftest$ac_exeext conftest.$ac_ext
29610 LIBS=$ac_check_lib_save_LIBS
29612 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
29613 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6; }
29614 if test $ac_cv_lib_socket_connect = yes; then
29615 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
29620 # Guillermo Gomez says -lposix is necessary on A/UX.
29621 { echo "$as_me:$LINENO: checking for remove" >&5
29622 echo $ECHO_N "checking for remove... $ECHO_C" >&6; }
29623 if test "${ac_cv_func_remove+set}" = set; then
29624 echo $ECHO_N "(cached) $ECHO_C" >&6
29626 cat >conftest.$ac_ext <<_ACEOF
29629 cat confdefs.h >>conftest.$ac_ext
29630 cat >>conftest.$ac_ext <<_ACEOF
29631 /* end confdefs.h. */
29632 /* Define remove to an innocuous variant, in case <limits.h> declares remove.
29633 For example, HP-UX 11i <limits.h> declares gettimeofday. */
29634 #define remove innocuous_remove
29636 /* System header to define __stub macros and hopefully few prototypes,
29637 which can conflict with char remove (); below.
29638 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29639 <limits.h> exists even on freestanding compilers. */
29642 # include <limits.h>
29644 # include <assert.h>
29649 /* Override any GCC internal prototype to avoid an error.
29650 Use char because int might match the return type of a GCC
29651 builtin and then its argument prototype would still apply. */
29656 /* The GNU C library defines this for functions which it implements
29657 to always fail with ENOSYS. Some functions are actually named
29658 something starting with __ and the normal name is an alias. */
29659 #if defined __stub_remove || defined __stub___remove
29671 rm -f conftest.$ac_objext conftest$ac_exeext
29672 if { (ac_try="$ac_link"
29673 case "(($ac_try" in
29674 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
29675 *) ac_try_echo
=$ac_try;;
29677 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29678 (eval "$ac_link") 2>conftest.er1
29680 grep -v '^ *+' conftest.er1
>conftest.err
29682 cat conftest.err
>&5
29683 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29684 (exit $ac_status); } && {
29685 test -z "$ac_c_werror_flag" ||
29686 test ! -s conftest.err
29687 } && test -s conftest
$ac_exeext &&
29688 $as_test_x conftest
$ac_exeext; then
29689 ac_cv_func_remove
=yes
29691 echo "$as_me: failed program was:" >&5
29692 sed 's/^/| /' conftest.
$ac_ext >&5
29694 ac_cv_func_remove
=no
29697 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
29698 conftest
$ac_exeext conftest.
$ac_ext
29700 { echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
29701 echo "${ECHO_T}$ac_cv_func_remove" >&6; }
29703 if test $ac_cv_func_remove = no
; then
29704 { echo "$as_me:$LINENO: checking for remove in -lposix" >&5
29705 echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6; }
29706 if test "${ac_cv_lib_posix_remove+set}" = set; then
29707 echo $ECHO_N "(cached) $ECHO_C" >&6
29709 ac_check_lib_save_LIBS
=$LIBS
29710 LIBS
="-lposix $LIBS"
29711 cat >conftest.
$ac_ext <<_ACEOF
29714 cat confdefs.h
>>conftest.
$ac_ext
29715 cat >>conftest.
$ac_ext <<_ACEOF
29716 /* end confdefs.h. */
29718 /* Override any GCC internal prototype to avoid an error.
29719 Use char because int might match the return type of a GCC
29720 builtin and then its argument prototype would still apply. */
29733 rm -f conftest.
$ac_objext conftest
$ac_exeext
29734 if { (ac_try
="$ac_link"
29735 case "(($ac_try" in
29736 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
29737 *) ac_try_echo=$ac_try;;
29739 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29740 (eval "$ac_link") 2>conftest.er1
29742 grep -v '^ *+' conftest.er1 >conftest.err
29744 cat conftest.err >&5
29745 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29746 (exit $ac_status); } && {
29747 test -z "$ac_c_werror_flag" ||
29748 test ! -s conftest.err
29749 } && test -s conftest$ac_exeext &&
29750 $as_test_x conftest$ac_exeext; then
29751 ac_cv_lib_posix_remove=yes
29753 echo "$as_me: failed program was:" >&5
29754 sed 's/^/| /' conftest.$ac_ext >&5
29756 ac_cv_lib_posix_remove=no
29759 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29760 conftest$ac_exeext conftest.$ac_ext
29761 LIBS=$ac_check_lib_save_LIBS
29763 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
29764 echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6; }
29765 if test $ac_cv_lib_posix_remove = yes; then
29766 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
29771 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
29772 { echo "$as_me:$LINENO: checking for shmat" >&5
29773 echo $ECHO_N "checking for shmat... $ECHO_C" >&6; }
29774 if test "${ac_cv_func_shmat+set}" = set; then
29775 echo $ECHO_N "(cached) $ECHO_C" >&6
29777 cat >conftest.$ac_ext <<_ACEOF
29780 cat confdefs.h >>conftest.$ac_ext
29781 cat >>conftest.$ac_ext <<_ACEOF
29782 /* end confdefs.h. */
29783 /* Define shmat to an innocuous variant, in case <limits.h> declares shmat.
29784 For example, HP-UX 11i <limits.h> declares gettimeofday. */
29785 #define shmat innocuous_shmat
29787 /* System header to define __stub macros and hopefully few prototypes,
29788 which can conflict with char shmat (); below.
29789 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29790 <limits.h> exists even on freestanding compilers. */
29793 # include <limits.h>
29795 # include <assert.h>
29800 /* Override any GCC internal prototype to avoid an error.
29801 Use char because int might match the return type of a GCC
29802 builtin and then its argument prototype would still apply. */
29807 /* The GNU C library defines this for functions which it implements
29808 to always fail with ENOSYS. Some functions are actually named
29809 something starting with __ and the normal name is an alias. */
29810 #if defined __stub_shmat || defined __stub___shmat
29822 rm -f conftest.$ac_objext conftest$ac_exeext
29823 if { (ac_try="$ac_link"
29824 case "(($ac_try" in
29825 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
29826 *) ac_try_echo
=$ac_try;;
29828 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29829 (eval "$ac_link") 2>conftest.er1
29831 grep -v '^ *+' conftest.er1
>conftest.err
29833 cat conftest.err
>&5
29834 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29835 (exit $ac_status); } && {
29836 test -z "$ac_c_werror_flag" ||
29837 test ! -s conftest.err
29838 } && test -s conftest
$ac_exeext &&
29839 $as_test_x conftest
$ac_exeext; then
29840 ac_cv_func_shmat
=yes
29842 echo "$as_me: failed program was:" >&5
29843 sed 's/^/| /' conftest.
$ac_ext >&5
29845 ac_cv_func_shmat
=no
29848 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
29849 conftest
$ac_exeext conftest.
$ac_ext
29851 { echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
29852 echo "${ECHO_T}$ac_cv_func_shmat" >&6; }
29854 if test $ac_cv_func_shmat = no
; then
29855 { echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
29856 echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6; }
29857 if test "${ac_cv_lib_ipc_shmat+set}" = set; then
29858 echo $ECHO_N "(cached) $ECHO_C" >&6
29860 ac_check_lib_save_LIBS
=$LIBS
29862 cat >conftest.
$ac_ext <<_ACEOF
29865 cat confdefs.h
>>conftest.
$ac_ext
29866 cat >>conftest.
$ac_ext <<_ACEOF
29867 /* end confdefs.h. */
29869 /* Override any GCC internal prototype to avoid an error.
29870 Use char because int might match the return type of a GCC
29871 builtin and then its argument prototype would still apply. */
29884 rm -f conftest.
$ac_objext conftest
$ac_exeext
29885 if { (ac_try
="$ac_link"
29886 case "(($ac_try" in
29887 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
29888 *) ac_try_echo=$ac_try;;
29890 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29891 (eval "$ac_link") 2>conftest.er1
29893 grep -v '^ *+' conftest.er1 >conftest.err
29895 cat conftest.err >&5
29896 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29897 (exit $ac_status); } && {
29898 test -z "$ac_c_werror_flag" ||
29899 test ! -s conftest.err
29900 } && test -s conftest$ac_exeext &&
29901 $as_test_x conftest$ac_exeext; then
29902 ac_cv_lib_ipc_shmat=yes
29904 echo "$as_me: failed program was:" >&5
29905 sed 's/^/| /' conftest.$ac_ext >&5
29907 ac_cv_lib_ipc_shmat=no
29910 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29911 conftest$ac_exeext conftest.$ac_ext
29912 LIBS=$ac_check_lib_save_LIBS
29914 { echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
29915 echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6; }
29916 if test $ac_cv_lib_ipc_shmat = yes; then
29917 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
29923 # Check for libraries that X11R6 Xt/Xaw programs need.
29924 ac_save_LDFLAGS=$LDFLAGS
29925 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
29926 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
29927 # check for ICE first), but we must link in the order -lSM -lICE or
29928 # we get undefined symbols. So assume we have SM if we have ICE.
29929 # These have to be linked with before -lX11, unlike the other
29930 # libraries we check for below, so use a different variable.
29931 # John Interrante, Karl Berry
29932 { echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
29933 echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6; }
29934 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
29935 echo $ECHO_N "(cached) $ECHO_C" >&6
29937 ac_check_lib_save_LIBS=$LIBS
29938 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
29939 cat >conftest.$ac_ext <<_ACEOF
29942 cat confdefs.h >>conftest.$ac_ext
29943 cat >>conftest.$ac_ext <<_ACEOF
29944 /* end confdefs.h. */
29946 /* Override any GCC internal prototype to avoid an error.
29947 Use char because int might match the return type of a GCC
29948 builtin and then its argument prototype would still apply. */
29952 char IceConnectionNumber ();
29956 return IceConnectionNumber ();
29961 rm -f conftest.$ac_objext conftest$ac_exeext
29962 if { (ac_try="$ac_link"
29963 case "(($ac_try" in
29964 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
29965 *) ac_try_echo
=$ac_try;;
29967 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29968 (eval "$ac_link") 2>conftest.er1
29970 grep -v '^ *+' conftest.er1
>conftest.err
29972 cat conftest.err
>&5
29973 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29974 (exit $ac_status); } && {
29975 test -z "$ac_c_werror_flag" ||
29976 test ! -s conftest.err
29977 } && test -s conftest
$ac_exeext &&
29978 $as_test_x conftest
$ac_exeext; then
29979 ac_cv_lib_ICE_IceConnectionNumber
=yes
29981 echo "$as_me: failed program was:" >&5
29982 sed 's/^/| /' conftest.
$ac_ext >&5
29984 ac_cv_lib_ICE_IceConnectionNumber
=no
29987 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
29988 conftest
$ac_exeext conftest.
$ac_ext
29989 LIBS
=$ac_check_lib_save_LIBS
29991 { echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
29992 echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
29993 if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
29994 X_PRE_LIBS
="$X_PRE_LIBS -lSM -lICE"
29997 LDFLAGS
=$ac_save_LDFLAGS
30002 if test "$no_x" = "yes"; then
30003 { { echo "$as_me:$LINENO: error: X11 not found, please use --x-includes and/or --x-libraries options (see config.log for details)" >&5
30004 echo "$as_me: error: X11 not found, please use --x-includes and/or --x-libraries options (see config.log for details)" >&2;}
30005 { (exit 1); exit 1; }; }
30008 GUI_TK_LIBRARY
=`echo $X_LIBS | sed 's/ -LNONE//' | sed 's/ -RNONE//'`
30009 TOOLKIT_INCLUDE
=`echo $X_CFLAGS | sed 's/ -INONE//'`
30010 AFMINSTALL
=afminstall
30011 COMPILED_X_PROGRAM
=0
30015 if test "$wxUSE_X11" = 1; then
30016 if test "$wxUSE_NANOX" = "yes"; then
30017 { echo "$as_me:$LINENO: checking for MicroWindows/NanoX distribution" >&5
30018 echo $ECHO_N "checking for MicroWindows/NanoX distribution... $ECHO_C" >&6; }
30019 if test "x$MICROWIN" = x
; then
30020 { echo "$as_me:$LINENO: result: not found" >&5
30021 echo "${ECHO_T}not found" >&6; }
30022 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&5
30023 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&2;}
30024 { (exit 1); exit 1; }; }
30026 { echo "$as_me:$LINENO: result: $MICROWIN" >&5
30027 echo "${ECHO_T}$MICROWIN" >&6; }
30028 cat >>confdefs.h
<<\_ACEOF
30029 #define wxUSE_NANOX 1
30035 if test "$wxUSE_UNICODE" = "yes"; then
30038 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
30039 if test -n "$ac_tool_prefix"; then
30040 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
30041 set dummy
${ac_tool_prefix}pkg
-config; ac_word
=$2
30042 { echo "$as_me:$LINENO: checking for $ac_word" >&5
30043 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
30044 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
30045 echo $ECHO_N "(cached) $ECHO_C" >&6
30047 case $PKG_CONFIG in
30049 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
30052 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
30053 for as_dir
in $PATH
30056 test -z "$as_dir" && as_dir
=.
30057 for ac_exec_ext
in '' $ac_executable_extensions; do
30058 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
30059 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
30060 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
30070 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
30071 if test -n "$PKG_CONFIG"; then
30072 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
30073 echo "${ECHO_T}$PKG_CONFIG" >&6; }
30075 { echo "$as_me:$LINENO: result: no" >&5
30076 echo "${ECHO_T}no" >&6; }
30081 if test -z "$ac_cv_path_PKG_CONFIG"; then
30082 ac_pt_PKG_CONFIG
=$PKG_CONFIG
30083 # Extract the first word of "pkg-config", so it can be a program name with args.
30084 set dummy pkg
-config; ac_word
=$2
30085 { echo "$as_me:$LINENO: checking for $ac_word" >&5
30086 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
30087 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
30088 echo $ECHO_N "(cached) $ECHO_C" >&6
30090 case $ac_pt_PKG_CONFIG in
30092 ac_cv_path_ac_pt_PKG_CONFIG
="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
30095 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
30096 for as_dir
in $PATH
30099 test -z "$as_dir" && as_dir
=.
30100 for ac_exec_ext
in '' $ac_executable_extensions; do
30101 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
30102 ac_cv_path_ac_pt_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
30103 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
30113 ac_pt_PKG_CONFIG
=$ac_cv_path_ac_pt_PKG_CONFIG
30114 if test -n "$ac_pt_PKG_CONFIG"; then
30115 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
30116 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
30118 { echo "$as_me:$LINENO: result: no" >&5
30119 echo "${ECHO_T}no" >&6; }
30122 if test "x$ac_pt_PKG_CONFIG" = x
; then
30125 case $cross_compiling:$ac_tool_warned in
30127 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
30128 whose name does not start with the host triplet. If you think this
30129 configuration is useful to you, please write to autoconf@gnu.org." >&5
30130 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
30131 whose name does not start with the host triplet. If you think this
30132 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
30133 ac_tool_warned
=yes ;;
30135 PKG_CONFIG
=$ac_pt_PKG_CONFIG
30138 PKG_CONFIG
="$ac_cv_path_PKG_CONFIG"
30142 if test -n "$PKG_CONFIG"; then
30143 _pkg_min_version
=0.9.0
30144 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
30145 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
30146 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
30147 { echo "$as_me:$LINENO: result: yes" >&5
30148 echo "${ECHO_T}yes" >&6; }
30150 { echo "$as_me:$LINENO: result: no" >&5
30151 echo "${ECHO_T}no" >&6; }
30159 { echo "$as_me:$LINENO: checking for PANGOX" >&5
30160 echo $ECHO_N "checking for PANGOX... $ECHO_C" >&6; }
30162 if test -n "$PKG_CONFIG"; then
30163 if test -n "$PANGOX_CFLAGS"; then
30164 pkg_cv_PANGOX_CFLAGS
="$PANGOX_CFLAGS"
30166 if test -n "$PKG_CONFIG" && \
30167 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangox\"") >&5
30168 ($PKG_CONFIG --exists --print-errors "pangox") 2>&5
30170 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30171 (exit $ac_status); }; then
30172 pkg_cv_PANGOX_CFLAGS
=`$PKG_CONFIG --cflags "pangox" 2>/dev/null`
30180 if test -n "$PKG_CONFIG"; then
30181 if test -n "$PANGOX_LIBS"; then
30182 pkg_cv_PANGOX_LIBS
="$PANGOX_LIBS"
30184 if test -n "$PKG_CONFIG" && \
30185 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangox\"") >&5
30186 ($PKG_CONFIG --exists --print-errors "pangox") 2>&5
30188 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30189 (exit $ac_status); }; then
30190 pkg_cv_PANGOX_LIBS
=`$PKG_CONFIG --libs "pangox" 2>/dev/null`
30201 if test $pkg_failed = yes; then
30203 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
30204 _pkg_short_errors_supported
=yes
30206 _pkg_short_errors_supported
=no
30208 if test $_pkg_short_errors_supported = yes; then
30209 PANGOX_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangox"`
30211 PANGOX_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "pangox"`
30213 # Put the nasty error message in config.log where it belongs
30214 echo "$PANGOX_PKG_ERRORS" >&5
30217 { { echo "$as_me:$LINENO: error: pangox library not found, library cannot be compiled in Unicode mode" >&5
30218 echo "$as_me: error: pangox library not found, library cannot be compiled in Unicode mode" >&2;}
30219 { (exit 1); exit 1; }; }
30222 elif test $pkg_failed = untried
; then
30224 { { echo "$as_me:$LINENO: error: pangox library not found, library cannot be compiled in Unicode mode" >&5
30225 echo "$as_me: error: pangox library not found, library cannot be compiled in Unicode mode" >&2;}
30226 { (exit 1); exit 1; }; }
30230 PANGOX_CFLAGS
=$pkg_cv_PANGOX_CFLAGS
30231 PANGOX_LIBS
=$pkg_cv_PANGOX_LIBS
30232 { echo "$as_me:$LINENO: result: yes" >&5
30233 echo "${ECHO_T}yes" >&6; }
30235 CFLAGS
="$PANGOX_CFLAGS $CFLAGS"
30236 CXXFLAGS
="$PANGOX_CFLAGS $CXXFLAGS"
30237 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $PANGOX_LIBS"
30242 { echo "$as_me:$LINENO: checking for PANGOFT2" >&5
30243 echo $ECHO_N "checking for PANGOFT2... $ECHO_C" >&6; }
30245 if test -n "$PKG_CONFIG"; then
30246 if test -n "$PANGOFT2_CFLAGS"; then
30247 pkg_cv_PANGOFT2_CFLAGS
="$PANGOFT2_CFLAGS"
30249 if test -n "$PKG_CONFIG" && \
30250 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoft2\"") >&5
30251 ($PKG_CONFIG --exists --print-errors "pangoft2") 2>&5
30253 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30254 (exit $ac_status); }; then
30255 pkg_cv_PANGOFT2_CFLAGS
=`$PKG_CONFIG --cflags "pangoft2" 2>/dev/null`
30263 if test -n "$PKG_CONFIG"; then
30264 if test -n "$PANGOFT2_LIBS"; then
30265 pkg_cv_PANGOFT2_LIBS
="$PANGOFT2_LIBS"
30267 if test -n "$PKG_CONFIG" && \
30268 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoft2\"") >&5
30269 ($PKG_CONFIG --exists --print-errors "pangoft2") 2>&5
30271 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30272 (exit $ac_status); }; then
30273 pkg_cv_PANGOFT2_LIBS
=`$PKG_CONFIG --libs "pangoft2" 2>/dev/null`
30284 if test $pkg_failed = yes; then
30286 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
30287 _pkg_short_errors_supported
=yes
30289 _pkg_short_errors_supported
=no
30291 if test $_pkg_short_errors_supported = yes; then
30292 PANGOFT2_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangoft2"`
30294 PANGOFT2_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoft2"`
30296 # Put the nasty error message in config.log where it belongs
30297 echo "$PANGOFT2_PKG_ERRORS" >&5
30300 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
30301 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
30302 wxUSE_PRINTING_ARCHITECTURE
="no"
30305 elif test $pkg_failed = untried
; then
30307 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
30308 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
30309 wxUSE_PRINTING_ARCHITECTURE
="no"
30313 PANGOFT2_CFLAGS
=$pkg_cv_PANGOFT2_CFLAGS
30314 PANGOFT2_LIBS
=$pkg_cv_PANGOFT2_LIBS
30315 { echo "$as_me:$LINENO: result: yes" >&5
30316 echo "${ECHO_T}yes" >&6; }
30318 CFLAGS
="$PANGOFT2_CFLAGS $CFLAGS"
30319 CXXFLAGS
="$PANGOFT2_CFLAGS $CXXFLAGS"
30320 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $PANGOFT2_LIBS"
30325 { echo "$as_me:$LINENO: checking for PANGOXFT" >&5
30326 echo $ECHO_N "checking for PANGOXFT... $ECHO_C" >&6; }
30328 if test -n "$PKG_CONFIG"; then
30329 if test -n "$PANGOXFT_CFLAGS"; then
30330 pkg_cv_PANGOXFT_CFLAGS
="$PANGOXFT_CFLAGS"
30332 if test -n "$PKG_CONFIG" && \
30333 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoxft\"") >&5
30334 ($PKG_CONFIG --exists --print-errors "pangoxft") 2>&5
30336 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30337 (exit $ac_status); }; then
30338 pkg_cv_PANGOXFT_CFLAGS
=`$PKG_CONFIG --cflags "pangoxft" 2>/dev/null`
30346 if test -n "$PKG_CONFIG"; then
30347 if test -n "$PANGOXFT_LIBS"; then
30348 pkg_cv_PANGOXFT_LIBS
="$PANGOXFT_LIBS"
30350 if test -n "$PKG_CONFIG" && \
30351 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoxft\"") >&5
30352 ($PKG_CONFIG --exists --print-errors "pangoxft") 2>&5
30354 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30355 (exit $ac_status); }; then
30356 pkg_cv_PANGOXFT_LIBS
=`$PKG_CONFIG --libs "pangoxft" 2>/dev/null`
30367 if test $pkg_failed = yes; then
30369 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
30370 _pkg_short_errors_supported
=yes
30372 _pkg_short_errors_supported
=no
30374 if test $_pkg_short_errors_supported = yes; then
30375 PANGOXFT_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangoxft"`
30377 PANGOXFT_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoxft"`
30379 # Put the nasty error message in config.log where it belongs
30380 echo "$PANGOXFT_PKG_ERRORS" >&5
30383 { echo "$as_me:$LINENO: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
30384 echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
30387 elif test $pkg_failed = untried
; then
30389 { echo "$as_me:$LINENO: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
30390 echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
30394 PANGOXFT_CFLAGS
=$pkg_cv_PANGOXFT_CFLAGS
30395 PANGOXFT_LIBS
=$pkg_cv_PANGOXFT_LIBS
30396 { echo "$as_me:$LINENO: result: yes" >&5
30397 echo "${ECHO_T}yes" >&6; }
30399 cat >>confdefs.h
<<\_ACEOF
30400 #define HAVE_PANGO_XFT 1
30403 CFLAGS
="$PANGOXFT_CFLAGS $CFLAGS"
30404 CXXFLAGS
="$PANGOXFT_CFLAGS $CXXFLAGS"
30405 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $PANGOXFT_LIBS"
30409 LIBS
="$LIBS $PANGOX_LIBS"
30411 for ac_func
in pango_font_family_is_monospace
30413 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30414 { echo "$as_me:$LINENO: checking for $ac_func" >&5
30415 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
30416 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
30417 echo $ECHO_N "(cached) $ECHO_C" >&6
30419 cat >conftest.
$ac_ext <<_ACEOF
30422 cat confdefs.h
>>conftest.
$ac_ext
30423 cat >>conftest.
$ac_ext <<_ACEOF
30424 /* end confdefs.h. */
30425 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
30426 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30427 #define $ac_func innocuous_$ac_func
30429 /* System header to define __stub macros and hopefully few prototypes,
30430 which can conflict with char $ac_func (); below.
30431 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30432 <limits.h> exists even on freestanding compilers. */
30435 # include <limits.h>
30437 # include <assert.h>
30442 /* Override any GCC internal prototype to avoid an error.
30443 Use char because int might match the return type of a GCC
30444 builtin and then its argument prototype would still apply. */
30449 /* The GNU C library defines this for functions which it implements
30450 to always fail with ENOSYS. Some functions are actually named
30451 something starting with __ and the normal name is an alias. */
30452 #if defined __stub_$ac_func || defined __stub___$ac_func
30459 return $ac_func ();
30464 rm -f conftest.
$ac_objext conftest
$ac_exeext
30465 if { (ac_try
="$ac_link"
30466 case "(($ac_try" in
30467 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
30468 *) ac_try_echo=$ac_try;;
30470 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30471 (eval "$ac_link") 2>conftest.er1
30473 grep -v '^ *+' conftest.er1 >conftest.err
30475 cat conftest.err >&5
30476 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30477 (exit $ac_status); } && {
30478 test -z "$ac_c_werror_flag" ||
30479 test ! -s conftest.err
30480 } && test -s conftest$ac_exeext &&
30481 $as_test_x conftest$ac_exeext; then
30482 eval "$as_ac_var=yes"
30484 echo "$as_me: failed program was:" >&5
30485 sed 's/^/| /' conftest.$ac_ext >&5
30487 eval "$as_ac_var=no"
30490 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30491 conftest$ac_exeext conftest.$ac_ext
30493 ac_res=`eval echo '${'$as_ac_var'}'`
30494 { echo "$as_me:$LINENO: result: $ac_res" >&5
30495 echo "${ECHO_T}$ac_res" >&6; }
30496 if test `eval echo '${'$as_ac_var'}'` = yes; then
30497 cat >>confdefs.h <<_ACEOF
30498 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30507 wxUSE_UNIVERSAL="yes"
30509 if test "$wxUSE_NANOX" = "yes"; then
30510 TOOLKIT_INCLUDE="-I\$(top_srcdir)/include/wx/x11/nanox -I\$(MICROWIN)/src/include $TOOLKIT_INCLUDE"
30511 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"
30512 GUI_TK_LIBRARY="$GUI_TK_LIBRARY \$(MICROWIN)/src/lib/libnano-X.a"
30514 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lX11"
30521 if test "$wxUSE_MOTIF" = 1; then
30522 if test "$wxUSE_UNICODE" = "yes"; then
30523 { { echo "$as_me:$LINENO: error: Unicode configuration not supported with Motif" >&5
30524 echo "$as_me: error: Unicode configuration not supported with Motif" >&2;}
30525 { (exit 1); exit 1; }; }
30528 { echo "$as_me:$LINENO: checking for Motif/Lesstif headers" >&5
30529 echo $ECHO_N "checking for Motif/Lesstif headers... $ECHO_C" >&6; }
30532 for ac_dir in $SEARCH_INCLUDE /usr/include;
30534 if test -f "$ac_dir/Xm/Xm.h"; then
30535 ac_find_includes=$ac_dir
30540 if test "$ac_find_includes" != "" ; then
30541 { echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
30542 echo "${ECHO_T}found in $ac_find_includes" >&6; }
30544 if test "x$ac_find_includes" = "x/usr/include"; then
30545 ac_path_to_include=""
30547 echo "$TOOLKIT_INCLUDE" | grep "\-I$ac_find_includes" > /dev/null
30549 if test $result = 0; then
30550 ac_path_to_include=""
30552 ac_path_to_include=" -I$ac_find_includes"
30556 TOOLKIT_INCLUDE="$TOOLKIT_INCLUDE$ac_path_to_include"
30558 save_CFLAGS=$CFLAGS
30559 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
30561 cat >conftest.$ac_ext <<_ACEOF
30564 cat confdefs.h >>conftest.$ac_ext
30565 cat >>conftest.$ac_ext <<_ACEOF
30566 /* end confdefs.h. */
30575 version = xmUseVersion;
30581 rm -f conftest.$ac_objext
30582 if { (ac_try="$ac_compile"
30583 case "(($ac_try" in
30584 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
30585 *) ac_try_echo
=$ac_try;;
30587 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30588 (eval "$ac_compile") 2>conftest.er1
30590 grep -v '^ *+' conftest.er1
>conftest.err
30592 cat conftest.err
>&5
30593 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30594 (exit $ac_status); } && {
30595 test -z "$ac_c_werror_flag" ||
30596 test ! -s conftest.err
30597 } && test -s conftest.
$ac_objext; then
30599 { echo "$as_me:$LINENO: result: found in default search path" >&5
30600 echo "${ECHO_T}found in default search path" >&6; }
30601 COMPILED_X_PROGRAM
=1
30604 echo "$as_me: failed program was:" >&5
30605 sed 's/^/| /' conftest.
$ac_ext >&5
30608 { echo "$as_me:$LINENO: result: no" >&5
30609 echo "${ECHO_T}no" >&6; }
30610 { { echo "$as_me:$LINENO: error: please set CPPFLAGS to contain the location of Xm/Xm.h" >&5
30611 echo "$as_me: error: please set CPPFLAGS to contain the location of Xm/Xm.h" >&2;}
30612 { (exit 1); exit 1; }; }
30617 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
30619 CFLAGS
=$save_CFLAGS
30623 { echo "$as_me:$LINENO: checking for Motif/Lesstif library" >&5
30624 echo $ECHO_N "checking for Motif/Lesstif library... $ECHO_C" >&6; }
30627 for ac_dir
in $SEARCH_LIB;
30629 for ac_extension
in a so sl dylib dll.a
; do
30630 if test -f "$ac_dir/libXm.$ac_extension"; then
30631 ac_find_libraries
=$ac_dir
30638 if test "x$ac_find_libraries" != "x" ; then
30639 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
30640 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
30643 if test "$ac_find_libraries" = "default location"; then
30646 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev
/null
30648 if test $result = 0; then
30651 ac_path_to_link
=" -L$ac_find_libraries"
30655 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY$ac_path_to_link"
30657 save_CFLAGS
=$CFLAGS
30658 CFLAGS
="$TOOLKIT_INCLUDE $CFLAGS"
30660 LIBS
="$GUI_TK_LIBRARY -lXm -lXmu -lXext -lX11"
30662 cat >conftest.
$ac_ext <<_ACEOF
30665 cat confdefs.h
>>conftest.
$ac_ext
30666 cat >>conftest.
$ac_ext <<_ACEOF
30667 /* end confdefs.h. */
30676 version = xmUseVersion;
30682 rm -f conftest.
$ac_objext conftest
$ac_exeext
30683 if { (ac_try
="$ac_link"
30684 case "(($ac_try" in
30685 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
30686 *) ac_try_echo=$ac_try;;
30688 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30689 (eval "$ac_link") 2>conftest.er1
30691 grep -v '^ *+' conftest.er1 >conftest.err
30693 cat conftest.err >&5
30694 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30695 (exit $ac_status); } && {
30696 test -z "$ac_c_werror_flag" ||
30697 test ! -s conftest.err
30698 } && test -s conftest$ac_exeext &&
30699 $as_test_x conftest$ac_exeext; then
30701 { echo "$as_me:$LINENO: result: found in default search path" >&5
30702 echo "${ECHO_T}found in default search path" >&6; }
30703 COMPILED_X_PROGRAM=1
30706 echo "$as_me: failed program was:" >&5
30707 sed 's/^/| /' conftest.$ac_ext >&5
30710 { echo "$as_me:$LINENO: result: no" >&5
30711 echo "${ECHO_T}no" >&6; }
30712 { { echo "$as_me:$LINENO: error: please set LDFLAGS to contain the location of libXm" >&5
30713 echo "$as_me: error: please set LDFLAGS to contain the location of libXm" >&2;}
30714 { (exit 1); exit 1; }; }
30719 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30720 conftest$ac_exeext conftest.$ac_ext
30722 CFLAGS=$save_CFLAGS
30726 { echo "$as_me:$LINENO: checking if we need -lXp and/or -lSM -lICE" >&5
30727 echo $ECHO_N "checking if we need -lXp and/or -lSM -lICE... $ECHO_C" >&6; }
30731 for libp in "" " -lXp"; do
30732 if test "$libs_found" = "0"; then
30733 for libsm_ice in "" " -lSM -lICE"; do
30734 if test "$libs_found" = "0"; then
30736 LIBS="$GUI_TK_LIBRARY -lXm ${libp} -lXmu -lXext -lXt${libsm_ice} -lX11"
30737 save_CFLAGS=$CFLAGS
30738 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
30740 cat >conftest.$ac_ext <<_ACEOF
30743 cat confdefs.h >>conftest.$ac_ext
30744 cat >>conftest.$ac_ext <<_ACEOF
30745 /* end confdefs.h. */
30748 #include <Xm/List.h>
30754 XmString string = NULL;
30757 XmListAddItem(w, string, position);
30763 rm -f conftest.$ac_objext conftest$ac_exeext
30764 if { (ac_try="$ac_link"
30765 case "(($ac_try" in
30766 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
30767 *) ac_try_echo
=$ac_try;;
30769 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30770 (eval "$ac_link") 2>conftest.er1
30772 grep -v '^ *+' conftest.er1
>conftest.err
30774 cat conftest.err
>&5
30775 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30776 (exit $ac_status); } && {
30777 test -z "$ac_c_werror_flag" ||
30778 test ! -s conftest.err
30779 } && test -s conftest
$ac_exeext &&
30780 $as_test_x conftest
$ac_exeext; then
30783 libsm_ice_link
="$libsm_ice"
30784 { echo "$as_me:$LINENO: result: need${libp_link}${libsm_ice_link}" >&5
30785 echo "${ECHO_T}need${libp_link}${libsm_ice_link}" >&6; }
30789 echo "$as_me: failed program was:" >&5
30790 sed 's/^/| /' conftest.
$ac_ext >&5
30796 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
30797 conftest
$ac_exeext conftest.
$ac_ext
30800 CFLAGS
=$save_CFLAGS
30806 if test "$libs_found" = "0"; then
30807 { echo "$as_me:$LINENO: result: can't find the right libraries" >&5
30808 echo "${ECHO_T}can't find the right libraries" >&6; }
30809 { { echo "$as_me:$LINENO: error: can't link a simple motif program" >&5
30810 echo "$as_me: error: can't link a simple motif program" >&2;}
30811 { (exit 1); exit 1; }; }
30814 { echo "$as_me:$LINENO: checking for SgCreateList in -lSgm" >&5
30815 echo $ECHO_N "checking for SgCreateList in -lSgm... $ECHO_C" >&6; }
30816 if test "${ac_cv_lib_Sgm_SgCreateList+set}" = set; then
30817 echo $ECHO_N "(cached) $ECHO_C" >&6
30819 ac_check_lib_save_LIBS
=$LIBS
30821 cat >conftest.
$ac_ext <<_ACEOF
30824 cat confdefs.h
>>conftest.
$ac_ext
30825 cat >>conftest.
$ac_ext <<_ACEOF
30826 /* end confdefs.h. */
30828 /* Override any GCC internal prototype to avoid an error.
30829 Use char because int might match the return type of a GCC
30830 builtin and then its argument prototype would still apply. */
30834 char SgCreateList ();
30838 return SgCreateList ();
30843 rm -f conftest.
$ac_objext conftest
$ac_exeext
30844 if { (ac_try
="$ac_link"
30845 case "(($ac_try" in
30846 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
30847 *) ac_try_echo=$ac_try;;
30849 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30850 (eval "$ac_link") 2>conftest.er1
30852 grep -v '^ *+' conftest.er1 >conftest.err
30854 cat conftest.err >&5
30855 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30856 (exit $ac_status); } && {
30857 test -z "$ac_c_werror_flag" ||
30858 test ! -s conftest.err
30859 } && test -s conftest$ac_exeext &&
30860 $as_test_x conftest$ac_exeext; then
30861 ac_cv_lib_Sgm_SgCreateList=yes
30863 echo "$as_me: failed program was:" >&5
30864 sed 's/^/| /' conftest.$ac_ext >&5
30866 ac_cv_lib_Sgm_SgCreateList=no
30869 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30870 conftest$ac_exeext conftest.$ac_ext
30871 LIBS=$ac_check_lib_save_LIBS
30873 { echo "$as_me:$LINENO: result: $ac_cv_lib_Sgm_SgCreateList" >&5
30874 echo "${ECHO_T}$ac_cv_lib_Sgm_SgCreateList" >&6; }
30875 if test $ac_cv_lib_Sgm_SgCreateList = yes; then
30876 libsgm_link=" -lSgm"
30880 save_CFLAGS=$CFLAGS
30881 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
30883 { echo "$as_me:$LINENO: checking for Motif 2" >&5
30884 echo $ECHO_N "checking for Motif 2... $ECHO_C" >&6; }
30885 if test "${wx_cv_lib_motif2+set}" = set; then
30886 echo $ECHO_N "(cached) $ECHO_C" >&6
30888 cat >conftest.$ac_ext <<_ACEOF
30891 cat confdefs.h >>conftest.$ac_ext
30892 cat >>conftest.$ac_ext <<_ACEOF
30893 /* end confdefs.h. */
30901 #if XmVersion < 2000
30909 rm -f conftest.$ac_objext
30910 if { (ac_try="$ac_compile"
30911 case "(($ac_try" in
30912 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
30913 *) ac_try_echo
=$ac_try;;
30915 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30916 (eval "$ac_compile") 2>conftest.er1
30918 grep -v '^ *+' conftest.er1
>conftest.err
30920 cat conftest.err
>&5
30921 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30922 (exit $ac_status); } && {
30923 test -z "$ac_c_werror_flag" ||
30924 test ! -s conftest.err
30925 } && test -s conftest.
$ac_objext; then
30926 wx_cv_lib_motif2
="yes"
30928 echo "$as_me: failed program was:" >&5
30929 sed 's/^/| /' conftest.
$ac_ext >&5
30931 wx_cv_lib_motif2
="no"
30934 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
30936 { echo "$as_me:$LINENO: result: $wx_cv_lib_motif2" >&5
30937 echo "${ECHO_T}$wx_cv_lib_motif2" >&6; }
30938 if test "$wx_cv_lib_motif2" = "yes"; then
30939 cat >>confdefs.h
<<\_ACEOF
30940 #define __WXMOTIF20__ 1
30944 cat >>confdefs.h
<<\_ACEOF
30945 #define __WXMOTIF20__ 0
30950 { echo "$as_me:$LINENO: checking whether Motif is Lesstif" >&5
30951 echo $ECHO_N "checking whether Motif is Lesstif... $ECHO_C" >&6; }
30952 if test "${wx_cv_lib_lesstif+set}" = set; then
30953 echo $ECHO_N "(cached) $ECHO_C" >&6
30955 cat >conftest.
$ac_ext <<_ACEOF
30958 cat confdefs.h
>>conftest.
$ac_ext
30959 cat >>conftest.
$ac_ext <<_ACEOF
30960 /* end confdefs.h. */
30968 #if !defined(LesstifVersion) || LesstifVersion <= 0
30976 rm -f conftest.
$ac_objext
30977 if { (ac_try
="$ac_compile"
30978 case "(($ac_try" in
30979 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
30980 *) ac_try_echo=$ac_try;;
30982 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30983 (eval "$ac_compile") 2>conftest.er1
30985 grep -v '^ *+' conftest.er1 >conftest.err
30987 cat conftest.err >&5
30988 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30989 (exit $ac_status); } && {
30990 test -z "$ac_c_werror_flag" ||
30991 test ! -s conftest.err
30992 } && test -s conftest.$ac_objext; then
30993 wx_cv_lib_lesstif="yes"
30995 echo "$as_me: failed program was:" >&5
30996 sed 's/^/| /' conftest.$ac_ext >&5
30998 wx_cv_lib_lesstif="no"
31001 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31004 { echo "$as_me:$LINENO: result: $wx_cv_lib_lesstif" >&5
31005 echo "${ECHO_T}$wx_cv_lib_lesstif" >&6; }
31006 if test "$wx_cv_lib_lesstif" = "yes"; then
31007 cat >>confdefs.h <<\_ACEOF
31008 #define __WXLESSTIF__ 1
31012 cat >>confdefs.h <<\_ACEOF
31013 #define __WXLESSTIF__ 0
31018 CFLAGS=$save_CFLAGS
31020 GUI_TK_LIBRARY="$GUI_TK_LIBRARY${libsgm_link} -lXm${libp_link} -lXmu -lXext -lXt${libsm_ice_link} -lX11"
31025 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
31026 if test "$wxUSE_LIBXPM" = "sys"; then
31027 { echo "$as_me:$LINENO: checking for Xpm library" >&5
31028 echo $ECHO_N "checking for Xpm library... $ECHO_C" >&6; }
31031 for ac_dir in $SEARCH_LIB;
31033 for ac_extension in a so sl dylib dll.a; do
31034 if test -f "$ac_dir/libXpm.$ac_extension"; then
31035 ac_find_libraries=$ac_dir
31041 if test "$ac_find_libraries" != "" ; then
31043 if test "$ac_find_libraries" = "default location"; then
31046 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
31048 if test $result = 0; then
31051 ac_path_to_link=" -L$ac_find_libraries"
31055 GUI_TK_LIBRARY="$GUI_TK_LIBRARY$ac_path_to_link"
31056 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
31057 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
31059 { echo "$as_me:$LINENO: checking for X11/xpm.h" >&5
31060 echo $ECHO_N "checking for X11/xpm.h... $ECHO_C" >&6; }
31061 if test "${wx_cv_x11_xpm_h+set}" = set; then
31062 echo $ECHO_N "(cached) $ECHO_C" >&6
31065 save_CFLAGS=$CFLAGS
31066 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
31068 cat >conftest.$ac_ext <<_ACEOF
31071 cat confdefs.h >>conftest.$ac_ext
31072 cat >>conftest.$ac_ext <<_ACEOF
31073 /* end confdefs.h. */
31075 #include <X11/xpm.h>
31082 version = XpmLibraryVersion();
31088 rm -f conftest.$ac_objext
31089 if { (ac_try="$ac_compile"
31090 case "(($ac_try" in
31091 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
31092 *) ac_try_echo
=$ac_try;;
31094 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31095 (eval "$ac_compile") 2>conftest.er1
31097 grep -v '^ *+' conftest.er1
>conftest.err
31099 cat conftest.err
>&5
31100 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31101 (exit $ac_status); } && {
31102 test -z "$ac_c_werror_flag" ||
31103 test ! -s conftest.err
31104 } && test -s conftest.
$ac_objext; then
31105 wx_cv_x11_xpm_h
=yes
31107 echo "$as_me: failed program was:" >&5
31108 sed 's/^/| /' conftest.
$ac_ext >&5
31114 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
31116 CFLAGS
=$save_CFLAGS
31120 { echo "$as_me:$LINENO: result: $wx_cv_x11_xpm_h" >&5
31121 echo "${ECHO_T}$wx_cv_x11_xpm_h" >&6; }
31123 if test $wx_cv_x11_xpm_h = "yes"; then
31124 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lXpm"
31125 cat >>confdefs.h
<<\_ACEOF
31126 #define wxHAVE_LIB_XPM 1
31130 { echo "$as_me:$LINENO: WARNING: built-in less efficient XPM decoder will be used" >&5
31131 echo "$as_me: WARNING: built-in less efficient XPM decoder will be used" >&2;}
31137 { echo "$as_me:$LINENO: checking for XShapeQueryExtension in -lXext" >&5
31138 echo $ECHO_N "checking for XShapeQueryExtension in -lXext... $ECHO_C" >&6; }
31139 if test "${ac_cv_lib_Xext_XShapeQueryExtension+set}" = set; then
31140 echo $ECHO_N "(cached) $ECHO_C" >&6
31142 ac_check_lib_save_LIBS
=$LIBS
31143 LIBS
="-lXext $GUI_TK_LIBRARY -lX11 $LIBS"
31144 cat >conftest.
$ac_ext <<_ACEOF
31147 cat confdefs.h
>>conftest.
$ac_ext
31148 cat >>conftest.
$ac_ext <<_ACEOF
31149 /* end confdefs.h. */
31151 /* Override any GCC internal prototype to avoid an error.
31152 Use char because int might match the return type of a GCC
31153 builtin and then its argument prototype would still apply. */
31157 char XShapeQueryExtension ();
31161 return XShapeQueryExtension ();
31166 rm -f conftest.
$ac_objext conftest
$ac_exeext
31167 if { (ac_try
="$ac_link"
31168 case "(($ac_try" in
31169 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
31170 *) ac_try_echo=$ac_try;;
31172 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31173 (eval "$ac_link") 2>conftest.er1
31175 grep -v '^ *+' conftest.er1 >conftest.err
31177 cat conftest.err >&5
31178 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31179 (exit $ac_status); } && {
31180 test -z "$ac_c_werror_flag" ||
31181 test ! -s conftest.err
31182 } && test -s conftest$ac_exeext &&
31183 $as_test_x conftest$ac_exeext; then
31184 ac_cv_lib_Xext_XShapeQueryExtension=yes
31186 echo "$as_me: failed program was:" >&5
31187 sed 's/^/| /' conftest.$ac_ext >&5
31189 ac_cv_lib_Xext_XShapeQueryExtension=no
31192 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31193 conftest$ac_exeext conftest.$ac_ext
31194 LIBS=$ac_check_lib_save_LIBS
31196 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
31197 echo "${ECHO_T}$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
31198 if test $ac_cv_lib_Xext_XShapeQueryExtension = yes; then
31200 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXext"
31206 if test "$wxHAVE_XEXT_LIB" = 1; then
31207 save_CFLAGS="$CFLAGS"
31208 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
31210 { echo "$as_me:$LINENO: checking for X11/extensions/shape.h" >&5
31211 echo $ECHO_N "checking for X11/extensions/shape.h... $ECHO_C" >&6; }
31212 cat >conftest.$ac_ext <<_ACEOF
31215 cat confdefs.h >>conftest.$ac_ext
31216 cat >>conftest.$ac_ext <<_ACEOF
31217 /* end confdefs.h. */
31219 #include <X11/Xlib.h>
31220 #include <X11/extensions/shape.h>
31226 int dummy1, dummy2;
31227 XShapeQueryExtension((Display*)NULL,
31228 (int*)NULL, (int*)NULL);
31234 rm -f conftest.$ac_objext
31235 if { (ac_try="$ac_compile"
31236 case "(($ac_try" in
31237 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
31238 *) ac_try_echo
=$ac_try;;
31240 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31241 (eval "$ac_compile") 2>conftest.er1
31243 grep -v '^ *+' conftest.er1
>conftest.err
31245 cat conftest.err
>&5
31246 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31247 (exit $ac_status); } && {
31248 test -z "$ac_c_werror_flag" ||
31249 test ! -s conftest.err
31250 } && test -s conftest.
$ac_objext; then
31252 cat >>confdefs.h
<<\_ACEOF
31253 #define HAVE_XSHAPE 1
31256 { echo "$as_me:$LINENO: result: found" >&5
31257 echo "${ECHO_T}found" >&6; }
31260 echo "$as_me: failed program was:" >&5
31261 sed 's/^/| /' conftest.
$ac_ext >&5
31264 { echo "$as_me:$LINENO: result: not found" >&5
31265 echo "${ECHO_T}not found" >&6; }
31269 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
31270 CFLAGS
="$save_CFLAGS"
31275 if test "$wxUSE_MAC" = 1; then
31276 { echo "$as_me:$LINENO: checking for compiler syntax to enable Pascal strings" >&5
31277 echo $ECHO_N "checking for compiler syntax to enable Pascal strings... $ECHO_C" >&6; }
31278 if test "$GCC" = yes; then
31279 { echo "$as_me:$LINENO: result: gcc" >&5
31280 echo "${ECHO_T}gcc" >&6; }
31281 CPPFLAGS_PASCAL
="-fpascal-strings"
31282 elif test "`echo $CXX | sed -e 's@.*/@@'`" = "xlC"; then
31283 { echo "$as_me:$LINENO: result: xlc" >&5
31284 echo "${ECHO_T}xlc" >&6; }
31285 CPPFLAGS_PASCAL
="-qmacpstr"
31287 { echo "$as_me:$LINENO: result: none" >&5
31288 echo "${ECHO_T}none" >&6; }
31291 if test "x$wxUSE_UNIX" = "xyes"; then
31292 CPPFLAGS
="$CPPFLAGS_PASCAL -I\${top_srcdir}/src/mac/carbon/morefilex -I/Developer/Headers/FlatCarbon $CPPFLAGS"
31294 CPPFLAGS
="$CPPFLAGS_PASCAL -I\${top_srcdir}/src/mac/carbon/morefilex -DTARGET_CARBON $CPPFLAGS"
31299 WXBASEPORT
="_carbon"
31302 if test "$wxUSE_COCOA" = 1; then
31307 if test "$wxUSE_PM" = 1; then
31310 { echo "$as_me:$LINENO: checking for type SPBCDATA" >&5
31311 echo $ECHO_N "checking for type SPBCDATA... $ECHO_C" >&6; }
31312 if test "${wx_cv_spbcdata+set}" = set; then
31313 echo $ECHO_N "(cached) $ECHO_C" >&6
31316 cat >conftest.
$ac_ext <<_ACEOF
31319 cat confdefs.h
>>conftest.
$ac_ext
31320 cat >>conftest.
$ac_ext <<_ACEOF
31321 /* end confdefs.h. */
31336 rm -f conftest.
$ac_objext
31337 if { (ac_try
="$ac_compile"
31338 case "(($ac_try" in
31339 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
31340 *) ac_try_echo=$ac_try;;
31342 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31343 (eval "$ac_compile") 2>conftest.er1
31345 grep -v '^ *+' conftest.er1 >conftest.err
31347 cat conftest.err >&5
31348 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31349 (exit $ac_status); } && {
31350 test -z "$ac_c_werror_flag" ||
31351 test ! -s conftest.err
31352 } && test -s conftest.$ac_objext; then
31355 echo "$as_me: failed program was:" >&5
31356 sed 's/^/| /' conftest.$ac_ext >&5
31362 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31366 { echo "$as_me:$LINENO: result: $wx_cv_spbcdata" >&5
31367 echo "${ECHO_T}$wx_cv_spbcdata" >&6; }
31369 if test $wx_cv_spbcdata = "yes"; then
31370 cat >>confdefs.h <<\_ACEOF
31371 #define HAVE_SPBCDATA 1
31377 if test "$TOOLKIT" = "PM" ; then
31380 TOOLKIT_DIR=`echo ${TOOLKIT} | tr "[A-Z]" "[a-z]"`
31383 if test "$wxUSE_UNIVERSAL" = "yes"; then
31384 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXUNIVERSAL__"
31388 GUIDIST="${GUIDIST} SAMPLES_DIST DEMOS_DIST UTILS_DIST MISC_DIST"
31389 DISTDIR="wx\$(TOOLKIT)"
31395 if test "$USE_WIN32" = 1 ; then
31399 GUIDIST="BASE_DIST"
31404 if test "$wxUSE_GUI" = "yes"; then
31405 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_PM" != 1; then
31406 { echo "$as_me:$LINENO: checking for X11/Xlib.h" >&5
31407 echo $ECHO_N "checking for X11/Xlib.h... $ECHO_C" >&6; }
31408 if test "${ac_cv_header_X11_Xlib_h+set}" = set; then
31409 echo $ECHO_N "(cached) $ECHO_C" >&6
31411 cat >conftest.$ac_ext <<_ACEOF
31414 cat confdefs.h >>conftest.$ac_ext
31415 cat >>conftest.$ac_ext <<_ACEOF
31416 /* end confdefs.h. */
31419 #include <X11/Xlib.h>
31421 rm -f conftest.$ac_objext
31422 if { (ac_try="$ac_compile"
31423 case "(($ac_try" in
31424 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
31425 *) ac_try_echo
=$ac_try;;
31427 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31428 (eval "$ac_compile") 2>conftest.er1
31430 grep -v '^ *+' conftest.er1
>conftest.err
31432 cat conftest.err
>&5
31433 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31434 (exit $ac_status); } && {
31435 test -z "$ac_c_werror_flag" ||
31436 test ! -s conftest.err
31437 } && test -s conftest.
$ac_objext; then
31438 ac_cv_header_X11_Xlib_h
=yes
31440 echo "$as_me: failed program was:" >&5
31441 sed 's/^/| /' conftest.
$ac_ext >&5
31443 ac_cv_header_X11_Xlib_h
=no
31446 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
31448 { echo "$as_me:$LINENO: result: $ac_cv_header_X11_Xlib_h" >&5
31449 echo "${ECHO_T}$ac_cv_header_X11_Xlib_h" >&6; }
31452 { echo "$as_me:$LINENO: checking for X11/XKBlib.h" >&5
31453 echo $ECHO_N "checking for X11/XKBlib.h... $ECHO_C" >&6; }
31454 if test "${ac_cv_header_X11_XKBlib_h+set}" = set; then
31455 echo $ECHO_N "(cached) $ECHO_C" >&6
31457 cat >conftest.
$ac_ext <<_ACEOF
31460 cat confdefs.h
>>conftest.
$ac_ext
31461 cat >>conftest.
$ac_ext <<_ACEOF
31462 /* end confdefs.h. */
31464 #if HAVE_X11_XLIB_H
31465 #include <X11/Xlib.h>
31469 #include <X11/XKBlib.h>
31471 rm -f conftest.
$ac_objext
31472 if { (ac_try
="$ac_compile"
31473 case "(($ac_try" in
31474 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
31475 *) ac_try_echo=$ac_try;;
31477 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31478 (eval "$ac_compile") 2>conftest.er1
31480 grep -v '^ *+' conftest.er1 >conftest.err
31482 cat conftest.err >&5
31483 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31484 (exit $ac_status); } && {
31485 test -z "$ac_c_werror_flag" ||
31486 test ! -s conftest.err
31487 } && test -s conftest.$ac_objext; then
31488 ac_cv_header_X11_XKBlib_h=yes
31490 echo "$as_me: failed program was:" >&5
31491 sed 's/^/| /' conftest.$ac_ext >&5
31493 ac_cv_header_X11_XKBlib_h=no
31496 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31498 { echo "$as_me:$LINENO: result: $ac_cv_header_X11_XKBlib_h" >&5
31499 echo "${ECHO_T}$ac_cv_header_X11_XKBlib_h" >&6; }
31510 if test "$TOOLKIT" != "MSW" ; then
31512 if test "$wxUSE_ODBC" = "sys" -o "$wxUSE_ODBC" = "yes" ; then
31514 { echo "$as_me:$LINENO: checking for sql.h" >&5
31515 echo $ECHO_N "checking for sql.h... $ECHO_C" >&6; }
31516 if test "${ac_cv_header_sql_h+set}" = set; then
31517 echo $ECHO_N "(cached) $ECHO_C" >&6
31519 cat >conftest.$ac_ext <<_ACEOF
31522 cat confdefs.h >>conftest.$ac_ext
31523 cat >>conftest.$ac_ext <<_ACEOF
31524 /* end confdefs.h. */
31529 rm -f conftest.$ac_objext
31530 if { (ac_try="$ac_compile"
31531 case "(($ac_try" in
31532 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
31533 *) ac_try_echo
=$ac_try;;
31535 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31536 (eval "$ac_compile") 2>conftest.er1
31538 grep -v '^ *+' conftest.er1
>conftest.err
31540 cat conftest.err
>&5
31541 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31542 (exit $ac_status); } && {
31543 test -z "$ac_c_werror_flag" ||
31544 test ! -s conftest.err
31545 } && test -s conftest.
$ac_objext; then
31546 ac_cv_header_sql_h
=yes
31548 echo "$as_me: failed program was:" >&5
31549 sed 's/^/| /' conftest.
$ac_ext >&5
31551 ac_cv_header_sql_h
=no
31554 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
31556 { echo "$as_me:$LINENO: result: $ac_cv_header_sql_h" >&5
31557 echo "${ECHO_T}$ac_cv_header_sql_h" >&6; }
31558 if test $ac_cv_header_sql_h = yes; then
31563 if test "x$found_sql_h" = "x1" ; then
31564 { echo "$as_me:$LINENO: checking for SQLAllocEnv in -liodbc" >&5
31565 echo $ECHO_N "checking for SQLAllocEnv in -liodbc... $ECHO_C" >&6; }
31566 if test "${ac_cv_lib_iodbc_SQLAllocEnv+set}" = set; then
31567 echo $ECHO_N "(cached) $ECHO_C" >&6
31569 ac_check_lib_save_LIBS
=$LIBS
31570 LIBS
="-liodbc $LIBS"
31571 cat >conftest.
$ac_ext <<_ACEOF
31574 cat confdefs.h
>>conftest.
$ac_ext
31575 cat >>conftest.
$ac_ext <<_ACEOF
31576 /* end confdefs.h. */
31578 /* Override any GCC internal prototype to avoid an error.
31579 Use char because int might match the return type of a GCC
31580 builtin and then its argument prototype would still apply. */
31584 char SQLAllocEnv ();
31588 return SQLAllocEnv ();
31593 rm -f conftest.
$ac_objext conftest
$ac_exeext
31594 if { (ac_try
="$ac_link"
31595 case "(($ac_try" in
31596 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
31597 *) ac_try_echo=$ac_try;;
31599 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31600 (eval "$ac_link") 2>conftest.er1
31602 grep -v '^ *+' conftest.er1 >conftest.err
31604 cat conftest.err >&5
31605 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31606 (exit $ac_status); } && {
31607 test -z "$ac_c_werror_flag" ||
31608 test ! -s conftest.err
31609 } && test -s conftest$ac_exeext &&
31610 $as_test_x conftest$ac_exeext; then
31611 ac_cv_lib_iodbc_SQLAllocEnv=yes
31613 echo "$as_me: failed program was:" >&5
31614 sed 's/^/| /' conftest.$ac_ext >&5
31616 ac_cv_lib_iodbc_SQLAllocEnv=no
31619 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31620 conftest$ac_exeext conftest.$ac_ext
31621 LIBS=$ac_check_lib_save_LIBS
31623 { echo "$as_me:$LINENO: result: $ac_cv_lib_iodbc_SQLAllocEnv" >&5
31624 echo "${ECHO_T}$ac_cv_lib_iodbc_SQLAllocEnv" >&6; }
31625 if test $ac_cv_lib_iodbc_SQLAllocEnv = yes; then
31626 ODBC_LINK=" -liodbc"
31629 { echo "$as_me:$LINENO: checking for SQLAllocEnv in -lunixodbc" >&5
31630 echo $ECHO_N "checking for SQLAllocEnv in -lunixodbc... $ECHO_C" >&6; }
31631 if test "${ac_cv_lib_unixodbc_SQLAllocEnv+set}" = set; then
31632 echo $ECHO_N "(cached) $ECHO_C" >&6
31634 ac_check_lib_save_LIBS=$LIBS
31635 LIBS="-lunixodbc $LIBS"
31636 cat >conftest.$ac_ext <<_ACEOF
31639 cat confdefs.h >>conftest.$ac_ext
31640 cat >>conftest.$ac_ext <<_ACEOF
31641 /* end confdefs.h. */
31643 /* Override any GCC internal prototype to avoid an error.
31644 Use char because int might match the return type of a GCC
31645 builtin and then its argument prototype would still apply. */
31649 char SQLAllocEnv ();
31653 return SQLAllocEnv ();
31658 rm -f conftest.$ac_objext conftest$ac_exeext
31659 if { (ac_try="$ac_link"
31660 case "(($ac_try" in
31661 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
31662 *) ac_try_echo
=$ac_try;;
31664 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31665 (eval "$ac_link") 2>conftest.er1
31667 grep -v '^ *+' conftest.er1
>conftest.err
31669 cat conftest.err
>&5
31670 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31671 (exit $ac_status); } && {
31672 test -z "$ac_c_werror_flag" ||
31673 test ! -s conftest.err
31674 } && test -s conftest
$ac_exeext &&
31675 $as_test_x conftest
$ac_exeext; then
31676 ac_cv_lib_unixodbc_SQLAllocEnv
=yes
31678 echo "$as_me: failed program was:" >&5
31679 sed 's/^/| /' conftest.
$ac_ext >&5
31681 ac_cv_lib_unixodbc_SQLAllocEnv
=no
31684 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
31685 conftest
$ac_exeext conftest.
$ac_ext
31686 LIBS
=$ac_check_lib_save_LIBS
31688 { echo "$as_me:$LINENO: result: $ac_cv_lib_unixodbc_SQLAllocEnv" >&5
31689 echo "${ECHO_T}$ac_cv_lib_unixodbc_SQLAllocEnv" >&6; }
31690 if test $ac_cv_lib_unixodbc_SQLAllocEnv = yes; then
31691 ODBC_LINK
=" -lunixodbc"
31694 { echo "$as_me:$LINENO: checking for SQLAllocEnv in -lodbc" >&5
31695 echo $ECHO_N "checking for SQLAllocEnv in -lodbc... $ECHO_C" >&6; }
31696 if test "${ac_cv_lib_odbc_SQLAllocEnv+set}" = set; then
31697 echo $ECHO_N "(cached) $ECHO_C" >&6
31699 ac_check_lib_save_LIBS
=$LIBS
31700 LIBS
="-lodbc $LIBS"
31701 cat >conftest.
$ac_ext <<_ACEOF
31704 cat confdefs.h
>>conftest.
$ac_ext
31705 cat >>conftest.
$ac_ext <<_ACEOF
31706 /* end confdefs.h. */
31708 /* Override any GCC internal prototype to avoid an error.
31709 Use char because int might match the return type of a GCC
31710 builtin and then its argument prototype would still apply. */
31714 char SQLAllocEnv ();
31718 return SQLAllocEnv ();
31723 rm -f conftest.
$ac_objext conftest
$ac_exeext
31724 if { (ac_try
="$ac_link"
31725 case "(($ac_try" in
31726 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
31727 *) ac_try_echo=$ac_try;;
31729 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31730 (eval "$ac_link") 2>conftest.er1
31732 grep -v '^ *+' conftest.er1 >conftest.err
31734 cat conftest.err >&5
31735 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31736 (exit $ac_status); } && {
31737 test -z "$ac_c_werror_flag" ||
31738 test ! -s conftest.err
31739 } && test -s conftest$ac_exeext &&
31740 $as_test_x conftest$ac_exeext; then
31741 ac_cv_lib_odbc_SQLAllocEnv=yes
31743 echo "$as_me: failed program was:" >&5
31744 sed 's/^/| /' conftest.$ac_ext >&5
31746 ac_cv_lib_odbc_SQLAllocEnv=no
31749 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31750 conftest$ac_exeext conftest.$ac_ext
31751 LIBS=$ac_check_lib_save_LIBS
31753 { echo "$as_me:$LINENO: result: $ac_cv_lib_odbc_SQLAllocEnv" >&5
31754 echo "${ECHO_T}$ac_cv_lib_odbc_SQLAllocEnv" >&6; }
31755 if test $ac_cv_lib_odbc_SQLAllocEnv = yes; then
31756 ODBC_LINK=" -lodbc"
31766 if test "x$ODBC_LINK" = "x" ; then
31767 if test "$wxUSE_ODBC" = "sys" ; then
31768 { { echo "$as_me:$LINENO: error: system ODBC library not found! Use --with-odbc=builtin to use built-in version" >&5
31769 echo "$as_me: error: system ODBC library not found! Use --with-odbc=builtin to use built-in version" >&2;}
31770 { (exit 1); exit 1; }; }
31772 { echo "$as_me:$LINENO: WARNING: system ODBC library not found, will use built-in instead" >&5
31773 echo "$as_me: WARNING: system ODBC library not found, will use built-in instead" >&2;}
31781 if test "$wxUSE_ODBC" = "builtin" ; then
31782 cat >>confdefs.h <<\_ACEOF
31783 #define wxUSE_BUILTIN_IODBC 1
31789 if test "$wxUSE_ODBC" != "no" ; then
31790 cat >>confdefs.h <<\_ACEOF
31791 #define wxUSE_ODBC 1
31794 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS db"
31796 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_IODBC_"
31800 if test "$wxUSE_DISPLAY" = "yes"; then
31801 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1; then
31802 { echo "$as_me:$LINENO: checking for Xinerama" >&5
31803 echo $ECHO_N "checking for Xinerama... $ECHO_C" >&6; }
31806 for ac_dir in $SEARCH_LIB;
31808 for ac_extension in a so sl dylib dll.a; do
31809 if test -f "$ac_dir/libXinerama.$ac_extension"; then
31810 ac_find_libraries=$ac_dir
31816 if test "$ac_find_libraries" != "" ; then
31818 if test "$ac_find_libraries" = "default location"; then
31821 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
31823 if test $result = 0; then
31826 ac_path_to_link=" -L$ac_find_libraries"
31830 if test "$ac_path_to_link" != " -L/usr/lib" ; then
31831 LDFLAGS="$LDFLAGS $ac_path_to_link"
31833 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXinerama"
31834 { echo "$as_me:$LINENO: result: yes" >&5
31835 echo "${ECHO_T}yes" >&6; }
31837 { echo "$as_me:$LINENO: checking for Xxf86vm extension" >&5
31838 echo $ECHO_N "checking for Xxf86vm extension... $ECHO_C" >&6; }
31841 for ac_dir in $SEARCH_LIB;
31843 for ac_extension in a so sl dylib dll.a; do
31844 if test -f "$ac_dir/libXxf86vm.$ac_extension"; then
31845 ac_find_libraries=$ac_dir
31851 if test "$ac_find_libraries" != "" ; then
31852 { echo "$as_me:$LINENO: result: yes" >&5
31853 echo "${ECHO_T}yes" >&6; }
31854 { echo "$as_me:$LINENO: checking for X11/extensions/xf86vmode.h" >&5
31855 echo $ECHO_N "checking for X11/extensions/xf86vmode.h... $ECHO_C" >&6; }
31856 if test "${ac_cv_header_X11_extensions_xf86vmode_h+set}" = set; then
31857 echo $ECHO_N "(cached) $ECHO_C" >&6
31859 cat >conftest.$ac_ext <<_ACEOF
31862 cat confdefs.h >>conftest.$ac_ext
31863 cat >>conftest.$ac_ext <<_ACEOF
31864 /* end confdefs.h. */
31866 #if HAVE_X11_XLIB_H
31867 #include <X11/Xlib.h>
31871 #include <X11/extensions/xf86vmode.h>
31873 rm -f conftest.$ac_objext
31874 if { (ac_try="$ac_compile"
31875 case "(($ac_try" in
31876 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
31877 *) ac_try_echo
=$ac_try;;
31879 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31880 (eval "$ac_compile") 2>conftest.er1
31882 grep -v '^ *+' conftest.er1
>conftest.err
31884 cat conftest.err
>&5
31885 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31886 (exit $ac_status); } && {
31887 test -z "$ac_c_werror_flag" ||
31888 test ! -s conftest.err
31889 } && test -s conftest.
$ac_objext; then
31890 ac_cv_header_X11_extensions_xf86vmode_h
=yes
31892 echo "$as_me: failed program was:" >&5
31893 sed 's/^/| /' conftest.
$ac_ext >&5
31895 ac_cv_header_X11_extensions_xf86vmode_h
=no
31898 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
31900 { echo "$as_me:$LINENO: result: $ac_cv_header_X11_extensions_xf86vmode_h" >&5
31901 echo "${ECHO_T}$ac_cv_header_X11_extensions_xf86vmode_h" >&6; }
31902 if test $ac_cv_header_X11_extensions_xf86vmode_h = yes; then
31904 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lXxf86vm"
31910 { echo "$as_me:$LINENO: result: no" >&5
31911 echo "${ECHO_T}no" >&6; }
31915 { echo "$as_me:$LINENO: result: no" >&5
31916 echo "${ECHO_T}no" >&6; }
31917 { echo "$as_me:$LINENO: WARNING: Xinerama not found; disabling wxDisplay" >&5
31918 echo "$as_me: WARNING: Xinerama not found; disabling wxDisplay" >&2;}
31921 elif test "$wxUSE_MSW" = 1; then
31922 { echo "$as_me:$LINENO: checking for ddraw.h" >&5
31923 echo $ECHO_N "checking for ddraw.h... $ECHO_C" >&6; }
31924 if test "${ac_cv_header_ddraw_h+set}" = set; then
31925 echo $ECHO_N "(cached) $ECHO_C" >&6
31927 cat >conftest.
$ac_ext <<_ACEOF
31930 cat confdefs.h
>>conftest.
$ac_ext
31931 cat >>conftest.
$ac_ext <<_ACEOF
31932 /* end confdefs.h. */
31933 #include <windows.h>
31937 rm -f conftest.
$ac_objext
31938 if { (ac_try
="$ac_compile"
31939 case "(($ac_try" in
31940 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
31941 *) ac_try_echo=$ac_try;;
31943 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31944 (eval "$ac_compile") 2>conftest.er1
31946 grep -v '^ *+' conftest.er1 >conftest.err
31948 cat conftest.err >&5
31949 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31950 (exit $ac_status); } && {
31951 test -z "$ac_c_werror_flag" ||
31952 test ! -s conftest.err
31953 } && test -s conftest.$ac_objext; then
31954 ac_cv_header_ddraw_h=yes
31956 echo "$as_me: failed program was:" >&5
31957 sed 's/^/| /' conftest.$ac_ext >&5
31959 ac_cv_header_ddraw_h=no
31962 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31964 { echo "$as_me:$LINENO: result: $ac_cv_header_ddraw_h" >&5
31965 echo "${ECHO_T}$ac_cv_header_ddraw_h" >&6; }
31971 if test "$wxUSE_DETECT_SM" = "yes"; then
31972 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1; then
31973 { echo "$as_me:$LINENO: checking for -lSM - X11 session management" >&5
31974 echo $ECHO_N "checking for -lSM - X11 session management... $ECHO_C" >&6; }
31977 for ac_dir in $SEARCH_LIB;
31979 for ac_extension in a so sl dylib dll.a; do
31980 if test -f "$ac_dir/libSM.$ac_extension"; then
31981 ac_find_libraries=$ac_dir
31987 if test "$ac_find_libraries" != "" ; then
31989 if test "$ac_find_libraries" = "default location"; then
31992 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
31994 if test $result = 0; then
31997 ac_path_to_link=" -L$ac_find_libraries"
32001 if test "$ac_path_to_link" != " -L/usr/lib" ; then
32002 LDFLAGS="$LDFLAGS $ac_path_to_link"
32004 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lSM"
32005 { echo "$as_me:$LINENO: result: yes" >&5
32006 echo "${ECHO_T}yes" >&6; }
32008 { echo "$as_me:$LINENO: result: no" >&5
32009 echo "${ECHO_T}no" >&6; }
32010 { echo "$as_me:$LINENO: WARNING: libSM not found; disabling session management detection" >&5
32011 echo "$as_me: WARNING: libSM not found; disabling session management detection" >&2;}
32012 wxUSE_DETECT_SM="no"
32015 wxUSE_DETECT_SM="no"
32022 if test "$wxUSE_OPENGL" = "yes"; then
32023 if test "$wxUSE_MGL" = 1 -o "$wxUSE_DFB" = "1"; then
32024 { echo "$as_me:$LINENO: WARNING: wxGLCanvas not implemented for this port, library will be compiled without it." >&5
32025 echo "$as_me: WARNING: wxGLCanvas not implemented for this port, library will be compiled without it." >&2;}
32027 elif test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = "1"; then
32028 OPENGL_LIBS="-framework OpenGL -framework AGL"
32029 elif test "$wxUSE_MSW" = 1; then
32030 OPENGL_LIBS="-lopengl32 -lglu32"
32032 { echo "$as_me:$LINENO: checking for OpenGL headers" >&5
32033 echo $ECHO_N "checking for OpenGL headers... $ECHO_C" >&6; }
32036 for ac_dir in $SEARCH_INCLUDE /opt/graphics/OpenGL/include /usr/include;
32038 if test -f "$ac_dir/GL/gl.h"; then
32039 ac_find_includes=$ac_dir
32044 if test "$ac_find_includes" != "" ; then
32045 { echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
32046 echo "${ECHO_T}found in $ac_find_includes" >&6; }
32048 if test "x$ac_find_includes" = "x/usr/include"; then
32049 ac_path_to_include=""
32051 echo "$CPPFLAGS" | grep "\-I$ac_find_includes" > /dev/null
32053 if test $result = 0; then
32054 ac_path_to_include=""
32056 ac_path_to_include=" -I$ac_find_includes"
32060 CPPFLAGS="$ac_path_to_include $CPPFLAGS"
32062 { echo "$as_me:$LINENO: result: not found" >&5
32063 echo "${ECHO_T}not found" >&6; }
32066 { echo "$as_me:$LINENO: checking for GL/gl.h" >&5
32067 echo $ECHO_N "checking for GL/gl.h... $ECHO_C" >&6; }
32068 if test "${ac_cv_header_GL_gl_h+set}" = set; then
32069 echo $ECHO_N "(cached) $ECHO_C" >&6
32071 cat >conftest.$ac_ext <<_ACEOF
32074 cat confdefs.h >>conftest.$ac_ext
32075 cat >>conftest.$ac_ext <<_ACEOF
32076 /* end confdefs.h. */
32081 rm -f conftest.$ac_objext
32082 if { (ac_try="$ac_compile"
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_compile") 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_objext; then
32098 ac_cv_header_GL_gl_h
=yes
32100 echo "$as_me: failed program was:" >&5
32101 sed 's/^/| /' conftest.
$ac_ext >&5
32103 ac_cv_header_GL_gl_h
=no
32106 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
32108 { echo "$as_me:$LINENO: result: $ac_cv_header_GL_gl_h" >&5
32109 echo "${ECHO_T}$ac_cv_header_GL_gl_h" >&6; }
32110 if test $ac_cv_header_GL_gl_h = yes; then
32112 if test "${ac_cv_header_GL_glu_h+set}" = set; then
32113 { echo "$as_me:$LINENO: checking for GL/glu.h" >&5
32114 echo $ECHO_N "checking for GL/glu.h... $ECHO_C" >&6; }
32115 if test "${ac_cv_header_GL_glu_h+set}" = set; then
32116 echo $ECHO_N "(cached) $ECHO_C" >&6
32118 { echo "$as_me:$LINENO: result: $ac_cv_header_GL_glu_h" >&5
32119 echo "${ECHO_T}$ac_cv_header_GL_glu_h" >&6; }
32121 # Is the header compilable?
32122 { echo "$as_me:$LINENO: checking GL/glu.h usability" >&5
32123 echo $ECHO_N "checking GL/glu.h usability... $ECHO_C" >&6; }
32124 cat >conftest.
$ac_ext <<_ACEOF
32127 cat confdefs.h
>>conftest.
$ac_ext
32128 cat >>conftest.
$ac_ext <<_ACEOF
32129 /* end confdefs.h. */
32130 $ac_includes_default
32131 #include <GL/glu.h>
32133 rm -f conftest.
$ac_objext
32134 if { (ac_try
="$ac_compile"
32135 case "(($ac_try" in
32136 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
32137 *) ac_try_echo=$ac_try;;
32139 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32140 (eval "$ac_compile") 2>conftest.er1
32142 grep -v '^ *+' conftest.er1 >conftest.err
32144 cat conftest.err >&5
32145 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32146 (exit $ac_status); } && {
32147 test -z "$ac_c_werror_flag" ||
32148 test ! -s conftest.err
32149 } && test -s conftest.$ac_objext; then
32150 ac_header_compiler=yes
32152 echo "$as_me: failed program was:" >&5
32153 sed 's/^/| /' conftest.$ac_ext >&5
32155 ac_header_compiler=no
32158 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32159 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
32160 echo "${ECHO_T}$ac_header_compiler" >&6; }
32162 # Is the header present?
32163 { echo "$as_me:$LINENO: checking GL/glu.h presence" >&5
32164 echo $ECHO_N "checking GL/glu.h presence... $ECHO_C" >&6; }
32165 cat >conftest.$ac_ext <<_ACEOF
32168 cat confdefs.h >>conftest.$ac_ext
32169 cat >>conftest.$ac_ext <<_ACEOF
32170 /* end confdefs.h. */
32171 #include <GL/glu.h>
32173 if { (ac_try="$ac_cpp conftest.$ac_ext"
32174 case "(($ac_try" in
32175 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
32176 *) ac_try_echo
=$ac_try;;
32178 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32179 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
32181 grep -v '^ *+' conftest.er1
>conftest.err
32183 cat conftest.err
>&5
32184 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32185 (exit $ac_status); } >/dev
/null
&& {
32186 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
32187 test ! -s conftest.err
32189 ac_header_preproc
=yes
32191 echo "$as_me: failed program was:" >&5
32192 sed 's/^/| /' conftest.
$ac_ext >&5
32194 ac_header_preproc
=no
32197 rm -f conftest.err conftest.
$ac_ext
32198 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
32199 echo "${ECHO_T}$ac_header_preproc" >&6; }
32201 # So? What about this header?
32202 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
32204 { echo "$as_me:$LINENO: WARNING: GL/glu.h: accepted by the compiler, rejected by the preprocessor!" >&5
32205 echo "$as_me: WARNING: GL/glu.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
32206 { echo "$as_me:$LINENO: WARNING: GL/glu.h: proceeding with the compiler's result" >&5
32207 echo "$as_me: WARNING: GL/glu.h: proceeding with the compiler's result" >&2;}
32208 ac_header_preproc
=yes
32211 { echo "$as_me:$LINENO: WARNING: GL/glu.h: present but cannot be compiled" >&5
32212 echo "$as_me: WARNING: GL/glu.h: present but cannot be compiled" >&2;}
32213 { echo "$as_me:$LINENO: WARNING: GL/glu.h: check for missing prerequisite headers?" >&5
32214 echo "$as_me: WARNING: GL/glu.h: check for missing prerequisite headers?" >&2;}
32215 { echo "$as_me:$LINENO: WARNING: GL/glu.h: see the Autoconf documentation" >&5
32216 echo "$as_me: WARNING: GL/glu.h: see the Autoconf documentation" >&2;}
32217 { echo "$as_me:$LINENO: WARNING: GL/glu.h: section \"Present But Cannot Be Compiled\"" >&5
32218 echo "$as_me: WARNING: GL/glu.h: section \"Present But Cannot Be Compiled\"" >&2;}
32219 { echo "$as_me:$LINENO: WARNING: GL/glu.h: proceeding with the preprocessor's result" >&5
32220 echo "$as_me: WARNING: GL/glu.h: proceeding with the preprocessor's result" >&2;}
32221 { echo "$as_me:$LINENO: WARNING: GL/glu.h: in the future, the compiler will take precedence" >&5
32222 echo "$as_me: WARNING: GL/glu.h: in the future, the compiler will take precedence" >&2;}
32224 ## ----------------------------------------- ##
32225 ## Report this to wx-dev@lists.wxwidgets.org ##
32226 ## ----------------------------------------- ##
32228 ) | sed "s/^/$as_me: WARNING: /" >&2
32231 { echo "$as_me:$LINENO: checking for GL/glu.h" >&5
32232 echo $ECHO_N "checking for GL/glu.h... $ECHO_C" >&6; }
32233 if test "${ac_cv_header_GL_glu_h+set}" = set; then
32234 echo $ECHO_N "(cached) $ECHO_C" >&6
32236 ac_cv_header_GL_glu_h
=$ac_header_preproc
32238 { echo "$as_me:$LINENO: result: $ac_cv_header_GL_glu_h" >&5
32239 echo "${ECHO_T}$ac_cv_header_GL_glu_h" >&6; }
32242 if test $ac_cv_header_GL_glu_h = yes; then
32246 { echo "$as_me:$LINENO: checking for -lGL" >&5
32247 echo $ECHO_N "checking for -lGL... $ECHO_C" >&6; }
32250 for ac_dir
in $SEARCH_LIB /opt
/graphics
/OpenGL
/lib
;
32252 for ac_extension
in a so sl dylib dll.a
; do
32253 if test -f "$ac_dir/libGL.$ac_extension"; then
32254 ac_find_libraries
=$ac_dir
32260 if test "$ac_find_libraries" != "" ; then
32261 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
32262 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
32265 if test "$ac_find_libraries" = "default location"; then
32268 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev
/null
32270 if test $result = 0; then
32273 ac_path_to_link
=" -L$ac_find_libraries"
32277 if test "$ac_path_to_link" != " -L/usr/lib" ; then
32278 LDFLAGS_GL
="$ac_path_to_link"
32281 { echo "$as_me:$LINENO: checking for -lGLU" >&5
32282 echo $ECHO_N "checking for -lGLU... $ECHO_C" >&6; }
32285 for ac_dir
in $SEARCH_LIB;
32287 for ac_extension
in a so sl dylib dll.a
; do
32288 if test -f "$ac_dir/libGLU.$ac_extension"; then
32289 ac_find_libraries
=$ac_dir
32295 if test "$ac_find_libraries" != "" ; then
32297 if test "$ac_find_libraries" = "default location"; then
32300 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev
/null
32302 if test $result = 0; then
32305 ac_path_to_link
=" -L$ac_find_libraries"
32309 if test "$ac_path_to_link" != " -L/usr/lib" -a \
32310 "$ac_path_to_link" != "$LDFLAGS_GL"; then
32311 LDFLAGS_GL
="$LDFLAGS_GL$ac_path_to_link"
32315 OPENGL_LIBS
="-lGL -lGLU"
32316 { echo "$as_me:$LINENO: result: yes" >&5
32317 echo "${ECHO_T}yes" >&6; }
32319 { echo "$as_me:$LINENO: result: no" >&5
32320 echo "${ECHO_T}no" >&6; }
32323 { echo "$as_me:$LINENO: result: no" >&5
32324 echo "${ECHO_T}no" >&6; }
32327 if test "$found_gl" != 1; then
32328 { echo "$as_me:$LINENO: checking for -lMesaGL" >&5
32329 echo $ECHO_N "checking for -lMesaGL... $ECHO_C" >&6; }
32332 for ac_dir
in $SEARCH_LIB;
32334 for ac_extension
in a so sl dylib dll.a
; do
32335 if test -f "$ac_dir/libMesaGL.$ac_extension"; then
32336 ac_find_libraries
=$ac_dir
32342 if test "$ac_find_libraries" != "" ; then
32344 if test "$ac_find_libraries" = "default location"; then
32347 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev
/null
32349 if test $result = 0; then
32352 ac_path_to_link
=" -L$ac_find_libraries"
32356 LDFLAGS_GL
="$LDFLAGS$ac_path_to_link"
32357 OPENGL_LIBS
="-lMesaGL -lMesaGLU"
32358 { echo "$as_me:$LINENO: result: yes" >&5
32359 echo "${ECHO_T}yes" >&6; }
32361 { echo "$as_me:$LINENO: result: no" >&5
32362 echo "${ECHO_T}no" >&6; }
32374 if test "x$OPENGL_LIBS" = "x"; then
32375 { { echo "$as_me:$LINENO: error: OpenGL libraries not available" >&5
32376 echo "$as_me: error: OpenGL libraries not available" >&2;}
32377 { (exit 1); exit 1; }; }
32381 if test "$wxUSE_OPENGL" = "yes"; then
32383 cat >>confdefs.h
<<\_ACEOF
32384 #define wxUSE_OPENGL 1
32387 cat >>confdefs.h
<<\_ACEOF
32388 #define wxUSE_GLCANVAS 1
32391 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS opengl opengl/cube opengl/penguin opengl/isosurf"
32396 if test -n "$TOOLKIT" ; then
32397 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WX${TOOLKIT}__"
32402 if test "$wxUSE_SHARED" = "yes"; then
32406 { echo "$as_me:$LINENO: WARNING: Host system doesn't support shared libraries, disabling" >&5
32407 echo "$as_me: WARNING: Host system doesn't support shared libraries, disabling" >&2;}
32412 if test "$wxUSE_SHARED" = "yes"; then
32416 *-*-cygwin* | *-*-mingw* )
32417 wx_cv_version_script
=no
32421 { echo "$as_me:$LINENO: checking if the linker accepts --version-script" >&5
32422 echo $ECHO_N "checking if the linker accepts --version-script... $ECHO_C" >&6; }
32423 if test "${wx_cv_version_script+set}" = set; then
32424 echo $ECHO_N "(cached) $ECHO_C" >&6
32427 echo "VER_1 { *; };" >conftest.sym
32428 echo "int main() { return 0; }" >conftest.cpp
32431 $CXX -o conftest.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
32432 -Wl,--version-script,conftest.sym >/dev/null 2>conftest.stderr'
32433 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32434 (eval $ac_try) 2>&5
32436 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32437 (exit $ac_status); }; } ; then
32438 if test -s conftest.stderr
; then
32439 wx_cv_version_script
=no
32441 wx_cv_version_script
=yes
32444 wx_cv_version_script
=no
32447 if test $wx_cv_version_script = yes
32449 echo "struct B { virtual ~B() { } }; \
32450 struct D : public B { }; \
32451 void F() { D d; }" > conftest.cpp
32454 $CXX -shared -fPIC -o conftest1.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
32455 -Wl,--version-script,conftest.sym >/dev/null 2>/dev/null'
32456 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32457 (eval $ac_try) 2>&5
32459 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32460 (exit $ac_status); }; } &&
32462 $CXX -shared -fPIC -o conftest2.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
32463 -Wl,--version-script,conftest.sym conftest1.output >/dev/null 2>/dev/null'
32464 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32465 (eval $ac_try) 2>&5
32467 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32468 (exit $ac_status); }; }
32471 $CXX -shared -fPIC -o conftest3.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
32472 -Wl,--version-script,conftest.sym conftest2.output conftest1.output >/dev/null 2>/dev/null'
32473 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32474 (eval $ac_try) 2>&5
32476 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32477 (exit $ac_status); }; }
32479 wx_cv_version_script
=yes
32481 wx_cv_version_script
=no
32486 rm -f conftest.output conftest.stderr conftest.sym conftest.cpp
32487 rm -f conftest1.output conftest2.output conftest3.output
32490 { echo "$as_me:$LINENO: result: $wx_cv_version_script" >&5
32491 echo "${ECHO_T}$wx_cv_version_script" >&6; }
32493 if test $wx_cv_version_script = yes ; then
32494 LDFLAGS_VERSIONING
="-Wl,--version-script,\$(wx_top_builddir)/version-script"
32501 *-*-linux* | *-*-gnu* )
32502 SAMPLES_RPATH_FLAG
="-Wl,-rpath,\$(wx_top_builddir)/lib"
32503 WXCONFIG_RPATH
="-Wl,-rpath,\$libdir"
32507 if test "$GCC" = yes ; then
32508 CPPFLAGS
="-isystem /usr/openwin/include $CPPFLAGS"
32510 saveLdflags
="$LDFLAGS"
32511 LDFLAGS
="$saveLdflags -Wl,-rpath,/"
32512 { echo "$as_me:$LINENO: checking if the linker accepts -rpath" >&5
32513 echo $ECHO_N "checking if the linker accepts -rpath... $ECHO_C" >&6; }
32514 cat >conftest.
$ac_ext <<_ACEOF
32517 cat confdefs.h
>>conftest.
$ac_ext
32518 cat >>conftest.
$ac_ext <<_ACEOF
32519 /* end confdefs.h. */
32529 rm -f conftest.
$ac_objext conftest
$ac_exeext
32530 if { (ac_try
="$ac_link"
32531 case "(($ac_try" in
32532 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
32533 *) ac_try_echo=$ac_try;;
32535 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32536 (eval "$ac_link") 2>conftest.er1
32538 grep -v '^ *+' conftest.er1 >conftest.err
32540 cat conftest.err >&5
32541 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32542 (exit $ac_status); } && {
32543 test -z "$ac_c_werror_flag" ||
32544 test ! -s conftest.err
32545 } && test -s conftest$ac_exeext &&
32546 $as_test_x conftest$ac_exeext; then
32548 { echo "$as_me:$LINENO: result: yes" >&5
32549 echo "${ECHO_T}yes" >&6; }
32550 SAMPLES_RPATH_FLAG="-Wl,-rpath,\$(wx_top_builddir)/lib"
32551 WXCONFIG_RPATH="-Wl,-rpath,\$libdir"
32554 echo "$as_me: failed program was:" >&5
32555 sed 's/^/| /' conftest.$ac_ext >&5
32558 { echo "$as_me:$LINENO: result: no" >&5
32559 echo "${ECHO_T}no" >&6; }
32560 { echo "$as_me:$LINENO: checking if the linker accepts -R" >&5
32561 echo $ECHO_N "checking if the linker accepts -R... $ECHO_C" >&6; }
32562 LDFLAGS="$saveLdflags -Wl,-R,/"
32563 cat >conftest.$ac_ext <<_ACEOF
32566 cat confdefs.h >>conftest.$ac_ext
32567 cat >>conftest.$ac_ext <<_ACEOF
32568 /* end confdefs.h. */
32578 rm -f conftest.$ac_objext conftest$ac_exeext
32579 if { (ac_try="$ac_link"
32580 case "(($ac_try" in
32581 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
32582 *) ac_try_echo
=$ac_try;;
32584 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32585 (eval "$ac_link") 2>conftest.er1
32587 grep -v '^ *+' conftest.er1
>conftest.err
32589 cat conftest.err
>&5
32590 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32591 (exit $ac_status); } && {
32592 test -z "$ac_c_werror_flag" ||
32593 test ! -s conftest.err
32594 } && test -s conftest
$ac_exeext &&
32595 $as_test_x conftest
$ac_exeext; then
32597 { echo "$as_me:$LINENO: result: yes" >&5
32598 echo "${ECHO_T}yes" >&6; }
32599 SAMPLES_RPATH_FLAG
="-Wl,-R,\$(wx_top_builddir)/lib"
32600 WXCONFIG_RPATH
="-Wl,-R,\$libdir"
32603 echo "$as_me: failed program was:" >&5
32604 sed 's/^/| /' conftest.
$ac_ext >&5
32607 { echo "$as_me:$LINENO: result: no" >&5
32608 echo "${ECHO_T}no" >&6; }
32612 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
32613 conftest
$ac_exeext conftest.
$ac_ext
32617 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
32618 conftest
$ac_exeext conftest.
$ac_ext
32619 LDFLAGS
="$saveLdflags"
32621 SAMPLES_RPATH_FLAG
="-R\$(wx_top_builddir)/lib"
32622 WXCONFIG_RPATH
="-R\$libdir"
32627 install_name_tool
=`which install_name_tool`
32628 if test "$install_name_tool" -a -x "$install_name_tool"; then
32629 SAMPLES_RPATH_POSTLINK
="\$(wx_top_builddir)/change-install-names \$(LIBDIRNAME) \$(prefix) \$@"
32630 cat <<EOF >change-install-names
32632 libnames=\`cd \${1} ; ls -1 | grep '\.[0-9][0-9]*\.dylib\$'\`
32633 inst_cmd="install_name_tool "
32634 for i in \${libnames} ; do
32635 inst_cmd="\${inst_cmd} -change \${2}/lib/\${i} \${1}/\${i}"
32639 chmod +x change
-install-names
32643 *-*-cygwin* | *-*-mingw32* )
32644 WXCONFIG_ONLY_CPPFLAGS
="$WXCONFIG_ONLY_CPPFLAGS -DWXUSINGDLL"
32648 SAMPLES_RPATH_FLAG
="-Wl,+b,\$(wx_top_builddir)/lib"
32649 WXCONFIG_RPATH
="-Wl,+b,\$libdir"
32654 if test $wxUSE_RPATH = "no"; then
32655 SAMPLES_RPATH_FLAG
=''
32656 SAMPLES_RPATH_POSTLINK
=''
32664 config_linkage_component
="-static"
32671 lib_unicode_suffix
=
32673 if test "$wxUSE_UNICODE" = "yes"; then
32674 lib_unicode_suffix
=u
32675 WX_CHARTYPE
="unicode"
32680 WX_DEBUGTYPE
="release"
32682 if test "$wxUSE_DEBUG_FLAG" = "yes"; then
32684 WX_DEBUGTYPE
="debug"
32688 WX_FLAVOUR
=${WX_FLAVOUR:+-$WX_FLAVOUR}
32689 WX_LIB_FLAVOUR
=`echo $WX_FLAVOUR | tr '-' '_'`
32692 if test "$wxUSE_DEBUG_INFO" = "yes"; then
32696 WX_VERSION_TAG
=`echo WX${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}_${WX_RELEASE} | tr "[a-z]" "[A-Z]"`
32698 TOOLCHAIN_NAME
="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}"
32700 TOOLCHAIN_FULLNAME
="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}-${WX_CHARTYPE}-${WX_DEBUGTYPE}${config_linkage_component}-${WX_RELEASE}${WX_FLAVOUR}"
32702 if test "$cross_compiling" = "yes"; then
32703 HOST_SUFFIX
="-$host_alias"
32704 TOOLCHAIN_NAME
="$TOOLCHAIN_NAME$HOST_SUFFIX"
32705 TOOLCHAIN_FULLNAME
="${host_alias}-$TOOLCHAIN_FULLNAME"
32708 WX_LIBRARY_BASENAME_NOGUI
="wx_base${WXBASEPORT}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
32709 if test "${TOOLKIT_DIR}" = "os2"; then
32710 WX_LIBRARY_BASENAME_GUI
="wx_pm${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
32712 WX_LIBRARY_BASENAME_GUI
="wx_${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
32717 if test "$wxUSE_COCOA" = 1; then
32720 ac_cpp
='$CPP $CPPFLAGS'
32721 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32722 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32723 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
32727 { echo "$as_me:$LINENO: checking if AppKit/NSEvent.h conflicts with CoreFoundation" >&5
32728 echo $ECHO_N "checking if AppKit/NSEvent.h conflicts with CoreFoundation... $ECHO_C" >&6; }
32729 cat >conftest.
$ac_ext <<_ACEOF
32732 cat confdefs.h
>>conftest.
$ac_ext
32733 cat >>conftest.
$ac_ext <<_ACEOF
32734 /* end confdefs.h. */
32735 #include <AppKit/NSEvent.h>
32736 #include <CoreFoundation/CoreFoundation.h>
32746 rm -f conftest.
$ac_objext
32747 if { (ac_try
="$ac_compile"
32748 case "(($ac_try" in
32749 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
32750 *) ac_try_echo=$ac_try;;
32752 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32753 (eval "$ac_compile") 2>conftest.er1
32755 grep -v '^ *+' conftest.er1 >conftest.err
32757 cat conftest.err >&5
32758 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32759 (exit $ac_status); } && {
32760 test -z "$ac_c_werror_flag" ||
32761 test ! -s conftest.err
32762 } && test -s conftest.$ac_objext; then
32763 { echo "$as_me:$LINENO: result: no" >&5
32764 echo "${ECHO_T}no" >&6; }
32766 echo "$as_me: failed program was:" >&5
32767 sed 's/^/| /' conftest.$ac_ext >&5
32769 { echo "$as_me:$LINENO: result: yes" >&5
32770 echo "${ECHO_T}yes" >&6; }
32771 { echo "$as_me:$LINENO: checking if defining __Point__ will fix it" >&5
32772 echo $ECHO_N "checking if defining __Point__ will fix it... $ECHO_C" >&6; }
32773 cat >conftest.$ac_ext <<_ACEOF
32776 cat confdefs.h >>conftest.$ac_ext
32777 cat >>conftest.$ac_ext <<_ACEOF
32778 /* end confdefs.h. */
32779 #define __Point__ 1
32780 #include <AppKit/NSEvent.h>
32781 #include <CoreFoundation/CoreFoundation.h>
32791 rm -f conftest.$ac_objext
32792 if { (ac_try="$ac_compile"
32793 case "(($ac_try" in
32794 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
32795 *) ac_try_echo
=$ac_try;;
32797 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32798 (eval "$ac_compile") 2>conftest.er1
32800 grep -v '^ *+' conftest.er1
>conftest.err
32802 cat conftest.err
>&5
32803 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32804 (exit $ac_status); } && {
32805 test -z "$ac_c_werror_flag" ||
32806 test ! -s conftest.err
32807 } && test -s conftest.
$ac_objext; then
32808 { echo "$as_me:$LINENO: result: yes" >&5
32809 echo "${ECHO_T}yes" >&6; }
32810 cat >>confdefs.h
<<\_ACEOF
32811 #define __Point__ 1
32816 echo "$as_me: failed program was:" >&5
32817 sed 's/^/| /' conftest.
$ac_ext >&5
32819 { { echo "$as_me:$LINENO: error: no
32820 See \`config.log' for more details." >&5
32821 echo "$as_me: error: no
32822 See \`config.log' for more details." >&2;}
32823 { (exit 1); exit 1; }; }
32827 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
32831 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
32833 ac_cpp
='$CPP $CPPFLAGS'
32834 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32835 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32836 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
32840 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1; then
32841 WX_RESOURCES_MACOSX_ASCII
="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.r"
32842 WX_RESOURCES_MACOSX_DATA
="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.rsrc"
32844 LIBWXMACRES
="\$(wx_top_builddir)/lib/${WX_RESOURCES_MACOSX_ASCII}"
32846 # Extract the first word of "Rez", so it can be a program name with args.
32847 set dummy Rez
; ac_word
=$2
32848 { echo "$as_me:$LINENO: checking for $ac_word" >&5
32849 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
32850 if test "${ac_cv_prog_REZ+set}" = set; then
32851 echo $ECHO_N "(cached) $ECHO_C" >&6
32853 if test -n "$REZ"; then
32854 ac_cv_prog_REZ
="$REZ" # Let the user override the test.
32856 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
32857 for as_dir
in $PATH
32860 test -z "$as_dir" && as_dir
=.
32861 for ac_exec_ext
in '' $ac_executable_extensions; do
32862 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
32863 ac_cv_prog_REZ
="Rez"
32864 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
32871 test -z "$ac_cv_prog_REZ" && ac_cv_prog_REZ
="/Developer/Tools/Rez"
32874 REZ
=$ac_cv_prog_REZ
32875 if test -n "$REZ"; then
32876 { echo "$as_me:$LINENO: result: $REZ" >&5
32877 echo "${ECHO_T}$REZ" >&6; }
32879 { echo "$as_me:$LINENO: result: no" >&5
32880 echo "${ECHO_T}no" >&6; }
32884 # Extract the first word of "DeRez", so it can be a program name with args.
32885 set dummy DeRez
; ac_word
=$2
32886 { echo "$as_me:$LINENO: checking for $ac_word" >&5
32887 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
32888 if test "${ac_cv_prog_DEREZ+set}" = set; then
32889 echo $ECHO_N "(cached) $ECHO_C" >&6
32891 if test -n "$DEREZ"; then
32892 ac_cv_prog_DEREZ
="$DEREZ" # Let the user override the test.
32894 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
32895 for as_dir
in $PATH
32898 test -z "$as_dir" && as_dir
=.
32899 for ac_exec_ext
in '' $ac_executable_extensions; do
32900 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
32901 ac_cv_prog_DEREZ
="DeRez"
32902 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
32909 test -z "$ac_cv_prog_DEREZ" && ac_cv_prog_DEREZ
="/Developer/Tools/DeRez"
32912 DEREZ
=$ac_cv_prog_DEREZ
32913 if test -n "$DEREZ"; then
32914 { echo "$as_me:$LINENO: result: $DEREZ" >&5
32915 echo "${ECHO_T}$DEREZ" >&6; }
32917 { echo "$as_me:$LINENO: result: no" >&5
32918 echo "${ECHO_T}no" >&6; }
32922 # Extract the first word of "SetFile", so it can be a program name with args.
32923 set dummy SetFile
; ac_word
=$2
32924 { echo "$as_me:$LINENO: checking for $ac_word" >&5
32925 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
32926 if test "${ac_cv_prog_SETFILE+set}" = set; then
32927 echo $ECHO_N "(cached) $ECHO_C" >&6
32929 if test -n "$SETFILE"; then
32930 ac_cv_prog_SETFILE
="$SETFILE" # Let the user override the test.
32932 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
32933 for as_dir
in $PATH
32936 test -z "$as_dir" && as_dir
=.
32937 for ac_exec_ext
in '' $ac_executable_extensions; do
32938 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
32939 ac_cv_prog_SETFILE
="SetFile"
32940 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
32947 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE
="/Developer/Tools/SetFile"
32950 SETFILE
=$ac_cv_prog_SETFILE
32951 if test -n "$SETFILE"; then
32952 { echo "$as_me:$LINENO: result: $SETFILE" >&5
32953 echo "${ECHO_T}$SETFILE" >&6; }
32955 { echo "$as_me:$LINENO: result: no" >&5
32956 echo "${ECHO_T}no" >&6; }
32961 MACSETFILE
="\$(SETFILE)"
32963 if test "$wxUSE_MAC" = 1; then
32964 POSTLINK_COMMAND
="\$(REZ) -d __DARWIN__ -t APPL Carbon.r -o"
32966 WXCONFIG_RESFLAGS
="-d __DARWIN__ -t APPL Carbon.r -o"
32968 POSTLINK_COMMAND
="echo -n | \$(REZ) -d __DARWIN__ -t APPL ${LIBWXMACRES}"
32969 RESCOMP
="echo -n \| $REZ"
32970 WXCONFIG_RESFLAGS
="-d __DARWIN__ -t APPL \$libdir/$WX_RESOURCES_MACOSX_ASCII"
32976 if test "$wxUSE_PM" = 1; then
32978 WXCONFIG_RESFLAGS
="-ep"
32980 POSTLINK_COMMAND
="$RESCOMP $WXCONFIG_RESFLAGS"
32982 POSTLINK_COMMAND
="@true"
32989 { echo "$as_me:$LINENO: checking for mode_t" >&5
32990 echo $ECHO_N "checking for mode_t... $ECHO_C" >&6; }
32991 if test "${ac_cv_type_mode_t+set}" = set; then
32992 echo $ECHO_N "(cached) $ECHO_C" >&6
32994 cat >conftest.
$ac_ext <<_ACEOF
32997 cat confdefs.h
>>conftest.
$ac_ext
32998 cat >>conftest.
$ac_ext <<_ACEOF
32999 /* end confdefs.h. */
33000 $ac_includes_default
33001 typedef mode_t ac__type_new_;
33005 if ((ac__type_new_ *) 0)
33007 if (sizeof (ac__type_new_))
33013 rm -f conftest.
$ac_objext
33014 if { (ac_try
="$ac_compile"
33015 case "(($ac_try" in
33016 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
33017 *) ac_try_echo=$ac_try;;
33019 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33020 (eval "$ac_compile") 2>conftest.er1
33022 grep -v '^ *+' conftest.er1 >conftest.err
33024 cat conftest.err >&5
33025 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33026 (exit $ac_status); } && {
33027 test -z "$ac_c_werror_flag" ||
33028 test ! -s conftest.err
33029 } && test -s conftest.$ac_objext; then
33030 ac_cv_type_mode_t=yes
33032 echo "$as_me: failed program was:" >&5
33033 sed 's/^/| /' conftest.$ac_ext >&5
33035 ac_cv_type_mode_t=no
33038 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33040 { echo "$as_me:$LINENO: result: $ac_cv_type_mode_t" >&5
33041 echo "${ECHO_T}$ac_cv_type_mode_t" >&6; }
33042 if test $ac_cv_type_mode_t = yes; then
33046 cat >>confdefs.h <<_ACEOF
33052 { echo "$as_me:$LINENO: checking for off_t" >&5
33053 echo $ECHO_N "checking for off_t... $ECHO_C" >&6; }
33054 if test "${ac_cv_type_off_t+set}" = set; then
33055 echo $ECHO_N "(cached) $ECHO_C" >&6
33057 cat >conftest.$ac_ext <<_ACEOF
33060 cat confdefs.h >>conftest.$ac_ext
33061 cat >>conftest.$ac_ext <<_ACEOF
33062 /* end confdefs.h. */
33063 $ac_includes_default
33064 typedef off_t ac__type_new_;
33068 if ((ac__type_new_ *) 0)
33070 if (sizeof (ac__type_new_))
33076 rm -f conftest.$ac_objext
33077 if { (ac_try="$ac_compile"
33078 case "(($ac_try" in
33079 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
33080 *) ac_try_echo
=$ac_try;;
33082 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33083 (eval "$ac_compile") 2>conftest.er1
33085 grep -v '^ *+' conftest.er1
>conftest.err
33087 cat conftest.err
>&5
33088 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33089 (exit $ac_status); } && {
33090 test -z "$ac_c_werror_flag" ||
33091 test ! -s conftest.err
33092 } && test -s conftest.
$ac_objext; then
33093 ac_cv_type_off_t
=yes
33095 echo "$as_me: failed program was:" >&5
33096 sed 's/^/| /' conftest.
$ac_ext >&5
33098 ac_cv_type_off_t
=no
33101 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
33103 { echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
33104 echo "${ECHO_T}$ac_cv_type_off_t" >&6; }
33105 if test $ac_cv_type_off_t = yes; then
33109 cat >>confdefs.h
<<_ACEOF
33110 #define off_t long int
33115 { echo "$as_me:$LINENO: checking for pid_t" >&5
33116 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6; }
33117 if test "${ac_cv_type_pid_t+set}" = set; then
33118 echo $ECHO_N "(cached) $ECHO_C" >&6
33120 cat >conftest.
$ac_ext <<_ACEOF
33123 cat confdefs.h
>>conftest.
$ac_ext
33124 cat >>conftest.
$ac_ext <<_ACEOF
33125 /* end confdefs.h. */
33126 $ac_includes_default
33127 typedef pid_t ac__type_new_;
33131 if ((ac__type_new_ *) 0)
33133 if (sizeof (ac__type_new_))
33139 rm -f conftest.
$ac_objext
33140 if { (ac_try
="$ac_compile"
33141 case "(($ac_try" in
33142 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
33143 *) ac_try_echo=$ac_try;;
33145 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33146 (eval "$ac_compile") 2>conftest.er1
33148 grep -v '^ *+' conftest.er1 >conftest.err
33150 cat conftest.err >&5
33151 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33152 (exit $ac_status); } && {
33153 test -z "$ac_c_werror_flag" ||
33154 test ! -s conftest.err
33155 } && test -s conftest.$ac_objext; then
33156 ac_cv_type_pid_t=yes
33158 echo "$as_me: failed program was:" >&5
33159 sed 's/^/| /' conftest.$ac_ext >&5
33161 ac_cv_type_pid_t=no
33164 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33166 { echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
33167 echo "${ECHO_T}$ac_cv_type_pid_t" >&6; }
33168 if test $ac_cv_type_pid_t = yes; then
33172 cat >>confdefs.h <<_ACEOF
33178 { echo "$as_me:$LINENO: checking for size_t" >&5
33179 echo $ECHO_N "checking for size_t... $ECHO_C" >&6; }
33180 if test "${ac_cv_type_size_t+set}" = set; then
33181 echo $ECHO_N "(cached) $ECHO_C" >&6
33183 cat >conftest.$ac_ext <<_ACEOF
33186 cat confdefs.h >>conftest.$ac_ext
33187 cat >>conftest.$ac_ext <<_ACEOF
33188 /* end confdefs.h. */
33189 $ac_includes_default
33190 typedef size_t ac__type_new_;
33194 if ((ac__type_new_ *) 0)
33196 if (sizeof (ac__type_new_))
33202 rm -f conftest.$ac_objext
33203 if { (ac_try="$ac_compile"
33204 case "(($ac_try" in
33205 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
33206 *) ac_try_echo
=$ac_try;;
33208 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33209 (eval "$ac_compile") 2>conftest.er1
33211 grep -v '^ *+' conftest.er1
>conftest.err
33213 cat conftest.err
>&5
33214 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33215 (exit $ac_status); } && {
33216 test -z "$ac_c_werror_flag" ||
33217 test ! -s conftest.err
33218 } && test -s conftest.
$ac_objext; then
33219 ac_cv_type_size_t
=yes
33221 echo "$as_me: failed program was:" >&5
33222 sed 's/^/| /' conftest.
$ac_ext >&5
33224 ac_cv_type_size_t
=no
33227 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
33229 { echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
33230 echo "${ECHO_T}$ac_cv_type_size_t" >&6; }
33231 if test $ac_cv_type_size_t = yes; then
33235 cat >>confdefs.h
<<_ACEOF
33236 #define size_t unsigned int
33241 { echo "$as_me:$LINENO: checking for uid_t in sys/types.h" >&5
33242 echo $ECHO_N "checking for uid_t in sys/types.h... $ECHO_C" >&6; }
33243 if test "${ac_cv_type_uid_t+set}" = set; then
33244 echo $ECHO_N "(cached) $ECHO_C" >&6
33246 cat >conftest.
$ac_ext <<_ACEOF
33249 cat confdefs.h
>>conftest.
$ac_ext
33250 cat >>conftest.
$ac_ext <<_ACEOF
33251 /* end confdefs.h. */
33252 #include <sys/types.h>
33255 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
33256 $EGREP "uid_t" >/dev
/null
2>&1; then
33257 ac_cv_type_uid_t
=yes
33259 ac_cv_type_uid_t
=no
33264 { echo "$as_me:$LINENO: result: $ac_cv_type_uid_t" >&5
33265 echo "${ECHO_T}$ac_cv_type_uid_t" >&6; }
33266 if test $ac_cv_type_uid_t = no
; then
33268 cat >>confdefs.h
<<\_ACEOF
33273 cat >>confdefs.h
<<\_ACEOF
33280 { echo "$as_me:$LINENO: checking for ssize_t" >&5
33281 echo $ECHO_N "checking for ssize_t... $ECHO_C" >&6; }
33282 if test "${ac_cv_type_ssize_t+set}" = set; then
33283 echo $ECHO_N "(cached) $ECHO_C" >&6
33285 cat >conftest.
$ac_ext <<_ACEOF
33288 cat confdefs.h
>>conftest.
$ac_ext
33289 cat >>conftest.
$ac_ext <<_ACEOF
33290 /* end confdefs.h. */
33291 $ac_includes_default
33292 typedef ssize_t ac__type_new_;
33296 if ((ac__type_new_ *) 0)
33298 if (sizeof (ac__type_new_))
33304 rm -f conftest.
$ac_objext
33305 if { (ac_try
="$ac_compile"
33306 case "(($ac_try" in
33307 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
33308 *) ac_try_echo=$ac_try;;
33310 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33311 (eval "$ac_compile") 2>conftest.er1
33313 grep -v '^ *+' conftest.er1 >conftest.err
33315 cat conftest.err >&5
33316 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33317 (exit $ac_status); } && {
33318 test -z "$ac_c_werror_flag" ||
33319 test ! -s conftest.err
33320 } && test -s conftest.$ac_objext; then
33321 ac_cv_type_ssize_t=yes
33323 echo "$as_me: failed program was:" >&5
33324 sed 's/^/| /' conftest.$ac_ext >&5
33326 ac_cv_type_ssize_t=no
33329 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33331 { echo "$as_me:$LINENO: result: $ac_cv_type_ssize_t" >&5
33332 echo "${ECHO_T}$ac_cv_type_ssize_t" >&6; }
33333 if test $ac_cv_type_ssize_t = yes; then
33335 cat >>confdefs.h <<_ACEOF
33336 #define HAVE_SSIZE_T 1
33344 ac_cpp='$CXXCPP $CPPFLAGS'
33345 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33346 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33347 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33348 { echo "$as_me:$LINENO: checking if size_t is unsigned int" >&5
33349 echo $ECHO_N "checking if size_t is unsigned int... $ECHO_C" >&6; }
33350 if test "${wx_cv_size_t_is_uint+set}" = set; then
33351 echo $ECHO_N "(cached) $ECHO_C" >&6
33354 cat >conftest.$ac_ext <<_ACEOF
33357 cat confdefs.h >>conftest.$ac_ext
33358 cat >>conftest.$ac_ext <<_ACEOF
33359 /* end confdefs.h. */
33360 #include <stddef.h>
33367 struct Foo { void foo(size_t); void foo(unsigned int); };
33375 rm -f conftest.$ac_objext
33376 if { (ac_try="$ac_compile"
33377 case "(($ac_try" in
33378 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
33379 *) ac_try_echo
=$ac_try;;
33381 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33382 (eval "$ac_compile") 2>conftest.er1
33384 grep -v '^ *+' conftest.er1
>conftest.err
33386 cat conftest.err
>&5
33387 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33388 (exit $ac_status); } && {
33389 test -z "$ac_cxx_werror_flag" ||
33390 test ! -s conftest.err
33391 } && test -s conftest.
$ac_objext; then
33392 wx_cv_size_t_is_uint
=no
33394 echo "$as_me: failed program was:" >&5
33395 sed 's/^/| /' conftest.
$ac_ext >&5
33397 wx_cv_size_t_is_uint
=yes
33401 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
33405 { echo "$as_me:$LINENO: result: $wx_cv_size_t_is_uint" >&5
33406 echo "${ECHO_T}$wx_cv_size_t_is_uint" >&6; }
33408 if test "$wx_cv_size_t_is_uint" = "yes"; then
33409 cat >>confdefs.h
<<\_ACEOF
33410 #define wxSIZE_T_IS_UINT 1
33414 { echo "$as_me:$LINENO: checking if size_t is unsigned long" >&5
33415 echo $ECHO_N "checking if size_t is unsigned long... $ECHO_C" >&6; }
33416 if test "${wx_cv_size_t_is_ulong+set}" = set; then
33417 echo $ECHO_N "(cached) $ECHO_C" >&6
33419 cat >conftest.
$ac_ext <<_ACEOF
33422 cat confdefs.h
>>conftest.
$ac_ext
33423 cat >>conftest.
$ac_ext <<_ACEOF
33424 /* end confdefs.h. */
33425 #include <stddef.h>
33432 struct Foo { void foo(size_t); void foo(unsigned long); };
33440 rm -f conftest.
$ac_objext
33441 if { (ac_try
="$ac_compile"
33442 case "(($ac_try" in
33443 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
33444 *) ac_try_echo=$ac_try;;
33446 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33447 (eval "$ac_compile") 2>conftest.er1
33449 grep -v '^ *+' conftest.er1 >conftest.err
33451 cat conftest.err >&5
33452 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33453 (exit $ac_status); } && {
33454 test -z "$ac_cxx_werror_flag" ||
33455 test ! -s conftest.err
33456 } && test -s conftest.$ac_objext; then
33457 wx_cv_size_t_is_ulong=no
33459 echo "$as_me: failed program was:" >&5
33460 sed 's/^/| /' conftest.$ac_ext >&5
33462 wx_cv_size_t_is_ulong=yes
33466 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33469 { echo "$as_me:$LINENO: result: $wx_cv_size_t_is_ulong" >&5
33470 echo "${ECHO_T}$wx_cv_size_t_is_ulong" >&6; }
33472 if test "$wx_cv_size_t_is_ulong" = "yes"; then
33473 cat >>confdefs.h <<\_ACEOF
33474 #define wxSIZE_T_IS_ULONG 1
33481 ac_cpp='$CPP $CPPFLAGS'
33482 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33483 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33484 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33487 { echo "$as_me:$LINENO: checking for pw_gecos in struct passwd" >&5
33488 echo $ECHO_N "checking for pw_gecos in struct passwd... $ECHO_C" >&6; }
33489 if test "${wx_cv_struct_pw_gecos+set}" = set; then
33490 echo $ECHO_N "(cached) $ECHO_C" >&6
33493 cat >conftest.$ac_ext <<_ACEOF
33496 cat confdefs.h >>conftest.$ac_ext
33497 cat >>conftest.$ac_ext <<_ACEOF
33498 /* end confdefs.h. */
33512 rm -f conftest.$ac_objext
33513 if { (ac_try="$ac_compile"
33514 case "(($ac_try" in
33515 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
33516 *) ac_try_echo
=$ac_try;;
33518 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33519 (eval "$ac_compile") 2>conftest.er1
33521 grep -v '^ *+' conftest.er1
>conftest.err
33523 cat conftest.err
>&5
33524 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33525 (exit $ac_status); } && {
33526 test -z "$ac_c_werror_flag" ||
33527 test ! -s conftest.err
33528 } && test -s conftest.
$ac_objext; then
33530 wx_cv_struct_pw_gecos
=yes
33533 echo "$as_me: failed program was:" >&5
33534 sed 's/^/| /' conftest.
$ac_ext >&5
33537 wx_cv_struct_pw_gecos
=no
33542 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
33546 { echo "$as_me:$LINENO: result: $wx_cv_struct_pw_gecos" >&5
33547 echo "${ECHO_T}$wx_cv_struct_pw_gecos" >&6; }
33549 if test "$wx_cv_struct_pw_gecos" = "yes"; then
33550 cat >>confdefs.h
<<\_ACEOF
33551 #define HAVE_PW_GECOS 1
33557 if test "$wxUSE_WCHAR_T" = "yes"; then
33558 cat >>confdefs.h
<<\_ACEOF
33559 #define wxUSE_WCHAR_T 1
33566 for ac_func
in wcslen
33568 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33569 { echo "$as_me:$LINENO: checking for $ac_func" >&5
33570 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
33571 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
33572 echo $ECHO_N "(cached) $ECHO_C" >&6
33574 cat >conftest.
$ac_ext <<_ACEOF
33577 cat confdefs.h
>>conftest.
$ac_ext
33578 cat >>conftest.
$ac_ext <<_ACEOF
33579 /* end confdefs.h. */
33580 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33581 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33582 #define $ac_func innocuous_$ac_func
33584 /* System header to define __stub macros and hopefully few prototypes,
33585 which can conflict with char $ac_func (); below.
33586 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33587 <limits.h> exists even on freestanding compilers. */
33590 # include <limits.h>
33592 # include <assert.h>
33597 /* Override any GCC internal prototype to avoid an error.
33598 Use char because int might match the return type of a GCC
33599 builtin and then its argument prototype would still apply. */
33604 /* The GNU C library defines this for functions which it implements
33605 to always fail with ENOSYS. Some functions are actually named
33606 something starting with __ and the normal name is an alias. */
33607 #if defined __stub_$ac_func || defined __stub___$ac_func
33614 return $ac_func ();
33619 rm -f conftest.
$ac_objext conftest
$ac_exeext
33620 if { (ac_try
="$ac_link"
33621 case "(($ac_try" in
33622 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
33623 *) ac_try_echo=$ac_try;;
33625 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33626 (eval "$ac_link") 2>conftest.er1
33628 grep -v '^ *+' conftest.er1 >conftest.err
33630 cat conftest.err >&5
33631 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33632 (exit $ac_status); } && {
33633 test -z "$ac_c_werror_flag" ||
33634 test ! -s conftest.err
33635 } && test -s conftest$ac_exeext &&
33636 $as_test_x conftest$ac_exeext; then
33637 eval "$as_ac_var=yes"
33639 echo "$as_me: failed program was:" >&5
33640 sed 's/^/| /' conftest.$ac_ext >&5
33642 eval "$as_ac_var=no"
33645 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33646 conftest$ac_exeext conftest.$ac_ext
33648 ac_res=`eval echo '${'$as_ac_var'}'`
33649 { echo "$as_me:$LINENO: result: $ac_res" >&5
33650 echo "${ECHO_T}$ac_res" >&6; }
33651 if test `eval echo '${'$as_ac_var'}'` = yes; then
33652 cat >>confdefs.h <<_ACEOF
33653 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33660 if test "$WCSLEN_FOUND" = 0; then
33661 if test "$TOOLKIT" = "MSW"; then
33662 { echo "$as_me:$LINENO: checking for wcslen in -lmsvcrt" >&5
33663 echo $ECHO_N "checking for wcslen in -lmsvcrt... $ECHO_C" >&6; }
33664 if test "${ac_cv_lib_msvcrt_wcslen+set}" = set; then
33665 echo $ECHO_N "(cached) $ECHO_C" >&6
33667 ac_check_lib_save_LIBS=$LIBS
33668 LIBS="-lmsvcrt $LIBS"
33669 cat >conftest.$ac_ext <<_ACEOF
33672 cat confdefs.h >>conftest.$ac_ext
33673 cat >>conftest.$ac_ext <<_ACEOF
33674 /* end confdefs.h. */
33676 /* Override any GCC internal prototype to avoid an error.
33677 Use char because int might match the return type of a GCC
33678 builtin and then its argument prototype would still apply. */
33691 rm -f conftest.$ac_objext conftest$ac_exeext
33692 if { (ac_try="$ac_link"
33693 case "(($ac_try" in
33694 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
33695 *) ac_try_echo
=$ac_try;;
33697 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33698 (eval "$ac_link") 2>conftest.er1
33700 grep -v '^ *+' conftest.er1
>conftest.err
33702 cat conftest.err
>&5
33703 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33704 (exit $ac_status); } && {
33705 test -z "$ac_c_werror_flag" ||
33706 test ! -s conftest.err
33707 } && test -s conftest
$ac_exeext &&
33708 $as_test_x conftest
$ac_exeext; then
33709 ac_cv_lib_msvcrt_wcslen
=yes
33711 echo "$as_me: failed program was:" >&5
33712 sed 's/^/| /' conftest.
$ac_ext >&5
33714 ac_cv_lib_msvcrt_wcslen
=no
33717 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
33718 conftest
$ac_exeext conftest.
$ac_ext
33719 LIBS
=$ac_check_lib_save_LIBS
33721 { echo "$as_me:$LINENO: result: $ac_cv_lib_msvcrt_wcslen" >&5
33722 echo "${ECHO_T}$ac_cv_lib_msvcrt_wcslen" >&6; }
33723 if test $ac_cv_lib_msvcrt_wcslen = yes; then
33728 { echo "$as_me:$LINENO: checking for wcslen in -lw" >&5
33729 echo $ECHO_N "checking for wcslen in -lw... $ECHO_C" >&6; }
33730 if test "${ac_cv_lib_w_wcslen+set}" = set; then
33731 echo $ECHO_N "(cached) $ECHO_C" >&6
33733 ac_check_lib_save_LIBS
=$LIBS
33735 cat >conftest.
$ac_ext <<_ACEOF
33738 cat confdefs.h
>>conftest.
$ac_ext
33739 cat >>conftest.
$ac_ext <<_ACEOF
33740 /* end confdefs.h. */
33742 /* Override any GCC internal prototype to avoid an error.
33743 Use char because int might match the return type of a GCC
33744 builtin and then its argument prototype would still apply. */
33757 rm -f conftest.
$ac_objext conftest
$ac_exeext
33758 if { (ac_try
="$ac_link"
33759 case "(($ac_try" in
33760 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
33761 *) ac_try_echo=$ac_try;;
33763 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33764 (eval "$ac_link") 2>conftest.er1
33766 grep -v '^ *+' conftest.er1 >conftest.err
33768 cat conftest.err >&5
33769 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33770 (exit $ac_status); } && {
33771 test -z "$ac_c_werror_flag" ||
33772 test ! -s conftest.err
33773 } && test -s conftest$ac_exeext &&
33774 $as_test_x conftest$ac_exeext; then
33775 ac_cv_lib_w_wcslen=yes
33777 echo "$as_me: failed program was:" >&5
33778 sed 's/^/| /' conftest.$ac_ext >&5
33780 ac_cv_lib_w_wcslen=no
33783 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33784 conftest$ac_exeext conftest.$ac_ext
33785 LIBS=$ac_check_lib_save_LIBS
33787 { echo "$as_me:$LINENO: result: $ac_cv_lib_w_wcslen" >&5
33788 echo "${ECHO_T}$ac_cv_lib_w_wcslen" >&6; }
33789 if test $ac_cv_lib_w_wcslen = yes; then
33799 if test "$WCSLEN_FOUND" = 1; then
33800 cat >>confdefs.h <<\_ACEOF
33801 #define HAVE_WCSLEN 1
33806 if test "$USE_HPUX" = 1 -a "$GCC" != "yes"; then
33807 CPPFLAGS="-D_INCLUDE__STDC_A1_SOURCE $CPPFLAGS"
33810 { echo "$as_me:$LINENO: checking for mbstate_t" >&5
33811 echo $ECHO_N "checking for mbstate_t... $ECHO_C" >&6; }
33812 if test "${ac_cv_type_mbstate_t+set}" = set; then
33813 echo $ECHO_N "(cached) $ECHO_C" >&6
33815 cat >conftest.$ac_ext <<_ACEOF
33818 cat confdefs.h >>conftest.$ac_ext
33819 cat >>conftest.$ac_ext <<_ACEOF
33820 /* end confdefs.h. */
33823 typedef mbstate_t ac__type_new_;
33827 if ((ac__type_new_ *) 0)
33829 if (sizeof (ac__type_new_))
33835 rm -f conftest.$ac_objext
33836 if { (ac_try="$ac_compile"
33837 case "(($ac_try" in
33838 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
33839 *) ac_try_echo
=$ac_try;;
33841 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33842 (eval "$ac_compile") 2>conftest.er1
33844 grep -v '^ *+' conftest.er1
>conftest.err
33846 cat conftest.err
>&5
33847 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33848 (exit $ac_status); } && {
33849 test -z "$ac_c_werror_flag" ||
33850 test ! -s conftest.err
33851 } && test -s conftest.
$ac_objext; then
33852 ac_cv_type_mbstate_t
=yes
33854 echo "$as_me: failed program was:" >&5
33855 sed 's/^/| /' conftest.
$ac_ext >&5
33857 ac_cv_type_mbstate_t
=no
33860 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
33862 { echo "$as_me:$LINENO: result: $ac_cv_type_mbstate_t" >&5
33863 echo "${ECHO_T}$ac_cv_type_mbstate_t" >&6; }
33864 if test $ac_cv_type_mbstate_t = yes; then
33866 cat >>confdefs.h
<<_ACEOF
33867 #define HAVE_MBSTATE_T 1
33871 for ac_func
in wcsrtombs
33873 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33874 { echo "$as_me:$LINENO: checking for $ac_func" >&5
33875 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
33876 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
33877 echo $ECHO_N "(cached) $ECHO_C" >&6
33879 cat >conftest.
$ac_ext <<_ACEOF
33882 cat confdefs.h
>>conftest.
$ac_ext
33883 cat >>conftest.
$ac_ext <<_ACEOF
33884 /* end confdefs.h. */
33885 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33886 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33887 #define $ac_func innocuous_$ac_func
33889 /* System header to define __stub macros and hopefully few prototypes,
33890 which can conflict with char $ac_func (); below.
33891 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33892 <limits.h> exists even on freestanding compilers. */
33895 # include <limits.h>
33897 # include <assert.h>
33902 /* Override any GCC internal prototype to avoid an error.
33903 Use char because int might match the return type of a GCC
33904 builtin and then its argument prototype would still apply. */
33909 /* The GNU C library defines this for functions which it implements
33910 to always fail with ENOSYS. Some functions are actually named
33911 something starting with __ and the normal name is an alias. */
33912 #if defined __stub_$ac_func || defined __stub___$ac_func
33919 return $ac_func ();
33924 rm -f conftest.
$ac_objext conftest
$ac_exeext
33925 if { (ac_try
="$ac_link"
33926 case "(($ac_try" in
33927 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
33928 *) ac_try_echo=$ac_try;;
33930 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33931 (eval "$ac_link") 2>conftest.er1
33933 grep -v '^ *+' conftest.er1 >conftest.err
33935 cat conftest.err >&5
33936 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33937 (exit $ac_status); } && {
33938 test -z "$ac_c_werror_flag" ||
33939 test ! -s conftest.err
33940 } && test -s conftest$ac_exeext &&
33941 $as_test_x conftest$ac_exeext; then
33942 eval "$as_ac_var=yes"
33944 echo "$as_me: failed program was:" >&5
33945 sed 's/^/| /' conftest.$ac_ext >&5
33947 eval "$as_ac_var=no"
33950 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33951 conftest$ac_exeext conftest.$ac_ext
33953 ac_res=`eval echo '${'$as_ac_var'}'`
33954 { echo "$as_me:$LINENO: result: $ac_res" >&5
33955 echo "${ECHO_T}$ac_res" >&6; }
33956 if test `eval echo '${'$as_ac_var'}'` = yes; then
33957 cat >>confdefs.h <<_ACEOF
33958 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33967 { echo "$as_me:$LINENO: WARNING: Wide character support is unavailable" >&5
33968 echo "$as_me: WARNING: Wide character support is unavailable" >&2;}
33973 for ac_func in snprintf vsnprintf
33975 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33976 { echo "$as_me:$LINENO: checking for $ac_func" >&5
33977 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
33978 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
33979 echo $ECHO_N "(cached) $ECHO_C" >&6
33981 cat >conftest.$ac_ext <<_ACEOF
33984 cat confdefs.h >>conftest.$ac_ext
33985 cat >>conftest.$ac_ext <<_ACEOF
33986 /* end confdefs.h. */
33987 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33988 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33989 #define $ac_func innocuous_$ac_func
33991 /* System header to define __stub macros and hopefully few prototypes,
33992 which can conflict with char $ac_func (); below.
33993 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33994 <limits.h> exists even on freestanding compilers. */
33997 # include <limits.h>
33999 # include <assert.h>
34004 /* Override any GCC internal prototype to avoid an error.
34005 Use char because int might match the return type of a GCC
34006 builtin and then its argument prototype would still apply. */
34011 /* The GNU C library defines this for functions which it implements
34012 to always fail with ENOSYS. Some functions are actually named
34013 something starting with __ and the normal name is an alias. */
34014 #if defined __stub_$ac_func || defined __stub___$ac_func
34021 return $ac_func ();
34026 rm -f conftest.$ac_objext conftest$ac_exeext
34027 if { (ac_try="$ac_link"
34028 case "(($ac_try" in
34029 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
34030 *) ac_try_echo
=$ac_try;;
34032 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34033 (eval "$ac_link") 2>conftest.er1
34035 grep -v '^ *+' conftest.er1
>conftest.err
34037 cat conftest.err
>&5
34038 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34039 (exit $ac_status); } && {
34040 test -z "$ac_c_werror_flag" ||
34041 test ! -s conftest.err
34042 } && test -s conftest
$ac_exeext &&
34043 $as_test_x conftest
$ac_exeext; then
34044 eval "$as_ac_var=yes"
34046 echo "$as_me: failed program was:" >&5
34047 sed 's/^/| /' conftest.
$ac_ext >&5
34049 eval "$as_ac_var=no"
34052 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
34053 conftest
$ac_exeext conftest.
$ac_ext
34055 ac_res
=`eval echo '${'$as_ac_var'}'`
34056 { echo "$as_me:$LINENO: result: $ac_res" >&5
34057 echo "${ECHO_T}$ac_res" >&6; }
34058 if test `eval echo '${'$as_ac_var'}'` = yes; then
34059 cat >>confdefs.h
<<_ACEOF
34060 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34067 if test "$ac_cv_func_vsnprintf" = "yes"; then
34068 { echo "$as_me:$LINENO: checking for vsnprintf declaration" >&5
34069 echo $ECHO_N "checking for vsnprintf declaration... $ECHO_C" >&6; }
34070 if test "${wx_cv_func_vsnprintf_decl+set}" = set; then
34071 echo $ECHO_N "(cached) $ECHO_C" >&6
34074 cat >conftest.
$ac_ext <<_ACEOF
34077 cat confdefs.h
>>conftest.
$ac_ext
34078 cat >>conftest.
$ac_ext <<_ACEOF
34079 /* end confdefs.h. */
34082 #include <stdarg.h>
34084 #if __MSL__ >= 0x6000
34086 using namespace std;
34096 vsnprintf(buf, 10u, "%s", ap);
34102 rm -f conftest.
$ac_objext
34103 if { (ac_try
="$ac_compile"
34104 case "(($ac_try" in
34105 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
34106 *) ac_try_echo=$ac_try;;
34108 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34109 (eval "$ac_compile") 2>conftest.er1
34111 grep -v '^ *+' conftest.er1 >conftest.err
34113 cat conftest.err >&5
34114 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34115 (exit $ac_status); } && {
34116 test -z "$ac_c_werror_flag" ||
34117 test ! -s conftest.err
34118 } && test -s conftest.$ac_objext; then
34119 wx_cv_func_vsnprintf_decl=yes
34121 echo "$as_me: failed program was:" >&5
34122 sed 's/^/| /' conftest.$ac_ext >&5
34124 wx_cv_func_vsnprintf_decl=no
34128 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34132 { echo "$as_me:$LINENO: result: $wx_cv_func_vsnprintf_decl" >&5
34133 echo "${ECHO_T}$wx_cv_func_vsnprintf_decl" >&6; }
34135 if test "$wx_cv_func_vsnprintf_decl" = "yes"; then
34136 cat >>confdefs.h <<\_ACEOF
34137 #define HAVE_VSNPRINTF_DECL 1
34141 { echo "$as_me:$LINENO: checking if vsnprintf declaration is broken" >&5
34142 echo $ECHO_N "checking if vsnprintf declaration is broken... $ECHO_C" >&6; }
34143 if test "${wx_cv_func_broken_vsnprintf_decl+set}" = set; then
34144 echo $ECHO_N "(cached) $ECHO_C" >&6
34147 cat >conftest.$ac_ext <<_ACEOF
34150 cat confdefs.h >>conftest.$ac_ext
34151 cat >>conftest.$ac_ext <<_ACEOF
34152 /* end confdefs.h. */
34155 #include <stdarg.h>
34157 #if __MSL__ >= 0x6000
34159 using namespace std;
34169 const char *fmt = "%s";
34170 vsnprintf(buf, 10u, fmt, ap);
34176 rm -f conftest.$ac_objext
34177 if { (ac_try="$ac_compile"
34178 case "(($ac_try" in
34179 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
34180 *) ac_try_echo
=$ac_try;;
34182 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34183 (eval "$ac_compile") 2>conftest.er1
34185 grep -v '^ *+' conftest.er1
>conftest.err
34187 cat conftest.err
>&5
34188 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34189 (exit $ac_status); } && {
34190 test -z "$ac_c_werror_flag" ||
34191 test ! -s conftest.err
34192 } && test -s conftest.
$ac_objext; then
34193 wx_cv_func_broken_vsnprintf_decl
=no
34195 echo "$as_me: failed program was:" >&5
34196 sed 's/^/| /' conftest.
$ac_ext >&5
34198 wx_cv_func_broken_vsnprintf_decl
=yes
34202 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
34206 { echo "$as_me:$LINENO: result: $wx_cv_func_broken_vsnprintf_decl" >&5
34207 echo "${ECHO_T}$wx_cv_func_broken_vsnprintf_decl" >&6; }
34209 if test "$wx_cv_func_broken_vsnprintf_decl" = "yes"; then
34210 cat >>confdefs.h
<<\_ACEOF
34211 #define HAVE_BROKEN_VSNPRINTF_DECL 1
34218 if test "$ac_cv_func_snprintf" = "yes"; then
34219 { echo "$as_me:$LINENO: checking for snprintf declaration" >&5
34220 echo $ECHO_N "checking for snprintf declaration... $ECHO_C" >&6; }
34221 if test "${wx_cv_func_snprintf_decl+set}" = set; then
34222 echo $ECHO_N "(cached) $ECHO_C" >&6
34225 cat >conftest.
$ac_ext <<_ACEOF
34228 cat confdefs.h
>>conftest.
$ac_ext
34229 cat >>conftest.
$ac_ext <<_ACEOF
34230 /* end confdefs.h. */
34233 #include <stdarg.h>
34235 #if __MSL__ >= 0x6000
34237 using namespace std;
34246 snprintf(buf, 10u, "%s", "wx");
34252 rm -f conftest.
$ac_objext
34253 if { (ac_try
="$ac_compile"
34254 case "(($ac_try" in
34255 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
34256 *) ac_try_echo=$ac_try;;
34258 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34259 (eval "$ac_compile") 2>conftest.er1
34261 grep -v '^ *+' conftest.er1 >conftest.err
34263 cat conftest.err >&5
34264 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34265 (exit $ac_status); } && {
34266 test -z "$ac_c_werror_flag" ||
34267 test ! -s conftest.err
34268 } && test -s conftest.$ac_objext; then
34269 wx_cv_func_snprintf_decl=yes
34271 echo "$as_me: failed program was:" >&5
34272 sed 's/^/| /' conftest.$ac_ext >&5
34274 wx_cv_func_snprintf_decl=no
34278 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34282 { echo "$as_me:$LINENO: result: $wx_cv_func_snprintf_decl" >&5
34283 echo "${ECHO_T}$wx_cv_func_snprintf_decl" >&6; }
34285 if test "$wx_cv_func_snprintf_decl" = "yes"; then
34286 cat >>confdefs.h <<\_ACEOF
34287 #define HAVE_SNPRINTF_DECL 1
34291 { echo "$as_me:$LINENO: checking if snprintf declaration is broken" >&5
34292 echo $ECHO_N "checking if snprintf declaration is broken... $ECHO_C" >&6; }
34293 if test "${wx_cv_func_broken_snprintf_decl+set}" = set; then
34294 echo $ECHO_N "(cached) $ECHO_C" >&6
34297 cat >conftest.$ac_ext <<_ACEOF
34300 cat confdefs.h >>conftest.$ac_ext
34301 cat >>conftest.$ac_ext <<_ACEOF
34302 /* end confdefs.h. */
34305 #include <stdarg.h>
34307 #if __MSL__ >= 0x6000
34309 using namespace std;
34318 const char *fmt = "%s";
34319 snprintf(buf, 10u, fmt, "wx");
34325 rm -f conftest.$ac_objext
34326 if { (ac_try="$ac_compile"
34327 case "(($ac_try" in
34328 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
34329 *) ac_try_echo
=$ac_try;;
34331 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34332 (eval "$ac_compile") 2>conftest.er1
34334 grep -v '^ *+' conftest.er1
>conftest.err
34336 cat conftest.err
>&5
34337 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34338 (exit $ac_status); } && {
34339 test -z "$ac_c_werror_flag" ||
34340 test ! -s conftest.err
34341 } && test -s conftest.
$ac_objext; then
34342 wx_cv_func_broken_snprintf_decl
=no
34344 echo "$as_me: failed program was:" >&5
34345 sed 's/^/| /' conftest.
$ac_ext >&5
34347 wx_cv_func_broken_snprintf_decl
=yes
34351 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
34355 { echo "$as_me:$LINENO: result: $wx_cv_func_broken_snprintf_decl" >&5
34356 echo "${ECHO_T}$wx_cv_func_broken_snprintf_decl" >&6; }
34358 if test "$wx_cv_func_broken_snprintf_decl" = "yes"; then
34359 cat >>confdefs.h
<<\_ACEOF
34360 #define HAVE_BROKEN_SNPRINTF_DECL 1
34366 if test "$wxUSE_PRINTF_POS_PARAMS" = "yes"; then
34368 { echo "$as_me:$LINENO: checking if snprintf supports positional arguments" >&5
34369 echo $ECHO_N "checking if snprintf supports positional arguments... $ECHO_C" >&6; }
34370 if test "${wx_cv_func_snprintf_pos_params+set}" = set; then
34371 echo $ECHO_N "(cached) $ECHO_C" >&6
34374 if test "$cross_compiling" = yes; then
34376 { echo "$as_me:$LINENO: WARNING: Assuming Unix98 printf() is not available,
34377 define HAVE_UNIX98_PRINTF as 1 in setup.h if it is available." >&5
34378 echo "$as_me: WARNING: Assuming Unix98 printf() is not available,
34379 define HAVE_UNIX98_PRINTF as 1 in setup.h if it is available." >&2;}
34380 wx_cv_func_snprintf_pos_params
=no
34384 cat >conftest.
$ac_ext <<_ACEOF
34387 cat confdefs.h
>>conftest.
$ac_ext
34388 cat >>conftest.
$ac_ext <<_ACEOF
34389 /* end confdefs.h. */
34396 snprintf (buffer, 128, "%2$d %3$d %1$d", 1, 2, 3);
34397 if (strcmp ("2 3 1", buffer) == 0)
34403 rm -f conftest
$ac_exeext
34404 if { (ac_try
="$ac_link"
34405 case "(($ac_try" in
34406 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
34407 *) ac_try_echo=$ac_try;;
34409 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34410 (eval "$ac_link") 2>&5
34412 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34413 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
34414 { (case "(($ac_try" in
34415 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
34416 *) ac_try_echo
=$ac_try;;
34418 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34419 (eval "$ac_try") 2>&5
34421 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34422 (exit $ac_status); }; }; then
34423 wx_cv_func_snprintf_pos_params
=no
34425 echo "$as_me: program exited with status $ac_status" >&5
34426 echo "$as_me: failed program was:" >&5
34427 sed 's/^/| /' conftest.
$ac_ext >&5
34429 ( exit $ac_status )
34430 wx_cv_func_snprintf_pos_params
=yes
34432 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
34439 { echo "$as_me:$LINENO: result: $wx_cv_func_snprintf_pos_params" >&5
34440 echo "${ECHO_T}$wx_cv_func_snprintf_pos_params" >&6; }
34442 if test "$wx_cv_func_snprintf_pos_params" = "yes"; then
34443 cat >>confdefs.h
<<\_ACEOF
34444 #define HAVE_UNIX98_PRINTF 1
34451 if test "$wxUSE_UNICODE" = yes; then
34454 for ac_func
in swprintf
34456 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34457 { echo "$as_me:$LINENO: checking for $ac_func" >&5
34458 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
34459 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
34460 echo $ECHO_N "(cached) $ECHO_C" >&6
34462 cat >conftest.
$ac_ext <<_ACEOF
34465 cat confdefs.h
>>conftest.
$ac_ext
34466 cat >>conftest.
$ac_ext <<_ACEOF
34467 /* end confdefs.h. */
34468 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34469 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34470 #define $ac_func innocuous_$ac_func
34472 /* System header to define __stub macros and hopefully few prototypes,
34473 which can conflict with char $ac_func (); below.
34474 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34475 <limits.h> exists even on freestanding compilers. */
34478 # include <limits.h>
34480 # include <assert.h>
34485 /* Override any GCC internal prototype to avoid an error.
34486 Use char because int might match the return type of a GCC
34487 builtin and then its argument prototype would still apply. */
34492 /* The GNU C library defines this for functions which it implements
34493 to always fail with ENOSYS. Some functions are actually named
34494 something starting with __ and the normal name is an alias. */
34495 #if defined __stub_$ac_func || defined __stub___$ac_func
34502 return $ac_func ();
34507 rm -f conftest.
$ac_objext conftest
$ac_exeext
34508 if { (ac_try
="$ac_link"
34509 case "(($ac_try" in
34510 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
34511 *) ac_try_echo=$ac_try;;
34513 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34514 (eval "$ac_link") 2>conftest.er1
34516 grep -v '^ *+' conftest.er1 >conftest.err
34518 cat conftest.err >&5
34519 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34520 (exit $ac_status); } && {
34521 test -z "$ac_c_werror_flag" ||
34522 test ! -s conftest.err
34523 } && test -s conftest$ac_exeext &&
34524 $as_test_x conftest$ac_exeext; then
34525 eval "$as_ac_var=yes"
34527 echo "$as_me: failed program was:" >&5
34528 sed 's/^/| /' conftest.$ac_ext >&5
34530 eval "$as_ac_var=no"
34533 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
34534 conftest$ac_exeext conftest.$ac_ext
34536 ac_res=`eval echo '${'$as_ac_var'}'`
34537 { echo "$as_me:$LINENO: result: $ac_res" >&5
34538 echo "${ECHO_T}$ac_res" >&6; }
34539 if test `eval echo '${'$as_ac_var'}'` = yes; then
34540 cat >>confdefs.h <<_ACEOF
34541 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34548 if test "$ac_cv_func_swprintf" = "yes"; then
34549 { echo "$as_me:$LINENO: checking if swprintf declaration is broken" >&5
34550 echo $ECHO_N "checking if swprintf declaration is broken... $ECHO_C" >&6; }
34551 if test "${wx_cv_func_broken_swprintf_decl+set}" = set; then
34552 echo $ECHO_N "(cached) $ECHO_C" >&6
34555 cat >conftest.$ac_ext <<_ACEOF
34558 cat confdefs.h >>conftest.$ac_ext
34559 cat >>conftest.$ac_ext <<_ACEOF
34560 /* end confdefs.h. */
34563 #include <stdarg.h>
34571 const wchar_t *fmt = L"test";
34572 swprintf(buf, 10u, fmt);
34578 rm -f conftest.$ac_objext
34579 if { (ac_try="$ac_compile"
34580 case "(($ac_try" in
34581 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
34582 *) ac_try_echo
=$ac_try;;
34584 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34585 (eval "$ac_compile") 2>conftest.er1
34587 grep -v '^ *+' conftest.er1
>conftest.err
34589 cat conftest.err
>&5
34590 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34591 (exit $ac_status); } && {
34592 test -z "$ac_c_werror_flag" ||
34593 test ! -s conftest.err
34594 } && test -s conftest.
$ac_objext; then
34595 wx_cv_func_broken_swprintf_decl
=no
34597 echo "$as_me: failed program was:" >&5
34598 sed 's/^/| /' conftest.
$ac_ext >&5
34600 wx_cv_func_broken_swprintf_decl
=yes
34604 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
34608 { echo "$as_me:$LINENO: result: $wx_cv_func_broken_swprintf_decl" >&5
34609 echo "${ECHO_T}$wx_cv_func_broken_swprintf_decl" >&6; }
34611 if test "$wx_cv_func_broken_swprintf_decl" = "yes"; then
34612 cat >>confdefs.h
<<\_ACEOF
34613 #define HAVE_BROKEN_SWPRINTF_DECL 1
34619 wchar_headers
="#include <stdio.h>
34620 #include <wchar.h>"
34623 { echo "$as_me:$LINENO: checking for widec.h" >&5
34624 echo $ECHO_N "checking for widec.h... $ECHO_C" >&6; }
34625 if test "${ac_cv_header_widec_h+set}" = set; then
34626 echo $ECHO_N "(cached) $ECHO_C" >&6
34628 cat >conftest.
$ac_ext <<_ACEOF
34631 cat confdefs.h
>>conftest.
$ac_ext
34632 cat >>conftest.
$ac_ext <<_ACEOF
34633 /* end confdefs.h. */
34634 $ac_includes_default
34638 rm -f conftest.
$ac_objext
34639 if { (ac_try
="$ac_compile"
34640 case "(($ac_try" in
34641 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
34642 *) ac_try_echo=$ac_try;;
34644 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34645 (eval "$ac_compile") 2>conftest.er1
34647 grep -v '^ *+' conftest.er1 >conftest.err
34649 cat conftest.err >&5
34650 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34651 (exit $ac_status); } && {
34652 test -z "$ac_c_werror_flag" ||
34653 test ! -s conftest.err
34654 } && test -s conftest.$ac_objext; then
34655 ac_cv_header_widec_h=yes
34657 echo "$as_me: failed program was:" >&5
34658 sed 's/^/| /' conftest.$ac_ext >&5
34660 ac_cv_header_widec_h=no
34663 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34665 { echo "$as_me:$LINENO: result: $ac_cv_header_widec_h" >&5
34666 echo "${ECHO_T}$ac_cv_header_widec_h" >&6; }
34669 if test "$ac_cv_header_widec_h" = "yes"; then
34670 wchar_headers="$wchar_headers
34671 #include <widec.h>"
34676 for wx_func in wputc wputchar putws fputws wprintf vswprintf
34678 { echo "$as_me:$LINENO: checking for $wx_func" >&5
34679 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
34680 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
34681 echo $ECHO_N "(cached) $ECHO_C" >&6
34684 cat >conftest.$ac_ext <<_ACEOF
34688 cat confdefs.h >>conftest.$ac_ext
34689 cat >>conftest.$ac_ext <<_ACEOF
34690 /* end confdefs.h. */
34693 $ac_includes_default
34709 rm -f conftest.$ac_objext conftest$ac_exeext
34710 if { (ac_try="$ac_link"
34711 case "(($ac_try" in
34712 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
34713 *) ac_try_echo
=$ac_try;;
34715 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34716 (eval "$ac_link") 2>conftest.er1
34718 grep -v '^ *+' conftest.er1
>conftest.err
34720 cat conftest.err
>&5
34721 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34722 (exit $ac_status); } && {
34723 test -z "$ac_c_werror_flag" ||
34724 test ! -s conftest.err
34725 } && test -s conftest
$ac_exeext &&
34726 $as_test_x conftest
$ac_exeext; then
34727 eval wx_cv_func_
$wx_func=yes
34729 echo "$as_me: failed program was:" >&5
34730 sed 's/^/| /' conftest.
$ac_ext >&5
34732 eval wx_cv_func_
$wx_func=no
34735 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
34736 conftest
$ac_exeext conftest.
$ac_ext
34739 ac_res
=`eval echo '${'wx_cv_func_$wx_func'}'`
34740 { echo "$as_me:$LINENO: result: $ac_res" >&5
34741 echo "${ECHO_T}$ac_res" >&6; }
34743 if eval test \
$wx_cv_func_$wx_func = yes
34745 cat >>confdefs.h
<<_ACEOF
34746 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
34757 { echo "$as_me:$LINENO: checking for _vsnwprintf" >&5
34758 echo $ECHO_N "checking for _vsnwprintf... $ECHO_C" >&6; }
34759 cat >conftest.
$ac_ext <<_ACEOF
34762 cat confdefs.h
>>conftest.
$ac_ext
34763 cat >>conftest.
$ac_ext <<_ACEOF
34764 /* end confdefs.h. */
34774 rm -f conftest.
$ac_objext
34775 if { (ac_try
="$ac_compile"
34776 case "(($ac_try" in
34777 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
34778 *) ac_try_echo=$ac_try;;
34780 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34781 (eval "$ac_compile") 2>conftest.er1
34783 grep -v '^ *+' conftest.er1 >conftest.err
34785 cat conftest.err >&5
34786 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34787 (exit $ac_status); } && {
34788 test -z "$ac_c_werror_flag" ||
34789 test ! -s conftest.err
34790 } && test -s conftest.$ac_objext; then
34791 { echo "$as_me:$LINENO: result: yes" >&5
34792 echo "${ECHO_T}yes" >&6; }
34793 cat >>confdefs.h <<\_ACEOF
34794 #define HAVE__VSNWPRINTF 1
34798 echo "$as_me: failed program was:" >&5
34799 sed 's/^/| /' conftest.$ac_ext >&5
34801 { echo "$as_me:$LINENO: result: no" >&5
34802 echo "${ECHO_T}no" >&6; }
34805 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext;
34808 if test "x$ac_cv_header_fnmatch_h" = "xyes"; then
34810 for wx_func in fnmatch
34812 { echo "$as_me:$LINENO: checking for $wx_func" >&5
34813 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
34814 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
34815 echo $ECHO_N "(cached) $ECHO_C" >&6
34818 cat >conftest.$ac_ext <<_ACEOF
34822 cat confdefs.h >>conftest.$ac_ext
34823 cat >>conftest.$ac_ext <<_ACEOF
34824 /* end confdefs.h. */
34826 #include <fnmatch.h>
34827 $ac_includes_default
34843 rm -f conftest.$ac_objext conftest$ac_exeext
34844 if { (ac_try="$ac_link"
34845 case "(($ac_try" in
34846 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
34847 *) ac_try_echo
=$ac_try;;
34849 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34850 (eval "$ac_link") 2>conftest.er1
34852 grep -v '^ *+' conftest.er1
>conftest.err
34854 cat conftest.err
>&5
34855 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34856 (exit $ac_status); } && {
34857 test -z "$ac_c_werror_flag" ||
34858 test ! -s conftest.err
34859 } && test -s conftest
$ac_exeext &&
34860 $as_test_x conftest
$ac_exeext; then
34861 eval wx_cv_func_
$wx_func=yes
34863 echo "$as_me: failed program was:" >&5
34864 sed 's/^/| /' conftest.
$ac_ext >&5
34866 eval wx_cv_func_
$wx_func=no
34869 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
34870 conftest
$ac_exeext conftest.
$ac_ext
34873 ac_res
=`eval echo '${'wx_cv_func_$wx_func'}'`
34874 { echo "$as_me:$LINENO: result: $ac_res" >&5
34875 echo "${ECHO_T}$ac_res" >&6; }
34877 if eval test \
$wx_cv_func_$wx_func = yes
34879 cat >>confdefs.h
<<_ACEOF
34880 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
34892 if test "$wxUSE_FILE" = "yes"; then
34894 for wx_func
in fsync
34896 { echo "$as_me:$LINENO: checking for $wx_func" >&5
34897 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
34898 if { as_var
=wx_cv_func_
$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
34899 echo $ECHO_N "(cached) $ECHO_C" >&6
34902 cat >conftest.
$ac_ext <<_ACEOF
34906 cat confdefs.h
>>conftest.
$ac_ext
34907 cat >>conftest.
$ac_ext <<_ACEOF
34908 /* end confdefs.h. */
34911 $ac_includes_default
34927 rm -f conftest.
$ac_objext conftest
$ac_exeext
34928 if { (ac_try
="$ac_link"
34929 case "(($ac_try" in
34930 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
34931 *) ac_try_echo=$ac_try;;
34933 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34934 (eval "$ac_link") 2>conftest.er1
34936 grep -v '^ *+' conftest.er1 >conftest.err
34938 cat conftest.err >&5
34939 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34940 (exit $ac_status); } && {
34941 test -z "$ac_c_werror_flag" ||
34942 test ! -s conftest.err
34943 } && test -s conftest$ac_exeext &&
34944 $as_test_x conftest$ac_exeext; then
34945 eval wx_cv_func_$wx_func=yes
34947 echo "$as_me: failed program was:" >&5
34948 sed 's/^/| /' conftest.$ac_ext >&5
34950 eval wx_cv_func_$wx_func=no
34953 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
34954 conftest$ac_exeext conftest.$ac_ext
34957 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
34958 { echo "$as_me:$LINENO: result: $ac_res" >&5
34959 echo "${ECHO_T}$ac_res" >&6; }
34961 if eval test \$wx_cv_func_$wx_func = yes
34963 cat >>confdefs.h <<_ACEOF
34964 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
34977 for wx_func in round
34979 { echo "$as_me:$LINENO: checking for $wx_func" >&5
34980 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
34981 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
34982 echo $ECHO_N "(cached) $ECHO_C" >&6
34985 cat >conftest.$ac_ext <<_ACEOF
34989 cat confdefs.h >>conftest.$ac_ext
34990 cat >>conftest.$ac_ext <<_ACEOF
34991 /* end confdefs.h. */
34994 $ac_includes_default
35010 rm -f conftest.$ac_objext conftest$ac_exeext
35011 if { (ac_try="$ac_link"
35012 case "(($ac_try" in
35013 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
35014 *) ac_try_echo
=$ac_try;;
35016 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35017 (eval "$ac_link") 2>conftest.er1
35019 grep -v '^ *+' conftest.er1
>conftest.err
35021 cat conftest.err
>&5
35022 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35023 (exit $ac_status); } && {
35024 test -z "$ac_c_werror_flag" ||
35025 test ! -s conftest.err
35026 } && test -s conftest
$ac_exeext &&
35027 $as_test_x conftest
$ac_exeext; then
35028 eval wx_cv_func_
$wx_func=yes
35030 echo "$as_me: failed program was:" >&5
35031 sed 's/^/| /' conftest.
$ac_ext >&5
35033 eval wx_cv_func_
$wx_func=no
35036 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
35037 conftest
$ac_exeext conftest.
$ac_ext
35040 ac_res
=`eval echo '${'wx_cv_func_$wx_func'}'`
35041 { echo "$as_me:$LINENO: result: $ac_res" >&5
35042 echo "${ECHO_T}$ac_res" >&6; }
35044 if eval test \
$wx_cv_func_$wx_func = yes
35046 cat >>confdefs.h
<<_ACEOF
35047 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
35058 if test "$TOOLKIT" != "MSW"; then
35064 # Check whether --with-libiconv-prefix was given.
35065 if test "${with_libiconv_prefix+set}" = set; then
35066 withval
=$with_libiconv_prefix;
35067 for dir
in `echo "$withval" | tr : ' '`; do
35068 if test -d $dir/include
; then CPPFLAGS
="$CPPFLAGS -I$dir/include"; fi
35069 if test -d $dir/lib
; then LDFLAGS
="$LDFLAGS -L$dir/lib"; fi
35075 { echo "$as_me:$LINENO: checking for iconv" >&5
35076 echo $ECHO_N "checking for iconv... $ECHO_C" >&6; }
35077 if test "${am_cv_func_iconv+set}" = set; then
35078 echo $ECHO_N "(cached) $ECHO_C" >&6
35081 am_cv_func_iconv
="no, consider installing GNU libiconv"
35083 cat >conftest.
$ac_ext <<_ACEOF
35086 cat confdefs.h
>>conftest.
$ac_ext
35087 cat >>conftest.
$ac_ext <<_ACEOF
35088 /* end confdefs.h. */
35089 #include <stdlib.h>
35094 iconv_t cd = iconv_open("","");
35095 iconv(cd,NULL,NULL,NULL,NULL);
35101 rm -f conftest.
$ac_objext conftest
$ac_exeext
35102 if { (ac_try
="$ac_link"
35103 case "(($ac_try" in
35104 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
35105 *) ac_try_echo=$ac_try;;
35107 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35108 (eval "$ac_link") 2>conftest.er1
35110 grep -v '^ *+' conftest.er1 >conftest.err
35112 cat conftest.err >&5
35113 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35114 (exit $ac_status); } && {
35115 test -z "$ac_c_werror_flag" ||
35116 test ! -s conftest.err
35117 } && test -s conftest$ac_exeext &&
35118 $as_test_x conftest$ac_exeext; then
35119 am_cv_func_iconv=yes
35121 echo "$as_me: failed program was:" >&5
35122 sed 's/^/| /' conftest.$ac_ext >&5
35127 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35128 conftest$ac_exeext conftest.$ac_ext
35129 if test "$am_cv_func_iconv" != yes; then
35130 am_save_LIBS="$LIBS"
35131 LIBS="$LIBS -liconv"
35132 cat >conftest.$ac_ext <<_ACEOF
35135 cat confdefs.h >>conftest.$ac_ext
35136 cat >>conftest.$ac_ext <<_ACEOF
35137 /* end confdefs.h. */
35138 #include <stdlib.h>
35143 iconv_t cd = iconv_open("","");
35144 iconv(cd,NULL,NULL,NULL,NULL);
35150 rm -f conftest.$ac_objext conftest$ac_exeext
35151 if { (ac_try="$ac_link"
35152 case "(($ac_try" in
35153 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
35154 *) ac_try_echo
=$ac_try;;
35156 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35157 (eval "$ac_link") 2>conftest.er1
35159 grep -v '^ *+' conftest.er1
>conftest.err
35161 cat conftest.err
>&5
35162 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35163 (exit $ac_status); } && {
35164 test -z "$ac_c_werror_flag" ||
35165 test ! -s conftest.err
35166 } && test -s conftest
$ac_exeext &&
35167 $as_test_x conftest
$ac_exeext; then
35168 am_cv_lib_iconv
=yes
35169 am_cv_func_iconv
=yes
35171 echo "$as_me: failed program was:" >&5
35172 sed 's/^/| /' conftest.
$ac_ext >&5
35177 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
35178 conftest
$ac_exeext conftest.
$ac_ext
35179 LIBS
="$am_save_LIBS"
35183 { echo "$as_me:$LINENO: result: $am_cv_func_iconv" >&5
35184 echo "${ECHO_T}$am_cv_func_iconv" >&6; }
35185 if test "$am_cv_func_iconv" = yes; then
35187 cat >>confdefs.h
<<\_ACEOF
35188 #define HAVE_ICONV 1
35191 { echo "$as_me:$LINENO: checking if iconv needs const" >&5
35192 echo $ECHO_N "checking if iconv needs const... $ECHO_C" >&6; }
35193 if test "${wx_cv_func_iconv_const+set}" = set; then
35194 echo $ECHO_N "(cached) $ECHO_C" >&6
35196 cat >conftest.
$ac_ext <<_ACEOF
35199 cat confdefs.h
>>conftest.
$ac_ext
35200 cat >>conftest.
$ac_ext <<_ACEOF
35201 /* end confdefs.h. */
35203 #include <stdlib.h>
35209 #if defined(__STDC__) || defined(__cplusplus)
35210 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
35223 rm -f conftest.
$ac_objext
35224 if { (ac_try
="$ac_compile"
35225 case "(($ac_try" in
35226 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
35227 *) ac_try_echo=$ac_try;;
35229 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35230 (eval "$ac_compile") 2>conftest.er1
35232 grep -v '^ *+' conftest.er1 >conftest.err
35234 cat conftest.err >&5
35235 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35236 (exit $ac_status); } && {
35237 test -z "$ac_c_werror_flag" ||
35238 test ! -s conftest.err
35239 } && test -s conftest.$ac_objext; then
35240 wx_cv_func_iconv_const="no"
35242 echo "$as_me: failed program was:" >&5
35243 sed 's/^/| /' conftest.$ac_ext >&5
35245 wx_cv_func_iconv_const="yes"
35249 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35252 { echo "$as_me:$LINENO: result: $wx_cv_func_iconv_const" >&5
35253 echo "${ECHO_T}$wx_cv_func_iconv_const" >&6; }
35256 if test "x$wx_cv_func_iconv_const" = "xyes"; then
35257 iconv_const="const"
35261 cat >>confdefs.h <<_ACEOF
35262 #define ICONV_CONST $iconv_const
35267 if test "$am_cv_lib_iconv" = yes; then
35272 LIBS="$LIBICONV $LIBS"
35274 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes" -a "$wxUSE_UNIX" = "yes"; then
35276 for ac_func in sigaction
35278 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35279 { echo "$as_me:$LINENO: checking for $ac_func" >&5
35280 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
35281 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
35282 echo $ECHO_N "(cached) $ECHO_C" >&6
35284 cat >conftest.$ac_ext <<_ACEOF
35287 cat confdefs.h >>conftest.$ac_ext
35288 cat >>conftest.$ac_ext <<_ACEOF
35289 /* end confdefs.h. */
35290 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35291 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35292 #define $ac_func innocuous_$ac_func
35294 /* System header to define __stub macros and hopefully few prototypes,
35295 which can conflict with char $ac_func (); below.
35296 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35297 <limits.h> exists even on freestanding compilers. */
35300 # include <limits.h>
35302 # include <assert.h>
35307 /* Override any GCC internal prototype to avoid an error.
35308 Use char because int might match the return type of a GCC
35309 builtin and then its argument prototype would still apply. */
35314 /* The GNU C library defines this for functions which it implements
35315 to always fail with ENOSYS. Some functions are actually named
35316 something starting with __ and the normal name is an alias. */
35317 #if defined __stub_$ac_func || defined __stub___$ac_func
35324 return $ac_func ();
35329 rm -f conftest.$ac_objext conftest$ac_exeext
35330 if { (ac_try="$ac_link"
35331 case "(($ac_try" in
35332 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
35333 *) ac_try_echo
=$ac_try;;
35335 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35336 (eval "$ac_link") 2>conftest.er1
35338 grep -v '^ *+' conftest.er1
>conftest.err
35340 cat conftest.err
>&5
35341 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35342 (exit $ac_status); } && {
35343 test -z "$ac_c_werror_flag" ||
35344 test ! -s conftest.err
35345 } && test -s conftest
$ac_exeext &&
35346 $as_test_x conftest
$ac_exeext; then
35347 eval "$as_ac_var=yes"
35349 echo "$as_me: failed program was:" >&5
35350 sed 's/^/| /' conftest.
$ac_ext >&5
35352 eval "$as_ac_var=no"
35355 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
35356 conftest
$ac_exeext conftest.
$ac_ext
35358 ac_res
=`eval echo '${'$as_ac_var'}'`
35359 { echo "$as_me:$LINENO: result: $ac_res" >&5
35360 echo "${ECHO_T}$ac_res" >&6; }
35361 if test `eval echo '${'$as_ac_var'}'` = yes; then
35362 cat >>confdefs.h
<<_ACEOF
35363 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35370 if test "$ac_cv_func_sigaction" = "no"; then
35371 { echo "$as_me:$LINENO: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&5
35372 echo "$as_me: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&2;}
35373 wxUSE_ON_FATAL_EXCEPTION
=no
35376 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
35377 { echo "$as_me:$LINENO: checking for sa_handler type" >&5
35378 echo $ECHO_N "checking for sa_handler type... $ECHO_C" >&6; }
35379 if test "${wx_cv_type_sa_handler+set}" = set; then
35380 echo $ECHO_N "(cached) $ECHO_C" >&6
35384 ac_cpp
='$CXXCPP $CPPFLAGS'
35385 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35386 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35387 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
35389 cat >conftest.
$ac_ext <<_ACEOF
35392 cat confdefs.h
>>conftest.
$ac_ext
35393 cat >>conftest.
$ac_ext <<_ACEOF
35394 /* end confdefs.h. */
35395 #include <signal.h>
35400 extern void testSigHandler(int);
35402 struct sigaction sa;
35403 sa.sa_handler = testSigHandler;
35409 rm -f conftest.
$ac_objext
35410 if { (ac_try
="$ac_compile"
35411 case "(($ac_try" in
35412 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
35413 *) ac_try_echo=$ac_try;;
35415 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35416 (eval "$ac_compile") 2>conftest.er1
35418 grep -v '^ *+' conftest.er1 >conftest.err
35420 cat conftest.err >&5
35421 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35422 (exit $ac_status); } && {
35423 test -z "$ac_cxx_werror_flag" ||
35424 test ! -s conftest.err
35425 } && test -s conftest.$ac_objext; then
35427 wx_cv_type_sa_handler=int
35430 echo "$as_me: failed program was:" >&5
35431 sed 's/^/| /' conftest.$ac_ext >&5
35434 wx_cv_type_sa_handler=void
35438 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35440 ac_cpp='$CPP $CPPFLAGS'
35441 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35442 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35443 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35447 { echo "$as_me:$LINENO: result: $wx_cv_type_sa_handler" >&5
35448 echo "${ECHO_T}$wx_cv_type_sa_handler" >&6; }
35450 cat >>confdefs.h <<_ACEOF
35451 #define wxTYPE_SA_HANDLER $wx_cv_type_sa_handler
35457 if test "$wxUSE_STACKWALKER" = "yes" -a "$wxUSE_UNIX" = "yes"; then
35458 { echo "$as_me:$LINENO: checking for backtrace() in <execinfo.h>" >&5
35459 echo $ECHO_N "checking for backtrace() in <execinfo.h>... $ECHO_C" >&6; }
35460 if test "${wx_cv_func_backtrace+set}" = set; then
35461 echo $ECHO_N "(cached) $ECHO_C" >&6
35465 ac_cpp='$CXXCPP $CPPFLAGS'
35466 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35467 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35468 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35470 cat >conftest.$ac_ext <<_ACEOF
35473 cat confdefs.h >>conftest.$ac_ext
35474 cat >>conftest.$ac_ext <<_ACEOF
35475 /* end confdefs.h. */
35476 #include <execinfo.h>
35484 backtrace(trace, 1);
35485 messages = backtrace_symbols(trace, 1);
35491 rm -f conftest.$ac_objext
35492 if { (ac_try="$ac_compile"
35493 case "(($ac_try" in
35494 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
35495 *) ac_try_echo
=$ac_try;;
35497 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35498 (eval "$ac_compile") 2>conftest.er1
35500 grep -v '^ *+' conftest.er1
>conftest.err
35502 cat conftest.err
>&5
35503 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35504 (exit $ac_status); } && {
35505 test -z "$ac_cxx_werror_flag" ||
35506 test ! -s conftest.err
35507 } && test -s conftest.
$ac_objext; then
35508 wx_cv_func_backtrace
=yes
35510 echo "$as_me: failed program was:" >&5
35511 sed 's/^/| /' conftest.
$ac_ext >&5
35513 wx_cv_func_backtrace
=no
35517 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
35519 ac_cpp
='$CPP $CPPFLAGS'
35520 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35521 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35522 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
35527 { echo "$as_me:$LINENO: result: $wx_cv_func_backtrace" >&5
35528 echo "${ECHO_T}$wx_cv_func_backtrace" >&6; }
35531 if test "$wx_cv_func_backtrace" = "no"; then
35532 { echo "$as_me:$LINENO: WARNING: backtrace() is not available, wxStackWalker will not be available" >&5
35533 echo "$as_me: WARNING: backtrace() is not available, wxStackWalker will not be available" >&2;}
35534 wxUSE_STACKWALKER
=no
35536 { echo "$as_me:$LINENO: checking for __cxa_demangle() in <cxxabi.h>" >&5
35537 echo $ECHO_N "checking for __cxa_demangle() in <cxxabi.h>... $ECHO_C" >&6; }
35538 if test "${wx_cv_func_cxa_demangle+set}" = set; then
35539 echo $ECHO_N "(cached) $ECHO_C" >&6
35543 ac_cpp
='$CXXCPP $CPPFLAGS'
35544 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35545 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35546 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
35548 cat >conftest.
$ac_ext <<_ACEOF
35551 cat confdefs.h
>>conftest.
$ac_ext
35552 cat >>conftest.
$ac_ext <<_ACEOF
35553 /* end confdefs.h. */
35554 #include <cxxabi.h>
35560 __cxxabiv1::__cxa_demangle("foo", 0, 0, &rc);
35566 rm -f conftest.
$ac_objext conftest
$ac_exeext
35567 if { (ac_try
="$ac_link"
35568 case "(($ac_try" in
35569 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
35570 *) ac_try_echo=$ac_try;;
35572 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35573 (eval "$ac_link") 2>conftest.er1
35575 grep -v '^ *+' conftest.er1 >conftest.err
35577 cat conftest.err >&5
35578 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35579 (exit $ac_status); } && {
35580 test -z "$ac_cxx_werror_flag" ||
35581 test ! -s conftest.err
35582 } && test -s conftest$ac_exeext &&
35583 $as_test_x conftest$ac_exeext; then
35584 wx_cv_func_cxa_demangle=yes
35586 echo "$as_me: failed program was:" >&5
35587 sed 's/^/| /' conftest.$ac_ext >&5
35589 wx_cv_func_cxa_demangle=no
35593 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35594 conftest$ac_exeext conftest.$ac_ext
35596 ac_cpp='$CPP $CPPFLAGS'
35597 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35598 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35599 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35604 { echo "$as_me:$LINENO: result: $wx_cv_func_cxa_demangle" >&5
35605 echo "${ECHO_T}$wx_cv_func_cxa_demangle" >&6; }
35607 if test "$wx_cv_func_cxa_demangle" = "yes"; then
35608 cat >>confdefs.h <<\_ACEOF
35609 #define HAVE_CXA_DEMANGLE 1
35616 if test "$wxUSE_STACKWALKER" = "yes" -a "$USE_WIN32" != "1" -a "$USE_UNIX" != "1"; then
35617 { echo "$as_me:$LINENO: WARNING: wxStackWalker is only available on Win32 and UNIX... disabled" >&5
35618 echo "$as_me: WARNING: wxStackWalker is only available on Win32 and UNIX... disabled" >&2;}
35619 wxUSE_STACKWALKER=no
35625 for ac_func in mkstemp mktemp
35627 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35628 { echo "$as_me:$LINENO: checking for $ac_func" >&5
35629 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
35630 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
35631 echo $ECHO_N "(cached) $ECHO_C" >&6
35633 cat >conftest.$ac_ext <<_ACEOF
35636 cat confdefs.h >>conftest.$ac_ext
35637 cat >>conftest.$ac_ext <<_ACEOF
35638 /* end confdefs.h. */
35639 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35640 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35641 #define $ac_func innocuous_$ac_func
35643 /* System header to define __stub macros and hopefully few prototypes,
35644 which can conflict with char $ac_func (); below.
35645 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35646 <limits.h> exists even on freestanding compilers. */
35649 # include <limits.h>
35651 # include <assert.h>
35656 /* Override any GCC internal prototype to avoid an error.
35657 Use char because int might match the return type of a GCC
35658 builtin and then its argument prototype would still apply. */
35663 /* The GNU C library defines this for functions which it implements
35664 to always fail with ENOSYS. Some functions are actually named
35665 something starting with __ and the normal name is an alias. */
35666 #if defined __stub_$ac_func || defined __stub___$ac_func
35673 return $ac_func ();
35678 rm -f conftest.$ac_objext conftest$ac_exeext
35679 if { (ac_try="$ac_link"
35680 case "(($ac_try" in
35681 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
35682 *) ac_try_echo
=$ac_try;;
35684 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35685 (eval "$ac_link") 2>conftest.er1
35687 grep -v '^ *+' conftest.er1
>conftest.err
35689 cat conftest.err
>&5
35690 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35691 (exit $ac_status); } && {
35692 test -z "$ac_c_werror_flag" ||
35693 test ! -s conftest.err
35694 } && test -s conftest
$ac_exeext &&
35695 $as_test_x conftest
$ac_exeext; then
35696 eval "$as_ac_var=yes"
35698 echo "$as_me: failed program was:" >&5
35699 sed 's/^/| /' conftest.
$ac_ext >&5
35701 eval "$as_ac_var=no"
35704 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
35705 conftest
$ac_exeext conftest.
$ac_ext
35707 ac_res
=`eval echo '${'$as_ac_var'}'`
35708 { echo "$as_me:$LINENO: result: $ac_res" >&5
35709 echo "${ECHO_T}$ac_res" >&6; }
35710 if test `eval echo '${'$as_ac_var'}'` = yes; then
35711 cat >>confdefs.h
<<_ACEOF
35712 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35719 { echo "$as_me:$LINENO: checking for statfs" >&5
35720 echo $ECHO_N "checking for statfs... $ECHO_C" >&6; }
35721 if test "${wx_cv_func_statfs+set}" = set; then
35722 echo $ECHO_N "(cached) $ECHO_C" >&6
35724 cat >conftest.
$ac_ext <<_ACEOF
35727 cat confdefs.h
>>conftest.
$ac_ext
35728 cat >>conftest.
$ac_ext <<_ACEOF
35729 /* end confdefs.h. */
35731 #if defined(__BSD__)
35732 #include <sys/param.h>
35733 #include <sys/mount.h>
35735 #include <sys/vfs.h>
35753 rm -f conftest.
$ac_objext
35754 if { (ac_try
="$ac_compile"
35755 case "(($ac_try" in
35756 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
35757 *) ac_try_echo=$ac_try;;
35759 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35760 (eval "$ac_compile") 2>conftest.er1
35762 grep -v '^ *+' conftest.er1 >conftest.err
35764 cat conftest.err >&5
35765 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35766 (exit $ac_status); } && {
35767 test -z "$ac_c_werror_flag" ||
35768 test ! -s conftest.err
35769 } && test -s conftest.$ac_objext; then
35770 wx_cv_func_statfs=yes
35772 echo "$as_me: failed program was:" >&5
35773 sed 's/^/| /' conftest.$ac_ext >&5
35775 wx_cv_func_statfs=no
35779 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35782 { echo "$as_me:$LINENO: result: $wx_cv_func_statfs" >&5
35783 echo "${ECHO_T}$wx_cv_func_statfs" >&6; }
35785 if test "$wx_cv_func_statfs" = "yes"; then
35786 { echo "$as_me:$LINENO: checking for statfs declaration" >&5
35787 echo $ECHO_N "checking for statfs declaration... $ECHO_C" >&6; }
35788 if test "${wx_cv_func_statfs_decl+set}" = set; then
35789 echo $ECHO_N "(cached) $ECHO_C" >&6
35792 ac_cpp='$CXXCPP $CPPFLAGS'
35793 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35794 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35795 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35797 cat >conftest.$ac_ext <<_ACEOF
35800 cat confdefs.h >>conftest.$ac_ext
35801 cat >>conftest.$ac_ext <<_ACEOF
35802 /* end confdefs.h. */
35804 #if defined(__BSD__)
35805 #include <sys/param.h>
35806 #include <sys/mount.h>
35808 #include <sys/vfs.h>
35822 rm -f conftest.$ac_objext
35823 if { (ac_try="$ac_compile"
35824 case "(($ac_try" in
35825 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
35826 *) ac_try_echo
=$ac_try;;
35828 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35829 (eval "$ac_compile") 2>conftest.er1
35831 grep -v '^ *+' conftest.er1
>conftest.err
35833 cat conftest.err
>&5
35834 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35835 (exit $ac_status); } && {
35836 test -z "$ac_cxx_werror_flag" ||
35837 test ! -s conftest.err
35838 } && test -s conftest.
$ac_objext; then
35839 wx_cv_func_statfs_decl
=yes
35841 echo "$as_me: failed program was:" >&5
35842 sed 's/^/| /' conftest.
$ac_ext >&5
35844 wx_cv_func_statfs_decl
=no
35848 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
35850 ac_cpp
='$CPP $CPPFLAGS'
35851 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35852 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35853 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
35857 { echo "$as_me:$LINENO: result: $wx_cv_func_statfs_decl" >&5
35858 echo "${ECHO_T}$wx_cv_func_statfs_decl" >&6; }
35860 if test "$wx_cv_func_statfs_decl" = "yes"; then
35861 cat >>confdefs.h
<<\_ACEOF
35862 #define HAVE_STATFS_DECL 1
35867 wx_cv_type_statvfs_t
="struct statfs"
35868 cat >>confdefs.h
<<\_ACEOF
35869 #define HAVE_STATFS 1
35873 { echo "$as_me:$LINENO: checking for statvfs" >&5
35874 echo $ECHO_N "checking for statvfs... $ECHO_C" >&6; }
35875 if test "${wx_cv_func_statvfs+set}" = set; then
35876 echo $ECHO_N "(cached) $ECHO_C" >&6
35878 cat >conftest.
$ac_ext <<_ACEOF
35881 cat confdefs.h
>>conftest.
$ac_ext
35882 cat >>conftest.
$ac_ext <<_ACEOF
35883 /* end confdefs.h. */
35885 #include <stddef.h>
35886 #include <sys/statvfs.h>
35892 statvfs("/", NULL);
35898 rm -f conftest.
$ac_objext
35899 if { (ac_try
="$ac_compile"
35900 case "(($ac_try" in
35901 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
35902 *) ac_try_echo=$ac_try;;
35904 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35905 (eval "$ac_compile") 2>conftest.er1
35907 grep -v '^ *+' conftest.er1 >conftest.err
35909 cat conftest.err >&5
35910 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35911 (exit $ac_status); } && {
35912 test -z "$ac_c_werror_flag" ||
35913 test ! -s conftest.err
35914 } && test -s conftest.$ac_objext; then
35915 wx_cv_func_statvfs=yes
35917 echo "$as_me: failed program was:" >&5
35918 sed 's/^/| /' conftest.$ac_ext >&5
35920 wx_cv_func_statvfs=no
35924 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35927 { echo "$as_me:$LINENO: result: $wx_cv_func_statvfs" >&5
35928 echo "${ECHO_T}$wx_cv_func_statvfs" >&6; }
35930 if test "$wx_cv_func_statvfs" = "yes"; then
35931 { echo "$as_me:$LINENO: checking for statvfs argument type" >&5
35932 echo $ECHO_N "checking for statvfs argument type... $ECHO_C" >&6; }
35933 if test "${wx_cv_type_statvfs_t+set}" = set; then
35934 echo $ECHO_N "(cached) $ECHO_C" >&6
35937 ac_cpp='$CXXCPP $CPPFLAGS'
35938 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35939 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35940 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35942 cat >conftest.$ac_ext <<_ACEOF
35945 cat confdefs.h >>conftest.$ac_ext
35946 cat >>conftest.$ac_ext <<_ACEOF
35947 /* end confdefs.h. */
35949 #include <sys/statvfs.h>
35966 rm -f conftest.$ac_objext
35967 if { (ac_try="$ac_compile"
35968 case "(($ac_try" in
35969 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
35970 *) ac_try_echo
=$ac_try;;
35972 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35973 (eval "$ac_compile") 2>conftest.er1
35975 grep -v '^ *+' conftest.er1
>conftest.err
35977 cat conftest.err
>&5
35978 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35979 (exit $ac_status); } && {
35980 test -z "$ac_cxx_werror_flag" ||
35981 test ! -s conftest.err
35982 } && test -s conftest.
$ac_objext; then
35983 wx_cv_type_statvfs_t
=statvfs_t
35985 echo "$as_me: failed program was:" >&5
35986 sed 's/^/| /' conftest.
$ac_ext >&5
35989 cat >conftest.
$ac_ext <<_ACEOF
35992 cat confdefs.h
>>conftest.
$ac_ext
35993 cat >>conftest.
$ac_ext <<_ACEOF
35994 /* end confdefs.h. */
35996 #include <sys/statvfs.h>
36013 rm -f conftest.
$ac_objext
36014 if { (ac_try
="$ac_compile"
36015 case "(($ac_try" in
36016 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
36017 *) ac_try_echo=$ac_try;;
36019 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36020 (eval "$ac_compile") 2>conftest.er1
36022 grep -v '^ *+' conftest.er1 >conftest.err
36024 cat conftest.err >&5
36025 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36026 (exit $ac_status); } && {
36027 test -z "$ac_cxx_werror_flag" ||
36028 test ! -s conftest.err
36029 } && test -s conftest.$ac_objext; then
36030 wx_cv_type_statvfs_t="struct statvfs"
36032 echo "$as_me: failed program was:" >&5
36033 sed 's/^/| /' conftest.$ac_ext >&5
36035 wx_cv_type_statvfs_t="unknown"
36039 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36044 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36046 ac_cpp='$CPP $CPPFLAGS'
36047 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36048 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36049 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36053 { echo "$as_me:$LINENO: result: $wx_cv_type_statvfs_t" >&5
36054 echo "${ECHO_T}$wx_cv_type_statvfs_t" >&6; }
36056 if test "$wx_cv_type_statvfs_t" != "unknown"; then
36057 cat >>confdefs.h <<\_ACEOF
36058 #define HAVE_STATVFS 1
36063 wx_cv_type_statvfs_t="unknown"
36067 if test "$wx_cv_type_statvfs_t" != "unknown"; then
36068 cat >>confdefs.h <<_ACEOF
36069 #define WX_STATFS_T $wx_cv_type_statvfs_t
36073 { echo "$as_me:$LINENO: WARNING: wxGetDiskSpace() function won't work without statfs()" >&5
36074 echo "$as_me: WARNING: wxGetDiskSpace() function won't work without statfs()" >&2;}
36077 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
36080 for ac_func in fcntl flock
36082 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36083 { echo "$as_me:$LINENO: checking for $ac_func" >&5
36084 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
36085 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
36086 echo $ECHO_N "(cached) $ECHO_C" >&6
36088 cat >conftest.$ac_ext <<_ACEOF
36091 cat confdefs.h >>conftest.$ac_ext
36092 cat >>conftest.$ac_ext <<_ACEOF
36093 /* end confdefs.h. */
36094 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36095 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36096 #define $ac_func innocuous_$ac_func
36098 /* System header to define __stub macros and hopefully few prototypes,
36099 which can conflict with char $ac_func (); below.
36100 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36101 <limits.h> exists even on freestanding compilers. */
36104 # include <limits.h>
36106 # include <assert.h>
36111 /* Override any GCC internal prototype to avoid an error.
36112 Use char because int might match the return type of a GCC
36113 builtin and then its argument prototype would still apply. */
36118 /* The GNU C library defines this for functions which it implements
36119 to always fail with ENOSYS. Some functions are actually named
36120 something starting with __ and the normal name is an alias. */
36121 #if defined __stub_$ac_func || defined __stub___$ac_func
36128 return $ac_func ();
36133 rm -f conftest.$ac_objext conftest$ac_exeext
36134 if { (ac_try="$ac_link"
36135 case "(($ac_try" in
36136 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
36137 *) ac_try_echo
=$ac_try;;
36139 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36140 (eval "$ac_link") 2>conftest.er1
36142 grep -v '^ *+' conftest.er1
>conftest.err
36144 cat conftest.err
>&5
36145 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36146 (exit $ac_status); } && {
36147 test -z "$ac_c_werror_flag" ||
36148 test ! -s conftest.err
36149 } && test -s conftest
$ac_exeext &&
36150 $as_test_x conftest
$ac_exeext; then
36151 eval "$as_ac_var=yes"
36153 echo "$as_me: failed program was:" >&5
36154 sed 's/^/| /' conftest.
$ac_ext >&5
36156 eval "$as_ac_var=no"
36159 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
36160 conftest
$ac_exeext conftest.
$ac_ext
36162 ac_res
=`eval echo '${'$as_ac_var'}'`
36163 { echo "$as_me:$LINENO: result: $ac_res" >&5
36164 echo "${ECHO_T}$ac_res" >&6; }
36165 if test `eval echo '${'$as_ac_var'}'` = yes; then
36166 cat >>confdefs.h
<<_ACEOF
36167 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36174 if test "$ac_cv_func_fcntl" != "yes" -a "$ac_cv_func_flock" != "yes"; then
36175 { echo "$as_me:$LINENO: WARNING: wxSingleInstanceChecker not available" >&5
36176 echo "$as_me: WARNING: wxSingleInstanceChecker not available" >&2;}
36177 wxUSE_SNGLINST_CHECKER
=no
36182 for ac_func
in timegm
36184 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36185 { echo "$as_me:$LINENO: checking for $ac_func" >&5
36186 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
36187 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
36188 echo $ECHO_N "(cached) $ECHO_C" >&6
36190 cat >conftest.
$ac_ext <<_ACEOF
36193 cat confdefs.h
>>conftest.
$ac_ext
36194 cat >>conftest.
$ac_ext <<_ACEOF
36195 /* end confdefs.h. */
36196 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36197 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36198 #define $ac_func innocuous_$ac_func
36200 /* System header to define __stub macros and hopefully few prototypes,
36201 which can conflict with char $ac_func (); below.
36202 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36203 <limits.h> exists even on freestanding compilers. */
36206 # include <limits.h>
36208 # include <assert.h>
36213 /* Override any GCC internal prototype to avoid an error.
36214 Use char because int might match the return type of a GCC
36215 builtin and then its argument prototype would still apply. */
36220 /* The GNU C library defines this for functions which it implements
36221 to always fail with ENOSYS. Some functions are actually named
36222 something starting with __ and the normal name is an alias. */
36223 #if defined __stub_$ac_func || defined __stub___$ac_func
36230 return $ac_func ();
36235 rm -f conftest.
$ac_objext conftest
$ac_exeext
36236 if { (ac_try
="$ac_link"
36237 case "(($ac_try" in
36238 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
36239 *) ac_try_echo=$ac_try;;
36241 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36242 (eval "$ac_link") 2>conftest.er1
36244 grep -v '^ *+' conftest.er1 >conftest.err
36246 cat conftest.err >&5
36247 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36248 (exit $ac_status); } && {
36249 test -z "$ac_c_werror_flag" ||
36250 test ! -s conftest.err
36251 } && test -s conftest$ac_exeext &&
36252 $as_test_x conftest$ac_exeext; then
36253 eval "$as_ac_var=yes"
36255 echo "$as_me: failed program was:" >&5
36256 sed 's/^/| /' conftest.$ac_ext >&5
36258 eval "$as_ac_var=no"
36261 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36262 conftest$ac_exeext conftest.$ac_ext
36264 ac_res=`eval echo '${'$as_ac_var'}'`
36265 { echo "$as_me:$LINENO: result: $ac_res" >&5
36266 echo "${ECHO_T}$ac_res" >&6; }
36267 if test `eval echo '${'$as_ac_var'}'` = yes; then
36268 cat >>confdefs.h <<_ACEOF
36269 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36278 for ac_func in putenv setenv
36280 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36281 { echo "$as_me:$LINENO: checking for $ac_func" >&5
36282 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
36283 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
36284 echo $ECHO_N "(cached) $ECHO_C" >&6
36286 cat >conftest.$ac_ext <<_ACEOF
36289 cat confdefs.h >>conftest.$ac_ext
36290 cat >>conftest.$ac_ext <<_ACEOF
36291 /* end confdefs.h. */
36292 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36293 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36294 #define $ac_func innocuous_$ac_func
36296 /* System header to define __stub macros and hopefully few prototypes,
36297 which can conflict with char $ac_func (); below.
36298 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36299 <limits.h> exists even on freestanding compilers. */
36302 # include <limits.h>
36304 # include <assert.h>
36309 /* Override any GCC internal prototype to avoid an error.
36310 Use char because int might match the return type of a GCC
36311 builtin and then its argument prototype would still apply. */
36316 /* The GNU C library defines this for functions which it implements
36317 to always fail with ENOSYS. Some functions are actually named
36318 something starting with __ and the normal name is an alias. */
36319 #if defined __stub_$ac_func || defined __stub___$ac_func
36326 return $ac_func ();
36331 rm -f conftest.$ac_objext conftest$ac_exeext
36332 if { (ac_try="$ac_link"
36333 case "(($ac_try" in
36334 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
36335 *) ac_try_echo
=$ac_try;;
36337 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36338 (eval "$ac_link") 2>conftest.er1
36340 grep -v '^ *+' conftest.er1
>conftest.err
36342 cat conftest.err
>&5
36343 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36344 (exit $ac_status); } && {
36345 test -z "$ac_c_werror_flag" ||
36346 test ! -s conftest.err
36347 } && test -s conftest
$ac_exeext &&
36348 $as_test_x conftest
$ac_exeext; then
36349 eval "$as_ac_var=yes"
36351 echo "$as_me: failed program was:" >&5
36352 sed 's/^/| /' conftest.
$ac_ext >&5
36354 eval "$as_ac_var=no"
36357 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
36358 conftest
$ac_exeext conftest.
$ac_ext
36360 ac_res
=`eval echo '${'$as_ac_var'}'`
36361 { echo "$as_me:$LINENO: result: $ac_res" >&5
36362 echo "${ECHO_T}$ac_res" >&6; }
36363 if test `eval echo '${'$as_ac_var'}'` = yes; then
36364 cat >>confdefs.h
<<_ACEOF
36365 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36372 HAVE_SOME_SLEEP_FUNC
=0
36373 if test "$USE_BEOS" = 1; then
36374 cat >>confdefs.h
<<\_ACEOF
36375 #define HAVE_SLEEP 1
36378 HAVE_SOME_SLEEP_FUNC
=1
36381 if test "$USE_DARWIN" = 1; then
36382 cat >>confdefs.h
<<\_ACEOF
36383 #define HAVE_USLEEP 1
36386 HAVE_SOME_SLEEP_FUNC
=1
36389 if test "$HAVE_SOME_SLEEP_FUNC" != 1; then
36392 for ac_func
in nanosleep
36394 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36395 { echo "$as_me:$LINENO: checking for $ac_func" >&5
36396 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
36397 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
36398 echo $ECHO_N "(cached) $ECHO_C" >&6
36400 cat >conftest.
$ac_ext <<_ACEOF
36403 cat confdefs.h
>>conftest.
$ac_ext
36404 cat >>conftest.
$ac_ext <<_ACEOF
36405 /* end confdefs.h. */
36406 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36407 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36408 #define $ac_func innocuous_$ac_func
36410 /* System header to define __stub macros and hopefully few prototypes,
36411 which can conflict with char $ac_func (); below.
36412 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36413 <limits.h> exists even on freestanding compilers. */
36416 # include <limits.h>
36418 # include <assert.h>
36423 /* Override any GCC internal prototype to avoid an error.
36424 Use char because int might match the return type of a GCC
36425 builtin and then its argument prototype would still apply. */
36430 /* The GNU C library defines this for functions which it implements
36431 to always fail with ENOSYS. Some functions are actually named
36432 something starting with __ and the normal name is an alias. */
36433 #if defined __stub_$ac_func || defined __stub___$ac_func
36440 return $ac_func ();
36445 rm -f conftest.
$ac_objext conftest
$ac_exeext
36446 if { (ac_try
="$ac_link"
36447 case "(($ac_try" in
36448 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
36449 *) ac_try_echo=$ac_try;;
36451 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36452 (eval "$ac_link") 2>conftest.er1
36454 grep -v '^ *+' conftest.er1 >conftest.err
36456 cat conftest.err >&5
36457 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36458 (exit $ac_status); } && {
36459 test -z "$ac_c_werror_flag" ||
36460 test ! -s conftest.err
36461 } && test -s conftest$ac_exeext &&
36462 $as_test_x conftest$ac_exeext; then
36463 eval "$as_ac_var=yes"
36465 echo "$as_me: failed program was:" >&5
36466 sed 's/^/| /' conftest.$ac_ext >&5
36468 eval "$as_ac_var=no"
36471 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36472 conftest$ac_exeext conftest.$ac_ext
36474 ac_res=`eval echo '${'$as_ac_var'}'`
36475 { echo "$as_me:$LINENO: result: $ac_res" >&5
36476 echo "${ECHO_T}$ac_res" >&6; }
36477 if test `eval echo '${'$as_ac_var'}'` = yes; then
36478 cat >>confdefs.h <<_ACEOF
36479 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36481 cat >>confdefs.h <<\_ACEOF
36482 #define HAVE_NANOSLEEP 1
36487 { echo "$as_me:$LINENO: checking for nanosleep in -lposix4" >&5
36488 echo $ECHO_N "checking for nanosleep in -lposix4... $ECHO_C" >&6; }
36489 if test "${ac_cv_lib_posix4_nanosleep+set}" = set; then
36490 echo $ECHO_N "(cached) $ECHO_C" >&6
36492 ac_check_lib_save_LIBS=$LIBS
36493 LIBS="-lposix4 $LIBS"
36494 cat >conftest.$ac_ext <<_ACEOF
36497 cat confdefs.h >>conftest.$ac_ext
36498 cat >>conftest.$ac_ext <<_ACEOF
36499 /* end confdefs.h. */
36501 /* Override any GCC internal prototype to avoid an error.
36502 Use char because int might match the return type of a GCC
36503 builtin and then its argument prototype would still apply. */
36511 return nanosleep ();
36516 rm -f conftest.$ac_objext conftest$ac_exeext
36517 if { (ac_try="$ac_link"
36518 case "(($ac_try" in
36519 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
36520 *) ac_try_echo
=$ac_try;;
36522 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36523 (eval "$ac_link") 2>conftest.er1
36525 grep -v '^ *+' conftest.er1
>conftest.err
36527 cat conftest.err
>&5
36528 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36529 (exit $ac_status); } && {
36530 test -z "$ac_c_werror_flag" ||
36531 test ! -s conftest.err
36532 } && test -s conftest
$ac_exeext &&
36533 $as_test_x conftest
$ac_exeext; then
36534 ac_cv_lib_posix4_nanosleep
=yes
36536 echo "$as_me: failed program was:" >&5
36537 sed 's/^/| /' conftest.
$ac_ext >&5
36539 ac_cv_lib_posix4_nanosleep
=no
36542 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
36543 conftest
$ac_exeext conftest.
$ac_ext
36544 LIBS
=$ac_check_lib_save_LIBS
36546 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_nanosleep" >&5
36547 echo "${ECHO_T}$ac_cv_lib_posix4_nanosleep" >&6; }
36548 if test $ac_cv_lib_posix4_nanosleep = yes; then
36550 cat >>confdefs.h
<<\_ACEOF
36551 #define HAVE_NANOSLEEP 1
36554 POSIX4_LINK
=" -lposix4"
36559 for wx_func
in usleep
36561 { echo "$as_me:$LINENO: checking for $wx_func" >&5
36562 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
36563 if { as_var
=wx_cv_func_
$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
36564 echo $ECHO_N "(cached) $ECHO_C" >&6
36567 cat >conftest.
$ac_ext <<_ACEOF
36571 cat confdefs.h
>>conftest.
$ac_ext
36572 cat >>conftest.
$ac_ext <<_ACEOF
36573 /* end confdefs.h. */
36576 $ac_includes_default
36592 rm -f conftest.
$ac_objext conftest
$ac_exeext
36593 if { (ac_try
="$ac_link"
36594 case "(($ac_try" in
36595 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
36596 *) ac_try_echo=$ac_try;;
36598 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36599 (eval "$ac_link") 2>conftest.er1
36601 grep -v '^ *+' conftest.er1 >conftest.err
36603 cat conftest.err >&5
36604 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36605 (exit $ac_status); } && {
36606 test -z "$ac_c_werror_flag" ||
36607 test ! -s conftest.err
36608 } && test -s conftest$ac_exeext &&
36609 $as_test_x conftest$ac_exeext; then
36610 eval wx_cv_func_$wx_func=yes
36612 echo "$as_me: failed program was:" >&5
36613 sed 's/^/| /' conftest.$ac_ext >&5
36615 eval wx_cv_func_$wx_func=no
36618 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36619 conftest$ac_exeext conftest.$ac_ext
36622 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
36623 { echo "$as_me:$LINENO: result: $ac_res" >&5
36624 echo "${ECHO_T}$ac_res" >&6; }
36626 if eval test \$wx_cv_func_$wx_func = yes
36628 cat >>confdefs.h <<_ACEOF
36629 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
36635 { echo "$as_me:$LINENO: WARNING: wxSleep() function will not work" >&5
36636 echo "$as_me: WARNING: wxSleep() function will not work" >&2;}
36653 for wx_func in uname
36655 { echo "$as_me:$LINENO: checking for $wx_func" >&5
36656 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
36657 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
36658 echo $ECHO_N "(cached) $ECHO_C" >&6
36661 cat >conftest.$ac_ext <<_ACEOF
36665 cat confdefs.h >>conftest.$ac_ext
36666 cat >>conftest.$ac_ext <<_ACEOF
36667 /* end confdefs.h. */
36669 #include <sys/utsname.h>
36670 $ac_includes_default
36686 rm -f conftest.$ac_objext conftest$ac_exeext
36687 if { (ac_try="$ac_link"
36688 case "(($ac_try" in
36689 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
36690 *) ac_try_echo
=$ac_try;;
36692 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36693 (eval "$ac_link") 2>conftest.er1
36695 grep -v '^ *+' conftest.er1
>conftest.err
36697 cat conftest.err
>&5
36698 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36699 (exit $ac_status); } && {
36700 test -z "$ac_c_werror_flag" ||
36701 test ! -s conftest.err
36702 } && test -s conftest
$ac_exeext &&
36703 $as_test_x conftest
$ac_exeext; then
36704 eval wx_cv_func_
$wx_func=yes
36706 echo "$as_me: failed program was:" >&5
36707 sed 's/^/| /' conftest.
$ac_ext >&5
36709 eval wx_cv_func_
$wx_func=no
36712 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
36713 conftest
$ac_exeext conftest.
$ac_ext
36716 ac_res
=`eval echo '${'wx_cv_func_$wx_func'}'`
36717 { echo "$as_me:$LINENO: result: $ac_res" >&5
36718 echo "${ECHO_T}$ac_res" >&6; }
36720 if eval test \
$wx_cv_func_$wx_func = yes
36722 cat >>confdefs.h
<<_ACEOF
36723 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
36733 if test "$wx_cv_func_uname" != yes; then
36735 for wx_func
in gethostname
36737 { echo "$as_me:$LINENO: checking for $wx_func" >&5
36738 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
36739 if { as_var
=wx_cv_func_
$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
36740 echo $ECHO_N "(cached) $ECHO_C" >&6
36743 cat >conftest.
$ac_ext <<_ACEOF
36747 cat confdefs.h
>>conftest.
$ac_ext
36748 cat >>conftest.
$ac_ext <<_ACEOF
36749 /* end confdefs.h. */
36752 $ac_includes_default
36768 rm -f conftest.
$ac_objext conftest
$ac_exeext
36769 if { (ac_try
="$ac_link"
36770 case "(($ac_try" in
36771 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
36772 *) ac_try_echo=$ac_try;;
36774 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36775 (eval "$ac_link") 2>conftest.er1
36777 grep -v '^ *+' conftest.er1 >conftest.err
36779 cat conftest.err >&5
36780 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36781 (exit $ac_status); } && {
36782 test -z "$ac_c_werror_flag" ||
36783 test ! -s conftest.err
36784 } && test -s conftest$ac_exeext &&
36785 $as_test_x conftest$ac_exeext; then
36786 eval wx_cv_func_$wx_func=yes
36788 echo "$as_me: failed program was:" >&5
36789 sed 's/^/| /' conftest.$ac_ext >&5
36791 eval wx_cv_func_$wx_func=no
36794 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36795 conftest$ac_exeext conftest.$ac_ext
36798 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
36799 { echo "$as_me:$LINENO: result: $ac_res" >&5
36800 echo "${ECHO_T}$ac_res" >&6; }
36802 if eval test \$wx_cv_func_$wx_func = yes
36804 cat >>confdefs.h <<_ACEOF
36805 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
36818 for wx_func in strtok_r
36820 { echo "$as_me:$LINENO: checking for $wx_func" >&5
36821 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
36822 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
36823 echo $ECHO_N "(cached) $ECHO_C" >&6
36826 cat >conftest.$ac_ext <<_ACEOF
36830 cat confdefs.h >>conftest.$ac_ext
36831 cat >>conftest.$ac_ext <<_ACEOF
36832 /* end confdefs.h. */
36835 $ac_includes_default
36851 rm -f conftest.$ac_objext conftest$ac_exeext
36852 if { (ac_try="$ac_link"
36853 case "(($ac_try" in
36854 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
36855 *) ac_try_echo
=$ac_try;;
36857 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36858 (eval "$ac_link") 2>conftest.er1
36860 grep -v '^ *+' conftest.er1
>conftest.err
36862 cat conftest.err
>&5
36863 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36864 (exit $ac_status); } && {
36865 test -z "$ac_c_werror_flag" ||
36866 test ! -s conftest.err
36867 } && test -s conftest
$ac_exeext &&
36868 $as_test_x conftest
$ac_exeext; then
36869 eval wx_cv_func_
$wx_func=yes
36871 echo "$as_me: failed program was:" >&5
36872 sed 's/^/| /' conftest.
$ac_ext >&5
36874 eval wx_cv_func_
$wx_func=no
36877 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
36878 conftest
$ac_exeext conftest.
$ac_ext
36881 ac_res
=`eval echo '${'wx_cv_func_$wx_func'}'`
36882 { echo "$as_me:$LINENO: result: $ac_res" >&5
36883 echo "${ECHO_T}$ac_res" >&6; }
36885 if eval test \
$wx_cv_func_$wx_func = yes
36887 cat >>confdefs.h
<<_ACEOF
36888 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
36901 for ac_func
in inet_addr
36903 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36904 { echo "$as_me:$LINENO: checking for $ac_func" >&5
36905 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
36906 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
36907 echo $ECHO_N "(cached) $ECHO_C" >&6
36909 cat >conftest.
$ac_ext <<_ACEOF
36912 cat confdefs.h
>>conftest.
$ac_ext
36913 cat >>conftest.
$ac_ext <<_ACEOF
36914 /* end confdefs.h. */
36915 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36916 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36917 #define $ac_func innocuous_$ac_func
36919 /* System header to define __stub macros and hopefully few prototypes,
36920 which can conflict with char $ac_func (); below.
36921 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36922 <limits.h> exists even on freestanding compilers. */
36925 # include <limits.h>
36927 # include <assert.h>
36932 /* Override any GCC internal prototype to avoid an error.
36933 Use char because int might match the return type of a GCC
36934 builtin and then its argument prototype would still apply. */
36939 /* The GNU C library defines this for functions which it implements
36940 to always fail with ENOSYS. Some functions are actually named
36941 something starting with __ and the normal name is an alias. */
36942 #if defined __stub_$ac_func || defined __stub___$ac_func
36949 return $ac_func ();
36954 rm -f conftest.
$ac_objext conftest
$ac_exeext
36955 if { (ac_try
="$ac_link"
36956 case "(($ac_try" in
36957 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
36958 *) ac_try_echo=$ac_try;;
36960 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36961 (eval "$ac_link") 2>conftest.er1
36963 grep -v '^ *+' conftest.er1 >conftest.err
36965 cat conftest.err >&5
36966 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36967 (exit $ac_status); } && {
36968 test -z "$ac_c_werror_flag" ||
36969 test ! -s conftest.err
36970 } && test -s conftest$ac_exeext &&
36971 $as_test_x conftest$ac_exeext; then
36972 eval "$as_ac_var=yes"
36974 echo "$as_me: failed program was:" >&5
36975 sed 's/^/| /' conftest.$ac_ext >&5
36977 eval "$as_ac_var=no"
36980 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36981 conftest$ac_exeext conftest.$ac_ext
36983 ac_res=`eval echo '${'$as_ac_var'}'`
36984 { echo "$as_me:$LINENO: result: $ac_res" >&5
36985 echo "${ECHO_T}$ac_res" >&6; }
36986 if test `eval echo '${'$as_ac_var'}'` = yes; then
36987 cat >>confdefs.h <<_ACEOF
36988 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36990 cat >>confdefs.h <<\_ACEOF
36991 #define HAVE_INET_ADDR 1
36996 { echo "$as_me:$LINENO: checking for inet_addr in -lnsl" >&5
36997 echo $ECHO_N "checking for inet_addr in -lnsl... $ECHO_C" >&6; }
36998 if test "${ac_cv_lib_nsl_inet_addr+set}" = set; then
36999 echo $ECHO_N "(cached) $ECHO_C" >&6
37001 ac_check_lib_save_LIBS=$LIBS
37003 cat >conftest.$ac_ext <<_ACEOF
37006 cat confdefs.h >>conftest.$ac_ext
37007 cat >>conftest.$ac_ext <<_ACEOF
37008 /* end confdefs.h. */
37010 /* Override any GCC internal prototype to avoid an error.
37011 Use char because int might match the return type of a GCC
37012 builtin and then its argument prototype would still apply. */
37020 return inet_addr ();
37025 rm -f conftest.$ac_objext conftest$ac_exeext
37026 if { (ac_try="$ac_link"
37027 case "(($ac_try" in
37028 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
37029 *) ac_try_echo
=$ac_try;;
37031 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37032 (eval "$ac_link") 2>conftest.er1
37034 grep -v '^ *+' conftest.er1
>conftest.err
37036 cat conftest.err
>&5
37037 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37038 (exit $ac_status); } && {
37039 test -z "$ac_c_werror_flag" ||
37040 test ! -s conftest.err
37041 } && test -s conftest
$ac_exeext &&
37042 $as_test_x conftest
$ac_exeext; then
37043 ac_cv_lib_nsl_inet_addr
=yes
37045 echo "$as_me: failed program was:" >&5
37046 sed 's/^/| /' conftest.
$ac_ext >&5
37048 ac_cv_lib_nsl_inet_addr
=no
37051 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
37052 conftest
$ac_exeext conftest.
$ac_ext
37053 LIBS
=$ac_check_lib_save_LIBS
37055 { echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_inet_addr" >&5
37056 echo "${ECHO_T}$ac_cv_lib_nsl_inet_addr" >&6; }
37057 if test $ac_cv_lib_nsl_inet_addr = yes; then
37061 { echo "$as_me:$LINENO: checking for inet_addr in -lresolv" >&5
37062 echo $ECHO_N "checking for inet_addr in -lresolv... $ECHO_C" >&6; }
37063 if test "${ac_cv_lib_resolv_inet_addr+set}" = set; then
37064 echo $ECHO_N "(cached) $ECHO_C" >&6
37066 ac_check_lib_save_LIBS
=$LIBS
37067 LIBS
="-lresolv $LIBS"
37068 cat >conftest.
$ac_ext <<_ACEOF
37071 cat confdefs.h
>>conftest.
$ac_ext
37072 cat >>conftest.
$ac_ext <<_ACEOF
37073 /* end confdefs.h. */
37075 /* Override any GCC internal prototype to avoid an error.
37076 Use char because int might match the return type of a GCC
37077 builtin and then its argument prototype would still apply. */
37085 return inet_addr ();
37090 rm -f conftest.
$ac_objext conftest
$ac_exeext
37091 if { (ac_try
="$ac_link"
37092 case "(($ac_try" in
37093 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
37094 *) ac_try_echo=$ac_try;;
37096 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37097 (eval "$ac_link") 2>conftest.er1
37099 grep -v '^ *+' conftest.er1 >conftest.err
37101 cat conftest.err >&5
37102 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37103 (exit $ac_status); } && {
37104 test -z "$ac_c_werror_flag" ||
37105 test ! -s conftest.err
37106 } && test -s conftest$ac_exeext &&
37107 $as_test_x conftest$ac_exeext; then
37108 ac_cv_lib_resolv_inet_addr=yes
37110 echo "$as_me: failed program was:" >&5
37111 sed 's/^/| /' conftest.$ac_ext >&5
37113 ac_cv_lib_resolv_inet_addr=no
37116 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37117 conftest$ac_exeext conftest.$ac_ext
37118 LIBS=$ac_check_lib_save_LIBS
37120 { echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_inet_addr" >&5
37121 echo "${ECHO_T}$ac_cv_lib_resolv_inet_addr" >&6; }
37122 if test $ac_cv_lib_resolv_inet_addr = yes; then
37126 { echo "$as_me:$LINENO: checking for inet_addr in -lsocket" >&5
37127 echo $ECHO_N "checking for inet_addr in -lsocket... $ECHO_C" >&6; }
37128 if test "${ac_cv_lib_socket_inet_addr+set}" = set; then
37129 echo $ECHO_N "(cached) $ECHO_C" >&6
37131 ac_check_lib_save_LIBS=$LIBS
37132 LIBS="-lsocket $LIBS"
37133 cat >conftest.$ac_ext <<_ACEOF
37136 cat confdefs.h >>conftest.$ac_ext
37137 cat >>conftest.$ac_ext <<_ACEOF
37138 /* end confdefs.h. */
37140 /* Override any GCC internal prototype to avoid an error.
37141 Use char because int might match the return type of a GCC
37142 builtin and then its argument prototype would still apply. */
37150 return inet_addr ();
37155 rm -f conftest.$ac_objext conftest$ac_exeext
37156 if { (ac_try="$ac_link"
37157 case "(($ac_try" in
37158 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
37159 *) ac_try_echo
=$ac_try;;
37161 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37162 (eval "$ac_link") 2>conftest.er1
37164 grep -v '^ *+' conftest.er1
>conftest.err
37166 cat conftest.err
>&5
37167 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37168 (exit $ac_status); } && {
37169 test -z "$ac_c_werror_flag" ||
37170 test ! -s conftest.err
37171 } && test -s conftest
$ac_exeext &&
37172 $as_test_x conftest
$ac_exeext; then
37173 ac_cv_lib_socket_inet_addr
=yes
37175 echo "$as_me: failed program was:" >&5
37176 sed 's/^/| /' conftest.
$ac_ext >&5
37178 ac_cv_lib_socket_inet_addr
=no
37181 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
37182 conftest
$ac_exeext conftest.
$ac_ext
37183 LIBS
=$ac_check_lib_save_LIBS
37185 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_inet_addr" >&5
37186 echo "${ECHO_T}$ac_cv_lib_socket_inet_addr" >&6; }
37187 if test $ac_cv_lib_socket_inet_addr = yes; then
37207 for ac_func
in inet_aton
37209 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37210 { echo "$as_me:$LINENO: checking for $ac_func" >&5
37211 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
37212 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
37213 echo $ECHO_N "(cached) $ECHO_C" >&6
37215 cat >conftest.
$ac_ext <<_ACEOF
37218 cat confdefs.h
>>conftest.
$ac_ext
37219 cat >>conftest.
$ac_ext <<_ACEOF
37220 /* end confdefs.h. */
37221 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37222 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37223 #define $ac_func innocuous_$ac_func
37225 /* System header to define __stub macros and hopefully few prototypes,
37226 which can conflict with char $ac_func (); below.
37227 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37228 <limits.h> exists even on freestanding compilers. */
37231 # include <limits.h>
37233 # include <assert.h>
37238 /* Override any GCC internal prototype to avoid an error.
37239 Use char because int might match the return type of a GCC
37240 builtin and then its argument prototype would still apply. */
37245 /* The GNU C library defines this for functions which it implements
37246 to always fail with ENOSYS. Some functions are actually named
37247 something starting with __ and the normal name is an alias. */
37248 #if defined __stub_$ac_func || defined __stub___$ac_func
37255 return $ac_func ();
37260 rm -f conftest.
$ac_objext conftest
$ac_exeext
37261 if { (ac_try
="$ac_link"
37262 case "(($ac_try" in
37263 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
37264 *) ac_try_echo=$ac_try;;
37266 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37267 (eval "$ac_link") 2>conftest.er1
37269 grep -v '^ *+' conftest.er1 >conftest.err
37271 cat conftest.err >&5
37272 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37273 (exit $ac_status); } && {
37274 test -z "$ac_c_werror_flag" ||
37275 test ! -s conftest.err
37276 } && test -s conftest$ac_exeext &&
37277 $as_test_x conftest$ac_exeext; then
37278 eval "$as_ac_var=yes"
37280 echo "$as_me: failed program was:" >&5
37281 sed 's/^/| /' conftest.$ac_ext >&5
37283 eval "$as_ac_var=no"
37286 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37287 conftest$ac_exeext conftest.$ac_ext
37289 ac_res=`eval echo '${'$as_ac_var'}'`
37290 { echo "$as_me:$LINENO: result: $ac_res" >&5
37291 echo "${ECHO_T}$ac_res" >&6; }
37292 if test `eval echo '${'$as_ac_var'}'` = yes; then
37293 cat >>confdefs.h <<_ACEOF
37294 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37296 cat >>confdefs.h <<\_ACEOF
37297 #define HAVE_INET_ATON 1
37302 as_ac_Lib=`echo "ac_cv_lib_$INET_LINK''_inet_aton" | $as_tr_sh`
37303 { echo "$as_me:$LINENO: checking for inet_aton in -l$INET_LINK" >&5
37304 echo $ECHO_N "checking for inet_aton in -l$INET_LINK... $ECHO_C" >&6; }
37305 if { as_var=$as_ac_Lib; eval "test \"\${$as_var+set}\" = set"; }; then
37306 echo $ECHO_N "(cached) $ECHO_C" >&6
37308 ac_check_lib_save_LIBS=$LIBS
37309 LIBS="-l$INET_LINK $LIBS"
37310 cat >conftest.$ac_ext <<_ACEOF
37313 cat confdefs.h >>conftest.$ac_ext
37314 cat >>conftest.$ac_ext <<_ACEOF
37315 /* end confdefs.h. */
37317 /* Override any GCC internal prototype to avoid an error.
37318 Use char because int might match the return type of a GCC
37319 builtin and then its argument prototype would still apply. */
37327 return inet_aton ();
37332 rm -f conftest.$ac_objext conftest$ac_exeext
37333 if { (ac_try="$ac_link"
37334 case "(($ac_try" in
37335 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
37336 *) ac_try_echo
=$ac_try;;
37338 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37339 (eval "$ac_link") 2>conftest.er1
37341 grep -v '^ *+' conftest.er1
>conftest.err
37343 cat conftest.err
>&5
37344 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37345 (exit $ac_status); } && {
37346 test -z "$ac_c_werror_flag" ||
37347 test ! -s conftest.err
37348 } && test -s conftest
$ac_exeext &&
37349 $as_test_x conftest
$ac_exeext; then
37350 eval "$as_ac_Lib=yes"
37352 echo "$as_me: failed program was:" >&5
37353 sed 's/^/| /' conftest.
$ac_ext >&5
37355 eval "$as_ac_Lib=no"
37358 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
37359 conftest
$ac_exeext conftest.
$ac_ext
37360 LIBS
=$ac_check_lib_save_LIBS
37362 ac_res
=`eval echo '${'$as_ac_Lib'}'`
37363 { echo "$as_me:$LINENO: result: $ac_res" >&5
37364 echo "${ECHO_T}$ac_res" >&6; }
37365 if test `eval echo '${'$as_ac_Lib'}'` = yes; then
37366 cat >>confdefs.h
<<\_ACEOF
37367 #define HAVE_INET_ATON 1
37377 if test "x$INET_LINK" != "x"; then
37378 cat >>confdefs.h
<<\_ACEOF
37379 #define HAVE_INET_ADDR 1
37382 INET_LINK
=" -l$INET_LINK"
37386 for wx_func
in fdopen
37388 { echo "$as_me:$LINENO: checking for $wx_func" >&5
37389 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
37390 if { as_var
=wx_cv_func_
$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
37391 echo $ECHO_N "(cached) $ECHO_C" >&6
37394 cat >conftest.
$ac_ext <<_ACEOF
37398 cat confdefs.h
>>conftest.
$ac_ext
37399 cat >>conftest.
$ac_ext <<_ACEOF
37400 /* end confdefs.h. */
37403 $ac_includes_default
37419 rm -f conftest.
$ac_objext conftest
$ac_exeext
37420 if { (ac_try
="$ac_link"
37421 case "(($ac_try" in
37422 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
37423 *) ac_try_echo=$ac_try;;
37425 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37426 (eval "$ac_link") 2>conftest.er1
37428 grep -v '^ *+' conftest.er1 >conftest.err
37430 cat conftest.err >&5
37431 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37432 (exit $ac_status); } && {
37433 test -z "$ac_c_werror_flag" ||
37434 test ! -s conftest.err
37435 } && test -s conftest$ac_exeext &&
37436 $as_test_x conftest$ac_exeext; then
37437 eval wx_cv_func_$wx_func=yes
37439 echo "$as_me: failed program was:" >&5
37440 sed 's/^/| /' conftest.$ac_ext >&5
37442 eval wx_cv_func_$wx_func=no
37445 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37446 conftest$ac_exeext conftest.$ac_ext
37449 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
37450 { echo "$as_me:$LINENO: result: $ac_res" >&5
37451 echo "${ECHO_T}$ac_res" >&6; }
37453 if eval test \$wx_cv_func_$wx_func = yes
37455 cat >>confdefs.h <<_ACEOF
37456 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
37471 cat >confcache <<\_ACEOF
37472 # This file is a shell script that caches the results of configure
37473 # tests run on this system so they can be shared between configure
37474 # scripts and configure runs, see configure's option --config-cache.
37475 # It is not useful on other systems. If it contains results you don't
37476 # want to keep, you may remove or edit it.
37478 # config.status only pays attention to the cache file if you give it
37479 # the --recheck option to rerun configure.
37481 # `ac_cv_env_foo
' variables (set or unset) will be overridden when
37482 # loading this file, other *unset* `ac_cv_foo' will be assigned the
37483 # following values.
37487 # The following way of writing the cache mishandles newlines in values,
37488 # but we know of no workaround that is simple, portable, and efficient.
37489 # So, we kill variables containing newlines.
37490 # Ultrix sh set writes to stderr and can't be redirected directly,
37491 # and sets the high bit in the cache file unless we assign to the vars.
37493 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
37494 eval ac_val
=\$
$ac_var
37498 *_cv_
*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
37499 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
37502 _
| IFS
| as_nl
) ;; #(
37503 *) $as_unset $ac_var ;;
37509 case $as_nl`(ac_space=' '; set) 2>&1` in #(
37510 *${as_nl}ac_space
=\
*)
37511 # `set' does not quote correctly, so add quotes (double-quote
37512 # substitution turns \\\\ into \\, and sed turns \\ into \).
37515 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
37518 # `set' quotes correctly as required by POSIX, so do not add quotes.
37519 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
37528 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
37530 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
37532 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
37533 if test -w "$cache_file"; then
37534 test "x$cache_file" != "x/dev/null" &&
37535 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
37536 echo "$as_me: updating cache $cache_file" >&6;}
37537 cat confcache
>$cache_file
37539 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
37540 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
37546 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
37552 if test "$wxUSE_THREADS" = "yes" ; then
37553 if test "$USE_BEOS" = 1; then
37554 { echo "$as_me:$LINENO: WARNING: BeOS threads are not yet supported... disabled" >&5
37555 echo "$as_me: WARNING: BeOS threads are not yet supported... disabled" >&2;}
37560 if test "$wxUSE_THREADS" = "yes" ; then
37563 THREAD_OPTS
="-pthread"
37565 *-*-solaris2* | *-*-sunos4* )
37566 if test "x$GCC" = "xyes"; then
37567 THREAD_OPTS
="-pthreads $THREAD_OPTS"
37569 THREAD_OPTS
="-mt $THREAD_OPTS"
37573 THREAD_OPTS
="-kthread lthread $THREAD_OPTS c_r"
37575 *-*-darwin* | *-*-cygwin* )
37579 THREAD_OPTS
="pthreads"
37582 if test "x$GCC" = "xyes"; then
37583 $CXX -dumpspecs | grep 'pthread:' >/dev
/null
||
37591 if test "x$GCC" = "xyes"; then
37597 if test "x$GCC" != "xyes"; then
37598 THREAD_OPTS
="-Ethread"
37603 THREAD_OPTS
="$THREAD_OPTS pthread none"
37606 for flag
in $THREAD_OPTS; do
37609 { echo "$as_me:$LINENO: checking whether pthreads work without any flags" >&5
37610 echo $ECHO_N "checking whether pthreads work without any flags... $ECHO_C" >&6; }
37614 { echo "$as_me:$LINENO: checking whether pthreads work with $flag" >&5
37615 echo $ECHO_N "checking whether pthreads work with $flag... $ECHO_C" >&6; }
37616 THREADS_CFLAGS
="$flag"
37620 { echo "$as_me:$LINENO: checking for the pthreads library -l$flag" >&5
37621 echo $ECHO_N "checking for the pthreads library -l$flag... $ECHO_C" >&6; }
37622 THREADS_LINK
="-l$flag"
37627 save_CFLAGS
="$CFLAGS"
37628 LIBS
="$THREADS_LINK $LIBS"
37629 CFLAGS
="$THREADS_CFLAGS $CFLAGS"
37631 cat >conftest.
$ac_ext <<_ACEOF
37634 cat confdefs.h
>>conftest.
$ac_ext
37635 cat >>conftest.
$ac_ext <<_ACEOF
37636 /* end confdefs.h. */
37637 #include <pthread.h>
37641 pthread_create(0,0,0,0);
37646 rm -f conftest.
$ac_objext conftest
$ac_exeext
37647 if { (ac_try
="$ac_link"
37648 case "(($ac_try" in
37649 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
37650 *) ac_try_echo=$ac_try;;
37652 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37653 (eval "$ac_link") 2>conftest.er1
37655 grep -v '^ *+' conftest.er1 >conftest.err
37657 cat conftest.err >&5
37658 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37659 (exit $ac_status); } && {
37660 test -z "$ac_c_werror_flag" ||
37661 test ! -s conftest.err
37662 } && test -s conftest$ac_exeext &&
37663 $as_test_x conftest$ac_exeext; then
37666 echo "$as_me: failed program was:" >&5
37667 sed 's/^/| /' conftest.$ac_ext >&5
37672 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37673 conftest$ac_exeext conftest.$ac_ext
37676 CFLAGS="$save_CFLAGS"
37678 { echo "$as_me:$LINENO: result: $THREADS_OK" >&5
37679 echo "${ECHO_T}$THREADS_OK" >&6; }
37680 if test "x$THREADS_OK" = "xyes"; then
37688 if test "x$THREADS_OK" != "xyes"; then
37690 { echo "$as_me:$LINENO: WARNING: No thread support on this system... disabled" >&5
37691 echo "$as_me: WARNING: No thread support on this system... disabled" >&2;}
37693 LDFLAGS="$THREADS_CFLAGS $LDFLAGS"
37694 LIBS="$THREADS_LINK $LIBS"
37696 { echo "$as_me:$LINENO: checking if more special flags are required for pthreads" >&5
37697 echo $ECHO_N "checking if more special flags are required for pthreads... $ECHO_C" >&6; }
37701 LDFLAGS="-L/usr/lib/threads $LDFLAGS"
37702 flag="-D_THREAD_SAFE"
37705 flag="-D_THREAD_SAFE"
37708 flag="-D_REENTRANT"
37709 if test "x$GCC" != "xyes"; then
37710 flag="$flag -D_RWSTD_MULTI_THREAD"
37713 *solaris* | alpha*-osf*)
37714 flag="-D_REENTRANT"
37717 { echo "$as_me:$LINENO: result: ${flag}" >&5
37718 echo "${ECHO_T}${flag}" >&6; }
37719 if test "x$flag" != xno; then
37720 THREADS_CFLAGS="$THREADS_CFLAGS $flag"
37723 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS $THREADS_CFLAGS"
37727 if test "$wxUSE_THREADS" = "yes" ; then
37729 for ac_func in thr_setconcurrency
37731 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37732 { echo "$as_me:$LINENO: checking for $ac_func" >&5
37733 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
37734 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
37735 echo $ECHO_N "(cached) $ECHO_C" >&6
37737 cat >conftest.$ac_ext <<_ACEOF
37740 cat confdefs.h >>conftest.$ac_ext
37741 cat >>conftest.$ac_ext <<_ACEOF
37742 /* end confdefs.h. */
37743 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37744 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37745 #define $ac_func innocuous_$ac_func
37747 /* System header to define __stub macros and hopefully few prototypes,
37748 which can conflict with char $ac_func (); below.
37749 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37750 <limits.h> exists even on freestanding compilers. */
37753 # include <limits.h>
37755 # include <assert.h>
37760 /* Override any GCC internal prototype to avoid an error.
37761 Use char because int might match the return type of a GCC
37762 builtin and then its argument prototype would still apply. */
37767 /* The GNU C library defines this for functions which it implements
37768 to always fail with ENOSYS. Some functions are actually named
37769 something starting with __ and the normal name is an alias. */
37770 #if defined __stub_$ac_func || defined __stub___$ac_func
37777 return $ac_func ();
37782 rm -f conftest.$ac_objext conftest$ac_exeext
37783 if { (ac_try="$ac_link"
37784 case "(($ac_try" in
37785 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
37786 *) ac_try_echo
=$ac_try;;
37788 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37789 (eval "$ac_link") 2>conftest.er1
37791 grep -v '^ *+' conftest.er1
>conftest.err
37793 cat conftest.err
>&5
37794 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37795 (exit $ac_status); } && {
37796 test -z "$ac_c_werror_flag" ||
37797 test ! -s conftest.err
37798 } && test -s conftest
$ac_exeext &&
37799 $as_test_x conftest
$ac_exeext; then
37800 eval "$as_ac_var=yes"
37802 echo "$as_me: failed program was:" >&5
37803 sed 's/^/| /' conftest.
$ac_ext >&5
37805 eval "$as_ac_var=no"
37808 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
37809 conftest
$ac_exeext conftest.
$ac_ext
37811 ac_res
=`eval echo '${'$as_ac_var'}'`
37812 { echo "$as_me:$LINENO: result: $ac_res" >&5
37813 echo "${ECHO_T}$ac_res" >&6; }
37814 if test `eval echo '${'$as_ac_var'}'` = yes; then
37815 cat >>confdefs.h
<<_ACEOF
37816 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37823 { echo "$as_me:$LINENO: checking for pthread_cleanup_push/pop" >&5
37824 echo $ECHO_N "checking for pthread_cleanup_push/pop... $ECHO_C" >&6; }
37825 if test "${wx_cv_func_pthread_cleanup+set}" = set; then
37826 echo $ECHO_N "(cached) $ECHO_C" >&6
37829 cat >conftest.
$ac_ext <<_ACEOF
37832 cat confdefs.h
>>conftest.
$ac_ext
37833 cat >>conftest.
$ac_ext <<_ACEOF
37834 /* end confdefs.h. */
37835 #include <pthread.h>
37836 void ThreadCleanupFunc(void *p);
37843 pthread_cleanup_push(ThreadCleanupFunc, p);
37844 pthread_cleanup_pop(0);
37850 rm -f conftest.
$ac_objext
37851 if { (ac_try
="$ac_compile"
37852 case "(($ac_try" in
37853 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
37854 *) ac_try_echo=$ac_try;;
37856 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37857 (eval "$ac_compile") 2>conftest.er1
37859 grep -v '^ *+' conftest.er1 >conftest.err
37861 cat conftest.err >&5
37862 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37863 (exit $ac_status); } && {
37864 test -z "$ac_c_werror_flag" ||
37865 test ! -s conftest.err
37866 } && test -s conftest.$ac_objext; then
37868 wx_cv_func_pthread_cleanup=yes
37871 echo "$as_me: failed program was:" >&5
37872 sed 's/^/| /' conftest.$ac_ext >&5
37875 wx_cv_func_pthread_cleanup=no
37880 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37883 { echo "$as_me:$LINENO: result: $wx_cv_func_pthread_cleanup" >&5
37884 echo "${ECHO_T}$wx_cv_func_pthread_cleanup" >&6; }
37885 if test "x$wx_cv_func_pthread_cleanup" = "xyes"; then
37886 cat >>confdefs.h <<\_ACEOF
37887 #define wxHAVE_PTHREAD_CLEANUP 1
37892 { echo "$as_me:$LINENO: checking for sched.h" >&5
37893 echo $ECHO_N "checking for sched.h... $ECHO_C" >&6; }
37894 if test "${ac_cv_header_sched_h+set}" = set; then
37895 echo $ECHO_N "(cached) $ECHO_C" >&6
37897 cat >conftest.$ac_ext <<_ACEOF
37900 cat confdefs.h >>conftest.$ac_ext
37901 cat >>conftest.$ac_ext <<_ACEOF
37902 /* end confdefs.h. */
37903 $ac_includes_default
37907 rm -f conftest.$ac_objext
37908 if { (ac_try="$ac_compile"
37909 case "(($ac_try" in
37910 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
37911 *) ac_try_echo
=$ac_try;;
37913 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37914 (eval "$ac_compile") 2>conftest.er1
37916 grep -v '^ *+' conftest.er1
>conftest.err
37918 cat conftest.err
>&5
37919 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37920 (exit $ac_status); } && {
37921 test -z "$ac_c_werror_flag" ||
37922 test ! -s conftest.err
37923 } && test -s conftest.
$ac_objext; then
37924 ac_cv_header_sched_h
=yes
37926 echo "$as_me: failed program was:" >&5
37927 sed 's/^/| /' conftest.
$ac_ext >&5
37929 ac_cv_header_sched_h
=no
37932 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
37934 { echo "$as_me:$LINENO: result: $ac_cv_header_sched_h" >&5
37935 echo "${ECHO_T}$ac_cv_header_sched_h" >&6; }
37938 if test "$ac_cv_header_sched_h" = "yes"; then
37939 { echo "$as_me:$LINENO: checking for sched_yield" >&5
37940 echo $ECHO_N "checking for sched_yield... $ECHO_C" >&6; }
37941 if test "${ac_cv_func_sched_yield+set}" = set; then
37942 echo $ECHO_N "(cached) $ECHO_C" >&6
37944 cat >conftest.
$ac_ext <<_ACEOF
37947 cat confdefs.h
>>conftest.
$ac_ext
37948 cat >>conftest.
$ac_ext <<_ACEOF
37949 /* end confdefs.h. */
37950 /* Define sched_yield to an innocuous variant, in case <limits.h> declares sched_yield.
37951 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37952 #define sched_yield innocuous_sched_yield
37954 /* System header to define __stub macros and hopefully few prototypes,
37955 which can conflict with char sched_yield (); below.
37956 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37957 <limits.h> exists even on freestanding compilers. */
37960 # include <limits.h>
37962 # include <assert.h>
37967 /* Override any GCC internal prototype to avoid an error.
37968 Use char because int might match the return type of a GCC
37969 builtin and then its argument prototype would still apply. */
37973 char sched_yield ();
37974 /* The GNU C library defines this for functions which it implements
37975 to always fail with ENOSYS. Some functions are actually named
37976 something starting with __ and the normal name is an alias. */
37977 #if defined __stub_sched_yield || defined __stub___sched_yield
37984 return sched_yield ();
37989 rm -f conftest.
$ac_objext conftest
$ac_exeext
37990 if { (ac_try
="$ac_link"
37991 case "(($ac_try" in
37992 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
37993 *) ac_try_echo=$ac_try;;
37995 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37996 (eval "$ac_link") 2>conftest.er1
37998 grep -v '^ *+' conftest.er1 >conftest.err
38000 cat conftest.err >&5
38001 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38002 (exit $ac_status); } && {
38003 test -z "$ac_c_werror_flag" ||
38004 test ! -s conftest.err
38005 } && test -s conftest$ac_exeext &&
38006 $as_test_x conftest$ac_exeext; then
38007 ac_cv_func_sched_yield=yes
38009 echo "$as_me: failed program was:" >&5
38010 sed 's/^/| /' conftest.$ac_ext >&5
38012 ac_cv_func_sched_yield=no
38015 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38016 conftest$ac_exeext conftest.$ac_ext
38018 { echo "$as_me:$LINENO: result: $ac_cv_func_sched_yield" >&5
38019 echo "${ECHO_T}$ac_cv_func_sched_yield" >&6; }
38020 if test $ac_cv_func_sched_yield = yes; then
38021 cat >>confdefs.h <<\_ACEOF
38022 #define HAVE_SCHED_YIELD 1
38027 { echo "$as_me:$LINENO: checking for sched_yield in -lposix4" >&5
38028 echo $ECHO_N "checking for sched_yield in -lposix4... $ECHO_C" >&6; }
38029 if test "${ac_cv_lib_posix4_sched_yield+set}" = set; then
38030 echo $ECHO_N "(cached) $ECHO_C" >&6
38032 ac_check_lib_save_LIBS=$LIBS
38033 LIBS="-lposix4 $LIBS"
38034 cat >conftest.$ac_ext <<_ACEOF
38037 cat confdefs.h >>conftest.$ac_ext
38038 cat >>conftest.$ac_ext <<_ACEOF
38039 /* end confdefs.h. */
38041 /* Override any GCC internal prototype to avoid an error.
38042 Use char because int might match the return type of a GCC
38043 builtin and then its argument prototype would still apply. */
38047 char sched_yield ();
38051 return sched_yield ();
38056 rm -f conftest.$ac_objext conftest$ac_exeext
38057 if { (ac_try="$ac_link"
38058 case "(($ac_try" in
38059 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
38060 *) ac_try_echo
=$ac_try;;
38062 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38063 (eval "$ac_link") 2>conftest.er1
38065 grep -v '^ *+' conftest.er1
>conftest.err
38067 cat conftest.err
>&5
38068 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38069 (exit $ac_status); } && {
38070 test -z "$ac_c_werror_flag" ||
38071 test ! -s conftest.err
38072 } && test -s conftest
$ac_exeext &&
38073 $as_test_x conftest
$ac_exeext; then
38074 ac_cv_lib_posix4_sched_yield
=yes
38076 echo "$as_me: failed program was:" >&5
38077 sed 's/^/| /' conftest.
$ac_ext >&5
38079 ac_cv_lib_posix4_sched_yield
=no
38082 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
38083 conftest
$ac_exeext conftest.
$ac_ext
38084 LIBS
=$ac_check_lib_save_LIBS
38086 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_yield" >&5
38087 echo "${ECHO_T}$ac_cv_lib_posix4_sched_yield" >&6; }
38088 if test $ac_cv_lib_posix4_sched_yield = yes; then
38089 cat >>confdefs.h
<<\_ACEOF
38090 #define HAVE_SCHED_YIELD 1
38092 POSIX4_LINK
=" -lposix4"
38094 { echo "$as_me:$LINENO: WARNING: wxThread::Yield will not work properly" >&5
38095 echo "$as_me: WARNING: wxThread::Yield will not work properly" >&2;}
38106 { echo "$as_me:$LINENO: checking for pthread_attr_getschedpolicy" >&5
38107 echo $ECHO_N "checking for pthread_attr_getschedpolicy... $ECHO_C" >&6; }
38108 if test "${ac_cv_func_pthread_attr_getschedpolicy+set}" = set; then
38109 echo $ECHO_N "(cached) $ECHO_C" >&6
38111 cat >conftest.
$ac_ext <<_ACEOF
38114 cat confdefs.h
>>conftest.
$ac_ext
38115 cat >>conftest.
$ac_ext <<_ACEOF
38116 /* end confdefs.h. */
38117 /* Define pthread_attr_getschedpolicy to an innocuous variant, in case <limits.h> declares pthread_attr_getschedpolicy.
38118 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38119 #define pthread_attr_getschedpolicy innocuous_pthread_attr_getschedpolicy
38121 /* System header to define __stub macros and hopefully few prototypes,
38122 which can conflict with char pthread_attr_getschedpolicy (); below.
38123 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38124 <limits.h> exists even on freestanding compilers. */
38127 # include <limits.h>
38129 # include <assert.h>
38132 #undef pthread_attr_getschedpolicy
38134 /* Override any GCC internal prototype to avoid an error.
38135 Use char because int might match the return type of a GCC
38136 builtin and then its argument prototype would still apply. */
38140 char pthread_attr_getschedpolicy ();
38141 /* The GNU C library defines this for functions which it implements
38142 to always fail with ENOSYS. Some functions are actually named
38143 something starting with __ and the normal name is an alias. */
38144 #if defined __stub_pthread_attr_getschedpolicy || defined __stub___pthread_attr_getschedpolicy
38151 return pthread_attr_getschedpolicy ();
38156 rm -f conftest.
$ac_objext conftest
$ac_exeext
38157 if { (ac_try
="$ac_link"
38158 case "(($ac_try" in
38159 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
38160 *) ac_try_echo=$ac_try;;
38162 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38163 (eval "$ac_link") 2>conftest.er1
38165 grep -v '^ *+' conftest.er1 >conftest.err
38167 cat conftest.err >&5
38168 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38169 (exit $ac_status); } && {
38170 test -z "$ac_c_werror_flag" ||
38171 test ! -s conftest.err
38172 } && test -s conftest$ac_exeext &&
38173 $as_test_x conftest$ac_exeext; then
38174 ac_cv_func_pthread_attr_getschedpolicy=yes
38176 echo "$as_me: failed program was:" >&5
38177 sed 's/^/| /' conftest.$ac_ext >&5
38179 ac_cv_func_pthread_attr_getschedpolicy=no
38182 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38183 conftest$ac_exeext conftest.$ac_ext
38185 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_getschedpolicy" >&5
38186 echo "${ECHO_T}$ac_cv_func_pthread_attr_getschedpolicy" >&6; }
38187 if test $ac_cv_func_pthread_attr_getschedpolicy = yes; then
38188 { echo "$as_me:$LINENO: checking for pthread_attr_setschedparam" >&5
38189 echo $ECHO_N "checking for pthread_attr_setschedparam... $ECHO_C" >&6; }
38190 if test "${ac_cv_func_pthread_attr_setschedparam+set}" = set; then
38191 echo $ECHO_N "(cached) $ECHO_C" >&6
38193 cat >conftest.$ac_ext <<_ACEOF
38196 cat confdefs.h >>conftest.$ac_ext
38197 cat >>conftest.$ac_ext <<_ACEOF
38198 /* end confdefs.h. */
38199 /* Define pthread_attr_setschedparam to an innocuous variant, in case <limits.h> declares pthread_attr_setschedparam.
38200 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38201 #define pthread_attr_setschedparam innocuous_pthread_attr_setschedparam
38203 /* System header to define __stub macros and hopefully few prototypes,
38204 which can conflict with char pthread_attr_setschedparam (); below.
38205 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38206 <limits.h> exists even on freestanding compilers. */
38209 # include <limits.h>
38211 # include <assert.h>
38214 #undef pthread_attr_setschedparam
38216 /* Override any GCC internal prototype to avoid an error.
38217 Use char because int might match the return type of a GCC
38218 builtin and then its argument prototype would still apply. */
38222 char pthread_attr_setschedparam ();
38223 /* The GNU C library defines this for functions which it implements
38224 to always fail with ENOSYS. Some functions are actually named
38225 something starting with __ and the normal name is an alias. */
38226 #if defined __stub_pthread_attr_setschedparam || defined __stub___pthread_attr_setschedparam
38233 return pthread_attr_setschedparam ();
38238 rm -f conftest.$ac_objext conftest$ac_exeext
38239 if { (ac_try="$ac_link"
38240 case "(($ac_try" in
38241 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
38242 *) ac_try_echo
=$ac_try;;
38244 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38245 (eval "$ac_link") 2>conftest.er1
38247 grep -v '^ *+' conftest.er1
>conftest.err
38249 cat conftest.err
>&5
38250 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38251 (exit $ac_status); } && {
38252 test -z "$ac_c_werror_flag" ||
38253 test ! -s conftest.err
38254 } && test -s conftest
$ac_exeext &&
38255 $as_test_x conftest
$ac_exeext; then
38256 ac_cv_func_pthread_attr_setschedparam
=yes
38258 echo "$as_me: failed program was:" >&5
38259 sed 's/^/| /' conftest.
$ac_ext >&5
38261 ac_cv_func_pthread_attr_setschedparam
=no
38264 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
38265 conftest
$ac_exeext conftest.
$ac_ext
38267 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setschedparam" >&5
38268 echo "${ECHO_T}$ac_cv_func_pthread_attr_setschedparam" >&6; }
38269 if test $ac_cv_func_pthread_attr_setschedparam = yes; then
38270 { echo "$as_me:$LINENO: checking for sched_get_priority_max" >&5
38271 echo $ECHO_N "checking for sched_get_priority_max... $ECHO_C" >&6; }
38272 if test "${ac_cv_func_sched_get_priority_max+set}" = set; then
38273 echo $ECHO_N "(cached) $ECHO_C" >&6
38275 cat >conftest.
$ac_ext <<_ACEOF
38278 cat confdefs.h
>>conftest.
$ac_ext
38279 cat >>conftest.
$ac_ext <<_ACEOF
38280 /* end confdefs.h. */
38281 /* Define sched_get_priority_max to an innocuous variant, in case <limits.h> declares sched_get_priority_max.
38282 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38283 #define sched_get_priority_max innocuous_sched_get_priority_max
38285 /* System header to define __stub macros and hopefully few prototypes,
38286 which can conflict with char sched_get_priority_max (); below.
38287 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38288 <limits.h> exists even on freestanding compilers. */
38291 # include <limits.h>
38293 # include <assert.h>
38296 #undef sched_get_priority_max
38298 /* Override any GCC internal prototype to avoid an error.
38299 Use char because int might match the return type of a GCC
38300 builtin and then its argument prototype would still apply. */
38304 char sched_get_priority_max ();
38305 /* The GNU C library defines this for functions which it implements
38306 to always fail with ENOSYS. Some functions are actually named
38307 something starting with __ and the normal name is an alias. */
38308 #if defined __stub_sched_get_priority_max || defined __stub___sched_get_priority_max
38315 return sched_get_priority_max ();
38320 rm -f conftest.
$ac_objext conftest
$ac_exeext
38321 if { (ac_try
="$ac_link"
38322 case "(($ac_try" in
38323 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
38324 *) ac_try_echo=$ac_try;;
38326 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38327 (eval "$ac_link") 2>conftest.er1
38329 grep -v '^ *+' conftest.er1 >conftest.err
38331 cat conftest.err >&5
38332 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38333 (exit $ac_status); } && {
38334 test -z "$ac_c_werror_flag" ||
38335 test ! -s conftest.err
38336 } && test -s conftest$ac_exeext &&
38337 $as_test_x conftest$ac_exeext; then
38338 ac_cv_func_sched_get_priority_max=yes
38340 echo "$as_me: failed program was:" >&5
38341 sed 's/^/| /' conftest.$ac_ext >&5
38343 ac_cv_func_sched_get_priority_max=no
38346 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38347 conftest$ac_exeext conftest.$ac_ext
38349 { echo "$as_me:$LINENO: result: $ac_cv_func_sched_get_priority_max" >&5
38350 echo "${ECHO_T}$ac_cv_func_sched_get_priority_max" >&6; }
38351 if test $ac_cv_func_sched_get_priority_max = yes; then
38354 { echo "$as_me:$LINENO: checking for sched_get_priority_max in -lposix4" >&5
38355 echo $ECHO_N "checking for sched_get_priority_max in -lposix4... $ECHO_C" >&6; }
38356 if test "${ac_cv_lib_posix4_sched_get_priority_max+set}" = set; then
38357 echo $ECHO_N "(cached) $ECHO_C" >&6
38359 ac_check_lib_save_LIBS=$LIBS
38360 LIBS="-lposix4 $LIBS"
38361 cat >conftest.$ac_ext <<_ACEOF
38364 cat confdefs.h >>conftest.$ac_ext
38365 cat >>conftest.$ac_ext <<_ACEOF
38366 /* end confdefs.h. */
38368 /* Override any GCC internal prototype to avoid an error.
38369 Use char because int might match the return type of a GCC
38370 builtin and then its argument prototype would still apply. */
38374 char sched_get_priority_max ();
38378 return sched_get_priority_max ();
38383 rm -f conftest.$ac_objext conftest$ac_exeext
38384 if { (ac_try="$ac_link"
38385 case "(($ac_try" in
38386 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
38387 *) ac_try_echo
=$ac_try;;
38389 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38390 (eval "$ac_link") 2>conftest.er1
38392 grep -v '^ *+' conftest.er1
>conftest.err
38394 cat conftest.err
>&5
38395 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38396 (exit $ac_status); } && {
38397 test -z "$ac_c_werror_flag" ||
38398 test ! -s conftest.err
38399 } && test -s conftest
$ac_exeext &&
38400 $as_test_x conftest
$ac_exeext; then
38401 ac_cv_lib_posix4_sched_get_priority_max
=yes
38403 echo "$as_me: failed program was:" >&5
38404 sed 's/^/| /' conftest.
$ac_ext >&5
38406 ac_cv_lib_posix4_sched_get_priority_max
=no
38409 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
38410 conftest
$ac_exeext conftest.
$ac_ext
38411 LIBS
=$ac_check_lib_save_LIBS
38413 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_get_priority_max" >&5
38414 echo "${ECHO_T}$ac_cv_lib_posix4_sched_get_priority_max" >&6; }
38415 if test $ac_cv_lib_posix4_sched_get_priority_max = yes; then
38418 POSIX4_LINK
=" -lposix4"
38432 if test "$HAVE_PRIOR_FUNCS" = 1; then
38433 cat >>confdefs.h
<<\_ACEOF
38434 #define HAVE_THREAD_PRIORITY_FUNCTIONS 1
38438 { echo "$as_me:$LINENO: WARNING: Setting thread priority will not work" >&5
38439 echo "$as_me: WARNING: Setting thread priority will not work" >&2;}
38442 { echo "$as_me:$LINENO: checking for pthread_cancel" >&5
38443 echo $ECHO_N "checking for pthread_cancel... $ECHO_C" >&6; }
38444 if test "${ac_cv_func_pthread_cancel+set}" = set; then
38445 echo $ECHO_N "(cached) $ECHO_C" >&6
38447 cat >conftest.
$ac_ext <<_ACEOF
38450 cat confdefs.h
>>conftest.
$ac_ext
38451 cat >>conftest.
$ac_ext <<_ACEOF
38452 /* end confdefs.h. */
38453 /* Define pthread_cancel to an innocuous variant, in case <limits.h> declares pthread_cancel.
38454 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38455 #define pthread_cancel innocuous_pthread_cancel
38457 /* System header to define __stub macros and hopefully few prototypes,
38458 which can conflict with char pthread_cancel (); below.
38459 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38460 <limits.h> exists even on freestanding compilers. */
38463 # include <limits.h>
38465 # include <assert.h>
38468 #undef pthread_cancel
38470 /* Override any GCC internal prototype to avoid an error.
38471 Use char because int might match the return type of a GCC
38472 builtin and then its argument prototype would still apply. */
38476 char pthread_cancel ();
38477 /* The GNU C library defines this for functions which it implements
38478 to always fail with ENOSYS. Some functions are actually named
38479 something starting with __ and the normal name is an alias. */
38480 #if defined __stub_pthread_cancel || defined __stub___pthread_cancel
38487 return pthread_cancel ();
38492 rm -f conftest.
$ac_objext conftest
$ac_exeext
38493 if { (ac_try
="$ac_link"
38494 case "(($ac_try" in
38495 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
38496 *) ac_try_echo=$ac_try;;
38498 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38499 (eval "$ac_link") 2>conftest.er1
38501 grep -v '^ *+' conftest.er1 >conftest.err
38503 cat conftest.err >&5
38504 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38505 (exit $ac_status); } && {
38506 test -z "$ac_c_werror_flag" ||
38507 test ! -s conftest.err
38508 } && test -s conftest$ac_exeext &&
38509 $as_test_x conftest$ac_exeext; then
38510 ac_cv_func_pthread_cancel=yes
38512 echo "$as_me: failed program was:" >&5
38513 sed 's/^/| /' conftest.$ac_ext >&5
38515 ac_cv_func_pthread_cancel=no
38518 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38519 conftest$ac_exeext conftest.$ac_ext
38521 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_cancel" >&5
38522 echo "${ECHO_T}$ac_cv_func_pthread_cancel" >&6; }
38523 if test $ac_cv_func_pthread_cancel = yes; then
38524 cat >>confdefs.h <<\_ACEOF
38525 #define HAVE_PTHREAD_CANCEL 1
38529 { echo "$as_me:$LINENO: WARNING: wxThread::Kill() will not work properly" >&5
38530 echo "$as_me: WARNING: wxThread::Kill() will not work properly" >&2;}
38534 { echo "$as_me:$LINENO: checking for pthread_mutex_timedlock" >&5
38535 echo $ECHO_N "checking for pthread_mutex_timedlock... $ECHO_C" >&6; }
38536 if test "${ac_cv_func_pthread_mutex_timedlock+set}" = set; then
38537 echo $ECHO_N "(cached) $ECHO_C" >&6
38539 cat >conftest.$ac_ext <<_ACEOF
38542 cat confdefs.h >>conftest.$ac_ext
38543 cat >>conftest.$ac_ext <<_ACEOF
38544 /* end confdefs.h. */
38545 /* Define pthread_mutex_timedlock to an innocuous variant, in case <limits.h> declares pthread_mutex_timedlock.
38546 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38547 #define pthread_mutex_timedlock innocuous_pthread_mutex_timedlock
38549 /* System header to define __stub macros and hopefully few prototypes,
38550 which can conflict with char pthread_mutex_timedlock (); below.
38551 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38552 <limits.h> exists even on freestanding compilers. */
38555 # include <limits.h>
38557 # include <assert.h>
38560 #undef pthread_mutex_timedlock
38562 /* Override any GCC internal prototype to avoid an error.
38563 Use char because int might match the return type of a GCC
38564 builtin and then its argument prototype would still apply. */
38568 char pthread_mutex_timedlock ();
38569 /* The GNU C library defines this for functions which it implements
38570 to always fail with ENOSYS. Some functions are actually named
38571 something starting with __ and the normal name is an alias. */
38572 #if defined __stub_pthread_mutex_timedlock || defined __stub___pthread_mutex_timedlock
38579 return pthread_mutex_timedlock ();
38584 rm -f conftest.$ac_objext conftest$ac_exeext
38585 if { (ac_try="$ac_link"
38586 case "(($ac_try" in
38587 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
38588 *) ac_try_echo
=$ac_try;;
38590 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38591 (eval "$ac_link") 2>conftest.er1
38593 grep -v '^ *+' conftest.er1
>conftest.err
38595 cat conftest.err
>&5
38596 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38597 (exit $ac_status); } && {
38598 test -z "$ac_c_werror_flag" ||
38599 test ! -s conftest.err
38600 } && test -s conftest
$ac_exeext &&
38601 $as_test_x conftest
$ac_exeext; then
38602 ac_cv_func_pthread_mutex_timedlock
=yes
38604 echo "$as_me: failed program was:" >&5
38605 sed 's/^/| /' conftest.
$ac_ext >&5
38607 ac_cv_func_pthread_mutex_timedlock
=no
38610 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
38611 conftest
$ac_exeext conftest.
$ac_ext
38613 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_mutex_timedlock" >&5
38614 echo "${ECHO_T}$ac_cv_func_pthread_mutex_timedlock" >&6; }
38615 if test $ac_cv_func_pthread_mutex_timedlock = yes; then
38616 cat >>confdefs.h
<<\_ACEOF
38617 #define HAVE_PTHREAD_MUTEX_TIMEDLOCK 1
38621 { echo "$as_me:$LINENO: WARNING: wxMutex::LockTimeout() will not work" >&5
38622 echo "$as_me: WARNING: wxMutex::LockTimeout() will not work" >&2;}
38626 { echo "$as_me:$LINENO: checking for pthread_attr_setstacksize" >&5
38627 echo $ECHO_N "checking for pthread_attr_setstacksize... $ECHO_C" >&6; }
38628 if test "${ac_cv_func_pthread_attr_setstacksize+set}" = set; then
38629 echo $ECHO_N "(cached) $ECHO_C" >&6
38631 cat >conftest.
$ac_ext <<_ACEOF
38634 cat confdefs.h
>>conftest.
$ac_ext
38635 cat >>conftest.
$ac_ext <<_ACEOF
38636 /* end confdefs.h. */
38637 /* Define pthread_attr_setstacksize to an innocuous variant, in case <limits.h> declares pthread_attr_setstacksize.
38638 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38639 #define pthread_attr_setstacksize innocuous_pthread_attr_setstacksize
38641 /* System header to define __stub macros and hopefully few prototypes,
38642 which can conflict with char pthread_attr_setstacksize (); below.
38643 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38644 <limits.h> exists even on freestanding compilers. */
38647 # include <limits.h>
38649 # include <assert.h>
38652 #undef pthread_attr_setstacksize
38654 /* Override any GCC internal prototype to avoid an error.
38655 Use char because int might match the return type of a GCC
38656 builtin and then its argument prototype would still apply. */
38660 char pthread_attr_setstacksize ();
38661 /* The GNU C library defines this for functions which it implements
38662 to always fail with ENOSYS. Some functions are actually named
38663 something starting with __ and the normal name is an alias. */
38664 #if defined __stub_pthread_attr_setstacksize || defined __stub___pthread_attr_setstacksize
38671 return pthread_attr_setstacksize ();
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 ac_cv_func_pthread_attr_setstacksize=yes
38696 echo "$as_me: failed program was:" >&5
38697 sed 's/^/| /' conftest.$ac_ext >&5
38699 ac_cv_func_pthread_attr_setstacksize=no
38702 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38703 conftest$ac_exeext conftest.$ac_ext
38705 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setstacksize" >&5
38706 echo "${ECHO_T}$ac_cv_func_pthread_attr_setstacksize" >&6; }
38707 if test $ac_cv_func_pthread_attr_setstacksize = yes; then
38708 cat >>confdefs.h <<\_ACEOF
38709 #define HAVE_PTHREAD_ATTR_SETSTACKSIZE 1
38716 { echo "$as_me:$LINENO: checking for pthread_mutexattr_t" >&5
38717 echo $ECHO_N "checking for pthread_mutexattr_t... $ECHO_C" >&6; }
38718 if test "${wx_cv_type_pthread_mutexattr_t+set}" = set; then
38719 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. */
38728 #include <pthread.h>
38733 pthread_mutexattr_t attr;
38734 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
38740 rm -f conftest.$ac_objext
38741 if { (ac_try="$ac_compile"
38742 case "(($ac_try" in
38743 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
38744 *) ac_try_echo
=$ac_try;;
38746 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38747 (eval "$ac_compile") 2>conftest.er1
38749 grep -v '^ *+' conftest.er1
>conftest.err
38751 cat conftest.err
>&5
38752 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38753 (exit $ac_status); } && {
38754 test -z "$ac_c_werror_flag" ||
38755 test ! -s conftest.err
38756 } && test -s conftest.
$ac_objext; then
38757 wx_cv_type_pthread_mutexattr_t
=yes
38759 echo "$as_me: failed program was:" >&5
38760 sed 's/^/| /' conftest.
$ac_ext >&5
38762 wx_cv_type_pthread_mutexattr_t
=no
38766 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
38769 { echo "$as_me:$LINENO: result: $wx_cv_type_pthread_mutexattr_t" >&5
38770 echo "${ECHO_T}$wx_cv_type_pthread_mutexattr_t" >&6; }
38772 if test "$wx_cv_type_pthread_mutexattr_t" = "yes"; then
38773 cat >>confdefs.h
<<\_ACEOF
38774 #define HAVE_PTHREAD_MUTEXATTR_T 1
38778 { echo "$as_me:$LINENO: checking for pthread_mutexattr_settype declaration" >&5
38779 echo $ECHO_N "checking for pthread_mutexattr_settype declaration... $ECHO_C" >&6; }
38780 if test "${wx_cv_func_pthread_mutexattr_settype_decl+set}" = set; then
38781 echo $ECHO_N "(cached) $ECHO_C" >&6
38784 cat >conftest.
$ac_ext <<_ACEOF
38787 cat confdefs.h
>>conftest.
$ac_ext
38788 cat >>conftest.
$ac_ext <<_ACEOF
38789 /* end confdefs.h. */
38790 #include <pthread.h>
38795 pthread_mutexattr_t attr;
38796 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
38802 rm -f conftest.
$ac_objext
38803 if { (ac_try
="$ac_compile"
38804 case "(($ac_try" in
38805 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
38806 *) ac_try_echo=$ac_try;;
38808 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38809 (eval "$ac_compile") 2>conftest.er1
38811 grep -v '^ *+' conftest.er1 >conftest.err
38813 cat conftest.err >&5
38814 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38815 (exit $ac_status); } && {
38816 test -z "$ac_c_werror_flag" ||
38817 test ! -s conftest.err
38818 } && test -s conftest.$ac_objext; then
38819 wx_cv_func_pthread_mutexattr_settype_decl=yes
38821 echo "$as_me: failed program was:" >&5
38822 sed 's/^/| /' conftest.$ac_ext >&5
38824 wx_cv_func_pthread_mutexattr_settype_decl=no
38828 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38831 { echo "$as_me:$LINENO: result: $wx_cv_func_pthread_mutexattr_settype_decl" >&5
38832 echo "${ECHO_T}$wx_cv_func_pthread_mutexattr_settype_decl" >&6; }
38833 if test "$wx_cv_func_pthread_mutexattr_settype_decl" = "yes"; then
38834 cat >>confdefs.h <<\_ACEOF
38835 #define HAVE_PTHREAD_MUTEXATTR_SETTYPE_DECL 1
38840 { echo "$as_me:$LINENO: checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER" >&5
38841 echo $ECHO_N "checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER... $ECHO_C" >&6; }
38842 if test "${wx_cv_type_pthread_rec_mutex_init+set}" = set; then
38843 echo $ECHO_N "(cached) $ECHO_C" >&6
38846 cat >conftest.$ac_ext <<_ACEOF
38849 cat confdefs.h >>conftest.$ac_ext
38850 cat >>conftest.$ac_ext <<_ACEOF
38851 /* end confdefs.h. */
38852 #include <pthread.h>
38857 pthread_mutex_t attr = PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP;
38863 rm -f conftest.$ac_objext
38864 if { (ac_try="$ac_compile"
38865 case "(($ac_try" in
38866 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
38867 *) ac_try_echo
=$ac_try;;
38869 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38870 (eval "$ac_compile") 2>conftest.er1
38872 grep -v '^ *+' conftest.er1
>conftest.err
38874 cat conftest.err
>&5
38875 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38876 (exit $ac_status); } && {
38877 test -z "$ac_c_werror_flag" ||
38878 test ! -s conftest.err
38879 } && test -s conftest.
$ac_objext; then
38881 wx_cv_type_pthread_rec_mutex_init
=yes
38884 echo "$as_me: failed program was:" >&5
38885 sed 's/^/| /' conftest.
$ac_ext >&5
38888 wx_cv_type_pthread_rec_mutex_init
=no
38893 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
38896 { echo "$as_me:$LINENO: result: $wx_cv_type_pthread_rec_mutex_init" >&5
38897 echo "${ECHO_T}$wx_cv_type_pthread_rec_mutex_init" >&6; }
38898 if test "$wx_cv_type_pthread_rec_mutex_init" = "yes"; then
38899 cat >>confdefs.h
<<\_ACEOF
38900 #define HAVE_PTHREAD_RECURSIVE_MUTEX_INITIALIZER 1
38904 { echo "$as_me:$LINENO: WARNING: wxMutex won't be recursive on this platform" >&5
38905 echo "$as_me: WARNING: wxMutex won't be recursive on this platform" >&2;}
38911 if test "$wxUSE_THREADS" = "yes" ; then
38914 { echo "$as_me:$LINENO: checking if compiler supports -mthreads" >&5
38915 echo $ECHO_N "checking if compiler supports -mthreads... $ECHO_C" >&6; }
38916 if test "${wx_cv_cflags_mthread+set}" = set; then
38917 echo $ECHO_N "(cached) $ECHO_C" >&6
38920 CFLAGS_OLD
="$CFLAGS"
38921 CFLAGS
="-mthreads $CFLAGS"
38922 cat >conftest.
$ac_ext <<_ACEOF
38925 cat confdefs.h
>>conftest.
$ac_ext
38926 cat >>conftest.
$ac_ext <<_ACEOF
38927 /* end confdefs.h. */
38937 rm -f conftest.
$ac_objext
38938 if { (ac_try
="$ac_compile"
38939 case "(($ac_try" in
38940 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
38941 *) ac_try_echo=$ac_try;;
38943 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38944 (eval "$ac_compile") 2>conftest.er1
38946 grep -v '^ *+' conftest.er1 >conftest.err
38948 cat conftest.err >&5
38949 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38950 (exit $ac_status); } && {
38951 test -z "$ac_c_werror_flag" ||
38952 test ! -s conftest.err
38953 } && test -s conftest.$ac_objext; then
38954 wx_cv_cflags_mthread=yes
38956 echo "$as_me: failed program was:" >&5
38957 sed 's/^/| /' conftest.$ac_ext >&5
38959 wx_cv_cflags_mthread=no
38963 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38967 { echo "$as_me:$LINENO: result: $wx_cv_cflags_mthread" >&5
38968 echo "${ECHO_T}$wx_cv_cflags_mthread" >&6; }
38970 if test "$wx_cv_cflags_mthread" = "yes"; then
38971 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -mthreads"
38972 LDFLAGS="$LDFLAGS -mthreads"
38974 CFLAGS="$CFLAGS_OLD"
38978 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -Zmt -D__ST_MT_ERRNO__"
38979 LDFLAGS="$LDFLAGS -Zmt"
38985 { echo "$as_me:$LINENO: checking for localtime_r" >&5
38986 echo $ECHO_N "checking for localtime_r... $ECHO_C" >&6; }
38987 if test "${ac_cv_func_localtime_r+set}" = set; then
38988 echo $ECHO_N "(cached) $ECHO_C" >&6
38990 cat >conftest.$ac_ext <<_ACEOF
38993 cat confdefs.h >>conftest.$ac_ext
38994 cat >>conftest.$ac_ext <<_ACEOF
38995 /* end confdefs.h. */
38996 /* Define localtime_r to an innocuous variant, in case <limits.h> declares localtime_r.
38997 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38998 #define localtime_r innocuous_localtime_r
39000 /* System header to define __stub macros and hopefully few prototypes,
39001 which can conflict with char localtime_r (); below.
39002 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39003 <limits.h> exists even on freestanding compilers. */
39006 # include <limits.h>
39008 # include <assert.h>
39013 /* Override any GCC internal prototype to avoid an error.
39014 Use char because int might match the return type of a GCC
39015 builtin and then its argument prototype would still apply. */
39019 char localtime_r ();
39020 /* The GNU C library defines this for functions which it implements
39021 to always fail with ENOSYS. Some functions are actually named
39022 something starting with __ and the normal name is an alias. */
39023 #if defined __stub_localtime_r || defined __stub___localtime_r
39030 return localtime_r ();
39035 rm -f conftest.$ac_objext conftest$ac_exeext
39036 if { (ac_try="$ac_link"
39037 case "(($ac_try" in
39038 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
39039 *) ac_try_echo
=$ac_try;;
39041 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39042 (eval "$ac_link") 2>conftest.er1
39044 grep -v '^ *+' conftest.er1
>conftest.err
39046 cat conftest.err
>&5
39047 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39048 (exit $ac_status); } && {
39049 test -z "$ac_c_werror_flag" ||
39050 test ! -s conftest.err
39051 } && test -s conftest
$ac_exeext &&
39052 $as_test_x conftest
$ac_exeext; then
39053 ac_cv_func_localtime_r
=yes
39055 echo "$as_me: failed program was:" >&5
39056 sed 's/^/| /' conftest.
$ac_ext >&5
39058 ac_cv_func_localtime_r
=no
39061 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
39062 conftest
$ac_exeext conftest.
$ac_ext
39064 { echo "$as_me:$LINENO: result: $ac_cv_func_localtime_r" >&5
39065 echo "${ECHO_T}$ac_cv_func_localtime_r" >&6; }
39066 if test $ac_cv_func_localtime_r = yes; then
39067 cat >>confdefs.h
<<\_ACEOF
39068 #define HAVE_LOCALTIME_R 1
39073 { echo "$as_me:$LINENO: checking for gmtime_r" >&5
39074 echo $ECHO_N "checking for gmtime_r... $ECHO_C" >&6; }
39075 if test "${ac_cv_func_gmtime_r+set}" = set; then
39076 echo $ECHO_N "(cached) $ECHO_C" >&6
39078 cat >conftest.
$ac_ext <<_ACEOF
39081 cat confdefs.h
>>conftest.
$ac_ext
39082 cat >>conftest.
$ac_ext <<_ACEOF
39083 /* end confdefs.h. */
39084 /* Define gmtime_r to an innocuous variant, in case <limits.h> declares gmtime_r.
39085 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39086 #define gmtime_r innocuous_gmtime_r
39088 /* System header to define __stub macros and hopefully few prototypes,
39089 which can conflict with char gmtime_r (); below.
39090 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39091 <limits.h> exists even on freestanding compilers. */
39094 # include <limits.h>
39096 # include <assert.h>
39101 /* Override any GCC internal prototype to avoid an error.
39102 Use char because int might match the return type of a GCC
39103 builtin and then its argument prototype would still apply. */
39108 /* The GNU C library defines this for functions which it implements
39109 to always fail with ENOSYS. Some functions are actually named
39110 something starting with __ and the normal name is an alias. */
39111 #if defined __stub_gmtime_r || defined __stub___gmtime_r
39118 return gmtime_r ();
39123 rm -f conftest.
$ac_objext conftest
$ac_exeext
39124 if { (ac_try
="$ac_link"
39125 case "(($ac_try" in
39126 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
39127 *) ac_try_echo=$ac_try;;
39129 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39130 (eval "$ac_link") 2>conftest.er1
39132 grep -v '^ *+' conftest.er1 >conftest.err
39134 cat conftest.err >&5
39135 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39136 (exit $ac_status); } && {
39137 test -z "$ac_c_werror_flag" ||
39138 test ! -s conftest.err
39139 } && test -s conftest$ac_exeext &&
39140 $as_test_x conftest$ac_exeext; then
39141 ac_cv_func_gmtime_r=yes
39143 echo "$as_me: failed program was:" >&5
39144 sed 's/^/| /' conftest.$ac_ext >&5
39146 ac_cv_func_gmtime_r=no
39149 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39150 conftest$ac_exeext conftest.$ac_ext
39152 { echo "$as_me:$LINENO: result: $ac_cv_func_gmtime_r" >&5
39153 echo "${ECHO_T}$ac_cv_func_gmtime_r" >&6; }
39154 if test $ac_cv_func_gmtime_r = yes; then
39155 cat >>confdefs.h <<\_ACEOF
39156 #define HAVE_GMTIME_R 1
39161 { echo "$as_me:$LINENO: checking for readdir_r" >&5
39162 echo $ECHO_N "checking for readdir_r... $ECHO_C" >&6; }
39163 if test "${ac_cv_func_readdir_r+set}" = set; then
39164 echo $ECHO_N "(cached) $ECHO_C" >&6
39166 cat >conftest.$ac_ext <<_ACEOF
39169 cat confdefs.h >>conftest.$ac_ext
39170 cat >>conftest.$ac_ext <<_ACEOF
39171 /* end confdefs.h. */
39172 /* Define readdir_r to an innocuous variant, in case <limits.h> declares readdir_r.
39173 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39174 #define readdir_r innocuous_readdir_r
39176 /* System header to define __stub macros and hopefully few prototypes,
39177 which can conflict with char readdir_r (); below.
39178 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39179 <limits.h> exists even on freestanding compilers. */
39182 # include <limits.h>
39184 # include <assert.h>
39189 /* Override any GCC internal prototype to avoid an error.
39190 Use char because int might match the return type of a GCC
39191 builtin and then its argument prototype would still apply. */
39196 /* The GNU C library defines this for functions which it implements
39197 to always fail with ENOSYS. Some functions are actually named
39198 something starting with __ and the normal name is an alias. */
39199 #if defined __stub_readdir_r || defined __stub___readdir_r
39206 return readdir_r ();
39211 rm -f conftest.$ac_objext conftest$ac_exeext
39212 if { (ac_try="$ac_link"
39213 case "(($ac_try" in
39214 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
39215 *) ac_try_echo
=$ac_try;;
39217 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39218 (eval "$ac_link") 2>conftest.er1
39220 grep -v '^ *+' conftest.er1
>conftest.err
39222 cat conftest.err
>&5
39223 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39224 (exit $ac_status); } && {
39225 test -z "$ac_c_werror_flag" ||
39226 test ! -s conftest.err
39227 } && test -s conftest
$ac_exeext &&
39228 $as_test_x conftest
$ac_exeext; then
39229 ac_cv_func_readdir_r
=yes
39231 echo "$as_me: failed program was:" >&5
39232 sed 's/^/| /' conftest.
$ac_ext >&5
39234 ac_cv_func_readdir_r
=no
39237 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
39238 conftest
$ac_exeext conftest.
$ac_ext
39240 { echo "$as_me:$LINENO: result: $ac_cv_func_readdir_r" >&5
39241 echo "${ECHO_T}$ac_cv_func_readdir_r" >&6; }
39242 if test $ac_cv_func_readdir_r = yes; then
39243 cat >>confdefs.h
<<\_ACEOF
39244 #define HAVE_READDIR_R 1
39253 ac_cpp
='$CPP $CPPFLAGS'
39254 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39255 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39256 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
39258 { echo "$as_me:$LINENO: checking how many arguments gethostbyname_r() takes" >&5
39259 echo $ECHO_N "checking how many arguments gethostbyname_r() takes... $ECHO_C" >&6; }
39261 if test "${ac_cv_func_which_gethostbyname_r+set}" = set; then
39262 echo $ECHO_N "(cached) $ECHO_C" >&6
39267 ac_cv_func_which_gethostbyname_r
=unknown
39270 # ONE ARGUMENT (sanity check)
39273 # This should fail, as there is no variant of gethostbyname_r() that takes
39274 # a single argument. If it actually compiles, then we can assume that
39275 # netdb.h is not declaring the function, and the compiler is thereby
39276 # assuming an implicit prototype. In which case, we're out of luck.
39278 cat >conftest.
$ac_ext <<_ACEOF
39281 cat confdefs.h
>>conftest.
$ac_ext
39282 cat >>conftest.
$ac_ext <<_ACEOF
39283 /* end confdefs.h. */
39289 char *name = "www.gnu.org";
39290 (void)gethostbyname_r(name) /* ; */
39296 rm -f conftest.
$ac_objext
39297 if { (ac_try
="$ac_compile"
39298 case "(($ac_try" in
39299 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
39300 *) ac_try_echo=$ac_try;;
39302 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39303 (eval "$ac_compile") 2>conftest.er1
39305 grep -v '^ *+' conftest.er1 >conftest.err
39307 cat conftest.err >&5
39308 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39309 (exit $ac_status); } && {
39310 test -z "$ac_c_werror_flag" ||
39311 test ! -s conftest.err
39312 } && test -s conftest.$ac_objext; then
39313 ac_cv_func_which_gethostbyname_r=no
39315 echo "$as_me: failed program was:" >&5
39316 sed 's/^/| /' conftest.$ac_ext >&5
39321 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39328 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
39330 cat >conftest.$ac_ext <<_ACEOF
39333 cat confdefs.h >>conftest.$ac_ext
39334 cat >>conftest.$ac_ext <<_ACEOF
39335 /* end confdefs.h. */
39341 char *name = "www.gnu.org";
39342 struct hostent ret, *retp;
39346 (void)gethostbyname_r(name, &ret, buf, buflen, &retp, &my_h_errno) /* ; */
39352 rm -f conftest.$ac_objext
39353 if { (ac_try="$ac_compile"
39354 case "(($ac_try" in
39355 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
39356 *) ac_try_echo
=$ac_try;;
39358 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39359 (eval "$ac_compile") 2>conftest.er1
39361 grep -v '^ *+' conftest.er1
>conftest.err
39363 cat conftest.err
>&5
39364 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39365 (exit $ac_status); } && {
39366 test -z "$ac_c_werror_flag" ||
39367 test ! -s conftest.err
39368 } && test -s conftest.
$ac_objext; then
39369 ac_cv_func_which_gethostbyname_r
=six
39371 echo "$as_me: failed program was:" >&5
39372 sed 's/^/| /' conftest.
$ac_ext >&5
39377 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
39386 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
39388 cat >conftest.
$ac_ext <<_ACEOF
39391 cat confdefs.h
>>conftest.
$ac_ext
39392 cat >>conftest.
$ac_ext <<_ACEOF
39393 /* end confdefs.h. */
39399 char *name = "www.gnu.org";
39400 struct hostent ret;
39404 (void)gethostbyname_r(name, &ret, buf, buflen, &my_h_errno) /* ; */
39410 rm -f conftest.
$ac_objext
39411 if { (ac_try
="$ac_compile"
39412 case "(($ac_try" in
39413 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
39414 *) ac_try_echo=$ac_try;;
39416 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39417 (eval "$ac_compile") 2>conftest.er1
39419 grep -v '^ *+' conftest.er1 >conftest.err
39421 cat conftest.err >&5
39422 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39423 (exit $ac_status); } && {
39424 test -z "$ac_c_werror_flag" ||
39425 test ! -s conftest.err
39426 } && test -s conftest.$ac_objext; then
39427 ac_cv_func_which_gethostbyname_r=five
39429 echo "$as_me: failed program was:" >&5
39430 sed 's/^/| /' conftest.$ac_ext >&5
39435 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39441 # (e.g. AIX, HP-UX, Tru64)
39444 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
39446 cat >conftest.$ac_ext <<_ACEOF
39449 cat confdefs.h >>conftest.$ac_ext
39450 cat >>conftest.$ac_ext <<_ACEOF
39451 /* end confdefs.h. */
39457 char *name = "www.gnu.org";
39458 struct hostent ret;
39459 struct hostent_data data;
39460 (void)gethostbyname_r(name, &ret, &data) /* ; */
39466 rm -f conftest.$ac_objext
39467 if { (ac_try="$ac_compile"
39468 case "(($ac_try" in
39469 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
39470 *) ac_try_echo
=$ac_try;;
39472 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39473 (eval "$ac_compile") 2>conftest.er1
39475 grep -v '^ *+' conftest.er1
>conftest.err
39477 cat conftest.err
>&5
39478 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39479 (exit $ac_status); } && {
39480 test -z "$ac_c_werror_flag" ||
39481 test ! -s conftest.err
39482 } && test -s conftest.
$ac_objext; then
39483 ac_cv_func_which_gethostbyname_r
=three
39485 echo "$as_me: failed program was:" >&5
39486 sed 's/^/| /' conftest.
$ac_ext >&5
39491 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
39499 case "$ac_cv_func_which_gethostbyname_r" in
39501 { echo "$as_me:$LINENO: result: three" >&5
39502 echo "${ECHO_T}three" >&6; }
39503 cat >>confdefs.h
<<\_ACEOF
39504 #define HAVE_FUNC_GETHOSTBYNAME_R_3 1
39510 { echo "$as_me:$LINENO: result: five" >&5
39511 echo "${ECHO_T}five" >&6; }
39512 cat >>confdefs.h
<<\_ACEOF
39513 #define HAVE_FUNC_GETHOSTBYNAME_R_5 1
39519 { echo "$as_me:$LINENO: result: six" >&5
39520 echo "${ECHO_T}six" >&6; }
39521 cat >>confdefs.h
<<\_ACEOF
39522 #define HAVE_FUNC_GETHOSTBYNAME_R_6 1
39528 { echo "$as_me:$LINENO: result: cannot find function declaration in netdb.h" >&5
39529 echo "${ECHO_T}cannot find function declaration in netdb.h" >&6; }
39533 { echo "$as_me:$LINENO: result: can't tell" >&5
39534 echo "${ECHO_T}can't tell" >&6; }
39538 { { echo "$as_me:$LINENO: error: internal error" >&5
39539 echo "$as_me: error: internal error" >&2;}
39540 { (exit 1); exit 1; }; }
39545 ac_cpp
='$CPP $CPPFLAGS'
39546 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39547 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39548 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
39552 if test "x$ac_cv_func_which_gethostbyname_r" = "xno" -o \
39553 "x$ac_cv_func_which_gethostbyname_r" = "xunknown" ; then
39554 { echo "$as_me:$LINENO: checking for gethostbyname" >&5
39555 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6; }
39556 if test "${ac_cv_func_gethostbyname+set}" = set; then
39557 echo $ECHO_N "(cached) $ECHO_C" >&6
39559 cat >conftest.
$ac_ext <<_ACEOF
39562 cat confdefs.h
>>conftest.
$ac_ext
39563 cat >>conftest.
$ac_ext <<_ACEOF
39564 /* end confdefs.h. */
39565 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
39566 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39567 #define gethostbyname innocuous_gethostbyname
39569 /* System header to define __stub macros and hopefully few prototypes,
39570 which can conflict with char gethostbyname (); below.
39571 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39572 <limits.h> exists even on freestanding compilers. */
39575 # include <limits.h>
39577 # include <assert.h>
39580 #undef gethostbyname
39582 /* Override any GCC internal prototype to avoid an error.
39583 Use char because int might match the return type of a GCC
39584 builtin and then its argument prototype would still apply. */
39588 char gethostbyname ();
39589 /* The GNU C library defines this for functions which it implements
39590 to always fail with ENOSYS. Some functions are actually named
39591 something starting with __ and the normal name is an alias. */
39592 #if defined __stub_gethostbyname || defined __stub___gethostbyname
39599 return gethostbyname ();
39604 rm -f conftest.
$ac_objext conftest
$ac_exeext
39605 if { (ac_try
="$ac_link"
39606 case "(($ac_try" in
39607 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
39608 *) ac_try_echo=$ac_try;;
39610 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39611 (eval "$ac_link") 2>conftest.er1
39613 grep -v '^ *+' conftest.er1 >conftest.err
39615 cat conftest.err >&5
39616 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39617 (exit $ac_status); } && {
39618 test -z "$ac_c_werror_flag" ||
39619 test ! -s conftest.err
39620 } && test -s conftest$ac_exeext &&
39621 $as_test_x conftest$ac_exeext; then
39622 ac_cv_func_gethostbyname=yes
39624 echo "$as_me: failed program was:" >&5
39625 sed 's/^/| /' conftest.$ac_ext >&5
39627 ac_cv_func_gethostbyname=no
39630 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39631 conftest$ac_exeext conftest.$ac_ext
39633 { echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
39634 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6; }
39635 if test $ac_cv_func_gethostbyname = yes; then
39636 cat >>confdefs.h <<\_ACEOF
39637 #define HAVE_GETHOSTBYNAME 1
39643 { echo "$as_me:$LINENO: checking for getservbyname_r" >&5
39644 echo $ECHO_N "checking for getservbyname_r... $ECHO_C" >&6; }
39645 if test "${ac_cv_func_which_getservbyname_r+set}" = set; then
39646 echo $ECHO_N "(cached) $ECHO_C" >&6
39649 { echo "$as_me:$LINENO: checking for getservbyname_r" >&5
39650 echo $ECHO_N "checking for getservbyname_r... $ECHO_C" >&6; }
39651 if test "${ac_cv_func_getservbyname_r+set}" = set; then
39652 echo $ECHO_N "(cached) $ECHO_C" >&6
39654 cat >conftest.$ac_ext <<_ACEOF
39657 cat confdefs.h >>conftest.$ac_ext
39658 cat >>conftest.$ac_ext <<_ACEOF
39659 /* end confdefs.h. */
39660 /* Define getservbyname_r to an innocuous variant, in case <limits.h> declares getservbyname_r.
39661 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39662 #define getservbyname_r innocuous_getservbyname_r
39664 /* System header to define __stub macros and hopefully few prototypes,
39665 which can conflict with char getservbyname_r (); below.
39666 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39667 <limits.h> exists even on freestanding compilers. */
39670 # include <limits.h>
39672 # include <assert.h>
39675 #undef getservbyname_r
39677 /* Override any GCC internal prototype to avoid an error.
39678 Use char because int might match the return type of a GCC
39679 builtin and then its argument prototype would still apply. */
39683 char getservbyname_r ();
39684 /* The GNU C library defines this for functions which it implements
39685 to always fail with ENOSYS. Some functions are actually named
39686 something starting with __ and the normal name is an alias. */
39687 #if defined __stub_getservbyname_r || defined __stub___getservbyname_r
39694 return getservbyname_r ();
39699 rm -f conftest.$ac_objext conftest$ac_exeext
39700 if { (ac_try="$ac_link"
39701 case "(($ac_try" in
39702 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
39703 *) ac_try_echo
=$ac_try;;
39705 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39706 (eval "$ac_link") 2>conftest.er1
39708 grep -v '^ *+' conftest.er1
>conftest.err
39710 cat conftest.err
>&5
39711 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39712 (exit $ac_status); } && {
39713 test -z "$ac_c_werror_flag" ||
39714 test ! -s conftest.err
39715 } && test -s conftest
$ac_exeext &&
39716 $as_test_x conftest
$ac_exeext; then
39717 ac_cv_func_getservbyname_r
=yes
39719 echo "$as_me: failed program was:" >&5
39720 sed 's/^/| /' conftest.
$ac_ext >&5
39722 ac_cv_func_getservbyname_r
=no
39725 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
39726 conftest
$ac_exeext conftest.
$ac_ext
39728 { echo "$as_me:$LINENO: result: $ac_cv_func_getservbyname_r" >&5
39729 echo "${ECHO_T}$ac_cv_func_getservbyname_r" >&6; }
39730 if test $ac_cv_func_getservbyname_r = yes; then
39732 cat >conftest.
$ac_ext <<_ACEOF
39735 cat confdefs.h
>>conftest.
$ac_ext
39736 cat >>conftest.
$ac_ext <<_ACEOF
39737 /* end confdefs.h. */
39739 # include <netdb.h>
39748 struct servent *se;
39749 struct servent_data data;
39750 (void) getservbyname_r(name, proto, se, &data);
39757 rm -f conftest.
$ac_objext
39758 if { (ac_try
="$ac_compile"
39759 case "(($ac_try" in
39760 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
39761 *) ac_try_echo=$ac_try;;
39763 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39764 (eval "$ac_compile") 2>conftest.er1
39766 grep -v '^ *+' conftest.er1 >conftest.err
39768 cat conftest.err >&5
39769 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39770 (exit $ac_status); } && {
39771 test -z "$ac_c_werror_flag" ||
39772 test ! -s conftest.err
39773 } && test -s conftest.$ac_objext; then
39774 ac_cv_func_which_getservbyname_r=four
39776 echo "$as_me: failed program was:" >&5
39777 sed 's/^/| /' conftest.$ac_ext >&5
39780 cat >conftest.$ac_ext <<_ACEOF
39783 cat confdefs.h >>conftest.$ac_ext
39784 cat >>conftest.$ac_ext <<_ACEOF
39785 /* end confdefs.h. */
39787 # include <netdb.h>
39795 struct servent *se, *res;
39798 (void) getservbyname_r(name, proto, se, buffer, buflen, &res)
39804 rm -f conftest.$ac_objext
39805 if { (ac_try="$ac_compile"
39806 case "(($ac_try" in
39807 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
39808 *) ac_try_echo
=$ac_try;;
39810 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39811 (eval "$ac_compile") 2>conftest.er1
39813 grep -v '^ *+' conftest.er1
>conftest.err
39815 cat conftest.err
>&5
39816 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39817 (exit $ac_status); } && {
39818 test -z "$ac_c_werror_flag" ||
39819 test ! -s conftest.err
39820 } && test -s conftest.
$ac_objext; then
39821 ac_cv_func_which_getservbyname_r
=six
39823 echo "$as_me: failed program was:" >&5
39824 sed 's/^/| /' conftest.
$ac_ext >&5
39827 cat >conftest.
$ac_ext <<_ACEOF
39830 cat confdefs.h
>>conftest.
$ac_ext
39831 cat >>conftest.
$ac_ext <<_ACEOF
39832 /* end confdefs.h. */
39834 # include <netdb.h>
39842 struct servent *se;
39845 (void) getservbyname_r(name, proto, se, buffer, buflen)
39851 rm -f conftest.
$ac_objext
39852 if { (ac_try
="$ac_compile"
39853 case "(($ac_try" in
39854 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
39855 *) ac_try_echo=$ac_try;;
39857 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39858 (eval "$ac_compile") 2>conftest.er1
39860 grep -v '^ *+' conftest.er1 >conftest.err
39862 cat conftest.err >&5
39863 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39864 (exit $ac_status); } && {
39865 test -z "$ac_c_werror_flag" ||
39866 test ! -s conftest.err
39867 } && test -s conftest.$ac_objext; then
39868 ac_cv_func_which_getservbyname_r=five
39870 echo "$as_me: failed program was:" >&5
39871 sed 's/^/| /' conftest.$ac_ext >&5
39873 ac_cv_func_which_getservbyname_r=no
39876 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39883 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39888 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39891 ac_cv_func_which_getservbyname_r=no
39895 { echo "$as_me:$LINENO: result: $ac_cv_func_which_getservbyname_r" >&5
39896 echo "${ECHO_T}$ac_cv_func_which_getservbyname_r" >&6; }
39898 if test $ac_cv_func_which_getservbyname_r = six; then
39899 cat >>confdefs.h <<\_ACEOF
39900 #define HAVE_FUNC_GETSERVBYNAME_R_6 1
39903 elif test $ac_cv_func_which_getservbyname_r = five; then
39904 cat >>confdefs.h <<\_ACEOF
39905 #define HAVE_FUNC_GETSERVBYNAME_R_5 1
39908 elif test $ac_cv_func_which_getservbyname_r = four; then
39909 cat >>confdefs.h <<\_ACEOF
39910 #define HAVE_FUNC_GETSERVBYNAME_R_4 1
39917 if test "x$ac_cv_func_which_getservbyname_r" = "xno" -o \
39918 "x$ac_cv_func_which_getservbyname_r" = "xunknown" ; then
39920 for ac_func in getservbyname
39922 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39923 { echo "$as_me:$LINENO: checking for $ac_func" >&5
39924 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
39925 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
39926 echo $ECHO_N "(cached) $ECHO_C" >&6
39928 cat >conftest.$ac_ext <<_ACEOF
39931 cat confdefs.h >>conftest.$ac_ext
39932 cat >>conftest.$ac_ext <<_ACEOF
39933 /* end confdefs.h. */
39934 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39935 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39936 #define $ac_func innocuous_$ac_func
39938 /* System header to define __stub macros and hopefully few prototypes,
39939 which can conflict with char $ac_func (); below.
39940 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39941 <limits.h> exists even on freestanding compilers. */
39944 # include <limits.h>
39946 # include <assert.h>
39951 /* Override any GCC internal prototype to avoid an error.
39952 Use char because int might match the return type of a GCC
39953 builtin and then its argument prototype would still apply. */
39958 /* The GNU C library defines this for functions which it implements
39959 to always fail with ENOSYS. Some functions are actually named
39960 something starting with __ and the normal name is an alias. */
39961 #if defined __stub_$ac_func || defined __stub___$ac_func
39968 return $ac_func ();
39973 rm -f conftest.$ac_objext conftest$ac_exeext
39974 if { (ac_try="$ac_link"
39975 case "(($ac_try" in
39976 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
39977 *) ac_try_echo
=$ac_try;;
39979 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39980 (eval "$ac_link") 2>conftest.er1
39982 grep -v '^ *+' conftest.er1
>conftest.err
39984 cat conftest.err
>&5
39985 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39986 (exit $ac_status); } && {
39987 test -z "$ac_c_werror_flag" ||
39988 test ! -s conftest.err
39989 } && test -s conftest
$ac_exeext &&
39990 $as_test_x conftest
$ac_exeext; then
39991 eval "$as_ac_var=yes"
39993 echo "$as_me: failed program was:" >&5
39994 sed 's/^/| /' conftest.
$ac_ext >&5
39996 eval "$as_ac_var=no"
39999 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
40000 conftest
$ac_exeext conftest.
$ac_ext
40002 ac_res
=`eval echo '${'$as_ac_var'}'`
40003 { echo "$as_me:$LINENO: result: $ac_res" >&5
40004 echo "${ECHO_T}$ac_res" >&6; }
40005 if test `eval echo '${'$as_ac_var'}'` = yes; then
40006 cat >>confdefs.h
<<_ACEOF
40007 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40009 cat >>confdefs.h
<<\_ACEOF
40010 #define HAVE_GETSERVBYNAME 1
40018 if test "$wxUSE_THREADS" = "yes"; then
40019 cat >>confdefs.h
<<\_ACEOF
40020 #define wxUSE_THREADS 1
40024 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS thread"
40026 if test "$wx_cv_func_strtok_r" = "yes"; then
40027 { echo "$as_me:$LINENO: checking if -D_REENTRANT is needed" >&5
40028 echo $ECHO_N "checking if -D_REENTRANT is needed... $ECHO_C" >&6; }
40029 if test "$NEEDS_D_REENTRANT_FOR_R_FUNCS" = 1; then
40030 WXCONFIG_CPPFLAGS
="$WXCONFIG_CPPFLAGS -D_REENTRANT"
40031 { echo "$as_me:$LINENO: result: yes" >&5
40032 echo "${ECHO_T}yes" >&6; }
40034 { echo "$as_me:$LINENO: result: no" >&5
40035 echo "${ECHO_T}no" >&6; }
40040 if test "$WXGTK20" = 1 ; then
40041 cat >>confdefs.h
<<_ACEOF
40042 #define __WXGTK20__ $WXGTK20
40048 if test "$WXGTK12" = 1 ; then
40049 cat >>confdefs.h
<<_ACEOF
40050 #define __WXGTK12__ $WXGTK12
40055 if test "$WXGTK127" = 1 ; then
40056 cat >>confdefs.h
<<_ACEOF
40057 #define __WXGTK127__ $WXGTK127
40062 if test "$WXGPE" = 1 ; then
40063 cat >>confdefs.h
<<_ACEOF
40064 #define __WXGPE__ $WXGPE
40070 if test "$wxUSE_DEBUG_INFO" = "yes" ; then
40075 if test "$wxUSE_DEBUG_GDB" = "yes" ; then
40076 wxUSE_DEBUG_INFO
=yes
40077 if test "$GCC" = yes; then
40078 DEBUG_CFLAGS
="-ggdb"
40082 if test "$wxUSE_DEBUG_FLAG" = "yes" ; then
40083 cat >>confdefs.h
<<\_ACEOF
40087 WXCONFIG_CPPFLAGS
="$WXCONFIG_CPPFLAGS -D__WXDEBUG__"
40089 if test "$wxUSE_GTK" = 1 ; then
40090 if test "x$wxGTK_VERSION" = "x1" ; then
40091 CPPFLAGS
="-DGTK_NO_CHECK_CASTS $CPPFLAGS"
40096 if test "$wxUSE_MEM_TRACING" = "yes" ; then
40097 cat >>confdefs.h
<<\_ACEOF
40098 #define wxUSE_MEMORY_TRACING 1
40101 cat >>confdefs.h
<<\_ACEOF
40102 #define wxUSE_GLOBAL_MEMORY_OPERATORS 1
40105 cat >>confdefs.h
<<\_ACEOF
40106 #define wxUSE_DEBUG_NEW_ALWAYS 1
40109 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS memcheck"
40112 if test "$wxUSE_DMALLOC" = "yes" ; then
40113 DMALLOC_LIBS
="-ldmallocthcxx"
40117 if test "$wxUSE_PROFILE" = "yes" ; then
40118 PROFILE_FLAGS
=" -pg"
40121 if test "$GCC" = "yes" ; then
40122 if test "$wxUSE_NO_RTTI" = "yes" ; then
40123 WXCONFIG_CXXFLAGS
="$WXCONFIG_CXXFLAGS -fno-rtti"
40125 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
40126 WXCONFIG_CXXFLAGS
="$WXCONFIG_CXXFLAGS -fno-exceptions"
40128 if test "$wxUSE_PERMISSIVE" = "yes" ; then
40129 WXCONFIG_CFLAGS
="$WXCONFIG_CFLAGS -fpermissive"
40134 WXCONFIG_CFLAGS
="$WXCONFIG_CFLAGS -mminimal-toc"
40137 WXCONFIG_CFLAGS
="$WXCONFIG_CFLAGS -ffunction-sections"
40143 if test "$wxUSE_OPTIMISE" = "no" ; then
40144 if test "$GCC" = yes ; then
40145 OPTIMISE_CFLAGS
="-O0"
40148 if test "$GCC" = yes ; then
40150 *-pc-os2_emx | *-pc-os2-emx )
40151 OPTIMISE_CFLAGS
="-O2"
40154 OPTIMISE_CFLAGS
="-O2 -fno-strict-aliasing"
40158 OPTIMISE_CFLAGS
="-O"
40163 if test "x$WXWIN_COMPATIBILITY_2_6" = "xyes"; then
40164 cat >>confdefs.h
<<\_ACEOF
40165 #define WXWIN_COMPATIBILITY_2_6 1
40169 WXWIN_COMPATIBILITY_2_8
="yes"
40172 if test "x$WXWIN_COMPATIBILITY_2_8" != "xno"; then
40173 cat >>confdefs.h
<<\_ACEOF
40174 #define WXWIN_COMPATIBILITY_2_8 1
40180 if test "$wxUSE_GUI" = "yes"; then
40181 cat >>confdefs.h
<<\_ACEOF
40182 #define wxUSE_GUI 1
40189 if test "$wxUSE_UNIX" = "yes"; then
40190 cat >>confdefs.h
<<\_ACEOF
40191 #define wxUSE_UNIX 1
40197 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
40201 if test "$wxUSE_DYNAMIC_LOADER" = "yes" -o "$wxUSE_DYNLIB_CLASS" = "yes" ; then
40202 if test "$USE_DARWIN" = 1; then
40204 elif test "$USE_DOS" = 1; then
40208 for ac_func
in dlopen
40210 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40211 { echo "$as_me:$LINENO: checking for $ac_func" >&5
40212 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
40213 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
40214 echo $ECHO_N "(cached) $ECHO_C" >&6
40216 cat >conftest.
$ac_ext <<_ACEOF
40219 cat confdefs.h
>>conftest.
$ac_ext
40220 cat >>conftest.
$ac_ext <<_ACEOF
40221 /* end confdefs.h. */
40222 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40223 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40224 #define $ac_func innocuous_$ac_func
40226 /* System header to define __stub macros and hopefully few prototypes,
40227 which can conflict with char $ac_func (); below.
40228 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40229 <limits.h> exists even on freestanding compilers. */
40232 # include <limits.h>
40234 # include <assert.h>
40239 /* Override any GCC internal prototype to avoid an error.
40240 Use char because int might match the return type of a GCC
40241 builtin and then its argument prototype would still apply. */
40246 /* The GNU C library defines this for functions which it implements
40247 to always fail with ENOSYS. Some functions are actually named
40248 something starting with __ and the normal name is an alias. */
40249 #if defined __stub_$ac_func || defined __stub___$ac_func
40256 return $ac_func ();
40261 rm -f conftest.
$ac_objext conftest
$ac_exeext
40262 if { (ac_try
="$ac_link"
40263 case "(($ac_try" in
40264 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
40265 *) ac_try_echo=$ac_try;;
40267 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40268 (eval "$ac_link") 2>conftest.er1
40270 grep -v '^ *+' conftest.er1 >conftest.err
40272 cat conftest.err >&5
40273 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40274 (exit $ac_status); } && {
40275 test -z "$ac_c_werror_flag" ||
40276 test ! -s conftest.err
40277 } && test -s conftest$ac_exeext &&
40278 $as_test_x conftest$ac_exeext; then
40279 eval "$as_ac_var=yes"
40281 echo "$as_me: failed program was:" >&5
40282 sed 's/^/| /' conftest.$ac_ext >&5
40284 eval "$as_ac_var=no"
40287 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40288 conftest$ac_exeext conftest.$ac_ext
40290 ac_res=`eval echo '${'$as_ac_var'}'`
40291 { echo "$as_me:$LINENO: result: $ac_res" >&5
40292 echo "${ECHO_T}$ac_res" >&6; }
40293 if test `eval echo '${'$as_ac_var'}'` = yes; then
40294 cat >>confdefs.h <<_ACEOF
40295 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40298 cat >>confdefs.h <<\_ACEOF
40299 #define HAVE_DLOPEN 1
40306 { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
40307 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
40308 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
40309 echo $ECHO_N "(cached) $ECHO_C" >&6
40311 ac_check_lib_save_LIBS=$LIBS
40313 cat >conftest.$ac_ext <<_ACEOF
40316 cat confdefs.h >>conftest.$ac_ext
40317 cat >>conftest.$ac_ext <<_ACEOF
40318 /* end confdefs.h. */
40320 /* Override any GCC internal prototype to avoid an error.
40321 Use char because int might match the return type of a GCC
40322 builtin and then its argument prototype would still apply. */
40335 rm -f conftest.$ac_objext conftest$ac_exeext
40336 if { (ac_try="$ac_link"
40337 case "(($ac_try" in
40338 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
40339 *) ac_try_echo
=$ac_try;;
40341 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40342 (eval "$ac_link") 2>conftest.er1
40344 grep -v '^ *+' conftest.er1
>conftest.err
40346 cat conftest.err
>&5
40347 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40348 (exit $ac_status); } && {
40349 test -z "$ac_c_werror_flag" ||
40350 test ! -s conftest.err
40351 } && test -s conftest
$ac_exeext &&
40352 $as_test_x conftest
$ac_exeext; then
40353 ac_cv_lib_dl_dlopen
=yes
40355 echo "$as_me: failed program was:" >&5
40356 sed 's/^/| /' conftest.
$ac_ext >&5
40358 ac_cv_lib_dl_dlopen
=no
40361 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
40362 conftest
$ac_exeext conftest.
$ac_ext
40363 LIBS
=$ac_check_lib_save_LIBS
40365 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
40366 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
40367 if test $ac_cv_lib_dl_dlopen = yes; then
40369 cat >>confdefs.h
<<\_ACEOF
40370 #define HAVE_DLOPEN 1
40374 DL_LINK
=" -ldl$DL_LINK"
40379 for ac_func
in shl_load
40381 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40382 { echo "$as_me:$LINENO: checking for $ac_func" >&5
40383 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
40384 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
40385 echo $ECHO_N "(cached) $ECHO_C" >&6
40387 cat >conftest.
$ac_ext <<_ACEOF
40390 cat confdefs.h
>>conftest.
$ac_ext
40391 cat >>conftest.
$ac_ext <<_ACEOF
40392 /* end confdefs.h. */
40393 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40394 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40395 #define $ac_func innocuous_$ac_func
40397 /* System header to define __stub macros and hopefully few prototypes,
40398 which can conflict with char $ac_func (); below.
40399 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40400 <limits.h> exists even on freestanding compilers. */
40403 # include <limits.h>
40405 # include <assert.h>
40410 /* Override any GCC internal prototype to avoid an error.
40411 Use char because int might match the return type of a GCC
40412 builtin and then its argument prototype would still apply. */
40417 /* The GNU C library defines this for functions which it implements
40418 to always fail with ENOSYS. Some functions are actually named
40419 something starting with __ and the normal name is an alias. */
40420 #if defined __stub_$ac_func || defined __stub___$ac_func
40427 return $ac_func ();
40432 rm -f conftest.
$ac_objext conftest
$ac_exeext
40433 if { (ac_try
="$ac_link"
40434 case "(($ac_try" in
40435 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
40436 *) ac_try_echo=$ac_try;;
40438 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40439 (eval "$ac_link") 2>conftest.er1
40441 grep -v '^ *+' conftest.er1 >conftest.err
40443 cat conftest.err >&5
40444 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40445 (exit $ac_status); } && {
40446 test -z "$ac_c_werror_flag" ||
40447 test ! -s conftest.err
40448 } && test -s conftest$ac_exeext &&
40449 $as_test_x conftest$ac_exeext; then
40450 eval "$as_ac_var=yes"
40452 echo "$as_me: failed program was:" >&5
40453 sed 's/^/| /' conftest.$ac_ext >&5
40455 eval "$as_ac_var=no"
40458 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40459 conftest$ac_exeext conftest.$ac_ext
40461 ac_res=`eval echo '${'$as_ac_var'}'`
40462 { echo "$as_me:$LINENO: result: $ac_res" >&5
40463 echo "${ECHO_T}$ac_res" >&6; }
40464 if test `eval echo '${'$as_ac_var'}'` = yes; then
40465 cat >>confdefs.h <<_ACEOF
40466 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40469 cat >>confdefs.h <<\_ACEOF
40470 #define HAVE_SHL_LOAD 1
40477 { echo "$as_me:$LINENO: checking for dld in -lshl_load" >&5
40478 echo $ECHO_N "checking for dld in -lshl_load... $ECHO_C" >&6; }
40479 if test "${ac_cv_lib_shl_load_dld+set}" = set; then
40480 echo $ECHO_N "(cached) $ECHO_C" >&6
40482 ac_check_lib_save_LIBS=$LIBS
40483 LIBS="-lshl_load $LIBS"
40484 cat >conftest.$ac_ext <<_ACEOF
40487 cat confdefs.h >>conftest.$ac_ext
40488 cat >>conftest.$ac_ext <<_ACEOF
40489 /* end confdefs.h. */
40491 /* Override any GCC internal prototype to avoid an error.
40492 Use char because int might match the return type of a GCC
40493 builtin and then its argument prototype would still apply. */
40506 rm -f conftest.$ac_objext conftest$ac_exeext
40507 if { (ac_try="$ac_link"
40508 case "(($ac_try" in
40509 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
40510 *) ac_try_echo
=$ac_try;;
40512 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40513 (eval "$ac_link") 2>conftest.er1
40515 grep -v '^ *+' conftest.er1
>conftest.err
40517 cat conftest.err
>&5
40518 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40519 (exit $ac_status); } && {
40520 test -z "$ac_c_werror_flag" ||
40521 test ! -s conftest.err
40522 } && test -s conftest
$ac_exeext &&
40523 $as_test_x conftest
$ac_exeext; then
40524 ac_cv_lib_shl_load_dld
=yes
40526 echo "$as_me: failed program was:" >&5
40527 sed 's/^/| /' conftest.
$ac_ext >&5
40529 ac_cv_lib_shl_load_dld
=no
40532 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
40533 conftest
$ac_exeext conftest.
$ac_ext
40534 LIBS
=$ac_check_lib_save_LIBS
40536 { echo "$as_me:$LINENO: result: $ac_cv_lib_shl_load_dld" >&5
40537 echo "${ECHO_T}$ac_cv_lib_shl_load_dld" >&6; }
40538 if test $ac_cv_lib_shl_load_dld = yes; then
40541 DL_LINK
=" -ldld$DL_LINK"
40557 if test "$HAVE_DL_FUNCS" = 1; then
40559 for ac_func
in dlerror
40561 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40562 { echo "$as_me:$LINENO: checking for $ac_func" >&5
40563 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
40564 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
40565 echo $ECHO_N "(cached) $ECHO_C" >&6
40567 cat >conftest.
$ac_ext <<_ACEOF
40570 cat confdefs.h
>>conftest.
$ac_ext
40571 cat >>conftest.
$ac_ext <<_ACEOF
40572 /* end confdefs.h. */
40573 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40574 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40575 #define $ac_func innocuous_$ac_func
40577 /* System header to define __stub macros and hopefully few prototypes,
40578 which can conflict with char $ac_func (); below.
40579 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40580 <limits.h> exists even on freestanding compilers. */
40583 # include <limits.h>
40585 # include <assert.h>
40590 /* Override any GCC internal prototype to avoid an error.
40591 Use char because int might match the return type of a GCC
40592 builtin and then its argument prototype would still apply. */
40597 /* The GNU C library defines this for functions which it implements
40598 to always fail with ENOSYS. Some functions are actually named
40599 something starting with __ and the normal name is an alias. */
40600 #if defined __stub_$ac_func || defined __stub___$ac_func
40607 return $ac_func ();
40612 rm -f conftest.
$ac_objext conftest
$ac_exeext
40613 if { (ac_try
="$ac_link"
40614 case "(($ac_try" in
40615 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
40616 *) ac_try_echo=$ac_try;;
40618 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40619 (eval "$ac_link") 2>conftest.er1
40621 grep -v '^ *+' conftest.er1 >conftest.err
40623 cat conftest.err >&5
40624 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40625 (exit $ac_status); } && {
40626 test -z "$ac_c_werror_flag" ||
40627 test ! -s conftest.err
40628 } && test -s conftest$ac_exeext &&
40629 $as_test_x conftest$ac_exeext; then
40630 eval "$as_ac_var=yes"
40632 echo "$as_me: failed program was:" >&5
40633 sed 's/^/| /' conftest.$ac_ext >&5
40635 eval "$as_ac_var=no"
40638 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40639 conftest$ac_exeext conftest.$ac_ext
40641 ac_res=`eval echo '${'$as_ac_var'}'`
40642 { echo "$as_me:$LINENO: result: $ac_res" >&5
40643 echo "${ECHO_T}$ac_res" >&6; }
40644 if test `eval echo '${'$as_ac_var'}'` = yes; then
40645 cat >>confdefs.h <<_ACEOF
40646 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40648 cat >>confdefs.h <<\_ACEOF
40649 #define HAVE_DLERROR 1
40654 { echo "$as_me:$LINENO: checking for dlerror in -ldl" >&5
40655 echo $ECHO_N "checking for dlerror in -ldl... $ECHO_C" >&6; }
40656 if test "${ac_cv_lib_dl_dlerror+set}" = set; then
40657 echo $ECHO_N "(cached) $ECHO_C" >&6
40659 ac_check_lib_save_LIBS=$LIBS
40661 cat >conftest.$ac_ext <<_ACEOF
40664 cat confdefs.h >>conftest.$ac_ext
40665 cat >>conftest.$ac_ext <<_ACEOF
40666 /* end confdefs.h. */
40668 /* Override any GCC internal prototype to avoid an error.
40669 Use char because int might match the return type of a GCC
40670 builtin and then its argument prototype would still apply. */
40683 rm -f conftest.$ac_objext conftest$ac_exeext
40684 if { (ac_try="$ac_link"
40685 case "(($ac_try" in
40686 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
40687 *) ac_try_echo
=$ac_try;;
40689 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40690 (eval "$ac_link") 2>conftest.er1
40692 grep -v '^ *+' conftest.er1
>conftest.err
40694 cat conftest.err
>&5
40695 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40696 (exit $ac_status); } && {
40697 test -z "$ac_c_werror_flag" ||
40698 test ! -s conftest.err
40699 } && test -s conftest
$ac_exeext &&
40700 $as_test_x conftest
$ac_exeext; then
40701 ac_cv_lib_dl_dlerror
=yes
40703 echo "$as_me: failed program was:" >&5
40704 sed 's/^/| /' conftest.
$ac_ext >&5
40706 ac_cv_lib_dl_dlerror
=no
40709 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
40710 conftest
$ac_exeext conftest.
$ac_ext
40711 LIBS
=$ac_check_lib_save_LIBS
40713 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlerror" >&5
40714 echo "${ECHO_T}$ac_cv_lib_dl_dlerror" >&6; }
40715 if test $ac_cv_lib_dl_dlerror = yes; then
40716 cat >>confdefs.h
<<\_ACEOF
40717 #define HAVE_DLERROR 1
40730 if test "$HAVE_DL_FUNCS" = 0; then
40731 if test "$HAVE_SHL_FUNCS" = 0; then
40732 if test "$USE_UNIX" = 1 -o "$USE_DOS" = 1; then
40733 { echo "$as_me:$LINENO: WARNING: Missing dynamic loading support, several features will be disabled" >&5
40734 echo "$as_me: WARNING: Missing dynamic loading support, several features will be disabled" >&2;}
40735 wxUSE_DYNAMIC_LOADER
=no
40736 wxUSE_DYNLIB_CLASS
=no
40738 { echo "$as_me:$LINENO: WARNING: Assuming wxLibrary class works on this platform" >&5
40739 echo "$as_me: WARNING: Assuming wxLibrary class works on this platform" >&2;}
40746 if test "$wxUSE_DYNAMIC_LOADER" = "yes" ; then
40747 cat >>confdefs.h
<<\_ACEOF
40748 #define wxUSE_DYNAMIC_LOADER 1
40752 if test "$wxUSE_DYNLIB_CLASS" = "yes" ; then
40753 cat >>confdefs.h
<<\_ACEOF
40754 #define wxUSE_DYNLIB_CLASS 1
40761 if test "$wxUSE_PLUGINS" = "yes" ; then
40762 if test "$wxUSE_SHARED" = "no" ; then
40763 { echo "$as_me:$LINENO: WARNING: plugins supported only in shared build, disabling" >&5
40764 echo "$as_me: WARNING: plugins supported only in shared build, disabling" >&2;}
40767 if test "$wxUSE_MONOLITHIC" = "yes" ; then
40768 { echo "$as_me:$LINENO: WARNING: plugins not supported monolithic build, disabling" >&5
40769 echo "$as_me: WARNING: plugins not supported monolithic build, disabling" >&2;}
40772 if test "$wxUSE_DYNLIB_CLASS" = "no" ; then
40773 { echo "$as_me:$LINENO: WARNING: plugins require wxDynamicLibrary, disabling" >&5
40774 echo "$as_me: WARNING: plugins require wxDynamicLibrary, disabling" >&2;}
40777 if test "$wxUSE_PLUGINS" = "yes" ; then
40778 cat >>confdefs.h
<<\_ACEOF
40779 #define wxUSE_PLUGINS 1
40786 if test "$wxUSE_STL" = "yes"; then
40787 cat >>confdefs.h
<<\_ACEOF
40788 #define wxUSE_STL 1
40793 if test "$wxUSE_APPLE_IEEE" = "yes"; then
40794 cat >>confdefs.h
<<\_ACEOF
40795 #define wxUSE_APPLE_IEEE 1
40800 if test "$wxUSE_TIMER" = "yes"; then
40801 cat >>confdefs.h
<<\_ACEOF
40802 #define wxUSE_TIMER 1
40807 if test "$USE_UNIX" = "1" ; then
40808 if test "$wxUSE_MGL" != 1; then
40809 { echo "$as_me:$LINENO: checking for SNDCTL_DSP_SPEED in sys/soundcard.h" >&5
40810 echo $ECHO_N "checking for SNDCTL_DSP_SPEED in sys/soundcard.h... $ECHO_C" >&6; }
40811 if test "${ac_cv_header_sys_soundcard+set}" = set; then
40812 echo $ECHO_N "(cached) $ECHO_C" >&6
40815 cat >conftest.
$ac_ext <<_ACEOF
40818 cat confdefs.h
>>conftest.
$ac_ext
40819 cat >>conftest.
$ac_ext <<_ACEOF
40820 /* end confdefs.h. */
40822 #include <sys/ioctl.h>
40823 #include <sys/soundcard.h>
40829 ioctl(0, SNDCTL_DSP_SPEED, 0);
40835 rm -f conftest.
$ac_objext conftest
$ac_exeext
40836 if { (ac_try
="$ac_link"
40837 case "(($ac_try" in
40838 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
40839 *) ac_try_echo=$ac_try;;
40841 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40842 (eval "$ac_link") 2>conftest.er1
40844 grep -v '^ *+' conftest.er1 >conftest.err
40846 cat conftest.err >&5
40847 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40848 (exit $ac_status); } && {
40849 test -z "$ac_c_werror_flag" ||
40850 test ! -s conftest.err
40851 } && test -s conftest$ac_exeext &&
40852 $as_test_x conftest$ac_exeext; then
40853 ac_cv_header_sys_soundcard=yes
40855 echo "$as_me: failed program was:" >&5
40856 sed 's/^/| /' conftest.$ac_ext >&5
40860 LIBS="$saveLibs -lossaudio"
40861 cat >conftest.$ac_ext <<_ACEOF
40864 cat confdefs.h >>conftest.$ac_ext
40865 cat >>conftest.$ac_ext <<_ACEOF
40866 /* end confdefs.h. */
40868 #include <sys/ioctl.h>
40869 #include <sys/soundcard.h>
40875 ioctl(0, SNDCTL_DSP_SPEED, 0);
40881 rm -f conftest.$ac_objext conftest$ac_exeext
40882 if { (ac_try="$ac_link"
40883 case "(($ac_try" in
40884 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
40885 *) ac_try_echo
=$ac_try;;
40887 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40888 (eval "$ac_link") 2>conftest.er1
40890 grep -v '^ *+' conftest.er1
>conftest.err
40892 cat conftest.err
>&5
40893 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40894 (exit $ac_status); } && {
40895 test -z "$ac_c_werror_flag" ||
40896 test ! -s conftest.err
40897 } && test -s conftest
$ac_exeext &&
40898 $as_test_x conftest
$ac_exeext; then
40899 ac_cv_header_sys_soundcard
=yes
40901 echo "$as_me: failed program was:" >&5
40902 sed 's/^/| /' conftest.
$ac_ext >&5
40906 ac_cv_header_sys_soundcard
=no
40911 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
40912 conftest
$ac_exeext conftest.
$ac_ext
40917 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
40918 conftest
$ac_exeext conftest.
$ac_ext
40921 { echo "$as_me:$LINENO: result: $ac_cv_header_sys_soundcard" >&5
40922 echo "${ECHO_T}$ac_cv_header_sys_soundcard" >&6; }
40925 if test "$ac_cv_header_sys_soundcard" = "yes"; then
40926 cat >>confdefs.h
<<\_ACEOF
40927 #define HAVE_SYS_SOUNDCARD_H 1
40934 if test "$wxUSE_SOUND" = "yes"; then
40935 if test "$USE_UNIX" = "1" ; then
40936 if test "$wxUSE_LIBSDL" != "no"; then
40938 # Check whether --with-sdl-prefix was given.
40939 if test "${with_sdl_prefix+set}" = set; then
40940 withval
=$with_sdl_prefix; sdl_prefix
="$withval"
40946 # Check whether --with-sdl-exec-prefix was given.
40947 if test "${with_sdl_exec_prefix+set}" = set; then
40948 withval
=$with_sdl_exec_prefix; sdl_exec_prefix
="$withval"
40953 # Check whether --enable-sdltest was given.
40954 if test "${enable_sdltest+set}" = set; then
40955 enableval
=$enable_sdltest;
40961 if test x
$sdl_exec_prefix != x
; then
40962 sdl_args
="$sdl_args --exec-prefix=$sdl_exec_prefix"
40963 if test x
${SDL_CONFIG+set} != xset
; then
40964 SDL_CONFIG
=$sdl_exec_prefix/bin
/sdl
-config
40967 if test x
$sdl_prefix != x
; then
40968 sdl_args
="$sdl_args --prefix=$sdl_prefix"
40969 if test x
${SDL_CONFIG+set} != xset
; then
40970 SDL_CONFIG
=$sdl_prefix/bin
/sdl
-config
40974 if test "x$prefix" != xNONE
; then
40975 PATH
="$prefix/bin:$prefix/usr/bin:$PATH"
40977 # Extract the first word of "sdl-config", so it can be a program name with args.
40978 set dummy sdl
-config; ac_word
=$2
40979 { echo "$as_me:$LINENO: checking for $ac_word" >&5
40980 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
40981 if test "${ac_cv_path_SDL_CONFIG+set}" = set; then
40982 echo $ECHO_N "(cached) $ECHO_C" >&6
40984 case $SDL_CONFIG in
40986 ac_cv_path_SDL_CONFIG
="$SDL_CONFIG" # Let the user override the test with a path.
40989 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
40990 for as_dir
in $PATH
40993 test -z "$as_dir" && as_dir
=.
40994 for ac_exec_ext
in '' $ac_executable_extensions; do
40995 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
40996 ac_cv_path_SDL_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
40997 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
41004 test -z "$ac_cv_path_SDL_CONFIG" && ac_cv_path_SDL_CONFIG
="no"
41008 SDL_CONFIG
=$ac_cv_path_SDL_CONFIG
41009 if test -n "$SDL_CONFIG"; then
41010 { echo "$as_me:$LINENO: result: $SDL_CONFIG" >&5
41011 echo "${ECHO_T}$SDL_CONFIG" >&6; }
41013 { echo "$as_me:$LINENO: result: no" >&5
41014 echo "${ECHO_T}no" >&6; }
41018 min_sdl_version
=1.2.0
41019 { echo "$as_me:$LINENO: checking for SDL - version >= $min_sdl_version" >&5
41020 echo $ECHO_N "checking for SDL - version >= $min_sdl_version... $ECHO_C" >&6; }
41022 if test "$SDL_CONFIG" = "no" ; then
41025 SDL_CFLAGS
=`$SDL_CONFIG $sdlconf_args --cflags`
41026 SDL_LIBS
=`$SDL_CONFIG $sdlconf_args --libs`
41028 sdl_major_version
=`$SDL_CONFIG $sdl_args --version | \
41029 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
41030 sdl_minor_version
=`$SDL_CONFIG $sdl_args --version | \
41031 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
41032 sdl_micro_version
=`$SDL_CONFIG $sdl_config_args --version | \
41033 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
41034 if test "x$enable_sdltest" = "xyes" ; then
41035 ac_save_CFLAGS
="$CFLAGS"
41036 ac_save_CXXFLAGS
="$CXXFLAGS"
41037 ac_save_LIBS
="$LIBS"
41038 CFLAGS
="$CFLAGS $SDL_CFLAGS"
41039 CXXFLAGS
="$CXXFLAGS $SDL_CFLAGS"
41040 LIBS
="$LIBS $SDL_LIBS"
41042 if test "$cross_compiling" = yes; then
41043 echo $ac_n "cross compiling; assumed OK... $ac_c"
41045 cat >conftest.
$ac_ext <<_ACEOF
41048 cat confdefs.h
>>conftest.
$ac_ext
41049 cat >>conftest.
$ac_ext <<_ACEOF
41050 /* end confdefs.h. */
41053 #include <stdlib.h>
41054 #include <string.h>
41058 my_strdup (char *str)
41064 new_str = (char *)malloc ((strlen (str) + 1) * sizeof(char));
41065 strcpy (new_str, str);
41073 int main (int argc, char *argv[])
41075 int major, minor, micro;
41078 /* This hangs on some systems (?)
41079 system ("touch conf.sdltest");
41081 { FILE *fp = fopen("conf.sdltest", "a"); if ( fp ) fclose(fp); }
41083 /* HP/UX 9 (%@#!) writes to sscanf strings */
41084 tmp_version = my_strdup("$min_sdl_version");
41085 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
41086 printf("%s, bad version string\n", "$min_sdl_version");
41090 if (($sdl_major_version > major) ||
41091 (($sdl_major_version == major) && ($sdl_minor_version > minor)) ||
41092 (($sdl_major_version == major) && ($sdl_minor_version == minor) && ($sdl_micro_version >= micro)))
41098 printf("\n*** 'sdl-config --version' returned %d.%d.%d, but the minimum version\n", $sdl_major_version, $sdl_minor_version, $sdl_micro_version);
41099 printf("*** of SDL required is %d.%d.%d. If sdl-config is correct, then it is\n", major, minor, micro);
41100 printf("*** best to upgrade to the required version.\n");
41101 printf("*** If sdl-config was wrong, set the environment variable SDL_CONFIG\n");
41102 printf("*** to point to the correct copy of sdl-config, and remove the file\n");
41103 printf("*** config.cache before re-running configure\n");
41110 rm -f conftest
$ac_exeext
41111 if { (ac_try
="$ac_link"
41112 case "(($ac_try" in
41113 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
41114 *) ac_try_echo=$ac_try;;
41116 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41117 (eval "$ac_link") 2>&5
41119 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41120 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
41121 { (case "(($ac_try" in
41122 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
41123 *) ac_try_echo
=$ac_try;;
41125 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41126 (eval "$ac_try") 2>&5
41128 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41129 (exit $ac_status); }; }; then
41132 echo "$as_me: program exited with status $ac_status" >&5
41133 echo "$as_me: failed program was:" >&5
41134 sed 's/^/| /' conftest.
$ac_ext >&5
41136 ( exit $ac_status )
41139 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
41143 CFLAGS
="$ac_save_CFLAGS"
41144 CXXFLAGS
="$ac_save_CXXFLAGS"
41145 LIBS
="$ac_save_LIBS"
41148 if test "x$no_sdl" = x
; then
41149 { echo "$as_me:$LINENO: result: yes" >&5
41150 echo "${ECHO_T}yes" >&6; }
41152 EXTRALIBS_SDL
="$SDL_LIBS"
41153 CFLAGS
="$SDL_CFLAGS $CFLAGS"
41154 CXXFLAGS
="$SDL_CFLAGS $CXXFLAGS"
41155 cat >>confdefs.h
<<\_ACEOF
41156 #define wxUSE_LIBSDL 1
41161 { echo "$as_me:$LINENO: result: no" >&5
41162 echo "${ECHO_T}no" >&6; }
41163 if test "$SDL_CONFIG" = "no" ; then
41164 echo "*** The sdl-config script installed by SDL could not be found"
41165 echo "*** If SDL was installed in PREFIX, make sure PREFIX/bin is in"
41166 echo "*** your path, or set the SDL_CONFIG environment variable to the"
41167 echo "*** full path to sdl-config."
41169 if test -f conf.sdltest
; then
41172 echo "*** Could not run SDL test program, checking why..."
41173 CFLAGS
="$CFLAGS $SDL_CFLAGS"
41174 CXXFLAGS
="$CXXFLAGS $SDL_CFLAGS"
41175 LIBS
="$LIBS $SDL_LIBS"
41176 cat >conftest.
$ac_ext <<_ACEOF
41179 cat confdefs.h
>>conftest.
$ac_ext
41180 cat >>conftest.
$ac_ext <<_ACEOF
41181 /* end confdefs.h. */
41186 int main(int argc, char *argv[])
41189 #define main K_and_R_C_main
41199 rm -f conftest.
$ac_objext conftest
$ac_exeext
41200 if { (ac_try
="$ac_link"
41201 case "(($ac_try" in
41202 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
41203 *) ac_try_echo=$ac_try;;
41205 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41206 (eval "$ac_link") 2>conftest.er1
41208 grep -v '^ *+' conftest.er1 >conftest.err
41210 cat conftest.err >&5
41211 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41212 (exit $ac_status); } && {
41213 test -z "$ac_c_werror_flag" ||
41214 test ! -s conftest.err
41215 } && test -s conftest$ac_exeext &&
41216 $as_test_x conftest$ac_exeext; then
41217 echo "*** The test program compiled, but did not run. This usually means"
41218 echo "*** that the run-time linker is not finding SDL or finding the wrong"
41219 echo "*** version of SDL. If it is not finding SDL, you'll need to set your"
41220 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
41221 echo "*** to the installed location Also, make sure you have run ldconfig if that"
41222 echo "*** is required on your system"
41224 echo "*** If you have an old version installed, it is best to remove it, although"
41225 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
41227 echo "$as_me: failed program was:" >&5
41228 sed 's/^/| /' conftest.$ac_ext >&5
41230 echo "*** The test program failed to compile or link. See the file config.log for the"
41231 echo "*** exact error that occured. This usually means SDL was incorrectly installed"
41232 echo "*** or that you have moved SDL since it was installed. In the latter case, you"
41233 echo "*** may want to edit the sdl-config script: $SDL_CONFIG"
41236 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41237 conftest$ac_exeext conftest.$ac_ext
41238 CFLAGS="$ac_save_CFLAGS"
41239 CXXFLAGS="$ac_save_CXXFLAGS"
41240 LIBS="$ac_save_LIBS"
41251 if test "$wxUSE_LIBSDL" = "yes" -a "$wxUSE_PLUGINS" = "yes" ; then
41256 if test "$wxUSE_MGL" = 1; then
41257 { echo "$as_me:$LINENO: WARNING: wxSound not supported in MGL under DOS... disabled" >&5
41258 echo "$as_me: WARNING: wxSound not supported in MGL under DOS... disabled" >&2;}
41264 if test "$wxUSE_SOUND" = "yes"; then
41265 cat >>confdefs.h <<\_ACEOF
41266 #define wxUSE_SOUND 1
41269 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sound"
41272 if test "$WXGTK20" = 1; then
41275 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
41276 if test -n "$ac_tool_prefix"; then
41277 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
41278 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
41279 { echo "$as_me:$LINENO: checking for $ac_word" >&5
41280 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
41281 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
41282 echo $ECHO_N "(cached) $ECHO_C" >&6
41284 case $PKG_CONFIG in
41286 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
41289 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
41290 for as_dir in $PATH
41293 test -z "$as_dir" && as_dir=.
41294 for ac_exec_ext in '' $ac_executable_extensions; do
41295 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
41296 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
41297 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
41307 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
41308 if test -n "$PKG_CONFIG"; then
41309 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
41310 echo "${ECHO_T}$PKG_CONFIG" >&6; }
41312 { echo "$as_me:$LINENO: result: no" >&5
41313 echo "${ECHO_T}no" >&6; }
41318 if test -z "$ac_cv_path_PKG_CONFIG"; then
41319 ac_pt_PKG_CONFIG=$PKG_CONFIG
41320 # Extract the first word of "pkg-config", so it can be a program name with args.
41321 set dummy pkg-config; ac_word=$2
41322 { echo "$as_me:$LINENO: checking for $ac_word" >&5
41323 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
41324 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
41325 echo $ECHO_N "(cached) $ECHO_C" >&6
41327 case $ac_pt_PKG_CONFIG in
41329 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
41332 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
41333 for as_dir in $PATH
41336 test -z "$as_dir" && as_dir=.
41337 for ac_exec_ext in '' $ac_executable_extensions; do
41338 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
41339 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
41340 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
41350 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
41351 if test -n "$ac_pt_PKG_CONFIG"; then
41352 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
41353 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
41355 { echo "$as_me:$LINENO: result: no" >&5
41356 echo "${ECHO_T}no" >&6; }
41359 if test "x$ac_pt_PKG_CONFIG" = x; then
41362 case $cross_compiling:$ac_tool_warned in
41364 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
41365 whose name does not start with the host triplet. If you think this
41366 configuration is useful to you, please write to autoconf@gnu.org." >&5
41367 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
41368 whose name does not start with the host triplet. If you think this
41369 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
41370 ac_tool_warned=yes ;;
41372 PKG_CONFIG=$ac_pt_PKG_CONFIG
41375 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
41379 if test -n "$PKG_CONFIG"; then
41380 _pkg_min_version=0.9.0
41381 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
41382 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
41383 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
41384 { echo "$as_me:$LINENO: result: yes" >&5
41385 echo "${ECHO_T}yes" >&6; }
41387 { echo "$as_me:$LINENO: result: no" >&5
41388 echo "${ECHO_T}no" >&6; }
41394 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
41395 if test "$wxUSE_LIBGNOMEPRINT" = "yes" ; then
41399 { echo "$as_me:$LINENO: checking for LIBGNOMEPRINTUI" >&5
41400 echo $ECHO_N "checking for LIBGNOMEPRINTUI... $ECHO_C" >&6; }
41402 if test -n "$PKG_CONFIG"; then
41403 if test -n "$LIBGNOMEPRINTUI_CFLAGS"; then
41404 pkg_cv_LIBGNOMEPRINTUI_CFLAGS="$LIBGNOMEPRINTUI_CFLAGS"
41406 if test -n "$PKG_CONFIG" && \
41407 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libgnomeprintui-2.2 >= 2.8\"") >&5
41408 ($PKG_CONFIG --exists --print-errors "libgnomeprintui-2.2 >= 2.8") 2>&5
41410 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41411 (exit $ac_status); }; then
41412 pkg_cv_LIBGNOMEPRINTUI_CFLAGS=`$PKG_CONFIG --cflags "libgnomeprintui-2.2 >= 2.8" 2>/dev
/null
`
41420 if test -n "$PKG_CONFIG"; then
41421 if test -n "$LIBGNOMEPRINTUI_LIBS"; then
41422 pkg_cv_LIBGNOMEPRINTUI_LIBS="$LIBGNOMEPRINTUI_LIBS"
41424 if test -n "$PKG_CONFIG" && \
41425 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libgnomeprintui-2.2 >= 2.8\"") >&5
41426 ($PKG_CONFIG --exists --print-errors "libgnomeprintui-2.2 >= 2.8") 2>&5
41428 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41429 (exit $ac_status); }; then
41430 pkg_cv_LIBGNOMEPRINTUI_LIBS=`$PKG_CONFIG --libs "libgnomeprintui-2.2 >= 2.8" 2>/dev
/null
`
41441 if test $pkg_failed = yes; then
41443 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
41444 _pkg_short_errors_supported=yes
41446 _pkg_short_errors_supported=no
41448 if test $_pkg_short_errors_supported = yes; then
41449 LIBGNOMEPRINTUI_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libgnomeprintui-2.2 >= 2.8"`
41451 LIBGNOMEPRINTUI_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "libgnomeprintui-2.2 >= 2.8"`
41453 # Put the nasty error message in config.log where it belongs
41454 echo "$LIBGNOMEPRINTUI_PKG_ERRORS" >&5
41457 { echo "$as_me:$LINENO: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&5
41458 echo "$as_me: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&2;}
41459 wxUSE_LIBGNOMEPRINT="no"
41462 elif test $pkg_failed = untried; then
41464 { echo "$as_me:$LINENO: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&5
41465 echo "$as_me: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&2;}
41466 wxUSE_LIBGNOMEPRINT="no"
41470 LIBGNOMEPRINTUI_CFLAGS=$pkg_cv_LIBGNOMEPRINTUI_CFLAGS
41471 LIBGNOMEPRINTUI_LIBS=$pkg_cv_LIBGNOMEPRINTUI_LIBS
41472 { echo "$as_me:$LINENO: result: yes" >&5
41473 echo "${ECHO_T}yes" >&6; }
41475 CFLAGS="$LIBGNOMEPRINTUI_CFLAGS $CFLAGS"
41476 CXXFLAGS="$LIBGNOMEPRINTUI_CFLAGS $CXXFLAGS"
41477 cat >>confdefs.h <<\_ACEOF
41478 #define wxUSE_LIBGNOMEPRINT 1
41486 if test "$wxUSE_MIMETYPE" = "yes" ; then
41487 if test "$wxUSE_LIBGNOMEVFS" = "yes" ; then
41491 { echo "$as_me:$LINENO: checking for GNOMEVFS" >&5
41492 echo $ECHO_N "checking for GNOMEVFS... $ECHO_C" >&6; }
41494 if test -n "$PKG_CONFIG"; then
41495 if test -n "$GNOMEVFS_CFLAGS"; then
41496 pkg_cv_GNOMEVFS_CFLAGS="$GNOMEVFS_CFLAGS"
41498 if test -n "$PKG_CONFIG" && \
41499 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gnome-vfs-2.0 >= 2.0\"") >&5
41500 ($PKG_CONFIG --exists --print-errors "gnome-vfs-2.0 >= 2.0") 2>&5
41502 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41503 (exit $ac_status); }; then
41504 pkg_cv_GNOMEVFS_CFLAGS=`$PKG_CONFIG --cflags "gnome-vfs-2.0 >= 2.0" 2>/dev
/null
`
41512 if test -n "$PKG_CONFIG"; then
41513 if test -n "$GNOMEVFS_LIBS"; then
41514 pkg_cv_GNOMEVFS_LIBS="$GNOMEVFS_LIBS"
41516 if test -n "$PKG_CONFIG" && \
41517 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gnome-vfs-2.0 >= 2.0\"") >&5
41518 ($PKG_CONFIG --exists --print-errors "gnome-vfs-2.0 >= 2.0") 2>&5
41520 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41521 (exit $ac_status); }; then
41522 pkg_cv_GNOMEVFS_LIBS=`$PKG_CONFIG --libs "gnome-vfs-2.0 >= 2.0" 2>/dev
/null
`
41533 if test $pkg_failed = yes; then
41535 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
41536 _pkg_short_errors_supported=yes
41538 _pkg_short_errors_supported=no
41540 if test $_pkg_short_errors_supported = yes; then
41541 GNOMEVFS_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gnome-vfs-2.0 >= 2.0"`
41543 GNOMEVFS_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gnome-vfs-2.0 >= 2.0"`
41545 # Put the nasty error message in config.log where it belongs
41546 echo "$GNOMEVFS_PKG_ERRORS" >&5
41549 { echo "$as_me:$LINENO: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&5
41550 echo "$as_me: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&2;}
41551 wxUSE_LIBGNOMEVFS="no"
41554 elif test $pkg_failed = untried; then
41556 { echo "$as_me:$LINENO: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&5
41557 echo "$as_me: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&2;}
41558 wxUSE_LIBGNOMEVFS="no"
41562 GNOMEVFS_CFLAGS=$pkg_cv_GNOMEVFS_CFLAGS
41563 GNOMEVFS_LIBS=$pkg_cv_GNOMEVFS_LIBS
41564 { echo "$as_me:$LINENO: result: yes" >&5
41565 echo "${ECHO_T}yes" >&6; }
41567 CFLAGS="$GNOMEVFS_CFLAGS $CFLAGS"
41568 CXXFLAGS="$GNOMEVFS_CFLAGS $CXXFLAGS"
41569 cat >>confdefs.h <<\_ACEOF
41570 #define wxUSE_LIBGNOMEVFS 1
41578 if test "$wxUSE_LIBHILDON" = "yes" ; then
41581 { echo "$as_me:$LINENO: checking for HILDON" >&5
41582 echo $ECHO_N "checking for HILDON... $ECHO_C" >&6; }
41584 if test -n "$PKG_CONFIG"; then
41585 if test -n "$HILDON_CFLAGS"; then
41586 pkg_cv_HILDON_CFLAGS="$HILDON_CFLAGS"
41588 if test -n "$PKG_CONFIG" && \
41589 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-lgpl >= 0.9\"") >&5
41590 ($PKG_CONFIG --exists --print-errors "hildon-lgpl >= 0.9") 2>&5
41592 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41593 (exit $ac_status); }; then
41594 pkg_cv_HILDON_CFLAGS=`$PKG_CONFIG --cflags "hildon-lgpl >= 0.9" 2>/dev
/null
`
41602 if test -n "$PKG_CONFIG"; then
41603 if test -n "$HILDON_LIBS"; then
41604 pkg_cv_HILDON_LIBS="$HILDON_LIBS"
41606 if test -n "$PKG_CONFIG" && \
41607 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-lgpl >= 0.9\"") >&5
41608 ($PKG_CONFIG --exists --print-errors "hildon-lgpl >= 0.9") 2>&5
41610 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41611 (exit $ac_status); }; then
41612 pkg_cv_HILDON_LIBS=`$PKG_CONFIG --libs "hildon-lgpl >= 0.9" 2>/dev
/null
`
41623 if test $pkg_failed = yes; then
41625 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
41626 _pkg_short_errors_supported=yes
41628 _pkg_short_errors_supported=no
41630 if test $_pkg_short_errors_supported = yes; then
41631 HILDON_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "hildon-lgpl >= 0.9"`
41633 HILDON_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "hildon-lgpl >= 0.9"`
41635 # Put the nasty error message in config.log where it belongs
41636 echo "$HILDON_PKG_ERRORS" >&5
41639 { echo "$as_me:$LINENO: WARNING: libhildon_lgpl not found" >&5
41640 echo "$as_me: WARNING: libhildon_lgpl not found" >&2;}
41641 wxUSE_LIBHILDON="no"
41644 elif test $pkg_failed = untried; then
41646 { echo "$as_me:$LINENO: WARNING: libhildon_lgpl not found" >&5
41647 echo "$as_me: WARNING: libhildon_lgpl not found" >&2;}
41648 wxUSE_LIBHILDON="no"
41652 HILDON_CFLAGS=$pkg_cv_HILDON_CFLAGS
41653 HILDON_LIBS=$pkg_cv_HILDON_LIBS
41654 { echo "$as_me:$LINENO: result: yes" >&5
41655 echo "${ECHO_T}yes" >&6; }
41657 EXTRALIBS_HILDON="$HILDON_LIBS"
41658 CFLAGS="$CFLAGS $HILDON_CFLAGS"
41659 CXXFLAGS="$CXXFLAGS $HILDON_CFLAGS"
41660 cat >>confdefs.h <<\_ACEOF
41661 #define wxUSE_LIBHILDON 1
41669 if test "$wxUSE_CMDLINE_PARSER" = "yes"; then
41670 cat >>confdefs.h <<\_ACEOF
41671 #define wxUSE_CMDLINE_PARSER 1
41676 if test "$wxUSE_STOPWATCH" = "yes"; then
41677 cat >>confdefs.h <<\_ACEOF
41678 #define wxUSE_STOPWATCH 1
41683 if test "$wxUSE_DATETIME" = "yes"; then
41684 cat >>confdefs.h <<\_ACEOF
41685 #define wxUSE_DATETIME 1
41690 if test "$wxUSE_FILE" = "yes"; then
41691 cat >>confdefs.h <<\_ACEOF
41692 #define wxUSE_FILE 1
41697 if test "$wxUSE_FFILE" = "yes"; then
41698 cat >>confdefs.h <<\_ACEOF
41699 #define wxUSE_FFILE 1
41704 if test "$wxUSE_ARCHIVE_STREAMS" = "yes"; then
41705 if test "$wxUSE_STREAMS" != yes; then
41706 { echo "$as_me:$LINENO: WARNING: wxArchive requires wxStreams... disabled" >&5
41707 echo "$as_me: WARNING: wxArchive requires wxStreams... disabled" >&2;}
41708 wxUSE_ARCHIVE_STREAMS=no
41710 cat >>confdefs.h <<\_ACEOF
41711 #define wxUSE_ARCHIVE_STREAMS 1
41717 if test "$wxUSE_ZIPSTREAM" = "yes"; then
41718 if test "$wxUSE_ARCHIVE_STREAMS" != "yes"; then
41719 { echo "$as_me:$LINENO: WARNING: wxZip requires wxArchive... disabled" >&5
41720 echo "$as_me: WARNING: wxZip requires wxArchive... disabled" >&2;}
41721 elif test "$wxUSE_ZLIB" = "no"; then
41722 { echo "$as_me:$LINENO: WARNING: wxZip requires wxZlib... disabled" >&5
41723 echo "$as_me: WARNING: wxZip requires wxZlib... disabled" >&2;}
41725 cat >>confdefs.h <<\_ACEOF
41726 #define wxUSE_ZIPSTREAM 1
41732 if test "$wxUSE_TARSTREAM" = "yes"; then
41733 if test "$wxUSE_ARCHIVE_STREAMS" != "yes"; then
41734 { echo "$as_me:$LINENO: WARNING: wxTar requires wxArchive... disabled" >&5
41735 echo "$as_me: WARNING: wxTar requires wxArchive... disabled" >&2;}
41737 cat >>confdefs.h <<\_ACEOF
41738 #define wxUSE_TARSTREAM 1
41744 if test "$wxUSE_FILESYSTEM" = "yes"; then
41745 if test "$wxUSE_STREAMS" != yes -o \( "$wxUSE_FILE" != yes -a "$wxUSE_FFILE" != yes \); then
41746 { echo "$as_me:$LINENO: WARNING: wxFileSystem requires wxStreams and wxFile or wxFFile... disabled" >&5
41747 echo "$as_me: WARNING: wxFileSystem requires wxStreams and wxFile or wxFFile... disabled" >&2;}
41748 wxUSE_FILESYSTEM=no
41750 cat >>confdefs.h <<\_ACEOF
41751 #define wxUSE_FILESYSTEM 1
41757 if test "$wxUSE_FS_ARCHIVE" = "yes"; then
41758 if test "$wxUSE_FILESYSTEM" != yes -o "$wxUSE_ARCHIVE_STREAMS" != yes; then
41759 { echo "$as_me:$LINENO: WARNING: wxArchiveFSHandler requires wxArchive and wxFileSystem... disabled" >&5
41760 echo "$as_me: WARNING: wxArchiveFSHandler requires wxArchive and wxFileSystem... disabled" >&2;}
41762 cat >>confdefs.h <<\_ACEOF
41763 #define wxUSE_FS_ARCHIVE 1
41769 if test "$wxUSE_FS_ZIP" = "yes"; then
41770 if test "$wxUSE_FS_ARCHIVE" != yes; then
41771 { echo "$as_me:$LINENO: WARNING: wxZipFSHandler requires wxArchiveFSHandler... disabled" >&5
41772 echo "$as_me: WARNING: wxZipFSHandler requires wxArchiveFSHandler... disabled" >&2;}
41774 cat >>confdefs.h <<\_ACEOF
41775 #define wxUSE_FS_ZIP 1
41781 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
41782 if test "$USE_UNIX" != 1; then
41783 { echo "$as_me:$LINENO: WARNING: Catching fatal exceptions not currently supported on this system, wxApp::OnFatalException will not be called" >&5
41784 echo "$as_me: WARNING: Catching fatal exceptions not currently supported on this system, wxApp::OnFatalException will not be called" >&2;}
41785 wxUSE_ON_FATAL_EXCEPTION=no
41787 cat >>confdefs.h <<\_ACEOF
41788 #define wxUSE_ON_FATAL_EXCEPTION 1
41794 if test "$wxUSE_STACKWALKER" = "yes"; then
41795 cat >>confdefs.h <<\_ACEOF
41796 #define wxUSE_STACKWALKER 1
41801 if test "$wxUSE_DEBUGREPORT" = "yes"; then
41802 if test "$USE_UNIX" != "1" -a "$USE_WIN32" != "1"; then
41803 { echo "$as_me:$LINENO: WARNING: Creating debug reports not currently supported on this system, disabled" >&5
41804 echo "$as_me: WARNING: Creating debug reports not currently supported on this system, disabled" >&2;}
41805 wxUSE_DEBUGREPORT=no
41807 cat >>confdefs.h <<\_ACEOF
41808 #define wxUSE_DEBUGREPORT 1
41811 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
41812 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS debugrpt"
41817 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
41818 cat >>confdefs.h <<\_ACEOF
41819 #define wxUSE_SNGLINST_CHECKER 1
41824 if test "$wxUSE_BUSYINFO" = "yes"; then
41825 cat >>confdefs.h <<\_ACEOF
41826 #define wxUSE_BUSYINFO 1
41831 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
41832 cat >>confdefs.h <<\_ACEOF
41833 #define wxUSE_STD_IOSTREAM 1
41838 if test "$wxUSE_STD_STRING" = "yes"; then
41839 cat >>confdefs.h <<\_ACEOF
41840 #define wxUSE_STD_STRING 1
41845 if test "$wxUSE_STDPATHS" = "yes"; then
41846 cat >>confdefs.h <<\_ACEOF
41847 #define wxUSE_STDPATHS 1
41852 if test "$wxUSE_TEXTBUFFER" = "yes"; then
41853 cat >>confdefs.h <<\_ACEOF
41854 #define wxUSE_TEXTBUFFER 1
41859 if test "$wxUSE_TEXTFILE" = "yes"; then
41860 if test "$wxUSE_FILE" != "yes" -o "$wxUSE_TEXTBUFFER" != "yes" ; then
41861 { echo "$as_me:$LINENO: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&5
41862 echo "$as_me: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&2;}
41864 cat >>confdefs.h <<\_ACEOF
41865 #define wxUSE_TEXTFILE 1
41871 if test "$wxUSE_CONFIG" = "yes" ; then
41872 if test "$wxUSE_TEXTFILE" != "yes"; then
41873 { echo "$as_me:$LINENO: WARNING: wxConfig requires wxTextFile... disabled" >&5
41874 echo "$as_me: WARNING: wxConfig requires wxTextFile... disabled" >&2;}
41876 cat >>confdefs.h <<\_ACEOF
41877 #define wxUSE_CONFIG 1
41880 cat >>confdefs.h <<\_ACEOF
41881 #define wxUSE_CONFIG_NATIVE 1
41884 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS config"
41888 if test "$wxUSE_INTL" = "yes" ; then
41889 if test "$wxUSE_FILE" != "yes"; then
41890 { echo "$as_me:$LINENO: WARNING: I18n code requires wxFile... disabled" >&5
41891 echo "$as_me: WARNING: I18n code requires wxFile... disabled" >&2;}
41893 cat >>confdefs.h <<\_ACEOF
41894 #define wxUSE_INTL 1
41897 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS internat"
41898 GUIDIST="$GUIDIST INTL_DIST"
41902 if test "$wxUSE_LOG" = "yes"; then
41903 cat >>confdefs.h <<\_ACEOF
41904 #define wxUSE_LOG 1
41908 if test "$wxUSE_LOGGUI" = "yes"; then
41909 cat >>confdefs.h <<\_ACEOF
41910 #define wxUSE_LOGGUI 1
41915 if test "$wxUSE_LOGWINDOW" = "yes"; then
41916 cat >>confdefs.h <<\_ACEOF
41917 #define wxUSE_LOGWINDOW 1
41922 if test "$wxUSE_LOGDIALOG" = "yes"; then
41923 cat >>confdefs.h <<\_ACEOF
41924 #define wxUSE_LOG_DIALOG 1
41929 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS keyboard"
41932 if test "$wxUSE_LONGLONG" = "yes"; then
41933 cat >>confdefs.h <<\_ACEOF
41934 #define wxUSE_LONGLONG 1
41939 if test "$wxUSE_GEOMETRY" = "yes"; then
41940 cat >>confdefs.h <<\_ACEOF
41941 #define wxUSE_GEOMETRY 1
41946 if test "$wxUSE_STREAMS" = "yes" ; then
41947 cat >>confdefs.h <<\_ACEOF
41948 #define wxUSE_STREAMS 1
41953 if test "$wxUSE_PRINTF_POS_PARAMS" = "yes"; then
41954 cat >>confdefs.h <<\_ACEOF
41955 #define wxUSE_PRINTF_POS_PARAMS 1
41962 if test "$wxUSE_DATETIME" = "yes"; then
41964 for ac_func in strptime
41966 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41967 { echo "$as_me:$LINENO: checking for $ac_func" >&5
41968 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
41969 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
41970 echo $ECHO_N "(cached) $ECHO_C" >&6
41972 cat >conftest.$ac_ext <<_ACEOF
41975 cat confdefs.h >>conftest.$ac_ext
41976 cat >>conftest.$ac_ext <<_ACEOF
41977 /* end confdefs.h. */
41978 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41979 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41980 #define $ac_func innocuous_$ac_func
41982 /* System header to define __stub macros and hopefully few prototypes,
41983 which can conflict with char $ac_func (); below.
41984 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41985 <limits.h> exists even on freestanding compilers. */
41988 # include <limits.h>
41990 # include <assert.h>
41995 /* Override any GCC internal prototype to avoid an error.
41996 Use char because int might match the return type of a GCC
41997 builtin and then its argument prototype would still apply. */
42002 /* The GNU C library defines this for functions which it implements
42003 to always fail with ENOSYS. Some functions are actually named
42004 something starting with __ and the normal name is an alias. */
42005 #if defined __stub_$ac_func || defined __stub___$ac_func
42012 return $ac_func ();
42017 rm -f conftest.$ac_objext conftest$ac_exeext
42018 if { (ac_try="$ac_link"
42019 case "(($ac_try" in
42020 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
42021 *) ac_try_echo
=$ac_try;;
42023 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42024 (eval "$ac_link") 2>conftest.er1
42026 grep -v '^ *+' conftest.er1
>conftest.err
42028 cat conftest.err
>&5
42029 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42030 (exit $ac_status); } && {
42031 test -z "$ac_c_werror_flag" ||
42032 test ! -s conftest.err
42033 } && test -s conftest
$ac_exeext &&
42034 $as_test_x conftest
$ac_exeext; then
42035 eval "$as_ac_var=yes"
42037 echo "$as_me: failed program was:" >&5
42038 sed 's/^/| /' conftest.
$ac_ext >&5
42040 eval "$as_ac_var=no"
42043 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
42044 conftest
$ac_exeext conftest.
$ac_ext
42046 ac_res
=`eval echo '${'$as_ac_var'}'`
42047 { echo "$as_me:$LINENO: result: $ac_res" >&5
42048 echo "${ECHO_T}$ac_res" >&6; }
42049 if test `eval echo '${'$as_ac_var'}'` = yes; then
42050 cat >>confdefs.h
<<_ACEOF
42051 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
42057 if test "$ac_cv_func_strptime" = "yes"; then
42058 { echo "$as_me:$LINENO: checking for strptime declaration" >&5
42059 echo $ECHO_N "checking for strptime declaration... $ECHO_C" >&6; }
42060 if test "${wx_cv_func_strptime_decl+set}" = set; then
42061 echo $ECHO_N "(cached) $ECHO_C" >&6
42065 ac_cpp
='$CXXCPP $CPPFLAGS'
42066 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42067 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42068 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
42070 cat >conftest.
$ac_ext <<_ACEOF
42073 cat confdefs.h
>>conftest.
$ac_ext
42074 cat >>conftest.
$ac_ext <<_ACEOF
42075 /* end confdefs.h. */
42084 strptime("foo", "bar", &t);
42090 rm -f conftest.
$ac_objext
42091 if { (ac_try
="$ac_compile"
42092 case "(($ac_try" in
42093 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
42094 *) ac_try_echo=$ac_try;;
42096 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42097 (eval "$ac_compile") 2>conftest.er1
42099 grep -v '^ *+' conftest.er1 >conftest.err
42101 cat conftest.err >&5
42102 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42103 (exit $ac_status); } && {
42104 test -z "$ac_cxx_werror_flag" ||
42105 test ! -s conftest.err
42106 } && test -s conftest.$ac_objext; then
42107 wx_cv_func_strptime_decl=yes
42109 echo "$as_me: failed program was:" >&5
42110 sed 's/^/| /' conftest.$ac_ext >&5
42112 wx_cv_func_strptime_decl=no
42116 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42118 ac_cpp='$CPP $CPPFLAGS'
42119 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42120 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42121 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42126 { echo "$as_me:$LINENO: result: $wx_cv_func_strptime_decl" >&5
42127 echo "${ECHO_T}$wx_cv_func_strptime_decl" >&6; }
42129 if test "$wx_cv_func_strptime_decl" = "yes"; then
42130 cat >>confdefs.h <<\_ACEOF
42131 #define HAVE_STRPTIME_DECL 1
42136 { echo "$as_me:$LINENO: checking for timezone variable in <time.h>" >&5
42137 echo $ECHO_N "checking for timezone variable in <time.h>... $ECHO_C" >&6; }
42138 if test "${wx_cv_var_timezone+set}" = set; then
42139 echo $ECHO_N "(cached) $ECHO_C" >&6
42143 ac_cpp='$CXXCPP $CPPFLAGS'
42144 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42145 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42146 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42148 cat >conftest.$ac_ext <<_ACEOF
42151 cat confdefs.h >>conftest.$ac_ext
42152 cat >>conftest.$ac_ext <<_ACEOF
42153 /* end confdefs.h. */
42168 rm -f conftest.$ac_objext
42169 if { (ac_try="$ac_compile"
42170 case "(($ac_try" in
42171 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
42172 *) ac_try_echo
=$ac_try;;
42174 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42175 (eval "$ac_compile") 2>conftest.er1
42177 grep -v '^ *+' conftest.er1
>conftest.err
42179 cat conftest.err
>&5
42180 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42181 (exit $ac_status); } && {
42182 test -z "$ac_cxx_werror_flag" ||
42183 test ! -s conftest.err
42184 } && test -s conftest.
$ac_objext; then
42186 wx_cv_var_timezone
=timezone
42189 echo "$as_me: failed program was:" >&5
42190 sed 's/^/| /' conftest.
$ac_ext >&5
42193 cat >conftest.
$ac_ext <<_ACEOF
42196 cat confdefs.h
>>conftest.
$ac_ext
42197 cat >>conftest.
$ac_ext <<_ACEOF
42198 /* end confdefs.h. */
42213 rm -f conftest.
$ac_objext
42214 if { (ac_try
="$ac_compile"
42215 case "(($ac_try" in
42216 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
42217 *) ac_try_echo=$ac_try;;
42219 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42220 (eval "$ac_compile") 2>conftest.er1
42222 grep -v '^ *+' conftest.er1 >conftest.err
42224 cat conftest.err >&5
42225 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42226 (exit $ac_status); } && {
42227 test -z "$ac_cxx_werror_flag" ||
42228 test ! -s conftest.err
42229 } && test -s conftest.$ac_objext; then
42231 wx_cv_var_timezone=_timezone
42234 echo "$as_me: failed program was:" >&5
42235 sed 's/^/| /' conftest.$ac_ext >&5
42238 cat >conftest.$ac_ext <<_ACEOF
42241 cat confdefs.h >>conftest.$ac_ext
42242 cat >>conftest.$ac_ext <<_ACEOF
42243 /* end confdefs.h. */
42258 rm -f conftest.$ac_objext
42259 if { (ac_try="$ac_compile"
42260 case "(($ac_try" in
42261 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
42262 *) ac_try_echo
=$ac_try;;
42264 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42265 (eval "$ac_compile") 2>conftest.er1
42267 grep -v '^ *+' conftest.er1
>conftest.err
42269 cat conftest.err
>&5
42270 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42271 (exit $ac_status); } && {
42272 test -z "$ac_cxx_werror_flag" ||
42273 test ! -s conftest.err
42274 } && test -s conftest.
$ac_objext; then
42276 wx_cv_var_timezone
=__timezone
42279 echo "$as_me: failed program was:" >&5
42280 sed 's/^/| /' conftest.
$ac_ext >&5
42283 if test "$USE_DOS" = 0 ; then
42284 { echo "$as_me:$LINENO: WARNING: no timezone variable" >&5
42285 echo "$as_me: WARNING: no timezone variable" >&2;}
42291 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
42296 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
42301 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
42303 ac_cpp
='$CPP $CPPFLAGS'
42304 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42305 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42306 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
42311 { echo "$as_me:$LINENO: result: $wx_cv_var_timezone" >&5
42312 echo "${ECHO_T}$wx_cv_var_timezone" >&6; }
42314 if test "x$wx_cv_var_timezone" != x
; then
42315 cat >>confdefs.h
<<_ACEOF
42316 #define WX_TIMEZONE $wx_cv_var_timezone
42322 for ac_func
in localtime
42324 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
42325 { echo "$as_me:$LINENO: checking for $ac_func" >&5
42326 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
42327 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
42328 echo $ECHO_N "(cached) $ECHO_C" >&6
42330 cat >conftest.
$ac_ext <<_ACEOF
42333 cat confdefs.h
>>conftest.
$ac_ext
42334 cat >>conftest.
$ac_ext <<_ACEOF
42335 /* end confdefs.h. */
42336 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
42337 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42338 #define $ac_func innocuous_$ac_func
42340 /* System header to define __stub macros and hopefully few prototypes,
42341 which can conflict with char $ac_func (); below.
42342 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42343 <limits.h> exists even on freestanding compilers. */
42346 # include <limits.h>
42348 # include <assert.h>
42353 /* Override any GCC internal prototype to avoid an error.
42354 Use char because int might match the return type of a GCC
42355 builtin and then its argument prototype would still apply. */
42360 /* The GNU C library defines this for functions which it implements
42361 to always fail with ENOSYS. Some functions are actually named
42362 something starting with __ and the normal name is an alias. */
42363 #if defined __stub_$ac_func || defined __stub___$ac_func
42370 return $ac_func ();
42375 rm -f conftest.
$ac_objext conftest
$ac_exeext
42376 if { (ac_try
="$ac_link"
42377 case "(($ac_try" in
42378 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
42379 *) ac_try_echo=$ac_try;;
42381 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42382 (eval "$ac_link") 2>conftest.er1
42384 grep -v '^ *+' conftest.er1 >conftest.err
42386 cat conftest.err >&5
42387 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42388 (exit $ac_status); } && {
42389 test -z "$ac_c_werror_flag" ||
42390 test ! -s conftest.err
42391 } && test -s conftest$ac_exeext &&
42392 $as_test_x conftest$ac_exeext; then
42393 eval "$as_ac_var=yes"
42395 echo "$as_me: failed program was:" >&5
42396 sed 's/^/| /' conftest.$ac_ext >&5
42398 eval "$as_ac_var=no"
42401 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42402 conftest$ac_exeext conftest.$ac_ext
42404 ac_res=`eval echo '${'$as_ac_var'}'`
42405 { echo "$as_me:$LINENO: result: $ac_res" >&5
42406 echo "${ECHO_T}$ac_res" >&6; }
42407 if test `eval echo '${'$as_ac_var'}'` = yes; then
42408 cat >>confdefs.h <<_ACEOF
42409 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
42416 if test "$ac_cv_func_localtime" = "yes"; then
42417 { echo "$as_me:$LINENO: checking for tm_gmtoff in struct tm" >&5
42418 echo $ECHO_N "checking for tm_gmtoff in struct tm... $ECHO_C" >&6; }
42419 if test "${wx_cv_struct_tm_has_gmtoff+set}" = set; then
42420 echo $ECHO_N "(cached) $ECHO_C" >&6
42423 cat >conftest.$ac_ext <<_ACEOF
42426 cat confdefs.h >>conftest.$ac_ext
42427 cat >>conftest.$ac_ext <<_ACEOF
42428 /* end confdefs.h. */
42443 rm -f conftest.$ac_objext
42444 if { (ac_try="$ac_compile"
42445 case "(($ac_try" in
42446 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
42447 *) ac_try_echo
=$ac_try;;
42449 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42450 (eval "$ac_compile") 2>conftest.er1
42452 grep -v '^ *+' conftest.er1
>conftest.err
42454 cat conftest.err
>&5
42455 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42456 (exit $ac_status); } && {
42457 test -z "$ac_c_werror_flag" ||
42458 test ! -s conftest.err
42459 } && test -s conftest.
$ac_objext; then
42461 wx_cv_struct_tm_has_gmtoff
=yes
42464 echo "$as_me: failed program was:" >&5
42465 sed 's/^/| /' conftest.
$ac_ext >&5
42467 wx_cv_struct_tm_has_gmtoff
=no
42471 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
42474 { echo "$as_me:$LINENO: result: $wx_cv_struct_tm_has_gmtoff" >&5
42475 echo "${ECHO_T}$wx_cv_struct_tm_has_gmtoff" >&6; }
42478 if test "$wx_cv_struct_tm_has_gmtoff" = "yes"; then
42479 cat >>confdefs.h
<<\_ACEOF
42480 #define WX_GMTOFF_IN_TM 1
42487 for ac_func
in gettimeofday ftime
42489 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
42490 { echo "$as_me:$LINENO: checking for $ac_func" >&5
42491 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
42492 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
42493 echo $ECHO_N "(cached) $ECHO_C" >&6
42495 cat >conftest.
$ac_ext <<_ACEOF
42498 cat confdefs.h
>>conftest.
$ac_ext
42499 cat >>conftest.
$ac_ext <<_ACEOF
42500 /* end confdefs.h. */
42501 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
42502 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42503 #define $ac_func innocuous_$ac_func
42505 /* System header to define __stub macros and hopefully few prototypes,
42506 which can conflict with char $ac_func (); below.
42507 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42508 <limits.h> exists even on freestanding compilers. */
42511 # include <limits.h>
42513 # include <assert.h>
42518 /* Override any GCC internal prototype to avoid an error.
42519 Use char because int might match the return type of a GCC
42520 builtin and then its argument prototype would still apply. */
42525 /* The GNU C library defines this for functions which it implements
42526 to always fail with ENOSYS. Some functions are actually named
42527 something starting with __ and the normal name is an alias. */
42528 #if defined __stub_$ac_func || defined __stub___$ac_func
42535 return $ac_func ();
42540 rm -f conftest.
$ac_objext conftest
$ac_exeext
42541 if { (ac_try
="$ac_link"
42542 case "(($ac_try" in
42543 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
42544 *) ac_try_echo=$ac_try;;
42546 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42547 (eval "$ac_link") 2>conftest.er1
42549 grep -v '^ *+' conftest.er1 >conftest.err
42551 cat conftest.err >&5
42552 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42553 (exit $ac_status); } && {
42554 test -z "$ac_c_werror_flag" ||
42555 test ! -s conftest.err
42556 } && test -s conftest$ac_exeext &&
42557 $as_test_x conftest$ac_exeext; then
42558 eval "$as_ac_var=yes"
42560 echo "$as_me: failed program was:" >&5
42561 sed 's/^/| /' conftest.$ac_ext >&5
42563 eval "$as_ac_var=no"
42566 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42567 conftest$ac_exeext conftest.$ac_ext
42569 ac_res=`eval echo '${'$as_ac_var'}'`
42570 { echo "$as_me:$LINENO: result: $ac_res" >&5
42571 echo "${ECHO_T}$ac_res" >&6; }
42572 if test `eval echo '${'$as_ac_var'}'` = yes; then
42573 cat >>confdefs.h <<_ACEOF
42574 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
42581 if test "$ac_cv_func_gettimeofday" = "yes"; then
42582 { echo "$as_me:$LINENO: checking whether gettimeofday takes two arguments" >&5
42583 echo $ECHO_N "checking whether gettimeofday takes two arguments... $ECHO_C" >&6; }
42584 if test "${wx_cv_func_gettimeofday_has_2_args+set}" = set; then
42585 echo $ECHO_N "(cached) $ECHO_C" >&6
42588 cat >conftest.$ac_ext <<_ACEOF
42591 cat confdefs.h >>conftest.$ac_ext
42592 cat >>conftest.$ac_ext <<_ACEOF
42593 /* end confdefs.h. */
42595 #include <sys/time.h>
42596 #include <unistd.h>
42603 gettimeofday(&tv, NULL);
42609 rm -f conftest.$ac_objext
42610 if { (ac_try="$ac_compile"
42611 case "(($ac_try" in
42612 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
42613 *) ac_try_echo
=$ac_try;;
42615 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42616 (eval "$ac_compile") 2>conftest.er1
42618 grep -v '^ *+' conftest.er1
>conftest.err
42620 cat conftest.err
>&5
42621 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42622 (exit $ac_status); } && {
42623 test -z "$ac_c_werror_flag" ||
42624 test ! -s conftest.err
42625 } && test -s conftest.
$ac_objext; then
42626 wx_cv_func_gettimeofday_has_2_args
=yes
42628 echo "$as_me: failed program was:" >&5
42629 sed 's/^/| /' conftest.
$ac_ext >&5
42631 cat >conftest.
$ac_ext <<_ACEOF
42634 cat confdefs.h
>>conftest.
$ac_ext
42635 cat >>conftest.
$ac_ext <<_ACEOF
42636 /* end confdefs.h. */
42638 #include <sys/time.h>
42639 #include <unistd.h>
42652 rm -f conftest.
$ac_objext
42653 if { (ac_try
="$ac_compile"
42654 case "(($ac_try" in
42655 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
42656 *) ac_try_echo=$ac_try;;
42658 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42659 (eval "$ac_compile") 2>conftest.er1
42661 grep -v '^ *+' conftest.er1 >conftest.err
42663 cat conftest.err >&5
42664 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42665 (exit $ac_status); } && {
42666 test -z "$ac_c_werror_flag" ||
42667 test ! -s conftest.err
42668 } && test -s conftest.$ac_objext; then
42669 wx_cv_func_gettimeofday_has_2_args=no
42671 echo "$as_me: failed program was:" >&5
42672 sed 's/^/| /' conftest.$ac_ext >&5
42675 { echo "$as_me:$LINENO: WARNING: failed to determine number of gettimeofday() arguments" >&5
42676 echo "$as_me: WARNING: failed to determine number of gettimeofday() arguments" >&2;}
42677 wx_cv_func_gettimeofday_has_2_args=unknown
42682 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42686 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42689 { echo "$as_me:$LINENO: result: $wx_cv_func_gettimeofday_has_2_args" >&5
42690 echo "${ECHO_T}$wx_cv_func_gettimeofday_has_2_args" >&6; }
42692 if test "$wx_cv_func_gettimeofday_has_2_args" != "yes"; then
42693 cat >>confdefs.h <<\_ACEOF
42694 #define WX_GETTIMEOFDAY_NO_TZ 1
42700 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS typetest"
42704 if test "$wxUSE_SOCKETS" = "yes"; then
42705 if test "$wxUSE_MGL" = "1"; then
42706 { echo "$as_me:$LINENO: WARNING: wxSocket not yet supported under MGL... disabled" >&5
42707 echo "$as_me: WARNING: wxSocket not yet supported under MGL... disabled" >&2;}
42712 if test "$wxUSE_SOCKETS" = "yes"; then
42713 if test "$TOOLKIT" != "MSW"; then
42714 { echo "$as_me:$LINENO: checking for socket" >&5
42715 echo $ECHO_N "checking for socket... $ECHO_C" >&6; }
42716 if test "${ac_cv_func_socket+set}" = set; then
42717 echo $ECHO_N "(cached) $ECHO_C" >&6
42719 cat >conftest.$ac_ext <<_ACEOF
42722 cat confdefs.h >>conftest.$ac_ext
42723 cat >>conftest.$ac_ext <<_ACEOF
42724 /* end confdefs.h. */
42725 /* Define socket to an innocuous variant, in case <limits.h> declares socket.
42726 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42727 #define socket innocuous_socket
42729 /* System header to define __stub macros and hopefully few prototypes,
42730 which can conflict with char socket (); below.
42731 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42732 <limits.h> exists even on freestanding compilers. */
42735 # include <limits.h>
42737 # include <assert.h>
42742 /* Override any GCC internal prototype to avoid an error.
42743 Use char because int might match the return type of a GCC
42744 builtin and then its argument prototype would still apply. */
42749 /* The GNU C library defines this for functions which it implements
42750 to always fail with ENOSYS. Some functions are actually named
42751 something starting with __ and the normal name is an alias. */
42752 #if defined __stub_socket || defined __stub___socket
42764 rm -f conftest.$ac_objext conftest$ac_exeext
42765 if { (ac_try="$ac_link"
42766 case "(($ac_try" in
42767 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
42768 *) ac_try_echo
=$ac_try;;
42770 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42771 (eval "$ac_link") 2>conftest.er1
42773 grep -v '^ *+' conftest.er1
>conftest.err
42775 cat conftest.err
>&5
42776 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42777 (exit $ac_status); } && {
42778 test -z "$ac_c_werror_flag" ||
42779 test ! -s conftest.err
42780 } && test -s conftest
$ac_exeext &&
42781 $as_test_x conftest
$ac_exeext; then
42782 ac_cv_func_socket
=yes
42784 echo "$as_me: failed program was:" >&5
42785 sed 's/^/| /' conftest.
$ac_ext >&5
42787 ac_cv_func_socket
=no
42790 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
42791 conftest
$ac_exeext conftest.
$ac_ext
42793 { echo "$as_me:$LINENO: result: $ac_cv_func_socket" >&5
42794 echo "${ECHO_T}$ac_cv_func_socket" >&6; }
42795 if test $ac_cv_func_socket = yes; then
42799 { echo "$as_me:$LINENO: checking for socket in -lsocket" >&5
42800 echo $ECHO_N "checking for socket in -lsocket... $ECHO_C" >&6; }
42801 if test "${ac_cv_lib_socket_socket+set}" = set; then
42802 echo $ECHO_N "(cached) $ECHO_C" >&6
42804 ac_check_lib_save_LIBS
=$LIBS
42805 LIBS
="-lsocket $LIBS"
42806 cat >conftest.
$ac_ext <<_ACEOF
42809 cat confdefs.h
>>conftest.
$ac_ext
42810 cat >>conftest.
$ac_ext <<_ACEOF
42811 /* end confdefs.h. */
42813 /* Override any GCC internal prototype to avoid an error.
42814 Use char because int might match the return type of a GCC
42815 builtin and then its argument prototype would still apply. */
42828 rm -f conftest.
$ac_objext conftest
$ac_exeext
42829 if { (ac_try
="$ac_link"
42830 case "(($ac_try" in
42831 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
42832 *) ac_try_echo=$ac_try;;
42834 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42835 (eval "$ac_link") 2>conftest.er1
42837 grep -v '^ *+' conftest.er1 >conftest.err
42839 cat conftest.err >&5
42840 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42841 (exit $ac_status); } && {
42842 test -z "$ac_c_werror_flag" ||
42843 test ! -s conftest.err
42844 } && test -s conftest$ac_exeext &&
42845 $as_test_x conftest$ac_exeext; then
42846 ac_cv_lib_socket_socket=yes
42848 echo "$as_me: failed program was:" >&5
42849 sed 's/^/| /' conftest.$ac_ext >&5
42851 ac_cv_lib_socket_socket=no
42854 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42855 conftest$ac_exeext conftest.$ac_ext
42856 LIBS=$ac_check_lib_save_LIBS
42858 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_socket" >&5
42859 echo "${ECHO_T}$ac_cv_lib_socket_socket" >&6; }
42860 if test $ac_cv_lib_socket_socket = yes; then
42861 if test "$INET_LINK" != " -lsocket"; then
42862 INET_LINK="$INET_LINK -lsocket"
42866 { echo "$as_me:$LINENO: WARNING: socket library not found - sockets will be disabled" >&5
42867 echo "$as_me: WARNING: socket library not found - sockets will be disabled" >&2;}
42880 if test "$wxUSE_SOCKETS" = "yes" ; then
42881 if test "$TOOLKIT" != "MSW"; then
42882 { echo "$as_me:$LINENO: checking what is the type of the third argument of getsockname" >&5
42883 echo $ECHO_N "checking what is the type of the third argument of getsockname... $ECHO_C" >&6; }
42884 if test "${wx_cv_type_getsockname3+set}" = set; then
42885 echo $ECHO_N "(cached) $ECHO_C" >&6
42889 ac_cpp='$CXXCPP $CPPFLAGS'
42890 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42891 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42892 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42894 cat >conftest.$ac_ext <<_ACEOF
42897 cat confdefs.h >>conftest.$ac_ext
42898 cat >>conftest.$ac_ext <<_ACEOF
42899 /* end confdefs.h. */
42901 #include <sys/types.h>
42902 #include <sys/socket.h>
42909 getsockname(0, 0, &len);
42915 rm -f conftest.$ac_objext
42916 if { (ac_try="$ac_compile"
42917 case "(($ac_try" in
42918 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
42919 *) ac_try_echo
=$ac_try;;
42921 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42922 (eval "$ac_compile") 2>conftest.er1
42924 grep -v '^ *+' conftest.er1
>conftest.err
42926 cat conftest.err
>&5
42927 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42928 (exit $ac_status); } && {
42929 test -z "$ac_cxx_werror_flag" ||
42930 test ! -s conftest.err
42931 } && test -s conftest.
$ac_objext; then
42932 wx_cv_type_getsockname3
=socklen_t
42934 echo "$as_me: failed program was:" >&5
42935 sed 's/^/| /' conftest.
$ac_ext >&5
42938 CFLAGS_OLD
="$CFLAGS"
42939 if test "$GCC" = yes ; then
42940 CFLAGS
="-Werror $CFLAGS"
42943 cat >conftest.
$ac_ext <<_ACEOF
42946 cat confdefs.h
>>conftest.
$ac_ext
42947 cat >>conftest.
$ac_ext <<_ACEOF
42948 /* end confdefs.h. */
42950 #include <sys/types.h>
42951 #include <sys/socket.h>
42958 getsockname(0, 0, &len);
42964 rm -f conftest.
$ac_objext
42965 if { (ac_try
="$ac_compile"
42966 case "(($ac_try" in
42967 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
42968 *) ac_try_echo=$ac_try;;
42970 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42971 (eval "$ac_compile") 2>conftest.er1
42973 grep -v '^ *+' conftest.er1 >conftest.err
42975 cat conftest.err >&5
42976 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42977 (exit $ac_status); } && {
42978 test -z "$ac_cxx_werror_flag" ||
42979 test ! -s conftest.err
42980 } && test -s conftest.$ac_objext; then
42981 wx_cv_type_getsockname3=size_t
42983 echo "$as_me: failed program was:" >&5
42984 sed 's/^/| /' conftest.$ac_ext >&5
42986 cat >conftest.$ac_ext <<_ACEOF
42989 cat confdefs.h >>conftest.$ac_ext
42990 cat >>conftest.$ac_ext <<_ACEOF
42991 /* end confdefs.h. */
42993 #include <sys/types.h>
42994 #include <sys/socket.h>
43001 getsockname(0, 0, &len);
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_cxx_werror_flag" ||
43022 test ! -s conftest.err
43023 } && test -s conftest.
$ac_objext; then
43024 wx_cv_type_getsockname3
=int
43026 echo "$as_me: failed program was:" >&5
43027 sed 's/^/| /' conftest.
$ac_ext >&5
43029 wx_cv_type_getsockname3
=unknown
43033 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
43037 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
43039 CFLAGS
="$CFLAGS_OLD"
43044 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
43046 ac_cpp
='$CPP $CPPFLAGS'
43047 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43048 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43049 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
43053 { echo "$as_me:$LINENO: result: $wx_cv_type_getsockname3" >&5
43054 echo "${ECHO_T}$wx_cv_type_getsockname3" >&6; }
43056 if test "$wx_cv_type_getsockname3" = "unknown"; then
43058 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
43059 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
43061 cat >>confdefs.h
<<_ACEOF
43062 #define WX_SOCKLEN_T $wx_cv_type_getsockname3
43066 { echo "$as_me:$LINENO: checking what is the type of the fifth argument of getsockopt" >&5
43067 echo $ECHO_N "checking what is the type of the fifth argument of getsockopt... $ECHO_C" >&6; }
43068 if test "${wx_cv_type_getsockopt5+set}" = set; then
43069 echo $ECHO_N "(cached) $ECHO_C" >&6
43073 ac_cpp
='$CXXCPP $CPPFLAGS'
43074 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43075 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43076 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
43078 cat >conftest.
$ac_ext <<_ACEOF
43081 cat confdefs.h
>>conftest.
$ac_ext
43082 cat >>conftest.
$ac_ext <<_ACEOF
43083 /* end confdefs.h. */
43085 #include <sys/types.h>
43086 #include <sys/socket.h>
43093 getsockopt(0, 0, 0, 0, &len);
43099 rm -f conftest.
$ac_objext
43100 if { (ac_try
="$ac_compile"
43101 case "(($ac_try" in
43102 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
43103 *) ac_try_echo=$ac_try;;
43105 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43106 (eval "$ac_compile") 2>conftest.er1
43108 grep -v '^ *+' conftest.er1 >conftest.err
43110 cat conftest.err >&5
43111 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43112 (exit $ac_status); } && {
43113 test -z "$ac_cxx_werror_flag" ||
43114 test ! -s conftest.err
43115 } && test -s conftest.$ac_objext; then
43116 wx_cv_type_getsockopt5=socklen_t
43118 echo "$as_me: failed program was:" >&5
43119 sed 's/^/| /' conftest.$ac_ext >&5
43122 cat >conftest.$ac_ext <<_ACEOF
43125 cat confdefs.h >>conftest.$ac_ext
43126 cat >>conftest.$ac_ext <<_ACEOF
43127 /* end confdefs.h. */
43129 #include <sys/types.h>
43130 #include <sys/socket.h>
43137 getsockopt(0, 0, 0, 0, &len);
43143 rm -f conftest.$ac_objext
43144 if { (ac_try="$ac_compile"
43145 case "(($ac_try" in
43146 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
43147 *) ac_try_echo
=$ac_try;;
43149 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43150 (eval "$ac_compile") 2>conftest.er1
43152 grep -v '^ *+' conftest.er1
>conftest.err
43154 cat conftest.err
>&5
43155 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43156 (exit $ac_status); } && {
43157 test -z "$ac_cxx_werror_flag" ||
43158 test ! -s conftest.err
43159 } && test -s conftest.
$ac_objext; then
43160 wx_cv_type_getsockopt5
=size_t
43162 echo "$as_me: failed program was:" >&5
43163 sed 's/^/| /' conftest.
$ac_ext >&5
43165 cat >conftest.
$ac_ext <<_ACEOF
43168 cat confdefs.h
>>conftest.
$ac_ext
43169 cat >>conftest.
$ac_ext <<_ACEOF
43170 /* end confdefs.h. */
43172 #include <sys/types.h>
43173 #include <sys/socket.h>
43180 getsockopt(0, 0, 0, 0, &len);
43186 rm -f conftest.
$ac_objext
43187 if { (ac_try
="$ac_compile"
43188 case "(($ac_try" in
43189 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
43190 *) ac_try_echo=$ac_try;;
43192 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43193 (eval "$ac_compile") 2>conftest.er1
43195 grep -v '^ *+' conftest.er1 >conftest.err
43197 cat conftest.err >&5
43198 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43199 (exit $ac_status); } && {
43200 test -z "$ac_cxx_werror_flag" ||
43201 test ! -s conftest.err
43202 } && test -s conftest.$ac_objext; then
43203 wx_cv_type_getsockopt5=int
43205 echo "$as_me: failed program was:" >&5
43206 sed 's/^/| /' conftest.$ac_ext >&5
43208 wx_cv_type_getsockopt5=unknown
43212 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43216 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43221 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43223 ac_cpp='$CPP $CPPFLAGS'
43224 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43225 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43226 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43230 { echo "$as_me:$LINENO: result: $wx_cv_type_getsockopt5" >&5
43231 echo "${ECHO_T}$wx_cv_type_getsockopt5" >&6; }
43233 if test "$wx_cv_type_getsockopt5" = "unknown"; then
43235 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
43236 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
43238 cat >>confdefs.h <<_ACEOF
43239 #define SOCKOPTLEN_T $wx_cv_type_getsockopt5
43246 if test "$wxUSE_SOCKETS" = "yes" ; then
43247 cat >>confdefs.h <<\_ACEOF
43248 #define wxUSE_SOCKETS 1
43251 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sockets"
43254 if test "$wxUSE_PROTOCOL" = "yes"; then
43255 if test "$wxUSE_SOCKETS" != "yes"; then
43256 { echo "$as_me:$LINENO: WARNING: Protocol classes require sockets... disabled" >&5
43257 echo "$as_me: WARNING: Protocol classes require sockets... disabled" >&2;}
43262 if test "$wxUSE_PROTOCOL" = "yes"; then
43263 cat >>confdefs.h <<\_ACEOF
43264 #define wxUSE_PROTOCOL 1
43268 if test "$wxUSE_PROTOCOL_HTTP" = "yes"; then
43269 cat >>confdefs.h <<\_ACEOF
43270 #define wxUSE_PROTOCOL_HTTP 1
43274 if test "$wxUSE_PROTOCOL_FTP" = "yes"; then
43275 cat >>confdefs.h <<\_ACEOF
43276 #define wxUSE_PROTOCOL_FTP 1
43280 if test "$wxUSE_PROTOCOL_FILE" = "yes"; then
43281 cat >>confdefs.h <<\_ACEOF
43282 #define wxUSE_PROTOCOL_FILE 1
43287 if test "$wxUSE_FS_INET" = "yes"; then
43288 { echo "$as_me:$LINENO: WARNING: HTTP filesystem require protocol classes... disabled" >&5
43289 echo "$as_me: WARNING: HTTP filesystem require protocol classes... disabled" >&2;}
43294 if test "$wxUSE_URL" = "yes"; then
43295 if test "$wxUSE_PROTOCOL" != "yes"; then
43296 { echo "$as_me:$LINENO: WARNING: wxURL class requires wxProtocol... disabled" >&5
43297 echo "$as_me: WARNING: wxURL class requires wxProtocol... disabled" >&2;}
43300 if test "$wxUSE_URL" = "yes"; then
43301 cat >>confdefs.h <<\_ACEOF
43302 #define wxUSE_URL 1
43308 if test "$wxUSE_VARIANT" = "yes"; then
43309 cat >>confdefs.h <<\_ACEOF
43310 #define wxUSE_VARIANT 1
43315 if test "$wxUSE_FS_INET" = "yes"; then
43316 cat >>confdefs.h <<\_ACEOF
43317 #define wxUSE_FS_INET 1
43323 if test "$wxUSE_GUI" = "yes" -a "$wxUSE_JOYSTICK" = "yes"; then
43326 if test "$TOOLKIT" = "MSW"; then
43329 elif test "$TOOLKIT" = "MAC" -o "$TOOLKIT" = "COCOA"; then
43330 if test "$USE_DARWIN" = 1; then
43331 { echo "$as_me:$LINENO: checking headers have declarations needed for joystick support" >&5
43332 echo $ECHO_N "checking headers have declarations needed for joystick support... $ECHO_C" >&6; }
43334 ac_cpp='$CXXCPP $CPPFLAGS'
43335 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43336 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43337 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43339 cat >conftest.$ac_ext <<_ACEOF
43342 cat confdefs.h >>conftest.$ac_ext
43343 cat >>conftest.$ac_ext <<_ACEOF
43344 /* end confdefs.h. */
43345 #include <IOKit/hid/IOHIDLib.h>
43349 IOHIDQueueInterface *qi = NULL;
43350 IOHIDCallbackFunction cb = NULL;
43351 qi->setEventCallout(NULL, cb, NULL, NULL);
43356 rm -f conftest.$ac_objext
43357 if { (ac_try="$ac_compile"
43358 case "(($ac_try" in
43359 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
43360 *) ac_try_echo
=$ac_try;;
43362 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43363 (eval "$ac_compile") 2>conftest.er1
43365 grep -v '^ *+' conftest.er1
>conftest.err
43367 cat conftest.err
>&5
43368 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43369 (exit $ac_status); } && {
43370 test -z "$ac_cxx_werror_flag" ||
43371 test ! -s conftest.err
43372 } && test -s conftest.
$ac_objext; then
43376 echo "$as_me: failed program was:" >&5
43377 sed 's/^/| /' conftest.
$ac_ext >&5
43382 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
43384 ac_cpp
='$CPP $CPPFLAGS'
43385 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43386 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43387 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
43389 { echo "$as_me:$LINENO: result: $wxUSE_JOYSTICK" >&5
43390 echo "${ECHO_T}$wxUSE_JOYSTICK" >&6; }
43394 if test "$wxUSE_MGL" != "1"; then
43395 { echo "$as_me:$LINENO: checking for linux/joystick.h" >&5
43396 echo $ECHO_N "checking for linux/joystick.h... $ECHO_C" >&6; }
43397 if test "${ac_cv_header_linux_joystick_h+set}" = set; then
43398 echo $ECHO_N "(cached) $ECHO_C" >&6
43400 cat >conftest.
$ac_ext <<_ACEOF
43403 cat confdefs.h
>>conftest.
$ac_ext
43404 cat >>conftest.
$ac_ext <<_ACEOF
43405 /* end confdefs.h. */
43406 $ac_includes_default
43408 #include <linux/joystick.h>
43410 rm -f conftest.
$ac_objext
43411 if { (ac_try
="$ac_compile"
43412 case "(($ac_try" in
43413 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
43414 *) ac_try_echo=$ac_try;;
43416 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43417 (eval "$ac_compile") 2>conftest.er1
43419 grep -v '^ *+' conftest.er1 >conftest.err
43421 cat conftest.err >&5
43422 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43423 (exit $ac_status); } && {
43424 test -z "$ac_c_werror_flag" ||
43425 test ! -s conftest.err
43426 } && test -s conftest.$ac_objext; then
43427 ac_cv_header_linux_joystick_h=yes
43429 echo "$as_me: failed program was:" >&5
43430 sed 's/^/| /' conftest.$ac_ext >&5
43432 ac_cv_header_linux_joystick_h=no
43435 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43437 { echo "$as_me:$LINENO: result: $ac_cv_header_linux_joystick_h" >&5
43438 echo "${ECHO_T}$ac_cv_header_linux_joystick_h" >&6; }
43439 if test $ac_cv_header_linux_joystick_h = yes; then
43447 if test "$wxUSE_JOYSTICK" = "yes"; then
43448 cat >>confdefs.h <<\_ACEOF
43449 #define wxUSE_JOYSTICK 1
43452 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS joytest"
43454 { echo "$as_me:$LINENO: WARNING: Joystick not supported by this system... disabled" >&5
43455 echo "$as_me: WARNING: Joystick not supported by this system... disabled" >&2;}
43461 if test "$wxUSE_FONTMAP" = "yes" ; then
43462 cat >>confdefs.h <<\_ACEOF
43463 #define wxUSE_FONTMAP 1
43468 if test "$wxUSE_UNICODE" = "yes" ; then
43469 cat >>confdefs.h <<\_ACEOF
43470 #define wxUSE_UNICODE 1
43474 if test "$USE_WIN32" != 1; then
43475 wxUSE_UNICODE_MSLU=no
43478 if test "$USE_WIN32" = 1 -a "$wxUSE_UNICODE_MSLU" = "yes"; then
43479 { echo "$as_me:$LINENO: checking for main in -lunicows" >&5
43480 echo $ECHO_N "checking for main in -lunicows... $ECHO_C" >&6; }
43481 if test "${ac_cv_lib_unicows_main+set}" = set; then
43482 echo $ECHO_N "(cached) $ECHO_C" >&6
43484 ac_check_lib_save_LIBS=$LIBS
43485 LIBS="-lunicows $LIBS"
43486 cat >conftest.$ac_ext <<_ACEOF
43489 cat confdefs.h >>conftest.$ac_ext
43490 cat >>conftest.$ac_ext <<_ACEOF
43491 /* end confdefs.h. */
43502 rm -f conftest.$ac_objext conftest$ac_exeext
43503 if { (ac_try="$ac_link"
43504 case "(($ac_try" in
43505 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
43506 *) ac_try_echo
=$ac_try;;
43508 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43509 (eval "$ac_link") 2>conftest.er1
43511 grep -v '^ *+' conftest.er1
>conftest.err
43513 cat conftest.err
>&5
43514 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43515 (exit $ac_status); } && {
43516 test -z "$ac_c_werror_flag" ||
43517 test ! -s conftest.err
43518 } && test -s conftest
$ac_exeext &&
43519 $as_test_x conftest
$ac_exeext; then
43520 ac_cv_lib_unicows_main
=yes
43522 echo "$as_me: failed program was:" >&5
43523 sed 's/^/| /' conftest.
$ac_ext >&5
43525 ac_cv_lib_unicows_main
=no
43528 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
43529 conftest
$ac_exeext conftest.
$ac_ext
43530 LIBS
=$ac_check_lib_save_LIBS
43532 { echo "$as_me:$LINENO: result: $ac_cv_lib_unicows_main" >&5
43533 echo "${ECHO_T}$ac_cv_lib_unicows_main" >&6; }
43534 if test $ac_cv_lib_unicows_main = yes; then
43536 cat >>confdefs.h
<<\_ACEOF
43537 #define wxUSE_UNICODE_MSLU 1
43543 { echo "$as_me:$LINENO: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
43544 Applications will only run on Windows NT/2000/XP!" >&5
43545 echo "$as_me: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
43546 Applications will only run on Windows NT/2000/XP!" >&2;}
43547 wxUSE_UNICODE_MSLU
=no
43554 if test "$wxUSE_wxUSE_EXPERIMENTAL_PRINTF" = "yes"; then
43555 cat >>confdefs.h
<<\_ACEOF
43556 #define wxUSE_EXPERIMENTAL_PRINTF 1
43562 if test "$wxUSE_POSTSCRIPT" = "yes" ; then
43563 cat >>confdefs.h
<<\_ACEOF
43564 #define wxUSE_POSTSCRIPT 1
43569 cat >>confdefs.h
<<\_ACEOF
43570 #define wxUSE_AFM_FOR_POSTSCRIPT 1
43574 cat >>confdefs.h
<<\_ACEOF
43575 #define wxUSE_NORMALIZED_PS_FONTS 1
43580 if test "$wxUSE_CONSTRAINTS" = "yes"; then
43581 cat >>confdefs.h
<<\_ACEOF
43582 #define wxUSE_CONSTRAINTS 1
43585 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS layout"
43588 if test "$wxUSE_MDI" = "yes"; then
43589 cat >>confdefs.h
<<\_ACEOF
43590 #define wxUSE_MDI 1
43594 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
43595 cat >>confdefs.h
<<\_ACEOF
43596 #define wxUSE_MDI_ARCHITECTURE 1
43599 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS mdi"
43603 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = "yes" ; then
43604 cat >>confdefs.h
<<\_ACEOF
43605 #define wxUSE_DOC_VIEW_ARCHITECTURE 1
43608 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS docview"
43609 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
43610 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS docvwmdi"
43614 if test "$wxUSE_HELP" = "yes"; then
43615 cat >>confdefs.h
<<\_ACEOF
43616 #define wxUSE_HELP 1
43619 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS help"
43621 if test "$wxUSE_MSW" = 1; then
43622 if test "$wxUSE_MS_HTML_HELP" = "yes"; then
43623 cat >>confdefs.h
<<\_ACEOF
43624 #define wxUSE_MS_HTML_HELP 1
43630 if test "$wxUSE_WXHTML_HELP" = "yes"; then
43631 if test "$wxUSE_HTML" = "yes"; then
43632 cat >>confdefs.h
<<\_ACEOF
43633 #define wxUSE_WXHTML_HELP 1
43637 { echo "$as_me:$LINENO: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&5
43638 echo "$as_me: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&2;}
43639 wxUSE_WXHTML_HELP
=no
43644 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
43645 if test "$wxUSE_CONSTRAINTS" != "yes"; then
43646 { echo "$as_me:$LINENO: WARNING: Printing support cannot be used without constraints so it won't be compiled without it" >&5
43647 echo "$as_me: WARNING: Printing support cannot be used without constraints so it won't be compiled without it" >&2;}
43649 cat >>confdefs.h
<<\_ACEOF
43650 #define wxUSE_PRINTING_ARCHITECTURE 1
43654 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS printing"
43659 if test "$wxUSE_METAFILE" = "yes"; then
43660 if test "$wxUSE_MSW" != 1 -a "$wxUSE_MAC" != 1 -a "$wxUSE_PM" != 1; then
43661 { echo "$as_me:$LINENO: WARNING: wxMetafile is not available on this system... disabled" >&5
43662 echo "$as_me: WARNING: wxMetafile is not available on this system... disabled" >&2;}
43668 if test "$USE_WIN32" = 1 -a \
( "$wxUSE_DATAOBJ" = "yes" \
43669 -o "$wxUSE_CLIPBOARD" = "yes" \
43670 -o "$wxUSE_OLE" = "yes" \
43671 -o "$wxUSE_DRAG_AND_DROP" = "yes" \
) ; then
43672 { echo "$as_me:$LINENO: checking for ole2.h" >&5
43673 echo $ECHO_N "checking for ole2.h... $ECHO_C" >&6; }
43674 if test "${ac_cv_header_ole2_h+set}" = set; then
43675 echo $ECHO_N "(cached) $ECHO_C" >&6
43677 cat >conftest.
$ac_ext <<_ACEOF
43680 cat confdefs.h
>>conftest.
$ac_ext
43681 cat >>conftest.
$ac_ext <<_ACEOF
43682 /* end confdefs.h. */
43687 rm -f conftest.
$ac_objext
43688 if { (ac_try
="$ac_compile"
43689 case "(($ac_try" in
43690 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
43691 *) ac_try_echo=$ac_try;;
43693 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43694 (eval "$ac_compile") 2>conftest.er1
43696 grep -v '^ *+' conftest.er1 >conftest.err
43698 cat conftest.err >&5
43699 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43700 (exit $ac_status); } && {
43701 test -z "$ac_c_werror_flag" ||
43702 test ! -s conftest.err
43703 } && test -s conftest.$ac_objext; then
43704 ac_cv_header_ole2_h=yes
43706 echo "$as_me: failed program was:" >&5
43707 sed 's/^/| /' conftest.$ac_ext >&5
43709 ac_cv_header_ole2_h=no
43712 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43714 { echo "$as_me:$LINENO: result: $ac_cv_header_ole2_h" >&5
43715 echo "${ECHO_T}$ac_cv_header_ole2_h" >&6; }
43719 if test "$ac_cv_header_ole2_h" = "yes" ; then
43720 if test "$GCC" = yes ; then
43721 { echo "$as_me:$LINENO: checking if g++ requires -fvtable-thunks" >&5
43722 echo $ECHO_N "checking if g++ requires -fvtable-thunks... $ECHO_C" >&6; }
43723 cat >conftest.$ac_ext <<_ACEOF
43726 cat confdefs.h >>conftest.$ac_ext
43727 cat >>conftest.$ac_ext <<_ACEOF
43728 /* end confdefs.h. */
43729 #include <windows.h>
43739 rm -f conftest.$ac_objext
43740 if { (ac_try="$ac_compile"
43741 case "(($ac_try" in
43742 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
43743 *) ac_try_echo
=$ac_try;;
43745 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43746 (eval "$ac_compile") 2>conftest.er1
43748 grep -v '^ *+' conftest.er1
>conftest.err
43750 cat conftest.err
>&5
43751 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43752 (exit $ac_status); } && {
43753 test -z "$ac_c_werror_flag" ||
43754 test ! -s conftest.err
43755 } && test -s conftest.
$ac_objext; then
43756 { echo "$as_me:$LINENO: result: no" >&5
43757 echo "${ECHO_T}no" >&6; }
43759 echo "$as_me: failed program was:" >&5
43760 sed 's/^/| /' conftest.
$ac_ext >&5
43762 { echo "$as_me:$LINENO: result: yes" >&5
43763 echo "${ECHO_T}yes" >&6; }
43764 WXCONFIG_CXXFLAGS
="$WXCONFIG_CXXFLAGS -fvtable-thunks"
43767 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
43768 LIBS
=" -lrpcrt4 -loleaut32 -lole32 -luuid$LIBS"
43769 if test "$wxUSE_OLE" = "yes" ; then
43770 cat >>confdefs.h
<<\_ACEOF
43771 #define wxUSE_OLE 1
43774 cat >>confdefs.h
<<\_ACEOF
43775 #define wxUSE_OLE_AUTOMATION 1
43778 cat >>confdefs.h
<<\_ACEOF
43779 #define wxUSE_ACTIVEX 1
43782 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS oleauto"
43786 if test "$wxUSE_DATAOBJ" = "yes" ; then
43787 cat >>confdefs.h
<<\_ACEOF
43788 #define wxUSE_DATAOBJ 1
43793 { echo "$as_me:$LINENO: WARNING: Some features disabled because OLE headers not found" >&5
43794 echo "$as_me: WARNING: Some features disabled because OLE headers not found" >&2;}
43797 wxUSE_DRAG_AND_DROP
=no
43802 if test "$wxUSE_METAFILE" = "yes"; then
43803 cat >>confdefs.h
<<\_ACEOF
43804 #define wxUSE_METAFILE 1
43808 cat >>confdefs.h
<<\_ACEOF
43809 #define wxUSE_ENH_METAFILE 1
43815 if test "$wxUSE_IPC" = "yes"; then
43816 if test "$wxUSE_SOCKETS" != "yes" -a "$USE_WIN32" != 1; then
43817 { echo "$as_me:$LINENO: WARNING: wxWidgets IPC classes require sockets... disabled" >&5
43818 echo "$as_me: WARNING: wxWidgets IPC classes require sockets... disabled" >&2;}
43822 if test "$wxUSE_IPC" = "yes"; then
43823 cat >>confdefs.h
<<\_ACEOF
43824 #define wxUSE_IPC 1
43827 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS ipc"
43831 if test "$wxUSE_DATAOBJ" = "yes"; then
43832 if test "$wxUSE_MGL" = 1 -o "$wxUSE_DFB" = 1; then
43833 { echo "$as_me:$LINENO: WARNING: wxDataObject not yet supported under $TOOLKIT... disabled" >&5
43834 echo "$as_me: WARNING: wxDataObject not yet supported under $TOOLKIT... disabled" >&2;}
43837 cat >>confdefs.h
<<\_ACEOF
43838 #define wxUSE_DATAOBJ 1
43843 { echo "$as_me:$LINENO: WARNING: Clipboard and drag-and-drop require wxDataObject -- disabled" >&5
43844 echo "$as_me: WARNING: Clipboard and drag-and-drop require wxDataObject -- disabled" >&2;}
43846 wxUSE_DRAG_AND_DROP
=no
43849 if test "$wxUSE_CLIPBOARD" = "yes"; then
43850 if test "$wxUSE_MGL" = 1 -o "$wxUSE_DFB" = 1; then
43851 { echo "$as_me:$LINENO: WARNING: Clipboard not yet supported under $TOOLKIT... disabled" >&5
43852 echo "$as_me: WARNING: Clipboard not yet supported under $TOOLKIT... disabled" >&2;}
43856 if test "$wxUSE_CLIPBOARD" = "yes"; then
43857 cat >>confdefs.h
<<\_ACEOF
43858 #define wxUSE_CLIPBOARD 1
43864 if test "$wxUSE_DRAG_AND_DROP" = "yes" ; then
43865 if test "$wxUSE_GTK" = 1; then
43866 if test "$WXGTK12" != 1; then
43867 { echo "$as_me:$LINENO: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&5
43868 echo "$as_me: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&2;}
43869 wxUSE_DRAG_AND_DROP
=no
43873 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_X11" = 1 -o "$wxUSE_MGL" = 1 -o \
43874 "$wxUSE_DFB" = 1; then
43875 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under $TOOLKIT... disabled" >&5
43876 echo "$as_me: WARNING: Drag and drop not yet supported under $TOOLKIT... disabled" >&2;}
43877 wxUSE_DRAG_AND_DROP
=no
43880 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
43881 cat >>confdefs.h
<<\_ACEOF
43882 #define wxUSE_DRAG_AND_DROP 1
43889 if test "$wxUSE_DRAG_AND_DROP" = "yes" -o "$wxUSE_CLIPBOARD" = "yes"; then
43890 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dnd"
43893 if test "$wxUSE_SPLINES" = "yes" ; then
43894 cat >>confdefs.h
<<\_ACEOF
43895 #define wxUSE_SPLINES 1
43900 if test "$wxUSE_MOUSEWHEEL" = "yes" ; then
43901 cat >>confdefs.h
<<\_ACEOF
43902 #define wxUSE_MOUSEWHEEL 1
43909 if test "$wxUSE_CONTROLS" = "yes"; then
43913 if test "$wxUSE_ACCEL" = "yes"; then
43914 cat >>confdefs.h
<<\_ACEOF
43915 #define wxUSE_ACCEL 1
43921 if test "$wxUSE_ANIMATIONCTRL" = "yes"; then
43922 cat >>confdefs.h
<<\_ACEOF
43923 #define wxUSE_ANIMATIONCTRL 1
43927 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS animate"
43930 if test "$wxUSE_BUTTON" = "yes"; then
43931 cat >>confdefs.h
<<\_ACEOF
43932 #define wxUSE_BUTTON 1
43938 if test "$wxUSE_BMPBUTTON" = "yes"; then
43939 cat >>confdefs.h
<<\_ACEOF
43940 #define wxUSE_BMPBUTTON 1
43946 if test "$wxUSE_CALCTRL" = "yes"; then
43947 cat >>confdefs.h
<<\_ACEOF
43948 #define wxUSE_CALENDARCTRL 1
43952 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS calendar"
43955 if test "$wxUSE_CARET" = "yes"; then
43956 cat >>confdefs.h
<<\_ACEOF
43957 #define wxUSE_CARET 1
43961 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS caret"
43964 if test "$wxUSE_COLLPANE" = "yes"; then
43965 cat >>confdefs.h
<<\_ACEOF
43966 #define wxUSE_COLLPANE 1
43970 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS collpane"
43973 if test "$wxUSE_COMBOBOX" = "yes"; then
43974 cat >>confdefs.h
<<\_ACEOF
43975 #define wxUSE_COMBOBOX 1
43981 if test "$wxUSE_COMBOCTRL" = "yes"; then
43982 cat >>confdefs.h
<<\_ACEOF
43983 #define wxUSE_COMBOCTRL 1
43989 if test "$wxUSE_CHOICE" = "yes"; then
43990 cat >>confdefs.h
<<\_ACEOF
43991 #define wxUSE_CHOICE 1
43997 if test "$wxUSE_CHOICEBOOK" = "yes"; then
43998 cat >>confdefs.h
<<\_ACEOF
43999 #define wxUSE_CHOICEBOOK 1
44005 if test "$wxUSE_CHECKBOX" = "yes"; then
44006 cat >>confdefs.h
<<\_ACEOF
44007 #define wxUSE_CHECKBOX 1
44013 if test "$wxUSE_CHECKLST" = "yes"; then
44014 cat >>confdefs.h
<<\_ACEOF
44015 #define wxUSE_CHECKLISTBOX 1
44019 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS checklst"
44022 if test "$wxUSE_COLOURPICKERCTRL" = "yes"; then
44023 cat >>confdefs.h
<<\_ACEOF
44024 #define wxUSE_COLOURPICKERCTRL 1
44030 if test "$wxUSE_DATEPICKCTRL" = "yes"; then
44031 cat >>confdefs.h
<<\_ACEOF
44032 #define wxUSE_DATEPICKCTRL 1
44038 if test "$wxUSE_DIRPICKERCTRL" = "yes"; then
44039 cat >>confdefs.h
<<\_ACEOF
44040 #define wxUSE_DIRPICKERCTRL 1
44046 if test "$wxUSE_FILEPICKERCTRL" = "yes"; then
44047 cat >>confdefs.h
<<\_ACEOF
44048 #define wxUSE_FILEPICKERCTRL 1
44054 if test "$wxUSE_FONTPICKERCTRL" = "yes"; then
44055 cat >>confdefs.h
<<\_ACEOF
44056 #define wxUSE_FONTPICKERCTRL 1
44062 if test "$wxUSE_DISPLAY" = "yes"; then
44063 if test "$wxUSE_DFB" = 1 -o "$wxUSE_MGL" = 1; then
44064 { echo "$as_me:$LINENO: WARNING: wxDisplay not yet supported under $TOOLKIT... disabled" >&5
44065 echo "$as_me: WARNING: wxDisplay not yet supported under $TOOLKIT... disabled" >&2;}
44068 cat >>confdefs.h
<<\_ACEOF
44069 #define wxUSE_DISPLAY 1
44072 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS display multimon"
44076 if test "$wxUSE_DETECT_SM" = "yes"; then
44077 cat >>confdefs.h
<<\_ACEOF
44078 #define wxUSE_DETECT_SM 1
44083 if test "$wxUSE_GAUGE" = "yes"; then
44084 cat >>confdefs.h
<<\_ACEOF
44085 #define wxUSE_GAUGE 1
44091 if test "$wxUSE_GRID" = "yes"; then
44092 cat >>confdefs.h
<<\_ACEOF
44093 #define wxUSE_GRID 1
44097 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS grid"
44100 if test "$wxUSE_HYPERLINKCTRL" = "yes"; then
44101 cat >>confdefs.h
<<\_ACEOF
44102 #define wxUSE_HYPERLINKCTRL 1
44108 if test "$wxUSE_BITMAPCOMBOBOX" = "yes"; then
44109 cat >>confdefs.h
<<\_ACEOF
44110 #define wxUSE_BITMAPCOMBOBOX 1
44116 if test "$wxUSE_DATAVIEWCTRL" = "yes"; then
44117 cat >>confdefs.h
<<\_ACEOF
44118 #define wxUSE_DATAVIEWCTRL 1
44122 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dataview"
44125 if test "$wxUSE_IMAGLIST" = "yes"; then
44126 cat >>confdefs.h
<<\_ACEOF
44127 #define wxUSE_IMAGLIST 1
44132 if test "$wxUSE_LISTBOOK" = "yes"; then
44133 cat >>confdefs.h
<<\_ACEOF
44134 #define wxUSE_LISTBOOK 1
44140 if test "$wxUSE_LISTBOX" = "yes"; then
44141 cat >>confdefs.h
<<\_ACEOF
44142 #define wxUSE_LISTBOX 1
44146 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS listbox"
44149 if test "$wxUSE_LISTCTRL" = "yes"; then
44150 if test "$wxUSE_IMAGLIST" = "yes"; then
44151 cat >>confdefs.h
<<\_ACEOF
44152 #define wxUSE_LISTCTRL 1
44156 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS listctrl"
44158 { echo "$as_me:$LINENO: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&5
44159 echo "$as_me: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&2;}
44163 if test "$wxUSE_NOTEBOOK" = "yes"; then
44164 cat >>confdefs.h
<<\_ACEOF
44165 #define wxUSE_NOTEBOOK 1
44169 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS notebook"
44172 if test "$wxUSE_ODCOMBOBOX" = "yes"; then
44173 cat >>confdefs.h
<<\_ACEOF
44174 #define wxUSE_ODCOMBOBOX 1
44178 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS combo"
44182 if test "$wxUSE_RADIOBOX" = "yes"; then
44183 cat >>confdefs.h
<<\_ACEOF
44184 #define wxUSE_RADIOBOX 1
44190 if test "$wxUSE_RADIOBTN" = "yes"; then
44191 cat >>confdefs.h
<<\_ACEOF
44192 #define wxUSE_RADIOBTN 1
44198 if test "$wxUSE_SASH" = "yes"; then
44199 cat >>confdefs.h
<<\_ACEOF
44200 #define wxUSE_SASH 1
44203 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS sashtest"
44206 if test "$wxUSE_SCROLLBAR" = "yes"; then
44207 cat >>confdefs.h
<<\_ACEOF
44208 #define wxUSE_SCROLLBAR 1
44212 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS scroll scrollsub"
44215 if test "$wxUSE_SEARCHCTRL" = "yes"; then
44216 cat >>confdefs.h
<<\_ACEOF
44217 #define wxUSE_SEARCHCTRL 1
44223 if test "$wxUSE_SLIDER" = "yes"; then
44224 cat >>confdefs.h
<<\_ACEOF
44225 #define wxUSE_SLIDER 1
44231 if test "$wxUSE_SPINBTN" = "yes"; then
44232 cat >>confdefs.h
<<\_ACEOF
44233 #define wxUSE_SPINBTN 1
44239 if test "$wxUSE_SPINCTRL" = "yes"; then
44240 cat >>confdefs.h
<<\_ACEOF
44241 #define wxUSE_SPINCTRL 1
44247 if test "$wxUSE_SPLITTER" = "yes"; then
44248 cat >>confdefs.h
<<\_ACEOF
44249 #define wxUSE_SPLITTER 1
44252 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS splitter"
44255 if test "$wxUSE_STATBMP" = "yes"; then
44256 cat >>confdefs.h
<<\_ACEOF
44257 #define wxUSE_STATBMP 1
44263 if test "$wxUSE_STATBOX" = "yes"; then
44264 cat >>confdefs.h
<<\_ACEOF
44265 #define wxUSE_STATBOX 1
44271 if test "$wxUSE_STATTEXT" = "yes"; then
44272 cat >>confdefs.h
<<\_ACEOF
44273 #define wxUSE_STATTEXT 1
44279 if test "$wxUSE_STATLINE" = "yes"; then
44280 cat >>confdefs.h
<<\_ACEOF
44281 #define wxUSE_STATLINE 1
44287 if test "$wxUSE_STATUSBAR" = "yes"; then
44288 cat >>confdefs.h
<<\_ACEOF
44289 #define wxUSE_NATIVE_STATUSBAR 1
44292 cat >>confdefs.h
<<\_ACEOF
44293 #define wxUSE_STATUSBAR 1
44298 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS statbar"
44301 if test "$wxUSE_TAB_DIALOG" = "yes"; then
44302 cat >>confdefs.h
<<\_ACEOF
44303 #define wxUSE_TAB_DIALOG 1
44308 if test "$wxUSE_TEXTCTRL" = "yes"; then
44309 cat >>confdefs.h
<<\_ACEOF
44310 #define wxUSE_TEXTCTRL 1
44314 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS text"
44317 if test "$wxUSE_TOGGLEBTN" = "yes"; then
44318 if test "$wxUSE_COCOA" = 1 ; then
44319 { echo "$as_me:$LINENO: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&5
44320 echo "$as_me: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&2;}
44324 if test "$wxUSE_TOGGLEBTN" = "yes"; then
44325 cat >>confdefs.h
<<\_ACEOF
44326 #define wxUSE_TOGGLEBTN 1
44333 if test "$wxUSE_TOOLBAR" = "yes"; then
44334 cat >>confdefs.h
<<\_ACEOF
44335 #define wxUSE_TOOLBAR 1
44340 if test "$wxUSE_UNIVERSAL" = "yes"; then
44341 wxUSE_TOOLBAR_NATIVE
="no"
44343 wxUSE_TOOLBAR_NATIVE
="yes"
44344 cat >>confdefs.h
<<\_ACEOF
44345 #define wxUSE_TOOLBAR_NATIVE 1
44350 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS toolbar"
44353 if test "$wxUSE_TOOLTIPS" = "yes"; then
44354 if test "$wxUSE_MOTIF" = 1; then
44355 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet under Motif... disabled" >&5
44356 echo "$as_me: WARNING: wxTooltip not supported yet under Motif... disabled" >&2;}
44358 if test "$wxUSE_UNIVERSAL" = "yes"; then
44359 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&5
44360 echo "$as_me: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&2;}
44362 cat >>confdefs.h
<<\_ACEOF
44363 #define wxUSE_TOOLTIPS 1
44370 if test "$wxUSE_TREEBOOK" = "yes"; then
44371 cat >>confdefs.h
<<\_ACEOF
44372 #define wxUSE_TREEBOOK 1
44378 if test "$wxUSE_TOOLBOOK" = "yes"; then
44379 cat >>confdefs.h
<<\_ACEOF
44380 #define wxUSE_TOOLBOOK 1
44386 if test "$wxUSE_TREECTRL" = "yes"; then
44387 if test "$wxUSE_IMAGLIST" = "yes"; then
44388 cat >>confdefs.h
<<\_ACEOF
44389 #define wxUSE_TREECTRL 1
44393 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS treectrl"
44395 { echo "$as_me:$LINENO: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&5
44396 echo "$as_me: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&2;}
44400 if test "$wxUSE_POPUPWIN" = "yes"; then
44401 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 ; then
44402 { echo "$as_me:$LINENO: WARNING: Popup window not yet supported under Mac OS X... disabled" >&5
44403 echo "$as_me: WARNING: Popup window not yet supported under Mac OS X... disabled" >&2;}
44405 if test "$wxUSE_PM" = 1; then
44406 { echo "$as_me:$LINENO: WARNING: wxPopupWindow not yet supported under PM... disabled" >&5
44407 echo "$as_me: WARNING: wxPopupWindow not yet supported under PM... disabled" >&2;}
44409 cat >>confdefs.h
<<\_ACEOF
44410 #define wxUSE_POPUPWIN 1
44413 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS popup"
44420 if test "$wxUSE_DIALUP_MANAGER" = "yes"; then
44421 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 -o "$wxUSE_MGL" = 1; then
44422 { echo "$as_me:$LINENO: WARNING: Dialup manager not supported on this platform... disabled" >&5
44423 echo "$as_me: WARNING: Dialup manager not supported on this platform... disabled" >&2;}
44425 cat >>confdefs.h
<<\_ACEOF
44426 #define wxUSE_DIALUP_MANAGER 1
44429 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dialup"
44433 if test "$wxUSE_TIPWINDOW" = "yes"; then
44434 if test "$wxUSE_PM" = 1; then
44435 { echo "$as_me:$LINENO: WARNING: wxTipWindow not yet supported under PM... disabled" >&5
44436 echo "$as_me: WARNING: wxTipWindow not yet supported under PM... disabled" >&2;}
44438 cat >>confdefs.h
<<\_ACEOF
44439 #define wxUSE_TIPWINDOW 1
44445 if test "$USES_CONTROLS" = 1; then
44446 cat >>confdefs.h
<<\_ACEOF
44447 #define wxUSE_CONTROLS 1
44453 if test "$wxUSE_ACCESSIBILITY" = "yes"; then
44454 cat >>confdefs.h
<<\_ACEOF
44455 #define wxUSE_ACCESSIBILITY 1
44458 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS access"
44461 if test "$wxUSE_DC_CACHEING" = "yes"; then
44462 cat >>confdefs.h
<<\_ACEOF
44463 #define wxUSE_DC_CACHEING 1
44468 if test "$wxUSE_DRAGIMAGE" = "yes"; then
44469 cat >>confdefs.h
<<\_ACEOF
44470 #define wxUSE_DRAGIMAGE 1
44473 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dragimag"
44476 if test "$wxUSE_EXCEPTIONS" = "yes"; then
44477 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
44478 { echo "$as_me:$LINENO: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&5
44479 echo "$as_me: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&2;}
44481 cat >>confdefs.h
<<\_ACEOF
44482 #define wxUSE_EXCEPTIONS 1
44485 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS except"
44490 if test "$wxUSE_HTML" = "yes"; then
44491 cat >>confdefs.h
<<\_ACEOF
44492 #define wxUSE_HTML 1
44496 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS html html/about html/help html/helpview html/printing html/test html/virtual html/widget html/zip htlbox"
44497 if test "$wxUSE_MAC" = 1; then
44498 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS html/htmlctrl"
44501 if test "$wxUSE_WEBKIT" = "yes"; then
44502 if test "$wxUSE_MAC" = 1 -a "$USE_DARWIN" = 1; then
44503 old_CPPFLAGS
="$CPPFLAGS"
44504 CPPFLAGS
="-x objective-c++ $CPPFLAGS"
44505 { echo "$as_me:$LINENO: checking for WebKit/HIWebView.h" >&5
44506 echo $ECHO_N "checking for WebKit/HIWebView.h... $ECHO_C" >&6; }
44507 if test "${ac_cv_header_WebKit_HIWebView_h+set}" = set; then
44508 echo $ECHO_N "(cached) $ECHO_C" >&6
44510 cat >conftest.
$ac_ext <<_ACEOF
44513 cat confdefs.h
>>conftest.
$ac_ext
44514 cat >>conftest.
$ac_ext <<_ACEOF
44515 /* end confdefs.h. */
44517 #include <Carbon/Carbon.h>
44518 #include <WebKit/WebKit.h>
44521 #include <WebKit/HIWebView.h>
44523 rm -f conftest.
$ac_objext
44524 if { (ac_try
="$ac_compile"
44525 case "(($ac_try" in
44526 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
44527 *) ac_try_echo=$ac_try;;
44529 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44530 (eval "$ac_compile") 2>conftest.er1
44532 grep -v '^ *+' conftest.er1 >conftest.err
44534 cat conftest.err >&5
44535 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44536 (exit $ac_status); } && {
44537 test -z "$ac_c_werror_flag" ||
44538 test ! -s conftest.err
44539 } && test -s conftest.$ac_objext; then
44540 ac_cv_header_WebKit_HIWebView_h=yes
44542 echo "$as_me: failed program was:" >&5
44543 sed 's/^/| /' conftest.$ac_ext >&5
44545 ac_cv_header_WebKit_HIWebView_h=no
44548 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44550 { echo "$as_me:$LINENO: result: $ac_cv_header_WebKit_HIWebView_h" >&5
44551 echo "${ECHO_T}$ac_cv_header_WebKit_HIWebView_h" >&6; }
44552 if test $ac_cv_header_WebKit_HIWebView_h = yes; then
44554 cat >>confdefs.h <<\_ACEOF
44555 #define wxUSE_WEBKIT 1
44558 WEBKIT_LINK="-framework WebKit"
44562 { echo "$as_me:$LINENO: WARNING: WebKit headers not found; disabling wxWebKit" >&5
44563 echo "$as_me: WARNING: WebKit headers not found; disabling wxWebKit" >&2;}
44569 CPPFLAGS="$old_CPPFLAGS"
44570 elif test "$wxUSE_COCOA" = 1; then
44571 cat >>confdefs.h <<\_ACEOF
44572 #define wxUSE_WEBKIT 1
44581 if test "$wxUSE_XRC" = "yes"; then
44582 if test "$wxUSE_XML" != "yes"; then
44583 { echo "$as_me:$LINENO: WARNING: XML library not built, XRC resources disabled" >&5
44584 echo "$as_me: WARNING: XML library not built, XRC resources disabled" >&2;}
44587 cat >>confdefs.h <<\_ACEOF
44588 #define wxUSE_XRC 1
44592 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS xrc"
44597 if test "$wxUSE_AUI" = "yes"; then
44598 cat >>confdefs.h <<\_ACEOF
44599 #define wxUSE_AUI 1
44603 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS aui"
44607 if test "$wxUSE_STC" = "yes"; then
44608 cat >>confdefs.h <<\_ACEOF
44609 #define wxUSE_STC 1
44613 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS stc"
44616 if test "$wxUSE_MENUS" = "yes"; then
44617 cat >>confdefs.h <<\_ACEOF
44618 #define wxUSE_MENUS 1
44621 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS menu"
44624 if test "$wxUSE_METAFILE" = "yes"; then
44625 cat >>confdefs.h <<\_ACEOF
44626 #define wxUSE_METAFILE 1
44631 if test "$wxUSE_MIMETYPE" = "yes"; then
44632 cat >>confdefs.h <<\_ACEOF
44633 #define wxUSE_MIMETYPE 1
44638 if test "$wxUSE_MINIFRAME" = "yes"; then
44639 cat >>confdefs.h <<\_ACEOF
44640 #define wxUSE_MINIFRAME 1
44643 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS minifram"
44646 if test "$wxUSE_SYSTEM_OPTIONS" = "yes"; then
44647 cat >>confdefs.h <<\_ACEOF
44648 #define wxUSE_SYSTEM_OPTIONS 1
44651 if test "$TOOLKIT" = "MSW" -o "$TOOLKIT" = "GTK" -o "$TOOLKIT" = "X11" -o \
44652 "$TOOLKIT" = "MOTIF" -o "$TOOLKIT" = "COCOA"; then
44653 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS taskbar"
44658 if test "$wxUSE_VALIDATORS" = "yes"; then
44659 cat >>confdefs.h <<\_ACEOF
44660 #define wxUSE_VALIDATORS 1
44663 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS validate"
44666 if test "$wxUSE_PALETTE" = "yes" ; then
44667 if test "$wxUSE_DFB" = 1; then
44668 { echo "$as_me:$LINENO: WARNING: wxPalette not yet supported under DFB... disabled" >&5
44669 echo "$as_me: WARNING: wxPalette not yet supported under DFB... disabled" >&2;}
44672 cat >>confdefs.h <<\_ACEOF
44673 #define wxUSE_PALETTE 1
44679 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_MSLU" = "yes" ; then
44680 LIBS=" -lunicows $LIBS"
44684 if test "$wxUSE_RICHTEXT" = "yes"; then
44685 cat >>confdefs.h <<\_ACEOF
44686 #define wxUSE_RICHTEXT 1
44690 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS richtext"
44694 if test "$wxUSE_IMAGE" = "yes" ; then
44695 cat >>confdefs.h <<\_ACEOF
44696 #define wxUSE_IMAGE 1
44700 if test "$wxUSE_GIF" = "yes" ; then
44701 cat >>confdefs.h <<\_ACEOF
44702 #define wxUSE_GIF 1
44707 if test "$wxUSE_PCX" = "yes" ; then
44708 cat >>confdefs.h <<\_ACEOF
44709 #define wxUSE_PCX 1
44714 if test "$wxUSE_TGA" = "yes" ; then
44715 cat >>confdefs.h <<\_ACEOF
44716 #define wxUSE_TGA 1
44721 if test "$wxUSE_IFF" = "yes" ; then
44722 cat >>confdefs.h <<\_ACEOF
44723 #define wxUSE_IFF 1
44728 if test "$wxUSE_PNM" = "yes" ; then
44729 cat >>confdefs.h <<\_ACEOF
44730 #define wxUSE_PNM 1
44735 if test "$wxUSE_XPM" = "yes" ; then
44736 cat >>confdefs.h <<\_ACEOF
44737 #define wxUSE_XPM 1
44742 if test "$wxUSE_ICO_CUR" = "yes" ; then
44743 cat >>confdefs.h <<\_ACEOF
44744 #define wxUSE_ICO_CUR 1
44751 if test "$wxUSE_ABOUTDLG" = "yes"; then
44752 cat >>confdefs.h <<\_ACEOF
44753 #define wxUSE_ABOUTDLG 1
44758 if test "$wxUSE_CHOICEDLG" = "yes"; then
44759 cat >>confdefs.h <<\_ACEOF
44760 #define wxUSE_CHOICEDLG 1
44765 if test "$wxUSE_COLOURDLG" = "yes"; then
44766 cat >>confdefs.h <<\_ACEOF
44767 #define wxUSE_COLOURDLG 1
44772 if test "$wxUSE_FILEDLG" = "yes"; then
44773 cat >>confdefs.h <<\_ACEOF
44774 #define wxUSE_FILEDLG 1
44779 if test "$wxUSE_FINDREPLDLG" = "yes"; then
44780 cat >>confdefs.h <<\_ACEOF
44781 #define wxUSE_FINDREPLDLG 1
44786 if test "$wxUSE_FONTDLG" = "yes"; then
44787 cat >>confdefs.h <<\_ACEOF
44788 #define wxUSE_FONTDLG 1
44793 if test "$wxUSE_DIRDLG" = "yes"; then
44794 if test "$wxUSE_TREECTRL" != "yes"; then
44795 { echo "$as_me:$LINENO: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&5
44796 echo "$as_me: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&2;}
44798 cat >>confdefs.h <<\_ACEOF
44799 #define wxUSE_DIRDLG 1
44805 if test "$wxUSE_MSGDLG" = "yes"; then
44806 cat >>confdefs.h <<\_ACEOF
44807 #define wxUSE_MSGDLG 1
44812 if test "$wxUSE_NUMBERDLG" = "yes"; then
44813 cat >>confdefs.h <<\_ACEOF
44814 #define wxUSE_NUMBERDLG 1
44819 if test "$wxUSE_PROGRESSDLG" = "yes"; then
44820 if test "$wxUSE_CONSTRAINTS" != "yes"; then
44821 { echo "$as_me:$LINENO: WARNING: wxProgressDialog requires constraints so it won't be compiled without them" >&5
44822 echo "$as_me: WARNING: wxProgressDialog requires constraints so it won't be compiled without them" >&2;}
44824 cat >>confdefs.h <<\_ACEOF
44825 #define wxUSE_PROGRESSDLG 1
44831 if test "$wxUSE_SPLASH" = "yes"; then
44832 cat >>confdefs.h <<\_ACEOF
44833 #define wxUSE_SPLASH 1
44836 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS splash"
44839 if test "$wxUSE_STARTUP_TIPS" = "yes"; then
44840 if test "$wxUSE_CONSTRAINTS" != "yes"; then
44841 { echo "$as_me:$LINENO: WARNING: Startup tips requires constraints and won't be compiled without them" >&5
44842 echo "$as_me: WARNING: Startup tips requires constraints and won't be compiled without them" >&2;}
44844 cat >>confdefs.h <<\_ACEOF
44845 #define wxUSE_STARTUP_TIPS 1
44851 if test "$wxUSE_TEXTDLG" = "yes"; then
44852 cat >>confdefs.h <<\_ACEOF
44853 #define wxUSE_TEXTDLG 1
44858 if test "$wxUSE_WIZARDDLG" = "yes"; then
44859 cat >>confdefs.h <<\_ACEOF
44860 #define wxUSE_WIZARDDLG 1
44863 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS wizard"
44867 if test "$wxUSE_GRAPHICS_CONTEXT" = "yes"; then
44868 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = "1"; then
44869 cat >>confdefs.h <<\_ACEOF
44870 #define wxUSE_GRAPHICS_CONTEXT 1
44873 elif test "$wxUSE_GTK" != 1; then
44874 cat >>confdefs.h <<\_ACEOF
44875 #define wxUSE_GRAPHICS_CONTEXT 1
44881 { echo "$as_me:$LINENO: checking for CAIRO" >&5
44882 echo $ECHO_N "checking for CAIRO... $ECHO_C" >&6; }
44884 if test -n "$PKG_CONFIG"; then
44885 if test -n "$CAIRO_CFLAGS"; then
44886 pkg_cv_CAIRO_CFLAGS="$CAIRO_CFLAGS"
44888 if test -n "$PKG_CONFIG" && \
44889 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"cairo\"") >&5
44890 ($PKG_CONFIG --exists --print-errors "cairo") 2>&5
44892 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44893 (exit $ac_status); }; then
44894 pkg_cv_CAIRO_CFLAGS=`$PKG_CONFIG --cflags "cairo" 2>/dev
/null
`
44902 if test -n "$PKG_CONFIG"; then
44903 if test -n "$CAIRO_LIBS"; then
44904 pkg_cv_CAIRO_LIBS="$CAIRO_LIBS"
44906 if test -n "$PKG_CONFIG" && \
44907 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"cairo\"") >&5
44908 ($PKG_CONFIG --exists --print-errors "cairo") 2>&5
44910 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44911 (exit $ac_status); }; then
44912 pkg_cv_CAIRO_LIBS=`$PKG_CONFIG --libs "cairo" 2>/dev
/null
`
44923 if test $pkg_failed = yes; then
44925 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
44926 _pkg_short_errors_supported=yes
44928 _pkg_short_errors_supported=no
44930 if test $_pkg_short_errors_supported = yes; then
44931 CAIRO_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "cairo"`
44933 CAIRO_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "cairo"`
44935 # Put the nasty error message in config.log where it belongs
44936 echo "$CAIRO_PKG_ERRORS" >&5
44938 { echo "$as_me:$LINENO: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&5
44939 echo "$as_me: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&2;}
44941 elif test $pkg_failed = untried; then
44942 { echo "$as_me:$LINENO: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&5
44943 echo "$as_me: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&2;}
44946 CAIRO_CFLAGS=$pkg_cv_CAIRO_CFLAGS
44947 CAIRO_LIBS=$pkg_cv_CAIRO_LIBS
44948 { echo "$as_me:$LINENO: result: yes" >&5
44949 echo "${ECHO_T}yes" >&6; }
44950 cat >>confdefs.h <<\_ACEOF
44951 #define wxUSE_GRAPHICS_CONTEXT 1
44961 if test "$wxUSE_MEDIACTRL" = "yes"; then
44964 if test "$wxUSE_GTK" = 1; then
44965 wxUSE_GSTREAMER="no"
44967 GST_VERSION_MAJOR=0
44968 GST_VERSION_MINOR=10
44969 GST_VERSION=$GST_VERSION_MAJOR.$GST_VERSION_MINOR
44971 if test "$wxUSE_GSTREAMER8" = "no"; then
44974 { echo "$as_me:$LINENO: checking for GST" >&5
44975 echo $ECHO_N "checking for GST... $ECHO_C" >&6; }
44977 if test -n "$PKG_CONFIG"; then
44978 if test -n "$GST_CFLAGS"; then
44979 pkg_cv_GST_CFLAGS="$GST_CFLAGS"
44981 if test -n "$PKG_CONFIG" && \
44982 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-plugins-base-\$GST_VERSION gconf-2.0\"") >&5
44983 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0") 2>&5
44985 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44986 (exit $ac_status); }; then
44987 pkg_cv_GST_CFLAGS=`$PKG_CONFIG --cflags "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0" 2>/dev
/null
`
44995 if test -n "$PKG_CONFIG"; then
44996 if test -n "$GST_LIBS"; then
44997 pkg_cv_GST_LIBS="$GST_LIBS"
44999 if test -n "$PKG_CONFIG" && \
45000 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-plugins-base-\$GST_VERSION gconf-2.0\"") >&5
45001 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0") 2>&5
45003 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45004 (exit $ac_status); }; then
45005 pkg_cv_GST_LIBS=`$PKG_CONFIG --libs "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0" 2>/dev
/null
`
45016 if test $pkg_failed = yes; then
45018 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
45019 _pkg_short_errors_supported=yes
45021 _pkg_short_errors_supported=no
45023 if test $_pkg_short_errors_supported = yes; then
45024 GST_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0"`
45026 GST_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0"`
45028 # Put the nasty error message in config.log where it belongs
45029 echo "$GST_PKG_ERRORS" >&5
45032 { echo "$as_me:$LINENO: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&5
45033 echo "$as_me: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&2;}
45034 GST_VERSION_MINOR=8
45037 elif test $pkg_failed = untried; then
45039 { echo "$as_me:$LINENO: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&5
45040 echo "$as_me: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&2;}
45041 GST_VERSION_MINOR=8
45045 GST_CFLAGS=$pkg_cv_GST_CFLAGS
45046 GST_LIBS=$pkg_cv_GST_LIBS
45047 { echo "$as_me:$LINENO: result: yes" >&5
45048 echo "${ECHO_T}yes" >&6; }
45050 wxUSE_GSTREAMER="yes"
45051 GST_LIBS="$GST_LIBS -lgstinterfaces-$GST_VERSION"
45055 GST_VERSION_MINOR=8
45058 if test $GST_VERSION_MINOR = "8"; then
45059 GST_VERSION=$GST_VERSION_MAJOR.$GST_VERSION_MINOR
45062 { echo "$as_me:$LINENO: checking for GST" >&5
45063 echo $ECHO_N "checking for GST... $ECHO_C" >&6; }
45065 if test -n "$PKG_CONFIG"; then
45066 if test -n "$GST_CFLAGS"; then
45067 pkg_cv_GST_CFLAGS="$GST_CFLAGS"
45069 if test -n "$PKG_CONFIG" && \
45070 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-interfaces-\$GST_VERSION gstreamer-gconf-\$GST_VERSION\"") >&5
45071 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION") 2>&5
45073 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45074 (exit $ac_status); }; then
45075 pkg_cv_GST_CFLAGS=`$PKG_CONFIG --cflags "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION" 2>/dev
/null
`
45083 if test -n "$PKG_CONFIG"; then
45084 if test -n "$GST_LIBS"; then
45085 pkg_cv_GST_LIBS="$GST_LIBS"
45087 if test -n "$PKG_CONFIG" && \
45088 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-interfaces-\$GST_VERSION gstreamer-gconf-\$GST_VERSION\"") >&5
45089 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION") 2>&5
45091 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45092 (exit $ac_status); }; then
45093 pkg_cv_GST_LIBS=`$PKG_CONFIG --libs "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION" 2>/dev
/null
`
45104 if test $pkg_failed = yes; then
45106 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
45107 _pkg_short_errors_supported=yes
45109 _pkg_short_errors_supported=no
45111 if test $_pkg_short_errors_supported = yes; then
45112 GST_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION"`
45114 GST_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION"`
45116 # Put the nasty error message in config.log where it belongs
45117 echo "$GST_PKG_ERRORS" >&5
45120 { echo "$as_me:$LINENO: WARNING: GStreamer 0.8/0.10 not available." >&5
45121 echo "$as_me: WARNING: GStreamer 0.8/0.10 not available." >&2;}
45123 elif test $pkg_failed = untried; then
45125 { echo "$as_me:$LINENO: WARNING: GStreamer 0.8/0.10 not available." >&5
45126 echo "$as_me: WARNING: GStreamer 0.8/0.10 not available." >&2;}
45129 GST_CFLAGS=$pkg_cv_GST_CFLAGS
45130 GST_LIBS=$pkg_cv_GST_LIBS
45131 { echo "$as_me:$LINENO: result: yes" >&5
45132 echo "${ECHO_T}yes" >&6; }
45133 wxUSE_GSTREAMER="yes"
45138 if test "$wxUSE_GSTREAMER" = "yes"; then
45141 if "$GCC" = yes; then
45142 GST_CFLAGS=`echo $GST_CFLAGS | sed 's/-mt//'`
45143 GST_LIBS=`echo $GST_LIBS | sed 's/-mt//'`
45147 CPPFLAGS="$GST_CFLAGS $CPPFLAGS"
45148 LIBS="$GST_LIBS $LIBS"
45150 cat >>confdefs.h <<\_ACEOF
45151 #define wxUSE_GSTREAMER 1
45159 if test $USE_MEDIA = 1; then
45160 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS mediaplayer"
45161 cat >>confdefs.h <<\_ACEOF
45162 #define wxUSE_MEDIACTRL 1
45169 if test "$cross_compiling" = "yes"; then
45172 OSINFO=`uname
-s -r -m`
45173 OSINFO="\"$OSINFO\""
45176 cat >>confdefs.h <<_ACEOF
45177 #define WXWIN_OS_DESCRIPTION $OSINFO
45182 if test "x$prefix" != "xNONE"; then
45185 wxPREFIX=$ac_default_prefix
45188 cat >>confdefs.h <<_ACEOF
45189 #define wxINSTALL_PREFIX "$wxPREFIX"
45195 CORE_BASE_LIBS="net base"
45196 CORE_GUI_LIBS="adv core"
45198 if test "$wxUSE_XML" = "yes" ; then
45199 CORE_BASE_LIBS="xml $CORE_BASE_LIBS"
45201 if test "$wxUSE_ODBC" != "no" ; then
45202 CORE_BASE_LIBS="odbc $CORE_BASE_LIBS"
45203 CORE_GUI_LIBS="dbgrid $CORE_GUI_LIBS"
45205 if test "$wxUSE_HTML" = "yes" ; then
45206 CORE_GUI_LIBS="html $CORE_GUI_LIBS"
45208 if test "$wxUSE_DEBUGREPORT" = "yes" ; then
45209 CORE_GUI_LIBS="qa $CORE_GUI_LIBS"
45211 if test "$wxUSE_XRC" = "yes" ; then
45212 CORE_GUI_LIBS="xrc $CORE_GUI_LIBS"
45214 if test "$wxUSE_AUI" = "yes" ; then
45215 CORE_GUI_LIBS="aui $CORE_GUI_LIBS"
45217 if test "$wxUSE_STC" = "yes" ; then
45218 CORE_GUI_LIBS="stc $CORE_GUI_LIBS"
45221 if test "$wxUSE_GUI" != "yes"; then
45230 if test "$wxUSE_MAC" = 1 ; then
45231 if test "$wxUSE_SOUND" = "yes" || test "$wxUSE_MEDIACTRL" = "yes"; then
45232 if test "$USE_DARWIN" = 1; then
45233 LDFLAGS="$LDFLAGS -framework QuickTime"
45235 LDFLAGS="$LDFLAGS -lQuickTimeLib"
45238 if test "$USE_DARWIN" = 1; then
45239 LDFLAGS="$LDFLAGS -framework IOKit -framework Carbon -framework Cocoa -framework System"
45241 LDFLAGS="$LDFLAGS -lCarbonLib"
45244 if test "$wxUSE_COCOA" = 1 ; then
45245 LDFLAGS="$LDFLAGS -framework IOKit -framework Cocoa"
45246 if test "$wxUSE_MEDIACTRL" = "yes"; then
45247 LDFLAGS="$LDFLAGS -framework QuickTime"
45250 if test "$USE_DARWIN" = 1 -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1 ; then
45251 LDFLAGS="$LDFLAGS -framework IOKit -framework CoreServices -framework System -framework ApplicationServices"
45254 LIBS="$ZLIB_LINK $POSIX4_LINK $INET_LINK $WCHAR_LINK $DL_LINK $LIBS"
45256 if test "$wxUSE_GUI" = "yes"; then
45259 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS artprov controls dialogs drawing \
45260 dynamic erase event exec font image minimal mobile \
45261 mobile/wxedit mobile/styles propsize render \
45262 rotate shaped svg taborder vscroll widgets"
45264 if test "$wxUSE_MONOLITHIC" != "yes"; then
45265 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS console"
45267 if test "$TOOLKIT" = "MSW"; then
45268 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS regtest"
45269 if test "$wxUSE_UNIVERSAL" != "yes"; then
45270 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ownerdrw nativdlg"
45273 if test "$TOOLKIT" = "PM" -a "$wxUSE_UNIVERSAL" != "yes"; then
45274 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ownerdrw"
45277 SAMPLES_SUBDIRS="console"
45281 if test "x$INTELCC" = "xyes" ; then
45282 CWARNINGS="-Wall -wd810,869,981,1418,1572,1684"
45283 elif test "$GCC" = yes ; then
45284 CWARNINGS="-Wall -Wundef"
45287 if test "x$INTELCXX" = "xyes" ; then
45288 CXXWARNINGS="-Wall -wd279,383,444,810,869,981,1418,1419"
45289 elif test "$GXX" = yes ; then
45290 CXXWARNINGS="-Wall -Wundef -Wno-ctor-dtor-privacy"
45294 WXCONFIG_CFLAGS=`echo $WXCONFIG_CFLAGS`
45295 WXCONFIG_CXXFLAGS=`echo $WXCONFIG_CFLAGS $WXCONFIG_CXXFLAGS`
45298 CPPFLAGS=`echo $WXCONFIG_CPPFLAGS \
45299 -I\\${wx_top_builddir}/lib
/wx
/include
/${TOOLCHAIN_FULLNAME} \
45300 -I\\${top_srcdir}/include
$TOOLKIT_INCLUDE \
45303 C_AND_CXX_FLAGS="$DEBUG_CFLAGS $PROFILE_FLAGS $OPTIMISE_CFLAGS"
45304 CFLAGS=`echo $WXCONFIG_CFLAGS $CWARNINGS $C_AND_CXX_FLAGS $CFLAGS `
45305 CXXFLAGS=`echo $WXCONFIG_CXXFLAGS $CXXWARNINGS $C_AND_CXX_FLAGS $CXXFLAGS `
45307 WXCONFIG_CPPFLAGS=`echo $WXCONFIG_CPPFLAGS $WXCONFIG_ONLY_CPPFLAGS`
45310 if test "x$MWCC" = "xyes"; then
45312 CC="$CC -cwd source -I-"
45313 CXX="$CXX -cwd source -I-"
45318 EXTRALIBS="$LDFLAGS $LDFLAGS_VERSIONING $LIBS $DMALLOC_LIBS"
45319 EXTRALIBS_XML="$EXPAT_LINK"
45320 EXTRALIBS_HTML="$MSPACK_LINK"
45321 EXTRALIBS_ODBC="$ODBC_LINK"
45322 EXTRALIBS_STC="-lwxscintilla${lib_debug_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX}"
45323 if test "$wxUSE_GUI" = "yes"; then
45324 EXTRALIBS_GUI=`echo $GUI_TK_LIBRARY $PNG_LINK $JPEG_LINK $TIFF_LINK $WEBKIT_LINK $EXTRALIBS_HILDON $EXTRALIBS_GNOMEVFS $EXTRALIBS_GNOMEPRINT`
45326 if test "$wxUSE_OPENGL" = "yes"; then
45327 EXTRALIBS_OPENGL="$LDFLAGS_GL $OPENGL_LIBS"
45330 LDFLAGS="$LDFLAGS $PROFILE_FLAGS"
45332 WXCONFIG_LIBS="$LIBS"
45334 if test "$wxUSE_REGEX" = "builtin" ; then
45335 wxconfig_3rdparty="regex${lib_unicode_suffix} $wxconfig_3rdparty"
45337 if test "$wxUSE_EXPAT" = "builtin" ; then
45338 wxconfig_3rdparty="expat $wxconfig_3rdparty"
45340 if test "$wxUSE_ODBC" = "builtin" ; then
45341 wxconfig_3rdparty="odbc $wxconfig_3rdparty"
45343 if test "$wxUSE_LIBTIFF" = "builtin" ; then
45344 wxconfig_3rdparty="tiff $wxconfig_3rdparty"
45346 if test "$wxUSE_LIBJPEG" = "builtin" ; then
45347 wxconfig_3rdparty="jpeg $wxconfig_3rdparty"
45349 if test "$wxUSE_LIBPNG" = "builtin" ; then
45350 wxconfig_3rdparty="png $wxconfig_3rdparty"
45352 if test "$wxUSE_ZLIB" = "builtin" ; then
45353 wxconfig_3rdparty="zlib $wxconfig_3rdparty"
45356 for i in $wxconfig_3rdparty ; do
45357 WXCONFIG_LIBS="-lwx${i}${lib_debug_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX} $WXCONFIG_LIBS"
45361 if test "x$wxUSE_UNIVERSAL" = "xyes" ; then
45364 case "$wxUNIV_THEMES" in
45366 cat >>confdefs.h <<\_ACEOF
45367 #define wxUSE_ALL_THEMES 1
45373 for t in `echo $wxUNIV_THEMES | tr , ' ' | tr a
-z A
-Z`; do
45374 cat >>confdefs.h <<_ACEOF
45375 #define wxUSE_THEME_$t 1
45392 if test $wxUSE_MONOLITHIC = "yes" ; then
45398 if test $wxUSE_PLUGINS = "yes" ; then
45404 if test $wxUSE_ODBC != "no" ; then
45410 if test "$wxUSE_DEBUGREPORT" = "yes" ; then
45416 if test $wxUSE_OFFICIAL_BUILD = "yes" ; then
45446 TOOLKIT_LOWERCASE=`echo $TOOLKIT | tr "[A-Z]" "[a-z]"`
45457 TOOLKIT_DESC="GTK+"
45458 if test "$WXGTK20" = 1; then
45459 TOOLKIT_DESC="$TOOLKIT_DESC 2"
45460 if test "$wxUSE_LIBGNOMEPRINT" = "yes" ; then
45461 TOOLKIT_EXTRA="$TOOLKIT_EXTRA gnomeprint";
45463 if test "$wxUSE_LIBGNOMEVFS" = "yes" ; then
45464 TOOLKIT_EXTRA="$TOOLKIT_EXTRA gnomevfs"
45466 if test "$wxUSE_LIBHILDON" = "yes"; then
45467 TOOLKIT_EXTRA="$TOOLKIT_EXTRA hildon"
45470 if test "$TOOLKIT_EXTRA" != ""; then
45471 TOOLKIT_DESC="$TOOLKIT_DESC with support for `echo $TOOLKIT_EXTRA | tr -s ' '`"
45477 TOOLKIT_DESC=$TOOLKIT_LOWERCASE
45481 TOOLKIT_DESC="base only"
45485 if test "$wxUSE_WINE" = "yes"; then
45486 BAKEFILE_FORCE_PLATFORM=win32
45489 if test "$wxUSE_MAC" = 1 ; then
45490 if test "x$wxUSE_UNIVERSAL_BINARY" != xno ; then
45491 if test "x$wxUSE_UNIVERSAL_BINARY" == xyes; then
45492 OSX_UNIV_OPTS="-isysroot /Developer/SDKs/MacOSX10.4u.sdk"
45494 OSX_UNIV_OPTS=${wxUSE_UNIVERSAL_BINARY:+"-isysroot '$wxUSE_UNIVERSAL_BINARY'"}
45496 OSX_UNIV_OPTS="$OSX_UNIV_OPTS -arch ppc -arch i386"
45497 CXXFLAGS="$OSX_UNIV_OPTS $CXXFLAGS"
45498 CFLAGS="$OSX_UNIV_OPTS $CFLAGS"
45499 LDFLAGS="$OSX_UNIV_OPTS $LDFLAGS"
45502 # TODO: where do we add "-syslibroot,/Developer/SDKs/MacOSX10.4u.sdk" for libtool (static builds only)?
45503 # The makefile currently uses AR and RANLIB, which libtool apparently supercedes.
45506 if test "$wxUSE_UNICODE" = yes -a "$GCC" = yes -a "$bk_use_pch" != no
45508 { echo "$as_me:$LINENO: checking for gcc precompiled header bug" >&5
45509 echo $ECHO_N "checking for gcc precompiled header bug... $ECHO_C" >&6; }
45510 if test "${wx_cv_gcc_pch_bug+set}" = set; then
45511 echo $ECHO_N "(cached) $ECHO_C" >&6
45514 echo '#include <stdio.h>
45515 const wchar_t test_var[] = L"awidetest";' > conftest.h
45517 echo '#include "conftest.h"
45520 printf("%ls", test_var);
45524 wx_cv_gcc_pch_bug="pch not supported"
45526 if $CXX conftest.h >/dev/null 2>&1
45530 if $CXX -o conftest$PROGRAM_EXT conftest.cpp >/dev/null 2>&1
45532 if tr -dc '[a-z]' < conftest$PROGRAM_EXT |
45533 grep awidetest >/dev/null
45535 wx_cv_gcc_pch_bug=no
45537 wx_cv_gcc_pch_bug=yes
45542 rm -f conftest.h conftest.gch conftest.cpp conftest$PROGRAM_EXT
45545 { echo "$as_me:$LINENO: result: $wx_cv_gcc_pch_bug" >&5
45546 echo "${ECHO_T}$wx_cv_gcc_pch_bug" >&6; }
45548 if test "$wx_cv_gcc_pch_bug" = yes; then
45556 if test "x$BAKEFILE_HOST" = "x"; then
45557 if test "x${host}" = "x" ; then
45558 { { echo "$as_me:$LINENO: error: You must call the autoconf \"CANONICAL_HOST\" macro in your configure.ac (or .in) file." >&5
45559 echo "$as_me: error: You must call the autoconf \"CANONICAL_HOST\" macro in your configure.ac (or .in) file." >&2;}
45560 { (exit 1); exit 1; }; }
45563 BAKEFILE_HOST="${host}"
45566 if test "x$BAKEFILE_CHECK_BASICS" != "xno"; then
45568 if test -n "$ac_tool_prefix"; then
45569 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
45570 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
45571 { echo "$as_me:$LINENO: checking for $ac_word" >&5
45572 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
45573 if test "${ac_cv_prog_RANLIB+set}" = set; then
45574 echo $ECHO_N "(cached) $ECHO_C" >&6
45576 if test -n "$RANLIB"; then
45577 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
45579 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
45580 for as_dir in $PATH
45583 test -z "$as_dir" && as_dir=.
45584 for ac_exec_ext in '' $ac_executable_extensions; do
45585 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
45586 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
45587 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
45596 RANLIB=$ac_cv_prog_RANLIB
45597 if test -n "$RANLIB"; then
45598 { echo "$as_me:$LINENO: result: $RANLIB" >&5
45599 echo "${ECHO_T}$RANLIB" >&6; }
45601 { echo "$as_me:$LINENO: result: no" >&5
45602 echo "${ECHO_T}no" >&6; }
45607 if test -z "$ac_cv_prog_RANLIB"; then
45608 ac_ct_RANLIB=$RANLIB
45609 # Extract the first word of "ranlib", so it can be a program name with args.
45610 set dummy ranlib; ac_word=$2
45611 { echo "$as_me:$LINENO: checking for $ac_word" >&5
45612 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
45613 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
45614 echo $ECHO_N "(cached) $ECHO_C" >&6
45616 if test -n "$ac_ct_RANLIB"; then
45617 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
45619 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
45620 for as_dir in $PATH
45623 test -z "$as_dir" && as_dir=.
45624 for ac_exec_ext in '' $ac_executable_extensions; do
45625 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
45626 ac_cv_prog_ac_ct_RANLIB="ranlib"
45627 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
45636 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
45637 if test -n "$ac_ct_RANLIB"; then
45638 { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
45639 echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
45641 { echo "$as_me:$LINENO: result: no" >&5
45642 echo "${ECHO_T}no" >&6; }
45645 if test "x$ac_ct_RANLIB" = x; then
45648 case $cross_compiling:$ac_tool_warned in
45650 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
45651 whose name does not start with the host triplet. If you think this
45652 configuration is useful to you, please write to autoconf@gnu.org." >&5
45653 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
45654 whose name does not start with the host triplet. If you think this
45655 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
45656 ac_tool_warned=yes ;;
45658 RANLIB=$ac_ct_RANLIB
45661 RANLIB="$ac_cv_prog_RANLIB"
45664 # Find a good install program. We prefer a C program (faster),
45665 # so one script is as good as another. But avoid the broken or
45666 # incompatible versions:
45667 # SysV /etc/install, /usr/sbin/install
45668 # SunOS /usr/etc/install
45669 # IRIX /sbin/install
45671 # AmigaOS /C/install, which installs bootblocks on floppy discs
45672 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
45673 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
45674 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
45675 # OS/2's system install, which has a completely different semantic
45676 # ./install, which can be erroneously created by make from ./install.sh.
45677 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
45678 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
45679 if test -z "$INSTALL"; then
45680 if test "${ac_cv_path_install+set}" = set; then
45681 echo $ECHO_N "(cached) $ECHO_C" >&6
45683 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
45684 for as_dir in $PATH
45687 test -z "$as_dir" && as_dir=.
45688 # Account for people who put trailing slashes in PATH elements.
45690 ./ | .// | /cC/* | \
45691 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
45692 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
45695 # OSF1 and SCO ODT 3.0 have their own names for install.
45696 # Don't use installbsd from OSF since it installs stuff as root
45698 for ac_prog in ginstall scoinst install; do
45699 for ac_exec_ext in '' $ac_executable_extensions; do
45700 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
45701 if test $ac_prog = install &&
45702 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
45703 # AIX install. It has an incompatible calling convention.
45705 elif test $ac_prog = install &&
45706 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
45707 # program-specific install script used by HP pwplus--don't use.
45710 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
45723 if test "${ac_cv_path_install+set}" = set; then
45724 INSTALL=$ac_cv_path_install
45726 # As a last resort, use the slow shell script. Don't cache a
45727 # value for INSTALL within a source directory, because that will
45728 # break other packages using the cache if that directory is
45729 # removed, or if the value is a relative name.
45730 INSTALL=$ac_install_sh
45733 { echo "$as_me:$LINENO: result: $INSTALL" >&5
45734 echo "${ECHO_T}$INSTALL" >&6; }
45736 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
45737 # It thinks the first close brace ends the variable substitution.
45738 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
45740 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
45742 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
45744 { echo "$as_me:$LINENO: checking whether ln -s works" >&5
45745 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; }
45747 if test "$LN_S" = "ln -s"; then
45748 { echo "$as_me:$LINENO: result: yes" >&5
45749 echo "${ECHO_T}yes" >&6; }
45751 { echo "$as_me:$LINENO: result: no, using $LN_S" >&5
45752 echo "${ECHO_T}no, using $LN_S" >&6; }
45756 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
45757 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
45758 set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
45759 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
45760 echo $ECHO_N "(cached) $ECHO_C" >&6
45762 cat >conftest.make <<\_ACEOF
45765 @echo '@@@%%%=$(MAKE)=@@@%%%'
45767 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
45768 case `${MAKE-make} -f conftest.
make 2>/dev
/null
` in
45769 *@@@%%%=?*=@@@%%%*)
45770 eval ac_cv_prog_make_${ac_make}_set=yes;;
45772 eval ac_cv_prog_make_${ac_make}_set=no;;
45774 rm -f conftest.make
45776 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
45777 { echo "$as_me:$LINENO: result: yes" >&5
45778 echo "${ECHO_T}yes" >&6; }
45781 { echo "$as_me:$LINENO: result: no" >&5
45782 echo "${ECHO_T}no" >&6; }
45783 SET_MAKE="MAKE=${MAKE-make}"
45788 if test "x$SUNCXX" = "xyes"; then
45790 AROPTIONS="-xar -o"
45792 elif test "x$SGICC" = "xyes"; then
45797 if test -n "$ac_tool_prefix"; then
45798 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
45799 set dummy ${ac_tool_prefix}ar; ac_word=$2
45800 { echo "$as_me:$LINENO: checking for $ac_word" >&5
45801 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
45802 if test "${ac_cv_prog_AR+set}" = set; then
45803 echo $ECHO_N "(cached) $ECHO_C" >&6
45805 if test -n "$AR"; then
45806 ac_cv_prog_AR="$AR" # Let the user override the test.
45808 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
45809 for as_dir in $PATH
45812 test -z "$as_dir" && as_dir=.
45813 for ac_exec_ext in '' $ac_executable_extensions; do
45814 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
45815 ac_cv_prog_AR="${ac_tool_prefix}ar"
45816 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
45826 if test -n "$AR"; then
45827 { echo "$as_me:$LINENO: result: $AR" >&5
45828 echo "${ECHO_T}$AR" >&6; }
45830 { echo "$as_me:$LINENO: result: no" >&5
45831 echo "${ECHO_T}no" >&6; }
45836 if test -z "$ac_cv_prog_AR"; then
45838 # Extract the first word of "ar", so it can be a program name with args.
45839 set dummy ar; ac_word=$2
45840 { echo "$as_me:$LINENO: checking for $ac_word" >&5
45841 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
45842 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
45843 echo $ECHO_N "(cached) $ECHO_C" >&6
45845 if test -n "$ac_ct_AR"; then
45846 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
45848 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
45849 for as_dir in $PATH
45852 test -z "$as_dir" && as_dir=.
45853 for ac_exec_ext in '' $ac_executable_extensions; do
45854 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
45855 ac_cv_prog_ac_ct_AR="ar"
45856 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
45865 ac_ct_AR=$ac_cv_prog_ac_ct_AR
45866 if test -n "$ac_ct_AR"; then
45867 { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
45868 echo "${ECHO_T}$ac_ct_AR" >&6; }
45870 { echo "$as_me:$LINENO: result: no" >&5
45871 echo "${ECHO_T}no" >&6; }
45874 if test "x$ac_ct_AR" = x; then
45877 case $cross_compiling:$ac_tool_warned in
45879 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
45880 whose name does not start with the host triplet. If you think this
45881 configuration is useful to you, please write to autoconf@gnu.org." >&5
45882 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
45883 whose name does not start with the host triplet. If you think this
45884 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
45885 ac_tool_warned=yes ;;
45890 AR="$ac_cv_prog_AR"
45897 if test -n "$ac_tool_prefix"; then
45898 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
45899 set dummy ${ac_tool_prefix}strip; ac_word=$2
45900 { echo "$as_me:$LINENO: checking for $ac_word" >&5
45901 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
45902 if test "${ac_cv_prog_STRIP+set}" = set; then
45903 echo $ECHO_N "(cached) $ECHO_C" >&6
45905 if test -n "$STRIP"; then
45906 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
45908 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
45909 for as_dir in $PATH
45912 test -z "$as_dir" && as_dir=.
45913 for ac_exec_ext in '' $ac_executable_extensions; do
45914 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
45915 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
45916 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
45925 STRIP=$ac_cv_prog_STRIP
45926 if test -n "$STRIP"; then
45927 { echo "$as_me:$LINENO: result: $STRIP" >&5
45928 echo "${ECHO_T}$STRIP" >&6; }
45930 { echo "$as_me:$LINENO: result: no" >&5
45931 echo "${ECHO_T}no" >&6; }
45936 if test -z "$ac_cv_prog_STRIP"; then
45938 # Extract the first word of "strip", so it can be a program name with args.
45939 set dummy strip; ac_word=$2
45940 { echo "$as_me:$LINENO: checking for $ac_word" >&5
45941 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
45942 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
45943 echo $ECHO_N "(cached) $ECHO_C" >&6
45945 if test -n "$ac_ct_STRIP"; then
45946 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
45948 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
45949 for as_dir in $PATH
45952 test -z "$as_dir" && as_dir=.
45953 for ac_exec_ext in '' $ac_executable_extensions; do
45954 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
45955 ac_cv_prog_ac_ct_STRIP="strip"
45956 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
45965 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
45966 if test -n "$ac_ct_STRIP"; then
45967 { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
45968 echo "${ECHO_T}$ac_ct_STRIP" >&6; }
45970 { echo "$as_me:$LINENO: result: no" >&5
45971 echo "${ECHO_T}no" >&6; }
45974 if test "x$ac_ct_STRIP" = x; then
45977 case $cross_compiling:$ac_tool_warned in
45979 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
45980 whose name does not start with the host triplet. If you think this
45981 configuration is useful to you, please write to autoconf@gnu.org." >&5
45982 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
45983 whose name does not start with the host triplet. If you think this
45984 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
45985 ac_tool_warned=yes ;;
45990 STRIP="$ac_cv_prog_STRIP"
45993 if test -n "$ac_tool_prefix"; then
45994 # Extract the first word of "${ac_tool_prefix}nm", so it can be a program name with args.
45995 set dummy ${ac_tool_prefix}nm; ac_word=$2
45996 { echo "$as_me:$LINENO: checking for $ac_word" >&5
45997 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
45998 if test "${ac_cv_prog_NM+set}" = set; then
45999 echo $ECHO_N "(cached) $ECHO_C" >&6
46001 if test -n "$NM"; then
46002 ac_cv_prog_NM="$NM" # Let the user override the test.
46004 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
46005 for as_dir in $PATH
46008 test -z "$as_dir" && as_dir=.
46009 for ac_exec_ext in '' $ac_executable_extensions; do
46010 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
46011 ac_cv_prog_NM="${ac_tool_prefix}nm"
46012 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
46022 if test -n "$NM"; then
46023 { echo "$as_me:$LINENO: result: $NM" >&5
46024 echo "${ECHO_T}$NM" >&6; }
46026 { echo "$as_me:$LINENO: result: no" >&5
46027 echo "${ECHO_T}no" >&6; }
46032 if test -z "$ac_cv_prog_NM"; then
46034 # Extract the first word of "nm", so it can be a program name with args.
46035 set dummy nm; ac_word=$2
46036 { echo "$as_me:$LINENO: checking for $ac_word" >&5
46037 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
46038 if test "${ac_cv_prog_ac_ct_NM+set}" = set; then
46039 echo $ECHO_N "(cached) $ECHO_C" >&6
46041 if test -n "$ac_ct_NM"; then
46042 ac_cv_prog_ac_ct_NM="$ac_ct_NM" # Let the user override the test.
46044 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
46045 for as_dir in $PATH
46048 test -z "$as_dir" && as_dir=.
46049 for ac_exec_ext in '' $ac_executable_extensions; do
46050 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
46051 ac_cv_prog_ac_ct_NM="nm"
46052 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
46061 ac_ct_NM=$ac_cv_prog_ac_ct_NM
46062 if test -n "$ac_ct_NM"; then
46063 { echo "$as_me:$LINENO: result: $ac_ct_NM" >&5
46064 echo "${ECHO_T}$ac_ct_NM" >&6; }
46066 { echo "$as_me:$LINENO: result: no" >&5
46067 echo "${ECHO_T}no" >&6; }
46070 if test "x$ac_ct_NM" = x; then
46073 case $cross_compiling:$ac_tool_warned in
46075 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
46076 whose name does not start with the host triplet. If you think this
46077 configuration is useful to you, please write to autoconf@gnu.org." >&5
46078 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
46079 whose name does not start with the host triplet. If you think this
46080 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
46081 ac_tool_warned=yes ;;
46086 NM="$ac_cv_prog_NM"
46090 case ${BAKEFILE_HOST} in
46092 INSTALL_DIR="mkdir -p"
46095 INSTALL_DIR='$(INSTALL) -d'
46101 case ${BAKEFILE_HOST} in
46102 *-*-cygwin* | *-*-mingw32* )
46103 LDFLAGS_GUI="-mwindows"
46109 { echo "$as_me:$LINENO: checking if make is GNU make" >&5
46110 echo $ECHO_N "checking if make is GNU make... $ECHO_C" >&6; }
46111 if test "${bakefile_cv_prog_makeisgnu+set}" = set; then
46112 echo $ECHO_N "(cached) $ECHO_C" >&6
46115 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev/null |
46116 egrep -s GNU > /dev/null); then
46117 bakefile_cv_prog_makeisgnu="yes"
46119 bakefile_cv_prog_makeisgnu="no"
46123 { echo "$as_me:$LINENO: result: $bakefile_cv_prog_makeisgnu" >&5
46124 echo "${ECHO_T}$bakefile_cv_prog_makeisgnu" >&6; }
46126 if test "x$bakefile_cv_prog_makeisgnu" = "xyes"; then
46143 if test "x$BAKEFILE_FORCE_PLATFORM" = "x"; then
46144 case "${BAKEFILE_HOST}" in
46151 *-pc-os2_emx | *-pc-os2-emx )
46161 powerpc-apple-macos* )
46170 case "$BAKEFILE_FORCE_PLATFORM" in
46191 { { echo "$as_me:$LINENO: error: Unknown platform: $BAKEFILE_FORCE_PLATFORM" >&5
46192 echo "$as_me: error: Unknown platform: $BAKEFILE_FORCE_PLATFORM" >&2;}
46193 { (exit 1); exit 1; }; }
46208 # Check whether --enable-omf was given.
46209 if test "${enable_omf+set}" = set; then
46210 enableval=$enable_omf; bk_os2_use_omf="$enableval"
46214 case "${BAKEFILE_HOST}" in
46216 if test "x$GCC" = "xyes"; then
46217 CFLAGS="$CFLAGS -fno-common"
46218 CXXFLAGS="$CXXFLAGS -fno-common"
46220 if test "x$XLCC" = "xyes"; then
46221 CFLAGS="$CFLAGS -qnocommon"
46222 CXXFLAGS="$CXXFLAGS -qnocommon"
46226 *-pc-os2_emx | *-pc-os2-emx )
46227 if test "x$bk_os2_use_omf" = "xyes" ; then
46230 LDFLAGS="-Zomf $LDFLAGS"
46231 CFLAGS="-Zomf $CFLAGS"
46232 CXXFLAGS="-Zomf $CXXFLAGS"
46240 LDFLAGS="-L/boot/develop/lib/x86 $LDFLAGS"
46246 SO_SUFFIX_MODULE="so"
46251 DLLPREFIX_MODULE=""
46255 case "${BAKEFILE_HOST}" in
46258 SO_SUFFIX_MODULE="sl"
46262 SO_SUFFIX_MODULE="a"
46266 SO_SUFFIX_MODULE="dll"
46267 DLLIMP_SUFFIX="dll.a"
46274 SO_SUFFIX_MODULE="dll"
46275 DLLIMP_SUFFIX="dll.a"
46285 *-pc-os2_emx | *-pc-os2-emx )
46287 SO_SUFFIX_MODULE="dll"
46288 DLLIMP_SUFFIX=$OS2_LIBEXT
46292 LIBEXT=".$OS2_LIBEXT"
46297 SO_SUFFIX_MODULE="bundle"
46301 if test "x$DLLIMP_SUFFIX" = "x" ; then
46302 DLLIMP_SUFFIX="$SO_SUFFIX"
46317 if test "x$GCC" = "xyes"; then
46321 SHARED_LD_CC="\$(CC) -shared ${PIC_FLAG} -o"
46322 SHARED_LD_CXX="\$(CXX) -shared ${PIC_FLAG} -o"
46325 case "${BAKEFILE_HOST}" in
46327 if test "x$GCC" != "xyes"; then
46328 LDFLAGS="$LDFLAGS -L/usr/lib"
46330 SHARED_LD_CC="${CC} -b -o"
46331 SHARED_LD_CXX="${CXX} -b -o"
46337 if test "x$GCC" != "xyes"; then
46338 { echo "$as_me:$LINENO: checking for Intel compiler" >&5
46339 echo $ECHO_N "checking for Intel compiler... $ECHO_C" >&6; }
46340 if test "${bakefile_cv_prog_icc+set}" = set; then
46341 echo $ECHO_N "(cached) $ECHO_C" >&6
46344 cat >conftest.$ac_ext <<_ACEOF
46347 cat confdefs.h >>conftest.$ac_ext
46348 cat >>conftest.$ac_ext <<_ACEOF
46349 /* end confdefs.h. */
46355 #ifndef __INTEL_COMPILER
46363 rm -f conftest.$ac_objext
46364 if { (ac_try="$ac_compile"
46365 case "(($ac_try" in
46366 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
46367 *) ac_try_echo
=$ac_try;;
46369 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46370 (eval "$ac_compile") 2>conftest.er1
46372 grep -v '^ *+' conftest.er1
>conftest.err
46374 cat conftest.err
>&5
46375 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46376 (exit $ac_status); } && {
46377 test -z "$ac_c_werror_flag" ||
46378 test ! -s conftest.err
46379 } && test -s conftest.
$ac_objext; then
46380 bakefile_cv_prog_icc
=yes
46382 echo "$as_me: failed program was:" >&5
46383 sed 's/^/| /' conftest.
$ac_ext >&5
46385 bakefile_cv_prog_icc
=no
46389 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
46392 { echo "$as_me:$LINENO: result: $bakefile_cv_prog_icc" >&5
46393 echo "${ECHO_T}$bakefile_cv_prog_icc" >&6; }
46394 if test "$bakefile_cv_prog_icc" = "yes"; then
46401 if test "x$GCC" != xyes
; then
46402 SHARED_LD_CC
="${CC} -G -o"
46403 SHARED_LD_CXX
="${CXX} -G -o"
46411 cat <<EOF >shared-ld-sh
46413 #-----------------------------------------------------------------------------
46414 #-- Name: distrib/mac/shared-ld-sh
46415 #-- Purpose: Link a mach-o dynamic shared library for Darwin / Mac OS X
46416 #-- Author: Gilles Depeyrot
46417 #-- Copyright: (c) 2002 Gilles Depeyrot
46418 #-- Licence: any use permitted
46419 #-----------------------------------------------------------------------------
46424 linking_flag="-dynamiclib"
46425 ldargs="-r -keep_private_externs -nostdlib"
46427 while test ${D}# -gt 0; do
46434 -o|-compatibility_version|-current_version|-framework|-undefined|-install_name)
46435 # collect these options and values
46436 args="${D}{args} ${D}1 ${D}2"
46441 # collect these load args
46442 ldargs="${D}{ldargs} ${D}1"
46445 -l*|-L*|-flat_namespace|-headerpad_max_install_names)
46446 # collect these options
46447 args="${D}{args} ${D}1"
46450 -dynamiclib|-bundle)
46451 linking_flag="${D}1"
46455 echo "shared-ld: unhandled option '${D}1'"
46459 *.o | *.a | *.dylib)
46460 # collect object files
46461 objects="${D}{objects} ${D}1"
46465 echo "shared-ld: unhandled argument '${D}1'"
46476 # Link one module containing all the others
46478 if test ${D}{verbose} = 1; then
46479 echo "c++ ${D}{ldargs} ${D}{objects} -o master.${D}${D}.o"
46481 c++ ${D}{ldargs} ${D}{objects} -o master.${D}${D}.o
46485 # Link the shared library from the single module created, but only if the
46486 # previous command didn't fail:
46488 if test ${D}{status} = 0; then
46489 if test ${D}{verbose} = 1; then
46490 echo "c++ ${D}{linking_flag} master.${D}${D}.o ${D}{args}"
46492 c++ ${D}{linking_flag} master.${D}${D}.o ${D}{args}
46497 # Remove intermediate module
46499 rm -f master.${D}${D}.o
46504 chmod +x shared
-ld-sh
46506 SHARED_LD_MODULE_CC
="`pwd`/shared-ld-sh -bundle -headerpad_max_install_names -o"
46507 SHARED_LD_MODULE_CXX
="$SHARED_LD_MODULE_CC"
46510 { echo "$as_me:$LINENO: checking for gcc 3.1 or later" >&5
46511 echo $ECHO_N "checking for gcc 3.1 or later... $ECHO_C" >&6; }
46512 if test "${bakefile_cv_gcc31+set}" = set; then
46513 echo $ECHO_N "(cached) $ECHO_C" >&6
46516 cat >conftest.
$ac_ext <<_ACEOF
46519 cat confdefs.h
>>conftest.
$ac_ext
46520 cat >>conftest.
$ac_ext <<_ACEOF
46521 /* end confdefs.h. */
46527 #if (__GNUC__ < 3) || \
46528 ((__GNUC__ == 3) && (__GNUC_MINOR__ < 1))
46536 rm -f conftest.
$ac_objext
46537 if { (ac_try
="$ac_compile"
46538 case "(($ac_try" in
46539 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
46540 *) ac_try_echo=$ac_try;;
46542 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46543 (eval "$ac_compile") 2>conftest.er1
46545 grep -v '^ *+' conftest.er1 >conftest.err
46547 cat conftest.err >&5
46548 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46549 (exit $ac_status); } && {
46550 test -z "$ac_c_werror_flag" ||
46551 test ! -s conftest.err
46552 } && test -s conftest.$ac_objext; then
46554 bakefile_cv_gcc31=yes
46557 echo "$as_me: failed program was:" >&5
46558 sed 's/^/| /' conftest.$ac_ext >&5
46561 bakefile_cv_gcc31=no
46566 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46569 { echo "$as_me:$LINENO: result: $bakefile_cv_gcc31" >&5
46570 echo "${ECHO_T}$bakefile_cv_gcc31" >&6; }
46571 if test "$bakefile_cv_gcc31" = "no"; then
46572 SHARED_LD_CC="`pwd`/shared-ld-sh -dynamiclib -headerpad_max_install_names -o"
46573 SHARED_LD_CXX="$SHARED_LD_CC"
46575 SHARED_LD_CC="\${CC} -dynamiclib -single_module -headerpad_max_install_names -o"
46576 SHARED_LD_CXX="\${CXX} -dynamiclib -single_module -headerpad_max_install_names -o"
46579 if test "x$GCC" == "xyes"; then
46580 PIC_FLAG="-dynamic -fPIC"
46582 if test "x$XLCC" = "xyes"; then
46583 PIC_FLAG="-dynamic -DPIC"
46588 if test "x$GCC" = "xyes"; then
46591 case "${BAKEFILE_HOST}" in
46593 LD_EXPFULL="-Wl,-bexpfull"
46597 SHARED_LD_CC="\$(CC) -shared $LD_EXPFULL -o"
46598 SHARED_LD_CXX="\$(CXX) -shared $LD_EXPFULL -o"
46600 # Extract the first word of "makeC++SharedLib", so it can be a program name with args.
46601 set dummy makeC++SharedLib; ac_word=$2
46602 { echo "$as_me:$LINENO: checking for $ac_word" >&5
46603 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
46604 if test "${ac_cv_prog_AIX_CXX_LD+set}" = set; then
46605 echo $ECHO_N "(cached) $ECHO_C" >&6
46607 if test -n "$AIX_CXX_LD"; then
46608 ac_cv_prog_AIX_CXX_LD="$AIX_CXX_LD" # Let the user override the test.
46610 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
46611 for as_dir in $PATH
46614 test -z "$as_dir" && as_dir=.
46615 for ac_exec_ext in '' $ac_executable_extensions; do
46616 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
46617 ac_cv_prog_AIX_CXX_LD="makeC++SharedLib"
46618 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
46625 test -z "$ac_cv_prog_AIX_CXX_LD" && ac_cv_prog_AIX_CXX_LD="/usr/lpp/xlC/bin/makeC++SharedLib"
46628 AIX_CXX_LD=$ac_cv_prog_AIX_CXX_LD
46629 if test -n "$AIX_CXX_LD"; then
46630 { echo "$as_me:$LINENO: result: $AIX_CXX_LD" >&5
46631 echo "${ECHO_T}$AIX_CXX_LD" >&6; }
46633 { echo "$as_me:$LINENO: result: no" >&5
46634 echo "${ECHO_T}no" >&6; }
46638 SHARED_LD_CC="$AIX_CC_LD -p 0 -o"
46639 SHARED_LD_CXX="$AIX_CXX_LD -p 0 -o"
46644 SHARED_LD_CC="${LD} -nostart -o"
46645 SHARED_LD_CXX="${LD} -nostart -o"
46649 if test "x$GCC" != "xyes"; then
46654 *-*-cygwin* | *-*-mingw32* )
46656 SHARED_LD_CC="\$(CC) -shared -o"
46657 SHARED_LD_CXX="\$(CXX) -shared -o"
46661 *-pc-os2_emx | *-pc-os2-emx )
46662 SHARED_LD_CC="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
46663 SHARED_LD_CXX="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
46667 cat <<EOF >dllar.sh
46670 # dllar - a tool to build both a .dll and an .a file
46671 # from a set of object (.o) files for EMX/OS2.
46673 # Written by Andrew Zabolotny, bit@freya.etu.ru
46674 # Ported to Unix like shell by Stefan Neis, Stefan.Neis@t-online.de
46676 # This script will accept a set of files on the command line.
46677 # All the public symbols from the .o files will be exported into
46678 # a .DEF file, then linker will be run (through gcc) against them to
46679 # build a shared library consisting of all given .o files. All libraries
46680 # (.a) will be first decompressed into component .o files then act as
46681 # described above. You can optionally give a description (-d "description")
46682 # which will be put into .DLL. To see the list of accepted options (as well
46683 # as command-line format) simply run this program without options. The .DLL
46684 # is built to be imported by name (there is no guarantee that new versions
46685 # of the library you build will have same ordinals for same symbols).
46687 # dllar is free software; you can redistribute it and/or modify
46688 # it under the terms of the GNU General Public License as published by
46689 # the Free Software Foundation; either version 2, or (at your option)
46690 # any later version.
46692 # dllar is distributed in the hope that it will be useful,
46693 # but WITHOUT ANY WARRANTY; without even the implied warranty of
46694 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
46695 # GNU General Public License for more details.
46697 # You should have received a copy of the GNU General Public License
46698 # along with dllar; see the file COPYING. If not, write to the Free
46699 # Software Foundation, 59 Temple Place - Suite 330, Boston, MA
46702 # To successfuly run this program you will need:
46703 # - Current drive should have LFN support (HPFS, ext2, network, etc)
46704 # (Sometimes dllar generates filenames which won't fit 8.3 scheme)
46706 # (used to build the .dll)
46708 # (used to create .def file from .o files)
46710 # (used to create .a file from .def file)
46711 # - GNU text utilites (cat, sort, uniq)
46712 # used to process emxexp output
46713 # - GNU file utilities (mv, rm)
46715 # - lxlite (optional, see flag below)
46716 # (used for general .dll cleanup)
46723 # basnam, variant of basename, which does _not_ remove the path, _iff_
46724 # second argument (suffix to remove) is given
46728 echo ${D}1 | sed 's/.*\\///' | sed 's/.*\\\\//'
46731 echo ${D}1 | sed 's/'${D}2'${D}//'
46734 echo "error in basnam ${D}*"
46740 # Cleanup temporary files and output
46743 for i in ${D}inputFiles ; do
46746 rm -rf \`basnam
${D}i
!\
`
46753 # Kill result in case of failure as there is just to many stupid make/nmake
46754 # things out there which doesn't do this.
46755 if [ ${D}# -eq 0 ]; then
46756 rm -f ${D}arcFile ${D}arcFile2 ${D}defFile ${D}dllFile
46760 # Print usage and exit script with rc=1.
46762 echo 'Usage: dllar.sh [-o[utput] output_file] [-i[mport] importlib_name]'
46763 echo ' [-name-mangler-script script.sh]'
46764 echo ' [-d[escription] "dll descrption"] [-cc "CC"] [-f[lags] "CFLAGS"]'
46765 echo ' [-ord[inals]] -ex[clude] "symbol(s)"'
46766 echo ' [-libf[lags] "{INIT|TERM}{GLOBAL|INSTANCE}"] [-nocrt[dll]] [-nolxl[ite]]'
46767 echo ' [*.o] [*.a]'
46768 echo '*> "output_file" should have no extension.'
46769 echo ' If it has the .o, .a or .dll extension, it is automatically removed.'
46770 echo ' The import library name is derived from this and is set to "name".a,'
46771 echo ' unless overridden by -import'
46772 echo '*> "importlib_name" should have no extension.'
46773 echo ' If it has the .o, or .a extension, it is automatically removed.'
46774 echo ' This name is used as the import library name and may be longer and'
46775 echo ' more descriptive than the DLL name which has to follow the old '
46776 echo ' 8.3 convention of FAT.'
46777 echo '*> "script.sh may be given to override the output_file name by a'
46778 echo ' different name. It is mainly useful if the regular make process'
46779 echo ' of some package does not take into account OS/2 restriction of'
46780 echo ' DLL name lengths. It takes the importlib name as input and is'
46781 echo ' supposed to procude a shorter name as output. The script should'
46782 echo ' expect to get importlib_name without extension and should produce'
46783 echo ' a (max.) 8 letter name without extension.'
46784 echo '*> "cc" is used to use another GCC executable. (default: gcc.exe)'
46785 echo '*> "flags" should be any set of valid GCC flags. (default: -s -Zcrtdll)'
46786 echo ' These flags will be put at the start of GCC command line.'
46787 echo '*> -ord[inals] tells dllar to export entries by ordinals. Be careful.'
46788 echo '*> -ex[clude] defines symbols which will not be exported. You can define'
46789 echo ' multiple symbols, for example -ex "myfunc yourfunc _GLOBAL*".'
46790 echo ' If the last character of a symbol is "*", all symbols beginning'
46791 echo ' with the prefix before "*" will be exclude, (see _GLOBAL* above).'
46792 echo '*> -libf[lags] can be used to add INITGLOBAL/INITINSTANCE and/or'
46793 echo ' TERMGLOBAL/TERMINSTANCE flags to the dynamically-linked library.'
46794 echo '*> -nocrt[dll] switch will disable linking the library against emx''s'
46795 echo ' C runtime DLLs.'
46796 echo '*> -nolxl[ite] switch will disable running lxlite on the resulting DLL.'
46797 echo '*> All other switches (for example -L./ or -lmylib) will be passed'
46798 echo ' unchanged to GCC at the end of command line.'
46799 echo '*> If you create a DLL from a library and you do not specify -o,'
46800 echo ' the basename for DLL and import library will be set to library name,'
46801 echo ' the initial library will be renamed to 'name'_s.a (_s for static)'
46802 echo ' i.e. "dllar gcc.a" will create gcc.dll and gcc.a, and the initial'
46803 echo ' library will be renamed into gcc_s.a.'
46806 echo ' dllar -o gcc290.dll libgcc.a -d "GNU C runtime library" -ord'
46807 echo ' -ex "__main __ctordtor*" -libf "INITINSTANCE TERMINSTANCE"'
46812 # Execute a command.
46813 # If exit code of the commnad <> 0 CleanUp() is called and we'll exit the script.
46814 # @Uses Whatever CleanUp() uses.
46820 if [ ${D}rcCmd -ne 0 ]; then
46821 echo "command failed, exit code="${D}rcCmd
46836 CFLAGS="-s -Zcrtdll"
46838 EXPORT_BY_ORDINALS=0
46843 case ${D}curDirS in
46847 curDirS=${D}{curDirS}"/"
46850 # Parse commandline
46853 while [ ${D}1 ]; do
46856 EXPORT_BY_ORDINALS=1;
46866 -name-mangler-script)
46887 exclude_symbols=${D}{exclude_symbols}${D}1" "
46891 library_flags=${D}{library_flags}${D}1" "
46910 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
46913 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS} \`basnam
${D}1 .dll\
`"
46914 if [ ${D}omfLinking -eq 1 ]; then
46915 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.lib"
46917 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.a"
46922 if [ ${D}libsToLink -ne 0 ]; then
46923 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
46925 for file in ${D}1 ; do
46926 if [ -f ${D}file ]; then
46927 inputFiles="${D}{inputFiles} ${D}file"
46931 if [ ${D}found -eq 0 ]; then
46932 echo "ERROR: No file(s) found: "${D}1
46939 done # iterate cmdline words
46942 if [ -z "${D}inputFiles" ]; then
46943 echo "dllar: no input files"
46947 # Now extract all .o files from .a files
46949 for file in ${D}inputFiles ; do
46960 EXTRA_CFLAGS="${D}EXTRA_CFLAGS -Zomf"
46965 dirname=\`basnam
${D}file ${D}suffix\
`"_%"
46967 if [ ${D}? -ne 0 ]; then
46968 echo "Failed to create subdirectory ./${D}dirname"
46972 # Append '!' to indicate archive
46973 newInputFiles="${D}newInputFiles ${D}{dirname}!"
46974 doCommand "cd ${D}dirname; ${D}AR x ../${D}file"
46977 for subfile in ${D}dirname/*.o* ; do
46978 if [ -f ${D}subfile ]; then
46980 if [ -s ${D}subfile ]; then
46981 # FIXME: This should be: is file size > 32 byte, _not_ > 0!
46982 newInputFiles="${D}newInputFiles ${D}subfile"
46986 if [ ${D}found -eq 0 ]; then
46987 echo "WARNING: there are no files in archive \\'${D}file\\'"
46991 newInputFiles="${D}{newInputFiles} ${D}file"
46995 inputFiles="${D}newInputFiles"
46997 # Output filename(s).
46999 if [ -z ${D}outFile ]; then
47001 set outFile ${D}inputFiles; outFile=${D}2
47004 # If it is an archive, remove the '!' and the '_%' suffixes
47005 case ${D}outFile in
47007 outFile=\`basnam
${D}outFile _
%!\
`
47012 case ${D}outFile in
47014 outFile=\`basnam
${D}outFile .dll\
`
47017 outFile=\`basnam
${D}outFile .DLL\
`
47020 outFile=\`basnam
${D}outFile .o\
`
47023 outFile=\`basnam
${D}outFile .obj\
`
47026 outFile=\`basnam
${D}outFile .a\
`
47029 outFile=\`basnam
${D}outFile .lib\
`
47034 case ${D}outimpFile in
47036 outimpFile=\`basnam
${D}outimpFile .a\
`
47039 outimpFile=\`basnam
${D}outimpFile .lib\
`
47044 if [ -z ${D}outimpFile ]; then
47045 outimpFile=${D}outFile
47047 defFile="${D}{outFile}.def"
47048 arcFile="${D}{outimpFile}.a"
47049 arcFile2="${D}{outimpFile}.lib"
47051 #create ${D}dllFile as something matching 8.3 restrictions,
47052 if [ -z ${D}renameScript ] ; then
47053 dllFile="${D}outFile"
47055 dllFile=\`${D}renameScript
${D}outimpFile\
`
47058 if [ ${D}do_backup -ne 0 ] ; then
47059 if [ -f ${D}arcFile ] ; then
47060 doCommand "mv ${D}arcFile ${D}{outFile}_s.a"
47062 if [ -f ${D}arcFile2 ] ; then
47063 doCommand "mv ${D}arcFile2 ${D}{outFile}_s.lib"
47067 # Extract public symbols from all the object files.
47068 tmpdefFile=${D}{defFile}_%
47069 rm -f ${D}tmpdefFile
47070 for file in ${D}inputFiles ; do
47075 doCommand "emxexp -u ${D}file >> ${D}tmpdefFile"
47080 # Create the def file.
47082 echo "LIBRARY \`basnam
${D}dllFile\
` ${D}library_flags" >> ${D}defFile
47083 dllFile="${D}{dllFile}.dll"
47084 if [ ! -z ${D}description ]; then
47085 echo "DESCRIPTION \\"${D}{description}\\"" >> ${D}defFile
47087 echo "EXPORTS" >> ${D}defFile
47089 doCommand "cat ${D}tmpdefFile | sort.exe | uniq.exe > ${D}{tmpdefFile}%"
47090 grep -v "^ *;" < ${D}{tmpdefFile}% | grep -v "^ *${D}" >${D}tmpdefFile
47092 # Checks if the export is ok or not.
47093 for word in ${D}exclude_symbols; do
47094 grep -v ${D}word < ${D}tmpdefFile >${D}{tmpdefFile}%
47095 mv ${D}{tmpdefFile}% ${D}tmpdefFile
47099 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
47100 sed "=" < ${D}tmpdefFile | \\
47104 s/^\\([0-9]\\+\\)\\([^;]*\\)\\(;.*\\)\\?/\\2 @\\1 NONAME/
47106 ' > ${D}{tmpdefFile}%
47107 grep -v "^ *${D}" < ${D}{tmpdefFile}% > ${D}tmpdefFile
47109 rm -f ${D}{tmpdefFile}%
47111 cat ${D}tmpdefFile >> ${D}defFile
47112 rm -f ${D}tmpdefFile
47114 # Do linking, create implib, and apply lxlite.
47116 for file in ${D}inputFiles ; do
47121 gccCmdl="${D}gccCmdl ${D}file"
47125 doCommand "${D}CC ${D}CFLAGS -Zdll -o ${D}dllFile ${D}defFile ${D}gccCmdl ${D}EXTRA_CFLAGS"
47126 touch "${D}{outFile}.dll"
47128 doCommand "emximp -o ${D}arcFile ${D}defFile"
47129 if [ ${D}flag_USE_LXLITE -ne 0 ]; then
47131 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
47134 doCommand "lxlite -cs -t: -mrn -mln ${D}add_flags ${D}dllFile"
47136 doCommand "emxomf -s -l ${D}arcFile"
47146 powerpc-apple-macos* | \
47147 *-*-freebsd* | *-*-openbsd* | *-*-netbsd* | *-*-k*bsd*-gnu | \
47157 { { echo "$as_me:$LINENO: error: unknown system type $BAKEFILE_HOST." >&5
47158 echo "$as_me: error: unknown system type $BAKEFILE_HOST." >&2;}
47159 { (exit 1); exit 1; }; }
47162 if test "x$PIC_FLAG" != "x" ; then
47163 PIC_FLAG="$PIC_FLAG -DPIC"
47166 if test "x$SHARED_LD_MODULE_CC" = "x" ; then
47167 SHARED_LD_MODULE_CC="$SHARED_LD_CC"
47169 if test "x$SHARED_LD_MODULE_CXX" = "x" ; then
47170 SHARED_LD_MODULE_CXX="$SHARED_LD_CXX"
47189 case "${BAKEFILE_HOST}" in
47190 *-*-linux* | *-*-freebsd* | *-*-k*bsd*-gnu )
47191 SONAME_FLAG="-Wl,-soname,"
47225 # Check whether --enable-dependency-tracking was given.
47226 if test "${enable_dependency_tracking+set}" = set; then
47227 enableval=$enable_dependency_tracking; bk_use_trackdeps="$enableval"
47231 { echo "$as_me:$LINENO: checking for dependency tracking method" >&5
47232 echo $ECHO_N "checking for dependency tracking method... $ECHO_C" >&6; }
47235 if test "x$bk_use_trackdeps" = "xno" ; then
47237 { echo "$as_me:$LINENO: result: disabled" >&5
47238 echo "${ECHO_T}disabled" >&6; }
47242 if test "x$GCC" = "xyes"; then
47244 case "${BAKEFILE_HOST}" in
47246 DEPSFLAG="-no-cpp-precomp -MMD"
47252 { echo "$as_me:$LINENO: result: gcc" >&5
47253 echo "${ECHO_T}gcc" >&6; }
47254 elif test "x$MWCC" = "xyes"; then
47257 { echo "$as_me:$LINENO: result: mwcc" >&5
47258 echo "${ECHO_T}mwcc" >&6; }
47259 elif test "x$SUNCC" = "xyes"; then
47262 { echo "$as_me:$LINENO: result: Sun cc" >&5
47263 echo "${ECHO_T}Sun cc" >&6; }
47264 elif test "x$SGICC" = "xyes"; then
47267 { echo "$as_me:$LINENO: result: SGI cc" >&5
47268 echo "${ECHO_T}SGI cc" >&6; }
47269 elif test "x$HPCC" = "xyes"; then
47272 { echo "$as_me:$LINENO: result: HP cc" >&5
47273 echo "${ECHO_T}HP cc" >&6; }
47274 elif test "x$COMPAQCC" = "xyes"; then
47277 { echo "$as_me:$LINENO: result: Compaq cc" >&5
47278 echo "${ECHO_T}Compaq cc" >&6; }
47281 { echo "$as_me:$LINENO: result: none" >&5
47282 echo "${ECHO_T}none" >&6; }
47285 if test $DEPS_TRACKING = 1 ; then
47291 # This script is part of Bakefile (http://bakefile.sourceforge.net) autoconf
47292 # script. It is used to track C/C++ files dependencies in portable way.
47294 # Permission is given to use this file in any way.
47296 DEPSMODE=${DEPSMODE}
47298 DEPSFLAG="${DEPSFLAG}"
47300 mkdir -p ${D}DEPSDIR
47302 if test ${D}DEPSMODE = gcc ; then
47303 ${D}* ${D}{DEPSFLAG}
47305 if test ${D}{status} != 0 ; then
47308 # move created file to the location we want it in:
47309 while test ${D}# -gt 0; do
47323 depfile=\`basename ${D}srcfile
| sed -e 's/\\..*${D}/.d/g'\
`
47324 depobjname=\`echo ${D}depfile
|sed -e 's/\\.d/.o/g'\
`
47325 if test -f ${D}depfile ; then
47326 sed -e "s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{DEPSDIR}/${D}{objfile}.d
47329 # "g++ -MMD -o fooobj.o foosrc.cpp" produces fooobj.d
47330 depfile=\`basename ${D}objfile
| sed -e 's/\\..*${D}/.d/g'\
`
47331 if test ! -f ${D}depfile ; then
47332 # "cxx -MD -o fooobj.o foosrc.cpp" creates fooobj.o.d (Compaq C++)
47333 depfile="${D}objfile.d"
47335 if test -f ${D}depfile ; then
47336 sed -e "/^${D}objfile/!s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{DEPSDIR}/${D}{objfile}.d
47341 elif test ${D}DEPSMODE = mwcc ; then
47342 ${D}* || exit ${D}?
47343 # Run mwcc again with -MM and redirect into the dep file we want
47344 # NOTE: We can't use shift here because we need ${D}* to be valid
47346 for arg in ${D}* ; do
47347 if test "${D}prevarg" = "-o"; then
47360 ${D}* ${D}DEPSFLAG >${D}{DEPSDIR}/${D}{objfile}.d
47362 elif test ${D}DEPSMODE = unixcc; then
47363 ${D}* || exit ${D}?
47364 # Run compiler again with deps flag and redirect into the dep file.
47365 # It doesn't work if the '-o FILE' option is used, but without it the
47366 # dependency file will contain the wrong name for the object. So it is
47367 # removed from the command line, and the dep file is fixed with sed.
47369 while test ${D}# -gt 0; do
47376 eval arg${D}#=\\${D}1
47377 cmd="${D}cmd \\${D}arg${D}#"
47382 eval "${D}cmd ${D}DEPSFLAG" | sed "s|.*:|${D}objfile:|" >${D}{DEPSDIR}/${D}{objfile}.d
47391 BK_DEPS="`pwd`/bk-deps"
47399 case ${BAKEFILE_HOST} in
47400 *-*-cygwin* | *-*-mingw32* )
47401 if test -n "$ac_tool_prefix"; then
47402 # Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args.
47403 set dummy ${ac_tool_prefix}windres; ac_word=$2
47404 { echo "$as_me:$LINENO: checking for $ac_word" >&5
47405 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
47406 if test "${ac_cv_prog_WINDRES+set}" = set; then
47407 echo $ECHO_N "(cached) $ECHO_C" >&6
47409 if test -n "$WINDRES"; then
47410 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
47412 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
47413 for as_dir in $PATH
47416 test -z "$as_dir" && as_dir=.
47417 for ac_exec_ext in '' $ac_executable_extensions; do
47418 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
47419 ac_cv_prog_WINDRES="${ac_tool_prefix}windres"
47420 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47429 WINDRES=$ac_cv_prog_WINDRES
47430 if test -n "$WINDRES"; then
47431 { echo "$as_me:$LINENO: result: $WINDRES" >&5
47432 echo "${ECHO_T}$WINDRES" >&6; }
47434 { echo "$as_me:$LINENO: result: no" >&5
47435 echo "${ECHO_T}no" >&6; }
47440 if test -z "$ac_cv_prog_WINDRES"; then
47441 ac_ct_WINDRES=$WINDRES
47442 # Extract the first word of "windres", so it can be a program name with args.
47443 set dummy windres; ac_word=$2
47444 { echo "$as_me:$LINENO: checking for $ac_word" >&5
47445 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
47446 if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then
47447 echo $ECHO_N "(cached) $ECHO_C" >&6
47449 if test -n "$ac_ct_WINDRES"; then
47450 ac_cv_prog_ac_ct_WINDRES="$ac_ct_WINDRES" # Let the user override the test.
47452 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
47453 for as_dir in $PATH
47456 test -z "$as_dir" && as_dir=.
47457 for ac_exec_ext in '' $ac_executable_extensions; do
47458 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
47459 ac_cv_prog_ac_ct_WINDRES="windres"
47460 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47469 ac_ct_WINDRES=$ac_cv_prog_ac_ct_WINDRES
47470 if test -n "$ac_ct_WINDRES"; then
47471 { echo "$as_me:$LINENO: result: $ac_ct_WINDRES" >&5
47472 echo "${ECHO_T}$ac_ct_WINDRES" >&6; }
47474 { echo "$as_me:$LINENO: result: no" >&5
47475 echo "${ECHO_T}no" >&6; }
47478 if test "x$ac_ct_WINDRES" = x; then
47481 case $cross_compiling:$ac_tool_warned in
47483 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
47484 whose name does not start with the host triplet. If you think this
47485 configuration is useful to you, please write to autoconf@gnu.org." >&5
47486 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
47487 whose name does not start with the host triplet. If you think this
47488 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
47489 ac_tool_warned=yes ;;
47491 WINDRES=$ac_ct_WINDRES
47494 WINDRES="$ac_cv_prog_WINDRES"
47499 *-*-darwin* | powerpc-apple-macos* )
47500 # Extract the first word of "Rez", so it can be a program name with args.
47501 set dummy Rez; ac_word=$2
47502 { echo "$as_me:$LINENO: checking for $ac_word" >&5
47503 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
47504 if test "${ac_cv_prog_REZ+set}" = set; then
47505 echo $ECHO_N "(cached) $ECHO_C" >&6
47507 if test -n "$REZ"; then
47508 ac_cv_prog_REZ="$REZ" # Let the user override the test.
47510 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
47511 for as_dir in $PATH
47514 test -z "$as_dir" && as_dir=.
47515 for ac_exec_ext in '' $ac_executable_extensions; do
47516 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
47517 ac_cv_prog_REZ="Rez"
47518 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47525 test -z "$ac_cv_prog_REZ" && ac_cv_prog_REZ="/Developer/Tools/Rez"
47528 REZ=$ac_cv_prog_REZ
47529 if test -n "$REZ"; then
47530 { echo "$as_me:$LINENO: result: $REZ" >&5
47531 echo "${ECHO_T}$REZ" >&6; }
47533 { echo "$as_me:$LINENO: result: no" >&5
47534 echo "${ECHO_T}no" >&6; }
47538 # Extract the first word of "SetFile", so it can be a program name with args.
47539 set dummy SetFile; ac_word=$2
47540 { echo "$as_me:$LINENO: checking for $ac_word" >&5
47541 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
47542 if test "${ac_cv_prog_SETFILE+set}" = set; then
47543 echo $ECHO_N "(cached) $ECHO_C" >&6
47545 if test -n "$SETFILE"; then
47546 ac_cv_prog_SETFILE="$SETFILE" # Let the user override the test.
47548 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
47549 for as_dir in $PATH
47552 test -z "$as_dir" && as_dir=.
47553 for ac_exec_ext in '' $ac_executable_extensions; do
47554 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
47555 ac_cv_prog_SETFILE="SetFile"
47556 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47563 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE="/Developer/Tools/SetFile"
47566 SETFILE=$ac_cv_prog_SETFILE
47567 if test -n "$SETFILE"; then
47568 { echo "$as_me:$LINENO: result: $SETFILE" >&5
47569 echo "${ECHO_T}$SETFILE" >&6; }
47571 { echo "$as_me:$LINENO: result: no" >&5
47572 echo "${ECHO_T}no" >&6; }
47584 BAKEFILE_BAKEFILE_M4_VERSION="0.2.2"
47587 BAKEFILE_AUTOCONF_INC_M4_VERSION="0.2.2"
47591 # Check whether --enable-precomp-headers was given.
47592 if test "${enable_precomp_headers+set}" = set; then
47593 enableval=$enable_precomp_headers; bk_use_pch="$enableval"
47602 case ${BAKEFILE_HOST} in
47608 if test "x$bk_use_pch" = "x" -o "x$bk_use_pch" = "xyes" ; then
47609 if test "x$GCC" = "xyes"; then
47610 { echo "$as_me:$LINENO: checking if the compiler supports precompiled headers" >&5
47611 echo $ECHO_N "checking if the compiler supports precompiled headers... $ECHO_C" >&6; }
47612 cat >conftest.$ac_ext <<_ACEOF
47615 cat confdefs.h >>conftest.$ac_ext
47616 cat >>conftest.$ac_ext <<_ACEOF
47617 /* end confdefs.h. */
47623 #if !defined(__GNUC__) || !defined(__GNUC_MINOR__)
47624 There is no PCH support
47627 There is no PCH support
47629 #if (__GNUC__ == 3) && \
47630 ((!defined(__APPLE_CC__) && (__GNUC_MINOR__ < 4)) || \
47631 ( defined(__APPLE_CC__) && (__GNUC_MINOR__ < 3))) || \
47632 ( defined(__INTEL_COMPILER) )
47633 There is no PCH support
47640 rm -f conftest.$ac_objext
47641 if { (ac_try="$ac_compile"
47642 case "(($ac_try" in
47643 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
47644 *) ac_try_echo
=$ac_try;;
47646 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47647 (eval "$ac_compile") 2>conftest.er1
47649 grep -v '^ *+' conftest.er1
>conftest.err
47651 cat conftest.err
>&5
47652 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47653 (exit $ac_status); } && {
47654 test -z "$ac_c_werror_flag" ||
47655 test ! -s conftest.err
47656 } && test -s conftest.
$ac_objext; then
47658 { echo "$as_me:$LINENO: result: yes" >&5
47659 echo "${ECHO_T}yes" >&6; }
47663 echo "$as_me: failed program was:" >&5
47664 sed 's/^/| /' conftest.
$ac_ext >&5
47667 cat >conftest.
$ac_ext <<_ACEOF
47670 cat confdefs.h
>>conftest.
$ac_ext
47671 cat >>conftest.
$ac_ext <<_ACEOF
47672 /* end confdefs.h. */
47678 #if !defined(__INTEL_COMPILER) || \
47679 (__INTEL_COMPILER < 800)
47680 There is no PCH support
47687 rm -f conftest.
$ac_objext
47688 if { (ac_try
="$ac_compile"
47689 case "(($ac_try" in
47690 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
47691 *) ac_try_echo=$ac_try;;
47693 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47694 (eval "$ac_compile") 2>conftest.er1
47696 grep -v '^ *+' conftest.er1 >conftest.err
47698 cat conftest.err >&5
47699 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47700 (exit $ac_status); } && {
47701 test -z "$ac_c_werror_flag" ||
47702 test ! -s conftest.err
47703 } && test -s conftest.$ac_objext; then
47705 { echo "$as_me:$LINENO: result: yes" >&5
47706 echo "${ECHO_T}yes" >&6; }
47710 echo "$as_me: failed program was:" >&5
47711 sed 's/^/| /' conftest.$ac_ext >&5
47714 { echo "$as_me:$LINENO: result: no" >&5
47715 echo "${ECHO_T}no" >&6; }
47719 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47723 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47724 if test $GCC_PCH = 1 -o $ICC_PCH = 1 ; then
47728 cat <<EOF >bk-make-pch
47731 # This script is part of Bakefile (http://bakefile.sourceforge.net) autoconf
47732 # script. It is used to generated precompiled headers.
47734 # Permission is given to use this file in any way.
47744 while test ${D}{#} -gt 0; do
47748 incdir=\`echo ${D}{1} | sed -e 's/-I\\(.*\\)/\\1/g'\
`
47749 if test "x${D}{headerfile}" = "x" -a -f "${D}{incdir}/${D}{header}" ; then
47750 headerfile="${D}{incdir}/${D}{header}"
47753 -use-pch|-use_pch )
47758 if test ${D}add_to_cmdline = 1 ; then
47759 compiler="${D}{compiler} ${D}{1}"
47764 if test "x${D}{headerfile}" = "x" ; then
47765 echo "error: can't find header ${D}{header} in include paths" >&2
47767 if test -f ${D}{outfile} ; then
47768 rm -f ${D}{outfile}
47770 mkdir -p \`dirname ${D}{outfile
}\
`
47772 depsfile=".deps/\`echo ${D}{outfile
} | tr '/.' '__'\
`.d"
47774 if test "x${GCC_PCH}" = "x1" ; then
47775 # can do this because gcc is >= 3.4:
47776 ${D}{compiler} -o ${D}{outfile} -MMD -MF "${D}{depsfile}" "${D}{headerfile}"
47777 elif test "x${ICC_PCH}" = "x1" ; then
47778 filename=pch_gen-${D}${D}
47779 file=${D}{filename}.c
47780 dfile=${D}{filename}.d
47781 cat > ${D}file <<EOT
47782 #include "${D}header"
47784 # using -MF icc complains about differing command lines in creation/use
47785 ${D}compiler -c -create_pch ${D}outfile -MMD ${D}file && \\
47786 sed -e "s,^.*:,${D}outfile:," -e "s, ${D}file,," < ${D}dfile > ${D}depsfile && \\
47787 rm -f ${D}file ${D}dfile ${D}{filename}.o
47793 chmod +x bk-make-pch
47794 BK_MAKE_PCH="`pwd`/bk-make-pch"
47803 COND_BUILD_DEBUG="#"
47804 if test "x$BUILD" = "xdebug" ; then
47805 COND_BUILD_DEBUG=""
47808 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT="#"
47809 if test "x$BUILD" = "xdebug" -a "x$DEBUG_FLAG" = "xdefault" ; then
47810 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT=""
47813 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT="#"
47814 if test "x$BUILD" = "xdebug" -a "x$DEBUG_INFO" = "xdefault" ; then
47815 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT=""
47818 COND_BUILD_DEBUG_UNICODE_0="#"
47819 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x0" ; then
47820 COND_BUILD_DEBUG_UNICODE_0=""
47823 COND_BUILD_DEBUG_UNICODE_1="#"
47824 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x1" ; then
47825 COND_BUILD_DEBUG_UNICODE_1=""
47828 COND_BUILD_RELEASE="#"
47829 if test "x$BUILD" = "xrelease" ; then
47830 COND_BUILD_RELEASE=""
47833 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT="#"
47834 if test "x$BUILD" = "xrelease" -a "x$DEBUG_INFO" = "xdefault" ; then
47835 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT=""
47838 COND_BUILD_RELEASE_UNICODE_0="#"
47839 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x0" ; then
47840 COND_BUILD_RELEASE_UNICODE_0=""
47843 COND_BUILD_RELEASE_UNICODE_1="#"
47844 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x1" ; then
47845 COND_BUILD_RELEASE_UNICODE_1=""
47848 COND_DEBUG_FLAG_1="#"
47849 if test "x$DEBUG_FLAG" = "x1" ; then
47850 COND_DEBUG_FLAG_1=""
47853 COND_DEBUG_INFO_0="#"
47854 if test "x$DEBUG_INFO" = "x0" ; then
47855 COND_DEBUG_INFO_0=""
47858 COND_DEBUG_INFO_1="#"
47859 if test "x$DEBUG_INFO" = "x1" ; then
47860 COND_DEBUG_INFO_1=""
47863 COND_DEPS_TRACKING_0="#"
47864 if test "x$DEPS_TRACKING" = "x0" ; then
47865 COND_DEPS_TRACKING_0=""
47868 COND_DEPS_TRACKING_1="#"
47869 if test "x$DEPS_TRACKING" = "x1" ; then
47870 COND_DEPS_TRACKING_1=""
47874 if test "x$GCC_PCH" = "x1" ; then
47879 if test "x$ICC_PCH" = "x1" ; then
47883 COND_MONOLITHIC_0="#"
47884 if test "x$MONOLITHIC" = "x0" ; then
47885 COND_MONOLITHIC_0=""
47888 COND_MONOLITHIC_0_SHARED_0="#"
47889 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" ; then
47890 COND_MONOLITHIC_0_SHARED_0=""
47893 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1="#"
47894 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_AUI" = "x1" ; then
47895 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1=""
47898 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1="#"
47899 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" ; then
47900 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1=""
47903 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1="#"
47904 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
47905 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1=""
47908 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1="#"
47909 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
47910 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1=""
47913 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1="#"
47914 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_ODBC" = "x1" ; then
47915 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1=""
47918 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1="#"
47919 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_QA" = "x1" ; then
47920 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1=""
47923 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1="#"
47924 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_ODBC" = "x1" ; then
47925 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1=""
47928 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1="#"
47929 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_RICHTEXT" = "x1" ; then
47930 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1=""
47933 COND_MONOLITHIC_0_SHARED_0_USE_STC_1="#"
47934 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_STC" = "x1" ; then
47935 COND_MONOLITHIC_0_SHARED_0_USE_STC_1=""
47938 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1="#"
47939 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_XRC" = "x1" ; then
47940 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1=""
47943 COND_MONOLITHIC_0_SHARED_1="#"
47944 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" ; then
47945 COND_MONOLITHIC_0_SHARED_1=""
47948 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1="#"
47949 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_AUI" = "x1" ; then
47950 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1=""
47953 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1="#"
47954 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" ; then
47955 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1=""
47958 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1="#"
47959 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
47960 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1=""
47963 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1="#"
47964 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
47965 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1=""
47968 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1="#"
47969 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_ODBC" = "x1" ; then
47970 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1=""
47973 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1="#"
47974 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_QA" = "x1" ; then
47975 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1=""
47978 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1="#"
47979 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_ODBC" = "x1" ; then
47980 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1=""
47983 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1="#"
47984 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_RICHTEXT" = "x1" ; then
47985 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1=""
47988 COND_MONOLITHIC_0_SHARED_1_USE_STC_1="#"
47989 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_STC" = "x1" ; then
47990 COND_MONOLITHIC_0_SHARED_1_USE_STC_1=""
47993 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1="#"
47994 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_XRC" = "x1" ; then
47995 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1=""
47998 COND_MONOLITHIC_0_USE_AUI_1="#"
47999 if test "x$MONOLITHIC" = "x0" -a "x$USE_AUI" = "x1" ; then
48000 COND_MONOLITHIC_0_USE_AUI_1=""
48003 COND_MONOLITHIC_0_USE_GUI_1="#"
48004 if test "x$MONOLITHIC" = "x0" -a "x$USE_GUI" = "x1" ; then
48005 COND_MONOLITHIC_0_USE_GUI_1=""
48008 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1="#"
48009 if test "x$MONOLITHIC" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
48010 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1=""
48013 COND_MONOLITHIC_0_USE_GUI_1_USE_ODBC_1="#"
48014 if test "x$MONOLITHIC" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_ODBC" = "x1" ; then
48015 COND_MONOLITHIC_0_USE_GUI_1_USE_ODBC_1=""
48018 COND_MONOLITHIC_0_USE_HTML_1="#"
48019 if test "x$MONOLITHIC" = "x0" -a "x$USE_HTML" = "x1" ; then
48020 COND_MONOLITHIC_0_USE_HTML_1=""
48023 COND_MONOLITHIC_0_USE_MEDIA_1="#"
48024 if test "x$MONOLITHIC" = "x0" -a "x$USE_MEDIA" = "x1" ; then
48025 COND_MONOLITHIC_0_USE_MEDIA_1=""
48028 COND_MONOLITHIC_0_USE_ODBC_1="#"
48029 if test "x$MONOLITHIC" = "x0" -a "x$USE_ODBC" = "x1" ; then
48030 COND_MONOLITHIC_0_USE_ODBC_1=""
48033 COND_MONOLITHIC_0_USE_QA_1="#"
48034 if test "x$MONOLITHIC" = "x0" -a "x$USE_QA" = "x1" ; then
48035 COND_MONOLITHIC_0_USE_QA_1=""
48038 COND_MONOLITHIC_0_USE_RICHTEXT_1="#"
48039 if test "x$MONOLITHIC" = "x0" -a "x$USE_RICHTEXT" = "x1" ; then
48040 COND_MONOLITHIC_0_USE_RICHTEXT_1=""
48043 COND_MONOLITHIC_0_USE_STC_1="#"
48044 if test "x$MONOLITHIC" = "x0" -a "x$USE_STC" = "x1" ; then
48045 COND_MONOLITHIC_0_USE_STC_1=""
48048 COND_MONOLITHIC_0_USE_XRC_1="#"
48049 if test "x$MONOLITHIC" = "x0" -a "x$USE_XRC" = "x1" ; then
48050 COND_MONOLITHIC_0_USE_XRC_1=""
48053 COND_MONOLITHIC_1="#"
48054 if test "x$MONOLITHIC" = "x1" ; then
48055 COND_MONOLITHIC_1=""
48058 COND_MONOLITHIC_1_SHARED_0="#"
48059 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x0" ; then
48060 COND_MONOLITHIC_1_SHARED_0=""
48063 COND_MONOLITHIC_1_SHARED_1="#"
48064 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x1" ; then
48065 COND_MONOLITHIC_1_SHARED_1=""
48068 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1="#"
48069 if test "x$OFFICIAL_BUILD" = "x0" -a "x$PLATFORM_WIN32" = "x1" ; then
48070 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1=""
48073 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1="#"
48074 if test "x$OFFICIAL_BUILD" = "x1" -a "x$PLATFORM_WIN32" = "x1" ; then
48075 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1=""
48078 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1="#"
48079 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERCYGWIN" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
48080 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1=""
48083 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1="#"
48084 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
48085 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1=""
48088 COND_PLATFORM_MACOSX_1="#"
48089 if test "x$PLATFORM_MACOSX" = "x1" ; then
48090 COND_PLATFORM_MACOSX_1=""
48093 COND_PLATFORM_MACOSX_1_TOOLKIT_="#"
48094 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "x" ; then
48095 COND_PLATFORM_MACOSX_1_TOOLKIT_=""
48098 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA="#"
48099 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xCOCOA" ; then
48100 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA=""
48103 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK="#"
48104 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xGTK" ; then
48105 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK=""
48108 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC="#"
48109 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMAC" ; then
48110 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC=""
48113 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1="#"
48114 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" ; then
48115 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1=""
48118 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF="#"
48119 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMOTIF" ; then
48120 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF=""
48123 COND_PLATFORM_MACOSX_1_TOOLKIT_X11="#"
48124 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xX11" ; then
48125 COND_PLATFORM_MACOSX_1_TOOLKIT_X11=""
48128 COND_PLATFORM_MACOSX_1_USE_GUI_1="#"
48129 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_GUI" = "x1" ; then
48130 COND_PLATFORM_MACOSX_1_USE_GUI_1=""
48133 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1="#"
48134 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
48135 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1=""
48138 COND_PLATFORM_MACOS_1="#"
48139 if test "x$PLATFORM_MACOS" = "x1" ; then
48140 COND_PLATFORM_MACOS_1=""
48143 COND_PLATFORM_MAC_1="#"
48144 if test "x$PLATFORM_MAC" = "x1" ; then
48145 COND_PLATFORM_MAC_1=""
48148 COND_PLATFORM_MSDOS_0="#"
48149 if test "x$PLATFORM_MSDOS" = "x0" ; then
48150 COND_PLATFORM_MSDOS_0=""
48153 COND_PLATFORM_MSDOS_1="#"
48154 if test "x$PLATFORM_MSDOS" = "x1" ; then
48155 COND_PLATFORM_MSDOS_1=""
48158 COND_PLATFORM_OS2_1="#"
48159 if test "x$PLATFORM_OS2" = "x1" ; then
48160 COND_PLATFORM_OS2_1=""
48163 COND_PLATFORM_UNIX_0="#"
48164 if test "x$PLATFORM_UNIX" = "x0" ; then
48165 COND_PLATFORM_UNIX_0=""
48168 COND_PLATFORM_UNIX_1="#"
48169 if test "x$PLATFORM_UNIX" = "x1" ; then
48170 COND_PLATFORM_UNIX_1=""
48173 COND_PLATFORM_UNIX_1_TOOLKIT_MGL="#"
48174 if test "x$PLATFORM_UNIX" = "x1" -a "x$TOOLKIT" = "xMGL" ; then
48175 COND_PLATFORM_UNIX_1_TOOLKIT_MGL=""
48178 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1="#"
48179 if test "x$PLATFORM_UNIX" = "x1" -a "x$TOOLKIT" = "xMGL" -a "x$USE_GUI" = "x1" ; then
48180 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1=""
48183 COND_PLATFORM_UNIX_1_USE_GUI_1="#"
48184 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_GUI" = "x1" ; then
48185 COND_PLATFORM_UNIX_1_USE_GUI_1=""
48188 COND_PLATFORM_UNIX_1_USE_PLUGINS_0="#"
48189 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_PLUGINS" = "x0" ; then
48190 COND_PLATFORM_UNIX_1_USE_PLUGINS_0=""
48193 COND_PLATFORM_WIN32_0="#"
48194 if test "x$PLATFORM_WIN32" = "x0" ; then
48195 COND_PLATFORM_WIN32_0=""
48198 COND_PLATFORM_WIN32_1="#"
48199 if test "x$PLATFORM_WIN32" = "x1" ; then
48200 COND_PLATFORM_WIN32_1=""
48204 if test "x$SHARED" = "x0" ; then
48208 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0="#"
48209 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMAC" -a "x$WXUNIV" = "x0" ; then
48210 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0=""
48213 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0="#"
48214 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
48215 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0=""
48218 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0="#"
48219 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xPM" -a "x$WXUNIV" = "x0" ; then
48220 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0=""
48223 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1="#"
48224 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
48225 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1=""
48228 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN="#"
48229 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
48230 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN=""
48233 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN="#"
48234 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
48235 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN=""
48238 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN="#"
48239 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
48240 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN=""
48243 COND_SHARED_0_USE_STC_1="#"
48244 if test "x$SHARED" = "x0" -a "x$USE_STC" = "x1" ; then
48245 COND_SHARED_0_USE_STC_1=""
48248 COND_SHARED_0_USE_XRC_1="#"
48249 if test "x$SHARED" = "x0" -a "x$USE_XRC" = "x1" ; then
48250 COND_SHARED_0_USE_XRC_1=""
48253 COND_SHARED_0_WXUSE_EXPAT_BUILTIN="#"
48254 if test "x$SHARED" = "x0" -a "x$wxUSE_EXPAT" = "xbuiltin" ; then
48255 COND_SHARED_0_WXUSE_EXPAT_BUILTIN=""
48258 COND_SHARED_0_WXUSE_ODBC_BUILTIN="#"
48259 if test "x$SHARED" = "x0" -a "x$wxUSE_ODBC" = "xbuiltin" ; then
48260 COND_SHARED_0_WXUSE_ODBC_BUILTIN=""
48263 COND_SHARED_0_WXUSE_REGEX_BUILTIN="#"
48264 if test "x$SHARED" = "x0" -a "x$wxUSE_REGEX" = "xbuiltin" ; then
48265 COND_SHARED_0_WXUSE_REGEX_BUILTIN=""
48268 COND_SHARED_0_WXUSE_ZLIB_BUILTIN="#"
48269 if test "x$SHARED" = "x0" -a "x$wxUSE_ZLIB" = "xbuiltin" ; then
48270 COND_SHARED_0_WXUSE_ZLIB_BUILTIN=""
48274 if test "x$SHARED" = "x1" ; then
48278 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1="#"
48279 if test "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
48280 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1=""
48283 COND_SHARED_1_USE_XRC_1="#"
48284 if test "x$SHARED" = "x1" -a "x$USE_XRC" = "x1" ; then
48285 COND_SHARED_1_USE_XRC_1=""
48289 if test "x$TOOLKIT" = "x" ; then
48293 COND_TOOLKIT_COCOA="#"
48294 if test "x$TOOLKIT" = "xCOCOA" ; then
48295 COND_TOOLKIT_COCOA=""
48298 COND_TOOLKIT_COCOA_USE_GUI_1="#"
48299 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" ; then
48300 COND_TOOLKIT_COCOA_USE_GUI_1=""
48303 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0="#"
48304 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
48305 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0=""
48308 COND_TOOLKIT_DFB="#"
48309 if test "x$TOOLKIT" = "xDFB" ; then
48310 COND_TOOLKIT_DFB=""
48313 COND_TOOLKIT_DFB_USE_GUI_1="#"
48314 if test "x$TOOLKIT" = "xDFB" -a "x$USE_GUI" = "x1" ; then
48315 COND_TOOLKIT_DFB_USE_GUI_1=""
48318 COND_TOOLKIT_GTK="#"
48319 if test "x$TOOLKIT" = "xGTK" ; then
48320 COND_TOOLKIT_GTK=""
48323 COND_TOOLKIT_GTK_TOOLKIT_VERSION_="#"
48324 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" ; then
48325 COND_TOOLKIT_GTK_TOOLKIT_VERSION_=""
48328 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2="#"
48329 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" ; then
48330 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2=""
48333 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1="#"
48334 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" ; then
48335 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1=""
48338 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0="#"
48339 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
48340 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0=""
48343 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1="#"
48344 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" -a "x$USE_GUI" = "x1" ; then
48345 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1=""
48348 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0="#"
48349 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
48350 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0=""
48353 COND_TOOLKIT_GTK_USE_GUI_1="#"
48354 if test "x$TOOLKIT" = "xGTK" -a "x$USE_GUI" = "x1" ; then
48355 COND_TOOLKIT_GTK_USE_GUI_1=""
48358 COND_TOOLKIT_MAC="#"
48359 if test "x$TOOLKIT" = "xMAC" ; then
48360 COND_TOOLKIT_MAC=""
48363 COND_TOOLKIT_MAC_USE_GUI_1="#"
48364 if test "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" ; then
48365 COND_TOOLKIT_MAC_USE_GUI_1=""
48368 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0="#"
48369 if test "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
48370 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0=""
48373 COND_TOOLKIT_MGL="#"
48374 if test "x$TOOLKIT" = "xMGL" ; then
48375 COND_TOOLKIT_MGL=""
48378 COND_TOOLKIT_MGL_USE_GUI_1="#"
48379 if test "x$TOOLKIT" = "xMGL" -a "x$USE_GUI" = "x1" ; then
48380 COND_TOOLKIT_MGL_USE_GUI_1=""
48383 COND_TOOLKIT_MOTIF="#"
48384 if test "x$TOOLKIT" = "xMOTIF" ; then
48385 COND_TOOLKIT_MOTIF=""
48388 COND_TOOLKIT_MOTIF_USE_GUI_1="#"
48389 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" ; then
48390 COND_TOOLKIT_MOTIF_USE_GUI_1=""
48393 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0="#"
48394 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
48395 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0=""
48398 COND_TOOLKIT_MSW="#"
48399 if test "x$TOOLKIT" = "xMSW" ; then
48400 COND_TOOLKIT_MSW=""
48403 COND_TOOLKIT_MSW_USE_GUI_1="#"
48404 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" ; then
48405 COND_TOOLKIT_MSW_USE_GUI_1=""
48408 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0="#"
48409 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
48410 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0=""
48413 COND_TOOLKIT_MSW_WXUNIV_0="#"
48414 if test "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
48415 COND_TOOLKIT_MSW_WXUNIV_0=""
48418 COND_TOOLKIT_PM="#"
48419 if test "x$TOOLKIT" = "xPM" ; then
48423 COND_TOOLKIT_PM_USE_GUI_1="#"
48424 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" ; then
48425 COND_TOOLKIT_PM_USE_GUI_1=""
48428 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0="#"
48429 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
48430 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0=""
48433 COND_TOOLKIT_WINCE="#"
48434 if test "x$TOOLKIT" = "xWINCE" ; then
48435 COND_TOOLKIT_WINCE=""
48438 COND_TOOLKIT_WINCE_USE_GUI_1="#"
48439 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" ; then
48440 COND_TOOLKIT_WINCE_USE_GUI_1=""
48443 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0="#"
48444 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
48445 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0=""
48448 COND_TOOLKIT_WINCE_WXUNIV_0="#"
48449 if test "x$TOOLKIT" = "xWINCE" -a "x$WXUNIV" = "x0" ; then
48450 COND_TOOLKIT_WINCE_WXUNIV_0=""
48453 COND_TOOLKIT_X11="#"
48454 if test "x$TOOLKIT" = "xX11" ; then
48455 COND_TOOLKIT_X11=""
48458 COND_TOOLKIT_X11_USE_GUI_1="#"
48459 if test "x$TOOLKIT" = "xX11" -a "x$USE_GUI" = "x1" ; then
48460 COND_TOOLKIT_X11_USE_GUI_1=""
48464 if test "x$UNICODE" = "x1" ; then
48468 COND_USE_EXCEPTIONS_0="#"
48469 if test "x$USE_EXCEPTIONS" = "x0" ; then
48470 COND_USE_EXCEPTIONS_0=""
48473 COND_USE_EXCEPTIONS_1="#"
48474 if test "x$USE_EXCEPTIONS" = "x1" ; then
48475 COND_USE_EXCEPTIONS_1=""
48479 if test "x$USE_GUI" = "x0" ; then
48484 if test "x$USE_GUI" = "x1" ; then
48488 COND_USE_GUI_1_WXUNIV_0="#"
48489 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
48490 COND_USE_GUI_1_WXUNIV_0=""
48493 COND_USE_GUI_1_WXUNIV_1="#"
48494 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x1" ; then
48495 COND_USE_GUI_1_WXUNIV_1=""
48498 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN="#"
48499 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
48500 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN=""
48503 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN="#"
48504 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
48505 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN=""
48508 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN="#"
48509 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
48510 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN=""
48513 COND_USE_ODBC_1="#"
48514 if test "x$USE_ODBC" = "x1" ; then
48518 COND_USE_OPENGL_1="#"
48519 if test "x$USE_OPENGL" = "x1" ; then
48520 COND_USE_OPENGL_1=""
48524 if test "x$USE_PCH" = "x1" ; then
48528 COND_USE_PLUGINS_0="#"
48529 if test "x$USE_PLUGINS" = "x0" ; then
48530 COND_USE_PLUGINS_0=""
48533 COND_USE_RTTI_0="#"
48534 if test "x$USE_RTTI" = "x0" ; then
48538 COND_USE_RTTI_1="#"
48539 if test "x$USE_RTTI" = "x1" ; then
48543 COND_USE_SOSYMLINKS_1="#"
48544 if test "x$USE_SOSYMLINKS" = "x1" ; then
48545 COND_USE_SOSYMLINKS_1=""
48548 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1="#"
48549 if test "x$USE_SOVERCYGWIN" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
48550 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1=""
48553 COND_USE_SOVERLINUX_1="#"
48554 if test "x$USE_SOVERLINUX" = "x1" ; then
48555 COND_USE_SOVERLINUX_1=""
48558 COND_USE_SOVERSION_0="#"
48559 if test "x$USE_SOVERSION" = "x0" ; then
48560 COND_USE_SOVERSION_0=""
48563 COND_USE_SOVERSOLARIS_1="#"
48564 if test "x$USE_SOVERSOLARIS" = "x1" ; then
48565 COND_USE_SOVERSOLARIS_1=""
48569 if test "x$USE_STC" = "x1" ; then
48573 COND_USE_THREADS_0="#"
48574 if test "x$USE_THREADS" = "x0" ; then
48575 COND_USE_THREADS_0=""
48578 COND_USE_THREADS_1="#"
48579 if test "x$USE_THREADS" = "x1" ; then
48580 COND_USE_THREADS_1=""
48584 if test "x$USE_XRC" = "x1" ; then
48588 COND_WINDOWS_IMPLIB_1="#"
48589 if test "x$WINDOWS_IMPLIB" = "x1" ; then
48590 COND_WINDOWS_IMPLIB_1=""
48593 COND_WITH_PLUGIN_SDL_1="#"
48594 if test "x$WITH_PLUGIN_SDL" = "x1" ; then
48595 COND_WITH_PLUGIN_SDL_1=""
48599 if test "x$WXUNIV" = "x0" ; then
48604 if test "x$WXUNIV" = "x1" ; then
48608 COND_WXUSE_EXPAT_BUILTIN="#"
48609 if test "x$wxUSE_EXPAT" = "xbuiltin" ; then
48610 COND_WXUSE_EXPAT_BUILTIN=""
48613 COND_WXUSE_LIBJPEG_BUILTIN="#"
48614 if test "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
48615 COND_WXUSE_LIBJPEG_BUILTIN=""
48618 COND_WXUSE_LIBPNG_BUILTIN="#"
48619 if test "x$wxUSE_LIBPNG" = "xbuiltin" ; then
48620 COND_WXUSE_LIBPNG_BUILTIN=""
48623 COND_WXUSE_LIBTIFF_BUILTIN="#"
48624 if test "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
48625 COND_WXUSE_LIBTIFF_BUILTIN=""
48628 COND_WXUSE_ODBC_BUILTIN="#"
48629 if test "x$wxUSE_ODBC" = "xbuiltin" ; then
48630 COND_WXUSE_ODBC_BUILTIN=""
48633 COND_WXUSE_REGEX_BUILTIN="#"
48634 if test "x$wxUSE_REGEX" = "xbuiltin" ; then
48635 COND_WXUSE_REGEX_BUILTIN=""
48638 COND_WXUSE_ZLIB_BUILTIN="#"
48639 if test "x$wxUSE_ZLIB" = "xbuiltin" ; then
48640 COND_WXUSE_ZLIB_BUILTIN=""
48645 if test "$BAKEFILE_AUTOCONF_INC_M4_VERSION" = "" ; then
48646 { { 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
48647 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;}
48648 { (exit 1); exit 1; }; }
48651 if test "$BAKEFILE_BAKEFILE_M4_VERSION" != "$BAKEFILE_AUTOCONF_INC_M4_VERSION" ; then
48652 { { 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
48653 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;}
48654 { (exit 1); exit 1; }; }
48658 if test $GCC_PCH = 1
48660 if test "$wx_cv_gcc_pch_bug" = yes; then
48661 { echo "$as_me:$LINENO: WARNING: *** Precompiled header support is broken on this compiler" >&5
48662 echo "$as_me: WARNING: *** Precompiled header support is broken on this compiler" >&2;}
48663 { echo "$as_me:$LINENO: WARNING: *** --enable-precomp-headers is not recommended" >&5
48664 echo "$as_me: WARNING: *** --enable-precomp-headers is not recommended" >&2;}
48665 { echo "$as_me:$LINENO: WARNING: *** see http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13361" >&5
48666 echo "$as_me: WARNING: *** see http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13361" >&2;}
48669 CPPFLAGS="-DWX_PRECOMP $CPPFLAGS"
48673 if test "$wxUSE_MAC" = 1 ; then
48674 if test "x$wxUSE_UNIVERSAL_BINARY" != "xno" ; then
48675 sed "s/DEPSMODE=gcc/DEPSMODE=none/" < bk-deps > temp
48681 if test "$wxUSE_SHARED" = "yes"; then
48683 sanitised_bakefile_mess=`echo "$SHARED_LD_CXX" | tr -d '()'`
48684 EXE_LINKER=`eval echo "$sanitised_bakefile_mess"`
48687 *-pc-os2_emx | *-pc-os2-emx )
48688 SHARED_LD_CC="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
48689 SHARED_LD_CXX="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
48690 cp -p ${srcdir}/src/os2/dllnames.sh .
48691 cp -p ${srcdir}/src/os2/dllar.sh .
48696 EXE_LINKER="$CXX -o"
48699 if test "$wxUSE_OMF" = "yes"; then
48701 *-pc-os2_emx | *-pc-os2-emx )
48702 LDFLAGS="$LDFLAGS -Zlinker /EXEPACK"
48703 LDFLAGS_GUI="-Zlinker /PMTYPE:PM"
48704 WXCONFIG_LDFLAGS_GUI="-Zlinker /PMTYPE:PM"
48709 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS $TOOLCHAIN_DEFS"
48711 SAMPLES_SUBDIRS="`echo $SAMPLES_SUBDIRS | tr -s ' ' | tr ' ' '\n' | sort | uniq | tr '\n' ' '| tr -d '\r'`"
48773 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
48774 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
48775 set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
48776 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
48777 echo $ECHO_N "(cached) $ECHO_C" >&6
48779 cat >conftest.make <<\_ACEOF
48782 @echo '@@@%%%=$(MAKE)=@@@%%%'
48784 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
48785 case `${MAKE-make} -f conftest.
make 2>/dev
/null
` in
48786 *@@@%%%=?*=@@@%%%*)
48787 eval ac_cv_prog_make_${ac_make}_set=yes;;
48789 eval ac_cv_prog_make_${ac_make}_set=no;;
48791 rm -f conftest.make
48793 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
48794 { echo "$as_me:$LINENO: result: yes" >&5
48795 echo "${ECHO_T}yes" >&6; }
48798 { echo "$as_me:$LINENO: result: no" >&5
48799 echo "${ECHO_T}no" >&6; }
48800 SET_MAKE="MAKE=${MAKE-make}"
48805 ac_config_headers="$ac_config_headers lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in"
48808 if test "$USE_WIN32" = 1; then
48809 ac_config_commands="$ac_config_commands
48815 ac_config_files="$ac_config_files lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in"
48818 ac_config_files="$ac_config_files lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in"
48821 if test "$wx_cv_version_script" = "yes"; then
48822 ac_config_files="$ac_config_files version-script"
48825 ac_config_files="$ac_config_files Makefile"
48828 ac_config_commands="$ac_config_commands wx-config"
48832 if test "$wxWITH_SUBDIRS" != "no"; then
48833 if test "$wxUSE_GUI" = "yes"; then
48834 SUBDIRS="samples demos utils"
48835 else SUBDIRS="samples utils"
48840 # Check whether --with-cppunit-prefix was given.
48841 if test "${with_cppunit_prefix+set}" = set; then
48842 withval=$with_cppunit_prefix; cppunit_config_prefix="$withval"
48844 cppunit_config_prefix=""
48848 # Check whether --with-cppunit-exec-prefix was given.
48849 if test "${with_cppunit_exec_prefix+set}" = set; then
48850 withval=$with_cppunit_exec_prefix; cppunit_config_exec_prefix="$withval"
48852 cppunit_config_exec_prefix=""
48856 if test x$cppunit_config_exec_prefix != x ; then
48857 cppunit_config_args="$cppunit_config_args --exec-prefix=$cppunit_config_exec_prefix"
48858 if test x${CPPUNIT_CONFIG+set} != xset ; then
48859 CPPUNIT_CONFIG=$cppunit_config_exec_prefix/bin/cppunit-config
48862 if test x$cppunit_config_prefix != x ; then
48863 cppunit_config_args="$cppunit_config_args --prefix=$cppunit_config_prefix"
48864 if test x${CPPUNIT_CONFIG+set} != xset ; then
48865 CPPUNIT_CONFIG=$cppunit_config_prefix/bin/cppunit-config
48869 # Extract the first word of "cppunit-config", so it can be a program name with args.
48870 set dummy cppunit-config; ac_word=$2
48871 { echo "$as_me:$LINENO: checking for $ac_word" >&5
48872 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
48873 if test "${ac_cv_path_CPPUNIT_CONFIG+set}" = set; then
48874 echo $ECHO_N "(cached) $ECHO_C" >&6
48876 case $CPPUNIT_CONFIG in
48878 ac_cv_path_CPPUNIT_CONFIG="$CPPUNIT_CONFIG" # Let the user override the test with a path.
48881 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
48882 for as_dir in $PATH
48885 test -z "$as_dir" && as_dir=.
48886 for ac_exec_ext in '' $ac_executable_extensions; do
48887 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
48888 ac_cv_path_CPPUNIT_CONFIG="$as_dir/$ac_word$ac_exec_ext"
48889 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
48896 test -z "$ac_cv_path_CPPUNIT_CONFIG" && ac_cv_path_CPPUNIT_CONFIG="no"
48900 CPPUNIT_CONFIG=$ac_cv_path_CPPUNIT_CONFIG
48901 if test -n "$CPPUNIT_CONFIG"; then
48902 { echo "$as_me:$LINENO: result: $CPPUNIT_CONFIG" >&5
48903 echo "${ECHO_T}$CPPUNIT_CONFIG" >&6; }
48905 { echo "$as_me:$LINENO: result: no" >&5
48906 echo "${ECHO_T}no" >&6; }
48910 cppunit_version_min=1.8.0
48912 { echo "$as_me:$LINENO: checking for Cppunit - version >= $cppunit_version_min" >&5
48913 echo $ECHO_N "checking for Cppunit - version >= $cppunit_version_min... $ECHO_C" >&6; }
48915 if test "$CPPUNIT_CONFIG" = "no" ; then
48916 { echo "$as_me:$LINENO: result: no" >&5
48917 echo "${ECHO_T}no" >&6; }
48920 CPPUNIT_CFLAGS=`$CPPUNIT_CONFIG --cflags`
48921 CPPUNIT_LIBS=`$CPPUNIT_CONFIG --libs`
48922 cppunit_version=`$CPPUNIT_CONFIG --version`
48924 cppunit_major_version=`echo $cppunit_version | \
48925 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
48926 cppunit_minor_version=`echo $cppunit_version | \
48927 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
48928 cppunit_micro_version=`echo $cppunit_version | \
48929 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
48931 cppunit_major_min=`echo $cppunit_version_min | \
48932 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
48933 if test "x${cppunit_major_min}" = "x" ; then
48934 cppunit_major_min=0
48937 cppunit_minor_min=`echo $cppunit_version_min | \
48938 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
48939 if test "x${cppunit_minor_min}" = "x" ; then
48940 cppunit_minor_min=0
48943 cppunit_micro_min=`echo $cppunit_version_min | \
48944 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
48945 if test "x${cppunit_micro_min}" = "x" ; then
48946 cppunit_micro_min=0
48949 cppunit_version_proper=`expr \
48950 $cppunit_major_version \
> $cppunit_major_min \
| \
48951 $cppunit_major_version \
= $cppunit_major_min \
& \
48952 $cppunit_minor_version \
> $cppunit_minor_min \
| \
48953 $cppunit_major_version \
= $cppunit_major_min \
& \
48954 $cppunit_minor_version \
= $cppunit_minor_min \
& \
48955 $cppunit_micro_version \
>= $cppunit_micro_min `
48957 if test "$cppunit_version_proper" = "1" ; then
48958 { echo "$as_me:$LINENO: result: $cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&5
48959 echo "${ECHO_T}$cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&6; }
48961 { echo "$as_me:$LINENO: result: no" >&5
48962 echo "${ECHO_T}no" >&6; }
48967 if test "x$no_cppunit" = x ; then
48968 SUBDIRS="$SUBDIRS tests"
48979 for subdir in `echo $SUBDIRS`; do
48980 if test -d ${srcdir}/${subdir} ; then
48981 if test "$wxUSE_GUI" = "yes"; then
48982 if test ${subdir} = "samples"; then
48983 makefiles="samples/Makefile.in $makefiles"
48984 for sample in `echo $SAMPLES_SUBDIRS`; do
48985 if test -d $srcdir/samples/$sample; then
48986 makefiles="samples/$sample/Makefile.in $makefiles"
48990 disabled_var=DISABLED_`echo $subdir | tr [a
-z] [A
-Z]`;
48991 eval "disabled=\$$disabled_var"
48992 disabled=/`echo X
$disabled | sed 's@ @/|/@g'`/
48993 makefiles=`(cd $srcdir ; find $subdir -name Makefile.
in) | $EGREP -v "$disabled"`
48995 else if test ${subdir} = "samples"; then
48996 makefiles="samples/Makefile.in samples/console/Makefile.in"
48997 elif test ${subdir} = "utils"; then
48999 for util in HelpGen tex2rtf ; do
49000 if test -d $srcdir/utils/$util ; then
49001 makefiles="utils/$util/Makefile.in \
49002 utils/$util/src/Makefile.in \
49006 else makefiles=`(cd $srcdir ; find $subdir -name Makefile.
in)`
49010 for mkin in $makefiles ; do
49011 mk=`echo $mkin | sed 's/Makefile\.in/Makefile/g'`
49012 ac_config_files="$ac_config_files $mk"
49018 cat >confcache <<\_ACEOF
49019 # This file is a shell script that caches the results of configure
49020 # tests run on this system so they can be shared between configure
49021 # scripts and configure runs, see configure's option --config-cache.
49022 # It is not useful on other systems. If it contains results you don't
49023 # want to keep, you may remove or edit it.
49025 # config.status only pays attention to the cache file if you give it
49026 # the --recheck option to rerun configure.
49028 # `ac_cv_env_foo
' variables (set or unset) will be overridden when
49029 # loading this file, other *unset* `ac_cv_foo' will be assigned the
49030 # following values.
49034 # The following way of writing the cache mishandles newlines in values,
49035 # but we know of no workaround that is simple, portable, and efficient.
49036 # So, we kill variables containing newlines.
49037 # Ultrix sh set writes to stderr and can't be redirected directly,
49038 # and sets the high bit in the cache file unless we assign to the vars.
49040 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
49041 eval ac_val
=\$
$ac_var
49045 *_cv_
*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
49046 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
49049 _
| IFS
| as_nl
) ;; #(
49050 *) $as_unset $ac_var ;;
49056 case $as_nl`(ac_space=' '; set) 2>&1` in #(
49057 *${as_nl}ac_space
=\
*)
49058 # `set' does not quote correctly, so add quotes (double-quote
49059 # substitution turns \\\\ into \\, and sed turns \\ into \).
49062 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
49065 # `set' quotes correctly as required by POSIX, so do not add quotes.
49066 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
49075 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
49077 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
49079 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
49080 if test -w "$cache_file"; then
49081 test "x$cache_file" != "x/dev/null" &&
49082 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
49083 echo "$as_me: updating cache $cache_file" >&6;}
49084 cat confcache
>$cache_file
49086 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
49087 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
49092 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
49093 # Let make expand exec_prefix.
49094 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
49096 DEFS
=-DHAVE_CONFIG_H
49100 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
49101 # 1. Remove the extension, and $U if already installed.
49102 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
49103 ac_i
=`echo "$ac_i" | sed "$ac_script"`
49104 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
49105 # will be set to the directory where LIBOBJS objects are built.
49106 ac_libobjs
="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
49107 ac_ltlibobjs
="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
49109 LIBOBJS
=$ac_libobjs
49111 LTLIBOBJS
=$ac_ltlibobjs
49115 : ${CONFIG_STATUS=./config.status}
49116 ac_clean_files_save
=$ac_clean_files
49117 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
49118 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
49119 echo "$as_me: creating $CONFIG_STATUS" >&6;}
49120 cat >$CONFIG_STATUS <<_ACEOF
49122 # Generated by $as_me.
49123 # Run this file to recreate the current configuration.
49124 # Compiler output produced by configure, useful for debugging
49125 # configure, is in config.log if it exists.
49128 ac_cs_recheck=false
49130 SHELL=\${CONFIG_SHELL-$SHELL}
49133 cat >>$CONFIG_STATUS <<\_ACEOF
49134 ## --------------------- ##
49135 ## M4sh Initialization. ##
49136 ## --------------------- ##
49138 # Be more Bourne compatible
49139 DUALCASE
=1; export DUALCASE
# for MKS sh
49140 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
49143 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
49144 # is contrary to our usage. Disable this feature.
49145 alias -g '${1+"$@"}'='"$@"'
49146 setopt NO_GLOB_SUBST
49148 case `(set -o) 2>/dev/null` in
49149 *posix
*) set -o posix
;;
49158 # Avoid depending upon Character Ranges.
49159 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
49160 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
49161 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
49162 as_cr_digits
='0123456789'
49163 as_cr_alnum
=$as_cr_Letters$as_cr_digits
49165 # The user is always right.
49166 if test "${PATH_SEPARATOR+set}" != set; then
49167 echo "#! /bin/sh" >conf$$.sh
49168 echo "exit 0" >>conf$$.sh
49170 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
49178 # Support unset when possible.
49179 if ( (MAIL
=60; unset MAIL
) || exit) >/dev
/null
2>&1; then
49187 # We need space, tab and new line, in precisely that order. Quoting is
49188 # there to prevent editors from complaining about space-tab.
49189 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
49190 # splitting by setting IFS to empty value.)
49195 # Find who we are. Look in the path if we contain no directory separator.
49197 *[\\/]* ) as_myself
=$0 ;;
49198 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
49199 for as_dir
in $PATH
49202 test -z "$as_dir" && as_dir
=.
49203 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
49209 # We did not find ourselves, most probably we were run as `sh COMMAND'
49210 # in which case we are not to be found in the path.
49211 if test "x$as_myself" = x
; then
49214 if test ! -f "$as_myself"; then
49215 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
49216 { (exit 1); exit 1; }
49219 # Work around bugs in pre-3.0 UWIN ksh.
49220 for as_var
in ENV MAIL MAILPATH
49221 do ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
49229 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
49230 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
49231 LC_TELEPHONE LC_TIME
49233 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
49234 eval $as_var=C
; export $as_var
49236 ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
49240 # Required to use basename.
49241 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
49242 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
49248 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
49249 as_basename
=basename
49255 # Name of the executable.
49256 as_me
=`$as_basename -- "$0" ||
49257 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
49258 X"$0" : 'X\(//\)$' \| \
49259 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
49261 sed '/^.*\/\([^/][^/]*\)\/*$/{
49280 as_lineno_1
=$LINENO
49281 as_lineno_2
=$LINENO
49282 test "x$as_lineno_1" != "x$as_lineno_2" &&
49283 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
49285 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
49286 # uniformly replaced by the line number. The first 'sed' inserts a
49287 # line-number line after each line using $LINENO; the second 'sed'
49288 # does the real work. The second script uses 'N' to pair each
49289 # line-number line with the line containing $LINENO, and appends
49290 # trailing '-' during substitution so that $LINENO is not a special
49291 # case at line end.
49292 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
49293 # scripts with optimization help from Paolo Bonzini. Blame Lee
49294 # E. McMahon (1931-1989) for sed's syntax. :-)
49306 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
49309 ' >$as_me.lineno
&&
49310 chmod +x
"$as_me.lineno" ||
49311 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
49312 { (exit 1); exit 1; }; }
49314 # Don't try to exec as it changes $[0], causing all sort of problems
49315 # (the dirname of $[0] is not the place where we might find the
49316 # original and so on. Autoconf is especially sensitive to this).
49317 .
"./$as_me.lineno"
49318 # Exit status is that of the last command.
49323 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
49329 ECHO_C
= ECHO_N
= ECHO_T
=
49330 case `echo -n x` in
49332 case `echo 'x\c'` in
49333 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
49340 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
49341 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
49347 rm -f conf$$ conf$$.exe conf$$.
file
49348 if test -d conf$$.dir
; then
49349 rm -f conf$$.dir
/conf$$.
file
49355 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
49357 # ... but there are two gotchas:
49358 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
49359 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
49360 # In both cases, we have to default to `cp -p'.
49361 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe
||
49363 elif ln conf$$.
file conf$$
2>/dev
/null
; then
49368 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
49369 rmdir conf$$.dir
2>/dev
/null
49371 if mkdir -p .
2>/dev
/null
; then
49374 test -d .
/-p && rmdir .
/-p
49378 if test -x / >/dev
/null
2>&1; then
49379 as_test_x
='test -x'
49381 if ls -dL / >/dev
/null
2>&1; then
49388 if test -d "$1"; then
49394 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
49395 ???[sx]*):;;*)false;;esac;fi
49399 as_executable_p
=$as_test_x
49401 # Sed expression to map a string onto a valid CPP name.
49402 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
49404 # Sed expression to map a string onto a valid variable name.
49405 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
49410 # Save the log message, to keep $[0] and so on meaningful, and to
49411 # report actual input values of CONFIG_FILES etc. instead of their
49412 # values after options handling.
49414 This file was extended by wxWidgets $as_me 2.9.0, which was
49415 generated by GNU Autoconf 2.61. Invocation command line was
49417 CONFIG_FILES = $CONFIG_FILES
49418 CONFIG_HEADERS = $CONFIG_HEADERS
49419 CONFIG_LINKS = $CONFIG_LINKS
49420 CONFIG_COMMANDS = $CONFIG_COMMANDS
49423 on `(hostname || uname -n) 2>/dev/null | sed 1q`
49428 cat >>$CONFIG_STATUS <<_ACEOF
49429 # Files that config.status was made for.
49430 config_files="$ac_config_files"
49431 config_headers="$ac_config_headers"
49432 config_commands="$ac_config_commands"
49436 cat >>$CONFIG_STATUS <<\_ACEOF
49438 \`$as_me' instantiates files from templates according to the
49439 current configuration.
49441 Usage: $0 [OPTIONS] [FILE]...
49443 -h, --help print this help, then exit
49444 -V, --version print version number and configuration settings, then exit
49445 -q, --quiet do not print progress messages
49446 -d, --debug don't remove temporary files
49447 --recheck update $as_me by reconfiguring in the same conditions
49448 --file=FILE[:TEMPLATE]
49449 instantiate the configuration file FILE
49450 --header=FILE[:TEMPLATE]
49451 instantiate the configuration header FILE
49453 Configuration files:
49456 Configuration headers:
49459 Configuration commands:
49462 Report bugs to <bug-autoconf@gnu.org>."
49465 cat >>$CONFIG_STATUS <<_ACEOF
49467 wxWidgets config.status 2.9.0
49468 configured by $0, generated by GNU Autoconf 2.61,
49469 with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
49471 Copyright (C) 2006 Free Software Foundation, Inc.
49472 This config.status script is free software; the Free Software Foundation
49473 gives unlimited permission to copy, distribute and modify it."
49480 cat >>$CONFIG_STATUS <<\_ACEOF
49481 # If no file are specified by the user, then we need to provide default
49482 # value. By we need to know if files were specified by the user.
49488 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
49489 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
49500 # Handling of the options.
49501 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
49503 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
49504 echo "$ac_cs_version"; exit ;;
49505 --debug | --debu | --deb | --de | --d | -d )
49507 --file | --fil | --fi | --f )
49509 CONFIG_FILES
="$CONFIG_FILES $ac_optarg"
49510 ac_need_defaults
=false
;;
49511 --header | --heade | --head | --hea )
49513 CONFIG_HEADERS
="$CONFIG_HEADERS $ac_optarg"
49514 ac_need_defaults
=false
;;
49516 # Conflict between --help and --header
49517 { echo "$as_me: error: ambiguous option: $1
49518 Try \`$0 --help' for more information." >&2
49519 { (exit 1); exit 1; }; };;
49520 --help | --hel | -h )
49521 echo "$ac_cs_usage"; exit ;;
49522 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
49523 | -silent | --silent | --silen | --sile | --sil | --si | --s)
49526 # This is an error.
49527 -*) { echo "$as_me: error: unrecognized option: $1
49528 Try \`$0 --help' for more information." >&2
49529 { (exit 1); exit 1; }; } ;;
49531 *) ac_config_targets
="$ac_config_targets $1"
49532 ac_need_defaults
=false
;;
49538 ac_configure_extra_args
=
49540 if $ac_cs_silent; then
49542 ac_configure_extra_args
="$ac_configure_extra_args --silent"
49546 cat >>$CONFIG_STATUS <<_ACEOF
49547 if \$ac_cs_recheck; then
49548 echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
49549 CONFIG_SHELL=$SHELL
49550 export CONFIG_SHELL
49551 exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
49555 cat >>$CONFIG_STATUS <<\_ACEOF
49559 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
49560 ## Running $as_me. ##
49566 cat >>$CONFIG_STATUS <<_ACEOF
49572 infile="$srcdir/include/wx/msw/genrcdefs.h"
49573 outdir="lib/wx/include/$TOOLCHAIN_FULLNAME/wx/msw"
49576 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
49577 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
49578 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
49584 cat >>$CONFIG_STATUS <<\_ACEOF
49586 # Handling of arguments.
49587 for ac_config_target
in $ac_config_targets
49589 case $ac_config_target in
49590 "lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h") CONFIG_HEADERS
="$CONFIG_HEADERS lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in" ;;
49591 "rcdefs.h") CONFIG_COMMANDS
="$CONFIG_COMMANDS rcdefs.h" ;;
49592 "lib/wx/config/${TOOLCHAIN_FULLNAME}") CONFIG_FILES
="$CONFIG_FILES lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in" ;;
49593 "lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}") CONFIG_FILES
="$CONFIG_FILES lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in" ;;
49594 "version-script") CONFIG_FILES
="$CONFIG_FILES version-script" ;;
49595 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
49596 "wx-config") CONFIG_COMMANDS
="$CONFIG_COMMANDS wx-config" ;;
49597 "$mk") CONFIG_FILES
="$CONFIG_FILES $mk" ;;
49599 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
49600 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
49601 { (exit 1); exit 1; }; };;
49606 # If the user did not use the arguments to specify the items to instantiate,
49607 # then the envvar interface is used. Set only those that are not.
49608 # We use the long form for the default assignment because of an extremely
49609 # bizarre bug on SunOS 4.1.3.
49610 if $ac_need_defaults; then
49611 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
49612 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
49613 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
49616 # Have a temporary directory for convenience. Make it in the build tree
49617 # simply because there is no reason against having it here, and in addition,
49618 # creating and moving files from /tmp can sometimes cause problems.
49619 # Hook for its removal unless debugging.
49620 # Note that there is a small window in which the directory will not be cleaned:
49621 # after its creation but before its name has been assigned to `$tmp'.
49625 trap 'exit_status=$?
49626 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
49628 trap '{ (exit 1); exit 1; }' 1 2 13 15
49630 # Create a (secure) tmp directory for tmp files.
49633 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
49634 test -n "$tmp" && test -d "$tmp"
49637 tmp
=.
/conf$$
-$RANDOM
49638 (umask 077 && mkdir "$tmp")
49641 echo "$me: cannot create a temporary directory in ." >&2
49642 { (exit 1); exit 1; }
49646 # Set up the sed scripts for CONFIG_FILES section.
49649 # No need to generate the scripts if there are no CONFIG_FILES.
49650 # This happens for instance when ./config.status config.h
49651 if test -n "$CONFIG_FILES"; then
49658 for ac_last_try
in false false false false false
:; do
49659 cat >conf$
$subs.
sed <<_ACEOF
49660 SHELL!$SHELL$ac_delim
49661 PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
49662 PACKAGE_NAME!$PACKAGE_NAME$ac_delim
49663 PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
49664 PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
49665 PACKAGE_STRING!$PACKAGE_STRING$ac_delim
49666 PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
49667 exec_prefix!$exec_prefix$ac_delim
49668 prefix!$prefix$ac_delim
49669 program_transform_name!$program_transform_name$ac_delim
49670 bindir!$bindir$ac_delim
49671 sbindir!$sbindir$ac_delim
49672 libexecdir!$libexecdir$ac_delim
49673 datarootdir!$datarootdir$ac_delim
49674 datadir!$datadir$ac_delim
49675 sysconfdir!$sysconfdir$ac_delim
49676 sharedstatedir!$sharedstatedir$ac_delim
49677 localstatedir!$localstatedir$ac_delim
49678 includedir!$includedir$ac_delim
49679 oldincludedir!$oldincludedir$ac_delim
49680 docdir!$docdir$ac_delim
49681 infodir!$infodir$ac_delim
49682 htmldir!$htmldir$ac_delim
49683 dvidir!$dvidir$ac_delim
49684 pdfdir!$pdfdir$ac_delim
49685 psdir!$psdir$ac_delim
49686 libdir!$libdir$ac_delim
49687 localedir!$localedir$ac_delim
49688 mandir!$mandir$ac_delim
49689 DEFS!$DEFS$ac_delim
49690 ECHO_C!$ECHO_C$ac_delim
49691 ECHO_N!$ECHO_N$ac_delim
49692 ECHO_T!$ECHO_T$ac_delim
49693 LIBS!$LIBS$ac_delim
49694 build_alias!$build_alias$ac_delim
49695 host_alias!$host_alias$ac_delim
49696 target_alias!$target_alias$ac_delim
49697 build!$build$ac_delim
49698 build_cpu!$build_cpu$ac_delim
49699 build_vendor!$build_vendor$ac_delim
49700 build_os!$build_os$ac_delim
49701 host!$host$ac_delim
49702 host_cpu!$host_cpu$ac_delim
49703 host_vendor!$host_vendor$ac_delim
49704 host_os!$host_os$ac_delim
49705 target!$target$ac_delim
49706 target_cpu!$target_cpu$ac_delim
49707 target_vendor!$target_vendor$ac_delim
49708 target_os!$target_os$ac_delim
49709 wx_top_builddir!$wx_top_builddir$ac_delim
49711 CFLAGS!$CFLAGS$ac_delim
49712 LDFLAGS!$LDFLAGS$ac_delim
49713 CPPFLAGS!$CPPFLAGS$ac_delim
49714 ac_ct_CC!$ac_ct_CC$ac_delim
49715 EXEEXT!$EXEEXT$ac_delim
49716 OBJEXT!$OBJEXT$ac_delim
49718 GREP!$GREP$ac_delim
49719 EGREP!$EGREP$ac_delim
49721 CXXFLAGS!$CXXFLAGS$ac_delim
49722 ac_ct_CXX!$ac_ct_CXX$ac_delim
49723 RANLIB!$RANLIB$ac_delim
49725 INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
49726 INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
49727 INSTALL_DATA!$INSTALL_DATA$ac_delim
49728 STRIP!$STRIP$ac_delim
49729 WINDRES!$WINDRES$ac_delim
49730 DLLTOOL!$DLLTOOL$ac_delim
49731 IF_GNU_MAKE!$IF_GNU_MAKE$ac_delim
49732 LN_S!$LN_S$ac_delim
49733 subdirs!$subdirs$ac_delim
49734 PKG_CONFIG!$PKG_CONFIG$ac_delim
49735 GTK_CFLAGS!$GTK_CFLAGS$ac_delim
49736 GTK_LIBS!$GTK_LIBS$ac_delim
49737 GTK_CONFIG!$GTK_CONFIG$ac_delim
49738 DIRECTFB_CFLAGS!$DIRECTFB_CFLAGS$ac_delim
49739 DIRECTFB_LIBS!$DIRECTFB_LIBS$ac_delim
49740 XMKMF!$XMKMF$ac_delim
49741 X_CFLAGS!$X_CFLAGS$ac_delim
49742 X_PRE_LIBS!$X_PRE_LIBS$ac_delim
49743 X_LIBS!$X_LIBS$ac_delim
49744 X_EXTRA_LIBS!$X_EXTRA_LIBS$ac_delim
49745 PANGOX_CFLAGS!$PANGOX_CFLAGS$ac_delim
49746 PANGOX_LIBS!$PANGOX_LIBS$ac_delim
49747 PANGOFT2_CFLAGS!$PANGOFT2_CFLAGS$ac_delim
49748 PANGOFT2_LIBS!$PANGOFT2_LIBS$ac_delim
49749 PANGOXFT_CFLAGS!$PANGOXFT_CFLAGS$ac_delim
49750 PANGOXFT_LIBS!$PANGOXFT_LIBS$ac_delim
49752 DEREZ!$DEREZ$ac_delim
49753 SETFILE!$SETFILE$ac_delim
49754 LIBICONV!$LIBICONV$ac_delim
49755 SDL_CONFIG!$SDL_CONFIG$ac_delim
49756 SDL_CFLAGS!$SDL_CFLAGS$ac_delim
49759 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
49761 elif $ac_last_try; then
49762 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
49763 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
49764 { (exit 1); exit 1; }; }
49766 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
49770 ac_eof
=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
49771 if test -n "$ac_eof"; then
49772 ac_eof
=`echo "$ac_eof" | sort -nru | sed 1q`
49773 ac_eof
=`expr $ac_eof + 1`
49776 cat >>$CONFIG_STATUS <<_ACEOF
49777 cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
49778 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
49781 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
49782 s/^/s,@/; s/!/@,|#_!!_#|/
49785 s/'"$ac_delim"'$/,g/; t
49787 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
49788 ' >>$CONFIG_STATUS <conf$
$subs.
sed
49789 rm -f conf$
$subs.
sed
49790 cat >>$CONFIG_STATUS <<_ACEOF
49796 for ac_last_try
in false false false false false
:; do
49797 cat >conf$
$subs.
sed <<_ACEOF
49798 SDL_LIBS!$SDL_LIBS$ac_delim
49799 LIBGNOMEPRINTUI_CFLAGS!$LIBGNOMEPRINTUI_CFLAGS$ac_delim
49800 LIBGNOMEPRINTUI_LIBS!$LIBGNOMEPRINTUI_LIBS$ac_delim
49801 GNOMEVFS_CFLAGS!$GNOMEVFS_CFLAGS$ac_delim
49802 GNOMEVFS_LIBS!$GNOMEVFS_LIBS$ac_delim
49803 HILDON_CFLAGS!$HILDON_CFLAGS$ac_delim
49804 HILDON_LIBS!$HILDON_LIBS$ac_delim
49805 CAIRO_CFLAGS!$CAIRO_CFLAGS$ac_delim
49806 CAIRO_LIBS!$CAIRO_LIBS$ac_delim
49807 GST_CFLAGS!$GST_CFLAGS$ac_delim
49808 GST_LIBS!$GST_LIBS$ac_delim
49809 CORE_BASE_LIBS!$CORE_BASE_LIBS$ac_delim
49810 CORE_GUI_LIBS!$CORE_GUI_LIBS$ac_delim
49811 wxUSE_ZLIB!$wxUSE_ZLIB$ac_delim
49812 wxUSE_REGEX!$wxUSE_REGEX$ac_delim
49813 wxUSE_EXPAT!$wxUSE_EXPAT$ac_delim
49814 wxUSE_ODBC!$wxUSE_ODBC$ac_delim
49815 wxUSE_LIBJPEG!$wxUSE_LIBJPEG$ac_delim
49816 wxUSE_LIBPNG!$wxUSE_LIBPNG$ac_delim
49817 wxUSE_LIBTIFF!$wxUSE_LIBTIFF$ac_delim
49818 VENDOR!$VENDOR$ac_delim
49819 OFFICIAL_BUILD!$OFFICIAL_BUILD$ac_delim
49820 WX_FLAVOUR!$WX_FLAVOUR$ac_delim
49821 WX_LIB_FLAVOUR!$WX_LIB_FLAVOUR$ac_delim
49822 WXUNIV!$WXUNIV$ac_delim
49823 MONOLITHIC!$MONOLITHIC$ac_delim
49824 USE_PLUGINS!$USE_PLUGINS$ac_delim
49825 EXTRALIBS!$EXTRALIBS$ac_delim
49826 EXTRALIBS_XML!$EXTRALIBS_XML$ac_delim
49827 EXTRALIBS_HTML!$EXTRALIBS_HTML$ac_delim
49828 EXTRALIBS_ODBC!$EXTRALIBS_ODBC$ac_delim
49829 EXTRALIBS_GUI!$EXTRALIBS_GUI$ac_delim
49830 EXTRALIBS_OPENGL!$EXTRALIBS_OPENGL$ac_delim
49831 EXTRALIBS_SDL!$EXTRALIBS_SDL$ac_delim
49832 WITH_PLUGIN_SDL!$WITH_PLUGIN_SDL$ac_delim
49833 EXTRALIBS_GNOMEPRINT!$EXTRALIBS_GNOMEPRINT$ac_delim
49834 EXTRALIBS_GNOMEVFS!$EXTRALIBS_GNOMEVFS$ac_delim
49835 EXTRALIBS_HILDON!$EXTRALIBS_HILDON$ac_delim
49836 UNICODE!$UNICODE$ac_delim
49837 BUILD!$BUILD$ac_delim
49838 DEBUG_INFO!$DEBUG_INFO$ac_delim
49839 DEBUG_FLAG!$DEBUG_FLAG$ac_delim
49840 TOOLKIT_LOWERCASE!$TOOLKIT_LOWERCASE$ac_delim
49841 TOOLKIT_VERSION!$TOOLKIT_VERSION$ac_delim
49842 SAMPLES_RPATH_FLAG!$SAMPLES_RPATH_FLAG$ac_delim
49843 SAMPLES_RPATH_POSTLINK!$SAMPLES_RPATH_POSTLINK$ac_delim
49844 HOST_SUFFIX!$HOST_SUFFIX$ac_delim
49845 CPPUNIT_CFLAGS!$CPPUNIT_CFLAGS$ac_delim
49846 CPPUNIT_LIBS!$CPPUNIT_LIBS$ac_delim
49847 SET_MAKE!$SET_MAKE$ac_delim
49848 MAKE_SET!$MAKE_SET$ac_delim
49849 AROPTIONS!$AROPTIONS$ac_delim
49851 INSTALL_DIR!$INSTALL_DIR$ac_delim
49852 LDFLAGS_GUI!$LDFLAGS_GUI$ac_delim
49853 PLATFORM_UNIX!$PLATFORM_UNIX$ac_delim
49854 PLATFORM_WIN32!$PLATFORM_WIN32$ac_delim
49855 PLATFORM_MSDOS!$PLATFORM_MSDOS$ac_delim
49856 PLATFORM_MAC!$PLATFORM_MAC$ac_delim
49857 PLATFORM_MACOS!$PLATFORM_MACOS$ac_delim
49858 PLATFORM_MACOSX!$PLATFORM_MACOSX$ac_delim
49859 PLATFORM_OS2!$PLATFORM_OS2$ac_delim
49860 PLATFORM_BEOS!$PLATFORM_BEOS$ac_delim
49861 SO_SUFFIX!$SO_SUFFIX$ac_delim
49862 SO_SUFFIX_MODULE!$SO_SUFFIX_MODULE$ac_delim
49863 DLLIMP_SUFFIX!$DLLIMP_SUFFIX$ac_delim
49864 LIBPREFIX!$LIBPREFIX$ac_delim
49865 LIBEXT!$LIBEXT$ac_delim
49866 DLLPREFIX!$DLLPREFIX$ac_delim
49867 DLLPREFIX_MODULE!$DLLPREFIX_MODULE$ac_delim
49868 dlldir!$dlldir$ac_delim
49869 AIX_CXX_LD!$AIX_CXX_LD$ac_delim
49870 SHARED_LD_CC!$SHARED_LD_CC$ac_delim
49871 SHARED_LD_CXX!$SHARED_LD_CXX$ac_delim
49872 SHARED_LD_MODULE_CC!$SHARED_LD_MODULE_CC$ac_delim
49873 SHARED_LD_MODULE_CXX!$SHARED_LD_MODULE_CXX$ac_delim
49874 PIC_FLAG!$PIC_FLAG$ac_delim
49875 WINDOWS_IMPLIB!$WINDOWS_IMPLIB$ac_delim
49876 USE_SOVERSION!$USE_SOVERSION$ac_delim
49877 USE_SOVERLINUX!$USE_SOVERLINUX$ac_delim
49878 USE_SOVERSOLARIS!$USE_SOVERSOLARIS$ac_delim
49879 USE_SOVERCYGWIN!$USE_SOVERCYGWIN$ac_delim
49880 USE_MACVERSION!$USE_MACVERSION$ac_delim
49881 USE_SOSYMLINKS!$USE_SOSYMLINKS$ac_delim
49882 SONAME_FLAG!$SONAME_FLAG$ac_delim
49883 DEPS_TRACKING!$DEPS_TRACKING$ac_delim
49884 BK_DEPS!$BK_DEPS$ac_delim
49885 GCC_PCH!$GCC_PCH$ac_delim
49886 ICC_PCH!$ICC_PCH$ac_delim
49887 BK_MAKE_PCH!$BK_MAKE_PCH$ac_delim
49888 COND_BUILD_DEBUG!$COND_BUILD_DEBUG$ac_delim
49889 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT!$COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT$ac_delim
49890 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT!$COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT$ac_delim
49891 COND_BUILD_DEBUG_UNICODE_0!$COND_BUILD_DEBUG_UNICODE_0$ac_delim
49892 COND_BUILD_DEBUG_UNICODE_1!$COND_BUILD_DEBUG_UNICODE_1$ac_delim
49893 COND_BUILD_RELEASE!$COND_BUILD_RELEASE$ac_delim
49894 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT!$COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT$ac_delim
49897 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
49899 elif $ac_last_try; then
49900 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
49901 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
49902 { (exit 1); exit 1; }; }
49904 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
49908 ac_eof
=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
49909 if test -n "$ac_eof"; then
49910 ac_eof
=`echo "$ac_eof" | sort -nru | sed 1q`
49911 ac_eof
=`expr $ac_eof + 1`
49914 cat >>$CONFIG_STATUS <<_ACEOF
49915 cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof
49916 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
49919 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
49920 s/^/s,@/; s/!/@,|#_!!_#|/
49923 s/'"$ac_delim"'$/,g/; t
49925 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
49926 ' >>$CONFIG_STATUS <conf$
$subs.
sed
49927 rm -f conf$
$subs.
sed
49928 cat >>$CONFIG_STATUS <<_ACEOF
49934 for ac_last_try
in false false false false false
:; do
49935 cat >conf$
$subs.
sed <<_ACEOF
49936 COND_BUILD_RELEASE_UNICODE_0!$COND_BUILD_RELEASE_UNICODE_0$ac_delim
49937 COND_BUILD_RELEASE_UNICODE_1!$COND_BUILD_RELEASE_UNICODE_1$ac_delim
49938 COND_DEBUG_FLAG_1!$COND_DEBUG_FLAG_1$ac_delim
49939 COND_DEBUG_INFO_0!$COND_DEBUG_INFO_0$ac_delim
49940 COND_DEBUG_INFO_1!$COND_DEBUG_INFO_1$ac_delim
49941 COND_DEPS_TRACKING_0!$COND_DEPS_TRACKING_0$ac_delim
49942 COND_DEPS_TRACKING_1!$COND_DEPS_TRACKING_1$ac_delim
49943 COND_GCC_PCH_1!$COND_GCC_PCH_1$ac_delim
49944 COND_ICC_PCH_1!$COND_ICC_PCH_1$ac_delim
49945 COND_MONOLITHIC_0!$COND_MONOLITHIC_0$ac_delim
49946 COND_MONOLITHIC_0_SHARED_0!$COND_MONOLITHIC_0_SHARED_0$ac_delim
49947 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1!$COND_MONOLITHIC_0_SHARED_0_USE_AUI_1$ac_delim
49948 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1$ac_delim
49949 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1$ac_delim
49950 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1$ac_delim
49951 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1$ac_delim
49952 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1$ac_delim
49953 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1!$COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1$ac_delim
49954 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1!$COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1$ac_delim
49955 COND_MONOLITHIC_0_SHARED_0_USE_STC_1!$COND_MONOLITHIC_0_SHARED_0_USE_STC_1$ac_delim
49956 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1!$COND_MONOLITHIC_0_SHARED_0_USE_XRC_1$ac_delim
49957 COND_MONOLITHIC_0_SHARED_1!$COND_MONOLITHIC_0_SHARED_1$ac_delim
49958 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1!$COND_MONOLITHIC_0_SHARED_1_USE_AUI_1$ac_delim
49959 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1$ac_delim
49960 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1$ac_delim
49961 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1$ac_delim
49962 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1$ac_delim
49963 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1$ac_delim
49964 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1!$COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1$ac_delim
49965 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1!$COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1$ac_delim
49966 COND_MONOLITHIC_0_SHARED_1_USE_STC_1!$COND_MONOLITHIC_0_SHARED_1_USE_STC_1$ac_delim
49967 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1!$COND_MONOLITHIC_0_SHARED_1_USE_XRC_1$ac_delim
49968 COND_MONOLITHIC_0_USE_AUI_1!$COND_MONOLITHIC_0_USE_AUI_1$ac_delim
49969 COND_MONOLITHIC_0_USE_GUI_1!$COND_MONOLITHIC_0_USE_GUI_1$ac_delim
49970 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1!$COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1$ac_delim
49971 COND_MONOLITHIC_0_USE_GUI_1_USE_ODBC_1!$COND_MONOLITHIC_0_USE_GUI_1_USE_ODBC_1$ac_delim
49972 COND_MONOLITHIC_0_USE_HTML_1!$COND_MONOLITHIC_0_USE_HTML_1$ac_delim
49973 COND_MONOLITHIC_0_USE_MEDIA_1!$COND_MONOLITHIC_0_USE_MEDIA_1$ac_delim
49974 COND_MONOLITHIC_0_USE_ODBC_1!$COND_MONOLITHIC_0_USE_ODBC_1$ac_delim
49975 COND_MONOLITHIC_0_USE_QA_1!$COND_MONOLITHIC_0_USE_QA_1$ac_delim
49976 COND_MONOLITHIC_0_USE_RICHTEXT_1!$COND_MONOLITHIC_0_USE_RICHTEXT_1$ac_delim
49977 COND_MONOLITHIC_0_USE_STC_1!$COND_MONOLITHIC_0_USE_STC_1$ac_delim
49978 COND_MONOLITHIC_0_USE_XRC_1!$COND_MONOLITHIC_0_USE_XRC_1$ac_delim
49979 COND_MONOLITHIC_1!$COND_MONOLITHIC_1$ac_delim
49980 COND_MONOLITHIC_1_SHARED_0!$COND_MONOLITHIC_1_SHARED_0$ac_delim
49981 COND_MONOLITHIC_1_SHARED_1!$COND_MONOLITHIC_1_SHARED_1$ac_delim
49982 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1!$COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1$ac_delim
49983 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1!$COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1$ac_delim
49984 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1!$COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1$ac_delim
49985 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1!$COND_PLATFORM_MACOSX_0_USE_SOVERSION_1$ac_delim
49986 COND_PLATFORM_MACOSX_1!$COND_PLATFORM_MACOSX_1$ac_delim
49987 COND_PLATFORM_MACOSX_1_TOOLKIT_!$COND_PLATFORM_MACOSX_1_TOOLKIT_$ac_delim
49988 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA!$COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA$ac_delim
49989 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK!$COND_PLATFORM_MACOSX_1_TOOLKIT_GTK$ac_delim
49990 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC!$COND_PLATFORM_MACOSX_1_TOOLKIT_MAC$ac_delim
49991 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1!$COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1$ac_delim
49992 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF!$COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF$ac_delim
49993 COND_PLATFORM_MACOSX_1_TOOLKIT_X11!$COND_PLATFORM_MACOSX_1_TOOLKIT_X11$ac_delim
49994 COND_PLATFORM_MACOSX_1_USE_GUI_1!$COND_PLATFORM_MACOSX_1_USE_GUI_1$ac_delim
49995 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1!$COND_PLATFORM_MACOSX_1_USE_SOVERSION_1$ac_delim
49996 COND_PLATFORM_MACOS_1!$COND_PLATFORM_MACOS_1$ac_delim
49997 COND_PLATFORM_MAC_1!$COND_PLATFORM_MAC_1$ac_delim
49998 COND_PLATFORM_MSDOS_0!$COND_PLATFORM_MSDOS_0$ac_delim
49999 COND_PLATFORM_MSDOS_1!$COND_PLATFORM_MSDOS_1$ac_delim
50000 COND_PLATFORM_OS2_1!$COND_PLATFORM_OS2_1$ac_delim
50001 COND_PLATFORM_UNIX_0!$COND_PLATFORM_UNIX_0$ac_delim
50002 COND_PLATFORM_UNIX_1!$COND_PLATFORM_UNIX_1$ac_delim
50003 COND_PLATFORM_UNIX_1_TOOLKIT_MGL!$COND_PLATFORM_UNIX_1_TOOLKIT_MGL$ac_delim
50004 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1!$COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1$ac_delim
50005 COND_PLATFORM_UNIX_1_USE_GUI_1!$COND_PLATFORM_UNIX_1_USE_GUI_1$ac_delim
50006 COND_PLATFORM_UNIX_1_USE_PLUGINS_0!$COND_PLATFORM_UNIX_1_USE_PLUGINS_0$ac_delim
50007 COND_PLATFORM_WIN32_0!$COND_PLATFORM_WIN32_0$ac_delim
50008 COND_PLATFORM_WIN32_1!$COND_PLATFORM_WIN32_1$ac_delim
50009 COND_SHARED_0!$COND_SHARED_0$ac_delim
50010 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0!$COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0$ac_delim
50011 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0!$COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0$ac_delim
50012 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0!$COND_SHARED_0_TOOLKIT_PM_WXUNIV_0$ac_delim
50013 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1!$COND_SHARED_0_USE_GUI_1_USE_OPENGL_1$ac_delim
50014 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN!$COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN$ac_delim
50015 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN!$COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN$ac_delim
50016 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN!$COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN$ac_delim
50017 COND_SHARED_0_USE_STC_1!$COND_SHARED_0_USE_STC_1$ac_delim
50018 COND_SHARED_0_USE_XRC_1!$COND_SHARED_0_USE_XRC_1$ac_delim
50019 COND_SHARED_0_WXUSE_EXPAT_BUILTIN!$COND_SHARED_0_WXUSE_EXPAT_BUILTIN$ac_delim
50020 COND_SHARED_0_WXUSE_ODBC_BUILTIN!$COND_SHARED_0_WXUSE_ODBC_BUILTIN$ac_delim
50021 COND_SHARED_0_WXUSE_REGEX_BUILTIN!$COND_SHARED_0_WXUSE_REGEX_BUILTIN$ac_delim
50022 COND_SHARED_0_WXUSE_ZLIB_BUILTIN!$COND_SHARED_0_WXUSE_ZLIB_BUILTIN$ac_delim
50023 COND_SHARED_1!$COND_SHARED_1$ac_delim
50024 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1!$COND_SHARED_1_USE_GUI_1_USE_OPENGL_1$ac_delim
50025 COND_SHARED_1_USE_XRC_1!$COND_SHARED_1_USE_XRC_1$ac_delim
50026 COND_TOOLKIT_!$COND_TOOLKIT_$ac_delim
50027 COND_TOOLKIT_COCOA!$COND_TOOLKIT_COCOA$ac_delim
50028 COND_TOOLKIT_COCOA_USE_GUI_1!$COND_TOOLKIT_COCOA_USE_GUI_1$ac_delim
50029 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0$ac_delim
50030 COND_TOOLKIT_DFB!$COND_TOOLKIT_DFB$ac_delim
50031 COND_TOOLKIT_DFB_USE_GUI_1!$COND_TOOLKIT_DFB_USE_GUI_1$ac_delim
50032 COND_TOOLKIT_GTK!$COND_TOOLKIT_GTK$ac_delim
50035 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
50037 elif $ac_last_try; then
50038 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
50039 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
50040 { (exit 1); exit 1; }; }
50042 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
50046 ac_eof
=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
50047 if test -n "$ac_eof"; then
50048 ac_eof
=`echo "$ac_eof" | sort -nru | sed 1q`
50049 ac_eof
=`expr $ac_eof + 1`
50052 cat >>$CONFIG_STATUS <<_ACEOF
50053 cat >"\$tmp/subs-3.sed" <<\CEOF$ac_eof
50054 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
50057 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
50058 s/^/s,@/; s/!/@,|#_!!_#|/
50061 s/'"$ac_delim"'$/,g/; t
50063 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
50064 ' >>$CONFIG_STATUS <conf$
$subs.
sed
50065 rm -f conf$
$subs.
sed
50066 cat >>$CONFIG_STATUS <<_ACEOF
50072 for ac_last_try
in false false false false false
:; do
50073 cat >conf$
$subs.
sed <<_ACEOF
50074 COND_TOOLKIT_GTK_TOOLKIT_VERSION_!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_$ac_delim
50075 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2$ac_delim
50076 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1$ac_delim
50077 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0$ac_delim
50078 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1!$COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1$ac_delim
50079 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0$ac_delim
50080 COND_TOOLKIT_GTK_USE_GUI_1!$COND_TOOLKIT_GTK_USE_GUI_1$ac_delim
50081 COND_TOOLKIT_MAC!$COND_TOOLKIT_MAC$ac_delim
50082 COND_TOOLKIT_MAC_USE_GUI_1!$COND_TOOLKIT_MAC_USE_GUI_1$ac_delim
50083 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0$ac_delim
50084 COND_TOOLKIT_MGL!$COND_TOOLKIT_MGL$ac_delim
50085 COND_TOOLKIT_MGL_USE_GUI_1!$COND_TOOLKIT_MGL_USE_GUI_1$ac_delim
50086 COND_TOOLKIT_MOTIF!$COND_TOOLKIT_MOTIF$ac_delim
50087 COND_TOOLKIT_MOTIF_USE_GUI_1!$COND_TOOLKIT_MOTIF_USE_GUI_1$ac_delim
50088 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0$ac_delim
50089 COND_TOOLKIT_MSW!$COND_TOOLKIT_MSW$ac_delim
50090 COND_TOOLKIT_MSW_USE_GUI_1!$COND_TOOLKIT_MSW_USE_GUI_1$ac_delim
50091 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0$ac_delim
50092 COND_TOOLKIT_MSW_WXUNIV_0!$COND_TOOLKIT_MSW_WXUNIV_0$ac_delim
50093 COND_TOOLKIT_PM!$COND_TOOLKIT_PM$ac_delim
50094 COND_TOOLKIT_PM_USE_GUI_1!$COND_TOOLKIT_PM_USE_GUI_1$ac_delim
50095 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0$ac_delim
50096 COND_TOOLKIT_WINCE!$COND_TOOLKIT_WINCE$ac_delim
50097 COND_TOOLKIT_WINCE_USE_GUI_1!$COND_TOOLKIT_WINCE_USE_GUI_1$ac_delim
50098 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0$ac_delim
50099 COND_TOOLKIT_WINCE_WXUNIV_0!$COND_TOOLKIT_WINCE_WXUNIV_0$ac_delim
50100 COND_TOOLKIT_X11!$COND_TOOLKIT_X11$ac_delim
50101 COND_TOOLKIT_X11_USE_GUI_1!$COND_TOOLKIT_X11_USE_GUI_1$ac_delim
50102 COND_UNICODE_1!$COND_UNICODE_1$ac_delim
50103 COND_USE_EXCEPTIONS_0!$COND_USE_EXCEPTIONS_0$ac_delim
50104 COND_USE_EXCEPTIONS_1!$COND_USE_EXCEPTIONS_1$ac_delim
50105 COND_USE_GUI_0!$COND_USE_GUI_0$ac_delim
50106 COND_USE_GUI_1!$COND_USE_GUI_1$ac_delim
50107 COND_USE_GUI_1_WXUNIV_0!$COND_USE_GUI_1_WXUNIV_0$ac_delim
50108 COND_USE_GUI_1_WXUNIV_1!$COND_USE_GUI_1_WXUNIV_1$ac_delim
50109 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN!$COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN$ac_delim
50110 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN!$COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN$ac_delim
50111 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN!$COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN$ac_delim
50112 COND_USE_ODBC_1!$COND_USE_ODBC_1$ac_delim
50113 COND_USE_OPENGL_1!$COND_USE_OPENGL_1$ac_delim
50114 COND_USE_PCH_1!$COND_USE_PCH_1$ac_delim
50115 COND_USE_PLUGINS_0!$COND_USE_PLUGINS_0$ac_delim
50116 COND_USE_RTTI_0!$COND_USE_RTTI_0$ac_delim
50117 COND_USE_RTTI_1!$COND_USE_RTTI_1$ac_delim
50118 COND_USE_SOSYMLINKS_1!$COND_USE_SOSYMLINKS_1$ac_delim
50119 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1!$COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1$ac_delim
50120 COND_USE_SOVERLINUX_1!$COND_USE_SOVERLINUX_1$ac_delim
50121 COND_USE_SOVERSION_0!$COND_USE_SOVERSION_0$ac_delim
50122 COND_USE_SOVERSOLARIS_1!$COND_USE_SOVERSOLARIS_1$ac_delim
50123 COND_USE_STC_1!$COND_USE_STC_1$ac_delim
50124 COND_USE_THREADS_0!$COND_USE_THREADS_0$ac_delim
50125 COND_USE_THREADS_1!$COND_USE_THREADS_1$ac_delim
50126 COND_USE_XRC_1!$COND_USE_XRC_1$ac_delim
50127 COND_WINDOWS_IMPLIB_1!$COND_WINDOWS_IMPLIB_1$ac_delim
50128 COND_WITH_PLUGIN_SDL_1!$COND_WITH_PLUGIN_SDL_1$ac_delim
50129 COND_WXUNIV_0!$COND_WXUNIV_0$ac_delim
50130 COND_WXUNIV_1!$COND_WXUNIV_1$ac_delim
50131 COND_WXUSE_EXPAT_BUILTIN!$COND_WXUSE_EXPAT_BUILTIN$ac_delim
50132 COND_WXUSE_LIBJPEG_BUILTIN!$COND_WXUSE_LIBJPEG_BUILTIN$ac_delim
50133 COND_WXUSE_LIBPNG_BUILTIN!$COND_WXUSE_LIBPNG_BUILTIN$ac_delim
50134 COND_WXUSE_LIBTIFF_BUILTIN!$COND_WXUSE_LIBTIFF_BUILTIN$ac_delim
50135 COND_WXUSE_ODBC_BUILTIN!$COND_WXUSE_ODBC_BUILTIN$ac_delim
50136 COND_WXUSE_REGEX_BUILTIN!$COND_WXUSE_REGEX_BUILTIN$ac_delim
50137 COND_WXUSE_ZLIB_BUILTIN!$COND_WXUSE_ZLIB_BUILTIN$ac_delim
50138 SHARED!$SHARED$ac_delim
50139 WX_LIBRARY_BASENAME_NOGUI!$WX_LIBRARY_BASENAME_NOGUI$ac_delim
50140 WX_LIBRARY_BASENAME_GUI!$WX_LIBRARY_BASENAME_GUI$ac_delim
50141 USE_GUI!$USE_GUI$ac_delim
50142 AFMINSTALL!$AFMINSTALL$ac_delim
50143 WIN32INSTALL!$WIN32INSTALL$ac_delim
50144 TOOLKIT!$TOOLKIT$ac_delim
50145 TOOLKIT_DIR!$TOOLKIT_DIR$ac_delim
50146 TOOLCHAIN_NAME!$TOOLCHAIN_NAME$ac_delim
50147 TOOLCHAIN_FULLNAME!$TOOLCHAIN_FULLNAME$ac_delim
50148 cross_compiling!$cross_compiling$ac_delim
50149 WIDGET_SET!$WIDGET_SET$ac_delim
50150 WX_RELEASE!$WX_RELEASE$ac_delim
50151 WX_VERSION!$WX_VERSION$ac_delim
50152 WX_SUBVERSION!$WX_SUBVERSION$ac_delim
50153 WX_CHARTYPE!$WX_CHARTYPE$ac_delim
50154 WX_DEBUGTYPE!$WX_DEBUGTYPE$ac_delim
50155 WXCONFIG_CPPFLAGS!$WXCONFIG_CPPFLAGS$ac_delim
50156 WXCONFIG_CFLAGS!$WXCONFIG_CFLAGS$ac_delim
50157 WXCONFIG_CXXFLAGS!$WXCONFIG_CXXFLAGS$ac_delim
50158 WXCONFIG_LIBS!$WXCONFIG_LIBS$ac_delim
50159 WXCONFIG_RPATH!$WXCONFIG_RPATH$ac_delim
50160 WXCONFIG_LDFLAGS_GUI!$WXCONFIG_LDFLAGS_GUI$ac_delim
50161 WXCONFIG_RESFLAGS!$WXCONFIG_RESFLAGS$ac_delim
50162 EXE_LINKER!$EXE_LINKER$ac_delim
50163 GUIDIST!$GUIDIST$ac_delim
50164 DISTDIR!$DISTDIR$ac_delim
50165 SAMPLES_SUBDIRS!$SAMPLES_SUBDIRS$ac_delim
50166 LDFLAGS_GL!$LDFLAGS_GL$ac_delim
50167 OPENGL_LIBS!$OPENGL_LIBS$ac_delim
50168 DMALLOC_LIBS!$DMALLOC_LIBS$ac_delim
50169 WX_VERSION_TAG!$WX_VERSION_TAG$ac_delim
50170 RESCOMP!$RESCOMP$ac_delim
50173 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
50175 elif $ac_last_try; then
50176 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
50177 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
50178 { (exit 1); exit 1; }; }
50180 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
50184 ac_eof
=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
50185 if test -n "$ac_eof"; then
50186 ac_eof
=`echo "$ac_eof" | sort -nru | sed 1q`
50187 ac_eof
=`expr $ac_eof + 1`
50190 cat >>$CONFIG_STATUS <<_ACEOF
50191 cat >"\$tmp/subs-4.sed" <<\CEOF$ac_eof
50192 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
50195 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
50196 s/^/s,@/; s/!/@,|#_!!_#|/
50199 s/'"$ac_delim"'$/,g/; t
50201 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
50202 ' >>$CONFIG_STATUS <conf$
$subs.
sed
50203 rm -f conf$
$subs.
sed
50204 cat >>$CONFIG_STATUS <<_ACEOF
50210 for ac_last_try
in false false false false false
:; do
50211 cat >conf$
$subs.
sed <<_ACEOF
50212 RESFLAGS!$RESFLAGS$ac_delim
50213 RESPROGRAMOBJ!$RESPROGRAMOBJ$ac_delim
50214 WX_RESOURCES_MACOSX_ASCII!$WX_RESOURCES_MACOSX_ASCII$ac_delim
50215 WX_RESOURCES_MACOSX_DATA!$WX_RESOURCES_MACOSX_DATA$ac_delim
50216 LIBWXMACRES!$LIBWXMACRES$ac_delim
50217 POSTLINK_COMMAND!$POSTLINK_COMMAND$ac_delim
50218 MACSETFILE!$MACSETFILE$ac_delim
50220 CPPUNIT_CONFIG!$CPPUNIT_CONFIG$ac_delim
50221 LIBOBJS!$LIBOBJS$ac_delim
50222 LTLIBOBJS!$LTLIBOBJS$ac_delim
50225 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 11; then
50227 elif $ac_last_try; then
50228 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
50229 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
50230 { (exit 1); exit 1; }; }
50232 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
50236 ac_eof
=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
50237 if test -n "$ac_eof"; then
50238 ac_eof
=`echo "$ac_eof" | sort -nru | sed 1q`
50239 ac_eof
=`expr $ac_eof + 1`
50242 cat >>$CONFIG_STATUS <<_ACEOF
50243 cat >"\$tmp/subs-5.sed" <<\CEOF$ac_eof
50244 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
50247 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
50248 s/^/s,@/; s/!/@,|#_!!_#|/
50251 s/'"$ac_delim"'$/,g/; t
50253 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
50254 ' >>$CONFIG_STATUS <conf$
$subs.
sed
50255 rm -f conf$
$subs.
sed
50256 cat >>$CONFIG_STATUS <<_ACEOF
50263 # VPATH may cause trouble with some makes, so we remove $(srcdir),
50264 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
50265 # trailing colons and then remove the whole line if VPATH becomes empty
50266 # (actually we leave an empty line to preserve line numbers).
50267 if test "x$srcdir" = x.
; then
50268 ac_vpsub
='/^[ ]*VPATH[ ]*=/{
50269 s/:*\$(srcdir):*/:/
50270 s/:*\${srcdir}:*/:/
50272 s/^\([^=]*=[ ]*\):*/\1/
50278 cat >>$CONFIG_STATUS <<\_ACEOF
50279 fi # test -n "$CONFIG_FILES"
50282 for ac_tag
in :F
$CONFIG_FILES :H
$CONFIG_HEADERS :C
$CONFIG_COMMANDS
50285 :[FHLC
]) ac_mode
=$ac_tag; continue;;
50287 case $ac_mode$ac_tag in
50289 :L
* | :C
*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
50290 echo "$as_me: error: Invalid tag $ac_tag." >&2;}
50291 { (exit 1); exit 1; }; };;
50292 :[FH
]-) ac_tag
=-:-;;
50293 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
50310 -) ac_f
="$tmp/stdin";;
50311 *) # Look for the file first in the build tree, then in the source tree
50312 # (if the path is not absolute). The absolute path cannot be DOS-style,
50313 # because $ac_f cannot contain `:'.
50317 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
50319 { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
50320 echo "$as_me: error: cannot find input file: $ac_f" >&2;}
50321 { (exit 1); exit 1; }; };;
50323 ac_file_inputs
="$ac_file_inputs $ac_f"
50326 # Let's still pretend it is `configure' which instantiates (i.e., don't
50327 # use $as_me), people would be surprised to read:
50328 # /* config.h. Generated by config.status. */
50329 configure_input
="Generated from "`IFS=:
50330 echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
50331 if test x
"$ac_file" != x
-; then
50332 configure_input
="$ac_file. $configure_input"
50333 { echo "$as_me:$LINENO: creating $ac_file" >&5
50334 echo "$as_me: creating $ac_file" >&6;}
50338 *:-:* | *:-) cat >"$tmp/stdin";;
50343 ac_dir
=`$as_dirname -- "$ac_file" ||
50344 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
50345 X"$ac_file" : 'X\(//\)[^/]' \| \
50346 X"$ac_file" : 'X\(//\)$' \| \
50347 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
50349 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
50353 /^X\(\/\/\)[^/].*/{
50368 -*) as_dir
=.
/$as_dir;;
50370 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
50374 *\'*) as_qdir
=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
50375 *) as_qdir
=$as_dir;;
50377 as_dirs
="'$as_qdir' $as_dirs"
50378 as_dir
=`$as_dirname -- "$as_dir" ||
50379 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
50380 X"$as_dir" : 'X\(//\)[^/]' \| \
50381 X"$as_dir" : 'X\(//\)$' \| \
50382 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
50384 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
50388 /^X\(\/\/\)[^/].*/{
50401 test -d "$as_dir" && break
50403 test -z "$as_dirs" || eval "mkdir $as_dirs"
50404 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
50405 echo "$as_me: error: cannot create directory $as_dir" >&2;}
50406 { (exit 1); exit 1; }; }; }
50410 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
50412 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
50413 # A ".." for each directory in $ac_dir_suffix.
50414 ac_top_builddir_sub
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
50415 case $ac_top_builddir_sub in
50416 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
50417 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
50420 ac_abs_top_builddir
=$ac_pwd
50421 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
50422 # for backward compatibility:
50423 ac_top_builddir
=$ac_top_build_prefix
50426 .
) # We are building in place.
50428 ac_top_srcdir
=$ac_top_builddir_sub
50429 ac_abs_top_srcdir
=$ac_pwd ;;
50430 [\\/]* | ?
:[\\/]* ) # Absolute name.
50431 ac_srcdir
=$srcdir$ac_dir_suffix;
50432 ac_top_srcdir
=$srcdir
50433 ac_abs_top_srcdir
=$srcdir ;;
50434 *) # Relative name.
50435 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
50436 ac_top_srcdir
=$ac_top_build_prefix$srcdir
50437 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
50439 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
50449 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
50450 *) ac_INSTALL
=$ac_top_build_prefix$INSTALL ;;
50454 cat >>$CONFIG_STATUS <<\_ACEOF
50455 # If the template does not know about datarootdir, expand it.
50456 # FIXME: This hack should be removed a few years after 2.60.
50457 ac_datarootdir_hack
=; ac_datarootdir_seen
=
50459 case `sed -n '/datarootdir/ {
50468 ' $ac_file_inputs` in
50469 *datarootdir
*) ac_datarootdir_seen
=yes;;
50470 *@datadir@
*|*@docdir@
*|*@infodir@
*|*@localedir@
*|*@mandir@
*)
50471 { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
50472 echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
50474 cat >>$CONFIG_STATUS <<_ACEOF
50475 ac_datarootdir_hack='
50476 s&@datadir@&$datadir&g
50477 s&@docdir@&$docdir&g
50478 s&@infodir@&$infodir&g
50479 s&@localedir@&$localedir&g
50480 s&@mandir@&$mandir&g
50481 s&\\\${datarootdir}&$datarootdir&g' ;;
50485 # Neutralize VPATH when `$srcdir' = `.'.
50486 # Shell code in configure.ac might set extrasub.
50487 # FIXME: do we really want to maintain this feature?
50488 cat >>$CONFIG_STATUS <<_ACEOF
50492 cat >>$CONFIG_STATUS <<\_ACEOF
50494 /@
[a
-zA-Z_][a
-zA-Z_0-9]*@
/!b
50495 s
&@configure_input@
&$configure_input&;t t
50496 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
50497 s
&@srcdir@
&$ac_srcdir&;t t
50498 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
50499 s
&@top_srcdir@
&$ac_top_srcdir&;t t
50500 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
50501 s
&@builddir@
&$ac_builddir&;t t
50502 s
&@abs_builddir@
&$ac_abs_builddir&;t t
50503 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
50504 s
&@INSTALL@
&$ac_INSTALL&;t t
50505 $ac_datarootdir_hack
50506 " $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
50508 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
50509 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out
"`; test -n "$ac_out"; } &&
50510 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out
"`; test -z "$ac_out"; } &&
50511 { echo "$as_me:$LINENO: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
50512 which seems to be undefined. Please make sure it is defined." >&5
50513 echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
50514 which seems to be undefined. Please make sure it is defined." >&2;}
50518 -) cat "$tmp/out"; rm -f "$tmp/out";;
50519 *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
50528 # Transform confdefs.h into a sed script `conftest.defines', that
50529 # substitutes the proper values into config.h.in to produce config.h.
50530 rm -f conftest.defines conftest.
tail
50531 # First, append a space to every undef/define line, to ease matching.
50532 echo 's/$/ /' >conftest.defines
50533 # Then, protect against being on the right side of a sed subst, or in
50534 # an unquoted here document, in config.status. If some macros were
50535 # called several times there might be several #defines for the same
50536 # symbol, which is useless. But do not sort them, since the last
50537 # AC_DEFINE must be honored.
50538 ac_word_re
=[_
$as_cr_Letters][_
$as_cr_alnum]*
50539 # These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
50540 # NAME is the cpp macro being defined, VALUE is the value it is being given.
50541 # PARAMS is the parameter list in the macro definition--in most cases, it's
50542 # just an empty string.
50543 ac_dA
='s,^\\([ #]*\\)[^ ]*\\([ ]*'
50544 ac_dB
='\\)[ (].*,\\1define\\2'
50552 s/^[ ]*#[ ]*define[ ][ ]*//
50557 s/^\('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
50558 s/^\('"$ac_word_re"'\)[ ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
50559 ' >>conftest.defines
50561 # Remove the space that was appended to ease matching.
50562 # Then replace #undef with comments. This is necessary, for
50563 # example, in the case of _POSIX_SOURCE, which is predefined and required
50564 # on some systems where configure will not decide to define it.
50565 # (The regexp can be short, since the line contains either #define or #undef.)
50567 s,^[ #]*u.*,/* & */,' >>conftest.defines
50569 # Break up conftest.defines:
50570 ac_max_sed_lines
=50
50572 # First sed command is: sed -f defines.sed $ac_file_inputs >"$tmp/out1"
50573 # Second one is: sed -f defines.sed "$tmp/out1" >"$tmp/out2"
50574 # Third one will be: sed -f defines.sed "$tmp/out2" >"$tmp/out1"
50576 ac_in
='$ac_file_inputs'
50577 ac_out
='"$tmp/out1"'
50578 ac_nxt
='"$tmp/out2"'
50582 # Write a here document:
50583 cat >>$CONFIG_STATUS <<_ACEOF
50584 # First, check the format of the line:
50585 cat >"\$tmp/defines.sed" <<\\CEOF
50586 /^[ ]*#[ ]*undef[ ][ ]*$ac_word_re[ ]*\$/b def
50587 /^[ ]*#[ ]*define[ ][ ]*$ac_word_re[( ]/b def
50591 sed ${ac_max_sed_lines}q conftest.defines
>>$CONFIG_STATUS
50593 sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
50594 ac_in
=$ac_out; ac_out
=$ac_nxt; ac_nxt
=$ac_in
50595 sed 1,${ac_max_sed_lines}d conftest.defines
>conftest.
tail
50596 grep . conftest.
tail >/dev
/null
|| break
50597 rm -f conftest.defines
50598 mv conftest.
tail conftest.defines
50600 rm -f conftest.defines conftest.
tail
50602 echo "ac_result=$ac_in" >>$CONFIG_STATUS
50603 cat >>$CONFIG_STATUS <<\_ACEOF
50604 if test x
"$ac_file" != x
-; then
50605 echo "/* $configure_input */" >"$tmp/config.h"
50606 cat "$ac_result" >>"$tmp/config.h"
50607 if diff $ac_file "$tmp/config.h" >/dev
/null
2>&1; then
50608 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
50609 echo "$as_me: $ac_file is unchanged" >&6;}
50612 mv "$tmp/config.h" $ac_file
50615 echo "/* $configure_input */"
50621 :C
) { echo "$as_me:$LINENO: executing $ac_file commands" >&5
50622 echo "$as_me: executing $ac_file commands" >&6;}
50627 case $ac_file$ac_mode in
50629 mkdir -p $outdir &&
50630 $CPP $infile | sed 's/^# *[1-9].*//;s/^ *//;/./,/^$/!d' > $outdir/rcdefs.h
50632 "lib/wx/config/${TOOLCHAIN_FULLNAME}":F
) chmod +x lib
/wx
/config
/${TOOLCHAIN_FULLNAME} ;;
50633 "lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}":F
) chmod +x lib
/wx
/config
/inplace
-${TOOLCHAIN_FULLNAME} ;;
50634 "wx-config":C
) rm -f wx
-config
50635 ${LN_S} lib
/wx
/config
/inplace
-${TOOLCHAIN_FULLNAME} wx
-config
50642 { (exit 0); exit 0; }
50644 chmod +x
$CONFIG_STATUS
50645 ac_clean_files
=$ac_clean_files_save
50648 # configure is writing to config.log, and then calls config.status.
50649 # config.status does its own redirection, appending to config.log.
50650 # Unfortunately, on DOS this fails, as config.log is still kept open
50651 # by configure, so config.status won't be able to write to it; its
50652 # output is simply discarded. So we exec the FD to /dev/null,
50653 # effectively closing config.log, so it can be properly (re)opened and
50654 # appended to by config.status. When coming back to configure, we
50655 # need to make the FD available again.
50656 if test "$no_create" != yes; then
50658 ac_config_status_args
=
50659 test "$silent" = yes &&
50660 ac_config_status_args
="$ac_config_status_args --quiet"
50662 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
50664 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
50665 # would make configure fail if this is the last instruction.
50666 $ac_cs_success || { (exit 1); exit 1; }
50670 # CONFIG_SUBDIRS section.
50672 if test "$no_recursion" != yes; then
50674 # Remove --cache-file and --srcdir arguments so they do not pile up.
50675 ac_sub_configure_args
=
50677 eval "set x $ac_configure_args"
50681 if test -n "$ac_prev"; then
50686 -cache-file | --cache-file | --cache-fil | --cache-fi \
50687 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
50688 ac_prev
=cache_file
;;
50689 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
50690 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \
50693 --config-cache | -C)
50695 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
50697 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
50699 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
50701 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
50705 *\'*) ac_arg
=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
50707 ac_sub_configure_args
="$ac_sub_configure_args '$ac_arg'" ;;
50711 # Always prepend --prefix to ensure using the same prefix
50712 # in subdir configurations.
50713 ac_arg
="--prefix=$prefix"
50715 *\'*) ac_arg
=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
50717 ac_sub_configure_args
="'$ac_arg' $ac_sub_configure_args"
50720 if test "$silent" = yes; then
50721 ac_sub_configure_args
="--silent $ac_sub_configure_args"
50725 for ac_dir
in : $subdirs; do test "x$ac_dir" = x
: && continue
50727 # Do not complain, so a configure script can configure whichever
50728 # parts of a large source tree are present.
50729 test -d "$srcdir/$ac_dir" || continue
50731 ac_msg
="=== configuring in $ac_dir (`pwd`/$ac_dir)"
50732 echo "$as_me:$LINENO: $ac_msg" >&5
50736 -*) as_dir
=.
/$as_dir;;
50738 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
50742 *\'*) as_qdir
=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
50743 *) as_qdir
=$as_dir;;
50745 as_dirs
="'$as_qdir' $as_dirs"
50746 as_dir
=`$as_dirname -- "$as_dir" ||
50747 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
50748 X"$as_dir" : 'X\(//\)[^/]' \| \
50749 X"$as_dir" : 'X\(//\)$' \| \
50750 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
50752 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
50756 /^X\(\/\/\)[^/].*/{
50769 test -d "$as_dir" && break
50771 test -z "$as_dirs" || eval "mkdir $as_dirs"
50772 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
50773 echo "$as_me: error: cannot create directory $as_dir" >&2;}
50774 { (exit 1); exit 1; }; }; }
50778 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
50780 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
50781 # A ".." for each directory in $ac_dir_suffix.
50782 ac_top_builddir_sub
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
50783 case $ac_top_builddir_sub in
50784 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
50785 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
50788 ac_abs_top_builddir
=$ac_pwd
50789 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
50790 # for backward compatibility:
50791 ac_top_builddir
=$ac_top_build_prefix
50794 .
) # We are building in place.
50796 ac_top_srcdir
=$ac_top_builddir_sub
50797 ac_abs_top_srcdir
=$ac_pwd ;;
50798 [\\/]* | ?
:[\\/]* ) # Absolute name.
50799 ac_srcdir
=$srcdir$ac_dir_suffix;
50800 ac_top_srcdir
=$srcdir
50801 ac_abs_top_srcdir
=$srcdir ;;
50802 *) # Relative name.
50803 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
50804 ac_top_srcdir
=$ac_top_build_prefix$srcdir
50805 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
50807 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
50812 # Check for guested configure; otherwise get Cygnus style configure.
50813 if test -f "$ac_srcdir/configure.gnu"; then
50814 ac_sub_configure
=$ac_srcdir/configure.gnu
50815 elif test -f "$ac_srcdir/configure"; then
50816 ac_sub_configure
=$ac_srcdir/configure
50817 elif test -f "$ac_srcdir/configure.in"; then
50818 # This should be Cygnus configure.
50819 ac_sub_configure
=$ac_aux_dir/configure
50821 { echo "$as_me:$LINENO: WARNING: no configuration information is in $ac_dir" >&5
50822 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
50826 # The recursion is here.
50827 if test -n "$ac_sub_configure"; then
50828 # Make the cache file name correct relative to the subdirectory.
50829 case $cache_file in
50830 [\\/]* | ?
:[\\/]* ) ac_sub_cache_file
=$cache_file ;;
50831 *) # Relative name.
50832 ac_sub_cache_file
=$ac_top_build_prefix$cache_file ;;
50835 { echo "$as_me:$LINENO: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
50836 echo "$as_me: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
50837 # The eval makes quoting arguments work.
50838 eval "\$SHELL \"\$ac_sub_configure\" $ac_sub_configure_args \
50839 --cache-file=\"\$ac_sub_cache_file\" --srcdir=\"\$ac_srcdir\"" ||
50840 { { echo "$as_me:$LINENO: error: $ac_sub_configure failed for $ac_dir" >&5
50841 echo "$as_me: error: $ac_sub_configure failed for $ac_dir" >&2;}
50842 { (exit 1); exit 1; }; }
50851 echo "Configured wxWidgets ${WX_VERSION} for \`${host}'"
50853 echo " Which GUI toolkit should wxWidgets use? ${TOOLKIT_DESC}"
50854 echo " Should wxWidgets be compiled into single library? ${wxUSE_MONOLITHIC:-yes}"
50856 echo " Should wxWidgets be compiled in debug mode? ${wxUSE_DEBUG:-no}"
50857 echo " Should wxWidgets be linked as a shared library? ${wxUSE_SHARED:-no}"
50858 echo " Should wxWidgets be compiled in Unicode mode? ${wxUSE_UNICODE:-no}"
50860 echo " What level of wxWidgets compatibility should be enabled?"
50861 echo " wxWidgets 2.6 ${WXWIN_COMPATIBILITY_2_6:-no}"
50862 echo " wxWidgets 2.8 ${WXWIN_COMPATIBILITY_2_8:-yes}"
50864 echo " Which libraries should wxWidgets use?"
50865 echo " jpeg ${wxUSE_LIBJPEG-none}"
50866 echo " png ${wxUSE_LIBPNG-none}"
50867 echo " regex ${wxUSE_REGEX}"
50868 echo " tiff ${wxUSE_LIBTIFF-none}"
50869 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
50870 echo " xpm ${wxUSE_LIBXPM-none}"
50872 echo " zlib ${wxUSE_ZLIB}"
50873 echo " odbc ${wxUSE_ODBC}"
50874 echo " expat ${wxUSE_EXPAT}"
50875 echo " libmspack ${wxUSE_LIBMSPACK}"
50876 echo " sdl ${wxUSE_LIBSDL}"