2 # From configure.in Id: configure.in 46713 2007-06-26 20:44:58Z VS .
3 # Guess values for system-dependent variables and create Makefiles.
4 # Generated by GNU Autoconf 2.61 for wxWidgets 2.9.0.
6 # Report bugs to <wx-dev@lists.wxwidgets.org>.
8 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
9 # 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
10 # This configure script is free software; the Free Software Foundation
11 # gives unlimited permission to copy, distribute and modify it.
12 ## --------------------- ##
13 ## M4sh Initialization. ##
14 ## --------------------- ##
16 # Be more Bourne compatible
17 DUALCASE
=1; export DUALCASE
# for MKS sh
18 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
21 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
22 # is contrary to our usage. Disable this feature.
23 alias -g '${1+"$@"}'='"$@"'
26 case `(set -o) 2>/dev/null` in
27 *posix
*) set -o posix
;;
36 # Avoid depending upon Character Ranges.
37 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
38 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
39 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
40 as_cr_digits
='0123456789'
41 as_cr_alnum
=$as_cr_Letters$as_cr_digits
43 # The user is always right.
44 if test "${PATH_SEPARATOR+set}" != set; then
45 echo "#! /bin/sh" >conf$$.sh
46 echo "exit 0" >>conf$$.sh
48 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
56 # Support unset when possible.
57 if ( (MAIL
=60; unset MAIL
) || exit) >/dev
/null
2>&1; then
65 # We need space, tab and new line, in precisely that order. Quoting is
66 # there to prevent editors from complaining about space-tab.
67 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
68 # splitting by setting IFS to empty value.)
73 # Find who we are. Look in the path if we contain no directory separator.
75 *[\\/]* ) as_myself
=$0 ;;
76 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
80 test -z "$as_dir" && as_dir
=.
81 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
87 # We did not find ourselves, most probably we were run as `sh COMMAND'
88 # in which case we are not to be found in the path.
89 if test "x$as_myself" = x
; then
92 if test ! -f "$as_myself"; then
93 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
97 # Work around bugs in pre-3.0 UWIN ksh.
98 for as_var
in ENV MAIL MAILPATH
99 do ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
107 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
108 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
111 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
112 eval $as_var=C
; export $as_var
114 ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
118 # Required to use basename.
119 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
120 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
126 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
133 # Name of the executable.
134 as_me
=`$as_basename -- "$0" ||
135 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
136 X"$0" : 'X\(//\)$' \| \
137 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
139 sed '/^.*\/\([^/][^/]*\)\/*$/{
157 if test "x$CONFIG_SHELL" = x
; then
158 if (eval ":") 2>/dev
/null
; then
164 if test $as_have_required = yes && (eval ":
174 as_func_ret_success () {
177 as_func_ret_failure () {
182 if as_func_success; then
186 echo as_func_success failed.
189 if as_func_failure; then
191 echo as_func_failure succeeded.
194 if as_func_ret_success; then
198 echo as_func_ret_success failed.
201 if as_func_ret_failure; then
203 echo as_func_ret_failure succeeded.
206 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
210 echo positional parameters were not saved.
213 test \$exitcode = 0) || { (exit 1); exit 1; }
218 test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
219 test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
220 ") 2> /dev
/null
; then
224 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
225 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
228 test -z "$as_dir" && as_dir
=.
231 for as_base
in sh bash ksh sh5
; do
232 as_candidate_shells
="$as_candidate_shells $as_dir/$as_base"
239 for as_shell
in $as_candidate_shells $SHELL; do
240 # Try only shells that exist, to save several forks.
241 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
242 { ("$as_shell") 2> /dev
/null
<<\_ASEOF
243 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
246 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
247 # is contrary to our usage. Disable this feature.
248 alias -g '${1+"$@"}'='"$@"'
251 case `(set -o) 2>/dev/null` in
252 *posix
*) set -o posix
;;
261 CONFIG_SHELL
=$as_shell
263 if { "$as_shell" 2> /dev
/null
<<\_ASEOF
264 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
267 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
268 # is contrary to our usage. Disable this feature.
269 alias -g '${1+"$@"}'='"$@"'
272 case `(set -o) 2>/dev/null` in
273 *posix
*) set -o posix
;;
289 as_func_ret_success
() {
292 as_func_ret_failure
() {
297 if as_func_success
; then
301 echo as_func_success failed.
304 if as_func_failure
; then
306 echo as_func_failure succeeded.
309 if as_func_ret_success
; then
313 echo as_func_ret_success failed.
316 if as_func_ret_failure
; then
318 echo as_func_ret_failure succeeded.
321 if ( set x
; as_func_ret_success y
&& test x
= "$1" ); then
325 echo positional parameters were not saved.
328 test $exitcode = 0) || { (exit 1); exit 1; }
333 test "x$as_lineno_1" != "x$as_lineno_2" &&
334 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; }
345 if test "x$CONFIG_SHELL" != x
; then
346 for as_var
in BASH_ENV ENV
347 do ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
350 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
354 if test $as_have_required = no
; then
355 echo This
script requires a shell
more modern than all the
356 echo shells that I found on your system. Please
install a
357 echo modern shell
, or manually run the
script under such a
358 echo shell
if you
do have one.
359 { (exit 1); exit 1; }
369 (eval "as_func_return () {
378 as_func_ret_success () {
381 as_func_ret_failure () {
386 if as_func_success; then
390 echo as_func_success failed.
393 if as_func_failure; then
395 echo as_func_failure succeeded.
398 if as_func_ret_success; then
402 echo as_func_ret_success failed.
405 if as_func_ret_failure; then
407 echo as_func_ret_failure succeeded.
410 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
414 echo positional parameters were not saved.
417 test \$exitcode = 0") || {
418 echo No shell found that supports shell functions.
419 echo Please tell autoconf@gnu.org about your system
,
420 echo including any error possibly output before this
428 test "x$as_lineno_1" != "x$as_lineno_2" &&
429 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
431 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
432 # uniformly replaced by the line number. The first 'sed' inserts a
433 # line-number line after each line using $LINENO; the second 'sed'
434 # does the real work. The second script uses 'N' to pair each
435 # line-number line with the line containing $LINENO, and appends
436 # trailing '-' during substitution so that $LINENO is not a special
438 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
439 # scripts with optimization help from Paolo Bonzini. Blame Lee
440 # E. McMahon (1931-1989) for sed's syntax. :-)
452 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
456 chmod +x
"$as_me.lineno" ||
457 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
458 { (exit 1); exit 1; }; }
460 # Don't try to exec as it changes $[0], causing all sort of problems
461 # (the dirname of $[0] is not the place where we might find the
462 # original and so on. Autoconf is especially sensitive to this).
464 # Exit status is that of the last command.
469 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
475 ECHO_C
= ECHO_N
= ECHO_T
=
479 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
486 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
487 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
493 rm -f conf$$ conf$$.exe conf$$.
file
494 if test -d conf$$.dir
; then
495 rm -f conf$$.dir
/conf$$.
file
501 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
503 # ... but there are two gotchas:
504 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
505 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
506 # In both cases, we have to default to `cp -p'.
507 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe
||
509 elif ln conf$$.
file conf$$
2>/dev
/null
; then
514 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
515 rmdir conf$$.dir
2>/dev
/null
517 if mkdir -p .
2>/dev
/null
; then
520 test -d .
/-p && rmdir .
/-p
524 if test -x / >/dev
/null
2>&1; then
527 if ls -dL / >/dev
/null
2>&1; then
534 if test -d "$1"; then
540 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
541 ???[sx]*):;;*)false;;esac;fi
545 as_executable_p
=$as_test_x
547 # Sed expression to map a string onto a valid CPP name.
548 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
550 # Sed expression to map a string onto a valid variable name.
551 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
555 exec 7<&0 </dev
/null
6>&1
558 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
559 # so uname gets run too.
560 ac_hostname
=`(hostname || uname -n) 2>/dev/null | sed 1q`
565 ac_default_prefix
=/usr
/local
567 ac_config_libobj_dir
=.
573 SHELL
=${CONFIG_SHELL-/bin/sh}
575 # Identity of this package.
576 PACKAGE_NAME
='wxWidgets'
577 PACKAGE_TARNAME
='wxwidgets'
578 PACKAGE_VERSION
='2.9.0'
579 PACKAGE_STRING
='wxWidgets 2.9.0'
580 PACKAGE_BUGREPORT
='wx-dev@lists.wxwidgets.org'
582 ac_unique_file
="wx-config.in"
583 # Factoring default headers for most tests.
584 ac_includes_default
="\
586 #ifdef HAVE_SYS_TYPES_H
587 # include <sys/types.h>
589 #ifdef HAVE_SYS_STAT_H
590 # include <sys/stat.h>
596 # ifdef HAVE_STDLIB_H
601 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
606 #ifdef HAVE_STRINGS_H
607 # include <strings.h>
609 #ifdef HAVE_INTTYPES_H
610 # include <inttypes.h>
628 program_transform_name
717 LIBGNOMEPRINTUI_CFLAGS
762 SAMPLES_RPATH_POSTLINK
808 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT
809 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT
810 COND_BUILD_DEBUG_UNICODE_0
811 COND_BUILD_DEBUG_UNICODE_1
813 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT
814 COND_BUILD_RELEASE_UNICODE_0
815 COND_BUILD_RELEASE_UNICODE_1
824 COND_MONOLITHIC_0_SHARED_0
825 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1
826 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1
827 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1
828 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1
829 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1
830 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1
831 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1
832 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1
833 COND_MONOLITHIC_0_SHARED_0_USE_STC_1
834 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1
835 COND_MONOLITHIC_0_SHARED_1
836 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1
837 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1
838 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1
839 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1
840 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1
841 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1
842 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1
843 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1
844 COND_MONOLITHIC_0_SHARED_1_USE_STC_1
845 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1
846 COND_MONOLITHIC_0_USE_AUI_1
847 COND_MONOLITHIC_0_USE_GUI_1
848 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1
849 COND_MONOLITHIC_0_USE_GUI_1_USE_ODBC_1
850 COND_MONOLITHIC_0_USE_HTML_1
851 COND_MONOLITHIC_0_USE_MEDIA_1
852 COND_MONOLITHIC_0_USE_ODBC_1
853 COND_MONOLITHIC_0_USE_QA_1
854 COND_MONOLITHIC_0_USE_RICHTEXT_1
855 COND_MONOLITHIC_0_USE_STC_1
856 COND_MONOLITHIC_0_USE_XRC_1
858 COND_MONOLITHIC_1_SHARED_0
859 COND_MONOLITHIC_1_SHARED_1
860 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1
861 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1
862 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1
863 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1
864 COND_PLATFORM_MACOSX_1
865 COND_PLATFORM_MACOSX_1_TOOLKIT_
866 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA
867 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK
868 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC
869 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1
870 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF
871 COND_PLATFORM_MACOSX_1_TOOLKIT_X11
872 COND_PLATFORM_MACOSX_1_USE_GUI_1
873 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1
874 COND_PLATFORM_MACOS_1
876 COND_PLATFORM_MSDOS_0
877 COND_PLATFORM_MSDOS_1
881 COND_PLATFORM_UNIX_1_TOOLKIT_MGL
882 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1
883 COND_PLATFORM_UNIX_1_USE_GUI_1
884 COND_PLATFORM_UNIX_1_USE_PLUGINS_0
885 COND_PLATFORM_WIN32_0
886 COND_PLATFORM_WIN32_1
888 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0
889 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0
890 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0
891 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1
892 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
893 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
894 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
895 COND_SHARED_0_USE_STC_1
896 COND_SHARED_0_USE_XRC_1
897 COND_SHARED_0_WXUSE_EXPAT_BUILTIN
898 COND_SHARED_0_WXUSE_ODBC_BUILTIN
899 COND_SHARED_0_WXUSE_REGEX_BUILTIN
900 COND_SHARED_0_WXUSE_ZLIB_BUILTIN
902 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1
903 COND_SHARED_1_USE_XRC_1
906 COND_TOOLKIT_COCOA_USE_GUI_1
907 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0
909 COND_TOOLKIT_DFB_USE_GUI_1
911 COND_TOOLKIT_GTK_TOOLKIT_VERSION_
912 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2
913 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1
914 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0
915 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1
916 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0
917 COND_TOOLKIT_GTK_USE_GUI_1
919 COND_TOOLKIT_MAC_USE_GUI_1
920 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0
922 COND_TOOLKIT_MGL_USE_GUI_1
924 COND_TOOLKIT_MOTIF_USE_GUI_1
925 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0
927 COND_TOOLKIT_MSW_USE_GUI_1
928 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0
929 COND_TOOLKIT_MSW_WXUNIV_0
931 COND_TOOLKIT_PM_USE_GUI_1
932 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0
934 COND_TOOLKIT_WINCE_USE_GUI_1
935 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0
936 COND_TOOLKIT_WINCE_WXUNIV_0
938 COND_TOOLKIT_X11_USE_GUI_1
940 COND_USE_EXCEPTIONS_0
941 COND_USE_EXCEPTIONS_1
944 COND_USE_GUI_1_USE_OPENGL_1
945 COND_USE_GUI_1_WXUNIV_0
946 COND_USE_GUI_1_WXUNIV_1
947 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
948 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
949 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
956 COND_USE_SOSYMLINKS_1
957 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1
958 COND_USE_SOVERLINUX_1
960 COND_USE_SOVERSOLARIS_1
965 COND_WINDOWS_IMPLIB_1
966 COND_WITH_PLUGIN_SDL_1
969 COND_WXUSE_EXPAT_BUILTIN
970 COND_WXUSE_LIBJPEG_BUILTIN
971 COND_WXUSE_LIBPNG_BUILTIN
972 COND_WXUSE_LIBTIFF_BUILTIN
973 COND_WXUSE_ODBC_BUILTIN
974 COND_WXUSE_REGEX_BUILTIN
975 COND_WXUSE_ZLIB_BUILTIN
977 WX_LIBRARY_BASENAME_NOGUI
978 WX_LIBRARY_BASENAME_GUI
1011 WX_RESOURCES_MACOSX_ASCII
1012 WX_RESOURCES_MACOSX_DATA
1021 ac_precious_vars
='build_alias
1043 LIBGNOMEPRINTUI_CFLAGS
1044 LIBGNOMEPRINTUI_LIBS
1053 ac_subdirs_all
='src/expat'
1055 # Initialize some variables set by options.
1057 ac_init_version
=false
1058 # The variables have the same names as the options, with
1059 # dashes changed to underlines.
1060 cache_file
=/dev
/null
1067 program_transform_name
=s
,x
,x
,
1075 # Installation directory options.
1076 # These are left unexpanded so users can "make install exec_prefix=/foo"
1077 # and all the variables that are supposed to be based on exec_prefix
1078 # by default will actually change.
1079 # Use braces instead of parens because sh, perl, etc. also accept them.
1080 # (The list follows the same order as the GNU Coding Standards.)
1081 bindir
='${exec_prefix}/bin'
1082 sbindir
='${exec_prefix}/sbin'
1083 libexecdir
='${exec_prefix}/libexec'
1084 datarootdir
='${prefix}/share'
1085 datadir
='${datarootdir}'
1086 sysconfdir
='${prefix}/etc'
1087 sharedstatedir
='${prefix}/com'
1088 localstatedir
='${prefix}/var'
1089 includedir
='${prefix}/include'
1090 oldincludedir
='/usr/include'
1091 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
1092 infodir
='${datarootdir}/info'
1097 libdir
='${exec_prefix}/lib'
1098 localedir
='${datarootdir}/locale'
1099 mandir
='${datarootdir}/man'
1105 # If the previous option needs an argument, assign it.
1106 if test -n "$ac_prev"; then
1107 eval $ac_prev=\
$ac_option
1113 *=*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1117 # Accept the important Cygnus configure options, so we can diagnose typos.
1119 case $ac_dashdash$ac_option in
1123 -bindir | --bindir | --bindi | --bind | --bin | --bi)
1125 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1126 bindir
=$ac_optarg ;;
1128 -build | --build | --buil | --bui | --bu)
1129 ac_prev
=build_alias
;;
1130 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1131 build_alias
=$ac_optarg ;;
1133 -cache-file | --cache-file | --cache-fil | --cache-fi \
1134 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1135 ac_prev
=cache_file
;;
1136 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1137 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1138 cache_file
=$ac_optarg ;;
1140 --config-cache | -C)
1141 cache_file
=config.cache
;;
1143 -datadir | --datadir | --datadi | --datad)
1145 -datadir=* | --datadir=* | --datadi=* | --datad=*)
1146 datadir
=$ac_optarg ;;
1148 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1149 | --dataroo | --dataro | --datar)
1150 ac_prev
=datarootdir
;;
1151 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1152 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1153 datarootdir
=$ac_optarg ;;
1155 -disable-* | --disable-*)
1156 ac_feature
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1157 # Reject names that are not valid shell variable names.
1158 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1159 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
1160 { (exit 1); exit 1; }; }
1161 ac_feature
=`echo $ac_feature | sed 's/[-.]/_/g'`
1162 eval enable_
$ac_feature=no
;;
1164 -docdir | --docdir | --docdi | --doc | --do)
1166 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1167 docdir
=$ac_optarg ;;
1169 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1171 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1172 dvidir
=$ac_optarg ;;
1174 -enable-* | --enable-*)
1175 ac_feature
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1176 # Reject names that are not valid shell variable names.
1177 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1178 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
1179 { (exit 1); exit 1; }; }
1180 ac_feature
=`echo $ac_feature | sed 's/[-.]/_/g'`
1181 eval enable_
$ac_feature=\
$ac_optarg ;;
1183 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1184 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1185 | --exec | --exe | --ex)
1186 ac_prev
=exec_prefix
;;
1187 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1188 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1189 | --exec=* | --exe=* | --ex=*)
1190 exec_prefix
=$ac_optarg ;;
1192 -gas | --gas | --ga | --g)
1193 # Obsolete; use --with-gas.
1196 -help | --help | --hel | --he | -h)
1197 ac_init_help
=long
;;
1198 -help=r
* | --help=r
* | --hel=r
* | --he=r
* | -hr*)
1199 ac_init_help
=recursive
;;
1200 -help=s
* | --help=s
* | --hel=s
* | --he=s
* | -hs*)
1201 ac_init_help
=short
;;
1203 -host | --host | --hos | --ho)
1204 ac_prev
=host_alias
;;
1205 -host=* | --host=* | --hos=* | --ho=*)
1206 host_alias
=$ac_optarg ;;
1208 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1210 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1212 htmldir
=$ac_optarg ;;
1214 -includedir | --includedir | --includedi | --included | --include \
1215 | --includ | --inclu | --incl | --inc)
1216 ac_prev
=includedir
;;
1217 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1218 | --includ=* | --inclu=* | --incl=* | --inc=*)
1219 includedir
=$ac_optarg ;;
1221 -infodir | --infodir | --infodi | --infod | --info | --inf)
1223 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1224 infodir
=$ac_optarg ;;
1226 -libdir | --libdir | --libdi | --libd)
1228 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1229 libdir
=$ac_optarg ;;
1231 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1232 | --libexe | --libex | --libe)
1233 ac_prev
=libexecdir
;;
1234 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1235 | --libexe=* | --libex=* | --libe=*)
1236 libexecdir
=$ac_optarg ;;
1238 -localedir | --localedir | --localedi | --localed | --locale)
1239 ac_prev
=localedir
;;
1240 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1241 localedir
=$ac_optarg ;;
1243 -localstatedir | --localstatedir | --localstatedi | --localstated \
1244 | --localstate | --localstat | --localsta | --localst | --locals)
1245 ac_prev
=localstatedir
;;
1246 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1247 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1248 localstatedir
=$ac_optarg ;;
1250 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1252 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1253 mandir
=$ac_optarg ;;
1255 -nfp | --nfp | --nf)
1256 # Obsolete; use --without-fp.
1259 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1260 | --no-cr | --no-c | -n)
1263 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1264 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1267 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1268 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1269 | --oldin | --oldi | --old | --ol | --o)
1270 ac_prev
=oldincludedir
;;
1271 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1272 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1273 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1274 oldincludedir
=$ac_optarg ;;
1276 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1278 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1279 prefix
=$ac_optarg ;;
1281 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1282 | --program-pre | --program-pr | --program-p)
1283 ac_prev
=program_prefix
;;
1284 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1285 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1286 program_prefix
=$ac_optarg ;;
1288 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1289 | --program-suf | --program-su | --program-s)
1290 ac_prev
=program_suffix
;;
1291 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1292 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1293 program_suffix
=$ac_optarg ;;
1295 -program-transform-name | --program-transform-name \
1296 | --program-transform-nam | --program-transform-na \
1297 | --program-transform-n | --program-transform- \
1298 | --program-transform | --program-transfor \
1299 | --program-transfo | --program-transf \
1300 | --program-trans | --program-tran \
1301 | --progr-tra | --program-tr | --program-t)
1302 ac_prev
=program_transform_name
;;
1303 -program-transform-name=* | --program-transform-name=* \
1304 | --program-transform-nam=* | --program-transform-na=* \
1305 | --program-transform-n=* | --program-transform-=* \
1306 | --program-transform=* | --program-transfor=* \
1307 | --program-transfo=* | --program-transf=* \
1308 | --program-trans=* | --program-tran=* \
1309 | --progr-tra=* | --program-tr=* | --program-t=*)
1310 program_transform_name
=$ac_optarg ;;
1312 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1314 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1315 pdfdir
=$ac_optarg ;;
1317 -psdir | --psdir | --psdi | --psd | --ps)
1319 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1322 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1323 | -silent | --silent | --silen | --sile | --sil)
1326 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1328 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1330 sbindir
=$ac_optarg ;;
1332 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1333 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1334 | --sharedst | --shareds | --shared | --share | --shar \
1336 ac_prev
=sharedstatedir
;;
1337 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1338 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1339 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1341 sharedstatedir
=$ac_optarg ;;
1343 -site | --site | --sit)
1345 -site=* | --site=* | --sit=*)
1348 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1350 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1351 srcdir
=$ac_optarg ;;
1353 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1354 | --syscon | --sysco | --sysc | --sys | --sy)
1355 ac_prev
=sysconfdir
;;
1356 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1357 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1358 sysconfdir
=$ac_optarg ;;
1360 -target | --target | --targe | --targ | --tar | --ta | --t)
1361 ac_prev
=target_alias
;;
1362 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1363 target_alias
=$ac_optarg ;;
1365 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1368 -version | --version | --versio | --versi | --vers | -V)
1369 ac_init_version
=: ;;
1372 ac_package
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1373 # Reject names that are not valid shell variable names.
1374 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1375 { echo "$as_me: error: invalid package name: $ac_package" >&2
1376 { (exit 1); exit 1; }; }
1377 ac_package
=`echo $ac_package | sed 's/[-.]/_/g'`
1378 eval with_
$ac_package=\
$ac_optarg ;;
1380 -without-* | --without-*)
1381 ac_package
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1382 # Reject names that are not valid shell variable names.
1383 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1384 { echo "$as_me: error: invalid package name: $ac_package" >&2
1385 { (exit 1); exit 1; }; }
1386 ac_package
=`echo $ac_package | sed 's/[-.]/_/g'`
1387 eval with_
$ac_package=no
;;
1390 # Obsolete; use --with-x.
1393 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1394 | --x-incl | --x-inc | --x-in | --x-i)
1395 ac_prev
=x_includes
;;
1396 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1397 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1398 x_includes
=$ac_optarg ;;
1400 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1401 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1402 ac_prev
=x_libraries
;;
1403 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1404 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1405 x_libraries
=$ac_optarg ;;
1407 -*) { echo "$as_me: error: unrecognized option: $ac_option
1408 Try \`$0 --help' for more information." >&2
1409 { (exit 1); exit 1; }; }
1413 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1414 # Reject names that are not valid shell variable names.
1415 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev
/null
&&
1416 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1417 { (exit 1); exit 1; }; }
1418 eval $ac_envvar=\
$ac_optarg
1419 export $ac_envvar ;;
1422 # FIXME: should be removed in autoconf 3.0.
1423 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1424 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1425 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1426 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1432 if test -n "$ac_prev"; then
1433 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1434 { echo "$as_me: error: missing argument to $ac_option" >&2
1435 { (exit 1); exit 1; }; }
1438 # Be sure to have absolute directory names.
1439 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1440 datadir sysconfdir sharedstatedir localstatedir includedir \
1441 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1442 libdir localedir mandir
1444 eval ac_val
=\$
$ac_var
1446 [\\/$
]* | ?
:[\\/]* ) continue;;
1447 NONE
| '' ) case $ac_var in *prefix
) continue;; esac;;
1449 { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1450 { (exit 1); exit 1; }; }
1453 # There might be people who depend on the old broken behavior: `$host'
1454 # used to hold the argument of --host etc.
1455 # FIXME: To remove some day.
1458 target
=$target_alias
1460 # FIXME: To remove some day.
1461 if test "x$host_alias" != x
; then
1462 if test "x$build_alias" = x
; then
1463 cross_compiling
=maybe
1464 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1465 If a cross compiler is detected then cross compile mode will be used." >&2
1466 elif test "x$build_alias" != "x$host_alias"; then
1472 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1474 test "$silent" = yes && exec 6>/dev
/null
1477 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1478 ac_ls_di
=`ls -di .` &&
1479 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1480 { echo "$as_me: error: Working directory cannot be determined" >&2
1481 { (exit 1); exit 1; }; }
1482 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1483 { echo "$as_me: error: pwd does not report name of working directory" >&2
1484 { (exit 1); exit 1; }; }
1487 # Find the source files, if location was not specified.
1488 if test -z "$srcdir"; then
1489 ac_srcdir_defaulted
=yes
1490 # Try the directory containing this script, then the parent directory.
1491 ac_confdir
=`$as_dirname -- "$0" ||
1492 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1493 X"$0" : 'X\(//\)[^/]' \| \
1494 X"$0" : 'X\(//\)$' \| \
1495 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
1497 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1515 if test ! -r "$srcdir/$ac_unique_file"; then
1519 ac_srcdir_defaulted
=no
1521 if test ! -r "$srcdir/$ac_unique_file"; then
1522 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1523 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1524 { (exit 1); exit 1; }; }
1526 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1528 cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
1529 { (exit 1); exit 1; }; }
1531 # When building in place, set srcdir=.
1532 if test "$ac_abs_confdir" = "$ac_pwd"; then
1535 # Remove unnecessary trailing slashes from srcdir.
1536 # Double slashes in file names in object file debugging info
1537 # mess up M-x gdb in Emacs.
1539 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1541 for ac_var
in $ac_precious_vars; do
1542 eval ac_env_
${ac_var}_set
=\
${${ac_var}+set}
1543 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1544 eval ac_cv_env_
${ac_var}_set
=\
${${ac_var}+set}
1545 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1549 # Report the --help message.
1551 if test "$ac_init_help" = "long"; then
1552 # Omit some internal or obsolete options to make the list less imposing.
1553 # This message is too long to be a string in the A/UX 3.1 sh.
1555 \`configure' configures wxWidgets 2.9.0 to adapt to many kinds of systems.
1557 Usage: $0 [OPTION]... [VAR=VALUE]...
1559 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1560 VAR=VALUE. See below for descriptions of some of the useful variables.
1562 Defaults for the options are specified in brackets.
1565 -h, --help display this help and exit
1566 --help=short display options specific to this package
1567 --help=recursive display the short help of all the included packages
1568 -V, --version display version information and exit
1569 -q, --quiet, --silent do not print \`checking...' messages
1570 --cache-file=FILE cache test results in FILE [disabled]
1571 -C, --config-cache alias for \`--cache-file=config.cache'
1572 -n, --no-create do not create output files
1573 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1575 Installation directories:
1576 --prefix=PREFIX install architecture-independent files in PREFIX
1577 [$ac_default_prefix]
1578 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1581 By default, \`make install' will install all the files in
1582 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1583 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1584 for instance \`--prefix=\$HOME'.
1586 For better control, use the options below.
1588 Fine tuning of the installation directories:
1589 --bindir=DIR user executables [EPREFIX/bin]
1590 --sbindir=DIR system admin executables [EPREFIX/sbin]
1591 --libexecdir=DIR program executables [EPREFIX/libexec]
1592 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1593 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1594 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1595 --libdir=DIR object code libraries [EPREFIX/lib]
1596 --includedir=DIR C header files [PREFIX/include]
1597 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1598 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1599 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1600 --infodir=DIR info documentation [DATAROOTDIR/info]
1601 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1602 --mandir=DIR man documentation [DATAROOTDIR/man]
1603 --docdir=DIR documentation root [DATAROOTDIR/doc/wxwidgets]
1604 --htmldir=DIR html documentation [DOCDIR]
1605 --dvidir=DIR dvi documentation [DOCDIR]
1606 --pdfdir=DIR pdf documentation [DOCDIR]
1607 --psdir=DIR ps documentation [DOCDIR]
1613 --x-includes=DIR X include files are
in DIR
1614 --x-libraries=DIR X library files are
in DIR
1617 --build=BUILD configure
for building on BUILD
[guessed
]
1618 --host=HOST cross
-compile to build programs to run on HOST
[BUILD
]
1619 --target=TARGET configure
for building compilers
for TARGET
[HOST
]
1623 if test -n "$ac_init_help"; then
1624 case $ac_init_help in
1625 short
| recursive
) echo "Configuration of wxWidgets 2.9.0:";;
1630 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1631 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1632 --enable-gui use GUI classes
1633 --enable-monolithic build wxWidgets as single library
1634 --enable-plugins build parts of wxWidgets as loadable components
1635 --enable-universal use wxWidgets GUI controls instead of native ones
1636 --enable-nanox use NanoX
1637 --disable-gtk2 use GTK
+ 1.2 instead of
2.0
1638 --enable-gpe use GNOME PDA Environment features
if possible
1639 --enable-shared create shared library code
1640 --enable-optimise create optimised code
1641 --enable-debug same as debug_flag and debug_info
1642 --enable-stl use STL
for containers
1643 --enable-extended_rtti use extended RTTI
(XTI
)
1644 --enable-omf use OMF object format
1645 --enable-debug_flag set __WXDEBUG__ flag
(recommended
for developers
!)
1646 --enable-debug_info create code with debugging information
1647 --enable-debug_gdb create code with extra GDB debugging information
1648 --enable-debug_cntxt use wxDebugContext
1649 --enable-mem_tracing create code with memory tracing
1650 --enable-profile create code with profiling information
1651 --enable-no_rtti create code without RTTI information
1652 --enable-no_exceptions create code without C
++ exceptions handling
1653 --enable-permissive compile code disregarding strict ANSI
1654 --enable-no_deps create code without dependency information
1655 --disable-vararg_macros don
't use vararg macros, even if they are supported
1656 --enable-universal_binary[=SDK] create Mac PowerPC and Intel Universal binary (not yet working)
1657 --enable-compat26 enable wxWidgets 2.6 compatibility
1658 --disable-compat28 disable wxWidgets 2.8 compatibility
1659 --disable-rpath disable use of rpath for uninstalled builds
1660 --enable-objc_uniquifying enable Objective-C class name uniquifying
1661 --enable-intl use internationalization system
1662 --enable-config use wxConfig (and derived) classes
1663 --enable-protocols use wxProtocol and derived classes
1664 --enable-ftp use wxFTP (requires wxProtocol
1665 --enable-http use wxHTTP (requires wxProtocol
1666 --enable-fileproto use wxFileProto class (requires wxProtocol
1667 --enable-sockets use socket/network classes
1668 --enable-ole use OLE classes (Win32 only)
1669 --enable-dataobj use data object classes
1670 --enable-ipc use interprocess communication (wxSocket etc.)
1671 --enable-apple_ieee use the Apple IEEE codec
1672 --enable-arcstream use wxArchive streams
1673 --enable-backtrace use wxStackWalker class for getting backtraces
1674 --enable-catch_segvs catch signals in wxApp::OnFatalException (Unix only)
1675 --enable-cmdline use wxCmdLineParser class
1676 --enable-datetime use wxDateTime class
1677 --enable-debugreport use wxDebugReport class
1678 --enable-dialupman use dialup network classes
1679 --enable-dynlib use wxLibrary class for DLL loading
1680 --enable-dynamicloader use (new) wxDynamicLibrary class
1681 --enable-exceptions build exception-safe library
1682 --enable-ffile use wxFFile class
1683 --enable-file use wxFile class
1684 --enable-filesystem use virtual file systems classes
1685 --enable-fontmap use font encodings conversion classes
1686 --enable-fs_archive use virtual archive filesystems
1687 --enable-fs_inet use virtual HTTP/FTP filesystems
1688 --enable-fs_zip now replaced by fs_archive
1689 --enable-geometry use geometry class
1690 --enable-log use logging system
1691 --enable-longlong use wxLongLong class
1692 --enable-mimetype use wxMimeTypesManager
1693 --enable-mslu use MS Layer for Unicode on Windows 9x (Win32 only)
1694 --enable-utf8 use UTF-8 representation for strings (Unix only)
1695 --enable-utf8only only support UTF-8 locales in UTF-8 build (Unix only)
1696 --enable-snglinst use wxSingleInstanceChecker class
1697 --enable-std_iostreams use standard C++ stream classes
1698 --enable-std_string use standard C++ string classes
1699 --enable-stdpaths use wxStandardPaths class
1700 --enable-stopwatch use wxStopWatch class
1701 --enable-streams use wxStream etc classes
1702 --enable-sysoptions use wxSystemOptions
1703 --enable-tarstream use wxTar streams
1704 --enable-textbuf use wxTextBuffer class
1705 --enable-textfile use wxTextFile class
1706 --enable-timer use wxTimer class
1707 --enable-unicode compile without Unicode support
1708 --enable-sound use wxSound class
1709 --enable-mediactrl use wxMediaCtrl class
1710 --enable-gstreamer8 force GStreamer 0.8 instead of 0.10 with the wxMediaCtrl class on unix
1711 --enable-printfposparam use wxVsnprintf() which supports positional parameters
1712 --enable-zipstream use wxZip streams
1713 --enable-url use wxURL class
1714 --enable-variant use wxVariant class
1715 --enable-protocol use wxProtocol class
1716 --enable-protocol-http HTTP support in wxProtocol
1717 --enable-protocol-ftp FTP support in wxProtocol
1718 --enable-protocol-file FILE support in wxProtocol
1719 --enable-threads use threads
1720 --enable-docview use document view architecture
1721 --enable-help use help subsystem
1722 --enable-mshtmlhelp use MS HTML Help (win32)
1723 --enable-html use wxHTML sub-library
1724 --enable-htmlhelp use wxHTML-based help
1725 --enable-xrc use XRC resources sub-library
1726 --enable-aui use AUI docking library
1727 --enable-stc use wxStyledTextCtrl library
1728 --enable-constraints use layout-constraints system
1729 --enable-printarch use printing architecture
1730 --enable-mdi use multiple document interface architecture
1731 --enable-mdidoc use docview architecture with MDI
1732 --enable-loggui use standard GUI logger
1733 --enable-logwin use wxLogWindow
1734 --enable-logdialog use wxLogDialog
1735 --enable-webkit use wxWebKitCtrl (Mac)
1736 --enable-richtext use wxRichTextCtrl
1737 --enable-graphics_ctx use graphics context 2D drawing API
1738 --enable-postscript use wxPostscriptDC device context (default for gtk+)
1739 --enable-clipboard use wxClipboard class
1740 --enable-dnd use Drag'n
'Drop classes
1741 --enable-metafile use win32 metafiles
1742 --enable-controls use all usual controls
1743 --enable-accel use accelerators
1744 --enable-animatectrl use wxAnimationCtrl class
1745 --enable-button use wxButton class
1746 --enable-bmpbutton use wxBitmapButton class
1747 --enable-bmpcombobox use wxBitmapComboBox class
1748 --enable-calendar use wxCalendarCtrl class
1749 --enable-caret use wxCaret class
1750 --enable-checkbox use wxCheckBox class
1751 --enable-checklst use wxCheckListBox (listbox with checkboxes) class
1752 --enable-choice use wxChoice class
1753 --enable-choicebook use wxChoicebook class
1754 --enable-collpane use wxCollapsiblePane class
1755 --enable-colourpicker use wxColourPickerCtrl class
1756 --enable-combobox use wxComboBox class
1757 --enable-comboctrl use wxComboCtrl class
1758 --enable-datepick use wxDatePickerCtrl class
1759 --enable-dirpicker use wxDirPickerCtrl class
1760 --enable-display use wxDisplay class
1761 --enable-detect_sm use code to detect X11 session manager
1762 --enable-editablebox use wxEditableListBox class
1763 --enable-filepicker use wxFilePickerCtrl class
1764 --enable-fontpicker use wxFontPickerCtrl class
1765 --enable-gauge use wxGauge class
1766 --enable-grid use wxGrid class
1767 --enable-dataviewctrl use wxDataViewCtrl class
1768 --enable-hyperlink use wxHyperlinkCtrl class
1769 --enable-imaglist use wxImageList class
1770 --enable-listbook use wxListbook class
1771 --enable-listbox use wxListBox class
1772 --enable-listctrl use wxListCtrl class
1773 --enable-notebook use wxNotebook class
1774 --enable-odcombobox use wxOwnerDrawnComboBox class
1775 --enable-radiobox use wxRadioBox class
1776 --enable-radiobtn use wxRadioButton class
1777 --enable-sash use wxSashWindow class
1778 --enable-scrollbar use wxScrollBar class and scrollable windows
1779 --enable-searchctrl use wxSearchCtrl class
1780 --enable-slider use wxSlider class
1781 --enable-spinbtn use wxSpinButton class
1782 --enable-spinctrl use wxSpinCtrl class
1783 --enable-splitter use wxSplitterWindow class
1784 --enable-statbmp use wxStaticBitmap class
1785 --enable-statbox use wxStaticBox class
1786 --enable-statline use wxStaticLine class
1787 --enable-stattext use wxStaticText class
1788 --enable-statusbar use wxStatusBar class
1789 --enable-tabdialog use wxTabControl class
1790 --enable-textctrl use wxTextCtrl class
1791 --enable-togglebtn use wxToggleButton class
1792 --enable-toolbar use wxToolBar class
1793 --enable-tbarnative use native wxToolBar class
1794 --enable-treebook use wxTreebook class
1795 --enable-toolbook use wxToolbook class
1796 --enable-treectrl use wxTreeCtrl class
1797 --enable-tipwindow use wxTipWindow class
1798 --enable-popupwin use wxPopUpWindow class
1799 --enable-commondlg use all common dialogs
1800 --enable-aboutdlg use wxAboutBox
1801 --enable-choicedlg use wxChoiceDialog
1802 --enable-coldlg use wxColourDialog
1803 --enable-filedlg use wxFileDialog
1804 --enable-finddlg use wxFindReplaceDialog
1805 --enable-fontdlg use wxFontDialog
1806 --enable-dirdlg use wxDirDialog
1807 --enable-msgdlg use wxMessageDialog
1808 --enable-numberdlg use wxNumberEntryDialog
1809 --enable-splash use wxSplashScreen
1810 --enable-textdlg use wxTextDialog
1811 --enable-tipdlg use startup tips
1812 --enable-progressdlg use wxProgressDialog
1813 --enable-wizarddlg use wxWizard
1814 --enable-menus use wxMenu/wxMenuBar/wxMenuItem classes
1815 --enable-miniframe use wxMiniFrame class
1816 --enable-tooltips use wxToolTip class
1817 --enable-splines use spline drawing code
1818 --enable-mousewheel use mousewheel
1819 --enable-validators use wxValidator and derived classes
1820 --enable-busyinfo use wxBusyInfo
1821 --enable-joystick use wxJoystick
1822 --enable-metafiles use wxMetaFile (Win32 only)
1823 --enable-dragimage use wxDragImage
1824 --enable-accessibility enable accessibility support
1825 --enable-dccache cache temporary wxDC objects (Win32 only)
1826 --enable-palette use wxPalette class
1827 --enable-image use wxImage class
1828 --enable-gif use gif images (GIF file format)
1829 --enable-pcx use pcx images (PCX file format)
1830 --enable-tga use tga images (TGA file format)
1831 --enable-iff use iff images (IFF file format)
1832 --enable-pnm use pnm images (PNM file format)
1833 --enable-xpm use xpm images (XPM file format)
1834 --enable-icocur use Windows ICO and CUR formats
1835 --enable-official_build official build of wxWidgets (win32 DLL only)
1836 --enable-vendor=VENDOR vendor name (win32 DLL only)
1837 --disable-largefile omit support for large files
1838 --disable-gtktest do not try to compile and run a test GTK+ program
1839 --disable-gtktest Do not try to compile and run a test GTK program
1840 --disable-sdltest Do not try to compile and run a test SDL program
1841 --enable-omf use OMF object format (OS/2)
1842 --disable-dependency-tracking
1843 don't use dependency tracking even
if the compiler
1845 --disable-precomp-headers
1846 don
't use precompiled headers even if compiler can
1849 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1850 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1851 --without-subdirs don't generate makefiles
for samples
/demos
/...
1852 --with-gtk[=VERSION
] use GTK
+, VERSION can be
2 (default
), 1 or
"any"
1853 --with-motif use Motif
/Lesstif
1854 --with-mac use Mac OS X
1855 --with-cocoa use Cocoa
1856 --with-wine use Wine
1857 --with-msw use MS
-Windows
1858 --with-pm use OS
/2 Presentation Manager
1859 --with-mgl use SciTech MGL
1860 --with-directfb use DirectFB
1861 --with-microwin use MicroWindows
1863 --with-libpng use libpng
(PNG image format
)
1864 --with-libjpeg use libjpeg
(JPEG
file format
)
1865 --with-libtiff use libtiff
(TIFF
file format
)
1866 --with-libxpm use libxpm
(XPM
file format
)
1867 --with-libmspack use libmspack
(CHM
help files loading
)
1868 --with-sdl use SDL
for audio on Unix
1869 --with-gnomeprint use GNOME print
for printing under GNOME
1870 --with-gnomevfs use GNOME VFS
for associating MIME types
1871 --with-hildon use Hildon framework
for Nokia
770
1872 --with-opengl use OpenGL
(or Mesa
)
1873 --with-themes=all
|list use only the specified comma
-separated list of wxUniversal themes
1874 --with-dmalloc use dmalloc library
(http
://dmalloc.com
/)
1875 --with-regex enable support
for wxRegEx class
1876 --with-zlib use zlib
for LZW compression
1877 --with-odbc use the IODBC and wxODBC classes
1878 --with-expat enable XML support using expat parser
1879 --with-flavour=NAME specify a name to identify this build
1880 --with-gtk-prefix=PFX Prefix where GTK is installed
(optional
)
1881 --with-gtk-exec-prefix=PFX Exec prefix where GTK is installed
(optional
)
1882 --with-x use the X Window System
1883 --with-libiconv-prefix=DIR search
for libiconv
in DIR
/include and DIR
/lib
1884 --with-sdl-prefix=PFX Prefix where SDL is installed
(optional
)
1885 --with-sdl-exec-prefix=PFX Exec prefix where SDL is installed
(optional
)
1886 --with-cppunit-prefix=PFX Prefix where CppUnit is installed
(optional
)
1887 --with-cppunit-exec-prefix=PFX Exec prefix where CppUnit is installed
(optional
)
1889 Some influential environment variables
:
1890 CC C compiler
command
1891 CFLAGS C compiler flags
1892 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
1893 nonstandard directory
<lib dir
>
1894 LIBS libraries to pass to the linker
, e.g.
-l<library
>
1895 CPPFLAGS C
/C
++/Objective C preprocessor flags
, e.g.
-I<include dir
> if
1896 you have headers
in a nonstandard directory
<include dir
>
1898 CXX C
++ compiler
command
1899 CXXFLAGS C
++ compiler flags
1900 PKG_CONFIG path to pkg
-config utility
1902 C compiler flags
for DIRECTFB
, overriding pkg
-config
1904 linker flags
for DIRECTFB
, overriding pkg
-config
1905 XMKMF Path to xmkmf
, Makefile generator
for X Window System
1907 C compiler flags
for PANGOX
, overriding pkg
-config
1908 PANGOX_LIBS linker flags
for PANGOX
, overriding pkg
-config
1910 C compiler flags
for PANGOFT2
, overriding pkg
-config
1912 linker flags
for PANGOFT2
, overriding pkg
-config
1914 C compiler flags
for PANGOXFT
, overriding pkg
-config
1916 linker flags
for PANGOXFT
, overriding pkg
-config
1917 LIBGNOMEPRINTUI_CFLAGS
1918 C compiler flags
for LIBGNOMEPRINTUI
, overriding pkg
-config
1919 LIBGNOMEPRINTUI_LIBS
1920 linker flags
for LIBGNOMEPRINTUI
, overriding pkg
-config
1922 C compiler flags
for GNOMEVFS
, overriding pkg
-config
1924 linker flags
for GNOMEVFS
, overriding pkg
-config
1926 C compiler flags
for HILDON
, overriding pkg
-config
1927 HILDON_LIBS linker flags
for HILDON
, overriding pkg
-config
1929 C compiler flags
for CAIRO
, overriding pkg
-config
1930 CAIRO_LIBS linker flags
for CAIRO
, overriding pkg
-config
1931 GST_CFLAGS C compiler flags
for GST
, overriding pkg
-config
1932 GST_LIBS linker flags
for GST
, overriding pkg
-config
1934 Use these variables to override the choices made by
`configure' or to help
1935 it to find libraries and programs with nonstandard names/locations.
1937 Report bugs to <wx-dev@lists.wxwidgets.org>.
1942 if test "$ac_init_help" = "recursive"; then
1943 # If there are subdirs, report their specific --help.
1944 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1945 test -d "$ac_dir" || continue
1949 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1951 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1952 # A ".." for each directory in $ac_dir_suffix.
1953 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
1954 case $ac_top_builddir_sub in
1955 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1956 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1959 ac_abs_top_builddir=$ac_pwd
1960 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1961 # for backward compatibility:
1962 ac_top_builddir=$ac_top_build_prefix
1965 .) # We are building in place.
1967 ac_top_srcdir=$ac_top_builddir_sub
1968 ac_abs_top_srcdir=$ac_pwd ;;
1969 [\\/]* | ?:[\\/]* ) # Absolute name.
1970 ac_srcdir=$srcdir$ac_dir_suffix;
1971 ac_top_srcdir=$srcdir
1972 ac_abs_top_srcdir=$srcdir ;;
1974 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1975 ac_top_srcdir=$ac_top_build_prefix$srcdir
1976 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1978 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1980 cd "$ac_dir" || { ac_status=$?; continue; }
1981 # Check for guested configure.
1982 if test -f "$ac_srcdir/configure.gnu"; then
1984 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1985 elif test -f "$ac_srcdir/configure"; then
1987 $SHELL "$ac_srcdir/configure" --help=recursive
1989 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1991 cd "$ac_pwd" || { ac_status=$?; break; }
1995 test -n "$ac_init_help" && exit $ac_status
1996 if $ac_init_version; then
1998 wxWidgets configure 2.9.0
1999 generated by GNU Autoconf 2.61
2001 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
2002 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
2003 This configure script is free software; the Free Software Foundation
2004 gives unlimited permission to copy, distribute and modify it.
2008 cat >config.log <<_ACEOF
2009 This file contains any messages produced by compilers while
2010 running configure, to aid debugging if configure makes a mistake.
2012 It was created by wxWidgets $as_me 2.9.0, which was
2013 generated by GNU Autoconf 2.61. Invocation command line was
2025 hostname = `(hostname
|| uname
-n) 2>/dev
/null
| sed 1q
`
2026 uname -m = `(uname
-m) 2>/dev
/null
|| echo unknown
`
2027 uname -r = `(uname
-r) 2>/dev
/null
|| echo unknown
`
2028 uname -s = `(uname
-s) 2>/dev
/null
|| echo unknown
`
2029 uname -v = `(uname
-v) 2>/dev
/null
|| echo unknown
`
2031 /usr/bin/uname -p = `(/usr
/bin
/uname
-p) 2>/dev
/null
|| echo unknown
`
2032 /bin/uname -X = `(/bin
/uname
-X) 2>/dev
/null
|| echo unknown
`
2034 /bin/arch = `(/bin
/arch
) 2>/dev
/null
|| echo unknown
`
2035 /usr/bin/arch -k = `(/usr
/bin
/arch
-k) 2>/dev
/null
|| echo unknown
`
2036 /usr/convex/getsysinfo = `(/usr
/convex
/getsysinfo
) 2>/dev
/null
|| echo unknown
`
2037 /usr/bin/hostinfo = `(/usr
/bin
/hostinfo
) 2>/dev
/null
|| echo unknown
`
2038 /bin/machine = `(/bin
/machine
) 2>/dev
/null
|| echo unknown
`
2039 /usr/bin/oslevel = `(/usr
/bin
/oslevel
) 2>/dev
/null
|| echo unknown
`
2040 /bin/universe = `(/bin
/universe
) 2>/dev
/null
|| echo unknown
`
2044 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2048 test -z "$as_dir" && as_dir=.
2049 echo "PATH: $as_dir"
2065 # Keep a trace of the command line.
2066 # Strip out --no-create and --no-recursion so they do not pile up.
2067 # Strip out --silent because we don't want to record it for future runs.
2068 # Also quote any args containing shell meta-characters.
2069 # Make two passes to allow for proper duplicate-argument suppression.
2073 ac_must_keep_next=false
2079 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2080 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2081 | -silent | --silent | --silen | --sile | --sil)
2084 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2087 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
2089 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
2090 if test $ac_must_keep_next = true; then
2091 ac_must_keep_next=false # Got value, back to normal.
2094 *=* | --config-cache | -C | -disable-* | --disable-* \
2095 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2096 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2097 | -with-* | --with-* | -without-* | --without-* | --x)
2098 case "$ac_configure_args0 " in
2099 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2102 -* ) ac_must_keep_next=true ;;
2105 ac_configure_args="$ac_configure_args '$ac_arg'"
2110 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
2111 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
2113 # When interrupted or exit'd, cleanup temporary files, and complete
2114 # config.log. We remove comments because anyway the quotes in there
2115 # would cause problems or look ugly.
2116 # WARNING: Use '\'' to represent an apostrophe within the trap.
2117 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2118 trap 'exit_status=$?
2119 # Save into config.log some information that might help in debugging.
2124 ## ---------------- ##
2125 ## Cache variables. ##
2126 ## ---------------- ##
2129 # The following way of writing the cache mishandles newlines in values,
2131 for ac_var in `(set) 2>&1 | sed -n '\''s
/^\
([a
-zA-Z_][a
-zA-Z0-9_]*\
)=.
*/\
1/p
'\''`; do
2132 eval ac_val=\$$ac_var
2136 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
2137 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
2140 _ | IFS | as_nl) ;; #(
2141 *) $as_unset $ac_var ;;
2146 case $as_nl`(ac_space
='\'' '\''; set) 2>&1` in #(
2147 *${as_nl}ac_space=\ *)
2149 "s/'\''/'\''\\\\'\'''\''/g;
2150 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2153 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2161 ## ----------------- ##
2162 ## Output variables. ##
2163 ## ----------------- ##
2166 for ac_var in $ac_subst_vars
2168 eval ac_val=\$$ac_var
2170 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2172 echo "$ac_var='\''$ac_val'\''"
2176 if test -n "$ac_subst_files"; then
2178 ## ------------------- ##
2179 ## File substitutions. ##
2180 ## ------------------- ##
2183 for ac_var in $ac_subst_files
2185 eval ac_val=\$$ac_var
2187 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2189 echo "$ac_var='\''$ac_val'\''"
2194 if test -s confdefs.h; then
2204 test "$ac_signal" != 0 &&
2205 echo "$as_me: caught signal $ac_signal"
2206 echo "$as_me: exit $exit_status"
2208 rm -f core *.core core.conftest.* &&
2209 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2212 for ac_signal in 1 2 13 15; do
2213 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
2217 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2218 rm -f -r conftest* confdefs.h
2220 # Predefined preprocessor variables.
2222 cat >>confdefs.h <<_ACEOF
2223 #define PACKAGE_NAME "$PACKAGE_NAME"
2227 cat >>confdefs.h <<_ACEOF
2228 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2232 cat >>confdefs.h <<_ACEOF
2233 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2237 cat >>confdefs.h <<_ACEOF
2238 #define PACKAGE_STRING "$PACKAGE_STRING"
2242 cat >>confdefs.h <<_ACEOF
2243 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2247 # Let the site file select an alternate cache file if it wants to.
2248 # Prefer explicitly selected file to automatically selected ones.
2249 if test -n "$CONFIG_SITE"; then
2250 set x "$CONFIG_SITE"
2251 elif test "x$prefix" != xNONE; then
2252 set x "$prefix/share/config.site" "$prefix/etc/config.site"
2254 set x "$ac_default_prefix/share/config.site" \
2255 "$ac_default_prefix/etc/config.site"
2260 if test -r "$ac_site_file"; then
2261 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
2262 echo "$as_me: loading site script $ac_site_file" >&6;}
2263 sed 's/^/| /' "$ac_site_file" >&5
2268 if test -r "$cache_file"; then
2269 # Some versions of bash will fail to source /dev/null (special
2270 # files actually), so we avoid doing that.
2271 if test -f "$cache_file"; then
2272 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
2273 echo "$as_me: loading cache $cache_file" >&6;}
2275 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2276 *) . "./$cache_file";;
2280 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
2281 echo "$as_me: creating cache $cache_file" >&6;}
2285 # Check that the precious variables saved in the cache have kept the same
2287 ac_cache_corrupted=false
2288 for ac_var in $ac_precious_vars; do
2289 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2290 eval ac_new_set=\$ac_env_${ac_var}_set
2291 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2292 eval ac_new_val=\$ac_env_${ac_var}_value
2293 case $ac_old_set,$ac_new_set in
2295 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run
" >&5
2296 echo "$as_me: error
: \
`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2297 ac_cache_corrupted=: ;;
2299 { echo "$as_me:$LINENO: error: \`$ac_var' was not
set in the previous run
" >&5
2300 echo "$as_me: error
: \
`$ac_var' was not set in the previous run" >&2;}
2301 ac_cache_corrupted=: ;;
2304 if test "x$ac_old_val" != "x$ac_new_val"; then
2305 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
2306 echo "$as_me: error: \`$ac_var' has changed since the previous run
:" >&2;}
2307 { echo "$as_me:$LINENO: former value
: $ac_old_val" >&5
2308 echo "$as_me: former value
: $ac_old_val" >&2;}
2309 { echo "$as_me:$LINENO: current value
: $ac_new_val" >&5
2310 echo "$as_me: current value
: $ac_new_val" >&2;}
2311 ac_cache_corrupted=:
2314 # Pass precious variables to config.status.
2315 if test "$ac_new_set" = set; then
2317 *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s
/'/'\\\\\\\\''/g
"` ;;
2318 *) ac_arg=$ac_var=$ac_new_val ;;
2320 case " $ac_configure_args " in
2321 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2322 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
2326 if $ac_cache_corrupted; then
2327 { echo "$as_me:$LINENO: error
: changes
in the environment can compromise the build
" >&5
2328 echo "$as_me: error
: changes
in the environment can compromise the build
" >&2;}
2329 { { echo "$as_me:$LINENO: error
: run \
`make distclean' and/or \`rm $cache_file' and start over" >&5
2330 echo "$as_me: error: run \`make distclean' and
/or \
`rm $cache_file' and start over" >&2;}
2331 { (exit 1); exit 1; }; }
2359 ac_cpp='$CPP $CPPFLAGS'
2360 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2361 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2362 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2369 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2370 if test -f "$ac_dir/install-sh"; then
2372 ac_install_sh="$ac_aux_dir/install-sh -c"
2374 elif test -f "$ac_dir/install.sh"; then
2376 ac_install_sh="$ac_aux_dir/install.sh -c"
2378 elif test -f "$ac_dir/shtool"; then
2380 ac_install_sh="$ac_aux_dir/shtool install -c"
2384 if test -z "$ac_aux_dir"; then
2385 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
2386 echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
2387 { (exit 1); exit 1; }; }
2390 # These three variables are undocumented and unsupported,
2391 # and are intended to be withdrawn in a future Autoconf release.
2392 # They can cause serious problems if a builder's source tree is in a directory
2393 # whose full name contains unusual characters.
2394 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2395 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2396 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2399 # Make sure we can run config.sub.
2400 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2401 { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
2402 echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
2403 { (exit 1); exit 1; }; }
2405 { echo "$as_me:$LINENO: checking build system type" >&5
2406 echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
2407 if test "${ac_cv_build+set}" = set; then
2408 echo $ECHO_N "(cached) $ECHO_C" >&6
2410 ac_build_alias=$build_alias
2411 test "x$ac_build_alias" = x &&
2412 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2413 test "x$ac_build_alias" = x &&
2414 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
2415 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
2416 { (exit 1); exit 1; }; }
2417 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2418 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
2419 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
2420 { (exit 1); exit 1; }; }
2423 { echo "$as_me:$LINENO: result: $ac_cv_build" >&5
2424 echo "${ECHO_T}$ac_cv_build" >&6; }
2425 case $ac_cv_build in
2427 *) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
2428 echo "$as_me: error: invalid value of canonical build" >&2;}
2429 { (exit 1); exit 1; }; };;
2432 ac_save_IFS=$IFS; IFS='-'
2438 # Remember, the first character of IFS is used to create $*,
2439 # except with old shells:
2442 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
2445 { echo "$as_me:$LINENO: checking host system type" >&5
2446 echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
2447 if test "${ac_cv_host+set}" = set; then
2448 echo $ECHO_N "(cached) $ECHO_C" >&6
2450 if test "x$host_alias" = x; then
2451 ac_cv_host=$ac_cv_build
2453 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2454 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
2455 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
2456 { (exit 1); exit 1; }; }
2460 { echo "$as_me:$LINENO: result: $ac_cv_host" >&5
2461 echo "${ECHO_T}$ac_cv_host" >&6; }
2464 *) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
2465 echo "$as_me: error: invalid value of canonical host" >&2;}
2466 { (exit 1); exit 1; }; };;
2469 ac_save_IFS=$IFS; IFS='-'
2475 # Remember, the first character of IFS is used to create $*,
2476 # except with old shells:
2479 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
2482 { echo "$as_me:$LINENO: checking target system type" >&5
2483 echo $ECHO_N "checking target system type... $ECHO_C" >&6; }
2484 if test "${ac_cv_target+set}" = set; then
2485 echo $ECHO_N "(cached) $ECHO_C" >&6
2487 if test "x$target_alias" = x; then
2488 ac_cv_target=$ac_cv_host
2490 ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
2491 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&5
2492 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&2;}
2493 { (exit 1); exit 1; }; }
2497 { echo "$as_me:$LINENO: result: $ac_cv_target" >&5
2498 echo "${ECHO_T}$ac_cv_target" >&6; }
2499 case $ac_cv_target in
2501 *) { { echo "$as_me:$LINENO: error: invalid value of canonical target" >&5
2502 echo "$as_me: error: invalid value of canonical target" >&2;}
2503 { (exit 1); exit 1; }; };;
2505 target=$ac_cv_target
2506 ac_save_IFS=$IFS; IFS='-'
2512 # Remember, the first character of IFS is used to create $*,
2513 # except with old shells:
2516 case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac
2519 # The aliases save the names the user supplied, while $host etc.
2520 # will get canonicalized.
2521 test -n "$target_alias" &&
2522 test "$program_prefix$program_suffix$program_transform_name" = \
2524 program_prefix=${target_alias}-
2528 wx_major_version_number=2
2529 wx_minor_version_number=9
2531 wx_subrelease_number=0
2533 WX_RELEASE=$wx_major_version_number.$wx_minor_version_number
2534 WX_VERSION=$WX_RELEASE.$wx_release_number
2535 WX_SUBVERSION=$WX_VERSION.$wx_subrelease_number
2537 WX_MSW_VERSION=$wx_major_version_number$wx_minor_version_number$wx_release_number
2540 wx_top_builddir="`pwd`"
2553 USE_BSD= USE_DARWIN= USE_FREEBSD=
2559 USE_SOLARIS= USE_SUN= USE_SUNOS= USE_SVR4= USE_SYSV= USE_VMS=
2565 NEEDS_D_REENTRANT_FOR_R_FUNCS=0
2567 ALL_TOOLKITS="COCOA GTK MAC MGL MICROWIN MOTIF MSW PM X11 DFB"
2569 DEFAULT_wxUSE_COCOA=0
2573 DEFAULT_wxUSE_MICROWIN=0
2574 DEFAULT_wxUSE_MOTIF=0
2580 DEFAULT_DEFAULT_wxUSE_COCOA=0
2581 DEFAULT_DEFAULT_wxUSE_GTK=0
2582 DEFAULT_DEFAULT_wxUSE_MAC=0
2583 DEFAULT_DEFAULT_wxUSE_MGL=0
2584 DEFAULT_DEFAULT_wxUSE_MICROWIN=0
2585 DEFAULT_DEFAULT_wxUSE_MOTIF=0
2586 DEFAULT_DEFAULT_wxUSE_MSW=0
2587 DEFAULT_DEFAULT_wxUSE_PM=0
2588 DEFAULT_DEFAULT_wxUSE_X11=0
2589 DEFAULT_DEFAULT_wxUSE_DFB=0
2594 SAMPLES_RPATH_POSTLINK=
2596 DEFAULT_STD_FLAG=yes
2601 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2602 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
2604 cat >>confdefs.h <<\_ACEOF
2609 CPPFLAGS="-D_HPUX_SOURCE $CPPFLAGS"
2613 cat >>confdefs.h <<\_ACEOF
2618 if test "x$TMP" = "xalpha"; then
2620 cat >>confdefs.h <<\_ACEOF
2625 DEFAULT_DEFAULT_wxUSE_GTK=1
2627 *-*-gnu* | *-*-k*bsd*-gnu )
2630 if test "x$TMP" = "xalpha"; then
2632 cat >>confdefs.h <<\_ACEOF
2637 DEFAULT_DEFAULT_wxUSE_GTK=1
2639 *-*-irix5* | *-*-irix6* )
2642 cat >>confdefs.h <<\_ACEOF
2646 cat >>confdefs.h <<\_ACEOF
2650 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2656 cat >>confdefs.h <<\_ACEOF
2660 cat >>confdefs.h <<\_ACEOF
2661 #define __SOLARIS__ 1
2664 cat >>confdefs.h <<\_ACEOF
2668 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2669 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
2675 cat >>confdefs.h <<\_ACEOF
2679 cat >>confdefs.h <<\_ACEOF
2683 cat >>confdefs.h <<\_ACEOF
2687 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2692 cat >>confdefs.h <<\_ACEOF
2693 #define __FREEBSD__ 1
2696 cat >>confdefs.h <<\_ACEOF
2700 DEFAULT_DEFAULT_wxUSE_GTK=1
2702 *-*-openbsd*|*-*-mirbsd*)
2705 cat >>confdefs.h <<\_ACEOF
2706 #define __OPENBSD__ 1
2709 cat >>confdefs.h <<\_ACEOF
2713 DEFAULT_DEFAULT_wxUSE_GTK=1
2718 cat >>confdefs.h <<\_ACEOF
2719 #define __NETBSD__ 1
2722 cat >>confdefs.h <<\_ACEOF
2726 DEFAULT_DEFAULT_wxUSE_GTK=1
2727 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
2729 CPPFLAGS="-D_NETBSD_SOURCE -D_LIBC $CPPFLAGS"
2734 cat >>confdefs.h <<\_ACEOF
2738 cat >>confdefs.h <<\_ACEOF
2742 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2743 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
2748 cat >>confdefs.h <<\_ACEOF
2752 cat >>confdefs.h <<\_ACEOF
2756 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2761 cat >>confdefs.h <<\_ACEOF
2765 cat >>confdefs.h <<\_ACEOF
2769 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2776 cat >>confdefs.h <<\_ACEOF
2780 cat >>confdefs.h <<\_ACEOF
2784 cat >>confdefs.h <<\_ACEOF
2788 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2795 cat >>confdefs.h <<\_ACEOF
2796 #define __UNIXWARE__ 1
2801 *-*-cygwin* | *-*-mingw32* )
2804 DEFAULT_DEFAULT_wxUSE_MSW=1
2810 cat >>confdefs.h <<\_ACEOF
2815 DEFAULT_DEFAULT_wxUSE_MGL=1
2818 *-pc-os2_emx | *-pc-os2-emx )
2819 cat >>confdefs.h <<\_ACEOF
2824 cat >>confdefs.h <<\_ACEOF
2829 DEFAULT_DEFAULT_wxUSE_PM=1
2831 LDFLAGS="$LDFLAGS -Zcrtdll"
2832 ac_executable_extensions=".exe"
2833 export ac_executable_extensions
2837 for ac_dir in $PATH; do
2839 if test -z "$ac_TEMP_PATH"; then
2840 ac_TEMP_PATH="$ac_dir"
2842 ac_TEMP_PATH="$ac_TEMP_PATH/$ac_dir"
2845 export PATH="$ac_TEMP_PATH"
2854 cat >>confdefs.h <<\_ACEOF
2858 cat >>confdefs.h <<\_ACEOF
2859 #define __DARWIN__ 1
2862 cat >>confdefs.h <<\_ACEOF
2863 #define TARGET_CARBON 1
2866 DEFAULT_DEFAULT_wxUSE_MAC=1
2869 powerpc-apple-macos* )
2871 ac_cv_c_bigendian=yes
2873 DEFAULT_DEFAULT_wxUSE_MAC=1
2879 cat >>confdefs.h <<\_ACEOF
2886 { echo "$as_me:$LINENO: WARNING: *** System type ${host} is unknown, assuming generic Unix and continuing nevertheless." >&5
2887 echo "$as_me: WARNING: *** System type ${host} is unknown, assuming generic Unix and continuing nevertheless." >&2;}
2888 { echo "$as_me:$LINENO: WARNING: *** Please report the build results to wx-dev@lists.wxwidgets.org." >&5
2889 echo "$as_me: WARNING: *** Please report the build results to wx-dev@lists.wxwidgets.org." >&2;}
2891 DEFAULT_DEFAULT_wxUSE_X11=1
2892 DEFAULT_wxUSE_SHARED=no
2898 wx_arg_cache_file="configarg.cache"
2899 echo "loading argument cache $wx_arg_cache_file"
2900 rm -f ${wx_arg_cache_file}.tmp
2901 touch ${wx_arg_cache_file}.tmp
2902 touch ${wx_arg_cache_file}
2906 if test $DEBUG_CONFIGURE = 1; then
2907 DEFAULT_wxUSE_UNIVERSAL=no
2908 DEFAULT_wxUSE_STL=no
2909 DEFAULT_wxUSE_EXTENDED_RTTI=no
2911 DEFAULT_wxUSE_NANOX=no
2913 DEFAULT_wxUSE_THREADS=yes
2915 DEFAULT_wxUSE_SHARED=${DEFAULT_wxUSE_SHARED:-yes}
2916 DEFAULT_wxUSE_OPTIMISE=no
2917 DEFAULT_wxUSE_PROFILE=no
2918 DEFAULT_wxUSE_NO_DEPS=no
2919 DEFAULT_wxUSE_VARARG_MACROS=no
2920 DEFAULT_wxUSE_NO_RTTI=no
2921 DEFAULT_wxUSE_NO_EXCEPTIONS=no
2922 DEFAULT_wxUSE_UNIVERSAL_BINARY=no
2923 DEFAULT_wxUSE_RPATH=yes
2924 DEFAULT_wxUSE_PERMISSIVE=no
2925 DEFAULT_wxUSE_DEBUG_FLAG=yes
2926 DEFAULT_wxUSE_DEBUG_INFO=yes
2927 DEFAULT_wxUSE_DEBUG_GDB=yes
2928 DEFAULT_wxUSE_MEM_TRACING=no
2929 DEFAULT_wxUSE_DEBUG_CONTEXT=no
2930 DEFAULT_wxUSE_DMALLOC=no
2931 DEFAULT_wxUSE_APPLE_IEEE=no
2933 DEFAULT_wxUSE_EXCEPTIONS=no
2934 DEFAULT_wxUSE_LOG=yes
2935 DEFAULT_wxUSE_LOGWINDOW=no
2936 DEFAULT_wxUSE_LOGGUI=no
2937 DEFAULT_wxUSE_LOGDIALOG=no
2939 DEFAULT_wxUSE_GUI=yes
2940 DEFAULT_wxUSE_CONTROLS=no
2942 DEFAULT_wxUSE_REGEX=no
2943 DEFAULT_wxUSE_XML=no
2944 DEFAULT_wxUSE_EXPAT=no
2945 DEFAULT_wxUSE_ZLIB=no
2946 DEFAULT_wxUSE_LIBPNG=no
2947 DEFAULT_wxUSE_LIBJPEG=no
2948 DEFAULT_wxUSE_LIBTIFF=no
2949 DEFAULT_wxUSE_LIBXPM=no
2950 DEFAULT_wxUSE_LIBMSPACK=no
2951 DEFAULT_wxUSE_LIBSDL=no
2952 DEFAULT_wxUSE_LIBGNOMEPRINT=no
2953 DEFAULT_wxUSE_LIBGNOMEVFS=no
2954 DEFAULT_wxUSE_LIBHILDON=no
2955 DEFAULT_wxUSE_ODBC=no
2956 DEFAULT_wxUSE_OPENGL=no
2958 DEFAULT_wxUSE_ON_FATAL_EXCEPTION=no
2959 DEFAULT_wxUSE_STACKWALKER=no
2960 DEFAULT_wxUSE_DEBUGREPORT=no
2961 DEFAULT_wxUSE_SNGLINST_CHECKER=no
2962 DEFAULT_wxUSE_STD_IOSTREAM=no
2963 DEFAULT_wxUSE_STD_STRING=no
2964 DEFAULT_wxUSE_CMDLINE_PARSER=no
2965 DEFAULT_wxUSE_DATETIME=no
2966 DEFAULT_wxUSE_TIMER=no
2967 DEFAULT_wxUSE_STOPWATCH=no
2968 DEFAULT_wxUSE_FILE=no
2969 DEFAULT_wxUSE_FFILE=no
2970 DEFAULT_wxUSE_STDPATHS=no
2971 DEFAULT_wxUSE_TEXTBUFFER=no
2972 DEFAULT_wxUSE_TEXTFILE=no
2973 DEFAULT_wxUSE_SOUND=no
2974 DEFAULT_wxUSE_MEDIACTRL=no
2975 DEFAULT_wxUSE_GSTREAMER8=no
2976 DEFAULT_wxUSE_PRINTF_POS_PARAMS=no
2977 DEFAULT_wxUSE_INTL=no
2978 DEFAULT_wxUSE_CONFIG=no
2979 DEFAULT_wxUSE_FONTMAP=no
2980 DEFAULT_wxUSE_STREAMS=no
2981 DEFAULT_wxUSE_SOCKETS=no
2982 DEFAULT_wxUSE_OLE=no
2983 DEFAULT_wxUSE_DATAOBJ=no
2984 DEFAULT_wxUSE_DIALUP_MANAGER=no
2985 DEFAULT_wxUSE_JOYSTICK=no
2986 DEFAULT_wxUSE_DYNLIB_CLASS=no
2987 DEFAULT_wxUSE_DYNAMIC_LOADER=no
2988 DEFAULT_wxUSE_LONGLONG=no
2989 DEFAULT_wxUSE_GEOMETRY=no
2991 DEFAULT_wxUSE_AFM_FOR_POSTSCRIPT=no
2992 DEFAULT_wxUSE_NORMALIZED_PS_FONTS=no
2993 DEFAULT_wxUSE_POSTSCRIPT=no
2995 DEFAULT_wxUSE_CLIPBOARD=no
2996 DEFAULT_wxUSE_TOOLTIPS=no
2997 DEFAULT_wxUSE_DRAG_AND_DROP=no
2998 DEFAULT_wxUSE_DRAGIMAGE=no
2999 DEFAULT_wxUSE_SPLINES=no
3000 DEFAULT_wxUSE_MOUSEWHEEL=no
3002 DEFAULT_wxUSE_MDI=no
3003 DEFAULT_wxUSE_MDI_ARCHITECTURE=no
3004 DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE=no
3005 DEFAULT_wxUSE_PRINTING_ARCHITECTURE=no
3007 DEFAULT_wxUSE_CONSTRAINTS=no
3008 DEFAULT_wxUSE_IPC=no
3009 DEFAULT_wxUSE_HELP=no
3010 DEFAULT_wxUSE_MS_HTML_HELP=no
3011 DEFAULT_wxUSE_WXHTML_HELP=no
3012 DEFAULT_wxUSE_TREELAYOUT=no
3013 DEFAULT_wxUSE_METAFILE=no
3014 DEFAULT_wxUSE_MIMETYPE=no
3015 DEFAULT_wxUSE_SYSTEM_OPTIONS=no
3016 DEFAULT_wxUSE_PROTOCOL=no
3017 DEFAULT_wxUSE_PROTOCOL_HTTP=no
3018 DEFAULT_wxUSE_PROTOCOL_FTP=no
3019 DEFAULT_wxUSE_PROTOCOL_FILE=no
3020 DEFAULT_wxUSE_URL=no
3021 DEFAULT_wxUSE_VARIANT=no
3023 DEFAULT_wxUSE_ABOUTDLG=no
3024 DEFAULT_wxUSE_COMMONDLGS=no
3025 DEFAULT_wxUSE_CHOICEDLG=no
3026 DEFAULT_wxUSE_COLOURDLG=no
3027 DEFAULT_wxUSE_DIRDLG=no
3028 DEFAULT_wxUSE_FILEDLG=no
3029 DEFAULT_wxUSE_FINDREPLDLG=no
3030 DEFAULT_wxUSE_FONTDLG=no
3031 DEFAULT_wxUSE_MSGDLG=no
3032 DEFAULT_wxUSE_NUMBERDLG=no
3033 DEFAULT_wxUSE_TEXTDLG=no
3034 DEFAULT_wxUSE_SPLASH=no
3035 DEFAULT_wxUSE_STARTUP_TIPS=no
3036 DEFAULT_wxUSE_PROGRESSDLG=no
3037 DEFAULT_wxUSE_WIZARDDLG=no
3039 DEFAULT_wxUSE_MENUS=no
3040 DEFAULT_wxUSE_MINIFRAME=no
3041 DEFAULT_wxUSE_HTML=no
3042 DEFAULT_wxUSE_RICHTEXT=no
3043 DEFAULT_wxUSE_XRC=no
3044 DEFAULT_wxUSE_AUI=no
3045 DEFAULT_wxUSE_STC=no
3046 DEFAULT_wxUSE_WEBKIT=no
3047 DEFAULT_wxUSE_FILESYSTEM=no
3048 DEFAULT_wxUSE_FS_INET=no
3049 DEFAULT_wxUSE_FS_ZIP=no
3050 DEFAULT_wxUSE_FS_ARCHIVE=no
3051 DEFAULT_wxUSE_BUSYINFO=no
3052 DEFAULT_wxUSE_ARCHIVE_STREAMS=no
3053 DEFAULT_wxUSE_ZIPSTREAM=no
3054 DEFAULT_wxUSE_TARSTREAM=no
3055 DEFAULT_wxUSE_VALIDATORS=no
3057 DEFAULT_wxUSE_ACCEL=no
3058 DEFAULT_wxUSE_ANIMATIONCTRL=no
3059 DEFAULT_wxUSE_BUTTON=no
3060 DEFAULT_wxUSE_BMPBUTTON=no
3061 DEFAULT_wxUSE_BITMAPCOMBOBOX=no
3062 DEFAULT_wxUSE_CALCTRL=no
3063 DEFAULT_wxUSE_CARET=no
3064 DEFAULT_wxUSE_CHECKBOX=no
3065 DEFAULT_wxUSE_CHECKLST=no
3066 DEFAULT_wxUSE_CHOICE=no
3067 DEFAULT_wxUSE_CHOICEBOOK=no
3068 DEFAULT_wxUSE_COLLPANE=no
3069 DEFAULT_wxUSE_COLOURPICKERCTRL=no
3070 DEFAULT_wxUSE_COMBOBOX=no
3071 DEFAULT_wxUSE_COMBOCTRL=no
3072 DEFAULT_wxUSE_DATEPICKCTRL=no
3073 DEFAULT_wxUSE_DISPLAY=no
3074 DEFAULT_wxUSE_DETECT_SM=no
3075 DEFAULT_wxUSE_DIRPICKERCTRL=no
3076 DEFAULT_wxUSE_EDITABLELISTBOX=no
3077 DEFAULT_wxUSE_FILEPICKERCTRL=no
3078 DEFAULT_wxUSE_FONTPICKERCTRL=no
3079 DEFAULT_wxUSE_GAUGE=no
3080 DEFAULT_wxUSE_GRAPHICS_CONTEXT=no
3081 DEFAULT_wxUSE_GRID=no
3082 DEFAULT_wxUSE_HYPERLINKCTRL=no
3083 DEFAULT_wxUSE_DATAVIEWCTRL=no
3084 DEFAULT_wxUSE_IMAGLIST=no
3085 DEFAULT_wxUSE_LISTBOOK=no
3086 DEFAULT_wxUSE_LISTBOX=no
3087 DEFAULT_wxUSE_LISTCTRL=no
3088 DEFAULT_wxUSE_NOTEBOOK=no
3089 DEFAULT_wxUSE_ODCOMBOBOX=no
3090 DEFAULT_wxUSE_RADIOBOX=no
3091 DEFAULT_wxUSE_RADIOBTN=no
3092 DEFAULT_wxUSE_SASH=no
3093 DEFAULT_wxUSE_SCROLLBAR=no
3094 DEFAULT_wxUSE_SEARCHCTRL=no
3095 DEFAULT_wxUSE_SLIDER=no
3096 DEFAULT_wxUSE_SPINBTN=no
3097 DEFAULT_wxUSE_SPINCTRL=no
3098 DEFAULT_wxUSE_SPLITTER=no
3099 DEFAULT_wxUSE_STATBMP=no
3100 DEFAULT_wxUSE_STATBOX=no
3101 DEFAULT_wxUSE_STATLINE=no
3102 DEFAULT_wxUSE_STATTEXT=no
3103 DEFAULT_wxUSE_STATUSBAR=yes
3104 DEFAULT_wxUSE_TAB_DIALOG=no
3105 DEFAULT_wxUSE_TEXTCTRL=no
3106 DEFAULT_wxUSE_TOGGLEBTN=no
3107 DEFAULT_wxUSE_TOOLBAR=no
3108 DEFAULT_wxUSE_TOOLBAR_NATIVE=no
3109 DEFAULT_wxUSE_TREEBOOK=no
3110 DEFAULT_wxUSE_TOOLBOOK=no
3111 DEFAULT_wxUSE_TREECTRL=no
3112 DEFAULT_wxUSE_POPUPWIN=no
3113 DEFAULT_wxUSE_TIPWINDOW=no
3115 DEFAULT_wxUSE_UNICODE=yes
3116 DEFAULT_wxUSE_UNICODE_MSLU=no
3117 DEFAULT_wxUSE_UNICODE_UTF8=auto
3118 DEFAULT_wxUSE_UNICODE_UTF8_LOCALE=no
3119 DEFAULT_wxUSE_WCSRTOMBS=no
3121 DEFAULT_wxUSE_PALETTE=no
3122 DEFAULT_wxUSE_IMAGE=no
3123 DEFAULT_wxUSE_GIF=no
3124 DEFAULT_wxUSE_PCX=no
3125 DEFAULT_wxUSE_TGA=no
3126 DEFAULT_wxUSE_PNM=no
3127 DEFAULT_wxUSE_IFF=no
3128 DEFAULT_wxUSE_XPM=no
3129 DEFAULT_wxUSE_ICO_CUR=no
3130 DEFAULT_wxUSE_ACCESSIBILITY=no
3132 DEFAULT_wxUSE_MONOLITHIC=no
3133 DEFAULT_wxUSE_PLUGINS=no
3134 DEFAULT_wxUSE_OFFICIAL_BUILD=no
3136 DEFAULT_wxUSE_UNIVERSAL=no
3137 DEFAULT_wxUSE_STL=no
3138 DEFAULT_wxUSE_EXTENDED_RTTI=no
3140 DEFAULT_wxUSE_NANOX=no
3142 DEFAULT_wxUSE_THREADS=yes
3144 DEFAULT_wxUSE_SHARED=${DEFAULT_wxUSE_SHARED:-yes}
3145 DEFAULT_wxUSE_OPTIMISE=yes
3146 DEFAULT_wxUSE_PROFILE=no
3147 DEFAULT_wxUSE_NO_DEPS=no
3148 DEFAULT_wxUSE_VARARG_MACROS=yes
3149 DEFAULT_wxUSE_NO_RTTI=no
3150 DEFAULT_wxUSE_NO_EXCEPTIONS=no
3151 DEFAULT_wxUSE_UNIVERSAL_BINARY=no
3152 DEFAULT_wxUSE_RPATH=yes
3153 DEFAULT_wxUSE_PERMISSIVE=no
3154 DEFAULT_wxUSE_DEBUG_FLAG=no
3155 DEFAULT_wxUSE_DEBUG_INFO=no
3156 DEFAULT_wxUSE_DEBUG_GDB=no
3157 DEFAULT_wxUSE_MEM_TRACING=no
3158 DEFAULT_wxUSE_DEBUG_CONTEXT=no
3159 DEFAULT_wxUSE_DMALLOC=no
3160 DEFAULT_wxUSE_APPLE_IEEE=yes
3162 DEFAULT_wxUSE_EXCEPTIONS=yes
3163 DEFAULT_wxUSE_LOG=yes
3164 DEFAULT_wxUSE_LOGWINDOW=yes
3165 DEFAULT_wxUSE_LOGGUI=yes
3166 DEFAULT_wxUSE_LOGDIALOG=yes
3168 DEFAULT_wxUSE_GUI=yes
3170 DEFAULT_wxUSE_REGEX=yes
3171 DEFAULT_wxUSE_XML=yes
3172 DEFAULT_wxUSE_EXPAT=yes
3173 DEFAULT_wxUSE_ZLIB=yes
3174 DEFAULT_wxUSE_LIBPNG=yes
3175 DEFAULT_wxUSE_LIBJPEG=yes
3176 DEFAULT_wxUSE_LIBTIFF=yes
3177 DEFAULT_wxUSE_LIBXPM=yes
3178 DEFAULT_wxUSE_LIBMSPACK=yes
3179 DEFAULT_wxUSE_LIBSDL=no
3180 DEFAULT_wxUSE_LIBGNOMEPRINT=yes
3181 DEFAULT_wxUSE_LIBGNOMEVFS=no
3182 DEFAULT_wxUSE_LIBHILDON=no
3183 DEFAULT_wxUSE_ODBC=no
3184 DEFAULT_wxUSE_OPENGL=no
3186 DEFAULT_wxUSE_ON_FATAL_EXCEPTION=yes
3187 DEFAULT_wxUSE_STACKWALKER=yes
3188 DEFAULT_wxUSE_DEBUGREPORT=yes
3189 DEFAULT_wxUSE_SNGLINST_CHECKER=yes
3190 DEFAULT_wxUSE_STD_IOSTREAM=$DEFAULT_STD_FLAG
3191 DEFAULT_wxUSE_STD_STRING=$DEFAULT_STD_FLAG
3192 DEFAULT_wxUSE_CMDLINE_PARSER=yes
3193 DEFAULT_wxUSE_DATETIME=yes
3194 DEFAULT_wxUSE_TIMER=yes
3195 DEFAULT_wxUSE_STOPWATCH=yes
3196 DEFAULT_wxUSE_FILE=yes
3197 DEFAULT_wxUSE_FFILE=yes
3198 DEFAULT_wxUSE_STDPATHS=yes
3199 DEFAULT_wxUSE_TEXTBUFFER=yes
3200 DEFAULT_wxUSE_TEXTFILE=yes
3201 DEFAULT_wxUSE_SOUND=yes
3202 DEFAULT_wxUSE_MEDIACTRL=no
3203 DEFAULT_wxUSE_GSTREAMER8=no
3204 DEFAULT_wxUSE_PRINTF_POS_PARAMS=yes
3205 DEFAULT_wxUSE_INTL=yes
3206 DEFAULT_wxUSE_CONFIG=yes
3207 DEFAULT_wxUSE_FONTMAP=yes
3208 DEFAULT_wxUSE_STREAMS=yes
3209 DEFAULT_wxUSE_SOCKETS=yes
3210 DEFAULT_wxUSE_OLE=yes
3211 DEFAULT_wxUSE_DATAOBJ=yes
3212 DEFAULT_wxUSE_DIALUP_MANAGER=yes
3213 DEFAULT_wxUSE_JOYSTICK=yes
3214 DEFAULT_wxUSE_DYNLIB_CLASS=yes
3215 DEFAULT_wxUSE_DYNAMIC_LOADER=yes
3216 DEFAULT_wxUSE_LONGLONG=yes
3217 DEFAULT_wxUSE_GEOMETRY=yes
3219 DEFAULT_wxUSE_AFM_FOR_POSTSCRIPT=yes
3220 DEFAULT_wxUSE_NORMALIZED_PS_FONTS=yes
3221 DEFAULT_wxUSE_POSTSCRIPT=yes
3223 DEFAULT_wxUSE_CLIPBOARD=yes
3224 DEFAULT_wxUSE_TOOLTIPS=yes
3225 DEFAULT_wxUSE_DRAG_AND_DROP=yes
3226 DEFAULT_wxUSE_DRAGIMAGE=yes
3227 DEFAULT_wxUSE_SPLINES=yes
3228 DEFAULT_wxUSE_MOUSEWHEEL=yes
3230 DEFAULT_wxUSE_MDI=yes
3231 DEFAULT_wxUSE_MDI_ARCHITECTURE=yes
3232 DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE=yes
3233 DEFAULT_wxUSE_PRINTING_ARCHITECTURE=yes
3235 DEFAULT_wxUSE_CONSTRAINTS=yes
3236 DEFAULT_wxUSE_IPC=yes
3237 DEFAULT_wxUSE_HELP=yes
3238 DEFAULT_wxUSE_MS_HTML_HELP=yes
3239 DEFAULT_wxUSE_WXHTML_HELP=yes
3240 DEFAULT_wxUSE_TREELAYOUT=yes
3241 DEFAULT_wxUSE_METAFILE=yes
3242 DEFAULT_wxUSE_MIMETYPE=yes
3243 DEFAULT_wxUSE_SYSTEM_OPTIONS=yes
3244 DEFAULT_wxUSE_PROTOCOL=yes
3245 DEFAULT_wxUSE_PROTOCOL_HTTP=yes
3246 DEFAULT_wxUSE_PROTOCOL_FTP=yes
3247 DEFAULT_wxUSE_PROTOCOL_FILE=yes
3248 DEFAULT_wxUSE_URL=yes
3249 DEFAULT_wxUSE_VARIANT=yes
3251 DEFAULT_wxUSE_ABOUTDLG=yes
3252 DEFAULT_wxUSE_COMMONDLGS=yes
3253 DEFAULT_wxUSE_CHOICEDLG=yes
3254 DEFAULT_wxUSE_COLOURDLG=yes
3255 DEFAULT_wxUSE_DIRDLG=yes
3256 DEFAULT_wxUSE_FILEDLG=yes
3257 DEFAULT_wxUSE_FINDREPLDLG=yes
3258 DEFAULT_wxUSE_FONTDLG=yes
3259 DEFAULT_wxUSE_MSGDLG=yes
3260 DEFAULT_wxUSE_NUMBERDLG=yes
3261 DEFAULT_wxUSE_TEXTDLG=yes
3262 DEFAULT_wxUSE_SPLASH=yes
3263 DEFAULT_wxUSE_STARTUP_TIPS=yes
3264 DEFAULT_wxUSE_PROGRESSDLG=yes
3265 DEFAULT_wxUSE_WIZARDDLG=yes
3267 DEFAULT_wxUSE_MENUS=yes
3268 DEFAULT_wxUSE_MINIFRAME=yes
3269 DEFAULT_wxUSE_HTML=yes
3270 DEFAULT_wxUSE_RICHTEXT=yes
3271 DEFAULT_wxUSE_XRC=yes
3272 DEFAULT_wxUSE_AUI=yes
3273 DEFAULT_wxUSE_STC=yes
3274 DEFAULT_wxUSE_WEBKIT=yes
3275 DEFAULT_wxUSE_FILESYSTEM=yes
3276 DEFAULT_wxUSE_FS_INET=yes
3277 DEFAULT_wxUSE_FS_ZIP=yes
3278 DEFAULT_wxUSE_FS_ARCHIVE=yes
3279 DEFAULT_wxUSE_BUSYINFO=yes
3280 DEFAULT_wxUSE_ARCHIVE_STREAMS=yes
3281 DEFAULT_wxUSE_ZIPSTREAM=yes
3282 DEFAULT_wxUSE_TARSTREAM=yes
3283 DEFAULT_wxUSE_VALIDATORS=yes
3285 DEFAULT_wxUSE_ACCEL=yes
3286 DEFAULT_wxUSE_ANIMATIONCTRL=yes
3287 DEFAULT_wxUSE_BUTTON=yes
3288 DEFAULT_wxUSE_BMPBUTTON=yes
3289 DEFAULT_wxUSE_BITMAPCOMBOBOX=yes
3290 DEFAULT_wxUSE_CALCTRL=yes
3291 DEFAULT_wxUSE_CARET=yes
3292 DEFAULT_wxUSE_CHECKBOX=yes
3293 DEFAULT_wxUSE_CHECKLST=yes
3294 DEFAULT_wxUSE_CHOICE=yes
3295 DEFAULT_wxUSE_CHOICEBOOK=yes
3296 DEFAULT_wxUSE_COLLPANE=yes
3297 DEFAULT_wxUSE_COLOURPICKERCTRL=yes
3298 DEFAULT_wxUSE_COMBOBOX=yes
3299 DEFAULT_wxUSE_COMBOCTRL=yes
3300 DEFAULT_wxUSE_DATEPICKCTRL=yes
3301 DEFAULT_wxUSE_DISPLAY=yes
3302 DEFAULT_wxUSE_DETECT_SM=yes
3303 DEFAULT_wxUSE_DIRPICKERCTRL=yes
3304 DEFAULT_wxUSE_EDITABLELISTBOX=yes
3305 DEFAULT_wxUSE_FILEPICKERCTRL=yes
3306 DEFAULT_wxUSE_FONTPICKERCTRL=yes
3307 DEFAULT_wxUSE_GAUGE=yes
3308 DEFAULT_wxUSE_GRID=yes
3309 DEFAULT_wxUSE_GRAPHICS_CONTEXT=no
3310 DEFAULT_wxUSE_HYPERLINKCTRL=yes
3311 DEFAULT_wxUSE_DATAVIEWCTRL=no
3312 DEFAULT_wxUSE_IMAGLIST=yes
3313 DEFAULT_wxUSE_LISTBOOK=yes
3314 DEFAULT_wxUSE_LISTBOX=yes
3315 DEFAULT_wxUSE_LISTCTRL=yes
3316 DEFAULT_wxUSE_NOTEBOOK=yes
3317 DEFAULT_wxUSE_ODCOMBOBOX=yes
3318 DEFAULT_wxUSE_RADIOBOX=yes
3319 DEFAULT_wxUSE_RADIOBTN=yes
3320 DEFAULT_wxUSE_SASH=yes
3321 DEFAULT_wxUSE_SCROLLBAR=yes
3322 DEFAULT_wxUSE_SEARCHCTRL=yes
3323 DEFAULT_wxUSE_SLIDER=yes
3324 DEFAULT_wxUSE_SPINBTN=yes
3325 DEFAULT_wxUSE_SPINCTRL=yes
3326 DEFAULT_wxUSE_SPLITTER=yes
3327 DEFAULT_wxUSE_STATBMP=yes
3328 DEFAULT_wxUSE_STATBOX=yes
3329 DEFAULT_wxUSE_STATLINE=yes
3330 DEFAULT_wxUSE_STATTEXT=yes
3331 DEFAULT_wxUSE_STATUSBAR=yes
3332 DEFAULT_wxUSE_TAB_DIALOG=no
3333 DEFAULT_wxUSE_TEXTCTRL=yes
3334 DEFAULT_wxUSE_TOGGLEBTN=yes
3335 DEFAULT_wxUSE_TOOLBAR=yes
3336 DEFAULT_wxUSE_TOOLBAR_NATIVE=yes
3337 DEFAULT_wxUSE_TREEBOOK=yes
3338 DEFAULT_wxUSE_TOOLBOOK=yes
3339 DEFAULT_wxUSE_TREECTRL=yes
3340 DEFAULT_wxUSE_POPUPWIN=yes
3341 DEFAULT_wxUSE_TIPWINDOW=yes
3343 DEFAULT_wxUSE_UNICODE=yes
3344 DEFAULT_wxUSE_UNICODE_MSLU=yes
3345 DEFAULT_wxUSE_UNICODE_UTF8=auto
3346 DEFAULT_wxUSE_UNICODE_UTF8_LOCALE=no
3347 DEFAULT_wxUSE_WCSRTOMBS=no
3349 DEFAULT_wxUSE_PALETTE=yes
3350 DEFAULT_wxUSE_IMAGE=yes
3351 DEFAULT_wxUSE_GIF=yes
3352 DEFAULT_wxUSE_PCX=yes
3353 DEFAULT_wxUSE_TGA=yes
3354 DEFAULT_wxUSE_IFF=no DEFAULT_wxUSE_PNM=yes
3355 DEFAULT_wxUSE_XPM=yes
3356 DEFAULT_wxUSE_ICO_CUR=yes
3357 DEFAULT_wxUSE_ACCESSIBILITY=no
3359 DEFAULT_wxUSE_MONOLITHIC=no
3360 DEFAULT_wxUSE_PLUGINS=no
3361 DEFAULT_wxUSE_OFFICIAL_BUILD=no
3363 DEFAULT_wxUSE_GTK2=yes
3366 DEFAULT_wxUSE_OBJC_UNIQUIFYING=no
3371 for toolkit in `echo $ALL_TOOLKITS`; do
3372 LINE=`grep "wxUSE_$toolkit=" ${wx_arg_cache_file}`
3373 if test "x$LINE" != "x" ; then
3374 has_toolkit_in_cache=1
3375 eval "DEFAULT_$LINE"
3376 eval "CACHE_$toolkit=1"
3378 LINE=`grep "wx${toolkit}_VERSION=" ${wx_arg_cache_file}`
3379 if test "x$LINE" != "x" ; then
3380 eval "DEFAULT_$LINE"
3388 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gui" >&5
3389 echo $ECHO_N "checking for --${enablestring:-enable}-gui... $ECHO_C" >&6; }
3391 # Check whether --enable-gui was given.
3392 if test "${enable_gui+set}" = set; then
3393 enableval=$enable_gui;
3394 if test "$enableval" = yes; then
3395 ac_cv_use_gui='wxUSE_GUI=yes'
3397 ac_cv_use_gui='wxUSE_GUI=no'
3402 LINE=`grep "^wxUSE_GUI=" ${wx_arg_cache_file}`
3403 if test "x$LINE" != x ; then
3404 eval "DEFAULT_$LINE"
3409 ac_cv_use_gui='wxUSE_GUI='$DEFAULT_wxUSE_GUI
3414 eval "$ac_cv_use_gui"
3415 if test "$no_cache" != 1; then
3416 echo $ac_cv_use_gui >> ${wx_arg_cache_file}.tmp
3419 if test "$wxUSE_GUI" = yes; then
3420 { echo "$as_me:$LINENO: result: yes" >&5
3421 echo "${ECHO_T}yes" >&6; }
3423 { echo "$as_me:$LINENO: result: no" >&5
3424 echo "${ECHO_T}no" >&6; }
3429 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-monolithic" >&5
3430 echo $ECHO_N "checking for --${enablestring:-enable}-monolithic... $ECHO_C" >&6; }
3432 # Check whether --enable-monolithic was given.
3433 if test "${enable_monolithic+set}" = set; then
3434 enableval=$enable_monolithic;
3435 if test "$enableval" = yes; then
3436 ac_cv_use_monolithic='wxUSE_MONOLITHIC=yes'
3438 ac_cv_use_monolithic='wxUSE_MONOLITHIC=no'
3443 LINE=`grep "^wxUSE_MONOLITHIC=" ${wx_arg_cache_file}`
3444 if test "x$LINE" != x ; then
3445 eval "DEFAULT_$LINE"
3450 ac_cv_use_monolithic='wxUSE_MONOLITHIC='$DEFAULT_wxUSE_MONOLITHIC
3455 eval "$ac_cv_use_monolithic"
3456 if test "$no_cache" != 1; then
3457 echo $ac_cv_use_monolithic >> ${wx_arg_cache_file}.tmp
3460 if test "$wxUSE_MONOLITHIC" = yes; then
3461 { echo "$as_me:$LINENO: result: yes" >&5
3462 echo "${ECHO_T}yes" >&6; }
3464 { echo "$as_me:$LINENO: result: no" >&5
3465 echo "${ECHO_T}no" >&6; }
3470 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-plugins" >&5
3471 echo $ECHO_N "checking for --${enablestring:-enable}-plugins... $ECHO_C" >&6; }
3473 # Check whether --enable-plugins was given.
3474 if test "${enable_plugins+set}" = set; then
3475 enableval=$enable_plugins;
3476 if test "$enableval" = yes; then
3477 ac_cv_use_plugins='wxUSE_PLUGINS=yes'
3479 ac_cv_use_plugins='wxUSE_PLUGINS=no'
3484 LINE=`grep "^wxUSE_PLUGINS=" ${wx_arg_cache_file}`
3485 if test "x$LINE" != x ; then
3486 eval "DEFAULT_$LINE"
3491 ac_cv_use_plugins='wxUSE_PLUGINS='$DEFAULT_wxUSE_PLUGINS
3496 eval "$ac_cv_use_plugins"
3497 if test "$no_cache" != 1; then
3498 echo $ac_cv_use_plugins >> ${wx_arg_cache_file}.tmp
3501 if test "$wxUSE_PLUGINS" = yes; then
3502 { echo "$as_me:$LINENO: result: yes" >&5
3503 echo "${ECHO_T}yes" >&6; }
3505 { echo "$as_me:$LINENO: result: no" >&5
3506 echo "${ECHO_T}no" >&6; }
3511 { echo "$as_me:$LINENO: checking for --${withstring:-with}-subdirs" >&5
3512 echo $ECHO_N "checking for --${withstring:-with}-subdirs... $ECHO_C" >&6; }
3515 # Check whether --with-subdirs was given.
3516 if test "${with_subdirs+set}" = set; then
3517 withval=$with_subdirs;
3518 if test "$withval" = yes; then
3519 ac_cv_use_subdirs='wxWITH_SUBDIRS=yes'
3521 ac_cv_use_subdirs='wxWITH_SUBDIRS=no'
3526 LINE=`grep "^wxWITH_SUBDIRS=" ${wx_arg_cache_file}`
3527 if test "x$LINE" != x ; then
3528 eval "DEFAULT_$LINE"
3533 ac_cv_use_subdirs='wxWITH_SUBDIRS='$DEFAULT_wxWITH_SUBDIRS
3538 eval "$ac_cv_use_subdirs"
3539 if test "$no_cache" != 1; then
3540 echo $ac_cv_use_subdirs >> ${wx_arg_cache_file}.tmp
3543 if test "$wxWITH_SUBDIRS" = yes; then
3544 { echo "$as_me:$LINENO: result: yes" >&5
3545 echo "${ECHO_T}yes" >&6; }
3547 { echo "$as_me:$LINENO: result: no" >&5
3548 echo "${ECHO_T}no" >&6; }
3552 if test "$wxUSE_GUI" = "yes"; then
3556 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-universal" >&5
3557 echo $ECHO_N "checking for --${enablestring:-enable}-universal... $ECHO_C" >&6; }
3559 # Check whether --enable-universal was given.
3560 if test "${enable_universal+set}" = set; then
3561 enableval=$enable_universal;
3562 if test "$enableval" = yes; then
3563 ac_cv_use_universal='wxUSE_UNIVERSAL=yes'
3565 ac_cv_use_universal='wxUSE_UNIVERSAL=no'
3570 LINE=`grep "^wxUSE_UNIVERSAL=" ${wx_arg_cache_file}`
3571 if test "x$LINE" != x ; then
3572 eval "DEFAULT_$LINE"
3577 ac_cv_use_universal='wxUSE_UNIVERSAL='$DEFAULT_wxUSE_UNIVERSAL
3582 eval "$ac_cv_use_universal"
3583 if test "$no_cache" != 1; then
3584 echo $ac_cv_use_universal >> ${wx_arg_cache_file}.tmp
3587 if test "$wxUSE_UNIVERSAL" = yes; then
3588 { echo "$as_me:$LINENO: result: yes" >&5
3589 echo "${ECHO_T}yes" >&6; }
3591 { echo "$as_me:$LINENO: result: no" >&5
3592 echo "${ECHO_T}no" >&6; }
3596 # Check whether --with-gtk was given.
3597 if test "${with_gtk+set}" = set; then
3598 withval=$with_gtk; wxUSE_GTK="$withval" CACHE_GTK=1 TOOLKIT_GIVEN=1
3602 # Check whether --with-motif was given.
3603 if test "${with_motif+set}" = set; then
3604 withval=$with_motif; wxUSE_MOTIF="$withval" CACHE_MOTIF=1 TOOLKIT_GIVEN=1
3608 # Check whether --with-mac was given.
3609 if test "${with_mac+set}" = set; then
3610 withval=$with_mac; wxUSE_MAC="$withval" CACHE_MAC=1 TOOLKIT_GIVEN=1
3614 # Check whether --with-cocoa was given.
3615 if test "${with_cocoa+set}" = set; then
3616 withval=$with_cocoa; wxUSE_COCOA="$withval" CACHE_COCOA=1 TOOLKIT_GIVEN=1
3620 # Check whether --with-wine was given.
3621 if test "${with_wine+set}" = set; then
3622 withval=$with_wine; wxUSE_WINE="$withval" CACHE_WINE=1
3626 # Check whether --with-msw was given.
3627 if test "${with_msw+set}" = set; then
3628 withval=$with_msw; wxUSE_MSW="$withval" CACHE_MSW=1 TOOLKIT_GIVEN=1
3632 # Check whether --with-pm was given.
3633 if test "${with_pm+set}" = set; then
3634 withval=$with_pm; wxUSE_PM="$withval" CACHE_PM=1 TOOLKIT_GIVEN=1
3638 # Check whether --with-mgl was given.
3639 if test "${with_mgl+set}" = set; then
3640 withval=$with_mgl; wxUSE_MGL="$withval" wxUSE_UNIVERSAL="yes" CACHE_MGL=1 TOOLKIT_GIVEN=1
3644 # Check whether --with-directfb was given.
3645 if test "${with_directfb+set}" = set; then
3646 withval=$with_directfb; wxUSE_DFB="$withval" wxUSE_UNIVERSAL="yes" CACHE_DFB=1 TOOLKIT_GIVEN=1
3650 # Check whether --with-microwin was given.
3651 if test "${with_microwin+set}" = set; then
3652 withval=$with_microwin; wxUSE_MICROWIN="$withval" CACHE_MICROWIN=1 TOOLKIT_GIVEN=1
3656 # Check whether --with-x11 was given.
3657 if test "${with_x11+set}" = set; then
3658 withval=$with_x11; wxUSE_X11="$withval" wxUSE_UNIVERSAL="yes" CACHE_X11=1 TOOLKIT_GIVEN=1
3663 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-nanox" >&5
3664 echo $ECHO_N "checking for --${enablestring:-enable}-nanox... $ECHO_C" >&6; }
3666 # Check whether --enable-nanox was given.
3667 if test "${enable_nanox+set}" = set; then
3668 enableval=$enable_nanox;
3669 if test "$enableval" = yes; then
3670 ac_cv_use_nanox='wxUSE_NANOX=yes'
3672 ac_cv_use_nanox='wxUSE_NANOX=no'
3677 LINE=`grep "^wxUSE_NANOX=" ${wx_arg_cache_file}`
3678 if test "x$LINE" != x ; then
3679 eval "DEFAULT_$LINE"
3684 ac_cv_use_nanox='wxUSE_NANOX='$DEFAULT_wxUSE_NANOX
3689 eval "$ac_cv_use_nanox"
3690 if test "$no_cache" != 1; then
3691 echo $ac_cv_use_nanox >> ${wx_arg_cache_file}.tmp
3694 if test "$wxUSE_NANOX" = yes; then
3695 { echo "$as_me:$LINENO: result: yes" >&5
3696 echo "${ECHO_T}yes" >&6; }
3698 { echo "$as_me:$LINENO: result: no" >&5
3699 echo "${ECHO_T}no" >&6; }
3703 # Check whether --enable-gtk2 was given.
3704 if test "${enable_gtk2+set}" = set; then
3705 enableval=$enable_gtk2; wxUSE_GTK2="$enableval"
3710 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gpe" >&5
3711 echo $ECHO_N "checking for --${enablestring:-enable}-gpe... $ECHO_C" >&6; }
3713 # Check whether --enable-gpe was given.
3714 if test "${enable_gpe+set}" = set; then
3715 enableval=$enable_gpe;
3716 if test "$enableval" = yes; then
3717 ac_cv_use_gpe='wxUSE_GPE=yes'
3719 ac_cv_use_gpe='wxUSE_GPE=no'
3724 LINE=`grep "^wxUSE_GPE=" ${wx_arg_cache_file}`
3725 if test "x$LINE" != x ; then
3726 eval "DEFAULT_$LINE"
3731 ac_cv_use_gpe='wxUSE_GPE='$DEFAULT_wxUSE_GPE
3736 eval "$ac_cv_use_gpe"
3737 if test "$no_cache" != 1; then
3738 echo $ac_cv_use_gpe >> ${wx_arg_cache_file}.tmp
3741 if test "$wxUSE_GPE" = yes; then
3742 { echo "$as_me:$LINENO: result: yes" >&5
3743 echo "${ECHO_T}yes" >&6; }
3745 { echo "$as_me:$LINENO: result: no" >&5
3746 echo "${ECHO_T}no" >&6; }
3751 { echo "$as_me:$LINENO: checking for --with-libpng" >&5
3752 echo $ECHO_N "checking for --with-libpng... $ECHO_C" >&6; }
3755 # Check whether --with-libpng was given.
3756 if test "${with_libpng+set}" = set; then
3757 withval=$with_libpng;
3758 if test "$withval" = yes; then
3759 ac_cv_use_libpng='wxUSE_LIBPNG=yes'
3760 elif test "$withval" = no; then
3761 ac_cv_use_libpng='wxUSE_LIBPNG=no'
3762 elif test "$withval" = sys; then
3763 ac_cv_use_libpng='wxUSE_LIBPNG=sys'
3764 elif test "$withval" = builtin; then
3765 ac_cv_use_libpng='wxUSE_LIBPNG=builtin'
3767 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
3768 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
3769 { (exit 1); exit 1; }; }
3774 LINE=`grep "^wxUSE_LIBPNG=" ${wx_arg_cache_file}`
3775 if test "x$LINE" != x ; then
3776 eval "DEFAULT_$LINE"
3781 ac_cv_use_libpng='wxUSE_LIBPNG='$DEFAULT_wxUSE_LIBPNG
3786 eval "$ac_cv_use_libpng"
3787 if test "$no_cache" != 1; then
3788 echo $ac_cv_use_libpng >> ${wx_arg_cache_file}.tmp
3791 if test "$wxUSE_LIBPNG" = yes; then
3792 { echo "$as_me:$LINENO: result: yes" >&5
3793 echo "${ECHO_T}yes" >&6; }
3794 elif test "$wxUSE_LIBPNG" = no; then
3795 { echo "$as_me:$LINENO: result: no" >&5
3796 echo "${ECHO_T}no" >&6; }
3797 elif test "$wxUSE_LIBPNG" = sys; then
3798 { echo "$as_me:$LINENO: result: system version" >&5
3799 echo "${ECHO_T}system version" >&6; }
3800 elif test "$wxUSE_LIBPNG" = builtin; then
3801 { echo "$as_me:$LINENO: result: builtin version" >&5
3802 echo "${ECHO_T}builtin version" >&6; }
3804 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
3805 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
3806 { (exit 1); exit 1; }; }
3810 { echo "$as_me:$LINENO: checking for --with-libjpeg" >&5
3811 echo $ECHO_N "checking for --with-libjpeg... $ECHO_C" >&6; }
3814 # Check whether --with-libjpeg was given.
3815 if test "${with_libjpeg+set}" = set; then
3816 withval=$with_libjpeg;
3817 if test "$withval" = yes; then
3818 ac_cv_use_libjpeg='wxUSE_LIBJPEG=yes'
3819 elif test "$withval" = no; then
3820 ac_cv_use_libjpeg='wxUSE_LIBJPEG=no'
3821 elif test "$withval" = sys; then
3822 ac_cv_use_libjpeg='wxUSE_LIBJPEG=sys'
3823 elif test "$withval" = builtin; then
3824 ac_cv_use_libjpeg='wxUSE_LIBJPEG=builtin'
3826 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
3827 echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
3828 { (exit 1); exit 1; }; }
3833 LINE=`grep "^wxUSE_LIBJPEG=" ${wx_arg_cache_file}`
3834 if test "x$LINE" != x ; then
3835 eval "DEFAULT_$LINE"
3840 ac_cv_use_libjpeg='wxUSE_LIBJPEG='$DEFAULT_wxUSE_LIBJPEG
3845 eval "$ac_cv_use_libjpeg"
3846 if test "$no_cache" != 1; then
3847 echo $ac_cv_use_libjpeg >> ${wx_arg_cache_file}.tmp
3850 if test "$wxUSE_LIBJPEG" = yes; then
3851 { echo "$as_me:$LINENO: result: yes" >&5
3852 echo "${ECHO_T}yes" >&6; }
3853 elif test "$wxUSE_LIBJPEG" = no; then
3854 { echo "$as_me:$LINENO: result: no" >&5
3855 echo "${ECHO_T}no" >&6; }
3856 elif test "$wxUSE_LIBJPEG" = sys; then
3857 { echo "$as_me:$LINENO: result: system version" >&5
3858 echo "${ECHO_T}system version" >&6; }
3859 elif test "$wxUSE_LIBJPEG" = builtin; then
3860 { echo "$as_me:$LINENO: result: builtin version" >&5
3861 echo "${ECHO_T}builtin version" >&6; }
3863 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
3864 echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
3865 { (exit 1); exit 1; }; }
3869 { echo "$as_me:$LINENO: checking for --with-libtiff" >&5
3870 echo $ECHO_N "checking for --with-libtiff... $ECHO_C" >&6; }
3873 # Check whether --with-libtiff was given.
3874 if test "${with_libtiff+set}" = set; then
3875 withval=$with_libtiff;
3876 if test "$withval" = yes; then
3877 ac_cv_use_libtiff='wxUSE_LIBTIFF=yes'
3878 elif test "$withval" = no; then
3879 ac_cv_use_libtiff='wxUSE_LIBTIFF=no'
3880 elif test "$withval" = sys; then
3881 ac_cv_use_libtiff='wxUSE_LIBTIFF=sys'
3882 elif test "$withval" = builtin; then
3883 ac_cv_use_libtiff='wxUSE_LIBTIFF=builtin'
3885 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
3886 echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
3887 { (exit 1); exit 1; }; }
3892 LINE=`grep "^wxUSE_LIBTIFF=" ${wx_arg_cache_file}`
3893 if test "x$LINE" != x ; then
3894 eval "DEFAULT_$LINE"
3899 ac_cv_use_libtiff='wxUSE_LIBTIFF='$DEFAULT_wxUSE_LIBTIFF
3904 eval "$ac_cv_use_libtiff"
3905 if test "$no_cache" != 1; then
3906 echo $ac_cv_use_libtiff >> ${wx_arg_cache_file}.tmp
3909 if test "$wxUSE_LIBTIFF" = yes; then
3910 { echo "$as_me:$LINENO: result: yes" >&5
3911 echo "${ECHO_T}yes" >&6; }
3912 elif test "$wxUSE_LIBTIFF" = no; then
3913 { echo "$as_me:$LINENO: result: no" >&5
3914 echo "${ECHO_T}no" >&6; }
3915 elif test "$wxUSE_LIBTIFF" = sys; then
3916 { echo "$as_me:$LINENO: result: system version" >&5
3917 echo "${ECHO_T}system version" >&6; }
3918 elif test "$wxUSE_LIBTIFF" = builtin; then
3919 { echo "$as_me:$LINENO: result: builtin version" >&5
3920 echo "${ECHO_T}builtin version" >&6; }
3922 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
3923 echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
3924 { (exit 1); exit 1; }; }
3928 { echo "$as_me:$LINENO: checking for --with-libxpm" >&5
3929 echo $ECHO_N "checking for --with-libxpm... $ECHO_C" >&6; }
3932 # Check whether --with-libxpm was given.
3933 if test "${with_libxpm+set}" = set; then
3934 withval=$with_libxpm;
3935 if test "$withval" = yes; then
3936 ac_cv_use_libxpm='wxUSE_LIBXPM=yes'
3937 elif test "$withval" = no; then
3938 ac_cv_use_libxpm='wxUSE_LIBXPM=no'
3939 elif test "$withval" = sys; then
3940 ac_cv_use_libxpm='wxUSE_LIBXPM=sys'
3941 elif test "$withval" = builtin; then
3942 ac_cv_use_libxpm='wxUSE_LIBXPM=builtin'
3944 { { echo "$as_me:$LINENO: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&5
3945 echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
3946 { (exit 1); exit 1; }; }
3951 LINE=`grep "^wxUSE_LIBXPM=" ${wx_arg_cache_file}`
3952 if test "x$LINE" != x ; then
3953 eval "DEFAULT_$LINE"
3958 ac_cv_use_libxpm='wxUSE_LIBXPM='$DEFAULT_wxUSE_LIBXPM
3963 eval "$ac_cv_use_libxpm"
3964 if test "$no_cache" != 1; then
3965 echo $ac_cv_use_libxpm >> ${wx_arg_cache_file}.tmp
3968 if test "$wxUSE_LIBXPM" = yes; then
3969 { echo "$as_me:$LINENO: result: yes" >&5
3970 echo "${ECHO_T}yes" >&6; }
3971 elif test "$wxUSE_LIBXPM" = no; then
3972 { echo "$as_me:$LINENO: result: no" >&5
3973 echo "${ECHO_T}no" >&6; }
3974 elif test "$wxUSE_LIBXPM" = sys; then
3975 { echo "$as_me:$LINENO: result: system version" >&5
3976 echo "${ECHO_T}system version" >&6; }
3977 elif test "$wxUSE_LIBXPM" = builtin; then
3978 { echo "$as_me:$LINENO: result: builtin version" >&5
3979 echo "${ECHO_T}builtin version" >&6; }
3981 { { echo "$as_me:$LINENO: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&5
3982 echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
3983 { (exit 1); exit 1; }; }
3988 { echo "$as_me:$LINENO: checking for --${withstring:-with}-libmspack" >&5
3989 echo $ECHO_N "checking for --${withstring:-with}-libmspack... $ECHO_C" >&6; }
3992 # Check whether --with-libmspack was given.
3993 if test "${with_libmspack+set}" = set; then
3994 withval=$with_libmspack;
3995 if test "$withval" = yes; then
3996 ac_cv_use_libmspack='wxUSE_LIBMSPACK=yes'
3998 ac_cv_use_libmspack='wxUSE_LIBMSPACK=no'
4003 LINE=`grep "^wxUSE_LIBMSPACK=" ${wx_arg_cache_file}`
4004 if test "x$LINE" != x ; then
4005 eval "DEFAULT_$LINE"
4010 ac_cv_use_libmspack='wxUSE_LIBMSPACK='$DEFAULT_wxUSE_LIBMSPACK
4015 eval "$ac_cv_use_libmspack"
4016 if test "$no_cache" != 1; then
4017 echo $ac_cv_use_libmspack >> ${wx_arg_cache_file}.tmp
4020 if test "$wxUSE_LIBMSPACK" = yes; then
4021 { echo "$as_me:$LINENO: result: yes" >&5
4022 echo "${ECHO_T}yes" >&6; }
4024 { echo "$as_me:$LINENO: result: no" >&5
4025 echo "${ECHO_T}no" >&6; }
4030 { echo "$as_me:$LINENO: checking for --${withstring:-with}-sdl" >&5
4031 echo $ECHO_N "checking for --${withstring:-with}-sdl... $ECHO_C" >&6; }
4034 # Check whether --with-sdl was given.
4035 if test "${with_sdl+set}" = set; then
4037 if test "$withval" = yes; then
4038 ac_cv_use_sdl='wxUSE_LIBSDL=yes'
4040 ac_cv_use_sdl='wxUSE_LIBSDL=no'
4045 LINE=`grep "^wxUSE_LIBSDL=" ${wx_arg_cache_file}`
4046 if test "x$LINE" != x ; then
4047 eval "DEFAULT_$LINE"
4052 ac_cv_use_sdl='wxUSE_LIBSDL='$DEFAULT_wxUSE_LIBSDL
4057 eval "$ac_cv_use_sdl"
4058 if test "$no_cache" != 1; then
4059 echo $ac_cv_use_sdl >> ${wx_arg_cache_file}.tmp
4062 if test "$wxUSE_LIBSDL" = yes; then
4063 { echo "$as_me:$LINENO: result: yes" >&5
4064 echo "${ECHO_T}yes" >&6; }
4066 { echo "$as_me:$LINENO: result: no" >&5
4067 echo "${ECHO_T}no" >&6; }
4072 { echo "$as_me:$LINENO: checking for --${withstring:-with}-gnomeprint" >&5
4073 echo $ECHO_N "checking for --${withstring:-with}-gnomeprint... $ECHO_C" >&6; }
4076 # Check whether --with-gnomeprint was given.
4077 if test "${with_gnomeprint+set}" = set; then
4078 withval=$with_gnomeprint;
4079 if test "$withval" = yes; then
4080 ac_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT=yes'
4082 ac_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT=no'
4087 LINE=`grep "^wxUSE_LIBGNOMEPRINT=" ${wx_arg_cache_file}`
4088 if test "x$LINE" != x ; then
4089 eval "DEFAULT_$LINE"
4094 ac_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT='$DEFAULT_wxUSE_LIBGNOMEPRINT
4099 eval "$ac_cv_use_gnomeprint"
4100 if test "$no_cache" != 1; then
4101 echo $ac_cv_use_gnomeprint >> ${wx_arg_cache_file}.tmp
4104 if test "$wxUSE_LIBGNOMEPRINT" = yes; then
4105 { echo "$as_me:$LINENO: result: yes" >&5
4106 echo "${ECHO_T}yes" >&6; }
4108 { echo "$as_me:$LINENO: result: no" >&5
4109 echo "${ECHO_T}no" >&6; }
4114 { echo "$as_me:$LINENO: checking for --${withstring:-with}-gnomevfs" >&5
4115 echo $ECHO_N "checking for --${withstring:-with}-gnomevfs... $ECHO_C" >&6; }
4118 # Check whether --with-gnomevfs was given.
4119 if test "${with_gnomevfs+set}" = set; then
4120 withval=$with_gnomevfs;
4121 if test "$withval" = yes; then
4122 ac_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS=yes'
4124 ac_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS=no'
4129 LINE=`grep "^wxUSE_LIBGNOMEVFS=" ${wx_arg_cache_file}`
4130 if test "x$LINE" != x ; then
4131 eval "DEFAULT_$LINE"
4136 ac_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS='$DEFAULT_wxUSE_LIBGNOMEVFS
4141 eval "$ac_cv_use_gnomevfs"
4142 if test "$no_cache" != 1; then
4143 echo $ac_cv_use_gnomevfs >> ${wx_arg_cache_file}.tmp
4146 if test "$wxUSE_LIBGNOMEVFS" = yes; then
4147 { echo "$as_me:$LINENO: result: yes" >&5
4148 echo "${ECHO_T}yes" >&6; }
4150 { echo "$as_me:$LINENO: result: no" >&5
4151 echo "${ECHO_T}no" >&6; }
4156 { echo "$as_me:$LINENO: checking for --${withstring:-with}-hildon" >&5
4157 echo $ECHO_N "checking for --${withstring:-with}-hildon... $ECHO_C" >&6; }
4160 # Check whether --with-hildon was given.
4161 if test "${with_hildon+set}" = set; then
4162 withval=$with_hildon;
4163 if test "$withval" = yes; then
4164 ac_cv_use_hildon='wxUSE_LIBHILDON=yes'
4166 ac_cv_use_hildon='wxUSE_LIBHILDON=no'
4171 LINE=`grep "^wxUSE_LIBHILDON=" ${wx_arg_cache_file}`
4172 if test "x$LINE" != x ; then
4173 eval "DEFAULT_$LINE"
4178 ac_cv_use_hildon='wxUSE_LIBHILDON='$DEFAULT_wxUSE_LIBHILDON
4183 eval "$ac_cv_use_hildon"
4184 if test "$no_cache" != 1; then
4185 echo $ac_cv_use_hildon >> ${wx_arg_cache_file}.tmp
4188 if test "$wxUSE_LIBHILDON" = yes; then
4189 { echo "$as_me:$LINENO: result: yes" >&5
4190 echo "${ECHO_T}yes" >&6; }
4192 { echo "$as_me:$LINENO: result: no" >&5
4193 echo "${ECHO_T}no" >&6; }
4198 { echo "$as_me:$LINENO: checking for --${withstring:-with}-opengl" >&5
4199 echo $ECHO_N "checking for --${withstring:-with}-opengl... $ECHO_C" >&6; }
4202 # Check whether --with-opengl was given.
4203 if test "${with_opengl+set}" = set; then
4204 withval=$with_opengl;
4205 if test "$withval" = yes; then
4206 ac_cv_use_opengl='wxUSE_OPENGL=yes'
4208 ac_cv_use_opengl='wxUSE_OPENGL=no'
4213 LINE=`grep "^wxUSE_OPENGL=" ${wx_arg_cache_file}`
4214 if test "x$LINE" != x ; then
4215 eval "DEFAULT_$LINE"
4220 ac_cv_use_opengl='wxUSE_OPENGL='$DEFAULT_wxUSE_OPENGL
4225 eval "$ac_cv_use_opengl"
4226 if test "$no_cache" != 1; then
4227 echo $ac_cv_use_opengl >> ${wx_arg_cache_file}.tmp
4230 if test "$wxUSE_OPENGL" = yes; then
4231 { echo "$as_me:$LINENO: result: yes" >&5
4232 echo "${ECHO_T}yes" >&6; }
4234 { echo "$as_me:$LINENO: result: no" >&5
4235 echo "${ECHO_T}no" >&6; }
4239 if test "$wxUSE_UNIVERSAL" = "yes"; then
4241 # Check whether --with-themes was given.
4242 if test "${with_themes+set}" = set; then
4243 withval=$with_themes; wxUNIV_THEMES="$withval"
4252 { echo "$as_me:$LINENO: checking for --${withstring:-with}-dmalloc" >&5
4253 echo $ECHO_N "checking for --${withstring:-with}-dmalloc... $ECHO_C" >&6; }
4256 # Check whether --with-dmalloc was given.
4257 if test "${with_dmalloc+set}" = set; then
4258 withval=$with_dmalloc;
4259 if test "$withval" = yes; then
4260 ac_cv_use_dmalloc='wxUSE_DMALLOC=yes'
4262 ac_cv_use_dmalloc='wxUSE_DMALLOC=no'
4267 LINE=`grep "^wxUSE_DMALLOC=" ${wx_arg_cache_file}`
4268 if test "x$LINE" != x ; then
4269 eval "DEFAULT_$LINE"
4274 ac_cv_use_dmalloc='wxUSE_DMALLOC='$DEFAULT_wxUSE_DMALLOC
4279 eval "$ac_cv_use_dmalloc"
4280 if test "$no_cache" != 1; then
4281 echo $ac_cv_use_dmalloc >> ${wx_arg_cache_file}.tmp
4284 if test "$wxUSE_DMALLOC" = yes; then
4285 { echo "$as_me:$LINENO: result: yes" >&5
4286 echo "${ECHO_T}yes" >&6; }
4288 { echo "$as_me:$LINENO: result: no" >&5
4289 echo "${ECHO_T}no" >&6; }
4293 { echo "$as_me:$LINENO: checking for --with-regex" >&5
4294 echo $ECHO_N "checking for --with-regex... $ECHO_C" >&6; }
4297 # Check whether --with-regex was given.
4298 if test "${with_regex+set}" = set; then
4299 withval=$with_regex;
4300 if test "$withval" = yes; then
4301 ac_cv_use_regex='wxUSE_REGEX=yes'
4302 elif test "$withval" = no; then
4303 ac_cv_use_regex='wxUSE_REGEX=no'
4304 elif test "$withval" = sys; then
4305 ac_cv_use_regex='wxUSE_REGEX=sys'
4306 elif test "$withval" = builtin; then
4307 ac_cv_use_regex='wxUSE_REGEX=builtin'
4309 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
4310 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
4311 { (exit 1); exit 1; }; }
4316 LINE=`grep "^wxUSE_REGEX=" ${wx_arg_cache_file}`
4317 if test "x$LINE" != x ; then
4318 eval "DEFAULT_$LINE"
4323 ac_cv_use_regex='wxUSE_REGEX='$DEFAULT_wxUSE_REGEX
4328 eval "$ac_cv_use_regex"
4329 if test "$no_cache" != 1; then
4330 echo $ac_cv_use_regex >> ${wx_arg_cache_file}.tmp
4333 if test "$wxUSE_REGEX" = yes; then
4334 { echo "$as_me:$LINENO: result: yes" >&5
4335 echo "${ECHO_T}yes" >&6; }
4336 elif test "$wxUSE_REGEX" = no; then
4337 { echo "$as_me:$LINENO: result: no" >&5
4338 echo "${ECHO_T}no" >&6; }
4339 elif test "$wxUSE_REGEX" = sys; then
4340 { echo "$as_me:$LINENO: result: system version" >&5
4341 echo "${ECHO_T}system version" >&6; }
4342 elif test "$wxUSE_REGEX" = builtin; then
4343 { echo "$as_me:$LINENO: result: builtin version" >&5
4344 echo "${ECHO_T}builtin version" >&6; }
4346 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
4347 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
4348 { (exit 1); exit 1; }; }
4352 { echo "$as_me:$LINENO: checking for --with-zlib" >&5
4353 echo $ECHO_N "checking for --with-zlib... $ECHO_C" >&6; }
4356 # Check whether --with-zlib was given.
4357 if test "${with_zlib+set}" = set; then
4359 if test "$withval" = yes; then
4360 ac_cv_use_zlib='wxUSE_ZLIB=yes'
4361 elif test "$withval" = no; then
4362 ac_cv_use_zlib='wxUSE_ZLIB=no'
4363 elif test "$withval" = sys; then
4364 ac_cv_use_zlib='wxUSE_ZLIB=sys'
4365 elif test "$withval" = builtin; then
4366 ac_cv_use_zlib='wxUSE_ZLIB=builtin'
4368 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
4369 echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
4370 { (exit 1); exit 1; }; }
4375 LINE=`grep "^wxUSE_ZLIB=" ${wx_arg_cache_file}`
4376 if test "x$LINE" != x ; then
4377 eval "DEFAULT_$LINE"
4382 ac_cv_use_zlib='wxUSE_ZLIB='$DEFAULT_wxUSE_ZLIB
4387 eval "$ac_cv_use_zlib"
4388 if test "$no_cache" != 1; then
4389 echo $ac_cv_use_zlib >> ${wx_arg_cache_file}.tmp
4392 if test "$wxUSE_ZLIB" = yes; then
4393 { echo "$as_me:$LINENO: result: yes" >&5
4394 echo "${ECHO_T}yes" >&6; }
4395 elif test "$wxUSE_ZLIB" = no; then
4396 { echo "$as_me:$LINENO: result: no" >&5
4397 echo "${ECHO_T}no" >&6; }
4398 elif test "$wxUSE_ZLIB" = sys; then
4399 { echo "$as_me:$LINENO: result: system version" >&5
4400 echo "${ECHO_T}system version" >&6; }
4401 elif test "$wxUSE_ZLIB" = builtin; then
4402 { echo "$as_me:$LINENO: result: builtin version" >&5
4403 echo "${ECHO_T}builtin version" >&6; }
4405 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
4406 echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
4407 { (exit 1); exit 1; }; }
4411 { echo "$as_me:$LINENO: checking for --with-odbc" >&5
4412 echo $ECHO_N "checking for --with-odbc... $ECHO_C" >&6; }
4415 # Check whether --with-odbc was given.
4416 if test "${with_odbc+set}" = set; then
4418 if test "$withval" = yes; then
4419 ac_cv_use_odbc='wxUSE_ODBC=yes'
4420 elif test "$withval" = no; then
4421 ac_cv_use_odbc='wxUSE_ODBC=no'
4422 elif test "$withval" = sys; then
4423 ac_cv_use_odbc='wxUSE_ODBC=sys'
4424 elif test "$withval" = builtin; then
4425 ac_cv_use_odbc='wxUSE_ODBC=builtin'
4427 { { echo "$as_me:$LINENO: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&5
4428 echo "$as_me: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&2;}
4429 { (exit 1); exit 1; }; }
4434 LINE=`grep "^wxUSE_ODBC=" ${wx_arg_cache_file}`
4435 if test "x$LINE" != x ; then
4436 eval "DEFAULT_$LINE"
4441 ac_cv_use_odbc='wxUSE_ODBC='$DEFAULT_wxUSE_ODBC
4446 eval "$ac_cv_use_odbc"
4447 if test "$no_cache" != 1; then
4448 echo $ac_cv_use_odbc >> ${wx_arg_cache_file}.tmp
4451 if test "$wxUSE_ODBC" = yes; then
4452 { echo "$as_me:$LINENO: result: yes" >&5
4453 echo "${ECHO_T}yes" >&6; }
4454 elif test "$wxUSE_ODBC" = no; then
4455 { echo "$as_me:$LINENO: result: no" >&5
4456 echo "${ECHO_T}no" >&6; }
4457 elif test "$wxUSE_ODBC" = sys; then
4458 { echo "$as_me:$LINENO: result: system version" >&5
4459 echo "${ECHO_T}system version" >&6; }
4460 elif test "$wxUSE_ODBC" = builtin; then
4461 { echo "$as_me:$LINENO: result: builtin version" >&5
4462 echo "${ECHO_T}builtin version" >&6; }
4464 { { echo "$as_me:$LINENO: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&5
4465 echo "$as_me: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&2;}
4466 { (exit 1); exit 1; }; }
4470 { echo "$as_me:$LINENO: checking for --with-expat" >&5
4471 echo $ECHO_N "checking for --with-expat... $ECHO_C" >&6; }
4474 # Check whether --with-expat was given.
4475 if test "${with_expat+set}" = set; then
4476 withval=$with_expat;
4477 if test "$withval" = yes; then
4478 ac_cv_use_expat='wxUSE_EXPAT=yes'
4479 elif test "$withval" = no; then
4480 ac_cv_use_expat='wxUSE_EXPAT=no'
4481 elif test "$withval" = sys; then
4482 ac_cv_use_expat='wxUSE_EXPAT=sys'
4483 elif test "$withval" = builtin; then
4484 ac_cv_use_expat='wxUSE_EXPAT=builtin'
4486 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
4487 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
4488 { (exit 1); exit 1; }; }
4493 LINE=`grep "^wxUSE_EXPAT=" ${wx_arg_cache_file}`
4494 if test "x$LINE" != x ; then
4495 eval "DEFAULT_$LINE"
4500 ac_cv_use_expat='wxUSE_EXPAT='$DEFAULT_wxUSE_EXPAT
4505 eval "$ac_cv_use_expat"
4506 if test "$no_cache" != 1; then
4507 echo $ac_cv_use_expat >> ${wx_arg_cache_file}.tmp
4510 if test "$wxUSE_EXPAT" = yes; then
4511 { echo "$as_me:$LINENO: result: yes" >&5
4512 echo "${ECHO_T}yes" >&6; }
4513 elif test "$wxUSE_EXPAT" = no; then
4514 { echo "$as_me:$LINENO: result: no" >&5
4515 echo "${ECHO_T}no" >&6; }
4516 elif test "$wxUSE_EXPAT" = sys; then
4517 { echo "$as_me:$LINENO: result: system version" >&5
4518 echo "${ECHO_T}system version" >&6; }
4519 elif test "$wxUSE_EXPAT" = builtin; then
4520 { echo "$as_me:$LINENO: result: builtin version" >&5
4521 echo "${ECHO_T}builtin version" >&6; }
4523 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
4524 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
4525 { (exit 1); exit 1; }; }
4532 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-shared" >&5
4533 echo $ECHO_N "checking for --${enablestring:-enable}-shared... $ECHO_C" >&6; }
4535 # Check whether --enable-shared was given.
4536 if test "${enable_shared+set}" = set; then
4537 enableval=$enable_shared;
4538 if test "$enableval" = yes; then
4539 ac_cv_use_shared='wxUSE_SHARED=yes'
4541 ac_cv_use_shared='wxUSE_SHARED=no'
4546 LINE=`grep "^wxUSE_SHARED=" ${wx_arg_cache_file}`
4547 if test "x$LINE" != x ; then
4548 eval "DEFAULT_$LINE"
4553 ac_cv_use_shared='wxUSE_SHARED='$DEFAULT_wxUSE_SHARED
4558 eval "$ac_cv_use_shared"
4559 if test "$no_cache" != 1; then
4560 echo $ac_cv_use_shared >> ${wx_arg_cache_file}.tmp
4563 if test "$wxUSE_SHARED" = yes; then
4564 { echo "$as_me:$LINENO: result: yes" >&5
4565 echo "${ECHO_T}yes" >&6; }
4567 { echo "$as_me:$LINENO: result: no" >&5
4568 echo "${ECHO_T}no" >&6; }
4573 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-optimise" >&5
4574 echo $ECHO_N "checking for --${enablestring:-enable}-optimise... $ECHO_C" >&6; }
4576 # Check whether --enable-optimise was given.
4577 if test "${enable_optimise+set}" = set; then
4578 enableval=$enable_optimise;
4579 if test "$enableval" = yes; then
4580 ac_cv_use_optimise='wxUSE_OPTIMISE=yes'
4582 ac_cv_use_optimise='wxUSE_OPTIMISE=no'
4587 LINE=`grep "^wxUSE_OPTIMISE=" ${wx_arg_cache_file}`
4588 if test "x$LINE" != x ; then
4589 eval "DEFAULT_$LINE"
4594 ac_cv_use_optimise='wxUSE_OPTIMISE='$DEFAULT_wxUSE_OPTIMISE
4599 eval "$ac_cv_use_optimise"
4600 if test "$no_cache" != 1; then
4601 echo $ac_cv_use_optimise >> ${wx_arg_cache_file}.tmp
4604 if test "$wxUSE_OPTIMISE" = yes; then
4605 { echo "$as_me:$LINENO: result: yes" >&5
4606 echo "${ECHO_T}yes" >&6; }
4608 { echo "$as_me:$LINENO: result: no" >&5
4609 echo "${ECHO_T}no" >&6; }
4614 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug" >&5
4615 echo $ECHO_N "checking for --${enablestring:-enable}-debug... $ECHO_C" >&6; }
4617 # Check whether --enable-debug was given.
4618 if test "${enable_debug+set}" = set; then
4619 enableval=$enable_debug;
4620 if test "$enableval" = yes; then
4621 ac_cv_use_debug='wxUSE_DEBUG=yes'
4623 ac_cv_use_debug='wxUSE_DEBUG=no'
4628 LINE=`grep "^wxUSE_DEBUG=" ${wx_arg_cache_file}`
4629 if test "x$LINE" != x ; then
4630 eval "DEFAULT_$LINE"
4635 ac_cv_use_debug='wxUSE_DEBUG='$DEFAULT_wxUSE_DEBUG
4640 eval "$ac_cv_use_debug"
4641 if test "$no_cache" != 1; then
4642 echo $ac_cv_use_debug >> ${wx_arg_cache_file}.tmp
4645 if test "$wxUSE_DEBUG" = yes; then
4646 { echo "$as_me:$LINENO: result: yes" >&5
4647 echo "${ECHO_T}yes" >&6; }
4649 { echo "$as_me:$LINENO: result: no" >&5
4650 echo "${ECHO_T}no" >&6; }
4655 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stl" >&5
4656 echo $ECHO_N "checking for --${enablestring:-enable}-stl... $ECHO_C" >&6; }
4658 # Check whether --enable-stl was given.
4659 if test "${enable_stl+set}" = set; then
4660 enableval=$enable_stl;
4661 if test "$enableval" = yes; then
4662 ac_cv_use_stl='wxUSE_STL=yes'
4664 ac_cv_use_stl='wxUSE_STL=no'
4669 LINE=`grep "^wxUSE_STL=" ${wx_arg_cache_file}`
4670 if test "x$LINE" != x ; then
4671 eval "DEFAULT_$LINE"
4676 ac_cv_use_stl='wxUSE_STL='$DEFAULT_wxUSE_STL
4681 eval "$ac_cv_use_stl"
4682 if test "$no_cache" != 1; then
4683 echo $ac_cv_use_stl >> ${wx_arg_cache_file}.tmp
4686 if test "$wxUSE_STL" = yes; then
4687 { echo "$as_me:$LINENO: result: yes" >&5
4688 echo "${ECHO_T}yes" >&6; }
4690 { echo "$as_me:$LINENO: result: no" >&5
4691 echo "${ECHO_T}no" >&6; }
4696 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-extended_rtti" >&5
4697 echo $ECHO_N "checking for --${enablestring:-enable}-extended_rtti... $ECHO_C" >&6; }
4699 # Check whether --enable-extended_rtti was given.
4700 if test "${enable_extended_rtti+set}" = set; then
4701 enableval=$enable_extended_rtti;
4702 if test "$enableval" = yes; then
4703 ac_cv_use_extended_rtti='wxUSE_EXTENDED_RTTI=yes'
4705 ac_cv_use_extended_rtti='wxUSE_EXTENDED_RTTI=no'
4710 LINE=`grep "^wxUSE_EXTENDED_RTTI=" ${wx_arg_cache_file}`
4711 if test "x$LINE" != x ; then
4712 eval "DEFAULT_$LINE"
4717 ac_cv_use_extended_rtti='wxUSE_EXTENDED_RTTI='$DEFAULT_wxUSE_EXTENDED_RTTI
4722 eval "$ac_cv_use_extended_rtti"
4723 if test "$no_cache" != 1; then
4724 echo $ac_cv_use_extended_rtti >> ${wx_arg_cache_file}.tmp
4727 if test "$wxUSE_EXTENDED_RTTI" = yes; then
4728 { echo "$as_me:$LINENO: result: yes" >&5
4729 echo "${ECHO_T}yes" >&6; }
4731 { echo "$as_me:$LINENO: result: no" >&5
4732 echo "${ECHO_T}no" >&6; }
4735 if test "$USE_OS2" = "1"; then
4736 DEFAULT_wxUSE_OMF=no
4739 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-omf" >&5
4740 echo $ECHO_N "checking for --${enablestring:-enable}-omf... $ECHO_C" >&6; }
4742 # Check whether --enable-omf was given.
4743 if test "${enable_omf+set}" = set; then
4744 enableval=$enable_omf;
4745 if test "$enableval" = yes; then
4746 ac_cv_use_omf='wxUSE_OMF=yes'
4748 ac_cv_use_omf='wxUSE_OMF=no'
4753 LINE=`grep "^wxUSE_OMF=" ${wx_arg_cache_file}`
4754 if test "x$LINE" != x ; then
4755 eval "DEFAULT_$LINE"
4760 ac_cv_use_omf='wxUSE_OMF='$DEFAULT_wxUSE_OMF
4765 eval "$ac_cv_use_omf"
4766 if test "$no_cache" != 1; then
4767 echo $ac_cv_use_omf >> ${wx_arg_cache_file}.tmp
4770 if test "$wxUSE_OMF" = yes; then
4771 { echo "$as_me:$LINENO: result: yes" >&5
4772 echo "${ECHO_T}yes" >&6; }
4774 { echo "$as_me:$LINENO: result: no" >&5
4775 echo "${ECHO_T}no" >&6; }
4780 if test "$wxUSE_DEBUG" = "yes"; then
4781 DEFAULT_wxUSE_DEBUG_FLAG=yes
4782 DEFAULT_wxUSE_DEBUG_INFO=yes
4784 elif test "$wxUSE_DEBUG" = "no"; then
4785 DEFAULT_wxUSE_DEBUG_FLAG=no
4786 DEFAULT_wxUSE_DEBUG_INFO=no
4792 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_flag" >&5
4793 echo $ECHO_N "checking for --${enablestring:-enable}-debug_flag... $ECHO_C" >&6; }
4795 # Check whether --enable-debug_flag was given.
4796 if test "${enable_debug_flag+set}" = set; then
4797 enableval=$enable_debug_flag;
4798 if test "$enableval" = yes; then
4799 ac_cv_use_debug_flag='wxUSE_DEBUG_FLAG=yes'
4801 ac_cv_use_debug_flag='wxUSE_DEBUG_FLAG=no'
4806 LINE=`grep "^wxUSE_DEBUG_FLAG=" ${wx_arg_cache_file}`
4807 if test "x$LINE" != x ; then
4808 eval "DEFAULT_$LINE"
4813 ac_cv_use_debug_flag='wxUSE_DEBUG_FLAG='$DEFAULT_wxUSE_DEBUG_FLAG
4818 eval "$ac_cv_use_debug_flag"
4819 if test "$no_cache" != 1; then
4820 echo $ac_cv_use_debug_flag >> ${wx_arg_cache_file}.tmp
4823 if test "$wxUSE_DEBUG_FLAG" = yes; then
4824 { echo "$as_me:$LINENO: result: yes" >&5
4825 echo "${ECHO_T}yes" >&6; }
4827 { echo "$as_me:$LINENO: result: no" >&5
4828 echo "${ECHO_T}no" >&6; }
4833 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_info" >&5
4834 echo $ECHO_N "checking for --${enablestring:-enable}-debug_info... $ECHO_C" >&6; }
4836 # Check whether --enable-debug_info was given.
4837 if test "${enable_debug_info+set}" = set; then
4838 enableval=$enable_debug_info;
4839 if test "$enableval" = yes; then
4840 ac_cv_use_debug_info='wxUSE_DEBUG_INFO=yes'
4842 ac_cv_use_debug_info='wxUSE_DEBUG_INFO=no'
4847 LINE=`grep "^wxUSE_DEBUG_INFO=" ${wx_arg_cache_file}`
4848 if test "x$LINE" != x ; then
4849 eval "DEFAULT_$LINE"
4854 ac_cv_use_debug_info='wxUSE_DEBUG_INFO='$DEFAULT_wxUSE_DEBUG_INFO
4859 eval "$ac_cv_use_debug_info"
4860 if test "$no_cache" != 1; then
4861 echo $ac_cv_use_debug_info >> ${wx_arg_cache_file}.tmp
4864 if test "$wxUSE_DEBUG_INFO" = yes; then
4865 { echo "$as_me:$LINENO: result: yes" >&5
4866 echo "${ECHO_T}yes" >&6; }
4868 { echo "$as_me:$LINENO: result: no" >&5
4869 echo "${ECHO_T}no" >&6; }
4874 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_gdb" >&5
4875 echo $ECHO_N "checking for --${enablestring:-enable}-debug_gdb... $ECHO_C" >&6; }
4877 # Check whether --enable-debug_gdb was given.
4878 if test "${enable_debug_gdb+set}" = set; then
4879 enableval=$enable_debug_gdb;
4880 if test "$enableval" = yes; then
4881 ac_cv_use_debug_gdb='wxUSE_DEBUG_GDB=yes'
4883 ac_cv_use_debug_gdb='wxUSE_DEBUG_GDB=no'
4888 LINE=`grep "^wxUSE_DEBUG_GDB=" ${wx_arg_cache_file}`
4889 if test "x$LINE" != x ; then
4890 eval "DEFAULT_$LINE"
4895 ac_cv_use_debug_gdb='wxUSE_DEBUG_GDB='$DEFAULT_wxUSE_DEBUG_GDB
4900 eval "$ac_cv_use_debug_gdb"
4901 if test "$no_cache" != 1; then
4902 echo $ac_cv_use_debug_gdb >> ${wx_arg_cache_file}.tmp
4905 if test "$wxUSE_DEBUG_GDB" = yes; then
4906 { echo "$as_me:$LINENO: result: yes" >&5
4907 echo "${ECHO_T}yes" >&6; }
4909 { echo "$as_me:$LINENO: result: no" >&5
4910 echo "${ECHO_T}no" >&6; }
4915 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_cntxt" >&5
4916 echo $ECHO_N "checking for --${enablestring:-enable}-debug_cntxt... $ECHO_C" >&6; }
4918 # Check whether --enable-debug_cntxt was given.
4919 if test "${enable_debug_cntxt+set}" = set; then
4920 enableval=$enable_debug_cntxt;
4921 if test "$enableval" = yes; then
4922 ac_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=yes'
4924 ac_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=no'
4929 LINE=`grep "^wxUSE_DEBUG_CONTEXT=" ${wx_arg_cache_file}`
4930 if test "x$LINE" != x ; then
4931 eval "DEFAULT_$LINE"
4936 ac_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT='$DEFAULT_wxUSE_DEBUG_CONTEXT
4941 eval "$ac_cv_use_debug_cntxt"
4942 if test "$no_cache" != 1; then
4943 echo $ac_cv_use_debug_cntxt >> ${wx_arg_cache_file}.tmp
4946 if test "$wxUSE_DEBUG_CONTEXT" = yes; then
4947 { echo "$as_me:$LINENO: result: yes" >&5
4948 echo "${ECHO_T}yes" >&6; }
4950 { echo "$as_me:$LINENO: result: no" >&5
4951 echo "${ECHO_T}no" >&6; }
4956 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mem_tracing" >&5
4957 echo $ECHO_N "checking for --${enablestring:-enable}-mem_tracing... $ECHO_C" >&6; }
4959 # Check whether --enable-mem_tracing was given.
4960 if test "${enable_mem_tracing+set}" = set; then
4961 enableval=$enable_mem_tracing;
4962 if test "$enableval" = yes; then
4963 ac_cv_use_mem_tracing='wxUSE_MEM_TRACING=yes'
4965 ac_cv_use_mem_tracing='wxUSE_MEM_TRACING=no'
4970 LINE=`grep "^wxUSE_MEM_TRACING=" ${wx_arg_cache_file}`
4971 if test "x$LINE" != x ; then
4972 eval "DEFAULT_$LINE"
4977 ac_cv_use_mem_tracing='wxUSE_MEM_TRACING='$DEFAULT_wxUSE_MEM_TRACING
4982 eval "$ac_cv_use_mem_tracing"
4983 if test "$no_cache" != 1; then
4984 echo $ac_cv_use_mem_tracing >> ${wx_arg_cache_file}.tmp
4987 if test "$wxUSE_MEM_TRACING" = yes; then
4988 { echo "$as_me:$LINENO: result: yes" >&5
4989 echo "${ECHO_T}yes" >&6; }
4991 { echo "$as_me:$LINENO: result: no" >&5
4992 echo "${ECHO_T}no" >&6; }
4997 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-profile" >&5
4998 echo $ECHO_N "checking for --${enablestring:-enable}-profile... $ECHO_C" >&6; }
5000 # Check whether --enable-profile was given.
5001 if test "${enable_profile+set}" = set; then
5002 enableval=$enable_profile;
5003 if test "$enableval" = yes; then
5004 ac_cv_use_profile='wxUSE_PROFILE=yes'
5006 ac_cv_use_profile='wxUSE_PROFILE=no'
5011 LINE=`grep "^wxUSE_PROFILE=" ${wx_arg_cache_file}`
5012 if test "x$LINE" != x ; then
5013 eval "DEFAULT_$LINE"
5018 ac_cv_use_profile='wxUSE_PROFILE='$DEFAULT_wxUSE_PROFILE
5023 eval "$ac_cv_use_profile"
5024 if test "$no_cache" != 1; then
5025 echo $ac_cv_use_profile >> ${wx_arg_cache_file}.tmp
5028 if test "$wxUSE_PROFILE" = yes; then
5029 { echo "$as_me:$LINENO: result: yes" >&5
5030 echo "${ECHO_T}yes" >&6; }
5032 { echo "$as_me:$LINENO: result: no" >&5
5033 echo "${ECHO_T}no" >&6; }
5038 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_rtti" >&5
5039 echo $ECHO_N "checking for --${enablestring:-enable}-no_rtti... $ECHO_C" >&6; }
5041 # Check whether --enable-no_rtti was given.
5042 if test "${enable_no_rtti+set}" = set; then
5043 enableval=$enable_no_rtti;
5044 if test "$enableval" = yes; then
5045 ac_cv_use_no_rtti='wxUSE_NO_RTTI=yes'
5047 ac_cv_use_no_rtti='wxUSE_NO_RTTI=no'
5052 LINE=`grep "^wxUSE_NO_RTTI=" ${wx_arg_cache_file}`
5053 if test "x$LINE" != x ; then
5054 eval "DEFAULT_$LINE"
5059 ac_cv_use_no_rtti='wxUSE_NO_RTTI='$DEFAULT_wxUSE_NO_RTTI
5064 eval "$ac_cv_use_no_rtti"
5065 if test "$no_cache" != 1; then
5066 echo $ac_cv_use_no_rtti >> ${wx_arg_cache_file}.tmp
5069 if test "$wxUSE_NO_RTTI" = yes; then
5070 { echo "$as_me:$LINENO: result: yes" >&5
5071 echo "${ECHO_T}yes" >&6; }
5073 { echo "$as_me:$LINENO: result: no" >&5
5074 echo "${ECHO_T}no" >&6; }
5079 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_exceptions" >&5
5080 echo $ECHO_N "checking for --${enablestring:-enable}-no_exceptions... $ECHO_C" >&6; }
5082 # Check whether --enable-no_exceptions was given.
5083 if test "${enable_no_exceptions+set}" = set; then
5084 enableval=$enable_no_exceptions;
5085 if test "$enableval" = yes; then
5086 ac_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=yes'
5088 ac_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=no'
5093 LINE=`grep "^wxUSE_NO_EXCEPTIONS=" ${wx_arg_cache_file}`
5094 if test "x$LINE" != x ; then
5095 eval "DEFAULT_$LINE"
5100 ac_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS='$DEFAULT_wxUSE_NO_EXCEPTIONS
5105 eval "$ac_cv_use_no_exceptions"
5106 if test "$no_cache" != 1; then
5107 echo $ac_cv_use_no_exceptions >> ${wx_arg_cache_file}.tmp
5110 if test "$wxUSE_NO_EXCEPTIONS" = yes; then
5111 { echo "$as_me:$LINENO: result: yes" >&5
5112 echo "${ECHO_T}yes" >&6; }
5114 { echo "$as_me:$LINENO: result: no" >&5
5115 echo "${ECHO_T}no" >&6; }
5120 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-permissive" >&5
5121 echo $ECHO_N "checking for --${enablestring:-enable}-permissive... $ECHO_C" >&6; }
5123 # Check whether --enable-permissive was given.
5124 if test "${enable_permissive+set}" = set; then
5125 enableval=$enable_permissive;
5126 if test "$enableval" = yes; then
5127 ac_cv_use_permissive='wxUSE_PERMISSIVE=yes'
5129 ac_cv_use_permissive='wxUSE_PERMISSIVE=no'
5134 LINE=`grep "^wxUSE_PERMISSIVE=" ${wx_arg_cache_file}`
5135 if test "x$LINE" != x ; then
5136 eval "DEFAULT_$LINE"
5141 ac_cv_use_permissive='wxUSE_PERMISSIVE='$DEFAULT_wxUSE_PERMISSIVE
5146 eval "$ac_cv_use_permissive"
5147 if test "$no_cache" != 1; then
5148 echo $ac_cv_use_permissive >> ${wx_arg_cache_file}.tmp
5151 if test "$wxUSE_PERMISSIVE" = yes; then
5152 { echo "$as_me:$LINENO: result: yes" >&5
5153 echo "${ECHO_T}yes" >&6; }
5155 { echo "$as_me:$LINENO: result: no" >&5
5156 echo "${ECHO_T}no" >&6; }
5161 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_deps" >&5
5162 echo $ECHO_N "checking for --${enablestring:-enable}-no_deps... $ECHO_C" >&6; }
5164 # Check whether --enable-no_deps was given.
5165 if test "${enable_no_deps+set}" = set; then
5166 enableval=$enable_no_deps;
5167 if test "$enableval" = yes; then
5168 ac_cv_use_no_deps='wxUSE_NO_DEPS=yes'
5170 ac_cv_use_no_deps='wxUSE_NO_DEPS=no'
5175 LINE=`grep "^wxUSE_NO_DEPS=" ${wx_arg_cache_file}`
5176 if test "x$LINE" != x ; then
5177 eval "DEFAULT_$LINE"
5182 ac_cv_use_no_deps='wxUSE_NO_DEPS='$DEFAULT_wxUSE_NO_DEPS
5187 eval "$ac_cv_use_no_deps"
5188 if test "$no_cache" != 1; then
5189 echo $ac_cv_use_no_deps >> ${wx_arg_cache_file}.tmp
5192 if test "$wxUSE_NO_DEPS" = yes; then
5193 { echo "$as_me:$LINENO: result: yes" >&5
5194 echo "${ECHO_T}yes" >&6; }
5196 { echo "$as_me:$LINENO: result: no" >&5
5197 echo "${ECHO_T}no" >&6; }
5202 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-vararg_macros" >&5
5203 echo $ECHO_N "checking for --${enablestring:-enable}-vararg_macros... $ECHO_C" >&6; }
5205 # Check whether --enable-vararg_macros was given.
5206 if test "${enable_vararg_macros+set}" = set; then
5207 enableval=$enable_vararg_macros;
5208 if test "$enableval" = yes; then
5209 ac_cv_use_vararg_macros='wxUSE_VARARG_MACROS=yes'
5211 ac_cv_use_vararg_macros='wxUSE_VARARG_MACROS=no'
5216 LINE=`grep "^wxUSE_VARARG_MACROS=" ${wx_arg_cache_file}`
5217 if test "x$LINE" != x ; then
5218 eval "DEFAULT_$LINE"
5223 ac_cv_use_vararg_macros='wxUSE_VARARG_MACROS='$DEFAULT_wxUSE_VARARG_MACROS
5228 eval "$ac_cv_use_vararg_macros"
5229 if test "$no_cache" != 1; then
5230 echo $ac_cv_use_vararg_macros >> ${wx_arg_cache_file}.tmp
5233 if test "$wxUSE_VARARG_MACROS" = yes; then
5234 { echo "$as_me:$LINENO: result: yes" >&5
5235 echo "${ECHO_T}yes" >&6; }
5237 { echo "$as_me:$LINENO: result: no" >&5
5238 echo "${ECHO_T}no" >&6; }
5243 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-universal_binary" >&5
5244 echo $ECHO_N "checking for --${enablestring:-enable}-universal_binary... $ECHO_C" >&6; }
5246 # Check whether --enable-universal_binary was given.
5247 if test "${enable_universal_binary+set}" = set; then
5248 enableval=$enable_universal_binary;
5249 wx_cv_use_universal_binary="wxUSE_UNIVERSAL_BINARY='$enableval'"
5253 LINE=`grep "^wxUSE_UNIVERSAL_BINARY=" ${wx_arg_cache_file}`
5254 if test "x$LINE" != x ; then
5255 eval "DEFAULT_$LINE"
5260 wx_cv_use_universal_binary='wxUSE_UNIVERSAL_BINARY='$DEFAULT_wxUSE_UNIVERSAL_BINARY
5265 eval "$wx_cv_use_universal_binary"
5266 if test "$no_cache" != 1; then
5267 echo $wx_cv_use_universal_binary >> ${wx_arg_cache_file}.tmp
5270 { echo "$as_me:$LINENO: result: $wxUSE_UNIVERSAL_BINARY" >&5
5271 echo "${ECHO_T}$wxUSE_UNIVERSAL_BINARY" >&6; }
5276 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat26" >&5
5277 echo $ECHO_N "checking for --${enablestring:-enable}-compat26... $ECHO_C" >&6; }
5279 # Check whether --enable-compat26 was given.
5280 if test "${enable_compat26+set}" = set; then
5281 enableval=$enable_compat26;
5282 if test "$enableval" = yes; then
5283 ac_cv_use_compat26='WXWIN_COMPATIBILITY_2_6=yes'
5285 ac_cv_use_compat26='WXWIN_COMPATIBILITY_2_6=no'
5290 LINE=`grep "^WXWIN_COMPATIBILITY_2_6=" ${wx_arg_cache_file}`
5291 if test "x$LINE" != x ; then
5292 eval "DEFAULT_$LINE"
5297 ac_cv_use_compat26='WXWIN_COMPATIBILITY_2_6='$DEFAULT_WXWIN_COMPATIBILITY_2_6
5302 eval "$ac_cv_use_compat26"
5303 if test "$no_cache" != 1; then
5304 echo $ac_cv_use_compat26 >> ${wx_arg_cache_file}.tmp
5307 if test "$WXWIN_COMPATIBILITY_2_6" = yes; then
5308 { echo "$as_me:$LINENO: result: yes" >&5
5309 echo "${ECHO_T}yes" >&6; }
5311 { echo "$as_me:$LINENO: result: no" >&5
5312 echo "${ECHO_T}no" >&6; }
5316 enablestring=disable
5317 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat28" >&5
5318 echo $ECHO_N "checking for --${enablestring:-enable}-compat28... $ECHO_C" >&6; }
5320 # Check whether --enable-compat28 was given.
5321 if test "${enable_compat28+set}" = set; then
5322 enableval=$enable_compat28;
5323 if test "$enableval" = yes; then
5324 ac_cv_use_compat28='WXWIN_COMPATIBILITY_2_8=yes'
5326 ac_cv_use_compat28='WXWIN_COMPATIBILITY_2_8=no'
5331 LINE=`grep "^WXWIN_COMPATIBILITY_2_8=" ${wx_arg_cache_file}`
5332 if test "x$LINE" != x ; then
5333 eval "DEFAULT_$LINE"
5338 ac_cv_use_compat28='WXWIN_COMPATIBILITY_2_8='$DEFAULT_WXWIN_COMPATIBILITY_2_8
5343 eval "$ac_cv_use_compat28"
5344 if test "$no_cache" != 1; then
5345 echo $ac_cv_use_compat28 >> ${wx_arg_cache_file}.tmp
5348 if test "$WXWIN_COMPATIBILITY_2_8" = yes; then
5349 { echo "$as_me:$LINENO: result: yes" >&5
5350 echo "${ECHO_T}yes" >&6; }
5352 { echo "$as_me:$LINENO: result: no" >&5
5353 echo "${ECHO_T}no" >&6; }
5359 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-rpath" >&5
5360 echo $ECHO_N "checking for --${enablestring:-enable}-rpath... $ECHO_C" >&6; }
5362 # Check whether --enable-rpath was given.
5363 if test "${enable_rpath+set}" = set; then
5364 enableval=$enable_rpath;
5365 if test "$enableval" = yes; then
5366 ac_cv_use_rpath='wxUSE_RPATH=yes'
5368 ac_cv_use_rpath='wxUSE_RPATH=no'
5373 LINE=`grep "^wxUSE_RPATH=" ${wx_arg_cache_file}`
5374 if test "x$LINE" != x ; then
5375 eval "DEFAULT_$LINE"
5380 ac_cv_use_rpath='wxUSE_RPATH='$DEFAULT_wxUSE_RPATH
5385 eval "$ac_cv_use_rpath"
5386 if test "$no_cache" != 1; then
5387 echo $ac_cv_use_rpath >> ${wx_arg_cache_file}.tmp
5390 if test "$wxUSE_RPATH" = yes; then
5391 { echo "$as_me:$LINENO: result: yes" >&5
5392 echo "${ECHO_T}yes" >&6; }
5394 { echo "$as_me:$LINENO: result: no" >&5
5395 echo "${ECHO_T}no" >&6; }
5401 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-objc_uniquifying" >&5
5402 echo $ECHO_N "checking for --${enablestring:-enable}-objc_uniquifying... $ECHO_C" >&6; }
5404 # Check whether --enable-objc_uniquifying was given.
5405 if test "${enable_objc_uniquifying+set}" = set; then
5406 enableval=$enable_objc_uniquifying;
5407 if test "$enableval" = yes; then
5408 ac_cv_use_objc_uniquifying='wxUSE_OBJC_UNIQUIFYING=yes'
5410 ac_cv_use_objc_uniquifying='wxUSE_OBJC_UNIQUIFYING=no'
5415 LINE=`grep "^wxUSE_OBJC_UNIQUIFYING=" ${wx_arg_cache_file}`
5416 if test "x$LINE" != x ; then
5417 eval "DEFAULT_$LINE"
5422 ac_cv_use_objc_uniquifying='wxUSE_OBJC_UNIQUIFYING='$DEFAULT_wxUSE_OBJC_UNIQUIFYING
5427 eval "$ac_cv_use_objc_uniquifying"
5428 if test "$no_cache" != 1; then
5429 echo $ac_cv_use_objc_uniquifying >> ${wx_arg_cache_file}.tmp
5432 if test "$wxUSE_OBJC_UNIQUIFYING" = yes; then
5433 { echo "$as_me:$LINENO: result: yes" >&5
5434 echo "${ECHO_T}yes" >&6; }
5436 { echo "$as_me:$LINENO: result: no" >&5
5437 echo "${ECHO_T}no" >&6; }
5444 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-intl" >&5
5445 echo $ECHO_N "checking for --${enablestring:-enable}-intl... $ECHO_C" >&6; }
5447 # Check whether --enable-intl was given.
5448 if test "${enable_intl+set}" = set; then
5449 enableval=$enable_intl;
5450 if test "$enableval" = yes; then
5451 ac_cv_use_intl='wxUSE_INTL=yes'
5453 ac_cv_use_intl='wxUSE_INTL=no'
5458 LINE=`grep "^wxUSE_INTL=" ${wx_arg_cache_file}`
5459 if test "x$LINE" != x ; then
5460 eval "DEFAULT_$LINE"
5465 ac_cv_use_intl='wxUSE_INTL='$DEFAULT_wxUSE_INTL
5470 eval "$ac_cv_use_intl"
5471 if test "$no_cache" != 1; then
5472 echo $ac_cv_use_intl >> ${wx_arg_cache_file}.tmp
5475 if test "$wxUSE_INTL" = yes; then
5476 { echo "$as_me:$LINENO: result: yes" >&5
5477 echo "${ECHO_T}yes" >&6; }
5479 { echo "$as_me:$LINENO: result: no" >&5
5480 echo "${ECHO_T}no" >&6; }
5485 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-config" >&5
5486 echo $ECHO_N "checking for --${enablestring:-enable}-config... $ECHO_C" >&6; }
5488 # Check whether --enable-config was given.
5489 if test "${enable_config+set}" = set; then
5490 enableval=$enable_config;
5491 if test "$enableval" = yes; then
5492 ac_cv_use_config='wxUSE_CONFIG=yes'
5494 ac_cv_use_config='wxUSE_CONFIG=no'
5499 LINE=`grep "^wxUSE_CONFIG=" ${wx_arg_cache_file}`
5500 if test "x$LINE" != x ; then
5501 eval "DEFAULT_$LINE"
5506 ac_cv_use_config='wxUSE_CONFIG='$DEFAULT_wxUSE_CONFIG
5511 eval "$ac_cv_use_config"
5512 if test "$no_cache" != 1; then
5513 echo $ac_cv_use_config >> ${wx_arg_cache_file}.tmp
5516 if test "$wxUSE_CONFIG" = yes; then
5517 { echo "$as_me:$LINENO: result: yes" >&5
5518 echo "${ECHO_T}yes" >&6; }
5520 { echo "$as_me:$LINENO: result: no" >&5
5521 echo "${ECHO_T}no" >&6; }
5527 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocols" >&5
5528 echo $ECHO_N "checking for --${enablestring:-enable}-protocols... $ECHO_C" >&6; }
5530 # Check whether --enable-protocols was given.
5531 if test "${enable_protocols+set}" = set; then
5532 enableval=$enable_protocols;
5533 if test "$enableval" = yes; then
5534 ac_cv_use_protocols='wxUSE_PROTOCOL=yes'
5536 ac_cv_use_protocols='wxUSE_PROTOCOL=no'
5541 LINE=`grep "^wxUSE_PROTOCOL=" ${wx_arg_cache_file}`
5542 if test "x$LINE" != x ; then
5543 eval "DEFAULT_$LINE"
5548 ac_cv_use_protocols='wxUSE_PROTOCOL='$DEFAULT_wxUSE_PROTOCOL
5553 eval "$ac_cv_use_protocols"
5554 if test "$no_cache" != 1; then
5555 echo $ac_cv_use_protocols >> ${wx_arg_cache_file}.tmp
5558 if test "$wxUSE_PROTOCOL" = yes; then
5559 { echo "$as_me:$LINENO: result: yes" >&5
5560 echo "${ECHO_T}yes" >&6; }
5562 { echo "$as_me:$LINENO: result: no" >&5
5563 echo "${ECHO_T}no" >&6; }
5568 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ftp" >&5
5569 echo $ECHO_N "checking for --${enablestring:-enable}-ftp... $ECHO_C" >&6; }
5571 # Check whether --enable-ftp was given.
5572 if test "${enable_ftp+set}" = set; then
5573 enableval=$enable_ftp;
5574 if test "$enableval" = yes; then
5575 ac_cv_use_ftp='wxUSE_PROTOCOL_FTP=yes'
5577 ac_cv_use_ftp='wxUSE_PROTOCOL_FTP=no'
5582 LINE=`grep "^wxUSE_PROTOCOL_FTP=" ${wx_arg_cache_file}`
5583 if test "x$LINE" != x ; then
5584 eval "DEFAULT_$LINE"
5589 ac_cv_use_ftp='wxUSE_PROTOCOL_FTP='$DEFAULT_wxUSE_PROTOCOL_FTP
5594 eval "$ac_cv_use_ftp"
5595 if test "$no_cache" != 1; then
5596 echo $ac_cv_use_ftp >> ${wx_arg_cache_file}.tmp
5599 if test "$wxUSE_PROTOCOL_FTP" = yes; then
5600 { echo "$as_me:$LINENO: result: yes" >&5
5601 echo "${ECHO_T}yes" >&6; }
5603 { echo "$as_me:$LINENO: result: no" >&5
5604 echo "${ECHO_T}no" >&6; }
5609 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-http" >&5
5610 echo $ECHO_N "checking for --${enablestring:-enable}-http... $ECHO_C" >&6; }
5612 # Check whether --enable-http was given.
5613 if test "${enable_http+set}" = set; then
5614 enableval=$enable_http;
5615 if test "$enableval" = yes; then
5616 ac_cv_use_http='wxUSE_PROTOCOL_HTTP=yes'
5618 ac_cv_use_http='wxUSE_PROTOCOL_HTTP=no'
5623 LINE=`grep "^wxUSE_PROTOCOL_HTTP=" ${wx_arg_cache_file}`
5624 if test "x$LINE" != x ; then
5625 eval "DEFAULT_$LINE"
5630 ac_cv_use_http='wxUSE_PROTOCOL_HTTP='$DEFAULT_wxUSE_PROTOCOL_HTTP
5635 eval "$ac_cv_use_http"
5636 if test "$no_cache" != 1; then
5637 echo $ac_cv_use_http >> ${wx_arg_cache_file}.tmp
5640 if test "$wxUSE_PROTOCOL_HTTP" = yes; then
5641 { echo "$as_me:$LINENO: result: yes" >&5
5642 echo "${ECHO_T}yes" >&6; }
5644 { echo "$as_me:$LINENO: result: no" >&5
5645 echo "${ECHO_T}no" >&6; }
5650 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fileproto" >&5
5651 echo $ECHO_N "checking for --${enablestring:-enable}-fileproto... $ECHO_C" >&6; }
5653 # Check whether --enable-fileproto was given.
5654 if test "${enable_fileproto+set}" = set; then
5655 enableval=$enable_fileproto;
5656 if test "$enableval" = yes; then
5657 ac_cv_use_fileproto='wxUSE_PROTOCOL_FILE=yes'
5659 ac_cv_use_fileproto='wxUSE_PROTOCOL_FILE=no'
5664 LINE=`grep "^wxUSE_PROTOCOL_FILE=" ${wx_arg_cache_file}`
5665 if test "x$LINE" != x ; then
5666 eval "DEFAULT_$LINE"
5671 ac_cv_use_fileproto='wxUSE_PROTOCOL_FILE='$DEFAULT_wxUSE_PROTOCOL_FILE
5676 eval "$ac_cv_use_fileproto"
5677 if test "$no_cache" != 1; then
5678 echo $ac_cv_use_fileproto >> ${wx_arg_cache_file}.tmp
5681 if test "$wxUSE_PROTOCOL_FILE" = yes; then
5682 { echo "$as_me:$LINENO: result: yes" >&5
5683 echo "${ECHO_T}yes" >&6; }
5685 { echo "$as_me:$LINENO: result: no" >&5
5686 echo "${ECHO_T}no" >&6; }
5691 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sockets" >&5
5692 echo $ECHO_N "checking for --${enablestring:-enable}-sockets... $ECHO_C" >&6; }
5694 # Check whether --enable-sockets was given.
5695 if test "${enable_sockets+set}" = set; then
5696 enableval=$enable_sockets;
5697 if test "$enableval" = yes; then
5698 ac_cv_use_sockets='wxUSE_SOCKETS=yes'
5700 ac_cv_use_sockets='wxUSE_SOCKETS=no'
5705 LINE=`grep "^wxUSE_SOCKETS=" ${wx_arg_cache_file}`
5706 if test "x$LINE" != x ; then
5707 eval "DEFAULT_$LINE"
5712 ac_cv_use_sockets='wxUSE_SOCKETS='$DEFAULT_wxUSE_SOCKETS
5717 eval "$ac_cv_use_sockets"
5718 if test "$no_cache" != 1; then
5719 echo $ac_cv_use_sockets >> ${wx_arg_cache_file}.tmp
5722 if test "$wxUSE_SOCKETS" = yes; then
5723 { echo "$as_me:$LINENO: result: yes" >&5
5724 echo "${ECHO_T}yes" >&6; }
5726 { echo "$as_me:$LINENO: result: no" >&5
5727 echo "${ECHO_T}no" >&6; }
5732 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ole" >&5
5733 echo $ECHO_N "checking for --${enablestring:-enable}-ole... $ECHO_C" >&6; }
5735 # Check whether --enable-ole was given.
5736 if test "${enable_ole+set}" = set; then
5737 enableval=$enable_ole;
5738 if test "$enableval" = yes; then
5739 ac_cv_use_ole='wxUSE_OLE=yes'
5741 ac_cv_use_ole='wxUSE_OLE=no'
5746 LINE=`grep "^wxUSE_OLE=" ${wx_arg_cache_file}`
5747 if test "x$LINE" != x ; then
5748 eval "DEFAULT_$LINE"
5753 ac_cv_use_ole='wxUSE_OLE='$DEFAULT_wxUSE_OLE
5758 eval "$ac_cv_use_ole"
5759 if test "$no_cache" != 1; then
5760 echo $ac_cv_use_ole >> ${wx_arg_cache_file}.tmp
5763 if test "$wxUSE_OLE" = yes; then
5764 { echo "$as_me:$LINENO: result: yes" >&5
5765 echo "${ECHO_T}yes" >&6; }
5767 { echo "$as_me:$LINENO: result: no" >&5
5768 echo "${ECHO_T}no" >&6; }
5773 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dataobj" >&5
5774 echo $ECHO_N "checking for --${enablestring:-enable}-dataobj... $ECHO_C" >&6; }
5776 # Check whether --enable-dataobj was given.
5777 if test "${enable_dataobj+set}" = set; then
5778 enableval=$enable_dataobj;
5779 if test "$enableval" = yes; then
5780 ac_cv_use_dataobj='wxUSE_DATAOBJ=yes'
5782 ac_cv_use_dataobj='wxUSE_DATAOBJ=no'
5787 LINE=`grep "^wxUSE_DATAOBJ=" ${wx_arg_cache_file}`
5788 if test "x$LINE" != x ; then
5789 eval "DEFAULT_$LINE"
5794 ac_cv_use_dataobj='wxUSE_DATAOBJ='$DEFAULT_wxUSE_DATAOBJ
5799 eval "$ac_cv_use_dataobj"
5800 if test "$no_cache" != 1; then
5801 echo $ac_cv_use_dataobj >> ${wx_arg_cache_file}.tmp
5804 if test "$wxUSE_DATAOBJ" = yes; then
5805 { echo "$as_me:$LINENO: result: yes" >&5
5806 echo "${ECHO_T}yes" >&6; }
5808 { echo "$as_me:$LINENO: result: no" >&5
5809 echo "${ECHO_T}no" >&6; }
5815 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ipc" >&5
5816 echo $ECHO_N "checking for --${enablestring:-enable}-ipc... $ECHO_C" >&6; }
5818 # Check whether --enable-ipc was given.
5819 if test "${enable_ipc+set}" = set; then
5820 enableval=$enable_ipc;
5821 if test "$enableval" = yes; then
5822 ac_cv_use_ipc='wxUSE_IPC=yes'
5824 ac_cv_use_ipc='wxUSE_IPC=no'
5829 LINE=`grep "^wxUSE_IPC=" ${wx_arg_cache_file}`
5830 if test "x$LINE" != x ; then
5831 eval "DEFAULT_$LINE"
5836 ac_cv_use_ipc='wxUSE_IPC='$DEFAULT_wxUSE_IPC
5841 eval "$ac_cv_use_ipc"
5842 if test "$no_cache" != 1; then
5843 echo $ac_cv_use_ipc >> ${wx_arg_cache_file}.tmp
5846 if test "$wxUSE_IPC" = yes; then
5847 { echo "$as_me:$LINENO: result: yes" >&5
5848 echo "${ECHO_T}yes" >&6; }
5850 { echo "$as_me:$LINENO: result: no" >&5
5851 echo "${ECHO_T}no" >&6; }
5857 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-apple_ieee" >&5
5858 echo $ECHO_N "checking for --${enablestring:-enable}-apple_ieee... $ECHO_C" >&6; }
5860 # Check whether --enable-apple_ieee was given.
5861 if test "${enable_apple_ieee+set}" = set; then
5862 enableval=$enable_apple_ieee;
5863 if test "$enableval" = yes; then
5864 ac_cv_use_apple_ieee='wxUSE_APPLE_IEEE=yes'
5866 ac_cv_use_apple_ieee='wxUSE_APPLE_IEEE=no'
5871 LINE=`grep "^wxUSE_APPLE_IEEE=" ${wx_arg_cache_file}`
5872 if test "x$LINE" != x ; then
5873 eval "DEFAULT_$LINE"
5878 ac_cv_use_apple_ieee='wxUSE_APPLE_IEEE='$DEFAULT_wxUSE_APPLE_IEEE
5883 eval "$ac_cv_use_apple_ieee"
5884 if test "$no_cache" != 1; then
5885 echo $ac_cv_use_apple_ieee >> ${wx_arg_cache_file}.tmp
5888 if test "$wxUSE_APPLE_IEEE" = yes; then
5889 { echo "$as_me:$LINENO: result: yes" >&5
5890 echo "${ECHO_T}yes" >&6; }
5892 { echo "$as_me:$LINENO: result: no" >&5
5893 echo "${ECHO_T}no" >&6; }
5898 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-arcstream" >&5
5899 echo $ECHO_N "checking for --${enablestring:-enable}-arcstream... $ECHO_C" >&6; }
5901 # Check whether --enable-arcstream was given.
5902 if test "${enable_arcstream+set}" = set; then
5903 enableval=$enable_arcstream;
5904 if test "$enableval" = yes; then
5905 ac_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS=yes'
5907 ac_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS=no'
5912 LINE=`grep "^wxUSE_ARCHIVE_STREAMS=" ${wx_arg_cache_file}`
5913 if test "x$LINE" != x ; then
5914 eval "DEFAULT_$LINE"
5919 ac_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS='$DEFAULT_wxUSE_ARCHIVE_STREAMS
5924 eval "$ac_cv_use_arcstream"
5925 if test "$no_cache" != 1; then
5926 echo $ac_cv_use_arcstream >> ${wx_arg_cache_file}.tmp
5929 if test "$wxUSE_ARCHIVE_STREAMS" = yes; then
5930 { echo "$as_me:$LINENO: result: yes" >&5
5931 echo "${ECHO_T}yes" >&6; }
5933 { echo "$as_me:$LINENO: result: no" >&5
5934 echo "${ECHO_T}no" >&6; }
5939 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-backtrace" >&5
5940 echo $ECHO_N "checking for --${enablestring:-enable}-backtrace... $ECHO_C" >&6; }
5942 # Check whether --enable-backtrace was given.
5943 if test "${enable_backtrace+set}" = set; then
5944 enableval=$enable_backtrace;
5945 if test "$enableval" = yes; then
5946 ac_cv_use_backtrace='wxUSE_STACKWALKER=yes'
5948 ac_cv_use_backtrace='wxUSE_STACKWALKER=no'
5953 LINE=`grep "^wxUSE_STACKWALKER=" ${wx_arg_cache_file}`
5954 if test "x$LINE" != x ; then
5955 eval "DEFAULT_$LINE"
5960 ac_cv_use_backtrace='wxUSE_STACKWALKER='$DEFAULT_wxUSE_STACKWALKER
5965 eval "$ac_cv_use_backtrace"
5966 if test "$no_cache" != 1; then
5967 echo $ac_cv_use_backtrace >> ${wx_arg_cache_file}.tmp
5970 if test "$wxUSE_STACKWALKER" = yes; then
5971 { echo "$as_me:$LINENO: result: yes" >&5
5972 echo "${ECHO_T}yes" >&6; }
5974 { echo "$as_me:$LINENO: result: no" >&5
5975 echo "${ECHO_T}no" >&6; }
5980 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-catch_segvs" >&5
5981 echo $ECHO_N "checking for --${enablestring:-enable}-catch_segvs... $ECHO_C" >&6; }
5983 # Check whether --enable-catch_segvs was given.
5984 if test "${enable_catch_segvs+set}" = set; then
5985 enableval=$enable_catch_segvs;
5986 if test "$enableval" = yes; then
5987 ac_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=yes'
5989 ac_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=no'
5994 LINE=`grep "^wxUSE_ON_FATAL_EXCEPTION=" ${wx_arg_cache_file}`
5995 if test "x$LINE" != x ; then
5996 eval "DEFAULT_$LINE"
6001 ac_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION='$DEFAULT_wxUSE_ON_FATAL_EXCEPTION
6006 eval "$ac_cv_use_catch_segvs"
6007 if test "$no_cache" != 1; then
6008 echo $ac_cv_use_catch_segvs >> ${wx_arg_cache_file}.tmp
6011 if test "$wxUSE_ON_FATAL_EXCEPTION" = yes; then
6012 { echo "$as_me:$LINENO: result: yes" >&5
6013 echo "${ECHO_T}yes" >&6; }
6015 { echo "$as_me:$LINENO: result: no" >&5
6016 echo "${ECHO_T}no" >&6; }
6021 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-cmdline" >&5
6022 echo $ECHO_N "checking for --${enablestring:-enable}-cmdline... $ECHO_C" >&6; }
6024 # Check whether --enable-cmdline was given.
6025 if test "${enable_cmdline+set}" = set; then
6026 enableval=$enable_cmdline;
6027 if test "$enableval" = yes; then
6028 ac_cv_use_cmdline='wxUSE_CMDLINE_PARSER=yes'
6030 ac_cv_use_cmdline='wxUSE_CMDLINE_PARSER=no'
6035 LINE=`grep "^wxUSE_CMDLINE_PARSER=" ${wx_arg_cache_file}`
6036 if test "x$LINE" != x ; then
6037 eval "DEFAULT_$LINE"
6042 ac_cv_use_cmdline='wxUSE_CMDLINE_PARSER='$DEFAULT_wxUSE_CMDLINE_PARSER
6047 eval "$ac_cv_use_cmdline"
6048 if test "$no_cache" != 1; then
6049 echo $ac_cv_use_cmdline >> ${wx_arg_cache_file}.tmp
6052 if test "$wxUSE_CMDLINE_PARSER" = yes; then
6053 { echo "$as_me:$LINENO: result: yes" >&5
6054 echo "${ECHO_T}yes" >&6; }
6056 { echo "$as_me:$LINENO: result: no" >&5
6057 echo "${ECHO_T}no" >&6; }
6062 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-datetime" >&5
6063 echo $ECHO_N "checking for --${enablestring:-enable}-datetime... $ECHO_C" >&6; }
6065 # Check whether --enable-datetime was given.
6066 if test "${enable_datetime+set}" = set; then
6067 enableval=$enable_datetime;
6068 if test "$enableval" = yes; then
6069 ac_cv_use_datetime='wxUSE_DATETIME=yes'
6071 ac_cv_use_datetime='wxUSE_DATETIME=no'
6076 LINE=`grep "^wxUSE_DATETIME=" ${wx_arg_cache_file}`
6077 if test "x$LINE" != x ; then
6078 eval "DEFAULT_$LINE"
6083 ac_cv_use_datetime='wxUSE_DATETIME='$DEFAULT_wxUSE_DATETIME
6088 eval "$ac_cv_use_datetime"
6089 if test "$no_cache" != 1; then
6090 echo $ac_cv_use_datetime >> ${wx_arg_cache_file}.tmp
6093 if test "$wxUSE_DATETIME" = yes; then
6094 { echo "$as_me:$LINENO: result: yes" >&5
6095 echo "${ECHO_T}yes" >&6; }
6097 { echo "$as_me:$LINENO: result: no" >&5
6098 echo "${ECHO_T}no" >&6; }
6103 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debugreport" >&5
6104 echo $ECHO_N "checking for --${enablestring:-enable}-debugreport... $ECHO_C" >&6; }
6106 # Check whether --enable-debugreport was given.
6107 if test "${enable_debugreport+set}" = set; then
6108 enableval=$enable_debugreport;
6109 if test "$enableval" = yes; then
6110 ac_cv_use_debugreport='wxUSE_DEBUGREPORT=yes'
6112 ac_cv_use_debugreport='wxUSE_DEBUGREPORT=no'
6117 LINE=`grep "^wxUSE_DEBUGREPORT=" ${wx_arg_cache_file}`
6118 if test "x$LINE" != x ; then
6119 eval "DEFAULT_$LINE"
6124 ac_cv_use_debugreport='wxUSE_DEBUGREPORT='$DEFAULT_wxUSE_DEBUGREPORT
6129 eval "$ac_cv_use_debugreport"
6130 if test "$no_cache" != 1; then
6131 echo $ac_cv_use_debugreport >> ${wx_arg_cache_file}.tmp
6134 if test "$wxUSE_DEBUGREPORT" = yes; then
6135 { echo "$as_me:$LINENO: result: yes" >&5
6136 echo "${ECHO_T}yes" >&6; }
6138 { echo "$as_me:$LINENO: result: no" >&5
6139 echo "${ECHO_T}no" >&6; }
6144 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dialupman" >&5
6145 echo $ECHO_N "checking for --${enablestring:-enable}-dialupman... $ECHO_C" >&6; }
6147 # Check whether --enable-dialupman was given.
6148 if test "${enable_dialupman+set}" = set; then
6149 enableval=$enable_dialupman;
6150 if test "$enableval" = yes; then
6151 ac_cv_use_dialupman='wxUSE_DIALUP_MANAGER=yes'
6153 ac_cv_use_dialupman='wxUSE_DIALUP_MANAGER=no'
6158 LINE=`grep "^wxUSE_DIALUP_MANAGER=" ${wx_arg_cache_file}`
6159 if test "x$LINE" != x ; then
6160 eval "DEFAULT_$LINE"
6165 ac_cv_use_dialupman='wxUSE_DIALUP_MANAGER='$DEFAULT_wxUSE_DIALUP_MANAGER
6170 eval "$ac_cv_use_dialupman"
6171 if test "$no_cache" != 1; then
6172 echo $ac_cv_use_dialupman >> ${wx_arg_cache_file}.tmp
6175 if test "$wxUSE_DIALUP_MANAGER" = yes; then
6176 { echo "$as_me:$LINENO: result: yes" >&5
6177 echo "${ECHO_T}yes" >&6; }
6179 { echo "$as_me:$LINENO: result: no" >&5
6180 echo "${ECHO_T}no" >&6; }
6185 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynlib" >&5
6186 echo $ECHO_N "checking for --${enablestring:-enable}-dynlib... $ECHO_C" >&6; }
6188 # Check whether --enable-dynlib was given.
6189 if test "${enable_dynlib+set}" = set; then
6190 enableval=$enable_dynlib;
6191 if test "$enableval" = yes; then
6192 ac_cv_use_dynlib='wxUSE_DYNLIB_CLASS=yes'
6194 ac_cv_use_dynlib='wxUSE_DYNLIB_CLASS=no'
6199 LINE=`grep "^wxUSE_DYNLIB_CLASS=" ${wx_arg_cache_file}`
6200 if test "x$LINE" != x ; then
6201 eval "DEFAULT_$LINE"
6206 ac_cv_use_dynlib='wxUSE_DYNLIB_CLASS='$DEFAULT_wxUSE_DYNLIB_CLASS
6211 eval "$ac_cv_use_dynlib"
6212 if test "$no_cache" != 1; then
6213 echo $ac_cv_use_dynlib >> ${wx_arg_cache_file}.tmp
6216 if test "$wxUSE_DYNLIB_CLASS" = yes; then
6217 { echo "$as_me:$LINENO: result: yes" >&5
6218 echo "${ECHO_T}yes" >&6; }
6220 { echo "$as_me:$LINENO: result: no" >&5
6221 echo "${ECHO_T}no" >&6; }
6226 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynamicloader" >&5
6227 echo $ECHO_N "checking for --${enablestring:-enable}-dynamicloader... $ECHO_C" >&6; }
6229 # Check whether --enable-dynamicloader was given.
6230 if test "${enable_dynamicloader+set}" = set; then
6231 enableval=$enable_dynamicloader;
6232 if test "$enableval" = yes; then
6233 ac_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=yes'
6235 ac_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=no'
6240 LINE=`grep "^wxUSE_DYNAMIC_LOADER=" ${wx_arg_cache_file}`
6241 if test "x$LINE" != x ; then
6242 eval "DEFAULT_$LINE"
6247 ac_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER='$DEFAULT_wxUSE_DYNAMIC_LOADER
6252 eval "$ac_cv_use_dynamicloader"
6253 if test "$no_cache" != 1; then
6254 echo $ac_cv_use_dynamicloader >> ${wx_arg_cache_file}.tmp
6257 if test "$wxUSE_DYNAMIC_LOADER" = yes; then
6258 { echo "$as_me:$LINENO: result: yes" >&5
6259 echo "${ECHO_T}yes" >&6; }
6261 { echo "$as_me:$LINENO: result: no" >&5
6262 echo "${ECHO_T}no" >&6; }
6267 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-exceptions" >&5
6268 echo $ECHO_N "checking for --${enablestring:-enable}-exceptions... $ECHO_C" >&6; }
6270 # Check whether --enable-exceptions was given.
6271 if test "${enable_exceptions+set}" = set; then
6272 enableval=$enable_exceptions;
6273 if test "$enableval" = yes; then
6274 ac_cv_use_exceptions='wxUSE_EXCEPTIONS=yes'
6276 ac_cv_use_exceptions='wxUSE_EXCEPTIONS=no'
6281 LINE=`grep "^wxUSE_EXCEPTIONS=" ${wx_arg_cache_file}`
6282 if test "x$LINE" != x ; then
6283 eval "DEFAULT_$LINE"
6288 ac_cv_use_exceptions='wxUSE_EXCEPTIONS='$DEFAULT_wxUSE_EXCEPTIONS
6293 eval "$ac_cv_use_exceptions"
6294 if test "$no_cache" != 1; then
6295 echo $ac_cv_use_exceptions >> ${wx_arg_cache_file}.tmp
6298 if test "$wxUSE_EXCEPTIONS" = yes; then
6299 { echo "$as_me:$LINENO: result: yes" >&5
6300 echo "${ECHO_T}yes" >&6; }
6302 { echo "$as_me:$LINENO: result: no" >&5
6303 echo "${ECHO_T}no" >&6; }
6308 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ffile" >&5
6309 echo $ECHO_N "checking for --${enablestring:-enable}-ffile... $ECHO_C" >&6; }
6311 # Check whether --enable-ffile was given.
6312 if test "${enable_ffile+set}" = set; then
6313 enableval=$enable_ffile;
6314 if test "$enableval" = yes; then
6315 ac_cv_use_ffile='wxUSE_FFILE=yes'
6317 ac_cv_use_ffile='wxUSE_FFILE=no'
6322 LINE=`grep "^wxUSE_FFILE=" ${wx_arg_cache_file}`
6323 if test "x$LINE" != x ; then
6324 eval "DEFAULT_$LINE"
6329 ac_cv_use_ffile='wxUSE_FFILE='$DEFAULT_wxUSE_FFILE
6334 eval "$ac_cv_use_ffile"
6335 if test "$no_cache" != 1; then
6336 echo $ac_cv_use_ffile >> ${wx_arg_cache_file}.tmp
6339 if test "$wxUSE_FFILE" = yes; then
6340 { echo "$as_me:$LINENO: result: yes" >&5
6341 echo "${ECHO_T}yes" >&6; }
6343 { echo "$as_me:$LINENO: result: no" >&5
6344 echo "${ECHO_T}no" >&6; }
6349 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-file" >&5
6350 echo $ECHO_N "checking for --${enablestring:-enable}-file... $ECHO_C" >&6; }
6352 # Check whether --enable-file was given.
6353 if test "${enable_file+set}" = set; then
6354 enableval=$enable_file;
6355 if test "$enableval" = yes; then
6356 ac_cv_use_file='wxUSE_FILE=yes'
6358 ac_cv_use_file='wxUSE_FILE=no'
6363 LINE=`grep "^wxUSE_FILE=" ${wx_arg_cache_file}`
6364 if test "x$LINE" != x ; then
6365 eval "DEFAULT_$LINE"
6370 ac_cv_use_file='wxUSE_FILE='$DEFAULT_wxUSE_FILE
6375 eval "$ac_cv_use_file"
6376 if test "$no_cache" != 1; then
6377 echo $ac_cv_use_file >> ${wx_arg_cache_file}.tmp
6380 if test "$wxUSE_FILE" = yes; then
6381 { echo "$as_me:$LINENO: result: yes" >&5
6382 echo "${ECHO_T}yes" >&6; }
6384 { echo "$as_me:$LINENO: result: no" >&5
6385 echo "${ECHO_T}no" >&6; }
6390 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filesystem" >&5
6391 echo $ECHO_N "checking for --${enablestring:-enable}-filesystem... $ECHO_C" >&6; }
6393 # Check whether --enable-filesystem was given.
6394 if test "${enable_filesystem+set}" = set; then
6395 enableval=$enable_filesystem;
6396 if test "$enableval" = yes; then
6397 ac_cv_use_filesystem='wxUSE_FILESYSTEM=yes'
6399 ac_cv_use_filesystem='wxUSE_FILESYSTEM=no'
6404 LINE=`grep "^wxUSE_FILESYSTEM=" ${wx_arg_cache_file}`
6405 if test "x$LINE" != x ; then
6406 eval "DEFAULT_$LINE"
6411 ac_cv_use_filesystem='wxUSE_FILESYSTEM='$DEFAULT_wxUSE_FILESYSTEM
6416 eval "$ac_cv_use_filesystem"
6417 if test "$no_cache" != 1; then
6418 echo $ac_cv_use_filesystem >> ${wx_arg_cache_file}.tmp
6421 if test "$wxUSE_FILESYSTEM" = yes; then
6422 { echo "$as_me:$LINENO: result: yes" >&5
6423 echo "${ECHO_T}yes" >&6; }
6425 { echo "$as_me:$LINENO: result: no" >&5
6426 echo "${ECHO_T}no" >&6; }
6431 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontmap" >&5
6432 echo $ECHO_N "checking for --${enablestring:-enable}-fontmap... $ECHO_C" >&6; }
6434 # Check whether --enable-fontmap was given.
6435 if test "${enable_fontmap+set}" = set; then
6436 enableval=$enable_fontmap;
6437 if test "$enableval" = yes; then
6438 ac_cv_use_fontmap='wxUSE_FONTMAP=yes'
6440 ac_cv_use_fontmap='wxUSE_FONTMAP=no'
6445 LINE=`grep "^wxUSE_FONTMAP=" ${wx_arg_cache_file}`
6446 if test "x$LINE" != x ; then
6447 eval "DEFAULT_$LINE"
6452 ac_cv_use_fontmap='wxUSE_FONTMAP='$DEFAULT_wxUSE_FONTMAP
6457 eval "$ac_cv_use_fontmap"
6458 if test "$no_cache" != 1; then
6459 echo $ac_cv_use_fontmap >> ${wx_arg_cache_file}.tmp
6462 if test "$wxUSE_FONTMAP" = yes; then
6463 { echo "$as_me:$LINENO: result: yes" >&5
6464 echo "${ECHO_T}yes" >&6; }
6466 { echo "$as_me:$LINENO: result: no" >&5
6467 echo "${ECHO_T}no" >&6; }
6472 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_archive" >&5
6473 echo $ECHO_N "checking for --${enablestring:-enable}-fs_archive... $ECHO_C" >&6; }
6475 # Check whether --enable-fs_archive was given.
6476 if test "${enable_fs_archive+set}" = set; then
6477 enableval=$enable_fs_archive;
6478 if test "$enableval" = yes; then
6479 ac_cv_use_fs_archive='wxUSE_FS_ARCHIVE=yes'
6481 ac_cv_use_fs_archive='wxUSE_FS_ARCHIVE=no'
6486 LINE=`grep "^wxUSE_FS_ARCHIVE=" ${wx_arg_cache_file}`
6487 if test "x$LINE" != x ; then
6488 eval "DEFAULT_$LINE"
6493 ac_cv_use_fs_archive='wxUSE_FS_ARCHIVE='$DEFAULT_wxUSE_FS_ARCHIVE
6498 eval "$ac_cv_use_fs_archive"
6499 if test "$no_cache" != 1; then
6500 echo $ac_cv_use_fs_archive >> ${wx_arg_cache_file}.tmp
6503 if test "$wxUSE_FS_ARCHIVE" = yes; then
6504 { echo "$as_me:$LINENO: result: yes" >&5
6505 echo "${ECHO_T}yes" >&6; }
6507 { echo "$as_me:$LINENO: result: no" >&5
6508 echo "${ECHO_T}no" >&6; }
6513 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_inet" >&5
6514 echo $ECHO_N "checking for --${enablestring:-enable}-fs_inet... $ECHO_C" >&6; }
6516 # Check whether --enable-fs_inet was given.
6517 if test "${enable_fs_inet+set}" = set; then
6518 enableval=$enable_fs_inet;
6519 if test "$enableval" = yes; then
6520 ac_cv_use_fs_inet='wxUSE_FS_INET=yes'
6522 ac_cv_use_fs_inet='wxUSE_FS_INET=no'
6527 LINE=`grep "^wxUSE_FS_INET=" ${wx_arg_cache_file}`
6528 if test "x$LINE" != x ; then
6529 eval "DEFAULT_$LINE"
6534 ac_cv_use_fs_inet='wxUSE_FS_INET='$DEFAULT_wxUSE_FS_INET
6539 eval "$ac_cv_use_fs_inet"
6540 if test "$no_cache" != 1; then
6541 echo $ac_cv_use_fs_inet >> ${wx_arg_cache_file}.tmp
6544 if test "$wxUSE_FS_INET" = yes; then
6545 { echo "$as_me:$LINENO: result: yes" >&5
6546 echo "${ECHO_T}yes" >&6; }
6548 { echo "$as_me:$LINENO: result: no" >&5
6549 echo "${ECHO_T}no" >&6; }
6554 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_zip" >&5
6555 echo $ECHO_N "checking for --${enablestring:-enable}-fs_zip... $ECHO_C" >&6; }
6557 # Check whether --enable-fs_zip was given.
6558 if test "${enable_fs_zip+set}" = set; then
6559 enableval=$enable_fs_zip;
6560 if test "$enableval" = yes; then
6561 ac_cv_use_fs_zip='wxUSE_FS_ZIP=yes'
6563 ac_cv_use_fs_zip='wxUSE_FS_ZIP=no'
6568 LINE=`grep "^wxUSE_FS_ZIP=" ${wx_arg_cache_file}`
6569 if test "x$LINE" != x ; then
6570 eval "DEFAULT_$LINE"
6575 ac_cv_use_fs_zip='wxUSE_FS_ZIP='$DEFAULT_wxUSE_FS_ZIP
6580 eval "$ac_cv_use_fs_zip"
6581 if test "$no_cache" != 1; then
6582 echo $ac_cv_use_fs_zip >> ${wx_arg_cache_file}.tmp
6585 if test "$wxUSE_FS_ZIP" = yes; then
6586 { echo "$as_me:$LINENO: result: yes" >&5
6587 echo "${ECHO_T}yes" >&6; }
6589 { echo "$as_me:$LINENO: result: no" >&5
6590 echo "${ECHO_T}no" >&6; }
6595 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-geometry" >&5
6596 echo $ECHO_N "checking for --${enablestring:-enable}-geometry... $ECHO_C" >&6; }
6598 # Check whether --enable-geometry was given.
6599 if test "${enable_geometry+set}" = set; then
6600 enableval=$enable_geometry;
6601 if test "$enableval" = yes; then
6602 ac_cv_use_geometry='wxUSE_GEOMETRY=yes'
6604 ac_cv_use_geometry='wxUSE_GEOMETRY=no'
6609 LINE=`grep "^wxUSE_GEOMETRY=" ${wx_arg_cache_file}`
6610 if test "x$LINE" != x ; then
6611 eval "DEFAULT_$LINE"
6616 ac_cv_use_geometry='wxUSE_GEOMETRY='$DEFAULT_wxUSE_GEOMETRY
6621 eval "$ac_cv_use_geometry"
6622 if test "$no_cache" != 1; then
6623 echo $ac_cv_use_geometry >> ${wx_arg_cache_file}.tmp
6626 if test "$wxUSE_GEOMETRY" = yes; then
6627 { echo "$as_me:$LINENO: result: yes" >&5
6628 echo "${ECHO_T}yes" >&6; }
6630 { echo "$as_me:$LINENO: result: no" >&5
6631 echo "${ECHO_T}no" >&6; }
6636 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-log" >&5
6637 echo $ECHO_N "checking for --${enablestring:-enable}-log... $ECHO_C" >&6; }
6639 # Check whether --enable-log was given.
6640 if test "${enable_log+set}" = set; then
6641 enableval=$enable_log;
6642 if test "$enableval" = yes; then
6643 ac_cv_use_log='wxUSE_LOG=yes'
6645 ac_cv_use_log='wxUSE_LOG=no'
6650 LINE=`grep "^wxUSE_LOG=" ${wx_arg_cache_file}`
6651 if test "x$LINE" != x ; then
6652 eval "DEFAULT_$LINE"
6657 ac_cv_use_log='wxUSE_LOG='$DEFAULT_wxUSE_LOG
6662 eval "$ac_cv_use_log"
6663 if test "$no_cache" != 1; then
6664 echo $ac_cv_use_log >> ${wx_arg_cache_file}.tmp
6667 if test "$wxUSE_LOG" = yes; then
6668 { echo "$as_me:$LINENO: result: yes" >&5
6669 echo "${ECHO_T}yes" >&6; }
6671 { echo "$as_me:$LINENO: result: no" >&5
6672 echo "${ECHO_T}no" >&6; }
6677 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-longlong" >&5
6678 echo $ECHO_N "checking for --${enablestring:-enable}-longlong... $ECHO_C" >&6; }
6680 # Check whether --enable-longlong was given.
6681 if test "${enable_longlong+set}" = set; then
6682 enableval=$enable_longlong;
6683 if test "$enableval" = yes; then
6684 ac_cv_use_longlong='wxUSE_LONGLONG=yes'
6686 ac_cv_use_longlong='wxUSE_LONGLONG=no'
6691 LINE=`grep "^wxUSE_LONGLONG=" ${wx_arg_cache_file}`
6692 if test "x$LINE" != x ; then
6693 eval "DEFAULT_$LINE"
6698 ac_cv_use_longlong='wxUSE_LONGLONG='$DEFAULT_wxUSE_LONGLONG
6703 eval "$ac_cv_use_longlong"
6704 if test "$no_cache" != 1; then
6705 echo $ac_cv_use_longlong >> ${wx_arg_cache_file}.tmp
6708 if test "$wxUSE_LONGLONG" = yes; then
6709 { echo "$as_me:$LINENO: result: yes" >&5
6710 echo "${ECHO_T}yes" >&6; }
6712 { echo "$as_me:$LINENO: result: no" >&5
6713 echo "${ECHO_T}no" >&6; }
6718 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mimetype" >&5
6719 echo $ECHO_N "checking for --${enablestring:-enable}-mimetype... $ECHO_C" >&6; }
6721 # Check whether --enable-mimetype was given.
6722 if test "${enable_mimetype+set}" = set; then
6723 enableval=$enable_mimetype;
6724 if test "$enableval" = yes; then
6725 ac_cv_use_mimetype='wxUSE_MIMETYPE=yes'
6727 ac_cv_use_mimetype='wxUSE_MIMETYPE=no'
6732 LINE=`grep "^wxUSE_MIMETYPE=" ${wx_arg_cache_file}`
6733 if test "x$LINE" != x ; then
6734 eval "DEFAULT_$LINE"
6739 ac_cv_use_mimetype='wxUSE_MIMETYPE='$DEFAULT_wxUSE_MIMETYPE
6744 eval "$ac_cv_use_mimetype"
6745 if test "$no_cache" != 1; then
6746 echo $ac_cv_use_mimetype >> ${wx_arg_cache_file}.tmp
6749 if test "$wxUSE_MIMETYPE" = yes; then
6750 { echo "$as_me:$LINENO: result: yes" >&5
6751 echo "${ECHO_T}yes" >&6; }
6753 { echo "$as_me:$LINENO: result: no" >&5
6754 echo "${ECHO_T}no" >&6; }
6759 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mslu" >&5
6760 echo $ECHO_N "checking for --${enablestring:-enable}-mslu... $ECHO_C" >&6; }
6762 # Check whether --enable-mslu was given.
6763 if test "${enable_mslu+set}" = set; then
6764 enableval=$enable_mslu;
6765 if test "$enableval" = yes; then
6766 ac_cv_use_mslu='wxUSE_UNICODE_MSLU=yes'
6768 ac_cv_use_mslu='wxUSE_UNICODE_MSLU=no'
6773 LINE=`grep "^wxUSE_UNICODE_MSLU=" ${wx_arg_cache_file}`
6774 if test "x$LINE" != x ; then
6775 eval "DEFAULT_$LINE"
6780 ac_cv_use_mslu='wxUSE_UNICODE_MSLU='$DEFAULT_wxUSE_UNICODE_MSLU
6785 eval "$ac_cv_use_mslu"
6786 if test "$no_cache" != 1; then
6787 echo $ac_cv_use_mslu >> ${wx_arg_cache_file}.tmp
6790 if test "$wxUSE_UNICODE_MSLU" = yes; then
6791 { echo "$as_me:$LINENO: result: yes" >&5
6792 echo "${ECHO_T}yes" >&6; }
6794 { echo "$as_me:$LINENO: result: no" >&5
6795 echo "${ECHO_T}no" >&6; }
6800 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-utf8" >&5
6801 echo $ECHO_N "checking for --${enablestring:-enable}-utf8... $ECHO_C" >&6; }
6803 # Check whether --enable-utf8 was given.
6804 if test "${enable_utf8+set}" = set; then
6805 enableval=$enable_utf8;
6806 wx_cv_use_utf8="wxUSE_UNICODE_UTF8='$enableval'"
6810 LINE=`grep "^wxUSE_UNICODE_UTF8=" ${wx_arg_cache_file}`
6811 if test "x$LINE" != x ; then
6812 eval "DEFAULT_$LINE"
6817 wx_cv_use_utf8='wxUSE_UNICODE_UTF8='$DEFAULT_wxUSE_UNICODE_UTF8
6822 eval "$wx_cv_use_utf8"
6823 if test "$no_cache" != 1; then
6824 echo $wx_cv_use_utf8 >> ${wx_arg_cache_file}.tmp
6827 { echo "$as_me:$LINENO: result: $wxUSE_UNICODE_UTF8" >&5
6828 echo "${ECHO_T}$wxUSE_UNICODE_UTF8" >&6; }
6832 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-utf8only" >&5
6833 echo $ECHO_N "checking for --${enablestring:-enable}-utf8only... $ECHO_C" >&6; }
6835 # Check whether --enable-utf8only was given.
6836 if test "${enable_utf8only+set}" = set; then
6837 enableval=$enable_utf8only;
6838 if test "$enableval" = yes; then
6839 ac_cv_use_utf8only='wxUSE_UNICODE_UTF8_LOCALE=yes'
6841 ac_cv_use_utf8only='wxUSE_UNICODE_UTF8_LOCALE=no'
6846 LINE=`grep "^wxUSE_UNICODE_UTF8_LOCALE=" ${wx_arg_cache_file}`
6847 if test "x$LINE" != x ; then
6848 eval "DEFAULT_$LINE"
6853 ac_cv_use_utf8only='wxUSE_UNICODE_UTF8_LOCALE='$DEFAULT_wxUSE_UNICODE_UTF8_LOCALE
6858 eval "$ac_cv_use_utf8only"
6859 if test "$no_cache" != 1; then
6860 echo $ac_cv_use_utf8only >> ${wx_arg_cache_file}.tmp
6863 if test "$wxUSE_UNICODE_UTF8_LOCALE" = yes; then
6864 { echo "$as_me:$LINENO: result: yes" >&5
6865 echo "${ECHO_T}yes" >&6; }
6867 { echo "$as_me:$LINENO: result: no" >&5
6868 echo "${ECHO_T}no" >&6; }
6873 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-snglinst" >&5
6874 echo $ECHO_N "checking for --${enablestring:-enable}-snglinst... $ECHO_C" >&6; }
6876 # Check whether --enable-snglinst was given.
6877 if test "${enable_snglinst+set}" = set; then
6878 enableval=$enable_snglinst;
6879 if test "$enableval" = yes; then
6880 ac_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=yes'
6882 ac_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=no'
6887 LINE=`grep "^wxUSE_SNGLINST_CHECKER=" ${wx_arg_cache_file}`
6888 if test "x$LINE" != x ; then
6889 eval "DEFAULT_$LINE"
6894 ac_cv_use_snglinst='wxUSE_SNGLINST_CHECKER='$DEFAULT_wxUSE_SNGLINST_CHECKER
6899 eval "$ac_cv_use_snglinst"
6900 if test "$no_cache" != 1; then
6901 echo $ac_cv_use_snglinst >> ${wx_arg_cache_file}.tmp
6904 if test "$wxUSE_SNGLINST_CHECKER" = yes; then
6905 { echo "$as_me:$LINENO: result: yes" >&5
6906 echo "${ECHO_T}yes" >&6; }
6908 { echo "$as_me:$LINENO: result: no" >&5
6909 echo "${ECHO_T}no" >&6; }
6914 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-std_iostreams" >&5
6915 echo $ECHO_N "checking for --${enablestring:-enable}-std_iostreams... $ECHO_C" >&6; }
6917 # Check whether --enable-std_iostreams was given.
6918 if test "${enable_std_iostreams+set}" = set; then
6919 enableval=$enable_std_iostreams;
6920 if test "$enableval" = yes; then
6921 ac_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=yes'
6923 ac_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=no'
6928 LINE=`grep "^wxUSE_STD_IOSTREAM=" ${wx_arg_cache_file}`
6929 if test "x$LINE" != x ; then
6930 eval "DEFAULT_$LINE"
6935 ac_cv_use_std_iostreams='wxUSE_STD_IOSTREAM='$DEFAULT_wxUSE_STD_IOSTREAM
6940 eval "$ac_cv_use_std_iostreams"
6941 if test "$no_cache" != 1; then
6942 echo $ac_cv_use_std_iostreams >> ${wx_arg_cache_file}.tmp
6945 if test "$wxUSE_STD_IOSTREAM" = yes; then
6946 { echo "$as_me:$LINENO: result: yes" >&5
6947 echo "${ECHO_T}yes" >&6; }
6949 { echo "$as_me:$LINENO: result: no" >&5
6950 echo "${ECHO_T}no" >&6; }
6955 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-std_string" >&5
6956 echo $ECHO_N "checking for --${enablestring:-enable}-std_string... $ECHO_C" >&6; }
6958 # Check whether --enable-std_string was given.
6959 if test "${enable_std_string+set}" = set; then
6960 enableval=$enable_std_string;
6961 if test "$enableval" = yes; then
6962 ac_cv_use_std_string='wxUSE_STD_STRING=yes'
6964 ac_cv_use_std_string='wxUSE_STD_STRING=no'
6969 LINE=`grep "^wxUSE_STD_STRING=" ${wx_arg_cache_file}`
6970 if test "x$LINE" != x ; then
6971 eval "DEFAULT_$LINE"
6976 ac_cv_use_std_string='wxUSE_STD_STRING='$DEFAULT_wxUSE_STD_STRING
6981 eval "$ac_cv_use_std_string"
6982 if test "$no_cache" != 1; then
6983 echo $ac_cv_use_std_string >> ${wx_arg_cache_file}.tmp
6986 if test "$wxUSE_STD_STRING" = yes; then
6987 { echo "$as_me:$LINENO: result: yes" >&5
6988 echo "${ECHO_T}yes" >&6; }
6990 { echo "$as_me:$LINENO: result: no" >&5
6991 echo "${ECHO_T}no" >&6; }
6996 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stdpaths" >&5
6997 echo $ECHO_N "checking for --${enablestring:-enable}-stdpaths... $ECHO_C" >&6; }
6999 # Check whether --enable-stdpaths was given.
7000 if test "${enable_stdpaths+set}" = set; then
7001 enableval=$enable_stdpaths;
7002 if test "$enableval" = yes; then
7003 ac_cv_use_stdpaths='wxUSE_STDPATHS=yes'
7005 ac_cv_use_stdpaths='wxUSE_STDPATHS=no'
7010 LINE=`grep "^wxUSE_STDPATHS=" ${wx_arg_cache_file}`
7011 if test "x$LINE" != x ; then
7012 eval "DEFAULT_$LINE"
7017 ac_cv_use_stdpaths='wxUSE_STDPATHS='$DEFAULT_wxUSE_STDPATHS
7022 eval "$ac_cv_use_stdpaths"
7023 if test "$no_cache" != 1; then
7024 echo $ac_cv_use_stdpaths >> ${wx_arg_cache_file}.tmp
7027 if test "$wxUSE_STDPATHS" = yes; then
7028 { echo "$as_me:$LINENO: result: yes" >&5
7029 echo "${ECHO_T}yes" >&6; }
7031 { echo "$as_me:$LINENO: result: no" >&5
7032 echo "${ECHO_T}no" >&6; }
7037 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stopwatch" >&5
7038 echo $ECHO_N "checking for --${enablestring:-enable}-stopwatch... $ECHO_C" >&6; }
7040 # Check whether --enable-stopwatch was given.
7041 if test "${enable_stopwatch+set}" = set; then
7042 enableval=$enable_stopwatch;
7043 if test "$enableval" = yes; then
7044 ac_cv_use_stopwatch='wxUSE_STOPWATCH=yes'
7046 ac_cv_use_stopwatch='wxUSE_STOPWATCH=no'
7051 LINE=`grep "^wxUSE_STOPWATCH=" ${wx_arg_cache_file}`
7052 if test "x$LINE" != x ; then
7053 eval "DEFAULT_$LINE"
7058 ac_cv_use_stopwatch='wxUSE_STOPWATCH='$DEFAULT_wxUSE_STOPWATCH
7063 eval "$ac_cv_use_stopwatch"
7064 if test "$no_cache" != 1; then
7065 echo $ac_cv_use_stopwatch >> ${wx_arg_cache_file}.tmp
7068 if test "$wxUSE_STOPWATCH" = yes; then
7069 { echo "$as_me:$LINENO: result: yes" >&5
7070 echo "${ECHO_T}yes" >&6; }
7072 { echo "$as_me:$LINENO: result: no" >&5
7073 echo "${ECHO_T}no" >&6; }
7078 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-streams" >&5
7079 echo $ECHO_N "checking for --${enablestring:-enable}-streams... $ECHO_C" >&6; }
7081 # Check whether --enable-streams was given.
7082 if test "${enable_streams+set}" = set; then
7083 enableval=$enable_streams;
7084 if test "$enableval" = yes; then
7085 ac_cv_use_streams='wxUSE_STREAMS=yes'
7087 ac_cv_use_streams='wxUSE_STREAMS=no'
7092 LINE=`grep "^wxUSE_STREAMS=" ${wx_arg_cache_file}`
7093 if test "x$LINE" != x ; then
7094 eval "DEFAULT_$LINE"
7099 ac_cv_use_streams='wxUSE_STREAMS='$DEFAULT_wxUSE_STREAMS
7104 eval "$ac_cv_use_streams"
7105 if test "$no_cache" != 1; then
7106 echo $ac_cv_use_streams >> ${wx_arg_cache_file}.tmp
7109 if test "$wxUSE_STREAMS" = yes; then
7110 { echo "$as_me:$LINENO: result: yes" >&5
7111 echo "${ECHO_T}yes" >&6; }
7113 { echo "$as_me:$LINENO: result: no" >&5
7114 echo "${ECHO_T}no" >&6; }
7119 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-system_options" >&5
7120 echo $ECHO_N "checking for --${enablestring:-enable}-system_options... $ECHO_C" >&6; }
7122 # Check whether --enable-system_options was given.
7123 if test "${enable_system_options+set}" = set; then
7124 enableval=$enable_system_options;
7125 if test "$enableval" = yes; then
7126 ac_cv_use_system_options='wxUSE_SYSTEM_OPTIONS=yes'
7128 ac_cv_use_system_options='wxUSE_SYSTEM_OPTIONS=no'
7133 LINE=`grep "^wxUSE_SYSTEM_OPTIONS=" ${wx_arg_cache_file}`
7134 if test "x$LINE" != x ; then
7135 eval "DEFAULT_$LINE"
7140 ac_cv_use_system_options='wxUSE_SYSTEM_OPTIONS='$DEFAULT_wxUSE_SYSTEM_OPTIONS
7145 eval "$ac_cv_use_system_options"
7146 if test "$no_cache" != 1; then
7147 echo $ac_cv_use_system_options >> ${wx_arg_cache_file}.tmp
7150 if test "$wxUSE_SYSTEM_OPTIONS" = yes; then
7151 { echo "$as_me:$LINENO: result: yes" >&5
7152 echo "${ECHO_T}yes" >&6; }
7154 { echo "$as_me:$LINENO: result: no" >&5
7155 echo "${ECHO_T}no" >&6; }
7160 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tarstream" >&5
7161 echo $ECHO_N "checking for --${enablestring:-enable}-tarstream... $ECHO_C" >&6; }
7163 # Check whether --enable-tarstream was given.
7164 if test "${enable_tarstream+set}" = set; then
7165 enableval=$enable_tarstream;
7166 if test "$enableval" = yes; then
7167 ac_cv_use_tarstream='wxUSE_TARSTREAM=yes'
7169 ac_cv_use_tarstream='wxUSE_TARSTREAM=no'
7174 LINE=`grep "^wxUSE_TARSTREAM=" ${wx_arg_cache_file}`
7175 if test "x$LINE" != x ; then
7176 eval "DEFAULT_$LINE"
7181 ac_cv_use_tarstream='wxUSE_TARSTREAM='$DEFAULT_wxUSE_TARSTREAM
7186 eval "$ac_cv_use_tarstream"
7187 if test "$no_cache" != 1; then
7188 echo $ac_cv_use_tarstream >> ${wx_arg_cache_file}.tmp
7191 if test "$wxUSE_TARSTREAM" = yes; then
7192 { echo "$as_me:$LINENO: result: yes" >&5
7193 echo "${ECHO_T}yes" >&6; }
7195 { echo "$as_me:$LINENO: result: no" >&5
7196 echo "${ECHO_T}no" >&6; }
7201 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textbuf" >&5
7202 echo $ECHO_N "checking for --${enablestring:-enable}-textbuf... $ECHO_C" >&6; }
7204 # Check whether --enable-textbuf was given.
7205 if test "${enable_textbuf+set}" = set; then
7206 enableval=$enable_textbuf;
7207 if test "$enableval" = yes; then
7208 ac_cv_use_textbuf='wxUSE_TEXTBUFFER=yes'
7210 ac_cv_use_textbuf='wxUSE_TEXTBUFFER=no'
7215 LINE=`grep "^wxUSE_TEXTBUFFER=" ${wx_arg_cache_file}`
7216 if test "x$LINE" != x ; then
7217 eval "DEFAULT_$LINE"
7222 ac_cv_use_textbuf='wxUSE_TEXTBUFFER='$DEFAULT_wxUSE_TEXTBUFFER
7227 eval "$ac_cv_use_textbuf"
7228 if test "$no_cache" != 1; then
7229 echo $ac_cv_use_textbuf >> ${wx_arg_cache_file}.tmp
7232 if test "$wxUSE_TEXTBUFFER" = yes; then
7233 { echo "$as_me:$LINENO: result: yes" >&5
7234 echo "${ECHO_T}yes" >&6; }
7236 { echo "$as_me:$LINENO: result: no" >&5
7237 echo "${ECHO_T}no" >&6; }
7242 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textfile" >&5
7243 echo $ECHO_N "checking for --${enablestring:-enable}-textfile... $ECHO_C" >&6; }
7245 # Check whether --enable-textfile was given.
7246 if test "${enable_textfile+set}" = set; then
7247 enableval=$enable_textfile;
7248 if test "$enableval" = yes; then
7249 ac_cv_use_textfile='wxUSE_TEXTFILE=yes'
7251 ac_cv_use_textfile='wxUSE_TEXTFILE=no'
7256 LINE=`grep "^wxUSE_TEXTFILE=" ${wx_arg_cache_file}`
7257 if test "x$LINE" != x ; then
7258 eval "DEFAULT_$LINE"
7263 ac_cv_use_textfile='wxUSE_TEXTFILE='$DEFAULT_wxUSE_TEXTFILE
7268 eval "$ac_cv_use_textfile"
7269 if test "$no_cache" != 1; then
7270 echo $ac_cv_use_textfile >> ${wx_arg_cache_file}.tmp
7273 if test "$wxUSE_TEXTFILE" = yes; then
7274 { echo "$as_me:$LINENO: result: yes" >&5
7275 echo "${ECHO_T}yes" >&6; }
7277 { echo "$as_me:$LINENO: result: no" >&5
7278 echo "${ECHO_T}no" >&6; }
7283 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-timer" >&5
7284 echo $ECHO_N "checking for --${enablestring:-enable}-timer... $ECHO_C" >&6; }
7286 # Check whether --enable-timer was given.
7287 if test "${enable_timer+set}" = set; then
7288 enableval=$enable_timer;
7289 if test "$enableval" = yes; then
7290 ac_cv_use_timer='wxUSE_TIMER=yes'
7292 ac_cv_use_timer='wxUSE_TIMER=no'
7297 LINE=`grep "^wxUSE_TIMER=" ${wx_arg_cache_file}`
7298 if test "x$LINE" != x ; then
7299 eval "DEFAULT_$LINE"
7304 ac_cv_use_timer='wxUSE_TIMER='$DEFAULT_wxUSE_TIMER
7309 eval "$ac_cv_use_timer"
7310 if test "$no_cache" != 1; then
7311 echo $ac_cv_use_timer >> ${wx_arg_cache_file}.tmp
7314 if test "$wxUSE_TIMER" = yes; then
7315 { echo "$as_me:$LINENO: result: yes" >&5
7316 echo "${ECHO_T}yes" >&6; }
7318 { echo "$as_me:$LINENO: result: no" >&5
7319 echo "${ECHO_T}no" >&6; }
7324 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-unicode" >&5
7325 echo $ECHO_N "checking for --${enablestring:-enable}-unicode... $ECHO_C" >&6; }
7327 # Check whether --enable-unicode was given.
7328 if test "${enable_unicode+set}" = set; then
7329 enableval=$enable_unicode;
7330 if test "$enableval" = yes; then
7331 ac_cv_use_unicode='wxUSE_UNICODE=yes'
7333 ac_cv_use_unicode='wxUSE_UNICODE=no'
7338 LINE=`grep "^wxUSE_UNICODE=" ${wx_arg_cache_file}`
7339 if test "x$LINE" != x ; then
7340 eval "DEFAULT_$LINE"
7345 ac_cv_use_unicode='wxUSE_UNICODE='$DEFAULT_wxUSE_UNICODE
7350 eval "$ac_cv_use_unicode"
7351 if test "$no_cache" != 1; then
7352 echo $ac_cv_use_unicode >> ${wx_arg_cache_file}.tmp
7355 if test "$wxUSE_UNICODE" = yes; then
7356 { echo "$as_me:$LINENO: result: yes" >&5
7357 echo "${ECHO_T}yes" >&6; }
7359 { echo "$as_me:$LINENO: result: no" >&5
7360 echo "${ECHO_T}no" >&6; }
7365 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sound" >&5
7366 echo $ECHO_N "checking for --${enablestring:-enable}-sound... $ECHO_C" >&6; }
7368 # Check whether --enable-sound was given.
7369 if test "${enable_sound+set}" = set; then
7370 enableval=$enable_sound;
7371 if test "$enableval" = yes; then
7372 ac_cv_use_sound='wxUSE_SOUND=yes'
7374 ac_cv_use_sound='wxUSE_SOUND=no'
7379 LINE=`grep "^wxUSE_SOUND=" ${wx_arg_cache_file}`
7380 if test "x$LINE" != x ; then
7381 eval "DEFAULT_$LINE"
7386 ac_cv_use_sound='wxUSE_SOUND='$DEFAULT_wxUSE_SOUND
7391 eval "$ac_cv_use_sound"
7392 if test "$no_cache" != 1; then
7393 echo $ac_cv_use_sound >> ${wx_arg_cache_file}.tmp
7396 if test "$wxUSE_SOUND" = yes; then
7397 { echo "$as_me:$LINENO: result: yes" >&5
7398 echo "${ECHO_T}yes" >&6; }
7400 { echo "$as_me:$LINENO: result: no" >&5
7401 echo "${ECHO_T}no" >&6; }
7406 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mediactrl" >&5
7407 echo $ECHO_N "checking for --${enablestring:-enable}-mediactrl... $ECHO_C" >&6; }
7409 # Check whether --enable-mediactrl was given.
7410 if test "${enable_mediactrl+set}" = set; then
7411 enableval=$enable_mediactrl;
7412 if test "$enableval" = yes; then
7413 ac_cv_use_mediactrl='wxUSE_MEDIACTRL=yes'
7415 ac_cv_use_mediactrl='wxUSE_MEDIACTRL=no'
7420 LINE=`grep "^wxUSE_MEDIACTRL=" ${wx_arg_cache_file}`
7421 if test "x$LINE" != x ; then
7422 eval "DEFAULT_$LINE"
7427 ac_cv_use_mediactrl='wxUSE_MEDIACTRL='$DEFAULT_wxUSE_MEDIACTRL
7432 eval "$ac_cv_use_mediactrl"
7433 if test "$no_cache" != 1; then
7434 echo $ac_cv_use_mediactrl >> ${wx_arg_cache_file}.tmp
7437 if test "$wxUSE_MEDIACTRL" = yes; then
7438 { echo "$as_me:$LINENO: result: yes" >&5
7439 echo "${ECHO_T}yes" >&6; }
7441 { echo "$as_me:$LINENO: result: no" >&5
7442 echo "${ECHO_T}no" >&6; }
7447 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gstreamer8" >&5
7448 echo $ECHO_N "checking for --${enablestring:-enable}-gstreamer8... $ECHO_C" >&6; }
7450 # Check whether --enable-gstreamer8 was given.
7451 if test "${enable_gstreamer8+set}" = set; then
7452 enableval=$enable_gstreamer8;
7453 if test "$enableval" = yes; then
7454 ac_cv_use_gstreamer8='wxUSE_GSTREAMER8=yes'
7456 ac_cv_use_gstreamer8='wxUSE_GSTREAMER8=no'
7461 LINE=`grep "^wxUSE_GSTREAMER8=" ${wx_arg_cache_file}`
7462 if test "x$LINE" != x ; then
7463 eval "DEFAULT_$LINE"
7468 ac_cv_use_gstreamer8='wxUSE_GSTREAMER8='$DEFAULT_wxUSE_GSTREAMER8
7473 eval "$ac_cv_use_gstreamer8"
7474 if test "$no_cache" != 1; then
7475 echo $ac_cv_use_gstreamer8 >> ${wx_arg_cache_file}.tmp
7478 if test "$wxUSE_GSTREAMER8" = yes; then
7479 { echo "$as_me:$LINENO: result: yes" >&5
7480 echo "${ECHO_T}yes" >&6; }
7482 { echo "$as_me:$LINENO: result: no" >&5
7483 echo "${ECHO_T}no" >&6; }
7488 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-printfposparam" >&5
7489 echo $ECHO_N "checking for --${enablestring:-enable}-printfposparam... $ECHO_C" >&6; }
7491 # Check whether --enable-printfposparam was given.
7492 if test "${enable_printfposparam+set}" = set; then
7493 enableval=$enable_printfposparam;
7494 if test "$enableval" = yes; then
7495 ac_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS=yes'
7497 ac_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS=no'
7502 LINE=`grep "^wxUSE_PRINTF_POS_PARAMS=" ${wx_arg_cache_file}`
7503 if test "x$LINE" != x ; then
7504 eval "DEFAULT_$LINE"
7509 ac_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS='$DEFAULT_wxUSE_PRINTF_POS_PARAMS
7514 eval "$ac_cv_use_printfposparam"
7515 if test "$no_cache" != 1; then
7516 echo $ac_cv_use_printfposparam >> ${wx_arg_cache_file}.tmp
7519 if test "$wxUSE_PRINTF_POS_PARAMS" = yes; then
7520 { echo "$as_me:$LINENO: result: yes" >&5
7521 echo "${ECHO_T}yes" >&6; }
7523 { echo "$as_me:$LINENO: result: no" >&5
7524 echo "${ECHO_T}no" >&6; }
7529 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-zipstream" >&5
7530 echo $ECHO_N "checking for --${enablestring:-enable}-zipstream... $ECHO_C" >&6; }
7532 # Check whether --enable-zipstream was given.
7533 if test "${enable_zipstream+set}" = set; then
7534 enableval=$enable_zipstream;
7535 if test "$enableval" = yes; then
7536 ac_cv_use_zipstream='wxUSE_ZIPSTREAM=yes'
7538 ac_cv_use_zipstream='wxUSE_ZIPSTREAM=no'
7543 LINE=`grep "^wxUSE_ZIPSTREAM=" ${wx_arg_cache_file}`
7544 if test "x$LINE" != x ; then
7545 eval "DEFAULT_$LINE"
7550 ac_cv_use_zipstream='wxUSE_ZIPSTREAM='$DEFAULT_wxUSE_ZIPSTREAM
7555 eval "$ac_cv_use_zipstream"
7556 if test "$no_cache" != 1; then
7557 echo $ac_cv_use_zipstream >> ${wx_arg_cache_file}.tmp
7560 if test "$wxUSE_ZIPSTREAM" = yes; then
7561 { echo "$as_me:$LINENO: result: yes" >&5
7562 echo "${ECHO_T}yes" >&6; }
7564 { echo "$as_me:$LINENO: result: no" >&5
7565 echo "${ECHO_T}no" >&6; }
7571 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-url" >&5
7572 echo $ECHO_N "checking for --${enablestring:-enable}-url... $ECHO_C" >&6; }
7574 # Check whether --enable-url was given.
7575 if test "${enable_url+set}" = set; then
7576 enableval=$enable_url;
7577 if test "$enableval" = yes; then
7578 ac_cv_use_url='wxUSE_URL=yes'
7580 ac_cv_use_url='wxUSE_URL=no'
7585 LINE=`grep "^wxUSE_URL=" ${wx_arg_cache_file}`
7586 if test "x$LINE" != x ; then
7587 eval "DEFAULT_$LINE"
7592 ac_cv_use_url='wxUSE_URL='$DEFAULT_wxUSE_URL
7597 eval "$ac_cv_use_url"
7598 if test "$no_cache" != 1; then
7599 echo $ac_cv_use_url >> ${wx_arg_cache_file}.tmp
7602 if test "$wxUSE_URL" = yes; then
7603 { echo "$as_me:$LINENO: result: yes" >&5
7604 echo "${ECHO_T}yes" >&6; }
7606 { echo "$as_me:$LINENO: result: no" >&5
7607 echo "${ECHO_T}no" >&6; }
7612 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-variant" >&5
7613 echo $ECHO_N "checking for --${enablestring:-enable}-variant... $ECHO_C" >&6; }
7615 # Check whether --enable-variant was given.
7616 if test "${enable_variant+set}" = set; then
7617 enableval=$enable_variant;
7618 if test "$enableval" = yes; then
7619 ac_cv_use_variant='wxUSE_VARIANT=yes'
7621 ac_cv_use_variant='wxUSE_VARIANT=no'
7626 LINE=`grep "^wxUSE_VARIANT=" ${wx_arg_cache_file}`
7627 if test "x$LINE" != x ; then
7628 eval "DEFAULT_$LINE"
7633 ac_cv_use_variant='wxUSE_VARIANT='$DEFAULT_wxUSE_VARIANT
7638 eval "$ac_cv_use_variant"
7639 if test "$no_cache" != 1; then
7640 echo $ac_cv_use_variant >> ${wx_arg_cache_file}.tmp
7643 if test "$wxUSE_VARIANT" = yes; then
7644 { echo "$as_me:$LINENO: result: yes" >&5
7645 echo "${ECHO_T}yes" >&6; }
7647 { echo "$as_me:$LINENO: result: no" >&5
7648 echo "${ECHO_T}no" >&6; }
7653 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol" >&5
7654 echo $ECHO_N "checking for --${enablestring:-enable}-protocol... $ECHO_C" >&6; }
7656 # Check whether --enable-protocol was given.
7657 if test "${enable_protocol+set}" = set; then
7658 enableval=$enable_protocol;
7659 if test "$enableval" = yes; then
7660 ac_cv_use_protocol='wxUSE_PROTOCOL=yes'
7662 ac_cv_use_protocol='wxUSE_PROTOCOL=no'
7667 LINE=`grep "^wxUSE_PROTOCOL=" ${wx_arg_cache_file}`
7668 if test "x$LINE" != x ; then
7669 eval "DEFAULT_$LINE"
7674 ac_cv_use_protocol='wxUSE_PROTOCOL='$DEFAULT_wxUSE_PROTOCOL
7679 eval "$ac_cv_use_protocol"
7680 if test "$no_cache" != 1; then
7681 echo $ac_cv_use_protocol >> ${wx_arg_cache_file}.tmp
7684 if test "$wxUSE_PROTOCOL" = yes; then
7685 { echo "$as_me:$LINENO: result: yes" >&5
7686 echo "${ECHO_T}yes" >&6; }
7688 { echo "$as_me:$LINENO: result: no" >&5
7689 echo "${ECHO_T}no" >&6; }
7694 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_http" >&5
7695 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_http... $ECHO_C" >&6; }
7697 # Check whether --enable-protocol_http was given.
7698 if test "${enable_protocol_http+set}" = set; then
7699 enableval=$enable_protocol_http;
7700 if test "$enableval" = yes; then
7701 ac_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP=yes'
7703 ac_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP=no'
7708 LINE=`grep "^wxUSE_PROTOCOL_HTTP=" ${wx_arg_cache_file}`
7709 if test "x$LINE" != x ; then
7710 eval "DEFAULT_$LINE"
7715 ac_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP='$DEFAULT_wxUSE_PROTOCOL_HTTP
7720 eval "$ac_cv_use_protocol_http"
7721 if test "$no_cache" != 1; then
7722 echo $ac_cv_use_protocol_http >> ${wx_arg_cache_file}.tmp
7725 if test "$wxUSE_PROTOCOL_HTTP" = yes; then
7726 { echo "$as_me:$LINENO: result: yes" >&5
7727 echo "${ECHO_T}yes" >&6; }
7729 { echo "$as_me:$LINENO: result: no" >&5
7730 echo "${ECHO_T}no" >&6; }
7735 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_ftp" >&5
7736 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_ftp... $ECHO_C" >&6; }
7738 # Check whether --enable-protocol_ftp was given.
7739 if test "${enable_protocol_ftp+set}" = set; then
7740 enableval=$enable_protocol_ftp;
7741 if test "$enableval" = yes; then
7742 ac_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=yes'
7744 ac_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=no'
7749 LINE=`grep "^wxUSE_PROTOCOL_FTP=" ${wx_arg_cache_file}`
7750 if test "x$LINE" != x ; then
7751 eval "DEFAULT_$LINE"
7756 ac_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP='$DEFAULT_wxUSE_PROTOCOL_FTP
7761 eval "$ac_cv_use_protocol_ftp"
7762 if test "$no_cache" != 1; then
7763 echo $ac_cv_use_protocol_ftp >> ${wx_arg_cache_file}.tmp
7766 if test "$wxUSE_PROTOCOL_FTP" = yes; then
7767 { echo "$as_me:$LINENO: result: yes" >&5
7768 echo "${ECHO_T}yes" >&6; }
7770 { echo "$as_me:$LINENO: result: no" >&5
7771 echo "${ECHO_T}no" >&6; }
7776 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_file" >&5
7777 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_file... $ECHO_C" >&6; }
7779 # Check whether --enable-protocol_file was given.
7780 if test "${enable_protocol_file+set}" = set; then
7781 enableval=$enable_protocol_file;
7782 if test "$enableval" = yes; then
7783 ac_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=yes'
7785 ac_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=no'
7790 LINE=`grep "^wxUSE_PROTOCOL_FILE=" ${wx_arg_cache_file}`
7791 if test "x$LINE" != x ; then
7792 eval "DEFAULT_$LINE"
7797 ac_cv_use_protocol_file='wxUSE_PROTOCOL_FILE='$DEFAULT_wxUSE_PROTOCOL_FILE
7802 eval "$ac_cv_use_protocol_file"
7803 if test "$no_cache" != 1; then
7804 echo $ac_cv_use_protocol_file >> ${wx_arg_cache_file}.tmp
7807 if test "$wxUSE_PROTOCOL_FILE" = yes; then
7808 { echo "$as_me:$LINENO: result: yes" >&5
7809 echo "${ECHO_T}yes" >&6; }
7811 { echo "$as_me:$LINENO: result: no" >&5
7812 echo "${ECHO_T}no" >&6; }
7820 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-threads" >&5
7821 echo $ECHO_N "checking for --${enablestring:-enable}-threads... $ECHO_C" >&6; }
7823 # Check whether --enable-threads was given.
7824 if test "${enable_threads+set}" = set; then
7825 enableval=$enable_threads;
7826 if test "$enableval" = yes; then
7827 ac_cv_use_threads='wxUSE_THREADS=yes'
7829 ac_cv_use_threads='wxUSE_THREADS=no'
7834 LINE=`grep "^wxUSE_THREADS=" ${wx_arg_cache_file}`
7835 if test "x$LINE" != x ; then
7836 eval "DEFAULT_$LINE"
7841 ac_cv_use_threads='wxUSE_THREADS='$DEFAULT_wxUSE_THREADS
7846 eval "$ac_cv_use_threads"
7847 if test "$no_cache" != 1; then
7848 echo $ac_cv_use_threads >> ${wx_arg_cache_file}.tmp
7851 if test "$wxUSE_THREADS" = yes; then
7852 { echo "$as_me:$LINENO: result: yes" >&5
7853 echo "${ECHO_T}yes" >&6; }
7855 { echo "$as_me:$LINENO: result: no" >&5
7856 echo "${ECHO_T}no" >&6; }
7860 if test "$wxUSE_GUI" = "yes"; then
7865 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-docview" >&5
7866 echo $ECHO_N "checking for --${enablestring:-enable}-docview... $ECHO_C" >&6; }
7868 # Check whether --enable-docview was given.
7869 if test "${enable_docview+set}" = set; then
7870 enableval=$enable_docview;
7871 if test "$enableval" = yes; then
7872 ac_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=yes'
7874 ac_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=no'
7879 LINE=`grep "^wxUSE_DOC_VIEW_ARCHITECTURE=" ${wx_arg_cache_file}`
7880 if test "x$LINE" != x ; then
7881 eval "DEFAULT_$LINE"
7886 ac_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE='$DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE
7891 eval "$ac_cv_use_docview"
7892 if test "$no_cache" != 1; then
7893 echo $ac_cv_use_docview >> ${wx_arg_cache_file}.tmp
7896 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = yes; then
7897 { echo "$as_me:$LINENO: result: yes" >&5
7898 echo "${ECHO_T}yes" >&6; }
7900 { echo "$as_me:$LINENO: result: no" >&5
7901 echo "${ECHO_T}no" >&6; }
7906 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-help" >&5
7907 echo $ECHO_N "checking for --${enablestring:-enable}-help... $ECHO_C" >&6; }
7909 # Check whether --enable-help was given.
7910 if test "${enable_help+set}" = set; then
7911 enableval=$enable_help;
7912 if test "$enableval" = yes; then
7913 ac_cv_use_help='wxUSE_HELP=yes'
7915 ac_cv_use_help='wxUSE_HELP=no'
7920 LINE=`grep "^wxUSE_HELP=" ${wx_arg_cache_file}`
7921 if test "x$LINE" != x ; then
7922 eval "DEFAULT_$LINE"
7927 ac_cv_use_help='wxUSE_HELP='$DEFAULT_wxUSE_HELP
7932 eval "$ac_cv_use_help"
7933 if test "$no_cache" != 1; then
7934 echo $ac_cv_use_help >> ${wx_arg_cache_file}.tmp
7937 if test "$wxUSE_HELP" = yes; then
7938 { echo "$as_me:$LINENO: result: yes" >&5
7939 echo "${ECHO_T}yes" >&6; }
7941 { echo "$as_me:$LINENO: result: no" >&5
7942 echo "${ECHO_T}no" >&6; }
7947 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mshtmlhelp" >&5
7948 echo $ECHO_N "checking for --${enablestring:-enable}-mshtmlhelp... $ECHO_C" >&6; }
7950 # Check whether --enable-mshtmlhelp was given.
7951 if test "${enable_mshtmlhelp+set}" = set; then
7952 enableval=$enable_mshtmlhelp;
7953 if test "$enableval" = yes; then
7954 ac_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=yes'
7956 ac_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=no'
7961 LINE=`grep "^wxUSE_MS_HTML_HELP=" ${wx_arg_cache_file}`
7962 if test "x$LINE" != x ; then
7963 eval "DEFAULT_$LINE"
7968 ac_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP='$DEFAULT_wxUSE_MS_HTML_HELP
7973 eval "$ac_cv_use_mshtmlhelp"
7974 if test "$no_cache" != 1; then
7975 echo $ac_cv_use_mshtmlhelp >> ${wx_arg_cache_file}.tmp
7978 if test "$wxUSE_MS_HTML_HELP" = yes; then
7979 { echo "$as_me:$LINENO: result: yes" >&5
7980 echo "${ECHO_T}yes" >&6; }
7982 { echo "$as_me:$LINENO: result: no" >&5
7983 echo "${ECHO_T}no" >&6; }
7988 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-html" >&5
7989 echo $ECHO_N "checking for --${enablestring:-enable}-html... $ECHO_C" >&6; }
7991 # Check whether --enable-html was given.
7992 if test "${enable_html+set}" = set; then
7993 enableval=$enable_html;
7994 if test "$enableval" = yes; then
7995 ac_cv_use_html='wxUSE_HTML=yes'
7997 ac_cv_use_html='wxUSE_HTML=no'
8002 LINE=`grep "^wxUSE_HTML=" ${wx_arg_cache_file}`
8003 if test "x$LINE" != x ; then
8004 eval "DEFAULT_$LINE"
8009 ac_cv_use_html='wxUSE_HTML='$DEFAULT_wxUSE_HTML
8014 eval "$ac_cv_use_html"
8015 if test "$no_cache" != 1; then
8016 echo $ac_cv_use_html >> ${wx_arg_cache_file}.tmp
8019 if test "$wxUSE_HTML" = yes; then
8020 { echo "$as_me:$LINENO: result: yes" >&5
8021 echo "${ECHO_T}yes" >&6; }
8023 { echo "$as_me:$LINENO: result: no" >&5
8024 echo "${ECHO_T}no" >&6; }
8029 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-htmlhelp" >&5
8030 echo $ECHO_N "checking for --${enablestring:-enable}-htmlhelp... $ECHO_C" >&6; }
8032 # Check whether --enable-htmlhelp was given.
8033 if test "${enable_htmlhelp+set}" = set; then
8034 enableval=$enable_htmlhelp;
8035 if test "$enableval" = yes; then
8036 ac_cv_use_htmlhelp='wxUSE_WXHTML_HELP=yes'
8038 ac_cv_use_htmlhelp='wxUSE_WXHTML_HELP=no'
8043 LINE=`grep "^wxUSE_WXHTML_HELP=" ${wx_arg_cache_file}`
8044 if test "x$LINE" != x ; then
8045 eval "DEFAULT_$LINE"
8050 ac_cv_use_htmlhelp='wxUSE_WXHTML_HELP='$DEFAULT_wxUSE_WXHTML_HELP
8055 eval "$ac_cv_use_htmlhelp"
8056 if test "$no_cache" != 1; then
8057 echo $ac_cv_use_htmlhelp >> ${wx_arg_cache_file}.tmp
8060 if test "$wxUSE_WXHTML_HELP" = yes; then
8061 { echo "$as_me:$LINENO: result: yes" >&5
8062 echo "${ECHO_T}yes" >&6; }
8064 { echo "$as_me:$LINENO: result: no" >&5
8065 echo "${ECHO_T}no" >&6; }
8070 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xrc" >&5
8071 echo $ECHO_N "checking for --${enablestring:-enable}-xrc... $ECHO_C" >&6; }
8073 # Check whether --enable-xrc was given.
8074 if test "${enable_xrc+set}" = set; then
8075 enableval=$enable_xrc;
8076 if test "$enableval" = yes; then
8077 ac_cv_use_xrc='wxUSE_XRC=yes'
8079 ac_cv_use_xrc='wxUSE_XRC=no'
8084 LINE=`grep "^wxUSE_XRC=" ${wx_arg_cache_file}`
8085 if test "x$LINE" != x ; then
8086 eval "DEFAULT_$LINE"
8091 ac_cv_use_xrc='wxUSE_XRC='$DEFAULT_wxUSE_XRC
8096 eval "$ac_cv_use_xrc"
8097 if test "$no_cache" != 1; then
8098 echo $ac_cv_use_xrc >> ${wx_arg_cache_file}.tmp
8101 if test "$wxUSE_XRC" = yes; then
8102 { echo "$as_me:$LINENO: result: yes" >&5
8103 echo "${ECHO_T}yes" >&6; }
8105 { echo "$as_me:$LINENO: result: no" >&5
8106 echo "${ECHO_T}no" >&6; }
8111 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-aui" >&5
8112 echo $ECHO_N "checking for --${enablestring:-enable}-aui... $ECHO_C" >&6; }
8114 # Check whether --enable-aui was given.
8115 if test "${enable_aui+set}" = set; then
8116 enableval=$enable_aui;
8117 if test "$enableval" = yes; then
8118 ac_cv_use_aui='wxUSE_AUI=yes'
8120 ac_cv_use_aui='wxUSE_AUI=no'
8125 LINE=`grep "^wxUSE_AUI=" ${wx_arg_cache_file}`
8126 if test "x$LINE" != x ; then
8127 eval "DEFAULT_$LINE"
8132 ac_cv_use_aui='wxUSE_AUI='$DEFAULT_wxUSE_AUI
8137 eval "$ac_cv_use_aui"
8138 if test "$no_cache" != 1; then
8139 echo $ac_cv_use_aui >> ${wx_arg_cache_file}.tmp
8142 if test "$wxUSE_AUI" = yes; then
8143 { echo "$as_me:$LINENO: result: yes" >&5
8144 echo "${ECHO_T}yes" >&6; }
8146 { echo "$as_me:$LINENO: result: no" >&5
8147 echo "${ECHO_T}no" >&6; }
8152 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stc" >&5
8153 echo $ECHO_N "checking for --${enablestring:-enable}-stc... $ECHO_C" >&6; }
8155 # Check whether --enable-stc was given.
8156 if test "${enable_stc+set}" = set; then
8157 enableval=$enable_stc;
8158 if test "$enableval" = yes; then
8159 ac_cv_use_stc='wxUSE_STC=yes'
8161 ac_cv_use_stc='wxUSE_STC=no'
8166 LINE=`grep "^wxUSE_STC=" ${wx_arg_cache_file}`
8167 if test "x$LINE" != x ; then
8168 eval "DEFAULT_$LINE"
8173 ac_cv_use_stc='wxUSE_STC='$DEFAULT_wxUSE_STC
8178 eval "$ac_cv_use_stc"
8179 if test "$no_cache" != 1; then
8180 echo $ac_cv_use_stc >> ${wx_arg_cache_file}.tmp
8183 if test "$wxUSE_STC" = yes; then
8184 { echo "$as_me:$LINENO: result: yes" >&5
8185 echo "${ECHO_T}yes" >&6; }
8187 { echo "$as_me:$LINENO: result: no" >&5
8188 echo "${ECHO_T}no" >&6; }
8193 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-constraints" >&5
8194 echo $ECHO_N "checking for --${enablestring:-enable}-constraints... $ECHO_C" >&6; }
8196 # Check whether --enable-constraints was given.
8197 if test "${enable_constraints+set}" = set; then
8198 enableval=$enable_constraints;
8199 if test "$enableval" = yes; then
8200 ac_cv_use_constraints='wxUSE_CONSTRAINTS=yes'
8202 ac_cv_use_constraints='wxUSE_CONSTRAINTS=no'
8207 LINE=`grep "^wxUSE_CONSTRAINTS=" ${wx_arg_cache_file}`
8208 if test "x$LINE" != x ; then
8209 eval "DEFAULT_$LINE"
8214 ac_cv_use_constraints='wxUSE_CONSTRAINTS='$DEFAULT_wxUSE_CONSTRAINTS
8219 eval "$ac_cv_use_constraints"
8220 if test "$no_cache" != 1; then
8221 echo $ac_cv_use_constraints >> ${wx_arg_cache_file}.tmp
8224 if test "$wxUSE_CONSTRAINTS" = yes; then
8225 { echo "$as_me:$LINENO: result: yes" >&5
8226 echo "${ECHO_T}yes" >&6; }
8228 { echo "$as_me:$LINENO: result: no" >&5
8229 echo "${ECHO_T}no" >&6; }
8234 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-printarch" >&5
8235 echo $ECHO_N "checking for --${enablestring:-enable}-printarch... $ECHO_C" >&6; }
8237 # Check whether --enable-printarch was given.
8238 if test "${enable_printarch+set}" = set; then
8239 enableval=$enable_printarch;
8240 if test "$enableval" = yes; then
8241 ac_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=yes'
8243 ac_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=no'
8248 LINE=`grep "^wxUSE_PRINTING_ARCHITECTURE=" ${wx_arg_cache_file}`
8249 if test "x$LINE" != x ; then
8250 eval "DEFAULT_$LINE"
8255 ac_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE='$DEFAULT_wxUSE_PRINTING_ARCHITECTURE
8260 eval "$ac_cv_use_printarch"
8261 if test "$no_cache" != 1; then
8262 echo $ac_cv_use_printarch >> ${wx_arg_cache_file}.tmp
8265 if test "$wxUSE_PRINTING_ARCHITECTURE" = yes; then
8266 { echo "$as_me:$LINENO: result: yes" >&5
8267 echo "${ECHO_T}yes" >&6; }
8269 { echo "$as_me:$LINENO: result: no" >&5
8270 echo "${ECHO_T}no" >&6; }
8275 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mdi" >&5
8276 echo $ECHO_N "checking for --${enablestring:-enable}-mdi... $ECHO_C" >&6; }
8278 # Check whether --enable-mdi was given.
8279 if test "${enable_mdi+set}" = set; then
8280 enableval=$enable_mdi;
8281 if test "$enableval" = yes; then
8282 ac_cv_use_mdi='wxUSE_MDI=yes'
8284 ac_cv_use_mdi='wxUSE_MDI=no'
8289 LINE=`grep "^wxUSE_MDI=" ${wx_arg_cache_file}`
8290 if test "x$LINE" != x ; then
8291 eval "DEFAULT_$LINE"
8296 ac_cv_use_mdi='wxUSE_MDI='$DEFAULT_wxUSE_MDI
8301 eval "$ac_cv_use_mdi"
8302 if test "$no_cache" != 1; then
8303 echo $ac_cv_use_mdi >> ${wx_arg_cache_file}.tmp
8306 if test "$wxUSE_MDI" = yes; then
8307 { echo "$as_me:$LINENO: result: yes" >&5
8308 echo "${ECHO_T}yes" >&6; }
8310 { echo "$as_me:$LINENO: result: no" >&5
8311 echo "${ECHO_T}no" >&6; }
8316 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mdidoc" >&5
8317 echo $ECHO_N "checking for --${enablestring:-enable}-mdidoc... $ECHO_C" >&6; }
8319 # Check whether --enable-mdidoc was given.
8320 if test "${enable_mdidoc+set}" = set; then
8321 enableval=$enable_mdidoc;
8322 if test "$enableval" = yes; then
8323 ac_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE=yes'
8325 ac_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE=no'
8330 LINE=`grep "^wxUSE_MDI_ARCHITECTURE=" ${wx_arg_cache_file}`
8331 if test "x$LINE" != x ; then
8332 eval "DEFAULT_$LINE"
8337 ac_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE='$DEFAULT_wxUSE_MDI_ARCHITECTURE
8342 eval "$ac_cv_use_mdidoc"
8343 if test "$no_cache" != 1; then
8344 echo $ac_cv_use_mdidoc >> ${wx_arg_cache_file}.tmp
8347 if test "$wxUSE_MDI_ARCHITECTURE" = yes; then
8348 { echo "$as_me:$LINENO: result: yes" >&5
8349 echo "${ECHO_T}yes" >&6; }
8351 { echo "$as_me:$LINENO: result: no" >&5
8352 echo "${ECHO_T}no" >&6; }
8357 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-loggui" >&5
8358 echo $ECHO_N "checking for --${enablestring:-enable}-loggui... $ECHO_C" >&6; }
8360 # Check whether --enable-loggui was given.
8361 if test "${enable_loggui+set}" = set; then
8362 enableval=$enable_loggui;
8363 if test "$enableval" = yes; then
8364 ac_cv_use_loggui='wxUSE_LOGGUI=yes'
8366 ac_cv_use_loggui='wxUSE_LOGGUI=no'
8371 LINE=`grep "^wxUSE_LOGGUI=" ${wx_arg_cache_file}`
8372 if test "x$LINE" != x ; then
8373 eval "DEFAULT_$LINE"
8378 ac_cv_use_loggui='wxUSE_LOGGUI='$DEFAULT_wxUSE_LOGGUI
8383 eval "$ac_cv_use_loggui"
8384 if test "$no_cache" != 1; then
8385 echo $ac_cv_use_loggui >> ${wx_arg_cache_file}.tmp
8388 if test "$wxUSE_LOGGUI" = yes; then
8389 { echo "$as_me:$LINENO: result: yes" >&5
8390 echo "${ECHO_T}yes" >&6; }
8392 { echo "$as_me:$LINENO: result: no" >&5
8393 echo "${ECHO_T}no" >&6; }
8398 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logwin" >&5
8399 echo $ECHO_N "checking for --${enablestring:-enable}-logwin... $ECHO_C" >&6; }
8401 # Check whether --enable-logwin was given.
8402 if test "${enable_logwin+set}" = set; then
8403 enableval=$enable_logwin;
8404 if test "$enableval" = yes; then
8405 ac_cv_use_logwin='wxUSE_LOGWINDOW=yes'
8407 ac_cv_use_logwin='wxUSE_LOGWINDOW=no'
8412 LINE=`grep "^wxUSE_LOGWINDOW=" ${wx_arg_cache_file}`
8413 if test "x$LINE" != x ; then
8414 eval "DEFAULT_$LINE"
8419 ac_cv_use_logwin='wxUSE_LOGWINDOW='$DEFAULT_wxUSE_LOGWINDOW
8424 eval "$ac_cv_use_logwin"
8425 if test "$no_cache" != 1; then
8426 echo $ac_cv_use_logwin >> ${wx_arg_cache_file}.tmp
8429 if test "$wxUSE_LOGWINDOW" = yes; then
8430 { echo "$as_me:$LINENO: result: yes" >&5
8431 echo "${ECHO_T}yes" >&6; }
8433 { echo "$as_me:$LINENO: result: no" >&5
8434 echo "${ECHO_T}no" >&6; }
8439 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logdialog" >&5
8440 echo $ECHO_N "checking for --${enablestring:-enable}-logdialog... $ECHO_C" >&6; }
8442 # Check whether --enable-logdialog was given.
8443 if test "${enable_logdialog+set}" = set; then
8444 enableval=$enable_logdialog;
8445 if test "$enableval" = yes; then
8446 ac_cv_use_logdialog='wxUSE_LOGDIALOG=yes'
8448 ac_cv_use_logdialog='wxUSE_LOGDIALOG=no'
8453 LINE=`grep "^wxUSE_LOGDIALOG=" ${wx_arg_cache_file}`
8454 if test "x$LINE" != x ; then
8455 eval "DEFAULT_$LINE"
8460 ac_cv_use_logdialog='wxUSE_LOGDIALOG='$DEFAULT_wxUSE_LOGDIALOG
8465 eval "$ac_cv_use_logdialog"
8466 if test "$no_cache" != 1; then
8467 echo $ac_cv_use_logdialog >> ${wx_arg_cache_file}.tmp
8470 if test "$wxUSE_LOGDIALOG" = yes; then
8471 { echo "$as_me:$LINENO: result: yes" >&5
8472 echo "${ECHO_T}yes" >&6; }
8474 { echo "$as_me:$LINENO: result: no" >&5
8475 echo "${ECHO_T}no" >&6; }
8480 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-webkit" >&5
8481 echo $ECHO_N "checking for --${enablestring:-enable}-webkit... $ECHO_C" >&6; }
8483 # Check whether --enable-webkit was given.
8484 if test "${enable_webkit+set}" = set; then
8485 enableval=$enable_webkit;
8486 if test "$enableval" = yes; then
8487 ac_cv_use_webkit='wxUSE_WEBKIT=yes'
8489 ac_cv_use_webkit='wxUSE_WEBKIT=no'
8494 LINE=`grep "^wxUSE_WEBKIT=" ${wx_arg_cache_file}`
8495 if test "x$LINE" != x ; then
8496 eval "DEFAULT_$LINE"
8501 ac_cv_use_webkit='wxUSE_WEBKIT='$DEFAULT_wxUSE_WEBKIT
8506 eval "$ac_cv_use_webkit"
8507 if test "$no_cache" != 1; then
8508 echo $ac_cv_use_webkit >> ${wx_arg_cache_file}.tmp
8511 if test "$wxUSE_WEBKIT" = yes; then
8512 { echo "$as_me:$LINENO: result: yes" >&5
8513 echo "${ECHO_T}yes" >&6; }
8515 { echo "$as_me:$LINENO: result: no" >&5
8516 echo "${ECHO_T}no" >&6; }
8521 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-richtext" >&5
8522 echo $ECHO_N "checking for --${enablestring:-enable}-richtext... $ECHO_C" >&6; }
8524 # Check whether --enable-richtext was given.
8525 if test "${enable_richtext+set}" = set; then
8526 enableval=$enable_richtext;
8527 if test "$enableval" = yes; then
8528 ac_cv_use_richtext='wxUSE_RICHTEXT=yes'
8530 ac_cv_use_richtext='wxUSE_RICHTEXT=no'
8535 LINE=`grep "^wxUSE_RICHTEXT=" ${wx_arg_cache_file}`
8536 if test "x$LINE" != x ; then
8537 eval "DEFAULT_$LINE"
8542 ac_cv_use_richtext='wxUSE_RICHTEXT='$DEFAULT_wxUSE_RICHTEXT
8547 eval "$ac_cv_use_richtext"
8548 if test "$no_cache" != 1; then
8549 echo $ac_cv_use_richtext >> ${wx_arg_cache_file}.tmp
8552 if test "$wxUSE_RICHTEXT" = yes; then
8553 { echo "$as_me:$LINENO: result: yes" >&5
8554 echo "${ECHO_T}yes" >&6; }
8556 { echo "$as_me:$LINENO: result: no" >&5
8557 echo "${ECHO_T}no" >&6; }
8562 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-graphics_ctx" >&5
8563 echo $ECHO_N "checking for --${enablestring:-enable}-graphics_ctx... $ECHO_C" >&6; }
8565 # Check whether --enable-graphics_ctx was given.
8566 if test "${enable_graphics_ctx+set}" = set; then
8567 enableval=$enable_graphics_ctx;
8568 if test "$enableval" = yes; then
8569 ac_cv_use_graphics_ctx='wxUSE_GRAPHICS_CONTEXT=yes'
8571 ac_cv_use_graphics_ctx='wxUSE_GRAPHICS_CONTEXT=no'
8576 LINE=`grep "^wxUSE_GRAPHICS_CONTEXT=" ${wx_arg_cache_file}`
8577 if test "x$LINE" != x ; then
8578 eval "DEFAULT_$LINE"
8583 ac_cv_use_graphics_ctx='wxUSE_GRAPHICS_CONTEXT='$DEFAULT_wxUSE_GRAPHICS_CONTEXT
8588 eval "$ac_cv_use_graphics_ctx"
8589 if test "$no_cache" != 1; then
8590 echo $ac_cv_use_graphics_ctx >> ${wx_arg_cache_file}.tmp
8593 if test "$wxUSE_GRAPHICS_CONTEXT" = yes; then
8594 { echo "$as_me:$LINENO: result: yes" >&5
8595 echo "${ECHO_T}yes" >&6; }
8597 { echo "$as_me:$LINENO: result: no" >&5
8598 echo "${ECHO_T}no" >&6; }
8604 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-postscript" >&5
8605 echo $ECHO_N "checking for --${enablestring:-enable}-postscript... $ECHO_C" >&6; }
8607 # Check whether --enable-postscript was given.
8608 if test "${enable_postscript+set}" = set; then
8609 enableval=$enable_postscript;
8610 if test "$enableval" = yes; then
8611 ac_cv_use_postscript='wxUSE_POSTSCRIPT=yes'
8613 ac_cv_use_postscript='wxUSE_POSTSCRIPT=no'
8618 LINE=`grep "^wxUSE_POSTSCRIPT=" ${wx_arg_cache_file}`
8619 if test "x$LINE" != x ; then
8620 eval "DEFAULT_$LINE"
8625 ac_cv_use_postscript='wxUSE_POSTSCRIPT='$DEFAULT_wxUSE_POSTSCRIPT
8630 eval "$ac_cv_use_postscript"
8631 if test "$no_cache" != 1; then
8632 echo $ac_cv_use_postscript >> ${wx_arg_cache_file}.tmp
8635 if test "$wxUSE_POSTSCRIPT" = yes; then
8636 { echo "$as_me:$LINENO: result: yes" >&5
8637 echo "${ECHO_T}yes" >&6; }
8639 { echo "$as_me:$LINENO: result: no" >&5
8640 echo "${ECHO_T}no" >&6; }
8648 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-clipboard" >&5
8649 echo $ECHO_N "checking for --${enablestring:-enable}-clipboard... $ECHO_C" >&6; }
8651 # Check whether --enable-clipboard was given.
8652 if test "${enable_clipboard+set}" = set; then
8653 enableval=$enable_clipboard;
8654 if test "$enableval" = yes; then
8655 ac_cv_use_clipboard='wxUSE_CLIPBOARD=yes'
8657 ac_cv_use_clipboard='wxUSE_CLIPBOARD=no'
8662 LINE=`grep "^wxUSE_CLIPBOARD=" ${wx_arg_cache_file}`
8663 if test "x$LINE" != x ; then
8664 eval "DEFAULT_$LINE"
8669 ac_cv_use_clipboard='wxUSE_CLIPBOARD='$DEFAULT_wxUSE_CLIPBOARD
8674 eval "$ac_cv_use_clipboard"
8675 if test "$no_cache" != 1; then
8676 echo $ac_cv_use_clipboard >> ${wx_arg_cache_file}.tmp
8679 if test "$wxUSE_CLIPBOARD" = yes; then
8680 { echo "$as_me:$LINENO: result: yes" >&5
8681 echo "${ECHO_T}yes" >&6; }
8683 { echo "$as_me:$LINENO: result: no" >&5
8684 echo "${ECHO_T}no" >&6; }
8689 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dnd" >&5
8690 echo $ECHO_N "checking for --${enablestring:-enable}-dnd... $ECHO_C" >&6; }
8692 # Check whether --enable-dnd was given.
8693 if test "${enable_dnd+set}" = set; then
8694 enableval=$enable_dnd;
8695 if test "$enableval" = yes; then
8696 ac_cv_use_dnd='wxUSE_DRAG_AND_DROP=yes'
8698 ac_cv_use_dnd='wxUSE_DRAG_AND_DROP=no'
8703 LINE=`grep "^wxUSE_DRAG_AND_DROP=" ${wx_arg_cache_file}`
8704 if test "x$LINE" != x ; then
8705 eval "DEFAULT_$LINE"
8710 ac_cv_use_dnd='wxUSE_DRAG_AND_DROP='$DEFAULT_wxUSE_DRAG_AND_DROP
8715 eval "$ac_cv_use_dnd"
8716 if test "$no_cache" != 1; then
8717 echo $ac_cv_use_dnd >> ${wx_arg_cache_file}.tmp
8720 if test "$wxUSE_DRAG_AND_DROP" = yes; then
8721 { echo "$as_me:$LINENO: result: yes" >&5
8722 echo "${ECHO_T}yes" >&6; }
8724 { echo "$as_me:$LINENO: result: no" >&5
8725 echo "${ECHO_T}no" >&6; }
8730 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
8731 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6; }
8733 # Check whether --enable-metafile was given.
8734 if test "${enable_metafile+set}" = set; then
8735 enableval=$enable_metafile;
8736 if test "$enableval" = yes; then
8737 ac_cv_use_metafile='wxUSE_METAFILE=yes'
8739 ac_cv_use_metafile='wxUSE_METAFILE=no'
8744 LINE=`grep "^wxUSE_METAFILE=" ${wx_arg_cache_file}`
8745 if test "x$LINE" != x ; then
8746 eval "DEFAULT_$LINE"
8751 ac_cv_use_metafile='wxUSE_METAFILE='$DEFAULT_wxUSE_METAFILE
8756 eval "$ac_cv_use_metafile"
8757 if test "$no_cache" != 1; then
8758 echo $ac_cv_use_metafile >> ${wx_arg_cache_file}.tmp
8761 if test "$wxUSE_METAFILE" = yes; then
8762 { echo "$as_me:$LINENO: result: yes" >&5
8763 echo "${ECHO_T}yes" >&6; }
8765 { echo "$as_me:$LINENO: result: no" >&5
8766 echo "${ECHO_T}no" >&6; }
8774 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-controls" >&5
8775 echo $ECHO_N "checking for --${enablestring:-enable}-controls... $ECHO_C" >&6; }
8777 # Check whether --enable-controls was given.
8778 if test "${enable_controls+set}" = set; then
8779 enableval=$enable_controls;
8780 if test "$enableval" = yes; then
8781 ac_cv_use_controls='wxUSE_CONTROLS=yes'
8783 ac_cv_use_controls='wxUSE_CONTROLS=no'
8788 LINE=`grep "^wxUSE_CONTROLS=" ${wx_arg_cache_file}`
8789 if test "x$LINE" != x ; then
8790 eval "DEFAULT_$LINE"
8795 ac_cv_use_controls='wxUSE_CONTROLS='$DEFAULT_wxUSE_CONTROLS
8800 eval "$ac_cv_use_controls"
8801 if test "$no_cache" != 1; then
8802 echo $ac_cv_use_controls >> ${wx_arg_cache_file}.tmp
8805 if test "$wxUSE_CONTROLS" = yes; then
8806 { echo "$as_me:$LINENO: result: yes" >&5
8807 echo "${ECHO_T}yes" >&6; }
8809 { echo "$as_me:$LINENO: result: no" >&5
8810 echo "${ECHO_T}no" >&6; }
8814 if test "$wxUSE_CONTROLS" = "yes"; then
8815 DEFAULT_wxUSE_ACCEL=yes
8816 DEFAULT_wxUSE_ANIMATIONCTRL=yes
8817 DEFAULT_wxUSE_BMPBUTTON=yes
8818 DEFAULT_wxUSE_BUTTON=yes
8819 DEFAULT_wxUSE_CALCTRL=yes
8820 DEFAULT_wxUSE_CARET=yes
8821 DEFAULT_wxUSE_COMBOBOX=yes
8822 DEFAULT_wxUSE_CHECKBOX=yes
8823 DEFAULT_wxUSE_CHECKLISTBOX=yes
8824 DEFAULT_wxUSE_CHOICE=yes
8825 DEFAULT_wxUSE_CHOICEBOOK=yes
8826 DEFAULT_wxUSE_COLLPANE=yes
8827 DEFAULT_wxUSE_COLOURPICKERCTRL=yes
8828 DEFAULT_wxUSE_COMBOBOX=yes
8829 DEFAULT_wxUSE_DATEPICKCTRL=yes
8830 DEFAULT_wxUSE_DISPLAY=yes
8831 DEFAULT_wxUSE_DETECT_SM=yes
8832 DEFAULT_wxUSE_DIRPICKERCTRL=yes
8833 DEFAULT_wxUSE_FILEPICKERCTRL=yes
8834 DEFAULT_wxUSE_FONTPICKERCTRL=yes
8835 DEFAULT_wxUSE_GAUGE=yes
8836 DEFAULT_wxUSE_GRID=yes
8837 DEFAULT_wxUSE_HYPERLINKCTRL=yes
8838 DEFAULT_wxUSE_DATAVIEWCTRL=no
8839 DEFAULT_wxUSE_IMAGLIST=yes
8840 DEFAULT_wxUSE_LISTBOOK=yes
8841 DEFAULT_wxUSE_LISTBOX=yes
8842 DEFAULT_wxUSE_LISTCTRL=yes
8843 DEFAULT_wxUSE_NOTEBOOK=yes
8844 DEFAULT_wxUSE_RADIOBOX=yes
8845 DEFAULT_wxUSE_RADIOBTN=yes
8846 DEFAULT_wxUSE_SASH=yes
8847 DEFAULT_wxUSE_SCROLLBAR=yes
8848 DEFAULT_wxUSE_SEARCHCTRL=yes
8849 DEFAULT_wxUSE_SLIDER=yes
8850 DEFAULT_wxUSE_SPINBTN=yes
8851 DEFAULT_wxUSE_SPINCTRL=yes
8852 DEFAULT_wxUSE_SPLITTER=yes
8853 DEFAULT_wxUSE_STATBMP=yes
8854 DEFAULT_wxUSE_STATBOX=yes
8855 DEFAULT_wxUSE_STATLINE=yes
8856 DEFAULT_wxUSE_STATUSBAR=yes
8857 DEFAULT_wxUSE_TAB_DIALOG=yes
8858 DEFAULT_wxUSE_TOGGLEBTN=yes
8859 DEFAULT_wxUSE_TOOLBAR=yes
8860 DEFAULT_wxUSE_TOOLBAR_NATIVE=yes
8861 DEFAULT_wxUSE_TOOLTIPS=yes
8862 DEFAULT_wxUSE_TREEBOOK=yes
8863 DEFAULT_wxUSE_TOOLBOOK=yes
8864 DEFAULT_wxUSE_TREECTRL=yes
8865 DEFAULT_wxUSE_POPUPWIN=yes
8866 DEFAULT_wxUSE_TIPWINDOW=yes
8867 elif test "$wxUSE_CONTROLS" = "no"; then
8868 DEFAULT_wxUSE_ACCEL=no
8869 DEFAULT_wxUSE_ANIMATIONCTRL=no
8870 DEFAULT_wxUSE_BMPBUTTON=no
8871 DEFAULT_wxUSE_BUTTON=no
8872 DEFAULT_wxUSE_CALCTRL=no
8873 DEFAULT_wxUSE_CARET=no
8874 DEFAULT_wxUSE_COLLPANE=no
8875 DEFAULT_wxUSE_COMBOBOX=no
8876 DEFAULT_wxUSE_CHECKBOX=no
8877 DEFAULT_wxUSE_CHECKLISTBOX=no
8878 DEFAULT_wxUSE_CHOICE=no
8879 DEFAULT_wxUSE_CHOICEBOOK=no
8880 DEFAULT_wxUSE_COLOURPICKERCTRL=no
8881 DEFAULT_wxUSE_COMBOBOX=no
8882 DEFAULT_wxUSE_DATEPICKCTRL=no
8883 DEFAULT_wxUSE_DISPLAY=no
8884 DEFAULT_wxUSE_DETECT_SM=no
8885 DEFAULT_wxUSE_DIRPICKERCTRL=no
8886 DEFAULT_wxUSE_FILEPICKERCTRL=no
8887 DEFAULT_wxUSE_FONTPICKERCTRL=no
8888 DEFAULT_wxUSE_GAUGE=no
8889 DEFAULT_wxUSE_GRID=no
8890 DEFAULT_wxUSE_HYPERLINKCTRL=no
8891 DEFAULT_wxUSE_DATAVIEWCTRL=no
8892 DEFAULT_wxUSE_IMAGLIST=no
8893 DEFAULT_wxUSE_LISTBOOK=no
8894 DEFAULT_wxUSE_LISTBOX=no
8895 DEFAULT_wxUSE_LISTCTRL=no
8896 DEFAULT_wxUSE_NOTEBOOK=no
8897 DEFAULT_wxUSE_RADIOBOX=no
8898 DEFAULT_wxUSE_RADIOBTN=no
8899 DEFAULT_wxUSE_SASH=no
8900 DEFAULT_wxUSE_SCROLLBAR=no
8901 DEFAULT_wxUSE_SEARCHCTRL=no
8902 DEFAULT_wxUSE_SLIDER=no
8903 DEFAULT_wxUSE_SPINBTN=no
8904 DEFAULT_wxUSE_SPINCTRL=no
8905 DEFAULT_wxUSE_SPLITTER=no
8906 DEFAULT_wxUSE_STATBMP=no
8907 DEFAULT_wxUSE_STATBOX=no
8908 DEFAULT_wxUSE_STATLINE=no
8909 DEFAULT_wxUSE_STATUSBAR=no
8910 DEFAULT_wxUSE_TAB_DIALOG=no
8911 DEFAULT_wxUSE_TOGGLEBTN=no
8912 DEFAULT_wxUSE_TOOLBAR=no
8913 DEFAULT_wxUSE_TOOLBAR_NATIVE=no
8914 DEFAULT_wxUSE_TOOLTIPS=no
8915 DEFAULT_wxUSE_TREEBOOK=no
8916 DEFAULT_wxUSE_TOOLBOOK=no
8917 DEFAULT_wxUSE_TREECTRL=no
8918 DEFAULT_wxUSE_POPUPWIN=no
8919 DEFAULT_wxUSE_TIPWINDOW=no
8924 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accel" >&5
8925 echo $ECHO_N "checking for --${enablestring:-enable}-accel... $ECHO_C" >&6; }
8927 # Check whether --enable-accel was given.
8928 if test "${enable_accel+set}" = set; then
8929 enableval=$enable_accel;
8930 if test "$enableval" = yes; then
8931 ac_cv_use_accel='wxUSE_ACCEL=yes'
8933 ac_cv_use_accel='wxUSE_ACCEL=no'
8938 LINE=`grep "^wxUSE_ACCEL=" ${wx_arg_cache_file}`
8939 if test "x$LINE" != x ; then
8940 eval "DEFAULT_$LINE"
8945 ac_cv_use_accel='wxUSE_ACCEL='$DEFAULT_wxUSE_ACCEL
8950 eval "$ac_cv_use_accel"
8951 if test "$no_cache" != 1; then
8952 echo $ac_cv_use_accel >> ${wx_arg_cache_file}.tmp
8955 if test "$wxUSE_ACCEL" = yes; then
8956 { echo "$as_me:$LINENO: result: yes" >&5
8957 echo "${ECHO_T}yes" >&6; }
8959 { echo "$as_me:$LINENO: result: no" >&5
8960 echo "${ECHO_T}no" >&6; }
8965 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-animatectrl" >&5
8966 echo $ECHO_N "checking for --${enablestring:-enable}-animatectrl... $ECHO_C" >&6; }
8968 # Check whether --enable-animatectrl was given.
8969 if test "${enable_animatectrl+set}" = set; then
8970 enableval=$enable_animatectrl;
8971 if test "$enableval" = yes; then
8972 ac_cv_use_animatectrl='wxUSE_ANIMATIONCTRL=yes'
8974 ac_cv_use_animatectrl='wxUSE_ANIMATIONCTRL=no'
8979 LINE=`grep "^wxUSE_ANIMATIONCTRL=" ${wx_arg_cache_file}`
8980 if test "x$LINE" != x ; then
8981 eval "DEFAULT_$LINE"
8986 ac_cv_use_animatectrl='wxUSE_ANIMATIONCTRL='$DEFAULT_wxUSE_ANIMATIONCTRL
8991 eval "$ac_cv_use_animatectrl"
8992 if test "$no_cache" != 1; then
8993 echo $ac_cv_use_animatectrl >> ${wx_arg_cache_file}.tmp
8996 if test "$wxUSE_ANIMATIONCTRL" = yes; then
8997 { echo "$as_me:$LINENO: result: yes" >&5
8998 echo "${ECHO_T}yes" >&6; }
9000 { echo "$as_me:$LINENO: result: no" >&5
9001 echo "${ECHO_T}no" >&6; }
9006 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-button" >&5
9007 echo $ECHO_N "checking for --${enablestring:-enable}-button... $ECHO_C" >&6; }
9009 # Check whether --enable-button was given.
9010 if test "${enable_button+set}" = set; then
9011 enableval=$enable_button;
9012 if test "$enableval" = yes; then
9013 ac_cv_use_button='wxUSE_BUTTON=yes'
9015 ac_cv_use_button='wxUSE_BUTTON=no'
9020 LINE=`grep "^wxUSE_BUTTON=" ${wx_arg_cache_file}`
9021 if test "x$LINE" != x ; then
9022 eval "DEFAULT_$LINE"
9027 ac_cv_use_button='wxUSE_BUTTON='$DEFAULT_wxUSE_BUTTON
9032 eval "$ac_cv_use_button"
9033 if test "$no_cache" != 1; then
9034 echo $ac_cv_use_button >> ${wx_arg_cache_file}.tmp
9037 if test "$wxUSE_BUTTON" = yes; then
9038 { echo "$as_me:$LINENO: result: yes" >&5
9039 echo "${ECHO_T}yes" >&6; }
9041 { echo "$as_me:$LINENO: result: no" >&5
9042 echo "${ECHO_T}no" >&6; }
9047 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-bmpbutton" >&5
9048 echo $ECHO_N "checking for --${enablestring:-enable}-bmpbutton... $ECHO_C" >&6; }
9050 # Check whether --enable-bmpbutton was given.
9051 if test "${enable_bmpbutton+set}" = set; then
9052 enableval=$enable_bmpbutton;
9053 if test "$enableval" = yes; then
9054 ac_cv_use_bmpbutton='wxUSE_BMPBUTTON=yes'
9056 ac_cv_use_bmpbutton='wxUSE_BMPBUTTON=no'
9061 LINE=`grep "^wxUSE_BMPBUTTON=" ${wx_arg_cache_file}`
9062 if test "x$LINE" != x ; then
9063 eval "DEFAULT_$LINE"
9068 ac_cv_use_bmpbutton='wxUSE_BMPBUTTON='$DEFAULT_wxUSE_BMPBUTTON
9073 eval "$ac_cv_use_bmpbutton"
9074 if test "$no_cache" != 1; then
9075 echo $ac_cv_use_bmpbutton >> ${wx_arg_cache_file}.tmp
9078 if test "$wxUSE_BMPBUTTON" = yes; then
9079 { echo "$as_me:$LINENO: result: yes" >&5
9080 echo "${ECHO_T}yes" >&6; }
9082 { echo "$as_me:$LINENO: result: no" >&5
9083 echo "${ECHO_T}no" >&6; }
9088 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-bmpcombobox" >&5
9089 echo $ECHO_N "checking for --${enablestring:-enable}-bmpcombobox... $ECHO_C" >&6; }
9091 # Check whether --enable-bmpcombobox was given.
9092 if test "${enable_bmpcombobox+set}" = set; then
9093 enableval=$enable_bmpcombobox;
9094 if test "$enableval" = yes; then
9095 ac_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX=yes'
9097 ac_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX=no'
9102 LINE=`grep "^wxUSE_BITMAPCOMBOBOX=" ${wx_arg_cache_file}`
9103 if test "x$LINE" != x ; then
9104 eval "DEFAULT_$LINE"
9109 ac_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX='$DEFAULT_wxUSE_BITMAPCOMBOBOX
9114 eval "$ac_cv_use_bmpcombobox"
9115 if test "$no_cache" != 1; then
9116 echo $ac_cv_use_bmpcombobox >> ${wx_arg_cache_file}.tmp
9119 if test "$wxUSE_BITMAPCOMBOBOX" = yes; then
9120 { echo "$as_me:$LINENO: result: yes" >&5
9121 echo "${ECHO_T}yes" >&6; }
9123 { echo "$as_me:$LINENO: result: no" >&5
9124 echo "${ECHO_T}no" >&6; }
9129 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-calendar" >&5
9130 echo $ECHO_N "checking for --${enablestring:-enable}-calendar... $ECHO_C" >&6; }
9132 # Check whether --enable-calendar was given.
9133 if test "${enable_calendar+set}" = set; then
9134 enableval=$enable_calendar;
9135 if test "$enableval" = yes; then
9136 ac_cv_use_calendar='wxUSE_CALCTRL=yes'
9138 ac_cv_use_calendar='wxUSE_CALCTRL=no'
9143 LINE=`grep "^wxUSE_CALCTRL=" ${wx_arg_cache_file}`
9144 if test "x$LINE" != x ; then
9145 eval "DEFAULT_$LINE"
9150 ac_cv_use_calendar='wxUSE_CALCTRL='$DEFAULT_wxUSE_CALCTRL
9155 eval "$ac_cv_use_calendar"
9156 if test "$no_cache" != 1; then
9157 echo $ac_cv_use_calendar >> ${wx_arg_cache_file}.tmp
9160 if test "$wxUSE_CALCTRL" = yes; then
9161 { echo "$as_me:$LINENO: result: yes" >&5
9162 echo "${ECHO_T}yes" >&6; }
9164 { echo "$as_me:$LINENO: result: no" >&5
9165 echo "${ECHO_T}no" >&6; }
9170 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-caret" >&5
9171 echo $ECHO_N "checking for --${enablestring:-enable}-caret... $ECHO_C" >&6; }
9173 # Check whether --enable-caret was given.
9174 if test "${enable_caret+set}" = set; then
9175 enableval=$enable_caret;
9176 if test "$enableval" = yes; then
9177 ac_cv_use_caret='wxUSE_CARET=yes'
9179 ac_cv_use_caret='wxUSE_CARET=no'
9184 LINE=`grep "^wxUSE_CARET=" ${wx_arg_cache_file}`
9185 if test "x$LINE" != x ; then
9186 eval "DEFAULT_$LINE"
9191 ac_cv_use_caret='wxUSE_CARET='$DEFAULT_wxUSE_CARET
9196 eval "$ac_cv_use_caret"
9197 if test "$no_cache" != 1; then
9198 echo $ac_cv_use_caret >> ${wx_arg_cache_file}.tmp
9201 if test "$wxUSE_CARET" = yes; then
9202 { echo "$as_me:$LINENO: result: yes" >&5
9203 echo "${ECHO_T}yes" >&6; }
9205 { echo "$as_me:$LINENO: result: no" >&5
9206 echo "${ECHO_T}no" >&6; }
9211 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checkbox" >&5
9212 echo $ECHO_N "checking for --${enablestring:-enable}-checkbox... $ECHO_C" >&6; }
9214 # Check whether --enable-checkbox was given.
9215 if test "${enable_checkbox+set}" = set; then
9216 enableval=$enable_checkbox;
9217 if test "$enableval" = yes; then
9218 ac_cv_use_checkbox='wxUSE_CHECKBOX=yes'
9220 ac_cv_use_checkbox='wxUSE_CHECKBOX=no'
9225 LINE=`grep "^wxUSE_CHECKBOX=" ${wx_arg_cache_file}`
9226 if test "x$LINE" != x ; then
9227 eval "DEFAULT_$LINE"
9232 ac_cv_use_checkbox='wxUSE_CHECKBOX='$DEFAULT_wxUSE_CHECKBOX
9237 eval "$ac_cv_use_checkbox"
9238 if test "$no_cache" != 1; then
9239 echo $ac_cv_use_checkbox >> ${wx_arg_cache_file}.tmp
9242 if test "$wxUSE_CHECKBOX" = yes; then
9243 { echo "$as_me:$LINENO: result: yes" >&5
9244 echo "${ECHO_T}yes" >&6; }
9246 { echo "$as_me:$LINENO: result: no" >&5
9247 echo "${ECHO_T}no" >&6; }
9252 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checklst" >&5
9253 echo $ECHO_N "checking for --${enablestring:-enable}-checklst... $ECHO_C" >&6; }
9255 # Check whether --enable-checklst was given.
9256 if test "${enable_checklst+set}" = set; then
9257 enableval=$enable_checklst;
9258 if test "$enableval" = yes; then
9259 ac_cv_use_checklst='wxUSE_CHECKLST=yes'
9261 ac_cv_use_checklst='wxUSE_CHECKLST=no'
9266 LINE=`grep "^wxUSE_CHECKLST=" ${wx_arg_cache_file}`
9267 if test "x$LINE" != x ; then
9268 eval "DEFAULT_$LINE"
9273 ac_cv_use_checklst='wxUSE_CHECKLST='$DEFAULT_wxUSE_CHECKLST
9278 eval "$ac_cv_use_checklst"
9279 if test "$no_cache" != 1; then
9280 echo $ac_cv_use_checklst >> ${wx_arg_cache_file}.tmp
9283 if test "$wxUSE_CHECKLST" = yes; then
9284 { echo "$as_me:$LINENO: result: yes" >&5
9285 echo "${ECHO_T}yes" >&6; }
9287 { echo "$as_me:$LINENO: result: no" >&5
9288 echo "${ECHO_T}no" >&6; }
9293 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choice" >&5
9294 echo $ECHO_N "checking for --${enablestring:-enable}-choice... $ECHO_C" >&6; }
9296 # Check whether --enable-choice was given.
9297 if test "${enable_choice+set}" = set; then
9298 enableval=$enable_choice;
9299 if test "$enableval" = yes; then
9300 ac_cv_use_choice='wxUSE_CHOICE=yes'
9302 ac_cv_use_choice='wxUSE_CHOICE=no'
9307 LINE=`grep "^wxUSE_CHOICE=" ${wx_arg_cache_file}`
9308 if test "x$LINE" != x ; then
9309 eval "DEFAULT_$LINE"
9314 ac_cv_use_choice='wxUSE_CHOICE='$DEFAULT_wxUSE_CHOICE
9319 eval "$ac_cv_use_choice"
9320 if test "$no_cache" != 1; then
9321 echo $ac_cv_use_choice >> ${wx_arg_cache_file}.tmp
9324 if test "$wxUSE_CHOICE" = yes; then
9325 { echo "$as_me:$LINENO: result: yes" >&5
9326 echo "${ECHO_T}yes" >&6; }
9328 { echo "$as_me:$LINENO: result: no" >&5
9329 echo "${ECHO_T}no" >&6; }
9334 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choicebook" >&5
9335 echo $ECHO_N "checking for --${enablestring:-enable}-choicebook... $ECHO_C" >&6; }
9337 # Check whether --enable-choicebook was given.
9338 if test "${enable_choicebook+set}" = set; then
9339 enableval=$enable_choicebook;
9340 if test "$enableval" = yes; then
9341 ac_cv_use_choicebook='wxUSE_CHOICEBOOK=yes'
9343 ac_cv_use_choicebook='wxUSE_CHOICEBOOK=no'
9348 LINE=`grep "^wxUSE_CHOICEBOOK=" ${wx_arg_cache_file}`
9349 if test "x$LINE" != x ; then
9350 eval "DEFAULT_$LINE"
9355 ac_cv_use_choicebook='wxUSE_CHOICEBOOK='$DEFAULT_wxUSE_CHOICEBOOK
9360 eval "$ac_cv_use_choicebook"
9361 if test "$no_cache" != 1; then
9362 echo $ac_cv_use_choicebook >> ${wx_arg_cache_file}.tmp
9365 if test "$wxUSE_CHOICEBOOK" = yes; then
9366 { echo "$as_me:$LINENO: result: yes" >&5
9367 echo "${ECHO_T}yes" >&6; }
9369 { echo "$as_me:$LINENO: result: no" >&5
9370 echo "${ECHO_T}no" >&6; }
9375 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-collpane" >&5
9376 echo $ECHO_N "checking for --${enablestring:-enable}-collpane... $ECHO_C" >&6; }
9378 # Check whether --enable-collpane was given.
9379 if test "${enable_collpane+set}" = set; then
9380 enableval=$enable_collpane;
9381 if test "$enableval" = yes; then
9382 ac_cv_use_collpane='wxUSE_COLLPANE=yes'
9384 ac_cv_use_collpane='wxUSE_COLLPANE=no'
9389 LINE=`grep "^wxUSE_COLLPANE=" ${wx_arg_cache_file}`
9390 if test "x$LINE" != x ; then
9391 eval "DEFAULT_$LINE"
9396 ac_cv_use_collpane='wxUSE_COLLPANE='$DEFAULT_wxUSE_COLLPANE
9401 eval "$ac_cv_use_collpane"
9402 if test "$no_cache" != 1; then
9403 echo $ac_cv_use_collpane >> ${wx_arg_cache_file}.tmp
9406 if test "$wxUSE_COLLPANE" = yes; then
9407 { echo "$as_me:$LINENO: result: yes" >&5
9408 echo "${ECHO_T}yes" >&6; }
9410 { echo "$as_me:$LINENO: result: no" >&5
9411 echo "${ECHO_T}no" >&6; }
9416 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-colourpicker" >&5
9417 echo $ECHO_N "checking for --${enablestring:-enable}-colourpicker... $ECHO_C" >&6; }
9419 # Check whether --enable-colourpicker was given.
9420 if test "${enable_colourpicker+set}" = set; then
9421 enableval=$enable_colourpicker;
9422 if test "$enableval" = yes; then
9423 ac_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL=yes'
9425 ac_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL=no'
9430 LINE=`grep "^wxUSE_COLOURPICKERCTRL=" ${wx_arg_cache_file}`
9431 if test "x$LINE" != x ; then
9432 eval "DEFAULT_$LINE"
9437 ac_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL='$DEFAULT_wxUSE_COLOURPICKERCTRL
9442 eval "$ac_cv_use_colourpicker"
9443 if test "$no_cache" != 1; then
9444 echo $ac_cv_use_colourpicker >> ${wx_arg_cache_file}.tmp
9447 if test "$wxUSE_COLOURPICKERCTRL" = yes; then
9448 { echo "$as_me:$LINENO: result: yes" >&5
9449 echo "${ECHO_T}yes" >&6; }
9451 { echo "$as_me:$LINENO: result: no" >&5
9452 echo "${ECHO_T}no" >&6; }
9457 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-combobox" >&5
9458 echo $ECHO_N "checking for --${enablestring:-enable}-combobox... $ECHO_C" >&6; }
9460 # Check whether --enable-combobox was given.
9461 if test "${enable_combobox+set}" = set; then
9462 enableval=$enable_combobox;
9463 if test "$enableval" = yes; then
9464 ac_cv_use_combobox='wxUSE_COMBOBOX=yes'
9466 ac_cv_use_combobox='wxUSE_COMBOBOX=no'
9471 LINE=`grep "^wxUSE_COMBOBOX=" ${wx_arg_cache_file}`
9472 if test "x$LINE" != x ; then
9473 eval "DEFAULT_$LINE"
9478 ac_cv_use_combobox='wxUSE_COMBOBOX='$DEFAULT_wxUSE_COMBOBOX
9483 eval "$ac_cv_use_combobox"
9484 if test "$no_cache" != 1; then
9485 echo $ac_cv_use_combobox >> ${wx_arg_cache_file}.tmp
9488 if test "$wxUSE_COMBOBOX" = yes; then
9489 { echo "$as_me:$LINENO: result: yes" >&5
9490 echo "${ECHO_T}yes" >&6; }
9492 { echo "$as_me:$LINENO: result: no" >&5
9493 echo "${ECHO_T}no" >&6; }
9498 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-comboctrl" >&5
9499 echo $ECHO_N "checking for --${enablestring:-enable}-comboctrl... $ECHO_C" >&6; }
9501 # Check whether --enable-comboctrl was given.
9502 if test "${enable_comboctrl+set}" = set; then
9503 enableval=$enable_comboctrl;
9504 if test "$enableval" = yes; then
9505 ac_cv_use_comboctrl='wxUSE_COMBOCTRL=yes'
9507 ac_cv_use_comboctrl='wxUSE_COMBOCTRL=no'
9512 LINE=`grep "^wxUSE_COMBOCTRL=" ${wx_arg_cache_file}`
9513 if test "x$LINE" != x ; then
9514 eval "DEFAULT_$LINE"
9519 ac_cv_use_comboctrl='wxUSE_COMBOCTRL='$DEFAULT_wxUSE_COMBOCTRL
9524 eval "$ac_cv_use_comboctrl"
9525 if test "$no_cache" != 1; then
9526 echo $ac_cv_use_comboctrl >> ${wx_arg_cache_file}.tmp
9529 if test "$wxUSE_COMBOCTRL" = yes; then
9530 { echo "$as_me:$LINENO: result: yes" >&5
9531 echo "${ECHO_T}yes" >&6; }
9533 { echo "$as_me:$LINENO: result: no" >&5
9534 echo "${ECHO_T}no" >&6; }
9539 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-datepick" >&5
9540 echo $ECHO_N "checking for --${enablestring:-enable}-datepick... $ECHO_C" >&6; }
9542 # Check whether --enable-datepick was given.
9543 if test "${enable_datepick+set}" = set; then
9544 enableval=$enable_datepick;
9545 if test "$enableval" = yes; then
9546 ac_cv_use_datepick='wxUSE_DATEPICKCTRL=yes'
9548 ac_cv_use_datepick='wxUSE_DATEPICKCTRL=no'
9553 LINE=`grep "^wxUSE_DATEPICKCTRL=" ${wx_arg_cache_file}`
9554 if test "x$LINE" != x ; then
9555 eval "DEFAULT_$LINE"
9560 ac_cv_use_datepick='wxUSE_DATEPICKCTRL='$DEFAULT_wxUSE_DATEPICKCTRL
9565 eval "$ac_cv_use_datepick"
9566 if test "$no_cache" != 1; then
9567 echo $ac_cv_use_datepick >> ${wx_arg_cache_file}.tmp
9570 if test "$wxUSE_DATEPICKCTRL" = yes; then
9571 { echo "$as_me:$LINENO: result: yes" >&5
9572 echo "${ECHO_T}yes" >&6; }
9574 { echo "$as_me:$LINENO: result: no" >&5
9575 echo "${ECHO_T}no" >&6; }
9580 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dirpicker" >&5
9581 echo $ECHO_N "checking for --${enablestring:-enable}-dirpicker... $ECHO_C" >&6; }
9583 # Check whether --enable-dirpicker was given.
9584 if test "${enable_dirpicker+set}" = set; then
9585 enableval=$enable_dirpicker;
9586 if test "$enableval" = yes; then
9587 ac_cv_use_dirpicker='wxUSE_DIRPICKERCTRL=yes'
9589 ac_cv_use_dirpicker='wxUSE_DIRPICKERCTRL=no'
9594 LINE=`grep "^wxUSE_DIRPICKERCTRL=" ${wx_arg_cache_file}`
9595 if test "x$LINE" != x ; then
9596 eval "DEFAULT_$LINE"
9601 ac_cv_use_dirpicker='wxUSE_DIRPICKERCTRL='$DEFAULT_wxUSE_DIRPICKERCTRL
9606 eval "$ac_cv_use_dirpicker"
9607 if test "$no_cache" != 1; then
9608 echo $ac_cv_use_dirpicker >> ${wx_arg_cache_file}.tmp
9611 if test "$wxUSE_DIRPICKERCTRL" = yes; then
9612 { echo "$as_me:$LINENO: result: yes" >&5
9613 echo "${ECHO_T}yes" >&6; }
9615 { echo "$as_me:$LINENO: result: no" >&5
9616 echo "${ECHO_T}no" >&6; }
9621 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-display" >&5
9622 echo $ECHO_N "checking for --${enablestring:-enable}-display... $ECHO_C" >&6; }
9624 # Check whether --enable-display was given.
9625 if test "${enable_display+set}" = set; then
9626 enableval=$enable_display;
9627 if test "$enableval" = yes; then
9628 ac_cv_use_display='wxUSE_DISPLAY=yes'
9630 ac_cv_use_display='wxUSE_DISPLAY=no'
9635 LINE=`grep "^wxUSE_DISPLAY=" ${wx_arg_cache_file}`
9636 if test "x$LINE" != x ; then
9637 eval "DEFAULT_$LINE"
9642 ac_cv_use_display='wxUSE_DISPLAY='$DEFAULT_wxUSE_DISPLAY
9647 eval "$ac_cv_use_display"
9648 if test "$no_cache" != 1; then
9649 echo $ac_cv_use_display >> ${wx_arg_cache_file}.tmp
9652 if test "$wxUSE_DISPLAY" = yes; then
9653 { echo "$as_me:$LINENO: result: yes" >&5
9654 echo "${ECHO_T}yes" >&6; }
9656 { echo "$as_me:$LINENO: result: no" >&5
9657 echo "${ECHO_T}no" >&6; }
9662 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-detect_sm" >&5
9663 echo $ECHO_N "checking for --${enablestring:-enable}-detect_sm... $ECHO_C" >&6; }
9665 # Check whether --enable-detect_sm was given.
9666 if test "${enable_detect_sm+set}" = set; then
9667 enableval=$enable_detect_sm;
9668 if test "$enableval" = yes; then
9669 ac_cv_use_detect_sm='wxUSE_DETECT_SM=yes'
9671 ac_cv_use_detect_sm='wxUSE_DETECT_SM=no'
9676 LINE=`grep "^wxUSE_DETECT_SM=" ${wx_arg_cache_file}`
9677 if test "x$LINE" != x ; then
9678 eval "DEFAULT_$LINE"
9683 ac_cv_use_detect_sm='wxUSE_DETECT_SM='$DEFAULT_wxUSE_DETECT_SM
9688 eval "$ac_cv_use_detect_sm"
9689 if test "$no_cache" != 1; then
9690 echo $ac_cv_use_detect_sm >> ${wx_arg_cache_file}.tmp
9693 if test "$wxUSE_DETECT_SM" = yes; then
9694 { echo "$as_me:$LINENO: result: yes" >&5
9695 echo "${ECHO_T}yes" >&6; }
9697 { echo "$as_me:$LINENO: result: no" >&5
9698 echo "${ECHO_T}no" >&6; }
9703 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-editablebox" >&5
9704 echo $ECHO_N "checking for --${enablestring:-enable}-editablebox... $ECHO_C" >&6; }
9706 # Check whether --enable-editablebox was given.
9707 if test "${enable_editablebox+set}" = set; then
9708 enableval=$enable_editablebox;
9709 if test "$enableval" = yes; then
9710 ac_cv_use_editablebox='wxUSE_EDITABLELISTBOX=yes'
9712 ac_cv_use_editablebox='wxUSE_EDITABLELISTBOX=no'
9717 LINE=`grep "^wxUSE_EDITABLELISTBOX=" ${wx_arg_cache_file}`
9718 if test "x$LINE" != x ; then
9719 eval "DEFAULT_$LINE"
9724 ac_cv_use_editablebox='wxUSE_EDITABLELISTBOX='$DEFAULT_wxUSE_EDITABLELISTBOX
9729 eval "$ac_cv_use_editablebox"
9730 if test "$no_cache" != 1; then
9731 echo $ac_cv_use_editablebox >> ${wx_arg_cache_file}.tmp
9734 if test "$wxUSE_EDITABLELISTBOX" = yes; then
9735 { echo "$as_me:$LINENO: result: yes" >&5
9736 echo "${ECHO_T}yes" >&6; }
9738 { echo "$as_me:$LINENO: result: no" >&5
9739 echo "${ECHO_T}no" >&6; }
9744 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filepicker" >&5
9745 echo $ECHO_N "checking for --${enablestring:-enable}-filepicker... $ECHO_C" >&6; }
9747 # Check whether --enable-filepicker was given.
9748 if test "${enable_filepicker+set}" = set; then
9749 enableval=$enable_filepicker;
9750 if test "$enableval" = yes; then
9751 ac_cv_use_filepicker='wxUSE_FILEPICKERCTRL=yes'
9753 ac_cv_use_filepicker='wxUSE_FILEPICKERCTRL=no'
9758 LINE=`grep "^wxUSE_FILEPICKERCTRL=" ${wx_arg_cache_file}`
9759 if test "x$LINE" != x ; then
9760 eval "DEFAULT_$LINE"
9765 ac_cv_use_filepicker='wxUSE_FILEPICKERCTRL='$DEFAULT_wxUSE_FILEPICKERCTRL
9770 eval "$ac_cv_use_filepicker"
9771 if test "$no_cache" != 1; then
9772 echo $ac_cv_use_filepicker >> ${wx_arg_cache_file}.tmp
9775 if test "$wxUSE_FILEPICKERCTRL" = yes; then
9776 { echo "$as_me:$LINENO: result: yes" >&5
9777 echo "${ECHO_T}yes" >&6; }
9779 { echo "$as_me:$LINENO: result: no" >&5
9780 echo "${ECHO_T}no" >&6; }
9785 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontpicker" >&5
9786 echo $ECHO_N "checking for --${enablestring:-enable}-fontpicker... $ECHO_C" >&6; }
9788 # Check whether --enable-fontpicker was given.
9789 if test "${enable_fontpicker+set}" = set; then
9790 enableval=$enable_fontpicker;
9791 if test "$enableval" = yes; then
9792 ac_cv_use_fontpicker='wxUSE_FONTPICKERCTRL=yes'
9794 ac_cv_use_fontpicker='wxUSE_FONTPICKERCTRL=no'
9799 LINE=`grep "^wxUSE_FONTPICKERCTRL=" ${wx_arg_cache_file}`
9800 if test "x$LINE" != x ; then
9801 eval "DEFAULT_$LINE"
9806 ac_cv_use_fontpicker='wxUSE_FONTPICKERCTRL='$DEFAULT_wxUSE_FONTPICKERCTRL
9811 eval "$ac_cv_use_fontpicker"
9812 if test "$no_cache" != 1; then
9813 echo $ac_cv_use_fontpicker >> ${wx_arg_cache_file}.tmp
9816 if test "$wxUSE_FONTPICKERCTRL" = yes; then
9817 { echo "$as_me:$LINENO: result: yes" >&5
9818 echo "${ECHO_T}yes" >&6; }
9820 { echo "$as_me:$LINENO: result: no" >&5
9821 echo "${ECHO_T}no" >&6; }
9826 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gauge" >&5
9827 echo $ECHO_N "checking for --${enablestring:-enable}-gauge... $ECHO_C" >&6; }
9829 # Check whether --enable-gauge was given.
9830 if test "${enable_gauge+set}" = set; then
9831 enableval=$enable_gauge;
9832 if test "$enableval" = yes; then
9833 ac_cv_use_gauge='wxUSE_GAUGE=yes'
9835 ac_cv_use_gauge='wxUSE_GAUGE=no'
9840 LINE=`grep "^wxUSE_GAUGE=" ${wx_arg_cache_file}`
9841 if test "x$LINE" != x ; then
9842 eval "DEFAULT_$LINE"
9847 ac_cv_use_gauge='wxUSE_GAUGE='$DEFAULT_wxUSE_GAUGE
9852 eval "$ac_cv_use_gauge"
9853 if test "$no_cache" != 1; then
9854 echo $ac_cv_use_gauge >> ${wx_arg_cache_file}.tmp
9857 if test "$wxUSE_GAUGE" = yes; then
9858 { echo "$as_me:$LINENO: result: yes" >&5
9859 echo "${ECHO_T}yes" >&6; }
9861 { echo "$as_me:$LINENO: result: no" >&5
9862 echo "${ECHO_T}no" >&6; }
9867 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-grid" >&5
9868 echo $ECHO_N "checking for --${enablestring:-enable}-grid... $ECHO_C" >&6; }
9870 # Check whether --enable-grid was given.
9871 if test "${enable_grid+set}" = set; then
9872 enableval=$enable_grid;
9873 if test "$enableval" = yes; then
9874 ac_cv_use_grid='wxUSE_GRID=yes'
9876 ac_cv_use_grid='wxUSE_GRID=no'
9881 LINE=`grep "^wxUSE_GRID=" ${wx_arg_cache_file}`
9882 if test "x$LINE" != x ; then
9883 eval "DEFAULT_$LINE"
9888 ac_cv_use_grid='wxUSE_GRID='$DEFAULT_wxUSE_GRID
9893 eval "$ac_cv_use_grid"
9894 if test "$no_cache" != 1; then
9895 echo $ac_cv_use_grid >> ${wx_arg_cache_file}.tmp
9898 if test "$wxUSE_GRID" = yes; then
9899 { echo "$as_me:$LINENO: result: yes" >&5
9900 echo "${ECHO_T}yes" >&6; }
9902 { echo "$as_me:$LINENO: result: no" >&5
9903 echo "${ECHO_T}no" >&6; }
9908 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dataviewctrl" >&5
9909 echo $ECHO_N "checking for --${enablestring:-enable}-dataviewctrl... $ECHO_C" >&6; }
9911 # Check whether --enable-dataviewctrl was given.
9912 if test "${enable_dataviewctrl+set}" = set; then
9913 enableval=$enable_dataviewctrl;
9914 if test "$enableval" = yes; then
9915 ac_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL=yes'
9917 ac_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL=no'
9922 LINE=`grep "^wxUSE_DATAVIEWCTRL=" ${wx_arg_cache_file}`
9923 if test "x$LINE" != x ; then
9924 eval "DEFAULT_$LINE"
9929 ac_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL='$DEFAULT_wxUSE_DATAVIEWCTRL
9934 eval "$ac_cv_use_dataviewctrl"
9935 if test "$no_cache" != 1; then
9936 echo $ac_cv_use_dataviewctrl >> ${wx_arg_cache_file}.tmp
9939 if test "$wxUSE_DATAVIEWCTRL" = yes; then
9940 { echo "$as_me:$LINENO: result: yes" >&5
9941 echo "${ECHO_T}yes" >&6; }
9943 { echo "$as_me:$LINENO: result: no" >&5
9944 echo "${ECHO_T}no" >&6; }
9949 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-hyperlink" >&5
9950 echo $ECHO_N "checking for --${enablestring:-enable}-hyperlink... $ECHO_C" >&6; }
9952 # Check whether --enable-hyperlink was given.
9953 if test "${enable_hyperlink+set}" = set; then
9954 enableval=$enable_hyperlink;
9955 if test "$enableval" = yes; then
9956 ac_cv_use_hyperlink='wxUSE_HYPERLINKCTRL=yes'
9958 ac_cv_use_hyperlink='wxUSE_HYPERLINKCTRL=no'
9963 LINE=`grep "^wxUSE_HYPERLINKCTRL=" ${wx_arg_cache_file}`
9964 if test "x$LINE" != x ; then
9965 eval "DEFAULT_$LINE"
9970 ac_cv_use_hyperlink='wxUSE_HYPERLINKCTRL='$DEFAULT_wxUSE_HYPERLINKCTRL
9975 eval "$ac_cv_use_hyperlink"
9976 if test "$no_cache" != 1; then
9977 echo $ac_cv_use_hyperlink >> ${wx_arg_cache_file}.tmp
9980 if test "$wxUSE_HYPERLINKCTRL" = yes; then
9981 { echo "$as_me:$LINENO: result: yes" >&5
9982 echo "${ECHO_T}yes" >&6; }
9984 { echo "$as_me:$LINENO: result: no" >&5
9985 echo "${ECHO_T}no" >&6; }
9990 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-imaglist" >&5
9991 echo $ECHO_N "checking for --${enablestring:-enable}-imaglist... $ECHO_C" >&6; }
9993 # Check whether --enable-imaglist was given.
9994 if test "${enable_imaglist+set}" = set; then
9995 enableval=$enable_imaglist;
9996 if test "$enableval" = yes; then
9997 ac_cv_use_imaglist='wxUSE_IMAGLIST=yes'
9999 ac_cv_use_imaglist='wxUSE_IMAGLIST=no'
10004 LINE=`grep "^wxUSE_IMAGLIST=" ${wx_arg_cache_file}`
10005 if test "x$LINE" != x ; then
10006 eval "DEFAULT_$LINE"
10011 ac_cv_use_imaglist='wxUSE_IMAGLIST='$DEFAULT_wxUSE_IMAGLIST
10016 eval "$ac_cv_use_imaglist"
10017 if test "$no_cache" != 1; then
10018 echo $ac_cv_use_imaglist >> ${wx_arg_cache_file}.tmp
10021 if test "$wxUSE_IMAGLIST" = yes; then
10022 { echo "$as_me:$LINENO: result: yes" >&5
10023 echo "${ECHO_T}yes" >&6; }
10025 { echo "$as_me:$LINENO: result: no" >&5
10026 echo "${ECHO_T}no" >&6; }
10031 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbook" >&5
10032 echo $ECHO_N "checking for --${enablestring:-enable}-listbook... $ECHO_C" >&6; }
10034 # Check whether --enable-listbook was given.
10035 if test "${enable_listbook+set}" = set; then
10036 enableval=$enable_listbook;
10037 if test "$enableval" = yes; then
10038 ac_cv_use_listbook='wxUSE_LISTBOOK=yes'
10040 ac_cv_use_listbook='wxUSE_LISTBOOK=no'
10045 LINE=`grep "^wxUSE_LISTBOOK=" ${wx_arg_cache_file}`
10046 if test "x$LINE" != x ; then
10047 eval "DEFAULT_$LINE"
10052 ac_cv_use_listbook='wxUSE_LISTBOOK='$DEFAULT_wxUSE_LISTBOOK
10057 eval "$ac_cv_use_listbook"
10058 if test "$no_cache" != 1; then
10059 echo $ac_cv_use_listbook >> ${wx_arg_cache_file}.tmp
10062 if test "$wxUSE_LISTBOOK" = yes; then
10063 { echo "$as_me:$LINENO: result: yes" >&5
10064 echo "${ECHO_T}yes" >&6; }
10066 { echo "$as_me:$LINENO: result: no" >&5
10067 echo "${ECHO_T}no" >&6; }
10072 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbox" >&5
10073 echo $ECHO_N "checking for --${enablestring:-enable}-listbox... $ECHO_C" >&6; }
10075 # Check whether --enable-listbox was given.
10076 if test "${enable_listbox+set}" = set; then
10077 enableval=$enable_listbox;
10078 if test "$enableval" = yes; then
10079 ac_cv_use_listbox='wxUSE_LISTBOX=yes'
10081 ac_cv_use_listbox='wxUSE_LISTBOX=no'
10086 LINE=`grep "^wxUSE_LISTBOX=" ${wx_arg_cache_file}`
10087 if test "x$LINE" != x ; then
10088 eval "DEFAULT_$LINE"
10093 ac_cv_use_listbox='wxUSE_LISTBOX='$DEFAULT_wxUSE_LISTBOX
10098 eval "$ac_cv_use_listbox"
10099 if test "$no_cache" != 1; then
10100 echo $ac_cv_use_listbox >> ${wx_arg_cache_file}.tmp
10103 if test "$wxUSE_LISTBOX" = yes; then
10104 { echo "$as_me:$LINENO: result: yes" >&5
10105 echo "${ECHO_T}yes" >&6; }
10107 { echo "$as_me:$LINENO: result: no" >&5
10108 echo "${ECHO_T}no" >&6; }
10113 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listctrl" >&5
10114 echo $ECHO_N "checking for --${enablestring:-enable}-listctrl... $ECHO_C" >&6; }
10116 # Check whether --enable-listctrl was given.
10117 if test "${enable_listctrl+set}" = set; then
10118 enableval=$enable_listctrl;
10119 if test "$enableval" = yes; then
10120 ac_cv_use_listctrl='wxUSE_LISTCTRL=yes'
10122 ac_cv_use_listctrl='wxUSE_LISTCTRL=no'
10127 LINE=`grep "^wxUSE_LISTCTRL=" ${wx_arg_cache_file}`
10128 if test "x$LINE" != x ; then
10129 eval "DEFAULT_$LINE"
10134 ac_cv_use_listctrl='wxUSE_LISTCTRL='$DEFAULT_wxUSE_LISTCTRL
10139 eval "$ac_cv_use_listctrl"
10140 if test "$no_cache" != 1; then
10141 echo $ac_cv_use_listctrl >> ${wx_arg_cache_file}.tmp
10144 if test "$wxUSE_LISTCTRL" = yes; then
10145 { echo "$as_me:$LINENO: result: yes" >&5
10146 echo "${ECHO_T}yes" >&6; }
10148 { echo "$as_me:$LINENO: result: no" >&5
10149 echo "${ECHO_T}no" >&6; }
10154 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-notebook" >&5
10155 echo $ECHO_N "checking for --${enablestring:-enable}-notebook... $ECHO_C" >&6; }
10157 # Check whether --enable-notebook was given.
10158 if test "${enable_notebook+set}" = set; then
10159 enableval=$enable_notebook;
10160 if test "$enableval" = yes; then
10161 ac_cv_use_notebook='wxUSE_NOTEBOOK=yes'
10163 ac_cv_use_notebook='wxUSE_NOTEBOOK=no'
10168 LINE=`grep "^wxUSE_NOTEBOOK=" ${wx_arg_cache_file}`
10169 if test "x$LINE" != x ; then
10170 eval "DEFAULT_$LINE"
10175 ac_cv_use_notebook='wxUSE_NOTEBOOK='$DEFAULT_wxUSE_NOTEBOOK
10180 eval "$ac_cv_use_notebook"
10181 if test "$no_cache" != 1; then
10182 echo $ac_cv_use_notebook >> ${wx_arg_cache_file}.tmp
10185 if test "$wxUSE_NOTEBOOK" = yes; then
10186 { echo "$as_me:$LINENO: result: yes" >&5
10187 echo "${ECHO_T}yes" >&6; }
10189 { echo "$as_me:$LINENO: result: no" >&5
10190 echo "${ECHO_T}no" >&6; }
10195 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-odcombobox" >&5
10196 echo $ECHO_N "checking for --${enablestring:-enable}-odcombobox... $ECHO_C" >&6; }
10198 # Check whether --enable-odcombobox was given.
10199 if test "${enable_odcombobox+set}" = set; then
10200 enableval=$enable_odcombobox;
10201 if test "$enableval" = yes; then
10202 ac_cv_use_odcombobox='wxUSE_ODCOMBOBOX=yes'
10204 ac_cv_use_odcombobox='wxUSE_ODCOMBOBOX=no'
10209 LINE=`grep "^wxUSE_ODCOMBOBOX=" ${wx_arg_cache_file}`
10210 if test "x$LINE" != x ; then
10211 eval "DEFAULT_$LINE"
10216 ac_cv_use_odcombobox='wxUSE_ODCOMBOBOX='$DEFAULT_wxUSE_ODCOMBOBOX
10221 eval "$ac_cv_use_odcombobox"
10222 if test "$no_cache" != 1; then
10223 echo $ac_cv_use_odcombobox >> ${wx_arg_cache_file}.tmp
10226 if test "$wxUSE_ODCOMBOBOX" = yes; then
10227 { echo "$as_me:$LINENO: result: yes" >&5
10228 echo "${ECHO_T}yes" >&6; }
10230 { echo "$as_me:$LINENO: result: no" >&5
10231 echo "${ECHO_T}no" >&6; }
10236 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobox" >&5
10237 echo $ECHO_N "checking for --${enablestring:-enable}-radiobox... $ECHO_C" >&6; }
10239 # Check whether --enable-radiobox was given.
10240 if test "${enable_radiobox+set}" = set; then
10241 enableval=$enable_radiobox;
10242 if test "$enableval" = yes; then
10243 ac_cv_use_radiobox='wxUSE_RADIOBOX=yes'
10245 ac_cv_use_radiobox='wxUSE_RADIOBOX=no'
10250 LINE=`grep "^wxUSE_RADIOBOX=" ${wx_arg_cache_file}`
10251 if test "x$LINE" != x ; then
10252 eval "DEFAULT_$LINE"
10257 ac_cv_use_radiobox='wxUSE_RADIOBOX='$DEFAULT_wxUSE_RADIOBOX
10262 eval "$ac_cv_use_radiobox"
10263 if test "$no_cache" != 1; then
10264 echo $ac_cv_use_radiobox >> ${wx_arg_cache_file}.tmp
10267 if test "$wxUSE_RADIOBOX" = yes; then
10268 { echo "$as_me:$LINENO: result: yes" >&5
10269 echo "${ECHO_T}yes" >&6; }
10271 { echo "$as_me:$LINENO: result: no" >&5
10272 echo "${ECHO_T}no" >&6; }
10277 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobtn" >&5
10278 echo $ECHO_N "checking for --${enablestring:-enable}-radiobtn... $ECHO_C" >&6; }
10280 # Check whether --enable-radiobtn was given.
10281 if test "${enable_radiobtn+set}" = set; then
10282 enableval=$enable_radiobtn;
10283 if test "$enableval" = yes; then
10284 ac_cv_use_radiobtn='wxUSE_RADIOBTN=yes'
10286 ac_cv_use_radiobtn='wxUSE_RADIOBTN=no'
10291 LINE=`grep "^wxUSE_RADIOBTN=" ${wx_arg_cache_file}`
10292 if test "x$LINE" != x ; then
10293 eval "DEFAULT_$LINE"
10298 ac_cv_use_radiobtn='wxUSE_RADIOBTN='$DEFAULT_wxUSE_RADIOBTN
10303 eval "$ac_cv_use_radiobtn"
10304 if test "$no_cache" != 1; then
10305 echo $ac_cv_use_radiobtn >> ${wx_arg_cache_file}.tmp
10308 if test "$wxUSE_RADIOBTN" = yes; then
10309 { echo "$as_me:$LINENO: result: yes" >&5
10310 echo "${ECHO_T}yes" >&6; }
10312 { echo "$as_me:$LINENO: result: no" >&5
10313 echo "${ECHO_T}no" >&6; }
10318 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sash" >&5
10319 echo $ECHO_N "checking for --${enablestring:-enable}-sash... $ECHO_C" >&6; }
10321 # Check whether --enable-sash was given.
10322 if test "${enable_sash+set}" = set; then
10323 enableval=$enable_sash;
10324 if test "$enableval" = yes; then
10325 ac_cv_use_sash='wxUSE_SASH=yes'
10327 ac_cv_use_sash='wxUSE_SASH=no'
10332 LINE=`grep "^wxUSE_SASH=" ${wx_arg_cache_file}`
10333 if test "x$LINE" != x ; then
10334 eval "DEFAULT_$LINE"
10339 ac_cv_use_sash='wxUSE_SASH='$DEFAULT_wxUSE_SASH
10344 eval "$ac_cv_use_sash"
10345 if test "$no_cache" != 1; then
10346 echo $ac_cv_use_sash >> ${wx_arg_cache_file}.tmp
10349 if test "$wxUSE_SASH" = yes; then
10350 { echo "$as_me:$LINENO: result: yes" >&5
10351 echo "${ECHO_T}yes" >&6; }
10353 { echo "$as_me:$LINENO: result: no" >&5
10354 echo "${ECHO_T}no" >&6; }
10359 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-scrollbar" >&5
10360 echo $ECHO_N "checking for --${enablestring:-enable}-scrollbar... $ECHO_C" >&6; }
10362 # Check whether --enable-scrollbar was given.
10363 if test "${enable_scrollbar+set}" = set; then
10364 enableval=$enable_scrollbar;
10365 if test "$enableval" = yes; then
10366 ac_cv_use_scrollbar='wxUSE_SCROLLBAR=yes'
10368 ac_cv_use_scrollbar='wxUSE_SCROLLBAR=no'
10373 LINE=`grep "^wxUSE_SCROLLBAR=" ${wx_arg_cache_file}`
10374 if test "x$LINE" != x ; then
10375 eval "DEFAULT_$LINE"
10380 ac_cv_use_scrollbar='wxUSE_SCROLLBAR='$DEFAULT_wxUSE_SCROLLBAR
10385 eval "$ac_cv_use_scrollbar"
10386 if test "$no_cache" != 1; then
10387 echo $ac_cv_use_scrollbar >> ${wx_arg_cache_file}.tmp
10390 if test "$wxUSE_SCROLLBAR" = yes; then
10391 { echo "$as_me:$LINENO: result: yes" >&5
10392 echo "${ECHO_T}yes" >&6; }
10394 { echo "$as_me:$LINENO: result: no" >&5
10395 echo "${ECHO_T}no" >&6; }
10400 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-searchctrl" >&5
10401 echo $ECHO_N "checking for --${enablestring:-enable}-searchctrl... $ECHO_C" >&6; }
10403 # Check whether --enable-searchctrl was given.
10404 if test "${enable_searchctrl+set}" = set; then
10405 enableval=$enable_searchctrl;
10406 if test "$enableval" = yes; then
10407 ac_cv_use_searchctrl='wxUSE_SEARCHCTRL=yes'
10409 ac_cv_use_searchctrl='wxUSE_SEARCHCTRL=no'
10414 LINE=`grep "^wxUSE_SEARCHCTRL=" ${wx_arg_cache_file}`
10415 if test "x$LINE" != x ; then
10416 eval "DEFAULT_$LINE"
10421 ac_cv_use_searchctrl='wxUSE_SEARCHCTRL='$DEFAULT_wxUSE_SEARCHCTRL
10426 eval "$ac_cv_use_searchctrl"
10427 if test "$no_cache" != 1; then
10428 echo $ac_cv_use_searchctrl >> ${wx_arg_cache_file}.tmp
10431 if test "$wxUSE_SEARCHCTRL" = yes; then
10432 { echo "$as_me:$LINENO: result: yes" >&5
10433 echo "${ECHO_T}yes" >&6; }
10435 { echo "$as_me:$LINENO: result: no" >&5
10436 echo "${ECHO_T}no" >&6; }
10441 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-slider" >&5
10442 echo $ECHO_N "checking for --${enablestring:-enable}-slider... $ECHO_C" >&6; }
10444 # Check whether --enable-slider was given.
10445 if test "${enable_slider+set}" = set; then
10446 enableval=$enable_slider;
10447 if test "$enableval" = yes; then
10448 ac_cv_use_slider='wxUSE_SLIDER=yes'
10450 ac_cv_use_slider='wxUSE_SLIDER=no'
10455 LINE=`grep "^wxUSE_SLIDER=" ${wx_arg_cache_file}`
10456 if test "x$LINE" != x ; then
10457 eval "DEFAULT_$LINE"
10462 ac_cv_use_slider='wxUSE_SLIDER='$DEFAULT_wxUSE_SLIDER
10467 eval "$ac_cv_use_slider"
10468 if test "$no_cache" != 1; then
10469 echo $ac_cv_use_slider >> ${wx_arg_cache_file}.tmp
10472 if test "$wxUSE_SLIDER" = yes; then
10473 { echo "$as_me:$LINENO: result: yes" >&5
10474 echo "${ECHO_T}yes" >&6; }
10476 { echo "$as_me:$LINENO: result: no" >&5
10477 echo "${ECHO_T}no" >&6; }
10482 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinbtn" >&5
10483 echo $ECHO_N "checking for --${enablestring:-enable}-spinbtn... $ECHO_C" >&6; }
10485 # Check whether --enable-spinbtn was given.
10486 if test "${enable_spinbtn+set}" = set; then
10487 enableval=$enable_spinbtn;
10488 if test "$enableval" = yes; then
10489 ac_cv_use_spinbtn='wxUSE_SPINBTN=yes'
10491 ac_cv_use_spinbtn='wxUSE_SPINBTN=no'
10496 LINE=`grep "^wxUSE_SPINBTN=" ${wx_arg_cache_file}`
10497 if test "x$LINE" != x ; then
10498 eval "DEFAULT_$LINE"
10503 ac_cv_use_spinbtn='wxUSE_SPINBTN='$DEFAULT_wxUSE_SPINBTN
10508 eval "$ac_cv_use_spinbtn"
10509 if test "$no_cache" != 1; then
10510 echo $ac_cv_use_spinbtn >> ${wx_arg_cache_file}.tmp
10513 if test "$wxUSE_SPINBTN" = yes; then
10514 { echo "$as_me:$LINENO: result: yes" >&5
10515 echo "${ECHO_T}yes" >&6; }
10517 { echo "$as_me:$LINENO: result: no" >&5
10518 echo "${ECHO_T}no" >&6; }
10523 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinctrl" >&5
10524 echo $ECHO_N "checking for --${enablestring:-enable}-spinctrl... $ECHO_C" >&6; }
10526 # Check whether --enable-spinctrl was given.
10527 if test "${enable_spinctrl+set}" = set; then
10528 enableval=$enable_spinctrl;
10529 if test "$enableval" = yes; then
10530 ac_cv_use_spinctrl='wxUSE_SPINCTRL=yes'
10532 ac_cv_use_spinctrl='wxUSE_SPINCTRL=no'
10537 LINE=`grep "^wxUSE_SPINCTRL=" ${wx_arg_cache_file}`
10538 if test "x$LINE" != x ; then
10539 eval "DEFAULT_$LINE"
10544 ac_cv_use_spinctrl='wxUSE_SPINCTRL='$DEFAULT_wxUSE_SPINCTRL
10549 eval "$ac_cv_use_spinctrl"
10550 if test "$no_cache" != 1; then
10551 echo $ac_cv_use_spinctrl >> ${wx_arg_cache_file}.tmp
10554 if test "$wxUSE_SPINCTRL" = yes; then
10555 { echo "$as_me:$LINENO: result: yes" >&5
10556 echo "${ECHO_T}yes" >&6; }
10558 { echo "$as_me:$LINENO: result: no" >&5
10559 echo "${ECHO_T}no" >&6; }
10564 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splitter" >&5
10565 echo $ECHO_N "checking for --${enablestring:-enable}-splitter... $ECHO_C" >&6; }
10567 # Check whether --enable-splitter was given.
10568 if test "${enable_splitter+set}" = set; then
10569 enableval=$enable_splitter;
10570 if test "$enableval" = yes; then
10571 ac_cv_use_splitter='wxUSE_SPLITTER=yes'
10573 ac_cv_use_splitter='wxUSE_SPLITTER=no'
10578 LINE=`grep "^wxUSE_SPLITTER=" ${wx_arg_cache_file}`
10579 if test "x$LINE" != x ; then
10580 eval "DEFAULT_$LINE"
10585 ac_cv_use_splitter='wxUSE_SPLITTER='$DEFAULT_wxUSE_SPLITTER
10590 eval "$ac_cv_use_splitter"
10591 if test "$no_cache" != 1; then
10592 echo $ac_cv_use_splitter >> ${wx_arg_cache_file}.tmp
10595 if test "$wxUSE_SPLITTER" = yes; then
10596 { echo "$as_me:$LINENO: result: yes" >&5
10597 echo "${ECHO_T}yes" >&6; }
10599 { echo "$as_me:$LINENO: result: no" >&5
10600 echo "${ECHO_T}no" >&6; }
10605 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbmp" >&5
10606 echo $ECHO_N "checking for --${enablestring:-enable}-statbmp... $ECHO_C" >&6; }
10608 # Check whether --enable-statbmp was given.
10609 if test "${enable_statbmp+set}" = set; then
10610 enableval=$enable_statbmp;
10611 if test "$enableval" = yes; then
10612 ac_cv_use_statbmp='wxUSE_STATBMP=yes'
10614 ac_cv_use_statbmp='wxUSE_STATBMP=no'
10619 LINE=`grep "^wxUSE_STATBMP=" ${wx_arg_cache_file}`
10620 if test "x$LINE" != x ; then
10621 eval "DEFAULT_$LINE"
10626 ac_cv_use_statbmp='wxUSE_STATBMP='$DEFAULT_wxUSE_STATBMP
10631 eval "$ac_cv_use_statbmp"
10632 if test "$no_cache" != 1; then
10633 echo $ac_cv_use_statbmp >> ${wx_arg_cache_file}.tmp
10636 if test "$wxUSE_STATBMP" = yes; then
10637 { echo "$as_me:$LINENO: result: yes" >&5
10638 echo "${ECHO_T}yes" >&6; }
10640 { echo "$as_me:$LINENO: result: no" >&5
10641 echo "${ECHO_T}no" >&6; }
10646 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbox" >&5
10647 echo $ECHO_N "checking for --${enablestring:-enable}-statbox... $ECHO_C" >&6; }
10649 # Check whether --enable-statbox was given.
10650 if test "${enable_statbox+set}" = set; then
10651 enableval=$enable_statbox;
10652 if test "$enableval" = yes; then
10653 ac_cv_use_statbox='wxUSE_STATBOX=yes'
10655 ac_cv_use_statbox='wxUSE_STATBOX=no'
10660 LINE=`grep "^wxUSE_STATBOX=" ${wx_arg_cache_file}`
10661 if test "x$LINE" != x ; then
10662 eval "DEFAULT_$LINE"
10667 ac_cv_use_statbox='wxUSE_STATBOX='$DEFAULT_wxUSE_STATBOX
10672 eval "$ac_cv_use_statbox"
10673 if test "$no_cache" != 1; then
10674 echo $ac_cv_use_statbox >> ${wx_arg_cache_file}.tmp
10677 if test "$wxUSE_STATBOX" = yes; then
10678 { echo "$as_me:$LINENO: result: yes" >&5
10679 echo "${ECHO_T}yes" >&6; }
10681 { echo "$as_me:$LINENO: result: no" >&5
10682 echo "${ECHO_T}no" >&6; }
10687 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statline" >&5
10688 echo $ECHO_N "checking for --${enablestring:-enable}-statline... $ECHO_C" >&6; }
10690 # Check whether --enable-statline was given.
10691 if test "${enable_statline+set}" = set; then
10692 enableval=$enable_statline;
10693 if test "$enableval" = yes; then
10694 ac_cv_use_statline='wxUSE_STATLINE=yes'
10696 ac_cv_use_statline='wxUSE_STATLINE=no'
10701 LINE=`grep "^wxUSE_STATLINE=" ${wx_arg_cache_file}`
10702 if test "x$LINE" != x ; then
10703 eval "DEFAULT_$LINE"
10708 ac_cv_use_statline='wxUSE_STATLINE='$DEFAULT_wxUSE_STATLINE
10713 eval "$ac_cv_use_statline"
10714 if test "$no_cache" != 1; then
10715 echo $ac_cv_use_statline >> ${wx_arg_cache_file}.tmp
10718 if test "$wxUSE_STATLINE" = yes; then
10719 { echo "$as_me:$LINENO: result: yes" >&5
10720 echo "${ECHO_T}yes" >&6; }
10722 { echo "$as_me:$LINENO: result: no" >&5
10723 echo "${ECHO_T}no" >&6; }
10728 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stattext" >&5
10729 echo $ECHO_N "checking for --${enablestring:-enable}-stattext... $ECHO_C" >&6; }
10731 # Check whether --enable-stattext was given.
10732 if test "${enable_stattext+set}" = set; then
10733 enableval=$enable_stattext;
10734 if test "$enableval" = yes; then
10735 ac_cv_use_stattext='wxUSE_STATTEXT=yes'
10737 ac_cv_use_stattext='wxUSE_STATTEXT=no'
10742 LINE=`grep "^wxUSE_STATTEXT=" ${wx_arg_cache_file}`
10743 if test "x$LINE" != x ; then
10744 eval "DEFAULT_$LINE"
10749 ac_cv_use_stattext='wxUSE_STATTEXT='$DEFAULT_wxUSE_STATTEXT
10754 eval "$ac_cv_use_stattext"
10755 if test "$no_cache" != 1; then
10756 echo $ac_cv_use_stattext >> ${wx_arg_cache_file}.tmp
10759 if test "$wxUSE_STATTEXT" = yes; then
10760 { echo "$as_me:$LINENO: result: yes" >&5
10761 echo "${ECHO_T}yes" >&6; }
10763 { echo "$as_me:$LINENO: result: no" >&5
10764 echo "${ECHO_T}no" >&6; }
10769 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statusbar" >&5
10770 echo $ECHO_N "checking for --${enablestring:-enable}-statusbar... $ECHO_C" >&6; }
10772 # Check whether --enable-statusbar was given.
10773 if test "${enable_statusbar+set}" = set; then
10774 enableval=$enable_statusbar;
10775 if test "$enableval" = yes; then
10776 ac_cv_use_statusbar='wxUSE_STATUSBAR=yes'
10778 ac_cv_use_statusbar='wxUSE_STATUSBAR=no'
10783 LINE=`grep "^wxUSE_STATUSBAR=" ${wx_arg_cache_file}`
10784 if test "x$LINE" != x ; then
10785 eval "DEFAULT_$LINE"
10790 ac_cv_use_statusbar='wxUSE_STATUSBAR='$DEFAULT_wxUSE_STATUSBAR
10795 eval "$ac_cv_use_statusbar"
10796 if test "$no_cache" != 1; then
10797 echo $ac_cv_use_statusbar >> ${wx_arg_cache_file}.tmp
10800 if test "$wxUSE_STATUSBAR" = yes; then
10801 { echo "$as_me:$LINENO: result: yes" >&5
10802 echo "${ECHO_T}yes" >&6; }
10804 { echo "$as_me:$LINENO: result: no" >&5
10805 echo "${ECHO_T}no" >&6; }
10810 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tabdialog" >&5
10811 echo $ECHO_N "checking for --${enablestring:-enable}-tabdialog... $ECHO_C" >&6; }
10813 # Check whether --enable-tabdialog was given.
10814 if test "${enable_tabdialog+set}" = set; then
10815 enableval=$enable_tabdialog;
10816 if test "$enableval" = yes; then
10817 ac_cv_use_tabdialog='wxUSE_TAB_DIALOG=yes'
10819 ac_cv_use_tabdialog='wxUSE_TAB_DIALOG=no'
10824 LINE=`grep "^wxUSE_TAB_DIALOG=" ${wx_arg_cache_file}`
10825 if test "x$LINE" != x ; then
10826 eval "DEFAULT_$LINE"
10831 ac_cv_use_tabdialog='wxUSE_TAB_DIALOG='$DEFAULT_wxUSE_TAB_DIALOG
10836 eval "$ac_cv_use_tabdialog"
10837 if test "$no_cache" != 1; then
10838 echo $ac_cv_use_tabdialog >> ${wx_arg_cache_file}.tmp
10841 if test "$wxUSE_TAB_DIALOG" = yes; then
10842 { echo "$as_me:$LINENO: result: yes" >&5
10843 echo "${ECHO_T}yes" >&6; }
10845 { echo "$as_me:$LINENO: result: no" >&5
10846 echo "${ECHO_T}no" >&6; }
10851 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textctrl" >&5
10852 echo $ECHO_N "checking for --${enablestring:-enable}-textctrl... $ECHO_C" >&6; }
10854 # Check whether --enable-textctrl was given.
10855 if test "${enable_textctrl+set}" = set; then
10856 enableval=$enable_textctrl;
10857 if test "$enableval" = yes; then
10858 ac_cv_use_textctrl='wxUSE_TEXTCTRL=yes'
10860 ac_cv_use_textctrl='wxUSE_TEXTCTRL=no'
10865 LINE=`grep "^wxUSE_TEXTCTRL=" ${wx_arg_cache_file}`
10866 if test "x$LINE" != x ; then
10867 eval "DEFAULT_$LINE"
10872 ac_cv_use_textctrl='wxUSE_TEXTCTRL='$DEFAULT_wxUSE_TEXTCTRL
10877 eval "$ac_cv_use_textctrl"
10878 if test "$no_cache" != 1; then
10879 echo $ac_cv_use_textctrl >> ${wx_arg_cache_file}.tmp
10882 if test "$wxUSE_TEXTCTRL" = yes; then
10883 { echo "$as_me:$LINENO: result: yes" >&5
10884 echo "${ECHO_T}yes" >&6; }
10886 { echo "$as_me:$LINENO: result: no" >&5
10887 echo "${ECHO_T}no" >&6; }
10892 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-togglebtn" >&5
10893 echo $ECHO_N "checking for --${enablestring:-enable}-togglebtn... $ECHO_C" >&6; }
10895 # Check whether --enable-togglebtn was given.
10896 if test "${enable_togglebtn+set}" = set; then
10897 enableval=$enable_togglebtn;
10898 if test "$enableval" = yes; then
10899 ac_cv_use_togglebtn='wxUSE_TOGGLEBTN=yes'
10901 ac_cv_use_togglebtn='wxUSE_TOGGLEBTN=no'
10906 LINE=`grep "^wxUSE_TOGGLEBTN=" ${wx_arg_cache_file}`
10907 if test "x$LINE" != x ; then
10908 eval "DEFAULT_$LINE"
10913 ac_cv_use_togglebtn='wxUSE_TOGGLEBTN='$DEFAULT_wxUSE_TOGGLEBTN
10918 eval "$ac_cv_use_togglebtn"
10919 if test "$no_cache" != 1; then
10920 echo $ac_cv_use_togglebtn >> ${wx_arg_cache_file}.tmp
10923 if test "$wxUSE_TOGGLEBTN" = yes; then
10924 { echo "$as_me:$LINENO: result: yes" >&5
10925 echo "${ECHO_T}yes" >&6; }
10927 { echo "$as_me:$LINENO: result: no" >&5
10928 echo "${ECHO_T}no" >&6; }
10933 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-toolbar" >&5
10934 echo $ECHO_N "checking for --${enablestring:-enable}-toolbar... $ECHO_C" >&6; }
10936 # Check whether --enable-toolbar was given.
10937 if test "${enable_toolbar+set}" = set; then
10938 enableval=$enable_toolbar;
10939 if test "$enableval" = yes; then
10940 ac_cv_use_toolbar='wxUSE_TOOLBAR=yes'
10942 ac_cv_use_toolbar='wxUSE_TOOLBAR=no'
10947 LINE=`grep "^wxUSE_TOOLBAR=" ${wx_arg_cache_file}`
10948 if test "x$LINE" != x ; then
10949 eval "DEFAULT_$LINE"
10954 ac_cv_use_toolbar='wxUSE_TOOLBAR='$DEFAULT_wxUSE_TOOLBAR
10959 eval "$ac_cv_use_toolbar"
10960 if test "$no_cache" != 1; then
10961 echo $ac_cv_use_toolbar >> ${wx_arg_cache_file}.tmp
10964 if test "$wxUSE_TOOLBAR" = yes; then
10965 { echo "$as_me:$LINENO: result: yes" >&5
10966 echo "${ECHO_T}yes" >&6; }
10968 { echo "$as_me:$LINENO: result: no" >&5
10969 echo "${ECHO_T}no" >&6; }
10974 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tbarnative" >&5
10975 echo $ECHO_N "checking for --${enablestring:-enable}-tbarnative... $ECHO_C" >&6; }
10977 # Check whether --enable-tbarnative was given.
10978 if test "${enable_tbarnative+set}" = set; then
10979 enableval=$enable_tbarnative;
10980 if test "$enableval" = yes; then
10981 ac_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=yes'
10983 ac_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=no'
10988 LINE=`grep "^wxUSE_TOOLBAR_NATIVE=" ${wx_arg_cache_file}`
10989 if test "x$LINE" != x ; then
10990 eval "DEFAULT_$LINE"
10995 ac_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE='$DEFAULT_wxUSE_TOOLBAR_NATIVE
11000 eval "$ac_cv_use_tbarnative"
11001 if test "$no_cache" != 1; then
11002 echo $ac_cv_use_tbarnative >> ${wx_arg_cache_file}.tmp
11005 if test "$wxUSE_TOOLBAR_NATIVE" = yes; then
11006 { echo "$as_me:$LINENO: result: yes" >&5
11007 echo "${ECHO_T}yes" >&6; }
11009 { echo "$as_me:$LINENO: result: no" >&5
11010 echo "${ECHO_T}no" >&6; }
11015 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-treebook" >&5
11016 echo $ECHO_N "checking for --${enablestring:-enable}-treebook... $ECHO_C" >&6; }
11018 # Check whether --enable-treebook was given.
11019 if test "${enable_treebook+set}" = set; then
11020 enableval=$enable_treebook;
11021 if test "$enableval" = yes; then
11022 ac_cv_use_treebook='wxUSE_TREEBOOK=yes'
11024 ac_cv_use_treebook='wxUSE_TREEBOOK=no'
11029 LINE=`grep "^wxUSE_TREEBOOK=" ${wx_arg_cache_file}`
11030 if test "x$LINE" != x ; then
11031 eval "DEFAULT_$LINE"
11036 ac_cv_use_treebook='wxUSE_TREEBOOK='$DEFAULT_wxUSE_TREEBOOK
11041 eval "$ac_cv_use_treebook"
11042 if test "$no_cache" != 1; then
11043 echo $ac_cv_use_treebook >> ${wx_arg_cache_file}.tmp
11046 if test "$wxUSE_TREEBOOK" = yes; then
11047 { echo "$as_me:$LINENO: result: yes" >&5
11048 echo "${ECHO_T}yes" >&6; }
11050 { echo "$as_me:$LINENO: result: no" >&5
11051 echo "${ECHO_T}no" >&6; }
11056 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-toolbook" >&5
11057 echo $ECHO_N "checking for --${enablestring:-enable}-toolbook... $ECHO_C" >&6; }
11059 # Check whether --enable-toolbook was given.
11060 if test "${enable_toolbook+set}" = set; then
11061 enableval=$enable_toolbook;
11062 if test "$enableval" = yes; then
11063 ac_cv_use_toolbook='wxUSE_TOOLBOOK=yes'
11065 ac_cv_use_toolbook='wxUSE_TOOLBOOK=no'
11070 LINE=`grep "^wxUSE_TOOLBOOK=" ${wx_arg_cache_file}`
11071 if test "x$LINE" != x ; then
11072 eval "DEFAULT_$LINE"
11077 ac_cv_use_toolbook='wxUSE_TOOLBOOK='$DEFAULT_wxUSE_TOOLBOOK
11082 eval "$ac_cv_use_toolbook"
11083 if test "$no_cache" != 1; then
11084 echo $ac_cv_use_toolbook >> ${wx_arg_cache_file}.tmp
11087 if test "$wxUSE_TOOLBOOK" = yes; then
11088 { echo "$as_me:$LINENO: result: yes" >&5
11089 echo "${ECHO_T}yes" >&6; }
11091 { echo "$as_me:$LINENO: result: no" >&5
11092 echo "${ECHO_T}no" >&6; }
11097 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-treectrl" >&5
11098 echo $ECHO_N "checking for --${enablestring:-enable}-treectrl... $ECHO_C" >&6; }
11100 # Check whether --enable-treectrl was given.
11101 if test "${enable_treectrl+set}" = set; then
11102 enableval=$enable_treectrl;
11103 if test "$enableval" = yes; then
11104 ac_cv_use_treectrl='wxUSE_TREECTRL=yes'
11106 ac_cv_use_treectrl='wxUSE_TREECTRL=no'
11111 LINE=`grep "^wxUSE_TREECTRL=" ${wx_arg_cache_file}`
11112 if test "x$LINE" != x ; then
11113 eval "DEFAULT_$LINE"
11118 ac_cv_use_treectrl='wxUSE_TREECTRL='$DEFAULT_wxUSE_TREECTRL
11123 eval "$ac_cv_use_treectrl"
11124 if test "$no_cache" != 1; then
11125 echo $ac_cv_use_treectrl >> ${wx_arg_cache_file}.tmp
11128 if test "$wxUSE_TREECTRL" = yes; then
11129 { echo "$as_me:$LINENO: result: yes" >&5
11130 echo "${ECHO_T}yes" >&6; }
11132 { echo "$as_me:$LINENO: result: no" >&5
11133 echo "${ECHO_T}no" >&6; }
11138 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipwindow" >&5
11139 echo $ECHO_N "checking for --${enablestring:-enable}-tipwindow... $ECHO_C" >&6; }
11141 # Check whether --enable-tipwindow was given.
11142 if test "${enable_tipwindow+set}" = set; then
11143 enableval=$enable_tipwindow;
11144 if test "$enableval" = yes; then
11145 ac_cv_use_tipwindow='wxUSE_TIPWINDOW=yes'
11147 ac_cv_use_tipwindow='wxUSE_TIPWINDOW=no'
11152 LINE=`grep "^wxUSE_TIPWINDOW=" ${wx_arg_cache_file}`
11153 if test "x$LINE" != x ; then
11154 eval "DEFAULT_$LINE"
11159 ac_cv_use_tipwindow='wxUSE_TIPWINDOW='$DEFAULT_wxUSE_TIPWINDOW
11164 eval "$ac_cv_use_tipwindow"
11165 if test "$no_cache" != 1; then
11166 echo $ac_cv_use_tipwindow >> ${wx_arg_cache_file}.tmp
11169 if test "$wxUSE_TIPWINDOW" = yes; then
11170 { echo "$as_me:$LINENO: result: yes" >&5
11171 echo "${ECHO_T}yes" >&6; }
11173 { echo "$as_me:$LINENO: result: no" >&5
11174 echo "${ECHO_T}no" >&6; }
11179 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-popupwin" >&5
11180 echo $ECHO_N "checking for --${enablestring:-enable}-popupwin... $ECHO_C" >&6; }
11182 # Check whether --enable-popupwin was given.
11183 if test "${enable_popupwin+set}" = set; then
11184 enableval=$enable_popupwin;
11185 if test "$enableval" = yes; then
11186 ac_cv_use_popupwin='wxUSE_POPUPWIN=yes'
11188 ac_cv_use_popupwin='wxUSE_POPUPWIN=no'
11193 LINE=`grep "^wxUSE_POPUPWIN=" ${wx_arg_cache_file}`
11194 if test "x$LINE" != x ; then
11195 eval "DEFAULT_$LINE"
11200 ac_cv_use_popupwin='wxUSE_POPUPWIN='$DEFAULT_wxUSE_POPUPWIN
11205 eval "$ac_cv_use_popupwin"
11206 if test "$no_cache" != 1; then
11207 echo $ac_cv_use_popupwin >> ${wx_arg_cache_file}.tmp
11210 if test "$wxUSE_POPUPWIN" = yes; then
11211 { echo "$as_me:$LINENO: result: yes" >&5
11212 echo "${ECHO_T}yes" >&6; }
11214 { echo "$as_me:$LINENO: result: no" >&5
11215 echo "${ECHO_T}no" >&6; }
11222 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-commondlg" >&5
11223 echo $ECHO_N "checking for --${enablestring:-enable}-commondlg... $ECHO_C" >&6; }
11225 # Check whether --enable-commondlg was given.
11226 if test "${enable_commondlg+set}" = set; then
11227 enableval=$enable_commondlg;
11228 if test "$enableval" = yes; then
11229 ac_cv_use_commondlg='wxUSE_COMMONDLGS=yes'
11231 ac_cv_use_commondlg='wxUSE_COMMONDLGS=no'
11236 LINE=`grep "^wxUSE_COMMONDLGS=" ${wx_arg_cache_file}`
11237 if test "x$LINE" != x ; then
11238 eval "DEFAULT_$LINE"
11243 ac_cv_use_commondlg='wxUSE_COMMONDLGS='$DEFAULT_wxUSE_COMMONDLGS
11248 eval "$ac_cv_use_commondlg"
11249 if test "$no_cache" != 1; then
11250 echo $ac_cv_use_commondlg >> ${wx_arg_cache_file}.tmp
11253 if test "$wxUSE_COMMONDLGS" = yes; then
11254 { echo "$as_me:$LINENO: result: yes" >&5
11255 echo "${ECHO_T}yes" >&6; }
11257 { echo "$as_me:$LINENO: result: no" >&5
11258 echo "${ECHO_T}no" >&6; }
11263 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-aboutdlg" >&5
11264 echo $ECHO_N "checking for --${enablestring:-enable}-aboutdlg... $ECHO_C" >&6; }
11266 # Check whether --enable-aboutdlg was given.
11267 if test "${enable_aboutdlg+set}" = set; then
11268 enableval=$enable_aboutdlg;
11269 if test "$enableval" = yes; then
11270 ac_cv_use_aboutdlg='wxUSE_ABOUTDLG=yes'
11272 ac_cv_use_aboutdlg='wxUSE_ABOUTDLG=no'
11277 LINE=`grep "^wxUSE_ABOUTDLG=" ${wx_arg_cache_file}`
11278 if test "x$LINE" != x ; then
11279 eval "DEFAULT_$LINE"
11284 ac_cv_use_aboutdlg='wxUSE_ABOUTDLG='$DEFAULT_wxUSE_ABOUTDLG
11289 eval "$ac_cv_use_aboutdlg"
11290 if test "$no_cache" != 1; then
11291 echo $ac_cv_use_aboutdlg >> ${wx_arg_cache_file}.tmp
11294 if test "$wxUSE_ABOUTDLG" = yes; then
11295 { echo "$as_me:$LINENO: result: yes" >&5
11296 echo "${ECHO_T}yes" >&6; }
11298 { echo "$as_me:$LINENO: result: no" >&5
11299 echo "${ECHO_T}no" >&6; }
11304 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choicedlg" >&5
11305 echo $ECHO_N "checking for --${enablestring:-enable}-choicedlg... $ECHO_C" >&6; }
11307 # Check whether --enable-choicedlg was given.
11308 if test "${enable_choicedlg+set}" = set; then
11309 enableval=$enable_choicedlg;
11310 if test "$enableval" = yes; then
11311 ac_cv_use_choicedlg='wxUSE_CHOICEDLG=yes'
11313 ac_cv_use_choicedlg='wxUSE_CHOICEDLG=no'
11318 LINE=`grep "^wxUSE_CHOICEDLG=" ${wx_arg_cache_file}`
11319 if test "x$LINE" != x ; then
11320 eval "DEFAULT_$LINE"
11325 ac_cv_use_choicedlg='wxUSE_CHOICEDLG='$DEFAULT_wxUSE_CHOICEDLG
11330 eval "$ac_cv_use_choicedlg"
11331 if test "$no_cache" != 1; then
11332 echo $ac_cv_use_choicedlg >> ${wx_arg_cache_file}.tmp
11335 if test "$wxUSE_CHOICEDLG" = yes; then
11336 { echo "$as_me:$LINENO: result: yes" >&5
11337 echo "${ECHO_T}yes" >&6; }
11339 { echo "$as_me:$LINENO: result: no" >&5
11340 echo "${ECHO_T}no" >&6; }
11345 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-coldlg" >&5
11346 echo $ECHO_N "checking for --${enablestring:-enable}-coldlg... $ECHO_C" >&6; }
11348 # Check whether --enable-coldlg was given.
11349 if test "${enable_coldlg+set}" = set; then
11350 enableval=$enable_coldlg;
11351 if test "$enableval" = yes; then
11352 ac_cv_use_coldlg='wxUSE_COLOURDLG=yes'
11354 ac_cv_use_coldlg='wxUSE_COLOURDLG=no'
11359 LINE=`grep "^wxUSE_COLOURDLG=" ${wx_arg_cache_file}`
11360 if test "x$LINE" != x ; then
11361 eval "DEFAULT_$LINE"
11366 ac_cv_use_coldlg='wxUSE_COLOURDLG='$DEFAULT_wxUSE_COLOURDLG
11371 eval "$ac_cv_use_coldlg"
11372 if test "$no_cache" != 1; then
11373 echo $ac_cv_use_coldlg >> ${wx_arg_cache_file}.tmp
11376 if test "$wxUSE_COLOURDLG" = yes; then
11377 { echo "$as_me:$LINENO: result: yes" >&5
11378 echo "${ECHO_T}yes" >&6; }
11380 { echo "$as_me:$LINENO: result: no" >&5
11381 echo "${ECHO_T}no" >&6; }
11386 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filedlg" >&5
11387 echo $ECHO_N "checking for --${enablestring:-enable}-filedlg... $ECHO_C" >&6; }
11389 # Check whether --enable-filedlg was given.
11390 if test "${enable_filedlg+set}" = set; then
11391 enableval=$enable_filedlg;
11392 if test "$enableval" = yes; then
11393 ac_cv_use_filedlg='wxUSE_FILEDLG=yes'
11395 ac_cv_use_filedlg='wxUSE_FILEDLG=no'
11400 LINE=`grep "^wxUSE_FILEDLG=" ${wx_arg_cache_file}`
11401 if test "x$LINE" != x ; then
11402 eval "DEFAULT_$LINE"
11407 ac_cv_use_filedlg='wxUSE_FILEDLG='$DEFAULT_wxUSE_FILEDLG
11412 eval "$ac_cv_use_filedlg"
11413 if test "$no_cache" != 1; then
11414 echo $ac_cv_use_filedlg >> ${wx_arg_cache_file}.tmp
11417 if test "$wxUSE_FILEDLG" = yes; then
11418 { echo "$as_me:$LINENO: result: yes" >&5
11419 echo "${ECHO_T}yes" >&6; }
11421 { echo "$as_me:$LINENO: result: no" >&5
11422 echo "${ECHO_T}no" >&6; }
11427 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-finddlg" >&5
11428 echo $ECHO_N "checking for --${enablestring:-enable}-finddlg... $ECHO_C" >&6; }
11430 # Check whether --enable-finddlg was given.
11431 if test "${enable_finddlg+set}" = set; then
11432 enableval=$enable_finddlg;
11433 if test "$enableval" = yes; then
11434 ac_cv_use_finddlg='wxUSE_FINDREPLDLG=yes'
11436 ac_cv_use_finddlg='wxUSE_FINDREPLDLG=no'
11441 LINE=`grep "^wxUSE_FINDREPLDLG=" ${wx_arg_cache_file}`
11442 if test "x$LINE" != x ; then
11443 eval "DEFAULT_$LINE"
11448 ac_cv_use_finddlg='wxUSE_FINDREPLDLG='$DEFAULT_wxUSE_FINDREPLDLG
11453 eval "$ac_cv_use_finddlg"
11454 if test "$no_cache" != 1; then
11455 echo $ac_cv_use_finddlg >> ${wx_arg_cache_file}.tmp
11458 if test "$wxUSE_FINDREPLDLG" = yes; then
11459 { echo "$as_me:$LINENO: result: yes" >&5
11460 echo "${ECHO_T}yes" >&6; }
11462 { echo "$as_me:$LINENO: result: no" >&5
11463 echo "${ECHO_T}no" >&6; }
11468 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontdlg" >&5
11469 echo $ECHO_N "checking for --${enablestring:-enable}-fontdlg... $ECHO_C" >&6; }
11471 # Check whether --enable-fontdlg was given.
11472 if test "${enable_fontdlg+set}" = set; then
11473 enableval=$enable_fontdlg;
11474 if test "$enableval" = yes; then
11475 ac_cv_use_fontdlg='wxUSE_FONTDLG=yes'
11477 ac_cv_use_fontdlg='wxUSE_FONTDLG=no'
11482 LINE=`grep "^wxUSE_FONTDLG=" ${wx_arg_cache_file}`
11483 if test "x$LINE" != x ; then
11484 eval "DEFAULT_$LINE"
11489 ac_cv_use_fontdlg='wxUSE_FONTDLG='$DEFAULT_wxUSE_FONTDLG
11494 eval "$ac_cv_use_fontdlg"
11495 if test "$no_cache" != 1; then
11496 echo $ac_cv_use_fontdlg >> ${wx_arg_cache_file}.tmp
11499 if test "$wxUSE_FONTDLG" = yes; then
11500 { echo "$as_me:$LINENO: result: yes" >&5
11501 echo "${ECHO_T}yes" >&6; }
11503 { echo "$as_me:$LINENO: result: no" >&5
11504 echo "${ECHO_T}no" >&6; }
11509 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dirdlg" >&5
11510 echo $ECHO_N "checking for --${enablestring:-enable}-dirdlg... $ECHO_C" >&6; }
11512 # Check whether --enable-dirdlg was given.
11513 if test "${enable_dirdlg+set}" = set; then
11514 enableval=$enable_dirdlg;
11515 if test "$enableval" = yes; then
11516 ac_cv_use_dirdlg='wxUSE_DIRDLG=yes'
11518 ac_cv_use_dirdlg='wxUSE_DIRDLG=no'
11523 LINE=`grep "^wxUSE_DIRDLG=" ${wx_arg_cache_file}`
11524 if test "x$LINE" != x ; then
11525 eval "DEFAULT_$LINE"
11530 ac_cv_use_dirdlg='wxUSE_DIRDLG='$DEFAULT_wxUSE_DIRDLG
11535 eval "$ac_cv_use_dirdlg"
11536 if test "$no_cache" != 1; then
11537 echo $ac_cv_use_dirdlg >> ${wx_arg_cache_file}.tmp
11540 if test "$wxUSE_DIRDLG" = yes; then
11541 { echo "$as_me:$LINENO: result: yes" >&5
11542 echo "${ECHO_T}yes" >&6; }
11544 { echo "$as_me:$LINENO: result: no" >&5
11545 echo "${ECHO_T}no" >&6; }
11550 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-msgdlg" >&5
11551 echo $ECHO_N "checking for --${enablestring:-enable}-msgdlg... $ECHO_C" >&6; }
11553 # Check whether --enable-msgdlg was given.
11554 if test "${enable_msgdlg+set}" = set; then
11555 enableval=$enable_msgdlg;
11556 if test "$enableval" = yes; then
11557 ac_cv_use_msgdlg='wxUSE_MSGDLG=yes'
11559 ac_cv_use_msgdlg='wxUSE_MSGDLG=no'
11564 LINE=`grep "^wxUSE_MSGDLG=" ${wx_arg_cache_file}`
11565 if test "x$LINE" != x ; then
11566 eval "DEFAULT_$LINE"
11571 ac_cv_use_msgdlg='wxUSE_MSGDLG='$DEFAULT_wxUSE_MSGDLG
11576 eval "$ac_cv_use_msgdlg"
11577 if test "$no_cache" != 1; then
11578 echo $ac_cv_use_msgdlg >> ${wx_arg_cache_file}.tmp
11581 if test "$wxUSE_MSGDLG" = yes; then
11582 { echo "$as_me:$LINENO: result: yes" >&5
11583 echo "${ECHO_T}yes" >&6; }
11585 { echo "$as_me:$LINENO: result: no" >&5
11586 echo "${ECHO_T}no" >&6; }
11591 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-numberdlg" >&5
11592 echo $ECHO_N "checking for --${enablestring:-enable}-numberdlg... $ECHO_C" >&6; }
11594 # Check whether --enable-numberdlg was given.
11595 if test "${enable_numberdlg+set}" = set; then
11596 enableval=$enable_numberdlg;
11597 if test "$enableval" = yes; then
11598 ac_cv_use_numberdlg='wxUSE_NUMBERDLG=yes'
11600 ac_cv_use_numberdlg='wxUSE_NUMBERDLG=no'
11605 LINE=`grep "^wxUSE_NUMBERDLG=" ${wx_arg_cache_file}`
11606 if test "x$LINE" != x ; then
11607 eval "DEFAULT_$LINE"
11612 ac_cv_use_numberdlg='wxUSE_NUMBERDLG='$DEFAULT_wxUSE_NUMBERDLG
11617 eval "$ac_cv_use_numberdlg"
11618 if test "$no_cache" != 1; then
11619 echo $ac_cv_use_numberdlg >> ${wx_arg_cache_file}.tmp
11622 if test "$wxUSE_NUMBERDLG" = yes; then
11623 { echo "$as_me:$LINENO: result: yes" >&5
11624 echo "${ECHO_T}yes" >&6; }
11626 { echo "$as_me:$LINENO: result: no" >&5
11627 echo "${ECHO_T}no" >&6; }
11632 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splash" >&5
11633 echo $ECHO_N "checking for --${enablestring:-enable}-splash... $ECHO_C" >&6; }
11635 # Check whether --enable-splash was given.
11636 if test "${enable_splash+set}" = set; then
11637 enableval=$enable_splash;
11638 if test "$enableval" = yes; then
11639 ac_cv_use_splash='wxUSE_SPLASH=yes'
11641 ac_cv_use_splash='wxUSE_SPLASH=no'
11646 LINE=`grep "^wxUSE_SPLASH=" ${wx_arg_cache_file}`
11647 if test "x$LINE" != x ; then
11648 eval "DEFAULT_$LINE"
11653 ac_cv_use_splash='wxUSE_SPLASH='$DEFAULT_wxUSE_SPLASH
11658 eval "$ac_cv_use_splash"
11659 if test "$no_cache" != 1; then
11660 echo $ac_cv_use_splash >> ${wx_arg_cache_file}.tmp
11663 if test "$wxUSE_SPLASH" = yes; then
11664 { echo "$as_me:$LINENO: result: yes" >&5
11665 echo "${ECHO_T}yes" >&6; }
11667 { echo "$as_me:$LINENO: result: no" >&5
11668 echo "${ECHO_T}no" >&6; }
11673 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textdlg" >&5
11674 echo $ECHO_N "checking for --${enablestring:-enable}-textdlg... $ECHO_C" >&6; }
11676 # Check whether --enable-textdlg was given.
11677 if test "${enable_textdlg+set}" = set; then
11678 enableval=$enable_textdlg;
11679 if test "$enableval" = yes; then
11680 ac_cv_use_textdlg='wxUSE_TEXTDLG=yes'
11682 ac_cv_use_textdlg='wxUSE_TEXTDLG=no'
11687 LINE=`grep "^wxUSE_TEXTDLG=" ${wx_arg_cache_file}`
11688 if test "x$LINE" != x ; then
11689 eval "DEFAULT_$LINE"
11694 ac_cv_use_textdlg='wxUSE_TEXTDLG='$DEFAULT_wxUSE_TEXTDLG
11699 eval "$ac_cv_use_textdlg"
11700 if test "$no_cache" != 1; then
11701 echo $ac_cv_use_textdlg >> ${wx_arg_cache_file}.tmp
11704 if test "$wxUSE_TEXTDLG" = yes; then
11705 { echo "$as_me:$LINENO: result: yes" >&5
11706 echo "${ECHO_T}yes" >&6; }
11708 { echo "$as_me:$LINENO: result: no" >&5
11709 echo "${ECHO_T}no" >&6; }
11714 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipdlg" >&5
11715 echo $ECHO_N "checking for --${enablestring:-enable}-tipdlg... $ECHO_C" >&6; }
11717 # Check whether --enable-tipdlg was given.
11718 if test "${enable_tipdlg+set}" = set; then
11719 enableval=$enable_tipdlg;
11720 if test "$enableval" = yes; then
11721 ac_cv_use_tipdlg='wxUSE_STARTUP_TIPS=yes'
11723 ac_cv_use_tipdlg='wxUSE_STARTUP_TIPS=no'
11728 LINE=`grep "^wxUSE_STARTUP_TIPS=" ${wx_arg_cache_file}`
11729 if test "x$LINE" != x ; then
11730 eval "DEFAULT_$LINE"
11735 ac_cv_use_tipdlg='wxUSE_STARTUP_TIPS='$DEFAULT_wxUSE_STARTUP_TIPS
11740 eval "$ac_cv_use_tipdlg"
11741 if test "$no_cache" != 1; then
11742 echo $ac_cv_use_tipdlg >> ${wx_arg_cache_file}.tmp
11745 if test "$wxUSE_STARTUP_TIPS" = yes; then
11746 { echo "$as_me:$LINENO: result: yes" >&5
11747 echo "${ECHO_T}yes" >&6; }
11749 { echo "$as_me:$LINENO: result: no" >&5
11750 echo "${ECHO_T}no" >&6; }
11755 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-progressdlg" >&5
11756 echo $ECHO_N "checking for --${enablestring:-enable}-progressdlg... $ECHO_C" >&6; }
11758 # Check whether --enable-progressdlg was given.
11759 if test "${enable_progressdlg+set}" = set; then
11760 enableval=$enable_progressdlg;
11761 if test "$enableval" = yes; then
11762 ac_cv_use_progressdlg='wxUSE_PROGRESSDLG=yes'
11764 ac_cv_use_progressdlg='wxUSE_PROGRESSDLG=no'
11769 LINE=`grep "^wxUSE_PROGRESSDLG=" ${wx_arg_cache_file}`
11770 if test "x$LINE" != x ; then
11771 eval "DEFAULT_$LINE"
11776 ac_cv_use_progressdlg='wxUSE_PROGRESSDLG='$DEFAULT_wxUSE_PROGRESSDLG
11781 eval "$ac_cv_use_progressdlg"
11782 if test "$no_cache" != 1; then
11783 echo $ac_cv_use_progressdlg >> ${wx_arg_cache_file}.tmp
11786 if test "$wxUSE_PROGRESSDLG" = yes; then
11787 { echo "$as_me:$LINENO: result: yes" >&5
11788 echo "${ECHO_T}yes" >&6; }
11790 { echo "$as_me:$LINENO: result: no" >&5
11791 echo "${ECHO_T}no" >&6; }
11796 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-wizarddlg" >&5
11797 echo $ECHO_N "checking for --${enablestring:-enable}-wizarddlg... $ECHO_C" >&6; }
11799 # Check whether --enable-wizarddlg was given.
11800 if test "${enable_wizarddlg+set}" = set; then
11801 enableval=$enable_wizarddlg;
11802 if test "$enableval" = yes; then
11803 ac_cv_use_wizarddlg='wxUSE_WIZARDDLG=yes'
11805 ac_cv_use_wizarddlg='wxUSE_WIZARDDLG=no'
11810 LINE=`grep "^wxUSE_WIZARDDLG=" ${wx_arg_cache_file}`
11811 if test "x$LINE" != x ; then
11812 eval "DEFAULT_$LINE"
11817 ac_cv_use_wizarddlg='wxUSE_WIZARDDLG='$DEFAULT_wxUSE_WIZARDDLG
11822 eval "$ac_cv_use_wizarddlg"
11823 if test "$no_cache" != 1; then
11824 echo $ac_cv_use_wizarddlg >> ${wx_arg_cache_file}.tmp
11827 if test "$wxUSE_WIZARDDLG" = yes; then
11828 { echo "$as_me:$LINENO: result: yes" >&5
11829 echo "${ECHO_T}yes" >&6; }
11831 { echo "$as_me:$LINENO: result: no" >&5
11832 echo "${ECHO_T}no" >&6; }
11839 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-menus" >&5
11840 echo $ECHO_N "checking for --${enablestring:-enable}-menus... $ECHO_C" >&6; }
11842 # Check whether --enable-menus was given.
11843 if test "${enable_menus+set}" = set; then
11844 enableval=$enable_menus;
11845 if test "$enableval" = yes; then
11846 ac_cv_use_menus='wxUSE_MENUS=yes'
11848 ac_cv_use_menus='wxUSE_MENUS=no'
11853 LINE=`grep "^wxUSE_MENUS=" ${wx_arg_cache_file}`
11854 if test "x$LINE" != x ; then
11855 eval "DEFAULT_$LINE"
11860 ac_cv_use_menus='wxUSE_MENUS='$DEFAULT_wxUSE_MENUS
11865 eval "$ac_cv_use_menus"
11866 if test "$no_cache" != 1; then
11867 echo $ac_cv_use_menus >> ${wx_arg_cache_file}.tmp
11870 if test "$wxUSE_MENUS" = yes; then
11871 { echo "$as_me:$LINENO: result: yes" >&5
11872 echo "${ECHO_T}yes" >&6; }
11874 { echo "$as_me:$LINENO: result: no" >&5
11875 echo "${ECHO_T}no" >&6; }
11880 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-miniframe" >&5
11881 echo $ECHO_N "checking for --${enablestring:-enable}-miniframe... $ECHO_C" >&6; }
11883 # Check whether --enable-miniframe was given.
11884 if test "${enable_miniframe+set}" = set; then
11885 enableval=$enable_miniframe;
11886 if test "$enableval" = yes; then
11887 ac_cv_use_miniframe='wxUSE_MINIFRAME=yes'
11889 ac_cv_use_miniframe='wxUSE_MINIFRAME=no'
11894 LINE=`grep "^wxUSE_MINIFRAME=" ${wx_arg_cache_file}`
11895 if test "x$LINE" != x ; then
11896 eval "DEFAULT_$LINE"
11901 ac_cv_use_miniframe='wxUSE_MINIFRAME='$DEFAULT_wxUSE_MINIFRAME
11906 eval "$ac_cv_use_miniframe"
11907 if test "$no_cache" != 1; then
11908 echo $ac_cv_use_miniframe >> ${wx_arg_cache_file}.tmp
11911 if test "$wxUSE_MINIFRAME" = yes; then
11912 { echo "$as_me:$LINENO: result: yes" >&5
11913 echo "${ECHO_T}yes" >&6; }
11915 { echo "$as_me:$LINENO: result: no" >&5
11916 echo "${ECHO_T}no" >&6; }
11921 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tooltips" >&5
11922 echo $ECHO_N "checking for --${enablestring:-enable}-tooltips... $ECHO_C" >&6; }
11924 # Check whether --enable-tooltips was given.
11925 if test "${enable_tooltips+set}" = set; then
11926 enableval=$enable_tooltips;
11927 if test "$enableval" = yes; then
11928 ac_cv_use_tooltips='wxUSE_TOOLTIPS=yes'
11930 ac_cv_use_tooltips='wxUSE_TOOLTIPS=no'
11935 LINE=`grep "^wxUSE_TOOLTIPS=" ${wx_arg_cache_file}`
11936 if test "x$LINE" != x ; then
11937 eval "DEFAULT_$LINE"
11942 ac_cv_use_tooltips='wxUSE_TOOLTIPS='$DEFAULT_wxUSE_TOOLTIPS
11947 eval "$ac_cv_use_tooltips"
11948 if test "$no_cache" != 1; then
11949 echo $ac_cv_use_tooltips >> ${wx_arg_cache_file}.tmp
11952 if test "$wxUSE_TOOLTIPS" = yes; then
11953 { echo "$as_me:$LINENO: result: yes" >&5
11954 echo "${ECHO_T}yes" >&6; }
11956 { echo "$as_me:$LINENO: result: no" >&5
11957 echo "${ECHO_T}no" >&6; }
11962 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splines" >&5
11963 echo $ECHO_N "checking for --${enablestring:-enable}-splines... $ECHO_C" >&6; }
11965 # Check whether --enable-splines was given.
11966 if test "${enable_splines+set}" = set; then
11967 enableval=$enable_splines;
11968 if test "$enableval" = yes; then
11969 ac_cv_use_splines='wxUSE_SPLINES=yes'
11971 ac_cv_use_splines='wxUSE_SPLINES=no'
11976 LINE=`grep "^wxUSE_SPLINES=" ${wx_arg_cache_file}`
11977 if test "x$LINE" != x ; then
11978 eval "DEFAULT_$LINE"
11983 ac_cv_use_splines='wxUSE_SPLINES='$DEFAULT_wxUSE_SPLINES
11988 eval "$ac_cv_use_splines"
11989 if test "$no_cache" != 1; then
11990 echo $ac_cv_use_splines >> ${wx_arg_cache_file}.tmp
11993 if test "$wxUSE_SPLINES" = yes; then
11994 { echo "$as_me:$LINENO: result: yes" >&5
11995 echo "${ECHO_T}yes" >&6; }
11997 { echo "$as_me:$LINENO: result: no" >&5
11998 echo "${ECHO_T}no" >&6; }
12003 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mousewheel" >&5
12004 echo $ECHO_N "checking for --${enablestring:-enable}-mousewheel... $ECHO_C" >&6; }
12006 # Check whether --enable-mousewheel was given.
12007 if test "${enable_mousewheel+set}" = set; then
12008 enableval=$enable_mousewheel;
12009 if test "$enableval" = yes; then
12010 ac_cv_use_mousewheel='wxUSE_MOUSEWHEEL=yes'
12012 ac_cv_use_mousewheel='wxUSE_MOUSEWHEEL=no'
12017 LINE=`grep "^wxUSE_MOUSEWHEEL=" ${wx_arg_cache_file}`
12018 if test "x$LINE" != x ; then
12019 eval "DEFAULT_$LINE"
12024 ac_cv_use_mousewheel='wxUSE_MOUSEWHEEL='$DEFAULT_wxUSE_MOUSEWHEEL
12029 eval "$ac_cv_use_mousewheel"
12030 if test "$no_cache" != 1; then
12031 echo $ac_cv_use_mousewheel >> ${wx_arg_cache_file}.tmp
12034 if test "$wxUSE_MOUSEWHEEL" = yes; then
12035 { echo "$as_me:$LINENO: result: yes" >&5
12036 echo "${ECHO_T}yes" >&6; }
12038 { echo "$as_me:$LINENO: result: no" >&5
12039 echo "${ECHO_T}no" >&6; }
12044 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-validators" >&5
12045 echo $ECHO_N "checking for --${enablestring:-enable}-validators... $ECHO_C" >&6; }
12047 # Check whether --enable-validators was given.
12048 if test "${enable_validators+set}" = set; then
12049 enableval=$enable_validators;
12050 if test "$enableval" = yes; then
12051 ac_cv_use_validators='wxUSE_VALIDATORS=yes'
12053 ac_cv_use_validators='wxUSE_VALIDATORS=no'
12058 LINE=`grep "^wxUSE_VALIDATORS=" ${wx_arg_cache_file}`
12059 if test "x$LINE" != x ; then
12060 eval "DEFAULT_$LINE"
12065 ac_cv_use_validators='wxUSE_VALIDATORS='$DEFAULT_wxUSE_VALIDATORS
12070 eval "$ac_cv_use_validators"
12071 if test "$no_cache" != 1; then
12072 echo $ac_cv_use_validators >> ${wx_arg_cache_file}.tmp
12075 if test "$wxUSE_VALIDATORS" = yes; then
12076 { echo "$as_me:$LINENO: result: yes" >&5
12077 echo "${ECHO_T}yes" >&6; }
12079 { echo "$as_me:$LINENO: result: no" >&5
12080 echo "${ECHO_T}no" >&6; }
12085 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-busyinfo" >&5
12086 echo $ECHO_N "checking for --${enablestring:-enable}-busyinfo... $ECHO_C" >&6; }
12088 # Check whether --enable-busyinfo was given.
12089 if test "${enable_busyinfo+set}" = set; then
12090 enableval=$enable_busyinfo;
12091 if test "$enableval" = yes; then
12092 ac_cv_use_busyinfo='wxUSE_BUSYINFO=yes'
12094 ac_cv_use_busyinfo='wxUSE_BUSYINFO=no'
12099 LINE=`grep "^wxUSE_BUSYINFO=" ${wx_arg_cache_file}`
12100 if test "x$LINE" != x ; then
12101 eval "DEFAULT_$LINE"
12106 ac_cv_use_busyinfo='wxUSE_BUSYINFO='$DEFAULT_wxUSE_BUSYINFO
12111 eval "$ac_cv_use_busyinfo"
12112 if test "$no_cache" != 1; then
12113 echo $ac_cv_use_busyinfo >> ${wx_arg_cache_file}.tmp
12116 if test "$wxUSE_BUSYINFO" = yes; then
12117 { echo "$as_me:$LINENO: result: yes" >&5
12118 echo "${ECHO_T}yes" >&6; }
12120 { echo "$as_me:$LINENO: result: no" >&5
12121 echo "${ECHO_T}no" >&6; }
12126 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-joystick" >&5
12127 echo $ECHO_N "checking for --${enablestring:-enable}-joystick... $ECHO_C" >&6; }
12129 # Check whether --enable-joystick was given.
12130 if test "${enable_joystick+set}" = set; then
12131 enableval=$enable_joystick;
12132 if test "$enableval" = yes; then
12133 ac_cv_use_joystick='wxUSE_JOYSTICK=yes'
12135 ac_cv_use_joystick='wxUSE_JOYSTICK=no'
12140 LINE=`grep "^wxUSE_JOYSTICK=" ${wx_arg_cache_file}`
12141 if test "x$LINE" != x ; then
12142 eval "DEFAULT_$LINE"
12147 ac_cv_use_joystick='wxUSE_JOYSTICK='$DEFAULT_wxUSE_JOYSTICK
12152 eval "$ac_cv_use_joystick"
12153 if test "$no_cache" != 1; then
12154 echo $ac_cv_use_joystick >> ${wx_arg_cache_file}.tmp
12157 if test "$wxUSE_JOYSTICK" = yes; then
12158 { echo "$as_me:$LINENO: result: yes" >&5
12159 echo "${ECHO_T}yes" >&6; }
12161 { echo "$as_me:$LINENO: result: no" >&5
12162 echo "${ECHO_T}no" >&6; }
12167 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
12168 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6; }
12170 # Check whether --enable-metafile was given.
12171 if test "${enable_metafile+set}" = set; then
12172 enableval=$enable_metafile;
12173 if test "$enableval" = yes; then
12174 ac_cv_use_metafile='wxUSE_METAFILE=yes'
12176 ac_cv_use_metafile='wxUSE_METAFILE=no'
12181 LINE=`grep "^wxUSE_METAFILE=" ${wx_arg_cache_file}`
12182 if test "x$LINE" != x ; then
12183 eval "DEFAULT_$LINE"
12188 ac_cv_use_metafile='wxUSE_METAFILE='$DEFAULT_wxUSE_METAFILE
12193 eval "$ac_cv_use_metafile"
12194 if test "$no_cache" != 1; then
12195 echo $ac_cv_use_metafile >> ${wx_arg_cache_file}.tmp
12198 if test "$wxUSE_METAFILE" = yes; then
12199 { echo "$as_me:$LINENO: result: yes" >&5
12200 echo "${ECHO_T}yes" >&6; }
12202 { echo "$as_me:$LINENO: result: no" >&5
12203 echo "${ECHO_T}no" >&6; }
12208 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dragimage" >&5
12209 echo $ECHO_N "checking for --${enablestring:-enable}-dragimage... $ECHO_C" >&6; }
12211 # Check whether --enable-dragimage was given.
12212 if test "${enable_dragimage+set}" = set; then
12213 enableval=$enable_dragimage;
12214 if test "$enableval" = yes; then
12215 ac_cv_use_dragimage='wxUSE_DRAGIMAGE=yes'
12217 ac_cv_use_dragimage='wxUSE_DRAGIMAGE=no'
12222 LINE=`grep "^wxUSE_DRAGIMAGE=" ${wx_arg_cache_file}`
12223 if test "x$LINE" != x ; then
12224 eval "DEFAULT_$LINE"
12229 ac_cv_use_dragimage='wxUSE_DRAGIMAGE='$DEFAULT_wxUSE_DRAGIMAGE
12234 eval "$ac_cv_use_dragimage"
12235 if test "$no_cache" != 1; then
12236 echo $ac_cv_use_dragimage >> ${wx_arg_cache_file}.tmp
12239 if test "$wxUSE_DRAGIMAGE" = yes; then
12240 { echo "$as_me:$LINENO: result: yes" >&5
12241 echo "${ECHO_T}yes" >&6; }
12243 { echo "$as_me:$LINENO: result: no" >&5
12244 echo "${ECHO_T}no" >&6; }
12249 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accessibility" >&5
12250 echo $ECHO_N "checking for --${enablestring:-enable}-accessibility... $ECHO_C" >&6; }
12252 # Check whether --enable-accessibility was given.
12253 if test "${enable_accessibility+set}" = set; then
12254 enableval=$enable_accessibility;
12255 if test "$enableval" = yes; then
12256 ac_cv_use_accessibility='wxUSE_ACCESSIBILITY=yes'
12258 ac_cv_use_accessibility='wxUSE_ACCESSIBILITY=no'
12263 LINE=`grep "^wxUSE_ACCESSIBILITY=" ${wx_arg_cache_file}`
12264 if test "x$LINE" != x ; then
12265 eval "DEFAULT_$LINE"
12270 ac_cv_use_accessibility='wxUSE_ACCESSIBILITY='$DEFAULT_wxUSE_ACCESSIBILITY
12275 eval "$ac_cv_use_accessibility"
12276 if test "$no_cache" != 1; then
12277 echo $ac_cv_use_accessibility >> ${wx_arg_cache_file}.tmp
12280 if test "$wxUSE_ACCESSIBILITY" = yes; then
12281 { echo "$as_me:$LINENO: result: yes" >&5
12282 echo "${ECHO_T}yes" >&6; }
12284 { echo "$as_me:$LINENO: result: no" >&5
12285 echo "${ECHO_T}no" >&6; }
12289 if test "$wxUSE_MSW" = "1"; then
12292 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dccache" >&5
12293 echo $ECHO_N "checking for --${enablestring:-enable}-dccache... $ECHO_C" >&6; }
12295 # Check whether --enable-dccache was given.
12296 if test "${enable_dccache+set}" = set; then
12297 enableval=$enable_dccache;
12298 if test "$enableval" = yes; then
12299 ac_cv_use_dccache='wxUSE_DC_CACHEING=yes'
12301 ac_cv_use_dccache='wxUSE_DC_CACHEING=no'
12306 LINE=`grep "^wxUSE_DC_CACHEING=" ${wx_arg_cache_file}`
12307 if test "x$LINE" != x ; then
12308 eval "DEFAULT_$LINE"
12313 ac_cv_use_dccache='wxUSE_DC_CACHEING='$DEFAULT_wxUSE_DC_CACHEING
12318 eval "$ac_cv_use_dccache"
12319 if test "$no_cache" != 1; then
12320 echo $ac_cv_use_dccache >> ${wx_arg_cache_file}.tmp
12323 if test "$wxUSE_DC_CACHEING" = yes; then
12324 { echo "$as_me:$LINENO: result: yes" >&5
12325 echo "${ECHO_T}yes" >&6; }
12327 { echo "$as_me:$LINENO: result: no" >&5
12328 echo "${ECHO_T}no" >&6; }
12336 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-palette" >&5
12337 echo $ECHO_N "checking for --${enablestring:-enable}-palette... $ECHO_C" >&6; }
12339 # Check whether --enable-palette was given.
12340 if test "${enable_palette+set}" = set; then
12341 enableval=$enable_palette;
12342 if test "$enableval" = yes; then
12343 ac_cv_use_palette='wxUSE_PALETTE=yes'
12345 ac_cv_use_palette='wxUSE_PALETTE=no'
12350 LINE=`grep "^wxUSE_PALETTE=" ${wx_arg_cache_file}`
12351 if test "x$LINE" != x ; then
12352 eval "DEFAULT_$LINE"
12357 ac_cv_use_palette='wxUSE_PALETTE='$DEFAULT_wxUSE_PALETTE
12362 eval "$ac_cv_use_palette"
12363 if test "$no_cache" != 1; then
12364 echo $ac_cv_use_palette >> ${wx_arg_cache_file}.tmp
12367 if test "$wxUSE_PALETTE" = yes; then
12368 { echo "$as_me:$LINENO: result: yes" >&5
12369 echo "${ECHO_T}yes" >&6; }
12371 { echo "$as_me:$LINENO: result: no" >&5
12372 echo "${ECHO_T}no" >&6; }
12377 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-image" >&5
12378 echo $ECHO_N "checking for --${enablestring:-enable}-image... $ECHO_C" >&6; }
12380 # Check whether --enable-image was given.
12381 if test "${enable_image+set}" = set; then
12382 enableval=$enable_image;
12383 if test "$enableval" = yes; then
12384 ac_cv_use_image='wxUSE_IMAGE=yes'
12386 ac_cv_use_image='wxUSE_IMAGE=no'
12391 LINE=`grep "^wxUSE_IMAGE=" ${wx_arg_cache_file}`
12392 if test "x$LINE" != x ; then
12393 eval "DEFAULT_$LINE"
12398 ac_cv_use_image='wxUSE_IMAGE='$DEFAULT_wxUSE_IMAGE
12403 eval "$ac_cv_use_image"
12404 if test "$no_cache" != 1; then
12405 echo $ac_cv_use_image >> ${wx_arg_cache_file}.tmp
12408 if test "$wxUSE_IMAGE" = yes; then
12409 { echo "$as_me:$LINENO: result: yes" >&5
12410 echo "${ECHO_T}yes" >&6; }
12412 { echo "$as_me:$LINENO: result: no" >&5
12413 echo "${ECHO_T}no" >&6; }
12418 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gif" >&5
12419 echo $ECHO_N "checking for --${enablestring:-enable}-gif... $ECHO_C" >&6; }
12421 # Check whether --enable-gif was given.
12422 if test "${enable_gif+set}" = set; then
12423 enableval=$enable_gif;
12424 if test "$enableval" = yes; then
12425 ac_cv_use_gif='wxUSE_GIF=yes'
12427 ac_cv_use_gif='wxUSE_GIF=no'
12432 LINE=`grep "^wxUSE_GIF=" ${wx_arg_cache_file}`
12433 if test "x$LINE" != x ; then
12434 eval "DEFAULT_$LINE"
12439 ac_cv_use_gif='wxUSE_GIF='$DEFAULT_wxUSE_GIF
12444 eval "$ac_cv_use_gif"
12445 if test "$no_cache" != 1; then
12446 echo $ac_cv_use_gif >> ${wx_arg_cache_file}.tmp
12449 if test "$wxUSE_GIF" = yes; then
12450 { echo "$as_me:$LINENO: result: yes" >&5
12451 echo "${ECHO_T}yes" >&6; }
12453 { echo "$as_me:$LINENO: result: no" >&5
12454 echo "${ECHO_T}no" >&6; }
12459 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pcx" >&5
12460 echo $ECHO_N "checking for --${enablestring:-enable}-pcx... $ECHO_C" >&6; }
12462 # Check whether --enable-pcx was given.
12463 if test "${enable_pcx+set}" = set; then
12464 enableval=$enable_pcx;
12465 if test "$enableval" = yes; then
12466 ac_cv_use_pcx='wxUSE_PCX=yes'
12468 ac_cv_use_pcx='wxUSE_PCX=no'
12473 LINE=`grep "^wxUSE_PCX=" ${wx_arg_cache_file}`
12474 if test "x$LINE" != x ; then
12475 eval "DEFAULT_$LINE"
12480 ac_cv_use_pcx='wxUSE_PCX='$DEFAULT_wxUSE_PCX
12485 eval "$ac_cv_use_pcx"
12486 if test "$no_cache" != 1; then
12487 echo $ac_cv_use_pcx >> ${wx_arg_cache_file}.tmp
12490 if test "$wxUSE_PCX" = yes; then
12491 { echo "$as_me:$LINENO: result: yes" >&5
12492 echo "${ECHO_T}yes" >&6; }
12494 { echo "$as_me:$LINENO: result: no" >&5
12495 echo "${ECHO_T}no" >&6; }
12500 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tga" >&5
12501 echo $ECHO_N "checking for --${enablestring:-enable}-tga... $ECHO_C" >&6; }
12503 # Check whether --enable-tga was given.
12504 if test "${enable_tga+set}" = set; then
12505 enableval=$enable_tga;
12506 if test "$enableval" = yes; then
12507 ac_cv_use_tga='wxUSE_TGA=yes'
12509 ac_cv_use_tga='wxUSE_TGA=no'
12514 LINE=`grep "^wxUSE_TGA=" ${wx_arg_cache_file}`
12515 if test "x$LINE" != x ; then
12516 eval "DEFAULT_$LINE"
12521 ac_cv_use_tga='wxUSE_TGA='$DEFAULT_wxUSE_TGA
12526 eval "$ac_cv_use_tga"
12527 if test "$no_cache" != 1; then
12528 echo $ac_cv_use_tga >> ${wx_arg_cache_file}.tmp
12531 if test "$wxUSE_TGA" = yes; then
12532 { echo "$as_me:$LINENO: result: yes" >&5
12533 echo "${ECHO_T}yes" >&6; }
12535 { echo "$as_me:$LINENO: result: no" >&5
12536 echo "${ECHO_T}no" >&6; }
12541 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-iff" >&5
12542 echo $ECHO_N "checking for --${enablestring:-enable}-iff... $ECHO_C" >&6; }
12544 # Check whether --enable-iff was given.
12545 if test "${enable_iff+set}" = set; then
12546 enableval=$enable_iff;
12547 if test "$enableval" = yes; then
12548 ac_cv_use_iff='wxUSE_IFF=yes'
12550 ac_cv_use_iff='wxUSE_IFF=no'
12555 LINE=`grep "^wxUSE_IFF=" ${wx_arg_cache_file}`
12556 if test "x$LINE" != x ; then
12557 eval "DEFAULT_$LINE"
12562 ac_cv_use_iff='wxUSE_IFF='$DEFAULT_wxUSE_IFF
12567 eval "$ac_cv_use_iff"
12568 if test "$no_cache" != 1; then
12569 echo $ac_cv_use_iff >> ${wx_arg_cache_file}.tmp
12572 if test "$wxUSE_IFF" = yes; then
12573 { echo "$as_me:$LINENO: result: yes" >&5
12574 echo "${ECHO_T}yes" >&6; }
12576 { echo "$as_me:$LINENO: result: no" >&5
12577 echo "${ECHO_T}no" >&6; }
12582 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pnm" >&5
12583 echo $ECHO_N "checking for --${enablestring:-enable}-pnm... $ECHO_C" >&6; }
12585 # Check whether --enable-pnm was given.
12586 if test "${enable_pnm+set}" = set; then
12587 enableval=$enable_pnm;
12588 if test "$enableval" = yes; then
12589 ac_cv_use_pnm='wxUSE_PNM=yes'
12591 ac_cv_use_pnm='wxUSE_PNM=no'
12596 LINE=`grep "^wxUSE_PNM=" ${wx_arg_cache_file}`
12597 if test "x$LINE" != x ; then
12598 eval "DEFAULT_$LINE"
12603 ac_cv_use_pnm='wxUSE_PNM='$DEFAULT_wxUSE_PNM
12608 eval "$ac_cv_use_pnm"
12609 if test "$no_cache" != 1; then
12610 echo $ac_cv_use_pnm >> ${wx_arg_cache_file}.tmp
12613 if test "$wxUSE_PNM" = yes; then
12614 { echo "$as_me:$LINENO: result: yes" >&5
12615 echo "${ECHO_T}yes" >&6; }
12617 { echo "$as_me:$LINENO: result: no" >&5
12618 echo "${ECHO_T}no" >&6; }
12623 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xpm" >&5
12624 echo $ECHO_N "checking for --${enablestring:-enable}-xpm... $ECHO_C" >&6; }
12626 # Check whether --enable-xpm was given.
12627 if test "${enable_xpm+set}" = set; then
12628 enableval=$enable_xpm;
12629 if test "$enableval" = yes; then
12630 ac_cv_use_xpm='wxUSE_XPM=yes'
12632 ac_cv_use_xpm='wxUSE_XPM=no'
12637 LINE=`grep "^wxUSE_XPM=" ${wx_arg_cache_file}`
12638 if test "x$LINE" != x ; then
12639 eval "DEFAULT_$LINE"
12644 ac_cv_use_xpm='wxUSE_XPM='$DEFAULT_wxUSE_XPM
12649 eval "$ac_cv_use_xpm"
12650 if test "$no_cache" != 1; then
12651 echo $ac_cv_use_xpm >> ${wx_arg_cache_file}.tmp
12654 if test "$wxUSE_XPM" = yes; then
12655 { echo "$as_me:$LINENO: result: yes" >&5
12656 echo "${ECHO_T}yes" >&6; }
12658 { echo "$as_me:$LINENO: result: no" >&5
12659 echo "${ECHO_T}no" >&6; }
12664 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ico_cur" >&5
12665 echo $ECHO_N "checking for --${enablestring:-enable}-ico_cur... $ECHO_C" >&6; }
12667 # Check whether --enable-ico_cur was given.
12668 if test "${enable_ico_cur+set}" = set; then
12669 enableval=$enable_ico_cur;
12670 if test "$enableval" = yes; then
12671 ac_cv_use_ico_cur='wxUSE_ICO_CUR=yes'
12673 ac_cv_use_ico_cur='wxUSE_ICO_CUR=no'
12678 LINE=`grep "^wxUSE_ICO_CUR=" ${wx_arg_cache_file}`
12679 if test "x$LINE" != x ; then
12680 eval "DEFAULT_$LINE"
12685 ac_cv_use_ico_cur='wxUSE_ICO_CUR='$DEFAULT_wxUSE_ICO_CUR
12690 eval "$ac_cv_use_ico_cur"
12691 if test "$no_cache" != 1; then
12692 echo $ac_cv_use_ico_cur >> ${wx_arg_cache_file}.tmp
12695 if test "$wxUSE_ICO_CUR" = yes; then
12696 { echo "$as_me:$LINENO: result: yes" >&5
12697 echo "${ECHO_T}yes" >&6; }
12699 { echo "$as_me:$LINENO: result: no" >&5
12700 echo "${ECHO_T}no" >&6; }
12708 # Check whether --with-flavour was given.
12709 if test "${with_flavour+set}" = set; then
12710 withval=$with_flavour; WX_FLAVOUR="$withval"
12717 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-official_build" >&5
12718 echo $ECHO_N "checking for --${enablestring:-enable}-official_build... $ECHO_C" >&6; }
12720 # Check whether --enable-official_build was given.
12721 if test "${enable_official_build+set}" = set; then
12722 enableval=$enable_official_build;
12723 if test "$enableval" = yes; then
12724 ac_cv_use_official_build='wxUSE_OFFICIAL_BUILD=yes'
12726 ac_cv_use_official_build='wxUSE_OFFICIAL_BUILD=no'
12731 LINE=`grep "^wxUSE_OFFICIAL_BUILD=" ${wx_arg_cache_file}`
12732 if test "x$LINE" != x ; then
12733 eval "DEFAULT_$LINE"
12738 ac_cv_use_official_build='wxUSE_OFFICIAL_BUILD='$DEFAULT_wxUSE_OFFICIAL_BUILD
12743 eval "$ac_cv_use_official_build"
12744 if test "$no_cache" != 1; then
12745 echo $ac_cv_use_official_build >> ${wx_arg_cache_file}.tmp
12748 if test "$wxUSE_OFFICIAL_BUILD" = yes; then
12749 { echo "$as_me:$LINENO: result: yes" >&5
12750 echo "${ECHO_T}yes" >&6; }
12752 { echo "$as_me:$LINENO: result: no" >&5
12753 echo "${ECHO_T}no" >&6; }
12756 # Check whether --enable-vendor was given.
12757 if test "${enable_vendor+set}" = set; then
12758 enableval=$enable_vendor; VENDOR="$enableval"
12761 if test "x$VENDOR" = "x"; then
12768 echo "saving argument cache $wx_arg_cache_file"
12769 mv ${wx_arg_cache_file}.tmp ${wx_arg_cache_file}
12773 { echo "$as_me:$LINENO: checking for toolkit" >&5
12774 echo $ECHO_N "checking for toolkit... $ECHO_C" >&6; }
12776 # In Wine, we need to default to MSW, not GTK or MOTIF
12777 if test "$wxUSE_WINE" = "yes"; then
12778 DEFAULT_DEFAULT_wxUSE_GTK=0
12779 DEFAULT_DEFAULT_wxUSE_MOTIF=0
12780 DEFAULT_DEFAULT_wxUSE_MSW=1
12783 CXX=${CXX:-wineg++}
12787 if test "$wxUSE_GUI" = "yes"; then
12789 if test "$USE_BEOS" = 1; then
12790 { { echo "$as_me:$LINENO: error: BeOS GUI is not supported yet, use --disable-gui" >&5
12791 echo "$as_me: error: BeOS GUI is not supported yet, use --disable-gui" >&2;}
12792 { (exit 1); exit 1; }; }
12795 if test "$TOOLKIT_GIVEN" = 1; then
12796 for toolkit in `echo $ALL_TOOLKITS`; do
12798 eval "value=\$${var}"
12799 if test "x$value" = "xno"; then
12801 elif test "x$value" != "x"; then
12805 if test "x$value" != "x" -a "x$value" != "xyes" -a "x$value" != "xno"; then
12806 eval "wx${toolkit}_VERSION=$value"
12810 for toolkit in `echo $ALL_TOOLKITS`; do
12811 if test "$has_toolkit_in_cache" != 1; then
12812 var=DEFAULT_DEFAULT_wxUSE_$toolkit
12814 var=DEFAULT_wxUSE_$toolkit
12816 eval "version=\$DEFAULT_wx${toolkit}_VERSION"
12817 if test "x$version" != "x"; then
12818 eval "wx${toolkit}_VERSION=$version"
12821 eval "wxUSE_$toolkit=\$${var}"
12825 NUM_TOOLKITS=`expr ${wxUSE_COCOA:-0} + ${wxUSE_GTK:-0} + ${wxUSE_MAC:-0} \
12826 + ${wxUSE_MGL:-0} + ${wxUSE_DFB:-0} + ${wxUSE_MICROWIN:-0} \
12827 + ${wxUSE_MOTIF:-0} + ${wxUSE_MSW:-0} + ${wxUSE_X11:-0}`
12830 *-pc-os2_emx | *-pc-os2-emx )
12831 NUM_TOOLKITS=`expr ${NUM_TOOLKITS} + ${wxUSE_PM:-0}`
12834 case "$NUM_TOOLKITS" in
12838 { { echo "$as_me:$LINENO: error: Please specify a toolkit -- cannot determine the default for ${host}" >&5
12839 echo "$as_me: error: Please specify a toolkit -- cannot determine the default for ${host}" >&2;}
12840 { (exit 1); exit 1; }; }
12843 { { echo "$as_me:$LINENO: error: Please specify at most one toolkit (maybe some are cached in configarg.cache?)" >&5
12844 echo "$as_me: error: Please specify at most one toolkit (maybe some are cached in configarg.cache?)" >&2;}
12845 { (exit 1); exit 1; }; }
12848 # to be removed when --disable-gtk2 isn't needed
12849 if test "x$wxUSE_GTK2" = "xyes"; then
12851 elif test "x$wxUSE_GTK2" = "xno"; then
12855 for toolkit in `echo $ALL_TOOLKITS`; do
12857 eval "value=\$${var}"
12858 if test "x$value" != x; then
12859 cache_var=CACHE_$toolkit
12860 eval "cache=\$${cache_var}"
12861 if test "$cache" = 1; then
12862 echo "$var=$value" >> ${wx_arg_cache_file}
12863 eval "version=\$wx${toolkit}_VERSION"
12864 if test "x$version" != "x"; then
12865 echo "wx${toolkit}_VERSION=$version" >> ${wx_arg_cache_file}
12868 if test "$value" = 1; then
12869 toolkit_echo=`echo $toolkit | tr "[A-Z]" "[a-z]"`
12870 { echo "$as_me:$LINENO: result: $toolkit_echo" >&5
12871 echo "${ECHO_T}$toolkit_echo" >&6; }
12876 if test "x$host_alias" != "x"; then
12877 { echo "$as_me:$LINENO: result: base ($host_alias hosted) only" >&5
12878 echo "${ECHO_T}base ($host_alias hosted) only" >&6; }
12880 { echo "$as_me:$LINENO: result: base only" >&5
12881 echo "${ECHO_T}base only" >&6; }
12886 cat >confcache <<\_ACEOF
12887 # This file is a shell script that caches the results of configure
12888 # tests run on this system so they can be shared between configure
12889 # scripts and configure runs, see configure's option --config-cache.
12890 # It is not useful on other systems. If it contains results you don't
12891 # want to keep, you may remove or edit it.
12893 # config.status only pays attention to the cache file if you give it
12894 # the --recheck option to rerun configure.
12896 # `ac_cv_env_foo
' variables (set or unset) will be overridden when
12897 # loading this file, other *unset* `ac_cv_foo' will be assigned the
12898 # following values.
12902 # The following way of writing the cache mishandles newlines in values,
12903 # but we know of no workaround that is simple, portable, and efficient.
12904 # So, we kill variables containing newlines.
12905 # Ultrix sh set writes to stderr and can't be redirected directly,
12906 # and sets the high bit in the cache file unless we assign to the vars.
12908 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
12909 eval ac_val
=\$
$ac_var
12913 *_cv_
*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
12914 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
12917 _
| IFS
| as_nl
) ;; #(
12918 *) $as_unset $ac_var ;;
12924 case $as_nl`(ac_space=' '; set) 2>&1` in #(
12925 *${as_nl}ac_space
=\
*)
12926 # `set' does not quote correctly, so add quotes (double-quote
12927 # substitution turns \\\\ into \\, and sed turns \\ into \).
12930 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
12933 # `set' quotes correctly as required by POSIX, so do not add quotes.
12934 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
12943 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
12945 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
12947 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
12948 if test -w "$cache_file"; then
12949 test "x$cache_file" != "x/dev/null" &&
12950 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
12951 echo "$as_me: updating cache $cache_file" >&6;}
12952 cat confcache
>$cache_file
12954 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
12955 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
12965 ac_cpp
='$CPP $CPPFLAGS'
12966 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12967 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12968 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12969 if test -n "$ac_tool_prefix"; then
12970 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
12971 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
12972 { echo "$as_me:$LINENO: checking for $ac_word" >&5
12973 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
12974 if test "${ac_cv_prog_CC+set}" = set; then
12975 echo $ECHO_N "(cached) $ECHO_C" >&6
12977 if test -n "$CC"; then
12978 ac_cv_prog_CC
="$CC" # Let the user override the test.
12980 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12981 for as_dir
in $PATH
12984 test -z "$as_dir" && as_dir
=.
12985 for ac_exec_ext
in '' $ac_executable_extensions; do
12986 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12987 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
12988 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12998 if test -n "$CC"; then
12999 { echo "$as_me:$LINENO: result: $CC" >&5
13000 echo "${ECHO_T}$CC" >&6; }
13002 { echo "$as_me:$LINENO: result: no" >&5
13003 echo "${ECHO_T}no" >&6; }
13008 if test -z "$ac_cv_prog_CC"; then
13010 # Extract the first word of "gcc", so it can be a program name with args.
13011 set dummy gcc
; ac_word
=$2
13012 { echo "$as_me:$LINENO: checking for $ac_word" >&5
13013 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
13014 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
13015 echo $ECHO_N "(cached) $ECHO_C" >&6
13017 if test -n "$ac_ct_CC"; then
13018 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
13020 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13021 for as_dir
in $PATH
13024 test -z "$as_dir" && as_dir
=.
13025 for ac_exec_ext
in '' $ac_executable_extensions; do
13026 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13027 ac_cv_prog_ac_ct_CC
="gcc"
13028 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13037 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
13038 if test -n "$ac_ct_CC"; then
13039 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
13040 echo "${ECHO_T}$ac_ct_CC" >&6; }
13042 { echo "$as_me:$LINENO: result: no" >&5
13043 echo "${ECHO_T}no" >&6; }
13046 if test "x$ac_ct_CC" = x
; then
13049 case $cross_compiling:$ac_tool_warned in
13051 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
13052 whose name does not start with the host triplet. If you think this
13053 configuration is useful to you, please write to autoconf@gnu.org." >&5
13054 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
13055 whose name does not start with the host triplet. If you think this
13056 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
13057 ac_tool_warned
=yes ;;
13062 CC
="$ac_cv_prog_CC"
13065 if test -z "$CC"; then
13066 if test -n "$ac_tool_prefix"; then
13067 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
13068 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
13069 { echo "$as_me:$LINENO: checking for $ac_word" >&5
13070 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
13071 if test "${ac_cv_prog_CC+set}" = set; then
13072 echo $ECHO_N "(cached) $ECHO_C" >&6
13074 if test -n "$CC"; then
13075 ac_cv_prog_CC
="$CC" # Let the user override the test.
13077 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13078 for as_dir
in $PATH
13081 test -z "$as_dir" && as_dir
=.
13082 for ac_exec_ext
in '' $ac_executable_extensions; do
13083 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13084 ac_cv_prog_CC
="${ac_tool_prefix}cc"
13085 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13095 if test -n "$CC"; then
13096 { echo "$as_me:$LINENO: result: $CC" >&5
13097 echo "${ECHO_T}$CC" >&6; }
13099 { echo "$as_me:$LINENO: result: no" >&5
13100 echo "${ECHO_T}no" >&6; }
13106 if test -z "$CC"; then
13107 # Extract the first word of "cc", so it can be a program name with args.
13108 set dummy cc
; ac_word
=$2
13109 { echo "$as_me:$LINENO: checking for $ac_word" >&5
13110 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
13111 if test "${ac_cv_prog_CC+set}" = set; then
13112 echo $ECHO_N "(cached) $ECHO_C" >&6
13114 if test -n "$CC"; then
13115 ac_cv_prog_CC
="$CC" # Let the user override the test.
13117 ac_prog_rejected
=no
13118 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13119 for as_dir
in $PATH
13122 test -z "$as_dir" && as_dir
=.
13123 for ac_exec_ext
in '' $ac_executable_extensions; do
13124 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13125 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
13126 ac_prog_rejected
=yes
13130 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13137 if test $ac_prog_rejected = yes; then
13138 # We found a bogon in the path, so make sure we never use it.
13139 set dummy
$ac_cv_prog_CC
13141 if test $# != 0; then
13142 # We chose a different compiler from the bogus one.
13143 # However, it has the same basename, so the bogon will be chosen
13144 # first if we set CC to just the basename; use the full file name.
13146 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
13152 if test -n "$CC"; then
13153 { echo "$as_me:$LINENO: result: $CC" >&5
13154 echo "${ECHO_T}$CC" >&6; }
13156 { echo "$as_me:$LINENO: result: no" >&5
13157 echo "${ECHO_T}no" >&6; }
13162 if test -z "$CC"; then
13163 if test -n "$ac_tool_prefix"; then
13164 for ac_prog
in cl.exe
13166 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
13167 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
13168 { echo "$as_me:$LINENO: checking for $ac_word" >&5
13169 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
13170 if test "${ac_cv_prog_CC+set}" = set; then
13171 echo $ECHO_N "(cached) $ECHO_C" >&6
13173 if test -n "$CC"; then
13174 ac_cv_prog_CC
="$CC" # Let the user override the test.
13176 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13177 for as_dir
in $PATH
13180 test -z "$as_dir" && as_dir
=.
13181 for ac_exec_ext
in '' $ac_executable_extensions; do
13182 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13183 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
13184 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13194 if test -n "$CC"; then
13195 { echo "$as_me:$LINENO: result: $CC" >&5
13196 echo "${ECHO_T}$CC" >&6; }
13198 { echo "$as_me:$LINENO: result: no" >&5
13199 echo "${ECHO_T}no" >&6; }
13203 test -n "$CC" && break
13206 if test -z "$CC"; then
13208 for ac_prog
in cl.exe
13210 # Extract the first word of "$ac_prog", so it can be a program name with args.
13211 set dummy
$ac_prog; ac_word
=$2
13212 { echo "$as_me:$LINENO: checking for $ac_word" >&5
13213 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
13214 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
13215 echo $ECHO_N "(cached) $ECHO_C" >&6
13217 if test -n "$ac_ct_CC"; then
13218 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
13220 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13221 for as_dir
in $PATH
13224 test -z "$as_dir" && as_dir
=.
13225 for ac_exec_ext
in '' $ac_executable_extensions; do
13226 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13227 ac_cv_prog_ac_ct_CC
="$ac_prog"
13228 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13237 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
13238 if test -n "$ac_ct_CC"; then
13239 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
13240 echo "${ECHO_T}$ac_ct_CC" >&6; }
13242 { echo "$as_me:$LINENO: result: no" >&5
13243 echo "${ECHO_T}no" >&6; }
13247 test -n "$ac_ct_CC" && break
13250 if test "x$ac_ct_CC" = x
; then
13253 case $cross_compiling:$ac_tool_warned in
13255 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
13256 whose name does not start with the host triplet. If you think this
13257 configuration is useful to you, please write to autoconf@gnu.org." >&5
13258 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
13259 whose name does not start with the host triplet. If you think this
13260 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
13261 ac_tool_warned
=yes ;;
13270 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
13271 See \`config.log' for more details." >&5
13272 echo "$as_me: error: no acceptable C compiler found in \$PATH
13273 See \`config.log' for more details." >&2;}
13274 { (exit 1); exit 1; }; }
13276 # Provide some information about the compiler.
13277 echo "$as_me:$LINENO: checking for C compiler version" >&5
13278 ac_compiler
=`set X $ac_compile; echo $2`
13279 { (ac_try
="$ac_compiler --version >&5"
13280 case "(($ac_try" in
13281 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
13282 *) ac_try_echo=$ac_try;;
13284 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13285 (eval "$ac_compiler --version >&5") 2>&5
13287 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13288 (exit $ac_status); }
13289 { (ac_try="$ac_compiler -v >&5"
13290 case "(($ac_try" in
13291 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
13292 *) ac_try_echo
=$ac_try;;
13294 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13295 (eval "$ac_compiler -v >&5") 2>&5
13297 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13298 (exit $ac_status); }
13299 { (ac_try
="$ac_compiler -V >&5"
13300 case "(($ac_try" in
13301 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
13302 *) ac_try_echo=$ac_try;;
13304 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13305 (eval "$ac_compiler -V >&5") 2>&5
13307 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13308 (exit $ac_status); }
13310 cat >conftest.$ac_ext <<_ACEOF
13313 cat confdefs.h >>conftest.$ac_ext
13314 cat >>conftest.$ac_ext <<_ACEOF
13315 /* end confdefs.h. */
13325 ac_clean_files_save=$ac_clean_files
13326 ac_clean_files="$ac_clean_files a.out a.exe b.out"
13327 # Try to create an executable without -o first, disregard a.out.
13328 # It will help us diagnose broken compilers, and finding out an intuition
13330 { echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
13331 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
13332 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
13334 # List of possible output files, starting from the most likely.
13335 # The algorithm is not robust to junk in `.
', hence go to wildcards (a.*)
13336 # only as a last resort. b.out is created by i960 compilers.
13337 ac_files='a_out.exe a.exe conftest.exe a.out conftest a.
* conftest.
* b.out
'
13339 # The IRIX 6 linker writes into existing files which may not be
13340 # executable, retaining their permissions. Remove them first so a
13341 # subsequent execution test works.
13343 for ac_file in $ac_files
13346 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
13347 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
13352 if { (ac_try="$ac_link_default"
13353 case "(($ac_try" in
13354 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13355 *) ac_try_echo=$ac_try;;
13357 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13358 (eval "$ac_link_default") 2>&5
13360 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13361 (exit $ac_status); }; then
13362 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
13363 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
13364 # in a Makefile. We should not override ac_cv_exeext if it was cached,
13365 # so that the user can short-circuit this test for compilers unknown to
13367 for ac_file
in $ac_files ''
13369 test -f "$ac_file" || continue
13371 *.
$ac_ext | *.xcoff
| *.tds
| *.d
| *.pdb
| *.xSYM
| *.bb
| *.bbg
| *.map
| *.inf
| *.o
| *.obj
)
13374 # We found the default executable, but exeext='' is most
13378 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
13380 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
13382 # We set ac_cv_exeext here because the later test for it is not
13383 # safe: cross compilers may not add the suffix if given an `-o'
13384 # argument, so we may need to know it at that point already.
13385 # Even if this section looks crufty: it has the advantage of
13386 # actually working.
13392 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
13398 { echo "$as_me:$LINENO: result: $ac_file" >&5
13399 echo "${ECHO_T}$ac_file" >&6; }
13400 if test -z "$ac_file"; then
13401 echo "$as_me: failed program was:" >&5
13402 sed 's/^/| /' conftest.
$ac_ext >&5
13404 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
13405 See \`config.log' for more details." >&5
13406 echo "$as_me: error: C compiler cannot create executables
13407 See \`config.log' for more details." >&2;}
13408 { (exit 77); exit 77; }; }
13411 ac_exeext
=$ac_cv_exeext
13413 # Check that the compiler produces executables we can run. If not, either
13414 # the compiler is broken, or we cross compile.
13415 { echo "$as_me:$LINENO: checking whether the C compiler works" >&5
13416 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
13417 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
13418 # If not cross compiling, check that we can run a simple program.
13419 if test "$cross_compiling" != yes; then
13420 if { ac_try
='./$ac_file'
13421 { (case "(($ac_try" in
13422 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
13423 *) ac_try_echo=$ac_try;;
13425 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13426 (eval "$ac_try") 2>&5
13428 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13429 (exit $ac_status); }; }; then
13432 if test "$cross_compiling" = maybe; then
13433 cross_compiling=yes
13435 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
13436 If you meant to cross compile, use \`--host'.
13437 See \`config.log' for more details.
" >&5
13438 echo "$as_me: error
: cannot run C compiled programs.
13439 If you meant to cross compile
, use \
`--host'.
13440 See \`config.log
' for more details." >&2;}
13441 { (exit 1); exit 1; }; }
13445 { echo "$as_me:$LINENO: result: yes" >&5
13446 echo "${ECHO_T}yes" >&6; }
13448 rm -f a.out a.exe conftest$ac_cv_exeext b.out
13449 ac_clean_files=$ac_clean_files_save
13450 # Check that the compiler produces executables we can run. If not, either
13451 # the compiler is broken, or we cross compile.
13452 { echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
13453 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
13454 { echo "$as_me:$LINENO: result: $cross_compiling" >&5
13455 echo "${ECHO_T}$cross_compiling" >&6; }
13457 { echo "$as_me:$LINENO: checking for suffix of executables" >&5
13458 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
13459 if { (ac_try="$ac_link"
13460 case "(($ac_try" in
13461 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13462 *) ac_try_echo=$ac_try;;
13464 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13465 (eval "$ac_link") 2>&5
13467 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13468 (exit $ac_status); }; then
13469 # If both `conftest.exe' and
`conftest' are `present
' (well, observable)
13470 # catch `conftest.exe'. For instance with Cygwin
, `ls conftest' will
13471 # work properly (i.e., refer to `conftest.exe
'), while it won't with
13473 for ac_file
in conftest.exe conftest conftest.
*; do
13474 test -f "$ac_file" || continue
13476 *.
$ac_ext | *.xcoff
| *.tds
| *.d
| *.pdb
| *.xSYM
| *.bb
| *.bbg
| *.map
| *.inf
| *.o
| *.obj
) ;;
13477 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
13483 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
13484 See \`config.log' for more details." >&5
13485 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
13486 See \`config.log' for more details." >&2;}
13487 { (exit 1); exit 1; }; }
13490 rm -f conftest
$ac_cv_exeext
13491 { echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
13492 echo "${ECHO_T}$ac_cv_exeext" >&6; }
13494 rm -f conftest.
$ac_ext
13495 EXEEXT
=$ac_cv_exeext
13497 { echo "$as_me:$LINENO: checking for suffix of object files" >&5
13498 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
13499 if test "${ac_cv_objext+set}" = set; then
13500 echo $ECHO_N "(cached) $ECHO_C" >&6
13502 cat >conftest.
$ac_ext <<_ACEOF
13505 cat confdefs.h
>>conftest.
$ac_ext
13506 cat >>conftest.
$ac_ext <<_ACEOF
13507 /* end confdefs.h. */
13517 rm -f conftest.o conftest.obj
13518 if { (ac_try
="$ac_compile"
13519 case "(($ac_try" in
13520 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
13521 *) ac_try_echo=$ac_try;;
13523 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13524 (eval "$ac_compile") 2>&5
13526 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13527 (exit $ac_status); }; then
13528 for ac_file in conftest.o conftest.obj conftest.*; do
13529 test -f "$ac_file" || continue;
13531 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
13532 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
13537 echo "$as_me: failed program was:" >&5
13538 sed 's/^/| /' conftest.$ac_ext >&5
13540 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
13541 See \`config.log
' for more details." >&5
13542 echo "$as_me: error: cannot compute suffix of object files: cannot compile
13543 See \`config.log' for more details.
" >&2;}
13544 { (exit 1); exit 1; }; }
13547 rm -f conftest.$ac_cv_objext conftest.$ac_ext
13549 { echo "$as_me:$LINENO: result
: $ac_cv_objext" >&5
13550 echo "${ECHO_T}$ac_cv_objext" >&6; }
13551 OBJEXT=$ac_cv_objext
13553 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler
" >&5
13554 echo $ECHO_N "checking whether we are using the GNU C compiler...
$ECHO_C" >&6; }
13555 if test "${ac_cv_c_compiler_gnu+set}" = set; then
13556 echo $ECHO_N "(cached
) $ECHO_C" >&6
13558 cat >conftest.$ac_ext <<_ACEOF
13561 cat confdefs.h >>conftest.$ac_ext
13562 cat >>conftest.$ac_ext <<_ACEOF
13563 /* end confdefs.h. */
13576 rm -f conftest.$ac_objext
13577 if { (ac_try="$ac_compile"
13578 case "(($ac_try" in
13579 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13580 *) ac_try_echo=$ac_try;;
13582 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
13583 (eval "$ac_compile") 2>conftest.er1
13585 grep -v '^ *+' conftest.er1 >conftest.err
13587 cat conftest.err >&5
13588 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
13589 (exit $ac_status); } && {
13590 test -z "$ac_c_werror_flag" ||
13591 test ! -s conftest.err
13592 } && test -s conftest.$ac_objext; then
13593 ac_compiler_gnu=yes
13595 echo "$as_me: failed program was
:" >&5
13596 sed 's/^/| /' conftest.$ac_ext >&5
13601 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13602 ac_cv_c_compiler_gnu=$ac_compiler_gnu
13605 { echo "$as_me:$LINENO: result
: $ac_cv_c_compiler_gnu" >&5
13606 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
13607 GCC=`test $ac_compiler_gnu = yes && echo yes`
13608 ac_test_CFLAGS=${CFLAGS+set}
13609 ac_save_CFLAGS=$CFLAGS
13610 { echo "$as_me:$LINENO: checking whether
$CC accepts
-g" >&5
13611 echo $ECHO_N "checking whether
$CC accepts
-g...
$ECHO_C" >&6; }
13612 if test "${ac_cv_prog_cc_g+set}" = set; then
13613 echo $ECHO_N "(cached
) $ECHO_C" >&6
13615 ac_save_c_werror_flag=$ac_c_werror_flag
13616 ac_c_werror_flag=yes
13619 cat >conftest.$ac_ext <<_ACEOF
13622 cat confdefs.h >>conftest.$ac_ext
13623 cat >>conftest.$ac_ext <<_ACEOF
13624 /* end confdefs.h. */
13634 rm -f conftest.$ac_objext
13635 if { (ac_try="$ac_compile"
13636 case "(($ac_try" in
13637 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13638 *) ac_try_echo=$ac_try;;
13640 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
13641 (eval "$ac_compile") 2>conftest.er1
13643 grep -v '^ *+' conftest.er1 >conftest.err
13645 cat conftest.err >&5
13646 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
13647 (exit $ac_status); } && {
13648 test -z "$ac_c_werror_flag" ||
13649 test ! -s conftest.err
13650 } && test -s conftest.$ac_objext; then
13651 ac_cv_prog_cc_g=yes
13653 echo "$as_me: failed program was
:" >&5
13654 sed 's/^/| /' conftest.$ac_ext >&5
13657 cat >conftest.$ac_ext <<_ACEOF
13660 cat confdefs.h >>conftest.$ac_ext
13661 cat >>conftest.$ac_ext <<_ACEOF
13662 /* end confdefs.h. */
13672 rm -f conftest.$ac_objext
13673 if { (ac_try="$ac_compile"
13674 case "(($ac_try" in
13675 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13676 *) ac_try_echo=$ac_try;;
13678 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
13679 (eval "$ac_compile") 2>conftest.er1
13681 grep -v '^ *+' conftest.er1 >conftest.err
13683 cat conftest.err >&5
13684 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
13685 (exit $ac_status); } && {
13686 test -z "$ac_c_werror_flag" ||
13687 test ! -s conftest.err
13688 } && test -s conftest.$ac_objext; then
13691 echo "$as_me: failed program was
:" >&5
13692 sed 's/^/| /' conftest.$ac_ext >&5
13694 ac_c_werror_flag=$ac_save_c_werror_flag
13696 cat >conftest.$ac_ext <<_ACEOF
13699 cat confdefs.h >>conftest.$ac_ext
13700 cat >>conftest.$ac_ext <<_ACEOF
13701 /* end confdefs.h. */
13711 rm -f conftest.$ac_objext
13712 if { (ac_try="$ac_compile"
13713 case "(($ac_try" in
13714 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13715 *) ac_try_echo=$ac_try;;
13717 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
13718 (eval "$ac_compile") 2>conftest.er1
13720 grep -v '^ *+' conftest.er1 >conftest.err
13722 cat conftest.err >&5
13723 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
13724 (exit $ac_status); } && {
13725 test -z "$ac_c_werror_flag" ||
13726 test ! -s conftest.err
13727 } && test -s conftest.$ac_objext; then
13728 ac_cv_prog_cc_g=yes
13730 echo "$as_me: failed program was
:" >&5
13731 sed 's/^/| /' conftest.$ac_ext >&5
13736 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13739 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13742 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13743 ac_c_werror_flag=$ac_save_c_werror_flag
13745 { echo "$as_me:$LINENO: result
: $ac_cv_prog_cc_g" >&5
13746 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
13747 if test "$ac_test_CFLAGS" = set; then
13748 CFLAGS=$ac_save_CFLAGS
13749 elif test $ac_cv_prog_cc_g = yes; then
13750 if test "$GCC" = yes; then
13756 if test "$GCC" = yes; then
13762 { echo "$as_me:$LINENO: checking
for $CC option to accept ISO C89
" >&5
13763 echo $ECHO_N "checking
for $CC option to accept ISO C89...
$ECHO_C" >&6; }
13764 if test "${ac_cv_prog_cc_c89+set}" = set; then
13765 echo $ECHO_N "(cached
) $ECHO_C" >&6
13767 ac_cv_prog_cc_c89=no
13769 cat >conftest.$ac_ext <<_ACEOF
13772 cat confdefs.h >>conftest.$ac_ext
13773 cat >>conftest.$ac_ext <<_ACEOF
13774 /* end confdefs.h. */
13775 #include <stdarg.h>
13777 #include <sys/types.h>
13778 #include <sys/stat.h>
13779 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
13780 struct buf { int x; };
13781 FILE * (*rcsopen) (struct buf *, struct stat *, int);
13782 static char *e (p, i)
13788 static char *f (char * (*g) (char **, int), char **p, ...)
13793 s = g (p, va_arg (v,int));
13798 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
13799 function prototypes and stuff, but not '\xHH' hex character constants.
13800 These don't provoke an error unfortunately, instead are silently treated
13801 as 'x'. The following induces an error, until -std is added to get
13802 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
13803 array size at least. It's necessary to write '\x00'==0 to get something
13804 that's true only with -std. */
13805 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
13807 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
13808 inside strings and character constants. */
13810 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
13812 int test (int i, double x);
13813 struct s1 {int (*f) (int a);};
13814 struct s2 {int (*f) (double a);};
13815 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
13821 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
13826 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
13827 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
13829 CC="$ac_save_CC $ac_arg"
13830 rm -f conftest.$ac_objext
13831 if { (ac_try="$ac_compile"
13832 case "(($ac_try" in
13833 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13834 *) ac_try_echo=$ac_try;;
13836 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
13837 (eval "$ac_compile") 2>conftest.er1
13839 grep -v '^ *+' conftest.er1 >conftest.err
13841 cat conftest.err >&5
13842 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
13843 (exit $ac_status); } && {
13844 test -z "$ac_c_werror_flag" ||
13845 test ! -s conftest.err
13846 } && test -s conftest.$ac_objext; then
13847 ac_cv_prog_cc_c89=$ac_arg
13849 echo "$as_me: failed program was
:" >&5
13850 sed 's/^/| /' conftest.$ac_ext >&5
13855 rm -f core conftest.err conftest.$ac_objext
13856 test "x
$ac_cv_prog_cc_c89" != "xno
" && break
13858 rm -f conftest.$ac_ext
13863 case "x
$ac_cv_prog_cc_c89" in
13865 { echo "$as_me:$LINENO: result
: none needed
" >&5
13866 echo "${ECHO_T}none needed
" >&6; } ;;
13868 { echo "$as_me:$LINENO: result
: unsupported
" >&5
13869 echo "${ECHO_T}unsupported
" >&6; } ;;
13871 CC="$CC $ac_cv_prog_cc_c89"
13872 { echo "$as_me:$LINENO: result
: $ac_cv_prog_cc_c89" >&5
13873 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
13878 ac_cpp='$CPP $CPPFLAGS'
13879 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13880 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13881 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13887 ac_cpp='$CPP $CPPFLAGS'
13888 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13889 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13890 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13892 { echo "$as_me:$LINENO: checking whether we are using the Intel C compiler
" >&5
13893 echo $ECHO_N "checking whether we are using the Intel C compiler...
$ECHO_C" >&6; }
13894 if test "${bakefile_cv_c_compiler___INTEL_COMPILER+set}" = set; then
13895 echo $ECHO_N "(cached
) $ECHO_C" >&6
13897 cat >conftest.$ac_ext <<_ACEOF
13900 cat confdefs.h >>conftest.$ac_ext
13901 cat >>conftest.$ac_ext <<_ACEOF
13902 /* end confdefs.h. */
13908 #ifndef __INTEL_COMPILER
13916 rm -f conftest.$ac_objext
13917 if { (ac_try="$ac_compile"
13918 case "(($ac_try" in
13919 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13920 *) ac_try_echo=$ac_try;;
13922 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
13923 (eval "$ac_compile") 2>conftest.er1
13925 grep -v '^ *+' conftest.er1 >conftest.err
13927 cat conftest.err >&5
13928 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
13929 (exit $ac_status); } && {
13930 test -z "$ac_c_werror_flag" ||
13931 test ! -s conftest.err
13932 } && test -s conftest.$ac_objext; then
13933 bakefile_cv_c_compiler___INTEL_COMPILER=yes
13935 echo "$as_me: failed program was
:" >&5
13936 sed 's/^/| /' conftest.$ac_ext >&5
13938 bakefile_cv_c_compiler___INTEL_COMPILER=no
13942 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13946 { echo "$as_me:$LINENO: result
: $bakefile_cv_c_compiler___INTEL_COMPILER" >&5
13947 echo "${ECHO_T}$bakefile_cv_c_compiler___INTEL_COMPILER" >&6; }
13948 if test "x
$bakefile_cv_c_compiler___INTEL_COMPILER" = "xyes
"; then
13954 ac_cpp='$CPP $CPPFLAGS'
13955 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13956 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13957 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13962 if test "x
$GCC" != "xyes
"; then
13963 if test "xCC
" = "xC
"; then
13964 { echo "$as_me:$LINENO: checking
if the C compiler requires
-ext o
" >&5
13965 echo $ECHO_N "checking
if the C compiler requires
-ext o...
$ECHO_C" >&6; }
13966 if test "${bakefile_cv_c_exto+set}" = set; then
13967 echo $ECHO_N "(cached
) $ECHO_C" >&6
13969 cat >conftest.$ac_ext <<_ACEOF
13972 cat confdefs.h >>conftest.$ac_ext
13973 cat >>conftest.$ac_ext <<_ACEOF
13974 /* end confdefs.h. */
13984 rm -f conftest.$ac_objext conftest.$ac_ext.o
13985 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13986 (eval $ac_compile) 2>&5
13988 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
13989 (exit $ac_status); }; then
13990 for ac_file in `(ls conftest.* 2>/dev/null)`; do
13992 conftest.$ac_ext.o)
13993 bakefile_cv_c_exto="-ext o
"
14000 { { echo "$as_me:$LINENO: error
: cannot figure out
if compiler needs
-ext o
: cannot compile
14001 See \
`config.log' for more details." >&5
14002 echo "$as_me: error: cannot figure out if compiler needs -ext o: cannot compile
14003 See \`config.log
' for more details." >&2;}
14004 { (exit 1); exit 1; }; }
14008 rm -f conftest.$ac_ext.o conftest.$ac_objext conftest.$ac_ext
14011 { echo "$as_me:$LINENO: result: $bakefile_cv_c_exto" >&5
14012 echo "${ECHO_T}$bakefile_cv_c_exto" >&6; }
14013 if test "x$bakefile_cv_c_exto" '!=' "x"; then
14014 if test "c" = "c"; then
14015 CFLAGS="$bakefile_cv_c_exto $CFLAGS"
14017 if test "c" = "cxx"; then
14018 CXXFLAGS="$bakefile_cv_c_exto $CXXFLAGS"
14022 if test "x$bakefile_cv_c_exto" '!=' "x"; then
14023 unset ac_cv_prog_cc_g
14024 ac_test_CFLAGS=${CFLAGS+set}
14025 ac_save_CFLAGS=$CFLAGS
14026 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
14027 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
14028 if test "${ac_cv_prog_cc_g+set}" = set; then
14029 echo $ECHO_N "(cached) $ECHO_C" >&6
14031 ac_save_c_werror_flag=$ac_c_werror_flag
14032 ac_c_werror_flag=yes
14035 cat >conftest.$ac_ext <<_ACEOF
14038 cat confdefs.h >>conftest.$ac_ext
14039 cat >>conftest.$ac_ext <<_ACEOF
14040 /* end confdefs.h. */
14050 rm -f conftest.$ac_objext
14051 if { (ac_try="$ac_compile"
14052 case "(($ac_try" in
14053 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14054 *) ac_try_echo=$ac_try;;
14056 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14057 (eval "$ac_compile") 2>conftest.er1
14059 grep -v '^
*+' conftest.er1 >conftest.err
14061 cat conftest.err >&5
14062 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14063 (exit $ac_status); } && {
14064 test -z "$ac_c_werror_flag" ||
14065 test ! -s conftest.err
14066 } && test -s conftest.$ac_objext; then
14067 ac_cv_prog_cc_g=yes
14069 echo "$as_me: failed program was:" >&5
14070 sed 's
/^
/| /' conftest.$ac_ext >&5
14073 cat >conftest.$ac_ext <<_ACEOF
14076 cat confdefs.h >>conftest.$ac_ext
14077 cat >>conftest.$ac_ext <<_ACEOF
14078 /* end confdefs.h. */
14088 rm -f conftest.$ac_objext
14089 if { (ac_try="$ac_compile"
14090 case "(($ac_try" in
14091 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14092 *) ac_try_echo=$ac_try;;
14094 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14095 (eval "$ac_compile") 2>conftest.er1
14097 grep -v '^
*+' conftest.er1 >conftest.err
14099 cat conftest.err >&5
14100 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14101 (exit $ac_status); } && {
14102 test -z "$ac_c_werror_flag" ||
14103 test ! -s conftest.err
14104 } && test -s conftest.$ac_objext; then
14107 echo "$as_me: failed program was:" >&5
14108 sed 's
/^
/| /' conftest.$ac_ext >&5
14110 ac_c_werror_flag=$ac_save_c_werror_flag
14112 cat >conftest.$ac_ext <<_ACEOF
14115 cat confdefs.h >>conftest.$ac_ext
14116 cat >>conftest.$ac_ext <<_ACEOF
14117 /* end confdefs.h. */
14127 rm -f conftest.$ac_objext
14128 if { (ac_try="$ac_compile"
14129 case "(($ac_try" in
14130 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14131 *) ac_try_echo=$ac_try;;
14133 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14134 (eval "$ac_compile") 2>conftest.er1
14136 grep -v '^
*+' conftest.er1 >conftest.err
14138 cat conftest.err >&5
14139 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14140 (exit $ac_status); } && {
14141 test -z "$ac_c_werror_flag" ||
14142 test ! -s conftest.err
14143 } && test -s conftest.$ac_objext; then
14144 ac_cv_prog_cc_g=yes
14146 echo "$as_me: failed program was:" >&5
14147 sed 's
/^
/| /' conftest.$ac_ext >&5
14152 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14155 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14158 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14159 ac_c_werror_flag=$ac_save_c_werror_flag
14161 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
14162 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
14163 if test "$ac_test_CFLAGS" = set; then
14164 CFLAGS=$ac_save_CFLAGS
14165 elif test $ac_cv_prog_cc_g = yes; then
14166 if test "$GCC" = yes; then
14172 if test "$GCC" = yes; then
14186 ac_cpp='$CPP $CPPFLAGS'
14187 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
14188 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
14189 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14191 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C compiler" >&5
14192 echo $ECHO_N "checking whether we are using the IBM xlC C compiler... $ECHO_C" >&6; }
14193 if test "${bakefile_cv_c_compiler___xlC__+set}" = set; then
14194 echo $ECHO_N "(cached) $ECHO_C" >&6
14196 cat >conftest.$ac_ext <<_ACEOF
14199 cat confdefs.h >>conftest.$ac_ext
14200 cat >>conftest.$ac_ext <<_ACEOF
14201 /* end confdefs.h. */
14215 rm -f conftest.$ac_objext
14216 if { (ac_try="$ac_compile"
14217 case "(($ac_try" in
14218 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14219 *) ac_try_echo=$ac_try;;
14221 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14222 (eval "$ac_compile") 2>conftest.er1
14224 grep -v '^
*+' conftest.er1 >conftest.err
14226 cat conftest.err >&5
14227 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14228 (exit $ac_status); } && {
14229 test -z "$ac_c_werror_flag" ||
14230 test ! -s conftest.err
14231 } && test -s conftest.$ac_objext; then
14232 bakefile_cv_c_compiler___xlC__=yes
14234 echo "$as_me: failed program was:" >&5
14235 sed 's
/^
/| /' conftest.$ac_ext >&5
14237 bakefile_cv_c_compiler___xlC__=no
14241 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14245 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___xlC__" >&5
14246 echo "${ECHO_T}$bakefile_cv_c_compiler___xlC__" >&6; }
14247 if test "x$bakefile_cv_c_compiler___xlC__" = "xyes"; then
14253 ac_cpp='$CPP $CPPFLAGS'
14254 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
14255 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
14256 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14266 ac_cpp='$CPP $CPPFLAGS'
14267 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
14268 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
14269 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14271 { echo "$as_me:$LINENO: checking whether we are using the Metrowerks C compiler" >&5
14272 echo $ECHO_N "checking whether we are using the Metrowerks C compiler... $ECHO_C" >&6; }
14273 if test "${bakefile_cv_c_compiler___MWERKS__+set}" = set; then
14274 echo $ECHO_N "(cached) $ECHO_C" >&6
14276 cat >conftest.$ac_ext <<_ACEOF
14279 cat confdefs.h >>conftest.$ac_ext
14280 cat >>conftest.$ac_ext <<_ACEOF
14281 /* end confdefs.h. */
14295 rm -f conftest.$ac_objext
14296 if { (ac_try="$ac_compile"
14297 case "(($ac_try" in
14298 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14299 *) ac_try_echo=$ac_try;;
14301 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14302 (eval "$ac_compile") 2>conftest.er1
14304 grep -v '^
*+' conftest.er1 >conftest.err
14306 cat conftest.err >&5
14307 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14308 (exit $ac_status); } && {
14309 test -z "$ac_c_werror_flag" ||
14310 test ! -s conftest.err
14311 } && test -s conftest.$ac_objext; then
14312 bakefile_cv_c_compiler___MWERKS__=yes
14314 echo "$as_me: failed program was:" >&5
14315 sed 's
/^
/| /' conftest.$ac_ext >&5
14317 bakefile_cv_c_compiler___MWERKS__=no
14321 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14325 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___MWERKS__" >&5
14326 echo "${ECHO_T}$bakefile_cv_c_compiler___MWERKS__" >&6; }
14327 if test "x$bakefile_cv_c_compiler___MWERKS__" = "xyes"; then
14333 ac_cpp='$CPP $CPPFLAGS'
14334 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
14335 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
14336 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14343 ac_cpp='$CPP $CPPFLAGS'
14344 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
14345 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
14346 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14348 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C compiler" >&5
14349 echo $ECHO_N "checking whether we are using the IBM xlC C compiler... $ECHO_C" >&6; }
14350 if test "${bakefile_cv_c_compiler___xlC__+set}" = set; then
14351 echo $ECHO_N "(cached) $ECHO_C" >&6
14353 cat >conftest.$ac_ext <<_ACEOF
14356 cat confdefs.h >>conftest.$ac_ext
14357 cat >>conftest.$ac_ext <<_ACEOF
14358 /* end confdefs.h. */
14372 rm -f conftest.$ac_objext
14373 if { (ac_try="$ac_compile"
14374 case "(($ac_try" in
14375 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14376 *) ac_try_echo=$ac_try;;
14378 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14379 (eval "$ac_compile") 2>conftest.er1
14381 grep -v '^
*+' conftest.er1 >conftest.err
14383 cat conftest.err >&5
14384 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14385 (exit $ac_status); } && {
14386 test -z "$ac_c_werror_flag" ||
14387 test ! -s conftest.err
14388 } && test -s conftest.$ac_objext; then
14389 bakefile_cv_c_compiler___xlC__=yes
14391 echo "$as_me: failed program was:" >&5
14392 sed 's
/^
/| /' conftest.$ac_ext >&5
14394 bakefile_cv_c_compiler___xlC__=no
14398 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14402 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___xlC__" >&5
14403 echo "${ECHO_T}$bakefile_cv_c_compiler___xlC__" >&6; }
14404 if test "x$bakefile_cv_c_compiler___xlC__" = "xyes"; then
14410 ac_cpp='$CPP $CPPFLAGS'
14411 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
14412 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
14413 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14423 ac_cpp='$CPP $CPPFLAGS'
14424 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
14425 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
14426 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14428 { echo "$as_me:$LINENO: checking whether we are using the SGI C compiler" >&5
14429 echo $ECHO_N "checking whether we are using the SGI C compiler... $ECHO_C" >&6; }
14430 if test "${bakefile_cv_c_compiler__SGI_COMPILER_VERSION+set}" = set; then
14431 echo $ECHO_N "(cached) $ECHO_C" >&6
14433 cat >conftest.$ac_ext <<_ACEOF
14436 cat confdefs.h >>conftest.$ac_ext
14437 cat >>conftest.$ac_ext <<_ACEOF
14438 /* end confdefs.h. */
14444 #ifndef _SGI_COMPILER_VERSION
14452 rm -f conftest.$ac_objext
14453 if { (ac_try="$ac_compile"
14454 case "(($ac_try" in
14455 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14456 *) ac_try_echo=$ac_try;;
14458 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14459 (eval "$ac_compile") 2>conftest.er1
14461 grep -v '^
*+' conftest.er1 >conftest.err
14463 cat conftest.err >&5
14464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14465 (exit $ac_status); } && {
14466 test -z "$ac_c_werror_flag" ||
14467 test ! -s conftest.err
14468 } && test -s conftest.$ac_objext; then
14469 bakefile_cv_c_compiler__SGI_COMPILER_VERSION=yes
14471 echo "$as_me: failed program was:" >&5
14472 sed 's
/^
/| /' conftest.$ac_ext >&5
14474 bakefile_cv_c_compiler__SGI_COMPILER_VERSION=no
14478 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14482 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler__SGI_COMPILER_VERSION" >&5
14483 echo "${ECHO_T}$bakefile_cv_c_compiler__SGI_COMPILER_VERSION" >&6; }
14484 if test "x$bakefile_cv_c_compiler__SGI_COMPILER_VERSION" = "xyes"; then
14490 ac_cpp='$CPP $CPPFLAGS'
14491 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
14492 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
14493 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14503 ac_cpp='$CPP $CPPFLAGS'
14504 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
14505 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
14506 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14508 { echo "$as_me:$LINENO: checking whether we are using the Sun C compiler" >&5
14509 echo $ECHO_N "checking whether we are using the Sun C compiler... $ECHO_C" >&6; }
14510 if test "${bakefile_cv_c_compiler___SUNPRO_C+set}" = set; then
14511 echo $ECHO_N "(cached) $ECHO_C" >&6
14513 cat >conftest.$ac_ext <<_ACEOF
14516 cat confdefs.h >>conftest.$ac_ext
14517 cat >>conftest.$ac_ext <<_ACEOF
14518 /* end confdefs.h. */
14532 rm -f conftest.$ac_objext
14533 if { (ac_try="$ac_compile"
14534 case "(($ac_try" in
14535 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14536 *) ac_try_echo=$ac_try;;
14538 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14539 (eval "$ac_compile") 2>conftest.er1
14541 grep -v '^
*+' conftest.er1 >conftest.err
14543 cat conftest.err >&5
14544 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14545 (exit $ac_status); } && {
14546 test -z "$ac_c_werror_flag" ||
14547 test ! -s conftest.err
14548 } && test -s conftest.$ac_objext; then
14549 bakefile_cv_c_compiler___SUNPRO_C=yes
14551 echo "$as_me: failed program was:" >&5
14552 sed 's
/^
/| /' conftest.$ac_ext >&5
14554 bakefile_cv_c_compiler___SUNPRO_C=no
14558 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14562 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___SUNPRO_C" >&5
14563 echo "${ECHO_T}$bakefile_cv_c_compiler___SUNPRO_C" >&6; }
14564 if test "x$bakefile_cv_c_compiler___SUNPRO_C" = "xyes"; then
14570 ac_cpp='$CPP $CPPFLAGS'
14571 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
14572 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
14573 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14583 ac_cpp='$CPP $CPPFLAGS'
14584 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
14585 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
14586 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14588 { echo "$as_me:$LINENO: checking whether we are using the HP C compiler" >&5
14589 echo $ECHO_N "checking whether we are using the HP C compiler... $ECHO_C" >&6; }
14590 if test "${bakefile_cv_c_compiler___HP_cc+set}" = set; then
14591 echo $ECHO_N "(cached) $ECHO_C" >&6
14593 cat >conftest.$ac_ext <<_ACEOF
14596 cat confdefs.h >>conftest.$ac_ext
14597 cat >>conftest.$ac_ext <<_ACEOF
14598 /* end confdefs.h. */
14612 rm -f conftest.$ac_objext
14613 if { (ac_try="$ac_compile"
14614 case "(($ac_try" in
14615 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14616 *) ac_try_echo=$ac_try;;
14618 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14619 (eval "$ac_compile") 2>conftest.er1
14621 grep -v '^
*+' conftest.er1 >conftest.err
14623 cat conftest.err >&5
14624 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14625 (exit $ac_status); } && {
14626 test -z "$ac_c_werror_flag" ||
14627 test ! -s conftest.err
14628 } && test -s conftest.$ac_objext; then
14629 bakefile_cv_c_compiler___HP_cc=yes
14631 echo "$as_me: failed program was:" >&5
14632 sed 's
/^
/| /' conftest.$ac_ext >&5
14634 bakefile_cv_c_compiler___HP_cc=no
14638 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14642 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___HP_cc" >&5
14643 echo "${ECHO_T}$bakefile_cv_c_compiler___HP_cc" >&6; }
14644 if test "x$bakefile_cv_c_compiler___HP_cc" = "xyes"; then
14650 ac_cpp='$CPP $CPPFLAGS'
14651 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
14652 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
14653 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14663 ac_cpp='$CPP $CPPFLAGS'
14664 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
14665 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
14666 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14668 { echo "$as_me:$LINENO: checking whether we are using the Compaq C compiler" >&5
14669 echo $ECHO_N "checking whether we are using the Compaq C compiler... $ECHO_C" >&6; }
14670 if test "${bakefile_cv_c_compiler___DECC+set}" = set; then
14671 echo $ECHO_N "(cached) $ECHO_C" >&6
14673 cat >conftest.$ac_ext <<_ACEOF
14676 cat confdefs.h >>conftest.$ac_ext
14677 cat >>conftest.$ac_ext <<_ACEOF
14678 /* end confdefs.h. */
14692 rm -f conftest.$ac_objext
14693 if { (ac_try="$ac_compile"
14694 case "(($ac_try" in
14695 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14696 *) ac_try_echo=$ac_try;;
14698 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14699 (eval "$ac_compile") 2>conftest.er1
14701 grep -v '^
*+' conftest.er1 >conftest.err
14703 cat conftest.err >&5
14704 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14705 (exit $ac_status); } && {
14706 test -z "$ac_c_werror_flag" ||
14707 test ! -s conftest.err
14708 } && test -s conftest.$ac_objext; then
14709 bakefile_cv_c_compiler___DECC=yes
14711 echo "$as_me: failed program was:" >&5
14712 sed 's
/^
/| /' conftest.$ac_ext >&5
14714 bakefile_cv_c_compiler___DECC=no
14718 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14722 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___DECC" >&5
14723 echo "${ECHO_T}$bakefile_cv_c_compiler___DECC" >&6; }
14724 if test "x$bakefile_cv_c_compiler___DECC" = "xyes"; then
14730 ac_cpp='$CPP $CPPFLAGS'
14731 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
14732 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
14733 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14743 ac_cpp='$CPP $CPPFLAGS'
14744 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
14745 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
14746 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14748 { echo "$as_me:$LINENO: checking whether we are using the Sun C compiler" >&5
14749 echo $ECHO_N "checking whether we are using the Sun C compiler... $ECHO_C" >&6; }
14750 if test "${bakefile_cv_c_compiler___SUNPRO_C+set}" = set; then
14751 echo $ECHO_N "(cached) $ECHO_C" >&6
14753 cat >conftest.$ac_ext <<_ACEOF
14756 cat confdefs.h >>conftest.$ac_ext
14757 cat >>conftest.$ac_ext <<_ACEOF
14758 /* end confdefs.h. */
14772 rm -f conftest.$ac_objext
14773 if { (ac_try="$ac_compile"
14774 case "(($ac_try" in
14775 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14776 *) ac_try_echo=$ac_try;;
14778 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14779 (eval "$ac_compile") 2>conftest.er1
14781 grep -v '^
*+' conftest.er1 >conftest.err
14783 cat conftest.err >&5
14784 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14785 (exit $ac_status); } && {
14786 test -z "$ac_c_werror_flag" ||
14787 test ! -s conftest.err
14788 } && test -s conftest.$ac_objext; then
14789 bakefile_cv_c_compiler___SUNPRO_C=yes
14791 echo "$as_me: failed program was:" >&5
14792 sed 's
/^
/| /' conftest.$ac_ext >&5
14794 bakefile_cv_c_compiler___SUNPRO_C=no
14798 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14802 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___SUNPRO_C" >&5
14803 echo "${ECHO_T}$bakefile_cv_c_compiler___SUNPRO_C" >&6; }
14804 if test "x$bakefile_cv_c_compiler___SUNPRO_C" = "xyes"; then
14810 ac_cpp='$CPP $CPPFLAGS'
14811 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
14812 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
14813 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14824 ac_cpp='$CPP $CPPFLAGS'
14825 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
14826 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
14827 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14828 { echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
14829 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
14830 # On Suns, sometimes $CPP names a directory.
14831 if test -n "$CPP" && test -d "$CPP"; then
14834 if test -z "$CPP"; then
14835 if test "${ac_cv_prog_CPP+set}" = set; then
14836 echo $ECHO_N "(cached) $ECHO_C" >&6
14838 # Double quotes because CPP needs to be expanded
14839 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
14841 ac_preproc_ok=false
14842 for ac_c_preproc_warn_flag in '' yes
14844 # Use a header file that comes with gcc, so configuring glibc
14845 # with a fresh cross-compiler works.
14846 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14847 # <limits.h> exists even on freestanding compilers.
14848 # On the NeXT, cc -E runs the code through the compiler's parser
,
14849 # not just through cpp. "Syntax error" is here to catch this case.
14850 cat >conftest.
$ac_ext <<_ACEOF
14853 cat confdefs.h
>>conftest.
$ac_ext
14854 cat >>conftest.
$ac_ext <<_ACEOF
14855 /* end confdefs.h. */
14857 # include <limits.h>
14859 # include <assert.h>
14863 if { (ac_try
="$ac_cpp conftest.$ac_ext"
14864 case "(($ac_try" in
14865 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
14866 *) ac_try_echo=$ac_try;;
14868 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14869 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
14871 grep -v '^ *+' conftest.er1 >conftest.err
14873 cat conftest.err >&5
14874 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14875 (exit $ac_status); } >/dev/null && {
14876 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
14877 test ! -s conftest.err
14881 echo "$as_me: failed program was:" >&5
14882 sed 's/^/| /' conftest.$ac_ext >&5
14884 # Broken: fails on valid input.
14888 rm -f conftest.err conftest.$ac_ext
14890 # OK, works on sane cases. Now check whether nonexistent headers
14891 # can be detected and how.
14892 cat >conftest.$ac_ext <<_ACEOF
14895 cat confdefs.h >>conftest.$ac_ext
14896 cat >>conftest.$ac_ext <<_ACEOF
14897 /* end confdefs.h. */
14898 #include <ac_nonexistent.h>
14900 if { (ac_try="$ac_cpp conftest.$ac_ext"
14901 case "(($ac_try" in
14902 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
14903 *) ac_try_echo
=$ac_try;;
14905 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14906 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
14908 grep -v '^ *+' conftest.er1
>conftest.err
14910 cat conftest.err
>&5
14911 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14912 (exit $ac_status); } >/dev
/null
&& {
14913 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
14914 test ! -s conftest.err
14916 # Broken: success on invalid input.
14919 echo "$as_me: failed program was:" >&5
14920 sed 's/^/| /' conftest.
$ac_ext >&5
14922 # Passes both tests.
14927 rm -f conftest.err conftest.
$ac_ext
14930 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
14931 rm -f conftest.err conftest.
$ac_ext
14932 if $ac_preproc_ok; then
14937 ac_cv_prog_CPP
=$CPP
14940 CPP
=$ac_cv_prog_CPP
14942 ac_cv_prog_CPP
=$CPP
14944 { echo "$as_me:$LINENO: result: $CPP" >&5
14945 echo "${ECHO_T}$CPP" >&6; }
14946 ac_preproc_ok
=false
14947 for ac_c_preproc_warn_flag
in '' yes
14949 # Use a header file that comes with gcc, so configuring glibc
14950 # with a fresh cross-compiler works.
14951 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14952 # <limits.h> exists even on freestanding compilers.
14953 # On the NeXT, cc -E runs the code through the compiler's parser,
14954 # not just through cpp. "Syntax error" is here to catch this case.
14955 cat >conftest.
$ac_ext <<_ACEOF
14958 cat confdefs.h
>>conftest.
$ac_ext
14959 cat >>conftest.
$ac_ext <<_ACEOF
14960 /* end confdefs.h. */
14962 # include <limits.h>
14964 # include <assert.h>
14968 if { (ac_try
="$ac_cpp conftest.$ac_ext"
14969 case "(($ac_try" in
14970 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
14971 *) ac_try_echo=$ac_try;;
14973 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14974 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
14976 grep -v '^ *+' conftest.er1 >conftest.err
14978 cat conftest.err >&5
14979 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14980 (exit $ac_status); } >/dev/null && {
14981 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
14982 test ! -s conftest.err
14986 echo "$as_me: failed program was:" >&5
14987 sed 's/^/| /' conftest.$ac_ext >&5
14989 # Broken: fails on valid input.
14993 rm -f conftest.err conftest.$ac_ext
14995 # OK, works on sane cases. Now check whether nonexistent headers
14996 # can be detected and how.
14997 cat >conftest.$ac_ext <<_ACEOF
15000 cat confdefs.h >>conftest.$ac_ext
15001 cat >>conftest.$ac_ext <<_ACEOF
15002 /* end confdefs.h. */
15003 #include <ac_nonexistent.h>
15005 if { (ac_try="$ac_cpp conftest.$ac_ext"
15006 case "(($ac_try" in
15007 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
15008 *) ac_try_echo
=$ac_try;;
15010 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15011 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
15013 grep -v '^ *+' conftest.er1
>conftest.err
15015 cat conftest.err
>&5
15016 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15017 (exit $ac_status); } >/dev
/null
&& {
15018 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
15019 test ! -s conftest.err
15021 # Broken: success on invalid input.
15024 echo "$as_me: failed program was:" >&5
15025 sed 's/^/| /' conftest.
$ac_ext >&5
15027 # Passes both tests.
15032 rm -f conftest.err conftest.
$ac_ext
15035 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
15036 rm -f conftest.err conftest.
$ac_ext
15037 if $ac_preproc_ok; then
15040 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
15041 See \`config.log' for more details." >&5
15042 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
15043 See \`config.log' for more details." >&2;}
15044 { (exit 1); exit 1; }; }
15048 ac_cpp
='$CPP $CPPFLAGS'
15049 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15050 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15051 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
15054 { echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
15055 echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
15056 if test "${ac_cv_path_GREP+set}" = set; then
15057 echo $ECHO_N "(cached) $ECHO_C" >&6
15059 # Extract the first word of "grep ggrep" to use in msg output
15060 if test -z "$GREP"; then
15061 set dummy
grep ggrep
; ac_prog_name
=$2
15062 if test "${ac_cv_path_GREP+set}" = set; then
15063 echo $ECHO_N "(cached) $ECHO_C" >&6
15065 ac_path_GREP_found
=false
15066 # Loop through the user's path and test for each of PROGNAME-LIST
15067 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15068 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
15071 test -z "$as_dir" && as_dir
=.
15072 for ac_prog
in grep ggrep
; do
15073 for ac_exec_ext
in '' $ac_executable_extensions; do
15074 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
15075 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
15076 # Check for GNU ac_path_GREP and select it if it is found.
15077 # Check for GNU $ac_path_GREP
15078 case `"$ac_path_GREP" --version 2>&1` in
15080 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
15083 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
15086 cat "conftest.in" "conftest.in" >"conftest.tmp"
15087 mv "conftest.tmp" "conftest.in"
15088 cp "conftest.in" "conftest.nl"
15089 echo 'GREP' >> "conftest.nl"
15090 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null
|| break
15091 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 || break
15092 ac_count
=`expr $ac_count + 1`
15093 if test $ac_count -gt ${ac_path_GREP_max-0}; then
15094 # Best one so far, save it but keep looking for a better one
15095 ac_cv_path_GREP
="$ac_path_GREP"
15096 ac_path_GREP_max
=$ac_count
15098 # 10*(2^10) chars as input seems more than enough
15099 test $ac_count -gt 10 && break
15101 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
15105 $ac_path_GREP_found && break 3
15115 GREP
="$ac_cv_path_GREP"
15116 if test -z "$GREP"; then
15117 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
15118 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
15119 { (exit 1); exit 1; }; }
15123 ac_cv_path_GREP
=$GREP
15128 { echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
15129 echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
15130 GREP
="$ac_cv_path_GREP"
15133 { echo "$as_me:$LINENO: checking for egrep" >&5
15134 echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
15135 if test "${ac_cv_path_EGREP+set}" = set; then
15136 echo $ECHO_N "(cached) $ECHO_C" >&6
15138 if echo a
| $GREP -E '(a|b)' >/dev
/null
2>&1
15139 then ac_cv_path_EGREP
="$GREP -E"
15141 # Extract the first word of "egrep" to use in msg output
15142 if test -z "$EGREP"; then
15143 set dummy
egrep; ac_prog_name
=$2
15144 if test "${ac_cv_path_EGREP+set}" = set; then
15145 echo $ECHO_N "(cached) $ECHO_C" >&6
15147 ac_path_EGREP_found
=false
15148 # Loop through the user's path and test for each of PROGNAME-LIST
15149 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15150 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
15153 test -z "$as_dir" && as_dir
=.
15154 for ac_prog
in egrep; do
15155 for ac_exec_ext
in '' $ac_executable_extensions; do
15156 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
15157 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
15158 # Check for GNU ac_path_EGREP and select it if it is found.
15159 # Check for GNU $ac_path_EGREP
15160 case `"$ac_path_EGREP" --version 2>&1` in
15162 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
15165 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
15168 cat "conftest.in" "conftest.in" >"conftest.tmp"
15169 mv "conftest.tmp" "conftest.in"
15170 cp "conftest.in" "conftest.nl"
15171 echo 'EGREP' >> "conftest.nl"
15172 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null
|| break
15173 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 || break
15174 ac_count
=`expr $ac_count + 1`
15175 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
15176 # Best one so far, save it but keep looking for a better one
15177 ac_cv_path_EGREP
="$ac_path_EGREP"
15178 ac_path_EGREP_max
=$ac_count
15180 # 10*(2^10) chars as input seems more than enough
15181 test $ac_count -gt 10 && break
15183 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
15187 $ac_path_EGREP_found && break 3
15197 EGREP
="$ac_cv_path_EGREP"
15198 if test -z "$EGREP"; then
15199 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
15200 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
15201 { (exit 1); exit 1; }; }
15205 ac_cv_path_EGREP
=$EGREP
15211 { echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
15212 echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
15213 EGREP
="$ac_cv_path_EGREP"
15216 if test $ac_cv_c_compiler_gnu = yes; then
15217 { echo "$as_me:$LINENO: checking whether $CC needs -traditional" >&5
15218 echo $ECHO_N "checking whether $CC needs -traditional... $ECHO_C" >&6; }
15219 if test "${ac_cv_prog_gcc_traditional+set}" = set; then
15220 echo $ECHO_N "(cached) $ECHO_C" >&6
15222 ac_pattern
="Autoconf.*'x'"
15223 cat >conftest.
$ac_ext <<_ACEOF
15226 cat confdefs.h
>>conftest.
$ac_ext
15227 cat >>conftest.
$ac_ext <<_ACEOF
15228 /* end confdefs.h. */
15232 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
15233 $EGREP "$ac_pattern" >/dev
/null
2>&1; then
15234 ac_cv_prog_gcc_traditional
=yes
15236 ac_cv_prog_gcc_traditional
=no
15241 if test $ac_cv_prog_gcc_traditional = no
; then
15242 cat >conftest.
$ac_ext <<_ACEOF
15245 cat confdefs.h
>>conftest.
$ac_ext
15246 cat >>conftest.
$ac_ext <<_ACEOF
15247 /* end confdefs.h. */
15248 #include <termio.h>
15251 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
15252 $EGREP "$ac_pattern" >/dev
/null
2>&1; then
15253 ac_cv_prog_gcc_traditional
=yes
15259 { echo "$as_me:$LINENO: result: $ac_cv_prog_gcc_traditional" >&5
15260 echo "${ECHO_T}$ac_cv_prog_gcc_traditional" >&6; }
15261 if test $ac_cv_prog_gcc_traditional = yes; then
15262 CC
="$CC -traditional"
15267 CXXFLAGS
=${CXXFLAGS:=}
15272 ac_cpp
='$CXXCPP $CPPFLAGS'
15273 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15274 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15275 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
15276 if test -z "$CXX"; then
15277 if test -n "$CCC"; then
15280 if test -n "$ac_tool_prefix"; then
15281 for ac_prog
in g
++ c
++ gpp aCC CC cxx cc
++ cl.exe FCC KCC RCC xlC_r xlC
15283 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
15284 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
15285 { echo "$as_me:$LINENO: checking for $ac_word" >&5
15286 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
15287 if test "${ac_cv_prog_CXX+set}" = set; then
15288 echo $ECHO_N "(cached) $ECHO_C" >&6
15290 if test -n "$CXX"; then
15291 ac_cv_prog_CXX
="$CXX" # Let the user override the test.
15293 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15294 for as_dir
in $PATH
15297 test -z "$as_dir" && as_dir
=.
15298 for ac_exec_ext
in '' $ac_executable_extensions; do
15299 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
15300 ac_cv_prog_CXX
="$ac_tool_prefix$ac_prog"
15301 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15310 CXX
=$ac_cv_prog_CXX
15311 if test -n "$CXX"; then
15312 { echo "$as_me:$LINENO: result: $CXX" >&5
15313 echo "${ECHO_T}$CXX" >&6; }
15315 { echo "$as_me:$LINENO: result: no" >&5
15316 echo "${ECHO_T}no" >&6; }
15320 test -n "$CXX" && break
15323 if test -z "$CXX"; then
15325 for ac_prog
in g
++ c
++ gpp aCC CC cxx cc
++ cl.exe FCC KCC RCC xlC_r xlC
15327 # Extract the first word of "$ac_prog", so it can be a program name with args.
15328 set dummy
$ac_prog; ac_word
=$2
15329 { echo "$as_me:$LINENO: checking for $ac_word" >&5
15330 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
15331 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
15332 echo $ECHO_N "(cached) $ECHO_C" >&6
15334 if test -n "$ac_ct_CXX"; then
15335 ac_cv_prog_ac_ct_CXX
="$ac_ct_CXX" # Let the user override the test.
15337 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15338 for as_dir
in $PATH
15341 test -z "$as_dir" && as_dir
=.
15342 for ac_exec_ext
in '' $ac_executable_extensions; do
15343 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
15344 ac_cv_prog_ac_ct_CXX
="$ac_prog"
15345 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15354 ac_ct_CXX
=$ac_cv_prog_ac_ct_CXX
15355 if test -n "$ac_ct_CXX"; then
15356 { echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
15357 echo "${ECHO_T}$ac_ct_CXX" >&6; }
15359 { echo "$as_me:$LINENO: result: no" >&5
15360 echo "${ECHO_T}no" >&6; }
15364 test -n "$ac_ct_CXX" && break
15367 if test "x$ac_ct_CXX" = x
; then
15370 case $cross_compiling:$ac_tool_warned in
15372 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
15373 whose name does not start with the host triplet. If you think this
15374 configuration is useful to you, please write to autoconf@gnu.org." >&5
15375 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
15376 whose name does not start with the host triplet. If you think this
15377 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
15378 ac_tool_warned
=yes ;;
15386 # Provide some information about the compiler.
15387 echo "$as_me:$LINENO: checking for C++ compiler version" >&5
15388 ac_compiler
=`set X $ac_compile; echo $2`
15389 { (ac_try
="$ac_compiler --version >&5"
15390 case "(($ac_try" in
15391 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
15392 *) ac_try_echo=$ac_try;;
15394 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15395 (eval "$ac_compiler --version >&5") 2>&5
15397 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15398 (exit $ac_status); }
15399 { (ac_try="$ac_compiler -v >&5"
15400 case "(($ac_try" in
15401 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
15402 *) ac_try_echo
=$ac_try;;
15404 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15405 (eval "$ac_compiler -v >&5") 2>&5
15407 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15408 (exit $ac_status); }
15409 { (ac_try
="$ac_compiler -V >&5"
15410 case "(($ac_try" in
15411 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
15412 *) ac_try_echo=$ac_try;;
15414 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15415 (eval "$ac_compiler -V >&5") 2>&5
15417 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15418 (exit $ac_status); }
15420 { echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
15421 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6; }
15422 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
15423 echo $ECHO_N "(cached) $ECHO_C" >&6
15425 cat >conftest.$ac_ext <<_ACEOF
15428 cat confdefs.h >>conftest.$ac_ext
15429 cat >>conftest.$ac_ext <<_ACEOF
15430 /* end confdefs.h. */
15443 rm -f conftest.$ac_objext
15444 if { (ac_try="$ac_compile"
15445 case "(($ac_try" in
15446 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
15447 *) ac_try_echo
=$ac_try;;
15449 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15450 (eval "$ac_compile") 2>conftest.er1
15452 grep -v '^ *+' conftest.er1
>conftest.err
15454 cat conftest.err
>&5
15455 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15456 (exit $ac_status); } && {
15457 test -z "$ac_cxx_werror_flag" ||
15458 test ! -s conftest.err
15459 } && test -s conftest.
$ac_objext; then
15460 ac_compiler_gnu
=yes
15462 echo "$as_me: failed program was:" >&5
15463 sed 's/^/| /' conftest.
$ac_ext >&5
15468 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
15469 ac_cv_cxx_compiler_gnu
=$ac_compiler_gnu
15472 { echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
15473 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6; }
15474 GXX
=`test $ac_compiler_gnu = yes && echo yes`
15475 ac_test_CXXFLAGS
=${CXXFLAGS+set}
15476 ac_save_CXXFLAGS
=$CXXFLAGS
15477 { echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
15478 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6; }
15479 if test "${ac_cv_prog_cxx_g+set}" = set; then
15480 echo $ECHO_N "(cached) $ECHO_C" >&6
15482 ac_save_cxx_werror_flag
=$ac_cxx_werror_flag
15483 ac_cxx_werror_flag
=yes
15484 ac_cv_prog_cxx_g
=no
15486 cat >conftest.
$ac_ext <<_ACEOF
15489 cat confdefs.h
>>conftest.
$ac_ext
15490 cat >>conftest.
$ac_ext <<_ACEOF
15491 /* end confdefs.h. */
15501 rm -f conftest.
$ac_objext
15502 if { (ac_try
="$ac_compile"
15503 case "(($ac_try" in
15504 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
15505 *) ac_try_echo=$ac_try;;
15507 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15508 (eval "$ac_compile") 2>conftest.er1
15510 grep -v '^ *+' conftest.er1 >conftest.err
15512 cat conftest.err >&5
15513 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15514 (exit $ac_status); } && {
15515 test -z "$ac_cxx_werror_flag" ||
15516 test ! -s conftest.err
15517 } && test -s conftest.$ac_objext; then
15518 ac_cv_prog_cxx_g=yes
15520 echo "$as_me: failed program was:" >&5
15521 sed 's/^/| /' conftest.$ac_ext >&5
15524 cat >conftest.$ac_ext <<_ACEOF
15527 cat confdefs.h >>conftest.$ac_ext
15528 cat >>conftest.$ac_ext <<_ACEOF
15529 /* end confdefs.h. */
15539 rm -f conftest.$ac_objext
15540 if { (ac_try="$ac_compile"
15541 case "(($ac_try" in
15542 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
15543 *) ac_try_echo
=$ac_try;;
15545 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15546 (eval "$ac_compile") 2>conftest.er1
15548 grep -v '^ *+' conftest.er1
>conftest.err
15550 cat conftest.err
>&5
15551 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15552 (exit $ac_status); } && {
15553 test -z "$ac_cxx_werror_flag" ||
15554 test ! -s conftest.err
15555 } && test -s conftest.
$ac_objext; then
15558 echo "$as_me: failed program was:" >&5
15559 sed 's/^/| /' conftest.
$ac_ext >&5
15561 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
15563 cat >conftest.
$ac_ext <<_ACEOF
15566 cat confdefs.h
>>conftest.
$ac_ext
15567 cat >>conftest.
$ac_ext <<_ACEOF
15568 /* end confdefs.h. */
15578 rm -f conftest.
$ac_objext
15579 if { (ac_try
="$ac_compile"
15580 case "(($ac_try" in
15581 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
15582 *) ac_try_echo=$ac_try;;
15584 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15585 (eval "$ac_compile") 2>conftest.er1
15587 grep -v '^ *+' conftest.er1 >conftest.err
15589 cat conftest.err >&5
15590 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15591 (exit $ac_status); } && {
15592 test -z "$ac_cxx_werror_flag" ||
15593 test ! -s conftest.err
15594 } && test -s conftest.$ac_objext; then
15595 ac_cv_prog_cxx_g=yes
15597 echo "$as_me: failed program was:" >&5
15598 sed 's/^/| /' conftest.$ac_ext >&5
15603 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15606 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15609 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15610 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
15612 { echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
15613 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6; }
15614 if test "$ac_test_CXXFLAGS" = set; then
15615 CXXFLAGS=$ac_save_CXXFLAGS
15616 elif test $ac_cv_prog_cxx_g = yes; then
15617 if test "$GXX" = yes; then
15623 if test "$GXX" = yes; then
15630 ac_cpp='$CPP $CPPFLAGS'
15631 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15632 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15633 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15639 ac_cpp='$CXXCPP $CPPFLAGS'
15640 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15641 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15642 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15644 { echo "$as_me:$LINENO: checking whether we are using the Intel C++ compiler" >&5
15645 echo $ECHO_N "checking whether we are using the Intel C++ compiler... $ECHO_C" >&6; }
15646 if test "${bakefile_cv_cxx_compiler___INTEL_COMPILER+set}" = set; then
15647 echo $ECHO_N "(cached) $ECHO_C" >&6
15649 cat >conftest.$ac_ext <<_ACEOF
15652 cat confdefs.h >>conftest.$ac_ext
15653 cat >>conftest.$ac_ext <<_ACEOF
15654 /* end confdefs.h. */
15660 #ifndef __INTEL_COMPILER
15668 rm -f conftest.$ac_objext
15669 if { (ac_try="$ac_compile"
15670 case "(($ac_try" in
15671 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
15672 *) ac_try_echo
=$ac_try;;
15674 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15675 (eval "$ac_compile") 2>conftest.er1
15677 grep -v '^ *+' conftest.er1
>conftest.err
15679 cat conftest.err
>&5
15680 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15681 (exit $ac_status); } && {
15682 test -z "$ac_cxx_werror_flag" ||
15683 test ! -s conftest.err
15684 } && test -s conftest.
$ac_objext; then
15685 bakefile_cv_cxx_compiler___INTEL_COMPILER
=yes
15687 echo "$as_me: failed program was:" >&5
15688 sed 's/^/| /' conftest.
$ac_ext >&5
15690 bakefile_cv_cxx_compiler___INTEL_COMPILER
=no
15694 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
15698 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___INTEL_COMPILER" >&5
15699 echo "${ECHO_T}$bakefile_cv_cxx_compiler___INTEL_COMPILER" >&6; }
15700 if test "x$bakefile_cv_cxx_compiler___INTEL_COMPILER" = "xyes"; then
15706 ac_cpp
='$CPP $CPPFLAGS'
15707 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15708 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15709 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
15714 if test "x$GCXX" != "xyes"; then
15715 if test "xCXX" = "xC"; then
15716 { echo "$as_me:$LINENO: checking if the C compiler requires -ext o" >&5
15717 echo $ECHO_N "checking if the C compiler requires -ext o... $ECHO_C" >&6; }
15718 if test "${bakefile_cv_c_exto+set}" = set; then
15719 echo $ECHO_N "(cached) $ECHO_C" >&6
15721 cat >conftest.
$ac_ext <<_ACEOF
15724 cat confdefs.h
>>conftest.
$ac_ext
15725 cat >>conftest.
$ac_ext <<_ACEOF
15726 /* end confdefs.h. */
15736 rm -f conftest.
$ac_objext conftest.
$ac_ext.o
15737 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15738 (eval $ac_compile) 2>&5
15740 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15741 (exit $ac_status); }; then
15742 for ac_file
in `(ls conftest.* 2>/dev/null)`; do
15744 conftest.
$ac_ext.o
)
15745 bakefile_cv_c_exto
="-ext o"
15752 { { echo "$as_me:$LINENO: error: cannot figure out if compiler needs -ext o: cannot compile
15753 See \`config.log' for more details." >&5
15754 echo "$as_me: error: cannot figure out if compiler needs -ext o: cannot compile
15755 See \`config.log' for more details." >&2;}
15756 { (exit 1); exit 1; }; }
15760 rm -f conftest.
$ac_ext.o conftest.
$ac_objext conftest.
$ac_ext
15763 { echo "$as_me:$LINENO: result: $bakefile_cv_c_exto" >&5
15764 echo "${ECHO_T}$bakefile_cv_c_exto" >&6; }
15765 if test "x$bakefile_cv_c_exto" '!=' "x"; then
15766 if test "c" = "c"; then
15767 CFLAGS
="$bakefile_cv_c_exto $CFLAGS"
15769 if test "c" = "cxx"; then
15770 CXXFLAGS
="$bakefile_cv_c_exto $CXXFLAGS"
15774 if test "x$bakefile_cv_c_exto" '!=' "x"; then
15775 unset ac_cv_prog_cc_g
15776 ac_test_CFLAGS
=${CFLAGS+set}
15777 ac_save_CFLAGS
=$CFLAGS
15778 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
15779 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
15780 if test "${ac_cv_prog_cc_g+set}" = set; then
15781 echo $ECHO_N "(cached) $ECHO_C" >&6
15783 ac_save_c_werror_flag
=$ac_c_werror_flag
15784 ac_c_werror_flag
=yes
15787 cat >conftest.
$ac_ext <<_ACEOF
15790 cat confdefs.h
>>conftest.
$ac_ext
15791 cat >>conftest.
$ac_ext <<_ACEOF
15792 /* end confdefs.h. */
15802 rm -f conftest.
$ac_objext
15803 if { (ac_try
="$ac_compile"
15804 case "(($ac_try" in
15805 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
15806 *) ac_try_echo=$ac_try;;
15808 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15809 (eval "$ac_compile") 2>conftest.er1
15811 grep -v '^ *+' conftest.er1 >conftest.err
15813 cat conftest.err >&5
15814 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15815 (exit $ac_status); } && {
15816 test -z "$ac_c_werror_flag" ||
15817 test ! -s conftest.err
15818 } && test -s conftest.$ac_objext; then
15819 ac_cv_prog_cc_g=yes
15821 echo "$as_me: failed program was:" >&5
15822 sed 's/^/| /' conftest.$ac_ext >&5
15825 cat >conftest.$ac_ext <<_ACEOF
15828 cat confdefs.h >>conftest.$ac_ext
15829 cat >>conftest.$ac_ext <<_ACEOF
15830 /* end confdefs.h. */
15840 rm -f conftest.$ac_objext
15841 if { (ac_try="$ac_compile"
15842 case "(($ac_try" in
15843 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
15844 *) ac_try_echo
=$ac_try;;
15846 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15847 (eval "$ac_compile") 2>conftest.er1
15849 grep -v '^ *+' conftest.er1
>conftest.err
15851 cat conftest.err
>&5
15852 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15853 (exit $ac_status); } && {
15854 test -z "$ac_c_werror_flag" ||
15855 test ! -s conftest.err
15856 } && test -s conftest.
$ac_objext; then
15859 echo "$as_me: failed program was:" >&5
15860 sed 's/^/| /' conftest.
$ac_ext >&5
15862 ac_c_werror_flag
=$ac_save_c_werror_flag
15864 cat >conftest.
$ac_ext <<_ACEOF
15867 cat confdefs.h
>>conftest.
$ac_ext
15868 cat >>conftest.
$ac_ext <<_ACEOF
15869 /* end confdefs.h. */
15879 rm -f conftest.
$ac_objext
15880 if { (ac_try
="$ac_compile"
15881 case "(($ac_try" in
15882 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
15883 *) ac_try_echo=$ac_try;;
15885 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15886 (eval "$ac_compile") 2>conftest.er1
15888 grep -v '^ *+' conftest.er1 >conftest.err
15890 cat conftest.err >&5
15891 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15892 (exit $ac_status); } && {
15893 test -z "$ac_c_werror_flag" ||
15894 test ! -s conftest.err
15895 } && test -s conftest.$ac_objext; then
15896 ac_cv_prog_cc_g=yes
15898 echo "$as_me: failed program was:" >&5
15899 sed 's/^/| /' conftest.$ac_ext >&5
15904 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15907 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15910 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15911 ac_c_werror_flag=$ac_save_c_werror_flag
15913 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
15914 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
15915 if test "$ac_test_CFLAGS" = set; then
15916 CFLAGS=$ac_save_CFLAGS
15917 elif test $ac_cv_prog_cc_g = yes; then
15918 if test "$GCC" = yes; then
15924 if test "$GCC" = yes; then
15938 ac_cpp='$CXXCPP $CPPFLAGS'
15939 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15940 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15941 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15943 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C++ compiler" >&5
15944 echo $ECHO_N "checking whether we are using the IBM xlC C++ compiler... $ECHO_C" >&6; }
15945 if test "${bakefile_cv_cxx_compiler___xlC__+set}" = set; then
15946 echo $ECHO_N "(cached) $ECHO_C" >&6
15948 cat >conftest.$ac_ext <<_ACEOF
15951 cat confdefs.h >>conftest.$ac_ext
15952 cat >>conftest.$ac_ext <<_ACEOF
15953 /* end confdefs.h. */
15967 rm -f conftest.$ac_objext
15968 if { (ac_try="$ac_compile"
15969 case "(($ac_try" in
15970 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
15971 *) ac_try_echo
=$ac_try;;
15973 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15974 (eval "$ac_compile") 2>conftest.er1
15976 grep -v '^ *+' conftest.er1
>conftest.err
15978 cat conftest.err
>&5
15979 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15980 (exit $ac_status); } && {
15981 test -z "$ac_cxx_werror_flag" ||
15982 test ! -s conftest.err
15983 } && test -s conftest.
$ac_objext; then
15984 bakefile_cv_cxx_compiler___xlC__
=yes
15986 echo "$as_me: failed program was:" >&5
15987 sed 's/^/| /' conftest.
$ac_ext >&5
15989 bakefile_cv_cxx_compiler___xlC__
=no
15993 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
15997 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___xlC__" >&5
15998 echo "${ECHO_T}$bakefile_cv_cxx_compiler___xlC__" >&6; }
15999 if test "x$bakefile_cv_cxx_compiler___xlC__" = "xyes"; then
16005 ac_cpp
='$CPP $CPPFLAGS'
16006 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16007 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16008 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
16018 ac_cpp
='$CXXCPP $CPPFLAGS'
16019 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16020 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16021 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
16023 { echo "$as_me:$LINENO: checking whether we are using the Metrowerks C++ compiler" >&5
16024 echo $ECHO_N "checking whether we are using the Metrowerks C++ compiler... $ECHO_C" >&6; }
16025 if test "${bakefile_cv_cxx_compiler___MWERKS__+set}" = set; then
16026 echo $ECHO_N "(cached) $ECHO_C" >&6
16028 cat >conftest.
$ac_ext <<_ACEOF
16031 cat confdefs.h
>>conftest.
$ac_ext
16032 cat >>conftest.
$ac_ext <<_ACEOF
16033 /* end confdefs.h. */
16047 rm -f conftest.
$ac_objext
16048 if { (ac_try
="$ac_compile"
16049 case "(($ac_try" in
16050 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
16051 *) ac_try_echo=$ac_try;;
16053 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16054 (eval "$ac_compile") 2>conftest.er1
16056 grep -v '^ *+' conftest.er1 >conftest.err
16058 cat conftest.err >&5
16059 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16060 (exit $ac_status); } && {
16061 test -z "$ac_cxx_werror_flag" ||
16062 test ! -s conftest.err
16063 } && test -s conftest.$ac_objext; then
16064 bakefile_cv_cxx_compiler___MWERKS__=yes
16066 echo "$as_me: failed program was:" >&5
16067 sed 's/^/| /' conftest.$ac_ext >&5
16069 bakefile_cv_cxx_compiler___MWERKS__=no
16073 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16077 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___MWERKS__" >&5
16078 echo "${ECHO_T}$bakefile_cv_cxx_compiler___MWERKS__" >&6; }
16079 if test "x$bakefile_cv_cxx_compiler___MWERKS__" = "xyes"; then
16085 ac_cpp='$CPP $CPPFLAGS'
16086 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16087 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16088 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16095 ac_cpp='$CXXCPP $CPPFLAGS'
16096 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16097 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16098 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16100 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C++ compiler" >&5
16101 echo $ECHO_N "checking whether we are using the IBM xlC C++ compiler... $ECHO_C" >&6; }
16102 if test "${bakefile_cv_cxx_compiler___xlC__+set}" = set; then
16103 echo $ECHO_N "(cached) $ECHO_C" >&6
16105 cat >conftest.$ac_ext <<_ACEOF
16108 cat confdefs.h >>conftest.$ac_ext
16109 cat >>conftest.$ac_ext <<_ACEOF
16110 /* end confdefs.h. */
16124 rm -f conftest.$ac_objext
16125 if { (ac_try="$ac_compile"
16126 case "(($ac_try" in
16127 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
16128 *) ac_try_echo
=$ac_try;;
16130 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16131 (eval "$ac_compile") 2>conftest.er1
16133 grep -v '^ *+' conftest.er1
>conftest.err
16135 cat conftest.err
>&5
16136 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16137 (exit $ac_status); } && {
16138 test -z "$ac_cxx_werror_flag" ||
16139 test ! -s conftest.err
16140 } && test -s conftest.
$ac_objext; then
16141 bakefile_cv_cxx_compiler___xlC__
=yes
16143 echo "$as_me: failed program was:" >&5
16144 sed 's/^/| /' conftest.
$ac_ext >&5
16146 bakefile_cv_cxx_compiler___xlC__
=no
16150 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
16154 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___xlC__" >&5
16155 echo "${ECHO_T}$bakefile_cv_cxx_compiler___xlC__" >&6; }
16156 if test "x$bakefile_cv_cxx_compiler___xlC__" = "xyes"; then
16162 ac_cpp
='$CPP $CPPFLAGS'
16163 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16164 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16165 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
16175 ac_cpp
='$CXXCPP $CPPFLAGS'
16176 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16177 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16178 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
16180 { echo "$as_me:$LINENO: checking whether we are using the SGI C++ compiler" >&5
16181 echo $ECHO_N "checking whether we are using the SGI C++ compiler... $ECHO_C" >&6; }
16182 if test "${bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION+set}" = set; then
16183 echo $ECHO_N "(cached) $ECHO_C" >&6
16185 cat >conftest.
$ac_ext <<_ACEOF
16188 cat confdefs.h
>>conftest.
$ac_ext
16189 cat >>conftest.
$ac_ext <<_ACEOF
16190 /* end confdefs.h. */
16196 #ifndef _SGI_COMPILER_VERSION
16204 rm -f conftest.
$ac_objext
16205 if { (ac_try
="$ac_compile"
16206 case "(($ac_try" in
16207 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
16208 *) ac_try_echo=$ac_try;;
16210 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16211 (eval "$ac_compile") 2>conftest.er1
16213 grep -v '^ *+' conftest.er1 >conftest.err
16215 cat conftest.err >&5
16216 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16217 (exit $ac_status); } && {
16218 test -z "$ac_cxx_werror_flag" ||
16219 test ! -s conftest.err
16220 } && test -s conftest.$ac_objext; then
16221 bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION=yes
16223 echo "$as_me: failed program was:" >&5
16224 sed 's/^/| /' conftest.$ac_ext >&5
16226 bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION=no
16230 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16234 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" >&5
16235 echo "${ECHO_T}$bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" >&6; }
16236 if test "x$bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" = "xyes"; then
16242 ac_cpp='$CPP $CPPFLAGS'
16243 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16244 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16245 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16255 ac_cpp='$CXXCPP $CPPFLAGS'
16256 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16257 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16258 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16260 { echo "$as_me:$LINENO: checking whether we are using the Sun C++ compiler" >&5
16261 echo $ECHO_N "checking whether we are using the Sun C++ compiler... $ECHO_C" >&6; }
16262 if test "${bakefile_cv_cxx_compiler___SUNPRO_CC+set}" = set; then
16263 echo $ECHO_N "(cached) $ECHO_C" >&6
16265 cat >conftest.$ac_ext <<_ACEOF
16268 cat confdefs.h >>conftest.$ac_ext
16269 cat >>conftest.$ac_ext <<_ACEOF
16270 /* end confdefs.h. */
16276 #ifndef __SUNPRO_CC
16284 rm -f conftest.$ac_objext
16285 if { (ac_try="$ac_compile"
16286 case "(($ac_try" in
16287 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
16288 *) ac_try_echo
=$ac_try;;
16290 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16291 (eval "$ac_compile") 2>conftest.er1
16293 grep -v '^ *+' conftest.er1
>conftest.err
16295 cat conftest.err
>&5
16296 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16297 (exit $ac_status); } && {
16298 test -z "$ac_cxx_werror_flag" ||
16299 test ! -s conftest.err
16300 } && test -s conftest.
$ac_objext; then
16301 bakefile_cv_cxx_compiler___SUNPRO_CC
=yes
16303 echo "$as_me: failed program was:" >&5
16304 sed 's/^/| /' conftest.
$ac_ext >&5
16306 bakefile_cv_cxx_compiler___SUNPRO_CC
=no
16310 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
16314 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___SUNPRO_CC" >&5
16315 echo "${ECHO_T}$bakefile_cv_cxx_compiler___SUNPRO_CC" >&6; }
16316 if test "x$bakefile_cv_cxx_compiler___SUNPRO_CC" = "xyes"; then
16322 ac_cpp
='$CPP $CPPFLAGS'
16323 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16324 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16325 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
16335 ac_cpp
='$CXXCPP $CPPFLAGS'
16336 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16337 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16338 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
16340 { echo "$as_me:$LINENO: checking whether we are using the HP C++ compiler" >&5
16341 echo $ECHO_N "checking whether we are using the HP C++ compiler... $ECHO_C" >&6; }
16342 if test "${bakefile_cv_cxx_compiler___HP_aCC+set}" = set; then
16343 echo $ECHO_N "(cached) $ECHO_C" >&6
16345 cat >conftest.
$ac_ext <<_ACEOF
16348 cat confdefs.h
>>conftest.
$ac_ext
16349 cat >>conftest.
$ac_ext <<_ACEOF
16350 /* end confdefs.h. */
16364 rm -f conftest.
$ac_objext
16365 if { (ac_try
="$ac_compile"
16366 case "(($ac_try" in
16367 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
16368 *) ac_try_echo=$ac_try;;
16370 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16371 (eval "$ac_compile") 2>conftest.er1
16373 grep -v '^ *+' conftest.er1 >conftest.err
16375 cat conftest.err >&5
16376 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16377 (exit $ac_status); } && {
16378 test -z "$ac_cxx_werror_flag" ||
16379 test ! -s conftest.err
16380 } && test -s conftest.$ac_objext; then
16381 bakefile_cv_cxx_compiler___HP_aCC=yes
16383 echo "$as_me: failed program was:" >&5
16384 sed 's/^/| /' conftest.$ac_ext >&5
16386 bakefile_cv_cxx_compiler___HP_aCC=no
16390 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16394 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___HP_aCC" >&5
16395 echo "${ECHO_T}$bakefile_cv_cxx_compiler___HP_aCC" >&6; }
16396 if test "x$bakefile_cv_cxx_compiler___HP_aCC" = "xyes"; then
16402 ac_cpp='$CPP $CPPFLAGS'
16403 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16404 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16405 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16415 ac_cpp='$CXXCPP $CPPFLAGS'
16416 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16417 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16418 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16420 { echo "$as_me:$LINENO: checking whether we are using the Compaq C++ compiler" >&5
16421 echo $ECHO_N "checking whether we are using the Compaq C++ compiler... $ECHO_C" >&6; }
16422 if test "${bakefile_cv_cxx_compiler___DECCXX+set}" = set; then
16423 echo $ECHO_N "(cached) $ECHO_C" >&6
16425 cat >conftest.$ac_ext <<_ACEOF
16428 cat confdefs.h >>conftest.$ac_ext
16429 cat >>conftest.$ac_ext <<_ACEOF
16430 /* end confdefs.h. */
16444 rm -f conftest.$ac_objext
16445 if { (ac_try="$ac_compile"
16446 case "(($ac_try" in
16447 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
16448 *) ac_try_echo
=$ac_try;;
16450 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16451 (eval "$ac_compile") 2>conftest.er1
16453 grep -v '^ *+' conftest.er1
>conftest.err
16455 cat conftest.err
>&5
16456 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16457 (exit $ac_status); } && {
16458 test -z "$ac_cxx_werror_flag" ||
16459 test ! -s conftest.err
16460 } && test -s conftest.
$ac_objext; then
16461 bakefile_cv_cxx_compiler___DECCXX
=yes
16463 echo "$as_me: failed program was:" >&5
16464 sed 's/^/| /' conftest.
$ac_ext >&5
16466 bakefile_cv_cxx_compiler___DECCXX
=no
16470 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
16474 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___DECCXX" >&5
16475 echo "${ECHO_T}$bakefile_cv_cxx_compiler___DECCXX" >&6; }
16476 if test "x$bakefile_cv_cxx_compiler___DECCXX" = "xyes"; then
16482 ac_cpp
='$CPP $CPPFLAGS'
16483 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16484 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16485 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
16495 ac_cpp
='$CXXCPP $CPPFLAGS'
16496 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16497 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16498 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
16500 { echo "$as_me:$LINENO: checking whether we are using the Sun C++ compiler" >&5
16501 echo $ECHO_N "checking whether we are using the Sun C++ compiler... $ECHO_C" >&6; }
16502 if test "${bakefile_cv_cxx_compiler___SUNPRO_CC+set}" = set; then
16503 echo $ECHO_N "(cached) $ECHO_C" >&6
16505 cat >conftest.
$ac_ext <<_ACEOF
16508 cat confdefs.h
>>conftest.
$ac_ext
16509 cat >>conftest.
$ac_ext <<_ACEOF
16510 /* end confdefs.h. */
16516 #ifndef __SUNPRO_CC
16524 rm -f conftest.
$ac_objext
16525 if { (ac_try
="$ac_compile"
16526 case "(($ac_try" in
16527 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
16528 *) ac_try_echo=$ac_try;;
16530 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16531 (eval "$ac_compile") 2>conftest.er1
16533 grep -v '^ *+' conftest.er1 >conftest.err
16535 cat conftest.err >&5
16536 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16537 (exit $ac_status); } && {
16538 test -z "$ac_cxx_werror_flag" ||
16539 test ! -s conftest.err
16540 } && test -s conftest.$ac_objext; then
16541 bakefile_cv_cxx_compiler___SUNPRO_CC=yes
16543 echo "$as_me: failed program was:" >&5
16544 sed 's/^/| /' conftest.$ac_ext >&5
16546 bakefile_cv_cxx_compiler___SUNPRO_CC=no
16550 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16554 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___SUNPRO_CC" >&5
16555 echo "${ECHO_T}$bakefile_cv_cxx_compiler___SUNPRO_CC" >&6; }
16556 if test "x$bakefile_cv_cxx_compiler___SUNPRO_CC" = "xyes"; then
16562 ac_cpp='$CPP $CPPFLAGS'
16563 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16564 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16565 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16575 if test "$CXX" = "g++" -a "$GXX" != "yes"; then
16576 { { echo "$as_me:$LINENO: error: C++ compiler is needed to build wxWidgets" >&5
16577 echo "$as_me: error: C++ compiler is needed to build wxWidgets" >&2;}
16578 { (exit 1); exit 1; }; }
16581 if test -n "$ac_tool_prefix"; then
16582 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
16583 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
16584 { echo "$as_me:$LINENO: checking for $ac_word" >&5
16585 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16586 if test "${ac_cv_prog_RANLIB+set}" = set; then
16587 echo $ECHO_N "(cached) $ECHO_C" >&6
16589 if test -n "$RANLIB"; then
16590 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
16592 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16593 for as_dir in $PATH
16596 test -z "$as_dir" && as_dir=.
16597 for ac_exec_ext in '' $ac_executable_extensions; do
16598 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16599 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
16600 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16609 RANLIB=$ac_cv_prog_RANLIB
16610 if test -n "$RANLIB"; then
16611 { echo "$as_me:$LINENO: result: $RANLIB" >&5
16612 echo "${ECHO_T}$RANLIB" >&6; }
16614 { echo "$as_me:$LINENO: result: no" >&5
16615 echo "${ECHO_T}no" >&6; }
16620 if test -z "$ac_cv_prog_RANLIB"; then
16621 ac_ct_RANLIB=$RANLIB
16622 # Extract the first word of "ranlib", so it can be a program name with args.
16623 set dummy ranlib; ac_word=$2
16624 { echo "$as_me:$LINENO: checking for $ac_word" >&5
16625 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16626 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
16627 echo $ECHO_N "(cached) $ECHO_C" >&6
16629 if test -n "$ac_ct_RANLIB"; then
16630 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
16632 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16633 for as_dir in $PATH
16636 test -z "$as_dir" && as_dir=.
16637 for ac_exec_ext in '' $ac_executable_extensions; do
16638 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16639 ac_cv_prog_ac_ct_RANLIB="ranlib"
16640 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16649 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
16650 if test -n "$ac_ct_RANLIB"; then
16651 { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
16652 echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
16654 { echo "$as_me:$LINENO: result: no" >&5
16655 echo "${ECHO_T}no" >&6; }
16658 if test "x$ac_ct_RANLIB" = x; then
16661 case $cross_compiling:$ac_tool_warned in
16663 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
16664 whose name does not start with the host triplet. If you think this
16665 configuration is useful to you, please write to autoconf@gnu.org." >&5
16666 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
16667 whose name does not start with the host triplet. If you think this
16668 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
16669 ac_tool_warned=yes ;;
16671 RANLIB=$ac_ct_RANLIB
16674 RANLIB="$ac_cv_prog_RANLIB"
16678 if test "x$SUNCXX" != xyes; then
16679 if test -n "$ac_tool_prefix"; then
16680 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
16681 set dummy ${ac_tool_prefix}ar; ac_word=$2
16682 { echo "$as_me:$LINENO: checking for $ac_word" >&5
16683 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16684 if test "${ac_cv_prog_AR+set}" = set; then
16685 echo $ECHO_N "(cached) $ECHO_C" >&6
16687 if test -n "$AR"; then
16688 ac_cv_prog_AR="$AR" # Let the user override the test.
16690 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16691 for as_dir in $PATH
16694 test -z "$as_dir" && as_dir=.
16695 for ac_exec_ext in '' $ac_executable_extensions; do
16696 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16697 ac_cv_prog_AR="${ac_tool_prefix}ar"
16698 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16708 if test -n "$AR"; then
16709 { echo "$as_me:$LINENO: result: $AR" >&5
16710 echo "${ECHO_T}$AR" >&6; }
16712 { echo "$as_me:$LINENO: result: no" >&5
16713 echo "${ECHO_T}no" >&6; }
16718 if test -z "$ac_cv_prog_AR"; then
16720 # Extract the first word of "ar", so it can be a program name with args.
16721 set dummy ar; ac_word=$2
16722 { echo "$as_me:$LINENO: checking for $ac_word" >&5
16723 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16724 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
16725 echo $ECHO_N "(cached) $ECHO_C" >&6
16727 if test -n "$ac_ct_AR"; then
16728 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
16730 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16731 for as_dir in $PATH
16734 test -z "$as_dir" && as_dir=.
16735 for ac_exec_ext in '' $ac_executable_extensions; do
16736 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16737 ac_cv_prog_ac_ct_AR="ar"
16738 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16747 ac_ct_AR=$ac_cv_prog_ac_ct_AR
16748 if test -n "$ac_ct_AR"; then
16749 { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
16750 echo "${ECHO_T}$ac_ct_AR" >&6; }
16752 { echo "$as_me:$LINENO: result: no" >&5
16753 echo "${ECHO_T}no" >&6; }
16756 if test "x$ac_ct_AR" = x; then
16759 case $cross_compiling:$ac_tool_warned in
16761 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
16762 whose name does not start with the host triplet. If you think this
16763 configuration is useful to you, please write to autoconf@gnu.org." >&5
16764 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
16765 whose name does not start with the host triplet. If you think this
16766 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
16767 ac_tool_warned=yes ;;
16772 AR="$ac_cv_prog_AR"
16775 if test "x$AR" = "x" ; then
16776 { { echo "$as_me:$LINENO: error: ar is needed to build wxWidgets" >&5
16777 echo "$as_me: error: ar is needed to build wxWidgets" >&2;}
16778 { (exit 1); exit 1; }; }
16782 # Find a good install program. We prefer a C program (faster),
16783 # so one script is as good as another. But avoid the broken or
16784 # incompatible versions:
16785 # SysV /etc/install, /usr/sbin/install
16786 # SunOS /usr/etc/install
16787 # IRIX /sbin/install
16789 # AmigaOS /C/install, which installs bootblocks on floppy discs
16790 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
16791 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
16792 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
16793 # OS/2's system install, which has a completely different semantic
16794 # ./install, which can be erroneously created by make from ./install.sh.
16795 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
16796 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
16797 if test -z "$INSTALL"; then
16798 if test "${ac_cv_path_install+set}" = set; then
16799 echo $ECHO_N "(cached) $ECHO_C" >&6
16801 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16802 for as_dir in $PATH
16805 test -z "$as_dir" && as_dir=.
16806 # Account for people who put trailing slashes in PATH elements.
16808 ./ | .// | /cC/* | \
16809 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
16810 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
16813 # OSF1 and SCO ODT 3.0 have their own names for install.
16814 # Don't use installbsd from OSF since it installs stuff as root
16816 for ac_prog in ginstall scoinst install; do
16817 for ac_exec_ext in '' $ac_executable_extensions; do
16818 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
16819 if test $ac_prog = install &&
16820 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
16821 # AIX install. It has an incompatible calling convention.
16823 elif test $ac_prog = install &&
16824 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
16825 # program-specific install script used by HP pwplus--don't use.
16828 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
16841 if test "${ac_cv_path_install+set}" = set; then
16842 INSTALL=$ac_cv_path_install
16844 # As a last resort, use the slow shell script. Don't cache a
16845 # value for INSTALL within a source directory, because that will
16846 # break other packages using the cache if that directory is
16847 # removed, or if the value is a relative name.
16848 INSTALL=$ac_install_sh
16851 { echo "$as_me:$LINENO: result: $INSTALL" >&5
16852 echo "${ECHO_T}$INSTALL" >&6; }
16854 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
16855 # It thinks the first close brace ends the variable substitution.
16856 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
16858 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
16860 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
16866 ?:* ) # Drive letter, considered as absolute.
16869 INSTALL=`pwd`/${INSTALL} ;;
16876 INSTALL_PROGRAM="cp -fp"
16877 INSTALL_DATA="cp -fp"
16883 if test -n "$ac_tool_prefix"; then
16884 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
16885 set dummy ${ac_tool_prefix}strip; ac_word=$2
16886 { echo "$as_me:$LINENO: checking for $ac_word" >&5
16887 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16888 if test "${ac_cv_prog_STRIP+set}" = set; then
16889 echo $ECHO_N "(cached) $ECHO_C" >&6
16891 if test -n "$STRIP"; then
16892 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
16894 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16895 for as_dir in $PATH
16898 test -z "$as_dir" && as_dir=.
16899 for ac_exec_ext in '' $ac_executable_extensions; do
16900 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16901 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
16902 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16911 STRIP=$ac_cv_prog_STRIP
16912 if test -n "$STRIP"; then
16913 { echo "$as_me:$LINENO: result: $STRIP" >&5
16914 echo "${ECHO_T}$STRIP" >&6; }
16916 { echo "$as_me:$LINENO: result: no" >&5
16917 echo "${ECHO_T}no" >&6; }
16922 if test -z "$ac_cv_prog_STRIP"; then
16924 # Extract the first word of "strip", so it can be a program name with args.
16925 set dummy strip; ac_word=$2
16926 { echo "$as_me:$LINENO: checking for $ac_word" >&5
16927 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16928 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
16929 echo $ECHO_N "(cached) $ECHO_C" >&6
16931 if test -n "$ac_ct_STRIP"; then
16932 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
16934 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16935 for as_dir in $PATH
16938 test -z "$as_dir" && as_dir=.
16939 for ac_exec_ext in '' $ac_executable_extensions; do
16940 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16941 ac_cv_prog_ac_ct_STRIP="strip"
16942 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16951 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
16952 if test -n "$ac_ct_STRIP"; then
16953 { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
16954 echo "${ECHO_T}$ac_ct_STRIP" >&6; }
16956 { echo "$as_me:$LINENO: result: no" >&5
16957 echo "${ECHO_T}no" >&6; }
16960 if test "x$ac_ct_STRIP" = x; then
16963 case $cross_compiling:$ac_tool_warned in
16965 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
16966 whose name does not start with the host triplet. If you think this
16967 configuration is useful to you, please write to autoconf@gnu.org." >&5
16968 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
16969 whose name does not start with the host triplet. If you think this
16970 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
16971 ac_tool_warned=yes ;;
16976 STRIP="$ac_cv_prog_STRIP"
16980 if test "$wxUSE_WINE" = "yes"; then
16981 if test -n "$ac_tool_prefix"; then
16982 # Extract the first word of "${ac_tool_prefix}wrc", so it can be a program name with args.
16983 set dummy ${ac_tool_prefix}wrc; ac_word=$2
16984 { echo "$as_me:$LINENO: checking for $ac_word" >&5
16985 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16986 if test "${ac_cv_prog_WINDRES+set}" = set; then
16987 echo $ECHO_N "(cached) $ECHO_C" >&6
16989 if test -n "$WINDRES"; then
16990 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
16992 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16993 for as_dir in $PATH
16996 test -z "$as_dir" && as_dir=.
16997 for ac_exec_ext in '' $ac_executable_extensions; do
16998 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16999 ac_cv_prog_WINDRES="${ac_tool_prefix}wrc"
17000 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
17009 WINDRES=$ac_cv_prog_WINDRES
17010 if test -n "$WINDRES"; then
17011 { echo "$as_me:$LINENO: result: $WINDRES" >&5
17012 echo "${ECHO_T}$WINDRES" >&6; }
17014 { echo "$as_me:$LINENO: result: no" >&5
17015 echo "${ECHO_T}no" >&6; }
17020 if test -z "$ac_cv_prog_WINDRES"; then
17021 ac_ct_WINDRES=$WINDRES
17022 # Extract the first word of "wrc", so it can be a program name with args.
17023 set dummy wrc; ac_word=$2
17024 { echo "$as_me:$LINENO: checking for $ac_word" >&5
17025 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
17026 if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then
17027 echo $ECHO_N "(cached) $ECHO_C" >&6
17029 if test -n "$ac_ct_WINDRES"; then
17030 ac_cv_prog_ac_ct_WINDRES="$ac_ct_WINDRES" # Let the user override the test.
17032 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17033 for as_dir in $PATH
17036 test -z "$as_dir" && as_dir=.
17037 for ac_exec_ext in '' $ac_executable_extensions; do
17038 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
17039 ac_cv_prog_ac_ct_WINDRES="wrc"
17040 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
17049 ac_ct_WINDRES=$ac_cv_prog_ac_ct_WINDRES
17050 if test -n "$ac_ct_WINDRES"; then
17051 { echo "$as_me:$LINENO: result: $ac_ct_WINDRES" >&5
17052 echo "${ECHO_T}$ac_ct_WINDRES" >&6; }
17054 { echo "$as_me:$LINENO: result: no" >&5
17055 echo "${ECHO_T}no" >&6; }
17058 if test "x$ac_ct_WINDRES" = x; then
17061 case $cross_compiling:$ac_tool_warned in
17063 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
17064 whose name does not start with the host triplet. If you think this
17065 configuration is useful to you, please write to autoconf@gnu.org." >&5
17066 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
17067 whose name does not start with the host triplet. If you think this
17068 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
17069 ac_tool_warned=yes ;;
17071 WINDRES=$ac_ct_WINDRES
17074 WINDRES="$ac_cv_prog_WINDRES"
17080 *-*-cygwin* | *-*-mingw32* )
17081 if test -n "$ac_tool_prefix"; then
17082 # Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args.
17083 set dummy ${ac_tool_prefix}windres; ac_word=$2
17084 { echo "$as_me:$LINENO: checking for $ac_word" >&5
17085 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
17086 if test "${ac_cv_prog_WINDRES+set}" = set; then
17087 echo $ECHO_N "(cached) $ECHO_C" >&6
17089 if test -n "$WINDRES"; then
17090 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
17092 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17093 for as_dir in $PATH
17096 test -z "$as_dir" && as_dir=.
17097 for ac_exec_ext in '' $ac_executable_extensions; do
17098 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
17099 ac_cv_prog_WINDRES="${ac_tool_prefix}windres"
17100 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
17109 WINDRES=$ac_cv_prog_WINDRES
17110 if test -n "$WINDRES"; then
17111 { echo "$as_me:$LINENO: result: $WINDRES" >&5
17112 echo "${ECHO_T}$WINDRES" >&6; }
17114 { echo "$as_me:$LINENO: result: no" >&5
17115 echo "${ECHO_T}no" >&6; }
17120 if test -z "$ac_cv_prog_WINDRES"; then
17121 ac_ct_WINDRES=$WINDRES
17122 # Extract the first word of "windres", so it can be a program name with args.
17123 set dummy windres; ac_word=$2
17124 { echo "$as_me:$LINENO: checking for $ac_word" >&5
17125 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
17126 if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then
17127 echo $ECHO_N "(cached) $ECHO_C" >&6
17129 if test -n "$ac_ct_WINDRES"; then
17130 ac_cv_prog_ac_ct_WINDRES="$ac_ct_WINDRES" # Let the user override the test.
17132 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17133 for as_dir in $PATH
17136 test -z "$as_dir" && as_dir=.
17137 for ac_exec_ext in '' $ac_executable_extensions; do
17138 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
17139 ac_cv_prog_ac_ct_WINDRES="windres"
17140 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
17149 ac_ct_WINDRES=$ac_cv_prog_ac_ct_WINDRES
17150 if test -n "$ac_ct_WINDRES"; then
17151 { echo "$as_me:$LINENO: result: $ac_ct_WINDRES" >&5
17152 echo "${ECHO_T}$ac_ct_WINDRES" >&6; }
17154 { echo "$as_me:$LINENO: result: no" >&5
17155 echo "${ECHO_T}no" >&6; }
17158 if test "x$ac_ct_WINDRES" = x; then
17161 case $cross_compiling:$ac_tool_warned in
17163 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
17164 whose name does not start with the host triplet. If you think this
17165 configuration is useful to you, please write to autoconf@gnu.org." >&5
17166 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
17167 whose name does not start with the host triplet. If you think this
17168 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
17169 ac_tool_warned=yes ;;
17171 WINDRES=$ac_ct_WINDRES
17174 WINDRES="$ac_cv_prog_WINDRES"
17178 if test -n "$ac_tool_prefix"; then
17179 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
17180 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
17181 { echo "$as_me:$LINENO: checking for $ac_word" >&5
17182 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
17183 if test "${ac_cv_prog_DLLTOOL+set}" = set; then
17184 echo $ECHO_N "(cached) $ECHO_C" >&6
17186 if test -n "$DLLTOOL"; then
17187 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
17189 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17190 for as_dir in $PATH
17193 test -z "$as_dir" && as_dir=.
17194 for ac_exec_ext in '' $ac_executable_extensions; do
17195 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
17196 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
17197 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
17206 DLLTOOL=$ac_cv_prog_DLLTOOL
17207 if test -n "$DLLTOOL"; then
17208 { echo "$as_me:$LINENO: result: $DLLTOOL" >&5
17209 echo "${ECHO_T}$DLLTOOL" >&6; }
17211 { echo "$as_me:$LINENO: result: no" >&5
17212 echo "${ECHO_T}no" >&6; }
17217 if test -z "$ac_cv_prog_DLLTOOL"; then
17218 ac_ct_DLLTOOL=$DLLTOOL
17219 # Extract the first word of "dlltool", so it can be a program name with args.
17220 set dummy dlltool; ac_word=$2
17221 { echo "$as_me:$LINENO: checking for $ac_word" >&5
17222 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
17223 if test "${ac_cv_prog_ac_ct_DLLTOOL+set}" = set; then
17224 echo $ECHO_N "(cached) $ECHO_C" >&6
17226 if test -n "$ac_ct_DLLTOOL"; then
17227 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
17229 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17230 for as_dir in $PATH
17233 test -z "$as_dir" && as_dir=.
17234 for ac_exec_ext in '' $ac_executable_extensions; do
17235 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
17236 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
17237 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
17246 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
17247 if test -n "$ac_ct_DLLTOOL"; then
17248 { echo "$as_me:$LINENO: result: $ac_ct_DLLTOOL" >&5
17249 echo "${ECHO_T}$ac_ct_DLLTOOL" >&6; }
17251 { echo "$as_me:$LINENO: result: no" >&5
17252 echo "${ECHO_T}no" >&6; }
17255 if test "x$ac_ct_DLLTOOL" = x; then
17258 case $cross_compiling:$ac_tool_warned in
17260 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
17261 whose name does not start with the host triplet. If you think this
17262 configuration is useful to you, please write to autoconf@gnu.org." >&5
17263 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
17264 whose name does not start with the host triplet. If you think this
17265 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
17266 ac_tool_warned=yes ;;
17268 DLLTOOL=$ac_ct_DLLTOOL
17271 DLLTOOL="$ac_cv_prog_DLLTOOL"
17278 { echo "$as_me:$LINENO: checking if make is GNU make" >&5
17279 echo $ECHO_N "checking if make is GNU make... $ECHO_C" >&6; }
17280 if test "${wx_cv_prog_makeisgnu+set}" = set; then
17281 echo $ECHO_N "(cached) $ECHO_C" >&6
17284 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev/null |
17285 $EGREP -s GNU > /dev/null); then
17286 wx_cv_prog_makeisgnu="yes"
17288 wx_cv_prog_makeisgnu="no"
17292 { echo "$as_me:$LINENO: result: $wx_cv_prog_makeisgnu" >&5
17293 echo "${ECHO_T}$wx_cv_prog_makeisgnu" >&6; }
17295 if test "x$wx_cv_prog_makeisgnu" = "xyes"; then
17303 if test "x$wx_cv_prog_makeisgnu" != "xyes"; then
17304 { echo "$as_me:$LINENO: checking if make supports VPATH" >&5
17305 echo $ECHO_N "checking if make supports VPATH... $ECHO_C" >&6; }
17306 if test "${wx_cv_prog_makevpath+set}" = set; then
17307 echo $ECHO_N "(cached) $ECHO_C" >&6
17310 cat - << EOF > confMake
17316 if test ! -d sub ; then
17319 echo dummy > sub/file
17320 ${MAKE-make} -f confMake VPATH=sub 2>&5 > /dev/null
17322 rm -f sub/file check final_file confMake
17324 if test "$RESULT" = 0; then
17325 wx_cv_prog_makevpath="yes"
17327 wx_cv_prog_makevpath="no"
17331 { echo "$as_me:$LINENO: result: $wx_cv_prog_makevpath" >&5
17332 echo "${ECHO_T}$wx_cv_prog_makevpath" >&6; }
17334 if test "x$wx_cv_prog_makevpath" != "xyes"; then
17335 { { echo "$as_me:$LINENO: error:
17336 You need a make-utility that is able to use the variable
17338 If your version of make does not support VPATH correctly,
17339 please install GNU-make (possibly as gmake), and start
17340 configure with the following command:
17341 export MAKE=gmake; ./configure for sh-type shells
17342 setenv MAKE gmake; ./configure for csh-type shells
17343 Also please do remember to use gmake in this case every time
17344 you are trying to compile.
17346 echo "$as_me: error:
17347 You need a make-utility that is able to use the variable
17349 If your version of make does not support VPATH correctly,
17350 please install GNU-make (possibly as gmake), and start
17351 configure with the following command:
17352 export MAKE=gmake; ./configure for sh-type shells
17353 setenv MAKE gmake; ./configure for csh-type shells
17354 Also please do remember to use gmake in this case every time
17355 you are trying to compile.
17357 { (exit 1); exit 1; }; }
17359 { echo "$as_me:$LINENO: checking whether ln -s works" >&5
17360 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; }
17362 if test "$LN_S" = "ln -s"; then
17363 { echo "$as_me:$LINENO: result: yes" >&5
17364 echo "${ECHO_T}yes" >&6; }
17366 { echo "$as_me:$LINENO: result: no, using $LN_S" >&5
17367 echo "${ECHO_T}no, using $LN_S" >&6; }
17373 if test "x$XLCXX" = "xyes" -a "x$USE_AIX" = "x1"; then
17374 CXXFLAGS="-qunique $CXXFLAGS"
17378 powerpc-*-darwin* )
17379 { echo "$as_me:$LINENO: checking if __POWERPC__ is already defined" >&5
17380 echo $ECHO_N "checking if __POWERPC__ is already defined... $ECHO_C" >&6; }
17381 cat >conftest.$ac_ext <<_ACEOF
17384 cat confdefs.h >>conftest.$ac_ext
17385 cat >>conftest.$ac_ext <<_ACEOF
17386 /* end confdefs.h. */
17391 #ifndef __POWERPC__
17392 choke me for lack of PowerPC
17399 rm -f conftest.$ac_objext
17400 if { (ac_try="$ac_compile"
17401 case "(($ac_try" in
17402 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
17403 *) ac_try_echo
=$ac_try;;
17405 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17406 (eval "$ac_compile") 2>conftest.er1
17408 grep -v '^ *+' conftest.er1
>conftest.err
17410 cat conftest.err
>&5
17411 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17412 (exit $ac_status); } && {
17413 test -z "$ac_c_werror_flag" ||
17414 test ! -s conftest.err
17415 } && test -s conftest.
$ac_objext; then
17416 { echo "$as_me:$LINENO: result: yes" >&5
17417 echo "${ECHO_T}yes" >&6; }
17419 echo "$as_me: failed program was:" >&5
17420 sed 's/^/| /' conftest.
$ac_ext >&5
17422 { echo "$as_me:$LINENO: result: no" >&5
17423 echo "${ECHO_T}no" >&6; }
17424 cat >>confdefs.h
<<\_ACEOF
17425 #define __POWERPC__ 1
17431 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17437 { echo "$as_me:$LINENO: checking if CoreFoundation/CFBase.h is usable" >&5
17438 echo $ECHO_N "checking if CoreFoundation/CFBase.h is usable... $ECHO_C" >&6; }
17439 cat >conftest.
$ac_ext <<_ACEOF
17442 cat confdefs.h
>>conftest.
$ac_ext
17443 cat >>conftest.
$ac_ext <<_ACEOF
17444 /* end confdefs.h. */
17445 #include <CoreFoundation/CFBase.h>
17455 rm -f conftest.
$ac_objext
17456 if { (ac_try
="$ac_compile"
17457 case "(($ac_try" in
17458 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
17459 *) ac_try_echo=$ac_try;;
17461 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17462 (eval "$ac_compile") 2>conftest.er1
17464 grep -v '^ *+' conftest.er1 >conftest.err
17466 cat conftest.err >&5
17467 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17468 (exit $ac_status); } && {
17469 test -z "$ac_c_werror_flag" ||
17470 test ! -s conftest.err
17471 } && test -s conftest.$ac_objext; then
17472 { echo "$as_me:$LINENO: result: yes" >&5
17473 echo "${ECHO_T}yes" >&6; }
17475 echo "$as_me: failed program was:" >&5
17476 sed 's/^/| /' conftest.$ac_ext >&5
17478 { echo "$as_me:$LINENO: result: no" >&5
17479 echo "${ECHO_T}no" >&6; }
17480 { echo "$as_me:$LINENO: checking if __CF_USE_FRAMEWORK_INCLUDES__ is required" >&5
17481 echo $ECHO_N "checking if __CF_USE_FRAMEWORK_INCLUDES__ is required... $ECHO_C" >&6; }
17482 cat >conftest.$ac_ext <<_ACEOF
17485 cat confdefs.h >>conftest.$ac_ext
17486 cat >>conftest.$ac_ext <<_ACEOF
17487 /* end confdefs.h. */
17488 #define __CF_USE_FRAMEWORK_INCLUDES__
17489 #include <CoreFoundation/CFBase.h>
17499 rm -f conftest.$ac_objext
17500 if { (ac_try="$ac_compile"
17501 case "(($ac_try" in
17502 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
17503 *) ac_try_echo
=$ac_try;;
17505 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17506 (eval "$ac_compile") 2>conftest.er1
17508 grep -v '^ *+' conftest.er1
>conftest.err
17510 cat conftest.err
>&5
17511 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17512 (exit $ac_status); } && {
17513 test -z "$ac_c_werror_flag" ||
17514 test ! -s conftest.err
17515 } && test -s conftest.
$ac_objext; then
17516 { echo "$as_me:$LINENO: result: yes" >&5
17517 echo "${ECHO_T}yes" >&6; }
17518 CPPFLAGS
="-D__CF_USE_FRAMEWORK_INCLUDES__ $CPPFLAGS"
17520 echo "$as_me: failed program was:" >&5
17521 sed 's/^/| /' conftest.
$ac_ext >&5
17523 { { echo "$as_me:$LINENO: error: no. CoreFoundation not available.
17524 See \`config.log' for more details." >&5
17525 echo "$as_me: error: no. CoreFoundation not available.
17526 See \`config.log' for more details." >&2;}
17527 { (exit 1); exit 1; }; }
17531 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17536 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17541 doesnt_want_win32
=0
17544 if test "$wxUSE_MSW" = 1 ; then
17547 { echo "$as_me:$LINENO: checking if -mno-cygwin is in effect" >&5
17548 echo $ECHO_N "checking if -mno-cygwin is in effect... $ECHO_C" >&6; }
17549 if test "${wx_cv_nocygwin+set}" = set; then
17550 echo $ECHO_N "(cached) $ECHO_C" >&6
17553 cat >conftest.
$ac_ext <<_ACEOF
17556 cat confdefs.h
>>conftest.
$ac_ext
17557 cat >>conftest.
$ac_ext <<_ACEOF
17558 /* end confdefs.h. */
17572 rm -f conftest.
$ac_objext
17573 if { (ac_try
="$ac_compile"
17574 case "(($ac_try" in
17575 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
17576 *) ac_try_echo=$ac_try;;
17578 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17579 (eval "$ac_compile") 2>conftest.er1
17581 grep -v '^ *+' conftest.er1 >conftest.err
17583 cat conftest.err >&5
17584 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17585 (exit $ac_status); } && {
17586 test -z "$ac_c_werror_flag" ||
17587 test ! -s conftest.err
17588 } && test -s conftest.$ac_objext; then
17591 echo "$as_me: failed program was:" >&5
17592 sed 's/^/| /' conftest.$ac_ext >&5
17598 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17602 { echo "$as_me:$LINENO: result: $wx_cv_nocygwin" >&5
17603 echo "${ECHO_T}$wx_cv_nocygwin" >&6; }
17605 if test "$wx_cv_nocygwin" = "yes"; then
17608 doesnt_want_win32=1
17611 if test "$wants_win32" = 1 ; then
17612 BAKEFILE_FORCE_PLATFORM=win32
17620 if test "$wxUSE_WINE" = "yes"; then
17622 LDFLAGS_GUI="-mwindows"
17625 if test "$wants_win32" = 1 ; then
17628 cat >>confdefs.h <<\_ACEOF
17629 #define __WIN32__ 1
17632 cat >>confdefs.h <<\_ACEOF
17633 #define __WIN95__ 1
17636 cat >>confdefs.h <<\_ACEOF
17637 #define __WINDOWS__ 1
17640 cat >>confdefs.h <<\_ACEOF
17641 #define __GNUWIN32__ 1
17644 cat >>confdefs.h <<\_ACEOF
17649 if test "$doesnt_want_win32" = 1 ; then
17654 if test "$USE_UNIX" = 1 ; then
17656 cat >>confdefs.h <<\_ACEOF
17663 *-pc-os2_emx | *-pc-os2-emx )
17664 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_GTK" = 1 -o "$wxUSE_X11" = 1; then
17665 { echo "$as_me:$LINENO: checking for drand48 in -lcExt" >&5
17666 echo $ECHO_N "checking for drand48 in -lcExt... $ECHO_C" >&6; }
17667 if test "${ac_cv_lib_cExt_drand48+set}" = set; then
17668 echo $ECHO_N "(cached) $ECHO_C" >&6
17670 ac_check_lib_save_LIBS=$LIBS
17671 LIBS="-lcExt $LIBS"
17672 cat >conftest.$ac_ext <<_ACEOF
17675 cat confdefs.h >>conftest.$ac_ext
17676 cat >>conftest.$ac_ext <<_ACEOF
17677 /* end confdefs.h. */
17679 /* Override any GCC internal prototype to avoid an error.
17680 Use char because int might match the return type of a GCC
17681 builtin and then its argument prototype would still apply. */
17694 rm -f conftest.$ac_objext conftest$ac_exeext
17695 if { (ac_try="$ac_link"
17696 case "(($ac_try" in
17697 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
17698 *) ac_try_echo
=$ac_try;;
17700 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17701 (eval "$ac_link") 2>conftest.er1
17703 grep -v '^ *+' conftest.er1
>conftest.err
17705 cat conftest.err
>&5
17706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17707 (exit $ac_status); } && {
17708 test -z "$ac_c_werror_flag" ||
17709 test ! -s conftest.err
17710 } && test -s conftest
$ac_exeext &&
17711 $as_test_x conftest
$ac_exeext; then
17712 ac_cv_lib_cExt_drand48
=yes
17714 echo "$as_me: failed program was:" >&5
17715 sed 's/^/| /' conftest.
$ac_ext >&5
17717 ac_cv_lib_cExt_drand48
=no
17720 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
17721 conftest
$ac_exeext conftest.
$ac_ext
17722 LIBS
=$ac_check_lib_save_LIBS
17724 { echo "$as_me:$LINENO: result: $ac_cv_lib_cExt_drand48" >&5
17725 echo "${ECHO_T}$ac_cv_lib_cExt_drand48" >&6; }
17726 if test $ac_cv_lib_cExt_drand48 = yes; then
17727 LIBS
="$LIBS -lcExt"
17731 RESPROGRAMOBJ
="\${top_srcdir}/include/wx/os2/wx.res"
17733 { echo "$as_me:$LINENO: checking for gcc/libc version" >&5
17734 echo $ECHO_N "checking for gcc/libc version... $ECHO_C" >&6; }
17735 if test "${wx_cv_gccversion+set}" = set; then
17736 echo $ECHO_N "(cached) $ECHO_C" >&6
17739 if test "$cross_compiling" = yes; then
17740 wx_cv_gccversion
="EMX2"
17743 cat >conftest.
$ac_ext <<_ACEOF
17746 cat confdefs.h
>>conftest.
$ac_ext
17747 cat >>conftest.
$ac_ext <<_ACEOF
17748 /* end confdefs.h. */
17754 FILE *f=fopen("conftestval", "w");
17759 #elif (__GNUC__==3) && ((__GNUC_MINOR__ < 2) || ((__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__<2)))
17761 #elif (__GNUC__==3) && (__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__==2)
17771 rm -f conftest
$ac_exeext
17772 if { (ac_try
="$ac_link"
17773 case "(($ac_try" in
17774 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
17775 *) ac_try_echo=$ac_try;;
17777 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17778 (eval "$ac_link") 2>&5
17780 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17781 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
17782 { (case "(($ac_try" in
17783 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
17784 *) ac_try_echo
=$ac_try;;
17786 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17787 (eval "$ac_try") 2>&5
17789 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17790 (exit $ac_status); }; }; then
17791 wx_cv_gccversion
=`cat conftestval`
17793 echo "$as_me: program exited with status $ac_status" >&5
17794 echo "$as_me: failed program was:" >&5
17795 sed 's/^/| /' conftest.
$ac_ext >&5
17797 ( exit $ac_status )
17798 wx_cv_gccversion
="EMX2"
17800 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
17806 { echo "$as_me:$LINENO: result: $wx_cv_gccversion" >&5
17807 echo "${ECHO_T}$wx_cv_gccversion" >&6; }
17808 if test "$wx_cv_gccversion" = "EMX2"; then
17809 LIBS
="$LIBS -lstdcpp"
17810 LDFLAGS
="$LDFLAGS -Zsysv-signals"
17812 if test "$wx_cv_gccversion" = "EMX3"; then
17813 LIBS
="$LIBS -lstdcxx -lgcc"
17814 LDFLAGS
="$LDFLAGS -Zsysv-signals"
17816 LIBS
="$LIBS -lstdc++"
17819 if test "$wxUSE_SHARED" = "yes" -a "$wxUSE_OMF" = "no"; then
17820 { echo "$as_me:$LINENO: WARNING: Building DLLs requires OMF mode, enabled" >&5
17821 echo "$as_me: WARNING: Building DLLs requires OMF mode, enabled" >&2;}
17828 { echo "$as_me:$LINENO: checking for strcasecmp() in string.h" >&5
17829 echo $ECHO_N "checking for strcasecmp() in string.h... $ECHO_C" >&6; }
17830 if test "${ac_cv_string_strcasecmp+set}" = set; then
17831 echo $ECHO_N "(cached) $ECHO_C" >&6
17834 cat >conftest.
$ac_ext <<_ACEOF
17837 cat confdefs.h
>>conftest.
$ac_ext
17838 cat >>conftest.
$ac_ext <<_ACEOF
17839 /* end confdefs.h. */
17841 #include <string.h>
17847 strcasecmp("foo", "bar");
17853 rm -f conftest.
$ac_objext conftest
$ac_exeext
17854 if { (ac_try
="$ac_link"
17855 case "(($ac_try" in
17856 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
17857 *) ac_try_echo=$ac_try;;
17859 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17860 (eval "$ac_link") 2>conftest.er1
17862 grep -v '^ *+' conftest.er1 >conftest.err
17864 cat conftest.err >&5
17865 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17866 (exit $ac_status); } && {
17867 test -z "$ac_c_werror_flag" ||
17868 test ! -s conftest.err
17869 } && test -s conftest$ac_exeext &&
17870 $as_test_x conftest$ac_exeext; then
17871 ac_cv_string_strcasecmp=yes
17873 echo "$as_me: failed program was:" >&5
17874 sed 's/^/| /' conftest.$ac_ext >&5
17876 ac_cv_string_strcasecmp=no
17880 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17881 conftest$ac_exeext conftest.$ac_ext
17884 { echo "$as_me:$LINENO: result: $ac_cv_string_strcasecmp" >&5
17885 echo "${ECHO_T}$ac_cv_string_strcasecmp" >&6; }
17887 if test x"$ac_cv_string_strcasecmp" = "xyes"; then
17888 cat >>confdefs.h <<\_ACEOF
17889 #define HAVE_STRCASECMP_IN_STRING_H 1
17893 { echo "$as_me:$LINENO: checking for strcasecmp() in strings.h" >&5
17894 echo $ECHO_N "checking for strcasecmp() in strings.h... $ECHO_C" >&6; }
17895 if test "${ac_cv_strings_strcasecmp+set}" = set; then
17896 echo $ECHO_N "(cached) $ECHO_C" >&6
17899 cat >conftest.$ac_ext <<_ACEOF
17902 cat confdefs.h >>conftest.$ac_ext
17903 cat >>conftest.$ac_ext <<_ACEOF
17904 /* end confdefs.h. */
17906 #include <strings.h>
17912 strcasecmp("foo", "bar");
17918 rm -f conftest.$ac_objext conftest$ac_exeext
17919 if { (ac_try="$ac_link"
17920 case "(($ac_try" in
17921 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
17922 *) ac_try_echo
=$ac_try;;
17924 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17925 (eval "$ac_link") 2>conftest.er1
17927 grep -v '^ *+' conftest.er1
>conftest.err
17929 cat conftest.err
>&5
17930 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17931 (exit $ac_status); } && {
17932 test -z "$ac_c_werror_flag" ||
17933 test ! -s conftest.err
17934 } && test -s conftest
$ac_exeext &&
17935 $as_test_x conftest
$ac_exeext; then
17936 ac_cv_strings_strcasecmp
=yes
17938 echo "$as_me: failed program was:" >&5
17939 sed 's/^/| /' conftest.
$ac_ext >&5
17941 ac_cv_strings_strcasecmp
=no
17945 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
17946 conftest
$ac_exeext conftest.
$ac_ext
17949 { echo "$as_me:$LINENO: result: $ac_cv_strings_strcasecmp" >&5
17950 echo "${ECHO_T}$ac_cv_strings_strcasecmp" >&6; }
17952 if test x
"$ac_cv_strings_strcasecmp" = "xyes"; then
17953 cat >>confdefs.h
<<\_ACEOF
17954 #define HAVE_STRCASECMP_IN_STRINGS_H 1
17958 { { echo "$as_me:$LINENO: error: No case-insensitive string comparison function found." >&5
17959 echo "$as_me: error: No case-insensitive string comparison function found." >&2;}
17960 { (exit 1); exit 1; }; }
17968 { echo "$as_me:$LINENO: checking for ANSI C header files" >&5
17969 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
17970 if test "${ac_cv_header_stdc+set}" = set; then
17971 echo $ECHO_N "(cached) $ECHO_C" >&6
17973 cat >conftest.
$ac_ext <<_ACEOF
17976 cat confdefs.h
>>conftest.
$ac_ext
17977 cat >>conftest.
$ac_ext <<_ACEOF
17978 /* end confdefs.h. */
17979 #include <stdlib.h>
17980 #include <stdarg.h>
17981 #include <string.h>
17992 rm -f conftest.
$ac_objext
17993 if { (ac_try
="$ac_compile"
17994 case "(($ac_try" in
17995 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
17996 *) ac_try_echo=$ac_try;;
17998 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17999 (eval "$ac_compile") 2>conftest.er1
18001 grep -v '^ *+' conftest.er1 >conftest.err
18003 cat conftest.err >&5
18004 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18005 (exit $ac_status); } && {
18006 test -z "$ac_c_werror_flag" ||
18007 test ! -s conftest.err
18008 } && test -s conftest.$ac_objext; then
18009 ac_cv_header_stdc=yes
18011 echo "$as_me: failed program was:" >&5
18012 sed 's/^/| /' conftest.$ac_ext >&5
18014 ac_cv_header_stdc=no
18017 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18019 if test $ac_cv_header_stdc = yes; then
18020 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
18021 cat >conftest.$ac_ext <<_ACEOF
18024 cat confdefs.h >>conftest.$ac_ext
18025 cat >>conftest.$ac_ext <<_ACEOF
18026 /* end confdefs.h. */
18027 #include <string.h>
18030 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
18031 $EGREP "memchr" >/dev/null 2>&1; then
18034 ac_cv_header_stdc=no
18040 if test $ac_cv_header_stdc = yes; then
18041 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
18042 cat >conftest.$ac_ext <<_ACEOF
18045 cat confdefs.h >>conftest.$ac_ext
18046 cat >>conftest.$ac_ext <<_ACEOF
18047 /* end confdefs.h. */
18048 #include <stdlib.h>
18051 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
18052 $EGREP "free" >/dev/null 2>&1; then
18055 ac_cv_header_stdc=no
18061 if test $ac_cv_header_stdc = yes; then
18062 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
18063 if test "$cross_compiling" = yes; then
18066 cat >conftest.$ac_ext <<_ACEOF
18069 cat confdefs.h >>conftest.$ac_ext
18070 cat >>conftest.$ac_ext <<_ACEOF
18071 /* end confdefs.h. */
18073 #include <stdlib.h>
18074 #if ((' ' & 0x0FF) == 0x020)
18075 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
18076 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
18078 # define ISLOWER(c) \
18079 (('a' <= (c) && (c) <= 'i') \
18080 || ('j' <= (c) && (c) <= 'r') \
18081 || ('s' <= (c) && (c) <= 'z'))
18082 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
18085 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
18090 for (i = 0; i < 256; i++)
18091 if (XOR (islower (i), ISLOWER (i))
18092 || toupper (i) != TOUPPER (i))
18097 rm -f conftest$ac_exeext
18098 if { (ac_try="$ac_link"
18099 case "(($ac_try" in
18100 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
18101 *) ac_try_echo
=$ac_try;;
18103 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18104 (eval "$ac_link") 2>&5
18106 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18107 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
18108 { (case "(($ac_try" in
18109 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
18110 *) ac_try_echo=$ac_try;;
18112 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18113 (eval "$ac_try") 2>&5
18115 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18116 (exit $ac_status); }; }; then
18119 echo "$as_me: program exited with status $ac_status" >&5
18120 echo "$as_me: failed program was:" >&5
18121 sed 's/^/| /' conftest.$ac_ext >&5
18123 ( exit $ac_status )
18124 ac_cv_header_stdc=no
18126 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
18132 { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
18133 echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
18134 if test $ac_cv_header_stdc = yes; then
18136 cat >>confdefs.h <<\_ACEOF
18137 #define STDC_HEADERS 1
18142 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
18152 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
18153 inttypes.h stdint.h unistd.h
18155 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
18156 { echo "$as_me:$LINENO: checking for $ac_header" >&5
18157 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
18158 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
18159 echo $ECHO_N "(cached) $ECHO_C" >&6
18161 cat >conftest.$ac_ext <<_ACEOF
18164 cat confdefs.h >>conftest.$ac_ext
18165 cat >>conftest.$ac_ext <<_ACEOF
18166 /* end confdefs.h. */
18167 $ac_includes_default
18169 #include <$ac_header>
18171 rm -f conftest.$ac_objext
18172 if { (ac_try="$ac_compile"
18173 case "(($ac_try" in
18174 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
18175 *) ac_try_echo
=$ac_try;;
18177 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18178 (eval "$ac_compile") 2>conftest.er1
18180 grep -v '^ *+' conftest.er1
>conftest.err
18182 cat conftest.err
>&5
18183 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18184 (exit $ac_status); } && {
18185 test -z "$ac_c_werror_flag" ||
18186 test ! -s conftest.err
18187 } && test -s conftest.
$ac_objext; then
18188 eval "$as_ac_Header=yes"
18190 echo "$as_me: failed program was:" >&5
18191 sed 's/^/| /' conftest.
$ac_ext >&5
18193 eval "$as_ac_Header=no"
18196 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
18198 ac_res
=`eval echo '${'$as_ac_Header'}'`
18199 { echo "$as_me:$LINENO: result: $ac_res" >&5
18200 echo "${ECHO_T}$ac_res" >&6; }
18201 if test `eval echo '${'$as_ac_Header'}'` = yes; then
18202 cat >>confdefs.h
<<_ACEOF
18203 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
18217 for ac_header
in stdlib.h fnmatch.h langinfo.h malloc.h unistd.h wchar.h
18219 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
18220 { echo "$as_me:$LINENO: checking for $ac_header" >&5
18221 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
18222 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
18223 echo $ECHO_N "(cached) $ECHO_C" >&6
18225 cat >conftest.
$ac_ext <<_ACEOF
18228 cat confdefs.h
>>conftest.
$ac_ext
18229 cat >>conftest.
$ac_ext <<_ACEOF
18230 /* end confdefs.h. */
18231 $ac_includes_default
18233 #include <$ac_header>
18235 rm -f conftest.
$ac_objext
18236 if { (ac_try
="$ac_compile"
18237 case "(($ac_try" in
18238 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
18239 *) ac_try_echo=$ac_try;;
18241 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18242 (eval "$ac_compile") 2>conftest.er1
18244 grep -v '^ *+' conftest.er1 >conftest.err
18246 cat conftest.err >&5
18247 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18248 (exit $ac_status); } && {
18249 test -z "$ac_c_werror_flag" ||
18250 test ! -s conftest.err
18251 } && test -s conftest.$ac_objext; then
18252 eval "$as_ac_Header=yes"
18254 echo "$as_me: failed program was:" >&5
18255 sed 's/^/| /' conftest.$ac_ext >&5
18257 eval "$as_ac_Header=no"
18260 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18262 ac_res=`eval echo '${'$as_ac_Header'}'`
18263 { echo "$as_me:$LINENO: result: $ac_res" >&5
18264 echo "${ECHO_T}$ac_res" >&6; }
18265 if test `eval echo '${'$as_ac_Header'}'` = yes; then
18266 cat >>confdefs.h <<_ACEOF
18267 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
18275 if test "$ac_cv_header_wchar_h" != "yes"; then
18276 { echo "$as_me:$LINENO: checking for wcstr.h" >&5
18277 echo $ECHO_N "checking for wcstr.h... $ECHO_C" >&6; }
18278 if test "${ac_cv_header_wcstr_h+set}" = set; then
18279 echo $ECHO_N "(cached) $ECHO_C" >&6
18281 cat >conftest.$ac_ext <<_ACEOF
18284 cat confdefs.h >>conftest.$ac_ext
18285 cat >>conftest.$ac_ext <<_ACEOF
18286 /* end confdefs.h. */
18287 $ac_includes_default
18291 rm -f conftest.$ac_objext
18292 if { (ac_try="$ac_compile"
18293 case "(($ac_try" in
18294 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
18295 *) ac_try_echo
=$ac_try;;
18297 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18298 (eval "$ac_compile") 2>conftest.er1
18300 grep -v '^ *+' conftest.er1
>conftest.err
18302 cat conftest.err
>&5
18303 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18304 (exit $ac_status); } && {
18305 test -z "$ac_c_werror_flag" ||
18306 test ! -s conftest.err
18307 } && test -s conftest.
$ac_objext; then
18308 ac_cv_header_wcstr_h
=yes
18310 echo "$as_me: failed program was:" >&5
18311 sed 's/^/| /' conftest.
$ac_ext >&5
18313 ac_cv_header_wcstr_h
=no
18316 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
18318 { echo "$as_me:$LINENO: result: $ac_cv_header_wcstr_h" >&5
18319 echo "${ECHO_T}$ac_cv_header_wcstr_h" >&6; }
18325 *-pc-os2_emx | *-pc-os2-emx )
18326 if test $ac_cv_header_langinfo_h = "yes" \
18327 -a \
( "$wx_cv_gccversion" = "EMX2" \
18328 -o "$wx_cv_gccversion" = "EMX3" \
18329 -o "$wx_cv_gccversion" = "Innotek5" \
); then
18330 LIBS
="$LIBS -lintl"
18335 if test "$USE_UNIX" = 1 ; then
18336 { echo "$as_me:$LINENO: checking for sys/select.h" >&5
18337 echo $ECHO_N "checking for sys/select.h... $ECHO_C" >&6; }
18338 if test "${ac_cv_header_sys_select_h+set}" = set; then
18339 echo $ECHO_N "(cached) $ECHO_C" >&6
18341 cat >conftest.
$ac_ext <<_ACEOF
18344 cat confdefs.h
>>conftest.
$ac_ext
18345 cat >>conftest.
$ac_ext <<_ACEOF
18346 /* end confdefs.h. */
18347 $ac_includes_default
18349 #include <sys/select.h>
18351 rm -f conftest.
$ac_objext
18352 if { (ac_try
="$ac_compile"
18353 case "(($ac_try" in
18354 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
18355 *) ac_try_echo=$ac_try;;
18357 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18358 (eval "$ac_compile") 2>conftest.er1
18360 grep -v '^ *+' conftest.er1 >conftest.err
18362 cat conftest.err >&5
18363 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18364 (exit $ac_status); } && {
18365 test -z "$ac_c_werror_flag" ||
18366 test ! -s conftest.err
18367 } && test -s conftest.$ac_objext; then
18368 ac_cv_header_sys_select_h=yes
18370 echo "$as_me: failed program was:" >&5
18371 sed 's/^/| /' conftest.$ac_ext >&5
18373 ac_cv_header_sys_select_h=no
18376 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18378 { echo "$as_me:$LINENO: result: $ac_cv_header_sys_select_h" >&5
18379 echo "${ECHO_T}$ac_cv_header_sys_select_h" >&6; }
18385 for ac_header in sys/epoll.h
18387 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
18388 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
18389 { echo "$as_me:$LINENO: checking for $ac_header" >&5
18390 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
18391 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
18392 echo $ECHO_N "(cached) $ECHO_C" >&6
18394 ac_res=`eval echo '${'$as_ac_Header'}'`
18395 { echo "$as_me:$LINENO: result: $ac_res" >&5
18396 echo "${ECHO_T}$ac_res" >&6; }
18398 # Is the header compilable?
18399 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
18400 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
18401 cat >conftest.$ac_ext <<_ACEOF
18404 cat confdefs.h >>conftest.$ac_ext
18405 cat >>conftest.$ac_ext <<_ACEOF
18406 /* end confdefs.h. */
18407 $ac_includes_default
18408 #include <$ac_header>
18410 rm -f conftest.$ac_objext
18411 if { (ac_try="$ac_compile"
18412 case "(($ac_try" in
18413 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
18414 *) ac_try_echo
=$ac_try;;
18416 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18417 (eval "$ac_compile") 2>conftest.er1
18419 grep -v '^ *+' conftest.er1
>conftest.err
18421 cat conftest.err
>&5
18422 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18423 (exit $ac_status); } && {
18424 test -z "$ac_c_werror_flag" ||
18425 test ! -s conftest.err
18426 } && test -s conftest.
$ac_objext; then
18427 ac_header_compiler
=yes
18429 echo "$as_me: failed program was:" >&5
18430 sed 's/^/| /' conftest.
$ac_ext >&5
18432 ac_header_compiler
=no
18435 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
18436 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
18437 echo "${ECHO_T}$ac_header_compiler" >&6; }
18439 # Is the header present?
18440 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
18441 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
18442 cat >conftest.
$ac_ext <<_ACEOF
18445 cat confdefs.h
>>conftest.
$ac_ext
18446 cat >>conftest.
$ac_ext <<_ACEOF
18447 /* end confdefs.h. */
18448 #include <$ac_header>
18450 if { (ac_try
="$ac_cpp conftest.$ac_ext"
18451 case "(($ac_try" in
18452 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
18453 *) ac_try_echo=$ac_try;;
18455 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18456 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
18458 grep -v '^ *+' conftest.er1 >conftest.err
18460 cat conftest.err >&5
18461 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18462 (exit $ac_status); } >/dev/null && {
18463 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
18464 test ! -s conftest.err
18466 ac_header_preproc=yes
18468 echo "$as_me: failed program was:" >&5
18469 sed 's/^/| /' conftest.$ac_ext >&5
18471 ac_header_preproc=no
18474 rm -f conftest.err conftest.$ac_ext
18475 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
18476 echo "${ECHO_T}$ac_header_preproc" >&6; }
18478 # So? What about this header?
18479 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
18481 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
18482 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
18483 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
18484 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
18485 ac_header_preproc=yes
18488 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
18489 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
18490 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
18491 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
18492 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
18493 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
18494 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
18495 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
18496 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
18497 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
18498 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
18499 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
18501 ## ----------------------------------------- ##
18502 ## Report this to wx-dev@lists.wxwidgets.org ##
18503 ## ----------------------------------------- ##
18505 ) | sed "s/^/$as_me: WARNING: /" >&2
18508 { echo "$as_me:$LINENO: checking for $ac_header" >&5
18509 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
18510 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
18511 echo $ECHO_N "(cached) $ECHO_C" >&6
18513 eval "$as_ac_Header=\$ac_header_preproc"
18515 ac_res=`eval echo '${'$as_ac_Header'}'`
18516 { echo "$as_me:$LINENO: result: $ac_res" >&5
18517 echo "${ECHO_T}$ac_res" >&6; }
18520 if test `eval echo '${'$as_ac_Header'}'` = yes; then
18521 cat >>confdefs.h <<_ACEOF
18522 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
18531 { echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
18532 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6; }
18533 if test "${ac_cv_c_const+set}" = set; then
18534 echo $ECHO_N "(cached) $ECHO_C" >&6
18536 cat >conftest.$ac_ext <<_ACEOF
18539 cat confdefs.h >>conftest.$ac_ext
18540 cat >>conftest.$ac_ext <<_ACEOF
18541 /* end confdefs.h. */
18546 /* FIXME: Include the comments suggested by Paul. */
18547 #ifndef __cplusplus
18548 /* Ultrix mips cc rejects this. */
18549 typedef int charset[2];
18551 /* SunOS 4.1.1 cc rejects this. */
18552 char const *const *pcpcc;
18554 /* NEC SVR4.0.2 mips cc rejects this. */
18555 struct point {int x, y;};
18556 static struct point const zero = {0,0};
18557 /* AIX XL C 1.02.0.0 rejects this.
18558 It does not let you subtract one const X* pointer from another in
18559 an arm of an if-expression whose if-part is not a constant
18561 const char *g = "string";
18562 pcpcc = &g + (g ? g-g : 0);
18563 /* HPUX 7.0 cc rejects these. */
18565 ppc = (char**) pcpcc;
18566 pcpcc = (char const *const *) ppc;
18567 { /* SCO 3.2v4 cc rejects this. */
18569 char const *s = 0 ? (char *) 0 : (char const *) 0;
18574 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
18575 int x[] = {25, 17};
18576 const int *foo = &x[0];
18579 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
18580 typedef const int *iptr;
18584 { /* AIX XL C 1.02.0.0 rejects this saying
18585 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
18586 struct s { int j; const int *ap[3]; };
18587 struct s *b; b->j = 5;
18589 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
18590 const int foo = 10;
18591 if (!foo) return 0;
18593 return !cs[0] && !zero.x;
18600 rm -f conftest.$ac_objext
18601 if { (ac_try="$ac_compile"
18602 case "(($ac_try" in
18603 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
18604 *) ac_try_echo
=$ac_try;;
18606 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18607 (eval "$ac_compile") 2>conftest.er1
18609 grep -v '^ *+' conftest.er1
>conftest.err
18611 cat conftest.err
>&5
18612 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18613 (exit $ac_status); } && {
18614 test -z "$ac_c_werror_flag" ||
18615 test ! -s conftest.err
18616 } && test -s conftest.
$ac_objext; then
18619 echo "$as_me: failed program was:" >&5
18620 sed 's/^/| /' conftest.
$ac_ext >&5
18625 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
18627 { echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
18628 echo "${ECHO_T}$ac_cv_c_const" >&6; }
18629 if test $ac_cv_c_const = no
; then
18631 cat >>confdefs.h
<<\_ACEOF
18637 { echo "$as_me:$LINENO: checking for inline" >&5
18638 echo $ECHO_N "checking for inline... $ECHO_C" >&6; }
18639 if test "${ac_cv_c_inline+set}" = set; then
18640 echo $ECHO_N "(cached) $ECHO_C" >&6
18643 for ac_kw
in inline __inline__ __inline
; do
18644 cat >conftest.
$ac_ext <<_ACEOF
18647 cat confdefs.h
>>conftest.
$ac_ext
18648 cat >>conftest.
$ac_ext <<_ACEOF
18649 /* end confdefs.h. */
18650 #ifndef __cplusplus
18652 static $ac_kw foo_t static_foo () {return 0; }
18653 $ac_kw foo_t foo () {return 0; }
18657 rm -f conftest.
$ac_objext
18658 if { (ac_try
="$ac_compile"
18659 case "(($ac_try" in
18660 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
18661 *) ac_try_echo=$ac_try;;
18663 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18664 (eval "$ac_compile") 2>conftest.er1
18666 grep -v '^ *+' conftest.er1 >conftest.err
18668 cat conftest.err >&5
18669 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18670 (exit $ac_status); } && {
18671 test -z "$ac_c_werror_flag" ||
18672 test ! -s conftest.err
18673 } && test -s conftest.$ac_objext; then
18674 ac_cv_c_inline=$ac_kw
18676 echo "$as_me: failed program was:" >&5
18677 sed 's/^/| /' conftest.$ac_ext >&5
18682 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18683 test "$ac_cv_c_inline" != no && break
18687 { echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
18688 echo "${ECHO_T}$ac_cv_c_inline" >&6; }
18691 case $ac_cv_c_inline in
18694 case $ac_cv_c_inline in
18696 *) ac_val=$ac_cv_c_inline;;
18698 cat >>confdefs.h <<_ACEOF
18699 #ifndef __cplusplus
18700 #define inline $ac_val
18707 { echo "$as_me:$LINENO: checking for short" >&5
18708 echo $ECHO_N "checking for short... $ECHO_C" >&6; }
18709 if test "${ac_cv_type_short+set}" = set; then
18710 echo $ECHO_N "(cached) $ECHO_C" >&6
18712 cat >conftest.$ac_ext <<_ACEOF
18715 cat confdefs.h >>conftest.$ac_ext
18716 cat >>conftest.$ac_ext <<_ACEOF
18717 /* end confdefs.h. */
18718 $ac_includes_default
18719 typedef short ac__type_new_;
18723 if ((ac__type_new_ *) 0)
18725 if (sizeof (ac__type_new_))
18731 rm -f conftest.$ac_objext
18732 if { (ac_try="$ac_compile"
18733 case "(($ac_try" in
18734 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
18735 *) ac_try_echo
=$ac_try;;
18737 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18738 (eval "$ac_compile") 2>conftest.er1
18740 grep -v '^ *+' conftest.er1
>conftest.err
18742 cat conftest.err
>&5
18743 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18744 (exit $ac_status); } && {
18745 test -z "$ac_c_werror_flag" ||
18746 test ! -s conftest.err
18747 } && test -s conftest.
$ac_objext; then
18748 ac_cv_type_short
=yes
18750 echo "$as_me: failed program was:" >&5
18751 sed 's/^/| /' conftest.
$ac_ext >&5
18753 ac_cv_type_short
=no
18756 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
18758 { echo "$as_me:$LINENO: result: $ac_cv_type_short" >&5
18759 echo "${ECHO_T}$ac_cv_type_short" >&6; }
18761 # The cast to long int works around a bug in the HP C Compiler
18762 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
18763 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
18764 # This bug is HP SR number 8606223364.
18765 { echo "$as_me:$LINENO: checking size of short" >&5
18766 echo $ECHO_N "checking size of short... $ECHO_C" >&6; }
18767 if test "${ac_cv_sizeof_short+set}" = set; then
18768 echo $ECHO_N "(cached) $ECHO_C" >&6
18770 if test "$cross_compiling" = yes; then
18771 # Depending upon the size, compute the lo and hi bounds.
18772 cat >conftest.
$ac_ext <<_ACEOF
18775 cat confdefs.h
>>conftest.
$ac_ext
18776 cat >>conftest.
$ac_ext <<_ACEOF
18777 /* end confdefs.h. */
18778 $ac_includes_default
18779 typedef short ac__type_sizeof_;
18783 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
18790 rm -f conftest.
$ac_objext
18791 if { (ac_try
="$ac_compile"
18792 case "(($ac_try" in
18793 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
18794 *) ac_try_echo=$ac_try;;
18796 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18797 (eval "$ac_compile") 2>conftest.er1
18799 grep -v '^ *+' conftest.er1 >conftest.err
18801 cat conftest.err >&5
18802 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18803 (exit $ac_status); } && {
18804 test -z "$ac_c_werror_flag" ||
18805 test ! -s conftest.err
18806 } && test -s conftest.$ac_objext; then
18809 cat >conftest.$ac_ext <<_ACEOF
18812 cat confdefs.h >>conftest.$ac_ext
18813 cat >>conftest.$ac_ext <<_ACEOF
18814 /* end confdefs.h. */
18815 $ac_includes_default
18816 typedef short ac__type_sizeof_;
18820 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
18827 rm -f conftest.$ac_objext
18828 if { (ac_try="$ac_compile"
18829 case "(($ac_try" in
18830 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
18831 *) ac_try_echo
=$ac_try;;
18833 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18834 (eval "$ac_compile") 2>conftest.er1
18836 grep -v '^ *+' conftest.er1
>conftest.err
18838 cat conftest.err
>&5
18839 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18840 (exit $ac_status); } && {
18841 test -z "$ac_c_werror_flag" ||
18842 test ! -s conftest.err
18843 } && test -s conftest.
$ac_objext; then
18844 ac_hi
=$ac_mid; break
18846 echo "$as_me: failed program was:" >&5
18847 sed 's/^/| /' conftest.
$ac_ext >&5
18849 ac_lo
=`expr $ac_mid + 1`
18850 if test $ac_lo -le $ac_mid; then
18854 ac_mid
=`expr 2 '*' $ac_mid + 1`
18857 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
18860 echo "$as_me: failed program was:" >&5
18861 sed 's/^/| /' conftest.
$ac_ext >&5
18863 cat >conftest.
$ac_ext <<_ACEOF
18866 cat confdefs.h
>>conftest.
$ac_ext
18867 cat >>conftest.
$ac_ext <<_ACEOF
18868 /* end confdefs.h. */
18869 $ac_includes_default
18870 typedef short ac__type_sizeof_;
18874 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
18881 rm -f conftest.
$ac_objext
18882 if { (ac_try
="$ac_compile"
18883 case "(($ac_try" in
18884 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
18885 *) ac_try_echo=$ac_try;;
18887 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18888 (eval "$ac_compile") 2>conftest.er1
18890 grep -v '^ *+' conftest.er1 >conftest.err
18892 cat conftest.err >&5
18893 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18894 (exit $ac_status); } && {
18895 test -z "$ac_c_werror_flag" ||
18896 test ! -s conftest.err
18897 } && test -s conftest.$ac_objext; then
18900 cat >conftest.$ac_ext <<_ACEOF
18903 cat confdefs.h >>conftest.$ac_ext
18904 cat >>conftest.$ac_ext <<_ACEOF
18905 /* end confdefs.h. */
18906 $ac_includes_default
18907 typedef short ac__type_sizeof_;
18911 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
18918 rm -f conftest.$ac_objext
18919 if { (ac_try="$ac_compile"
18920 case "(($ac_try" in
18921 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
18922 *) ac_try_echo
=$ac_try;;
18924 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18925 (eval "$ac_compile") 2>conftest.er1
18927 grep -v '^ *+' conftest.er1
>conftest.err
18929 cat conftest.err
>&5
18930 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18931 (exit $ac_status); } && {
18932 test -z "$ac_c_werror_flag" ||
18933 test ! -s conftest.err
18934 } && test -s conftest.
$ac_objext; then
18935 ac_lo
=$ac_mid; break
18937 echo "$as_me: failed program was:" >&5
18938 sed 's/^/| /' conftest.
$ac_ext >&5
18940 ac_hi
=`expr '(' $ac_mid ')' - 1`
18941 if test $ac_mid -le $ac_hi; then
18945 ac_mid
=`expr 2 '*' $ac_mid`
18948 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
18951 echo "$as_me: failed program was:" >&5
18952 sed 's/^/| /' conftest.
$ac_ext >&5
18957 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
18960 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
18961 # Binary search between lo and hi bounds.
18962 while test "x$ac_lo" != "x$ac_hi"; do
18963 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
18964 cat >conftest.
$ac_ext <<_ACEOF
18967 cat confdefs.h
>>conftest.
$ac_ext
18968 cat >>conftest.
$ac_ext <<_ACEOF
18969 /* end confdefs.h. */
18970 $ac_includes_default
18971 typedef short ac__type_sizeof_;
18975 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
18982 rm -f conftest.
$ac_objext
18983 if { (ac_try
="$ac_compile"
18984 case "(($ac_try" in
18985 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
18986 *) ac_try_echo=$ac_try;;
18988 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18989 (eval "$ac_compile") 2>conftest.er1
18991 grep -v '^ *+' conftest.er1 >conftest.err
18993 cat conftest.err >&5
18994 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18995 (exit $ac_status); } && {
18996 test -z "$ac_c_werror_flag" ||
18997 test ! -s conftest.err
18998 } && test -s conftest.$ac_objext; then
19001 echo "$as_me: failed program was:" >&5
19002 sed 's/^/| /' conftest.$ac_ext >&5
19004 ac_lo=`expr '(' $ac_mid ')' + 1`
19007 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19010 ?*) ac_cv_sizeof_short=$ac_lo;;
19011 '') if test "$ac_cv_type_short" = yes; then
19012 { { echo "$as_me:$LINENO: error: cannot compute sizeof (short)
19013 See \`config.log
' for more details." >&5
19014 echo "$as_me: error: cannot compute sizeof (short)
19015 See \`config.log' for more details.
" >&2;}
19016 { (exit 77); exit 77; }; }
19018 ac_cv_sizeof_short=0
19022 cat >conftest.$ac_ext <<_ACEOF
19025 cat confdefs.h >>conftest.$ac_ext
19026 cat >>conftest.$ac_ext <<_ACEOF
19027 /* end confdefs.h. */
19028 $ac_includes_default
19029 typedef short ac__type_sizeof_;
19030 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
19031 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
19033 #include <stdlib.h>
19038 FILE *f = fopen ("conftest.val
", "w
");
19041 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
19043 long int i = longval ();
19044 if (i != ((long int) (sizeof (ac__type_sizeof_))))
19046 fprintf (f, "%ld
\n", i);
19050 unsigned long int i = ulongval ();
19051 if (i != ((long int) (sizeof (ac__type_sizeof_))))
19053 fprintf (f, "%lu
\n", i);
19055 return ferror (f) || fclose (f) != 0;
19061 rm -f conftest$ac_exeext
19062 if { (ac_try="$ac_link"
19063 case "(($ac_try" in
19064 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19065 *) ac_try_echo=$ac_try;;
19067 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
19068 (eval "$ac_link") 2>&5
19070 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
19071 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
19072 { (case "(($ac_try" in
19073 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19074 *) ac_try_echo=$ac_try;;
19076 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
19077 (eval "$ac_try") 2>&5
19079 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
19080 (exit $ac_status); }; }; then
19081 ac_cv_sizeof_short=`cat conftest.val`
19083 echo "$as_me: program exited with status
$ac_status" >&5
19084 echo "$as_me: failed program was
:" >&5
19085 sed 's/^/| /' conftest.$ac_ext >&5
19087 ( exit $ac_status )
19088 if test "$ac_cv_type_short" = yes; then
19089 { { echo "$as_me:$LINENO: error
: cannot compute sizeof
(short
)
19090 See \
`config.log' for more details." >&5
19091 echo "$as_me: error: cannot compute sizeof (short)
19092 See \`config.log
' for more details." >&2;}
19093 { (exit 77); exit 77; }; }
19095 ac_cv_sizeof_short=0
19098 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
19102 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_short" >&5
19103 echo "${ECHO_T}$ac_cv_sizeof_short" >&6; }
19107 cat >>confdefs.h <<_ACEOF
19108 #define SIZEOF_SHORT $ac_cv_sizeof_short
19112 { echo "$as_me:$LINENO: checking for void *" >&5
19113 echo $ECHO_N "checking for void *... $ECHO_C" >&6; }
19114 if test "${ac_cv_type_void_p+set}" = set; then
19115 echo $ECHO_N "(cached) $ECHO_C" >&6
19117 cat >conftest.$ac_ext <<_ACEOF
19120 cat confdefs.h >>conftest.$ac_ext
19121 cat >>conftest.$ac_ext <<_ACEOF
19122 /* end confdefs.h. */
19123 $ac_includes_default
19124 typedef void * ac__type_new_;
19128 if ((ac__type_new_ *) 0)
19130 if (sizeof (ac__type_new_))
19136 rm -f conftest.$ac_objext
19137 if { (ac_try="$ac_compile"
19138 case "(($ac_try" in
19139 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19140 *) ac_try_echo=$ac_try;;
19142 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19143 (eval "$ac_compile") 2>conftest.er1
19145 grep -v '^
*+' conftest.er1 >conftest.err
19147 cat conftest.err >&5
19148 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19149 (exit $ac_status); } && {
19150 test -z "$ac_c_werror_flag" ||
19151 test ! -s conftest.err
19152 } && test -s conftest.$ac_objext; then
19153 ac_cv_type_void_p=yes
19155 echo "$as_me: failed program was:" >&5
19156 sed 's
/^
/| /' conftest.$ac_ext >&5
19158 ac_cv_type_void_p=no
19161 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19163 { echo "$as_me:$LINENO: result: $ac_cv_type_void_p" >&5
19164 echo "${ECHO_T}$ac_cv_type_void_p" >&6; }
19166 # The cast to long int works around a bug in the HP C Compiler
19167 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
19168 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
19169 # This bug is HP SR number 8606223364.
19170 { echo "$as_me:$LINENO: checking size of void *" >&5
19171 echo $ECHO_N "checking size of void *... $ECHO_C" >&6; }
19172 if test "${ac_cv_sizeof_void_p+set}" = set; then
19173 echo $ECHO_N "(cached) $ECHO_C" >&6
19175 if test "$cross_compiling" = yes; then
19176 # Depending upon the size, compute the lo and hi bounds.
19177 cat >conftest.
$ac_ext <<_ACEOF
19180 cat confdefs.h
>>conftest.
$ac_ext
19181 cat >>conftest.
$ac_ext <<_ACEOF
19182 /* end confdefs.h. */
19183 $ac_includes_default
19184 typedef void * ac__type_sizeof_;
19188 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
19195 rm -f conftest.
$ac_objext
19196 if { (ac_try
="$ac_compile"
19197 case "(($ac_try" in
19198 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
19199 *) ac_try_echo=$ac_try;;
19201 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19202 (eval "$ac_compile") 2>conftest.er1
19204 grep -v '^ *+' conftest.er1 >conftest.err
19206 cat conftest.err >&5
19207 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19208 (exit $ac_status); } && {
19209 test -z "$ac_c_werror_flag" ||
19210 test ! -s conftest.err
19211 } && test -s conftest.$ac_objext; then
19214 cat >conftest.$ac_ext <<_ACEOF
19217 cat confdefs.h >>conftest.$ac_ext
19218 cat >>conftest.$ac_ext <<_ACEOF
19219 /* end confdefs.h. */
19220 $ac_includes_default
19221 typedef void * ac__type_sizeof_;
19225 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
19232 rm -f conftest.$ac_objext
19233 if { (ac_try="$ac_compile"
19234 case "(($ac_try" in
19235 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
19236 *) ac_try_echo
=$ac_try;;
19238 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19239 (eval "$ac_compile") 2>conftest.er1
19241 grep -v '^ *+' conftest.er1
>conftest.err
19243 cat conftest.err
>&5
19244 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19245 (exit $ac_status); } && {
19246 test -z "$ac_c_werror_flag" ||
19247 test ! -s conftest.err
19248 } && test -s conftest.
$ac_objext; then
19249 ac_hi
=$ac_mid; break
19251 echo "$as_me: failed program was:" >&5
19252 sed 's/^/| /' conftest.
$ac_ext >&5
19254 ac_lo
=`expr $ac_mid + 1`
19255 if test $ac_lo -le $ac_mid; then
19259 ac_mid
=`expr 2 '*' $ac_mid + 1`
19262 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
19265 echo "$as_me: failed program was:" >&5
19266 sed 's/^/| /' conftest.
$ac_ext >&5
19268 cat >conftest.
$ac_ext <<_ACEOF
19271 cat confdefs.h
>>conftest.
$ac_ext
19272 cat >>conftest.
$ac_ext <<_ACEOF
19273 /* end confdefs.h. */
19274 $ac_includes_default
19275 typedef void * ac__type_sizeof_;
19279 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
19286 rm -f conftest.
$ac_objext
19287 if { (ac_try
="$ac_compile"
19288 case "(($ac_try" in
19289 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
19290 *) ac_try_echo=$ac_try;;
19292 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19293 (eval "$ac_compile") 2>conftest.er1
19295 grep -v '^ *+' conftest.er1 >conftest.err
19297 cat conftest.err >&5
19298 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19299 (exit $ac_status); } && {
19300 test -z "$ac_c_werror_flag" ||
19301 test ! -s conftest.err
19302 } && test -s conftest.$ac_objext; then
19305 cat >conftest.$ac_ext <<_ACEOF
19308 cat confdefs.h >>conftest.$ac_ext
19309 cat >>conftest.$ac_ext <<_ACEOF
19310 /* end confdefs.h. */
19311 $ac_includes_default
19312 typedef void * ac__type_sizeof_;
19316 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
19323 rm -f conftest.$ac_objext
19324 if { (ac_try="$ac_compile"
19325 case "(($ac_try" in
19326 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
19327 *) ac_try_echo
=$ac_try;;
19329 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19330 (eval "$ac_compile") 2>conftest.er1
19332 grep -v '^ *+' conftest.er1
>conftest.err
19334 cat conftest.err
>&5
19335 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19336 (exit $ac_status); } && {
19337 test -z "$ac_c_werror_flag" ||
19338 test ! -s conftest.err
19339 } && test -s conftest.
$ac_objext; then
19340 ac_lo
=$ac_mid; break
19342 echo "$as_me: failed program was:" >&5
19343 sed 's/^/| /' conftest.
$ac_ext >&5
19345 ac_hi
=`expr '(' $ac_mid ')' - 1`
19346 if test $ac_mid -le $ac_hi; then
19350 ac_mid
=`expr 2 '*' $ac_mid`
19353 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
19356 echo "$as_me: failed program was:" >&5
19357 sed 's/^/| /' conftest.
$ac_ext >&5
19362 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
19365 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
19366 # Binary search between lo and hi bounds.
19367 while test "x$ac_lo" != "x$ac_hi"; do
19368 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
19369 cat >conftest.
$ac_ext <<_ACEOF
19372 cat confdefs.h
>>conftest.
$ac_ext
19373 cat >>conftest.
$ac_ext <<_ACEOF
19374 /* end confdefs.h. */
19375 $ac_includes_default
19376 typedef void * ac__type_sizeof_;
19380 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
19387 rm -f conftest.
$ac_objext
19388 if { (ac_try
="$ac_compile"
19389 case "(($ac_try" in
19390 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
19391 *) ac_try_echo=$ac_try;;
19393 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19394 (eval "$ac_compile") 2>conftest.er1
19396 grep -v '^ *+' conftest.er1 >conftest.err
19398 cat conftest.err >&5
19399 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19400 (exit $ac_status); } && {
19401 test -z "$ac_c_werror_flag" ||
19402 test ! -s conftest.err
19403 } && test -s conftest.$ac_objext; then
19406 echo "$as_me: failed program was:" >&5
19407 sed 's/^/| /' conftest.$ac_ext >&5
19409 ac_lo=`expr '(' $ac_mid ')' + 1`
19412 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19415 ?*) ac_cv_sizeof_void_p=$ac_lo;;
19416 '') if test "$ac_cv_type_void_p" = yes; then
19417 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *)
19418 See \`config.log
' for more details." >&5
19419 echo "$as_me: error: cannot compute sizeof (void *)
19420 See \`config.log' for more details.
" >&2;}
19421 { (exit 77); exit 77; }; }
19423 ac_cv_sizeof_void_p=0
19427 cat >conftest.$ac_ext <<_ACEOF
19430 cat confdefs.h >>conftest.$ac_ext
19431 cat >>conftest.$ac_ext <<_ACEOF
19432 /* end confdefs.h. */
19433 $ac_includes_default
19434 typedef void * ac__type_sizeof_;
19435 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
19436 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
19438 #include <stdlib.h>
19443 FILE *f = fopen ("conftest.val
", "w
");
19446 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
19448 long int i = longval ();
19449 if (i != ((long int) (sizeof (ac__type_sizeof_))))
19451 fprintf (f, "%ld
\n", i);
19455 unsigned long int i = ulongval ();
19456 if (i != ((long int) (sizeof (ac__type_sizeof_))))
19458 fprintf (f, "%lu
\n", i);
19460 return ferror (f) || fclose (f) != 0;
19466 rm -f conftest$ac_exeext
19467 if { (ac_try="$ac_link"
19468 case "(($ac_try" in
19469 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19470 *) ac_try_echo=$ac_try;;
19472 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
19473 (eval "$ac_link") 2>&5
19475 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
19476 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
19477 { (case "(($ac_try" in
19478 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19479 *) ac_try_echo=$ac_try;;
19481 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
19482 (eval "$ac_try") 2>&5
19484 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
19485 (exit $ac_status); }; }; then
19486 ac_cv_sizeof_void_p=`cat conftest.val`
19488 echo "$as_me: program exited with status
$ac_status" >&5
19489 echo "$as_me: failed program was
:" >&5
19490 sed 's/^/| /' conftest.$ac_ext >&5
19492 ( exit $ac_status )
19493 if test "$ac_cv_type_void_p" = yes; then
19494 { { echo "$as_me:$LINENO: error
: cannot compute sizeof
(void
*)
19495 See \
`config.log' for more details." >&5
19496 echo "$as_me: error: cannot compute sizeof (void *)
19497 See \`config.log
' for more details." >&2;}
19498 { (exit 77); exit 77; }; }
19500 ac_cv_sizeof_void_p=0
19503 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
19507 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_void_p" >&5
19508 echo "${ECHO_T}$ac_cv_sizeof_void_p" >&6; }
19512 cat >>confdefs.h <<_ACEOF
19513 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
19517 { echo "$as_me:$LINENO: checking for int" >&5
19518 echo $ECHO_N "checking for int... $ECHO_C" >&6; }
19519 if test "${ac_cv_type_int+set}" = set; then
19520 echo $ECHO_N "(cached) $ECHO_C" >&6
19522 cat >conftest.$ac_ext <<_ACEOF
19525 cat confdefs.h >>conftest.$ac_ext
19526 cat >>conftest.$ac_ext <<_ACEOF
19527 /* end confdefs.h. */
19528 $ac_includes_default
19529 typedef int ac__type_new_;
19533 if ((ac__type_new_ *) 0)
19535 if (sizeof (ac__type_new_))
19541 rm -f conftest.$ac_objext
19542 if { (ac_try="$ac_compile"
19543 case "(($ac_try" in
19544 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19545 *) ac_try_echo=$ac_try;;
19547 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19548 (eval "$ac_compile") 2>conftest.er1
19550 grep -v '^
*+' conftest.er1 >conftest.err
19552 cat conftest.err >&5
19553 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19554 (exit $ac_status); } && {
19555 test -z "$ac_c_werror_flag" ||
19556 test ! -s conftest.err
19557 } && test -s conftest.$ac_objext; then
19560 echo "$as_me: failed program was:" >&5
19561 sed 's
/^
/| /' conftest.$ac_ext >&5
19566 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19568 { echo "$as_me:$LINENO: result: $ac_cv_type_int" >&5
19569 echo "${ECHO_T}$ac_cv_type_int" >&6; }
19571 # The cast to long int works around a bug in the HP C Compiler
19572 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
19573 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
19574 # This bug is HP SR number 8606223364.
19575 { echo "$as_me:$LINENO: checking size of int" >&5
19576 echo $ECHO_N "checking size of int... $ECHO_C" >&6; }
19577 if test "${ac_cv_sizeof_int+set}" = set; then
19578 echo $ECHO_N "(cached) $ECHO_C" >&6
19580 if test "$cross_compiling" = yes; then
19581 # Depending upon the size, compute the lo and hi bounds.
19582 cat >conftest.
$ac_ext <<_ACEOF
19585 cat confdefs.h
>>conftest.
$ac_ext
19586 cat >>conftest.
$ac_ext <<_ACEOF
19587 /* end confdefs.h. */
19588 $ac_includes_default
19589 typedef int ac__type_sizeof_;
19593 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
19600 rm -f conftest.
$ac_objext
19601 if { (ac_try
="$ac_compile"
19602 case "(($ac_try" in
19603 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
19604 *) ac_try_echo=$ac_try;;
19606 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19607 (eval "$ac_compile") 2>conftest.er1
19609 grep -v '^ *+' conftest.er1 >conftest.err
19611 cat conftest.err >&5
19612 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19613 (exit $ac_status); } && {
19614 test -z "$ac_c_werror_flag" ||
19615 test ! -s conftest.err
19616 } && test -s conftest.$ac_objext; then
19619 cat >conftest.$ac_ext <<_ACEOF
19622 cat confdefs.h >>conftest.$ac_ext
19623 cat >>conftest.$ac_ext <<_ACEOF
19624 /* end confdefs.h. */
19625 $ac_includes_default
19626 typedef int ac__type_sizeof_;
19630 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
19637 rm -f conftest.$ac_objext
19638 if { (ac_try="$ac_compile"
19639 case "(($ac_try" in
19640 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
19641 *) ac_try_echo
=$ac_try;;
19643 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19644 (eval "$ac_compile") 2>conftest.er1
19646 grep -v '^ *+' conftest.er1
>conftest.err
19648 cat conftest.err
>&5
19649 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19650 (exit $ac_status); } && {
19651 test -z "$ac_c_werror_flag" ||
19652 test ! -s conftest.err
19653 } && test -s conftest.
$ac_objext; then
19654 ac_hi
=$ac_mid; break
19656 echo "$as_me: failed program was:" >&5
19657 sed 's/^/| /' conftest.
$ac_ext >&5
19659 ac_lo
=`expr $ac_mid + 1`
19660 if test $ac_lo -le $ac_mid; then
19664 ac_mid
=`expr 2 '*' $ac_mid + 1`
19667 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
19670 echo "$as_me: failed program was:" >&5
19671 sed 's/^/| /' conftest.
$ac_ext >&5
19673 cat >conftest.
$ac_ext <<_ACEOF
19676 cat confdefs.h
>>conftest.
$ac_ext
19677 cat >>conftest.
$ac_ext <<_ACEOF
19678 /* end confdefs.h. */
19679 $ac_includes_default
19680 typedef int ac__type_sizeof_;
19684 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
19691 rm -f conftest.
$ac_objext
19692 if { (ac_try
="$ac_compile"
19693 case "(($ac_try" in
19694 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
19695 *) ac_try_echo=$ac_try;;
19697 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19698 (eval "$ac_compile") 2>conftest.er1
19700 grep -v '^ *+' conftest.er1 >conftest.err
19702 cat conftest.err >&5
19703 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19704 (exit $ac_status); } && {
19705 test -z "$ac_c_werror_flag" ||
19706 test ! -s conftest.err
19707 } && test -s conftest.$ac_objext; then
19710 cat >conftest.$ac_ext <<_ACEOF
19713 cat confdefs.h >>conftest.$ac_ext
19714 cat >>conftest.$ac_ext <<_ACEOF
19715 /* end confdefs.h. */
19716 $ac_includes_default
19717 typedef int ac__type_sizeof_;
19721 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
19728 rm -f conftest.$ac_objext
19729 if { (ac_try="$ac_compile"
19730 case "(($ac_try" in
19731 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
19732 *) ac_try_echo
=$ac_try;;
19734 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19735 (eval "$ac_compile") 2>conftest.er1
19737 grep -v '^ *+' conftest.er1
>conftest.err
19739 cat conftest.err
>&5
19740 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19741 (exit $ac_status); } && {
19742 test -z "$ac_c_werror_flag" ||
19743 test ! -s conftest.err
19744 } && test -s conftest.
$ac_objext; then
19745 ac_lo
=$ac_mid; break
19747 echo "$as_me: failed program was:" >&5
19748 sed 's/^/| /' conftest.
$ac_ext >&5
19750 ac_hi
=`expr '(' $ac_mid ')' - 1`
19751 if test $ac_mid -le $ac_hi; then
19755 ac_mid
=`expr 2 '*' $ac_mid`
19758 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
19761 echo "$as_me: failed program was:" >&5
19762 sed 's/^/| /' conftest.
$ac_ext >&5
19767 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
19770 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
19771 # Binary search between lo and hi bounds.
19772 while test "x$ac_lo" != "x$ac_hi"; do
19773 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
19774 cat >conftest.
$ac_ext <<_ACEOF
19777 cat confdefs.h
>>conftest.
$ac_ext
19778 cat >>conftest.
$ac_ext <<_ACEOF
19779 /* end confdefs.h. */
19780 $ac_includes_default
19781 typedef int ac__type_sizeof_;
19785 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
19792 rm -f conftest.
$ac_objext
19793 if { (ac_try
="$ac_compile"
19794 case "(($ac_try" in
19795 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
19796 *) ac_try_echo=$ac_try;;
19798 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19799 (eval "$ac_compile") 2>conftest.er1
19801 grep -v '^ *+' conftest.er1 >conftest.err
19803 cat conftest.err >&5
19804 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19805 (exit $ac_status); } && {
19806 test -z "$ac_c_werror_flag" ||
19807 test ! -s conftest.err
19808 } && test -s conftest.$ac_objext; then
19811 echo "$as_me: failed program was:" >&5
19812 sed 's/^/| /' conftest.$ac_ext >&5
19814 ac_lo=`expr '(' $ac_mid ')' + 1`
19817 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19820 ?*) ac_cv_sizeof_int=$ac_lo;;
19821 '') if test "$ac_cv_type_int" = yes; then
19822 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int)
19823 See \`config.log
' for more details." >&5
19824 echo "$as_me: error: cannot compute sizeof (int)
19825 See \`config.log' for more details.
" >&2;}
19826 { (exit 77); exit 77; }; }
19832 cat >conftest.$ac_ext <<_ACEOF
19835 cat confdefs.h >>conftest.$ac_ext
19836 cat >>conftest.$ac_ext <<_ACEOF
19837 /* end confdefs.h. */
19838 $ac_includes_default
19839 typedef int ac__type_sizeof_;
19840 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
19841 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
19843 #include <stdlib.h>
19848 FILE *f = fopen ("conftest.val
", "w
");
19851 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
19853 long int i = longval ();
19854 if (i != ((long int) (sizeof (ac__type_sizeof_))))
19856 fprintf (f, "%ld
\n", i);
19860 unsigned long int i = ulongval ();
19861 if (i != ((long int) (sizeof (ac__type_sizeof_))))
19863 fprintf (f, "%lu
\n", i);
19865 return ferror (f) || fclose (f) != 0;
19871 rm -f conftest$ac_exeext
19872 if { (ac_try="$ac_link"
19873 case "(($ac_try" in
19874 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19875 *) ac_try_echo=$ac_try;;
19877 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
19878 (eval "$ac_link") 2>&5
19880 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
19881 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
19882 { (case "(($ac_try" in
19883 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19884 *) ac_try_echo=$ac_try;;
19886 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
19887 (eval "$ac_try") 2>&5
19889 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
19890 (exit $ac_status); }; }; then
19891 ac_cv_sizeof_int=`cat conftest.val`
19893 echo "$as_me: program exited with status
$ac_status" >&5
19894 echo "$as_me: failed program was
:" >&5
19895 sed 's/^/| /' conftest.$ac_ext >&5
19897 ( exit $ac_status )
19898 if test "$ac_cv_type_int" = yes; then
19899 { { echo "$as_me:$LINENO: error
: cannot compute sizeof
(int
)
19900 See \
`config.log' for more details." >&5
19901 echo "$as_me: error: cannot compute sizeof (int)
19902 See \`config.log
' for more details." >&2;}
19903 { (exit 77); exit 77; }; }
19908 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
19912 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5
19913 echo "${ECHO_T}$ac_cv_sizeof_int" >&6; }
19917 cat >>confdefs.h <<_ACEOF
19918 #define SIZEOF_INT $ac_cv_sizeof_int
19922 { echo "$as_me:$LINENO: checking for long" >&5
19923 echo $ECHO_N "checking for long... $ECHO_C" >&6; }
19924 if test "${ac_cv_type_long+set}" = set; then
19925 echo $ECHO_N "(cached) $ECHO_C" >&6
19927 cat >conftest.$ac_ext <<_ACEOF
19930 cat confdefs.h >>conftest.$ac_ext
19931 cat >>conftest.$ac_ext <<_ACEOF
19932 /* end confdefs.h. */
19933 $ac_includes_default
19934 typedef long ac__type_new_;
19938 if ((ac__type_new_ *) 0)
19940 if (sizeof (ac__type_new_))
19946 rm -f conftest.$ac_objext
19947 if { (ac_try="$ac_compile"
19948 case "(($ac_try" in
19949 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19950 *) ac_try_echo=$ac_try;;
19952 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19953 (eval "$ac_compile") 2>conftest.er1
19955 grep -v '^
*+' conftest.er1 >conftest.err
19957 cat conftest.err >&5
19958 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19959 (exit $ac_status); } && {
19960 test -z "$ac_c_werror_flag" ||
19961 test ! -s conftest.err
19962 } && test -s conftest.$ac_objext; then
19963 ac_cv_type_long=yes
19965 echo "$as_me: failed program was:" >&5
19966 sed 's
/^
/| /' conftest.$ac_ext >&5
19971 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19973 { echo "$as_me:$LINENO: result: $ac_cv_type_long" >&5
19974 echo "${ECHO_T}$ac_cv_type_long" >&6; }
19976 # The cast to long int works around a bug in the HP C Compiler
19977 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
19978 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
19979 # This bug is HP SR number 8606223364.
19980 { echo "$as_me:$LINENO: checking size of long" >&5
19981 echo $ECHO_N "checking size of long... $ECHO_C" >&6; }
19982 if test "${ac_cv_sizeof_long+set}" = set; then
19983 echo $ECHO_N "(cached) $ECHO_C" >&6
19985 if test "$cross_compiling" = yes; then
19986 # Depending upon the size, compute the lo and hi bounds.
19987 cat >conftest.
$ac_ext <<_ACEOF
19990 cat confdefs.h
>>conftest.
$ac_ext
19991 cat >>conftest.
$ac_ext <<_ACEOF
19992 /* end confdefs.h. */
19993 $ac_includes_default
19994 typedef long ac__type_sizeof_;
19998 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
20005 rm -f conftest.
$ac_objext
20006 if { (ac_try
="$ac_compile"
20007 case "(($ac_try" in
20008 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
20009 *) ac_try_echo=$ac_try;;
20011 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20012 (eval "$ac_compile") 2>conftest.er1
20014 grep -v '^ *+' conftest.er1 >conftest.err
20016 cat conftest.err >&5
20017 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20018 (exit $ac_status); } && {
20019 test -z "$ac_c_werror_flag" ||
20020 test ! -s conftest.err
20021 } && test -s conftest.$ac_objext; then
20024 cat >conftest.$ac_ext <<_ACEOF
20027 cat confdefs.h >>conftest.$ac_ext
20028 cat >>conftest.$ac_ext <<_ACEOF
20029 /* end confdefs.h. */
20030 $ac_includes_default
20031 typedef long ac__type_sizeof_;
20035 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
20042 rm -f conftest.$ac_objext
20043 if { (ac_try="$ac_compile"
20044 case "(($ac_try" in
20045 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
20046 *) ac_try_echo
=$ac_try;;
20048 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20049 (eval "$ac_compile") 2>conftest.er1
20051 grep -v '^ *+' conftest.er1
>conftest.err
20053 cat conftest.err
>&5
20054 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20055 (exit $ac_status); } && {
20056 test -z "$ac_c_werror_flag" ||
20057 test ! -s conftest.err
20058 } && test -s conftest.
$ac_objext; then
20059 ac_hi
=$ac_mid; break
20061 echo "$as_me: failed program was:" >&5
20062 sed 's/^/| /' conftest.
$ac_ext >&5
20064 ac_lo
=`expr $ac_mid + 1`
20065 if test $ac_lo -le $ac_mid; then
20069 ac_mid
=`expr 2 '*' $ac_mid + 1`
20072 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20075 echo "$as_me: failed program was:" >&5
20076 sed 's/^/| /' conftest.
$ac_ext >&5
20078 cat >conftest.
$ac_ext <<_ACEOF
20081 cat confdefs.h
>>conftest.
$ac_ext
20082 cat >>conftest.
$ac_ext <<_ACEOF
20083 /* end confdefs.h. */
20084 $ac_includes_default
20085 typedef long ac__type_sizeof_;
20089 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
20096 rm -f conftest.
$ac_objext
20097 if { (ac_try
="$ac_compile"
20098 case "(($ac_try" in
20099 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
20100 *) ac_try_echo=$ac_try;;
20102 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20103 (eval "$ac_compile") 2>conftest.er1
20105 grep -v '^ *+' conftest.er1 >conftest.err
20107 cat conftest.err >&5
20108 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20109 (exit $ac_status); } && {
20110 test -z "$ac_c_werror_flag" ||
20111 test ! -s conftest.err
20112 } && test -s conftest.$ac_objext; then
20115 cat >conftest.$ac_ext <<_ACEOF
20118 cat confdefs.h >>conftest.$ac_ext
20119 cat >>conftest.$ac_ext <<_ACEOF
20120 /* end confdefs.h. */
20121 $ac_includes_default
20122 typedef long ac__type_sizeof_;
20126 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
20133 rm -f conftest.$ac_objext
20134 if { (ac_try="$ac_compile"
20135 case "(($ac_try" in
20136 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
20137 *) ac_try_echo
=$ac_try;;
20139 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20140 (eval "$ac_compile") 2>conftest.er1
20142 grep -v '^ *+' conftest.er1
>conftest.err
20144 cat conftest.err
>&5
20145 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20146 (exit $ac_status); } && {
20147 test -z "$ac_c_werror_flag" ||
20148 test ! -s conftest.err
20149 } && test -s conftest.
$ac_objext; then
20150 ac_lo
=$ac_mid; break
20152 echo "$as_me: failed program was:" >&5
20153 sed 's/^/| /' conftest.
$ac_ext >&5
20155 ac_hi
=`expr '(' $ac_mid ')' - 1`
20156 if test $ac_mid -le $ac_hi; then
20160 ac_mid
=`expr 2 '*' $ac_mid`
20163 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20166 echo "$as_me: failed program was:" >&5
20167 sed 's/^/| /' conftest.
$ac_ext >&5
20172 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20175 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20176 # Binary search between lo and hi bounds.
20177 while test "x$ac_lo" != "x$ac_hi"; do
20178 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
20179 cat >conftest.
$ac_ext <<_ACEOF
20182 cat confdefs.h
>>conftest.
$ac_ext
20183 cat >>conftest.
$ac_ext <<_ACEOF
20184 /* end confdefs.h. */
20185 $ac_includes_default
20186 typedef long ac__type_sizeof_;
20190 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
20197 rm -f conftest.
$ac_objext
20198 if { (ac_try
="$ac_compile"
20199 case "(($ac_try" in
20200 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
20201 *) ac_try_echo=$ac_try;;
20203 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20204 (eval "$ac_compile") 2>conftest.er1
20206 grep -v '^ *+' conftest.er1 >conftest.err
20208 cat conftest.err >&5
20209 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20210 (exit $ac_status); } && {
20211 test -z "$ac_c_werror_flag" ||
20212 test ! -s conftest.err
20213 } && test -s conftest.$ac_objext; then
20216 echo "$as_me: failed program was:" >&5
20217 sed 's/^/| /' conftest.$ac_ext >&5
20219 ac_lo=`expr '(' $ac_mid ')' + 1`
20222 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20225 ?*) ac_cv_sizeof_long=$ac_lo;;
20226 '') if test "$ac_cv_type_long" = yes; then
20227 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long)
20228 See \`config.log
' for more details." >&5
20229 echo "$as_me: error: cannot compute sizeof (long)
20230 See \`config.log' for more details.
" >&2;}
20231 { (exit 77); exit 77; }; }
20233 ac_cv_sizeof_long=0
20237 cat >conftest.$ac_ext <<_ACEOF
20240 cat confdefs.h >>conftest.$ac_ext
20241 cat >>conftest.$ac_ext <<_ACEOF
20242 /* end confdefs.h. */
20243 $ac_includes_default
20244 typedef long ac__type_sizeof_;
20245 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
20246 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
20248 #include <stdlib.h>
20253 FILE *f = fopen ("conftest.val
", "w
");
20256 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
20258 long int i = longval ();
20259 if (i != ((long int) (sizeof (ac__type_sizeof_))))
20261 fprintf (f, "%ld
\n", i);
20265 unsigned long int i = ulongval ();
20266 if (i != ((long int) (sizeof (ac__type_sizeof_))))
20268 fprintf (f, "%lu
\n", i);
20270 return ferror (f) || fclose (f) != 0;
20276 rm -f conftest$ac_exeext
20277 if { (ac_try="$ac_link"
20278 case "(($ac_try" in
20279 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20280 *) ac_try_echo=$ac_try;;
20282 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
20283 (eval "$ac_link") 2>&5
20285 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
20286 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
20287 { (case "(($ac_try" in
20288 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20289 *) ac_try_echo=$ac_try;;
20291 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
20292 (eval "$ac_try") 2>&5
20294 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
20295 (exit $ac_status); }; }; then
20296 ac_cv_sizeof_long=`cat conftest.val`
20298 echo "$as_me: program exited with status
$ac_status" >&5
20299 echo "$as_me: failed program was
:" >&5
20300 sed 's/^/| /' conftest.$ac_ext >&5
20302 ( exit $ac_status )
20303 if test "$ac_cv_type_long" = yes; then
20304 { { echo "$as_me:$LINENO: error
: cannot compute sizeof
(long
)
20305 See \
`config.log' for more details." >&5
20306 echo "$as_me: error: cannot compute sizeof (long)
20307 See \`config.log
' for more details." >&2;}
20308 { (exit 77); exit 77; }; }
20310 ac_cv_sizeof_long=0
20313 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20317 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5
20318 echo "${ECHO_T}$ac_cv_sizeof_long" >&6; }
20322 cat >>confdefs.h <<_ACEOF
20323 #define SIZEOF_LONG $ac_cv_sizeof_long
20327 { echo "$as_me:$LINENO: checking for size_t" >&5
20328 echo $ECHO_N "checking for size_t... $ECHO_C" >&6; }
20329 if test "${ac_cv_type_size_t+set}" = set; then
20330 echo $ECHO_N "(cached) $ECHO_C" >&6
20332 cat >conftest.$ac_ext <<_ACEOF
20335 cat confdefs.h >>conftest.$ac_ext
20336 cat >>conftest.$ac_ext <<_ACEOF
20337 /* end confdefs.h. */
20338 $ac_includes_default
20339 typedef size_t ac__type_new_;
20343 if ((ac__type_new_ *) 0)
20345 if (sizeof (ac__type_new_))
20351 rm -f conftest.$ac_objext
20352 if { (ac_try="$ac_compile"
20353 case "(($ac_try" in
20354 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20355 *) ac_try_echo=$ac_try;;
20357 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20358 (eval "$ac_compile") 2>conftest.er1
20360 grep -v '^
*+' conftest.er1 >conftest.err
20362 cat conftest.err >&5
20363 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20364 (exit $ac_status); } && {
20365 test -z "$ac_c_werror_flag" ||
20366 test ! -s conftest.err
20367 } && test -s conftest.$ac_objext; then
20368 ac_cv_type_size_t=yes
20370 echo "$as_me: failed program was:" >&5
20371 sed 's
/^
/| /' conftest.$ac_ext >&5
20373 ac_cv_type_size_t=no
20376 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20378 { echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
20379 echo "${ECHO_T}$ac_cv_type_size_t" >&6; }
20381 # The cast to long int works around a bug in the HP C Compiler
20382 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20383 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20384 # This bug is HP SR number 8606223364.
20385 { echo "$as_me:$LINENO: checking size of size_t" >&5
20386 echo $ECHO_N "checking size of size_t... $ECHO_C" >&6; }
20387 if test "${ac_cv_sizeof_size_t+set}" = set; then
20388 echo $ECHO_N "(cached) $ECHO_C" >&6
20390 if test "$cross_compiling" = yes; then
20391 # Depending upon the size, compute the lo and hi bounds.
20392 cat >conftest.
$ac_ext <<_ACEOF
20395 cat confdefs.h
>>conftest.
$ac_ext
20396 cat >>conftest.
$ac_ext <<_ACEOF
20397 /* end confdefs.h. */
20398 $ac_includes_default
20399 typedef size_t ac__type_sizeof_;
20403 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
20410 rm -f conftest.
$ac_objext
20411 if { (ac_try
="$ac_compile"
20412 case "(($ac_try" in
20413 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
20414 *) ac_try_echo=$ac_try;;
20416 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20417 (eval "$ac_compile") 2>conftest.er1
20419 grep -v '^ *+' conftest.er1 >conftest.err
20421 cat conftest.err >&5
20422 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20423 (exit $ac_status); } && {
20424 test -z "$ac_c_werror_flag" ||
20425 test ! -s conftest.err
20426 } && test -s conftest.$ac_objext; then
20429 cat >conftest.$ac_ext <<_ACEOF
20432 cat confdefs.h >>conftest.$ac_ext
20433 cat >>conftest.$ac_ext <<_ACEOF
20434 /* end confdefs.h. */
20435 $ac_includes_default
20436 typedef size_t ac__type_sizeof_;
20440 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
20447 rm -f conftest.$ac_objext
20448 if { (ac_try="$ac_compile"
20449 case "(($ac_try" in
20450 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
20451 *) ac_try_echo
=$ac_try;;
20453 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20454 (eval "$ac_compile") 2>conftest.er1
20456 grep -v '^ *+' conftest.er1
>conftest.err
20458 cat conftest.err
>&5
20459 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20460 (exit $ac_status); } && {
20461 test -z "$ac_c_werror_flag" ||
20462 test ! -s conftest.err
20463 } && test -s conftest.
$ac_objext; then
20464 ac_hi
=$ac_mid; break
20466 echo "$as_me: failed program was:" >&5
20467 sed 's/^/| /' conftest.
$ac_ext >&5
20469 ac_lo
=`expr $ac_mid + 1`
20470 if test $ac_lo -le $ac_mid; then
20474 ac_mid
=`expr 2 '*' $ac_mid + 1`
20477 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20480 echo "$as_me: failed program was:" >&5
20481 sed 's/^/| /' conftest.
$ac_ext >&5
20483 cat >conftest.
$ac_ext <<_ACEOF
20486 cat confdefs.h
>>conftest.
$ac_ext
20487 cat >>conftest.
$ac_ext <<_ACEOF
20488 /* end confdefs.h. */
20489 $ac_includes_default
20490 typedef size_t ac__type_sizeof_;
20494 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
20501 rm -f conftest.
$ac_objext
20502 if { (ac_try
="$ac_compile"
20503 case "(($ac_try" in
20504 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
20505 *) ac_try_echo=$ac_try;;
20507 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20508 (eval "$ac_compile") 2>conftest.er1
20510 grep -v '^ *+' conftest.er1 >conftest.err
20512 cat conftest.err >&5
20513 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20514 (exit $ac_status); } && {
20515 test -z "$ac_c_werror_flag" ||
20516 test ! -s conftest.err
20517 } && test -s conftest.$ac_objext; then
20520 cat >conftest.$ac_ext <<_ACEOF
20523 cat confdefs.h >>conftest.$ac_ext
20524 cat >>conftest.$ac_ext <<_ACEOF
20525 /* end confdefs.h. */
20526 $ac_includes_default
20527 typedef size_t ac__type_sizeof_;
20531 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
20538 rm -f conftest.$ac_objext
20539 if { (ac_try="$ac_compile"
20540 case "(($ac_try" in
20541 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
20542 *) ac_try_echo
=$ac_try;;
20544 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20545 (eval "$ac_compile") 2>conftest.er1
20547 grep -v '^ *+' conftest.er1
>conftest.err
20549 cat conftest.err
>&5
20550 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20551 (exit $ac_status); } && {
20552 test -z "$ac_c_werror_flag" ||
20553 test ! -s conftest.err
20554 } && test -s conftest.
$ac_objext; then
20555 ac_lo
=$ac_mid; break
20557 echo "$as_me: failed program was:" >&5
20558 sed 's/^/| /' conftest.
$ac_ext >&5
20560 ac_hi
=`expr '(' $ac_mid ')' - 1`
20561 if test $ac_mid -le $ac_hi; then
20565 ac_mid
=`expr 2 '*' $ac_mid`
20568 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20571 echo "$as_me: failed program was:" >&5
20572 sed 's/^/| /' conftest.
$ac_ext >&5
20577 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20580 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20581 # Binary search between lo and hi bounds.
20582 while test "x$ac_lo" != "x$ac_hi"; do
20583 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
20584 cat >conftest.
$ac_ext <<_ACEOF
20587 cat confdefs.h
>>conftest.
$ac_ext
20588 cat >>conftest.
$ac_ext <<_ACEOF
20589 /* end confdefs.h. */
20590 $ac_includes_default
20591 typedef size_t ac__type_sizeof_;
20595 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
20602 rm -f conftest.
$ac_objext
20603 if { (ac_try
="$ac_compile"
20604 case "(($ac_try" in
20605 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
20606 *) ac_try_echo=$ac_try;;
20608 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20609 (eval "$ac_compile") 2>conftest.er1
20611 grep -v '^ *+' conftest.er1 >conftest.err
20613 cat conftest.err >&5
20614 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20615 (exit $ac_status); } && {
20616 test -z "$ac_c_werror_flag" ||
20617 test ! -s conftest.err
20618 } && test -s conftest.$ac_objext; then
20621 echo "$as_me: failed program was:" >&5
20622 sed 's/^/| /' conftest.$ac_ext >&5
20624 ac_lo=`expr '(' $ac_mid ')' + 1`
20627 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20630 ?*) ac_cv_sizeof_size_t=$ac_lo;;
20631 '') if test "$ac_cv_type_size_t" = yes; then
20632 { { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t)
20633 See \`config.log
' for more details." >&5
20634 echo "$as_me: error: cannot compute sizeof (size_t)
20635 See \`config.log' for more details.
" >&2;}
20636 { (exit 77); exit 77; }; }
20638 ac_cv_sizeof_size_t=0
20642 cat >conftest.$ac_ext <<_ACEOF
20645 cat confdefs.h >>conftest.$ac_ext
20646 cat >>conftest.$ac_ext <<_ACEOF
20647 /* end confdefs.h. */
20648 $ac_includes_default
20649 typedef size_t ac__type_sizeof_;
20650 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
20651 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
20653 #include <stdlib.h>
20658 FILE *f = fopen ("conftest.val
", "w
");
20661 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
20663 long int i = longval ();
20664 if (i != ((long int) (sizeof (ac__type_sizeof_))))
20666 fprintf (f, "%ld
\n", i);
20670 unsigned long int i = ulongval ();
20671 if (i != ((long int) (sizeof (ac__type_sizeof_))))
20673 fprintf (f, "%lu
\n", i);
20675 return ferror (f) || fclose (f) != 0;
20681 rm -f conftest$ac_exeext
20682 if { (ac_try="$ac_link"
20683 case "(($ac_try" in
20684 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20685 *) ac_try_echo=$ac_try;;
20687 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
20688 (eval "$ac_link") 2>&5
20690 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
20691 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
20692 { (case "(($ac_try" in
20693 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20694 *) ac_try_echo=$ac_try;;
20696 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
20697 (eval "$ac_try") 2>&5
20699 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
20700 (exit $ac_status); }; }; then
20701 ac_cv_sizeof_size_t=`cat conftest.val`
20703 echo "$as_me: program exited with status
$ac_status" >&5
20704 echo "$as_me: failed program was
:" >&5
20705 sed 's/^/| /' conftest.$ac_ext >&5
20707 ( exit $ac_status )
20708 if test "$ac_cv_type_size_t" = yes; then
20709 { { echo "$as_me:$LINENO: error
: cannot compute sizeof
(size_t
)
20710 See \
`config.log' for more details." >&5
20711 echo "$as_me: error: cannot compute sizeof (size_t)
20712 See \`config.log
' for more details." >&2;}
20713 { (exit 77); exit 77; }; }
20715 ac_cv_sizeof_size_t=0
20718 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20722 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_size_t" >&5
20723 echo "${ECHO_T}$ac_cv_sizeof_size_t" >&6; }
20727 cat >>confdefs.h <<_ACEOF
20728 #define SIZEOF_SIZE_T $ac_cv_sizeof_size_t
20735 { echo "$as_me:$LINENO: checking for long long" >&5
20736 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
20737 if test "${ac_cv_type_long_long+set}" = set; then
20738 echo $ECHO_N "(cached) $ECHO_C" >&6
20740 cat >conftest.$ac_ext <<_ACEOF
20743 cat confdefs.h >>conftest.$ac_ext
20744 cat >>conftest.$ac_ext <<_ACEOF
20745 /* end confdefs.h. */
20746 $ac_includes_default
20747 typedef long long ac__type_new_;
20751 if ((ac__type_new_ *) 0)
20753 if (sizeof (ac__type_new_))
20759 rm -f conftest.$ac_objext
20760 if { (ac_try="$ac_compile"
20761 case "(($ac_try" in
20762 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20763 *) ac_try_echo=$ac_try;;
20765 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20766 (eval "$ac_compile") 2>conftest.er1
20768 grep -v '^
*+' conftest.er1 >conftest.err
20770 cat conftest.err >&5
20771 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20772 (exit $ac_status); } && {
20773 test -z "$ac_c_werror_flag" ||
20774 test ! -s conftest.err
20775 } && test -s conftest.$ac_objext; then
20776 ac_cv_type_long_long=yes
20778 echo "$as_me: failed program was:" >&5
20779 sed 's
/^
/| /' conftest.$ac_ext >&5
20781 ac_cv_type_long_long=no
20784 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20786 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
20787 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
20789 # The cast to long int works around a bug in the HP C Compiler
20790 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20791 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20792 # This bug is HP SR number 8606223364.
20793 { echo "$as_me:$LINENO: checking size of long long" >&5
20794 echo $ECHO_N "checking size of long long... $ECHO_C" >&6; }
20795 if test "${ac_cv_sizeof_long_long+set}" = set; then
20796 echo $ECHO_N "(cached) $ECHO_C" >&6
20798 if test "$cross_compiling" = yes; then
20799 # Depending upon the size, compute the lo and hi bounds.
20800 cat >conftest.
$ac_ext <<_ACEOF
20803 cat confdefs.h
>>conftest.
$ac_ext
20804 cat >>conftest.
$ac_ext <<_ACEOF
20805 /* end confdefs.h. */
20806 $ac_includes_default
20807 typedef long long ac__type_sizeof_;
20811 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
20818 rm -f conftest.
$ac_objext
20819 if { (ac_try
="$ac_compile"
20820 case "(($ac_try" in
20821 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
20822 *) ac_try_echo=$ac_try;;
20824 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20825 (eval "$ac_compile") 2>conftest.er1
20827 grep -v '^ *+' conftest.er1 >conftest.err
20829 cat conftest.err >&5
20830 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20831 (exit $ac_status); } && {
20832 test -z "$ac_c_werror_flag" ||
20833 test ! -s conftest.err
20834 } && test -s conftest.$ac_objext; then
20837 cat >conftest.$ac_ext <<_ACEOF
20840 cat confdefs.h >>conftest.$ac_ext
20841 cat >>conftest.$ac_ext <<_ACEOF
20842 /* end confdefs.h. */
20843 $ac_includes_default
20844 typedef long long ac__type_sizeof_;
20848 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
20855 rm -f conftest.$ac_objext
20856 if { (ac_try="$ac_compile"
20857 case "(($ac_try" in
20858 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
20859 *) ac_try_echo
=$ac_try;;
20861 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20862 (eval "$ac_compile") 2>conftest.er1
20864 grep -v '^ *+' conftest.er1
>conftest.err
20866 cat conftest.err
>&5
20867 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20868 (exit $ac_status); } && {
20869 test -z "$ac_c_werror_flag" ||
20870 test ! -s conftest.err
20871 } && test -s conftest.
$ac_objext; then
20872 ac_hi
=$ac_mid; break
20874 echo "$as_me: failed program was:" >&5
20875 sed 's/^/| /' conftest.
$ac_ext >&5
20877 ac_lo
=`expr $ac_mid + 1`
20878 if test $ac_lo -le $ac_mid; then
20882 ac_mid
=`expr 2 '*' $ac_mid + 1`
20885 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20888 echo "$as_me: failed program was:" >&5
20889 sed 's/^/| /' conftest.
$ac_ext >&5
20891 cat >conftest.
$ac_ext <<_ACEOF
20894 cat confdefs.h
>>conftest.
$ac_ext
20895 cat >>conftest.
$ac_ext <<_ACEOF
20896 /* end confdefs.h. */
20897 $ac_includes_default
20898 typedef long long ac__type_sizeof_;
20902 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
20909 rm -f conftest.
$ac_objext
20910 if { (ac_try
="$ac_compile"
20911 case "(($ac_try" in
20912 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
20913 *) ac_try_echo=$ac_try;;
20915 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20916 (eval "$ac_compile") 2>conftest.er1
20918 grep -v '^ *+' conftest.er1 >conftest.err
20920 cat conftest.err >&5
20921 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20922 (exit $ac_status); } && {
20923 test -z "$ac_c_werror_flag" ||
20924 test ! -s conftest.err
20925 } && test -s conftest.$ac_objext; then
20928 cat >conftest.$ac_ext <<_ACEOF
20931 cat confdefs.h >>conftest.$ac_ext
20932 cat >>conftest.$ac_ext <<_ACEOF
20933 /* end confdefs.h. */
20934 $ac_includes_default
20935 typedef long long ac__type_sizeof_;
20939 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
20946 rm -f conftest.$ac_objext
20947 if { (ac_try="$ac_compile"
20948 case "(($ac_try" in
20949 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
20950 *) ac_try_echo
=$ac_try;;
20952 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20953 (eval "$ac_compile") 2>conftest.er1
20955 grep -v '^ *+' conftest.er1
>conftest.err
20957 cat conftest.err
>&5
20958 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20959 (exit $ac_status); } && {
20960 test -z "$ac_c_werror_flag" ||
20961 test ! -s conftest.err
20962 } && test -s conftest.
$ac_objext; then
20963 ac_lo
=$ac_mid; break
20965 echo "$as_me: failed program was:" >&5
20966 sed 's/^/| /' conftest.
$ac_ext >&5
20968 ac_hi
=`expr '(' $ac_mid ')' - 1`
20969 if test $ac_mid -le $ac_hi; then
20973 ac_mid
=`expr 2 '*' $ac_mid`
20976 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20979 echo "$as_me: failed program was:" >&5
20980 sed 's/^/| /' conftest.
$ac_ext >&5
20985 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20988 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20989 # Binary search between lo and hi bounds.
20990 while test "x$ac_lo" != "x$ac_hi"; do
20991 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
20992 cat >conftest.
$ac_ext <<_ACEOF
20995 cat confdefs.h
>>conftest.
$ac_ext
20996 cat >>conftest.
$ac_ext <<_ACEOF
20997 /* end confdefs.h. */
20998 $ac_includes_default
20999 typedef long long ac__type_sizeof_;
21003 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21010 rm -f conftest.
$ac_objext
21011 if { (ac_try
="$ac_compile"
21012 case "(($ac_try" in
21013 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
21014 *) ac_try_echo=$ac_try;;
21016 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21017 (eval "$ac_compile") 2>conftest.er1
21019 grep -v '^ *+' conftest.er1 >conftest.err
21021 cat conftest.err >&5
21022 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21023 (exit $ac_status); } && {
21024 test -z "$ac_c_werror_flag" ||
21025 test ! -s conftest.err
21026 } && test -s conftest.$ac_objext; then
21029 echo "$as_me: failed program was:" >&5
21030 sed 's/^/| /' conftest.$ac_ext >&5
21032 ac_lo=`expr '(' $ac_mid ')' + 1`
21035 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21038 ?*) ac_cv_sizeof_long_long=$ac_lo;;
21039 '') if test "$ac_cv_type_long_long" = yes; then
21040 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
21041 See \`config.log
' for more details." >&5
21042 echo "$as_me: error: cannot compute sizeof (long long)
21043 See \`config.log' for more details.
" >&2;}
21044 { (exit 77); exit 77; }; }
21046 ac_cv_sizeof_long_long=0
21050 cat >conftest.$ac_ext <<_ACEOF
21053 cat confdefs.h >>conftest.$ac_ext
21054 cat >>conftest.$ac_ext <<_ACEOF
21055 /* end confdefs.h. */
21056 $ac_includes_default
21057 typedef long long ac__type_sizeof_;
21058 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
21059 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
21061 #include <stdlib.h>
21066 FILE *f = fopen ("conftest.val
", "w
");
21069 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
21071 long int i = longval ();
21072 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21074 fprintf (f, "%ld
\n", i);
21078 unsigned long int i = ulongval ();
21079 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21081 fprintf (f, "%lu
\n", i);
21083 return ferror (f) || fclose (f) != 0;
21089 rm -f conftest$ac_exeext
21090 if { (ac_try="$ac_link"
21091 case "(($ac_try" in
21092 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21093 *) ac_try_echo=$ac_try;;
21095 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
21096 (eval "$ac_link") 2>&5
21098 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
21099 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
21100 { (case "(($ac_try" in
21101 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21102 *) ac_try_echo=$ac_try;;
21104 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
21105 (eval "$ac_try") 2>&5
21107 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
21108 (exit $ac_status); }; }; then
21109 ac_cv_sizeof_long_long=`cat conftest.val`
21111 echo "$as_me: program exited with status
$ac_status" >&5
21112 echo "$as_me: failed program was
:" >&5
21113 sed 's/^/| /' conftest.$ac_ext >&5
21115 ( exit $ac_status )
21116 if test "$ac_cv_type_long_long" = yes; then
21117 { { echo "$as_me:$LINENO: error
: cannot compute sizeof
(long long
)
21118 See \
`config.log' for more details." >&5
21119 echo "$as_me: error: cannot compute sizeof (long long)
21120 See \`config.log
' for more details." >&2;}
21121 { (exit 77); exit 77; }; }
21123 ac_cv_sizeof_long_long=0
21126 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
21130 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
21131 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6; }
21135 cat >>confdefs.h <<_ACEOF
21136 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
21142 { echo "$as_me:$LINENO: checking for long long" >&5
21143 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
21144 if test "${ac_cv_type_long_long+set}" = set; then
21145 echo $ECHO_N "(cached) $ECHO_C" >&6
21147 cat >conftest.$ac_ext <<_ACEOF
21150 cat confdefs.h >>conftest.$ac_ext
21151 cat >>conftest.$ac_ext <<_ACEOF
21152 /* end confdefs.h. */
21153 $ac_includes_default
21154 typedef long long ac__type_new_;
21158 if ((ac__type_new_ *) 0)
21160 if (sizeof (ac__type_new_))
21166 rm -f conftest.$ac_objext
21167 if { (ac_try="$ac_compile"
21168 case "(($ac_try" in
21169 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21170 *) ac_try_echo=$ac_try;;
21172 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21173 (eval "$ac_compile") 2>conftest.er1
21175 grep -v '^
*+' conftest.er1 >conftest.err
21177 cat conftest.err >&5
21178 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21179 (exit $ac_status); } && {
21180 test -z "$ac_c_werror_flag" ||
21181 test ! -s conftest.err
21182 } && test -s conftest.$ac_objext; then
21183 ac_cv_type_long_long=yes
21185 echo "$as_me: failed program was:" >&5
21186 sed 's
/^
/| /' conftest.$ac_ext >&5
21188 ac_cv_type_long_long=no
21191 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21193 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
21194 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
21196 # The cast to long int works around a bug in the HP C Compiler
21197 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
21198 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
21199 # This bug is HP SR number 8606223364.
21200 { echo "$as_me:$LINENO: checking size of long long" >&5
21201 echo $ECHO_N "checking size of long long... $ECHO_C" >&6; }
21202 if test "${ac_cv_sizeof_long_long+set}" = set; then
21203 echo $ECHO_N "(cached) $ECHO_C" >&6
21205 if test "$cross_compiling" = yes; then
21206 # Depending upon the size, compute the lo and hi bounds.
21207 cat >conftest.
$ac_ext <<_ACEOF
21210 cat confdefs.h
>>conftest.
$ac_ext
21211 cat >>conftest.
$ac_ext <<_ACEOF
21212 /* end confdefs.h. */
21213 $ac_includes_default
21214 typedef long long ac__type_sizeof_;
21218 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
21225 rm -f conftest.
$ac_objext
21226 if { (ac_try
="$ac_compile"
21227 case "(($ac_try" in
21228 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
21229 *) ac_try_echo=$ac_try;;
21231 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21232 (eval "$ac_compile") 2>conftest.er1
21234 grep -v '^ *+' conftest.er1 >conftest.err
21236 cat conftest.err >&5
21237 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21238 (exit $ac_status); } && {
21239 test -z "$ac_c_werror_flag" ||
21240 test ! -s conftest.err
21241 } && test -s conftest.$ac_objext; then
21244 cat >conftest.$ac_ext <<_ACEOF
21247 cat confdefs.h >>conftest.$ac_ext
21248 cat >>conftest.$ac_ext <<_ACEOF
21249 /* end confdefs.h. */
21250 $ac_includes_default
21251 typedef long long ac__type_sizeof_;
21255 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21262 rm -f conftest.$ac_objext
21263 if { (ac_try="$ac_compile"
21264 case "(($ac_try" in
21265 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
21266 *) ac_try_echo
=$ac_try;;
21268 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21269 (eval "$ac_compile") 2>conftest.er1
21271 grep -v '^ *+' conftest.er1
>conftest.err
21273 cat conftest.err
>&5
21274 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21275 (exit $ac_status); } && {
21276 test -z "$ac_c_werror_flag" ||
21277 test ! -s conftest.err
21278 } && test -s conftest.
$ac_objext; then
21279 ac_hi
=$ac_mid; break
21281 echo "$as_me: failed program was:" >&5
21282 sed 's/^/| /' conftest.
$ac_ext >&5
21284 ac_lo
=`expr $ac_mid + 1`
21285 if test $ac_lo -le $ac_mid; then
21289 ac_mid
=`expr 2 '*' $ac_mid + 1`
21292 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21295 echo "$as_me: failed program was:" >&5
21296 sed 's/^/| /' conftest.
$ac_ext >&5
21298 cat >conftest.
$ac_ext <<_ACEOF
21301 cat confdefs.h
>>conftest.
$ac_ext
21302 cat >>conftest.
$ac_ext <<_ACEOF
21303 /* end confdefs.h. */
21304 $ac_includes_default
21305 typedef long long ac__type_sizeof_;
21309 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
21316 rm -f conftest.
$ac_objext
21317 if { (ac_try
="$ac_compile"
21318 case "(($ac_try" in
21319 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
21320 *) ac_try_echo=$ac_try;;
21322 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21323 (eval "$ac_compile") 2>conftest.er1
21325 grep -v '^ *+' conftest.er1 >conftest.err
21327 cat conftest.err >&5
21328 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21329 (exit $ac_status); } && {
21330 test -z "$ac_c_werror_flag" ||
21331 test ! -s conftest.err
21332 } && test -s conftest.$ac_objext; then
21335 cat >conftest.$ac_ext <<_ACEOF
21338 cat confdefs.h >>conftest.$ac_ext
21339 cat >>conftest.$ac_ext <<_ACEOF
21340 /* end confdefs.h. */
21341 $ac_includes_default
21342 typedef long long ac__type_sizeof_;
21346 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
21353 rm -f conftest.$ac_objext
21354 if { (ac_try="$ac_compile"
21355 case "(($ac_try" in
21356 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
21357 *) ac_try_echo
=$ac_try;;
21359 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21360 (eval "$ac_compile") 2>conftest.er1
21362 grep -v '^ *+' conftest.er1
>conftest.err
21364 cat conftest.err
>&5
21365 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21366 (exit $ac_status); } && {
21367 test -z "$ac_c_werror_flag" ||
21368 test ! -s conftest.err
21369 } && test -s conftest.
$ac_objext; then
21370 ac_lo
=$ac_mid; break
21372 echo "$as_me: failed program was:" >&5
21373 sed 's/^/| /' conftest.
$ac_ext >&5
21375 ac_hi
=`expr '(' $ac_mid ')' - 1`
21376 if test $ac_mid -le $ac_hi; then
21380 ac_mid
=`expr 2 '*' $ac_mid`
21383 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21386 echo "$as_me: failed program was:" >&5
21387 sed 's/^/| /' conftest.
$ac_ext >&5
21392 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21395 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21396 # Binary search between lo and hi bounds.
21397 while test "x$ac_lo" != "x$ac_hi"; do
21398 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
21399 cat >conftest.
$ac_ext <<_ACEOF
21402 cat confdefs.h
>>conftest.
$ac_ext
21403 cat >>conftest.
$ac_ext <<_ACEOF
21404 /* end confdefs.h. */
21405 $ac_includes_default
21406 typedef long long ac__type_sizeof_;
21410 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21417 rm -f conftest.
$ac_objext
21418 if { (ac_try
="$ac_compile"
21419 case "(($ac_try" in
21420 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
21421 *) ac_try_echo=$ac_try;;
21423 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21424 (eval "$ac_compile") 2>conftest.er1
21426 grep -v '^ *+' conftest.er1 >conftest.err
21428 cat conftest.err >&5
21429 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21430 (exit $ac_status); } && {
21431 test -z "$ac_c_werror_flag" ||
21432 test ! -s conftest.err
21433 } && test -s conftest.$ac_objext; then
21436 echo "$as_me: failed program was:" >&5
21437 sed 's/^/| /' conftest.$ac_ext >&5
21439 ac_lo=`expr '(' $ac_mid ')' + 1`
21442 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21445 ?*) ac_cv_sizeof_long_long=$ac_lo;;
21446 '') if test "$ac_cv_type_long_long" = yes; then
21447 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
21448 See \`config.log
' for more details." >&5
21449 echo "$as_me: error: cannot compute sizeof (long long)
21450 See \`config.log' for more details.
" >&2;}
21451 { (exit 77); exit 77; }; }
21453 ac_cv_sizeof_long_long=0
21457 cat >conftest.$ac_ext <<_ACEOF
21460 cat confdefs.h >>conftest.$ac_ext
21461 cat >>conftest.$ac_ext <<_ACEOF
21462 /* end confdefs.h. */
21463 $ac_includes_default
21464 typedef long long ac__type_sizeof_;
21465 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
21466 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
21468 #include <stdlib.h>
21473 FILE *f = fopen ("conftest.val
", "w
");
21476 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
21478 long int i = longval ();
21479 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21481 fprintf (f, "%ld
\n", i);
21485 unsigned long int i = ulongval ();
21486 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21488 fprintf (f, "%lu
\n", i);
21490 return ferror (f) || fclose (f) != 0;
21496 rm -f conftest$ac_exeext
21497 if { (ac_try="$ac_link"
21498 case "(($ac_try" in
21499 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21500 *) ac_try_echo=$ac_try;;
21502 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
21503 (eval "$ac_link") 2>&5
21505 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
21506 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
21507 { (case "(($ac_try" in
21508 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21509 *) ac_try_echo=$ac_try;;
21511 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
21512 (eval "$ac_try") 2>&5
21514 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
21515 (exit $ac_status); }; }; then
21516 ac_cv_sizeof_long_long=`cat conftest.val`
21518 echo "$as_me: program exited with status
$ac_status" >&5
21519 echo "$as_me: failed program was
:" >&5
21520 sed 's/^/| /' conftest.$ac_ext >&5
21522 ( exit $ac_status )
21523 if test "$ac_cv_type_long_long" = yes; then
21524 { { echo "$as_me:$LINENO: error
: cannot compute sizeof
(long long
)
21525 See \
`config.log' for more details." >&5
21526 echo "$as_me: error: cannot compute sizeof (long long)
21527 See \`config.log
' for more details." >&2;}
21528 { (exit 77); exit 77; }; }
21530 ac_cv_sizeof_long_long=0
21533 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
21537 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
21538 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6; }
21542 cat >>confdefs.h <<_ACEOF
21543 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
21547 if test "$ac_cv_sizeof_long_long" != "0"; then
21548 CPPFLAGS="-D_INCLUDE_LONGLONG $CPPFLAGS"
21552 { echo "$as_me:$LINENO: checking for long long" >&5
21553 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
21554 if test "${ac_cv_type_long_long+set}" = set; then
21555 echo $ECHO_N "(cached) $ECHO_C" >&6
21557 cat >conftest.$ac_ext <<_ACEOF
21560 cat confdefs.h >>conftest.$ac_ext
21561 cat >>conftest.$ac_ext <<_ACEOF
21562 /* end confdefs.h. */
21563 $ac_includes_default
21564 typedef long long ac__type_new_;
21568 if ((ac__type_new_ *) 0)
21570 if (sizeof (ac__type_new_))
21576 rm -f conftest.$ac_objext
21577 if { (ac_try="$ac_compile"
21578 case "(($ac_try" in
21579 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21580 *) ac_try_echo=$ac_try;;
21582 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21583 (eval "$ac_compile") 2>conftest.er1
21585 grep -v '^
*+' conftest.er1 >conftest.err
21587 cat conftest.err >&5
21588 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21589 (exit $ac_status); } && {
21590 test -z "$ac_c_werror_flag" ||
21591 test ! -s conftest.err
21592 } && test -s conftest.$ac_objext; then
21593 ac_cv_type_long_long=yes
21595 echo "$as_me: failed program was:" >&5
21596 sed 's
/^
/| /' conftest.$ac_ext >&5
21598 ac_cv_type_long_long=no
21601 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21603 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
21604 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
21606 # The cast to long int works around a bug in the HP C Compiler
21607 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
21608 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
21609 # This bug is HP SR number 8606223364.
21610 { echo "$as_me:$LINENO: checking size of long long" >&5
21611 echo $ECHO_N "checking size of long long... $ECHO_C" >&6; }
21612 if test "${ac_cv_sizeof_long_long+set}" = set; then
21613 echo $ECHO_N "(cached) $ECHO_C" >&6
21615 if test "$cross_compiling" = yes; then
21616 # Depending upon the size, compute the lo and hi bounds.
21617 cat >conftest.
$ac_ext <<_ACEOF
21620 cat confdefs.h
>>conftest.
$ac_ext
21621 cat >>conftest.
$ac_ext <<_ACEOF
21622 /* end confdefs.h. */
21623 $ac_includes_default
21624 typedef long long ac__type_sizeof_;
21628 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
21635 rm -f conftest.
$ac_objext
21636 if { (ac_try
="$ac_compile"
21637 case "(($ac_try" in
21638 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
21639 *) ac_try_echo=$ac_try;;
21641 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21642 (eval "$ac_compile") 2>conftest.er1
21644 grep -v '^ *+' conftest.er1 >conftest.err
21646 cat conftest.err >&5
21647 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21648 (exit $ac_status); } && {
21649 test -z "$ac_c_werror_flag" ||
21650 test ! -s conftest.err
21651 } && test -s conftest.$ac_objext; then
21654 cat >conftest.$ac_ext <<_ACEOF
21657 cat confdefs.h >>conftest.$ac_ext
21658 cat >>conftest.$ac_ext <<_ACEOF
21659 /* end confdefs.h. */
21660 $ac_includes_default
21661 typedef long long ac__type_sizeof_;
21665 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21672 rm -f conftest.$ac_objext
21673 if { (ac_try="$ac_compile"
21674 case "(($ac_try" in
21675 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
21676 *) ac_try_echo
=$ac_try;;
21678 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21679 (eval "$ac_compile") 2>conftest.er1
21681 grep -v '^ *+' conftest.er1
>conftest.err
21683 cat conftest.err
>&5
21684 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21685 (exit $ac_status); } && {
21686 test -z "$ac_c_werror_flag" ||
21687 test ! -s conftest.err
21688 } && test -s conftest.
$ac_objext; then
21689 ac_hi
=$ac_mid; break
21691 echo "$as_me: failed program was:" >&5
21692 sed 's/^/| /' conftest.
$ac_ext >&5
21694 ac_lo
=`expr $ac_mid + 1`
21695 if test $ac_lo -le $ac_mid; then
21699 ac_mid
=`expr 2 '*' $ac_mid + 1`
21702 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21705 echo "$as_me: failed program was:" >&5
21706 sed 's/^/| /' conftest.
$ac_ext >&5
21708 cat >conftest.
$ac_ext <<_ACEOF
21711 cat confdefs.h
>>conftest.
$ac_ext
21712 cat >>conftest.
$ac_ext <<_ACEOF
21713 /* end confdefs.h. */
21714 $ac_includes_default
21715 typedef long long ac__type_sizeof_;
21719 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
21726 rm -f conftest.
$ac_objext
21727 if { (ac_try
="$ac_compile"
21728 case "(($ac_try" in
21729 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
21730 *) ac_try_echo=$ac_try;;
21732 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21733 (eval "$ac_compile") 2>conftest.er1
21735 grep -v '^ *+' conftest.er1 >conftest.err
21737 cat conftest.err >&5
21738 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21739 (exit $ac_status); } && {
21740 test -z "$ac_c_werror_flag" ||
21741 test ! -s conftest.err
21742 } && test -s conftest.$ac_objext; then
21745 cat >conftest.$ac_ext <<_ACEOF
21748 cat confdefs.h >>conftest.$ac_ext
21749 cat >>conftest.$ac_ext <<_ACEOF
21750 /* end confdefs.h. */
21751 $ac_includes_default
21752 typedef long long ac__type_sizeof_;
21756 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
21763 rm -f conftest.$ac_objext
21764 if { (ac_try="$ac_compile"
21765 case "(($ac_try" in
21766 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
21767 *) ac_try_echo
=$ac_try;;
21769 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21770 (eval "$ac_compile") 2>conftest.er1
21772 grep -v '^ *+' conftest.er1
>conftest.err
21774 cat conftest.err
>&5
21775 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21776 (exit $ac_status); } && {
21777 test -z "$ac_c_werror_flag" ||
21778 test ! -s conftest.err
21779 } && test -s conftest.
$ac_objext; then
21780 ac_lo
=$ac_mid; break
21782 echo "$as_me: failed program was:" >&5
21783 sed 's/^/| /' conftest.
$ac_ext >&5
21785 ac_hi
=`expr '(' $ac_mid ')' - 1`
21786 if test $ac_mid -le $ac_hi; then
21790 ac_mid
=`expr 2 '*' $ac_mid`
21793 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21796 echo "$as_me: failed program was:" >&5
21797 sed 's/^/| /' conftest.
$ac_ext >&5
21802 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21805 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21806 # Binary search between lo and hi bounds.
21807 while test "x$ac_lo" != "x$ac_hi"; do
21808 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
21809 cat >conftest.
$ac_ext <<_ACEOF
21812 cat confdefs.h
>>conftest.
$ac_ext
21813 cat >>conftest.
$ac_ext <<_ACEOF
21814 /* end confdefs.h. */
21815 $ac_includes_default
21816 typedef long long ac__type_sizeof_;
21820 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21827 rm -f conftest.
$ac_objext
21828 if { (ac_try
="$ac_compile"
21829 case "(($ac_try" in
21830 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
21831 *) ac_try_echo=$ac_try;;
21833 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21834 (eval "$ac_compile") 2>conftest.er1
21836 grep -v '^ *+' conftest.er1 >conftest.err
21838 cat conftest.err >&5
21839 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21840 (exit $ac_status); } && {
21841 test -z "$ac_c_werror_flag" ||
21842 test ! -s conftest.err
21843 } && test -s conftest.$ac_objext; then
21846 echo "$as_me: failed program was:" >&5
21847 sed 's/^/| /' conftest.$ac_ext >&5
21849 ac_lo=`expr '(' $ac_mid ')' + 1`
21852 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21855 ?*) ac_cv_sizeof_long_long=$ac_lo;;
21856 '') if test "$ac_cv_type_long_long" = yes; then
21857 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
21858 See \`config.log
' for more details." >&5
21859 echo "$as_me: error: cannot compute sizeof (long long)
21860 See \`config.log' for more details.
" >&2;}
21861 { (exit 77); exit 77; }; }
21863 ac_cv_sizeof_long_long=0
21867 cat >conftest.$ac_ext <<_ACEOF
21870 cat confdefs.h >>conftest.$ac_ext
21871 cat >>conftest.$ac_ext <<_ACEOF
21872 /* end confdefs.h. */
21873 $ac_includes_default
21874 typedef long long ac__type_sizeof_;
21875 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
21876 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
21878 #include <stdlib.h>
21883 FILE *f = fopen ("conftest.val
", "w
");
21886 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
21888 long int i = longval ();
21889 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21891 fprintf (f, "%ld
\n", i);
21895 unsigned long int i = ulongval ();
21896 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21898 fprintf (f, "%lu
\n", i);
21900 return ferror (f) || fclose (f) != 0;
21906 rm -f conftest$ac_exeext
21907 if { (ac_try="$ac_link"
21908 case "(($ac_try" in
21909 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21910 *) ac_try_echo=$ac_try;;
21912 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
21913 (eval "$ac_link") 2>&5
21915 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
21916 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
21917 { (case "(($ac_try" in
21918 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21919 *) ac_try_echo=$ac_try;;
21921 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
21922 (eval "$ac_try") 2>&5
21924 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
21925 (exit $ac_status); }; }; then
21926 ac_cv_sizeof_long_long=`cat conftest.val`
21928 echo "$as_me: program exited with status
$ac_status" >&5
21929 echo "$as_me: failed program was
:" >&5
21930 sed 's/^/| /' conftest.$ac_ext >&5
21932 ( exit $ac_status )
21933 if test "$ac_cv_type_long_long" = yes; then
21934 { { echo "$as_me:$LINENO: error
: cannot compute sizeof
(long long
)
21935 See \
`config.log' for more details." >&5
21936 echo "$as_me: error: cannot compute sizeof (long long)
21937 See \`config.log
' for more details." >&2;}
21938 { (exit 77); exit 77; }; }
21940 ac_cv_sizeof_long_long=0
21943 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
21947 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
21948 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6; }
21952 cat >>confdefs.h <<_ACEOF
21953 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
21959 { echo "$as_me:$LINENO: checking for wchar_t" >&5
21960 echo $ECHO_N "checking for wchar_t... $ECHO_C" >&6; }
21961 if test "${ac_cv_type_wchar_t+set}" = set; then
21962 echo $ECHO_N "(cached) $ECHO_C" >&6
21964 cat >conftest.$ac_ext <<_ACEOF
21967 cat confdefs.h >>conftest.$ac_ext
21968 cat >>conftest.$ac_ext <<_ACEOF
21969 /* end confdefs.h. */
21971 /* DJGPP's wchar_t is now a keyword
in C
++ (still not C though
) */
21972 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
21973 # error "fake wchar_t"
21975 #ifdef HAVE_WCHAR_H
21977 # include <stddef.h>
21979 # include <wchar.h>
21981 #ifdef HAVE_STDLIB_H
21982 # include <stdlib.h>
21988 typedef wchar_t ac__type_new_
;
21992 if ((ac__type_new_
*) 0)
21994 if (sizeof
(ac__type_new_
))
22000 rm -f conftest.
$ac_objext
22001 if { (ac_try
="$ac_compile"
22002 case "(($ac_try" in
22003 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
22004 *) ac_try_echo=$ac_try;;
22006 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22007 (eval "$ac_compile") 2>conftest.er1
22009 grep -v '^ *+' conftest.er1 >conftest.err
22011 cat conftest.err >&5
22012 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22013 (exit $ac_status); } && {
22014 test -z "$ac_c_werror_flag" ||
22015 test ! -s conftest.err
22016 } && test -s conftest.$ac_objext; then
22017 ac_cv_type_wchar_t=yes
22019 echo "$as_me: failed program was:" >&5
22020 sed 's/^/| /' conftest.$ac_ext >&5
22022 ac_cv_type_wchar_t=no
22025 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22027 { echo "$as_me:$LINENO: result: $ac_cv_type_wchar_t" >&5
22028 echo "${ECHO_T}$ac_cv_type_wchar_t" >&6; }
22030 # The cast to long int works around a bug in the HP C Compiler
22031 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
22032 # declarations like `int a3
[[(sizeof
(unsigned char
)) >= 0]];'.
22033 # This bug is HP SR number 8606223364.
22034 { echo "$as_me:$LINENO: checking size of wchar_t" >&5
22035 echo $ECHO_N "checking size of wchar_t... $ECHO_C" >&6; }
22036 if test "${ac_cv_sizeof_wchar_t+set}" = set; then
22037 echo $ECHO_N "(cached) $ECHO_C" >&6
22039 if test "$cross_compiling" = yes; then
22040 # Depending upon the size, compute the lo and hi bounds.
22041 cat >conftest.$ac_ext <<_ACEOF
22044 cat confdefs.h >>conftest.$ac_ext
22045 cat >>conftest.$ac_ext <<_ACEOF
22046 /* end confdefs.h. */
22048 /* DJGPP's wchar_t is now a keyword
in C
++ (still not C though
) */
22049 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
22050 # error "fake wchar_t"
22052 #ifdef HAVE_WCHAR_H
22054 # include <stddef.h>
22056 # include <wchar.h>
22058 #ifdef HAVE_STDLIB_H
22059 # include <stdlib.h>
22065 typedef wchar_t ac__type_sizeof_
;
22069 static int test_array
[1 - 2 * !(((long int
) (sizeof
(ac__type_sizeof_
))) >= 0)];
22076 rm -f conftest.
$ac_objext
22077 if { (ac_try
="$ac_compile"
22078 case "(($ac_try" in
22079 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
22080 *) ac_try_echo=$ac_try;;
22082 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22083 (eval "$ac_compile") 2>conftest.er1
22085 grep -v '^ *+' conftest.er1 >conftest.err
22087 cat conftest.err >&5
22088 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22089 (exit $ac_status); } && {
22090 test -z "$ac_c_werror_flag" ||
22091 test ! -s conftest.err
22092 } && test -s conftest.$ac_objext; then
22095 cat >conftest.$ac_ext <<_ACEOF
22098 cat confdefs.h >>conftest.$ac_ext
22099 cat >>conftest.$ac_ext <<_ACEOF
22100 /* end confdefs.h. */
22102 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
22103 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
22104 # error "fake wchar_t"
22106 #ifdef HAVE_WCHAR_H
22108 # include <stddef.h>
22110 # include <wchar.h>
22112 #ifdef HAVE_STDLIB_H
22113 # include <stdlib.h>
22119 typedef wchar_t ac__type_sizeof_;
22123 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22130 rm -f conftest.$ac_objext
22131 if { (ac_try="$ac_compile"
22132 case "(($ac_try" in
22133 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
22134 *) ac_try_echo
=$ac_try;;
22136 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22137 (eval "$ac_compile") 2>conftest.er1
22139 grep -v '^ *+' conftest.er1
>conftest.err
22141 cat conftest.err
>&5
22142 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22143 (exit $ac_status); } && {
22144 test -z "$ac_c_werror_flag" ||
22145 test ! -s conftest.err
22146 } && test -s conftest.
$ac_objext; then
22147 ac_hi
=$ac_mid; break
22149 echo "$as_me: failed program was:" >&5
22150 sed 's/^/| /' conftest.
$ac_ext >&5
22152 ac_lo
=`expr $ac_mid + 1`
22153 if test $ac_lo -le $ac_mid; then
22157 ac_mid
=`expr 2 '*' $ac_mid + 1`
22160 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
22163 echo "$as_me: failed program was:" >&5
22164 sed 's/^/| /' conftest.
$ac_ext >&5
22166 cat >conftest.
$ac_ext <<_ACEOF
22169 cat confdefs.h
>>conftest.
$ac_ext
22170 cat >>conftest.
$ac_ext <<_ACEOF
22171 /* end confdefs.h. */
22173 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
22174 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
22175 # error "fake wchar_t"
22177 #ifdef HAVE_WCHAR_H
22179 # include <stddef.h>
22181 # include <wchar.h>
22183 #ifdef HAVE_STDLIB_H
22184 # include <stdlib.h>
22190 typedef wchar_t ac__type_sizeof_;
22194 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
22201 rm -f conftest.
$ac_objext
22202 if { (ac_try
="$ac_compile"
22203 case "(($ac_try" in
22204 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
22205 *) ac_try_echo=$ac_try;;
22207 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22208 (eval "$ac_compile") 2>conftest.er1
22210 grep -v '^ *+' conftest.er1 >conftest.err
22212 cat conftest.err >&5
22213 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22214 (exit $ac_status); } && {
22215 test -z "$ac_c_werror_flag" ||
22216 test ! -s conftest.err
22217 } && test -s conftest.$ac_objext; then
22220 cat >conftest.$ac_ext <<_ACEOF
22223 cat confdefs.h >>conftest.$ac_ext
22224 cat >>conftest.$ac_ext <<_ACEOF
22225 /* end confdefs.h. */
22227 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
22228 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
22229 # error "fake wchar_t"
22231 #ifdef HAVE_WCHAR_H
22233 # include <stddef.h>
22235 # include <wchar.h>
22237 #ifdef HAVE_STDLIB_H
22238 # include <stdlib.h>
22244 typedef wchar_t ac__type_sizeof_;
22248 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
22255 rm -f conftest.$ac_objext
22256 if { (ac_try="$ac_compile"
22257 case "(($ac_try" in
22258 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
22259 *) ac_try_echo
=$ac_try;;
22261 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22262 (eval "$ac_compile") 2>conftest.er1
22264 grep -v '^ *+' conftest.er1
>conftest.err
22266 cat conftest.err
>&5
22267 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22268 (exit $ac_status); } && {
22269 test -z "$ac_c_werror_flag" ||
22270 test ! -s conftest.err
22271 } && test -s conftest.
$ac_objext; then
22272 ac_lo
=$ac_mid; break
22274 echo "$as_me: failed program was:" >&5
22275 sed 's/^/| /' conftest.
$ac_ext >&5
22277 ac_hi
=`expr '(' $ac_mid ')' - 1`
22278 if test $ac_mid -le $ac_hi; then
22282 ac_mid
=`expr 2 '*' $ac_mid`
22285 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
22288 echo "$as_me: failed program was:" >&5
22289 sed 's/^/| /' conftest.
$ac_ext >&5
22294 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
22297 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
22298 # Binary search between lo and hi bounds.
22299 while test "x$ac_lo" != "x$ac_hi"; do
22300 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
22301 cat >conftest.
$ac_ext <<_ACEOF
22304 cat confdefs.h
>>conftest.
$ac_ext
22305 cat >>conftest.
$ac_ext <<_ACEOF
22306 /* end confdefs.h. */
22308 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
22309 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
22310 # error "fake wchar_t"
22312 #ifdef HAVE_WCHAR_H
22314 # include <stddef.h>
22316 # include <wchar.h>
22318 #ifdef HAVE_STDLIB_H
22319 # include <stdlib.h>
22325 typedef wchar_t ac__type_sizeof_;
22329 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22336 rm -f conftest.
$ac_objext
22337 if { (ac_try
="$ac_compile"
22338 case "(($ac_try" in
22339 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
22340 *) ac_try_echo=$ac_try;;
22342 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22343 (eval "$ac_compile") 2>conftest.er1
22345 grep -v '^ *+' conftest.er1 >conftest.err
22347 cat conftest.err >&5
22348 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22349 (exit $ac_status); } && {
22350 test -z "$ac_c_werror_flag" ||
22351 test ! -s conftest.err
22352 } && test -s conftest.$ac_objext; then
22355 echo "$as_me: failed program was:" >&5
22356 sed 's/^/| /' conftest.$ac_ext >&5
22358 ac_lo=`expr '(' $ac_mid ')' + 1`
22361 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22364 ?*) ac_cv_sizeof_wchar_t=$ac_lo;;
22365 '') if test "$ac_cv_type_wchar_t" = yes; then
22366 { { echo "$as_me:$LINENO: error: cannot compute sizeof (wchar_t)
22367 See \`config.log
' for more details." >&5
22368 echo "$as_me: error: cannot compute sizeof (wchar_t)
22369 See \`config.log' for more details.
" >&2;}
22370 { (exit 77); exit 77; }; }
22372 ac_cv_sizeof_wchar_t=0
22376 cat >conftest.$ac_ext <<_ACEOF
22379 cat confdefs.h >>conftest.$ac_ext
22380 cat >>conftest.$ac_ext <<_ACEOF
22381 /* end confdefs.h. */
22383 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
22384 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
22385 # error "fake wchar_t
"
22387 #ifdef HAVE_WCHAR_H
22389 # include <stddef.h>
22391 # include <wchar.h>
22393 #ifdef HAVE_STDLIB_H
22394 # include <stdlib.h>
22400 typedef wchar_t ac__type_sizeof_;
22401 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
22402 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
22404 #include <stdlib.h>
22409 FILE *f = fopen ("conftest.val
", "w
");
22412 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
22414 long int i = longval ();
22415 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22417 fprintf (f, "%ld
\n", i);
22421 unsigned long int i = ulongval ();
22422 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22424 fprintf (f, "%lu
\n", i);
22426 return ferror (f) || fclose (f) != 0;
22432 rm -f conftest$ac_exeext
22433 if { (ac_try="$ac_link"
22434 case "(($ac_try" in
22435 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22436 *) ac_try_echo=$ac_try;;
22438 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
22439 (eval "$ac_link") 2>&5
22441 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
22442 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
22443 { (case "(($ac_try" in
22444 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22445 *) ac_try_echo=$ac_try;;
22447 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
22448 (eval "$ac_try") 2>&5
22450 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
22451 (exit $ac_status); }; }; then
22452 ac_cv_sizeof_wchar_t=`cat conftest.val`
22454 echo "$as_me: program exited with status
$ac_status" >&5
22455 echo "$as_me: failed program was
:" >&5
22456 sed 's/^/| /' conftest.$ac_ext >&5
22458 ( exit $ac_status )
22459 if test "$ac_cv_type_wchar_t" = yes; then
22460 { { echo "$as_me:$LINENO: error
: cannot compute sizeof
(wchar_t
)
22461 See \
`config.log' for more details." >&5
22462 echo "$as_me: error: cannot compute sizeof (wchar_t)
22463 See \`config.log
' for more details." >&2;}
22464 { (exit 77); exit 77; }; }
22466 ac_cv_sizeof_wchar_t=0
22469 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22473 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_wchar_t" >&5
22474 echo "${ECHO_T}$ac_cv_sizeof_wchar_t" >&6; }
22478 cat >>confdefs.h <<_ACEOF
22479 #define SIZEOF_WCHAR_T $ac_cv_sizeof_wchar_t
22483 if test "$ac_cv_sizeof_wchar_t" != "0"; then
22489 { echo "$as_me:$LINENO: checking for va_copy" >&5
22490 echo $ECHO_N "checking for va_copy... $ECHO_C" >&6; }
22491 if test "${wx_cv_func_va_copy+set}" = set; then
22492 echo $ECHO_N "(cached) $ECHO_C" >&6
22496 ac_cpp='$CXXCPP $CPPFLAGS'
22497 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
22498 ac_link='$CXX -o conftest
$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
22499 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22501 cat >conftest.$ac_ext <<_ACEOF
22503 #include <stdarg.h>
22504 void foo(char *f, ...)
22518 rm -f conftest.$ac_objext conftest$ac_exeext
22519 if { (ac_try="$ac_link"
22520 case "(($ac_try" in
22521 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22522 *) ac_try_echo=$ac_try;;
22524 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22525 (eval "$ac_link") 2>conftest.er1
22527 grep -v '^
*+' conftest.er1 >conftest.err
22529 cat conftest.err >&5
22530 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22531 (exit $ac_status); } && {
22532 test -z "$ac_cxx_werror_flag" ||
22533 test ! -s conftest.err
22534 } && test -s conftest$ac_exeext &&
22535 $as_test_x conftest$ac_exeext; then
22536 wx_cv_func_va_copy=yes
22538 echo "$as_me: failed program was:" >&5
22539 sed 's
/^
/| /' conftest.$ac_ext >&5
22541 wx_cv_func_va_copy=no
22545 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
22546 conftest$ac_exeext conftest.$ac_ext
22548 ac_cpp='$CPP $CPPFLAGS'
22549 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
22550 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
22551 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22556 { echo "$as_me:$LINENO: result: $wx_cv_func_va_copy" >&5
22557 echo "${ECHO_T}$wx_cv_func_va_copy" >&6; }
22559 if test $wx_cv_func_va_copy = "yes"; then
22560 cat >>confdefs.h <<\_ACEOF
22561 #define HAVE_VA_COPY 1
22565 { echo "$as_me:$LINENO: checking if va_list can be copied by value" >&5
22566 echo $ECHO_N "checking if va_list can be copied by value... $ECHO_C" >&6; }
22567 if test "${wx_cv_type_va_list_lvalue+set}" = set; then
22568 echo $ECHO_N "(cached) $ECHO_C" >&6
22571 if test "$cross_compiling" = yes; then
22572 wx_cv_type_va_list_lvalue=yes
22575 cat >conftest.$ac_ext <<_ACEOF
22577 #include <stdarg.h>
22578 int foo(char *f, ...)
22583 if ( va_arg(ap1, int) != 17 || va_arg(ap2, int) != 17 )
22591 return foo("hi", 17);
22594 rm -f conftest$ac_exeext
22595 if { (ac_try="$ac_link"
22596 case "(($ac_try" in
22597 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22598 *) ac_try_echo=$ac_try;;
22600 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22601 (eval "$ac_link") 2>&5
22603 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22604 (exit $ac_status); } && { ac_try='.
/conftest
$ac_exeext'
22605 { (case "(($ac_try" in
22606 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22607 *) ac_try_echo=$ac_try;;
22609 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22610 (eval "$ac_try") 2>&5
22612 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22613 (exit $ac_status); }; }; then
22614 wx_cv_type_va_list_lvalue=yes
22616 echo "$as_me: program exited with status $ac_status" >&5
22617 echo "$as_me: failed program was:" >&5
22618 sed 's
/^
/| /' conftest.$ac_ext >&5
22620 ( exit $ac_status )
22621 wx_cv_type_va_list_lvalue=no
22623 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22630 { echo "$as_me:$LINENO: result: $wx_cv_type_va_list_lvalue" >&5
22631 echo "${ECHO_T}$wx_cv_type_va_list_lvalue" >&6; }
22633 if test $wx_cv_type_va_list_lvalue != "yes"; then
22634 cat >>confdefs.h <<\_ACEOF
22635 #define VA_LIST_IS_ARRAY 1
22641 if test "$wxUSE_VARARG_MACROS" = "yes"; then
22643 { echo "$as_me:$LINENO: checking whether the compiler supports variadic macros" >&5
22644 echo $ECHO_N "checking whether the compiler supports variadic macros... $ECHO_C" >&6; }
22645 if test "${wx_cv_have_variadic_macros+set}" = set; then
22646 echo $ECHO_N "(cached) $ECHO_C" >&6
22650 ac_cpp='$CXXCPP $CPPFLAGS'
22651 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
22652 ac_link='$CXX -o conftest
$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
22653 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22655 cat >conftest.$ac_ext <<_ACEOF
22658 cat confdefs.h >>conftest.$ac_ext
22659 cat >>conftest.$ac_ext <<_ACEOF
22660 /* end confdefs.h. */
22663 #define test(fmt, ...) printf(fmt, __VA_ARGS__)
22669 test("%s %d %p", "test", 1, 0);
22676 rm -f conftest.$ac_objext
22677 if { (ac_try="$ac_compile"
22678 case "(($ac_try" in
22679 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22680 *) ac_try_echo=$ac_try;;
22682 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22683 (eval "$ac_compile") 2>conftest.er1
22685 grep -v '^
*+' conftest.er1 >conftest.err
22687 cat conftest.err >&5
22688 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22689 (exit $ac_status); } && {
22690 test -z "$ac_cxx_werror_flag" ||
22691 test ! -s conftest.err
22692 } && test -s conftest.$ac_objext; then
22693 wx_cv_have_variadic_macros=yes
22695 echo "$as_me: failed program was:" >&5
22696 sed 's
/^
/| /' conftest.$ac_ext >&5
22698 wx_cv_have_variadic_macros=no
22702 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22704 ac_cpp='$CPP $CPPFLAGS'
22705 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
22706 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
22707 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22712 { echo "$as_me:$LINENO: result: $wx_cv_have_variadic_macros" >&5
22713 echo "${ECHO_T}$wx_cv_have_variadic_macros" >&6; }
22715 if test $wx_cv_have_variadic_macros = "yes"; then
22716 cat >>confdefs.h <<\_ACEOF
22717 #define HAVE_VARIADIC_MACROS 1
22723 # Check whether --enable-largefile was given.
22724 if test "${enable_largefile+set}" = set; then
22725 enableval=$enable_largefile;
22728 if test "$enable_largefile" != no; then
22731 { echo "$as_me:$LINENO: checking for _FILE_OFFSET_BITS value needed for large files" >&5
22732 echo $ECHO_N "checking for _FILE_OFFSET_BITS value needed for large files... $ECHO_C" >&6; }
22733 if test "${ac_cv_sys_file_offset_bits+set}" = set; then
22734 echo $ECHO_N "(cached) $ECHO_C" >&6
22737 cat >conftest.$ac_ext <<_ACEOF
22740 cat confdefs.h >>conftest.$ac_ext
22741 cat >>conftest.$ac_ext <<_ACEOF
22742 /* end confdefs.h. */
22743 #define _FILE_OFFSET_BITS 64
22744 #include <sys/types.h>
22749 unsigned int field: sizeof(off_t) == 8;
22756 rm -f conftest.$ac_objext
22757 if { (ac_try="$ac_compile"
22758 case "(($ac_try" in
22759 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22760 *) ac_try_echo=$ac_try;;
22762 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22763 (eval "$ac_compile") 2>conftest.er1
22765 grep -v '^
*+' conftest.er1 >conftest.err
22767 cat conftest.err >&5
22768 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22769 (exit $ac_status); } && {
22770 test -z "$ac_c_werror_flag" ||
22771 test ! -s conftest.err
22772 } && test -s conftest.$ac_objext; then
22773 ac_cv_sys_file_offset_bits=64
22775 echo "$as_me: failed program was:" >&5
22776 sed 's
/^
/| /' conftest.$ac_ext >&5
22778 ac_cv_sys_file_offset_bits=no
22781 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22785 { echo "$as_me:$LINENO: result: $ac_cv_sys_file_offset_bits" >&5
22786 echo "${ECHO_T}$ac_cv_sys_file_offset_bits" >&6; }
22788 if test "$ac_cv_sys_file_offset_bits" != no; then
22790 cat >>confdefs.h <<_ACEOF
22791 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
22796 if test "x$wx_largefile" != "xyes"; then
22798 { echo "$as_me:$LINENO: checking for _LARGE_FILES value needed for large files" >&5
22799 echo $ECHO_N "checking for _LARGE_FILES value needed for large files... $ECHO_C" >&6; }
22800 if test "${ac_cv_sys_large_files+set}" = set; then
22801 echo $ECHO_N "(cached) $ECHO_C" >&6
22804 cat >conftest.$ac_ext <<_ACEOF
22807 cat confdefs.h >>conftest.$ac_ext
22808 cat >>conftest.$ac_ext <<_ACEOF
22809 /* end confdefs.h. */
22810 #define _LARGE_FILES 1
22811 #include <sys/types.h>
22816 unsigned int field: sizeof(off_t) == 8;
22823 rm -f conftest.$ac_objext
22824 if { (ac_try="$ac_compile"
22825 case "(($ac_try" in
22826 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22827 *) ac_try_echo=$ac_try;;
22829 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22830 (eval "$ac_compile") 2>conftest.er1
22832 grep -v '^
*+' conftest.er1 >conftest.err
22834 cat conftest.err >&5
22835 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22836 (exit $ac_status); } && {
22837 test -z "$ac_c_werror_flag" ||
22838 test ! -s conftest.err
22839 } && test -s conftest.$ac_objext; then
22840 ac_cv_sys_large_files=1
22842 echo "$as_me: failed program was:" >&5
22843 sed 's
/^
/| /' conftest.$ac_ext >&5
22845 ac_cv_sys_large_files=no
22848 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22852 { echo "$as_me:$LINENO: result: $ac_cv_sys_large_files" >&5
22853 echo "${ECHO_T}$ac_cv_sys_large_files" >&6; }
22855 if test "$ac_cv_sys_large_files" != no; then
22857 cat >>confdefs.h <<_ACEOF
22858 #define _LARGE_FILES $ac_cv_sys_large_files
22865 { echo "$as_me:$LINENO: checking if large file support is available" >&5
22866 echo $ECHO_N "checking if large file support is available... $ECHO_C" >&6; }
22867 if test "x$wx_largefile" = "xyes"; then
22868 cat >>confdefs.h <<\_ACEOF
22869 #define HAVE_LARGEFILE_SUPPORT 1
22873 { echo "$as_me:$LINENO: result: $wx_largefile" >&5
22874 echo "${ECHO_T}$wx_largefile" >&6; }
22878 if test "x$wx_largefile" = "xyes"; then
22879 if test "x$ac_cv_sys_file_offset_bits" = "x64"; then
22880 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES"
22882 if test "$USE_HPUX" = 1 -a "$GXX" = "yes"; then
22883 { echo "$as_me:$LINENO: checking if -D__STDC_EXT__ is required" >&5
22884 echo $ECHO_N "checking if -D__STDC_EXT__ is required... $ECHO_C" >&6; }
22885 if test "${wx_cv_STDC_EXT_required+set}" = set; then
22886 echo $ECHO_N "(cached) $ECHO_C" >&6
22890 ac_cpp='$CXXCPP $CPPFLAGS'
22891 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
22892 ac_link='$CXX -o conftest
$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
22893 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22895 cat >conftest.$ac_ext <<_ACEOF
22898 cat confdefs.h >>conftest.$ac_ext
22899 cat >>conftest.$ac_ext <<_ACEOF
22900 /* end confdefs.h. */
22906 #ifndef __STDC_EXT__
22914 rm -f conftest.$ac_objext
22915 if { (ac_try="$ac_compile"
22916 case "(($ac_try" in
22917 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22918 *) ac_try_echo=$ac_try;;
22920 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22921 (eval "$ac_compile") 2>conftest.er1
22923 grep -v '^
*+' conftest.er1 >conftest.err
22925 cat conftest.err >&5
22926 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22927 (exit $ac_status); } && {
22928 test -z "$ac_cxx_werror_flag" ||
22929 test ! -s conftest.err
22930 } && test -s conftest.$ac_objext; then
22931 wx_cv_STDC_EXT_required=no
22933 echo "$as_me: failed program was:" >&5
22934 sed 's
/^
/| /' conftest.$ac_ext >&5
22936 wx_cv_STDC_EXT_required=yes
22940 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22942 ac_cpp='$CPP $CPPFLAGS'
22943 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
22944 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
22945 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22950 { echo "$as_me:$LINENO: result: $wx_cv_STDC_EXT_required" >&5
22951 echo "${ECHO_T}$wx_cv_STDC_EXT_required" >&6; }
22952 if test "x$wx_cv_STDC_EXT_required" = "xyes"; then
22953 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -D__STDC_EXT__"
22957 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_LARGE_FILES"
22959 { echo "$as_me:$LINENO: checking for _LARGEFILE_SOURCE value needed for large files" >&5
22960 echo $ECHO_N "checking for _LARGEFILE_SOURCE value needed for large files... $ECHO_C" >&6; }
22961 if test "${ac_cv_sys_largefile_source+set}" = set; then
22962 echo $ECHO_N "(cached) $ECHO_C" >&6
22965 cat >conftest.$ac_ext <<_ACEOF
22968 cat confdefs.h >>conftest.$ac_ext
22969 cat >>conftest.$ac_ext <<_ACEOF
22970 /* end confdefs.h. */
22975 return fseeko (stdin, 0, 0) && (fseeko) (stdin, 0, 0);
22980 rm -f conftest.$ac_objext conftest$ac_exeext
22981 if { (ac_try="$ac_link"
22982 case "(($ac_try" in
22983 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22984 *) ac_try_echo=$ac_try;;
22986 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22987 (eval "$ac_link") 2>conftest.er1
22989 grep -v '^
*+' conftest.er1 >conftest.err
22991 cat conftest.err >&5
22992 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22993 (exit $ac_status); } && {
22994 test -z "$ac_c_werror_flag" ||
22995 test ! -s conftest.err
22996 } && test -s conftest$ac_exeext &&
22997 $as_test_x conftest$ac_exeext; then
22998 ac_cv_sys_largefile_source=no; break
23000 echo "$as_me: failed program was:" >&5
23001 sed 's
/^
/| /' conftest.$ac_ext >&5
23006 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
23007 conftest$ac_exeext conftest.$ac_ext
23008 cat >conftest.$ac_ext <<_ACEOF
23011 cat confdefs.h >>conftest.$ac_ext
23012 cat >>conftest.$ac_ext <<_ACEOF
23013 /* end confdefs.h. */
23014 #define _LARGEFILE_SOURCE 1
23019 return fseeko (stdin, 0, 0) && (fseeko) (stdin, 0, 0);
23024 rm -f conftest.$ac_objext conftest$ac_exeext
23025 if { (ac_try="$ac_link"
23026 case "(($ac_try" in
23027 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23028 *) ac_try_echo=$ac_try;;
23030 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23031 (eval "$ac_link") 2>conftest.er1
23033 grep -v '^
*+' conftest.er1 >conftest.err
23035 cat conftest.err >&5
23036 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23037 (exit $ac_status); } && {
23038 test -z "$ac_c_werror_flag" ||
23039 test ! -s conftest.err
23040 } && test -s conftest$ac_exeext &&
23041 $as_test_x conftest$ac_exeext; then
23042 ac_cv_sys_largefile_source=1; break
23044 echo "$as_me: failed program was:" >&5
23045 sed 's
/^
/| /' conftest.$ac_ext >&5
23050 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
23051 conftest$ac_exeext conftest.$ac_ext
23052 ac_cv_sys_largefile_source=unknown
23056 { echo "$as_me:$LINENO: result: $ac_cv_sys_largefile_source" >&5
23057 echo "${ECHO_T}$ac_cv_sys_largefile_source" >&6; }
23058 case $ac_cv_sys_largefile_source in #(
23061 cat >>confdefs.h <<_ACEOF
23062 #define _LARGEFILE_SOURCE $ac_cv_sys_largefile_source
23068 # We used to try defining _XOPEN_SOURCE=500 too, to work around a bug
23069 # in glibc 2.1.3, but that breaks too many other things.
23070 # If you want fseeko and ftello with glibc, upgrade to a fixed glibc.
23071 if test $ac_cv_sys_largefile_source != unknown; then
23073 cat >>confdefs.h <<\_ACEOF
23074 #define HAVE_FSEEKO 1
23079 if test "$ac_cv_sys_largefile_source" != no; then
23080 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_LARGEFILE_SOURCE=$ac_cv_sys_largefile_source"
23084 { echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
23085 echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6; }
23086 if test "${ac_cv_c_bigendian+set}" = set; then
23087 echo $ECHO_N "(cached) $ECHO_C" >&6
23089 ac_cv_c_bigendian=unknown
23090 # See if sys/param.h defines the BYTE_ORDER macro.
23091 cat >conftest.$ac_ext <<_ACEOF
23094 cat confdefs.h >>conftest.$ac_ext
23095 cat >>conftest.$ac_ext <<_ACEOF
23096 /* end confdefs.h. */
23097 #include <sys/types.h>
23098 #include <sys/param.h>
23103 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
23104 bogus endian macros
23110 rm -f conftest.$ac_objext
23111 if { (ac_try="$ac_compile"
23112 case "(($ac_try" in
23113 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23114 *) ac_try_echo=$ac_try;;
23116 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23117 (eval "$ac_compile") 2>conftest.er1
23119 grep -v '^
*+' conftest.er1 >conftest.err
23121 cat conftest.err >&5
23122 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23123 (exit $ac_status); } && {
23124 test -z "$ac_c_werror_flag" ||
23125 test ! -s conftest.err
23126 } && test -s conftest.$ac_objext; then
23127 # It does; now see whether it defined to BIG_ENDIAN or not.
23128 cat >conftest.$ac_ext <<_ACEOF
23131 cat confdefs.h >>conftest.$ac_ext
23132 cat >>conftest.$ac_ext <<_ACEOF
23133 /* end confdefs.h. */
23134 #include <sys/types.h>
23135 #include <sys/param.h>
23140 #if BYTE_ORDER != BIG_ENDIAN
23147 rm -f conftest.$ac_objext
23148 if { (ac_try="$ac_compile"
23149 case "(($ac_try" in
23150 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23151 *) ac_try_echo=$ac_try;;
23153 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23154 (eval "$ac_compile") 2>conftest.er1
23156 grep -v '^
*+' conftest.er1 >conftest.err
23158 cat conftest.err >&5
23159 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23160 (exit $ac_status); } && {
23161 test -z "$ac_c_werror_flag" ||
23162 test ! -s conftest.err
23163 } && test -s conftest.$ac_objext; then
23164 ac_cv_c_bigendian=yes
23166 echo "$as_me: failed program was:" >&5
23167 sed 's
/^
/| /' conftest.$ac_ext >&5
23169 ac_cv_c_bigendian=no
23172 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23174 echo "$as_me: failed program was:" >&5
23175 sed 's
/^
/| /' conftest.$ac_ext >&5
23180 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23181 if test $ac_cv_c_bigendian = unknown; then
23182 if test "$cross_compiling" = yes; then
23183 ac_cv_c_bigendian=unknown
23185 cat >conftest.$ac_ext <<_ACEOF
23188 cat confdefs.h >>conftest.$ac_ext
23189 cat >>conftest.$ac_ext <<_ACEOF
23190 /* end confdefs.h. */
23192 /* Are we little or big endian? From Harbison&Steele. */
23196 char c[sizeof (long)];
23199 exit (u.c[sizeof (long) - 1] == 1);
23202 rm -f conftest$ac_exeext
23203 if { (ac_try="$ac_link"
23204 case "(($ac_try" in
23205 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23206 *) ac_try_echo=$ac_try;;
23208 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23209 (eval "$ac_link") 2>&5
23211 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23212 (exit $ac_status); } && { ac_try='.
/conftest
$ac_exeext'
23213 { (case "(($ac_try" in
23214 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23215 *) ac_try_echo=$ac_try;;
23217 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23218 (eval "$ac_try") 2>&5
23220 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23221 (exit $ac_status); }; }; then
23222 ac_cv_c_bigendian=no
23224 echo "$as_me: program exited with status $ac_status" >&5
23225 echo "$as_me: failed program was:" >&5
23226 sed 's
/^
/| /' conftest.$ac_ext >&5
23228 ( exit $ac_status )
23229 ac_cv_c_bigendian=yes
23231 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
23237 { echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
23238 echo "${ECHO_T}$ac_cv_c_bigendian" >&6; }
23239 if test $ac_cv_c_bigendian = unknown; then
23240 { 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
23241 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;}
23243 if test $ac_cv_c_bigendian = yes; then
23244 cat >>confdefs.h <<\_ACEOF
23245 #define WORDS_BIGENDIAN 1
23254 ac_cpp='$CXXCPP $CPPFLAGS'
23255 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
23256 ac_link='$CXX -o conftest
$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
23257 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23260 { echo "$as_me:$LINENO: checking for iostream" >&5
23261 echo $ECHO_N "checking for iostream... $ECHO_C" >&6; }
23262 if test "${ac_cv_header_iostream+set}" = set; then
23263 echo $ECHO_N "(cached) $ECHO_C" >&6
23265 cat >conftest.$ac_ext <<_ACEOF
23268 cat confdefs.h >>conftest.$ac_ext
23269 cat >>conftest.$ac_ext <<_ACEOF
23270 /* end confdefs.h. */
23273 #include <iostream>
23275 rm -f conftest.$ac_objext
23276 if { (ac_try="$ac_compile"
23277 case "(($ac_try" in
23278 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23279 *) ac_try_echo=$ac_try;;
23281 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23282 (eval "$ac_compile") 2>conftest.er1
23284 grep -v '^
*+' conftest.er1 >conftest.err
23286 cat conftest.err >&5
23287 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23288 (exit $ac_status); } && {
23289 test -z "$ac_cxx_werror_flag" ||
23290 test ! -s conftest.err
23291 } && test -s conftest.$ac_objext; then
23292 ac_cv_header_iostream=yes
23294 echo "$as_me: failed program was:" >&5
23295 sed 's
/^
/| /' conftest.$ac_ext >&5
23297 ac_cv_header_iostream=no
23300 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23302 { echo "$as_me:$LINENO: result: $ac_cv_header_iostream" >&5
23303 echo "${ECHO_T}$ac_cv_header_iostream" >&6; }
23307 if test "$ac_cv_header_iostream" = "yes" ; then
23310 cat >>confdefs.h <<\_ACEOF
23311 #define wxUSE_IOSTREAMH 1
23317 ac_cpp='$CPP $CPPFLAGS'
23318 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
23319 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
23320 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23325 { echo "$as_me:$LINENO: checking if C++ compiler supports bool" >&5
23326 echo $ECHO_N "checking if C++ compiler supports bool... $ECHO_C" >&6; }
23327 if test "${wx_cv_cpp_bool+set}" = set; then
23328 echo $ECHO_N "(cached) $ECHO_C" >&6
23333 ac_cpp='$CXXCPP $CPPFLAGS'
23334 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
23335 ac_link='$CXX -o conftest
$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
23336 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23339 cat >conftest.$ac_ext <<_ACEOF
23342 cat confdefs.h >>conftest.$ac_ext
23343 cat >>conftest.$ac_ext <<_ACEOF
23344 /* end confdefs.h. */
23359 rm -f conftest.$ac_objext
23360 if { (ac_try="$ac_compile"
23361 case "(($ac_try" in
23362 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23363 *) ac_try_echo=$ac_try;;
23365 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23366 (eval "$ac_compile") 2>conftest.er1
23368 grep -v '^
*+' conftest.er1 >conftest.err
23370 cat conftest.err >&5
23371 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23372 (exit $ac_status); } && {
23373 test -z "$ac_cxx_werror_flag" ||
23374 test ! -s conftest.err
23375 } && test -s conftest.$ac_objext; then
23380 echo "$as_me: failed program was:" >&5
23381 sed 's
/^
/| /' conftest.$ac_ext >&5
23389 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23392 ac_cpp='$CPP $CPPFLAGS'
23393 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
23394 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
23395 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23399 { echo "$as_me:$LINENO: result: $wx_cv_cpp_bool" >&5
23400 echo "${ECHO_T}$wx_cv_cpp_bool" >&6; }
23402 if test "$wx_cv_cpp_bool" = "yes"; then
23403 cat >>confdefs.h <<\_ACEOF
23404 #define HAVE_BOOL 1
23411 { echo "$as_me:$LINENO: checking if C++ compiler supports the explicit keyword" >&5
23412 echo $ECHO_N "checking if C++ compiler supports the explicit keyword... $ECHO_C" >&6; }
23413 if test "${wx_cv_explicit+set}" = set; then
23414 echo $ECHO_N "(cached) $ECHO_C" >&6
23419 ac_cpp='$CXXCPP $CPPFLAGS'
23420 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
23421 ac_link='$CXX -o conftest
$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
23422 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23425 cat >conftest.$ac_ext <<_ACEOF
23428 cat confdefs.h >>conftest.$ac_ext
23429 cat >>conftest.$ac_ext <<_ACEOF
23430 /* end confdefs.h. */
23432 class Foo { public: explicit Foo(int) {} };
23444 rm -f conftest.$ac_objext
23445 if { (ac_try="$ac_compile"
23446 case "(($ac_try" in
23447 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23448 *) ac_try_echo=$ac_try;;
23450 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23451 (eval "$ac_compile") 2>conftest.er1
23453 grep -v '^
*+' conftest.er1 >conftest.err
23455 cat conftest.err >&5
23456 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23457 (exit $ac_status); } && {
23458 test -z "$ac_cxx_werror_flag" ||
23459 test ! -s conftest.err
23460 } && test -s conftest.$ac_objext; then
23462 cat >conftest.$ac_ext <<_ACEOF
23465 cat confdefs.h >>conftest.$ac_ext
23466 cat >>conftest.$ac_ext <<_ACEOF
23467 /* end confdefs.h. */
23469 class Foo { public: explicit Foo(int) {} };
23470 static void TakeFoo(const Foo& foo) { }
23483 rm -f conftest.$ac_objext
23484 if { (ac_try="$ac_compile"
23485 case "(($ac_try" in
23486 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23487 *) ac_try_echo=$ac_try;;
23489 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23490 (eval "$ac_compile") 2>conftest.er1
23492 grep -v '^
*+' conftest.er1 >conftest.err
23494 cat conftest.err >&5
23495 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23496 (exit $ac_status); } && {
23497 test -z "$ac_cxx_werror_flag" ||
23498 test ! -s conftest.err
23499 } && test -s conftest.$ac_objext; then
23502 echo "$as_me: failed program was:" >&5
23503 sed 's
/^
/| /' conftest.$ac_ext >&5
23509 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23512 echo "$as_me: failed program was:" >&5
23513 sed 's
/^
/| /' conftest.$ac_ext >&5
23519 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23522 ac_cpp='$CPP $CPPFLAGS'
23523 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
23524 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
23525 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23529 { echo "$as_me:$LINENO: result: $wx_cv_explicit" >&5
23530 echo "${ECHO_T}$wx_cv_explicit" >&6; }
23532 if test "$wx_cv_explicit" = "yes"; then
23533 cat >>confdefs.h <<\_ACEOF
23534 #define HAVE_EXPLICIT 1
23540 { echo "$as_me:$LINENO: checking whether the compiler supports const_cast<>" >&5
23541 echo $ECHO_N "checking whether the compiler supports const_cast<>... $ECHO_C" >&6; }
23542 if test "${ac_cv_cxx_const_cast+set}" = set; then
23543 echo $ECHO_N "(cached) $ECHO_C" >&6
23547 ac_cpp='$CXXCPP $CPPFLAGS'
23548 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
23549 ac_link='$CXX -o conftest
$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
23550 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23552 cat >conftest.$ac_ext <<_ACEOF
23555 cat confdefs.h >>conftest.$ac_ext
23556 cat >>conftest.$ac_ext <<_ACEOF
23557 /* end confdefs.h. */
23562 int x = 0;const int& y = x;int& z = const_cast<int&>(y);return z;
23567 rm -f conftest.$ac_objext
23568 if { (ac_try="$ac_compile"
23569 case "(($ac_try" in
23570 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23571 *) ac_try_echo=$ac_try;;
23573 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23574 (eval "$ac_compile") 2>conftest.er1
23576 grep -v '^
*+' conftest.er1 >conftest.err
23578 cat conftest.err >&5
23579 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23580 (exit $ac_status); } && {
23581 test -z "$ac_cxx_werror_flag" ||
23582 test ! -s conftest.err
23583 } && test -s conftest.$ac_objext; then
23584 ac_cv_cxx_const_cast=yes
23586 echo "$as_me: failed program was:" >&5
23587 sed 's
/^
/| /' conftest.$ac_ext >&5
23589 ac_cv_cxx_const_cast=no
23592 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23594 ac_cpp='$CPP $CPPFLAGS'
23595 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
23596 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
23597 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23601 { echo "$as_me:$LINENO: result: $ac_cv_cxx_const_cast" >&5
23602 echo "${ECHO_T}$ac_cv_cxx_const_cast" >&6; }
23603 if test "$ac_cv_cxx_const_cast" = yes; then
23605 cat >>confdefs.h <<\_ACEOF
23606 #define HAVE_CONST_CAST
23611 { echo "$as_me:$LINENO: checking whether the compiler supports reinterpret_cast<>" >&5
23612 echo $ECHO_N "checking whether the compiler supports reinterpret_cast<>... $ECHO_C" >&6; }
23613 if test "${ac_cv_cxx_reinterpret_cast+set}" = set; then
23614 echo $ECHO_N "(cached) $ECHO_C" >&6
23618 ac_cpp='$CXXCPP $CPPFLAGS'
23619 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
23620 ac_link='$CXX -o conftest
$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
23621 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23623 cat >conftest.$ac_ext <<_ACEOF
23626 cat confdefs.h >>conftest.$ac_ext
23627 cat >>conftest.$ac_ext <<_ACEOF
23628 /* end confdefs.h. */
23629 #include <typeinfo>
23630 class Base { public : Base () {} virtual void f () = 0;};
23631 class Derived : public Base { public : Derived () {} virtual void f () {} };
23632 class Unrelated { public : Unrelated () {} };
23633 int g (Unrelated&) { return 0; }
23638 Derived d;Base& b=d;Unrelated& e=reinterpret_cast<Unrelated&>(b);return g(e);
23643 rm -f conftest.$ac_objext
23644 if { (ac_try="$ac_compile"
23645 case "(($ac_try" in
23646 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23647 *) ac_try_echo=$ac_try;;
23649 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23650 (eval "$ac_compile") 2>conftest.er1
23652 grep -v '^
*+' conftest.er1 >conftest.err
23654 cat conftest.err >&5
23655 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23656 (exit $ac_status); } && {
23657 test -z "$ac_cxx_werror_flag" ||
23658 test ! -s conftest.err
23659 } && test -s conftest.$ac_objext; then
23660 ac_cv_cxx_reinterpret_cast=yes
23662 echo "$as_me: failed program was:" >&5
23663 sed 's
/^
/| /' conftest.$ac_ext >&5
23665 ac_cv_cxx_reinterpret_cast=no
23668 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23670 ac_cpp='$CPP $CPPFLAGS'
23671 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
23672 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
23673 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23677 { echo "$as_me:$LINENO: result: $ac_cv_cxx_reinterpret_cast" >&5
23678 echo "${ECHO_T}$ac_cv_cxx_reinterpret_cast" >&6; }
23679 if test "$ac_cv_cxx_reinterpret_cast" = yes; then
23681 cat >>confdefs.h <<\_ACEOF
23682 #define HAVE_REINTERPRET_CAST
23687 { echo "$as_me:$LINENO: checking whether the compiler supports static_cast<>" >&5
23688 echo $ECHO_N "checking whether the compiler supports static_cast<>... $ECHO_C" >&6; }
23689 if test "${ac_cv_cxx_static_cast+set}" = set; then
23690 echo $ECHO_N "(cached) $ECHO_C" >&6
23694 ac_cpp='$CXXCPP $CPPFLAGS'
23695 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
23696 ac_link='$CXX -o conftest
$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
23697 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23699 cat >conftest.$ac_ext <<_ACEOF
23702 cat confdefs.h >>conftest.$ac_ext
23703 cat >>conftest.$ac_ext <<_ACEOF
23704 /* end confdefs.h. */
23705 #include <typeinfo>
23706 class Base { public : Base () {} virtual void f () = 0; };
23707 class Derived : public Base { public : Derived () {} virtual void f () {} };
23708 int g (Derived&) { return 0; }
23713 Derived d; Base& b = d; Derived& s = static_cast<Derived&> (b); return g (s);
23718 rm -f conftest.$ac_objext
23719 if { (ac_try="$ac_compile"
23720 case "(($ac_try" in
23721 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23722 *) ac_try_echo=$ac_try;;
23724 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23725 (eval "$ac_compile") 2>conftest.er1
23727 grep -v '^
*+' conftest.er1 >conftest.err
23729 cat conftest.err >&5
23730 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23731 (exit $ac_status); } && {
23732 test -z "$ac_cxx_werror_flag" ||
23733 test ! -s conftest.err
23734 } && test -s conftest.$ac_objext; then
23735 ac_cv_cxx_static_cast=yes
23737 echo "$as_me: failed program was:" >&5
23738 sed 's
/^
/| /' conftest.$ac_ext >&5
23740 ac_cv_cxx_static_cast=no
23743 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23745 ac_cpp='$CPP $CPPFLAGS'
23746 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
23747 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
23748 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23752 { echo "$as_me:$LINENO: result: $ac_cv_cxx_static_cast" >&5
23753 echo "${ECHO_T}$ac_cv_cxx_static_cast" >&6; }
23754 if test "$ac_cv_cxx_static_cast" = yes; then
23756 cat >>confdefs.h <<\_ACEOF
23757 #define HAVE_STATIC_CAST
23763 if test "x$SUNCXX" = xyes; then
23764 CXXFLAGS="-features=tmplife $CXXFLAGS"
23767 if test "x$SUNCC" = xyes; then
23768 CFLAGS="-erroff=E_NO_EXPLICIT_TYPE_GIVEN $CFLAGS"
23771 if test "x$SGICC" = "xyes"; then
23772 CFLAGS="-woff 3970 $CFLAGS"
23774 if test "x$SGICXX" = "xyes"; then
23775 CXXFLAGS="-woff 3970 $CXXFLAGS"
23778 if test "x$HPCC" = "xyes"; then
23779 CFLAGS="+W 2011,2450 $CFLAGS"
23781 if test "x$HPCXX" = "xyes"; then
23782 CXXFLAGS="+W 2340 $CXXFLAGS"
23785 if test "x$COMPAQCXX" = "xyes"; then
23786 CXXFLAGS="-w0 -msg_disable basclsnondto,unrimpret,intconlosbit"
23790 ac_cpp='$CXXCPP $CPPFLAGS'
23791 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
23792 ac_link='$CXX -o conftest
$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
23793 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23796 if test "$wxUSE_STD_STRING" = "yes" -o "$wxUSE_STL" = "yes"; then
23797 if test "$wxUSE_UNICODE" = "yes"; then
23798 std_string="std::wstring"
23799 char_type="wchar_t"
23801 std_string="std::string"
23805 { echo "$as_me:$LINENO: checking for $std_string in <string>" >&5
23806 echo $ECHO_N "checking for $std_string in <string>... $ECHO_C" >&6; }
23807 if test "${wx_cv_class_stdstring+set}" = set; then
23808 echo $ECHO_N "(cached) $ECHO_C" >&6
23811 cat >conftest.$ac_ext <<_ACEOF
23814 cat confdefs.h >>conftest.$ac_ext
23815 cat >>conftest.$ac_ext <<_ACEOF
23816 /* end confdefs.h. */
23826 rm -f conftest.$ac_objext
23827 if { (ac_try="$ac_compile"
23828 case "(($ac_try" in
23829 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23830 *) ac_try_echo=$ac_try;;
23832 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23833 (eval "$ac_compile") 2>conftest.er1
23835 grep -v '^
*+' conftest.er1 >conftest.err
23837 cat conftest.err >&5
23838 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23839 (exit $ac_status); } && {
23840 test -z "$ac_cxx_werror_flag" ||
23841 test ! -s conftest.err
23842 } && test -s conftest.$ac_objext; then
23843 wx_cv_class_stdstring=yes
23845 echo "$as_me: failed program was:" >&5
23846 sed 's
/^
/| /' conftest.$ac_ext >&5
23848 wx_cv_class_stdstring=no
23852 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23856 { echo "$as_me:$LINENO: result: $wx_cv_class_stdstring" >&5
23857 echo "${ECHO_T}$wx_cv_class_stdstring" >&6; }
23859 if test "$wx_cv_class_stdstring" = yes; then
23860 if test "$wxUSE_UNICODE" = "yes"; then
23861 cat >>confdefs.h <<\_ACEOF
23862 #define HAVE_STD_WSTRING 1
23867 { echo "$as_me:$LINENO: checking if std::basic_string<$char_type> works" >&5
23868 echo $ECHO_N "checking if std::basic_string<$char_type> works... $ECHO_C" >&6; }
23869 if test "${wx_cv_class_stdbasicstring+set}" = set; then
23870 echo $ECHO_N "(cached) $ECHO_C" >&6
23873 cat >conftest.$ac_ext <<_ACEOF
23876 cat confdefs.h >>conftest.$ac_ext
23877 cat >>conftest.$ac_ext <<_ACEOF
23878 /* end confdefs.h. */
23880 #ifdef HAVE_WCHAR_H
23882 # include <stddef.h>
23884 # include <wchar.h>
23886 #ifdef HAVE_STDLIB_H
23887 # include <stdlib.h>
23895 std::basic_string<$char_type> foo;
23896 const $char_type* dummy = foo.c_str();
23901 rm -f conftest.$ac_objext
23902 if { (ac_try="$ac_compile"
23903 case "(($ac_try" in
23904 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23905 *) ac_try_echo=$ac_try;;
23907 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23908 (eval "$ac_compile") 2>conftest.er1
23910 grep -v '^
*+' conftest.er1 >conftest.err
23912 cat conftest.err >&5
23913 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23914 (exit $ac_status); } && {
23915 test -z "$ac_cxx_werror_flag" ||
23916 test ! -s conftest.err
23917 } && test -s conftest.$ac_objext; then
23918 wx_cv_class_stdbasicstring=yes
23920 echo "$as_me: failed program was:" >&5
23921 sed 's
/^
/| /' conftest.$ac_ext >&5
23923 wx_cv_class_stdbasicstring=no
23927 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23931 { echo "$as_me:$LINENO: result: $wx_cv_class_stdbasicstring" >&5
23932 echo "${ECHO_T}$wx_cv_class_stdbasicstring" >&6; }
23934 if test "$wx_cv_class_stdbasicstring" != yes; then
23935 if test "$wxUSE_STL" = "yes"; then
23936 { { echo "$as_me:$LINENO: error: Can't use
--enable-stl without
$std_string or std
::basic_string
<$char_type>" >&5
23937 echo "$as_me: error
: Can
't use --enable-stl without $std_string or std::basic_string<$char_type>" >&2;}
23938 { (exit 1); exit 1; }; }
23939 elif grep wxUSE_STD_STRING $wx_arg_cache_file >/dev/null; then
23940 { { echo "$as_me:$LINENO: error: Can't use
--enable-std_string without
$std_string or std
::basic_string
<$char_type>" >&5
23941 echo "$as_me: error
: Can
't use --enable-std_string without $std_string or std::basic_string<$char_type>" >&2;}
23942 { (exit 1); exit 1; }; }
23944 { echo "$as_me:$LINENO: WARNING: No $std_string or std::basic_string<$char_type>, switching to --disable-std_string" >&5
23945 echo "$as_me: WARNING: No $std_string or std::basic_string<$char_type>, switching to --disable-std_string" >&2;}
23946 wxUSE_STD_STRING=no
23952 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
23953 { echo "$as_me:$LINENO: checking for std::istream" >&5
23954 echo $ECHO_N "checking for std::istream... $ECHO_C" >&6; }
23955 if test "${ac_cv_type_std__istream+set}" = set; then
23956 echo $ECHO_N "(cached) $ECHO_C" >&6
23958 cat >conftest.$ac_ext <<_ACEOF
23961 cat confdefs.h >>conftest.$ac_ext
23962 cat >>conftest.$ac_ext <<_ACEOF
23963 /* end confdefs.h. */
23964 #include <iostream>
23966 typedef std::istream ac__type_new_;
23970 if ((ac__type_new_ *) 0)
23972 if (sizeof (ac__type_new_))
23978 rm -f conftest.$ac_objext
23979 if { (ac_try="$ac_compile"
23980 case "(($ac_try" in
23981 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23982 *) ac_try_echo=$ac_try;;
23984 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23985 (eval "$ac_compile") 2>conftest.er1
23987 grep -v '^
*+' conftest.er1 >conftest.err
23989 cat conftest.err >&5
23990 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23991 (exit $ac_status); } && {
23992 test -z "$ac_cxx_werror_flag" ||
23993 test ! -s conftest.err
23994 } && test -s conftest.$ac_objext; then
23995 ac_cv_type_std__istream=yes
23997 echo "$as_me: failed program was:" >&5
23998 sed 's
/^
/| /' conftest.$ac_ext >&5
24000 ac_cv_type_std__istream=no
24003 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24005 { echo "$as_me:$LINENO: result: $ac_cv_type_std__istream" >&5
24006 echo "${ECHO_T}$ac_cv_type_std__istream" >&6; }
24007 if test $ac_cv_type_std__istream = yes; then
24009 cat >>confdefs.h <<_ACEOF
24010 #define HAVE_STD__ISTREAM 1
24015 wxUSE_STD_IOSTREAM=no
24017 { echo "$as_me:$LINENO: checking for std::ostream" >&5
24018 echo $ECHO_N "checking for std::ostream... $ECHO_C" >&6; }
24019 if test "${ac_cv_type_std__ostream+set}" = set; then
24020 echo $ECHO_N "(cached) $ECHO_C" >&6
24022 cat >conftest.$ac_ext <<_ACEOF
24025 cat confdefs.h >>conftest.$ac_ext
24026 cat >>conftest.$ac_ext <<_ACEOF
24027 /* end confdefs.h. */
24028 #include <iostream>
24030 typedef std::ostream ac__type_new_;
24034 if ((ac__type_new_ *) 0)
24036 if (sizeof (ac__type_new_))
24042 rm -f conftest.$ac_objext
24043 if { (ac_try="$ac_compile"
24044 case "(($ac_try" in
24045 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24046 *) ac_try_echo=$ac_try;;
24048 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24049 (eval "$ac_compile") 2>conftest.er1
24051 grep -v '^
*+' conftest.er1 >conftest.err
24053 cat conftest.err >&5
24054 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24055 (exit $ac_status); } && {
24056 test -z "$ac_cxx_werror_flag" ||
24057 test ! -s conftest.err
24058 } && test -s conftest.$ac_objext; then
24059 ac_cv_type_std__ostream=yes
24061 echo "$as_me: failed program was:" >&5
24062 sed 's
/^
/| /' conftest.$ac_ext >&5
24064 ac_cv_type_std__ostream=no
24067 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24069 { echo "$as_me:$LINENO: result: $ac_cv_type_std__ostream" >&5
24070 echo "${ECHO_T}$ac_cv_type_std__ostream" >&6; }
24071 if test $ac_cv_type_std__ostream = yes; then
24073 cat >>confdefs.h <<_ACEOF
24074 #define HAVE_STD__OSTREAM 1
24079 wxUSE_STD_IOSTREAM=no
24083 if test "$wxUSE_STD_IOSTREAM" != "yes"; then
24084 if grep wxUSE_STD_IOSTREAM $wx_arg_cache_file >/dev/null; then
24085 { { echo "$as_me:$LINENO: error: Can't use
--enable-std_iostreams without std
::istream and std
::ostream
" >&5
24086 echo "$as_me: error
: Can
't use --enable-std_iostreams without std::istream and std::ostream" >&2;}
24087 { (exit 1); exit 1; }; }
24089 { echo "$as_me:$LINENO: WARNING: No std::iostreams, switching to --disable-std_iostreams" >&5
24090 echo "$as_me: WARNING: No std::iostreams, switching to --disable-std_iostreams" >&2;}
24095 if test "$wxUSE_STL" = "yes"; then
24096 { echo "$as_me:$LINENO: checking for basic STL functionality" >&5
24097 echo $ECHO_N "checking for basic STL functionality... $ECHO_C" >&6; }
24098 if test "${wx_cv_lib_stl+set}" = set; then
24099 echo $ECHO_N "(cached) $ECHO_C" >&6
24101 cat >conftest.$ac_ext <<_ACEOF
24104 cat confdefs.h >>conftest.$ac_ext
24105 cat >>conftest.$ac_ext <<_ACEOF
24106 /* end confdefs.h. */
24108 #include <functional>
24109 #include <algorithm>
24115 std::vector<int> moo;
24116 std::list<int> foo;
24117 std::vector<int>::iterator it =
24118 std::find_if(moo.begin(), moo.end(),
24119 std::bind2nd(std::less<int>(), 3));
24124 rm -f conftest.$ac_objext
24125 if { (ac_try="$ac_compile"
24126 case "(($ac_try" in
24127 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24128 *) ac_try_echo=$ac_try;;
24130 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24131 (eval "$ac_compile") 2>conftest.er1
24133 grep -v '^
*+' conftest.er1 >conftest.err
24135 cat conftest.err >&5
24136 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24137 (exit $ac_status); } && {
24138 test -z "$ac_cxx_werror_flag" ||
24139 test ! -s conftest.err
24140 } && test -s conftest.$ac_objext; then
24143 echo "$as_me: failed program was:" >&5
24144 sed 's
/^
/| /' conftest.$ac_ext >&5
24150 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24153 { echo "$as_me:$LINENO: result: $wx_cv_lib_stl" >&5
24154 echo "${ECHO_T}$wx_cv_lib_stl" >&6; }
24156 if test "$wx_cv_lib_stl" != yes; then
24157 { { echo "$as_me:$LINENO: error: Can't use
--enable-stl as basic STL functionality is missing
" >&5
24158 echo "$as_me: error
: Can
't use --enable-stl as basic STL functionality is missing" >&2;}
24159 { (exit 1); exit 1; }; }
24162 { echo "$as_me:$LINENO: checking for compliant std::string::compare" >&5
24163 echo $ECHO_N "checking for compliant std::string::compare... $ECHO_C" >&6; }
24164 if test "${wx_cv_func_stdstring_compare+set}" = set; then
24165 echo $ECHO_N "(cached) $ECHO_C" >&6
24167 cat >conftest.$ac_ext <<_ACEOF
24170 cat confdefs.h >>conftest.$ac_ext
24171 cat >>conftest.$ac_ext <<_ACEOF
24172 /* end confdefs.h. */
24177 std::string foo, bar;
24179 foo.compare(1, 1, bar);
24180 foo.compare(1, 1, bar, 1, 1);
24182 foo.compare(1, 1, "");
24183 foo.compare(1, 1, "", 2);
24188 rm -f conftest.$ac_objext
24189 if { (ac_try="$ac_compile"
24190 case "(($ac_try" in
24191 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24192 *) ac_try_echo=$ac_try;;
24194 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24195 (eval "$ac_compile") 2>conftest.er1
24197 grep -v '^
*+' conftest.er1 >conftest.err
24199 cat conftest.err >&5
24200 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24201 (exit $ac_status); } && {
24202 test -z "$ac_cxx_werror_flag" ||
24203 test ! -s conftest.err
24204 } && test -s conftest.$ac_objext; then
24205 wx_cv_func_stdstring_compare=yes
24207 echo "$as_me: failed program was:" >&5
24208 sed 's
/^
/| /' conftest.$ac_ext >&5
24210 wx_cv_func_stdstring_compare=no
24214 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24217 { echo "$as_me:$LINENO: result: $wx_cv_func_stdstring_compare" >&5
24218 echo "${ECHO_T}$wx_cv_func_stdstring_compare" >&6; }
24220 if test "$wx_cv_func_stdstring_compare" = yes; then
24221 cat >>confdefs.h <<\_ACEOF
24222 #define HAVE_STD_STRING_COMPARE 1
24227 { echo "$as_me:$LINENO: checking for hash_map" >&5
24228 echo $ECHO_N "checking for hash_map... $ECHO_C" >&6; }
24229 if test "${ac_cv_header_hash_map+set}" = set; then
24230 echo $ECHO_N "(cached) $ECHO_C" >&6
24232 cat >conftest.$ac_ext <<_ACEOF
24235 cat confdefs.h >>conftest.$ac_ext
24236 cat >>conftest.$ac_ext <<_ACEOF
24237 /* end confdefs.h. */
24241 #include <hash_map>
24243 rm -f conftest.$ac_objext
24244 if { (ac_try="$ac_compile"
24245 case "(($ac_try" in
24246 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24247 *) ac_try_echo=$ac_try;;
24249 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24250 (eval "$ac_compile") 2>conftest.er1
24252 grep -v '^
*+' conftest.er1 >conftest.err
24254 cat conftest.err >&5
24255 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24256 (exit $ac_status); } && {
24257 test -z "$ac_cxx_werror_flag" ||
24258 test ! -s conftest.err
24259 } && test -s conftest.$ac_objext; then
24260 ac_cv_header_hash_map=yes
24262 echo "$as_me: failed program was:" >&5
24263 sed 's
/^
/| /' conftest.$ac_ext >&5
24265 ac_cv_header_hash_map=no
24268 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24270 { echo "$as_me:$LINENO: result: $ac_cv_header_hash_map" >&5
24271 echo "${ECHO_T}$ac_cv_header_hash_map" >&6; }
24272 if test $ac_cv_header_hash_map = yes; then
24273 { echo "$as_me:$LINENO: checking for standard hash_map and hash_set" >&5
24274 echo $ECHO_N "checking for standard hash_map and hash_set... $ECHO_C" >&6; }
24275 if test "${wx_cv_class_stdhashmapset+set}" = set; then
24276 echo $ECHO_N "(cached) $ECHO_C" >&6
24278 cat >conftest.$ac_ext <<_ACEOF
24281 cat confdefs.h >>conftest.$ac_ext
24282 cat >>conftest.$ac_ext <<_ACEOF
24283 /* end confdefs.h. */
24284 #include <hash_map>
24285 #include <hash_set>
24289 std::hash_map<double*, char*, std::hash<double*>, std::equal_to<double*> > test1;
24290 std::hash_set<char*, std::hash<char*>, std::equal_to<char*> > test2;
24295 rm -f conftest.$ac_objext
24296 if { (ac_try="$ac_compile"
24297 case "(($ac_try" in
24298 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24299 *) ac_try_echo=$ac_try;;
24301 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24302 (eval "$ac_compile") 2>conftest.er1
24304 grep -v '^
*+' conftest.er1 >conftest.err
24306 cat conftest.err >&5
24307 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24308 (exit $ac_status); } && {
24309 test -z "$ac_cxx_werror_flag" ||
24310 test ! -s conftest.err
24311 } && test -s conftest.$ac_objext; then
24312 wx_cv_class_stdhashmapset=yes
24314 echo "$as_me: failed program was:" >&5
24315 sed 's
/^
/| /' conftest.$ac_ext >&5
24317 wx_cv_class_stdhashmapset=no
24320 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24324 { echo "$as_me:$LINENO: result: $wx_cv_class_stdhashmapset" >&5
24325 echo "${ECHO_T}$wx_cv_class_stdhashmapset" >&6; }
24330 if test "$wx_cv_class_stdhashmapset" = yes; then
24331 cat >>confdefs.h <<\_ACEOF
24332 #define HAVE_HASH_MAP 1
24335 cat >>confdefs.h <<\_ACEOF
24336 #define HAVE_STD_HASH_MAP 1
24341 { echo "$as_me:$LINENO: checking for ext/hash_map" >&5
24342 echo $ECHO_N "checking for ext/hash_map... $ECHO_C" >&6; }
24343 if test "${ac_cv_header_ext_hash_map+set}" = set; then
24344 echo $ECHO_N "(cached) $ECHO_C" >&6
24346 cat >conftest.$ac_ext <<_ACEOF
24349 cat confdefs.h >>conftest.$ac_ext
24350 cat >>conftest.$ac_ext <<_ACEOF
24351 /* end confdefs.h. */
24355 #include <ext/hash_map>
24357 rm -f conftest.$ac_objext
24358 if { (ac_try="$ac_compile"
24359 case "(($ac_try" in
24360 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24361 *) ac_try_echo=$ac_try;;
24363 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24364 (eval "$ac_compile") 2>conftest.er1
24366 grep -v '^
*+' conftest.er1 >conftest.err
24368 cat conftest.err >&5
24369 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24370 (exit $ac_status); } && {
24371 test -z "$ac_cxx_werror_flag" ||
24372 test ! -s conftest.err
24373 } && test -s conftest.$ac_objext; then
24374 ac_cv_header_ext_hash_map=yes
24376 echo "$as_me: failed program was:" >&5
24377 sed 's
/^
/| /' conftest.$ac_ext >&5
24379 ac_cv_header_ext_hash_map=no
24382 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24384 { echo "$as_me:$LINENO: result: $ac_cv_header_ext_hash_map" >&5
24385 echo "${ECHO_T}$ac_cv_header_ext_hash_map" >&6; }
24386 if test $ac_cv_header_ext_hash_map = yes; then
24387 { echo "$as_me:$LINENO: checking for GNU hash_map and hash_set" >&5
24388 echo $ECHO_N "checking for GNU hash_map and hash_set... $ECHO_C" >&6; }
24389 if test "${wx_cv_class_gnuhashmapset+set}" = set; then
24390 echo $ECHO_N "(cached) $ECHO_C" >&6
24392 cat >conftest.$ac_ext <<_ACEOF
24395 cat confdefs.h >>conftest.$ac_ext
24396 cat >>conftest.$ac_ext <<_ACEOF
24397 /* end confdefs.h. */
24398 #include <ext/hash_map>
24399 #include <ext/hash_set>
24403 __gnu_cxx::hash_map<double*, char*, __gnu_cxx::hash<double*>, std::equal_to<double*> > test1;
24404 __gnu_cxx::hash_set<char*, __gnu_cxx::hash<char*>, std::equal_to<char*> > test2;
24409 rm -f conftest.$ac_objext
24410 if { (ac_try="$ac_compile"
24411 case "(($ac_try" in
24412 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24413 *) ac_try_echo=$ac_try;;
24415 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24416 (eval "$ac_compile") 2>conftest.er1
24418 grep -v '^
*+' conftest.er1 >conftest.err
24420 cat conftest.err >&5
24421 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24422 (exit $ac_status); } && {
24423 test -z "$ac_cxx_werror_flag" ||
24424 test ! -s conftest.err
24425 } && test -s conftest.$ac_objext; then
24426 wx_cv_class_gnuhashmapset=yes
24428 echo "$as_me: failed program was:" >&5
24429 sed 's
/^
/| /' conftest.$ac_ext >&5
24431 wx_cv_class_gnuhashmapset=no
24434 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24438 { echo "$as_me:$LINENO: result: $wx_cv_class_gnuhashmapset" >&5
24439 echo "${ECHO_T}$wx_cv_class_gnuhashmapset" >&6; }
24444 if test "$wx_cv_class_gnuhashmapset" = yes; then
24445 cat >>confdefs.h <<\_ACEOF
24446 #define HAVE_EXT_HASH_MAP 1
24449 cat >>confdefs.h <<\_ACEOF
24450 #define HAVE_GNU_CXX_HASH_MAP 1
24457 ac_cpp='$CPP $CPPFLAGS'
24458 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
24459 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
24460 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24465 /usr/local/include \
24467 /usr/Motif-2.1/include \
24468 /usr/Motif-1.2/include \
24469 /usr/include/Motif1.2 \
24472 /usr/openwin/include \
24476 /usr/X11R6/include \
24477 /usr/X11R6.4/include \
24478 /usr/X11R5/include \
24479 /usr/X11R4/include \
24481 /usr/include/X11R6 \
24482 /usr/include/X11R5 \
24483 /usr/include/X11R4 \
24485 /usr/local/X11R6/include \
24486 /usr/local/X11R5/include \
24487 /usr/local/X11R4/include \
24489 /usr/local/include/X11R6 \
24490 /usr/local/include/X11R5 \
24491 /usr/local/include/X11R4 \
24495 /usr/local/X11/include \
24496 /usr/local/include/X11 \
24498 /usr/XFree86/include/X11 \
24501 /usr/openwin/share/include"
24503 { echo "$as_me:$LINENO: checking for libraries directory" >&5
24504 echo $ECHO_N "checking for libraries directory... $ECHO_C" >&6; }
24508 if test "${wx_cv_std_libpath+set}" = set; then
24509 echo $ECHO_N "(cached) $ECHO_C" >&6
24512 for d in /usr/lib /usr/lib32 /usr/lib/64 /usr/lib64; do
24513 for e in a so sl dylib dll.a; do
24515 if test -f $libc; then
24518 cat >conftest.$ac_ext <<_ACEOF
24519 int main() { return 0; }
24521 rm -f conftest.$ac_objext conftest$ac_exeext
24522 if { (ac_try="$ac_link"
24523 case "(($ac_try" in
24524 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24525 *) ac_try_echo=$ac_try;;
24527 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24528 (eval "$ac_link") 2>conftest.er1
24530 grep -v '^
*+' conftest.er1 >conftest.err
24532 cat conftest.err >&5
24533 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24534 (exit $ac_status); } && {
24535 test -z "$ac_c_werror_flag" ||
24536 test ! -s conftest.err
24537 } && test -s conftest$ac_exeext &&
24538 $as_test_x conftest$ac_exeext; then
24539 wx_cv_std_libpath=`echo $d | sed s@/usr/@@`
24541 echo "$as_me: failed program was:" >&5
24542 sed 's
/^
/| /' conftest.$ac_ext >&5
24547 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
24548 conftest$ac_exeext conftest.$ac_ext
24550 if test "x$wx_cv_std_libpath" != "x"; then
24556 if test "x$wx_cv_std_libpath" = "x"; then
24557 wx_cv_std_libpath="lib"
24566 if test "$ac_cv_sizeof_void_p" = 8 -a -d "/usr/lib/64"; then
24567 wx_cv_std_libpath="lib/64"
24569 wx_cv_std_libpath="lib"
24574 if test "$ac_cv_sizeof_void_p" = 8 -a \
24575 -d "/usr/lib64" -a ! -h "/usr/lib64"; then
24576 wx_cv_std_libpath="lib64"
24578 wx_cv_std_libpath="lib"
24583 wx_cv_std_libpath="lib";
24587 { echo "$as_me:$LINENO: result: $wx_cv_std_libpath" >&5
24588 echo "${ECHO_T}$wx_cv_std_libpath" >&6; }
24590 SEARCH_LIB="`echo "$SEARCH_INCLUDE" | sed s@include@$wx_cv_std_libpath@g` /usr/$wx_cv_std_libpath"
24592 if test "$build" != "$host" -a "$GCC" = yes; then
24593 if cross_root=`$CC -print-prog-name=ld 2>/dev/null`; then
24594 cross_root=`dirname $cross_root`
24595 cross_root=`dirname $cross_root`
24597 SEARCH_LIB=`for x in $SEARCH_LIB; do echo $x; done | sed -ne "s|^/usr|$cross_root|p"`
24598 SEARCH_INCLUDE=`for x in $SEARCH_INCLUDE; do echo $x; done | sed -ne "s|^/usr|$cross_root|p"`
24599 SEARCH_INCLUDE="$SEARCH_INCLUDE $cross_root/include"
24601 if test -z "$PKG_CONFIG_PATH"; then
24602 PKG_CONFIG_PATH="$cross_root/local/lib/pkgconfig:$cross_root/lib/pkgconfig"
24603 export PKG_CONFIG_PATH
24606 if test -z "$x_includes" -o "$x_includes" = NONE; then
24609 for ac_dir in $SEARCH_INCLUDE /usr/include;
24611 if test -f "$ac_dir/X11/Intrinsic.h"; then
24612 ac_find_includes=$ac_dir
24617 x_includes=$ac_find_includes
24619 if test -z "$x_libraries" -o "$x_libraries" = NONE; then
24622 for ac_dir in $SEARCH_LIB;
24624 for ac_extension in a so sl dylib dll.a; do
24625 if test -f "$ac_dir/libXt.$ac_extension"; then
24626 ac_find_libraries=$ac_dir
24632 x_libraries=$ac_find_libraries
24638 cat >confcache <<\_ACEOF
24639 # This file is a shell script that caches the results of configure
24640 # tests run on this system so they can be shared between configure
24641 # scripts and configure runs, see configure's option
--config-cache.
24642 # It is not useful on other systems. If it contains results you don't
24643 # want to keep, you may remove or edit it.
24645 # config.status only pays attention to the cache file if you give it
24646 # the --recheck option to rerun configure.
24648 # `ac_cv_env_foo' variables (set or unset) will be overridden when
24649 # loading this file, other *unset* `ac_cv_foo' will be assigned the
24650 # following values.
24654 # The following way of writing the cache mishandles newlines in values,
24655 # but we know of no workaround that is simple, portable, and efficient.
24656 # So, we kill variables containing newlines.
24657 # Ultrix sh set writes to stderr and can't be redirected directly,
24658 # and sets the high bit in the cache file unless we assign to the vars.
24660 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
24661 eval ac_val
=\$
$ac_var
24665 *_cv_
*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
24666 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
24669 _
| IFS
| as_nl
) ;; #(
24670 *) $as_unset $ac_var ;;
24676 case $as_nl`(ac_space=' '; set) 2>&1` in #(
24677 *${as_nl}ac_space
=\
*)
24678 # `set' does not quote correctly, so add quotes (double-quote
24679 # substitution turns \\\\ into \\, and sed turns \\ into \).
24682 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
24685 # `set' quotes correctly as required by POSIX, so do not add quotes.
24686 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
24695 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
24697 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
24699 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
24700 if test -w "$cache_file"; then
24701 test "x$cache_file" != "x/dev/null" &&
24702 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
24703 echo "$as_me: updating cache $cache_file" >&6;}
24704 cat confcache
>$cache_file
24706 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
24707 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
24712 if test "$USE_LINUX" = 1 -o "$USE_GNU" = 1; then
24713 { echo "$as_me:$LINENO: checking for glibc 2.1 or later" >&5
24714 echo $ECHO_N "checking for glibc 2.1 or later... $ECHO_C" >&6; }
24715 if test "${wx_cv_lib_glibc21+set}" = set; then
24716 echo $ECHO_N "(cached) $ECHO_C" >&6
24719 cat >conftest.
$ac_ext <<_ACEOF
24722 cat confdefs.h
>>conftest.
$ac_ext
24723 cat >>conftest.
$ac_ext <<_ACEOF
24724 /* end confdefs.h. */
24725 #include <features.h>
24730 #if (__GLIBC__ < 2) || (__GLIBC_MINOR__ < 1)
24738 rm -f conftest.
$ac_objext
24739 if { (ac_try
="$ac_compile"
24740 case "(($ac_try" in
24741 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
24742 *) ac_try_echo=$ac_try;;
24744 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24745 (eval "$ac_compile") 2>conftest.er1
24747 grep -v '^ *+' conftest.er1 >conftest.err
24749 cat conftest.err >&5
24750 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24751 (exit $ac_status); } && {
24752 test -z "$ac_c_werror_flag" ||
24753 test ! -s conftest.err
24754 } && test -s conftest.$ac_objext; then
24756 wx_cv_lib_glibc21=yes
24759 echo "$as_me: failed program was:" >&5
24760 sed 's/^/| /' conftest.$ac_ext >&5
24763 wx_cv_lib_glibc21=no
24768 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24771 { echo "$as_me:$LINENO: result: $wx_cv_lib_glibc21" >&5
24772 echo "${ECHO_T}$wx_cv_lib_glibc21" >&6; }
24773 if test "$wx_cv_lib_glibc21" = "yes"; then
24774 cat >>confdefs.h <<\_ACEOF
24775 #define wxHAVE_GLIBC2 1
24781 if test "x$wx_cv_lib_glibc21" = "xyes"; then
24782 if test "$wxUSE_UNICODE" = "yes" -o "$wxUSE_THREADS" = "yes"; then
24783 cat >>confdefs.h <<\_ACEOF
24784 #define _GNU_SOURCE 1
24795 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24796 { echo "$as_me:$LINENO: checking for $ac_func" >&5
24797 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
24798 if { as_var=$as_ac_var; eval "test \"\${$as_var+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. */
24807 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
24808 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24809 #define $ac_func innocuous_$ac_func
24811 /* System header to define __stub macros and hopefully few prototypes,
24812 which can conflict with char $ac_func (); below.
24813 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24814 <limits.h> exists even on freestanding compilers. */
24817 # include <limits.h>
24819 # include <assert.h>
24824 /* Override any GCC internal prototype to avoid an error.
24825 Use char because int might match the return type of a GCC
24826 builtin and then its argument prototype would still apply. */
24831 /* The GNU C library defines this for functions which it implements
24832 to always fail with ENOSYS. Some functions are actually named
24833 something starting with __ and the normal name is an alias. */
24834 #if defined __stub_$ac_func || defined __stub___$ac_func
24841 return $ac_func ();
24846 rm -f conftest.$ac_objext conftest$ac_exeext
24847 if { (ac_try="$ac_link"
24848 case "(($ac_try" in
24849 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
24850 *) ac_try_echo
=$ac_try;;
24852 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24853 (eval "$ac_link") 2>conftest.er1
24855 grep -v '^ *+' conftest.er1
>conftest.err
24857 cat conftest.err
>&5
24858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24859 (exit $ac_status); } && {
24860 test -z "$ac_c_werror_flag" ||
24861 test ! -s conftest.err
24862 } && test -s conftest
$ac_exeext &&
24863 $as_test_x conftest
$ac_exeext; then
24864 eval "$as_ac_var=yes"
24866 echo "$as_me: failed program was:" >&5
24867 sed 's/^/| /' conftest.
$ac_ext >&5
24869 eval "$as_ac_var=no"
24872 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
24873 conftest
$ac_exeext conftest.
$ac_ext
24875 ac_res
=`eval echo '${'$as_ac_var'}'`
24876 { echo "$as_me:$LINENO: result: $ac_res" >&5
24877 echo "${ECHO_T}$ac_res" >&6; }
24878 if test `eval echo '${'$as_ac_var'}'` = yes; then
24879 cat >>confdefs.h
<<_ACEOF
24880 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24887 for ac_func
in floor
24889 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24890 { echo "$as_me:$LINENO: checking for $ac_func" >&5
24891 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
24892 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
24893 echo $ECHO_N "(cached) $ECHO_C" >&6
24895 cat >conftest.
$ac_ext <<_ACEOF
24898 cat confdefs.h
>>conftest.
$ac_ext
24899 cat >>conftest.
$ac_ext <<_ACEOF
24900 /* end confdefs.h. */
24901 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
24902 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24903 #define $ac_func innocuous_$ac_func
24905 /* System header to define __stub macros and hopefully few prototypes,
24906 which can conflict with char $ac_func (); below.
24907 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24908 <limits.h> exists even on freestanding compilers. */
24911 # include <limits.h>
24913 # include <assert.h>
24918 /* Override any GCC internal prototype to avoid an error.
24919 Use char because int might match the return type of a GCC
24920 builtin and then its argument prototype would still apply. */
24925 /* The GNU C library defines this for functions which it implements
24926 to always fail with ENOSYS. Some functions are actually named
24927 something starting with __ and the normal name is an alias. */
24928 #if defined __stub_$ac_func || defined __stub___$ac_func
24935 return $ac_func ();
24940 rm -f conftest.
$ac_objext conftest
$ac_exeext
24941 if { (ac_try
="$ac_link"
24942 case "(($ac_try" in
24943 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
24944 *) ac_try_echo=$ac_try;;
24946 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24947 (eval "$ac_link") 2>conftest.er1
24949 grep -v '^ *+' conftest.er1 >conftest.err
24951 cat conftest.err >&5
24952 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24953 (exit $ac_status); } && {
24954 test -z "$ac_c_werror_flag" ||
24955 test ! -s conftest.err
24956 } && test -s conftest$ac_exeext &&
24957 $as_test_x conftest$ac_exeext; then
24958 eval "$as_ac_var=yes"
24960 echo "$as_me: failed program was:" >&5
24961 sed 's/^/| /' conftest.$ac_ext >&5
24963 eval "$as_ac_var=no"
24966 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
24967 conftest$ac_exeext conftest.$ac_ext
24969 ac_res=`eval echo '${'$as_ac_var'}'`
24970 { echo "$as_me:$LINENO: result: $ac_res" >&5
24971 echo "${ECHO_T}$ac_res" >&6; }
24972 if test `eval echo '${'$as_ac_var'}'` = yes; then
24973 cat >>confdefs.h <<_ACEOF
24974 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24980 { echo "$as_me:$LINENO: checking if floating point functions link without -lm" >&5
24981 echo $ECHO_N "checking if floating point functions link without -lm... $ECHO_C" >&6; }
24982 if test "$have_cos" = 1 -a "$have_floor" = 1; then
24983 { echo "$as_me:$LINENO: result: yes" >&5
24984 echo "${ECHO_T}yes" >&6; }
24986 { echo "$as_me:$LINENO: result: no" >&5
24987 echo "${ECHO_T}no" >&6; }
24989 # use different functions to avoid configure caching
24995 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24996 { echo "$as_me:$LINENO: checking for $ac_func" >&5
24997 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
24998 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
24999 echo $ECHO_N "(cached) $ECHO_C" >&6
25001 cat >conftest.$ac_ext <<_ACEOF
25004 cat confdefs.h >>conftest.$ac_ext
25005 cat >>conftest.$ac_ext <<_ACEOF
25006 /* end confdefs.h. */
25007 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25008 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25009 #define $ac_func innocuous_$ac_func
25011 /* System header to define __stub macros and hopefully few prototypes,
25012 which can conflict with char $ac_func (); below.
25013 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25014 <limits.h> exists even on freestanding compilers. */
25017 # include <limits.h>
25019 # include <assert.h>
25024 /* Override any GCC internal prototype to avoid an error.
25025 Use char because int might match the return type of a GCC
25026 builtin and then its argument prototype would still apply. */
25031 /* The GNU C library defines this for functions which it implements
25032 to always fail with ENOSYS. Some functions are actually named
25033 something starting with __ and the normal name is an alias. */
25034 #if defined __stub_$ac_func || defined __stub___$ac_func
25041 return $ac_func ();
25046 rm -f conftest.$ac_objext conftest$ac_exeext
25047 if { (ac_try="$ac_link"
25048 case "(($ac_try" in
25049 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
25050 *) ac_try_echo
=$ac_try;;
25052 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25053 (eval "$ac_link") 2>conftest.er1
25055 grep -v '^ *+' conftest.er1
>conftest.err
25057 cat conftest.err
>&5
25058 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25059 (exit $ac_status); } && {
25060 test -z "$ac_c_werror_flag" ||
25061 test ! -s conftest.err
25062 } && test -s conftest
$ac_exeext &&
25063 $as_test_x conftest
$ac_exeext; then
25064 eval "$as_ac_var=yes"
25066 echo "$as_me: failed program was:" >&5
25067 sed 's/^/| /' conftest.
$ac_ext >&5
25069 eval "$as_ac_var=no"
25072 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
25073 conftest
$ac_exeext conftest.
$ac_ext
25075 ac_res
=`eval echo '${'$as_ac_var'}'`
25076 { echo "$as_me:$LINENO: result: $ac_res" >&5
25077 echo "${ECHO_T}$ac_res" >&6; }
25078 if test `eval echo '${'$as_ac_var'}'` = yes; then
25079 cat >>confdefs.h
<<_ACEOF
25080 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25087 for ac_func
in ceil
25089 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25090 { echo "$as_me:$LINENO: checking for $ac_func" >&5
25091 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
25092 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
25093 echo $ECHO_N "(cached) $ECHO_C" >&6
25095 cat >conftest.
$ac_ext <<_ACEOF
25098 cat confdefs.h
>>conftest.
$ac_ext
25099 cat >>conftest.
$ac_ext <<_ACEOF
25100 /* end confdefs.h. */
25101 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25102 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25103 #define $ac_func innocuous_$ac_func
25105 /* System header to define __stub macros and hopefully few prototypes,
25106 which can conflict with char $ac_func (); below.
25107 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25108 <limits.h> exists even on freestanding compilers. */
25111 # include <limits.h>
25113 # include <assert.h>
25118 /* Override any GCC internal prototype to avoid an error.
25119 Use char because int might match the return type of a GCC
25120 builtin and then its argument prototype would still apply. */
25125 /* The GNU C library defines this for functions which it implements
25126 to always fail with ENOSYS. Some functions are actually named
25127 something starting with __ and the normal name is an alias. */
25128 #if defined __stub_$ac_func || defined __stub___$ac_func
25135 return $ac_func ();
25140 rm -f conftest.
$ac_objext conftest
$ac_exeext
25141 if { (ac_try
="$ac_link"
25142 case "(($ac_try" in
25143 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
25144 *) ac_try_echo=$ac_try;;
25146 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25147 (eval "$ac_link") 2>conftest.er1
25149 grep -v '^ *+' conftest.er1 >conftest.err
25151 cat conftest.err >&5
25152 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25153 (exit $ac_status); } && {
25154 test -z "$ac_c_werror_flag" ||
25155 test ! -s conftest.err
25156 } && test -s conftest$ac_exeext &&
25157 $as_test_x conftest$ac_exeext; then
25158 eval "$as_ac_var=yes"
25160 echo "$as_me: failed program was:" >&5
25161 sed 's/^/| /' conftest.$ac_ext >&5
25163 eval "$as_ac_var=no"
25166 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25167 conftest$ac_exeext conftest.$ac_ext
25169 ac_res=`eval echo '${'$as_ac_var'}'`
25170 { echo "$as_me:$LINENO: result: $ac_res" >&5
25171 echo "${ECHO_T}$ac_res" >&6; }
25172 if test `eval echo '${'$as_ac_var'}'` = yes; then
25173 cat >>confdefs.h <<_ACEOF
25174 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25180 { echo "$as_me:$LINENO: checking if floating point functions link with -lm" >&5
25181 echo $ECHO_N "checking if floating point functions link with -lm... $ECHO_C" >&6; }
25182 if test "$have_sin" = 1 -a "$have_ceil" = 1; then
25183 { echo "$as_me:$LINENO: result: yes" >&5
25184 echo "${ECHO_T}yes" >&6; }
25186 { echo "$as_me:$LINENO: result: no" >&5
25187 echo "${ECHO_T}no" >&6; }
25188 # not sure we should warn the user, crash, etc.
25193 ac_cpp='$CXXCPP $CPPFLAGS'
25194 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25195 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25196 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25198 if test "wxUSE_UNICODE" = "yes"; then
25200 for wx_func in wcstoull
25202 { echo "$as_me:$LINENO: checking for $wx_func" >&5
25203 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
25204 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
25205 echo $ECHO_N "(cached) $ECHO_C" >&6
25208 cat >conftest.$ac_ext <<_ACEOF
25212 cat confdefs.h >>conftest.$ac_ext
25213 cat >>conftest.$ac_ext <<_ACEOF
25214 /* end confdefs.h. */
25217 $ac_includes_default
25233 rm -f conftest.$ac_objext conftest$ac_exeext
25234 if { (ac_try="$ac_link"
25235 case "(($ac_try" in
25236 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
25237 *) ac_try_echo
=$ac_try;;
25239 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25240 (eval "$ac_link") 2>conftest.er1
25242 grep -v '^ *+' conftest.er1
>conftest.err
25244 cat conftest.err
>&5
25245 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25246 (exit $ac_status); } && {
25247 test -z "$ac_cxx_werror_flag" ||
25248 test ! -s conftest.err
25249 } && test -s conftest
$ac_exeext &&
25250 $as_test_x conftest
$ac_exeext; then
25251 eval wx_cv_func_
$wx_func=yes
25253 echo "$as_me: failed program was:" >&5
25254 sed 's/^/| /' conftest.
$ac_ext >&5
25256 eval wx_cv_func_
$wx_func=no
25259 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
25260 conftest
$ac_exeext conftest.
$ac_ext
25263 ac_res
=`eval echo '${'wx_cv_func_$wx_func'}'`
25264 { echo "$as_me:$LINENO: result: $ac_res" >&5
25265 echo "${ECHO_T}$ac_res" >&6; }
25267 if eval test \
$wx_cv_func_$wx_func = yes
25269 cat >>confdefs.h
<<_ACEOF
25270 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
25282 for wx_func
in strtoull
25284 { echo "$as_me:$LINENO: checking for $wx_func" >&5
25285 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
25286 if { as_var
=wx_cv_func_
$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
25287 echo $ECHO_N "(cached) $ECHO_C" >&6
25290 cat >conftest.
$ac_ext <<_ACEOF
25294 cat confdefs.h
>>conftest.
$ac_ext
25295 cat >>conftest.
$ac_ext <<_ACEOF
25296 /* end confdefs.h. */
25299 $ac_includes_default
25315 rm -f conftest.
$ac_objext conftest
$ac_exeext
25316 if { (ac_try
="$ac_link"
25317 case "(($ac_try" in
25318 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
25319 *) ac_try_echo=$ac_try;;
25321 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25322 (eval "$ac_link") 2>conftest.er1
25324 grep -v '^ *+' conftest.er1 >conftest.err
25326 cat conftest.err >&5
25327 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25328 (exit $ac_status); } && {
25329 test -z "$ac_cxx_werror_flag" ||
25330 test ! -s conftest.err
25331 } && test -s conftest$ac_exeext &&
25332 $as_test_x conftest$ac_exeext; then
25333 eval wx_cv_func_$wx_func=yes
25335 echo "$as_me: failed program was:" >&5
25336 sed 's/^/| /' conftest.$ac_ext >&5
25338 eval wx_cv_func_$wx_func=no
25341 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25342 conftest$ac_exeext conftest.$ac_ext
25345 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
25346 { echo "$as_me:$LINENO: result: $ac_res" >&5
25347 echo "${ECHO_T}$ac_res" >&6; }
25349 if eval test \$wx_cv_func_$wx_func = yes
25351 cat >>confdefs.h <<_ACEOF
25352 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
25364 ac_cpp='$CPP $CPPFLAGS'
25365 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25366 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25367 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25372 if test "$wxUSE_REGEX" != "no"; then
25373 cat >>confdefs.h <<\_ACEOF
25374 #define wxUSE_REGEX 1
25378 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_REGEX" = "yes"; then
25379 { echo "$as_me:$LINENO: WARNING: Defaulting to the the builtin regex library for Unicode build." >&5
25380 echo "$as_me: WARNING: Defaulting to the the builtin regex library for Unicode build." >&2;}
25381 wxUSE_REGEX=builtin
25384 if test "$wxUSE_REGEX" = "sys" -o "$wxUSE_REGEX" = "yes" ; then
25385 { echo "$as_me:$LINENO: checking for regex.h" >&5
25386 echo $ECHO_N "checking for regex.h... $ECHO_C" >&6; }
25387 if test "${ac_cv_header_regex_h+set}" = set; then
25388 echo $ECHO_N "(cached) $ECHO_C" >&6
25390 cat >conftest.$ac_ext <<_ACEOF
25393 cat confdefs.h >>conftest.$ac_ext
25394 cat >>conftest.$ac_ext <<_ACEOF
25395 /* end confdefs.h. */
25400 rm -f conftest.$ac_objext
25401 if { (ac_try="$ac_compile"
25402 case "(($ac_try" in
25403 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
25404 *) ac_try_echo
=$ac_try;;
25406 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25407 (eval "$ac_compile") 2>conftest.er1
25409 grep -v '^ *+' conftest.er1
>conftest.err
25411 cat conftest.err
>&5
25412 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25413 (exit $ac_status); } && {
25414 test -z "$ac_c_werror_flag" ||
25415 test ! -s conftest.err
25416 } && test -s conftest.
$ac_objext; then
25417 ac_cv_header_regex_h
=yes
25419 echo "$as_me: failed program was:" >&5
25420 sed 's/^/| /' conftest.
$ac_ext >&5
25422 ac_cv_header_regex_h
=no
25425 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
25427 { echo "$as_me:$LINENO: result: $ac_cv_header_regex_h" >&5
25428 echo "${ECHO_T}$ac_cv_header_regex_h" >&6; }
25429 if test $ac_cv_header_regex_h = yes; then
25432 for ac_func
in regcomp re_search
25434 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25435 { echo "$as_me:$LINENO: checking for $ac_func" >&5
25436 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
25437 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
25438 echo $ECHO_N "(cached) $ECHO_C" >&6
25440 cat >conftest.
$ac_ext <<_ACEOF
25443 cat confdefs.h
>>conftest.
$ac_ext
25444 cat >>conftest.
$ac_ext <<_ACEOF
25445 /* end confdefs.h. */
25446 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25447 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25448 #define $ac_func innocuous_$ac_func
25450 /* System header to define __stub macros and hopefully few prototypes,
25451 which can conflict with char $ac_func (); below.
25452 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25453 <limits.h> exists even on freestanding compilers. */
25456 # include <limits.h>
25458 # include <assert.h>
25463 /* Override any GCC internal prototype to avoid an error.
25464 Use char because int might match the return type of a GCC
25465 builtin and then its argument prototype would still apply. */
25470 /* The GNU C library defines this for functions which it implements
25471 to always fail with ENOSYS. Some functions are actually named
25472 something starting with __ and the normal name is an alias. */
25473 #if defined __stub_$ac_func || defined __stub___$ac_func
25480 return $ac_func ();
25485 rm -f conftest.
$ac_objext conftest
$ac_exeext
25486 if { (ac_try
="$ac_link"
25487 case "(($ac_try" in
25488 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
25489 *) ac_try_echo=$ac_try;;
25491 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25492 (eval "$ac_link") 2>conftest.er1
25494 grep -v '^ *+' conftest.er1 >conftest.err
25496 cat conftest.err >&5
25497 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25498 (exit $ac_status); } && {
25499 test -z "$ac_c_werror_flag" ||
25500 test ! -s conftest.err
25501 } && test -s conftest$ac_exeext &&
25502 $as_test_x conftest$ac_exeext; then
25503 eval "$as_ac_var=yes"
25505 echo "$as_me: failed program was:" >&5
25506 sed 's/^/| /' conftest.$ac_ext >&5
25508 eval "$as_ac_var=no"
25511 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25512 conftest$ac_exeext conftest.$ac_ext
25514 ac_res=`eval echo '${'$as_ac_var'}'`
25515 { echo "$as_me:$LINENO: result: $ac_res" >&5
25516 echo "${ECHO_T}$ac_res" >&6; }
25517 if test `eval echo '${'$as_ac_var'}'` = yes; then
25518 cat >>confdefs.h <<_ACEOF
25519 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25529 if test "x$ac_cv_func_regcomp" != "xyes"; then
25530 if test "$wxUSE_REGEX" = "sys" ; then
25531 { { echo "$as_me:$LINENO: error: system regex library not found! Use --with-regex to use built-in version" >&5
25532 echo "$as_me: error: system regex library not found! Use --with-regex to use built-in version" >&2;}
25533 { (exit 1); exit 1; }; }
25535 { echo "$as_me:$LINENO: WARNING: system regex library not found, will use built-in instead" >&5
25536 echo "$as_me: WARNING: system regex library not found, will use built-in instead" >&2;}
25537 wxUSE_REGEX=builtin
25541 cat >>confdefs.h <<\_ACEOF
25542 #define WX_NO_REGEX_ADVANCED 1
25551 if test "$wxUSE_ZLIB" != "no" ; then
25552 cat >>confdefs.h <<\_ACEOF
25553 #define wxUSE_ZLIB 1
25557 if test "$wxUSE_ZLIB" = "sys" -o "$wxUSE_ZLIB" = "yes" ; then
25558 if test "$USE_DARWIN" = 1; then
25559 system_zlib_h_ok="yes"
25561 { echo "$as_me:$LINENO: checking for zlib.h >= 1.1.4" >&5
25562 echo $ECHO_N "checking for zlib.h >= 1.1.4... $ECHO_C" >&6; }
25563 if test "${ac_cv_header_zlib_h+set}" = set; then
25564 echo $ECHO_N "(cached) $ECHO_C" >&6
25566 if test "$cross_compiling" = yes; then
25567 unset ac_cv_header_zlib_h
25570 cat >conftest.$ac_ext <<_ACEOF
25573 cat confdefs.h >>conftest.$ac_ext
25574 cat >>conftest.$ac_ext <<_ACEOF
25575 /* end confdefs.h. */
25582 FILE *f=fopen("conftestval", "w");
25585 ZLIB_VERSION[0] == '1' &&
25586 (ZLIB_VERSION[2] > '1' ||
25587 (ZLIB_VERSION[2] == '1' &&
25588 ZLIB_VERSION[4] >= '4')) ? "yes" : "no");
25593 rm -f conftest$ac_exeext
25594 if { (ac_try="$ac_link"
25595 case "(($ac_try" in
25596 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
25597 *) ac_try_echo
=$ac_try;;
25599 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25600 (eval "$ac_link") 2>&5
25602 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25603 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
25604 { (case "(($ac_try" in
25605 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
25606 *) ac_try_echo=$ac_try;;
25608 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25609 (eval "$ac_try") 2>&5
25611 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25612 (exit $ac_status); }; }; then
25613 ac_cv_header_zlib_h=`cat conftestval
`
25615 echo "$as_me: program exited with status $ac_status" >&5
25616 echo "$as_me: failed program was:" >&5
25617 sed 's/^/| /' conftest.$ac_ext >&5
25619 ( exit $ac_status )
25620 ac_cv_header_zlib_h=no
25622 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
25628 { echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
25629 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6; }
25630 { echo "$as_me:$LINENO: checking for zlib.h" >&5
25631 echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6; }
25632 if test "${ac_cv_header_zlib_h+set}" = set; then
25633 echo $ECHO_N "(cached) $ECHO_C" >&6
25635 cat >conftest.$ac_ext <<_ACEOF
25638 cat confdefs.h >>conftest.$ac_ext
25639 cat >>conftest.$ac_ext <<_ACEOF
25640 /* end confdefs.h. */
25645 rm -f conftest.$ac_objext
25646 if { (ac_try="$ac_compile"
25647 case "(($ac_try" in
25648 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
25649 *) ac_try_echo
=$ac_try;;
25651 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25652 (eval "$ac_compile") 2>conftest.er1
25654 grep -v '^ *+' conftest.er1
>conftest.err
25656 cat conftest.err
>&5
25657 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25658 (exit $ac_status); } && {
25659 test -z "$ac_c_werror_flag" ||
25660 test ! -s conftest.err
25661 } && test -s conftest.
$ac_objext; then
25662 ac_cv_header_zlib_h
=yes
25664 echo "$as_me: failed program was:" >&5
25665 sed 's/^/| /' conftest.
$ac_ext >&5
25667 ac_cv_header_zlib_h
=no
25670 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
25672 { echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
25673 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6; }
25677 system_zlib_h_ok
=$ac_cv_header_zlib_h
25680 if test "$system_zlib_h_ok" = "yes"; then
25681 { echo "$as_me:$LINENO: checking for deflate in -lz" >&5
25682 echo $ECHO_N "checking for deflate in -lz... $ECHO_C" >&6; }
25683 if test "${ac_cv_lib_z_deflate+set}" = set; then
25684 echo $ECHO_N "(cached) $ECHO_C" >&6
25686 ac_check_lib_save_LIBS
=$LIBS
25688 cat >conftest.
$ac_ext <<_ACEOF
25691 cat confdefs.h
>>conftest.
$ac_ext
25692 cat >>conftest.
$ac_ext <<_ACEOF
25693 /* end confdefs.h. */
25695 /* Override any GCC internal prototype to avoid an error.
25696 Use char because int might match the return type of a GCC
25697 builtin and then its argument prototype would still apply. */
25710 rm -f conftest.
$ac_objext conftest
$ac_exeext
25711 if { (ac_try
="$ac_link"
25712 case "(($ac_try" in
25713 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
25714 *) ac_try_echo=$ac_try;;
25716 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25717 (eval "$ac_link") 2>conftest.er1
25719 grep -v '^ *+' conftest.er1 >conftest.err
25721 cat conftest.err >&5
25722 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25723 (exit $ac_status); } && {
25724 test -z "$ac_c_werror_flag" ||
25725 test ! -s conftest.err
25726 } && test -s conftest$ac_exeext &&
25727 $as_test_x conftest$ac_exeext; then
25728 ac_cv_lib_z_deflate=yes
25730 echo "$as_me: failed program was:" >&5
25731 sed 's/^/| /' conftest.$ac_ext >&5
25733 ac_cv_lib_z_deflate=no
25736 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25737 conftest$ac_exeext conftest.$ac_ext
25738 LIBS=$ac_check_lib_save_LIBS
25740 { echo "$as_me:$LINENO: result: $ac_cv_lib_z_deflate" >&5
25741 echo "${ECHO_T}$ac_cv_lib_z_deflate" >&6; }
25742 if test $ac_cv_lib_z_deflate = yes; then
25748 if test "x$ZLIB_LINK" = "x" ; then
25749 if test "$wxUSE_ZLIB" = "sys" ; then
25750 { { echo "$as_me:$LINENO: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&5
25751 echo "$as_me: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&2;}
25752 { (exit 1); exit 1; }; }
25754 { echo "$as_me:$LINENO: WARNING: zlib library not found or too old, will use built-in instead" >&5
25755 echo "$as_me: WARNING: zlib library not found or too old, will use built-in instead" >&2;}
25766 if test "$wxUSE_LIBPNG" != "no" ; then
25767 cat >>confdefs.h <<\_ACEOF
25768 #define wxUSE_LIBPNG 1
25772 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBPNG" = "builtin" ; then
25773 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&5
25774 echo "$as_me: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&2;}
25778 if test "$wxUSE_MGL" != 1 -a "$wxUSE_LIBPNG" = "sys" -a "$wxUSE_ZLIB" != "sys" ; then
25779 { echo "$as_me:$LINENO: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&5
25780 echo "$as_me: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&2;}
25781 wxUSE_LIBPNG=builtin
25784 if test "$wxUSE_MGL" != 1 ; then
25785 if test "$wxUSE_LIBPNG" = "sys" -o "$wxUSE_LIBPNG" = "yes" ; then
25786 { echo "$as_me:$LINENO: checking for png.h > 0.90" >&5
25787 echo $ECHO_N "checking for png.h > 0.90... $ECHO_C" >&6; }
25788 if test "${ac_cv_header_png_h+set}" = set; then
25789 echo $ECHO_N "(cached) $ECHO_C" >&6
25791 if test "$cross_compiling" = yes; then
25792 unset ac_cv_header_png_h
25795 cat >conftest.$ac_ext <<_ACEOF
25798 cat confdefs.h >>conftest.$ac_ext
25799 cat >>conftest.$ac_ext <<_ACEOF
25800 /* end confdefs.h. */
25807 FILE *f=fopen("conftestval", "w");
25810 PNG_LIBPNG_VER > 90 ? "yes" : "no");
25815 rm -f conftest$ac_exeext
25816 if { (ac_try="$ac_link"
25817 case "(($ac_try" in
25818 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
25819 *) ac_try_echo
=$ac_try;;
25821 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25822 (eval "$ac_link") 2>&5
25824 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25825 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
25826 { (case "(($ac_try" in
25827 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
25828 *) ac_try_echo=$ac_try;;
25830 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25831 (eval "$ac_try") 2>&5
25833 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25834 (exit $ac_status); }; }; then
25835 ac_cv_header_png_h=`cat conftestval
`
25837 echo "$as_me: program exited with status $ac_status" >&5
25838 echo "$as_me: failed program was:" >&5
25839 sed 's/^/| /' conftest.$ac_ext >&5
25841 ( exit $ac_status )
25842 ac_cv_header_png_h=no
25844 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
25850 { echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
25851 echo "${ECHO_T}$ac_cv_header_png_h" >&6; }
25852 { echo "$as_me:$LINENO: checking for png.h" >&5
25853 echo $ECHO_N "checking for png.h... $ECHO_C" >&6; }
25854 if test "${ac_cv_header_png_h+set}" = set; then
25855 echo $ECHO_N "(cached) $ECHO_C" >&6
25857 cat >conftest.$ac_ext <<_ACEOF
25860 cat confdefs.h >>conftest.$ac_ext
25861 cat >>conftest.$ac_ext <<_ACEOF
25862 /* end confdefs.h. */
25867 rm -f conftest.$ac_objext
25868 if { (ac_try="$ac_compile"
25869 case "(($ac_try" in
25870 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
25871 *) ac_try_echo
=$ac_try;;
25873 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25874 (eval "$ac_compile") 2>conftest.er1
25876 grep -v '^ *+' conftest.er1
>conftest.err
25878 cat conftest.err
>&5
25879 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25880 (exit $ac_status); } && {
25881 test -z "$ac_c_werror_flag" ||
25882 test ! -s conftest.err
25883 } && test -s conftest.
$ac_objext; then
25884 ac_cv_header_png_h
=yes
25886 echo "$as_me: failed program was:" >&5
25887 sed 's/^/| /' conftest.
$ac_ext >&5
25889 ac_cv_header_png_h
=no
25892 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
25894 { echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
25895 echo "${ECHO_T}$ac_cv_header_png_h" >&6; }
25899 if test "$ac_cv_header_png_h" = "yes"; then
25900 { echo "$as_me:$LINENO: checking for png_check_sig in -lpng" >&5
25901 echo $ECHO_N "checking for png_check_sig in -lpng... $ECHO_C" >&6; }
25902 if test "${ac_cv_lib_png_png_check_sig+set}" = set; then
25903 echo $ECHO_N "(cached) $ECHO_C" >&6
25905 ac_check_lib_save_LIBS
=$LIBS
25906 LIBS
="-lpng -lz -lm $LIBS"
25907 cat >conftest.
$ac_ext <<_ACEOF
25910 cat confdefs.h
>>conftest.
$ac_ext
25911 cat >>conftest.
$ac_ext <<_ACEOF
25912 /* end confdefs.h. */
25914 /* Override any GCC internal prototype to avoid an error.
25915 Use char because int might match the return type of a GCC
25916 builtin and then its argument prototype would still apply. */
25920 char png_check_sig ();
25924 return png_check_sig ();
25929 rm -f conftest.
$ac_objext conftest
$ac_exeext
25930 if { (ac_try
="$ac_link"
25931 case "(($ac_try" in
25932 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
25933 *) ac_try_echo=$ac_try;;
25935 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25936 (eval "$ac_link") 2>conftest.er1
25938 grep -v '^ *+' conftest.er1 >conftest.err
25940 cat conftest.err >&5
25941 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25942 (exit $ac_status); } && {
25943 test -z "$ac_c_werror_flag" ||
25944 test ! -s conftest.err
25945 } && test -s conftest$ac_exeext &&
25946 $as_test_x conftest$ac_exeext; then
25947 ac_cv_lib_png_png_check_sig=yes
25949 echo "$as_me: failed program was:" >&5
25950 sed 's/^/| /' conftest.$ac_ext >&5
25952 ac_cv_lib_png_png_check_sig=no
25955 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25956 conftest$ac_exeext conftest.$ac_ext
25957 LIBS=$ac_check_lib_save_LIBS
25959 { echo "$as_me:$LINENO: result: $ac_cv_lib_png_png_check_sig" >&5
25960 echo "${ECHO_T}$ac_cv_lib_png_png_check_sig" >&6; }
25961 if test $ac_cv_lib_png_png_check_sig = yes; then
25962 PNG_LINK=" -lpng -lz"
25967 if test "x$PNG_LINK" = "x" ; then
25968 if test "$wxUSE_LIBPNG" = "sys" ; then
25969 { { echo "$as_me:$LINENO: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&5
25970 echo "$as_me: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&2;}
25971 { (exit 1); exit 1; }; }
25973 { echo "$as_me:$LINENO: WARNING: system png library not found or too old, will use built-in instead" >&5
25974 echo "$as_me: WARNING: system png library not found or too old, will use built-in instead" >&2;}
25975 wxUSE_LIBPNG=builtin
25983 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS png"
25988 if test "$wxUSE_LIBJPEG" != "no" ; then
25989 cat >>confdefs.h <<\_ACEOF
25990 #define wxUSE_LIBJPEG 1
25994 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBJPEG" = "builtin" ; then
25995 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&5
25996 echo "$as_me: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&2;}
26000 if test "$wxUSE_MGL" != 1 ; then
26001 if test "$wxUSE_LIBJPEG" = "sys" -o "$wxUSE_LIBJPEG" = "yes" ; then
26002 { echo "$as_me:$LINENO: checking for jpeglib.h" >&5
26003 echo $ECHO_N "checking for jpeglib.h... $ECHO_C" >&6; }
26004 if test "${ac_cv_header_jpeglib_h+set}" = set; then
26005 echo $ECHO_N "(cached) $ECHO_C" >&6
26007 cat >conftest.$ac_ext <<_ACEOF
26010 cat confdefs.h >>conftest.$ac_ext
26011 cat >>conftest.$ac_ext <<_ACEOF
26012 /* end confdefs.h. */
26014 #undef HAVE_STDLIB_H
26016 #include <jpeglib.h>
26027 rm -f conftest.$ac_objext
26028 if { (ac_try="$ac_compile"
26029 case "(($ac_try" in
26030 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
26031 *) ac_try_echo
=$ac_try;;
26033 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26034 (eval "$ac_compile") 2>conftest.er1
26036 grep -v '^ *+' conftest.er1
>conftest.err
26038 cat conftest.err
>&5
26039 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26040 (exit $ac_status); } && {
26041 test -z "$ac_c_werror_flag" ||
26042 test ! -s conftest.err
26043 } && test -s conftest.
$ac_objext; then
26044 ac_cv_header_jpeglib_h
=yes
26046 echo "$as_me: failed program was:" >&5
26047 sed 's/^/| /' conftest.
$ac_ext >&5
26049 ac_cv_header_jpeglib_h
=no
26053 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
26057 { echo "$as_me:$LINENO: result: $ac_cv_header_jpeglib_h" >&5
26058 echo "${ECHO_T}$ac_cv_header_jpeglib_h" >&6; }
26060 if test "$ac_cv_header_jpeglib_h" = "yes"; then
26061 { echo "$as_me:$LINENO: checking for jpeg_read_header in -ljpeg" >&5
26062 echo $ECHO_N "checking for jpeg_read_header in -ljpeg... $ECHO_C" >&6; }
26063 if test "${ac_cv_lib_jpeg_jpeg_read_header+set}" = set; then
26064 echo $ECHO_N "(cached) $ECHO_C" >&6
26066 ac_check_lib_save_LIBS
=$LIBS
26067 LIBS
="-ljpeg $LIBS"
26068 cat >conftest.
$ac_ext <<_ACEOF
26071 cat confdefs.h
>>conftest.
$ac_ext
26072 cat >>conftest.
$ac_ext <<_ACEOF
26073 /* end confdefs.h. */
26075 /* Override any GCC internal prototype to avoid an error.
26076 Use char because int might match the return type of a GCC
26077 builtin and then its argument prototype would still apply. */
26081 char jpeg_read_header ();
26085 return jpeg_read_header ();
26090 rm -f conftest.
$ac_objext conftest
$ac_exeext
26091 if { (ac_try
="$ac_link"
26092 case "(($ac_try" in
26093 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
26094 *) ac_try_echo=$ac_try;;
26096 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26097 (eval "$ac_link") 2>conftest.er1
26099 grep -v '^ *+' conftest.er1 >conftest.err
26101 cat conftest.err >&5
26102 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26103 (exit $ac_status); } && {
26104 test -z "$ac_c_werror_flag" ||
26105 test ! -s conftest.err
26106 } && test -s conftest$ac_exeext &&
26107 $as_test_x conftest$ac_exeext; then
26108 ac_cv_lib_jpeg_jpeg_read_header=yes
26110 echo "$as_me: failed program was:" >&5
26111 sed 's/^/| /' conftest.$ac_ext >&5
26113 ac_cv_lib_jpeg_jpeg_read_header=no
26116 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26117 conftest$ac_exeext conftest.$ac_ext
26118 LIBS=$ac_check_lib_save_LIBS
26120 { echo "$as_me:$LINENO: result: $ac_cv_lib_jpeg_jpeg_read_header" >&5
26121 echo "${ECHO_T}$ac_cv_lib_jpeg_jpeg_read_header" >&6; }
26122 if test $ac_cv_lib_jpeg_jpeg_read_header = yes; then
26123 JPEG_LINK=" -ljpeg"
26128 if test "x$JPEG_LINK" = "x" ; then
26129 if test "$wxUSE_LIBJPEG" = "sys" ; then
26130 { { echo "$as_me:$LINENO: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&5
26131 echo "$as_me: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&2;}
26132 { (exit 1); exit 1; }; }
26134 { echo "$as_me:$LINENO: WARNING: system jpeg library not found, will use built-in instead" >&5
26135 echo "$as_me: WARNING: system jpeg library not found, will use built-in instead" >&2;}
26136 wxUSE_LIBJPEG=builtin
26141 if test "$wxUSE_MSW" = 1; then
26142 { echo "$as_me:$LINENO: checking for boolean" >&5
26143 echo $ECHO_N "checking for boolean... $ECHO_C" >&6; }
26144 if test "${ac_cv_type_boolean+set}" = set; then
26145 echo $ECHO_N "(cached) $ECHO_C" >&6
26147 cat >conftest.$ac_ext <<_ACEOF
26150 cat confdefs.h >>conftest.$ac_ext
26151 cat >>conftest.$ac_ext <<_ACEOF
26152 /* end confdefs.h. */
26153 #include <windows.h>
26155 typedef boolean ac__type_new_;
26159 if ((ac__type_new_ *) 0)
26161 if (sizeof (ac__type_new_))
26167 rm -f conftest.$ac_objext
26168 if { (ac_try="$ac_compile"
26169 case "(($ac_try" in
26170 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
26171 *) ac_try_echo
=$ac_try;;
26173 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26174 (eval "$ac_compile") 2>conftest.er1
26176 grep -v '^ *+' conftest.er1
>conftest.err
26178 cat conftest.err
>&5
26179 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26180 (exit $ac_status); } && {
26181 test -z "$ac_c_werror_flag" ||
26182 test ! -s conftest.err
26183 } && test -s conftest.
$ac_objext; then
26184 ac_cv_type_boolean
=yes
26186 echo "$as_me: failed program was:" >&5
26187 sed 's/^/| /' conftest.
$ac_ext >&5
26189 ac_cv_type_boolean
=no
26192 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
26194 { echo "$as_me:$LINENO: result: $ac_cv_type_boolean" >&5
26195 echo "${ECHO_T}$ac_cv_type_boolean" >&6; }
26196 if test $ac_cv_type_boolean = yes; then
26198 cat >>confdefs.h
<<_ACEOF
26199 #define HAVE_BOOLEAN 1
26203 { echo "$as_me:$LINENO: checking for boolean" >&5
26204 echo $ECHO_N "checking for boolean... $ECHO_C" >&6; }
26205 if test "${ac_cv_type_boolean+set}" = set; then
26206 echo $ECHO_N "(cached) $ECHO_C" >&6
26208 cat >conftest.
$ac_ext <<_ACEOF
26211 cat confdefs.h
>>conftest.
$ac_ext
26212 cat >>conftest.
$ac_ext <<_ACEOF
26213 /* end confdefs.h. */
26215 #undef HAVE_BOOLEAN
26217 #include <jpeglib.h>
26220 typedef boolean ac__type_new_;
26224 if ((ac__type_new_ *) 0)
26226 if (sizeof (ac__type_new_))
26232 rm -f conftest.
$ac_objext
26233 if { (ac_try
="$ac_compile"
26234 case "(($ac_try" in
26235 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
26236 *) ac_try_echo=$ac_try;;
26238 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26239 (eval "$ac_compile") 2>conftest.er1
26241 grep -v '^ *+' conftest.er1 >conftest.err
26243 cat conftest.err >&5
26244 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26245 (exit $ac_status); } && {
26246 test -z "$ac_c_werror_flag" ||
26247 test ! -s conftest.err
26248 } && test -s conftest.$ac_objext; then
26249 ac_cv_type_boolean=yes
26251 echo "$as_me: failed program was:" >&5
26252 sed 's/^/| /' conftest.$ac_ext >&5
26254 ac_cv_type_boolean=no
26257 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26259 { echo "$as_me:$LINENO: result: $ac_cv_type_boolean" >&5
26260 echo "${ECHO_T}$ac_cv_type_boolean" >&6; }
26262 # The cast to long int works around a bug in the HP C Compiler
26263 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
26264 # declarations like `int a3
[[(sizeof
(unsigned char
)) >= 0]];'.
26265 # This bug is HP SR number 8606223364.
26266 { echo "$as_me:$LINENO: checking size of boolean" >&5
26267 echo $ECHO_N "checking size of boolean... $ECHO_C" >&6; }
26268 if test "${ac_cv_sizeof_boolean+set}" = set; then
26269 echo $ECHO_N "(cached) $ECHO_C" >&6
26271 if test "$cross_compiling" = yes; then
26272 # Depending upon the size, compute the lo and hi bounds.
26273 cat >conftest.$ac_ext <<_ACEOF
26276 cat confdefs.h >>conftest.$ac_ext
26277 cat >>conftest.$ac_ext <<_ACEOF
26278 /* end confdefs.h. */
26280 #undef HAVE_BOOLEAN
26282 #include <jpeglib.h>
26285 typedef boolean ac__type_sizeof_;
26289 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
26296 rm -f conftest.$ac_objext
26297 if { (ac_try="$ac_compile"
26298 case "(($ac_try" in
26299 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26300 *) ac_try_echo=$ac_try;;
26302 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26303 (eval "$ac_compile") 2>conftest.er1
26305 grep -v '^
*+' conftest.er1 >conftest.err
26307 cat conftest.err >&5
26308 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26309 (exit $ac_status); } && {
26310 test -z "$ac_c_werror_flag" ||
26311 test ! -s conftest.err
26312 } && test -s conftest.$ac_objext; then
26315 cat >conftest.$ac_ext <<_ACEOF
26318 cat confdefs.h >>conftest.$ac_ext
26319 cat >>conftest.$ac_ext <<_ACEOF
26320 /* end confdefs.h. */
26322 #undef HAVE_BOOLEAN
26324 #include <jpeglib.h>
26327 typedef boolean ac__type_sizeof_;
26331 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
26338 rm -f conftest.$ac_objext
26339 if { (ac_try="$ac_compile"
26340 case "(($ac_try" in
26341 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26342 *) ac_try_echo=$ac_try;;
26344 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26345 (eval "$ac_compile") 2>conftest.er1
26347 grep -v '^
*+' conftest.er1 >conftest.err
26349 cat conftest.err >&5
26350 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26351 (exit $ac_status); } && {
26352 test -z "$ac_c_werror_flag" ||
26353 test ! -s conftest.err
26354 } && test -s conftest.$ac_objext; then
26355 ac_hi=$ac_mid; break
26357 echo "$as_me: failed program was:" >&5
26358 sed 's
/^
/| /' conftest.$ac_ext >&5
26360 ac_lo=`expr $ac_mid + 1`
26361 if test $ac_lo -le $ac_mid; then
26365 ac_mid=`expr 2 '*' $ac_mid + 1`
26368 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26371 echo "$as_me: failed program was:" >&5
26372 sed 's
/^
/| /' conftest.$ac_ext >&5
26374 cat >conftest.$ac_ext <<_ACEOF
26377 cat confdefs.h >>conftest.$ac_ext
26378 cat >>conftest.$ac_ext <<_ACEOF
26379 /* end confdefs.h. */
26381 #undef HAVE_BOOLEAN
26383 #include <jpeglib.h>
26386 typedef boolean ac__type_sizeof_;
26390 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
26397 rm -f conftest.$ac_objext
26398 if { (ac_try="$ac_compile"
26399 case "(($ac_try" in
26400 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26401 *) ac_try_echo=$ac_try;;
26403 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26404 (eval "$ac_compile") 2>conftest.er1
26406 grep -v '^
*+' conftest.er1 >conftest.err
26408 cat conftest.err >&5
26409 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26410 (exit $ac_status); } && {
26411 test -z "$ac_c_werror_flag" ||
26412 test ! -s conftest.err
26413 } && test -s conftest.$ac_objext; then
26416 cat >conftest.$ac_ext <<_ACEOF
26419 cat confdefs.h >>conftest.$ac_ext
26420 cat >>conftest.$ac_ext <<_ACEOF
26421 /* end confdefs.h. */
26423 #undef HAVE_BOOLEAN
26425 #include <jpeglib.h>
26428 typedef boolean ac__type_sizeof_;
26432 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
26439 rm -f conftest.$ac_objext
26440 if { (ac_try="$ac_compile"
26441 case "(($ac_try" in
26442 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26443 *) ac_try_echo=$ac_try;;
26445 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26446 (eval "$ac_compile") 2>conftest.er1
26448 grep -v '^
*+' conftest.er1 >conftest.err
26450 cat conftest.err >&5
26451 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26452 (exit $ac_status); } && {
26453 test -z "$ac_c_werror_flag" ||
26454 test ! -s conftest.err
26455 } && test -s conftest.$ac_objext; then
26456 ac_lo=$ac_mid; break
26458 echo "$as_me: failed program was:" >&5
26459 sed 's
/^
/| /' conftest.$ac_ext >&5
26461 ac_hi=`expr '(' $ac_mid ')' - 1`
26462 if test $ac_mid -le $ac_hi; then
26466 ac_mid=`expr 2 '*' $ac_mid`
26469 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26472 echo "$as_me: failed program was:" >&5
26473 sed 's
/^
/| /' conftest.$ac_ext >&5
26478 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26481 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26482 # Binary search between lo and hi bounds.
26483 while test "x$ac_lo" != "x$ac_hi"; do
26484 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
26485 cat >conftest.$ac_ext <<_ACEOF
26488 cat confdefs.h >>conftest.$ac_ext
26489 cat >>conftest.$ac_ext <<_ACEOF
26490 /* end confdefs.h. */
26492 #undef HAVE_BOOLEAN
26494 #include <jpeglib.h>
26497 typedef boolean ac__type_sizeof_;
26501 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
26508 rm -f conftest.$ac_objext
26509 if { (ac_try="$ac_compile"
26510 case "(($ac_try" in
26511 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26512 *) ac_try_echo=$ac_try;;
26514 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26515 (eval "$ac_compile") 2>conftest.er1
26517 grep -v '^
*+' conftest.er1 >conftest.err
26519 cat conftest.err >&5
26520 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26521 (exit $ac_status); } && {
26522 test -z "$ac_c_werror_flag" ||
26523 test ! -s conftest.err
26524 } && test -s conftest.$ac_objext; then
26527 echo "$as_me: failed program was:" >&5
26528 sed 's
/^
/| /' conftest.$ac_ext >&5
26530 ac_lo=`expr '(' $ac_mid ')' + 1`
26533 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26536 ?*) ac_cv_sizeof_boolean=$ac_lo;;
26537 '') if test "$ac_cv_type_boolean" = yes; then
26538 { { echo "$as_me:$LINENO: error: cannot compute sizeof (boolean)
26539 See \`config.log' for more details.
" >&5
26540 echo "$as_me: error
: cannot compute sizeof
(boolean
)
26541 See \
`config.log' for more details." >&2;}
26542 { (exit 77); exit 77; }; }
26544 ac_cv_sizeof_boolean=0
26548 cat >conftest.$ac_ext <<_ACEOF
26551 cat confdefs.h >>conftest.$ac_ext
26552 cat >>conftest.$ac_ext <<_ACEOF
26553 /* end confdefs.h. */
26555 #undef HAVE_BOOLEAN
26557 #include <jpeglib.h>
26560 typedef boolean ac__type_sizeof_;
26561 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
26562 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
26564 #include <stdlib.h>
26569 FILE *f = fopen ("conftest.val", "w");
26572 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
26574 long int i = longval ();
26575 if (i != ((long int) (sizeof (ac__type_sizeof_))))
26577 fprintf (f, "%ld\n", i);
26581 unsigned long int i = ulongval ();
26582 if (i != ((long int) (sizeof (ac__type_sizeof_))))
26584 fprintf (f, "%lu\n", i);
26586 return ferror (f) || fclose (f) != 0;
26592 rm -f conftest$ac_exeext
26593 if { (ac_try="$ac_link"
26594 case "(($ac_try" in
26595 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
26596 *) ac_try_echo
=$ac_try;;
26598 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26599 (eval "$ac_link") 2>&5
26601 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26602 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
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_try") 2>&5
26610 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26611 (exit $ac_status); }; }; then
26612 ac_cv_sizeof_boolean=`cat conftest.val
`
26614 echo "$as_me: program exited with status $ac_status" >&5
26615 echo "$as_me: failed program was:" >&5
26616 sed 's/^/| /' conftest.$ac_ext >&5
26618 ( exit $ac_status )
26619 if test "$ac_cv_type_boolean" = yes; then
26620 { { echo "$as_me:$LINENO: error: cannot compute sizeof (boolean)
26621 See \`config.log
' for more details." >&5
26622 echo "$as_me: error: cannot compute sizeof (boolean)
26623 See \`config.log' for more details.
" >&2;}
26624 { (exit 77); exit 77; }; }
26626 ac_cv_sizeof_boolean=0
26629 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
26633 { echo "$as_me:$LINENO: result
: $ac_cv_sizeof_boolean" >&5
26634 echo "${ECHO_T}$ac_cv_sizeof_boolean" >&6; }
26638 cat >>confdefs.h <<_ACEOF
26639 #define SIZEOF_BOOLEAN $ac_cv_sizeof_boolean
26643 cat >>confdefs.h <<_ACEOF
26644 #define wxHACK_BOOLEAN wxInt`expr 8 \* $ac_cv_sizeof_boolean`
26658 TIFF_PREREQ_LINKS=-lm
26659 if test "$wxUSE_LIBTIFF" != "no
" ; then
26660 cat >>confdefs.h <<\_ACEOF
26661 #define wxUSE_LIBTIFF 1
26665 if test "$wxUSE_LIBTIFF" = "sys
" -o "$wxUSE_LIBTIFF" = "yes" ; then
26666 if test "$wxUSE_LIBJPEG" = "sys
"; then
26667 TIFF_PREREQ_LINKS="$TIFF_PREREQ_LINKS $JPEG_LINK"
26669 if test "$wxUSE_ZLIB" = "sys
"; then
26670 TIFF_PREREQ_LINKS="$TIFF_PREREQ_LINKS $ZLIB_LINK"
26672 { echo "$as_me:$LINENO: checking
for tiffio.h
" >&5
26673 echo $ECHO_N "checking
for tiffio.h...
$ECHO_C" >&6; }
26674 if test "${ac_cv_header_tiffio_h+set}" = set; then
26675 echo $ECHO_N "(cached
) $ECHO_C" >&6
26677 cat >conftest.$ac_ext <<_ACEOF
26680 cat confdefs.h >>conftest.$ac_ext
26681 cat >>conftest.$ac_ext <<_ACEOF
26682 /* end confdefs.h. */
26686 #include <tiffio.h>
26688 rm -f conftest.$ac_objext
26689 if { (ac_try="$ac_compile"
26690 case "(($ac_try" in
26691 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26692 *) ac_try_echo=$ac_try;;
26694 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
26695 (eval "$ac_compile") 2>conftest.er1
26697 grep -v '^ *+' conftest.er1 >conftest.err
26699 cat conftest.err >&5
26700 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
26701 (exit $ac_status); } && {
26702 test -z "$ac_c_werror_flag" ||
26703 test ! -s conftest.err
26704 } && test -s conftest.$ac_objext; then
26705 ac_cv_header_tiffio_h=yes
26707 echo "$as_me: failed program was
:" >&5
26708 sed 's/^/| /' conftest.$ac_ext >&5
26710 ac_cv_header_tiffio_h=no
26713 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26715 { echo "$as_me:$LINENO: result
: $ac_cv_header_tiffio_h" >&5
26716 echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6; }
26717 if test $ac_cv_header_tiffio_h = yes; then
26719 { echo "$as_me:$LINENO: checking
for TIFFError
in -ltiff" >&5
26720 echo $ECHO_N "checking
for TIFFError
in -ltiff...
$ECHO_C" >&6; }
26721 if test "${ac_cv_lib_tiff_TIFFError+set}" = set; then
26722 echo $ECHO_N "(cached
) $ECHO_C" >&6
26724 ac_check_lib_save_LIBS=$LIBS
26725 LIBS="-ltiff $TIFF_PREREQ_LINKS $LIBS"
26726 cat >conftest.$ac_ext <<_ACEOF
26729 cat confdefs.h >>conftest.$ac_ext
26730 cat >>conftest.$ac_ext <<_ACEOF
26731 /* end confdefs.h. */
26733 /* Override any GCC internal prototype to avoid an error.
26734 Use char because int might match the return type of a GCC
26735 builtin and then its argument prototype would still apply. */
26743 return TIFFError ();
26748 rm -f conftest.$ac_objext conftest$ac_exeext
26749 if { (ac_try="$ac_link"
26750 case "(($ac_try" in
26751 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26752 *) ac_try_echo=$ac_try;;
26754 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
26755 (eval "$ac_link") 2>conftest.er1
26757 grep -v '^ *+' conftest.er1 >conftest.err
26759 cat conftest.err >&5
26760 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
26761 (exit $ac_status); } && {
26762 test -z "$ac_c_werror_flag" ||
26763 test ! -s conftest.err
26764 } && test -s conftest$ac_exeext &&
26765 $as_test_x conftest$ac_exeext; then
26766 ac_cv_lib_tiff_TIFFError=yes
26768 echo "$as_me: failed program was
:" >&5
26769 sed 's/^/| /' conftest.$ac_ext >&5
26771 ac_cv_lib_tiff_TIFFError=no
26774 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26775 conftest$ac_exeext conftest.$ac_ext
26776 LIBS=$ac_check_lib_save_LIBS
26778 { echo "$as_me:$LINENO: result
: $ac_cv_lib_tiff_TIFFError" >&5
26779 echo "${ECHO_T}$ac_cv_lib_tiff_TIFFError" >&6; }
26780 if test $ac_cv_lib_tiff_TIFFError = yes; then
26781 TIFF_LINK=" -ltiff"
26789 if test "x
$TIFF_LINK" = "x
" ; then
26790 if test "$wxUSE_LIBTIFF" = "sys
" ; then
26791 { { echo "$as_me:$LINENO: error
: system tiff library not found
! Use
--with-libtiff=builtin to use built
-in version
" >&5
26792 echo "$as_me: error
: system tiff library not found
! Use
--with-libtiff=builtin to use built
-in version
" >&2;}
26793 { (exit 1); exit 1; }; }
26795 { echo "$as_me:$LINENO: WARNING
: system tiff library not found
, will use built
-in instead
" >&5
26796 echo "$as_me: WARNING
: system tiff library not found
, will use built
-in instead
" >&2;}
26797 wxUSE_LIBTIFF=builtin
26806 if test "$wxUSE_WCHAR_T" != "yes"; then
26807 if test "$wxUSE_EXPAT" != "no
"; then
26808 { echo "$as_me:$LINENO: WARNING
: wxWidgets requires wchar_t to use expat
, disabling
" >&5
26809 echo "$as_me: WARNING
: wxWidgets requires wchar_t to use expat
, disabling
" >&2;}
26812 if test "$wxUSE_XML" != "no
"; then
26813 { echo "$as_me:$LINENO: WARNING
: wxWidgets requires wchar_t to use xml
, disabling
" >&5
26814 echo "$as_me: WARNING
: wxWidgets requires wchar_t to use xml
, disabling
" >&2;}
26819 if test "$wxUSE_EXPAT" != "no
"; then
26821 cat >>confdefs.h <<\_ACEOF
26822 #define wxUSE_EXPAT 1
26825 cat >>confdefs.h <<\_ACEOF
26826 #define wxUSE_XML 1
26830 if test "$wxUSE_EXPAT" = "sys
" -o "$wxUSE_EXPAT" = "yes" ; then
26831 { echo "$as_me:$LINENO: checking
for expat.h
" >&5
26832 echo $ECHO_N "checking
for expat.h...
$ECHO_C" >&6; }
26833 if test "${ac_cv_header_expat_h+set}" = set; then
26834 echo $ECHO_N "(cached
) $ECHO_C" >&6
26836 cat >conftest.$ac_ext <<_ACEOF
26839 cat confdefs.h >>conftest.$ac_ext
26840 cat >>conftest.$ac_ext <<_ACEOF
26841 /* end confdefs.h. */
26846 rm -f conftest.$ac_objext
26847 if { (ac_try="$ac_compile"
26848 case "(($ac_try" in
26849 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26850 *) ac_try_echo=$ac_try;;
26852 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
26853 (eval "$ac_compile") 2>conftest.er1
26855 grep -v '^ *+' conftest.er1 >conftest.err
26857 cat conftest.err >&5
26858 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
26859 (exit $ac_status); } && {
26860 test -z "$ac_c_werror_flag" ||
26861 test ! -s conftest.err
26862 } && test -s conftest.$ac_objext; then
26863 ac_cv_header_expat_h=yes
26865 echo "$as_me: failed program was
:" >&5
26866 sed 's/^/| /' conftest.$ac_ext >&5
26868 ac_cv_header_expat_h=no
26871 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26873 { echo "$as_me:$LINENO: result
: $ac_cv_header_expat_h" >&5
26874 echo "${ECHO_T}$ac_cv_header_expat_h" >&6; }
26875 if test $ac_cv_header_expat_h = yes; then
26880 if test "x
$found_expat_h" = "x1
"; then
26881 { echo "$as_me:$LINENO: checking
if expat.h is valid C
++ header
" >&5
26882 echo $ECHO_N "checking
if expat.h is valid C
++ header...
$ECHO_C" >&6; }
26883 if test "${wx_cv_expat_is_not_broken+set}" = set; then
26884 echo $ECHO_N "(cached
) $ECHO_C" >&6
26888 ac_cpp='$CXXCPP $CPPFLAGS'
26889 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26890 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26891 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26893 cat >conftest.$ac_ext <<_ACEOF
26896 cat confdefs.h >>conftest.$ac_ext
26897 cat >>conftest.$ac_ext <<_ACEOF
26898 /* end confdefs.h. */
26908 rm -f conftest.$ac_objext
26909 if { (ac_try="$ac_compile"
26910 case "(($ac_try" in
26911 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26912 *) ac_try_echo=$ac_try;;
26914 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
26915 (eval "$ac_compile") 2>conftest.er1
26917 grep -v '^ *+' conftest.er1 >conftest.err
26919 cat conftest.err >&5
26920 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
26921 (exit $ac_status); } && {
26922 test -z "$ac_cxx_werror_flag" ||
26923 test ! -s conftest.err
26924 } && test -s conftest.$ac_objext; then
26925 wx_cv_expat_is_not_broken=yes
26927 echo "$as_me: failed program was
:" >&5
26928 sed 's/^/| /' conftest.$ac_ext >&5
26930 wx_cv_expat_is_not_broken=no
26934 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26936 ac_cpp='$CPP $CPPFLAGS'
26937 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26938 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26939 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26944 { echo "$as_me:$LINENO: result
: $wx_cv_expat_is_not_broken" >&5
26945 echo "${ECHO_T}$wx_cv_expat_is_not_broken" >&6; }
26946 if test "$wx_cv_expat_is_not_broken" = "yes" ; then
26947 { echo "$as_me:$LINENO: checking
for XML_ParserCreate
in -lexpat" >&5
26948 echo $ECHO_N "checking
for XML_ParserCreate
in -lexpat...
$ECHO_C" >&6; }
26949 if test "${ac_cv_lib_expat_XML_ParserCreate+set}" = set; then
26950 echo $ECHO_N "(cached
) $ECHO_C" >&6
26952 ac_check_lib_save_LIBS=$LIBS
26953 LIBS="-lexpat $LIBS"
26954 cat >conftest.$ac_ext <<_ACEOF
26957 cat confdefs.h >>conftest.$ac_ext
26958 cat >>conftest.$ac_ext <<_ACEOF
26959 /* end confdefs.h. */
26961 /* Override any GCC internal prototype to avoid an error.
26962 Use char because int might match the return type of a GCC
26963 builtin and then its argument prototype would still apply. */
26967 char XML_ParserCreate ();
26971 return XML_ParserCreate ();
26976 rm -f conftest.$ac_objext conftest$ac_exeext
26977 if { (ac_try="$ac_link"
26978 case "(($ac_try" in
26979 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26980 *) ac_try_echo=$ac_try;;
26982 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
26983 (eval "$ac_link") 2>conftest.er1
26985 grep -v '^ *+' conftest.er1 >conftest.err
26987 cat conftest.err >&5
26988 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
26989 (exit $ac_status); } && {
26990 test -z "$ac_c_werror_flag" ||
26991 test ! -s conftest.err
26992 } && test -s conftest$ac_exeext &&
26993 $as_test_x conftest$ac_exeext; then
26994 ac_cv_lib_expat_XML_ParserCreate=yes
26996 echo "$as_me: failed program was
:" >&5
26997 sed 's/^/| /' conftest.$ac_ext >&5
26999 ac_cv_lib_expat_XML_ParserCreate=no
27002 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27003 conftest$ac_exeext conftest.$ac_ext
27004 LIBS=$ac_check_lib_save_LIBS
27006 { echo "$as_me:$LINENO: result
: $ac_cv_lib_expat_XML_ParserCreate" >&5
27007 echo "${ECHO_T}$ac_cv_lib_expat_XML_ParserCreate" >&6; }
27008 if test $ac_cv_lib_expat_XML_ParserCreate = yes; then
27009 EXPAT_LINK=" -lexpat"
27014 if test "x
$EXPAT_LINK" = "x
" ; then
27015 if test "$wxUSE_EXPAT" = "sys
" ; then
27016 { { echo "$as_me:$LINENO: error
: system expat library not found
! Use
--with-expat=builtin to use built
-in version
" >&5
27017 echo "$as_me: error
: system expat library not found
! Use
--with-expat=builtin to use built
-in version
" >&2;}
27018 { (exit 1); exit 1; }; }
27020 { echo "$as_me:$LINENO: WARNING
: system expat library not found
, will use built
-in instead
" >&5
27021 echo "$as_me: WARNING
: system expat library not found
, will use built
-in instead
" >&2;}
27022 wxUSE_EXPAT=builtin
27028 if test "$wxUSE_EXPAT" = "builtin" ; then
27029 subdirs="$subdirs src
/expat
"
27036 if test "$wxUSE_LIBMSPACK" != "no
"; then
27037 { echo "$as_me:$LINENO: checking
for mspack.h
" >&5
27038 echo $ECHO_N "checking
for mspack.h...
$ECHO_C" >&6; }
27039 if test "${ac_cv_header_mspack_h+set}" = set; then
27040 echo $ECHO_N "(cached
) $ECHO_C" >&6
27042 cat >conftest.$ac_ext <<_ACEOF
27045 cat confdefs.h >>conftest.$ac_ext
27046 cat >>conftest.$ac_ext <<_ACEOF
27047 /* end confdefs.h. */
27050 #include <mspack.h>
27052 rm -f conftest.$ac_objext
27053 if { (ac_try="$ac_compile"
27054 case "(($ac_try" in
27055 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27056 *) ac_try_echo=$ac_try;;
27058 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
27059 (eval "$ac_compile") 2>conftest.er1
27061 grep -v '^ *+' conftest.er1 >conftest.err
27063 cat conftest.err >&5
27064 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
27065 (exit $ac_status); } && {
27066 test -z "$ac_c_werror_flag" ||
27067 test ! -s conftest.err
27068 } && test -s conftest.$ac_objext; then
27069 ac_cv_header_mspack_h=yes
27071 echo "$as_me: failed program was
:" >&5
27072 sed 's/^/| /' conftest.$ac_ext >&5
27074 ac_cv_header_mspack_h=no
27077 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27079 { echo "$as_me:$LINENO: result
: $ac_cv_header_mspack_h" >&5
27080 echo "${ECHO_T}$ac_cv_header_mspack_h" >&6; }
27081 if test $ac_cv_header_mspack_h = yes; then
27086 if test "x
$found_mspack_h" = "x1
"; then
27087 { echo "$as_me:$LINENO: checking
for mspack_create_chm_decompressor
in -lmspack" >&5
27088 echo $ECHO_N "checking
for mspack_create_chm_decompressor
in -lmspack...
$ECHO_C" >&6; }
27089 if test "${ac_cv_lib_mspack_mspack_create_chm_decompressor+set}" = set; then
27090 echo $ECHO_N "(cached
) $ECHO_C" >&6
27092 ac_check_lib_save_LIBS=$LIBS
27093 LIBS="-lmspack $LIBS"
27094 cat >conftest.$ac_ext <<_ACEOF
27097 cat confdefs.h >>conftest.$ac_ext
27098 cat >>conftest.$ac_ext <<_ACEOF
27099 /* end confdefs.h. */
27101 /* Override any GCC internal prototype to avoid an error.
27102 Use char because int might match the return type of a GCC
27103 builtin and then its argument prototype would still apply. */
27107 char mspack_create_chm_decompressor ();
27111 return mspack_create_chm_decompressor ();
27116 rm -f conftest.$ac_objext conftest$ac_exeext
27117 if { (ac_try="$ac_link"
27118 case "(($ac_try" in
27119 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27120 *) ac_try_echo=$ac_try;;
27122 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
27123 (eval "$ac_link") 2>conftest.er1
27125 grep -v '^ *+' conftest.er1 >conftest.err
27127 cat conftest.err >&5
27128 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
27129 (exit $ac_status); } && {
27130 test -z "$ac_c_werror_flag" ||
27131 test ! -s conftest.err
27132 } && test -s conftest$ac_exeext &&
27133 $as_test_x conftest$ac_exeext; then
27134 ac_cv_lib_mspack_mspack_create_chm_decompressor=yes
27136 echo "$as_me: failed program was
:" >&5
27137 sed 's/^/| /' conftest.$ac_ext >&5
27139 ac_cv_lib_mspack_mspack_create_chm_decompressor=no
27142 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27143 conftest$ac_exeext conftest.$ac_ext
27144 LIBS=$ac_check_lib_save_LIBS
27146 { echo "$as_me:$LINENO: result
: $ac_cv_lib_mspack_mspack_create_chm_decompressor" >&5
27147 echo "${ECHO_T}$ac_cv_lib_mspack_mspack_create_chm_decompressor" >&6; }
27148 if test $ac_cv_lib_mspack_mspack_create_chm_decompressor = yes; then
27149 MSPACK_LINK=" -lmspack"
27153 if test "x
$MSPACK_LINK" = "x
" ; then
27158 if test "$wxUSE_LIBMSPACK" != "no
"; then
27159 cat >>confdefs.h <<\_ACEOF
27160 #define wxUSE_LIBMSPACK 1
27174 if test "$USE_WIN32" = 1 ; then
27175 { echo "$as_me:$LINENO: checking
for w32api.h
" >&5
27176 echo $ECHO_N "checking
for w32api.h...
$ECHO_C" >&6; }
27177 if test "${ac_cv_header_w32api_h+set}" = set; then
27178 echo $ECHO_N "(cached
) $ECHO_C" >&6
27180 cat >conftest.$ac_ext <<_ACEOF
27183 cat confdefs.h >>conftest.$ac_ext
27184 cat >>conftest.$ac_ext <<_ACEOF
27185 /* end confdefs.h. */
27188 #include <w32api.h>
27190 rm -f conftest.$ac_objext
27191 if { (ac_try="$ac_compile"
27192 case "(($ac_try" in
27193 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27194 *) ac_try_echo=$ac_try;;
27196 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
27197 (eval "$ac_compile") 2>conftest.er1
27199 grep -v '^ *+' conftest.er1 >conftest.err
27201 cat conftest.err >&5
27202 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
27203 (exit $ac_status); } && {
27204 test -z "$ac_c_werror_flag" ||
27205 test ! -s conftest.err
27206 } && test -s conftest.$ac_objext; then
27207 ac_cv_header_w32api_h=yes
27209 echo "$as_me: failed program was
:" >&5
27210 sed 's/^/| /' conftest.$ac_ext >&5
27212 ac_cv_header_w32api_h=no
27215 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27217 { echo "$as_me:$LINENO: result
: $ac_cv_header_w32api_h" >&5
27218 echo "${ECHO_T}$ac_cv_header_w32api_h" >&6; }
27221 { echo "$as_me:$LINENO: checking
for windows.h
" >&5
27222 echo $ECHO_N "checking
for windows.h...
$ECHO_C" >&6; }
27223 if test "${ac_cv_header_windows_h+set}" = set; then
27224 echo $ECHO_N "(cached
) $ECHO_C" >&6
27226 cat >conftest.$ac_ext <<_ACEOF
27229 cat confdefs.h >>conftest.$ac_ext
27230 cat >>conftest.$ac_ext <<_ACEOF
27231 /* end confdefs.h. */
27234 #include <windows.h>
27236 rm -f conftest.$ac_objext
27237 if { (ac_try="$ac_compile"
27238 case "(($ac_try" in
27239 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27240 *) ac_try_echo=$ac_try;;
27242 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
27243 (eval "$ac_compile") 2>conftest.er1
27245 grep -v '^ *+' conftest.er1 >conftest.err
27247 cat conftest.err >&5
27248 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
27249 (exit $ac_status); } && {
27250 test -z "$ac_c_werror_flag" ||
27251 test ! -s conftest.err
27252 } && test -s conftest.$ac_objext; then
27253 ac_cv_header_windows_h=yes
27255 echo "$as_me: failed program was
:" >&5
27256 sed 's/^/| /' conftest.$ac_ext >&5
27258 ac_cv_header_windows_h=no
27261 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27263 { echo "$as_me:$LINENO: result
: $ac_cv_header_windows_h" >&5
27264 echo "${ECHO_T}$ac_cv_header_windows_h" >&6; }
27265 if test $ac_cv_header_windows_h = yes; then
27269 { { echo "$as_me:$LINENO: error
: please
set CFLAGS to contain the location of windows.h
" >&5
27270 echo "$as_me: error
: please
set CFLAGS to contain the location of windows.h
" >&2;}
27271 { (exit 1); exit 1; }; }
27277 LIBS="$LIBS -lwinspool -lwinmm -lshell32 -lcomctl32 -lcomdlg32 -lctl3d32 -ladvapi32 -lwsock32 -lgdi32"
27279 if test "$wxUSE_ACCESSIBILITY" = "yes" ; then
27280 LIBS="$LIBS -loleacc"
27285 LIBS="$LIBS -lkernel32 -luser32"
27288 if test "$wxUSE_ODBC" = "sys
" ; then
27291 if test "$wxUSE_ODBC" = "yes" ; then
27292 LIBS=" -lodbc32 -lole32 -loleaut32 $LIBS"
27293 cat >>confdefs.h <<\_ACEOF
27294 #define wxUSE_ODBC 1
27299 RESFLAGS="--include-dir \
$(top_srcdir)/include
--include-dir \
$(top_srcdir)/\
$(program_dir) --define __WIN32__
--define __WIN95__
--define __GNUWIN32__
"
27300 RESPROGRAMOBJ="\
$(PROGRAM)_resources.o
"
27302 WXCONFIG_RESFLAGS="--define __WIN32__
--define __WIN95__
--define __GNUWIN32__
"
27304 WIN32INSTALL=win32install
27306 { echo "$as_me:$LINENO: checking
for pbt.h
" >&5
27307 echo $ECHO_N "checking
for pbt.h...
$ECHO_C" >&6; }
27308 if test "${ac_cv_header_pbt_h+set}" = set; then
27309 echo $ECHO_N "(cached
) $ECHO_C" >&6
27311 cat >conftest.$ac_ext <<_ACEOF
27314 cat confdefs.h >>conftest.$ac_ext
27315 cat >>conftest.$ac_ext <<_ACEOF
27316 /* end confdefs.h. */
27321 rm -f conftest.$ac_objext
27322 if { (ac_try="$ac_compile"
27323 case "(($ac_try" in
27324 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27325 *) ac_try_echo=$ac_try;;
27327 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
27328 (eval "$ac_compile") 2>conftest.er1
27330 grep -v '^ *+' conftest.er1 >conftest.err
27332 cat conftest.err >&5
27333 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
27334 (exit $ac_status); } && {
27335 test -z "$ac_c_werror_flag" ||
27336 test ! -s conftest.err
27337 } && test -s conftest.$ac_objext; then
27338 ac_cv_header_pbt_h=yes
27340 echo "$as_me: failed program was
:" >&5
27341 sed 's/^/| /' conftest.$ac_ext >&5
27343 ac_cv_header_pbt_h=no
27346 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27348 { echo "$as_me:$LINENO: result
: $ac_cv_header_pbt_h" >&5
27349 echo "${ECHO_T}$ac_cv_header_pbt_h" >&6; }
27350 if test $ac_cv_header_pbt_h = yes; then
27353 cat >>confdefs.h <<\_ACEOF
27354 #define NEED_PBT_H 1
27362 if test "$wxUSE_GUI" = "yes"; then
27372 if test "$wxUSE_COCOA" = 1 ; then
27373 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes"; then
27374 { echo "$as_me:$LINENO: WARNING
: Printing not supported under wxCocoa yet
, disabled
" >&5
27375 echo "$as_me: WARNING
: Printing not supported under wxCocoa yet
, disabled
" >&2;}
27376 wxUSE_PRINTING_ARCHITECTURE=no
27378 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
27379 { echo "$as_me:$LINENO: WARNING
: Drag and Drop not supported under wxCocoa yet
, disabled
" >&5
27380 echo "$as_me: WARNING
: Drag and Drop not supported under wxCocoa yet
, disabled
" >&2;}
27381 wxUSE_DRAG_AND_DROP=no
27383 if test "$wxUSE_DRAGIMAGE" = "yes"; then
27384 { echo "$as_me:$LINENO: WARNING
: wxDragImage not supported under wxCocoa yet
, disabled
" >&5
27385 echo "$as_me: WARNING
: wxDragImage not supported under wxCocoa yet
, disabled
" >&2;}
27390 if test "$wxUSE_MSW" = 1 ; then
27396 WXCONFIG_LDFLAGS_GUI="$LDFLAGS -Wl,--subsystem,windows
-mwindows"
27400 if test "$wxUSE_GTK" = 1; then
27401 { echo "$as_me:$LINENO: checking
for GTK
+ version
" >&5
27402 echo $ECHO_N "checking
for GTK
+ version...
$ECHO_C" >&6; }
27404 gtk_version_cached=1
27405 if test "${wx_cv_lib_gtk+set}" = set; then
27406 echo $ECHO_N "(cached
) $ECHO_C" >&6
27409 gtk_version_cached=0
27410 { echo "$as_me:$LINENO: result
: " >&5
27411 echo "${ECHO_T}" >&6; }
27414 if test "$wxUSE_THREADS" = "yes"; then
27415 GTK_MODULES=gthread
27419 if test "x
$wxGTK_VERSION" != "x1
"
27423 if test "$wxUSE_THREADS" = "yes" -a "$GCC" = yes; then
27428 # Check whether --enable-gtktest was given.
27429 if test "${enable_gtktest+set}" = set; then
27430 enableval=$enable_gtktest;
27436 pkg_config_args=gtk+-2.0
27437 for module in . $GTK_MODULES
27441 pkg_config_args="$pkg_config_args gthread
-2.0
"
27448 # Extract the first word of "pkg
-config", so it can be a program name with args.
27449 set dummy pkg-config; ac_word=$2
27450 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
27451 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
27452 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
27453 echo $ECHO_N "(cached
) $ECHO_C" >&6
27455 case $PKG_CONFIG in
27457 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
27460 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
27461 for as_dir in $PATH
27464 test -z "$as_dir" && as_dir=.
27465 for ac_exec_ext in '' $ac_executable_extensions; do
27466 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
27467 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
27468 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
27475 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no
"
27479 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
27480 if test -n "$PKG_CONFIG"; then
27481 { echo "$as_me:$LINENO: result
: $PKG_CONFIG" >&5
27482 echo "${ECHO_T}$PKG_CONFIG" >&6; }
27484 { echo "$as_me:$LINENO: result
: no
" >&5
27485 echo "${ECHO_T}no
" >&6; }
27490 if test x$PKG_CONFIG != xno ; then
27491 if pkg-config --atleast-pkgconfig-version 0.7 ; then
27494 echo "*** pkg
-config too old
; version
0.7 or better required.
"
27502 min_gtk_version=2.0.0
27503 { echo "$as_me:$LINENO: checking
for GTK
+ - version
>= $min_gtk_version" >&5
27504 echo $ECHO_N "checking
for GTK
+ - version
>= $min_gtk_version...
$ECHO_C" >&6; }
27506 if test x$PKG_CONFIG != xno ; then
27507 ## don't try to run the test against uninstalled libtool libs
27508 if $PKG_CONFIG --uninstalled $pkg_config_args; then
27509 echo "Will use uninstalled version of GTK
+ found
in PKG_CONFIG_PATH
"
27513 if $PKG_CONFIG --atleast-version $min_gtk_version $pkg_config_args; then
27520 if test x"$no_gtk" = x ; then
27521 GTK_CFLAGS=`$PKG_CONFIG $pkg_config_args --cflags`
27522 GTK_LIBS=`$PKG_CONFIG $pkg_config_args --libs`
27523 gtk_config_major_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
27524 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
27525 gtk_config_minor_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
27526 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
27527 gtk_config_micro_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
27528 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
27529 if test "x
$enable_gtktest" = "xyes
" ; then
27530 ac_save_CFLAGS="$CFLAGS"
27531 ac_save_LIBS="$LIBS"
27532 CFLAGS="$CFLAGS $GTK_CFLAGS"
27533 LIBS="$GTK_LIBS $LIBS"
27535 if test "$cross_compiling" = yes; then
27536 echo $ac_n "cross compiling
; assumed OK...
$ac_c"
27538 cat >conftest.$ac_ext <<_ACEOF
27541 cat confdefs.h >>conftest.$ac_ext
27542 cat >>conftest.$ac_ext <<_ACEOF
27543 /* end confdefs.h. */
27545 #include <gtk/gtk.h>
27547 #include <stdlib.h>
27552 int major, minor, micro;
27555 system ("touch conf.gtktest
");
27557 /* HP/UX 9 (%@#!) writes to sscanf strings */
27558 tmp_version = g_strdup("$min_gtk_version");
27559 if (sscanf(tmp_version, "%d.
%d.
%d
", &major, &minor, µ) != 3) {
27560 printf("%s
, bad version string
\n", "$min_gtk_version");
27564 if ((gtk_major_version != $gtk_config_major_version) ||
27565 (gtk_minor_version != $gtk_config_minor_version) ||
27566 (gtk_micro_version != $gtk_config_micro_version))
27568 printf("\n*** 'pkg-config --modversion gtk+-2.0' returned
%d.
%d.
%d
, but GTK
+ (%d.
%d.
%d
)\n",
27569 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
27570 gtk_major_version, gtk_minor_version, gtk_micro_version);
27571 printf ("*** was found
! If pkg
-config was correct
, then it is best
\n");
27572 printf ("*** to remove the old version of GTK
+. You may also be able to fix the error
\n");
27573 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable
, or by editing
\n");
27574 printf("*** /etc
/ld.so.conf. Make sure you have run ldconfig
if that is
\n");
27575 printf("*** required on your system.
\n");
27576 printf("*** If pkg
-config was wrong
, set the environment variable PKG_CONFIG_PATH
\n");
27577 printf("*** to point to the correct configuration files
\n");
27579 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
27580 (gtk_minor_version != GTK_MINOR_VERSION) ||
27581 (gtk_micro_version != GTK_MICRO_VERSION))
27583 printf("*** GTK
+ header files
(version
%d.
%d.
%d
) do not match
\n",
27584 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
27585 printf("*** library
(version
%d.
%d.
%d
)\n",
27586 gtk_major_version, gtk_minor_version, gtk_micro_version);
27590 if ((gtk_major_version > major) ||
27591 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
27592 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
27598 printf("\n*** An old version of GTK
+ (%d.
%d.
%d
) was found.
\n",
27599 gtk_major_version, gtk_minor_version, gtk_micro_version);
27600 printf("*** You need a version of GTK
+ newer than
%d.
%d.
%d. The latest version of
\n",
27601 major, minor, micro);
27602 printf("*** GTK
+ is always available from
ftp://ftp.gtk.org.
\n");
27604 printf("*** If you have already installed a sufficiently new version
, this error
\n");
27605 printf("*** probably means that the wrong copy of the pkg
-config shell
script is
\n");
27606 printf("*** being found. The easiest way to fix this is to remove the old version
\n");
27607 printf("*** of GTK
+, but you can also
set the PKG_CONFIG environment to point to the
\n");
27608 printf("*** correct copy of pkg
-config.
(In this
case, you will have to
\n");
27609 printf("*** modify your LD_LIBRARY_PATH enviroment variable
, or edit
/etc
/ld.so.conf
\n");
27610 printf("*** so that the correct libraries are found
at run
-time))\n");
27617 rm -f conftest$ac_exeext
27618 if { (ac_try="$ac_link"
27619 case "(($ac_try" in
27620 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27621 *) ac_try_echo=$ac_try;;
27623 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
27624 (eval "$ac_link") 2>&5
27626 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
27627 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
27628 { (case "(($ac_try" in
27629 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27630 *) ac_try_echo=$ac_try;;
27632 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
27633 (eval "$ac_try") 2>&5
27635 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
27636 (exit $ac_status); }; }; then
27639 echo "$as_me: program exited with status
$ac_status" >&5
27640 echo "$as_me: failed program was
:" >&5
27641 sed 's/^/| /' conftest.$ac_ext >&5
27643 ( exit $ac_status )
27646 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
27650 CFLAGS="$ac_save_CFLAGS"
27651 LIBS="$ac_save_LIBS"
27654 if test "x
$no_gtk" = x ; then
27655 { echo "$as_me:$LINENO: result
: yes (version
$gtk_config_major_version.
$gtk_config_minor_version.
$gtk_config_micro_version)" >&5
27656 echo "${ECHO_T}yes (version
$gtk_config_major_version.
$gtk_config_minor_version.
$gtk_config_micro_version)" >&6; }
27659 { echo "$as_me:$LINENO: result
: no
" >&5
27660 echo "${ECHO_T}no
" >&6; }
27661 if test "$PKG_CONFIG" = "no
" ; then
27662 echo "*** A new enough version of pkg
-config was not found.
"
27663 echo "*** See http
://pkgconfig.sourceforge.net
"
27665 if test -f conf.gtktest ; then
27668 echo "*** Could not run GTK
+ test program
, checking why...
"
27669 ac_save_CFLAGS="$CFLAGS"
27670 ac_save_LIBS="$LIBS"
27671 CFLAGS="$CFLAGS $GTK_CFLAGS"
27672 LIBS="$LIBS $GTK_LIBS"
27673 cat >conftest.$ac_ext <<_ACEOF
27676 cat confdefs.h >>conftest.$ac_ext
27677 cat >>conftest.$ac_ext <<_ACEOF
27678 /* end confdefs.h. */
27680 #include <gtk/gtk.h>
27686 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
27691 rm -f conftest.$ac_objext conftest$ac_exeext
27692 if { (ac_try="$ac_link"
27693 case "(($ac_try" in
27694 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27695 *) ac_try_echo=$ac_try;;
27697 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
27698 (eval "$ac_link") 2>conftest.er1
27700 grep -v '^ *+' conftest.er1 >conftest.err
27702 cat conftest.err >&5
27703 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
27704 (exit $ac_status); } && {
27705 test -z "$ac_c_werror_flag" ||
27706 test ! -s conftest.err
27707 } && test -s conftest$ac_exeext &&
27708 $as_test_x conftest$ac_exeext; then
27709 echo "*** The
test program compiled
, but did not run. This usually means
"
27710 echo "*** that the run
-time linker is not finding GTK
+ or finding the wrong
"
27711 echo "*** version of GTK
+. If it is not finding GTK
+, you
'll need to set your"
27712 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
27713 echo "*** to the installed location Also, make sure you have run ldconfig if that"
27714 echo "*** is required on your system"
27716 echo "*** If you have an old version installed, it is best to remove it, although"
27717 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
27719 echo "$as_me: failed program was:" >&5
27720 sed 's
/^
/| /' conftest.$ac_ext >&5
27722 echo "*** The test program failed to compile or link. See the file config.log for the"
27723 echo "*** exact error that occured. This usually means GTK+ is incorrectly installed."
27726 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27727 conftest$ac_exeext conftest.$ac_ext
27728 CFLAGS="$ac_save_CFLAGS"
27729 LIBS="$ac_save_LIBS"
27743 if test "$wxUSE_SHARED" != "yes"; then
27744 GTK_LIBS="$GTK_LIBS -lX11"
27749 if test -z "$wx_cv_lib_gtk"; then
27750 if test "x$wxGTK_VERSION" = "x1" -o "x$wxGTK_VERSION" = "xany" ; then
27752 # Check whether --with-gtk-prefix was given.
27753 if test "${with_gtk_prefix+set}" = set; then
27754 withval=$with_gtk_prefix; gtk_config_prefix="$withval"
27756 gtk_config_prefix=""
27760 # Check whether --with-gtk-exec-prefix was given.
27761 if test "${with_gtk_exec_prefix+set}" = set; then
27762 withval=$with_gtk_exec_prefix; gtk_config_exec_prefix="$withval"
27764 gtk_config_exec_prefix=""
27767 # Check whether --enable-gtktest was given.
27768 if test "${enable_gtktest+set}" = set; then
27769 enableval=$enable_gtktest;
27775 for module in . $GTK_MODULES
27779 gtk_config_args="$gtk_config_args gthread"
27784 if test x$gtk_config_exec_prefix != x ; then
27785 gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
27786 if test x${GTK_CONFIG+set} != xset ; then
27787 GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
27790 if test x$gtk_config_prefix != x ; then
27791 gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
27792 if test x${GTK_CONFIG+set} != xset ; then
27793 GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
27797 # Extract the first word of "gtk-config", so it can be a program name with args.
27798 set dummy gtk-config; ac_word=$2
27799 { echo "$as_me:$LINENO: checking for $ac_word" >&5
27800 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
27801 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
27802 echo $ECHO_N "(cached) $ECHO_C" >&6
27804 case $GTK_CONFIG in
27806 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path.
27809 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
27810 for as_dir in $PATH
27813 test -z "$as_dir" && as_dir=.
27814 for ac_exec_ext in '' $ac_executable_extensions; do
27815 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
27816 ac_cv_path_GTK_CONFIG="$as_dir/$ac_word$ac_exec_ext"
27817 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
27824 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no"
27828 GTK_CONFIG=$ac_cv_path_GTK_CONFIG
27829 if test -n "$GTK_CONFIG"; then
27830 { echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
27831 echo "${ECHO_T}$GTK_CONFIG" >&6; }
27833 { echo "$as_me:$LINENO: result: no" >&5
27834 echo "${ECHO_T}no" >&6; }
27838 min_gtk_version=1.2.7
27839 { echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
27840 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6; }
27842 if test "$GTK_CONFIG" = "no" ; then
27845 GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags`
27846 GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs`
27847 gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \
27848 sed 's
/\
([0-9]*\
).\
([0-9]*\
).\
([0-9]*\
)/\
1/'`
27849 gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \
27850 sed 's
/\
([0-9]*\
).\
([0-9]*\
).\
([0-9]*\
)/\
2/'`
27851 gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \
27852 sed 's
/\
([0-9]*\
).\
([0-9]*\
).\
([0-9]*\
)/\
3/'`
27853 if test "x$enable_gtktest" = "xyes" ; then
27854 ac_save_CFLAGS="$CFLAGS"
27855 ac_save_LIBS="$LIBS"
27856 CFLAGS="$CFLAGS $GTK_CFLAGS"
27857 LIBS="$GTK_LIBS $LIBS"
27859 if test "$cross_compiling" = yes; then
27860 echo $ac_n "cross compiling; assumed OK... $ac_c"
27862 cat >conftest.$ac_ext <<_ACEOF
27865 cat confdefs.h >>conftest.$ac_ext
27866 cat >>conftest.$ac_ext <<_ACEOF
27867 /* end confdefs.h. */
27869 #include <gtk/gtk.h>
27871 #include <stdlib.h>
27876 int major, minor, micro;
27879 system ("touch conf.gtktest");
27881 /* HP/UX 9 (%@#!) writes to sscanf strings */
27882 tmp_version = g_strdup("$min_gtk_version");
27883 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
27884 printf("%s, bad version string\n", "$min_gtk_version");
27888 if ((gtk_major_version != $gtk_config_major_version) ||
27889 (gtk_minor_version != $gtk_config_minor_version) ||
27890 (gtk_micro_version != $gtk_config_micro_version))
27892 printf("\n*** 'gtk
-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
27893 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
27894 gtk_major_version, gtk_minor_version, gtk_micro_version);
27895 printf ("*** was found! If gtk-config was correct, then it is best\n");
27896 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
27897 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
27898 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
27899 printf("*** required on your system.\n");
27900 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
27901 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
27902 printf("*** before re-running configure\n");
27904 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
27905 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
27906 (gtk_minor_version != GTK_MINOR_VERSION) ||
27907 (gtk_micro_version != GTK_MICRO_VERSION))
27909 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
27910 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
27911 printf("*** library (version %d.%d.%d)\n",
27912 gtk_major_version, gtk_minor_version, gtk_micro_version);
27914 #endif /* defined (GTK_MAJOR_VERSION) ... */
27917 if ((gtk_major_version > major) ||
27918 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
27919 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
27925 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
27926 gtk_major_version, gtk_minor_version, gtk_micro_version);
27927 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
27928 major, minor, micro);
27929 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
27931 printf("*** If you have already installed a sufficiently new version, this error\n");
27932 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
27933 printf("*** being found. The easiest way to fix this is to remove the old version\n");
27934 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
27935 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
27936 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
27937 printf("*** so that the correct libraries are found at run-time))\n");
27944 rm -f conftest$ac_exeext
27945 if { (ac_try="$ac_link"
27946 case "(($ac_try" in
27947 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27948 *) ac_try_echo=$ac_try;;
27950 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27951 (eval "$ac_link") 2>&5
27953 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27954 (exit $ac_status); } && { ac_try='.
/conftest
$ac_exeext'
27955 { (case "(($ac_try" in
27956 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27957 *) ac_try_echo=$ac_try;;
27959 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27960 (eval "$ac_try") 2>&5
27962 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27963 (exit $ac_status); }; }; then
27966 echo "$as_me: program exited with status $ac_status" >&5
27967 echo "$as_me: failed program was:" >&5
27968 sed 's
/^
/| /' conftest.$ac_ext >&5
27970 ( exit $ac_status )
27973 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
27977 CFLAGS="$ac_save_CFLAGS"
27978 LIBS="$ac_save_LIBS"
27981 if test "x$no_gtk" = x ; then
27982 { echo "$as_me:$LINENO: result: yes" >&5
27983 echo "${ECHO_T}yes" >&6; }
27984 wx_cv_lib_gtk=1.2.7
27986 { echo "$as_me:$LINENO: result: no" >&5
27987 echo "${ECHO_T}no" >&6; }
27988 if test "$GTK_CONFIG" = "no" ; then
27989 echo "*** The gtk-config script installed by GTK could not be found"
27990 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
27991 echo "*** your path, or set the GTK_CONFIG environment variable to the"
27992 echo "*** full path to gtk-config."
27994 if test -f conf.gtktest ; then
27997 echo "*** Could not run GTK test program, checking why..."
27998 CFLAGS="$CFLAGS $GTK_CFLAGS"
27999 LIBS="$LIBS $GTK_LIBS"
28000 cat >conftest.$ac_ext <<_ACEOF
28003 cat confdefs.h >>conftest.$ac_ext
28004 cat >>conftest.$ac_ext <<_ACEOF
28005 /* end confdefs.h. */
28007 #include <gtk/gtk.h>
28013 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
28018 rm -f conftest.$ac_objext conftest$ac_exeext
28019 if { (ac_try="$ac_link"
28020 case "(($ac_try" in
28021 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28022 *) ac_try_echo=$ac_try;;
28024 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28025 (eval "$ac_link") 2>conftest.er1
28027 grep -v '^
*+' conftest.er1 >conftest.err
28029 cat conftest.err >&5
28030 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28031 (exit $ac_status); } && {
28032 test -z "$ac_c_werror_flag" ||
28033 test ! -s conftest.err
28034 } && test -s conftest$ac_exeext &&
28035 $as_test_x conftest$ac_exeext; then
28036 echo "*** The test program compiled, but did not run. This usually means"
28037 echo "*** that the run-time linker is not finding GTK or finding the wrong"
28038 echo "*** version of GTK. If it is not finding GTK, you'll need to
set your
"
28039 echo "*** LD_LIBRARY_PATH environment variable
, or edit
/etc
/ld.so.conf to point
"
28040 echo "*** to the installed location Also
, make sure you have run ldconfig
if that
"
28041 echo "*** is required on your system
"
28043 echo "*** If you have an old version installed
, it is best to remove it
, although
"
28044 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH
"
28046 echo "*** If you have a RedHat
5.0 system
, you should remove the GTK package that
"
28047 echo "*** came with the system with the
command"
28049 echo "*** rpm
--erase --nodeps gtk gtk
-devel"
28051 echo "$as_me: failed program was
:" >&5
28052 sed 's/^/| /' conftest.$ac_ext >&5
28054 echo "*** The
test program failed to compile or link. See the
file config.log
for the
"
28055 echo "*** exact error that occured. This usually means GTK was incorrectly installed
"
28056 echo "*** or that you have moved GTK since it was installed. In the latter
case, you
"
28057 echo "*** may want to edit the gtk
-config script: $GTK_CONFIG"
28060 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28061 conftest$ac_exeext conftest.$ac_ext
28062 CFLAGS="$ac_save_CFLAGS"
28063 LIBS="$ac_save_LIBS"
28075 if test -z "$wx_cv_lib_gtk"; then
28077 # Check whether --with-gtk-prefix was given.
28078 if test "${with_gtk_prefix+set}" = set; then
28079 withval=$with_gtk_prefix; gtk_config_prefix="$withval"
28081 gtk_config_prefix=""
28085 # Check whether --with-gtk-exec-prefix was given.
28086 if test "${with_gtk_exec_prefix+set}" = set; then
28087 withval=$with_gtk_exec_prefix; gtk_config_exec_prefix="$withval"
28089 gtk_config_exec_prefix=""
28092 # Check whether --enable-gtktest was given.
28093 if test "${enable_gtktest+set}" = set; then
28094 enableval=$enable_gtktest;
28100 for module in . $GTK_MODULES
28104 gtk_config_args="$gtk_config_args gthread
"
28109 if test x$gtk_config_exec_prefix != x ; then
28110 gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
28111 if test x${GTK_CONFIG+set} != xset ; then
28112 GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
28115 if test x$gtk_config_prefix != x ; then
28116 gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
28117 if test x${GTK_CONFIG+set} != xset ; then
28118 GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
28122 # Extract the first word of "gtk
-config", so it can be a program name with args.
28123 set dummy gtk-config; ac_word=$2
28124 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
28125 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
28126 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
28127 echo $ECHO_N "(cached
) $ECHO_C" >&6
28129 case $GTK_CONFIG in
28131 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path.
28134 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
28135 for as_dir in $PATH
28138 test -z "$as_dir" && as_dir=.
28139 for ac_exec_ext in '' $ac_executable_extensions; do
28140 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
28141 ac_cv_path_GTK_CONFIG="$as_dir/$ac_word$ac_exec_ext"
28142 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
28149 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no
"
28153 GTK_CONFIG=$ac_cv_path_GTK_CONFIG
28154 if test -n "$GTK_CONFIG"; then
28155 { echo "$as_me:$LINENO: result
: $GTK_CONFIG" >&5
28156 echo "${ECHO_T}$GTK_CONFIG" >&6; }
28158 { echo "$as_me:$LINENO: result
: no
" >&5
28159 echo "${ECHO_T}no
" >&6; }
28163 min_gtk_version=1.2.3
28164 { echo "$as_me:$LINENO: checking
for GTK
- version
>= $min_gtk_version" >&5
28165 echo $ECHO_N "checking
for GTK
- version
>= $min_gtk_version...
$ECHO_C" >&6; }
28167 if test "$GTK_CONFIG" = "no
" ; then
28170 GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags`
28171 GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs`
28172 gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \
28173 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
28174 gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \
28175 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
28176 gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \
28177 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
28178 if test "x
$enable_gtktest" = "xyes
" ; then
28179 ac_save_CFLAGS="$CFLAGS"
28180 ac_save_LIBS="$LIBS"
28181 CFLAGS="$CFLAGS $GTK_CFLAGS"
28182 LIBS="$GTK_LIBS $LIBS"
28184 if test "$cross_compiling" = yes; then
28185 echo $ac_n "cross compiling
; assumed OK...
$ac_c"
28187 cat >conftest.$ac_ext <<_ACEOF
28190 cat confdefs.h >>conftest.$ac_ext
28191 cat >>conftest.$ac_ext <<_ACEOF
28192 /* end confdefs.h. */
28194 #include <gtk/gtk.h>
28196 #include <stdlib.h>
28201 int major, minor, micro;
28204 system ("touch conf.gtktest
");
28206 /* HP/UX 9 (%@#!) writes to sscanf strings */
28207 tmp_version = g_strdup("$min_gtk_version");
28208 if (sscanf(tmp_version, "%d.
%d.
%d
", &major, &minor, µ) != 3) {
28209 printf("%s
, bad version string
\n", "$min_gtk_version");
28213 if ((gtk_major_version != $gtk_config_major_version) ||
28214 (gtk_minor_version != $gtk_config_minor_version) ||
28215 (gtk_micro_version != $gtk_config_micro_version))
28217 printf("\n*** 'gtk-config --version' returned
%d.
%d.
%d
, but GTK
+ (%d.
%d.
%d
)\n",
28218 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
28219 gtk_major_version, gtk_minor_version, gtk_micro_version);
28220 printf ("*** was found
! If gtk
-config was correct
, then it is best
\n");
28221 printf ("*** to remove the old version of GTK
+. You may also be able to fix the error
\n");
28222 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable
, or by editing
\n");
28223 printf("*** /etc
/ld.so.conf. Make sure you have run ldconfig
if that is
\n");
28224 printf("*** required on your system.
\n");
28225 printf("*** If gtk
-config was wrong
, set the environment variable GTK_CONFIG
\n");
28226 printf("*** to point to the correct copy of gtk
-config, and remove the
file config.cache
\n");
28227 printf("*** before re
-running configure
\n");
28229 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
28230 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
28231 (gtk_minor_version != GTK_MINOR_VERSION) ||
28232 (gtk_micro_version != GTK_MICRO_VERSION))
28234 printf("*** GTK
+ header files
(version
%d.
%d.
%d
) do not match
\n",
28235 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
28236 printf("*** library
(version
%d.
%d.
%d
)\n",
28237 gtk_major_version, gtk_minor_version, gtk_micro_version);
28239 #endif /* defined (GTK_MAJOR_VERSION) ... */
28242 if ((gtk_major_version > major) ||
28243 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
28244 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
28250 printf("\n*** An old version of GTK
+ (%d.
%d.
%d
) was found.
\n",
28251 gtk_major_version, gtk_minor_version, gtk_micro_version);
28252 printf("*** You need a version of GTK
+ newer than
%d.
%d.
%d. The latest version of
\n",
28253 major, minor, micro);
28254 printf("*** GTK
+ is always available from
ftp://ftp.gtk.org.
\n");
28256 printf("*** If you have already installed a sufficiently new version
, this error
\n");
28257 printf("*** probably means that the wrong copy of the gtk
-config shell
script is
\n");
28258 printf("*** being found. The easiest way to fix this is to remove the old version
\n");
28259 printf("*** of GTK
+, but you can also
set the GTK_CONFIG environment to point to the
\n");
28260 printf("*** correct copy of gtk
-config.
(In this
case, you will have to
\n");
28261 printf("*** modify your LD_LIBRARY_PATH enviroment variable
, or edit
/etc
/ld.so.conf
\n");
28262 printf("*** so that the correct libraries are found
at run
-time))\n");
28269 rm -f conftest$ac_exeext
28270 if { (ac_try="$ac_link"
28271 case "(($ac_try" in
28272 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28273 *) ac_try_echo=$ac_try;;
28275 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
28276 (eval "$ac_link") 2>&5
28278 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
28279 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
28280 { (case "(($ac_try" in
28281 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28282 *) ac_try_echo=$ac_try;;
28284 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
28285 (eval "$ac_try") 2>&5
28287 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
28288 (exit $ac_status); }; }; then
28291 echo "$as_me: program exited with status
$ac_status" >&5
28292 echo "$as_me: failed program was
:" >&5
28293 sed 's/^/| /' conftest.$ac_ext >&5
28295 ( exit $ac_status )
28298 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
28302 CFLAGS="$ac_save_CFLAGS"
28303 LIBS="$ac_save_LIBS"
28306 if test "x
$no_gtk" = x ; then
28307 { echo "$as_me:$LINENO: result
: yes" >&5
28308 echo "${ECHO_T}yes" >&6; }
28309 wx_cv_lib_gtk=1.2.3
28311 { echo "$as_me:$LINENO: result
: no
" >&5
28312 echo "${ECHO_T}no
" >&6; }
28313 if test "$GTK_CONFIG" = "no
" ; then
28314 echo "*** The gtk
-config script installed by GTK could not be found
"
28315 echo "*** If GTK was installed
in PREFIX
, make sure PREFIX
/bin is
in"
28316 echo "*** your path
, or
set the GTK_CONFIG environment variable to the
"
28317 echo "*** full path to gtk
-config.
"
28319 if test -f conf.gtktest ; then
28322 echo "*** Could not run GTK
test program
, checking why...
"
28323 CFLAGS="$CFLAGS $GTK_CFLAGS"
28324 LIBS="$LIBS $GTK_LIBS"
28325 cat >conftest.$ac_ext <<_ACEOF
28328 cat confdefs.h >>conftest.$ac_ext
28329 cat >>conftest.$ac_ext <<_ACEOF
28330 /* end confdefs.h. */
28332 #include <gtk/gtk.h>
28338 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
28343 rm -f conftest.$ac_objext conftest$ac_exeext
28344 if { (ac_try="$ac_link"
28345 case "(($ac_try" in
28346 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28347 *) ac_try_echo=$ac_try;;
28349 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
28350 (eval "$ac_link") 2>conftest.er1
28352 grep -v '^ *+' conftest.er1 >conftest.err
28354 cat conftest.err >&5
28355 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
28356 (exit $ac_status); } && {
28357 test -z "$ac_c_werror_flag" ||
28358 test ! -s conftest.err
28359 } && test -s conftest$ac_exeext &&
28360 $as_test_x conftest$ac_exeext; then
28361 echo "*** The
test program compiled
, but did not run. This usually means
"
28362 echo "*** that the run
-time linker is not finding GTK or finding the wrong
"
28363 echo "*** version of GTK. If it is not finding GTK
, you
'll need to set your"
28364 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
28365 echo "*** to the installed location Also, make sure you have run ldconfig if that"
28366 echo "*** is required on your system"
28368 echo "*** If you have an old version installed, it is best to remove it, although"
28369 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
28371 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
28372 echo "*** came with the system with the command"
28374 echo "*** rpm --erase --nodeps gtk gtk-devel"
28376 echo "$as_me: failed program was:" >&5
28377 sed 's
/^
/| /' conftest.$ac_ext >&5
28379 echo "*** The test program failed to compile or link. See the file config.log for the"
28380 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
28381 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
28382 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
28385 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28386 conftest$ac_exeext conftest.$ac_ext
28387 CFLAGS="$ac_save_CFLAGS"
28388 LIBS="$ac_save_LIBS"
28403 if test -z "$wx_cv_lib_gtk"; then
28406 wx_cv_cflags_gtk=$GTK_CFLAGS
28407 wx_cv_libs_gtk=`echo $GTK_LIBS | sed -e 's
/ -l[^
]*cairo
[^
]*//g
'`
28414 if test "$gtk_version_cached" = 1; then
28415 { echo "$as_me:$LINENO: result: $wx_cv_lib_gtk" >&5
28416 echo "${ECHO_T}$wx_cv_lib_gtk" >&6; }
28419 case "$wx_cv_lib_gtk" in
28428 *) { { echo "$as_me:$LINENO: error:
28429 The development files for GTK+ were not found. For GTK+ 2, please
28430 ensure that pkg-config is in the path and that gtk+-2.0.pc is
28431 installed. For GTK+ 1.2 please check that gtk-config is in the path,
28432 and that the version is 1.2.3 or above. Also check that the
28433 libraries returned by 'pkg
-config gtk
+-2.0
--libs' or 'gtk
-config
28434 --libs' are in the LD_LIBRARY_PATH or equivalent.
28436 echo "$as_me: error:
28437 The development files for GTK+ were not found. For GTK+ 2, please
28438 ensure that pkg-config is in the path and that gtk+-2.0.pc is
28439 installed. For GTK+ 1.2 please check that gtk-config is in the path,
28440 and that the version is 1.2.3 or above. Also check that the
28441 libraries returned by 'pkg
-config gtk
+-2.0
--libs' or 'gtk
-config
28442 --libs' are in the LD_LIBRARY_PATH or equivalent.
28444 { (exit 1); exit 1; }; }
28448 if test "$WXGTK20" = 1; then
28449 save_CFLAGS="$CFLAGS"
28451 CFLAGS="$wx_cv_cflags_gtk $CFLAGS"
28452 LIBS="$LIBS $wx_cv_libs_gtk"
28454 { echo "$as_me:$LINENO: checking whether gtk_icon_size_lookup is declared" >&5
28455 echo $ECHO_N "checking whether gtk_icon_size_lookup is declared... $ECHO_C" >&6; }
28456 if test "${ac_cv_have_decl_gtk_icon_size_lookup+set}" = set; then
28457 echo $ECHO_N "(cached) $ECHO_C" >&6
28459 cat >conftest.$ac_ext <<_ACEOF
28462 cat confdefs.h >>conftest.$ac_ext
28463 cat >>conftest.$ac_ext <<_ACEOF
28464 /* end confdefs.h. */
28465 #include <gtk/gtk.h>
28470 #ifndef gtk_icon_size_lookup
28471 (void) gtk_icon_size_lookup;
28478 rm -f conftest.$ac_objext
28479 if { (ac_try="$ac_compile"
28480 case "(($ac_try" in
28481 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28482 *) ac_try_echo=$ac_try;;
28484 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28485 (eval "$ac_compile") 2>conftest.er1
28487 grep -v '^
*+' conftest.er1 >conftest.err
28489 cat conftest.err >&5
28490 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28491 (exit $ac_status); } && {
28492 test -z "$ac_c_werror_flag" ||
28493 test ! -s conftest.err
28494 } && test -s conftest.$ac_objext; then
28495 ac_cv_have_decl_gtk_icon_size_lookup=yes
28497 echo "$as_me: failed program was:" >&5
28498 sed 's
/^
/| /' conftest.$ac_ext >&5
28500 ac_cv_have_decl_gtk_icon_size_lookup=no
28503 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28505 { echo "$as_me:$LINENO: result: $ac_cv_have_decl_gtk_icon_size_lookup" >&5
28506 echo "${ECHO_T}$ac_cv_have_decl_gtk_icon_size_lookup" >&6; }
28507 if test $ac_cv_have_decl_gtk_icon_size_lookup = yes; then
28509 cat >>confdefs.h <<_ACEOF
28510 #define HAVE_DECL_GTK_ICON_SIZE_LOOKUP 1
28515 cat >>confdefs.h <<_ACEOF
28516 #define HAVE_DECL_GTK_ICON_SIZE_LOOKUP 0
28519 cat >>confdefs.h <<\_ACEOF
28520 #define NEED_GTK_ICON_SIZE_LOOKUP 1
28528 { echo "$as_me:$LINENO: checking if GTK+ is version >= 2.10" >&5
28529 echo $ECHO_N "checking if GTK+ is version >= 2.10... $ECHO_C" >&6; }
28530 cat >conftest.$ac_ext <<_ACEOF
28533 cat confdefs.h >>conftest.$ac_ext
28534 cat >>conftest.$ac_ext <<_ACEOF
28535 /* end confdefs.h. */
28537 #include <gtk/gtk.h>
28543 #if !GTK_CHECK_VERSION(2,10,0)
28551 rm -f conftest.$ac_objext
28552 if { (ac_try="$ac_compile"
28553 case "(($ac_try" in
28554 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28555 *) ac_try_echo=$ac_try;;
28557 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28558 (eval "$ac_compile") 2>conftest.er1
28560 grep -v '^
*+' conftest.er1 >conftest.err
28562 cat conftest.err >&5
28563 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28564 (exit $ac_status); } && {
28565 test -z "$ac_c_werror_flag" ||
28566 test ! -s conftest.err
28567 } && test -s conftest.$ac_objext; then
28569 cat >>confdefs.h <<\_ACEOF
28570 #define __WXGTK210__ 1
28573 cat >>confdefs.h <<\_ACEOF
28574 #define __WXGTK26__ 1
28577 cat >>confdefs.h <<\_ACEOF
28578 #define __WXGTK24__ 1
28581 { echo "$as_me:$LINENO: result: yes" >&5
28582 echo "${ECHO_T}yes" >&6; }
28586 echo "$as_me: failed program was:" >&5
28587 sed 's
/^
/| /' conftest.$ac_ext >&5
28590 { echo "$as_me:$LINENO: result: no" >&5
28591 echo "${ECHO_T}no" >&6; }
28596 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28598 if test "$ac_wxgtk210" = 0; then
28599 { echo "$as_me:$LINENO: checking if GTK+ is version >= 2.6" >&5
28600 echo $ECHO_N "checking if GTK+ is version >= 2.6... $ECHO_C" >&6; }
28601 cat >conftest.$ac_ext <<_ACEOF
28604 cat confdefs.h >>conftest.$ac_ext
28605 cat >>conftest.$ac_ext <<_ACEOF
28606 /* end confdefs.h. */
28608 #include <gtk/gtk.h>
28614 #if !GTK_CHECK_VERSION(2,6,0)
28622 rm -f conftest.$ac_objext
28623 if { (ac_try="$ac_compile"
28624 case "(($ac_try" in
28625 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28626 *) ac_try_echo=$ac_try;;
28628 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28629 (eval "$ac_compile") 2>conftest.er1
28631 grep -v '^
*+' conftest.er1 >conftest.err
28633 cat conftest.err >&5
28634 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28635 (exit $ac_status); } && {
28636 test -z "$ac_c_werror_flag" ||
28637 test ! -s conftest.err
28638 } && test -s conftest.$ac_objext; then
28640 cat >>confdefs.h <<\_ACEOF
28641 #define __WXGTK26__ 1
28644 cat >>confdefs.h <<\_ACEOF
28645 #define __WXGTK24__ 1
28648 { echo "$as_me:$LINENO: result: yes" >&5
28649 echo "${ECHO_T}yes" >&6; }
28653 echo "$as_me: failed program was:" >&5
28654 sed 's
/^
/| /' conftest.$ac_ext >&5
28657 { echo "$as_me:$LINENO: result: no" >&5
28658 echo "${ECHO_T}no" >&6; }
28663 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28666 if test "$ac_wxgtk26" = 0; then
28667 { echo "$as_me:$LINENO: checking if GTK+ is version >= 2.4" >&5
28668 echo $ECHO_N "checking if GTK+ is version >= 2.4... $ECHO_C" >&6; }
28669 cat >conftest.$ac_ext <<_ACEOF
28672 cat confdefs.h >>conftest.$ac_ext
28673 cat >>conftest.$ac_ext <<_ACEOF
28674 /* end confdefs.h. */
28676 #include <gtk/gtk.h>
28682 #if !GTK_CHECK_VERSION(2,4,0)
28690 rm -f conftest.$ac_objext
28691 if { (ac_try="$ac_compile"
28692 case "(($ac_try" in
28693 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28694 *) ac_try_echo=$ac_try;;
28696 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28697 (eval "$ac_compile") 2>conftest.er1
28699 grep -v '^
*+' conftest.er1 >conftest.err
28701 cat conftest.err >&5
28702 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28703 (exit $ac_status); } && {
28704 test -z "$ac_c_werror_flag" ||
28705 test ! -s conftest.err
28706 } && test -s conftest.$ac_objext; then
28708 cat >>confdefs.h <<\_ACEOF
28709 #define __WXGTK24__ 1
28712 { echo "$as_me:$LINENO: result: yes" >&5
28713 echo "${ECHO_T}yes" >&6; }
28716 echo "$as_me: failed program was:" >&5
28717 sed 's
/^
/| /' conftest.$ac_ext >&5
28720 { echo "$as_me:$LINENO: result: no" >&5
28721 echo "${ECHO_T}no" >&6; }
28725 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28728 CFLAGS="$save_CFLAGS"
28731 if test "$wxUSE_UNICODE" = "yes"; then
28732 { echo "$as_me:$LINENO: WARNING: Unicode configuration not supported with GTK+ 1.x" >&5
28733 echo "$as_me: WARNING: Unicode configuration not supported with GTK+ 1.x" >&2;}
28737 { echo "$as_me:$LINENO: checking for gdk_im_open in -lgdk" >&5
28738 echo $ECHO_N "checking for gdk_im_open in -lgdk... $ECHO_C" >&6; }
28739 if test "${ac_cv_lib_gdk_gdk_im_open+set}" = set; then
28740 echo $ECHO_N "(cached) $ECHO_C" >&6
28742 ac_check_lib_save_LIBS=$LIBS
28744 cat >conftest.$ac_ext <<_ACEOF
28747 cat confdefs.h >>conftest.$ac_ext
28748 cat >>conftest.$ac_ext <<_ACEOF
28749 /* end confdefs.h. */
28751 /* Override any GCC internal prototype to avoid an error.
28752 Use char because int might match the return type of a GCC
28753 builtin and then its argument prototype would still apply. */
28757 char gdk_im_open ();
28761 return gdk_im_open ();
28766 rm -f conftest.$ac_objext conftest$ac_exeext
28767 if { (ac_try="$ac_link"
28768 case "(($ac_try" in
28769 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28770 *) ac_try_echo=$ac_try;;
28772 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28773 (eval "$ac_link") 2>conftest.er1
28775 grep -v '^
*+' conftest.er1 >conftest.err
28777 cat conftest.err >&5
28778 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28779 (exit $ac_status); } && {
28780 test -z "$ac_c_werror_flag" ||
28781 test ! -s conftest.err
28782 } && test -s conftest$ac_exeext &&
28783 $as_test_x conftest$ac_exeext; then
28784 ac_cv_lib_gdk_gdk_im_open=yes
28786 echo "$as_me: failed program was:" >&5
28787 sed 's
/^
/| /' conftest.$ac_ext >&5
28789 ac_cv_lib_gdk_gdk_im_open=no
28792 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28793 conftest$ac_exeext conftest.$ac_ext
28794 LIBS=$ac_check_lib_save_LIBS
28796 { echo "$as_me:$LINENO: result: $ac_cv_lib_gdk_gdk_im_open" >&5
28797 echo "${ECHO_T}$ac_cv_lib_gdk_gdk_im_open" >&6; }
28798 if test $ac_cv_lib_gdk_gdk_im_open = yes; then
28799 cat >>confdefs.h <<\_ACEOF
28806 if test "$USE_DARWIN" != 1; then
28808 for ac_func in poll
28810 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28811 { echo "$as_me:$LINENO: checking for $ac_func" >&5
28812 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
28813 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
28814 echo $ECHO_N "(cached) $ECHO_C" >&6
28816 cat >conftest.$ac_ext <<_ACEOF
28819 cat confdefs.h >>conftest.$ac_ext
28820 cat >>conftest.$ac_ext <<_ACEOF
28821 /* end confdefs.h. */
28822 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
28823 For example, HP-UX 11i <limits.h> declares gettimeofday. */
28824 #define $ac_func innocuous_$ac_func
28826 /* System header to define __stub macros and hopefully few prototypes,
28827 which can conflict with char $ac_func (); below.
28828 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28829 <limits.h> exists even on freestanding compilers. */
28832 # include <limits.h>
28834 # include <assert.h>
28839 /* Override any GCC internal prototype to avoid an error.
28840 Use char because int might match the return type of a GCC
28841 builtin and then its argument prototype would still apply. */
28846 /* The GNU C library defines this for functions which it implements
28847 to always fail with ENOSYS. Some functions are actually named
28848 something starting with __ and the normal name is an alias. */
28849 #if defined __stub_$ac_func || defined __stub___$ac_func
28856 return $ac_func ();
28861 rm -f conftest.$ac_objext conftest$ac_exeext
28862 if { (ac_try="$ac_link"
28863 case "(($ac_try" in
28864 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28865 *) ac_try_echo=$ac_try;;
28867 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28868 (eval "$ac_link") 2>conftest.er1
28870 grep -v '^
*+' conftest.er1 >conftest.err
28872 cat conftest.err >&5
28873 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28874 (exit $ac_status); } && {
28875 test -z "$ac_c_werror_flag" ||
28876 test ! -s conftest.err
28877 } && test -s conftest$ac_exeext &&
28878 $as_test_x conftest$ac_exeext; then
28879 eval "$as_ac_var=yes"
28881 echo "$as_me: failed program was:" >&5
28882 sed 's
/^
/| /' conftest.$ac_ext >&5
28884 eval "$as_ac_var=no"
28887 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28888 conftest$ac_exeext conftest.$ac_ext
28890 ac_res=`eval echo '${'$as_ac_var'}'`
28891 { echo "$as_me:$LINENO: result: $ac_res" >&5
28892 echo "${ECHO_T}$ac_res" >&6; }
28893 if test `eval echo '${'$as_ac_var'}'` = yes; then
28894 cat >>confdefs.h <<_ACEOF
28895 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28904 TOOLKIT_INCLUDE="$wx_cv_cflags_gtk"
28905 GUI_TK_LIBRARY="$wx_cv_libs_gtk $GUI_TK_LIBRARY"
28907 AFMINSTALL=afminstall
28911 if test "$wxUSE_GPE" = "yes"; then
28912 { echo "$as_me:$LINENO: checking for gpewidget library" >&5
28913 echo $ECHO_N "checking for gpewidget library... $ECHO_C" >&6; }
28916 for ac_dir in $SEARCH_LIB;
28918 for ac_extension in a so sl dylib dll.a; do
28919 if test -f "$ac_dir/libgpewidget.$ac_extension"; then
28920 ac_find_libraries=$ac_dir
28926 if test "$ac_find_libraries" != "" ; then
28928 if test "$ac_find_libraries" = "default location"; then
28931 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
28933 if test $result = 0; then
28936 ac_path_to_link=" -L$ac_find_libraries"
28940 GUI_TK_LIBRARY="-L${prefix}/lib -lgpewidget $GUI_TK_LIBRARY"
28942 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
28943 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
28945 { echo "$as_me:$LINENO: result: not found" >&5
28946 echo "${ECHO_T}not found" >&6; }
28952 if test "$wxUSE_MGL" = 1; then
28953 { echo "$as_me:$LINENO: checking for SciTech MGL library" >&5
28954 echo $ECHO_N "checking for SciTech MGL library... $ECHO_C" >&6; }
28955 if test "x$MGL_ROOT" = x ; then
28956 { echo "$as_me:$LINENO: result: not found" >&5
28957 echo "${ECHO_T}not found" >&6; }
28958 { { echo "$as_me:$LINENO: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&5
28959 echo "$as_me: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&2;}
28960 { (exit 1); exit 1; }; }
28962 { echo "$as_me:$LINENO: result: $MGL_ROOT" >&5
28963 echo "${ECHO_T}$MGL_ROOT" >&6; }
28966 { echo "$as_me:$LINENO: checking for libmgl location" >&5
28967 echo $ECHO_N "checking for libmgl location... $ECHO_C" >&6; }
28970 if test "x$wxUSE_SHARED" = xyes ; then
28971 mgl_os_candidates="linux/gcc/x86/so linux/gcc/x86/a linux/gcc/glibc.so linux/gcc/glibc"
28973 mgl_os_candidates="linux/gcc/x86/a linux/gcc/x86/so linux/gcc/glibc linux/gcc/glibc.so"
28977 mgl_os_candidates="dos32/dj2"
28980 { { echo "$as_me:$LINENO: error: This system type ${host} is not yet supported by wxMGL." >&5
28981 echo "$as_me: error: This system type ${host} is not yet supported by wxMGL." >&2;}
28982 { (exit 1); exit 1; }; }
28988 for mgl_os_i in $mgl_os_candidates ; do
28989 if test "x$mgl_os" = x ; then
28990 if test "$wxUSE_DEBUG_FLAG" = yes ; then
28991 if test -f $MGL_ROOT/lib/debug/$mgl_os_i/libmgl.a -o \
28992 -f $MGL_ROOT/lib/debug/$mgl_os_i/libmgl.so; then
28997 if test "x$mgl_lib_type" = x ; then
28998 if test -f $MGL_ROOT/lib/release/$mgl_os_i/libmgl.a -o \
28999 -f $MGL_ROOT/lib/release/$mgl_os_i/libmgl.so; then
29000 mgl_lib_type=release
29007 if test "x$mgl_os" = x ; then
29008 { echo "$as_me:$LINENO: result: not found" >&5
29009 echo "${ECHO_T}not found" >&6; }
29010 { { echo "$as_me:$LINENO: error: Cannot find MGL libraries, make sure they are compiled." >&5
29011 echo "$as_me: error: Cannot find MGL libraries, make sure they are compiled." >&2;}
29012 { (exit 1); exit 1; }; }
29014 { echo "$as_me:$LINENO: result: \"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&5
29015 echo "${ECHO_T}\"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&6; }
29017 wxUSE_UNIVERSAL="yes"
29019 TOOLKIT_INCLUDE="-I$MGL_ROOT/include"
29020 GUI_TK_LIBRARY="-L$MGL_ROOT/lib/$mgl_lib_type/$mgl_os -lmgl -lmglcpp -lpm"
29022 AFMINSTALL=afminstall
29027 if test "$wxUSE_DFB" = 1; then
29030 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
29031 if test -n "$ac_tool_prefix"; then
29032 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
29033 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
29034 { echo "$as_me:$LINENO: checking for $ac_word" >&5
29035 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
29036 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
29037 echo $ECHO_N "(cached) $ECHO_C" >&6
29039 case $PKG_CONFIG in
29041 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
29044 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
29045 for as_dir in $PATH
29048 test -z "$as_dir" && as_dir=.
29049 for ac_exec_ext in '' $ac_executable_extensions; do
29050 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
29051 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
29052 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
29062 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
29063 if test -n "$PKG_CONFIG"; then
29064 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
29065 echo "${ECHO_T}$PKG_CONFIG" >&6; }
29067 { echo "$as_me:$LINENO: result: no" >&5
29068 echo "${ECHO_T}no" >&6; }
29073 if test -z "$ac_cv_path_PKG_CONFIG"; then
29074 ac_pt_PKG_CONFIG=$PKG_CONFIG
29075 # Extract the first word of "pkg-config", so it can be a program name with args.
29076 set dummy pkg-config; ac_word=$2
29077 { echo "$as_me:$LINENO: checking for $ac_word" >&5
29078 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
29079 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
29080 echo $ECHO_N "(cached) $ECHO_C" >&6
29082 case $ac_pt_PKG_CONFIG in
29084 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
29087 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
29088 for as_dir in $PATH
29091 test -z "$as_dir" && as_dir=.
29092 for ac_exec_ext in '' $ac_executable_extensions; do
29093 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
29094 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
29095 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
29105 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
29106 if test -n "$ac_pt_PKG_CONFIG"; then
29107 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
29108 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
29110 { echo "$as_me:$LINENO: result: no" >&5
29111 echo "${ECHO_T}no" >&6; }
29114 if test "x$ac_pt_PKG_CONFIG" = x; then
29117 case $cross_compiling:$ac_tool_warned in
29119 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
29120 whose name does not start with the host triplet. If you think this
29121 configuration is useful to you, please write to autoconf@gnu.org." >&5
29122 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
29123 whose name does not start with the host triplet. If you think this
29124 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
29125 ac_tool_warned=yes ;;
29127 PKG_CONFIG=$ac_pt_PKG_CONFIG
29130 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
29134 if test -n "$PKG_CONFIG"; then
29135 _pkg_min_version=0.9.0
29136 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
29137 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
29138 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
29139 { echo "$as_me:$LINENO: result: yes" >&5
29140 echo "${ECHO_T}yes" >&6; }
29142 { echo "$as_me:$LINENO: result: no" >&5
29143 echo "${ECHO_T}no" >&6; }
29151 { echo "$as_me:$LINENO: checking for DIRECTFB" >&5
29152 echo $ECHO_N "checking for DIRECTFB... $ECHO_C" >&6; }
29154 if test -n "$PKG_CONFIG"; then
29155 if test -n "$DIRECTFB_CFLAGS"; then
29156 pkg_cv_DIRECTFB_CFLAGS="$DIRECTFB_CFLAGS"
29158 if test -n "$PKG_CONFIG" && \
29159 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"directfb >= 0.9.23\"") >&5
29160 ($PKG_CONFIG --exists --print-errors "directfb >= 0.9.23") 2>&5
29162 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29163 (exit $ac_status); }; then
29164 pkg_cv_DIRECTFB_CFLAGS=`$PKG_CONFIG --cflags "directfb >= 0.9.23" 2>/dev/null`
29172 if test -n "$PKG_CONFIG"; then
29173 if test -n "$DIRECTFB_LIBS"; then
29174 pkg_cv_DIRECTFB_LIBS="$DIRECTFB_LIBS"
29176 if test -n "$PKG_CONFIG" && \
29177 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"directfb >= 0.9.23\"") >&5
29178 ($PKG_CONFIG --exists --print-errors "directfb >= 0.9.23") 2>&5
29180 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29181 (exit $ac_status); }; then
29182 pkg_cv_DIRECTFB_LIBS=`$PKG_CONFIG --libs "directfb >= 0.9.23" 2>/dev/null`
29193 if test $pkg_failed = yes; then
29195 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
29196 _pkg_short_errors_supported=yes
29198 _pkg_short_errors_supported=no
29200 if test $_pkg_short_errors_supported = yes; then
29201 DIRECTFB_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "directfb >= 0.9.23"`
29203 DIRECTFB_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "directfb >= 0.9.23"`
29205 # Put the nasty error message in config.log where it belongs
29206 echo "$DIRECTFB_PKG_ERRORS" >&5
29209 { { echo "$as_me:$LINENO: error: DirectFB not found." >&5
29210 echo "$as_me: error: DirectFB not found." >&2;}
29211 { (exit 1); exit 1; }; }
29214 elif test $pkg_failed = untried; then
29216 { { echo "$as_me:$LINENO: error: DirectFB not found." >&5
29217 echo "$as_me: error: DirectFB not found." >&2;}
29218 { (exit 1); exit 1; }; }
29222 DIRECTFB_CFLAGS=$pkg_cv_DIRECTFB_CFLAGS
29223 DIRECTFB_LIBS=$pkg_cv_DIRECTFB_LIBS
29224 { echo "$as_me:$LINENO: result: yes" >&5
29225 echo "${ECHO_T}yes" >&6; }
29227 wxUSE_UNIVERSAL="yes"
29228 TOOLKIT_INCLUDE="$DIRECTFB_CFLAGS"
29229 GUI_TK_LIBRARY="$DIRECTFB_LIBS"
29236 if test "$wxUSE_MICROWIN" = 1; then
29237 { echo "$as_me:$LINENO: checking for MicroWindows" >&5
29238 echo $ECHO_N "checking for MicroWindows... $ECHO_C" >&6; }
29239 if test "x$MICROWINDOWS" = x ; then
29240 { echo "$as_me:$LINENO: result: not found" >&5
29241 echo "${ECHO_T}not found" >&6; }
29242 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&5
29243 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&2;}
29244 { (exit 1); exit 1; }; }
29246 { echo "$as_me:$LINENO: result: $MICROWINDOWS" >&5
29247 echo "${ECHO_T}$MICROWINDOWS" >&6; }
29250 if test -f $MICROWINDOWS/lib/libmwin.a; then
29251 { echo "$as_me:$LINENO: result: MicroWindows' libraries found.
" >&5
29252 echo "${ECHO_T}MicroWindows
' libraries found." >&6; }
29254 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows libraries, make sure they are compiled." >&5
29255 echo "$as_me: error: Cannot find MicroWindows libraries, make sure they are compiled." >&2;}
29256 { (exit 1); exit 1; }; }
29259 TOOLKIT_INCLUDE="-I$MICROWINDOWS/include"
29260 GUI_TK_LIBRARY="-L$MICROWINDOWS/lib -lmwin -lmwengine -mwfonts -mwdrivers -mwinlib"
29262 wxUSE_UNIVERSAL="yes"
29264 AFMINSTALL=afminstall
29266 GUIDIST=MICROWIN_DIST
29268 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXMSW__ -D__WIN95__ -D__WIN32__ -DMWIN -DMICROWIN_NOCONTROLS -DMICROWIN_TODO=1"
29271 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
29272 { echo "$as_me:$LINENO: checking for X" >&5
29273 echo $ECHO_N "checking for X... $ECHO_C" >&6; }
29276 # Check whether --with-x was given.
29277 if test "${with_x+set}" = set; then
29281 # $have_x is `yes', `no', `disabled
', or empty when we do not yet know.
29282 if test "x$with_x" = xno; then
29283 # The user explicitly disabled X.
29286 case $x_includes,$x_libraries in #(
29287 *\'*) { { echo "$as_me:$LINENO: error: Cannot use X directory names containing '" >&5
29288 echo "$as_me: error
: Cannot use X directory names containing
'" >&2;}
29289 { (exit 1); exit 1; }; };; #(
29290 *,NONE | NONE,*) if test "${ac_cv_have_x+set}" = set; then
29291 echo $ECHO_N "(cached) $ECHO_C" >&6
29293 # One or both of the vars are not set, and there is no cached value.
29294 ac_x_includes=no ac_x_libraries=no
29295 rm -f -r conftest.dir
29296 if mkdir conftest.dir; then
29298 cat >Imakefile <<'_ACEOF'
29300 @echo incroot='${INCROOT}'
29302 @echo usrlibdir='${USRLIBDIR}'
29304 @echo libdir='${LIBDIR}'
29306 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
29307 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
29308 for ac_var in incroot usrlibdir libdir; do
29309 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's
/^
$ac_var=//p
'\`"
29311 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
29312 for ac_extension in a so sl; do
29313 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
29314 test -f "$ac_im_libdir/libX11.$ac_extension"; then
29315 ac_im_usrlibdir=$ac_im_libdir; break
29318 # Screen out bogus values from the imake configuration. They are
29319 # bogus both because they are the default anyway, and because
29320 # using them would break gcc on systems where it needs fixed includes.
29321 case $ac_im_incroot in
29322 /usr/include) ac_x_includes= ;;
29323 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
29325 case $ac_im_usrlibdir in
29326 /usr/lib | /lib) ;;
29327 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
29331 rm -f -r conftest.dir
29334 # Standard set of common directories for X headers.
29335 # Check X11 before X11Rn because it is often a symlink to the current release.
29347 /usr
/local
/X
11/include
29348 /usr
/local
/X
11R
6/include
29349 /usr
/local
/X
11R
5/include
29350 /usr
/local
/X
11R
4/include
29352 /usr
/local
/include
/X11
29353 /usr
/local
/include
/X11R6
29354 /usr
/local
/include
/X11R5
29355 /usr
/local
/include
/X11R4
29359 /usr
/XFree
86/include
/X11
29363 /usr
/unsupported
/include
29364 /usr
/athena
/include
29365 /usr
/local
/x
11r
5/include
29366 /usr
/lpp
/Xamples
/include
29368 /usr
/openwin
/include
29369 /usr
/openwin
/share
/include
'
29371 if test "$ac_x_includes" = no; then
29372 # Guess where to find include files, by looking for Xlib.h.
29373 # First, try using that file with no special directory specified.
29374 cat >conftest.$ac_ext <<_ACEOF
29377 cat confdefs.h >>conftest.$ac_ext
29378 cat >>conftest.$ac_ext <<_ACEOF
29379 /* end confdefs.h. */
29380 #include <X11/Xlib.h>
29382 if { (ac_try="$ac_cpp conftest.$ac_ext"
29383 case "(($ac_try" in
29384 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29385 *) ac_try_echo=$ac_try;;
29387 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29388 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
29390 grep -v '^
*+' conftest.er1 >conftest.err
29392 cat conftest.err >&5
29393 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29394 (exit $ac_status); } >/dev/null && {
29395 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
29396 test ! -s conftest.err
29398 # We can compile using X headers with no special include directory.
29401 echo "$as_me: failed program was:" >&5
29402 sed 's
/^
/| /' conftest.$ac_ext >&5
29404 for ac_dir in $ac_x_header_dirs; do
29405 if test -r "$ac_dir/X11/Xlib.h"; then
29406 ac_x_includes=$ac_dir
29412 rm -f conftest.err conftest.$ac_ext
29413 fi # $ac_x_includes = no
29415 if test "$ac_x_libraries" = no; then
29416 # Check for the libraries.
29417 # See if we find them without any special options.
29418 # Don't add to
$LIBS permanently.
29421 cat >conftest.
$ac_ext <<_ACEOF
29424 cat confdefs.h
>>conftest.
$ac_ext
29425 cat >>conftest.
$ac_ext <<_ACEOF
29426 /* end confdefs.h. */
29427 #include <X11/Xlib.h>
29436 rm -f conftest.
$ac_objext conftest
$ac_exeext
29437 if { (ac_try
="$ac_link"
29438 case "(($ac_try" in
29439 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
29440 *) ac_try_echo=$ac_try;;
29442 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29443 (eval "$ac_link") 2>conftest.er1
29445 grep -v '^ *+' conftest.er1 >conftest.err
29447 cat conftest.err >&5
29448 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29449 (exit $ac_status); } && {
29450 test -z "$ac_c_werror_flag" ||
29451 test ! -s conftest.err
29452 } && test -s conftest$ac_exeext &&
29453 $as_test_x conftest$ac_exeext; then
29455 # We can link X programs with no special library path.
29458 echo "$as_me: failed program was:" >&5
29459 sed 's/^/| /' conftest.$ac_ext >&5
29462 for ac_dir in `echo "$ac_x_includes $ac_x_header_dirs" | sed s
/include
/lib
/g
`
29464 # Don't even attempt the hair of trying to link an X program!
29465 for ac_extension in a so sl; do
29466 if test -r "$ac_dir/libX11.$ac_extension"; then
29467 ac_x_libraries=$ac_dir
29474 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29475 conftest$ac_exeext conftest.$ac_ext
29476 fi # $ac_x_libraries = no
29478 case $ac_x_includes,$ac_x_libraries in #(
29479 no,* | *,no | *\'*)
29480 # Didn't find X, or a directory has "'" in its name.
29481 ac_cv_have_x="have_x=no";; #(
29483 # Record where we found X for the cache.
29484 ac_cv_have_x="have_x=yes\
29485 ac_x_includes='$ac_x_includes'\
29486 ac_x_libraries='$ac_x_libraries'"
29492 eval "$ac_cv_have_x"
29495 if test "$have_x" != yes; then
29496 { echo "$as_me:$LINENO: result: $have_x" >&5
29497 echo "${ECHO_T}$have_x" >&6; }
29500 # If each of the values was on the command line, it overrides each guess.
29501 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
29502 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
29503 # Update the cache value to reflect the command line values.
29504 ac_cv_have_x="have_x=yes\
29505 ac_x_includes='$x_includes'\
29506 ac_x_libraries='$x_libraries'"
29507 { echo "$as_me:$LINENO: result: libraries $x_libraries, headers $x_includes" >&5
29508 echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6; }
29511 if test "$no_x" = yes; then
29512 # Not all programs may use this symbol, but it does not hurt to define it.
29514 cat >>confdefs.h <<\_ACEOF
29515 #define X_DISPLAY_MISSING 1
29518 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
29520 if test -n "$x_includes"; then
29521 X_CFLAGS="$X_CFLAGS -I$x_includes"
29524 # It would also be nice to do this for all -L options, not just this one.
29525 if test -n "$x_libraries"; then
29526 X_LIBS="$X_LIBS -L$x_libraries"
29527 # For Solaris; some versions of Sun CC require a space after -R and
29528 # others require no space. Words are not sufficient . . . .
29529 { echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
29530 echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6; }
29531 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
29532 ac_xsave_c_werror_flag=$ac_c_werror_flag
29533 ac_c_werror_flag=yes
29534 cat >conftest.$ac_ext <<_ACEOF
29537 cat confdefs.h >>conftest.$ac_ext
29538 cat >>conftest.$ac_ext <<_ACEOF
29539 /* end confdefs.h. */
29549 rm -f conftest.$ac_objext conftest$ac_exeext
29550 if { (ac_try="$ac_link"
29551 case "(($ac_try" in
29552 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
29553 *) ac_try_echo
=$ac_try;;
29555 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29556 (eval "$ac_link") 2>conftest.er1
29558 grep -v '^ *+' conftest.er1
>conftest.err
29560 cat conftest.err
>&5
29561 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29562 (exit $ac_status); } && {
29563 test -z "$ac_c_werror_flag" ||
29564 test ! -s conftest.err
29565 } && test -s conftest
$ac_exeext &&
29566 $as_test_x conftest
$ac_exeext; then
29567 { echo "$as_me:$LINENO: result: no" >&5
29568 echo "${ECHO_T}no" >&6; }
29569 X_LIBS
="$X_LIBS -R$x_libraries"
29571 echo "$as_me: failed program was:" >&5
29572 sed 's/^/| /' conftest.
$ac_ext >&5
29574 LIBS
="$ac_xsave_LIBS -R $x_libraries"
29575 cat >conftest.
$ac_ext <<_ACEOF
29578 cat confdefs.h
>>conftest.
$ac_ext
29579 cat >>conftest.
$ac_ext <<_ACEOF
29580 /* end confdefs.h. */
29590 rm -f conftest.
$ac_objext conftest
$ac_exeext
29591 if { (ac_try
="$ac_link"
29592 case "(($ac_try" in
29593 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
29594 *) ac_try_echo=$ac_try;;
29596 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29597 (eval "$ac_link") 2>conftest.er1
29599 grep -v '^ *+' conftest.er1 >conftest.err
29601 cat conftest.err >&5
29602 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29603 (exit $ac_status); } && {
29604 test -z "$ac_c_werror_flag" ||
29605 test ! -s conftest.err
29606 } && test -s conftest$ac_exeext &&
29607 $as_test_x conftest$ac_exeext; then
29608 { echo "$as_me:$LINENO: result: yes" >&5
29609 echo "${ECHO_T}yes" >&6; }
29610 X_LIBS="$X_LIBS -R $x_libraries"
29612 echo "$as_me: failed program was:" >&5
29613 sed 's/^/| /' conftest.$ac_ext >&5
29615 { echo "$as_me:$LINENO: result: neither works" >&5
29616 echo "${ECHO_T}neither works" >&6; }
29619 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29620 conftest$ac_exeext conftest.$ac_ext
29623 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29624 conftest$ac_exeext conftest.$ac_ext
29625 ac_c_werror_flag=$ac_xsave_c_werror_flag
29626 LIBS=$ac_xsave_LIBS
29629 # Check for system-dependent libraries X programs must link with.
29630 # Do this before checking for the system-independent R6 libraries
29631 # (-lICE), since we may need -lsocket or whatever for X linking.
29633 if test "$ISC" = yes; then
29634 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
29636 # Martyn Johnson says this is needed for Ultrix, if the X
29637 # libraries were built with DECnet support. And Karl Berry says
29638 # the Alpha needs dnet_stub (dnet does not exist).
29639 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
29640 cat >conftest.$ac_ext <<_ACEOF
29643 cat confdefs.h >>conftest.$ac_ext
29644 cat >>conftest.$ac_ext <<_ACEOF
29645 /* end confdefs.h. */
29647 /* Override any GCC internal prototype to avoid an error.
29648 Use char because int might match the return type of a GCC
29649 builtin and then its argument prototype would still apply. */
29653 char XOpenDisplay ();
29657 return XOpenDisplay ();
29662 rm -f conftest.$ac_objext conftest$ac_exeext
29663 if { (ac_try="$ac_link"
29664 case "(($ac_try" in
29665 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
29666 *) ac_try_echo
=$ac_try;;
29668 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29669 (eval "$ac_link") 2>conftest.er1
29671 grep -v '^ *+' conftest.er1
>conftest.err
29673 cat conftest.err
>&5
29674 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29675 (exit $ac_status); } && {
29676 test -z "$ac_c_werror_flag" ||
29677 test ! -s conftest.err
29678 } && test -s conftest
$ac_exeext &&
29679 $as_test_x conftest
$ac_exeext; then
29682 echo "$as_me: failed program was:" >&5
29683 sed 's/^/| /' conftest.
$ac_ext >&5
29685 { echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
29686 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6; }
29687 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
29688 echo $ECHO_N "(cached) $ECHO_C" >&6
29690 ac_check_lib_save_LIBS
=$LIBS
29691 LIBS
="-ldnet $LIBS"
29692 cat >conftest.
$ac_ext <<_ACEOF
29695 cat confdefs.h
>>conftest.
$ac_ext
29696 cat >>conftest.
$ac_ext <<_ACEOF
29697 /* end confdefs.h. */
29699 /* Override any GCC internal prototype to avoid an error.
29700 Use char because int might match the return type of a GCC
29701 builtin and then its argument prototype would still apply. */
29709 return dnet_ntoa ();
29714 rm -f conftest.
$ac_objext conftest
$ac_exeext
29715 if { (ac_try
="$ac_link"
29716 case "(($ac_try" in
29717 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
29718 *) ac_try_echo=$ac_try;;
29720 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29721 (eval "$ac_link") 2>conftest.er1
29723 grep -v '^ *+' conftest.er1 >conftest.err
29725 cat conftest.err >&5
29726 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29727 (exit $ac_status); } && {
29728 test -z "$ac_c_werror_flag" ||
29729 test ! -s conftest.err
29730 } && test -s conftest$ac_exeext &&
29731 $as_test_x conftest$ac_exeext; then
29732 ac_cv_lib_dnet_dnet_ntoa=yes
29734 echo "$as_me: failed program was:" >&5
29735 sed 's/^/| /' conftest.$ac_ext >&5
29737 ac_cv_lib_dnet_dnet_ntoa=no
29740 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29741 conftest$ac_exeext conftest.$ac_ext
29742 LIBS=$ac_check_lib_save_LIBS
29744 { echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
29745 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6; }
29746 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
29747 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
29750 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
29751 { echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
29752 echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6; }
29753 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
29754 echo $ECHO_N "(cached) $ECHO_C" >&6
29756 ac_check_lib_save_LIBS=$LIBS
29757 LIBS="-ldnet_stub $LIBS"
29758 cat >conftest.$ac_ext <<_ACEOF
29761 cat confdefs.h >>conftest.$ac_ext
29762 cat >>conftest.$ac_ext <<_ACEOF
29763 /* end confdefs.h. */
29765 /* Override any GCC internal prototype to avoid an error.
29766 Use char because int might match the return type of a GCC
29767 builtin and then its argument prototype would still apply. */
29775 return dnet_ntoa ();
29780 rm -f conftest.$ac_objext conftest$ac_exeext
29781 if { (ac_try="$ac_link"
29782 case "(($ac_try" in
29783 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
29784 *) ac_try_echo
=$ac_try;;
29786 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29787 (eval "$ac_link") 2>conftest.er1
29789 grep -v '^ *+' conftest.er1
>conftest.err
29791 cat conftest.err
>&5
29792 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29793 (exit $ac_status); } && {
29794 test -z "$ac_c_werror_flag" ||
29795 test ! -s conftest.err
29796 } && test -s conftest
$ac_exeext &&
29797 $as_test_x conftest
$ac_exeext; then
29798 ac_cv_lib_dnet_stub_dnet_ntoa
=yes
29800 echo "$as_me: failed program was:" >&5
29801 sed 's/^/| /' conftest.
$ac_ext >&5
29803 ac_cv_lib_dnet_stub_dnet_ntoa
=no
29806 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
29807 conftest
$ac_exeext conftest.
$ac_ext
29808 LIBS
=$ac_check_lib_save_LIBS
29810 { echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
29811 echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
29812 if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
29813 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet_stub"
29819 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
29820 conftest
$ac_exeext conftest.
$ac_ext
29821 LIBS
="$ac_xsave_LIBS"
29823 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
29824 # to get the SysV transport functions.
29825 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
29827 # The nsl library prevents programs from opening the X display
29828 # on Irix 5.2, according to T.E. Dickey.
29829 # The functions gethostbyname, getservbyname, and inet_addr are
29830 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
29831 { echo "$as_me:$LINENO: checking for gethostbyname" >&5
29832 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6; }
29833 if test "${ac_cv_func_gethostbyname+set}" = set; then
29834 echo $ECHO_N "(cached) $ECHO_C" >&6
29836 cat >conftest.
$ac_ext <<_ACEOF
29839 cat confdefs.h
>>conftest.
$ac_ext
29840 cat >>conftest.
$ac_ext <<_ACEOF
29841 /* end confdefs.h. */
29842 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
29843 For example, HP-UX 11i <limits.h> declares gettimeofday. */
29844 #define gethostbyname innocuous_gethostbyname
29846 /* System header to define __stub macros and hopefully few prototypes,
29847 which can conflict with char gethostbyname (); below.
29848 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29849 <limits.h> exists even on freestanding compilers. */
29852 # include <limits.h>
29854 # include <assert.h>
29857 #undef gethostbyname
29859 /* Override any GCC internal prototype to avoid an error.
29860 Use char because int might match the return type of a GCC
29861 builtin and then its argument prototype would still apply. */
29865 char gethostbyname ();
29866 /* The GNU C library defines this for functions which it implements
29867 to always fail with ENOSYS. Some functions are actually named
29868 something starting with __ and the normal name is an alias. */
29869 #if defined __stub_gethostbyname || defined __stub___gethostbyname
29876 return gethostbyname ();
29881 rm -f conftest.
$ac_objext conftest
$ac_exeext
29882 if { (ac_try
="$ac_link"
29883 case "(($ac_try" in
29884 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
29885 *) ac_try_echo=$ac_try;;
29887 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29888 (eval "$ac_link") 2>conftest.er1
29890 grep -v '^ *+' conftest.er1 >conftest.err
29892 cat conftest.err >&5
29893 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29894 (exit $ac_status); } && {
29895 test -z "$ac_c_werror_flag" ||
29896 test ! -s conftest.err
29897 } && test -s conftest$ac_exeext &&
29898 $as_test_x conftest$ac_exeext; then
29899 ac_cv_func_gethostbyname=yes
29901 echo "$as_me: failed program was:" >&5
29902 sed 's/^/| /' conftest.$ac_ext >&5
29904 ac_cv_func_gethostbyname=no
29907 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29908 conftest$ac_exeext conftest.$ac_ext
29910 { echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
29911 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6; }
29913 if test $ac_cv_func_gethostbyname = no; then
29914 { echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
29915 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6; }
29916 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
29917 echo $ECHO_N "(cached) $ECHO_C" >&6
29919 ac_check_lib_save_LIBS=$LIBS
29921 cat >conftest.$ac_ext <<_ACEOF
29924 cat confdefs.h >>conftest.$ac_ext
29925 cat >>conftest.$ac_ext <<_ACEOF
29926 /* end confdefs.h. */
29928 /* Override any GCC internal prototype to avoid an error.
29929 Use char because int might match the return type of a GCC
29930 builtin and then its argument prototype would still apply. */
29934 char gethostbyname ();
29938 return gethostbyname ();
29943 rm -f conftest.$ac_objext conftest$ac_exeext
29944 if { (ac_try="$ac_link"
29945 case "(($ac_try" in
29946 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
29947 *) ac_try_echo
=$ac_try;;
29949 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29950 (eval "$ac_link") 2>conftest.er1
29952 grep -v '^ *+' conftest.er1
>conftest.err
29954 cat conftest.err
>&5
29955 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29956 (exit $ac_status); } && {
29957 test -z "$ac_c_werror_flag" ||
29958 test ! -s conftest.err
29959 } && test -s conftest
$ac_exeext &&
29960 $as_test_x conftest
$ac_exeext; then
29961 ac_cv_lib_nsl_gethostbyname
=yes
29963 echo "$as_me: failed program was:" >&5
29964 sed 's/^/| /' conftest.
$ac_ext >&5
29966 ac_cv_lib_nsl_gethostbyname
=no
29969 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
29970 conftest
$ac_exeext conftest.
$ac_ext
29971 LIBS
=$ac_check_lib_save_LIBS
29973 { echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
29974 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6; }
29975 if test $ac_cv_lib_nsl_gethostbyname = yes; then
29976 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl"
29979 if test $ac_cv_lib_nsl_gethostbyname = no
; then
29980 { echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
29981 echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6; }
29982 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
29983 echo $ECHO_N "(cached) $ECHO_C" >&6
29985 ac_check_lib_save_LIBS
=$LIBS
29987 cat >conftest.
$ac_ext <<_ACEOF
29990 cat confdefs.h
>>conftest.
$ac_ext
29991 cat >>conftest.
$ac_ext <<_ACEOF
29992 /* end confdefs.h. */
29994 /* Override any GCC internal prototype to avoid an error.
29995 Use char because int might match the return type of a GCC
29996 builtin and then its argument prototype would still apply. */
30000 char gethostbyname ();
30004 return gethostbyname ();
30009 rm -f conftest.
$ac_objext conftest
$ac_exeext
30010 if { (ac_try
="$ac_link"
30011 case "(($ac_try" in
30012 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
30013 *) ac_try_echo=$ac_try;;
30015 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30016 (eval "$ac_link") 2>conftest.er1
30018 grep -v '^ *+' conftest.er1 >conftest.err
30020 cat conftest.err >&5
30021 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30022 (exit $ac_status); } && {
30023 test -z "$ac_c_werror_flag" ||
30024 test ! -s conftest.err
30025 } && test -s conftest$ac_exeext &&
30026 $as_test_x conftest$ac_exeext; then
30027 ac_cv_lib_bsd_gethostbyname=yes
30029 echo "$as_me: failed program was:" >&5
30030 sed 's/^/| /' conftest.$ac_ext >&5
30032 ac_cv_lib_bsd_gethostbyname=no
30035 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30036 conftest$ac_exeext conftest.$ac_ext
30037 LIBS=$ac_check_lib_save_LIBS
30039 { echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
30040 echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6; }
30041 if test $ac_cv_lib_bsd_gethostbyname = yes; then
30042 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
30048 # lieder@skyler.mavd.honeywell.com says without -lsocket,
30049 # socket/setsockopt and other routines are undefined under SCO ODT
30050 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
30051 # on later versions), says Simon Leinen: it contains gethostby*
30052 # variants that don't use the name server (or something). -lsocket
30053 # must be given before -lnsl if both are needed. We assume that
30054 # if connect needs -lnsl, so does gethostbyname.
30055 { echo "$as_me:$LINENO: checking for connect" >&5
30056 echo $ECHO_N "checking for connect... $ECHO_C" >&6; }
30057 if test "${ac_cv_func_connect+set}" = set; then
30058 echo $ECHO_N "(cached) $ECHO_C" >&6
30060 cat >conftest.$ac_ext <<_ACEOF
30063 cat confdefs.h >>conftest.$ac_ext
30064 cat >>conftest.$ac_ext <<_ACEOF
30065 /* end confdefs.h. */
30066 /* Define connect to an innocuous variant, in case <limits.h> declares connect.
30067 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30068 #define connect innocuous_connect
30070 /* System header to define __stub macros and hopefully few prototypes,
30071 which can conflict with char connect (); below.
30072 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30073 <limits.h> exists even on freestanding compilers. */
30076 # include <limits.h>
30078 # include <assert.h>
30083 /* Override any GCC internal prototype to avoid an error.
30084 Use char because int might match the return type of a GCC
30085 builtin and then its argument prototype would still apply. */
30090 /* The GNU C library defines this for functions which it implements
30091 to always fail with ENOSYS. Some functions are actually named
30092 something starting with __ and the normal name is an alias. */
30093 #if defined __stub_connect || defined __stub___connect
30105 rm -f conftest.$ac_objext conftest$ac_exeext
30106 if { (ac_try="$ac_link"
30107 case "(($ac_try" in
30108 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
30109 *) ac_try_echo
=$ac_try;;
30111 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30112 (eval "$ac_link") 2>conftest.er1
30114 grep -v '^ *+' conftest.er1
>conftest.err
30116 cat conftest.err
>&5
30117 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30118 (exit $ac_status); } && {
30119 test -z "$ac_c_werror_flag" ||
30120 test ! -s conftest.err
30121 } && test -s conftest
$ac_exeext &&
30122 $as_test_x conftest
$ac_exeext; then
30123 ac_cv_func_connect
=yes
30125 echo "$as_me: failed program was:" >&5
30126 sed 's/^/| /' conftest.
$ac_ext >&5
30128 ac_cv_func_connect
=no
30131 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
30132 conftest
$ac_exeext conftest.
$ac_ext
30134 { echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
30135 echo "${ECHO_T}$ac_cv_func_connect" >&6; }
30137 if test $ac_cv_func_connect = no
; then
30138 { echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
30139 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6; }
30140 if test "${ac_cv_lib_socket_connect+set}" = set; then
30141 echo $ECHO_N "(cached) $ECHO_C" >&6
30143 ac_check_lib_save_LIBS
=$LIBS
30144 LIBS
="-lsocket $X_EXTRA_LIBS $LIBS"
30145 cat >conftest.
$ac_ext <<_ACEOF
30148 cat confdefs.h
>>conftest.
$ac_ext
30149 cat >>conftest.
$ac_ext <<_ACEOF
30150 /* end confdefs.h. */
30152 /* Override any GCC internal prototype to avoid an error.
30153 Use char because int might match the return type of a GCC
30154 builtin and then its argument prototype would still apply. */
30167 rm -f conftest.
$ac_objext conftest
$ac_exeext
30168 if { (ac_try
="$ac_link"
30169 case "(($ac_try" in
30170 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
30171 *) ac_try_echo=$ac_try;;
30173 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30174 (eval "$ac_link") 2>conftest.er1
30176 grep -v '^ *+' conftest.er1 >conftest.err
30178 cat conftest.err >&5
30179 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30180 (exit $ac_status); } && {
30181 test -z "$ac_c_werror_flag" ||
30182 test ! -s conftest.err
30183 } && test -s conftest$ac_exeext &&
30184 $as_test_x conftest$ac_exeext; then
30185 ac_cv_lib_socket_connect=yes
30187 echo "$as_me: failed program was:" >&5
30188 sed 's/^/| /' conftest.$ac_ext >&5
30190 ac_cv_lib_socket_connect=no
30193 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30194 conftest$ac_exeext conftest.$ac_ext
30195 LIBS=$ac_check_lib_save_LIBS
30197 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
30198 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6; }
30199 if test $ac_cv_lib_socket_connect = yes; then
30200 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
30205 # Guillermo Gomez says -lposix is necessary on A/UX.
30206 { echo "$as_me:$LINENO: checking for remove" >&5
30207 echo $ECHO_N "checking for remove... $ECHO_C" >&6; }
30208 if test "${ac_cv_func_remove+set}" = set; then
30209 echo $ECHO_N "(cached) $ECHO_C" >&6
30211 cat >conftest.$ac_ext <<_ACEOF
30214 cat confdefs.h >>conftest.$ac_ext
30215 cat >>conftest.$ac_ext <<_ACEOF
30216 /* end confdefs.h. */
30217 /* Define remove to an innocuous variant, in case <limits.h> declares remove.
30218 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30219 #define remove innocuous_remove
30221 /* System header to define __stub macros and hopefully few prototypes,
30222 which can conflict with char remove (); below.
30223 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30224 <limits.h> exists even on freestanding compilers. */
30227 # include <limits.h>
30229 # include <assert.h>
30234 /* Override any GCC internal prototype to avoid an error.
30235 Use char because int might match the return type of a GCC
30236 builtin and then its argument prototype would still apply. */
30241 /* The GNU C library defines this for functions which it implements
30242 to always fail with ENOSYS. Some functions are actually named
30243 something starting with __ and the normal name is an alias. */
30244 #if defined __stub_remove || defined __stub___remove
30256 rm -f conftest.$ac_objext conftest$ac_exeext
30257 if { (ac_try="$ac_link"
30258 case "(($ac_try" in
30259 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
30260 *) ac_try_echo
=$ac_try;;
30262 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30263 (eval "$ac_link") 2>conftest.er1
30265 grep -v '^ *+' conftest.er1
>conftest.err
30267 cat conftest.err
>&5
30268 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30269 (exit $ac_status); } && {
30270 test -z "$ac_c_werror_flag" ||
30271 test ! -s conftest.err
30272 } && test -s conftest
$ac_exeext &&
30273 $as_test_x conftest
$ac_exeext; then
30274 ac_cv_func_remove
=yes
30276 echo "$as_me: failed program was:" >&5
30277 sed 's/^/| /' conftest.
$ac_ext >&5
30279 ac_cv_func_remove
=no
30282 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
30283 conftest
$ac_exeext conftest.
$ac_ext
30285 { echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
30286 echo "${ECHO_T}$ac_cv_func_remove" >&6; }
30288 if test $ac_cv_func_remove = no
; then
30289 { echo "$as_me:$LINENO: checking for remove in -lposix" >&5
30290 echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6; }
30291 if test "${ac_cv_lib_posix_remove+set}" = set; then
30292 echo $ECHO_N "(cached) $ECHO_C" >&6
30294 ac_check_lib_save_LIBS
=$LIBS
30295 LIBS
="-lposix $LIBS"
30296 cat >conftest.
$ac_ext <<_ACEOF
30299 cat confdefs.h
>>conftest.
$ac_ext
30300 cat >>conftest.
$ac_ext <<_ACEOF
30301 /* end confdefs.h. */
30303 /* Override any GCC internal prototype to avoid an error.
30304 Use char because int might match the return type of a GCC
30305 builtin and then its argument prototype would still apply. */
30318 rm -f conftest.
$ac_objext conftest
$ac_exeext
30319 if { (ac_try
="$ac_link"
30320 case "(($ac_try" in
30321 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
30322 *) ac_try_echo=$ac_try;;
30324 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30325 (eval "$ac_link") 2>conftest.er1
30327 grep -v '^ *+' conftest.er1 >conftest.err
30329 cat conftest.err >&5
30330 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30331 (exit $ac_status); } && {
30332 test -z "$ac_c_werror_flag" ||
30333 test ! -s conftest.err
30334 } && test -s conftest$ac_exeext &&
30335 $as_test_x conftest$ac_exeext; then
30336 ac_cv_lib_posix_remove=yes
30338 echo "$as_me: failed program was:" >&5
30339 sed 's/^/| /' conftest.$ac_ext >&5
30341 ac_cv_lib_posix_remove=no
30344 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30345 conftest$ac_exeext conftest.$ac_ext
30346 LIBS=$ac_check_lib_save_LIBS
30348 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
30349 echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6; }
30350 if test $ac_cv_lib_posix_remove = yes; then
30351 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
30356 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
30357 { echo "$as_me:$LINENO: checking for shmat" >&5
30358 echo $ECHO_N "checking for shmat... $ECHO_C" >&6; }
30359 if test "${ac_cv_func_shmat+set}" = set; then
30360 echo $ECHO_N "(cached) $ECHO_C" >&6
30362 cat >conftest.$ac_ext <<_ACEOF
30365 cat confdefs.h >>conftest.$ac_ext
30366 cat >>conftest.$ac_ext <<_ACEOF
30367 /* end confdefs.h. */
30368 /* Define shmat to an innocuous variant, in case <limits.h> declares shmat.
30369 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30370 #define shmat innocuous_shmat
30372 /* System header to define __stub macros and hopefully few prototypes,
30373 which can conflict with char shmat (); below.
30374 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30375 <limits.h> exists even on freestanding compilers. */
30378 # include <limits.h>
30380 # include <assert.h>
30385 /* Override any GCC internal prototype to avoid an error.
30386 Use char because int might match the return type of a GCC
30387 builtin and then its argument prototype would still apply. */
30392 /* The GNU C library defines this for functions which it implements
30393 to always fail with ENOSYS. Some functions are actually named
30394 something starting with __ and the normal name is an alias. */
30395 #if defined __stub_shmat || defined __stub___shmat
30407 rm -f conftest.$ac_objext conftest$ac_exeext
30408 if { (ac_try="$ac_link"
30409 case "(($ac_try" in
30410 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
30411 *) ac_try_echo
=$ac_try;;
30413 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30414 (eval "$ac_link") 2>conftest.er1
30416 grep -v '^ *+' conftest.er1
>conftest.err
30418 cat conftest.err
>&5
30419 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30420 (exit $ac_status); } && {
30421 test -z "$ac_c_werror_flag" ||
30422 test ! -s conftest.err
30423 } && test -s conftest
$ac_exeext &&
30424 $as_test_x conftest
$ac_exeext; then
30425 ac_cv_func_shmat
=yes
30427 echo "$as_me: failed program was:" >&5
30428 sed 's/^/| /' conftest.
$ac_ext >&5
30430 ac_cv_func_shmat
=no
30433 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
30434 conftest
$ac_exeext conftest.
$ac_ext
30436 { echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
30437 echo "${ECHO_T}$ac_cv_func_shmat" >&6; }
30439 if test $ac_cv_func_shmat = no
; then
30440 { echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
30441 echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6; }
30442 if test "${ac_cv_lib_ipc_shmat+set}" = set; then
30443 echo $ECHO_N "(cached) $ECHO_C" >&6
30445 ac_check_lib_save_LIBS
=$LIBS
30447 cat >conftest.
$ac_ext <<_ACEOF
30450 cat confdefs.h
>>conftest.
$ac_ext
30451 cat >>conftest.
$ac_ext <<_ACEOF
30452 /* end confdefs.h. */
30454 /* Override any GCC internal prototype to avoid an error.
30455 Use char because int might match the return type of a GCC
30456 builtin and then its argument prototype would still apply. */
30469 rm -f conftest.
$ac_objext conftest
$ac_exeext
30470 if { (ac_try
="$ac_link"
30471 case "(($ac_try" in
30472 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
30473 *) ac_try_echo=$ac_try;;
30475 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30476 (eval "$ac_link") 2>conftest.er1
30478 grep -v '^ *+' conftest.er1 >conftest.err
30480 cat conftest.err >&5
30481 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30482 (exit $ac_status); } && {
30483 test -z "$ac_c_werror_flag" ||
30484 test ! -s conftest.err
30485 } && test -s conftest$ac_exeext &&
30486 $as_test_x conftest$ac_exeext; then
30487 ac_cv_lib_ipc_shmat=yes
30489 echo "$as_me: failed program was:" >&5
30490 sed 's/^/| /' conftest.$ac_ext >&5
30492 ac_cv_lib_ipc_shmat=no
30495 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30496 conftest$ac_exeext conftest.$ac_ext
30497 LIBS=$ac_check_lib_save_LIBS
30499 { echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
30500 echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6; }
30501 if test $ac_cv_lib_ipc_shmat = yes; then
30502 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
30508 # Check for libraries that X11R6 Xt/Xaw programs need.
30509 ac_save_LDFLAGS=$LDFLAGS
30510 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
30511 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
30512 # check for ICE first), but we must link in the order -lSM -lICE or
30513 # we get undefined symbols. So assume we have SM if we have ICE.
30514 # These have to be linked with before -lX11, unlike the other
30515 # libraries we check for below, so use a different variable.
30516 # John Interrante, Karl Berry
30517 { echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
30518 echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6; }
30519 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
30520 echo $ECHO_N "(cached) $ECHO_C" >&6
30522 ac_check_lib_save_LIBS=$LIBS
30523 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
30524 cat >conftest.$ac_ext <<_ACEOF
30527 cat confdefs.h >>conftest.$ac_ext
30528 cat >>conftest.$ac_ext <<_ACEOF
30529 /* end confdefs.h. */
30531 /* Override any GCC internal prototype to avoid an error.
30532 Use char because int might match the return type of a GCC
30533 builtin and then its argument prototype would still apply. */
30537 char IceConnectionNumber ();
30541 return IceConnectionNumber ();
30546 rm -f conftest.$ac_objext conftest$ac_exeext
30547 if { (ac_try="$ac_link"
30548 case "(($ac_try" in
30549 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
30550 *) ac_try_echo
=$ac_try;;
30552 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30553 (eval "$ac_link") 2>conftest.er1
30555 grep -v '^ *+' conftest.er1
>conftest.err
30557 cat conftest.err
>&5
30558 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30559 (exit $ac_status); } && {
30560 test -z "$ac_c_werror_flag" ||
30561 test ! -s conftest.err
30562 } && test -s conftest
$ac_exeext &&
30563 $as_test_x conftest
$ac_exeext; then
30564 ac_cv_lib_ICE_IceConnectionNumber
=yes
30566 echo "$as_me: failed program was:" >&5
30567 sed 's/^/| /' conftest.
$ac_ext >&5
30569 ac_cv_lib_ICE_IceConnectionNumber
=no
30572 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
30573 conftest
$ac_exeext conftest.
$ac_ext
30574 LIBS
=$ac_check_lib_save_LIBS
30576 { echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
30577 echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
30578 if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
30579 X_PRE_LIBS
="$X_PRE_LIBS -lSM -lICE"
30582 LDFLAGS
=$ac_save_LDFLAGS
30587 if test "$no_x" = "yes"; then
30588 { { echo "$as_me:$LINENO: error: X11 not found, please use --x-includes and/or --x-libraries options (see config.log for details)" >&5
30589 echo "$as_me: error: X11 not found, please use --x-includes and/or --x-libraries options (see config.log for details)" >&2;}
30590 { (exit 1); exit 1; }; }
30593 GUI_TK_LIBRARY
=`echo $X_LIBS | sed 's/ -LNONE//' | sed 's/ -RNONE//'`
30594 TOOLKIT_INCLUDE
=`echo $X_CFLAGS | sed 's/ -INONE//'`
30595 AFMINSTALL
=afminstall
30596 COMPILED_X_PROGRAM
=0
30600 if test "$wxUSE_X11" = 1; then
30601 if test "$wxUSE_NANOX" = "yes"; then
30602 { echo "$as_me:$LINENO: checking for MicroWindows/NanoX distribution" >&5
30603 echo $ECHO_N "checking for MicroWindows/NanoX distribution... $ECHO_C" >&6; }
30604 if test "x$MICROWIN" = x
; then
30605 { echo "$as_me:$LINENO: result: not found" >&5
30606 echo "${ECHO_T}not found" >&6; }
30607 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&5
30608 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&2;}
30609 { (exit 1); exit 1; }; }
30611 { echo "$as_me:$LINENO: result: $MICROWIN" >&5
30612 echo "${ECHO_T}$MICROWIN" >&6; }
30613 cat >>confdefs.h
<<\_ACEOF
30614 #define wxUSE_NANOX 1
30620 if test "$wxUSE_UNICODE" = "yes"; then
30623 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
30624 if test -n "$ac_tool_prefix"; then
30625 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
30626 set dummy
${ac_tool_prefix}pkg
-config; ac_word
=$2
30627 { echo "$as_me:$LINENO: checking for $ac_word" >&5
30628 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
30629 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
30630 echo $ECHO_N "(cached) $ECHO_C" >&6
30632 case $PKG_CONFIG in
30634 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
30637 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
30638 for as_dir
in $PATH
30641 test -z "$as_dir" && as_dir
=.
30642 for ac_exec_ext
in '' $ac_executable_extensions; do
30643 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
30644 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
30645 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
30655 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
30656 if test -n "$PKG_CONFIG"; then
30657 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
30658 echo "${ECHO_T}$PKG_CONFIG" >&6; }
30660 { echo "$as_me:$LINENO: result: no" >&5
30661 echo "${ECHO_T}no" >&6; }
30666 if test -z "$ac_cv_path_PKG_CONFIG"; then
30667 ac_pt_PKG_CONFIG
=$PKG_CONFIG
30668 # Extract the first word of "pkg-config", so it can be a program name with args.
30669 set dummy pkg
-config; ac_word
=$2
30670 { echo "$as_me:$LINENO: checking for $ac_word" >&5
30671 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
30672 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
30673 echo $ECHO_N "(cached) $ECHO_C" >&6
30675 case $ac_pt_PKG_CONFIG in
30677 ac_cv_path_ac_pt_PKG_CONFIG
="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
30680 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
30681 for as_dir
in $PATH
30684 test -z "$as_dir" && as_dir
=.
30685 for ac_exec_ext
in '' $ac_executable_extensions; do
30686 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
30687 ac_cv_path_ac_pt_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
30688 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
30698 ac_pt_PKG_CONFIG
=$ac_cv_path_ac_pt_PKG_CONFIG
30699 if test -n "$ac_pt_PKG_CONFIG"; then
30700 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
30701 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
30703 { echo "$as_me:$LINENO: result: no" >&5
30704 echo "${ECHO_T}no" >&6; }
30707 if test "x$ac_pt_PKG_CONFIG" = x
; then
30710 case $cross_compiling:$ac_tool_warned in
30712 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
30713 whose name does not start with the host triplet. If you think this
30714 configuration is useful to you, please write to autoconf@gnu.org." >&5
30715 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
30716 whose name does not start with the host triplet. If you think this
30717 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
30718 ac_tool_warned
=yes ;;
30720 PKG_CONFIG
=$ac_pt_PKG_CONFIG
30723 PKG_CONFIG
="$ac_cv_path_PKG_CONFIG"
30727 if test -n "$PKG_CONFIG"; then
30728 _pkg_min_version
=0.9.0
30729 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
30730 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
30731 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
30732 { echo "$as_me:$LINENO: result: yes" >&5
30733 echo "${ECHO_T}yes" >&6; }
30735 { echo "$as_me:$LINENO: result: no" >&5
30736 echo "${ECHO_T}no" >&6; }
30744 { echo "$as_me:$LINENO: checking for PANGOX" >&5
30745 echo $ECHO_N "checking for PANGOX... $ECHO_C" >&6; }
30747 if test -n "$PKG_CONFIG"; then
30748 if test -n "$PANGOX_CFLAGS"; then
30749 pkg_cv_PANGOX_CFLAGS
="$PANGOX_CFLAGS"
30751 if test -n "$PKG_CONFIG" && \
30752 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangox\"") >&5
30753 ($PKG_CONFIG --exists --print-errors "pangox") 2>&5
30755 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30756 (exit $ac_status); }; then
30757 pkg_cv_PANGOX_CFLAGS
=`$PKG_CONFIG --cflags "pangox" 2>/dev/null`
30765 if test -n "$PKG_CONFIG"; then
30766 if test -n "$PANGOX_LIBS"; then
30767 pkg_cv_PANGOX_LIBS
="$PANGOX_LIBS"
30769 if test -n "$PKG_CONFIG" && \
30770 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangox\"") >&5
30771 ($PKG_CONFIG --exists --print-errors "pangox") 2>&5
30773 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30774 (exit $ac_status); }; then
30775 pkg_cv_PANGOX_LIBS
=`$PKG_CONFIG --libs "pangox" 2>/dev/null`
30786 if test $pkg_failed = yes; then
30788 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
30789 _pkg_short_errors_supported
=yes
30791 _pkg_short_errors_supported
=no
30793 if test $_pkg_short_errors_supported = yes; then
30794 PANGOX_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangox"`
30796 PANGOX_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "pangox"`
30798 # Put the nasty error message in config.log where it belongs
30799 echo "$PANGOX_PKG_ERRORS" >&5
30802 { { echo "$as_me:$LINENO: error: pangox library not found, library cannot be compiled in Unicode mode" >&5
30803 echo "$as_me: error: pangox library not found, library cannot be compiled in Unicode mode" >&2;}
30804 { (exit 1); exit 1; }; }
30807 elif test $pkg_failed = untried
; then
30809 { { echo "$as_me:$LINENO: error: pangox library not found, library cannot be compiled in Unicode mode" >&5
30810 echo "$as_me: error: pangox library not found, library cannot be compiled in Unicode mode" >&2;}
30811 { (exit 1); exit 1; }; }
30815 PANGOX_CFLAGS
=$pkg_cv_PANGOX_CFLAGS
30816 PANGOX_LIBS
=$pkg_cv_PANGOX_LIBS
30817 { echo "$as_me:$LINENO: result: yes" >&5
30818 echo "${ECHO_T}yes" >&6; }
30820 CFLAGS
="$PANGOX_CFLAGS $CFLAGS"
30821 CXXFLAGS
="$PANGOX_CFLAGS $CXXFLAGS"
30822 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $PANGOX_LIBS"
30827 { echo "$as_me:$LINENO: checking for PANGOFT2" >&5
30828 echo $ECHO_N "checking for PANGOFT2... $ECHO_C" >&6; }
30830 if test -n "$PKG_CONFIG"; then
30831 if test -n "$PANGOFT2_CFLAGS"; then
30832 pkg_cv_PANGOFT2_CFLAGS
="$PANGOFT2_CFLAGS"
30834 if test -n "$PKG_CONFIG" && \
30835 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoft2\"") >&5
30836 ($PKG_CONFIG --exists --print-errors "pangoft2") 2>&5
30838 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30839 (exit $ac_status); }; then
30840 pkg_cv_PANGOFT2_CFLAGS
=`$PKG_CONFIG --cflags "pangoft2" 2>/dev/null`
30848 if test -n "$PKG_CONFIG"; then
30849 if test -n "$PANGOFT2_LIBS"; then
30850 pkg_cv_PANGOFT2_LIBS
="$PANGOFT2_LIBS"
30852 if test -n "$PKG_CONFIG" && \
30853 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoft2\"") >&5
30854 ($PKG_CONFIG --exists --print-errors "pangoft2") 2>&5
30856 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30857 (exit $ac_status); }; then
30858 pkg_cv_PANGOFT2_LIBS
=`$PKG_CONFIG --libs "pangoft2" 2>/dev/null`
30869 if test $pkg_failed = yes; then
30871 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
30872 _pkg_short_errors_supported
=yes
30874 _pkg_short_errors_supported
=no
30876 if test $_pkg_short_errors_supported = yes; then
30877 PANGOFT2_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangoft2"`
30879 PANGOFT2_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoft2"`
30881 # Put the nasty error message in config.log where it belongs
30882 echo "$PANGOFT2_PKG_ERRORS" >&5
30885 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
30886 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
30887 wxUSE_PRINTING_ARCHITECTURE
="no"
30890 elif test $pkg_failed = untried
; then
30892 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
30893 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
30894 wxUSE_PRINTING_ARCHITECTURE
="no"
30898 PANGOFT2_CFLAGS
=$pkg_cv_PANGOFT2_CFLAGS
30899 PANGOFT2_LIBS
=$pkg_cv_PANGOFT2_LIBS
30900 { echo "$as_me:$LINENO: result: yes" >&5
30901 echo "${ECHO_T}yes" >&6; }
30903 CFLAGS
="$PANGOFT2_CFLAGS $CFLAGS"
30904 CXXFLAGS
="$PANGOFT2_CFLAGS $CXXFLAGS"
30905 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $PANGOFT2_LIBS"
30910 { echo "$as_me:$LINENO: checking for PANGOXFT" >&5
30911 echo $ECHO_N "checking for PANGOXFT... $ECHO_C" >&6; }
30913 if test -n "$PKG_CONFIG"; then
30914 if test -n "$PANGOXFT_CFLAGS"; then
30915 pkg_cv_PANGOXFT_CFLAGS
="$PANGOXFT_CFLAGS"
30917 if test -n "$PKG_CONFIG" && \
30918 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoxft\"") >&5
30919 ($PKG_CONFIG --exists --print-errors "pangoxft") 2>&5
30921 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30922 (exit $ac_status); }; then
30923 pkg_cv_PANGOXFT_CFLAGS
=`$PKG_CONFIG --cflags "pangoxft" 2>/dev/null`
30931 if test -n "$PKG_CONFIG"; then
30932 if test -n "$PANGOXFT_LIBS"; then
30933 pkg_cv_PANGOXFT_LIBS
="$PANGOXFT_LIBS"
30935 if test -n "$PKG_CONFIG" && \
30936 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoxft\"") >&5
30937 ($PKG_CONFIG --exists --print-errors "pangoxft") 2>&5
30939 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30940 (exit $ac_status); }; then
30941 pkg_cv_PANGOXFT_LIBS
=`$PKG_CONFIG --libs "pangoxft" 2>/dev/null`
30952 if test $pkg_failed = yes; then
30954 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
30955 _pkg_short_errors_supported
=yes
30957 _pkg_short_errors_supported
=no
30959 if test $_pkg_short_errors_supported = yes; then
30960 PANGOXFT_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangoxft"`
30962 PANGOXFT_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoxft"`
30964 # Put the nasty error message in config.log where it belongs
30965 echo "$PANGOXFT_PKG_ERRORS" >&5
30968 { echo "$as_me:$LINENO: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
30969 echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
30972 elif test $pkg_failed = untried
; then
30974 { echo "$as_me:$LINENO: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
30975 echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
30979 PANGOXFT_CFLAGS
=$pkg_cv_PANGOXFT_CFLAGS
30980 PANGOXFT_LIBS
=$pkg_cv_PANGOXFT_LIBS
30981 { echo "$as_me:$LINENO: result: yes" >&5
30982 echo "${ECHO_T}yes" >&6; }
30984 cat >>confdefs.h
<<\_ACEOF
30985 #define HAVE_PANGO_XFT 1
30988 CFLAGS
="$PANGOXFT_CFLAGS $CFLAGS"
30989 CXXFLAGS
="$PANGOXFT_CFLAGS $CXXFLAGS"
30990 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $PANGOXFT_LIBS"
30994 LIBS
="$LIBS $PANGOX_LIBS"
30996 for ac_func
in pango_font_family_is_monospace
30998 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30999 { echo "$as_me:$LINENO: checking for $ac_func" >&5
31000 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
31001 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
31002 echo $ECHO_N "(cached) $ECHO_C" >&6
31004 cat >conftest.
$ac_ext <<_ACEOF
31007 cat confdefs.h
>>conftest.
$ac_ext
31008 cat >>conftest.
$ac_ext <<_ACEOF
31009 /* end confdefs.h. */
31010 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31011 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31012 #define $ac_func innocuous_$ac_func
31014 /* System header to define __stub macros and hopefully few prototypes,
31015 which can conflict with char $ac_func (); below.
31016 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31017 <limits.h> exists even on freestanding compilers. */
31020 # include <limits.h>
31022 # include <assert.h>
31027 /* Override any GCC internal prototype to avoid an error.
31028 Use char because int might match the return type of a GCC
31029 builtin and then its argument prototype would still apply. */
31034 /* The GNU C library defines this for functions which it implements
31035 to always fail with ENOSYS. Some functions are actually named
31036 something starting with __ and the normal name is an alias. */
31037 #if defined __stub_$ac_func || defined __stub___$ac_func
31044 return $ac_func ();
31049 rm -f conftest.
$ac_objext conftest
$ac_exeext
31050 if { (ac_try
="$ac_link"
31051 case "(($ac_try" in
31052 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
31053 *) ac_try_echo=$ac_try;;
31055 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31056 (eval "$ac_link") 2>conftest.er1
31058 grep -v '^ *+' conftest.er1 >conftest.err
31060 cat conftest.err >&5
31061 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31062 (exit $ac_status); } && {
31063 test -z "$ac_c_werror_flag" ||
31064 test ! -s conftest.err
31065 } && test -s conftest$ac_exeext &&
31066 $as_test_x conftest$ac_exeext; then
31067 eval "$as_ac_var=yes"
31069 echo "$as_me: failed program was:" >&5
31070 sed 's/^/| /' conftest.$ac_ext >&5
31072 eval "$as_ac_var=no"
31075 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31076 conftest$ac_exeext conftest.$ac_ext
31078 ac_res=`eval echo '${'$as_ac_var'}'`
31079 { echo "$as_me:$LINENO: result: $ac_res" >&5
31080 echo "${ECHO_T}$ac_res" >&6; }
31081 if test `eval echo '${'$as_ac_var'}'` = yes; then
31082 cat >>confdefs.h <<_ACEOF
31083 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31092 wxUSE_UNIVERSAL="yes"
31094 if test "$wxUSE_NANOX" = "yes"; then
31095 TOOLKIT_INCLUDE="-I\$(top_srcdir)/include/wx/x11/nanox -I\$(MICROWIN)/src/include $TOOLKIT_INCLUDE"
31096 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"
31097 GUI_TK_LIBRARY="$GUI_TK_LIBRARY \$(MICROWIN)/src/lib/libnano-X.a"
31099 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lX11"
31106 if test "$wxUSE_MOTIF" = 1; then
31107 if test "$wxUSE_UNICODE" = "yes"; then
31108 { { echo "$as_me:$LINENO: error: Unicode configuration not supported with Motif" >&5
31109 echo "$as_me: error: Unicode configuration not supported with Motif" >&2;}
31110 { (exit 1); exit 1; }; }
31113 { echo "$as_me:$LINENO: checking for Motif/Lesstif headers" >&5
31114 echo $ECHO_N "checking for Motif/Lesstif headers... $ECHO_C" >&6; }
31117 for ac_dir in $SEARCH_INCLUDE /usr/include;
31119 if test -f "$ac_dir/Xm/Xm.h"; then
31120 ac_find_includes=$ac_dir
31125 if test "$ac_find_includes" != "" ; then
31126 { echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
31127 echo "${ECHO_T}found in $ac_find_includes" >&6; }
31129 if test "x$ac_find_includes" = "x/usr/include"; then
31130 ac_path_to_include=""
31132 echo "$TOOLKIT_INCLUDE" | grep "\-I$ac_find_includes" > /dev/null
31134 if test $result = 0; then
31135 ac_path_to_include=""
31137 ac_path_to_include=" -I$ac_find_includes"
31141 TOOLKIT_INCLUDE="$TOOLKIT_INCLUDE$ac_path_to_include"
31143 save_CFLAGS=$CFLAGS
31144 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
31146 cat >conftest.$ac_ext <<_ACEOF
31149 cat confdefs.h >>conftest.$ac_ext
31150 cat >>conftest.$ac_ext <<_ACEOF
31151 /* end confdefs.h. */
31160 version = xmUseVersion;
31166 rm -f conftest.$ac_objext
31167 if { (ac_try="$ac_compile"
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_compile") 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_objext; then
31184 { echo "$as_me:$LINENO: result: found in default search path" >&5
31185 echo "${ECHO_T}found in default search path" >&6; }
31186 COMPILED_X_PROGRAM
=1
31189 echo "$as_me: failed program was:" >&5
31190 sed 's/^/| /' conftest.
$ac_ext >&5
31193 { echo "$as_me:$LINENO: result: no" >&5
31194 echo "${ECHO_T}no" >&6; }
31195 { { echo "$as_me:$LINENO: error: please set CPPFLAGS to contain the location of Xm/Xm.h" >&5
31196 echo "$as_me: error: please set CPPFLAGS to contain the location of Xm/Xm.h" >&2;}
31197 { (exit 1); exit 1; }; }
31202 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
31204 CFLAGS
=$save_CFLAGS
31208 { echo "$as_me:$LINENO: checking for Motif/Lesstif library" >&5
31209 echo $ECHO_N "checking for Motif/Lesstif library... $ECHO_C" >&6; }
31212 for ac_dir
in $SEARCH_LIB;
31214 for ac_extension
in a so sl dylib dll.a
; do
31215 if test -f "$ac_dir/libXm.$ac_extension"; then
31216 ac_find_libraries
=$ac_dir
31223 if test "x$ac_find_libraries" != "x" ; then
31224 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
31225 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
31228 if test "$ac_find_libraries" = "default location"; then
31231 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev
/null
31233 if test $result = 0; then
31236 ac_path_to_link
=" -L$ac_find_libraries"
31240 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY$ac_path_to_link"
31242 save_CFLAGS
=$CFLAGS
31243 CFLAGS
="$TOOLKIT_INCLUDE $CFLAGS"
31245 LIBS
="$GUI_TK_LIBRARY -lXm -lXmu -lXext -lX11"
31247 cat >conftest.
$ac_ext <<_ACEOF
31250 cat confdefs.h
>>conftest.
$ac_ext
31251 cat >>conftest.
$ac_ext <<_ACEOF
31252 /* end confdefs.h. */
31261 version = xmUseVersion;
31267 rm -f conftest.
$ac_objext conftest
$ac_exeext
31268 if { (ac_try
="$ac_link"
31269 case "(($ac_try" in
31270 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
31271 *) ac_try_echo=$ac_try;;
31273 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31274 (eval "$ac_link") 2>conftest.er1
31276 grep -v '^ *+' conftest.er1 >conftest.err
31278 cat conftest.err >&5
31279 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31280 (exit $ac_status); } && {
31281 test -z "$ac_c_werror_flag" ||
31282 test ! -s conftest.err
31283 } && test -s conftest$ac_exeext &&
31284 $as_test_x conftest$ac_exeext; then
31286 { echo "$as_me:$LINENO: result: found in default search path" >&5
31287 echo "${ECHO_T}found in default search path" >&6; }
31288 COMPILED_X_PROGRAM=1
31291 echo "$as_me: failed program was:" >&5
31292 sed 's/^/| /' conftest.$ac_ext >&5
31295 { echo "$as_me:$LINENO: result: no" >&5
31296 echo "${ECHO_T}no" >&6; }
31297 { { echo "$as_me:$LINENO: error: please set LDFLAGS to contain the location of libXm" >&5
31298 echo "$as_me: error: please set LDFLAGS to contain the location of libXm" >&2;}
31299 { (exit 1); exit 1; }; }
31304 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31305 conftest$ac_exeext conftest.$ac_ext
31307 CFLAGS=$save_CFLAGS
31311 { echo "$as_me:$LINENO: checking if we need -lXp and/or -lSM -lICE" >&5
31312 echo $ECHO_N "checking if we need -lXp and/or -lSM -lICE... $ECHO_C" >&6; }
31316 for libp in "" " -lXp"; do
31317 if test "$libs_found" = "0"; then
31318 for libsm_ice in "" " -lSM -lICE"; do
31319 if test "$libs_found" = "0"; then
31321 LIBS="$GUI_TK_LIBRARY -lXm ${libp} -lXmu -lXext -lXt${libsm_ice} -lX11"
31322 save_CFLAGS=$CFLAGS
31323 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
31325 cat >conftest.$ac_ext <<_ACEOF
31328 cat confdefs.h >>conftest.$ac_ext
31329 cat >>conftest.$ac_ext <<_ACEOF
31330 /* end confdefs.h. */
31333 #include <Xm/List.h>
31339 XmString string = NULL;
31342 XmListAddItem(w, string, position);
31348 rm -f conftest.$ac_objext conftest$ac_exeext
31349 if { (ac_try="$ac_link"
31350 case "(($ac_try" in
31351 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
31352 *) ac_try_echo
=$ac_try;;
31354 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31355 (eval "$ac_link") 2>conftest.er1
31357 grep -v '^ *+' conftest.er1
>conftest.err
31359 cat conftest.err
>&5
31360 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31361 (exit $ac_status); } && {
31362 test -z "$ac_c_werror_flag" ||
31363 test ! -s conftest.err
31364 } && test -s conftest
$ac_exeext &&
31365 $as_test_x conftest
$ac_exeext; then
31368 libsm_ice_link
="$libsm_ice"
31369 { echo "$as_me:$LINENO: result: need${libp_link}${libsm_ice_link}" >&5
31370 echo "${ECHO_T}need${libp_link}${libsm_ice_link}" >&6; }
31374 echo "$as_me: failed program was:" >&5
31375 sed 's/^/| /' conftest.
$ac_ext >&5
31381 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
31382 conftest
$ac_exeext conftest.
$ac_ext
31385 CFLAGS
=$save_CFLAGS
31391 if test "$libs_found" = "0"; then
31392 { echo "$as_me:$LINENO: result: can't find the right libraries" >&5
31393 echo "${ECHO_T}can't find the right libraries" >&6; }
31394 { { echo "$as_me:$LINENO: error: can't link a simple motif program" >&5
31395 echo "$as_me: error: can't link a simple motif program" >&2;}
31396 { (exit 1); exit 1; }; }
31399 { echo "$as_me:$LINENO: checking for SgCreateList in -lSgm" >&5
31400 echo $ECHO_N "checking for SgCreateList in -lSgm... $ECHO_C" >&6; }
31401 if test "${ac_cv_lib_Sgm_SgCreateList+set}" = set; then
31402 echo $ECHO_N "(cached) $ECHO_C" >&6
31404 ac_check_lib_save_LIBS
=$LIBS
31406 cat >conftest.
$ac_ext <<_ACEOF
31409 cat confdefs.h
>>conftest.
$ac_ext
31410 cat >>conftest.
$ac_ext <<_ACEOF
31411 /* end confdefs.h. */
31413 /* Override any GCC internal prototype to avoid an error.
31414 Use char because int might match the return type of a GCC
31415 builtin and then its argument prototype would still apply. */
31419 char SgCreateList ();
31423 return SgCreateList ();
31428 rm -f conftest.
$ac_objext conftest
$ac_exeext
31429 if { (ac_try
="$ac_link"
31430 case "(($ac_try" in
31431 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
31432 *) ac_try_echo=$ac_try;;
31434 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31435 (eval "$ac_link") 2>conftest.er1
31437 grep -v '^ *+' conftest.er1 >conftest.err
31439 cat conftest.err >&5
31440 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31441 (exit $ac_status); } && {
31442 test -z "$ac_c_werror_flag" ||
31443 test ! -s conftest.err
31444 } && test -s conftest$ac_exeext &&
31445 $as_test_x conftest$ac_exeext; then
31446 ac_cv_lib_Sgm_SgCreateList=yes
31448 echo "$as_me: failed program was:" >&5
31449 sed 's/^/| /' conftest.$ac_ext >&5
31451 ac_cv_lib_Sgm_SgCreateList=no
31454 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31455 conftest$ac_exeext conftest.$ac_ext
31456 LIBS=$ac_check_lib_save_LIBS
31458 { echo "$as_me:$LINENO: result: $ac_cv_lib_Sgm_SgCreateList" >&5
31459 echo "${ECHO_T}$ac_cv_lib_Sgm_SgCreateList" >&6; }
31460 if test $ac_cv_lib_Sgm_SgCreateList = yes; then
31461 libsgm_link=" -lSgm"
31465 save_CFLAGS=$CFLAGS
31466 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
31468 { echo "$as_me:$LINENO: checking for Motif 2" >&5
31469 echo $ECHO_N "checking for Motif 2... $ECHO_C" >&6; }
31470 if test "${wx_cv_lib_motif2+set}" = set; then
31471 echo $ECHO_N "(cached) $ECHO_C" >&6
31473 cat >conftest.$ac_ext <<_ACEOF
31476 cat confdefs.h >>conftest.$ac_ext
31477 cat >>conftest.$ac_ext <<_ACEOF
31478 /* end confdefs.h. */
31486 #if XmVersion < 2000
31494 rm -f conftest.$ac_objext
31495 if { (ac_try="$ac_compile"
31496 case "(($ac_try" in
31497 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
31498 *) ac_try_echo
=$ac_try;;
31500 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31501 (eval "$ac_compile") 2>conftest.er1
31503 grep -v '^ *+' conftest.er1
>conftest.err
31505 cat conftest.err
>&5
31506 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31507 (exit $ac_status); } && {
31508 test -z "$ac_c_werror_flag" ||
31509 test ! -s conftest.err
31510 } && test -s conftest.
$ac_objext; then
31511 wx_cv_lib_motif2
="yes"
31513 echo "$as_me: failed program was:" >&5
31514 sed 's/^/| /' conftest.
$ac_ext >&5
31516 wx_cv_lib_motif2
="no"
31519 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
31521 { echo "$as_me:$LINENO: result: $wx_cv_lib_motif2" >&5
31522 echo "${ECHO_T}$wx_cv_lib_motif2" >&6; }
31523 if test "$wx_cv_lib_motif2" = "yes"; then
31524 cat >>confdefs.h
<<\_ACEOF
31525 #define __WXMOTIF20__ 1
31529 cat >>confdefs.h
<<\_ACEOF
31530 #define __WXMOTIF20__ 0
31535 { echo "$as_me:$LINENO: checking whether Motif is Lesstif" >&5
31536 echo $ECHO_N "checking whether Motif is Lesstif... $ECHO_C" >&6; }
31537 if test "${wx_cv_lib_lesstif+set}" = set; then
31538 echo $ECHO_N "(cached) $ECHO_C" >&6
31540 cat >conftest.
$ac_ext <<_ACEOF
31543 cat confdefs.h
>>conftest.
$ac_ext
31544 cat >>conftest.
$ac_ext <<_ACEOF
31545 /* end confdefs.h. */
31553 #if !defined(LesstifVersion) || LesstifVersion <= 0
31561 rm -f conftest.
$ac_objext
31562 if { (ac_try
="$ac_compile"
31563 case "(($ac_try" in
31564 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
31565 *) ac_try_echo=$ac_try;;
31567 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31568 (eval "$ac_compile") 2>conftest.er1
31570 grep -v '^ *+' conftest.er1 >conftest.err
31572 cat conftest.err >&5
31573 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31574 (exit $ac_status); } && {
31575 test -z "$ac_c_werror_flag" ||
31576 test ! -s conftest.err
31577 } && test -s conftest.$ac_objext; then
31578 wx_cv_lib_lesstif="yes"
31580 echo "$as_me: failed program was:" >&5
31581 sed 's/^/| /' conftest.$ac_ext >&5
31583 wx_cv_lib_lesstif="no"
31586 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31589 { echo "$as_me:$LINENO: result: $wx_cv_lib_lesstif" >&5
31590 echo "${ECHO_T}$wx_cv_lib_lesstif" >&6; }
31591 if test "$wx_cv_lib_lesstif" = "yes"; then
31592 cat >>confdefs.h <<\_ACEOF
31593 #define __WXLESSTIF__ 1
31597 cat >>confdefs.h <<\_ACEOF
31598 #define __WXLESSTIF__ 0
31603 CFLAGS=$save_CFLAGS
31605 GUI_TK_LIBRARY="$GUI_TK_LIBRARY${libsgm_link} -lXm${libp_link} -lXmu -lXext -lXt${libsm_ice_link} -lX11"
31610 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
31611 if test "$wxUSE_LIBXPM" = "sys"; then
31612 { echo "$as_me:$LINENO: checking for Xpm library" >&5
31613 echo $ECHO_N "checking for Xpm library... $ECHO_C" >&6; }
31616 for ac_dir in $SEARCH_LIB;
31618 for ac_extension in a so sl dylib dll.a; do
31619 if test -f "$ac_dir/libXpm.$ac_extension"; then
31620 ac_find_libraries=$ac_dir
31626 if test "$ac_find_libraries" != "" ; then
31628 if test "$ac_find_libraries" = "default location"; then
31631 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
31633 if test $result = 0; then
31636 ac_path_to_link=" -L$ac_find_libraries"
31640 GUI_TK_LIBRARY="$GUI_TK_LIBRARY$ac_path_to_link"
31641 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
31642 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
31644 { echo "$as_me:$LINENO: checking for X11/xpm.h" >&5
31645 echo $ECHO_N "checking for X11/xpm.h... $ECHO_C" >&6; }
31646 if test "${wx_cv_x11_xpm_h+set}" = set; then
31647 echo $ECHO_N "(cached) $ECHO_C" >&6
31650 save_CFLAGS=$CFLAGS
31651 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
31653 cat >conftest.$ac_ext <<_ACEOF
31656 cat confdefs.h >>conftest.$ac_ext
31657 cat >>conftest.$ac_ext <<_ACEOF
31658 /* end confdefs.h. */
31660 #include <X11/xpm.h>
31667 version = XpmLibraryVersion();
31673 rm -f conftest.$ac_objext
31674 if { (ac_try="$ac_compile"
31675 case "(($ac_try" in
31676 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
31677 *) ac_try_echo
=$ac_try;;
31679 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31680 (eval "$ac_compile") 2>conftest.er1
31682 grep -v '^ *+' conftest.er1
>conftest.err
31684 cat conftest.err
>&5
31685 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31686 (exit $ac_status); } && {
31687 test -z "$ac_c_werror_flag" ||
31688 test ! -s conftest.err
31689 } && test -s conftest.
$ac_objext; then
31690 wx_cv_x11_xpm_h
=yes
31692 echo "$as_me: failed program was:" >&5
31693 sed 's/^/| /' conftest.
$ac_ext >&5
31699 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
31701 CFLAGS
=$save_CFLAGS
31705 { echo "$as_me:$LINENO: result: $wx_cv_x11_xpm_h" >&5
31706 echo "${ECHO_T}$wx_cv_x11_xpm_h" >&6; }
31708 if test $wx_cv_x11_xpm_h = "yes"; then
31709 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lXpm"
31710 cat >>confdefs.h
<<\_ACEOF
31711 #define wxHAVE_LIB_XPM 1
31715 { echo "$as_me:$LINENO: WARNING: built-in less efficient XPM decoder will be used" >&5
31716 echo "$as_me: WARNING: built-in less efficient XPM decoder will be used" >&2;}
31722 { echo "$as_me:$LINENO: checking for XShapeQueryExtension in -lXext" >&5
31723 echo $ECHO_N "checking for XShapeQueryExtension in -lXext... $ECHO_C" >&6; }
31724 if test "${ac_cv_lib_Xext_XShapeQueryExtension+set}" = set; then
31725 echo $ECHO_N "(cached) $ECHO_C" >&6
31727 ac_check_lib_save_LIBS
=$LIBS
31728 LIBS
="-lXext $GUI_TK_LIBRARY -lX11 $LIBS"
31729 cat >conftest.
$ac_ext <<_ACEOF
31732 cat confdefs.h
>>conftest.
$ac_ext
31733 cat >>conftest.
$ac_ext <<_ACEOF
31734 /* end confdefs.h. */
31736 /* Override any GCC internal prototype to avoid an error.
31737 Use char because int might match the return type of a GCC
31738 builtin and then its argument prototype would still apply. */
31742 char XShapeQueryExtension ();
31746 return XShapeQueryExtension ();
31751 rm -f conftest.
$ac_objext conftest
$ac_exeext
31752 if { (ac_try
="$ac_link"
31753 case "(($ac_try" in
31754 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
31755 *) ac_try_echo=$ac_try;;
31757 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31758 (eval "$ac_link") 2>conftest.er1
31760 grep -v '^ *+' conftest.er1 >conftest.err
31762 cat conftest.err >&5
31763 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31764 (exit $ac_status); } && {
31765 test -z "$ac_c_werror_flag" ||
31766 test ! -s conftest.err
31767 } && test -s conftest$ac_exeext &&
31768 $as_test_x conftest$ac_exeext; then
31769 ac_cv_lib_Xext_XShapeQueryExtension=yes
31771 echo "$as_me: failed program was:" >&5
31772 sed 's/^/| /' conftest.$ac_ext >&5
31774 ac_cv_lib_Xext_XShapeQueryExtension=no
31777 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31778 conftest$ac_exeext conftest.$ac_ext
31779 LIBS=$ac_check_lib_save_LIBS
31781 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
31782 echo "${ECHO_T}$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
31783 if test $ac_cv_lib_Xext_XShapeQueryExtension = yes; then
31785 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXext"
31791 if test "$wxHAVE_XEXT_LIB" = 1; then
31792 save_CFLAGS="$CFLAGS"
31793 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
31795 { echo "$as_me:$LINENO: checking for X11/extensions/shape.h" >&5
31796 echo $ECHO_N "checking for X11/extensions/shape.h... $ECHO_C" >&6; }
31797 cat >conftest.$ac_ext <<_ACEOF
31800 cat confdefs.h >>conftest.$ac_ext
31801 cat >>conftest.$ac_ext <<_ACEOF
31802 /* end confdefs.h. */
31804 #include <X11/Xlib.h>
31805 #include <X11/extensions/shape.h>
31811 int dummy1, dummy2;
31812 XShapeQueryExtension((Display*)NULL,
31813 (int*)NULL, (int*)NULL);
31819 rm -f conftest.$ac_objext
31820 if { (ac_try="$ac_compile"
31821 case "(($ac_try" in
31822 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
31823 *) ac_try_echo
=$ac_try;;
31825 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31826 (eval "$ac_compile") 2>conftest.er1
31828 grep -v '^ *+' conftest.er1
>conftest.err
31830 cat conftest.err
>&5
31831 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31832 (exit $ac_status); } && {
31833 test -z "$ac_c_werror_flag" ||
31834 test ! -s conftest.err
31835 } && test -s conftest.
$ac_objext; then
31837 cat >>confdefs.h
<<\_ACEOF
31838 #define HAVE_XSHAPE 1
31841 { echo "$as_me:$LINENO: result: found" >&5
31842 echo "${ECHO_T}found" >&6; }
31845 echo "$as_me: failed program was:" >&5
31846 sed 's/^/| /' conftest.
$ac_ext >&5
31849 { echo "$as_me:$LINENO: result: not found" >&5
31850 echo "${ECHO_T}not found" >&6; }
31854 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
31855 CFLAGS
="$save_CFLAGS"
31860 if test "$wxUSE_MAC" = 1; then
31861 { echo "$as_me:$LINENO: checking for compiler syntax to enable Pascal strings" >&5
31862 echo $ECHO_N "checking for compiler syntax to enable Pascal strings... $ECHO_C" >&6; }
31863 if test "$GCC" = yes; then
31864 { echo "$as_me:$LINENO: result: gcc" >&5
31865 echo "${ECHO_T}gcc" >&6; }
31866 CPPFLAGS_PASCAL
="-fpascal-strings"
31867 elif test "`echo $CXX | sed -e 's@.*/@@'`" = "xlC"; then
31868 { echo "$as_me:$LINENO: result: xlc" >&5
31869 echo "${ECHO_T}xlc" >&6; }
31870 CPPFLAGS_PASCAL
="-qmacpstr"
31872 { echo "$as_me:$LINENO: result: none" >&5
31873 echo "${ECHO_T}none" >&6; }
31876 if test "x$wxUSE_UNIX" = "xyes"; then
31877 CPPFLAGS
="$CPPFLAGS_PASCAL -I\${top_srcdir}/src/mac/carbon/morefilex -I/Developer/Headers/FlatCarbon $CPPFLAGS"
31879 CPPFLAGS
="$CPPFLAGS_PASCAL -I\${top_srcdir}/src/mac/carbon/morefilex -DTARGET_CARBON $CPPFLAGS"
31884 WXBASEPORT
="_carbon"
31887 if test "$wxUSE_COCOA" = 1; then
31892 if test "$wxUSE_PM" = 1; then
31895 { echo "$as_me:$LINENO: checking for type SPBCDATA" >&5
31896 echo $ECHO_N "checking for type SPBCDATA... $ECHO_C" >&6; }
31897 if test "${wx_cv_spbcdata+set}" = set; then
31898 echo $ECHO_N "(cached) $ECHO_C" >&6
31901 cat >conftest.
$ac_ext <<_ACEOF
31904 cat confdefs.h
>>conftest.
$ac_ext
31905 cat >>conftest.
$ac_ext <<_ACEOF
31906 /* end confdefs.h. */
31921 rm -f conftest.
$ac_objext
31922 if { (ac_try
="$ac_compile"
31923 case "(($ac_try" in
31924 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
31925 *) ac_try_echo=$ac_try;;
31927 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31928 (eval "$ac_compile") 2>conftest.er1
31930 grep -v '^ *+' conftest.er1 >conftest.err
31932 cat conftest.err >&5
31933 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31934 (exit $ac_status); } && {
31935 test -z "$ac_c_werror_flag" ||
31936 test ! -s conftest.err
31937 } && test -s conftest.$ac_objext; then
31940 echo "$as_me: failed program was:" >&5
31941 sed 's/^/| /' conftest.$ac_ext >&5
31947 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31951 { echo "$as_me:$LINENO: result: $wx_cv_spbcdata" >&5
31952 echo "${ECHO_T}$wx_cv_spbcdata" >&6; }
31954 if test $wx_cv_spbcdata = "yes"; then
31955 cat >>confdefs.h <<\_ACEOF
31956 #define HAVE_SPBCDATA 1
31962 if test "$TOOLKIT" = "PM" ; then
31965 TOOLKIT_DIR=`echo ${TOOLKIT} | tr "[A-Z]" "[a-z]"`
31968 if test "$wxUSE_UNIVERSAL" = "yes"; then
31969 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXUNIVERSAL__"
31973 GUIDIST="${GUIDIST} SAMPLES_DIST DEMOS_DIST UTILS_DIST MISC_DIST"
31974 DISTDIR="wx\$(TOOLKIT)"
31980 if test "$USE_WIN32" = 1 ; then
31984 GUIDIST="BASE_DIST"
31990 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_UTF8" = "auto" ; then
31991 if test "$TOOLKIT" = "DFB" ; then
31992 wxUSE_UNICODE_UTF8=yes
31993 elif test "$TOOLKIT" = "GTK" -a "$WXGTK20" = "1" ; then
31994 wxUSE_UNICODE_UTF8=yes
31995 elif test "$USE_OS2" = "1" ; then
31996 wxUSE_UNICODE_UTF8=yes
31998 wxUSE_UNICODE_UTF8=no
32003 if test "$wxUSE_GUI" = "yes"; then
32004 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_PM" != 1; then
32005 { echo "$as_me:$LINENO: checking for X11/Xlib.h" >&5
32006 echo $ECHO_N "checking for X11/Xlib.h... $ECHO_C" >&6; }
32007 if test "${ac_cv_header_X11_Xlib_h+set}" = set; then
32008 echo $ECHO_N "(cached) $ECHO_C" >&6
32010 cat >conftest.$ac_ext <<_ACEOF
32013 cat confdefs.h >>conftest.$ac_ext
32014 cat >>conftest.$ac_ext <<_ACEOF
32015 /* end confdefs.h. */
32018 #include <X11/Xlib.h>
32020 rm -f conftest.$ac_objext
32021 if { (ac_try="$ac_compile"
32022 case "(($ac_try" in
32023 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
32024 *) ac_try_echo
=$ac_try;;
32026 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32027 (eval "$ac_compile") 2>conftest.er1
32029 grep -v '^ *+' conftest.er1
>conftest.err
32031 cat conftest.err
>&5
32032 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32033 (exit $ac_status); } && {
32034 test -z "$ac_c_werror_flag" ||
32035 test ! -s conftest.err
32036 } && test -s conftest.
$ac_objext; then
32037 ac_cv_header_X11_Xlib_h
=yes
32039 echo "$as_me: failed program was:" >&5
32040 sed 's/^/| /' conftest.
$ac_ext >&5
32042 ac_cv_header_X11_Xlib_h
=no
32045 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
32047 { echo "$as_me:$LINENO: result: $ac_cv_header_X11_Xlib_h" >&5
32048 echo "${ECHO_T}$ac_cv_header_X11_Xlib_h" >&6; }
32051 { echo "$as_me:$LINENO: checking for X11/XKBlib.h" >&5
32052 echo $ECHO_N "checking for X11/XKBlib.h... $ECHO_C" >&6; }
32053 if test "${ac_cv_header_X11_XKBlib_h+set}" = set; then
32054 echo $ECHO_N "(cached) $ECHO_C" >&6
32056 cat >conftest.
$ac_ext <<_ACEOF
32059 cat confdefs.h
>>conftest.
$ac_ext
32060 cat >>conftest.
$ac_ext <<_ACEOF
32061 /* end confdefs.h. */
32063 #if HAVE_X11_XLIB_H
32064 #include <X11/Xlib.h>
32068 #include <X11/XKBlib.h>
32070 rm -f conftest.
$ac_objext
32071 if { (ac_try
="$ac_compile"
32072 case "(($ac_try" in
32073 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
32074 *) ac_try_echo=$ac_try;;
32076 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32077 (eval "$ac_compile") 2>conftest.er1
32079 grep -v '^ *+' conftest.er1 >conftest.err
32081 cat conftest.err >&5
32082 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32083 (exit $ac_status); } && {
32084 test -z "$ac_c_werror_flag" ||
32085 test ! -s conftest.err
32086 } && test -s conftest.$ac_objext; then
32087 ac_cv_header_X11_XKBlib_h=yes
32089 echo "$as_me: failed program was:" >&5
32090 sed 's/^/| /' conftest.$ac_ext >&5
32092 ac_cv_header_X11_XKBlib_h=no
32095 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32097 { echo "$as_me:$LINENO: result: $ac_cv_header_X11_XKBlib_h" >&5
32098 echo "${ECHO_T}$ac_cv_header_X11_XKBlib_h" >&6; }
32109 if test "$TOOLKIT" != "MSW" ; then
32111 if test "$wxUSE_ODBC" = "sys" -o "$wxUSE_ODBC" = "yes" ; then
32113 { echo "$as_me:$LINENO: checking for sql.h" >&5
32114 echo $ECHO_N "checking for sql.h... $ECHO_C" >&6; }
32115 if test "${ac_cv_header_sql_h+set}" = set; then
32116 echo $ECHO_N "(cached) $ECHO_C" >&6
32118 cat >conftest.$ac_ext <<_ACEOF
32121 cat confdefs.h >>conftest.$ac_ext
32122 cat >>conftest.$ac_ext <<_ACEOF
32123 /* end confdefs.h. */
32128 rm -f conftest.$ac_objext
32129 if { (ac_try="$ac_compile"
32130 case "(($ac_try" in
32131 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
32132 *) ac_try_echo
=$ac_try;;
32134 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32135 (eval "$ac_compile") 2>conftest.er1
32137 grep -v '^ *+' conftest.er1
>conftest.err
32139 cat conftest.err
>&5
32140 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32141 (exit $ac_status); } && {
32142 test -z "$ac_c_werror_flag" ||
32143 test ! -s conftest.err
32144 } && test -s conftest.
$ac_objext; then
32145 ac_cv_header_sql_h
=yes
32147 echo "$as_me: failed program was:" >&5
32148 sed 's/^/| /' conftest.
$ac_ext >&5
32150 ac_cv_header_sql_h
=no
32153 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
32155 { echo "$as_me:$LINENO: result: $ac_cv_header_sql_h" >&5
32156 echo "${ECHO_T}$ac_cv_header_sql_h" >&6; }
32157 if test $ac_cv_header_sql_h = yes; then
32162 if test "x$found_sql_h" = "x1" ; then
32163 { echo "$as_me:$LINENO: checking for SQLAllocEnv in -liodbc" >&5
32164 echo $ECHO_N "checking for SQLAllocEnv in -liodbc... $ECHO_C" >&6; }
32165 if test "${ac_cv_lib_iodbc_SQLAllocEnv+set}" = set; then
32166 echo $ECHO_N "(cached) $ECHO_C" >&6
32168 ac_check_lib_save_LIBS
=$LIBS
32169 LIBS
="-liodbc $LIBS"
32170 cat >conftest.
$ac_ext <<_ACEOF
32173 cat confdefs.h
>>conftest.
$ac_ext
32174 cat >>conftest.
$ac_ext <<_ACEOF
32175 /* end confdefs.h. */
32177 /* Override any GCC internal prototype to avoid an error.
32178 Use char because int might match the return type of a GCC
32179 builtin and then its argument prototype would still apply. */
32183 char SQLAllocEnv ();
32187 return SQLAllocEnv ();
32192 rm -f conftest.
$ac_objext conftest
$ac_exeext
32193 if { (ac_try
="$ac_link"
32194 case "(($ac_try" in
32195 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
32196 *) ac_try_echo=$ac_try;;
32198 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32199 (eval "$ac_link") 2>conftest.er1
32201 grep -v '^ *+' conftest.er1 >conftest.err
32203 cat conftest.err >&5
32204 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32205 (exit $ac_status); } && {
32206 test -z "$ac_c_werror_flag" ||
32207 test ! -s conftest.err
32208 } && test -s conftest$ac_exeext &&
32209 $as_test_x conftest$ac_exeext; then
32210 ac_cv_lib_iodbc_SQLAllocEnv=yes
32212 echo "$as_me: failed program was:" >&5
32213 sed 's/^/| /' conftest.$ac_ext >&5
32215 ac_cv_lib_iodbc_SQLAllocEnv=no
32218 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32219 conftest$ac_exeext conftest.$ac_ext
32220 LIBS=$ac_check_lib_save_LIBS
32222 { echo "$as_me:$LINENO: result: $ac_cv_lib_iodbc_SQLAllocEnv" >&5
32223 echo "${ECHO_T}$ac_cv_lib_iodbc_SQLAllocEnv" >&6; }
32224 if test $ac_cv_lib_iodbc_SQLAllocEnv = yes; then
32225 ODBC_LINK=" -liodbc"
32228 { echo "$as_me:$LINENO: checking for SQLAllocEnv in -lunixodbc" >&5
32229 echo $ECHO_N "checking for SQLAllocEnv in -lunixodbc... $ECHO_C" >&6; }
32230 if test "${ac_cv_lib_unixodbc_SQLAllocEnv+set}" = set; then
32231 echo $ECHO_N "(cached) $ECHO_C" >&6
32233 ac_check_lib_save_LIBS=$LIBS
32234 LIBS="-lunixodbc $LIBS"
32235 cat >conftest.$ac_ext <<_ACEOF
32238 cat confdefs.h >>conftest.$ac_ext
32239 cat >>conftest.$ac_ext <<_ACEOF
32240 /* end confdefs.h. */
32242 /* Override any GCC internal prototype to avoid an error.
32243 Use char because int might match the return type of a GCC
32244 builtin and then its argument prototype would still apply. */
32248 char SQLAllocEnv ();
32252 return SQLAllocEnv ();
32257 rm -f conftest.$ac_objext conftest$ac_exeext
32258 if { (ac_try="$ac_link"
32259 case "(($ac_try" in
32260 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
32261 *) ac_try_echo
=$ac_try;;
32263 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32264 (eval "$ac_link") 2>conftest.er1
32266 grep -v '^ *+' conftest.er1
>conftest.err
32268 cat conftest.err
>&5
32269 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32270 (exit $ac_status); } && {
32271 test -z "$ac_c_werror_flag" ||
32272 test ! -s conftest.err
32273 } && test -s conftest
$ac_exeext &&
32274 $as_test_x conftest
$ac_exeext; then
32275 ac_cv_lib_unixodbc_SQLAllocEnv
=yes
32277 echo "$as_me: failed program was:" >&5
32278 sed 's/^/| /' conftest.
$ac_ext >&5
32280 ac_cv_lib_unixodbc_SQLAllocEnv
=no
32283 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
32284 conftest
$ac_exeext conftest.
$ac_ext
32285 LIBS
=$ac_check_lib_save_LIBS
32287 { echo "$as_me:$LINENO: result: $ac_cv_lib_unixodbc_SQLAllocEnv" >&5
32288 echo "${ECHO_T}$ac_cv_lib_unixodbc_SQLAllocEnv" >&6; }
32289 if test $ac_cv_lib_unixodbc_SQLAllocEnv = yes; then
32290 ODBC_LINK
=" -lunixodbc"
32293 { echo "$as_me:$LINENO: checking for SQLAllocEnv in -lodbc" >&5
32294 echo $ECHO_N "checking for SQLAllocEnv in -lodbc... $ECHO_C" >&6; }
32295 if test "${ac_cv_lib_odbc_SQLAllocEnv+set}" = set; then
32296 echo $ECHO_N "(cached) $ECHO_C" >&6
32298 ac_check_lib_save_LIBS
=$LIBS
32299 LIBS
="-lodbc $LIBS"
32300 cat >conftest.
$ac_ext <<_ACEOF
32303 cat confdefs.h
>>conftest.
$ac_ext
32304 cat >>conftest.
$ac_ext <<_ACEOF
32305 /* end confdefs.h. */
32307 /* Override any GCC internal prototype to avoid an error.
32308 Use char because int might match the return type of a GCC
32309 builtin and then its argument prototype would still apply. */
32313 char SQLAllocEnv ();
32317 return SQLAllocEnv ();
32322 rm -f conftest.
$ac_objext conftest
$ac_exeext
32323 if { (ac_try
="$ac_link"
32324 case "(($ac_try" in
32325 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
32326 *) ac_try_echo=$ac_try;;
32328 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32329 (eval "$ac_link") 2>conftest.er1
32331 grep -v '^ *+' conftest.er1 >conftest.err
32333 cat conftest.err >&5
32334 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32335 (exit $ac_status); } && {
32336 test -z "$ac_c_werror_flag" ||
32337 test ! -s conftest.err
32338 } && test -s conftest$ac_exeext &&
32339 $as_test_x conftest$ac_exeext; then
32340 ac_cv_lib_odbc_SQLAllocEnv=yes
32342 echo "$as_me: failed program was:" >&5
32343 sed 's/^/| /' conftest.$ac_ext >&5
32345 ac_cv_lib_odbc_SQLAllocEnv=no
32348 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32349 conftest$ac_exeext conftest.$ac_ext
32350 LIBS=$ac_check_lib_save_LIBS
32352 { echo "$as_me:$LINENO: result: $ac_cv_lib_odbc_SQLAllocEnv" >&5
32353 echo "${ECHO_T}$ac_cv_lib_odbc_SQLAllocEnv" >&6; }
32354 if test $ac_cv_lib_odbc_SQLAllocEnv = yes; then
32355 ODBC_LINK=" -lodbc"
32365 if test "x$ODBC_LINK" = "x" ; then
32366 if test "$wxUSE_ODBC" = "sys" ; then
32367 { { echo "$as_me:$LINENO: error: system ODBC library not found! Use --with-odbc=builtin to use built-in version" >&5
32368 echo "$as_me: error: system ODBC library not found! Use --with-odbc=builtin to use built-in version" >&2;}
32369 { (exit 1); exit 1; }; }
32371 { echo "$as_me:$LINENO: WARNING: system ODBC library not found, will use built-in instead" >&5
32372 echo "$as_me: WARNING: system ODBC library not found, will use built-in instead" >&2;}
32380 if test "$wxUSE_ODBC" = "builtin" ; then
32381 cat >>confdefs.h <<\_ACEOF
32382 #define wxUSE_BUILTIN_IODBC 1
32388 if test "$wxUSE_ODBC" != "no" ; then
32389 cat >>confdefs.h <<\_ACEOF
32390 #define wxUSE_ODBC 1
32393 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS db"
32395 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_IODBC_"
32399 if test "$wxUSE_DISPLAY" = "yes"; then
32400 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1; then
32401 { echo "$as_me:$LINENO: checking for Xinerama" >&5
32402 echo $ECHO_N "checking for Xinerama... $ECHO_C" >&6; }
32405 for ac_dir in $SEARCH_LIB;
32407 for ac_extension in a so sl dylib dll.a; do
32408 if test -f "$ac_dir/libXinerama.$ac_extension"; then
32409 ac_find_libraries=$ac_dir
32415 if test "$ac_find_libraries" != "" ; then
32417 if test "$ac_find_libraries" = "default location"; then
32420 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
32422 if test $result = 0; then
32425 ac_path_to_link=" -L$ac_find_libraries"
32429 if test "$ac_path_to_link" != " -L/usr/lib" ; then
32430 LDFLAGS="$LDFLAGS $ac_path_to_link"
32432 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXinerama"
32433 { echo "$as_me:$LINENO: result: yes" >&5
32434 echo "${ECHO_T}yes" >&6; }
32436 { echo "$as_me:$LINENO: checking for Xxf86vm extension" >&5
32437 echo $ECHO_N "checking for Xxf86vm extension... $ECHO_C" >&6; }
32440 for ac_dir in $SEARCH_LIB;
32442 for ac_extension in a so sl dylib dll.a; do
32443 if test -f "$ac_dir/libXxf86vm.$ac_extension"; then
32444 ac_find_libraries=$ac_dir
32450 if test "$ac_find_libraries" != "" ; then
32451 { echo "$as_me:$LINENO: result: yes" >&5
32452 echo "${ECHO_T}yes" >&6; }
32453 { echo "$as_me:$LINENO: checking for X11/extensions/xf86vmode.h" >&5
32454 echo $ECHO_N "checking for X11/extensions/xf86vmode.h... $ECHO_C" >&6; }
32455 if test "${ac_cv_header_X11_extensions_xf86vmode_h+set}" = set; then
32456 echo $ECHO_N "(cached) $ECHO_C" >&6
32458 cat >conftest.$ac_ext <<_ACEOF
32461 cat confdefs.h >>conftest.$ac_ext
32462 cat >>conftest.$ac_ext <<_ACEOF
32463 /* end confdefs.h. */
32465 #if HAVE_X11_XLIB_H
32466 #include <X11/Xlib.h>
32470 #include <X11/extensions/xf86vmode.h>
32472 rm -f conftest.$ac_objext
32473 if { (ac_try="$ac_compile"
32474 case "(($ac_try" in
32475 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
32476 *) ac_try_echo
=$ac_try;;
32478 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32479 (eval "$ac_compile") 2>conftest.er1
32481 grep -v '^ *+' conftest.er1
>conftest.err
32483 cat conftest.err
>&5
32484 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32485 (exit $ac_status); } && {
32486 test -z "$ac_c_werror_flag" ||
32487 test ! -s conftest.err
32488 } && test -s conftest.
$ac_objext; then
32489 ac_cv_header_X11_extensions_xf86vmode_h
=yes
32491 echo "$as_me: failed program was:" >&5
32492 sed 's/^/| /' conftest.
$ac_ext >&5
32494 ac_cv_header_X11_extensions_xf86vmode_h
=no
32497 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
32499 { echo "$as_me:$LINENO: result: $ac_cv_header_X11_extensions_xf86vmode_h" >&5
32500 echo "${ECHO_T}$ac_cv_header_X11_extensions_xf86vmode_h" >&6; }
32501 if test $ac_cv_header_X11_extensions_xf86vmode_h = yes; then
32503 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lXxf86vm"
32509 { echo "$as_me:$LINENO: result: no" >&5
32510 echo "${ECHO_T}no" >&6; }
32514 { echo "$as_me:$LINENO: result: no" >&5
32515 echo "${ECHO_T}no" >&6; }
32516 { echo "$as_me:$LINENO: WARNING: Xinerama not found; disabling wxDisplay" >&5
32517 echo "$as_me: WARNING: Xinerama not found; disabling wxDisplay" >&2;}
32520 elif test "$wxUSE_MSW" = 1; then
32521 { echo "$as_me:$LINENO: checking for ddraw.h" >&5
32522 echo $ECHO_N "checking for ddraw.h... $ECHO_C" >&6; }
32523 if test "${ac_cv_header_ddraw_h+set}" = set; then
32524 echo $ECHO_N "(cached) $ECHO_C" >&6
32526 cat >conftest.
$ac_ext <<_ACEOF
32529 cat confdefs.h
>>conftest.
$ac_ext
32530 cat >>conftest.
$ac_ext <<_ACEOF
32531 /* end confdefs.h. */
32532 #include <windows.h>
32536 rm -f conftest.
$ac_objext
32537 if { (ac_try
="$ac_compile"
32538 case "(($ac_try" in
32539 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
32540 *) ac_try_echo=$ac_try;;
32542 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32543 (eval "$ac_compile") 2>conftest.er1
32545 grep -v '^ *+' conftest.er1 >conftest.err
32547 cat conftest.err >&5
32548 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32549 (exit $ac_status); } && {
32550 test -z "$ac_c_werror_flag" ||
32551 test ! -s conftest.err
32552 } && test -s conftest.$ac_objext; then
32553 ac_cv_header_ddraw_h=yes
32555 echo "$as_me: failed program was:" >&5
32556 sed 's/^/| /' conftest.$ac_ext >&5
32558 ac_cv_header_ddraw_h=no
32561 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32563 { echo "$as_me:$LINENO: result: $ac_cv_header_ddraw_h" >&5
32564 echo "${ECHO_T}$ac_cv_header_ddraw_h" >&6; }
32570 if test "$wxUSE_DETECT_SM" = "yes"; then
32571 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1; then
32572 { echo "$as_me:$LINENO: checking for -lSM - X11 session management" >&5
32573 echo $ECHO_N "checking for -lSM - X11 session management... $ECHO_C" >&6; }
32576 for ac_dir in $SEARCH_LIB;
32578 for ac_extension in a so sl dylib dll.a; do
32579 if test -f "$ac_dir/libSM.$ac_extension"; then
32580 ac_find_libraries=$ac_dir
32586 if test "$ac_find_libraries" != "" ; then
32588 if test "$ac_find_libraries" = "default location"; then
32591 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
32593 if test $result = 0; then
32596 ac_path_to_link=" -L$ac_find_libraries"
32600 if test "$ac_path_to_link" != " -L/usr/lib" ; then
32601 LDFLAGS="$LDFLAGS $ac_path_to_link"
32603 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lSM"
32604 { echo "$as_me:$LINENO: result: yes" >&5
32605 echo "${ECHO_T}yes" >&6; }
32607 { echo "$as_me:$LINENO: result: no" >&5
32608 echo "${ECHO_T}no" >&6; }
32609 { echo "$as_me:$LINENO: WARNING: libSM not found; disabling session management detection" >&5
32610 echo "$as_me: WARNING: libSM not found; disabling session management detection" >&2;}
32611 wxUSE_DETECT_SM="no"
32614 wxUSE_DETECT_SM="no"
32621 if test "$wxUSE_OPENGL" = "yes"; then
32622 if test "$wxUSE_MGL" = 1 -o "$wxUSE_DFB" = "1"; then
32623 { echo "$as_me:$LINENO: WARNING: wxGLCanvas not implemented for this port, library will be compiled without it." >&5
32624 echo "$as_me: WARNING: wxGLCanvas not implemented for this port, library will be compiled without it." >&2;}
32626 elif test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = "1"; then
32627 OPENGL_LIBS="-framework OpenGL -framework AGL"
32628 elif test "$wxUSE_MSW" = 1; then
32629 OPENGL_LIBS="-lopengl32 -lglu32"
32631 { echo "$as_me:$LINENO: checking for OpenGL headers" >&5
32632 echo $ECHO_N "checking for OpenGL headers... $ECHO_C" >&6; }
32635 for ac_dir in $SEARCH_INCLUDE /opt/graphics/OpenGL/include /usr/include;
32637 if test -f "$ac_dir/GL/gl.h"; then
32638 ac_find_includes=$ac_dir
32643 if test "$ac_find_includes" != "" ; then
32644 { echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
32645 echo "${ECHO_T}found in $ac_find_includes" >&6; }
32647 if test "x$ac_find_includes" = "x/usr/include"; then
32648 ac_path_to_include=""
32650 echo "$CPPFLAGS" | grep "\-I$ac_find_includes" > /dev/null
32652 if test $result = 0; then
32653 ac_path_to_include=""
32655 ac_path_to_include=" -I$ac_find_includes"
32659 CPPFLAGS="$ac_path_to_include $CPPFLAGS"
32661 { echo "$as_me:$LINENO: result: not found" >&5
32662 echo "${ECHO_T}not found" >&6; }
32665 { echo "$as_me:$LINENO: checking for GL/gl.h" >&5
32666 echo $ECHO_N "checking for GL/gl.h... $ECHO_C" >&6; }
32667 if test "${ac_cv_header_GL_gl_h+set}" = set; then
32668 echo $ECHO_N "(cached) $ECHO_C" >&6
32670 cat >conftest.$ac_ext <<_ACEOF
32673 cat confdefs.h >>conftest.$ac_ext
32674 cat >>conftest.$ac_ext <<_ACEOF
32675 /* end confdefs.h. */
32680 rm -f conftest.$ac_objext
32681 if { (ac_try="$ac_compile"
32682 case "(($ac_try" in
32683 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
32684 *) ac_try_echo
=$ac_try;;
32686 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32687 (eval "$ac_compile") 2>conftest.er1
32689 grep -v '^ *+' conftest.er1
>conftest.err
32691 cat conftest.err
>&5
32692 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32693 (exit $ac_status); } && {
32694 test -z "$ac_c_werror_flag" ||
32695 test ! -s conftest.err
32696 } && test -s conftest.
$ac_objext; then
32697 ac_cv_header_GL_gl_h
=yes
32699 echo "$as_me: failed program was:" >&5
32700 sed 's/^/| /' conftest.
$ac_ext >&5
32702 ac_cv_header_GL_gl_h
=no
32705 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
32707 { echo "$as_me:$LINENO: result: $ac_cv_header_GL_gl_h" >&5
32708 echo "${ECHO_T}$ac_cv_header_GL_gl_h" >&6; }
32709 if test $ac_cv_header_GL_gl_h = yes; then
32711 if test "${ac_cv_header_GL_glu_h+set}" = set; then
32712 { echo "$as_me:$LINENO: checking for GL/glu.h" >&5
32713 echo $ECHO_N "checking for GL/glu.h... $ECHO_C" >&6; }
32714 if test "${ac_cv_header_GL_glu_h+set}" = set; then
32715 echo $ECHO_N "(cached) $ECHO_C" >&6
32717 { echo "$as_me:$LINENO: result: $ac_cv_header_GL_glu_h" >&5
32718 echo "${ECHO_T}$ac_cv_header_GL_glu_h" >&6; }
32720 # Is the header compilable?
32721 { echo "$as_me:$LINENO: checking GL/glu.h usability" >&5
32722 echo $ECHO_N "checking GL/glu.h usability... $ECHO_C" >&6; }
32723 cat >conftest.
$ac_ext <<_ACEOF
32726 cat confdefs.h
>>conftest.
$ac_ext
32727 cat >>conftest.
$ac_ext <<_ACEOF
32728 /* end confdefs.h. */
32729 $ac_includes_default
32730 #include <GL/glu.h>
32732 rm -f conftest.
$ac_objext
32733 if { (ac_try
="$ac_compile"
32734 case "(($ac_try" in
32735 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
32736 *) ac_try_echo=$ac_try;;
32738 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32739 (eval "$ac_compile") 2>conftest.er1
32741 grep -v '^ *+' conftest.er1 >conftest.err
32743 cat conftest.err >&5
32744 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32745 (exit $ac_status); } && {
32746 test -z "$ac_c_werror_flag" ||
32747 test ! -s conftest.err
32748 } && test -s conftest.$ac_objext; then
32749 ac_header_compiler=yes
32751 echo "$as_me: failed program was:" >&5
32752 sed 's/^/| /' conftest.$ac_ext >&5
32754 ac_header_compiler=no
32757 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32758 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
32759 echo "${ECHO_T}$ac_header_compiler" >&6; }
32761 # Is the header present?
32762 { echo "$as_me:$LINENO: checking GL/glu.h presence" >&5
32763 echo $ECHO_N "checking GL/glu.h presence... $ECHO_C" >&6; }
32764 cat >conftest.$ac_ext <<_ACEOF
32767 cat confdefs.h >>conftest.$ac_ext
32768 cat >>conftest.$ac_ext <<_ACEOF
32769 /* end confdefs.h. */
32770 #include <GL/glu.h>
32772 if { (ac_try="$ac_cpp conftest.$ac_ext"
32773 case "(($ac_try" in
32774 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
32775 *) ac_try_echo
=$ac_try;;
32777 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32778 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
32780 grep -v '^ *+' conftest.er1
>conftest.err
32782 cat conftest.err
>&5
32783 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32784 (exit $ac_status); } >/dev
/null
&& {
32785 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
32786 test ! -s conftest.err
32788 ac_header_preproc
=yes
32790 echo "$as_me: failed program was:" >&5
32791 sed 's/^/| /' conftest.
$ac_ext >&5
32793 ac_header_preproc
=no
32796 rm -f conftest.err conftest.
$ac_ext
32797 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
32798 echo "${ECHO_T}$ac_header_preproc" >&6; }
32800 # So? What about this header?
32801 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
32803 { echo "$as_me:$LINENO: WARNING: GL/glu.h: accepted by the compiler, rejected by the preprocessor!" >&5
32804 echo "$as_me: WARNING: GL/glu.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
32805 { echo "$as_me:$LINENO: WARNING: GL/glu.h: proceeding with the compiler's result" >&5
32806 echo "$as_me: WARNING: GL/glu.h: proceeding with the compiler's result" >&2;}
32807 ac_header_preproc
=yes
32810 { echo "$as_me:$LINENO: WARNING: GL/glu.h: present but cannot be compiled" >&5
32811 echo "$as_me: WARNING: GL/glu.h: present but cannot be compiled" >&2;}
32812 { echo "$as_me:$LINENO: WARNING: GL/glu.h: check for missing prerequisite headers?" >&5
32813 echo "$as_me: WARNING: GL/glu.h: check for missing prerequisite headers?" >&2;}
32814 { echo "$as_me:$LINENO: WARNING: GL/glu.h: see the Autoconf documentation" >&5
32815 echo "$as_me: WARNING: GL/glu.h: see the Autoconf documentation" >&2;}
32816 { echo "$as_me:$LINENO: WARNING: GL/glu.h: section \"Present But Cannot Be Compiled\"" >&5
32817 echo "$as_me: WARNING: GL/glu.h: section \"Present But Cannot Be Compiled\"" >&2;}
32818 { echo "$as_me:$LINENO: WARNING: GL/glu.h: proceeding with the preprocessor's result" >&5
32819 echo "$as_me: WARNING: GL/glu.h: proceeding with the preprocessor's result" >&2;}
32820 { echo "$as_me:$LINENO: WARNING: GL/glu.h: in the future, the compiler will take precedence" >&5
32821 echo "$as_me: WARNING: GL/glu.h: in the future, the compiler will take precedence" >&2;}
32823 ## ----------------------------------------- ##
32824 ## Report this to wx-dev@lists.wxwidgets.org ##
32825 ## ----------------------------------------- ##
32827 ) | sed "s/^/$as_me: WARNING: /" >&2
32830 { echo "$as_me:$LINENO: checking for GL/glu.h" >&5
32831 echo $ECHO_N "checking for GL/glu.h... $ECHO_C" >&6; }
32832 if test "${ac_cv_header_GL_glu_h+set}" = set; then
32833 echo $ECHO_N "(cached) $ECHO_C" >&6
32835 ac_cv_header_GL_glu_h
=$ac_header_preproc
32837 { echo "$as_me:$LINENO: result: $ac_cv_header_GL_glu_h" >&5
32838 echo "${ECHO_T}$ac_cv_header_GL_glu_h" >&6; }
32841 if test $ac_cv_header_GL_glu_h = yes; then
32845 { echo "$as_me:$LINENO: checking for -lGL" >&5
32846 echo $ECHO_N "checking for -lGL... $ECHO_C" >&6; }
32849 for ac_dir
in $SEARCH_LIB /opt
/graphics
/OpenGL
/lib
;
32851 for ac_extension
in a so sl dylib dll.a
; do
32852 if test -f "$ac_dir/libGL.$ac_extension"; then
32853 ac_find_libraries
=$ac_dir
32859 if test "$ac_find_libraries" != "" ; then
32860 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
32861 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
32864 if test "$ac_find_libraries" = "default location"; then
32867 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev
/null
32869 if test $result = 0; then
32872 ac_path_to_link
=" -L$ac_find_libraries"
32876 if test "$ac_path_to_link" != " -L/usr/lib" ; then
32877 LDFLAGS_GL
="$ac_path_to_link"
32880 { echo "$as_me:$LINENO: checking for -lGLU" >&5
32881 echo $ECHO_N "checking for -lGLU... $ECHO_C" >&6; }
32884 for ac_dir
in $SEARCH_LIB;
32886 for ac_extension
in a so sl dylib dll.a
; do
32887 if test -f "$ac_dir/libGLU.$ac_extension"; then
32888 ac_find_libraries
=$ac_dir
32894 if test "$ac_find_libraries" != "" ; then
32896 if test "$ac_find_libraries" = "default location"; then
32899 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev
/null
32901 if test $result = 0; then
32904 ac_path_to_link
=" -L$ac_find_libraries"
32908 if test "$ac_path_to_link" != " -L/usr/lib" -a \
32909 "$ac_path_to_link" != "$LDFLAGS_GL"; then
32910 LDFLAGS_GL
="$LDFLAGS_GL$ac_path_to_link"
32914 OPENGL_LIBS
="-lGL -lGLU"
32915 { echo "$as_me:$LINENO: result: yes" >&5
32916 echo "${ECHO_T}yes" >&6; }
32918 { echo "$as_me:$LINENO: result: no" >&5
32919 echo "${ECHO_T}no" >&6; }
32922 { echo "$as_me:$LINENO: result: no" >&5
32923 echo "${ECHO_T}no" >&6; }
32926 if test "$found_gl" != 1; then
32927 { echo "$as_me:$LINENO: checking for -lMesaGL" >&5
32928 echo $ECHO_N "checking for -lMesaGL... $ECHO_C" >&6; }
32931 for ac_dir
in $SEARCH_LIB;
32933 for ac_extension
in a so sl dylib dll.a
; do
32934 if test -f "$ac_dir/libMesaGL.$ac_extension"; then
32935 ac_find_libraries
=$ac_dir
32941 if test "$ac_find_libraries" != "" ; then
32943 if test "$ac_find_libraries" = "default location"; then
32946 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev
/null
32948 if test $result = 0; then
32951 ac_path_to_link
=" -L$ac_find_libraries"
32955 LDFLAGS_GL
="$LDFLAGS$ac_path_to_link"
32956 OPENGL_LIBS
="-lMesaGL -lMesaGLU"
32957 { echo "$as_me:$LINENO: result: yes" >&5
32958 echo "${ECHO_T}yes" >&6; }
32960 { echo "$as_me:$LINENO: result: no" >&5
32961 echo "${ECHO_T}no" >&6; }
32973 if test "x$OPENGL_LIBS" = "x"; then
32974 { { echo "$as_me:$LINENO: error: OpenGL libraries not available" >&5
32975 echo "$as_me: error: OpenGL libraries not available" >&2;}
32976 { (exit 1); exit 1; }; }
32980 if test "$wxUSE_OPENGL" = "yes"; then
32982 cat >>confdefs.h
<<\_ACEOF
32983 #define wxUSE_OPENGL 1
32986 cat >>confdefs.h
<<\_ACEOF
32987 #define wxUSE_GLCANVAS 1
32990 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS opengl opengl/cube opengl/penguin opengl/isosurf"
32995 if test -n "$TOOLKIT" ; then
32996 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WX${TOOLKIT}__"
33001 if test "$wxUSE_SHARED" = "yes"; then
33005 { echo "$as_me:$LINENO: WARNING: Host system doesn't support shared libraries, disabling" >&5
33006 echo "$as_me: WARNING: Host system doesn't support shared libraries, disabling" >&2;}
33011 if test "$wxUSE_SHARED" = "yes"; then
33015 *-*-cygwin* | *-*-mingw* )
33016 wx_cv_version_script
=no
33020 { echo "$as_me:$LINENO: checking if the linker accepts --version-script" >&5
33021 echo $ECHO_N "checking if the linker accepts --version-script... $ECHO_C" >&6; }
33022 if test "${wx_cv_version_script+set}" = set; then
33023 echo $ECHO_N "(cached) $ECHO_C" >&6
33026 echo "VER_1 { *; };" >conftest.sym
33027 echo "int main() { return 0; }" >conftest.cpp
33030 $CXX -o conftest.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
33031 -Wl,--version-script,conftest.sym >/dev/null 2>conftest.stderr'
33032 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33033 (eval $ac_try) 2>&5
33035 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33036 (exit $ac_status); }; } ; then
33037 if test -s conftest.stderr
; then
33038 wx_cv_version_script
=no
33040 wx_cv_version_script
=yes
33043 wx_cv_version_script
=no
33046 if test $wx_cv_version_script = yes
33048 echo "struct B { virtual ~B() { } }; \
33049 struct D : public B { }; \
33050 void F() { D d; }" > conftest.cpp
33053 $CXX -shared -fPIC -o conftest1.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
33054 -Wl,--version-script,conftest.sym >/dev/null 2>/dev/null'
33055 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33056 (eval $ac_try) 2>&5
33058 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33059 (exit $ac_status); }; } &&
33061 $CXX -shared -fPIC -o conftest2.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
33062 -Wl,--version-script,conftest.sym conftest1.output >/dev/null 2>/dev/null'
33063 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33064 (eval $ac_try) 2>&5
33066 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33067 (exit $ac_status); }; }
33070 $CXX -shared -fPIC -o conftest3.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
33071 -Wl,--version-script,conftest.sym conftest2.output conftest1.output >/dev/null 2>/dev/null'
33072 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33073 (eval $ac_try) 2>&5
33075 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33076 (exit $ac_status); }; }
33078 wx_cv_version_script
=yes
33080 wx_cv_version_script
=no
33085 rm -f conftest.output conftest.stderr conftest.sym conftest.cpp
33086 rm -f conftest1.output conftest2.output conftest3.output
33089 { echo "$as_me:$LINENO: result: $wx_cv_version_script" >&5
33090 echo "${ECHO_T}$wx_cv_version_script" >&6; }
33092 if test $wx_cv_version_script = yes ; then
33093 LDFLAGS_VERSIONING
="-Wl,--version-script,\$(wx_top_builddir)/version-script"
33099 if test "x$SUNCXX" = xyes
; then
33100 SAMPLES_RPATH_FLAG
="-R\$(wx_top_builddir)/lib"
33101 WXCONFIG_RPATH
="-R\$libdir"
33104 *-*-linux* | *-*-gnu* )
33105 SAMPLES_RPATH_FLAG
="-Wl,-rpath,\$(wx_top_builddir)/lib"
33106 WXCONFIG_RPATH
="-Wl,-rpath,\$libdir"
33111 CPPFLAGS
="-isystem /usr/openwin/include $CPPFLAGS"
33113 saveLdflags
="$LDFLAGS"
33114 LDFLAGS
="$saveLdflags -Wl,-rpath,/"
33115 { echo "$as_me:$LINENO: checking if the linker accepts -rpath" >&5
33116 echo $ECHO_N "checking if the linker accepts -rpath... $ECHO_C" >&6; }
33117 cat >conftest.
$ac_ext <<_ACEOF
33120 cat confdefs.h
>>conftest.
$ac_ext
33121 cat >>conftest.
$ac_ext <<_ACEOF
33122 /* end confdefs.h. */
33132 rm -f conftest.
$ac_objext conftest
$ac_exeext
33133 if { (ac_try
="$ac_link"
33134 case "(($ac_try" in
33135 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
33136 *) ac_try_echo=$ac_try;;
33138 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33139 (eval "$ac_link") 2>conftest.er1
33141 grep -v '^ *+' conftest.er1 >conftest.err
33143 cat conftest.err >&5
33144 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33145 (exit $ac_status); } && {
33146 test -z "$ac_c_werror_flag" ||
33147 test ! -s conftest.err
33148 } && test -s conftest$ac_exeext &&
33149 $as_test_x conftest$ac_exeext; then
33151 { echo "$as_me:$LINENO: result: yes" >&5
33152 echo "${ECHO_T}yes" >&6; }
33153 SAMPLES_RPATH_FLAG="-Wl,-rpath,\$(wx_top_builddir)/lib"
33154 WXCONFIG_RPATH="-Wl,-rpath,\$libdir"
33157 echo "$as_me: failed program was:" >&5
33158 sed 's/^/| /' conftest.$ac_ext >&5
33161 { echo "$as_me:$LINENO: result: no" >&5
33162 echo "${ECHO_T}no" >&6; }
33163 { echo "$as_me:$LINENO: checking if the linker accepts -R" >&5
33164 echo $ECHO_N "checking if the linker accepts -R... $ECHO_C" >&6; }
33165 LDFLAGS="$saveLdflags -Wl,-R,/"
33166 cat >conftest.$ac_ext <<_ACEOF
33169 cat confdefs.h >>conftest.$ac_ext
33170 cat >>conftest.$ac_ext <<_ACEOF
33171 /* end confdefs.h. */
33181 rm -f conftest.$ac_objext conftest$ac_exeext
33182 if { (ac_try="$ac_link"
33183 case "(($ac_try" in
33184 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
33185 *) ac_try_echo
=$ac_try;;
33187 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33188 (eval "$ac_link") 2>conftest.er1
33190 grep -v '^ *+' conftest.er1
>conftest.err
33192 cat conftest.err
>&5
33193 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33194 (exit $ac_status); } && {
33195 test -z "$ac_c_werror_flag" ||
33196 test ! -s conftest.err
33197 } && test -s conftest
$ac_exeext &&
33198 $as_test_x conftest
$ac_exeext; then
33200 { echo "$as_me:$LINENO: result: yes" >&5
33201 echo "${ECHO_T}yes" >&6; }
33202 SAMPLES_RPATH_FLAG
="-Wl,-R,\$(wx_top_builddir)/lib"
33203 WXCONFIG_RPATH
="-Wl,-R,\$libdir"
33206 echo "$as_me: failed program was:" >&5
33207 sed 's/^/| /' conftest.
$ac_ext >&5
33210 { echo "$as_me:$LINENO: result: no" >&5
33211 echo "${ECHO_T}no" >&6; }
33215 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
33216 conftest
$ac_exeext conftest.
$ac_ext
33220 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
33221 conftest
$ac_exeext conftest.
$ac_ext
33222 LDFLAGS
="$saveLdflags"
33226 install_name_tool
=`which install_name_tool`
33227 if test "$install_name_tool" -a -x "$install_name_tool"; then
33228 SAMPLES_RPATH_POSTLINK
="\$(wx_top_builddir)/change-install-names \$(LIBDIRNAME) \$(prefix) \$@"
33229 cat <<EOF >change-install-names
33231 libnames=\`cd \${1} ; ls -1 | grep '\.[0-9][0-9]*\.dylib\$'\`
33232 inst_cmd="install_name_tool "
33233 for i in \${libnames} ; do
33234 inst_cmd="\${inst_cmd} -change \${2}/lib/\${i} \${1}/\${i}"
33238 chmod +x change
-install-names
33242 *-*-cygwin* | *-*-mingw32* )
33243 WXCONFIG_ONLY_CPPFLAGS
="$WXCONFIG_ONLY_CPPFLAGS -DWXUSINGDLL"
33247 SAMPLES_RPATH_FLAG
="-Wl,+b,\$(wx_top_builddir)/lib"
33248 WXCONFIG_RPATH
="-Wl,+b,\$libdir"
33254 if test $wxUSE_RPATH = "no"; then
33255 SAMPLES_RPATH_FLAG
=''
33256 SAMPLES_RPATH_POSTLINK
=''
33264 config_linkage_component
="-static"
33271 lib_unicode_suffix
=
33273 if test "$wxUSE_UNICODE" = "yes"; then
33274 lib_unicode_suffix
=u
33275 WX_CHARTYPE
="unicode"
33280 WX_DEBUGTYPE
="release"
33282 if test "$wxUSE_DEBUG_FLAG" = "yes"; then
33284 WX_DEBUGTYPE
="debug"
33288 WX_FLAVOUR
=${WX_FLAVOUR:+-$WX_FLAVOUR}
33289 WX_LIB_FLAVOUR
=`echo $WX_FLAVOUR | tr '-' '_'`
33292 if test "$wxUSE_DEBUG_INFO" = "yes"; then
33296 WX_VERSION_TAG
=`echo WX${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}_${WX_RELEASE} | tr "[a-z]" "[A-Z]"`
33298 TOOLCHAIN_NAME
="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}"
33300 TOOLCHAIN_FULLNAME
="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}-${WX_CHARTYPE}-${WX_DEBUGTYPE}${config_linkage_component}-${WX_RELEASE}${WX_FLAVOUR}"
33302 if test "$cross_compiling" = "yes"; then
33303 HOST_SUFFIX
="-$host_alias"
33304 TOOLCHAIN_NAME
="$TOOLCHAIN_NAME$HOST_SUFFIX"
33305 TOOLCHAIN_FULLNAME
="${host_alias}-$TOOLCHAIN_FULLNAME"
33308 WX_LIBRARY_BASENAME_NOGUI
="wx_base${WXBASEPORT}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
33309 if test "${TOOLKIT_DIR}" = "os2"; then
33310 WX_LIBRARY_BASENAME_GUI
="wx_pm${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
33312 WX_LIBRARY_BASENAME_GUI
="wx_${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
33317 if test "$wxUSE_COCOA" = 1; then
33320 ac_cpp
='$CPP $CPPFLAGS'
33321 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33322 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33323 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
33327 { echo "$as_me:$LINENO: checking if AppKit/NSEvent.h conflicts with CoreFoundation" >&5
33328 echo $ECHO_N "checking if AppKit/NSEvent.h conflicts with CoreFoundation... $ECHO_C" >&6; }
33329 cat >conftest.
$ac_ext <<_ACEOF
33332 cat confdefs.h
>>conftest.
$ac_ext
33333 cat >>conftest.
$ac_ext <<_ACEOF
33334 /* end confdefs.h. */
33335 #include <AppKit/NSEvent.h>
33336 #include <CoreFoundation/CoreFoundation.h>
33346 rm -f conftest.
$ac_objext
33347 if { (ac_try
="$ac_compile"
33348 case "(($ac_try" in
33349 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
33350 *) ac_try_echo=$ac_try;;
33352 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33353 (eval "$ac_compile") 2>conftest.er1
33355 grep -v '^ *+' conftest.er1 >conftest.err
33357 cat conftest.err >&5
33358 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33359 (exit $ac_status); } && {
33360 test -z "$ac_c_werror_flag" ||
33361 test ! -s conftest.err
33362 } && test -s conftest.$ac_objext; then
33363 { echo "$as_me:$LINENO: result: no" >&5
33364 echo "${ECHO_T}no" >&6; }
33366 echo "$as_me: failed program was:" >&5
33367 sed 's/^/| /' conftest.$ac_ext >&5
33369 { echo "$as_me:$LINENO: result: yes" >&5
33370 echo "${ECHO_T}yes" >&6; }
33371 { echo "$as_me:$LINENO: checking if defining __Point__ will fix it" >&5
33372 echo $ECHO_N "checking if defining __Point__ will fix it... $ECHO_C" >&6; }
33373 cat >conftest.$ac_ext <<_ACEOF
33376 cat confdefs.h >>conftest.$ac_ext
33377 cat >>conftest.$ac_ext <<_ACEOF
33378 /* end confdefs.h. */
33379 #define __Point__ 1
33380 #include <AppKit/NSEvent.h>
33381 #include <CoreFoundation/CoreFoundation.h>
33391 rm -f conftest.$ac_objext
33392 if { (ac_try="$ac_compile"
33393 case "(($ac_try" in
33394 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
33395 *) ac_try_echo
=$ac_try;;
33397 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33398 (eval "$ac_compile") 2>conftest.er1
33400 grep -v '^ *+' conftest.er1
>conftest.err
33402 cat conftest.err
>&5
33403 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33404 (exit $ac_status); } && {
33405 test -z "$ac_c_werror_flag" ||
33406 test ! -s conftest.err
33407 } && test -s conftest.
$ac_objext; then
33408 { echo "$as_me:$LINENO: result: yes" >&5
33409 echo "${ECHO_T}yes" >&6; }
33410 cat >>confdefs.h
<<\_ACEOF
33411 #define __Point__ 1
33416 echo "$as_me: failed program was:" >&5
33417 sed 's/^/| /' conftest.
$ac_ext >&5
33419 { { echo "$as_me:$LINENO: error: no
33420 See \`config.log' for more details." >&5
33421 echo "$as_me: error: no
33422 See \`config.log' for more details." >&2;}
33423 { (exit 1); exit 1; }; }
33427 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
33431 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
33433 ac_cpp
='$CPP $CPPFLAGS'
33434 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33435 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33436 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
33440 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1; then
33441 WX_RESOURCES_MACOSX_ASCII
="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.r"
33442 WX_RESOURCES_MACOSX_DATA
="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.rsrc"
33444 LIBWXMACRES
="\$(wx_top_builddir)/lib/${WX_RESOURCES_MACOSX_ASCII}"
33446 # Extract the first word of "Rez", so it can be a program name with args.
33447 set dummy Rez
; ac_word
=$2
33448 { echo "$as_me:$LINENO: checking for $ac_word" >&5
33449 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
33450 if test "${ac_cv_prog_REZ+set}" = set; then
33451 echo $ECHO_N "(cached) $ECHO_C" >&6
33453 if test -n "$REZ"; then
33454 ac_cv_prog_REZ
="$REZ" # Let the user override the test.
33456 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
33457 for as_dir
in $PATH
33460 test -z "$as_dir" && as_dir
=.
33461 for ac_exec_ext
in '' $ac_executable_extensions; do
33462 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
33463 ac_cv_prog_REZ
="Rez"
33464 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
33471 test -z "$ac_cv_prog_REZ" && ac_cv_prog_REZ
="/Developer/Tools/Rez"
33474 REZ
=$ac_cv_prog_REZ
33475 if test -n "$REZ"; then
33476 { echo "$as_me:$LINENO: result: $REZ" >&5
33477 echo "${ECHO_T}$REZ" >&6; }
33479 { echo "$as_me:$LINENO: result: no" >&5
33480 echo "${ECHO_T}no" >&6; }
33484 # Extract the first word of "DeRez", so it can be a program name with args.
33485 set dummy DeRez
; ac_word
=$2
33486 { echo "$as_me:$LINENO: checking for $ac_word" >&5
33487 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
33488 if test "${ac_cv_prog_DEREZ+set}" = set; then
33489 echo $ECHO_N "(cached) $ECHO_C" >&6
33491 if test -n "$DEREZ"; then
33492 ac_cv_prog_DEREZ
="$DEREZ" # Let the user override the test.
33494 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
33495 for as_dir
in $PATH
33498 test -z "$as_dir" && as_dir
=.
33499 for ac_exec_ext
in '' $ac_executable_extensions; do
33500 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
33501 ac_cv_prog_DEREZ
="DeRez"
33502 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
33509 test -z "$ac_cv_prog_DEREZ" && ac_cv_prog_DEREZ
="/Developer/Tools/DeRez"
33512 DEREZ
=$ac_cv_prog_DEREZ
33513 if test -n "$DEREZ"; then
33514 { echo "$as_me:$LINENO: result: $DEREZ" >&5
33515 echo "${ECHO_T}$DEREZ" >&6; }
33517 { echo "$as_me:$LINENO: result: no" >&5
33518 echo "${ECHO_T}no" >&6; }
33522 # Extract the first word of "SetFile", so it can be a program name with args.
33523 set dummy SetFile
; ac_word
=$2
33524 { echo "$as_me:$LINENO: checking for $ac_word" >&5
33525 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
33526 if test "${ac_cv_prog_SETFILE+set}" = set; then
33527 echo $ECHO_N "(cached) $ECHO_C" >&6
33529 if test -n "$SETFILE"; then
33530 ac_cv_prog_SETFILE
="$SETFILE" # Let the user override the test.
33532 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
33533 for as_dir
in $PATH
33536 test -z "$as_dir" && as_dir
=.
33537 for ac_exec_ext
in '' $ac_executable_extensions; do
33538 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
33539 ac_cv_prog_SETFILE
="SetFile"
33540 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
33547 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE
="/Developer/Tools/SetFile"
33550 SETFILE
=$ac_cv_prog_SETFILE
33551 if test -n "$SETFILE"; then
33552 { echo "$as_me:$LINENO: result: $SETFILE" >&5
33553 echo "${ECHO_T}$SETFILE" >&6; }
33555 { echo "$as_me:$LINENO: result: no" >&5
33556 echo "${ECHO_T}no" >&6; }
33561 MACSETFILE
="\$(SETFILE)"
33563 if test "$wxUSE_MAC" = 1; then
33564 POSTLINK_COMMAND
="\$(REZ) -d __DARWIN__ -t APPL Carbon.r -o"
33566 WXCONFIG_RESFLAGS
="-d __DARWIN__ -t APPL Carbon.r -o"
33568 POSTLINK_COMMAND
="echo -n | \$(REZ) -d __DARWIN__ -t APPL ${LIBWXMACRES}"
33569 RESCOMP
="echo -n \| $REZ"
33570 WXCONFIG_RESFLAGS
="-d __DARWIN__ -t APPL \$libdir/$WX_RESOURCES_MACOSX_ASCII"
33576 if test "$wxUSE_PM" = 1; then
33578 WXCONFIG_RESFLAGS
="-ep"
33580 POSTLINK_COMMAND
="$RESCOMP $WXCONFIG_RESFLAGS"
33582 POSTLINK_COMMAND
="@true"
33589 { echo "$as_me:$LINENO: checking for mode_t" >&5
33590 echo $ECHO_N "checking for mode_t... $ECHO_C" >&6; }
33591 if test "${ac_cv_type_mode_t+set}" = set; then
33592 echo $ECHO_N "(cached) $ECHO_C" >&6
33594 cat >conftest.
$ac_ext <<_ACEOF
33597 cat confdefs.h
>>conftest.
$ac_ext
33598 cat >>conftest.
$ac_ext <<_ACEOF
33599 /* end confdefs.h. */
33600 $ac_includes_default
33601 typedef mode_t ac__type_new_;
33605 if ((ac__type_new_ *) 0)
33607 if (sizeof (ac__type_new_))
33613 rm -f conftest.
$ac_objext
33614 if { (ac_try
="$ac_compile"
33615 case "(($ac_try" in
33616 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
33617 *) ac_try_echo=$ac_try;;
33619 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33620 (eval "$ac_compile") 2>conftest.er1
33622 grep -v '^ *+' conftest.er1 >conftest.err
33624 cat conftest.err >&5
33625 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33626 (exit $ac_status); } && {
33627 test -z "$ac_c_werror_flag" ||
33628 test ! -s conftest.err
33629 } && test -s conftest.$ac_objext; then
33630 ac_cv_type_mode_t=yes
33632 echo "$as_me: failed program was:" >&5
33633 sed 's/^/| /' conftest.$ac_ext >&5
33635 ac_cv_type_mode_t=no
33638 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33640 { echo "$as_me:$LINENO: result: $ac_cv_type_mode_t" >&5
33641 echo "${ECHO_T}$ac_cv_type_mode_t" >&6; }
33642 if test $ac_cv_type_mode_t = yes; then
33646 cat >>confdefs.h <<_ACEOF
33652 { echo "$as_me:$LINENO: checking for off_t" >&5
33653 echo $ECHO_N "checking for off_t... $ECHO_C" >&6; }
33654 if test "${ac_cv_type_off_t+set}" = set; then
33655 echo $ECHO_N "(cached) $ECHO_C" >&6
33657 cat >conftest.$ac_ext <<_ACEOF
33660 cat confdefs.h >>conftest.$ac_ext
33661 cat >>conftest.$ac_ext <<_ACEOF
33662 /* end confdefs.h. */
33663 $ac_includes_default
33664 typedef off_t ac__type_new_;
33668 if ((ac__type_new_ *) 0)
33670 if (sizeof (ac__type_new_))
33676 rm -f conftest.$ac_objext
33677 if { (ac_try="$ac_compile"
33678 case "(($ac_try" in
33679 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
33680 *) ac_try_echo
=$ac_try;;
33682 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33683 (eval "$ac_compile") 2>conftest.er1
33685 grep -v '^ *+' conftest.er1
>conftest.err
33687 cat conftest.err
>&5
33688 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33689 (exit $ac_status); } && {
33690 test -z "$ac_c_werror_flag" ||
33691 test ! -s conftest.err
33692 } && test -s conftest.
$ac_objext; then
33693 ac_cv_type_off_t
=yes
33695 echo "$as_me: failed program was:" >&5
33696 sed 's/^/| /' conftest.
$ac_ext >&5
33698 ac_cv_type_off_t
=no
33701 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
33703 { echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
33704 echo "${ECHO_T}$ac_cv_type_off_t" >&6; }
33705 if test $ac_cv_type_off_t = yes; then
33709 cat >>confdefs.h
<<_ACEOF
33710 #define off_t long int
33715 { echo "$as_me:$LINENO: checking for pid_t" >&5
33716 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6; }
33717 if test "${ac_cv_type_pid_t+set}" = set; then
33718 echo $ECHO_N "(cached) $ECHO_C" >&6
33720 cat >conftest.
$ac_ext <<_ACEOF
33723 cat confdefs.h
>>conftest.
$ac_ext
33724 cat >>conftest.
$ac_ext <<_ACEOF
33725 /* end confdefs.h. */
33726 $ac_includes_default
33727 typedef pid_t ac__type_new_;
33731 if ((ac__type_new_ *) 0)
33733 if (sizeof (ac__type_new_))
33739 rm -f conftest.
$ac_objext
33740 if { (ac_try
="$ac_compile"
33741 case "(($ac_try" in
33742 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
33743 *) ac_try_echo=$ac_try;;
33745 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33746 (eval "$ac_compile") 2>conftest.er1
33748 grep -v '^ *+' conftest.er1 >conftest.err
33750 cat conftest.err >&5
33751 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33752 (exit $ac_status); } && {
33753 test -z "$ac_c_werror_flag" ||
33754 test ! -s conftest.err
33755 } && test -s conftest.$ac_objext; then
33756 ac_cv_type_pid_t=yes
33758 echo "$as_me: failed program was:" >&5
33759 sed 's/^/| /' conftest.$ac_ext >&5
33761 ac_cv_type_pid_t=no
33764 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33766 { echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
33767 echo "${ECHO_T}$ac_cv_type_pid_t" >&6; }
33768 if test $ac_cv_type_pid_t = yes; then
33772 cat >>confdefs.h <<_ACEOF
33778 { echo "$as_me:$LINENO: checking for size_t" >&5
33779 echo $ECHO_N "checking for size_t... $ECHO_C" >&6; }
33780 if test "${ac_cv_type_size_t+set}" = set; then
33781 echo $ECHO_N "(cached) $ECHO_C" >&6
33783 cat >conftest.$ac_ext <<_ACEOF
33786 cat confdefs.h >>conftest.$ac_ext
33787 cat >>conftest.$ac_ext <<_ACEOF
33788 /* end confdefs.h. */
33789 $ac_includes_default
33790 typedef size_t ac__type_new_;
33794 if ((ac__type_new_ *) 0)
33796 if (sizeof (ac__type_new_))
33802 rm -f conftest.$ac_objext
33803 if { (ac_try="$ac_compile"
33804 case "(($ac_try" in
33805 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
33806 *) ac_try_echo
=$ac_try;;
33808 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33809 (eval "$ac_compile") 2>conftest.er1
33811 grep -v '^ *+' conftest.er1
>conftest.err
33813 cat conftest.err
>&5
33814 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33815 (exit $ac_status); } && {
33816 test -z "$ac_c_werror_flag" ||
33817 test ! -s conftest.err
33818 } && test -s conftest.
$ac_objext; then
33819 ac_cv_type_size_t
=yes
33821 echo "$as_me: failed program was:" >&5
33822 sed 's/^/| /' conftest.
$ac_ext >&5
33824 ac_cv_type_size_t
=no
33827 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
33829 { echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
33830 echo "${ECHO_T}$ac_cv_type_size_t" >&6; }
33831 if test $ac_cv_type_size_t = yes; then
33835 cat >>confdefs.h
<<_ACEOF
33836 #define size_t unsigned int
33841 { echo "$as_me:$LINENO: checking for uid_t in sys/types.h" >&5
33842 echo $ECHO_N "checking for uid_t in sys/types.h... $ECHO_C" >&6; }
33843 if test "${ac_cv_type_uid_t+set}" = set; then
33844 echo $ECHO_N "(cached) $ECHO_C" >&6
33846 cat >conftest.
$ac_ext <<_ACEOF
33849 cat confdefs.h
>>conftest.
$ac_ext
33850 cat >>conftest.
$ac_ext <<_ACEOF
33851 /* end confdefs.h. */
33852 #include <sys/types.h>
33855 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
33856 $EGREP "uid_t" >/dev
/null
2>&1; then
33857 ac_cv_type_uid_t
=yes
33859 ac_cv_type_uid_t
=no
33864 { echo "$as_me:$LINENO: result: $ac_cv_type_uid_t" >&5
33865 echo "${ECHO_T}$ac_cv_type_uid_t" >&6; }
33866 if test $ac_cv_type_uid_t = no
; then
33868 cat >>confdefs.h
<<\_ACEOF
33873 cat >>confdefs.h
<<\_ACEOF
33880 { echo "$as_me:$LINENO: checking for ssize_t" >&5
33881 echo $ECHO_N "checking for ssize_t... $ECHO_C" >&6; }
33882 if test "${ac_cv_type_ssize_t+set}" = set; then
33883 echo $ECHO_N "(cached) $ECHO_C" >&6
33885 cat >conftest.
$ac_ext <<_ACEOF
33888 cat confdefs.h
>>conftest.
$ac_ext
33889 cat >>conftest.
$ac_ext <<_ACEOF
33890 /* end confdefs.h. */
33891 $ac_includes_default
33892 typedef ssize_t ac__type_new_;
33896 if ((ac__type_new_ *) 0)
33898 if (sizeof (ac__type_new_))
33904 rm -f conftest.
$ac_objext
33905 if { (ac_try
="$ac_compile"
33906 case "(($ac_try" in
33907 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
33908 *) ac_try_echo=$ac_try;;
33910 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33911 (eval "$ac_compile") 2>conftest.er1
33913 grep -v '^ *+' conftest.er1 >conftest.err
33915 cat conftest.err >&5
33916 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33917 (exit $ac_status); } && {
33918 test -z "$ac_c_werror_flag" ||
33919 test ! -s conftest.err
33920 } && test -s conftest.$ac_objext; then
33921 ac_cv_type_ssize_t=yes
33923 echo "$as_me: failed program was:" >&5
33924 sed 's/^/| /' conftest.$ac_ext >&5
33926 ac_cv_type_ssize_t=no
33929 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33931 { echo "$as_me:$LINENO: result: $ac_cv_type_ssize_t" >&5
33932 echo "${ECHO_T}$ac_cv_type_ssize_t" >&6; }
33933 if test $ac_cv_type_ssize_t = yes; then
33935 cat >>confdefs.h <<_ACEOF
33936 #define HAVE_SSIZE_T 1
33944 ac_cpp='$CXXCPP $CPPFLAGS'
33945 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33946 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33947 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33948 { echo "$as_me:$LINENO: checking if size_t is unsigned int" >&5
33949 echo $ECHO_N "checking if size_t is unsigned int... $ECHO_C" >&6; }
33950 if test "${wx_cv_size_t_is_uint+set}" = set; then
33951 echo $ECHO_N "(cached) $ECHO_C" >&6
33954 cat >conftest.$ac_ext <<_ACEOF
33957 cat confdefs.h >>conftest.$ac_ext
33958 cat >>conftest.$ac_ext <<_ACEOF
33959 /* end confdefs.h. */
33960 #include <stddef.h>
33967 struct Foo { void foo(size_t); void foo(unsigned int); };
33975 rm -f conftest.$ac_objext
33976 if { (ac_try="$ac_compile"
33977 case "(($ac_try" in
33978 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
33979 *) ac_try_echo
=$ac_try;;
33981 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33982 (eval "$ac_compile") 2>conftest.er1
33984 grep -v '^ *+' conftest.er1
>conftest.err
33986 cat conftest.err
>&5
33987 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33988 (exit $ac_status); } && {
33989 test -z "$ac_cxx_werror_flag" ||
33990 test ! -s conftest.err
33991 } && test -s conftest.
$ac_objext; then
33992 wx_cv_size_t_is_uint
=no
33994 echo "$as_me: failed program was:" >&5
33995 sed 's/^/| /' conftest.
$ac_ext >&5
33997 wx_cv_size_t_is_uint
=yes
34001 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
34005 { echo "$as_me:$LINENO: result: $wx_cv_size_t_is_uint" >&5
34006 echo "${ECHO_T}$wx_cv_size_t_is_uint" >&6; }
34008 if test "$wx_cv_size_t_is_uint" = "yes"; then
34009 cat >>confdefs.h
<<\_ACEOF
34010 #define wxSIZE_T_IS_UINT 1
34014 { echo "$as_me:$LINENO: checking if size_t is unsigned long" >&5
34015 echo $ECHO_N "checking if size_t is unsigned long... $ECHO_C" >&6; }
34016 if test "${wx_cv_size_t_is_ulong+set}" = set; then
34017 echo $ECHO_N "(cached) $ECHO_C" >&6
34019 cat >conftest.
$ac_ext <<_ACEOF
34022 cat confdefs.h
>>conftest.
$ac_ext
34023 cat >>conftest.
$ac_ext <<_ACEOF
34024 /* end confdefs.h. */
34025 #include <stddef.h>
34032 struct Foo { void foo(size_t); void foo(unsigned long); };
34040 rm -f conftest.
$ac_objext
34041 if { (ac_try
="$ac_compile"
34042 case "(($ac_try" in
34043 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
34044 *) ac_try_echo=$ac_try;;
34046 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34047 (eval "$ac_compile") 2>conftest.er1
34049 grep -v '^ *+' conftest.er1 >conftest.err
34051 cat conftest.err >&5
34052 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34053 (exit $ac_status); } && {
34054 test -z "$ac_cxx_werror_flag" ||
34055 test ! -s conftest.err
34056 } && test -s conftest.$ac_objext; then
34057 wx_cv_size_t_is_ulong=no
34059 echo "$as_me: failed program was:" >&5
34060 sed 's/^/| /' conftest.$ac_ext >&5
34062 wx_cv_size_t_is_ulong=yes
34066 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34069 { echo "$as_me:$LINENO: result: $wx_cv_size_t_is_ulong" >&5
34070 echo "${ECHO_T}$wx_cv_size_t_is_ulong" >&6; }
34072 if test "$wx_cv_size_t_is_ulong" = "yes"; then
34073 cat >>confdefs.h <<\_ACEOF
34074 #define wxSIZE_T_IS_ULONG 1
34080 { echo "$as_me:$LINENO: checking if wchar_t is separate type" >&5
34081 echo $ECHO_N "checking if wchar_t is separate type... $ECHO_C" >&6; }
34082 if test "${wx_cv_wchar_t_is_separate_type+set}" = set; then
34083 echo $ECHO_N "(cached) $ECHO_C" >&6
34085 cat >conftest.$ac_ext <<_ACEOF
34088 cat confdefs.h >>conftest.$ac_ext
34089 cat >>conftest.$ac_ext <<_ACEOF
34090 /* end confdefs.h. */
34098 struct Foo { void foo(wchar_t);
34099 void foo(unsigned short);
34100 void foo(unsigned int);
34101 void foo(unsigned long); };
34109 rm -f conftest.$ac_objext
34110 if { (ac_try="$ac_compile"
34111 case "(($ac_try" in
34112 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
34113 *) ac_try_echo
=$ac_try;;
34115 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34116 (eval "$ac_compile") 2>conftest.er1
34118 grep -v '^ *+' conftest.er1
>conftest.err
34120 cat conftest.err
>&5
34121 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34122 (exit $ac_status); } && {
34123 test -z "$ac_cxx_werror_flag" ||
34124 test ! -s conftest.err
34125 } && test -s conftest.
$ac_objext; then
34126 wx_cv_wchar_t_is_separate_type
=yes
34128 echo "$as_me: failed program was:" >&5
34129 sed 's/^/| /' conftest.
$ac_ext >&5
34131 wx_cv_wchar_t_is_separate_type
=no
34135 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
34138 { echo "$as_me:$LINENO: result: $wx_cv_wchar_t_is_separate_type" >&5
34139 echo "${ECHO_T}$wx_cv_wchar_t_is_separate_type" >&6; }
34141 if test "$wx_cv_wchar_t_is_separate_type" = "yes"; then
34142 cat >>confdefs.h
<<\_ACEOF
34143 #define wxWCHAR_T_IS_SEPARATE_TYPE 1
34147 cat >>confdefs.h
<<\_ACEOF
34148 #define wxWCHAR_T_IS_SEPARATE_TYPE 0
34154 ac_cpp
='$CPP $CPPFLAGS'
34155 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34156 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34157 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
34160 { echo "$as_me:$LINENO: checking for pw_gecos in struct passwd" >&5
34161 echo $ECHO_N "checking for pw_gecos in struct passwd... $ECHO_C" >&6; }
34162 if test "${wx_cv_struct_pw_gecos+set}" = set; then
34163 echo $ECHO_N "(cached) $ECHO_C" >&6
34166 cat >conftest.
$ac_ext <<_ACEOF
34169 cat confdefs.h
>>conftest.
$ac_ext
34170 cat >>conftest.
$ac_ext <<_ACEOF
34171 /* end confdefs.h. */
34185 rm -f conftest.
$ac_objext
34186 if { (ac_try
="$ac_compile"
34187 case "(($ac_try" in
34188 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
34189 *) ac_try_echo=$ac_try;;
34191 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34192 (eval "$ac_compile") 2>conftest.er1
34194 grep -v '^ *+' conftest.er1 >conftest.err
34196 cat conftest.err >&5
34197 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34198 (exit $ac_status); } && {
34199 test -z "$ac_c_werror_flag" ||
34200 test ! -s conftest.err
34201 } && test -s conftest.$ac_objext; then
34203 wx_cv_struct_pw_gecos=yes
34206 echo "$as_me: failed program was:" >&5
34207 sed 's/^/| /' conftest.$ac_ext >&5
34210 wx_cv_struct_pw_gecos=no
34215 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34219 { echo "$as_me:$LINENO: result: $wx_cv_struct_pw_gecos" >&5
34220 echo "${ECHO_T}$wx_cv_struct_pw_gecos" >&6; }
34222 if test "$wx_cv_struct_pw_gecos" = "yes"; then
34223 cat >>confdefs.h <<\_ACEOF
34224 #define HAVE_PW_GECOS 1
34230 if test "$wxUSE_WCHAR_T" = "yes"; then
34231 cat >>confdefs.h <<\_ACEOF
34232 #define wxUSE_WCHAR_T 1
34239 for ac_func in wcslen
34241 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34242 { echo "$as_me:$LINENO: checking for $ac_func" >&5
34243 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
34244 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
34245 echo $ECHO_N "(cached) $ECHO_C" >&6
34247 cat >conftest.$ac_ext <<_ACEOF
34250 cat confdefs.h >>conftest.$ac_ext
34251 cat >>conftest.$ac_ext <<_ACEOF
34252 /* end confdefs.h. */
34253 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34254 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34255 #define $ac_func innocuous_$ac_func
34257 /* System header to define __stub macros and hopefully few prototypes,
34258 which can conflict with char $ac_func (); below.
34259 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34260 <limits.h> exists even on freestanding compilers. */
34263 # include <limits.h>
34265 # include <assert.h>
34270 /* Override any GCC internal prototype to avoid an error.
34271 Use char because int might match the return type of a GCC
34272 builtin and then its argument prototype would still apply. */
34277 /* The GNU C library defines this for functions which it implements
34278 to always fail with ENOSYS. Some functions are actually named
34279 something starting with __ and the normal name is an alias. */
34280 #if defined __stub_$ac_func || defined __stub___$ac_func
34287 return $ac_func ();
34292 rm -f conftest.$ac_objext conftest$ac_exeext
34293 if { (ac_try="$ac_link"
34294 case "(($ac_try" in
34295 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
34296 *) ac_try_echo
=$ac_try;;
34298 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34299 (eval "$ac_link") 2>conftest.er1
34301 grep -v '^ *+' conftest.er1
>conftest.err
34303 cat conftest.err
>&5
34304 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34305 (exit $ac_status); } && {
34306 test -z "$ac_c_werror_flag" ||
34307 test ! -s conftest.err
34308 } && test -s conftest
$ac_exeext &&
34309 $as_test_x conftest
$ac_exeext; then
34310 eval "$as_ac_var=yes"
34312 echo "$as_me: failed program was:" >&5
34313 sed 's/^/| /' conftest.
$ac_ext >&5
34315 eval "$as_ac_var=no"
34318 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
34319 conftest
$ac_exeext conftest.
$ac_ext
34321 ac_res
=`eval echo '${'$as_ac_var'}'`
34322 { echo "$as_me:$LINENO: result: $ac_res" >&5
34323 echo "${ECHO_T}$ac_res" >&6; }
34324 if test `eval echo '${'$as_ac_var'}'` = yes; then
34325 cat >>confdefs.h
<<_ACEOF
34326 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34333 if test "$WCSLEN_FOUND" = 0; then
34334 if test "$TOOLKIT" = "MSW"; then
34335 { echo "$as_me:$LINENO: checking for wcslen in -lmsvcrt" >&5
34336 echo $ECHO_N "checking for wcslen in -lmsvcrt... $ECHO_C" >&6; }
34337 if test "${ac_cv_lib_msvcrt_wcslen+set}" = set; then
34338 echo $ECHO_N "(cached) $ECHO_C" >&6
34340 ac_check_lib_save_LIBS
=$LIBS
34341 LIBS
="-lmsvcrt $LIBS"
34342 cat >conftest.
$ac_ext <<_ACEOF
34345 cat confdefs.h
>>conftest.
$ac_ext
34346 cat >>conftest.
$ac_ext <<_ACEOF
34347 /* end confdefs.h. */
34349 /* Override any GCC internal prototype to avoid an error.
34350 Use char because int might match the return type of a GCC
34351 builtin and then its argument prototype would still apply. */
34364 rm -f conftest.
$ac_objext conftest
$ac_exeext
34365 if { (ac_try
="$ac_link"
34366 case "(($ac_try" in
34367 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
34368 *) ac_try_echo=$ac_try;;
34370 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34371 (eval "$ac_link") 2>conftest.er1
34373 grep -v '^ *+' conftest.er1 >conftest.err
34375 cat conftest.err >&5
34376 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34377 (exit $ac_status); } && {
34378 test -z "$ac_c_werror_flag" ||
34379 test ! -s conftest.err
34380 } && test -s conftest$ac_exeext &&
34381 $as_test_x conftest$ac_exeext; then
34382 ac_cv_lib_msvcrt_wcslen=yes
34384 echo "$as_me: failed program was:" >&5
34385 sed 's/^/| /' conftest.$ac_ext >&5
34387 ac_cv_lib_msvcrt_wcslen=no
34390 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
34391 conftest$ac_exeext conftest.$ac_ext
34392 LIBS=$ac_check_lib_save_LIBS
34394 { echo "$as_me:$LINENO: result: $ac_cv_lib_msvcrt_wcslen" >&5
34395 echo "${ECHO_T}$ac_cv_lib_msvcrt_wcslen" >&6; }
34396 if test $ac_cv_lib_msvcrt_wcslen = yes; then
34401 { echo "$as_me:$LINENO: checking for wcslen in -lw" >&5
34402 echo $ECHO_N "checking for wcslen in -lw... $ECHO_C" >&6; }
34403 if test "${ac_cv_lib_w_wcslen+set}" = set; then
34404 echo $ECHO_N "(cached) $ECHO_C" >&6
34406 ac_check_lib_save_LIBS=$LIBS
34408 cat >conftest.$ac_ext <<_ACEOF
34411 cat confdefs.h >>conftest.$ac_ext
34412 cat >>conftest.$ac_ext <<_ACEOF
34413 /* end confdefs.h. */
34415 /* Override any GCC internal prototype to avoid an error.
34416 Use char because int might match the return type of a GCC
34417 builtin and then its argument prototype would still apply. */
34430 rm -f conftest.$ac_objext conftest$ac_exeext
34431 if { (ac_try="$ac_link"
34432 case "(($ac_try" in
34433 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
34434 *) ac_try_echo
=$ac_try;;
34436 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34437 (eval "$ac_link") 2>conftest.er1
34439 grep -v '^ *+' conftest.er1
>conftest.err
34441 cat conftest.err
>&5
34442 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34443 (exit $ac_status); } && {
34444 test -z "$ac_c_werror_flag" ||
34445 test ! -s conftest.err
34446 } && test -s conftest
$ac_exeext &&
34447 $as_test_x conftest
$ac_exeext; then
34448 ac_cv_lib_w_wcslen
=yes
34450 echo "$as_me: failed program was:" >&5
34451 sed 's/^/| /' conftest.
$ac_ext >&5
34453 ac_cv_lib_w_wcslen
=no
34456 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
34457 conftest
$ac_exeext conftest.
$ac_ext
34458 LIBS
=$ac_check_lib_save_LIBS
34460 { echo "$as_me:$LINENO: result: $ac_cv_lib_w_wcslen" >&5
34461 echo "${ECHO_T}$ac_cv_lib_w_wcslen" >&6; }
34462 if test $ac_cv_lib_w_wcslen = yes; then
34472 if test "$WCSLEN_FOUND" = 1; then
34473 cat >>confdefs.h
<<\_ACEOF
34474 #define HAVE_WCSLEN 1
34480 for ac_func
in wcsdup
34482 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34483 { echo "$as_me:$LINENO: checking for $ac_func" >&5
34484 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
34485 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
34486 echo $ECHO_N "(cached) $ECHO_C" >&6
34488 cat >conftest.
$ac_ext <<_ACEOF
34491 cat confdefs.h
>>conftest.
$ac_ext
34492 cat >>conftest.
$ac_ext <<_ACEOF
34493 /* end confdefs.h. */
34494 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34495 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34496 #define $ac_func innocuous_$ac_func
34498 /* System header to define __stub macros and hopefully few prototypes,
34499 which can conflict with char $ac_func (); below.
34500 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34501 <limits.h> exists even on freestanding compilers. */
34504 # include <limits.h>
34506 # include <assert.h>
34511 /* Override any GCC internal prototype to avoid an error.
34512 Use char because int might match the return type of a GCC
34513 builtin and then its argument prototype would still apply. */
34518 /* The GNU C library defines this for functions which it implements
34519 to always fail with ENOSYS. Some functions are actually named
34520 something starting with __ and the normal name is an alias. */
34521 #if defined __stub_$ac_func || defined __stub___$ac_func
34528 return $ac_func ();
34533 rm -f conftest.
$ac_objext conftest
$ac_exeext
34534 if { (ac_try
="$ac_link"
34535 case "(($ac_try" in
34536 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
34537 *) ac_try_echo=$ac_try;;
34539 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34540 (eval "$ac_link") 2>conftest.er1
34542 grep -v '^ *+' conftest.er1 >conftest.err
34544 cat conftest.err >&5
34545 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34546 (exit $ac_status); } && {
34547 test -z "$ac_c_werror_flag" ||
34548 test ! -s conftest.err
34549 } && test -s conftest$ac_exeext &&
34550 $as_test_x conftest$ac_exeext; then
34551 eval "$as_ac_var=yes"
34553 echo "$as_me: failed program was:" >&5
34554 sed 's/^/| /' conftest.$ac_ext >&5
34556 eval "$as_ac_var=no"
34559 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
34560 conftest$ac_exeext conftest.$ac_ext
34562 ac_res=`eval echo '${'$as_ac_var'}'`
34563 { echo "$as_me:$LINENO: result: $ac_res" >&5
34564 echo "${ECHO_T}$ac_res" >&6; }
34565 if test `eval echo '${'$as_ac_var'}'` = yes; then
34566 cat >>confdefs.h <<_ACEOF
34567 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34574 if test "$USE_HPUX" = 1 -a "$GCC" != "yes"; then
34575 CPPFLAGS="-D_INCLUDE__STDC_A1_SOURCE $CPPFLAGS"
34578 { echo "$as_me:$LINENO: checking for mbstate_t" >&5
34579 echo $ECHO_N "checking for mbstate_t... $ECHO_C" >&6; }
34580 if test "${ac_cv_type_mbstate_t+set}" = set; then
34581 echo $ECHO_N "(cached) $ECHO_C" >&6
34583 cat >conftest.$ac_ext <<_ACEOF
34586 cat confdefs.h >>conftest.$ac_ext
34587 cat >>conftest.$ac_ext <<_ACEOF
34588 /* end confdefs.h. */
34591 typedef mbstate_t ac__type_new_;
34595 if ((ac__type_new_ *) 0)
34597 if (sizeof (ac__type_new_))
34603 rm -f conftest.$ac_objext
34604 if { (ac_try="$ac_compile"
34605 case "(($ac_try" in
34606 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
34607 *) ac_try_echo
=$ac_try;;
34609 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34610 (eval "$ac_compile") 2>conftest.er1
34612 grep -v '^ *+' conftest.er1
>conftest.err
34614 cat conftest.err
>&5
34615 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34616 (exit $ac_status); } && {
34617 test -z "$ac_c_werror_flag" ||
34618 test ! -s conftest.err
34619 } && test -s conftest.
$ac_objext; then
34620 ac_cv_type_mbstate_t
=yes
34622 echo "$as_me: failed program was:" >&5
34623 sed 's/^/| /' conftest.
$ac_ext >&5
34625 ac_cv_type_mbstate_t
=no
34628 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
34630 { echo "$as_me:$LINENO: result: $ac_cv_type_mbstate_t" >&5
34631 echo "${ECHO_T}$ac_cv_type_mbstate_t" >&6; }
34632 if test $ac_cv_type_mbstate_t = yes; then
34634 cat >>confdefs.h
<<_ACEOF
34635 #define HAVE_MBSTATE_T 1
34639 for ac_func
in wcsrtombs
34641 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34642 { echo "$as_me:$LINENO: checking for $ac_func" >&5
34643 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
34644 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
34645 echo $ECHO_N "(cached) $ECHO_C" >&6
34647 cat >conftest.
$ac_ext <<_ACEOF
34650 cat confdefs.h
>>conftest.
$ac_ext
34651 cat >>conftest.
$ac_ext <<_ACEOF
34652 /* end confdefs.h. */
34653 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34654 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34655 #define $ac_func innocuous_$ac_func
34657 /* System header to define __stub macros and hopefully few prototypes,
34658 which can conflict with char $ac_func (); below.
34659 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34660 <limits.h> exists even on freestanding compilers. */
34663 # include <limits.h>
34665 # include <assert.h>
34670 /* Override any GCC internal prototype to avoid an error.
34671 Use char because int might match the return type of a GCC
34672 builtin and then its argument prototype would still apply. */
34677 /* The GNU C library defines this for functions which it implements
34678 to always fail with ENOSYS. Some functions are actually named
34679 something starting with __ and the normal name is an alias. */
34680 #if defined __stub_$ac_func || defined __stub___$ac_func
34687 return $ac_func ();
34692 rm -f conftest.
$ac_objext conftest
$ac_exeext
34693 if { (ac_try
="$ac_link"
34694 case "(($ac_try" in
34695 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
34696 *) ac_try_echo=$ac_try;;
34698 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34699 (eval "$ac_link") 2>conftest.er1
34701 grep -v '^ *+' conftest.er1 >conftest.err
34703 cat conftest.err >&5
34704 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34705 (exit $ac_status); } && {
34706 test -z "$ac_c_werror_flag" ||
34707 test ! -s conftest.err
34708 } && test -s conftest$ac_exeext &&
34709 $as_test_x conftest$ac_exeext; then
34710 eval "$as_ac_var=yes"
34712 echo "$as_me: failed program was:" >&5
34713 sed 's/^/| /' conftest.$ac_ext >&5
34715 eval "$as_ac_var=no"
34718 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
34719 conftest$ac_exeext conftest.$ac_ext
34721 ac_res=`eval echo '${'$as_ac_var'}'`
34722 { echo "$as_me:$LINENO: result: $ac_res" >&5
34723 echo "${ECHO_T}$ac_res" >&6; }
34724 if test `eval echo '${'$as_ac_var'}'` = yes; then
34725 cat >>confdefs.h <<_ACEOF
34726 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34735 { echo "$as_me:$LINENO: WARNING: Wide character support is unavailable" >&5
34736 echo "$as_me: WARNING: Wide character support is unavailable" >&2;}
34741 for ac_func in snprintf vsnprintf
34743 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34744 { echo "$as_me:$LINENO: checking for $ac_func" >&5
34745 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
34746 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
34747 echo $ECHO_N "(cached) $ECHO_C" >&6
34749 cat >conftest.$ac_ext <<_ACEOF
34752 cat confdefs.h >>conftest.$ac_ext
34753 cat >>conftest.$ac_ext <<_ACEOF
34754 /* end confdefs.h. */
34755 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34756 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34757 #define $ac_func innocuous_$ac_func
34759 /* System header to define __stub macros and hopefully few prototypes,
34760 which can conflict with char $ac_func (); below.
34761 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34762 <limits.h> exists even on freestanding compilers. */
34765 # include <limits.h>
34767 # include <assert.h>
34772 /* Override any GCC internal prototype to avoid an error.
34773 Use char because int might match the return type of a GCC
34774 builtin and then its argument prototype would still apply. */
34779 /* The GNU C library defines this for functions which it implements
34780 to always fail with ENOSYS. Some functions are actually named
34781 something starting with __ and the normal name is an alias. */
34782 #if defined __stub_$ac_func || defined __stub___$ac_func
34789 return $ac_func ();
34794 rm -f conftest.$ac_objext conftest$ac_exeext
34795 if { (ac_try="$ac_link"
34796 case "(($ac_try" in
34797 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
34798 *) ac_try_echo
=$ac_try;;
34800 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34801 (eval "$ac_link") 2>conftest.er1
34803 grep -v '^ *+' conftest.er1
>conftest.err
34805 cat conftest.err
>&5
34806 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34807 (exit $ac_status); } && {
34808 test -z "$ac_c_werror_flag" ||
34809 test ! -s conftest.err
34810 } && test -s conftest
$ac_exeext &&
34811 $as_test_x conftest
$ac_exeext; then
34812 eval "$as_ac_var=yes"
34814 echo "$as_me: failed program was:" >&5
34815 sed 's/^/| /' conftest.
$ac_ext >&5
34817 eval "$as_ac_var=no"
34820 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
34821 conftest
$ac_exeext conftest.
$ac_ext
34823 ac_res
=`eval echo '${'$as_ac_var'}'`
34824 { echo "$as_me:$LINENO: result: $ac_res" >&5
34825 echo "${ECHO_T}$ac_res" >&6; }
34826 if test `eval echo '${'$as_ac_var'}'` = yes; then
34827 cat >>confdefs.h
<<_ACEOF
34828 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34835 if test "$ac_cv_func_vsnprintf" = "yes"; then
34836 { echo "$as_me:$LINENO: checking for vsnprintf declaration" >&5
34837 echo $ECHO_N "checking for vsnprintf declaration... $ECHO_C" >&6; }
34838 if test "${wx_cv_func_vsnprintf_decl+set}" = set; then
34839 echo $ECHO_N "(cached) $ECHO_C" >&6
34842 cat >conftest.
$ac_ext <<_ACEOF
34845 cat confdefs.h
>>conftest.
$ac_ext
34846 cat >>conftest.
$ac_ext <<_ACEOF
34847 /* end confdefs.h. */
34850 #include <stdarg.h>
34852 #if __MSL__ >= 0x6000
34854 using namespace std;
34864 vsnprintf(buf, 10u, "%s", ap);
34870 rm -f conftest.
$ac_objext
34871 if { (ac_try
="$ac_compile"
34872 case "(($ac_try" in
34873 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
34874 *) ac_try_echo=$ac_try;;
34876 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34877 (eval "$ac_compile") 2>conftest.er1
34879 grep -v '^ *+' conftest.er1 >conftest.err
34881 cat conftest.err >&5
34882 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34883 (exit $ac_status); } && {
34884 test -z "$ac_c_werror_flag" ||
34885 test ! -s conftest.err
34886 } && test -s conftest.$ac_objext; then
34887 wx_cv_func_vsnprintf_decl=yes
34889 echo "$as_me: failed program was:" >&5
34890 sed 's/^/| /' conftest.$ac_ext >&5
34892 wx_cv_func_vsnprintf_decl=no
34896 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34900 { echo "$as_me:$LINENO: result: $wx_cv_func_vsnprintf_decl" >&5
34901 echo "${ECHO_T}$wx_cv_func_vsnprintf_decl" >&6; }
34903 if test "$wx_cv_func_vsnprintf_decl" = "yes"; then
34904 cat >>confdefs.h <<\_ACEOF
34905 #define HAVE_VSNPRINTF_DECL 1
34909 { echo "$as_me:$LINENO: checking if vsnprintf declaration is broken" >&5
34910 echo $ECHO_N "checking if vsnprintf declaration is broken... $ECHO_C" >&6; }
34911 if test "${wx_cv_func_broken_vsnprintf_decl+set}" = set; then
34912 echo $ECHO_N "(cached) $ECHO_C" >&6
34915 cat >conftest.$ac_ext <<_ACEOF
34918 cat confdefs.h >>conftest.$ac_ext
34919 cat >>conftest.$ac_ext <<_ACEOF
34920 /* end confdefs.h. */
34923 #include <stdarg.h>
34925 #if __MSL__ >= 0x6000
34927 using namespace std;
34937 const char *fmt = "%s";
34938 vsnprintf(buf, 10u, fmt, ap);
34944 rm -f conftest.$ac_objext
34945 if { (ac_try="$ac_compile"
34946 case "(($ac_try" in
34947 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
34948 *) ac_try_echo
=$ac_try;;
34950 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34951 (eval "$ac_compile") 2>conftest.er1
34953 grep -v '^ *+' conftest.er1
>conftest.err
34955 cat conftest.err
>&5
34956 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34957 (exit $ac_status); } && {
34958 test -z "$ac_c_werror_flag" ||
34959 test ! -s conftest.err
34960 } && test -s conftest.
$ac_objext; then
34961 wx_cv_func_broken_vsnprintf_decl
=no
34963 echo "$as_me: failed program was:" >&5
34964 sed 's/^/| /' conftest.
$ac_ext >&5
34966 wx_cv_func_broken_vsnprintf_decl
=yes
34970 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
34974 { echo "$as_me:$LINENO: result: $wx_cv_func_broken_vsnprintf_decl" >&5
34975 echo "${ECHO_T}$wx_cv_func_broken_vsnprintf_decl" >&6; }
34977 if test "$wx_cv_func_broken_vsnprintf_decl" = "yes"; then
34978 cat >>confdefs.h
<<\_ACEOF
34979 #define HAVE_BROKEN_VSNPRINTF_DECL 1
34986 if test "$ac_cv_func_snprintf" = "yes"; then
34987 { echo "$as_me:$LINENO: checking for snprintf declaration" >&5
34988 echo $ECHO_N "checking for snprintf declaration... $ECHO_C" >&6; }
34989 if test "${wx_cv_func_snprintf_decl+set}" = set; then
34990 echo $ECHO_N "(cached) $ECHO_C" >&6
34993 cat >conftest.
$ac_ext <<_ACEOF
34996 cat confdefs.h
>>conftest.
$ac_ext
34997 cat >>conftest.
$ac_ext <<_ACEOF
34998 /* end confdefs.h. */
35001 #include <stdarg.h>
35003 #if __MSL__ >= 0x6000
35005 using namespace std;
35014 snprintf(buf, 10u, "%s", "wx");
35020 rm -f conftest.
$ac_objext
35021 if { (ac_try
="$ac_compile"
35022 case "(($ac_try" in
35023 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
35024 *) ac_try_echo=$ac_try;;
35026 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35027 (eval "$ac_compile") 2>conftest.er1
35029 grep -v '^ *+' conftest.er1 >conftest.err
35031 cat conftest.err >&5
35032 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35033 (exit $ac_status); } && {
35034 test -z "$ac_c_werror_flag" ||
35035 test ! -s conftest.err
35036 } && test -s conftest.$ac_objext; then
35037 wx_cv_func_snprintf_decl=yes
35039 echo "$as_me: failed program was:" >&5
35040 sed 's/^/| /' conftest.$ac_ext >&5
35042 wx_cv_func_snprintf_decl=no
35046 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35050 { echo "$as_me:$LINENO: result: $wx_cv_func_snprintf_decl" >&5
35051 echo "${ECHO_T}$wx_cv_func_snprintf_decl" >&6; }
35053 if test "$wx_cv_func_snprintf_decl" = "yes"; then
35054 cat >>confdefs.h <<\_ACEOF
35055 #define HAVE_SNPRINTF_DECL 1
35059 { echo "$as_me:$LINENO: checking if snprintf declaration is broken" >&5
35060 echo $ECHO_N "checking if snprintf declaration is broken... $ECHO_C" >&6; }
35061 if test "${wx_cv_func_broken_snprintf_decl+set}" = set; then
35062 echo $ECHO_N "(cached) $ECHO_C" >&6
35065 cat >conftest.$ac_ext <<_ACEOF
35068 cat confdefs.h >>conftest.$ac_ext
35069 cat >>conftest.$ac_ext <<_ACEOF
35070 /* end confdefs.h. */
35073 #include <stdarg.h>
35075 #if __MSL__ >= 0x6000
35077 using namespace std;
35086 const char *fmt = "%s";
35087 snprintf(buf, 10u, fmt, "wx");
35093 rm -f conftest.$ac_objext
35094 if { (ac_try="$ac_compile"
35095 case "(($ac_try" in
35096 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
35097 *) ac_try_echo
=$ac_try;;
35099 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35100 (eval "$ac_compile") 2>conftest.er1
35102 grep -v '^ *+' conftest.er1
>conftest.err
35104 cat conftest.err
>&5
35105 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35106 (exit $ac_status); } && {
35107 test -z "$ac_c_werror_flag" ||
35108 test ! -s conftest.err
35109 } && test -s conftest.
$ac_objext; then
35110 wx_cv_func_broken_snprintf_decl
=no
35112 echo "$as_me: failed program was:" >&5
35113 sed 's/^/| /' conftest.
$ac_ext >&5
35115 wx_cv_func_broken_snprintf_decl
=yes
35119 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
35123 { echo "$as_me:$LINENO: result: $wx_cv_func_broken_snprintf_decl" >&5
35124 echo "${ECHO_T}$wx_cv_func_broken_snprintf_decl" >&6; }
35126 if test "$wx_cv_func_broken_snprintf_decl" = "yes"; then
35127 cat >>confdefs.h
<<\_ACEOF
35128 #define HAVE_BROKEN_SNPRINTF_DECL 1
35134 if test "$wxUSE_PRINTF_POS_PARAMS" = "yes"; then
35136 { echo "$as_me:$LINENO: checking if snprintf supports positional arguments" >&5
35137 echo $ECHO_N "checking if snprintf supports positional arguments... $ECHO_C" >&6; }
35138 if test "${wx_cv_func_snprintf_pos_params+set}" = set; then
35139 echo $ECHO_N "(cached) $ECHO_C" >&6
35142 if test "$cross_compiling" = yes; then
35144 { echo "$as_me:$LINENO: WARNING: Assuming Unix98 printf() is not available,
35145 define HAVE_UNIX98_PRINTF as 1 in setup.h if it is available." >&5
35146 echo "$as_me: WARNING: Assuming Unix98 printf() is not available,
35147 define HAVE_UNIX98_PRINTF as 1 in setup.h if it is available." >&2;}
35148 wx_cv_func_snprintf_pos_params
=no
35152 cat >conftest.
$ac_ext <<_ACEOF
35155 cat confdefs.h
>>conftest.
$ac_ext
35156 cat >>conftest.
$ac_ext <<_ACEOF
35157 /* end confdefs.h. */
35164 snprintf (buffer, 128, "%2$d %3$d %1$d", 1, 2, 3);
35165 if (strcmp ("2 3 1", buffer) == 0)
35171 rm -f conftest
$ac_exeext
35172 if { (ac_try
="$ac_link"
35173 case "(($ac_try" in
35174 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
35175 *) ac_try_echo=$ac_try;;
35177 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35178 (eval "$ac_link") 2>&5
35180 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35181 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
35182 { (case "(($ac_try" in
35183 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
35184 *) ac_try_echo
=$ac_try;;
35186 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35187 (eval "$ac_try") 2>&5
35189 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35190 (exit $ac_status); }; }; then
35191 wx_cv_func_snprintf_pos_params
=no
35193 echo "$as_me: program exited with status $ac_status" >&5
35194 echo "$as_me: failed program was:" >&5
35195 sed 's/^/| /' conftest.
$ac_ext >&5
35197 ( exit $ac_status )
35198 wx_cv_func_snprintf_pos_params
=yes
35200 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
35207 { echo "$as_me:$LINENO: result: $wx_cv_func_snprintf_pos_params" >&5
35208 echo "${ECHO_T}$wx_cv_func_snprintf_pos_params" >&6; }
35210 if test "$wx_cv_func_snprintf_pos_params" = "yes"; then
35211 cat >>confdefs.h
<<\_ACEOF
35212 #define HAVE_UNIX98_PRINTF 1
35219 if test "$wxUSE_UNICODE" = yes; then
35222 for ac_func
in swprintf
35224 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35225 { echo "$as_me:$LINENO: checking for $ac_func" >&5
35226 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
35227 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
35228 echo $ECHO_N "(cached) $ECHO_C" >&6
35230 cat >conftest.
$ac_ext <<_ACEOF
35233 cat confdefs.h
>>conftest.
$ac_ext
35234 cat >>conftest.
$ac_ext <<_ACEOF
35235 /* end confdefs.h. */
35236 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35237 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35238 #define $ac_func innocuous_$ac_func
35240 /* System header to define __stub macros and hopefully few prototypes,
35241 which can conflict with char $ac_func (); below.
35242 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35243 <limits.h> exists even on freestanding compilers. */
35246 # include <limits.h>
35248 # include <assert.h>
35253 /* Override any GCC internal prototype to avoid an error.
35254 Use char because int might match the return type of a GCC
35255 builtin and then its argument prototype would still apply. */
35260 /* The GNU C library defines this for functions which it implements
35261 to always fail with ENOSYS. Some functions are actually named
35262 something starting with __ and the normal name is an alias. */
35263 #if defined __stub_$ac_func || defined __stub___$ac_func
35270 return $ac_func ();
35275 rm -f conftest.
$ac_objext conftest
$ac_exeext
35276 if { (ac_try
="$ac_link"
35277 case "(($ac_try" in
35278 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
35279 *) ac_try_echo=$ac_try;;
35281 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35282 (eval "$ac_link") 2>conftest.er1
35284 grep -v '^ *+' conftest.er1 >conftest.err
35286 cat conftest.err >&5
35287 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35288 (exit $ac_status); } && {
35289 test -z "$ac_c_werror_flag" ||
35290 test ! -s conftest.err
35291 } && test -s conftest$ac_exeext &&
35292 $as_test_x conftest$ac_exeext; then
35293 eval "$as_ac_var=yes"
35295 echo "$as_me: failed program was:" >&5
35296 sed 's/^/| /' conftest.$ac_ext >&5
35298 eval "$as_ac_var=no"
35301 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35302 conftest$ac_exeext conftest.$ac_ext
35304 ac_res=`eval echo '${'$as_ac_var'}'`
35305 { echo "$as_me:$LINENO: result: $ac_res" >&5
35306 echo "${ECHO_T}$ac_res" >&6; }
35307 if test `eval echo '${'$as_ac_var'}'` = yes; then
35308 cat >>confdefs.h <<_ACEOF
35309 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35316 if test "$ac_cv_func_swprintf" = "yes"; then
35317 { echo "$as_me:$LINENO: checking if swprintf declaration is broken" >&5
35318 echo $ECHO_N "checking if swprintf declaration is broken... $ECHO_C" >&6; }
35319 if test "${wx_cv_func_broken_swprintf_decl+set}" = set; then
35320 echo $ECHO_N "(cached) $ECHO_C" >&6
35323 cat >conftest.$ac_ext <<_ACEOF
35326 cat confdefs.h >>conftest.$ac_ext
35327 cat >>conftest.$ac_ext <<_ACEOF
35328 /* end confdefs.h. */
35331 #include <stdarg.h>
35339 const wchar_t *fmt = L"test";
35340 swprintf(buf, 10u, fmt);
35346 rm -f conftest.$ac_objext
35347 if { (ac_try="$ac_compile"
35348 case "(($ac_try" in
35349 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
35350 *) ac_try_echo
=$ac_try;;
35352 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35353 (eval "$ac_compile") 2>conftest.er1
35355 grep -v '^ *+' conftest.er1
>conftest.err
35357 cat conftest.err
>&5
35358 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35359 (exit $ac_status); } && {
35360 test -z "$ac_c_werror_flag" ||
35361 test ! -s conftest.err
35362 } && test -s conftest.
$ac_objext; then
35363 wx_cv_func_broken_swprintf_decl
=no
35365 echo "$as_me: failed program was:" >&5
35366 sed 's/^/| /' conftest.
$ac_ext >&5
35368 wx_cv_func_broken_swprintf_decl
=yes
35372 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
35376 { echo "$as_me:$LINENO: result: $wx_cv_func_broken_swprintf_decl" >&5
35377 echo "${ECHO_T}$wx_cv_func_broken_swprintf_decl" >&6; }
35379 if test "$wx_cv_func_broken_swprintf_decl" = "yes"; then
35380 cat >>confdefs.h
<<\_ACEOF
35381 #define HAVE_BROKEN_SWPRINTF_DECL 1
35387 wchar_headers
="#include <stdio.h>
35388 #include <wchar.h>"
35391 { echo "$as_me:$LINENO: checking for widec.h" >&5
35392 echo $ECHO_N "checking for widec.h... $ECHO_C" >&6; }
35393 if test "${ac_cv_header_widec_h+set}" = set; then
35394 echo $ECHO_N "(cached) $ECHO_C" >&6
35396 cat >conftest.
$ac_ext <<_ACEOF
35399 cat confdefs.h
>>conftest.
$ac_ext
35400 cat >>conftest.
$ac_ext <<_ACEOF
35401 /* end confdefs.h. */
35402 $ac_includes_default
35406 rm -f conftest.
$ac_objext
35407 if { (ac_try
="$ac_compile"
35408 case "(($ac_try" in
35409 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
35410 *) ac_try_echo=$ac_try;;
35412 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35413 (eval "$ac_compile") 2>conftest.er1
35415 grep -v '^ *+' conftest.er1 >conftest.err
35417 cat conftest.err >&5
35418 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35419 (exit $ac_status); } && {
35420 test -z "$ac_c_werror_flag" ||
35421 test ! -s conftest.err
35422 } && test -s conftest.$ac_objext; then
35423 ac_cv_header_widec_h=yes
35425 echo "$as_me: failed program was:" >&5
35426 sed 's/^/| /' conftest.$ac_ext >&5
35428 ac_cv_header_widec_h=no
35431 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35433 { echo "$as_me:$LINENO: result: $ac_cv_header_widec_h" >&5
35434 echo "${ECHO_T}$ac_cv_header_widec_h" >&6; }
35437 if test "$ac_cv_header_widec_h" = "yes"; then
35438 wchar_headers="$wchar_headers
35439 #include <widec.h>"
35444 for wx_func in wputc wputchar putws fputws wprintf vswprintf
35446 { echo "$as_me:$LINENO: checking for $wx_func" >&5
35447 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
35448 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
35449 echo $ECHO_N "(cached) $ECHO_C" >&6
35452 cat >conftest.$ac_ext <<_ACEOF
35456 cat confdefs.h >>conftest.$ac_ext
35457 cat >>conftest.$ac_ext <<_ACEOF
35458 /* end confdefs.h. */
35461 $ac_includes_default
35477 rm -f conftest.$ac_objext conftest$ac_exeext
35478 if { (ac_try="$ac_link"
35479 case "(($ac_try" in
35480 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
35481 *) ac_try_echo
=$ac_try;;
35483 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35484 (eval "$ac_link") 2>conftest.er1
35486 grep -v '^ *+' conftest.er1
>conftest.err
35488 cat conftest.err
>&5
35489 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35490 (exit $ac_status); } && {
35491 test -z "$ac_c_werror_flag" ||
35492 test ! -s conftest.err
35493 } && test -s conftest
$ac_exeext &&
35494 $as_test_x conftest
$ac_exeext; then
35495 eval wx_cv_func_
$wx_func=yes
35497 echo "$as_me: failed program was:" >&5
35498 sed 's/^/| /' conftest.
$ac_ext >&5
35500 eval wx_cv_func_
$wx_func=no
35503 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
35504 conftest
$ac_exeext conftest.
$ac_ext
35507 ac_res
=`eval echo '${'wx_cv_func_$wx_func'}'`
35508 { echo "$as_me:$LINENO: result: $ac_res" >&5
35509 echo "${ECHO_T}$ac_res" >&6; }
35511 if eval test \
$wx_cv_func_$wx_func = yes
35513 cat >>confdefs.h
<<_ACEOF
35514 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
35525 { echo "$as_me:$LINENO: checking for _vsnwprintf" >&5
35526 echo $ECHO_N "checking for _vsnwprintf... $ECHO_C" >&6; }
35527 cat >conftest.
$ac_ext <<_ACEOF
35530 cat confdefs.h
>>conftest.
$ac_ext
35531 cat >>conftest.
$ac_ext <<_ACEOF
35532 /* end confdefs.h. */
35542 rm -f conftest.
$ac_objext
35543 if { (ac_try
="$ac_compile"
35544 case "(($ac_try" in
35545 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
35546 *) ac_try_echo=$ac_try;;
35548 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35549 (eval "$ac_compile") 2>conftest.er1
35551 grep -v '^ *+' conftest.er1 >conftest.err
35553 cat conftest.err >&5
35554 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35555 (exit $ac_status); } && {
35556 test -z "$ac_c_werror_flag" ||
35557 test ! -s conftest.err
35558 } && test -s conftest.$ac_objext; then
35559 { echo "$as_me:$LINENO: result: yes" >&5
35560 echo "${ECHO_T}yes" >&6; }
35561 cat >>confdefs.h <<\_ACEOF
35562 #define HAVE__VSNWPRINTF 1
35566 echo "$as_me: failed program was:" >&5
35567 sed 's/^/| /' conftest.$ac_ext >&5
35569 { echo "$as_me:$LINENO: result: no" >&5
35570 echo "${ECHO_T}no" >&6; }
35573 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext;
35576 if test "x$ac_cv_header_fnmatch_h" = "xyes"; then
35578 for wx_func in fnmatch
35580 { echo "$as_me:$LINENO: checking for $wx_func" >&5
35581 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
35582 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
35583 echo $ECHO_N "(cached) $ECHO_C" >&6
35586 cat >conftest.$ac_ext <<_ACEOF
35590 cat confdefs.h >>conftest.$ac_ext
35591 cat >>conftest.$ac_ext <<_ACEOF
35592 /* end confdefs.h. */
35594 #include <fnmatch.h>
35595 $ac_includes_default
35611 rm -f conftest.$ac_objext conftest$ac_exeext
35612 if { (ac_try="$ac_link"
35613 case "(($ac_try" in
35614 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
35615 *) ac_try_echo
=$ac_try;;
35617 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35618 (eval "$ac_link") 2>conftest.er1
35620 grep -v '^ *+' conftest.er1
>conftest.err
35622 cat conftest.err
>&5
35623 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35624 (exit $ac_status); } && {
35625 test -z "$ac_c_werror_flag" ||
35626 test ! -s conftest.err
35627 } && test -s conftest
$ac_exeext &&
35628 $as_test_x conftest
$ac_exeext; then
35629 eval wx_cv_func_
$wx_func=yes
35631 echo "$as_me: failed program was:" >&5
35632 sed 's/^/| /' conftest.
$ac_ext >&5
35634 eval wx_cv_func_
$wx_func=no
35637 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
35638 conftest
$ac_exeext conftest.
$ac_ext
35641 ac_res
=`eval echo '${'wx_cv_func_$wx_func'}'`
35642 { echo "$as_me:$LINENO: result: $ac_res" >&5
35643 echo "${ECHO_T}$ac_res" >&6; }
35645 if eval test \
$wx_cv_func_$wx_func = yes
35647 cat >>confdefs.h
<<_ACEOF
35648 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
35660 if test "$wxUSE_FILE" = "yes"; then
35662 for wx_func
in fsync
35664 { echo "$as_me:$LINENO: checking for $wx_func" >&5
35665 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
35666 if { as_var
=wx_cv_func_
$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
35667 echo $ECHO_N "(cached) $ECHO_C" >&6
35670 cat >conftest.
$ac_ext <<_ACEOF
35674 cat confdefs.h
>>conftest.
$ac_ext
35675 cat >>conftest.
$ac_ext <<_ACEOF
35676 /* end confdefs.h. */
35679 $ac_includes_default
35695 rm -f conftest.
$ac_objext conftest
$ac_exeext
35696 if { (ac_try
="$ac_link"
35697 case "(($ac_try" in
35698 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
35699 *) ac_try_echo=$ac_try;;
35701 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35702 (eval "$ac_link") 2>conftest.er1
35704 grep -v '^ *+' conftest.er1 >conftest.err
35706 cat conftest.err >&5
35707 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35708 (exit $ac_status); } && {
35709 test -z "$ac_c_werror_flag" ||
35710 test ! -s conftest.err
35711 } && test -s conftest$ac_exeext &&
35712 $as_test_x conftest$ac_exeext; then
35713 eval wx_cv_func_$wx_func=yes
35715 echo "$as_me: failed program was:" >&5
35716 sed 's/^/| /' conftest.$ac_ext >&5
35718 eval wx_cv_func_$wx_func=no
35721 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35722 conftest$ac_exeext conftest.$ac_ext
35725 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
35726 { echo "$as_me:$LINENO: result: $ac_res" >&5
35727 echo "${ECHO_T}$ac_res" >&6; }
35729 if eval test \$wx_cv_func_$wx_func = yes
35731 cat >>confdefs.h <<_ACEOF
35732 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
35745 ac_cpp='$CXXCPP $CPPFLAGS'
35746 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35747 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35748 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35751 for wx_func in round
35753 { echo "$as_me:$LINENO: checking for $wx_func" >&5
35754 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
35755 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
35756 echo $ECHO_N "(cached) $ECHO_C" >&6
35759 cat >conftest.$ac_ext <<_ACEOF
35763 cat confdefs.h >>conftest.$ac_ext
35764 cat >>conftest.$ac_ext <<_ACEOF
35765 /* end confdefs.h. */
35768 $ac_includes_default
35784 rm -f conftest.$ac_objext conftest$ac_exeext
35785 if { (ac_try="$ac_link"
35786 case "(($ac_try" in
35787 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
35788 *) ac_try_echo
=$ac_try;;
35790 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35791 (eval "$ac_link") 2>conftest.er1
35793 grep -v '^ *+' conftest.er1
>conftest.err
35795 cat conftest.err
>&5
35796 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35797 (exit $ac_status); } && {
35798 test -z "$ac_cxx_werror_flag" ||
35799 test ! -s conftest.err
35800 } && test -s conftest
$ac_exeext &&
35801 $as_test_x conftest
$ac_exeext; then
35802 eval wx_cv_func_
$wx_func=yes
35804 echo "$as_me: failed program was:" >&5
35805 sed 's/^/| /' conftest.
$ac_ext >&5
35807 eval wx_cv_func_
$wx_func=no
35810 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
35811 conftest
$ac_exeext conftest.
$ac_ext
35814 ac_res
=`eval echo '${'wx_cv_func_$wx_func'}'`
35815 { echo "$as_me:$LINENO: result: $ac_res" >&5
35816 echo "${ECHO_T}$ac_res" >&6; }
35818 if eval test \
$wx_cv_func_$wx_func = yes
35820 cat >>confdefs.h
<<_ACEOF
35821 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
35832 ac_cpp
='$CPP $CPPFLAGS'
35833 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35834 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35835 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
35838 if test "$TOOLKIT" != "MSW"; then
35844 # Check whether --with-libiconv-prefix was given.
35845 if test "${with_libiconv_prefix+set}" = set; then
35846 withval
=$with_libiconv_prefix;
35847 for dir
in `echo "$withval" | tr : ' '`; do
35848 if test -d $dir/include
; then CPPFLAGS
="$CPPFLAGS -I$dir/include"; fi
35849 if test -d $dir/lib
; then LDFLAGS
="$LDFLAGS -L$dir/lib"; fi
35855 { echo "$as_me:$LINENO: checking for iconv" >&5
35856 echo $ECHO_N "checking for iconv... $ECHO_C" >&6; }
35857 if test "${am_cv_func_iconv+set}" = set; then
35858 echo $ECHO_N "(cached) $ECHO_C" >&6
35861 am_cv_func_iconv
="no, consider installing GNU libiconv"
35863 cat >conftest.
$ac_ext <<_ACEOF
35866 cat confdefs.h
>>conftest.
$ac_ext
35867 cat >>conftest.
$ac_ext <<_ACEOF
35868 /* end confdefs.h. */
35869 #include <stdlib.h>
35874 iconv_t cd = iconv_open("","");
35875 iconv(cd,NULL,NULL,NULL,NULL);
35881 rm -f conftest.
$ac_objext conftest
$ac_exeext
35882 if { (ac_try
="$ac_link"
35883 case "(($ac_try" in
35884 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
35885 *) ac_try_echo=$ac_try;;
35887 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35888 (eval "$ac_link") 2>conftest.er1
35890 grep -v '^ *+' conftest.er1 >conftest.err
35892 cat conftest.err >&5
35893 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35894 (exit $ac_status); } && {
35895 test -z "$ac_c_werror_flag" ||
35896 test ! -s conftest.err
35897 } && test -s conftest$ac_exeext &&
35898 $as_test_x conftest$ac_exeext; then
35899 am_cv_func_iconv=yes
35901 echo "$as_me: failed program was:" >&5
35902 sed 's/^/| /' conftest.$ac_ext >&5
35907 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35908 conftest$ac_exeext conftest.$ac_ext
35909 if test "$am_cv_func_iconv" != yes; then
35910 am_save_LIBS="$LIBS"
35911 LIBS="$LIBS -liconv"
35912 cat >conftest.$ac_ext <<_ACEOF
35915 cat confdefs.h >>conftest.$ac_ext
35916 cat >>conftest.$ac_ext <<_ACEOF
35917 /* end confdefs.h. */
35918 #include <stdlib.h>
35923 iconv_t cd = iconv_open("","");
35924 iconv(cd,NULL,NULL,NULL,NULL);
35930 rm -f conftest.$ac_objext conftest$ac_exeext
35931 if { (ac_try="$ac_link"
35932 case "(($ac_try" in
35933 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
35934 *) ac_try_echo
=$ac_try;;
35936 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35937 (eval "$ac_link") 2>conftest.er1
35939 grep -v '^ *+' conftest.er1
>conftest.err
35941 cat conftest.err
>&5
35942 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35943 (exit $ac_status); } && {
35944 test -z "$ac_c_werror_flag" ||
35945 test ! -s conftest.err
35946 } && test -s conftest
$ac_exeext &&
35947 $as_test_x conftest
$ac_exeext; then
35948 am_cv_lib_iconv
=yes
35949 am_cv_func_iconv
=yes
35951 echo "$as_me: failed program was:" >&5
35952 sed 's/^/| /' conftest.
$ac_ext >&5
35957 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
35958 conftest
$ac_exeext conftest.
$ac_ext
35959 LIBS
="$am_save_LIBS"
35963 { echo "$as_me:$LINENO: result: $am_cv_func_iconv" >&5
35964 echo "${ECHO_T}$am_cv_func_iconv" >&6; }
35965 if test "$am_cv_func_iconv" = yes; then
35967 cat >>confdefs.h
<<\_ACEOF
35968 #define HAVE_ICONV 1
35971 { echo "$as_me:$LINENO: checking if iconv needs const" >&5
35972 echo $ECHO_N "checking if iconv needs const... $ECHO_C" >&6; }
35973 if test "${wx_cv_func_iconv_const+set}" = set; then
35974 echo $ECHO_N "(cached) $ECHO_C" >&6
35976 cat >conftest.
$ac_ext <<_ACEOF
35979 cat confdefs.h
>>conftest.
$ac_ext
35980 cat >>conftest.
$ac_ext <<_ACEOF
35981 /* end confdefs.h. */
35983 #include <stdlib.h>
35989 #if defined(__STDC__) || defined(__cplusplus)
35990 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
36003 rm -f conftest.
$ac_objext
36004 if { (ac_try
="$ac_compile"
36005 case "(($ac_try" in
36006 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
36007 *) ac_try_echo=$ac_try;;
36009 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36010 (eval "$ac_compile") 2>conftest.er1
36012 grep -v '^ *+' conftest.er1 >conftest.err
36014 cat conftest.err >&5
36015 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36016 (exit $ac_status); } && {
36017 test -z "$ac_c_werror_flag" ||
36018 test ! -s conftest.err
36019 } && test -s conftest.$ac_objext; then
36020 wx_cv_func_iconv_const="no"
36022 echo "$as_me: failed program was:" >&5
36023 sed 's/^/| /' conftest.$ac_ext >&5
36025 wx_cv_func_iconv_const="yes"
36029 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36032 { echo "$as_me:$LINENO: result: $wx_cv_func_iconv_const" >&5
36033 echo "${ECHO_T}$wx_cv_func_iconv_const" >&6; }
36036 if test "x$wx_cv_func_iconv_const" = "xyes"; then
36037 iconv_const="const"
36041 cat >>confdefs.h <<_ACEOF
36042 #define ICONV_CONST $iconv_const
36047 if test "$am_cv_lib_iconv" = yes; then
36052 LIBS="$LIBICONV $LIBS"
36054 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes" -a "$wxUSE_UNIX" = "yes"; then
36056 for ac_func in sigaction
36058 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36059 { echo "$as_me:$LINENO: checking for $ac_func" >&5
36060 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
36061 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
36062 echo $ECHO_N "(cached) $ECHO_C" >&6
36064 cat >conftest.$ac_ext <<_ACEOF
36067 cat confdefs.h >>conftest.$ac_ext
36068 cat >>conftest.$ac_ext <<_ACEOF
36069 /* end confdefs.h. */
36070 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36071 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36072 #define $ac_func innocuous_$ac_func
36074 /* System header to define __stub macros and hopefully few prototypes,
36075 which can conflict with char $ac_func (); below.
36076 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36077 <limits.h> exists even on freestanding compilers. */
36080 # include <limits.h>
36082 # include <assert.h>
36087 /* Override any GCC internal prototype to avoid an error.
36088 Use char because int might match the return type of a GCC
36089 builtin and then its argument prototype would still apply. */
36094 /* The GNU C library defines this for functions which it implements
36095 to always fail with ENOSYS. Some functions are actually named
36096 something starting with __ and the normal name is an alias. */
36097 #if defined __stub_$ac_func || defined __stub___$ac_func
36104 return $ac_func ();
36109 rm -f conftest.$ac_objext conftest$ac_exeext
36110 if { (ac_try="$ac_link"
36111 case "(($ac_try" in
36112 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
36113 *) ac_try_echo
=$ac_try;;
36115 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36116 (eval "$ac_link") 2>conftest.er1
36118 grep -v '^ *+' conftest.er1
>conftest.err
36120 cat conftest.err
>&5
36121 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36122 (exit $ac_status); } && {
36123 test -z "$ac_c_werror_flag" ||
36124 test ! -s conftest.err
36125 } && test -s conftest
$ac_exeext &&
36126 $as_test_x conftest
$ac_exeext; then
36127 eval "$as_ac_var=yes"
36129 echo "$as_me: failed program was:" >&5
36130 sed 's/^/| /' conftest.
$ac_ext >&5
36132 eval "$as_ac_var=no"
36135 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
36136 conftest
$ac_exeext conftest.
$ac_ext
36138 ac_res
=`eval echo '${'$as_ac_var'}'`
36139 { echo "$as_me:$LINENO: result: $ac_res" >&5
36140 echo "${ECHO_T}$ac_res" >&6; }
36141 if test `eval echo '${'$as_ac_var'}'` = yes; then
36142 cat >>confdefs.h
<<_ACEOF
36143 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36150 if test "$ac_cv_func_sigaction" = "no"; then
36151 { echo "$as_me:$LINENO: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&5
36152 echo "$as_me: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&2;}
36153 wxUSE_ON_FATAL_EXCEPTION
=no
36156 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
36157 { echo "$as_me:$LINENO: checking for sa_handler type" >&5
36158 echo $ECHO_N "checking for sa_handler type... $ECHO_C" >&6; }
36159 if test "${wx_cv_type_sa_handler+set}" = set; then
36160 echo $ECHO_N "(cached) $ECHO_C" >&6
36164 ac_cpp
='$CXXCPP $CPPFLAGS'
36165 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36166 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36167 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
36169 cat >conftest.
$ac_ext <<_ACEOF
36172 cat confdefs.h
>>conftest.
$ac_ext
36173 cat >>conftest.
$ac_ext <<_ACEOF
36174 /* end confdefs.h. */
36175 #include <signal.h>
36180 extern void testSigHandler(int);
36182 struct sigaction sa;
36183 sa.sa_handler = testSigHandler;
36189 rm -f conftest.
$ac_objext
36190 if { (ac_try
="$ac_compile"
36191 case "(($ac_try" in
36192 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
36193 *) ac_try_echo=$ac_try;;
36195 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36196 (eval "$ac_compile") 2>conftest.er1
36198 grep -v '^ *+' conftest.er1 >conftest.err
36200 cat conftest.err >&5
36201 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36202 (exit $ac_status); } && {
36203 test -z "$ac_cxx_werror_flag" ||
36204 test ! -s conftest.err
36205 } && test -s conftest.$ac_objext; then
36207 wx_cv_type_sa_handler=int
36210 echo "$as_me: failed program was:" >&5
36211 sed 's/^/| /' conftest.$ac_ext >&5
36214 wx_cv_type_sa_handler=void
36218 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36220 ac_cpp='$CPP $CPPFLAGS'
36221 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36222 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36223 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36227 { echo "$as_me:$LINENO: result: $wx_cv_type_sa_handler" >&5
36228 echo "${ECHO_T}$wx_cv_type_sa_handler" >&6; }
36230 cat >>confdefs.h <<_ACEOF
36231 #define wxTYPE_SA_HANDLER $wx_cv_type_sa_handler
36237 if test "$wxUSE_STACKWALKER" = "yes" -a "$wxUSE_UNIX" = "yes"; then
36238 { echo "$as_me:$LINENO: checking for backtrace() in <execinfo.h>" >&5
36239 echo $ECHO_N "checking for backtrace() in <execinfo.h>... $ECHO_C" >&6; }
36240 if test "${wx_cv_func_backtrace+set}" = set; then
36241 echo $ECHO_N "(cached) $ECHO_C" >&6
36245 ac_cpp='$CXXCPP $CPPFLAGS'
36246 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36247 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36248 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36250 cat >conftest.$ac_ext <<_ACEOF
36253 cat confdefs.h >>conftest.$ac_ext
36254 cat >>conftest.$ac_ext <<_ACEOF
36255 /* end confdefs.h. */
36256 #include <execinfo.h>
36264 backtrace(trace, 1);
36265 messages = backtrace_symbols(trace, 1);
36271 rm -f conftest.$ac_objext
36272 if { (ac_try="$ac_compile"
36273 case "(($ac_try" in
36274 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
36275 *) ac_try_echo
=$ac_try;;
36277 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36278 (eval "$ac_compile") 2>conftest.er1
36280 grep -v '^ *+' conftest.er1
>conftest.err
36282 cat conftest.err
>&5
36283 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36284 (exit $ac_status); } && {
36285 test -z "$ac_cxx_werror_flag" ||
36286 test ! -s conftest.err
36287 } && test -s conftest.
$ac_objext; then
36288 wx_cv_func_backtrace
=yes
36290 echo "$as_me: failed program was:" >&5
36291 sed 's/^/| /' conftest.
$ac_ext >&5
36293 wx_cv_func_backtrace
=no
36297 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
36299 ac_cpp
='$CPP $CPPFLAGS'
36300 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36301 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36302 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
36307 { echo "$as_me:$LINENO: result: $wx_cv_func_backtrace" >&5
36308 echo "${ECHO_T}$wx_cv_func_backtrace" >&6; }
36311 if test "$wx_cv_func_backtrace" = "no"; then
36312 { echo "$as_me:$LINENO: WARNING: backtrace() is not available, wxStackWalker will not be available" >&5
36313 echo "$as_me: WARNING: backtrace() is not available, wxStackWalker will not be available" >&2;}
36314 wxUSE_STACKWALKER
=no
36316 { echo "$as_me:$LINENO: checking for __cxa_demangle() in <cxxabi.h>" >&5
36317 echo $ECHO_N "checking for __cxa_demangle() in <cxxabi.h>... $ECHO_C" >&6; }
36318 if test "${wx_cv_func_cxa_demangle+set}" = set; then
36319 echo $ECHO_N "(cached) $ECHO_C" >&6
36323 ac_cpp
='$CXXCPP $CPPFLAGS'
36324 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36325 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36326 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
36328 cat >conftest.
$ac_ext <<_ACEOF
36331 cat confdefs.h
>>conftest.
$ac_ext
36332 cat >>conftest.
$ac_ext <<_ACEOF
36333 /* end confdefs.h. */
36334 #include <cxxabi.h>
36340 __cxxabiv1::__cxa_demangle("foo", 0, 0, &rc);
36346 rm -f conftest.
$ac_objext conftest
$ac_exeext
36347 if { (ac_try
="$ac_link"
36348 case "(($ac_try" in
36349 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
36350 *) ac_try_echo=$ac_try;;
36352 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36353 (eval "$ac_link") 2>conftest.er1
36355 grep -v '^ *+' conftest.er1 >conftest.err
36357 cat conftest.err >&5
36358 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36359 (exit $ac_status); } && {
36360 test -z "$ac_cxx_werror_flag" ||
36361 test ! -s conftest.err
36362 } && test -s conftest$ac_exeext &&
36363 $as_test_x conftest$ac_exeext; then
36364 wx_cv_func_cxa_demangle=yes
36366 echo "$as_me: failed program was:" >&5
36367 sed 's/^/| /' conftest.$ac_ext >&5
36369 wx_cv_func_cxa_demangle=no
36373 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36374 conftest$ac_exeext conftest.$ac_ext
36376 ac_cpp='$CPP $CPPFLAGS'
36377 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36378 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36379 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36384 { echo "$as_me:$LINENO: result: $wx_cv_func_cxa_demangle" >&5
36385 echo "${ECHO_T}$wx_cv_func_cxa_demangle" >&6; }
36387 if test "$wx_cv_func_cxa_demangle" = "yes"; then
36388 cat >>confdefs.h <<\_ACEOF
36389 #define HAVE_CXA_DEMANGLE 1
36396 if test "$wxUSE_STACKWALKER" = "yes" -a "$USE_WIN32" != "1" -a "$USE_UNIX" != "1"; then
36397 { echo "$as_me:$LINENO: WARNING: wxStackWalker is only available on Win32 and UNIX... disabled" >&5
36398 echo "$as_me: WARNING: wxStackWalker is only available on Win32 and UNIX... disabled" >&2;}
36399 wxUSE_STACKWALKER=no
36405 for ac_func in mkstemp mktemp
36407 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36408 { echo "$as_me:$LINENO: checking for $ac_func" >&5
36409 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
36410 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
36411 echo $ECHO_N "(cached) $ECHO_C" >&6
36413 cat >conftest.$ac_ext <<_ACEOF
36416 cat confdefs.h >>conftest.$ac_ext
36417 cat >>conftest.$ac_ext <<_ACEOF
36418 /* end confdefs.h. */
36419 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36420 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36421 #define $ac_func innocuous_$ac_func
36423 /* System header to define __stub macros and hopefully few prototypes,
36424 which can conflict with char $ac_func (); below.
36425 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36426 <limits.h> exists even on freestanding compilers. */
36429 # include <limits.h>
36431 # include <assert.h>
36436 /* Override any GCC internal prototype to avoid an error.
36437 Use char because int might match the return type of a GCC
36438 builtin and then its argument prototype would still apply. */
36443 /* The GNU C library defines this for functions which it implements
36444 to always fail with ENOSYS. Some functions are actually named
36445 something starting with __ and the normal name is an alias. */
36446 #if defined __stub_$ac_func || defined __stub___$ac_func
36453 return $ac_func ();
36458 rm -f conftest.$ac_objext conftest$ac_exeext
36459 if { (ac_try="$ac_link"
36460 case "(($ac_try" in
36461 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
36462 *) ac_try_echo
=$ac_try;;
36464 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36465 (eval "$ac_link") 2>conftest.er1
36467 grep -v '^ *+' conftest.er1
>conftest.err
36469 cat conftest.err
>&5
36470 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36471 (exit $ac_status); } && {
36472 test -z "$ac_c_werror_flag" ||
36473 test ! -s conftest.err
36474 } && test -s conftest
$ac_exeext &&
36475 $as_test_x conftest
$ac_exeext; then
36476 eval "$as_ac_var=yes"
36478 echo "$as_me: failed program was:" >&5
36479 sed 's/^/| /' conftest.
$ac_ext >&5
36481 eval "$as_ac_var=no"
36484 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
36485 conftest
$ac_exeext conftest.
$ac_ext
36487 ac_res
=`eval echo '${'$as_ac_var'}'`
36488 { echo "$as_me:$LINENO: result: $ac_res" >&5
36489 echo "${ECHO_T}$ac_res" >&6; }
36490 if test `eval echo '${'$as_ac_var'}'` = yes; then
36491 cat >>confdefs.h
<<_ACEOF
36492 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36499 { echo "$as_me:$LINENO: checking for statfs" >&5
36500 echo $ECHO_N "checking for statfs... $ECHO_C" >&6; }
36501 if test "${wx_cv_func_statfs+set}" = set; then
36502 echo $ECHO_N "(cached) $ECHO_C" >&6
36504 cat >conftest.
$ac_ext <<_ACEOF
36507 cat confdefs.h
>>conftest.
$ac_ext
36508 cat >>conftest.
$ac_ext <<_ACEOF
36509 /* end confdefs.h. */
36511 #if defined(__BSD__)
36512 #include <sys/param.h>
36513 #include <sys/mount.h>
36515 #include <sys/vfs.h>
36533 rm -f conftest.
$ac_objext
36534 if { (ac_try
="$ac_compile"
36535 case "(($ac_try" in
36536 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
36537 *) ac_try_echo=$ac_try;;
36539 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36540 (eval "$ac_compile") 2>conftest.er1
36542 grep -v '^ *+' conftest.er1 >conftest.err
36544 cat conftest.err >&5
36545 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36546 (exit $ac_status); } && {
36547 test -z "$ac_c_werror_flag" ||
36548 test ! -s conftest.err
36549 } && test -s conftest.$ac_objext; then
36550 wx_cv_func_statfs=yes
36552 echo "$as_me: failed program was:" >&5
36553 sed 's/^/| /' conftest.$ac_ext >&5
36555 wx_cv_func_statfs=no
36559 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36562 { echo "$as_me:$LINENO: result: $wx_cv_func_statfs" >&5
36563 echo "${ECHO_T}$wx_cv_func_statfs" >&6; }
36565 if test "$wx_cv_func_statfs" = "yes"; then
36566 { echo "$as_me:$LINENO: checking for statfs declaration" >&5
36567 echo $ECHO_N "checking for statfs declaration... $ECHO_C" >&6; }
36568 if test "${wx_cv_func_statfs_decl+set}" = set; then
36569 echo $ECHO_N "(cached) $ECHO_C" >&6
36572 ac_cpp='$CXXCPP $CPPFLAGS'
36573 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36574 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36575 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36577 cat >conftest.$ac_ext <<_ACEOF
36580 cat confdefs.h >>conftest.$ac_ext
36581 cat >>conftest.$ac_ext <<_ACEOF
36582 /* end confdefs.h. */
36584 #if defined(__BSD__)
36585 #include <sys/param.h>
36586 #include <sys/mount.h>
36588 #include <sys/vfs.h>
36602 rm -f conftest.$ac_objext
36603 if { (ac_try="$ac_compile"
36604 case "(($ac_try" in
36605 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
36606 *) ac_try_echo
=$ac_try;;
36608 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36609 (eval "$ac_compile") 2>conftest.er1
36611 grep -v '^ *+' conftest.er1
>conftest.err
36613 cat conftest.err
>&5
36614 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36615 (exit $ac_status); } && {
36616 test -z "$ac_cxx_werror_flag" ||
36617 test ! -s conftest.err
36618 } && test -s conftest.
$ac_objext; then
36619 wx_cv_func_statfs_decl
=yes
36621 echo "$as_me: failed program was:" >&5
36622 sed 's/^/| /' conftest.
$ac_ext >&5
36624 wx_cv_func_statfs_decl
=no
36628 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
36630 ac_cpp
='$CPP $CPPFLAGS'
36631 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36632 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36633 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
36637 { echo "$as_me:$LINENO: result: $wx_cv_func_statfs_decl" >&5
36638 echo "${ECHO_T}$wx_cv_func_statfs_decl" >&6; }
36640 if test "$wx_cv_func_statfs_decl" = "yes"; then
36641 cat >>confdefs.h
<<\_ACEOF
36642 #define HAVE_STATFS_DECL 1
36647 wx_cv_type_statvfs_t
="struct statfs"
36648 cat >>confdefs.h
<<\_ACEOF
36649 #define HAVE_STATFS 1
36653 { echo "$as_me:$LINENO: checking for statvfs" >&5
36654 echo $ECHO_N "checking for statvfs... $ECHO_C" >&6; }
36655 if test "${wx_cv_func_statvfs+set}" = set; then
36656 echo $ECHO_N "(cached) $ECHO_C" >&6
36658 cat >conftest.
$ac_ext <<_ACEOF
36661 cat confdefs.h
>>conftest.
$ac_ext
36662 cat >>conftest.
$ac_ext <<_ACEOF
36663 /* end confdefs.h. */
36665 #include <stddef.h>
36666 #include <sys/statvfs.h>
36672 statvfs("/", NULL);
36678 rm -f conftest.
$ac_objext
36679 if { (ac_try
="$ac_compile"
36680 case "(($ac_try" in
36681 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
36682 *) ac_try_echo=$ac_try;;
36684 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36685 (eval "$ac_compile") 2>conftest.er1
36687 grep -v '^ *+' conftest.er1 >conftest.err
36689 cat conftest.err >&5
36690 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36691 (exit $ac_status); } && {
36692 test -z "$ac_c_werror_flag" ||
36693 test ! -s conftest.err
36694 } && test -s conftest.$ac_objext; then
36695 wx_cv_func_statvfs=yes
36697 echo "$as_me: failed program was:" >&5
36698 sed 's/^/| /' conftest.$ac_ext >&5
36700 wx_cv_func_statvfs=no
36704 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36707 { echo "$as_me:$LINENO: result: $wx_cv_func_statvfs" >&5
36708 echo "${ECHO_T}$wx_cv_func_statvfs" >&6; }
36710 if test "$wx_cv_func_statvfs" = "yes"; then
36711 { echo "$as_me:$LINENO: checking for statvfs argument type" >&5
36712 echo $ECHO_N "checking for statvfs argument type... $ECHO_C" >&6; }
36713 if test "${wx_cv_type_statvfs_t+set}" = set; then
36714 echo $ECHO_N "(cached) $ECHO_C" >&6
36717 ac_cpp='$CXXCPP $CPPFLAGS'
36718 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36719 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36720 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36722 cat >conftest.$ac_ext <<_ACEOF
36725 cat confdefs.h >>conftest.$ac_ext
36726 cat >>conftest.$ac_ext <<_ACEOF
36727 /* end confdefs.h. */
36729 #include <sys/statvfs.h>
36746 rm -f conftest.$ac_objext
36747 if { (ac_try="$ac_compile"
36748 case "(($ac_try" in
36749 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
36750 *) ac_try_echo
=$ac_try;;
36752 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36753 (eval "$ac_compile") 2>conftest.er1
36755 grep -v '^ *+' conftest.er1
>conftest.err
36757 cat conftest.err
>&5
36758 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36759 (exit $ac_status); } && {
36760 test -z "$ac_cxx_werror_flag" ||
36761 test ! -s conftest.err
36762 } && test -s conftest.
$ac_objext; then
36763 wx_cv_type_statvfs_t
=statvfs_t
36765 echo "$as_me: failed program was:" >&5
36766 sed 's/^/| /' conftest.
$ac_ext >&5
36769 cat >conftest.
$ac_ext <<_ACEOF
36772 cat confdefs.h
>>conftest.
$ac_ext
36773 cat >>conftest.
$ac_ext <<_ACEOF
36774 /* end confdefs.h. */
36776 #include <sys/statvfs.h>
36793 rm -f conftest.
$ac_objext
36794 if { (ac_try
="$ac_compile"
36795 case "(($ac_try" in
36796 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
36797 *) ac_try_echo=$ac_try;;
36799 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36800 (eval "$ac_compile") 2>conftest.er1
36802 grep -v '^ *+' conftest.er1 >conftest.err
36804 cat conftest.err >&5
36805 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36806 (exit $ac_status); } && {
36807 test -z "$ac_cxx_werror_flag" ||
36808 test ! -s conftest.err
36809 } && test -s conftest.$ac_objext; then
36810 wx_cv_type_statvfs_t="struct statvfs"
36812 echo "$as_me: failed program was:" >&5
36813 sed 's/^/| /' conftest.$ac_ext >&5
36815 wx_cv_type_statvfs_t="unknown"
36819 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36824 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36826 ac_cpp='$CPP $CPPFLAGS'
36827 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36828 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36829 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36833 { echo "$as_me:$LINENO: result: $wx_cv_type_statvfs_t" >&5
36834 echo "${ECHO_T}$wx_cv_type_statvfs_t" >&6; }
36836 if test "$wx_cv_type_statvfs_t" != "unknown"; then
36837 cat >>confdefs.h <<\_ACEOF
36838 #define HAVE_STATVFS 1
36843 wx_cv_type_statvfs_t="unknown"
36847 if test "$wx_cv_type_statvfs_t" != "unknown"; then
36848 cat >>confdefs.h <<_ACEOF
36849 #define WX_STATFS_T $wx_cv_type_statvfs_t
36853 { echo "$as_me:$LINENO: WARNING: wxGetDiskSpace() function won't work without statfs()" >&5
36854 echo "$as_me: WARNING: wxGetDiskSpace() function won't work without statfs()" >&2;}
36857 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
36860 for ac_func in fcntl flock
36862 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36863 { echo "$as_me:$LINENO: checking for $ac_func" >&5
36864 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
36865 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
36866 echo $ECHO_N "(cached) $ECHO_C" >&6
36868 cat >conftest.$ac_ext <<_ACEOF
36871 cat confdefs.h >>conftest.$ac_ext
36872 cat >>conftest.$ac_ext <<_ACEOF
36873 /* end confdefs.h. */
36874 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36875 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36876 #define $ac_func innocuous_$ac_func
36878 /* System header to define __stub macros and hopefully few prototypes,
36879 which can conflict with char $ac_func (); below.
36880 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36881 <limits.h> exists even on freestanding compilers. */
36884 # include <limits.h>
36886 # include <assert.h>
36891 /* Override any GCC internal prototype to avoid an error.
36892 Use char because int might match the return type of a GCC
36893 builtin and then its argument prototype would still apply. */
36898 /* The GNU C library defines this for functions which it implements
36899 to always fail with ENOSYS. Some functions are actually named
36900 something starting with __ and the normal name is an alias. */
36901 #if defined __stub_$ac_func || defined __stub___$ac_func
36908 return $ac_func ();
36913 rm -f conftest.$ac_objext conftest$ac_exeext
36914 if { (ac_try="$ac_link"
36915 case "(($ac_try" in
36916 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
36917 *) ac_try_echo
=$ac_try;;
36919 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36920 (eval "$ac_link") 2>conftest.er1
36922 grep -v '^ *+' conftest.er1
>conftest.err
36924 cat conftest.err
>&5
36925 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36926 (exit $ac_status); } && {
36927 test -z "$ac_c_werror_flag" ||
36928 test ! -s conftest.err
36929 } && test -s conftest
$ac_exeext &&
36930 $as_test_x conftest
$ac_exeext; then
36931 eval "$as_ac_var=yes"
36933 echo "$as_me: failed program was:" >&5
36934 sed 's/^/| /' conftest.
$ac_ext >&5
36936 eval "$as_ac_var=no"
36939 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
36940 conftest
$ac_exeext conftest.
$ac_ext
36942 ac_res
=`eval echo '${'$as_ac_var'}'`
36943 { echo "$as_me:$LINENO: result: $ac_res" >&5
36944 echo "${ECHO_T}$ac_res" >&6; }
36945 if test `eval echo '${'$as_ac_var'}'` = yes; then
36946 cat >>confdefs.h
<<_ACEOF
36947 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36954 if test "$ac_cv_func_fcntl" != "yes" -a "$ac_cv_func_flock" != "yes"; then
36955 { echo "$as_me:$LINENO: WARNING: wxSingleInstanceChecker not available" >&5
36956 echo "$as_me: WARNING: wxSingleInstanceChecker not available" >&2;}
36957 wxUSE_SNGLINST_CHECKER
=no
36962 for ac_func
in timegm
36964 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36965 { echo "$as_me:$LINENO: checking for $ac_func" >&5
36966 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
36967 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
36968 echo $ECHO_N "(cached) $ECHO_C" >&6
36970 cat >conftest.
$ac_ext <<_ACEOF
36973 cat confdefs.h
>>conftest.
$ac_ext
36974 cat >>conftest.
$ac_ext <<_ACEOF
36975 /* end confdefs.h. */
36976 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36977 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36978 #define $ac_func innocuous_$ac_func
36980 /* System header to define __stub macros and hopefully few prototypes,
36981 which can conflict with char $ac_func (); below.
36982 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36983 <limits.h> exists even on freestanding compilers. */
36986 # include <limits.h>
36988 # include <assert.h>
36993 /* Override any GCC internal prototype to avoid an error.
36994 Use char because int might match the return type of a GCC
36995 builtin and then its argument prototype would still apply. */
37000 /* The GNU C library defines this for functions which it implements
37001 to always fail with ENOSYS. Some functions are actually named
37002 something starting with __ and the normal name is an alias. */
37003 #if defined __stub_$ac_func || defined __stub___$ac_func
37010 return $ac_func ();
37015 rm -f conftest.
$ac_objext conftest
$ac_exeext
37016 if { (ac_try
="$ac_link"
37017 case "(($ac_try" in
37018 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
37019 *) ac_try_echo=$ac_try;;
37021 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37022 (eval "$ac_link") 2>conftest.er1
37024 grep -v '^ *+' conftest.er1 >conftest.err
37026 cat conftest.err >&5
37027 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37028 (exit $ac_status); } && {
37029 test -z "$ac_c_werror_flag" ||
37030 test ! -s conftest.err
37031 } && test -s conftest$ac_exeext &&
37032 $as_test_x conftest$ac_exeext; then
37033 eval "$as_ac_var=yes"
37035 echo "$as_me: failed program was:" >&5
37036 sed 's/^/| /' conftest.$ac_ext >&5
37038 eval "$as_ac_var=no"
37041 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37042 conftest$ac_exeext conftest.$ac_ext
37044 ac_res=`eval echo '${'$as_ac_var'}'`
37045 { echo "$as_me:$LINENO: result: $ac_res" >&5
37046 echo "${ECHO_T}$ac_res" >&6; }
37047 if test `eval echo '${'$as_ac_var'}'` = yes; then
37048 cat >>confdefs.h <<_ACEOF
37049 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37058 for ac_func in putenv setenv
37060 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37061 { echo "$as_me:$LINENO: checking for $ac_func" >&5
37062 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
37063 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
37064 echo $ECHO_N "(cached) $ECHO_C" >&6
37066 cat >conftest.$ac_ext <<_ACEOF
37069 cat confdefs.h >>conftest.$ac_ext
37070 cat >>conftest.$ac_ext <<_ACEOF
37071 /* end confdefs.h. */
37072 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37073 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37074 #define $ac_func innocuous_$ac_func
37076 /* System header to define __stub macros and hopefully few prototypes,
37077 which can conflict with char $ac_func (); below.
37078 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37079 <limits.h> exists even on freestanding compilers. */
37082 # include <limits.h>
37084 # include <assert.h>
37089 /* Override any GCC internal prototype to avoid an error.
37090 Use char because int might match the return type of a GCC
37091 builtin and then its argument prototype would still apply. */
37096 /* The GNU C library defines this for functions which it implements
37097 to always fail with ENOSYS. Some functions are actually named
37098 something starting with __ and the normal name is an alias. */
37099 #if defined __stub_$ac_func || defined __stub___$ac_func
37106 return $ac_func ();
37111 rm -f conftest.$ac_objext conftest$ac_exeext
37112 if { (ac_try="$ac_link"
37113 case "(($ac_try" in
37114 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
37115 *) ac_try_echo
=$ac_try;;
37117 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37118 (eval "$ac_link") 2>conftest.er1
37120 grep -v '^ *+' conftest.er1
>conftest.err
37122 cat conftest.err
>&5
37123 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37124 (exit $ac_status); } && {
37125 test -z "$ac_c_werror_flag" ||
37126 test ! -s conftest.err
37127 } && test -s conftest
$ac_exeext &&
37128 $as_test_x conftest
$ac_exeext; then
37129 eval "$as_ac_var=yes"
37131 echo "$as_me: failed program was:" >&5
37132 sed 's/^/| /' conftest.
$ac_ext >&5
37134 eval "$as_ac_var=no"
37137 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
37138 conftest
$ac_exeext conftest.
$ac_ext
37140 ac_res
=`eval echo '${'$as_ac_var'}'`
37141 { echo "$as_me:$LINENO: result: $ac_res" >&5
37142 echo "${ECHO_T}$ac_res" >&6; }
37143 if test `eval echo '${'$as_ac_var'}'` = yes; then
37144 cat >>confdefs.h
<<_ACEOF
37145 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37152 HAVE_SOME_SLEEP_FUNC
=0
37153 if test "$USE_BEOS" = 1; then
37154 cat >>confdefs.h
<<\_ACEOF
37155 #define HAVE_SLEEP 1
37158 HAVE_SOME_SLEEP_FUNC
=1
37161 if test "$USE_DARWIN" = 1; then
37162 cat >>confdefs.h
<<\_ACEOF
37163 #define HAVE_USLEEP 1
37166 HAVE_SOME_SLEEP_FUNC
=1
37169 if test "$HAVE_SOME_SLEEP_FUNC" != 1; then
37172 for ac_func
in nanosleep
37174 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37175 { echo "$as_me:$LINENO: checking for $ac_func" >&5
37176 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
37177 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
37178 echo $ECHO_N "(cached) $ECHO_C" >&6
37180 cat >conftest.
$ac_ext <<_ACEOF
37183 cat confdefs.h
>>conftest.
$ac_ext
37184 cat >>conftest.
$ac_ext <<_ACEOF
37185 /* end confdefs.h. */
37186 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37187 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37188 #define $ac_func innocuous_$ac_func
37190 /* System header to define __stub macros and hopefully few prototypes,
37191 which can conflict with char $ac_func (); below.
37192 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37193 <limits.h> exists even on freestanding compilers. */
37196 # include <limits.h>
37198 # include <assert.h>
37203 /* Override any GCC internal prototype to avoid an error.
37204 Use char because int might match the return type of a GCC
37205 builtin and then its argument prototype would still apply. */
37210 /* The GNU C library defines this for functions which it implements
37211 to always fail with ENOSYS. Some functions are actually named
37212 something starting with __ and the normal name is an alias. */
37213 #if defined __stub_$ac_func || defined __stub___$ac_func
37220 return $ac_func ();
37225 rm -f conftest.
$ac_objext conftest
$ac_exeext
37226 if { (ac_try
="$ac_link"
37227 case "(($ac_try" in
37228 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
37229 *) ac_try_echo=$ac_try;;
37231 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37232 (eval "$ac_link") 2>conftest.er1
37234 grep -v '^ *+' conftest.er1 >conftest.err
37236 cat conftest.err >&5
37237 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37238 (exit $ac_status); } && {
37239 test -z "$ac_c_werror_flag" ||
37240 test ! -s conftest.err
37241 } && test -s conftest$ac_exeext &&
37242 $as_test_x conftest$ac_exeext; then
37243 eval "$as_ac_var=yes"
37245 echo "$as_me: failed program was:" >&5
37246 sed 's/^/| /' conftest.$ac_ext >&5
37248 eval "$as_ac_var=no"
37251 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37252 conftest$ac_exeext conftest.$ac_ext
37254 ac_res=`eval echo '${'$as_ac_var'}'`
37255 { echo "$as_me:$LINENO: result: $ac_res" >&5
37256 echo "${ECHO_T}$ac_res" >&6; }
37257 if test `eval echo '${'$as_ac_var'}'` = yes; then
37258 cat >>confdefs.h <<_ACEOF
37259 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37261 cat >>confdefs.h <<\_ACEOF
37262 #define HAVE_NANOSLEEP 1
37267 { echo "$as_me:$LINENO: checking for nanosleep in -lposix4" >&5
37268 echo $ECHO_N "checking for nanosleep in -lposix4... $ECHO_C" >&6; }
37269 if test "${ac_cv_lib_posix4_nanosleep+set}" = set; then
37270 echo $ECHO_N "(cached) $ECHO_C" >&6
37272 ac_check_lib_save_LIBS=$LIBS
37273 LIBS="-lposix4 $LIBS"
37274 cat >conftest.$ac_ext <<_ACEOF
37277 cat confdefs.h >>conftest.$ac_ext
37278 cat >>conftest.$ac_ext <<_ACEOF
37279 /* end confdefs.h. */
37281 /* Override any GCC internal prototype to avoid an error.
37282 Use char because int might match the return type of a GCC
37283 builtin and then its argument prototype would still apply. */
37291 return nanosleep ();
37296 rm -f conftest.$ac_objext conftest$ac_exeext
37297 if { (ac_try="$ac_link"
37298 case "(($ac_try" in
37299 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
37300 *) ac_try_echo
=$ac_try;;
37302 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37303 (eval "$ac_link") 2>conftest.er1
37305 grep -v '^ *+' conftest.er1
>conftest.err
37307 cat conftest.err
>&5
37308 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37309 (exit $ac_status); } && {
37310 test -z "$ac_c_werror_flag" ||
37311 test ! -s conftest.err
37312 } && test -s conftest
$ac_exeext &&
37313 $as_test_x conftest
$ac_exeext; then
37314 ac_cv_lib_posix4_nanosleep
=yes
37316 echo "$as_me: failed program was:" >&5
37317 sed 's/^/| /' conftest.
$ac_ext >&5
37319 ac_cv_lib_posix4_nanosleep
=no
37322 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
37323 conftest
$ac_exeext conftest.
$ac_ext
37324 LIBS
=$ac_check_lib_save_LIBS
37326 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_nanosleep" >&5
37327 echo "${ECHO_T}$ac_cv_lib_posix4_nanosleep" >&6; }
37328 if test $ac_cv_lib_posix4_nanosleep = yes; then
37330 cat >>confdefs.h
<<\_ACEOF
37331 #define HAVE_NANOSLEEP 1
37334 POSIX4_LINK
=" -lposix4"
37339 for wx_func
in usleep
37341 { echo "$as_me:$LINENO: checking for $wx_func" >&5
37342 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
37343 if { as_var
=wx_cv_func_
$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
37344 echo $ECHO_N "(cached) $ECHO_C" >&6
37347 cat >conftest.
$ac_ext <<_ACEOF
37351 cat confdefs.h
>>conftest.
$ac_ext
37352 cat >>conftest.
$ac_ext <<_ACEOF
37353 /* end confdefs.h. */
37356 $ac_includes_default
37372 rm -f conftest.
$ac_objext conftest
$ac_exeext
37373 if { (ac_try
="$ac_link"
37374 case "(($ac_try" in
37375 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
37376 *) ac_try_echo=$ac_try;;
37378 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37379 (eval "$ac_link") 2>conftest.er1
37381 grep -v '^ *+' conftest.er1 >conftest.err
37383 cat conftest.err >&5
37384 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37385 (exit $ac_status); } && {
37386 test -z "$ac_c_werror_flag" ||
37387 test ! -s conftest.err
37388 } && test -s conftest$ac_exeext &&
37389 $as_test_x conftest$ac_exeext; then
37390 eval wx_cv_func_$wx_func=yes
37392 echo "$as_me: failed program was:" >&5
37393 sed 's/^/| /' conftest.$ac_ext >&5
37395 eval wx_cv_func_$wx_func=no
37398 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37399 conftest$ac_exeext conftest.$ac_ext
37402 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
37403 { echo "$as_me:$LINENO: result: $ac_res" >&5
37404 echo "${ECHO_T}$ac_res" >&6; }
37406 if eval test \$wx_cv_func_$wx_func = yes
37408 cat >>confdefs.h <<_ACEOF
37409 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
37415 { echo "$as_me:$LINENO: WARNING: wxSleep() function will not work" >&5
37416 echo "$as_me: WARNING: wxSleep() function will not work" >&2;}
37433 for wx_func in uname
37435 { echo "$as_me:$LINENO: checking for $wx_func" >&5
37436 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
37437 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
37438 echo $ECHO_N "(cached) $ECHO_C" >&6
37441 cat >conftest.$ac_ext <<_ACEOF
37445 cat confdefs.h >>conftest.$ac_ext
37446 cat >>conftest.$ac_ext <<_ACEOF
37447 /* end confdefs.h. */
37449 #include <sys/utsname.h>
37450 $ac_includes_default
37466 rm -f conftest.$ac_objext conftest$ac_exeext
37467 if { (ac_try="$ac_link"
37468 case "(($ac_try" in
37469 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
37470 *) ac_try_echo
=$ac_try;;
37472 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37473 (eval "$ac_link") 2>conftest.er1
37475 grep -v '^ *+' conftest.er1
>conftest.err
37477 cat conftest.err
>&5
37478 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37479 (exit $ac_status); } && {
37480 test -z "$ac_c_werror_flag" ||
37481 test ! -s conftest.err
37482 } && test -s conftest
$ac_exeext &&
37483 $as_test_x conftest
$ac_exeext; then
37484 eval wx_cv_func_
$wx_func=yes
37486 echo "$as_me: failed program was:" >&5
37487 sed 's/^/| /' conftest.
$ac_ext >&5
37489 eval wx_cv_func_
$wx_func=no
37492 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
37493 conftest
$ac_exeext conftest.
$ac_ext
37496 ac_res
=`eval echo '${'wx_cv_func_$wx_func'}'`
37497 { echo "$as_me:$LINENO: result: $ac_res" >&5
37498 echo "${ECHO_T}$ac_res" >&6; }
37500 if eval test \
$wx_cv_func_$wx_func = yes
37502 cat >>confdefs.h
<<_ACEOF
37503 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
37513 if test "$wx_cv_func_uname" != yes; then
37515 for wx_func
in gethostname
37517 { echo "$as_me:$LINENO: checking for $wx_func" >&5
37518 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
37519 if { as_var
=wx_cv_func_
$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
37520 echo $ECHO_N "(cached) $ECHO_C" >&6
37523 cat >conftest.
$ac_ext <<_ACEOF
37527 cat confdefs.h
>>conftest.
$ac_ext
37528 cat >>conftest.
$ac_ext <<_ACEOF
37529 /* end confdefs.h. */
37532 $ac_includes_default
37548 rm -f conftest.
$ac_objext conftest
$ac_exeext
37549 if { (ac_try
="$ac_link"
37550 case "(($ac_try" in
37551 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
37552 *) ac_try_echo=$ac_try;;
37554 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37555 (eval "$ac_link") 2>conftest.er1
37557 grep -v '^ *+' conftest.er1 >conftest.err
37559 cat conftest.err >&5
37560 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37561 (exit $ac_status); } && {
37562 test -z "$ac_c_werror_flag" ||
37563 test ! -s conftest.err
37564 } && test -s conftest$ac_exeext &&
37565 $as_test_x conftest$ac_exeext; then
37566 eval wx_cv_func_$wx_func=yes
37568 echo "$as_me: failed program was:" >&5
37569 sed 's/^/| /' conftest.$ac_ext >&5
37571 eval wx_cv_func_$wx_func=no
37574 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37575 conftest$ac_exeext conftest.$ac_ext
37578 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
37579 { echo "$as_me:$LINENO: result: $ac_res" >&5
37580 echo "${ECHO_T}$ac_res" >&6; }
37582 if eval test \$wx_cv_func_$wx_func = yes
37584 cat >>confdefs.h <<_ACEOF
37585 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
37598 for wx_func in strtok_r
37600 { echo "$as_me:$LINENO: checking for $wx_func" >&5
37601 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
37602 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
37603 echo $ECHO_N "(cached) $ECHO_C" >&6
37606 cat >conftest.$ac_ext <<_ACEOF
37610 cat confdefs.h >>conftest.$ac_ext
37611 cat >>conftest.$ac_ext <<_ACEOF
37612 /* end confdefs.h. */
37615 $ac_includes_default
37631 rm -f conftest.$ac_objext conftest$ac_exeext
37632 if { (ac_try="$ac_link"
37633 case "(($ac_try" in
37634 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
37635 *) ac_try_echo
=$ac_try;;
37637 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37638 (eval "$ac_link") 2>conftest.er1
37640 grep -v '^ *+' conftest.er1
>conftest.err
37642 cat conftest.err
>&5
37643 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37644 (exit $ac_status); } && {
37645 test -z "$ac_c_werror_flag" ||
37646 test ! -s conftest.err
37647 } && test -s conftest
$ac_exeext &&
37648 $as_test_x conftest
$ac_exeext; then
37649 eval wx_cv_func_
$wx_func=yes
37651 echo "$as_me: failed program was:" >&5
37652 sed 's/^/| /' conftest.
$ac_ext >&5
37654 eval wx_cv_func_
$wx_func=no
37657 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
37658 conftest
$ac_exeext conftest.
$ac_ext
37661 ac_res
=`eval echo '${'wx_cv_func_$wx_func'}'`
37662 { echo "$as_me:$LINENO: result: $ac_res" >&5
37663 echo "${ECHO_T}$ac_res" >&6; }
37665 if eval test \
$wx_cv_func_$wx_func = yes
37667 cat >>confdefs.h
<<_ACEOF
37668 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
37681 for ac_func
in inet_addr
37683 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37684 { echo "$as_me:$LINENO: checking for $ac_func" >&5
37685 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
37686 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
37687 echo $ECHO_N "(cached) $ECHO_C" >&6
37689 cat >conftest.
$ac_ext <<_ACEOF
37692 cat confdefs.h
>>conftest.
$ac_ext
37693 cat >>conftest.
$ac_ext <<_ACEOF
37694 /* end confdefs.h. */
37695 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37696 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37697 #define $ac_func innocuous_$ac_func
37699 /* System header to define __stub macros and hopefully few prototypes,
37700 which can conflict with char $ac_func (); below.
37701 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37702 <limits.h> exists even on freestanding compilers. */
37705 # include <limits.h>
37707 # include <assert.h>
37712 /* Override any GCC internal prototype to avoid an error.
37713 Use char because int might match the return type of a GCC
37714 builtin and then its argument prototype would still apply. */
37719 /* The GNU C library defines this for functions which it implements
37720 to always fail with ENOSYS. Some functions are actually named
37721 something starting with __ and the normal name is an alias. */
37722 #if defined __stub_$ac_func || defined __stub___$ac_func
37729 return $ac_func ();
37734 rm -f conftest.
$ac_objext conftest
$ac_exeext
37735 if { (ac_try
="$ac_link"
37736 case "(($ac_try" in
37737 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
37738 *) ac_try_echo=$ac_try;;
37740 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37741 (eval "$ac_link") 2>conftest.er1
37743 grep -v '^ *+' conftest.er1 >conftest.err
37745 cat conftest.err >&5
37746 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37747 (exit $ac_status); } && {
37748 test -z "$ac_c_werror_flag" ||
37749 test ! -s conftest.err
37750 } && test -s conftest$ac_exeext &&
37751 $as_test_x conftest$ac_exeext; then
37752 eval "$as_ac_var=yes"
37754 echo "$as_me: failed program was:" >&5
37755 sed 's/^/| /' conftest.$ac_ext >&5
37757 eval "$as_ac_var=no"
37760 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37761 conftest$ac_exeext conftest.$ac_ext
37763 ac_res=`eval echo '${'$as_ac_var'}'`
37764 { echo "$as_me:$LINENO: result: $ac_res" >&5
37765 echo "${ECHO_T}$ac_res" >&6; }
37766 if test `eval echo '${'$as_ac_var'}'` = yes; then
37767 cat >>confdefs.h <<_ACEOF
37768 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37770 cat >>confdefs.h <<\_ACEOF
37771 #define HAVE_INET_ADDR 1
37776 { echo "$as_me:$LINENO: checking for inet_addr in -lnsl" >&5
37777 echo $ECHO_N "checking for inet_addr in -lnsl... $ECHO_C" >&6; }
37778 if test "${ac_cv_lib_nsl_inet_addr+set}" = set; then
37779 echo $ECHO_N "(cached) $ECHO_C" >&6
37781 ac_check_lib_save_LIBS=$LIBS
37783 cat >conftest.$ac_ext <<_ACEOF
37786 cat confdefs.h >>conftest.$ac_ext
37787 cat >>conftest.$ac_ext <<_ACEOF
37788 /* end confdefs.h. */
37790 /* Override any GCC internal prototype to avoid an error.
37791 Use char because int might match the return type of a GCC
37792 builtin and then its argument prototype would still apply. */
37800 return inet_addr ();
37805 rm -f conftest.$ac_objext conftest$ac_exeext
37806 if { (ac_try="$ac_link"
37807 case "(($ac_try" in
37808 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
37809 *) ac_try_echo
=$ac_try;;
37811 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37812 (eval "$ac_link") 2>conftest.er1
37814 grep -v '^ *+' conftest.er1
>conftest.err
37816 cat conftest.err
>&5
37817 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37818 (exit $ac_status); } && {
37819 test -z "$ac_c_werror_flag" ||
37820 test ! -s conftest.err
37821 } && test -s conftest
$ac_exeext &&
37822 $as_test_x conftest
$ac_exeext; then
37823 ac_cv_lib_nsl_inet_addr
=yes
37825 echo "$as_me: failed program was:" >&5
37826 sed 's/^/| /' conftest.
$ac_ext >&5
37828 ac_cv_lib_nsl_inet_addr
=no
37831 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
37832 conftest
$ac_exeext conftest.
$ac_ext
37833 LIBS
=$ac_check_lib_save_LIBS
37835 { echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_inet_addr" >&5
37836 echo "${ECHO_T}$ac_cv_lib_nsl_inet_addr" >&6; }
37837 if test $ac_cv_lib_nsl_inet_addr = yes; then
37841 { echo "$as_me:$LINENO: checking for inet_addr in -lresolv" >&5
37842 echo $ECHO_N "checking for inet_addr in -lresolv... $ECHO_C" >&6; }
37843 if test "${ac_cv_lib_resolv_inet_addr+set}" = set; then
37844 echo $ECHO_N "(cached) $ECHO_C" >&6
37846 ac_check_lib_save_LIBS
=$LIBS
37847 LIBS
="-lresolv $LIBS"
37848 cat >conftest.
$ac_ext <<_ACEOF
37851 cat confdefs.h
>>conftest.
$ac_ext
37852 cat >>conftest.
$ac_ext <<_ACEOF
37853 /* end confdefs.h. */
37855 /* Override any GCC internal prototype to avoid an error.
37856 Use char because int might match the return type of a GCC
37857 builtin and then its argument prototype would still apply. */
37865 return inet_addr ();
37870 rm -f conftest.
$ac_objext conftest
$ac_exeext
37871 if { (ac_try
="$ac_link"
37872 case "(($ac_try" in
37873 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
37874 *) ac_try_echo=$ac_try;;
37876 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37877 (eval "$ac_link") 2>conftest.er1
37879 grep -v '^ *+' conftest.er1 >conftest.err
37881 cat conftest.err >&5
37882 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37883 (exit $ac_status); } && {
37884 test -z "$ac_c_werror_flag" ||
37885 test ! -s conftest.err
37886 } && test -s conftest$ac_exeext &&
37887 $as_test_x conftest$ac_exeext; then
37888 ac_cv_lib_resolv_inet_addr=yes
37890 echo "$as_me: failed program was:" >&5
37891 sed 's/^/| /' conftest.$ac_ext >&5
37893 ac_cv_lib_resolv_inet_addr=no
37896 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37897 conftest$ac_exeext conftest.$ac_ext
37898 LIBS=$ac_check_lib_save_LIBS
37900 { echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_inet_addr" >&5
37901 echo "${ECHO_T}$ac_cv_lib_resolv_inet_addr" >&6; }
37902 if test $ac_cv_lib_resolv_inet_addr = yes; then
37906 { echo "$as_me:$LINENO: checking for inet_addr in -lsocket" >&5
37907 echo $ECHO_N "checking for inet_addr in -lsocket... $ECHO_C" >&6; }
37908 if test "${ac_cv_lib_socket_inet_addr+set}" = set; then
37909 echo $ECHO_N "(cached) $ECHO_C" >&6
37911 ac_check_lib_save_LIBS=$LIBS
37912 LIBS="-lsocket $LIBS"
37913 cat >conftest.$ac_ext <<_ACEOF
37916 cat confdefs.h >>conftest.$ac_ext
37917 cat >>conftest.$ac_ext <<_ACEOF
37918 /* end confdefs.h. */
37920 /* Override any GCC internal prototype to avoid an error.
37921 Use char because int might match the return type of a GCC
37922 builtin and then its argument prototype would still apply. */
37930 return inet_addr ();
37935 rm -f conftest.$ac_objext conftest$ac_exeext
37936 if { (ac_try="$ac_link"
37937 case "(($ac_try" in
37938 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
37939 *) ac_try_echo
=$ac_try;;
37941 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37942 (eval "$ac_link") 2>conftest.er1
37944 grep -v '^ *+' conftest.er1
>conftest.err
37946 cat conftest.err
>&5
37947 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37948 (exit $ac_status); } && {
37949 test -z "$ac_c_werror_flag" ||
37950 test ! -s conftest.err
37951 } && test -s conftest
$ac_exeext &&
37952 $as_test_x conftest
$ac_exeext; then
37953 ac_cv_lib_socket_inet_addr
=yes
37955 echo "$as_me: failed program was:" >&5
37956 sed 's/^/| /' conftest.
$ac_ext >&5
37958 ac_cv_lib_socket_inet_addr
=no
37961 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
37962 conftest
$ac_exeext conftest.
$ac_ext
37963 LIBS
=$ac_check_lib_save_LIBS
37965 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_inet_addr" >&5
37966 echo "${ECHO_T}$ac_cv_lib_socket_inet_addr" >&6; }
37967 if test $ac_cv_lib_socket_inet_addr = yes; then
37987 for ac_func
in inet_aton
37989 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37990 { echo "$as_me:$LINENO: checking for $ac_func" >&5
37991 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
37992 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
37993 echo $ECHO_N "(cached) $ECHO_C" >&6
37995 cat >conftest.
$ac_ext <<_ACEOF
37998 cat confdefs.h
>>conftest.
$ac_ext
37999 cat >>conftest.
$ac_ext <<_ACEOF
38000 /* end confdefs.h. */
38001 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38002 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38003 #define $ac_func innocuous_$ac_func
38005 /* System header to define __stub macros and hopefully few prototypes,
38006 which can conflict with char $ac_func (); below.
38007 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38008 <limits.h> exists even on freestanding compilers. */
38011 # include <limits.h>
38013 # include <assert.h>
38018 /* Override any GCC internal prototype to avoid an error.
38019 Use char because int might match the return type of a GCC
38020 builtin and then its argument prototype would still apply. */
38025 /* The GNU C library defines this for functions which it implements
38026 to always fail with ENOSYS. Some functions are actually named
38027 something starting with __ and the normal name is an alias. */
38028 #if defined __stub_$ac_func || defined __stub___$ac_func
38035 return $ac_func ();
38040 rm -f conftest.
$ac_objext conftest
$ac_exeext
38041 if { (ac_try
="$ac_link"
38042 case "(($ac_try" in
38043 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
38044 *) ac_try_echo=$ac_try;;
38046 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38047 (eval "$ac_link") 2>conftest.er1
38049 grep -v '^ *+' conftest.er1 >conftest.err
38051 cat conftest.err >&5
38052 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38053 (exit $ac_status); } && {
38054 test -z "$ac_c_werror_flag" ||
38055 test ! -s conftest.err
38056 } && test -s conftest$ac_exeext &&
38057 $as_test_x conftest$ac_exeext; then
38058 eval "$as_ac_var=yes"
38060 echo "$as_me: failed program was:" >&5
38061 sed 's/^/| /' conftest.$ac_ext >&5
38063 eval "$as_ac_var=no"
38066 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38067 conftest$ac_exeext conftest.$ac_ext
38069 ac_res=`eval echo '${'$as_ac_var'}'`
38070 { echo "$as_me:$LINENO: result: $ac_res" >&5
38071 echo "${ECHO_T}$ac_res" >&6; }
38072 if test `eval echo '${'$as_ac_var'}'` = yes; then
38073 cat >>confdefs.h <<_ACEOF
38074 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38076 cat >>confdefs.h <<\_ACEOF
38077 #define HAVE_INET_ATON 1
38082 as_ac_Lib=`echo "ac_cv_lib_$INET_LINK''_inet_aton" | $as_tr_sh`
38083 { echo "$as_me:$LINENO: checking for inet_aton in -l$INET_LINK" >&5
38084 echo $ECHO_N "checking for inet_aton in -l$INET_LINK... $ECHO_C" >&6; }
38085 if { as_var=$as_ac_Lib; eval "test \"\${$as_var+set}\" = set"; }; then
38086 echo $ECHO_N "(cached) $ECHO_C" >&6
38088 ac_check_lib_save_LIBS=$LIBS
38089 LIBS="-l$INET_LINK $LIBS"
38090 cat >conftest.$ac_ext <<_ACEOF
38093 cat confdefs.h >>conftest.$ac_ext
38094 cat >>conftest.$ac_ext <<_ACEOF
38095 /* end confdefs.h. */
38097 /* Override any GCC internal prototype to avoid an error.
38098 Use char because int might match the return type of a GCC
38099 builtin and then its argument prototype would still apply. */
38107 return inet_aton ();
38112 rm -f conftest.$ac_objext conftest$ac_exeext
38113 if { (ac_try="$ac_link"
38114 case "(($ac_try" in
38115 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
38116 *) ac_try_echo
=$ac_try;;
38118 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38119 (eval "$ac_link") 2>conftest.er1
38121 grep -v '^ *+' conftest.er1
>conftest.err
38123 cat conftest.err
>&5
38124 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38125 (exit $ac_status); } && {
38126 test -z "$ac_c_werror_flag" ||
38127 test ! -s conftest.err
38128 } && test -s conftest
$ac_exeext &&
38129 $as_test_x conftest
$ac_exeext; then
38130 eval "$as_ac_Lib=yes"
38132 echo "$as_me: failed program was:" >&5
38133 sed 's/^/| /' conftest.
$ac_ext >&5
38135 eval "$as_ac_Lib=no"
38138 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
38139 conftest
$ac_exeext conftest.
$ac_ext
38140 LIBS
=$ac_check_lib_save_LIBS
38142 ac_res
=`eval echo '${'$as_ac_Lib'}'`
38143 { echo "$as_me:$LINENO: result: $ac_res" >&5
38144 echo "${ECHO_T}$ac_res" >&6; }
38145 if test `eval echo '${'$as_ac_Lib'}'` = yes; then
38146 cat >>confdefs.h
<<\_ACEOF
38147 #define HAVE_INET_ATON 1
38157 if test "x$INET_LINK" != "x"; then
38158 cat >>confdefs.h
<<\_ACEOF
38159 #define HAVE_INET_ADDR 1
38162 INET_LINK
=" -l$INET_LINK"
38166 for wx_func
in fdopen
38168 { echo "$as_me:$LINENO: checking for $wx_func" >&5
38169 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
38170 if { as_var
=wx_cv_func_
$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
38171 echo $ECHO_N "(cached) $ECHO_C" >&6
38174 cat >conftest.
$ac_ext <<_ACEOF
38178 cat confdefs.h
>>conftest.
$ac_ext
38179 cat >>conftest.
$ac_ext <<_ACEOF
38180 /* end confdefs.h. */
38183 $ac_includes_default
38199 rm -f conftest.
$ac_objext conftest
$ac_exeext
38200 if { (ac_try
="$ac_link"
38201 case "(($ac_try" in
38202 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
38203 *) ac_try_echo=$ac_try;;
38205 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38206 (eval "$ac_link") 2>conftest.er1
38208 grep -v '^ *+' conftest.er1 >conftest.err
38210 cat conftest.err >&5
38211 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38212 (exit $ac_status); } && {
38213 test -z "$ac_c_werror_flag" ||
38214 test ! -s conftest.err
38215 } && test -s conftest$ac_exeext &&
38216 $as_test_x conftest$ac_exeext; then
38217 eval wx_cv_func_$wx_func=yes
38219 echo "$as_me: failed program was:" >&5
38220 sed 's/^/| /' conftest.$ac_ext >&5
38222 eval wx_cv_func_$wx_func=no
38225 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38226 conftest$ac_exeext conftest.$ac_ext
38229 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
38230 { echo "$as_me:$LINENO: result: $ac_res" >&5
38231 echo "${ECHO_T}$ac_res" >&6; }
38233 if eval test \$wx_cv_func_$wx_func = yes
38235 cat >>confdefs.h <<_ACEOF
38236 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
38251 cat >confcache <<\_ACEOF
38252 # This file is a shell script that caches the results of configure
38253 # tests run on this system so they can be shared between configure
38254 # scripts and configure runs, see configure's option --config-cache.
38255 # It is not useful on other systems. If it contains results you don't
38256 # want to keep, you may remove or edit it.
38258 # config.status only pays attention to the cache file if you give it
38259 # the --recheck option to rerun configure.
38261 # `ac_cv_env_foo
' variables (set or unset) will be overridden when
38262 # loading this file, other *unset* `ac_cv_foo' will be assigned the
38263 # following values.
38267 # The following way of writing the cache mishandles newlines in values,
38268 # but we know of no workaround that is simple, portable, and efficient.
38269 # So, we kill variables containing newlines.
38270 # Ultrix sh set writes to stderr and can't be redirected directly,
38271 # and sets the high bit in the cache file unless we assign to the vars.
38273 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
38274 eval ac_val
=\$
$ac_var
38278 *_cv_
*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
38279 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
38282 _
| IFS
| as_nl
) ;; #(
38283 *) $as_unset $ac_var ;;
38289 case $as_nl`(ac_space=' '; set) 2>&1` in #(
38290 *${as_nl}ac_space
=\
*)
38291 # `set' does not quote correctly, so add quotes (double-quote
38292 # substitution turns \\\\ into \\, and sed turns \\ into \).
38295 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
38298 # `set' quotes correctly as required by POSIX, so do not add quotes.
38299 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
38308 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
38310 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
38312 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
38313 if test -w "$cache_file"; then
38314 test "x$cache_file" != "x/dev/null" &&
38315 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
38316 echo "$as_me: updating cache $cache_file" >&6;}
38317 cat confcache
>$cache_file
38319 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
38320 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
38326 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
38332 if test "$wxUSE_THREADS" = "yes" ; then
38333 if test "$USE_BEOS" = 1; then
38334 { echo "$as_me:$LINENO: WARNING: BeOS threads are not yet supported... disabled" >&5
38335 echo "$as_me: WARNING: BeOS threads are not yet supported... disabled" >&2;}
38340 if test "$wxUSE_THREADS" = "yes" ; then
38343 THREAD_OPTS
="-pthread"
38344 if test "x$SUNCXX" = xyes
; then
38345 THREAD_OPTS
="-mt lthread $THREAD_OPTS"
38349 *-*-solaris2* | *-*-sunos4* )
38350 if test "x$GCC" = "xyes"; then
38351 THREAD_OPTS
="-pthreads $THREAD_OPTS"
38355 THREAD_OPTS
="-kthread lthread $THREAD_OPTS c_r"
38357 *-*-darwin* | *-*-cygwin* )
38361 THREAD_OPTS
="pthreads"
38364 if test "x$GCC" = "xyes"; then
38365 $CXX -dumpspecs | grep 'pthread:' >/dev
/null
||
38373 if test "x$GCC" = "xyes"; then
38379 if test "x$GCC" != "xyes"; then
38380 THREAD_OPTS
="-Ethread"
38385 THREAD_OPTS
="$THREAD_OPTS pthread none"
38388 for flag
in $THREAD_OPTS; do
38391 { echo "$as_me:$LINENO: checking whether pthreads work without any flags" >&5
38392 echo $ECHO_N "checking whether pthreads work without any flags... $ECHO_C" >&6; }
38396 { echo "$as_me:$LINENO: checking whether pthreads work with $flag" >&5
38397 echo $ECHO_N "checking whether pthreads work with $flag... $ECHO_C" >&6; }
38398 THREADS_CFLAGS
="$flag"
38402 { echo "$as_me:$LINENO: checking for the pthreads library -l$flag" >&5
38403 echo $ECHO_N "checking for the pthreads library -l$flag... $ECHO_C" >&6; }
38404 THREADS_LINK
="-l$flag"
38409 save_CFLAGS
="$CFLAGS"
38410 LIBS
="$THREADS_LINK $LIBS"
38411 CFLAGS
="$THREADS_CFLAGS $CFLAGS"
38413 cat >conftest.
$ac_ext <<_ACEOF
38416 cat confdefs.h
>>conftest.
$ac_ext
38417 cat >>conftest.
$ac_ext <<_ACEOF
38418 /* end confdefs.h. */
38419 #include <pthread.h>
38423 pthread_create(0,0,0,0);
38428 rm -f conftest.
$ac_objext conftest
$ac_exeext
38429 if { (ac_try
="$ac_link"
38430 case "(($ac_try" in
38431 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
38432 *) ac_try_echo=$ac_try;;
38434 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38435 (eval "$ac_link") 2>conftest.er1
38437 grep -v '^ *+' conftest.er1 >conftest.err
38439 cat conftest.err >&5
38440 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38441 (exit $ac_status); } && {
38442 test -z "$ac_c_werror_flag" ||
38443 test ! -s conftest.err
38444 } && test -s conftest$ac_exeext &&
38445 $as_test_x conftest$ac_exeext; then
38448 echo "$as_me: failed program was:" >&5
38449 sed 's/^/| /' conftest.$ac_ext >&5
38454 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38455 conftest$ac_exeext conftest.$ac_ext
38458 CFLAGS="$save_CFLAGS"
38460 { echo "$as_me:$LINENO: result: $THREADS_OK" >&5
38461 echo "${ECHO_T}$THREADS_OK" >&6; }
38462 if test "x$THREADS_OK" = "xyes"; then
38470 if test "x$THREADS_OK" != "xyes"; then
38472 { echo "$as_me:$LINENO: WARNING: No thread support on this system... disabled" >&5
38473 echo "$as_me: WARNING: No thread support on this system... disabled" >&2;}
38475 LDFLAGS="$THREADS_CFLAGS $LDFLAGS"
38476 LIBS="$THREADS_LINK $LIBS"
38478 { echo "$as_me:$LINENO: checking if more special flags are required for pthreads" >&5
38479 echo $ECHO_N "checking if more special flags are required for pthreads... $ECHO_C" >&6; }
38483 LDFLAGS="-L/usr/lib/threads $LDFLAGS"
38484 flag="-D_THREAD_SAFE"
38487 flag="-D_THREAD_SAFE"
38490 flag="-D_REENTRANT"
38491 if test "x$GCC" != "xyes"; then
38492 flag="$flag -D_RWSTD_MULTI_THREAD"
38495 *solaris* | alpha*-osf*)
38496 flag="-D_REENTRANT"
38499 { echo "$as_me:$LINENO: result: ${flag}" >&5
38500 echo "${ECHO_T}${flag}" >&6; }
38501 if test "x$flag" != xno; then
38502 THREADS_CFLAGS="$THREADS_CFLAGS $flag"
38505 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS $THREADS_CFLAGS"
38509 if test "$wxUSE_THREADS" = "yes" ; then
38511 for ac_func in thr_setconcurrency
38513 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38514 { echo "$as_me:$LINENO: checking for $ac_func" >&5
38515 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
38516 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
38517 echo $ECHO_N "(cached) $ECHO_C" >&6
38519 cat >conftest.$ac_ext <<_ACEOF
38522 cat confdefs.h >>conftest.$ac_ext
38523 cat >>conftest.$ac_ext <<_ACEOF
38524 /* end confdefs.h. */
38525 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38526 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38527 #define $ac_func innocuous_$ac_func
38529 /* System header to define __stub macros and hopefully few prototypes,
38530 which can conflict with char $ac_func (); below.
38531 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38532 <limits.h> exists even on freestanding compilers. */
38535 # include <limits.h>
38537 # include <assert.h>
38542 /* Override any GCC internal prototype to avoid an error.
38543 Use char because int might match the return type of a GCC
38544 builtin and then its argument prototype would still apply. */
38549 /* The GNU C library defines this for functions which it implements
38550 to always fail with ENOSYS. Some functions are actually named
38551 something starting with __ and the normal name is an alias. */
38552 #if defined __stub_$ac_func || defined __stub___$ac_func
38559 return $ac_func ();
38564 rm -f conftest.$ac_objext conftest$ac_exeext
38565 if { (ac_try="$ac_link"
38566 case "(($ac_try" in
38567 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
38568 *) ac_try_echo
=$ac_try;;
38570 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38571 (eval "$ac_link") 2>conftest.er1
38573 grep -v '^ *+' conftest.er1
>conftest.err
38575 cat conftest.err
>&5
38576 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38577 (exit $ac_status); } && {
38578 test -z "$ac_c_werror_flag" ||
38579 test ! -s conftest.err
38580 } && test -s conftest
$ac_exeext &&
38581 $as_test_x conftest
$ac_exeext; then
38582 eval "$as_ac_var=yes"
38584 echo "$as_me: failed program was:" >&5
38585 sed 's/^/| /' conftest.
$ac_ext >&5
38587 eval "$as_ac_var=no"
38590 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
38591 conftest
$ac_exeext conftest.
$ac_ext
38593 ac_res
=`eval echo '${'$as_ac_var'}'`
38594 { echo "$as_me:$LINENO: result: $ac_res" >&5
38595 echo "${ECHO_T}$ac_res" >&6; }
38596 if test `eval echo '${'$as_ac_var'}'` = yes; then
38597 cat >>confdefs.h
<<_ACEOF
38598 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38605 { echo "$as_me:$LINENO: checking for pthread_cleanup_push/pop" >&5
38606 echo $ECHO_N "checking for pthread_cleanup_push/pop... $ECHO_C" >&6; }
38607 if test "${wx_cv_func_pthread_cleanup+set}" = set; then
38608 echo $ECHO_N "(cached) $ECHO_C" >&6
38612 ac_cpp
='$CXXCPP $CPPFLAGS'
38613 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38614 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38615 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
38617 cat >conftest.
$ac_ext <<_ACEOF
38620 cat confdefs.h
>>conftest.
$ac_ext
38621 cat >>conftest.
$ac_ext <<_ACEOF
38622 /* end confdefs.h. */
38623 #include <pthread.h>
38624 void ThreadCleanupFunc(void *p);
38631 pthread_cleanup_push(ThreadCleanupFunc, p);
38632 pthread_cleanup_pop(0);
38638 rm -f conftest.
$ac_objext
38639 if { (ac_try
="$ac_compile"
38640 case "(($ac_try" in
38641 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
38642 *) ac_try_echo=$ac_try;;
38644 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38645 (eval "$ac_compile") 2>conftest.er1
38647 grep -v '^ *+' conftest.er1 >conftest.err
38649 cat conftest.err >&5
38650 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38651 (exit $ac_status); } && {
38652 test -z "$ac_cxx_werror_flag" ||
38653 test ! -s conftest.err
38654 } && test -s conftest.$ac_objext; then
38656 wx_cv_func_pthread_cleanup=yes
38659 echo "$as_me: failed program was:" >&5
38660 sed 's/^/| /' conftest.$ac_ext >&5
38663 wx_cv_func_pthread_cleanup=no
38668 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38670 ac_cpp='$CPP $CPPFLAGS'
38671 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38672 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38673 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38677 { echo "$as_me:$LINENO: result: $wx_cv_func_pthread_cleanup" >&5
38678 echo "${ECHO_T}$wx_cv_func_pthread_cleanup" >&6; }
38679 if test "x$wx_cv_func_pthread_cleanup" = "xyes"; then
38680 cat >>confdefs.h <<\_ACEOF
38681 #define wxHAVE_PTHREAD_CLEANUP 1
38686 { echo "$as_me:$LINENO: checking for sched.h" >&5
38687 echo $ECHO_N "checking for sched.h... $ECHO_C" >&6; }
38688 if test "${ac_cv_header_sched_h+set}" = set; then
38689 echo $ECHO_N "(cached) $ECHO_C" >&6
38691 cat >conftest.$ac_ext <<_ACEOF
38694 cat confdefs.h >>conftest.$ac_ext
38695 cat >>conftest.$ac_ext <<_ACEOF
38696 /* end confdefs.h. */
38697 $ac_includes_default
38701 rm -f conftest.$ac_objext
38702 if { (ac_try="$ac_compile"
38703 case "(($ac_try" in
38704 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
38705 *) ac_try_echo
=$ac_try;;
38707 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38708 (eval "$ac_compile") 2>conftest.er1
38710 grep -v '^ *+' conftest.er1
>conftest.err
38712 cat conftest.err
>&5
38713 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38714 (exit $ac_status); } && {
38715 test -z "$ac_c_werror_flag" ||
38716 test ! -s conftest.err
38717 } && test -s conftest.
$ac_objext; then
38718 ac_cv_header_sched_h
=yes
38720 echo "$as_me: failed program was:" >&5
38721 sed 's/^/| /' conftest.
$ac_ext >&5
38723 ac_cv_header_sched_h
=no
38726 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
38728 { echo "$as_me:$LINENO: result: $ac_cv_header_sched_h" >&5
38729 echo "${ECHO_T}$ac_cv_header_sched_h" >&6; }
38732 if test "$ac_cv_header_sched_h" = "yes"; then
38733 { echo "$as_me:$LINENO: checking for sched_yield" >&5
38734 echo $ECHO_N "checking for sched_yield... $ECHO_C" >&6; }
38735 if test "${ac_cv_func_sched_yield+set}" = set; then
38736 echo $ECHO_N "(cached) $ECHO_C" >&6
38738 cat >conftest.
$ac_ext <<_ACEOF
38741 cat confdefs.h
>>conftest.
$ac_ext
38742 cat >>conftest.
$ac_ext <<_ACEOF
38743 /* end confdefs.h. */
38744 /* Define sched_yield to an innocuous variant, in case <limits.h> declares sched_yield.
38745 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38746 #define sched_yield innocuous_sched_yield
38748 /* System header to define __stub macros and hopefully few prototypes,
38749 which can conflict with char sched_yield (); below.
38750 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38751 <limits.h> exists even on freestanding compilers. */
38754 # include <limits.h>
38756 # include <assert.h>
38761 /* Override any GCC internal prototype to avoid an error.
38762 Use char because int might match the return type of a GCC
38763 builtin and then its argument prototype would still apply. */
38767 char sched_yield ();
38768 /* The GNU C library defines this for functions which it implements
38769 to always fail with ENOSYS. Some functions are actually named
38770 something starting with __ and the normal name is an alias. */
38771 #if defined __stub_sched_yield || defined __stub___sched_yield
38778 return sched_yield ();
38783 rm -f conftest.
$ac_objext conftest
$ac_exeext
38784 if { (ac_try
="$ac_link"
38785 case "(($ac_try" in
38786 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
38787 *) ac_try_echo=$ac_try;;
38789 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38790 (eval "$ac_link") 2>conftest.er1
38792 grep -v '^ *+' conftest.er1 >conftest.err
38794 cat conftest.err >&5
38795 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38796 (exit $ac_status); } && {
38797 test -z "$ac_c_werror_flag" ||
38798 test ! -s conftest.err
38799 } && test -s conftest$ac_exeext &&
38800 $as_test_x conftest$ac_exeext; then
38801 ac_cv_func_sched_yield=yes
38803 echo "$as_me: failed program was:" >&5
38804 sed 's/^/| /' conftest.$ac_ext >&5
38806 ac_cv_func_sched_yield=no
38809 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38810 conftest$ac_exeext conftest.$ac_ext
38812 { echo "$as_me:$LINENO: result: $ac_cv_func_sched_yield" >&5
38813 echo "${ECHO_T}$ac_cv_func_sched_yield" >&6; }
38814 if test $ac_cv_func_sched_yield = yes; then
38815 cat >>confdefs.h <<\_ACEOF
38816 #define HAVE_SCHED_YIELD 1
38821 { echo "$as_me:$LINENO: checking for sched_yield in -lposix4" >&5
38822 echo $ECHO_N "checking for sched_yield in -lposix4... $ECHO_C" >&6; }
38823 if test "${ac_cv_lib_posix4_sched_yield+set}" = set; then
38824 echo $ECHO_N "(cached) $ECHO_C" >&6
38826 ac_check_lib_save_LIBS=$LIBS
38827 LIBS="-lposix4 $LIBS"
38828 cat >conftest.$ac_ext <<_ACEOF
38831 cat confdefs.h >>conftest.$ac_ext
38832 cat >>conftest.$ac_ext <<_ACEOF
38833 /* end confdefs.h. */
38835 /* Override any GCC internal prototype to avoid an error.
38836 Use char because int might match the return type of a GCC
38837 builtin and then its argument prototype would still apply. */
38841 char sched_yield ();
38845 return sched_yield ();
38850 rm -f conftest.$ac_objext conftest$ac_exeext
38851 if { (ac_try="$ac_link"
38852 case "(($ac_try" in
38853 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
38854 *) ac_try_echo
=$ac_try;;
38856 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38857 (eval "$ac_link") 2>conftest.er1
38859 grep -v '^ *+' conftest.er1
>conftest.err
38861 cat conftest.err
>&5
38862 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38863 (exit $ac_status); } && {
38864 test -z "$ac_c_werror_flag" ||
38865 test ! -s conftest.err
38866 } && test -s conftest
$ac_exeext &&
38867 $as_test_x conftest
$ac_exeext; then
38868 ac_cv_lib_posix4_sched_yield
=yes
38870 echo "$as_me: failed program was:" >&5
38871 sed 's/^/| /' conftest.
$ac_ext >&5
38873 ac_cv_lib_posix4_sched_yield
=no
38876 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
38877 conftest
$ac_exeext conftest.
$ac_ext
38878 LIBS
=$ac_check_lib_save_LIBS
38880 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_yield" >&5
38881 echo "${ECHO_T}$ac_cv_lib_posix4_sched_yield" >&6; }
38882 if test $ac_cv_lib_posix4_sched_yield = yes; then
38883 cat >>confdefs.h
<<\_ACEOF
38884 #define HAVE_SCHED_YIELD 1
38886 POSIX4_LINK
=" -lposix4"
38888 { echo "$as_me:$LINENO: WARNING: wxThread::Yield will not work properly" >&5
38889 echo "$as_me: WARNING: wxThread::Yield will not work properly" >&2;}
38900 { echo "$as_me:$LINENO: checking for pthread_attr_getschedpolicy" >&5
38901 echo $ECHO_N "checking for pthread_attr_getschedpolicy... $ECHO_C" >&6; }
38902 if test "${ac_cv_func_pthread_attr_getschedpolicy+set}" = set; then
38903 echo $ECHO_N "(cached) $ECHO_C" >&6
38905 cat >conftest.
$ac_ext <<_ACEOF
38908 cat confdefs.h
>>conftest.
$ac_ext
38909 cat >>conftest.
$ac_ext <<_ACEOF
38910 /* end confdefs.h. */
38911 /* Define pthread_attr_getschedpolicy to an innocuous variant, in case <limits.h> declares pthread_attr_getschedpolicy.
38912 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38913 #define pthread_attr_getschedpolicy innocuous_pthread_attr_getschedpolicy
38915 /* System header to define __stub macros and hopefully few prototypes,
38916 which can conflict with char pthread_attr_getschedpolicy (); below.
38917 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38918 <limits.h> exists even on freestanding compilers. */
38921 # include <limits.h>
38923 # include <assert.h>
38926 #undef pthread_attr_getschedpolicy
38928 /* Override any GCC internal prototype to avoid an error.
38929 Use char because int might match the return type of a GCC
38930 builtin and then its argument prototype would still apply. */
38934 char pthread_attr_getschedpolicy ();
38935 /* The GNU C library defines this for functions which it implements
38936 to always fail with ENOSYS. Some functions are actually named
38937 something starting with __ and the normal name is an alias. */
38938 #if defined __stub_pthread_attr_getschedpolicy || defined __stub___pthread_attr_getschedpolicy
38945 return pthread_attr_getschedpolicy ();
38950 rm -f conftest.
$ac_objext conftest
$ac_exeext
38951 if { (ac_try
="$ac_link"
38952 case "(($ac_try" in
38953 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
38954 *) ac_try_echo=$ac_try;;
38956 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38957 (eval "$ac_link") 2>conftest.er1
38959 grep -v '^ *+' conftest.er1 >conftest.err
38961 cat conftest.err >&5
38962 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38963 (exit $ac_status); } && {
38964 test -z "$ac_c_werror_flag" ||
38965 test ! -s conftest.err
38966 } && test -s conftest$ac_exeext &&
38967 $as_test_x conftest$ac_exeext; then
38968 ac_cv_func_pthread_attr_getschedpolicy=yes
38970 echo "$as_me: failed program was:" >&5
38971 sed 's/^/| /' conftest.$ac_ext >&5
38973 ac_cv_func_pthread_attr_getschedpolicy=no
38976 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38977 conftest$ac_exeext conftest.$ac_ext
38979 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_getschedpolicy" >&5
38980 echo "${ECHO_T}$ac_cv_func_pthread_attr_getschedpolicy" >&6; }
38981 if test $ac_cv_func_pthread_attr_getschedpolicy = yes; then
38982 { echo "$as_me:$LINENO: checking for pthread_attr_setschedparam" >&5
38983 echo $ECHO_N "checking for pthread_attr_setschedparam... $ECHO_C" >&6; }
38984 if test "${ac_cv_func_pthread_attr_setschedparam+set}" = set; then
38985 echo $ECHO_N "(cached) $ECHO_C" >&6
38987 cat >conftest.$ac_ext <<_ACEOF
38990 cat confdefs.h >>conftest.$ac_ext
38991 cat >>conftest.$ac_ext <<_ACEOF
38992 /* end confdefs.h. */
38993 /* Define pthread_attr_setschedparam to an innocuous variant, in case <limits.h> declares pthread_attr_setschedparam.
38994 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38995 #define pthread_attr_setschedparam innocuous_pthread_attr_setschedparam
38997 /* System header to define __stub macros and hopefully few prototypes,
38998 which can conflict with char pthread_attr_setschedparam (); below.
38999 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39000 <limits.h> exists even on freestanding compilers. */
39003 # include <limits.h>
39005 # include <assert.h>
39008 #undef pthread_attr_setschedparam
39010 /* Override any GCC internal prototype to avoid an error.
39011 Use char because int might match the return type of a GCC
39012 builtin and then its argument prototype would still apply. */
39016 char pthread_attr_setschedparam ();
39017 /* The GNU C library defines this for functions which it implements
39018 to always fail with ENOSYS. Some functions are actually named
39019 something starting with __ and the normal name is an alias. */
39020 #if defined __stub_pthread_attr_setschedparam || defined __stub___pthread_attr_setschedparam
39027 return pthread_attr_setschedparam ();
39032 rm -f conftest.$ac_objext conftest$ac_exeext
39033 if { (ac_try="$ac_link"
39034 case "(($ac_try" in
39035 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
39036 *) ac_try_echo
=$ac_try;;
39038 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39039 (eval "$ac_link") 2>conftest.er1
39041 grep -v '^ *+' conftest.er1
>conftest.err
39043 cat conftest.err
>&5
39044 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39045 (exit $ac_status); } && {
39046 test -z "$ac_c_werror_flag" ||
39047 test ! -s conftest.err
39048 } && test -s conftest
$ac_exeext &&
39049 $as_test_x conftest
$ac_exeext; then
39050 ac_cv_func_pthread_attr_setschedparam
=yes
39052 echo "$as_me: failed program was:" >&5
39053 sed 's/^/| /' conftest.
$ac_ext >&5
39055 ac_cv_func_pthread_attr_setschedparam
=no
39058 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
39059 conftest
$ac_exeext conftest.
$ac_ext
39061 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setschedparam" >&5
39062 echo "${ECHO_T}$ac_cv_func_pthread_attr_setschedparam" >&6; }
39063 if test $ac_cv_func_pthread_attr_setschedparam = yes; then
39064 { echo "$as_me:$LINENO: checking for sched_get_priority_max" >&5
39065 echo $ECHO_N "checking for sched_get_priority_max... $ECHO_C" >&6; }
39066 if test "${ac_cv_func_sched_get_priority_max+set}" = set; then
39067 echo $ECHO_N "(cached) $ECHO_C" >&6
39069 cat >conftest.
$ac_ext <<_ACEOF
39072 cat confdefs.h
>>conftest.
$ac_ext
39073 cat >>conftest.
$ac_ext <<_ACEOF
39074 /* end confdefs.h. */
39075 /* Define sched_get_priority_max to an innocuous variant, in case <limits.h> declares sched_get_priority_max.
39076 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39077 #define sched_get_priority_max innocuous_sched_get_priority_max
39079 /* System header to define __stub macros and hopefully few prototypes,
39080 which can conflict with char sched_get_priority_max (); below.
39081 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39082 <limits.h> exists even on freestanding compilers. */
39085 # include <limits.h>
39087 # include <assert.h>
39090 #undef sched_get_priority_max
39092 /* Override any GCC internal prototype to avoid an error.
39093 Use char because int might match the return type of a GCC
39094 builtin and then its argument prototype would still apply. */
39098 char sched_get_priority_max ();
39099 /* The GNU C library defines this for functions which it implements
39100 to always fail with ENOSYS. Some functions are actually named
39101 something starting with __ and the normal name is an alias. */
39102 #if defined __stub_sched_get_priority_max || defined __stub___sched_get_priority_max
39109 return sched_get_priority_max ();
39114 rm -f conftest.
$ac_objext conftest
$ac_exeext
39115 if { (ac_try
="$ac_link"
39116 case "(($ac_try" in
39117 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
39118 *) ac_try_echo=$ac_try;;
39120 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39121 (eval "$ac_link") 2>conftest.er1
39123 grep -v '^ *+' conftest.er1 >conftest.err
39125 cat conftest.err >&5
39126 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39127 (exit $ac_status); } && {
39128 test -z "$ac_c_werror_flag" ||
39129 test ! -s conftest.err
39130 } && test -s conftest$ac_exeext &&
39131 $as_test_x conftest$ac_exeext; then
39132 ac_cv_func_sched_get_priority_max=yes
39134 echo "$as_me: failed program was:" >&5
39135 sed 's/^/| /' conftest.$ac_ext >&5
39137 ac_cv_func_sched_get_priority_max=no
39140 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39141 conftest$ac_exeext conftest.$ac_ext
39143 { echo "$as_me:$LINENO: result: $ac_cv_func_sched_get_priority_max" >&5
39144 echo "${ECHO_T}$ac_cv_func_sched_get_priority_max" >&6; }
39145 if test $ac_cv_func_sched_get_priority_max = yes; then
39148 { echo "$as_me:$LINENO: checking for sched_get_priority_max in -lposix4" >&5
39149 echo $ECHO_N "checking for sched_get_priority_max in -lposix4... $ECHO_C" >&6; }
39150 if test "${ac_cv_lib_posix4_sched_get_priority_max+set}" = set; then
39151 echo $ECHO_N "(cached) $ECHO_C" >&6
39153 ac_check_lib_save_LIBS=$LIBS
39154 LIBS="-lposix4 $LIBS"
39155 cat >conftest.$ac_ext <<_ACEOF
39158 cat confdefs.h >>conftest.$ac_ext
39159 cat >>conftest.$ac_ext <<_ACEOF
39160 /* end confdefs.h. */
39162 /* Override any GCC internal prototype to avoid an error.
39163 Use char because int might match the return type of a GCC
39164 builtin and then its argument prototype would still apply. */
39168 char sched_get_priority_max ();
39172 return sched_get_priority_max ();
39177 rm -f conftest.$ac_objext conftest$ac_exeext
39178 if { (ac_try="$ac_link"
39179 case "(($ac_try" in
39180 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
39181 *) ac_try_echo
=$ac_try;;
39183 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39184 (eval "$ac_link") 2>conftest.er1
39186 grep -v '^ *+' conftest.er1
>conftest.err
39188 cat conftest.err
>&5
39189 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39190 (exit $ac_status); } && {
39191 test -z "$ac_c_werror_flag" ||
39192 test ! -s conftest.err
39193 } && test -s conftest
$ac_exeext &&
39194 $as_test_x conftest
$ac_exeext; then
39195 ac_cv_lib_posix4_sched_get_priority_max
=yes
39197 echo "$as_me: failed program was:" >&5
39198 sed 's/^/| /' conftest.
$ac_ext >&5
39200 ac_cv_lib_posix4_sched_get_priority_max
=no
39203 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
39204 conftest
$ac_exeext conftest.
$ac_ext
39205 LIBS
=$ac_check_lib_save_LIBS
39207 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_get_priority_max" >&5
39208 echo "${ECHO_T}$ac_cv_lib_posix4_sched_get_priority_max" >&6; }
39209 if test $ac_cv_lib_posix4_sched_get_priority_max = yes; then
39212 POSIX4_LINK
=" -lposix4"
39226 if test "$HAVE_PRIOR_FUNCS" = 1; then
39227 cat >>confdefs.h
<<\_ACEOF
39228 #define HAVE_THREAD_PRIORITY_FUNCTIONS 1
39232 { echo "$as_me:$LINENO: WARNING: Setting thread priority will not work" >&5
39233 echo "$as_me: WARNING: Setting thread priority will not work" >&2;}
39236 { echo "$as_me:$LINENO: checking for pthread_cancel" >&5
39237 echo $ECHO_N "checking for pthread_cancel... $ECHO_C" >&6; }
39238 if test "${ac_cv_func_pthread_cancel+set}" = set; then
39239 echo $ECHO_N "(cached) $ECHO_C" >&6
39241 cat >conftest.
$ac_ext <<_ACEOF
39244 cat confdefs.h
>>conftest.
$ac_ext
39245 cat >>conftest.
$ac_ext <<_ACEOF
39246 /* end confdefs.h. */
39247 /* Define pthread_cancel to an innocuous variant, in case <limits.h> declares pthread_cancel.
39248 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39249 #define pthread_cancel innocuous_pthread_cancel
39251 /* System header to define __stub macros and hopefully few prototypes,
39252 which can conflict with char pthread_cancel (); below.
39253 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39254 <limits.h> exists even on freestanding compilers. */
39257 # include <limits.h>
39259 # include <assert.h>
39262 #undef pthread_cancel
39264 /* Override any GCC internal prototype to avoid an error.
39265 Use char because int might match the return type of a GCC
39266 builtin and then its argument prototype would still apply. */
39270 char pthread_cancel ();
39271 /* The GNU C library defines this for functions which it implements
39272 to always fail with ENOSYS. Some functions are actually named
39273 something starting with __ and the normal name is an alias. */
39274 #if defined __stub_pthread_cancel || defined __stub___pthread_cancel
39281 return pthread_cancel ();
39286 rm -f conftest.
$ac_objext conftest
$ac_exeext
39287 if { (ac_try
="$ac_link"
39288 case "(($ac_try" in
39289 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
39290 *) ac_try_echo=$ac_try;;
39292 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39293 (eval "$ac_link") 2>conftest.er1
39295 grep -v '^ *+' conftest.er1 >conftest.err
39297 cat conftest.err >&5
39298 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39299 (exit $ac_status); } && {
39300 test -z "$ac_c_werror_flag" ||
39301 test ! -s conftest.err
39302 } && test -s conftest$ac_exeext &&
39303 $as_test_x conftest$ac_exeext; then
39304 ac_cv_func_pthread_cancel=yes
39306 echo "$as_me: failed program was:" >&5
39307 sed 's/^/| /' conftest.$ac_ext >&5
39309 ac_cv_func_pthread_cancel=no
39312 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39313 conftest$ac_exeext conftest.$ac_ext
39315 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_cancel" >&5
39316 echo "${ECHO_T}$ac_cv_func_pthread_cancel" >&6; }
39317 if test $ac_cv_func_pthread_cancel = yes; then
39318 cat >>confdefs.h <<\_ACEOF
39319 #define HAVE_PTHREAD_CANCEL 1
39323 { echo "$as_me:$LINENO: WARNING: wxThread::Kill() will not work properly" >&5
39324 echo "$as_me: WARNING: wxThread::Kill() will not work properly" >&2;}
39328 { echo "$as_me:$LINENO: checking for pthread_mutex_timedlock" >&5
39329 echo $ECHO_N "checking for pthread_mutex_timedlock... $ECHO_C" >&6; }
39330 if test "${ac_cv_func_pthread_mutex_timedlock+set}" = set; then
39331 echo $ECHO_N "(cached) $ECHO_C" >&6
39333 cat >conftest.$ac_ext <<_ACEOF
39336 cat confdefs.h >>conftest.$ac_ext
39337 cat >>conftest.$ac_ext <<_ACEOF
39338 /* end confdefs.h. */
39339 /* Define pthread_mutex_timedlock to an innocuous variant, in case <limits.h> declares pthread_mutex_timedlock.
39340 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39341 #define pthread_mutex_timedlock innocuous_pthread_mutex_timedlock
39343 /* System header to define __stub macros and hopefully few prototypes,
39344 which can conflict with char pthread_mutex_timedlock (); below.
39345 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39346 <limits.h> exists even on freestanding compilers. */
39349 # include <limits.h>
39351 # include <assert.h>
39354 #undef pthread_mutex_timedlock
39356 /* Override any GCC internal prototype to avoid an error.
39357 Use char because int might match the return type of a GCC
39358 builtin and then its argument prototype would still apply. */
39362 char pthread_mutex_timedlock ();
39363 /* The GNU C library defines this for functions which it implements
39364 to always fail with ENOSYS. Some functions are actually named
39365 something starting with __ and the normal name is an alias. */
39366 #if defined __stub_pthread_mutex_timedlock || defined __stub___pthread_mutex_timedlock
39373 return pthread_mutex_timedlock ();
39378 rm -f conftest.$ac_objext conftest$ac_exeext
39379 if { (ac_try="$ac_link"
39380 case "(($ac_try" in
39381 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
39382 *) ac_try_echo
=$ac_try;;
39384 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39385 (eval "$ac_link") 2>conftest.er1
39387 grep -v '^ *+' conftest.er1
>conftest.err
39389 cat conftest.err
>&5
39390 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39391 (exit $ac_status); } && {
39392 test -z "$ac_c_werror_flag" ||
39393 test ! -s conftest.err
39394 } && test -s conftest
$ac_exeext &&
39395 $as_test_x conftest
$ac_exeext; then
39396 ac_cv_func_pthread_mutex_timedlock
=yes
39398 echo "$as_me: failed program was:" >&5
39399 sed 's/^/| /' conftest.
$ac_ext >&5
39401 ac_cv_func_pthread_mutex_timedlock
=no
39404 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
39405 conftest
$ac_exeext conftest.
$ac_ext
39407 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_mutex_timedlock" >&5
39408 echo "${ECHO_T}$ac_cv_func_pthread_mutex_timedlock" >&6; }
39409 if test $ac_cv_func_pthread_mutex_timedlock = yes; then
39410 cat >>confdefs.h
<<\_ACEOF
39411 #define HAVE_PTHREAD_MUTEX_TIMEDLOCK 1
39415 { echo "$as_me:$LINENO: WARNING: wxMutex::LockTimeout() will not work" >&5
39416 echo "$as_me: WARNING: wxMutex::LockTimeout() will not work" >&2;}
39420 { echo "$as_me:$LINENO: checking for pthread_attr_setstacksize" >&5
39421 echo $ECHO_N "checking for pthread_attr_setstacksize... $ECHO_C" >&6; }
39422 if test "${ac_cv_func_pthread_attr_setstacksize+set}" = set; then
39423 echo $ECHO_N "(cached) $ECHO_C" >&6
39425 cat >conftest.
$ac_ext <<_ACEOF
39428 cat confdefs.h
>>conftest.
$ac_ext
39429 cat >>conftest.
$ac_ext <<_ACEOF
39430 /* end confdefs.h. */
39431 /* Define pthread_attr_setstacksize to an innocuous variant, in case <limits.h> declares pthread_attr_setstacksize.
39432 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39433 #define pthread_attr_setstacksize innocuous_pthread_attr_setstacksize
39435 /* System header to define __stub macros and hopefully few prototypes,
39436 which can conflict with char pthread_attr_setstacksize (); below.
39437 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39438 <limits.h> exists even on freestanding compilers. */
39441 # include <limits.h>
39443 # include <assert.h>
39446 #undef pthread_attr_setstacksize
39448 /* Override any GCC internal prototype to avoid an error.
39449 Use char because int might match the return type of a GCC
39450 builtin and then its argument prototype would still apply. */
39454 char pthread_attr_setstacksize ();
39455 /* The GNU C library defines this for functions which it implements
39456 to always fail with ENOSYS. Some functions are actually named
39457 something starting with __ and the normal name is an alias. */
39458 #if defined __stub_pthread_attr_setstacksize || defined __stub___pthread_attr_setstacksize
39465 return pthread_attr_setstacksize ();
39470 rm -f conftest.
$ac_objext conftest
$ac_exeext
39471 if { (ac_try
="$ac_link"
39472 case "(($ac_try" in
39473 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
39474 *) ac_try_echo=$ac_try;;
39476 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39477 (eval "$ac_link") 2>conftest.er1
39479 grep -v '^ *+' conftest.er1 >conftest.err
39481 cat conftest.err >&5
39482 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39483 (exit $ac_status); } && {
39484 test -z "$ac_c_werror_flag" ||
39485 test ! -s conftest.err
39486 } && test -s conftest$ac_exeext &&
39487 $as_test_x conftest$ac_exeext; then
39488 ac_cv_func_pthread_attr_setstacksize=yes
39490 echo "$as_me: failed program was:" >&5
39491 sed 's/^/| /' conftest.$ac_ext >&5
39493 ac_cv_func_pthread_attr_setstacksize=no
39496 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39497 conftest$ac_exeext conftest.$ac_ext
39499 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setstacksize" >&5
39500 echo "${ECHO_T}$ac_cv_func_pthread_attr_setstacksize" >&6; }
39501 if test $ac_cv_func_pthread_attr_setstacksize = yes; then
39502 cat >>confdefs.h <<\_ACEOF
39503 #define HAVE_PTHREAD_ATTR_SETSTACKSIZE 1
39510 { echo "$as_me:$LINENO: checking for pthread_mutexattr_t" >&5
39511 echo $ECHO_N "checking for pthread_mutexattr_t... $ECHO_C" >&6; }
39512 if test "${wx_cv_type_pthread_mutexattr_t+set}" = set; then
39513 echo $ECHO_N "(cached) $ECHO_C" >&6
39516 cat >conftest.$ac_ext <<_ACEOF
39519 cat confdefs.h >>conftest.$ac_ext
39520 cat >>conftest.$ac_ext <<_ACEOF
39521 /* end confdefs.h. */
39522 #include <pthread.h>
39527 pthread_mutexattr_t attr;
39528 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
39534 rm -f conftest.$ac_objext
39535 if { (ac_try="$ac_compile"
39536 case "(($ac_try" in
39537 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
39538 *) ac_try_echo
=$ac_try;;
39540 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39541 (eval "$ac_compile") 2>conftest.er1
39543 grep -v '^ *+' conftest.er1
>conftest.err
39545 cat conftest.err
>&5
39546 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39547 (exit $ac_status); } && {
39548 test -z "$ac_c_werror_flag" ||
39549 test ! -s conftest.err
39550 } && test -s conftest.
$ac_objext; then
39551 wx_cv_type_pthread_mutexattr_t
=yes
39553 echo "$as_me: failed program was:" >&5
39554 sed 's/^/| /' conftest.
$ac_ext >&5
39556 wx_cv_type_pthread_mutexattr_t
=no
39560 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
39563 { echo "$as_me:$LINENO: result: $wx_cv_type_pthread_mutexattr_t" >&5
39564 echo "${ECHO_T}$wx_cv_type_pthread_mutexattr_t" >&6; }
39566 if test "$wx_cv_type_pthread_mutexattr_t" = "yes"; then
39567 cat >>confdefs.h
<<\_ACEOF
39568 #define HAVE_PTHREAD_MUTEXATTR_T 1
39572 { echo "$as_me:$LINENO: checking for pthread_mutexattr_settype declaration" >&5
39573 echo $ECHO_N "checking for pthread_mutexattr_settype declaration... $ECHO_C" >&6; }
39574 if test "${wx_cv_func_pthread_mutexattr_settype_decl+set}" = set; then
39575 echo $ECHO_N "(cached) $ECHO_C" >&6
39578 cat >conftest.
$ac_ext <<_ACEOF
39581 cat confdefs.h
>>conftest.
$ac_ext
39582 cat >>conftest.
$ac_ext <<_ACEOF
39583 /* end confdefs.h. */
39584 #include <pthread.h>
39589 pthread_mutexattr_t attr;
39590 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
39596 rm -f conftest.
$ac_objext
39597 if { (ac_try
="$ac_compile"
39598 case "(($ac_try" in
39599 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
39600 *) ac_try_echo=$ac_try;;
39602 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39603 (eval "$ac_compile") 2>conftest.er1
39605 grep -v '^ *+' conftest.er1 >conftest.err
39607 cat conftest.err >&5
39608 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39609 (exit $ac_status); } && {
39610 test -z "$ac_c_werror_flag" ||
39611 test ! -s conftest.err
39612 } && test -s conftest.$ac_objext; then
39613 wx_cv_func_pthread_mutexattr_settype_decl=yes
39615 echo "$as_me: failed program was:" >&5
39616 sed 's/^/| /' conftest.$ac_ext >&5
39618 wx_cv_func_pthread_mutexattr_settype_decl=no
39622 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39625 { echo "$as_me:$LINENO: result: $wx_cv_func_pthread_mutexattr_settype_decl" >&5
39626 echo "${ECHO_T}$wx_cv_func_pthread_mutexattr_settype_decl" >&6; }
39627 if test "$wx_cv_func_pthread_mutexattr_settype_decl" = "yes"; then
39628 cat >>confdefs.h <<\_ACEOF
39629 #define HAVE_PTHREAD_MUTEXATTR_SETTYPE_DECL 1
39634 { echo "$as_me:$LINENO: checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER" >&5
39635 echo $ECHO_N "checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER... $ECHO_C" >&6; }
39636 if test "${wx_cv_type_pthread_rec_mutex_init+set}" = set; then
39637 echo $ECHO_N "(cached) $ECHO_C" >&6
39640 cat >conftest.$ac_ext <<_ACEOF
39643 cat confdefs.h >>conftest.$ac_ext
39644 cat >>conftest.$ac_ext <<_ACEOF
39645 /* end confdefs.h. */
39646 #include <pthread.h>
39651 pthread_mutex_t attr = PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP;
39657 rm -f conftest.$ac_objext
39658 if { (ac_try="$ac_compile"
39659 case "(($ac_try" in
39660 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
39661 *) ac_try_echo
=$ac_try;;
39663 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39664 (eval "$ac_compile") 2>conftest.er1
39666 grep -v '^ *+' conftest.er1
>conftest.err
39668 cat conftest.err
>&5
39669 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39670 (exit $ac_status); } && {
39671 test -z "$ac_c_werror_flag" ||
39672 test ! -s conftest.err
39673 } && test -s conftest.
$ac_objext; then
39675 wx_cv_type_pthread_rec_mutex_init
=yes
39678 echo "$as_me: failed program was:" >&5
39679 sed 's/^/| /' conftest.
$ac_ext >&5
39682 wx_cv_type_pthread_rec_mutex_init
=no
39687 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
39690 { echo "$as_me:$LINENO: result: $wx_cv_type_pthread_rec_mutex_init" >&5
39691 echo "${ECHO_T}$wx_cv_type_pthread_rec_mutex_init" >&6; }
39692 if test "$wx_cv_type_pthread_rec_mutex_init" = "yes"; then
39693 cat >>confdefs.h
<<\_ACEOF
39694 #define HAVE_PTHREAD_RECURSIVE_MUTEX_INITIALIZER 1
39698 { echo "$as_me:$LINENO: WARNING: wxMutex won't be recursive on this platform" >&5
39699 echo "$as_me: WARNING: wxMutex won't be recursive on this platform" >&2;}
39705 if test "$wxUSE_THREADS" = "yes" ; then
39708 { echo "$as_me:$LINENO: checking if compiler supports -mthreads" >&5
39709 echo $ECHO_N "checking if compiler supports -mthreads... $ECHO_C" >&6; }
39710 if test "${wx_cv_cflags_mthread+set}" = set; then
39711 echo $ECHO_N "(cached) $ECHO_C" >&6
39714 CFLAGS_OLD
="$CFLAGS"
39715 CFLAGS
="-mthreads $CFLAGS"
39716 cat >conftest.
$ac_ext <<_ACEOF
39719 cat confdefs.h
>>conftest.
$ac_ext
39720 cat >>conftest.
$ac_ext <<_ACEOF
39721 /* end confdefs.h. */
39731 rm -f conftest.
$ac_objext
39732 if { (ac_try
="$ac_compile"
39733 case "(($ac_try" in
39734 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
39735 *) ac_try_echo=$ac_try;;
39737 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39738 (eval "$ac_compile") 2>conftest.er1
39740 grep -v '^ *+' conftest.er1 >conftest.err
39742 cat conftest.err >&5
39743 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39744 (exit $ac_status); } && {
39745 test -z "$ac_c_werror_flag" ||
39746 test ! -s conftest.err
39747 } && test -s conftest.$ac_objext; then
39748 wx_cv_cflags_mthread=yes
39750 echo "$as_me: failed program was:" >&5
39751 sed 's/^/| /' conftest.$ac_ext >&5
39753 wx_cv_cflags_mthread=no
39757 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39761 { echo "$as_me:$LINENO: result: $wx_cv_cflags_mthread" >&5
39762 echo "${ECHO_T}$wx_cv_cflags_mthread" >&6; }
39764 if test "$wx_cv_cflags_mthread" = "yes"; then
39765 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -mthreads"
39766 LDFLAGS="$LDFLAGS -mthreads"
39768 CFLAGS="$CFLAGS_OLD"
39772 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -Zmt -D__ST_MT_ERRNO__"
39773 LDFLAGS="$LDFLAGS -Zmt"
39779 { echo "$as_me:$LINENO: checking for localtime_r" >&5
39780 echo $ECHO_N "checking for localtime_r... $ECHO_C" >&6; }
39781 if test "${ac_cv_func_localtime_r+set}" = set; then
39782 echo $ECHO_N "(cached) $ECHO_C" >&6
39784 cat >conftest.$ac_ext <<_ACEOF
39787 cat confdefs.h >>conftest.$ac_ext
39788 cat >>conftest.$ac_ext <<_ACEOF
39789 /* end confdefs.h. */
39790 /* Define localtime_r to an innocuous variant, in case <limits.h> declares localtime_r.
39791 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39792 #define localtime_r innocuous_localtime_r
39794 /* System header to define __stub macros and hopefully few prototypes,
39795 which can conflict with char localtime_r (); below.
39796 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39797 <limits.h> exists even on freestanding compilers. */
39800 # include <limits.h>
39802 # include <assert.h>
39807 /* Override any GCC internal prototype to avoid an error.
39808 Use char because int might match the return type of a GCC
39809 builtin and then its argument prototype would still apply. */
39813 char localtime_r ();
39814 /* The GNU C library defines this for functions which it implements
39815 to always fail with ENOSYS. Some functions are actually named
39816 something starting with __ and the normal name is an alias. */
39817 #if defined __stub_localtime_r || defined __stub___localtime_r
39824 return localtime_r ();
39829 rm -f conftest.$ac_objext conftest$ac_exeext
39830 if { (ac_try="$ac_link"
39831 case "(($ac_try" in
39832 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
39833 *) ac_try_echo
=$ac_try;;
39835 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39836 (eval "$ac_link") 2>conftest.er1
39838 grep -v '^ *+' conftest.er1
>conftest.err
39840 cat conftest.err
>&5
39841 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39842 (exit $ac_status); } && {
39843 test -z "$ac_c_werror_flag" ||
39844 test ! -s conftest.err
39845 } && test -s conftest
$ac_exeext &&
39846 $as_test_x conftest
$ac_exeext; then
39847 ac_cv_func_localtime_r
=yes
39849 echo "$as_me: failed program was:" >&5
39850 sed 's/^/| /' conftest.
$ac_ext >&5
39852 ac_cv_func_localtime_r
=no
39855 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
39856 conftest
$ac_exeext conftest.
$ac_ext
39858 { echo "$as_me:$LINENO: result: $ac_cv_func_localtime_r" >&5
39859 echo "${ECHO_T}$ac_cv_func_localtime_r" >&6; }
39860 if test $ac_cv_func_localtime_r = yes; then
39861 cat >>confdefs.h
<<\_ACEOF
39862 #define HAVE_LOCALTIME_R 1
39867 { echo "$as_me:$LINENO: checking for gmtime_r" >&5
39868 echo $ECHO_N "checking for gmtime_r... $ECHO_C" >&6; }
39869 if test "${ac_cv_func_gmtime_r+set}" = set; then
39870 echo $ECHO_N "(cached) $ECHO_C" >&6
39872 cat >conftest.
$ac_ext <<_ACEOF
39875 cat confdefs.h
>>conftest.
$ac_ext
39876 cat >>conftest.
$ac_ext <<_ACEOF
39877 /* end confdefs.h. */
39878 /* Define gmtime_r to an innocuous variant, in case <limits.h> declares gmtime_r.
39879 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39880 #define gmtime_r innocuous_gmtime_r
39882 /* System header to define __stub macros and hopefully few prototypes,
39883 which can conflict with char gmtime_r (); below.
39884 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39885 <limits.h> exists even on freestanding compilers. */
39888 # include <limits.h>
39890 # include <assert.h>
39895 /* Override any GCC internal prototype to avoid an error.
39896 Use char because int might match the return type of a GCC
39897 builtin and then its argument prototype would still apply. */
39902 /* The GNU C library defines this for functions which it implements
39903 to always fail with ENOSYS. Some functions are actually named
39904 something starting with __ and the normal name is an alias. */
39905 #if defined __stub_gmtime_r || defined __stub___gmtime_r
39912 return gmtime_r ();
39917 rm -f conftest.
$ac_objext conftest
$ac_exeext
39918 if { (ac_try
="$ac_link"
39919 case "(($ac_try" in
39920 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
39921 *) ac_try_echo=$ac_try;;
39923 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39924 (eval "$ac_link") 2>conftest.er1
39926 grep -v '^ *+' conftest.er1 >conftest.err
39928 cat conftest.err >&5
39929 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39930 (exit $ac_status); } && {
39931 test -z "$ac_c_werror_flag" ||
39932 test ! -s conftest.err
39933 } && test -s conftest$ac_exeext &&
39934 $as_test_x conftest$ac_exeext; then
39935 ac_cv_func_gmtime_r=yes
39937 echo "$as_me: failed program was:" >&5
39938 sed 's/^/| /' conftest.$ac_ext >&5
39940 ac_cv_func_gmtime_r=no
39943 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39944 conftest$ac_exeext conftest.$ac_ext
39946 { echo "$as_me:$LINENO: result: $ac_cv_func_gmtime_r" >&5
39947 echo "${ECHO_T}$ac_cv_func_gmtime_r" >&6; }
39948 if test $ac_cv_func_gmtime_r = yes; then
39949 cat >>confdefs.h <<\_ACEOF
39950 #define HAVE_GMTIME_R 1
39955 { echo "$as_me:$LINENO: checking for readdir_r" >&5
39956 echo $ECHO_N "checking for readdir_r... $ECHO_C" >&6; }
39957 if test "${ac_cv_func_readdir_r+set}" = set; then
39958 echo $ECHO_N "(cached) $ECHO_C" >&6
39960 cat >conftest.$ac_ext <<_ACEOF
39963 cat confdefs.h >>conftest.$ac_ext
39964 cat >>conftest.$ac_ext <<_ACEOF
39965 /* end confdefs.h. */
39966 /* Define readdir_r to an innocuous variant, in case <limits.h> declares readdir_r.
39967 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39968 #define readdir_r innocuous_readdir_r
39970 /* System header to define __stub macros and hopefully few prototypes,
39971 which can conflict with char readdir_r (); below.
39972 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39973 <limits.h> exists even on freestanding compilers. */
39976 # include <limits.h>
39978 # include <assert.h>
39983 /* Override any GCC internal prototype to avoid an error.
39984 Use char because int might match the return type of a GCC
39985 builtin and then its argument prototype would still apply. */
39990 /* The GNU C library defines this for functions which it implements
39991 to always fail with ENOSYS. Some functions are actually named
39992 something starting with __ and the normal name is an alias. */
39993 #if defined __stub_readdir_r || defined __stub___readdir_r
40000 return readdir_r ();
40005 rm -f conftest.$ac_objext conftest$ac_exeext
40006 if { (ac_try="$ac_link"
40007 case "(($ac_try" in
40008 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
40009 *) ac_try_echo
=$ac_try;;
40011 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40012 (eval "$ac_link") 2>conftest.er1
40014 grep -v '^ *+' conftest.er1
>conftest.err
40016 cat conftest.err
>&5
40017 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40018 (exit $ac_status); } && {
40019 test -z "$ac_c_werror_flag" ||
40020 test ! -s conftest.err
40021 } && test -s conftest
$ac_exeext &&
40022 $as_test_x conftest
$ac_exeext; then
40023 ac_cv_func_readdir_r
=yes
40025 echo "$as_me: failed program was:" >&5
40026 sed 's/^/| /' conftest.
$ac_ext >&5
40028 ac_cv_func_readdir_r
=no
40031 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
40032 conftest
$ac_exeext conftest.
$ac_ext
40034 { echo "$as_me:$LINENO: result: $ac_cv_func_readdir_r" >&5
40035 echo "${ECHO_T}$ac_cv_func_readdir_r" >&6; }
40036 if test $ac_cv_func_readdir_r = yes; then
40037 cat >>confdefs.h
<<\_ACEOF
40038 #define HAVE_READDIR_R 1
40047 ac_cpp
='$CPP $CPPFLAGS'
40048 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40049 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40050 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
40052 { echo "$as_me:$LINENO: checking how many arguments gethostbyname_r() takes" >&5
40053 echo $ECHO_N "checking how many arguments gethostbyname_r() takes... $ECHO_C" >&6; }
40055 if test "${ac_cv_func_which_gethostbyname_r+set}" = set; then
40056 echo $ECHO_N "(cached) $ECHO_C" >&6
40060 ################################################################
40062 ac_cv_func_which_gethostbyname_r
=unknown
40065 # ONE ARGUMENT (sanity check)
40068 # This should fail, as there is no variant of gethostbyname_r() that takes
40069 # a single argument. If it actually compiles, then we can assume that
40070 # netdb.h is not declaring the function, and the compiler is thereby
40071 # assuming an implicit prototype. In which case, we're out of luck.
40073 cat >conftest.
$ac_ext <<_ACEOF
40076 cat confdefs.h
>>conftest.
$ac_ext
40077 cat >>conftest.
$ac_ext <<_ACEOF
40078 /* end confdefs.h. */
40084 char *name = "www.gnu.org";
40085 (void)gethostbyname_r(name) /* ; */
40091 rm -f conftest.
$ac_objext
40092 if { (ac_try
="$ac_compile"
40093 case "(($ac_try" in
40094 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
40095 *) ac_try_echo=$ac_try;;
40097 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40098 (eval "$ac_compile") 2>conftest.er1
40100 grep -v '^ *+' conftest.er1 >conftest.err
40102 cat conftest.err >&5
40103 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40104 (exit $ac_status); } && {
40105 test -z "$ac_c_werror_flag" ||
40106 test ! -s conftest.err
40107 } && test -s conftest.$ac_objext; then
40108 ac_cv_func_which_gethostbyname_r=no
40110 echo "$as_me: failed program was:" >&5
40111 sed 's/^/| /' conftest.$ac_ext >&5
40116 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40123 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
40125 cat >conftest.$ac_ext <<_ACEOF
40128 cat confdefs.h >>conftest.$ac_ext
40129 cat >>conftest.$ac_ext <<_ACEOF
40130 /* end confdefs.h. */
40136 char *name = "www.gnu.org";
40137 struct hostent ret, *retp;
40141 (void)gethostbyname_r(name, &ret, buf, buflen, &retp, &my_h_errno) /* ; */
40147 rm -f conftest.$ac_objext
40148 if { (ac_try="$ac_compile"
40149 case "(($ac_try" in
40150 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
40151 *) ac_try_echo
=$ac_try;;
40153 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40154 (eval "$ac_compile") 2>conftest.er1
40156 grep -v '^ *+' conftest.er1
>conftest.err
40158 cat conftest.err
>&5
40159 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40160 (exit $ac_status); } && {
40161 test -z "$ac_c_werror_flag" ||
40162 test ! -s conftest.err
40163 } && test -s conftest.
$ac_objext; then
40164 ac_cv_func_which_gethostbyname_r
=six
40166 echo "$as_me: failed program was:" >&5
40167 sed 's/^/| /' conftest.
$ac_ext >&5
40172 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
40181 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
40183 cat >conftest.
$ac_ext <<_ACEOF
40186 cat confdefs.h
>>conftest.
$ac_ext
40187 cat >>conftest.
$ac_ext <<_ACEOF
40188 /* end confdefs.h. */
40194 char *name = "www.gnu.org";
40195 struct hostent ret;
40199 (void)gethostbyname_r(name, &ret, buf, buflen, &my_h_errno) /* ; */
40205 rm -f conftest.
$ac_objext
40206 if { (ac_try
="$ac_compile"
40207 case "(($ac_try" in
40208 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
40209 *) ac_try_echo=$ac_try;;
40211 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40212 (eval "$ac_compile") 2>conftest.er1
40214 grep -v '^ *+' conftest.er1 >conftest.err
40216 cat conftest.err >&5
40217 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40218 (exit $ac_status); } && {
40219 test -z "$ac_c_werror_flag" ||
40220 test ! -s conftest.err
40221 } && test -s conftest.$ac_objext; then
40222 ac_cv_func_which_gethostbyname_r=five
40224 echo "$as_me: failed program was:" >&5
40225 sed 's/^/| /' conftest.$ac_ext >&5
40230 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40236 # (e.g. AIX, HP-UX, Tru64)
40239 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
40241 cat >conftest.$ac_ext <<_ACEOF
40244 cat confdefs.h >>conftest.$ac_ext
40245 cat >>conftest.$ac_ext <<_ACEOF
40246 /* end confdefs.h. */
40252 char *name = "www.gnu.org";
40253 struct hostent ret;
40254 struct hostent_data data;
40255 (void)gethostbyname_r(name, &ret, &data) /* ; */
40261 rm -f conftest.$ac_objext
40262 if { (ac_try="$ac_compile"
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_compile") 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_objext; then
40278 ac_cv_func_which_gethostbyname_r
=three
40280 echo "$as_me: failed program was:" >&5
40281 sed 's/^/| /' conftest.
$ac_ext >&5
40286 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
40290 ################################################################
40295 case "$ac_cv_func_which_gethostbyname_r" in
40297 { echo "$as_me:$LINENO: result: three" >&5
40298 echo "${ECHO_T}three" >&6; }
40299 cat >>confdefs.h
<<\_ACEOF
40300 #define HAVE_FUNC_GETHOSTBYNAME_R_3 1
40306 { echo "$as_me:$LINENO: result: five" >&5
40307 echo "${ECHO_T}five" >&6; }
40308 cat >>confdefs.h
<<\_ACEOF
40309 #define HAVE_FUNC_GETHOSTBYNAME_R_5 1
40315 { echo "$as_me:$LINENO: result: six" >&5
40316 echo "${ECHO_T}six" >&6; }
40317 cat >>confdefs.h
<<\_ACEOF
40318 #define HAVE_FUNC_GETHOSTBYNAME_R_6 1
40324 { echo "$as_me:$LINENO: result: cannot find function declaration in netdb.h" >&5
40325 echo "${ECHO_T}cannot find function declaration in netdb.h" >&6; }
40329 { echo "$as_me:$LINENO: result: can't tell" >&5
40330 echo "${ECHO_T}can't tell" >&6; }
40334 { { echo "$as_me:$LINENO: error: internal error" >&5
40335 echo "$as_me: error: internal error" >&2;}
40336 { (exit 1); exit 1; }; }
40341 ac_cpp
='$CPP $CPPFLAGS'
40342 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40343 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40344 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
40348 if test "x$ac_cv_func_which_gethostbyname_r" = "xno" -o \
40349 "x$ac_cv_func_which_gethostbyname_r" = "xunknown" ; then
40350 { echo "$as_me:$LINENO: checking for gethostbyname" >&5
40351 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6; }
40352 if test "${ac_cv_func_gethostbyname+set}" = set; then
40353 echo $ECHO_N "(cached) $ECHO_C" >&6
40355 cat >conftest.
$ac_ext <<_ACEOF
40358 cat confdefs.h
>>conftest.
$ac_ext
40359 cat >>conftest.
$ac_ext <<_ACEOF
40360 /* end confdefs.h. */
40361 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
40362 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40363 #define gethostbyname innocuous_gethostbyname
40365 /* System header to define __stub macros and hopefully few prototypes,
40366 which can conflict with char gethostbyname (); below.
40367 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40368 <limits.h> exists even on freestanding compilers. */
40371 # include <limits.h>
40373 # include <assert.h>
40376 #undef gethostbyname
40378 /* Override any GCC internal prototype to avoid an error.
40379 Use char because int might match the return type of a GCC
40380 builtin and then its argument prototype would still apply. */
40384 char gethostbyname ();
40385 /* The GNU C library defines this for functions which it implements
40386 to always fail with ENOSYS. Some functions are actually named
40387 something starting with __ and the normal name is an alias. */
40388 #if defined __stub_gethostbyname || defined __stub___gethostbyname
40395 return gethostbyname ();
40400 rm -f conftest.
$ac_objext conftest
$ac_exeext
40401 if { (ac_try
="$ac_link"
40402 case "(($ac_try" in
40403 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
40404 *) ac_try_echo=$ac_try;;
40406 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40407 (eval "$ac_link") 2>conftest.er1
40409 grep -v '^ *+' conftest.er1 >conftest.err
40411 cat conftest.err >&5
40412 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40413 (exit $ac_status); } && {
40414 test -z "$ac_c_werror_flag" ||
40415 test ! -s conftest.err
40416 } && test -s conftest$ac_exeext &&
40417 $as_test_x conftest$ac_exeext; then
40418 ac_cv_func_gethostbyname=yes
40420 echo "$as_me: failed program was:" >&5
40421 sed 's/^/| /' conftest.$ac_ext >&5
40423 ac_cv_func_gethostbyname=no
40426 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40427 conftest$ac_exeext conftest.$ac_ext
40429 { echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
40430 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6; }
40431 if test $ac_cv_func_gethostbyname = yes; then
40432 cat >>confdefs.h <<\_ACEOF
40433 #define HAVE_GETHOSTBYNAME 1
40440 { echo "$as_me:$LINENO: checking how many arguments getservbyname_r() takes" >&5
40441 echo $ECHO_N "checking how many arguments getservbyname_r() takes... $ECHO_C" >&6; }
40442 if test "${ac_cv_func_which_getservbyname_r+set}" = set; then
40443 echo $ECHO_N "(cached) $ECHO_C" >&6
40447 ac_cpp='$CXXCPP $CPPFLAGS'
40448 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40449 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40450 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40453 cat >conftest.$ac_ext <<_ACEOF
40456 cat confdefs.h >>conftest.$ac_ext
40457 cat >>conftest.$ac_ext <<_ACEOF
40458 /* end confdefs.h. */
40466 struct servent *se, *res;
40469 (void) getservbyname_r(name, proto, se, buffer, buflen, &res)
40475 rm -f conftest.$ac_objext
40476 if { (ac_try="$ac_compile"
40477 case "(($ac_try" in
40478 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
40479 *) ac_try_echo
=$ac_try;;
40481 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40482 (eval "$ac_compile") 2>conftest.er1
40484 grep -v '^ *+' conftest.er1
>conftest.err
40486 cat conftest.err
>&5
40487 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40488 (exit $ac_status); } && {
40489 test -z "$ac_cxx_werror_flag" ||
40490 test ! -s conftest.err
40491 } && test -s conftest.
$ac_objext; then
40492 ac_cv_func_which_getservbyname_r
=six
40494 echo "$as_me: failed program was:" >&5
40495 sed 's/^/| /' conftest.
$ac_ext >&5
40498 cat >conftest.
$ac_ext <<_ACEOF
40501 cat confdefs.h
>>conftest.
$ac_ext
40502 cat >>conftest.
$ac_ext <<_ACEOF
40503 /* end confdefs.h. */
40511 struct servent *se;
40514 (void) getservbyname_r(name, proto, se, buffer, buflen)
40520 rm -f conftest.
$ac_objext
40521 if { (ac_try
="$ac_compile"
40522 case "(($ac_try" in
40523 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
40524 *) ac_try_echo=$ac_try;;
40526 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40527 (eval "$ac_compile") 2>conftest.er1
40529 grep -v '^ *+' conftest.er1 >conftest.err
40531 cat conftest.err >&5
40532 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40533 (exit $ac_status); } && {
40534 test -z "$ac_cxx_werror_flag" ||
40535 test ! -s conftest.err
40536 } && test -s conftest.$ac_objext; then
40537 ac_cv_func_which_getservbyname_r=five
40539 echo "$as_me: failed program was:" >&5
40540 sed 's/^/| /' conftest.$ac_ext >&5
40543 cat >conftest.$ac_ext <<_ACEOF
40546 cat confdefs.h >>conftest.$ac_ext
40547 cat >>conftest.$ac_ext <<_ACEOF
40548 /* end confdefs.h. */
40556 struct servent *se;
40557 struct servent_data data;
40558 (void) getservbyname_r(name, proto, se, &data);
40564 rm -f conftest.$ac_objext
40565 if { (ac_try="$ac_compile"
40566 case "(($ac_try" in
40567 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
40568 *) ac_try_echo
=$ac_try;;
40570 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40571 (eval "$ac_compile") 2>conftest.er1
40573 grep -v '^ *+' conftest.er1
>conftest.err
40575 cat conftest.err
>&5
40576 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40577 (exit $ac_status); } && {
40578 test -z "$ac_cxx_werror_flag" ||
40579 test ! -s conftest.err
40580 } && test -s conftest.
$ac_objext; then
40581 ac_cv_func_which_getservbyname_r
=four
40583 echo "$as_me: failed program was:" >&5
40584 sed 's/^/| /' conftest.
$ac_ext >&5
40586 ac_cv_func_which_getservbyname_r
=no
40590 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
40595 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
40600 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
40602 ac_cpp
='$CPP $CPPFLAGS'
40603 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40604 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40605 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
40610 { echo "$as_me:$LINENO: result: $ac_cv_func_which_getservbyname_r" >&5
40611 echo "${ECHO_T}$ac_cv_func_which_getservbyname_r" >&6; }
40613 if test $ac_cv_func_which_getservbyname_r = six
; then
40614 cat >>confdefs.h
<<\_ACEOF
40615 #define HAVE_FUNC_GETSERVBYNAME_R_6 1
40618 elif test $ac_cv_func_which_getservbyname_r = five
; then
40619 cat >>confdefs.h
<<\_ACEOF
40620 #define HAVE_FUNC_GETSERVBYNAME_R_5 1
40623 elif test $ac_cv_func_which_getservbyname_r = four
; then
40624 cat >>confdefs.h
<<\_ACEOF
40625 #define HAVE_FUNC_GETSERVBYNAME_R_4 1
40631 if test "x$ac_cv_func_which_getservbyname_r" = "xno" -o \
40632 "x$ac_cv_func_which_getservbyname_r" = "xunknown" ; then
40634 for ac_func
in getservbyname
40636 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40637 { echo "$as_me:$LINENO: checking for $ac_func" >&5
40638 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
40639 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
40640 echo $ECHO_N "(cached) $ECHO_C" >&6
40642 cat >conftest.
$ac_ext <<_ACEOF
40645 cat confdefs.h
>>conftest.
$ac_ext
40646 cat >>conftest.
$ac_ext <<_ACEOF
40647 /* end confdefs.h. */
40648 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40649 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40650 #define $ac_func innocuous_$ac_func
40652 /* System header to define __stub macros and hopefully few prototypes,
40653 which can conflict with char $ac_func (); below.
40654 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40655 <limits.h> exists even on freestanding compilers. */
40658 # include <limits.h>
40660 # include <assert.h>
40665 /* Override any GCC internal prototype to avoid an error.
40666 Use char because int might match the return type of a GCC
40667 builtin and then its argument prototype would still apply. */
40672 /* The GNU C library defines this for functions which it implements
40673 to always fail with ENOSYS. Some functions are actually named
40674 something starting with __ and the normal name is an alias. */
40675 #if defined __stub_$ac_func || defined __stub___$ac_func
40682 return $ac_func ();
40687 rm -f conftest.
$ac_objext conftest
$ac_exeext
40688 if { (ac_try
="$ac_link"
40689 case "(($ac_try" in
40690 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
40691 *) ac_try_echo=$ac_try;;
40693 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40694 (eval "$ac_link") 2>conftest.er1
40696 grep -v '^ *+' conftest.er1 >conftest.err
40698 cat conftest.err >&5
40699 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40700 (exit $ac_status); } && {
40701 test -z "$ac_c_werror_flag" ||
40702 test ! -s conftest.err
40703 } && test -s conftest$ac_exeext &&
40704 $as_test_x conftest$ac_exeext; then
40705 eval "$as_ac_var=yes"
40707 echo "$as_me: failed program was:" >&5
40708 sed 's/^/| /' conftest.$ac_ext >&5
40710 eval "$as_ac_var=no"
40713 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40714 conftest$ac_exeext conftest.$ac_ext
40716 ac_res=`eval echo '${'$as_ac_var'}'`
40717 { echo "$as_me:$LINENO: result: $ac_res" >&5
40718 echo "${ECHO_T}$ac_res" >&6; }
40719 if test `eval echo '${'$as_ac_var'}'` = yes; then
40720 cat >>confdefs.h <<_ACEOF
40721 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40723 cat >>confdefs.h <<\_ACEOF
40724 #define HAVE_GETSERVBYNAME 1
40732 if test "$wxUSE_THREADS" = "yes"; then
40733 cat >>confdefs.h <<\_ACEOF
40734 #define wxUSE_THREADS 1
40738 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS thread"
40740 if test "$wx_cv_func_strtok_r" = "yes"; then
40741 { echo "$as_me:$LINENO: checking if -D_REENTRANT is needed" >&5
40742 echo $ECHO_N "checking if -D_REENTRANT is needed... $ECHO_C" >&6; }
40743 if test "$NEEDS_D_REENTRANT_FOR_R_FUNCS" = 1; then
40744 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_REENTRANT"
40745 { echo "$as_me:$LINENO: result: yes" >&5
40746 echo "${ECHO_T}yes" >&6; }
40748 { echo "$as_me:$LINENO: result: no" >&5
40749 echo "${ECHO_T}no" >&6; }
40754 if test "$WXGTK20" = 1 ; then
40755 cat >>confdefs.h <<_ACEOF
40756 #define __WXGTK20__ $WXGTK20
40762 if test "$WXGTK12" = 1 ; then
40763 cat >>confdefs.h <<_ACEOF
40764 #define __WXGTK12__ $WXGTK12
40769 if test "$WXGTK127" = 1 ; then
40770 cat >>confdefs.h <<_ACEOF
40771 #define __WXGTK127__ $WXGTK127
40776 if test "$WXGPE" = 1 ; then
40777 cat >>confdefs.h <<_ACEOF
40778 #define __WXGPE__ $WXGPE
40784 if test "$wxUSE_DEBUG_INFO" = "yes" ; then
40789 if test "$wxUSE_DEBUG_GDB" = "yes" ; then
40790 wxUSE_DEBUG_INFO=yes
40791 if test "$GCC" = yes; then
40792 DEBUG_CFLAGS="-ggdb"
40796 if test "$wxUSE_DEBUG_FLAG" = "yes" ; then
40797 cat >>confdefs.h <<\_ACEOF
40801 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D__WXDEBUG__"
40803 if test "$wxUSE_GTK" = 1 ; then
40804 if test "x$wxGTK_VERSION" = "x1" ; then
40805 CPPFLAGS="-DGTK_NO_CHECK_CASTS $CPPFLAGS"
40810 if test "$wxUSE_MEM_TRACING" = "yes" ; then
40811 cat >>confdefs.h <<\_ACEOF
40812 #define wxUSE_MEMORY_TRACING 1
40815 cat >>confdefs.h <<\_ACEOF
40816 #define wxUSE_GLOBAL_MEMORY_OPERATORS 1
40819 cat >>confdefs.h <<\_ACEOF
40820 #define wxUSE_DEBUG_NEW_ALWAYS 1
40823 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS memcheck"
40826 if test "$wxUSE_DMALLOC" = "yes" ; then
40827 DMALLOC_LIBS="-ldmallocthcxx"
40831 if test "$wxUSE_PROFILE" = "yes" ; then
40832 PROFILE_FLAGS=" -pg"
40835 if test "$GCC" = "yes" ; then
40836 if test "$wxUSE_NO_RTTI" = "yes" ; then
40837 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -fno-rtti"
40839 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
40840 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -fno-exceptions"
40842 if test "$wxUSE_PERMISSIVE" = "yes" ; then
40843 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -fpermissive"
40848 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -mminimal-toc"
40851 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -ffunction-sections"
40857 if test "$wxUSE_OPTIMISE" = "no" ; then
40858 if test "$GCC" = yes ; then
40859 OPTIMISE_CFLAGS="-O0"
40862 if test "$GCC" = yes ; then
40864 *-pc-os2_emx | *-pc-os2-emx )
40865 OPTIMISE_CFLAGS="-O2"
40868 OPTIMISE_CFLAGS="-O2 -fno-strict-aliasing"
40872 OPTIMISE_CFLAGS="-O"
40877 if test "x$WXWIN_COMPATIBILITY_2_6" = "xyes"; then
40878 cat >>confdefs.h <<\_ACEOF
40879 #define WXWIN_COMPATIBILITY_2_6 1
40883 WXWIN_COMPATIBILITY_2_8="yes"
40886 if test "x$WXWIN_COMPATIBILITY_2_8" != "xno"; then
40887 cat >>confdefs.h <<\_ACEOF
40888 #define WXWIN_COMPATIBILITY_2_8 1
40894 if test "$wxUSE_GUI" = "yes"; then
40895 cat >>confdefs.h <<\_ACEOF
40896 #define wxUSE_GUI 1
40903 if test "$wxUSE_UNIX" = "yes"; then
40904 cat >>confdefs.h <<\_ACEOF
40905 #define wxUSE_UNIX 1
40911 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
40915 if test "$wxUSE_DYNAMIC_LOADER" = "yes" -o "$wxUSE_DYNLIB_CLASS" = "yes" ; then
40916 if test "$USE_DARWIN" = 1; then
40918 elif test "$USE_DOS" = 1; then
40922 for ac_func in dlopen
40924 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40925 { echo "$as_me:$LINENO: checking for $ac_func" >&5
40926 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
40927 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
40928 echo $ECHO_N "(cached) $ECHO_C" >&6
40930 cat >conftest.$ac_ext <<_ACEOF
40933 cat confdefs.h >>conftest.$ac_ext
40934 cat >>conftest.$ac_ext <<_ACEOF
40935 /* end confdefs.h. */
40936 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40937 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40938 #define $ac_func innocuous_$ac_func
40940 /* System header to define __stub macros and hopefully few prototypes,
40941 which can conflict with char $ac_func (); below.
40942 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40943 <limits.h> exists even on freestanding compilers. */
40946 # include <limits.h>
40948 # include <assert.h>
40953 /* Override any GCC internal prototype to avoid an error.
40954 Use char because int might match the return type of a GCC
40955 builtin and then its argument prototype would still apply. */
40960 /* The GNU C library defines this for functions which it implements
40961 to always fail with ENOSYS. Some functions are actually named
40962 something starting with __ and the normal name is an alias. */
40963 #if defined __stub_$ac_func || defined __stub___$ac_func
40970 return $ac_func ();
40975 rm -f conftest.$ac_objext conftest$ac_exeext
40976 if { (ac_try="$ac_link"
40977 case "(($ac_try" in
40978 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
40979 *) ac_try_echo
=$ac_try;;
40981 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40982 (eval "$ac_link") 2>conftest.er1
40984 grep -v '^ *+' conftest.er1
>conftest.err
40986 cat conftest.err
>&5
40987 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40988 (exit $ac_status); } && {
40989 test -z "$ac_c_werror_flag" ||
40990 test ! -s conftest.err
40991 } && test -s conftest
$ac_exeext &&
40992 $as_test_x conftest
$ac_exeext; then
40993 eval "$as_ac_var=yes"
40995 echo "$as_me: failed program was:" >&5
40996 sed 's/^/| /' conftest.
$ac_ext >&5
40998 eval "$as_ac_var=no"
41001 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
41002 conftest
$ac_exeext conftest.
$ac_ext
41004 ac_res
=`eval echo '${'$as_ac_var'}'`
41005 { echo "$as_me:$LINENO: result: $ac_res" >&5
41006 echo "${ECHO_T}$ac_res" >&6; }
41007 if test `eval echo '${'$as_ac_var'}'` = yes; then
41008 cat >>confdefs.h
<<_ACEOF
41009 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41012 cat >>confdefs.h
<<\_ACEOF
41013 #define HAVE_DLOPEN 1
41020 { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
41021 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
41022 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
41023 echo $ECHO_N "(cached) $ECHO_C" >&6
41025 ac_check_lib_save_LIBS
=$LIBS
41027 cat >conftest.
$ac_ext <<_ACEOF
41030 cat confdefs.h
>>conftest.
$ac_ext
41031 cat >>conftest.
$ac_ext <<_ACEOF
41032 /* end confdefs.h. */
41034 /* Override any GCC internal prototype to avoid an error.
41035 Use char because int might match the return type of a GCC
41036 builtin and then its argument prototype would still apply. */
41049 rm -f conftest.
$ac_objext conftest
$ac_exeext
41050 if { (ac_try
="$ac_link"
41051 case "(($ac_try" in
41052 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
41053 *) ac_try_echo=$ac_try;;
41055 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41056 (eval "$ac_link") 2>conftest.er1
41058 grep -v '^ *+' conftest.er1 >conftest.err
41060 cat conftest.err >&5
41061 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41062 (exit $ac_status); } && {
41063 test -z "$ac_c_werror_flag" ||
41064 test ! -s conftest.err
41065 } && test -s conftest$ac_exeext &&
41066 $as_test_x conftest$ac_exeext; then
41067 ac_cv_lib_dl_dlopen=yes
41069 echo "$as_me: failed program was:" >&5
41070 sed 's/^/| /' conftest.$ac_ext >&5
41072 ac_cv_lib_dl_dlopen=no
41075 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41076 conftest$ac_exeext conftest.$ac_ext
41077 LIBS=$ac_check_lib_save_LIBS
41079 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
41080 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
41081 if test $ac_cv_lib_dl_dlopen = yes; then
41083 cat >>confdefs.h <<\_ACEOF
41084 #define HAVE_DLOPEN 1
41088 DL_LINK=" -ldl$DL_LINK"
41093 for ac_func in shl_load
41095 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41096 { echo "$as_me:$LINENO: checking for $ac_func" >&5
41097 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
41098 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
41099 echo $ECHO_N "(cached) $ECHO_C" >&6
41101 cat >conftest.$ac_ext <<_ACEOF
41104 cat confdefs.h >>conftest.$ac_ext
41105 cat >>conftest.$ac_ext <<_ACEOF
41106 /* end confdefs.h. */
41107 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41108 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41109 #define $ac_func innocuous_$ac_func
41111 /* System header to define __stub macros and hopefully few prototypes,
41112 which can conflict with char $ac_func (); below.
41113 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41114 <limits.h> exists even on freestanding compilers. */
41117 # include <limits.h>
41119 # include <assert.h>
41124 /* Override any GCC internal prototype to avoid an error.
41125 Use char because int might match the return type of a GCC
41126 builtin and then its argument prototype would still apply. */
41131 /* The GNU C library defines this for functions which it implements
41132 to always fail with ENOSYS. Some functions are actually named
41133 something starting with __ and the normal name is an alias. */
41134 #if defined __stub_$ac_func || defined __stub___$ac_func
41141 return $ac_func ();
41146 rm -f conftest.$ac_objext conftest$ac_exeext
41147 if { (ac_try="$ac_link"
41148 case "(($ac_try" in
41149 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
41150 *) ac_try_echo
=$ac_try;;
41152 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41153 (eval "$ac_link") 2>conftest.er1
41155 grep -v '^ *+' conftest.er1
>conftest.err
41157 cat conftest.err
>&5
41158 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41159 (exit $ac_status); } && {
41160 test -z "$ac_c_werror_flag" ||
41161 test ! -s conftest.err
41162 } && test -s conftest
$ac_exeext &&
41163 $as_test_x conftest
$ac_exeext; then
41164 eval "$as_ac_var=yes"
41166 echo "$as_me: failed program was:" >&5
41167 sed 's/^/| /' conftest.
$ac_ext >&5
41169 eval "$as_ac_var=no"
41172 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
41173 conftest
$ac_exeext conftest.
$ac_ext
41175 ac_res
=`eval echo '${'$as_ac_var'}'`
41176 { echo "$as_me:$LINENO: result: $ac_res" >&5
41177 echo "${ECHO_T}$ac_res" >&6; }
41178 if test `eval echo '${'$as_ac_var'}'` = yes; then
41179 cat >>confdefs.h
<<_ACEOF
41180 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41183 cat >>confdefs.h
<<\_ACEOF
41184 #define HAVE_SHL_LOAD 1
41191 { echo "$as_me:$LINENO: checking for dld in -lshl_load" >&5
41192 echo $ECHO_N "checking for dld in -lshl_load... $ECHO_C" >&6; }
41193 if test "${ac_cv_lib_shl_load_dld+set}" = set; then
41194 echo $ECHO_N "(cached) $ECHO_C" >&6
41196 ac_check_lib_save_LIBS
=$LIBS
41197 LIBS
="-lshl_load $LIBS"
41198 cat >conftest.
$ac_ext <<_ACEOF
41201 cat confdefs.h
>>conftest.
$ac_ext
41202 cat >>conftest.
$ac_ext <<_ACEOF
41203 /* end confdefs.h. */
41205 /* Override any GCC internal prototype to avoid an error.
41206 Use char because int might match the return type of a GCC
41207 builtin and then its argument prototype would still apply. */
41220 rm -f conftest.
$ac_objext conftest
$ac_exeext
41221 if { (ac_try
="$ac_link"
41222 case "(($ac_try" in
41223 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
41224 *) ac_try_echo=$ac_try;;
41226 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41227 (eval "$ac_link") 2>conftest.er1
41229 grep -v '^ *+' conftest.er1 >conftest.err
41231 cat conftest.err >&5
41232 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41233 (exit $ac_status); } && {
41234 test -z "$ac_c_werror_flag" ||
41235 test ! -s conftest.err
41236 } && test -s conftest$ac_exeext &&
41237 $as_test_x conftest$ac_exeext; then
41238 ac_cv_lib_shl_load_dld=yes
41240 echo "$as_me: failed program was:" >&5
41241 sed 's/^/| /' conftest.$ac_ext >&5
41243 ac_cv_lib_shl_load_dld=no
41246 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41247 conftest$ac_exeext conftest.$ac_ext
41248 LIBS=$ac_check_lib_save_LIBS
41250 { echo "$as_me:$LINENO: result: $ac_cv_lib_shl_load_dld" >&5
41251 echo "${ECHO_T}$ac_cv_lib_shl_load_dld" >&6; }
41252 if test $ac_cv_lib_shl_load_dld = yes; then
41255 DL_LINK=" -ldld$DL_LINK"
41271 if test "$HAVE_DL_FUNCS" = 1; then
41273 for ac_func in dlerror
41275 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41276 { echo "$as_me:$LINENO: checking for $ac_func" >&5
41277 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
41278 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
41279 echo $ECHO_N "(cached) $ECHO_C" >&6
41281 cat >conftest.$ac_ext <<_ACEOF
41284 cat confdefs.h >>conftest.$ac_ext
41285 cat >>conftest.$ac_ext <<_ACEOF
41286 /* end confdefs.h. */
41287 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41288 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41289 #define $ac_func innocuous_$ac_func
41291 /* System header to define __stub macros and hopefully few prototypes,
41292 which can conflict with char $ac_func (); below.
41293 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41294 <limits.h> exists even on freestanding compilers. */
41297 # include <limits.h>
41299 # include <assert.h>
41304 /* Override any GCC internal prototype to avoid an error.
41305 Use char because int might match the return type of a GCC
41306 builtin and then its argument prototype would still apply. */
41311 /* The GNU C library defines this for functions which it implements
41312 to always fail with ENOSYS. Some functions are actually named
41313 something starting with __ and the normal name is an alias. */
41314 #if defined __stub_$ac_func || defined __stub___$ac_func
41321 return $ac_func ();
41326 rm -f conftest.$ac_objext conftest$ac_exeext
41327 if { (ac_try="$ac_link"
41328 case "(($ac_try" in
41329 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
41330 *) ac_try_echo
=$ac_try;;
41332 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41333 (eval "$ac_link") 2>conftest.er1
41335 grep -v '^ *+' conftest.er1
>conftest.err
41337 cat conftest.err
>&5
41338 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41339 (exit $ac_status); } && {
41340 test -z "$ac_c_werror_flag" ||
41341 test ! -s conftest.err
41342 } && test -s conftest
$ac_exeext &&
41343 $as_test_x conftest
$ac_exeext; then
41344 eval "$as_ac_var=yes"
41346 echo "$as_me: failed program was:" >&5
41347 sed 's/^/| /' conftest.
$ac_ext >&5
41349 eval "$as_ac_var=no"
41352 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
41353 conftest
$ac_exeext conftest.
$ac_ext
41355 ac_res
=`eval echo '${'$as_ac_var'}'`
41356 { echo "$as_me:$LINENO: result: $ac_res" >&5
41357 echo "${ECHO_T}$ac_res" >&6; }
41358 if test `eval echo '${'$as_ac_var'}'` = yes; then
41359 cat >>confdefs.h
<<_ACEOF
41360 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41362 cat >>confdefs.h
<<\_ACEOF
41363 #define HAVE_DLERROR 1
41368 { echo "$as_me:$LINENO: checking for dlerror in -ldl" >&5
41369 echo $ECHO_N "checking for dlerror in -ldl... $ECHO_C" >&6; }
41370 if test "${ac_cv_lib_dl_dlerror+set}" = set; then
41371 echo $ECHO_N "(cached) $ECHO_C" >&6
41373 ac_check_lib_save_LIBS
=$LIBS
41375 cat >conftest.
$ac_ext <<_ACEOF
41378 cat confdefs.h
>>conftest.
$ac_ext
41379 cat >>conftest.
$ac_ext <<_ACEOF
41380 /* end confdefs.h. */
41382 /* Override any GCC internal prototype to avoid an error.
41383 Use char because int might match the return type of a GCC
41384 builtin and then its argument prototype would still apply. */
41397 rm -f conftest.
$ac_objext conftest
$ac_exeext
41398 if { (ac_try
="$ac_link"
41399 case "(($ac_try" in
41400 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
41401 *) ac_try_echo=$ac_try;;
41403 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41404 (eval "$ac_link") 2>conftest.er1
41406 grep -v '^ *+' conftest.er1 >conftest.err
41408 cat conftest.err >&5
41409 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41410 (exit $ac_status); } && {
41411 test -z "$ac_c_werror_flag" ||
41412 test ! -s conftest.err
41413 } && test -s conftest$ac_exeext &&
41414 $as_test_x conftest$ac_exeext; then
41415 ac_cv_lib_dl_dlerror=yes
41417 echo "$as_me: failed program was:" >&5
41418 sed 's/^/| /' conftest.$ac_ext >&5
41420 ac_cv_lib_dl_dlerror=no
41423 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41424 conftest$ac_exeext conftest.$ac_ext
41425 LIBS=$ac_check_lib_save_LIBS
41427 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlerror" >&5
41428 echo "${ECHO_T}$ac_cv_lib_dl_dlerror" >&6; }
41429 if test $ac_cv_lib_dl_dlerror = yes; then
41430 cat >>confdefs.h <<\_ACEOF
41431 #define HAVE_DLERROR 1
41444 if test "$HAVE_DL_FUNCS" = 0; then
41445 if test "$HAVE_SHL_FUNCS" = 0; then
41446 if test "$USE_UNIX" = 1 -o "$USE_DOS" = 1; then
41447 { echo "$as_me:$LINENO: WARNING: Missing dynamic loading support, several features will be disabled" >&5
41448 echo "$as_me: WARNING: Missing dynamic loading support, several features will be disabled" >&2;}
41449 wxUSE_DYNAMIC_LOADER=no
41450 wxUSE_DYNLIB_CLASS=no
41452 { echo "$as_me:$LINENO: WARNING: Assuming wxLibrary class works on this platform" >&5
41453 echo "$as_me: WARNING: Assuming wxLibrary class works on this platform" >&2;}
41460 if test "$wxUSE_DYNAMIC_LOADER" = "yes" ; then
41461 cat >>confdefs.h <<\_ACEOF
41462 #define wxUSE_DYNAMIC_LOADER 1
41466 if test "$wxUSE_DYNLIB_CLASS" = "yes" ; then
41467 cat >>confdefs.h <<\_ACEOF
41468 #define wxUSE_DYNLIB_CLASS 1
41475 if test "$wxUSE_PLUGINS" = "yes" ; then
41476 if test "$wxUSE_SHARED" = "no" ; then
41477 { echo "$as_me:$LINENO: WARNING: plugins supported only in shared build, disabling" >&5
41478 echo "$as_me: WARNING: plugins supported only in shared build, disabling" >&2;}
41481 if test "$wxUSE_MONOLITHIC" = "yes" ; then
41482 { echo "$as_me:$LINENO: WARNING: plugins not supported monolithic build, disabling" >&5
41483 echo "$as_me: WARNING: plugins not supported monolithic build, disabling" >&2;}
41486 if test "$wxUSE_DYNLIB_CLASS" = "no" ; then
41487 { echo "$as_me:$LINENO: WARNING: plugins require wxDynamicLibrary, disabling" >&5
41488 echo "$as_me: WARNING: plugins require wxDynamicLibrary, disabling" >&2;}
41491 if test "$wxUSE_PLUGINS" = "yes" ; then
41492 cat >>confdefs.h <<\_ACEOF
41493 #define wxUSE_PLUGINS 1
41500 if test "$wxUSE_STL" = "yes"; then
41501 cat >>confdefs.h <<\_ACEOF
41502 #define wxUSE_STL 1
41507 if test "$wxUSE_EXTENDED_RTTI" = "yes"; then
41508 cat >>confdefs.h <<\_ACEOF
41509 #define wxUSE_EXTENDED_RTTI 1
41514 if test "$wxUSE_APPLE_IEEE" = "yes"; then
41515 cat >>confdefs.h <<\_ACEOF
41516 #define wxUSE_APPLE_IEEE 1
41521 if test "$wxUSE_TIMER" = "yes"; then
41522 cat >>confdefs.h <<\_ACEOF
41523 #define wxUSE_TIMER 1
41528 if test "$USE_UNIX" = "1" ; then
41529 if test "$wxUSE_MGL" != 1; then
41530 { echo "$as_me:$LINENO: checking for SNDCTL_DSP_SPEED in sys/soundcard.h" >&5
41531 echo $ECHO_N "checking for SNDCTL_DSP_SPEED in sys/soundcard.h... $ECHO_C" >&6; }
41532 if test "${ac_cv_header_sys_soundcard+set}" = set; then
41533 echo $ECHO_N "(cached) $ECHO_C" >&6
41536 cat >conftest.$ac_ext <<_ACEOF
41539 cat confdefs.h >>conftest.$ac_ext
41540 cat >>conftest.$ac_ext <<_ACEOF
41541 /* end confdefs.h. */
41543 #include <sys/ioctl.h>
41544 #include <sys/soundcard.h>
41550 ioctl(0, SNDCTL_DSP_SPEED, 0);
41556 rm -f conftest.$ac_objext conftest$ac_exeext
41557 if { (ac_try="$ac_link"
41558 case "(($ac_try" in
41559 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
41560 *) ac_try_echo
=$ac_try;;
41562 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41563 (eval "$ac_link") 2>conftest.er1
41565 grep -v '^ *+' conftest.er1
>conftest.err
41567 cat conftest.err
>&5
41568 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41569 (exit $ac_status); } && {
41570 test -z "$ac_c_werror_flag" ||
41571 test ! -s conftest.err
41572 } && test -s conftest
$ac_exeext &&
41573 $as_test_x conftest
$ac_exeext; then
41574 ac_cv_header_sys_soundcard
=yes
41576 echo "$as_me: failed program was:" >&5
41577 sed 's/^/| /' conftest.
$ac_ext >&5
41581 LIBS
="$saveLibs -lossaudio"
41582 cat >conftest.
$ac_ext <<_ACEOF
41585 cat confdefs.h
>>conftest.
$ac_ext
41586 cat >>conftest.
$ac_ext <<_ACEOF
41587 /* end confdefs.h. */
41589 #include <sys/ioctl.h>
41590 #include <sys/soundcard.h>
41596 ioctl(0, SNDCTL_DSP_SPEED, 0);
41602 rm -f conftest.
$ac_objext conftest
$ac_exeext
41603 if { (ac_try
="$ac_link"
41604 case "(($ac_try" in
41605 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
41606 *) ac_try_echo=$ac_try;;
41608 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41609 (eval "$ac_link") 2>conftest.er1
41611 grep -v '^ *+' conftest.er1 >conftest.err
41613 cat conftest.err >&5
41614 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41615 (exit $ac_status); } && {
41616 test -z "$ac_c_werror_flag" ||
41617 test ! -s conftest.err
41618 } && test -s conftest$ac_exeext &&
41619 $as_test_x conftest$ac_exeext; then
41620 ac_cv_header_sys_soundcard=yes
41622 echo "$as_me: failed program was:" >&5
41623 sed 's/^/| /' conftest.$ac_ext >&5
41627 ac_cv_header_sys_soundcard=no
41632 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41633 conftest$ac_exeext conftest.$ac_ext
41638 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41639 conftest$ac_exeext conftest.$ac_ext
41642 { echo "$as_me:$LINENO: result: $ac_cv_header_sys_soundcard" >&5
41643 echo "${ECHO_T}$ac_cv_header_sys_soundcard" >&6; }
41646 if test "$ac_cv_header_sys_soundcard" = "yes"; then
41647 cat >>confdefs.h <<\_ACEOF
41648 #define HAVE_SYS_SOUNDCARD_H 1
41655 if test "$wxUSE_SOUND" = "yes"; then
41656 if test "$USE_UNIX" = "1" ; then
41657 if test "$wxUSE_LIBSDL" != "no"; then
41659 # Check whether --with-sdl-prefix was given.
41660 if test "${with_sdl_prefix+set}" = set; then
41661 withval=$with_sdl_prefix; sdl_prefix="$withval"
41667 # Check whether --with-sdl-exec-prefix was given.
41668 if test "${with_sdl_exec_prefix+set}" = set; then
41669 withval=$with_sdl_exec_prefix; sdl_exec_prefix="$withval"
41674 # Check whether --enable-sdltest was given.
41675 if test "${enable_sdltest+set}" = set; then
41676 enableval=$enable_sdltest;
41682 if test x$sdl_exec_prefix != x ; then
41683 sdl_args="$sdl_args --exec-prefix=$sdl_exec_prefix"
41684 if test x${SDL_CONFIG+set} != xset ; then
41685 SDL_CONFIG=$sdl_exec_prefix/bin/sdl-config
41688 if test x$sdl_prefix != x ; then
41689 sdl_args="$sdl_args --prefix=$sdl_prefix"
41690 if test x${SDL_CONFIG+set} != xset ; then
41691 SDL_CONFIG=$sdl_prefix/bin/sdl-config
41695 if test "x$prefix" != xNONE; then
41696 PATH="$prefix/bin:$prefix/usr/bin:$PATH"
41698 # Extract the first word of "sdl-config", so it can be a program name with args.
41699 set dummy sdl-config; ac_word=$2
41700 { echo "$as_me:$LINENO: checking for $ac_word" >&5
41701 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
41702 if test "${ac_cv_path_SDL_CONFIG+set}" = set; then
41703 echo $ECHO_N "(cached) $ECHO_C" >&6
41705 case $SDL_CONFIG in
41707 ac_cv_path_SDL_CONFIG="$SDL_CONFIG" # Let the user override the test with a path.
41710 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
41711 for as_dir in $PATH
41714 test -z "$as_dir" && as_dir=.
41715 for ac_exec_ext in '' $ac_executable_extensions; do
41716 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
41717 ac_cv_path_SDL_CONFIG="$as_dir/$ac_word$ac_exec_ext"
41718 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
41725 test -z "$ac_cv_path_SDL_CONFIG" && ac_cv_path_SDL_CONFIG="no"
41729 SDL_CONFIG=$ac_cv_path_SDL_CONFIG
41730 if test -n "$SDL_CONFIG"; then
41731 { echo "$as_me:$LINENO: result: $SDL_CONFIG" >&5
41732 echo "${ECHO_T}$SDL_CONFIG" >&6; }
41734 { echo "$as_me:$LINENO: result: no" >&5
41735 echo "${ECHO_T}no" >&6; }
41739 min_sdl_version=1.2.0
41740 { echo "$as_me:$LINENO: checking for SDL - version >= $min_sdl_version" >&5
41741 echo $ECHO_N "checking for SDL - version >= $min_sdl_version... $ECHO_C" >&6; }
41743 if test "$SDL_CONFIG" = "no" ; then
41746 SDL_CFLAGS=`$SDL_CONFIG $sdlconf_args --cflags`
41747 SDL_LIBS=`$SDL_CONFIG $sdlconf_args --libs`
41749 sdl_major_version=`$SDL_CONFIG $sdl_args --version | \
41750 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
41751 sdl_minor_version=`$SDL_CONFIG $sdl_args --version | \
41752 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
41753 sdl_micro_version=`$SDL_CONFIG $sdl_config_args --version | \
41754 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
41755 if test "x$enable_sdltest" = "xyes" ; then
41756 ac_save_CFLAGS="$CFLAGS"
41757 ac_save_CXXFLAGS="$CXXFLAGS"
41758 ac_save_LIBS="$LIBS"
41759 CFLAGS="$CFLAGS $SDL_CFLAGS"
41760 CXXFLAGS="$CXXFLAGS $SDL_CFLAGS"
41761 LIBS="$LIBS $SDL_LIBS"
41763 if test "$cross_compiling" = yes; then
41764 echo $ac_n "cross compiling; assumed OK... $ac_c"
41766 cat >conftest.$ac_ext <<_ACEOF
41769 cat confdefs.h >>conftest.$ac_ext
41770 cat >>conftest.$ac_ext <<_ACEOF
41771 /* end confdefs.h. */
41774 #include <stdlib.h>
41775 #include <string.h>
41779 my_strdup (char *str)
41785 new_str = (char *)malloc ((strlen (str) + 1) * sizeof(char));
41786 strcpy (new_str, str);
41794 int main (int argc, char *argv[])
41796 int major, minor, micro;
41799 /* This hangs on some systems (?)
41800 system ("touch conf.sdltest");
41802 { FILE *fp = fopen("conf.sdltest", "a"); if ( fp ) fclose(fp); }
41804 /* HP/UX 9 (%@#!) writes to sscanf strings */
41805 tmp_version = my_strdup("$min_sdl_version");
41806 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
41807 printf("%s, bad version string\n", "$min_sdl_version");
41811 if (($sdl_major_version > major) ||
41812 (($sdl_major_version == major) && ($sdl_minor_version > minor)) ||
41813 (($sdl_major_version == major) && ($sdl_minor_version == minor) && ($sdl_micro_version >= micro)))
41819 printf("\n*** 'sdl-config --version' returned %d.%d.%d, but the minimum version\n", $sdl_major_version, $sdl_minor_version, $sdl_micro_version);
41820 printf("*** of SDL required is %d.%d.%d. If sdl-config is correct, then it is\n", major, minor, micro);
41821 printf("*** best to upgrade to the required version.\n");
41822 printf("*** If sdl-config was wrong, set the environment variable SDL_CONFIG\n");
41823 printf("*** to point to the correct copy of sdl-config, and remove the file\n");
41824 printf("*** config.cache before re-running configure\n");
41831 rm -f conftest$ac_exeext
41832 if { (ac_try="$ac_link"
41833 case "(($ac_try" in
41834 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
41835 *) ac_try_echo
=$ac_try;;
41837 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41838 (eval "$ac_link") 2>&5
41840 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41841 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
41842 { (case "(($ac_try" in
41843 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
41844 *) ac_try_echo=$ac_try;;
41846 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41847 (eval "$ac_try") 2>&5
41849 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41850 (exit $ac_status); }; }; then
41853 echo "$as_me: program exited with status $ac_status" >&5
41854 echo "$as_me: failed program was:" >&5
41855 sed 's/^/| /' conftest.$ac_ext >&5
41857 ( exit $ac_status )
41860 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
41864 CFLAGS="$ac_save_CFLAGS"
41865 CXXFLAGS="$ac_save_CXXFLAGS"
41866 LIBS="$ac_save_LIBS"
41869 if test "x$no_sdl" = x ; then
41870 { echo "$as_me:$LINENO: result: yes" >&5
41871 echo "${ECHO_T}yes" >&6; }
41873 EXTRALIBS_SDL="$SDL_LIBS"
41874 CFLAGS="$SDL_CFLAGS $CFLAGS"
41875 CXXFLAGS="$SDL_CFLAGS $CXXFLAGS"
41876 cat >>confdefs.h <<\_ACEOF
41877 #define wxUSE_LIBSDL 1
41882 { echo "$as_me:$LINENO: result: no" >&5
41883 echo "${ECHO_T}no" >&6; }
41884 if test "$SDL_CONFIG" = "no" ; then
41885 echo "*** The sdl-config script installed by SDL could not be found"
41886 echo "*** If SDL was installed in PREFIX, make sure PREFIX/bin is in"
41887 echo "*** your path, or set the SDL_CONFIG environment variable to the"
41888 echo "*** full path to sdl-config."
41890 if test -f conf.sdltest ; then
41893 echo "*** Could not run SDL test program, checking why..."
41894 CFLAGS="$CFLAGS $SDL_CFLAGS"
41895 CXXFLAGS="$CXXFLAGS $SDL_CFLAGS"
41896 LIBS="$LIBS $SDL_LIBS"
41897 cat >conftest.$ac_ext <<_ACEOF
41900 cat confdefs.h >>conftest.$ac_ext
41901 cat >>conftest.$ac_ext <<_ACEOF
41902 /* end confdefs.h. */
41907 int main(int argc, char *argv[])
41910 #define main K_and_R_C_main
41920 rm -f conftest.$ac_objext conftest$ac_exeext
41921 if { (ac_try="$ac_link"
41922 case "(($ac_try" in
41923 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
41924 *) ac_try_echo
=$ac_try;;
41926 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41927 (eval "$ac_link") 2>conftest.er1
41929 grep -v '^ *+' conftest.er1
>conftest.err
41931 cat conftest.err
>&5
41932 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41933 (exit $ac_status); } && {
41934 test -z "$ac_c_werror_flag" ||
41935 test ! -s conftest.err
41936 } && test -s conftest
$ac_exeext &&
41937 $as_test_x conftest
$ac_exeext; then
41938 echo "*** The test program compiled, but did not run. This usually means"
41939 echo "*** that the run-time linker is not finding SDL or finding the wrong"
41940 echo "*** version of SDL. If it is not finding SDL, you'll need to set your"
41941 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
41942 echo "*** to the installed location Also, make sure you have run ldconfig if that"
41943 echo "*** is required on your system"
41945 echo "*** If you have an old version installed, it is best to remove it, although"
41946 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
41948 echo "$as_me: failed program was:" >&5
41949 sed 's/^/| /' conftest.
$ac_ext >&5
41951 echo "*** The test program failed to compile or link. See the file config.log for the"
41952 echo "*** exact error that occured. This usually means SDL was incorrectly installed"
41953 echo "*** or that you have moved SDL since it was installed. In the latter case, you"
41954 echo "*** may want to edit the sdl-config script: $SDL_CONFIG"
41957 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
41958 conftest
$ac_exeext conftest.
$ac_ext
41959 CFLAGS
="$ac_save_CFLAGS"
41960 CXXFLAGS
="$ac_save_CXXFLAGS"
41961 LIBS
="$ac_save_LIBS"
41972 if test "$wxUSE_LIBSDL" = "yes" -a "$wxUSE_PLUGINS" = "yes" ; then
41977 if test "$wxUSE_MGL" = 1; then
41978 { echo "$as_me:$LINENO: WARNING: wxSound not supported in MGL under DOS... disabled" >&5
41979 echo "$as_me: WARNING: wxSound not supported in MGL under DOS... disabled" >&2;}
41985 if test "$wxUSE_SOUND" = "yes"; then
41986 cat >>confdefs.h
<<\_ACEOF
41987 #define wxUSE_SOUND 1
41990 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS sound"
41993 if test "$WXGTK20" = 1; then
41996 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
41997 if test -n "$ac_tool_prefix"; then
41998 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
41999 set dummy
${ac_tool_prefix}pkg
-config; ac_word
=$2
42000 { echo "$as_me:$LINENO: checking for $ac_word" >&5
42001 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
42002 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
42003 echo $ECHO_N "(cached) $ECHO_C" >&6
42005 case $PKG_CONFIG in
42007 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
42010 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
42011 for as_dir
in $PATH
42014 test -z "$as_dir" && as_dir
=.
42015 for ac_exec_ext
in '' $ac_executable_extensions; do
42016 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
42017 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
42018 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
42028 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
42029 if test -n "$PKG_CONFIG"; then
42030 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
42031 echo "${ECHO_T}$PKG_CONFIG" >&6; }
42033 { echo "$as_me:$LINENO: result: no" >&5
42034 echo "${ECHO_T}no" >&6; }
42039 if test -z "$ac_cv_path_PKG_CONFIG"; then
42040 ac_pt_PKG_CONFIG
=$PKG_CONFIG
42041 # Extract the first word of "pkg-config", so it can be a program name with args.
42042 set dummy pkg
-config; ac_word
=$2
42043 { echo "$as_me:$LINENO: checking for $ac_word" >&5
42044 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
42045 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
42046 echo $ECHO_N "(cached) $ECHO_C" >&6
42048 case $ac_pt_PKG_CONFIG in
42050 ac_cv_path_ac_pt_PKG_CONFIG
="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
42053 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
42054 for as_dir
in $PATH
42057 test -z "$as_dir" && as_dir
=.
42058 for ac_exec_ext
in '' $ac_executable_extensions; do
42059 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
42060 ac_cv_path_ac_pt_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
42061 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
42071 ac_pt_PKG_CONFIG
=$ac_cv_path_ac_pt_PKG_CONFIG
42072 if test -n "$ac_pt_PKG_CONFIG"; then
42073 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
42074 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
42076 { echo "$as_me:$LINENO: result: no" >&5
42077 echo "${ECHO_T}no" >&6; }
42080 if test "x$ac_pt_PKG_CONFIG" = x
; then
42083 case $cross_compiling:$ac_tool_warned in
42085 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
42086 whose name does not start with the host triplet. If you think this
42087 configuration is useful to you, please write to autoconf@gnu.org." >&5
42088 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
42089 whose name does not start with the host triplet. If you think this
42090 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
42091 ac_tool_warned
=yes ;;
42093 PKG_CONFIG
=$ac_pt_PKG_CONFIG
42096 PKG_CONFIG
="$ac_cv_path_PKG_CONFIG"
42100 if test -n "$PKG_CONFIG"; then
42101 _pkg_min_version
=0.9.0
42102 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
42103 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
42104 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
42105 { echo "$as_me:$LINENO: result: yes" >&5
42106 echo "${ECHO_T}yes" >&6; }
42108 { echo "$as_me:$LINENO: result: no" >&5
42109 echo "${ECHO_T}no" >&6; }
42115 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
42116 if test "$wxUSE_LIBGNOMEPRINT" = "yes" ; then
42120 { echo "$as_me:$LINENO: checking for LIBGNOMEPRINTUI" >&5
42121 echo $ECHO_N "checking for LIBGNOMEPRINTUI... $ECHO_C" >&6; }
42123 if test -n "$PKG_CONFIG"; then
42124 if test -n "$LIBGNOMEPRINTUI_CFLAGS"; then
42125 pkg_cv_LIBGNOMEPRINTUI_CFLAGS
="$LIBGNOMEPRINTUI_CFLAGS"
42127 if test -n "$PKG_CONFIG" && \
42128 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libgnomeprintui-2.2 >= 2.8\"") >&5
42129 ($PKG_CONFIG --exists --print-errors "libgnomeprintui-2.2 >= 2.8") 2>&5
42131 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42132 (exit $ac_status); }; then
42133 pkg_cv_LIBGNOMEPRINTUI_CFLAGS
=`$PKG_CONFIG --cflags "libgnomeprintui-2.2 >= 2.8" 2>/dev/null`
42141 if test -n "$PKG_CONFIG"; then
42142 if test -n "$LIBGNOMEPRINTUI_LIBS"; then
42143 pkg_cv_LIBGNOMEPRINTUI_LIBS
="$LIBGNOMEPRINTUI_LIBS"
42145 if test -n "$PKG_CONFIG" && \
42146 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libgnomeprintui-2.2 >= 2.8\"") >&5
42147 ($PKG_CONFIG --exists --print-errors "libgnomeprintui-2.2 >= 2.8") 2>&5
42149 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42150 (exit $ac_status); }; then
42151 pkg_cv_LIBGNOMEPRINTUI_LIBS
=`$PKG_CONFIG --libs "libgnomeprintui-2.2 >= 2.8" 2>/dev/null`
42162 if test $pkg_failed = yes; then
42164 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
42165 _pkg_short_errors_supported
=yes
42167 _pkg_short_errors_supported
=no
42169 if test $_pkg_short_errors_supported = yes; then
42170 LIBGNOMEPRINTUI_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libgnomeprintui-2.2 >= 2.8"`
42172 LIBGNOMEPRINTUI_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "libgnomeprintui-2.2 >= 2.8"`
42174 # Put the nasty error message in config.log where it belongs
42175 echo "$LIBGNOMEPRINTUI_PKG_ERRORS" >&5
42178 { echo "$as_me:$LINENO: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&5
42179 echo "$as_me: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&2;}
42180 wxUSE_LIBGNOMEPRINT
="no"
42183 elif test $pkg_failed = untried
; then
42185 { echo "$as_me:$LINENO: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&5
42186 echo "$as_me: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&2;}
42187 wxUSE_LIBGNOMEPRINT
="no"
42191 LIBGNOMEPRINTUI_CFLAGS
=$pkg_cv_LIBGNOMEPRINTUI_CFLAGS
42192 LIBGNOMEPRINTUI_LIBS
=$pkg_cv_LIBGNOMEPRINTUI_LIBS
42193 { echo "$as_me:$LINENO: result: yes" >&5
42194 echo "${ECHO_T}yes" >&6; }
42196 CFLAGS
="$LIBGNOMEPRINTUI_CFLAGS $CFLAGS"
42197 CXXFLAGS
="$LIBGNOMEPRINTUI_CFLAGS $CXXFLAGS"
42198 cat >>confdefs.h
<<\_ACEOF
42199 #define wxUSE_LIBGNOMEPRINT 1
42207 if test "$wxUSE_MIMETYPE" = "yes" ; then
42208 if test "$wxUSE_LIBGNOMEVFS" = "yes" ; then
42212 { echo "$as_me:$LINENO: checking for GNOMEVFS" >&5
42213 echo $ECHO_N "checking for GNOMEVFS... $ECHO_C" >&6; }
42215 if test -n "$PKG_CONFIG"; then
42216 if test -n "$GNOMEVFS_CFLAGS"; then
42217 pkg_cv_GNOMEVFS_CFLAGS
="$GNOMEVFS_CFLAGS"
42219 if test -n "$PKG_CONFIG" && \
42220 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gnome-vfs-2.0 >= 2.0\"") >&5
42221 ($PKG_CONFIG --exists --print-errors "gnome-vfs-2.0 >= 2.0") 2>&5
42223 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42224 (exit $ac_status); }; then
42225 pkg_cv_GNOMEVFS_CFLAGS
=`$PKG_CONFIG --cflags "gnome-vfs-2.0 >= 2.0" 2>/dev/null`
42233 if test -n "$PKG_CONFIG"; then
42234 if test -n "$GNOMEVFS_LIBS"; then
42235 pkg_cv_GNOMEVFS_LIBS
="$GNOMEVFS_LIBS"
42237 if test -n "$PKG_CONFIG" && \
42238 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gnome-vfs-2.0 >= 2.0\"") >&5
42239 ($PKG_CONFIG --exists --print-errors "gnome-vfs-2.0 >= 2.0") 2>&5
42241 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42242 (exit $ac_status); }; then
42243 pkg_cv_GNOMEVFS_LIBS
=`$PKG_CONFIG --libs "gnome-vfs-2.0 >= 2.0" 2>/dev/null`
42254 if test $pkg_failed = yes; then
42256 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
42257 _pkg_short_errors_supported
=yes
42259 _pkg_short_errors_supported
=no
42261 if test $_pkg_short_errors_supported = yes; then
42262 GNOMEVFS_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gnome-vfs-2.0 >= 2.0"`
42264 GNOMEVFS_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "gnome-vfs-2.0 >= 2.0"`
42266 # Put the nasty error message in config.log where it belongs
42267 echo "$GNOMEVFS_PKG_ERRORS" >&5
42270 { echo "$as_me:$LINENO: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&5
42271 echo "$as_me: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&2;}
42272 wxUSE_LIBGNOMEVFS
="no"
42275 elif test $pkg_failed = untried
; then
42277 { echo "$as_me:$LINENO: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&5
42278 echo "$as_me: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&2;}
42279 wxUSE_LIBGNOMEVFS
="no"
42283 GNOMEVFS_CFLAGS
=$pkg_cv_GNOMEVFS_CFLAGS
42284 GNOMEVFS_LIBS
=$pkg_cv_GNOMEVFS_LIBS
42285 { echo "$as_me:$LINENO: result: yes" >&5
42286 echo "${ECHO_T}yes" >&6; }
42288 CFLAGS
="$GNOMEVFS_CFLAGS $CFLAGS"
42289 CXXFLAGS
="$GNOMEVFS_CFLAGS $CXXFLAGS"
42290 cat >>confdefs.h
<<\_ACEOF
42291 #define wxUSE_LIBGNOMEVFS 1
42299 if test "$wxUSE_LIBHILDON" = "yes" ; then
42302 { echo "$as_me:$LINENO: checking for HILDON" >&5
42303 echo $ECHO_N "checking for HILDON... $ECHO_C" >&6; }
42305 if test -n "$PKG_CONFIG"; then
42306 if test -n "$HILDON_CFLAGS"; then
42307 pkg_cv_HILDON_CFLAGS
="$HILDON_CFLAGS"
42309 if test -n "$PKG_CONFIG" && \
42310 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-lgpl >= 0.9\"") >&5
42311 ($PKG_CONFIG --exists --print-errors "hildon-lgpl >= 0.9") 2>&5
42313 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42314 (exit $ac_status); }; then
42315 pkg_cv_HILDON_CFLAGS
=`$PKG_CONFIG --cflags "hildon-lgpl >= 0.9" 2>/dev/null`
42323 if test -n "$PKG_CONFIG"; then
42324 if test -n "$HILDON_LIBS"; then
42325 pkg_cv_HILDON_LIBS
="$HILDON_LIBS"
42327 if test -n "$PKG_CONFIG" && \
42328 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-lgpl >= 0.9\"") >&5
42329 ($PKG_CONFIG --exists --print-errors "hildon-lgpl >= 0.9") 2>&5
42331 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42332 (exit $ac_status); }; then
42333 pkg_cv_HILDON_LIBS
=`$PKG_CONFIG --libs "hildon-lgpl >= 0.9" 2>/dev/null`
42344 if test $pkg_failed = yes; then
42346 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
42347 _pkg_short_errors_supported
=yes
42349 _pkg_short_errors_supported
=no
42351 if test $_pkg_short_errors_supported = yes; then
42352 HILDON_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "hildon-lgpl >= 0.9"`
42354 HILDON_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "hildon-lgpl >= 0.9"`
42356 # Put the nasty error message in config.log where it belongs
42357 echo "$HILDON_PKG_ERRORS" >&5
42360 { echo "$as_me:$LINENO: WARNING: libhildon_lgpl not found" >&5
42361 echo "$as_me: WARNING: libhildon_lgpl not found" >&2;}
42362 wxUSE_LIBHILDON
="no"
42365 elif test $pkg_failed = untried
; then
42367 { echo "$as_me:$LINENO: WARNING: libhildon_lgpl not found" >&5
42368 echo "$as_me: WARNING: libhildon_lgpl not found" >&2;}
42369 wxUSE_LIBHILDON
="no"
42373 HILDON_CFLAGS
=$pkg_cv_HILDON_CFLAGS
42374 HILDON_LIBS
=$pkg_cv_HILDON_LIBS
42375 { echo "$as_me:$LINENO: result: yes" >&5
42376 echo "${ECHO_T}yes" >&6; }
42378 EXTRALIBS_HILDON
="$HILDON_LIBS"
42379 CFLAGS
="$CFLAGS $HILDON_CFLAGS"
42380 CXXFLAGS
="$CXXFLAGS $HILDON_CFLAGS"
42381 cat >>confdefs.h
<<\_ACEOF
42382 #define wxUSE_LIBHILDON 1
42390 if test "$wxUSE_CMDLINE_PARSER" = "yes"; then
42391 cat >>confdefs.h
<<\_ACEOF
42392 #define wxUSE_CMDLINE_PARSER 1
42397 if test "$wxUSE_STOPWATCH" = "yes"; then
42398 cat >>confdefs.h
<<\_ACEOF
42399 #define wxUSE_STOPWATCH 1
42404 if test "$wxUSE_DATETIME" = "yes"; then
42405 cat >>confdefs.h
<<\_ACEOF
42406 #define wxUSE_DATETIME 1
42411 if test "$wxUSE_FILE" = "yes"; then
42412 cat >>confdefs.h
<<\_ACEOF
42413 #define wxUSE_FILE 1
42418 if test "$wxUSE_FFILE" = "yes"; then
42419 cat >>confdefs.h
<<\_ACEOF
42420 #define wxUSE_FFILE 1
42425 if test "$wxUSE_ARCHIVE_STREAMS" = "yes"; then
42426 if test "$wxUSE_STREAMS" != yes; then
42427 { echo "$as_me:$LINENO: WARNING: wxArchive requires wxStreams... disabled" >&5
42428 echo "$as_me: WARNING: wxArchive requires wxStreams... disabled" >&2;}
42429 wxUSE_ARCHIVE_STREAMS
=no
42431 cat >>confdefs.h
<<\_ACEOF
42432 #define wxUSE_ARCHIVE_STREAMS 1
42438 if test "$wxUSE_ZIPSTREAM" = "yes"; then
42439 if test "$wxUSE_ARCHIVE_STREAMS" != "yes"; then
42440 { echo "$as_me:$LINENO: WARNING: wxZip requires wxArchive... disabled" >&5
42441 echo "$as_me: WARNING: wxZip requires wxArchive... disabled" >&2;}
42442 elif test "$wxUSE_ZLIB" = "no"; then
42443 { echo "$as_me:$LINENO: WARNING: wxZip requires wxZlib... disabled" >&5
42444 echo "$as_me: WARNING: wxZip requires wxZlib... disabled" >&2;}
42446 cat >>confdefs.h
<<\_ACEOF
42447 #define wxUSE_ZIPSTREAM 1
42453 if test "$wxUSE_TARSTREAM" = "yes"; then
42454 if test "$wxUSE_ARCHIVE_STREAMS" != "yes"; then
42455 { echo "$as_me:$LINENO: WARNING: wxTar requires wxArchive... disabled" >&5
42456 echo "$as_me: WARNING: wxTar requires wxArchive... disabled" >&2;}
42458 cat >>confdefs.h
<<\_ACEOF
42459 #define wxUSE_TARSTREAM 1
42465 if test "$wxUSE_FILESYSTEM" = "yes"; then
42466 if test "$wxUSE_STREAMS" != yes -o \
( "$wxUSE_FILE" != yes -a "$wxUSE_FFILE" != yes \
); then
42467 { echo "$as_me:$LINENO: WARNING: wxFileSystem requires wxStreams and wxFile or wxFFile... disabled" >&5
42468 echo "$as_me: WARNING: wxFileSystem requires wxStreams and wxFile or wxFFile... disabled" >&2;}
42469 wxUSE_FILESYSTEM
=no
42471 cat >>confdefs.h
<<\_ACEOF
42472 #define wxUSE_FILESYSTEM 1
42478 if test "$wxUSE_FS_ARCHIVE" = "yes"; then
42479 if test "$wxUSE_FILESYSTEM" != yes -o "$wxUSE_ARCHIVE_STREAMS" != yes; then
42480 { echo "$as_me:$LINENO: WARNING: wxArchiveFSHandler requires wxArchive and wxFileSystem... disabled" >&5
42481 echo "$as_me: WARNING: wxArchiveFSHandler requires wxArchive and wxFileSystem... disabled" >&2;}
42483 cat >>confdefs.h
<<\_ACEOF
42484 #define wxUSE_FS_ARCHIVE 1
42490 if test "$wxUSE_FS_ZIP" = "yes"; then
42491 if test "$wxUSE_FS_ARCHIVE" != yes; then
42492 { echo "$as_me:$LINENO: WARNING: wxZipFSHandler requires wxArchiveFSHandler... disabled" >&5
42493 echo "$as_me: WARNING: wxZipFSHandler requires wxArchiveFSHandler... disabled" >&2;}
42495 cat >>confdefs.h
<<\_ACEOF
42496 #define wxUSE_FS_ZIP 1
42502 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
42503 if test "$USE_UNIX" != 1; then
42504 { echo "$as_me:$LINENO: WARNING: Catching fatal exceptions not currently supported on this system, wxApp::OnFatalException will not be called" >&5
42505 echo "$as_me: WARNING: Catching fatal exceptions not currently supported on this system, wxApp::OnFatalException will not be called" >&2;}
42506 wxUSE_ON_FATAL_EXCEPTION
=no
42508 cat >>confdefs.h
<<\_ACEOF
42509 #define wxUSE_ON_FATAL_EXCEPTION 1
42515 if test "$wxUSE_STACKWALKER" = "yes"; then
42516 cat >>confdefs.h
<<\_ACEOF
42517 #define wxUSE_STACKWALKER 1
42522 if test "$wxUSE_DEBUGREPORT" = "yes"; then
42523 if test "$USE_UNIX" != "1" -a "$USE_WIN32" != "1"; then
42524 { echo "$as_me:$LINENO: WARNING: Creating debug reports not currently supported on this system, disabled" >&5
42525 echo "$as_me: WARNING: Creating debug reports not currently supported on this system, disabled" >&2;}
42526 wxUSE_DEBUGREPORT
=no
42528 cat >>confdefs.h
<<\_ACEOF
42529 #define wxUSE_DEBUGREPORT 1
42532 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
42533 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS debugrpt"
42538 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
42539 cat >>confdefs.h
<<\_ACEOF
42540 #define wxUSE_SNGLINST_CHECKER 1
42545 if test "$wxUSE_BUSYINFO" = "yes"; then
42546 cat >>confdefs.h
<<\_ACEOF
42547 #define wxUSE_BUSYINFO 1
42552 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
42553 cat >>confdefs.h
<<\_ACEOF
42554 #define wxUSE_STD_IOSTREAM 1
42559 if test "$wxUSE_STD_STRING" = "yes"; then
42560 cat >>confdefs.h
<<\_ACEOF
42561 #define wxUSE_STD_STRING 1
42566 if test "$wxUSE_STDPATHS" = "yes"; then
42567 cat >>confdefs.h
<<\_ACEOF
42568 #define wxUSE_STDPATHS 1
42573 if test "$wxUSE_TEXTBUFFER" = "yes"; then
42574 cat >>confdefs.h
<<\_ACEOF
42575 #define wxUSE_TEXTBUFFER 1
42580 if test "$wxUSE_TEXTFILE" = "yes"; then
42581 if test "$wxUSE_FILE" != "yes" -o "$wxUSE_TEXTBUFFER" != "yes" ; then
42582 { echo "$as_me:$LINENO: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&5
42583 echo "$as_me: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&2;}
42585 cat >>confdefs.h
<<\_ACEOF
42586 #define wxUSE_TEXTFILE 1
42592 if test "$wxUSE_CONFIG" = "yes" ; then
42593 if test "$wxUSE_TEXTFILE" != "yes"; then
42594 { echo "$as_me:$LINENO: WARNING: wxConfig requires wxTextFile... disabled" >&5
42595 echo "$as_me: WARNING: wxConfig requires wxTextFile... disabled" >&2;}
42597 cat >>confdefs.h
<<\_ACEOF
42598 #define wxUSE_CONFIG 1
42601 cat >>confdefs.h
<<\_ACEOF
42602 #define wxUSE_CONFIG_NATIVE 1
42605 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS config"
42609 if test "$wxUSE_INTL" = "yes" ; then
42610 if test "$wxUSE_FILE" != "yes"; then
42611 { echo "$as_me:$LINENO: WARNING: I18n code requires wxFile... disabled" >&5
42612 echo "$as_me: WARNING: I18n code requires wxFile... disabled" >&2;}
42614 cat >>confdefs.h
<<\_ACEOF
42615 #define wxUSE_INTL 1
42618 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS internat"
42619 GUIDIST
="$GUIDIST INTL_DIST"
42623 if test "$wxUSE_LOG" = "yes"; then
42624 cat >>confdefs.h
<<\_ACEOF
42625 #define wxUSE_LOG 1
42629 if test "$wxUSE_LOGGUI" = "yes"; then
42630 cat >>confdefs.h
<<\_ACEOF
42631 #define wxUSE_LOGGUI 1
42636 if test "$wxUSE_LOGWINDOW" = "yes"; then
42637 cat >>confdefs.h
<<\_ACEOF
42638 #define wxUSE_LOGWINDOW 1
42643 if test "$wxUSE_LOGDIALOG" = "yes"; then
42644 cat >>confdefs.h
<<\_ACEOF
42645 #define wxUSE_LOG_DIALOG 1
42650 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS keyboard"
42653 if test "$wxUSE_LONGLONG" = "yes"; then
42654 cat >>confdefs.h
<<\_ACEOF
42655 #define wxUSE_LONGLONG 1
42660 if test "$wxUSE_GEOMETRY" = "yes"; then
42661 cat >>confdefs.h
<<\_ACEOF
42662 #define wxUSE_GEOMETRY 1
42667 if test "$wxUSE_STREAMS" = "yes" ; then
42668 cat >>confdefs.h
<<\_ACEOF
42669 #define wxUSE_STREAMS 1
42674 if test "$wxUSE_PRINTF_POS_PARAMS" = "yes"; then
42675 cat >>confdefs.h
<<\_ACEOF
42676 #define wxUSE_PRINTF_POS_PARAMS 1
42681 if test "$wxUSE_OBJC_UNIQUIFYING" = "yes"; then
42682 cat >>confdefs.h
<<\_ACEOF
42683 #define wxUSE_OBJC_UNIQUIFYING 1
42689 if test "$wxUSE_DATETIME" = "yes"; then
42690 { echo "$as_me:$LINENO: checking for strptime" >&5
42691 echo $ECHO_N "checking for strptime... $ECHO_C" >&6; }
42692 if test "${ac_cv_func_strptime+set}" = set; then
42693 echo $ECHO_N "(cached) $ECHO_C" >&6
42695 cat >conftest.
$ac_ext <<_ACEOF
42698 cat confdefs.h
>>conftest.
$ac_ext
42699 cat >>conftest.
$ac_ext <<_ACEOF
42700 /* end confdefs.h. */
42701 /* Define strptime to an innocuous variant, in case <limits.h> declares strptime.
42702 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42703 #define strptime innocuous_strptime
42705 /* System header to define __stub macros and hopefully few prototypes,
42706 which can conflict with char strptime (); below.
42707 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42708 <limits.h> exists even on freestanding compilers. */
42711 # include <limits.h>
42713 # include <assert.h>
42718 /* Override any GCC internal prototype to avoid an error.
42719 Use char because int might match the return type of a GCC
42720 builtin and then its argument prototype would still apply. */
42725 /* The GNU C library defines this for functions which it implements
42726 to always fail with ENOSYS. Some functions are actually named
42727 something starting with __ and the normal name is an alias. */
42728 #if defined __stub_strptime || defined __stub___strptime
42735 return strptime ();
42740 rm -f conftest.
$ac_objext conftest
$ac_exeext
42741 if { (ac_try
="$ac_link"
42742 case "(($ac_try" in
42743 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
42744 *) ac_try_echo=$ac_try;;
42746 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42747 (eval "$ac_link") 2>conftest.er1
42749 grep -v '^ *+' conftest.er1 >conftest.err
42751 cat conftest.err >&5
42752 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42753 (exit $ac_status); } && {
42754 test -z "$ac_c_werror_flag" ||
42755 test ! -s conftest.err
42756 } && test -s conftest$ac_exeext &&
42757 $as_test_x conftest$ac_exeext; then
42758 ac_cv_func_strptime=yes
42760 echo "$as_me: failed program was:" >&5
42761 sed 's/^/| /' conftest.$ac_ext >&5
42763 ac_cv_func_strptime=no
42766 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42767 conftest$ac_exeext conftest.$ac_ext
42769 { echo "$as_me:$LINENO: result: $ac_cv_func_strptime" >&5
42770 echo "${ECHO_T}$ac_cv_func_strptime" >&6; }
42772 if test "$ac_cv_func_strptime" = "yes"; then
42773 { echo "$as_me:$LINENO: checking for strptime declaration" >&5
42774 echo $ECHO_N "checking for strptime declaration... $ECHO_C" >&6; }
42775 if test "${wx_cv_func_strptime_decl+set}" = set; then
42776 echo $ECHO_N "(cached) $ECHO_C" >&6
42780 ac_cpp='$CXXCPP $CPPFLAGS'
42781 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42782 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42783 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42785 cat >conftest.$ac_ext <<_ACEOF
42788 cat confdefs.h >>conftest.$ac_ext
42789 cat >>conftest.$ac_ext <<_ACEOF
42790 /* end confdefs.h. */
42799 strptime("foo", "bar", &t);
42805 rm -f conftest.$ac_objext
42806 if { (ac_try="$ac_compile"
42807 case "(($ac_try" in
42808 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
42809 *) ac_try_echo
=$ac_try;;
42811 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42812 (eval "$ac_compile") 2>conftest.er1
42814 grep -v '^ *+' conftest.er1
>conftest.err
42816 cat conftest.err
>&5
42817 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42818 (exit $ac_status); } && {
42819 test -z "$ac_cxx_werror_flag" ||
42820 test ! -s conftest.err
42821 } && test -s conftest.
$ac_objext; then
42822 wx_cv_func_strptime_decl
=yes
42824 echo "$as_me: failed program was:" >&5
42825 sed 's/^/| /' conftest.
$ac_ext >&5
42827 wx_cv_func_strptime_decl
=no
42831 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
42833 ac_cpp
='$CPP $CPPFLAGS'
42834 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42835 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42836 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
42841 { echo "$as_me:$LINENO: result: $wx_cv_func_strptime_decl" >&5
42842 echo "${ECHO_T}$wx_cv_func_strptime_decl" >&6; }
42844 if test "$wx_cv_func_strptime_decl" = "yes"; then
42845 cat >>confdefs.h
<<\_ACEOF
42846 #define HAVE_STRPTIME_DECL 1
42850 wx_strptime_decl
="extern char *strptime(const char *, const char *, struct tm *);"
42852 if test "$ac_cv_func_strptime" = "yes"; then
42853 { echo "$as_me:$LINENO: checking whether strptime() fails on invalid strings" >&5
42854 echo $ECHO_N "checking whether strptime() fails on invalid strings... $ECHO_C" >&6; }
42855 if test "${wx_cv_func_strptime_ok+set}" = set; then
42856 echo $ECHO_N "(cached) $ECHO_C" >&6
42858 if test "$cross_compiling" = yes; then
42859 wx_cv_func_strptime_ok
=no
42862 cat >conftest.
$ac_ext <<_ACEOF
42864 #include <stdlib.h>
42866 #include "confdefs.h"
42873 return !!strptime("", "%x", &t);
42877 rm -f conftest
$ac_exeext
42878 if { (ac_try
="$ac_link"
42879 case "(($ac_try" in
42880 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
42881 *) ac_try_echo=$ac_try;;
42883 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42884 (eval "$ac_link") 2>&5
42886 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42887 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
42888 { (case "(($ac_try" in
42889 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
42890 *) ac_try_echo
=$ac_try;;
42892 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42893 (eval "$ac_try") 2>&5
42895 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42896 (exit $ac_status); }; }; then
42897 wx_cv_func_strptime_ok
=yes
42899 echo "$as_me: program exited with status $ac_status" >&5
42900 echo "$as_me: failed program was:" >&5
42901 sed 's/^/| /' conftest.
$ac_ext >&5
42903 ( exit $ac_status )
42904 wx_cv_func_strptime_ok
=no
42906 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
42912 { echo "$as_me:$LINENO: result: $wx_cv_func_strptime_ok" >&5
42913 echo "${ECHO_T}$wx_cv_func_strptime_ok" >&6; }
42915 if test "$wx_cv_func_strptime_ok" = "yes"; then
42916 cat >>confdefs.h
<<\_ACEOF
42917 #define HAVE_STRPTIME 1
42923 { echo "$as_me:$LINENO: checking for timezone variable in <time.h>" >&5
42924 echo $ECHO_N "checking for timezone variable in <time.h>... $ECHO_C" >&6; }
42925 if test "${wx_cv_var_timezone+set}" = set; then
42926 echo $ECHO_N "(cached) $ECHO_C" >&6
42930 ac_cpp
='$CXXCPP $CPPFLAGS'
42931 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42932 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42933 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
42935 cat >conftest.
$ac_ext <<_ACEOF
42938 cat confdefs.h
>>conftest.
$ac_ext
42939 cat >>conftest.
$ac_ext <<_ACEOF
42940 /* end confdefs.h. */
42955 rm -f conftest.
$ac_objext
42956 if { (ac_try
="$ac_compile"
42957 case "(($ac_try" in
42958 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
42959 *) ac_try_echo=$ac_try;;
42961 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42962 (eval "$ac_compile") 2>conftest.er1
42964 grep -v '^ *+' conftest.er1 >conftest.err
42966 cat conftest.err >&5
42967 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42968 (exit $ac_status); } && {
42969 test -z "$ac_cxx_werror_flag" ||
42970 test ! -s conftest.err
42971 } && test -s conftest.$ac_objext; then
42973 wx_cv_var_timezone=timezone
42976 echo "$as_me: failed program was:" >&5
42977 sed 's/^/| /' conftest.$ac_ext >&5
42980 cat >conftest.$ac_ext <<_ACEOF
42983 cat confdefs.h >>conftest.$ac_ext
42984 cat >>conftest.$ac_ext <<_ACEOF
42985 /* end confdefs.h. */
43000 rm -f conftest.$ac_objext
43001 if { (ac_try="$ac_compile"
43002 case "(($ac_try" in
43003 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
43004 *) ac_try_echo
=$ac_try;;
43006 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43007 (eval "$ac_compile") 2>conftest.er1
43009 grep -v '^ *+' conftest.er1
>conftest.err
43011 cat conftest.err
>&5
43012 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43013 (exit $ac_status); } && {
43014 test -z "$ac_cxx_werror_flag" ||
43015 test ! -s conftest.err
43016 } && test -s conftest.
$ac_objext; then
43018 wx_cv_var_timezone
=_timezone
43021 echo "$as_me: failed program was:" >&5
43022 sed 's/^/| /' conftest.
$ac_ext >&5
43025 cat >conftest.
$ac_ext <<_ACEOF
43028 cat confdefs.h
>>conftest.
$ac_ext
43029 cat >>conftest.
$ac_ext <<_ACEOF
43030 /* end confdefs.h. */
43045 rm -f conftest.
$ac_objext
43046 if { (ac_try
="$ac_compile"
43047 case "(($ac_try" in
43048 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
43049 *) ac_try_echo=$ac_try;;
43051 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43052 (eval "$ac_compile") 2>conftest.er1
43054 grep -v '^ *+' conftest.er1 >conftest.err
43056 cat conftest.err >&5
43057 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43058 (exit $ac_status); } && {
43059 test -z "$ac_cxx_werror_flag" ||
43060 test ! -s conftest.err
43061 } && test -s conftest.$ac_objext; then
43063 wx_cv_var_timezone=__timezone
43066 echo "$as_me: failed program was:" >&5
43067 sed 's/^/| /' conftest.$ac_ext >&5
43070 if test "$USE_DOS" = 0 ; then
43071 { echo "$as_me:$LINENO: WARNING: no timezone variable" >&5
43072 echo "$as_me: WARNING: no timezone variable" >&2;}
43078 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43083 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43088 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43090 ac_cpp='$CPP $CPPFLAGS'
43091 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43092 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43093 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43098 { echo "$as_me:$LINENO: result: $wx_cv_var_timezone" >&5
43099 echo "${ECHO_T}$wx_cv_var_timezone" >&6; }
43101 if test "x$wx_cv_var_timezone" != x ; then
43102 cat >>confdefs.h <<_ACEOF
43103 #define WX_TIMEZONE $wx_cv_var_timezone
43109 for ac_func in localtime
43111 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43112 { echo "$as_me:$LINENO: checking for $ac_func" >&5
43113 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
43114 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
43115 echo $ECHO_N "(cached) $ECHO_C" >&6
43117 cat >conftest.$ac_ext <<_ACEOF
43120 cat confdefs.h >>conftest.$ac_ext
43121 cat >>conftest.$ac_ext <<_ACEOF
43122 /* end confdefs.h. */
43123 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43124 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43125 #define $ac_func innocuous_$ac_func
43127 /* System header to define __stub macros and hopefully few prototypes,
43128 which can conflict with char $ac_func (); below.
43129 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43130 <limits.h> exists even on freestanding compilers. */
43133 # include <limits.h>
43135 # include <assert.h>
43140 /* Override any GCC internal prototype to avoid an error.
43141 Use char because int might match the return type of a GCC
43142 builtin and then its argument prototype would still apply. */
43147 /* The GNU C library defines this for functions which it implements
43148 to always fail with ENOSYS. Some functions are actually named
43149 something starting with __ and the normal name is an alias. */
43150 #if defined __stub_$ac_func || defined __stub___$ac_func
43157 return $ac_func ();
43162 rm -f conftest.$ac_objext conftest$ac_exeext
43163 if { (ac_try="$ac_link"
43164 case "(($ac_try" in
43165 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
43166 *) ac_try_echo
=$ac_try;;
43168 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43169 (eval "$ac_link") 2>conftest.er1
43171 grep -v '^ *+' conftest.er1
>conftest.err
43173 cat conftest.err
>&5
43174 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43175 (exit $ac_status); } && {
43176 test -z "$ac_c_werror_flag" ||
43177 test ! -s conftest.err
43178 } && test -s conftest
$ac_exeext &&
43179 $as_test_x conftest
$ac_exeext; then
43180 eval "$as_ac_var=yes"
43182 echo "$as_me: failed program was:" >&5
43183 sed 's/^/| /' conftest.
$ac_ext >&5
43185 eval "$as_ac_var=no"
43188 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
43189 conftest
$ac_exeext conftest.
$ac_ext
43191 ac_res
=`eval echo '${'$as_ac_var'}'`
43192 { echo "$as_me:$LINENO: result: $ac_res" >&5
43193 echo "${ECHO_T}$ac_res" >&6; }
43194 if test `eval echo '${'$as_ac_var'}'` = yes; then
43195 cat >>confdefs.h
<<_ACEOF
43196 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43203 if test "$ac_cv_func_localtime" = "yes"; then
43204 { echo "$as_me:$LINENO: checking for tm_gmtoff in struct tm" >&5
43205 echo $ECHO_N "checking for tm_gmtoff in struct tm... $ECHO_C" >&6; }
43206 if test "${wx_cv_struct_tm_has_gmtoff+set}" = set; then
43207 echo $ECHO_N "(cached) $ECHO_C" >&6
43210 cat >conftest.
$ac_ext <<_ACEOF
43213 cat confdefs.h
>>conftest.
$ac_ext
43214 cat >>conftest.
$ac_ext <<_ACEOF
43215 /* end confdefs.h. */
43230 rm -f conftest.
$ac_objext
43231 if { (ac_try
="$ac_compile"
43232 case "(($ac_try" in
43233 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
43234 *) ac_try_echo=$ac_try;;
43236 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43237 (eval "$ac_compile") 2>conftest.er1
43239 grep -v '^ *+' conftest.er1 >conftest.err
43241 cat conftest.err >&5
43242 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43243 (exit $ac_status); } && {
43244 test -z "$ac_c_werror_flag" ||
43245 test ! -s conftest.err
43246 } && test -s conftest.$ac_objext; then
43248 wx_cv_struct_tm_has_gmtoff=yes
43251 echo "$as_me: failed program was:" >&5
43252 sed 's/^/| /' conftest.$ac_ext >&5
43254 wx_cv_struct_tm_has_gmtoff=no
43258 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43261 { echo "$as_me:$LINENO: result: $wx_cv_struct_tm_has_gmtoff" >&5
43262 echo "${ECHO_T}$wx_cv_struct_tm_has_gmtoff" >&6; }
43265 if test "$wx_cv_struct_tm_has_gmtoff" = "yes"; then
43266 cat >>confdefs.h <<\_ACEOF
43267 #define WX_GMTOFF_IN_TM 1
43274 for ac_func in gettimeofday ftime
43276 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43277 { echo "$as_me:$LINENO: checking for $ac_func" >&5
43278 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
43279 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
43280 echo $ECHO_N "(cached) $ECHO_C" >&6
43282 cat >conftest.$ac_ext <<_ACEOF
43285 cat confdefs.h >>conftest.$ac_ext
43286 cat >>conftest.$ac_ext <<_ACEOF
43287 /* end confdefs.h. */
43288 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43289 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43290 #define $ac_func innocuous_$ac_func
43292 /* System header to define __stub macros and hopefully few prototypes,
43293 which can conflict with char $ac_func (); below.
43294 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43295 <limits.h> exists even on freestanding compilers. */
43298 # include <limits.h>
43300 # include <assert.h>
43305 /* Override any GCC internal prototype to avoid an error.
43306 Use char because int might match the return type of a GCC
43307 builtin and then its argument prototype would still apply. */
43312 /* The GNU C library defines this for functions which it implements
43313 to always fail with ENOSYS. Some functions are actually named
43314 something starting with __ and the normal name is an alias. */
43315 #if defined __stub_$ac_func || defined __stub___$ac_func
43322 return $ac_func ();
43327 rm -f conftest.$ac_objext conftest$ac_exeext
43328 if { (ac_try="$ac_link"
43329 case "(($ac_try" in
43330 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
43331 *) ac_try_echo
=$ac_try;;
43333 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43334 (eval "$ac_link") 2>conftest.er1
43336 grep -v '^ *+' conftest.er1
>conftest.err
43338 cat conftest.err
>&5
43339 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43340 (exit $ac_status); } && {
43341 test -z "$ac_c_werror_flag" ||
43342 test ! -s conftest.err
43343 } && test -s conftest
$ac_exeext &&
43344 $as_test_x conftest
$ac_exeext; then
43345 eval "$as_ac_var=yes"
43347 echo "$as_me: failed program was:" >&5
43348 sed 's/^/| /' conftest.
$ac_ext >&5
43350 eval "$as_ac_var=no"
43353 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
43354 conftest
$ac_exeext conftest.
$ac_ext
43356 ac_res
=`eval echo '${'$as_ac_var'}'`
43357 { echo "$as_me:$LINENO: result: $ac_res" >&5
43358 echo "${ECHO_T}$ac_res" >&6; }
43359 if test `eval echo '${'$as_ac_var'}'` = yes; then
43360 cat >>confdefs.h
<<_ACEOF
43361 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43368 if test "$ac_cv_func_gettimeofday" = "yes"; then
43369 { echo "$as_me:$LINENO: checking whether gettimeofday takes two arguments" >&5
43370 echo $ECHO_N "checking whether gettimeofday takes two arguments... $ECHO_C" >&6; }
43371 if test "${wx_cv_func_gettimeofday_has_2_args+set}" = set; then
43372 echo $ECHO_N "(cached) $ECHO_C" >&6
43375 cat >conftest.
$ac_ext <<_ACEOF
43378 cat confdefs.h
>>conftest.
$ac_ext
43379 cat >>conftest.
$ac_ext <<_ACEOF
43380 /* end confdefs.h. */
43382 #include <sys/time.h>
43383 #include <unistd.h>
43390 gettimeofday(&tv, NULL);
43396 rm -f conftest.
$ac_objext
43397 if { (ac_try
="$ac_compile"
43398 case "(($ac_try" in
43399 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
43400 *) ac_try_echo=$ac_try;;
43402 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43403 (eval "$ac_compile") 2>conftest.er1
43405 grep -v '^ *+' conftest.er1 >conftest.err
43407 cat conftest.err >&5
43408 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43409 (exit $ac_status); } && {
43410 test -z "$ac_c_werror_flag" ||
43411 test ! -s conftest.err
43412 } && test -s conftest.$ac_objext; then
43413 wx_cv_func_gettimeofday_has_2_args=yes
43415 echo "$as_me: failed program was:" >&5
43416 sed 's/^/| /' conftest.$ac_ext >&5
43418 cat >conftest.$ac_ext <<_ACEOF
43421 cat confdefs.h >>conftest.$ac_ext
43422 cat >>conftest.$ac_ext <<_ACEOF
43423 /* end confdefs.h. */
43425 #include <sys/time.h>
43426 #include <unistd.h>
43439 rm -f conftest.$ac_objext
43440 if { (ac_try="$ac_compile"
43441 case "(($ac_try" in
43442 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
43443 *) ac_try_echo
=$ac_try;;
43445 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43446 (eval "$ac_compile") 2>conftest.er1
43448 grep -v '^ *+' conftest.er1
>conftest.err
43450 cat conftest.err
>&5
43451 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43452 (exit $ac_status); } && {
43453 test -z "$ac_c_werror_flag" ||
43454 test ! -s conftest.err
43455 } && test -s conftest.
$ac_objext; then
43456 wx_cv_func_gettimeofday_has_2_args
=no
43458 echo "$as_me: failed program was:" >&5
43459 sed 's/^/| /' conftest.
$ac_ext >&5
43462 { echo "$as_me:$LINENO: WARNING: failed to determine number of gettimeofday() arguments" >&5
43463 echo "$as_me: WARNING: failed to determine number of gettimeofday() arguments" >&2;}
43464 wx_cv_func_gettimeofday_has_2_args
=unknown
43469 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
43473 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
43476 { echo "$as_me:$LINENO: result: $wx_cv_func_gettimeofday_has_2_args" >&5
43477 echo "${ECHO_T}$wx_cv_func_gettimeofday_has_2_args" >&6; }
43479 if test "$wx_cv_func_gettimeofday_has_2_args" != "yes"; then
43480 cat >>confdefs.h
<<\_ACEOF
43481 #define WX_GETTIMEOFDAY_NO_TZ 1
43487 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS typetest"
43491 if test "$wxUSE_SOCKETS" = "yes"; then
43492 if test "$wxUSE_MGL" = "1"; then
43493 { echo "$as_me:$LINENO: WARNING: wxSocket not yet supported under MGL... disabled" >&5
43494 echo "$as_me: WARNING: wxSocket not yet supported under MGL... disabled" >&2;}
43499 if test "$wxUSE_SOCKETS" = "yes"; then
43500 if test "$TOOLKIT" != "MSW"; then
43501 { echo "$as_me:$LINENO: checking for socket" >&5
43502 echo $ECHO_N "checking for socket... $ECHO_C" >&6; }
43503 if test "${ac_cv_func_socket+set}" = set; then
43504 echo $ECHO_N "(cached) $ECHO_C" >&6
43506 cat >conftest.
$ac_ext <<_ACEOF
43509 cat confdefs.h
>>conftest.
$ac_ext
43510 cat >>conftest.
$ac_ext <<_ACEOF
43511 /* end confdefs.h. */
43512 /* Define socket to an innocuous variant, in case <limits.h> declares socket.
43513 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43514 #define socket innocuous_socket
43516 /* System header to define __stub macros and hopefully few prototypes,
43517 which can conflict with char socket (); below.
43518 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43519 <limits.h> exists even on freestanding compilers. */
43522 # include <limits.h>
43524 # include <assert.h>
43529 /* Override any GCC internal prototype to avoid an error.
43530 Use char because int might match the return type of a GCC
43531 builtin and then its argument prototype would still apply. */
43536 /* The GNU C library defines this for functions which it implements
43537 to always fail with ENOSYS. Some functions are actually named
43538 something starting with __ and the normal name is an alias. */
43539 #if defined __stub_socket || defined __stub___socket
43551 rm -f conftest.
$ac_objext conftest
$ac_exeext
43552 if { (ac_try
="$ac_link"
43553 case "(($ac_try" in
43554 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
43555 *) ac_try_echo=$ac_try;;
43557 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43558 (eval "$ac_link") 2>conftest.er1
43560 grep -v '^ *+' conftest.er1 >conftest.err
43562 cat conftest.err >&5
43563 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43564 (exit $ac_status); } && {
43565 test -z "$ac_c_werror_flag" ||
43566 test ! -s conftest.err
43567 } && test -s conftest$ac_exeext &&
43568 $as_test_x conftest$ac_exeext; then
43569 ac_cv_func_socket=yes
43571 echo "$as_me: failed program was:" >&5
43572 sed 's/^/| /' conftest.$ac_ext >&5
43574 ac_cv_func_socket=no
43577 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
43578 conftest$ac_exeext conftest.$ac_ext
43580 { echo "$as_me:$LINENO: result: $ac_cv_func_socket" >&5
43581 echo "${ECHO_T}$ac_cv_func_socket" >&6; }
43582 if test $ac_cv_func_socket = yes; then
43586 { echo "$as_me:$LINENO: checking for socket in -lsocket" >&5
43587 echo $ECHO_N "checking for socket in -lsocket... $ECHO_C" >&6; }
43588 if test "${ac_cv_lib_socket_socket+set}" = set; then
43589 echo $ECHO_N "(cached) $ECHO_C" >&6
43591 ac_check_lib_save_LIBS=$LIBS
43592 LIBS="-lsocket $LIBS"
43593 cat >conftest.$ac_ext <<_ACEOF
43596 cat confdefs.h >>conftest.$ac_ext
43597 cat >>conftest.$ac_ext <<_ACEOF
43598 /* end confdefs.h. */
43600 /* Override any GCC internal prototype to avoid an error.
43601 Use char because int might match the return type of a GCC
43602 builtin and then its argument prototype would still apply. */
43615 rm -f conftest.$ac_objext conftest$ac_exeext
43616 if { (ac_try="$ac_link"
43617 case "(($ac_try" in
43618 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
43619 *) ac_try_echo
=$ac_try;;
43621 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43622 (eval "$ac_link") 2>conftest.er1
43624 grep -v '^ *+' conftest.er1
>conftest.err
43626 cat conftest.err
>&5
43627 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43628 (exit $ac_status); } && {
43629 test -z "$ac_c_werror_flag" ||
43630 test ! -s conftest.err
43631 } && test -s conftest
$ac_exeext &&
43632 $as_test_x conftest
$ac_exeext; then
43633 ac_cv_lib_socket_socket
=yes
43635 echo "$as_me: failed program was:" >&5
43636 sed 's/^/| /' conftest.
$ac_ext >&5
43638 ac_cv_lib_socket_socket
=no
43641 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
43642 conftest
$ac_exeext conftest.
$ac_ext
43643 LIBS
=$ac_check_lib_save_LIBS
43645 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_socket" >&5
43646 echo "${ECHO_T}$ac_cv_lib_socket_socket" >&6; }
43647 if test $ac_cv_lib_socket_socket = yes; then
43648 if test "$INET_LINK" != " -lsocket"; then
43649 INET_LINK
="$INET_LINK -lsocket"
43653 { echo "$as_me:$LINENO: WARNING: socket library not found - sockets will be disabled" >&5
43654 echo "$as_me: WARNING: socket library not found - sockets will be disabled" >&2;}
43667 if test "$wxUSE_SOCKETS" = "yes" ; then
43668 if test "$TOOLKIT" != "MSW"; then
43669 { echo "$as_me:$LINENO: checking what is the type of the third argument of getsockname" >&5
43670 echo $ECHO_N "checking what is the type of the third argument of getsockname... $ECHO_C" >&6; }
43671 if test "${wx_cv_type_getsockname3+set}" = set; then
43672 echo $ECHO_N "(cached) $ECHO_C" >&6
43676 ac_cpp
='$CXXCPP $CPPFLAGS'
43677 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43678 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43679 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
43681 cat >conftest.
$ac_ext <<_ACEOF
43684 cat confdefs.h
>>conftest.
$ac_ext
43685 cat >>conftest.
$ac_ext <<_ACEOF
43686 /* end confdefs.h. */
43688 #include <sys/types.h>
43689 #include <sys/socket.h>
43696 getsockname(0, 0, &len);
43702 rm -f conftest.
$ac_objext
43703 if { (ac_try
="$ac_compile"
43704 case "(($ac_try" in
43705 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
43706 *) ac_try_echo=$ac_try;;
43708 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43709 (eval "$ac_compile") 2>conftest.er1
43711 grep -v '^ *+' conftest.er1 >conftest.err
43713 cat conftest.err >&5
43714 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43715 (exit $ac_status); } && {
43716 test -z "$ac_cxx_werror_flag" ||
43717 test ! -s conftest.err
43718 } && test -s conftest.$ac_objext; then
43719 wx_cv_type_getsockname3=socklen_t
43721 echo "$as_me: failed program was:" >&5
43722 sed 's/^/| /' conftest.$ac_ext >&5
43725 CFLAGS_OLD="$CFLAGS"
43726 if test "$GCC" = yes ; then
43727 CFLAGS="-Werror $CFLAGS"
43730 cat >conftest.$ac_ext <<_ACEOF
43733 cat confdefs.h >>conftest.$ac_ext
43734 cat >>conftest.$ac_ext <<_ACEOF
43735 /* end confdefs.h. */
43737 #include <sys/types.h>
43738 #include <sys/socket.h>
43745 getsockname(0, 0, &len);
43751 rm -f conftest.$ac_objext
43752 if { (ac_try="$ac_compile"
43753 case "(($ac_try" in
43754 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
43755 *) ac_try_echo
=$ac_try;;
43757 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43758 (eval "$ac_compile") 2>conftest.er1
43760 grep -v '^ *+' conftest.er1
>conftest.err
43762 cat conftest.err
>&5
43763 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43764 (exit $ac_status); } && {
43765 test -z "$ac_cxx_werror_flag" ||
43766 test ! -s conftest.err
43767 } && test -s conftest.
$ac_objext; then
43768 wx_cv_type_getsockname3
=size_t
43770 echo "$as_me: failed program was:" >&5
43771 sed 's/^/| /' conftest.
$ac_ext >&5
43773 cat >conftest.
$ac_ext <<_ACEOF
43776 cat confdefs.h
>>conftest.
$ac_ext
43777 cat >>conftest.
$ac_ext <<_ACEOF
43778 /* end confdefs.h. */
43780 #include <sys/types.h>
43781 #include <sys/socket.h>
43788 getsockname(0, 0, &len);
43794 rm -f conftest.
$ac_objext
43795 if { (ac_try
="$ac_compile"
43796 case "(($ac_try" in
43797 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
43798 *) ac_try_echo=$ac_try;;
43800 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43801 (eval "$ac_compile") 2>conftest.er1
43803 grep -v '^ *+' conftest.er1 >conftest.err
43805 cat conftest.err >&5
43806 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43807 (exit $ac_status); } && {
43808 test -z "$ac_cxx_werror_flag" ||
43809 test ! -s conftest.err
43810 } && test -s conftest.$ac_objext; then
43811 wx_cv_type_getsockname3=int
43813 echo "$as_me: failed program was:" >&5
43814 sed 's/^/| /' conftest.$ac_ext >&5
43816 wx_cv_type_getsockname3=unknown
43820 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43824 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43826 CFLAGS="$CFLAGS_OLD"
43831 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43833 ac_cpp='$CPP $CPPFLAGS'
43834 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43835 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43836 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43840 { echo "$as_me:$LINENO: result: $wx_cv_type_getsockname3" >&5
43841 echo "${ECHO_T}$wx_cv_type_getsockname3" >&6; }
43843 if test "$wx_cv_type_getsockname3" = "unknown"; then
43845 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
43846 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
43848 cat >>confdefs.h <<_ACEOF
43849 #define WX_SOCKLEN_T $wx_cv_type_getsockname3
43853 { echo "$as_me:$LINENO: checking what is the type of the fifth argument of getsockopt" >&5
43854 echo $ECHO_N "checking what is the type of the fifth argument of getsockopt... $ECHO_C" >&6; }
43855 if test "${wx_cv_type_getsockopt5+set}" = set; then
43856 echo $ECHO_N "(cached) $ECHO_C" >&6
43860 ac_cpp='$CXXCPP $CPPFLAGS'
43861 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43862 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43863 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43865 cat >conftest.$ac_ext <<_ACEOF
43868 cat confdefs.h >>conftest.$ac_ext
43869 cat >>conftest.$ac_ext <<_ACEOF
43870 /* end confdefs.h. */
43872 #include <sys/types.h>
43873 #include <sys/socket.h>
43880 getsockopt(0, 0, 0, 0, &len);
43886 rm -f conftest.$ac_objext
43887 if { (ac_try="$ac_compile"
43888 case "(($ac_try" in
43889 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
43890 *) ac_try_echo
=$ac_try;;
43892 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43893 (eval "$ac_compile") 2>conftest.er1
43895 grep -v '^ *+' conftest.er1
>conftest.err
43897 cat conftest.err
>&5
43898 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43899 (exit $ac_status); } && {
43900 test -z "$ac_cxx_werror_flag" ||
43901 test ! -s conftest.err
43902 } && test -s conftest.
$ac_objext; then
43903 wx_cv_type_getsockopt5
=socklen_t
43905 echo "$as_me: failed program was:" >&5
43906 sed 's/^/| /' conftest.
$ac_ext >&5
43909 cat >conftest.
$ac_ext <<_ACEOF
43912 cat confdefs.h
>>conftest.
$ac_ext
43913 cat >>conftest.
$ac_ext <<_ACEOF
43914 /* end confdefs.h. */
43916 #include <sys/types.h>
43917 #include <sys/socket.h>
43924 getsockopt(0, 0, 0, 0, &len);
43930 rm -f conftest.
$ac_objext
43931 if { (ac_try
="$ac_compile"
43932 case "(($ac_try" in
43933 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
43934 *) ac_try_echo=$ac_try;;
43936 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43937 (eval "$ac_compile") 2>conftest.er1
43939 grep -v '^ *+' conftest.er1 >conftest.err
43941 cat conftest.err >&5
43942 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43943 (exit $ac_status); } && {
43944 test -z "$ac_cxx_werror_flag" ||
43945 test ! -s conftest.err
43946 } && test -s conftest.$ac_objext; then
43947 wx_cv_type_getsockopt5=size_t
43949 echo "$as_me: failed program was:" >&5
43950 sed 's/^/| /' conftest.$ac_ext >&5
43952 cat >conftest.$ac_ext <<_ACEOF
43955 cat confdefs.h >>conftest.$ac_ext
43956 cat >>conftest.$ac_ext <<_ACEOF
43957 /* end confdefs.h. */
43959 #include <sys/types.h>
43960 #include <sys/socket.h>
43967 getsockopt(0, 0, 0, 0, &len);
43973 rm -f conftest.$ac_objext
43974 if { (ac_try="$ac_compile"
43975 case "(($ac_try" in
43976 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
43977 *) ac_try_echo
=$ac_try;;
43979 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43980 (eval "$ac_compile") 2>conftest.er1
43982 grep -v '^ *+' conftest.er1
>conftest.err
43984 cat conftest.err
>&5
43985 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43986 (exit $ac_status); } && {
43987 test -z "$ac_cxx_werror_flag" ||
43988 test ! -s conftest.err
43989 } && test -s conftest.
$ac_objext; then
43990 wx_cv_type_getsockopt5
=int
43992 echo "$as_me: failed program was:" >&5
43993 sed 's/^/| /' conftest.
$ac_ext >&5
43995 wx_cv_type_getsockopt5
=unknown
43999 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
44003 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
44008 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
44010 ac_cpp
='$CPP $CPPFLAGS'
44011 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44012 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44013 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
44017 { echo "$as_me:$LINENO: result: $wx_cv_type_getsockopt5" >&5
44018 echo "${ECHO_T}$wx_cv_type_getsockopt5" >&6; }
44020 if test "$wx_cv_type_getsockopt5" = "unknown"; then
44022 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
44023 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
44025 cat >>confdefs.h
<<_ACEOF
44026 #define SOCKOPTLEN_T $wx_cv_type_getsockopt5
44033 if test "$wxUSE_SOCKETS" = "yes" ; then
44034 cat >>confdefs.h
<<\_ACEOF
44035 #define wxUSE_SOCKETS 1
44038 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS sockets"
44041 if test "$wxUSE_PROTOCOL" = "yes"; then
44042 if test "$wxUSE_SOCKETS" != "yes"; then
44043 { echo "$as_me:$LINENO: WARNING: Protocol classes require sockets... disabled" >&5
44044 echo "$as_me: WARNING: Protocol classes require sockets... disabled" >&2;}
44049 if test "$wxUSE_PROTOCOL" = "yes"; then
44050 cat >>confdefs.h
<<\_ACEOF
44051 #define wxUSE_PROTOCOL 1
44055 if test "$wxUSE_PROTOCOL_HTTP" = "yes"; then
44056 cat >>confdefs.h
<<\_ACEOF
44057 #define wxUSE_PROTOCOL_HTTP 1
44061 if test "$wxUSE_PROTOCOL_FTP" = "yes"; then
44062 cat >>confdefs.h
<<\_ACEOF
44063 #define wxUSE_PROTOCOL_FTP 1
44067 if test "$wxUSE_PROTOCOL_FILE" = "yes"; then
44068 cat >>confdefs.h
<<\_ACEOF
44069 #define wxUSE_PROTOCOL_FILE 1
44074 if test "$wxUSE_FS_INET" = "yes"; then
44075 { echo "$as_me:$LINENO: WARNING: HTTP filesystem require protocol classes... disabled" >&5
44076 echo "$as_me: WARNING: HTTP filesystem require protocol classes... disabled" >&2;}
44081 if test "$wxUSE_URL" = "yes"; then
44082 if test "$wxUSE_PROTOCOL" != "yes"; then
44083 { echo "$as_me:$LINENO: WARNING: wxURL class requires wxProtocol... disabled" >&5
44084 echo "$as_me: WARNING: wxURL class requires wxProtocol... disabled" >&2;}
44087 if test "$wxUSE_URL" = "yes"; then
44088 cat >>confdefs.h
<<\_ACEOF
44089 #define wxUSE_URL 1
44095 if test "$wxUSE_VARIANT" = "yes"; then
44096 cat >>confdefs.h
<<\_ACEOF
44097 #define wxUSE_VARIANT 1
44102 if test "$wxUSE_FS_INET" = "yes"; then
44103 cat >>confdefs.h
<<\_ACEOF
44104 #define wxUSE_FS_INET 1
44110 if test "$wxUSE_GUI" = "yes" -a "$wxUSE_JOYSTICK" = "yes"; then
44113 if test "$TOOLKIT" = "MSW"; then
44116 elif test "$TOOLKIT" = "MAC" -o "$TOOLKIT" = "COCOA"; then
44117 if test "$USE_DARWIN" = 1; then
44118 { echo "$as_me:$LINENO: checking headers have declarations needed for joystick support" >&5
44119 echo $ECHO_N "checking headers have declarations needed for joystick support... $ECHO_C" >&6; }
44121 ac_cpp
='$CXXCPP $CPPFLAGS'
44122 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44123 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44124 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
44126 cat >conftest.
$ac_ext <<_ACEOF
44129 cat confdefs.h
>>conftest.
$ac_ext
44130 cat >>conftest.
$ac_ext <<_ACEOF
44131 /* end confdefs.h. */
44132 #include <IOKit/hid/IOHIDLib.h>
44136 IOHIDQueueInterface *qi = NULL;
44137 IOHIDCallbackFunction cb = NULL;
44138 qi->setEventCallout(NULL, cb, NULL, NULL);
44143 rm -f conftest.
$ac_objext
44144 if { (ac_try
="$ac_compile"
44145 case "(($ac_try" in
44146 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
44147 *) ac_try_echo=$ac_try;;
44149 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44150 (eval "$ac_compile") 2>conftest.er1
44152 grep -v '^ *+' conftest.er1 >conftest.err
44154 cat conftest.err >&5
44155 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44156 (exit $ac_status); } && {
44157 test -z "$ac_cxx_werror_flag" ||
44158 test ! -s conftest.err
44159 } && test -s conftest.$ac_objext; then
44163 echo "$as_me: failed program was:" >&5
44164 sed 's/^/| /' conftest.$ac_ext >&5
44169 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44171 ac_cpp='$CPP $CPPFLAGS'
44172 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44173 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44174 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44176 { echo "$as_me:$LINENO: result: $wxUSE_JOYSTICK" >&5
44177 echo "${ECHO_T}$wxUSE_JOYSTICK" >&6; }
44181 if test "$wxUSE_MGL" != "1"; then
44182 { echo "$as_me:$LINENO: checking for linux/joystick.h" >&5
44183 echo $ECHO_N "checking for linux/joystick.h... $ECHO_C" >&6; }
44184 if test "${ac_cv_header_linux_joystick_h+set}" = set; then
44185 echo $ECHO_N "(cached) $ECHO_C" >&6
44187 cat >conftest.$ac_ext <<_ACEOF
44190 cat confdefs.h >>conftest.$ac_ext
44191 cat >>conftest.$ac_ext <<_ACEOF
44192 /* end confdefs.h. */
44193 $ac_includes_default
44195 #include <linux/joystick.h>
44197 rm -f conftest.$ac_objext
44198 if { (ac_try="$ac_compile"
44199 case "(($ac_try" in
44200 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
44201 *) ac_try_echo
=$ac_try;;
44203 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44204 (eval "$ac_compile") 2>conftest.er1
44206 grep -v '^ *+' conftest.er1
>conftest.err
44208 cat conftest.err
>&5
44209 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44210 (exit $ac_status); } && {
44211 test -z "$ac_c_werror_flag" ||
44212 test ! -s conftest.err
44213 } && test -s conftest.
$ac_objext; then
44214 ac_cv_header_linux_joystick_h
=yes
44216 echo "$as_me: failed program was:" >&5
44217 sed 's/^/| /' conftest.
$ac_ext >&5
44219 ac_cv_header_linux_joystick_h
=no
44222 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
44224 { echo "$as_me:$LINENO: result: $ac_cv_header_linux_joystick_h" >&5
44225 echo "${ECHO_T}$ac_cv_header_linux_joystick_h" >&6; }
44226 if test $ac_cv_header_linux_joystick_h = yes; then
44234 if test "$wxUSE_JOYSTICK" = "yes"; then
44235 cat >>confdefs.h
<<\_ACEOF
44236 #define wxUSE_JOYSTICK 1
44239 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS joytest"
44241 { echo "$as_me:$LINENO: WARNING: Joystick not supported by this system... disabled" >&5
44242 echo "$as_me: WARNING: Joystick not supported by this system... disabled" >&2;}
44248 if test "$wxUSE_FONTMAP" = "yes" ; then
44249 cat >>confdefs.h
<<\_ACEOF
44250 #define wxUSE_FONTMAP 1
44255 if test "$wxUSE_UNICODE" = "yes" ; then
44256 cat >>confdefs.h
<<\_ACEOF
44257 #define wxUSE_UNICODE 1
44261 if test "$USE_WIN32" != 1; then
44262 wxUSE_UNICODE_MSLU
=no
44265 if test "$USE_WIN32" = 1 -a "$wxUSE_UNICODE_MSLU" = "yes"; then
44266 { echo "$as_me:$LINENO: checking for main in -lunicows" >&5
44267 echo $ECHO_N "checking for main in -lunicows... $ECHO_C" >&6; }
44268 if test "${ac_cv_lib_unicows_main+set}" = set; then
44269 echo $ECHO_N "(cached) $ECHO_C" >&6
44271 ac_check_lib_save_LIBS
=$LIBS
44272 LIBS
="-lunicows $LIBS"
44273 cat >conftest.
$ac_ext <<_ACEOF
44276 cat confdefs.h
>>conftest.
$ac_ext
44277 cat >>conftest.
$ac_ext <<_ACEOF
44278 /* end confdefs.h. */
44289 rm -f conftest.
$ac_objext conftest
$ac_exeext
44290 if { (ac_try
="$ac_link"
44291 case "(($ac_try" in
44292 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
44293 *) ac_try_echo=$ac_try;;
44295 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44296 (eval "$ac_link") 2>conftest.er1
44298 grep -v '^ *+' conftest.er1 >conftest.err
44300 cat conftest.err >&5
44301 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44302 (exit $ac_status); } && {
44303 test -z "$ac_c_werror_flag" ||
44304 test ! -s conftest.err
44305 } && test -s conftest$ac_exeext &&
44306 $as_test_x conftest$ac_exeext; then
44307 ac_cv_lib_unicows_main=yes
44309 echo "$as_me: failed program was:" >&5
44310 sed 's/^/| /' conftest.$ac_ext >&5
44312 ac_cv_lib_unicows_main=no
44315 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
44316 conftest$ac_exeext conftest.$ac_ext
44317 LIBS=$ac_check_lib_save_LIBS
44319 { echo "$as_me:$LINENO: result: $ac_cv_lib_unicows_main" >&5
44320 echo "${ECHO_T}$ac_cv_lib_unicows_main" >&6; }
44321 if test $ac_cv_lib_unicows_main = yes; then
44323 cat >>confdefs.h <<\_ACEOF
44324 #define wxUSE_UNICODE_MSLU 1
44330 { echo "$as_me:$LINENO: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
44331 Applications will only run on Windows NT/2000/XP!" >&5
44332 echo "$as_me: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
44333 Applications will only run on Windows NT/2000/XP!" >&2;}
44334 wxUSE_UNICODE_MSLU=no
44341 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_UTF8" = "yes"; then
44342 cat >>confdefs.h <<\_ACEOF
44343 #define wxUSE_UNICODE_UTF8 1
44347 if test "$wxUSE_UNICODE_UTF8_LOCALE" = "yes"; then
44348 cat >>confdefs.h <<\_ACEOF
44349 #define wxUSE_UTF8_LOCALE_ONLY 1
44355 if test "$wxUSE_wxUSE_EXPERIMENTAL_PRINTF" = "yes"; then
44356 cat >>confdefs.h <<\_ACEOF
44357 #define wxUSE_EXPERIMENTAL_PRINTF 1
44363 if test "$wxUSE_POSTSCRIPT" = "yes" ; then
44364 cat >>confdefs.h <<\_ACEOF
44365 #define wxUSE_POSTSCRIPT 1
44370 cat >>confdefs.h <<\_ACEOF
44371 #define wxUSE_AFM_FOR_POSTSCRIPT 1
44375 cat >>confdefs.h <<\_ACEOF
44376 #define wxUSE_NORMALIZED_PS_FONTS 1
44381 if test "$wxUSE_CONSTRAINTS" = "yes"; then
44382 cat >>confdefs.h <<\_ACEOF
44383 #define wxUSE_CONSTRAINTS 1
44386 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS layout"
44389 if test "$wxUSE_MDI" = "yes"; then
44390 cat >>confdefs.h <<\_ACEOF
44391 #define wxUSE_MDI 1
44395 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
44396 cat >>confdefs.h <<\_ACEOF
44397 #define wxUSE_MDI_ARCHITECTURE 1
44400 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS mdi"
44404 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = "yes" ; then
44405 cat >>confdefs.h <<\_ACEOF
44406 #define wxUSE_DOC_VIEW_ARCHITECTURE 1
44409 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS docview"
44410 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
44411 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS docvwmdi"
44415 if test "$wxUSE_HELP" = "yes"; then
44416 cat >>confdefs.h <<\_ACEOF
44417 #define wxUSE_HELP 1
44420 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS help"
44422 if test "$wxUSE_MSW" = 1; then
44423 if test "$wxUSE_MS_HTML_HELP" = "yes"; then
44424 cat >>confdefs.h <<\_ACEOF
44425 #define wxUSE_MS_HTML_HELP 1
44431 if test "$wxUSE_WXHTML_HELP" = "yes"; then
44432 if test "$wxUSE_HTML" = "yes"; then
44433 cat >>confdefs.h <<\_ACEOF
44434 #define wxUSE_WXHTML_HELP 1
44438 { echo "$as_me:$LINENO: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&5
44439 echo "$as_me: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&2;}
44440 wxUSE_WXHTML_HELP=no
44445 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
44446 if test "$wxUSE_CONSTRAINTS" != "yes"; then
44447 { echo "$as_me:$LINENO: WARNING: Printing support cannot be used without constraints so it won't be compiled without it" >&5
44448 echo "$as_me: WARNING: Printing support cannot be used without constraints so it won't be compiled without it" >&2;}
44450 cat >>confdefs.h <<\_ACEOF
44451 #define wxUSE_PRINTING_ARCHITECTURE 1
44455 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS printing"
44460 if test "$wxUSE_METAFILE" = "yes"; then
44461 if test "$wxUSE_MSW" != 1 -a "$wxUSE_MAC" != 1 -a "$wxUSE_PM" != 1; then
44462 { echo "$as_me:$LINENO: WARNING: wxMetafile is not available on this system... disabled" >&5
44463 echo "$as_me: WARNING: wxMetafile is not available on this system... disabled" >&2;}
44469 if test "$USE_WIN32" = 1 -a \( "$wxUSE_DATAOBJ" = "yes" \
44470 -o "$wxUSE_CLIPBOARD" = "yes" \
44471 -o "$wxUSE_OLE" = "yes" \
44472 -o "$wxUSE_DRAG_AND_DROP" = "yes" \) ; then
44473 { echo "$as_me:$LINENO: checking for ole2.h" >&5
44474 echo $ECHO_N "checking for ole2.h... $ECHO_C" >&6; }
44475 if test "${ac_cv_header_ole2_h+set}" = set; then
44476 echo $ECHO_N "(cached) $ECHO_C" >&6
44478 cat >conftest.$ac_ext <<_ACEOF
44481 cat confdefs.h >>conftest.$ac_ext
44482 cat >>conftest.$ac_ext <<_ACEOF
44483 /* end confdefs.h. */
44488 rm -f conftest.$ac_objext
44489 if { (ac_try="$ac_compile"
44490 case "(($ac_try" in
44491 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
44492 *) ac_try_echo
=$ac_try;;
44494 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44495 (eval "$ac_compile") 2>conftest.er1
44497 grep -v '^ *+' conftest.er1
>conftest.err
44499 cat conftest.err
>&5
44500 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44501 (exit $ac_status); } && {
44502 test -z "$ac_c_werror_flag" ||
44503 test ! -s conftest.err
44504 } && test -s conftest.
$ac_objext; then
44505 ac_cv_header_ole2_h
=yes
44507 echo "$as_me: failed program was:" >&5
44508 sed 's/^/| /' conftest.
$ac_ext >&5
44510 ac_cv_header_ole2_h
=no
44513 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
44515 { echo "$as_me:$LINENO: result: $ac_cv_header_ole2_h" >&5
44516 echo "${ECHO_T}$ac_cv_header_ole2_h" >&6; }
44520 if test "$ac_cv_header_ole2_h" = "yes" ; then
44521 if test "$GCC" = yes ; then
44522 { echo "$as_me:$LINENO: checking if g++ requires -fvtable-thunks" >&5
44523 echo $ECHO_N "checking if g++ requires -fvtable-thunks... $ECHO_C" >&6; }
44524 cat >conftest.
$ac_ext <<_ACEOF
44527 cat confdefs.h
>>conftest.
$ac_ext
44528 cat >>conftest.
$ac_ext <<_ACEOF
44529 /* end confdefs.h. */
44530 #include <windows.h>
44540 rm -f conftest.
$ac_objext
44541 if { (ac_try
="$ac_compile"
44542 case "(($ac_try" in
44543 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
44544 *) ac_try_echo=$ac_try;;
44546 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44547 (eval "$ac_compile") 2>conftest.er1
44549 grep -v '^ *+' conftest.er1 >conftest.err
44551 cat conftest.err >&5
44552 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44553 (exit $ac_status); } && {
44554 test -z "$ac_c_werror_flag" ||
44555 test ! -s conftest.err
44556 } && test -s conftest.$ac_objext; then
44557 { echo "$as_me:$LINENO: result: no" >&5
44558 echo "${ECHO_T}no" >&6; }
44560 echo "$as_me: failed program was:" >&5
44561 sed 's/^/| /' conftest.$ac_ext >&5
44563 { echo "$as_me:$LINENO: result: yes" >&5
44564 echo "${ECHO_T}yes" >&6; }
44565 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -fvtable-thunks"
44568 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44569 LIBS=" -lrpcrt4 -loleaut32 -lole32 -luuid$LIBS"
44570 if test "$wxUSE_OLE" = "yes" ; then
44571 cat >>confdefs.h <<\_ACEOF
44572 #define wxUSE_OLE 1
44575 cat >>confdefs.h <<\_ACEOF
44576 #define wxUSE_OLE_AUTOMATION 1
44579 cat >>confdefs.h <<\_ACEOF
44580 #define wxUSE_ACTIVEX 1
44583 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS oleauto"
44587 if test "$wxUSE_DATAOBJ" = "yes" ; then
44588 cat >>confdefs.h <<\_ACEOF
44589 #define wxUSE_DATAOBJ 1
44594 { echo "$as_me:$LINENO: WARNING: Some features disabled because OLE headers not found" >&5
44595 echo "$as_me: WARNING: Some features disabled because OLE headers not found" >&2;}
44598 wxUSE_DRAG_AND_DROP=no
44603 if test "$wxUSE_METAFILE" = "yes"; then
44604 cat >>confdefs.h <<\_ACEOF
44605 #define wxUSE_METAFILE 1
44609 cat >>confdefs.h <<\_ACEOF
44610 #define wxUSE_ENH_METAFILE 1
44616 if test "$wxUSE_IPC" = "yes"; then
44617 if test "$wxUSE_SOCKETS" != "yes" -a "$USE_WIN32" != 1; then
44618 { echo "$as_me:$LINENO: WARNING: wxWidgets IPC classes require sockets... disabled" >&5
44619 echo "$as_me: WARNING: wxWidgets IPC classes require sockets... disabled" >&2;}
44623 if test "$wxUSE_IPC" = "yes"; then
44624 cat >>confdefs.h <<\_ACEOF
44625 #define wxUSE_IPC 1
44628 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ipc"
44632 if test "$wxUSE_DATAOBJ" = "yes"; then
44633 if test "$wxUSE_MGL" = 1 -o "$wxUSE_DFB" = 1; then
44634 { echo "$as_me:$LINENO: WARNING: wxDataObject not yet supported under $TOOLKIT... disabled" >&5
44635 echo "$as_me: WARNING: wxDataObject not yet supported under $TOOLKIT... disabled" >&2;}
44638 cat >>confdefs.h <<\_ACEOF
44639 #define wxUSE_DATAOBJ 1
44644 { echo "$as_me:$LINENO: WARNING: Clipboard and drag-and-drop require wxDataObject -- disabled" >&5
44645 echo "$as_me: WARNING: Clipboard and drag-and-drop require wxDataObject -- disabled" >&2;}
44647 wxUSE_DRAG_AND_DROP=no
44650 if test "$wxUSE_CLIPBOARD" = "yes"; then
44651 if test "$wxUSE_MGL" = 1 -o "$wxUSE_DFB" = 1; then
44652 { echo "$as_me:$LINENO: WARNING: Clipboard not yet supported under $TOOLKIT... disabled" >&5
44653 echo "$as_me: WARNING: Clipboard not yet supported under $TOOLKIT... disabled" >&2;}
44657 if test "$wxUSE_CLIPBOARD" = "yes"; then
44658 cat >>confdefs.h <<\_ACEOF
44659 #define wxUSE_CLIPBOARD 1
44665 if test "$wxUSE_DRAG_AND_DROP" = "yes" ; then
44666 if test "$wxUSE_GTK" = 1; then
44667 if test "$WXGTK12" != 1; then
44668 { echo "$as_me:$LINENO: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&5
44669 echo "$as_me: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&2;}
44670 wxUSE_DRAG_AND_DROP=no
44674 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_X11" = 1 -o "$wxUSE_MGL" = 1 -o \
44675 "$wxUSE_DFB" = 1; then
44676 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under $TOOLKIT... disabled" >&5
44677 echo "$as_me: WARNING: Drag and drop not yet supported under $TOOLKIT... disabled" >&2;}
44678 wxUSE_DRAG_AND_DROP=no
44681 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
44682 cat >>confdefs.h <<\_ACEOF
44683 #define wxUSE_DRAG_AND_DROP 1
44690 if test "$wxUSE_DRAG_AND_DROP" = "yes" -o "$wxUSE_CLIPBOARD" = "yes"; then
44691 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dnd"
44694 if test "$wxUSE_SPLINES" = "yes" ; then
44695 cat >>confdefs.h <<\_ACEOF
44696 #define wxUSE_SPLINES 1
44701 if test "$wxUSE_MOUSEWHEEL" = "yes" ; then
44702 cat >>confdefs.h <<\_ACEOF
44703 #define wxUSE_MOUSEWHEEL 1
44710 if test "$wxUSE_CONTROLS" = "yes"; then
44714 if test "$wxUSE_ACCEL" = "yes"; then
44715 cat >>confdefs.h <<\_ACEOF
44716 #define wxUSE_ACCEL 1
44722 if test "$wxUSE_ANIMATIONCTRL" = "yes"; then
44723 cat >>confdefs.h <<\_ACEOF
44724 #define wxUSE_ANIMATIONCTRL 1
44728 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS animate"
44731 if test "$wxUSE_BUTTON" = "yes"; then
44732 cat >>confdefs.h <<\_ACEOF
44733 #define wxUSE_BUTTON 1
44739 if test "$wxUSE_BMPBUTTON" = "yes"; then
44740 cat >>confdefs.h <<\_ACEOF
44741 #define wxUSE_BMPBUTTON 1
44747 if test "$wxUSE_CALCTRL" = "yes"; then
44748 cat >>confdefs.h <<\_ACEOF
44749 #define wxUSE_CALENDARCTRL 1
44753 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS calendar"
44756 if test "$wxUSE_CARET" = "yes"; then
44757 cat >>confdefs.h <<\_ACEOF
44758 #define wxUSE_CARET 1
44762 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS caret"
44765 if test "$wxUSE_COLLPANE" = "yes"; then
44766 cat >>confdefs.h <<\_ACEOF
44767 #define wxUSE_COLLPANE 1
44771 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS collpane"
44774 if test "$wxUSE_COMBOBOX" = "yes"; then
44775 cat >>confdefs.h <<\_ACEOF
44776 #define wxUSE_COMBOBOX 1
44782 if test "$wxUSE_COMBOCTRL" = "yes"; then
44783 cat >>confdefs.h <<\_ACEOF
44784 #define wxUSE_COMBOCTRL 1
44790 if test "$wxUSE_CHOICE" = "yes"; then
44791 cat >>confdefs.h <<\_ACEOF
44792 #define wxUSE_CHOICE 1
44798 if test "$wxUSE_CHOICEBOOK" = "yes"; then
44799 cat >>confdefs.h <<\_ACEOF
44800 #define wxUSE_CHOICEBOOK 1
44806 if test "$wxUSE_CHECKBOX" = "yes"; then
44807 cat >>confdefs.h <<\_ACEOF
44808 #define wxUSE_CHECKBOX 1
44814 if test "$wxUSE_CHECKLST" = "yes"; then
44815 cat >>confdefs.h <<\_ACEOF
44816 #define wxUSE_CHECKLISTBOX 1
44820 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS checklst"
44823 if test "$wxUSE_COLOURPICKERCTRL" = "yes"; then
44824 cat >>confdefs.h <<\_ACEOF
44825 #define wxUSE_COLOURPICKERCTRL 1
44831 if test "$wxUSE_DATEPICKCTRL" = "yes"; then
44832 cat >>confdefs.h <<\_ACEOF
44833 #define wxUSE_DATEPICKCTRL 1
44839 if test "$wxUSE_DIRPICKERCTRL" = "yes"; then
44840 cat >>confdefs.h <<\_ACEOF
44841 #define wxUSE_DIRPICKERCTRL 1
44847 if test "$wxUSE_FILEPICKERCTRL" = "yes"; then
44848 cat >>confdefs.h <<\_ACEOF
44849 #define wxUSE_FILEPICKERCTRL 1
44855 if test "$wxUSE_FONTPICKERCTRL" = "yes"; then
44856 cat >>confdefs.h <<\_ACEOF
44857 #define wxUSE_FONTPICKERCTRL 1
44863 if test "$wxUSE_DISPLAY" = "yes"; then
44864 if test "$wxUSE_DFB" = 1 -o "$wxUSE_MGL" = 1; then
44865 { echo "$as_me:$LINENO: WARNING: wxDisplay not yet supported under $TOOLKIT... disabled" >&5
44866 echo "$as_me: WARNING: wxDisplay not yet supported under $TOOLKIT... disabled" >&2;}
44869 cat >>confdefs.h <<\_ACEOF
44870 #define wxUSE_DISPLAY 1
44873 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS display multimon"
44877 if test "$wxUSE_DETECT_SM" = "yes"; then
44878 cat >>confdefs.h <<\_ACEOF
44879 #define wxUSE_DETECT_SM 1
44884 if test "$wxUSE_GAUGE" = "yes"; then
44885 cat >>confdefs.h <<\_ACEOF
44886 #define wxUSE_GAUGE 1
44892 if test "$wxUSE_GRID" = "yes"; then
44893 cat >>confdefs.h <<\_ACEOF
44894 #define wxUSE_GRID 1
44898 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS grid"
44901 if test "$wxUSE_HYPERLINKCTRL" = "yes"; then
44902 cat >>confdefs.h <<\_ACEOF
44903 #define wxUSE_HYPERLINKCTRL 1
44909 if test "$wxUSE_BITMAPCOMBOBOX" = "yes"; then
44910 cat >>confdefs.h <<\_ACEOF
44911 #define wxUSE_BITMAPCOMBOBOX 1
44917 if test "$wxUSE_DATAVIEWCTRL" = "yes"; then
44918 cat >>confdefs.h <<\_ACEOF
44919 #define wxUSE_DATAVIEWCTRL 1
44923 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dataview"
44926 if test "$wxUSE_IMAGLIST" = "yes"; then
44927 cat >>confdefs.h <<\_ACEOF
44928 #define wxUSE_IMAGLIST 1
44933 if test "$wxUSE_LISTBOOK" = "yes"; then
44934 cat >>confdefs.h <<\_ACEOF
44935 #define wxUSE_LISTBOOK 1
44941 if test "$wxUSE_LISTBOX" = "yes"; then
44942 cat >>confdefs.h <<\_ACEOF
44943 #define wxUSE_LISTBOX 1
44947 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS listbox"
44950 if test "$wxUSE_LISTCTRL" = "yes"; then
44951 if test "$wxUSE_IMAGLIST" = "yes"; then
44952 cat >>confdefs.h <<\_ACEOF
44953 #define wxUSE_LISTCTRL 1
44957 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS listctrl"
44959 { echo "$as_me:$LINENO: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&5
44960 echo "$as_me: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&2;}
44964 if test "$wxUSE_EDITABLELISTBOX" = "yes"; then
44965 cat >>confdefs.h <<\_ACEOF
44966 #define wxUSE_EDITABLELISTBOX 1
44970 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS editlbox"
44973 if test "$wxUSE_NOTEBOOK" = "yes"; then
44974 cat >>confdefs.h <<\_ACEOF
44975 #define wxUSE_NOTEBOOK 1
44979 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS notebook"
44982 if test "$wxUSE_ODCOMBOBOX" = "yes"; then
44983 cat >>confdefs.h <<\_ACEOF
44984 #define wxUSE_ODCOMBOBOX 1
44988 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS combo"
44992 if test "$wxUSE_RADIOBOX" = "yes"; then
44993 cat >>confdefs.h <<\_ACEOF
44994 #define wxUSE_RADIOBOX 1
45000 if test "$wxUSE_RADIOBTN" = "yes"; then
45001 cat >>confdefs.h <<\_ACEOF
45002 #define wxUSE_RADIOBTN 1
45008 if test "$wxUSE_SASH" = "yes"; then
45009 cat >>confdefs.h <<\_ACEOF
45010 #define wxUSE_SASH 1
45013 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sashtest"
45016 if test "$wxUSE_SCROLLBAR" = "yes"; then
45017 cat >>confdefs.h <<\_ACEOF
45018 #define wxUSE_SCROLLBAR 1
45022 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS scroll scrollsub"
45025 if test "$wxUSE_SEARCHCTRL" = "yes"; then
45026 cat >>confdefs.h <<\_ACEOF
45027 #define wxUSE_SEARCHCTRL 1
45033 if test "$wxUSE_SLIDER" = "yes"; then
45034 cat >>confdefs.h <<\_ACEOF
45035 #define wxUSE_SLIDER 1
45041 if test "$wxUSE_SPINBTN" = "yes"; then
45042 cat >>confdefs.h <<\_ACEOF
45043 #define wxUSE_SPINBTN 1
45049 if test "$wxUSE_SPINCTRL" = "yes"; then
45050 cat >>confdefs.h <<\_ACEOF
45051 #define wxUSE_SPINCTRL 1
45057 if test "$wxUSE_SPLITTER" = "yes"; then
45058 cat >>confdefs.h <<\_ACEOF
45059 #define wxUSE_SPLITTER 1
45062 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS splitter"
45065 if test "$wxUSE_STATBMP" = "yes"; then
45066 cat >>confdefs.h <<\_ACEOF
45067 #define wxUSE_STATBMP 1
45073 if test "$wxUSE_STATBOX" = "yes"; then
45074 cat >>confdefs.h <<\_ACEOF
45075 #define wxUSE_STATBOX 1
45081 if test "$wxUSE_STATTEXT" = "yes"; then
45082 cat >>confdefs.h <<\_ACEOF
45083 #define wxUSE_STATTEXT 1
45089 if test "$wxUSE_STATLINE" = "yes"; then
45090 cat >>confdefs.h <<\_ACEOF
45091 #define wxUSE_STATLINE 1
45097 if test "$wxUSE_STATUSBAR" = "yes"; then
45098 cat >>confdefs.h <<\_ACEOF
45099 #define wxUSE_NATIVE_STATUSBAR 1
45102 cat >>confdefs.h <<\_ACEOF
45103 #define wxUSE_STATUSBAR 1
45108 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS statbar"
45111 if test "$wxUSE_TAB_DIALOG" = "yes"; then
45112 cat >>confdefs.h <<\_ACEOF
45113 #define wxUSE_TAB_DIALOG 1
45118 if test "$wxUSE_TEXTCTRL" = "yes"; then
45119 cat >>confdefs.h <<\_ACEOF
45120 #define wxUSE_TEXTCTRL 1
45124 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS text"
45127 if test "$wxUSE_TOGGLEBTN" = "yes"; then
45128 if test "$wxUSE_COCOA" = 1 ; then
45129 { echo "$as_me:$LINENO: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&5
45130 echo "$as_me: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&2;}
45134 if test "$wxUSE_TOGGLEBTN" = "yes"; then
45135 cat >>confdefs.h <<\_ACEOF
45136 #define wxUSE_TOGGLEBTN 1
45143 if test "$wxUSE_TOOLBAR" = "yes"; then
45144 cat >>confdefs.h <<\_ACEOF
45145 #define wxUSE_TOOLBAR 1
45150 if test "$wxUSE_UNIVERSAL" = "yes"; then
45151 wxUSE_TOOLBAR_NATIVE="no"
45153 wxUSE_TOOLBAR_NATIVE="yes"
45154 cat >>confdefs.h <<\_ACEOF
45155 #define wxUSE_TOOLBAR_NATIVE 1
45160 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS toolbar"
45163 if test "$wxUSE_TOOLTIPS" = "yes"; then
45164 if test "$wxUSE_MOTIF" = 1; then
45165 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet under Motif... disabled" >&5
45166 echo "$as_me: WARNING: wxTooltip not supported yet under Motif... disabled" >&2;}
45168 if test "$wxUSE_UNIVERSAL" = "yes"; then
45169 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&5
45170 echo "$as_me: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&2;}
45172 cat >>confdefs.h <<\_ACEOF
45173 #define wxUSE_TOOLTIPS 1
45180 if test "$wxUSE_TREEBOOK" = "yes"; then
45181 cat >>confdefs.h <<\_ACEOF
45182 #define wxUSE_TREEBOOK 1
45188 if test "$wxUSE_TOOLBOOK" = "yes"; then
45189 cat >>confdefs.h <<\_ACEOF
45190 #define wxUSE_TOOLBOOK 1
45196 if test "$wxUSE_TREECTRL" = "yes"; then
45197 if test "$wxUSE_IMAGLIST" = "yes"; then
45198 cat >>confdefs.h <<\_ACEOF
45199 #define wxUSE_TREECTRL 1
45203 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS treectrl"
45205 { echo "$as_me:$LINENO: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&5
45206 echo "$as_me: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&2;}
45210 if test "$wxUSE_POPUPWIN" = "yes"; then
45211 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 ; then
45212 { echo "$as_me:$LINENO: WARNING: Popup window not yet supported under Mac OS X... disabled" >&5
45213 echo "$as_me: WARNING: Popup window not yet supported under Mac OS X... disabled" >&2;}
45215 if test "$wxUSE_PM" = 1; then
45216 { echo "$as_me:$LINENO: WARNING: wxPopupWindow not yet supported under PM... disabled" >&5
45217 echo "$as_me: WARNING: wxPopupWindow not yet supported under PM... disabled" >&2;}
45219 cat >>confdefs.h <<\_ACEOF
45220 #define wxUSE_POPUPWIN 1
45223 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS popup"
45230 if test "$wxUSE_DIALUP_MANAGER" = "yes"; then
45231 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 -o "$wxUSE_MGL" = 1; then
45232 { echo "$as_me:$LINENO: WARNING: Dialup manager not supported on this platform... disabled" >&5
45233 echo "$as_me: WARNING: Dialup manager not supported on this platform... disabled" >&2;}
45235 cat >>confdefs.h <<\_ACEOF
45236 #define wxUSE_DIALUP_MANAGER 1
45239 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dialup"
45243 if test "$wxUSE_TIPWINDOW" = "yes"; then
45244 if test "$wxUSE_PM" = 1; then
45245 { echo "$as_me:$LINENO: WARNING: wxTipWindow not yet supported under PM... disabled" >&5
45246 echo "$as_me: WARNING: wxTipWindow not yet supported under PM... disabled" >&2;}
45248 cat >>confdefs.h <<\_ACEOF
45249 #define wxUSE_TIPWINDOW 1
45255 if test "$USES_CONTROLS" = 1; then
45256 cat >>confdefs.h <<\_ACEOF
45257 #define wxUSE_CONTROLS 1
45263 if test "$wxUSE_ACCESSIBILITY" = "yes"; then
45264 cat >>confdefs.h <<\_ACEOF
45265 #define wxUSE_ACCESSIBILITY 1
45268 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS access"
45271 if test "$wxUSE_DC_CACHEING" = "yes"; then
45272 cat >>confdefs.h <<\_ACEOF
45273 #define wxUSE_DC_CACHEING 1
45278 if test "$wxUSE_DRAGIMAGE" = "yes"; then
45279 cat >>confdefs.h <<\_ACEOF
45280 #define wxUSE_DRAGIMAGE 1
45283 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dragimag"
45286 if test "$wxUSE_EXCEPTIONS" = "yes"; then
45287 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
45288 { echo "$as_me:$LINENO: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&5
45289 echo "$as_me: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&2;}
45291 cat >>confdefs.h <<\_ACEOF
45292 #define wxUSE_EXCEPTIONS 1
45295 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS except"
45300 if test "$wxUSE_HTML" = "yes"; then
45301 cat >>confdefs.h <<\_ACEOF
45302 #define wxUSE_HTML 1
45306 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS html html/about html/help html/helpview html/printing html/test html/virtual html/widget html/zip htlbox"
45307 if test "$wxUSE_MAC" = 1; then
45308 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS html/htmlctrl"
45311 if test "$wxUSE_WEBKIT" = "yes"; then
45312 if test "$wxUSE_MAC" = 1 -a "$USE_DARWIN" = 1; then
45313 old_CPPFLAGS="$CPPFLAGS"
45314 CPPFLAGS="-x objective-c++ $CPPFLAGS"
45315 { echo "$as_me:$LINENO: checking for WebKit/HIWebView.h" >&5
45316 echo $ECHO_N "checking for WebKit/HIWebView.h... $ECHO_C" >&6; }
45317 if test "${ac_cv_header_WebKit_HIWebView_h+set}" = set; then
45318 echo $ECHO_N "(cached) $ECHO_C" >&6
45320 cat >conftest.$ac_ext <<_ACEOF
45323 cat confdefs.h >>conftest.$ac_ext
45324 cat >>conftest.$ac_ext <<_ACEOF
45325 /* end confdefs.h. */
45327 #include <Carbon/Carbon.h>
45328 #include <WebKit/WebKit.h>
45331 #include <WebKit/HIWebView.h>
45333 rm -f conftest.$ac_objext
45334 if { (ac_try="$ac_compile"
45335 case "(($ac_try" in
45336 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
45337 *) ac_try_echo
=$ac_try;;
45339 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45340 (eval "$ac_compile") 2>conftest.er1
45342 grep -v '^ *+' conftest.er1
>conftest.err
45344 cat conftest.err
>&5
45345 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45346 (exit $ac_status); } && {
45347 test -z "$ac_c_werror_flag" ||
45348 test ! -s conftest.err
45349 } && test -s conftest.
$ac_objext; then
45350 ac_cv_header_WebKit_HIWebView_h
=yes
45352 echo "$as_me: failed program was:" >&5
45353 sed 's/^/| /' conftest.
$ac_ext >&5
45355 ac_cv_header_WebKit_HIWebView_h
=no
45358 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
45360 { echo "$as_me:$LINENO: result: $ac_cv_header_WebKit_HIWebView_h" >&5
45361 echo "${ECHO_T}$ac_cv_header_WebKit_HIWebView_h" >&6; }
45362 if test $ac_cv_header_WebKit_HIWebView_h = yes; then
45364 cat >>confdefs.h
<<\_ACEOF
45365 #define wxUSE_WEBKIT 1
45368 WEBKIT_LINK
="-framework WebKit"
45372 { echo "$as_me:$LINENO: WARNING: WebKit headers not found; disabling wxWebKit" >&5
45373 echo "$as_me: WARNING: WebKit headers not found; disabling wxWebKit" >&2;}
45379 CPPFLAGS
="$old_CPPFLAGS"
45380 elif test "$wxUSE_COCOA" = 1; then
45381 cat >>confdefs.h
<<\_ACEOF
45382 #define wxUSE_WEBKIT 1
45391 if test "$wxUSE_XRC" = "yes"; then
45392 if test "$wxUSE_XML" != "yes"; then
45393 { echo "$as_me:$LINENO: WARNING: XML library not built, XRC resources disabled" >&5
45394 echo "$as_me: WARNING: XML library not built, XRC resources disabled" >&2;}
45397 cat >>confdefs.h
<<\_ACEOF
45398 #define wxUSE_XRC 1
45402 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS xrc"
45407 if test "$wxUSE_AUI" = "yes"; then
45408 cat >>confdefs.h
<<\_ACEOF
45409 #define wxUSE_AUI 1
45413 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS aui"
45417 if test "$wxUSE_STC" = "yes"; then
45418 cat >>confdefs.h
<<\_ACEOF
45419 #define wxUSE_STC 1
45423 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS stc"
45426 if test "$wxUSE_MENUS" = "yes"; then
45427 cat >>confdefs.h
<<\_ACEOF
45428 #define wxUSE_MENUS 1
45431 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS menu"
45434 if test "$wxUSE_METAFILE" = "yes"; then
45435 cat >>confdefs.h
<<\_ACEOF
45436 #define wxUSE_METAFILE 1
45441 if test "$wxUSE_MIMETYPE" = "yes"; then
45442 cat >>confdefs.h
<<\_ACEOF
45443 #define wxUSE_MIMETYPE 1
45448 if test "$wxUSE_MINIFRAME" = "yes"; then
45449 cat >>confdefs.h
<<\_ACEOF
45450 #define wxUSE_MINIFRAME 1
45453 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS minifram"
45456 if test "$wxUSE_SYSTEM_OPTIONS" = "yes"; then
45457 cat >>confdefs.h
<<\_ACEOF
45458 #define wxUSE_SYSTEM_OPTIONS 1
45461 if test "$TOOLKIT" = "MSW" -o "$TOOLKIT" = "GTK" -o "$TOOLKIT" = "X11" -o \
45462 "$TOOLKIT" = "MOTIF" -o "$TOOLKIT" = "COCOA"; then
45463 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS taskbar"
45468 if test "$wxUSE_VALIDATORS" = "yes"; then
45469 cat >>confdefs.h
<<\_ACEOF
45470 #define wxUSE_VALIDATORS 1
45473 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS validate"
45476 if test "$wxUSE_PALETTE" = "yes" ; then
45477 if test "$wxUSE_DFB" = 1; then
45478 { echo "$as_me:$LINENO: WARNING: wxPalette not yet supported under DFB... disabled" >&5
45479 echo "$as_me: WARNING: wxPalette not yet supported under DFB... disabled" >&2;}
45482 cat >>confdefs.h
<<\_ACEOF
45483 #define wxUSE_PALETTE 1
45489 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_MSLU" = "yes" ; then
45490 LIBS
=" -lunicows $LIBS"
45494 if test "$wxUSE_RICHTEXT" = "yes"; then
45495 cat >>confdefs.h
<<\_ACEOF
45496 #define wxUSE_RICHTEXT 1
45500 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS richtext"
45504 if test "$wxUSE_IMAGE" = "yes" ; then
45505 cat >>confdefs.h
<<\_ACEOF
45506 #define wxUSE_IMAGE 1
45510 if test "$wxUSE_GIF" = "yes" ; then
45511 cat >>confdefs.h
<<\_ACEOF
45512 #define wxUSE_GIF 1
45517 if test "$wxUSE_PCX" = "yes" ; then
45518 cat >>confdefs.h
<<\_ACEOF
45519 #define wxUSE_PCX 1
45524 if test "$wxUSE_TGA" = "yes" ; then
45525 cat >>confdefs.h
<<\_ACEOF
45526 #define wxUSE_TGA 1
45531 if test "$wxUSE_IFF" = "yes" ; then
45532 cat >>confdefs.h
<<\_ACEOF
45533 #define wxUSE_IFF 1
45538 if test "$wxUSE_PNM" = "yes" ; then
45539 cat >>confdefs.h
<<\_ACEOF
45540 #define wxUSE_PNM 1
45545 if test "$wxUSE_XPM" = "yes" ; then
45546 cat >>confdefs.h
<<\_ACEOF
45547 #define wxUSE_XPM 1
45552 if test "$wxUSE_ICO_CUR" = "yes" ; then
45553 cat >>confdefs.h
<<\_ACEOF
45554 #define wxUSE_ICO_CUR 1
45561 if test "$wxUSE_ABOUTDLG" = "yes"; then
45562 cat >>confdefs.h
<<\_ACEOF
45563 #define wxUSE_ABOUTDLG 1
45568 if test "$wxUSE_CHOICEDLG" = "yes"; then
45569 cat >>confdefs.h
<<\_ACEOF
45570 #define wxUSE_CHOICEDLG 1
45575 if test "$wxUSE_COLOURDLG" = "yes"; then
45576 cat >>confdefs.h
<<\_ACEOF
45577 #define wxUSE_COLOURDLG 1
45582 if test "$wxUSE_FILEDLG" = "yes"; then
45583 cat >>confdefs.h
<<\_ACEOF
45584 #define wxUSE_FILEDLG 1
45589 if test "$wxUSE_FINDREPLDLG" = "yes"; then
45590 cat >>confdefs.h
<<\_ACEOF
45591 #define wxUSE_FINDREPLDLG 1
45596 if test "$wxUSE_FONTDLG" = "yes"; then
45597 cat >>confdefs.h
<<\_ACEOF
45598 #define wxUSE_FONTDLG 1
45603 if test "$wxUSE_DIRDLG" = "yes"; then
45604 if test "$wxUSE_TREECTRL" != "yes"; then
45605 { echo "$as_me:$LINENO: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&5
45606 echo "$as_me: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&2;}
45608 cat >>confdefs.h
<<\_ACEOF
45609 #define wxUSE_DIRDLG 1
45615 if test "$wxUSE_MSGDLG" = "yes"; then
45616 cat >>confdefs.h
<<\_ACEOF
45617 #define wxUSE_MSGDLG 1
45622 if test "$wxUSE_NUMBERDLG" = "yes"; then
45623 cat >>confdefs.h
<<\_ACEOF
45624 #define wxUSE_NUMBERDLG 1
45629 if test "$wxUSE_PROGRESSDLG" = "yes"; then
45630 if test "$wxUSE_CONSTRAINTS" != "yes"; then
45631 { echo "$as_me:$LINENO: WARNING: wxProgressDialog requires constraints so it won't be compiled without them" >&5
45632 echo "$as_me: WARNING: wxProgressDialog requires constraints so it won't be compiled without them" >&2;}
45634 cat >>confdefs.h
<<\_ACEOF
45635 #define wxUSE_PROGRESSDLG 1
45641 if test "$wxUSE_SPLASH" = "yes"; then
45642 cat >>confdefs.h
<<\_ACEOF
45643 #define wxUSE_SPLASH 1
45646 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS splash"
45649 if test "$wxUSE_STARTUP_TIPS" = "yes"; then
45650 if test "$wxUSE_CONSTRAINTS" != "yes"; then
45651 { echo "$as_me:$LINENO: WARNING: Startup tips requires constraints and won't be compiled without them" >&5
45652 echo "$as_me: WARNING: Startup tips requires constraints and won't be compiled without them" >&2;}
45654 cat >>confdefs.h
<<\_ACEOF
45655 #define wxUSE_STARTUP_TIPS 1
45661 if test "$wxUSE_TEXTDLG" = "yes"; then
45662 cat >>confdefs.h
<<\_ACEOF
45663 #define wxUSE_TEXTDLG 1
45668 if test "$wxUSE_WIZARDDLG" = "yes"; then
45669 cat >>confdefs.h
<<\_ACEOF
45670 #define wxUSE_WIZARDDLG 1
45673 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS wizard"
45677 if test "$wxUSE_GRAPHICS_CONTEXT" = "yes"; then
45678 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = "1"; then
45679 cat >>confdefs.h
<<\_ACEOF
45680 #define wxUSE_GRAPHICS_CONTEXT 1
45683 elif test "$wxUSE_GTK" != 1; then
45684 cat >>confdefs.h
<<\_ACEOF
45685 #define wxUSE_GRAPHICS_CONTEXT 1
45691 { echo "$as_me:$LINENO: checking for CAIRO" >&5
45692 echo $ECHO_N "checking for CAIRO... $ECHO_C" >&6; }
45694 if test -n "$PKG_CONFIG"; then
45695 if test -n "$CAIRO_CFLAGS"; then
45696 pkg_cv_CAIRO_CFLAGS
="$CAIRO_CFLAGS"
45698 if test -n "$PKG_CONFIG" && \
45699 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"cairo\"") >&5
45700 ($PKG_CONFIG --exists --print-errors "cairo") 2>&5
45702 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45703 (exit $ac_status); }; then
45704 pkg_cv_CAIRO_CFLAGS
=`$PKG_CONFIG --cflags "cairo" 2>/dev/null`
45712 if test -n "$PKG_CONFIG"; then
45713 if test -n "$CAIRO_LIBS"; then
45714 pkg_cv_CAIRO_LIBS
="$CAIRO_LIBS"
45716 if test -n "$PKG_CONFIG" && \
45717 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"cairo\"") >&5
45718 ($PKG_CONFIG --exists --print-errors "cairo") 2>&5
45720 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45721 (exit $ac_status); }; then
45722 pkg_cv_CAIRO_LIBS
=`$PKG_CONFIG --libs "cairo" 2>/dev/null`
45733 if test $pkg_failed = yes; then
45735 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
45736 _pkg_short_errors_supported
=yes
45738 _pkg_short_errors_supported
=no
45740 if test $_pkg_short_errors_supported = yes; then
45741 CAIRO_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "cairo"`
45743 CAIRO_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "cairo"`
45745 # Put the nasty error message in config.log where it belongs
45746 echo "$CAIRO_PKG_ERRORS" >&5
45748 { echo "$as_me:$LINENO: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&5
45749 echo "$as_me: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&2;}
45751 elif test $pkg_failed = untried
; then
45752 { echo "$as_me:$LINENO: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&5
45753 echo "$as_me: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&2;}
45756 CAIRO_CFLAGS
=$pkg_cv_CAIRO_CFLAGS
45757 CAIRO_LIBS
=$pkg_cv_CAIRO_LIBS
45758 { echo "$as_me:$LINENO: result: yes" >&5
45759 echo "${ECHO_T}yes" >&6; }
45760 cat >>confdefs.h
<<\_ACEOF
45761 #define wxUSE_GRAPHICS_CONTEXT 1
45771 if test "$wxUSE_MEDIACTRL" = "yes"; then
45774 if test "$wxUSE_GTK" = 1; then
45775 wxUSE_GSTREAMER
="no"
45777 GST_VERSION_MAJOR
=0
45778 GST_VERSION_MINOR
=10
45779 GST_VERSION
=$GST_VERSION_MAJOR.
$GST_VERSION_MINOR
45781 if test "$wxUSE_GSTREAMER8" = "no"; then
45784 { echo "$as_me:$LINENO: checking for GST" >&5
45785 echo $ECHO_N "checking for GST... $ECHO_C" >&6; }
45787 if test -n "$PKG_CONFIG"; then
45788 if test -n "$GST_CFLAGS"; then
45789 pkg_cv_GST_CFLAGS
="$GST_CFLAGS"
45791 if test -n "$PKG_CONFIG" && \
45792 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-plugins-base-\$GST_VERSION gconf-2.0\"") >&5
45793 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0") 2>&5
45795 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45796 (exit $ac_status); }; then
45797 pkg_cv_GST_CFLAGS
=`$PKG_CONFIG --cflags "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0" 2>/dev/null`
45805 if test -n "$PKG_CONFIG"; then
45806 if test -n "$GST_LIBS"; then
45807 pkg_cv_GST_LIBS
="$GST_LIBS"
45809 if test -n "$PKG_CONFIG" && \
45810 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-plugins-base-\$GST_VERSION gconf-2.0\"") >&5
45811 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0") 2>&5
45813 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45814 (exit $ac_status); }; then
45815 pkg_cv_GST_LIBS
=`$PKG_CONFIG --libs "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0" 2>/dev/null`
45826 if test $pkg_failed = yes; then
45828 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
45829 _pkg_short_errors_supported
=yes
45831 _pkg_short_errors_supported
=no
45833 if test $_pkg_short_errors_supported = yes; then
45834 GST_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0"`
45836 GST_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0"`
45838 # Put the nasty error message in config.log where it belongs
45839 echo "$GST_PKG_ERRORS" >&5
45842 { echo "$as_me:$LINENO: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&5
45843 echo "$as_me: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&2;}
45844 GST_VERSION_MINOR
=8
45847 elif test $pkg_failed = untried
; then
45849 { echo "$as_me:$LINENO: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&5
45850 echo "$as_me: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&2;}
45851 GST_VERSION_MINOR
=8
45855 GST_CFLAGS
=$pkg_cv_GST_CFLAGS
45856 GST_LIBS
=$pkg_cv_GST_LIBS
45857 { echo "$as_me:$LINENO: result: yes" >&5
45858 echo "${ECHO_T}yes" >&6; }
45860 wxUSE_GSTREAMER
="yes"
45861 GST_LIBS
="$GST_LIBS -lgstinterfaces-$GST_VERSION"
45865 GST_VERSION_MINOR
=8
45868 if test $GST_VERSION_MINOR = "8"; then
45869 GST_VERSION
=$GST_VERSION_MAJOR.
$GST_VERSION_MINOR
45872 { echo "$as_me:$LINENO: checking for GST" >&5
45873 echo $ECHO_N "checking for GST... $ECHO_C" >&6; }
45875 if test -n "$PKG_CONFIG"; then
45876 if test -n "$GST_CFLAGS"; then
45877 pkg_cv_GST_CFLAGS
="$GST_CFLAGS"
45879 if test -n "$PKG_CONFIG" && \
45880 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-interfaces-\$GST_VERSION gstreamer-gconf-\$GST_VERSION\"") >&5
45881 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION") 2>&5
45883 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45884 (exit $ac_status); }; then
45885 pkg_cv_GST_CFLAGS
=`$PKG_CONFIG --cflags "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION" 2>/dev/null`
45893 if test -n "$PKG_CONFIG"; then
45894 if test -n "$GST_LIBS"; then
45895 pkg_cv_GST_LIBS
="$GST_LIBS"
45897 if test -n "$PKG_CONFIG" && \
45898 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-interfaces-\$GST_VERSION gstreamer-gconf-\$GST_VERSION\"") >&5
45899 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION") 2>&5
45901 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45902 (exit $ac_status); }; then
45903 pkg_cv_GST_LIBS
=`$PKG_CONFIG --libs "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION" 2>/dev/null`
45914 if test $pkg_failed = yes; then
45916 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
45917 _pkg_short_errors_supported
=yes
45919 _pkg_short_errors_supported
=no
45921 if test $_pkg_short_errors_supported = yes; then
45922 GST_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION"`
45924 GST_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION"`
45926 # Put the nasty error message in config.log where it belongs
45927 echo "$GST_PKG_ERRORS" >&5
45930 { echo "$as_me:$LINENO: WARNING: GStreamer 0.8/0.10 not available." >&5
45931 echo "$as_me: WARNING: GStreamer 0.8/0.10 not available." >&2;}
45933 elif test $pkg_failed = untried
; then
45935 { echo "$as_me:$LINENO: WARNING: GStreamer 0.8/0.10 not available." >&5
45936 echo "$as_me: WARNING: GStreamer 0.8/0.10 not available." >&2;}
45939 GST_CFLAGS
=$pkg_cv_GST_CFLAGS
45940 GST_LIBS
=$pkg_cv_GST_LIBS
45941 { echo "$as_me:$LINENO: result: yes" >&5
45942 echo "${ECHO_T}yes" >&6; }
45943 wxUSE_GSTREAMER
="yes"
45948 if test "$wxUSE_GSTREAMER" = "yes"; then
45949 CPPFLAGS
="$GST_CFLAGS $CPPFLAGS"
45950 LIBS
="$GST_LIBS $LIBS"
45952 cat >>confdefs.h
<<\_ACEOF
45953 #define wxUSE_GSTREAMER 1
45961 if test $USE_MEDIA = 1; then
45962 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS mediaplayer"
45963 cat >>confdefs.h
<<\_ACEOF
45964 #define wxUSE_MEDIACTRL 1
45971 if test "$cross_compiling" = "yes"; then
45974 OSINFO
=`uname -s -r -m`
45975 OSINFO
="\"$OSINFO\""
45978 cat >>confdefs.h
<<_ACEOF
45979 #define WXWIN_OS_DESCRIPTION $OSINFO
45984 if test "x$prefix" != "xNONE"; then
45987 wxPREFIX
=$ac_default_prefix
45990 cat >>confdefs.h
<<_ACEOF
45991 #define wxINSTALL_PREFIX "$wxPREFIX"
45997 CORE_BASE_LIBS
="net base"
45998 CORE_GUI_LIBS
="adv core"
46000 if test "$wxUSE_XML" = "yes" ; then
46001 CORE_BASE_LIBS
="xml $CORE_BASE_LIBS"
46003 if test "$wxUSE_ODBC" != "no" ; then
46004 CORE_BASE_LIBS
="odbc $CORE_BASE_LIBS"
46005 CORE_GUI_LIBS
="dbgrid $CORE_GUI_LIBS"
46007 if test "$wxUSE_HTML" = "yes" ; then
46008 CORE_GUI_LIBS
="html $CORE_GUI_LIBS"
46010 if test "$wxUSE_DEBUGREPORT" = "yes" ; then
46011 CORE_GUI_LIBS
="qa $CORE_GUI_LIBS"
46013 if test "$wxUSE_XRC" = "yes" ; then
46014 CORE_GUI_LIBS
="xrc $CORE_GUI_LIBS"
46016 if test "$wxUSE_AUI" = "yes" ; then
46017 CORE_GUI_LIBS
="aui $CORE_GUI_LIBS"
46019 if test "$wxUSE_STC" = "yes" ; then
46020 CORE_GUI_LIBS
="stc $CORE_GUI_LIBS"
46023 if test "$wxUSE_GUI" != "yes"; then
46032 if test "$wxUSE_MAC" = 1 ; then
46033 if test "$wxUSE_SOUND" = "yes" || test "$wxUSE_MEDIACTRL" = "yes"; then
46034 if test "$USE_DARWIN" = 1; then
46035 LDFLAGS
="$LDFLAGS -framework QuickTime"
46037 LDFLAGS
="$LDFLAGS -lQuickTimeLib"
46040 if test "$USE_DARWIN" = 1; then
46041 LDFLAGS
="$LDFLAGS -framework IOKit -framework Carbon -framework Cocoa -framework System"
46043 LDFLAGS
="$LDFLAGS -lCarbonLib"
46046 if test "$wxUSE_COCOA" = 1 ; then
46047 LDFLAGS
="$LDFLAGS -framework IOKit -framework Cocoa"
46048 if test "$wxUSE_MEDIACTRL" = "yes"; then
46049 LDFLAGS
="$LDFLAGS -framework QuickTime"
46052 if test "$USE_DARWIN" = 1 -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1 ; then
46053 LDFLAGS
="$LDFLAGS -framework IOKit -framework CoreServices -framework System -framework ApplicationServices"
46056 LIBS
="$ZLIB_LINK $POSIX4_LINK $INET_LINK $WCHAR_LINK $DL_LINK $LIBS"
46058 if test "$wxUSE_GUI" = "yes"; then
46061 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS artprov controls dialogs drawing \
46062 dynamic erase event exec font image minimal mobile \
46063 mobile/wxedit mobile/styles propsize render \
46064 rotate shaped svg taborder vscroll widgets"
46066 if test "$wxUSE_MONOLITHIC" != "yes"; then
46067 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS console"
46069 if test "$TOOLKIT" = "MSW"; then
46070 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS regtest"
46071 if test "$wxUSE_UNIVERSAL" != "yes"; then
46072 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS ownerdrw nativdlg"
46075 if test "$TOOLKIT" = "PM" -a "$wxUSE_UNIVERSAL" != "yes"; then
46076 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS ownerdrw"
46079 SAMPLES_SUBDIRS
="console"
46083 if test "x$INTELCC" = "xyes" ; then
46084 CWARNINGS
="-Wall -wd810,869,981,1418,1572,1684"
46085 elif test "$GCC" = yes ; then
46086 CWARNINGS
="-Wall -Wundef"
46089 if test "x$INTELCXX" = "xyes" ; then
46090 CXXWARNINGS
="-Wall -wd279,383,444,810,869,981,1418,1419"
46091 elif test "$GXX" = yes ; then
46092 CXXWARNINGS
="-Wall -Wundef -Wno-ctor-dtor-privacy"
46096 WXCONFIG_CFLAGS
=`echo $WXCONFIG_CFLAGS`
46097 WXCONFIG_CXXFLAGS
=`echo $WXCONFIG_CFLAGS $WXCONFIG_CXXFLAGS`
46100 CPPFLAGS
=`echo $WXCONFIG_CPPFLAGS \
46101 -I\\${wx_top_builddir}/lib/wx/include/${TOOLCHAIN_FULLNAME} \
46102 -I\\${top_srcdir}/include $TOOLKIT_INCLUDE \
46105 C_AND_CXX_FLAGS
="$DEBUG_CFLAGS $PROFILE_FLAGS $OPTIMISE_CFLAGS"
46106 CFLAGS
=`echo $WXCONFIG_CFLAGS $CWARNINGS $C_AND_CXX_FLAGS $CFLAGS `
46107 CXXFLAGS
=`echo $WXCONFIG_CXXFLAGS $C_AND_CXX_FLAGS $CXXFLAGS `
46109 WXCONFIG_CPPFLAGS
=`echo $WXCONFIG_CPPFLAGS $WXCONFIG_ONLY_CPPFLAGS`
46112 if test "x$MWCC" = "xyes"; then
46114 CC
="$CC -cwd source -I-"
46115 CXX
="$CXX -cwd source -I-"
46120 EXTRALIBS
="$LDFLAGS $LDFLAGS_VERSIONING $LIBS $DMALLOC_LIBS"
46121 EXTRALIBS_XML
="$EXPAT_LINK"
46122 EXTRALIBS_HTML
="$MSPACK_LINK"
46123 EXTRALIBS_ODBC
="$ODBC_LINK"
46124 EXTRALIBS_STC
="-lwxscintilla${lib_debug_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX}"
46125 if test "$wxUSE_GUI" = "yes"; then
46126 EXTRALIBS_GUI
=`echo $GUI_TK_LIBRARY $PNG_LINK $JPEG_LINK $TIFF_LINK $WEBKIT_LINK $EXTRALIBS_HILDON $EXTRALIBS_GNOMEVFS $EXTRALIBS_GNOMEPRINT`
46128 if test "$wxUSE_OPENGL" = "yes"; then
46129 EXTRALIBS_OPENGL
="$LDFLAGS_GL $OPENGL_LIBS"
46132 LDFLAGS
="$LDFLAGS $PROFILE_FLAGS"
46134 WXCONFIG_LIBS
="$LIBS"
46136 if test "$wxUSE_REGEX" = "builtin" ; then
46137 wxconfig_3rdparty
="regex${lib_unicode_suffix} $wxconfig_3rdparty"
46139 if test "$wxUSE_EXPAT" = "builtin" ; then
46140 wxconfig_3rdparty
="expat $wxconfig_3rdparty"
46142 if test "$wxUSE_ODBC" = "builtin" ; then
46143 wxconfig_3rdparty
="odbc $wxconfig_3rdparty"
46145 if test "$wxUSE_LIBTIFF" = "builtin" ; then
46146 wxconfig_3rdparty
="tiff $wxconfig_3rdparty"
46148 if test "$wxUSE_LIBJPEG" = "builtin" ; then
46149 wxconfig_3rdparty
="jpeg $wxconfig_3rdparty"
46151 if test "$wxUSE_LIBPNG" = "builtin" ; then
46152 wxconfig_3rdparty
="png $wxconfig_3rdparty"
46154 if test "$wxUSE_ZLIB" = "builtin" ; then
46155 wxconfig_3rdparty
="zlib $wxconfig_3rdparty"
46158 for i
in $wxconfig_3rdparty ; do
46159 WXCONFIG_LIBS
="-lwx${i}${lib_debug_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX} $WXCONFIG_LIBS"
46163 if test "x$wxUSE_UNIVERSAL" = "xyes" ; then
46166 case "$wxUNIV_THEMES" in
46168 cat >>confdefs.h
<<\_ACEOF
46169 #define wxUSE_ALL_THEMES 1
46175 for t
in `echo $wxUNIV_THEMES | tr , ' ' | tr a-z A-Z`; do
46176 cat >>confdefs.h
<<_ACEOF
46177 #define wxUSE_THEME_$t 1
46194 if test $wxUSE_MONOLITHIC = "yes" ; then
46200 if test $wxUSE_PLUGINS = "yes" ; then
46206 if test $wxUSE_ODBC != "no" ; then
46212 if test "$wxUSE_DEBUGREPORT" = "yes" ; then
46218 if test $wxUSE_OFFICIAL_BUILD = "yes" ; then
46249 TOOLKIT_LOWERCASE
=`echo $TOOLKIT | tr "[A-Z]" "[a-z]"`
46260 TOOLKIT_DESC
="GTK+"
46261 if test "$WXGTK20" = 1; then
46262 TOOLKIT_DESC
="$TOOLKIT_DESC 2"
46263 if test "$wxUSE_LIBGNOMEPRINT" = "yes" ; then
46264 TOOLKIT_EXTRA
="$TOOLKIT_EXTRA gnomeprint";
46266 if test "$wxUSE_LIBGNOMEVFS" = "yes" ; then
46267 TOOLKIT_EXTRA
="$TOOLKIT_EXTRA gnomevfs"
46269 if test "$wxUSE_LIBHILDON" = "yes"; then
46270 TOOLKIT_EXTRA
="$TOOLKIT_EXTRA hildon"
46273 if test "$TOOLKIT_EXTRA" != ""; then
46274 TOOLKIT_DESC
="$TOOLKIT_DESC with support for `echo $TOOLKIT_EXTRA | tr -s ' '`"
46280 TOOLKIT_DESC
=$TOOLKIT_LOWERCASE
46284 TOOLKIT_DESC
="base only"
46288 if test "$wxUSE_WINE" = "yes"; then
46289 BAKEFILE_FORCE_PLATFORM
=win32
46292 if test "$wxUSE_MAC" = 1 ; then
46293 if test "x$wxUSE_UNIVERSAL_BINARY" != xno
; then
46294 if test "x$wxUSE_UNIVERSAL_BINARY" == xyes
; then
46295 OSX_UNIV_OPTS
="-isysroot /Developer/SDKs/MacOSX10.4u.sdk"
46297 OSX_UNIV_OPTS
=${wxUSE_UNIVERSAL_BINARY:+"-isysroot '$wxUSE_UNIVERSAL_BINARY'"}
46299 OSX_UNIV_OPTS
="$OSX_UNIV_OPTS -arch ppc -arch i386"
46300 CXXFLAGS
="$OSX_UNIV_OPTS $CXXFLAGS"
46301 CFLAGS
="$OSX_UNIV_OPTS $CFLAGS"
46302 LDFLAGS
="$OSX_UNIV_OPTS $LDFLAGS"
46305 # TODO: where do we add "-syslibroot,/Developer/SDKs/MacOSX10.4u.sdk" for libtool (static builds only)?
46306 # The makefile currently uses AR and RANLIB, which libtool apparently supercedes.
46309 if test "$wxUSE_UNICODE" = yes -a "$GCC" = yes -a "$bk_use_pch" != no
46311 { echo "$as_me:$LINENO: checking for gcc precompiled header bug" >&5
46312 echo $ECHO_N "checking for gcc precompiled header bug... $ECHO_C" >&6; }
46313 if test "${wx_cv_gcc_pch_bug+set}" = set; then
46314 echo $ECHO_N "(cached) $ECHO_C" >&6
46317 echo '#include <stdio.h>
46318 const wchar_t test_var[] = L"awidetest";' > conftest.h
46320 echo '#include "conftest.h"
46323 printf("%ls", test_var);
46327 wx_cv_gcc_pch_bug
="pch not supported"
46329 if $CXX conftest.h
>/dev
/null
2>&1
46333 if $CXX -o conftest
$PROGRAM_EXT conftest.cpp
>/dev
/null
2>&1
46335 if tr -dc '[a-z]' < conftest
$PROGRAM_EXT |
46336 grep awidetest
>/dev
/null
46338 wx_cv_gcc_pch_bug
=no
46340 wx_cv_gcc_pch_bug
=yes
46345 rm -f conftest.h conftest.gch conftest.cpp conftest
$PROGRAM_EXT
46348 { echo "$as_me:$LINENO: result: $wx_cv_gcc_pch_bug" >&5
46349 echo "${ECHO_T}$wx_cv_gcc_pch_bug" >&6; }
46351 if test "$wx_cv_gcc_pch_bug" = yes; then
46359 if test "x$BAKEFILE_HOST" = "x"; then
46360 if test "x${host}" = "x" ; then
46361 { { echo "$as_me:$LINENO: error: You must call the autoconf \"CANONICAL_HOST\" macro in your configure.ac (or .in) file." >&5
46362 echo "$as_me: error: You must call the autoconf \"CANONICAL_HOST\" macro in your configure.ac (or .in) file." >&2;}
46363 { (exit 1); exit 1; }; }
46366 BAKEFILE_HOST
="${host}"
46369 if test "x$BAKEFILE_CHECK_BASICS" != "xno"; then
46371 if test -n "$ac_tool_prefix"; then
46372 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
46373 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
46374 { echo "$as_me:$LINENO: checking for $ac_word" >&5
46375 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
46376 if test "${ac_cv_prog_RANLIB+set}" = set; then
46377 echo $ECHO_N "(cached) $ECHO_C" >&6
46379 if test -n "$RANLIB"; then
46380 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
46382 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
46383 for as_dir
in $PATH
46386 test -z "$as_dir" && as_dir
=.
46387 for ac_exec_ext
in '' $ac_executable_extensions; do
46388 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
46389 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
46390 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
46399 RANLIB
=$ac_cv_prog_RANLIB
46400 if test -n "$RANLIB"; then
46401 { echo "$as_me:$LINENO: result: $RANLIB" >&5
46402 echo "${ECHO_T}$RANLIB" >&6; }
46404 { echo "$as_me:$LINENO: result: no" >&5
46405 echo "${ECHO_T}no" >&6; }
46410 if test -z "$ac_cv_prog_RANLIB"; then
46411 ac_ct_RANLIB
=$RANLIB
46412 # Extract the first word of "ranlib", so it can be a program name with args.
46413 set dummy ranlib
; ac_word
=$2
46414 { echo "$as_me:$LINENO: checking for $ac_word" >&5
46415 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
46416 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
46417 echo $ECHO_N "(cached) $ECHO_C" >&6
46419 if test -n "$ac_ct_RANLIB"; then
46420 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
46422 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
46423 for as_dir
in $PATH
46426 test -z "$as_dir" && as_dir
=.
46427 for ac_exec_ext
in '' $ac_executable_extensions; do
46428 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
46429 ac_cv_prog_ac_ct_RANLIB
="ranlib"
46430 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
46439 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
46440 if test -n "$ac_ct_RANLIB"; then
46441 { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
46442 echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
46444 { echo "$as_me:$LINENO: result: no" >&5
46445 echo "${ECHO_T}no" >&6; }
46448 if test "x$ac_ct_RANLIB" = x
; then
46451 case $cross_compiling:$ac_tool_warned in
46453 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
46454 whose name does not start with the host triplet. If you think this
46455 configuration is useful to you, please write to autoconf@gnu.org." >&5
46456 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
46457 whose name does not start with the host triplet. If you think this
46458 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
46459 ac_tool_warned
=yes ;;
46461 RANLIB
=$ac_ct_RANLIB
46464 RANLIB
="$ac_cv_prog_RANLIB"
46467 # Find a good install program. We prefer a C program (faster),
46468 # so one script is as good as another. But avoid the broken or
46469 # incompatible versions:
46470 # SysV /etc/install, /usr/sbin/install
46471 # SunOS /usr/etc/install
46472 # IRIX /sbin/install
46474 # AmigaOS /C/install, which installs bootblocks on floppy discs
46475 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
46476 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
46477 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
46478 # OS/2's system install, which has a completely different semantic
46479 # ./install, which can be erroneously created by make from ./install.sh.
46480 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
46481 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
46482 if test -z "$INSTALL"; then
46483 if test "${ac_cv_path_install+set}" = set; then
46484 echo $ECHO_N "(cached) $ECHO_C" >&6
46486 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
46487 for as_dir
in $PATH
46490 test -z "$as_dir" && as_dir
=.
46491 # Account for people who put trailing slashes in PATH elements.
46493 .
/ | .
// | /cC
/* | \
46494 /etc
/* | /usr
/sbin
/* | /usr
/etc
/* | /sbin
/* | /usr
/afsws
/bin
/* | \
46495 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
46498 # OSF1 and SCO ODT 3.0 have their own names for install.
46499 # Don't use installbsd from OSF since it installs stuff as root
46501 for ac_prog
in ginstall scoinst
install; do
46502 for ac_exec_ext
in '' $ac_executable_extensions; do
46503 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
46504 if test $ac_prog = install &&
46505 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
46506 # AIX install. It has an incompatible calling convention.
46508 elif test $ac_prog = install &&
46509 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
46510 # program-specific install script used by HP pwplus--don't use.
46513 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
46526 if test "${ac_cv_path_install+set}" = set; then
46527 INSTALL
=$ac_cv_path_install
46529 # As a last resort, use the slow shell script. Don't cache a
46530 # value for INSTALL within a source directory, because that will
46531 # break other packages using the cache if that directory is
46532 # removed, or if the value is a relative name.
46533 INSTALL
=$ac_install_sh
46536 { echo "$as_me:$LINENO: result: $INSTALL" >&5
46537 echo "${ECHO_T}$INSTALL" >&6; }
46539 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
46540 # It thinks the first close brace ends the variable substitution.
46541 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
46543 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
46545 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
46547 { echo "$as_me:$LINENO: checking whether ln -s works" >&5
46548 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; }
46550 if test "$LN_S" = "ln -s"; then
46551 { echo "$as_me:$LINENO: result: yes" >&5
46552 echo "${ECHO_T}yes" >&6; }
46554 { echo "$as_me:$LINENO: result: no, using $LN_S" >&5
46555 echo "${ECHO_T}no, using $LN_S" >&6; }
46559 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
46560 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
46561 set x
${MAKE-make}; ac_make
=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
46562 if { as_var
=ac_cv_prog_make_
${ac_make}_set
; eval "test \"\${$as_var+set}\" = set"; }; then
46563 echo $ECHO_N "(cached) $ECHO_C" >&6
46565 cat >conftest.
make <<\_ACEOF
46568 @
echo '@@@%%%=$(MAKE)=@@@%%%'
46570 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
46571 case `${MAKE-make} -f conftest.make 2>/dev/null` in
46572 *@@@
%%%=?
*=@@@
%%%*)
46573 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
46575 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
46577 rm -f conftest.
make
46579 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
46580 { echo "$as_me:$LINENO: result: yes" >&5
46581 echo "${ECHO_T}yes" >&6; }
46584 { echo "$as_me:$LINENO: result: no" >&5
46585 echo "${ECHO_T}no" >&6; }
46586 SET_MAKE
="MAKE=${MAKE-make}"
46591 if test "x$SUNCXX" = "xyes"; then
46593 AROPTIONS
="-xar -o"
46595 elif test "x$SGICC" = "xyes"; then
46600 if test -n "$ac_tool_prefix"; then
46601 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
46602 set dummy
${ac_tool_prefix}ar; ac_word
=$2
46603 { echo "$as_me:$LINENO: checking for $ac_word" >&5
46604 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
46605 if test "${ac_cv_prog_AR+set}" = set; then
46606 echo $ECHO_N "(cached) $ECHO_C" >&6
46608 if test -n "$AR"; then
46609 ac_cv_prog_AR
="$AR" # Let the user override the test.
46611 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
46612 for as_dir
in $PATH
46615 test -z "$as_dir" && as_dir
=.
46616 for ac_exec_ext
in '' $ac_executable_extensions; do
46617 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
46618 ac_cv_prog_AR
="${ac_tool_prefix}ar"
46619 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
46629 if test -n "$AR"; then
46630 { echo "$as_me:$LINENO: result: $AR" >&5
46631 echo "${ECHO_T}$AR" >&6; }
46633 { echo "$as_me:$LINENO: result: no" >&5
46634 echo "${ECHO_T}no" >&6; }
46639 if test -z "$ac_cv_prog_AR"; then
46641 # Extract the first word of "ar", so it can be a program name with args.
46642 set dummy
ar; ac_word
=$2
46643 { echo "$as_me:$LINENO: checking for $ac_word" >&5
46644 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
46645 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
46646 echo $ECHO_N "(cached) $ECHO_C" >&6
46648 if test -n "$ac_ct_AR"; then
46649 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
46651 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
46652 for as_dir
in $PATH
46655 test -z "$as_dir" && as_dir
=.
46656 for ac_exec_ext
in '' $ac_executable_extensions; do
46657 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
46658 ac_cv_prog_ac_ct_AR
="ar"
46659 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
46668 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
46669 if test -n "$ac_ct_AR"; then
46670 { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
46671 echo "${ECHO_T}$ac_ct_AR" >&6; }
46673 { echo "$as_me:$LINENO: result: no" >&5
46674 echo "${ECHO_T}no" >&6; }
46677 if test "x$ac_ct_AR" = x
; then
46680 case $cross_compiling:$ac_tool_warned in
46682 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
46683 whose name does not start with the host triplet. If you think this
46684 configuration is useful to you, please write to autoconf@gnu.org." >&5
46685 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
46686 whose name does not start with the host triplet. If you think this
46687 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
46688 ac_tool_warned
=yes ;;
46693 AR
="$ac_cv_prog_AR"
46700 if test -n "$ac_tool_prefix"; then
46701 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
46702 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
46703 { echo "$as_me:$LINENO: checking for $ac_word" >&5
46704 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
46705 if test "${ac_cv_prog_STRIP+set}" = set; then
46706 echo $ECHO_N "(cached) $ECHO_C" >&6
46708 if test -n "$STRIP"; then
46709 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
46711 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
46712 for as_dir
in $PATH
46715 test -z "$as_dir" && as_dir
=.
46716 for ac_exec_ext
in '' $ac_executable_extensions; do
46717 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
46718 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
46719 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
46728 STRIP
=$ac_cv_prog_STRIP
46729 if test -n "$STRIP"; then
46730 { echo "$as_me:$LINENO: result: $STRIP" >&5
46731 echo "${ECHO_T}$STRIP" >&6; }
46733 { echo "$as_me:$LINENO: result: no" >&5
46734 echo "${ECHO_T}no" >&6; }
46739 if test -z "$ac_cv_prog_STRIP"; then
46741 # Extract the first word of "strip", so it can be a program name with args.
46742 set dummy strip
; ac_word
=$2
46743 { echo "$as_me:$LINENO: checking for $ac_word" >&5
46744 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
46745 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
46746 echo $ECHO_N "(cached) $ECHO_C" >&6
46748 if test -n "$ac_ct_STRIP"; then
46749 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
46751 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
46752 for as_dir
in $PATH
46755 test -z "$as_dir" && as_dir
=.
46756 for ac_exec_ext
in '' $ac_executable_extensions; do
46757 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
46758 ac_cv_prog_ac_ct_STRIP
="strip"
46759 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
46768 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
46769 if test -n "$ac_ct_STRIP"; then
46770 { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
46771 echo "${ECHO_T}$ac_ct_STRIP" >&6; }
46773 { echo "$as_me:$LINENO: result: no" >&5
46774 echo "${ECHO_T}no" >&6; }
46777 if test "x$ac_ct_STRIP" = x
; then
46780 case $cross_compiling:$ac_tool_warned in
46782 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
46783 whose name does not start with the host triplet. If you think this
46784 configuration is useful to you, please write to autoconf@gnu.org." >&5
46785 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
46786 whose name does not start with the host triplet. If you think this
46787 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
46788 ac_tool_warned
=yes ;;
46793 STRIP
="$ac_cv_prog_STRIP"
46796 if test -n "$ac_tool_prefix"; then
46797 # Extract the first word of "${ac_tool_prefix}nm", so it can be a program name with args.
46798 set dummy
${ac_tool_prefix}nm
; ac_word
=$2
46799 { echo "$as_me:$LINENO: checking for $ac_word" >&5
46800 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
46801 if test "${ac_cv_prog_NM+set}" = set; then
46802 echo $ECHO_N "(cached) $ECHO_C" >&6
46804 if test -n "$NM"; then
46805 ac_cv_prog_NM
="$NM" # Let the user override the test.
46807 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
46808 for as_dir
in $PATH
46811 test -z "$as_dir" && as_dir
=.
46812 for ac_exec_ext
in '' $ac_executable_extensions; do
46813 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
46814 ac_cv_prog_NM
="${ac_tool_prefix}nm"
46815 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
46825 if test -n "$NM"; then
46826 { echo "$as_me:$LINENO: result: $NM" >&5
46827 echo "${ECHO_T}$NM" >&6; }
46829 { echo "$as_me:$LINENO: result: no" >&5
46830 echo "${ECHO_T}no" >&6; }
46835 if test -z "$ac_cv_prog_NM"; then
46837 # Extract the first word of "nm", so it can be a program name with args.
46838 set dummy nm
; ac_word
=$2
46839 { echo "$as_me:$LINENO: checking for $ac_word" >&5
46840 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
46841 if test "${ac_cv_prog_ac_ct_NM+set}" = set; then
46842 echo $ECHO_N "(cached) $ECHO_C" >&6
46844 if test -n "$ac_ct_NM"; then
46845 ac_cv_prog_ac_ct_NM
="$ac_ct_NM" # Let the user override the test.
46847 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
46848 for as_dir
in $PATH
46851 test -z "$as_dir" && as_dir
=.
46852 for ac_exec_ext
in '' $ac_executable_extensions; do
46853 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
46854 ac_cv_prog_ac_ct_NM
="nm"
46855 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
46864 ac_ct_NM
=$ac_cv_prog_ac_ct_NM
46865 if test -n "$ac_ct_NM"; then
46866 { echo "$as_me:$LINENO: result: $ac_ct_NM" >&5
46867 echo "${ECHO_T}$ac_ct_NM" >&6; }
46869 { echo "$as_me:$LINENO: result: no" >&5
46870 echo "${ECHO_T}no" >&6; }
46873 if test "x$ac_ct_NM" = x
; then
46876 case $cross_compiling:$ac_tool_warned in
46878 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
46879 whose name does not start with the host triplet. If you think this
46880 configuration is useful to you, please write to autoconf@gnu.org." >&5
46881 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
46882 whose name does not start with the host triplet. If you think this
46883 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
46884 ac_tool_warned
=yes ;;
46889 NM
="$ac_cv_prog_NM"
46893 case ${BAKEFILE_HOST} in
46895 INSTALL_DIR
="mkdir -p"
46898 INSTALL_DIR
='$(INSTALL) -d'
46904 case ${BAKEFILE_HOST} in
46905 *-*-cygwin* | *-*-mingw32* )
46906 LDFLAGS_GUI
="-mwindows"
46912 { echo "$as_me:$LINENO: checking if make is GNU make" >&5
46913 echo $ECHO_N "checking if make is GNU make... $ECHO_C" >&6; }
46914 if test "${bakefile_cv_prog_makeisgnu+set}" = set; then
46915 echo $ECHO_N "(cached) $ECHO_C" >&6
46918 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev
/null
|
46919 egrep -s GNU
> /dev
/null
); then
46920 bakefile_cv_prog_makeisgnu
="yes"
46922 bakefile_cv_prog_makeisgnu
="no"
46926 { echo "$as_me:$LINENO: result: $bakefile_cv_prog_makeisgnu" >&5
46927 echo "${ECHO_T}$bakefile_cv_prog_makeisgnu" >&6; }
46929 if test "x$bakefile_cv_prog_makeisgnu" = "xyes"; then
46946 if test "x$BAKEFILE_FORCE_PLATFORM" = "x"; then
46947 case "${BAKEFILE_HOST}" in
46954 *-pc-os2_emx | *-pc-os2-emx )
46964 powerpc
-apple-macos* )
46973 case "$BAKEFILE_FORCE_PLATFORM" in
47008 # Check whether --enable-omf was given.
47009 if test "${enable_omf+set}" = set; then
47010 enableval
=$enable_omf; bk_os2_use_omf
="$enableval"
47014 case "${BAKEFILE_HOST}" in
47016 if test "x$GCC" = "xyes"; then
47017 CFLAGS
="$CFLAGS -fno-common"
47018 CXXFLAGS
="$CXXFLAGS -fno-common"
47020 if test "x$XLCC" = "xyes"; then
47021 CFLAGS
="$CFLAGS -qnocommon"
47022 CXXFLAGS
="$CXXFLAGS -qnocommon"
47026 *-pc-os2_emx | *-pc-os2-emx )
47027 if test "x$bk_os2_use_omf" = "xyes" ; then
47030 LDFLAGS
="-Zomf $LDFLAGS"
47031 CFLAGS
="-Zomf $CFLAGS"
47032 CXXFLAGS
="-Zomf $CXXFLAGS"
47040 LDFLAGS
="-L/boot/develop/lib/x86 $LDFLAGS"
47046 SO_SUFFIX_MODULE
="so"
47051 DLLPREFIX_MODULE
=""
47055 case "${BAKEFILE_HOST}" in
47058 SO_SUFFIX_MODULE
="sl"
47062 SO_SUFFIX_MODULE
="a"
47066 SO_SUFFIX_MODULE
="dll"
47067 DLLIMP_SUFFIX
="dll.a"
47074 SO_SUFFIX_MODULE
="dll"
47075 DLLIMP_SUFFIX
="dll.a"
47085 *-pc-os2_emx | *-pc-os2-emx )
47087 SO_SUFFIX_MODULE
="dll"
47088 DLLIMP_SUFFIX
=$OS2_LIBEXT
47092 LIBEXT
=".$OS2_LIBEXT"
47097 SO_SUFFIX_MODULE
="bundle"
47101 if test "x$DLLIMP_SUFFIX" = "x" ; then
47102 DLLIMP_SUFFIX
="$SO_SUFFIX"
47117 if test "x$GCC" = "xyes"; then
47121 SHARED_LD_CC
="\$(CC) -shared ${PIC_FLAG} -o"
47122 SHARED_LD_CXX
="\$(CXX) -shared ${PIC_FLAG} -o"
47125 case "${BAKEFILE_HOST}" in
47127 if test "x$GCC" != "xyes"; then
47128 LDFLAGS
="$LDFLAGS -L/usr/lib"
47130 SHARED_LD_CC
="${CC} -b -o"
47131 SHARED_LD_CXX
="${CXX} -b -o"
47137 if test "$INTELCC" = "yes"; then
47139 elif test "x$SUNCXX" = "xyes"; then
47140 SHARED_LD_CC
="${CC} -G -o"
47141 SHARED_LD_CXX
="${CXX} -G -o"
47147 if test "x$SUNCXX" = xyes
; then
47148 SHARED_LD_CC
="${CC} -G -o"
47149 SHARED_LD_CXX
="${CXX} -G -o"
47157 cat <<EOF >shared-ld-sh
47159 #-----------------------------------------------------------------------------
47160 #-- Name: distrib/mac/shared-ld-sh
47161 #-- Purpose: Link a mach-o dynamic shared library for Darwin / Mac OS X
47162 #-- Author: Gilles Depeyrot
47163 #-- Copyright: (c) 2002 Gilles Depeyrot
47164 #-- Licence: any use permitted
47165 #-----------------------------------------------------------------------------
47170 linking_flag="-dynamiclib"
47171 ldargs="-r -keep_private_externs -nostdlib"
47173 while test ${D}# -gt 0; do
47180 -o|-compatibility_version|-current_version|-framework|-undefined|-install_name)
47181 # collect these options and values
47182 args="${D}{args} ${D}1 ${D}2"
47187 # collect these load args
47188 ldargs="${D}{ldargs} ${D}1"
47191 -l*|-L*|-flat_namespace|-headerpad_max_install_names)
47192 # collect these options
47193 args="${D}{args} ${D}1"
47196 -dynamiclib|-bundle)
47197 linking_flag="${D}1"
47201 echo "shared-ld: unhandled option '${D}1'"
47205 *.o | *.a | *.dylib)
47206 # collect object files
47207 objects="${D}{objects} ${D}1"
47211 echo "shared-ld: unhandled argument '${D}1'"
47222 # Link one module containing all the others
47224 if test ${D}{verbose} = 1; then
47225 echo "c++ ${D}{ldargs} ${D}{objects} -o master.${D}${D}.o"
47227 c++ ${D}{ldargs} ${D}{objects} -o master.${D}${D}.o
47231 # Link the shared library from the single module created, but only if the
47232 # previous command didn't fail:
47234 if test ${D}{status} = 0; then
47235 if test ${D}{verbose} = 1; then
47236 echo "c++ ${D}{linking_flag} master.${D}${D}.o ${D}{args}"
47238 c++ ${D}{linking_flag} master.${D}${D}.o ${D}{args}
47243 # Remove intermediate module
47245 rm -f master.${D}${D}.o
47250 chmod +x shared
-ld-sh
47252 SHARED_LD_MODULE_CC
="`pwd`/shared-ld-sh -bundle -headerpad_max_install_names -o"
47253 SHARED_LD_MODULE_CXX
="$SHARED_LD_MODULE_CC"
47256 { echo "$as_me:$LINENO: checking for gcc 3.1 or later" >&5
47257 echo $ECHO_N "checking for gcc 3.1 or later... $ECHO_C" >&6; }
47258 if test "${bakefile_cv_gcc31+set}" = set; then
47259 echo $ECHO_N "(cached) $ECHO_C" >&6
47262 cat >conftest.
$ac_ext <<_ACEOF
47265 cat confdefs.h
>>conftest.
$ac_ext
47266 cat >>conftest.
$ac_ext <<_ACEOF
47267 /* end confdefs.h. */
47273 #if (__GNUC__ < 3) || \
47274 ((__GNUC__ == 3) && (__GNUC_MINOR__ < 1))
47282 rm -f conftest.
$ac_objext
47283 if { (ac_try
="$ac_compile"
47284 case "(($ac_try" in
47285 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
47286 *) ac_try_echo=$ac_try;;
47288 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47289 (eval "$ac_compile") 2>conftest.er1
47291 grep -v '^ *+' conftest.er1 >conftest.err
47293 cat conftest.err >&5
47294 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47295 (exit $ac_status); } && {
47296 test -z "$ac_c_werror_flag" ||
47297 test ! -s conftest.err
47298 } && test -s conftest.$ac_objext; then
47300 bakefile_cv_gcc31=yes
47303 echo "$as_me: failed program was:" >&5
47304 sed 's/^/| /' conftest.$ac_ext >&5
47307 bakefile_cv_gcc31=no
47312 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47315 { echo "$as_me:$LINENO: result: $bakefile_cv_gcc31" >&5
47316 echo "${ECHO_T}$bakefile_cv_gcc31" >&6; }
47317 if test "$bakefile_cv_gcc31" = "no"; then
47318 SHARED_LD_CC="`pwd`/shared-ld-sh -dynamiclib -headerpad_max_install_names -o"
47319 SHARED_LD_CXX="$SHARED_LD_CC"
47321 SHARED_LD_CC="\${CC} -dynamiclib -single_module -headerpad_max_install_names -o"
47322 SHARED_LD_CXX="\${CXX} -dynamiclib -single_module -headerpad_max_install_names -o"
47325 if test "x$GCC" == "xyes"; then
47326 PIC_FLAG="-dynamic -fPIC"
47328 if test "x$XLCC" = "xyes"; then
47329 PIC_FLAG="-dynamic -DPIC"
47334 if test "x$GCC" = "xyes"; then
47337 case "${BAKEFILE_HOST}" in
47339 LD_EXPFULL="-Wl,-bexpfull"
47343 SHARED_LD_CC="\$(CC) -shared $LD_EXPFULL -o"
47344 SHARED_LD_CXX="\$(CXX) -shared $LD_EXPFULL -o"
47346 # Extract the first word of "makeC++SharedLib", so it can be a program name with args.
47347 set dummy makeC++SharedLib; ac_word=$2
47348 { echo "$as_me:$LINENO: checking for $ac_word" >&5
47349 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
47350 if test "${ac_cv_prog_AIX_CXX_LD+set}" = set; then
47351 echo $ECHO_N "(cached) $ECHO_C" >&6
47353 if test -n "$AIX_CXX_LD"; then
47354 ac_cv_prog_AIX_CXX_LD="$AIX_CXX_LD" # Let the user override the test.
47356 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
47357 for as_dir in $PATH
47360 test -z "$as_dir" && as_dir=.
47361 for ac_exec_ext in '' $ac_executable_extensions; do
47362 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
47363 ac_cv_prog_AIX_CXX_LD="makeC++SharedLib"
47364 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47371 test -z "$ac_cv_prog_AIX_CXX_LD" && ac_cv_prog_AIX_CXX_LD="/usr/lpp/xlC/bin/makeC++SharedLib"
47374 AIX_CXX_LD=$ac_cv_prog_AIX_CXX_LD
47375 if test -n "$AIX_CXX_LD"; then
47376 { echo "$as_me:$LINENO: result: $AIX_CXX_LD" >&5
47377 echo "${ECHO_T}$AIX_CXX_LD" >&6; }
47379 { echo "$as_me:$LINENO: result: no" >&5
47380 echo "${ECHO_T}no" >&6; }
47384 SHARED_LD_CC="$AIX_CC_LD -p 0 -o"
47385 SHARED_LD_CXX="$AIX_CXX_LD -p 0 -o"
47390 SHARED_LD_CC="${LD} -nostart -o"
47391 SHARED_LD_CXX="${LD} -nostart -o"
47395 if test "x$GCC" != "xyes"; then
47400 *-*-cygwin* | *-*-mingw32* )
47402 SHARED_LD_CC="\$(CC) -shared -o"
47403 SHARED_LD_CXX="\$(CXX) -shared -o"
47407 *-pc-os2_emx | *-pc-os2-emx )
47408 SHARED_LD_CC="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
47409 SHARED_LD_CXX="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
47413 cat <<EOF >dllar.sh
47416 # dllar - a tool to build both a .dll and an .a file
47417 # from a set of object (.o) files for EMX/OS2.
47419 # Written by Andrew Zabolotny, bit@freya.etu.ru
47420 # Ported to Unix like shell by Stefan Neis, Stefan.Neis@t-online.de
47422 # This script will accept a set of files on the command line.
47423 # All the public symbols from the .o files will be exported into
47424 # a .DEF file, then linker will be run (through gcc) against them to
47425 # build a shared library consisting of all given .o files. All libraries
47426 # (.a) will be first decompressed into component .o files then act as
47427 # described above. You can optionally give a description (-d "description")
47428 # which will be put into .DLL. To see the list of accepted options (as well
47429 # as command-line format) simply run this program without options. The .DLL
47430 # is built to be imported by name (there is no guarantee that new versions
47431 # of the library you build will have same ordinals for same symbols).
47433 # dllar is free software; you can redistribute it and/or modify
47434 # it under the terms of the GNU General Public License as published by
47435 # the Free Software Foundation; either version 2, or (at your option)
47436 # any later version.
47438 # dllar is distributed in the hope that it will be useful,
47439 # but WITHOUT ANY WARRANTY; without even the implied warranty of
47440 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
47441 # GNU General Public License for more details.
47443 # You should have received a copy of the GNU General Public License
47444 # along with dllar; see the file COPYING. If not, write to the Free
47445 # Software Foundation, 59 Temple Place - Suite 330, Boston, MA
47448 # To successfuly run this program you will need:
47449 # - Current drive should have LFN support (HPFS, ext2, network, etc)
47450 # (Sometimes dllar generates filenames which won't fit 8.3 scheme)
47452 # (used to build the .dll)
47454 # (used to create .def file from .o files)
47456 # (used to create .a file from .def file)
47457 # - GNU text utilites (cat, sort, uniq)
47458 # used to process emxexp output
47459 # - GNU file utilities (mv, rm)
47461 # - lxlite (optional, see flag below)
47462 # (used for general .dll cleanup)
47469 # basnam, variant of basename, which does _not_ remove the path, _iff_
47470 # second argument (suffix to remove) is given
47474 echo ${D}1 | sed 's/.*\\///' | sed 's/.*\\\\//'
47477 echo ${D}1 | sed 's/'${D}2'${D}//'
47480 echo "error in basnam ${D}*"
47486 # Cleanup temporary files and output
47489 for i in ${D}inputFiles ; do
47492 rm -rf \`basnam
${D}i
!\
`
47499 # Kill result in case of failure as there is just to many stupid make/nmake
47500 # things out there which doesn't do this.
47501 if [ ${D}# -eq 0 ]; then
47502 rm -f ${D}arcFile ${D}arcFile2 ${D}defFile ${D}dllFile
47506 # Print usage and exit script with rc=1.
47508 echo 'Usage: dllar.sh [-o[utput] output_file] [-i[mport] importlib_name]'
47509 echo ' [-name-mangler-script script.sh]'
47510 echo ' [-d[escription] "dll descrption"] [-cc "CC"] [-f[lags] "CFLAGS"]'
47511 echo ' [-ord[inals]] -ex[clude] "symbol(s)"'
47512 echo ' [-libf[lags] "{INIT|TERM}{GLOBAL|INSTANCE}"] [-nocrt[dll]] [-nolxl[ite]]'
47513 echo ' [*.o] [*.a]'
47514 echo '*> "output_file" should have no extension.'
47515 echo ' If it has the .o, .a or .dll extension, it is automatically removed.'
47516 echo ' The import library name is derived from this and is set to "name".a,'
47517 echo ' unless overridden by -import'
47518 echo '*> "importlib_name" should have no extension.'
47519 echo ' If it has the .o, or .a extension, it is automatically removed.'
47520 echo ' This name is used as the import library name and may be longer and'
47521 echo ' more descriptive than the DLL name which has to follow the old '
47522 echo ' 8.3 convention of FAT.'
47523 echo '*> "script.sh may be given to override the output_file name by a'
47524 echo ' different name. It is mainly useful if the regular make process'
47525 echo ' of some package does not take into account OS/2 restriction of'
47526 echo ' DLL name lengths. It takes the importlib name as input and is'
47527 echo ' supposed to procude a shorter name as output. The script should'
47528 echo ' expect to get importlib_name without extension and should produce'
47529 echo ' a (max.) 8 letter name without extension.'
47530 echo '*> "cc" is used to use another GCC executable. (default: gcc.exe)'
47531 echo '*> "flags" should be any set of valid GCC flags. (default: -s -Zcrtdll)'
47532 echo ' These flags will be put at the start of GCC command line.'
47533 echo '*> -ord[inals] tells dllar to export entries by ordinals. Be careful.'
47534 echo '*> -ex[clude] defines symbols which will not be exported. You can define'
47535 echo ' multiple symbols, for example -ex "myfunc yourfunc _GLOBAL*".'
47536 echo ' If the last character of a symbol is "*", all symbols beginning'
47537 echo ' with the prefix before "*" will be exclude, (see _GLOBAL* above).'
47538 echo '*> -libf[lags] can be used to add INITGLOBAL/INITINSTANCE and/or'
47539 echo ' TERMGLOBAL/TERMINSTANCE flags to the dynamically-linked library.'
47540 echo '*> -nocrt[dll] switch will disable linking the library against emx''s'
47541 echo ' C runtime DLLs.'
47542 echo '*> -nolxl[ite] switch will disable running lxlite on the resulting DLL.'
47543 echo '*> All other switches (for example -L./ or -lmylib) will be passed'
47544 echo ' unchanged to GCC at the end of command line.'
47545 echo '*> If you create a DLL from a library and you do not specify -o,'
47546 echo ' the basename for DLL and import library will be set to library name,'
47547 echo ' the initial library will be renamed to 'name'_s.a (_s for static)'
47548 echo ' i.e. "dllar gcc.a" will create gcc.dll and gcc.a, and the initial'
47549 echo ' library will be renamed into gcc_s.a.'
47552 echo ' dllar -o gcc290.dll libgcc.a -d "GNU C runtime library" -ord'
47553 echo ' -ex "__main __ctordtor*" -libf "INITINSTANCE TERMINSTANCE"'
47558 # Execute a command.
47559 # If exit code of the commnad <> 0 CleanUp() is called and we'll exit the script.
47560 # @Uses Whatever CleanUp() uses.
47566 if [ ${D}rcCmd -ne 0 ]; then
47567 echo "command failed, exit code="${D}rcCmd
47582 CFLAGS="-s -Zcrtdll"
47584 EXPORT_BY_ORDINALS=0
47589 case ${D}curDirS in
47593 curDirS=${D}{curDirS}"/"
47596 # Parse commandline
47599 while [ ${D}1 ]; do
47602 EXPORT_BY_ORDINALS=1;
47612 -name-mangler-script)
47633 exclude_symbols=${D}{exclude_symbols}${D}1" "
47637 library_flags=${D}{library_flags}${D}1" "
47656 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
47659 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS} \`basnam
${D}1 .dll\
`"
47660 if [ ${D}omfLinking -eq 1 ]; then
47661 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.lib"
47663 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.a"
47668 if [ ${D}libsToLink -ne 0 ]; then
47669 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
47671 for file in ${D}1 ; do
47672 if [ -f ${D}file ]; then
47673 inputFiles="${D}{inputFiles} ${D}file"
47677 if [ ${D}found -eq 0 ]; then
47678 echo "ERROR: No file(s) found: "${D}1
47685 done # iterate cmdline words
47688 if [ -z "${D}inputFiles" ]; then
47689 echo "dllar: no input files"
47693 # Now extract all .o files from .a files
47695 for file in ${D}inputFiles ; do
47706 EXTRA_CFLAGS="${D}EXTRA_CFLAGS -Zomf"
47711 dirname=\`basnam
${D}file ${D}suffix\
`"_%"
47713 if [ ${D}? -ne 0 ]; then
47714 echo "Failed to create subdirectory ./${D}dirname"
47718 # Append '!' to indicate archive
47719 newInputFiles="${D}newInputFiles ${D}{dirname}!"
47720 doCommand "cd ${D}dirname; ${D}AR x ../${D}file"
47723 for subfile in ${D}dirname/*.o* ; do
47724 if [ -f ${D}subfile ]; then
47726 if [ -s ${D}subfile ]; then
47727 # FIXME: This should be: is file size > 32 byte, _not_ > 0!
47728 newInputFiles="${D}newInputFiles ${D}subfile"
47732 if [ ${D}found -eq 0 ]; then
47733 echo "WARNING: there are no files in archive \\'${D}file\\'"
47737 newInputFiles="${D}{newInputFiles} ${D}file"
47741 inputFiles="${D}newInputFiles"
47743 # Output filename(s).
47745 if [ -z ${D}outFile ]; then
47747 set outFile ${D}inputFiles; outFile=${D}2
47750 # If it is an archive, remove the '!' and the '_%' suffixes
47751 case ${D}outFile in
47753 outFile=\`basnam
${D}outFile _
%!\
`
47758 case ${D}outFile in
47760 outFile=\`basnam
${D}outFile .dll\
`
47763 outFile=\`basnam
${D}outFile .DLL\
`
47766 outFile=\`basnam
${D}outFile .o\
`
47769 outFile=\`basnam
${D}outFile .obj\
`
47772 outFile=\`basnam
${D}outFile .a\
`
47775 outFile=\`basnam
${D}outFile .lib\
`
47780 case ${D}outimpFile in
47782 outimpFile=\`basnam
${D}outimpFile .a\
`
47785 outimpFile=\`basnam
${D}outimpFile .lib\
`
47790 if [ -z ${D}outimpFile ]; then
47791 outimpFile=${D}outFile
47793 defFile="${D}{outFile}.def"
47794 arcFile="${D}{outimpFile}.a"
47795 arcFile2="${D}{outimpFile}.lib"
47797 #create ${D}dllFile as something matching 8.3 restrictions,
47798 if [ -z ${D}renameScript ] ; then
47799 dllFile="${D}outFile"
47801 dllFile=\`${D}renameScript
${D}outimpFile\
`
47804 if [ ${D}do_backup -ne 0 ] ; then
47805 if [ -f ${D}arcFile ] ; then
47806 doCommand "mv ${D}arcFile ${D}{outFile}_s.a"
47808 if [ -f ${D}arcFile2 ] ; then
47809 doCommand "mv ${D}arcFile2 ${D}{outFile}_s.lib"
47813 # Extract public symbols from all the object files.
47814 tmpdefFile=${D}{defFile}_%
47815 rm -f ${D}tmpdefFile
47816 for file in ${D}inputFiles ; do
47821 doCommand "emxexp -u ${D}file >> ${D}tmpdefFile"
47826 # Create the def file.
47828 echo "LIBRARY \`basnam
${D}dllFile\
` ${D}library_flags" >> ${D}defFile
47829 dllFile="${D}{dllFile}.dll"
47830 if [ ! -z ${D}description ]; then
47831 echo "DESCRIPTION \\"${D}{description}\\"" >> ${D}defFile
47833 echo "EXPORTS" >> ${D}defFile
47835 doCommand "cat ${D}tmpdefFile | sort.exe | uniq.exe > ${D}{tmpdefFile}%"
47836 grep -v "^ *;" < ${D}{tmpdefFile}% | grep -v "^ *${D}" >${D}tmpdefFile
47838 # Checks if the export is ok or not.
47839 for word in ${D}exclude_symbols; do
47840 grep -v ${D}word < ${D}tmpdefFile >${D}{tmpdefFile}%
47841 mv ${D}{tmpdefFile}% ${D}tmpdefFile
47845 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
47846 sed "=" < ${D}tmpdefFile | \\
47850 s/^\\([0-9]\\+\\)\\([^;]*\\)\\(;.*\\)\\?/\\2 @\\1 NONAME/
47852 ' > ${D}{tmpdefFile}%
47853 grep -v "^ *${D}" < ${D}{tmpdefFile}% > ${D}tmpdefFile
47855 rm -f ${D}{tmpdefFile}%
47857 cat ${D}tmpdefFile >> ${D}defFile
47858 rm -f ${D}tmpdefFile
47860 # Do linking, create implib, and apply lxlite.
47862 for file in ${D}inputFiles ; do
47867 gccCmdl="${D}gccCmdl ${D}file"
47871 doCommand "${D}CC ${D}CFLAGS -Zdll -o ${D}dllFile ${D}defFile ${D}gccCmdl ${D}EXTRA_CFLAGS"
47872 touch "${D}{outFile}.dll"
47874 doCommand "emximp -o ${D}arcFile ${D}defFile"
47875 if [ ${D}flag_USE_LXLITE -ne 0 ]; then
47877 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
47880 doCommand "lxlite -cs -t: -mrn -mln ${D}add_flags ${D}dllFile"
47882 doCommand "emxomf -s -l ${D}arcFile"
47892 powerpc-apple-macos* | \
47893 *-*-freebsd* | *-*-openbsd* | *-*-netbsd* | *-*-k*bsd*-gnu | \
47903 { { echo "$as_me:$LINENO: error: unknown system type $BAKEFILE_HOST." >&5
47904 echo "$as_me: error: unknown system type $BAKEFILE_HOST." >&2;}
47905 { (exit 1); exit 1; }; }
47908 if test "x$PIC_FLAG" != "x" ; then
47909 PIC_FLAG="$PIC_FLAG -DPIC"
47912 if test "x$SHARED_LD_MODULE_CC" = "x" ; then
47913 SHARED_LD_MODULE_CC="$SHARED_LD_CC"
47915 if test "x$SHARED_LD_MODULE_CXX" = "x" ; then
47916 SHARED_LD_MODULE_CXX="$SHARED_LD_CXX"
47935 case "${BAKEFILE_HOST}" in
47936 *-*-linux* | *-*-freebsd* | *-*-k*bsd*-gnu )
47937 if test "x$SUNCXX" = "xyes"; then
47940 SONAME_FLAG="-Wl,-soname,"
47975 # Check whether --enable-dependency-tracking was given.
47976 if test "${enable_dependency_tracking+set}" = set; then
47977 enableval=$enable_dependency_tracking; bk_use_trackdeps="$enableval"
47981 { echo "$as_me:$LINENO: checking for dependency tracking method" >&5
47982 echo $ECHO_N "checking for dependency tracking method... $ECHO_C" >&6; }
47985 if test "x$bk_use_trackdeps" = "xno" ; then
47987 { echo "$as_me:$LINENO: result: disabled" >&5
47988 echo "${ECHO_T}disabled" >&6; }
47992 if test "x$GCC" = "xyes"; then
47994 case "${BAKEFILE_HOST}" in
47996 DEPSFLAG="-no-cpp-precomp -MMD"
48002 { echo "$as_me:$LINENO: result: gcc" >&5
48003 echo "${ECHO_T}gcc" >&6; }
48004 elif test "x$MWCC" = "xyes"; then
48007 { echo "$as_me:$LINENO: result: mwcc" >&5
48008 echo "${ECHO_T}mwcc" >&6; }
48009 elif test "x$SUNCC" = "xyes"; then
48012 { echo "$as_me:$LINENO: result: Sun cc" >&5
48013 echo "${ECHO_T}Sun cc" >&6; }
48014 elif test "x$SGICC" = "xyes"; then
48017 { echo "$as_me:$LINENO: result: SGI cc" >&5
48018 echo "${ECHO_T}SGI cc" >&6; }
48019 elif test "x$HPCC" = "xyes"; then
48022 { echo "$as_me:$LINENO: result: HP cc" >&5
48023 echo "${ECHO_T}HP cc" >&6; }
48024 elif test "x$COMPAQCC" = "xyes"; then
48027 { echo "$as_me:$LINENO: result: Compaq cc" >&5
48028 echo "${ECHO_T}Compaq cc" >&6; }
48031 { echo "$as_me:$LINENO: result: none" >&5
48032 echo "${ECHO_T}none" >&6; }
48035 if test $DEPS_TRACKING = 1 ; then
48041 # This script is part of Bakefile (http://bakefile.sourceforge.net) autoconf
48042 # script. It is used to track C/C++ files dependencies in portable way.
48044 # Permission is given to use this file in any way.
48046 DEPSMODE=${DEPSMODE}
48048 DEPSFLAG="${DEPSFLAG}"
48050 mkdir -p ${D}DEPSDIR
48052 if test ${D}DEPSMODE = gcc ; then
48053 ${D}* ${D}{DEPSFLAG}
48055 if test ${D}{status} != 0 ; then
48058 # move created file to the location we want it in:
48059 while test ${D}# -gt 0; do
48073 depfile=\`basename ${D}srcfile
| sed -e 's/\\..*${D}/.d/g'\
`
48074 depobjname=\`echo ${D}depfile
|sed -e 's/\\.d/.o/g'\
`
48075 if test -f ${D}depfile ; then
48076 sed -e "s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{DEPSDIR}/${D}{objfile}.d
48079 # "g++ -MMD -o fooobj.o foosrc.cpp" produces fooobj.d
48080 depfile=\`basename ${D}objfile
| sed -e 's/\\..*${D}/.d/g'\
`
48081 if test ! -f ${D}depfile ; then
48082 # "cxx -MD -o fooobj.o foosrc.cpp" creates fooobj.o.d (Compaq C++)
48083 depfile="${D}objfile.d"
48085 if test -f ${D}depfile ; then
48086 sed -e "/^${D}objfile/!s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{DEPSDIR}/${D}{objfile}.d
48091 elif test ${D}DEPSMODE = mwcc ; then
48092 ${D}* || exit ${D}?
48093 # Run mwcc again with -MM and redirect into the dep file we want
48094 # NOTE: We can't use shift here because we need ${D}* to be valid
48096 for arg in ${D}* ; do
48097 if test "${D}prevarg" = "-o"; then
48110 ${D}* ${D}DEPSFLAG >${D}{DEPSDIR}/${D}{objfile}.d
48112 elif test ${D}DEPSMODE = unixcc; then
48113 ${D}* || exit ${D}?
48114 # Run compiler again with deps flag and redirect into the dep file.
48115 # It doesn't work if the '-o FILE' option is used, but without it the
48116 # dependency file will contain the wrong name for the object. So it is
48117 # removed from the command line, and the dep file is fixed with sed.
48119 while test ${D}# -gt 0; do
48126 eval arg${D}#=\\${D}1
48127 cmd="${D}cmd \\${D}arg${D}#"
48132 eval "${D}cmd ${D}DEPSFLAG" | sed "s|.*:|${D}objfile:|" >${D}{DEPSDIR}/${D}{objfile}.d
48141 BK_DEPS="`pwd`/bk-deps"
48149 case ${BAKEFILE_HOST} in
48150 *-*-cygwin* | *-*-mingw32* )
48151 if test -n "$ac_tool_prefix"; then
48152 # Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args.
48153 set dummy ${ac_tool_prefix}windres; ac_word=$2
48154 { echo "$as_me:$LINENO: checking for $ac_word" >&5
48155 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
48156 if test "${ac_cv_prog_WINDRES+set}" = set; then
48157 echo $ECHO_N "(cached) $ECHO_C" >&6
48159 if test -n "$WINDRES"; then
48160 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
48162 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
48163 for as_dir in $PATH
48166 test -z "$as_dir" && as_dir=.
48167 for ac_exec_ext in '' $ac_executable_extensions; do
48168 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
48169 ac_cv_prog_WINDRES="${ac_tool_prefix}windres"
48170 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
48179 WINDRES=$ac_cv_prog_WINDRES
48180 if test -n "$WINDRES"; then
48181 { echo "$as_me:$LINENO: result: $WINDRES" >&5
48182 echo "${ECHO_T}$WINDRES" >&6; }
48184 { echo "$as_me:$LINENO: result: no" >&5
48185 echo "${ECHO_T}no" >&6; }
48190 if test -z "$ac_cv_prog_WINDRES"; then
48191 ac_ct_WINDRES=$WINDRES
48192 # Extract the first word of "windres", so it can be a program name with args.
48193 set dummy windres; ac_word=$2
48194 { echo "$as_me:$LINENO: checking for $ac_word" >&5
48195 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
48196 if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then
48197 echo $ECHO_N "(cached) $ECHO_C" >&6
48199 if test -n "$ac_ct_WINDRES"; then
48200 ac_cv_prog_ac_ct_WINDRES="$ac_ct_WINDRES" # Let the user override the test.
48202 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
48203 for as_dir in $PATH
48206 test -z "$as_dir" && as_dir=.
48207 for ac_exec_ext in '' $ac_executable_extensions; do
48208 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
48209 ac_cv_prog_ac_ct_WINDRES="windres"
48210 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
48219 ac_ct_WINDRES=$ac_cv_prog_ac_ct_WINDRES
48220 if test -n "$ac_ct_WINDRES"; then
48221 { echo "$as_me:$LINENO: result: $ac_ct_WINDRES" >&5
48222 echo "${ECHO_T}$ac_ct_WINDRES" >&6; }
48224 { echo "$as_me:$LINENO: result: no" >&5
48225 echo "${ECHO_T}no" >&6; }
48228 if test "x$ac_ct_WINDRES" = x; then
48231 case $cross_compiling:$ac_tool_warned in
48233 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
48234 whose name does not start with the host triplet. If you think this
48235 configuration is useful to you, please write to autoconf@gnu.org." >&5
48236 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
48237 whose name does not start with the host triplet. If you think this
48238 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
48239 ac_tool_warned=yes ;;
48241 WINDRES=$ac_ct_WINDRES
48244 WINDRES="$ac_cv_prog_WINDRES"
48249 *-*-darwin* | powerpc-apple-macos* )
48250 # Extract the first word of "Rez", so it can be a program name with args.
48251 set dummy Rez; ac_word=$2
48252 { echo "$as_me:$LINENO: checking for $ac_word" >&5
48253 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
48254 if test "${ac_cv_prog_REZ+set}" = set; then
48255 echo $ECHO_N "(cached) $ECHO_C" >&6
48257 if test -n "$REZ"; then
48258 ac_cv_prog_REZ="$REZ" # Let the user override the test.
48260 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
48261 for as_dir in $PATH
48264 test -z "$as_dir" && as_dir=.
48265 for ac_exec_ext in '' $ac_executable_extensions; do
48266 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
48267 ac_cv_prog_REZ="Rez"
48268 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
48275 test -z "$ac_cv_prog_REZ" && ac_cv_prog_REZ="/Developer/Tools/Rez"
48278 REZ=$ac_cv_prog_REZ
48279 if test -n "$REZ"; then
48280 { echo "$as_me:$LINENO: result: $REZ" >&5
48281 echo "${ECHO_T}$REZ" >&6; }
48283 { echo "$as_me:$LINENO: result: no" >&5
48284 echo "${ECHO_T}no" >&6; }
48288 # Extract the first word of "SetFile", so it can be a program name with args.
48289 set dummy SetFile; ac_word=$2
48290 { echo "$as_me:$LINENO: checking for $ac_word" >&5
48291 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
48292 if test "${ac_cv_prog_SETFILE+set}" = set; then
48293 echo $ECHO_N "(cached) $ECHO_C" >&6
48295 if test -n "$SETFILE"; then
48296 ac_cv_prog_SETFILE="$SETFILE" # Let the user override the test.
48298 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
48299 for as_dir in $PATH
48302 test -z "$as_dir" && as_dir=.
48303 for ac_exec_ext in '' $ac_executable_extensions; do
48304 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
48305 ac_cv_prog_SETFILE="SetFile"
48306 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
48313 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE="/Developer/Tools/SetFile"
48316 SETFILE=$ac_cv_prog_SETFILE
48317 if test -n "$SETFILE"; then
48318 { echo "$as_me:$LINENO: result: $SETFILE" >&5
48319 echo "${ECHO_T}$SETFILE" >&6; }
48321 { echo "$as_me:$LINENO: result: no" >&5
48322 echo "${ECHO_T}no" >&6; }
48334 BAKEFILE_BAKEFILE_M4_VERSION="0.2.2"
48337 BAKEFILE_AUTOCONF_INC_M4_VERSION="0.2.2"
48341 # Check whether --enable-precomp-headers was given.
48342 if test "${enable_precomp_headers+set}" = set; then
48343 enableval=$enable_precomp_headers; bk_use_pch="$enableval"
48352 case ${BAKEFILE_HOST} in
48358 if test "x$bk_use_pch" = "x" -o "x$bk_use_pch" = "xyes" ; then
48359 if test "x$GCC" = "xyes"; then
48360 { echo "$as_me:$LINENO: checking if the compiler supports precompiled headers" >&5
48361 echo $ECHO_N "checking if the compiler supports precompiled headers... $ECHO_C" >&6; }
48362 cat >conftest.$ac_ext <<_ACEOF
48365 cat confdefs.h >>conftest.$ac_ext
48366 cat >>conftest.$ac_ext <<_ACEOF
48367 /* end confdefs.h. */
48373 #if !defined(__GNUC__) || !defined(__GNUC_MINOR__)
48374 There is no PCH support
48377 There is no PCH support
48379 #if (__GNUC__ == 3) && \
48380 ((!defined(__APPLE_CC__) && (__GNUC_MINOR__ < 4)) || \
48381 ( defined(__APPLE_CC__) && (__GNUC_MINOR__ < 3))) || \
48382 ( defined(__INTEL_COMPILER) )
48383 There is no PCH support
48390 rm -f conftest.$ac_objext
48391 if { (ac_try="$ac_compile"
48392 case "(($ac_try" in
48393 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
48394 *) ac_try_echo
=$ac_try;;
48396 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
48397 (eval "$ac_compile") 2>conftest.er1
48399 grep -v '^ *+' conftest.er1
>conftest.err
48401 cat conftest.err
>&5
48402 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48403 (exit $ac_status); } && {
48404 test -z "$ac_c_werror_flag" ||
48405 test ! -s conftest.err
48406 } && test -s conftest.
$ac_objext; then
48408 { echo "$as_me:$LINENO: result: yes" >&5
48409 echo "${ECHO_T}yes" >&6; }
48413 echo "$as_me: failed program was:" >&5
48414 sed 's/^/| /' conftest.
$ac_ext >&5
48417 cat >conftest.
$ac_ext <<_ACEOF
48420 cat confdefs.h
>>conftest.
$ac_ext
48421 cat >>conftest.
$ac_ext <<_ACEOF
48422 /* end confdefs.h. */
48428 #if !defined(__INTEL_COMPILER) || \
48429 (__INTEL_COMPILER < 800)
48430 There is no PCH support
48437 rm -f conftest.
$ac_objext
48438 if { (ac_try
="$ac_compile"
48439 case "(($ac_try" in
48440 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
48441 *) ac_try_echo=$ac_try;;
48443 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
48444 (eval "$ac_compile") 2>conftest.er1
48446 grep -v '^ *+' conftest.er1 >conftest.err
48448 cat conftest.err >&5
48449 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48450 (exit $ac_status); } && {
48451 test -z "$ac_c_werror_flag" ||
48452 test ! -s conftest.err
48453 } && test -s conftest.$ac_objext; then
48455 { echo "$as_me:$LINENO: result: yes" >&5
48456 echo "${ECHO_T}yes" >&6; }
48460 echo "$as_me: failed program was:" >&5
48461 sed 's/^/| /' conftest.$ac_ext >&5
48464 { echo "$as_me:$LINENO: result: no" >&5
48465 echo "${ECHO_T}no" >&6; }
48469 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48473 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48474 if test $GCC_PCH = 1 -o $ICC_PCH = 1 ; then
48478 cat <<EOF >bk-make-pch
48481 # This script is part of Bakefile (http://bakefile.sourceforge.net) autoconf
48482 # script. It is used to generated precompiled headers.
48484 # Permission is given to use this file in any way.
48494 while test ${D}{#} -gt 0; do
48498 incdir=\`echo ${D}{1} | sed -e 's/-I\\(.*\\)/\\1/g'\
`
48499 if test "x${D}{headerfile}" = "x" -a -f "${D}{incdir}/${D}{header}" ; then
48500 headerfile="${D}{incdir}/${D}{header}"
48503 -use-pch|-use_pch )
48508 if test ${D}add_to_cmdline = 1 ; then
48509 compiler="${D}{compiler} ${D}{1}"
48514 if test "x${D}{headerfile}" = "x" ; then
48515 echo "error: can't find header ${D}{header} in include paths" >&2
48517 if test -f ${D}{outfile} ; then
48518 rm -f ${D}{outfile}
48520 mkdir -p \`dirname ${D}{outfile
}\
`
48522 depsfile=".deps/\`echo ${D}{outfile
} | tr '/.' '__'\
`.d"
48524 if test "x${GCC_PCH}" = "x1" ; then
48525 # can do this because gcc is >= 3.4:
48526 ${D}{compiler} -o ${D}{outfile} -MMD -MF "${D}{depsfile}" "${D}{headerfile}"
48527 elif test "x${ICC_PCH}" = "x1" ; then
48528 filename=pch_gen-${D}${D}
48529 file=${D}{filename}.c
48530 dfile=${D}{filename}.d
48531 cat > ${D}file <<EOT
48532 #include "${D}header"
48534 # using -MF icc complains about differing command lines in creation/use
48535 ${D}compiler -c -create_pch ${D}outfile -MMD ${D}file && \\
48536 sed -e "s,^.*:,${D}outfile:," -e "s, ${D}file,," < ${D}dfile > ${D}depsfile && \\
48537 rm -f ${D}file ${D}dfile ${D}{filename}.o
48543 chmod +x bk-make-pch
48544 BK_MAKE_PCH="`pwd`/bk-make-pch"
48553 COND_BUILD_DEBUG="#"
48554 if test "x$BUILD" = "xdebug" ; then
48555 COND_BUILD_DEBUG=""
48558 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT="#"
48559 if test "x$BUILD" = "xdebug" -a "x$DEBUG_FLAG" = "xdefault" ; then
48560 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT=""
48563 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT="#"
48564 if test "x$BUILD" = "xdebug" -a "x$DEBUG_INFO" = "xdefault" ; then
48565 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT=""
48568 COND_BUILD_DEBUG_UNICODE_0="#"
48569 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x0" ; then
48570 COND_BUILD_DEBUG_UNICODE_0=""
48573 COND_BUILD_DEBUG_UNICODE_1="#"
48574 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x1" ; then
48575 COND_BUILD_DEBUG_UNICODE_1=""
48578 COND_BUILD_RELEASE="#"
48579 if test "x$BUILD" = "xrelease" ; then
48580 COND_BUILD_RELEASE=""
48583 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT="#"
48584 if test "x$BUILD" = "xrelease" -a "x$DEBUG_INFO" = "xdefault" ; then
48585 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT=""
48588 COND_BUILD_RELEASE_UNICODE_0="#"
48589 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x0" ; then
48590 COND_BUILD_RELEASE_UNICODE_0=""
48593 COND_BUILD_RELEASE_UNICODE_1="#"
48594 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x1" ; then
48595 COND_BUILD_RELEASE_UNICODE_1=""
48598 COND_DEBUG_FLAG_1="#"
48599 if test "x$DEBUG_FLAG" = "x1" ; then
48600 COND_DEBUG_FLAG_1=""
48603 COND_DEBUG_INFO_0="#"
48604 if test "x$DEBUG_INFO" = "x0" ; then
48605 COND_DEBUG_INFO_0=""
48608 COND_DEBUG_INFO_1="#"
48609 if test "x$DEBUG_INFO" = "x1" ; then
48610 COND_DEBUG_INFO_1=""
48613 COND_DEPS_TRACKING_0="#"
48614 if test "x$DEPS_TRACKING" = "x0" ; then
48615 COND_DEPS_TRACKING_0=""
48618 COND_DEPS_TRACKING_1="#"
48619 if test "x$DEPS_TRACKING" = "x1" ; then
48620 COND_DEPS_TRACKING_1=""
48624 if test "x$GCC_PCH" = "x1" ; then
48629 if test "x$ICC_PCH" = "x1" ; then
48633 COND_MONOLITHIC_0="#"
48634 if test "x$MONOLITHIC" = "x0" ; then
48635 COND_MONOLITHIC_0=""
48638 COND_MONOLITHIC_0_SHARED_0="#"
48639 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" ; then
48640 COND_MONOLITHIC_0_SHARED_0=""
48643 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1="#"
48644 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_AUI" = "x1" ; then
48645 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1=""
48648 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1="#"
48649 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" ; then
48650 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1=""
48653 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1="#"
48654 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
48655 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1=""
48658 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1="#"
48659 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
48660 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1=""
48663 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1="#"
48664 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_ODBC" = "x1" ; then
48665 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1=""
48668 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1="#"
48669 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_QA" = "x1" ; then
48670 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1=""
48673 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1="#"
48674 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_ODBC" = "x1" ; then
48675 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1=""
48678 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1="#"
48679 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_RICHTEXT" = "x1" ; then
48680 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1=""
48683 COND_MONOLITHIC_0_SHARED_0_USE_STC_1="#"
48684 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_STC" = "x1" ; then
48685 COND_MONOLITHIC_0_SHARED_0_USE_STC_1=""
48688 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1="#"
48689 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_XRC" = "x1" ; then
48690 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1=""
48693 COND_MONOLITHIC_0_SHARED_1="#"
48694 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" ; then
48695 COND_MONOLITHIC_0_SHARED_1=""
48698 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1="#"
48699 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_AUI" = "x1" ; then
48700 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1=""
48703 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1="#"
48704 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" ; then
48705 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1=""
48708 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1="#"
48709 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
48710 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1=""
48713 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1="#"
48714 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
48715 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1=""
48718 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1="#"
48719 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_ODBC" = "x1" ; then
48720 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1=""
48723 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1="#"
48724 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_QA" = "x1" ; then
48725 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1=""
48728 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1="#"
48729 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_ODBC" = "x1" ; then
48730 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1=""
48733 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1="#"
48734 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_RICHTEXT" = "x1" ; then
48735 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1=""
48738 COND_MONOLITHIC_0_SHARED_1_USE_STC_1="#"
48739 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_STC" = "x1" ; then
48740 COND_MONOLITHIC_0_SHARED_1_USE_STC_1=""
48743 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1="#"
48744 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_XRC" = "x1" ; then
48745 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1=""
48748 COND_MONOLITHIC_0_USE_AUI_1="#"
48749 if test "x$MONOLITHIC" = "x0" -a "x$USE_AUI" = "x1" ; then
48750 COND_MONOLITHIC_0_USE_AUI_1=""
48753 COND_MONOLITHIC_0_USE_GUI_1="#"
48754 if test "x$MONOLITHIC" = "x0" -a "x$USE_GUI" = "x1" ; then
48755 COND_MONOLITHIC_0_USE_GUI_1=""
48758 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1="#"
48759 if test "x$MONOLITHIC" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
48760 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1=""
48763 COND_MONOLITHIC_0_USE_GUI_1_USE_ODBC_1="#"
48764 if test "x$MONOLITHIC" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_ODBC" = "x1" ; then
48765 COND_MONOLITHIC_0_USE_GUI_1_USE_ODBC_1=""
48768 COND_MONOLITHIC_0_USE_HTML_1="#"
48769 if test "x$MONOLITHIC" = "x0" -a "x$USE_HTML" = "x1" ; then
48770 COND_MONOLITHIC_0_USE_HTML_1=""
48773 COND_MONOLITHIC_0_USE_MEDIA_1="#"
48774 if test "x$MONOLITHIC" = "x0" -a "x$USE_MEDIA" = "x1" ; then
48775 COND_MONOLITHIC_0_USE_MEDIA_1=""
48778 COND_MONOLITHIC_0_USE_ODBC_1="#"
48779 if test "x$MONOLITHIC" = "x0" -a "x$USE_ODBC" = "x1" ; then
48780 COND_MONOLITHIC_0_USE_ODBC_1=""
48783 COND_MONOLITHIC_0_USE_QA_1="#"
48784 if test "x$MONOLITHIC" = "x0" -a "x$USE_QA" = "x1" ; then
48785 COND_MONOLITHIC_0_USE_QA_1=""
48788 COND_MONOLITHIC_0_USE_RICHTEXT_1="#"
48789 if test "x$MONOLITHIC" = "x0" -a "x$USE_RICHTEXT" = "x1" ; then
48790 COND_MONOLITHIC_0_USE_RICHTEXT_1=""
48793 COND_MONOLITHIC_0_USE_STC_1="#"
48794 if test "x$MONOLITHIC" = "x0" -a "x$USE_STC" = "x1" ; then
48795 COND_MONOLITHIC_0_USE_STC_1=""
48798 COND_MONOLITHIC_0_USE_XRC_1="#"
48799 if test "x$MONOLITHIC" = "x0" -a "x$USE_XRC" = "x1" ; then
48800 COND_MONOLITHIC_0_USE_XRC_1=""
48803 COND_MONOLITHIC_1="#"
48804 if test "x$MONOLITHIC" = "x1" ; then
48805 COND_MONOLITHIC_1=""
48808 COND_MONOLITHIC_1_SHARED_0="#"
48809 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x0" ; then
48810 COND_MONOLITHIC_1_SHARED_0=""
48813 COND_MONOLITHIC_1_SHARED_1="#"
48814 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x1" ; then
48815 COND_MONOLITHIC_1_SHARED_1=""
48818 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1="#"
48819 if test "x$OFFICIAL_BUILD" = "x0" -a "x$PLATFORM_WIN32" = "x1" ; then
48820 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1=""
48823 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1="#"
48824 if test "x$OFFICIAL_BUILD" = "x1" -a "x$PLATFORM_WIN32" = "x1" ; then
48825 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1=""
48828 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1="#"
48829 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERCYGWIN" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
48830 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1=""
48833 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1="#"
48834 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
48835 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1=""
48838 COND_PLATFORM_MACOSX_1="#"
48839 if test "x$PLATFORM_MACOSX" = "x1" ; then
48840 COND_PLATFORM_MACOSX_1=""
48843 COND_PLATFORM_MACOSX_1_TOOLKIT_="#"
48844 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "x" ; then
48845 COND_PLATFORM_MACOSX_1_TOOLKIT_=""
48848 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA="#"
48849 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xCOCOA" ; then
48850 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA=""
48853 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK="#"
48854 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xGTK" ; then
48855 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK=""
48858 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC="#"
48859 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMAC" ; then
48860 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC=""
48863 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1="#"
48864 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" ; then
48865 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1=""
48868 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF="#"
48869 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMOTIF" ; then
48870 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF=""
48873 COND_PLATFORM_MACOSX_1_TOOLKIT_X11="#"
48874 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xX11" ; then
48875 COND_PLATFORM_MACOSX_1_TOOLKIT_X11=""
48878 COND_PLATFORM_MACOSX_1_USE_GUI_1="#"
48879 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_GUI" = "x1" ; then
48880 COND_PLATFORM_MACOSX_1_USE_GUI_1=""
48883 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1="#"
48884 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
48885 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1=""
48888 COND_PLATFORM_MACOS_1="#"
48889 if test "x$PLATFORM_MACOS" = "x1" ; then
48890 COND_PLATFORM_MACOS_1=""
48893 COND_PLATFORM_MAC_1="#"
48894 if test "x$PLATFORM_MAC" = "x1" ; then
48895 COND_PLATFORM_MAC_1=""
48898 COND_PLATFORM_MSDOS_0="#"
48899 if test "x$PLATFORM_MSDOS" = "x0" ; then
48900 COND_PLATFORM_MSDOS_0=""
48903 COND_PLATFORM_MSDOS_1="#"
48904 if test "x$PLATFORM_MSDOS" = "x1" ; then
48905 COND_PLATFORM_MSDOS_1=""
48908 COND_PLATFORM_OS2_1="#"
48909 if test "x$PLATFORM_OS2" = "x1" ; then
48910 COND_PLATFORM_OS2_1=""
48913 COND_PLATFORM_UNIX_0="#"
48914 if test "x$PLATFORM_UNIX" = "x0" ; then
48915 COND_PLATFORM_UNIX_0=""
48918 COND_PLATFORM_UNIX_1="#"
48919 if test "x$PLATFORM_UNIX" = "x1" ; then
48920 COND_PLATFORM_UNIX_1=""
48923 COND_PLATFORM_UNIX_1_TOOLKIT_MGL="#"
48924 if test "x$PLATFORM_UNIX" = "x1" -a "x$TOOLKIT" = "xMGL" ; then
48925 COND_PLATFORM_UNIX_1_TOOLKIT_MGL=""
48928 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1="#"
48929 if test "x$PLATFORM_UNIX" = "x1" -a "x$TOOLKIT" = "xMGL" -a "x$USE_GUI" = "x1" ; then
48930 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1=""
48933 COND_PLATFORM_UNIX_1_USE_GUI_1="#"
48934 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_GUI" = "x1" ; then
48935 COND_PLATFORM_UNIX_1_USE_GUI_1=""
48938 COND_PLATFORM_UNIX_1_USE_PLUGINS_0="#"
48939 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_PLUGINS" = "x0" ; then
48940 COND_PLATFORM_UNIX_1_USE_PLUGINS_0=""
48943 COND_PLATFORM_WIN32_0="#"
48944 if test "x$PLATFORM_WIN32" = "x0" ; then
48945 COND_PLATFORM_WIN32_0=""
48948 COND_PLATFORM_WIN32_1="#"
48949 if test "x$PLATFORM_WIN32" = "x1" ; then
48950 COND_PLATFORM_WIN32_1=""
48954 if test "x$SHARED" = "x0" ; then
48958 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0="#"
48959 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMAC" -a "x$WXUNIV" = "x0" ; then
48960 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0=""
48963 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0="#"
48964 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
48965 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0=""
48968 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0="#"
48969 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xPM" -a "x$WXUNIV" = "x0" ; then
48970 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0=""
48973 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1="#"
48974 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
48975 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1=""
48978 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN="#"
48979 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
48980 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN=""
48983 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN="#"
48984 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
48985 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN=""
48988 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN="#"
48989 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
48990 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN=""
48993 COND_SHARED_0_USE_STC_1="#"
48994 if test "x$SHARED" = "x0" -a "x$USE_STC" = "x1" ; then
48995 COND_SHARED_0_USE_STC_1=""
48998 COND_SHARED_0_USE_XRC_1="#"
48999 if test "x$SHARED" = "x0" -a "x$USE_XRC" = "x1" ; then
49000 COND_SHARED_0_USE_XRC_1=""
49003 COND_SHARED_0_WXUSE_EXPAT_BUILTIN="#"
49004 if test "x$SHARED" = "x0" -a "x$wxUSE_EXPAT" = "xbuiltin" ; then
49005 COND_SHARED_0_WXUSE_EXPAT_BUILTIN=""
49008 COND_SHARED_0_WXUSE_ODBC_BUILTIN="#"
49009 if test "x$SHARED" = "x0" -a "x$wxUSE_ODBC" = "xbuiltin" ; then
49010 COND_SHARED_0_WXUSE_ODBC_BUILTIN=""
49013 COND_SHARED_0_WXUSE_REGEX_BUILTIN="#"
49014 if test "x$SHARED" = "x0" -a "x$wxUSE_REGEX" = "xbuiltin" ; then
49015 COND_SHARED_0_WXUSE_REGEX_BUILTIN=""
49018 COND_SHARED_0_WXUSE_ZLIB_BUILTIN="#"
49019 if test "x$SHARED" = "x0" -a "x$wxUSE_ZLIB" = "xbuiltin" ; then
49020 COND_SHARED_0_WXUSE_ZLIB_BUILTIN=""
49024 if test "x$SHARED" = "x1" ; then
49028 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1="#"
49029 if test "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
49030 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1=""
49033 COND_SHARED_1_USE_XRC_1="#"
49034 if test "x$SHARED" = "x1" -a "x$USE_XRC" = "x1" ; then
49035 COND_SHARED_1_USE_XRC_1=""
49039 if test "x$TOOLKIT" = "x" ; then
49043 COND_TOOLKIT_COCOA="#"
49044 if test "x$TOOLKIT" = "xCOCOA" ; then
49045 COND_TOOLKIT_COCOA=""
49048 COND_TOOLKIT_COCOA_USE_GUI_1="#"
49049 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" ; then
49050 COND_TOOLKIT_COCOA_USE_GUI_1=""
49053 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0="#"
49054 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
49055 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0=""
49058 COND_TOOLKIT_DFB="#"
49059 if test "x$TOOLKIT" = "xDFB" ; then
49060 COND_TOOLKIT_DFB=""
49063 COND_TOOLKIT_DFB_USE_GUI_1="#"
49064 if test "x$TOOLKIT" = "xDFB" -a "x$USE_GUI" = "x1" ; then
49065 COND_TOOLKIT_DFB_USE_GUI_1=""
49068 COND_TOOLKIT_GTK="#"
49069 if test "x$TOOLKIT" = "xGTK" ; then
49070 COND_TOOLKIT_GTK=""
49073 COND_TOOLKIT_GTK_TOOLKIT_VERSION_="#"
49074 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" ; then
49075 COND_TOOLKIT_GTK_TOOLKIT_VERSION_=""
49078 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2="#"
49079 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" ; then
49080 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2=""
49083 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1="#"
49084 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" ; then
49085 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1=""
49088 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0="#"
49089 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
49090 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0=""
49093 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1="#"
49094 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" -a "x$USE_GUI" = "x1" ; then
49095 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1=""
49098 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0="#"
49099 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
49100 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0=""
49103 COND_TOOLKIT_GTK_USE_GUI_1="#"
49104 if test "x$TOOLKIT" = "xGTK" -a "x$USE_GUI" = "x1" ; then
49105 COND_TOOLKIT_GTK_USE_GUI_1=""
49108 COND_TOOLKIT_MAC="#"
49109 if test "x$TOOLKIT" = "xMAC" ; then
49110 COND_TOOLKIT_MAC=""
49113 COND_TOOLKIT_MAC_USE_GUI_1="#"
49114 if test "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" ; then
49115 COND_TOOLKIT_MAC_USE_GUI_1=""
49118 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0="#"
49119 if test "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
49120 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0=""
49123 COND_TOOLKIT_MGL="#"
49124 if test "x$TOOLKIT" = "xMGL" ; then
49125 COND_TOOLKIT_MGL=""
49128 COND_TOOLKIT_MGL_USE_GUI_1="#"
49129 if test "x$TOOLKIT" = "xMGL" -a "x$USE_GUI" = "x1" ; then
49130 COND_TOOLKIT_MGL_USE_GUI_1=""
49133 COND_TOOLKIT_MOTIF="#"
49134 if test "x$TOOLKIT" = "xMOTIF" ; then
49135 COND_TOOLKIT_MOTIF=""
49138 COND_TOOLKIT_MOTIF_USE_GUI_1="#"
49139 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" ; then
49140 COND_TOOLKIT_MOTIF_USE_GUI_1=""
49143 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0="#"
49144 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
49145 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0=""
49148 COND_TOOLKIT_MSW="#"
49149 if test "x$TOOLKIT" = "xMSW" ; then
49150 COND_TOOLKIT_MSW=""
49153 COND_TOOLKIT_MSW_USE_GUI_1="#"
49154 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" ; then
49155 COND_TOOLKIT_MSW_USE_GUI_1=""
49158 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0="#"
49159 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
49160 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0=""
49163 COND_TOOLKIT_MSW_WXUNIV_0="#"
49164 if test "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
49165 COND_TOOLKIT_MSW_WXUNIV_0=""
49168 COND_TOOLKIT_PM="#"
49169 if test "x$TOOLKIT" = "xPM" ; then
49173 COND_TOOLKIT_PM_USE_GUI_1="#"
49174 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" ; then
49175 COND_TOOLKIT_PM_USE_GUI_1=""
49178 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0="#"
49179 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
49180 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0=""
49183 COND_TOOLKIT_WINCE="#"
49184 if test "x$TOOLKIT" = "xWINCE" ; then
49185 COND_TOOLKIT_WINCE=""
49188 COND_TOOLKIT_WINCE_USE_GUI_1="#"
49189 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" ; then
49190 COND_TOOLKIT_WINCE_USE_GUI_1=""
49193 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0="#"
49194 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
49195 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0=""
49198 COND_TOOLKIT_WINCE_WXUNIV_0="#"
49199 if test "x$TOOLKIT" = "xWINCE" -a "x$WXUNIV" = "x0" ; then
49200 COND_TOOLKIT_WINCE_WXUNIV_0=""
49203 COND_TOOLKIT_X11="#"
49204 if test "x$TOOLKIT" = "xX11" ; then
49205 COND_TOOLKIT_X11=""
49208 COND_TOOLKIT_X11_USE_GUI_1="#"
49209 if test "x$TOOLKIT" = "xX11" -a "x$USE_GUI" = "x1" ; then
49210 COND_TOOLKIT_X11_USE_GUI_1=""
49214 if test "x$UNICODE" = "x1" ; then
49218 COND_USE_EXCEPTIONS_0="#"
49219 if test "x$USE_EXCEPTIONS" = "x0" ; then
49220 COND_USE_EXCEPTIONS_0=""
49223 COND_USE_EXCEPTIONS_1="#"
49224 if test "x$USE_EXCEPTIONS" = "x1" ; then
49225 COND_USE_EXCEPTIONS_1=""
49229 if test "x$USE_GUI" = "x0" ; then
49234 if test "x$USE_GUI" = "x1" ; then
49238 COND_USE_GUI_1_USE_OPENGL_1="#"
49239 if test "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
49240 COND_USE_GUI_1_USE_OPENGL_1=""
49243 COND_USE_GUI_1_WXUNIV_0="#"
49244 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
49245 COND_USE_GUI_1_WXUNIV_0=""
49248 COND_USE_GUI_1_WXUNIV_1="#"
49249 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x1" ; then
49250 COND_USE_GUI_1_WXUNIV_1=""
49253 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN="#"
49254 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
49255 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN=""
49258 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN="#"
49259 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
49260 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN=""
49263 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN="#"
49264 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
49265 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN=""
49268 COND_USE_ODBC_1="#"
49269 if test "x$USE_ODBC" = "x1" ; then
49273 COND_USE_OPENGL_1="#"
49274 if test "x$USE_OPENGL" = "x1" ; then
49275 COND_USE_OPENGL_1=""
49279 if test "x$USE_PCH" = "x1" ; then
49283 COND_USE_PLUGINS_0="#"
49284 if test "x$USE_PLUGINS" = "x0" ; then
49285 COND_USE_PLUGINS_0=""
49288 COND_USE_RTTI_0="#"
49289 if test "x$USE_RTTI" = "x0" ; then
49293 COND_USE_RTTI_1="#"
49294 if test "x$USE_RTTI" = "x1" ; then
49298 COND_USE_SOSYMLINKS_1="#"
49299 if test "x$USE_SOSYMLINKS" = "x1" ; then
49300 COND_USE_SOSYMLINKS_1=""
49303 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1="#"
49304 if test "x$USE_SOVERCYGWIN" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
49305 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1=""
49308 COND_USE_SOVERLINUX_1="#"
49309 if test "x$USE_SOVERLINUX" = "x1" ; then
49310 COND_USE_SOVERLINUX_1=""
49313 COND_USE_SOVERSION_0="#"
49314 if test "x$USE_SOVERSION" = "x0" ; then
49315 COND_USE_SOVERSION_0=""
49318 COND_USE_SOVERSOLARIS_1="#"
49319 if test "x$USE_SOVERSOLARIS" = "x1" ; then
49320 COND_USE_SOVERSOLARIS_1=""
49324 if test "x$USE_STC" = "x1" ; then
49328 COND_USE_THREADS_0="#"
49329 if test "x$USE_THREADS" = "x0" ; then
49330 COND_USE_THREADS_0=""
49333 COND_USE_THREADS_1="#"
49334 if test "x$USE_THREADS" = "x1" ; then
49335 COND_USE_THREADS_1=""
49339 if test "x$USE_XRC" = "x1" ; then
49343 COND_WINDOWS_IMPLIB_1="#"
49344 if test "x$WINDOWS_IMPLIB" = "x1" ; then
49345 COND_WINDOWS_IMPLIB_1=""
49348 COND_WITH_PLUGIN_SDL_1="#"
49349 if test "x$WITH_PLUGIN_SDL" = "x1" ; then
49350 COND_WITH_PLUGIN_SDL_1=""
49354 if test "x$WXUNIV" = "x0" ; then
49359 if test "x$WXUNIV" = "x1" ; then
49363 COND_WXUSE_EXPAT_BUILTIN="#"
49364 if test "x$wxUSE_EXPAT" = "xbuiltin" ; then
49365 COND_WXUSE_EXPAT_BUILTIN=""
49368 COND_WXUSE_LIBJPEG_BUILTIN="#"
49369 if test "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
49370 COND_WXUSE_LIBJPEG_BUILTIN=""
49373 COND_WXUSE_LIBPNG_BUILTIN="#"
49374 if test "x$wxUSE_LIBPNG" = "xbuiltin" ; then
49375 COND_WXUSE_LIBPNG_BUILTIN=""
49378 COND_WXUSE_LIBTIFF_BUILTIN="#"
49379 if test "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
49380 COND_WXUSE_LIBTIFF_BUILTIN=""
49383 COND_WXUSE_ODBC_BUILTIN="#"
49384 if test "x$wxUSE_ODBC" = "xbuiltin" ; then
49385 COND_WXUSE_ODBC_BUILTIN=""
49388 COND_WXUSE_REGEX_BUILTIN="#"
49389 if test "x$wxUSE_REGEX" = "xbuiltin" ; then
49390 COND_WXUSE_REGEX_BUILTIN=""
49393 COND_WXUSE_ZLIB_BUILTIN="#"
49394 if test "x$wxUSE_ZLIB" = "xbuiltin" ; then
49395 COND_WXUSE_ZLIB_BUILTIN=""
49400 if test "$BAKEFILE_AUTOCONF_INC_M4_VERSION" = "" ; then
49401 { { 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
49402 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;}
49403 { (exit 1); exit 1; }; }
49406 if test "$BAKEFILE_BAKEFILE_M4_VERSION" != "$BAKEFILE_AUTOCONF_INC_M4_VERSION" ; then
49407 { { 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
49408 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;}
49409 { (exit 1); exit 1; }; }
49413 if test $GCC_PCH = 1
49415 if test "$wx_cv_gcc_pch_bug" = yes; then
49416 { echo "$as_me:$LINENO: WARNING: *** Precompiled header support is broken on this compiler" >&5
49417 echo "$as_me: WARNING: *** Precompiled header support is broken on this compiler" >&2;}
49418 { echo "$as_me:$LINENO: WARNING: *** --enable-precomp-headers is not recommended" >&5
49419 echo "$as_me: WARNING: *** --enable-precomp-headers is not recommended" >&2;}
49420 { echo "$as_me:$LINENO: WARNING: *** see http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13361" >&5
49421 echo "$as_me: WARNING: *** see http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13361" >&2;}
49424 CPPFLAGS="-DWX_PRECOMP $CPPFLAGS"
49428 if test "$wxUSE_MAC" = 1 ; then
49429 if test "x$wxUSE_UNIVERSAL_BINARY" != "xno" ; then
49430 sed "s/DEPSMODE=gcc/DEPSMODE=none/" < bk-deps > temp
49436 if test "$wxUSE_SHARED" = "yes"; then
49438 sanitised_bakefile_mess=`echo "$SHARED_LD_CXX" | tr -d '()'`
49439 EXE_LINKER=`eval echo "$sanitised_bakefile_mess"`
49442 *-pc-os2_emx | *-pc-os2-emx )
49443 SHARED_LD_CC="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
49444 SHARED_LD_CXX="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
49445 cp -p ${srcdir}/src/os2/dllnames.sh .
49446 cp -p ${srcdir}/src/os2/dllar.sh .
49451 EXE_LINKER="$CXX -o"
49454 if test "$wxUSE_OMF" = "yes"; then
49456 *-pc-os2_emx | *-pc-os2-emx )
49457 LDFLAGS="$LDFLAGS -Zlinker /EXEPACK"
49458 LDFLAGS_GUI="-Zlinker /PMTYPE:PM"
49459 WXCONFIG_LDFLAGS_GUI="-Zlinker /PMTYPE:PM"
49464 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS $TOOLCHAIN_DEFS"
49469 if "$GCC" = yes; then
49470 CPPFLAGS=`echo $CPPFLAGS | sed 's/-mt//'`
49471 LIBS=`echo $LIBS | sed 's/-mt//'`
49472 EXTRALIBS_GUI=`echo $EXTRALIBS_GUI | sed 's/-mt//'`
49477 if test "x$SUNCXX" = xyes; then
49478 CPPFLAGS=`echo $CPPFLAGS | sed 's/-pthread//'`
49479 LIBS=`echo $LIBS | sed 's/-pthread//'`
49480 EXTRALIBS_GUI=`echo $EXTRALIBS_GUI | sed 's/-pthread//'`
49485 SAMPLES_SUBDIRS="`echo $SAMPLES_SUBDIRS | tr -s ' ' | tr ' ' '\n' | sort | uniq | tr '\n' ' '| tr -d '\r'`"
49547 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
49548 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
49549 set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
49550 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
49551 echo $ECHO_N "(cached) $ECHO_C" >&6
49553 cat >conftest.make <<\_ACEOF
49556 @echo '@@@%%%=$(MAKE)=@@@%%%'
49558 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
49559 case `${MAKE-make} -f conftest.
make 2>/dev
/null
` in
49560 *@@@%%%=?*=@@@%%%*)
49561 eval ac_cv_prog_make_${ac_make}_set=yes;;
49563 eval ac_cv_prog_make_${ac_make}_set=no;;
49565 rm -f conftest.make
49567 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
49568 { echo "$as_me:$LINENO: result: yes" >&5
49569 echo "${ECHO_T}yes" >&6; }
49572 { echo "$as_me:$LINENO: result: no" >&5
49573 echo "${ECHO_T}no" >&6; }
49574 SET_MAKE="MAKE=${MAKE-make}"
49579 ac_config_headers="$ac_config_headers lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in"
49582 if test "$USE_WIN32" = 1; then
49583 ac_config_commands="$ac_config_commands
49589 ac_config_files="$ac_config_files lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in"
49592 ac_config_files="$ac_config_files lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in"
49595 if test "$wx_cv_version_script" = "yes"; then
49596 ac_config_files="$ac_config_files version-script"
49599 ac_config_files="$ac_config_files Makefile"
49602 ac_config_commands="$ac_config_commands wx-config"
49606 if test "$wxWITH_SUBDIRS" != "no"; then
49607 if test "$wxUSE_GUI" = "yes"; then
49608 SUBDIRS="samples demos utils"
49609 else SUBDIRS="samples utils"
49614 # Check whether --with-cppunit-prefix was given.
49615 if test "${with_cppunit_prefix+set}" = set; then
49616 withval=$with_cppunit_prefix; cppunit_config_prefix="$withval"
49618 cppunit_config_prefix=""
49622 # Check whether --with-cppunit-exec-prefix was given.
49623 if test "${with_cppunit_exec_prefix+set}" = set; then
49624 withval=$with_cppunit_exec_prefix; cppunit_config_exec_prefix="$withval"
49626 cppunit_config_exec_prefix=""
49630 if test x$cppunit_config_exec_prefix != x ; then
49631 cppunit_config_args="$cppunit_config_args --exec-prefix=$cppunit_config_exec_prefix"
49632 if test x${CPPUNIT_CONFIG+set} != xset ; then
49633 CPPUNIT_CONFIG=$cppunit_config_exec_prefix/bin/cppunit-config
49636 if test x$cppunit_config_prefix != x ; then
49637 cppunit_config_args="$cppunit_config_args --prefix=$cppunit_config_prefix"
49638 if test x${CPPUNIT_CONFIG+set} != xset ; then
49639 CPPUNIT_CONFIG=$cppunit_config_prefix/bin/cppunit-config
49643 # Extract the first word of "cppunit-config", so it can be a program name with args.
49644 set dummy cppunit-config; ac_word=$2
49645 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49646 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49647 if test "${ac_cv_path_CPPUNIT_CONFIG+set}" = set; then
49648 echo $ECHO_N "(cached) $ECHO_C" >&6
49650 case $CPPUNIT_CONFIG in
49652 ac_cv_path_CPPUNIT_CONFIG="$CPPUNIT_CONFIG" # Let the user override the test with a path.
49655 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49656 for as_dir in $PATH
49659 test -z "$as_dir" && as_dir=.
49660 for ac_exec_ext in '' $ac_executable_extensions; do
49661 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49662 ac_cv_path_CPPUNIT_CONFIG="$as_dir/$ac_word$ac_exec_ext"
49663 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49670 test -z "$ac_cv_path_CPPUNIT_CONFIG" && ac_cv_path_CPPUNIT_CONFIG="no"
49674 CPPUNIT_CONFIG=$ac_cv_path_CPPUNIT_CONFIG
49675 if test -n "$CPPUNIT_CONFIG"; then
49676 { echo "$as_me:$LINENO: result: $CPPUNIT_CONFIG" >&5
49677 echo "${ECHO_T}$CPPUNIT_CONFIG" >&6; }
49679 { echo "$as_me:$LINENO: result: no" >&5
49680 echo "${ECHO_T}no" >&6; }
49684 cppunit_version_min=1.8.0
49686 { echo "$as_me:$LINENO: checking for Cppunit - version >= $cppunit_version_min" >&5
49687 echo $ECHO_N "checking for Cppunit - version >= $cppunit_version_min... $ECHO_C" >&6; }
49689 if test "$CPPUNIT_CONFIG" = "no" ; then
49690 { echo "$as_me:$LINENO: result: no" >&5
49691 echo "${ECHO_T}no" >&6; }
49694 CPPUNIT_CFLAGS=`$CPPUNIT_CONFIG --cflags`
49695 CPPUNIT_LIBS=`$CPPUNIT_CONFIG --libs`
49696 cppunit_version=`$CPPUNIT_CONFIG --version`
49698 cppunit_major_version=`echo $cppunit_version | \
49699 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
49700 cppunit_minor_version=`echo $cppunit_version | \
49701 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
49702 cppunit_micro_version=`echo $cppunit_version | \
49703 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
49705 cppunit_major_min=`echo $cppunit_version_min | \
49706 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
49707 cppunit_minor_min=`echo $cppunit_version_min | \
49708 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
49709 cppunit_micro_min=`echo $cppunit_version_min | \
49710 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
49712 cppunit_version_proper=`expr \
49713 $cppunit_major_version \
> $cppunit_major_min \
| \
49714 $cppunit_major_version \
= $cppunit_major_min \
& \
49715 $cppunit_minor_version \
> $cppunit_minor_min \
| \
49716 $cppunit_major_version \
= $cppunit_major_min \
& \
49717 $cppunit_minor_version \
= $cppunit_minor_min \
& \
49718 $cppunit_micro_version \
>= $cppunit_micro_min `
49720 if test "$cppunit_version_proper" = "1" ; then
49721 { echo "$as_me:$LINENO: result: $cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&5
49722 echo "${ECHO_T}$cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&6; }
49724 { echo "$as_me:$LINENO: result: no" >&5
49725 echo "${ECHO_T}no" >&6; }
49730 if test "x$no_cppunit" = x ; then
49731 SUBDIRS="$SUBDIRS tests"
49742 for subdir in `echo $SUBDIRS`; do
49743 if test -d ${srcdir}/${subdir} ; then
49744 if test "$wxUSE_GUI" = "yes"; then
49745 if test ${subdir} = "samples"; then
49746 makefiles="samples/Makefile.in $makefiles"
49747 for sample in `echo $SAMPLES_SUBDIRS`; do
49748 if test -d $srcdir/samples/$sample; then
49749 makefiles="samples/$sample/Makefile.in $makefiles"
49753 disabled_var=DISABLED_`echo $subdir | tr [a
-z] [A
-Z]`;
49754 eval "disabled=\$$disabled_var"
49755 disabled=/`echo X
$disabled | sed 's@ @/|/@g'`/
49756 makefiles=`(cd $srcdir ; find $subdir -name Makefile.
in) | $EGREP -v "$disabled"`
49758 else if test ${subdir} = "samples"; then
49759 makefiles="samples/Makefile.in samples/console/Makefile.in"
49760 elif test ${subdir} = "utils"; then
49762 for util in HelpGen tex2rtf ; do
49763 if test -d $srcdir/utils/$util ; then
49764 makefiles="utils/$util/Makefile.in \
49765 utils/$util/src/Makefile.in \
49769 else makefiles=`(cd $srcdir ; find $subdir -name Makefile.
in)`
49773 for mkin in $makefiles ; do
49774 mk=`echo $mkin | sed 's/Makefile\.in/Makefile/g'`
49775 ac_config_files="$ac_config_files $mk"
49781 cat >confcache <<\_ACEOF
49782 # This file is a shell script that caches the results of configure
49783 # tests run on this system so they can be shared between configure
49784 # scripts and configure runs, see configure's option --config-cache.
49785 # It is not useful on other systems. If it contains results you don't
49786 # want to keep, you may remove or edit it.
49788 # config.status only pays attention to the cache file if you give it
49789 # the --recheck option to rerun configure.
49791 # `ac_cv_env_foo
' variables (set or unset) will be overridden when
49792 # loading this file, other *unset* `ac_cv_foo' will be assigned the
49793 # following values.
49797 # The following way of writing the cache mishandles newlines in values,
49798 # but we know of no workaround that is simple, portable, and efficient.
49799 # So, we kill variables containing newlines.
49800 # Ultrix sh set writes to stderr and can't be redirected directly,
49801 # and sets the high bit in the cache file unless we assign to the vars.
49803 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
49804 eval ac_val
=\$
$ac_var
49808 *_cv_
*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
49809 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
49812 _
| IFS
| as_nl
) ;; #(
49813 *) $as_unset $ac_var ;;
49819 case $as_nl`(ac_space=' '; set) 2>&1` in #(
49820 *${as_nl}ac_space
=\
*)
49821 # `set' does not quote correctly, so add quotes (double-quote
49822 # substitution turns \\\\ into \\, and sed turns \\ into \).
49825 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
49828 # `set' quotes correctly as required by POSIX, so do not add quotes.
49829 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
49838 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
49840 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
49842 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
49843 if test -w "$cache_file"; then
49844 test "x$cache_file" != "x/dev/null" &&
49845 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
49846 echo "$as_me: updating cache $cache_file" >&6;}
49847 cat confcache
>$cache_file
49849 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
49850 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
49855 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
49856 # Let make expand exec_prefix.
49857 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
49859 DEFS
=-DHAVE_CONFIG_H
49863 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
49864 # 1. Remove the extension, and $U if already installed.
49865 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
49866 ac_i
=`echo "$ac_i" | sed "$ac_script"`
49867 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
49868 # will be set to the directory where LIBOBJS objects are built.
49869 ac_libobjs
="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
49870 ac_ltlibobjs
="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
49872 LIBOBJS
=$ac_libobjs
49874 LTLIBOBJS
=$ac_ltlibobjs
49878 : ${CONFIG_STATUS=./config.status}
49879 ac_clean_files_save
=$ac_clean_files
49880 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
49881 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
49882 echo "$as_me: creating $CONFIG_STATUS" >&6;}
49883 cat >$CONFIG_STATUS <<_ACEOF
49885 # Generated by $as_me.
49886 # Run this file to recreate the current configuration.
49887 # Compiler output produced by configure, useful for debugging
49888 # configure, is in config.log if it exists.
49891 ac_cs_recheck=false
49893 SHELL=\${CONFIG_SHELL-$SHELL}
49896 cat >>$CONFIG_STATUS <<\_ACEOF
49897 ## --------------------- ##
49898 ## M4sh Initialization. ##
49899 ## --------------------- ##
49901 # Be more Bourne compatible
49902 DUALCASE
=1; export DUALCASE
# for MKS sh
49903 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
49906 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
49907 # is contrary to our usage. Disable this feature.
49908 alias -g '${1+"$@"}'='"$@"'
49909 setopt NO_GLOB_SUBST
49911 case `(set -o) 2>/dev/null` in
49912 *posix
*) set -o posix
;;
49921 # Avoid depending upon Character Ranges.
49922 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
49923 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
49924 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
49925 as_cr_digits
='0123456789'
49926 as_cr_alnum
=$as_cr_Letters$as_cr_digits
49928 # The user is always right.
49929 if test "${PATH_SEPARATOR+set}" != set; then
49930 echo "#! /bin/sh" >conf$$.sh
49931 echo "exit 0" >>conf$$.sh
49933 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
49941 # Support unset when possible.
49942 if ( (MAIL
=60; unset MAIL
) || exit) >/dev
/null
2>&1; then
49950 # We need space, tab and new line, in precisely that order. Quoting is
49951 # there to prevent editors from complaining about space-tab.
49952 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
49953 # splitting by setting IFS to empty value.)
49958 # Find who we are. Look in the path if we contain no directory separator.
49960 *[\\/]* ) as_myself
=$0 ;;
49961 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
49962 for as_dir
in $PATH
49965 test -z "$as_dir" && as_dir
=.
49966 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
49972 # We did not find ourselves, most probably we were run as `sh COMMAND'
49973 # in which case we are not to be found in the path.
49974 if test "x$as_myself" = x
; then
49977 if test ! -f "$as_myself"; then
49978 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
49979 { (exit 1); exit 1; }
49982 # Work around bugs in pre-3.0 UWIN ksh.
49983 for as_var
in ENV MAIL MAILPATH
49984 do ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
49992 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
49993 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
49994 LC_TELEPHONE LC_TIME
49996 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
49997 eval $as_var=C
; export $as_var
49999 ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
50003 # Required to use basename.
50004 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
50005 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
50011 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
50012 as_basename
=basename
50018 # Name of the executable.
50019 as_me
=`$as_basename -- "$0" ||
50020 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
50021 X"$0" : 'X\(//\)$' \| \
50022 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
50024 sed '/^.*\/\([^/][^/]*\)\/*$/{
50043 as_lineno_1
=$LINENO
50044 as_lineno_2
=$LINENO
50045 test "x$as_lineno_1" != "x$as_lineno_2" &&
50046 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
50048 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
50049 # uniformly replaced by the line number. The first 'sed' inserts a
50050 # line-number line after each line using $LINENO; the second 'sed'
50051 # does the real work. The second script uses 'N' to pair each
50052 # line-number line with the line containing $LINENO, and appends
50053 # trailing '-' during substitution so that $LINENO is not a special
50054 # case at line end.
50055 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
50056 # scripts with optimization help from Paolo Bonzini. Blame Lee
50057 # E. McMahon (1931-1989) for sed's syntax. :-)
50069 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
50072 ' >$as_me.lineno
&&
50073 chmod +x
"$as_me.lineno" ||
50074 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
50075 { (exit 1); exit 1; }; }
50077 # Don't try to exec as it changes $[0], causing all sort of problems
50078 # (the dirname of $[0] is not the place where we might find the
50079 # original and so on. Autoconf is especially sensitive to this).
50080 .
"./$as_me.lineno"
50081 # Exit status is that of the last command.
50086 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
50092 ECHO_C
= ECHO_N
= ECHO_T
=
50093 case `echo -n x` in
50095 case `echo 'x\c'` in
50096 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
50103 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
50104 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
50110 rm -f conf$$ conf$$.exe conf$$.
file
50111 if test -d conf$$.dir
; then
50112 rm -f conf$$.dir
/conf$$.
file
50118 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
50120 # ... but there are two gotchas:
50121 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
50122 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
50123 # In both cases, we have to default to `cp -p'.
50124 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe
||
50126 elif ln conf$$.
file conf$$
2>/dev
/null
; then
50131 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
50132 rmdir conf$$.dir
2>/dev
/null
50134 if mkdir -p .
2>/dev
/null
; then
50137 test -d .
/-p && rmdir .
/-p
50141 if test -x / >/dev
/null
2>&1; then
50142 as_test_x
='test -x'
50144 if ls -dL / >/dev
/null
2>&1; then
50151 if test -d "$1"; then
50157 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
50158 ???[sx]*):;;*)false;;esac;fi
50162 as_executable_p
=$as_test_x
50164 # Sed expression to map a string onto a valid CPP name.
50165 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
50167 # Sed expression to map a string onto a valid variable name.
50168 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
50173 # Save the log message, to keep $[0] and so on meaningful, and to
50174 # report actual input values of CONFIG_FILES etc. instead of their
50175 # values after options handling.
50177 This file was extended by wxWidgets $as_me 2.9.0, which was
50178 generated by GNU Autoconf 2.61. Invocation command line was
50180 CONFIG_FILES = $CONFIG_FILES
50181 CONFIG_HEADERS = $CONFIG_HEADERS
50182 CONFIG_LINKS = $CONFIG_LINKS
50183 CONFIG_COMMANDS = $CONFIG_COMMANDS
50186 on `(hostname || uname -n) 2>/dev/null | sed 1q`
50191 cat >>$CONFIG_STATUS <<_ACEOF
50192 # Files that config.status was made for.
50193 config_files="$ac_config_files"
50194 config_headers="$ac_config_headers"
50195 config_commands="$ac_config_commands"
50199 cat >>$CONFIG_STATUS <<\_ACEOF
50201 \`$as_me' instantiates files from templates according to the
50202 current configuration.
50204 Usage: $0 [OPTIONS] [FILE]...
50206 -h, --help print this help, then exit
50207 -V, --version print version number and configuration settings, then exit
50208 -q, --quiet do not print progress messages
50209 -d, --debug don't remove temporary files
50210 --recheck update $as_me by reconfiguring in the same conditions
50211 --file=FILE[:TEMPLATE]
50212 instantiate the configuration file FILE
50213 --header=FILE[:TEMPLATE]
50214 instantiate the configuration header FILE
50216 Configuration files:
50219 Configuration headers:
50222 Configuration commands:
50225 Report bugs to <bug-autoconf@gnu.org>."
50228 cat >>$CONFIG_STATUS <<_ACEOF
50230 wxWidgets config.status 2.9.0
50231 configured by $0, generated by GNU Autoconf 2.61,
50232 with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
50234 Copyright (C) 2006 Free Software Foundation, Inc.
50235 This config.status script is free software; the Free Software Foundation
50236 gives unlimited permission to copy, distribute and modify it."
50243 cat >>$CONFIG_STATUS <<\_ACEOF
50244 # If no file are specified by the user, then we need to provide default
50245 # value. By we need to know if files were specified by the user.
50251 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
50252 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
50263 # Handling of the options.
50264 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
50266 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
50267 echo "$ac_cs_version"; exit ;;
50268 --debug | --debu | --deb | --de | --d | -d )
50270 --file | --fil | --fi | --f )
50272 CONFIG_FILES
="$CONFIG_FILES $ac_optarg"
50273 ac_need_defaults
=false
;;
50274 --header | --heade | --head | --hea )
50276 CONFIG_HEADERS
="$CONFIG_HEADERS $ac_optarg"
50277 ac_need_defaults
=false
;;
50279 # Conflict between --help and --header
50280 { echo "$as_me: error: ambiguous option: $1
50281 Try \`$0 --help' for more information." >&2
50282 { (exit 1); exit 1; }; };;
50283 --help | --hel | -h )
50284 echo "$ac_cs_usage"; exit ;;
50285 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
50286 | -silent | --silent | --silen | --sile | --sil | --si | --s)
50289 # This is an error.
50290 -*) { echo "$as_me: error: unrecognized option: $1
50291 Try \`$0 --help' for more information." >&2
50292 { (exit 1); exit 1; }; } ;;
50294 *) ac_config_targets
="$ac_config_targets $1"
50295 ac_need_defaults
=false
;;
50301 ac_configure_extra_args
=
50303 if $ac_cs_silent; then
50305 ac_configure_extra_args
="$ac_configure_extra_args --silent"
50309 cat >>$CONFIG_STATUS <<_ACEOF
50310 if \$ac_cs_recheck; then
50311 echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
50312 CONFIG_SHELL=$SHELL
50313 export CONFIG_SHELL
50314 exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
50318 cat >>$CONFIG_STATUS <<\_ACEOF
50322 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
50323 ## Running $as_me. ##
50329 cat >>$CONFIG_STATUS <<_ACEOF
50335 infile="$srcdir/include/wx/msw/genrcdefs.h"
50336 outdir="lib/wx/include/$TOOLCHAIN_FULLNAME/wx/msw"
50339 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
50340 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
50341 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
50347 cat >>$CONFIG_STATUS <<\_ACEOF
50349 # Handling of arguments.
50350 for ac_config_target
in $ac_config_targets
50352 case $ac_config_target in
50353 "lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h") CONFIG_HEADERS
="$CONFIG_HEADERS lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in" ;;
50354 "rcdefs.h") CONFIG_COMMANDS
="$CONFIG_COMMANDS rcdefs.h" ;;
50355 "lib/wx/config/${TOOLCHAIN_FULLNAME}") CONFIG_FILES
="$CONFIG_FILES lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in" ;;
50356 "lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}") CONFIG_FILES
="$CONFIG_FILES lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in" ;;
50357 "version-script") CONFIG_FILES
="$CONFIG_FILES version-script" ;;
50358 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
50359 "wx-config") CONFIG_COMMANDS
="$CONFIG_COMMANDS wx-config" ;;
50360 "$mk") CONFIG_FILES
="$CONFIG_FILES $mk" ;;
50362 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
50363 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
50364 { (exit 1); exit 1; }; };;
50369 # If the user did not use the arguments to specify the items to instantiate,
50370 # then the envvar interface is used. Set only those that are not.
50371 # We use the long form for the default assignment because of an extremely
50372 # bizarre bug on SunOS 4.1.3.
50373 if $ac_need_defaults; then
50374 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
50375 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
50376 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
50379 # Have a temporary directory for convenience. Make it in the build tree
50380 # simply because there is no reason against having it here, and in addition,
50381 # creating and moving files from /tmp can sometimes cause problems.
50382 # Hook for its removal unless debugging.
50383 # Note that there is a small window in which the directory will not be cleaned:
50384 # after its creation but before its name has been assigned to `$tmp'.
50388 trap 'exit_status=$?
50389 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
50391 trap '{ (exit 1); exit 1; }' 1 2 13 15
50393 # Create a (secure) tmp directory for tmp files.
50396 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
50397 test -n "$tmp" && test -d "$tmp"
50400 tmp
=.
/conf$$
-$RANDOM
50401 (umask 077 && mkdir "$tmp")
50404 echo "$me: cannot create a temporary directory in ." >&2
50405 { (exit 1); exit 1; }
50409 # Set up the sed scripts for CONFIG_FILES section.
50412 # No need to generate the scripts if there are no CONFIG_FILES.
50413 # This happens for instance when ./config.status config.h
50414 if test -n "$CONFIG_FILES"; then
50421 for ac_last_try
in false false false false false
:; do
50422 cat >conf$
$subs.
sed <<_ACEOF
50423 SHELL!$SHELL$ac_delim
50424 PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
50425 PACKAGE_NAME!$PACKAGE_NAME$ac_delim
50426 PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
50427 PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
50428 PACKAGE_STRING!$PACKAGE_STRING$ac_delim
50429 PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
50430 exec_prefix!$exec_prefix$ac_delim
50431 prefix!$prefix$ac_delim
50432 program_transform_name!$program_transform_name$ac_delim
50433 bindir!$bindir$ac_delim
50434 sbindir!$sbindir$ac_delim
50435 libexecdir!$libexecdir$ac_delim
50436 datarootdir!$datarootdir$ac_delim
50437 datadir!$datadir$ac_delim
50438 sysconfdir!$sysconfdir$ac_delim
50439 sharedstatedir!$sharedstatedir$ac_delim
50440 localstatedir!$localstatedir$ac_delim
50441 includedir!$includedir$ac_delim
50442 oldincludedir!$oldincludedir$ac_delim
50443 docdir!$docdir$ac_delim
50444 infodir!$infodir$ac_delim
50445 htmldir!$htmldir$ac_delim
50446 dvidir!$dvidir$ac_delim
50447 pdfdir!$pdfdir$ac_delim
50448 psdir!$psdir$ac_delim
50449 libdir!$libdir$ac_delim
50450 localedir!$localedir$ac_delim
50451 mandir!$mandir$ac_delim
50452 DEFS!$DEFS$ac_delim
50453 ECHO_C!$ECHO_C$ac_delim
50454 ECHO_N!$ECHO_N$ac_delim
50455 ECHO_T!$ECHO_T$ac_delim
50456 LIBS!$LIBS$ac_delim
50457 build_alias!$build_alias$ac_delim
50458 host_alias!$host_alias$ac_delim
50459 target_alias!$target_alias$ac_delim
50460 build!$build$ac_delim
50461 build_cpu!$build_cpu$ac_delim
50462 build_vendor!$build_vendor$ac_delim
50463 build_os!$build_os$ac_delim
50464 host!$host$ac_delim
50465 host_cpu!$host_cpu$ac_delim
50466 host_vendor!$host_vendor$ac_delim
50467 host_os!$host_os$ac_delim
50468 target!$target$ac_delim
50469 target_cpu!$target_cpu$ac_delim
50470 target_vendor!$target_vendor$ac_delim
50471 target_os!$target_os$ac_delim
50472 wx_top_builddir!$wx_top_builddir$ac_delim
50474 CFLAGS!$CFLAGS$ac_delim
50475 LDFLAGS!$LDFLAGS$ac_delim
50476 CPPFLAGS!$CPPFLAGS$ac_delim
50477 ac_ct_CC!$ac_ct_CC$ac_delim
50478 EXEEXT!$EXEEXT$ac_delim
50479 OBJEXT!$OBJEXT$ac_delim
50481 GREP!$GREP$ac_delim
50482 EGREP!$EGREP$ac_delim
50484 CXXFLAGS!$CXXFLAGS$ac_delim
50485 ac_ct_CXX!$ac_ct_CXX$ac_delim
50486 RANLIB!$RANLIB$ac_delim
50488 INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
50489 INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
50490 INSTALL_DATA!$INSTALL_DATA$ac_delim
50491 STRIP!$STRIP$ac_delim
50492 WINDRES!$WINDRES$ac_delim
50493 DLLTOOL!$DLLTOOL$ac_delim
50494 IF_GNU_MAKE!$IF_GNU_MAKE$ac_delim
50495 LN_S!$LN_S$ac_delim
50496 subdirs!$subdirs$ac_delim
50497 PKG_CONFIG!$PKG_CONFIG$ac_delim
50498 GTK_CFLAGS!$GTK_CFLAGS$ac_delim
50499 GTK_LIBS!$GTK_LIBS$ac_delim
50500 GTK_CONFIG!$GTK_CONFIG$ac_delim
50501 DIRECTFB_CFLAGS!$DIRECTFB_CFLAGS$ac_delim
50502 DIRECTFB_LIBS!$DIRECTFB_LIBS$ac_delim
50503 XMKMF!$XMKMF$ac_delim
50504 X_CFLAGS!$X_CFLAGS$ac_delim
50505 X_PRE_LIBS!$X_PRE_LIBS$ac_delim
50506 X_LIBS!$X_LIBS$ac_delim
50507 X_EXTRA_LIBS!$X_EXTRA_LIBS$ac_delim
50508 PANGOX_CFLAGS!$PANGOX_CFLAGS$ac_delim
50509 PANGOX_LIBS!$PANGOX_LIBS$ac_delim
50510 PANGOFT2_CFLAGS!$PANGOFT2_CFLAGS$ac_delim
50511 PANGOFT2_LIBS!$PANGOFT2_LIBS$ac_delim
50512 PANGOXFT_CFLAGS!$PANGOXFT_CFLAGS$ac_delim
50513 PANGOXFT_LIBS!$PANGOXFT_LIBS$ac_delim
50515 DEREZ!$DEREZ$ac_delim
50516 SETFILE!$SETFILE$ac_delim
50517 LIBICONV!$LIBICONV$ac_delim
50518 SDL_CONFIG!$SDL_CONFIG$ac_delim
50519 SDL_CFLAGS!$SDL_CFLAGS$ac_delim
50522 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
50524 elif $ac_last_try; then
50525 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
50526 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
50527 { (exit 1); exit 1; }; }
50529 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
50533 ac_eof
=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
50534 if test -n "$ac_eof"; then
50535 ac_eof
=`echo "$ac_eof" | sort -nru | sed 1q`
50536 ac_eof
=`expr $ac_eof + 1`
50539 cat >>$CONFIG_STATUS <<_ACEOF
50540 cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
50541 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
50544 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
50545 s/^/s,@/; s/!/@,|#_!!_#|/
50548 s/'"$ac_delim"'$/,g/; t
50550 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
50551 ' >>$CONFIG_STATUS <conf$
$subs.
sed
50552 rm -f conf$
$subs.
sed
50553 cat >>$CONFIG_STATUS <<_ACEOF
50559 for ac_last_try
in false false false false false
:; do
50560 cat >conf$
$subs.
sed <<_ACEOF
50561 SDL_LIBS!$SDL_LIBS$ac_delim
50562 LIBGNOMEPRINTUI_CFLAGS!$LIBGNOMEPRINTUI_CFLAGS$ac_delim
50563 LIBGNOMEPRINTUI_LIBS!$LIBGNOMEPRINTUI_LIBS$ac_delim
50564 GNOMEVFS_CFLAGS!$GNOMEVFS_CFLAGS$ac_delim
50565 GNOMEVFS_LIBS!$GNOMEVFS_LIBS$ac_delim
50566 HILDON_CFLAGS!$HILDON_CFLAGS$ac_delim
50567 HILDON_LIBS!$HILDON_LIBS$ac_delim
50568 CAIRO_CFLAGS!$CAIRO_CFLAGS$ac_delim
50569 CAIRO_LIBS!$CAIRO_LIBS$ac_delim
50570 GST_CFLAGS!$GST_CFLAGS$ac_delim
50571 GST_LIBS!$GST_LIBS$ac_delim
50572 CORE_BASE_LIBS!$CORE_BASE_LIBS$ac_delim
50573 CORE_GUI_LIBS!$CORE_GUI_LIBS$ac_delim
50574 wxUSE_ZLIB!$wxUSE_ZLIB$ac_delim
50575 wxUSE_REGEX!$wxUSE_REGEX$ac_delim
50576 wxUSE_EXPAT!$wxUSE_EXPAT$ac_delim
50577 wxUSE_ODBC!$wxUSE_ODBC$ac_delim
50578 wxUSE_LIBJPEG!$wxUSE_LIBJPEG$ac_delim
50579 wxUSE_LIBPNG!$wxUSE_LIBPNG$ac_delim
50580 wxUSE_LIBTIFF!$wxUSE_LIBTIFF$ac_delim
50581 VENDOR!$VENDOR$ac_delim
50582 OFFICIAL_BUILD!$OFFICIAL_BUILD$ac_delim
50583 WX_FLAVOUR!$WX_FLAVOUR$ac_delim
50584 WX_LIB_FLAVOUR!$WX_LIB_FLAVOUR$ac_delim
50585 WXUNIV!$WXUNIV$ac_delim
50586 MONOLITHIC!$MONOLITHIC$ac_delim
50587 USE_PLUGINS!$USE_PLUGINS$ac_delim
50588 CXXWARNINGS!$CXXWARNINGS$ac_delim
50589 EXTRALIBS!$EXTRALIBS$ac_delim
50590 EXTRALIBS_XML!$EXTRALIBS_XML$ac_delim
50591 EXTRALIBS_HTML!$EXTRALIBS_HTML$ac_delim
50592 EXTRALIBS_ODBC!$EXTRALIBS_ODBC$ac_delim
50593 EXTRALIBS_GUI!$EXTRALIBS_GUI$ac_delim
50594 EXTRALIBS_OPENGL!$EXTRALIBS_OPENGL$ac_delim
50595 EXTRALIBS_SDL!$EXTRALIBS_SDL$ac_delim
50596 WITH_PLUGIN_SDL!$WITH_PLUGIN_SDL$ac_delim
50597 EXTRALIBS_GNOMEPRINT!$EXTRALIBS_GNOMEPRINT$ac_delim
50598 EXTRALIBS_GNOMEVFS!$EXTRALIBS_GNOMEVFS$ac_delim
50599 EXTRALIBS_HILDON!$EXTRALIBS_HILDON$ac_delim
50600 UNICODE!$UNICODE$ac_delim
50601 BUILD!$BUILD$ac_delim
50602 DEBUG_INFO!$DEBUG_INFO$ac_delim
50603 DEBUG_FLAG!$DEBUG_FLAG$ac_delim
50604 TOOLKIT_LOWERCASE!$TOOLKIT_LOWERCASE$ac_delim
50605 TOOLKIT_VERSION!$TOOLKIT_VERSION$ac_delim
50606 SAMPLES_RPATH_FLAG!$SAMPLES_RPATH_FLAG$ac_delim
50607 SAMPLES_RPATH_POSTLINK!$SAMPLES_RPATH_POSTLINK$ac_delim
50608 HOST_SUFFIX!$HOST_SUFFIX$ac_delim
50609 CPPUNIT_CFLAGS!$CPPUNIT_CFLAGS$ac_delim
50610 CPPUNIT_LIBS!$CPPUNIT_LIBS$ac_delim
50611 SET_MAKE!$SET_MAKE$ac_delim
50612 MAKE_SET!$MAKE_SET$ac_delim
50613 AROPTIONS!$AROPTIONS$ac_delim
50615 INSTALL_DIR!$INSTALL_DIR$ac_delim
50616 LDFLAGS_GUI!$LDFLAGS_GUI$ac_delim
50617 PLATFORM_UNIX!$PLATFORM_UNIX$ac_delim
50618 PLATFORM_WIN32!$PLATFORM_WIN32$ac_delim
50619 PLATFORM_MSDOS!$PLATFORM_MSDOS$ac_delim
50620 PLATFORM_MAC!$PLATFORM_MAC$ac_delim
50621 PLATFORM_MACOS!$PLATFORM_MACOS$ac_delim
50622 PLATFORM_MACOSX!$PLATFORM_MACOSX$ac_delim
50623 PLATFORM_OS2!$PLATFORM_OS2$ac_delim
50624 PLATFORM_BEOS!$PLATFORM_BEOS$ac_delim
50625 SO_SUFFIX!$SO_SUFFIX$ac_delim
50626 SO_SUFFIX_MODULE!$SO_SUFFIX_MODULE$ac_delim
50627 DLLIMP_SUFFIX!$DLLIMP_SUFFIX$ac_delim
50628 LIBPREFIX!$LIBPREFIX$ac_delim
50629 LIBEXT!$LIBEXT$ac_delim
50630 DLLPREFIX!$DLLPREFIX$ac_delim
50631 DLLPREFIX_MODULE!$DLLPREFIX_MODULE$ac_delim
50632 dlldir!$dlldir$ac_delim
50633 AIX_CXX_LD!$AIX_CXX_LD$ac_delim
50634 SHARED_LD_CC!$SHARED_LD_CC$ac_delim
50635 SHARED_LD_CXX!$SHARED_LD_CXX$ac_delim
50636 SHARED_LD_MODULE_CC!$SHARED_LD_MODULE_CC$ac_delim
50637 SHARED_LD_MODULE_CXX!$SHARED_LD_MODULE_CXX$ac_delim
50638 PIC_FLAG!$PIC_FLAG$ac_delim
50639 WINDOWS_IMPLIB!$WINDOWS_IMPLIB$ac_delim
50640 USE_SOVERSION!$USE_SOVERSION$ac_delim
50641 USE_SOVERLINUX!$USE_SOVERLINUX$ac_delim
50642 USE_SOVERSOLARIS!$USE_SOVERSOLARIS$ac_delim
50643 USE_SOVERCYGWIN!$USE_SOVERCYGWIN$ac_delim
50644 USE_MACVERSION!$USE_MACVERSION$ac_delim
50645 USE_SOSYMLINKS!$USE_SOSYMLINKS$ac_delim
50646 SONAME_FLAG!$SONAME_FLAG$ac_delim
50647 DEPS_TRACKING!$DEPS_TRACKING$ac_delim
50648 BK_DEPS!$BK_DEPS$ac_delim
50649 GCC_PCH!$GCC_PCH$ac_delim
50650 ICC_PCH!$ICC_PCH$ac_delim
50651 BK_MAKE_PCH!$BK_MAKE_PCH$ac_delim
50652 COND_BUILD_DEBUG!$COND_BUILD_DEBUG$ac_delim
50653 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT!$COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT$ac_delim
50654 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT!$COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT$ac_delim
50655 COND_BUILD_DEBUG_UNICODE_0!$COND_BUILD_DEBUG_UNICODE_0$ac_delim
50656 COND_BUILD_DEBUG_UNICODE_1!$COND_BUILD_DEBUG_UNICODE_1$ac_delim
50657 COND_BUILD_RELEASE!$COND_BUILD_RELEASE$ac_delim
50660 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
50662 elif $ac_last_try; then
50663 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
50664 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
50665 { (exit 1); exit 1; }; }
50667 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
50671 ac_eof
=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
50672 if test -n "$ac_eof"; then
50673 ac_eof
=`echo "$ac_eof" | sort -nru | sed 1q`
50674 ac_eof
=`expr $ac_eof + 1`
50677 cat >>$CONFIG_STATUS <<_ACEOF
50678 cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof
50679 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
50682 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
50683 s/^/s,@/; s/!/@,|#_!!_#|/
50686 s/'"$ac_delim"'$/,g/; t
50688 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
50689 ' >>$CONFIG_STATUS <conf$
$subs.
sed
50690 rm -f conf$
$subs.
sed
50691 cat >>$CONFIG_STATUS <<_ACEOF
50697 for ac_last_try
in false false false false false
:; do
50698 cat >conf$
$subs.
sed <<_ACEOF
50699 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT!$COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT$ac_delim
50700 COND_BUILD_RELEASE_UNICODE_0!$COND_BUILD_RELEASE_UNICODE_0$ac_delim
50701 COND_BUILD_RELEASE_UNICODE_1!$COND_BUILD_RELEASE_UNICODE_1$ac_delim
50702 COND_DEBUG_FLAG_1!$COND_DEBUG_FLAG_1$ac_delim
50703 COND_DEBUG_INFO_0!$COND_DEBUG_INFO_0$ac_delim
50704 COND_DEBUG_INFO_1!$COND_DEBUG_INFO_1$ac_delim
50705 COND_DEPS_TRACKING_0!$COND_DEPS_TRACKING_0$ac_delim
50706 COND_DEPS_TRACKING_1!$COND_DEPS_TRACKING_1$ac_delim
50707 COND_GCC_PCH_1!$COND_GCC_PCH_1$ac_delim
50708 COND_ICC_PCH_1!$COND_ICC_PCH_1$ac_delim
50709 COND_MONOLITHIC_0!$COND_MONOLITHIC_0$ac_delim
50710 COND_MONOLITHIC_0_SHARED_0!$COND_MONOLITHIC_0_SHARED_0$ac_delim
50711 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1!$COND_MONOLITHIC_0_SHARED_0_USE_AUI_1$ac_delim
50712 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1$ac_delim
50713 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1$ac_delim
50714 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1$ac_delim
50715 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1$ac_delim
50716 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1$ac_delim
50717 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1!$COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1$ac_delim
50718 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1!$COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1$ac_delim
50719 COND_MONOLITHIC_0_SHARED_0_USE_STC_1!$COND_MONOLITHIC_0_SHARED_0_USE_STC_1$ac_delim
50720 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1!$COND_MONOLITHIC_0_SHARED_0_USE_XRC_1$ac_delim
50721 COND_MONOLITHIC_0_SHARED_1!$COND_MONOLITHIC_0_SHARED_1$ac_delim
50722 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1!$COND_MONOLITHIC_0_SHARED_1_USE_AUI_1$ac_delim
50723 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1$ac_delim
50724 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1$ac_delim
50725 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1$ac_delim
50726 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1$ac_delim
50727 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1$ac_delim
50728 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1!$COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1$ac_delim
50729 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1!$COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1$ac_delim
50730 COND_MONOLITHIC_0_SHARED_1_USE_STC_1!$COND_MONOLITHIC_0_SHARED_1_USE_STC_1$ac_delim
50731 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1!$COND_MONOLITHIC_0_SHARED_1_USE_XRC_1$ac_delim
50732 COND_MONOLITHIC_0_USE_AUI_1!$COND_MONOLITHIC_0_USE_AUI_1$ac_delim
50733 COND_MONOLITHIC_0_USE_GUI_1!$COND_MONOLITHIC_0_USE_GUI_1$ac_delim
50734 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1!$COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1$ac_delim
50735 COND_MONOLITHIC_0_USE_GUI_1_USE_ODBC_1!$COND_MONOLITHIC_0_USE_GUI_1_USE_ODBC_1$ac_delim
50736 COND_MONOLITHIC_0_USE_HTML_1!$COND_MONOLITHIC_0_USE_HTML_1$ac_delim
50737 COND_MONOLITHIC_0_USE_MEDIA_1!$COND_MONOLITHIC_0_USE_MEDIA_1$ac_delim
50738 COND_MONOLITHIC_0_USE_ODBC_1!$COND_MONOLITHIC_0_USE_ODBC_1$ac_delim
50739 COND_MONOLITHIC_0_USE_QA_1!$COND_MONOLITHIC_0_USE_QA_1$ac_delim
50740 COND_MONOLITHIC_0_USE_RICHTEXT_1!$COND_MONOLITHIC_0_USE_RICHTEXT_1$ac_delim
50741 COND_MONOLITHIC_0_USE_STC_1!$COND_MONOLITHIC_0_USE_STC_1$ac_delim
50742 COND_MONOLITHIC_0_USE_XRC_1!$COND_MONOLITHIC_0_USE_XRC_1$ac_delim
50743 COND_MONOLITHIC_1!$COND_MONOLITHIC_1$ac_delim
50744 COND_MONOLITHIC_1_SHARED_0!$COND_MONOLITHIC_1_SHARED_0$ac_delim
50745 COND_MONOLITHIC_1_SHARED_1!$COND_MONOLITHIC_1_SHARED_1$ac_delim
50746 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1!$COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1$ac_delim
50747 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1!$COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1$ac_delim
50748 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1!$COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1$ac_delim
50749 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1!$COND_PLATFORM_MACOSX_0_USE_SOVERSION_1$ac_delim
50750 COND_PLATFORM_MACOSX_1!$COND_PLATFORM_MACOSX_1$ac_delim
50751 COND_PLATFORM_MACOSX_1_TOOLKIT_!$COND_PLATFORM_MACOSX_1_TOOLKIT_$ac_delim
50752 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA!$COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA$ac_delim
50753 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK!$COND_PLATFORM_MACOSX_1_TOOLKIT_GTK$ac_delim
50754 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC!$COND_PLATFORM_MACOSX_1_TOOLKIT_MAC$ac_delim
50755 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1!$COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1$ac_delim
50756 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF!$COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF$ac_delim
50757 COND_PLATFORM_MACOSX_1_TOOLKIT_X11!$COND_PLATFORM_MACOSX_1_TOOLKIT_X11$ac_delim
50758 COND_PLATFORM_MACOSX_1_USE_GUI_1!$COND_PLATFORM_MACOSX_1_USE_GUI_1$ac_delim
50759 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1!$COND_PLATFORM_MACOSX_1_USE_SOVERSION_1$ac_delim
50760 COND_PLATFORM_MACOS_1!$COND_PLATFORM_MACOS_1$ac_delim
50761 COND_PLATFORM_MAC_1!$COND_PLATFORM_MAC_1$ac_delim
50762 COND_PLATFORM_MSDOS_0!$COND_PLATFORM_MSDOS_0$ac_delim
50763 COND_PLATFORM_MSDOS_1!$COND_PLATFORM_MSDOS_1$ac_delim
50764 COND_PLATFORM_OS2_1!$COND_PLATFORM_OS2_1$ac_delim
50765 COND_PLATFORM_UNIX_0!$COND_PLATFORM_UNIX_0$ac_delim
50766 COND_PLATFORM_UNIX_1!$COND_PLATFORM_UNIX_1$ac_delim
50767 COND_PLATFORM_UNIX_1_TOOLKIT_MGL!$COND_PLATFORM_UNIX_1_TOOLKIT_MGL$ac_delim
50768 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1!$COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1$ac_delim
50769 COND_PLATFORM_UNIX_1_USE_GUI_1!$COND_PLATFORM_UNIX_1_USE_GUI_1$ac_delim
50770 COND_PLATFORM_UNIX_1_USE_PLUGINS_0!$COND_PLATFORM_UNIX_1_USE_PLUGINS_0$ac_delim
50771 COND_PLATFORM_WIN32_0!$COND_PLATFORM_WIN32_0$ac_delim
50772 COND_PLATFORM_WIN32_1!$COND_PLATFORM_WIN32_1$ac_delim
50773 COND_SHARED_0!$COND_SHARED_0$ac_delim
50774 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0!$COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0$ac_delim
50775 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0!$COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0$ac_delim
50776 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0!$COND_SHARED_0_TOOLKIT_PM_WXUNIV_0$ac_delim
50777 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1!$COND_SHARED_0_USE_GUI_1_USE_OPENGL_1$ac_delim
50778 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN!$COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN$ac_delim
50779 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN!$COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN$ac_delim
50780 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN!$COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN$ac_delim
50781 COND_SHARED_0_USE_STC_1!$COND_SHARED_0_USE_STC_1$ac_delim
50782 COND_SHARED_0_USE_XRC_1!$COND_SHARED_0_USE_XRC_1$ac_delim
50783 COND_SHARED_0_WXUSE_EXPAT_BUILTIN!$COND_SHARED_0_WXUSE_EXPAT_BUILTIN$ac_delim
50784 COND_SHARED_0_WXUSE_ODBC_BUILTIN!$COND_SHARED_0_WXUSE_ODBC_BUILTIN$ac_delim
50785 COND_SHARED_0_WXUSE_REGEX_BUILTIN!$COND_SHARED_0_WXUSE_REGEX_BUILTIN$ac_delim
50786 COND_SHARED_0_WXUSE_ZLIB_BUILTIN!$COND_SHARED_0_WXUSE_ZLIB_BUILTIN$ac_delim
50787 COND_SHARED_1!$COND_SHARED_1$ac_delim
50788 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1!$COND_SHARED_1_USE_GUI_1_USE_OPENGL_1$ac_delim
50789 COND_SHARED_1_USE_XRC_1!$COND_SHARED_1_USE_XRC_1$ac_delim
50790 COND_TOOLKIT_!$COND_TOOLKIT_$ac_delim
50791 COND_TOOLKIT_COCOA!$COND_TOOLKIT_COCOA$ac_delim
50792 COND_TOOLKIT_COCOA_USE_GUI_1!$COND_TOOLKIT_COCOA_USE_GUI_1$ac_delim
50793 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0$ac_delim
50794 COND_TOOLKIT_DFB!$COND_TOOLKIT_DFB$ac_delim
50795 COND_TOOLKIT_DFB_USE_GUI_1!$COND_TOOLKIT_DFB_USE_GUI_1$ac_delim
50798 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
50800 elif $ac_last_try; then
50801 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
50802 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
50803 { (exit 1); exit 1; }; }
50805 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
50809 ac_eof
=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
50810 if test -n "$ac_eof"; then
50811 ac_eof
=`echo "$ac_eof" | sort -nru | sed 1q`
50812 ac_eof
=`expr $ac_eof + 1`
50815 cat >>$CONFIG_STATUS <<_ACEOF
50816 cat >"\$tmp/subs-3.sed" <<\CEOF$ac_eof
50817 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
50820 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
50821 s/^/s,@/; s/!/@,|#_!!_#|/
50824 s/'"$ac_delim"'$/,g/; t
50826 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
50827 ' >>$CONFIG_STATUS <conf$
$subs.
sed
50828 rm -f conf$
$subs.
sed
50829 cat >>$CONFIG_STATUS <<_ACEOF
50835 for ac_last_try
in false false false false false
:; do
50836 cat >conf$
$subs.
sed <<_ACEOF
50837 COND_TOOLKIT_GTK!$COND_TOOLKIT_GTK$ac_delim
50838 COND_TOOLKIT_GTK_TOOLKIT_VERSION_!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_$ac_delim
50839 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2$ac_delim
50840 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1$ac_delim
50841 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0$ac_delim
50842 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1!$COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1$ac_delim
50843 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0$ac_delim
50844 COND_TOOLKIT_GTK_USE_GUI_1!$COND_TOOLKIT_GTK_USE_GUI_1$ac_delim
50845 COND_TOOLKIT_MAC!$COND_TOOLKIT_MAC$ac_delim
50846 COND_TOOLKIT_MAC_USE_GUI_1!$COND_TOOLKIT_MAC_USE_GUI_1$ac_delim
50847 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0$ac_delim
50848 COND_TOOLKIT_MGL!$COND_TOOLKIT_MGL$ac_delim
50849 COND_TOOLKIT_MGL_USE_GUI_1!$COND_TOOLKIT_MGL_USE_GUI_1$ac_delim
50850 COND_TOOLKIT_MOTIF!$COND_TOOLKIT_MOTIF$ac_delim
50851 COND_TOOLKIT_MOTIF_USE_GUI_1!$COND_TOOLKIT_MOTIF_USE_GUI_1$ac_delim
50852 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0$ac_delim
50853 COND_TOOLKIT_MSW!$COND_TOOLKIT_MSW$ac_delim
50854 COND_TOOLKIT_MSW_USE_GUI_1!$COND_TOOLKIT_MSW_USE_GUI_1$ac_delim
50855 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0$ac_delim
50856 COND_TOOLKIT_MSW_WXUNIV_0!$COND_TOOLKIT_MSW_WXUNIV_0$ac_delim
50857 COND_TOOLKIT_PM!$COND_TOOLKIT_PM$ac_delim
50858 COND_TOOLKIT_PM_USE_GUI_1!$COND_TOOLKIT_PM_USE_GUI_1$ac_delim
50859 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0$ac_delim
50860 COND_TOOLKIT_WINCE!$COND_TOOLKIT_WINCE$ac_delim
50861 COND_TOOLKIT_WINCE_USE_GUI_1!$COND_TOOLKIT_WINCE_USE_GUI_1$ac_delim
50862 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0$ac_delim
50863 COND_TOOLKIT_WINCE_WXUNIV_0!$COND_TOOLKIT_WINCE_WXUNIV_0$ac_delim
50864 COND_TOOLKIT_X11!$COND_TOOLKIT_X11$ac_delim
50865 COND_TOOLKIT_X11_USE_GUI_1!$COND_TOOLKIT_X11_USE_GUI_1$ac_delim
50866 COND_UNICODE_1!$COND_UNICODE_1$ac_delim
50867 COND_USE_EXCEPTIONS_0!$COND_USE_EXCEPTIONS_0$ac_delim
50868 COND_USE_EXCEPTIONS_1!$COND_USE_EXCEPTIONS_1$ac_delim
50869 COND_USE_GUI_0!$COND_USE_GUI_0$ac_delim
50870 COND_USE_GUI_1!$COND_USE_GUI_1$ac_delim
50871 COND_USE_GUI_1_USE_OPENGL_1!$COND_USE_GUI_1_USE_OPENGL_1$ac_delim
50872 COND_USE_GUI_1_WXUNIV_0!$COND_USE_GUI_1_WXUNIV_0$ac_delim
50873 COND_USE_GUI_1_WXUNIV_1!$COND_USE_GUI_1_WXUNIV_1$ac_delim
50874 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN!$COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN$ac_delim
50875 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN!$COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN$ac_delim
50876 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN!$COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN$ac_delim
50877 COND_USE_ODBC_1!$COND_USE_ODBC_1$ac_delim
50878 COND_USE_OPENGL_1!$COND_USE_OPENGL_1$ac_delim
50879 COND_USE_PCH_1!$COND_USE_PCH_1$ac_delim
50880 COND_USE_PLUGINS_0!$COND_USE_PLUGINS_0$ac_delim
50881 COND_USE_RTTI_0!$COND_USE_RTTI_0$ac_delim
50882 COND_USE_RTTI_1!$COND_USE_RTTI_1$ac_delim
50883 COND_USE_SOSYMLINKS_1!$COND_USE_SOSYMLINKS_1$ac_delim
50884 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1!$COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1$ac_delim
50885 COND_USE_SOVERLINUX_1!$COND_USE_SOVERLINUX_1$ac_delim
50886 COND_USE_SOVERSION_0!$COND_USE_SOVERSION_0$ac_delim
50887 COND_USE_SOVERSOLARIS_1!$COND_USE_SOVERSOLARIS_1$ac_delim
50888 COND_USE_STC_1!$COND_USE_STC_1$ac_delim
50889 COND_USE_THREADS_0!$COND_USE_THREADS_0$ac_delim
50890 COND_USE_THREADS_1!$COND_USE_THREADS_1$ac_delim
50891 COND_USE_XRC_1!$COND_USE_XRC_1$ac_delim
50892 COND_WINDOWS_IMPLIB_1!$COND_WINDOWS_IMPLIB_1$ac_delim
50893 COND_WITH_PLUGIN_SDL_1!$COND_WITH_PLUGIN_SDL_1$ac_delim
50894 COND_WXUNIV_0!$COND_WXUNIV_0$ac_delim
50895 COND_WXUNIV_1!$COND_WXUNIV_1$ac_delim
50896 COND_WXUSE_EXPAT_BUILTIN!$COND_WXUSE_EXPAT_BUILTIN$ac_delim
50897 COND_WXUSE_LIBJPEG_BUILTIN!$COND_WXUSE_LIBJPEG_BUILTIN$ac_delim
50898 COND_WXUSE_LIBPNG_BUILTIN!$COND_WXUSE_LIBPNG_BUILTIN$ac_delim
50899 COND_WXUSE_LIBTIFF_BUILTIN!$COND_WXUSE_LIBTIFF_BUILTIN$ac_delim
50900 COND_WXUSE_ODBC_BUILTIN!$COND_WXUSE_ODBC_BUILTIN$ac_delim
50901 COND_WXUSE_REGEX_BUILTIN!$COND_WXUSE_REGEX_BUILTIN$ac_delim
50902 COND_WXUSE_ZLIB_BUILTIN!$COND_WXUSE_ZLIB_BUILTIN$ac_delim
50903 SHARED!$SHARED$ac_delim
50904 WX_LIBRARY_BASENAME_NOGUI!$WX_LIBRARY_BASENAME_NOGUI$ac_delim
50905 WX_LIBRARY_BASENAME_GUI!$WX_LIBRARY_BASENAME_GUI$ac_delim
50906 USE_GUI!$USE_GUI$ac_delim
50907 AFMINSTALL!$AFMINSTALL$ac_delim
50908 WIN32INSTALL!$WIN32INSTALL$ac_delim
50909 TOOLKIT!$TOOLKIT$ac_delim
50910 TOOLKIT_DIR!$TOOLKIT_DIR$ac_delim
50911 TOOLCHAIN_NAME!$TOOLCHAIN_NAME$ac_delim
50912 TOOLCHAIN_FULLNAME!$TOOLCHAIN_FULLNAME$ac_delim
50913 cross_compiling!$cross_compiling$ac_delim
50914 WIDGET_SET!$WIDGET_SET$ac_delim
50915 WX_RELEASE!$WX_RELEASE$ac_delim
50916 WX_VERSION!$WX_VERSION$ac_delim
50917 WX_SUBVERSION!$WX_SUBVERSION$ac_delim
50918 WX_CHARTYPE!$WX_CHARTYPE$ac_delim
50919 WX_DEBUGTYPE!$WX_DEBUGTYPE$ac_delim
50920 WXCONFIG_CPPFLAGS!$WXCONFIG_CPPFLAGS$ac_delim
50921 WXCONFIG_CFLAGS!$WXCONFIG_CFLAGS$ac_delim
50922 WXCONFIG_CXXFLAGS!$WXCONFIG_CXXFLAGS$ac_delim
50923 WXCONFIG_LIBS!$WXCONFIG_LIBS$ac_delim
50924 WXCONFIG_RPATH!$WXCONFIG_RPATH$ac_delim
50925 WXCONFIG_LDFLAGS_GUI!$WXCONFIG_LDFLAGS_GUI$ac_delim
50926 WXCONFIG_RESFLAGS!$WXCONFIG_RESFLAGS$ac_delim
50927 EXE_LINKER!$EXE_LINKER$ac_delim
50928 GUIDIST!$GUIDIST$ac_delim
50929 DISTDIR!$DISTDIR$ac_delim
50930 SAMPLES_SUBDIRS!$SAMPLES_SUBDIRS$ac_delim
50931 LDFLAGS_GL!$LDFLAGS_GL$ac_delim
50932 OPENGL_LIBS!$OPENGL_LIBS$ac_delim
50933 DMALLOC_LIBS!$DMALLOC_LIBS$ac_delim
50936 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
50938 elif $ac_last_try; then
50939 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
50940 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
50941 { (exit 1); exit 1; }; }
50943 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
50947 ac_eof
=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
50948 if test -n "$ac_eof"; then
50949 ac_eof
=`echo "$ac_eof" | sort -nru | sed 1q`
50950 ac_eof
=`expr $ac_eof + 1`
50953 cat >>$CONFIG_STATUS <<_ACEOF
50954 cat >"\$tmp/subs-4.sed" <<\CEOF$ac_eof
50955 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
50958 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
50959 s/^/s,@/; s/!/@,|#_!!_#|/
50962 s/'"$ac_delim"'$/,g/; t
50964 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
50965 ' >>$CONFIG_STATUS <conf$
$subs.
sed
50966 rm -f conf$
$subs.
sed
50967 cat >>$CONFIG_STATUS <<_ACEOF
50973 for ac_last_try
in false false false false false
:; do
50974 cat >conf$
$subs.
sed <<_ACEOF
50975 WX_VERSION_TAG!$WX_VERSION_TAG$ac_delim
50976 RESCOMP!$RESCOMP$ac_delim
50977 RESFLAGS!$RESFLAGS$ac_delim
50978 RESPROGRAMOBJ!$RESPROGRAMOBJ$ac_delim
50979 WX_RESOURCES_MACOSX_ASCII!$WX_RESOURCES_MACOSX_ASCII$ac_delim
50980 WX_RESOURCES_MACOSX_DATA!$WX_RESOURCES_MACOSX_DATA$ac_delim
50981 LIBWXMACRES!$LIBWXMACRES$ac_delim
50982 POSTLINK_COMMAND!$POSTLINK_COMMAND$ac_delim
50983 MACSETFILE!$MACSETFILE$ac_delim
50985 CPPUNIT_CONFIG!$CPPUNIT_CONFIG$ac_delim
50986 LIBOBJS!$LIBOBJS$ac_delim
50987 LTLIBOBJS!$LTLIBOBJS$ac_delim
50990 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 13; then
50992 elif $ac_last_try; then
50993 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
50994 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
50995 { (exit 1); exit 1; }; }
50997 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
51001 ac_eof
=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
51002 if test -n "$ac_eof"; then
51003 ac_eof
=`echo "$ac_eof" | sort -nru | sed 1q`
51004 ac_eof
=`expr $ac_eof + 1`
51007 cat >>$CONFIG_STATUS <<_ACEOF
51008 cat >"\$tmp/subs-5.sed" <<\CEOF$ac_eof
51009 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
51012 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
51013 s/^/s,@/; s/!/@,|#_!!_#|/
51016 s/'"$ac_delim"'$/,g/; t
51018 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
51019 ' >>$CONFIG_STATUS <conf$
$subs.
sed
51020 rm -f conf$
$subs.
sed
51021 cat >>$CONFIG_STATUS <<_ACEOF
51028 # VPATH may cause trouble with some makes, so we remove $(srcdir),
51029 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
51030 # trailing colons and then remove the whole line if VPATH becomes empty
51031 # (actually we leave an empty line to preserve line numbers).
51032 if test "x$srcdir" = x.
; then
51033 ac_vpsub
='/^[ ]*VPATH[ ]*=/{
51034 s/:*\$(srcdir):*/:/
51035 s/:*\${srcdir}:*/:/
51037 s/^\([^=]*=[ ]*\):*/\1/
51043 cat >>$CONFIG_STATUS <<\_ACEOF
51044 fi # test -n "$CONFIG_FILES"
51047 for ac_tag
in :F
$CONFIG_FILES :H
$CONFIG_HEADERS :C
$CONFIG_COMMANDS
51050 :[FHLC
]) ac_mode
=$ac_tag; continue;;
51052 case $ac_mode$ac_tag in
51054 :L
* | :C
*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
51055 echo "$as_me: error: Invalid tag $ac_tag." >&2;}
51056 { (exit 1); exit 1; }; };;
51057 :[FH
]-) ac_tag
=-:-;;
51058 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
51075 -) ac_f
="$tmp/stdin";;
51076 *) # Look for the file first in the build tree, then in the source tree
51077 # (if the path is not absolute). The absolute path cannot be DOS-style,
51078 # because $ac_f cannot contain `:'.
51082 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
51084 { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
51085 echo "$as_me: error: cannot find input file: $ac_f" >&2;}
51086 { (exit 1); exit 1; }; };;
51088 ac_file_inputs
="$ac_file_inputs $ac_f"
51091 # Let's still pretend it is `configure' which instantiates (i.e., don't
51092 # use $as_me), people would be surprised to read:
51093 # /* config.h. Generated by config.status. */
51094 configure_input
="Generated from "`IFS=:
51095 echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
51096 if test x
"$ac_file" != x
-; then
51097 configure_input
="$ac_file. $configure_input"
51098 { echo "$as_me:$LINENO: creating $ac_file" >&5
51099 echo "$as_me: creating $ac_file" >&6;}
51103 *:-:* | *:-) cat >"$tmp/stdin";;
51108 ac_dir
=`$as_dirname -- "$ac_file" ||
51109 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
51110 X"$ac_file" : 'X\(//\)[^/]' \| \
51111 X"$ac_file" : 'X\(//\)$' \| \
51112 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
51114 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
51118 /^X\(\/\/\)[^/].*/{
51133 -*) as_dir
=.
/$as_dir;;
51135 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
51139 *\'*) as_qdir
=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
51140 *) as_qdir
=$as_dir;;
51142 as_dirs
="'$as_qdir' $as_dirs"
51143 as_dir
=`$as_dirname -- "$as_dir" ||
51144 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
51145 X"$as_dir" : 'X\(//\)[^/]' \| \
51146 X"$as_dir" : 'X\(//\)$' \| \
51147 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
51149 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
51153 /^X\(\/\/\)[^/].*/{
51166 test -d "$as_dir" && break
51168 test -z "$as_dirs" || eval "mkdir $as_dirs"
51169 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
51170 echo "$as_me: error: cannot create directory $as_dir" >&2;}
51171 { (exit 1); exit 1; }; }; }
51175 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
51177 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
51178 # A ".." for each directory in $ac_dir_suffix.
51179 ac_top_builddir_sub
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
51180 case $ac_top_builddir_sub in
51181 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
51182 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
51185 ac_abs_top_builddir
=$ac_pwd
51186 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
51187 # for backward compatibility:
51188 ac_top_builddir
=$ac_top_build_prefix
51191 .
) # We are building in place.
51193 ac_top_srcdir
=$ac_top_builddir_sub
51194 ac_abs_top_srcdir
=$ac_pwd ;;
51195 [\\/]* | ?
:[\\/]* ) # Absolute name.
51196 ac_srcdir
=$srcdir$ac_dir_suffix;
51197 ac_top_srcdir
=$srcdir
51198 ac_abs_top_srcdir
=$srcdir ;;
51199 *) # Relative name.
51200 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
51201 ac_top_srcdir
=$ac_top_build_prefix$srcdir
51202 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
51204 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
51214 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
51215 *) ac_INSTALL
=$ac_top_build_prefix$INSTALL ;;
51219 cat >>$CONFIG_STATUS <<\_ACEOF
51220 # If the template does not know about datarootdir, expand it.
51221 # FIXME: This hack should be removed a few years after 2.60.
51222 ac_datarootdir_hack
=; ac_datarootdir_seen
=
51224 case `sed -n '/datarootdir/ {
51233 ' $ac_file_inputs` in
51234 *datarootdir
*) ac_datarootdir_seen
=yes;;
51235 *@datadir@
*|*@docdir@
*|*@infodir@
*|*@localedir@
*|*@mandir@
*)
51236 { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
51237 echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
51239 cat >>$CONFIG_STATUS <<_ACEOF
51240 ac_datarootdir_hack='
51241 s&@datadir@&$datadir&g
51242 s&@docdir@&$docdir&g
51243 s&@infodir@&$infodir&g
51244 s&@localedir@&$localedir&g
51245 s&@mandir@&$mandir&g
51246 s&\\\${datarootdir}&$datarootdir&g' ;;
51250 # Neutralize VPATH when `$srcdir' = `.'.
51251 # Shell code in configure.ac might set extrasub.
51252 # FIXME: do we really want to maintain this feature?
51253 cat >>$CONFIG_STATUS <<_ACEOF
51257 cat >>$CONFIG_STATUS <<\_ACEOF
51259 /@
[a
-zA-Z_][a
-zA-Z_0-9]*@
/!b
51260 s
&@configure_input@
&$configure_input&;t t
51261 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
51262 s
&@srcdir@
&$ac_srcdir&;t t
51263 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
51264 s
&@top_srcdir@
&$ac_top_srcdir&;t t
51265 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
51266 s
&@builddir@
&$ac_builddir&;t t
51267 s
&@abs_builddir@
&$ac_abs_builddir&;t t
51268 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
51269 s
&@INSTALL@
&$ac_INSTALL&;t t
51270 $ac_datarootdir_hack
51271 " $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
51273 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
51274 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out
"`; test -n "$ac_out"; } &&
51275 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out
"`; test -z "$ac_out"; } &&
51276 { echo "$as_me:$LINENO: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
51277 which seems to be undefined. Please make sure it is defined." >&5
51278 echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
51279 which seems to be undefined. Please make sure it is defined." >&2;}
51283 -) cat "$tmp/out"; rm -f "$tmp/out";;
51284 *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
51293 # Transform confdefs.h into a sed script `conftest.defines', that
51294 # substitutes the proper values into config.h.in to produce config.h.
51295 rm -f conftest.defines conftest.
tail
51296 # First, append a space to every undef/define line, to ease matching.
51297 echo 's/$/ /' >conftest.defines
51298 # Then, protect against being on the right side of a sed subst, or in
51299 # an unquoted here document, in config.status. If some macros were
51300 # called several times there might be several #defines for the same
51301 # symbol, which is useless. But do not sort them, since the last
51302 # AC_DEFINE must be honored.
51303 ac_word_re
=[_
$as_cr_Letters][_
$as_cr_alnum]*
51304 # These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
51305 # NAME is the cpp macro being defined, VALUE is the value it is being given.
51306 # PARAMS is the parameter list in the macro definition--in most cases, it's
51307 # just an empty string.
51308 ac_dA
='s,^\\([ #]*\\)[^ ]*\\([ ]*'
51309 ac_dB
='\\)[ (].*,\\1define\\2'
51317 s/^[ ]*#[ ]*define[ ][ ]*//
51322 s/^\('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
51323 s/^\('"$ac_word_re"'\)[ ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
51324 ' >>conftest.defines
51326 # Remove the space that was appended to ease matching.
51327 # Then replace #undef with comments. This is necessary, for
51328 # example, in the case of _POSIX_SOURCE, which is predefined and required
51329 # on some systems where configure will not decide to define it.
51330 # (The regexp can be short, since the line contains either #define or #undef.)
51332 s,^[ #]*u.*,/* & */,' >>conftest.defines
51334 # Break up conftest.defines:
51335 ac_max_sed_lines
=50
51337 # First sed command is: sed -f defines.sed $ac_file_inputs >"$tmp/out1"
51338 # Second one is: sed -f defines.sed "$tmp/out1" >"$tmp/out2"
51339 # Third one will be: sed -f defines.sed "$tmp/out2" >"$tmp/out1"
51341 ac_in
='$ac_file_inputs'
51342 ac_out
='"$tmp/out1"'
51343 ac_nxt
='"$tmp/out2"'
51347 # Write a here document:
51348 cat >>$CONFIG_STATUS <<_ACEOF
51349 # First, check the format of the line:
51350 cat >"\$tmp/defines.sed" <<\\CEOF
51351 /^[ ]*#[ ]*undef[ ][ ]*$ac_word_re[ ]*\$/b def
51352 /^[ ]*#[ ]*define[ ][ ]*$ac_word_re[( ]/b def
51356 sed ${ac_max_sed_lines}q conftest.defines
>>$CONFIG_STATUS
51358 sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
51359 ac_in
=$ac_out; ac_out
=$ac_nxt; ac_nxt
=$ac_in
51360 sed 1,${ac_max_sed_lines}d conftest.defines
>conftest.
tail
51361 grep . conftest.
tail >/dev
/null
|| break
51362 rm -f conftest.defines
51363 mv conftest.
tail conftest.defines
51365 rm -f conftest.defines conftest.
tail
51367 echo "ac_result=$ac_in" >>$CONFIG_STATUS
51368 cat >>$CONFIG_STATUS <<\_ACEOF
51369 if test x
"$ac_file" != x
-; then
51370 echo "/* $configure_input */" >"$tmp/config.h"
51371 cat "$ac_result" >>"$tmp/config.h"
51372 if diff $ac_file "$tmp/config.h" >/dev
/null
2>&1; then
51373 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
51374 echo "$as_me: $ac_file is unchanged" >&6;}
51377 mv "$tmp/config.h" $ac_file
51380 echo "/* $configure_input */"
51386 :C
) { echo "$as_me:$LINENO: executing $ac_file commands" >&5
51387 echo "$as_me: executing $ac_file commands" >&6;}
51392 case $ac_file$ac_mode in
51394 mkdir -p $outdir &&
51395 $CPP $infile | sed 's/^# *[1-9].*//;s/^ *//;/./,/^$/!d' > $outdir/rcdefs.h
51397 "lib/wx/config/${TOOLCHAIN_FULLNAME}":F
) chmod +x lib
/wx
/config
/${TOOLCHAIN_FULLNAME} ;;
51398 "lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}":F
) chmod +x lib
/wx
/config
/inplace
-${TOOLCHAIN_FULLNAME} ;;
51399 "wx-config":C
) rm -f wx
-config
51400 ${LN_S} lib
/wx
/config
/inplace
-${TOOLCHAIN_FULLNAME} wx
-config
51407 { (exit 0); exit 0; }
51409 chmod +x
$CONFIG_STATUS
51410 ac_clean_files
=$ac_clean_files_save
51413 # configure is writing to config.log, and then calls config.status.
51414 # config.status does its own redirection, appending to config.log.
51415 # Unfortunately, on DOS this fails, as config.log is still kept open
51416 # by configure, so config.status won't be able to write to it; its
51417 # output is simply discarded. So we exec the FD to /dev/null,
51418 # effectively closing config.log, so it can be properly (re)opened and
51419 # appended to by config.status. When coming back to configure, we
51420 # need to make the FD available again.
51421 if test "$no_create" != yes; then
51423 ac_config_status_args
=
51424 test "$silent" = yes &&
51425 ac_config_status_args
="$ac_config_status_args --quiet"
51427 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
51429 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
51430 # would make configure fail if this is the last instruction.
51431 $ac_cs_success || { (exit 1); exit 1; }
51435 # CONFIG_SUBDIRS section.
51437 if test "$no_recursion" != yes; then
51439 # Remove --cache-file and --srcdir arguments so they do not pile up.
51440 ac_sub_configure_args
=
51442 eval "set x $ac_configure_args"
51446 if test -n "$ac_prev"; then
51451 -cache-file | --cache-file | --cache-fil | --cache-fi \
51452 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
51453 ac_prev
=cache_file
;;
51454 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
51455 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \
51458 --config-cache | -C)
51460 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
51462 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
51464 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
51466 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
51470 *\'*) ac_arg
=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
51472 ac_sub_configure_args
="$ac_sub_configure_args '$ac_arg'" ;;
51476 # Always prepend --prefix to ensure using the same prefix
51477 # in subdir configurations.
51478 ac_arg
="--prefix=$prefix"
51480 *\'*) ac_arg
=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
51482 ac_sub_configure_args
="'$ac_arg' $ac_sub_configure_args"
51485 if test "$silent" = yes; then
51486 ac_sub_configure_args
="--silent $ac_sub_configure_args"
51490 for ac_dir
in : $subdirs; do test "x$ac_dir" = x
: && continue
51492 # Do not complain, so a configure script can configure whichever
51493 # parts of a large source tree are present.
51494 test -d "$srcdir/$ac_dir" || continue
51496 ac_msg
="=== configuring in $ac_dir (`pwd`/$ac_dir)"
51497 echo "$as_me:$LINENO: $ac_msg" >&5
51501 -*) as_dir
=.
/$as_dir;;
51503 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
51507 *\'*) as_qdir
=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
51508 *) as_qdir
=$as_dir;;
51510 as_dirs
="'$as_qdir' $as_dirs"
51511 as_dir
=`$as_dirname -- "$as_dir" ||
51512 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
51513 X"$as_dir" : 'X\(//\)[^/]' \| \
51514 X"$as_dir" : 'X\(//\)$' \| \
51515 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
51517 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
51521 /^X\(\/\/\)[^/].*/{
51534 test -d "$as_dir" && break
51536 test -z "$as_dirs" || eval "mkdir $as_dirs"
51537 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
51538 echo "$as_me: error: cannot create directory $as_dir" >&2;}
51539 { (exit 1); exit 1; }; }; }
51543 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
51545 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
51546 # A ".." for each directory in $ac_dir_suffix.
51547 ac_top_builddir_sub
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
51548 case $ac_top_builddir_sub in
51549 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
51550 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
51553 ac_abs_top_builddir
=$ac_pwd
51554 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
51555 # for backward compatibility:
51556 ac_top_builddir
=$ac_top_build_prefix
51559 .
) # We are building in place.
51561 ac_top_srcdir
=$ac_top_builddir_sub
51562 ac_abs_top_srcdir
=$ac_pwd ;;
51563 [\\/]* | ?
:[\\/]* ) # Absolute name.
51564 ac_srcdir
=$srcdir$ac_dir_suffix;
51565 ac_top_srcdir
=$srcdir
51566 ac_abs_top_srcdir
=$srcdir ;;
51567 *) # Relative name.
51568 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
51569 ac_top_srcdir
=$ac_top_build_prefix$srcdir
51570 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
51572 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
51577 # Check for guested configure; otherwise get Cygnus style configure.
51578 if test -f "$ac_srcdir/configure.gnu"; then
51579 ac_sub_configure
=$ac_srcdir/configure.gnu
51580 elif test -f "$ac_srcdir/configure"; then
51581 ac_sub_configure
=$ac_srcdir/configure
51582 elif test -f "$ac_srcdir/configure.in"; then
51583 # This should be Cygnus configure.
51584 ac_sub_configure
=$ac_aux_dir/configure
51586 { echo "$as_me:$LINENO: WARNING: no configuration information is in $ac_dir" >&5
51587 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
51591 # The recursion is here.
51592 if test -n "$ac_sub_configure"; then
51593 # Make the cache file name correct relative to the subdirectory.
51594 case $cache_file in
51595 [\\/]* | ?
:[\\/]* ) ac_sub_cache_file
=$cache_file ;;
51596 *) # Relative name.
51597 ac_sub_cache_file
=$ac_top_build_prefix$cache_file ;;
51600 { echo "$as_me:$LINENO: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
51601 echo "$as_me: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
51602 # The eval makes quoting arguments work.
51603 eval "\$SHELL \"\$ac_sub_configure\" $ac_sub_configure_args \
51604 --cache-file=\"\$ac_sub_cache_file\" --srcdir=\"\$ac_srcdir\"" ||
51605 { { echo "$as_me:$LINENO: error: $ac_sub_configure failed for $ac_dir" >&5
51606 echo "$as_me: error: $ac_sub_configure failed for $ac_dir" >&2;}
51607 { (exit 1); exit 1; }; }
51616 echo "Configured wxWidgets ${WX_VERSION} for \`${host}'"
51618 echo " Which GUI toolkit should wxWidgets use? ${TOOLKIT_DESC}"
51619 echo " Should wxWidgets be compiled into single library? ${wxUSE_MONOLITHIC:-yes}"
51621 echo " Should wxWidgets be compiled in debug mode? ${wxUSE_DEBUG:-no}"
51622 echo " Should wxWidgets be linked as a shared library? ${wxUSE_SHARED:-no}"
51623 echo -n " Should wxWidgets support Unicode? ${wxUSE_UNICODE:-no}"
51624 if test "$wxUSE_UNICODE" = "yes"; then
51625 if test "$wxUSE_UNICODE_UTF8" = "yes"; then
51626 echo " (using UTF-8)"
51628 echo " (using wchar_t)"
51634 echo " What level of wxWidgets compatibility should be enabled?"
51635 echo " wxWidgets 2.6 ${WXWIN_COMPATIBILITY_2_6:-no}"
51636 echo " wxWidgets 2.8 ${WXWIN_COMPATIBILITY_2_8:-yes}"
51638 echo " Which libraries should wxWidgets use?"
51639 echo " jpeg ${wxUSE_LIBJPEG-none}"
51640 echo " png ${wxUSE_LIBPNG-none}"
51641 echo " regex ${wxUSE_REGEX}"
51642 echo " tiff ${wxUSE_LIBTIFF-none}"
51643 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
51644 echo " xpm ${wxUSE_LIBXPM-none}"
51646 echo " zlib ${wxUSE_ZLIB}"
51647 echo " odbc ${wxUSE_ODBC}"
51648 echo " expat ${wxUSE_EXPAT}"
51649 echo " libmspack ${wxUSE_LIBMSPACK}"
51650 echo " sdl ${wxUSE_LIBSDL}"