2 # From configure.in Id: configure.in.
3 # Guess values for system-dependent variables and create Makefiles.
4 # Generated by GNU Autoconf 2.61 for wxWidgets 2.9.0.
6 # Report bugs to <wx-dev@lists.wxwidgets.org>.
8 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
9 # 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
10 # This configure script is free software; the Free Software Foundation
11 # gives unlimited permission to copy, distribute and modify it.
12 ## --------------------- ##
13 ## M4sh Initialization. ##
14 ## --------------------- ##
16 # Be more Bourne compatible
17 DUALCASE
=1; export DUALCASE
# for MKS sh
18 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
21 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
22 # is contrary to our usage. Disable this feature.
23 alias -g '${1+"$@"}'='"$@"'
26 case `(set -o) 2>/dev/null` in
27 *posix
*) set -o posix
;;
36 # Avoid depending upon Character Ranges.
37 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
38 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
39 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
40 as_cr_digits
='0123456789'
41 as_cr_alnum
=$as_cr_Letters$as_cr_digits
43 # The user is always right.
44 if test "${PATH_SEPARATOR+set}" != set; then
45 echo "#! /bin/sh" >conf$$.sh
46 echo "exit 0" >>conf$$.sh
48 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
56 # Support unset when possible.
57 if ( (MAIL
=60; unset MAIL
) || exit) >/dev
/null
2>&1; then
65 # We need space, tab and new line, in precisely that order. Quoting is
66 # there to prevent editors from complaining about space-tab.
67 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
68 # splitting by setting IFS to empty value.)
73 # Find who we are. Look in the path if we contain no directory separator.
75 *[\\/]* ) as_myself
=$0 ;;
76 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
80 test -z "$as_dir" && as_dir
=.
81 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
87 # We did not find ourselves, most probably we were run as `sh COMMAND'
88 # in which case we are not to be found in the path.
89 if test "x$as_myself" = x
; then
92 if test ! -f "$as_myself"; then
93 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
97 # Work around bugs in pre-3.0 UWIN ksh.
98 for as_var
in ENV MAIL MAILPATH
99 do ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
107 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
108 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
111 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
112 eval $as_var=C
; export $as_var
114 ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
118 # Required to use basename.
119 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
120 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
126 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
133 # Name of the executable.
134 as_me
=`$as_basename -- "$0" ||
135 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
136 X"$0" : 'X\(//\)$' \| \
137 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
139 sed '/^.*\/\([^/][^/]*\)\/*$/{
157 if test "x$CONFIG_SHELL" = x
; then
158 if (eval ":") 2>/dev
/null
; then
164 if test $as_have_required = yes && (eval ":
174 as_func_ret_success () {
177 as_func_ret_failure () {
182 if as_func_success; then
186 echo as_func_success failed.
189 if as_func_failure; then
191 echo as_func_failure succeeded.
194 if as_func_ret_success; then
198 echo as_func_ret_success failed.
201 if as_func_ret_failure; then
203 echo as_func_ret_failure succeeded.
206 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
210 echo positional parameters were not saved.
213 test \$exitcode = 0) || { (exit 1); exit 1; }
218 test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
219 test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
220 ") 2> /dev
/null
; then
224 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
225 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
228 test -z "$as_dir" && as_dir
=.
231 for as_base
in sh bash ksh sh5
; do
232 as_candidate_shells
="$as_candidate_shells $as_dir/$as_base"
239 for as_shell
in $as_candidate_shells $SHELL; do
240 # Try only shells that exist, to save several forks.
241 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
242 { ("$as_shell") 2> /dev
/null
<<\_ASEOF
243 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
246 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
247 # is contrary to our usage. Disable this feature.
248 alias -g '${1+"$@"}'='"$@"'
251 case `(set -o) 2>/dev/null` in
252 *posix
*) set -o posix
;;
261 CONFIG_SHELL
=$as_shell
263 if { "$as_shell" 2> /dev
/null
<<\_ASEOF
264 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
267 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
268 # is contrary to our usage. Disable this feature.
269 alias -g '${1+"$@"}'='"$@"'
272 case `(set -o) 2>/dev/null` in
273 *posix
*) set -o posix
;;
289 as_func_ret_success
() {
292 as_func_ret_failure
() {
297 if as_func_success
; then
301 echo as_func_success failed.
304 if as_func_failure
; then
306 echo as_func_failure succeeded.
309 if as_func_ret_success
; then
313 echo as_func_ret_success failed.
316 if as_func_ret_failure
; then
318 echo as_func_ret_failure succeeded.
321 if ( set x
; as_func_ret_success y
&& test x
= "$1" ); then
325 echo positional parameters were not saved.
328 test $exitcode = 0) || { (exit 1); exit 1; }
333 test "x$as_lineno_1" != "x$as_lineno_2" &&
334 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; }
345 if test "x$CONFIG_SHELL" != x
; then
346 for as_var
in BASH_ENV ENV
347 do ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
350 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
354 if test $as_have_required = no
; then
355 echo This
script requires a shell
more modern than all the
356 echo shells that I found on your system. Please
install a
357 echo modern shell
, or manually run the
script under such a
358 echo shell
if you
do have one.
359 { (exit 1); exit 1; }
369 (eval "as_func_return () {
378 as_func_ret_success () {
381 as_func_ret_failure () {
386 if as_func_success; then
390 echo as_func_success failed.
393 if as_func_failure; then
395 echo as_func_failure succeeded.
398 if as_func_ret_success; then
402 echo as_func_ret_success failed.
405 if as_func_ret_failure; then
407 echo as_func_ret_failure succeeded.
410 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
414 echo positional parameters were not saved.
417 test \$exitcode = 0") || {
418 echo No shell found that supports shell functions.
419 echo Please tell autoconf@gnu.org about your system
,
420 echo including any error possibly output before this
428 test "x$as_lineno_1" != "x$as_lineno_2" &&
429 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
431 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
432 # uniformly replaced by the line number. The first 'sed' inserts a
433 # line-number line after each line using $LINENO; the second 'sed'
434 # does the real work. The second script uses 'N' to pair each
435 # line-number line with the line containing $LINENO, and appends
436 # trailing '-' during substitution so that $LINENO is not a special
438 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
439 # scripts with optimization help from Paolo Bonzini. Blame Lee
440 # E. McMahon (1931-1989) for sed's syntax. :-)
452 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
456 chmod +x
"$as_me.lineno" ||
457 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
458 { (exit 1); exit 1; }; }
460 # Don't try to exec as it changes $[0], causing all sort of problems
461 # (the dirname of $[0] is not the place where we might find the
462 # original and so on. Autoconf is especially sensitive to this).
464 # Exit status is that of the last command.
469 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
475 ECHO_C
= ECHO_N
= ECHO_T
=
479 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
486 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
487 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
493 rm -f conf$$ conf$$.exe conf$$.
file
494 if test -d conf$$.dir
; then
495 rm -f conf$$.dir
/conf$$.
file
501 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
503 # ... but there are two gotchas:
504 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
505 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
506 # In both cases, we have to default to `cp -p'.
507 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe
||
509 elif ln conf$$.
file conf$$
2>/dev
/null
; then
514 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
515 rmdir conf$$.dir
2>/dev
/null
517 if mkdir -p .
2>/dev
/null
; then
520 test -d .
/-p && rmdir .
/-p
524 if test -x / >/dev
/null
2>&1; then
527 if ls -dL / >/dev
/null
2>&1; then
534 if test -d "$1"; then
540 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
541 ???[sx]*):;;*)false;;esac;fi
545 as_executable_p
=$as_test_x
547 # Sed expression to map a string onto a valid CPP name.
548 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
550 # Sed expression to map a string onto a valid variable name.
551 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
555 exec 7<&0 </dev
/null
6>&1
558 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
559 # so uname gets run too.
560 ac_hostname
=`(hostname || uname -n) 2>/dev/null | sed 1q`
565 ac_default_prefix
=/usr
/local
567 ac_config_libobj_dir
=.
573 SHELL
=${CONFIG_SHELL-/bin/sh}
575 # Identity of this package.
576 PACKAGE_NAME
='wxWidgets'
577 PACKAGE_TARNAME
='wxwidgets'
578 PACKAGE_VERSION
='2.9.0'
579 PACKAGE_STRING
='wxWidgets 2.9.0'
580 PACKAGE_BUGREPORT
='wx-dev@lists.wxwidgets.org'
582 ac_unique_file
="wx-config.in"
583 # Factoring default headers for most tests.
584 ac_includes_default
="\
586 #ifdef HAVE_SYS_TYPES_H
587 # include <sys/types.h>
589 #ifdef HAVE_SYS_STAT_H
590 # include <sys/stat.h>
596 # ifdef HAVE_STDLIB_H
601 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
606 #ifdef HAVE_STRINGS_H
607 # include <strings.h>
609 #ifdef HAVE_INTTYPES_H
610 # include <inttypes.h>
628 program_transform_name
717 LIBGNOMEPRINTUI_CFLAGS
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-intl use internationalization system
1661 --enable-config use wxConfig (and derived) classes
1662 --enable-protocols use wxProtocol and derived classes
1663 --enable-ftp use wxFTP (requires wxProtocol
1664 --enable-http use wxHTTP (requires wxProtocol
1665 --enable-fileproto use wxFileProto class (requires wxProtocol
1666 --enable-sockets use socket/network classes
1667 --enable-ole use OLE classes (Win32 only)
1668 --enable-dataobj use data object classes
1669 --enable-ipc use interprocess communication (wxSocket etc.)
1670 --enable-apple_ieee use the Apple IEEE codec
1671 --enable-arcstream use wxArchive streams
1672 --enable-backtrace use wxStackWalker class for getting backtraces
1673 --enable-catch_segvs catch signals in wxApp::OnFatalException (Unix only)
1674 --enable-cmdline use wxCmdLineParser class
1675 --enable-datetime use wxDateTime class
1676 --enable-debugreport use wxDebugReport class
1677 --enable-dialupman use dialup network classes
1678 --enable-dynlib use wxLibrary class for DLL loading
1679 --enable-dynamicloader use (new) wxDynamicLibrary class
1680 --enable-exceptions build exception-safe library
1681 --enable-ffile use wxFFile class
1682 --enable-file use wxFile class
1683 --enable-filesystem use virtual file systems classes
1684 --enable-fontmap use font encodings conversion classes
1685 --enable-fs_archive use virtual archive filesystems
1686 --enable-fs_inet use virtual HTTP/FTP filesystems
1687 --enable-fs_zip now replaced by fs_archive
1688 --enable-geometry use geometry class
1689 --enable-log use logging system
1690 --enable-longlong use wxLongLong class
1691 --enable-mimetype use wxMimeTypesManager
1692 --enable-mslu use MS Layer for Unicode on Windows 9x (Win32 only)
1693 --enable-utf8 use UTF-8 representation for strings (Unix only)
1694 --enable-utf8only only support UTF-8 locales in UTF-8 build (Unix only)
1695 --enable-snglinst use wxSingleInstanceChecker class
1696 --enable-std_iostreams use standard C++ stream classes
1697 --enable-std_string use standard C++ string classes
1698 --enable-stdpaths use wxStandardPaths class
1699 --enable-stopwatch use wxStopWatch class
1700 --enable-streams use wxStream etc classes
1701 --enable-sysoptions use wxSystemOptions
1702 --enable-tarstream use wxTar streams
1703 --enable-textbuf use wxTextBuffer class
1704 --enable-textfile use wxTextFile class
1705 --enable-timer use wxTimer class
1706 --enable-unicode compile wxString with Unicode support
1707 --enable-sound use wxSound class
1708 --enable-mediactrl use wxMediaCtrl class
1709 --enable-gstreamer8 force GStreamer 0.8 instead of 0.10 with the wxMediaCtrl class on unix
1710 --enable-printfposparam use wxVsnprintf() which supports positional parameters
1711 --enable-zipstream use wxZip streams
1712 --enable-url use wxURL class
1713 --enable-variant use wxVariant class
1714 --enable-protocol use wxProtocol class
1715 --enable-protocol-http HTTP support in wxProtocol
1716 --enable-protocol-ftp FTP support in wxProtocol
1717 --enable-protocol-file FILE support in wxProtocol
1718 --enable-threads use threads
1719 --enable-docview use document view architecture
1720 --enable-help use help subsystem
1721 --enable-mshtmlhelp use MS HTML Help (win32)
1722 --enable-html use wxHTML sub-library
1723 --enable-htmlhelp use wxHTML-based help
1724 --enable-xrc use XRC resources sub-library
1725 --enable-aui use AUI docking library
1726 --enable-stc use wxStyledTextCtrl library
1727 --enable-constraints use layout-constraints system
1728 --enable-printarch use printing architecture
1729 --enable-mdi use multiple document interface architecture
1730 --enable-mdidoc use docview architecture with MDI
1731 --enable-loggui use standard GUI logger
1732 --enable-logwin use wxLogWindow
1733 --enable-logdialog use wxLogDialog
1734 --enable-webkit use wxWebKitCtrl (Mac)
1735 --enable-richtext use wxRichTextCtrl
1736 --enable-graphics_ctx use graphics context 2D drawing API
1737 --enable-postscript use wxPostscriptDC device context (default for gtk+)
1738 --enable-clipboard use wxClipboard class
1739 --enable-dnd use Drag'n
'Drop classes
1740 --enable-metafile use win32 metafiles
1741 --enable-controls use all usual controls
1742 --enable-accel use accelerators
1743 --enable-animatectrl use wxAnimationCtrl class
1744 --enable-button use wxButton class
1745 --enable-bmpbutton use wxBitmapButton class
1746 --enable-bmpcombobox use wxBitmapComboBox class
1747 --enable-calendar use wxCalendarCtrl class
1748 --enable-caret use wxCaret class
1749 --enable-checkbox use wxCheckBox class
1750 --enable-checklst use wxCheckListBox (listbox with checkboxes) class
1751 --enable-choice use wxChoice class
1752 --enable-choicebook use wxChoicebook class
1753 --enable-collpane use wxCollapsiblePane class
1754 --enable-colourpicker use wxColourPickerCtrl class
1755 --enable-combobox use wxComboBox class
1756 --enable-comboctrl use wxComboCtrl class
1757 --enable-datepick use wxDatePickerCtrl class
1758 --enable-dirpicker use wxDirPickerCtrl class
1759 --enable-display use wxDisplay class
1760 --enable-detect_sm use code to detect X11 session manager
1761 --enable-editablebox use wxEditableListBox class
1762 --enable-filepicker use wxFilePickerCtrl class
1763 --enable-fontpicker use wxFontPickerCtrl class
1764 --enable-gauge use wxGauge class
1765 --enable-grid use wxGrid class
1766 --enable-dataviewctrl use wxDataViewCtrl class
1767 --enable-hyperlink use wxHyperlinkCtrl class
1768 --enable-imaglist use wxImageList class
1769 --enable-listbook use wxListbook class
1770 --enable-listbox use wxListBox class
1771 --enable-listctrl use wxListCtrl class
1772 --enable-notebook use wxNotebook class
1773 --enable-odcombobox use wxOwnerDrawnComboBox class
1774 --enable-radiobox use wxRadioBox class
1775 --enable-radiobtn use wxRadioButton class
1776 --enable-sash use wxSashWindow class
1777 --enable-scrollbar use wxScrollBar class and scrollable windows
1778 --enable-searchctrl use wxSearchCtrl class
1779 --enable-slider use wxSlider class
1780 --enable-spinbtn use wxSpinButton class
1781 --enable-spinctrl use wxSpinCtrl class
1782 --enable-splitter use wxSplitterWindow class
1783 --enable-statbmp use wxStaticBitmap class
1784 --enable-statbox use wxStaticBox class
1785 --enable-statline use wxStaticLine class
1786 --enable-stattext use wxStaticText class
1787 --enable-statusbar use wxStatusBar class
1788 --enable-tabdialog use wxTabControl class
1789 --enable-textctrl use wxTextCtrl class
1790 --enable-togglebtn use wxToggleButton class
1791 --enable-toolbar use wxToolBar class
1792 --enable-tbarnative use native wxToolBar class
1793 --enable-treebook use wxTreebook class
1794 --enable-toolbook use wxToolbook class
1795 --enable-treectrl use wxTreeCtrl class
1796 --enable-tipwindow use wxTipWindow class
1797 --enable-popupwin use wxPopUpWindow class
1798 --enable-commondlg use all common dialogs
1799 --enable-aboutdlg use wxAboutBox
1800 --enable-choicedlg use wxChoiceDialog
1801 --enable-coldlg use wxColourDialog
1802 --enable-filedlg use wxFileDialog
1803 --enable-finddlg use wxFindReplaceDialog
1804 --enable-fontdlg use wxFontDialog
1805 --enable-dirdlg use wxDirDialog
1806 --enable-msgdlg use wxMessageDialog
1807 --enable-numberdlg use wxNumberEntryDialog
1808 --enable-splash use wxSplashScreen
1809 --enable-textdlg use wxTextDialog
1810 --enable-tipdlg use startup tips
1811 --enable-progressdlg use wxProgressDialog
1812 --enable-wizarddlg use wxWizard
1813 --enable-menus use wxMenu/wxMenuBar/wxMenuItem classes
1814 --enable-miniframe use wxMiniFrame class
1815 --enable-tooltips use wxToolTip class
1816 --enable-splines use spline drawing code
1817 --enable-mousewheel use mousewheel
1818 --enable-validators use wxValidator and derived classes
1819 --enable-busyinfo use wxBusyInfo
1820 --enable-joystick use wxJoystick
1821 --enable-metafiles use wxMetaFile (Win32 only)
1822 --enable-dragimage use wxDragImage
1823 --enable-accessibility enable accessibility support
1824 --enable-dccache cache temporary wxDC objects (Win32 only)
1825 --enable-palette use wxPalette class
1826 --enable-image use wxImage class
1827 --enable-gif use gif images (GIF file format)
1828 --enable-pcx use pcx images (PCX file format)
1829 --enable-tga use tga images (TGA file format)
1830 --enable-iff use iff images (IFF file format)
1831 --enable-pnm use pnm images (PNM file format)
1832 --enable-xpm use xpm images (XPM file format)
1833 --enable-icocur use Windows ICO and CUR formats
1834 --enable-official_build official build of wxWidgets (win32 DLL only)
1835 --enable-vendor=VENDOR vendor name (win32 DLL only)
1836 --disable-largefile omit support for large files
1837 --disable-gtktest do not try to compile and run a test GTK+ program
1838 --disable-gtktest Do not try to compile and run a test GTK program
1839 --disable-sdltest Do not try to compile and run a test SDL program
1840 --enable-omf use OMF object format (OS/2)
1841 --disable-dependency-tracking
1842 don't use dependency tracking even
if the compiler
1844 --disable-precomp-headers
1845 don
't use precompiled headers even if compiler can
1848 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1849 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1850 --without-subdirs don't generate makefiles
for samples
/demos
/...
1851 --with-gtk[=VERSION
] use GTK
+, VERSION can be
2 (default
), 1 or
"any"
1852 --with-motif use Motif
/Lesstif
1853 --with-mac use Mac OS X
1854 --with-cocoa use Cocoa
1855 --with-wine use Wine
1856 --with-msw use MS
-Windows
1857 --with-pm use OS
/2 Presentation Manager
1858 --with-mgl use SciTech MGL
1859 --with-directfb use DirectFB
1860 --with-microwin use MicroWindows
1862 --with-libpng use libpng
(PNG image format
)
1863 --with-libjpeg use libjpeg
(JPEG
file format
)
1864 --with-libtiff use libtiff
(TIFF
file format
)
1865 --with-libxpm use libxpm
(XPM
file format
)
1866 --with-libmspack use libmspack
(CHM
help files loading
)
1867 --with-sdl use SDL
for audio on Unix
1868 --with-gnomeprint use GNOME print
for printing under GNOME
1869 --with-gnomevfs use GNOME VFS
for associating MIME types
1870 --with-hildon use Hildon framework
for Nokia
770
1871 --with-opengl use OpenGL
(or Mesa
)
1872 --with-themes=all
|list use only the specified comma
-separated list of wxUniversal themes
1873 --with-dmalloc use dmalloc library
(http
://dmalloc.com
/)
1874 --with-regex enable support
for wxRegEx class
1875 --with-zlib use zlib
for LZW compression
1876 --with-odbc use the IODBC and wxODBC classes
1877 --with-expat enable XML support using expat parser
1878 --with-flavour=NAME specify a name to identify this build
1879 --with-gtk-prefix=PFX Prefix where GTK is installed
(optional
)
1880 --with-gtk-exec-prefix=PFX Exec prefix where GTK is installed
(optional
)
1881 --with-x use the X Window System
1882 --with-libiconv-prefix=DIR search
for libiconv
in DIR
/include and DIR
/lib
1883 --with-sdl-prefix=PFX Prefix where SDL is installed
(optional
)
1884 --with-sdl-exec-prefix=PFX Exec prefix where SDL is installed
(optional
)
1885 --with-cppunit-prefix=PFX Prefix where CppUnit is installed
(optional
)
1886 --with-cppunit-exec-prefix=PFX Exec prefix where CppUnit is installed
(optional
)
1888 Some influential environment variables
:
1889 CC C compiler
command
1890 CFLAGS C compiler flags
1891 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
1892 nonstandard directory
<lib dir
>
1893 LIBS libraries to pass to the linker
, e.g.
-l<library
>
1894 CPPFLAGS C
/C
++/Objective C preprocessor flags
, e.g.
-I<include dir
> if
1895 you have headers
in a nonstandard directory
<include dir
>
1897 CXX C
++ compiler
command
1898 CXXFLAGS C
++ compiler flags
1899 PKG_CONFIG path to pkg
-config utility
1901 C compiler flags
for DIRECTFB
, overriding pkg
-config
1903 linker flags
for DIRECTFB
, overriding pkg
-config
1904 XMKMF Path to xmkmf
, Makefile generator
for X Window System
1906 C compiler flags
for PANGOX
, overriding pkg
-config
1907 PANGOX_LIBS linker flags
for PANGOX
, overriding pkg
-config
1909 C compiler flags
for PANGOFT2
, overriding pkg
-config
1911 linker flags
for PANGOFT2
, overriding pkg
-config
1913 C compiler flags
for PANGOXFT
, overriding pkg
-config
1915 linker flags
for PANGOXFT
, overriding pkg
-config
1916 LIBGNOMEPRINTUI_CFLAGS
1917 C compiler flags
for LIBGNOMEPRINTUI
, overriding pkg
-config
1918 LIBGNOMEPRINTUI_LIBS
1919 linker flags
for LIBGNOMEPRINTUI
, overriding pkg
-config
1921 C compiler flags
for GNOMEVFS
, overriding pkg
-config
1923 linker flags
for GNOMEVFS
, overriding pkg
-config
1925 C compiler flags
for HILDON
, overriding pkg
-config
1926 HILDON_LIBS linker flags
for HILDON
, overriding pkg
-config
1928 C compiler flags
for CAIRO
, overriding pkg
-config
1929 CAIRO_LIBS linker flags
for CAIRO
, overriding pkg
-config
1930 GST_CFLAGS C compiler flags
for GST
, overriding pkg
-config
1931 GST_LIBS linker flags
for GST
, overriding pkg
-config
1933 Use these variables to override the choices made by
`configure' or to help
1934 it to find libraries and programs with nonstandard names/locations.
1936 Report bugs to <wx-dev@lists.wxwidgets.org>.
1941 if test "$ac_init_help" = "recursive"; then
1942 # If there are subdirs, report their specific --help.
1943 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1944 test -d "$ac_dir" || continue
1948 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1950 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1951 # A ".." for each directory in $ac_dir_suffix.
1952 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
1953 case $ac_top_builddir_sub in
1954 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1955 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1958 ac_abs_top_builddir=$ac_pwd
1959 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1960 # for backward compatibility:
1961 ac_top_builddir=$ac_top_build_prefix
1964 .) # We are building in place.
1966 ac_top_srcdir=$ac_top_builddir_sub
1967 ac_abs_top_srcdir=$ac_pwd ;;
1968 [\\/]* | ?:[\\/]* ) # Absolute name.
1969 ac_srcdir=$srcdir$ac_dir_suffix;
1970 ac_top_srcdir=$srcdir
1971 ac_abs_top_srcdir=$srcdir ;;
1973 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1974 ac_top_srcdir=$ac_top_build_prefix$srcdir
1975 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1977 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1979 cd "$ac_dir" || { ac_status=$?; continue; }
1980 # Check for guested configure.
1981 if test -f "$ac_srcdir/configure.gnu"; then
1983 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1984 elif test -f "$ac_srcdir/configure"; then
1986 $SHELL "$ac_srcdir/configure" --help=recursive
1988 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1990 cd "$ac_pwd" || { ac_status=$?; break; }
1994 test -n "$ac_init_help" && exit $ac_status
1995 if $ac_init_version; then
1997 wxWidgets configure 2.9.0
1998 generated by GNU Autoconf 2.61
2000 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
2001 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
2002 This configure script is free software; the Free Software Foundation
2003 gives unlimited permission to copy, distribute and modify it.
2007 cat >config.log <<_ACEOF
2008 This file contains any messages produced by compilers while
2009 running configure, to aid debugging if configure makes a mistake.
2011 It was created by wxWidgets $as_me 2.9.0, which was
2012 generated by GNU Autoconf 2.61. Invocation command line was
2024 hostname = `(hostname
|| uname
-n) 2>/dev
/null
| sed 1q
`
2025 uname -m = `(uname
-m) 2>/dev
/null
|| echo unknown
`
2026 uname -r = `(uname
-r) 2>/dev
/null
|| echo unknown
`
2027 uname -s = `(uname
-s) 2>/dev
/null
|| echo unknown
`
2028 uname -v = `(uname
-v) 2>/dev
/null
|| echo unknown
`
2030 /usr/bin/uname -p = `(/usr
/bin
/uname
-p) 2>/dev
/null
|| echo unknown
`
2031 /bin/uname -X = `(/bin
/uname
-X) 2>/dev
/null
|| echo unknown
`
2033 /bin/arch = `(/bin
/arch
) 2>/dev
/null
|| echo unknown
`
2034 /usr/bin/arch -k = `(/usr
/bin
/arch
-k) 2>/dev
/null
|| echo unknown
`
2035 /usr/convex/getsysinfo = `(/usr
/convex
/getsysinfo
) 2>/dev
/null
|| echo unknown
`
2036 /usr/bin/hostinfo = `(/usr
/bin
/hostinfo
) 2>/dev
/null
|| echo unknown
`
2037 /bin/machine = `(/bin
/machine
) 2>/dev
/null
|| echo unknown
`
2038 /usr/bin/oslevel = `(/usr
/bin
/oslevel
) 2>/dev
/null
|| echo unknown
`
2039 /bin/universe = `(/bin
/universe
) 2>/dev
/null
|| echo unknown
`
2043 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2047 test -z "$as_dir" && as_dir=.
2048 echo "PATH: $as_dir"
2064 # Keep a trace of the command line.
2065 # Strip out --no-create and --no-recursion so they do not pile up.
2066 # Strip out --silent because we don't want to record it for future runs.
2067 # Also quote any args containing shell meta-characters.
2068 # Make two passes to allow for proper duplicate-argument suppression.
2072 ac_must_keep_next=false
2078 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2079 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2080 | -silent | --silent | --silen | --sile | --sil)
2083 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2086 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
2088 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
2089 if test $ac_must_keep_next = true; then
2090 ac_must_keep_next=false # Got value, back to normal.
2093 *=* | --config-cache | -C | -disable-* | --disable-* \
2094 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2095 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2096 | -with-* | --with-* | -without-* | --without-* | --x)
2097 case "$ac_configure_args0 " in
2098 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2101 -* ) ac_must_keep_next=true ;;
2104 ac_configure_args="$ac_configure_args '$ac_arg'"
2109 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
2110 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
2112 # When interrupted or exit'd, cleanup temporary files, and complete
2113 # config.log. We remove comments because anyway the quotes in there
2114 # would cause problems or look ugly.
2115 # WARNING: Use '\'' to represent an apostrophe within the trap.
2116 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2117 trap 'exit_status=$?
2118 # Save into config.log some information that might help in debugging.
2123 ## ---------------- ##
2124 ## Cache variables. ##
2125 ## ---------------- ##
2128 # The following way of writing the cache mishandles newlines in values,
2130 for ac_var in `(set) 2>&1 | sed -n '\''s
/^\
([a
-zA-Z_][a
-zA-Z0-9_]*\
)=.
*/\
1/p
'\''`; do
2131 eval ac_val=\$$ac_var
2135 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
2136 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
2139 _ | IFS | as_nl) ;; #(
2140 *) $as_unset $ac_var ;;
2145 case $as_nl`(ac_space
='\'' '\''; set) 2>&1` in #(
2146 *${as_nl}ac_space=\ *)
2148 "s/'\''/'\''\\\\'\'''\''/g;
2149 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2152 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2160 ## ----------------- ##
2161 ## Output variables. ##
2162 ## ----------------- ##
2165 for ac_var in $ac_subst_vars
2167 eval ac_val=\$$ac_var
2169 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2171 echo "$ac_var='\''$ac_val'\''"
2175 if test -n "$ac_subst_files"; then
2177 ## ------------------- ##
2178 ## File substitutions. ##
2179 ## ------------------- ##
2182 for ac_var in $ac_subst_files
2184 eval ac_val=\$$ac_var
2186 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2188 echo "$ac_var='\''$ac_val'\''"
2193 if test -s confdefs.h; then
2203 test "$ac_signal" != 0 &&
2204 echo "$as_me: caught signal $ac_signal"
2205 echo "$as_me: exit $exit_status"
2207 rm -f core *.core core.conftest.* &&
2208 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2211 for ac_signal in 1 2 13 15; do
2212 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
2216 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2217 rm -f -r conftest* confdefs.h
2219 # Predefined preprocessor variables.
2221 cat >>confdefs.h <<_ACEOF
2222 #define PACKAGE_NAME "$PACKAGE_NAME"
2226 cat >>confdefs.h <<_ACEOF
2227 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2231 cat >>confdefs.h <<_ACEOF
2232 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2236 cat >>confdefs.h <<_ACEOF
2237 #define PACKAGE_STRING "$PACKAGE_STRING"
2241 cat >>confdefs.h <<_ACEOF
2242 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2246 # Let the site file select an alternate cache file if it wants to.
2247 # Prefer explicitly selected file to automatically selected ones.
2248 if test -n "$CONFIG_SITE"; then
2249 set x "$CONFIG_SITE"
2250 elif test "x$prefix" != xNONE; then
2251 set x "$prefix/share/config.site" "$prefix/etc/config.site"
2253 set x "$ac_default_prefix/share/config.site" \
2254 "$ac_default_prefix/etc/config.site"
2259 if test -r "$ac_site_file"; then
2260 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
2261 echo "$as_me: loading site script $ac_site_file" >&6;}
2262 sed 's/^/| /' "$ac_site_file" >&5
2267 if test -r "$cache_file"; then
2268 # Some versions of bash will fail to source /dev/null (special
2269 # files actually), so we avoid doing that.
2270 if test -f "$cache_file"; then
2271 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
2272 echo "$as_me: loading cache $cache_file" >&6;}
2274 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2275 *) . "./$cache_file";;
2279 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
2280 echo "$as_me: creating cache $cache_file" >&6;}
2284 # Check that the precious variables saved in the cache have kept the same
2286 ac_cache_corrupted=false
2287 for ac_var in $ac_precious_vars; do
2288 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2289 eval ac_new_set=\$ac_env_${ac_var}_set
2290 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2291 eval ac_new_val=\$ac_env_${ac_var}_value
2292 case $ac_old_set,$ac_new_set in
2294 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run
" >&5
2295 echo "$as_me: error
: \
`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2296 ac_cache_corrupted=: ;;
2298 { echo "$as_me:$LINENO: error: \`$ac_var' was not
set in the previous run
" >&5
2299 echo "$as_me: error
: \
`$ac_var' was not set in the previous run" >&2;}
2300 ac_cache_corrupted=: ;;
2303 if test "x$ac_old_val" != "x$ac_new_val"; then
2304 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
2305 echo "$as_me: error: \`$ac_var' has changed since the previous run
:" >&2;}
2306 { echo "$as_me:$LINENO: former value
: $ac_old_val" >&5
2307 echo "$as_me: former value
: $ac_old_val" >&2;}
2308 { echo "$as_me:$LINENO: current value
: $ac_new_val" >&5
2309 echo "$as_me: current value
: $ac_new_val" >&2;}
2310 ac_cache_corrupted=:
2313 # Pass precious variables to config.status.
2314 if test "$ac_new_set" = set; then
2316 *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s
/'/'\\\\\\\\''/g
"` ;;
2317 *) ac_arg=$ac_var=$ac_new_val ;;
2319 case " $ac_configure_args " in
2320 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2321 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
2325 if $ac_cache_corrupted; then
2326 { echo "$as_me:$LINENO: error
: changes
in the environment can compromise the build
" >&5
2327 echo "$as_me: error
: changes
in the environment can compromise the build
" >&2;}
2328 { { echo "$as_me:$LINENO: error
: run \
`make distclean' and/or \`rm $cache_file' and start over" >&5
2329 echo "$as_me: error: run \`make distclean' and
/or \
`rm $cache_file' and start over" >&2;}
2330 { (exit 1); exit 1; }; }
2358 ac_cpp='$CPP $CPPFLAGS'
2359 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2360 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2361 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2368 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2369 if test -f "$ac_dir/install-sh"; then
2371 ac_install_sh="$ac_aux_dir/install-sh -c"
2373 elif test -f "$ac_dir/install.sh"; then
2375 ac_install_sh="$ac_aux_dir/install.sh -c"
2377 elif test -f "$ac_dir/shtool"; then
2379 ac_install_sh="$ac_aux_dir/shtool install -c"
2383 if test -z "$ac_aux_dir"; then
2384 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
2385 echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
2386 { (exit 1); exit 1; }; }
2389 # These three variables are undocumented and unsupported,
2390 # and are intended to be withdrawn in a future Autoconf release.
2391 # They can cause serious problems if a builder's source tree is in a directory
2392 # whose full name contains unusual characters.
2393 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2394 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2395 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2398 # Make sure we can run config.sub.
2399 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2400 { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
2401 echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
2402 { (exit 1); exit 1; }; }
2404 { echo "$as_me:$LINENO: checking build system type" >&5
2405 echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
2406 if test "${ac_cv_build+set}" = set; then
2407 echo $ECHO_N "(cached) $ECHO_C" >&6
2409 ac_build_alias=$build_alias
2410 test "x$ac_build_alias" = x &&
2411 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2412 test "x$ac_build_alias" = x &&
2413 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
2414 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
2415 { (exit 1); exit 1; }; }
2416 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2417 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
2418 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
2419 { (exit 1); exit 1; }; }
2422 { echo "$as_me:$LINENO: result: $ac_cv_build" >&5
2423 echo "${ECHO_T}$ac_cv_build" >&6; }
2424 case $ac_cv_build in
2426 *) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
2427 echo "$as_me: error: invalid value of canonical build" >&2;}
2428 { (exit 1); exit 1; }; };;
2431 ac_save_IFS=$IFS; IFS='-'
2437 # Remember, the first character of IFS is used to create $*,
2438 # except with old shells:
2441 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
2444 { echo "$as_me:$LINENO: checking host system type" >&5
2445 echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
2446 if test "${ac_cv_host+set}" = set; then
2447 echo $ECHO_N "(cached) $ECHO_C" >&6
2449 if test "x$host_alias" = x; then
2450 ac_cv_host=$ac_cv_build
2452 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2453 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
2454 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
2455 { (exit 1); exit 1; }; }
2459 { echo "$as_me:$LINENO: result: $ac_cv_host" >&5
2460 echo "${ECHO_T}$ac_cv_host" >&6; }
2463 *) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
2464 echo "$as_me: error: invalid value of canonical host" >&2;}
2465 { (exit 1); exit 1; }; };;
2468 ac_save_IFS=$IFS; IFS='-'
2474 # Remember, the first character of IFS is used to create $*,
2475 # except with old shells:
2478 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
2481 { echo "$as_me:$LINENO: checking target system type" >&5
2482 echo $ECHO_N "checking target system type... $ECHO_C" >&6; }
2483 if test "${ac_cv_target+set}" = set; then
2484 echo $ECHO_N "(cached) $ECHO_C" >&6
2486 if test "x$target_alias" = x; then
2487 ac_cv_target=$ac_cv_host
2489 ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
2490 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&5
2491 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&2;}
2492 { (exit 1); exit 1; }; }
2496 { echo "$as_me:$LINENO: result: $ac_cv_target" >&5
2497 echo "${ECHO_T}$ac_cv_target" >&6; }
2498 case $ac_cv_target in
2500 *) { { echo "$as_me:$LINENO: error: invalid value of canonical target" >&5
2501 echo "$as_me: error: invalid value of canonical target" >&2;}
2502 { (exit 1); exit 1; }; };;
2504 target=$ac_cv_target
2505 ac_save_IFS=$IFS; IFS='-'
2511 # Remember, the first character of IFS is used to create $*,
2512 # except with old shells:
2515 case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac
2518 # The aliases save the names the user supplied, while $host etc.
2519 # will get canonicalized.
2520 test -n "$target_alias" &&
2521 test "$program_prefix$program_suffix$program_transform_name" = \
2523 program_prefix=${target_alias}-
2527 wx_major_version_number=2
2528 wx_minor_version_number=9
2530 wx_subrelease_number=0
2532 WX_RELEASE=$wx_major_version_number.$wx_minor_version_number
2533 WX_VERSION=$WX_RELEASE.$wx_release_number
2534 WX_SUBVERSION=$WX_VERSION.$wx_subrelease_number
2536 WX_MSW_VERSION=$wx_major_version_number$wx_minor_version_number$wx_release_number
2539 wx_top_builddir="`pwd`"
2552 USE_BSD= USE_DARWIN= USE_FREEBSD=
2558 USE_SOLARIS= USE_SUN= USE_SUNOS= USE_SVR4= USE_SYSV= USE_VMS=
2564 NEEDS_D_REENTRANT_FOR_R_FUNCS=0
2566 ALL_TOOLKITS="COCOA GTK MAC MGL MICROWIN MOTIF MSW PM X11 DFB"
2568 DEFAULT_wxUSE_COCOA=0
2572 DEFAULT_wxUSE_MICROWIN=0
2573 DEFAULT_wxUSE_MOTIF=0
2579 DEFAULT_DEFAULT_wxUSE_COCOA=0
2580 DEFAULT_DEFAULT_wxUSE_GTK=0
2581 DEFAULT_DEFAULT_wxUSE_MAC=0
2582 DEFAULT_DEFAULT_wxUSE_MGL=0
2583 DEFAULT_DEFAULT_wxUSE_MICROWIN=0
2584 DEFAULT_DEFAULT_wxUSE_MOTIF=0
2585 DEFAULT_DEFAULT_wxUSE_MSW=0
2586 DEFAULT_DEFAULT_wxUSE_PM=0
2587 DEFAULT_DEFAULT_wxUSE_X11=0
2588 DEFAULT_DEFAULT_wxUSE_DFB=0
2593 SAMPLES_RPATH_POSTLINK=
2595 DEFAULT_STD_FLAG=yes
2600 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2601 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
2603 cat >>confdefs.h <<\_ACEOF
2608 CPPFLAGS="-D_HPUX_SOURCE $CPPFLAGS"
2612 cat >>confdefs.h <<\_ACEOF
2617 if test "x$TMP" = "xalpha"; then
2619 cat >>confdefs.h <<\_ACEOF
2624 DEFAULT_DEFAULT_wxUSE_GTK=1
2626 *-*-gnu* | *-*-k*bsd*-gnu )
2629 if test "x$TMP" = "xalpha"; then
2631 cat >>confdefs.h <<\_ACEOF
2636 DEFAULT_DEFAULT_wxUSE_GTK=1
2638 *-*-irix5* | *-*-irix6* )
2641 cat >>confdefs.h <<\_ACEOF
2645 cat >>confdefs.h <<\_ACEOF
2649 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2655 cat >>confdefs.h <<\_ACEOF
2659 cat >>confdefs.h <<\_ACEOF
2660 #define __SOLARIS__ 1
2663 cat >>confdefs.h <<\_ACEOF
2667 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2668 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
2674 cat >>confdefs.h <<\_ACEOF
2678 cat >>confdefs.h <<\_ACEOF
2682 cat >>confdefs.h <<\_ACEOF
2686 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2691 cat >>confdefs.h <<\_ACEOF
2692 #define __FREEBSD__ 1
2695 cat >>confdefs.h <<\_ACEOF
2699 DEFAULT_DEFAULT_wxUSE_GTK=1
2701 *-*-openbsd*|*-*-mirbsd*)
2704 cat >>confdefs.h <<\_ACEOF
2705 #define __OPENBSD__ 1
2708 cat >>confdefs.h <<\_ACEOF
2712 DEFAULT_DEFAULT_wxUSE_GTK=1
2717 cat >>confdefs.h <<\_ACEOF
2718 #define __NETBSD__ 1
2721 cat >>confdefs.h <<\_ACEOF
2725 DEFAULT_DEFAULT_wxUSE_GTK=1
2726 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
2728 CPPFLAGS="-D_NETBSD_SOURCE -D_LIBC $CPPFLAGS"
2733 cat >>confdefs.h <<\_ACEOF
2737 cat >>confdefs.h <<\_ACEOF
2741 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2742 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
2747 cat >>confdefs.h <<\_ACEOF
2751 cat >>confdefs.h <<\_ACEOF
2755 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2760 cat >>confdefs.h <<\_ACEOF
2764 cat >>confdefs.h <<\_ACEOF
2768 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2775 cat >>confdefs.h <<\_ACEOF
2779 cat >>confdefs.h <<\_ACEOF
2783 cat >>confdefs.h <<\_ACEOF
2787 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2794 cat >>confdefs.h <<\_ACEOF
2795 #define __UNIXWARE__ 1
2800 *-*-cygwin* | *-*-mingw32* )
2803 DEFAULT_DEFAULT_wxUSE_MSW=1
2809 cat >>confdefs.h <<\_ACEOF
2814 DEFAULT_DEFAULT_wxUSE_MGL=1
2817 *-pc-os2_emx | *-pc-os2-emx )
2818 cat >>confdefs.h <<\_ACEOF
2823 cat >>confdefs.h <<\_ACEOF
2828 DEFAULT_DEFAULT_wxUSE_PM=1
2830 LDFLAGS="$LDFLAGS -Zcrtdll"
2831 ac_executable_extensions=".exe"
2832 export ac_executable_extensions
2836 for ac_dir in $PATH; do
2838 if test -z "$ac_TEMP_PATH"; then
2839 ac_TEMP_PATH="$ac_dir"
2841 ac_TEMP_PATH="$ac_TEMP_PATH/$ac_dir"
2844 export PATH="$ac_TEMP_PATH"
2853 cat >>confdefs.h <<\_ACEOF
2857 cat >>confdefs.h <<\_ACEOF
2858 #define __DARWIN__ 1
2861 cat >>confdefs.h <<\_ACEOF
2862 #define TARGET_CARBON 1
2865 DEFAULT_DEFAULT_wxUSE_MAC=1
2868 powerpc-apple-macos* )
2870 ac_cv_c_bigendian=yes
2872 DEFAULT_DEFAULT_wxUSE_MAC=1
2878 cat >>confdefs.h <<\_ACEOF
2885 { echo "$as_me:$LINENO: WARNING: *** System type ${host} is unknown, assuming generic Unix and continuing nevertheless." >&5
2886 echo "$as_me: WARNING: *** System type ${host} is unknown, assuming generic Unix and continuing nevertheless." >&2;}
2887 { echo "$as_me:$LINENO: WARNING: *** Please report the build results to wx-dev@lists.wxwidgets.org." >&5
2888 echo "$as_me: WARNING: *** Please report the build results to wx-dev@lists.wxwidgets.org." >&2;}
2890 DEFAULT_DEFAULT_wxUSE_X11=1
2891 DEFAULT_wxUSE_SHARED=no
2897 wx_arg_cache_file="configarg.cache"
2898 echo "loading argument cache $wx_arg_cache_file"
2899 rm -f ${wx_arg_cache_file}.tmp
2900 touch ${wx_arg_cache_file}.tmp
2901 touch ${wx_arg_cache_file}
2905 if test $DEBUG_CONFIGURE = 1; then
2906 DEFAULT_wxUSE_UNIVERSAL=no
2907 DEFAULT_wxUSE_STL=no
2908 DEFAULT_wxUSE_EXTENDED_RTTI=no
2910 DEFAULT_wxUSE_NANOX=no
2912 DEFAULT_wxUSE_THREADS=yes
2914 DEFAULT_wxUSE_SHARED=${DEFAULT_wxUSE_SHARED:-yes}
2915 DEFAULT_wxUSE_OPTIMISE=no
2916 DEFAULT_wxUSE_PROFILE=no
2917 DEFAULT_wxUSE_NO_DEPS=no
2918 DEFAULT_wxUSE_VARARG_MACROS=no
2919 DEFAULT_wxUSE_NO_RTTI=no
2920 DEFAULT_wxUSE_NO_EXCEPTIONS=no
2921 DEFAULT_wxUSE_UNIVERSAL_BINARY=no
2922 DEFAULT_wxUSE_RPATH=yes
2923 DEFAULT_wxUSE_PERMISSIVE=no
2924 DEFAULT_wxUSE_DEBUG_FLAG=yes
2925 DEFAULT_wxUSE_DEBUG_INFO=yes
2926 DEFAULT_wxUSE_DEBUG_GDB=yes
2927 DEFAULT_wxUSE_MEM_TRACING=no
2928 DEFAULT_wxUSE_DEBUG_CONTEXT=no
2929 DEFAULT_wxUSE_DMALLOC=no
2930 DEFAULT_wxUSE_APPLE_IEEE=no
2932 DEFAULT_wxUSE_EXCEPTIONS=no
2933 DEFAULT_wxUSE_LOG=yes
2934 DEFAULT_wxUSE_LOGWINDOW=no
2935 DEFAULT_wxUSE_LOGGUI=no
2936 DEFAULT_wxUSE_LOGDIALOG=no
2938 DEFAULT_wxUSE_GUI=yes
2939 DEFAULT_wxUSE_CONTROLS=no
2941 DEFAULT_wxUSE_REGEX=no
2942 DEFAULT_wxUSE_XML=no
2943 DEFAULT_wxUSE_EXPAT=no
2944 DEFAULT_wxUSE_ZLIB=no
2945 DEFAULT_wxUSE_LIBPNG=no
2946 DEFAULT_wxUSE_LIBJPEG=no
2947 DEFAULT_wxUSE_LIBTIFF=no
2948 DEFAULT_wxUSE_LIBXPM=no
2949 DEFAULT_wxUSE_LIBMSPACK=no
2950 DEFAULT_wxUSE_LIBSDL=no
2951 DEFAULT_wxUSE_LIBGNOMEPRINT=no
2952 DEFAULT_wxUSE_LIBGNOMEVFS=no
2953 DEFAULT_wxUSE_LIBHILDON=no
2954 DEFAULT_wxUSE_ODBC=no
2955 DEFAULT_wxUSE_OPENGL=no
2957 DEFAULT_wxUSE_ON_FATAL_EXCEPTION=no
2958 DEFAULT_wxUSE_STACKWALKER=no
2959 DEFAULT_wxUSE_DEBUGREPORT=no
2960 DEFAULT_wxUSE_SNGLINST_CHECKER=no
2961 DEFAULT_wxUSE_STD_IOSTREAM=no
2962 DEFAULT_wxUSE_STD_STRING=no
2963 DEFAULT_wxUSE_CMDLINE_PARSER=no
2964 DEFAULT_wxUSE_DATETIME=no
2965 DEFAULT_wxUSE_TIMER=no
2966 DEFAULT_wxUSE_STOPWATCH=no
2967 DEFAULT_wxUSE_FILE=no
2968 DEFAULT_wxUSE_FFILE=no
2969 DEFAULT_wxUSE_STDPATHS=no
2970 DEFAULT_wxUSE_TEXTBUFFER=no
2971 DEFAULT_wxUSE_TEXTFILE=no
2972 DEFAULT_wxUSE_SOUND=no
2973 DEFAULT_wxUSE_MEDIACTRL=no
2974 DEFAULT_wxUSE_GSTREAMER8=no
2975 DEFAULT_wxUSE_PRINTF_POS_PARAMS=no
2976 DEFAULT_wxUSE_INTL=no
2977 DEFAULT_wxUSE_CONFIG=no
2978 DEFAULT_wxUSE_FONTMAP=no
2979 DEFAULT_wxUSE_STREAMS=no
2980 DEFAULT_wxUSE_SOCKETS=no
2981 DEFAULT_wxUSE_OLE=no
2982 DEFAULT_wxUSE_DATAOBJ=no
2983 DEFAULT_wxUSE_DIALUP_MANAGER=no
2984 DEFAULT_wxUSE_JOYSTICK=no
2985 DEFAULT_wxUSE_DYNLIB_CLASS=no
2986 DEFAULT_wxUSE_DYNAMIC_LOADER=no
2987 DEFAULT_wxUSE_LONGLONG=no
2988 DEFAULT_wxUSE_GEOMETRY=no
2990 DEFAULT_wxUSE_AFM_FOR_POSTSCRIPT=no
2991 DEFAULT_wxUSE_NORMALIZED_PS_FONTS=no
2992 DEFAULT_wxUSE_POSTSCRIPT=no
2994 DEFAULT_wxUSE_CLIPBOARD=no
2995 DEFAULT_wxUSE_TOOLTIPS=no
2996 DEFAULT_wxUSE_DRAG_AND_DROP=no
2997 DEFAULT_wxUSE_DRAGIMAGE=no
2998 DEFAULT_wxUSE_SPLINES=no
2999 DEFAULT_wxUSE_MOUSEWHEEL=no
3001 DEFAULT_wxUSE_MDI=no
3002 DEFAULT_wxUSE_MDI_ARCHITECTURE=no
3003 DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE=no
3004 DEFAULT_wxUSE_PRINTING_ARCHITECTURE=no
3006 DEFAULT_wxUSE_CONSTRAINTS=no
3007 DEFAULT_wxUSE_IPC=no
3008 DEFAULT_wxUSE_HELP=no
3009 DEFAULT_wxUSE_MS_HTML_HELP=no
3010 DEFAULT_wxUSE_WXHTML_HELP=no
3011 DEFAULT_wxUSE_TREELAYOUT=no
3012 DEFAULT_wxUSE_METAFILE=no
3013 DEFAULT_wxUSE_MIMETYPE=no
3014 DEFAULT_wxUSE_SYSTEM_OPTIONS=no
3015 DEFAULT_wxUSE_PROTOCOL=no
3016 DEFAULT_wxUSE_PROTOCOL_HTTP=no
3017 DEFAULT_wxUSE_PROTOCOL_FTP=no
3018 DEFAULT_wxUSE_PROTOCOL_FILE=no
3019 DEFAULT_wxUSE_URL=no
3020 DEFAULT_wxUSE_VARIANT=no
3022 DEFAULT_wxUSE_ABOUTDLG=no
3023 DEFAULT_wxUSE_COMMONDLGS=no
3024 DEFAULT_wxUSE_CHOICEDLG=no
3025 DEFAULT_wxUSE_COLOURDLG=no
3026 DEFAULT_wxUSE_DIRDLG=no
3027 DEFAULT_wxUSE_FILEDLG=no
3028 DEFAULT_wxUSE_FINDREPLDLG=no
3029 DEFAULT_wxUSE_FONTDLG=no
3030 DEFAULT_wxUSE_MSGDLG=no
3031 DEFAULT_wxUSE_NUMBERDLG=no
3032 DEFAULT_wxUSE_TEXTDLG=no
3033 DEFAULT_wxUSE_SPLASH=no
3034 DEFAULT_wxUSE_STARTUP_TIPS=no
3035 DEFAULT_wxUSE_PROGRESSDLG=no
3036 DEFAULT_wxUSE_WIZARDDLG=no
3038 DEFAULT_wxUSE_MENUS=no
3039 DEFAULT_wxUSE_MINIFRAME=no
3040 DEFAULT_wxUSE_HTML=no
3041 DEFAULT_wxUSE_RICHTEXT=no
3042 DEFAULT_wxUSE_XRC=no
3043 DEFAULT_wxUSE_AUI=no
3044 DEFAULT_wxUSE_STC=no
3045 DEFAULT_wxUSE_WEBKIT=no
3046 DEFAULT_wxUSE_FILESYSTEM=no
3047 DEFAULT_wxUSE_FS_INET=no
3048 DEFAULT_wxUSE_FS_ZIP=no
3049 DEFAULT_wxUSE_FS_ARCHIVE=no
3050 DEFAULT_wxUSE_BUSYINFO=no
3051 DEFAULT_wxUSE_ARCHIVE_STREAMS=no
3052 DEFAULT_wxUSE_ZIPSTREAM=no
3053 DEFAULT_wxUSE_TARSTREAM=no
3054 DEFAULT_wxUSE_VALIDATORS=no
3056 DEFAULT_wxUSE_ACCEL=no
3057 DEFAULT_wxUSE_ANIMATIONCTRL=no
3058 DEFAULT_wxUSE_BUTTON=no
3059 DEFAULT_wxUSE_BMPBUTTON=no
3060 DEFAULT_wxUSE_BITMAPCOMBOBOX=no
3061 DEFAULT_wxUSE_CALCTRL=no
3062 DEFAULT_wxUSE_CARET=no
3063 DEFAULT_wxUSE_CHECKBOX=no
3064 DEFAULT_wxUSE_CHECKLST=no
3065 DEFAULT_wxUSE_CHOICE=no
3066 DEFAULT_wxUSE_CHOICEBOOK=no
3067 DEFAULT_wxUSE_COLLPANE=no
3068 DEFAULT_wxUSE_COLOURPICKERCTRL=no
3069 DEFAULT_wxUSE_COMBOBOX=no
3070 DEFAULT_wxUSE_COMBOCTRL=no
3071 DEFAULT_wxUSE_DATEPICKCTRL=no
3072 DEFAULT_wxUSE_DISPLAY=no
3073 DEFAULT_wxUSE_DETECT_SM=no
3074 DEFAULT_wxUSE_DIRPICKERCTRL=no
3075 DEFAULT_wxUSE_EDITABLELISTBOX=no
3076 DEFAULT_wxUSE_FILEPICKERCTRL=no
3077 DEFAULT_wxUSE_FONTPICKERCTRL=no
3078 DEFAULT_wxUSE_GAUGE=no
3079 DEFAULT_wxUSE_GRAPHICS_CONTEXT=no
3080 DEFAULT_wxUSE_GRID=no
3081 DEFAULT_wxUSE_HYPERLINKCTRL=no
3082 DEFAULT_wxUSE_DATAVIEWCTRL=no
3083 DEFAULT_wxUSE_IMAGLIST=no
3084 DEFAULT_wxUSE_LISTBOOK=no
3085 DEFAULT_wxUSE_LISTBOX=no
3086 DEFAULT_wxUSE_LISTCTRL=no
3087 DEFAULT_wxUSE_NOTEBOOK=no
3088 DEFAULT_wxUSE_ODCOMBOBOX=no
3089 DEFAULT_wxUSE_RADIOBOX=no
3090 DEFAULT_wxUSE_RADIOBTN=no
3091 DEFAULT_wxUSE_SASH=no
3092 DEFAULT_wxUSE_SCROLLBAR=no
3093 DEFAULT_wxUSE_SEARCHCTRL=no
3094 DEFAULT_wxUSE_SLIDER=no
3095 DEFAULT_wxUSE_SPINBTN=no
3096 DEFAULT_wxUSE_SPINCTRL=no
3097 DEFAULT_wxUSE_SPLITTER=no
3098 DEFAULT_wxUSE_STATBMP=no
3099 DEFAULT_wxUSE_STATBOX=no
3100 DEFAULT_wxUSE_STATLINE=no
3101 DEFAULT_wxUSE_STATTEXT=no
3102 DEFAULT_wxUSE_STATUSBAR=yes
3103 DEFAULT_wxUSE_TAB_DIALOG=no
3104 DEFAULT_wxUSE_TEXTCTRL=no
3105 DEFAULT_wxUSE_TOGGLEBTN=no
3106 DEFAULT_wxUSE_TOOLBAR=no
3107 DEFAULT_wxUSE_TOOLBAR_NATIVE=no
3108 DEFAULT_wxUSE_TREEBOOK=no
3109 DEFAULT_wxUSE_TOOLBOOK=no
3110 DEFAULT_wxUSE_TREECTRL=no
3111 DEFAULT_wxUSE_POPUPWIN=no
3112 DEFAULT_wxUSE_TIPWINDOW=no
3114 DEFAULT_wxUSE_UNICODE=no
3115 DEFAULT_wxUSE_UNICODE_MSLU=no
3116 DEFAULT_wxUSE_UNICODE_UTF8=auto
3117 DEFAULT_wxUSE_UNICODE_UTF8_LOCALE=no
3118 DEFAULT_wxUSE_WCSRTOMBS=no
3120 DEFAULT_wxUSE_PALETTE=no
3121 DEFAULT_wxUSE_IMAGE=no
3122 DEFAULT_wxUSE_GIF=no
3123 DEFAULT_wxUSE_PCX=no
3124 DEFAULT_wxUSE_TGA=no
3125 DEFAULT_wxUSE_PNM=no
3126 DEFAULT_wxUSE_IFF=no
3127 DEFAULT_wxUSE_XPM=no
3128 DEFAULT_wxUSE_ICO_CUR=no
3129 DEFAULT_wxUSE_ACCESSIBILITY=no
3131 DEFAULT_wxUSE_MONOLITHIC=no
3132 DEFAULT_wxUSE_PLUGINS=no
3133 DEFAULT_wxUSE_OFFICIAL_BUILD=no
3135 DEFAULT_wxUSE_UNIVERSAL=no
3136 DEFAULT_wxUSE_STL=no
3137 DEFAULT_wxUSE_EXTENDED_RTTI=no
3139 DEFAULT_wxUSE_NANOX=no
3141 DEFAULT_wxUSE_THREADS=yes
3143 DEFAULT_wxUSE_SHARED=${DEFAULT_wxUSE_SHARED:-yes}
3144 DEFAULT_wxUSE_OPTIMISE=yes
3145 DEFAULT_wxUSE_PROFILE=no
3146 DEFAULT_wxUSE_NO_DEPS=no
3147 DEFAULT_wxUSE_VARARG_MACROS=yes
3148 DEFAULT_wxUSE_NO_RTTI=no
3149 DEFAULT_wxUSE_NO_EXCEPTIONS=no
3150 DEFAULT_wxUSE_UNIVERSAL_BINARY=no
3151 DEFAULT_wxUSE_RPATH=yes
3152 DEFAULT_wxUSE_PERMISSIVE=no
3153 DEFAULT_wxUSE_DEBUG_FLAG=no
3154 DEFAULT_wxUSE_DEBUG_INFO=no
3155 DEFAULT_wxUSE_DEBUG_GDB=no
3156 DEFAULT_wxUSE_MEM_TRACING=no
3157 DEFAULT_wxUSE_DEBUG_CONTEXT=no
3158 DEFAULT_wxUSE_DMALLOC=no
3159 DEFAULT_wxUSE_APPLE_IEEE=yes
3161 DEFAULT_wxUSE_EXCEPTIONS=yes
3162 DEFAULT_wxUSE_LOG=yes
3163 DEFAULT_wxUSE_LOGWINDOW=yes
3164 DEFAULT_wxUSE_LOGGUI=yes
3165 DEFAULT_wxUSE_LOGDIALOG=yes
3167 DEFAULT_wxUSE_GUI=yes
3169 DEFAULT_wxUSE_REGEX=yes
3170 DEFAULT_wxUSE_XML=yes
3171 DEFAULT_wxUSE_EXPAT=yes
3172 DEFAULT_wxUSE_ZLIB=yes
3173 DEFAULT_wxUSE_LIBPNG=yes
3174 DEFAULT_wxUSE_LIBJPEG=yes
3175 DEFAULT_wxUSE_LIBTIFF=yes
3176 DEFAULT_wxUSE_LIBXPM=yes
3177 DEFAULT_wxUSE_LIBMSPACK=yes
3178 DEFAULT_wxUSE_LIBSDL=no
3179 DEFAULT_wxUSE_LIBGNOMEPRINT=yes
3180 DEFAULT_wxUSE_LIBGNOMEVFS=no
3181 DEFAULT_wxUSE_LIBHILDON=no
3182 DEFAULT_wxUSE_ODBC=no
3183 DEFAULT_wxUSE_OPENGL=no
3185 DEFAULT_wxUSE_ON_FATAL_EXCEPTION=yes
3186 DEFAULT_wxUSE_STACKWALKER=yes
3187 DEFAULT_wxUSE_DEBUGREPORT=yes
3188 DEFAULT_wxUSE_SNGLINST_CHECKER=yes
3189 DEFAULT_wxUSE_STD_IOSTREAM=$DEFAULT_STD_FLAG
3190 DEFAULT_wxUSE_STD_STRING=$DEFAULT_STD_FLAG
3191 DEFAULT_wxUSE_CMDLINE_PARSER=yes
3192 DEFAULT_wxUSE_DATETIME=yes
3193 DEFAULT_wxUSE_TIMER=yes
3194 DEFAULT_wxUSE_STOPWATCH=yes
3195 DEFAULT_wxUSE_FILE=yes
3196 DEFAULT_wxUSE_FFILE=yes
3197 DEFAULT_wxUSE_STDPATHS=yes
3198 DEFAULT_wxUSE_TEXTBUFFER=yes
3199 DEFAULT_wxUSE_TEXTFILE=yes
3200 DEFAULT_wxUSE_SOUND=yes
3201 DEFAULT_wxUSE_MEDIACTRL=no
3202 DEFAULT_wxUSE_GSTREAMER8=no
3203 DEFAULT_wxUSE_PRINTF_POS_PARAMS=yes
3204 DEFAULT_wxUSE_INTL=yes
3205 DEFAULT_wxUSE_CONFIG=yes
3206 DEFAULT_wxUSE_FONTMAP=yes
3207 DEFAULT_wxUSE_STREAMS=yes
3208 DEFAULT_wxUSE_SOCKETS=yes
3209 DEFAULT_wxUSE_OLE=yes
3210 DEFAULT_wxUSE_DATAOBJ=yes
3211 DEFAULT_wxUSE_DIALUP_MANAGER=yes
3212 DEFAULT_wxUSE_JOYSTICK=yes
3213 DEFAULT_wxUSE_DYNLIB_CLASS=yes
3214 DEFAULT_wxUSE_DYNAMIC_LOADER=yes
3215 DEFAULT_wxUSE_LONGLONG=yes
3216 DEFAULT_wxUSE_GEOMETRY=yes
3218 DEFAULT_wxUSE_AFM_FOR_POSTSCRIPT=yes
3219 DEFAULT_wxUSE_NORMALIZED_PS_FONTS=yes
3220 DEFAULT_wxUSE_POSTSCRIPT=yes
3222 DEFAULT_wxUSE_CLIPBOARD=yes
3223 DEFAULT_wxUSE_TOOLTIPS=yes
3224 DEFAULT_wxUSE_DRAG_AND_DROP=yes
3225 DEFAULT_wxUSE_DRAGIMAGE=yes
3226 DEFAULT_wxUSE_SPLINES=yes
3227 DEFAULT_wxUSE_MOUSEWHEEL=yes
3229 DEFAULT_wxUSE_MDI=yes
3230 DEFAULT_wxUSE_MDI_ARCHITECTURE=yes
3231 DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE=yes
3232 DEFAULT_wxUSE_PRINTING_ARCHITECTURE=yes
3234 DEFAULT_wxUSE_CONSTRAINTS=yes
3235 DEFAULT_wxUSE_IPC=yes
3236 DEFAULT_wxUSE_HELP=yes
3237 DEFAULT_wxUSE_MS_HTML_HELP=yes
3238 DEFAULT_wxUSE_WXHTML_HELP=yes
3239 DEFAULT_wxUSE_TREELAYOUT=yes
3240 DEFAULT_wxUSE_METAFILE=yes
3241 DEFAULT_wxUSE_MIMETYPE=yes
3242 DEFAULT_wxUSE_SYSTEM_OPTIONS=yes
3243 DEFAULT_wxUSE_PROTOCOL=yes
3244 DEFAULT_wxUSE_PROTOCOL_HTTP=yes
3245 DEFAULT_wxUSE_PROTOCOL_FTP=yes
3246 DEFAULT_wxUSE_PROTOCOL_FILE=yes
3247 DEFAULT_wxUSE_URL=yes
3248 DEFAULT_wxUSE_VARIANT=yes
3250 DEFAULT_wxUSE_ABOUTDLG=yes
3251 DEFAULT_wxUSE_COMMONDLGS=yes
3252 DEFAULT_wxUSE_CHOICEDLG=yes
3253 DEFAULT_wxUSE_COLOURDLG=yes
3254 DEFAULT_wxUSE_DIRDLG=yes
3255 DEFAULT_wxUSE_FILEDLG=yes
3256 DEFAULT_wxUSE_FINDREPLDLG=yes
3257 DEFAULT_wxUSE_FONTDLG=yes
3258 DEFAULT_wxUSE_MSGDLG=yes
3259 DEFAULT_wxUSE_NUMBERDLG=yes
3260 DEFAULT_wxUSE_TEXTDLG=yes
3261 DEFAULT_wxUSE_SPLASH=yes
3262 DEFAULT_wxUSE_STARTUP_TIPS=yes
3263 DEFAULT_wxUSE_PROGRESSDLG=yes
3264 DEFAULT_wxUSE_WIZARDDLG=yes
3266 DEFAULT_wxUSE_MENUS=yes
3267 DEFAULT_wxUSE_MINIFRAME=yes
3268 DEFAULT_wxUSE_HTML=yes
3269 DEFAULT_wxUSE_RICHTEXT=yes
3270 DEFAULT_wxUSE_XRC=yes
3271 DEFAULT_wxUSE_AUI=yes
3272 DEFAULT_wxUSE_STC=yes
3273 DEFAULT_wxUSE_WEBKIT=yes
3274 DEFAULT_wxUSE_FILESYSTEM=yes
3275 DEFAULT_wxUSE_FS_INET=yes
3276 DEFAULT_wxUSE_FS_ZIP=yes
3277 DEFAULT_wxUSE_FS_ARCHIVE=yes
3278 DEFAULT_wxUSE_BUSYINFO=yes
3279 DEFAULT_wxUSE_ARCHIVE_STREAMS=yes
3280 DEFAULT_wxUSE_ZIPSTREAM=yes
3281 DEFAULT_wxUSE_TARSTREAM=yes
3282 DEFAULT_wxUSE_VALIDATORS=yes
3284 DEFAULT_wxUSE_ACCEL=yes
3285 DEFAULT_wxUSE_ANIMATIONCTRL=yes
3286 DEFAULT_wxUSE_BUTTON=yes
3287 DEFAULT_wxUSE_BMPBUTTON=yes
3288 DEFAULT_wxUSE_BITMAPCOMBOBOX=yes
3289 DEFAULT_wxUSE_CALCTRL=yes
3290 DEFAULT_wxUSE_CARET=yes
3291 DEFAULT_wxUSE_CHECKBOX=yes
3292 DEFAULT_wxUSE_CHECKLST=yes
3293 DEFAULT_wxUSE_CHOICE=yes
3294 DEFAULT_wxUSE_CHOICEBOOK=yes
3295 DEFAULT_wxUSE_COLLPANE=yes
3296 DEFAULT_wxUSE_COLOURPICKERCTRL=yes
3297 DEFAULT_wxUSE_COMBOBOX=yes
3298 DEFAULT_wxUSE_COMBOCTRL=yes
3299 DEFAULT_wxUSE_DATEPICKCTRL=yes
3300 DEFAULT_wxUSE_DISPLAY=yes
3301 DEFAULT_wxUSE_DETECT_SM=yes
3302 DEFAULT_wxUSE_DIRPICKERCTRL=yes
3303 DEFAULT_wxUSE_EDITABLELISTBOX=yes
3304 DEFAULT_wxUSE_FILEPICKERCTRL=yes
3305 DEFAULT_wxUSE_FONTPICKERCTRL=yes
3306 DEFAULT_wxUSE_GAUGE=yes
3307 DEFAULT_wxUSE_GRID=yes
3308 DEFAULT_wxUSE_GRAPHICS_CONTEXT=no
3309 DEFAULT_wxUSE_HYPERLINKCTRL=yes
3310 DEFAULT_wxUSE_DATAVIEWCTRL=no
3311 DEFAULT_wxUSE_IMAGLIST=yes
3312 DEFAULT_wxUSE_LISTBOOK=yes
3313 DEFAULT_wxUSE_LISTBOX=yes
3314 DEFAULT_wxUSE_LISTCTRL=yes
3315 DEFAULT_wxUSE_NOTEBOOK=yes
3316 DEFAULT_wxUSE_ODCOMBOBOX=yes
3317 DEFAULT_wxUSE_RADIOBOX=yes
3318 DEFAULT_wxUSE_RADIOBTN=yes
3319 DEFAULT_wxUSE_SASH=yes
3320 DEFAULT_wxUSE_SCROLLBAR=yes
3321 DEFAULT_wxUSE_SEARCHCTRL=yes
3322 DEFAULT_wxUSE_SLIDER=yes
3323 DEFAULT_wxUSE_SPINBTN=yes
3324 DEFAULT_wxUSE_SPINCTRL=yes
3325 DEFAULT_wxUSE_SPLITTER=yes
3326 DEFAULT_wxUSE_STATBMP=yes
3327 DEFAULT_wxUSE_STATBOX=yes
3328 DEFAULT_wxUSE_STATLINE=yes
3329 DEFAULT_wxUSE_STATTEXT=yes
3330 DEFAULT_wxUSE_STATUSBAR=yes
3331 DEFAULT_wxUSE_TAB_DIALOG=no
3332 DEFAULT_wxUSE_TEXTCTRL=yes
3333 DEFAULT_wxUSE_TOGGLEBTN=yes
3334 DEFAULT_wxUSE_TOOLBAR=yes
3335 DEFAULT_wxUSE_TOOLBAR_NATIVE=yes
3336 DEFAULT_wxUSE_TREEBOOK=yes
3337 DEFAULT_wxUSE_TOOLBOOK=yes
3338 DEFAULT_wxUSE_TREECTRL=yes
3339 DEFAULT_wxUSE_POPUPWIN=yes
3340 DEFAULT_wxUSE_TIPWINDOW=yes
3342 DEFAULT_wxUSE_UNICODE=no
3343 DEFAULT_wxUSE_UNICODE_MSLU=yes
3344 DEFAULT_wxUSE_UNICODE_UTF8=auto
3345 DEFAULT_wxUSE_UNICODE_UTF8_LOCALE=no
3346 DEFAULT_wxUSE_WCSRTOMBS=no
3348 DEFAULT_wxUSE_PALETTE=yes
3349 DEFAULT_wxUSE_IMAGE=yes
3350 DEFAULT_wxUSE_GIF=yes
3351 DEFAULT_wxUSE_PCX=yes
3352 DEFAULT_wxUSE_TGA=yes
3353 DEFAULT_wxUSE_IFF=no DEFAULT_wxUSE_PNM=yes
3354 DEFAULT_wxUSE_XPM=yes
3355 DEFAULT_wxUSE_ICO_CUR=yes
3356 DEFAULT_wxUSE_ACCESSIBILITY=no
3358 DEFAULT_wxUSE_MONOLITHIC=no
3359 DEFAULT_wxUSE_PLUGINS=no
3360 DEFAULT_wxUSE_OFFICIAL_BUILD=no
3362 DEFAULT_wxUSE_GTK2=yes
3368 for toolkit in `echo $ALL_TOOLKITS`; do
3369 LINE=`grep "wxUSE_$toolkit=" ${wx_arg_cache_file}`
3370 if test "x$LINE" != "x" ; then
3371 has_toolkit_in_cache=1
3372 eval "DEFAULT_$LINE"
3373 eval "CACHE_$toolkit=1"
3375 LINE=`grep "wx${toolkit}_VERSION=" ${wx_arg_cache_file}`
3376 if test "x$LINE" != "x" ; then
3377 eval "DEFAULT_$LINE"
3385 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gui" >&5
3386 echo $ECHO_N "checking for --${enablestring:-enable}-gui... $ECHO_C" >&6; }
3388 # Check whether --enable-gui was given.
3389 if test "${enable_gui+set}" = set; then
3390 enableval=$enable_gui;
3391 if test "$enableval" = yes; then
3392 ac_cv_use_gui='wxUSE_GUI=yes'
3394 ac_cv_use_gui='wxUSE_GUI=no'
3399 LINE=`grep "^wxUSE_GUI=" ${wx_arg_cache_file}`
3400 if test "x$LINE" != x ; then
3401 eval "DEFAULT_$LINE"
3406 ac_cv_use_gui='wxUSE_GUI='$DEFAULT_wxUSE_GUI
3411 eval "$ac_cv_use_gui"
3412 if test "$no_cache" != 1; then
3413 echo $ac_cv_use_gui >> ${wx_arg_cache_file}.tmp
3416 if test "$wxUSE_GUI" = yes; then
3417 { echo "$as_me:$LINENO: result: yes" >&5
3418 echo "${ECHO_T}yes" >&6; }
3420 { echo "$as_me:$LINENO: result: no" >&5
3421 echo "${ECHO_T}no" >&6; }
3426 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-monolithic" >&5
3427 echo $ECHO_N "checking for --${enablestring:-enable}-monolithic... $ECHO_C" >&6; }
3429 # Check whether --enable-monolithic was given.
3430 if test "${enable_monolithic+set}" = set; then
3431 enableval=$enable_monolithic;
3432 if test "$enableval" = yes; then
3433 ac_cv_use_monolithic='wxUSE_MONOLITHIC=yes'
3435 ac_cv_use_monolithic='wxUSE_MONOLITHIC=no'
3440 LINE=`grep "^wxUSE_MONOLITHIC=" ${wx_arg_cache_file}`
3441 if test "x$LINE" != x ; then
3442 eval "DEFAULT_$LINE"
3447 ac_cv_use_monolithic='wxUSE_MONOLITHIC='$DEFAULT_wxUSE_MONOLITHIC
3452 eval "$ac_cv_use_monolithic"
3453 if test "$no_cache" != 1; then
3454 echo $ac_cv_use_monolithic >> ${wx_arg_cache_file}.tmp
3457 if test "$wxUSE_MONOLITHIC" = yes; then
3458 { echo "$as_me:$LINENO: result: yes" >&5
3459 echo "${ECHO_T}yes" >&6; }
3461 { echo "$as_me:$LINENO: result: no" >&5
3462 echo "${ECHO_T}no" >&6; }
3467 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-plugins" >&5
3468 echo $ECHO_N "checking for --${enablestring:-enable}-plugins... $ECHO_C" >&6; }
3470 # Check whether --enable-plugins was given.
3471 if test "${enable_plugins+set}" = set; then
3472 enableval=$enable_plugins;
3473 if test "$enableval" = yes; then
3474 ac_cv_use_plugins='wxUSE_PLUGINS=yes'
3476 ac_cv_use_plugins='wxUSE_PLUGINS=no'
3481 LINE=`grep "^wxUSE_PLUGINS=" ${wx_arg_cache_file}`
3482 if test "x$LINE" != x ; then
3483 eval "DEFAULT_$LINE"
3488 ac_cv_use_plugins='wxUSE_PLUGINS='$DEFAULT_wxUSE_PLUGINS
3493 eval "$ac_cv_use_plugins"
3494 if test "$no_cache" != 1; then
3495 echo $ac_cv_use_plugins >> ${wx_arg_cache_file}.tmp
3498 if test "$wxUSE_PLUGINS" = yes; then
3499 { echo "$as_me:$LINENO: result: yes" >&5
3500 echo "${ECHO_T}yes" >&6; }
3502 { echo "$as_me:$LINENO: result: no" >&5
3503 echo "${ECHO_T}no" >&6; }
3508 { echo "$as_me:$LINENO: checking for --${withstring:-with}-subdirs" >&5
3509 echo $ECHO_N "checking for --${withstring:-with}-subdirs... $ECHO_C" >&6; }
3512 # Check whether --with-subdirs was given.
3513 if test "${with_subdirs+set}" = set; then
3514 withval=$with_subdirs;
3515 if test "$withval" = yes; then
3516 ac_cv_use_subdirs='wxWITH_SUBDIRS=yes'
3518 ac_cv_use_subdirs='wxWITH_SUBDIRS=no'
3523 LINE=`grep "^wxWITH_SUBDIRS=" ${wx_arg_cache_file}`
3524 if test "x$LINE" != x ; then
3525 eval "DEFAULT_$LINE"
3530 ac_cv_use_subdirs='wxWITH_SUBDIRS='$DEFAULT_wxWITH_SUBDIRS
3535 eval "$ac_cv_use_subdirs"
3536 if test "$no_cache" != 1; then
3537 echo $ac_cv_use_subdirs >> ${wx_arg_cache_file}.tmp
3540 if test "$wxWITH_SUBDIRS" = yes; then
3541 { echo "$as_me:$LINENO: result: yes" >&5
3542 echo "${ECHO_T}yes" >&6; }
3544 { echo "$as_me:$LINENO: result: no" >&5
3545 echo "${ECHO_T}no" >&6; }
3549 if test "$wxUSE_GUI" = "yes"; then
3553 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-universal" >&5
3554 echo $ECHO_N "checking for --${enablestring:-enable}-universal... $ECHO_C" >&6; }
3556 # Check whether --enable-universal was given.
3557 if test "${enable_universal+set}" = set; then
3558 enableval=$enable_universal;
3559 if test "$enableval" = yes; then
3560 ac_cv_use_universal='wxUSE_UNIVERSAL=yes'
3562 ac_cv_use_universal='wxUSE_UNIVERSAL=no'
3567 LINE=`grep "^wxUSE_UNIVERSAL=" ${wx_arg_cache_file}`
3568 if test "x$LINE" != x ; then
3569 eval "DEFAULT_$LINE"
3574 ac_cv_use_universal='wxUSE_UNIVERSAL='$DEFAULT_wxUSE_UNIVERSAL
3579 eval "$ac_cv_use_universal"
3580 if test "$no_cache" != 1; then
3581 echo $ac_cv_use_universal >> ${wx_arg_cache_file}.tmp
3584 if test "$wxUSE_UNIVERSAL" = yes; then
3585 { echo "$as_me:$LINENO: result: yes" >&5
3586 echo "${ECHO_T}yes" >&6; }
3588 { echo "$as_me:$LINENO: result: no" >&5
3589 echo "${ECHO_T}no" >&6; }
3593 # Check whether --with-gtk was given.
3594 if test "${with_gtk+set}" = set; then
3595 withval=$with_gtk; wxUSE_GTK="$withval" CACHE_GTK=1 TOOLKIT_GIVEN=1
3599 # Check whether --with-motif was given.
3600 if test "${with_motif+set}" = set; then
3601 withval=$with_motif; wxUSE_MOTIF="$withval" CACHE_MOTIF=1 TOOLKIT_GIVEN=1
3605 # Check whether --with-mac was given.
3606 if test "${with_mac+set}" = set; then
3607 withval=$with_mac; wxUSE_MAC="$withval" CACHE_MAC=1 TOOLKIT_GIVEN=1
3611 # Check whether --with-cocoa was given.
3612 if test "${with_cocoa+set}" = set; then
3613 withval=$with_cocoa; wxUSE_COCOA="$withval" CACHE_COCOA=1 TOOLKIT_GIVEN=1
3617 # Check whether --with-wine was given.
3618 if test "${with_wine+set}" = set; then
3619 withval=$with_wine; wxUSE_WINE="$withval" CACHE_WINE=1
3623 # Check whether --with-msw was given.
3624 if test "${with_msw+set}" = set; then
3625 withval=$with_msw; wxUSE_MSW="$withval" CACHE_MSW=1 TOOLKIT_GIVEN=1
3629 # Check whether --with-pm was given.
3630 if test "${with_pm+set}" = set; then
3631 withval=$with_pm; wxUSE_PM="$withval" CACHE_PM=1 TOOLKIT_GIVEN=1
3635 # Check whether --with-mgl was given.
3636 if test "${with_mgl+set}" = set; then
3637 withval=$with_mgl; wxUSE_MGL="$withval" wxUSE_UNIVERSAL="yes" CACHE_MGL=1 TOOLKIT_GIVEN=1
3641 # Check whether --with-directfb was given.
3642 if test "${with_directfb+set}" = set; then
3643 withval=$with_directfb; wxUSE_DFB="$withval" wxUSE_UNIVERSAL="yes" CACHE_DFB=1 TOOLKIT_GIVEN=1
3647 # Check whether --with-microwin was given.
3648 if test "${with_microwin+set}" = set; then
3649 withval=$with_microwin; wxUSE_MICROWIN="$withval" CACHE_MICROWIN=1 TOOLKIT_GIVEN=1
3653 # Check whether --with-x11 was given.
3654 if test "${with_x11+set}" = set; then
3655 withval=$with_x11; wxUSE_X11="$withval" wxUSE_UNIVERSAL="yes" CACHE_X11=1 TOOLKIT_GIVEN=1
3660 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-nanox" >&5
3661 echo $ECHO_N "checking for --${enablestring:-enable}-nanox... $ECHO_C" >&6; }
3663 # Check whether --enable-nanox was given.
3664 if test "${enable_nanox+set}" = set; then
3665 enableval=$enable_nanox;
3666 if test "$enableval" = yes; then
3667 ac_cv_use_nanox='wxUSE_NANOX=yes'
3669 ac_cv_use_nanox='wxUSE_NANOX=no'
3674 LINE=`grep "^wxUSE_NANOX=" ${wx_arg_cache_file}`
3675 if test "x$LINE" != x ; then
3676 eval "DEFAULT_$LINE"
3681 ac_cv_use_nanox='wxUSE_NANOX='$DEFAULT_wxUSE_NANOX
3686 eval "$ac_cv_use_nanox"
3687 if test "$no_cache" != 1; then
3688 echo $ac_cv_use_nanox >> ${wx_arg_cache_file}.tmp
3691 if test "$wxUSE_NANOX" = yes; then
3692 { echo "$as_me:$LINENO: result: yes" >&5
3693 echo "${ECHO_T}yes" >&6; }
3695 { echo "$as_me:$LINENO: result: no" >&5
3696 echo "${ECHO_T}no" >&6; }
3700 # Check whether --enable-gtk2 was given.
3701 if test "${enable_gtk2+set}" = set; then
3702 enableval=$enable_gtk2; wxUSE_GTK2="$enableval"
3707 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gpe" >&5
3708 echo $ECHO_N "checking for --${enablestring:-enable}-gpe... $ECHO_C" >&6; }
3710 # Check whether --enable-gpe was given.
3711 if test "${enable_gpe+set}" = set; then
3712 enableval=$enable_gpe;
3713 if test "$enableval" = yes; then
3714 ac_cv_use_gpe='wxUSE_GPE=yes'
3716 ac_cv_use_gpe='wxUSE_GPE=no'
3721 LINE=`grep "^wxUSE_GPE=" ${wx_arg_cache_file}`
3722 if test "x$LINE" != x ; then
3723 eval "DEFAULT_$LINE"
3728 ac_cv_use_gpe='wxUSE_GPE='$DEFAULT_wxUSE_GPE
3733 eval "$ac_cv_use_gpe"
3734 if test "$no_cache" != 1; then
3735 echo $ac_cv_use_gpe >> ${wx_arg_cache_file}.tmp
3738 if test "$wxUSE_GPE" = yes; then
3739 { echo "$as_me:$LINENO: result: yes" >&5
3740 echo "${ECHO_T}yes" >&6; }
3742 { echo "$as_me:$LINENO: result: no" >&5
3743 echo "${ECHO_T}no" >&6; }
3748 { echo "$as_me:$LINENO: checking for --with-libpng" >&5
3749 echo $ECHO_N "checking for --with-libpng... $ECHO_C" >&6; }
3752 # Check whether --with-libpng was given.
3753 if test "${with_libpng+set}" = set; then
3754 withval=$with_libpng;
3755 if test "$withval" = yes; then
3756 ac_cv_use_libpng='wxUSE_LIBPNG=yes'
3757 elif test "$withval" = no; then
3758 ac_cv_use_libpng='wxUSE_LIBPNG=no'
3759 elif test "$withval" = sys; then
3760 ac_cv_use_libpng='wxUSE_LIBPNG=sys'
3761 elif test "$withval" = builtin; then
3762 ac_cv_use_libpng='wxUSE_LIBPNG=builtin'
3764 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
3765 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
3766 { (exit 1); exit 1; }; }
3771 LINE=`grep "^wxUSE_LIBPNG=" ${wx_arg_cache_file}`
3772 if test "x$LINE" != x ; then
3773 eval "DEFAULT_$LINE"
3778 ac_cv_use_libpng='wxUSE_LIBPNG='$DEFAULT_wxUSE_LIBPNG
3783 eval "$ac_cv_use_libpng"
3784 if test "$no_cache" != 1; then
3785 echo $ac_cv_use_libpng >> ${wx_arg_cache_file}.tmp
3788 if test "$wxUSE_LIBPNG" = yes; then
3789 { echo "$as_me:$LINENO: result: yes" >&5
3790 echo "${ECHO_T}yes" >&6; }
3791 elif test "$wxUSE_LIBPNG" = no; then
3792 { echo "$as_me:$LINENO: result: no" >&5
3793 echo "${ECHO_T}no" >&6; }
3794 elif test "$wxUSE_LIBPNG" = sys; then
3795 { echo "$as_me:$LINENO: result: system version" >&5
3796 echo "${ECHO_T}system version" >&6; }
3797 elif test "$wxUSE_LIBPNG" = builtin; then
3798 { echo "$as_me:$LINENO: result: builtin version" >&5
3799 echo "${ECHO_T}builtin version" >&6; }
3801 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
3802 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
3803 { (exit 1); exit 1; }; }
3807 { echo "$as_me:$LINENO: checking for --with-libjpeg" >&5
3808 echo $ECHO_N "checking for --with-libjpeg... $ECHO_C" >&6; }
3811 # Check whether --with-libjpeg was given.
3812 if test "${with_libjpeg+set}" = set; then
3813 withval=$with_libjpeg;
3814 if test "$withval" = yes; then
3815 ac_cv_use_libjpeg='wxUSE_LIBJPEG=yes'
3816 elif test "$withval" = no; then
3817 ac_cv_use_libjpeg='wxUSE_LIBJPEG=no'
3818 elif test "$withval" = sys; then
3819 ac_cv_use_libjpeg='wxUSE_LIBJPEG=sys'
3820 elif test "$withval" = builtin; then
3821 ac_cv_use_libjpeg='wxUSE_LIBJPEG=builtin'
3823 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
3824 echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
3825 { (exit 1); exit 1; }; }
3830 LINE=`grep "^wxUSE_LIBJPEG=" ${wx_arg_cache_file}`
3831 if test "x$LINE" != x ; then
3832 eval "DEFAULT_$LINE"
3837 ac_cv_use_libjpeg='wxUSE_LIBJPEG='$DEFAULT_wxUSE_LIBJPEG
3842 eval "$ac_cv_use_libjpeg"
3843 if test "$no_cache" != 1; then
3844 echo $ac_cv_use_libjpeg >> ${wx_arg_cache_file}.tmp
3847 if test "$wxUSE_LIBJPEG" = yes; then
3848 { echo "$as_me:$LINENO: result: yes" >&5
3849 echo "${ECHO_T}yes" >&6; }
3850 elif test "$wxUSE_LIBJPEG" = no; then
3851 { echo "$as_me:$LINENO: result: no" >&5
3852 echo "${ECHO_T}no" >&6; }
3853 elif test "$wxUSE_LIBJPEG" = sys; then
3854 { echo "$as_me:$LINENO: result: system version" >&5
3855 echo "${ECHO_T}system version" >&6; }
3856 elif test "$wxUSE_LIBJPEG" = builtin; then
3857 { echo "$as_me:$LINENO: result: builtin version" >&5
3858 echo "${ECHO_T}builtin version" >&6; }
3860 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
3861 echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
3862 { (exit 1); exit 1; }; }
3866 { echo "$as_me:$LINENO: checking for --with-libtiff" >&5
3867 echo $ECHO_N "checking for --with-libtiff... $ECHO_C" >&6; }
3870 # Check whether --with-libtiff was given.
3871 if test "${with_libtiff+set}" = set; then
3872 withval=$with_libtiff;
3873 if test "$withval" = yes; then
3874 ac_cv_use_libtiff='wxUSE_LIBTIFF=yes'
3875 elif test "$withval" = no; then
3876 ac_cv_use_libtiff='wxUSE_LIBTIFF=no'
3877 elif test "$withval" = sys; then
3878 ac_cv_use_libtiff='wxUSE_LIBTIFF=sys'
3879 elif test "$withval" = builtin; then
3880 ac_cv_use_libtiff='wxUSE_LIBTIFF=builtin'
3882 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
3883 echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
3884 { (exit 1); exit 1; }; }
3889 LINE=`grep "^wxUSE_LIBTIFF=" ${wx_arg_cache_file}`
3890 if test "x$LINE" != x ; then
3891 eval "DEFAULT_$LINE"
3896 ac_cv_use_libtiff='wxUSE_LIBTIFF='$DEFAULT_wxUSE_LIBTIFF
3901 eval "$ac_cv_use_libtiff"
3902 if test "$no_cache" != 1; then
3903 echo $ac_cv_use_libtiff >> ${wx_arg_cache_file}.tmp
3906 if test "$wxUSE_LIBTIFF" = yes; then
3907 { echo "$as_me:$LINENO: result: yes" >&5
3908 echo "${ECHO_T}yes" >&6; }
3909 elif test "$wxUSE_LIBTIFF" = no; then
3910 { echo "$as_me:$LINENO: result: no" >&5
3911 echo "${ECHO_T}no" >&6; }
3912 elif test "$wxUSE_LIBTIFF" = sys; then
3913 { echo "$as_me:$LINENO: result: system version" >&5
3914 echo "${ECHO_T}system version" >&6; }
3915 elif test "$wxUSE_LIBTIFF" = builtin; then
3916 { echo "$as_me:$LINENO: result: builtin version" >&5
3917 echo "${ECHO_T}builtin version" >&6; }
3919 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
3920 echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
3921 { (exit 1); exit 1; }; }
3925 { echo "$as_me:$LINENO: checking for --with-libxpm" >&5
3926 echo $ECHO_N "checking for --with-libxpm... $ECHO_C" >&6; }
3929 # Check whether --with-libxpm was given.
3930 if test "${with_libxpm+set}" = set; then
3931 withval=$with_libxpm;
3932 if test "$withval" = yes; then
3933 ac_cv_use_libxpm='wxUSE_LIBXPM=yes'
3934 elif test "$withval" = no; then
3935 ac_cv_use_libxpm='wxUSE_LIBXPM=no'
3936 elif test "$withval" = sys; then
3937 ac_cv_use_libxpm='wxUSE_LIBXPM=sys'
3938 elif test "$withval" = builtin; then
3939 ac_cv_use_libxpm='wxUSE_LIBXPM=builtin'
3941 { { echo "$as_me:$LINENO: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&5
3942 echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
3943 { (exit 1); exit 1; }; }
3948 LINE=`grep "^wxUSE_LIBXPM=" ${wx_arg_cache_file}`
3949 if test "x$LINE" != x ; then
3950 eval "DEFAULT_$LINE"
3955 ac_cv_use_libxpm='wxUSE_LIBXPM='$DEFAULT_wxUSE_LIBXPM
3960 eval "$ac_cv_use_libxpm"
3961 if test "$no_cache" != 1; then
3962 echo $ac_cv_use_libxpm >> ${wx_arg_cache_file}.tmp
3965 if test "$wxUSE_LIBXPM" = yes; then
3966 { echo "$as_me:$LINENO: result: yes" >&5
3967 echo "${ECHO_T}yes" >&6; }
3968 elif test "$wxUSE_LIBXPM" = no; then
3969 { echo "$as_me:$LINENO: result: no" >&5
3970 echo "${ECHO_T}no" >&6; }
3971 elif test "$wxUSE_LIBXPM" = sys; then
3972 { echo "$as_me:$LINENO: result: system version" >&5
3973 echo "${ECHO_T}system version" >&6; }
3974 elif test "$wxUSE_LIBXPM" = builtin; then
3975 { echo "$as_me:$LINENO: result: builtin version" >&5
3976 echo "${ECHO_T}builtin version" >&6; }
3978 { { echo "$as_me:$LINENO: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&5
3979 echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
3980 { (exit 1); exit 1; }; }
3985 { echo "$as_me:$LINENO: checking for --${withstring:-with}-libmspack" >&5
3986 echo $ECHO_N "checking for --${withstring:-with}-libmspack... $ECHO_C" >&6; }
3989 # Check whether --with-libmspack was given.
3990 if test "${with_libmspack+set}" = set; then
3991 withval=$with_libmspack;
3992 if test "$withval" = yes; then
3993 ac_cv_use_libmspack='wxUSE_LIBMSPACK=yes'
3995 ac_cv_use_libmspack='wxUSE_LIBMSPACK=no'
4000 LINE=`grep "^wxUSE_LIBMSPACK=" ${wx_arg_cache_file}`
4001 if test "x$LINE" != x ; then
4002 eval "DEFAULT_$LINE"
4007 ac_cv_use_libmspack='wxUSE_LIBMSPACK='$DEFAULT_wxUSE_LIBMSPACK
4012 eval "$ac_cv_use_libmspack"
4013 if test "$no_cache" != 1; then
4014 echo $ac_cv_use_libmspack >> ${wx_arg_cache_file}.tmp
4017 if test "$wxUSE_LIBMSPACK" = yes; then
4018 { echo "$as_me:$LINENO: result: yes" >&5
4019 echo "${ECHO_T}yes" >&6; }
4021 { echo "$as_me:$LINENO: result: no" >&5
4022 echo "${ECHO_T}no" >&6; }
4027 { echo "$as_me:$LINENO: checking for --${withstring:-with}-sdl" >&5
4028 echo $ECHO_N "checking for --${withstring:-with}-sdl... $ECHO_C" >&6; }
4031 # Check whether --with-sdl was given.
4032 if test "${with_sdl+set}" = set; then
4034 if test "$withval" = yes; then
4035 ac_cv_use_sdl='wxUSE_LIBSDL=yes'
4037 ac_cv_use_sdl='wxUSE_LIBSDL=no'
4042 LINE=`grep "^wxUSE_LIBSDL=" ${wx_arg_cache_file}`
4043 if test "x$LINE" != x ; then
4044 eval "DEFAULT_$LINE"
4049 ac_cv_use_sdl='wxUSE_LIBSDL='$DEFAULT_wxUSE_LIBSDL
4054 eval "$ac_cv_use_sdl"
4055 if test "$no_cache" != 1; then
4056 echo $ac_cv_use_sdl >> ${wx_arg_cache_file}.tmp
4059 if test "$wxUSE_LIBSDL" = yes; then
4060 { echo "$as_me:$LINENO: result: yes" >&5
4061 echo "${ECHO_T}yes" >&6; }
4063 { echo "$as_me:$LINENO: result: no" >&5
4064 echo "${ECHO_T}no" >&6; }
4069 { echo "$as_me:$LINENO: checking for --${withstring:-with}-gnomeprint" >&5
4070 echo $ECHO_N "checking for --${withstring:-with}-gnomeprint... $ECHO_C" >&6; }
4073 # Check whether --with-gnomeprint was given.
4074 if test "${with_gnomeprint+set}" = set; then
4075 withval=$with_gnomeprint;
4076 if test "$withval" = yes; then
4077 ac_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT=yes'
4079 ac_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT=no'
4084 LINE=`grep "^wxUSE_LIBGNOMEPRINT=" ${wx_arg_cache_file}`
4085 if test "x$LINE" != x ; then
4086 eval "DEFAULT_$LINE"
4091 ac_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT='$DEFAULT_wxUSE_LIBGNOMEPRINT
4096 eval "$ac_cv_use_gnomeprint"
4097 if test "$no_cache" != 1; then
4098 echo $ac_cv_use_gnomeprint >> ${wx_arg_cache_file}.tmp
4101 if test "$wxUSE_LIBGNOMEPRINT" = yes; then
4102 { echo "$as_me:$LINENO: result: yes" >&5
4103 echo "${ECHO_T}yes" >&6; }
4105 { echo "$as_me:$LINENO: result: no" >&5
4106 echo "${ECHO_T}no" >&6; }
4111 { echo "$as_me:$LINENO: checking for --${withstring:-with}-gnomevfs" >&5
4112 echo $ECHO_N "checking for --${withstring:-with}-gnomevfs... $ECHO_C" >&6; }
4115 # Check whether --with-gnomevfs was given.
4116 if test "${with_gnomevfs+set}" = set; then
4117 withval=$with_gnomevfs;
4118 if test "$withval" = yes; then
4119 ac_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS=yes'
4121 ac_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS=no'
4126 LINE=`grep "^wxUSE_LIBGNOMEVFS=" ${wx_arg_cache_file}`
4127 if test "x$LINE" != x ; then
4128 eval "DEFAULT_$LINE"
4133 ac_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS='$DEFAULT_wxUSE_LIBGNOMEVFS
4138 eval "$ac_cv_use_gnomevfs"
4139 if test "$no_cache" != 1; then
4140 echo $ac_cv_use_gnomevfs >> ${wx_arg_cache_file}.tmp
4143 if test "$wxUSE_LIBGNOMEVFS" = yes; then
4144 { echo "$as_me:$LINENO: result: yes" >&5
4145 echo "${ECHO_T}yes" >&6; }
4147 { echo "$as_me:$LINENO: result: no" >&5
4148 echo "${ECHO_T}no" >&6; }
4153 { echo "$as_me:$LINENO: checking for --${withstring:-with}-hildon" >&5
4154 echo $ECHO_N "checking for --${withstring:-with}-hildon... $ECHO_C" >&6; }
4157 # Check whether --with-hildon was given.
4158 if test "${with_hildon+set}" = set; then
4159 withval=$with_hildon;
4160 if test "$withval" = yes; then
4161 ac_cv_use_hildon='wxUSE_LIBHILDON=yes'
4163 ac_cv_use_hildon='wxUSE_LIBHILDON=no'
4168 LINE=`grep "^wxUSE_LIBHILDON=" ${wx_arg_cache_file}`
4169 if test "x$LINE" != x ; then
4170 eval "DEFAULT_$LINE"
4175 ac_cv_use_hildon='wxUSE_LIBHILDON='$DEFAULT_wxUSE_LIBHILDON
4180 eval "$ac_cv_use_hildon"
4181 if test "$no_cache" != 1; then
4182 echo $ac_cv_use_hildon >> ${wx_arg_cache_file}.tmp
4185 if test "$wxUSE_LIBHILDON" = yes; then
4186 { echo "$as_me:$LINENO: result: yes" >&5
4187 echo "${ECHO_T}yes" >&6; }
4189 { echo "$as_me:$LINENO: result: no" >&5
4190 echo "${ECHO_T}no" >&6; }
4195 { echo "$as_me:$LINENO: checking for --${withstring:-with}-opengl" >&5
4196 echo $ECHO_N "checking for --${withstring:-with}-opengl... $ECHO_C" >&6; }
4199 # Check whether --with-opengl was given.
4200 if test "${with_opengl+set}" = set; then
4201 withval=$with_opengl;
4202 if test "$withval" = yes; then
4203 ac_cv_use_opengl='wxUSE_OPENGL=yes'
4205 ac_cv_use_opengl='wxUSE_OPENGL=no'
4210 LINE=`grep "^wxUSE_OPENGL=" ${wx_arg_cache_file}`
4211 if test "x$LINE" != x ; then
4212 eval "DEFAULT_$LINE"
4217 ac_cv_use_opengl='wxUSE_OPENGL='$DEFAULT_wxUSE_OPENGL
4222 eval "$ac_cv_use_opengl"
4223 if test "$no_cache" != 1; then
4224 echo $ac_cv_use_opengl >> ${wx_arg_cache_file}.tmp
4227 if test "$wxUSE_OPENGL" = yes; then
4228 { echo "$as_me:$LINENO: result: yes" >&5
4229 echo "${ECHO_T}yes" >&6; }
4231 { echo "$as_me:$LINENO: result: no" >&5
4232 echo "${ECHO_T}no" >&6; }
4236 if test "$wxUSE_UNIVERSAL" = "yes"; then
4238 # Check whether --with-themes was given.
4239 if test "${with_themes+set}" = set; then
4240 withval=$with_themes; wxUNIV_THEMES="$withval"
4249 { echo "$as_me:$LINENO: checking for --${withstring:-with}-dmalloc" >&5
4250 echo $ECHO_N "checking for --${withstring:-with}-dmalloc... $ECHO_C" >&6; }
4253 # Check whether --with-dmalloc was given.
4254 if test "${with_dmalloc+set}" = set; then
4255 withval=$with_dmalloc;
4256 if test "$withval" = yes; then
4257 ac_cv_use_dmalloc='wxUSE_DMALLOC=yes'
4259 ac_cv_use_dmalloc='wxUSE_DMALLOC=no'
4264 LINE=`grep "^wxUSE_DMALLOC=" ${wx_arg_cache_file}`
4265 if test "x$LINE" != x ; then
4266 eval "DEFAULT_$LINE"
4271 ac_cv_use_dmalloc='wxUSE_DMALLOC='$DEFAULT_wxUSE_DMALLOC
4276 eval "$ac_cv_use_dmalloc"
4277 if test "$no_cache" != 1; then
4278 echo $ac_cv_use_dmalloc >> ${wx_arg_cache_file}.tmp
4281 if test "$wxUSE_DMALLOC" = yes; then
4282 { echo "$as_me:$LINENO: result: yes" >&5
4283 echo "${ECHO_T}yes" >&6; }
4285 { echo "$as_me:$LINENO: result: no" >&5
4286 echo "${ECHO_T}no" >&6; }
4290 { echo "$as_me:$LINENO: checking for --with-regex" >&5
4291 echo $ECHO_N "checking for --with-regex... $ECHO_C" >&6; }
4294 # Check whether --with-regex was given.
4295 if test "${with_regex+set}" = set; then
4296 withval=$with_regex;
4297 if test "$withval" = yes; then
4298 ac_cv_use_regex='wxUSE_REGEX=yes'
4299 elif test "$withval" = no; then
4300 ac_cv_use_regex='wxUSE_REGEX=no'
4301 elif test "$withval" = sys; then
4302 ac_cv_use_regex='wxUSE_REGEX=sys'
4303 elif test "$withval" = builtin; then
4304 ac_cv_use_regex='wxUSE_REGEX=builtin'
4306 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
4307 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
4308 { (exit 1); exit 1; }; }
4313 LINE=`grep "^wxUSE_REGEX=" ${wx_arg_cache_file}`
4314 if test "x$LINE" != x ; then
4315 eval "DEFAULT_$LINE"
4320 ac_cv_use_regex='wxUSE_REGEX='$DEFAULT_wxUSE_REGEX
4325 eval "$ac_cv_use_regex"
4326 if test "$no_cache" != 1; then
4327 echo $ac_cv_use_regex >> ${wx_arg_cache_file}.tmp
4330 if test "$wxUSE_REGEX" = yes; then
4331 { echo "$as_me:$LINENO: result: yes" >&5
4332 echo "${ECHO_T}yes" >&6; }
4333 elif test "$wxUSE_REGEX" = no; then
4334 { echo "$as_me:$LINENO: result: no" >&5
4335 echo "${ECHO_T}no" >&6; }
4336 elif test "$wxUSE_REGEX" = sys; then
4337 { echo "$as_me:$LINENO: result: system version" >&5
4338 echo "${ECHO_T}system version" >&6; }
4339 elif test "$wxUSE_REGEX" = builtin; then
4340 { echo "$as_me:$LINENO: result: builtin version" >&5
4341 echo "${ECHO_T}builtin version" >&6; }
4343 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
4344 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
4345 { (exit 1); exit 1; }; }
4349 { echo "$as_me:$LINENO: checking for --with-zlib" >&5
4350 echo $ECHO_N "checking for --with-zlib... $ECHO_C" >&6; }
4353 # Check whether --with-zlib was given.
4354 if test "${with_zlib+set}" = set; then
4356 if test "$withval" = yes; then
4357 ac_cv_use_zlib='wxUSE_ZLIB=yes'
4358 elif test "$withval" = no; then
4359 ac_cv_use_zlib='wxUSE_ZLIB=no'
4360 elif test "$withval" = sys; then
4361 ac_cv_use_zlib='wxUSE_ZLIB=sys'
4362 elif test "$withval" = builtin; then
4363 ac_cv_use_zlib='wxUSE_ZLIB=builtin'
4365 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
4366 echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
4367 { (exit 1); exit 1; }; }
4372 LINE=`grep "^wxUSE_ZLIB=" ${wx_arg_cache_file}`
4373 if test "x$LINE" != x ; then
4374 eval "DEFAULT_$LINE"
4379 ac_cv_use_zlib='wxUSE_ZLIB='$DEFAULT_wxUSE_ZLIB
4384 eval "$ac_cv_use_zlib"
4385 if test "$no_cache" != 1; then
4386 echo $ac_cv_use_zlib >> ${wx_arg_cache_file}.tmp
4389 if test "$wxUSE_ZLIB" = yes; then
4390 { echo "$as_me:$LINENO: result: yes" >&5
4391 echo "${ECHO_T}yes" >&6; }
4392 elif test "$wxUSE_ZLIB" = no; then
4393 { echo "$as_me:$LINENO: result: no" >&5
4394 echo "${ECHO_T}no" >&6; }
4395 elif test "$wxUSE_ZLIB" = sys; then
4396 { echo "$as_me:$LINENO: result: system version" >&5
4397 echo "${ECHO_T}system version" >&6; }
4398 elif test "$wxUSE_ZLIB" = builtin; then
4399 { echo "$as_me:$LINENO: result: builtin version" >&5
4400 echo "${ECHO_T}builtin version" >&6; }
4402 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
4403 echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
4404 { (exit 1); exit 1; }; }
4408 { echo "$as_me:$LINENO: checking for --with-odbc" >&5
4409 echo $ECHO_N "checking for --with-odbc... $ECHO_C" >&6; }
4412 # Check whether --with-odbc was given.
4413 if test "${with_odbc+set}" = set; then
4415 if test "$withval" = yes; then
4416 ac_cv_use_odbc='wxUSE_ODBC=yes'
4417 elif test "$withval" = no; then
4418 ac_cv_use_odbc='wxUSE_ODBC=no'
4419 elif test "$withval" = sys; then
4420 ac_cv_use_odbc='wxUSE_ODBC=sys'
4421 elif test "$withval" = builtin; then
4422 ac_cv_use_odbc='wxUSE_ODBC=builtin'
4424 { { echo "$as_me:$LINENO: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&5
4425 echo "$as_me: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&2;}
4426 { (exit 1); exit 1; }; }
4431 LINE=`grep "^wxUSE_ODBC=" ${wx_arg_cache_file}`
4432 if test "x$LINE" != x ; then
4433 eval "DEFAULT_$LINE"
4438 ac_cv_use_odbc='wxUSE_ODBC='$DEFAULT_wxUSE_ODBC
4443 eval "$ac_cv_use_odbc"
4444 if test "$no_cache" != 1; then
4445 echo $ac_cv_use_odbc >> ${wx_arg_cache_file}.tmp
4448 if test "$wxUSE_ODBC" = yes; then
4449 { echo "$as_me:$LINENO: result: yes" >&5
4450 echo "${ECHO_T}yes" >&6; }
4451 elif test "$wxUSE_ODBC" = no; then
4452 { echo "$as_me:$LINENO: result: no" >&5
4453 echo "${ECHO_T}no" >&6; }
4454 elif test "$wxUSE_ODBC" = sys; then
4455 { echo "$as_me:$LINENO: result: system version" >&5
4456 echo "${ECHO_T}system version" >&6; }
4457 elif test "$wxUSE_ODBC" = builtin; then
4458 { echo "$as_me:$LINENO: result: builtin version" >&5
4459 echo "${ECHO_T}builtin version" >&6; }
4461 { { echo "$as_me:$LINENO: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&5
4462 echo "$as_me: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&2;}
4463 { (exit 1); exit 1; }; }
4467 { echo "$as_me:$LINENO: checking for --with-expat" >&5
4468 echo $ECHO_N "checking for --with-expat... $ECHO_C" >&6; }
4471 # Check whether --with-expat was given.
4472 if test "${with_expat+set}" = set; then
4473 withval=$with_expat;
4474 if test "$withval" = yes; then
4475 ac_cv_use_expat='wxUSE_EXPAT=yes'
4476 elif test "$withval" = no; then
4477 ac_cv_use_expat='wxUSE_EXPAT=no'
4478 elif test "$withval" = sys; then
4479 ac_cv_use_expat='wxUSE_EXPAT=sys'
4480 elif test "$withval" = builtin; then
4481 ac_cv_use_expat='wxUSE_EXPAT=builtin'
4483 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
4484 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
4485 { (exit 1); exit 1; }; }
4490 LINE=`grep "^wxUSE_EXPAT=" ${wx_arg_cache_file}`
4491 if test "x$LINE" != x ; then
4492 eval "DEFAULT_$LINE"
4497 ac_cv_use_expat='wxUSE_EXPAT='$DEFAULT_wxUSE_EXPAT
4502 eval "$ac_cv_use_expat"
4503 if test "$no_cache" != 1; then
4504 echo $ac_cv_use_expat >> ${wx_arg_cache_file}.tmp
4507 if test "$wxUSE_EXPAT" = yes; then
4508 { echo "$as_me:$LINENO: result: yes" >&5
4509 echo "${ECHO_T}yes" >&6; }
4510 elif test "$wxUSE_EXPAT" = no; then
4511 { echo "$as_me:$LINENO: result: no" >&5
4512 echo "${ECHO_T}no" >&6; }
4513 elif test "$wxUSE_EXPAT" = sys; then
4514 { echo "$as_me:$LINENO: result: system version" >&5
4515 echo "${ECHO_T}system version" >&6; }
4516 elif test "$wxUSE_EXPAT" = builtin; then
4517 { echo "$as_me:$LINENO: result: builtin version" >&5
4518 echo "${ECHO_T}builtin version" >&6; }
4520 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
4521 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
4522 { (exit 1); exit 1; }; }
4529 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-shared" >&5
4530 echo $ECHO_N "checking for --${enablestring:-enable}-shared... $ECHO_C" >&6; }
4532 # Check whether --enable-shared was given.
4533 if test "${enable_shared+set}" = set; then
4534 enableval=$enable_shared;
4535 if test "$enableval" = yes; then
4536 ac_cv_use_shared='wxUSE_SHARED=yes'
4538 ac_cv_use_shared='wxUSE_SHARED=no'
4543 LINE=`grep "^wxUSE_SHARED=" ${wx_arg_cache_file}`
4544 if test "x$LINE" != x ; then
4545 eval "DEFAULT_$LINE"
4550 ac_cv_use_shared='wxUSE_SHARED='$DEFAULT_wxUSE_SHARED
4555 eval "$ac_cv_use_shared"
4556 if test "$no_cache" != 1; then
4557 echo $ac_cv_use_shared >> ${wx_arg_cache_file}.tmp
4560 if test "$wxUSE_SHARED" = yes; then
4561 { echo "$as_me:$LINENO: result: yes" >&5
4562 echo "${ECHO_T}yes" >&6; }
4564 { echo "$as_me:$LINENO: result: no" >&5
4565 echo "${ECHO_T}no" >&6; }
4570 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-optimise" >&5
4571 echo $ECHO_N "checking for --${enablestring:-enable}-optimise... $ECHO_C" >&6; }
4573 # Check whether --enable-optimise was given.
4574 if test "${enable_optimise+set}" = set; then
4575 enableval=$enable_optimise;
4576 if test "$enableval" = yes; then
4577 ac_cv_use_optimise='wxUSE_OPTIMISE=yes'
4579 ac_cv_use_optimise='wxUSE_OPTIMISE=no'
4584 LINE=`grep "^wxUSE_OPTIMISE=" ${wx_arg_cache_file}`
4585 if test "x$LINE" != x ; then
4586 eval "DEFAULT_$LINE"
4591 ac_cv_use_optimise='wxUSE_OPTIMISE='$DEFAULT_wxUSE_OPTIMISE
4596 eval "$ac_cv_use_optimise"
4597 if test "$no_cache" != 1; then
4598 echo $ac_cv_use_optimise >> ${wx_arg_cache_file}.tmp
4601 if test "$wxUSE_OPTIMISE" = yes; then
4602 { echo "$as_me:$LINENO: result: yes" >&5
4603 echo "${ECHO_T}yes" >&6; }
4605 { echo "$as_me:$LINENO: result: no" >&5
4606 echo "${ECHO_T}no" >&6; }
4611 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug" >&5
4612 echo $ECHO_N "checking for --${enablestring:-enable}-debug... $ECHO_C" >&6; }
4614 # Check whether --enable-debug was given.
4615 if test "${enable_debug+set}" = set; then
4616 enableval=$enable_debug;
4617 if test "$enableval" = yes; then
4618 ac_cv_use_debug='wxUSE_DEBUG=yes'
4620 ac_cv_use_debug='wxUSE_DEBUG=no'
4625 LINE=`grep "^wxUSE_DEBUG=" ${wx_arg_cache_file}`
4626 if test "x$LINE" != x ; then
4627 eval "DEFAULT_$LINE"
4632 ac_cv_use_debug='wxUSE_DEBUG='$DEFAULT_wxUSE_DEBUG
4637 eval "$ac_cv_use_debug"
4638 if test "$no_cache" != 1; then
4639 echo $ac_cv_use_debug >> ${wx_arg_cache_file}.tmp
4642 if test "$wxUSE_DEBUG" = yes; then
4643 { echo "$as_me:$LINENO: result: yes" >&5
4644 echo "${ECHO_T}yes" >&6; }
4646 { echo "$as_me:$LINENO: result: no" >&5
4647 echo "${ECHO_T}no" >&6; }
4652 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stl" >&5
4653 echo $ECHO_N "checking for --${enablestring:-enable}-stl... $ECHO_C" >&6; }
4655 # Check whether --enable-stl was given.
4656 if test "${enable_stl+set}" = set; then
4657 enableval=$enable_stl;
4658 if test "$enableval" = yes; then
4659 ac_cv_use_stl='wxUSE_STL=yes'
4661 ac_cv_use_stl='wxUSE_STL=no'
4666 LINE=`grep "^wxUSE_STL=" ${wx_arg_cache_file}`
4667 if test "x$LINE" != x ; then
4668 eval "DEFAULT_$LINE"
4673 ac_cv_use_stl='wxUSE_STL='$DEFAULT_wxUSE_STL
4678 eval "$ac_cv_use_stl"
4679 if test "$no_cache" != 1; then
4680 echo $ac_cv_use_stl >> ${wx_arg_cache_file}.tmp
4683 if test "$wxUSE_STL" = yes; then
4684 { echo "$as_me:$LINENO: result: yes" >&5
4685 echo "${ECHO_T}yes" >&6; }
4687 { echo "$as_me:$LINENO: result: no" >&5
4688 echo "${ECHO_T}no" >&6; }
4693 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-extended_rtti" >&5
4694 echo $ECHO_N "checking for --${enablestring:-enable}-extended_rtti... $ECHO_C" >&6; }
4696 # Check whether --enable-extended_rtti was given.
4697 if test "${enable_extended_rtti+set}" = set; then
4698 enableval=$enable_extended_rtti;
4699 if test "$enableval" = yes; then
4700 ac_cv_use_extended_rtti='wxUSE_EXTENDED_RTTI=yes'
4702 ac_cv_use_extended_rtti='wxUSE_EXTENDED_RTTI=no'
4707 LINE=`grep "^wxUSE_EXTENDED_RTTI=" ${wx_arg_cache_file}`
4708 if test "x$LINE" != x ; then
4709 eval "DEFAULT_$LINE"
4714 ac_cv_use_extended_rtti='wxUSE_EXTENDED_RTTI='$DEFAULT_wxUSE_EXTENDED_RTTI
4719 eval "$ac_cv_use_extended_rtti"
4720 if test "$no_cache" != 1; then
4721 echo $ac_cv_use_extended_rtti >> ${wx_arg_cache_file}.tmp
4724 if test "$wxUSE_EXTENDED_RTTI" = yes; then
4725 { echo "$as_me:$LINENO: result: yes" >&5
4726 echo "${ECHO_T}yes" >&6; }
4728 { echo "$as_me:$LINENO: result: no" >&5
4729 echo "${ECHO_T}no" >&6; }
4732 if test "$USE_OS2" = "1"; then
4733 DEFAULT_wxUSE_OMF=no
4736 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-omf" >&5
4737 echo $ECHO_N "checking for --${enablestring:-enable}-omf... $ECHO_C" >&6; }
4739 # Check whether --enable-omf was given.
4740 if test "${enable_omf+set}" = set; then
4741 enableval=$enable_omf;
4742 if test "$enableval" = yes; then
4743 ac_cv_use_omf='wxUSE_OMF=yes'
4745 ac_cv_use_omf='wxUSE_OMF=no'
4750 LINE=`grep "^wxUSE_OMF=" ${wx_arg_cache_file}`
4751 if test "x$LINE" != x ; then
4752 eval "DEFAULT_$LINE"
4757 ac_cv_use_omf='wxUSE_OMF='$DEFAULT_wxUSE_OMF
4762 eval "$ac_cv_use_omf"
4763 if test "$no_cache" != 1; then
4764 echo $ac_cv_use_omf >> ${wx_arg_cache_file}.tmp
4767 if test "$wxUSE_OMF" = yes; then
4768 { echo "$as_me:$LINENO: result: yes" >&5
4769 echo "${ECHO_T}yes" >&6; }
4771 { echo "$as_me:$LINENO: result: no" >&5
4772 echo "${ECHO_T}no" >&6; }
4777 if test "$wxUSE_DEBUG" = "yes"; then
4778 DEFAULT_wxUSE_DEBUG_FLAG=yes
4779 DEFAULT_wxUSE_DEBUG_INFO=yes
4781 elif test "$wxUSE_DEBUG" = "no"; then
4782 DEFAULT_wxUSE_DEBUG_FLAG=no
4783 DEFAULT_wxUSE_DEBUG_INFO=no
4789 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_flag" >&5
4790 echo $ECHO_N "checking for --${enablestring:-enable}-debug_flag... $ECHO_C" >&6; }
4792 # Check whether --enable-debug_flag was given.
4793 if test "${enable_debug_flag+set}" = set; then
4794 enableval=$enable_debug_flag;
4795 if test "$enableval" = yes; then
4796 ac_cv_use_debug_flag='wxUSE_DEBUG_FLAG=yes'
4798 ac_cv_use_debug_flag='wxUSE_DEBUG_FLAG=no'
4803 LINE=`grep "^wxUSE_DEBUG_FLAG=" ${wx_arg_cache_file}`
4804 if test "x$LINE" != x ; then
4805 eval "DEFAULT_$LINE"
4810 ac_cv_use_debug_flag='wxUSE_DEBUG_FLAG='$DEFAULT_wxUSE_DEBUG_FLAG
4815 eval "$ac_cv_use_debug_flag"
4816 if test "$no_cache" != 1; then
4817 echo $ac_cv_use_debug_flag >> ${wx_arg_cache_file}.tmp
4820 if test "$wxUSE_DEBUG_FLAG" = yes; then
4821 { echo "$as_me:$LINENO: result: yes" >&5
4822 echo "${ECHO_T}yes" >&6; }
4824 { echo "$as_me:$LINENO: result: no" >&5
4825 echo "${ECHO_T}no" >&6; }
4830 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_info" >&5
4831 echo $ECHO_N "checking for --${enablestring:-enable}-debug_info... $ECHO_C" >&6; }
4833 # Check whether --enable-debug_info was given.
4834 if test "${enable_debug_info+set}" = set; then
4835 enableval=$enable_debug_info;
4836 if test "$enableval" = yes; then
4837 ac_cv_use_debug_info='wxUSE_DEBUG_INFO=yes'
4839 ac_cv_use_debug_info='wxUSE_DEBUG_INFO=no'
4844 LINE=`grep "^wxUSE_DEBUG_INFO=" ${wx_arg_cache_file}`
4845 if test "x$LINE" != x ; then
4846 eval "DEFAULT_$LINE"
4851 ac_cv_use_debug_info='wxUSE_DEBUG_INFO='$DEFAULT_wxUSE_DEBUG_INFO
4856 eval "$ac_cv_use_debug_info"
4857 if test "$no_cache" != 1; then
4858 echo $ac_cv_use_debug_info >> ${wx_arg_cache_file}.tmp
4861 if test "$wxUSE_DEBUG_INFO" = yes; then
4862 { echo "$as_me:$LINENO: result: yes" >&5
4863 echo "${ECHO_T}yes" >&6; }
4865 { echo "$as_me:$LINENO: result: no" >&5
4866 echo "${ECHO_T}no" >&6; }
4871 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_gdb" >&5
4872 echo $ECHO_N "checking for --${enablestring:-enable}-debug_gdb... $ECHO_C" >&6; }
4874 # Check whether --enable-debug_gdb was given.
4875 if test "${enable_debug_gdb+set}" = set; then
4876 enableval=$enable_debug_gdb;
4877 if test "$enableval" = yes; then
4878 ac_cv_use_debug_gdb='wxUSE_DEBUG_GDB=yes'
4880 ac_cv_use_debug_gdb='wxUSE_DEBUG_GDB=no'
4885 LINE=`grep "^wxUSE_DEBUG_GDB=" ${wx_arg_cache_file}`
4886 if test "x$LINE" != x ; then
4887 eval "DEFAULT_$LINE"
4892 ac_cv_use_debug_gdb='wxUSE_DEBUG_GDB='$DEFAULT_wxUSE_DEBUG_GDB
4897 eval "$ac_cv_use_debug_gdb"
4898 if test "$no_cache" != 1; then
4899 echo $ac_cv_use_debug_gdb >> ${wx_arg_cache_file}.tmp
4902 if test "$wxUSE_DEBUG_GDB" = yes; then
4903 { echo "$as_me:$LINENO: result: yes" >&5
4904 echo "${ECHO_T}yes" >&6; }
4906 { echo "$as_me:$LINENO: result: no" >&5
4907 echo "${ECHO_T}no" >&6; }
4912 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_cntxt" >&5
4913 echo $ECHO_N "checking for --${enablestring:-enable}-debug_cntxt... $ECHO_C" >&6; }
4915 # Check whether --enable-debug_cntxt was given.
4916 if test "${enable_debug_cntxt+set}" = set; then
4917 enableval=$enable_debug_cntxt;
4918 if test "$enableval" = yes; then
4919 ac_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=yes'
4921 ac_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=no'
4926 LINE=`grep "^wxUSE_DEBUG_CONTEXT=" ${wx_arg_cache_file}`
4927 if test "x$LINE" != x ; then
4928 eval "DEFAULT_$LINE"
4933 ac_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT='$DEFAULT_wxUSE_DEBUG_CONTEXT
4938 eval "$ac_cv_use_debug_cntxt"
4939 if test "$no_cache" != 1; then
4940 echo $ac_cv_use_debug_cntxt >> ${wx_arg_cache_file}.tmp
4943 if test "$wxUSE_DEBUG_CONTEXT" = yes; then
4944 { echo "$as_me:$LINENO: result: yes" >&5
4945 echo "${ECHO_T}yes" >&6; }
4947 { echo "$as_me:$LINENO: result: no" >&5
4948 echo "${ECHO_T}no" >&6; }
4953 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mem_tracing" >&5
4954 echo $ECHO_N "checking for --${enablestring:-enable}-mem_tracing... $ECHO_C" >&6; }
4956 # Check whether --enable-mem_tracing was given.
4957 if test "${enable_mem_tracing+set}" = set; then
4958 enableval=$enable_mem_tracing;
4959 if test "$enableval" = yes; then
4960 ac_cv_use_mem_tracing='wxUSE_MEM_TRACING=yes'
4962 ac_cv_use_mem_tracing='wxUSE_MEM_TRACING=no'
4967 LINE=`grep "^wxUSE_MEM_TRACING=" ${wx_arg_cache_file}`
4968 if test "x$LINE" != x ; then
4969 eval "DEFAULT_$LINE"
4974 ac_cv_use_mem_tracing='wxUSE_MEM_TRACING='$DEFAULT_wxUSE_MEM_TRACING
4979 eval "$ac_cv_use_mem_tracing"
4980 if test "$no_cache" != 1; then
4981 echo $ac_cv_use_mem_tracing >> ${wx_arg_cache_file}.tmp
4984 if test "$wxUSE_MEM_TRACING" = yes; then
4985 { echo "$as_me:$LINENO: result: yes" >&5
4986 echo "${ECHO_T}yes" >&6; }
4988 { echo "$as_me:$LINENO: result: no" >&5
4989 echo "${ECHO_T}no" >&6; }
4994 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-profile" >&5
4995 echo $ECHO_N "checking for --${enablestring:-enable}-profile... $ECHO_C" >&6; }
4997 # Check whether --enable-profile was given.
4998 if test "${enable_profile+set}" = set; then
4999 enableval=$enable_profile;
5000 if test "$enableval" = yes; then
5001 ac_cv_use_profile='wxUSE_PROFILE=yes'
5003 ac_cv_use_profile='wxUSE_PROFILE=no'
5008 LINE=`grep "^wxUSE_PROFILE=" ${wx_arg_cache_file}`
5009 if test "x$LINE" != x ; then
5010 eval "DEFAULT_$LINE"
5015 ac_cv_use_profile='wxUSE_PROFILE='$DEFAULT_wxUSE_PROFILE
5020 eval "$ac_cv_use_profile"
5021 if test "$no_cache" != 1; then
5022 echo $ac_cv_use_profile >> ${wx_arg_cache_file}.tmp
5025 if test "$wxUSE_PROFILE" = yes; then
5026 { echo "$as_me:$LINENO: result: yes" >&5
5027 echo "${ECHO_T}yes" >&6; }
5029 { echo "$as_me:$LINENO: result: no" >&5
5030 echo "${ECHO_T}no" >&6; }
5035 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_rtti" >&5
5036 echo $ECHO_N "checking for --${enablestring:-enable}-no_rtti... $ECHO_C" >&6; }
5038 # Check whether --enable-no_rtti was given.
5039 if test "${enable_no_rtti+set}" = set; then
5040 enableval=$enable_no_rtti;
5041 if test "$enableval" = yes; then
5042 ac_cv_use_no_rtti='wxUSE_NO_RTTI=yes'
5044 ac_cv_use_no_rtti='wxUSE_NO_RTTI=no'
5049 LINE=`grep "^wxUSE_NO_RTTI=" ${wx_arg_cache_file}`
5050 if test "x$LINE" != x ; then
5051 eval "DEFAULT_$LINE"
5056 ac_cv_use_no_rtti='wxUSE_NO_RTTI='$DEFAULT_wxUSE_NO_RTTI
5061 eval "$ac_cv_use_no_rtti"
5062 if test "$no_cache" != 1; then
5063 echo $ac_cv_use_no_rtti >> ${wx_arg_cache_file}.tmp
5066 if test "$wxUSE_NO_RTTI" = yes; then
5067 { echo "$as_me:$LINENO: result: yes" >&5
5068 echo "${ECHO_T}yes" >&6; }
5070 { echo "$as_me:$LINENO: result: no" >&5
5071 echo "${ECHO_T}no" >&6; }
5076 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_exceptions" >&5
5077 echo $ECHO_N "checking for --${enablestring:-enable}-no_exceptions... $ECHO_C" >&6; }
5079 # Check whether --enable-no_exceptions was given.
5080 if test "${enable_no_exceptions+set}" = set; then
5081 enableval=$enable_no_exceptions;
5082 if test "$enableval" = yes; then
5083 ac_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=yes'
5085 ac_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=no'
5090 LINE=`grep "^wxUSE_NO_EXCEPTIONS=" ${wx_arg_cache_file}`
5091 if test "x$LINE" != x ; then
5092 eval "DEFAULT_$LINE"
5097 ac_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS='$DEFAULT_wxUSE_NO_EXCEPTIONS
5102 eval "$ac_cv_use_no_exceptions"
5103 if test "$no_cache" != 1; then
5104 echo $ac_cv_use_no_exceptions >> ${wx_arg_cache_file}.tmp
5107 if test "$wxUSE_NO_EXCEPTIONS" = yes; then
5108 { echo "$as_me:$LINENO: result: yes" >&5
5109 echo "${ECHO_T}yes" >&6; }
5111 { echo "$as_me:$LINENO: result: no" >&5
5112 echo "${ECHO_T}no" >&6; }
5117 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-permissive" >&5
5118 echo $ECHO_N "checking for --${enablestring:-enable}-permissive... $ECHO_C" >&6; }
5120 # Check whether --enable-permissive was given.
5121 if test "${enable_permissive+set}" = set; then
5122 enableval=$enable_permissive;
5123 if test "$enableval" = yes; then
5124 ac_cv_use_permissive='wxUSE_PERMISSIVE=yes'
5126 ac_cv_use_permissive='wxUSE_PERMISSIVE=no'
5131 LINE=`grep "^wxUSE_PERMISSIVE=" ${wx_arg_cache_file}`
5132 if test "x$LINE" != x ; then
5133 eval "DEFAULT_$LINE"
5138 ac_cv_use_permissive='wxUSE_PERMISSIVE='$DEFAULT_wxUSE_PERMISSIVE
5143 eval "$ac_cv_use_permissive"
5144 if test "$no_cache" != 1; then
5145 echo $ac_cv_use_permissive >> ${wx_arg_cache_file}.tmp
5148 if test "$wxUSE_PERMISSIVE" = yes; then
5149 { echo "$as_me:$LINENO: result: yes" >&5
5150 echo "${ECHO_T}yes" >&6; }
5152 { echo "$as_me:$LINENO: result: no" >&5
5153 echo "${ECHO_T}no" >&6; }
5158 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_deps" >&5
5159 echo $ECHO_N "checking for --${enablestring:-enable}-no_deps... $ECHO_C" >&6; }
5161 # Check whether --enable-no_deps was given.
5162 if test "${enable_no_deps+set}" = set; then
5163 enableval=$enable_no_deps;
5164 if test "$enableval" = yes; then
5165 ac_cv_use_no_deps='wxUSE_NO_DEPS=yes'
5167 ac_cv_use_no_deps='wxUSE_NO_DEPS=no'
5172 LINE=`grep "^wxUSE_NO_DEPS=" ${wx_arg_cache_file}`
5173 if test "x$LINE" != x ; then
5174 eval "DEFAULT_$LINE"
5179 ac_cv_use_no_deps='wxUSE_NO_DEPS='$DEFAULT_wxUSE_NO_DEPS
5184 eval "$ac_cv_use_no_deps"
5185 if test "$no_cache" != 1; then
5186 echo $ac_cv_use_no_deps >> ${wx_arg_cache_file}.tmp
5189 if test "$wxUSE_NO_DEPS" = yes; then
5190 { echo "$as_me:$LINENO: result: yes" >&5
5191 echo "${ECHO_T}yes" >&6; }
5193 { echo "$as_me:$LINENO: result: no" >&5
5194 echo "${ECHO_T}no" >&6; }
5199 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-vararg_macros" >&5
5200 echo $ECHO_N "checking for --${enablestring:-enable}-vararg_macros... $ECHO_C" >&6; }
5202 # Check whether --enable-vararg_macros was given.
5203 if test "${enable_vararg_macros+set}" = set; then
5204 enableval=$enable_vararg_macros;
5205 if test "$enableval" = yes; then
5206 ac_cv_use_vararg_macros='wxUSE_VARARG_MACROS=yes'
5208 ac_cv_use_vararg_macros='wxUSE_VARARG_MACROS=no'
5213 LINE=`grep "^wxUSE_VARARG_MACROS=" ${wx_arg_cache_file}`
5214 if test "x$LINE" != x ; then
5215 eval "DEFAULT_$LINE"
5220 ac_cv_use_vararg_macros='wxUSE_VARARG_MACROS='$DEFAULT_wxUSE_VARARG_MACROS
5225 eval "$ac_cv_use_vararg_macros"
5226 if test "$no_cache" != 1; then
5227 echo $ac_cv_use_vararg_macros >> ${wx_arg_cache_file}.tmp
5230 if test "$wxUSE_VARARG_MACROS" = yes; then
5231 { echo "$as_me:$LINENO: result: yes" >&5
5232 echo "${ECHO_T}yes" >&6; }
5234 { echo "$as_me:$LINENO: result: no" >&5
5235 echo "${ECHO_T}no" >&6; }
5240 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-universal_binary" >&5
5241 echo $ECHO_N "checking for --${enablestring:-enable}-universal_binary... $ECHO_C" >&6; }
5243 # Check whether --enable-universal_binary was given.
5244 if test "${enable_universal_binary+set}" = set; then
5245 enableval=$enable_universal_binary;
5246 wx_cv_use_universal_binary="wxUSE_UNIVERSAL_BINARY='$enableval'"
5250 LINE=`grep "^wxUSE_UNIVERSAL_BINARY=" ${wx_arg_cache_file}`
5251 if test "x$LINE" != x ; then
5252 eval "DEFAULT_$LINE"
5257 wx_cv_use_universal_binary='wxUSE_UNIVERSAL_BINARY='$DEFAULT_wxUSE_UNIVERSAL_BINARY
5262 eval "$wx_cv_use_universal_binary"
5263 if test "$no_cache" != 1; then
5264 echo $wx_cv_use_universal_binary >> ${wx_arg_cache_file}.tmp
5267 { echo "$as_me:$LINENO: result: $wxUSE_UNIVERSAL_BINARY" >&5
5268 echo "${ECHO_T}$wxUSE_UNIVERSAL_BINARY" >&6; }
5273 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat26" >&5
5274 echo $ECHO_N "checking for --${enablestring:-enable}-compat26... $ECHO_C" >&6; }
5276 # Check whether --enable-compat26 was given.
5277 if test "${enable_compat26+set}" = set; then
5278 enableval=$enable_compat26;
5279 if test "$enableval" = yes; then
5280 ac_cv_use_compat26='WXWIN_COMPATIBILITY_2_6=yes'
5282 ac_cv_use_compat26='WXWIN_COMPATIBILITY_2_6=no'
5287 LINE=`grep "^WXWIN_COMPATIBILITY_2_6=" ${wx_arg_cache_file}`
5288 if test "x$LINE" != x ; then
5289 eval "DEFAULT_$LINE"
5294 ac_cv_use_compat26='WXWIN_COMPATIBILITY_2_6='$DEFAULT_WXWIN_COMPATIBILITY_2_6
5299 eval "$ac_cv_use_compat26"
5300 if test "$no_cache" != 1; then
5301 echo $ac_cv_use_compat26 >> ${wx_arg_cache_file}.tmp
5304 if test "$WXWIN_COMPATIBILITY_2_6" = yes; then
5305 { echo "$as_me:$LINENO: result: yes" >&5
5306 echo "${ECHO_T}yes" >&6; }
5308 { echo "$as_me:$LINENO: result: no" >&5
5309 echo "${ECHO_T}no" >&6; }
5313 enablestring=disable
5314 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat28" >&5
5315 echo $ECHO_N "checking for --${enablestring:-enable}-compat28... $ECHO_C" >&6; }
5317 # Check whether --enable-compat28 was given.
5318 if test "${enable_compat28+set}" = set; then
5319 enableval=$enable_compat28;
5320 if test "$enableval" = yes; then
5321 ac_cv_use_compat28='WXWIN_COMPATIBILITY_2_8=yes'
5323 ac_cv_use_compat28='WXWIN_COMPATIBILITY_2_8=no'
5328 LINE=`grep "^WXWIN_COMPATIBILITY_2_8=" ${wx_arg_cache_file}`
5329 if test "x$LINE" != x ; then
5330 eval "DEFAULT_$LINE"
5335 ac_cv_use_compat28='WXWIN_COMPATIBILITY_2_8='$DEFAULT_WXWIN_COMPATIBILITY_2_8
5340 eval "$ac_cv_use_compat28"
5341 if test "$no_cache" != 1; then
5342 echo $ac_cv_use_compat28 >> ${wx_arg_cache_file}.tmp
5345 if test "$WXWIN_COMPATIBILITY_2_8" = yes; then
5346 { echo "$as_me:$LINENO: result: yes" >&5
5347 echo "${ECHO_T}yes" >&6; }
5349 { echo "$as_me:$LINENO: result: no" >&5
5350 echo "${ECHO_T}no" >&6; }
5356 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-rpath" >&5
5357 echo $ECHO_N "checking for --${enablestring:-enable}-rpath... $ECHO_C" >&6; }
5359 # Check whether --enable-rpath was given.
5360 if test "${enable_rpath+set}" = set; then
5361 enableval=$enable_rpath;
5362 if test "$enableval" = yes; then
5363 ac_cv_use_rpath='wxUSE_RPATH=yes'
5365 ac_cv_use_rpath='wxUSE_RPATH=no'
5370 LINE=`grep "^wxUSE_RPATH=" ${wx_arg_cache_file}`
5371 if test "x$LINE" != x ; then
5372 eval "DEFAULT_$LINE"
5377 ac_cv_use_rpath='wxUSE_RPATH='$DEFAULT_wxUSE_RPATH
5382 eval "$ac_cv_use_rpath"
5383 if test "$no_cache" != 1; then
5384 echo $ac_cv_use_rpath >> ${wx_arg_cache_file}.tmp
5387 if test "$wxUSE_RPATH" = yes; then
5388 { echo "$as_me:$LINENO: result: yes" >&5
5389 echo "${ECHO_T}yes" >&6; }
5391 { echo "$as_me:$LINENO: result: no" >&5
5392 echo "${ECHO_T}no" >&6; }
5400 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-intl" >&5
5401 echo $ECHO_N "checking for --${enablestring:-enable}-intl... $ECHO_C" >&6; }
5403 # Check whether --enable-intl was given.
5404 if test "${enable_intl+set}" = set; then
5405 enableval=$enable_intl;
5406 if test "$enableval" = yes; then
5407 ac_cv_use_intl='wxUSE_INTL=yes'
5409 ac_cv_use_intl='wxUSE_INTL=no'
5414 LINE=`grep "^wxUSE_INTL=" ${wx_arg_cache_file}`
5415 if test "x$LINE" != x ; then
5416 eval "DEFAULT_$LINE"
5421 ac_cv_use_intl='wxUSE_INTL='$DEFAULT_wxUSE_INTL
5426 eval "$ac_cv_use_intl"
5427 if test "$no_cache" != 1; then
5428 echo $ac_cv_use_intl >> ${wx_arg_cache_file}.tmp
5431 if test "$wxUSE_INTL" = yes; then
5432 { echo "$as_me:$LINENO: result: yes" >&5
5433 echo "${ECHO_T}yes" >&6; }
5435 { echo "$as_me:$LINENO: result: no" >&5
5436 echo "${ECHO_T}no" >&6; }
5441 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-config" >&5
5442 echo $ECHO_N "checking for --${enablestring:-enable}-config... $ECHO_C" >&6; }
5444 # Check whether --enable-config was given.
5445 if test "${enable_config+set}" = set; then
5446 enableval=$enable_config;
5447 if test "$enableval" = yes; then
5448 ac_cv_use_config='wxUSE_CONFIG=yes'
5450 ac_cv_use_config='wxUSE_CONFIG=no'
5455 LINE=`grep "^wxUSE_CONFIG=" ${wx_arg_cache_file}`
5456 if test "x$LINE" != x ; then
5457 eval "DEFAULT_$LINE"
5462 ac_cv_use_config='wxUSE_CONFIG='$DEFAULT_wxUSE_CONFIG
5467 eval "$ac_cv_use_config"
5468 if test "$no_cache" != 1; then
5469 echo $ac_cv_use_config >> ${wx_arg_cache_file}.tmp
5472 if test "$wxUSE_CONFIG" = yes; then
5473 { echo "$as_me:$LINENO: result: yes" >&5
5474 echo "${ECHO_T}yes" >&6; }
5476 { echo "$as_me:$LINENO: result: no" >&5
5477 echo "${ECHO_T}no" >&6; }
5483 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocols" >&5
5484 echo $ECHO_N "checking for --${enablestring:-enable}-protocols... $ECHO_C" >&6; }
5486 # Check whether --enable-protocols was given.
5487 if test "${enable_protocols+set}" = set; then
5488 enableval=$enable_protocols;
5489 if test "$enableval" = yes; then
5490 ac_cv_use_protocols='wxUSE_PROTOCOL=yes'
5492 ac_cv_use_protocols='wxUSE_PROTOCOL=no'
5497 LINE=`grep "^wxUSE_PROTOCOL=" ${wx_arg_cache_file}`
5498 if test "x$LINE" != x ; then
5499 eval "DEFAULT_$LINE"
5504 ac_cv_use_protocols='wxUSE_PROTOCOL='$DEFAULT_wxUSE_PROTOCOL
5509 eval "$ac_cv_use_protocols"
5510 if test "$no_cache" != 1; then
5511 echo $ac_cv_use_protocols >> ${wx_arg_cache_file}.tmp
5514 if test "$wxUSE_PROTOCOL" = yes; then
5515 { echo "$as_me:$LINENO: result: yes" >&5
5516 echo "${ECHO_T}yes" >&6; }
5518 { echo "$as_me:$LINENO: result: no" >&5
5519 echo "${ECHO_T}no" >&6; }
5524 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ftp" >&5
5525 echo $ECHO_N "checking for --${enablestring:-enable}-ftp... $ECHO_C" >&6; }
5527 # Check whether --enable-ftp was given.
5528 if test "${enable_ftp+set}" = set; then
5529 enableval=$enable_ftp;
5530 if test "$enableval" = yes; then
5531 ac_cv_use_ftp='wxUSE_PROTOCOL_FTP=yes'
5533 ac_cv_use_ftp='wxUSE_PROTOCOL_FTP=no'
5538 LINE=`grep "^wxUSE_PROTOCOL_FTP=" ${wx_arg_cache_file}`
5539 if test "x$LINE" != x ; then
5540 eval "DEFAULT_$LINE"
5545 ac_cv_use_ftp='wxUSE_PROTOCOL_FTP='$DEFAULT_wxUSE_PROTOCOL_FTP
5550 eval "$ac_cv_use_ftp"
5551 if test "$no_cache" != 1; then
5552 echo $ac_cv_use_ftp >> ${wx_arg_cache_file}.tmp
5555 if test "$wxUSE_PROTOCOL_FTP" = yes; then
5556 { echo "$as_me:$LINENO: result: yes" >&5
5557 echo "${ECHO_T}yes" >&6; }
5559 { echo "$as_me:$LINENO: result: no" >&5
5560 echo "${ECHO_T}no" >&6; }
5565 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-http" >&5
5566 echo $ECHO_N "checking for --${enablestring:-enable}-http... $ECHO_C" >&6; }
5568 # Check whether --enable-http was given.
5569 if test "${enable_http+set}" = set; then
5570 enableval=$enable_http;
5571 if test "$enableval" = yes; then
5572 ac_cv_use_http='wxUSE_PROTOCOL_HTTP=yes'
5574 ac_cv_use_http='wxUSE_PROTOCOL_HTTP=no'
5579 LINE=`grep "^wxUSE_PROTOCOL_HTTP=" ${wx_arg_cache_file}`
5580 if test "x$LINE" != x ; then
5581 eval "DEFAULT_$LINE"
5586 ac_cv_use_http='wxUSE_PROTOCOL_HTTP='$DEFAULT_wxUSE_PROTOCOL_HTTP
5591 eval "$ac_cv_use_http"
5592 if test "$no_cache" != 1; then
5593 echo $ac_cv_use_http >> ${wx_arg_cache_file}.tmp
5596 if test "$wxUSE_PROTOCOL_HTTP" = yes; then
5597 { echo "$as_me:$LINENO: result: yes" >&5
5598 echo "${ECHO_T}yes" >&6; }
5600 { echo "$as_me:$LINENO: result: no" >&5
5601 echo "${ECHO_T}no" >&6; }
5606 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fileproto" >&5
5607 echo $ECHO_N "checking for --${enablestring:-enable}-fileproto... $ECHO_C" >&6; }
5609 # Check whether --enable-fileproto was given.
5610 if test "${enable_fileproto+set}" = set; then
5611 enableval=$enable_fileproto;
5612 if test "$enableval" = yes; then
5613 ac_cv_use_fileproto='wxUSE_PROTOCOL_FILE=yes'
5615 ac_cv_use_fileproto='wxUSE_PROTOCOL_FILE=no'
5620 LINE=`grep "^wxUSE_PROTOCOL_FILE=" ${wx_arg_cache_file}`
5621 if test "x$LINE" != x ; then
5622 eval "DEFAULT_$LINE"
5627 ac_cv_use_fileproto='wxUSE_PROTOCOL_FILE='$DEFAULT_wxUSE_PROTOCOL_FILE
5632 eval "$ac_cv_use_fileproto"
5633 if test "$no_cache" != 1; then
5634 echo $ac_cv_use_fileproto >> ${wx_arg_cache_file}.tmp
5637 if test "$wxUSE_PROTOCOL_FILE" = yes; then
5638 { echo "$as_me:$LINENO: result: yes" >&5
5639 echo "${ECHO_T}yes" >&6; }
5641 { echo "$as_me:$LINENO: result: no" >&5
5642 echo "${ECHO_T}no" >&6; }
5647 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sockets" >&5
5648 echo $ECHO_N "checking for --${enablestring:-enable}-sockets... $ECHO_C" >&6; }
5650 # Check whether --enable-sockets was given.
5651 if test "${enable_sockets+set}" = set; then
5652 enableval=$enable_sockets;
5653 if test "$enableval" = yes; then
5654 ac_cv_use_sockets='wxUSE_SOCKETS=yes'
5656 ac_cv_use_sockets='wxUSE_SOCKETS=no'
5661 LINE=`grep "^wxUSE_SOCKETS=" ${wx_arg_cache_file}`
5662 if test "x$LINE" != x ; then
5663 eval "DEFAULT_$LINE"
5668 ac_cv_use_sockets='wxUSE_SOCKETS='$DEFAULT_wxUSE_SOCKETS
5673 eval "$ac_cv_use_sockets"
5674 if test "$no_cache" != 1; then
5675 echo $ac_cv_use_sockets >> ${wx_arg_cache_file}.tmp
5678 if test "$wxUSE_SOCKETS" = yes; then
5679 { echo "$as_me:$LINENO: result: yes" >&5
5680 echo "${ECHO_T}yes" >&6; }
5682 { echo "$as_me:$LINENO: result: no" >&5
5683 echo "${ECHO_T}no" >&6; }
5688 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ole" >&5
5689 echo $ECHO_N "checking for --${enablestring:-enable}-ole... $ECHO_C" >&6; }
5691 # Check whether --enable-ole was given.
5692 if test "${enable_ole+set}" = set; then
5693 enableval=$enable_ole;
5694 if test "$enableval" = yes; then
5695 ac_cv_use_ole='wxUSE_OLE=yes'
5697 ac_cv_use_ole='wxUSE_OLE=no'
5702 LINE=`grep "^wxUSE_OLE=" ${wx_arg_cache_file}`
5703 if test "x$LINE" != x ; then
5704 eval "DEFAULT_$LINE"
5709 ac_cv_use_ole='wxUSE_OLE='$DEFAULT_wxUSE_OLE
5714 eval "$ac_cv_use_ole"
5715 if test "$no_cache" != 1; then
5716 echo $ac_cv_use_ole >> ${wx_arg_cache_file}.tmp
5719 if test "$wxUSE_OLE" = yes; then
5720 { echo "$as_me:$LINENO: result: yes" >&5
5721 echo "${ECHO_T}yes" >&6; }
5723 { echo "$as_me:$LINENO: result: no" >&5
5724 echo "${ECHO_T}no" >&6; }
5729 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dataobj" >&5
5730 echo $ECHO_N "checking for --${enablestring:-enable}-dataobj... $ECHO_C" >&6; }
5732 # Check whether --enable-dataobj was given.
5733 if test "${enable_dataobj+set}" = set; then
5734 enableval=$enable_dataobj;
5735 if test "$enableval" = yes; then
5736 ac_cv_use_dataobj='wxUSE_DATAOBJ=yes'
5738 ac_cv_use_dataobj='wxUSE_DATAOBJ=no'
5743 LINE=`grep "^wxUSE_DATAOBJ=" ${wx_arg_cache_file}`
5744 if test "x$LINE" != x ; then
5745 eval "DEFAULT_$LINE"
5750 ac_cv_use_dataobj='wxUSE_DATAOBJ='$DEFAULT_wxUSE_DATAOBJ
5755 eval "$ac_cv_use_dataobj"
5756 if test "$no_cache" != 1; then
5757 echo $ac_cv_use_dataobj >> ${wx_arg_cache_file}.tmp
5760 if test "$wxUSE_DATAOBJ" = yes; then
5761 { echo "$as_me:$LINENO: result: yes" >&5
5762 echo "${ECHO_T}yes" >&6; }
5764 { echo "$as_me:$LINENO: result: no" >&5
5765 echo "${ECHO_T}no" >&6; }
5771 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ipc" >&5
5772 echo $ECHO_N "checking for --${enablestring:-enable}-ipc... $ECHO_C" >&6; }
5774 # Check whether --enable-ipc was given.
5775 if test "${enable_ipc+set}" = set; then
5776 enableval=$enable_ipc;
5777 if test "$enableval" = yes; then
5778 ac_cv_use_ipc='wxUSE_IPC=yes'
5780 ac_cv_use_ipc='wxUSE_IPC=no'
5785 LINE=`grep "^wxUSE_IPC=" ${wx_arg_cache_file}`
5786 if test "x$LINE" != x ; then
5787 eval "DEFAULT_$LINE"
5792 ac_cv_use_ipc='wxUSE_IPC='$DEFAULT_wxUSE_IPC
5797 eval "$ac_cv_use_ipc"
5798 if test "$no_cache" != 1; then
5799 echo $ac_cv_use_ipc >> ${wx_arg_cache_file}.tmp
5802 if test "$wxUSE_IPC" = yes; then
5803 { echo "$as_me:$LINENO: result: yes" >&5
5804 echo "${ECHO_T}yes" >&6; }
5806 { echo "$as_me:$LINENO: result: no" >&5
5807 echo "${ECHO_T}no" >&6; }
5813 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-apple_ieee" >&5
5814 echo $ECHO_N "checking for --${enablestring:-enable}-apple_ieee... $ECHO_C" >&6; }
5816 # Check whether --enable-apple_ieee was given.
5817 if test "${enable_apple_ieee+set}" = set; then
5818 enableval=$enable_apple_ieee;
5819 if test "$enableval" = yes; then
5820 ac_cv_use_apple_ieee='wxUSE_APPLE_IEEE=yes'
5822 ac_cv_use_apple_ieee='wxUSE_APPLE_IEEE=no'
5827 LINE=`grep "^wxUSE_APPLE_IEEE=" ${wx_arg_cache_file}`
5828 if test "x$LINE" != x ; then
5829 eval "DEFAULT_$LINE"
5834 ac_cv_use_apple_ieee='wxUSE_APPLE_IEEE='$DEFAULT_wxUSE_APPLE_IEEE
5839 eval "$ac_cv_use_apple_ieee"
5840 if test "$no_cache" != 1; then
5841 echo $ac_cv_use_apple_ieee >> ${wx_arg_cache_file}.tmp
5844 if test "$wxUSE_APPLE_IEEE" = yes; then
5845 { echo "$as_me:$LINENO: result: yes" >&5
5846 echo "${ECHO_T}yes" >&6; }
5848 { echo "$as_me:$LINENO: result: no" >&5
5849 echo "${ECHO_T}no" >&6; }
5854 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-arcstream" >&5
5855 echo $ECHO_N "checking for --${enablestring:-enable}-arcstream... $ECHO_C" >&6; }
5857 # Check whether --enable-arcstream was given.
5858 if test "${enable_arcstream+set}" = set; then
5859 enableval=$enable_arcstream;
5860 if test "$enableval" = yes; then
5861 ac_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS=yes'
5863 ac_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS=no'
5868 LINE=`grep "^wxUSE_ARCHIVE_STREAMS=" ${wx_arg_cache_file}`
5869 if test "x$LINE" != x ; then
5870 eval "DEFAULT_$LINE"
5875 ac_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS='$DEFAULT_wxUSE_ARCHIVE_STREAMS
5880 eval "$ac_cv_use_arcstream"
5881 if test "$no_cache" != 1; then
5882 echo $ac_cv_use_arcstream >> ${wx_arg_cache_file}.tmp
5885 if test "$wxUSE_ARCHIVE_STREAMS" = yes; then
5886 { echo "$as_me:$LINENO: result: yes" >&5
5887 echo "${ECHO_T}yes" >&6; }
5889 { echo "$as_me:$LINENO: result: no" >&5
5890 echo "${ECHO_T}no" >&6; }
5895 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-backtrace" >&5
5896 echo $ECHO_N "checking for --${enablestring:-enable}-backtrace... $ECHO_C" >&6; }
5898 # Check whether --enable-backtrace was given.
5899 if test "${enable_backtrace+set}" = set; then
5900 enableval=$enable_backtrace;
5901 if test "$enableval" = yes; then
5902 ac_cv_use_backtrace='wxUSE_STACKWALKER=yes'
5904 ac_cv_use_backtrace='wxUSE_STACKWALKER=no'
5909 LINE=`grep "^wxUSE_STACKWALKER=" ${wx_arg_cache_file}`
5910 if test "x$LINE" != x ; then
5911 eval "DEFAULT_$LINE"
5916 ac_cv_use_backtrace='wxUSE_STACKWALKER='$DEFAULT_wxUSE_STACKWALKER
5921 eval "$ac_cv_use_backtrace"
5922 if test "$no_cache" != 1; then
5923 echo $ac_cv_use_backtrace >> ${wx_arg_cache_file}.tmp
5926 if test "$wxUSE_STACKWALKER" = yes; then
5927 { echo "$as_me:$LINENO: result: yes" >&5
5928 echo "${ECHO_T}yes" >&6; }
5930 { echo "$as_me:$LINENO: result: no" >&5
5931 echo "${ECHO_T}no" >&6; }
5936 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-catch_segvs" >&5
5937 echo $ECHO_N "checking for --${enablestring:-enable}-catch_segvs... $ECHO_C" >&6; }
5939 # Check whether --enable-catch_segvs was given.
5940 if test "${enable_catch_segvs+set}" = set; then
5941 enableval=$enable_catch_segvs;
5942 if test "$enableval" = yes; then
5943 ac_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=yes'
5945 ac_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=no'
5950 LINE=`grep "^wxUSE_ON_FATAL_EXCEPTION=" ${wx_arg_cache_file}`
5951 if test "x$LINE" != x ; then
5952 eval "DEFAULT_$LINE"
5957 ac_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION='$DEFAULT_wxUSE_ON_FATAL_EXCEPTION
5962 eval "$ac_cv_use_catch_segvs"
5963 if test "$no_cache" != 1; then
5964 echo $ac_cv_use_catch_segvs >> ${wx_arg_cache_file}.tmp
5967 if test "$wxUSE_ON_FATAL_EXCEPTION" = yes; then
5968 { echo "$as_me:$LINENO: result: yes" >&5
5969 echo "${ECHO_T}yes" >&6; }
5971 { echo "$as_me:$LINENO: result: no" >&5
5972 echo "${ECHO_T}no" >&6; }
5977 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-cmdline" >&5
5978 echo $ECHO_N "checking for --${enablestring:-enable}-cmdline... $ECHO_C" >&6; }
5980 # Check whether --enable-cmdline was given.
5981 if test "${enable_cmdline+set}" = set; then
5982 enableval=$enable_cmdline;
5983 if test "$enableval" = yes; then
5984 ac_cv_use_cmdline='wxUSE_CMDLINE_PARSER=yes'
5986 ac_cv_use_cmdline='wxUSE_CMDLINE_PARSER=no'
5991 LINE=`grep "^wxUSE_CMDLINE_PARSER=" ${wx_arg_cache_file}`
5992 if test "x$LINE" != x ; then
5993 eval "DEFAULT_$LINE"
5998 ac_cv_use_cmdline='wxUSE_CMDLINE_PARSER='$DEFAULT_wxUSE_CMDLINE_PARSER
6003 eval "$ac_cv_use_cmdline"
6004 if test "$no_cache" != 1; then
6005 echo $ac_cv_use_cmdline >> ${wx_arg_cache_file}.tmp
6008 if test "$wxUSE_CMDLINE_PARSER" = yes; then
6009 { echo "$as_me:$LINENO: result: yes" >&5
6010 echo "${ECHO_T}yes" >&6; }
6012 { echo "$as_me:$LINENO: result: no" >&5
6013 echo "${ECHO_T}no" >&6; }
6018 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-datetime" >&5
6019 echo $ECHO_N "checking for --${enablestring:-enable}-datetime... $ECHO_C" >&6; }
6021 # Check whether --enable-datetime was given.
6022 if test "${enable_datetime+set}" = set; then
6023 enableval=$enable_datetime;
6024 if test "$enableval" = yes; then
6025 ac_cv_use_datetime='wxUSE_DATETIME=yes'
6027 ac_cv_use_datetime='wxUSE_DATETIME=no'
6032 LINE=`grep "^wxUSE_DATETIME=" ${wx_arg_cache_file}`
6033 if test "x$LINE" != x ; then
6034 eval "DEFAULT_$LINE"
6039 ac_cv_use_datetime='wxUSE_DATETIME='$DEFAULT_wxUSE_DATETIME
6044 eval "$ac_cv_use_datetime"
6045 if test "$no_cache" != 1; then
6046 echo $ac_cv_use_datetime >> ${wx_arg_cache_file}.tmp
6049 if test "$wxUSE_DATETIME" = yes; then
6050 { echo "$as_me:$LINENO: result: yes" >&5
6051 echo "${ECHO_T}yes" >&6; }
6053 { echo "$as_me:$LINENO: result: no" >&5
6054 echo "${ECHO_T}no" >&6; }
6059 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debugreport" >&5
6060 echo $ECHO_N "checking for --${enablestring:-enable}-debugreport... $ECHO_C" >&6; }
6062 # Check whether --enable-debugreport was given.
6063 if test "${enable_debugreport+set}" = set; then
6064 enableval=$enable_debugreport;
6065 if test "$enableval" = yes; then
6066 ac_cv_use_debugreport='wxUSE_DEBUGREPORT=yes'
6068 ac_cv_use_debugreport='wxUSE_DEBUGREPORT=no'
6073 LINE=`grep "^wxUSE_DEBUGREPORT=" ${wx_arg_cache_file}`
6074 if test "x$LINE" != x ; then
6075 eval "DEFAULT_$LINE"
6080 ac_cv_use_debugreport='wxUSE_DEBUGREPORT='$DEFAULT_wxUSE_DEBUGREPORT
6085 eval "$ac_cv_use_debugreport"
6086 if test "$no_cache" != 1; then
6087 echo $ac_cv_use_debugreport >> ${wx_arg_cache_file}.tmp
6090 if test "$wxUSE_DEBUGREPORT" = yes; then
6091 { echo "$as_me:$LINENO: result: yes" >&5
6092 echo "${ECHO_T}yes" >&6; }
6094 { echo "$as_me:$LINENO: result: no" >&5
6095 echo "${ECHO_T}no" >&6; }
6100 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dialupman" >&5
6101 echo $ECHO_N "checking for --${enablestring:-enable}-dialupman... $ECHO_C" >&6; }
6103 # Check whether --enable-dialupman was given.
6104 if test "${enable_dialupman+set}" = set; then
6105 enableval=$enable_dialupman;
6106 if test "$enableval" = yes; then
6107 ac_cv_use_dialupman='wxUSE_DIALUP_MANAGER=yes'
6109 ac_cv_use_dialupman='wxUSE_DIALUP_MANAGER=no'
6114 LINE=`grep "^wxUSE_DIALUP_MANAGER=" ${wx_arg_cache_file}`
6115 if test "x$LINE" != x ; then
6116 eval "DEFAULT_$LINE"
6121 ac_cv_use_dialupman='wxUSE_DIALUP_MANAGER='$DEFAULT_wxUSE_DIALUP_MANAGER
6126 eval "$ac_cv_use_dialupman"
6127 if test "$no_cache" != 1; then
6128 echo $ac_cv_use_dialupman >> ${wx_arg_cache_file}.tmp
6131 if test "$wxUSE_DIALUP_MANAGER" = yes; then
6132 { echo "$as_me:$LINENO: result: yes" >&5
6133 echo "${ECHO_T}yes" >&6; }
6135 { echo "$as_me:$LINENO: result: no" >&5
6136 echo "${ECHO_T}no" >&6; }
6141 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynlib" >&5
6142 echo $ECHO_N "checking for --${enablestring:-enable}-dynlib... $ECHO_C" >&6; }
6144 # Check whether --enable-dynlib was given.
6145 if test "${enable_dynlib+set}" = set; then
6146 enableval=$enable_dynlib;
6147 if test "$enableval" = yes; then
6148 ac_cv_use_dynlib='wxUSE_DYNLIB_CLASS=yes'
6150 ac_cv_use_dynlib='wxUSE_DYNLIB_CLASS=no'
6155 LINE=`grep "^wxUSE_DYNLIB_CLASS=" ${wx_arg_cache_file}`
6156 if test "x$LINE" != x ; then
6157 eval "DEFAULT_$LINE"
6162 ac_cv_use_dynlib='wxUSE_DYNLIB_CLASS='$DEFAULT_wxUSE_DYNLIB_CLASS
6167 eval "$ac_cv_use_dynlib"
6168 if test "$no_cache" != 1; then
6169 echo $ac_cv_use_dynlib >> ${wx_arg_cache_file}.tmp
6172 if test "$wxUSE_DYNLIB_CLASS" = yes; then
6173 { echo "$as_me:$LINENO: result: yes" >&5
6174 echo "${ECHO_T}yes" >&6; }
6176 { echo "$as_me:$LINENO: result: no" >&5
6177 echo "${ECHO_T}no" >&6; }
6182 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynamicloader" >&5
6183 echo $ECHO_N "checking for --${enablestring:-enable}-dynamicloader... $ECHO_C" >&6; }
6185 # Check whether --enable-dynamicloader was given.
6186 if test "${enable_dynamicloader+set}" = set; then
6187 enableval=$enable_dynamicloader;
6188 if test "$enableval" = yes; then
6189 ac_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=yes'
6191 ac_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=no'
6196 LINE=`grep "^wxUSE_DYNAMIC_LOADER=" ${wx_arg_cache_file}`
6197 if test "x$LINE" != x ; then
6198 eval "DEFAULT_$LINE"
6203 ac_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER='$DEFAULT_wxUSE_DYNAMIC_LOADER
6208 eval "$ac_cv_use_dynamicloader"
6209 if test "$no_cache" != 1; then
6210 echo $ac_cv_use_dynamicloader >> ${wx_arg_cache_file}.tmp
6213 if test "$wxUSE_DYNAMIC_LOADER" = yes; then
6214 { echo "$as_me:$LINENO: result: yes" >&5
6215 echo "${ECHO_T}yes" >&6; }
6217 { echo "$as_me:$LINENO: result: no" >&5
6218 echo "${ECHO_T}no" >&6; }
6223 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-exceptions" >&5
6224 echo $ECHO_N "checking for --${enablestring:-enable}-exceptions... $ECHO_C" >&6; }
6226 # Check whether --enable-exceptions was given.
6227 if test "${enable_exceptions+set}" = set; then
6228 enableval=$enable_exceptions;
6229 if test "$enableval" = yes; then
6230 ac_cv_use_exceptions='wxUSE_EXCEPTIONS=yes'
6232 ac_cv_use_exceptions='wxUSE_EXCEPTIONS=no'
6237 LINE=`grep "^wxUSE_EXCEPTIONS=" ${wx_arg_cache_file}`
6238 if test "x$LINE" != x ; then
6239 eval "DEFAULT_$LINE"
6244 ac_cv_use_exceptions='wxUSE_EXCEPTIONS='$DEFAULT_wxUSE_EXCEPTIONS
6249 eval "$ac_cv_use_exceptions"
6250 if test "$no_cache" != 1; then
6251 echo $ac_cv_use_exceptions >> ${wx_arg_cache_file}.tmp
6254 if test "$wxUSE_EXCEPTIONS" = yes; then
6255 { echo "$as_me:$LINENO: result: yes" >&5
6256 echo "${ECHO_T}yes" >&6; }
6258 { echo "$as_me:$LINENO: result: no" >&5
6259 echo "${ECHO_T}no" >&6; }
6264 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ffile" >&5
6265 echo $ECHO_N "checking for --${enablestring:-enable}-ffile... $ECHO_C" >&6; }
6267 # Check whether --enable-ffile was given.
6268 if test "${enable_ffile+set}" = set; then
6269 enableval=$enable_ffile;
6270 if test "$enableval" = yes; then
6271 ac_cv_use_ffile='wxUSE_FFILE=yes'
6273 ac_cv_use_ffile='wxUSE_FFILE=no'
6278 LINE=`grep "^wxUSE_FFILE=" ${wx_arg_cache_file}`
6279 if test "x$LINE" != x ; then
6280 eval "DEFAULT_$LINE"
6285 ac_cv_use_ffile='wxUSE_FFILE='$DEFAULT_wxUSE_FFILE
6290 eval "$ac_cv_use_ffile"
6291 if test "$no_cache" != 1; then
6292 echo $ac_cv_use_ffile >> ${wx_arg_cache_file}.tmp
6295 if test "$wxUSE_FFILE" = yes; then
6296 { echo "$as_me:$LINENO: result: yes" >&5
6297 echo "${ECHO_T}yes" >&6; }
6299 { echo "$as_me:$LINENO: result: no" >&5
6300 echo "${ECHO_T}no" >&6; }
6305 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-file" >&5
6306 echo $ECHO_N "checking for --${enablestring:-enable}-file... $ECHO_C" >&6; }
6308 # Check whether --enable-file was given.
6309 if test "${enable_file+set}" = set; then
6310 enableval=$enable_file;
6311 if test "$enableval" = yes; then
6312 ac_cv_use_file='wxUSE_FILE=yes'
6314 ac_cv_use_file='wxUSE_FILE=no'
6319 LINE=`grep "^wxUSE_FILE=" ${wx_arg_cache_file}`
6320 if test "x$LINE" != x ; then
6321 eval "DEFAULT_$LINE"
6326 ac_cv_use_file='wxUSE_FILE='$DEFAULT_wxUSE_FILE
6331 eval "$ac_cv_use_file"
6332 if test "$no_cache" != 1; then
6333 echo $ac_cv_use_file >> ${wx_arg_cache_file}.tmp
6336 if test "$wxUSE_FILE" = yes; then
6337 { echo "$as_me:$LINENO: result: yes" >&5
6338 echo "${ECHO_T}yes" >&6; }
6340 { echo "$as_me:$LINENO: result: no" >&5
6341 echo "${ECHO_T}no" >&6; }
6346 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filesystem" >&5
6347 echo $ECHO_N "checking for --${enablestring:-enable}-filesystem... $ECHO_C" >&6; }
6349 # Check whether --enable-filesystem was given.
6350 if test "${enable_filesystem+set}" = set; then
6351 enableval=$enable_filesystem;
6352 if test "$enableval" = yes; then
6353 ac_cv_use_filesystem='wxUSE_FILESYSTEM=yes'
6355 ac_cv_use_filesystem='wxUSE_FILESYSTEM=no'
6360 LINE=`grep "^wxUSE_FILESYSTEM=" ${wx_arg_cache_file}`
6361 if test "x$LINE" != x ; then
6362 eval "DEFAULT_$LINE"
6367 ac_cv_use_filesystem='wxUSE_FILESYSTEM='$DEFAULT_wxUSE_FILESYSTEM
6372 eval "$ac_cv_use_filesystem"
6373 if test "$no_cache" != 1; then
6374 echo $ac_cv_use_filesystem >> ${wx_arg_cache_file}.tmp
6377 if test "$wxUSE_FILESYSTEM" = yes; then
6378 { echo "$as_me:$LINENO: result: yes" >&5
6379 echo "${ECHO_T}yes" >&6; }
6381 { echo "$as_me:$LINENO: result: no" >&5
6382 echo "${ECHO_T}no" >&6; }
6387 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontmap" >&5
6388 echo $ECHO_N "checking for --${enablestring:-enable}-fontmap... $ECHO_C" >&6; }
6390 # Check whether --enable-fontmap was given.
6391 if test "${enable_fontmap+set}" = set; then
6392 enableval=$enable_fontmap;
6393 if test "$enableval" = yes; then
6394 ac_cv_use_fontmap='wxUSE_FONTMAP=yes'
6396 ac_cv_use_fontmap='wxUSE_FONTMAP=no'
6401 LINE=`grep "^wxUSE_FONTMAP=" ${wx_arg_cache_file}`
6402 if test "x$LINE" != x ; then
6403 eval "DEFAULT_$LINE"
6408 ac_cv_use_fontmap='wxUSE_FONTMAP='$DEFAULT_wxUSE_FONTMAP
6413 eval "$ac_cv_use_fontmap"
6414 if test "$no_cache" != 1; then
6415 echo $ac_cv_use_fontmap >> ${wx_arg_cache_file}.tmp
6418 if test "$wxUSE_FONTMAP" = yes; then
6419 { echo "$as_me:$LINENO: result: yes" >&5
6420 echo "${ECHO_T}yes" >&6; }
6422 { echo "$as_me:$LINENO: result: no" >&5
6423 echo "${ECHO_T}no" >&6; }
6428 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_archive" >&5
6429 echo $ECHO_N "checking for --${enablestring:-enable}-fs_archive... $ECHO_C" >&6; }
6431 # Check whether --enable-fs_archive was given.
6432 if test "${enable_fs_archive+set}" = set; then
6433 enableval=$enable_fs_archive;
6434 if test "$enableval" = yes; then
6435 ac_cv_use_fs_archive='wxUSE_FS_ARCHIVE=yes'
6437 ac_cv_use_fs_archive='wxUSE_FS_ARCHIVE=no'
6442 LINE=`grep "^wxUSE_FS_ARCHIVE=" ${wx_arg_cache_file}`
6443 if test "x$LINE" != x ; then
6444 eval "DEFAULT_$LINE"
6449 ac_cv_use_fs_archive='wxUSE_FS_ARCHIVE='$DEFAULT_wxUSE_FS_ARCHIVE
6454 eval "$ac_cv_use_fs_archive"
6455 if test "$no_cache" != 1; then
6456 echo $ac_cv_use_fs_archive >> ${wx_arg_cache_file}.tmp
6459 if test "$wxUSE_FS_ARCHIVE" = yes; then
6460 { echo "$as_me:$LINENO: result: yes" >&5
6461 echo "${ECHO_T}yes" >&6; }
6463 { echo "$as_me:$LINENO: result: no" >&5
6464 echo "${ECHO_T}no" >&6; }
6469 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_inet" >&5
6470 echo $ECHO_N "checking for --${enablestring:-enable}-fs_inet... $ECHO_C" >&6; }
6472 # Check whether --enable-fs_inet was given.
6473 if test "${enable_fs_inet+set}" = set; then
6474 enableval=$enable_fs_inet;
6475 if test "$enableval" = yes; then
6476 ac_cv_use_fs_inet='wxUSE_FS_INET=yes'
6478 ac_cv_use_fs_inet='wxUSE_FS_INET=no'
6483 LINE=`grep "^wxUSE_FS_INET=" ${wx_arg_cache_file}`
6484 if test "x$LINE" != x ; then
6485 eval "DEFAULT_$LINE"
6490 ac_cv_use_fs_inet='wxUSE_FS_INET='$DEFAULT_wxUSE_FS_INET
6495 eval "$ac_cv_use_fs_inet"
6496 if test "$no_cache" != 1; then
6497 echo $ac_cv_use_fs_inet >> ${wx_arg_cache_file}.tmp
6500 if test "$wxUSE_FS_INET" = yes; then
6501 { echo "$as_me:$LINENO: result: yes" >&5
6502 echo "${ECHO_T}yes" >&6; }
6504 { echo "$as_me:$LINENO: result: no" >&5
6505 echo "${ECHO_T}no" >&6; }
6510 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_zip" >&5
6511 echo $ECHO_N "checking for --${enablestring:-enable}-fs_zip... $ECHO_C" >&6; }
6513 # Check whether --enable-fs_zip was given.
6514 if test "${enable_fs_zip+set}" = set; then
6515 enableval=$enable_fs_zip;
6516 if test "$enableval" = yes; then
6517 ac_cv_use_fs_zip='wxUSE_FS_ZIP=yes'
6519 ac_cv_use_fs_zip='wxUSE_FS_ZIP=no'
6524 LINE=`grep "^wxUSE_FS_ZIP=" ${wx_arg_cache_file}`
6525 if test "x$LINE" != x ; then
6526 eval "DEFAULT_$LINE"
6531 ac_cv_use_fs_zip='wxUSE_FS_ZIP='$DEFAULT_wxUSE_FS_ZIP
6536 eval "$ac_cv_use_fs_zip"
6537 if test "$no_cache" != 1; then
6538 echo $ac_cv_use_fs_zip >> ${wx_arg_cache_file}.tmp
6541 if test "$wxUSE_FS_ZIP" = yes; then
6542 { echo "$as_me:$LINENO: result: yes" >&5
6543 echo "${ECHO_T}yes" >&6; }
6545 { echo "$as_me:$LINENO: result: no" >&5
6546 echo "${ECHO_T}no" >&6; }
6551 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-geometry" >&5
6552 echo $ECHO_N "checking for --${enablestring:-enable}-geometry... $ECHO_C" >&6; }
6554 # Check whether --enable-geometry was given.
6555 if test "${enable_geometry+set}" = set; then
6556 enableval=$enable_geometry;
6557 if test "$enableval" = yes; then
6558 ac_cv_use_geometry='wxUSE_GEOMETRY=yes'
6560 ac_cv_use_geometry='wxUSE_GEOMETRY=no'
6565 LINE=`grep "^wxUSE_GEOMETRY=" ${wx_arg_cache_file}`
6566 if test "x$LINE" != x ; then
6567 eval "DEFAULT_$LINE"
6572 ac_cv_use_geometry='wxUSE_GEOMETRY='$DEFAULT_wxUSE_GEOMETRY
6577 eval "$ac_cv_use_geometry"
6578 if test "$no_cache" != 1; then
6579 echo $ac_cv_use_geometry >> ${wx_arg_cache_file}.tmp
6582 if test "$wxUSE_GEOMETRY" = yes; then
6583 { echo "$as_me:$LINENO: result: yes" >&5
6584 echo "${ECHO_T}yes" >&6; }
6586 { echo "$as_me:$LINENO: result: no" >&5
6587 echo "${ECHO_T}no" >&6; }
6592 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-log" >&5
6593 echo $ECHO_N "checking for --${enablestring:-enable}-log... $ECHO_C" >&6; }
6595 # Check whether --enable-log was given.
6596 if test "${enable_log+set}" = set; then
6597 enableval=$enable_log;
6598 if test "$enableval" = yes; then
6599 ac_cv_use_log='wxUSE_LOG=yes'
6601 ac_cv_use_log='wxUSE_LOG=no'
6606 LINE=`grep "^wxUSE_LOG=" ${wx_arg_cache_file}`
6607 if test "x$LINE" != x ; then
6608 eval "DEFAULT_$LINE"
6613 ac_cv_use_log='wxUSE_LOG='$DEFAULT_wxUSE_LOG
6618 eval "$ac_cv_use_log"
6619 if test "$no_cache" != 1; then
6620 echo $ac_cv_use_log >> ${wx_arg_cache_file}.tmp
6623 if test "$wxUSE_LOG" = yes; then
6624 { echo "$as_me:$LINENO: result: yes" >&5
6625 echo "${ECHO_T}yes" >&6; }
6627 { echo "$as_me:$LINENO: result: no" >&5
6628 echo "${ECHO_T}no" >&6; }
6633 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-longlong" >&5
6634 echo $ECHO_N "checking for --${enablestring:-enable}-longlong... $ECHO_C" >&6; }
6636 # Check whether --enable-longlong was given.
6637 if test "${enable_longlong+set}" = set; then
6638 enableval=$enable_longlong;
6639 if test "$enableval" = yes; then
6640 ac_cv_use_longlong='wxUSE_LONGLONG=yes'
6642 ac_cv_use_longlong='wxUSE_LONGLONG=no'
6647 LINE=`grep "^wxUSE_LONGLONG=" ${wx_arg_cache_file}`
6648 if test "x$LINE" != x ; then
6649 eval "DEFAULT_$LINE"
6654 ac_cv_use_longlong='wxUSE_LONGLONG='$DEFAULT_wxUSE_LONGLONG
6659 eval "$ac_cv_use_longlong"
6660 if test "$no_cache" != 1; then
6661 echo $ac_cv_use_longlong >> ${wx_arg_cache_file}.tmp
6664 if test "$wxUSE_LONGLONG" = yes; then
6665 { echo "$as_me:$LINENO: result: yes" >&5
6666 echo "${ECHO_T}yes" >&6; }
6668 { echo "$as_me:$LINENO: result: no" >&5
6669 echo "${ECHO_T}no" >&6; }
6674 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mimetype" >&5
6675 echo $ECHO_N "checking for --${enablestring:-enable}-mimetype... $ECHO_C" >&6; }
6677 # Check whether --enable-mimetype was given.
6678 if test "${enable_mimetype+set}" = set; then
6679 enableval=$enable_mimetype;
6680 if test "$enableval" = yes; then
6681 ac_cv_use_mimetype='wxUSE_MIMETYPE=yes'
6683 ac_cv_use_mimetype='wxUSE_MIMETYPE=no'
6688 LINE=`grep "^wxUSE_MIMETYPE=" ${wx_arg_cache_file}`
6689 if test "x$LINE" != x ; then
6690 eval "DEFAULT_$LINE"
6695 ac_cv_use_mimetype='wxUSE_MIMETYPE='$DEFAULT_wxUSE_MIMETYPE
6700 eval "$ac_cv_use_mimetype"
6701 if test "$no_cache" != 1; then
6702 echo $ac_cv_use_mimetype >> ${wx_arg_cache_file}.tmp
6705 if test "$wxUSE_MIMETYPE" = yes; then
6706 { echo "$as_me:$LINENO: result: yes" >&5
6707 echo "${ECHO_T}yes" >&6; }
6709 { echo "$as_me:$LINENO: result: no" >&5
6710 echo "${ECHO_T}no" >&6; }
6715 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mslu" >&5
6716 echo $ECHO_N "checking for --${enablestring:-enable}-mslu... $ECHO_C" >&6; }
6718 # Check whether --enable-mslu was given.
6719 if test "${enable_mslu+set}" = set; then
6720 enableval=$enable_mslu;
6721 if test "$enableval" = yes; then
6722 ac_cv_use_mslu='wxUSE_UNICODE_MSLU=yes'
6724 ac_cv_use_mslu='wxUSE_UNICODE_MSLU=no'
6729 LINE=`grep "^wxUSE_UNICODE_MSLU=" ${wx_arg_cache_file}`
6730 if test "x$LINE" != x ; then
6731 eval "DEFAULT_$LINE"
6736 ac_cv_use_mslu='wxUSE_UNICODE_MSLU='$DEFAULT_wxUSE_UNICODE_MSLU
6741 eval "$ac_cv_use_mslu"
6742 if test "$no_cache" != 1; then
6743 echo $ac_cv_use_mslu >> ${wx_arg_cache_file}.tmp
6746 if test "$wxUSE_UNICODE_MSLU" = yes; then
6747 { echo "$as_me:$LINENO: result: yes" >&5
6748 echo "${ECHO_T}yes" >&6; }
6750 { echo "$as_me:$LINENO: result: no" >&5
6751 echo "${ECHO_T}no" >&6; }
6756 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-utf8" >&5
6757 echo $ECHO_N "checking for --${enablestring:-enable}-utf8... $ECHO_C" >&6; }
6759 # Check whether --enable-utf8 was given.
6760 if test "${enable_utf8+set}" = set; then
6761 enableval=$enable_utf8;
6762 wx_cv_use_utf8="wxUSE_UNICODE_UTF8='$enableval'"
6766 LINE=`grep "^wxUSE_UNICODE_UTF8=" ${wx_arg_cache_file}`
6767 if test "x$LINE" != x ; then
6768 eval "DEFAULT_$LINE"
6773 wx_cv_use_utf8='wxUSE_UNICODE_UTF8='$DEFAULT_wxUSE_UNICODE_UTF8
6778 eval "$wx_cv_use_utf8"
6779 if test "$no_cache" != 1; then
6780 echo $wx_cv_use_utf8 >> ${wx_arg_cache_file}.tmp
6783 { echo "$as_me:$LINENO: result: $wxUSE_UNICODE_UTF8" >&5
6784 echo "${ECHO_T}$wxUSE_UNICODE_UTF8" >&6; }
6788 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-utf8only" >&5
6789 echo $ECHO_N "checking for --${enablestring:-enable}-utf8only... $ECHO_C" >&6; }
6791 # Check whether --enable-utf8only was given.
6792 if test "${enable_utf8only+set}" = set; then
6793 enableval=$enable_utf8only;
6794 if test "$enableval" = yes; then
6795 ac_cv_use_utf8only='wxUSE_UNICODE_UTF8_LOCALE=yes'
6797 ac_cv_use_utf8only='wxUSE_UNICODE_UTF8_LOCALE=no'
6802 LINE=`grep "^wxUSE_UNICODE_UTF8_LOCALE=" ${wx_arg_cache_file}`
6803 if test "x$LINE" != x ; then
6804 eval "DEFAULT_$LINE"
6809 ac_cv_use_utf8only='wxUSE_UNICODE_UTF8_LOCALE='$DEFAULT_wxUSE_UNICODE_UTF8_LOCALE
6814 eval "$ac_cv_use_utf8only"
6815 if test "$no_cache" != 1; then
6816 echo $ac_cv_use_utf8only >> ${wx_arg_cache_file}.tmp
6819 if test "$wxUSE_UNICODE_UTF8_LOCALE" = yes; then
6820 { echo "$as_me:$LINENO: result: yes" >&5
6821 echo "${ECHO_T}yes" >&6; }
6823 { echo "$as_me:$LINENO: result: no" >&5
6824 echo "${ECHO_T}no" >&6; }
6829 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-snglinst" >&5
6830 echo $ECHO_N "checking for --${enablestring:-enable}-snglinst... $ECHO_C" >&6; }
6832 # Check whether --enable-snglinst was given.
6833 if test "${enable_snglinst+set}" = set; then
6834 enableval=$enable_snglinst;
6835 if test "$enableval" = yes; then
6836 ac_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=yes'
6838 ac_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=no'
6843 LINE=`grep "^wxUSE_SNGLINST_CHECKER=" ${wx_arg_cache_file}`
6844 if test "x$LINE" != x ; then
6845 eval "DEFAULT_$LINE"
6850 ac_cv_use_snglinst='wxUSE_SNGLINST_CHECKER='$DEFAULT_wxUSE_SNGLINST_CHECKER
6855 eval "$ac_cv_use_snglinst"
6856 if test "$no_cache" != 1; then
6857 echo $ac_cv_use_snglinst >> ${wx_arg_cache_file}.tmp
6860 if test "$wxUSE_SNGLINST_CHECKER" = yes; then
6861 { echo "$as_me:$LINENO: result: yes" >&5
6862 echo "${ECHO_T}yes" >&6; }
6864 { echo "$as_me:$LINENO: result: no" >&5
6865 echo "${ECHO_T}no" >&6; }
6870 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-std_iostreams" >&5
6871 echo $ECHO_N "checking for --${enablestring:-enable}-std_iostreams... $ECHO_C" >&6; }
6873 # Check whether --enable-std_iostreams was given.
6874 if test "${enable_std_iostreams+set}" = set; then
6875 enableval=$enable_std_iostreams;
6876 if test "$enableval" = yes; then
6877 ac_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=yes'
6879 ac_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=no'
6884 LINE=`grep "^wxUSE_STD_IOSTREAM=" ${wx_arg_cache_file}`
6885 if test "x$LINE" != x ; then
6886 eval "DEFAULT_$LINE"
6891 ac_cv_use_std_iostreams='wxUSE_STD_IOSTREAM='$DEFAULT_wxUSE_STD_IOSTREAM
6896 eval "$ac_cv_use_std_iostreams"
6897 if test "$no_cache" != 1; then
6898 echo $ac_cv_use_std_iostreams >> ${wx_arg_cache_file}.tmp
6901 if test "$wxUSE_STD_IOSTREAM" = yes; then
6902 { echo "$as_me:$LINENO: result: yes" >&5
6903 echo "${ECHO_T}yes" >&6; }
6905 { echo "$as_me:$LINENO: result: no" >&5
6906 echo "${ECHO_T}no" >&6; }
6911 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-std_string" >&5
6912 echo $ECHO_N "checking for --${enablestring:-enable}-std_string... $ECHO_C" >&6; }
6914 # Check whether --enable-std_string was given.
6915 if test "${enable_std_string+set}" = set; then
6916 enableval=$enable_std_string;
6917 if test "$enableval" = yes; then
6918 ac_cv_use_std_string='wxUSE_STD_STRING=yes'
6920 ac_cv_use_std_string='wxUSE_STD_STRING=no'
6925 LINE=`grep "^wxUSE_STD_STRING=" ${wx_arg_cache_file}`
6926 if test "x$LINE" != x ; then
6927 eval "DEFAULT_$LINE"
6932 ac_cv_use_std_string='wxUSE_STD_STRING='$DEFAULT_wxUSE_STD_STRING
6937 eval "$ac_cv_use_std_string"
6938 if test "$no_cache" != 1; then
6939 echo $ac_cv_use_std_string >> ${wx_arg_cache_file}.tmp
6942 if test "$wxUSE_STD_STRING" = yes; then
6943 { echo "$as_me:$LINENO: result: yes" >&5
6944 echo "${ECHO_T}yes" >&6; }
6946 { echo "$as_me:$LINENO: result: no" >&5
6947 echo "${ECHO_T}no" >&6; }
6952 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stdpaths" >&5
6953 echo $ECHO_N "checking for --${enablestring:-enable}-stdpaths... $ECHO_C" >&6; }
6955 # Check whether --enable-stdpaths was given.
6956 if test "${enable_stdpaths+set}" = set; then
6957 enableval=$enable_stdpaths;
6958 if test "$enableval" = yes; then
6959 ac_cv_use_stdpaths='wxUSE_STDPATHS=yes'
6961 ac_cv_use_stdpaths='wxUSE_STDPATHS=no'
6966 LINE=`grep "^wxUSE_STDPATHS=" ${wx_arg_cache_file}`
6967 if test "x$LINE" != x ; then
6968 eval "DEFAULT_$LINE"
6973 ac_cv_use_stdpaths='wxUSE_STDPATHS='$DEFAULT_wxUSE_STDPATHS
6978 eval "$ac_cv_use_stdpaths"
6979 if test "$no_cache" != 1; then
6980 echo $ac_cv_use_stdpaths >> ${wx_arg_cache_file}.tmp
6983 if test "$wxUSE_STDPATHS" = yes; then
6984 { echo "$as_me:$LINENO: result: yes" >&5
6985 echo "${ECHO_T}yes" >&6; }
6987 { echo "$as_me:$LINENO: result: no" >&5
6988 echo "${ECHO_T}no" >&6; }
6993 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stopwatch" >&5
6994 echo $ECHO_N "checking for --${enablestring:-enable}-stopwatch... $ECHO_C" >&6; }
6996 # Check whether --enable-stopwatch was given.
6997 if test "${enable_stopwatch+set}" = set; then
6998 enableval=$enable_stopwatch;
6999 if test "$enableval" = yes; then
7000 ac_cv_use_stopwatch='wxUSE_STOPWATCH=yes'
7002 ac_cv_use_stopwatch='wxUSE_STOPWATCH=no'
7007 LINE=`grep "^wxUSE_STOPWATCH=" ${wx_arg_cache_file}`
7008 if test "x$LINE" != x ; then
7009 eval "DEFAULT_$LINE"
7014 ac_cv_use_stopwatch='wxUSE_STOPWATCH='$DEFAULT_wxUSE_STOPWATCH
7019 eval "$ac_cv_use_stopwatch"
7020 if test "$no_cache" != 1; then
7021 echo $ac_cv_use_stopwatch >> ${wx_arg_cache_file}.tmp
7024 if test "$wxUSE_STOPWATCH" = yes; then
7025 { echo "$as_me:$LINENO: result: yes" >&5
7026 echo "${ECHO_T}yes" >&6; }
7028 { echo "$as_me:$LINENO: result: no" >&5
7029 echo "${ECHO_T}no" >&6; }
7034 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-streams" >&5
7035 echo $ECHO_N "checking for --${enablestring:-enable}-streams... $ECHO_C" >&6; }
7037 # Check whether --enable-streams was given.
7038 if test "${enable_streams+set}" = set; then
7039 enableval=$enable_streams;
7040 if test "$enableval" = yes; then
7041 ac_cv_use_streams='wxUSE_STREAMS=yes'
7043 ac_cv_use_streams='wxUSE_STREAMS=no'
7048 LINE=`grep "^wxUSE_STREAMS=" ${wx_arg_cache_file}`
7049 if test "x$LINE" != x ; then
7050 eval "DEFAULT_$LINE"
7055 ac_cv_use_streams='wxUSE_STREAMS='$DEFAULT_wxUSE_STREAMS
7060 eval "$ac_cv_use_streams"
7061 if test "$no_cache" != 1; then
7062 echo $ac_cv_use_streams >> ${wx_arg_cache_file}.tmp
7065 if test "$wxUSE_STREAMS" = yes; then
7066 { echo "$as_me:$LINENO: result: yes" >&5
7067 echo "${ECHO_T}yes" >&6; }
7069 { echo "$as_me:$LINENO: result: no" >&5
7070 echo "${ECHO_T}no" >&6; }
7075 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-system_options" >&5
7076 echo $ECHO_N "checking for --${enablestring:-enable}-system_options... $ECHO_C" >&6; }
7078 # Check whether --enable-system_options was given.
7079 if test "${enable_system_options+set}" = set; then
7080 enableval=$enable_system_options;
7081 if test "$enableval" = yes; then
7082 ac_cv_use_system_options='wxUSE_SYSTEM_OPTIONS=yes'
7084 ac_cv_use_system_options='wxUSE_SYSTEM_OPTIONS=no'
7089 LINE=`grep "^wxUSE_SYSTEM_OPTIONS=" ${wx_arg_cache_file}`
7090 if test "x$LINE" != x ; then
7091 eval "DEFAULT_$LINE"
7096 ac_cv_use_system_options='wxUSE_SYSTEM_OPTIONS='$DEFAULT_wxUSE_SYSTEM_OPTIONS
7101 eval "$ac_cv_use_system_options"
7102 if test "$no_cache" != 1; then
7103 echo $ac_cv_use_system_options >> ${wx_arg_cache_file}.tmp
7106 if test "$wxUSE_SYSTEM_OPTIONS" = yes; then
7107 { echo "$as_me:$LINENO: result: yes" >&5
7108 echo "${ECHO_T}yes" >&6; }
7110 { echo "$as_me:$LINENO: result: no" >&5
7111 echo "${ECHO_T}no" >&6; }
7116 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tarstream" >&5
7117 echo $ECHO_N "checking for --${enablestring:-enable}-tarstream... $ECHO_C" >&6; }
7119 # Check whether --enable-tarstream was given.
7120 if test "${enable_tarstream+set}" = set; then
7121 enableval=$enable_tarstream;
7122 if test "$enableval" = yes; then
7123 ac_cv_use_tarstream='wxUSE_TARSTREAM=yes'
7125 ac_cv_use_tarstream='wxUSE_TARSTREAM=no'
7130 LINE=`grep "^wxUSE_TARSTREAM=" ${wx_arg_cache_file}`
7131 if test "x$LINE" != x ; then
7132 eval "DEFAULT_$LINE"
7137 ac_cv_use_tarstream='wxUSE_TARSTREAM='$DEFAULT_wxUSE_TARSTREAM
7142 eval "$ac_cv_use_tarstream"
7143 if test "$no_cache" != 1; then
7144 echo $ac_cv_use_tarstream >> ${wx_arg_cache_file}.tmp
7147 if test "$wxUSE_TARSTREAM" = yes; then
7148 { echo "$as_me:$LINENO: result: yes" >&5
7149 echo "${ECHO_T}yes" >&6; }
7151 { echo "$as_me:$LINENO: result: no" >&5
7152 echo "${ECHO_T}no" >&6; }
7157 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textbuf" >&5
7158 echo $ECHO_N "checking for --${enablestring:-enable}-textbuf... $ECHO_C" >&6; }
7160 # Check whether --enable-textbuf was given.
7161 if test "${enable_textbuf+set}" = set; then
7162 enableval=$enable_textbuf;
7163 if test "$enableval" = yes; then
7164 ac_cv_use_textbuf='wxUSE_TEXTBUFFER=yes'
7166 ac_cv_use_textbuf='wxUSE_TEXTBUFFER=no'
7171 LINE=`grep "^wxUSE_TEXTBUFFER=" ${wx_arg_cache_file}`
7172 if test "x$LINE" != x ; then
7173 eval "DEFAULT_$LINE"
7178 ac_cv_use_textbuf='wxUSE_TEXTBUFFER='$DEFAULT_wxUSE_TEXTBUFFER
7183 eval "$ac_cv_use_textbuf"
7184 if test "$no_cache" != 1; then
7185 echo $ac_cv_use_textbuf >> ${wx_arg_cache_file}.tmp
7188 if test "$wxUSE_TEXTBUFFER" = yes; then
7189 { echo "$as_me:$LINENO: result: yes" >&5
7190 echo "${ECHO_T}yes" >&6; }
7192 { echo "$as_me:$LINENO: result: no" >&5
7193 echo "${ECHO_T}no" >&6; }
7198 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textfile" >&5
7199 echo $ECHO_N "checking for --${enablestring:-enable}-textfile... $ECHO_C" >&6; }
7201 # Check whether --enable-textfile was given.
7202 if test "${enable_textfile+set}" = set; then
7203 enableval=$enable_textfile;
7204 if test "$enableval" = yes; then
7205 ac_cv_use_textfile='wxUSE_TEXTFILE=yes'
7207 ac_cv_use_textfile='wxUSE_TEXTFILE=no'
7212 LINE=`grep "^wxUSE_TEXTFILE=" ${wx_arg_cache_file}`
7213 if test "x$LINE" != x ; then
7214 eval "DEFAULT_$LINE"
7219 ac_cv_use_textfile='wxUSE_TEXTFILE='$DEFAULT_wxUSE_TEXTFILE
7224 eval "$ac_cv_use_textfile"
7225 if test "$no_cache" != 1; then
7226 echo $ac_cv_use_textfile >> ${wx_arg_cache_file}.tmp
7229 if test "$wxUSE_TEXTFILE" = yes; then
7230 { echo "$as_me:$LINENO: result: yes" >&5
7231 echo "${ECHO_T}yes" >&6; }
7233 { echo "$as_me:$LINENO: result: no" >&5
7234 echo "${ECHO_T}no" >&6; }
7239 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-timer" >&5
7240 echo $ECHO_N "checking for --${enablestring:-enable}-timer... $ECHO_C" >&6; }
7242 # Check whether --enable-timer was given.
7243 if test "${enable_timer+set}" = set; then
7244 enableval=$enable_timer;
7245 if test "$enableval" = yes; then
7246 ac_cv_use_timer='wxUSE_TIMER=yes'
7248 ac_cv_use_timer='wxUSE_TIMER=no'
7253 LINE=`grep "^wxUSE_TIMER=" ${wx_arg_cache_file}`
7254 if test "x$LINE" != x ; then
7255 eval "DEFAULT_$LINE"
7260 ac_cv_use_timer='wxUSE_TIMER='$DEFAULT_wxUSE_TIMER
7265 eval "$ac_cv_use_timer"
7266 if test "$no_cache" != 1; then
7267 echo $ac_cv_use_timer >> ${wx_arg_cache_file}.tmp
7270 if test "$wxUSE_TIMER" = yes; then
7271 { echo "$as_me:$LINENO: result: yes" >&5
7272 echo "${ECHO_T}yes" >&6; }
7274 { echo "$as_me:$LINENO: result: no" >&5
7275 echo "${ECHO_T}no" >&6; }
7280 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-unicode" >&5
7281 echo $ECHO_N "checking for --${enablestring:-enable}-unicode... $ECHO_C" >&6; }
7283 # Check whether --enable-unicode was given.
7284 if test "${enable_unicode+set}" = set; then
7285 enableval=$enable_unicode;
7286 if test "$enableval" = yes; then
7287 ac_cv_use_unicode='wxUSE_UNICODE=yes'
7289 ac_cv_use_unicode='wxUSE_UNICODE=no'
7294 LINE=`grep "^wxUSE_UNICODE=" ${wx_arg_cache_file}`
7295 if test "x$LINE" != x ; then
7296 eval "DEFAULT_$LINE"
7301 ac_cv_use_unicode='wxUSE_UNICODE='$DEFAULT_wxUSE_UNICODE
7306 eval "$ac_cv_use_unicode"
7307 if test "$no_cache" != 1; then
7308 echo $ac_cv_use_unicode >> ${wx_arg_cache_file}.tmp
7311 if test "$wxUSE_UNICODE" = yes; then
7312 { echo "$as_me:$LINENO: result: yes" >&5
7313 echo "${ECHO_T}yes" >&6; }
7315 { echo "$as_me:$LINENO: result: no" >&5
7316 echo "${ECHO_T}no" >&6; }
7321 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sound" >&5
7322 echo $ECHO_N "checking for --${enablestring:-enable}-sound... $ECHO_C" >&6; }
7324 # Check whether --enable-sound was given.
7325 if test "${enable_sound+set}" = set; then
7326 enableval=$enable_sound;
7327 if test "$enableval" = yes; then
7328 ac_cv_use_sound='wxUSE_SOUND=yes'
7330 ac_cv_use_sound='wxUSE_SOUND=no'
7335 LINE=`grep "^wxUSE_SOUND=" ${wx_arg_cache_file}`
7336 if test "x$LINE" != x ; then
7337 eval "DEFAULT_$LINE"
7342 ac_cv_use_sound='wxUSE_SOUND='$DEFAULT_wxUSE_SOUND
7347 eval "$ac_cv_use_sound"
7348 if test "$no_cache" != 1; then
7349 echo $ac_cv_use_sound >> ${wx_arg_cache_file}.tmp
7352 if test "$wxUSE_SOUND" = yes; then
7353 { echo "$as_me:$LINENO: result: yes" >&5
7354 echo "${ECHO_T}yes" >&6; }
7356 { echo "$as_me:$LINENO: result: no" >&5
7357 echo "${ECHO_T}no" >&6; }
7362 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mediactrl" >&5
7363 echo $ECHO_N "checking for --${enablestring:-enable}-mediactrl... $ECHO_C" >&6; }
7365 # Check whether --enable-mediactrl was given.
7366 if test "${enable_mediactrl+set}" = set; then
7367 enableval=$enable_mediactrl;
7368 if test "$enableval" = yes; then
7369 ac_cv_use_mediactrl='wxUSE_MEDIACTRL=yes'
7371 ac_cv_use_mediactrl='wxUSE_MEDIACTRL=no'
7376 LINE=`grep "^wxUSE_MEDIACTRL=" ${wx_arg_cache_file}`
7377 if test "x$LINE" != x ; then
7378 eval "DEFAULT_$LINE"
7383 ac_cv_use_mediactrl='wxUSE_MEDIACTRL='$DEFAULT_wxUSE_MEDIACTRL
7388 eval "$ac_cv_use_mediactrl"
7389 if test "$no_cache" != 1; then
7390 echo $ac_cv_use_mediactrl >> ${wx_arg_cache_file}.tmp
7393 if test "$wxUSE_MEDIACTRL" = yes; then
7394 { echo "$as_me:$LINENO: result: yes" >&5
7395 echo "${ECHO_T}yes" >&6; }
7397 { echo "$as_me:$LINENO: result: no" >&5
7398 echo "${ECHO_T}no" >&6; }
7403 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gstreamer8" >&5
7404 echo $ECHO_N "checking for --${enablestring:-enable}-gstreamer8... $ECHO_C" >&6; }
7406 # Check whether --enable-gstreamer8 was given.
7407 if test "${enable_gstreamer8+set}" = set; then
7408 enableval=$enable_gstreamer8;
7409 if test "$enableval" = yes; then
7410 ac_cv_use_gstreamer8='wxUSE_GSTREAMER8=yes'
7412 ac_cv_use_gstreamer8='wxUSE_GSTREAMER8=no'
7417 LINE=`grep "^wxUSE_GSTREAMER8=" ${wx_arg_cache_file}`
7418 if test "x$LINE" != x ; then
7419 eval "DEFAULT_$LINE"
7424 ac_cv_use_gstreamer8='wxUSE_GSTREAMER8='$DEFAULT_wxUSE_GSTREAMER8
7429 eval "$ac_cv_use_gstreamer8"
7430 if test "$no_cache" != 1; then
7431 echo $ac_cv_use_gstreamer8 >> ${wx_arg_cache_file}.tmp
7434 if test "$wxUSE_GSTREAMER8" = yes; then
7435 { echo "$as_me:$LINENO: result: yes" >&5
7436 echo "${ECHO_T}yes" >&6; }
7438 { echo "$as_me:$LINENO: result: no" >&5
7439 echo "${ECHO_T}no" >&6; }
7444 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-printfposparam" >&5
7445 echo $ECHO_N "checking for --${enablestring:-enable}-printfposparam... $ECHO_C" >&6; }
7447 # Check whether --enable-printfposparam was given.
7448 if test "${enable_printfposparam+set}" = set; then
7449 enableval=$enable_printfposparam;
7450 if test "$enableval" = yes; then
7451 ac_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS=yes'
7453 ac_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS=no'
7458 LINE=`grep "^wxUSE_PRINTF_POS_PARAMS=" ${wx_arg_cache_file}`
7459 if test "x$LINE" != x ; then
7460 eval "DEFAULT_$LINE"
7465 ac_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS='$DEFAULT_wxUSE_PRINTF_POS_PARAMS
7470 eval "$ac_cv_use_printfposparam"
7471 if test "$no_cache" != 1; then
7472 echo $ac_cv_use_printfposparam >> ${wx_arg_cache_file}.tmp
7475 if test "$wxUSE_PRINTF_POS_PARAMS" = yes; then
7476 { echo "$as_me:$LINENO: result: yes" >&5
7477 echo "${ECHO_T}yes" >&6; }
7479 { echo "$as_me:$LINENO: result: no" >&5
7480 echo "${ECHO_T}no" >&6; }
7485 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-zipstream" >&5
7486 echo $ECHO_N "checking for --${enablestring:-enable}-zipstream... $ECHO_C" >&6; }
7488 # Check whether --enable-zipstream was given.
7489 if test "${enable_zipstream+set}" = set; then
7490 enableval=$enable_zipstream;
7491 if test "$enableval" = yes; then
7492 ac_cv_use_zipstream='wxUSE_ZIPSTREAM=yes'
7494 ac_cv_use_zipstream='wxUSE_ZIPSTREAM=no'
7499 LINE=`grep "^wxUSE_ZIPSTREAM=" ${wx_arg_cache_file}`
7500 if test "x$LINE" != x ; then
7501 eval "DEFAULT_$LINE"
7506 ac_cv_use_zipstream='wxUSE_ZIPSTREAM='$DEFAULT_wxUSE_ZIPSTREAM
7511 eval "$ac_cv_use_zipstream"
7512 if test "$no_cache" != 1; then
7513 echo $ac_cv_use_zipstream >> ${wx_arg_cache_file}.tmp
7516 if test "$wxUSE_ZIPSTREAM" = yes; then
7517 { echo "$as_me:$LINENO: result: yes" >&5
7518 echo "${ECHO_T}yes" >&6; }
7520 { echo "$as_me:$LINENO: result: no" >&5
7521 echo "${ECHO_T}no" >&6; }
7527 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-url" >&5
7528 echo $ECHO_N "checking for --${enablestring:-enable}-url... $ECHO_C" >&6; }
7530 # Check whether --enable-url was given.
7531 if test "${enable_url+set}" = set; then
7532 enableval=$enable_url;
7533 if test "$enableval" = yes; then
7534 ac_cv_use_url='wxUSE_URL=yes'
7536 ac_cv_use_url='wxUSE_URL=no'
7541 LINE=`grep "^wxUSE_URL=" ${wx_arg_cache_file}`
7542 if test "x$LINE" != x ; then
7543 eval "DEFAULT_$LINE"
7548 ac_cv_use_url='wxUSE_URL='$DEFAULT_wxUSE_URL
7553 eval "$ac_cv_use_url"
7554 if test "$no_cache" != 1; then
7555 echo $ac_cv_use_url >> ${wx_arg_cache_file}.tmp
7558 if test "$wxUSE_URL" = yes; then
7559 { echo "$as_me:$LINENO: result: yes" >&5
7560 echo "${ECHO_T}yes" >&6; }
7562 { echo "$as_me:$LINENO: result: no" >&5
7563 echo "${ECHO_T}no" >&6; }
7568 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-variant" >&5
7569 echo $ECHO_N "checking for --${enablestring:-enable}-variant... $ECHO_C" >&6; }
7571 # Check whether --enable-variant was given.
7572 if test "${enable_variant+set}" = set; then
7573 enableval=$enable_variant;
7574 if test "$enableval" = yes; then
7575 ac_cv_use_variant='wxUSE_VARIANT=yes'
7577 ac_cv_use_variant='wxUSE_VARIANT=no'
7582 LINE=`grep "^wxUSE_VARIANT=" ${wx_arg_cache_file}`
7583 if test "x$LINE" != x ; then
7584 eval "DEFAULT_$LINE"
7589 ac_cv_use_variant='wxUSE_VARIANT='$DEFAULT_wxUSE_VARIANT
7594 eval "$ac_cv_use_variant"
7595 if test "$no_cache" != 1; then
7596 echo $ac_cv_use_variant >> ${wx_arg_cache_file}.tmp
7599 if test "$wxUSE_VARIANT" = yes; then
7600 { echo "$as_me:$LINENO: result: yes" >&5
7601 echo "${ECHO_T}yes" >&6; }
7603 { echo "$as_me:$LINENO: result: no" >&5
7604 echo "${ECHO_T}no" >&6; }
7609 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol" >&5
7610 echo $ECHO_N "checking for --${enablestring:-enable}-protocol... $ECHO_C" >&6; }
7612 # Check whether --enable-protocol was given.
7613 if test "${enable_protocol+set}" = set; then
7614 enableval=$enable_protocol;
7615 if test "$enableval" = yes; then
7616 ac_cv_use_protocol='wxUSE_PROTOCOL=yes'
7618 ac_cv_use_protocol='wxUSE_PROTOCOL=no'
7623 LINE=`grep "^wxUSE_PROTOCOL=" ${wx_arg_cache_file}`
7624 if test "x$LINE" != x ; then
7625 eval "DEFAULT_$LINE"
7630 ac_cv_use_protocol='wxUSE_PROTOCOL='$DEFAULT_wxUSE_PROTOCOL
7635 eval "$ac_cv_use_protocol"
7636 if test "$no_cache" != 1; then
7637 echo $ac_cv_use_protocol >> ${wx_arg_cache_file}.tmp
7640 if test "$wxUSE_PROTOCOL" = yes; then
7641 { echo "$as_me:$LINENO: result: yes" >&5
7642 echo "${ECHO_T}yes" >&6; }
7644 { echo "$as_me:$LINENO: result: no" >&5
7645 echo "${ECHO_T}no" >&6; }
7650 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_http" >&5
7651 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_http... $ECHO_C" >&6; }
7653 # Check whether --enable-protocol_http was given.
7654 if test "${enable_protocol_http+set}" = set; then
7655 enableval=$enable_protocol_http;
7656 if test "$enableval" = yes; then
7657 ac_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP=yes'
7659 ac_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP=no'
7664 LINE=`grep "^wxUSE_PROTOCOL_HTTP=" ${wx_arg_cache_file}`
7665 if test "x$LINE" != x ; then
7666 eval "DEFAULT_$LINE"
7671 ac_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP='$DEFAULT_wxUSE_PROTOCOL_HTTP
7676 eval "$ac_cv_use_protocol_http"
7677 if test "$no_cache" != 1; then
7678 echo $ac_cv_use_protocol_http >> ${wx_arg_cache_file}.tmp
7681 if test "$wxUSE_PROTOCOL_HTTP" = yes; then
7682 { echo "$as_me:$LINENO: result: yes" >&5
7683 echo "${ECHO_T}yes" >&6; }
7685 { echo "$as_me:$LINENO: result: no" >&5
7686 echo "${ECHO_T}no" >&6; }
7691 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_ftp" >&5
7692 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_ftp... $ECHO_C" >&6; }
7694 # Check whether --enable-protocol_ftp was given.
7695 if test "${enable_protocol_ftp+set}" = set; then
7696 enableval=$enable_protocol_ftp;
7697 if test "$enableval" = yes; then
7698 ac_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=yes'
7700 ac_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=no'
7705 LINE=`grep "^wxUSE_PROTOCOL_FTP=" ${wx_arg_cache_file}`
7706 if test "x$LINE" != x ; then
7707 eval "DEFAULT_$LINE"
7712 ac_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP='$DEFAULT_wxUSE_PROTOCOL_FTP
7717 eval "$ac_cv_use_protocol_ftp"
7718 if test "$no_cache" != 1; then
7719 echo $ac_cv_use_protocol_ftp >> ${wx_arg_cache_file}.tmp
7722 if test "$wxUSE_PROTOCOL_FTP" = yes; then
7723 { echo "$as_me:$LINENO: result: yes" >&5
7724 echo "${ECHO_T}yes" >&6; }
7726 { echo "$as_me:$LINENO: result: no" >&5
7727 echo "${ECHO_T}no" >&6; }
7732 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_file" >&5
7733 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_file... $ECHO_C" >&6; }
7735 # Check whether --enable-protocol_file was given.
7736 if test "${enable_protocol_file+set}" = set; then
7737 enableval=$enable_protocol_file;
7738 if test "$enableval" = yes; then
7739 ac_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=yes'
7741 ac_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=no'
7746 LINE=`grep "^wxUSE_PROTOCOL_FILE=" ${wx_arg_cache_file}`
7747 if test "x$LINE" != x ; then
7748 eval "DEFAULT_$LINE"
7753 ac_cv_use_protocol_file='wxUSE_PROTOCOL_FILE='$DEFAULT_wxUSE_PROTOCOL_FILE
7758 eval "$ac_cv_use_protocol_file"
7759 if test "$no_cache" != 1; then
7760 echo $ac_cv_use_protocol_file >> ${wx_arg_cache_file}.tmp
7763 if test "$wxUSE_PROTOCOL_FILE" = yes; then
7764 { echo "$as_me:$LINENO: result: yes" >&5
7765 echo "${ECHO_T}yes" >&6; }
7767 { echo "$as_me:$LINENO: result: no" >&5
7768 echo "${ECHO_T}no" >&6; }
7776 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-threads" >&5
7777 echo $ECHO_N "checking for --${enablestring:-enable}-threads... $ECHO_C" >&6; }
7779 # Check whether --enable-threads was given.
7780 if test "${enable_threads+set}" = set; then
7781 enableval=$enable_threads;
7782 if test "$enableval" = yes; then
7783 ac_cv_use_threads='wxUSE_THREADS=yes'
7785 ac_cv_use_threads='wxUSE_THREADS=no'
7790 LINE=`grep "^wxUSE_THREADS=" ${wx_arg_cache_file}`
7791 if test "x$LINE" != x ; then
7792 eval "DEFAULT_$LINE"
7797 ac_cv_use_threads='wxUSE_THREADS='$DEFAULT_wxUSE_THREADS
7802 eval "$ac_cv_use_threads"
7803 if test "$no_cache" != 1; then
7804 echo $ac_cv_use_threads >> ${wx_arg_cache_file}.tmp
7807 if test "$wxUSE_THREADS" = 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; }
7816 if test "$wxUSE_GUI" = "yes"; then
7821 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-docview" >&5
7822 echo $ECHO_N "checking for --${enablestring:-enable}-docview... $ECHO_C" >&6; }
7824 # Check whether --enable-docview was given.
7825 if test "${enable_docview+set}" = set; then
7826 enableval=$enable_docview;
7827 if test "$enableval" = yes; then
7828 ac_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=yes'
7830 ac_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=no'
7835 LINE=`grep "^wxUSE_DOC_VIEW_ARCHITECTURE=" ${wx_arg_cache_file}`
7836 if test "x$LINE" != x ; then
7837 eval "DEFAULT_$LINE"
7842 ac_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE='$DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE
7847 eval "$ac_cv_use_docview"
7848 if test "$no_cache" != 1; then
7849 echo $ac_cv_use_docview >> ${wx_arg_cache_file}.tmp
7852 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = yes; then
7853 { echo "$as_me:$LINENO: result: yes" >&5
7854 echo "${ECHO_T}yes" >&6; }
7856 { echo "$as_me:$LINENO: result: no" >&5
7857 echo "${ECHO_T}no" >&6; }
7862 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-help" >&5
7863 echo $ECHO_N "checking for --${enablestring:-enable}-help... $ECHO_C" >&6; }
7865 # Check whether --enable-help was given.
7866 if test "${enable_help+set}" = set; then
7867 enableval=$enable_help;
7868 if test "$enableval" = yes; then
7869 ac_cv_use_help='wxUSE_HELP=yes'
7871 ac_cv_use_help='wxUSE_HELP=no'
7876 LINE=`grep "^wxUSE_HELP=" ${wx_arg_cache_file}`
7877 if test "x$LINE" != x ; then
7878 eval "DEFAULT_$LINE"
7883 ac_cv_use_help='wxUSE_HELP='$DEFAULT_wxUSE_HELP
7888 eval "$ac_cv_use_help"
7889 if test "$no_cache" != 1; then
7890 echo $ac_cv_use_help >> ${wx_arg_cache_file}.tmp
7893 if test "$wxUSE_HELP" = yes; then
7894 { echo "$as_me:$LINENO: result: yes" >&5
7895 echo "${ECHO_T}yes" >&6; }
7897 { echo "$as_me:$LINENO: result: no" >&5
7898 echo "${ECHO_T}no" >&6; }
7903 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mshtmlhelp" >&5
7904 echo $ECHO_N "checking for --${enablestring:-enable}-mshtmlhelp... $ECHO_C" >&6; }
7906 # Check whether --enable-mshtmlhelp was given.
7907 if test "${enable_mshtmlhelp+set}" = set; then
7908 enableval=$enable_mshtmlhelp;
7909 if test "$enableval" = yes; then
7910 ac_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=yes'
7912 ac_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=no'
7917 LINE=`grep "^wxUSE_MS_HTML_HELP=" ${wx_arg_cache_file}`
7918 if test "x$LINE" != x ; then
7919 eval "DEFAULT_$LINE"
7924 ac_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP='$DEFAULT_wxUSE_MS_HTML_HELP
7929 eval "$ac_cv_use_mshtmlhelp"
7930 if test "$no_cache" != 1; then
7931 echo $ac_cv_use_mshtmlhelp >> ${wx_arg_cache_file}.tmp
7934 if test "$wxUSE_MS_HTML_HELP" = yes; then
7935 { echo "$as_me:$LINENO: result: yes" >&5
7936 echo "${ECHO_T}yes" >&6; }
7938 { echo "$as_me:$LINENO: result: no" >&5
7939 echo "${ECHO_T}no" >&6; }
7944 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-html" >&5
7945 echo $ECHO_N "checking for --${enablestring:-enable}-html... $ECHO_C" >&6; }
7947 # Check whether --enable-html was given.
7948 if test "${enable_html+set}" = set; then
7949 enableval=$enable_html;
7950 if test "$enableval" = yes; then
7951 ac_cv_use_html='wxUSE_HTML=yes'
7953 ac_cv_use_html='wxUSE_HTML=no'
7958 LINE=`grep "^wxUSE_HTML=" ${wx_arg_cache_file}`
7959 if test "x$LINE" != x ; then
7960 eval "DEFAULT_$LINE"
7965 ac_cv_use_html='wxUSE_HTML='$DEFAULT_wxUSE_HTML
7970 eval "$ac_cv_use_html"
7971 if test "$no_cache" != 1; then
7972 echo $ac_cv_use_html >> ${wx_arg_cache_file}.tmp
7975 if test "$wxUSE_HTML" = yes; then
7976 { echo "$as_me:$LINENO: result: yes" >&5
7977 echo "${ECHO_T}yes" >&6; }
7979 { echo "$as_me:$LINENO: result: no" >&5
7980 echo "${ECHO_T}no" >&6; }
7985 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-htmlhelp" >&5
7986 echo $ECHO_N "checking for --${enablestring:-enable}-htmlhelp... $ECHO_C" >&6; }
7988 # Check whether --enable-htmlhelp was given.
7989 if test "${enable_htmlhelp+set}" = set; then
7990 enableval=$enable_htmlhelp;
7991 if test "$enableval" = yes; then
7992 ac_cv_use_htmlhelp='wxUSE_WXHTML_HELP=yes'
7994 ac_cv_use_htmlhelp='wxUSE_WXHTML_HELP=no'
7999 LINE=`grep "^wxUSE_WXHTML_HELP=" ${wx_arg_cache_file}`
8000 if test "x$LINE" != x ; then
8001 eval "DEFAULT_$LINE"
8006 ac_cv_use_htmlhelp='wxUSE_WXHTML_HELP='$DEFAULT_wxUSE_WXHTML_HELP
8011 eval "$ac_cv_use_htmlhelp"
8012 if test "$no_cache" != 1; then
8013 echo $ac_cv_use_htmlhelp >> ${wx_arg_cache_file}.tmp
8016 if test "$wxUSE_WXHTML_HELP" = yes; then
8017 { echo "$as_me:$LINENO: result: yes" >&5
8018 echo "${ECHO_T}yes" >&6; }
8020 { echo "$as_me:$LINENO: result: no" >&5
8021 echo "${ECHO_T}no" >&6; }
8026 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xrc" >&5
8027 echo $ECHO_N "checking for --${enablestring:-enable}-xrc... $ECHO_C" >&6; }
8029 # Check whether --enable-xrc was given.
8030 if test "${enable_xrc+set}" = set; then
8031 enableval=$enable_xrc;
8032 if test "$enableval" = yes; then
8033 ac_cv_use_xrc='wxUSE_XRC=yes'
8035 ac_cv_use_xrc='wxUSE_XRC=no'
8040 LINE=`grep "^wxUSE_XRC=" ${wx_arg_cache_file}`
8041 if test "x$LINE" != x ; then
8042 eval "DEFAULT_$LINE"
8047 ac_cv_use_xrc='wxUSE_XRC='$DEFAULT_wxUSE_XRC
8052 eval "$ac_cv_use_xrc"
8053 if test "$no_cache" != 1; then
8054 echo $ac_cv_use_xrc >> ${wx_arg_cache_file}.tmp
8057 if test "$wxUSE_XRC" = yes; then
8058 { echo "$as_me:$LINENO: result: yes" >&5
8059 echo "${ECHO_T}yes" >&6; }
8061 { echo "$as_me:$LINENO: result: no" >&5
8062 echo "${ECHO_T}no" >&6; }
8067 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-aui" >&5
8068 echo $ECHO_N "checking for --${enablestring:-enable}-aui... $ECHO_C" >&6; }
8070 # Check whether --enable-aui was given.
8071 if test "${enable_aui+set}" = set; then
8072 enableval=$enable_aui;
8073 if test "$enableval" = yes; then
8074 ac_cv_use_aui='wxUSE_AUI=yes'
8076 ac_cv_use_aui='wxUSE_AUI=no'
8081 LINE=`grep "^wxUSE_AUI=" ${wx_arg_cache_file}`
8082 if test "x$LINE" != x ; then
8083 eval "DEFAULT_$LINE"
8088 ac_cv_use_aui='wxUSE_AUI='$DEFAULT_wxUSE_AUI
8093 eval "$ac_cv_use_aui"
8094 if test "$no_cache" != 1; then
8095 echo $ac_cv_use_aui >> ${wx_arg_cache_file}.tmp
8098 if test "$wxUSE_AUI" = yes; then
8099 { echo "$as_me:$LINENO: result: yes" >&5
8100 echo "${ECHO_T}yes" >&6; }
8102 { echo "$as_me:$LINENO: result: no" >&5
8103 echo "${ECHO_T}no" >&6; }
8108 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stc" >&5
8109 echo $ECHO_N "checking for --${enablestring:-enable}-stc... $ECHO_C" >&6; }
8111 # Check whether --enable-stc was given.
8112 if test "${enable_stc+set}" = set; then
8113 enableval=$enable_stc;
8114 if test "$enableval" = yes; then
8115 ac_cv_use_stc='wxUSE_STC=yes'
8117 ac_cv_use_stc='wxUSE_STC=no'
8122 LINE=`grep "^wxUSE_STC=" ${wx_arg_cache_file}`
8123 if test "x$LINE" != x ; then
8124 eval "DEFAULT_$LINE"
8129 ac_cv_use_stc='wxUSE_STC='$DEFAULT_wxUSE_STC
8134 eval "$ac_cv_use_stc"
8135 if test "$no_cache" != 1; then
8136 echo $ac_cv_use_stc >> ${wx_arg_cache_file}.tmp
8139 if test "$wxUSE_STC" = yes; then
8140 { echo "$as_me:$LINENO: result: yes" >&5
8141 echo "${ECHO_T}yes" >&6; }
8143 { echo "$as_me:$LINENO: result: no" >&5
8144 echo "${ECHO_T}no" >&6; }
8149 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-constraints" >&5
8150 echo $ECHO_N "checking for --${enablestring:-enable}-constraints... $ECHO_C" >&6; }
8152 # Check whether --enable-constraints was given.
8153 if test "${enable_constraints+set}" = set; then
8154 enableval=$enable_constraints;
8155 if test "$enableval" = yes; then
8156 ac_cv_use_constraints='wxUSE_CONSTRAINTS=yes'
8158 ac_cv_use_constraints='wxUSE_CONSTRAINTS=no'
8163 LINE=`grep "^wxUSE_CONSTRAINTS=" ${wx_arg_cache_file}`
8164 if test "x$LINE" != x ; then
8165 eval "DEFAULT_$LINE"
8170 ac_cv_use_constraints='wxUSE_CONSTRAINTS='$DEFAULT_wxUSE_CONSTRAINTS
8175 eval "$ac_cv_use_constraints"
8176 if test "$no_cache" != 1; then
8177 echo $ac_cv_use_constraints >> ${wx_arg_cache_file}.tmp
8180 if test "$wxUSE_CONSTRAINTS" = yes; then
8181 { echo "$as_me:$LINENO: result: yes" >&5
8182 echo "${ECHO_T}yes" >&6; }
8184 { echo "$as_me:$LINENO: result: no" >&5
8185 echo "${ECHO_T}no" >&6; }
8190 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-printarch" >&5
8191 echo $ECHO_N "checking for --${enablestring:-enable}-printarch... $ECHO_C" >&6; }
8193 # Check whether --enable-printarch was given.
8194 if test "${enable_printarch+set}" = set; then
8195 enableval=$enable_printarch;
8196 if test "$enableval" = yes; then
8197 ac_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=yes'
8199 ac_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=no'
8204 LINE=`grep "^wxUSE_PRINTING_ARCHITECTURE=" ${wx_arg_cache_file}`
8205 if test "x$LINE" != x ; then
8206 eval "DEFAULT_$LINE"
8211 ac_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE='$DEFAULT_wxUSE_PRINTING_ARCHITECTURE
8216 eval "$ac_cv_use_printarch"
8217 if test "$no_cache" != 1; then
8218 echo $ac_cv_use_printarch >> ${wx_arg_cache_file}.tmp
8221 if test "$wxUSE_PRINTING_ARCHITECTURE" = yes; then
8222 { echo "$as_me:$LINENO: result: yes" >&5
8223 echo "${ECHO_T}yes" >&6; }
8225 { echo "$as_me:$LINENO: result: no" >&5
8226 echo "${ECHO_T}no" >&6; }
8231 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mdi" >&5
8232 echo $ECHO_N "checking for --${enablestring:-enable}-mdi... $ECHO_C" >&6; }
8234 # Check whether --enable-mdi was given.
8235 if test "${enable_mdi+set}" = set; then
8236 enableval=$enable_mdi;
8237 if test "$enableval" = yes; then
8238 ac_cv_use_mdi='wxUSE_MDI=yes'
8240 ac_cv_use_mdi='wxUSE_MDI=no'
8245 LINE=`grep "^wxUSE_MDI=" ${wx_arg_cache_file}`
8246 if test "x$LINE" != x ; then
8247 eval "DEFAULT_$LINE"
8252 ac_cv_use_mdi='wxUSE_MDI='$DEFAULT_wxUSE_MDI
8257 eval "$ac_cv_use_mdi"
8258 if test "$no_cache" != 1; then
8259 echo $ac_cv_use_mdi >> ${wx_arg_cache_file}.tmp
8262 if test "$wxUSE_MDI" = yes; then
8263 { echo "$as_me:$LINENO: result: yes" >&5
8264 echo "${ECHO_T}yes" >&6; }
8266 { echo "$as_me:$LINENO: result: no" >&5
8267 echo "${ECHO_T}no" >&6; }
8272 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mdidoc" >&5
8273 echo $ECHO_N "checking for --${enablestring:-enable}-mdidoc... $ECHO_C" >&6; }
8275 # Check whether --enable-mdidoc was given.
8276 if test "${enable_mdidoc+set}" = set; then
8277 enableval=$enable_mdidoc;
8278 if test "$enableval" = yes; then
8279 ac_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE=yes'
8281 ac_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE=no'
8286 LINE=`grep "^wxUSE_MDI_ARCHITECTURE=" ${wx_arg_cache_file}`
8287 if test "x$LINE" != x ; then
8288 eval "DEFAULT_$LINE"
8293 ac_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE='$DEFAULT_wxUSE_MDI_ARCHITECTURE
8298 eval "$ac_cv_use_mdidoc"
8299 if test "$no_cache" != 1; then
8300 echo $ac_cv_use_mdidoc >> ${wx_arg_cache_file}.tmp
8303 if test "$wxUSE_MDI_ARCHITECTURE" = yes; then
8304 { echo "$as_me:$LINENO: result: yes" >&5
8305 echo "${ECHO_T}yes" >&6; }
8307 { echo "$as_me:$LINENO: result: no" >&5
8308 echo "${ECHO_T}no" >&6; }
8313 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-loggui" >&5
8314 echo $ECHO_N "checking for --${enablestring:-enable}-loggui... $ECHO_C" >&6; }
8316 # Check whether --enable-loggui was given.
8317 if test "${enable_loggui+set}" = set; then
8318 enableval=$enable_loggui;
8319 if test "$enableval" = yes; then
8320 ac_cv_use_loggui='wxUSE_LOGGUI=yes'
8322 ac_cv_use_loggui='wxUSE_LOGGUI=no'
8327 LINE=`grep "^wxUSE_LOGGUI=" ${wx_arg_cache_file}`
8328 if test "x$LINE" != x ; then
8329 eval "DEFAULT_$LINE"
8334 ac_cv_use_loggui='wxUSE_LOGGUI='$DEFAULT_wxUSE_LOGGUI
8339 eval "$ac_cv_use_loggui"
8340 if test "$no_cache" != 1; then
8341 echo $ac_cv_use_loggui >> ${wx_arg_cache_file}.tmp
8344 if test "$wxUSE_LOGGUI" = yes; then
8345 { echo "$as_me:$LINENO: result: yes" >&5
8346 echo "${ECHO_T}yes" >&6; }
8348 { echo "$as_me:$LINENO: result: no" >&5
8349 echo "${ECHO_T}no" >&6; }
8354 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logwin" >&5
8355 echo $ECHO_N "checking for --${enablestring:-enable}-logwin... $ECHO_C" >&6; }
8357 # Check whether --enable-logwin was given.
8358 if test "${enable_logwin+set}" = set; then
8359 enableval=$enable_logwin;
8360 if test "$enableval" = yes; then
8361 ac_cv_use_logwin='wxUSE_LOGWINDOW=yes'
8363 ac_cv_use_logwin='wxUSE_LOGWINDOW=no'
8368 LINE=`grep "^wxUSE_LOGWINDOW=" ${wx_arg_cache_file}`
8369 if test "x$LINE" != x ; then
8370 eval "DEFAULT_$LINE"
8375 ac_cv_use_logwin='wxUSE_LOGWINDOW='$DEFAULT_wxUSE_LOGWINDOW
8380 eval "$ac_cv_use_logwin"
8381 if test "$no_cache" != 1; then
8382 echo $ac_cv_use_logwin >> ${wx_arg_cache_file}.tmp
8385 if test "$wxUSE_LOGWINDOW" = yes; then
8386 { echo "$as_me:$LINENO: result: yes" >&5
8387 echo "${ECHO_T}yes" >&6; }
8389 { echo "$as_me:$LINENO: result: no" >&5
8390 echo "${ECHO_T}no" >&6; }
8395 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logdialog" >&5
8396 echo $ECHO_N "checking for --${enablestring:-enable}-logdialog... $ECHO_C" >&6; }
8398 # Check whether --enable-logdialog was given.
8399 if test "${enable_logdialog+set}" = set; then
8400 enableval=$enable_logdialog;
8401 if test "$enableval" = yes; then
8402 ac_cv_use_logdialog='wxUSE_LOGDIALOG=yes'
8404 ac_cv_use_logdialog='wxUSE_LOGDIALOG=no'
8409 LINE=`grep "^wxUSE_LOGDIALOG=" ${wx_arg_cache_file}`
8410 if test "x$LINE" != x ; then
8411 eval "DEFAULT_$LINE"
8416 ac_cv_use_logdialog='wxUSE_LOGDIALOG='$DEFAULT_wxUSE_LOGDIALOG
8421 eval "$ac_cv_use_logdialog"
8422 if test "$no_cache" != 1; then
8423 echo $ac_cv_use_logdialog >> ${wx_arg_cache_file}.tmp
8426 if test "$wxUSE_LOGDIALOG" = yes; then
8427 { echo "$as_me:$LINENO: result: yes" >&5
8428 echo "${ECHO_T}yes" >&6; }
8430 { echo "$as_me:$LINENO: result: no" >&5
8431 echo "${ECHO_T}no" >&6; }
8436 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-webkit" >&5
8437 echo $ECHO_N "checking for --${enablestring:-enable}-webkit... $ECHO_C" >&6; }
8439 # Check whether --enable-webkit was given.
8440 if test "${enable_webkit+set}" = set; then
8441 enableval=$enable_webkit;
8442 if test "$enableval" = yes; then
8443 ac_cv_use_webkit='wxUSE_WEBKIT=yes'
8445 ac_cv_use_webkit='wxUSE_WEBKIT=no'
8450 LINE=`grep "^wxUSE_WEBKIT=" ${wx_arg_cache_file}`
8451 if test "x$LINE" != x ; then
8452 eval "DEFAULT_$LINE"
8457 ac_cv_use_webkit='wxUSE_WEBKIT='$DEFAULT_wxUSE_WEBKIT
8462 eval "$ac_cv_use_webkit"
8463 if test "$no_cache" != 1; then
8464 echo $ac_cv_use_webkit >> ${wx_arg_cache_file}.tmp
8467 if test "$wxUSE_WEBKIT" = yes; then
8468 { echo "$as_me:$LINENO: result: yes" >&5
8469 echo "${ECHO_T}yes" >&6; }
8471 { echo "$as_me:$LINENO: result: no" >&5
8472 echo "${ECHO_T}no" >&6; }
8477 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-richtext" >&5
8478 echo $ECHO_N "checking for --${enablestring:-enable}-richtext... $ECHO_C" >&6; }
8480 # Check whether --enable-richtext was given.
8481 if test "${enable_richtext+set}" = set; then
8482 enableval=$enable_richtext;
8483 if test "$enableval" = yes; then
8484 ac_cv_use_richtext='wxUSE_RICHTEXT=yes'
8486 ac_cv_use_richtext='wxUSE_RICHTEXT=no'
8491 LINE=`grep "^wxUSE_RICHTEXT=" ${wx_arg_cache_file}`
8492 if test "x$LINE" != x ; then
8493 eval "DEFAULT_$LINE"
8498 ac_cv_use_richtext='wxUSE_RICHTEXT='$DEFAULT_wxUSE_RICHTEXT
8503 eval "$ac_cv_use_richtext"
8504 if test "$no_cache" != 1; then
8505 echo $ac_cv_use_richtext >> ${wx_arg_cache_file}.tmp
8508 if test "$wxUSE_RICHTEXT" = yes; then
8509 { echo "$as_me:$LINENO: result: yes" >&5
8510 echo "${ECHO_T}yes" >&6; }
8512 { echo "$as_me:$LINENO: result: no" >&5
8513 echo "${ECHO_T}no" >&6; }
8518 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-graphics_ctx" >&5
8519 echo $ECHO_N "checking for --${enablestring:-enable}-graphics_ctx... $ECHO_C" >&6; }
8521 # Check whether --enable-graphics_ctx was given.
8522 if test "${enable_graphics_ctx+set}" = set; then
8523 enableval=$enable_graphics_ctx;
8524 if test "$enableval" = yes; then
8525 ac_cv_use_graphics_ctx='wxUSE_GRAPHICS_CONTEXT=yes'
8527 ac_cv_use_graphics_ctx='wxUSE_GRAPHICS_CONTEXT=no'
8532 LINE=`grep "^wxUSE_GRAPHICS_CONTEXT=" ${wx_arg_cache_file}`
8533 if test "x$LINE" != x ; then
8534 eval "DEFAULT_$LINE"
8539 ac_cv_use_graphics_ctx='wxUSE_GRAPHICS_CONTEXT='$DEFAULT_wxUSE_GRAPHICS_CONTEXT
8544 eval "$ac_cv_use_graphics_ctx"
8545 if test "$no_cache" != 1; then
8546 echo $ac_cv_use_graphics_ctx >> ${wx_arg_cache_file}.tmp
8549 if test "$wxUSE_GRAPHICS_CONTEXT" = yes; then
8550 { echo "$as_me:$LINENO: result: yes" >&5
8551 echo "${ECHO_T}yes" >&6; }
8553 { echo "$as_me:$LINENO: result: no" >&5
8554 echo "${ECHO_T}no" >&6; }
8560 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-postscript" >&5
8561 echo $ECHO_N "checking for --${enablestring:-enable}-postscript... $ECHO_C" >&6; }
8563 # Check whether --enable-postscript was given.
8564 if test "${enable_postscript+set}" = set; then
8565 enableval=$enable_postscript;
8566 if test "$enableval" = yes; then
8567 ac_cv_use_postscript='wxUSE_POSTSCRIPT=yes'
8569 ac_cv_use_postscript='wxUSE_POSTSCRIPT=no'
8574 LINE=`grep "^wxUSE_POSTSCRIPT=" ${wx_arg_cache_file}`
8575 if test "x$LINE" != x ; then
8576 eval "DEFAULT_$LINE"
8581 ac_cv_use_postscript='wxUSE_POSTSCRIPT='$DEFAULT_wxUSE_POSTSCRIPT
8586 eval "$ac_cv_use_postscript"
8587 if test "$no_cache" != 1; then
8588 echo $ac_cv_use_postscript >> ${wx_arg_cache_file}.tmp
8591 if test "$wxUSE_POSTSCRIPT" = yes; then
8592 { echo "$as_me:$LINENO: result: yes" >&5
8593 echo "${ECHO_T}yes" >&6; }
8595 { echo "$as_me:$LINENO: result: no" >&5
8596 echo "${ECHO_T}no" >&6; }
8604 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-clipboard" >&5
8605 echo $ECHO_N "checking for --${enablestring:-enable}-clipboard... $ECHO_C" >&6; }
8607 # Check whether --enable-clipboard was given.
8608 if test "${enable_clipboard+set}" = set; then
8609 enableval=$enable_clipboard;
8610 if test "$enableval" = yes; then
8611 ac_cv_use_clipboard='wxUSE_CLIPBOARD=yes'
8613 ac_cv_use_clipboard='wxUSE_CLIPBOARD=no'
8618 LINE=`grep "^wxUSE_CLIPBOARD=" ${wx_arg_cache_file}`
8619 if test "x$LINE" != x ; then
8620 eval "DEFAULT_$LINE"
8625 ac_cv_use_clipboard='wxUSE_CLIPBOARD='$DEFAULT_wxUSE_CLIPBOARD
8630 eval "$ac_cv_use_clipboard"
8631 if test "$no_cache" != 1; then
8632 echo $ac_cv_use_clipboard >> ${wx_arg_cache_file}.tmp
8635 if test "$wxUSE_CLIPBOARD" = 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; }
8645 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dnd" >&5
8646 echo $ECHO_N "checking for --${enablestring:-enable}-dnd... $ECHO_C" >&6; }
8648 # Check whether --enable-dnd was given.
8649 if test "${enable_dnd+set}" = set; then
8650 enableval=$enable_dnd;
8651 if test "$enableval" = yes; then
8652 ac_cv_use_dnd='wxUSE_DRAG_AND_DROP=yes'
8654 ac_cv_use_dnd='wxUSE_DRAG_AND_DROP=no'
8659 LINE=`grep "^wxUSE_DRAG_AND_DROP=" ${wx_arg_cache_file}`
8660 if test "x$LINE" != x ; then
8661 eval "DEFAULT_$LINE"
8666 ac_cv_use_dnd='wxUSE_DRAG_AND_DROP='$DEFAULT_wxUSE_DRAG_AND_DROP
8671 eval "$ac_cv_use_dnd"
8672 if test "$no_cache" != 1; then
8673 echo $ac_cv_use_dnd >> ${wx_arg_cache_file}.tmp
8676 if test "$wxUSE_DRAG_AND_DROP" = yes; then
8677 { echo "$as_me:$LINENO: result: yes" >&5
8678 echo "${ECHO_T}yes" >&6; }
8680 { echo "$as_me:$LINENO: result: no" >&5
8681 echo "${ECHO_T}no" >&6; }
8686 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
8687 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6; }
8689 # Check whether --enable-metafile was given.
8690 if test "${enable_metafile+set}" = set; then
8691 enableval=$enable_metafile;
8692 if test "$enableval" = yes; then
8693 ac_cv_use_metafile='wxUSE_METAFILE=yes'
8695 ac_cv_use_metafile='wxUSE_METAFILE=no'
8700 LINE=`grep "^wxUSE_METAFILE=" ${wx_arg_cache_file}`
8701 if test "x$LINE" != x ; then
8702 eval "DEFAULT_$LINE"
8707 ac_cv_use_metafile='wxUSE_METAFILE='$DEFAULT_wxUSE_METAFILE
8712 eval "$ac_cv_use_metafile"
8713 if test "$no_cache" != 1; then
8714 echo $ac_cv_use_metafile >> ${wx_arg_cache_file}.tmp
8717 if test "$wxUSE_METAFILE" = yes; then
8718 { echo "$as_me:$LINENO: result: yes" >&5
8719 echo "${ECHO_T}yes" >&6; }
8721 { echo "$as_me:$LINENO: result: no" >&5
8722 echo "${ECHO_T}no" >&6; }
8730 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-controls" >&5
8731 echo $ECHO_N "checking for --${enablestring:-enable}-controls... $ECHO_C" >&6; }
8733 # Check whether --enable-controls was given.
8734 if test "${enable_controls+set}" = set; then
8735 enableval=$enable_controls;
8736 if test "$enableval" = yes; then
8737 ac_cv_use_controls='wxUSE_CONTROLS=yes'
8739 ac_cv_use_controls='wxUSE_CONTROLS=no'
8744 LINE=`grep "^wxUSE_CONTROLS=" ${wx_arg_cache_file}`
8745 if test "x$LINE" != x ; then
8746 eval "DEFAULT_$LINE"
8751 ac_cv_use_controls='wxUSE_CONTROLS='$DEFAULT_wxUSE_CONTROLS
8756 eval "$ac_cv_use_controls"
8757 if test "$no_cache" != 1; then
8758 echo $ac_cv_use_controls >> ${wx_arg_cache_file}.tmp
8761 if test "$wxUSE_CONTROLS" = 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; }
8770 if test "$wxUSE_CONTROLS" = "yes"; then
8771 DEFAULT_wxUSE_ACCEL=yes
8772 DEFAULT_wxUSE_ANIMATIONCTRL=yes
8773 DEFAULT_wxUSE_BMPBUTTON=yes
8774 DEFAULT_wxUSE_BUTTON=yes
8775 DEFAULT_wxUSE_CALCTRL=yes
8776 DEFAULT_wxUSE_CARET=yes
8777 DEFAULT_wxUSE_COMBOBOX=yes
8778 DEFAULT_wxUSE_CHECKBOX=yes
8779 DEFAULT_wxUSE_CHECKLISTBOX=yes
8780 DEFAULT_wxUSE_CHOICE=yes
8781 DEFAULT_wxUSE_CHOICEBOOK=yes
8782 DEFAULT_wxUSE_COLLPANE=yes
8783 DEFAULT_wxUSE_COLOURPICKERCTRL=yes
8784 DEFAULT_wxUSE_COMBOBOX=yes
8785 DEFAULT_wxUSE_DATEPICKCTRL=yes
8786 DEFAULT_wxUSE_DISPLAY=yes
8787 DEFAULT_wxUSE_DETECT_SM=yes
8788 DEFAULT_wxUSE_DIRPICKERCTRL=yes
8789 DEFAULT_wxUSE_FILEPICKERCTRL=yes
8790 DEFAULT_wxUSE_FONTPICKERCTRL=yes
8791 DEFAULT_wxUSE_GAUGE=yes
8792 DEFAULT_wxUSE_GRID=yes
8793 DEFAULT_wxUSE_HYPERLINKCTRL=yes
8794 DEFAULT_wxUSE_DATAVIEWCTRL=no
8795 DEFAULT_wxUSE_IMAGLIST=yes
8796 DEFAULT_wxUSE_LISTBOOK=yes
8797 DEFAULT_wxUSE_LISTBOX=yes
8798 DEFAULT_wxUSE_LISTCTRL=yes
8799 DEFAULT_wxUSE_NOTEBOOK=yes
8800 DEFAULT_wxUSE_RADIOBOX=yes
8801 DEFAULT_wxUSE_RADIOBTN=yes
8802 DEFAULT_wxUSE_SASH=yes
8803 DEFAULT_wxUSE_SCROLLBAR=yes
8804 DEFAULT_wxUSE_SEARCHCTRL=yes
8805 DEFAULT_wxUSE_SLIDER=yes
8806 DEFAULT_wxUSE_SPINBTN=yes
8807 DEFAULT_wxUSE_SPINCTRL=yes
8808 DEFAULT_wxUSE_SPLITTER=yes
8809 DEFAULT_wxUSE_STATBMP=yes
8810 DEFAULT_wxUSE_STATBOX=yes
8811 DEFAULT_wxUSE_STATLINE=yes
8812 DEFAULT_wxUSE_STATUSBAR=yes
8813 DEFAULT_wxUSE_TAB_DIALOG=yes
8814 DEFAULT_wxUSE_TOGGLEBTN=yes
8815 DEFAULT_wxUSE_TOOLBAR=yes
8816 DEFAULT_wxUSE_TOOLBAR_NATIVE=yes
8817 DEFAULT_wxUSE_TOOLTIPS=yes
8818 DEFAULT_wxUSE_TREEBOOK=yes
8819 DEFAULT_wxUSE_TOOLBOOK=yes
8820 DEFAULT_wxUSE_TREECTRL=yes
8821 DEFAULT_wxUSE_POPUPWIN=yes
8822 DEFAULT_wxUSE_TIPWINDOW=yes
8823 elif test "$wxUSE_CONTROLS" = "no"; then
8824 DEFAULT_wxUSE_ACCEL=no
8825 DEFAULT_wxUSE_ANIMATIONCTRL=no
8826 DEFAULT_wxUSE_BMPBUTTON=no
8827 DEFAULT_wxUSE_BUTTON=no
8828 DEFAULT_wxUSE_CALCTRL=no
8829 DEFAULT_wxUSE_CARET=no
8830 DEFAULT_wxUSE_COLLPANE=no
8831 DEFAULT_wxUSE_COMBOBOX=no
8832 DEFAULT_wxUSE_CHECKBOX=no
8833 DEFAULT_wxUSE_CHECKLISTBOX=no
8834 DEFAULT_wxUSE_CHOICE=no
8835 DEFAULT_wxUSE_CHOICEBOOK=no
8836 DEFAULT_wxUSE_COLOURPICKERCTRL=no
8837 DEFAULT_wxUSE_COMBOBOX=no
8838 DEFAULT_wxUSE_DATEPICKCTRL=no
8839 DEFAULT_wxUSE_DISPLAY=no
8840 DEFAULT_wxUSE_DETECT_SM=no
8841 DEFAULT_wxUSE_DIRPICKERCTRL=no
8842 DEFAULT_wxUSE_FILEPICKERCTRL=no
8843 DEFAULT_wxUSE_FONTPICKERCTRL=no
8844 DEFAULT_wxUSE_GAUGE=no
8845 DEFAULT_wxUSE_GRID=no
8846 DEFAULT_wxUSE_HYPERLINKCTRL=no
8847 DEFAULT_wxUSE_DATAVIEWCTRL=no
8848 DEFAULT_wxUSE_IMAGLIST=no
8849 DEFAULT_wxUSE_LISTBOOK=no
8850 DEFAULT_wxUSE_LISTBOX=no
8851 DEFAULT_wxUSE_LISTCTRL=no
8852 DEFAULT_wxUSE_NOTEBOOK=no
8853 DEFAULT_wxUSE_RADIOBOX=no
8854 DEFAULT_wxUSE_RADIOBTN=no
8855 DEFAULT_wxUSE_SASH=no
8856 DEFAULT_wxUSE_SCROLLBAR=no
8857 DEFAULT_wxUSE_SEARCHCTRL=no
8858 DEFAULT_wxUSE_SLIDER=no
8859 DEFAULT_wxUSE_SPINBTN=no
8860 DEFAULT_wxUSE_SPINCTRL=no
8861 DEFAULT_wxUSE_SPLITTER=no
8862 DEFAULT_wxUSE_STATBMP=no
8863 DEFAULT_wxUSE_STATBOX=no
8864 DEFAULT_wxUSE_STATLINE=no
8865 DEFAULT_wxUSE_STATUSBAR=no
8866 DEFAULT_wxUSE_TAB_DIALOG=no
8867 DEFAULT_wxUSE_TOGGLEBTN=no
8868 DEFAULT_wxUSE_TOOLBAR=no
8869 DEFAULT_wxUSE_TOOLBAR_NATIVE=no
8870 DEFAULT_wxUSE_TOOLTIPS=no
8871 DEFAULT_wxUSE_TREEBOOK=no
8872 DEFAULT_wxUSE_TOOLBOOK=no
8873 DEFAULT_wxUSE_TREECTRL=no
8874 DEFAULT_wxUSE_POPUPWIN=no
8875 DEFAULT_wxUSE_TIPWINDOW=no
8880 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accel" >&5
8881 echo $ECHO_N "checking for --${enablestring:-enable}-accel... $ECHO_C" >&6; }
8883 # Check whether --enable-accel was given.
8884 if test "${enable_accel+set}" = set; then
8885 enableval=$enable_accel;
8886 if test "$enableval" = yes; then
8887 ac_cv_use_accel='wxUSE_ACCEL=yes'
8889 ac_cv_use_accel='wxUSE_ACCEL=no'
8894 LINE=`grep "^wxUSE_ACCEL=" ${wx_arg_cache_file}`
8895 if test "x$LINE" != x ; then
8896 eval "DEFAULT_$LINE"
8901 ac_cv_use_accel='wxUSE_ACCEL='$DEFAULT_wxUSE_ACCEL
8906 eval "$ac_cv_use_accel"
8907 if test "$no_cache" != 1; then
8908 echo $ac_cv_use_accel >> ${wx_arg_cache_file}.tmp
8911 if test "$wxUSE_ACCEL" = yes; then
8912 { echo "$as_me:$LINENO: result: yes" >&5
8913 echo "${ECHO_T}yes" >&6; }
8915 { echo "$as_me:$LINENO: result: no" >&5
8916 echo "${ECHO_T}no" >&6; }
8921 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-animatectrl" >&5
8922 echo $ECHO_N "checking for --${enablestring:-enable}-animatectrl... $ECHO_C" >&6; }
8924 # Check whether --enable-animatectrl was given.
8925 if test "${enable_animatectrl+set}" = set; then
8926 enableval=$enable_animatectrl;
8927 if test "$enableval" = yes; then
8928 ac_cv_use_animatectrl='wxUSE_ANIMATIONCTRL=yes'
8930 ac_cv_use_animatectrl='wxUSE_ANIMATIONCTRL=no'
8935 LINE=`grep "^wxUSE_ANIMATIONCTRL=" ${wx_arg_cache_file}`
8936 if test "x$LINE" != x ; then
8937 eval "DEFAULT_$LINE"
8942 ac_cv_use_animatectrl='wxUSE_ANIMATIONCTRL='$DEFAULT_wxUSE_ANIMATIONCTRL
8947 eval "$ac_cv_use_animatectrl"
8948 if test "$no_cache" != 1; then
8949 echo $ac_cv_use_animatectrl >> ${wx_arg_cache_file}.tmp
8952 if test "$wxUSE_ANIMATIONCTRL" = yes; then
8953 { echo "$as_me:$LINENO: result: yes" >&5
8954 echo "${ECHO_T}yes" >&6; }
8956 { echo "$as_me:$LINENO: result: no" >&5
8957 echo "${ECHO_T}no" >&6; }
8962 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-button" >&5
8963 echo $ECHO_N "checking for --${enablestring:-enable}-button... $ECHO_C" >&6; }
8965 # Check whether --enable-button was given.
8966 if test "${enable_button+set}" = set; then
8967 enableval=$enable_button;
8968 if test "$enableval" = yes; then
8969 ac_cv_use_button='wxUSE_BUTTON=yes'
8971 ac_cv_use_button='wxUSE_BUTTON=no'
8976 LINE=`grep "^wxUSE_BUTTON=" ${wx_arg_cache_file}`
8977 if test "x$LINE" != x ; then
8978 eval "DEFAULT_$LINE"
8983 ac_cv_use_button='wxUSE_BUTTON='$DEFAULT_wxUSE_BUTTON
8988 eval "$ac_cv_use_button"
8989 if test "$no_cache" != 1; then
8990 echo $ac_cv_use_button >> ${wx_arg_cache_file}.tmp
8993 if test "$wxUSE_BUTTON" = yes; then
8994 { echo "$as_me:$LINENO: result: yes" >&5
8995 echo "${ECHO_T}yes" >&6; }
8997 { echo "$as_me:$LINENO: result: no" >&5
8998 echo "${ECHO_T}no" >&6; }
9003 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-bmpbutton" >&5
9004 echo $ECHO_N "checking for --${enablestring:-enable}-bmpbutton... $ECHO_C" >&6; }
9006 # Check whether --enable-bmpbutton was given.
9007 if test "${enable_bmpbutton+set}" = set; then
9008 enableval=$enable_bmpbutton;
9009 if test "$enableval" = yes; then
9010 ac_cv_use_bmpbutton='wxUSE_BMPBUTTON=yes'
9012 ac_cv_use_bmpbutton='wxUSE_BMPBUTTON=no'
9017 LINE=`grep "^wxUSE_BMPBUTTON=" ${wx_arg_cache_file}`
9018 if test "x$LINE" != x ; then
9019 eval "DEFAULT_$LINE"
9024 ac_cv_use_bmpbutton='wxUSE_BMPBUTTON='$DEFAULT_wxUSE_BMPBUTTON
9029 eval "$ac_cv_use_bmpbutton"
9030 if test "$no_cache" != 1; then
9031 echo $ac_cv_use_bmpbutton >> ${wx_arg_cache_file}.tmp
9034 if test "$wxUSE_BMPBUTTON" = yes; then
9035 { echo "$as_me:$LINENO: result: yes" >&5
9036 echo "${ECHO_T}yes" >&6; }
9038 { echo "$as_me:$LINENO: result: no" >&5
9039 echo "${ECHO_T}no" >&6; }
9044 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-bmpcombobox" >&5
9045 echo $ECHO_N "checking for --${enablestring:-enable}-bmpcombobox... $ECHO_C" >&6; }
9047 # Check whether --enable-bmpcombobox was given.
9048 if test "${enable_bmpcombobox+set}" = set; then
9049 enableval=$enable_bmpcombobox;
9050 if test "$enableval" = yes; then
9051 ac_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX=yes'
9053 ac_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX=no'
9058 LINE=`grep "^wxUSE_BITMAPCOMBOBOX=" ${wx_arg_cache_file}`
9059 if test "x$LINE" != x ; then
9060 eval "DEFAULT_$LINE"
9065 ac_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX='$DEFAULT_wxUSE_BITMAPCOMBOBOX
9070 eval "$ac_cv_use_bmpcombobox"
9071 if test "$no_cache" != 1; then
9072 echo $ac_cv_use_bmpcombobox >> ${wx_arg_cache_file}.tmp
9075 if test "$wxUSE_BITMAPCOMBOBOX" = yes; then
9076 { echo "$as_me:$LINENO: result: yes" >&5
9077 echo "${ECHO_T}yes" >&6; }
9079 { echo "$as_me:$LINENO: result: no" >&5
9080 echo "${ECHO_T}no" >&6; }
9085 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-calendar" >&5
9086 echo $ECHO_N "checking for --${enablestring:-enable}-calendar... $ECHO_C" >&6; }
9088 # Check whether --enable-calendar was given.
9089 if test "${enable_calendar+set}" = set; then
9090 enableval=$enable_calendar;
9091 if test "$enableval" = yes; then
9092 ac_cv_use_calendar='wxUSE_CALCTRL=yes'
9094 ac_cv_use_calendar='wxUSE_CALCTRL=no'
9099 LINE=`grep "^wxUSE_CALCTRL=" ${wx_arg_cache_file}`
9100 if test "x$LINE" != x ; then
9101 eval "DEFAULT_$LINE"
9106 ac_cv_use_calendar='wxUSE_CALCTRL='$DEFAULT_wxUSE_CALCTRL
9111 eval "$ac_cv_use_calendar"
9112 if test "$no_cache" != 1; then
9113 echo $ac_cv_use_calendar >> ${wx_arg_cache_file}.tmp
9116 if test "$wxUSE_CALCTRL" = yes; then
9117 { echo "$as_me:$LINENO: result: yes" >&5
9118 echo "${ECHO_T}yes" >&6; }
9120 { echo "$as_me:$LINENO: result: no" >&5
9121 echo "${ECHO_T}no" >&6; }
9126 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-caret" >&5
9127 echo $ECHO_N "checking for --${enablestring:-enable}-caret... $ECHO_C" >&6; }
9129 # Check whether --enable-caret was given.
9130 if test "${enable_caret+set}" = set; then
9131 enableval=$enable_caret;
9132 if test "$enableval" = yes; then
9133 ac_cv_use_caret='wxUSE_CARET=yes'
9135 ac_cv_use_caret='wxUSE_CARET=no'
9140 LINE=`grep "^wxUSE_CARET=" ${wx_arg_cache_file}`
9141 if test "x$LINE" != x ; then
9142 eval "DEFAULT_$LINE"
9147 ac_cv_use_caret='wxUSE_CARET='$DEFAULT_wxUSE_CARET
9152 eval "$ac_cv_use_caret"
9153 if test "$no_cache" != 1; then
9154 echo $ac_cv_use_caret >> ${wx_arg_cache_file}.tmp
9157 if test "$wxUSE_CARET" = yes; then
9158 { echo "$as_me:$LINENO: result: yes" >&5
9159 echo "${ECHO_T}yes" >&6; }
9161 { echo "$as_me:$LINENO: result: no" >&5
9162 echo "${ECHO_T}no" >&6; }
9167 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checkbox" >&5
9168 echo $ECHO_N "checking for --${enablestring:-enable}-checkbox... $ECHO_C" >&6; }
9170 # Check whether --enable-checkbox was given.
9171 if test "${enable_checkbox+set}" = set; then
9172 enableval=$enable_checkbox;
9173 if test "$enableval" = yes; then
9174 ac_cv_use_checkbox='wxUSE_CHECKBOX=yes'
9176 ac_cv_use_checkbox='wxUSE_CHECKBOX=no'
9181 LINE=`grep "^wxUSE_CHECKBOX=" ${wx_arg_cache_file}`
9182 if test "x$LINE" != x ; then
9183 eval "DEFAULT_$LINE"
9188 ac_cv_use_checkbox='wxUSE_CHECKBOX='$DEFAULT_wxUSE_CHECKBOX
9193 eval "$ac_cv_use_checkbox"
9194 if test "$no_cache" != 1; then
9195 echo $ac_cv_use_checkbox >> ${wx_arg_cache_file}.tmp
9198 if test "$wxUSE_CHECKBOX" = yes; then
9199 { echo "$as_me:$LINENO: result: yes" >&5
9200 echo "${ECHO_T}yes" >&6; }
9202 { echo "$as_me:$LINENO: result: no" >&5
9203 echo "${ECHO_T}no" >&6; }
9208 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checklst" >&5
9209 echo $ECHO_N "checking for --${enablestring:-enable}-checklst... $ECHO_C" >&6; }
9211 # Check whether --enable-checklst was given.
9212 if test "${enable_checklst+set}" = set; then
9213 enableval=$enable_checklst;
9214 if test "$enableval" = yes; then
9215 ac_cv_use_checklst='wxUSE_CHECKLST=yes'
9217 ac_cv_use_checklst='wxUSE_CHECKLST=no'
9222 LINE=`grep "^wxUSE_CHECKLST=" ${wx_arg_cache_file}`
9223 if test "x$LINE" != x ; then
9224 eval "DEFAULT_$LINE"
9229 ac_cv_use_checklst='wxUSE_CHECKLST='$DEFAULT_wxUSE_CHECKLST
9234 eval "$ac_cv_use_checklst"
9235 if test "$no_cache" != 1; then
9236 echo $ac_cv_use_checklst >> ${wx_arg_cache_file}.tmp
9239 if test "$wxUSE_CHECKLST" = yes; then
9240 { echo "$as_me:$LINENO: result: yes" >&5
9241 echo "${ECHO_T}yes" >&6; }
9243 { echo "$as_me:$LINENO: result: no" >&5
9244 echo "${ECHO_T}no" >&6; }
9249 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choice" >&5
9250 echo $ECHO_N "checking for --${enablestring:-enable}-choice... $ECHO_C" >&6; }
9252 # Check whether --enable-choice was given.
9253 if test "${enable_choice+set}" = set; then
9254 enableval=$enable_choice;
9255 if test "$enableval" = yes; then
9256 ac_cv_use_choice='wxUSE_CHOICE=yes'
9258 ac_cv_use_choice='wxUSE_CHOICE=no'
9263 LINE=`grep "^wxUSE_CHOICE=" ${wx_arg_cache_file}`
9264 if test "x$LINE" != x ; then
9265 eval "DEFAULT_$LINE"
9270 ac_cv_use_choice='wxUSE_CHOICE='$DEFAULT_wxUSE_CHOICE
9275 eval "$ac_cv_use_choice"
9276 if test "$no_cache" != 1; then
9277 echo $ac_cv_use_choice >> ${wx_arg_cache_file}.tmp
9280 if test "$wxUSE_CHOICE" = yes; then
9281 { echo "$as_me:$LINENO: result: yes" >&5
9282 echo "${ECHO_T}yes" >&6; }
9284 { echo "$as_me:$LINENO: result: no" >&5
9285 echo "${ECHO_T}no" >&6; }
9290 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choicebook" >&5
9291 echo $ECHO_N "checking for --${enablestring:-enable}-choicebook... $ECHO_C" >&6; }
9293 # Check whether --enable-choicebook was given.
9294 if test "${enable_choicebook+set}" = set; then
9295 enableval=$enable_choicebook;
9296 if test "$enableval" = yes; then
9297 ac_cv_use_choicebook='wxUSE_CHOICEBOOK=yes'
9299 ac_cv_use_choicebook='wxUSE_CHOICEBOOK=no'
9304 LINE=`grep "^wxUSE_CHOICEBOOK=" ${wx_arg_cache_file}`
9305 if test "x$LINE" != x ; then
9306 eval "DEFAULT_$LINE"
9311 ac_cv_use_choicebook='wxUSE_CHOICEBOOK='$DEFAULT_wxUSE_CHOICEBOOK
9316 eval "$ac_cv_use_choicebook"
9317 if test "$no_cache" != 1; then
9318 echo $ac_cv_use_choicebook >> ${wx_arg_cache_file}.tmp
9321 if test "$wxUSE_CHOICEBOOK" = yes; then
9322 { echo "$as_me:$LINENO: result: yes" >&5
9323 echo "${ECHO_T}yes" >&6; }
9325 { echo "$as_me:$LINENO: result: no" >&5
9326 echo "${ECHO_T}no" >&6; }
9331 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-collpane" >&5
9332 echo $ECHO_N "checking for --${enablestring:-enable}-collpane... $ECHO_C" >&6; }
9334 # Check whether --enable-collpane was given.
9335 if test "${enable_collpane+set}" = set; then
9336 enableval=$enable_collpane;
9337 if test "$enableval" = yes; then
9338 ac_cv_use_collpane='wxUSE_COLLPANE=yes'
9340 ac_cv_use_collpane='wxUSE_COLLPANE=no'
9345 LINE=`grep "^wxUSE_COLLPANE=" ${wx_arg_cache_file}`
9346 if test "x$LINE" != x ; then
9347 eval "DEFAULT_$LINE"
9352 ac_cv_use_collpane='wxUSE_COLLPANE='$DEFAULT_wxUSE_COLLPANE
9357 eval "$ac_cv_use_collpane"
9358 if test "$no_cache" != 1; then
9359 echo $ac_cv_use_collpane >> ${wx_arg_cache_file}.tmp
9362 if test "$wxUSE_COLLPANE" = yes; then
9363 { echo "$as_me:$LINENO: result: yes" >&5
9364 echo "${ECHO_T}yes" >&6; }
9366 { echo "$as_me:$LINENO: result: no" >&5
9367 echo "${ECHO_T}no" >&6; }
9372 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-colourpicker" >&5
9373 echo $ECHO_N "checking for --${enablestring:-enable}-colourpicker... $ECHO_C" >&6; }
9375 # Check whether --enable-colourpicker was given.
9376 if test "${enable_colourpicker+set}" = set; then
9377 enableval=$enable_colourpicker;
9378 if test "$enableval" = yes; then
9379 ac_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL=yes'
9381 ac_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL=no'
9386 LINE=`grep "^wxUSE_COLOURPICKERCTRL=" ${wx_arg_cache_file}`
9387 if test "x$LINE" != x ; then
9388 eval "DEFAULT_$LINE"
9393 ac_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL='$DEFAULT_wxUSE_COLOURPICKERCTRL
9398 eval "$ac_cv_use_colourpicker"
9399 if test "$no_cache" != 1; then
9400 echo $ac_cv_use_colourpicker >> ${wx_arg_cache_file}.tmp
9403 if test "$wxUSE_COLOURPICKERCTRL" = yes; then
9404 { echo "$as_me:$LINENO: result: yes" >&5
9405 echo "${ECHO_T}yes" >&6; }
9407 { echo "$as_me:$LINENO: result: no" >&5
9408 echo "${ECHO_T}no" >&6; }
9413 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-combobox" >&5
9414 echo $ECHO_N "checking for --${enablestring:-enable}-combobox... $ECHO_C" >&6; }
9416 # Check whether --enable-combobox was given.
9417 if test "${enable_combobox+set}" = set; then
9418 enableval=$enable_combobox;
9419 if test "$enableval" = yes; then
9420 ac_cv_use_combobox='wxUSE_COMBOBOX=yes'
9422 ac_cv_use_combobox='wxUSE_COMBOBOX=no'
9427 LINE=`grep "^wxUSE_COMBOBOX=" ${wx_arg_cache_file}`
9428 if test "x$LINE" != x ; then
9429 eval "DEFAULT_$LINE"
9434 ac_cv_use_combobox='wxUSE_COMBOBOX='$DEFAULT_wxUSE_COMBOBOX
9439 eval "$ac_cv_use_combobox"
9440 if test "$no_cache" != 1; then
9441 echo $ac_cv_use_combobox >> ${wx_arg_cache_file}.tmp
9444 if test "$wxUSE_COMBOBOX" = yes; then
9445 { echo "$as_me:$LINENO: result: yes" >&5
9446 echo "${ECHO_T}yes" >&6; }
9448 { echo "$as_me:$LINENO: result: no" >&5
9449 echo "${ECHO_T}no" >&6; }
9454 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-comboctrl" >&5
9455 echo $ECHO_N "checking for --${enablestring:-enable}-comboctrl... $ECHO_C" >&6; }
9457 # Check whether --enable-comboctrl was given.
9458 if test "${enable_comboctrl+set}" = set; then
9459 enableval=$enable_comboctrl;
9460 if test "$enableval" = yes; then
9461 ac_cv_use_comboctrl='wxUSE_COMBOCTRL=yes'
9463 ac_cv_use_comboctrl='wxUSE_COMBOCTRL=no'
9468 LINE=`grep "^wxUSE_COMBOCTRL=" ${wx_arg_cache_file}`
9469 if test "x$LINE" != x ; then
9470 eval "DEFAULT_$LINE"
9475 ac_cv_use_comboctrl='wxUSE_COMBOCTRL='$DEFAULT_wxUSE_COMBOCTRL
9480 eval "$ac_cv_use_comboctrl"
9481 if test "$no_cache" != 1; then
9482 echo $ac_cv_use_comboctrl >> ${wx_arg_cache_file}.tmp
9485 if test "$wxUSE_COMBOCTRL" = yes; then
9486 { echo "$as_me:$LINENO: result: yes" >&5
9487 echo "${ECHO_T}yes" >&6; }
9489 { echo "$as_me:$LINENO: result: no" >&5
9490 echo "${ECHO_T}no" >&6; }
9495 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-datepick" >&5
9496 echo $ECHO_N "checking for --${enablestring:-enable}-datepick... $ECHO_C" >&6; }
9498 # Check whether --enable-datepick was given.
9499 if test "${enable_datepick+set}" = set; then
9500 enableval=$enable_datepick;
9501 if test "$enableval" = yes; then
9502 ac_cv_use_datepick='wxUSE_DATEPICKCTRL=yes'
9504 ac_cv_use_datepick='wxUSE_DATEPICKCTRL=no'
9509 LINE=`grep "^wxUSE_DATEPICKCTRL=" ${wx_arg_cache_file}`
9510 if test "x$LINE" != x ; then
9511 eval "DEFAULT_$LINE"
9516 ac_cv_use_datepick='wxUSE_DATEPICKCTRL='$DEFAULT_wxUSE_DATEPICKCTRL
9521 eval "$ac_cv_use_datepick"
9522 if test "$no_cache" != 1; then
9523 echo $ac_cv_use_datepick >> ${wx_arg_cache_file}.tmp
9526 if test "$wxUSE_DATEPICKCTRL" = yes; then
9527 { echo "$as_me:$LINENO: result: yes" >&5
9528 echo "${ECHO_T}yes" >&6; }
9530 { echo "$as_me:$LINENO: result: no" >&5
9531 echo "${ECHO_T}no" >&6; }
9536 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dirpicker" >&5
9537 echo $ECHO_N "checking for --${enablestring:-enable}-dirpicker... $ECHO_C" >&6; }
9539 # Check whether --enable-dirpicker was given.
9540 if test "${enable_dirpicker+set}" = set; then
9541 enableval=$enable_dirpicker;
9542 if test "$enableval" = yes; then
9543 ac_cv_use_dirpicker='wxUSE_DIRPICKERCTRL=yes'
9545 ac_cv_use_dirpicker='wxUSE_DIRPICKERCTRL=no'
9550 LINE=`grep "^wxUSE_DIRPICKERCTRL=" ${wx_arg_cache_file}`
9551 if test "x$LINE" != x ; then
9552 eval "DEFAULT_$LINE"
9557 ac_cv_use_dirpicker='wxUSE_DIRPICKERCTRL='$DEFAULT_wxUSE_DIRPICKERCTRL
9562 eval "$ac_cv_use_dirpicker"
9563 if test "$no_cache" != 1; then
9564 echo $ac_cv_use_dirpicker >> ${wx_arg_cache_file}.tmp
9567 if test "$wxUSE_DIRPICKERCTRL" = yes; then
9568 { echo "$as_me:$LINENO: result: yes" >&5
9569 echo "${ECHO_T}yes" >&6; }
9571 { echo "$as_me:$LINENO: result: no" >&5
9572 echo "${ECHO_T}no" >&6; }
9577 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-display" >&5
9578 echo $ECHO_N "checking for --${enablestring:-enable}-display... $ECHO_C" >&6; }
9580 # Check whether --enable-display was given.
9581 if test "${enable_display+set}" = set; then
9582 enableval=$enable_display;
9583 if test "$enableval" = yes; then
9584 ac_cv_use_display='wxUSE_DISPLAY=yes'
9586 ac_cv_use_display='wxUSE_DISPLAY=no'
9591 LINE=`grep "^wxUSE_DISPLAY=" ${wx_arg_cache_file}`
9592 if test "x$LINE" != x ; then
9593 eval "DEFAULT_$LINE"
9598 ac_cv_use_display='wxUSE_DISPLAY='$DEFAULT_wxUSE_DISPLAY
9603 eval "$ac_cv_use_display"
9604 if test "$no_cache" != 1; then
9605 echo $ac_cv_use_display >> ${wx_arg_cache_file}.tmp
9608 if test "$wxUSE_DISPLAY" = yes; then
9609 { echo "$as_me:$LINENO: result: yes" >&5
9610 echo "${ECHO_T}yes" >&6; }
9612 { echo "$as_me:$LINENO: result: no" >&5
9613 echo "${ECHO_T}no" >&6; }
9618 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-detect_sm" >&5
9619 echo $ECHO_N "checking for --${enablestring:-enable}-detect_sm... $ECHO_C" >&6; }
9621 # Check whether --enable-detect_sm was given.
9622 if test "${enable_detect_sm+set}" = set; then
9623 enableval=$enable_detect_sm;
9624 if test "$enableval" = yes; then
9625 ac_cv_use_detect_sm='wxUSE_DETECT_SM=yes'
9627 ac_cv_use_detect_sm='wxUSE_DETECT_SM=no'
9632 LINE=`grep "^wxUSE_DETECT_SM=" ${wx_arg_cache_file}`
9633 if test "x$LINE" != x ; then
9634 eval "DEFAULT_$LINE"
9639 ac_cv_use_detect_sm='wxUSE_DETECT_SM='$DEFAULT_wxUSE_DETECT_SM
9644 eval "$ac_cv_use_detect_sm"
9645 if test "$no_cache" != 1; then
9646 echo $ac_cv_use_detect_sm >> ${wx_arg_cache_file}.tmp
9649 if test "$wxUSE_DETECT_SM" = yes; then
9650 { echo "$as_me:$LINENO: result: yes" >&5
9651 echo "${ECHO_T}yes" >&6; }
9653 { echo "$as_me:$LINENO: result: no" >&5
9654 echo "${ECHO_T}no" >&6; }
9659 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-editablebox" >&5
9660 echo $ECHO_N "checking for --${enablestring:-enable}-editablebox... $ECHO_C" >&6; }
9662 # Check whether --enable-editablebox was given.
9663 if test "${enable_editablebox+set}" = set; then
9664 enableval=$enable_editablebox;
9665 if test "$enableval" = yes; then
9666 ac_cv_use_editablebox='wxUSE_EDITABLELISTBOX=yes'
9668 ac_cv_use_editablebox='wxUSE_EDITABLELISTBOX=no'
9673 LINE=`grep "^wxUSE_EDITABLELISTBOX=" ${wx_arg_cache_file}`
9674 if test "x$LINE" != x ; then
9675 eval "DEFAULT_$LINE"
9680 ac_cv_use_editablebox='wxUSE_EDITABLELISTBOX='$DEFAULT_wxUSE_EDITABLELISTBOX
9685 eval "$ac_cv_use_editablebox"
9686 if test "$no_cache" != 1; then
9687 echo $ac_cv_use_editablebox >> ${wx_arg_cache_file}.tmp
9690 if test "$wxUSE_EDITABLELISTBOX" = yes; then
9691 { echo "$as_me:$LINENO: result: yes" >&5
9692 echo "${ECHO_T}yes" >&6; }
9694 { echo "$as_me:$LINENO: result: no" >&5
9695 echo "${ECHO_T}no" >&6; }
9700 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filepicker" >&5
9701 echo $ECHO_N "checking for --${enablestring:-enable}-filepicker... $ECHO_C" >&6; }
9703 # Check whether --enable-filepicker was given.
9704 if test "${enable_filepicker+set}" = set; then
9705 enableval=$enable_filepicker;
9706 if test "$enableval" = yes; then
9707 ac_cv_use_filepicker='wxUSE_FILEPICKERCTRL=yes'
9709 ac_cv_use_filepicker='wxUSE_FILEPICKERCTRL=no'
9714 LINE=`grep "^wxUSE_FILEPICKERCTRL=" ${wx_arg_cache_file}`
9715 if test "x$LINE" != x ; then
9716 eval "DEFAULT_$LINE"
9721 ac_cv_use_filepicker='wxUSE_FILEPICKERCTRL='$DEFAULT_wxUSE_FILEPICKERCTRL
9726 eval "$ac_cv_use_filepicker"
9727 if test "$no_cache" != 1; then
9728 echo $ac_cv_use_filepicker >> ${wx_arg_cache_file}.tmp
9731 if test "$wxUSE_FILEPICKERCTRL" = yes; then
9732 { echo "$as_me:$LINENO: result: yes" >&5
9733 echo "${ECHO_T}yes" >&6; }
9735 { echo "$as_me:$LINENO: result: no" >&5
9736 echo "${ECHO_T}no" >&6; }
9741 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontpicker" >&5
9742 echo $ECHO_N "checking for --${enablestring:-enable}-fontpicker... $ECHO_C" >&6; }
9744 # Check whether --enable-fontpicker was given.
9745 if test "${enable_fontpicker+set}" = set; then
9746 enableval=$enable_fontpicker;
9747 if test "$enableval" = yes; then
9748 ac_cv_use_fontpicker='wxUSE_FONTPICKERCTRL=yes'
9750 ac_cv_use_fontpicker='wxUSE_FONTPICKERCTRL=no'
9755 LINE=`grep "^wxUSE_FONTPICKERCTRL=" ${wx_arg_cache_file}`
9756 if test "x$LINE" != x ; then
9757 eval "DEFAULT_$LINE"
9762 ac_cv_use_fontpicker='wxUSE_FONTPICKERCTRL='$DEFAULT_wxUSE_FONTPICKERCTRL
9767 eval "$ac_cv_use_fontpicker"
9768 if test "$no_cache" != 1; then
9769 echo $ac_cv_use_fontpicker >> ${wx_arg_cache_file}.tmp
9772 if test "$wxUSE_FONTPICKERCTRL" = yes; then
9773 { echo "$as_me:$LINENO: result: yes" >&5
9774 echo "${ECHO_T}yes" >&6; }
9776 { echo "$as_me:$LINENO: result: no" >&5
9777 echo "${ECHO_T}no" >&6; }
9782 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gauge" >&5
9783 echo $ECHO_N "checking for --${enablestring:-enable}-gauge... $ECHO_C" >&6; }
9785 # Check whether --enable-gauge was given.
9786 if test "${enable_gauge+set}" = set; then
9787 enableval=$enable_gauge;
9788 if test "$enableval" = yes; then
9789 ac_cv_use_gauge='wxUSE_GAUGE=yes'
9791 ac_cv_use_gauge='wxUSE_GAUGE=no'
9796 LINE=`grep "^wxUSE_GAUGE=" ${wx_arg_cache_file}`
9797 if test "x$LINE" != x ; then
9798 eval "DEFAULT_$LINE"
9803 ac_cv_use_gauge='wxUSE_GAUGE='$DEFAULT_wxUSE_GAUGE
9808 eval "$ac_cv_use_gauge"
9809 if test "$no_cache" != 1; then
9810 echo $ac_cv_use_gauge >> ${wx_arg_cache_file}.tmp
9813 if test "$wxUSE_GAUGE" = yes; then
9814 { echo "$as_me:$LINENO: result: yes" >&5
9815 echo "${ECHO_T}yes" >&6; }
9817 { echo "$as_me:$LINENO: result: no" >&5
9818 echo "${ECHO_T}no" >&6; }
9823 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-grid" >&5
9824 echo $ECHO_N "checking for --${enablestring:-enable}-grid... $ECHO_C" >&6; }
9826 # Check whether --enable-grid was given.
9827 if test "${enable_grid+set}" = set; then
9828 enableval=$enable_grid;
9829 if test "$enableval" = yes; then
9830 ac_cv_use_grid='wxUSE_GRID=yes'
9832 ac_cv_use_grid='wxUSE_GRID=no'
9837 LINE=`grep "^wxUSE_GRID=" ${wx_arg_cache_file}`
9838 if test "x$LINE" != x ; then
9839 eval "DEFAULT_$LINE"
9844 ac_cv_use_grid='wxUSE_GRID='$DEFAULT_wxUSE_GRID
9849 eval "$ac_cv_use_grid"
9850 if test "$no_cache" != 1; then
9851 echo $ac_cv_use_grid >> ${wx_arg_cache_file}.tmp
9854 if test "$wxUSE_GRID" = yes; then
9855 { echo "$as_me:$LINENO: result: yes" >&5
9856 echo "${ECHO_T}yes" >&6; }
9858 { echo "$as_me:$LINENO: result: no" >&5
9859 echo "${ECHO_T}no" >&6; }
9864 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dataviewctrl" >&5
9865 echo $ECHO_N "checking for --${enablestring:-enable}-dataviewctrl... $ECHO_C" >&6; }
9867 # Check whether --enable-dataviewctrl was given.
9868 if test "${enable_dataviewctrl+set}" = set; then
9869 enableval=$enable_dataviewctrl;
9870 if test "$enableval" = yes; then
9871 ac_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL=yes'
9873 ac_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL=no'
9878 LINE=`grep "^wxUSE_DATAVIEWCTRL=" ${wx_arg_cache_file}`
9879 if test "x$LINE" != x ; then
9880 eval "DEFAULT_$LINE"
9885 ac_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL='$DEFAULT_wxUSE_DATAVIEWCTRL
9890 eval "$ac_cv_use_dataviewctrl"
9891 if test "$no_cache" != 1; then
9892 echo $ac_cv_use_dataviewctrl >> ${wx_arg_cache_file}.tmp
9895 if test "$wxUSE_DATAVIEWCTRL" = yes; then
9896 { echo "$as_me:$LINENO: result: yes" >&5
9897 echo "${ECHO_T}yes" >&6; }
9899 { echo "$as_me:$LINENO: result: no" >&5
9900 echo "${ECHO_T}no" >&6; }
9905 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-hyperlink" >&5
9906 echo $ECHO_N "checking for --${enablestring:-enable}-hyperlink... $ECHO_C" >&6; }
9908 # Check whether --enable-hyperlink was given.
9909 if test "${enable_hyperlink+set}" = set; then
9910 enableval=$enable_hyperlink;
9911 if test "$enableval" = yes; then
9912 ac_cv_use_hyperlink='wxUSE_HYPERLINKCTRL=yes'
9914 ac_cv_use_hyperlink='wxUSE_HYPERLINKCTRL=no'
9919 LINE=`grep "^wxUSE_HYPERLINKCTRL=" ${wx_arg_cache_file}`
9920 if test "x$LINE" != x ; then
9921 eval "DEFAULT_$LINE"
9926 ac_cv_use_hyperlink='wxUSE_HYPERLINKCTRL='$DEFAULT_wxUSE_HYPERLINKCTRL
9931 eval "$ac_cv_use_hyperlink"
9932 if test "$no_cache" != 1; then
9933 echo $ac_cv_use_hyperlink >> ${wx_arg_cache_file}.tmp
9936 if test "$wxUSE_HYPERLINKCTRL" = yes; then
9937 { echo "$as_me:$LINENO: result: yes" >&5
9938 echo "${ECHO_T}yes" >&6; }
9940 { echo "$as_me:$LINENO: result: no" >&5
9941 echo "${ECHO_T}no" >&6; }
9946 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-imaglist" >&5
9947 echo $ECHO_N "checking for --${enablestring:-enable}-imaglist... $ECHO_C" >&6; }
9949 # Check whether --enable-imaglist was given.
9950 if test "${enable_imaglist+set}" = set; then
9951 enableval=$enable_imaglist;
9952 if test "$enableval" = yes; then
9953 ac_cv_use_imaglist='wxUSE_IMAGLIST=yes'
9955 ac_cv_use_imaglist='wxUSE_IMAGLIST=no'
9960 LINE=`grep "^wxUSE_IMAGLIST=" ${wx_arg_cache_file}`
9961 if test "x$LINE" != x ; then
9962 eval "DEFAULT_$LINE"
9967 ac_cv_use_imaglist='wxUSE_IMAGLIST='$DEFAULT_wxUSE_IMAGLIST
9972 eval "$ac_cv_use_imaglist"
9973 if test "$no_cache" != 1; then
9974 echo $ac_cv_use_imaglist >> ${wx_arg_cache_file}.tmp
9977 if test "$wxUSE_IMAGLIST" = yes; then
9978 { echo "$as_me:$LINENO: result: yes" >&5
9979 echo "${ECHO_T}yes" >&6; }
9981 { echo "$as_me:$LINENO: result: no" >&5
9982 echo "${ECHO_T}no" >&6; }
9987 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbook" >&5
9988 echo $ECHO_N "checking for --${enablestring:-enable}-listbook... $ECHO_C" >&6; }
9990 # Check whether --enable-listbook was given.
9991 if test "${enable_listbook+set}" = set; then
9992 enableval=$enable_listbook;
9993 if test "$enableval" = yes; then
9994 ac_cv_use_listbook='wxUSE_LISTBOOK=yes'
9996 ac_cv_use_listbook='wxUSE_LISTBOOK=no'
10001 LINE=`grep "^wxUSE_LISTBOOK=" ${wx_arg_cache_file}`
10002 if test "x$LINE" != x ; then
10003 eval "DEFAULT_$LINE"
10008 ac_cv_use_listbook='wxUSE_LISTBOOK='$DEFAULT_wxUSE_LISTBOOK
10013 eval "$ac_cv_use_listbook"
10014 if test "$no_cache" != 1; then
10015 echo $ac_cv_use_listbook >> ${wx_arg_cache_file}.tmp
10018 if test "$wxUSE_LISTBOOK" = yes; then
10019 { echo "$as_me:$LINENO: result: yes" >&5
10020 echo "${ECHO_T}yes" >&6; }
10022 { echo "$as_me:$LINENO: result: no" >&5
10023 echo "${ECHO_T}no" >&6; }
10028 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbox" >&5
10029 echo $ECHO_N "checking for --${enablestring:-enable}-listbox... $ECHO_C" >&6; }
10031 # Check whether --enable-listbox was given.
10032 if test "${enable_listbox+set}" = set; then
10033 enableval=$enable_listbox;
10034 if test "$enableval" = yes; then
10035 ac_cv_use_listbox='wxUSE_LISTBOX=yes'
10037 ac_cv_use_listbox='wxUSE_LISTBOX=no'
10042 LINE=`grep "^wxUSE_LISTBOX=" ${wx_arg_cache_file}`
10043 if test "x$LINE" != x ; then
10044 eval "DEFAULT_$LINE"
10049 ac_cv_use_listbox='wxUSE_LISTBOX='$DEFAULT_wxUSE_LISTBOX
10054 eval "$ac_cv_use_listbox"
10055 if test "$no_cache" != 1; then
10056 echo $ac_cv_use_listbox >> ${wx_arg_cache_file}.tmp
10059 if test "$wxUSE_LISTBOX" = yes; then
10060 { echo "$as_me:$LINENO: result: yes" >&5
10061 echo "${ECHO_T}yes" >&6; }
10063 { echo "$as_me:$LINENO: result: no" >&5
10064 echo "${ECHO_T}no" >&6; }
10069 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listctrl" >&5
10070 echo $ECHO_N "checking for --${enablestring:-enable}-listctrl... $ECHO_C" >&6; }
10072 # Check whether --enable-listctrl was given.
10073 if test "${enable_listctrl+set}" = set; then
10074 enableval=$enable_listctrl;
10075 if test "$enableval" = yes; then
10076 ac_cv_use_listctrl='wxUSE_LISTCTRL=yes'
10078 ac_cv_use_listctrl='wxUSE_LISTCTRL=no'
10083 LINE=`grep "^wxUSE_LISTCTRL=" ${wx_arg_cache_file}`
10084 if test "x$LINE" != x ; then
10085 eval "DEFAULT_$LINE"
10090 ac_cv_use_listctrl='wxUSE_LISTCTRL='$DEFAULT_wxUSE_LISTCTRL
10095 eval "$ac_cv_use_listctrl"
10096 if test "$no_cache" != 1; then
10097 echo $ac_cv_use_listctrl >> ${wx_arg_cache_file}.tmp
10100 if test "$wxUSE_LISTCTRL" = yes; then
10101 { echo "$as_me:$LINENO: result: yes" >&5
10102 echo "${ECHO_T}yes" >&6; }
10104 { echo "$as_me:$LINENO: result: no" >&5
10105 echo "${ECHO_T}no" >&6; }
10110 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-notebook" >&5
10111 echo $ECHO_N "checking for --${enablestring:-enable}-notebook... $ECHO_C" >&6; }
10113 # Check whether --enable-notebook was given.
10114 if test "${enable_notebook+set}" = set; then
10115 enableval=$enable_notebook;
10116 if test "$enableval" = yes; then
10117 ac_cv_use_notebook='wxUSE_NOTEBOOK=yes'
10119 ac_cv_use_notebook='wxUSE_NOTEBOOK=no'
10124 LINE=`grep "^wxUSE_NOTEBOOK=" ${wx_arg_cache_file}`
10125 if test "x$LINE" != x ; then
10126 eval "DEFAULT_$LINE"
10131 ac_cv_use_notebook='wxUSE_NOTEBOOK='$DEFAULT_wxUSE_NOTEBOOK
10136 eval "$ac_cv_use_notebook"
10137 if test "$no_cache" != 1; then
10138 echo $ac_cv_use_notebook >> ${wx_arg_cache_file}.tmp
10141 if test "$wxUSE_NOTEBOOK" = yes; then
10142 { echo "$as_me:$LINENO: result: yes" >&5
10143 echo "${ECHO_T}yes" >&6; }
10145 { echo "$as_me:$LINENO: result: no" >&5
10146 echo "${ECHO_T}no" >&6; }
10151 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-odcombobox" >&5
10152 echo $ECHO_N "checking for --${enablestring:-enable}-odcombobox... $ECHO_C" >&6; }
10154 # Check whether --enable-odcombobox was given.
10155 if test "${enable_odcombobox+set}" = set; then
10156 enableval=$enable_odcombobox;
10157 if test "$enableval" = yes; then
10158 ac_cv_use_odcombobox='wxUSE_ODCOMBOBOX=yes'
10160 ac_cv_use_odcombobox='wxUSE_ODCOMBOBOX=no'
10165 LINE=`grep "^wxUSE_ODCOMBOBOX=" ${wx_arg_cache_file}`
10166 if test "x$LINE" != x ; then
10167 eval "DEFAULT_$LINE"
10172 ac_cv_use_odcombobox='wxUSE_ODCOMBOBOX='$DEFAULT_wxUSE_ODCOMBOBOX
10177 eval "$ac_cv_use_odcombobox"
10178 if test "$no_cache" != 1; then
10179 echo $ac_cv_use_odcombobox >> ${wx_arg_cache_file}.tmp
10182 if test "$wxUSE_ODCOMBOBOX" = yes; then
10183 { echo "$as_me:$LINENO: result: yes" >&5
10184 echo "${ECHO_T}yes" >&6; }
10186 { echo "$as_me:$LINENO: result: no" >&5
10187 echo "${ECHO_T}no" >&6; }
10192 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobox" >&5
10193 echo $ECHO_N "checking for --${enablestring:-enable}-radiobox... $ECHO_C" >&6; }
10195 # Check whether --enable-radiobox was given.
10196 if test "${enable_radiobox+set}" = set; then
10197 enableval=$enable_radiobox;
10198 if test "$enableval" = yes; then
10199 ac_cv_use_radiobox='wxUSE_RADIOBOX=yes'
10201 ac_cv_use_radiobox='wxUSE_RADIOBOX=no'
10206 LINE=`grep "^wxUSE_RADIOBOX=" ${wx_arg_cache_file}`
10207 if test "x$LINE" != x ; then
10208 eval "DEFAULT_$LINE"
10213 ac_cv_use_radiobox='wxUSE_RADIOBOX='$DEFAULT_wxUSE_RADIOBOX
10218 eval "$ac_cv_use_radiobox"
10219 if test "$no_cache" != 1; then
10220 echo $ac_cv_use_radiobox >> ${wx_arg_cache_file}.tmp
10223 if test "$wxUSE_RADIOBOX" = yes; then
10224 { echo "$as_me:$LINENO: result: yes" >&5
10225 echo "${ECHO_T}yes" >&6; }
10227 { echo "$as_me:$LINENO: result: no" >&5
10228 echo "${ECHO_T}no" >&6; }
10233 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobtn" >&5
10234 echo $ECHO_N "checking for --${enablestring:-enable}-radiobtn... $ECHO_C" >&6; }
10236 # Check whether --enable-radiobtn was given.
10237 if test "${enable_radiobtn+set}" = set; then
10238 enableval=$enable_radiobtn;
10239 if test "$enableval" = yes; then
10240 ac_cv_use_radiobtn='wxUSE_RADIOBTN=yes'
10242 ac_cv_use_radiobtn='wxUSE_RADIOBTN=no'
10247 LINE=`grep "^wxUSE_RADIOBTN=" ${wx_arg_cache_file}`
10248 if test "x$LINE" != x ; then
10249 eval "DEFAULT_$LINE"
10254 ac_cv_use_radiobtn='wxUSE_RADIOBTN='$DEFAULT_wxUSE_RADIOBTN
10259 eval "$ac_cv_use_radiobtn"
10260 if test "$no_cache" != 1; then
10261 echo $ac_cv_use_radiobtn >> ${wx_arg_cache_file}.tmp
10264 if test "$wxUSE_RADIOBTN" = yes; then
10265 { echo "$as_me:$LINENO: result: yes" >&5
10266 echo "${ECHO_T}yes" >&6; }
10268 { echo "$as_me:$LINENO: result: no" >&5
10269 echo "${ECHO_T}no" >&6; }
10274 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sash" >&5
10275 echo $ECHO_N "checking for --${enablestring:-enable}-sash... $ECHO_C" >&6; }
10277 # Check whether --enable-sash was given.
10278 if test "${enable_sash+set}" = set; then
10279 enableval=$enable_sash;
10280 if test "$enableval" = yes; then
10281 ac_cv_use_sash='wxUSE_SASH=yes'
10283 ac_cv_use_sash='wxUSE_SASH=no'
10288 LINE=`grep "^wxUSE_SASH=" ${wx_arg_cache_file}`
10289 if test "x$LINE" != x ; then
10290 eval "DEFAULT_$LINE"
10295 ac_cv_use_sash='wxUSE_SASH='$DEFAULT_wxUSE_SASH
10300 eval "$ac_cv_use_sash"
10301 if test "$no_cache" != 1; then
10302 echo $ac_cv_use_sash >> ${wx_arg_cache_file}.tmp
10305 if test "$wxUSE_SASH" = yes; then
10306 { echo "$as_me:$LINENO: result: yes" >&5
10307 echo "${ECHO_T}yes" >&6; }
10309 { echo "$as_me:$LINENO: result: no" >&5
10310 echo "${ECHO_T}no" >&6; }
10315 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-scrollbar" >&5
10316 echo $ECHO_N "checking for --${enablestring:-enable}-scrollbar... $ECHO_C" >&6; }
10318 # Check whether --enable-scrollbar was given.
10319 if test "${enable_scrollbar+set}" = set; then
10320 enableval=$enable_scrollbar;
10321 if test "$enableval" = yes; then
10322 ac_cv_use_scrollbar='wxUSE_SCROLLBAR=yes'
10324 ac_cv_use_scrollbar='wxUSE_SCROLLBAR=no'
10329 LINE=`grep "^wxUSE_SCROLLBAR=" ${wx_arg_cache_file}`
10330 if test "x$LINE" != x ; then
10331 eval "DEFAULT_$LINE"
10336 ac_cv_use_scrollbar='wxUSE_SCROLLBAR='$DEFAULT_wxUSE_SCROLLBAR
10341 eval "$ac_cv_use_scrollbar"
10342 if test "$no_cache" != 1; then
10343 echo $ac_cv_use_scrollbar >> ${wx_arg_cache_file}.tmp
10346 if test "$wxUSE_SCROLLBAR" = yes; then
10347 { echo "$as_me:$LINENO: result: yes" >&5
10348 echo "${ECHO_T}yes" >&6; }
10350 { echo "$as_me:$LINENO: result: no" >&5
10351 echo "${ECHO_T}no" >&6; }
10356 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-searchctrl" >&5
10357 echo $ECHO_N "checking for --${enablestring:-enable}-searchctrl... $ECHO_C" >&6; }
10359 # Check whether --enable-searchctrl was given.
10360 if test "${enable_searchctrl+set}" = set; then
10361 enableval=$enable_searchctrl;
10362 if test "$enableval" = yes; then
10363 ac_cv_use_searchctrl='wxUSE_SEARCHCTRL=yes'
10365 ac_cv_use_searchctrl='wxUSE_SEARCHCTRL=no'
10370 LINE=`grep "^wxUSE_SEARCHCTRL=" ${wx_arg_cache_file}`
10371 if test "x$LINE" != x ; then
10372 eval "DEFAULT_$LINE"
10377 ac_cv_use_searchctrl='wxUSE_SEARCHCTRL='$DEFAULT_wxUSE_SEARCHCTRL
10382 eval "$ac_cv_use_searchctrl"
10383 if test "$no_cache" != 1; then
10384 echo $ac_cv_use_searchctrl >> ${wx_arg_cache_file}.tmp
10387 if test "$wxUSE_SEARCHCTRL" = yes; then
10388 { echo "$as_me:$LINENO: result: yes" >&5
10389 echo "${ECHO_T}yes" >&6; }
10391 { echo "$as_me:$LINENO: result: no" >&5
10392 echo "${ECHO_T}no" >&6; }
10397 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-slider" >&5
10398 echo $ECHO_N "checking for --${enablestring:-enable}-slider... $ECHO_C" >&6; }
10400 # Check whether --enable-slider was given.
10401 if test "${enable_slider+set}" = set; then
10402 enableval=$enable_slider;
10403 if test "$enableval" = yes; then
10404 ac_cv_use_slider='wxUSE_SLIDER=yes'
10406 ac_cv_use_slider='wxUSE_SLIDER=no'
10411 LINE=`grep "^wxUSE_SLIDER=" ${wx_arg_cache_file}`
10412 if test "x$LINE" != x ; then
10413 eval "DEFAULT_$LINE"
10418 ac_cv_use_slider='wxUSE_SLIDER='$DEFAULT_wxUSE_SLIDER
10423 eval "$ac_cv_use_slider"
10424 if test "$no_cache" != 1; then
10425 echo $ac_cv_use_slider >> ${wx_arg_cache_file}.tmp
10428 if test "$wxUSE_SLIDER" = yes; then
10429 { echo "$as_me:$LINENO: result: yes" >&5
10430 echo "${ECHO_T}yes" >&6; }
10432 { echo "$as_me:$LINENO: result: no" >&5
10433 echo "${ECHO_T}no" >&6; }
10438 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinbtn" >&5
10439 echo $ECHO_N "checking for --${enablestring:-enable}-spinbtn... $ECHO_C" >&6; }
10441 # Check whether --enable-spinbtn was given.
10442 if test "${enable_spinbtn+set}" = set; then
10443 enableval=$enable_spinbtn;
10444 if test "$enableval" = yes; then
10445 ac_cv_use_spinbtn='wxUSE_SPINBTN=yes'
10447 ac_cv_use_spinbtn='wxUSE_SPINBTN=no'
10452 LINE=`grep "^wxUSE_SPINBTN=" ${wx_arg_cache_file}`
10453 if test "x$LINE" != x ; then
10454 eval "DEFAULT_$LINE"
10459 ac_cv_use_spinbtn='wxUSE_SPINBTN='$DEFAULT_wxUSE_SPINBTN
10464 eval "$ac_cv_use_spinbtn"
10465 if test "$no_cache" != 1; then
10466 echo $ac_cv_use_spinbtn >> ${wx_arg_cache_file}.tmp
10469 if test "$wxUSE_SPINBTN" = yes; then
10470 { echo "$as_me:$LINENO: result: yes" >&5
10471 echo "${ECHO_T}yes" >&6; }
10473 { echo "$as_me:$LINENO: result: no" >&5
10474 echo "${ECHO_T}no" >&6; }
10479 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinctrl" >&5
10480 echo $ECHO_N "checking for --${enablestring:-enable}-spinctrl... $ECHO_C" >&6; }
10482 # Check whether --enable-spinctrl was given.
10483 if test "${enable_spinctrl+set}" = set; then
10484 enableval=$enable_spinctrl;
10485 if test "$enableval" = yes; then
10486 ac_cv_use_spinctrl='wxUSE_SPINCTRL=yes'
10488 ac_cv_use_spinctrl='wxUSE_SPINCTRL=no'
10493 LINE=`grep "^wxUSE_SPINCTRL=" ${wx_arg_cache_file}`
10494 if test "x$LINE" != x ; then
10495 eval "DEFAULT_$LINE"
10500 ac_cv_use_spinctrl='wxUSE_SPINCTRL='$DEFAULT_wxUSE_SPINCTRL
10505 eval "$ac_cv_use_spinctrl"
10506 if test "$no_cache" != 1; then
10507 echo $ac_cv_use_spinctrl >> ${wx_arg_cache_file}.tmp
10510 if test "$wxUSE_SPINCTRL" = yes; then
10511 { echo "$as_me:$LINENO: result: yes" >&5
10512 echo "${ECHO_T}yes" >&6; }
10514 { echo "$as_me:$LINENO: result: no" >&5
10515 echo "${ECHO_T}no" >&6; }
10520 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splitter" >&5
10521 echo $ECHO_N "checking for --${enablestring:-enable}-splitter... $ECHO_C" >&6; }
10523 # Check whether --enable-splitter was given.
10524 if test "${enable_splitter+set}" = set; then
10525 enableval=$enable_splitter;
10526 if test "$enableval" = yes; then
10527 ac_cv_use_splitter='wxUSE_SPLITTER=yes'
10529 ac_cv_use_splitter='wxUSE_SPLITTER=no'
10534 LINE=`grep "^wxUSE_SPLITTER=" ${wx_arg_cache_file}`
10535 if test "x$LINE" != x ; then
10536 eval "DEFAULT_$LINE"
10541 ac_cv_use_splitter='wxUSE_SPLITTER='$DEFAULT_wxUSE_SPLITTER
10546 eval "$ac_cv_use_splitter"
10547 if test "$no_cache" != 1; then
10548 echo $ac_cv_use_splitter >> ${wx_arg_cache_file}.tmp
10551 if test "$wxUSE_SPLITTER" = yes; then
10552 { echo "$as_me:$LINENO: result: yes" >&5
10553 echo "${ECHO_T}yes" >&6; }
10555 { echo "$as_me:$LINENO: result: no" >&5
10556 echo "${ECHO_T}no" >&6; }
10561 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbmp" >&5
10562 echo $ECHO_N "checking for --${enablestring:-enable}-statbmp... $ECHO_C" >&6; }
10564 # Check whether --enable-statbmp was given.
10565 if test "${enable_statbmp+set}" = set; then
10566 enableval=$enable_statbmp;
10567 if test "$enableval" = yes; then
10568 ac_cv_use_statbmp='wxUSE_STATBMP=yes'
10570 ac_cv_use_statbmp='wxUSE_STATBMP=no'
10575 LINE=`grep "^wxUSE_STATBMP=" ${wx_arg_cache_file}`
10576 if test "x$LINE" != x ; then
10577 eval "DEFAULT_$LINE"
10582 ac_cv_use_statbmp='wxUSE_STATBMP='$DEFAULT_wxUSE_STATBMP
10587 eval "$ac_cv_use_statbmp"
10588 if test "$no_cache" != 1; then
10589 echo $ac_cv_use_statbmp >> ${wx_arg_cache_file}.tmp
10592 if test "$wxUSE_STATBMP" = yes; then
10593 { echo "$as_me:$LINENO: result: yes" >&5
10594 echo "${ECHO_T}yes" >&6; }
10596 { echo "$as_me:$LINENO: result: no" >&5
10597 echo "${ECHO_T}no" >&6; }
10602 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbox" >&5
10603 echo $ECHO_N "checking for --${enablestring:-enable}-statbox... $ECHO_C" >&6; }
10605 # Check whether --enable-statbox was given.
10606 if test "${enable_statbox+set}" = set; then
10607 enableval=$enable_statbox;
10608 if test "$enableval" = yes; then
10609 ac_cv_use_statbox='wxUSE_STATBOX=yes'
10611 ac_cv_use_statbox='wxUSE_STATBOX=no'
10616 LINE=`grep "^wxUSE_STATBOX=" ${wx_arg_cache_file}`
10617 if test "x$LINE" != x ; then
10618 eval "DEFAULT_$LINE"
10623 ac_cv_use_statbox='wxUSE_STATBOX='$DEFAULT_wxUSE_STATBOX
10628 eval "$ac_cv_use_statbox"
10629 if test "$no_cache" != 1; then
10630 echo $ac_cv_use_statbox >> ${wx_arg_cache_file}.tmp
10633 if test "$wxUSE_STATBOX" = yes; then
10634 { echo "$as_me:$LINENO: result: yes" >&5
10635 echo "${ECHO_T}yes" >&6; }
10637 { echo "$as_me:$LINENO: result: no" >&5
10638 echo "${ECHO_T}no" >&6; }
10643 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statline" >&5
10644 echo $ECHO_N "checking for --${enablestring:-enable}-statline... $ECHO_C" >&6; }
10646 # Check whether --enable-statline was given.
10647 if test "${enable_statline+set}" = set; then
10648 enableval=$enable_statline;
10649 if test "$enableval" = yes; then
10650 ac_cv_use_statline='wxUSE_STATLINE=yes'
10652 ac_cv_use_statline='wxUSE_STATLINE=no'
10657 LINE=`grep "^wxUSE_STATLINE=" ${wx_arg_cache_file}`
10658 if test "x$LINE" != x ; then
10659 eval "DEFAULT_$LINE"
10664 ac_cv_use_statline='wxUSE_STATLINE='$DEFAULT_wxUSE_STATLINE
10669 eval "$ac_cv_use_statline"
10670 if test "$no_cache" != 1; then
10671 echo $ac_cv_use_statline >> ${wx_arg_cache_file}.tmp
10674 if test "$wxUSE_STATLINE" = yes; then
10675 { echo "$as_me:$LINENO: result: yes" >&5
10676 echo "${ECHO_T}yes" >&6; }
10678 { echo "$as_me:$LINENO: result: no" >&5
10679 echo "${ECHO_T}no" >&6; }
10684 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stattext" >&5
10685 echo $ECHO_N "checking for --${enablestring:-enable}-stattext... $ECHO_C" >&6; }
10687 # Check whether --enable-stattext was given.
10688 if test "${enable_stattext+set}" = set; then
10689 enableval=$enable_stattext;
10690 if test "$enableval" = yes; then
10691 ac_cv_use_stattext='wxUSE_STATTEXT=yes'
10693 ac_cv_use_stattext='wxUSE_STATTEXT=no'
10698 LINE=`grep "^wxUSE_STATTEXT=" ${wx_arg_cache_file}`
10699 if test "x$LINE" != x ; then
10700 eval "DEFAULT_$LINE"
10705 ac_cv_use_stattext='wxUSE_STATTEXT='$DEFAULT_wxUSE_STATTEXT
10710 eval "$ac_cv_use_stattext"
10711 if test "$no_cache" != 1; then
10712 echo $ac_cv_use_stattext >> ${wx_arg_cache_file}.tmp
10715 if test "$wxUSE_STATTEXT" = yes; then
10716 { echo "$as_me:$LINENO: result: yes" >&5
10717 echo "${ECHO_T}yes" >&6; }
10719 { echo "$as_me:$LINENO: result: no" >&5
10720 echo "${ECHO_T}no" >&6; }
10725 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statusbar" >&5
10726 echo $ECHO_N "checking for --${enablestring:-enable}-statusbar... $ECHO_C" >&6; }
10728 # Check whether --enable-statusbar was given.
10729 if test "${enable_statusbar+set}" = set; then
10730 enableval=$enable_statusbar;
10731 if test "$enableval" = yes; then
10732 ac_cv_use_statusbar='wxUSE_STATUSBAR=yes'
10734 ac_cv_use_statusbar='wxUSE_STATUSBAR=no'
10739 LINE=`grep "^wxUSE_STATUSBAR=" ${wx_arg_cache_file}`
10740 if test "x$LINE" != x ; then
10741 eval "DEFAULT_$LINE"
10746 ac_cv_use_statusbar='wxUSE_STATUSBAR='$DEFAULT_wxUSE_STATUSBAR
10751 eval "$ac_cv_use_statusbar"
10752 if test "$no_cache" != 1; then
10753 echo $ac_cv_use_statusbar >> ${wx_arg_cache_file}.tmp
10756 if test "$wxUSE_STATUSBAR" = yes; then
10757 { echo "$as_me:$LINENO: result: yes" >&5
10758 echo "${ECHO_T}yes" >&6; }
10760 { echo "$as_me:$LINENO: result: no" >&5
10761 echo "${ECHO_T}no" >&6; }
10766 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tabdialog" >&5
10767 echo $ECHO_N "checking for --${enablestring:-enable}-tabdialog... $ECHO_C" >&6; }
10769 # Check whether --enable-tabdialog was given.
10770 if test "${enable_tabdialog+set}" = set; then
10771 enableval=$enable_tabdialog;
10772 if test "$enableval" = yes; then
10773 ac_cv_use_tabdialog='wxUSE_TAB_DIALOG=yes'
10775 ac_cv_use_tabdialog='wxUSE_TAB_DIALOG=no'
10780 LINE=`grep "^wxUSE_TAB_DIALOG=" ${wx_arg_cache_file}`
10781 if test "x$LINE" != x ; then
10782 eval "DEFAULT_$LINE"
10787 ac_cv_use_tabdialog='wxUSE_TAB_DIALOG='$DEFAULT_wxUSE_TAB_DIALOG
10792 eval "$ac_cv_use_tabdialog"
10793 if test "$no_cache" != 1; then
10794 echo $ac_cv_use_tabdialog >> ${wx_arg_cache_file}.tmp
10797 if test "$wxUSE_TAB_DIALOG" = yes; then
10798 { echo "$as_me:$LINENO: result: yes" >&5
10799 echo "${ECHO_T}yes" >&6; }
10801 { echo "$as_me:$LINENO: result: no" >&5
10802 echo "${ECHO_T}no" >&6; }
10807 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textctrl" >&5
10808 echo $ECHO_N "checking for --${enablestring:-enable}-textctrl... $ECHO_C" >&6; }
10810 # Check whether --enable-textctrl was given.
10811 if test "${enable_textctrl+set}" = set; then
10812 enableval=$enable_textctrl;
10813 if test "$enableval" = yes; then
10814 ac_cv_use_textctrl='wxUSE_TEXTCTRL=yes'
10816 ac_cv_use_textctrl='wxUSE_TEXTCTRL=no'
10821 LINE=`grep "^wxUSE_TEXTCTRL=" ${wx_arg_cache_file}`
10822 if test "x$LINE" != x ; then
10823 eval "DEFAULT_$LINE"
10828 ac_cv_use_textctrl='wxUSE_TEXTCTRL='$DEFAULT_wxUSE_TEXTCTRL
10833 eval "$ac_cv_use_textctrl"
10834 if test "$no_cache" != 1; then
10835 echo $ac_cv_use_textctrl >> ${wx_arg_cache_file}.tmp
10838 if test "$wxUSE_TEXTCTRL" = yes; then
10839 { echo "$as_me:$LINENO: result: yes" >&5
10840 echo "${ECHO_T}yes" >&6; }
10842 { echo "$as_me:$LINENO: result: no" >&5
10843 echo "${ECHO_T}no" >&6; }
10848 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-togglebtn" >&5
10849 echo $ECHO_N "checking for --${enablestring:-enable}-togglebtn... $ECHO_C" >&6; }
10851 # Check whether --enable-togglebtn was given.
10852 if test "${enable_togglebtn+set}" = set; then
10853 enableval=$enable_togglebtn;
10854 if test "$enableval" = yes; then
10855 ac_cv_use_togglebtn='wxUSE_TOGGLEBTN=yes'
10857 ac_cv_use_togglebtn='wxUSE_TOGGLEBTN=no'
10862 LINE=`grep "^wxUSE_TOGGLEBTN=" ${wx_arg_cache_file}`
10863 if test "x$LINE" != x ; then
10864 eval "DEFAULT_$LINE"
10869 ac_cv_use_togglebtn='wxUSE_TOGGLEBTN='$DEFAULT_wxUSE_TOGGLEBTN
10874 eval "$ac_cv_use_togglebtn"
10875 if test "$no_cache" != 1; then
10876 echo $ac_cv_use_togglebtn >> ${wx_arg_cache_file}.tmp
10879 if test "$wxUSE_TOGGLEBTN" = yes; then
10880 { echo "$as_me:$LINENO: result: yes" >&5
10881 echo "${ECHO_T}yes" >&6; }
10883 { echo "$as_me:$LINENO: result: no" >&5
10884 echo "${ECHO_T}no" >&6; }
10889 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-toolbar" >&5
10890 echo $ECHO_N "checking for --${enablestring:-enable}-toolbar... $ECHO_C" >&6; }
10892 # Check whether --enable-toolbar was given.
10893 if test "${enable_toolbar+set}" = set; then
10894 enableval=$enable_toolbar;
10895 if test "$enableval" = yes; then
10896 ac_cv_use_toolbar='wxUSE_TOOLBAR=yes'
10898 ac_cv_use_toolbar='wxUSE_TOOLBAR=no'
10903 LINE=`grep "^wxUSE_TOOLBAR=" ${wx_arg_cache_file}`
10904 if test "x$LINE" != x ; then
10905 eval "DEFAULT_$LINE"
10910 ac_cv_use_toolbar='wxUSE_TOOLBAR='$DEFAULT_wxUSE_TOOLBAR
10915 eval "$ac_cv_use_toolbar"
10916 if test "$no_cache" != 1; then
10917 echo $ac_cv_use_toolbar >> ${wx_arg_cache_file}.tmp
10920 if test "$wxUSE_TOOLBAR" = yes; then
10921 { echo "$as_me:$LINENO: result: yes" >&5
10922 echo "${ECHO_T}yes" >&6; }
10924 { echo "$as_me:$LINENO: result: no" >&5
10925 echo "${ECHO_T}no" >&6; }
10930 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tbarnative" >&5
10931 echo $ECHO_N "checking for --${enablestring:-enable}-tbarnative... $ECHO_C" >&6; }
10933 # Check whether --enable-tbarnative was given.
10934 if test "${enable_tbarnative+set}" = set; then
10935 enableval=$enable_tbarnative;
10936 if test "$enableval" = yes; then
10937 ac_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=yes'
10939 ac_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=no'
10944 LINE=`grep "^wxUSE_TOOLBAR_NATIVE=" ${wx_arg_cache_file}`
10945 if test "x$LINE" != x ; then
10946 eval "DEFAULT_$LINE"
10951 ac_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE='$DEFAULT_wxUSE_TOOLBAR_NATIVE
10956 eval "$ac_cv_use_tbarnative"
10957 if test "$no_cache" != 1; then
10958 echo $ac_cv_use_tbarnative >> ${wx_arg_cache_file}.tmp
10961 if test "$wxUSE_TOOLBAR_NATIVE" = yes; then
10962 { echo "$as_me:$LINENO: result: yes" >&5
10963 echo "${ECHO_T}yes" >&6; }
10965 { echo "$as_me:$LINENO: result: no" >&5
10966 echo "${ECHO_T}no" >&6; }
10971 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-treebook" >&5
10972 echo $ECHO_N "checking for --${enablestring:-enable}-treebook... $ECHO_C" >&6; }
10974 # Check whether --enable-treebook was given.
10975 if test "${enable_treebook+set}" = set; then
10976 enableval=$enable_treebook;
10977 if test "$enableval" = yes; then
10978 ac_cv_use_treebook='wxUSE_TREEBOOK=yes'
10980 ac_cv_use_treebook='wxUSE_TREEBOOK=no'
10985 LINE=`grep "^wxUSE_TREEBOOK=" ${wx_arg_cache_file}`
10986 if test "x$LINE" != x ; then
10987 eval "DEFAULT_$LINE"
10992 ac_cv_use_treebook='wxUSE_TREEBOOK='$DEFAULT_wxUSE_TREEBOOK
10997 eval "$ac_cv_use_treebook"
10998 if test "$no_cache" != 1; then
10999 echo $ac_cv_use_treebook >> ${wx_arg_cache_file}.tmp
11002 if test "$wxUSE_TREEBOOK" = yes; then
11003 { echo "$as_me:$LINENO: result: yes" >&5
11004 echo "${ECHO_T}yes" >&6; }
11006 { echo "$as_me:$LINENO: result: no" >&5
11007 echo "${ECHO_T}no" >&6; }
11012 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-toolbook" >&5
11013 echo $ECHO_N "checking for --${enablestring:-enable}-toolbook... $ECHO_C" >&6; }
11015 # Check whether --enable-toolbook was given.
11016 if test "${enable_toolbook+set}" = set; then
11017 enableval=$enable_toolbook;
11018 if test "$enableval" = yes; then
11019 ac_cv_use_toolbook='wxUSE_TOOLBOOK=yes'
11021 ac_cv_use_toolbook='wxUSE_TOOLBOOK=no'
11026 LINE=`grep "^wxUSE_TOOLBOOK=" ${wx_arg_cache_file}`
11027 if test "x$LINE" != x ; then
11028 eval "DEFAULT_$LINE"
11033 ac_cv_use_toolbook='wxUSE_TOOLBOOK='$DEFAULT_wxUSE_TOOLBOOK
11038 eval "$ac_cv_use_toolbook"
11039 if test "$no_cache" != 1; then
11040 echo $ac_cv_use_toolbook >> ${wx_arg_cache_file}.tmp
11043 if test "$wxUSE_TOOLBOOK" = yes; then
11044 { echo "$as_me:$LINENO: result: yes" >&5
11045 echo "${ECHO_T}yes" >&6; }
11047 { echo "$as_me:$LINENO: result: no" >&5
11048 echo "${ECHO_T}no" >&6; }
11053 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-treectrl" >&5
11054 echo $ECHO_N "checking for --${enablestring:-enable}-treectrl... $ECHO_C" >&6; }
11056 # Check whether --enable-treectrl was given.
11057 if test "${enable_treectrl+set}" = set; then
11058 enableval=$enable_treectrl;
11059 if test "$enableval" = yes; then
11060 ac_cv_use_treectrl='wxUSE_TREECTRL=yes'
11062 ac_cv_use_treectrl='wxUSE_TREECTRL=no'
11067 LINE=`grep "^wxUSE_TREECTRL=" ${wx_arg_cache_file}`
11068 if test "x$LINE" != x ; then
11069 eval "DEFAULT_$LINE"
11074 ac_cv_use_treectrl='wxUSE_TREECTRL='$DEFAULT_wxUSE_TREECTRL
11079 eval "$ac_cv_use_treectrl"
11080 if test "$no_cache" != 1; then
11081 echo $ac_cv_use_treectrl >> ${wx_arg_cache_file}.tmp
11084 if test "$wxUSE_TREECTRL" = yes; then
11085 { echo "$as_me:$LINENO: result: yes" >&5
11086 echo "${ECHO_T}yes" >&6; }
11088 { echo "$as_me:$LINENO: result: no" >&5
11089 echo "${ECHO_T}no" >&6; }
11094 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipwindow" >&5
11095 echo $ECHO_N "checking for --${enablestring:-enable}-tipwindow... $ECHO_C" >&6; }
11097 # Check whether --enable-tipwindow was given.
11098 if test "${enable_tipwindow+set}" = set; then
11099 enableval=$enable_tipwindow;
11100 if test "$enableval" = yes; then
11101 ac_cv_use_tipwindow='wxUSE_TIPWINDOW=yes'
11103 ac_cv_use_tipwindow='wxUSE_TIPWINDOW=no'
11108 LINE=`grep "^wxUSE_TIPWINDOW=" ${wx_arg_cache_file}`
11109 if test "x$LINE" != x ; then
11110 eval "DEFAULT_$LINE"
11115 ac_cv_use_tipwindow='wxUSE_TIPWINDOW='$DEFAULT_wxUSE_TIPWINDOW
11120 eval "$ac_cv_use_tipwindow"
11121 if test "$no_cache" != 1; then
11122 echo $ac_cv_use_tipwindow >> ${wx_arg_cache_file}.tmp
11125 if test "$wxUSE_TIPWINDOW" = yes; then
11126 { echo "$as_me:$LINENO: result: yes" >&5
11127 echo "${ECHO_T}yes" >&6; }
11129 { echo "$as_me:$LINENO: result: no" >&5
11130 echo "${ECHO_T}no" >&6; }
11135 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-popupwin" >&5
11136 echo $ECHO_N "checking for --${enablestring:-enable}-popupwin... $ECHO_C" >&6; }
11138 # Check whether --enable-popupwin was given.
11139 if test "${enable_popupwin+set}" = set; then
11140 enableval=$enable_popupwin;
11141 if test "$enableval" = yes; then
11142 ac_cv_use_popupwin='wxUSE_POPUPWIN=yes'
11144 ac_cv_use_popupwin='wxUSE_POPUPWIN=no'
11149 LINE=`grep "^wxUSE_POPUPWIN=" ${wx_arg_cache_file}`
11150 if test "x$LINE" != x ; then
11151 eval "DEFAULT_$LINE"
11156 ac_cv_use_popupwin='wxUSE_POPUPWIN='$DEFAULT_wxUSE_POPUPWIN
11161 eval "$ac_cv_use_popupwin"
11162 if test "$no_cache" != 1; then
11163 echo $ac_cv_use_popupwin >> ${wx_arg_cache_file}.tmp
11166 if test "$wxUSE_POPUPWIN" = yes; then
11167 { echo "$as_me:$LINENO: result: yes" >&5
11168 echo "${ECHO_T}yes" >&6; }
11170 { echo "$as_me:$LINENO: result: no" >&5
11171 echo "${ECHO_T}no" >&6; }
11178 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-commondlg" >&5
11179 echo $ECHO_N "checking for --${enablestring:-enable}-commondlg... $ECHO_C" >&6; }
11181 # Check whether --enable-commondlg was given.
11182 if test "${enable_commondlg+set}" = set; then
11183 enableval=$enable_commondlg;
11184 if test "$enableval" = yes; then
11185 ac_cv_use_commondlg='wxUSE_COMMONDLGS=yes'
11187 ac_cv_use_commondlg='wxUSE_COMMONDLGS=no'
11192 LINE=`grep "^wxUSE_COMMONDLGS=" ${wx_arg_cache_file}`
11193 if test "x$LINE" != x ; then
11194 eval "DEFAULT_$LINE"
11199 ac_cv_use_commondlg='wxUSE_COMMONDLGS='$DEFAULT_wxUSE_COMMONDLGS
11204 eval "$ac_cv_use_commondlg"
11205 if test "$no_cache" != 1; then
11206 echo $ac_cv_use_commondlg >> ${wx_arg_cache_file}.tmp
11209 if test "$wxUSE_COMMONDLGS" = yes; then
11210 { echo "$as_me:$LINENO: result: yes" >&5
11211 echo "${ECHO_T}yes" >&6; }
11213 { echo "$as_me:$LINENO: result: no" >&5
11214 echo "${ECHO_T}no" >&6; }
11219 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-aboutdlg" >&5
11220 echo $ECHO_N "checking for --${enablestring:-enable}-aboutdlg... $ECHO_C" >&6; }
11222 # Check whether --enable-aboutdlg was given.
11223 if test "${enable_aboutdlg+set}" = set; then
11224 enableval=$enable_aboutdlg;
11225 if test "$enableval" = yes; then
11226 ac_cv_use_aboutdlg='wxUSE_ABOUTDLG=yes'
11228 ac_cv_use_aboutdlg='wxUSE_ABOUTDLG=no'
11233 LINE=`grep "^wxUSE_ABOUTDLG=" ${wx_arg_cache_file}`
11234 if test "x$LINE" != x ; then
11235 eval "DEFAULT_$LINE"
11240 ac_cv_use_aboutdlg='wxUSE_ABOUTDLG='$DEFAULT_wxUSE_ABOUTDLG
11245 eval "$ac_cv_use_aboutdlg"
11246 if test "$no_cache" != 1; then
11247 echo $ac_cv_use_aboutdlg >> ${wx_arg_cache_file}.tmp
11250 if test "$wxUSE_ABOUTDLG" = yes; then
11251 { echo "$as_me:$LINENO: result: yes" >&5
11252 echo "${ECHO_T}yes" >&6; }
11254 { echo "$as_me:$LINENO: result: no" >&5
11255 echo "${ECHO_T}no" >&6; }
11260 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choicedlg" >&5
11261 echo $ECHO_N "checking for --${enablestring:-enable}-choicedlg... $ECHO_C" >&6; }
11263 # Check whether --enable-choicedlg was given.
11264 if test "${enable_choicedlg+set}" = set; then
11265 enableval=$enable_choicedlg;
11266 if test "$enableval" = yes; then
11267 ac_cv_use_choicedlg='wxUSE_CHOICEDLG=yes'
11269 ac_cv_use_choicedlg='wxUSE_CHOICEDLG=no'
11274 LINE=`grep "^wxUSE_CHOICEDLG=" ${wx_arg_cache_file}`
11275 if test "x$LINE" != x ; then
11276 eval "DEFAULT_$LINE"
11281 ac_cv_use_choicedlg='wxUSE_CHOICEDLG='$DEFAULT_wxUSE_CHOICEDLG
11286 eval "$ac_cv_use_choicedlg"
11287 if test "$no_cache" != 1; then
11288 echo $ac_cv_use_choicedlg >> ${wx_arg_cache_file}.tmp
11291 if test "$wxUSE_CHOICEDLG" = yes; then
11292 { echo "$as_me:$LINENO: result: yes" >&5
11293 echo "${ECHO_T}yes" >&6; }
11295 { echo "$as_me:$LINENO: result: no" >&5
11296 echo "${ECHO_T}no" >&6; }
11301 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-coldlg" >&5
11302 echo $ECHO_N "checking for --${enablestring:-enable}-coldlg... $ECHO_C" >&6; }
11304 # Check whether --enable-coldlg was given.
11305 if test "${enable_coldlg+set}" = set; then
11306 enableval=$enable_coldlg;
11307 if test "$enableval" = yes; then
11308 ac_cv_use_coldlg='wxUSE_COLOURDLG=yes'
11310 ac_cv_use_coldlg='wxUSE_COLOURDLG=no'
11315 LINE=`grep "^wxUSE_COLOURDLG=" ${wx_arg_cache_file}`
11316 if test "x$LINE" != x ; then
11317 eval "DEFAULT_$LINE"
11322 ac_cv_use_coldlg='wxUSE_COLOURDLG='$DEFAULT_wxUSE_COLOURDLG
11327 eval "$ac_cv_use_coldlg"
11328 if test "$no_cache" != 1; then
11329 echo $ac_cv_use_coldlg >> ${wx_arg_cache_file}.tmp
11332 if test "$wxUSE_COLOURDLG" = yes; then
11333 { echo "$as_me:$LINENO: result: yes" >&5
11334 echo "${ECHO_T}yes" >&6; }
11336 { echo "$as_me:$LINENO: result: no" >&5
11337 echo "${ECHO_T}no" >&6; }
11342 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filedlg" >&5
11343 echo $ECHO_N "checking for --${enablestring:-enable}-filedlg... $ECHO_C" >&6; }
11345 # Check whether --enable-filedlg was given.
11346 if test "${enable_filedlg+set}" = set; then
11347 enableval=$enable_filedlg;
11348 if test "$enableval" = yes; then
11349 ac_cv_use_filedlg='wxUSE_FILEDLG=yes'
11351 ac_cv_use_filedlg='wxUSE_FILEDLG=no'
11356 LINE=`grep "^wxUSE_FILEDLG=" ${wx_arg_cache_file}`
11357 if test "x$LINE" != x ; then
11358 eval "DEFAULT_$LINE"
11363 ac_cv_use_filedlg='wxUSE_FILEDLG='$DEFAULT_wxUSE_FILEDLG
11368 eval "$ac_cv_use_filedlg"
11369 if test "$no_cache" != 1; then
11370 echo $ac_cv_use_filedlg >> ${wx_arg_cache_file}.tmp
11373 if test "$wxUSE_FILEDLG" = yes; then
11374 { echo "$as_me:$LINENO: result: yes" >&5
11375 echo "${ECHO_T}yes" >&6; }
11377 { echo "$as_me:$LINENO: result: no" >&5
11378 echo "${ECHO_T}no" >&6; }
11383 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-finddlg" >&5
11384 echo $ECHO_N "checking for --${enablestring:-enable}-finddlg... $ECHO_C" >&6; }
11386 # Check whether --enable-finddlg was given.
11387 if test "${enable_finddlg+set}" = set; then
11388 enableval=$enable_finddlg;
11389 if test "$enableval" = yes; then
11390 ac_cv_use_finddlg='wxUSE_FINDREPLDLG=yes'
11392 ac_cv_use_finddlg='wxUSE_FINDREPLDLG=no'
11397 LINE=`grep "^wxUSE_FINDREPLDLG=" ${wx_arg_cache_file}`
11398 if test "x$LINE" != x ; then
11399 eval "DEFAULT_$LINE"
11404 ac_cv_use_finddlg='wxUSE_FINDREPLDLG='$DEFAULT_wxUSE_FINDREPLDLG
11409 eval "$ac_cv_use_finddlg"
11410 if test "$no_cache" != 1; then
11411 echo $ac_cv_use_finddlg >> ${wx_arg_cache_file}.tmp
11414 if test "$wxUSE_FINDREPLDLG" = yes; then
11415 { echo "$as_me:$LINENO: result: yes" >&5
11416 echo "${ECHO_T}yes" >&6; }
11418 { echo "$as_me:$LINENO: result: no" >&5
11419 echo "${ECHO_T}no" >&6; }
11424 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontdlg" >&5
11425 echo $ECHO_N "checking for --${enablestring:-enable}-fontdlg... $ECHO_C" >&6; }
11427 # Check whether --enable-fontdlg was given.
11428 if test "${enable_fontdlg+set}" = set; then
11429 enableval=$enable_fontdlg;
11430 if test "$enableval" = yes; then
11431 ac_cv_use_fontdlg='wxUSE_FONTDLG=yes'
11433 ac_cv_use_fontdlg='wxUSE_FONTDLG=no'
11438 LINE=`grep "^wxUSE_FONTDLG=" ${wx_arg_cache_file}`
11439 if test "x$LINE" != x ; then
11440 eval "DEFAULT_$LINE"
11445 ac_cv_use_fontdlg='wxUSE_FONTDLG='$DEFAULT_wxUSE_FONTDLG
11450 eval "$ac_cv_use_fontdlg"
11451 if test "$no_cache" != 1; then
11452 echo $ac_cv_use_fontdlg >> ${wx_arg_cache_file}.tmp
11455 if test "$wxUSE_FONTDLG" = yes; then
11456 { echo "$as_me:$LINENO: result: yes" >&5
11457 echo "${ECHO_T}yes" >&6; }
11459 { echo "$as_me:$LINENO: result: no" >&5
11460 echo "${ECHO_T}no" >&6; }
11465 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dirdlg" >&5
11466 echo $ECHO_N "checking for --${enablestring:-enable}-dirdlg... $ECHO_C" >&6; }
11468 # Check whether --enable-dirdlg was given.
11469 if test "${enable_dirdlg+set}" = set; then
11470 enableval=$enable_dirdlg;
11471 if test "$enableval" = yes; then
11472 ac_cv_use_dirdlg='wxUSE_DIRDLG=yes'
11474 ac_cv_use_dirdlg='wxUSE_DIRDLG=no'
11479 LINE=`grep "^wxUSE_DIRDLG=" ${wx_arg_cache_file}`
11480 if test "x$LINE" != x ; then
11481 eval "DEFAULT_$LINE"
11486 ac_cv_use_dirdlg='wxUSE_DIRDLG='$DEFAULT_wxUSE_DIRDLG
11491 eval "$ac_cv_use_dirdlg"
11492 if test "$no_cache" != 1; then
11493 echo $ac_cv_use_dirdlg >> ${wx_arg_cache_file}.tmp
11496 if test "$wxUSE_DIRDLG" = yes; then
11497 { echo "$as_me:$LINENO: result: yes" >&5
11498 echo "${ECHO_T}yes" >&6; }
11500 { echo "$as_me:$LINENO: result: no" >&5
11501 echo "${ECHO_T}no" >&6; }
11506 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-msgdlg" >&5
11507 echo $ECHO_N "checking for --${enablestring:-enable}-msgdlg... $ECHO_C" >&6; }
11509 # Check whether --enable-msgdlg was given.
11510 if test "${enable_msgdlg+set}" = set; then
11511 enableval=$enable_msgdlg;
11512 if test "$enableval" = yes; then
11513 ac_cv_use_msgdlg='wxUSE_MSGDLG=yes'
11515 ac_cv_use_msgdlg='wxUSE_MSGDLG=no'
11520 LINE=`grep "^wxUSE_MSGDLG=" ${wx_arg_cache_file}`
11521 if test "x$LINE" != x ; then
11522 eval "DEFAULT_$LINE"
11527 ac_cv_use_msgdlg='wxUSE_MSGDLG='$DEFAULT_wxUSE_MSGDLG
11532 eval "$ac_cv_use_msgdlg"
11533 if test "$no_cache" != 1; then
11534 echo $ac_cv_use_msgdlg >> ${wx_arg_cache_file}.tmp
11537 if test "$wxUSE_MSGDLG" = yes; then
11538 { echo "$as_me:$LINENO: result: yes" >&5
11539 echo "${ECHO_T}yes" >&6; }
11541 { echo "$as_me:$LINENO: result: no" >&5
11542 echo "${ECHO_T}no" >&6; }
11547 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-numberdlg" >&5
11548 echo $ECHO_N "checking for --${enablestring:-enable}-numberdlg... $ECHO_C" >&6; }
11550 # Check whether --enable-numberdlg was given.
11551 if test "${enable_numberdlg+set}" = set; then
11552 enableval=$enable_numberdlg;
11553 if test "$enableval" = yes; then
11554 ac_cv_use_numberdlg='wxUSE_NUMBERDLG=yes'
11556 ac_cv_use_numberdlg='wxUSE_NUMBERDLG=no'
11561 LINE=`grep "^wxUSE_NUMBERDLG=" ${wx_arg_cache_file}`
11562 if test "x$LINE" != x ; then
11563 eval "DEFAULT_$LINE"
11568 ac_cv_use_numberdlg='wxUSE_NUMBERDLG='$DEFAULT_wxUSE_NUMBERDLG
11573 eval "$ac_cv_use_numberdlg"
11574 if test "$no_cache" != 1; then
11575 echo $ac_cv_use_numberdlg >> ${wx_arg_cache_file}.tmp
11578 if test "$wxUSE_NUMBERDLG" = yes; then
11579 { echo "$as_me:$LINENO: result: yes" >&5
11580 echo "${ECHO_T}yes" >&6; }
11582 { echo "$as_me:$LINENO: result: no" >&5
11583 echo "${ECHO_T}no" >&6; }
11588 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splash" >&5
11589 echo $ECHO_N "checking for --${enablestring:-enable}-splash... $ECHO_C" >&6; }
11591 # Check whether --enable-splash was given.
11592 if test "${enable_splash+set}" = set; then
11593 enableval=$enable_splash;
11594 if test "$enableval" = yes; then
11595 ac_cv_use_splash='wxUSE_SPLASH=yes'
11597 ac_cv_use_splash='wxUSE_SPLASH=no'
11602 LINE=`grep "^wxUSE_SPLASH=" ${wx_arg_cache_file}`
11603 if test "x$LINE" != x ; then
11604 eval "DEFAULT_$LINE"
11609 ac_cv_use_splash='wxUSE_SPLASH='$DEFAULT_wxUSE_SPLASH
11614 eval "$ac_cv_use_splash"
11615 if test "$no_cache" != 1; then
11616 echo $ac_cv_use_splash >> ${wx_arg_cache_file}.tmp
11619 if test "$wxUSE_SPLASH" = yes; then
11620 { echo "$as_me:$LINENO: result: yes" >&5
11621 echo "${ECHO_T}yes" >&6; }
11623 { echo "$as_me:$LINENO: result: no" >&5
11624 echo "${ECHO_T}no" >&6; }
11629 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textdlg" >&5
11630 echo $ECHO_N "checking for --${enablestring:-enable}-textdlg... $ECHO_C" >&6; }
11632 # Check whether --enable-textdlg was given.
11633 if test "${enable_textdlg+set}" = set; then
11634 enableval=$enable_textdlg;
11635 if test "$enableval" = yes; then
11636 ac_cv_use_textdlg='wxUSE_TEXTDLG=yes'
11638 ac_cv_use_textdlg='wxUSE_TEXTDLG=no'
11643 LINE=`grep "^wxUSE_TEXTDLG=" ${wx_arg_cache_file}`
11644 if test "x$LINE" != x ; then
11645 eval "DEFAULT_$LINE"
11650 ac_cv_use_textdlg='wxUSE_TEXTDLG='$DEFAULT_wxUSE_TEXTDLG
11655 eval "$ac_cv_use_textdlg"
11656 if test "$no_cache" != 1; then
11657 echo $ac_cv_use_textdlg >> ${wx_arg_cache_file}.tmp
11660 if test "$wxUSE_TEXTDLG" = yes; then
11661 { echo "$as_me:$LINENO: result: yes" >&5
11662 echo "${ECHO_T}yes" >&6; }
11664 { echo "$as_me:$LINENO: result: no" >&5
11665 echo "${ECHO_T}no" >&6; }
11670 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipdlg" >&5
11671 echo $ECHO_N "checking for --${enablestring:-enable}-tipdlg... $ECHO_C" >&6; }
11673 # Check whether --enable-tipdlg was given.
11674 if test "${enable_tipdlg+set}" = set; then
11675 enableval=$enable_tipdlg;
11676 if test "$enableval" = yes; then
11677 ac_cv_use_tipdlg='wxUSE_STARTUP_TIPS=yes'
11679 ac_cv_use_tipdlg='wxUSE_STARTUP_TIPS=no'
11684 LINE=`grep "^wxUSE_STARTUP_TIPS=" ${wx_arg_cache_file}`
11685 if test "x$LINE" != x ; then
11686 eval "DEFAULT_$LINE"
11691 ac_cv_use_tipdlg='wxUSE_STARTUP_TIPS='$DEFAULT_wxUSE_STARTUP_TIPS
11696 eval "$ac_cv_use_tipdlg"
11697 if test "$no_cache" != 1; then
11698 echo $ac_cv_use_tipdlg >> ${wx_arg_cache_file}.tmp
11701 if test "$wxUSE_STARTUP_TIPS" = yes; then
11702 { echo "$as_me:$LINENO: result: yes" >&5
11703 echo "${ECHO_T}yes" >&6; }
11705 { echo "$as_me:$LINENO: result: no" >&5
11706 echo "${ECHO_T}no" >&6; }
11711 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-progressdlg" >&5
11712 echo $ECHO_N "checking for --${enablestring:-enable}-progressdlg... $ECHO_C" >&6; }
11714 # Check whether --enable-progressdlg was given.
11715 if test "${enable_progressdlg+set}" = set; then
11716 enableval=$enable_progressdlg;
11717 if test "$enableval" = yes; then
11718 ac_cv_use_progressdlg='wxUSE_PROGRESSDLG=yes'
11720 ac_cv_use_progressdlg='wxUSE_PROGRESSDLG=no'
11725 LINE=`grep "^wxUSE_PROGRESSDLG=" ${wx_arg_cache_file}`
11726 if test "x$LINE" != x ; then
11727 eval "DEFAULT_$LINE"
11732 ac_cv_use_progressdlg='wxUSE_PROGRESSDLG='$DEFAULT_wxUSE_PROGRESSDLG
11737 eval "$ac_cv_use_progressdlg"
11738 if test "$no_cache" != 1; then
11739 echo $ac_cv_use_progressdlg >> ${wx_arg_cache_file}.tmp
11742 if test "$wxUSE_PROGRESSDLG" = yes; then
11743 { echo "$as_me:$LINENO: result: yes" >&5
11744 echo "${ECHO_T}yes" >&6; }
11746 { echo "$as_me:$LINENO: result: no" >&5
11747 echo "${ECHO_T}no" >&6; }
11752 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-wizarddlg" >&5
11753 echo $ECHO_N "checking for --${enablestring:-enable}-wizarddlg... $ECHO_C" >&6; }
11755 # Check whether --enable-wizarddlg was given.
11756 if test "${enable_wizarddlg+set}" = set; then
11757 enableval=$enable_wizarddlg;
11758 if test "$enableval" = yes; then
11759 ac_cv_use_wizarddlg='wxUSE_WIZARDDLG=yes'
11761 ac_cv_use_wizarddlg='wxUSE_WIZARDDLG=no'
11766 LINE=`grep "^wxUSE_WIZARDDLG=" ${wx_arg_cache_file}`
11767 if test "x$LINE" != x ; then
11768 eval "DEFAULT_$LINE"
11773 ac_cv_use_wizarddlg='wxUSE_WIZARDDLG='$DEFAULT_wxUSE_WIZARDDLG
11778 eval "$ac_cv_use_wizarddlg"
11779 if test "$no_cache" != 1; then
11780 echo $ac_cv_use_wizarddlg >> ${wx_arg_cache_file}.tmp
11783 if test "$wxUSE_WIZARDDLG" = yes; then
11784 { echo "$as_me:$LINENO: result: yes" >&5
11785 echo "${ECHO_T}yes" >&6; }
11787 { echo "$as_me:$LINENO: result: no" >&5
11788 echo "${ECHO_T}no" >&6; }
11795 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-menus" >&5
11796 echo $ECHO_N "checking for --${enablestring:-enable}-menus... $ECHO_C" >&6; }
11798 # Check whether --enable-menus was given.
11799 if test "${enable_menus+set}" = set; then
11800 enableval=$enable_menus;
11801 if test "$enableval" = yes; then
11802 ac_cv_use_menus='wxUSE_MENUS=yes'
11804 ac_cv_use_menus='wxUSE_MENUS=no'
11809 LINE=`grep "^wxUSE_MENUS=" ${wx_arg_cache_file}`
11810 if test "x$LINE" != x ; then
11811 eval "DEFAULT_$LINE"
11816 ac_cv_use_menus='wxUSE_MENUS='$DEFAULT_wxUSE_MENUS
11821 eval "$ac_cv_use_menus"
11822 if test "$no_cache" != 1; then
11823 echo $ac_cv_use_menus >> ${wx_arg_cache_file}.tmp
11826 if test "$wxUSE_MENUS" = yes; then
11827 { echo "$as_me:$LINENO: result: yes" >&5
11828 echo "${ECHO_T}yes" >&6; }
11830 { echo "$as_me:$LINENO: result: no" >&5
11831 echo "${ECHO_T}no" >&6; }
11836 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-miniframe" >&5
11837 echo $ECHO_N "checking for --${enablestring:-enable}-miniframe... $ECHO_C" >&6; }
11839 # Check whether --enable-miniframe was given.
11840 if test "${enable_miniframe+set}" = set; then
11841 enableval=$enable_miniframe;
11842 if test "$enableval" = yes; then
11843 ac_cv_use_miniframe='wxUSE_MINIFRAME=yes'
11845 ac_cv_use_miniframe='wxUSE_MINIFRAME=no'
11850 LINE=`grep "^wxUSE_MINIFRAME=" ${wx_arg_cache_file}`
11851 if test "x$LINE" != x ; then
11852 eval "DEFAULT_$LINE"
11857 ac_cv_use_miniframe='wxUSE_MINIFRAME='$DEFAULT_wxUSE_MINIFRAME
11862 eval "$ac_cv_use_miniframe"
11863 if test "$no_cache" != 1; then
11864 echo $ac_cv_use_miniframe >> ${wx_arg_cache_file}.tmp
11867 if test "$wxUSE_MINIFRAME" = yes; then
11868 { echo "$as_me:$LINENO: result: yes" >&5
11869 echo "${ECHO_T}yes" >&6; }
11871 { echo "$as_me:$LINENO: result: no" >&5
11872 echo "${ECHO_T}no" >&6; }
11877 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tooltips" >&5
11878 echo $ECHO_N "checking for --${enablestring:-enable}-tooltips... $ECHO_C" >&6; }
11880 # Check whether --enable-tooltips was given.
11881 if test "${enable_tooltips+set}" = set; then
11882 enableval=$enable_tooltips;
11883 if test "$enableval" = yes; then
11884 ac_cv_use_tooltips='wxUSE_TOOLTIPS=yes'
11886 ac_cv_use_tooltips='wxUSE_TOOLTIPS=no'
11891 LINE=`grep "^wxUSE_TOOLTIPS=" ${wx_arg_cache_file}`
11892 if test "x$LINE" != x ; then
11893 eval "DEFAULT_$LINE"
11898 ac_cv_use_tooltips='wxUSE_TOOLTIPS='$DEFAULT_wxUSE_TOOLTIPS
11903 eval "$ac_cv_use_tooltips"
11904 if test "$no_cache" != 1; then
11905 echo $ac_cv_use_tooltips >> ${wx_arg_cache_file}.tmp
11908 if test "$wxUSE_TOOLTIPS" = yes; then
11909 { echo "$as_me:$LINENO: result: yes" >&5
11910 echo "${ECHO_T}yes" >&6; }
11912 { echo "$as_me:$LINENO: result: no" >&5
11913 echo "${ECHO_T}no" >&6; }
11918 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splines" >&5
11919 echo $ECHO_N "checking for --${enablestring:-enable}-splines... $ECHO_C" >&6; }
11921 # Check whether --enable-splines was given.
11922 if test "${enable_splines+set}" = set; then
11923 enableval=$enable_splines;
11924 if test "$enableval" = yes; then
11925 ac_cv_use_splines='wxUSE_SPLINES=yes'
11927 ac_cv_use_splines='wxUSE_SPLINES=no'
11932 LINE=`grep "^wxUSE_SPLINES=" ${wx_arg_cache_file}`
11933 if test "x$LINE" != x ; then
11934 eval "DEFAULT_$LINE"
11939 ac_cv_use_splines='wxUSE_SPLINES='$DEFAULT_wxUSE_SPLINES
11944 eval "$ac_cv_use_splines"
11945 if test "$no_cache" != 1; then
11946 echo $ac_cv_use_splines >> ${wx_arg_cache_file}.tmp
11949 if test "$wxUSE_SPLINES" = yes; then
11950 { echo "$as_me:$LINENO: result: yes" >&5
11951 echo "${ECHO_T}yes" >&6; }
11953 { echo "$as_me:$LINENO: result: no" >&5
11954 echo "${ECHO_T}no" >&6; }
11959 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mousewheel" >&5
11960 echo $ECHO_N "checking for --${enablestring:-enable}-mousewheel... $ECHO_C" >&6; }
11962 # Check whether --enable-mousewheel was given.
11963 if test "${enable_mousewheel+set}" = set; then
11964 enableval=$enable_mousewheel;
11965 if test "$enableval" = yes; then
11966 ac_cv_use_mousewheel='wxUSE_MOUSEWHEEL=yes'
11968 ac_cv_use_mousewheel='wxUSE_MOUSEWHEEL=no'
11973 LINE=`grep "^wxUSE_MOUSEWHEEL=" ${wx_arg_cache_file}`
11974 if test "x$LINE" != x ; then
11975 eval "DEFAULT_$LINE"
11980 ac_cv_use_mousewheel='wxUSE_MOUSEWHEEL='$DEFAULT_wxUSE_MOUSEWHEEL
11985 eval "$ac_cv_use_mousewheel"
11986 if test "$no_cache" != 1; then
11987 echo $ac_cv_use_mousewheel >> ${wx_arg_cache_file}.tmp
11990 if test "$wxUSE_MOUSEWHEEL" = yes; then
11991 { echo "$as_me:$LINENO: result: yes" >&5
11992 echo "${ECHO_T}yes" >&6; }
11994 { echo "$as_me:$LINENO: result: no" >&5
11995 echo "${ECHO_T}no" >&6; }
12000 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-validators" >&5
12001 echo $ECHO_N "checking for --${enablestring:-enable}-validators... $ECHO_C" >&6; }
12003 # Check whether --enable-validators was given.
12004 if test "${enable_validators+set}" = set; then
12005 enableval=$enable_validators;
12006 if test "$enableval" = yes; then
12007 ac_cv_use_validators='wxUSE_VALIDATORS=yes'
12009 ac_cv_use_validators='wxUSE_VALIDATORS=no'
12014 LINE=`grep "^wxUSE_VALIDATORS=" ${wx_arg_cache_file}`
12015 if test "x$LINE" != x ; then
12016 eval "DEFAULT_$LINE"
12021 ac_cv_use_validators='wxUSE_VALIDATORS='$DEFAULT_wxUSE_VALIDATORS
12026 eval "$ac_cv_use_validators"
12027 if test "$no_cache" != 1; then
12028 echo $ac_cv_use_validators >> ${wx_arg_cache_file}.tmp
12031 if test "$wxUSE_VALIDATORS" = yes; then
12032 { echo "$as_me:$LINENO: result: yes" >&5
12033 echo "${ECHO_T}yes" >&6; }
12035 { echo "$as_me:$LINENO: result: no" >&5
12036 echo "${ECHO_T}no" >&6; }
12041 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-busyinfo" >&5
12042 echo $ECHO_N "checking for --${enablestring:-enable}-busyinfo... $ECHO_C" >&6; }
12044 # Check whether --enable-busyinfo was given.
12045 if test "${enable_busyinfo+set}" = set; then
12046 enableval=$enable_busyinfo;
12047 if test "$enableval" = yes; then
12048 ac_cv_use_busyinfo='wxUSE_BUSYINFO=yes'
12050 ac_cv_use_busyinfo='wxUSE_BUSYINFO=no'
12055 LINE=`grep "^wxUSE_BUSYINFO=" ${wx_arg_cache_file}`
12056 if test "x$LINE" != x ; then
12057 eval "DEFAULT_$LINE"
12062 ac_cv_use_busyinfo='wxUSE_BUSYINFO='$DEFAULT_wxUSE_BUSYINFO
12067 eval "$ac_cv_use_busyinfo"
12068 if test "$no_cache" != 1; then
12069 echo $ac_cv_use_busyinfo >> ${wx_arg_cache_file}.tmp
12072 if test "$wxUSE_BUSYINFO" = yes; then
12073 { echo "$as_me:$LINENO: result: yes" >&5
12074 echo "${ECHO_T}yes" >&6; }
12076 { echo "$as_me:$LINENO: result: no" >&5
12077 echo "${ECHO_T}no" >&6; }
12082 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-joystick" >&5
12083 echo $ECHO_N "checking for --${enablestring:-enable}-joystick... $ECHO_C" >&6; }
12085 # Check whether --enable-joystick was given.
12086 if test "${enable_joystick+set}" = set; then
12087 enableval=$enable_joystick;
12088 if test "$enableval" = yes; then
12089 ac_cv_use_joystick='wxUSE_JOYSTICK=yes'
12091 ac_cv_use_joystick='wxUSE_JOYSTICK=no'
12096 LINE=`grep "^wxUSE_JOYSTICK=" ${wx_arg_cache_file}`
12097 if test "x$LINE" != x ; then
12098 eval "DEFAULT_$LINE"
12103 ac_cv_use_joystick='wxUSE_JOYSTICK='$DEFAULT_wxUSE_JOYSTICK
12108 eval "$ac_cv_use_joystick"
12109 if test "$no_cache" != 1; then
12110 echo $ac_cv_use_joystick >> ${wx_arg_cache_file}.tmp
12113 if test "$wxUSE_JOYSTICK" = yes; then
12114 { echo "$as_me:$LINENO: result: yes" >&5
12115 echo "${ECHO_T}yes" >&6; }
12117 { echo "$as_me:$LINENO: result: no" >&5
12118 echo "${ECHO_T}no" >&6; }
12123 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
12124 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6; }
12126 # Check whether --enable-metafile was given.
12127 if test "${enable_metafile+set}" = set; then
12128 enableval=$enable_metafile;
12129 if test "$enableval" = yes; then
12130 ac_cv_use_metafile='wxUSE_METAFILE=yes'
12132 ac_cv_use_metafile='wxUSE_METAFILE=no'
12137 LINE=`grep "^wxUSE_METAFILE=" ${wx_arg_cache_file}`
12138 if test "x$LINE" != x ; then
12139 eval "DEFAULT_$LINE"
12144 ac_cv_use_metafile='wxUSE_METAFILE='$DEFAULT_wxUSE_METAFILE
12149 eval "$ac_cv_use_metafile"
12150 if test "$no_cache" != 1; then
12151 echo $ac_cv_use_metafile >> ${wx_arg_cache_file}.tmp
12154 if test "$wxUSE_METAFILE" = yes; then
12155 { echo "$as_me:$LINENO: result: yes" >&5
12156 echo "${ECHO_T}yes" >&6; }
12158 { echo "$as_me:$LINENO: result: no" >&5
12159 echo "${ECHO_T}no" >&6; }
12164 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dragimage" >&5
12165 echo $ECHO_N "checking for --${enablestring:-enable}-dragimage... $ECHO_C" >&6; }
12167 # Check whether --enable-dragimage was given.
12168 if test "${enable_dragimage+set}" = set; then
12169 enableval=$enable_dragimage;
12170 if test "$enableval" = yes; then
12171 ac_cv_use_dragimage='wxUSE_DRAGIMAGE=yes'
12173 ac_cv_use_dragimage='wxUSE_DRAGIMAGE=no'
12178 LINE=`grep "^wxUSE_DRAGIMAGE=" ${wx_arg_cache_file}`
12179 if test "x$LINE" != x ; then
12180 eval "DEFAULT_$LINE"
12185 ac_cv_use_dragimage='wxUSE_DRAGIMAGE='$DEFAULT_wxUSE_DRAGIMAGE
12190 eval "$ac_cv_use_dragimage"
12191 if test "$no_cache" != 1; then
12192 echo $ac_cv_use_dragimage >> ${wx_arg_cache_file}.tmp
12195 if test "$wxUSE_DRAGIMAGE" = yes; then
12196 { echo "$as_me:$LINENO: result: yes" >&5
12197 echo "${ECHO_T}yes" >&6; }
12199 { echo "$as_me:$LINENO: result: no" >&5
12200 echo "${ECHO_T}no" >&6; }
12205 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accessibility" >&5
12206 echo $ECHO_N "checking for --${enablestring:-enable}-accessibility... $ECHO_C" >&6; }
12208 # Check whether --enable-accessibility was given.
12209 if test "${enable_accessibility+set}" = set; then
12210 enableval=$enable_accessibility;
12211 if test "$enableval" = yes; then
12212 ac_cv_use_accessibility='wxUSE_ACCESSIBILITY=yes'
12214 ac_cv_use_accessibility='wxUSE_ACCESSIBILITY=no'
12219 LINE=`grep "^wxUSE_ACCESSIBILITY=" ${wx_arg_cache_file}`
12220 if test "x$LINE" != x ; then
12221 eval "DEFAULT_$LINE"
12226 ac_cv_use_accessibility='wxUSE_ACCESSIBILITY='$DEFAULT_wxUSE_ACCESSIBILITY
12231 eval "$ac_cv_use_accessibility"
12232 if test "$no_cache" != 1; then
12233 echo $ac_cv_use_accessibility >> ${wx_arg_cache_file}.tmp
12236 if test "$wxUSE_ACCESSIBILITY" = yes; then
12237 { echo "$as_me:$LINENO: result: yes" >&5
12238 echo "${ECHO_T}yes" >&6; }
12240 { echo "$as_me:$LINENO: result: no" >&5
12241 echo "${ECHO_T}no" >&6; }
12245 if test "$wxUSE_MSW" = "1"; then
12248 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dccache" >&5
12249 echo $ECHO_N "checking for --${enablestring:-enable}-dccache... $ECHO_C" >&6; }
12251 # Check whether --enable-dccache was given.
12252 if test "${enable_dccache+set}" = set; then
12253 enableval=$enable_dccache;
12254 if test "$enableval" = yes; then
12255 ac_cv_use_dccache='wxUSE_DC_CACHEING=yes'
12257 ac_cv_use_dccache='wxUSE_DC_CACHEING=no'
12262 LINE=`grep "^wxUSE_DC_CACHEING=" ${wx_arg_cache_file}`
12263 if test "x$LINE" != x ; then
12264 eval "DEFAULT_$LINE"
12269 ac_cv_use_dccache='wxUSE_DC_CACHEING='$DEFAULT_wxUSE_DC_CACHEING
12274 eval "$ac_cv_use_dccache"
12275 if test "$no_cache" != 1; then
12276 echo $ac_cv_use_dccache >> ${wx_arg_cache_file}.tmp
12279 if test "$wxUSE_DC_CACHEING" = yes; then
12280 { echo "$as_me:$LINENO: result: yes" >&5
12281 echo "${ECHO_T}yes" >&6; }
12283 { echo "$as_me:$LINENO: result: no" >&5
12284 echo "${ECHO_T}no" >&6; }
12292 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-palette" >&5
12293 echo $ECHO_N "checking for --${enablestring:-enable}-palette... $ECHO_C" >&6; }
12295 # Check whether --enable-palette was given.
12296 if test "${enable_palette+set}" = set; then
12297 enableval=$enable_palette;
12298 if test "$enableval" = yes; then
12299 ac_cv_use_palette='wxUSE_PALETTE=yes'
12301 ac_cv_use_palette='wxUSE_PALETTE=no'
12306 LINE=`grep "^wxUSE_PALETTE=" ${wx_arg_cache_file}`
12307 if test "x$LINE" != x ; then
12308 eval "DEFAULT_$LINE"
12313 ac_cv_use_palette='wxUSE_PALETTE='$DEFAULT_wxUSE_PALETTE
12318 eval "$ac_cv_use_palette"
12319 if test "$no_cache" != 1; then
12320 echo $ac_cv_use_palette >> ${wx_arg_cache_file}.tmp
12323 if test "$wxUSE_PALETTE" = 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; }
12333 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-image" >&5
12334 echo $ECHO_N "checking for --${enablestring:-enable}-image... $ECHO_C" >&6; }
12336 # Check whether --enable-image was given.
12337 if test "${enable_image+set}" = set; then
12338 enableval=$enable_image;
12339 if test "$enableval" = yes; then
12340 ac_cv_use_image='wxUSE_IMAGE=yes'
12342 ac_cv_use_image='wxUSE_IMAGE=no'
12347 LINE=`grep "^wxUSE_IMAGE=" ${wx_arg_cache_file}`
12348 if test "x$LINE" != x ; then
12349 eval "DEFAULT_$LINE"
12354 ac_cv_use_image='wxUSE_IMAGE='$DEFAULT_wxUSE_IMAGE
12359 eval "$ac_cv_use_image"
12360 if test "$no_cache" != 1; then
12361 echo $ac_cv_use_image >> ${wx_arg_cache_file}.tmp
12364 if test "$wxUSE_IMAGE" = yes; then
12365 { echo "$as_me:$LINENO: result: yes" >&5
12366 echo "${ECHO_T}yes" >&6; }
12368 { echo "$as_me:$LINENO: result: no" >&5
12369 echo "${ECHO_T}no" >&6; }
12374 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gif" >&5
12375 echo $ECHO_N "checking for --${enablestring:-enable}-gif... $ECHO_C" >&6; }
12377 # Check whether --enable-gif was given.
12378 if test "${enable_gif+set}" = set; then
12379 enableval=$enable_gif;
12380 if test "$enableval" = yes; then
12381 ac_cv_use_gif='wxUSE_GIF=yes'
12383 ac_cv_use_gif='wxUSE_GIF=no'
12388 LINE=`grep "^wxUSE_GIF=" ${wx_arg_cache_file}`
12389 if test "x$LINE" != x ; then
12390 eval "DEFAULT_$LINE"
12395 ac_cv_use_gif='wxUSE_GIF='$DEFAULT_wxUSE_GIF
12400 eval "$ac_cv_use_gif"
12401 if test "$no_cache" != 1; then
12402 echo $ac_cv_use_gif >> ${wx_arg_cache_file}.tmp
12405 if test "$wxUSE_GIF" = yes; then
12406 { echo "$as_me:$LINENO: result: yes" >&5
12407 echo "${ECHO_T}yes" >&6; }
12409 { echo "$as_me:$LINENO: result: no" >&5
12410 echo "${ECHO_T}no" >&6; }
12415 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pcx" >&5
12416 echo $ECHO_N "checking for --${enablestring:-enable}-pcx... $ECHO_C" >&6; }
12418 # Check whether --enable-pcx was given.
12419 if test "${enable_pcx+set}" = set; then
12420 enableval=$enable_pcx;
12421 if test "$enableval" = yes; then
12422 ac_cv_use_pcx='wxUSE_PCX=yes'
12424 ac_cv_use_pcx='wxUSE_PCX=no'
12429 LINE=`grep "^wxUSE_PCX=" ${wx_arg_cache_file}`
12430 if test "x$LINE" != x ; then
12431 eval "DEFAULT_$LINE"
12436 ac_cv_use_pcx='wxUSE_PCX='$DEFAULT_wxUSE_PCX
12441 eval "$ac_cv_use_pcx"
12442 if test "$no_cache" != 1; then
12443 echo $ac_cv_use_pcx >> ${wx_arg_cache_file}.tmp
12446 if test "$wxUSE_PCX" = yes; then
12447 { echo "$as_me:$LINENO: result: yes" >&5
12448 echo "${ECHO_T}yes" >&6; }
12450 { echo "$as_me:$LINENO: result: no" >&5
12451 echo "${ECHO_T}no" >&6; }
12456 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tga" >&5
12457 echo $ECHO_N "checking for --${enablestring:-enable}-tga... $ECHO_C" >&6; }
12459 # Check whether --enable-tga was given.
12460 if test "${enable_tga+set}" = set; then
12461 enableval=$enable_tga;
12462 if test "$enableval" = yes; then
12463 ac_cv_use_tga='wxUSE_TGA=yes'
12465 ac_cv_use_tga='wxUSE_TGA=no'
12470 LINE=`grep "^wxUSE_TGA=" ${wx_arg_cache_file}`
12471 if test "x$LINE" != x ; then
12472 eval "DEFAULT_$LINE"
12477 ac_cv_use_tga='wxUSE_TGA='$DEFAULT_wxUSE_TGA
12482 eval "$ac_cv_use_tga"
12483 if test "$no_cache" != 1; then
12484 echo $ac_cv_use_tga >> ${wx_arg_cache_file}.tmp
12487 if test "$wxUSE_TGA" = yes; then
12488 { echo "$as_me:$LINENO: result: yes" >&5
12489 echo "${ECHO_T}yes" >&6; }
12491 { echo "$as_me:$LINENO: result: no" >&5
12492 echo "${ECHO_T}no" >&6; }
12497 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-iff" >&5
12498 echo $ECHO_N "checking for --${enablestring:-enable}-iff... $ECHO_C" >&6; }
12500 # Check whether --enable-iff was given.
12501 if test "${enable_iff+set}" = set; then
12502 enableval=$enable_iff;
12503 if test "$enableval" = yes; then
12504 ac_cv_use_iff='wxUSE_IFF=yes'
12506 ac_cv_use_iff='wxUSE_IFF=no'
12511 LINE=`grep "^wxUSE_IFF=" ${wx_arg_cache_file}`
12512 if test "x$LINE" != x ; then
12513 eval "DEFAULT_$LINE"
12518 ac_cv_use_iff='wxUSE_IFF='$DEFAULT_wxUSE_IFF
12523 eval "$ac_cv_use_iff"
12524 if test "$no_cache" != 1; then
12525 echo $ac_cv_use_iff >> ${wx_arg_cache_file}.tmp
12528 if test "$wxUSE_IFF" = yes; then
12529 { echo "$as_me:$LINENO: result: yes" >&5
12530 echo "${ECHO_T}yes" >&6; }
12532 { echo "$as_me:$LINENO: result: no" >&5
12533 echo "${ECHO_T}no" >&6; }
12538 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pnm" >&5
12539 echo $ECHO_N "checking for --${enablestring:-enable}-pnm... $ECHO_C" >&6; }
12541 # Check whether --enable-pnm was given.
12542 if test "${enable_pnm+set}" = set; then
12543 enableval=$enable_pnm;
12544 if test "$enableval" = yes; then
12545 ac_cv_use_pnm='wxUSE_PNM=yes'
12547 ac_cv_use_pnm='wxUSE_PNM=no'
12552 LINE=`grep "^wxUSE_PNM=" ${wx_arg_cache_file}`
12553 if test "x$LINE" != x ; then
12554 eval "DEFAULT_$LINE"
12559 ac_cv_use_pnm='wxUSE_PNM='$DEFAULT_wxUSE_PNM
12564 eval "$ac_cv_use_pnm"
12565 if test "$no_cache" != 1; then
12566 echo $ac_cv_use_pnm >> ${wx_arg_cache_file}.tmp
12569 if test "$wxUSE_PNM" = yes; then
12570 { echo "$as_me:$LINENO: result: yes" >&5
12571 echo "${ECHO_T}yes" >&6; }
12573 { echo "$as_me:$LINENO: result: no" >&5
12574 echo "${ECHO_T}no" >&6; }
12579 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xpm" >&5
12580 echo $ECHO_N "checking for --${enablestring:-enable}-xpm... $ECHO_C" >&6; }
12582 # Check whether --enable-xpm was given.
12583 if test "${enable_xpm+set}" = set; then
12584 enableval=$enable_xpm;
12585 if test "$enableval" = yes; then
12586 ac_cv_use_xpm='wxUSE_XPM=yes'
12588 ac_cv_use_xpm='wxUSE_XPM=no'
12593 LINE=`grep "^wxUSE_XPM=" ${wx_arg_cache_file}`
12594 if test "x$LINE" != x ; then
12595 eval "DEFAULT_$LINE"
12600 ac_cv_use_xpm='wxUSE_XPM='$DEFAULT_wxUSE_XPM
12605 eval "$ac_cv_use_xpm"
12606 if test "$no_cache" != 1; then
12607 echo $ac_cv_use_xpm >> ${wx_arg_cache_file}.tmp
12610 if test "$wxUSE_XPM" = yes; then
12611 { echo "$as_me:$LINENO: result: yes" >&5
12612 echo "${ECHO_T}yes" >&6; }
12614 { echo "$as_me:$LINENO: result: no" >&5
12615 echo "${ECHO_T}no" >&6; }
12620 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ico_cur" >&5
12621 echo $ECHO_N "checking for --${enablestring:-enable}-ico_cur... $ECHO_C" >&6; }
12623 # Check whether --enable-ico_cur was given.
12624 if test "${enable_ico_cur+set}" = set; then
12625 enableval=$enable_ico_cur;
12626 if test "$enableval" = yes; then
12627 ac_cv_use_ico_cur='wxUSE_ICO_CUR=yes'
12629 ac_cv_use_ico_cur='wxUSE_ICO_CUR=no'
12634 LINE=`grep "^wxUSE_ICO_CUR=" ${wx_arg_cache_file}`
12635 if test "x$LINE" != x ; then
12636 eval "DEFAULT_$LINE"
12641 ac_cv_use_ico_cur='wxUSE_ICO_CUR='$DEFAULT_wxUSE_ICO_CUR
12646 eval "$ac_cv_use_ico_cur"
12647 if test "$no_cache" != 1; then
12648 echo $ac_cv_use_ico_cur >> ${wx_arg_cache_file}.tmp
12651 if test "$wxUSE_ICO_CUR" = yes; then
12652 { echo "$as_me:$LINENO: result: yes" >&5
12653 echo "${ECHO_T}yes" >&6; }
12655 { echo "$as_me:$LINENO: result: no" >&5
12656 echo "${ECHO_T}no" >&6; }
12664 # Check whether --with-flavour was given.
12665 if test "${with_flavour+set}" = set; then
12666 withval=$with_flavour; WX_FLAVOUR="$withval"
12673 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-official_build" >&5
12674 echo $ECHO_N "checking for --${enablestring:-enable}-official_build... $ECHO_C" >&6; }
12676 # Check whether --enable-official_build was given.
12677 if test "${enable_official_build+set}" = set; then
12678 enableval=$enable_official_build;
12679 if test "$enableval" = yes; then
12680 ac_cv_use_official_build='wxUSE_OFFICIAL_BUILD=yes'
12682 ac_cv_use_official_build='wxUSE_OFFICIAL_BUILD=no'
12687 LINE=`grep "^wxUSE_OFFICIAL_BUILD=" ${wx_arg_cache_file}`
12688 if test "x$LINE" != x ; then
12689 eval "DEFAULT_$LINE"
12694 ac_cv_use_official_build='wxUSE_OFFICIAL_BUILD='$DEFAULT_wxUSE_OFFICIAL_BUILD
12699 eval "$ac_cv_use_official_build"
12700 if test "$no_cache" != 1; then
12701 echo $ac_cv_use_official_build >> ${wx_arg_cache_file}.tmp
12704 if test "$wxUSE_OFFICIAL_BUILD" = yes; then
12705 { echo "$as_me:$LINENO: result: yes" >&5
12706 echo "${ECHO_T}yes" >&6; }
12708 { echo "$as_me:$LINENO: result: no" >&5
12709 echo "${ECHO_T}no" >&6; }
12712 # Check whether --enable-vendor was given.
12713 if test "${enable_vendor+set}" = set; then
12714 enableval=$enable_vendor; VENDOR="$enableval"
12717 if test "x$VENDOR" = "x"; then
12724 echo "saving argument cache $wx_arg_cache_file"
12725 mv ${wx_arg_cache_file}.tmp ${wx_arg_cache_file}
12729 { echo "$as_me:$LINENO: checking for toolkit" >&5
12730 echo $ECHO_N "checking for toolkit... $ECHO_C" >&6; }
12732 # In Wine, we need to default to MSW, not GTK or MOTIF
12733 if test "$wxUSE_WINE" = "yes"; then
12734 DEFAULT_DEFAULT_wxUSE_GTK=0
12735 DEFAULT_DEFAULT_wxUSE_MOTIF=0
12736 DEFAULT_DEFAULT_wxUSE_MSW=1
12739 CXX=${CXX:-wineg++}
12743 if test "$wxUSE_GUI" = "yes"; then
12745 if test "$USE_BEOS" = 1; then
12746 { { echo "$as_me:$LINENO: error: BeOS GUI is not supported yet, use --disable-gui" >&5
12747 echo "$as_me: error: BeOS GUI is not supported yet, use --disable-gui" >&2;}
12748 { (exit 1); exit 1; }; }
12751 if test "$TOOLKIT_GIVEN" = 1; then
12752 for toolkit in `echo $ALL_TOOLKITS`; do
12754 eval "value=\$${var}"
12755 if test "x$value" = "xno"; then
12757 elif test "x$value" != "x"; then
12761 if test "x$value" != "x" -a "x$value" != "xyes" -a "x$value" != "xno"; then
12762 eval "wx${toolkit}_VERSION=$value"
12766 for toolkit in `echo $ALL_TOOLKITS`; do
12767 if test "$has_toolkit_in_cache" != 1; then
12768 var=DEFAULT_DEFAULT_wxUSE_$toolkit
12770 var=DEFAULT_wxUSE_$toolkit
12772 eval "version=\$DEFAULT_wx${toolkit}_VERSION"
12773 if test "x$version" != "x"; then
12774 eval "wx${toolkit}_VERSION=$version"
12777 eval "wxUSE_$toolkit=\$${var}"
12781 NUM_TOOLKITS=`expr ${wxUSE_COCOA:-0} + ${wxUSE_GTK:-0} + ${wxUSE_MAC:-0} \
12782 + ${wxUSE_MGL:-0} + ${wxUSE_DFB:-0} + ${wxUSE_MICROWIN:-0} \
12783 + ${wxUSE_MOTIF:-0} + ${wxUSE_MSW:-0} + ${wxUSE_X11:-0}`
12786 *-pc-os2_emx | *-pc-os2-emx )
12787 NUM_TOOLKITS=`expr ${NUM_TOOLKITS} + ${wxUSE_PM:-0}`
12790 case "$NUM_TOOLKITS" in
12794 { { echo "$as_me:$LINENO: error: Please specify a toolkit -- cannot determine the default for ${host}" >&5
12795 echo "$as_me: error: Please specify a toolkit -- cannot determine the default for ${host}" >&2;}
12796 { (exit 1); exit 1; }; }
12799 { { echo "$as_me:$LINENO: error: Please specify at most one toolkit (maybe some are cached in configarg.cache?)" >&5
12800 echo "$as_me: error: Please specify at most one toolkit (maybe some are cached in configarg.cache?)" >&2;}
12801 { (exit 1); exit 1; }; }
12804 # to be removed when --disable-gtk2 isn't needed
12805 if test "x$wxUSE_GTK2" = "xyes"; then
12807 elif test "x$wxUSE_GTK2" = "xno"; then
12811 for toolkit in `echo $ALL_TOOLKITS`; do
12813 eval "value=\$${var}"
12814 if test "x$value" != x; then
12815 cache_var=CACHE_$toolkit
12816 eval "cache=\$${cache_var}"
12817 if test "$cache" = 1; then
12818 echo "$var=$value" >> ${wx_arg_cache_file}
12819 eval "version=\$wx${toolkit}_VERSION"
12820 if test "x$version" != "x"; then
12821 echo "wx${toolkit}_VERSION=$version" >> ${wx_arg_cache_file}
12824 if test "$value" = 1; then
12825 toolkit_echo=`echo $toolkit | tr "[A-Z]" "[a-z]"`
12826 { echo "$as_me:$LINENO: result: $toolkit_echo" >&5
12827 echo "${ECHO_T}$toolkit_echo" >&6; }
12832 if test "x$host_alias" != "x"; then
12833 { echo "$as_me:$LINENO: result: base ($host_alias hosted) only" >&5
12834 echo "${ECHO_T}base ($host_alias hosted) only" >&6; }
12836 { echo "$as_me:$LINENO: result: base only" >&5
12837 echo "${ECHO_T}base only" >&6; }
12842 cat >confcache <<\_ACEOF
12843 # This file is a shell script that caches the results of configure
12844 # tests run on this system so they can be shared between configure
12845 # scripts and configure runs, see configure's option --config-cache.
12846 # It is not useful on other systems. If it contains results you don't
12847 # want to keep, you may remove or edit it.
12849 # config.status only pays attention to the cache file if you give it
12850 # the --recheck option to rerun configure.
12852 # `ac_cv_env_foo
' variables (set or unset) will be overridden when
12853 # loading this file, other *unset* `ac_cv_foo' will be assigned the
12854 # following values.
12858 # The following way of writing the cache mishandles newlines in values,
12859 # but we know of no workaround that is simple, portable, and efficient.
12860 # So, we kill variables containing newlines.
12861 # Ultrix sh set writes to stderr and can't be redirected directly,
12862 # and sets the high bit in the cache file unless we assign to the vars.
12864 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
12865 eval ac_val
=\$
$ac_var
12869 *_cv_
*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
12870 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
12873 _
| IFS
| as_nl
) ;; #(
12874 *) $as_unset $ac_var ;;
12880 case $as_nl`(ac_space=' '; set) 2>&1` in #(
12881 *${as_nl}ac_space
=\
*)
12882 # `set' does not quote correctly, so add quotes (double-quote
12883 # substitution turns \\\\ into \\, and sed turns \\ into \).
12886 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
12889 # `set' quotes correctly as required by POSIX, so do not add quotes.
12890 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
12899 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
12901 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
12903 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
12904 if test -w "$cache_file"; then
12905 test "x$cache_file" != "x/dev/null" &&
12906 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
12907 echo "$as_me: updating cache $cache_file" >&6;}
12908 cat confcache
>$cache_file
12910 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
12911 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
12921 ac_cpp
='$CPP $CPPFLAGS'
12922 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12923 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12924 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12925 if test -n "$ac_tool_prefix"; then
12926 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
12927 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
12928 { echo "$as_me:$LINENO: checking for $ac_word" >&5
12929 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
12930 if test "${ac_cv_prog_CC+set}" = set; then
12931 echo $ECHO_N "(cached) $ECHO_C" >&6
12933 if test -n "$CC"; then
12934 ac_cv_prog_CC
="$CC" # Let the user override the test.
12936 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12937 for as_dir
in $PATH
12940 test -z "$as_dir" && as_dir
=.
12941 for ac_exec_ext
in '' $ac_executable_extensions; do
12942 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12943 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
12944 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12954 if test -n "$CC"; then
12955 { echo "$as_me:$LINENO: result: $CC" >&5
12956 echo "${ECHO_T}$CC" >&6; }
12958 { echo "$as_me:$LINENO: result: no" >&5
12959 echo "${ECHO_T}no" >&6; }
12964 if test -z "$ac_cv_prog_CC"; then
12966 # Extract the first word of "gcc", so it can be a program name with args.
12967 set dummy gcc
; ac_word
=$2
12968 { echo "$as_me:$LINENO: checking for $ac_word" >&5
12969 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
12970 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
12971 echo $ECHO_N "(cached) $ECHO_C" >&6
12973 if test -n "$ac_ct_CC"; then
12974 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
12976 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12977 for as_dir
in $PATH
12980 test -z "$as_dir" && as_dir
=.
12981 for ac_exec_ext
in '' $ac_executable_extensions; do
12982 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12983 ac_cv_prog_ac_ct_CC
="gcc"
12984 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12993 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
12994 if test -n "$ac_ct_CC"; then
12995 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
12996 echo "${ECHO_T}$ac_ct_CC" >&6; }
12998 { echo "$as_me:$LINENO: result: no" >&5
12999 echo "${ECHO_T}no" >&6; }
13002 if test "x$ac_ct_CC" = x
; then
13005 case $cross_compiling:$ac_tool_warned in
13007 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
13008 whose name does not start with the host triplet. If you think this
13009 configuration is useful to you, please write to autoconf@gnu.org." >&5
13010 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
13011 whose name does not start with the host triplet. If you think this
13012 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
13013 ac_tool_warned
=yes ;;
13018 CC
="$ac_cv_prog_CC"
13021 if test -z "$CC"; then
13022 if test -n "$ac_tool_prefix"; then
13023 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
13024 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
13025 { echo "$as_me:$LINENO: checking for $ac_word" >&5
13026 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
13027 if test "${ac_cv_prog_CC+set}" = set; then
13028 echo $ECHO_N "(cached) $ECHO_C" >&6
13030 if test -n "$CC"; then
13031 ac_cv_prog_CC
="$CC" # Let the user override the test.
13033 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13034 for as_dir
in $PATH
13037 test -z "$as_dir" && as_dir
=.
13038 for ac_exec_ext
in '' $ac_executable_extensions; do
13039 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13040 ac_cv_prog_CC
="${ac_tool_prefix}cc"
13041 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13051 if test -n "$CC"; then
13052 { echo "$as_me:$LINENO: result: $CC" >&5
13053 echo "${ECHO_T}$CC" >&6; }
13055 { echo "$as_me:$LINENO: result: no" >&5
13056 echo "${ECHO_T}no" >&6; }
13062 if test -z "$CC"; then
13063 # Extract the first word of "cc", so it can be a program name with args.
13064 set dummy cc
; ac_word
=$2
13065 { echo "$as_me:$LINENO: checking for $ac_word" >&5
13066 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
13067 if test "${ac_cv_prog_CC+set}" = set; then
13068 echo $ECHO_N "(cached) $ECHO_C" >&6
13070 if test -n "$CC"; then
13071 ac_cv_prog_CC
="$CC" # Let the user override the test.
13073 ac_prog_rejected
=no
13074 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13075 for as_dir
in $PATH
13078 test -z "$as_dir" && as_dir
=.
13079 for ac_exec_ext
in '' $ac_executable_extensions; do
13080 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13081 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
13082 ac_prog_rejected
=yes
13086 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13093 if test $ac_prog_rejected = yes; then
13094 # We found a bogon in the path, so make sure we never use it.
13095 set dummy
$ac_cv_prog_CC
13097 if test $# != 0; then
13098 # We chose a different compiler from the bogus one.
13099 # However, it has the same basename, so the bogon will be chosen
13100 # first if we set CC to just the basename; use the full file name.
13102 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
13108 if test -n "$CC"; then
13109 { echo "$as_me:$LINENO: result: $CC" >&5
13110 echo "${ECHO_T}$CC" >&6; }
13112 { echo "$as_me:$LINENO: result: no" >&5
13113 echo "${ECHO_T}no" >&6; }
13118 if test -z "$CC"; then
13119 if test -n "$ac_tool_prefix"; then
13120 for ac_prog
in cl.exe
13122 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
13123 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
13124 { echo "$as_me:$LINENO: checking for $ac_word" >&5
13125 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
13126 if test "${ac_cv_prog_CC+set}" = set; then
13127 echo $ECHO_N "(cached) $ECHO_C" >&6
13129 if test -n "$CC"; then
13130 ac_cv_prog_CC
="$CC" # Let the user override the test.
13132 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13133 for as_dir
in $PATH
13136 test -z "$as_dir" && as_dir
=.
13137 for ac_exec_ext
in '' $ac_executable_extensions; do
13138 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13139 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
13140 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13150 if test -n "$CC"; then
13151 { echo "$as_me:$LINENO: result: $CC" >&5
13152 echo "${ECHO_T}$CC" >&6; }
13154 { echo "$as_me:$LINENO: result: no" >&5
13155 echo "${ECHO_T}no" >&6; }
13159 test -n "$CC" && break
13162 if test -z "$CC"; then
13164 for ac_prog
in cl.exe
13166 # Extract the first word of "$ac_prog", so it can be a program name with args.
13167 set dummy
$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_ac_ct_CC+set}" = set; then
13171 echo $ECHO_N "(cached) $ECHO_C" >&6
13173 if test -n "$ac_ct_CC"; then
13174 ac_cv_prog_ac_ct_CC
="$ac_ct_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_ac_ct_CC
="$ac_prog"
13184 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13193 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
13194 if test -n "$ac_ct_CC"; then
13195 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
13196 echo "${ECHO_T}$ac_ct_CC" >&6; }
13198 { echo "$as_me:$LINENO: result: no" >&5
13199 echo "${ECHO_T}no" >&6; }
13203 test -n "$ac_ct_CC" && break
13206 if test "x$ac_ct_CC" = x
; then
13209 case $cross_compiling:$ac_tool_warned in
13211 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
13212 whose name does not start with the host triplet. If you think this
13213 configuration is useful to you, please write to autoconf@gnu.org." >&5
13214 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
13215 whose name does not start with the host triplet. If you think this
13216 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
13217 ac_tool_warned
=yes ;;
13226 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
13227 See \`config.log' for more details." >&5
13228 echo "$as_me: error: no acceptable C compiler found in \$PATH
13229 See \`config.log' for more details." >&2;}
13230 { (exit 1); exit 1; }; }
13232 # Provide some information about the compiler.
13233 echo "$as_me:$LINENO: checking for C compiler version" >&5
13234 ac_compiler
=`set X $ac_compile; echo $2`
13235 { (ac_try
="$ac_compiler --version >&5"
13236 case "(($ac_try" in
13237 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
13238 *) ac_try_echo=$ac_try;;
13240 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13241 (eval "$ac_compiler --version >&5") 2>&5
13243 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13244 (exit $ac_status); }
13245 { (ac_try="$ac_compiler -v >&5"
13246 case "(($ac_try" in
13247 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
13248 *) ac_try_echo
=$ac_try;;
13250 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13251 (eval "$ac_compiler -v >&5") 2>&5
13253 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13254 (exit $ac_status); }
13255 { (ac_try
="$ac_compiler -V >&5"
13256 case "(($ac_try" in
13257 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
13258 *) ac_try_echo=$ac_try;;
13260 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13261 (eval "$ac_compiler -V >&5") 2>&5
13263 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13264 (exit $ac_status); }
13266 cat >conftest.$ac_ext <<_ACEOF
13269 cat confdefs.h >>conftest.$ac_ext
13270 cat >>conftest.$ac_ext <<_ACEOF
13271 /* end confdefs.h. */
13281 ac_clean_files_save=$ac_clean_files
13282 ac_clean_files="$ac_clean_files a.out a.exe b.out"
13283 # Try to create an executable without -o first, disregard a.out.
13284 # It will help us diagnose broken compilers, and finding out an intuition
13286 { echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
13287 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
13288 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
13290 # List of possible output files, starting from the most likely.
13291 # The algorithm is not robust to junk in `.
', hence go to wildcards (a.*)
13292 # only as a last resort. b.out is created by i960 compilers.
13293 ac_files='a_out.exe a.exe conftest.exe a.out conftest a.
* conftest.
* b.out
'
13295 # The IRIX 6 linker writes into existing files which may not be
13296 # executable, retaining their permissions. Remove them first so a
13297 # subsequent execution test works.
13299 for ac_file in $ac_files
13302 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
13303 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
13308 if { (ac_try="$ac_link_default"
13309 case "(($ac_try" in
13310 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13311 *) ac_try_echo=$ac_try;;
13313 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13314 (eval "$ac_link_default") 2>&5
13316 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13317 (exit $ac_status); }; then
13318 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
13319 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
13320 # in a Makefile. We should not override ac_cv_exeext if it was cached,
13321 # so that the user can short-circuit this test for compilers unknown to
13323 for ac_file
in $ac_files ''
13325 test -f "$ac_file" || continue
13327 *.
$ac_ext | *.xcoff
| *.tds
| *.d
| *.pdb
| *.xSYM
| *.bb
| *.bbg
| *.map
| *.inf
| *.o
| *.obj
)
13330 # We found the default executable, but exeext='' is most
13334 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
13336 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
13338 # We set ac_cv_exeext here because the later test for it is not
13339 # safe: cross compilers may not add the suffix if given an `-o'
13340 # argument, so we may need to know it at that point already.
13341 # Even if this section looks crufty: it has the advantage of
13342 # actually working.
13348 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
13354 { echo "$as_me:$LINENO: result: $ac_file" >&5
13355 echo "${ECHO_T}$ac_file" >&6; }
13356 if test -z "$ac_file"; then
13357 echo "$as_me: failed program was:" >&5
13358 sed 's/^/| /' conftest.
$ac_ext >&5
13360 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
13361 See \`config.log' for more details." >&5
13362 echo "$as_me: error: C compiler cannot create executables
13363 See \`config.log' for more details." >&2;}
13364 { (exit 77); exit 77; }; }
13367 ac_exeext
=$ac_cv_exeext
13369 # Check that the compiler produces executables we can run. If not, either
13370 # the compiler is broken, or we cross compile.
13371 { echo "$as_me:$LINENO: checking whether the C compiler works" >&5
13372 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
13373 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
13374 # If not cross compiling, check that we can run a simple program.
13375 if test "$cross_compiling" != yes; then
13376 if { ac_try
='./$ac_file'
13377 { (case "(($ac_try" in
13378 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
13379 *) ac_try_echo=$ac_try;;
13381 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13382 (eval "$ac_try") 2>&5
13384 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13385 (exit $ac_status); }; }; then
13388 if test "$cross_compiling" = maybe; then
13389 cross_compiling=yes
13391 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
13392 If you meant to cross compile, use \`--host'.
13393 See \`config.log' for more details.
" >&5
13394 echo "$as_me: error
: cannot run C compiled programs.
13395 If you meant to cross compile
, use \
`--host'.
13396 See \`config.log
' for more details." >&2;}
13397 { (exit 1); exit 1; }; }
13401 { echo "$as_me:$LINENO: result: yes" >&5
13402 echo "${ECHO_T}yes" >&6; }
13404 rm -f a.out a.exe conftest$ac_cv_exeext b.out
13405 ac_clean_files=$ac_clean_files_save
13406 # Check that the compiler produces executables we can run. If not, either
13407 # the compiler is broken, or we cross compile.
13408 { echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
13409 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
13410 { echo "$as_me:$LINENO: result: $cross_compiling" >&5
13411 echo "${ECHO_T}$cross_compiling" >&6; }
13413 { echo "$as_me:$LINENO: checking for suffix of executables" >&5
13414 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
13415 if { (ac_try="$ac_link"
13416 case "(($ac_try" in
13417 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13418 *) ac_try_echo=$ac_try;;
13420 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13421 (eval "$ac_link") 2>&5
13423 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13424 (exit $ac_status); }; then
13425 # If both `conftest.exe' and
`conftest' are `present
' (well, observable)
13426 # catch `conftest.exe'. For instance with Cygwin
, `ls conftest' will
13427 # work properly (i.e., refer to `conftest.exe
'), while it won't with
13429 for ac_file
in conftest.exe conftest conftest.
*; do
13430 test -f "$ac_file" || continue
13432 *.
$ac_ext | *.xcoff
| *.tds
| *.d
| *.pdb
| *.xSYM
| *.bb
| *.bbg
| *.map
| *.inf
| *.o
| *.obj
) ;;
13433 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
13439 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
13440 See \`config.log' for more details." >&5
13441 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
13442 See \`config.log' for more details." >&2;}
13443 { (exit 1); exit 1; }; }
13446 rm -f conftest
$ac_cv_exeext
13447 { echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
13448 echo "${ECHO_T}$ac_cv_exeext" >&6; }
13450 rm -f conftest.
$ac_ext
13451 EXEEXT
=$ac_cv_exeext
13453 { echo "$as_me:$LINENO: checking for suffix of object files" >&5
13454 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
13455 if test "${ac_cv_objext+set}" = set; then
13456 echo $ECHO_N "(cached) $ECHO_C" >&6
13458 cat >conftest.
$ac_ext <<_ACEOF
13461 cat confdefs.h
>>conftest.
$ac_ext
13462 cat >>conftest.
$ac_ext <<_ACEOF
13463 /* end confdefs.h. */
13473 rm -f conftest.o conftest.obj
13474 if { (ac_try
="$ac_compile"
13475 case "(($ac_try" in
13476 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
13477 *) ac_try_echo=$ac_try;;
13479 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13480 (eval "$ac_compile") 2>&5
13482 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13483 (exit $ac_status); }; then
13484 for ac_file in conftest.o conftest.obj conftest.*; do
13485 test -f "$ac_file" || continue;
13487 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
13488 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
13493 echo "$as_me: failed program was:" >&5
13494 sed 's/^/| /' conftest.$ac_ext >&5
13496 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
13497 See \`config.log
' for more details." >&5
13498 echo "$as_me: error: cannot compute suffix of object files: cannot compile
13499 See \`config.log' for more details.
" >&2;}
13500 { (exit 1); exit 1; }; }
13503 rm -f conftest.$ac_cv_objext conftest.$ac_ext
13505 { echo "$as_me:$LINENO: result
: $ac_cv_objext" >&5
13506 echo "${ECHO_T}$ac_cv_objext" >&6; }
13507 OBJEXT=$ac_cv_objext
13509 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler
" >&5
13510 echo $ECHO_N "checking whether we are using the GNU C compiler...
$ECHO_C" >&6; }
13511 if test "${ac_cv_c_compiler_gnu+set}" = set; then
13512 echo $ECHO_N "(cached
) $ECHO_C" >&6
13514 cat >conftest.$ac_ext <<_ACEOF
13517 cat confdefs.h >>conftest.$ac_ext
13518 cat >>conftest.$ac_ext <<_ACEOF
13519 /* end confdefs.h. */
13532 rm -f conftest.$ac_objext
13533 if { (ac_try="$ac_compile"
13534 case "(($ac_try" in
13535 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13536 *) ac_try_echo=$ac_try;;
13538 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
13539 (eval "$ac_compile") 2>conftest.er1
13541 grep -v '^ *+' conftest.er1 >conftest.err
13543 cat conftest.err >&5
13544 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
13545 (exit $ac_status); } && {
13546 test -z "$ac_c_werror_flag" ||
13547 test ! -s conftest.err
13548 } && test -s conftest.$ac_objext; then
13549 ac_compiler_gnu=yes
13551 echo "$as_me: failed program was
:" >&5
13552 sed 's/^/| /' conftest.$ac_ext >&5
13557 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13558 ac_cv_c_compiler_gnu=$ac_compiler_gnu
13561 { echo "$as_me:$LINENO: result
: $ac_cv_c_compiler_gnu" >&5
13562 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
13563 GCC=`test $ac_compiler_gnu = yes && echo yes`
13564 ac_test_CFLAGS=${CFLAGS+set}
13565 ac_save_CFLAGS=$CFLAGS
13566 { echo "$as_me:$LINENO: checking whether
$CC accepts
-g" >&5
13567 echo $ECHO_N "checking whether
$CC accepts
-g...
$ECHO_C" >&6; }
13568 if test "${ac_cv_prog_cc_g+set}" = set; then
13569 echo $ECHO_N "(cached
) $ECHO_C" >&6
13571 ac_save_c_werror_flag=$ac_c_werror_flag
13572 ac_c_werror_flag=yes
13575 cat >conftest.$ac_ext <<_ACEOF
13578 cat confdefs.h >>conftest.$ac_ext
13579 cat >>conftest.$ac_ext <<_ACEOF
13580 /* end confdefs.h. */
13590 rm -f conftest.$ac_objext
13591 if { (ac_try="$ac_compile"
13592 case "(($ac_try" in
13593 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13594 *) ac_try_echo=$ac_try;;
13596 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
13597 (eval "$ac_compile") 2>conftest.er1
13599 grep -v '^ *+' conftest.er1 >conftest.err
13601 cat conftest.err >&5
13602 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
13603 (exit $ac_status); } && {
13604 test -z "$ac_c_werror_flag" ||
13605 test ! -s conftest.err
13606 } && test -s conftest.$ac_objext; then
13607 ac_cv_prog_cc_g=yes
13609 echo "$as_me: failed program was
:" >&5
13610 sed 's/^/| /' conftest.$ac_ext >&5
13613 cat >conftest.$ac_ext <<_ACEOF
13616 cat confdefs.h >>conftest.$ac_ext
13617 cat >>conftest.$ac_ext <<_ACEOF
13618 /* end confdefs.h. */
13628 rm -f conftest.$ac_objext
13629 if { (ac_try="$ac_compile"
13630 case "(($ac_try" in
13631 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13632 *) ac_try_echo=$ac_try;;
13634 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
13635 (eval "$ac_compile") 2>conftest.er1
13637 grep -v '^ *+' conftest.er1 >conftest.err
13639 cat conftest.err >&5
13640 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
13641 (exit $ac_status); } && {
13642 test -z "$ac_c_werror_flag" ||
13643 test ! -s conftest.err
13644 } && test -s conftest.$ac_objext; then
13647 echo "$as_me: failed program was
:" >&5
13648 sed 's/^/| /' conftest.$ac_ext >&5
13650 ac_c_werror_flag=$ac_save_c_werror_flag
13652 cat >conftest.$ac_ext <<_ACEOF
13655 cat confdefs.h >>conftest.$ac_ext
13656 cat >>conftest.$ac_ext <<_ACEOF
13657 /* end confdefs.h. */
13667 rm -f conftest.$ac_objext
13668 if { (ac_try="$ac_compile"
13669 case "(($ac_try" in
13670 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13671 *) ac_try_echo=$ac_try;;
13673 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
13674 (eval "$ac_compile") 2>conftest.er1
13676 grep -v '^ *+' conftest.er1 >conftest.err
13678 cat conftest.err >&5
13679 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
13680 (exit $ac_status); } && {
13681 test -z "$ac_c_werror_flag" ||
13682 test ! -s conftest.err
13683 } && test -s conftest.$ac_objext; then
13684 ac_cv_prog_cc_g=yes
13686 echo "$as_me: failed program was
:" >&5
13687 sed 's/^/| /' conftest.$ac_ext >&5
13692 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13695 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13698 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13699 ac_c_werror_flag=$ac_save_c_werror_flag
13701 { echo "$as_me:$LINENO: result
: $ac_cv_prog_cc_g" >&5
13702 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
13703 if test "$ac_test_CFLAGS" = set; then
13704 CFLAGS=$ac_save_CFLAGS
13705 elif test $ac_cv_prog_cc_g = yes; then
13706 if test "$GCC" = yes; then
13712 if test "$GCC" = yes; then
13718 { echo "$as_me:$LINENO: checking
for $CC option to accept ISO C89
" >&5
13719 echo $ECHO_N "checking
for $CC option to accept ISO C89...
$ECHO_C" >&6; }
13720 if test "${ac_cv_prog_cc_c89+set}" = set; then
13721 echo $ECHO_N "(cached
) $ECHO_C" >&6
13723 ac_cv_prog_cc_c89=no
13725 cat >conftest.$ac_ext <<_ACEOF
13728 cat confdefs.h >>conftest.$ac_ext
13729 cat >>conftest.$ac_ext <<_ACEOF
13730 /* end confdefs.h. */
13731 #include <stdarg.h>
13733 #include <sys/types.h>
13734 #include <sys/stat.h>
13735 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
13736 struct buf { int x; };
13737 FILE * (*rcsopen) (struct buf *, struct stat *, int);
13738 static char *e (p, i)
13744 static char *f (char * (*g) (char **, int), char **p, ...)
13749 s = g (p, va_arg (v,int));
13754 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
13755 function prototypes and stuff, but not '\xHH' hex character constants.
13756 These don't provoke an error unfortunately, instead are silently treated
13757 as 'x'. The following induces an error, until -std is added to get
13758 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
13759 array size at least. It's necessary to write '\x00'==0 to get something
13760 that's true only with -std. */
13761 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
13763 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
13764 inside strings and character constants. */
13766 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
13768 int test (int i, double x);
13769 struct s1 {int (*f) (int a);};
13770 struct s2 {int (*f) (double a);};
13771 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
13777 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
13782 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
13783 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
13785 CC="$ac_save_CC $ac_arg"
13786 rm -f conftest.$ac_objext
13787 if { (ac_try="$ac_compile"
13788 case "(($ac_try" in
13789 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13790 *) ac_try_echo=$ac_try;;
13792 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
13793 (eval "$ac_compile") 2>conftest.er1
13795 grep -v '^ *+' conftest.er1 >conftest.err
13797 cat conftest.err >&5
13798 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
13799 (exit $ac_status); } && {
13800 test -z "$ac_c_werror_flag" ||
13801 test ! -s conftest.err
13802 } && test -s conftest.$ac_objext; then
13803 ac_cv_prog_cc_c89=$ac_arg
13805 echo "$as_me: failed program was
:" >&5
13806 sed 's/^/| /' conftest.$ac_ext >&5
13811 rm -f core conftest.err conftest.$ac_objext
13812 test "x
$ac_cv_prog_cc_c89" != "xno
" && break
13814 rm -f conftest.$ac_ext
13819 case "x
$ac_cv_prog_cc_c89" in
13821 { echo "$as_me:$LINENO: result
: none needed
" >&5
13822 echo "${ECHO_T}none needed
" >&6; } ;;
13824 { echo "$as_me:$LINENO: result
: unsupported
" >&5
13825 echo "${ECHO_T}unsupported
" >&6; } ;;
13827 CC="$CC $ac_cv_prog_cc_c89"
13828 { echo "$as_me:$LINENO: result
: $ac_cv_prog_cc_c89" >&5
13829 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
13834 ac_cpp='$CPP $CPPFLAGS'
13835 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13836 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13837 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13842 ac_cpp='$CPP $CPPFLAGS'
13843 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13844 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13845 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13847 { echo "$as_me:$LINENO: checking whether we are using the Intel C compiler
" >&5
13848 echo $ECHO_N "checking whether we are using the Intel C compiler...
$ECHO_C" >&6; }
13849 if test "${bakefile_cv_c_compiler___INTEL_COMPILER+set}" = set; then
13850 echo $ECHO_N "(cached
) $ECHO_C" >&6
13852 cat >conftest.$ac_ext <<_ACEOF
13855 cat confdefs.h >>conftest.$ac_ext
13856 cat >>conftest.$ac_ext <<_ACEOF
13857 /* end confdefs.h. */
13863 #ifndef __INTEL_COMPILER
13871 rm -f conftest.$ac_objext
13872 if { (ac_try="$ac_compile"
13873 case "(($ac_try" in
13874 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13875 *) ac_try_echo=$ac_try;;
13877 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
13878 (eval "$ac_compile") 2>conftest.er1
13880 grep -v '^ *+' conftest.er1 >conftest.err
13882 cat conftest.err >&5
13883 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
13884 (exit $ac_status); } && {
13885 test -z "$ac_c_werror_flag" ||
13886 test ! -s conftest.err
13887 } && test -s conftest.$ac_objext; then
13888 bakefile_cv_c_compiler___INTEL_COMPILER=yes
13890 echo "$as_me: failed program was
:" >&5
13891 sed 's/^/| /' conftest.$ac_ext >&5
13893 bakefile_cv_c_compiler___INTEL_COMPILER=no
13897 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13901 { echo "$as_me:$LINENO: result
: $bakefile_cv_c_compiler___INTEL_COMPILER" >&5
13902 echo "${ECHO_T}$bakefile_cv_c_compiler___INTEL_COMPILER" >&6; }
13904 ac_cpp='$CPP $CPPFLAGS'
13905 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13906 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13907 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13909 if test "x
$bakefile_cv_c_compiler___INTEL_COMPILER" = "xyes
"; then
13916 if test "x
$GCC" != "xyes
"; then
13917 if test "xCC
" = "xC
"; then
13918 { echo "$as_me:$LINENO: checking
if the C compiler requires
-ext o
" >&5
13919 echo $ECHO_N "checking
if the C compiler requires
-ext o...
$ECHO_C" >&6; }
13920 if test "${bakefile_cv_c_exto+set}" = set; then
13921 echo $ECHO_N "(cached
) $ECHO_C" >&6
13923 cat >conftest.$ac_ext <<_ACEOF
13926 cat confdefs.h >>conftest.$ac_ext
13927 cat >>conftest.$ac_ext <<_ACEOF
13928 /* end confdefs.h. */
13938 rm -f conftest.$ac_objext conftest.$ac_ext.o
13939 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13940 (eval $ac_compile) 2>&5
13942 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
13943 (exit $ac_status); }; then
13944 for ac_file in `(ls conftest.* 2>/dev/null)`; do
13946 conftest.$ac_ext.o)
13947 bakefile_cv_c_exto="-ext o
"
13954 { { echo "$as_me:$LINENO: error
: cannot figure out
if compiler needs
-ext o
: cannot compile
13955 See \
`config.log' for more details." >&5
13956 echo "$as_me: error: cannot figure out if compiler needs -ext o: cannot compile
13957 See \`config.log
' for more details." >&2;}
13958 { (exit 1); exit 1; }; }
13962 rm -f conftest.$ac_ext.o conftest.$ac_objext conftest.$ac_ext
13965 { echo "$as_me:$LINENO: result: $bakefile_cv_c_exto" >&5
13966 echo "${ECHO_T}$bakefile_cv_c_exto" >&6; }
13967 if test "x$bakefile_cv_c_exto" '!=' "x"; then
13968 if test "c" = "c"; then
13969 CFLAGS="$bakefile_cv_c_exto $CFLAGS"
13971 if test "c" = "cxx"; then
13972 CXXFLAGS="$bakefile_cv_c_exto $CXXFLAGS"
13976 if test "x$bakefile_cv_c_exto" '!=' "x"; then
13977 unset ac_cv_prog_cc_g
13978 ac_test_CFLAGS=${CFLAGS+set}
13979 ac_save_CFLAGS=$CFLAGS
13980 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
13981 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
13982 if test "${ac_cv_prog_cc_g+set}" = set; then
13983 echo $ECHO_N "(cached) $ECHO_C" >&6
13985 ac_save_c_werror_flag=$ac_c_werror_flag
13986 ac_c_werror_flag=yes
13989 cat >conftest.$ac_ext <<_ACEOF
13992 cat confdefs.h >>conftest.$ac_ext
13993 cat >>conftest.$ac_ext <<_ACEOF
13994 /* end confdefs.h. */
14004 rm -f conftest.$ac_objext
14005 if { (ac_try="$ac_compile"
14006 case "(($ac_try" in
14007 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14008 *) ac_try_echo=$ac_try;;
14010 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14011 (eval "$ac_compile") 2>conftest.er1
14013 grep -v '^
*+' conftest.er1 >conftest.err
14015 cat conftest.err >&5
14016 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14017 (exit $ac_status); } && {
14018 test -z "$ac_c_werror_flag" ||
14019 test ! -s conftest.err
14020 } && test -s conftest.$ac_objext; then
14021 ac_cv_prog_cc_g=yes
14023 echo "$as_me: failed program was:" >&5
14024 sed 's
/^
/| /' conftest.$ac_ext >&5
14027 cat >conftest.$ac_ext <<_ACEOF
14030 cat confdefs.h >>conftest.$ac_ext
14031 cat >>conftest.$ac_ext <<_ACEOF
14032 /* end confdefs.h. */
14042 rm -f conftest.$ac_objext
14043 if { (ac_try="$ac_compile"
14044 case "(($ac_try" in
14045 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14046 *) ac_try_echo=$ac_try;;
14048 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14049 (eval "$ac_compile") 2>conftest.er1
14051 grep -v '^
*+' conftest.er1 >conftest.err
14053 cat conftest.err >&5
14054 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14055 (exit $ac_status); } && {
14056 test -z "$ac_c_werror_flag" ||
14057 test ! -s conftest.err
14058 } && test -s conftest.$ac_objext; then
14061 echo "$as_me: failed program was:" >&5
14062 sed 's
/^
/| /' conftest.$ac_ext >&5
14064 ac_c_werror_flag=$ac_save_c_werror_flag
14066 cat >conftest.$ac_ext <<_ACEOF
14069 cat confdefs.h >>conftest.$ac_ext
14070 cat >>conftest.$ac_ext <<_ACEOF
14071 /* end confdefs.h. */
14081 rm -f conftest.$ac_objext
14082 if { (ac_try="$ac_compile"
14083 case "(($ac_try" in
14084 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14085 *) ac_try_echo=$ac_try;;
14087 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14088 (eval "$ac_compile") 2>conftest.er1
14090 grep -v '^
*+' conftest.er1 >conftest.err
14092 cat conftest.err >&5
14093 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14094 (exit $ac_status); } && {
14095 test -z "$ac_c_werror_flag" ||
14096 test ! -s conftest.err
14097 } && test -s conftest.$ac_objext; then
14098 ac_cv_prog_cc_g=yes
14100 echo "$as_me: failed program was:" >&5
14101 sed 's
/^
/| /' conftest.$ac_ext >&5
14106 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14109 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14112 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14113 ac_c_werror_flag=$ac_save_c_werror_flag
14115 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
14116 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
14117 if test "$ac_test_CFLAGS" = set; then
14118 CFLAGS=$ac_save_CFLAGS
14119 elif test $ac_cv_prog_cc_g = yes; then
14120 if test "$GCC" = yes; then
14126 if test "$GCC" = yes; then
14138 ac_cpp='$CPP $CPPFLAGS'
14139 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
14140 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
14141 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14143 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C compiler" >&5
14144 echo $ECHO_N "checking whether we are using the IBM xlC C compiler... $ECHO_C" >&6; }
14145 if test "${bakefile_cv_c_compiler_xlc+set}" = set; then
14146 echo $ECHO_N "(cached) $ECHO_C" >&6
14148 cat >conftest.$ac_ext <<_ACEOF
14151 cat confdefs.h >>conftest.$ac_ext
14152 cat >>conftest.$ac_ext <<_ACEOF
14153 /* end confdefs.h. */
14166 rm -f conftest.$ac_objext
14167 if { (ac_try="$ac_compile"
14168 case "(($ac_try" in
14169 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14170 *) ac_try_echo=$ac_try;;
14172 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14173 (eval "$ac_compile") 2>conftest.er1
14175 grep -v '^
*+' conftest.er1 >conftest.err
14177 cat conftest.err >&5
14178 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14179 (exit $ac_status); } && {
14180 test -z "$ac_c_werror_flag" ||
14181 test ! -s conftest.err
14182 } && test -s conftest.$ac_objext; then
14183 bakefile_compiler_xlc=yes
14185 echo "$as_me: failed program was:" >&5
14186 sed 's
/^
/| /' conftest.$ac_ext >&5
14188 bakefile_compiler_xlc=no
14191 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14192 bakefile_cv_c_compiler_xlc=$bakefile_compiler_xlc
14195 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler_xlc" >&5
14196 echo "${ECHO_T}$bakefile_cv_c_compiler_xlc" >&6; }
14198 XLCC=`test $bakefile_cv_c_compiler_xlc = yes && echo yes`
14200 ac_cpp='$CPP $CPPFLAGS'
14201 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
14202 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
14203 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14210 ac_cpp='$CPP $CPPFLAGS'
14211 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
14212 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
14213 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14215 { echo "$as_me:$LINENO: checking whether we are using the Metrowerks C compiler" >&5
14216 echo $ECHO_N "checking whether we are using the Metrowerks C compiler... $ECHO_C" >&6; }
14217 if test "${bakefile_cv_c_compiler_mwerks+set}" = set; then
14218 echo $ECHO_N "(cached) $ECHO_C" >&6
14220 cat >conftest.$ac_ext <<_ACEOF
14223 cat confdefs.h >>conftest.$ac_ext
14224 cat >>conftest.$ac_ext <<_ACEOF
14225 /* end confdefs.h. */
14238 rm -f conftest.$ac_objext
14239 if { (ac_try="$ac_compile"
14240 case "(($ac_try" in
14241 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14242 *) ac_try_echo=$ac_try;;
14244 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14245 (eval "$ac_compile") 2>conftest.er1
14247 grep -v '^
*+' conftest.er1 >conftest.err
14249 cat conftest.err >&5
14250 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14251 (exit $ac_status); } && {
14252 test -z "$ac_c_werror_flag" ||
14253 test ! -s conftest.err
14254 } && test -s conftest.$ac_objext; then
14255 bakefile_compiler_mwerks=yes
14257 echo "$as_me: failed program was:" >&5
14258 sed 's
/^
/| /' conftest.$ac_ext >&5
14260 bakefile_compiler_mwerks=no
14263 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14264 bakefile_cv_c_compiler_mwerks=$bakefile_compiler_mwerks
14267 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler_mwerks" >&5
14268 echo "${ECHO_T}$bakefile_cv_c_compiler_mwerks" >&6; }
14270 MWCC=`test $bakefile_cv_c_compiler_mwerks = yes && echo yes`
14272 ac_cpp='$CPP $CPPFLAGS'
14273 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
14274 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
14275 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14279 ac_cpp='$CPP $CPPFLAGS'
14280 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
14281 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
14282 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14284 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C compiler" >&5
14285 echo $ECHO_N "checking whether we are using the IBM xlC C compiler... $ECHO_C" >&6; }
14286 if test "${bakefile_cv_c_compiler_xlc+set}" = set; then
14287 echo $ECHO_N "(cached) $ECHO_C" >&6
14289 cat >conftest.$ac_ext <<_ACEOF
14292 cat confdefs.h >>conftest.$ac_ext
14293 cat >>conftest.$ac_ext <<_ACEOF
14294 /* end confdefs.h. */
14307 rm -f conftest.$ac_objext
14308 if { (ac_try="$ac_compile"
14309 case "(($ac_try" in
14310 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14311 *) ac_try_echo=$ac_try;;
14313 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14314 (eval "$ac_compile") 2>conftest.er1
14316 grep -v '^
*+' conftest.er1 >conftest.err
14318 cat conftest.err >&5
14319 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14320 (exit $ac_status); } && {
14321 test -z "$ac_c_werror_flag" ||
14322 test ! -s conftest.err
14323 } && test -s conftest.$ac_objext; then
14324 bakefile_compiler_xlc=yes
14326 echo "$as_me: failed program was:" >&5
14327 sed 's
/^
/| /' conftest.$ac_ext >&5
14329 bakefile_compiler_xlc=no
14332 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14333 bakefile_cv_c_compiler_xlc=$bakefile_compiler_xlc
14336 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler_xlc" >&5
14337 echo "${ECHO_T}$bakefile_cv_c_compiler_xlc" >&6; }
14339 XLCC=`test $bakefile_cv_c_compiler_xlc = yes && echo yes`
14341 ac_cpp='$CPP $CPPFLAGS'
14342 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
14343 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
14344 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14353 ac_cpp='$CPP $CPPFLAGS'
14354 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
14355 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
14356 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14358 { echo "$as_me:$LINENO: checking whether we are using the SGI C compiler" >&5
14359 echo $ECHO_N "checking whether we are using the SGI C compiler... $ECHO_C" >&6; }
14360 if test "${bakefile_cv_c_compiler__SGI_COMPILER_VERSION+set}" = set; then
14361 echo $ECHO_N "(cached) $ECHO_C" >&6
14363 cat >conftest.$ac_ext <<_ACEOF
14366 cat confdefs.h >>conftest.$ac_ext
14367 cat >>conftest.$ac_ext <<_ACEOF
14368 /* end confdefs.h. */
14374 #ifndef _SGI_COMPILER_VERSION
14382 rm -f conftest.$ac_objext
14383 if { (ac_try="$ac_compile"
14384 case "(($ac_try" in
14385 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14386 *) ac_try_echo=$ac_try;;
14388 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14389 (eval "$ac_compile") 2>conftest.er1
14391 grep -v '^
*+' conftest.er1 >conftest.err
14393 cat conftest.err >&5
14394 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14395 (exit $ac_status); } && {
14396 test -z "$ac_c_werror_flag" ||
14397 test ! -s conftest.err
14398 } && test -s conftest.$ac_objext; then
14399 bakefile_cv_c_compiler__SGI_COMPILER_VERSION=yes
14401 echo "$as_me: failed program was:" >&5
14402 sed 's
/^
/| /' conftest.$ac_ext >&5
14404 bakefile_cv_c_compiler__SGI_COMPILER_VERSION=no
14408 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14412 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler__SGI_COMPILER_VERSION" >&5
14413 echo "${ECHO_T}$bakefile_cv_c_compiler__SGI_COMPILER_VERSION" >&6; }
14415 ac_cpp='$CPP $CPPFLAGS'
14416 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
14417 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
14418 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14420 if test "x$bakefile_cv_c_compiler__SGI_COMPILER_VERSION" = "xyes"; then
14433 ac_cpp='$CPP $CPPFLAGS'
14434 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
14435 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
14436 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14438 { echo "$as_me:$LINENO: checking whether we are using the HP C compiler" >&5
14439 echo $ECHO_N "checking whether we are using the HP C compiler... $ECHO_C" >&6; }
14440 if test "${bakefile_cv_c_compiler___HP_cc+set}" = set; then
14441 echo $ECHO_N "(cached) $ECHO_C" >&6
14443 cat >conftest.$ac_ext <<_ACEOF
14446 cat confdefs.h >>conftest.$ac_ext
14447 cat >>conftest.$ac_ext <<_ACEOF
14448 /* end confdefs.h. */
14462 rm -f conftest.$ac_objext
14463 if { (ac_try="$ac_compile"
14464 case "(($ac_try" in
14465 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14466 *) ac_try_echo=$ac_try;;
14468 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14469 (eval "$ac_compile") 2>conftest.er1
14471 grep -v '^
*+' conftest.er1 >conftest.err
14473 cat conftest.err >&5
14474 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14475 (exit $ac_status); } && {
14476 test -z "$ac_c_werror_flag" ||
14477 test ! -s conftest.err
14478 } && test -s conftest.$ac_objext; then
14479 bakefile_cv_c_compiler___HP_cc=yes
14481 echo "$as_me: failed program was:" >&5
14482 sed 's
/^
/| /' conftest.$ac_ext >&5
14484 bakefile_cv_c_compiler___HP_cc=no
14488 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14492 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___HP_cc" >&5
14493 echo "${ECHO_T}$bakefile_cv_c_compiler___HP_cc" >&6; }
14495 ac_cpp='$CPP $CPPFLAGS'
14496 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
14497 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
14498 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14500 if test "x$bakefile_cv_c_compiler___HP_cc" = "xyes"; then
14513 ac_cpp='$CPP $CPPFLAGS'
14514 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
14515 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
14516 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14518 { echo "$as_me:$LINENO: checking whether we are using the Compaq C compiler" >&5
14519 echo $ECHO_N "checking whether we are using the Compaq C compiler... $ECHO_C" >&6; }
14520 if test "${bakefile_cv_c_compiler___DECC+set}" = set; then
14521 echo $ECHO_N "(cached) $ECHO_C" >&6
14523 cat >conftest.$ac_ext <<_ACEOF
14526 cat confdefs.h >>conftest.$ac_ext
14527 cat >>conftest.$ac_ext <<_ACEOF
14528 /* end confdefs.h. */
14542 rm -f conftest.$ac_objext
14543 if { (ac_try="$ac_compile"
14544 case "(($ac_try" in
14545 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14546 *) ac_try_echo=$ac_try;;
14548 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14549 (eval "$ac_compile") 2>conftest.er1
14551 grep -v '^
*+' conftest.er1 >conftest.err
14553 cat conftest.err >&5
14554 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14555 (exit $ac_status); } && {
14556 test -z "$ac_c_werror_flag" ||
14557 test ! -s conftest.err
14558 } && test -s conftest.$ac_objext; then
14559 bakefile_cv_c_compiler___DECC=yes
14561 echo "$as_me: failed program was:" >&5
14562 sed 's
/^
/| /' conftest.$ac_ext >&5
14564 bakefile_cv_c_compiler___DECC=no
14568 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14572 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___DECC" >&5
14573 echo "${ECHO_T}$bakefile_cv_c_compiler___DECC" >&6; }
14575 ac_cpp='$CPP $CPPFLAGS'
14576 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
14577 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
14578 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14580 if test "x$bakefile_cv_c_compiler___DECC" = "xyes"; then
14593 ac_cpp='$CPP $CPPFLAGS'
14594 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
14595 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
14596 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14598 { echo "$as_me:$LINENO: checking whether we are using the Sun C compiler" >&5
14599 echo $ECHO_N "checking whether we are using the Sun C compiler... $ECHO_C" >&6; }
14600 if test "${bakefile_cv_c_compiler___SUNPRO_C+set}" = set; then
14601 echo $ECHO_N "(cached) $ECHO_C" >&6
14603 cat >conftest.$ac_ext <<_ACEOF
14606 cat confdefs.h >>conftest.$ac_ext
14607 cat >>conftest.$ac_ext <<_ACEOF
14608 /* end confdefs.h. */
14622 rm -f conftest.$ac_objext
14623 if { (ac_try="$ac_compile"
14624 case "(($ac_try" in
14625 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14626 *) ac_try_echo=$ac_try;;
14628 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14629 (eval "$ac_compile") 2>conftest.er1
14631 grep -v '^
*+' conftest.er1 >conftest.err
14633 cat conftest.err >&5
14634 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14635 (exit $ac_status); } && {
14636 test -z "$ac_c_werror_flag" ||
14637 test ! -s conftest.err
14638 } && test -s conftest.$ac_objext; then
14639 bakefile_cv_c_compiler___SUNPRO_C=yes
14641 echo "$as_me: failed program was:" >&5
14642 sed 's
/^
/| /' conftest.$ac_ext >&5
14644 bakefile_cv_c_compiler___SUNPRO_C=no
14648 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14652 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___SUNPRO_C" >&5
14653 echo "${ECHO_T}$bakefile_cv_c_compiler___SUNPRO_C" >&6; }
14655 ac_cpp='$CPP $CPPFLAGS'
14656 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
14657 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
14658 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14660 if test "x$bakefile_cv_c_compiler___SUNPRO_C" = "xyes"; then
14674 ac_cpp='$CPP $CPPFLAGS'
14675 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
14676 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
14677 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14678 { echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
14679 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
14680 # On Suns, sometimes $CPP names a directory.
14681 if test -n "$CPP" && test -d "$CPP"; then
14684 if test -z "$CPP"; then
14685 if test "${ac_cv_prog_CPP+set}" = set; then
14686 echo $ECHO_N "(cached) $ECHO_C" >&6
14688 # Double quotes because CPP needs to be expanded
14689 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
14691 ac_preproc_ok=false
14692 for ac_c_preproc_warn_flag in '' yes
14694 # Use a header file that comes with gcc, so configuring glibc
14695 # with a fresh cross-compiler works.
14696 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14697 # <limits.h> exists even on freestanding compilers.
14698 # On the NeXT, cc -E runs the code through the compiler's parser
,
14699 # not just through cpp. "Syntax error" is here to catch this case.
14700 cat >conftest.
$ac_ext <<_ACEOF
14703 cat confdefs.h
>>conftest.
$ac_ext
14704 cat >>conftest.
$ac_ext <<_ACEOF
14705 /* end confdefs.h. */
14707 # include <limits.h>
14709 # include <assert.h>
14713 if { (ac_try
="$ac_cpp conftest.$ac_ext"
14714 case "(($ac_try" in
14715 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
14716 *) ac_try_echo=$ac_try;;
14718 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14719 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
14721 grep -v '^ *+' conftest.er1 >conftest.err
14723 cat conftest.err >&5
14724 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14725 (exit $ac_status); } >/dev/null && {
14726 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
14727 test ! -s conftest.err
14731 echo "$as_me: failed program was:" >&5
14732 sed 's/^/| /' conftest.$ac_ext >&5
14734 # Broken: fails on valid input.
14738 rm -f conftest.err conftest.$ac_ext
14740 # OK, works on sane cases. Now check whether nonexistent headers
14741 # can be detected and how.
14742 cat >conftest.$ac_ext <<_ACEOF
14745 cat confdefs.h >>conftest.$ac_ext
14746 cat >>conftest.$ac_ext <<_ACEOF
14747 /* end confdefs.h. */
14748 #include <ac_nonexistent.h>
14750 if { (ac_try="$ac_cpp conftest.$ac_ext"
14751 case "(($ac_try" in
14752 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
14753 *) ac_try_echo
=$ac_try;;
14755 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14756 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
14758 grep -v '^ *+' conftest.er1
>conftest.err
14760 cat conftest.err
>&5
14761 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14762 (exit $ac_status); } >/dev
/null
&& {
14763 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
14764 test ! -s conftest.err
14766 # Broken: success on invalid input.
14769 echo "$as_me: failed program was:" >&5
14770 sed 's/^/| /' conftest.
$ac_ext >&5
14772 # Passes both tests.
14777 rm -f conftest.err conftest.
$ac_ext
14780 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
14781 rm -f conftest.err conftest.
$ac_ext
14782 if $ac_preproc_ok; then
14787 ac_cv_prog_CPP
=$CPP
14790 CPP
=$ac_cv_prog_CPP
14792 ac_cv_prog_CPP
=$CPP
14794 { echo "$as_me:$LINENO: result: $CPP" >&5
14795 echo "${ECHO_T}$CPP" >&6; }
14796 ac_preproc_ok
=false
14797 for ac_c_preproc_warn_flag
in '' yes
14799 # Use a header file that comes with gcc, so configuring glibc
14800 # with a fresh cross-compiler works.
14801 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14802 # <limits.h> exists even on freestanding compilers.
14803 # On the NeXT, cc -E runs the code through the compiler's parser,
14804 # not just through cpp. "Syntax error" is here to catch this case.
14805 cat >conftest.
$ac_ext <<_ACEOF
14808 cat confdefs.h
>>conftest.
$ac_ext
14809 cat >>conftest.
$ac_ext <<_ACEOF
14810 /* end confdefs.h. */
14812 # include <limits.h>
14814 # include <assert.h>
14818 if { (ac_try
="$ac_cpp conftest.$ac_ext"
14819 case "(($ac_try" in
14820 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
14821 *) ac_try_echo=$ac_try;;
14823 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14824 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
14826 grep -v '^ *+' conftest.er1 >conftest.err
14828 cat conftest.err >&5
14829 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14830 (exit $ac_status); } >/dev/null && {
14831 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
14832 test ! -s conftest.err
14836 echo "$as_me: failed program was:" >&5
14837 sed 's/^/| /' conftest.$ac_ext >&5
14839 # Broken: fails on valid input.
14843 rm -f conftest.err conftest.$ac_ext
14845 # OK, works on sane cases. Now check whether nonexistent headers
14846 # can be detected and how.
14847 cat >conftest.$ac_ext <<_ACEOF
14850 cat confdefs.h >>conftest.$ac_ext
14851 cat >>conftest.$ac_ext <<_ACEOF
14852 /* end confdefs.h. */
14853 #include <ac_nonexistent.h>
14855 if { (ac_try="$ac_cpp conftest.$ac_ext"
14856 case "(($ac_try" in
14857 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
14858 *) ac_try_echo
=$ac_try;;
14860 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14861 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
14863 grep -v '^ *+' conftest.er1
>conftest.err
14865 cat conftest.err
>&5
14866 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14867 (exit $ac_status); } >/dev
/null
&& {
14868 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
14869 test ! -s conftest.err
14871 # Broken: success on invalid input.
14874 echo "$as_me: failed program was:" >&5
14875 sed 's/^/| /' conftest.
$ac_ext >&5
14877 # Passes both tests.
14882 rm -f conftest.err conftest.
$ac_ext
14885 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
14886 rm -f conftest.err conftest.
$ac_ext
14887 if $ac_preproc_ok; then
14890 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
14891 See \`config.log' for more details." >&5
14892 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
14893 See \`config.log' for more details." >&2;}
14894 { (exit 1); exit 1; }; }
14898 ac_cpp
='$CPP $CPPFLAGS'
14899 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14900 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14901 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
14904 { echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
14905 echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
14906 if test "${ac_cv_path_GREP+set}" = set; then
14907 echo $ECHO_N "(cached) $ECHO_C" >&6
14909 # Extract the first word of "grep ggrep" to use in msg output
14910 if test -z "$GREP"; then
14911 set dummy
grep ggrep
; ac_prog_name
=$2
14912 if test "${ac_cv_path_GREP+set}" = set; then
14913 echo $ECHO_N "(cached) $ECHO_C" >&6
14915 ac_path_GREP_found
=false
14916 # Loop through the user's path and test for each of PROGNAME-LIST
14917 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14918 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
14921 test -z "$as_dir" && as_dir
=.
14922 for ac_prog
in grep ggrep
; do
14923 for ac_exec_ext
in '' $ac_executable_extensions; do
14924 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
14925 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
14926 # Check for GNU ac_path_GREP and select it if it is found.
14927 # Check for GNU $ac_path_GREP
14928 case `"$ac_path_GREP" --version 2>&1` in
14930 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
14933 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
14936 cat "conftest.in" "conftest.in" >"conftest.tmp"
14937 mv "conftest.tmp" "conftest.in"
14938 cp "conftest.in" "conftest.nl"
14939 echo 'GREP' >> "conftest.nl"
14940 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null
|| break
14941 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 || break
14942 ac_count
=`expr $ac_count + 1`
14943 if test $ac_count -gt ${ac_path_GREP_max-0}; then
14944 # Best one so far, save it but keep looking for a better one
14945 ac_cv_path_GREP
="$ac_path_GREP"
14946 ac_path_GREP_max
=$ac_count
14948 # 10*(2^10) chars as input seems more than enough
14949 test $ac_count -gt 10 && break
14951 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
14955 $ac_path_GREP_found && break 3
14965 GREP
="$ac_cv_path_GREP"
14966 if test -z "$GREP"; then
14967 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
14968 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
14969 { (exit 1); exit 1; }; }
14973 ac_cv_path_GREP
=$GREP
14978 { echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
14979 echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
14980 GREP
="$ac_cv_path_GREP"
14983 { echo "$as_me:$LINENO: checking for egrep" >&5
14984 echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
14985 if test "${ac_cv_path_EGREP+set}" = set; then
14986 echo $ECHO_N "(cached) $ECHO_C" >&6
14988 if echo a
| $GREP -E '(a|b)' >/dev
/null
2>&1
14989 then ac_cv_path_EGREP
="$GREP -E"
14991 # Extract the first word of "egrep" to use in msg output
14992 if test -z "$EGREP"; then
14993 set dummy
egrep; ac_prog_name
=$2
14994 if test "${ac_cv_path_EGREP+set}" = set; then
14995 echo $ECHO_N "(cached) $ECHO_C" >&6
14997 ac_path_EGREP_found
=false
14998 # Loop through the user's path and test for each of PROGNAME-LIST
14999 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15000 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
15003 test -z "$as_dir" && as_dir
=.
15004 for ac_prog
in egrep; do
15005 for ac_exec_ext
in '' $ac_executable_extensions; do
15006 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
15007 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
15008 # Check for GNU ac_path_EGREP and select it if it is found.
15009 # Check for GNU $ac_path_EGREP
15010 case `"$ac_path_EGREP" --version 2>&1` in
15012 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
15015 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
15018 cat "conftest.in" "conftest.in" >"conftest.tmp"
15019 mv "conftest.tmp" "conftest.in"
15020 cp "conftest.in" "conftest.nl"
15021 echo 'EGREP' >> "conftest.nl"
15022 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null
|| break
15023 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 || break
15024 ac_count
=`expr $ac_count + 1`
15025 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
15026 # Best one so far, save it but keep looking for a better one
15027 ac_cv_path_EGREP
="$ac_path_EGREP"
15028 ac_path_EGREP_max
=$ac_count
15030 # 10*(2^10) chars as input seems more than enough
15031 test $ac_count -gt 10 && break
15033 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
15037 $ac_path_EGREP_found && break 3
15047 EGREP
="$ac_cv_path_EGREP"
15048 if test -z "$EGREP"; then
15049 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
15050 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
15051 { (exit 1); exit 1; }; }
15055 ac_cv_path_EGREP
=$EGREP
15061 { echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
15062 echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
15063 EGREP
="$ac_cv_path_EGREP"
15066 if test $ac_cv_c_compiler_gnu = yes; then
15067 { echo "$as_me:$LINENO: checking whether $CC needs -traditional" >&5
15068 echo $ECHO_N "checking whether $CC needs -traditional... $ECHO_C" >&6; }
15069 if test "${ac_cv_prog_gcc_traditional+set}" = set; then
15070 echo $ECHO_N "(cached) $ECHO_C" >&6
15072 ac_pattern
="Autoconf.*'x'"
15073 cat >conftest.
$ac_ext <<_ACEOF
15076 cat confdefs.h
>>conftest.
$ac_ext
15077 cat >>conftest.
$ac_ext <<_ACEOF
15078 /* end confdefs.h. */
15082 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
15083 $EGREP "$ac_pattern" >/dev
/null
2>&1; then
15084 ac_cv_prog_gcc_traditional
=yes
15086 ac_cv_prog_gcc_traditional
=no
15091 if test $ac_cv_prog_gcc_traditional = no
; then
15092 cat >conftest.
$ac_ext <<_ACEOF
15095 cat confdefs.h
>>conftest.
$ac_ext
15096 cat >>conftest.
$ac_ext <<_ACEOF
15097 /* end confdefs.h. */
15098 #include <termio.h>
15101 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
15102 $EGREP "$ac_pattern" >/dev
/null
2>&1; then
15103 ac_cv_prog_gcc_traditional
=yes
15109 { echo "$as_me:$LINENO: result: $ac_cv_prog_gcc_traditional" >&5
15110 echo "${ECHO_T}$ac_cv_prog_gcc_traditional" >&6; }
15111 if test $ac_cv_prog_gcc_traditional = yes; then
15112 CC
="$CC -traditional"
15117 CXXFLAGS
=${CXXFLAGS:=}
15122 ac_cpp
='$CXXCPP $CPPFLAGS'
15123 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15124 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15125 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
15126 if test -z "$CXX"; then
15127 if test -n "$CCC"; then
15130 if test -n "$ac_tool_prefix"; then
15131 for ac_prog
in g
++ c
++ gpp aCC CC cxx cc
++ cl.exe FCC KCC RCC xlC_r xlC
15133 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
15134 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
15135 { echo "$as_me:$LINENO: checking for $ac_word" >&5
15136 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
15137 if test "${ac_cv_prog_CXX+set}" = set; then
15138 echo $ECHO_N "(cached) $ECHO_C" >&6
15140 if test -n "$CXX"; then
15141 ac_cv_prog_CXX
="$CXX" # Let the user override the test.
15143 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15144 for as_dir
in $PATH
15147 test -z "$as_dir" && as_dir
=.
15148 for ac_exec_ext
in '' $ac_executable_extensions; do
15149 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
15150 ac_cv_prog_CXX
="$ac_tool_prefix$ac_prog"
15151 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15160 CXX
=$ac_cv_prog_CXX
15161 if test -n "$CXX"; then
15162 { echo "$as_me:$LINENO: result: $CXX" >&5
15163 echo "${ECHO_T}$CXX" >&6; }
15165 { echo "$as_me:$LINENO: result: no" >&5
15166 echo "${ECHO_T}no" >&6; }
15170 test -n "$CXX" && break
15173 if test -z "$CXX"; then
15175 for ac_prog
in g
++ c
++ gpp aCC CC cxx cc
++ cl.exe FCC KCC RCC xlC_r xlC
15177 # Extract the first word of "$ac_prog", so it can be a program name with args.
15178 set dummy
$ac_prog; ac_word
=$2
15179 { echo "$as_me:$LINENO: checking for $ac_word" >&5
15180 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
15181 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
15182 echo $ECHO_N "(cached) $ECHO_C" >&6
15184 if test -n "$ac_ct_CXX"; then
15185 ac_cv_prog_ac_ct_CXX
="$ac_ct_CXX" # Let the user override the test.
15187 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15188 for as_dir
in $PATH
15191 test -z "$as_dir" && as_dir
=.
15192 for ac_exec_ext
in '' $ac_executable_extensions; do
15193 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
15194 ac_cv_prog_ac_ct_CXX
="$ac_prog"
15195 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15204 ac_ct_CXX
=$ac_cv_prog_ac_ct_CXX
15205 if test -n "$ac_ct_CXX"; then
15206 { echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
15207 echo "${ECHO_T}$ac_ct_CXX" >&6; }
15209 { echo "$as_me:$LINENO: result: no" >&5
15210 echo "${ECHO_T}no" >&6; }
15214 test -n "$ac_ct_CXX" && break
15217 if test "x$ac_ct_CXX" = x
; then
15220 case $cross_compiling:$ac_tool_warned in
15222 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
15223 whose name does not start with the host triplet. If you think this
15224 configuration is useful to you, please write to autoconf@gnu.org." >&5
15225 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
15226 whose name does not start with the host triplet. If you think this
15227 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
15228 ac_tool_warned
=yes ;;
15236 # Provide some information about the compiler.
15237 echo "$as_me:$LINENO: checking for C++ compiler version" >&5
15238 ac_compiler
=`set X $ac_compile; echo $2`
15239 { (ac_try
="$ac_compiler --version >&5"
15240 case "(($ac_try" in
15241 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
15242 *) ac_try_echo=$ac_try;;
15244 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15245 (eval "$ac_compiler --version >&5") 2>&5
15247 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15248 (exit $ac_status); }
15249 { (ac_try="$ac_compiler -v >&5"
15250 case "(($ac_try" in
15251 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
15252 *) ac_try_echo
=$ac_try;;
15254 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15255 (eval "$ac_compiler -v >&5") 2>&5
15257 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15258 (exit $ac_status); }
15259 { (ac_try
="$ac_compiler -V >&5"
15260 case "(($ac_try" in
15261 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
15262 *) ac_try_echo=$ac_try;;
15264 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15265 (eval "$ac_compiler -V >&5") 2>&5
15267 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15268 (exit $ac_status); }
15270 { echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
15271 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6; }
15272 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
15273 echo $ECHO_N "(cached) $ECHO_C" >&6
15275 cat >conftest.$ac_ext <<_ACEOF
15278 cat confdefs.h >>conftest.$ac_ext
15279 cat >>conftest.$ac_ext <<_ACEOF
15280 /* end confdefs.h. */
15293 rm -f conftest.$ac_objext
15294 if { (ac_try="$ac_compile"
15295 case "(($ac_try" in
15296 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
15297 *) ac_try_echo
=$ac_try;;
15299 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15300 (eval "$ac_compile") 2>conftest.er1
15302 grep -v '^ *+' conftest.er1
>conftest.err
15304 cat conftest.err
>&5
15305 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15306 (exit $ac_status); } && {
15307 test -z "$ac_cxx_werror_flag" ||
15308 test ! -s conftest.err
15309 } && test -s conftest.
$ac_objext; then
15310 ac_compiler_gnu
=yes
15312 echo "$as_me: failed program was:" >&5
15313 sed 's/^/| /' conftest.
$ac_ext >&5
15318 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
15319 ac_cv_cxx_compiler_gnu
=$ac_compiler_gnu
15322 { echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
15323 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6; }
15324 GXX
=`test $ac_compiler_gnu = yes && echo yes`
15325 ac_test_CXXFLAGS
=${CXXFLAGS+set}
15326 ac_save_CXXFLAGS
=$CXXFLAGS
15327 { echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
15328 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6; }
15329 if test "${ac_cv_prog_cxx_g+set}" = set; then
15330 echo $ECHO_N "(cached) $ECHO_C" >&6
15332 ac_save_cxx_werror_flag
=$ac_cxx_werror_flag
15333 ac_cxx_werror_flag
=yes
15334 ac_cv_prog_cxx_g
=no
15336 cat >conftest.
$ac_ext <<_ACEOF
15339 cat confdefs.h
>>conftest.
$ac_ext
15340 cat >>conftest.
$ac_ext <<_ACEOF
15341 /* end confdefs.h. */
15351 rm -f conftest.
$ac_objext
15352 if { (ac_try
="$ac_compile"
15353 case "(($ac_try" in
15354 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
15355 *) ac_try_echo=$ac_try;;
15357 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15358 (eval "$ac_compile") 2>conftest.er1
15360 grep -v '^ *+' conftest.er1 >conftest.err
15362 cat conftest.err >&5
15363 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15364 (exit $ac_status); } && {
15365 test -z "$ac_cxx_werror_flag" ||
15366 test ! -s conftest.err
15367 } && test -s conftest.$ac_objext; then
15368 ac_cv_prog_cxx_g=yes
15370 echo "$as_me: failed program was:" >&5
15371 sed 's/^/| /' conftest.$ac_ext >&5
15374 cat >conftest.$ac_ext <<_ACEOF
15377 cat confdefs.h >>conftest.$ac_ext
15378 cat >>conftest.$ac_ext <<_ACEOF
15379 /* end confdefs.h. */
15389 rm -f conftest.$ac_objext
15390 if { (ac_try="$ac_compile"
15391 case "(($ac_try" in
15392 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
15393 *) ac_try_echo
=$ac_try;;
15395 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15396 (eval "$ac_compile") 2>conftest.er1
15398 grep -v '^ *+' conftest.er1
>conftest.err
15400 cat conftest.err
>&5
15401 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15402 (exit $ac_status); } && {
15403 test -z "$ac_cxx_werror_flag" ||
15404 test ! -s conftest.err
15405 } && test -s conftest.
$ac_objext; then
15408 echo "$as_me: failed program was:" >&5
15409 sed 's/^/| /' conftest.
$ac_ext >&5
15411 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
15413 cat >conftest.
$ac_ext <<_ACEOF
15416 cat confdefs.h
>>conftest.
$ac_ext
15417 cat >>conftest.
$ac_ext <<_ACEOF
15418 /* end confdefs.h. */
15428 rm -f conftest.
$ac_objext
15429 if { (ac_try
="$ac_compile"
15430 case "(($ac_try" in
15431 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
15432 *) ac_try_echo=$ac_try;;
15434 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15435 (eval "$ac_compile") 2>conftest.er1
15437 grep -v '^ *+' conftest.er1 >conftest.err
15439 cat conftest.err >&5
15440 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15441 (exit $ac_status); } && {
15442 test -z "$ac_cxx_werror_flag" ||
15443 test ! -s conftest.err
15444 } && test -s conftest.$ac_objext; then
15445 ac_cv_prog_cxx_g=yes
15447 echo "$as_me: failed program was:" >&5
15448 sed 's/^/| /' conftest.$ac_ext >&5
15453 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15456 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15459 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15460 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
15462 { echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
15463 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6; }
15464 if test "$ac_test_CXXFLAGS" = set; then
15465 CXXFLAGS=$ac_save_CXXFLAGS
15466 elif test $ac_cv_prog_cxx_g = yes; then
15467 if test "$GXX" = yes; then
15473 if test "$GXX" = yes; then
15480 ac_cpp='$CPP $CPPFLAGS'
15481 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15482 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15483 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15488 ac_cpp='$CXXCPP $CPPFLAGS'
15489 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15490 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15491 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15493 { echo "$as_me:$LINENO: checking whether we are using the Intel C++ compiler" >&5
15494 echo $ECHO_N "checking whether we are using the Intel C++ compiler... $ECHO_C" >&6; }
15495 if test "${bakefile_cv_cxx_compiler___INTEL_COMPILER+set}" = set; then
15496 echo $ECHO_N "(cached) $ECHO_C" >&6
15498 cat >conftest.$ac_ext <<_ACEOF
15501 cat confdefs.h >>conftest.$ac_ext
15502 cat >>conftest.$ac_ext <<_ACEOF
15503 /* end confdefs.h. */
15509 #ifndef __INTEL_COMPILER
15517 rm -f conftest.$ac_objext
15518 if { (ac_try="$ac_compile"
15519 case "(($ac_try" in
15520 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
15521 *) ac_try_echo
=$ac_try;;
15523 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15524 (eval "$ac_compile") 2>conftest.er1
15526 grep -v '^ *+' conftest.er1
>conftest.err
15528 cat conftest.err
>&5
15529 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15530 (exit $ac_status); } && {
15531 test -z "$ac_cxx_werror_flag" ||
15532 test ! -s conftest.err
15533 } && test -s conftest.
$ac_objext; then
15534 bakefile_cv_cxx_compiler___INTEL_COMPILER
=yes
15536 echo "$as_me: failed program was:" >&5
15537 sed 's/^/| /' conftest.
$ac_ext >&5
15539 bakefile_cv_cxx_compiler___INTEL_COMPILER
=no
15543 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
15547 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___INTEL_COMPILER" >&5
15548 echo "${ECHO_T}$bakefile_cv_cxx_compiler___INTEL_COMPILER" >&6; }
15550 ac_cpp
='$CPP $CPPFLAGS'
15551 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15552 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15553 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
15555 if test "x$bakefile_cv_c_compiler___INTEL_COMPILER" = "xyes"; then
15562 if test "x$GCXX" != "xyes"; then
15563 if test "xCXX" = "xC"; then
15564 { echo "$as_me:$LINENO: checking if the C compiler requires -ext o" >&5
15565 echo $ECHO_N "checking if the C compiler requires -ext o... $ECHO_C" >&6; }
15566 if test "${bakefile_cv_c_exto+set}" = set; then
15567 echo $ECHO_N "(cached) $ECHO_C" >&6
15569 cat >conftest.
$ac_ext <<_ACEOF
15572 cat confdefs.h
>>conftest.
$ac_ext
15573 cat >>conftest.
$ac_ext <<_ACEOF
15574 /* end confdefs.h. */
15584 rm -f conftest.
$ac_objext conftest.
$ac_ext.o
15585 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15586 (eval $ac_compile) 2>&5
15588 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15589 (exit $ac_status); }; then
15590 for ac_file
in `(ls conftest.* 2>/dev/null)`; do
15592 conftest.
$ac_ext.o
)
15593 bakefile_cv_c_exto
="-ext o"
15600 { { echo "$as_me:$LINENO: error: cannot figure out if compiler needs -ext o: cannot compile
15601 See \`config.log' for more details." >&5
15602 echo "$as_me: error: cannot figure out if compiler needs -ext o: cannot compile
15603 See \`config.log' for more details." >&2;}
15604 { (exit 1); exit 1; }; }
15608 rm -f conftest.
$ac_ext.o conftest.
$ac_objext conftest.
$ac_ext
15611 { echo "$as_me:$LINENO: result: $bakefile_cv_c_exto" >&5
15612 echo "${ECHO_T}$bakefile_cv_c_exto" >&6; }
15613 if test "x$bakefile_cv_c_exto" '!=' "x"; then
15614 if test "c" = "c"; then
15615 CFLAGS
="$bakefile_cv_c_exto $CFLAGS"
15617 if test "c" = "cxx"; then
15618 CXXFLAGS
="$bakefile_cv_c_exto $CXXFLAGS"
15622 if test "x$bakefile_cv_c_exto" '!=' "x"; then
15623 unset ac_cv_prog_cc_g
15624 ac_test_CFLAGS
=${CFLAGS+set}
15625 ac_save_CFLAGS
=$CFLAGS
15626 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
15627 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
15628 if test "${ac_cv_prog_cc_g+set}" = set; then
15629 echo $ECHO_N "(cached) $ECHO_C" >&6
15631 ac_save_c_werror_flag
=$ac_c_werror_flag
15632 ac_c_werror_flag
=yes
15635 cat >conftest.
$ac_ext <<_ACEOF
15638 cat confdefs.h
>>conftest.
$ac_ext
15639 cat >>conftest.
$ac_ext <<_ACEOF
15640 /* end confdefs.h. */
15650 rm -f conftest.
$ac_objext
15651 if { (ac_try
="$ac_compile"
15652 case "(($ac_try" in
15653 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
15654 *) ac_try_echo=$ac_try;;
15656 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15657 (eval "$ac_compile") 2>conftest.er1
15659 grep -v '^ *+' conftest.er1 >conftest.err
15661 cat conftest.err >&5
15662 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15663 (exit $ac_status); } && {
15664 test -z "$ac_c_werror_flag" ||
15665 test ! -s conftest.err
15666 } && test -s conftest.$ac_objext; then
15667 ac_cv_prog_cc_g=yes
15669 echo "$as_me: failed program was:" >&5
15670 sed 's/^/| /' conftest.$ac_ext >&5
15673 cat >conftest.$ac_ext <<_ACEOF
15676 cat confdefs.h >>conftest.$ac_ext
15677 cat >>conftest.$ac_ext <<_ACEOF
15678 /* end confdefs.h. */
15688 rm -f conftest.$ac_objext
15689 if { (ac_try="$ac_compile"
15690 case "(($ac_try" in
15691 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
15692 *) ac_try_echo
=$ac_try;;
15694 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15695 (eval "$ac_compile") 2>conftest.er1
15697 grep -v '^ *+' conftest.er1
>conftest.err
15699 cat conftest.err
>&5
15700 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15701 (exit $ac_status); } && {
15702 test -z "$ac_c_werror_flag" ||
15703 test ! -s conftest.err
15704 } && test -s conftest.
$ac_objext; then
15707 echo "$as_me: failed program was:" >&5
15708 sed 's/^/| /' conftest.
$ac_ext >&5
15710 ac_c_werror_flag
=$ac_save_c_werror_flag
15712 cat >conftest.
$ac_ext <<_ACEOF
15715 cat confdefs.h
>>conftest.
$ac_ext
15716 cat >>conftest.
$ac_ext <<_ACEOF
15717 /* end confdefs.h. */
15727 rm -f conftest.
$ac_objext
15728 if { (ac_try
="$ac_compile"
15729 case "(($ac_try" in
15730 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
15731 *) ac_try_echo=$ac_try;;
15733 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15734 (eval "$ac_compile") 2>conftest.er1
15736 grep -v '^ *+' conftest.er1 >conftest.err
15738 cat conftest.err >&5
15739 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15740 (exit $ac_status); } && {
15741 test -z "$ac_c_werror_flag" ||
15742 test ! -s conftest.err
15743 } && test -s conftest.$ac_objext; then
15744 ac_cv_prog_cc_g=yes
15746 echo "$as_me: failed program was:" >&5
15747 sed 's/^/| /' conftest.$ac_ext >&5
15752 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15755 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15758 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15759 ac_c_werror_flag=$ac_save_c_werror_flag
15761 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
15762 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
15763 if test "$ac_test_CFLAGS" = set; then
15764 CFLAGS=$ac_save_CFLAGS
15765 elif test $ac_cv_prog_cc_g = yes; then
15766 if test "$GCC" = yes; then
15772 if test "$GCC" = yes; then
15784 ac_cpp='$CXXCPP $CPPFLAGS'
15785 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15786 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15787 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15789 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C++ compiler" >&5
15790 echo $ECHO_N "checking whether we are using the IBM xlC C++ compiler... $ECHO_C" >&6; }
15791 if test "${bakefile_cv_cxx_compiler_xlc+set}" = set; then
15792 echo $ECHO_N "(cached) $ECHO_C" >&6
15794 cat >conftest.$ac_ext <<_ACEOF
15797 cat confdefs.h >>conftest.$ac_ext
15798 cat >>conftest.$ac_ext <<_ACEOF
15799 /* end confdefs.h. */
15812 rm -f conftest.$ac_objext
15813 if { (ac_try="$ac_compile"
15814 case "(($ac_try" in
15815 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
15816 *) ac_try_echo
=$ac_try;;
15818 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15819 (eval "$ac_compile") 2>conftest.er1
15821 grep -v '^ *+' conftest.er1
>conftest.err
15823 cat conftest.err
>&5
15824 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15825 (exit $ac_status); } && {
15826 test -z "$ac_cxx_werror_flag" ||
15827 test ! -s conftest.err
15828 } && test -s conftest.
$ac_objext; then
15829 bakefile_compiler_xlc
=yes
15831 echo "$as_me: failed program was:" >&5
15832 sed 's/^/| /' conftest.
$ac_ext >&5
15834 bakefile_compiler_xlc
=no
15837 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
15838 bakefile_cv_cxx_compiler_xlc
=$bakefile_compiler_xlc
15841 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler_xlc" >&5
15842 echo "${ECHO_T}$bakefile_cv_cxx_compiler_xlc" >&6; }
15844 XLCXX
=`test $bakefile_cv_cxx_compiler_xlc = yes && echo yes`
15846 ac_cpp
='$CPP $CPPFLAGS'
15847 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15848 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15849 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
15856 ac_cpp
='$CXXCPP $CPPFLAGS'
15857 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15858 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15859 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
15861 { echo "$as_me:$LINENO: checking whether we are using the Metrowerks C++ compiler" >&5
15862 echo $ECHO_N "checking whether we are using the Metrowerks C++ compiler... $ECHO_C" >&6; }
15863 if test "${bakefile_cv_cxx_compiler_mwerks+set}" = set; then
15864 echo $ECHO_N "(cached) $ECHO_C" >&6
15866 cat >conftest.
$ac_ext <<_ACEOF
15869 cat confdefs.h
>>conftest.
$ac_ext
15870 cat >>conftest.
$ac_ext <<_ACEOF
15871 /* end confdefs.h. */
15884 rm -f conftest.
$ac_objext
15885 if { (ac_try
="$ac_compile"
15886 case "(($ac_try" in
15887 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
15888 *) ac_try_echo=$ac_try;;
15890 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15891 (eval "$ac_compile") 2>conftest.er1
15893 grep -v '^ *+' conftest.er1 >conftest.err
15895 cat conftest.err >&5
15896 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15897 (exit $ac_status); } && {
15898 test -z "$ac_cxx_werror_flag" ||
15899 test ! -s conftest.err
15900 } && test -s conftest.$ac_objext; then
15901 bakefile_compiler_mwerks=yes
15903 echo "$as_me: failed program was:" >&5
15904 sed 's/^/| /' conftest.$ac_ext >&5
15906 bakefile_compiler_mwerks=no
15909 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15910 bakefile_cv_cxx_compiler_mwerks=$bakefile_compiler_mwerks
15913 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler_mwerks" >&5
15914 echo "${ECHO_T}$bakefile_cv_cxx_compiler_mwerks" >&6; }
15916 MWCXX=`test $bakefile_cv_cxx_compiler_mwerks = yes && echo yes`
15918 ac_cpp='$CPP $CPPFLAGS'
15919 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15920 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15921 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15925 ac_cpp='$CXXCPP $CPPFLAGS'
15926 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15927 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15928 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15930 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C++ compiler" >&5
15931 echo $ECHO_N "checking whether we are using the IBM xlC C++ compiler... $ECHO_C" >&6; }
15932 if test "${bakefile_cv_cxx_compiler_xlc+set}" = set; then
15933 echo $ECHO_N "(cached) $ECHO_C" >&6
15935 cat >conftest.$ac_ext <<_ACEOF
15938 cat confdefs.h >>conftest.$ac_ext
15939 cat >>conftest.$ac_ext <<_ACEOF
15940 /* end confdefs.h. */
15953 rm -f conftest.$ac_objext
15954 if { (ac_try="$ac_compile"
15955 case "(($ac_try" in
15956 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
15957 *) ac_try_echo
=$ac_try;;
15959 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15960 (eval "$ac_compile") 2>conftest.er1
15962 grep -v '^ *+' conftest.er1
>conftest.err
15964 cat conftest.err
>&5
15965 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15966 (exit $ac_status); } && {
15967 test -z "$ac_cxx_werror_flag" ||
15968 test ! -s conftest.err
15969 } && test -s conftest.
$ac_objext; then
15970 bakefile_compiler_xlc
=yes
15972 echo "$as_me: failed program was:" >&5
15973 sed 's/^/| /' conftest.
$ac_ext >&5
15975 bakefile_compiler_xlc
=no
15978 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
15979 bakefile_cv_cxx_compiler_xlc
=$bakefile_compiler_xlc
15982 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler_xlc" >&5
15983 echo "${ECHO_T}$bakefile_cv_cxx_compiler_xlc" >&6; }
15985 XLCXX
=`test $bakefile_cv_cxx_compiler_xlc = yes && echo yes`
15987 ac_cpp
='$CPP $CPPFLAGS'
15988 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15989 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15990 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
15999 ac_cpp
='$CXXCPP $CPPFLAGS'
16000 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16001 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16002 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
16004 { echo "$as_me:$LINENO: checking whether we are using the SGI C++ compiler" >&5
16005 echo $ECHO_N "checking whether we are using the SGI C++ compiler... $ECHO_C" >&6; }
16006 if test "${bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION+set}" = set; then
16007 echo $ECHO_N "(cached) $ECHO_C" >&6
16009 cat >conftest.
$ac_ext <<_ACEOF
16012 cat confdefs.h
>>conftest.
$ac_ext
16013 cat >>conftest.
$ac_ext <<_ACEOF
16014 /* end confdefs.h. */
16020 #ifndef _SGI_COMPILER_VERSION
16028 rm -f conftest.
$ac_objext
16029 if { (ac_try
="$ac_compile"
16030 case "(($ac_try" in
16031 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
16032 *) ac_try_echo=$ac_try;;
16034 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16035 (eval "$ac_compile") 2>conftest.er1
16037 grep -v '^ *+' conftest.er1 >conftest.err
16039 cat conftest.err >&5
16040 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16041 (exit $ac_status); } && {
16042 test -z "$ac_cxx_werror_flag" ||
16043 test ! -s conftest.err
16044 } && test -s conftest.$ac_objext; then
16045 bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION=yes
16047 echo "$as_me: failed program was:" >&5
16048 sed 's/^/| /' conftest.$ac_ext >&5
16050 bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION=no
16054 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16058 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" >&5
16059 echo "${ECHO_T}$bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" >&6; }
16061 ac_cpp='$CPP $CPPFLAGS'
16062 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16063 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16064 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16066 if test "x$bakefile_cv_c_compiler__SGI_COMPILER_VERSION" = "xyes"; then
16079 ac_cpp='$CXXCPP $CPPFLAGS'
16080 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16081 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16082 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16084 { echo "$as_me:$LINENO: checking whether we are using the HP C++ compiler" >&5
16085 echo $ECHO_N "checking whether we are using the HP C++ compiler... $ECHO_C" >&6; }
16086 if test "${bakefile_cv_cxx_compiler___HP_aCC+set}" = set; then
16087 echo $ECHO_N "(cached) $ECHO_C" >&6
16089 cat >conftest.$ac_ext <<_ACEOF
16092 cat confdefs.h >>conftest.$ac_ext
16093 cat >>conftest.$ac_ext <<_ACEOF
16094 /* end confdefs.h. */
16108 rm -f conftest.$ac_objext
16109 if { (ac_try="$ac_compile"
16110 case "(($ac_try" in
16111 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
16112 *) ac_try_echo
=$ac_try;;
16114 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16115 (eval "$ac_compile") 2>conftest.er1
16117 grep -v '^ *+' conftest.er1
>conftest.err
16119 cat conftest.err
>&5
16120 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16121 (exit $ac_status); } && {
16122 test -z "$ac_cxx_werror_flag" ||
16123 test ! -s conftest.err
16124 } && test -s conftest.
$ac_objext; then
16125 bakefile_cv_cxx_compiler___HP_aCC
=yes
16127 echo "$as_me: failed program was:" >&5
16128 sed 's/^/| /' conftest.
$ac_ext >&5
16130 bakefile_cv_cxx_compiler___HP_aCC
=no
16134 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
16138 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___HP_aCC" >&5
16139 echo "${ECHO_T}$bakefile_cv_cxx_compiler___HP_aCC" >&6; }
16141 ac_cpp
='$CPP $CPPFLAGS'
16142 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16143 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16144 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
16146 if test "x$bakefile_cv_c_compiler___HP_aCC" = "xyes"; then
16159 ac_cpp
='$CXXCPP $CPPFLAGS'
16160 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16161 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16162 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
16164 { echo "$as_me:$LINENO: checking whether we are using the Compaq C++ compiler" >&5
16165 echo $ECHO_N "checking whether we are using the Compaq C++ compiler... $ECHO_C" >&6; }
16166 if test "${bakefile_cv_cxx_compiler___DECCXX+set}" = set; then
16167 echo $ECHO_N "(cached) $ECHO_C" >&6
16169 cat >conftest.
$ac_ext <<_ACEOF
16172 cat confdefs.h
>>conftest.
$ac_ext
16173 cat >>conftest.
$ac_ext <<_ACEOF
16174 /* end confdefs.h. */
16188 rm -f conftest.
$ac_objext
16189 if { (ac_try
="$ac_compile"
16190 case "(($ac_try" in
16191 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
16192 *) ac_try_echo=$ac_try;;
16194 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16195 (eval "$ac_compile") 2>conftest.er1
16197 grep -v '^ *+' conftest.er1 >conftest.err
16199 cat conftest.err >&5
16200 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16201 (exit $ac_status); } && {
16202 test -z "$ac_cxx_werror_flag" ||
16203 test ! -s conftest.err
16204 } && test -s conftest.$ac_objext; then
16205 bakefile_cv_cxx_compiler___DECCXX=yes
16207 echo "$as_me: failed program was:" >&5
16208 sed 's/^/| /' conftest.$ac_ext >&5
16210 bakefile_cv_cxx_compiler___DECCXX=no
16214 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16218 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___DECCXX" >&5
16219 echo "${ECHO_T}$bakefile_cv_cxx_compiler___DECCXX" >&6; }
16221 ac_cpp='$CPP $CPPFLAGS'
16222 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16223 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16224 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16226 if test "x$bakefile_cv_c_compiler___DECCXX" = "xyes"; then
16239 ac_cpp='$CXXCPP $CPPFLAGS'
16240 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16241 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16242 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16244 { echo "$as_me:$LINENO: checking whether we are using the Sun C++ compiler" >&5
16245 echo $ECHO_N "checking whether we are using the Sun C++ compiler... $ECHO_C" >&6; }
16246 if test "${bakefile_cv_cxx_compiler___SUNPRO_CC+set}" = set; then
16247 echo $ECHO_N "(cached) $ECHO_C" >&6
16249 cat >conftest.$ac_ext <<_ACEOF
16252 cat confdefs.h >>conftest.$ac_ext
16253 cat >>conftest.$ac_ext <<_ACEOF
16254 /* end confdefs.h. */
16260 #ifndef __SUNPRO_CC
16268 rm -f conftest.$ac_objext
16269 if { (ac_try="$ac_compile"
16270 case "(($ac_try" in
16271 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
16272 *) ac_try_echo
=$ac_try;;
16274 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16275 (eval "$ac_compile") 2>conftest.er1
16277 grep -v '^ *+' conftest.er1
>conftest.err
16279 cat conftest.err
>&5
16280 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16281 (exit $ac_status); } && {
16282 test -z "$ac_cxx_werror_flag" ||
16283 test ! -s conftest.err
16284 } && test -s conftest.
$ac_objext; then
16285 bakefile_cv_cxx_compiler___SUNPRO_CC
=yes
16287 echo "$as_me: failed program was:" >&5
16288 sed 's/^/| /' conftest.
$ac_ext >&5
16290 bakefile_cv_cxx_compiler___SUNPRO_CC
=no
16294 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
16298 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___SUNPRO_CC" >&5
16299 echo "${ECHO_T}$bakefile_cv_cxx_compiler___SUNPRO_CC" >&6; }
16301 ac_cpp
='$CPP $CPPFLAGS'
16302 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16303 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16304 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
16306 if test "x$bakefile_cv_c_compiler___SUNPRO_CC" = "xyes"; then
16319 if test "$CXX" = "g++" -a "$GXX" != "yes"; then
16320 { { echo "$as_me:$LINENO: error: C++ compiler is needed to build wxWidgets" >&5
16321 echo "$as_me: error: C++ compiler is needed to build wxWidgets" >&2;}
16322 { (exit 1); exit 1; }; }
16325 if test -n "$ac_tool_prefix"; then
16326 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
16327 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
16328 { echo "$as_me:$LINENO: checking for $ac_word" >&5
16329 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16330 if test "${ac_cv_prog_RANLIB+set}" = set; then
16331 echo $ECHO_N "(cached) $ECHO_C" >&6
16333 if test -n "$RANLIB"; then
16334 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
16336 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16337 for as_dir
in $PATH
16340 test -z "$as_dir" && as_dir
=.
16341 for ac_exec_ext
in '' $ac_executable_extensions; do
16342 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16343 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
16344 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16353 RANLIB
=$ac_cv_prog_RANLIB
16354 if test -n "$RANLIB"; then
16355 { echo "$as_me:$LINENO: result: $RANLIB" >&5
16356 echo "${ECHO_T}$RANLIB" >&6; }
16358 { echo "$as_me:$LINENO: result: no" >&5
16359 echo "${ECHO_T}no" >&6; }
16364 if test -z "$ac_cv_prog_RANLIB"; then
16365 ac_ct_RANLIB
=$RANLIB
16366 # Extract the first word of "ranlib", so it can be a program name with args.
16367 set dummy ranlib
; ac_word
=$2
16368 { echo "$as_me:$LINENO: checking for $ac_word" >&5
16369 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16370 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
16371 echo $ECHO_N "(cached) $ECHO_C" >&6
16373 if test -n "$ac_ct_RANLIB"; then
16374 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
16376 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16377 for as_dir
in $PATH
16380 test -z "$as_dir" && as_dir
=.
16381 for ac_exec_ext
in '' $ac_executable_extensions; do
16382 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16383 ac_cv_prog_ac_ct_RANLIB
="ranlib"
16384 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16393 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
16394 if test -n "$ac_ct_RANLIB"; then
16395 { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
16396 echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
16398 { echo "$as_me:$LINENO: result: no" >&5
16399 echo "${ECHO_T}no" >&6; }
16402 if test "x$ac_ct_RANLIB" = x
; then
16405 case $cross_compiling:$ac_tool_warned in
16407 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
16408 whose name does not start with the host triplet. If you think this
16409 configuration is useful to you, please write to autoconf@gnu.org." >&5
16410 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
16411 whose name does not start with the host triplet. If you think this
16412 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
16413 ac_tool_warned
=yes ;;
16415 RANLIB
=$ac_ct_RANLIB
16418 RANLIB
="$ac_cv_prog_RANLIB"
16422 if test "x$SUNCXX" != xyes
; then
16423 if test -n "$ac_tool_prefix"; then
16424 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
16425 set dummy
${ac_tool_prefix}ar; ac_word
=$2
16426 { echo "$as_me:$LINENO: checking for $ac_word" >&5
16427 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16428 if test "${ac_cv_prog_AR+set}" = set; then
16429 echo $ECHO_N "(cached) $ECHO_C" >&6
16431 if test -n "$AR"; then
16432 ac_cv_prog_AR
="$AR" # Let the user override the test.
16434 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16435 for as_dir
in $PATH
16438 test -z "$as_dir" && as_dir
=.
16439 for ac_exec_ext
in '' $ac_executable_extensions; do
16440 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16441 ac_cv_prog_AR
="${ac_tool_prefix}ar"
16442 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16452 if test -n "$AR"; then
16453 { echo "$as_me:$LINENO: result: $AR" >&5
16454 echo "${ECHO_T}$AR" >&6; }
16456 { echo "$as_me:$LINENO: result: no" >&5
16457 echo "${ECHO_T}no" >&6; }
16462 if test -z "$ac_cv_prog_AR"; then
16464 # Extract the first word of "ar", so it can be a program name with args.
16465 set dummy
ar; ac_word
=$2
16466 { echo "$as_me:$LINENO: checking for $ac_word" >&5
16467 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16468 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
16469 echo $ECHO_N "(cached) $ECHO_C" >&6
16471 if test -n "$ac_ct_AR"; then
16472 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
16474 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16475 for as_dir
in $PATH
16478 test -z "$as_dir" && as_dir
=.
16479 for ac_exec_ext
in '' $ac_executable_extensions; do
16480 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16481 ac_cv_prog_ac_ct_AR
="ar"
16482 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16491 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
16492 if test -n "$ac_ct_AR"; then
16493 { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
16494 echo "${ECHO_T}$ac_ct_AR" >&6; }
16496 { echo "$as_me:$LINENO: result: no" >&5
16497 echo "${ECHO_T}no" >&6; }
16500 if test "x$ac_ct_AR" = x
; then
16503 case $cross_compiling:$ac_tool_warned in
16505 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
16506 whose name does not start with the host triplet. If you think this
16507 configuration is useful to you, please write to autoconf@gnu.org." >&5
16508 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
16509 whose name does not start with the host triplet. If you think this
16510 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
16511 ac_tool_warned
=yes ;;
16516 AR
="$ac_cv_prog_AR"
16519 if test "x$AR" = "x" ; then
16520 { { echo "$as_me:$LINENO: error: ar is needed to build wxWidgets" >&5
16521 echo "$as_me: error: ar is needed to build wxWidgets" >&2;}
16522 { (exit 1); exit 1; }; }
16526 # Find a good install program. We prefer a C program (faster),
16527 # so one script is as good as another. But avoid the broken or
16528 # incompatible versions:
16529 # SysV /etc/install, /usr/sbin/install
16530 # SunOS /usr/etc/install
16531 # IRIX /sbin/install
16533 # AmigaOS /C/install, which installs bootblocks on floppy discs
16534 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
16535 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
16536 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
16537 # OS/2's system install, which has a completely different semantic
16538 # ./install, which can be erroneously created by make from ./install.sh.
16539 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
16540 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
16541 if test -z "$INSTALL"; then
16542 if test "${ac_cv_path_install+set}" = set; then
16543 echo $ECHO_N "(cached) $ECHO_C" >&6
16545 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16546 for as_dir
in $PATH
16549 test -z "$as_dir" && as_dir
=.
16550 # Account for people who put trailing slashes in PATH elements.
16552 .
/ | .
// | /cC
/* | \
16553 /etc
/* | /usr
/sbin
/* | /usr
/etc
/* | /sbin
/* | /usr
/afsws
/bin
/* | \
16554 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
16557 # OSF1 and SCO ODT 3.0 have their own names for install.
16558 # Don't use installbsd from OSF since it installs stuff as root
16560 for ac_prog
in ginstall scoinst
install; do
16561 for ac_exec_ext
in '' $ac_executable_extensions; do
16562 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
16563 if test $ac_prog = install &&
16564 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
16565 # AIX install. It has an incompatible calling convention.
16567 elif test $ac_prog = install &&
16568 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
16569 # program-specific install script used by HP pwplus--don't use.
16572 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
16585 if test "${ac_cv_path_install+set}" = set; then
16586 INSTALL
=$ac_cv_path_install
16588 # As a last resort, use the slow shell script. Don't cache a
16589 # value for INSTALL within a source directory, because that will
16590 # break other packages using the cache if that directory is
16591 # removed, or if the value is a relative name.
16592 INSTALL
=$ac_install_sh
16595 { echo "$as_me:$LINENO: result: $INSTALL" >&5
16596 echo "${ECHO_T}$INSTALL" >&6; }
16598 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
16599 # It thinks the first close brace ends the variable substitution.
16600 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
16602 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
16604 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
16610 ?
:* ) # Drive letter, considered as absolute.
16613 INSTALL
=`pwd`/${INSTALL} ;;
16620 INSTALL_PROGRAM
="cp -fp"
16621 INSTALL_DATA
="cp -fp"
16627 if test -n "$ac_tool_prefix"; then
16628 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
16629 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
16630 { echo "$as_me:$LINENO: checking for $ac_word" >&5
16631 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16632 if test "${ac_cv_prog_STRIP+set}" = set; then
16633 echo $ECHO_N "(cached) $ECHO_C" >&6
16635 if test -n "$STRIP"; then
16636 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
16638 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16639 for as_dir
in $PATH
16642 test -z "$as_dir" && as_dir
=.
16643 for ac_exec_ext
in '' $ac_executable_extensions; do
16644 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16645 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
16646 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16655 STRIP
=$ac_cv_prog_STRIP
16656 if test -n "$STRIP"; then
16657 { echo "$as_me:$LINENO: result: $STRIP" >&5
16658 echo "${ECHO_T}$STRIP" >&6; }
16660 { echo "$as_me:$LINENO: result: no" >&5
16661 echo "${ECHO_T}no" >&6; }
16666 if test -z "$ac_cv_prog_STRIP"; then
16668 # Extract the first word of "strip", so it can be a program name with args.
16669 set dummy strip
; ac_word
=$2
16670 { echo "$as_me:$LINENO: checking for $ac_word" >&5
16671 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16672 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
16673 echo $ECHO_N "(cached) $ECHO_C" >&6
16675 if test -n "$ac_ct_STRIP"; then
16676 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
16678 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16679 for as_dir
in $PATH
16682 test -z "$as_dir" && as_dir
=.
16683 for ac_exec_ext
in '' $ac_executable_extensions; do
16684 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16685 ac_cv_prog_ac_ct_STRIP
="strip"
16686 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16695 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
16696 if test -n "$ac_ct_STRIP"; then
16697 { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
16698 echo "${ECHO_T}$ac_ct_STRIP" >&6; }
16700 { echo "$as_me:$LINENO: result: no" >&5
16701 echo "${ECHO_T}no" >&6; }
16704 if test "x$ac_ct_STRIP" = x
; then
16707 case $cross_compiling:$ac_tool_warned in
16709 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
16710 whose name does not start with the host triplet. If you think this
16711 configuration is useful to you, please write to autoconf@gnu.org." >&5
16712 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
16713 whose name does not start with the host triplet. If you think this
16714 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
16715 ac_tool_warned
=yes ;;
16720 STRIP
="$ac_cv_prog_STRIP"
16724 if test "$wxUSE_WINE" = "yes"; then
16725 if test -n "$ac_tool_prefix"; then
16726 # Extract the first word of "${ac_tool_prefix}wrc", so it can be a program name with args.
16727 set dummy
${ac_tool_prefix}wrc
; ac_word
=$2
16728 { echo "$as_me:$LINENO: checking for $ac_word" >&5
16729 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16730 if test "${ac_cv_prog_WINDRES+set}" = set; then
16731 echo $ECHO_N "(cached) $ECHO_C" >&6
16733 if test -n "$WINDRES"; then
16734 ac_cv_prog_WINDRES
="$WINDRES" # Let the user override the test.
16736 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16737 for as_dir
in $PATH
16740 test -z "$as_dir" && as_dir
=.
16741 for ac_exec_ext
in '' $ac_executable_extensions; do
16742 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16743 ac_cv_prog_WINDRES
="${ac_tool_prefix}wrc"
16744 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16753 WINDRES
=$ac_cv_prog_WINDRES
16754 if test -n "$WINDRES"; then
16755 { echo "$as_me:$LINENO: result: $WINDRES" >&5
16756 echo "${ECHO_T}$WINDRES" >&6; }
16758 { echo "$as_me:$LINENO: result: no" >&5
16759 echo "${ECHO_T}no" >&6; }
16764 if test -z "$ac_cv_prog_WINDRES"; then
16765 ac_ct_WINDRES
=$WINDRES
16766 # Extract the first word of "wrc", so it can be a program name with args.
16767 set dummy wrc
; ac_word
=$2
16768 { echo "$as_me:$LINENO: checking for $ac_word" >&5
16769 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16770 if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then
16771 echo $ECHO_N "(cached) $ECHO_C" >&6
16773 if test -n "$ac_ct_WINDRES"; then
16774 ac_cv_prog_ac_ct_WINDRES
="$ac_ct_WINDRES" # Let the user override the test.
16776 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16777 for as_dir
in $PATH
16780 test -z "$as_dir" && as_dir
=.
16781 for ac_exec_ext
in '' $ac_executable_extensions; do
16782 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16783 ac_cv_prog_ac_ct_WINDRES
="wrc"
16784 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16793 ac_ct_WINDRES
=$ac_cv_prog_ac_ct_WINDRES
16794 if test -n "$ac_ct_WINDRES"; then
16795 { echo "$as_me:$LINENO: result: $ac_ct_WINDRES" >&5
16796 echo "${ECHO_T}$ac_ct_WINDRES" >&6; }
16798 { echo "$as_me:$LINENO: result: no" >&5
16799 echo "${ECHO_T}no" >&6; }
16802 if test "x$ac_ct_WINDRES" = x
; then
16805 case $cross_compiling:$ac_tool_warned in
16807 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
16808 whose name does not start with the host triplet. If you think this
16809 configuration is useful to you, please write to autoconf@gnu.org." >&5
16810 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
16811 whose name does not start with the host triplet. If you think this
16812 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
16813 ac_tool_warned
=yes ;;
16815 WINDRES
=$ac_ct_WINDRES
16818 WINDRES
="$ac_cv_prog_WINDRES"
16824 *-*-cygwin* | *-*-mingw32* )
16825 if test -n "$ac_tool_prefix"; then
16826 # Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args.
16827 set dummy
${ac_tool_prefix}windres
; ac_word
=$2
16828 { echo "$as_me:$LINENO: checking for $ac_word" >&5
16829 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16830 if test "${ac_cv_prog_WINDRES+set}" = set; then
16831 echo $ECHO_N "(cached) $ECHO_C" >&6
16833 if test -n "$WINDRES"; then
16834 ac_cv_prog_WINDRES
="$WINDRES" # Let the user override the test.
16836 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16837 for as_dir
in $PATH
16840 test -z "$as_dir" && as_dir
=.
16841 for ac_exec_ext
in '' $ac_executable_extensions; do
16842 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16843 ac_cv_prog_WINDRES
="${ac_tool_prefix}windres"
16844 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16853 WINDRES
=$ac_cv_prog_WINDRES
16854 if test -n "$WINDRES"; then
16855 { echo "$as_me:$LINENO: result: $WINDRES" >&5
16856 echo "${ECHO_T}$WINDRES" >&6; }
16858 { echo "$as_me:$LINENO: result: no" >&5
16859 echo "${ECHO_T}no" >&6; }
16864 if test -z "$ac_cv_prog_WINDRES"; then
16865 ac_ct_WINDRES
=$WINDRES
16866 # Extract the first word of "windres", so it can be a program name with args.
16867 set dummy windres
; ac_word
=$2
16868 { echo "$as_me:$LINENO: checking for $ac_word" >&5
16869 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16870 if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then
16871 echo $ECHO_N "(cached) $ECHO_C" >&6
16873 if test -n "$ac_ct_WINDRES"; then
16874 ac_cv_prog_ac_ct_WINDRES
="$ac_ct_WINDRES" # Let the user override the test.
16876 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16877 for as_dir
in $PATH
16880 test -z "$as_dir" && as_dir
=.
16881 for ac_exec_ext
in '' $ac_executable_extensions; do
16882 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16883 ac_cv_prog_ac_ct_WINDRES
="windres"
16884 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16893 ac_ct_WINDRES
=$ac_cv_prog_ac_ct_WINDRES
16894 if test -n "$ac_ct_WINDRES"; then
16895 { echo "$as_me:$LINENO: result: $ac_ct_WINDRES" >&5
16896 echo "${ECHO_T}$ac_ct_WINDRES" >&6; }
16898 { echo "$as_me:$LINENO: result: no" >&5
16899 echo "${ECHO_T}no" >&6; }
16902 if test "x$ac_ct_WINDRES" = x
; then
16905 case $cross_compiling:$ac_tool_warned in
16907 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
16908 whose name does not start with the host triplet. If you think this
16909 configuration is useful to you, please write to autoconf@gnu.org." >&5
16910 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
16911 whose name does not start with the host triplet. If you think this
16912 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
16913 ac_tool_warned
=yes ;;
16915 WINDRES
=$ac_ct_WINDRES
16918 WINDRES
="$ac_cv_prog_WINDRES"
16922 if test -n "$ac_tool_prefix"; then
16923 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
16924 set dummy
${ac_tool_prefix}dlltool
; ac_word
=$2
16925 { echo "$as_me:$LINENO: checking for $ac_word" >&5
16926 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16927 if test "${ac_cv_prog_DLLTOOL+set}" = set; then
16928 echo $ECHO_N "(cached) $ECHO_C" >&6
16930 if test -n "$DLLTOOL"; then
16931 ac_cv_prog_DLLTOOL
="$DLLTOOL" # Let the user override the test.
16933 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16934 for as_dir
in $PATH
16937 test -z "$as_dir" && as_dir
=.
16938 for ac_exec_ext
in '' $ac_executable_extensions; do
16939 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16940 ac_cv_prog_DLLTOOL
="${ac_tool_prefix}dlltool"
16941 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16950 DLLTOOL
=$ac_cv_prog_DLLTOOL
16951 if test -n "$DLLTOOL"; then
16952 { echo "$as_me:$LINENO: result: $DLLTOOL" >&5
16953 echo "${ECHO_T}$DLLTOOL" >&6; }
16955 { echo "$as_me:$LINENO: result: no" >&5
16956 echo "${ECHO_T}no" >&6; }
16961 if test -z "$ac_cv_prog_DLLTOOL"; then
16962 ac_ct_DLLTOOL
=$DLLTOOL
16963 # Extract the first word of "dlltool", so it can be a program name with args.
16964 set dummy dlltool
; ac_word
=$2
16965 { echo "$as_me:$LINENO: checking for $ac_word" >&5
16966 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16967 if test "${ac_cv_prog_ac_ct_DLLTOOL+set}" = set; then
16968 echo $ECHO_N "(cached) $ECHO_C" >&6
16970 if test -n "$ac_ct_DLLTOOL"; then
16971 ac_cv_prog_ac_ct_DLLTOOL
="$ac_ct_DLLTOOL" # Let the user override the test.
16973 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16974 for as_dir
in $PATH
16977 test -z "$as_dir" && as_dir
=.
16978 for ac_exec_ext
in '' $ac_executable_extensions; do
16979 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16980 ac_cv_prog_ac_ct_DLLTOOL
="dlltool"
16981 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16990 ac_ct_DLLTOOL
=$ac_cv_prog_ac_ct_DLLTOOL
16991 if test -n "$ac_ct_DLLTOOL"; then
16992 { echo "$as_me:$LINENO: result: $ac_ct_DLLTOOL" >&5
16993 echo "${ECHO_T}$ac_ct_DLLTOOL" >&6; }
16995 { echo "$as_me:$LINENO: result: no" >&5
16996 echo "${ECHO_T}no" >&6; }
16999 if test "x$ac_ct_DLLTOOL" = x
; then
17002 case $cross_compiling:$ac_tool_warned in
17004 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
17005 whose name does not start with the host triplet. If you think this
17006 configuration is useful to you, please write to autoconf@gnu.org." >&5
17007 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
17008 whose name does not start with the host triplet. If you think this
17009 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
17010 ac_tool_warned
=yes ;;
17012 DLLTOOL
=$ac_ct_DLLTOOL
17015 DLLTOOL
="$ac_cv_prog_DLLTOOL"
17022 { echo "$as_me:$LINENO: checking if make is GNU make" >&5
17023 echo $ECHO_N "checking if make is GNU make... $ECHO_C" >&6; }
17024 if test "${wx_cv_prog_makeisgnu+set}" = set; then
17025 echo $ECHO_N "(cached) $ECHO_C" >&6
17028 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev
/null
|
17029 $EGREP -s GNU
> /dev
/null
); then
17030 wx_cv_prog_makeisgnu
="yes"
17032 wx_cv_prog_makeisgnu
="no"
17036 { echo "$as_me:$LINENO: result: $wx_cv_prog_makeisgnu" >&5
17037 echo "${ECHO_T}$wx_cv_prog_makeisgnu" >&6; }
17039 if test "x$wx_cv_prog_makeisgnu" = "xyes"; then
17047 if test "x$wx_cv_prog_makeisgnu" != "xyes"; then
17048 { echo "$as_me:$LINENO: checking if make supports VPATH" >&5
17049 echo $ECHO_N "checking if make supports VPATH... $ECHO_C" >&6; }
17050 if test "${wx_cv_prog_makevpath+set}" = set; then
17051 echo $ECHO_N "(cached) $ECHO_C" >&6
17054 cat - << EOF > confMake
17060 if test ! -d sub
; then
17063 echo dummy
> sub
/file
17064 ${MAKE-make} -f confMake VPATH
=sub
2>&5 > /dev
/null
17066 rm -f sub
/file check final_file confMake
17068 if test "$RESULT" = 0; then
17069 wx_cv_prog_makevpath
="yes"
17071 wx_cv_prog_makevpath
="no"
17075 { echo "$as_me:$LINENO: result: $wx_cv_prog_makevpath" >&5
17076 echo "${ECHO_T}$wx_cv_prog_makevpath" >&6; }
17078 if test "x$wx_cv_prog_makevpath" != "xyes"; then
17079 { { echo "$as_me:$LINENO: error:
17080 You need a make-utility that is able to use the variable
17082 If your version of make does not support VPATH correctly,
17083 please install GNU-make (possibly as gmake), and start
17084 configure with the following command:
17085 export MAKE=gmake; ./configure for sh-type shells
17086 setenv MAKE gmake; ./configure for csh-type shells
17087 Also please do remember to use gmake in this case every time
17088 you are trying to compile.
17090 echo "$as_me: error:
17091 You need a make-utility that is able to use the variable
17093 If your version of make does not support VPATH correctly,
17094 please install GNU-make (possibly as gmake), and start
17095 configure with the following command:
17096 export MAKE=gmake; ./configure for sh-type shells
17097 setenv MAKE gmake; ./configure for csh-type shells
17098 Also please do remember to use gmake in this case every time
17099 you are trying to compile.
17101 { (exit 1); exit 1; }; }
17103 { echo "$as_me:$LINENO: checking whether ln -s works" >&5
17104 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; }
17106 if test "$LN_S" = "ln -s"; then
17107 { echo "$as_me:$LINENO: result: yes" >&5
17108 echo "${ECHO_T}yes" >&6; }
17110 { echo "$as_me:$LINENO: result: no, using $LN_S" >&5
17111 echo "${ECHO_T}no, using $LN_S" >&6; }
17117 if test "x$XLCXX" = "xyes" -a "x$USE_AIX" = "x1"; then
17118 CXXFLAGS
="-qunique $CXXFLAGS"
17122 powerpc
-*-darwin* )
17123 { echo "$as_me:$LINENO: checking if __POWERPC__ is already defined" >&5
17124 echo $ECHO_N "checking if __POWERPC__ is already defined... $ECHO_C" >&6; }
17125 cat >conftest.
$ac_ext <<_ACEOF
17128 cat confdefs.h
>>conftest.
$ac_ext
17129 cat >>conftest.
$ac_ext <<_ACEOF
17130 /* end confdefs.h. */
17135 #ifndef __POWERPC__
17136 choke me for lack of PowerPC
17143 rm -f conftest.
$ac_objext
17144 if { (ac_try
="$ac_compile"
17145 case "(($ac_try" in
17146 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
17147 *) ac_try_echo=$ac_try;;
17149 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17150 (eval "$ac_compile") 2>conftest.er1
17152 grep -v '^ *+' conftest.er1 >conftest.err
17154 cat conftest.err >&5
17155 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17156 (exit $ac_status); } && {
17157 test -z "$ac_c_werror_flag" ||
17158 test ! -s conftest.err
17159 } && test -s conftest.$ac_objext; then
17160 { echo "$as_me:$LINENO: result: yes" >&5
17161 echo "${ECHO_T}yes" >&6; }
17163 echo "$as_me: failed program was:" >&5
17164 sed 's/^/| /' conftest.$ac_ext >&5
17166 { echo "$as_me:$LINENO: result: no" >&5
17167 echo "${ECHO_T}no" >&6; }
17168 cat >>confdefs.h <<\_ACEOF
17169 #define __POWERPC__ 1
17175 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17181 { echo "$as_me:$LINENO: checking if CoreFoundation/CFBase.h is usable" >&5
17182 echo $ECHO_N "checking if CoreFoundation/CFBase.h is usable... $ECHO_C" >&6; }
17183 cat >conftest.$ac_ext <<_ACEOF
17186 cat confdefs.h >>conftest.$ac_ext
17187 cat >>conftest.$ac_ext <<_ACEOF
17188 /* end confdefs.h. */
17189 #include <CoreFoundation/CFBase.h>
17199 rm -f conftest.$ac_objext
17200 if { (ac_try="$ac_compile"
17201 case "(($ac_try" in
17202 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
17203 *) ac_try_echo
=$ac_try;;
17205 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17206 (eval "$ac_compile") 2>conftest.er1
17208 grep -v '^ *+' conftest.er1
>conftest.err
17210 cat conftest.err
>&5
17211 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17212 (exit $ac_status); } && {
17213 test -z "$ac_c_werror_flag" ||
17214 test ! -s conftest.err
17215 } && test -s conftest.
$ac_objext; then
17216 { echo "$as_me:$LINENO: result: yes" >&5
17217 echo "${ECHO_T}yes" >&6; }
17219 echo "$as_me: failed program was:" >&5
17220 sed 's/^/| /' conftest.
$ac_ext >&5
17222 { echo "$as_me:$LINENO: result: no" >&5
17223 echo "${ECHO_T}no" >&6; }
17224 { echo "$as_me:$LINENO: checking if __CF_USE_FRAMEWORK_INCLUDES__ is required" >&5
17225 echo $ECHO_N "checking if __CF_USE_FRAMEWORK_INCLUDES__ is required... $ECHO_C" >&6; }
17226 cat >conftest.
$ac_ext <<_ACEOF
17229 cat confdefs.h
>>conftest.
$ac_ext
17230 cat >>conftest.
$ac_ext <<_ACEOF
17231 /* end confdefs.h. */
17232 #define __CF_USE_FRAMEWORK_INCLUDES__
17233 #include <CoreFoundation/CFBase.h>
17243 rm -f conftest.
$ac_objext
17244 if { (ac_try
="$ac_compile"
17245 case "(($ac_try" in
17246 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
17247 *) ac_try_echo=$ac_try;;
17249 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17250 (eval "$ac_compile") 2>conftest.er1
17252 grep -v '^ *+' conftest.er1 >conftest.err
17254 cat conftest.err >&5
17255 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17256 (exit $ac_status); } && {
17257 test -z "$ac_c_werror_flag" ||
17258 test ! -s conftest.err
17259 } && test -s conftest.$ac_objext; then
17260 { echo "$as_me:$LINENO: result: yes" >&5
17261 echo "${ECHO_T}yes" >&6; }
17262 CPPFLAGS="-D__CF_USE_FRAMEWORK_INCLUDES__ $CPPFLAGS"
17264 echo "$as_me: failed program was:" >&5
17265 sed 's/^/| /' conftest.$ac_ext >&5
17267 { { echo "$as_me:$LINENO: error: no. CoreFoundation not available.
17268 See \`config.log
' for more details." >&5
17269 echo "$as_me: error: no. CoreFoundation not available.
17270 See \`config.log' for more details.
" >&2;}
17271 { (exit 1); exit 1; }; }
17275 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17280 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17285 doesnt_want_win32=0
17288 if test "$wxUSE_MSW" = 1 ; then
17291 { echo "$as_me:$LINENO: checking
if -mno-cygwin is
in effect
" >&5
17292 echo $ECHO_N "checking
if -mno-cygwin is
in effect...
$ECHO_C" >&6; }
17293 if test "${wx_cv_nocygwin+set}" = set; then
17294 echo $ECHO_N "(cached
) $ECHO_C" >&6
17297 cat >conftest.$ac_ext <<_ACEOF
17300 cat confdefs.h >>conftest.$ac_ext
17301 cat >>conftest.$ac_ext <<_ACEOF
17302 /* end confdefs.h. */
17316 rm -f conftest.$ac_objext
17317 if { (ac_try="$ac_compile"
17318 case "(($ac_try" in
17319 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17320 *) ac_try_echo=$ac_try;;
17322 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
17323 (eval "$ac_compile") 2>conftest.er1
17325 grep -v '^ *+' conftest.er1 >conftest.err
17327 cat conftest.err >&5
17328 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
17329 (exit $ac_status); } && {
17330 test -z "$ac_c_werror_flag" ||
17331 test ! -s conftest.err
17332 } && test -s conftest.$ac_objext; then
17335 echo "$as_me: failed program was
:" >&5
17336 sed 's/^/| /' conftest.$ac_ext >&5
17342 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17346 { echo "$as_me:$LINENO: result
: $wx_cv_nocygwin" >&5
17347 echo "${ECHO_T}$wx_cv_nocygwin" >&6; }
17349 if test "$wx_cv_nocygwin" = "yes"; then
17352 doesnt_want_win32=1
17355 if test "$wants_win32" = 1 ; then
17356 BAKEFILE_FORCE_PLATFORM=win32
17364 if test "$wxUSE_WINE" = "yes"; then
17366 LDFLAGS_GUI="-mwindows"
17369 if test "$wants_win32" = 1 ; then
17372 cat >>confdefs.h <<\_ACEOF
17373 #define __WIN32__ 1
17376 cat >>confdefs.h <<\_ACEOF
17377 #define __WIN95__ 1
17380 cat >>confdefs.h <<\_ACEOF
17381 #define __WINDOWS__ 1
17384 cat >>confdefs.h <<\_ACEOF
17385 #define __GNUWIN32__ 1
17388 cat >>confdefs.h <<\_ACEOF
17393 if test "$doesnt_want_win32" = 1 ; then
17398 if test "$USE_UNIX" = 1 ; then
17400 cat >>confdefs.h <<\_ACEOF
17407 *-pc-os2_emx | *-pc-os2-emx )
17408 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_GTK" = 1 -o "$wxUSE_X11" = 1; then
17409 { echo "$as_me:$LINENO: checking
for drand48
in -lcExt" >&5
17410 echo $ECHO_N "checking
for drand48
in -lcExt...
$ECHO_C" >&6; }
17411 if test "${ac_cv_lib_cExt_drand48+set}" = set; then
17412 echo $ECHO_N "(cached
) $ECHO_C" >&6
17414 ac_check_lib_save_LIBS=$LIBS
17415 LIBS="-lcExt $LIBS"
17416 cat >conftest.$ac_ext <<_ACEOF
17419 cat confdefs.h >>conftest.$ac_ext
17420 cat >>conftest.$ac_ext <<_ACEOF
17421 /* end confdefs.h. */
17423 /* Override any GCC internal prototype to avoid an error.
17424 Use char because int might match the return type of a GCC
17425 builtin and then its argument prototype would still apply. */
17438 rm -f conftest.$ac_objext conftest$ac_exeext
17439 if { (ac_try="$ac_link"
17440 case "(($ac_try" in
17441 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17442 *) ac_try_echo=$ac_try;;
17444 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
17445 (eval "$ac_link") 2>conftest.er1
17447 grep -v '^ *+' conftest.er1 >conftest.err
17449 cat conftest.err >&5
17450 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
17451 (exit $ac_status); } && {
17452 test -z "$ac_c_werror_flag" ||
17453 test ! -s conftest.err
17454 } && test -s conftest$ac_exeext &&
17455 $as_test_x conftest$ac_exeext; then
17456 ac_cv_lib_cExt_drand48=yes
17458 echo "$as_me: failed program was
:" >&5
17459 sed 's/^/| /' conftest.$ac_ext >&5
17461 ac_cv_lib_cExt_drand48=no
17464 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17465 conftest$ac_exeext conftest.$ac_ext
17466 LIBS=$ac_check_lib_save_LIBS
17468 { echo "$as_me:$LINENO: result
: $ac_cv_lib_cExt_drand48" >&5
17469 echo "${ECHO_T}$ac_cv_lib_cExt_drand48" >&6; }
17470 if test $ac_cv_lib_cExt_drand48 = yes; then
17471 LIBS="$LIBS -lcExt"
17475 RESPROGRAMOBJ="\
${top_srcdir}/include
/wx
/os
2/wx.res
"
17477 { echo "$as_me:$LINENO: checking
for gcc
/libc version
" >&5
17478 echo $ECHO_N "checking
for gcc
/libc version...
$ECHO_C" >&6; }
17479 if test "${wx_cv_gccversion+set}" = set; then
17480 echo $ECHO_N "(cached
) $ECHO_C" >&6
17483 if test "$cross_compiling" = yes; then
17484 wx_cv_gccversion="EMX2
"
17487 cat >conftest.$ac_ext <<_ACEOF
17490 cat confdefs.h >>conftest.$ac_ext
17491 cat >>conftest.$ac_ext <<_ACEOF
17492 /* end confdefs.h. */
17498 FILE *f=fopen("conftestval
", "w
");
17503 #elif (__GNUC__==3) && ((__GNUC_MINOR__ < 2) || ((__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__<2)))
17505 #elif (__GNUC__==3) && (__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__==2)
17515 rm -f conftest$ac_exeext
17516 if { (ac_try="$ac_link"
17517 case "(($ac_try" in
17518 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17519 *) ac_try_echo=$ac_try;;
17521 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
17522 (eval "$ac_link") 2>&5
17524 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
17525 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
17526 { (case "(($ac_try" in
17527 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17528 *) ac_try_echo=$ac_try;;
17530 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
17531 (eval "$ac_try") 2>&5
17533 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
17534 (exit $ac_status); }; }; then
17535 wx_cv_gccversion=`cat conftestval`
17537 echo "$as_me: program exited with status
$ac_status" >&5
17538 echo "$as_me: failed program was
:" >&5
17539 sed 's/^/| /' conftest.$ac_ext >&5
17541 ( exit $ac_status )
17542 wx_cv_gccversion="EMX2
"
17544 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
17550 { echo "$as_me:$LINENO: result
: $wx_cv_gccversion" >&5
17551 echo "${ECHO_T}$wx_cv_gccversion" >&6; }
17552 if test "$wx_cv_gccversion" = "EMX2
"; then
17553 LIBS="$LIBS -lstdcpp"
17554 LDFLAGS="$LDFLAGS -Zsysv-signals"
17556 if test "$wx_cv_gccversion" = "EMX3
"; then
17557 LIBS="$LIBS -lstdcxx -lgcc"
17558 LDFLAGS="$LDFLAGS -Zsysv-signals"
17560 LIBS="$LIBS -lstdc++"
17563 if test "$wxUSE_SHARED" = "yes" -a "$wxUSE_OMF" = "no
"; then
17564 { echo "$as_me:$LINENO: WARNING
: Building DLLs requires OMF mode
, enabled
" >&5
17565 echo "$as_me: WARNING
: Building DLLs requires OMF mode
, enabled
" >&2;}
17572 { echo "$as_me:$LINENO: checking
for strcasecmp
() in string.h
" >&5
17573 echo $ECHO_N "checking
for strcasecmp
() in string.h...
$ECHO_C" >&6; }
17574 if test "${ac_cv_string_strcasecmp+set}" = set; then
17575 echo $ECHO_N "(cached
) $ECHO_C" >&6
17578 cat >conftest.$ac_ext <<_ACEOF
17581 cat confdefs.h >>conftest.$ac_ext
17582 cat >>conftest.$ac_ext <<_ACEOF
17583 /* end confdefs.h. */
17585 #include <string.h>
17591 strcasecmp("foo
", "bar
");
17597 rm -f conftest.$ac_objext conftest$ac_exeext
17598 if { (ac_try="$ac_link"
17599 case "(($ac_try" in
17600 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17601 *) ac_try_echo=$ac_try;;
17603 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
17604 (eval "$ac_link") 2>conftest.er1
17606 grep -v '^ *+' conftest.er1 >conftest.err
17608 cat conftest.err >&5
17609 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
17610 (exit $ac_status); } && {
17611 test -z "$ac_c_werror_flag" ||
17612 test ! -s conftest.err
17613 } && test -s conftest$ac_exeext &&
17614 $as_test_x conftest$ac_exeext; then
17615 ac_cv_string_strcasecmp=yes
17617 echo "$as_me: failed program was
:" >&5
17618 sed 's/^/| /' conftest.$ac_ext >&5
17620 ac_cv_string_strcasecmp=no
17624 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17625 conftest$ac_exeext conftest.$ac_ext
17628 { echo "$as_me:$LINENO: result
: $ac_cv_string_strcasecmp" >&5
17629 echo "${ECHO_T}$ac_cv_string_strcasecmp" >&6; }
17631 if test x"$ac_cv_string_strcasecmp" = "xyes
"; then
17632 cat >>confdefs.h <<\_ACEOF
17633 #define HAVE_STRCASECMP_IN_STRING_H 1
17637 { echo "$as_me:$LINENO: checking
for strcasecmp
() in strings.h
" >&5
17638 echo $ECHO_N "checking
for strcasecmp
() in strings.h...
$ECHO_C" >&6; }
17639 if test "${ac_cv_strings_strcasecmp+set}" = set; then
17640 echo $ECHO_N "(cached
) $ECHO_C" >&6
17643 cat >conftest.$ac_ext <<_ACEOF
17646 cat confdefs.h >>conftest.$ac_ext
17647 cat >>conftest.$ac_ext <<_ACEOF
17648 /* end confdefs.h. */
17650 #include <strings.h>
17656 strcasecmp("foo
", "bar
");
17662 rm -f conftest.$ac_objext conftest$ac_exeext
17663 if { (ac_try="$ac_link"
17664 case "(($ac_try" in
17665 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17666 *) ac_try_echo=$ac_try;;
17668 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
17669 (eval "$ac_link") 2>conftest.er1
17671 grep -v '^ *+' conftest.er1 >conftest.err
17673 cat conftest.err >&5
17674 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
17675 (exit $ac_status); } && {
17676 test -z "$ac_c_werror_flag" ||
17677 test ! -s conftest.err
17678 } && test -s conftest$ac_exeext &&
17679 $as_test_x conftest$ac_exeext; then
17680 ac_cv_strings_strcasecmp=yes
17682 echo "$as_me: failed program was
:" >&5
17683 sed 's/^/| /' conftest.$ac_ext >&5
17685 ac_cv_strings_strcasecmp=no
17689 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17690 conftest$ac_exeext conftest.$ac_ext
17693 { echo "$as_me:$LINENO: result
: $ac_cv_strings_strcasecmp" >&5
17694 echo "${ECHO_T}$ac_cv_strings_strcasecmp" >&6; }
17696 if test x"$ac_cv_strings_strcasecmp" = "xyes
"; then
17697 cat >>confdefs.h <<\_ACEOF
17698 #define HAVE_STRCASECMP_IN_STRINGS_H 1
17702 { { echo "$as_me:$LINENO: error
: No
case-insensitive string comparison
function found.
" >&5
17703 echo "$as_me: error
: No
case-insensitive string comparison
function found.
" >&2;}
17704 { (exit 1); exit 1; }; }
17712 { echo "$as_me:$LINENO: checking
for ANSI C header files
" >&5
17713 echo $ECHO_N "checking
for ANSI C header files...
$ECHO_C" >&6; }
17714 if test "${ac_cv_header_stdc+set}" = set; then
17715 echo $ECHO_N "(cached
) $ECHO_C" >&6
17717 cat >conftest.$ac_ext <<_ACEOF
17720 cat confdefs.h >>conftest.$ac_ext
17721 cat >>conftest.$ac_ext <<_ACEOF
17722 /* end confdefs.h. */
17723 #include <stdlib.h>
17724 #include <stdarg.h>
17725 #include <string.h>
17736 rm -f conftest.$ac_objext
17737 if { (ac_try="$ac_compile"
17738 case "(($ac_try" in
17739 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17740 *) ac_try_echo=$ac_try;;
17742 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
17743 (eval "$ac_compile") 2>conftest.er1
17745 grep -v '^ *+' conftest.er1 >conftest.err
17747 cat conftest.err >&5
17748 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
17749 (exit $ac_status); } && {
17750 test -z "$ac_c_werror_flag" ||
17751 test ! -s conftest.err
17752 } && test -s conftest.$ac_objext; then
17753 ac_cv_header_stdc=yes
17755 echo "$as_me: failed program was
:" >&5
17756 sed 's/^/| /' conftest.$ac_ext >&5
17758 ac_cv_header_stdc=no
17761 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17763 if test $ac_cv_header_stdc = yes; then
17764 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
17765 cat >conftest.$ac_ext <<_ACEOF
17768 cat confdefs.h >>conftest.$ac_ext
17769 cat >>conftest.$ac_ext <<_ACEOF
17770 /* end confdefs.h. */
17771 #include <string.h>
17774 if (eval "$ac_cpp conftest.
$ac_ext") 2>&5 |
17775 $EGREP "memchr
" >/dev/null 2>&1; then
17778 ac_cv_header_stdc=no
17784 if test $ac_cv_header_stdc = yes; then
17785 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
17786 cat >conftest.$ac_ext <<_ACEOF
17789 cat confdefs.h >>conftest.$ac_ext
17790 cat >>conftest.$ac_ext <<_ACEOF
17791 /* end confdefs.h. */
17792 #include <stdlib.h>
17795 if (eval "$ac_cpp conftest.
$ac_ext") 2>&5 |
17796 $EGREP "free
" >/dev/null 2>&1; then
17799 ac_cv_header_stdc=no
17805 if test $ac_cv_header_stdc = yes; then
17806 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
17807 if test "$cross_compiling" = yes; then
17810 cat >conftest.$ac_ext <<_ACEOF
17813 cat confdefs.h >>conftest.$ac_ext
17814 cat >>conftest.$ac_ext <<_ACEOF
17815 /* end confdefs.h. */
17817 #include <stdlib.h>
17818 #if ((' ' & 0x0FF) == 0x020)
17819 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
17820 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
17822 # define ISLOWER(c) \
17823 (('a' <= (c) && (c) <= 'i') \
17824 || ('j' <= (c) && (c) <= 'r') \
17825 || ('s' <= (c) && (c) <= 'z'))
17826 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
17829 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
17834 for (i = 0; i < 256; i++)
17835 if (XOR (islower (i), ISLOWER (i))
17836 || toupper (i) != TOUPPER (i))
17841 rm -f conftest$ac_exeext
17842 if { (ac_try="$ac_link"
17843 case "(($ac_try" in
17844 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17845 *) ac_try_echo=$ac_try;;
17847 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
17848 (eval "$ac_link") 2>&5
17850 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
17851 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
17852 { (case "(($ac_try" in
17853 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17854 *) ac_try_echo=$ac_try;;
17856 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
17857 (eval "$ac_try") 2>&5
17859 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
17860 (exit $ac_status); }; }; then
17863 echo "$as_me: program exited with status
$ac_status" >&5
17864 echo "$as_me: failed program was
:" >&5
17865 sed 's/^/| /' conftest.$ac_ext >&5
17867 ( exit $ac_status )
17868 ac_cv_header_stdc=no
17870 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
17876 { echo "$as_me:$LINENO: result
: $ac_cv_header_stdc" >&5
17877 echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
17878 if test $ac_cv_header_stdc = yes; then
17880 cat >>confdefs.h <<\_ACEOF
17881 #define STDC_HEADERS 1
17886 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
17896 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
17897 inttypes.h stdint.h unistd.h
17899 as_ac_Header=`echo "ac_cv_header_
$ac_header" | $as_tr_sh`
17900 { echo "$as_me:$LINENO: checking
for $ac_header" >&5
17901 echo $ECHO_N "checking
for $ac_header...
$ECHO_C" >&6; }
17902 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
17903 echo $ECHO_N "(cached
) $ECHO_C" >&6
17905 cat >conftest.$ac_ext <<_ACEOF
17908 cat confdefs.h >>conftest.$ac_ext
17909 cat >>conftest.$ac_ext <<_ACEOF
17910 /* end confdefs.h. */
17911 $ac_includes_default
17913 #include <$ac_header>
17915 rm -f conftest.$ac_objext
17916 if { (ac_try="$ac_compile"
17917 case "(($ac_try" in
17918 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17919 *) ac_try_echo=$ac_try;;
17921 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
17922 (eval "$ac_compile") 2>conftest.er1
17924 grep -v '^ *+' conftest.er1 >conftest.err
17926 cat conftest.err >&5
17927 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
17928 (exit $ac_status); } && {
17929 test -z "$ac_c_werror_flag" ||
17930 test ! -s conftest.err
17931 } && test -s conftest.$ac_objext; then
17932 eval "$as_ac_Header=yes"
17934 echo "$as_me: failed program was
:" >&5
17935 sed 's/^/| /' conftest.$ac_ext >&5
17937 eval "$as_ac_Header=no
"
17940 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17942 ac_res=`eval echo '${'$as_ac_Header'}'`
17943 { echo "$as_me:$LINENO: result
: $ac_res" >&5
17944 echo "${ECHO_T}$ac_res" >&6; }
17945 if test `eval echo '${'$as_ac_Header'}'` = yes; then
17946 cat >>confdefs.h <<_ACEOF
17947 #define `echo "HAVE_
$ac_header" | $as_tr_cpp` 1
17961 for ac_header in stdlib.h fnmatch.h langinfo.h malloc.h unistd.h wchar.h
17963 as_ac_Header=`echo "ac_cv_header_
$ac_header" | $as_tr_sh`
17964 { echo "$as_me:$LINENO: checking
for $ac_header" >&5
17965 echo $ECHO_N "checking
for $ac_header...
$ECHO_C" >&6; }
17966 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
17967 echo $ECHO_N "(cached
) $ECHO_C" >&6
17969 cat >conftest.$ac_ext <<_ACEOF
17972 cat confdefs.h >>conftest.$ac_ext
17973 cat >>conftest.$ac_ext <<_ACEOF
17974 /* end confdefs.h. */
17975 $ac_includes_default
17977 #include <$ac_header>
17979 rm -f conftest.$ac_objext
17980 if { (ac_try="$ac_compile"
17981 case "(($ac_try" in
17982 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17983 *) ac_try_echo=$ac_try;;
17985 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
17986 (eval "$ac_compile") 2>conftest.er1
17988 grep -v '^ *+' conftest.er1 >conftest.err
17990 cat conftest.err >&5
17991 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
17992 (exit $ac_status); } && {
17993 test -z "$ac_c_werror_flag" ||
17994 test ! -s conftest.err
17995 } && test -s conftest.$ac_objext; then
17996 eval "$as_ac_Header=yes"
17998 echo "$as_me: failed program was
:" >&5
17999 sed 's/^/| /' conftest.$ac_ext >&5
18001 eval "$as_ac_Header=no
"
18004 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18006 ac_res=`eval echo '${'$as_ac_Header'}'`
18007 { echo "$as_me:$LINENO: result
: $ac_res" >&5
18008 echo "${ECHO_T}$ac_res" >&6; }
18009 if test `eval echo '${'$as_ac_Header'}'` = yes; then
18010 cat >>confdefs.h <<_ACEOF
18011 #define `echo "HAVE_
$ac_header" | $as_tr_cpp` 1
18019 if test "$ac_cv_header_wchar_h" != "yes"; then
18020 { echo "$as_me:$LINENO: checking
for wcstr.h
" >&5
18021 echo $ECHO_N "checking
for wcstr.h...
$ECHO_C" >&6; }
18022 if test "${ac_cv_header_wcstr_h+set}" = set; then
18023 echo $ECHO_N "(cached
) $ECHO_C" >&6
18025 cat >conftest.$ac_ext <<_ACEOF
18028 cat confdefs.h >>conftest.$ac_ext
18029 cat >>conftest.$ac_ext <<_ACEOF
18030 /* end confdefs.h. */
18031 $ac_includes_default
18035 rm -f conftest.$ac_objext
18036 if { (ac_try="$ac_compile"
18037 case "(($ac_try" in
18038 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18039 *) ac_try_echo=$ac_try;;
18041 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
18042 (eval "$ac_compile") 2>conftest.er1
18044 grep -v '^ *+' conftest.er1 >conftest.err
18046 cat conftest.err >&5
18047 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
18048 (exit $ac_status); } && {
18049 test -z "$ac_c_werror_flag" ||
18050 test ! -s conftest.err
18051 } && test -s conftest.$ac_objext; then
18052 ac_cv_header_wcstr_h=yes
18054 echo "$as_me: failed program was
:" >&5
18055 sed 's/^/| /' conftest.$ac_ext >&5
18057 ac_cv_header_wcstr_h=no
18060 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18062 { echo "$as_me:$LINENO: result
: $ac_cv_header_wcstr_h" >&5
18063 echo "${ECHO_T}$ac_cv_header_wcstr_h" >&6; }
18069 *-pc-os2_emx | *-pc-os2-emx )
18070 if test $ac_cv_header_langinfo_h = "yes" \
18071 -a \( "$wx_cv_gccversion" = "EMX2
" \
18072 -o "$wx_cv_gccversion" = "EMX3
" \
18073 -o "$wx_cv_gccversion" = "Innotek5
" \); then
18074 LIBS="$LIBS -lintl"
18079 if test "$USE_UNIX" = 1 ; then
18080 { echo "$as_me:$LINENO: checking
for sys
/select.h
" >&5
18081 echo $ECHO_N "checking
for sys
/select.h...
$ECHO_C" >&6; }
18082 if test "${ac_cv_header_sys_select_h+set}" = set; then
18083 echo $ECHO_N "(cached
) $ECHO_C" >&6
18085 cat >conftest.$ac_ext <<_ACEOF
18088 cat confdefs.h >>conftest.$ac_ext
18089 cat >>conftest.$ac_ext <<_ACEOF
18090 /* end confdefs.h. */
18091 $ac_includes_default
18093 #include <sys/select.h>
18095 rm -f conftest.$ac_objext
18096 if { (ac_try="$ac_compile"
18097 case "(($ac_try" in
18098 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18099 *) ac_try_echo=$ac_try;;
18101 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
18102 (eval "$ac_compile") 2>conftest.er1
18104 grep -v '^ *+' conftest.er1 >conftest.err
18106 cat conftest.err >&5
18107 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
18108 (exit $ac_status); } && {
18109 test -z "$ac_c_werror_flag" ||
18110 test ! -s conftest.err
18111 } && test -s conftest.$ac_objext; then
18112 ac_cv_header_sys_select_h=yes
18114 echo "$as_me: failed program was
:" >&5
18115 sed 's/^/| /' conftest.$ac_ext >&5
18117 ac_cv_header_sys_select_h=no
18120 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18122 { echo "$as_me:$LINENO: result
: $ac_cv_header_sys_select_h" >&5
18123 echo "${ECHO_T}$ac_cv_header_sys_select_h" >&6; }
18129 for ac_header in sys/epoll.h
18131 as_ac_Header=`echo "ac_cv_header_
$ac_header" | $as_tr_sh`
18132 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
18133 { echo "$as_me:$LINENO: checking
for $ac_header" >&5
18134 echo $ECHO_N "checking
for $ac_header...
$ECHO_C" >&6; }
18135 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
18136 echo $ECHO_N "(cached
) $ECHO_C" >&6
18138 ac_res=`eval echo '${'$as_ac_Header'}'`
18139 { echo "$as_me:$LINENO: result
: $ac_res" >&5
18140 echo "${ECHO_T}$ac_res" >&6; }
18142 # Is the header compilable?
18143 { echo "$as_me:$LINENO: checking
$ac_header usability
" >&5
18144 echo $ECHO_N "checking
$ac_header usability...
$ECHO_C" >&6; }
18145 cat >conftest.$ac_ext <<_ACEOF
18148 cat confdefs.h >>conftest.$ac_ext
18149 cat >>conftest.$ac_ext <<_ACEOF
18150 /* end confdefs.h. */
18151 $ac_includes_default
18152 #include <$ac_header>
18154 rm -f conftest.$ac_objext
18155 if { (ac_try="$ac_compile"
18156 case "(($ac_try" in
18157 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18158 *) ac_try_echo=$ac_try;;
18160 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
18161 (eval "$ac_compile") 2>conftest.er1
18163 grep -v '^ *+' conftest.er1 >conftest.err
18165 cat conftest.err >&5
18166 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
18167 (exit $ac_status); } && {
18168 test -z "$ac_c_werror_flag" ||
18169 test ! -s conftest.err
18170 } && test -s conftest.$ac_objext; then
18171 ac_header_compiler=yes
18173 echo "$as_me: failed program was
:" >&5
18174 sed 's/^/| /' conftest.$ac_ext >&5
18176 ac_header_compiler=no
18179 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18180 { echo "$as_me:$LINENO: result
: $ac_header_compiler" >&5
18181 echo "${ECHO_T}$ac_header_compiler" >&6; }
18183 # Is the header present?
18184 { echo "$as_me:$LINENO: checking
$ac_header presence
" >&5
18185 echo $ECHO_N "checking
$ac_header presence...
$ECHO_C" >&6; }
18186 cat >conftest.$ac_ext <<_ACEOF
18189 cat confdefs.h >>conftest.$ac_ext
18190 cat >>conftest.$ac_ext <<_ACEOF
18191 /* end confdefs.h. */
18192 #include <$ac_header>
18194 if { (ac_try="$ac_cpp conftest.
$ac_ext"
18195 case "(($ac_try" in
18196 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18197 *) ac_try_echo=$ac_try;;
18199 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
18200 (eval "$ac_cpp conftest.
$ac_ext") 2>conftest.er1
18202 grep -v '^ *+' conftest.er1 >conftest.err
18204 cat conftest.err >&5
18205 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
18206 (exit $ac_status); } >/dev/null && {
18207 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
18208 test ! -s conftest.err
18210 ac_header_preproc=yes
18212 echo "$as_me: failed program was
:" >&5
18213 sed 's/^/| /' conftest.$ac_ext >&5
18215 ac_header_preproc=no
18218 rm -f conftest.err conftest.$ac_ext
18219 { echo "$as_me:$LINENO: result
: $ac_header_preproc" >&5
18220 echo "${ECHO_T}$ac_header_preproc" >&6; }
18222 # So? What about this header?
18223 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
18225 { echo "$as_me:$LINENO: WARNING
: $ac_header: accepted by the compiler
, rejected by the preprocessor
!" >&5
18226 echo "$as_me: WARNING
: $ac_header: accepted by the compiler
, rejected by the preprocessor
!" >&2;}
18227 { echo "$as_me:$LINENO: WARNING
: $ac_header: proceeding with the compiler
's result" >&5
18228 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result
" >&2;}
18229 ac_header_preproc=yes
18232 { echo "$as_me:$LINENO: WARNING
: $ac_header: present but cannot be compiled
" >&5
18233 echo "$as_me: WARNING
: $ac_header: present but cannot be compiled
" >&2;}
18234 { echo "$as_me:$LINENO: WARNING
: $ac_header: check
for missing prerequisite headers?
" >&5
18235 echo "$as_me: WARNING
: $ac_header: check
for missing prerequisite headers?
" >&2;}
18236 { echo "$as_me:$LINENO: WARNING
: $ac_header: see the Autoconf documentation
" >&5
18237 echo "$as_me: WARNING
: $ac_header: see the Autoconf documentation
" >&2;}
18238 { echo "$as_me:$LINENO: WARNING
: $ac_header: section
\"Present But Cannot Be Compiled
\"" >&5
18239 echo "$as_me: WARNING
: $ac_header: section
\"Present But Cannot Be Compiled
\"" >&2;}
18240 { echo "$as_me:$LINENO: WARNING
: $ac_header: proceeding with the preprocessor
's result" >&5
18241 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result
" >&2;}
18242 { echo "$as_me:$LINENO: WARNING
: $ac_header: in the future
, the compiler will take precedence
" >&5
18243 echo "$as_me: WARNING
: $ac_header: in the future
, the compiler will take precedence
" >&2;}
18245 ## ----------------------------------------- ##
18246 ## Report this to wx-dev@lists.wxwidgets.org ##
18247 ## ----------------------------------------- ##
18249 ) | sed "s
/^
/$as_me: WARNING
: /" >&2
18252 { echo "$as_me:$LINENO: checking
for $ac_header" >&5
18253 echo $ECHO_N "checking
for $ac_header...
$ECHO_C" >&6; }
18254 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
18255 echo $ECHO_N "(cached
) $ECHO_C" >&6
18257 eval "$as_ac_Header=\
$ac_header_preproc"
18259 ac_res=`eval echo '${'$as_ac_Header'}'`
18260 { echo "$as_me:$LINENO: result
: $ac_res" >&5
18261 echo "${ECHO_T}$ac_res" >&6; }
18264 if test `eval echo '${'$as_ac_Header'}'` = yes; then
18265 cat >>confdefs.h <<_ACEOF
18266 #define `echo "HAVE_
$ac_header" | $as_tr_cpp` 1
18275 { echo "$as_me:$LINENO: checking
for an ANSI C
-conforming const
" >&5
18276 echo $ECHO_N "checking
for an ANSI C
-conforming const...
$ECHO_C" >&6; }
18277 if test "${ac_cv_c_const+set}" = set; then
18278 echo $ECHO_N "(cached
) $ECHO_C" >&6
18280 cat >conftest.$ac_ext <<_ACEOF
18283 cat confdefs.h >>conftest.$ac_ext
18284 cat >>conftest.$ac_ext <<_ACEOF
18285 /* end confdefs.h. */
18290 /* FIXME: Include the comments suggested by Paul. */
18291 #ifndef __cplusplus
18292 /* Ultrix mips cc rejects this. */
18293 typedef int charset[2];
18295 /* SunOS 4.1.1 cc rejects this. */
18296 char const *const *pcpcc;
18298 /* NEC SVR4.0.2 mips cc rejects this. */
18299 struct point {int x, y;};
18300 static struct point const zero = {0,0};
18301 /* AIX XL C 1.02.0.0 rejects this.
18302 It does not let you subtract one const X* pointer from another in
18303 an arm of an if-expression whose if-part is not a constant
18305 const char *g = "string
";
18306 pcpcc = &g + (g ? g-g : 0);
18307 /* HPUX 7.0 cc rejects these. */
18309 ppc = (char**) pcpcc;
18310 pcpcc = (char const *const *) ppc;
18311 { /* SCO 3.2v4 cc rejects this. */
18313 char const *s = 0 ? (char *) 0 : (char const *) 0;
18318 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
18319 int x[] = {25, 17};
18320 const int *foo = &x[0];
18323 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
18324 typedef const int *iptr;
18328 { /* AIX XL C 1.02.0.0 rejects this saying
18329 "k.c
", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
18330 struct s { int j; const int *ap[3]; };
18331 struct s *b; b->j = 5;
18333 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
18334 const int foo = 10;
18335 if (!foo) return 0;
18337 return !cs[0] && !zero.x;
18344 rm -f conftest.$ac_objext
18345 if { (ac_try="$ac_compile"
18346 case "(($ac_try" in
18347 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18348 *) ac_try_echo=$ac_try;;
18350 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
18351 (eval "$ac_compile") 2>conftest.er1
18353 grep -v '^ *+' conftest.er1 >conftest.err
18355 cat conftest.err >&5
18356 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
18357 (exit $ac_status); } && {
18358 test -z "$ac_c_werror_flag" ||
18359 test ! -s conftest.err
18360 } && test -s conftest.$ac_objext; then
18363 echo "$as_me: failed program was
:" >&5
18364 sed 's/^/| /' conftest.$ac_ext >&5
18369 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18371 { echo "$as_me:$LINENO: result
: $ac_cv_c_const" >&5
18372 echo "${ECHO_T}$ac_cv_c_const" >&6; }
18373 if test $ac_cv_c_const = no; then
18375 cat >>confdefs.h <<\_ACEOF
18381 { echo "$as_me:$LINENO: checking
for inline
" >&5
18382 echo $ECHO_N "checking
for inline...
$ECHO_C" >&6; }
18383 if test "${ac_cv_c_inline+set}" = set; then
18384 echo $ECHO_N "(cached
) $ECHO_C" >&6
18387 for ac_kw in inline __inline__ __inline; do
18388 cat >conftest.$ac_ext <<_ACEOF
18391 cat confdefs.h >>conftest.$ac_ext
18392 cat >>conftest.$ac_ext <<_ACEOF
18393 /* end confdefs.h. */
18394 #ifndef __cplusplus
18396 static $ac_kw foo_t static_foo () {return 0; }
18397 $ac_kw foo_t foo () {return 0; }
18401 rm -f conftest.$ac_objext
18402 if { (ac_try="$ac_compile"
18403 case "(($ac_try" in
18404 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18405 *) ac_try_echo=$ac_try;;
18407 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
18408 (eval "$ac_compile") 2>conftest.er1
18410 grep -v '^ *+' conftest.er1 >conftest.err
18412 cat conftest.err >&5
18413 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
18414 (exit $ac_status); } && {
18415 test -z "$ac_c_werror_flag" ||
18416 test ! -s conftest.err
18417 } && test -s conftest.$ac_objext; then
18418 ac_cv_c_inline=$ac_kw
18420 echo "$as_me: failed program was
:" >&5
18421 sed 's/^/| /' conftest.$ac_ext >&5
18426 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18427 test "$ac_cv_c_inline" != no && break
18431 { echo "$as_me:$LINENO: result
: $ac_cv_c_inline" >&5
18432 echo "${ECHO_T}$ac_cv_c_inline" >&6; }
18435 case $ac_cv_c_inline in
18438 case $ac_cv_c_inline in
18440 *) ac_val=$ac_cv_c_inline;;
18442 cat >>confdefs.h <<_ACEOF
18443 #ifndef __cplusplus
18444 #define inline $ac_val
18451 { echo "$as_me:$LINENO: checking
for short
" >&5
18452 echo $ECHO_N "checking
for short...
$ECHO_C" >&6; }
18453 if test "${ac_cv_type_short+set}" = set; then
18454 echo $ECHO_N "(cached
) $ECHO_C" >&6
18456 cat >conftest.$ac_ext <<_ACEOF
18459 cat confdefs.h >>conftest.$ac_ext
18460 cat >>conftest.$ac_ext <<_ACEOF
18461 /* end confdefs.h. */
18462 $ac_includes_default
18463 typedef short ac__type_new_;
18467 if ((ac__type_new_ *) 0)
18469 if (sizeof (ac__type_new_))
18475 rm -f conftest.$ac_objext
18476 if { (ac_try="$ac_compile"
18477 case "(($ac_try" in
18478 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18479 *) ac_try_echo=$ac_try;;
18481 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
18482 (eval "$ac_compile") 2>conftest.er1
18484 grep -v '^ *+' conftest.er1 >conftest.err
18486 cat conftest.err >&5
18487 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
18488 (exit $ac_status); } && {
18489 test -z "$ac_c_werror_flag" ||
18490 test ! -s conftest.err
18491 } && test -s conftest.$ac_objext; then
18492 ac_cv_type_short=yes
18494 echo "$as_me: failed program was
:" >&5
18495 sed 's/^/| /' conftest.$ac_ext >&5
18497 ac_cv_type_short=no
18500 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18502 { echo "$as_me:$LINENO: result
: $ac_cv_type_short" >&5
18503 echo "${ECHO_T}$ac_cv_type_short" >&6; }
18505 # The cast to long int works around a bug in the HP C Compiler
18506 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
18507 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
18508 # This bug is HP SR number 8606223364.
18509 { echo "$as_me:$LINENO: checking size of short
" >&5
18510 echo $ECHO_N "checking size of short...
$ECHO_C" >&6; }
18511 if test "${ac_cv_sizeof_short+set}" = set; then
18512 echo $ECHO_N "(cached
) $ECHO_C" >&6
18514 if test "$cross_compiling" = yes; then
18515 # Depending upon the size, compute the lo and hi bounds.
18516 cat >conftest.$ac_ext <<_ACEOF
18519 cat confdefs.h >>conftest.$ac_ext
18520 cat >>conftest.$ac_ext <<_ACEOF
18521 /* end confdefs.h. */
18522 $ac_includes_default
18523 typedef short ac__type_sizeof_;
18527 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
18534 rm -f conftest.$ac_objext
18535 if { (ac_try="$ac_compile"
18536 case "(($ac_try" in
18537 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18538 *) ac_try_echo=$ac_try;;
18540 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
18541 (eval "$ac_compile") 2>conftest.er1
18543 grep -v '^ *+' conftest.er1 >conftest.err
18545 cat conftest.err >&5
18546 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
18547 (exit $ac_status); } && {
18548 test -z "$ac_c_werror_flag" ||
18549 test ! -s conftest.err
18550 } && test -s conftest.$ac_objext; then
18553 cat >conftest.$ac_ext <<_ACEOF
18556 cat confdefs.h >>conftest.$ac_ext
18557 cat >>conftest.$ac_ext <<_ACEOF
18558 /* end confdefs.h. */
18559 $ac_includes_default
18560 typedef short ac__type_sizeof_;
18564 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
18571 rm -f conftest.$ac_objext
18572 if { (ac_try="$ac_compile"
18573 case "(($ac_try" in
18574 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18575 *) ac_try_echo=$ac_try;;
18577 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
18578 (eval "$ac_compile") 2>conftest.er1
18580 grep -v '^ *+' conftest.er1 >conftest.err
18582 cat conftest.err >&5
18583 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
18584 (exit $ac_status); } && {
18585 test -z "$ac_c_werror_flag" ||
18586 test ! -s conftest.err
18587 } && test -s conftest.$ac_objext; then
18588 ac_hi=$ac_mid; break
18590 echo "$as_me: failed program was
:" >&5
18591 sed 's/^/| /' conftest.$ac_ext >&5
18593 ac_lo=`expr $ac_mid + 1`
18594 if test $ac_lo -le $ac_mid; then
18598 ac_mid=`expr 2 '*' $ac_mid + 1`
18601 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18604 echo "$as_me: failed program was
:" >&5
18605 sed 's/^/| /' conftest.$ac_ext >&5
18607 cat >conftest.$ac_ext <<_ACEOF
18610 cat confdefs.h >>conftest.$ac_ext
18611 cat >>conftest.$ac_ext <<_ACEOF
18612 /* end confdefs.h. */
18613 $ac_includes_default
18614 typedef short ac__type_sizeof_;
18618 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
18625 rm -f conftest.$ac_objext
18626 if { (ac_try="$ac_compile"
18627 case "(($ac_try" in
18628 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18629 *) ac_try_echo=$ac_try;;
18631 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
18632 (eval "$ac_compile") 2>conftest.er1
18634 grep -v '^ *+' conftest.er1 >conftest.err
18636 cat conftest.err >&5
18637 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
18638 (exit $ac_status); } && {
18639 test -z "$ac_c_werror_flag" ||
18640 test ! -s conftest.err
18641 } && test -s conftest.$ac_objext; then
18644 cat >conftest.$ac_ext <<_ACEOF
18647 cat confdefs.h >>conftest.$ac_ext
18648 cat >>conftest.$ac_ext <<_ACEOF
18649 /* end confdefs.h. */
18650 $ac_includes_default
18651 typedef short ac__type_sizeof_;
18655 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
18662 rm -f conftest.$ac_objext
18663 if { (ac_try="$ac_compile"
18664 case "(($ac_try" in
18665 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18666 *) ac_try_echo=$ac_try;;
18668 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
18669 (eval "$ac_compile") 2>conftest.er1
18671 grep -v '^ *+' conftest.er1 >conftest.err
18673 cat conftest.err >&5
18674 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
18675 (exit $ac_status); } && {
18676 test -z "$ac_c_werror_flag" ||
18677 test ! -s conftest.err
18678 } && test -s conftest.$ac_objext; then
18679 ac_lo=$ac_mid; break
18681 echo "$as_me: failed program was
:" >&5
18682 sed 's/^/| /' conftest.$ac_ext >&5
18684 ac_hi=`expr '(' $ac_mid ')' - 1`
18685 if test $ac_mid -le $ac_hi; then
18689 ac_mid=`expr 2 '*' $ac_mid`
18692 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18695 echo "$as_me: failed program was
:" >&5
18696 sed 's/^/| /' conftest.$ac_ext >&5
18701 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18704 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18705 # Binary search between lo and hi bounds.
18706 while test "x
$ac_lo" != "x
$ac_hi"; do
18707 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
18708 cat >conftest.$ac_ext <<_ACEOF
18711 cat confdefs.h >>conftest.$ac_ext
18712 cat >>conftest.$ac_ext <<_ACEOF
18713 /* end confdefs.h. */
18714 $ac_includes_default
18715 typedef short ac__type_sizeof_;
18719 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
18726 rm -f conftest.$ac_objext
18727 if { (ac_try="$ac_compile"
18728 case "(($ac_try" in
18729 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18730 *) ac_try_echo=$ac_try;;
18732 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
18733 (eval "$ac_compile") 2>conftest.er1
18735 grep -v '^ *+' conftest.er1 >conftest.err
18737 cat conftest.err >&5
18738 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
18739 (exit $ac_status); } && {
18740 test -z "$ac_c_werror_flag" ||
18741 test ! -s conftest.err
18742 } && test -s conftest.$ac_objext; then
18745 echo "$as_me: failed program was
:" >&5
18746 sed 's/^/| /' conftest.$ac_ext >&5
18748 ac_lo=`expr '(' $ac_mid ')' + 1`
18751 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18754 ?*) ac_cv_sizeof_short=$ac_lo;;
18755 '') if test "$ac_cv_type_short" = yes; then
18756 { { echo "$as_me:$LINENO: error
: cannot compute sizeof
(short
)
18757 See \
`config.log' for more details." >&5
18758 echo "$as_me: error: cannot compute sizeof (short)
18759 See \`config.log
' for more details." >&2;}
18760 { (exit 77); exit 77; }; }
18762 ac_cv_sizeof_short=0
18766 cat >conftest.$ac_ext <<_ACEOF
18769 cat confdefs.h >>conftest.$ac_ext
18770 cat >>conftest.$ac_ext <<_ACEOF
18771 /* end confdefs.h. */
18772 $ac_includes_default
18773 typedef short ac__type_sizeof_;
18774 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
18775 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
18777 #include <stdlib.h>
18782 FILE *f = fopen ("conftest.val", "w");
18785 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
18787 long int i = longval ();
18788 if (i != ((long int) (sizeof (ac__type_sizeof_))))
18790 fprintf (f, "%ld\n", i);
18794 unsigned long int i = ulongval ();
18795 if (i != ((long int) (sizeof (ac__type_sizeof_))))
18797 fprintf (f, "%lu\n", i);
18799 return ferror (f) || fclose (f) != 0;
18805 rm -f conftest$ac_exeext
18806 if { (ac_try="$ac_link"
18807 case "(($ac_try" in
18808 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18809 *) ac_try_echo=$ac_try;;
18811 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18812 (eval "$ac_link") 2>&5
18814 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18815 (exit $ac_status); } && { ac_try='.
/conftest
$ac_exeext'
18816 { (case "(($ac_try" in
18817 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18818 *) ac_try_echo=$ac_try;;
18820 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18821 (eval "$ac_try") 2>&5
18823 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18824 (exit $ac_status); }; }; then
18825 ac_cv_sizeof_short=`cat conftest.val`
18827 echo "$as_me: program exited with status $ac_status" >&5
18828 echo "$as_me: failed program was:" >&5
18829 sed 's
/^
/| /' conftest.$ac_ext >&5
18831 ( exit $ac_status )
18832 if test "$ac_cv_type_short" = yes; then
18833 { { echo "$as_me:$LINENO: error: cannot compute sizeof (short)
18834 See \`config.log' for more details.
" >&5
18835 echo "$as_me: error
: cannot compute sizeof
(short
)
18836 See \
`config.log' for more details." >&2;}
18837 { (exit 77); exit 77; }; }
18839 ac_cv_sizeof_short=0
18842 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
18846 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_short" >&5
18847 echo "${ECHO_T}$ac_cv_sizeof_short" >&6; }
18851 cat >>confdefs.h <<_ACEOF
18852 #define SIZEOF_SHORT $ac_cv_sizeof_short
18856 { echo "$as_me:$LINENO: checking for void *" >&5
18857 echo $ECHO_N "checking for void *... $ECHO_C" >&6; }
18858 if test "${ac_cv_type_void_p+set}" = set; then
18859 echo $ECHO_N "(cached) $ECHO_C" >&6
18861 cat >conftest.$ac_ext <<_ACEOF
18864 cat confdefs.h >>conftest.$ac_ext
18865 cat >>conftest.$ac_ext <<_ACEOF
18866 /* end confdefs.h. */
18867 $ac_includes_default
18868 typedef void * ac__type_new_;
18872 if ((ac__type_new_ *) 0)
18874 if (sizeof (ac__type_new_))
18880 rm -f conftest.$ac_objext
18881 if { (ac_try="$ac_compile"
18882 case "(($ac_try" in
18883 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
18884 *) ac_try_echo
=$ac_try;;
18886 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18887 (eval "$ac_compile") 2>conftest.er1
18889 grep -v '^ *+' conftest.er1
>conftest.err
18891 cat conftest.err
>&5
18892 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18893 (exit $ac_status); } && {
18894 test -z "$ac_c_werror_flag" ||
18895 test ! -s conftest.err
18896 } && test -s conftest.
$ac_objext; then
18897 ac_cv_type_void_p
=yes
18899 echo "$as_me: failed program was:" >&5
18900 sed 's/^/| /' conftest.
$ac_ext >&5
18902 ac_cv_type_void_p
=no
18905 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
18907 { echo "$as_me:$LINENO: result: $ac_cv_type_void_p" >&5
18908 echo "${ECHO_T}$ac_cv_type_void_p" >&6; }
18910 # The cast to long int works around a bug in the HP C Compiler
18911 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
18912 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
18913 # This bug is HP SR number 8606223364.
18914 { echo "$as_me:$LINENO: checking size of void *" >&5
18915 echo $ECHO_N "checking size of void *... $ECHO_C" >&6; }
18916 if test "${ac_cv_sizeof_void_p+set}" = set; then
18917 echo $ECHO_N "(cached) $ECHO_C" >&6
18919 if test "$cross_compiling" = yes; then
18920 # Depending upon the size, compute the lo and hi bounds.
18921 cat >conftest.
$ac_ext <<_ACEOF
18924 cat confdefs.h
>>conftest.
$ac_ext
18925 cat >>conftest.
$ac_ext <<_ACEOF
18926 /* end confdefs.h. */
18927 $ac_includes_default
18928 typedef void * ac__type_sizeof_;
18932 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
18939 rm -f conftest.
$ac_objext
18940 if { (ac_try
="$ac_compile"
18941 case "(($ac_try" in
18942 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
18943 *) ac_try_echo=$ac_try;;
18945 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18946 (eval "$ac_compile") 2>conftest.er1
18948 grep -v '^ *+' conftest.er1 >conftest.err
18950 cat conftest.err >&5
18951 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18952 (exit $ac_status); } && {
18953 test -z "$ac_c_werror_flag" ||
18954 test ! -s conftest.err
18955 } && test -s conftest.$ac_objext; then
18958 cat >conftest.$ac_ext <<_ACEOF
18961 cat confdefs.h >>conftest.$ac_ext
18962 cat >>conftest.$ac_ext <<_ACEOF
18963 /* end confdefs.h. */
18964 $ac_includes_default
18965 typedef void * ac__type_sizeof_;
18969 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
18976 rm -f conftest.$ac_objext
18977 if { (ac_try="$ac_compile"
18978 case "(($ac_try" in
18979 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
18980 *) ac_try_echo
=$ac_try;;
18982 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18983 (eval "$ac_compile") 2>conftest.er1
18985 grep -v '^ *+' conftest.er1
>conftest.err
18987 cat conftest.err
>&5
18988 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18989 (exit $ac_status); } && {
18990 test -z "$ac_c_werror_flag" ||
18991 test ! -s conftest.err
18992 } && test -s conftest.
$ac_objext; then
18993 ac_hi
=$ac_mid; break
18995 echo "$as_me: failed program was:" >&5
18996 sed 's/^/| /' conftest.
$ac_ext >&5
18998 ac_lo
=`expr $ac_mid + 1`
18999 if test $ac_lo -le $ac_mid; then
19003 ac_mid
=`expr 2 '*' $ac_mid + 1`
19006 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
19009 echo "$as_me: failed program was:" >&5
19010 sed 's/^/| /' conftest.
$ac_ext >&5
19012 cat >conftest.
$ac_ext <<_ACEOF
19015 cat confdefs.h
>>conftest.
$ac_ext
19016 cat >>conftest.
$ac_ext <<_ACEOF
19017 /* end confdefs.h. */
19018 $ac_includes_default
19019 typedef void * ac__type_sizeof_;
19023 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
19030 rm -f conftest.
$ac_objext
19031 if { (ac_try
="$ac_compile"
19032 case "(($ac_try" in
19033 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
19034 *) ac_try_echo=$ac_try;;
19036 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19037 (eval "$ac_compile") 2>conftest.er1
19039 grep -v '^ *+' conftest.er1 >conftest.err
19041 cat conftest.err >&5
19042 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19043 (exit $ac_status); } && {
19044 test -z "$ac_c_werror_flag" ||
19045 test ! -s conftest.err
19046 } && test -s conftest.$ac_objext; then
19049 cat >conftest.$ac_ext <<_ACEOF
19052 cat confdefs.h >>conftest.$ac_ext
19053 cat >>conftest.$ac_ext <<_ACEOF
19054 /* end confdefs.h. */
19055 $ac_includes_default
19056 typedef void * ac__type_sizeof_;
19060 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
19067 rm -f conftest.$ac_objext
19068 if { (ac_try="$ac_compile"
19069 case "(($ac_try" in
19070 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
19071 *) ac_try_echo
=$ac_try;;
19073 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19074 (eval "$ac_compile") 2>conftest.er1
19076 grep -v '^ *+' conftest.er1
>conftest.err
19078 cat conftest.err
>&5
19079 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19080 (exit $ac_status); } && {
19081 test -z "$ac_c_werror_flag" ||
19082 test ! -s conftest.err
19083 } && test -s conftest.
$ac_objext; then
19084 ac_lo
=$ac_mid; break
19086 echo "$as_me: failed program was:" >&5
19087 sed 's/^/| /' conftest.
$ac_ext >&5
19089 ac_hi
=`expr '(' $ac_mid ')' - 1`
19090 if test $ac_mid -le $ac_hi; then
19094 ac_mid
=`expr 2 '*' $ac_mid`
19097 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
19100 echo "$as_me: failed program was:" >&5
19101 sed 's/^/| /' conftest.
$ac_ext >&5
19106 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
19109 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
19110 # Binary search between lo and hi bounds.
19111 while test "x$ac_lo" != "x$ac_hi"; do
19112 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
19113 cat >conftest.
$ac_ext <<_ACEOF
19116 cat confdefs.h
>>conftest.
$ac_ext
19117 cat >>conftest.
$ac_ext <<_ACEOF
19118 /* end confdefs.h. */
19119 $ac_includes_default
19120 typedef void * ac__type_sizeof_;
19124 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
19131 rm -f conftest.
$ac_objext
19132 if { (ac_try
="$ac_compile"
19133 case "(($ac_try" in
19134 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
19135 *) ac_try_echo=$ac_try;;
19137 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19138 (eval "$ac_compile") 2>conftest.er1
19140 grep -v '^ *+' conftest.er1 >conftest.err
19142 cat conftest.err >&5
19143 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19144 (exit $ac_status); } && {
19145 test -z "$ac_c_werror_flag" ||
19146 test ! -s conftest.err
19147 } && test -s conftest.$ac_objext; then
19150 echo "$as_me: failed program was:" >&5
19151 sed 's/^/| /' conftest.$ac_ext >&5
19153 ac_lo=`expr '(' $ac_mid ')' + 1`
19156 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19159 ?*) ac_cv_sizeof_void_p=$ac_lo;;
19160 '') if test "$ac_cv_type_void_p" = yes; then
19161 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *)
19162 See \`config.log
' for more details." >&5
19163 echo "$as_me: error: cannot compute sizeof (void *)
19164 See \`config.log' for more details.
" >&2;}
19165 { (exit 77); exit 77; }; }
19167 ac_cv_sizeof_void_p=0
19171 cat >conftest.$ac_ext <<_ACEOF
19174 cat confdefs.h >>conftest.$ac_ext
19175 cat >>conftest.$ac_ext <<_ACEOF
19176 /* end confdefs.h. */
19177 $ac_includes_default
19178 typedef void * ac__type_sizeof_;
19179 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
19180 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
19182 #include <stdlib.h>
19187 FILE *f = fopen ("conftest.val
", "w
");
19190 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
19192 long int i = longval ();
19193 if (i != ((long int) (sizeof (ac__type_sizeof_))))
19195 fprintf (f, "%ld
\n", i);
19199 unsigned long int i = ulongval ();
19200 if (i != ((long int) (sizeof (ac__type_sizeof_))))
19202 fprintf (f, "%lu
\n", i);
19204 return ferror (f) || fclose (f) != 0;
19210 rm -f conftest$ac_exeext
19211 if { (ac_try="$ac_link"
19212 case "(($ac_try" in
19213 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19214 *) ac_try_echo=$ac_try;;
19216 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
19217 (eval "$ac_link") 2>&5
19219 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
19220 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
19221 { (case "(($ac_try" in
19222 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19223 *) ac_try_echo=$ac_try;;
19225 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
19226 (eval "$ac_try") 2>&5
19228 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
19229 (exit $ac_status); }; }; then
19230 ac_cv_sizeof_void_p=`cat conftest.val`
19232 echo "$as_me: program exited with status
$ac_status" >&5
19233 echo "$as_me: failed program was
:" >&5
19234 sed 's/^/| /' conftest.$ac_ext >&5
19236 ( exit $ac_status )
19237 if test "$ac_cv_type_void_p" = yes; then
19238 { { echo "$as_me:$LINENO: error
: cannot compute sizeof
(void
*)
19239 See \
`config.log' for more details." >&5
19240 echo "$as_me: error: cannot compute sizeof (void *)
19241 See \`config.log
' for more details." >&2;}
19242 { (exit 77); exit 77; }; }
19244 ac_cv_sizeof_void_p=0
19247 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
19251 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_void_p" >&5
19252 echo "${ECHO_T}$ac_cv_sizeof_void_p" >&6; }
19256 cat >>confdefs.h <<_ACEOF
19257 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
19261 { echo "$as_me:$LINENO: checking for int" >&5
19262 echo $ECHO_N "checking for int... $ECHO_C" >&6; }
19263 if test "${ac_cv_type_int+set}" = set; then
19264 echo $ECHO_N "(cached) $ECHO_C" >&6
19266 cat >conftest.$ac_ext <<_ACEOF
19269 cat confdefs.h >>conftest.$ac_ext
19270 cat >>conftest.$ac_ext <<_ACEOF
19271 /* end confdefs.h. */
19272 $ac_includes_default
19273 typedef int ac__type_new_;
19277 if ((ac__type_new_ *) 0)
19279 if (sizeof (ac__type_new_))
19285 rm -f conftest.$ac_objext
19286 if { (ac_try="$ac_compile"
19287 case "(($ac_try" in
19288 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19289 *) ac_try_echo=$ac_try;;
19291 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19292 (eval "$ac_compile") 2>conftest.er1
19294 grep -v '^
*+' conftest.er1 >conftest.err
19296 cat conftest.err >&5
19297 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19298 (exit $ac_status); } && {
19299 test -z "$ac_c_werror_flag" ||
19300 test ! -s conftest.err
19301 } && test -s conftest.$ac_objext; then
19304 echo "$as_me: failed program was:" >&5
19305 sed 's
/^
/| /' conftest.$ac_ext >&5
19310 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19312 { echo "$as_me:$LINENO: result: $ac_cv_type_int" >&5
19313 echo "${ECHO_T}$ac_cv_type_int" >&6; }
19315 # The cast to long int works around a bug in the HP C Compiler
19316 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
19317 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
19318 # This bug is HP SR number 8606223364.
19319 { echo "$as_me:$LINENO: checking size of int" >&5
19320 echo $ECHO_N "checking size of int... $ECHO_C" >&6; }
19321 if test "${ac_cv_sizeof_int+set}" = set; then
19322 echo $ECHO_N "(cached) $ECHO_C" >&6
19324 if test "$cross_compiling" = yes; then
19325 # Depending upon the size, compute the lo and hi bounds.
19326 cat >conftest.
$ac_ext <<_ACEOF
19329 cat confdefs.h
>>conftest.
$ac_ext
19330 cat >>conftest.
$ac_ext <<_ACEOF
19331 /* end confdefs.h. */
19332 $ac_includes_default
19333 typedef int ac__type_sizeof_;
19337 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
19344 rm -f conftest.
$ac_objext
19345 if { (ac_try
="$ac_compile"
19346 case "(($ac_try" in
19347 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
19348 *) ac_try_echo=$ac_try;;
19350 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19351 (eval "$ac_compile") 2>conftest.er1
19353 grep -v '^ *+' conftest.er1 >conftest.err
19355 cat conftest.err >&5
19356 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19357 (exit $ac_status); } && {
19358 test -z "$ac_c_werror_flag" ||
19359 test ! -s conftest.err
19360 } && test -s conftest.$ac_objext; then
19363 cat >conftest.$ac_ext <<_ACEOF
19366 cat confdefs.h >>conftest.$ac_ext
19367 cat >>conftest.$ac_ext <<_ACEOF
19368 /* end confdefs.h. */
19369 $ac_includes_default
19370 typedef int ac__type_sizeof_;
19374 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
19381 rm -f conftest.$ac_objext
19382 if { (ac_try="$ac_compile"
19383 case "(($ac_try" in
19384 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
19385 *) ac_try_echo
=$ac_try;;
19387 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19388 (eval "$ac_compile") 2>conftest.er1
19390 grep -v '^ *+' conftest.er1
>conftest.err
19392 cat conftest.err
>&5
19393 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19394 (exit $ac_status); } && {
19395 test -z "$ac_c_werror_flag" ||
19396 test ! -s conftest.err
19397 } && test -s conftest.
$ac_objext; then
19398 ac_hi
=$ac_mid; break
19400 echo "$as_me: failed program was:" >&5
19401 sed 's/^/| /' conftest.
$ac_ext >&5
19403 ac_lo
=`expr $ac_mid + 1`
19404 if test $ac_lo -le $ac_mid; then
19408 ac_mid
=`expr 2 '*' $ac_mid + 1`
19411 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
19414 echo "$as_me: failed program was:" >&5
19415 sed 's/^/| /' conftest.
$ac_ext >&5
19417 cat >conftest.
$ac_ext <<_ACEOF
19420 cat confdefs.h
>>conftest.
$ac_ext
19421 cat >>conftest.
$ac_ext <<_ACEOF
19422 /* end confdefs.h. */
19423 $ac_includes_default
19424 typedef int ac__type_sizeof_;
19428 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
19435 rm -f conftest.
$ac_objext
19436 if { (ac_try
="$ac_compile"
19437 case "(($ac_try" in
19438 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
19439 *) ac_try_echo=$ac_try;;
19441 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19442 (eval "$ac_compile") 2>conftest.er1
19444 grep -v '^ *+' conftest.er1 >conftest.err
19446 cat conftest.err >&5
19447 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19448 (exit $ac_status); } && {
19449 test -z "$ac_c_werror_flag" ||
19450 test ! -s conftest.err
19451 } && test -s conftest.$ac_objext; then
19454 cat >conftest.$ac_ext <<_ACEOF
19457 cat confdefs.h >>conftest.$ac_ext
19458 cat >>conftest.$ac_ext <<_ACEOF
19459 /* end confdefs.h. */
19460 $ac_includes_default
19461 typedef int ac__type_sizeof_;
19465 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
19472 rm -f conftest.$ac_objext
19473 if { (ac_try="$ac_compile"
19474 case "(($ac_try" in
19475 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
19476 *) ac_try_echo
=$ac_try;;
19478 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19479 (eval "$ac_compile") 2>conftest.er1
19481 grep -v '^ *+' conftest.er1
>conftest.err
19483 cat conftest.err
>&5
19484 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19485 (exit $ac_status); } && {
19486 test -z "$ac_c_werror_flag" ||
19487 test ! -s conftest.err
19488 } && test -s conftest.
$ac_objext; then
19489 ac_lo
=$ac_mid; break
19491 echo "$as_me: failed program was:" >&5
19492 sed 's/^/| /' conftest.
$ac_ext >&5
19494 ac_hi
=`expr '(' $ac_mid ')' - 1`
19495 if test $ac_mid -le $ac_hi; then
19499 ac_mid
=`expr 2 '*' $ac_mid`
19502 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
19505 echo "$as_me: failed program was:" >&5
19506 sed 's/^/| /' conftest.
$ac_ext >&5
19511 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
19514 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
19515 # Binary search between lo and hi bounds.
19516 while test "x$ac_lo" != "x$ac_hi"; do
19517 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
19518 cat >conftest.
$ac_ext <<_ACEOF
19521 cat confdefs.h
>>conftest.
$ac_ext
19522 cat >>conftest.
$ac_ext <<_ACEOF
19523 /* end confdefs.h. */
19524 $ac_includes_default
19525 typedef int ac__type_sizeof_;
19529 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
19536 rm -f conftest.
$ac_objext
19537 if { (ac_try
="$ac_compile"
19538 case "(($ac_try" in
19539 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
19540 *) ac_try_echo=$ac_try;;
19542 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19543 (eval "$ac_compile") 2>conftest.er1
19545 grep -v '^ *+' conftest.er1 >conftest.err
19547 cat conftest.err >&5
19548 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19549 (exit $ac_status); } && {
19550 test -z "$ac_c_werror_flag" ||
19551 test ! -s conftest.err
19552 } && test -s conftest.$ac_objext; then
19555 echo "$as_me: failed program was:" >&5
19556 sed 's/^/| /' conftest.$ac_ext >&5
19558 ac_lo=`expr '(' $ac_mid ')' + 1`
19561 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19564 ?*) ac_cv_sizeof_int=$ac_lo;;
19565 '') if test "$ac_cv_type_int" = yes; then
19566 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int)
19567 See \`config.log
' for more details." >&5
19568 echo "$as_me: error: cannot compute sizeof (int)
19569 See \`config.log' for more details.
" >&2;}
19570 { (exit 77); exit 77; }; }
19576 cat >conftest.$ac_ext <<_ACEOF
19579 cat confdefs.h >>conftest.$ac_ext
19580 cat >>conftest.$ac_ext <<_ACEOF
19581 /* end confdefs.h. */
19582 $ac_includes_default
19583 typedef int ac__type_sizeof_;
19584 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
19585 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
19587 #include <stdlib.h>
19592 FILE *f = fopen ("conftest.val
", "w
");
19595 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
19597 long int i = longval ();
19598 if (i != ((long int) (sizeof (ac__type_sizeof_))))
19600 fprintf (f, "%ld
\n", i);
19604 unsigned long int i = ulongval ();
19605 if (i != ((long int) (sizeof (ac__type_sizeof_))))
19607 fprintf (f, "%lu
\n", i);
19609 return ferror (f) || fclose (f) != 0;
19615 rm -f conftest$ac_exeext
19616 if { (ac_try="$ac_link"
19617 case "(($ac_try" in
19618 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19619 *) ac_try_echo=$ac_try;;
19621 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
19622 (eval "$ac_link") 2>&5
19624 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
19625 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
19626 { (case "(($ac_try" in
19627 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19628 *) ac_try_echo=$ac_try;;
19630 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
19631 (eval "$ac_try") 2>&5
19633 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
19634 (exit $ac_status); }; }; then
19635 ac_cv_sizeof_int=`cat conftest.val`
19637 echo "$as_me: program exited with status
$ac_status" >&5
19638 echo "$as_me: failed program was
:" >&5
19639 sed 's/^/| /' conftest.$ac_ext >&5
19641 ( exit $ac_status )
19642 if test "$ac_cv_type_int" = yes; then
19643 { { echo "$as_me:$LINENO: error
: cannot compute sizeof
(int
)
19644 See \
`config.log' for more details." >&5
19645 echo "$as_me: error: cannot compute sizeof (int)
19646 See \`config.log
' for more details." >&2;}
19647 { (exit 77); exit 77; }; }
19652 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
19656 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5
19657 echo "${ECHO_T}$ac_cv_sizeof_int" >&6; }
19661 cat >>confdefs.h <<_ACEOF
19662 #define SIZEOF_INT $ac_cv_sizeof_int
19666 { echo "$as_me:$LINENO: checking for long" >&5
19667 echo $ECHO_N "checking for long... $ECHO_C" >&6; }
19668 if test "${ac_cv_type_long+set}" = set; then
19669 echo $ECHO_N "(cached) $ECHO_C" >&6
19671 cat >conftest.$ac_ext <<_ACEOF
19674 cat confdefs.h >>conftest.$ac_ext
19675 cat >>conftest.$ac_ext <<_ACEOF
19676 /* end confdefs.h. */
19677 $ac_includes_default
19678 typedef long ac__type_new_;
19682 if ((ac__type_new_ *) 0)
19684 if (sizeof (ac__type_new_))
19690 rm -f conftest.$ac_objext
19691 if { (ac_try="$ac_compile"
19692 case "(($ac_try" in
19693 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19694 *) ac_try_echo=$ac_try;;
19696 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19697 (eval "$ac_compile") 2>conftest.er1
19699 grep -v '^
*+' conftest.er1 >conftest.err
19701 cat conftest.err >&5
19702 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19703 (exit $ac_status); } && {
19704 test -z "$ac_c_werror_flag" ||
19705 test ! -s conftest.err
19706 } && test -s conftest.$ac_objext; then
19707 ac_cv_type_long=yes
19709 echo "$as_me: failed program was:" >&5
19710 sed 's
/^
/| /' conftest.$ac_ext >&5
19715 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19717 { echo "$as_me:$LINENO: result: $ac_cv_type_long" >&5
19718 echo "${ECHO_T}$ac_cv_type_long" >&6; }
19720 # The cast to long int works around a bug in the HP C Compiler
19721 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
19722 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
19723 # This bug is HP SR number 8606223364.
19724 { echo "$as_me:$LINENO: checking size of long" >&5
19725 echo $ECHO_N "checking size of long... $ECHO_C" >&6; }
19726 if test "${ac_cv_sizeof_long+set}" = set; then
19727 echo $ECHO_N "(cached) $ECHO_C" >&6
19729 if test "$cross_compiling" = yes; then
19730 # Depending upon the size, compute the lo and hi bounds.
19731 cat >conftest.
$ac_ext <<_ACEOF
19734 cat confdefs.h
>>conftest.
$ac_ext
19735 cat >>conftest.
$ac_ext <<_ACEOF
19736 /* end confdefs.h. */
19737 $ac_includes_default
19738 typedef long ac__type_sizeof_;
19742 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
19749 rm -f conftest.
$ac_objext
19750 if { (ac_try
="$ac_compile"
19751 case "(($ac_try" in
19752 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
19753 *) ac_try_echo=$ac_try;;
19755 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19756 (eval "$ac_compile") 2>conftest.er1
19758 grep -v '^ *+' conftest.er1 >conftest.err
19760 cat conftest.err >&5
19761 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19762 (exit $ac_status); } && {
19763 test -z "$ac_c_werror_flag" ||
19764 test ! -s conftest.err
19765 } && test -s conftest.$ac_objext; then
19768 cat >conftest.$ac_ext <<_ACEOF
19771 cat confdefs.h >>conftest.$ac_ext
19772 cat >>conftest.$ac_ext <<_ACEOF
19773 /* end confdefs.h. */
19774 $ac_includes_default
19775 typedef long ac__type_sizeof_;
19779 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
19786 rm -f conftest.$ac_objext
19787 if { (ac_try="$ac_compile"
19788 case "(($ac_try" in
19789 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
19790 *) ac_try_echo
=$ac_try;;
19792 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19793 (eval "$ac_compile") 2>conftest.er1
19795 grep -v '^ *+' conftest.er1
>conftest.err
19797 cat conftest.err
>&5
19798 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19799 (exit $ac_status); } && {
19800 test -z "$ac_c_werror_flag" ||
19801 test ! -s conftest.err
19802 } && test -s conftest.
$ac_objext; then
19803 ac_hi
=$ac_mid; break
19805 echo "$as_me: failed program was:" >&5
19806 sed 's/^/| /' conftest.
$ac_ext >&5
19808 ac_lo
=`expr $ac_mid + 1`
19809 if test $ac_lo -le $ac_mid; then
19813 ac_mid
=`expr 2 '*' $ac_mid + 1`
19816 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
19819 echo "$as_me: failed program was:" >&5
19820 sed 's/^/| /' conftest.
$ac_ext >&5
19822 cat >conftest.
$ac_ext <<_ACEOF
19825 cat confdefs.h
>>conftest.
$ac_ext
19826 cat >>conftest.
$ac_ext <<_ACEOF
19827 /* end confdefs.h. */
19828 $ac_includes_default
19829 typedef long ac__type_sizeof_;
19833 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
19840 rm -f conftest.
$ac_objext
19841 if { (ac_try
="$ac_compile"
19842 case "(($ac_try" in
19843 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
19844 *) ac_try_echo=$ac_try;;
19846 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19847 (eval "$ac_compile") 2>conftest.er1
19849 grep -v '^ *+' conftest.er1 >conftest.err
19851 cat conftest.err >&5
19852 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19853 (exit $ac_status); } && {
19854 test -z "$ac_c_werror_flag" ||
19855 test ! -s conftest.err
19856 } && test -s conftest.$ac_objext; then
19859 cat >conftest.$ac_ext <<_ACEOF
19862 cat confdefs.h >>conftest.$ac_ext
19863 cat >>conftest.$ac_ext <<_ACEOF
19864 /* end confdefs.h. */
19865 $ac_includes_default
19866 typedef long ac__type_sizeof_;
19870 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
19877 rm -f conftest.$ac_objext
19878 if { (ac_try="$ac_compile"
19879 case "(($ac_try" in
19880 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
19881 *) ac_try_echo
=$ac_try;;
19883 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19884 (eval "$ac_compile") 2>conftest.er1
19886 grep -v '^ *+' conftest.er1
>conftest.err
19888 cat conftest.err
>&5
19889 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19890 (exit $ac_status); } && {
19891 test -z "$ac_c_werror_flag" ||
19892 test ! -s conftest.err
19893 } && test -s conftest.
$ac_objext; then
19894 ac_lo
=$ac_mid; break
19896 echo "$as_me: failed program was:" >&5
19897 sed 's/^/| /' conftest.
$ac_ext >&5
19899 ac_hi
=`expr '(' $ac_mid ')' - 1`
19900 if test $ac_mid -le $ac_hi; then
19904 ac_mid
=`expr 2 '*' $ac_mid`
19907 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
19910 echo "$as_me: failed program was:" >&5
19911 sed 's/^/| /' conftest.
$ac_ext >&5
19916 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
19919 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
19920 # Binary search between lo and hi bounds.
19921 while test "x$ac_lo" != "x$ac_hi"; do
19922 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
19923 cat >conftest.
$ac_ext <<_ACEOF
19926 cat confdefs.h
>>conftest.
$ac_ext
19927 cat >>conftest.
$ac_ext <<_ACEOF
19928 /* end confdefs.h. */
19929 $ac_includes_default
19930 typedef long ac__type_sizeof_;
19934 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
19941 rm -f conftest.
$ac_objext
19942 if { (ac_try
="$ac_compile"
19943 case "(($ac_try" in
19944 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
19945 *) ac_try_echo=$ac_try;;
19947 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19948 (eval "$ac_compile") 2>conftest.er1
19950 grep -v '^ *+' conftest.er1 >conftest.err
19952 cat conftest.err >&5
19953 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19954 (exit $ac_status); } && {
19955 test -z "$ac_c_werror_flag" ||
19956 test ! -s conftest.err
19957 } && test -s conftest.$ac_objext; then
19960 echo "$as_me: failed program was:" >&5
19961 sed 's/^/| /' conftest.$ac_ext >&5
19963 ac_lo=`expr '(' $ac_mid ')' + 1`
19966 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19969 ?*) ac_cv_sizeof_long=$ac_lo;;
19970 '') if test "$ac_cv_type_long" = yes; then
19971 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long)
19972 See \`config.log
' for more details." >&5
19973 echo "$as_me: error: cannot compute sizeof (long)
19974 See \`config.log' for more details.
" >&2;}
19975 { (exit 77); exit 77; }; }
19977 ac_cv_sizeof_long=0
19981 cat >conftest.$ac_ext <<_ACEOF
19984 cat confdefs.h >>conftest.$ac_ext
19985 cat >>conftest.$ac_ext <<_ACEOF
19986 /* end confdefs.h. */
19987 $ac_includes_default
19988 typedef long ac__type_sizeof_;
19989 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
19990 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
19992 #include <stdlib.h>
19997 FILE *f = fopen ("conftest.val
", "w
");
20000 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
20002 long int i = longval ();
20003 if (i != ((long int) (sizeof (ac__type_sizeof_))))
20005 fprintf (f, "%ld
\n", i);
20009 unsigned long int i = ulongval ();
20010 if (i != ((long int) (sizeof (ac__type_sizeof_))))
20012 fprintf (f, "%lu
\n", i);
20014 return ferror (f) || fclose (f) != 0;
20020 rm -f conftest$ac_exeext
20021 if { (ac_try="$ac_link"
20022 case "(($ac_try" in
20023 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20024 *) ac_try_echo=$ac_try;;
20026 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
20027 (eval "$ac_link") 2>&5
20029 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
20030 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
20031 { (case "(($ac_try" in
20032 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20033 *) ac_try_echo=$ac_try;;
20035 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
20036 (eval "$ac_try") 2>&5
20038 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
20039 (exit $ac_status); }; }; then
20040 ac_cv_sizeof_long=`cat conftest.val`
20042 echo "$as_me: program exited with status
$ac_status" >&5
20043 echo "$as_me: failed program was
:" >&5
20044 sed 's/^/| /' conftest.$ac_ext >&5
20046 ( exit $ac_status )
20047 if test "$ac_cv_type_long" = yes; then
20048 { { echo "$as_me:$LINENO: error
: cannot compute sizeof
(long
)
20049 See \
`config.log' for more details." >&5
20050 echo "$as_me: error: cannot compute sizeof (long)
20051 See \`config.log
' for more details." >&2;}
20052 { (exit 77); exit 77; }; }
20054 ac_cv_sizeof_long=0
20057 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20061 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5
20062 echo "${ECHO_T}$ac_cv_sizeof_long" >&6; }
20066 cat >>confdefs.h <<_ACEOF
20067 #define SIZEOF_LONG $ac_cv_sizeof_long
20071 { echo "$as_me:$LINENO: checking for size_t" >&5
20072 echo $ECHO_N "checking for size_t... $ECHO_C" >&6; }
20073 if test "${ac_cv_type_size_t+set}" = set; then
20074 echo $ECHO_N "(cached) $ECHO_C" >&6
20076 cat >conftest.$ac_ext <<_ACEOF
20079 cat confdefs.h >>conftest.$ac_ext
20080 cat >>conftest.$ac_ext <<_ACEOF
20081 /* end confdefs.h. */
20082 $ac_includes_default
20083 typedef size_t ac__type_new_;
20087 if ((ac__type_new_ *) 0)
20089 if (sizeof (ac__type_new_))
20095 rm -f conftest.$ac_objext
20096 if { (ac_try="$ac_compile"
20097 case "(($ac_try" in
20098 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20099 *) ac_try_echo=$ac_try;;
20101 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20102 (eval "$ac_compile") 2>conftest.er1
20104 grep -v '^
*+' conftest.er1 >conftest.err
20106 cat conftest.err >&5
20107 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20108 (exit $ac_status); } && {
20109 test -z "$ac_c_werror_flag" ||
20110 test ! -s conftest.err
20111 } && test -s conftest.$ac_objext; then
20112 ac_cv_type_size_t=yes
20114 echo "$as_me: failed program was:" >&5
20115 sed 's
/^
/| /' conftest.$ac_ext >&5
20117 ac_cv_type_size_t=no
20120 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20122 { echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
20123 echo "${ECHO_T}$ac_cv_type_size_t" >&6; }
20125 # The cast to long int works around a bug in the HP C Compiler
20126 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20127 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20128 # This bug is HP SR number 8606223364.
20129 { echo "$as_me:$LINENO: checking size of size_t" >&5
20130 echo $ECHO_N "checking size of size_t... $ECHO_C" >&6; }
20131 if test "${ac_cv_sizeof_size_t+set}" = set; then
20132 echo $ECHO_N "(cached) $ECHO_C" >&6
20134 if test "$cross_compiling" = yes; then
20135 # Depending upon the size, compute the lo and hi bounds.
20136 cat >conftest.
$ac_ext <<_ACEOF
20139 cat confdefs.h
>>conftest.
$ac_ext
20140 cat >>conftest.
$ac_ext <<_ACEOF
20141 /* end confdefs.h. */
20142 $ac_includes_default
20143 typedef size_t ac__type_sizeof_;
20147 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
20154 rm -f conftest.
$ac_objext
20155 if { (ac_try
="$ac_compile"
20156 case "(($ac_try" in
20157 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
20158 *) ac_try_echo=$ac_try;;
20160 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20161 (eval "$ac_compile") 2>conftest.er1
20163 grep -v '^ *+' conftest.er1 >conftest.err
20165 cat conftest.err >&5
20166 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20167 (exit $ac_status); } && {
20168 test -z "$ac_c_werror_flag" ||
20169 test ! -s conftest.err
20170 } && test -s conftest.$ac_objext; then
20173 cat >conftest.$ac_ext <<_ACEOF
20176 cat confdefs.h >>conftest.$ac_ext
20177 cat >>conftest.$ac_ext <<_ACEOF
20178 /* end confdefs.h. */
20179 $ac_includes_default
20180 typedef size_t ac__type_sizeof_;
20184 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
20191 rm -f conftest.$ac_objext
20192 if { (ac_try="$ac_compile"
20193 case "(($ac_try" in
20194 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
20195 *) ac_try_echo
=$ac_try;;
20197 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20198 (eval "$ac_compile") 2>conftest.er1
20200 grep -v '^ *+' conftest.er1
>conftest.err
20202 cat conftest.err
>&5
20203 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20204 (exit $ac_status); } && {
20205 test -z "$ac_c_werror_flag" ||
20206 test ! -s conftest.err
20207 } && test -s conftest.
$ac_objext; then
20208 ac_hi
=$ac_mid; break
20210 echo "$as_me: failed program was:" >&5
20211 sed 's/^/| /' conftest.
$ac_ext >&5
20213 ac_lo
=`expr $ac_mid + 1`
20214 if test $ac_lo -le $ac_mid; then
20218 ac_mid
=`expr 2 '*' $ac_mid + 1`
20221 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20224 echo "$as_me: failed program was:" >&5
20225 sed 's/^/| /' conftest.
$ac_ext >&5
20227 cat >conftest.
$ac_ext <<_ACEOF
20230 cat confdefs.h
>>conftest.
$ac_ext
20231 cat >>conftest.
$ac_ext <<_ACEOF
20232 /* end confdefs.h. */
20233 $ac_includes_default
20234 typedef size_t ac__type_sizeof_;
20238 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
20245 rm -f conftest.
$ac_objext
20246 if { (ac_try
="$ac_compile"
20247 case "(($ac_try" in
20248 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
20249 *) ac_try_echo=$ac_try;;
20251 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20252 (eval "$ac_compile") 2>conftest.er1
20254 grep -v '^ *+' conftest.er1 >conftest.err
20256 cat conftest.err >&5
20257 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20258 (exit $ac_status); } && {
20259 test -z "$ac_c_werror_flag" ||
20260 test ! -s conftest.err
20261 } && test -s conftest.$ac_objext; then
20264 cat >conftest.$ac_ext <<_ACEOF
20267 cat confdefs.h >>conftest.$ac_ext
20268 cat >>conftest.$ac_ext <<_ACEOF
20269 /* end confdefs.h. */
20270 $ac_includes_default
20271 typedef size_t ac__type_sizeof_;
20275 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
20282 rm -f conftest.$ac_objext
20283 if { (ac_try="$ac_compile"
20284 case "(($ac_try" in
20285 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
20286 *) ac_try_echo
=$ac_try;;
20288 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20289 (eval "$ac_compile") 2>conftest.er1
20291 grep -v '^ *+' conftest.er1
>conftest.err
20293 cat conftest.err
>&5
20294 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20295 (exit $ac_status); } && {
20296 test -z "$ac_c_werror_flag" ||
20297 test ! -s conftest.err
20298 } && test -s conftest.
$ac_objext; then
20299 ac_lo
=$ac_mid; break
20301 echo "$as_me: failed program was:" >&5
20302 sed 's/^/| /' conftest.
$ac_ext >&5
20304 ac_hi
=`expr '(' $ac_mid ')' - 1`
20305 if test $ac_mid -le $ac_hi; then
20309 ac_mid
=`expr 2 '*' $ac_mid`
20312 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20315 echo "$as_me: failed program was:" >&5
20316 sed 's/^/| /' conftest.
$ac_ext >&5
20321 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20324 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20325 # Binary search between lo and hi bounds.
20326 while test "x$ac_lo" != "x$ac_hi"; do
20327 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
20328 cat >conftest.
$ac_ext <<_ACEOF
20331 cat confdefs.h
>>conftest.
$ac_ext
20332 cat >>conftest.
$ac_ext <<_ACEOF
20333 /* end confdefs.h. */
20334 $ac_includes_default
20335 typedef size_t ac__type_sizeof_;
20339 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
20346 rm -f conftest.
$ac_objext
20347 if { (ac_try
="$ac_compile"
20348 case "(($ac_try" in
20349 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
20350 *) ac_try_echo=$ac_try;;
20352 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20353 (eval "$ac_compile") 2>conftest.er1
20355 grep -v '^ *+' conftest.er1 >conftest.err
20357 cat conftest.err >&5
20358 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20359 (exit $ac_status); } && {
20360 test -z "$ac_c_werror_flag" ||
20361 test ! -s conftest.err
20362 } && test -s conftest.$ac_objext; then
20365 echo "$as_me: failed program was:" >&5
20366 sed 's/^/| /' conftest.$ac_ext >&5
20368 ac_lo=`expr '(' $ac_mid ')' + 1`
20371 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20374 ?*) ac_cv_sizeof_size_t=$ac_lo;;
20375 '') if test "$ac_cv_type_size_t" = yes; then
20376 { { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t)
20377 See \`config.log
' for more details." >&5
20378 echo "$as_me: error: cannot compute sizeof (size_t)
20379 See \`config.log' for more details.
" >&2;}
20380 { (exit 77); exit 77; }; }
20382 ac_cv_sizeof_size_t=0
20386 cat >conftest.$ac_ext <<_ACEOF
20389 cat confdefs.h >>conftest.$ac_ext
20390 cat >>conftest.$ac_ext <<_ACEOF
20391 /* end confdefs.h. */
20392 $ac_includes_default
20393 typedef size_t ac__type_sizeof_;
20394 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
20395 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
20397 #include <stdlib.h>
20402 FILE *f = fopen ("conftest.val
", "w
");
20405 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
20407 long int i = longval ();
20408 if (i != ((long int) (sizeof (ac__type_sizeof_))))
20410 fprintf (f, "%ld
\n", i);
20414 unsigned long int i = ulongval ();
20415 if (i != ((long int) (sizeof (ac__type_sizeof_))))
20417 fprintf (f, "%lu
\n", i);
20419 return ferror (f) || fclose (f) != 0;
20425 rm -f conftest$ac_exeext
20426 if { (ac_try="$ac_link"
20427 case "(($ac_try" in
20428 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20429 *) ac_try_echo=$ac_try;;
20431 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
20432 (eval "$ac_link") 2>&5
20434 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
20435 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
20436 { (case "(($ac_try" in
20437 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20438 *) ac_try_echo=$ac_try;;
20440 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
20441 (eval "$ac_try") 2>&5
20443 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
20444 (exit $ac_status); }; }; then
20445 ac_cv_sizeof_size_t=`cat conftest.val`
20447 echo "$as_me: program exited with status
$ac_status" >&5
20448 echo "$as_me: failed program was
:" >&5
20449 sed 's/^/| /' conftest.$ac_ext >&5
20451 ( exit $ac_status )
20452 if test "$ac_cv_type_size_t" = yes; then
20453 { { echo "$as_me:$LINENO: error
: cannot compute sizeof
(size_t
)
20454 See \
`config.log' for more details." >&5
20455 echo "$as_me: error: cannot compute sizeof (size_t)
20456 See \`config.log
' for more details." >&2;}
20457 { (exit 77); exit 77; }; }
20459 ac_cv_sizeof_size_t=0
20462 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20466 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_size_t" >&5
20467 echo "${ECHO_T}$ac_cv_sizeof_size_t" >&6; }
20471 cat >>confdefs.h <<_ACEOF
20472 #define SIZEOF_SIZE_T $ac_cv_sizeof_size_t
20479 { echo "$as_me:$LINENO: checking for long long" >&5
20480 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
20481 if test "${ac_cv_type_long_long+set}" = set; then
20482 echo $ECHO_N "(cached) $ECHO_C" >&6
20484 cat >conftest.$ac_ext <<_ACEOF
20487 cat confdefs.h >>conftest.$ac_ext
20488 cat >>conftest.$ac_ext <<_ACEOF
20489 /* end confdefs.h. */
20490 $ac_includes_default
20491 typedef long long ac__type_new_;
20495 if ((ac__type_new_ *) 0)
20497 if (sizeof (ac__type_new_))
20503 rm -f conftest.$ac_objext
20504 if { (ac_try="$ac_compile"
20505 case "(($ac_try" in
20506 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20507 *) ac_try_echo=$ac_try;;
20509 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20510 (eval "$ac_compile") 2>conftest.er1
20512 grep -v '^
*+' conftest.er1 >conftest.err
20514 cat conftest.err >&5
20515 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20516 (exit $ac_status); } && {
20517 test -z "$ac_c_werror_flag" ||
20518 test ! -s conftest.err
20519 } && test -s conftest.$ac_objext; then
20520 ac_cv_type_long_long=yes
20522 echo "$as_me: failed program was:" >&5
20523 sed 's
/^
/| /' conftest.$ac_ext >&5
20525 ac_cv_type_long_long=no
20528 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20530 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
20531 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
20533 # The cast to long int works around a bug in the HP C Compiler
20534 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20535 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20536 # This bug is HP SR number 8606223364.
20537 { echo "$as_me:$LINENO: checking size of long long" >&5
20538 echo $ECHO_N "checking size of long long... $ECHO_C" >&6; }
20539 if test "${ac_cv_sizeof_long_long+set}" = set; then
20540 echo $ECHO_N "(cached) $ECHO_C" >&6
20542 if test "$cross_compiling" = yes; then
20543 # Depending upon the size, compute the lo and hi bounds.
20544 cat >conftest.
$ac_ext <<_ACEOF
20547 cat confdefs.h
>>conftest.
$ac_ext
20548 cat >>conftest.
$ac_ext <<_ACEOF
20549 /* end confdefs.h. */
20550 $ac_includes_default
20551 typedef long long ac__type_sizeof_;
20555 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
20562 rm -f conftest.
$ac_objext
20563 if { (ac_try
="$ac_compile"
20564 case "(($ac_try" in
20565 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
20566 *) ac_try_echo=$ac_try;;
20568 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20569 (eval "$ac_compile") 2>conftest.er1
20571 grep -v '^ *+' conftest.er1 >conftest.err
20573 cat conftest.err >&5
20574 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20575 (exit $ac_status); } && {
20576 test -z "$ac_c_werror_flag" ||
20577 test ! -s conftest.err
20578 } && test -s conftest.$ac_objext; then
20581 cat >conftest.$ac_ext <<_ACEOF
20584 cat confdefs.h >>conftest.$ac_ext
20585 cat >>conftest.$ac_ext <<_ACEOF
20586 /* end confdefs.h. */
20587 $ac_includes_default
20588 typedef long long ac__type_sizeof_;
20592 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
20599 rm -f conftest.$ac_objext
20600 if { (ac_try="$ac_compile"
20601 case "(($ac_try" in
20602 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
20603 *) ac_try_echo
=$ac_try;;
20605 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20606 (eval "$ac_compile") 2>conftest.er1
20608 grep -v '^ *+' conftest.er1
>conftest.err
20610 cat conftest.err
>&5
20611 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20612 (exit $ac_status); } && {
20613 test -z "$ac_c_werror_flag" ||
20614 test ! -s conftest.err
20615 } && test -s conftest.
$ac_objext; then
20616 ac_hi
=$ac_mid; break
20618 echo "$as_me: failed program was:" >&5
20619 sed 's/^/| /' conftest.
$ac_ext >&5
20621 ac_lo
=`expr $ac_mid + 1`
20622 if test $ac_lo -le $ac_mid; then
20626 ac_mid
=`expr 2 '*' $ac_mid + 1`
20629 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20632 echo "$as_me: failed program was:" >&5
20633 sed 's/^/| /' conftest.
$ac_ext >&5
20635 cat >conftest.
$ac_ext <<_ACEOF
20638 cat confdefs.h
>>conftest.
$ac_ext
20639 cat >>conftest.
$ac_ext <<_ACEOF
20640 /* end confdefs.h. */
20641 $ac_includes_default
20642 typedef long long ac__type_sizeof_;
20646 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
20653 rm -f conftest.
$ac_objext
20654 if { (ac_try
="$ac_compile"
20655 case "(($ac_try" in
20656 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
20657 *) ac_try_echo=$ac_try;;
20659 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20660 (eval "$ac_compile") 2>conftest.er1
20662 grep -v '^ *+' conftest.er1 >conftest.err
20664 cat conftest.err >&5
20665 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20666 (exit $ac_status); } && {
20667 test -z "$ac_c_werror_flag" ||
20668 test ! -s conftest.err
20669 } && test -s conftest.$ac_objext; then
20672 cat >conftest.$ac_ext <<_ACEOF
20675 cat confdefs.h >>conftest.$ac_ext
20676 cat >>conftest.$ac_ext <<_ACEOF
20677 /* end confdefs.h. */
20678 $ac_includes_default
20679 typedef long long ac__type_sizeof_;
20683 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
20690 rm -f conftest.$ac_objext
20691 if { (ac_try="$ac_compile"
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_compile") 2>conftest.er1
20699 grep -v '^ *+' conftest.er1
>conftest.err
20701 cat conftest.err
>&5
20702 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20703 (exit $ac_status); } && {
20704 test -z "$ac_c_werror_flag" ||
20705 test ! -s conftest.err
20706 } && test -s conftest.
$ac_objext; then
20707 ac_lo
=$ac_mid; break
20709 echo "$as_me: failed program was:" >&5
20710 sed 's/^/| /' conftest.
$ac_ext >&5
20712 ac_hi
=`expr '(' $ac_mid ')' - 1`
20713 if test $ac_mid -le $ac_hi; then
20717 ac_mid
=`expr 2 '*' $ac_mid`
20720 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20723 echo "$as_me: failed program was:" >&5
20724 sed 's/^/| /' conftest.
$ac_ext >&5
20729 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20732 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20733 # Binary search between lo and hi bounds.
20734 while test "x$ac_lo" != "x$ac_hi"; do
20735 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
20736 cat >conftest.
$ac_ext <<_ACEOF
20739 cat confdefs.h
>>conftest.
$ac_ext
20740 cat >>conftest.
$ac_ext <<_ACEOF
20741 /* end confdefs.h. */
20742 $ac_includes_default
20743 typedef long long ac__type_sizeof_;
20747 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
20754 rm -f conftest.
$ac_objext
20755 if { (ac_try
="$ac_compile"
20756 case "(($ac_try" in
20757 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
20758 *) ac_try_echo=$ac_try;;
20760 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20761 (eval "$ac_compile") 2>conftest.er1
20763 grep -v '^ *+' conftest.er1 >conftest.err
20765 cat conftest.err >&5
20766 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20767 (exit $ac_status); } && {
20768 test -z "$ac_c_werror_flag" ||
20769 test ! -s conftest.err
20770 } && test -s conftest.$ac_objext; then
20773 echo "$as_me: failed program was:" >&5
20774 sed 's/^/| /' conftest.$ac_ext >&5
20776 ac_lo=`expr '(' $ac_mid ')' + 1`
20779 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20782 ?*) ac_cv_sizeof_long_long=$ac_lo;;
20783 '') if test "$ac_cv_type_long_long" = yes; then
20784 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
20785 See \`config.log
' for more details." >&5
20786 echo "$as_me: error: cannot compute sizeof (long long)
20787 See \`config.log' for more details.
" >&2;}
20788 { (exit 77); exit 77; }; }
20790 ac_cv_sizeof_long_long=0
20794 cat >conftest.$ac_ext <<_ACEOF
20797 cat confdefs.h >>conftest.$ac_ext
20798 cat >>conftest.$ac_ext <<_ACEOF
20799 /* end confdefs.h. */
20800 $ac_includes_default
20801 typedef long long ac__type_sizeof_;
20802 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
20803 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
20805 #include <stdlib.h>
20810 FILE *f = fopen ("conftest.val
", "w
");
20813 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
20815 long int i = longval ();
20816 if (i != ((long int) (sizeof (ac__type_sizeof_))))
20818 fprintf (f, "%ld
\n", i);
20822 unsigned long int i = ulongval ();
20823 if (i != ((long int) (sizeof (ac__type_sizeof_))))
20825 fprintf (f, "%lu
\n", i);
20827 return ferror (f) || fclose (f) != 0;
20833 rm -f conftest$ac_exeext
20834 if { (ac_try="$ac_link"
20835 case "(($ac_try" in
20836 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20837 *) ac_try_echo=$ac_try;;
20839 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
20840 (eval "$ac_link") 2>&5
20842 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
20843 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
20844 { (case "(($ac_try" in
20845 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20846 *) ac_try_echo=$ac_try;;
20848 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
20849 (eval "$ac_try") 2>&5
20851 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
20852 (exit $ac_status); }; }; then
20853 ac_cv_sizeof_long_long=`cat conftest.val`
20855 echo "$as_me: program exited with status
$ac_status" >&5
20856 echo "$as_me: failed program was
:" >&5
20857 sed 's/^/| /' conftest.$ac_ext >&5
20859 ( exit $ac_status )
20860 if test "$ac_cv_type_long_long" = yes; then
20861 { { echo "$as_me:$LINENO: error
: cannot compute sizeof
(long long
)
20862 See \
`config.log' for more details." >&5
20863 echo "$as_me: error: cannot compute sizeof (long long)
20864 See \`config.log
' for more details." >&2;}
20865 { (exit 77); exit 77; }; }
20867 ac_cv_sizeof_long_long=0
20870 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20874 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
20875 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6; }
20879 cat >>confdefs.h <<_ACEOF
20880 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
20886 { echo "$as_me:$LINENO: checking for long long" >&5
20887 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
20888 if test "${ac_cv_type_long_long+set}" = set; then
20889 echo $ECHO_N "(cached) $ECHO_C" >&6
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_new_;
20902 if ((ac__type_new_ *) 0)
20904 if (sizeof (ac__type_new_))
20910 rm -f conftest.$ac_objext
20911 if { (ac_try="$ac_compile"
20912 case "(($ac_try" in
20913 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20914 *) ac_try_echo=$ac_try;;
20916 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20917 (eval "$ac_compile") 2>conftest.er1
20919 grep -v '^
*+' conftest.er1 >conftest.err
20921 cat conftest.err >&5
20922 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20923 (exit $ac_status); } && {
20924 test -z "$ac_c_werror_flag" ||
20925 test ! -s conftest.err
20926 } && test -s conftest.$ac_objext; then
20927 ac_cv_type_long_long=yes
20929 echo "$as_me: failed program was:" >&5
20930 sed 's
/^
/| /' conftest.$ac_ext >&5
20932 ac_cv_type_long_long=no
20935 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20937 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
20938 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
20940 # The cast to long int works around a bug in the HP C Compiler
20941 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20942 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20943 # This bug is HP SR number 8606223364.
20944 { echo "$as_me:$LINENO: checking size of long long" >&5
20945 echo $ECHO_N "checking size of long long... $ECHO_C" >&6; }
20946 if test "${ac_cv_sizeof_long_long+set}" = set; then
20947 echo $ECHO_N "(cached) $ECHO_C" >&6
20949 if test "$cross_compiling" = yes; then
20950 # Depending upon the size, compute the lo and hi bounds.
20951 cat >conftest.
$ac_ext <<_ACEOF
20954 cat confdefs.h
>>conftest.
$ac_ext
20955 cat >>conftest.
$ac_ext <<_ACEOF
20956 /* end confdefs.h. */
20957 $ac_includes_default
20958 typedef long long ac__type_sizeof_;
20962 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
20969 rm -f conftest.
$ac_objext
20970 if { (ac_try
="$ac_compile"
20971 case "(($ac_try" in
20972 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
20973 *) ac_try_echo=$ac_try;;
20975 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20976 (eval "$ac_compile") 2>conftest.er1
20978 grep -v '^ *+' conftest.er1 >conftest.err
20980 cat conftest.err >&5
20981 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20982 (exit $ac_status); } && {
20983 test -z "$ac_c_werror_flag" ||
20984 test ! -s conftest.err
20985 } && test -s conftest.$ac_objext; then
20988 cat >conftest.$ac_ext <<_ACEOF
20991 cat confdefs.h >>conftest.$ac_ext
20992 cat >>conftest.$ac_ext <<_ACEOF
20993 /* end confdefs.h. */
20994 $ac_includes_default
20995 typedef long long ac__type_sizeof_;
20999 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21006 rm -f conftest.$ac_objext
21007 if { (ac_try="$ac_compile"
21008 case "(($ac_try" in
21009 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
21010 *) ac_try_echo
=$ac_try;;
21012 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21013 (eval "$ac_compile") 2>conftest.er1
21015 grep -v '^ *+' conftest.er1
>conftest.err
21017 cat conftest.err
>&5
21018 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21019 (exit $ac_status); } && {
21020 test -z "$ac_c_werror_flag" ||
21021 test ! -s conftest.err
21022 } && test -s conftest.
$ac_objext; then
21023 ac_hi
=$ac_mid; break
21025 echo "$as_me: failed program was:" >&5
21026 sed 's/^/| /' conftest.
$ac_ext >&5
21028 ac_lo
=`expr $ac_mid + 1`
21029 if test $ac_lo -le $ac_mid; then
21033 ac_mid
=`expr 2 '*' $ac_mid + 1`
21036 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21039 echo "$as_me: failed program was:" >&5
21040 sed 's/^/| /' conftest.
$ac_ext >&5
21042 cat >conftest.
$ac_ext <<_ACEOF
21045 cat confdefs.h
>>conftest.
$ac_ext
21046 cat >>conftest.
$ac_ext <<_ACEOF
21047 /* end confdefs.h. */
21048 $ac_includes_default
21049 typedef long long ac__type_sizeof_;
21053 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
21060 rm -f conftest.
$ac_objext
21061 if { (ac_try
="$ac_compile"
21062 case "(($ac_try" in
21063 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
21064 *) ac_try_echo=$ac_try;;
21066 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21067 (eval "$ac_compile") 2>conftest.er1
21069 grep -v '^ *+' conftest.er1 >conftest.err
21071 cat conftest.err >&5
21072 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21073 (exit $ac_status); } && {
21074 test -z "$ac_c_werror_flag" ||
21075 test ! -s conftest.err
21076 } && test -s conftest.$ac_objext; then
21079 cat >conftest.$ac_ext <<_ACEOF
21082 cat confdefs.h >>conftest.$ac_ext
21083 cat >>conftest.$ac_ext <<_ACEOF
21084 /* end confdefs.h. */
21085 $ac_includes_default
21086 typedef long long ac__type_sizeof_;
21090 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
21097 rm -f conftest.$ac_objext
21098 if { (ac_try="$ac_compile"
21099 case "(($ac_try" in
21100 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
21101 *) ac_try_echo
=$ac_try;;
21103 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21104 (eval "$ac_compile") 2>conftest.er1
21106 grep -v '^ *+' conftest.er1
>conftest.err
21108 cat conftest.err
>&5
21109 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21110 (exit $ac_status); } && {
21111 test -z "$ac_c_werror_flag" ||
21112 test ! -s conftest.err
21113 } && test -s conftest.
$ac_objext; then
21114 ac_lo
=$ac_mid; break
21116 echo "$as_me: failed program was:" >&5
21117 sed 's/^/| /' conftest.
$ac_ext >&5
21119 ac_hi
=`expr '(' $ac_mid ')' - 1`
21120 if test $ac_mid -le $ac_hi; then
21124 ac_mid
=`expr 2 '*' $ac_mid`
21127 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21130 echo "$as_me: failed program was:" >&5
21131 sed 's/^/| /' conftest.
$ac_ext >&5
21136 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21139 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21140 # Binary search between lo and hi bounds.
21141 while test "x$ac_lo" != "x$ac_hi"; do
21142 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
21143 cat >conftest.
$ac_ext <<_ACEOF
21146 cat confdefs.h
>>conftest.
$ac_ext
21147 cat >>conftest.
$ac_ext <<_ACEOF
21148 /* end confdefs.h. */
21149 $ac_includes_default
21150 typedef long long ac__type_sizeof_;
21154 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21161 rm -f conftest.
$ac_objext
21162 if { (ac_try
="$ac_compile"
21163 case "(($ac_try" in
21164 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
21165 *) ac_try_echo=$ac_try;;
21167 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21168 (eval "$ac_compile") 2>conftest.er1
21170 grep -v '^ *+' conftest.er1 >conftest.err
21172 cat conftest.err >&5
21173 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21174 (exit $ac_status); } && {
21175 test -z "$ac_c_werror_flag" ||
21176 test ! -s conftest.err
21177 } && test -s conftest.$ac_objext; then
21180 echo "$as_me: failed program was:" >&5
21181 sed 's/^/| /' conftest.$ac_ext >&5
21183 ac_lo=`expr '(' $ac_mid ')' + 1`
21186 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21189 ?*) ac_cv_sizeof_long_long=$ac_lo;;
21190 '') if test "$ac_cv_type_long_long" = yes; then
21191 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
21192 See \`config.log
' for more details." >&5
21193 echo "$as_me: error: cannot compute sizeof (long long)
21194 See \`config.log' for more details.
" >&2;}
21195 { (exit 77); exit 77; }; }
21197 ac_cv_sizeof_long_long=0
21201 cat >conftest.$ac_ext <<_ACEOF
21204 cat confdefs.h >>conftest.$ac_ext
21205 cat >>conftest.$ac_ext <<_ACEOF
21206 /* end confdefs.h. */
21207 $ac_includes_default
21208 typedef long long ac__type_sizeof_;
21209 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
21210 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
21212 #include <stdlib.h>
21217 FILE *f = fopen ("conftest.val
", "w
");
21220 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
21222 long int i = longval ();
21223 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21225 fprintf (f, "%ld
\n", i);
21229 unsigned long int i = ulongval ();
21230 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21232 fprintf (f, "%lu
\n", i);
21234 return ferror (f) || fclose (f) != 0;
21240 rm -f conftest$ac_exeext
21241 if { (ac_try="$ac_link"
21242 case "(($ac_try" in
21243 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21244 *) ac_try_echo=$ac_try;;
21246 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
21247 (eval "$ac_link") 2>&5
21249 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
21250 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
21251 { (case "(($ac_try" in
21252 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21253 *) ac_try_echo=$ac_try;;
21255 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
21256 (eval "$ac_try") 2>&5
21258 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
21259 (exit $ac_status); }; }; then
21260 ac_cv_sizeof_long_long=`cat conftest.val`
21262 echo "$as_me: program exited with status
$ac_status" >&5
21263 echo "$as_me: failed program was
:" >&5
21264 sed 's/^/| /' conftest.$ac_ext >&5
21266 ( exit $ac_status )
21267 if test "$ac_cv_type_long_long" = yes; then
21268 { { echo "$as_me:$LINENO: error
: cannot compute sizeof
(long long
)
21269 See \
`config.log' for more details." >&5
21270 echo "$as_me: error: cannot compute sizeof (long long)
21271 See \`config.log
' for more details." >&2;}
21272 { (exit 77); exit 77; }; }
21274 ac_cv_sizeof_long_long=0
21277 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
21281 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
21282 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6; }
21286 cat >>confdefs.h <<_ACEOF
21287 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
21291 if test "$ac_cv_sizeof_long_long" != "0"; then
21292 CPPFLAGS="-D_INCLUDE_LONGLONG $CPPFLAGS"
21296 { echo "$as_me:$LINENO: checking for long long" >&5
21297 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
21298 if test "${ac_cv_type_long_long+set}" = set; then
21299 echo $ECHO_N "(cached) $ECHO_C" >&6
21301 cat >conftest.$ac_ext <<_ACEOF
21304 cat confdefs.h >>conftest.$ac_ext
21305 cat >>conftest.$ac_ext <<_ACEOF
21306 /* end confdefs.h. */
21307 $ac_includes_default
21308 typedef long long ac__type_new_;
21312 if ((ac__type_new_ *) 0)
21314 if (sizeof (ac__type_new_))
21320 rm -f conftest.$ac_objext
21321 if { (ac_try="$ac_compile"
21322 case "(($ac_try" in
21323 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21324 *) ac_try_echo=$ac_try;;
21326 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21327 (eval "$ac_compile") 2>conftest.er1
21329 grep -v '^
*+' conftest.er1 >conftest.err
21331 cat conftest.err >&5
21332 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21333 (exit $ac_status); } && {
21334 test -z "$ac_c_werror_flag" ||
21335 test ! -s conftest.err
21336 } && test -s conftest.$ac_objext; then
21337 ac_cv_type_long_long=yes
21339 echo "$as_me: failed program was:" >&5
21340 sed 's
/^
/| /' conftest.$ac_ext >&5
21342 ac_cv_type_long_long=no
21345 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21347 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
21348 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
21350 # The cast to long int works around a bug in the HP C Compiler
21351 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
21352 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
21353 # This bug is HP SR number 8606223364.
21354 { echo "$as_me:$LINENO: checking size of long long" >&5
21355 echo $ECHO_N "checking size of long long... $ECHO_C" >&6; }
21356 if test "${ac_cv_sizeof_long_long+set}" = set; then
21357 echo $ECHO_N "(cached) $ECHO_C" >&6
21359 if test "$cross_compiling" = yes; then
21360 # Depending upon the size, compute the lo and hi bounds.
21361 cat >conftest.
$ac_ext <<_ACEOF
21364 cat confdefs.h
>>conftest.
$ac_ext
21365 cat >>conftest.
$ac_ext <<_ACEOF
21366 /* end confdefs.h. */
21367 $ac_includes_default
21368 typedef long long ac__type_sizeof_;
21372 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
21379 rm -f conftest.
$ac_objext
21380 if { (ac_try
="$ac_compile"
21381 case "(($ac_try" in
21382 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
21383 *) ac_try_echo=$ac_try;;
21385 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21386 (eval "$ac_compile") 2>conftest.er1
21388 grep -v '^ *+' conftest.er1 >conftest.err
21390 cat conftest.err >&5
21391 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21392 (exit $ac_status); } && {
21393 test -z "$ac_c_werror_flag" ||
21394 test ! -s conftest.err
21395 } && test -s conftest.$ac_objext; then
21398 cat >conftest.$ac_ext <<_ACEOF
21401 cat confdefs.h >>conftest.$ac_ext
21402 cat >>conftest.$ac_ext <<_ACEOF
21403 /* end confdefs.h. */
21404 $ac_includes_default
21405 typedef long long ac__type_sizeof_;
21409 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21416 rm -f conftest.$ac_objext
21417 if { (ac_try="$ac_compile"
21418 case "(($ac_try" in
21419 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
21420 *) ac_try_echo
=$ac_try;;
21422 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21423 (eval "$ac_compile") 2>conftest.er1
21425 grep -v '^ *+' conftest.er1
>conftest.err
21427 cat conftest.err
>&5
21428 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21429 (exit $ac_status); } && {
21430 test -z "$ac_c_werror_flag" ||
21431 test ! -s conftest.err
21432 } && test -s conftest.
$ac_objext; then
21433 ac_hi
=$ac_mid; break
21435 echo "$as_me: failed program was:" >&5
21436 sed 's/^/| /' conftest.
$ac_ext >&5
21438 ac_lo
=`expr $ac_mid + 1`
21439 if test $ac_lo -le $ac_mid; then
21443 ac_mid
=`expr 2 '*' $ac_mid + 1`
21446 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21449 echo "$as_me: failed program was:" >&5
21450 sed 's/^/| /' conftest.
$ac_ext >&5
21452 cat >conftest.
$ac_ext <<_ACEOF
21455 cat confdefs.h
>>conftest.
$ac_ext
21456 cat >>conftest.
$ac_ext <<_ACEOF
21457 /* end confdefs.h. */
21458 $ac_includes_default
21459 typedef long long ac__type_sizeof_;
21463 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
21470 rm -f conftest.
$ac_objext
21471 if { (ac_try
="$ac_compile"
21472 case "(($ac_try" in
21473 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
21474 *) ac_try_echo=$ac_try;;
21476 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21477 (eval "$ac_compile") 2>conftest.er1
21479 grep -v '^ *+' conftest.er1 >conftest.err
21481 cat conftest.err >&5
21482 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21483 (exit $ac_status); } && {
21484 test -z "$ac_c_werror_flag" ||
21485 test ! -s conftest.err
21486 } && test -s conftest.$ac_objext; then
21489 cat >conftest.$ac_ext <<_ACEOF
21492 cat confdefs.h >>conftest.$ac_ext
21493 cat >>conftest.$ac_ext <<_ACEOF
21494 /* end confdefs.h. */
21495 $ac_includes_default
21496 typedef long long ac__type_sizeof_;
21500 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
21507 rm -f conftest.$ac_objext
21508 if { (ac_try="$ac_compile"
21509 case "(($ac_try" in
21510 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
21511 *) ac_try_echo
=$ac_try;;
21513 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21514 (eval "$ac_compile") 2>conftest.er1
21516 grep -v '^ *+' conftest.er1
>conftest.err
21518 cat conftest.err
>&5
21519 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21520 (exit $ac_status); } && {
21521 test -z "$ac_c_werror_flag" ||
21522 test ! -s conftest.err
21523 } && test -s conftest.
$ac_objext; then
21524 ac_lo
=$ac_mid; break
21526 echo "$as_me: failed program was:" >&5
21527 sed 's/^/| /' conftest.
$ac_ext >&5
21529 ac_hi
=`expr '(' $ac_mid ')' - 1`
21530 if test $ac_mid -le $ac_hi; then
21534 ac_mid
=`expr 2 '*' $ac_mid`
21537 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21540 echo "$as_me: failed program was:" >&5
21541 sed 's/^/| /' conftest.
$ac_ext >&5
21546 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21549 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21550 # Binary search between lo and hi bounds.
21551 while test "x$ac_lo" != "x$ac_hi"; do
21552 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
21553 cat >conftest.
$ac_ext <<_ACEOF
21556 cat confdefs.h
>>conftest.
$ac_ext
21557 cat >>conftest.
$ac_ext <<_ACEOF
21558 /* end confdefs.h. */
21559 $ac_includes_default
21560 typedef long long ac__type_sizeof_;
21564 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21571 rm -f conftest.
$ac_objext
21572 if { (ac_try
="$ac_compile"
21573 case "(($ac_try" in
21574 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
21575 *) ac_try_echo=$ac_try;;
21577 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21578 (eval "$ac_compile") 2>conftest.er1
21580 grep -v '^ *+' conftest.er1 >conftest.err
21582 cat conftest.err >&5
21583 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21584 (exit $ac_status); } && {
21585 test -z "$ac_c_werror_flag" ||
21586 test ! -s conftest.err
21587 } && test -s conftest.$ac_objext; then
21590 echo "$as_me: failed program was:" >&5
21591 sed 's/^/| /' conftest.$ac_ext >&5
21593 ac_lo=`expr '(' $ac_mid ')' + 1`
21596 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21599 ?*) ac_cv_sizeof_long_long=$ac_lo;;
21600 '') if test "$ac_cv_type_long_long" = yes; then
21601 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
21602 See \`config.log
' for more details." >&5
21603 echo "$as_me: error: cannot compute sizeof (long long)
21604 See \`config.log' for more details.
" >&2;}
21605 { (exit 77); exit 77; }; }
21607 ac_cv_sizeof_long_long=0
21611 cat >conftest.$ac_ext <<_ACEOF
21614 cat confdefs.h >>conftest.$ac_ext
21615 cat >>conftest.$ac_ext <<_ACEOF
21616 /* end confdefs.h. */
21617 $ac_includes_default
21618 typedef long long ac__type_sizeof_;
21619 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
21620 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
21622 #include <stdlib.h>
21627 FILE *f = fopen ("conftest.val
", "w
");
21630 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
21632 long int i = longval ();
21633 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21635 fprintf (f, "%ld
\n", i);
21639 unsigned long int i = ulongval ();
21640 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21642 fprintf (f, "%lu
\n", i);
21644 return ferror (f) || fclose (f) != 0;
21650 rm -f conftest$ac_exeext
21651 if { (ac_try="$ac_link"
21652 case "(($ac_try" in
21653 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21654 *) ac_try_echo=$ac_try;;
21656 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
21657 (eval "$ac_link") 2>&5
21659 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
21660 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
21661 { (case "(($ac_try" in
21662 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21663 *) ac_try_echo=$ac_try;;
21665 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
21666 (eval "$ac_try") 2>&5
21668 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
21669 (exit $ac_status); }; }; then
21670 ac_cv_sizeof_long_long=`cat conftest.val`
21672 echo "$as_me: program exited with status
$ac_status" >&5
21673 echo "$as_me: failed program was
:" >&5
21674 sed 's/^/| /' conftest.$ac_ext >&5
21676 ( exit $ac_status )
21677 if test "$ac_cv_type_long_long" = yes; then
21678 { { echo "$as_me:$LINENO: error
: cannot compute sizeof
(long long
)
21679 See \
`config.log' for more details." >&5
21680 echo "$as_me: error: cannot compute sizeof (long long)
21681 See \`config.log
' for more details." >&2;}
21682 { (exit 77); exit 77; }; }
21684 ac_cv_sizeof_long_long=0
21687 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
21691 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
21692 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6; }
21696 cat >>confdefs.h <<_ACEOF
21697 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
21703 { echo "$as_me:$LINENO: checking for wchar_t" >&5
21704 echo $ECHO_N "checking for wchar_t... $ECHO_C" >&6; }
21705 if test "${ac_cv_type_wchar_t+set}" = set; then
21706 echo $ECHO_N "(cached) $ECHO_C" >&6
21708 cat >conftest.$ac_ext <<_ACEOF
21711 cat confdefs.h >>conftest.$ac_ext
21712 cat >>conftest.$ac_ext <<_ACEOF
21713 /* end confdefs.h. */
21715 /* DJGPP's wchar_t is now a keyword
in C
++ (still not C though
) */
21716 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
21717 # error "fake wchar_t"
21719 #ifdef HAVE_WCHAR_H
21721 # include <stddef.h>
21723 # include <wchar.h>
21725 #ifdef HAVE_STDLIB_H
21726 # include <stdlib.h>
21732 typedef wchar_t ac__type_new_
;
21736 if ((ac__type_new_
*) 0)
21738 if (sizeof
(ac__type_new_
))
21744 rm -f conftest.
$ac_objext
21745 if { (ac_try
="$ac_compile"
21746 case "(($ac_try" in
21747 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
21748 *) ac_try_echo=$ac_try;;
21750 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21751 (eval "$ac_compile") 2>conftest.er1
21753 grep -v '^ *+' conftest.er1 >conftest.err
21755 cat conftest.err >&5
21756 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21757 (exit $ac_status); } && {
21758 test -z "$ac_c_werror_flag" ||
21759 test ! -s conftest.err
21760 } && test -s conftest.$ac_objext; then
21761 ac_cv_type_wchar_t=yes
21763 echo "$as_me: failed program was:" >&5
21764 sed 's/^/| /' conftest.$ac_ext >&5
21766 ac_cv_type_wchar_t=no
21769 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21771 { echo "$as_me:$LINENO: result: $ac_cv_type_wchar_t" >&5
21772 echo "${ECHO_T}$ac_cv_type_wchar_t" >&6; }
21774 # The cast to long int works around a bug in the HP C Compiler
21775 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
21776 # declarations like `int a3
[[(sizeof
(unsigned char
)) >= 0]];'.
21777 # This bug is HP SR number 8606223364.
21778 { echo "$as_me:$LINENO: checking size of wchar_t" >&5
21779 echo $ECHO_N "checking size of wchar_t... $ECHO_C" >&6; }
21780 if test "${ac_cv_sizeof_wchar_t+set}" = set; then
21781 echo $ECHO_N "(cached) $ECHO_C" >&6
21783 if test "$cross_compiling" = yes; then
21784 # Depending upon the size, compute the lo and hi bounds.
21785 cat >conftest.$ac_ext <<_ACEOF
21788 cat confdefs.h >>conftest.$ac_ext
21789 cat >>conftest.$ac_ext <<_ACEOF
21790 /* end confdefs.h. */
21792 /* DJGPP's wchar_t is now a keyword
in C
++ (still not C though
) */
21793 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
21794 # error "fake wchar_t"
21796 #ifdef HAVE_WCHAR_H
21798 # include <stddef.h>
21800 # include <wchar.h>
21802 #ifdef HAVE_STDLIB_H
21803 # include <stdlib.h>
21809 typedef wchar_t ac__type_sizeof_
;
21813 static int test_array
[1 - 2 * !(((long int
) (sizeof
(ac__type_sizeof_
))) >= 0)];
21820 rm -f conftest.
$ac_objext
21821 if { (ac_try
="$ac_compile"
21822 case "(($ac_try" in
21823 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
21824 *) ac_try_echo=$ac_try;;
21826 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21827 (eval "$ac_compile") 2>conftest.er1
21829 grep -v '^ *+' conftest.er1 >conftest.err
21831 cat conftest.err >&5
21832 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21833 (exit $ac_status); } && {
21834 test -z "$ac_c_werror_flag" ||
21835 test ! -s conftest.err
21836 } && test -s conftest.$ac_objext; then
21839 cat >conftest.$ac_ext <<_ACEOF
21842 cat confdefs.h >>conftest.$ac_ext
21843 cat >>conftest.$ac_ext <<_ACEOF
21844 /* end confdefs.h. */
21846 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
21847 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
21848 # error "fake wchar_t"
21850 #ifdef HAVE_WCHAR_H
21852 # include <stddef.h>
21854 # include <wchar.h>
21856 #ifdef HAVE_STDLIB_H
21857 # include <stdlib.h>
21863 typedef wchar_t ac__type_sizeof_;
21867 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21874 rm -f conftest.$ac_objext
21875 if { (ac_try="$ac_compile"
21876 case "(($ac_try" in
21877 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
21878 *) ac_try_echo
=$ac_try;;
21880 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21881 (eval "$ac_compile") 2>conftest.er1
21883 grep -v '^ *+' conftest.er1
>conftest.err
21885 cat conftest.err
>&5
21886 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21887 (exit $ac_status); } && {
21888 test -z "$ac_c_werror_flag" ||
21889 test ! -s conftest.err
21890 } && test -s conftest.
$ac_objext; then
21891 ac_hi
=$ac_mid; break
21893 echo "$as_me: failed program was:" >&5
21894 sed 's/^/| /' conftest.
$ac_ext >&5
21896 ac_lo
=`expr $ac_mid + 1`
21897 if test $ac_lo -le $ac_mid; then
21901 ac_mid
=`expr 2 '*' $ac_mid + 1`
21904 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21907 echo "$as_me: failed program was:" >&5
21908 sed 's/^/| /' conftest.
$ac_ext >&5
21910 cat >conftest.
$ac_ext <<_ACEOF
21913 cat confdefs.h
>>conftest.
$ac_ext
21914 cat >>conftest.
$ac_ext <<_ACEOF
21915 /* end confdefs.h. */
21917 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
21918 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
21919 # error "fake wchar_t"
21921 #ifdef HAVE_WCHAR_H
21923 # include <stddef.h>
21925 # include <wchar.h>
21927 #ifdef HAVE_STDLIB_H
21928 # include <stdlib.h>
21934 typedef wchar_t ac__type_sizeof_;
21938 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
21945 rm -f conftest.
$ac_objext
21946 if { (ac_try
="$ac_compile"
21947 case "(($ac_try" in
21948 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
21949 *) ac_try_echo=$ac_try;;
21951 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21952 (eval "$ac_compile") 2>conftest.er1
21954 grep -v '^ *+' conftest.er1 >conftest.err
21956 cat conftest.err >&5
21957 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21958 (exit $ac_status); } && {
21959 test -z "$ac_c_werror_flag" ||
21960 test ! -s conftest.err
21961 } && test -s conftest.$ac_objext; then
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_sizeof_;
21992 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
21999 rm -f conftest.$ac_objext
22000 if { (ac_try="$ac_compile"
22001 case "(($ac_try" in
22002 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
22003 *) ac_try_echo
=$ac_try;;
22005 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22006 (eval "$ac_compile") 2>conftest.er1
22008 grep -v '^ *+' conftest.er1
>conftest.err
22010 cat conftest.err
>&5
22011 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22012 (exit $ac_status); } && {
22013 test -z "$ac_c_werror_flag" ||
22014 test ! -s conftest.err
22015 } && test -s conftest.
$ac_objext; then
22016 ac_lo
=$ac_mid; break
22018 echo "$as_me: failed program was:" >&5
22019 sed 's/^/| /' conftest.
$ac_ext >&5
22021 ac_hi
=`expr '(' $ac_mid ')' - 1`
22022 if test $ac_mid -le $ac_hi; then
22026 ac_mid
=`expr 2 '*' $ac_mid`
22029 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
22032 echo "$as_me: failed program was:" >&5
22033 sed 's/^/| /' conftest.
$ac_ext >&5
22038 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
22041 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
22042 # Binary search between lo and hi bounds.
22043 while test "x$ac_lo" != "x$ac_hi"; do
22044 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
22045 cat >conftest.
$ac_ext <<_ACEOF
22048 cat confdefs.h
>>conftest.
$ac_ext
22049 cat >>conftest.
$ac_ext <<_ACEOF
22050 /* end confdefs.h. */
22052 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
22053 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
22054 # error "fake wchar_t"
22056 #ifdef HAVE_WCHAR_H
22058 # include <stddef.h>
22060 # include <wchar.h>
22062 #ifdef HAVE_STDLIB_H
22063 # include <stdlib.h>
22069 typedef wchar_t ac__type_sizeof_;
22073 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22080 rm -f conftest.
$ac_objext
22081 if { (ac_try
="$ac_compile"
22082 case "(($ac_try" in
22083 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
22084 *) ac_try_echo=$ac_try;;
22086 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22087 (eval "$ac_compile") 2>conftest.er1
22089 grep -v '^ *+' conftest.er1 >conftest.err
22091 cat conftest.err >&5
22092 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22093 (exit $ac_status); } && {
22094 test -z "$ac_c_werror_flag" ||
22095 test ! -s conftest.err
22096 } && test -s conftest.$ac_objext; then
22099 echo "$as_me: failed program was:" >&5
22100 sed 's/^/| /' conftest.$ac_ext >&5
22102 ac_lo=`expr '(' $ac_mid ')' + 1`
22105 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22108 ?*) ac_cv_sizeof_wchar_t=$ac_lo;;
22109 '') if test "$ac_cv_type_wchar_t" = yes; then
22110 { { echo "$as_me:$LINENO: error: cannot compute sizeof (wchar_t)
22111 See \`config.log
' for more details." >&5
22112 echo "$as_me: error: cannot compute sizeof (wchar_t)
22113 See \`config.log' for more details.
" >&2;}
22114 { (exit 77); exit 77; }; }
22116 ac_cv_sizeof_wchar_t=0
22120 cat >conftest.$ac_ext <<_ACEOF
22123 cat confdefs.h >>conftest.$ac_ext
22124 cat >>conftest.$ac_ext <<_ACEOF
22125 /* end confdefs.h. */
22127 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
22128 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
22129 # error "fake wchar_t
"
22131 #ifdef HAVE_WCHAR_H
22133 # include <stddef.h>
22135 # include <wchar.h>
22137 #ifdef HAVE_STDLIB_H
22138 # include <stdlib.h>
22144 typedef wchar_t ac__type_sizeof_;
22145 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
22146 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
22148 #include <stdlib.h>
22153 FILE *f = fopen ("conftest.val
", "w
");
22156 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
22158 long int i = longval ();
22159 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22161 fprintf (f, "%ld
\n", i);
22165 unsigned long int i = ulongval ();
22166 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22168 fprintf (f, "%lu
\n", i);
22170 return ferror (f) || fclose (f) != 0;
22176 rm -f conftest$ac_exeext
22177 if { (ac_try="$ac_link"
22178 case "(($ac_try" in
22179 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22180 *) ac_try_echo=$ac_try;;
22182 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
22183 (eval "$ac_link") 2>&5
22185 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
22186 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
22187 { (case "(($ac_try" in
22188 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22189 *) ac_try_echo=$ac_try;;
22191 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
22192 (eval "$ac_try") 2>&5
22194 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
22195 (exit $ac_status); }; }; then
22196 ac_cv_sizeof_wchar_t=`cat conftest.val`
22198 echo "$as_me: program exited with status
$ac_status" >&5
22199 echo "$as_me: failed program was
:" >&5
22200 sed 's/^/| /' conftest.$ac_ext >&5
22202 ( exit $ac_status )
22203 if test "$ac_cv_type_wchar_t" = yes; then
22204 { { echo "$as_me:$LINENO: error
: cannot compute sizeof
(wchar_t
)
22205 See \
`config.log' for more details." >&5
22206 echo "$as_me: error: cannot compute sizeof (wchar_t)
22207 See \`config.log
' for more details." >&2;}
22208 { (exit 77); exit 77; }; }
22210 ac_cv_sizeof_wchar_t=0
22213 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22217 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_wchar_t" >&5
22218 echo "${ECHO_T}$ac_cv_sizeof_wchar_t" >&6; }
22222 cat >>confdefs.h <<_ACEOF
22223 #define SIZEOF_WCHAR_T $ac_cv_sizeof_wchar_t
22227 if test "$ac_cv_sizeof_wchar_t" != "0"; then
22233 { echo "$as_me:$LINENO: checking for va_copy" >&5
22234 echo $ECHO_N "checking for va_copy... $ECHO_C" >&6; }
22235 if test "${wx_cv_func_va_copy+set}" = set; then
22236 echo $ECHO_N "(cached) $ECHO_C" >&6
22240 ac_cpp='$CXXCPP $CPPFLAGS'
22241 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
22242 ac_link='$CXX -o conftest
$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
22243 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22245 cat >conftest.$ac_ext <<_ACEOF
22247 #include <stdarg.h>
22248 void foo(char *f, ...)
22262 rm -f conftest.$ac_objext conftest$ac_exeext
22263 if { (ac_try="$ac_link"
22264 case "(($ac_try" in
22265 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22266 *) ac_try_echo=$ac_try;;
22268 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22269 (eval "$ac_link") 2>conftest.er1
22271 grep -v '^
*+' conftest.er1 >conftest.err
22273 cat conftest.err >&5
22274 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22275 (exit $ac_status); } && {
22276 test -z "$ac_cxx_werror_flag" ||
22277 test ! -s conftest.err
22278 } && test -s conftest$ac_exeext &&
22279 $as_test_x conftest$ac_exeext; then
22280 wx_cv_func_va_copy=yes
22282 echo "$as_me: failed program was:" >&5
22283 sed 's
/^
/| /' conftest.$ac_ext >&5
22285 wx_cv_func_va_copy=no
22289 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
22290 conftest$ac_exeext conftest.$ac_ext
22292 ac_cpp='$CPP $CPPFLAGS'
22293 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
22294 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
22295 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22300 { echo "$as_me:$LINENO: result: $wx_cv_func_va_copy" >&5
22301 echo "${ECHO_T}$wx_cv_func_va_copy" >&6; }
22303 if test $wx_cv_func_va_copy = "yes"; then
22304 cat >>confdefs.h <<\_ACEOF
22305 #define HAVE_VA_COPY 1
22309 { echo "$as_me:$LINENO: checking if va_list can be copied by value" >&5
22310 echo $ECHO_N "checking if va_list can be copied by value... $ECHO_C" >&6; }
22311 if test "${wx_cv_type_va_list_lvalue+set}" = set; then
22312 echo $ECHO_N "(cached) $ECHO_C" >&6
22315 if test "$cross_compiling" = yes; then
22316 wx_cv_type_va_list_lvalue=yes
22319 cat >conftest.$ac_ext <<_ACEOF
22321 #include <stdarg.h>
22322 int foo(char *f, ...)
22327 if ( va_arg(ap1, int) != 17 || va_arg(ap2, int) != 17 )
22335 return foo("hi", 17);
22338 rm -f conftest$ac_exeext
22339 if { (ac_try="$ac_link"
22340 case "(($ac_try" in
22341 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22342 *) ac_try_echo=$ac_try;;
22344 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22345 (eval "$ac_link") 2>&5
22347 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22348 (exit $ac_status); } && { ac_try='.
/conftest
$ac_exeext'
22349 { (case "(($ac_try" in
22350 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22351 *) ac_try_echo=$ac_try;;
22353 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22354 (eval "$ac_try") 2>&5
22356 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22357 (exit $ac_status); }; }; then
22358 wx_cv_type_va_list_lvalue=yes
22360 echo "$as_me: program exited with status $ac_status" >&5
22361 echo "$as_me: failed program was:" >&5
22362 sed 's
/^
/| /' conftest.$ac_ext >&5
22364 ( exit $ac_status )
22365 wx_cv_type_va_list_lvalue=no
22367 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22374 { echo "$as_me:$LINENO: result: $wx_cv_type_va_list_lvalue" >&5
22375 echo "${ECHO_T}$wx_cv_type_va_list_lvalue" >&6; }
22377 if test $wx_cv_type_va_list_lvalue != "yes"; then
22378 cat >>confdefs.h <<\_ACEOF
22379 #define VA_LIST_IS_ARRAY 1
22385 if test "$wxUSE_VARARG_MACROS" = "yes"; then
22387 { echo "$as_me:$LINENO: checking whether the compiler supports variadic macros" >&5
22388 echo $ECHO_N "checking whether the compiler supports variadic macros... $ECHO_C" >&6; }
22389 if test "${wx_cv_have_variadic_macros+set}" = set; then
22390 echo $ECHO_N "(cached) $ECHO_C" >&6
22394 ac_cpp='$CXXCPP $CPPFLAGS'
22395 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
22396 ac_link='$CXX -o conftest
$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
22397 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22399 cat >conftest.$ac_ext <<_ACEOF
22402 cat confdefs.h >>conftest.$ac_ext
22403 cat >>conftest.$ac_ext <<_ACEOF
22404 /* end confdefs.h. */
22407 #define test(fmt, ...) printf(fmt, __VA_ARGS__)
22413 test("%s %d %p", "test", 1, 0);
22420 rm -f conftest.$ac_objext
22421 if { (ac_try="$ac_compile"
22422 case "(($ac_try" in
22423 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22424 *) ac_try_echo=$ac_try;;
22426 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22427 (eval "$ac_compile") 2>conftest.er1
22429 grep -v '^
*+' conftest.er1 >conftest.err
22431 cat conftest.err >&5
22432 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22433 (exit $ac_status); } && {
22434 test -z "$ac_cxx_werror_flag" ||
22435 test ! -s conftest.err
22436 } && test -s conftest.$ac_objext; then
22437 wx_cv_have_variadic_macros=yes
22439 echo "$as_me: failed program was:" >&5
22440 sed 's
/^
/| /' conftest.$ac_ext >&5
22442 wx_cv_have_variadic_macros=no
22446 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22448 ac_cpp='$CPP $CPPFLAGS'
22449 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
22450 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
22451 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22456 { echo "$as_me:$LINENO: result: $wx_cv_have_variadic_macros" >&5
22457 echo "${ECHO_T}$wx_cv_have_variadic_macros" >&6; }
22459 if test $wx_cv_have_variadic_macros = "yes"; then
22460 cat >>confdefs.h <<\_ACEOF
22461 #define HAVE_VARIADIC_MACROS 1
22467 # Check whether --enable-largefile was given.
22468 if test "${enable_largefile+set}" = set; then
22469 enableval=$enable_largefile;
22472 if test "$enable_largefile" != no; then
22475 { echo "$as_me:$LINENO: checking for _FILE_OFFSET_BITS value needed for large files" >&5
22476 echo $ECHO_N "checking for _FILE_OFFSET_BITS value needed for large files... $ECHO_C" >&6; }
22477 if test "${ac_cv_sys_file_offset_bits+set}" = set; then
22478 echo $ECHO_N "(cached) $ECHO_C" >&6
22481 cat >conftest.$ac_ext <<_ACEOF
22484 cat confdefs.h >>conftest.$ac_ext
22485 cat >>conftest.$ac_ext <<_ACEOF
22486 /* end confdefs.h. */
22487 #define _FILE_OFFSET_BITS 64
22488 #include <sys/types.h>
22493 unsigned int field: sizeof(off_t) == 8;
22500 rm -f conftest.$ac_objext
22501 if { (ac_try="$ac_compile"
22502 case "(($ac_try" in
22503 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22504 *) ac_try_echo=$ac_try;;
22506 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22507 (eval "$ac_compile") 2>conftest.er1
22509 grep -v '^
*+' conftest.er1 >conftest.err
22511 cat conftest.err >&5
22512 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22513 (exit $ac_status); } && {
22514 test -z "$ac_c_werror_flag" ||
22515 test ! -s conftest.err
22516 } && test -s conftest.$ac_objext; then
22517 ac_cv_sys_file_offset_bits=64
22519 echo "$as_me: failed program was:" >&5
22520 sed 's
/^
/| /' conftest.$ac_ext >&5
22522 ac_cv_sys_file_offset_bits=no
22525 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22529 { echo "$as_me:$LINENO: result: $ac_cv_sys_file_offset_bits" >&5
22530 echo "${ECHO_T}$ac_cv_sys_file_offset_bits" >&6; }
22532 if test "$ac_cv_sys_file_offset_bits" != no; then
22534 cat >>confdefs.h <<_ACEOF
22535 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
22540 if test "x$wx_largefile" != "xyes"; then
22542 { echo "$as_me:$LINENO: checking for _LARGE_FILES value needed for large files" >&5
22543 echo $ECHO_N "checking for _LARGE_FILES value needed for large files... $ECHO_C" >&6; }
22544 if test "${ac_cv_sys_large_files+set}" = set; then
22545 echo $ECHO_N "(cached) $ECHO_C" >&6
22548 cat >conftest.$ac_ext <<_ACEOF
22551 cat confdefs.h >>conftest.$ac_ext
22552 cat >>conftest.$ac_ext <<_ACEOF
22553 /* end confdefs.h. */
22554 #define _LARGE_FILES 1
22555 #include <sys/types.h>
22560 unsigned int field: sizeof(off_t) == 8;
22567 rm -f conftest.$ac_objext
22568 if { (ac_try="$ac_compile"
22569 case "(($ac_try" in
22570 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22571 *) ac_try_echo=$ac_try;;
22573 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22574 (eval "$ac_compile") 2>conftest.er1
22576 grep -v '^
*+' conftest.er1 >conftest.err
22578 cat conftest.err >&5
22579 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22580 (exit $ac_status); } && {
22581 test -z "$ac_c_werror_flag" ||
22582 test ! -s conftest.err
22583 } && test -s conftest.$ac_objext; then
22584 ac_cv_sys_large_files=1
22586 echo "$as_me: failed program was:" >&5
22587 sed 's
/^
/| /' conftest.$ac_ext >&5
22589 ac_cv_sys_large_files=no
22592 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22596 { echo "$as_me:$LINENO: result: $ac_cv_sys_large_files" >&5
22597 echo "${ECHO_T}$ac_cv_sys_large_files" >&6; }
22599 if test "$ac_cv_sys_large_files" != no; then
22601 cat >>confdefs.h <<_ACEOF
22602 #define _LARGE_FILES $ac_cv_sys_large_files
22609 { echo "$as_me:$LINENO: checking if large file support is available" >&5
22610 echo $ECHO_N "checking if large file support is available... $ECHO_C" >&6; }
22611 if test "x$wx_largefile" = "xyes"; then
22612 cat >>confdefs.h <<\_ACEOF
22613 #define HAVE_LARGEFILE_SUPPORT 1
22617 { echo "$as_me:$LINENO: result: $wx_largefile" >&5
22618 echo "${ECHO_T}$wx_largefile" >&6; }
22622 if test "x$wx_largefile" = "xyes"; then
22623 if test "x$ac_cv_sys_file_offset_bits" = "x64"; then
22624 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES"
22626 if test "$USE_HPUX" = 1 -a "$GXX" = "yes"; then
22627 { echo "$as_me:$LINENO: checking if -D__STDC_EXT__ is required" >&5
22628 echo $ECHO_N "checking if -D__STDC_EXT__ is required... $ECHO_C" >&6; }
22629 if test "${wx_cv_STDC_EXT_required+set}" = set; then
22630 echo $ECHO_N "(cached) $ECHO_C" >&6
22634 ac_cpp='$CXXCPP $CPPFLAGS'
22635 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
22636 ac_link='$CXX -o conftest
$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
22637 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22639 cat >conftest.$ac_ext <<_ACEOF
22642 cat confdefs.h >>conftest.$ac_ext
22643 cat >>conftest.$ac_ext <<_ACEOF
22644 /* end confdefs.h. */
22650 #ifndef __STDC_EXT__
22658 rm -f conftest.$ac_objext
22659 if { (ac_try="$ac_compile"
22660 case "(($ac_try" in
22661 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22662 *) ac_try_echo=$ac_try;;
22664 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22665 (eval "$ac_compile") 2>conftest.er1
22667 grep -v '^
*+' conftest.er1 >conftest.err
22669 cat conftest.err >&5
22670 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22671 (exit $ac_status); } && {
22672 test -z "$ac_cxx_werror_flag" ||
22673 test ! -s conftest.err
22674 } && test -s conftest.$ac_objext; then
22675 wx_cv_STDC_EXT_required=no
22677 echo "$as_me: failed program was:" >&5
22678 sed 's
/^
/| /' conftest.$ac_ext >&5
22680 wx_cv_STDC_EXT_required=yes
22684 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22686 ac_cpp='$CPP $CPPFLAGS'
22687 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
22688 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
22689 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22694 { echo "$as_me:$LINENO: result: $wx_cv_STDC_EXT_required" >&5
22695 echo "${ECHO_T}$wx_cv_STDC_EXT_required" >&6; }
22696 if test "x$wx_cv_STDC_EXT_required" = "xyes"; then
22697 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -D__STDC_EXT__"
22701 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_LARGE_FILES"
22703 { echo "$as_me:$LINENO: checking for _LARGEFILE_SOURCE value needed for large files" >&5
22704 echo $ECHO_N "checking for _LARGEFILE_SOURCE value needed for large files... $ECHO_C" >&6; }
22705 if test "${ac_cv_sys_largefile_source+set}" = set; then
22706 echo $ECHO_N "(cached) $ECHO_C" >&6
22709 cat >conftest.$ac_ext <<_ACEOF
22712 cat confdefs.h >>conftest.$ac_ext
22713 cat >>conftest.$ac_ext <<_ACEOF
22714 /* end confdefs.h. */
22715 #include <sys/types.h> /* for off_t */
22720 int (*fp) (FILE *, off_t, int) = fseeko;
22721 return fseeko (stdin, 0, 0) && fp (stdin, 0, 0);
22726 rm -f conftest.$ac_objext conftest$ac_exeext
22727 if { (ac_try="$ac_link"
22728 case "(($ac_try" in
22729 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22730 *) ac_try_echo=$ac_try;;
22732 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22733 (eval "$ac_link") 2>conftest.er1
22735 grep -v '^
*+' conftest.er1 >conftest.err
22737 cat conftest.err >&5
22738 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22739 (exit $ac_status); } && {
22740 test -z "$ac_c_werror_flag" ||
22741 test ! -s conftest.err
22742 } && test -s conftest$ac_exeext &&
22743 $as_test_x conftest$ac_exeext; then
22744 ac_cv_sys_largefile_source=no; break
22746 echo "$as_me: failed program was:" >&5
22747 sed 's
/^
/| /' conftest.$ac_ext >&5
22752 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
22753 conftest$ac_exeext conftest.$ac_ext
22754 cat >conftest.$ac_ext <<_ACEOF
22757 cat confdefs.h >>conftest.$ac_ext
22758 cat >>conftest.$ac_ext <<_ACEOF
22759 /* end confdefs.h. */
22760 #define _LARGEFILE_SOURCE 1
22761 #include <sys/types.h> /* for off_t */
22766 int (*fp) (FILE *, off_t, int) = fseeko;
22767 return fseeko (stdin, 0, 0) && fp (stdin, 0, 0);
22772 rm -f conftest.$ac_objext conftest$ac_exeext
22773 if { (ac_try="$ac_link"
22774 case "(($ac_try" in
22775 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22776 *) ac_try_echo=$ac_try;;
22778 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22779 (eval "$ac_link") 2>conftest.er1
22781 grep -v '^
*+' conftest.er1 >conftest.err
22783 cat conftest.err >&5
22784 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22785 (exit $ac_status); } && {
22786 test -z "$ac_c_werror_flag" ||
22787 test ! -s conftest.err
22788 } && test -s conftest$ac_exeext &&
22789 $as_test_x conftest$ac_exeext; then
22790 ac_cv_sys_largefile_source=1; break
22792 echo "$as_me: failed program was:" >&5
22793 sed 's
/^
/| /' conftest.$ac_ext >&5
22798 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
22799 conftest$ac_exeext conftest.$ac_ext
22800 ac_cv_sys_largefile_source=unknown
22804 { echo "$as_me:$LINENO: result: $ac_cv_sys_largefile_source" >&5
22805 echo "${ECHO_T}$ac_cv_sys_largefile_source" >&6; }
22806 case $ac_cv_sys_largefile_source in #(
22809 cat >>confdefs.h <<_ACEOF
22810 #define _LARGEFILE_SOURCE $ac_cv_sys_largefile_source
22816 # We used to try defining _XOPEN_SOURCE=500 too, to work around a bug
22817 # in glibc 2.1.3, but that breaks too many other things.
22818 # If you want fseeko and ftello with glibc, upgrade to a fixed glibc.
22819 if test $ac_cv_sys_largefile_source != unknown; then
22821 cat >>confdefs.h <<\_ACEOF
22822 #define HAVE_FSEEKO 1
22827 if test "$ac_cv_sys_largefile_source" != no; then
22828 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_LARGEFILE_SOURCE=$ac_cv_sys_largefile_source"
22832 { echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
22833 echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6; }
22834 if test "${ac_cv_c_bigendian+set}" = set; then
22835 echo $ECHO_N "(cached) $ECHO_C" >&6
22837 ac_cv_c_bigendian=unknown
22838 # See if sys/param.h defines the BYTE_ORDER macro.
22839 cat >conftest.$ac_ext <<_ACEOF
22842 cat confdefs.h >>conftest.$ac_ext
22843 cat >>conftest.$ac_ext <<_ACEOF
22844 /* end confdefs.h. */
22845 #include <sys/types.h>
22846 #include <sys/param.h>
22851 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
22852 bogus endian macros
22858 rm -f conftest.$ac_objext
22859 if { (ac_try="$ac_compile"
22860 case "(($ac_try" in
22861 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22862 *) ac_try_echo=$ac_try;;
22864 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22865 (eval "$ac_compile") 2>conftest.er1
22867 grep -v '^
*+' conftest.er1 >conftest.err
22869 cat conftest.err >&5
22870 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22871 (exit $ac_status); } && {
22872 test -z "$ac_c_werror_flag" ||
22873 test ! -s conftest.err
22874 } && test -s conftest.$ac_objext; then
22875 # It does; now see whether it defined to BIG_ENDIAN or not.
22876 cat >conftest.$ac_ext <<_ACEOF
22879 cat confdefs.h >>conftest.$ac_ext
22880 cat >>conftest.$ac_ext <<_ACEOF
22881 /* end confdefs.h. */
22882 #include <sys/types.h>
22883 #include <sys/param.h>
22888 #if BYTE_ORDER != BIG_ENDIAN
22895 rm -f conftest.$ac_objext
22896 if { (ac_try="$ac_compile"
22897 case "(($ac_try" in
22898 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22899 *) ac_try_echo=$ac_try;;
22901 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22902 (eval "$ac_compile") 2>conftest.er1
22904 grep -v '^
*+' conftest.er1 >conftest.err
22906 cat conftest.err >&5
22907 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22908 (exit $ac_status); } && {
22909 test -z "$ac_c_werror_flag" ||
22910 test ! -s conftest.err
22911 } && test -s conftest.$ac_objext; then
22912 ac_cv_c_bigendian=yes
22914 echo "$as_me: failed program was:" >&5
22915 sed 's
/^
/| /' conftest.$ac_ext >&5
22917 ac_cv_c_bigendian=no
22920 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22922 echo "$as_me: failed program was:" >&5
22923 sed 's
/^
/| /' conftest.$ac_ext >&5
22928 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22929 if test $ac_cv_c_bigendian = unknown; then
22930 if test "$cross_compiling" = yes; then
22931 ac_cv_c_bigendian=unknown
22933 cat >conftest.$ac_ext <<_ACEOF
22936 cat confdefs.h >>conftest.$ac_ext
22937 cat >>conftest.$ac_ext <<_ACEOF
22938 /* end confdefs.h. */
22940 /* Are we little or big endian? From Harbison&Steele. */
22944 char c[sizeof (long)];
22947 exit (u.c[sizeof (long) - 1] == 1);
22950 rm -f conftest$ac_exeext
22951 if { (ac_try="$ac_link"
22952 case "(($ac_try" in
22953 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22954 *) ac_try_echo=$ac_try;;
22956 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22957 (eval "$ac_link") 2>&5
22959 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22960 (exit $ac_status); } && { ac_try='.
/conftest
$ac_exeext'
22961 { (case "(($ac_try" in
22962 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22963 *) ac_try_echo=$ac_try;;
22965 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22966 (eval "$ac_try") 2>&5
22968 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22969 (exit $ac_status); }; }; then
22970 ac_cv_c_bigendian=no
22972 echo "$as_me: program exited with status $ac_status" >&5
22973 echo "$as_me: failed program was:" >&5
22974 sed 's
/^
/| /' conftest.$ac_ext >&5
22976 ( exit $ac_status )
22977 ac_cv_c_bigendian=yes
22979 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22985 { echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
22986 echo "${ECHO_T}$ac_cv_c_bigendian" >&6; }
22987 if test $ac_cv_c_bigendian = unknown; then
22988 { 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
22989 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;}
22991 if test $ac_cv_c_bigendian = yes; then
22992 cat >>confdefs.h <<\_ACEOF
22993 #define WORDS_BIGENDIAN 1
23002 ac_cpp='$CXXCPP $CPPFLAGS'
23003 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
23004 ac_link='$CXX -o conftest
$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
23005 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23008 { echo "$as_me:$LINENO: checking for iostream" >&5
23009 echo $ECHO_N "checking for iostream... $ECHO_C" >&6; }
23010 if test "${ac_cv_header_iostream+set}" = set; then
23011 echo $ECHO_N "(cached) $ECHO_C" >&6
23013 cat >conftest.$ac_ext <<_ACEOF
23016 cat confdefs.h >>conftest.$ac_ext
23017 cat >>conftest.$ac_ext <<_ACEOF
23018 /* end confdefs.h. */
23021 #include <iostream>
23023 rm -f conftest.$ac_objext
23024 if { (ac_try="$ac_compile"
23025 case "(($ac_try" in
23026 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23027 *) ac_try_echo=$ac_try;;
23029 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23030 (eval "$ac_compile") 2>conftest.er1
23032 grep -v '^
*+' conftest.er1 >conftest.err
23034 cat conftest.err >&5
23035 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23036 (exit $ac_status); } && {
23037 test -z "$ac_cxx_werror_flag" ||
23038 test ! -s conftest.err
23039 } && test -s conftest.$ac_objext; then
23040 ac_cv_header_iostream=yes
23042 echo "$as_me: failed program was:" >&5
23043 sed 's
/^
/| /' conftest.$ac_ext >&5
23045 ac_cv_header_iostream=no
23048 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23050 { echo "$as_me:$LINENO: result: $ac_cv_header_iostream" >&5
23051 echo "${ECHO_T}$ac_cv_header_iostream" >&6; }
23055 if test "$ac_cv_header_iostream" = "yes" ; then
23058 cat >>confdefs.h <<\_ACEOF
23059 #define wxUSE_IOSTREAMH 1
23065 ac_cpp='$CPP $CPPFLAGS'
23066 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
23067 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
23068 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23073 { echo "$as_me:$LINENO: checking if C++ compiler supports bool" >&5
23074 echo $ECHO_N "checking if C++ compiler supports bool... $ECHO_C" >&6; }
23075 if test "${wx_cv_cpp_bool+set}" = set; then
23076 echo $ECHO_N "(cached) $ECHO_C" >&6
23081 ac_cpp='$CXXCPP $CPPFLAGS'
23082 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
23083 ac_link='$CXX -o conftest
$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
23084 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23087 cat >conftest.$ac_ext <<_ACEOF
23090 cat confdefs.h >>conftest.$ac_ext
23091 cat >>conftest.$ac_ext <<_ACEOF
23092 /* end confdefs.h. */
23107 rm -f conftest.$ac_objext
23108 if { (ac_try="$ac_compile"
23109 case "(($ac_try" in
23110 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23111 *) ac_try_echo=$ac_try;;
23113 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23114 (eval "$ac_compile") 2>conftest.er1
23116 grep -v '^
*+' conftest.er1 >conftest.err
23118 cat conftest.err >&5
23119 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23120 (exit $ac_status); } && {
23121 test -z "$ac_cxx_werror_flag" ||
23122 test ! -s conftest.err
23123 } && test -s conftest.$ac_objext; then
23128 echo "$as_me: failed program was:" >&5
23129 sed 's
/^
/| /' conftest.$ac_ext >&5
23137 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23140 ac_cpp='$CPP $CPPFLAGS'
23141 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
23142 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
23143 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23147 { echo "$as_me:$LINENO: result: $wx_cv_cpp_bool" >&5
23148 echo "${ECHO_T}$wx_cv_cpp_bool" >&6; }
23150 if test "$wx_cv_cpp_bool" = "yes"; then
23151 cat >>confdefs.h <<\_ACEOF
23152 #define HAVE_BOOL 1
23159 { echo "$as_me:$LINENO: checking if C++ compiler supports the explicit keyword" >&5
23160 echo $ECHO_N "checking if C++ compiler supports the explicit keyword... $ECHO_C" >&6; }
23161 if test "${wx_cv_explicit+set}" = set; then
23162 echo $ECHO_N "(cached) $ECHO_C" >&6
23167 ac_cpp='$CXXCPP $CPPFLAGS'
23168 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
23169 ac_link='$CXX -o conftest
$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
23170 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23173 cat >conftest.$ac_ext <<_ACEOF
23176 cat confdefs.h >>conftest.$ac_ext
23177 cat >>conftest.$ac_ext <<_ACEOF
23178 /* end confdefs.h. */
23180 class Foo { public: explicit Foo(int) {} };
23192 rm -f conftest.$ac_objext
23193 if { (ac_try="$ac_compile"
23194 case "(($ac_try" in
23195 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23196 *) ac_try_echo=$ac_try;;
23198 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23199 (eval "$ac_compile") 2>conftest.er1
23201 grep -v '^
*+' conftest.er1 >conftest.err
23203 cat conftest.err >&5
23204 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23205 (exit $ac_status); } && {
23206 test -z "$ac_cxx_werror_flag" ||
23207 test ! -s conftest.err
23208 } && test -s conftest.$ac_objext; then
23210 cat >conftest.$ac_ext <<_ACEOF
23213 cat confdefs.h >>conftest.$ac_ext
23214 cat >>conftest.$ac_ext <<_ACEOF
23215 /* end confdefs.h. */
23217 class Foo { public: explicit Foo(int) {} };
23218 static void TakeFoo(const Foo& foo) { }
23231 rm -f conftest.$ac_objext
23232 if { (ac_try="$ac_compile"
23233 case "(($ac_try" in
23234 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23235 *) ac_try_echo=$ac_try;;
23237 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23238 (eval "$ac_compile") 2>conftest.er1
23240 grep -v '^
*+' conftest.er1 >conftest.err
23242 cat conftest.err >&5
23243 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23244 (exit $ac_status); } && {
23245 test -z "$ac_cxx_werror_flag" ||
23246 test ! -s conftest.err
23247 } && test -s conftest.$ac_objext; then
23250 echo "$as_me: failed program was:" >&5
23251 sed 's
/^
/| /' conftest.$ac_ext >&5
23257 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23260 echo "$as_me: failed program was:" >&5
23261 sed 's
/^
/| /' conftest.$ac_ext >&5
23267 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23270 ac_cpp='$CPP $CPPFLAGS'
23271 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
23272 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
23273 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23277 { echo "$as_me:$LINENO: result: $wx_cv_explicit" >&5
23278 echo "${ECHO_T}$wx_cv_explicit" >&6; }
23280 if test "$wx_cv_explicit" = "yes"; then
23281 cat >>confdefs.h <<\_ACEOF
23282 #define HAVE_EXPLICIT 1
23288 { echo "$as_me:$LINENO: checking whether the compiler supports const_cast<>" >&5
23289 echo $ECHO_N "checking whether the compiler supports const_cast<>... $ECHO_C" >&6; }
23290 if test "${ac_cv_cxx_const_cast+set}" = set; then
23291 echo $ECHO_N "(cached) $ECHO_C" >&6
23295 ac_cpp='$CXXCPP $CPPFLAGS'
23296 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
23297 ac_link='$CXX -o conftest
$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
23298 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23300 cat >conftest.$ac_ext <<_ACEOF
23303 cat confdefs.h >>conftest.$ac_ext
23304 cat >>conftest.$ac_ext <<_ACEOF
23305 /* end confdefs.h. */
23310 int x = 0;const int& y = x;int& z = const_cast<int&>(y);return z;
23315 rm -f conftest.$ac_objext
23316 if { (ac_try="$ac_compile"
23317 case "(($ac_try" in
23318 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23319 *) ac_try_echo=$ac_try;;
23321 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23322 (eval "$ac_compile") 2>conftest.er1
23324 grep -v '^
*+' conftest.er1 >conftest.err
23326 cat conftest.err >&5
23327 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23328 (exit $ac_status); } && {
23329 test -z "$ac_cxx_werror_flag" ||
23330 test ! -s conftest.err
23331 } && test -s conftest.$ac_objext; then
23332 ac_cv_cxx_const_cast=yes
23334 echo "$as_me: failed program was:" >&5
23335 sed 's
/^
/| /' conftest.$ac_ext >&5
23337 ac_cv_cxx_const_cast=no
23340 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23342 ac_cpp='$CPP $CPPFLAGS'
23343 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
23344 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
23345 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23349 { echo "$as_me:$LINENO: result: $ac_cv_cxx_const_cast" >&5
23350 echo "${ECHO_T}$ac_cv_cxx_const_cast" >&6; }
23351 if test "$ac_cv_cxx_const_cast" = yes; then
23353 cat >>confdefs.h <<\_ACEOF
23354 #define HAVE_CONST_CAST
23359 { echo "$as_me:$LINENO: checking whether the compiler supports reinterpret_cast<>" >&5
23360 echo $ECHO_N "checking whether the compiler supports reinterpret_cast<>... $ECHO_C" >&6; }
23361 if test "${ac_cv_cxx_reinterpret_cast+set}" = set; then
23362 echo $ECHO_N "(cached) $ECHO_C" >&6
23366 ac_cpp='$CXXCPP $CPPFLAGS'
23367 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
23368 ac_link='$CXX -o conftest
$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
23369 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23371 cat >conftest.$ac_ext <<_ACEOF
23374 cat confdefs.h >>conftest.$ac_ext
23375 cat >>conftest.$ac_ext <<_ACEOF
23376 /* end confdefs.h. */
23377 #include <typeinfo>
23378 class Base { public : Base () {} virtual void f () = 0;};
23379 class Derived : public Base { public : Derived () {} virtual void f () {} };
23380 class Unrelated { public : Unrelated () {} };
23381 int g (Unrelated&) { return 0; }
23386 Derived d;Base& b=d;Unrelated& e=reinterpret_cast<Unrelated&>(b);return g(e);
23391 rm -f conftest.$ac_objext
23392 if { (ac_try="$ac_compile"
23393 case "(($ac_try" in
23394 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23395 *) ac_try_echo=$ac_try;;
23397 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23398 (eval "$ac_compile") 2>conftest.er1
23400 grep -v '^
*+' conftest.er1 >conftest.err
23402 cat conftest.err >&5
23403 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23404 (exit $ac_status); } && {
23405 test -z "$ac_cxx_werror_flag" ||
23406 test ! -s conftest.err
23407 } && test -s conftest.$ac_objext; then
23408 ac_cv_cxx_reinterpret_cast=yes
23410 echo "$as_me: failed program was:" >&5
23411 sed 's
/^
/| /' conftest.$ac_ext >&5
23413 ac_cv_cxx_reinterpret_cast=no
23416 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23418 ac_cpp='$CPP $CPPFLAGS'
23419 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
23420 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
23421 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23425 { echo "$as_me:$LINENO: result: $ac_cv_cxx_reinterpret_cast" >&5
23426 echo "${ECHO_T}$ac_cv_cxx_reinterpret_cast" >&6; }
23427 if test "$ac_cv_cxx_reinterpret_cast" = yes; then
23429 cat >>confdefs.h <<\_ACEOF
23430 #define HAVE_REINTERPRET_CAST
23435 { echo "$as_me:$LINENO: checking whether the compiler supports static_cast<>" >&5
23436 echo $ECHO_N "checking whether the compiler supports static_cast<>... $ECHO_C" >&6; }
23437 if test "${ac_cv_cxx_static_cast+set}" = set; then
23438 echo $ECHO_N "(cached) $ECHO_C" >&6
23442 ac_cpp='$CXXCPP $CPPFLAGS'
23443 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
23444 ac_link='$CXX -o conftest
$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
23445 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23447 cat >conftest.$ac_ext <<_ACEOF
23450 cat confdefs.h >>conftest.$ac_ext
23451 cat >>conftest.$ac_ext <<_ACEOF
23452 /* end confdefs.h. */
23453 #include <typeinfo>
23454 class Base { public : Base () {} virtual void f () = 0; };
23455 class Derived : public Base { public : Derived () {} virtual void f () {} };
23456 int g (Derived&) { return 0; }
23461 Derived d; Base& b = d; Derived& s = static_cast<Derived&> (b); return g (s);
23466 rm -f conftest.$ac_objext
23467 if { (ac_try="$ac_compile"
23468 case "(($ac_try" in
23469 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23470 *) ac_try_echo=$ac_try;;
23472 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23473 (eval "$ac_compile") 2>conftest.er1
23475 grep -v '^
*+' conftest.er1 >conftest.err
23477 cat conftest.err >&5
23478 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23479 (exit $ac_status); } && {
23480 test -z "$ac_cxx_werror_flag" ||
23481 test ! -s conftest.err
23482 } && test -s conftest.$ac_objext; then
23483 ac_cv_cxx_static_cast=yes
23485 echo "$as_me: failed program was:" >&5
23486 sed 's
/^
/| /' conftest.$ac_ext >&5
23488 ac_cv_cxx_static_cast=no
23491 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23493 ac_cpp='$CPP $CPPFLAGS'
23494 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
23495 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
23496 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23500 { echo "$as_me:$LINENO: result: $ac_cv_cxx_static_cast" >&5
23501 echo "${ECHO_T}$ac_cv_cxx_static_cast" >&6; }
23502 if test "$ac_cv_cxx_static_cast" = yes; then
23504 cat >>confdefs.h <<\_ACEOF
23505 #define HAVE_STATIC_CAST
23511 if test "x$SUNCXX" = xyes; then
23512 CXXFLAGS="-features=tmplife $CXXFLAGS"
23515 if test "x$SUNCC" = xyes; then
23516 CFLAGS="-erroff=E_NO_EXPLICIT_TYPE_GIVEN $CFLAGS"
23519 if test "x$SGICC" = "xyes"; then
23520 CFLAGS="-woff 3970 $CFLAGS"
23522 if test "x$SGICXX" = "xyes"; then
23523 CXXFLAGS="-woff 3970 $CXXFLAGS"
23526 if test "x$HPCC" = "xyes"; then
23527 CFLAGS="+W 2011,2450 $CFLAGS"
23529 if test "x$HPCXX" = "xyes"; then
23530 CXXFLAGS="+W 2340 $CXXFLAGS"
23533 if test "x$COMPAQCXX" = "xyes"; then
23534 CXXFLAGS="-w0 -msg_disable basclsnondto,unrimpret,intconlosbit"
23538 ac_cpp='$CXXCPP $CPPFLAGS'
23539 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
23540 ac_link='$CXX -o conftest
$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
23541 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23544 if test "$wxUSE_STD_STRING" = "yes" -o "$wxUSE_STL" = "yes"; then
23545 if test "$wxUSE_UNICODE" = "yes"; then
23546 std_string="std::wstring"
23547 char_type="wchar_t"
23549 std_string="std::string"
23553 { echo "$as_me:$LINENO: checking for $std_string in <string>" >&5
23554 echo $ECHO_N "checking for $std_string in <string>... $ECHO_C" >&6; }
23555 if test "${wx_cv_class_stdstring+set}" = set; then
23556 echo $ECHO_N "(cached) $ECHO_C" >&6
23559 cat >conftest.$ac_ext <<_ACEOF
23562 cat confdefs.h >>conftest.$ac_ext
23563 cat >>conftest.$ac_ext <<_ACEOF
23564 /* end confdefs.h. */
23574 rm -f conftest.$ac_objext
23575 if { (ac_try="$ac_compile"
23576 case "(($ac_try" in
23577 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23578 *) ac_try_echo=$ac_try;;
23580 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23581 (eval "$ac_compile") 2>conftest.er1
23583 grep -v '^
*+' conftest.er1 >conftest.err
23585 cat conftest.err >&5
23586 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23587 (exit $ac_status); } && {
23588 test -z "$ac_cxx_werror_flag" ||
23589 test ! -s conftest.err
23590 } && test -s conftest.$ac_objext; then
23591 wx_cv_class_stdstring=yes
23593 echo "$as_me: failed program was:" >&5
23594 sed 's
/^
/| /' conftest.$ac_ext >&5
23596 wx_cv_class_stdstring=no
23600 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23604 { echo "$as_me:$LINENO: result: $wx_cv_class_stdstring" >&5
23605 echo "${ECHO_T}$wx_cv_class_stdstring" >&6; }
23607 if test "$wx_cv_class_stdstring" = yes; then
23608 if test "$wxUSE_UNICODE" = "yes"; then
23609 cat >>confdefs.h <<\_ACEOF
23610 #define HAVE_STD_WSTRING 1
23615 { echo "$as_me:$LINENO: checking if std::basic_string<$char_type> works" >&5
23616 echo $ECHO_N "checking if std::basic_string<$char_type> works... $ECHO_C" >&6; }
23617 if test "${wx_cv_class_stdbasicstring+set}" = set; then
23618 echo $ECHO_N "(cached) $ECHO_C" >&6
23621 cat >conftest.$ac_ext <<_ACEOF
23624 cat confdefs.h >>conftest.$ac_ext
23625 cat >>conftest.$ac_ext <<_ACEOF
23626 /* end confdefs.h. */
23628 #ifdef HAVE_WCHAR_H
23630 # include <stddef.h>
23632 # include <wchar.h>
23634 #ifdef HAVE_STDLIB_H
23635 # include <stdlib.h>
23643 std::basic_string<$char_type> foo;
23644 const $char_type* dummy = foo.c_str();
23649 rm -f conftest.$ac_objext
23650 if { (ac_try="$ac_compile"
23651 case "(($ac_try" in
23652 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23653 *) ac_try_echo=$ac_try;;
23655 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23656 (eval "$ac_compile") 2>conftest.er1
23658 grep -v '^
*+' conftest.er1 >conftest.err
23660 cat conftest.err >&5
23661 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23662 (exit $ac_status); } && {
23663 test -z "$ac_cxx_werror_flag" ||
23664 test ! -s conftest.err
23665 } && test -s conftest.$ac_objext; then
23666 wx_cv_class_stdbasicstring=yes
23668 echo "$as_me: failed program was:" >&5
23669 sed 's
/^
/| /' conftest.$ac_ext >&5
23671 wx_cv_class_stdbasicstring=no
23675 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23679 { echo "$as_me:$LINENO: result: $wx_cv_class_stdbasicstring" >&5
23680 echo "${ECHO_T}$wx_cv_class_stdbasicstring" >&6; }
23682 if test "$wx_cv_class_stdbasicstring" != yes; then
23683 if test "$wxUSE_STL" = "yes"; then
23684 { { echo "$as_me:$LINENO: error: Can't use
--enable-stl without
$std_string or std
::basic_string
<$char_type>" >&5
23685 echo "$as_me: error
: Can
't use --enable-stl without $std_string or std::basic_string<$char_type>" >&2;}
23686 { (exit 1); exit 1; }; }
23687 elif grep wxUSE_STD_STRING $wx_arg_cache_file >/dev/null; then
23688 { { echo "$as_me:$LINENO: error: Can't use
--enable-std_string without
$std_string or std
::basic_string
<$char_type>" >&5
23689 echo "$as_me: error
: Can
't use --enable-std_string without $std_string or std::basic_string<$char_type>" >&2;}
23690 { (exit 1); exit 1; }; }
23692 { echo "$as_me:$LINENO: WARNING: No $std_string or std::basic_string<$char_type>, switching to --disable-std_string" >&5
23693 echo "$as_me: WARNING: No $std_string or std::basic_string<$char_type>, switching to --disable-std_string" >&2;}
23694 wxUSE_STD_STRING=no
23700 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
23701 { echo "$as_me:$LINENO: checking for std::istream" >&5
23702 echo $ECHO_N "checking for std::istream... $ECHO_C" >&6; }
23703 if test "${ac_cv_type_std__istream+set}" = set; then
23704 echo $ECHO_N "(cached) $ECHO_C" >&6
23706 cat >conftest.$ac_ext <<_ACEOF
23709 cat confdefs.h >>conftest.$ac_ext
23710 cat >>conftest.$ac_ext <<_ACEOF
23711 /* end confdefs.h. */
23712 #include <iostream>
23714 typedef std::istream ac__type_new_;
23718 if ((ac__type_new_ *) 0)
23720 if (sizeof (ac__type_new_))
23726 rm -f conftest.$ac_objext
23727 if { (ac_try="$ac_compile"
23728 case "(($ac_try" in
23729 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23730 *) ac_try_echo=$ac_try;;
23732 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23733 (eval "$ac_compile") 2>conftest.er1
23735 grep -v '^
*+' conftest.er1 >conftest.err
23737 cat conftest.err >&5
23738 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23739 (exit $ac_status); } && {
23740 test -z "$ac_cxx_werror_flag" ||
23741 test ! -s conftest.err
23742 } && test -s conftest.$ac_objext; then
23743 ac_cv_type_std__istream=yes
23745 echo "$as_me: failed program was:" >&5
23746 sed 's
/^
/| /' conftest.$ac_ext >&5
23748 ac_cv_type_std__istream=no
23751 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23753 { echo "$as_me:$LINENO: result: $ac_cv_type_std__istream" >&5
23754 echo "${ECHO_T}$ac_cv_type_std__istream" >&6; }
23755 if test $ac_cv_type_std__istream = yes; then
23757 cat >>confdefs.h <<_ACEOF
23758 #define HAVE_STD__ISTREAM 1
23763 wxUSE_STD_IOSTREAM=no
23765 { echo "$as_me:$LINENO: checking for std::ostream" >&5
23766 echo $ECHO_N "checking for std::ostream... $ECHO_C" >&6; }
23767 if test "${ac_cv_type_std__ostream+set}" = set; then
23768 echo $ECHO_N "(cached) $ECHO_C" >&6
23770 cat >conftest.$ac_ext <<_ACEOF
23773 cat confdefs.h >>conftest.$ac_ext
23774 cat >>conftest.$ac_ext <<_ACEOF
23775 /* end confdefs.h. */
23776 #include <iostream>
23778 typedef std::ostream ac__type_new_;
23782 if ((ac__type_new_ *) 0)
23784 if (sizeof (ac__type_new_))
23790 rm -f conftest.$ac_objext
23791 if { (ac_try="$ac_compile"
23792 case "(($ac_try" in
23793 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23794 *) ac_try_echo=$ac_try;;
23796 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23797 (eval "$ac_compile") 2>conftest.er1
23799 grep -v '^
*+' conftest.er1 >conftest.err
23801 cat conftest.err >&5
23802 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23803 (exit $ac_status); } && {
23804 test -z "$ac_cxx_werror_flag" ||
23805 test ! -s conftest.err
23806 } && test -s conftest.$ac_objext; then
23807 ac_cv_type_std__ostream=yes
23809 echo "$as_me: failed program was:" >&5
23810 sed 's
/^
/| /' conftest.$ac_ext >&5
23812 ac_cv_type_std__ostream=no
23815 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23817 { echo "$as_me:$LINENO: result: $ac_cv_type_std__ostream" >&5
23818 echo "${ECHO_T}$ac_cv_type_std__ostream" >&6; }
23819 if test $ac_cv_type_std__ostream = yes; then
23821 cat >>confdefs.h <<_ACEOF
23822 #define HAVE_STD__OSTREAM 1
23827 wxUSE_STD_IOSTREAM=no
23831 if test "$wxUSE_STD_IOSTREAM" != "yes"; then
23832 if grep wxUSE_STD_IOSTREAM $wx_arg_cache_file >/dev/null; then
23833 { { echo "$as_me:$LINENO: error: Can't use
--enable-std_iostreams without std
::istream and std
::ostream
" >&5
23834 echo "$as_me: error
: Can
't use --enable-std_iostreams without std::istream and std::ostream" >&2;}
23835 { (exit 1); exit 1; }; }
23837 { echo "$as_me:$LINENO: WARNING: No std::iostreams, switching to --disable-std_iostreams" >&5
23838 echo "$as_me: WARNING: No std::iostreams, switching to --disable-std_iostreams" >&2;}
23843 if test "$wxUSE_STL" = "yes"; then
23844 { echo "$as_me:$LINENO: checking for basic STL functionality" >&5
23845 echo $ECHO_N "checking for basic STL functionality... $ECHO_C" >&6; }
23846 if test "${wx_cv_lib_stl+set}" = set; then
23847 echo $ECHO_N "(cached) $ECHO_C" >&6
23849 cat >conftest.$ac_ext <<_ACEOF
23852 cat confdefs.h >>conftest.$ac_ext
23853 cat >>conftest.$ac_ext <<_ACEOF
23854 /* end confdefs.h. */
23856 #include <functional>
23857 #include <algorithm>
23863 std::vector<int> moo;
23864 std::list<int> foo;
23865 std::vector<int>::iterator it =
23866 std::find_if(moo.begin(), moo.end(),
23867 std::bind2nd(std::less<int>(), 3));
23872 rm -f conftest.$ac_objext
23873 if { (ac_try="$ac_compile"
23874 case "(($ac_try" in
23875 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23876 *) ac_try_echo=$ac_try;;
23878 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23879 (eval "$ac_compile") 2>conftest.er1
23881 grep -v '^
*+' conftest.er1 >conftest.err
23883 cat conftest.err >&5
23884 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23885 (exit $ac_status); } && {
23886 test -z "$ac_cxx_werror_flag" ||
23887 test ! -s conftest.err
23888 } && test -s conftest.$ac_objext; then
23891 echo "$as_me: failed program was:" >&5
23892 sed 's
/^
/| /' conftest.$ac_ext >&5
23898 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23901 { echo "$as_me:$LINENO: result: $wx_cv_lib_stl" >&5
23902 echo "${ECHO_T}$wx_cv_lib_stl" >&6; }
23904 if test "$wx_cv_lib_stl" != yes; then
23905 { { echo "$as_me:$LINENO: error: Can't use
--enable-stl as basic STL functionality is missing
" >&5
23906 echo "$as_me: error
: Can
't use --enable-stl as basic STL functionality is missing" >&2;}
23907 { (exit 1); exit 1; }; }
23910 { echo "$as_me:$LINENO: checking for compliant std::string::compare" >&5
23911 echo $ECHO_N "checking for compliant std::string::compare... $ECHO_C" >&6; }
23912 if test "${wx_cv_func_stdstring_compare+set}" = set; then
23913 echo $ECHO_N "(cached) $ECHO_C" >&6
23915 cat >conftest.$ac_ext <<_ACEOF
23918 cat confdefs.h >>conftest.$ac_ext
23919 cat >>conftest.$ac_ext <<_ACEOF
23920 /* end confdefs.h. */
23925 std::string foo, bar;
23927 foo.compare(1, 1, bar);
23928 foo.compare(1, 1, bar, 1, 1);
23930 foo.compare(1, 1, "");
23931 foo.compare(1, 1, "", 2);
23936 rm -f conftest.$ac_objext
23937 if { (ac_try="$ac_compile"
23938 case "(($ac_try" in
23939 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23940 *) ac_try_echo=$ac_try;;
23942 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23943 (eval "$ac_compile") 2>conftest.er1
23945 grep -v '^
*+' conftest.er1 >conftest.err
23947 cat conftest.err >&5
23948 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23949 (exit $ac_status); } && {
23950 test -z "$ac_cxx_werror_flag" ||
23951 test ! -s conftest.err
23952 } && test -s conftest.$ac_objext; then
23953 wx_cv_func_stdstring_compare=yes
23955 echo "$as_me: failed program was:" >&5
23956 sed 's
/^
/| /' conftest.$ac_ext >&5
23958 wx_cv_func_stdstring_compare=no
23962 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23965 { echo "$as_me:$LINENO: result: $wx_cv_func_stdstring_compare" >&5
23966 echo "${ECHO_T}$wx_cv_func_stdstring_compare" >&6; }
23968 if test "$wx_cv_func_stdstring_compare" = yes; then
23969 cat >>confdefs.h <<\_ACEOF
23970 #define HAVE_STD_STRING_COMPARE 1
23975 { echo "$as_me:$LINENO: checking for hash_map" >&5
23976 echo $ECHO_N "checking for hash_map... $ECHO_C" >&6; }
23977 if test "${ac_cv_header_hash_map+set}" = set; then
23978 echo $ECHO_N "(cached) $ECHO_C" >&6
23980 cat >conftest.$ac_ext <<_ACEOF
23983 cat confdefs.h >>conftest.$ac_ext
23984 cat >>conftest.$ac_ext <<_ACEOF
23985 /* end confdefs.h. */
23989 #include <hash_map>
23991 rm -f conftest.$ac_objext
23992 if { (ac_try="$ac_compile"
23993 case "(($ac_try" in
23994 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23995 *) ac_try_echo=$ac_try;;
23997 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23998 (eval "$ac_compile") 2>conftest.er1
24000 grep -v '^
*+' conftest.er1 >conftest.err
24002 cat conftest.err >&5
24003 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24004 (exit $ac_status); } && {
24005 test -z "$ac_cxx_werror_flag" ||
24006 test ! -s conftest.err
24007 } && test -s conftest.$ac_objext; then
24008 ac_cv_header_hash_map=yes
24010 echo "$as_me: failed program was:" >&5
24011 sed 's
/^
/| /' conftest.$ac_ext >&5
24013 ac_cv_header_hash_map=no
24016 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24018 { echo "$as_me:$LINENO: result: $ac_cv_header_hash_map" >&5
24019 echo "${ECHO_T}$ac_cv_header_hash_map" >&6; }
24020 if test $ac_cv_header_hash_map = yes; then
24021 { echo "$as_me:$LINENO: checking for standard hash_map and hash_set" >&5
24022 echo $ECHO_N "checking for standard hash_map and hash_set... $ECHO_C" >&6; }
24023 if test "${wx_cv_class_stdhashmapset+set}" = set; then
24024 echo $ECHO_N "(cached) $ECHO_C" >&6
24026 cat >conftest.$ac_ext <<_ACEOF
24029 cat confdefs.h >>conftest.$ac_ext
24030 cat >>conftest.$ac_ext <<_ACEOF
24031 /* end confdefs.h. */
24032 #include <hash_map>
24033 #include <hash_set>
24037 std::hash_map<double*, char*, std::hash<double*>, std::equal_to<double*> > test1;
24038 std::hash_set<char*, std::hash<char*>, std::equal_to<char*> > test2;
24043 rm -f conftest.$ac_objext
24044 if { (ac_try="$ac_compile"
24045 case "(($ac_try" in
24046 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24047 *) ac_try_echo=$ac_try;;
24049 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24050 (eval "$ac_compile") 2>conftest.er1
24052 grep -v '^
*+' conftest.er1 >conftest.err
24054 cat conftest.err >&5
24055 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24056 (exit $ac_status); } && {
24057 test -z "$ac_cxx_werror_flag" ||
24058 test ! -s conftest.err
24059 } && test -s conftest.$ac_objext; then
24060 wx_cv_class_stdhashmapset=yes
24062 echo "$as_me: failed program was:" >&5
24063 sed 's
/^
/| /' conftest.$ac_ext >&5
24065 wx_cv_class_stdhashmapset=no
24068 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24072 { echo "$as_me:$LINENO: result: $wx_cv_class_stdhashmapset" >&5
24073 echo "${ECHO_T}$wx_cv_class_stdhashmapset" >&6; }
24078 if test "$wx_cv_class_stdhashmapset" = yes; then
24079 cat >>confdefs.h <<\_ACEOF
24080 #define HAVE_HASH_MAP 1
24083 cat >>confdefs.h <<\_ACEOF
24084 #define HAVE_STD_HASH_MAP 1
24089 { echo "$as_me:$LINENO: checking for ext/hash_map" >&5
24090 echo $ECHO_N "checking for ext/hash_map... $ECHO_C" >&6; }
24091 if test "${ac_cv_header_ext_hash_map+set}" = set; then
24092 echo $ECHO_N "(cached) $ECHO_C" >&6
24094 cat >conftest.$ac_ext <<_ACEOF
24097 cat confdefs.h >>conftest.$ac_ext
24098 cat >>conftest.$ac_ext <<_ACEOF
24099 /* end confdefs.h. */
24103 #include <ext/hash_map>
24105 rm -f conftest.$ac_objext
24106 if { (ac_try="$ac_compile"
24107 case "(($ac_try" in
24108 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24109 *) ac_try_echo=$ac_try;;
24111 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24112 (eval "$ac_compile") 2>conftest.er1
24114 grep -v '^
*+' conftest.er1 >conftest.err
24116 cat conftest.err >&5
24117 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24118 (exit $ac_status); } && {
24119 test -z "$ac_cxx_werror_flag" ||
24120 test ! -s conftest.err
24121 } && test -s conftest.$ac_objext; then
24122 ac_cv_header_ext_hash_map=yes
24124 echo "$as_me: failed program was:" >&5
24125 sed 's
/^
/| /' conftest.$ac_ext >&5
24127 ac_cv_header_ext_hash_map=no
24130 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24132 { echo "$as_me:$LINENO: result: $ac_cv_header_ext_hash_map" >&5
24133 echo "${ECHO_T}$ac_cv_header_ext_hash_map" >&6; }
24134 if test $ac_cv_header_ext_hash_map = yes; then
24135 { echo "$as_me:$LINENO: checking for GNU hash_map and hash_set" >&5
24136 echo $ECHO_N "checking for GNU hash_map and hash_set... $ECHO_C" >&6; }
24137 if test "${wx_cv_class_gnuhashmapset+set}" = set; then
24138 echo $ECHO_N "(cached) $ECHO_C" >&6
24140 cat >conftest.$ac_ext <<_ACEOF
24143 cat confdefs.h >>conftest.$ac_ext
24144 cat >>conftest.$ac_ext <<_ACEOF
24145 /* end confdefs.h. */
24146 #include <ext/hash_map>
24147 #include <ext/hash_set>
24151 __gnu_cxx::hash_map<double*, char*, __gnu_cxx::hash<double*>, std::equal_to<double*> > test1;
24152 __gnu_cxx::hash_set<char*, __gnu_cxx::hash<char*>, std::equal_to<char*> > test2;
24157 rm -f conftest.$ac_objext
24158 if { (ac_try="$ac_compile"
24159 case "(($ac_try" in
24160 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24161 *) ac_try_echo=$ac_try;;
24163 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24164 (eval "$ac_compile") 2>conftest.er1
24166 grep -v '^
*+' conftest.er1 >conftest.err
24168 cat conftest.err >&5
24169 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24170 (exit $ac_status); } && {
24171 test -z "$ac_cxx_werror_flag" ||
24172 test ! -s conftest.err
24173 } && test -s conftest.$ac_objext; then
24174 wx_cv_class_gnuhashmapset=yes
24176 echo "$as_me: failed program was:" >&5
24177 sed 's
/^
/| /' conftest.$ac_ext >&5
24179 wx_cv_class_gnuhashmapset=no
24182 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24186 { echo "$as_me:$LINENO: result: $wx_cv_class_gnuhashmapset" >&5
24187 echo "${ECHO_T}$wx_cv_class_gnuhashmapset" >&6; }
24192 if test "$wx_cv_class_gnuhashmapset" = yes; then
24193 cat >>confdefs.h <<\_ACEOF
24194 #define HAVE_EXT_HASH_MAP 1
24197 cat >>confdefs.h <<\_ACEOF
24198 #define HAVE_GNU_CXX_HASH_MAP 1
24205 ac_cpp='$CPP $CPPFLAGS'
24206 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
24207 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
24208 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24213 /usr/local/include \
24215 /usr/Motif-2.1/include \
24216 /usr/Motif-1.2/include \
24217 /usr/include/Motif1.2 \
24220 /usr/openwin/include \
24224 /usr/X11R6/include \
24225 /usr/X11R6.4/include \
24226 /usr/X11R5/include \
24227 /usr/X11R4/include \
24229 /usr/include/X11R6 \
24230 /usr/include/X11R5 \
24231 /usr/include/X11R4 \
24233 /usr/local/X11R6/include \
24234 /usr/local/X11R5/include \
24235 /usr/local/X11R4/include \
24237 /usr/local/include/X11R6 \
24238 /usr/local/include/X11R5 \
24239 /usr/local/include/X11R4 \
24243 /usr/local/X11/include \
24244 /usr/local/include/X11 \
24246 /usr/XFree86/include/X11 \
24249 /usr/openwin/share/include"
24251 { echo "$as_me:$LINENO: checking for libraries directory" >&5
24252 echo $ECHO_N "checking for libraries directory... $ECHO_C" >&6; }
24256 if test "${wx_cv_std_libpath+set}" = set; then
24257 echo $ECHO_N "(cached) $ECHO_C" >&6
24260 for d in /usr/lib /usr/lib32 /usr/lib/64 /usr/lib64; do
24261 for e in a so sl dylib dll.a; do
24263 if test -f $libc; then
24266 cat >conftest.$ac_ext <<_ACEOF
24267 int main() { return 0; }
24269 rm -f conftest.$ac_objext conftest$ac_exeext
24270 if { (ac_try="$ac_link"
24271 case "(($ac_try" in
24272 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24273 *) ac_try_echo=$ac_try;;
24275 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24276 (eval "$ac_link") 2>conftest.er1
24278 grep -v '^
*+' conftest.er1 >conftest.err
24280 cat conftest.err >&5
24281 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24282 (exit $ac_status); } && {
24283 test -z "$ac_c_werror_flag" ||
24284 test ! -s conftest.err
24285 } && test -s conftest$ac_exeext &&
24286 $as_test_x conftest$ac_exeext; then
24287 wx_cv_std_libpath=`echo $d | sed s@/usr/@@`
24289 echo "$as_me: failed program was:" >&5
24290 sed 's
/^
/| /' conftest.$ac_ext >&5
24295 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
24296 conftest$ac_exeext conftest.$ac_ext
24298 if test "x$wx_cv_std_libpath" != "x"; then
24304 if test "x$wx_cv_std_libpath" = "x"; then
24305 wx_cv_std_libpath="lib"
24314 if test "$ac_cv_sizeof_void_p" = 8 -a -d "/usr/lib/64"; then
24315 wx_cv_std_libpath="lib/64"
24317 wx_cv_std_libpath="lib"
24322 if test "$ac_cv_sizeof_void_p" = 8 -a \
24323 -d "/usr/lib64" -a ! -h "/usr/lib64"; then
24324 wx_cv_std_libpath="lib64"
24326 wx_cv_std_libpath="lib"
24331 wx_cv_std_libpath="lib";
24335 { echo "$as_me:$LINENO: result: $wx_cv_std_libpath" >&5
24336 echo "${ECHO_T}$wx_cv_std_libpath" >&6; }
24338 SEARCH_LIB="`echo "$SEARCH_INCLUDE" | sed s@include@$wx_cv_std_libpath@g` /usr/$wx_cv_std_libpath"
24340 if test "$build" != "$host" -a "$GCC" = yes; then
24341 if cross_root=`$CC -print-prog-name=ld 2>/dev/null`; then
24342 cross_root=`dirname $cross_root`
24343 cross_root=`dirname $cross_root`
24345 SEARCH_LIB=`for x in $SEARCH_LIB; do echo $x; done | sed -ne "s|^/usr|$cross_root|p"`
24346 SEARCH_INCLUDE=`for x in $SEARCH_INCLUDE; do echo $x; done | sed -ne "s|^/usr|$cross_root|p"`
24347 SEARCH_INCLUDE="$SEARCH_INCLUDE $cross_root/include"
24349 if test -z "$PKG_CONFIG_PATH"; then
24350 PKG_CONFIG_PATH="$cross_root/local/lib/pkgconfig:$cross_root/lib/pkgconfig"
24351 export PKG_CONFIG_PATH
24354 if test -z "$x_includes" -o "$x_includes" = NONE; then
24357 for ac_dir in $SEARCH_INCLUDE /usr/include;
24359 if test -f "$ac_dir/X11/Intrinsic.h"; then
24360 ac_find_includes=$ac_dir
24365 x_includes=$ac_find_includes
24367 if test -z "$x_libraries" -o "$x_libraries" = NONE; then
24370 for ac_dir in $SEARCH_LIB;
24372 for ac_extension in a so sl dylib dll.a; do
24373 if test -f "$ac_dir/libXt.$ac_extension"; then
24374 ac_find_libraries=$ac_dir
24380 x_libraries=$ac_find_libraries
24386 cat >confcache <<\_ACEOF
24387 # This file is a shell script that caches the results of configure
24388 # tests run on this system so they can be shared between configure
24389 # scripts and configure runs, see configure's option
--config-cache.
24390 # It is not useful on other systems. If it contains results you don't
24391 # want to keep, you may remove or edit it.
24393 # config.status only pays attention to the cache file if you give it
24394 # the --recheck option to rerun configure.
24396 # `ac_cv_env_foo' variables (set or unset) will be overridden when
24397 # loading this file, other *unset* `ac_cv_foo' will be assigned the
24398 # following values.
24402 # The following way of writing the cache mishandles newlines in values,
24403 # but we know of no workaround that is simple, portable, and efficient.
24404 # So, we kill variables containing newlines.
24405 # Ultrix sh set writes to stderr and can't be redirected directly,
24406 # and sets the high bit in the cache file unless we assign to the vars.
24408 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
24409 eval ac_val
=\$
$ac_var
24413 *_cv_
*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
24414 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
24417 _
| IFS
| as_nl
) ;; #(
24418 *) $as_unset $ac_var ;;
24424 case $as_nl`(ac_space=' '; set) 2>&1` in #(
24425 *${as_nl}ac_space
=\
*)
24426 # `set' does not quote correctly, so add quotes (double-quote
24427 # substitution turns \\\\ into \\, and sed turns \\ into \).
24430 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
24433 # `set' quotes correctly as required by POSIX, so do not add quotes.
24434 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
24443 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
24445 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
24447 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
24448 if test -w "$cache_file"; then
24449 test "x$cache_file" != "x/dev/null" &&
24450 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
24451 echo "$as_me: updating cache $cache_file" >&6;}
24452 cat confcache
>$cache_file
24454 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
24455 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
24460 if test "$USE_LINUX" = 1 -o "$USE_GNU" = 1; then
24461 { echo "$as_me:$LINENO: checking for glibc 2.1 or later" >&5
24462 echo $ECHO_N "checking for glibc 2.1 or later... $ECHO_C" >&6; }
24463 if test "${wx_cv_lib_glibc21+set}" = set; then
24464 echo $ECHO_N "(cached) $ECHO_C" >&6
24467 cat >conftest.
$ac_ext <<_ACEOF
24470 cat confdefs.h
>>conftest.
$ac_ext
24471 cat >>conftest.
$ac_ext <<_ACEOF
24472 /* end confdefs.h. */
24473 #include <features.h>
24478 #if (__GLIBC__ < 2) || (__GLIBC_MINOR__ < 1)
24486 rm -f conftest.
$ac_objext
24487 if { (ac_try
="$ac_compile"
24488 case "(($ac_try" in
24489 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
24490 *) ac_try_echo=$ac_try;;
24492 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24493 (eval "$ac_compile") 2>conftest.er1
24495 grep -v '^ *+' conftest.er1 >conftest.err
24497 cat conftest.err >&5
24498 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24499 (exit $ac_status); } && {
24500 test -z "$ac_c_werror_flag" ||
24501 test ! -s conftest.err
24502 } && test -s conftest.$ac_objext; then
24504 wx_cv_lib_glibc21=yes
24507 echo "$as_me: failed program was:" >&5
24508 sed 's/^/| /' conftest.$ac_ext >&5
24511 wx_cv_lib_glibc21=no
24516 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24519 { echo "$as_me:$LINENO: result: $wx_cv_lib_glibc21" >&5
24520 echo "${ECHO_T}$wx_cv_lib_glibc21" >&6; }
24521 if test "$wx_cv_lib_glibc21" = "yes"; then
24522 cat >>confdefs.h <<\_ACEOF
24523 #define wxHAVE_GLIBC2 1
24529 if test "x$wx_cv_lib_glibc21" = "xyes"; then
24530 if test "$wxUSE_UNICODE" = "yes" -o "$wxUSE_THREADS" = "yes"; then
24531 cat >>confdefs.h <<\_ACEOF
24532 #define _GNU_SOURCE 1
24543 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24544 { echo "$as_me:$LINENO: checking for $ac_func" >&5
24545 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
24546 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
24547 echo $ECHO_N "(cached) $ECHO_C" >&6
24549 cat >conftest.$ac_ext <<_ACEOF
24552 cat confdefs.h >>conftest.$ac_ext
24553 cat >>conftest.$ac_ext <<_ACEOF
24554 /* end confdefs.h. */
24555 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
24556 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24557 #define $ac_func innocuous_$ac_func
24559 /* System header to define __stub macros and hopefully few prototypes,
24560 which can conflict with char $ac_func (); below.
24561 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24562 <limits.h> exists even on freestanding compilers. */
24565 # include <limits.h>
24567 # include <assert.h>
24572 /* Override any GCC internal prototype to avoid an error.
24573 Use char because int might match the return type of a GCC
24574 builtin and then its argument prototype would still apply. */
24579 /* The GNU C library defines this for functions which it implements
24580 to always fail with ENOSYS. Some functions are actually named
24581 something starting with __ and the normal name is an alias. */
24582 #if defined __stub_$ac_func || defined __stub___$ac_func
24589 return $ac_func ();
24594 rm -f conftest.$ac_objext conftest$ac_exeext
24595 if { (ac_try="$ac_link"
24596 case "(($ac_try" in
24597 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
24598 *) ac_try_echo
=$ac_try;;
24600 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24601 (eval "$ac_link") 2>conftest.er1
24603 grep -v '^ *+' conftest.er1
>conftest.err
24605 cat conftest.err
>&5
24606 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24607 (exit $ac_status); } && {
24608 test -z "$ac_c_werror_flag" ||
24609 test ! -s conftest.err
24610 } && test -s conftest
$ac_exeext &&
24611 $as_test_x conftest
$ac_exeext; then
24612 eval "$as_ac_var=yes"
24614 echo "$as_me: failed program was:" >&5
24615 sed 's/^/| /' conftest.
$ac_ext >&5
24617 eval "$as_ac_var=no"
24620 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
24621 conftest
$ac_exeext conftest.
$ac_ext
24623 ac_res
=`eval echo '${'$as_ac_var'}'`
24624 { echo "$as_me:$LINENO: result: $ac_res" >&5
24625 echo "${ECHO_T}$ac_res" >&6; }
24626 if test `eval echo '${'$as_ac_var'}'` = yes; then
24627 cat >>confdefs.h
<<_ACEOF
24628 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24635 for ac_func
in floor
24637 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24638 { echo "$as_me:$LINENO: checking for $ac_func" >&5
24639 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
24640 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
24641 echo $ECHO_N "(cached) $ECHO_C" >&6
24643 cat >conftest.
$ac_ext <<_ACEOF
24646 cat confdefs.h
>>conftest.
$ac_ext
24647 cat >>conftest.
$ac_ext <<_ACEOF
24648 /* end confdefs.h. */
24649 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
24650 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24651 #define $ac_func innocuous_$ac_func
24653 /* System header to define __stub macros and hopefully few prototypes,
24654 which can conflict with char $ac_func (); below.
24655 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24656 <limits.h> exists even on freestanding compilers. */
24659 # include <limits.h>
24661 # include <assert.h>
24666 /* Override any GCC internal prototype to avoid an error.
24667 Use char because int might match the return type of a GCC
24668 builtin and then its argument prototype would still apply. */
24673 /* The GNU C library defines this for functions which it implements
24674 to always fail with ENOSYS. Some functions are actually named
24675 something starting with __ and the normal name is an alias. */
24676 #if defined __stub_$ac_func || defined __stub___$ac_func
24683 return $ac_func ();
24688 rm -f conftest.
$ac_objext conftest
$ac_exeext
24689 if { (ac_try
="$ac_link"
24690 case "(($ac_try" in
24691 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
24692 *) ac_try_echo=$ac_try;;
24694 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24695 (eval "$ac_link") 2>conftest.er1
24697 grep -v '^ *+' conftest.er1 >conftest.err
24699 cat conftest.err >&5
24700 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24701 (exit $ac_status); } && {
24702 test -z "$ac_c_werror_flag" ||
24703 test ! -s conftest.err
24704 } && test -s conftest$ac_exeext &&
24705 $as_test_x conftest$ac_exeext; then
24706 eval "$as_ac_var=yes"
24708 echo "$as_me: failed program was:" >&5
24709 sed 's/^/| /' conftest.$ac_ext >&5
24711 eval "$as_ac_var=no"
24714 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
24715 conftest$ac_exeext conftest.$ac_ext
24717 ac_res=`eval echo '${'$as_ac_var'}'`
24718 { echo "$as_me:$LINENO: result: $ac_res" >&5
24719 echo "${ECHO_T}$ac_res" >&6; }
24720 if test `eval echo '${'$as_ac_var'}'` = yes; then
24721 cat >>confdefs.h <<_ACEOF
24722 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24728 { echo "$as_me:$LINENO: checking if floating point functions link without -lm" >&5
24729 echo $ECHO_N "checking if floating point functions link without -lm... $ECHO_C" >&6; }
24730 if test "$have_cos" = 1 -a "$have_floor" = 1; then
24731 { echo "$as_me:$LINENO: result: yes" >&5
24732 echo "${ECHO_T}yes" >&6; }
24734 { echo "$as_me:$LINENO: result: no" >&5
24735 echo "${ECHO_T}no" >&6; }
24737 # use different functions to avoid configure caching
24743 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24744 { echo "$as_me:$LINENO: checking for $ac_func" >&5
24745 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
24746 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
24747 echo $ECHO_N "(cached) $ECHO_C" >&6
24749 cat >conftest.$ac_ext <<_ACEOF
24752 cat confdefs.h >>conftest.$ac_ext
24753 cat >>conftest.$ac_ext <<_ACEOF
24754 /* end confdefs.h. */
24755 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
24756 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24757 #define $ac_func innocuous_$ac_func
24759 /* System header to define __stub macros and hopefully few prototypes,
24760 which can conflict with char $ac_func (); below.
24761 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24762 <limits.h> exists even on freestanding compilers. */
24765 # include <limits.h>
24767 # include <assert.h>
24772 /* Override any GCC internal prototype to avoid an error.
24773 Use char because int might match the return type of a GCC
24774 builtin and then its argument prototype would still apply. */
24779 /* The GNU C library defines this for functions which it implements
24780 to always fail with ENOSYS. Some functions are actually named
24781 something starting with __ and the normal name is an alias. */
24782 #if defined __stub_$ac_func || defined __stub___$ac_func
24789 return $ac_func ();
24794 rm -f conftest.$ac_objext conftest$ac_exeext
24795 if { (ac_try="$ac_link"
24796 case "(($ac_try" in
24797 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
24798 *) ac_try_echo
=$ac_try;;
24800 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24801 (eval "$ac_link") 2>conftest.er1
24803 grep -v '^ *+' conftest.er1
>conftest.err
24805 cat conftest.err
>&5
24806 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24807 (exit $ac_status); } && {
24808 test -z "$ac_c_werror_flag" ||
24809 test ! -s conftest.err
24810 } && test -s conftest
$ac_exeext &&
24811 $as_test_x conftest
$ac_exeext; then
24812 eval "$as_ac_var=yes"
24814 echo "$as_me: failed program was:" >&5
24815 sed 's/^/| /' conftest.
$ac_ext >&5
24817 eval "$as_ac_var=no"
24820 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
24821 conftest
$ac_exeext conftest.
$ac_ext
24823 ac_res
=`eval echo '${'$as_ac_var'}'`
24824 { echo "$as_me:$LINENO: result: $ac_res" >&5
24825 echo "${ECHO_T}$ac_res" >&6; }
24826 if test `eval echo '${'$as_ac_var'}'` = yes; then
24827 cat >>confdefs.h
<<_ACEOF
24828 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24835 for ac_func
in ceil
24837 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24838 { echo "$as_me:$LINENO: checking for $ac_func" >&5
24839 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
24840 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
24841 echo $ECHO_N "(cached) $ECHO_C" >&6
24843 cat >conftest.
$ac_ext <<_ACEOF
24846 cat confdefs.h
>>conftest.
$ac_ext
24847 cat >>conftest.
$ac_ext <<_ACEOF
24848 /* end confdefs.h. */
24849 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
24850 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24851 #define $ac_func innocuous_$ac_func
24853 /* System header to define __stub macros and hopefully few prototypes,
24854 which can conflict with char $ac_func (); below.
24855 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24856 <limits.h> exists even on freestanding compilers. */
24859 # include <limits.h>
24861 # include <assert.h>
24866 /* Override any GCC internal prototype to avoid an error.
24867 Use char because int might match the return type of a GCC
24868 builtin and then its argument prototype would still apply. */
24873 /* The GNU C library defines this for functions which it implements
24874 to always fail with ENOSYS. Some functions are actually named
24875 something starting with __ and the normal name is an alias. */
24876 #if defined __stub_$ac_func || defined __stub___$ac_func
24883 return $ac_func ();
24888 rm -f conftest.
$ac_objext conftest
$ac_exeext
24889 if { (ac_try
="$ac_link"
24890 case "(($ac_try" in
24891 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
24892 *) ac_try_echo=$ac_try;;
24894 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24895 (eval "$ac_link") 2>conftest.er1
24897 grep -v '^ *+' conftest.er1 >conftest.err
24899 cat conftest.err >&5
24900 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24901 (exit $ac_status); } && {
24902 test -z "$ac_c_werror_flag" ||
24903 test ! -s conftest.err
24904 } && test -s conftest$ac_exeext &&
24905 $as_test_x conftest$ac_exeext; then
24906 eval "$as_ac_var=yes"
24908 echo "$as_me: failed program was:" >&5
24909 sed 's/^/| /' conftest.$ac_ext >&5
24911 eval "$as_ac_var=no"
24914 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
24915 conftest$ac_exeext conftest.$ac_ext
24917 ac_res=`eval echo '${'$as_ac_var'}'`
24918 { echo "$as_me:$LINENO: result: $ac_res" >&5
24919 echo "${ECHO_T}$ac_res" >&6; }
24920 if test `eval echo '${'$as_ac_var'}'` = yes; then
24921 cat >>confdefs.h <<_ACEOF
24922 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24928 { echo "$as_me:$LINENO: checking if floating point functions link with -lm" >&5
24929 echo $ECHO_N "checking if floating point functions link with -lm... $ECHO_C" >&6; }
24930 if test "$have_sin" = 1 -a "$have_ceil" = 1; then
24931 { echo "$as_me:$LINENO: result: yes" >&5
24932 echo "${ECHO_T}yes" >&6; }
24934 { echo "$as_me:$LINENO: result: no" >&5
24935 echo "${ECHO_T}no" >&6; }
24936 # not sure we should warn the user, crash, etc.
24941 ac_cpp='$CXXCPP $CPPFLAGS'
24942 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24943 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24944 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24946 if test "wxUSE_UNICODE" = "yes"; then
24948 for wx_func in wcstoull
24950 { echo "$as_me:$LINENO: checking for $wx_func" >&5
24951 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
24952 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
24953 echo $ECHO_N "(cached) $ECHO_C" >&6
24956 cat >conftest.$ac_ext <<_ACEOF
24960 cat confdefs.h >>conftest.$ac_ext
24961 cat >>conftest.$ac_ext <<_ACEOF
24962 /* end confdefs.h. */
24965 $ac_includes_default
24981 rm -f conftest.$ac_objext conftest$ac_exeext
24982 if { (ac_try="$ac_link"
24983 case "(($ac_try" in
24984 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
24985 *) ac_try_echo
=$ac_try;;
24987 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24988 (eval "$ac_link") 2>conftest.er1
24990 grep -v '^ *+' conftest.er1
>conftest.err
24992 cat conftest.err
>&5
24993 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24994 (exit $ac_status); } && {
24995 test -z "$ac_cxx_werror_flag" ||
24996 test ! -s conftest.err
24997 } && test -s conftest
$ac_exeext &&
24998 $as_test_x conftest
$ac_exeext; then
24999 eval wx_cv_func_
$wx_func=yes
25001 echo "$as_me: failed program was:" >&5
25002 sed 's/^/| /' conftest.
$ac_ext >&5
25004 eval wx_cv_func_
$wx_func=no
25007 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
25008 conftest
$ac_exeext conftest.
$ac_ext
25011 ac_res
=`eval echo '${'wx_cv_func_$wx_func'}'`
25012 { echo "$as_me:$LINENO: result: $ac_res" >&5
25013 echo "${ECHO_T}$ac_res" >&6; }
25015 if eval test \
$wx_cv_func_$wx_func = yes
25017 cat >>confdefs.h
<<_ACEOF
25018 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
25030 for wx_func
in strtoull
25032 { echo "$as_me:$LINENO: checking for $wx_func" >&5
25033 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
25034 if { as_var
=wx_cv_func_
$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
25035 echo $ECHO_N "(cached) $ECHO_C" >&6
25038 cat >conftest.
$ac_ext <<_ACEOF
25042 cat confdefs.h
>>conftest.
$ac_ext
25043 cat >>conftest.
$ac_ext <<_ACEOF
25044 /* end confdefs.h. */
25047 $ac_includes_default
25063 rm -f conftest.
$ac_objext conftest
$ac_exeext
25064 if { (ac_try
="$ac_link"
25065 case "(($ac_try" in
25066 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
25067 *) ac_try_echo=$ac_try;;
25069 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25070 (eval "$ac_link") 2>conftest.er1
25072 grep -v '^ *+' conftest.er1 >conftest.err
25074 cat conftest.err >&5
25075 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25076 (exit $ac_status); } && {
25077 test -z "$ac_cxx_werror_flag" ||
25078 test ! -s conftest.err
25079 } && test -s conftest$ac_exeext &&
25080 $as_test_x conftest$ac_exeext; then
25081 eval wx_cv_func_$wx_func=yes
25083 echo "$as_me: failed program was:" >&5
25084 sed 's/^/| /' conftest.$ac_ext >&5
25086 eval wx_cv_func_$wx_func=no
25089 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25090 conftest$ac_exeext conftest.$ac_ext
25093 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
25094 { echo "$as_me:$LINENO: result: $ac_res" >&5
25095 echo "${ECHO_T}$ac_res" >&6; }
25097 if eval test \$wx_cv_func_$wx_func = yes
25099 cat >>confdefs.h <<_ACEOF
25100 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
25112 ac_cpp='$CPP $CPPFLAGS'
25113 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25114 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25115 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25120 if test "$wxUSE_REGEX" != "no"; then
25121 cat >>confdefs.h <<\_ACEOF
25122 #define wxUSE_REGEX 1
25126 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_REGEX" = "yes"; then
25127 { echo "$as_me:$LINENO: WARNING: Defaulting to the the builtin regex library for Unicode build." >&5
25128 echo "$as_me: WARNING: Defaulting to the the builtin regex library for Unicode build." >&2;}
25129 wxUSE_REGEX=builtin
25132 if test "$wxUSE_REGEX" = "sys" -o "$wxUSE_REGEX" = "yes" ; then
25133 { echo "$as_me:$LINENO: checking for regex.h" >&5
25134 echo $ECHO_N "checking for regex.h... $ECHO_C" >&6; }
25135 if test "${ac_cv_header_regex_h+set}" = set; then
25136 echo $ECHO_N "(cached) $ECHO_C" >&6
25138 cat >conftest.$ac_ext <<_ACEOF
25141 cat confdefs.h >>conftest.$ac_ext
25142 cat >>conftest.$ac_ext <<_ACEOF
25143 /* end confdefs.h. */
25148 rm -f conftest.$ac_objext
25149 if { (ac_try="$ac_compile"
25150 case "(($ac_try" in
25151 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
25152 *) ac_try_echo
=$ac_try;;
25154 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25155 (eval "$ac_compile") 2>conftest.er1
25157 grep -v '^ *+' conftest.er1
>conftest.err
25159 cat conftest.err
>&5
25160 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25161 (exit $ac_status); } && {
25162 test -z "$ac_c_werror_flag" ||
25163 test ! -s conftest.err
25164 } && test -s conftest.
$ac_objext; then
25165 ac_cv_header_regex_h
=yes
25167 echo "$as_me: failed program was:" >&5
25168 sed 's/^/| /' conftest.
$ac_ext >&5
25170 ac_cv_header_regex_h
=no
25173 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
25175 { echo "$as_me:$LINENO: result: $ac_cv_header_regex_h" >&5
25176 echo "${ECHO_T}$ac_cv_header_regex_h" >&6; }
25177 if test $ac_cv_header_regex_h = yes; then
25180 for ac_func
in regcomp re_search
25182 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25183 { echo "$as_me:$LINENO: checking for $ac_func" >&5
25184 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
25185 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
25186 echo $ECHO_N "(cached) $ECHO_C" >&6
25188 cat >conftest.
$ac_ext <<_ACEOF
25191 cat confdefs.h
>>conftest.
$ac_ext
25192 cat >>conftest.
$ac_ext <<_ACEOF
25193 /* end confdefs.h. */
25194 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25195 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25196 #define $ac_func innocuous_$ac_func
25198 /* System header to define __stub macros and hopefully few prototypes,
25199 which can conflict with char $ac_func (); below.
25200 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25201 <limits.h> exists even on freestanding compilers. */
25204 # include <limits.h>
25206 # include <assert.h>
25211 /* Override any GCC internal prototype to avoid an error.
25212 Use char because int might match the return type of a GCC
25213 builtin and then its argument prototype would still apply. */
25218 /* The GNU C library defines this for functions which it implements
25219 to always fail with ENOSYS. Some functions are actually named
25220 something starting with __ and the normal name is an alias. */
25221 #if defined __stub_$ac_func || defined __stub___$ac_func
25228 return $ac_func ();
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_c_werror_flag" ||
25248 test ! -s conftest.err
25249 } && test -s conftest$ac_exeext &&
25250 $as_test_x conftest$ac_exeext; then
25251 eval "$as_ac_var=yes"
25253 echo "$as_me: failed program was:" >&5
25254 sed 's/^/| /' conftest.$ac_ext >&5
25256 eval "$as_ac_var=no"
25259 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25260 conftest$ac_exeext conftest.$ac_ext
25262 ac_res=`eval echo '${'$as_ac_var'}'`
25263 { echo "$as_me:$LINENO: result: $ac_res" >&5
25264 echo "${ECHO_T}$ac_res" >&6; }
25265 if test `eval echo '${'$as_ac_var'}'` = yes; then
25266 cat >>confdefs.h <<_ACEOF
25267 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25277 if test "x$ac_cv_func_regcomp" != "xyes"; then
25278 if test "$wxUSE_REGEX" = "sys" ; then
25279 { { echo "$as_me:$LINENO: error: system regex library not found! Use --with-regex to use built-in version" >&5
25280 echo "$as_me: error: system regex library not found! Use --with-regex to use built-in version" >&2;}
25281 { (exit 1); exit 1; }; }
25283 { echo "$as_me:$LINENO: WARNING: system regex library not found, will use built-in instead" >&5
25284 echo "$as_me: WARNING: system regex library not found, will use built-in instead" >&2;}
25285 wxUSE_REGEX=builtin
25289 cat >>confdefs.h <<\_ACEOF
25290 #define WX_NO_REGEX_ADVANCED 1
25299 if test "$wxUSE_ZLIB" != "no" ; then
25300 cat >>confdefs.h <<\_ACEOF
25301 #define wxUSE_ZLIB 1
25305 if test "$wxUSE_ZLIB" = "sys" -o "$wxUSE_ZLIB" = "yes" ; then
25306 if test "$USE_DARWIN" = 1; then
25307 system_zlib_h_ok="yes"
25309 { echo "$as_me:$LINENO: checking for zlib.h >= 1.1.4" >&5
25310 echo $ECHO_N "checking for zlib.h >= 1.1.4... $ECHO_C" >&6; }
25311 if test "${ac_cv_header_zlib_h+set}" = set; then
25312 echo $ECHO_N "(cached) $ECHO_C" >&6
25314 if test "$cross_compiling" = yes; then
25315 unset ac_cv_header_zlib_h
25318 cat >conftest.$ac_ext <<_ACEOF
25321 cat confdefs.h >>conftest.$ac_ext
25322 cat >>conftest.$ac_ext <<_ACEOF
25323 /* end confdefs.h. */
25330 FILE *f=fopen("conftestval", "w");
25333 ZLIB_VERSION[0] == '1' &&
25334 (ZLIB_VERSION[2] > '1' ||
25335 (ZLIB_VERSION[2] == '1' &&
25336 ZLIB_VERSION[4] >= '4')) ? "yes" : "no");
25341 rm -f conftest$ac_exeext
25342 if { (ac_try="$ac_link"
25343 case "(($ac_try" in
25344 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
25345 *) ac_try_echo
=$ac_try;;
25347 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25348 (eval "$ac_link") 2>&5
25350 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25351 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
25352 { (case "(($ac_try" in
25353 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
25354 *) ac_try_echo=$ac_try;;
25356 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25357 (eval "$ac_try") 2>&5
25359 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25360 (exit $ac_status); }; }; then
25361 ac_cv_header_zlib_h=`cat conftestval
`
25363 echo "$as_me: program exited with status $ac_status" >&5
25364 echo "$as_me: failed program was:" >&5
25365 sed 's/^/| /' conftest.$ac_ext >&5
25367 ( exit $ac_status )
25368 ac_cv_header_zlib_h=no
25370 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
25376 { echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
25377 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6; }
25378 { echo "$as_me:$LINENO: checking for zlib.h" >&5
25379 echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6; }
25380 if test "${ac_cv_header_zlib_h+set}" = set; then
25381 echo $ECHO_N "(cached) $ECHO_C" >&6
25383 cat >conftest.$ac_ext <<_ACEOF
25386 cat confdefs.h >>conftest.$ac_ext
25387 cat >>conftest.$ac_ext <<_ACEOF
25388 /* end confdefs.h. */
25393 rm -f conftest.$ac_objext
25394 if { (ac_try="$ac_compile"
25395 case "(($ac_try" in
25396 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
25397 *) ac_try_echo
=$ac_try;;
25399 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25400 (eval "$ac_compile") 2>conftest.er1
25402 grep -v '^ *+' conftest.er1
>conftest.err
25404 cat conftest.err
>&5
25405 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25406 (exit $ac_status); } && {
25407 test -z "$ac_c_werror_flag" ||
25408 test ! -s conftest.err
25409 } && test -s conftest.
$ac_objext; then
25410 ac_cv_header_zlib_h
=yes
25412 echo "$as_me: failed program was:" >&5
25413 sed 's/^/| /' conftest.
$ac_ext >&5
25415 ac_cv_header_zlib_h
=no
25418 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
25420 { echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
25421 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6; }
25425 system_zlib_h_ok
=$ac_cv_header_zlib_h
25428 if test "$system_zlib_h_ok" = "yes"; then
25429 { echo "$as_me:$LINENO: checking for deflate in -lz" >&5
25430 echo $ECHO_N "checking for deflate in -lz... $ECHO_C" >&6; }
25431 if test "${ac_cv_lib_z_deflate+set}" = set; then
25432 echo $ECHO_N "(cached) $ECHO_C" >&6
25434 ac_check_lib_save_LIBS
=$LIBS
25436 cat >conftest.
$ac_ext <<_ACEOF
25439 cat confdefs.h
>>conftest.
$ac_ext
25440 cat >>conftest.
$ac_ext <<_ACEOF
25441 /* end confdefs.h. */
25443 /* Override any GCC internal prototype to avoid an error.
25444 Use char because int might match the return type of a GCC
25445 builtin and then its argument prototype would still apply. */
25458 rm -f conftest.
$ac_objext conftest
$ac_exeext
25459 if { (ac_try
="$ac_link"
25460 case "(($ac_try" in
25461 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
25462 *) ac_try_echo=$ac_try;;
25464 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25465 (eval "$ac_link") 2>conftest.er1
25467 grep -v '^ *+' conftest.er1 >conftest.err
25469 cat conftest.err >&5
25470 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25471 (exit $ac_status); } && {
25472 test -z "$ac_c_werror_flag" ||
25473 test ! -s conftest.err
25474 } && test -s conftest$ac_exeext &&
25475 $as_test_x conftest$ac_exeext; then
25476 ac_cv_lib_z_deflate=yes
25478 echo "$as_me: failed program was:" >&5
25479 sed 's/^/| /' conftest.$ac_ext >&5
25481 ac_cv_lib_z_deflate=no
25484 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25485 conftest$ac_exeext conftest.$ac_ext
25486 LIBS=$ac_check_lib_save_LIBS
25488 { echo "$as_me:$LINENO: result: $ac_cv_lib_z_deflate" >&5
25489 echo "${ECHO_T}$ac_cv_lib_z_deflate" >&6; }
25490 if test $ac_cv_lib_z_deflate = yes; then
25496 if test "x$ZLIB_LINK" = "x" ; then
25497 if test "$wxUSE_ZLIB" = "sys" ; then
25498 { { echo "$as_me:$LINENO: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&5
25499 echo "$as_me: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&2;}
25500 { (exit 1); exit 1; }; }
25502 { echo "$as_me:$LINENO: WARNING: zlib library not found or too old, will use built-in instead" >&5
25503 echo "$as_me: WARNING: zlib library not found or too old, will use built-in instead" >&2;}
25514 if test "$wxUSE_LIBPNG" != "no" ; then
25515 cat >>confdefs.h <<\_ACEOF
25516 #define wxUSE_LIBPNG 1
25520 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBPNG" = "builtin" ; then
25521 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&5
25522 echo "$as_me: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&2;}
25526 if test "$wxUSE_MGL" != 1 -a "$wxUSE_LIBPNG" = "sys" -a "$wxUSE_ZLIB" != "sys" ; then
25527 { echo "$as_me:$LINENO: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&5
25528 echo "$as_me: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&2;}
25529 wxUSE_LIBPNG=builtin
25532 if test "$wxUSE_MGL" != 1 ; then
25533 if test "$wxUSE_LIBPNG" = "sys" -o "$wxUSE_LIBPNG" = "yes" ; then
25534 { echo "$as_me:$LINENO: checking for png.h > 0.90" >&5
25535 echo $ECHO_N "checking for png.h > 0.90... $ECHO_C" >&6; }
25536 if test "${ac_cv_header_png_h+set}" = set; then
25537 echo $ECHO_N "(cached) $ECHO_C" >&6
25539 if test "$cross_compiling" = yes; then
25540 unset ac_cv_header_png_h
25543 cat >conftest.$ac_ext <<_ACEOF
25546 cat confdefs.h >>conftest.$ac_ext
25547 cat >>conftest.$ac_ext <<_ACEOF
25548 /* end confdefs.h. */
25555 FILE *f=fopen("conftestval", "w");
25558 PNG_LIBPNG_VER > 90 ? "yes" : "no");
25563 rm -f conftest$ac_exeext
25564 if { (ac_try="$ac_link"
25565 case "(($ac_try" in
25566 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
25567 *) ac_try_echo
=$ac_try;;
25569 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25570 (eval "$ac_link") 2>&5
25572 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25573 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
25574 { (case "(($ac_try" in
25575 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
25576 *) ac_try_echo=$ac_try;;
25578 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25579 (eval "$ac_try") 2>&5
25581 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25582 (exit $ac_status); }; }; then
25583 ac_cv_header_png_h=`cat conftestval
`
25585 echo "$as_me: program exited with status $ac_status" >&5
25586 echo "$as_me: failed program was:" >&5
25587 sed 's/^/| /' conftest.$ac_ext >&5
25589 ( exit $ac_status )
25590 ac_cv_header_png_h=no
25592 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
25598 { echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
25599 echo "${ECHO_T}$ac_cv_header_png_h" >&6; }
25600 { echo "$as_me:$LINENO: checking for png.h" >&5
25601 echo $ECHO_N "checking for png.h... $ECHO_C" >&6; }
25602 if test "${ac_cv_header_png_h+set}" = set; then
25603 echo $ECHO_N "(cached) $ECHO_C" >&6
25605 cat >conftest.$ac_ext <<_ACEOF
25608 cat confdefs.h >>conftest.$ac_ext
25609 cat >>conftest.$ac_ext <<_ACEOF
25610 /* end confdefs.h. */
25615 rm -f conftest.$ac_objext
25616 if { (ac_try="$ac_compile"
25617 case "(($ac_try" in
25618 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
25619 *) ac_try_echo
=$ac_try;;
25621 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25622 (eval "$ac_compile") 2>conftest.er1
25624 grep -v '^ *+' conftest.er1
>conftest.err
25626 cat conftest.err
>&5
25627 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25628 (exit $ac_status); } && {
25629 test -z "$ac_c_werror_flag" ||
25630 test ! -s conftest.err
25631 } && test -s conftest.
$ac_objext; then
25632 ac_cv_header_png_h
=yes
25634 echo "$as_me: failed program was:" >&5
25635 sed 's/^/| /' conftest.
$ac_ext >&5
25637 ac_cv_header_png_h
=no
25640 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
25642 { echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
25643 echo "${ECHO_T}$ac_cv_header_png_h" >&6; }
25647 if test "$ac_cv_header_png_h" = "yes"; then
25648 { echo "$as_me:$LINENO: checking for png_check_sig in -lpng" >&5
25649 echo $ECHO_N "checking for png_check_sig in -lpng... $ECHO_C" >&6; }
25650 if test "${ac_cv_lib_png_png_check_sig+set}" = set; then
25651 echo $ECHO_N "(cached) $ECHO_C" >&6
25653 ac_check_lib_save_LIBS
=$LIBS
25654 LIBS
="-lpng -lz -lm $LIBS"
25655 cat >conftest.
$ac_ext <<_ACEOF
25658 cat confdefs.h
>>conftest.
$ac_ext
25659 cat >>conftest.
$ac_ext <<_ACEOF
25660 /* end confdefs.h. */
25662 /* Override any GCC internal prototype to avoid an error.
25663 Use char because int might match the return type of a GCC
25664 builtin and then its argument prototype would still apply. */
25668 char png_check_sig ();
25672 return png_check_sig ();
25677 rm -f conftest.
$ac_objext conftest
$ac_exeext
25678 if { (ac_try
="$ac_link"
25679 case "(($ac_try" in
25680 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
25681 *) ac_try_echo=$ac_try;;
25683 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25684 (eval "$ac_link") 2>conftest.er1
25686 grep -v '^ *+' conftest.er1 >conftest.err
25688 cat conftest.err >&5
25689 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25690 (exit $ac_status); } && {
25691 test -z "$ac_c_werror_flag" ||
25692 test ! -s conftest.err
25693 } && test -s conftest$ac_exeext &&
25694 $as_test_x conftest$ac_exeext; then
25695 ac_cv_lib_png_png_check_sig=yes
25697 echo "$as_me: failed program was:" >&5
25698 sed 's/^/| /' conftest.$ac_ext >&5
25700 ac_cv_lib_png_png_check_sig=no
25703 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25704 conftest$ac_exeext conftest.$ac_ext
25705 LIBS=$ac_check_lib_save_LIBS
25707 { echo "$as_me:$LINENO: result: $ac_cv_lib_png_png_check_sig" >&5
25708 echo "${ECHO_T}$ac_cv_lib_png_png_check_sig" >&6; }
25709 if test $ac_cv_lib_png_png_check_sig = yes; then
25710 PNG_LINK=" -lpng -lz"
25715 if test "x$PNG_LINK" = "x" ; then
25716 if test "$wxUSE_LIBPNG" = "sys" ; then
25717 { { echo "$as_me:$LINENO: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&5
25718 echo "$as_me: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&2;}
25719 { (exit 1); exit 1; }; }
25721 { echo "$as_me:$LINENO: WARNING: system png library not found or too old, will use built-in instead" >&5
25722 echo "$as_me: WARNING: system png library not found or too old, will use built-in instead" >&2;}
25723 wxUSE_LIBPNG=builtin
25731 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS png"
25736 if test "$wxUSE_LIBJPEG" != "no" ; then
25737 cat >>confdefs.h <<\_ACEOF
25738 #define wxUSE_LIBJPEG 1
25742 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBJPEG" = "builtin" ; then
25743 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&5
25744 echo "$as_me: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&2;}
25748 if test "$wxUSE_MGL" != 1 ; then
25749 if test "$wxUSE_LIBJPEG" = "sys" -o "$wxUSE_LIBJPEG" = "yes" ; then
25750 { echo "$as_me:$LINENO: checking for jpeglib.h" >&5
25751 echo $ECHO_N "checking for jpeglib.h... $ECHO_C" >&6; }
25752 if test "${ac_cv_header_jpeglib_h+set}" = set; then
25753 echo $ECHO_N "(cached) $ECHO_C" >&6
25755 cat >conftest.$ac_ext <<_ACEOF
25758 cat confdefs.h >>conftest.$ac_ext
25759 cat >>conftest.$ac_ext <<_ACEOF
25760 /* end confdefs.h. */
25762 #undef HAVE_STDLIB_H
25764 #include <jpeglib.h>
25775 rm -f conftest.$ac_objext
25776 if { (ac_try="$ac_compile"
25777 case "(($ac_try" in
25778 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
25779 *) ac_try_echo
=$ac_try;;
25781 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25782 (eval "$ac_compile") 2>conftest.er1
25784 grep -v '^ *+' conftest.er1
>conftest.err
25786 cat conftest.err
>&5
25787 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25788 (exit $ac_status); } && {
25789 test -z "$ac_c_werror_flag" ||
25790 test ! -s conftest.err
25791 } && test -s conftest.
$ac_objext; then
25792 ac_cv_header_jpeglib_h
=yes
25794 echo "$as_me: failed program was:" >&5
25795 sed 's/^/| /' conftest.
$ac_ext >&5
25797 ac_cv_header_jpeglib_h
=no
25801 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
25805 { echo "$as_me:$LINENO: result: $ac_cv_header_jpeglib_h" >&5
25806 echo "${ECHO_T}$ac_cv_header_jpeglib_h" >&6; }
25808 if test "$ac_cv_header_jpeglib_h" = "yes"; then
25809 { echo "$as_me:$LINENO: checking for jpeg_read_header in -ljpeg" >&5
25810 echo $ECHO_N "checking for jpeg_read_header in -ljpeg... $ECHO_C" >&6; }
25811 if test "${ac_cv_lib_jpeg_jpeg_read_header+set}" = set; then
25812 echo $ECHO_N "(cached) $ECHO_C" >&6
25814 ac_check_lib_save_LIBS
=$LIBS
25815 LIBS
="-ljpeg $LIBS"
25816 cat >conftest.
$ac_ext <<_ACEOF
25819 cat confdefs.h
>>conftest.
$ac_ext
25820 cat >>conftest.
$ac_ext <<_ACEOF
25821 /* end confdefs.h. */
25823 /* Override any GCC internal prototype to avoid an error.
25824 Use char because int might match the return type of a GCC
25825 builtin and then its argument prototype would still apply. */
25829 char jpeg_read_header ();
25833 return jpeg_read_header ();
25838 rm -f conftest.
$ac_objext conftest
$ac_exeext
25839 if { (ac_try
="$ac_link"
25840 case "(($ac_try" in
25841 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
25842 *) ac_try_echo=$ac_try;;
25844 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25845 (eval "$ac_link") 2>conftest.er1
25847 grep -v '^ *+' conftest.er1 >conftest.err
25849 cat conftest.err >&5
25850 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25851 (exit $ac_status); } && {
25852 test -z "$ac_c_werror_flag" ||
25853 test ! -s conftest.err
25854 } && test -s conftest$ac_exeext &&
25855 $as_test_x conftest$ac_exeext; then
25856 ac_cv_lib_jpeg_jpeg_read_header=yes
25858 echo "$as_me: failed program was:" >&5
25859 sed 's/^/| /' conftest.$ac_ext >&5
25861 ac_cv_lib_jpeg_jpeg_read_header=no
25864 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25865 conftest$ac_exeext conftest.$ac_ext
25866 LIBS=$ac_check_lib_save_LIBS
25868 { echo "$as_me:$LINENO: result: $ac_cv_lib_jpeg_jpeg_read_header" >&5
25869 echo "${ECHO_T}$ac_cv_lib_jpeg_jpeg_read_header" >&6; }
25870 if test $ac_cv_lib_jpeg_jpeg_read_header = yes; then
25871 JPEG_LINK=" -ljpeg"
25876 if test "x$JPEG_LINK" = "x" ; then
25877 if test "$wxUSE_LIBJPEG" = "sys" ; then
25878 { { echo "$as_me:$LINENO: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&5
25879 echo "$as_me: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&2;}
25880 { (exit 1); exit 1; }; }
25882 { echo "$as_me:$LINENO: WARNING: system jpeg library not found, will use built-in instead" >&5
25883 echo "$as_me: WARNING: system jpeg library not found, will use built-in instead" >&2;}
25884 wxUSE_LIBJPEG=builtin
25889 if test "$wxUSE_MSW" = 1; then
25890 { echo "$as_me:$LINENO: checking for boolean" >&5
25891 echo $ECHO_N "checking for boolean... $ECHO_C" >&6; }
25892 if test "${ac_cv_type_boolean+set}" = set; then
25893 echo $ECHO_N "(cached) $ECHO_C" >&6
25895 cat >conftest.$ac_ext <<_ACEOF
25898 cat confdefs.h >>conftest.$ac_ext
25899 cat >>conftest.$ac_ext <<_ACEOF
25900 /* end confdefs.h. */
25901 #include <windows.h>
25903 typedef boolean ac__type_new_;
25907 if ((ac__type_new_ *) 0)
25909 if (sizeof (ac__type_new_))
25915 rm -f conftest.$ac_objext
25916 if { (ac_try="$ac_compile"
25917 case "(($ac_try" in
25918 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
25919 *) ac_try_echo
=$ac_try;;
25921 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25922 (eval "$ac_compile") 2>conftest.er1
25924 grep -v '^ *+' conftest.er1
>conftest.err
25926 cat conftest.err
>&5
25927 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25928 (exit $ac_status); } && {
25929 test -z "$ac_c_werror_flag" ||
25930 test ! -s conftest.err
25931 } && test -s conftest.
$ac_objext; then
25932 ac_cv_type_boolean
=yes
25934 echo "$as_me: failed program was:" >&5
25935 sed 's/^/| /' conftest.
$ac_ext >&5
25937 ac_cv_type_boolean
=no
25940 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
25942 { echo "$as_me:$LINENO: result: $ac_cv_type_boolean" >&5
25943 echo "${ECHO_T}$ac_cv_type_boolean" >&6; }
25944 if test $ac_cv_type_boolean = yes; then
25946 cat >>confdefs.h
<<_ACEOF
25947 #define HAVE_BOOLEAN 1
25951 { echo "$as_me:$LINENO: checking for boolean" >&5
25952 echo $ECHO_N "checking for boolean... $ECHO_C" >&6; }
25953 if test "${ac_cv_type_boolean+set}" = set; then
25954 echo $ECHO_N "(cached) $ECHO_C" >&6
25956 cat >conftest.
$ac_ext <<_ACEOF
25959 cat confdefs.h
>>conftest.
$ac_ext
25960 cat >>conftest.
$ac_ext <<_ACEOF
25961 /* end confdefs.h. */
25963 #undef HAVE_BOOLEAN
25965 #include <jpeglib.h>
25968 typedef boolean ac__type_new_;
25972 if ((ac__type_new_ *) 0)
25974 if (sizeof (ac__type_new_))
25980 rm -f conftest.
$ac_objext
25981 if { (ac_try
="$ac_compile"
25982 case "(($ac_try" in
25983 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
25984 *) ac_try_echo=$ac_try;;
25986 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25987 (eval "$ac_compile") 2>conftest.er1
25989 grep -v '^ *+' conftest.er1 >conftest.err
25991 cat conftest.err >&5
25992 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25993 (exit $ac_status); } && {
25994 test -z "$ac_c_werror_flag" ||
25995 test ! -s conftest.err
25996 } && test -s conftest.$ac_objext; then
25997 ac_cv_type_boolean=yes
25999 echo "$as_me: failed program was:" >&5
26000 sed 's/^/| /' conftest.$ac_ext >&5
26002 ac_cv_type_boolean=no
26005 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26007 { echo "$as_me:$LINENO: result: $ac_cv_type_boolean" >&5
26008 echo "${ECHO_T}$ac_cv_type_boolean" >&6; }
26010 # The cast to long int works around a bug in the HP C Compiler
26011 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
26012 # declarations like `int a3
[[(sizeof
(unsigned char
)) >= 0]];'.
26013 # This bug is HP SR number 8606223364.
26014 { echo "$as_me:$LINENO: checking size of boolean" >&5
26015 echo $ECHO_N "checking size of boolean... $ECHO_C" >&6; }
26016 if test "${ac_cv_sizeof_boolean+set}" = set; then
26017 echo $ECHO_N "(cached) $ECHO_C" >&6
26019 if test "$cross_compiling" = yes; then
26020 # Depending upon the size, compute the lo and hi bounds.
26021 cat >conftest.$ac_ext <<_ACEOF
26024 cat confdefs.h >>conftest.$ac_ext
26025 cat >>conftest.$ac_ext <<_ACEOF
26026 /* end confdefs.h. */
26028 #undef HAVE_BOOLEAN
26030 #include <jpeglib.h>
26033 typedef boolean ac__type_sizeof_;
26037 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
26044 rm -f conftest.$ac_objext
26045 if { (ac_try="$ac_compile"
26046 case "(($ac_try" in
26047 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26048 *) ac_try_echo=$ac_try;;
26050 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26051 (eval "$ac_compile") 2>conftest.er1
26053 grep -v '^
*+' conftest.er1 >conftest.err
26055 cat conftest.err >&5
26056 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26057 (exit $ac_status); } && {
26058 test -z "$ac_c_werror_flag" ||
26059 test ! -s conftest.err
26060 } && test -s conftest.$ac_objext; then
26063 cat >conftest.$ac_ext <<_ACEOF
26066 cat confdefs.h >>conftest.$ac_ext
26067 cat >>conftest.$ac_ext <<_ACEOF
26068 /* end confdefs.h. */
26070 #undef HAVE_BOOLEAN
26072 #include <jpeglib.h>
26075 typedef boolean ac__type_sizeof_;
26079 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
26086 rm -f conftest.$ac_objext
26087 if { (ac_try="$ac_compile"
26088 case "(($ac_try" in
26089 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26090 *) ac_try_echo=$ac_try;;
26092 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26093 (eval "$ac_compile") 2>conftest.er1
26095 grep -v '^
*+' conftest.er1 >conftest.err
26097 cat conftest.err >&5
26098 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26099 (exit $ac_status); } && {
26100 test -z "$ac_c_werror_flag" ||
26101 test ! -s conftest.err
26102 } && test -s conftest.$ac_objext; then
26103 ac_hi=$ac_mid; break
26105 echo "$as_me: failed program was:" >&5
26106 sed 's
/^
/| /' conftest.$ac_ext >&5
26108 ac_lo=`expr $ac_mid + 1`
26109 if test $ac_lo -le $ac_mid; then
26113 ac_mid=`expr 2 '*' $ac_mid + 1`
26116 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26119 echo "$as_me: failed program was:" >&5
26120 sed 's
/^
/| /' conftest.$ac_ext >&5
26122 cat >conftest.$ac_ext <<_ACEOF
26125 cat confdefs.h >>conftest.$ac_ext
26126 cat >>conftest.$ac_ext <<_ACEOF
26127 /* end confdefs.h. */
26129 #undef HAVE_BOOLEAN
26131 #include <jpeglib.h>
26134 typedef boolean ac__type_sizeof_;
26138 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
26145 rm -f conftest.$ac_objext
26146 if { (ac_try="$ac_compile"
26147 case "(($ac_try" in
26148 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26149 *) ac_try_echo=$ac_try;;
26151 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26152 (eval "$ac_compile") 2>conftest.er1
26154 grep -v '^
*+' conftest.er1 >conftest.err
26156 cat conftest.err >&5
26157 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26158 (exit $ac_status); } && {
26159 test -z "$ac_c_werror_flag" ||
26160 test ! -s conftest.err
26161 } && test -s conftest.$ac_objext; then
26164 cat >conftest.$ac_ext <<_ACEOF
26167 cat confdefs.h >>conftest.$ac_ext
26168 cat >>conftest.$ac_ext <<_ACEOF
26169 /* end confdefs.h. */
26171 #undef HAVE_BOOLEAN
26173 #include <jpeglib.h>
26176 typedef boolean ac__type_sizeof_;
26180 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
26187 rm -f conftest.$ac_objext
26188 if { (ac_try="$ac_compile"
26189 case "(($ac_try" in
26190 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26191 *) ac_try_echo=$ac_try;;
26193 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26194 (eval "$ac_compile") 2>conftest.er1
26196 grep -v '^
*+' conftest.er1 >conftest.err
26198 cat conftest.err >&5
26199 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26200 (exit $ac_status); } && {
26201 test -z "$ac_c_werror_flag" ||
26202 test ! -s conftest.err
26203 } && test -s conftest.$ac_objext; then
26204 ac_lo=$ac_mid; break
26206 echo "$as_me: failed program was:" >&5
26207 sed 's
/^
/| /' conftest.$ac_ext >&5
26209 ac_hi=`expr '(' $ac_mid ')' - 1`
26210 if test $ac_mid -le $ac_hi; then
26214 ac_mid=`expr 2 '*' $ac_mid`
26217 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26220 echo "$as_me: failed program was:" >&5
26221 sed 's
/^
/| /' conftest.$ac_ext >&5
26226 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26229 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26230 # Binary search between lo and hi bounds.
26231 while test "x$ac_lo" != "x$ac_hi"; do
26232 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
26233 cat >conftest.$ac_ext <<_ACEOF
26236 cat confdefs.h >>conftest.$ac_ext
26237 cat >>conftest.$ac_ext <<_ACEOF
26238 /* end confdefs.h. */
26240 #undef HAVE_BOOLEAN
26242 #include <jpeglib.h>
26245 typedef boolean ac__type_sizeof_;
26249 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
26256 rm -f conftest.$ac_objext
26257 if { (ac_try="$ac_compile"
26258 case "(($ac_try" in
26259 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26260 *) ac_try_echo=$ac_try;;
26262 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26263 (eval "$ac_compile") 2>conftest.er1
26265 grep -v '^
*+' conftest.er1 >conftest.err
26267 cat conftest.err >&5
26268 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26269 (exit $ac_status); } && {
26270 test -z "$ac_c_werror_flag" ||
26271 test ! -s conftest.err
26272 } && test -s conftest.$ac_objext; then
26275 echo "$as_me: failed program was:" >&5
26276 sed 's
/^
/| /' conftest.$ac_ext >&5
26278 ac_lo=`expr '(' $ac_mid ')' + 1`
26281 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26284 ?*) ac_cv_sizeof_boolean=$ac_lo;;
26285 '') if test "$ac_cv_type_boolean" = yes; then
26286 { { echo "$as_me:$LINENO: error: cannot compute sizeof (boolean)
26287 See \`config.log' for more details.
" >&5
26288 echo "$as_me: error
: cannot compute sizeof
(boolean
)
26289 See \
`config.log' for more details." >&2;}
26290 { (exit 77); exit 77; }; }
26292 ac_cv_sizeof_boolean=0
26296 cat >conftest.$ac_ext <<_ACEOF
26299 cat confdefs.h >>conftest.$ac_ext
26300 cat >>conftest.$ac_ext <<_ACEOF
26301 /* end confdefs.h. */
26303 #undef HAVE_BOOLEAN
26305 #include <jpeglib.h>
26308 typedef boolean ac__type_sizeof_;
26309 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
26310 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
26312 #include <stdlib.h>
26317 FILE *f = fopen ("conftest.val", "w");
26320 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
26322 long int i = longval ();
26323 if (i != ((long int) (sizeof (ac__type_sizeof_))))
26325 fprintf (f, "%ld\n", i);
26329 unsigned long int i = ulongval ();
26330 if (i != ((long int) (sizeof (ac__type_sizeof_))))
26332 fprintf (f, "%lu\n", i);
26334 return ferror (f) || fclose (f) != 0;
26340 rm -f conftest$ac_exeext
26341 if { (ac_try="$ac_link"
26342 case "(($ac_try" in
26343 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
26344 *) ac_try_echo
=$ac_try;;
26346 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26347 (eval "$ac_link") 2>&5
26349 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26350 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
26351 { (case "(($ac_try" in
26352 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
26353 *) ac_try_echo=$ac_try;;
26355 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26356 (eval "$ac_try") 2>&5
26358 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26359 (exit $ac_status); }; }; then
26360 ac_cv_sizeof_boolean=`cat conftest.val
`
26362 echo "$as_me: program exited with status $ac_status" >&5
26363 echo "$as_me: failed program was:" >&5
26364 sed 's/^/| /' conftest.$ac_ext >&5
26366 ( exit $ac_status )
26367 if test "$ac_cv_type_boolean" = yes; then
26368 { { echo "$as_me:$LINENO: error: cannot compute sizeof (boolean)
26369 See \`config.log
' for more details." >&5
26370 echo "$as_me: error: cannot compute sizeof (boolean)
26371 See \`config.log' for more details.
" >&2;}
26372 { (exit 77); exit 77; }; }
26374 ac_cv_sizeof_boolean=0
26377 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
26381 { echo "$as_me:$LINENO: result
: $ac_cv_sizeof_boolean" >&5
26382 echo "${ECHO_T}$ac_cv_sizeof_boolean" >&6; }
26386 cat >>confdefs.h <<_ACEOF
26387 #define SIZEOF_BOOLEAN $ac_cv_sizeof_boolean
26391 cat >>confdefs.h <<_ACEOF
26392 #define wxHACK_BOOLEAN wxInt`expr 8 \* $ac_cv_sizeof_boolean`
26406 TIFF_PREREQ_LINKS=-lm
26407 if test "$wxUSE_LIBTIFF" != "no
" ; then
26408 cat >>confdefs.h <<\_ACEOF
26409 #define wxUSE_LIBTIFF 1
26413 if test "$wxUSE_LIBTIFF" = "sys
" -o "$wxUSE_LIBTIFF" = "yes" ; then
26414 if test "$wxUSE_LIBJPEG" = "sys
"; then
26415 TIFF_PREREQ_LINKS="$TIFF_PREREQ_LINKS $JPEG_LINK"
26417 if test "$wxUSE_ZLIB" = "sys
"; then
26418 TIFF_PREREQ_LINKS="$TIFF_PREREQ_LINKS $ZLIB_LINK"
26420 { echo "$as_me:$LINENO: checking
for tiffio.h
" >&5
26421 echo $ECHO_N "checking
for tiffio.h...
$ECHO_C" >&6; }
26422 if test "${ac_cv_header_tiffio_h+set}" = set; then
26423 echo $ECHO_N "(cached
) $ECHO_C" >&6
26425 cat >conftest.$ac_ext <<_ACEOF
26428 cat confdefs.h >>conftest.$ac_ext
26429 cat >>conftest.$ac_ext <<_ACEOF
26430 /* end confdefs.h. */
26434 #include <tiffio.h>
26436 rm -f conftest.$ac_objext
26437 if { (ac_try="$ac_compile"
26438 case "(($ac_try" in
26439 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26440 *) ac_try_echo=$ac_try;;
26442 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
26443 (eval "$ac_compile") 2>conftest.er1
26445 grep -v '^ *+' conftest.er1 >conftest.err
26447 cat conftest.err >&5
26448 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
26449 (exit $ac_status); } && {
26450 test -z "$ac_c_werror_flag" ||
26451 test ! -s conftest.err
26452 } && test -s conftest.$ac_objext; then
26453 ac_cv_header_tiffio_h=yes
26455 echo "$as_me: failed program was
:" >&5
26456 sed 's/^/| /' conftest.$ac_ext >&5
26458 ac_cv_header_tiffio_h=no
26461 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26463 { echo "$as_me:$LINENO: result
: $ac_cv_header_tiffio_h" >&5
26464 echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6; }
26465 if test $ac_cv_header_tiffio_h = yes; then
26467 { echo "$as_me:$LINENO: checking
for TIFFError
in -ltiff" >&5
26468 echo $ECHO_N "checking
for TIFFError
in -ltiff...
$ECHO_C" >&6; }
26469 if test "${ac_cv_lib_tiff_TIFFError+set}" = set; then
26470 echo $ECHO_N "(cached
) $ECHO_C" >&6
26472 ac_check_lib_save_LIBS=$LIBS
26473 LIBS="-ltiff $TIFF_PREREQ_LINKS $LIBS"
26474 cat >conftest.$ac_ext <<_ACEOF
26477 cat confdefs.h >>conftest.$ac_ext
26478 cat >>conftest.$ac_ext <<_ACEOF
26479 /* end confdefs.h. */
26481 /* Override any GCC internal prototype to avoid an error.
26482 Use char because int might match the return type of a GCC
26483 builtin and then its argument prototype would still apply. */
26491 return TIFFError ();
26496 rm -f conftest.$ac_objext conftest$ac_exeext
26497 if { (ac_try="$ac_link"
26498 case "(($ac_try" in
26499 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26500 *) ac_try_echo=$ac_try;;
26502 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
26503 (eval "$ac_link") 2>conftest.er1
26505 grep -v '^ *+' conftest.er1 >conftest.err
26507 cat conftest.err >&5
26508 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
26509 (exit $ac_status); } && {
26510 test -z "$ac_c_werror_flag" ||
26511 test ! -s conftest.err
26512 } && test -s conftest$ac_exeext &&
26513 $as_test_x conftest$ac_exeext; then
26514 ac_cv_lib_tiff_TIFFError=yes
26516 echo "$as_me: failed program was
:" >&5
26517 sed 's/^/| /' conftest.$ac_ext >&5
26519 ac_cv_lib_tiff_TIFFError=no
26522 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26523 conftest$ac_exeext conftest.$ac_ext
26524 LIBS=$ac_check_lib_save_LIBS
26526 { echo "$as_me:$LINENO: result
: $ac_cv_lib_tiff_TIFFError" >&5
26527 echo "${ECHO_T}$ac_cv_lib_tiff_TIFFError" >&6; }
26528 if test $ac_cv_lib_tiff_TIFFError = yes; then
26529 TIFF_LINK=" -ltiff"
26537 if test "x
$TIFF_LINK" = "x
" ; then
26538 if test "$wxUSE_LIBTIFF" = "sys
" ; then
26539 { { echo "$as_me:$LINENO: error
: system tiff library not found
! Use
--with-libtiff=builtin to use built
-in version
" >&5
26540 echo "$as_me: error
: system tiff library not found
! Use
--with-libtiff=builtin to use built
-in version
" >&2;}
26541 { (exit 1); exit 1; }; }
26543 { echo "$as_me:$LINENO: WARNING
: system tiff library not found
, will use built
-in instead
" >&5
26544 echo "$as_me: WARNING
: system tiff library not found
, will use built
-in instead
" >&2;}
26545 wxUSE_LIBTIFF=builtin
26554 if test "$wxUSE_WCHAR_T" != "yes"; then
26555 if test "$wxUSE_EXPAT" != "no
"; then
26556 { echo "$as_me:$LINENO: WARNING
: wxWidgets requires wchar_t to use expat
, disabling
" >&5
26557 echo "$as_me: WARNING
: wxWidgets requires wchar_t to use expat
, disabling
" >&2;}
26560 if test "$wxUSE_XML" != "no
"; then
26561 { echo "$as_me:$LINENO: WARNING
: wxWidgets requires wchar_t to use xml
, disabling
" >&5
26562 echo "$as_me: WARNING
: wxWidgets requires wchar_t to use xml
, disabling
" >&2;}
26567 if test "$wxUSE_EXPAT" != "no
"; then
26569 cat >>confdefs.h <<\_ACEOF
26570 #define wxUSE_EXPAT 1
26573 cat >>confdefs.h <<\_ACEOF
26574 #define wxUSE_XML 1
26578 if test "$wxUSE_EXPAT" = "sys
" -o "$wxUSE_EXPAT" = "yes" ; then
26579 { echo "$as_me:$LINENO: checking
for expat.h
" >&5
26580 echo $ECHO_N "checking
for expat.h...
$ECHO_C" >&6; }
26581 if test "${ac_cv_header_expat_h+set}" = set; then
26582 echo $ECHO_N "(cached
) $ECHO_C" >&6
26584 cat >conftest.$ac_ext <<_ACEOF
26587 cat confdefs.h >>conftest.$ac_ext
26588 cat >>conftest.$ac_ext <<_ACEOF
26589 /* end confdefs.h. */
26594 rm -f conftest.$ac_objext
26595 if { (ac_try="$ac_compile"
26596 case "(($ac_try" in
26597 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26598 *) ac_try_echo=$ac_try;;
26600 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
26601 (eval "$ac_compile") 2>conftest.er1
26603 grep -v '^ *+' conftest.er1 >conftest.err
26605 cat conftest.err >&5
26606 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
26607 (exit $ac_status); } && {
26608 test -z "$ac_c_werror_flag" ||
26609 test ! -s conftest.err
26610 } && test -s conftest.$ac_objext; then
26611 ac_cv_header_expat_h=yes
26613 echo "$as_me: failed program was
:" >&5
26614 sed 's/^/| /' conftest.$ac_ext >&5
26616 ac_cv_header_expat_h=no
26619 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26621 { echo "$as_me:$LINENO: result
: $ac_cv_header_expat_h" >&5
26622 echo "${ECHO_T}$ac_cv_header_expat_h" >&6; }
26623 if test $ac_cv_header_expat_h = yes; then
26628 if test "x
$found_expat_h" = "x1
"; then
26629 { echo "$as_me:$LINENO: checking
if expat.h is valid C
++ header
" >&5
26630 echo $ECHO_N "checking
if expat.h is valid C
++ header...
$ECHO_C" >&6; }
26631 if test "${wx_cv_expat_is_not_broken+set}" = set; then
26632 echo $ECHO_N "(cached
) $ECHO_C" >&6
26636 ac_cpp='$CXXCPP $CPPFLAGS'
26637 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26638 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26639 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26641 cat >conftest.$ac_ext <<_ACEOF
26644 cat confdefs.h >>conftest.$ac_ext
26645 cat >>conftest.$ac_ext <<_ACEOF
26646 /* end confdefs.h. */
26656 rm -f conftest.$ac_objext
26657 if { (ac_try="$ac_compile"
26658 case "(($ac_try" in
26659 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26660 *) ac_try_echo=$ac_try;;
26662 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
26663 (eval "$ac_compile") 2>conftest.er1
26665 grep -v '^ *+' conftest.er1 >conftest.err
26667 cat conftest.err >&5
26668 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
26669 (exit $ac_status); } && {
26670 test -z "$ac_cxx_werror_flag" ||
26671 test ! -s conftest.err
26672 } && test -s conftest.$ac_objext; then
26673 wx_cv_expat_is_not_broken=yes
26675 echo "$as_me: failed program was
:" >&5
26676 sed 's/^/| /' conftest.$ac_ext >&5
26678 wx_cv_expat_is_not_broken=no
26682 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26684 ac_cpp='$CPP $CPPFLAGS'
26685 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26686 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26687 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26692 { echo "$as_me:$LINENO: result
: $wx_cv_expat_is_not_broken" >&5
26693 echo "${ECHO_T}$wx_cv_expat_is_not_broken" >&6; }
26694 if test "$wx_cv_expat_is_not_broken" = "yes" ; then
26695 { echo "$as_me:$LINENO: checking
for XML_ParserCreate
in -lexpat" >&5
26696 echo $ECHO_N "checking
for XML_ParserCreate
in -lexpat...
$ECHO_C" >&6; }
26697 if test "${ac_cv_lib_expat_XML_ParserCreate+set}" = set; then
26698 echo $ECHO_N "(cached
) $ECHO_C" >&6
26700 ac_check_lib_save_LIBS=$LIBS
26701 LIBS="-lexpat $LIBS"
26702 cat >conftest.$ac_ext <<_ACEOF
26705 cat confdefs.h >>conftest.$ac_ext
26706 cat >>conftest.$ac_ext <<_ACEOF
26707 /* end confdefs.h. */
26709 /* Override any GCC internal prototype to avoid an error.
26710 Use char because int might match the return type of a GCC
26711 builtin and then its argument prototype would still apply. */
26715 char XML_ParserCreate ();
26719 return XML_ParserCreate ();
26724 rm -f conftest.$ac_objext conftest$ac_exeext
26725 if { (ac_try="$ac_link"
26726 case "(($ac_try" in
26727 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26728 *) ac_try_echo=$ac_try;;
26730 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
26731 (eval "$ac_link") 2>conftest.er1
26733 grep -v '^ *+' conftest.er1 >conftest.err
26735 cat conftest.err >&5
26736 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
26737 (exit $ac_status); } && {
26738 test -z "$ac_c_werror_flag" ||
26739 test ! -s conftest.err
26740 } && test -s conftest$ac_exeext &&
26741 $as_test_x conftest$ac_exeext; then
26742 ac_cv_lib_expat_XML_ParserCreate=yes
26744 echo "$as_me: failed program was
:" >&5
26745 sed 's/^/| /' conftest.$ac_ext >&5
26747 ac_cv_lib_expat_XML_ParserCreate=no
26750 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26751 conftest$ac_exeext conftest.$ac_ext
26752 LIBS=$ac_check_lib_save_LIBS
26754 { echo "$as_me:$LINENO: result
: $ac_cv_lib_expat_XML_ParserCreate" >&5
26755 echo "${ECHO_T}$ac_cv_lib_expat_XML_ParserCreate" >&6; }
26756 if test $ac_cv_lib_expat_XML_ParserCreate = yes; then
26757 EXPAT_LINK=" -lexpat"
26762 if test "x
$EXPAT_LINK" = "x
" ; then
26763 if test "$wxUSE_EXPAT" = "sys
" ; then
26764 { { echo "$as_me:$LINENO: error
: system expat library not found
! Use
--with-expat=builtin to use built
-in version
" >&5
26765 echo "$as_me: error
: system expat library not found
! Use
--with-expat=builtin to use built
-in version
" >&2;}
26766 { (exit 1); exit 1; }; }
26768 { echo "$as_me:$LINENO: WARNING
: system expat library not found
, will use built
-in instead
" >&5
26769 echo "$as_me: WARNING
: system expat library not found
, will use built
-in instead
" >&2;}
26770 wxUSE_EXPAT=builtin
26776 if test "$wxUSE_EXPAT" = "builtin" ; then
26777 subdirs="$subdirs src
/expat
"
26784 if test "$wxUSE_LIBMSPACK" != "no
"; then
26785 { echo "$as_me:$LINENO: checking
for mspack.h
" >&5
26786 echo $ECHO_N "checking
for mspack.h...
$ECHO_C" >&6; }
26787 if test "${ac_cv_header_mspack_h+set}" = set; then
26788 echo $ECHO_N "(cached
) $ECHO_C" >&6
26790 cat >conftest.$ac_ext <<_ACEOF
26793 cat confdefs.h >>conftest.$ac_ext
26794 cat >>conftest.$ac_ext <<_ACEOF
26795 /* end confdefs.h. */
26798 #include <mspack.h>
26800 rm -f conftest.$ac_objext
26801 if { (ac_try="$ac_compile"
26802 case "(($ac_try" in
26803 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26804 *) ac_try_echo=$ac_try;;
26806 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
26807 (eval "$ac_compile") 2>conftest.er1
26809 grep -v '^ *+' conftest.er1 >conftest.err
26811 cat conftest.err >&5
26812 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
26813 (exit $ac_status); } && {
26814 test -z "$ac_c_werror_flag" ||
26815 test ! -s conftest.err
26816 } && test -s conftest.$ac_objext; then
26817 ac_cv_header_mspack_h=yes
26819 echo "$as_me: failed program was
:" >&5
26820 sed 's/^/| /' conftest.$ac_ext >&5
26822 ac_cv_header_mspack_h=no
26825 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26827 { echo "$as_me:$LINENO: result
: $ac_cv_header_mspack_h" >&5
26828 echo "${ECHO_T}$ac_cv_header_mspack_h" >&6; }
26829 if test $ac_cv_header_mspack_h = yes; then
26834 if test "x
$found_mspack_h" = "x1
"; then
26835 { echo "$as_me:$LINENO: checking
for mspack_create_chm_decompressor
in -lmspack" >&5
26836 echo $ECHO_N "checking
for mspack_create_chm_decompressor
in -lmspack...
$ECHO_C" >&6; }
26837 if test "${ac_cv_lib_mspack_mspack_create_chm_decompressor+set}" = set; then
26838 echo $ECHO_N "(cached
) $ECHO_C" >&6
26840 ac_check_lib_save_LIBS=$LIBS
26841 LIBS="-lmspack $LIBS"
26842 cat >conftest.$ac_ext <<_ACEOF
26845 cat confdefs.h >>conftest.$ac_ext
26846 cat >>conftest.$ac_ext <<_ACEOF
26847 /* end confdefs.h. */
26849 /* Override any GCC internal prototype to avoid an error.
26850 Use char because int might match the return type of a GCC
26851 builtin and then its argument prototype would still apply. */
26855 char mspack_create_chm_decompressor ();
26859 return mspack_create_chm_decompressor ();
26864 rm -f conftest.$ac_objext conftest$ac_exeext
26865 if { (ac_try="$ac_link"
26866 case "(($ac_try" in
26867 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26868 *) ac_try_echo=$ac_try;;
26870 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
26871 (eval "$ac_link") 2>conftest.er1
26873 grep -v '^ *+' conftest.er1 >conftest.err
26875 cat conftest.err >&5
26876 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
26877 (exit $ac_status); } && {
26878 test -z "$ac_c_werror_flag" ||
26879 test ! -s conftest.err
26880 } && test -s conftest$ac_exeext &&
26881 $as_test_x conftest$ac_exeext; then
26882 ac_cv_lib_mspack_mspack_create_chm_decompressor=yes
26884 echo "$as_me: failed program was
:" >&5
26885 sed 's/^/| /' conftest.$ac_ext >&5
26887 ac_cv_lib_mspack_mspack_create_chm_decompressor=no
26890 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26891 conftest$ac_exeext conftest.$ac_ext
26892 LIBS=$ac_check_lib_save_LIBS
26894 { echo "$as_me:$LINENO: result
: $ac_cv_lib_mspack_mspack_create_chm_decompressor" >&5
26895 echo "${ECHO_T}$ac_cv_lib_mspack_mspack_create_chm_decompressor" >&6; }
26896 if test $ac_cv_lib_mspack_mspack_create_chm_decompressor = yes; then
26897 MSPACK_LINK=" -lmspack"
26901 if test "x
$MSPACK_LINK" = "x
" ; then
26906 if test "$wxUSE_LIBMSPACK" != "no
"; then
26907 cat >>confdefs.h <<\_ACEOF
26908 #define wxUSE_LIBMSPACK 1
26922 if test "$USE_WIN32" = 1 ; then
26923 { echo "$as_me:$LINENO: checking
for w32api.h
" >&5
26924 echo $ECHO_N "checking
for w32api.h...
$ECHO_C" >&6; }
26925 if test "${ac_cv_header_w32api_h+set}" = set; then
26926 echo $ECHO_N "(cached
) $ECHO_C" >&6
26928 cat >conftest.$ac_ext <<_ACEOF
26931 cat confdefs.h >>conftest.$ac_ext
26932 cat >>conftest.$ac_ext <<_ACEOF
26933 /* end confdefs.h. */
26936 #include <w32api.h>
26938 rm -f conftest.$ac_objext
26939 if { (ac_try="$ac_compile"
26940 case "(($ac_try" in
26941 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26942 *) ac_try_echo=$ac_try;;
26944 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
26945 (eval "$ac_compile") 2>conftest.er1
26947 grep -v '^ *+' conftest.er1 >conftest.err
26949 cat conftest.err >&5
26950 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
26951 (exit $ac_status); } && {
26952 test -z "$ac_c_werror_flag" ||
26953 test ! -s conftest.err
26954 } && test -s conftest.$ac_objext; then
26955 ac_cv_header_w32api_h=yes
26957 echo "$as_me: failed program was
:" >&5
26958 sed 's/^/| /' conftest.$ac_ext >&5
26960 ac_cv_header_w32api_h=no
26963 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26965 { echo "$as_me:$LINENO: result
: $ac_cv_header_w32api_h" >&5
26966 echo "${ECHO_T}$ac_cv_header_w32api_h" >&6; }
26969 { echo "$as_me:$LINENO: checking
for windows.h
" >&5
26970 echo $ECHO_N "checking
for windows.h...
$ECHO_C" >&6; }
26971 if test "${ac_cv_header_windows_h+set}" = set; then
26972 echo $ECHO_N "(cached
) $ECHO_C" >&6
26974 cat >conftest.$ac_ext <<_ACEOF
26977 cat confdefs.h >>conftest.$ac_ext
26978 cat >>conftest.$ac_ext <<_ACEOF
26979 /* end confdefs.h. */
26982 #include <windows.h>
26984 rm -f conftest.$ac_objext
26985 if { (ac_try="$ac_compile"
26986 case "(($ac_try" in
26987 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26988 *) ac_try_echo=$ac_try;;
26990 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
26991 (eval "$ac_compile") 2>conftest.er1
26993 grep -v '^ *+' conftest.er1 >conftest.err
26995 cat conftest.err >&5
26996 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
26997 (exit $ac_status); } && {
26998 test -z "$ac_c_werror_flag" ||
26999 test ! -s conftest.err
27000 } && test -s conftest.$ac_objext; then
27001 ac_cv_header_windows_h=yes
27003 echo "$as_me: failed program was
:" >&5
27004 sed 's/^/| /' conftest.$ac_ext >&5
27006 ac_cv_header_windows_h=no
27009 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27011 { echo "$as_me:$LINENO: result
: $ac_cv_header_windows_h" >&5
27012 echo "${ECHO_T}$ac_cv_header_windows_h" >&6; }
27013 if test $ac_cv_header_windows_h = yes; then
27017 { { echo "$as_me:$LINENO: error
: please
set CFLAGS to contain the location of windows.h
" >&5
27018 echo "$as_me: error
: please
set CFLAGS to contain the location of windows.h
" >&2;}
27019 { (exit 1); exit 1; }; }
27025 LIBS="$LIBS -lwinspool -lwinmm -lshell32 -lcomctl32 -lcomdlg32 -lctl3d32 -ladvapi32 -lwsock32 -lgdi32"
27027 if test "$wxUSE_ACCESSIBILITY" = "yes" ; then
27028 LIBS="$LIBS -loleacc"
27033 LIBS="$LIBS -lkernel32 -luser32"
27036 if test "$wxUSE_ODBC" = "sys
" ; then
27039 if test "$wxUSE_ODBC" = "yes" ; then
27040 LIBS=" -lodbc32 -lole32 -loleaut32 $LIBS"
27041 cat >>confdefs.h <<\_ACEOF
27042 #define wxUSE_ODBC 1
27047 RESFLAGS="--include-dir \
$(top_srcdir)/include
--include-dir \
$(top_srcdir)/\
$(program_dir) --define __WIN32__
--define __WIN95__
--define __GNUWIN32__
"
27048 RESPROGRAMOBJ="\
$(PROGRAM)_resources.o
"
27050 WXCONFIG_RESFLAGS="--define __WIN32__
--define __WIN95__
--define __GNUWIN32__
"
27052 WIN32INSTALL=win32install
27054 { echo "$as_me:$LINENO: checking
for pbt.h
" >&5
27055 echo $ECHO_N "checking
for pbt.h...
$ECHO_C" >&6; }
27056 if test "${ac_cv_header_pbt_h+set}" = set; then
27057 echo $ECHO_N "(cached
) $ECHO_C" >&6
27059 cat >conftest.$ac_ext <<_ACEOF
27062 cat confdefs.h >>conftest.$ac_ext
27063 cat >>conftest.$ac_ext <<_ACEOF
27064 /* end confdefs.h. */
27069 rm -f conftest.$ac_objext
27070 if { (ac_try="$ac_compile"
27071 case "(($ac_try" in
27072 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27073 *) ac_try_echo=$ac_try;;
27075 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
27076 (eval "$ac_compile") 2>conftest.er1
27078 grep -v '^ *+' conftest.er1 >conftest.err
27080 cat conftest.err >&5
27081 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
27082 (exit $ac_status); } && {
27083 test -z "$ac_c_werror_flag" ||
27084 test ! -s conftest.err
27085 } && test -s conftest.$ac_objext; then
27086 ac_cv_header_pbt_h=yes
27088 echo "$as_me: failed program was
:" >&5
27089 sed 's/^/| /' conftest.$ac_ext >&5
27091 ac_cv_header_pbt_h=no
27094 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27096 { echo "$as_me:$LINENO: result
: $ac_cv_header_pbt_h" >&5
27097 echo "${ECHO_T}$ac_cv_header_pbt_h" >&6; }
27098 if test $ac_cv_header_pbt_h = yes; then
27101 cat >>confdefs.h <<\_ACEOF
27102 #define NEED_PBT_H 1
27110 if test "$wxUSE_GUI" = "yes"; then
27120 if test "$wxUSE_COCOA" = 1 ; then
27121 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes"; then
27122 { echo "$as_me:$LINENO: WARNING
: Printing not supported under wxCocoa yet
, disabled
" >&5
27123 echo "$as_me: WARNING
: Printing not supported under wxCocoa yet
, disabled
" >&2;}
27124 wxUSE_PRINTING_ARCHITECTURE=no
27126 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
27127 { echo "$as_me:$LINENO: WARNING
: Drag and Drop not supported under wxCocoa yet
, disabled
" >&5
27128 echo "$as_me: WARNING
: Drag and Drop not supported under wxCocoa yet
, disabled
" >&2;}
27129 wxUSE_DRAG_AND_DROP=no
27131 if test "$wxUSE_DRAGIMAGE" = "yes"; then
27132 { echo "$as_me:$LINENO: WARNING
: wxDragImage not supported under wxCocoa yet
, disabled
" >&5
27133 echo "$as_me: WARNING
: wxDragImage not supported under wxCocoa yet
, disabled
" >&2;}
27138 if test "$wxUSE_MSW" = 1 ; then
27144 WXCONFIG_LDFLAGS_GUI="$LDFLAGS -Wl,--subsystem,windows
-mwindows"
27148 if test "$wxUSE_GTK" = 1; then
27149 { echo "$as_me:$LINENO: checking
for GTK
+ version
" >&5
27150 echo $ECHO_N "checking
for GTK
+ version...
$ECHO_C" >&6; }
27152 gtk_version_cached=1
27153 if test "${wx_cv_lib_gtk+set}" = set; then
27154 echo $ECHO_N "(cached
) $ECHO_C" >&6
27157 gtk_version_cached=0
27158 { echo "$as_me:$LINENO: result
: " >&5
27159 echo "${ECHO_T}" >&6; }
27162 if test "$wxUSE_THREADS" = "yes"; then
27163 GTK_MODULES=gthread
27167 if test "x
$wxGTK_VERSION" != "x1
"
27171 if test "$wxUSE_THREADS" = "yes" -a "$GCC" = yes; then
27176 # Check whether --enable-gtktest was given.
27177 if test "${enable_gtktest+set}" = set; then
27178 enableval=$enable_gtktest;
27184 pkg_config_args=gtk+-2.0
27185 for module in . $GTK_MODULES
27189 pkg_config_args="$pkg_config_args gthread
-2.0
"
27196 # Extract the first word of "pkg
-config", so it can be a program name with args.
27197 set dummy pkg-config; ac_word=$2
27198 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
27199 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
27200 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
27201 echo $ECHO_N "(cached
) $ECHO_C" >&6
27203 case $PKG_CONFIG in
27205 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
27208 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
27209 for as_dir in $PATH
27212 test -z "$as_dir" && as_dir=.
27213 for ac_exec_ext in '' $ac_executable_extensions; do
27214 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
27215 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
27216 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
27223 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no
"
27227 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
27228 if test -n "$PKG_CONFIG"; then
27229 { echo "$as_me:$LINENO: result
: $PKG_CONFIG" >&5
27230 echo "${ECHO_T}$PKG_CONFIG" >&6; }
27232 { echo "$as_me:$LINENO: result
: no
" >&5
27233 echo "${ECHO_T}no
" >&6; }
27238 if test x$PKG_CONFIG != xno ; then
27239 if pkg-config --atleast-pkgconfig-version 0.7 ; then
27242 echo "*** pkg
-config too old
; version
0.7 or better required.
"
27250 min_gtk_version=2.0.0
27251 { echo "$as_me:$LINENO: checking
for GTK
+ - version
>= $min_gtk_version" >&5
27252 echo $ECHO_N "checking
for GTK
+ - version
>= $min_gtk_version...
$ECHO_C" >&6; }
27254 if test x$PKG_CONFIG != xno ; then
27255 ## don't try to run the test against uninstalled libtool libs
27256 if $PKG_CONFIG --uninstalled $pkg_config_args; then
27257 echo "Will use uninstalled version of GTK
+ found
in PKG_CONFIG_PATH
"
27261 if $PKG_CONFIG --atleast-version $min_gtk_version $pkg_config_args; then
27268 if test x"$no_gtk" = x ; then
27269 GTK_CFLAGS=`$PKG_CONFIG $pkg_config_args --cflags`
27270 GTK_LIBS=`$PKG_CONFIG $pkg_config_args --libs`
27271 gtk_config_major_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
27272 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
27273 gtk_config_minor_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
27274 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
27275 gtk_config_micro_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
27276 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
27277 if test "x
$enable_gtktest" = "xyes
" ; then
27278 ac_save_CFLAGS="$CFLAGS"
27279 ac_save_LIBS="$LIBS"
27280 CFLAGS="$CFLAGS $GTK_CFLAGS"
27281 LIBS="$GTK_LIBS $LIBS"
27283 if test "$cross_compiling" = yes; then
27284 echo $ac_n "cross compiling
; assumed OK...
$ac_c"
27286 cat >conftest.$ac_ext <<_ACEOF
27289 cat confdefs.h >>conftest.$ac_ext
27290 cat >>conftest.$ac_ext <<_ACEOF
27291 /* end confdefs.h. */
27293 #include <gtk/gtk.h>
27295 #include <stdlib.h>
27300 int major, minor, micro;
27303 system ("touch conf.gtktest
");
27305 /* HP/UX 9 (%@#!) writes to sscanf strings */
27306 tmp_version = g_strdup("$min_gtk_version");
27307 if (sscanf(tmp_version, "%d.
%d.
%d
", &major, &minor, µ) != 3) {
27308 printf("%s
, bad version string
\n", "$min_gtk_version");
27312 if ((gtk_major_version != $gtk_config_major_version) ||
27313 (gtk_minor_version != $gtk_config_minor_version) ||
27314 (gtk_micro_version != $gtk_config_micro_version))
27316 printf("\n*** 'pkg-config --modversion gtk+-2.0' returned
%d.
%d.
%d
, but GTK
+ (%d.
%d.
%d
)\n",
27317 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
27318 gtk_major_version, gtk_minor_version, gtk_micro_version);
27319 printf ("*** was found
! If pkg
-config was correct
, then it is best
\n");
27320 printf ("*** to remove the old version of GTK
+. You may also be able to fix the error
\n");
27321 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable
, or by editing
\n");
27322 printf("*** /etc
/ld.so.conf. Make sure you have run ldconfig
if that is
\n");
27323 printf("*** required on your system.
\n");
27324 printf("*** If pkg
-config was wrong
, set the environment variable PKG_CONFIG_PATH
\n");
27325 printf("*** to point to the correct configuration files
\n");
27327 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
27328 (gtk_minor_version != GTK_MINOR_VERSION) ||
27329 (gtk_micro_version != GTK_MICRO_VERSION))
27331 printf("*** GTK
+ header files
(version
%d.
%d.
%d
) do not match
\n",
27332 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
27333 printf("*** library
(version
%d.
%d.
%d
)\n",
27334 gtk_major_version, gtk_minor_version, gtk_micro_version);
27338 if ((gtk_major_version > major) ||
27339 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
27340 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
27346 printf("\n*** An old version of GTK
+ (%d.
%d.
%d
) was found.
\n",
27347 gtk_major_version, gtk_minor_version, gtk_micro_version);
27348 printf("*** You need a version of GTK
+ newer than
%d.
%d.
%d. The latest version of
\n",
27349 major, minor, micro);
27350 printf("*** GTK
+ is always available from
ftp://ftp.gtk.org.
\n");
27352 printf("*** If you have already installed a sufficiently new version
, this error
\n");
27353 printf("*** probably means that the wrong copy of the pkg
-config shell
script is
\n");
27354 printf("*** being found. The easiest way to fix this is to remove the old version
\n");
27355 printf("*** of GTK
+, but you can also
set the PKG_CONFIG environment to point to the
\n");
27356 printf("*** correct copy of pkg
-config.
(In this
case, you will have to
\n");
27357 printf("*** modify your LD_LIBRARY_PATH enviroment variable
, or edit
/etc
/ld.so.conf
\n");
27358 printf("*** so that the correct libraries are found
at run
-time))\n");
27365 rm -f conftest$ac_exeext
27366 if { (ac_try="$ac_link"
27367 case "(($ac_try" in
27368 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27369 *) ac_try_echo=$ac_try;;
27371 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
27372 (eval "$ac_link") 2>&5
27374 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
27375 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
27376 { (case "(($ac_try" in
27377 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27378 *) ac_try_echo=$ac_try;;
27380 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
27381 (eval "$ac_try") 2>&5
27383 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
27384 (exit $ac_status); }; }; then
27387 echo "$as_me: program exited with status
$ac_status" >&5
27388 echo "$as_me: failed program was
:" >&5
27389 sed 's/^/| /' conftest.$ac_ext >&5
27391 ( exit $ac_status )
27394 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
27398 CFLAGS="$ac_save_CFLAGS"
27399 LIBS="$ac_save_LIBS"
27402 if test "x
$no_gtk" = x ; then
27403 { echo "$as_me:$LINENO: result
: yes (version
$gtk_config_major_version.
$gtk_config_minor_version.
$gtk_config_micro_version)" >&5
27404 echo "${ECHO_T}yes (version
$gtk_config_major_version.
$gtk_config_minor_version.
$gtk_config_micro_version)" >&6; }
27407 { echo "$as_me:$LINENO: result
: no
" >&5
27408 echo "${ECHO_T}no
" >&6; }
27409 if test "$PKG_CONFIG" = "no
" ; then
27410 echo "*** A new enough version of pkg
-config was not found.
"
27411 echo "*** See http
://pkgconfig.sourceforge.net
"
27413 if test -f conf.gtktest ; then
27416 echo "*** Could not run GTK
+ test program
, checking why...
"
27417 ac_save_CFLAGS="$CFLAGS"
27418 ac_save_LIBS="$LIBS"
27419 CFLAGS="$CFLAGS $GTK_CFLAGS"
27420 LIBS="$LIBS $GTK_LIBS"
27421 cat >conftest.$ac_ext <<_ACEOF
27424 cat confdefs.h >>conftest.$ac_ext
27425 cat >>conftest.$ac_ext <<_ACEOF
27426 /* end confdefs.h. */
27428 #include <gtk/gtk.h>
27434 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
27439 rm -f conftest.$ac_objext conftest$ac_exeext
27440 if { (ac_try="$ac_link"
27441 case "(($ac_try" in
27442 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27443 *) ac_try_echo=$ac_try;;
27445 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
27446 (eval "$ac_link") 2>conftest.er1
27448 grep -v '^ *+' conftest.er1 >conftest.err
27450 cat conftest.err >&5
27451 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
27452 (exit $ac_status); } && {
27453 test -z "$ac_c_werror_flag" ||
27454 test ! -s conftest.err
27455 } && test -s conftest$ac_exeext &&
27456 $as_test_x conftest$ac_exeext; then
27457 echo "*** The
test program compiled
, but did not run. This usually means
"
27458 echo "*** that the run
-time linker is not finding GTK
+ or finding the wrong
"
27459 echo "*** version of GTK
+. If it is not finding GTK
+, you
'll need to set your"
27460 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
27461 echo "*** to the installed location Also, make sure you have run ldconfig if that"
27462 echo "*** is required on your system"
27464 echo "*** If you have an old version installed, it is best to remove it, although"
27465 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
27467 echo "$as_me: failed program was:" >&5
27468 sed 's
/^
/| /' conftest.$ac_ext >&5
27470 echo "*** The test program failed to compile or link. See the file config.log for the"
27471 echo "*** exact error that occured. This usually means GTK+ is incorrectly installed."
27474 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27475 conftest$ac_exeext conftest.$ac_ext
27476 CFLAGS="$ac_save_CFLAGS"
27477 LIBS="$ac_save_LIBS"
27491 if test "$wxUSE_THREADS" = "yes" -a "$GCC" = yes; then
27492 GTK_CFLAGS=`echo $GTK_CFLAGS | sed 's
/-mt//'`
27493 GTK_LIBS=`echo $GTK_LIBS | sed 's
/-mt//'`
27495 if test "$wxUSE_SHARED" != "yes"; then
27496 GTK_LIBS="$GTK_LIBS -lX11"
27501 if test -z "$wx_cv_lib_gtk"; then
27502 if test "x$wxGTK_VERSION" = "x1" -o "x$wxGTK_VERSION" = "xany" ; then
27504 # Check whether --with-gtk-prefix was given.
27505 if test "${with_gtk_prefix+set}" = set; then
27506 withval=$with_gtk_prefix; gtk_config_prefix="$withval"
27508 gtk_config_prefix=""
27512 # Check whether --with-gtk-exec-prefix was given.
27513 if test "${with_gtk_exec_prefix+set}" = set; then
27514 withval=$with_gtk_exec_prefix; gtk_config_exec_prefix="$withval"
27516 gtk_config_exec_prefix=""
27519 # Check whether --enable-gtktest was given.
27520 if test "${enable_gtktest+set}" = set; then
27521 enableval=$enable_gtktest;
27527 for module in . $GTK_MODULES
27531 gtk_config_args="$gtk_config_args gthread"
27536 if test x$gtk_config_exec_prefix != x ; then
27537 gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
27538 if test x${GTK_CONFIG+set} != xset ; then
27539 GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
27542 if test x$gtk_config_prefix != x ; then
27543 gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
27544 if test x${GTK_CONFIG+set} != xset ; then
27545 GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
27549 # Extract the first word of "gtk-config", so it can be a program name with args.
27550 set dummy gtk-config; ac_word=$2
27551 { echo "$as_me:$LINENO: checking for $ac_word" >&5
27552 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
27553 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
27554 echo $ECHO_N "(cached) $ECHO_C" >&6
27556 case $GTK_CONFIG in
27558 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path.
27561 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
27562 for as_dir in $PATH
27565 test -z "$as_dir" && as_dir=.
27566 for ac_exec_ext in '' $ac_executable_extensions; do
27567 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
27568 ac_cv_path_GTK_CONFIG="$as_dir/$ac_word$ac_exec_ext"
27569 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
27576 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no"
27580 GTK_CONFIG=$ac_cv_path_GTK_CONFIG
27581 if test -n "$GTK_CONFIG"; then
27582 { echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
27583 echo "${ECHO_T}$GTK_CONFIG" >&6; }
27585 { echo "$as_me:$LINENO: result: no" >&5
27586 echo "${ECHO_T}no" >&6; }
27590 min_gtk_version=1.2.7
27591 { echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
27592 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6; }
27594 if test "$GTK_CONFIG" = "no" ; then
27597 GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags`
27598 GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs`
27599 gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \
27600 sed 's
/\
([0-9]*\
).\
([0-9]*\
).\
([0-9]*\
)/\
1/'`
27601 gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \
27602 sed 's
/\
([0-9]*\
).\
([0-9]*\
).\
([0-9]*\
)/\
2/'`
27603 gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \
27604 sed 's
/\
([0-9]*\
).\
([0-9]*\
).\
([0-9]*\
)/\
3/'`
27605 if test "x$enable_gtktest" = "xyes" ; then
27606 ac_save_CFLAGS="$CFLAGS"
27607 ac_save_LIBS="$LIBS"
27608 CFLAGS="$CFLAGS $GTK_CFLAGS"
27609 LIBS="$GTK_LIBS $LIBS"
27611 if test "$cross_compiling" = yes; then
27612 echo $ac_n "cross compiling; assumed OK... $ac_c"
27614 cat >conftest.$ac_ext <<_ACEOF
27617 cat confdefs.h >>conftest.$ac_ext
27618 cat >>conftest.$ac_ext <<_ACEOF
27619 /* end confdefs.h. */
27621 #include <gtk/gtk.h>
27623 #include <stdlib.h>
27628 int major, minor, micro;
27631 system ("touch conf.gtktest");
27633 /* HP/UX 9 (%@#!) writes to sscanf strings */
27634 tmp_version = g_strdup("$min_gtk_version");
27635 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
27636 printf("%s, bad version string\n", "$min_gtk_version");
27640 if ((gtk_major_version != $gtk_config_major_version) ||
27641 (gtk_minor_version != $gtk_config_minor_version) ||
27642 (gtk_micro_version != $gtk_config_micro_version))
27644 printf("\n*** 'gtk
-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
27645 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
27646 gtk_major_version, gtk_minor_version, gtk_micro_version);
27647 printf ("*** was found! If gtk-config was correct, then it is best\n");
27648 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
27649 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
27650 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
27651 printf("*** required on your system.\n");
27652 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
27653 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
27654 printf("*** before re-running configure\n");
27656 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
27657 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
27658 (gtk_minor_version != GTK_MINOR_VERSION) ||
27659 (gtk_micro_version != GTK_MICRO_VERSION))
27661 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
27662 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
27663 printf("*** library (version %d.%d.%d)\n",
27664 gtk_major_version, gtk_minor_version, gtk_micro_version);
27666 #endif /* defined (GTK_MAJOR_VERSION) ... */
27669 if ((gtk_major_version > major) ||
27670 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
27671 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
27677 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
27678 gtk_major_version, gtk_minor_version, gtk_micro_version);
27679 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
27680 major, minor, micro);
27681 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
27683 printf("*** If you have already installed a sufficiently new version, this error\n");
27684 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
27685 printf("*** being found. The easiest way to fix this is to remove the old version\n");
27686 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
27687 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
27688 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
27689 printf("*** so that the correct libraries are found at run-time))\n");
27696 rm -f conftest$ac_exeext
27697 if { (ac_try="$ac_link"
27698 case "(($ac_try" in
27699 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27700 *) ac_try_echo=$ac_try;;
27702 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27703 (eval "$ac_link") 2>&5
27705 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27706 (exit $ac_status); } && { ac_try='.
/conftest
$ac_exeext'
27707 { (case "(($ac_try" in
27708 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27709 *) ac_try_echo=$ac_try;;
27711 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27712 (eval "$ac_try") 2>&5
27714 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27715 (exit $ac_status); }; }; then
27718 echo "$as_me: program exited with status $ac_status" >&5
27719 echo "$as_me: failed program was:" >&5
27720 sed 's
/^
/| /' conftest.$ac_ext >&5
27722 ( exit $ac_status )
27725 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
27729 CFLAGS="$ac_save_CFLAGS"
27730 LIBS="$ac_save_LIBS"
27733 if test "x$no_gtk" = x ; then
27734 { echo "$as_me:$LINENO: result: yes" >&5
27735 echo "${ECHO_T}yes" >&6; }
27736 wx_cv_lib_gtk=1.2.7
27738 { echo "$as_me:$LINENO: result: no" >&5
27739 echo "${ECHO_T}no" >&6; }
27740 if test "$GTK_CONFIG" = "no" ; then
27741 echo "*** The gtk-config script installed by GTK could not be found"
27742 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
27743 echo "*** your path, or set the GTK_CONFIG environment variable to the"
27744 echo "*** full path to gtk-config."
27746 if test -f conf.gtktest ; then
27749 echo "*** Could not run GTK test program, checking why..."
27750 CFLAGS="$CFLAGS $GTK_CFLAGS"
27751 LIBS="$LIBS $GTK_LIBS"
27752 cat >conftest.$ac_ext <<_ACEOF
27755 cat confdefs.h >>conftest.$ac_ext
27756 cat >>conftest.$ac_ext <<_ACEOF
27757 /* end confdefs.h. */
27759 #include <gtk/gtk.h>
27765 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
27770 rm -f conftest.$ac_objext conftest$ac_exeext
27771 if { (ac_try="$ac_link"
27772 case "(($ac_try" in
27773 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27774 *) ac_try_echo=$ac_try;;
27776 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27777 (eval "$ac_link") 2>conftest.er1
27779 grep -v '^
*+' conftest.er1 >conftest.err
27781 cat conftest.err >&5
27782 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27783 (exit $ac_status); } && {
27784 test -z "$ac_c_werror_flag" ||
27785 test ! -s conftest.err
27786 } && test -s conftest$ac_exeext &&
27787 $as_test_x conftest$ac_exeext; then
27788 echo "*** The test program compiled, but did not run. This usually means"
27789 echo "*** that the run-time linker is not finding GTK or finding the wrong"
27790 echo "*** version of GTK. If it is not finding GTK, you'll need to
set your
"
27791 echo "*** LD_LIBRARY_PATH environment variable
, or edit
/etc
/ld.so.conf to point
"
27792 echo "*** to the installed location Also
, make sure you have run ldconfig
if that
"
27793 echo "*** is required on your system
"
27795 echo "*** If you have an old version installed
, it is best to remove it
, although
"
27796 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH
"
27798 echo "*** If you have a RedHat
5.0 system
, you should remove the GTK package that
"
27799 echo "*** came with the system with the
command"
27801 echo "*** rpm
--erase --nodeps gtk gtk
-devel"
27803 echo "$as_me: failed program was
:" >&5
27804 sed 's/^/| /' conftest.$ac_ext >&5
27806 echo "*** The
test program failed to compile or link. See the
file config.log
for the
"
27807 echo "*** exact error that occured. This usually means GTK was incorrectly installed
"
27808 echo "*** or that you have moved GTK since it was installed. In the latter
case, you
"
27809 echo "*** may want to edit the gtk
-config script: $GTK_CONFIG"
27812 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27813 conftest$ac_exeext conftest.$ac_ext
27814 CFLAGS="$ac_save_CFLAGS"
27815 LIBS="$ac_save_LIBS"
27827 if test -z "$wx_cv_lib_gtk"; then
27829 # Check whether --with-gtk-prefix was given.
27830 if test "${with_gtk_prefix+set}" = set; then
27831 withval=$with_gtk_prefix; gtk_config_prefix="$withval"
27833 gtk_config_prefix=""
27837 # Check whether --with-gtk-exec-prefix was given.
27838 if test "${with_gtk_exec_prefix+set}" = set; then
27839 withval=$with_gtk_exec_prefix; gtk_config_exec_prefix="$withval"
27841 gtk_config_exec_prefix=""
27844 # Check whether --enable-gtktest was given.
27845 if test "${enable_gtktest+set}" = set; then
27846 enableval=$enable_gtktest;
27852 for module in . $GTK_MODULES
27856 gtk_config_args="$gtk_config_args gthread
"
27861 if test x$gtk_config_exec_prefix != x ; then
27862 gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
27863 if test x${GTK_CONFIG+set} != xset ; then
27864 GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
27867 if test x$gtk_config_prefix != x ; then
27868 gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
27869 if test x${GTK_CONFIG+set} != xset ; then
27870 GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
27874 # Extract the first word of "gtk
-config", so it can be a program name with args.
27875 set dummy gtk-config; ac_word=$2
27876 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
27877 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
27878 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
27879 echo $ECHO_N "(cached
) $ECHO_C" >&6
27881 case $GTK_CONFIG in
27883 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path.
27886 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
27887 for as_dir in $PATH
27890 test -z "$as_dir" && as_dir=.
27891 for ac_exec_ext in '' $ac_executable_extensions; do
27892 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
27893 ac_cv_path_GTK_CONFIG="$as_dir/$ac_word$ac_exec_ext"
27894 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
27901 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no
"
27905 GTK_CONFIG=$ac_cv_path_GTK_CONFIG
27906 if test -n "$GTK_CONFIG"; then
27907 { echo "$as_me:$LINENO: result
: $GTK_CONFIG" >&5
27908 echo "${ECHO_T}$GTK_CONFIG" >&6; }
27910 { echo "$as_me:$LINENO: result
: no
" >&5
27911 echo "${ECHO_T}no
" >&6; }
27915 min_gtk_version=1.2.3
27916 { echo "$as_me:$LINENO: checking
for GTK
- version
>= $min_gtk_version" >&5
27917 echo $ECHO_N "checking
for GTK
- version
>= $min_gtk_version...
$ECHO_C" >&6; }
27919 if test "$GTK_CONFIG" = "no
" ; then
27922 GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags`
27923 GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs`
27924 gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \
27925 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
27926 gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \
27927 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
27928 gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \
27929 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
27930 if test "x
$enable_gtktest" = "xyes
" ; then
27931 ac_save_CFLAGS="$CFLAGS"
27932 ac_save_LIBS="$LIBS"
27933 CFLAGS="$CFLAGS $GTK_CFLAGS"
27934 LIBS="$GTK_LIBS $LIBS"
27936 if test "$cross_compiling" = yes; then
27937 echo $ac_n "cross compiling
; assumed OK...
$ac_c"
27939 cat >conftest.$ac_ext <<_ACEOF
27942 cat confdefs.h >>conftest.$ac_ext
27943 cat >>conftest.$ac_ext <<_ACEOF
27944 /* end confdefs.h. */
27946 #include <gtk/gtk.h>
27948 #include <stdlib.h>
27953 int major, minor, micro;
27956 system ("touch conf.gtktest
");
27958 /* HP/UX 9 (%@#!) writes to sscanf strings */
27959 tmp_version = g_strdup("$min_gtk_version");
27960 if (sscanf(tmp_version, "%d.
%d.
%d
", &major, &minor, µ) != 3) {
27961 printf("%s
, bad version string
\n", "$min_gtk_version");
27965 if ((gtk_major_version != $gtk_config_major_version) ||
27966 (gtk_minor_version != $gtk_config_minor_version) ||
27967 (gtk_micro_version != $gtk_config_micro_version))
27969 printf("\n*** 'gtk-config --version' returned
%d.
%d.
%d
, but GTK
+ (%d.
%d.
%d
)\n",
27970 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
27971 gtk_major_version, gtk_minor_version, gtk_micro_version);
27972 printf ("*** was found
! If gtk
-config was correct
, then it is best
\n");
27973 printf ("*** to remove the old version of GTK
+. You may also be able to fix the error
\n");
27974 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable
, or by editing
\n");
27975 printf("*** /etc
/ld.so.conf. Make sure you have run ldconfig
if that is
\n");
27976 printf("*** required on your system.
\n");
27977 printf("*** If gtk
-config was wrong
, set the environment variable GTK_CONFIG
\n");
27978 printf("*** to point to the correct copy of gtk
-config, and remove the
file config.cache
\n");
27979 printf("*** before re
-running configure
\n");
27981 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
27982 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
27983 (gtk_minor_version != GTK_MINOR_VERSION) ||
27984 (gtk_micro_version != GTK_MICRO_VERSION))
27986 printf("*** GTK
+ header files
(version
%d.
%d.
%d
) do not match
\n",
27987 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
27988 printf("*** library
(version
%d.
%d.
%d
)\n",
27989 gtk_major_version, gtk_minor_version, gtk_micro_version);
27991 #endif /* defined (GTK_MAJOR_VERSION) ... */
27994 if ((gtk_major_version > major) ||
27995 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
27996 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
28002 printf("\n*** An old version of GTK
+ (%d.
%d.
%d
) was found.
\n",
28003 gtk_major_version, gtk_minor_version, gtk_micro_version);
28004 printf("*** You need a version of GTK
+ newer than
%d.
%d.
%d. The latest version of
\n",
28005 major, minor, micro);
28006 printf("*** GTK
+ is always available from
ftp://ftp.gtk.org.
\n");
28008 printf("*** If you have already installed a sufficiently new version
, this error
\n");
28009 printf("*** probably means that the wrong copy of the gtk
-config shell
script is
\n");
28010 printf("*** being found. The easiest way to fix this is to remove the old version
\n");
28011 printf("*** of GTK
+, but you can also
set the GTK_CONFIG environment to point to the
\n");
28012 printf("*** correct copy of gtk
-config.
(In this
case, you will have to
\n");
28013 printf("*** modify your LD_LIBRARY_PATH enviroment variable
, or edit
/etc
/ld.so.conf
\n");
28014 printf("*** so that the correct libraries are found
at run
-time))\n");
28021 rm -f conftest$ac_exeext
28022 if { (ac_try="$ac_link"
28023 case "(($ac_try" in
28024 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28025 *) ac_try_echo=$ac_try;;
28027 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
28028 (eval "$ac_link") 2>&5
28030 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
28031 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
28032 { (case "(($ac_try" in
28033 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28034 *) ac_try_echo=$ac_try;;
28036 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
28037 (eval "$ac_try") 2>&5
28039 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
28040 (exit $ac_status); }; }; then
28043 echo "$as_me: program exited with status
$ac_status" >&5
28044 echo "$as_me: failed program was
:" >&5
28045 sed 's/^/| /' conftest.$ac_ext >&5
28047 ( exit $ac_status )
28050 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
28054 CFLAGS="$ac_save_CFLAGS"
28055 LIBS="$ac_save_LIBS"
28058 if test "x
$no_gtk" = x ; then
28059 { echo "$as_me:$LINENO: result
: yes" >&5
28060 echo "${ECHO_T}yes" >&6; }
28061 wx_cv_lib_gtk=1.2.3
28063 { echo "$as_me:$LINENO: result
: no
" >&5
28064 echo "${ECHO_T}no
" >&6; }
28065 if test "$GTK_CONFIG" = "no
" ; then
28066 echo "*** The gtk
-config script installed by GTK could not be found
"
28067 echo "*** If GTK was installed
in PREFIX
, make sure PREFIX
/bin is
in"
28068 echo "*** your path
, or
set the GTK_CONFIG environment variable to the
"
28069 echo "*** full path to gtk
-config.
"
28071 if test -f conf.gtktest ; then
28074 echo "*** Could not run GTK
test program
, checking why...
"
28075 CFLAGS="$CFLAGS $GTK_CFLAGS"
28076 LIBS="$LIBS $GTK_LIBS"
28077 cat >conftest.$ac_ext <<_ACEOF
28080 cat confdefs.h >>conftest.$ac_ext
28081 cat >>conftest.$ac_ext <<_ACEOF
28082 /* end confdefs.h. */
28084 #include <gtk/gtk.h>
28090 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
28095 rm -f conftest.$ac_objext conftest$ac_exeext
28096 if { (ac_try="$ac_link"
28097 case "(($ac_try" in
28098 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28099 *) ac_try_echo=$ac_try;;
28101 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
28102 (eval "$ac_link") 2>conftest.er1
28104 grep -v '^ *+' conftest.er1 >conftest.err
28106 cat conftest.err >&5
28107 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
28108 (exit $ac_status); } && {
28109 test -z "$ac_c_werror_flag" ||
28110 test ! -s conftest.err
28111 } && test -s conftest$ac_exeext &&
28112 $as_test_x conftest$ac_exeext; then
28113 echo "*** The
test program compiled
, but did not run. This usually means
"
28114 echo "*** that the run
-time linker is not finding GTK or finding the wrong
"
28115 echo "*** version of GTK. If it is not finding GTK
, you
'll need to set your"
28116 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
28117 echo "*** to the installed location Also, make sure you have run ldconfig if that"
28118 echo "*** is required on your system"
28120 echo "*** If you have an old version installed, it is best to remove it, although"
28121 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
28123 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
28124 echo "*** came with the system with the command"
28126 echo "*** rpm --erase --nodeps gtk gtk-devel"
28128 echo "$as_me: failed program was:" >&5
28129 sed 's
/^
/| /' conftest.$ac_ext >&5
28131 echo "*** The test program failed to compile or link. See the file config.log for the"
28132 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
28133 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
28134 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
28137 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28138 conftest$ac_exeext conftest.$ac_ext
28139 CFLAGS="$ac_save_CFLAGS"
28140 LIBS="$ac_save_LIBS"
28155 if test -z "$wx_cv_lib_gtk"; then
28158 wx_cv_cflags_gtk=$GTK_CFLAGS
28159 wx_cv_libs_gtk=`echo $GTK_LIBS | sed -e 's
/ -l[^
]*cairo
[^
]*//g
'`
28166 if test "$gtk_version_cached" = 1; then
28167 { echo "$as_me:$LINENO: result: $wx_cv_lib_gtk" >&5
28168 echo "${ECHO_T}$wx_cv_lib_gtk" >&6; }
28171 case "$wx_cv_lib_gtk" in
28180 *) { { echo "$as_me:$LINENO: error:
28181 The development files for GTK+ were not found. For GTK+ 2, please
28182 ensure that pkg-config is in the path and that gtk+-2.0.pc is
28183 installed. For GTK+ 1.2 please check that gtk-config is in the path,
28184 and that the version is 1.2.3 or above. Also check that the
28185 libraries returned by 'pkg
-config gtk
+-2.0
--libs' or 'gtk
-config
28186 --libs' are in the LD_LIBRARY_PATH or equivalent.
28188 echo "$as_me: error:
28189 The development files for GTK+ were not found. For GTK+ 2, please
28190 ensure that pkg-config is in the path and that gtk+-2.0.pc is
28191 installed. For GTK+ 1.2 please check that gtk-config is in the path,
28192 and that the version is 1.2.3 or above. Also check that the
28193 libraries returned by 'pkg
-config gtk
+-2.0
--libs' or 'gtk
-config
28194 --libs' are in the LD_LIBRARY_PATH or equivalent.
28196 { (exit 1); exit 1; }; }
28200 if test "$WXGTK20" = 1; then
28201 save_CFLAGS="$CFLAGS"
28203 CFLAGS="$wx_cv_cflags_gtk $CFLAGS"
28204 LIBS="$LIBS $wx_cv_libs_gtk"
28206 { echo "$as_me:$LINENO: checking whether gtk_icon_size_lookup is declared" >&5
28207 echo $ECHO_N "checking whether gtk_icon_size_lookup is declared... $ECHO_C" >&6; }
28208 if test "${ac_cv_have_decl_gtk_icon_size_lookup+set}" = set; then
28209 echo $ECHO_N "(cached) $ECHO_C" >&6
28211 cat >conftest.$ac_ext <<_ACEOF
28214 cat confdefs.h >>conftest.$ac_ext
28215 cat >>conftest.$ac_ext <<_ACEOF
28216 /* end confdefs.h. */
28217 #include <gtk/gtk.h>
28222 #ifndef gtk_icon_size_lookup
28223 (void) gtk_icon_size_lookup;
28230 rm -f conftest.$ac_objext
28231 if { (ac_try="$ac_compile"
28232 case "(($ac_try" in
28233 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28234 *) ac_try_echo=$ac_try;;
28236 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28237 (eval "$ac_compile") 2>conftest.er1
28239 grep -v '^
*+' conftest.er1 >conftest.err
28241 cat conftest.err >&5
28242 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28243 (exit $ac_status); } && {
28244 test -z "$ac_c_werror_flag" ||
28245 test ! -s conftest.err
28246 } && test -s conftest.$ac_objext; then
28247 ac_cv_have_decl_gtk_icon_size_lookup=yes
28249 echo "$as_me: failed program was:" >&5
28250 sed 's
/^
/| /' conftest.$ac_ext >&5
28252 ac_cv_have_decl_gtk_icon_size_lookup=no
28255 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28257 { echo "$as_me:$LINENO: result: $ac_cv_have_decl_gtk_icon_size_lookup" >&5
28258 echo "${ECHO_T}$ac_cv_have_decl_gtk_icon_size_lookup" >&6; }
28259 if test $ac_cv_have_decl_gtk_icon_size_lookup = yes; then
28261 cat >>confdefs.h <<_ACEOF
28262 #define HAVE_DECL_GTK_ICON_SIZE_LOOKUP 1
28267 cat >>confdefs.h <<_ACEOF
28268 #define HAVE_DECL_GTK_ICON_SIZE_LOOKUP 0
28271 cat >>confdefs.h <<\_ACEOF
28272 #define NEED_GTK_ICON_SIZE_LOOKUP 1
28280 { echo "$as_me:$LINENO: checking if GTK+ is version >= 2.10" >&5
28281 echo $ECHO_N "checking if GTK+ is version >= 2.10... $ECHO_C" >&6; }
28282 cat >conftest.$ac_ext <<_ACEOF
28285 cat confdefs.h >>conftest.$ac_ext
28286 cat >>conftest.$ac_ext <<_ACEOF
28287 /* end confdefs.h. */
28289 #include <gtk/gtk.h>
28295 #if !GTK_CHECK_VERSION(2,10,0)
28303 rm -f conftest.$ac_objext
28304 if { (ac_try="$ac_compile"
28305 case "(($ac_try" in
28306 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28307 *) ac_try_echo=$ac_try;;
28309 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28310 (eval "$ac_compile") 2>conftest.er1
28312 grep -v '^
*+' conftest.er1 >conftest.err
28314 cat conftest.err >&5
28315 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28316 (exit $ac_status); } && {
28317 test -z "$ac_c_werror_flag" ||
28318 test ! -s conftest.err
28319 } && test -s conftest.$ac_objext; then
28321 cat >>confdefs.h <<\_ACEOF
28322 #define __WXGTK210__ 1
28325 cat >>confdefs.h <<\_ACEOF
28326 #define __WXGTK26__ 1
28329 cat >>confdefs.h <<\_ACEOF
28330 #define __WXGTK24__ 1
28333 { echo "$as_me:$LINENO: result: yes" >&5
28334 echo "${ECHO_T}yes" >&6; }
28338 echo "$as_me: failed program was:" >&5
28339 sed 's
/^
/| /' conftest.$ac_ext >&5
28342 { echo "$as_me:$LINENO: result: no" >&5
28343 echo "${ECHO_T}no" >&6; }
28348 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28350 if test "$ac_wxgtk210" = 0; then
28351 { echo "$as_me:$LINENO: checking if GTK+ is version >= 2.6" >&5
28352 echo $ECHO_N "checking if GTK+ is version >= 2.6... $ECHO_C" >&6; }
28353 cat >conftest.$ac_ext <<_ACEOF
28356 cat confdefs.h >>conftest.$ac_ext
28357 cat >>conftest.$ac_ext <<_ACEOF
28358 /* end confdefs.h. */
28360 #include <gtk/gtk.h>
28366 #if !GTK_CHECK_VERSION(2,6,0)
28374 rm -f conftest.$ac_objext
28375 if { (ac_try="$ac_compile"
28376 case "(($ac_try" in
28377 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28378 *) ac_try_echo=$ac_try;;
28380 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28381 (eval "$ac_compile") 2>conftest.er1
28383 grep -v '^
*+' conftest.er1 >conftest.err
28385 cat conftest.err >&5
28386 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28387 (exit $ac_status); } && {
28388 test -z "$ac_c_werror_flag" ||
28389 test ! -s conftest.err
28390 } && test -s conftest.$ac_objext; then
28392 cat >>confdefs.h <<\_ACEOF
28393 #define __WXGTK26__ 1
28396 cat >>confdefs.h <<\_ACEOF
28397 #define __WXGTK24__ 1
28400 { echo "$as_me:$LINENO: result: yes" >&5
28401 echo "${ECHO_T}yes" >&6; }
28405 echo "$as_me: failed program was:" >&5
28406 sed 's
/^
/| /' conftest.$ac_ext >&5
28409 { echo "$as_me:$LINENO: result: no" >&5
28410 echo "${ECHO_T}no" >&6; }
28415 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28418 if test "$ac_wxgtk26" = 0; then
28419 { echo "$as_me:$LINENO: checking if GTK+ is version >= 2.4" >&5
28420 echo $ECHO_N "checking if GTK+ is version >= 2.4... $ECHO_C" >&6; }
28421 cat >conftest.$ac_ext <<_ACEOF
28424 cat confdefs.h >>conftest.$ac_ext
28425 cat >>conftest.$ac_ext <<_ACEOF
28426 /* end confdefs.h. */
28428 #include <gtk/gtk.h>
28434 #if !GTK_CHECK_VERSION(2,4,0)
28442 rm -f conftest.$ac_objext
28443 if { (ac_try="$ac_compile"
28444 case "(($ac_try" in
28445 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28446 *) ac_try_echo=$ac_try;;
28448 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28449 (eval "$ac_compile") 2>conftest.er1
28451 grep -v '^
*+' conftest.er1 >conftest.err
28453 cat conftest.err >&5
28454 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28455 (exit $ac_status); } && {
28456 test -z "$ac_c_werror_flag" ||
28457 test ! -s conftest.err
28458 } && test -s conftest.$ac_objext; then
28460 cat >>confdefs.h <<\_ACEOF
28461 #define __WXGTK24__ 1
28464 { echo "$as_me:$LINENO: result: yes" >&5
28465 echo "${ECHO_T}yes" >&6; }
28468 echo "$as_me: failed program was:" >&5
28469 sed 's
/^
/| /' conftest.$ac_ext >&5
28472 { echo "$as_me:$LINENO: result: no" >&5
28473 echo "${ECHO_T}no" >&6; }
28477 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28480 CFLAGS="$save_CFLAGS"
28483 if test "$wxUSE_UNICODE" = "yes"; then
28484 { echo "$as_me:$LINENO: WARNING: Unicode configuration not supported with GTK+ 1.x" >&5
28485 echo "$as_me: WARNING: Unicode configuration not supported with GTK+ 1.x" >&2;}
28489 { echo "$as_me:$LINENO: checking for gdk_im_open in -lgdk" >&5
28490 echo $ECHO_N "checking for gdk_im_open in -lgdk... $ECHO_C" >&6; }
28491 if test "${ac_cv_lib_gdk_gdk_im_open+set}" = set; then
28492 echo $ECHO_N "(cached) $ECHO_C" >&6
28494 ac_check_lib_save_LIBS=$LIBS
28496 cat >conftest.$ac_ext <<_ACEOF
28499 cat confdefs.h >>conftest.$ac_ext
28500 cat >>conftest.$ac_ext <<_ACEOF
28501 /* end confdefs.h. */
28503 /* Override any GCC internal prototype to avoid an error.
28504 Use char because int might match the return type of a GCC
28505 builtin and then its argument prototype would still apply. */
28509 char gdk_im_open ();
28513 return gdk_im_open ();
28518 rm -f conftest.$ac_objext conftest$ac_exeext
28519 if { (ac_try="$ac_link"
28520 case "(($ac_try" in
28521 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28522 *) ac_try_echo=$ac_try;;
28524 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28525 (eval "$ac_link") 2>conftest.er1
28527 grep -v '^
*+' conftest.er1 >conftest.err
28529 cat conftest.err >&5
28530 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28531 (exit $ac_status); } && {
28532 test -z "$ac_c_werror_flag" ||
28533 test ! -s conftest.err
28534 } && test -s conftest$ac_exeext &&
28535 $as_test_x conftest$ac_exeext; then
28536 ac_cv_lib_gdk_gdk_im_open=yes
28538 echo "$as_me: failed program was:" >&5
28539 sed 's
/^
/| /' conftest.$ac_ext >&5
28541 ac_cv_lib_gdk_gdk_im_open=no
28544 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28545 conftest$ac_exeext conftest.$ac_ext
28546 LIBS=$ac_check_lib_save_LIBS
28548 { echo "$as_me:$LINENO: result: $ac_cv_lib_gdk_gdk_im_open" >&5
28549 echo "${ECHO_T}$ac_cv_lib_gdk_gdk_im_open" >&6; }
28550 if test $ac_cv_lib_gdk_gdk_im_open = yes; then
28551 cat >>confdefs.h <<\_ACEOF
28558 if test "$USE_DARWIN" != 1; then
28560 for ac_func in poll
28562 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28563 { echo "$as_me:$LINENO: checking for $ac_func" >&5
28564 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
28565 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
28566 echo $ECHO_N "(cached) $ECHO_C" >&6
28568 cat >conftest.$ac_ext <<_ACEOF
28571 cat confdefs.h >>conftest.$ac_ext
28572 cat >>conftest.$ac_ext <<_ACEOF
28573 /* end confdefs.h. */
28574 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
28575 For example, HP-UX 11i <limits.h> declares gettimeofday. */
28576 #define $ac_func innocuous_$ac_func
28578 /* System header to define __stub macros and hopefully few prototypes,
28579 which can conflict with char $ac_func (); below.
28580 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28581 <limits.h> exists even on freestanding compilers. */
28584 # include <limits.h>
28586 # include <assert.h>
28591 /* Override any GCC internal prototype to avoid an error.
28592 Use char because int might match the return type of a GCC
28593 builtin and then its argument prototype would still apply. */
28598 /* The GNU C library defines this for functions which it implements
28599 to always fail with ENOSYS. Some functions are actually named
28600 something starting with __ and the normal name is an alias. */
28601 #if defined __stub_$ac_func || defined __stub___$ac_func
28608 return $ac_func ();
28613 rm -f conftest.$ac_objext conftest$ac_exeext
28614 if { (ac_try="$ac_link"
28615 case "(($ac_try" in
28616 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28617 *) ac_try_echo=$ac_try;;
28619 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28620 (eval "$ac_link") 2>conftest.er1
28622 grep -v '^
*+' conftest.er1 >conftest.err
28624 cat conftest.err >&5
28625 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28626 (exit $ac_status); } && {
28627 test -z "$ac_c_werror_flag" ||
28628 test ! -s conftest.err
28629 } && test -s conftest$ac_exeext &&
28630 $as_test_x conftest$ac_exeext; then
28631 eval "$as_ac_var=yes"
28633 echo "$as_me: failed program was:" >&5
28634 sed 's
/^
/| /' conftest.$ac_ext >&5
28636 eval "$as_ac_var=no"
28639 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28640 conftest$ac_exeext conftest.$ac_ext
28642 ac_res=`eval echo '${'$as_ac_var'}'`
28643 { echo "$as_me:$LINENO: result: $ac_res" >&5
28644 echo "${ECHO_T}$ac_res" >&6; }
28645 if test `eval echo '${'$as_ac_var'}'` = yes; then
28646 cat >>confdefs.h <<_ACEOF
28647 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28656 TOOLKIT_INCLUDE="$wx_cv_cflags_gtk"
28657 GUI_TK_LIBRARY="$wx_cv_libs_gtk $GUI_TK_LIBRARY"
28659 AFMINSTALL=afminstall
28663 if test "$wxUSE_GPE" = "yes"; then
28664 { echo "$as_me:$LINENO: checking for gpewidget library" >&5
28665 echo $ECHO_N "checking for gpewidget library... $ECHO_C" >&6; }
28668 for ac_dir in $SEARCH_LIB;
28670 for ac_extension in a so sl dylib dll.a; do
28671 if test -f "$ac_dir/libgpewidget.$ac_extension"; then
28672 ac_find_libraries=$ac_dir
28678 if test "$ac_find_libraries" != "" ; then
28680 if test "$ac_find_libraries" = "default location"; then
28683 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
28685 if test $result = 0; then
28688 ac_path_to_link=" -L$ac_find_libraries"
28692 GUI_TK_LIBRARY="-L${prefix}/lib -lgpewidget $GUI_TK_LIBRARY"
28694 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
28695 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
28697 { echo "$as_me:$LINENO: result: not found" >&5
28698 echo "${ECHO_T}not found" >&6; }
28704 if test "$wxUSE_MGL" = 1; then
28705 { echo "$as_me:$LINENO: checking for SciTech MGL library" >&5
28706 echo $ECHO_N "checking for SciTech MGL library... $ECHO_C" >&6; }
28707 if test "x$MGL_ROOT" = x ; then
28708 { echo "$as_me:$LINENO: result: not found" >&5
28709 echo "${ECHO_T}not found" >&6; }
28710 { { echo "$as_me:$LINENO: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&5
28711 echo "$as_me: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&2;}
28712 { (exit 1); exit 1; }; }
28714 { echo "$as_me:$LINENO: result: $MGL_ROOT" >&5
28715 echo "${ECHO_T}$MGL_ROOT" >&6; }
28718 { echo "$as_me:$LINENO: checking for libmgl location" >&5
28719 echo $ECHO_N "checking for libmgl location... $ECHO_C" >&6; }
28722 if test "x$wxUSE_SHARED" = xyes ; then
28723 mgl_os_candidates="linux/gcc/x86/so linux/gcc/x86/a linux/gcc/glibc.so linux/gcc/glibc"
28725 mgl_os_candidates="linux/gcc/x86/a linux/gcc/x86/so linux/gcc/glibc linux/gcc/glibc.so"
28729 mgl_os_candidates="dos32/dj2"
28732 { { echo "$as_me:$LINENO: error: This system type ${host} is not yet supported by wxMGL." >&5
28733 echo "$as_me: error: This system type ${host} is not yet supported by wxMGL." >&2;}
28734 { (exit 1); exit 1; }; }
28740 for mgl_os_i in $mgl_os_candidates ; do
28741 if test "x$mgl_os" = x ; then
28742 if test "$wxUSE_DEBUG_FLAG" = yes ; then
28743 if test -f $MGL_ROOT/lib/debug/$mgl_os_i/libmgl.a -o \
28744 -f $MGL_ROOT/lib/debug/$mgl_os_i/libmgl.so; then
28749 if test "x$mgl_lib_type" = x ; then
28750 if test -f $MGL_ROOT/lib/release/$mgl_os_i/libmgl.a -o \
28751 -f $MGL_ROOT/lib/release/$mgl_os_i/libmgl.so; then
28752 mgl_lib_type=release
28759 if test "x$mgl_os" = x ; then
28760 { echo "$as_me:$LINENO: result: not found" >&5
28761 echo "${ECHO_T}not found" >&6; }
28762 { { echo "$as_me:$LINENO: error: Cannot find MGL libraries, make sure they are compiled." >&5
28763 echo "$as_me: error: Cannot find MGL libraries, make sure they are compiled." >&2;}
28764 { (exit 1); exit 1; }; }
28766 { echo "$as_me:$LINENO: result: \"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&5
28767 echo "${ECHO_T}\"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&6; }
28769 wxUSE_UNIVERSAL="yes"
28771 TOOLKIT_INCLUDE="-I$MGL_ROOT/include"
28772 GUI_TK_LIBRARY="-L$MGL_ROOT/lib/$mgl_lib_type/$mgl_os -lmgl -lmglcpp -lpm"
28774 AFMINSTALL=afminstall
28779 if test "$wxUSE_DFB" = 1; then
28782 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
28783 if test -n "$ac_tool_prefix"; then
28784 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
28785 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
28786 { echo "$as_me:$LINENO: checking for $ac_word" >&5
28787 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
28788 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
28789 echo $ECHO_N "(cached) $ECHO_C" >&6
28791 case $PKG_CONFIG in
28793 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
28796 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
28797 for as_dir in $PATH
28800 test -z "$as_dir" && as_dir=.
28801 for ac_exec_ext in '' $ac_executable_extensions; do
28802 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
28803 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
28804 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
28814 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
28815 if test -n "$PKG_CONFIG"; then
28816 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
28817 echo "${ECHO_T}$PKG_CONFIG" >&6; }
28819 { echo "$as_me:$LINENO: result: no" >&5
28820 echo "${ECHO_T}no" >&6; }
28825 if test -z "$ac_cv_path_PKG_CONFIG"; then
28826 ac_pt_PKG_CONFIG=$PKG_CONFIG
28827 # Extract the first word of "pkg-config", so it can be a program name with args.
28828 set dummy pkg-config; ac_word=$2
28829 { echo "$as_me:$LINENO: checking for $ac_word" >&5
28830 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
28831 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
28832 echo $ECHO_N "(cached) $ECHO_C" >&6
28834 case $ac_pt_PKG_CONFIG in
28836 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
28839 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
28840 for as_dir in $PATH
28843 test -z "$as_dir" && as_dir=.
28844 for ac_exec_ext in '' $ac_executable_extensions; do
28845 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
28846 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
28847 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
28857 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
28858 if test -n "$ac_pt_PKG_CONFIG"; then
28859 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
28860 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
28862 { echo "$as_me:$LINENO: result: no" >&5
28863 echo "${ECHO_T}no" >&6; }
28866 if test "x$ac_pt_PKG_CONFIG" = x; then
28869 case $cross_compiling:$ac_tool_warned in
28871 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
28872 whose name does not start with the host triplet. If you think this
28873 configuration is useful to you, please write to autoconf@gnu.org." >&5
28874 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
28875 whose name does not start with the host triplet. If you think this
28876 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
28877 ac_tool_warned=yes ;;
28879 PKG_CONFIG=$ac_pt_PKG_CONFIG
28882 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
28886 if test -n "$PKG_CONFIG"; then
28887 _pkg_min_version=0.9.0
28888 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
28889 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
28890 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
28891 { echo "$as_me:$LINENO: result: yes" >&5
28892 echo "${ECHO_T}yes" >&6; }
28894 { echo "$as_me:$LINENO: result: no" >&5
28895 echo "${ECHO_T}no" >&6; }
28903 { echo "$as_me:$LINENO: checking for DIRECTFB" >&5
28904 echo $ECHO_N "checking for DIRECTFB... $ECHO_C" >&6; }
28906 if test -n "$PKG_CONFIG"; then
28907 if test -n "$DIRECTFB_CFLAGS"; then
28908 pkg_cv_DIRECTFB_CFLAGS="$DIRECTFB_CFLAGS"
28910 if test -n "$PKG_CONFIG" && \
28911 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"directfb >= 0.9.23\"") >&5
28912 ($PKG_CONFIG --exists --print-errors "directfb >= 0.9.23") 2>&5
28914 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28915 (exit $ac_status); }; then
28916 pkg_cv_DIRECTFB_CFLAGS=`$PKG_CONFIG --cflags "directfb >= 0.9.23" 2>/dev/null`
28924 if test -n "$PKG_CONFIG"; then
28925 if test -n "$DIRECTFB_LIBS"; then
28926 pkg_cv_DIRECTFB_LIBS="$DIRECTFB_LIBS"
28928 if test -n "$PKG_CONFIG" && \
28929 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"directfb >= 0.9.23\"") >&5
28930 ($PKG_CONFIG --exists --print-errors "directfb >= 0.9.23") 2>&5
28932 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28933 (exit $ac_status); }; then
28934 pkg_cv_DIRECTFB_LIBS=`$PKG_CONFIG --libs "directfb >= 0.9.23" 2>/dev/null`
28945 if test $pkg_failed = yes; then
28947 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
28948 _pkg_short_errors_supported=yes
28950 _pkg_short_errors_supported=no
28952 if test $_pkg_short_errors_supported = yes; then
28953 DIRECTFB_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "directfb >= 0.9.23"`
28955 DIRECTFB_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "directfb >= 0.9.23"`
28957 # Put the nasty error message in config.log where it belongs
28958 echo "$DIRECTFB_PKG_ERRORS" >&5
28961 { { echo "$as_me:$LINENO: error: DirectFB not found." >&5
28962 echo "$as_me: error: DirectFB not found." >&2;}
28963 { (exit 1); exit 1; }; }
28966 elif test $pkg_failed = untried; then
28968 { { echo "$as_me:$LINENO: error: DirectFB not found." >&5
28969 echo "$as_me: error: DirectFB not found." >&2;}
28970 { (exit 1); exit 1; }; }
28974 DIRECTFB_CFLAGS=$pkg_cv_DIRECTFB_CFLAGS
28975 DIRECTFB_LIBS=$pkg_cv_DIRECTFB_LIBS
28976 { echo "$as_me:$LINENO: result: yes" >&5
28977 echo "${ECHO_T}yes" >&6; }
28979 wxUSE_UNIVERSAL="yes"
28980 TOOLKIT_INCLUDE="$DIRECTFB_CFLAGS"
28981 GUI_TK_LIBRARY="$DIRECTFB_LIBS"
28988 if test "$wxUSE_MICROWIN" = 1; then
28989 { echo "$as_me:$LINENO: checking for MicroWindows" >&5
28990 echo $ECHO_N "checking for MicroWindows... $ECHO_C" >&6; }
28991 if test "x$MICROWINDOWS" = x ; then
28992 { echo "$as_me:$LINENO: result: not found" >&5
28993 echo "${ECHO_T}not found" >&6; }
28994 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&5
28995 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&2;}
28996 { (exit 1); exit 1; }; }
28998 { echo "$as_me:$LINENO: result: $MICROWINDOWS" >&5
28999 echo "${ECHO_T}$MICROWINDOWS" >&6; }
29002 if test -f $MICROWINDOWS/lib/libmwin.a; then
29003 { echo "$as_me:$LINENO: result: MicroWindows' libraries found.
" >&5
29004 echo "${ECHO_T}MicroWindows
' libraries found." >&6; }
29006 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows libraries, make sure they are compiled." >&5
29007 echo "$as_me: error: Cannot find MicroWindows libraries, make sure they are compiled." >&2;}
29008 { (exit 1); exit 1; }; }
29011 TOOLKIT_INCLUDE="-I$MICROWINDOWS/include"
29012 GUI_TK_LIBRARY="-L$MICROWINDOWS/lib -lmwin -lmwengine -mwfonts -mwdrivers -mwinlib"
29014 wxUSE_UNIVERSAL="yes"
29016 AFMINSTALL=afminstall
29018 GUIDIST=MICROWIN_DIST
29020 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXMSW__ -D__WIN95__ -D__WIN32__ -DMWIN -DMICROWIN_NOCONTROLS -DMICROWIN_TODO=1"
29023 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
29024 { echo "$as_me:$LINENO: checking for X" >&5
29025 echo $ECHO_N "checking for X... $ECHO_C" >&6; }
29028 # Check whether --with-x was given.
29029 if test "${with_x+set}" = set; then
29033 # $have_x is `yes', `no', `disabled
', or empty when we do not yet know.
29034 if test "x$with_x" = xno; then
29035 # The user explicitly disabled X.
29038 case $x_includes,$x_libraries in #(
29039 *\'*) { { echo "$as_me:$LINENO: error: Cannot use X directory names containing '" >&5
29040 echo "$as_me: error
: Cannot use X directory names containing
'" >&2;}
29041 { (exit 1); exit 1; }; };; #(
29042 *,NONE | NONE,*) if test "${ac_cv_have_x+set}" = set; then
29043 echo $ECHO_N "(cached) $ECHO_C" >&6
29045 # One or both of the vars are not set, and there is no cached value.
29046 ac_x_includes=no ac_x_libraries=no
29047 rm -f -r conftest.dir
29048 if mkdir conftest.dir; then
29050 cat >Imakefile <<'_ACEOF'
29052 @echo incroot='${INCROOT}'
29054 @echo usrlibdir='${USRLIBDIR}'
29056 @echo libdir='${LIBDIR}'
29058 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
29059 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
29060 for ac_var in incroot usrlibdir libdir; do
29061 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's
/^
$ac_var=//p
'\`"
29063 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
29064 for ac_extension in a so sl; do
29065 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
29066 test -f "$ac_im_libdir/libX11.$ac_extension"; then
29067 ac_im_usrlibdir=$ac_im_libdir; break
29070 # Screen out bogus values from the imake configuration. They are
29071 # bogus both because they are the default anyway, and because
29072 # using them would break gcc on systems where it needs fixed includes.
29073 case $ac_im_incroot in
29074 /usr/include) ac_x_includes= ;;
29075 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
29077 case $ac_im_usrlibdir in
29078 /usr/lib | /lib) ;;
29079 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
29083 rm -f -r conftest.dir
29086 # Standard set of common directories for X headers.
29087 # Check X11 before X11Rn because it is often a symlink to the current release.
29099 /usr
/local
/X
11/include
29100 /usr
/local
/X
11R
6/include
29101 /usr
/local
/X
11R
5/include
29102 /usr
/local
/X
11R
4/include
29104 /usr
/local
/include
/X11
29105 /usr
/local
/include
/X11R6
29106 /usr
/local
/include
/X11R5
29107 /usr
/local
/include
/X11R4
29111 /usr
/XFree
86/include
/X11
29115 /usr
/unsupported
/include
29116 /usr
/athena
/include
29117 /usr
/local
/x
11r
5/include
29118 /usr
/lpp
/Xamples
/include
29120 /usr
/openwin
/include
29121 /usr
/openwin
/share
/include
'
29123 if test "$ac_x_includes" = no; then
29124 # Guess where to find include files, by looking for Xlib.h.
29125 # First, try using that file with no special directory specified.
29126 cat >conftest.$ac_ext <<_ACEOF
29129 cat confdefs.h >>conftest.$ac_ext
29130 cat >>conftest.$ac_ext <<_ACEOF
29131 /* end confdefs.h. */
29132 #include <X11/Xlib.h>
29134 if { (ac_try="$ac_cpp conftest.$ac_ext"
29135 case "(($ac_try" in
29136 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29137 *) ac_try_echo=$ac_try;;
29139 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29140 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
29142 grep -v '^
*+' conftest.er1 >conftest.err
29144 cat conftest.err >&5
29145 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29146 (exit $ac_status); } >/dev/null && {
29147 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
29148 test ! -s conftest.err
29150 # We can compile using X headers with no special include directory.
29153 echo "$as_me: failed program was:" >&5
29154 sed 's
/^
/| /' conftest.$ac_ext >&5
29156 for ac_dir in $ac_x_header_dirs; do
29157 if test -r "$ac_dir/X11/Xlib.h"; then
29158 ac_x_includes=$ac_dir
29164 rm -f conftest.err conftest.$ac_ext
29165 fi # $ac_x_includes = no
29167 if test "$ac_x_libraries" = no; then
29168 # Check for the libraries.
29169 # See if we find them without any special options.
29170 # Don't add to
$LIBS permanently.
29173 cat >conftest.
$ac_ext <<_ACEOF
29176 cat confdefs.h
>>conftest.
$ac_ext
29177 cat >>conftest.
$ac_ext <<_ACEOF
29178 /* end confdefs.h. */
29179 #include <X11/Xlib.h>
29188 rm -f conftest.
$ac_objext conftest
$ac_exeext
29189 if { (ac_try
="$ac_link"
29190 case "(($ac_try" in
29191 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
29192 *) ac_try_echo=$ac_try;;
29194 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29195 (eval "$ac_link") 2>conftest.er1
29197 grep -v '^ *+' conftest.er1 >conftest.err
29199 cat conftest.err >&5
29200 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29201 (exit $ac_status); } && {
29202 test -z "$ac_c_werror_flag" ||
29203 test ! -s conftest.err
29204 } && test -s conftest$ac_exeext &&
29205 $as_test_x conftest$ac_exeext; then
29207 # We can link X programs with no special library path.
29210 echo "$as_me: failed program was:" >&5
29211 sed 's/^/| /' conftest.$ac_ext >&5
29214 for ac_dir in `echo "$ac_x_includes $ac_x_header_dirs" | sed s
/include
/lib
/g
`
29216 # Don't even attempt the hair of trying to link an X program!
29217 for ac_extension in a so sl; do
29218 if test -r "$ac_dir/libX11.$ac_extension"; then
29219 ac_x_libraries=$ac_dir
29226 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29227 conftest$ac_exeext conftest.$ac_ext
29228 fi # $ac_x_libraries = no
29230 case $ac_x_includes,$ac_x_libraries in #(
29231 no,* | *,no | *\'*)
29232 # Didn't find X, or a directory has "'" in its name.
29233 ac_cv_have_x="have_x=no";; #(
29235 # Record where we found X for the cache.
29236 ac_cv_have_x="have_x=yes\
29237 ac_x_includes='$ac_x_includes'\
29238 ac_x_libraries='$ac_x_libraries'"
29244 eval "$ac_cv_have_x"
29247 if test "$have_x" != yes; then
29248 { echo "$as_me:$LINENO: result: $have_x" >&5
29249 echo "${ECHO_T}$have_x" >&6; }
29252 # If each of the values was on the command line, it overrides each guess.
29253 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
29254 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
29255 # Update the cache value to reflect the command line values.
29256 ac_cv_have_x="have_x=yes\
29257 ac_x_includes='$x_includes'\
29258 ac_x_libraries='$x_libraries'"
29259 { echo "$as_me:$LINENO: result: libraries $x_libraries, headers $x_includes" >&5
29260 echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6; }
29263 if test "$no_x" = yes; then
29264 # Not all programs may use this symbol, but it does not hurt to define it.
29266 cat >>confdefs.h <<\_ACEOF
29267 #define X_DISPLAY_MISSING 1
29270 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
29272 if test -n "$x_includes"; then
29273 X_CFLAGS="$X_CFLAGS -I$x_includes"
29276 # It would also be nice to do this for all -L options, not just this one.
29277 if test -n "$x_libraries"; then
29278 X_LIBS="$X_LIBS -L$x_libraries"
29279 # For Solaris; some versions of Sun CC require a space after -R and
29280 # others require no space. Words are not sufficient . . . .
29281 { echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
29282 echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6; }
29283 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
29284 ac_xsave_c_werror_flag=$ac_c_werror_flag
29285 ac_c_werror_flag=yes
29286 cat >conftest.$ac_ext <<_ACEOF
29289 cat confdefs.h >>conftest.$ac_ext
29290 cat >>conftest.$ac_ext <<_ACEOF
29291 /* end confdefs.h. */
29301 rm -f conftest.$ac_objext conftest$ac_exeext
29302 if { (ac_try="$ac_link"
29303 case "(($ac_try" in
29304 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
29305 *) ac_try_echo
=$ac_try;;
29307 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29308 (eval "$ac_link") 2>conftest.er1
29310 grep -v '^ *+' conftest.er1
>conftest.err
29312 cat conftest.err
>&5
29313 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29314 (exit $ac_status); } && {
29315 test -z "$ac_c_werror_flag" ||
29316 test ! -s conftest.err
29317 } && test -s conftest
$ac_exeext &&
29318 $as_test_x conftest
$ac_exeext; then
29319 { echo "$as_me:$LINENO: result: no" >&5
29320 echo "${ECHO_T}no" >&6; }
29321 X_LIBS
="$X_LIBS -R$x_libraries"
29323 echo "$as_me: failed program was:" >&5
29324 sed 's/^/| /' conftest.
$ac_ext >&5
29326 LIBS
="$ac_xsave_LIBS -R $x_libraries"
29327 cat >conftest.
$ac_ext <<_ACEOF
29330 cat confdefs.h
>>conftest.
$ac_ext
29331 cat >>conftest.
$ac_ext <<_ACEOF
29332 /* end confdefs.h. */
29342 rm -f conftest.
$ac_objext conftest
$ac_exeext
29343 if { (ac_try
="$ac_link"
29344 case "(($ac_try" in
29345 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
29346 *) ac_try_echo=$ac_try;;
29348 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29349 (eval "$ac_link") 2>conftest.er1
29351 grep -v '^ *+' conftest.er1 >conftest.err
29353 cat conftest.err >&5
29354 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29355 (exit $ac_status); } && {
29356 test -z "$ac_c_werror_flag" ||
29357 test ! -s conftest.err
29358 } && test -s conftest$ac_exeext &&
29359 $as_test_x conftest$ac_exeext; then
29360 { echo "$as_me:$LINENO: result: yes" >&5
29361 echo "${ECHO_T}yes" >&6; }
29362 X_LIBS="$X_LIBS -R $x_libraries"
29364 echo "$as_me: failed program was:" >&5
29365 sed 's/^/| /' conftest.$ac_ext >&5
29367 { echo "$as_me:$LINENO: result: neither works" >&5
29368 echo "${ECHO_T}neither works" >&6; }
29371 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29372 conftest$ac_exeext conftest.$ac_ext
29375 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29376 conftest$ac_exeext conftest.$ac_ext
29377 ac_c_werror_flag=$ac_xsave_c_werror_flag
29378 LIBS=$ac_xsave_LIBS
29381 # Check for system-dependent libraries X programs must link with.
29382 # Do this before checking for the system-independent R6 libraries
29383 # (-lICE), since we may need -lsocket or whatever for X linking.
29385 if test "$ISC" = yes; then
29386 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
29388 # Martyn Johnson says this is needed for Ultrix, if the X
29389 # libraries were built with DECnet support. And Karl Berry says
29390 # the Alpha needs dnet_stub (dnet does not exist).
29391 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
29392 cat >conftest.$ac_ext <<_ACEOF
29395 cat confdefs.h >>conftest.$ac_ext
29396 cat >>conftest.$ac_ext <<_ACEOF
29397 /* end confdefs.h. */
29399 /* Override any GCC internal prototype to avoid an error.
29400 Use char because int might match the return type of a GCC
29401 builtin and then its argument prototype would still apply. */
29405 char XOpenDisplay ();
29409 return XOpenDisplay ();
29414 rm -f conftest.$ac_objext conftest$ac_exeext
29415 if { (ac_try="$ac_link"
29416 case "(($ac_try" in
29417 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
29418 *) ac_try_echo
=$ac_try;;
29420 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29421 (eval "$ac_link") 2>conftest.er1
29423 grep -v '^ *+' conftest.er1
>conftest.err
29425 cat conftest.err
>&5
29426 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29427 (exit $ac_status); } && {
29428 test -z "$ac_c_werror_flag" ||
29429 test ! -s conftest.err
29430 } && test -s conftest
$ac_exeext &&
29431 $as_test_x conftest
$ac_exeext; then
29434 echo "$as_me: failed program was:" >&5
29435 sed 's/^/| /' conftest.
$ac_ext >&5
29437 { echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
29438 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6; }
29439 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
29440 echo $ECHO_N "(cached) $ECHO_C" >&6
29442 ac_check_lib_save_LIBS
=$LIBS
29443 LIBS
="-ldnet $LIBS"
29444 cat >conftest.
$ac_ext <<_ACEOF
29447 cat confdefs.h
>>conftest.
$ac_ext
29448 cat >>conftest.
$ac_ext <<_ACEOF
29449 /* end confdefs.h. */
29451 /* Override any GCC internal prototype to avoid an error.
29452 Use char because int might match the return type of a GCC
29453 builtin and then its argument prototype would still apply. */
29461 return dnet_ntoa ();
29466 rm -f conftest.
$ac_objext conftest
$ac_exeext
29467 if { (ac_try
="$ac_link"
29468 case "(($ac_try" in
29469 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
29470 *) ac_try_echo=$ac_try;;
29472 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29473 (eval "$ac_link") 2>conftest.er1
29475 grep -v '^ *+' conftest.er1 >conftest.err
29477 cat conftest.err >&5
29478 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29479 (exit $ac_status); } && {
29480 test -z "$ac_c_werror_flag" ||
29481 test ! -s conftest.err
29482 } && test -s conftest$ac_exeext &&
29483 $as_test_x conftest$ac_exeext; then
29484 ac_cv_lib_dnet_dnet_ntoa=yes
29486 echo "$as_me: failed program was:" >&5
29487 sed 's/^/| /' conftest.$ac_ext >&5
29489 ac_cv_lib_dnet_dnet_ntoa=no
29492 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29493 conftest$ac_exeext conftest.$ac_ext
29494 LIBS=$ac_check_lib_save_LIBS
29496 { echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
29497 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6; }
29498 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
29499 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
29502 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
29503 { echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
29504 echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6; }
29505 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
29506 echo $ECHO_N "(cached) $ECHO_C" >&6
29508 ac_check_lib_save_LIBS=$LIBS
29509 LIBS="-ldnet_stub $LIBS"
29510 cat >conftest.$ac_ext <<_ACEOF
29513 cat confdefs.h >>conftest.$ac_ext
29514 cat >>conftest.$ac_ext <<_ACEOF
29515 /* end confdefs.h. */
29517 /* Override any GCC internal prototype to avoid an error.
29518 Use char because int might match the return type of a GCC
29519 builtin and then its argument prototype would still apply. */
29527 return dnet_ntoa ();
29532 rm -f conftest.$ac_objext conftest$ac_exeext
29533 if { (ac_try="$ac_link"
29534 case "(($ac_try" in
29535 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
29536 *) ac_try_echo
=$ac_try;;
29538 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29539 (eval "$ac_link") 2>conftest.er1
29541 grep -v '^ *+' conftest.er1
>conftest.err
29543 cat conftest.err
>&5
29544 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29545 (exit $ac_status); } && {
29546 test -z "$ac_c_werror_flag" ||
29547 test ! -s conftest.err
29548 } && test -s conftest
$ac_exeext &&
29549 $as_test_x conftest
$ac_exeext; then
29550 ac_cv_lib_dnet_stub_dnet_ntoa
=yes
29552 echo "$as_me: failed program was:" >&5
29553 sed 's/^/| /' conftest.
$ac_ext >&5
29555 ac_cv_lib_dnet_stub_dnet_ntoa
=no
29558 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
29559 conftest
$ac_exeext conftest.
$ac_ext
29560 LIBS
=$ac_check_lib_save_LIBS
29562 { echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
29563 echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
29564 if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
29565 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet_stub"
29571 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
29572 conftest
$ac_exeext conftest.
$ac_ext
29573 LIBS
="$ac_xsave_LIBS"
29575 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
29576 # to get the SysV transport functions.
29577 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
29579 # The nsl library prevents programs from opening the X display
29580 # on Irix 5.2, according to T.E. Dickey.
29581 # The functions gethostbyname, getservbyname, and inet_addr are
29582 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
29583 { echo "$as_me:$LINENO: checking for gethostbyname" >&5
29584 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6; }
29585 if test "${ac_cv_func_gethostbyname+set}" = set; then
29586 echo $ECHO_N "(cached) $ECHO_C" >&6
29588 cat >conftest.
$ac_ext <<_ACEOF
29591 cat confdefs.h
>>conftest.
$ac_ext
29592 cat >>conftest.
$ac_ext <<_ACEOF
29593 /* end confdefs.h. */
29594 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
29595 For example, HP-UX 11i <limits.h> declares gettimeofday. */
29596 #define gethostbyname innocuous_gethostbyname
29598 /* System header to define __stub macros and hopefully few prototypes,
29599 which can conflict with char gethostbyname (); below.
29600 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29601 <limits.h> exists even on freestanding compilers. */
29604 # include <limits.h>
29606 # include <assert.h>
29609 #undef gethostbyname
29611 /* Override any GCC internal prototype to avoid an error.
29612 Use char because int might match the return type of a GCC
29613 builtin and then its argument prototype would still apply. */
29617 char gethostbyname ();
29618 /* The GNU C library defines this for functions which it implements
29619 to always fail with ENOSYS. Some functions are actually named
29620 something starting with __ and the normal name is an alias. */
29621 #if defined __stub_gethostbyname || defined __stub___gethostbyname
29628 return gethostbyname ();
29633 rm -f conftest.
$ac_objext conftest
$ac_exeext
29634 if { (ac_try
="$ac_link"
29635 case "(($ac_try" in
29636 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
29637 *) ac_try_echo=$ac_try;;
29639 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29640 (eval "$ac_link") 2>conftest.er1
29642 grep -v '^ *+' conftest.er1 >conftest.err
29644 cat conftest.err >&5
29645 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29646 (exit $ac_status); } && {
29647 test -z "$ac_c_werror_flag" ||
29648 test ! -s conftest.err
29649 } && test -s conftest$ac_exeext &&
29650 $as_test_x conftest$ac_exeext; then
29651 ac_cv_func_gethostbyname=yes
29653 echo "$as_me: failed program was:" >&5
29654 sed 's/^/| /' conftest.$ac_ext >&5
29656 ac_cv_func_gethostbyname=no
29659 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29660 conftest$ac_exeext conftest.$ac_ext
29662 { echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
29663 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6; }
29665 if test $ac_cv_func_gethostbyname = no; then
29666 { echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
29667 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6; }
29668 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
29669 echo $ECHO_N "(cached) $ECHO_C" >&6
29671 ac_check_lib_save_LIBS=$LIBS
29673 cat >conftest.$ac_ext <<_ACEOF
29676 cat confdefs.h >>conftest.$ac_ext
29677 cat >>conftest.$ac_ext <<_ACEOF
29678 /* end confdefs.h. */
29680 /* Override any GCC internal prototype to avoid an error.
29681 Use char because int might match the return type of a GCC
29682 builtin and then its argument prototype would still apply. */
29686 char gethostbyname ();
29690 return gethostbyname ();
29695 rm -f conftest.$ac_objext conftest$ac_exeext
29696 if { (ac_try="$ac_link"
29697 case "(($ac_try" in
29698 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
29699 *) ac_try_echo
=$ac_try;;
29701 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29702 (eval "$ac_link") 2>conftest.er1
29704 grep -v '^ *+' conftest.er1
>conftest.err
29706 cat conftest.err
>&5
29707 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29708 (exit $ac_status); } && {
29709 test -z "$ac_c_werror_flag" ||
29710 test ! -s conftest.err
29711 } && test -s conftest
$ac_exeext &&
29712 $as_test_x conftest
$ac_exeext; then
29713 ac_cv_lib_nsl_gethostbyname
=yes
29715 echo "$as_me: failed program was:" >&5
29716 sed 's/^/| /' conftest.
$ac_ext >&5
29718 ac_cv_lib_nsl_gethostbyname
=no
29721 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
29722 conftest
$ac_exeext conftest.
$ac_ext
29723 LIBS
=$ac_check_lib_save_LIBS
29725 { echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
29726 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6; }
29727 if test $ac_cv_lib_nsl_gethostbyname = yes; then
29728 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl"
29731 if test $ac_cv_lib_nsl_gethostbyname = no
; then
29732 { echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
29733 echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6; }
29734 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
29735 echo $ECHO_N "(cached) $ECHO_C" >&6
29737 ac_check_lib_save_LIBS
=$LIBS
29739 cat >conftest.
$ac_ext <<_ACEOF
29742 cat confdefs.h
>>conftest.
$ac_ext
29743 cat >>conftest.
$ac_ext <<_ACEOF
29744 /* end confdefs.h. */
29746 /* Override any GCC internal prototype to avoid an error.
29747 Use char because int might match the return type of a GCC
29748 builtin and then its argument prototype would still apply. */
29752 char gethostbyname ();
29756 return gethostbyname ();
29761 rm -f conftest.
$ac_objext conftest
$ac_exeext
29762 if { (ac_try
="$ac_link"
29763 case "(($ac_try" in
29764 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
29765 *) ac_try_echo=$ac_try;;
29767 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29768 (eval "$ac_link") 2>conftest.er1
29770 grep -v '^ *+' conftest.er1 >conftest.err
29772 cat conftest.err >&5
29773 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29774 (exit $ac_status); } && {
29775 test -z "$ac_c_werror_flag" ||
29776 test ! -s conftest.err
29777 } && test -s conftest$ac_exeext &&
29778 $as_test_x conftest$ac_exeext; then
29779 ac_cv_lib_bsd_gethostbyname=yes
29781 echo "$as_me: failed program was:" >&5
29782 sed 's/^/| /' conftest.$ac_ext >&5
29784 ac_cv_lib_bsd_gethostbyname=no
29787 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29788 conftest$ac_exeext conftest.$ac_ext
29789 LIBS=$ac_check_lib_save_LIBS
29791 { echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
29792 echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6; }
29793 if test $ac_cv_lib_bsd_gethostbyname = yes; then
29794 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
29800 # lieder@skyler.mavd.honeywell.com says without -lsocket,
29801 # socket/setsockopt and other routines are undefined under SCO ODT
29802 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
29803 # on later versions), says Simon Leinen: it contains gethostby*
29804 # variants that don't use the name server (or something). -lsocket
29805 # must be given before -lnsl if both are needed. We assume that
29806 # if connect needs -lnsl, so does gethostbyname.
29807 { echo "$as_me:$LINENO: checking for connect" >&5
29808 echo $ECHO_N "checking for connect... $ECHO_C" >&6; }
29809 if test "${ac_cv_func_connect+set}" = set; then
29810 echo $ECHO_N "(cached) $ECHO_C" >&6
29812 cat >conftest.$ac_ext <<_ACEOF
29815 cat confdefs.h >>conftest.$ac_ext
29816 cat >>conftest.$ac_ext <<_ACEOF
29817 /* end confdefs.h. */
29818 /* Define connect to an innocuous variant, in case <limits.h> declares connect.
29819 For example, HP-UX 11i <limits.h> declares gettimeofday. */
29820 #define connect innocuous_connect
29822 /* System header to define __stub macros and hopefully few prototypes,
29823 which can conflict with char connect (); below.
29824 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29825 <limits.h> exists even on freestanding compilers. */
29828 # include <limits.h>
29830 # include <assert.h>
29835 /* Override any GCC internal prototype to avoid an error.
29836 Use char because int might match the return type of a GCC
29837 builtin and then its argument prototype would still apply. */
29842 /* The GNU C library defines this for functions which it implements
29843 to always fail with ENOSYS. Some functions are actually named
29844 something starting with __ and the normal name is an alias. */
29845 #if defined __stub_connect || defined __stub___connect
29857 rm -f conftest.$ac_objext conftest$ac_exeext
29858 if { (ac_try="$ac_link"
29859 case "(($ac_try" in
29860 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
29861 *) ac_try_echo
=$ac_try;;
29863 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29864 (eval "$ac_link") 2>conftest.er1
29866 grep -v '^ *+' conftest.er1
>conftest.err
29868 cat conftest.err
>&5
29869 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29870 (exit $ac_status); } && {
29871 test -z "$ac_c_werror_flag" ||
29872 test ! -s conftest.err
29873 } && test -s conftest
$ac_exeext &&
29874 $as_test_x conftest
$ac_exeext; then
29875 ac_cv_func_connect
=yes
29877 echo "$as_me: failed program was:" >&5
29878 sed 's/^/| /' conftest.
$ac_ext >&5
29880 ac_cv_func_connect
=no
29883 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
29884 conftest
$ac_exeext conftest.
$ac_ext
29886 { echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
29887 echo "${ECHO_T}$ac_cv_func_connect" >&6; }
29889 if test $ac_cv_func_connect = no
; then
29890 { echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
29891 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6; }
29892 if test "${ac_cv_lib_socket_connect+set}" = set; then
29893 echo $ECHO_N "(cached) $ECHO_C" >&6
29895 ac_check_lib_save_LIBS
=$LIBS
29896 LIBS
="-lsocket $X_EXTRA_LIBS $LIBS"
29897 cat >conftest.
$ac_ext <<_ACEOF
29900 cat confdefs.h
>>conftest.
$ac_ext
29901 cat >>conftest.
$ac_ext <<_ACEOF
29902 /* end confdefs.h. */
29904 /* Override any GCC internal prototype to avoid an error.
29905 Use char because int might match the return type of a GCC
29906 builtin and then its argument prototype would still apply. */
29919 rm -f conftest.
$ac_objext conftest
$ac_exeext
29920 if { (ac_try
="$ac_link"
29921 case "(($ac_try" in
29922 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
29923 *) ac_try_echo=$ac_try;;
29925 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29926 (eval "$ac_link") 2>conftest.er1
29928 grep -v '^ *+' conftest.er1 >conftest.err
29930 cat conftest.err >&5
29931 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29932 (exit $ac_status); } && {
29933 test -z "$ac_c_werror_flag" ||
29934 test ! -s conftest.err
29935 } && test -s conftest$ac_exeext &&
29936 $as_test_x conftest$ac_exeext; then
29937 ac_cv_lib_socket_connect=yes
29939 echo "$as_me: failed program was:" >&5
29940 sed 's/^/| /' conftest.$ac_ext >&5
29942 ac_cv_lib_socket_connect=no
29945 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29946 conftest$ac_exeext conftest.$ac_ext
29947 LIBS=$ac_check_lib_save_LIBS
29949 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
29950 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6; }
29951 if test $ac_cv_lib_socket_connect = yes; then
29952 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
29957 # Guillermo Gomez says -lposix is necessary on A/UX.
29958 { echo "$as_me:$LINENO: checking for remove" >&5
29959 echo $ECHO_N "checking for remove... $ECHO_C" >&6; }
29960 if test "${ac_cv_func_remove+set}" = set; then
29961 echo $ECHO_N "(cached) $ECHO_C" >&6
29963 cat >conftest.$ac_ext <<_ACEOF
29966 cat confdefs.h >>conftest.$ac_ext
29967 cat >>conftest.$ac_ext <<_ACEOF
29968 /* end confdefs.h. */
29969 /* Define remove to an innocuous variant, in case <limits.h> declares remove.
29970 For example, HP-UX 11i <limits.h> declares gettimeofday. */
29971 #define remove innocuous_remove
29973 /* System header to define __stub macros and hopefully few prototypes,
29974 which can conflict with char remove (); below.
29975 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29976 <limits.h> exists even on freestanding compilers. */
29979 # include <limits.h>
29981 # include <assert.h>
29986 /* Override any GCC internal prototype to avoid an error.
29987 Use char because int might match the return type of a GCC
29988 builtin and then its argument prototype would still apply. */
29993 /* The GNU C library defines this for functions which it implements
29994 to always fail with ENOSYS. Some functions are actually named
29995 something starting with __ and the normal name is an alias. */
29996 #if defined __stub_remove || defined __stub___remove
30008 rm -f conftest.$ac_objext conftest$ac_exeext
30009 if { (ac_try="$ac_link"
30010 case "(($ac_try" in
30011 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
30012 *) ac_try_echo
=$ac_try;;
30014 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30015 (eval "$ac_link") 2>conftest.er1
30017 grep -v '^ *+' conftest.er1
>conftest.err
30019 cat conftest.err
>&5
30020 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30021 (exit $ac_status); } && {
30022 test -z "$ac_c_werror_flag" ||
30023 test ! -s conftest.err
30024 } && test -s conftest
$ac_exeext &&
30025 $as_test_x conftest
$ac_exeext; then
30026 ac_cv_func_remove
=yes
30028 echo "$as_me: failed program was:" >&5
30029 sed 's/^/| /' conftest.
$ac_ext >&5
30031 ac_cv_func_remove
=no
30034 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
30035 conftest
$ac_exeext conftest.
$ac_ext
30037 { echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
30038 echo "${ECHO_T}$ac_cv_func_remove" >&6; }
30040 if test $ac_cv_func_remove = no
; then
30041 { echo "$as_me:$LINENO: checking for remove in -lposix" >&5
30042 echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6; }
30043 if test "${ac_cv_lib_posix_remove+set}" = set; then
30044 echo $ECHO_N "(cached) $ECHO_C" >&6
30046 ac_check_lib_save_LIBS
=$LIBS
30047 LIBS
="-lposix $LIBS"
30048 cat >conftest.
$ac_ext <<_ACEOF
30051 cat confdefs.h
>>conftest.
$ac_ext
30052 cat >>conftest.
$ac_ext <<_ACEOF
30053 /* end confdefs.h. */
30055 /* Override any GCC internal prototype to avoid an error.
30056 Use char because int might match the return type of a GCC
30057 builtin and then its argument prototype would still apply. */
30070 rm -f conftest.
$ac_objext conftest
$ac_exeext
30071 if { (ac_try
="$ac_link"
30072 case "(($ac_try" in
30073 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
30074 *) ac_try_echo=$ac_try;;
30076 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30077 (eval "$ac_link") 2>conftest.er1
30079 grep -v '^ *+' conftest.er1 >conftest.err
30081 cat conftest.err >&5
30082 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30083 (exit $ac_status); } && {
30084 test -z "$ac_c_werror_flag" ||
30085 test ! -s conftest.err
30086 } && test -s conftest$ac_exeext &&
30087 $as_test_x conftest$ac_exeext; then
30088 ac_cv_lib_posix_remove=yes
30090 echo "$as_me: failed program was:" >&5
30091 sed 's/^/| /' conftest.$ac_ext >&5
30093 ac_cv_lib_posix_remove=no
30096 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30097 conftest$ac_exeext conftest.$ac_ext
30098 LIBS=$ac_check_lib_save_LIBS
30100 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
30101 echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6; }
30102 if test $ac_cv_lib_posix_remove = yes; then
30103 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
30108 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
30109 { echo "$as_me:$LINENO: checking for shmat" >&5
30110 echo $ECHO_N "checking for shmat... $ECHO_C" >&6; }
30111 if test "${ac_cv_func_shmat+set}" = set; then
30112 echo $ECHO_N "(cached) $ECHO_C" >&6
30114 cat >conftest.$ac_ext <<_ACEOF
30117 cat confdefs.h >>conftest.$ac_ext
30118 cat >>conftest.$ac_ext <<_ACEOF
30119 /* end confdefs.h. */
30120 /* Define shmat to an innocuous variant, in case <limits.h> declares shmat.
30121 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30122 #define shmat innocuous_shmat
30124 /* System header to define __stub macros and hopefully few prototypes,
30125 which can conflict with char shmat (); below.
30126 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30127 <limits.h> exists even on freestanding compilers. */
30130 # include <limits.h>
30132 # include <assert.h>
30137 /* Override any GCC internal prototype to avoid an error.
30138 Use char because int might match the return type of a GCC
30139 builtin and then its argument prototype would still apply. */
30144 /* The GNU C library defines this for functions which it implements
30145 to always fail with ENOSYS. Some functions are actually named
30146 something starting with __ and the normal name is an alias. */
30147 #if defined __stub_shmat || defined __stub___shmat
30159 rm -f conftest.$ac_objext conftest$ac_exeext
30160 if { (ac_try="$ac_link"
30161 case "(($ac_try" in
30162 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
30163 *) ac_try_echo
=$ac_try;;
30165 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30166 (eval "$ac_link") 2>conftest.er1
30168 grep -v '^ *+' conftest.er1
>conftest.err
30170 cat conftest.err
>&5
30171 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30172 (exit $ac_status); } && {
30173 test -z "$ac_c_werror_flag" ||
30174 test ! -s conftest.err
30175 } && test -s conftest
$ac_exeext &&
30176 $as_test_x conftest
$ac_exeext; then
30177 ac_cv_func_shmat
=yes
30179 echo "$as_me: failed program was:" >&5
30180 sed 's/^/| /' conftest.
$ac_ext >&5
30182 ac_cv_func_shmat
=no
30185 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
30186 conftest
$ac_exeext conftest.
$ac_ext
30188 { echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
30189 echo "${ECHO_T}$ac_cv_func_shmat" >&6; }
30191 if test $ac_cv_func_shmat = no
; then
30192 { echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
30193 echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6; }
30194 if test "${ac_cv_lib_ipc_shmat+set}" = set; then
30195 echo $ECHO_N "(cached) $ECHO_C" >&6
30197 ac_check_lib_save_LIBS
=$LIBS
30199 cat >conftest.
$ac_ext <<_ACEOF
30202 cat confdefs.h
>>conftest.
$ac_ext
30203 cat >>conftest.
$ac_ext <<_ACEOF
30204 /* end confdefs.h. */
30206 /* Override any GCC internal prototype to avoid an error.
30207 Use char because int might match the return type of a GCC
30208 builtin and then its argument prototype would still apply. */
30221 rm -f conftest.
$ac_objext conftest
$ac_exeext
30222 if { (ac_try
="$ac_link"
30223 case "(($ac_try" in
30224 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
30225 *) ac_try_echo=$ac_try;;
30227 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30228 (eval "$ac_link") 2>conftest.er1
30230 grep -v '^ *+' conftest.er1 >conftest.err
30232 cat conftest.err >&5
30233 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30234 (exit $ac_status); } && {
30235 test -z "$ac_c_werror_flag" ||
30236 test ! -s conftest.err
30237 } && test -s conftest$ac_exeext &&
30238 $as_test_x conftest$ac_exeext; then
30239 ac_cv_lib_ipc_shmat=yes
30241 echo "$as_me: failed program was:" >&5
30242 sed 's/^/| /' conftest.$ac_ext >&5
30244 ac_cv_lib_ipc_shmat=no
30247 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30248 conftest$ac_exeext conftest.$ac_ext
30249 LIBS=$ac_check_lib_save_LIBS
30251 { echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
30252 echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6; }
30253 if test $ac_cv_lib_ipc_shmat = yes; then
30254 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
30260 # Check for libraries that X11R6 Xt/Xaw programs need.
30261 ac_save_LDFLAGS=$LDFLAGS
30262 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
30263 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
30264 # check for ICE first), but we must link in the order -lSM -lICE or
30265 # we get undefined symbols. So assume we have SM if we have ICE.
30266 # These have to be linked with before -lX11, unlike the other
30267 # libraries we check for below, so use a different variable.
30268 # John Interrante, Karl Berry
30269 { echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
30270 echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6; }
30271 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
30272 echo $ECHO_N "(cached) $ECHO_C" >&6
30274 ac_check_lib_save_LIBS=$LIBS
30275 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
30276 cat >conftest.$ac_ext <<_ACEOF
30279 cat confdefs.h >>conftest.$ac_ext
30280 cat >>conftest.$ac_ext <<_ACEOF
30281 /* end confdefs.h. */
30283 /* Override any GCC internal prototype to avoid an error.
30284 Use char because int might match the return type of a GCC
30285 builtin and then its argument prototype would still apply. */
30289 char IceConnectionNumber ();
30293 return IceConnectionNumber ();
30298 rm -f conftest.$ac_objext conftest$ac_exeext
30299 if { (ac_try="$ac_link"
30300 case "(($ac_try" in
30301 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
30302 *) ac_try_echo
=$ac_try;;
30304 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30305 (eval "$ac_link") 2>conftest.er1
30307 grep -v '^ *+' conftest.er1
>conftest.err
30309 cat conftest.err
>&5
30310 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30311 (exit $ac_status); } && {
30312 test -z "$ac_c_werror_flag" ||
30313 test ! -s conftest.err
30314 } && test -s conftest
$ac_exeext &&
30315 $as_test_x conftest
$ac_exeext; then
30316 ac_cv_lib_ICE_IceConnectionNumber
=yes
30318 echo "$as_me: failed program was:" >&5
30319 sed 's/^/| /' conftest.
$ac_ext >&5
30321 ac_cv_lib_ICE_IceConnectionNumber
=no
30324 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
30325 conftest
$ac_exeext conftest.
$ac_ext
30326 LIBS
=$ac_check_lib_save_LIBS
30328 { echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
30329 echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
30330 if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
30331 X_PRE_LIBS
="$X_PRE_LIBS -lSM -lICE"
30334 LDFLAGS
=$ac_save_LDFLAGS
30339 if test "$no_x" = "yes"; then
30340 { { echo "$as_me:$LINENO: error: X11 not found, please use --x-includes and/or --x-libraries options (see config.log for details)" >&5
30341 echo "$as_me: error: X11 not found, please use --x-includes and/or --x-libraries options (see config.log for details)" >&2;}
30342 { (exit 1); exit 1; }; }
30345 GUI_TK_LIBRARY
=`echo $X_LIBS | sed 's/ -LNONE//' | sed 's/ -RNONE//'`
30346 TOOLKIT_INCLUDE
=`echo $X_CFLAGS | sed 's/ -INONE//'`
30347 AFMINSTALL
=afminstall
30348 COMPILED_X_PROGRAM
=0
30352 if test "$wxUSE_X11" = 1; then
30353 if test "$wxUSE_NANOX" = "yes"; then
30354 { echo "$as_me:$LINENO: checking for MicroWindows/NanoX distribution" >&5
30355 echo $ECHO_N "checking for MicroWindows/NanoX distribution... $ECHO_C" >&6; }
30356 if test "x$MICROWIN" = x
; then
30357 { echo "$as_me:$LINENO: result: not found" >&5
30358 echo "${ECHO_T}not found" >&6; }
30359 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&5
30360 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&2;}
30361 { (exit 1); exit 1; }; }
30363 { echo "$as_me:$LINENO: result: $MICROWIN" >&5
30364 echo "${ECHO_T}$MICROWIN" >&6; }
30365 cat >>confdefs.h
<<\_ACEOF
30366 #define wxUSE_NANOX 1
30372 if test "$wxUSE_UNICODE" = "yes"; then
30375 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
30376 if test -n "$ac_tool_prefix"; then
30377 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
30378 set dummy
${ac_tool_prefix}pkg
-config; ac_word
=$2
30379 { echo "$as_me:$LINENO: checking for $ac_word" >&5
30380 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
30381 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
30382 echo $ECHO_N "(cached) $ECHO_C" >&6
30384 case $PKG_CONFIG in
30386 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
30389 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
30390 for as_dir
in $PATH
30393 test -z "$as_dir" && as_dir
=.
30394 for ac_exec_ext
in '' $ac_executable_extensions; do
30395 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
30396 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
30397 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
30407 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
30408 if test -n "$PKG_CONFIG"; then
30409 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
30410 echo "${ECHO_T}$PKG_CONFIG" >&6; }
30412 { echo "$as_me:$LINENO: result: no" >&5
30413 echo "${ECHO_T}no" >&6; }
30418 if test -z "$ac_cv_path_PKG_CONFIG"; then
30419 ac_pt_PKG_CONFIG
=$PKG_CONFIG
30420 # Extract the first word of "pkg-config", so it can be a program name with args.
30421 set dummy pkg
-config; ac_word
=$2
30422 { echo "$as_me:$LINENO: checking for $ac_word" >&5
30423 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
30424 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
30425 echo $ECHO_N "(cached) $ECHO_C" >&6
30427 case $ac_pt_PKG_CONFIG in
30429 ac_cv_path_ac_pt_PKG_CONFIG
="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
30432 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
30433 for as_dir
in $PATH
30436 test -z "$as_dir" && as_dir
=.
30437 for ac_exec_ext
in '' $ac_executable_extensions; do
30438 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
30439 ac_cv_path_ac_pt_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
30440 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
30450 ac_pt_PKG_CONFIG
=$ac_cv_path_ac_pt_PKG_CONFIG
30451 if test -n "$ac_pt_PKG_CONFIG"; then
30452 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
30453 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
30455 { echo "$as_me:$LINENO: result: no" >&5
30456 echo "${ECHO_T}no" >&6; }
30459 if test "x$ac_pt_PKG_CONFIG" = x
; then
30462 case $cross_compiling:$ac_tool_warned in
30464 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
30465 whose name does not start with the host triplet. If you think this
30466 configuration is useful to you, please write to autoconf@gnu.org." >&5
30467 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
30468 whose name does not start with the host triplet. If you think this
30469 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
30470 ac_tool_warned
=yes ;;
30472 PKG_CONFIG
=$ac_pt_PKG_CONFIG
30475 PKG_CONFIG
="$ac_cv_path_PKG_CONFIG"
30479 if test -n "$PKG_CONFIG"; then
30480 _pkg_min_version
=0.9.0
30481 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
30482 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
30483 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
30484 { echo "$as_me:$LINENO: result: yes" >&5
30485 echo "${ECHO_T}yes" >&6; }
30487 { echo "$as_me:$LINENO: result: no" >&5
30488 echo "${ECHO_T}no" >&6; }
30496 { echo "$as_me:$LINENO: checking for PANGOX" >&5
30497 echo $ECHO_N "checking for PANGOX... $ECHO_C" >&6; }
30499 if test -n "$PKG_CONFIG"; then
30500 if test -n "$PANGOX_CFLAGS"; then
30501 pkg_cv_PANGOX_CFLAGS
="$PANGOX_CFLAGS"
30503 if test -n "$PKG_CONFIG" && \
30504 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangox\"") >&5
30505 ($PKG_CONFIG --exists --print-errors "pangox") 2>&5
30507 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30508 (exit $ac_status); }; then
30509 pkg_cv_PANGOX_CFLAGS
=`$PKG_CONFIG --cflags "pangox" 2>/dev/null`
30517 if test -n "$PKG_CONFIG"; then
30518 if test -n "$PANGOX_LIBS"; then
30519 pkg_cv_PANGOX_LIBS
="$PANGOX_LIBS"
30521 if test -n "$PKG_CONFIG" && \
30522 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangox\"") >&5
30523 ($PKG_CONFIG --exists --print-errors "pangox") 2>&5
30525 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30526 (exit $ac_status); }; then
30527 pkg_cv_PANGOX_LIBS
=`$PKG_CONFIG --libs "pangox" 2>/dev/null`
30538 if test $pkg_failed = yes; then
30540 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
30541 _pkg_short_errors_supported
=yes
30543 _pkg_short_errors_supported
=no
30545 if test $_pkg_short_errors_supported = yes; then
30546 PANGOX_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangox"`
30548 PANGOX_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "pangox"`
30550 # Put the nasty error message in config.log where it belongs
30551 echo "$PANGOX_PKG_ERRORS" >&5
30554 { { echo "$as_me:$LINENO: error: pangox library not found, library cannot be compiled in Unicode mode" >&5
30555 echo "$as_me: error: pangox library not found, library cannot be compiled in Unicode mode" >&2;}
30556 { (exit 1); exit 1; }; }
30559 elif test $pkg_failed = untried
; then
30561 { { echo "$as_me:$LINENO: error: pangox library not found, library cannot be compiled in Unicode mode" >&5
30562 echo "$as_me: error: pangox library not found, library cannot be compiled in Unicode mode" >&2;}
30563 { (exit 1); exit 1; }; }
30567 PANGOX_CFLAGS
=$pkg_cv_PANGOX_CFLAGS
30568 PANGOX_LIBS
=$pkg_cv_PANGOX_LIBS
30569 { echo "$as_me:$LINENO: result: yes" >&5
30570 echo "${ECHO_T}yes" >&6; }
30572 CFLAGS
="$PANGOX_CFLAGS $CFLAGS"
30573 CXXFLAGS
="$PANGOX_CFLAGS $CXXFLAGS"
30574 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $PANGOX_LIBS"
30579 { echo "$as_me:$LINENO: checking for PANGOFT2" >&5
30580 echo $ECHO_N "checking for PANGOFT2... $ECHO_C" >&6; }
30582 if test -n "$PKG_CONFIG"; then
30583 if test -n "$PANGOFT2_CFLAGS"; then
30584 pkg_cv_PANGOFT2_CFLAGS
="$PANGOFT2_CFLAGS"
30586 if test -n "$PKG_CONFIG" && \
30587 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoft2\"") >&5
30588 ($PKG_CONFIG --exists --print-errors "pangoft2") 2>&5
30590 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30591 (exit $ac_status); }; then
30592 pkg_cv_PANGOFT2_CFLAGS
=`$PKG_CONFIG --cflags "pangoft2" 2>/dev/null`
30600 if test -n "$PKG_CONFIG"; then
30601 if test -n "$PANGOFT2_LIBS"; then
30602 pkg_cv_PANGOFT2_LIBS
="$PANGOFT2_LIBS"
30604 if test -n "$PKG_CONFIG" && \
30605 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoft2\"") >&5
30606 ($PKG_CONFIG --exists --print-errors "pangoft2") 2>&5
30608 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30609 (exit $ac_status); }; then
30610 pkg_cv_PANGOFT2_LIBS
=`$PKG_CONFIG --libs "pangoft2" 2>/dev/null`
30621 if test $pkg_failed = yes; then
30623 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
30624 _pkg_short_errors_supported
=yes
30626 _pkg_short_errors_supported
=no
30628 if test $_pkg_short_errors_supported = yes; then
30629 PANGOFT2_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangoft2"`
30631 PANGOFT2_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoft2"`
30633 # Put the nasty error message in config.log where it belongs
30634 echo "$PANGOFT2_PKG_ERRORS" >&5
30637 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
30638 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
30639 wxUSE_PRINTING_ARCHITECTURE
="no"
30642 elif test $pkg_failed = untried
; then
30644 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
30645 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
30646 wxUSE_PRINTING_ARCHITECTURE
="no"
30650 PANGOFT2_CFLAGS
=$pkg_cv_PANGOFT2_CFLAGS
30651 PANGOFT2_LIBS
=$pkg_cv_PANGOFT2_LIBS
30652 { echo "$as_me:$LINENO: result: yes" >&5
30653 echo "${ECHO_T}yes" >&6; }
30655 CFLAGS
="$PANGOFT2_CFLAGS $CFLAGS"
30656 CXXFLAGS
="$PANGOFT2_CFLAGS $CXXFLAGS"
30657 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $PANGOFT2_LIBS"
30662 { echo "$as_me:$LINENO: checking for PANGOXFT" >&5
30663 echo $ECHO_N "checking for PANGOXFT... $ECHO_C" >&6; }
30665 if test -n "$PKG_CONFIG"; then
30666 if test -n "$PANGOXFT_CFLAGS"; then
30667 pkg_cv_PANGOXFT_CFLAGS
="$PANGOXFT_CFLAGS"
30669 if test -n "$PKG_CONFIG" && \
30670 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoxft\"") >&5
30671 ($PKG_CONFIG --exists --print-errors "pangoxft") 2>&5
30673 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30674 (exit $ac_status); }; then
30675 pkg_cv_PANGOXFT_CFLAGS
=`$PKG_CONFIG --cflags "pangoxft" 2>/dev/null`
30683 if test -n "$PKG_CONFIG"; then
30684 if test -n "$PANGOXFT_LIBS"; then
30685 pkg_cv_PANGOXFT_LIBS
="$PANGOXFT_LIBS"
30687 if test -n "$PKG_CONFIG" && \
30688 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoxft\"") >&5
30689 ($PKG_CONFIG --exists --print-errors "pangoxft") 2>&5
30691 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30692 (exit $ac_status); }; then
30693 pkg_cv_PANGOXFT_LIBS
=`$PKG_CONFIG --libs "pangoxft" 2>/dev/null`
30704 if test $pkg_failed = yes; then
30706 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
30707 _pkg_short_errors_supported
=yes
30709 _pkg_short_errors_supported
=no
30711 if test $_pkg_short_errors_supported = yes; then
30712 PANGOXFT_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangoxft"`
30714 PANGOXFT_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoxft"`
30716 # Put the nasty error message in config.log where it belongs
30717 echo "$PANGOXFT_PKG_ERRORS" >&5
30720 { echo "$as_me:$LINENO: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
30721 echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
30724 elif test $pkg_failed = untried
; then
30726 { echo "$as_me:$LINENO: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
30727 echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
30731 PANGOXFT_CFLAGS
=$pkg_cv_PANGOXFT_CFLAGS
30732 PANGOXFT_LIBS
=$pkg_cv_PANGOXFT_LIBS
30733 { echo "$as_me:$LINENO: result: yes" >&5
30734 echo "${ECHO_T}yes" >&6; }
30736 cat >>confdefs.h
<<\_ACEOF
30737 #define HAVE_PANGO_XFT 1
30740 CFLAGS
="$PANGOXFT_CFLAGS $CFLAGS"
30741 CXXFLAGS
="$PANGOXFT_CFLAGS $CXXFLAGS"
30742 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $PANGOXFT_LIBS"
30746 LIBS
="$LIBS $PANGOX_LIBS"
30748 for ac_func
in pango_font_family_is_monospace
30750 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30751 { echo "$as_me:$LINENO: checking for $ac_func" >&5
30752 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
30753 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
30754 echo $ECHO_N "(cached) $ECHO_C" >&6
30756 cat >conftest.
$ac_ext <<_ACEOF
30759 cat confdefs.h
>>conftest.
$ac_ext
30760 cat >>conftest.
$ac_ext <<_ACEOF
30761 /* end confdefs.h. */
30762 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
30763 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30764 #define $ac_func innocuous_$ac_func
30766 /* System header to define __stub macros and hopefully few prototypes,
30767 which can conflict with char $ac_func (); below.
30768 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30769 <limits.h> exists even on freestanding compilers. */
30772 # include <limits.h>
30774 # include <assert.h>
30779 /* Override any GCC internal prototype to avoid an error.
30780 Use char because int might match the return type of a GCC
30781 builtin and then its argument prototype would still apply. */
30786 /* The GNU C library defines this for functions which it implements
30787 to always fail with ENOSYS. Some functions are actually named
30788 something starting with __ and the normal name is an alias. */
30789 #if defined __stub_$ac_func || defined __stub___$ac_func
30796 return $ac_func ();
30801 rm -f conftest.
$ac_objext conftest
$ac_exeext
30802 if { (ac_try
="$ac_link"
30803 case "(($ac_try" in
30804 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
30805 *) ac_try_echo=$ac_try;;
30807 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30808 (eval "$ac_link") 2>conftest.er1
30810 grep -v '^ *+' conftest.er1 >conftest.err
30812 cat conftest.err >&5
30813 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30814 (exit $ac_status); } && {
30815 test -z "$ac_c_werror_flag" ||
30816 test ! -s conftest.err
30817 } && test -s conftest$ac_exeext &&
30818 $as_test_x conftest$ac_exeext; then
30819 eval "$as_ac_var=yes"
30821 echo "$as_me: failed program was:" >&5
30822 sed 's/^/| /' conftest.$ac_ext >&5
30824 eval "$as_ac_var=no"
30827 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30828 conftest$ac_exeext conftest.$ac_ext
30830 ac_res=`eval echo '${'$as_ac_var'}'`
30831 { echo "$as_me:$LINENO: result: $ac_res" >&5
30832 echo "${ECHO_T}$ac_res" >&6; }
30833 if test `eval echo '${'$as_ac_var'}'` = yes; then
30834 cat >>confdefs.h <<_ACEOF
30835 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30844 wxUSE_UNIVERSAL="yes"
30846 if test "$wxUSE_NANOX" = "yes"; then
30847 TOOLKIT_INCLUDE="-I\$(top_srcdir)/include/wx/x11/nanox -I\$(MICROWIN)/src/include $TOOLKIT_INCLUDE"
30848 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"
30849 GUI_TK_LIBRARY="$GUI_TK_LIBRARY \$(MICROWIN)/src/lib/libnano-X.a"
30851 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lX11"
30858 if test "$wxUSE_MOTIF" = 1; then
30859 if test "$wxUSE_UNICODE" = "yes"; then
30860 { { echo "$as_me:$LINENO: error: Unicode configuration not supported with Motif" >&5
30861 echo "$as_me: error: Unicode configuration not supported with Motif" >&2;}
30862 { (exit 1); exit 1; }; }
30865 { echo "$as_me:$LINENO: checking for Motif/Lesstif headers" >&5
30866 echo $ECHO_N "checking for Motif/Lesstif headers... $ECHO_C" >&6; }
30869 for ac_dir in $SEARCH_INCLUDE /usr/include;
30871 if test -f "$ac_dir/Xm/Xm.h"; then
30872 ac_find_includes=$ac_dir
30877 if test "$ac_find_includes" != "" ; then
30878 { echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
30879 echo "${ECHO_T}found in $ac_find_includes" >&6; }
30881 if test "x$ac_find_includes" = "x/usr/include"; then
30882 ac_path_to_include=""
30884 echo "$TOOLKIT_INCLUDE" | grep "\-I$ac_find_includes" > /dev/null
30886 if test $result = 0; then
30887 ac_path_to_include=""
30889 ac_path_to_include=" -I$ac_find_includes"
30893 TOOLKIT_INCLUDE="$TOOLKIT_INCLUDE$ac_path_to_include"
30895 save_CFLAGS=$CFLAGS
30896 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
30898 cat >conftest.$ac_ext <<_ACEOF
30901 cat confdefs.h >>conftest.$ac_ext
30902 cat >>conftest.$ac_ext <<_ACEOF
30903 /* end confdefs.h. */
30912 version = xmUseVersion;
30918 rm -f conftest.$ac_objext
30919 if { (ac_try="$ac_compile"
30920 case "(($ac_try" in
30921 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
30922 *) ac_try_echo
=$ac_try;;
30924 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30925 (eval "$ac_compile") 2>conftest.er1
30927 grep -v '^ *+' conftest.er1
>conftest.err
30929 cat conftest.err
>&5
30930 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30931 (exit $ac_status); } && {
30932 test -z "$ac_c_werror_flag" ||
30933 test ! -s conftest.err
30934 } && test -s conftest.
$ac_objext; then
30936 { echo "$as_me:$LINENO: result: found in default search path" >&5
30937 echo "${ECHO_T}found in default search path" >&6; }
30938 COMPILED_X_PROGRAM
=1
30941 echo "$as_me: failed program was:" >&5
30942 sed 's/^/| /' conftest.
$ac_ext >&5
30945 { echo "$as_me:$LINENO: result: no" >&5
30946 echo "${ECHO_T}no" >&6; }
30947 { { echo "$as_me:$LINENO: error: please set CPPFLAGS to contain the location of Xm/Xm.h" >&5
30948 echo "$as_me: error: please set CPPFLAGS to contain the location of Xm/Xm.h" >&2;}
30949 { (exit 1); exit 1; }; }
30954 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
30956 CFLAGS
=$save_CFLAGS
30960 { echo "$as_me:$LINENO: checking for Motif/Lesstif library" >&5
30961 echo $ECHO_N "checking for Motif/Lesstif library... $ECHO_C" >&6; }
30964 for ac_dir
in $SEARCH_LIB;
30966 for ac_extension
in a so sl dylib dll.a
; do
30967 if test -f "$ac_dir/libXm.$ac_extension"; then
30968 ac_find_libraries
=$ac_dir
30975 if test "x$ac_find_libraries" != "x" ; then
30976 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
30977 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
30980 if test "$ac_find_libraries" = "default location"; then
30983 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev
/null
30985 if test $result = 0; then
30988 ac_path_to_link
=" -L$ac_find_libraries"
30992 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY$ac_path_to_link"
30994 save_CFLAGS
=$CFLAGS
30995 CFLAGS
="$TOOLKIT_INCLUDE $CFLAGS"
30997 LIBS
="$GUI_TK_LIBRARY -lXm -lXmu -lXext -lX11"
30999 cat >conftest.
$ac_ext <<_ACEOF
31002 cat confdefs.h
>>conftest.
$ac_ext
31003 cat >>conftest.
$ac_ext <<_ACEOF
31004 /* end confdefs.h. */
31013 version = xmUseVersion;
31019 rm -f conftest.
$ac_objext conftest
$ac_exeext
31020 if { (ac_try
="$ac_link"
31021 case "(($ac_try" in
31022 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
31023 *) ac_try_echo=$ac_try;;
31025 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31026 (eval "$ac_link") 2>conftest.er1
31028 grep -v '^ *+' conftest.er1 >conftest.err
31030 cat conftest.err >&5
31031 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31032 (exit $ac_status); } && {
31033 test -z "$ac_c_werror_flag" ||
31034 test ! -s conftest.err
31035 } && test -s conftest$ac_exeext &&
31036 $as_test_x conftest$ac_exeext; then
31038 { echo "$as_me:$LINENO: result: found in default search path" >&5
31039 echo "${ECHO_T}found in default search path" >&6; }
31040 COMPILED_X_PROGRAM=1
31043 echo "$as_me: failed program was:" >&5
31044 sed 's/^/| /' conftest.$ac_ext >&5
31047 { echo "$as_me:$LINENO: result: no" >&5
31048 echo "${ECHO_T}no" >&6; }
31049 { { echo "$as_me:$LINENO: error: please set LDFLAGS to contain the location of libXm" >&5
31050 echo "$as_me: error: please set LDFLAGS to contain the location of libXm" >&2;}
31051 { (exit 1); exit 1; }; }
31056 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31057 conftest$ac_exeext conftest.$ac_ext
31059 CFLAGS=$save_CFLAGS
31063 { echo "$as_me:$LINENO: checking if we need -lXp and/or -lSM -lICE" >&5
31064 echo $ECHO_N "checking if we need -lXp and/or -lSM -lICE... $ECHO_C" >&6; }
31068 for libp in "" " -lXp"; do
31069 if test "$libs_found" = "0"; then
31070 for libsm_ice in "" " -lSM -lICE"; do
31071 if test "$libs_found" = "0"; then
31073 LIBS="$GUI_TK_LIBRARY -lXm ${libp} -lXmu -lXext -lXt${libsm_ice} -lX11"
31074 save_CFLAGS=$CFLAGS
31075 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
31077 cat >conftest.$ac_ext <<_ACEOF
31080 cat confdefs.h >>conftest.$ac_ext
31081 cat >>conftest.$ac_ext <<_ACEOF
31082 /* end confdefs.h. */
31085 #include <Xm/List.h>
31091 XmString string = NULL;
31094 XmListAddItem(w, string, position);
31100 rm -f conftest.$ac_objext conftest$ac_exeext
31101 if { (ac_try="$ac_link"
31102 case "(($ac_try" in
31103 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
31104 *) ac_try_echo
=$ac_try;;
31106 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31107 (eval "$ac_link") 2>conftest.er1
31109 grep -v '^ *+' conftest.er1
>conftest.err
31111 cat conftest.err
>&5
31112 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31113 (exit $ac_status); } && {
31114 test -z "$ac_c_werror_flag" ||
31115 test ! -s conftest.err
31116 } && test -s conftest
$ac_exeext &&
31117 $as_test_x conftest
$ac_exeext; then
31120 libsm_ice_link
="$libsm_ice"
31121 { echo "$as_me:$LINENO: result: need${libp_link}${libsm_ice_link}" >&5
31122 echo "${ECHO_T}need${libp_link}${libsm_ice_link}" >&6; }
31126 echo "$as_me: failed program was:" >&5
31127 sed 's/^/| /' conftest.
$ac_ext >&5
31133 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
31134 conftest
$ac_exeext conftest.
$ac_ext
31137 CFLAGS
=$save_CFLAGS
31143 if test "$libs_found" = "0"; then
31144 { echo "$as_me:$LINENO: result: can't find the right libraries" >&5
31145 echo "${ECHO_T}can't find the right libraries" >&6; }
31146 { { echo "$as_me:$LINENO: error: can't link a simple motif program" >&5
31147 echo "$as_me: error: can't link a simple motif program" >&2;}
31148 { (exit 1); exit 1; }; }
31151 { echo "$as_me:$LINENO: checking for SgCreateList in -lSgm" >&5
31152 echo $ECHO_N "checking for SgCreateList in -lSgm... $ECHO_C" >&6; }
31153 if test "${ac_cv_lib_Sgm_SgCreateList+set}" = set; then
31154 echo $ECHO_N "(cached) $ECHO_C" >&6
31156 ac_check_lib_save_LIBS
=$LIBS
31158 cat >conftest.
$ac_ext <<_ACEOF
31161 cat confdefs.h
>>conftest.
$ac_ext
31162 cat >>conftest.
$ac_ext <<_ACEOF
31163 /* end confdefs.h. */
31165 /* Override any GCC internal prototype to avoid an error.
31166 Use char because int might match the return type of a GCC
31167 builtin and then its argument prototype would still apply. */
31171 char SgCreateList ();
31175 return SgCreateList ();
31180 rm -f conftest.
$ac_objext conftest
$ac_exeext
31181 if { (ac_try
="$ac_link"
31182 case "(($ac_try" in
31183 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
31184 *) ac_try_echo=$ac_try;;
31186 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31187 (eval "$ac_link") 2>conftest.er1
31189 grep -v '^ *+' conftest.er1 >conftest.err
31191 cat conftest.err >&5
31192 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31193 (exit $ac_status); } && {
31194 test -z "$ac_c_werror_flag" ||
31195 test ! -s conftest.err
31196 } && test -s conftest$ac_exeext &&
31197 $as_test_x conftest$ac_exeext; then
31198 ac_cv_lib_Sgm_SgCreateList=yes
31200 echo "$as_me: failed program was:" >&5
31201 sed 's/^/| /' conftest.$ac_ext >&5
31203 ac_cv_lib_Sgm_SgCreateList=no
31206 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31207 conftest$ac_exeext conftest.$ac_ext
31208 LIBS=$ac_check_lib_save_LIBS
31210 { echo "$as_me:$LINENO: result: $ac_cv_lib_Sgm_SgCreateList" >&5
31211 echo "${ECHO_T}$ac_cv_lib_Sgm_SgCreateList" >&6; }
31212 if test $ac_cv_lib_Sgm_SgCreateList = yes; then
31213 libsgm_link=" -lSgm"
31217 save_CFLAGS=$CFLAGS
31218 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
31220 { echo "$as_me:$LINENO: checking for Motif 2" >&5
31221 echo $ECHO_N "checking for Motif 2... $ECHO_C" >&6; }
31222 if test "${wx_cv_lib_motif2+set}" = set; then
31223 echo $ECHO_N "(cached) $ECHO_C" >&6
31225 cat >conftest.$ac_ext <<_ACEOF
31228 cat confdefs.h >>conftest.$ac_ext
31229 cat >>conftest.$ac_ext <<_ACEOF
31230 /* end confdefs.h. */
31238 #if XmVersion < 2000
31246 rm -f conftest.$ac_objext
31247 if { (ac_try="$ac_compile"
31248 case "(($ac_try" in
31249 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
31250 *) ac_try_echo
=$ac_try;;
31252 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31253 (eval "$ac_compile") 2>conftest.er1
31255 grep -v '^ *+' conftest.er1
>conftest.err
31257 cat conftest.err
>&5
31258 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31259 (exit $ac_status); } && {
31260 test -z "$ac_c_werror_flag" ||
31261 test ! -s conftest.err
31262 } && test -s conftest.
$ac_objext; then
31263 wx_cv_lib_motif2
="yes"
31265 echo "$as_me: failed program was:" >&5
31266 sed 's/^/| /' conftest.
$ac_ext >&5
31268 wx_cv_lib_motif2
="no"
31271 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
31273 { echo "$as_me:$LINENO: result: $wx_cv_lib_motif2" >&5
31274 echo "${ECHO_T}$wx_cv_lib_motif2" >&6; }
31275 if test "$wx_cv_lib_motif2" = "yes"; then
31276 cat >>confdefs.h
<<\_ACEOF
31277 #define __WXMOTIF20__ 1
31281 cat >>confdefs.h
<<\_ACEOF
31282 #define __WXMOTIF20__ 0
31287 { echo "$as_me:$LINENO: checking whether Motif is Lesstif" >&5
31288 echo $ECHO_N "checking whether Motif is Lesstif... $ECHO_C" >&6; }
31289 if test "${wx_cv_lib_lesstif+set}" = set; then
31290 echo $ECHO_N "(cached) $ECHO_C" >&6
31292 cat >conftest.
$ac_ext <<_ACEOF
31295 cat confdefs.h
>>conftest.
$ac_ext
31296 cat >>conftest.
$ac_ext <<_ACEOF
31297 /* end confdefs.h. */
31305 #if !defined(LesstifVersion) || LesstifVersion <= 0
31313 rm -f conftest.
$ac_objext
31314 if { (ac_try
="$ac_compile"
31315 case "(($ac_try" in
31316 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
31317 *) ac_try_echo=$ac_try;;
31319 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31320 (eval "$ac_compile") 2>conftest.er1
31322 grep -v '^ *+' conftest.er1 >conftest.err
31324 cat conftest.err >&5
31325 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31326 (exit $ac_status); } && {
31327 test -z "$ac_c_werror_flag" ||
31328 test ! -s conftest.err
31329 } && test -s conftest.$ac_objext; then
31330 wx_cv_lib_lesstif="yes"
31332 echo "$as_me: failed program was:" >&5
31333 sed 's/^/| /' conftest.$ac_ext >&5
31335 wx_cv_lib_lesstif="no"
31338 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31341 { echo "$as_me:$LINENO: result: $wx_cv_lib_lesstif" >&5
31342 echo "${ECHO_T}$wx_cv_lib_lesstif" >&6; }
31343 if test "$wx_cv_lib_lesstif" = "yes"; then
31344 cat >>confdefs.h <<\_ACEOF
31345 #define __WXLESSTIF__ 1
31349 cat >>confdefs.h <<\_ACEOF
31350 #define __WXLESSTIF__ 0
31355 CFLAGS=$save_CFLAGS
31357 GUI_TK_LIBRARY="$GUI_TK_LIBRARY${libsgm_link} -lXm${libp_link} -lXmu -lXext -lXt${libsm_ice_link} -lX11"
31362 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
31363 if test "$wxUSE_LIBXPM" = "sys"; then
31364 { echo "$as_me:$LINENO: checking for Xpm library" >&5
31365 echo $ECHO_N "checking for Xpm library... $ECHO_C" >&6; }
31368 for ac_dir in $SEARCH_LIB;
31370 for ac_extension in a so sl dylib dll.a; do
31371 if test -f "$ac_dir/libXpm.$ac_extension"; then
31372 ac_find_libraries=$ac_dir
31378 if test "$ac_find_libraries" != "" ; then
31380 if test "$ac_find_libraries" = "default location"; then
31383 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
31385 if test $result = 0; then
31388 ac_path_to_link=" -L$ac_find_libraries"
31392 GUI_TK_LIBRARY="$GUI_TK_LIBRARY$ac_path_to_link"
31393 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
31394 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
31396 { echo "$as_me:$LINENO: checking for X11/xpm.h" >&5
31397 echo $ECHO_N "checking for X11/xpm.h... $ECHO_C" >&6; }
31398 if test "${wx_cv_x11_xpm_h+set}" = set; then
31399 echo $ECHO_N "(cached) $ECHO_C" >&6
31402 save_CFLAGS=$CFLAGS
31403 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
31405 cat >conftest.$ac_ext <<_ACEOF
31408 cat confdefs.h >>conftest.$ac_ext
31409 cat >>conftest.$ac_ext <<_ACEOF
31410 /* end confdefs.h. */
31412 #include <X11/xpm.h>
31419 version = XpmLibraryVersion();
31425 rm -f conftest.$ac_objext
31426 if { (ac_try="$ac_compile"
31427 case "(($ac_try" in
31428 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
31429 *) ac_try_echo
=$ac_try;;
31431 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31432 (eval "$ac_compile") 2>conftest.er1
31434 grep -v '^ *+' conftest.er1
>conftest.err
31436 cat conftest.err
>&5
31437 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31438 (exit $ac_status); } && {
31439 test -z "$ac_c_werror_flag" ||
31440 test ! -s conftest.err
31441 } && test -s conftest.
$ac_objext; then
31442 wx_cv_x11_xpm_h
=yes
31444 echo "$as_me: failed program was:" >&5
31445 sed 's/^/| /' conftest.
$ac_ext >&5
31451 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
31453 CFLAGS
=$save_CFLAGS
31457 { echo "$as_me:$LINENO: result: $wx_cv_x11_xpm_h" >&5
31458 echo "${ECHO_T}$wx_cv_x11_xpm_h" >&6; }
31460 if test $wx_cv_x11_xpm_h = "yes"; then
31461 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lXpm"
31462 cat >>confdefs.h
<<\_ACEOF
31463 #define wxHAVE_LIB_XPM 1
31467 { echo "$as_me:$LINENO: WARNING: built-in less efficient XPM decoder will be used" >&5
31468 echo "$as_me: WARNING: built-in less efficient XPM decoder will be used" >&2;}
31474 { echo "$as_me:$LINENO: checking for XShapeQueryExtension in -lXext" >&5
31475 echo $ECHO_N "checking for XShapeQueryExtension in -lXext... $ECHO_C" >&6; }
31476 if test "${ac_cv_lib_Xext_XShapeQueryExtension+set}" = set; then
31477 echo $ECHO_N "(cached) $ECHO_C" >&6
31479 ac_check_lib_save_LIBS
=$LIBS
31480 LIBS
="-lXext $GUI_TK_LIBRARY -lX11 $LIBS"
31481 cat >conftest.
$ac_ext <<_ACEOF
31484 cat confdefs.h
>>conftest.
$ac_ext
31485 cat >>conftest.
$ac_ext <<_ACEOF
31486 /* end confdefs.h. */
31488 /* Override any GCC internal prototype to avoid an error.
31489 Use char because int might match the return type of a GCC
31490 builtin and then its argument prototype would still apply. */
31494 char XShapeQueryExtension ();
31498 return XShapeQueryExtension ();
31503 rm -f conftest.
$ac_objext conftest
$ac_exeext
31504 if { (ac_try
="$ac_link"
31505 case "(($ac_try" in
31506 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
31507 *) ac_try_echo=$ac_try;;
31509 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31510 (eval "$ac_link") 2>conftest.er1
31512 grep -v '^ *+' conftest.er1 >conftest.err
31514 cat conftest.err >&5
31515 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31516 (exit $ac_status); } && {
31517 test -z "$ac_c_werror_flag" ||
31518 test ! -s conftest.err
31519 } && test -s conftest$ac_exeext &&
31520 $as_test_x conftest$ac_exeext; then
31521 ac_cv_lib_Xext_XShapeQueryExtension=yes
31523 echo "$as_me: failed program was:" >&5
31524 sed 's/^/| /' conftest.$ac_ext >&5
31526 ac_cv_lib_Xext_XShapeQueryExtension=no
31529 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31530 conftest$ac_exeext conftest.$ac_ext
31531 LIBS=$ac_check_lib_save_LIBS
31533 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
31534 echo "${ECHO_T}$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
31535 if test $ac_cv_lib_Xext_XShapeQueryExtension = yes; then
31537 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXext"
31543 if test "$wxHAVE_XEXT_LIB" = 1; then
31544 save_CFLAGS="$CFLAGS"
31545 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
31547 { echo "$as_me:$LINENO: checking for X11/extensions/shape.h" >&5
31548 echo $ECHO_N "checking for X11/extensions/shape.h... $ECHO_C" >&6; }
31549 cat >conftest.$ac_ext <<_ACEOF
31552 cat confdefs.h >>conftest.$ac_ext
31553 cat >>conftest.$ac_ext <<_ACEOF
31554 /* end confdefs.h. */
31556 #include <X11/Xlib.h>
31557 #include <X11/extensions/shape.h>
31563 int dummy1, dummy2;
31564 XShapeQueryExtension((Display*)NULL,
31565 (int*)NULL, (int*)NULL);
31571 rm -f conftest.$ac_objext
31572 if { (ac_try="$ac_compile"
31573 case "(($ac_try" in
31574 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
31575 *) ac_try_echo
=$ac_try;;
31577 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31578 (eval "$ac_compile") 2>conftest.er1
31580 grep -v '^ *+' conftest.er1
>conftest.err
31582 cat conftest.err
>&5
31583 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31584 (exit $ac_status); } && {
31585 test -z "$ac_c_werror_flag" ||
31586 test ! -s conftest.err
31587 } && test -s conftest.
$ac_objext; then
31589 cat >>confdefs.h
<<\_ACEOF
31590 #define HAVE_XSHAPE 1
31593 { echo "$as_me:$LINENO: result: found" >&5
31594 echo "${ECHO_T}found" >&6; }
31597 echo "$as_me: failed program was:" >&5
31598 sed 's/^/| /' conftest.
$ac_ext >&5
31601 { echo "$as_me:$LINENO: result: not found" >&5
31602 echo "${ECHO_T}not found" >&6; }
31606 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
31607 CFLAGS
="$save_CFLAGS"
31612 if test "$wxUSE_MAC" = 1; then
31613 { echo "$as_me:$LINENO: checking for compiler syntax to enable Pascal strings" >&5
31614 echo $ECHO_N "checking for compiler syntax to enable Pascal strings... $ECHO_C" >&6; }
31615 if test "$GCC" = yes; then
31616 { echo "$as_me:$LINENO: result: gcc" >&5
31617 echo "${ECHO_T}gcc" >&6; }
31618 CPPFLAGS_PASCAL
="-fpascal-strings"
31619 elif test "`echo $CXX | sed -e 's@.*/@@'`" = "xlC"; then
31620 { echo "$as_me:$LINENO: result: xlc" >&5
31621 echo "${ECHO_T}xlc" >&6; }
31622 CPPFLAGS_PASCAL
="-qmacpstr"
31624 { echo "$as_me:$LINENO: result: none" >&5
31625 echo "${ECHO_T}none" >&6; }
31628 if test "x$wxUSE_UNIX" = "xyes"; then
31629 CPPFLAGS
="$CPPFLAGS_PASCAL -I\${top_srcdir}/src/mac/carbon/morefilex -I/Developer/Headers/FlatCarbon $CPPFLAGS"
31631 CPPFLAGS
="$CPPFLAGS_PASCAL -I\${top_srcdir}/src/mac/carbon/morefilex -DTARGET_CARBON $CPPFLAGS"
31636 WXBASEPORT
="_carbon"
31639 if test "$wxUSE_COCOA" = 1; then
31644 if test "$wxUSE_PM" = 1; then
31647 { echo "$as_me:$LINENO: checking for type SPBCDATA" >&5
31648 echo $ECHO_N "checking for type SPBCDATA... $ECHO_C" >&6; }
31649 if test "${wx_cv_spbcdata+set}" = set; then
31650 echo $ECHO_N "(cached) $ECHO_C" >&6
31653 cat >conftest.
$ac_ext <<_ACEOF
31656 cat confdefs.h
>>conftest.
$ac_ext
31657 cat >>conftest.
$ac_ext <<_ACEOF
31658 /* end confdefs.h. */
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
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
31703 { echo "$as_me:$LINENO: result: $wx_cv_spbcdata" >&5
31704 echo "${ECHO_T}$wx_cv_spbcdata" >&6; }
31706 if test $wx_cv_spbcdata = "yes"; then
31707 cat >>confdefs.h <<\_ACEOF
31708 #define HAVE_SPBCDATA 1
31714 if test "$TOOLKIT" = "PM" ; then
31717 TOOLKIT_DIR=`echo ${TOOLKIT} | tr "[A-Z]" "[a-z]"`
31720 if test "$wxUSE_UNIVERSAL" = "yes"; then
31721 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXUNIVERSAL__"
31725 GUIDIST="${GUIDIST} SAMPLES_DIST DEMOS_DIST UTILS_DIST MISC_DIST"
31726 DISTDIR="wx\$(TOOLKIT)"
31732 if test "$USE_WIN32" = 1 ; then
31736 GUIDIST="BASE_DIST"
31742 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_UTF8" = "auto" ; then
31743 if test "$TOOLKIT" = "DFB" ; then
31744 wxUSE_UNICODE_UTF8=yes
31745 elif test "$TOOLKIT" = "GTK" -a "$WXGTK20" = "1" ; then
31746 wxUSE_UNICODE_UTF8=yes
31748 wxUSE_UNICODE_UTF8=no
31753 if test "$wxUSE_GUI" = "yes"; then
31754 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_PM" != 1; then
31755 { echo "$as_me:$LINENO: checking for X11/Xlib.h" >&5
31756 echo $ECHO_N "checking for X11/Xlib.h... $ECHO_C" >&6; }
31757 if test "${ac_cv_header_X11_Xlib_h+set}" = set; then
31758 echo $ECHO_N "(cached) $ECHO_C" >&6
31760 cat >conftest.$ac_ext <<_ACEOF
31763 cat confdefs.h >>conftest.$ac_ext
31764 cat >>conftest.$ac_ext <<_ACEOF
31765 /* end confdefs.h. */
31768 #include <X11/Xlib.h>
31770 rm -f conftest.$ac_objext
31771 if { (ac_try="$ac_compile"
31772 case "(($ac_try" in
31773 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
31774 *) ac_try_echo
=$ac_try;;
31776 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31777 (eval "$ac_compile") 2>conftest.er1
31779 grep -v '^ *+' conftest.er1
>conftest.err
31781 cat conftest.err
>&5
31782 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31783 (exit $ac_status); } && {
31784 test -z "$ac_c_werror_flag" ||
31785 test ! -s conftest.err
31786 } && test -s conftest.
$ac_objext; then
31787 ac_cv_header_X11_Xlib_h
=yes
31789 echo "$as_me: failed program was:" >&5
31790 sed 's/^/| /' conftest.
$ac_ext >&5
31792 ac_cv_header_X11_Xlib_h
=no
31795 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
31797 { echo "$as_me:$LINENO: result: $ac_cv_header_X11_Xlib_h" >&5
31798 echo "${ECHO_T}$ac_cv_header_X11_Xlib_h" >&6; }
31801 { echo "$as_me:$LINENO: checking for X11/XKBlib.h" >&5
31802 echo $ECHO_N "checking for X11/XKBlib.h... $ECHO_C" >&6; }
31803 if test "${ac_cv_header_X11_XKBlib_h+set}" = set; then
31804 echo $ECHO_N "(cached) $ECHO_C" >&6
31806 cat >conftest.
$ac_ext <<_ACEOF
31809 cat confdefs.h
>>conftest.
$ac_ext
31810 cat >>conftest.
$ac_ext <<_ACEOF
31811 /* end confdefs.h. */
31813 #if HAVE_X11_XLIB_H
31814 #include <X11/Xlib.h>
31818 #include <X11/XKBlib.h>
31820 rm -f conftest.
$ac_objext
31821 if { (ac_try
="$ac_compile"
31822 case "(($ac_try" in
31823 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
31824 *) ac_try_echo=$ac_try;;
31826 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31827 (eval "$ac_compile") 2>conftest.er1
31829 grep -v '^ *+' conftest.er1 >conftest.err
31831 cat conftest.err >&5
31832 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31833 (exit $ac_status); } && {
31834 test -z "$ac_c_werror_flag" ||
31835 test ! -s conftest.err
31836 } && test -s conftest.$ac_objext; then
31837 ac_cv_header_X11_XKBlib_h=yes
31839 echo "$as_me: failed program was:" >&5
31840 sed 's/^/| /' conftest.$ac_ext >&5
31842 ac_cv_header_X11_XKBlib_h=no
31845 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31847 { echo "$as_me:$LINENO: result: $ac_cv_header_X11_XKBlib_h" >&5
31848 echo "${ECHO_T}$ac_cv_header_X11_XKBlib_h" >&6; }
31859 if test "$TOOLKIT" != "MSW" ; then
31861 if test "$wxUSE_ODBC" = "sys" -o "$wxUSE_ODBC" = "yes" ; then
31863 { echo "$as_me:$LINENO: checking for sql.h" >&5
31864 echo $ECHO_N "checking for sql.h... $ECHO_C" >&6; }
31865 if test "${ac_cv_header_sql_h+set}" = set; then
31866 echo $ECHO_N "(cached) $ECHO_C" >&6
31868 cat >conftest.$ac_ext <<_ACEOF
31871 cat confdefs.h >>conftest.$ac_ext
31872 cat >>conftest.$ac_ext <<_ACEOF
31873 /* end confdefs.h. */
31878 rm -f conftest.$ac_objext
31879 if { (ac_try="$ac_compile"
31880 case "(($ac_try" in
31881 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
31882 *) ac_try_echo
=$ac_try;;
31884 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31885 (eval "$ac_compile") 2>conftest.er1
31887 grep -v '^ *+' conftest.er1
>conftest.err
31889 cat conftest.err
>&5
31890 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31891 (exit $ac_status); } && {
31892 test -z "$ac_c_werror_flag" ||
31893 test ! -s conftest.err
31894 } && test -s conftest.
$ac_objext; then
31895 ac_cv_header_sql_h
=yes
31897 echo "$as_me: failed program was:" >&5
31898 sed 's/^/| /' conftest.
$ac_ext >&5
31900 ac_cv_header_sql_h
=no
31903 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
31905 { echo "$as_me:$LINENO: result: $ac_cv_header_sql_h" >&5
31906 echo "${ECHO_T}$ac_cv_header_sql_h" >&6; }
31907 if test $ac_cv_header_sql_h = yes; then
31912 if test "x$found_sql_h" = "x1" ; then
31913 { echo "$as_me:$LINENO: checking for SQLAllocEnv in -liodbc" >&5
31914 echo $ECHO_N "checking for SQLAllocEnv in -liodbc... $ECHO_C" >&6; }
31915 if test "${ac_cv_lib_iodbc_SQLAllocEnv+set}" = set; then
31916 echo $ECHO_N "(cached) $ECHO_C" >&6
31918 ac_check_lib_save_LIBS
=$LIBS
31919 LIBS
="-liodbc $LIBS"
31920 cat >conftest.
$ac_ext <<_ACEOF
31923 cat confdefs.h
>>conftest.
$ac_ext
31924 cat >>conftest.
$ac_ext <<_ACEOF
31925 /* end confdefs.h. */
31927 /* Override any GCC internal prototype to avoid an error.
31928 Use char because int might match the return type of a GCC
31929 builtin and then its argument prototype would still apply. */
31933 char SQLAllocEnv ();
31937 return SQLAllocEnv ();
31942 rm -f conftest.
$ac_objext conftest
$ac_exeext
31943 if { (ac_try
="$ac_link"
31944 case "(($ac_try" in
31945 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
31946 *) ac_try_echo=$ac_try;;
31948 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31949 (eval "$ac_link") 2>conftest.er1
31951 grep -v '^ *+' conftest.er1 >conftest.err
31953 cat conftest.err >&5
31954 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31955 (exit $ac_status); } && {
31956 test -z "$ac_c_werror_flag" ||
31957 test ! -s conftest.err
31958 } && test -s conftest$ac_exeext &&
31959 $as_test_x conftest$ac_exeext; then
31960 ac_cv_lib_iodbc_SQLAllocEnv=yes
31962 echo "$as_me: failed program was:" >&5
31963 sed 's/^/| /' conftest.$ac_ext >&5
31965 ac_cv_lib_iodbc_SQLAllocEnv=no
31968 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31969 conftest$ac_exeext conftest.$ac_ext
31970 LIBS=$ac_check_lib_save_LIBS
31972 { echo "$as_me:$LINENO: result: $ac_cv_lib_iodbc_SQLAllocEnv" >&5
31973 echo "${ECHO_T}$ac_cv_lib_iodbc_SQLAllocEnv" >&6; }
31974 if test $ac_cv_lib_iodbc_SQLAllocEnv = yes; then
31975 ODBC_LINK=" -liodbc"
31978 { echo "$as_me:$LINENO: checking for SQLAllocEnv in -lunixodbc" >&5
31979 echo $ECHO_N "checking for SQLAllocEnv in -lunixodbc... $ECHO_C" >&6; }
31980 if test "${ac_cv_lib_unixodbc_SQLAllocEnv+set}" = set; then
31981 echo $ECHO_N "(cached) $ECHO_C" >&6
31983 ac_check_lib_save_LIBS=$LIBS
31984 LIBS="-lunixodbc $LIBS"
31985 cat >conftest.$ac_ext <<_ACEOF
31988 cat confdefs.h >>conftest.$ac_ext
31989 cat >>conftest.$ac_ext <<_ACEOF
31990 /* end confdefs.h. */
31992 /* Override any GCC internal prototype to avoid an error.
31993 Use char because int might match the return type of a GCC
31994 builtin and then its argument prototype would still apply. */
31998 char SQLAllocEnv ();
32002 return SQLAllocEnv ();
32007 rm -f conftest.$ac_objext conftest$ac_exeext
32008 if { (ac_try="$ac_link"
32009 case "(($ac_try" in
32010 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
32011 *) ac_try_echo
=$ac_try;;
32013 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32014 (eval "$ac_link") 2>conftest.er1
32016 grep -v '^ *+' conftest.er1
>conftest.err
32018 cat conftest.err
>&5
32019 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32020 (exit $ac_status); } && {
32021 test -z "$ac_c_werror_flag" ||
32022 test ! -s conftest.err
32023 } && test -s conftest
$ac_exeext &&
32024 $as_test_x conftest
$ac_exeext; then
32025 ac_cv_lib_unixodbc_SQLAllocEnv
=yes
32027 echo "$as_me: failed program was:" >&5
32028 sed 's/^/| /' conftest.
$ac_ext >&5
32030 ac_cv_lib_unixodbc_SQLAllocEnv
=no
32033 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
32034 conftest
$ac_exeext conftest.
$ac_ext
32035 LIBS
=$ac_check_lib_save_LIBS
32037 { echo "$as_me:$LINENO: result: $ac_cv_lib_unixodbc_SQLAllocEnv" >&5
32038 echo "${ECHO_T}$ac_cv_lib_unixodbc_SQLAllocEnv" >&6; }
32039 if test $ac_cv_lib_unixodbc_SQLAllocEnv = yes; then
32040 ODBC_LINK
=" -lunixodbc"
32043 { echo "$as_me:$LINENO: checking for SQLAllocEnv in -lodbc" >&5
32044 echo $ECHO_N "checking for SQLAllocEnv in -lodbc... $ECHO_C" >&6; }
32045 if test "${ac_cv_lib_odbc_SQLAllocEnv+set}" = set; then
32046 echo $ECHO_N "(cached) $ECHO_C" >&6
32048 ac_check_lib_save_LIBS
=$LIBS
32049 LIBS
="-lodbc $LIBS"
32050 cat >conftest.
$ac_ext <<_ACEOF
32053 cat confdefs.h
>>conftest.
$ac_ext
32054 cat >>conftest.
$ac_ext <<_ACEOF
32055 /* end confdefs.h. */
32057 /* Override any GCC internal prototype to avoid an error.
32058 Use char because int might match the return type of a GCC
32059 builtin and then its argument prototype would still apply. */
32063 char SQLAllocEnv ();
32067 return SQLAllocEnv ();
32072 rm -f conftest.
$ac_objext conftest
$ac_exeext
32073 if { (ac_try
="$ac_link"
32074 case "(($ac_try" in
32075 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
32076 *) ac_try_echo=$ac_try;;
32078 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32079 (eval "$ac_link") 2>conftest.er1
32081 grep -v '^ *+' conftest.er1 >conftest.err
32083 cat conftest.err >&5
32084 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32085 (exit $ac_status); } && {
32086 test -z "$ac_c_werror_flag" ||
32087 test ! -s conftest.err
32088 } && test -s conftest$ac_exeext &&
32089 $as_test_x conftest$ac_exeext; then
32090 ac_cv_lib_odbc_SQLAllocEnv=yes
32092 echo "$as_me: failed program was:" >&5
32093 sed 's/^/| /' conftest.$ac_ext >&5
32095 ac_cv_lib_odbc_SQLAllocEnv=no
32098 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32099 conftest$ac_exeext conftest.$ac_ext
32100 LIBS=$ac_check_lib_save_LIBS
32102 { echo "$as_me:$LINENO: result: $ac_cv_lib_odbc_SQLAllocEnv" >&5
32103 echo "${ECHO_T}$ac_cv_lib_odbc_SQLAllocEnv" >&6; }
32104 if test $ac_cv_lib_odbc_SQLAllocEnv = yes; then
32105 ODBC_LINK=" -lodbc"
32115 if test "x$ODBC_LINK" = "x" ; then
32116 if test "$wxUSE_ODBC" = "sys" ; then
32117 { { echo "$as_me:$LINENO: error: system ODBC library not found! Use --with-odbc=builtin to use built-in version" >&5
32118 echo "$as_me: error: system ODBC library not found! Use --with-odbc=builtin to use built-in version" >&2;}
32119 { (exit 1); exit 1; }; }
32121 { echo "$as_me:$LINENO: WARNING: system ODBC library not found, will use built-in instead" >&5
32122 echo "$as_me: WARNING: system ODBC library not found, will use built-in instead" >&2;}
32130 if test "$wxUSE_ODBC" = "builtin" ; then
32131 cat >>confdefs.h <<\_ACEOF
32132 #define wxUSE_BUILTIN_IODBC 1
32138 if test "$wxUSE_ODBC" != "no" ; then
32139 cat >>confdefs.h <<\_ACEOF
32140 #define wxUSE_ODBC 1
32143 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS db"
32145 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_IODBC_"
32149 if test "$wxUSE_DISPLAY" = "yes"; then
32150 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1; then
32151 { echo "$as_me:$LINENO: checking for Xinerama" >&5
32152 echo $ECHO_N "checking for Xinerama... $ECHO_C" >&6; }
32155 for ac_dir in $SEARCH_LIB;
32157 for ac_extension in a so sl dylib dll.a; do
32158 if test -f "$ac_dir/libXinerama.$ac_extension"; then
32159 ac_find_libraries=$ac_dir
32165 if test "$ac_find_libraries" != "" ; then
32167 if test "$ac_find_libraries" = "default location"; then
32170 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
32172 if test $result = 0; then
32175 ac_path_to_link=" -L$ac_find_libraries"
32179 if test "$ac_path_to_link" != " -L/usr/lib" ; then
32180 LDFLAGS="$LDFLAGS $ac_path_to_link"
32182 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXinerama"
32183 { echo "$as_me:$LINENO: result: yes" >&5
32184 echo "${ECHO_T}yes" >&6; }
32186 { echo "$as_me:$LINENO: checking for Xxf86vm extension" >&5
32187 echo $ECHO_N "checking for Xxf86vm extension... $ECHO_C" >&6; }
32190 for ac_dir in $SEARCH_LIB;
32192 for ac_extension in a so sl dylib dll.a; do
32193 if test -f "$ac_dir/libXxf86vm.$ac_extension"; then
32194 ac_find_libraries=$ac_dir
32200 if test "$ac_find_libraries" != "" ; then
32201 { echo "$as_me:$LINENO: result: yes" >&5
32202 echo "${ECHO_T}yes" >&6; }
32203 { echo "$as_me:$LINENO: checking for X11/extensions/xf86vmode.h" >&5
32204 echo $ECHO_N "checking for X11/extensions/xf86vmode.h... $ECHO_C" >&6; }
32205 if test "${ac_cv_header_X11_extensions_xf86vmode_h+set}" = set; then
32206 echo $ECHO_N "(cached) $ECHO_C" >&6
32208 cat >conftest.$ac_ext <<_ACEOF
32211 cat confdefs.h >>conftest.$ac_ext
32212 cat >>conftest.$ac_ext <<_ACEOF
32213 /* end confdefs.h. */
32215 #if HAVE_X11_XLIB_H
32216 #include <X11/Xlib.h>
32220 #include <X11/extensions/xf86vmode.h>
32222 rm -f conftest.$ac_objext
32223 if { (ac_try="$ac_compile"
32224 case "(($ac_try" in
32225 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
32226 *) ac_try_echo
=$ac_try;;
32228 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32229 (eval "$ac_compile") 2>conftest.er1
32231 grep -v '^ *+' conftest.er1
>conftest.err
32233 cat conftest.err
>&5
32234 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32235 (exit $ac_status); } && {
32236 test -z "$ac_c_werror_flag" ||
32237 test ! -s conftest.err
32238 } && test -s conftest.
$ac_objext; then
32239 ac_cv_header_X11_extensions_xf86vmode_h
=yes
32241 echo "$as_me: failed program was:" >&5
32242 sed 's/^/| /' conftest.
$ac_ext >&5
32244 ac_cv_header_X11_extensions_xf86vmode_h
=no
32247 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
32249 { echo "$as_me:$LINENO: result: $ac_cv_header_X11_extensions_xf86vmode_h" >&5
32250 echo "${ECHO_T}$ac_cv_header_X11_extensions_xf86vmode_h" >&6; }
32251 if test $ac_cv_header_X11_extensions_xf86vmode_h = yes; then
32253 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lXxf86vm"
32259 { echo "$as_me:$LINENO: result: no" >&5
32260 echo "${ECHO_T}no" >&6; }
32264 { echo "$as_me:$LINENO: result: no" >&5
32265 echo "${ECHO_T}no" >&6; }
32266 { echo "$as_me:$LINENO: WARNING: Xinerama not found; disabling wxDisplay" >&5
32267 echo "$as_me: WARNING: Xinerama not found; disabling wxDisplay" >&2;}
32270 elif test "$wxUSE_MSW" = 1; then
32271 { echo "$as_me:$LINENO: checking for ddraw.h" >&5
32272 echo $ECHO_N "checking for ddraw.h... $ECHO_C" >&6; }
32273 if test "${ac_cv_header_ddraw_h+set}" = set; then
32274 echo $ECHO_N "(cached) $ECHO_C" >&6
32276 cat >conftest.
$ac_ext <<_ACEOF
32279 cat confdefs.h
>>conftest.
$ac_ext
32280 cat >>conftest.
$ac_ext <<_ACEOF
32281 /* end confdefs.h. */
32282 #include <windows.h>
32286 rm -f conftest.
$ac_objext
32287 if { (ac_try
="$ac_compile"
32288 case "(($ac_try" in
32289 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
32290 *) ac_try_echo=$ac_try;;
32292 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32293 (eval "$ac_compile") 2>conftest.er1
32295 grep -v '^ *+' conftest.er1 >conftest.err
32297 cat conftest.err >&5
32298 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32299 (exit $ac_status); } && {
32300 test -z "$ac_c_werror_flag" ||
32301 test ! -s conftest.err
32302 } && test -s conftest.$ac_objext; then
32303 ac_cv_header_ddraw_h=yes
32305 echo "$as_me: failed program was:" >&5
32306 sed 's/^/| /' conftest.$ac_ext >&5
32308 ac_cv_header_ddraw_h=no
32311 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32313 { echo "$as_me:$LINENO: result: $ac_cv_header_ddraw_h" >&5
32314 echo "${ECHO_T}$ac_cv_header_ddraw_h" >&6; }
32320 if test "$wxUSE_DETECT_SM" = "yes"; then
32321 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1; then
32322 { echo "$as_me:$LINENO: checking for -lSM - X11 session management" >&5
32323 echo $ECHO_N "checking for -lSM - X11 session management... $ECHO_C" >&6; }
32326 for ac_dir in $SEARCH_LIB;
32328 for ac_extension in a so sl dylib dll.a; do
32329 if test -f "$ac_dir/libSM.$ac_extension"; then
32330 ac_find_libraries=$ac_dir
32336 if test "$ac_find_libraries" != "" ; then
32338 if test "$ac_find_libraries" = "default location"; then
32341 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
32343 if test $result = 0; then
32346 ac_path_to_link=" -L$ac_find_libraries"
32350 if test "$ac_path_to_link" != " -L/usr/lib" ; then
32351 LDFLAGS="$LDFLAGS $ac_path_to_link"
32353 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lSM"
32354 { echo "$as_me:$LINENO: result: yes" >&5
32355 echo "${ECHO_T}yes" >&6; }
32357 { echo "$as_me:$LINENO: result: no" >&5
32358 echo "${ECHO_T}no" >&6; }
32359 { echo "$as_me:$LINENO: WARNING: libSM not found; disabling session management detection" >&5
32360 echo "$as_me: WARNING: libSM not found; disabling session management detection" >&2;}
32361 wxUSE_DETECT_SM="no"
32364 wxUSE_DETECT_SM="no"
32371 if test "$wxUSE_OPENGL" = "yes"; then
32372 if test "$wxUSE_MGL" = 1 -o "$wxUSE_DFB" = "1"; then
32373 { echo "$as_me:$LINENO: WARNING: wxGLCanvas not implemented for this port, library will be compiled without it." >&5
32374 echo "$as_me: WARNING: wxGLCanvas not implemented for this port, library will be compiled without it." >&2;}
32376 elif test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = "1"; then
32377 OPENGL_LIBS="-framework OpenGL -framework AGL"
32378 elif test "$wxUSE_MSW" = 1; then
32379 OPENGL_LIBS="-lopengl32 -lglu32"
32381 { echo "$as_me:$LINENO: checking for OpenGL headers" >&5
32382 echo $ECHO_N "checking for OpenGL headers... $ECHO_C" >&6; }
32385 for ac_dir in $SEARCH_INCLUDE /opt/graphics/OpenGL/include /usr/include;
32387 if test -f "$ac_dir/GL/gl.h"; then
32388 ac_find_includes=$ac_dir
32393 if test "$ac_find_includes" != "" ; then
32394 { echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
32395 echo "${ECHO_T}found in $ac_find_includes" >&6; }
32397 if test "x$ac_find_includes" = "x/usr/include"; then
32398 ac_path_to_include=""
32400 echo "$CPPFLAGS" | grep "\-I$ac_find_includes" > /dev/null
32402 if test $result = 0; then
32403 ac_path_to_include=""
32405 ac_path_to_include=" -I$ac_find_includes"
32409 CPPFLAGS="$ac_path_to_include $CPPFLAGS"
32411 { echo "$as_me:$LINENO: result: not found" >&5
32412 echo "${ECHO_T}not found" >&6; }
32415 { echo "$as_me:$LINENO: checking for GL/gl.h" >&5
32416 echo $ECHO_N "checking for GL/gl.h... $ECHO_C" >&6; }
32417 if test "${ac_cv_header_GL_gl_h+set}" = set; then
32418 echo $ECHO_N "(cached) $ECHO_C" >&6
32420 cat >conftest.$ac_ext <<_ACEOF
32423 cat confdefs.h >>conftest.$ac_ext
32424 cat >>conftest.$ac_ext <<_ACEOF
32425 /* end confdefs.h. */
32430 rm -f conftest.$ac_objext
32431 if { (ac_try="$ac_compile"
32432 case "(($ac_try" in
32433 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
32434 *) ac_try_echo
=$ac_try;;
32436 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32437 (eval "$ac_compile") 2>conftest.er1
32439 grep -v '^ *+' conftest.er1
>conftest.err
32441 cat conftest.err
>&5
32442 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32443 (exit $ac_status); } && {
32444 test -z "$ac_c_werror_flag" ||
32445 test ! -s conftest.err
32446 } && test -s conftest.
$ac_objext; then
32447 ac_cv_header_GL_gl_h
=yes
32449 echo "$as_me: failed program was:" >&5
32450 sed 's/^/| /' conftest.
$ac_ext >&5
32452 ac_cv_header_GL_gl_h
=no
32455 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
32457 { echo "$as_me:$LINENO: result: $ac_cv_header_GL_gl_h" >&5
32458 echo "${ECHO_T}$ac_cv_header_GL_gl_h" >&6; }
32459 if test $ac_cv_header_GL_gl_h = yes; then
32461 if test "${ac_cv_header_GL_glu_h+set}" = set; then
32462 { echo "$as_me:$LINENO: checking for GL/glu.h" >&5
32463 echo $ECHO_N "checking for GL/glu.h... $ECHO_C" >&6; }
32464 if test "${ac_cv_header_GL_glu_h+set}" = set; then
32465 echo $ECHO_N "(cached) $ECHO_C" >&6
32467 { echo "$as_me:$LINENO: result: $ac_cv_header_GL_glu_h" >&5
32468 echo "${ECHO_T}$ac_cv_header_GL_glu_h" >&6; }
32470 # Is the header compilable?
32471 { echo "$as_me:$LINENO: checking GL/glu.h usability" >&5
32472 echo $ECHO_N "checking GL/glu.h usability... $ECHO_C" >&6; }
32473 cat >conftest.
$ac_ext <<_ACEOF
32476 cat confdefs.h
>>conftest.
$ac_ext
32477 cat >>conftest.
$ac_ext <<_ACEOF
32478 /* end confdefs.h. */
32479 $ac_includes_default
32480 #include <GL/glu.h>
32482 rm -f conftest.
$ac_objext
32483 if { (ac_try
="$ac_compile"
32484 case "(($ac_try" in
32485 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
32486 *) ac_try_echo=$ac_try;;
32488 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32489 (eval "$ac_compile") 2>conftest.er1
32491 grep -v '^ *+' conftest.er1 >conftest.err
32493 cat conftest.err >&5
32494 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32495 (exit $ac_status); } && {
32496 test -z "$ac_c_werror_flag" ||
32497 test ! -s conftest.err
32498 } && test -s conftest.$ac_objext; then
32499 ac_header_compiler=yes
32501 echo "$as_me: failed program was:" >&5
32502 sed 's/^/| /' conftest.$ac_ext >&5
32504 ac_header_compiler=no
32507 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32508 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
32509 echo "${ECHO_T}$ac_header_compiler" >&6; }
32511 # Is the header present?
32512 { echo "$as_me:$LINENO: checking GL/glu.h presence" >&5
32513 echo $ECHO_N "checking GL/glu.h presence... $ECHO_C" >&6; }
32514 cat >conftest.$ac_ext <<_ACEOF
32517 cat confdefs.h >>conftest.$ac_ext
32518 cat >>conftest.$ac_ext <<_ACEOF
32519 /* end confdefs.h. */
32520 #include <GL/glu.h>
32522 if { (ac_try="$ac_cpp conftest.$ac_ext"
32523 case "(($ac_try" in
32524 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
32525 *) ac_try_echo
=$ac_try;;
32527 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32528 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
32530 grep -v '^ *+' conftest.er1
>conftest.err
32532 cat conftest.err
>&5
32533 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32534 (exit $ac_status); } >/dev
/null
&& {
32535 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
32536 test ! -s conftest.err
32538 ac_header_preproc
=yes
32540 echo "$as_me: failed program was:" >&5
32541 sed 's/^/| /' conftest.
$ac_ext >&5
32543 ac_header_preproc
=no
32546 rm -f conftest.err conftest.
$ac_ext
32547 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
32548 echo "${ECHO_T}$ac_header_preproc" >&6; }
32550 # So? What about this header?
32551 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
32553 { echo "$as_me:$LINENO: WARNING: GL/glu.h: accepted by the compiler, rejected by the preprocessor!" >&5
32554 echo "$as_me: WARNING: GL/glu.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
32555 { echo "$as_me:$LINENO: WARNING: GL/glu.h: proceeding with the compiler's result" >&5
32556 echo "$as_me: WARNING: GL/glu.h: proceeding with the compiler's result" >&2;}
32557 ac_header_preproc
=yes
32560 { echo "$as_me:$LINENO: WARNING: GL/glu.h: present but cannot be compiled" >&5
32561 echo "$as_me: WARNING: GL/glu.h: present but cannot be compiled" >&2;}
32562 { echo "$as_me:$LINENO: WARNING: GL/glu.h: check for missing prerequisite headers?" >&5
32563 echo "$as_me: WARNING: GL/glu.h: check for missing prerequisite headers?" >&2;}
32564 { echo "$as_me:$LINENO: WARNING: GL/glu.h: see the Autoconf documentation" >&5
32565 echo "$as_me: WARNING: GL/glu.h: see the Autoconf documentation" >&2;}
32566 { echo "$as_me:$LINENO: WARNING: GL/glu.h: section \"Present But Cannot Be Compiled\"" >&5
32567 echo "$as_me: WARNING: GL/glu.h: section \"Present But Cannot Be Compiled\"" >&2;}
32568 { echo "$as_me:$LINENO: WARNING: GL/glu.h: proceeding with the preprocessor's result" >&5
32569 echo "$as_me: WARNING: GL/glu.h: proceeding with the preprocessor's result" >&2;}
32570 { echo "$as_me:$LINENO: WARNING: GL/glu.h: in the future, the compiler will take precedence" >&5
32571 echo "$as_me: WARNING: GL/glu.h: in the future, the compiler will take precedence" >&2;}
32573 ## ----------------------------------------- ##
32574 ## Report this to wx-dev@lists.wxwidgets.org ##
32575 ## ----------------------------------------- ##
32577 ) | sed "s/^/$as_me: WARNING: /" >&2
32580 { echo "$as_me:$LINENO: checking for GL/glu.h" >&5
32581 echo $ECHO_N "checking for GL/glu.h... $ECHO_C" >&6; }
32582 if test "${ac_cv_header_GL_glu_h+set}" = set; then
32583 echo $ECHO_N "(cached) $ECHO_C" >&6
32585 ac_cv_header_GL_glu_h
=$ac_header_preproc
32587 { echo "$as_me:$LINENO: result: $ac_cv_header_GL_glu_h" >&5
32588 echo "${ECHO_T}$ac_cv_header_GL_glu_h" >&6; }
32591 if test $ac_cv_header_GL_glu_h = yes; then
32595 { echo "$as_me:$LINENO: checking for -lGL" >&5
32596 echo $ECHO_N "checking for -lGL... $ECHO_C" >&6; }
32599 for ac_dir
in $SEARCH_LIB /opt
/graphics
/OpenGL
/lib
;
32601 for ac_extension
in a so sl dylib dll.a
; do
32602 if test -f "$ac_dir/libGL.$ac_extension"; then
32603 ac_find_libraries
=$ac_dir
32609 if test "$ac_find_libraries" != "" ; then
32610 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
32611 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
32614 if test "$ac_find_libraries" = "default location"; then
32617 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev
/null
32619 if test $result = 0; then
32622 ac_path_to_link
=" -L$ac_find_libraries"
32626 if test "$ac_path_to_link" != " -L/usr/lib" ; then
32627 LDFLAGS_GL
="$ac_path_to_link"
32630 { echo "$as_me:$LINENO: checking for -lGLU" >&5
32631 echo $ECHO_N "checking for -lGLU... $ECHO_C" >&6; }
32634 for ac_dir
in $SEARCH_LIB;
32636 for ac_extension
in a so sl dylib dll.a
; do
32637 if test -f "$ac_dir/libGLU.$ac_extension"; then
32638 ac_find_libraries
=$ac_dir
32644 if test "$ac_find_libraries" != "" ; then
32646 if test "$ac_find_libraries" = "default location"; then
32649 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev
/null
32651 if test $result = 0; then
32654 ac_path_to_link
=" -L$ac_find_libraries"
32658 if test "$ac_path_to_link" != " -L/usr/lib" -a \
32659 "$ac_path_to_link" != "$LDFLAGS_GL"; then
32660 LDFLAGS_GL
="$LDFLAGS_GL$ac_path_to_link"
32664 OPENGL_LIBS
="-lGL -lGLU"
32665 { echo "$as_me:$LINENO: result: yes" >&5
32666 echo "${ECHO_T}yes" >&6; }
32668 { echo "$as_me:$LINENO: result: no" >&5
32669 echo "${ECHO_T}no" >&6; }
32672 { echo "$as_me:$LINENO: result: no" >&5
32673 echo "${ECHO_T}no" >&6; }
32676 if test "$found_gl" != 1; then
32677 { echo "$as_me:$LINENO: checking for -lMesaGL" >&5
32678 echo $ECHO_N "checking for -lMesaGL... $ECHO_C" >&6; }
32681 for ac_dir
in $SEARCH_LIB;
32683 for ac_extension
in a so sl dylib dll.a
; do
32684 if test -f "$ac_dir/libMesaGL.$ac_extension"; then
32685 ac_find_libraries
=$ac_dir
32691 if test "$ac_find_libraries" != "" ; then
32693 if test "$ac_find_libraries" = "default location"; then
32696 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev
/null
32698 if test $result = 0; then
32701 ac_path_to_link
=" -L$ac_find_libraries"
32705 LDFLAGS_GL
="$LDFLAGS$ac_path_to_link"
32706 OPENGL_LIBS
="-lMesaGL -lMesaGLU"
32707 { echo "$as_me:$LINENO: result: yes" >&5
32708 echo "${ECHO_T}yes" >&6; }
32710 { echo "$as_me:$LINENO: result: no" >&5
32711 echo "${ECHO_T}no" >&6; }
32723 if test "x$OPENGL_LIBS" = "x"; then
32724 { { echo "$as_me:$LINENO: error: OpenGL libraries not available" >&5
32725 echo "$as_me: error: OpenGL libraries not available" >&2;}
32726 { (exit 1); exit 1; }; }
32730 if test "$wxUSE_OPENGL" = "yes"; then
32732 cat >>confdefs.h
<<\_ACEOF
32733 #define wxUSE_OPENGL 1
32736 cat >>confdefs.h
<<\_ACEOF
32737 #define wxUSE_GLCANVAS 1
32740 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS opengl opengl/cube opengl/penguin opengl/isosurf"
32745 if test -n "$TOOLKIT" ; then
32746 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WX${TOOLKIT}__"
32751 if test "$wxUSE_SHARED" = "yes"; then
32755 { echo "$as_me:$LINENO: WARNING: Host system doesn't support shared libraries, disabling" >&5
32756 echo "$as_me: WARNING: Host system doesn't support shared libraries, disabling" >&2;}
32761 if test "$wxUSE_SHARED" = "yes"; then
32765 *-*-cygwin* | *-*-mingw* )
32766 wx_cv_version_script
=no
32770 { echo "$as_me:$LINENO: checking if the linker accepts --version-script" >&5
32771 echo $ECHO_N "checking if the linker accepts --version-script... $ECHO_C" >&6; }
32772 if test "${wx_cv_version_script+set}" = set; then
32773 echo $ECHO_N "(cached) $ECHO_C" >&6
32776 echo "VER_1 { *; };" >conftest.sym
32777 echo "int main() { return 0; }" >conftest.cpp
32780 $CXX -o conftest.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
32781 -Wl,--version-script,conftest.sym >/dev/null 2>conftest.stderr'
32782 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32783 (eval $ac_try) 2>&5
32785 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32786 (exit $ac_status); }; } ; then
32787 if test -s conftest.stderr
; then
32788 wx_cv_version_script
=no
32790 wx_cv_version_script
=yes
32793 wx_cv_version_script
=no
32796 if test $wx_cv_version_script = yes
32798 echo "struct B { virtual ~B() { } }; \
32799 struct D : public B { }; \
32800 void F() { D d; }" > conftest.cpp
32803 $CXX -shared -fPIC -o conftest1.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
32804 -Wl,--version-script,conftest.sym >/dev/null 2>/dev/null'
32805 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32806 (eval $ac_try) 2>&5
32808 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32809 (exit $ac_status); }; } &&
32811 $CXX -shared -fPIC -o conftest2.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
32812 -Wl,--version-script,conftest.sym conftest1.output >/dev/null 2>/dev/null'
32813 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32814 (eval $ac_try) 2>&5
32816 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32817 (exit $ac_status); }; }
32820 $CXX -shared -fPIC -o conftest3.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
32821 -Wl,--version-script,conftest.sym conftest2.output conftest1.output >/dev/null 2>/dev/null'
32822 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32823 (eval $ac_try) 2>&5
32825 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32826 (exit $ac_status); }; }
32828 wx_cv_version_script
=yes
32830 wx_cv_version_script
=no
32835 rm -f conftest.output conftest.stderr conftest.sym conftest.cpp
32836 rm -f conftest1.output conftest2.output conftest3.output
32839 { echo "$as_me:$LINENO: result: $wx_cv_version_script" >&5
32840 echo "${ECHO_T}$wx_cv_version_script" >&6; }
32842 if test $wx_cv_version_script = yes ; then
32843 LDFLAGS_VERSIONING
="-Wl,--version-script,\$(wx_top_builddir)/version-script"
32850 *-*-linux* | *-*-gnu* )
32851 SAMPLES_RPATH_FLAG
="-Wl,-rpath,\$(wx_top_builddir)/lib"
32852 WXCONFIG_RPATH
="-Wl,-rpath,\$libdir"
32856 if test "$GCC" = yes ; then
32857 CPPFLAGS
="-isystem /usr/openwin/include $CPPFLAGS"
32859 saveLdflags
="$LDFLAGS"
32860 LDFLAGS
="$saveLdflags -Wl,-rpath,/"
32861 { echo "$as_me:$LINENO: checking if the linker accepts -rpath" >&5
32862 echo $ECHO_N "checking if the linker accepts -rpath... $ECHO_C" >&6; }
32863 cat >conftest.
$ac_ext <<_ACEOF
32866 cat confdefs.h
>>conftest.
$ac_ext
32867 cat >>conftest.
$ac_ext <<_ACEOF
32868 /* end confdefs.h. */
32878 rm -f conftest.
$ac_objext conftest
$ac_exeext
32879 if { (ac_try
="$ac_link"
32880 case "(($ac_try" in
32881 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
32882 *) ac_try_echo=$ac_try;;
32884 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32885 (eval "$ac_link") 2>conftest.er1
32887 grep -v '^ *+' conftest.er1 >conftest.err
32889 cat conftest.err >&5
32890 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32891 (exit $ac_status); } && {
32892 test -z "$ac_c_werror_flag" ||
32893 test ! -s conftest.err
32894 } && test -s conftest$ac_exeext &&
32895 $as_test_x conftest$ac_exeext; then
32897 { echo "$as_me:$LINENO: result: yes" >&5
32898 echo "${ECHO_T}yes" >&6; }
32899 SAMPLES_RPATH_FLAG="-Wl,-rpath,\$(wx_top_builddir)/lib"
32900 WXCONFIG_RPATH="-Wl,-rpath,\$libdir"
32903 echo "$as_me: failed program was:" >&5
32904 sed 's/^/| /' conftest.$ac_ext >&5
32907 { echo "$as_me:$LINENO: result: no" >&5
32908 echo "${ECHO_T}no" >&6; }
32909 { echo "$as_me:$LINENO: checking if the linker accepts -R" >&5
32910 echo $ECHO_N "checking if the linker accepts -R... $ECHO_C" >&6; }
32911 LDFLAGS="$saveLdflags -Wl,-R,/"
32912 cat >conftest.$ac_ext <<_ACEOF
32915 cat confdefs.h >>conftest.$ac_ext
32916 cat >>conftest.$ac_ext <<_ACEOF
32917 /* end confdefs.h. */
32927 rm -f conftest.$ac_objext conftest$ac_exeext
32928 if { (ac_try="$ac_link"
32929 case "(($ac_try" in
32930 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
32931 *) ac_try_echo
=$ac_try;;
32933 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32934 (eval "$ac_link") 2>conftest.er1
32936 grep -v '^ *+' conftest.er1
>conftest.err
32938 cat conftest.err
>&5
32939 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32940 (exit $ac_status); } && {
32941 test -z "$ac_c_werror_flag" ||
32942 test ! -s conftest.err
32943 } && test -s conftest
$ac_exeext &&
32944 $as_test_x conftest
$ac_exeext; then
32946 { echo "$as_me:$LINENO: result: yes" >&5
32947 echo "${ECHO_T}yes" >&6; }
32948 SAMPLES_RPATH_FLAG
="-Wl,-R,\$(wx_top_builddir)/lib"
32949 WXCONFIG_RPATH
="-Wl,-R,\$libdir"
32952 echo "$as_me: failed program was:" >&5
32953 sed 's/^/| /' conftest.
$ac_ext >&5
32956 { echo "$as_me:$LINENO: result: no" >&5
32957 echo "${ECHO_T}no" >&6; }
32961 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
32962 conftest
$ac_exeext conftest.
$ac_ext
32966 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
32967 conftest
$ac_exeext conftest.
$ac_ext
32968 LDFLAGS
="$saveLdflags"
32970 SAMPLES_RPATH_FLAG
="-R\$(wx_top_builddir)/lib"
32971 WXCONFIG_RPATH
="-R\$libdir"
32976 install_name_tool
=`which install_name_tool`
32977 if test "$install_name_tool" -a -x "$install_name_tool"; then
32978 SAMPLES_RPATH_POSTLINK
="\$(wx_top_builddir)/change-install-names \$(LIBDIRNAME) \$(prefix) \$@"
32979 cat <<EOF >change-install-names
32981 libnames=\`cd \${1} ; ls -1 | grep '\.[0-9][0-9]*\.dylib\$'\`
32982 inst_cmd="install_name_tool "
32983 for i in \${libnames} ; do
32984 inst_cmd="\${inst_cmd} -change \${2}/lib/\${i} \${1}/\${i}"
32988 chmod +x change
-install-names
32992 *-*-cygwin* | *-*-mingw32* )
32993 WXCONFIG_ONLY_CPPFLAGS
="$WXCONFIG_ONLY_CPPFLAGS -DWXUSINGDLL"
32997 SAMPLES_RPATH_FLAG
="-Wl,+b,\$(wx_top_builddir)/lib"
32998 WXCONFIG_RPATH
="-Wl,+b,\$libdir"
33003 if test $wxUSE_RPATH = "no"; then
33004 SAMPLES_RPATH_FLAG
=''
33005 SAMPLES_RPATH_POSTLINK
=''
33013 config_linkage_component
="-static"
33020 lib_unicode_suffix
=
33022 if test "$wxUSE_UNICODE" = "yes"; then
33023 lib_unicode_suffix
=u
33024 WX_CHARTYPE
="unicode"
33029 WX_DEBUGTYPE
="release"
33031 if test "$wxUSE_DEBUG_FLAG" = "yes"; then
33033 WX_DEBUGTYPE
="debug"
33037 WX_FLAVOUR
=${WX_FLAVOUR:+-$WX_FLAVOUR}
33038 WX_LIB_FLAVOUR
=`echo $WX_FLAVOUR | tr '-' '_'`
33041 if test "$wxUSE_DEBUG_INFO" = "yes"; then
33045 WX_VERSION_TAG
=`echo WX${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}_${WX_RELEASE} | tr "[a-z]" "[A-Z]"`
33047 TOOLCHAIN_NAME
="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}"
33049 TOOLCHAIN_FULLNAME
="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}-${WX_CHARTYPE}-${WX_DEBUGTYPE}${config_linkage_component}-${WX_RELEASE}${WX_FLAVOUR}"
33051 if test "$cross_compiling" = "yes"; then
33052 HOST_SUFFIX
="-$host_alias"
33053 TOOLCHAIN_NAME
="$TOOLCHAIN_NAME$HOST_SUFFIX"
33054 TOOLCHAIN_FULLNAME
="${host_alias}-$TOOLCHAIN_FULLNAME"
33057 WX_LIBRARY_BASENAME_NOGUI
="wx_base${WXBASEPORT}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
33058 if test "${TOOLKIT_DIR}" = "os2"; then
33059 WX_LIBRARY_BASENAME_GUI
="wx_pm${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
33061 WX_LIBRARY_BASENAME_GUI
="wx_${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
33066 if test "$wxUSE_COCOA" = 1; then
33069 ac_cpp
='$CPP $CPPFLAGS'
33070 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33071 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33072 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
33076 { echo "$as_me:$LINENO: checking if AppKit/NSEvent.h conflicts with CoreFoundation" >&5
33077 echo $ECHO_N "checking if AppKit/NSEvent.h conflicts with CoreFoundation... $ECHO_C" >&6; }
33078 cat >conftest.
$ac_ext <<_ACEOF
33081 cat confdefs.h
>>conftest.
$ac_ext
33082 cat >>conftest.
$ac_ext <<_ACEOF
33083 /* end confdefs.h. */
33084 #include <AppKit/NSEvent.h>
33085 #include <CoreFoundation/CoreFoundation.h>
33095 rm -f conftest.
$ac_objext
33096 if { (ac_try
="$ac_compile"
33097 case "(($ac_try" in
33098 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
33099 *) ac_try_echo=$ac_try;;
33101 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33102 (eval "$ac_compile") 2>conftest.er1
33104 grep -v '^ *+' conftest.er1 >conftest.err
33106 cat conftest.err >&5
33107 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33108 (exit $ac_status); } && {
33109 test -z "$ac_c_werror_flag" ||
33110 test ! -s conftest.err
33111 } && test -s conftest.$ac_objext; then
33112 { echo "$as_me:$LINENO: result: no" >&5
33113 echo "${ECHO_T}no" >&6; }
33115 echo "$as_me: failed program was:" >&5
33116 sed 's/^/| /' conftest.$ac_ext >&5
33118 { echo "$as_me:$LINENO: result: yes" >&5
33119 echo "${ECHO_T}yes" >&6; }
33120 { echo "$as_me:$LINENO: checking if defining __Point__ will fix it" >&5
33121 echo $ECHO_N "checking if defining __Point__ will fix it... $ECHO_C" >&6; }
33122 cat >conftest.$ac_ext <<_ACEOF
33125 cat confdefs.h >>conftest.$ac_ext
33126 cat >>conftest.$ac_ext <<_ACEOF
33127 /* end confdefs.h. */
33128 #define __Point__ 1
33129 #include <AppKit/NSEvent.h>
33130 #include <CoreFoundation/CoreFoundation.h>
33140 rm -f conftest.$ac_objext
33141 if { (ac_try="$ac_compile"
33142 case "(($ac_try" in
33143 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
33144 *) ac_try_echo
=$ac_try;;
33146 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33147 (eval "$ac_compile") 2>conftest.er1
33149 grep -v '^ *+' conftest.er1
>conftest.err
33151 cat conftest.err
>&5
33152 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33153 (exit $ac_status); } && {
33154 test -z "$ac_c_werror_flag" ||
33155 test ! -s conftest.err
33156 } && test -s conftest.
$ac_objext; then
33157 { echo "$as_me:$LINENO: result: yes" >&5
33158 echo "${ECHO_T}yes" >&6; }
33159 cat >>confdefs.h
<<\_ACEOF
33160 #define __Point__ 1
33165 echo "$as_me: failed program was:" >&5
33166 sed 's/^/| /' conftest.
$ac_ext >&5
33168 { { echo "$as_me:$LINENO: error: no
33169 See \`config.log' for more details." >&5
33170 echo "$as_me: error: no
33171 See \`config.log' for more details." >&2;}
33172 { (exit 1); exit 1; }; }
33176 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
33180 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
33182 ac_cpp
='$CPP $CPPFLAGS'
33183 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33184 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33185 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
33189 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1; then
33190 WX_RESOURCES_MACOSX_ASCII
="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.r"
33191 WX_RESOURCES_MACOSX_DATA
="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.rsrc"
33193 LIBWXMACRES
="\$(wx_top_builddir)/lib/${WX_RESOURCES_MACOSX_ASCII}"
33195 # Extract the first word of "Rez", so it can be a program name with args.
33196 set dummy Rez
; ac_word
=$2
33197 { echo "$as_me:$LINENO: checking for $ac_word" >&5
33198 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
33199 if test "${ac_cv_prog_REZ+set}" = set; then
33200 echo $ECHO_N "(cached) $ECHO_C" >&6
33202 if test -n "$REZ"; then
33203 ac_cv_prog_REZ
="$REZ" # Let the user override the test.
33205 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
33206 for as_dir
in $PATH
33209 test -z "$as_dir" && as_dir
=.
33210 for ac_exec_ext
in '' $ac_executable_extensions; do
33211 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
33212 ac_cv_prog_REZ
="Rez"
33213 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
33220 test -z "$ac_cv_prog_REZ" && ac_cv_prog_REZ
="/Developer/Tools/Rez"
33223 REZ
=$ac_cv_prog_REZ
33224 if test -n "$REZ"; then
33225 { echo "$as_me:$LINENO: result: $REZ" >&5
33226 echo "${ECHO_T}$REZ" >&6; }
33228 { echo "$as_me:$LINENO: result: no" >&5
33229 echo "${ECHO_T}no" >&6; }
33233 # Extract the first word of "DeRez", so it can be a program name with args.
33234 set dummy DeRez
; ac_word
=$2
33235 { echo "$as_me:$LINENO: checking for $ac_word" >&5
33236 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
33237 if test "${ac_cv_prog_DEREZ+set}" = set; then
33238 echo $ECHO_N "(cached) $ECHO_C" >&6
33240 if test -n "$DEREZ"; then
33241 ac_cv_prog_DEREZ
="$DEREZ" # Let the user override the test.
33243 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
33244 for as_dir
in $PATH
33247 test -z "$as_dir" && as_dir
=.
33248 for ac_exec_ext
in '' $ac_executable_extensions; do
33249 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
33250 ac_cv_prog_DEREZ
="DeRez"
33251 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
33258 test -z "$ac_cv_prog_DEREZ" && ac_cv_prog_DEREZ
="/Developer/Tools/DeRez"
33261 DEREZ
=$ac_cv_prog_DEREZ
33262 if test -n "$DEREZ"; then
33263 { echo "$as_me:$LINENO: result: $DEREZ" >&5
33264 echo "${ECHO_T}$DEREZ" >&6; }
33266 { echo "$as_me:$LINENO: result: no" >&5
33267 echo "${ECHO_T}no" >&6; }
33271 # Extract the first word of "SetFile", so it can be a program name with args.
33272 set dummy SetFile
; ac_word
=$2
33273 { echo "$as_me:$LINENO: checking for $ac_word" >&5
33274 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
33275 if test "${ac_cv_prog_SETFILE+set}" = set; then
33276 echo $ECHO_N "(cached) $ECHO_C" >&6
33278 if test -n "$SETFILE"; then
33279 ac_cv_prog_SETFILE
="$SETFILE" # Let the user override the test.
33281 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
33282 for as_dir
in $PATH
33285 test -z "$as_dir" && as_dir
=.
33286 for ac_exec_ext
in '' $ac_executable_extensions; do
33287 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
33288 ac_cv_prog_SETFILE
="SetFile"
33289 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
33296 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE
="/Developer/Tools/SetFile"
33299 SETFILE
=$ac_cv_prog_SETFILE
33300 if test -n "$SETFILE"; then
33301 { echo "$as_me:$LINENO: result: $SETFILE" >&5
33302 echo "${ECHO_T}$SETFILE" >&6; }
33304 { echo "$as_me:$LINENO: result: no" >&5
33305 echo "${ECHO_T}no" >&6; }
33310 MACSETFILE
="\$(SETFILE)"
33312 if test "$wxUSE_MAC" = 1; then
33313 POSTLINK_COMMAND
="\$(REZ) -d __DARWIN__ -t APPL Carbon.r -o"
33315 WXCONFIG_RESFLAGS
="-d __DARWIN__ -t APPL Carbon.r -o"
33317 POSTLINK_COMMAND
="echo -n | \$(REZ) -d __DARWIN__ -t APPL ${LIBWXMACRES}"
33318 RESCOMP
="echo -n \| $REZ"
33319 WXCONFIG_RESFLAGS
="-d __DARWIN__ -t APPL \$libdir/$WX_RESOURCES_MACOSX_ASCII"
33325 if test "$wxUSE_PM" = 1; then
33327 WXCONFIG_RESFLAGS
="-ep"
33329 POSTLINK_COMMAND
="$RESCOMP $WXCONFIG_RESFLAGS"
33331 POSTLINK_COMMAND
="@true"
33338 { echo "$as_me:$LINENO: checking for mode_t" >&5
33339 echo $ECHO_N "checking for mode_t... $ECHO_C" >&6; }
33340 if test "${ac_cv_type_mode_t+set}" = set; then
33341 echo $ECHO_N "(cached) $ECHO_C" >&6
33343 cat >conftest.
$ac_ext <<_ACEOF
33346 cat confdefs.h
>>conftest.
$ac_ext
33347 cat >>conftest.
$ac_ext <<_ACEOF
33348 /* end confdefs.h. */
33349 $ac_includes_default
33350 typedef mode_t ac__type_new_;
33354 if ((ac__type_new_ *) 0)
33356 if (sizeof (ac__type_new_))
33362 rm -f conftest.
$ac_objext
33363 if { (ac_try
="$ac_compile"
33364 case "(($ac_try" in
33365 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
33366 *) ac_try_echo=$ac_try;;
33368 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33369 (eval "$ac_compile") 2>conftest.er1
33371 grep -v '^ *+' conftest.er1 >conftest.err
33373 cat conftest.err >&5
33374 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33375 (exit $ac_status); } && {
33376 test -z "$ac_c_werror_flag" ||
33377 test ! -s conftest.err
33378 } && test -s conftest.$ac_objext; then
33379 ac_cv_type_mode_t=yes
33381 echo "$as_me: failed program was:" >&5
33382 sed 's/^/| /' conftest.$ac_ext >&5
33384 ac_cv_type_mode_t=no
33387 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33389 { echo "$as_me:$LINENO: result: $ac_cv_type_mode_t" >&5
33390 echo "${ECHO_T}$ac_cv_type_mode_t" >&6; }
33391 if test $ac_cv_type_mode_t = yes; then
33395 cat >>confdefs.h <<_ACEOF
33401 { echo "$as_me:$LINENO: checking for off_t" >&5
33402 echo $ECHO_N "checking for off_t... $ECHO_C" >&6; }
33403 if test "${ac_cv_type_off_t+set}" = set; then
33404 echo $ECHO_N "(cached) $ECHO_C" >&6
33406 cat >conftest.$ac_ext <<_ACEOF
33409 cat confdefs.h >>conftest.$ac_ext
33410 cat >>conftest.$ac_ext <<_ACEOF
33411 /* end confdefs.h. */
33412 $ac_includes_default
33413 typedef off_t ac__type_new_;
33417 if ((ac__type_new_ *) 0)
33419 if (sizeof (ac__type_new_))
33425 rm -f conftest.$ac_objext
33426 if { (ac_try="$ac_compile"
33427 case "(($ac_try" in
33428 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
33429 *) ac_try_echo
=$ac_try;;
33431 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33432 (eval "$ac_compile") 2>conftest.er1
33434 grep -v '^ *+' conftest.er1
>conftest.err
33436 cat conftest.err
>&5
33437 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33438 (exit $ac_status); } && {
33439 test -z "$ac_c_werror_flag" ||
33440 test ! -s conftest.err
33441 } && test -s conftest.
$ac_objext; then
33442 ac_cv_type_off_t
=yes
33444 echo "$as_me: failed program was:" >&5
33445 sed 's/^/| /' conftest.
$ac_ext >&5
33447 ac_cv_type_off_t
=no
33450 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
33452 { echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
33453 echo "${ECHO_T}$ac_cv_type_off_t" >&6; }
33454 if test $ac_cv_type_off_t = yes; then
33458 cat >>confdefs.h
<<_ACEOF
33459 #define off_t long int
33464 { echo "$as_me:$LINENO: checking for pid_t" >&5
33465 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6; }
33466 if test "${ac_cv_type_pid_t+set}" = set; then
33467 echo $ECHO_N "(cached) $ECHO_C" >&6
33469 cat >conftest.
$ac_ext <<_ACEOF
33472 cat confdefs.h
>>conftest.
$ac_ext
33473 cat >>conftest.
$ac_ext <<_ACEOF
33474 /* end confdefs.h. */
33475 $ac_includes_default
33476 typedef pid_t ac__type_new_;
33480 if ((ac__type_new_ *) 0)
33482 if (sizeof (ac__type_new_))
33488 rm -f conftest.
$ac_objext
33489 if { (ac_try
="$ac_compile"
33490 case "(($ac_try" in
33491 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
33492 *) ac_try_echo=$ac_try;;
33494 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33495 (eval "$ac_compile") 2>conftest.er1
33497 grep -v '^ *+' conftest.er1 >conftest.err
33499 cat conftest.err >&5
33500 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33501 (exit $ac_status); } && {
33502 test -z "$ac_c_werror_flag" ||
33503 test ! -s conftest.err
33504 } && test -s conftest.$ac_objext; then
33505 ac_cv_type_pid_t=yes
33507 echo "$as_me: failed program was:" >&5
33508 sed 's/^/| /' conftest.$ac_ext >&5
33510 ac_cv_type_pid_t=no
33513 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33515 { echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
33516 echo "${ECHO_T}$ac_cv_type_pid_t" >&6; }
33517 if test $ac_cv_type_pid_t = yes; then
33521 cat >>confdefs.h <<_ACEOF
33527 { echo "$as_me:$LINENO: checking for size_t" >&5
33528 echo $ECHO_N "checking for size_t... $ECHO_C" >&6; }
33529 if test "${ac_cv_type_size_t+set}" = set; then
33530 echo $ECHO_N "(cached) $ECHO_C" >&6
33532 cat >conftest.$ac_ext <<_ACEOF
33535 cat confdefs.h >>conftest.$ac_ext
33536 cat >>conftest.$ac_ext <<_ACEOF
33537 /* end confdefs.h. */
33538 $ac_includes_default
33539 typedef size_t ac__type_new_;
33543 if ((ac__type_new_ *) 0)
33545 if (sizeof (ac__type_new_))
33551 rm -f conftest.$ac_objext
33552 if { (ac_try="$ac_compile"
33553 case "(($ac_try" in
33554 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
33555 *) ac_try_echo
=$ac_try;;
33557 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33558 (eval "$ac_compile") 2>conftest.er1
33560 grep -v '^ *+' conftest.er1
>conftest.err
33562 cat conftest.err
>&5
33563 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33564 (exit $ac_status); } && {
33565 test -z "$ac_c_werror_flag" ||
33566 test ! -s conftest.err
33567 } && test -s conftest.
$ac_objext; then
33568 ac_cv_type_size_t
=yes
33570 echo "$as_me: failed program was:" >&5
33571 sed 's/^/| /' conftest.
$ac_ext >&5
33573 ac_cv_type_size_t
=no
33576 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
33578 { echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
33579 echo "${ECHO_T}$ac_cv_type_size_t" >&6; }
33580 if test $ac_cv_type_size_t = yes; then
33584 cat >>confdefs.h
<<_ACEOF
33585 #define size_t unsigned int
33590 { echo "$as_me:$LINENO: checking for uid_t in sys/types.h" >&5
33591 echo $ECHO_N "checking for uid_t in sys/types.h... $ECHO_C" >&6; }
33592 if test "${ac_cv_type_uid_t+set}" = set; then
33593 echo $ECHO_N "(cached) $ECHO_C" >&6
33595 cat >conftest.
$ac_ext <<_ACEOF
33598 cat confdefs.h
>>conftest.
$ac_ext
33599 cat >>conftest.
$ac_ext <<_ACEOF
33600 /* end confdefs.h. */
33601 #include <sys/types.h>
33604 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
33605 $EGREP "uid_t" >/dev
/null
2>&1; then
33606 ac_cv_type_uid_t
=yes
33608 ac_cv_type_uid_t
=no
33613 { echo "$as_me:$LINENO: result: $ac_cv_type_uid_t" >&5
33614 echo "${ECHO_T}$ac_cv_type_uid_t" >&6; }
33615 if test $ac_cv_type_uid_t = no
; then
33617 cat >>confdefs.h
<<\_ACEOF
33622 cat >>confdefs.h
<<\_ACEOF
33629 { echo "$as_me:$LINENO: checking for ssize_t" >&5
33630 echo $ECHO_N "checking for ssize_t... $ECHO_C" >&6; }
33631 if test "${ac_cv_type_ssize_t+set}" = set; then
33632 echo $ECHO_N "(cached) $ECHO_C" >&6
33634 cat >conftest.
$ac_ext <<_ACEOF
33637 cat confdefs.h
>>conftest.
$ac_ext
33638 cat >>conftest.
$ac_ext <<_ACEOF
33639 /* end confdefs.h. */
33640 $ac_includes_default
33641 typedef ssize_t ac__type_new_;
33645 if ((ac__type_new_ *) 0)
33647 if (sizeof (ac__type_new_))
33653 rm -f conftest.
$ac_objext
33654 if { (ac_try
="$ac_compile"
33655 case "(($ac_try" in
33656 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
33657 *) ac_try_echo=$ac_try;;
33659 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33660 (eval "$ac_compile") 2>conftest.er1
33662 grep -v '^ *+' conftest.er1 >conftest.err
33664 cat conftest.err >&5
33665 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33666 (exit $ac_status); } && {
33667 test -z "$ac_c_werror_flag" ||
33668 test ! -s conftest.err
33669 } && test -s conftest.$ac_objext; then
33670 ac_cv_type_ssize_t=yes
33672 echo "$as_me: failed program was:" >&5
33673 sed 's/^/| /' conftest.$ac_ext >&5
33675 ac_cv_type_ssize_t=no
33678 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33680 { echo "$as_me:$LINENO: result: $ac_cv_type_ssize_t" >&5
33681 echo "${ECHO_T}$ac_cv_type_ssize_t" >&6; }
33682 if test $ac_cv_type_ssize_t = yes; then
33684 cat >>confdefs.h <<_ACEOF
33685 #define HAVE_SSIZE_T 1
33693 ac_cpp='$CXXCPP $CPPFLAGS'
33694 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33695 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33696 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33697 { echo "$as_me:$LINENO: checking if size_t is unsigned int" >&5
33698 echo $ECHO_N "checking if size_t is unsigned int... $ECHO_C" >&6; }
33699 if test "${wx_cv_size_t_is_uint+set}" = set; then
33700 echo $ECHO_N "(cached) $ECHO_C" >&6
33703 cat >conftest.$ac_ext <<_ACEOF
33706 cat confdefs.h >>conftest.$ac_ext
33707 cat >>conftest.$ac_ext <<_ACEOF
33708 /* end confdefs.h. */
33709 #include <stddef.h>
33716 struct Foo { void foo(size_t); void foo(unsigned int); };
33724 rm -f conftest.$ac_objext
33725 if { (ac_try="$ac_compile"
33726 case "(($ac_try" in
33727 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
33728 *) ac_try_echo
=$ac_try;;
33730 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33731 (eval "$ac_compile") 2>conftest.er1
33733 grep -v '^ *+' conftest.er1
>conftest.err
33735 cat conftest.err
>&5
33736 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33737 (exit $ac_status); } && {
33738 test -z "$ac_cxx_werror_flag" ||
33739 test ! -s conftest.err
33740 } && test -s conftest.
$ac_objext; then
33741 wx_cv_size_t_is_uint
=no
33743 echo "$as_me: failed program was:" >&5
33744 sed 's/^/| /' conftest.
$ac_ext >&5
33746 wx_cv_size_t_is_uint
=yes
33750 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
33754 { echo "$as_me:$LINENO: result: $wx_cv_size_t_is_uint" >&5
33755 echo "${ECHO_T}$wx_cv_size_t_is_uint" >&6; }
33757 if test "$wx_cv_size_t_is_uint" = "yes"; then
33758 cat >>confdefs.h
<<\_ACEOF
33759 #define wxSIZE_T_IS_UINT 1
33763 { echo "$as_me:$LINENO: checking if size_t is unsigned long" >&5
33764 echo $ECHO_N "checking if size_t is unsigned long... $ECHO_C" >&6; }
33765 if test "${wx_cv_size_t_is_ulong+set}" = set; then
33766 echo $ECHO_N "(cached) $ECHO_C" >&6
33768 cat >conftest.
$ac_ext <<_ACEOF
33771 cat confdefs.h
>>conftest.
$ac_ext
33772 cat >>conftest.
$ac_ext <<_ACEOF
33773 /* end confdefs.h. */
33774 #include <stddef.h>
33781 struct Foo { void foo(size_t); void foo(unsigned long); };
33789 rm -f conftest.
$ac_objext
33790 if { (ac_try
="$ac_compile"
33791 case "(($ac_try" in
33792 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
33793 *) ac_try_echo=$ac_try;;
33795 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33796 (eval "$ac_compile") 2>conftest.er1
33798 grep -v '^ *+' conftest.er1 >conftest.err
33800 cat conftest.err >&5
33801 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33802 (exit $ac_status); } && {
33803 test -z "$ac_cxx_werror_flag" ||
33804 test ! -s conftest.err
33805 } && test -s conftest.$ac_objext; then
33806 wx_cv_size_t_is_ulong=no
33808 echo "$as_me: failed program was:" >&5
33809 sed 's/^/| /' conftest.$ac_ext >&5
33811 wx_cv_size_t_is_ulong=yes
33815 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33818 { echo "$as_me:$LINENO: result: $wx_cv_size_t_is_ulong" >&5
33819 echo "${ECHO_T}$wx_cv_size_t_is_ulong" >&6; }
33821 if test "$wx_cv_size_t_is_ulong" = "yes"; then
33822 cat >>confdefs.h <<\_ACEOF
33823 #define wxSIZE_T_IS_ULONG 1
33830 ac_cpp='$CPP $CPPFLAGS'
33831 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33832 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33833 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33836 { echo "$as_me:$LINENO: checking for pw_gecos in struct passwd" >&5
33837 echo $ECHO_N "checking for pw_gecos in struct passwd... $ECHO_C" >&6; }
33838 if test "${wx_cv_struct_pw_gecos+set}" = set; then
33839 echo $ECHO_N "(cached) $ECHO_C" >&6
33842 cat >conftest.$ac_ext <<_ACEOF
33845 cat confdefs.h >>conftest.$ac_ext
33846 cat >>conftest.$ac_ext <<_ACEOF
33847 /* end confdefs.h. */
33861 rm -f conftest.$ac_objext
33862 if { (ac_try="$ac_compile"
33863 case "(($ac_try" in
33864 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
33865 *) ac_try_echo
=$ac_try;;
33867 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33868 (eval "$ac_compile") 2>conftest.er1
33870 grep -v '^ *+' conftest.er1
>conftest.err
33872 cat conftest.err
>&5
33873 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33874 (exit $ac_status); } && {
33875 test -z "$ac_c_werror_flag" ||
33876 test ! -s conftest.err
33877 } && test -s conftest.
$ac_objext; then
33879 wx_cv_struct_pw_gecos
=yes
33882 echo "$as_me: failed program was:" >&5
33883 sed 's/^/| /' conftest.
$ac_ext >&5
33886 wx_cv_struct_pw_gecos
=no
33891 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
33895 { echo "$as_me:$LINENO: result: $wx_cv_struct_pw_gecos" >&5
33896 echo "${ECHO_T}$wx_cv_struct_pw_gecos" >&6; }
33898 if test "$wx_cv_struct_pw_gecos" = "yes"; then
33899 cat >>confdefs.h
<<\_ACEOF
33900 #define HAVE_PW_GECOS 1
33906 if test "$wxUSE_WCHAR_T" = "yes"; then
33907 cat >>confdefs.h
<<\_ACEOF
33908 #define wxUSE_WCHAR_T 1
33915 for ac_func
in wcslen
33917 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33918 { echo "$as_me:$LINENO: checking for $ac_func" >&5
33919 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
33920 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
33921 echo $ECHO_N "(cached) $ECHO_C" >&6
33923 cat >conftest.
$ac_ext <<_ACEOF
33926 cat confdefs.h
>>conftest.
$ac_ext
33927 cat >>conftest.
$ac_ext <<_ACEOF
33928 /* end confdefs.h. */
33929 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33930 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33931 #define $ac_func innocuous_$ac_func
33933 /* System header to define __stub macros and hopefully few prototypes,
33934 which can conflict with char $ac_func (); below.
33935 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33936 <limits.h> exists even on freestanding compilers. */
33939 # include <limits.h>
33941 # include <assert.h>
33946 /* Override any GCC internal prototype to avoid an error.
33947 Use char because int might match the return type of a GCC
33948 builtin and then its argument prototype would still apply. */
33953 /* The GNU C library defines this for functions which it implements
33954 to always fail with ENOSYS. Some functions are actually named
33955 something starting with __ and the normal name is an alias. */
33956 #if defined __stub_$ac_func || defined __stub___$ac_func
33963 return $ac_func ();
33968 rm -f conftest.
$ac_objext conftest
$ac_exeext
33969 if { (ac_try
="$ac_link"
33970 case "(($ac_try" in
33971 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
33972 *) ac_try_echo=$ac_try;;
33974 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33975 (eval "$ac_link") 2>conftest.er1
33977 grep -v '^ *+' conftest.er1 >conftest.err
33979 cat conftest.err >&5
33980 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33981 (exit $ac_status); } && {
33982 test -z "$ac_c_werror_flag" ||
33983 test ! -s conftest.err
33984 } && test -s conftest$ac_exeext &&
33985 $as_test_x conftest$ac_exeext; then
33986 eval "$as_ac_var=yes"
33988 echo "$as_me: failed program was:" >&5
33989 sed 's/^/| /' conftest.$ac_ext >&5
33991 eval "$as_ac_var=no"
33994 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33995 conftest$ac_exeext conftest.$ac_ext
33997 ac_res=`eval echo '${'$as_ac_var'}'`
33998 { echo "$as_me:$LINENO: result: $ac_res" >&5
33999 echo "${ECHO_T}$ac_res" >&6; }
34000 if test `eval echo '${'$as_ac_var'}'` = yes; then
34001 cat >>confdefs.h <<_ACEOF
34002 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34009 if test "$WCSLEN_FOUND" = 0; then
34010 if test "$TOOLKIT" = "MSW"; then
34011 { echo "$as_me:$LINENO: checking for wcslen in -lmsvcrt" >&5
34012 echo $ECHO_N "checking for wcslen in -lmsvcrt... $ECHO_C" >&6; }
34013 if test "${ac_cv_lib_msvcrt_wcslen+set}" = set; then
34014 echo $ECHO_N "(cached) $ECHO_C" >&6
34016 ac_check_lib_save_LIBS=$LIBS
34017 LIBS="-lmsvcrt $LIBS"
34018 cat >conftest.$ac_ext <<_ACEOF
34021 cat confdefs.h >>conftest.$ac_ext
34022 cat >>conftest.$ac_ext <<_ACEOF
34023 /* end confdefs.h. */
34025 /* Override any GCC internal prototype to avoid an error.
34026 Use char because int might match the return type of a GCC
34027 builtin and then its argument prototype would still apply. */
34040 rm -f conftest.$ac_objext conftest$ac_exeext
34041 if { (ac_try="$ac_link"
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_link") 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_c_werror_flag" ||
34055 test ! -s conftest.err
34056 } && test -s conftest
$ac_exeext &&
34057 $as_test_x conftest
$ac_exeext; then
34058 ac_cv_lib_msvcrt_wcslen
=yes
34060 echo "$as_me: failed program was:" >&5
34061 sed 's/^/| /' conftest.
$ac_ext >&5
34063 ac_cv_lib_msvcrt_wcslen
=no
34066 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
34067 conftest
$ac_exeext conftest.
$ac_ext
34068 LIBS
=$ac_check_lib_save_LIBS
34070 { echo "$as_me:$LINENO: result: $ac_cv_lib_msvcrt_wcslen" >&5
34071 echo "${ECHO_T}$ac_cv_lib_msvcrt_wcslen" >&6; }
34072 if test $ac_cv_lib_msvcrt_wcslen = yes; then
34077 { echo "$as_me:$LINENO: checking for wcslen in -lw" >&5
34078 echo $ECHO_N "checking for wcslen in -lw... $ECHO_C" >&6; }
34079 if test "${ac_cv_lib_w_wcslen+set}" = set; then
34080 echo $ECHO_N "(cached) $ECHO_C" >&6
34082 ac_check_lib_save_LIBS
=$LIBS
34084 cat >conftest.
$ac_ext <<_ACEOF
34087 cat confdefs.h
>>conftest.
$ac_ext
34088 cat >>conftest.
$ac_ext <<_ACEOF
34089 /* end confdefs.h. */
34091 /* Override any GCC internal prototype to avoid an error.
34092 Use char because int might match the return type of a GCC
34093 builtin and then its argument prototype would still apply. */
34106 rm -f conftest.
$ac_objext conftest
$ac_exeext
34107 if { (ac_try
="$ac_link"
34108 case "(($ac_try" in
34109 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
34110 *) ac_try_echo=$ac_try;;
34112 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34113 (eval "$ac_link") 2>conftest.er1
34115 grep -v '^ *+' conftest.er1 >conftest.err
34117 cat conftest.err >&5
34118 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34119 (exit $ac_status); } && {
34120 test -z "$ac_c_werror_flag" ||
34121 test ! -s conftest.err
34122 } && test -s conftest$ac_exeext &&
34123 $as_test_x conftest$ac_exeext; then
34124 ac_cv_lib_w_wcslen=yes
34126 echo "$as_me: failed program was:" >&5
34127 sed 's/^/| /' conftest.$ac_ext >&5
34129 ac_cv_lib_w_wcslen=no
34132 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
34133 conftest$ac_exeext conftest.$ac_ext
34134 LIBS=$ac_check_lib_save_LIBS
34136 { echo "$as_me:$LINENO: result: $ac_cv_lib_w_wcslen" >&5
34137 echo "${ECHO_T}$ac_cv_lib_w_wcslen" >&6; }
34138 if test $ac_cv_lib_w_wcslen = yes; then
34148 if test "$WCSLEN_FOUND" = 1; then
34149 cat >>confdefs.h <<\_ACEOF
34150 #define HAVE_WCSLEN 1
34155 if test "$USE_HPUX" = 1 -a "$GCC" != "yes"; then
34156 CPPFLAGS="-D_INCLUDE__STDC_A1_SOURCE $CPPFLAGS"
34159 { echo "$as_me:$LINENO: checking for mbstate_t" >&5
34160 echo $ECHO_N "checking for mbstate_t... $ECHO_C" >&6; }
34161 if test "${ac_cv_type_mbstate_t+set}" = set; then
34162 echo $ECHO_N "(cached) $ECHO_C" >&6
34164 cat >conftest.$ac_ext <<_ACEOF
34167 cat confdefs.h >>conftest.$ac_ext
34168 cat >>conftest.$ac_ext <<_ACEOF
34169 /* end confdefs.h. */
34172 typedef mbstate_t ac__type_new_;
34176 if ((ac__type_new_ *) 0)
34178 if (sizeof (ac__type_new_))
34184 rm -f conftest.$ac_objext
34185 if { (ac_try="$ac_compile"
34186 case "(($ac_try" in
34187 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
34188 *) ac_try_echo
=$ac_try;;
34190 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34191 (eval "$ac_compile") 2>conftest.er1
34193 grep -v '^ *+' conftest.er1
>conftest.err
34195 cat conftest.err
>&5
34196 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34197 (exit $ac_status); } && {
34198 test -z "$ac_c_werror_flag" ||
34199 test ! -s conftest.err
34200 } && test -s conftest.
$ac_objext; then
34201 ac_cv_type_mbstate_t
=yes
34203 echo "$as_me: failed program was:" >&5
34204 sed 's/^/| /' conftest.
$ac_ext >&5
34206 ac_cv_type_mbstate_t
=no
34209 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
34211 { echo "$as_me:$LINENO: result: $ac_cv_type_mbstate_t" >&5
34212 echo "${ECHO_T}$ac_cv_type_mbstate_t" >&6; }
34213 if test $ac_cv_type_mbstate_t = yes; then
34215 cat >>confdefs.h
<<_ACEOF
34216 #define HAVE_MBSTATE_T 1
34220 for ac_func
in wcsrtombs
34222 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34223 { echo "$as_me:$LINENO: checking for $ac_func" >&5
34224 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
34225 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
34226 echo $ECHO_N "(cached) $ECHO_C" >&6
34228 cat >conftest.
$ac_ext <<_ACEOF
34231 cat confdefs.h
>>conftest.
$ac_ext
34232 cat >>conftest.
$ac_ext <<_ACEOF
34233 /* end confdefs.h. */
34234 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34235 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34236 #define $ac_func innocuous_$ac_func
34238 /* System header to define __stub macros and hopefully few prototypes,
34239 which can conflict with char $ac_func (); below.
34240 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34241 <limits.h> exists even on freestanding compilers. */
34244 # include <limits.h>
34246 # include <assert.h>
34251 /* Override any GCC internal prototype to avoid an error.
34252 Use char because int might match the return type of a GCC
34253 builtin and then its argument prototype would still apply. */
34258 /* The GNU C library defines this for functions which it implements
34259 to always fail with ENOSYS. Some functions are actually named
34260 something starting with __ and the normal name is an alias. */
34261 #if defined __stub_$ac_func || defined __stub___$ac_func
34268 return $ac_func ();
34273 rm -f conftest.
$ac_objext conftest
$ac_exeext
34274 if { (ac_try
="$ac_link"
34275 case "(($ac_try" in
34276 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
34277 *) ac_try_echo=$ac_try;;
34279 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34280 (eval "$ac_link") 2>conftest.er1
34282 grep -v '^ *+' conftest.er1 >conftest.err
34284 cat conftest.err >&5
34285 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34286 (exit $ac_status); } && {
34287 test -z "$ac_c_werror_flag" ||
34288 test ! -s conftest.err
34289 } && test -s conftest$ac_exeext &&
34290 $as_test_x conftest$ac_exeext; then
34291 eval "$as_ac_var=yes"
34293 echo "$as_me: failed program was:" >&5
34294 sed 's/^/| /' conftest.$ac_ext >&5
34296 eval "$as_ac_var=no"
34299 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
34300 conftest$ac_exeext conftest.$ac_ext
34302 ac_res=`eval echo '${'$as_ac_var'}'`
34303 { echo "$as_me:$LINENO: result: $ac_res" >&5
34304 echo "${ECHO_T}$ac_res" >&6; }
34305 if test `eval echo '${'$as_ac_var'}'` = yes; then
34306 cat >>confdefs.h <<_ACEOF
34307 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34316 { echo "$as_me:$LINENO: WARNING: Wide character support is unavailable" >&5
34317 echo "$as_me: WARNING: Wide character support is unavailable" >&2;}
34322 for ac_func in snprintf vsnprintf
34324 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34325 { echo "$as_me:$LINENO: checking for $ac_func" >&5
34326 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
34327 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
34328 echo $ECHO_N "(cached) $ECHO_C" >&6
34330 cat >conftest.$ac_ext <<_ACEOF
34333 cat confdefs.h >>conftest.$ac_ext
34334 cat >>conftest.$ac_ext <<_ACEOF
34335 /* end confdefs.h. */
34336 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34337 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34338 #define $ac_func innocuous_$ac_func
34340 /* System header to define __stub macros and hopefully few prototypes,
34341 which can conflict with char $ac_func (); below.
34342 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34343 <limits.h> exists even on freestanding compilers. */
34346 # include <limits.h>
34348 # include <assert.h>
34353 /* Override any GCC internal prototype to avoid an error.
34354 Use char because int might match the return type of a GCC
34355 builtin and then its argument prototype would still apply. */
34360 /* The GNU C library defines this for functions which it implements
34361 to always fail with ENOSYS. Some functions are actually named
34362 something starting with __ and the normal name is an alias. */
34363 #if defined __stub_$ac_func || defined __stub___$ac_func
34370 return $ac_func ();
34375 rm -f conftest.$ac_objext conftest$ac_exeext
34376 if { (ac_try="$ac_link"
34377 case "(($ac_try" in
34378 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
34379 *) ac_try_echo
=$ac_try;;
34381 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34382 (eval "$ac_link") 2>conftest.er1
34384 grep -v '^ *+' conftest.er1
>conftest.err
34386 cat conftest.err
>&5
34387 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34388 (exit $ac_status); } && {
34389 test -z "$ac_c_werror_flag" ||
34390 test ! -s conftest.err
34391 } && test -s conftest
$ac_exeext &&
34392 $as_test_x conftest
$ac_exeext; then
34393 eval "$as_ac_var=yes"
34395 echo "$as_me: failed program was:" >&5
34396 sed 's/^/| /' conftest.
$ac_ext >&5
34398 eval "$as_ac_var=no"
34401 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
34402 conftest
$ac_exeext conftest.
$ac_ext
34404 ac_res
=`eval echo '${'$as_ac_var'}'`
34405 { echo "$as_me:$LINENO: result: $ac_res" >&5
34406 echo "${ECHO_T}$ac_res" >&6; }
34407 if test `eval echo '${'$as_ac_var'}'` = yes; then
34408 cat >>confdefs.h
<<_ACEOF
34409 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34416 if test "$ac_cv_func_vsnprintf" = "yes"; then
34417 { echo "$as_me:$LINENO: checking for vsnprintf declaration" >&5
34418 echo $ECHO_N "checking for vsnprintf declaration... $ECHO_C" >&6; }
34419 if test "${wx_cv_func_vsnprintf_decl+set}" = set; then
34420 echo $ECHO_N "(cached) $ECHO_C" >&6
34423 cat >conftest.
$ac_ext <<_ACEOF
34426 cat confdefs.h
>>conftest.
$ac_ext
34427 cat >>conftest.
$ac_ext <<_ACEOF
34428 /* end confdefs.h. */
34431 #include <stdarg.h>
34433 #if __MSL__ >= 0x6000
34435 using namespace std;
34445 vsnprintf(buf, 10u, "%s", ap);
34451 rm -f conftest.
$ac_objext
34452 if { (ac_try
="$ac_compile"
34453 case "(($ac_try" in
34454 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
34455 *) ac_try_echo=$ac_try;;
34457 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34458 (eval "$ac_compile") 2>conftest.er1
34460 grep -v '^ *+' conftest.er1 >conftest.err
34462 cat conftest.err >&5
34463 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34464 (exit $ac_status); } && {
34465 test -z "$ac_c_werror_flag" ||
34466 test ! -s conftest.err
34467 } && test -s conftest.$ac_objext; then
34468 wx_cv_func_vsnprintf_decl=yes
34470 echo "$as_me: failed program was:" >&5
34471 sed 's/^/| /' conftest.$ac_ext >&5
34473 wx_cv_func_vsnprintf_decl=no
34477 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34481 { echo "$as_me:$LINENO: result: $wx_cv_func_vsnprintf_decl" >&5
34482 echo "${ECHO_T}$wx_cv_func_vsnprintf_decl" >&6; }
34484 if test "$wx_cv_func_vsnprintf_decl" = "yes"; then
34485 cat >>confdefs.h <<\_ACEOF
34486 #define HAVE_VSNPRINTF_DECL 1
34490 { echo "$as_me:$LINENO: checking if vsnprintf declaration is broken" >&5
34491 echo $ECHO_N "checking if vsnprintf declaration is broken... $ECHO_C" >&6; }
34492 if test "${wx_cv_func_broken_vsnprintf_decl+set}" = set; then
34493 echo $ECHO_N "(cached) $ECHO_C" >&6
34496 cat >conftest.$ac_ext <<_ACEOF
34499 cat confdefs.h >>conftest.$ac_ext
34500 cat >>conftest.$ac_ext <<_ACEOF
34501 /* end confdefs.h. */
34504 #include <stdarg.h>
34506 #if __MSL__ >= 0x6000
34508 using namespace std;
34518 const char *fmt = "%s";
34519 vsnprintf(buf, 10u, fmt, ap);
34525 rm -f conftest.$ac_objext
34526 if { (ac_try="$ac_compile"
34527 case "(($ac_try" in
34528 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
34529 *) ac_try_echo
=$ac_try;;
34531 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34532 (eval "$ac_compile") 2>conftest.er1
34534 grep -v '^ *+' conftest.er1
>conftest.err
34536 cat conftest.err
>&5
34537 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34538 (exit $ac_status); } && {
34539 test -z "$ac_c_werror_flag" ||
34540 test ! -s conftest.err
34541 } && test -s conftest.
$ac_objext; then
34542 wx_cv_func_broken_vsnprintf_decl
=no
34544 echo "$as_me: failed program was:" >&5
34545 sed 's/^/| /' conftest.
$ac_ext >&5
34547 wx_cv_func_broken_vsnprintf_decl
=yes
34551 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
34555 { echo "$as_me:$LINENO: result: $wx_cv_func_broken_vsnprintf_decl" >&5
34556 echo "${ECHO_T}$wx_cv_func_broken_vsnprintf_decl" >&6; }
34558 if test "$wx_cv_func_broken_vsnprintf_decl" = "yes"; then
34559 cat >>confdefs.h
<<\_ACEOF
34560 #define HAVE_BROKEN_VSNPRINTF_DECL 1
34567 if test "$ac_cv_func_snprintf" = "yes"; then
34568 { echo "$as_me:$LINENO: checking for snprintf declaration" >&5
34569 echo $ECHO_N "checking for snprintf declaration... $ECHO_C" >&6; }
34570 if test "${wx_cv_func_snprintf_decl+set}" = set; then
34571 echo $ECHO_N "(cached) $ECHO_C" >&6
34574 cat >conftest.
$ac_ext <<_ACEOF
34577 cat confdefs.h
>>conftest.
$ac_ext
34578 cat >>conftest.
$ac_ext <<_ACEOF
34579 /* end confdefs.h. */
34582 #include <stdarg.h>
34584 #if __MSL__ >= 0x6000
34586 using namespace std;
34595 snprintf(buf, 10u, "%s", "wx");
34601 rm -f conftest.
$ac_objext
34602 if { (ac_try
="$ac_compile"
34603 case "(($ac_try" in
34604 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
34605 *) ac_try_echo=$ac_try;;
34607 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34608 (eval "$ac_compile") 2>conftest.er1
34610 grep -v '^ *+' conftest.er1 >conftest.err
34612 cat conftest.err >&5
34613 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34614 (exit $ac_status); } && {
34615 test -z "$ac_c_werror_flag" ||
34616 test ! -s conftest.err
34617 } && test -s conftest.$ac_objext; then
34618 wx_cv_func_snprintf_decl=yes
34620 echo "$as_me: failed program was:" >&5
34621 sed 's/^/| /' conftest.$ac_ext >&5
34623 wx_cv_func_snprintf_decl=no
34627 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34631 { echo "$as_me:$LINENO: result: $wx_cv_func_snprintf_decl" >&5
34632 echo "${ECHO_T}$wx_cv_func_snprintf_decl" >&6; }
34634 if test "$wx_cv_func_snprintf_decl" = "yes"; then
34635 cat >>confdefs.h <<\_ACEOF
34636 #define HAVE_SNPRINTF_DECL 1
34640 { echo "$as_me:$LINENO: checking if snprintf declaration is broken" >&5
34641 echo $ECHO_N "checking if snprintf declaration is broken... $ECHO_C" >&6; }
34642 if test "${wx_cv_func_broken_snprintf_decl+set}" = set; then
34643 echo $ECHO_N "(cached) $ECHO_C" >&6
34646 cat >conftest.$ac_ext <<_ACEOF
34649 cat confdefs.h >>conftest.$ac_ext
34650 cat >>conftest.$ac_ext <<_ACEOF
34651 /* end confdefs.h. */
34654 #include <stdarg.h>
34656 #if __MSL__ >= 0x6000
34658 using namespace std;
34667 const char *fmt = "%s";
34668 snprintf(buf, 10u, fmt, "wx");
34674 rm -f conftest.$ac_objext
34675 if { (ac_try="$ac_compile"
34676 case "(($ac_try" in
34677 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
34678 *) ac_try_echo
=$ac_try;;
34680 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34681 (eval "$ac_compile") 2>conftest.er1
34683 grep -v '^ *+' conftest.er1
>conftest.err
34685 cat conftest.err
>&5
34686 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34687 (exit $ac_status); } && {
34688 test -z "$ac_c_werror_flag" ||
34689 test ! -s conftest.err
34690 } && test -s conftest.
$ac_objext; then
34691 wx_cv_func_broken_snprintf_decl
=no
34693 echo "$as_me: failed program was:" >&5
34694 sed 's/^/| /' conftest.
$ac_ext >&5
34696 wx_cv_func_broken_snprintf_decl
=yes
34700 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
34704 { echo "$as_me:$LINENO: result: $wx_cv_func_broken_snprintf_decl" >&5
34705 echo "${ECHO_T}$wx_cv_func_broken_snprintf_decl" >&6; }
34707 if test "$wx_cv_func_broken_snprintf_decl" = "yes"; then
34708 cat >>confdefs.h
<<\_ACEOF
34709 #define HAVE_BROKEN_SNPRINTF_DECL 1
34715 if test "$wxUSE_PRINTF_POS_PARAMS" = "yes"; then
34717 { echo "$as_me:$LINENO: checking if snprintf supports positional arguments" >&5
34718 echo $ECHO_N "checking if snprintf supports positional arguments... $ECHO_C" >&6; }
34719 if test "${wx_cv_func_snprintf_pos_params+set}" = set; then
34720 echo $ECHO_N "(cached) $ECHO_C" >&6
34723 if test "$cross_compiling" = yes; then
34725 { echo "$as_me:$LINENO: WARNING: Assuming Unix98 printf() is not available,
34726 define HAVE_UNIX98_PRINTF as 1 in setup.h if it is available." >&5
34727 echo "$as_me: WARNING: Assuming Unix98 printf() is not available,
34728 define HAVE_UNIX98_PRINTF as 1 in setup.h if it is available." >&2;}
34729 wx_cv_func_snprintf_pos_params
=no
34733 cat >conftest.
$ac_ext <<_ACEOF
34736 cat confdefs.h
>>conftest.
$ac_ext
34737 cat >>conftest.
$ac_ext <<_ACEOF
34738 /* end confdefs.h. */
34745 snprintf (buffer, 128, "%2$d %3$d %1$d", 1, 2, 3);
34746 if (strcmp ("2 3 1", buffer) == 0)
34752 rm -f conftest
$ac_exeext
34753 if { (ac_try
="$ac_link"
34754 case "(($ac_try" in
34755 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
34756 *) ac_try_echo=$ac_try;;
34758 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34759 (eval "$ac_link") 2>&5
34761 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34762 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
34763 { (case "(($ac_try" in
34764 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
34765 *) ac_try_echo
=$ac_try;;
34767 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34768 (eval "$ac_try") 2>&5
34770 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34771 (exit $ac_status); }; }; then
34772 wx_cv_func_snprintf_pos_params
=no
34774 echo "$as_me: program exited with status $ac_status" >&5
34775 echo "$as_me: failed program was:" >&5
34776 sed 's/^/| /' conftest.
$ac_ext >&5
34778 ( exit $ac_status )
34779 wx_cv_func_snprintf_pos_params
=yes
34781 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
34788 { echo "$as_me:$LINENO: result: $wx_cv_func_snprintf_pos_params" >&5
34789 echo "${ECHO_T}$wx_cv_func_snprintf_pos_params" >&6; }
34791 if test "$wx_cv_func_snprintf_pos_params" = "yes"; then
34792 cat >>confdefs.h
<<\_ACEOF
34793 #define HAVE_UNIX98_PRINTF 1
34800 if test "$wxUSE_UNICODE" = yes; then
34803 for ac_func
in swprintf
34805 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34806 { echo "$as_me:$LINENO: checking for $ac_func" >&5
34807 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
34808 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
34809 echo $ECHO_N "(cached) $ECHO_C" >&6
34811 cat >conftest.
$ac_ext <<_ACEOF
34814 cat confdefs.h
>>conftest.
$ac_ext
34815 cat >>conftest.
$ac_ext <<_ACEOF
34816 /* end confdefs.h. */
34817 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34818 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34819 #define $ac_func innocuous_$ac_func
34821 /* System header to define __stub macros and hopefully few prototypes,
34822 which can conflict with char $ac_func (); below.
34823 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34824 <limits.h> exists even on freestanding compilers. */
34827 # include <limits.h>
34829 # include <assert.h>
34834 /* Override any GCC internal prototype to avoid an error.
34835 Use char because int might match the return type of a GCC
34836 builtin and then its argument prototype would still apply. */
34841 /* The GNU C library defines this for functions which it implements
34842 to always fail with ENOSYS. Some functions are actually named
34843 something starting with __ and the normal name is an alias. */
34844 #if defined __stub_$ac_func || defined __stub___$ac_func
34851 return $ac_func ();
34856 rm -f conftest.
$ac_objext conftest
$ac_exeext
34857 if { (ac_try
="$ac_link"
34858 case "(($ac_try" in
34859 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
34860 *) ac_try_echo=$ac_try;;
34862 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34863 (eval "$ac_link") 2>conftest.er1
34865 grep -v '^ *+' conftest.er1 >conftest.err
34867 cat conftest.err >&5
34868 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34869 (exit $ac_status); } && {
34870 test -z "$ac_c_werror_flag" ||
34871 test ! -s conftest.err
34872 } && test -s conftest$ac_exeext &&
34873 $as_test_x conftest$ac_exeext; then
34874 eval "$as_ac_var=yes"
34876 echo "$as_me: failed program was:" >&5
34877 sed 's/^/| /' conftest.$ac_ext >&5
34879 eval "$as_ac_var=no"
34882 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
34883 conftest$ac_exeext conftest.$ac_ext
34885 ac_res=`eval echo '${'$as_ac_var'}'`
34886 { echo "$as_me:$LINENO: result: $ac_res" >&5
34887 echo "${ECHO_T}$ac_res" >&6; }
34888 if test `eval echo '${'$as_ac_var'}'` = yes; then
34889 cat >>confdefs.h <<_ACEOF
34890 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34897 if test "$ac_cv_func_swprintf" = "yes"; then
34898 { echo "$as_me:$LINENO: checking if swprintf declaration is broken" >&5
34899 echo $ECHO_N "checking if swprintf declaration is broken... $ECHO_C" >&6; }
34900 if test "${wx_cv_func_broken_swprintf_decl+set}" = set; then
34901 echo $ECHO_N "(cached) $ECHO_C" >&6
34904 cat >conftest.$ac_ext <<_ACEOF
34907 cat confdefs.h >>conftest.$ac_ext
34908 cat >>conftest.$ac_ext <<_ACEOF
34909 /* end confdefs.h. */
34912 #include <stdarg.h>
34920 const wchar_t *fmt = L"test";
34921 swprintf(buf, 10u, fmt);
34927 rm -f conftest.$ac_objext
34928 if { (ac_try="$ac_compile"
34929 case "(($ac_try" in
34930 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
34931 *) ac_try_echo
=$ac_try;;
34933 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34934 (eval "$ac_compile") 2>conftest.er1
34936 grep -v '^ *+' conftest.er1
>conftest.err
34938 cat conftest.err
>&5
34939 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34940 (exit $ac_status); } && {
34941 test -z "$ac_c_werror_flag" ||
34942 test ! -s conftest.err
34943 } && test -s conftest.
$ac_objext; then
34944 wx_cv_func_broken_swprintf_decl
=no
34946 echo "$as_me: failed program was:" >&5
34947 sed 's/^/| /' conftest.
$ac_ext >&5
34949 wx_cv_func_broken_swprintf_decl
=yes
34953 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
34957 { echo "$as_me:$LINENO: result: $wx_cv_func_broken_swprintf_decl" >&5
34958 echo "${ECHO_T}$wx_cv_func_broken_swprintf_decl" >&6; }
34960 if test "$wx_cv_func_broken_swprintf_decl" = "yes"; then
34961 cat >>confdefs.h
<<\_ACEOF
34962 #define HAVE_BROKEN_SWPRINTF_DECL 1
34968 wchar_headers
="#include <stdio.h>
34969 #include <wchar.h>"
34972 { echo "$as_me:$LINENO: checking for widec.h" >&5
34973 echo $ECHO_N "checking for widec.h... $ECHO_C" >&6; }
34974 if test "${ac_cv_header_widec_h+set}" = set; then
34975 echo $ECHO_N "(cached) $ECHO_C" >&6
34977 cat >conftest.
$ac_ext <<_ACEOF
34980 cat confdefs.h
>>conftest.
$ac_ext
34981 cat >>conftest.
$ac_ext <<_ACEOF
34982 /* end confdefs.h. */
34983 $ac_includes_default
34987 rm -f conftest.
$ac_objext
34988 if { (ac_try
="$ac_compile"
34989 case "(($ac_try" in
34990 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
34991 *) ac_try_echo=$ac_try;;
34993 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34994 (eval "$ac_compile") 2>conftest.er1
34996 grep -v '^ *+' conftest.er1 >conftest.err
34998 cat conftest.err >&5
34999 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35000 (exit $ac_status); } && {
35001 test -z "$ac_c_werror_flag" ||
35002 test ! -s conftest.err
35003 } && test -s conftest.$ac_objext; then
35004 ac_cv_header_widec_h=yes
35006 echo "$as_me: failed program was:" >&5
35007 sed 's/^/| /' conftest.$ac_ext >&5
35009 ac_cv_header_widec_h=no
35012 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35014 { echo "$as_me:$LINENO: result: $ac_cv_header_widec_h" >&5
35015 echo "${ECHO_T}$ac_cv_header_widec_h" >&6; }
35018 if test "$ac_cv_header_widec_h" = "yes"; then
35019 wchar_headers="$wchar_headers
35020 #include <widec.h>"
35025 for wx_func in wputc wputchar putws fputws wprintf vswprintf
35027 { echo "$as_me:$LINENO: checking for $wx_func" >&5
35028 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
35029 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
35030 echo $ECHO_N "(cached) $ECHO_C" >&6
35033 cat >conftest.$ac_ext <<_ACEOF
35037 cat confdefs.h >>conftest.$ac_ext
35038 cat >>conftest.$ac_ext <<_ACEOF
35039 /* end confdefs.h. */
35042 $ac_includes_default
35058 rm -f conftest.$ac_objext conftest$ac_exeext
35059 if { (ac_try="$ac_link"
35060 case "(($ac_try" in
35061 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
35062 *) ac_try_echo
=$ac_try;;
35064 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35065 (eval "$ac_link") 2>conftest.er1
35067 grep -v '^ *+' conftest.er1
>conftest.err
35069 cat conftest.err
>&5
35070 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35071 (exit $ac_status); } && {
35072 test -z "$ac_c_werror_flag" ||
35073 test ! -s conftest.err
35074 } && test -s conftest
$ac_exeext &&
35075 $as_test_x conftest
$ac_exeext; then
35076 eval wx_cv_func_
$wx_func=yes
35078 echo "$as_me: failed program was:" >&5
35079 sed 's/^/| /' conftest.
$ac_ext >&5
35081 eval wx_cv_func_
$wx_func=no
35084 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
35085 conftest
$ac_exeext conftest.
$ac_ext
35088 ac_res
=`eval echo '${'wx_cv_func_$wx_func'}'`
35089 { echo "$as_me:$LINENO: result: $ac_res" >&5
35090 echo "${ECHO_T}$ac_res" >&6; }
35092 if eval test \
$wx_cv_func_$wx_func = yes
35094 cat >>confdefs.h
<<_ACEOF
35095 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
35106 { echo "$as_me:$LINENO: checking for _vsnwprintf" >&5
35107 echo $ECHO_N "checking for _vsnwprintf... $ECHO_C" >&6; }
35108 cat >conftest.
$ac_ext <<_ACEOF
35111 cat confdefs.h
>>conftest.
$ac_ext
35112 cat >>conftest.
$ac_ext <<_ACEOF
35113 /* end confdefs.h. */
35123 rm -f conftest.
$ac_objext
35124 if { (ac_try
="$ac_compile"
35125 case "(($ac_try" in
35126 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
35127 *) ac_try_echo=$ac_try;;
35129 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35130 (eval "$ac_compile") 2>conftest.er1
35132 grep -v '^ *+' conftest.er1 >conftest.err
35134 cat conftest.err >&5
35135 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35136 (exit $ac_status); } && {
35137 test -z "$ac_c_werror_flag" ||
35138 test ! -s conftest.err
35139 } && test -s conftest.$ac_objext; then
35140 { echo "$as_me:$LINENO: result: yes" >&5
35141 echo "${ECHO_T}yes" >&6; }
35142 cat >>confdefs.h <<\_ACEOF
35143 #define HAVE__VSNWPRINTF 1
35147 echo "$as_me: failed program was:" >&5
35148 sed 's/^/| /' conftest.$ac_ext >&5
35150 { echo "$as_me:$LINENO: result: no" >&5
35151 echo "${ECHO_T}no" >&6; }
35154 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext;
35157 if test "x$ac_cv_header_fnmatch_h" = "xyes"; then
35159 for wx_func in fnmatch
35161 { echo "$as_me:$LINENO: checking for $wx_func" >&5
35162 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
35163 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
35164 echo $ECHO_N "(cached) $ECHO_C" >&6
35167 cat >conftest.$ac_ext <<_ACEOF
35171 cat confdefs.h >>conftest.$ac_ext
35172 cat >>conftest.$ac_ext <<_ACEOF
35173 /* end confdefs.h. */
35175 #include <fnmatch.h>
35176 $ac_includes_default
35192 rm -f conftest.$ac_objext conftest$ac_exeext
35193 if { (ac_try="$ac_link"
35194 case "(($ac_try" in
35195 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
35196 *) ac_try_echo
=$ac_try;;
35198 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35199 (eval "$ac_link") 2>conftest.er1
35201 grep -v '^ *+' conftest.er1
>conftest.err
35203 cat conftest.err
>&5
35204 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35205 (exit $ac_status); } && {
35206 test -z "$ac_c_werror_flag" ||
35207 test ! -s conftest.err
35208 } && test -s conftest
$ac_exeext &&
35209 $as_test_x conftest
$ac_exeext; then
35210 eval wx_cv_func_
$wx_func=yes
35212 echo "$as_me: failed program was:" >&5
35213 sed 's/^/| /' conftest.
$ac_ext >&5
35215 eval wx_cv_func_
$wx_func=no
35218 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
35219 conftest
$ac_exeext conftest.
$ac_ext
35222 ac_res
=`eval echo '${'wx_cv_func_$wx_func'}'`
35223 { echo "$as_me:$LINENO: result: $ac_res" >&5
35224 echo "${ECHO_T}$ac_res" >&6; }
35226 if eval test \
$wx_cv_func_$wx_func = yes
35228 cat >>confdefs.h
<<_ACEOF
35229 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
35241 if test "$wxUSE_FILE" = "yes"; then
35243 for wx_func
in fsync
35245 { echo "$as_me:$LINENO: checking for $wx_func" >&5
35246 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
35247 if { as_var
=wx_cv_func_
$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
35248 echo $ECHO_N "(cached) $ECHO_C" >&6
35251 cat >conftest.
$ac_ext <<_ACEOF
35255 cat confdefs.h
>>conftest.
$ac_ext
35256 cat >>conftest.
$ac_ext <<_ACEOF
35257 /* end confdefs.h. */
35260 $ac_includes_default
35276 rm -f conftest.
$ac_objext conftest
$ac_exeext
35277 if { (ac_try
="$ac_link"
35278 case "(($ac_try" in
35279 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
35280 *) ac_try_echo=$ac_try;;
35282 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35283 (eval "$ac_link") 2>conftest.er1
35285 grep -v '^ *+' conftest.er1 >conftest.err
35287 cat conftest.err >&5
35288 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35289 (exit $ac_status); } && {
35290 test -z "$ac_c_werror_flag" ||
35291 test ! -s conftest.err
35292 } && test -s conftest$ac_exeext &&
35293 $as_test_x conftest$ac_exeext; then
35294 eval wx_cv_func_$wx_func=yes
35296 echo "$as_me: failed program was:" >&5
35297 sed 's/^/| /' conftest.$ac_ext >&5
35299 eval wx_cv_func_$wx_func=no
35302 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35303 conftest$ac_exeext conftest.$ac_ext
35306 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
35307 { echo "$as_me:$LINENO: result: $ac_res" >&5
35308 echo "${ECHO_T}$ac_res" >&6; }
35310 if eval test \$wx_cv_func_$wx_func = yes
35312 cat >>confdefs.h <<_ACEOF
35313 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
35326 ac_cpp='$CXXCPP $CPPFLAGS'
35327 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35328 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35329 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35332 for wx_func in round
35334 { echo "$as_me:$LINENO: checking for $wx_func" >&5
35335 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
35336 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
35337 echo $ECHO_N "(cached) $ECHO_C" >&6
35340 cat >conftest.$ac_ext <<_ACEOF
35344 cat confdefs.h >>conftest.$ac_ext
35345 cat >>conftest.$ac_ext <<_ACEOF
35346 /* end confdefs.h. */
35349 $ac_includes_default
35365 rm -f conftest.$ac_objext conftest$ac_exeext
35366 if { (ac_try="$ac_link"
35367 case "(($ac_try" in
35368 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
35369 *) ac_try_echo
=$ac_try;;
35371 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35372 (eval "$ac_link") 2>conftest.er1
35374 grep -v '^ *+' conftest.er1
>conftest.err
35376 cat conftest.err
>&5
35377 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35378 (exit $ac_status); } && {
35379 test -z "$ac_cxx_werror_flag" ||
35380 test ! -s conftest.err
35381 } && test -s conftest
$ac_exeext &&
35382 $as_test_x conftest
$ac_exeext; then
35383 eval wx_cv_func_
$wx_func=yes
35385 echo "$as_me: failed program was:" >&5
35386 sed 's/^/| /' conftest.
$ac_ext >&5
35388 eval wx_cv_func_
$wx_func=no
35391 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
35392 conftest
$ac_exeext conftest.
$ac_ext
35395 ac_res
=`eval echo '${'wx_cv_func_$wx_func'}'`
35396 { echo "$as_me:$LINENO: result: $ac_res" >&5
35397 echo "${ECHO_T}$ac_res" >&6; }
35399 if eval test \
$wx_cv_func_$wx_func = yes
35401 cat >>confdefs.h
<<_ACEOF
35402 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
35413 ac_cpp
='$CPP $CPPFLAGS'
35414 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35415 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35416 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
35419 if test "$TOOLKIT" != "MSW"; then
35425 # Check whether --with-libiconv-prefix was given.
35426 if test "${with_libiconv_prefix+set}" = set; then
35427 withval
=$with_libiconv_prefix;
35428 for dir
in `echo "$withval" | tr : ' '`; do
35429 if test -d $dir/include
; then CPPFLAGS
="$CPPFLAGS -I$dir/include"; fi
35430 if test -d $dir/lib
; then LDFLAGS
="$LDFLAGS -L$dir/lib"; fi
35436 { echo "$as_me:$LINENO: checking for iconv" >&5
35437 echo $ECHO_N "checking for iconv... $ECHO_C" >&6; }
35438 if test "${am_cv_func_iconv+set}" = set; then
35439 echo $ECHO_N "(cached) $ECHO_C" >&6
35442 am_cv_func_iconv
="no, consider installing GNU libiconv"
35444 cat >conftest.
$ac_ext <<_ACEOF
35447 cat confdefs.h
>>conftest.
$ac_ext
35448 cat >>conftest.
$ac_ext <<_ACEOF
35449 /* end confdefs.h. */
35450 #include <stdlib.h>
35455 iconv_t cd = iconv_open("","");
35456 iconv(cd,NULL,NULL,NULL,NULL);
35462 rm -f conftest.
$ac_objext conftest
$ac_exeext
35463 if { (ac_try
="$ac_link"
35464 case "(($ac_try" in
35465 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
35466 *) ac_try_echo=$ac_try;;
35468 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35469 (eval "$ac_link") 2>conftest.er1
35471 grep -v '^ *+' conftest.er1 >conftest.err
35473 cat conftest.err >&5
35474 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35475 (exit $ac_status); } && {
35476 test -z "$ac_c_werror_flag" ||
35477 test ! -s conftest.err
35478 } && test -s conftest$ac_exeext &&
35479 $as_test_x conftest$ac_exeext; then
35480 am_cv_func_iconv=yes
35482 echo "$as_me: failed program was:" >&5
35483 sed 's/^/| /' conftest.$ac_ext >&5
35488 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35489 conftest$ac_exeext conftest.$ac_ext
35490 if test "$am_cv_func_iconv" != yes; then
35491 am_save_LIBS="$LIBS"
35492 LIBS="$LIBS -liconv"
35493 cat >conftest.$ac_ext <<_ACEOF
35496 cat confdefs.h >>conftest.$ac_ext
35497 cat >>conftest.$ac_ext <<_ACEOF
35498 /* end confdefs.h. */
35499 #include <stdlib.h>
35504 iconv_t cd = iconv_open("","");
35505 iconv(cd,NULL,NULL,NULL,NULL);
35511 rm -f conftest.$ac_objext conftest$ac_exeext
35512 if { (ac_try="$ac_link"
35513 case "(($ac_try" in
35514 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
35515 *) ac_try_echo
=$ac_try;;
35517 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35518 (eval "$ac_link") 2>conftest.er1
35520 grep -v '^ *+' conftest.er1
>conftest.err
35522 cat conftest.err
>&5
35523 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35524 (exit $ac_status); } && {
35525 test -z "$ac_c_werror_flag" ||
35526 test ! -s conftest.err
35527 } && test -s conftest
$ac_exeext &&
35528 $as_test_x conftest
$ac_exeext; then
35529 am_cv_lib_iconv
=yes
35530 am_cv_func_iconv
=yes
35532 echo "$as_me: failed program was:" >&5
35533 sed 's/^/| /' conftest.
$ac_ext >&5
35538 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
35539 conftest
$ac_exeext conftest.
$ac_ext
35540 LIBS
="$am_save_LIBS"
35544 { echo "$as_me:$LINENO: result: $am_cv_func_iconv" >&5
35545 echo "${ECHO_T}$am_cv_func_iconv" >&6; }
35546 if test "$am_cv_func_iconv" = yes; then
35548 cat >>confdefs.h
<<\_ACEOF
35549 #define HAVE_ICONV 1
35552 { echo "$as_me:$LINENO: checking if iconv needs const" >&5
35553 echo $ECHO_N "checking if iconv needs const... $ECHO_C" >&6; }
35554 if test "${wx_cv_func_iconv_const+set}" = set; then
35555 echo $ECHO_N "(cached) $ECHO_C" >&6
35557 cat >conftest.
$ac_ext <<_ACEOF
35560 cat confdefs.h
>>conftest.
$ac_ext
35561 cat >>conftest.
$ac_ext <<_ACEOF
35562 /* end confdefs.h. */
35564 #include <stdlib.h>
35570 #if defined(__STDC__) || defined(__cplusplus)
35571 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
35584 rm -f conftest.
$ac_objext
35585 if { (ac_try
="$ac_compile"
35586 case "(($ac_try" in
35587 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
35588 *) ac_try_echo=$ac_try;;
35590 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35591 (eval "$ac_compile") 2>conftest.er1
35593 grep -v '^ *+' conftest.er1 >conftest.err
35595 cat conftest.err >&5
35596 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35597 (exit $ac_status); } && {
35598 test -z "$ac_c_werror_flag" ||
35599 test ! -s conftest.err
35600 } && test -s conftest.$ac_objext; then
35601 wx_cv_func_iconv_const="no"
35603 echo "$as_me: failed program was:" >&5
35604 sed 's/^/| /' conftest.$ac_ext >&5
35606 wx_cv_func_iconv_const="yes"
35610 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35613 { echo "$as_me:$LINENO: result: $wx_cv_func_iconv_const" >&5
35614 echo "${ECHO_T}$wx_cv_func_iconv_const" >&6; }
35617 if test "x$wx_cv_func_iconv_const" = "xyes"; then
35618 iconv_const="const"
35622 cat >>confdefs.h <<_ACEOF
35623 #define ICONV_CONST $iconv_const
35628 if test "$am_cv_lib_iconv" = yes; then
35633 LIBS="$LIBICONV $LIBS"
35635 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes" -a "$wxUSE_UNIX" = "yes"; then
35637 for ac_func in sigaction
35639 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35640 { echo "$as_me:$LINENO: checking for $ac_func" >&5
35641 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
35642 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
35643 echo $ECHO_N "(cached) $ECHO_C" >&6
35645 cat >conftest.$ac_ext <<_ACEOF
35648 cat confdefs.h >>conftest.$ac_ext
35649 cat >>conftest.$ac_ext <<_ACEOF
35650 /* end confdefs.h. */
35651 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35652 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35653 #define $ac_func innocuous_$ac_func
35655 /* System header to define __stub macros and hopefully few prototypes,
35656 which can conflict with char $ac_func (); below.
35657 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35658 <limits.h> exists even on freestanding compilers. */
35661 # include <limits.h>
35663 # include <assert.h>
35668 /* Override any GCC internal prototype to avoid an error.
35669 Use char because int might match the return type of a GCC
35670 builtin and then its argument prototype would still apply. */
35675 /* The GNU C library defines this for functions which it implements
35676 to always fail with ENOSYS. Some functions are actually named
35677 something starting with __ and the normal name is an alias. */
35678 #if defined __stub_$ac_func || defined __stub___$ac_func
35685 return $ac_func ();
35690 rm -f conftest.$ac_objext conftest$ac_exeext
35691 if { (ac_try="$ac_link"
35692 case "(($ac_try" in
35693 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
35694 *) ac_try_echo
=$ac_try;;
35696 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35697 (eval "$ac_link") 2>conftest.er1
35699 grep -v '^ *+' conftest.er1
>conftest.err
35701 cat conftest.err
>&5
35702 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35703 (exit $ac_status); } && {
35704 test -z "$ac_c_werror_flag" ||
35705 test ! -s conftest.err
35706 } && test -s conftest
$ac_exeext &&
35707 $as_test_x conftest
$ac_exeext; then
35708 eval "$as_ac_var=yes"
35710 echo "$as_me: failed program was:" >&5
35711 sed 's/^/| /' conftest.
$ac_ext >&5
35713 eval "$as_ac_var=no"
35716 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
35717 conftest
$ac_exeext conftest.
$ac_ext
35719 ac_res
=`eval echo '${'$as_ac_var'}'`
35720 { echo "$as_me:$LINENO: result: $ac_res" >&5
35721 echo "${ECHO_T}$ac_res" >&6; }
35722 if test `eval echo '${'$as_ac_var'}'` = yes; then
35723 cat >>confdefs.h
<<_ACEOF
35724 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35731 if test "$ac_cv_func_sigaction" = "no"; then
35732 { echo "$as_me:$LINENO: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&5
35733 echo "$as_me: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&2;}
35734 wxUSE_ON_FATAL_EXCEPTION
=no
35737 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
35738 { echo "$as_me:$LINENO: checking for sa_handler type" >&5
35739 echo $ECHO_N "checking for sa_handler type... $ECHO_C" >&6; }
35740 if test "${wx_cv_type_sa_handler+set}" = set; then
35741 echo $ECHO_N "(cached) $ECHO_C" >&6
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
35750 cat >conftest.
$ac_ext <<_ACEOF
35753 cat confdefs.h
>>conftest.
$ac_ext
35754 cat >>conftest.
$ac_ext <<_ACEOF
35755 /* end confdefs.h. */
35756 #include <signal.h>
35761 extern void testSigHandler(int);
35763 struct sigaction sa;
35764 sa.sa_handler = testSigHandler;
35770 rm -f conftest.
$ac_objext
35771 if { (ac_try
="$ac_compile"
35772 case "(($ac_try" in
35773 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
35774 *) ac_try_echo=$ac_try;;
35776 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35777 (eval "$ac_compile") 2>conftest.er1
35779 grep -v '^ *+' conftest.er1 >conftest.err
35781 cat conftest.err >&5
35782 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35783 (exit $ac_status); } && {
35784 test -z "$ac_cxx_werror_flag" ||
35785 test ! -s conftest.err
35786 } && test -s conftest.$ac_objext; then
35788 wx_cv_type_sa_handler=int
35791 echo "$as_me: failed program was:" >&5
35792 sed 's/^/| /' conftest.$ac_ext >&5
35795 wx_cv_type_sa_handler=void
35799 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35801 ac_cpp='$CPP $CPPFLAGS'
35802 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35803 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35804 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35808 { echo "$as_me:$LINENO: result: $wx_cv_type_sa_handler" >&5
35809 echo "${ECHO_T}$wx_cv_type_sa_handler" >&6; }
35811 cat >>confdefs.h <<_ACEOF
35812 #define wxTYPE_SA_HANDLER $wx_cv_type_sa_handler
35818 if test "$wxUSE_STACKWALKER" = "yes" -a "$wxUSE_UNIX" = "yes"; then
35819 { echo "$as_me:$LINENO: checking for backtrace() in <execinfo.h>" >&5
35820 echo $ECHO_N "checking for backtrace() in <execinfo.h>... $ECHO_C" >&6; }
35821 if test "${wx_cv_func_backtrace+set}" = set; then
35822 echo $ECHO_N "(cached) $ECHO_C" >&6
35826 ac_cpp='$CXXCPP $CPPFLAGS'
35827 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35828 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35829 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35831 cat >conftest.$ac_ext <<_ACEOF
35834 cat confdefs.h >>conftest.$ac_ext
35835 cat >>conftest.$ac_ext <<_ACEOF
35836 /* end confdefs.h. */
35837 #include <execinfo.h>
35845 backtrace(trace, 1);
35846 messages = backtrace_symbols(trace, 1);
35852 rm -f conftest.$ac_objext
35853 if { (ac_try="$ac_compile"
35854 case "(($ac_try" in
35855 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
35856 *) ac_try_echo
=$ac_try;;
35858 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35859 (eval "$ac_compile") 2>conftest.er1
35861 grep -v '^ *+' conftest.er1
>conftest.err
35863 cat conftest.err
>&5
35864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35865 (exit $ac_status); } && {
35866 test -z "$ac_cxx_werror_flag" ||
35867 test ! -s conftest.err
35868 } && test -s conftest.
$ac_objext; then
35869 wx_cv_func_backtrace
=yes
35871 echo "$as_me: failed program was:" >&5
35872 sed 's/^/| /' conftest.
$ac_ext >&5
35874 wx_cv_func_backtrace
=no
35878 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
35880 ac_cpp
='$CPP $CPPFLAGS'
35881 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35882 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35883 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
35888 { echo "$as_me:$LINENO: result: $wx_cv_func_backtrace" >&5
35889 echo "${ECHO_T}$wx_cv_func_backtrace" >&6; }
35892 if test "$wx_cv_func_backtrace" = "no"; then
35893 { echo "$as_me:$LINENO: WARNING: backtrace() is not available, wxStackWalker will not be available" >&5
35894 echo "$as_me: WARNING: backtrace() is not available, wxStackWalker will not be available" >&2;}
35895 wxUSE_STACKWALKER
=no
35897 { echo "$as_me:$LINENO: checking for __cxa_demangle() in <cxxabi.h>" >&5
35898 echo $ECHO_N "checking for __cxa_demangle() in <cxxabi.h>... $ECHO_C" >&6; }
35899 if test "${wx_cv_func_cxa_demangle+set}" = set; then
35900 echo $ECHO_N "(cached) $ECHO_C" >&6
35904 ac_cpp
='$CXXCPP $CPPFLAGS'
35905 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35906 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35907 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
35909 cat >conftest.
$ac_ext <<_ACEOF
35912 cat confdefs.h
>>conftest.
$ac_ext
35913 cat >>conftest.
$ac_ext <<_ACEOF
35914 /* end confdefs.h. */
35915 #include <cxxabi.h>
35921 __cxxabiv1::__cxa_demangle("foo", 0, 0, &rc);
35927 rm -f conftest.
$ac_objext conftest
$ac_exeext
35928 if { (ac_try
="$ac_link"
35929 case "(($ac_try" in
35930 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
35931 *) ac_try_echo=$ac_try;;
35933 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35934 (eval "$ac_link") 2>conftest.er1
35936 grep -v '^ *+' conftest.er1 >conftest.err
35938 cat conftest.err >&5
35939 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35940 (exit $ac_status); } && {
35941 test -z "$ac_cxx_werror_flag" ||
35942 test ! -s conftest.err
35943 } && test -s conftest$ac_exeext &&
35944 $as_test_x conftest$ac_exeext; then
35945 wx_cv_func_cxa_demangle=yes
35947 echo "$as_me: failed program was:" >&5
35948 sed 's/^/| /' conftest.$ac_ext >&5
35950 wx_cv_func_cxa_demangle=no
35954 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35955 conftest$ac_exeext conftest.$ac_ext
35957 ac_cpp='$CPP $CPPFLAGS'
35958 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35959 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35960 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35965 { echo "$as_me:$LINENO: result: $wx_cv_func_cxa_demangle" >&5
35966 echo "${ECHO_T}$wx_cv_func_cxa_demangle" >&6; }
35968 if test "$wx_cv_func_cxa_demangle" = "yes"; then
35969 cat >>confdefs.h <<\_ACEOF
35970 #define HAVE_CXA_DEMANGLE 1
35977 if test "$wxUSE_STACKWALKER" = "yes" -a "$USE_WIN32" != "1" -a "$USE_UNIX" != "1"; then
35978 { echo "$as_me:$LINENO: WARNING: wxStackWalker is only available on Win32 and UNIX... disabled" >&5
35979 echo "$as_me: WARNING: wxStackWalker is only available on Win32 and UNIX... disabled" >&2;}
35980 wxUSE_STACKWALKER=no
35986 for ac_func in mkstemp mktemp
35988 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35989 { echo "$as_me:$LINENO: checking for $ac_func" >&5
35990 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
35991 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
35992 echo $ECHO_N "(cached) $ECHO_C" >&6
35994 cat >conftest.$ac_ext <<_ACEOF
35997 cat confdefs.h >>conftest.$ac_ext
35998 cat >>conftest.$ac_ext <<_ACEOF
35999 /* end confdefs.h. */
36000 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36001 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36002 #define $ac_func innocuous_$ac_func
36004 /* System header to define __stub macros and hopefully few prototypes,
36005 which can conflict with char $ac_func (); below.
36006 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36007 <limits.h> exists even on freestanding compilers. */
36010 # include <limits.h>
36012 # include <assert.h>
36017 /* Override any GCC internal prototype to avoid an error.
36018 Use char because int might match the return type of a GCC
36019 builtin and then its argument prototype would still apply. */
36024 /* The GNU C library defines this for functions which it implements
36025 to always fail with ENOSYS. Some functions are actually named
36026 something starting with __ and the normal name is an alias. */
36027 #if defined __stub_$ac_func || defined __stub___$ac_func
36034 return $ac_func ();
36039 rm -f conftest.$ac_objext conftest$ac_exeext
36040 if { (ac_try="$ac_link"
36041 case "(($ac_try" in
36042 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
36043 *) ac_try_echo
=$ac_try;;
36045 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36046 (eval "$ac_link") 2>conftest.er1
36048 grep -v '^ *+' conftest.er1
>conftest.err
36050 cat conftest.err
>&5
36051 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36052 (exit $ac_status); } && {
36053 test -z "$ac_c_werror_flag" ||
36054 test ! -s conftest.err
36055 } && test -s conftest
$ac_exeext &&
36056 $as_test_x conftest
$ac_exeext; then
36057 eval "$as_ac_var=yes"
36059 echo "$as_me: failed program was:" >&5
36060 sed 's/^/| /' conftest.
$ac_ext >&5
36062 eval "$as_ac_var=no"
36065 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
36066 conftest
$ac_exeext conftest.
$ac_ext
36068 ac_res
=`eval echo '${'$as_ac_var'}'`
36069 { echo "$as_me:$LINENO: result: $ac_res" >&5
36070 echo "${ECHO_T}$ac_res" >&6; }
36071 if test `eval echo '${'$as_ac_var'}'` = yes; then
36072 cat >>confdefs.h
<<_ACEOF
36073 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36080 { echo "$as_me:$LINENO: checking for statfs" >&5
36081 echo $ECHO_N "checking for statfs... $ECHO_C" >&6; }
36082 if test "${wx_cv_func_statfs+set}" = set; then
36083 echo $ECHO_N "(cached) $ECHO_C" >&6
36085 cat >conftest.
$ac_ext <<_ACEOF
36088 cat confdefs.h
>>conftest.
$ac_ext
36089 cat >>conftest.
$ac_ext <<_ACEOF
36090 /* end confdefs.h. */
36092 #if defined(__BSD__)
36093 #include <sys/param.h>
36094 #include <sys/mount.h>
36096 #include <sys/vfs.h>
36114 rm -f conftest.
$ac_objext
36115 if { (ac_try
="$ac_compile"
36116 case "(($ac_try" in
36117 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
36118 *) ac_try_echo=$ac_try;;
36120 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36121 (eval "$ac_compile") 2>conftest.er1
36123 grep -v '^ *+' conftest.er1 >conftest.err
36125 cat conftest.err >&5
36126 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36127 (exit $ac_status); } && {
36128 test -z "$ac_c_werror_flag" ||
36129 test ! -s conftest.err
36130 } && test -s conftest.$ac_objext; then
36131 wx_cv_func_statfs=yes
36133 echo "$as_me: failed program was:" >&5
36134 sed 's/^/| /' conftest.$ac_ext >&5
36136 wx_cv_func_statfs=no
36140 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36143 { echo "$as_me:$LINENO: result: $wx_cv_func_statfs" >&5
36144 echo "${ECHO_T}$wx_cv_func_statfs" >&6; }
36146 if test "$wx_cv_func_statfs" = "yes"; then
36147 { echo "$as_me:$LINENO: checking for statfs declaration" >&5
36148 echo $ECHO_N "checking for statfs declaration... $ECHO_C" >&6; }
36149 if test "${wx_cv_func_statfs_decl+set}" = set; then
36150 echo $ECHO_N "(cached) $ECHO_C" >&6
36153 ac_cpp='$CXXCPP $CPPFLAGS'
36154 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36155 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36156 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36158 cat >conftest.$ac_ext <<_ACEOF
36161 cat confdefs.h >>conftest.$ac_ext
36162 cat >>conftest.$ac_ext <<_ACEOF
36163 /* end confdefs.h. */
36165 #if defined(__BSD__)
36166 #include <sys/param.h>
36167 #include <sys/mount.h>
36169 #include <sys/vfs.h>
36183 rm -f conftest.$ac_objext
36184 if { (ac_try="$ac_compile"
36185 case "(($ac_try" in
36186 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
36187 *) ac_try_echo
=$ac_try;;
36189 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36190 (eval "$ac_compile") 2>conftest.er1
36192 grep -v '^ *+' conftest.er1
>conftest.err
36194 cat conftest.err
>&5
36195 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36196 (exit $ac_status); } && {
36197 test -z "$ac_cxx_werror_flag" ||
36198 test ! -s conftest.err
36199 } && test -s conftest.
$ac_objext; then
36200 wx_cv_func_statfs_decl
=yes
36202 echo "$as_me: failed program was:" >&5
36203 sed 's/^/| /' conftest.
$ac_ext >&5
36205 wx_cv_func_statfs_decl
=no
36209 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
36211 ac_cpp
='$CPP $CPPFLAGS'
36212 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36213 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36214 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
36218 { echo "$as_me:$LINENO: result: $wx_cv_func_statfs_decl" >&5
36219 echo "${ECHO_T}$wx_cv_func_statfs_decl" >&6; }
36221 if test "$wx_cv_func_statfs_decl" = "yes"; then
36222 cat >>confdefs.h
<<\_ACEOF
36223 #define HAVE_STATFS_DECL 1
36228 wx_cv_type_statvfs_t
="struct statfs"
36229 cat >>confdefs.h
<<\_ACEOF
36230 #define HAVE_STATFS 1
36234 { echo "$as_me:$LINENO: checking for statvfs" >&5
36235 echo $ECHO_N "checking for statvfs... $ECHO_C" >&6; }
36236 if test "${wx_cv_func_statvfs+set}" = set; then
36237 echo $ECHO_N "(cached) $ECHO_C" >&6
36239 cat >conftest.
$ac_ext <<_ACEOF
36242 cat confdefs.h
>>conftest.
$ac_ext
36243 cat >>conftest.
$ac_ext <<_ACEOF
36244 /* end confdefs.h. */
36246 #include <stddef.h>
36247 #include <sys/statvfs.h>
36253 statvfs("/", NULL);
36259 rm -f conftest.
$ac_objext
36260 if { (ac_try
="$ac_compile"
36261 case "(($ac_try" in
36262 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
36263 *) ac_try_echo=$ac_try;;
36265 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36266 (eval "$ac_compile") 2>conftest.er1
36268 grep -v '^ *+' conftest.er1 >conftest.err
36270 cat conftest.err >&5
36271 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36272 (exit $ac_status); } && {
36273 test -z "$ac_c_werror_flag" ||
36274 test ! -s conftest.err
36275 } && test -s conftest.$ac_objext; then
36276 wx_cv_func_statvfs=yes
36278 echo "$as_me: failed program was:" >&5
36279 sed 's/^/| /' conftest.$ac_ext >&5
36281 wx_cv_func_statvfs=no
36285 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36288 { echo "$as_me:$LINENO: result: $wx_cv_func_statvfs" >&5
36289 echo "${ECHO_T}$wx_cv_func_statvfs" >&6; }
36291 if test "$wx_cv_func_statvfs" = "yes"; then
36292 { echo "$as_me:$LINENO: checking for statvfs argument type" >&5
36293 echo $ECHO_N "checking for statvfs argument type... $ECHO_C" >&6; }
36294 if test "${wx_cv_type_statvfs_t+set}" = set; then
36295 echo $ECHO_N "(cached) $ECHO_C" >&6
36298 ac_cpp='$CXXCPP $CPPFLAGS'
36299 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36300 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36301 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36303 cat >conftest.$ac_ext <<_ACEOF
36306 cat confdefs.h >>conftest.$ac_ext
36307 cat >>conftest.$ac_ext <<_ACEOF
36308 /* end confdefs.h. */
36310 #include <sys/statvfs.h>
36327 rm -f conftest.$ac_objext
36328 if { (ac_try="$ac_compile"
36329 case "(($ac_try" in
36330 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
36331 *) ac_try_echo
=$ac_try;;
36333 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36334 (eval "$ac_compile") 2>conftest.er1
36336 grep -v '^ *+' conftest.er1
>conftest.err
36338 cat conftest.err
>&5
36339 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36340 (exit $ac_status); } && {
36341 test -z "$ac_cxx_werror_flag" ||
36342 test ! -s conftest.err
36343 } && test -s conftest.
$ac_objext; then
36344 wx_cv_type_statvfs_t
=statvfs_t
36346 echo "$as_me: failed program was:" >&5
36347 sed 's/^/| /' conftest.
$ac_ext >&5
36350 cat >conftest.
$ac_ext <<_ACEOF
36353 cat confdefs.h
>>conftest.
$ac_ext
36354 cat >>conftest.
$ac_ext <<_ACEOF
36355 /* end confdefs.h. */
36357 #include <sys/statvfs.h>
36374 rm -f conftest.
$ac_objext
36375 if { (ac_try
="$ac_compile"
36376 case "(($ac_try" in
36377 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
36378 *) ac_try_echo=$ac_try;;
36380 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36381 (eval "$ac_compile") 2>conftest.er1
36383 grep -v '^ *+' conftest.er1 >conftest.err
36385 cat conftest.err >&5
36386 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36387 (exit $ac_status); } && {
36388 test -z "$ac_cxx_werror_flag" ||
36389 test ! -s conftest.err
36390 } && test -s conftest.$ac_objext; then
36391 wx_cv_type_statvfs_t="struct statvfs"
36393 echo "$as_me: failed program was:" >&5
36394 sed 's/^/| /' conftest.$ac_ext >&5
36396 wx_cv_type_statvfs_t="unknown"
36400 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36405 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36407 ac_cpp='$CPP $CPPFLAGS'
36408 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36409 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36410 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36414 { echo "$as_me:$LINENO: result: $wx_cv_type_statvfs_t" >&5
36415 echo "${ECHO_T}$wx_cv_type_statvfs_t" >&6; }
36417 if test "$wx_cv_type_statvfs_t" != "unknown"; then
36418 cat >>confdefs.h <<\_ACEOF
36419 #define HAVE_STATVFS 1
36424 wx_cv_type_statvfs_t="unknown"
36428 if test "$wx_cv_type_statvfs_t" != "unknown"; then
36429 cat >>confdefs.h <<_ACEOF
36430 #define WX_STATFS_T $wx_cv_type_statvfs_t
36434 { echo "$as_me:$LINENO: WARNING: wxGetDiskSpace() function won't work without statfs()" >&5
36435 echo "$as_me: WARNING: wxGetDiskSpace() function won't work without statfs()" >&2;}
36438 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
36441 for ac_func in fcntl flock
36443 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36444 { echo "$as_me:$LINENO: checking for $ac_func" >&5
36445 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
36446 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
36447 echo $ECHO_N "(cached) $ECHO_C" >&6
36449 cat >conftest.$ac_ext <<_ACEOF
36452 cat confdefs.h >>conftest.$ac_ext
36453 cat >>conftest.$ac_ext <<_ACEOF
36454 /* end confdefs.h. */
36455 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36456 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36457 #define $ac_func innocuous_$ac_func
36459 /* System header to define __stub macros and hopefully few prototypes,
36460 which can conflict with char $ac_func (); below.
36461 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36462 <limits.h> exists even on freestanding compilers. */
36465 # include <limits.h>
36467 # include <assert.h>
36472 /* Override any GCC internal prototype to avoid an error.
36473 Use char because int might match the return type of a GCC
36474 builtin and then its argument prototype would still apply. */
36479 /* The GNU C library defines this for functions which it implements
36480 to always fail with ENOSYS. Some functions are actually named
36481 something starting with __ and the normal name is an alias. */
36482 #if defined __stub_$ac_func || defined __stub___$ac_func
36489 return $ac_func ();
36494 rm -f conftest.$ac_objext conftest$ac_exeext
36495 if { (ac_try="$ac_link"
36496 case "(($ac_try" in
36497 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
36498 *) ac_try_echo
=$ac_try;;
36500 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36501 (eval "$ac_link") 2>conftest.er1
36503 grep -v '^ *+' conftest.er1
>conftest.err
36505 cat conftest.err
>&5
36506 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36507 (exit $ac_status); } && {
36508 test -z "$ac_c_werror_flag" ||
36509 test ! -s conftest.err
36510 } && test -s conftest
$ac_exeext &&
36511 $as_test_x conftest
$ac_exeext; then
36512 eval "$as_ac_var=yes"
36514 echo "$as_me: failed program was:" >&5
36515 sed 's/^/| /' conftest.
$ac_ext >&5
36517 eval "$as_ac_var=no"
36520 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
36521 conftest
$ac_exeext conftest.
$ac_ext
36523 ac_res
=`eval echo '${'$as_ac_var'}'`
36524 { echo "$as_me:$LINENO: result: $ac_res" >&5
36525 echo "${ECHO_T}$ac_res" >&6; }
36526 if test `eval echo '${'$as_ac_var'}'` = yes; then
36527 cat >>confdefs.h
<<_ACEOF
36528 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36535 if test "$ac_cv_func_fcntl" != "yes" -a "$ac_cv_func_flock" != "yes"; then
36536 { echo "$as_me:$LINENO: WARNING: wxSingleInstanceChecker not available" >&5
36537 echo "$as_me: WARNING: wxSingleInstanceChecker not available" >&2;}
36538 wxUSE_SNGLINST_CHECKER
=no
36543 for ac_func
in timegm
36545 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36546 { echo "$as_me:$LINENO: checking for $ac_func" >&5
36547 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
36548 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
36549 echo $ECHO_N "(cached) $ECHO_C" >&6
36551 cat >conftest.
$ac_ext <<_ACEOF
36554 cat confdefs.h
>>conftest.
$ac_ext
36555 cat >>conftest.
$ac_ext <<_ACEOF
36556 /* end confdefs.h. */
36557 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36558 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36559 #define $ac_func innocuous_$ac_func
36561 /* System header to define __stub macros and hopefully few prototypes,
36562 which can conflict with char $ac_func (); below.
36563 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36564 <limits.h> exists even on freestanding compilers. */
36567 # include <limits.h>
36569 # include <assert.h>
36574 /* Override any GCC internal prototype to avoid an error.
36575 Use char because int might match the return type of a GCC
36576 builtin and then its argument prototype would still apply. */
36581 /* The GNU C library defines this for functions which it implements
36582 to always fail with ENOSYS. Some functions are actually named
36583 something starting with __ and the normal name is an alias. */
36584 #if defined __stub_$ac_func || defined __stub___$ac_func
36591 return $ac_func ();
36596 rm -f conftest.
$ac_objext conftest
$ac_exeext
36597 if { (ac_try
="$ac_link"
36598 case "(($ac_try" in
36599 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
36600 *) ac_try_echo=$ac_try;;
36602 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36603 (eval "$ac_link") 2>conftest.er1
36605 grep -v '^ *+' conftest.er1 >conftest.err
36607 cat conftest.err >&5
36608 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36609 (exit $ac_status); } && {
36610 test -z "$ac_c_werror_flag" ||
36611 test ! -s conftest.err
36612 } && test -s conftest$ac_exeext &&
36613 $as_test_x conftest$ac_exeext; then
36614 eval "$as_ac_var=yes"
36616 echo "$as_me: failed program was:" >&5
36617 sed 's/^/| /' conftest.$ac_ext >&5
36619 eval "$as_ac_var=no"
36622 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36623 conftest$ac_exeext conftest.$ac_ext
36625 ac_res=`eval echo '${'$as_ac_var'}'`
36626 { echo "$as_me:$LINENO: result: $ac_res" >&5
36627 echo "${ECHO_T}$ac_res" >&6; }
36628 if test `eval echo '${'$as_ac_var'}'` = yes; then
36629 cat >>confdefs.h <<_ACEOF
36630 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36639 for ac_func in putenv setenv
36641 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36642 { echo "$as_me:$LINENO: checking for $ac_func" >&5
36643 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
36644 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
36645 echo $ECHO_N "(cached) $ECHO_C" >&6
36647 cat >conftest.$ac_ext <<_ACEOF
36650 cat confdefs.h >>conftest.$ac_ext
36651 cat >>conftest.$ac_ext <<_ACEOF
36652 /* end confdefs.h. */
36653 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36654 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36655 #define $ac_func innocuous_$ac_func
36657 /* System header to define __stub macros and hopefully few prototypes,
36658 which can conflict with char $ac_func (); below.
36659 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36660 <limits.h> exists even on freestanding compilers. */
36663 # include <limits.h>
36665 # include <assert.h>
36670 /* Override any GCC internal prototype to avoid an error.
36671 Use char because int might match the return type of a GCC
36672 builtin and then its argument prototype would still apply. */
36677 /* The GNU C library defines this for functions which it implements
36678 to always fail with ENOSYS. Some functions are actually named
36679 something starting with __ and the normal name is an alias. */
36680 #if defined __stub_$ac_func || defined __stub___$ac_func
36687 return $ac_func ();
36692 rm -f conftest.$ac_objext conftest$ac_exeext
36693 if { (ac_try="$ac_link"
36694 case "(($ac_try" in
36695 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
36696 *) ac_try_echo
=$ac_try;;
36698 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36699 (eval "$ac_link") 2>conftest.er1
36701 grep -v '^ *+' conftest.er1
>conftest.err
36703 cat conftest.err
>&5
36704 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36705 (exit $ac_status); } && {
36706 test -z "$ac_c_werror_flag" ||
36707 test ! -s conftest.err
36708 } && test -s conftest
$ac_exeext &&
36709 $as_test_x conftest
$ac_exeext; then
36710 eval "$as_ac_var=yes"
36712 echo "$as_me: failed program was:" >&5
36713 sed 's/^/| /' conftest.
$ac_ext >&5
36715 eval "$as_ac_var=no"
36718 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
36719 conftest
$ac_exeext conftest.
$ac_ext
36721 ac_res
=`eval echo '${'$as_ac_var'}'`
36722 { echo "$as_me:$LINENO: result: $ac_res" >&5
36723 echo "${ECHO_T}$ac_res" >&6; }
36724 if test `eval echo '${'$as_ac_var'}'` = yes; then
36725 cat >>confdefs.h
<<_ACEOF
36726 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36733 HAVE_SOME_SLEEP_FUNC
=0
36734 if test "$USE_BEOS" = 1; then
36735 cat >>confdefs.h
<<\_ACEOF
36736 #define HAVE_SLEEP 1
36739 HAVE_SOME_SLEEP_FUNC
=1
36742 if test "$USE_DARWIN" = 1; then
36743 cat >>confdefs.h
<<\_ACEOF
36744 #define HAVE_USLEEP 1
36747 HAVE_SOME_SLEEP_FUNC
=1
36750 if test "$HAVE_SOME_SLEEP_FUNC" != 1; then
36753 for ac_func
in nanosleep
36755 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36756 { echo "$as_me:$LINENO: checking for $ac_func" >&5
36757 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
36758 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
36759 echo $ECHO_N "(cached) $ECHO_C" >&6
36761 cat >conftest.
$ac_ext <<_ACEOF
36764 cat confdefs.h
>>conftest.
$ac_ext
36765 cat >>conftest.
$ac_ext <<_ACEOF
36766 /* end confdefs.h. */
36767 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36768 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36769 #define $ac_func innocuous_$ac_func
36771 /* System header to define __stub macros and hopefully few prototypes,
36772 which can conflict with char $ac_func (); below.
36773 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36774 <limits.h> exists even on freestanding compilers. */
36777 # include <limits.h>
36779 # include <assert.h>
36784 /* Override any GCC internal prototype to avoid an error.
36785 Use char because int might match the return type of a GCC
36786 builtin and then its argument prototype would still apply. */
36791 /* The GNU C library defines this for functions which it implements
36792 to always fail with ENOSYS. Some functions are actually named
36793 something starting with __ and the normal name is an alias. */
36794 #if defined __stub_$ac_func || defined __stub___$ac_func
36801 return $ac_func ();
36806 rm -f conftest.
$ac_objext conftest
$ac_exeext
36807 if { (ac_try
="$ac_link"
36808 case "(($ac_try" in
36809 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
36810 *) ac_try_echo=$ac_try;;
36812 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36813 (eval "$ac_link") 2>conftest.er1
36815 grep -v '^ *+' conftest.er1 >conftest.err
36817 cat conftest.err >&5
36818 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36819 (exit $ac_status); } && {
36820 test -z "$ac_c_werror_flag" ||
36821 test ! -s conftest.err
36822 } && test -s conftest$ac_exeext &&
36823 $as_test_x conftest$ac_exeext; then
36824 eval "$as_ac_var=yes"
36826 echo "$as_me: failed program was:" >&5
36827 sed 's/^/| /' conftest.$ac_ext >&5
36829 eval "$as_ac_var=no"
36832 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36833 conftest$ac_exeext conftest.$ac_ext
36835 ac_res=`eval echo '${'$as_ac_var'}'`
36836 { echo "$as_me:$LINENO: result: $ac_res" >&5
36837 echo "${ECHO_T}$ac_res" >&6; }
36838 if test `eval echo '${'$as_ac_var'}'` = yes; then
36839 cat >>confdefs.h <<_ACEOF
36840 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36842 cat >>confdefs.h <<\_ACEOF
36843 #define HAVE_NANOSLEEP 1
36848 { echo "$as_me:$LINENO: checking for nanosleep in -lposix4" >&5
36849 echo $ECHO_N "checking for nanosleep in -lposix4... $ECHO_C" >&6; }
36850 if test "${ac_cv_lib_posix4_nanosleep+set}" = set; then
36851 echo $ECHO_N "(cached) $ECHO_C" >&6
36853 ac_check_lib_save_LIBS=$LIBS
36854 LIBS="-lposix4 $LIBS"
36855 cat >conftest.$ac_ext <<_ACEOF
36858 cat confdefs.h >>conftest.$ac_ext
36859 cat >>conftest.$ac_ext <<_ACEOF
36860 /* end confdefs.h. */
36862 /* Override any GCC internal prototype to avoid an error.
36863 Use char because int might match the return type of a GCC
36864 builtin and then its argument prototype would still apply. */
36872 return nanosleep ();
36877 rm -f conftest.$ac_objext conftest$ac_exeext
36878 if { (ac_try="$ac_link"
36879 case "(($ac_try" in
36880 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
36881 *) ac_try_echo
=$ac_try;;
36883 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36884 (eval "$ac_link") 2>conftest.er1
36886 grep -v '^ *+' conftest.er1
>conftest.err
36888 cat conftest.err
>&5
36889 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36890 (exit $ac_status); } && {
36891 test -z "$ac_c_werror_flag" ||
36892 test ! -s conftest.err
36893 } && test -s conftest
$ac_exeext &&
36894 $as_test_x conftest
$ac_exeext; then
36895 ac_cv_lib_posix4_nanosleep
=yes
36897 echo "$as_me: failed program was:" >&5
36898 sed 's/^/| /' conftest.
$ac_ext >&5
36900 ac_cv_lib_posix4_nanosleep
=no
36903 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
36904 conftest
$ac_exeext conftest.
$ac_ext
36905 LIBS
=$ac_check_lib_save_LIBS
36907 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_nanosleep" >&5
36908 echo "${ECHO_T}$ac_cv_lib_posix4_nanosleep" >&6; }
36909 if test $ac_cv_lib_posix4_nanosleep = yes; then
36911 cat >>confdefs.h
<<\_ACEOF
36912 #define HAVE_NANOSLEEP 1
36915 POSIX4_LINK
=" -lposix4"
36920 for wx_func
in usleep
36922 { echo "$as_me:$LINENO: checking for $wx_func" >&5
36923 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
36924 if { as_var
=wx_cv_func_
$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
36925 echo $ECHO_N "(cached) $ECHO_C" >&6
36928 cat >conftest.
$ac_ext <<_ACEOF
36932 cat confdefs.h
>>conftest.
$ac_ext
36933 cat >>conftest.
$ac_ext <<_ACEOF
36934 /* end confdefs.h. */
36937 $ac_includes_default
36953 rm -f conftest.
$ac_objext conftest
$ac_exeext
36954 if { (ac_try
="$ac_link"
36955 case "(($ac_try" in
36956 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
36957 *) ac_try_echo=$ac_try;;
36959 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36960 (eval "$ac_link") 2>conftest.er1
36962 grep -v '^ *+' conftest.er1 >conftest.err
36964 cat conftest.err >&5
36965 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36966 (exit $ac_status); } && {
36967 test -z "$ac_c_werror_flag" ||
36968 test ! -s conftest.err
36969 } && test -s conftest$ac_exeext &&
36970 $as_test_x conftest$ac_exeext; then
36971 eval wx_cv_func_$wx_func=yes
36973 echo "$as_me: failed program was:" >&5
36974 sed 's/^/| /' conftest.$ac_ext >&5
36976 eval wx_cv_func_$wx_func=no
36979 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36980 conftest$ac_exeext conftest.$ac_ext
36983 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
36984 { echo "$as_me:$LINENO: result: $ac_res" >&5
36985 echo "${ECHO_T}$ac_res" >&6; }
36987 if eval test \$wx_cv_func_$wx_func = yes
36989 cat >>confdefs.h <<_ACEOF
36990 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
36996 { echo "$as_me:$LINENO: WARNING: wxSleep() function will not work" >&5
36997 echo "$as_me: WARNING: wxSleep() function will not work" >&2;}
37014 for wx_func in uname
37016 { echo "$as_me:$LINENO: checking for $wx_func" >&5
37017 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
37018 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
37019 echo $ECHO_N "(cached) $ECHO_C" >&6
37022 cat >conftest.$ac_ext <<_ACEOF
37026 cat confdefs.h >>conftest.$ac_ext
37027 cat >>conftest.$ac_ext <<_ACEOF
37028 /* end confdefs.h. */
37030 #include <sys/utsname.h>
37031 $ac_includes_default
37047 rm -f conftest.$ac_objext conftest$ac_exeext
37048 if { (ac_try="$ac_link"
37049 case "(($ac_try" in
37050 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
37051 *) ac_try_echo
=$ac_try;;
37053 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37054 (eval "$ac_link") 2>conftest.er1
37056 grep -v '^ *+' conftest.er1
>conftest.err
37058 cat conftest.err
>&5
37059 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37060 (exit $ac_status); } && {
37061 test -z "$ac_c_werror_flag" ||
37062 test ! -s conftest.err
37063 } && test -s conftest
$ac_exeext &&
37064 $as_test_x conftest
$ac_exeext; then
37065 eval wx_cv_func_
$wx_func=yes
37067 echo "$as_me: failed program was:" >&5
37068 sed 's/^/| /' conftest.
$ac_ext >&5
37070 eval wx_cv_func_
$wx_func=no
37073 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
37074 conftest
$ac_exeext conftest.
$ac_ext
37077 ac_res
=`eval echo '${'wx_cv_func_$wx_func'}'`
37078 { echo "$as_me:$LINENO: result: $ac_res" >&5
37079 echo "${ECHO_T}$ac_res" >&6; }
37081 if eval test \
$wx_cv_func_$wx_func = yes
37083 cat >>confdefs.h
<<_ACEOF
37084 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
37094 if test "$wx_cv_func_uname" != yes; then
37096 for wx_func
in gethostname
37098 { echo "$as_me:$LINENO: checking for $wx_func" >&5
37099 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
37100 if { as_var
=wx_cv_func_
$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
37101 echo $ECHO_N "(cached) $ECHO_C" >&6
37104 cat >conftest.
$ac_ext <<_ACEOF
37108 cat confdefs.h
>>conftest.
$ac_ext
37109 cat >>conftest.
$ac_ext <<_ACEOF
37110 /* end confdefs.h. */
37113 $ac_includes_default
37129 rm -f conftest.
$ac_objext conftest
$ac_exeext
37130 if { (ac_try
="$ac_link"
37131 case "(($ac_try" in
37132 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
37133 *) ac_try_echo=$ac_try;;
37135 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37136 (eval "$ac_link") 2>conftest.er1
37138 grep -v '^ *+' conftest.er1 >conftest.err
37140 cat conftest.err >&5
37141 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37142 (exit $ac_status); } && {
37143 test -z "$ac_c_werror_flag" ||
37144 test ! -s conftest.err
37145 } && test -s conftest$ac_exeext &&
37146 $as_test_x conftest$ac_exeext; then
37147 eval wx_cv_func_$wx_func=yes
37149 echo "$as_me: failed program was:" >&5
37150 sed 's/^/| /' conftest.$ac_ext >&5
37152 eval wx_cv_func_$wx_func=no
37155 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37156 conftest$ac_exeext conftest.$ac_ext
37159 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
37160 { echo "$as_me:$LINENO: result: $ac_res" >&5
37161 echo "${ECHO_T}$ac_res" >&6; }
37163 if eval test \$wx_cv_func_$wx_func = yes
37165 cat >>confdefs.h <<_ACEOF
37166 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
37179 for wx_func in strtok_r
37181 { echo "$as_me:$LINENO: checking for $wx_func" >&5
37182 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
37183 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
37184 echo $ECHO_N "(cached) $ECHO_C" >&6
37187 cat >conftest.$ac_ext <<_ACEOF
37191 cat confdefs.h >>conftest.$ac_ext
37192 cat >>conftest.$ac_ext <<_ACEOF
37193 /* end confdefs.h. */
37196 $ac_includes_default
37212 rm -f conftest.$ac_objext conftest$ac_exeext
37213 if { (ac_try="$ac_link"
37214 case "(($ac_try" in
37215 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
37216 *) ac_try_echo
=$ac_try;;
37218 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37219 (eval "$ac_link") 2>conftest.er1
37221 grep -v '^ *+' conftest.er1
>conftest.err
37223 cat conftest.err
>&5
37224 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37225 (exit $ac_status); } && {
37226 test -z "$ac_c_werror_flag" ||
37227 test ! -s conftest.err
37228 } && test -s conftest
$ac_exeext &&
37229 $as_test_x conftest
$ac_exeext; then
37230 eval wx_cv_func_
$wx_func=yes
37232 echo "$as_me: failed program was:" >&5
37233 sed 's/^/| /' conftest.
$ac_ext >&5
37235 eval wx_cv_func_
$wx_func=no
37238 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
37239 conftest
$ac_exeext conftest.
$ac_ext
37242 ac_res
=`eval echo '${'wx_cv_func_$wx_func'}'`
37243 { echo "$as_me:$LINENO: result: $ac_res" >&5
37244 echo "${ECHO_T}$ac_res" >&6; }
37246 if eval test \
$wx_cv_func_$wx_func = yes
37248 cat >>confdefs.h
<<_ACEOF
37249 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
37262 for ac_func
in inet_addr
37264 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37265 { echo "$as_me:$LINENO: checking for $ac_func" >&5
37266 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
37267 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
37268 echo $ECHO_N "(cached) $ECHO_C" >&6
37270 cat >conftest.
$ac_ext <<_ACEOF
37273 cat confdefs.h
>>conftest.
$ac_ext
37274 cat >>conftest.
$ac_ext <<_ACEOF
37275 /* end confdefs.h. */
37276 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37277 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37278 #define $ac_func innocuous_$ac_func
37280 /* System header to define __stub macros and hopefully few prototypes,
37281 which can conflict with char $ac_func (); below.
37282 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37283 <limits.h> exists even on freestanding compilers. */
37286 # include <limits.h>
37288 # include <assert.h>
37293 /* Override any GCC internal prototype to avoid an error.
37294 Use char because int might match the return type of a GCC
37295 builtin and then its argument prototype would still apply. */
37300 /* The GNU C library defines this for functions which it implements
37301 to always fail with ENOSYS. Some functions are actually named
37302 something starting with __ and the normal name is an alias. */
37303 #if defined __stub_$ac_func || defined __stub___$ac_func
37310 return $ac_func ();
37315 rm -f conftest.
$ac_objext conftest
$ac_exeext
37316 if { (ac_try
="$ac_link"
37317 case "(($ac_try" in
37318 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
37319 *) ac_try_echo=$ac_try;;
37321 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37322 (eval "$ac_link") 2>conftest.er1
37324 grep -v '^ *+' conftest.er1 >conftest.err
37326 cat conftest.err >&5
37327 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37328 (exit $ac_status); } && {
37329 test -z "$ac_c_werror_flag" ||
37330 test ! -s conftest.err
37331 } && test -s conftest$ac_exeext &&
37332 $as_test_x conftest$ac_exeext; then
37333 eval "$as_ac_var=yes"
37335 echo "$as_me: failed program was:" >&5
37336 sed 's/^/| /' conftest.$ac_ext >&5
37338 eval "$as_ac_var=no"
37341 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37342 conftest$ac_exeext conftest.$ac_ext
37344 ac_res=`eval echo '${'$as_ac_var'}'`
37345 { echo "$as_me:$LINENO: result: $ac_res" >&5
37346 echo "${ECHO_T}$ac_res" >&6; }
37347 if test `eval echo '${'$as_ac_var'}'` = yes; then
37348 cat >>confdefs.h <<_ACEOF
37349 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37351 cat >>confdefs.h <<\_ACEOF
37352 #define HAVE_INET_ADDR 1
37357 { echo "$as_me:$LINENO: checking for inet_addr in -lnsl" >&5
37358 echo $ECHO_N "checking for inet_addr in -lnsl... $ECHO_C" >&6; }
37359 if test "${ac_cv_lib_nsl_inet_addr+set}" = set; then
37360 echo $ECHO_N "(cached) $ECHO_C" >&6
37362 ac_check_lib_save_LIBS=$LIBS
37364 cat >conftest.$ac_ext <<_ACEOF
37367 cat confdefs.h >>conftest.$ac_ext
37368 cat >>conftest.$ac_ext <<_ACEOF
37369 /* end confdefs.h. */
37371 /* Override any GCC internal prototype to avoid an error.
37372 Use char because int might match the return type of a GCC
37373 builtin and then its argument prototype would still apply. */
37381 return inet_addr ();
37386 rm -f conftest.$ac_objext conftest$ac_exeext
37387 if { (ac_try="$ac_link"
37388 case "(($ac_try" in
37389 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
37390 *) ac_try_echo
=$ac_try;;
37392 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37393 (eval "$ac_link") 2>conftest.er1
37395 grep -v '^ *+' conftest.er1
>conftest.err
37397 cat conftest.err
>&5
37398 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37399 (exit $ac_status); } && {
37400 test -z "$ac_c_werror_flag" ||
37401 test ! -s conftest.err
37402 } && test -s conftest
$ac_exeext &&
37403 $as_test_x conftest
$ac_exeext; then
37404 ac_cv_lib_nsl_inet_addr
=yes
37406 echo "$as_me: failed program was:" >&5
37407 sed 's/^/| /' conftest.
$ac_ext >&5
37409 ac_cv_lib_nsl_inet_addr
=no
37412 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
37413 conftest
$ac_exeext conftest.
$ac_ext
37414 LIBS
=$ac_check_lib_save_LIBS
37416 { echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_inet_addr" >&5
37417 echo "${ECHO_T}$ac_cv_lib_nsl_inet_addr" >&6; }
37418 if test $ac_cv_lib_nsl_inet_addr = yes; then
37422 { echo "$as_me:$LINENO: checking for inet_addr in -lresolv" >&5
37423 echo $ECHO_N "checking for inet_addr in -lresolv... $ECHO_C" >&6; }
37424 if test "${ac_cv_lib_resolv_inet_addr+set}" = set; then
37425 echo $ECHO_N "(cached) $ECHO_C" >&6
37427 ac_check_lib_save_LIBS
=$LIBS
37428 LIBS
="-lresolv $LIBS"
37429 cat >conftest.
$ac_ext <<_ACEOF
37432 cat confdefs.h
>>conftest.
$ac_ext
37433 cat >>conftest.
$ac_ext <<_ACEOF
37434 /* end confdefs.h. */
37436 /* Override any GCC internal prototype to avoid an error.
37437 Use char because int might match the return type of a GCC
37438 builtin and then its argument prototype would still apply. */
37446 return inet_addr ();
37451 rm -f conftest.
$ac_objext conftest
$ac_exeext
37452 if { (ac_try
="$ac_link"
37453 case "(($ac_try" in
37454 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
37455 *) ac_try_echo=$ac_try;;
37457 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37458 (eval "$ac_link") 2>conftest.er1
37460 grep -v '^ *+' conftest.er1 >conftest.err
37462 cat conftest.err >&5
37463 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37464 (exit $ac_status); } && {
37465 test -z "$ac_c_werror_flag" ||
37466 test ! -s conftest.err
37467 } && test -s conftest$ac_exeext &&
37468 $as_test_x conftest$ac_exeext; then
37469 ac_cv_lib_resolv_inet_addr=yes
37471 echo "$as_me: failed program was:" >&5
37472 sed 's/^/| /' conftest.$ac_ext >&5
37474 ac_cv_lib_resolv_inet_addr=no
37477 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37478 conftest$ac_exeext conftest.$ac_ext
37479 LIBS=$ac_check_lib_save_LIBS
37481 { echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_inet_addr" >&5
37482 echo "${ECHO_T}$ac_cv_lib_resolv_inet_addr" >&6; }
37483 if test $ac_cv_lib_resolv_inet_addr = yes; then
37487 { echo "$as_me:$LINENO: checking for inet_addr in -lsocket" >&5
37488 echo $ECHO_N "checking for inet_addr in -lsocket... $ECHO_C" >&6; }
37489 if test "${ac_cv_lib_socket_inet_addr+set}" = set; then
37490 echo $ECHO_N "(cached) $ECHO_C" >&6
37492 ac_check_lib_save_LIBS=$LIBS
37493 LIBS="-lsocket $LIBS"
37494 cat >conftest.$ac_ext <<_ACEOF
37497 cat confdefs.h >>conftest.$ac_ext
37498 cat >>conftest.$ac_ext <<_ACEOF
37499 /* end confdefs.h. */
37501 /* Override any GCC internal prototype to avoid an error.
37502 Use char because int might match the return type of a GCC
37503 builtin and then its argument prototype would still apply. */
37511 return inet_addr ();
37516 rm -f conftest.$ac_objext conftest$ac_exeext
37517 if { (ac_try="$ac_link"
37518 case "(($ac_try" in
37519 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
37520 *) ac_try_echo
=$ac_try;;
37522 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37523 (eval "$ac_link") 2>conftest.er1
37525 grep -v '^ *+' conftest.er1
>conftest.err
37527 cat conftest.err
>&5
37528 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37529 (exit $ac_status); } && {
37530 test -z "$ac_c_werror_flag" ||
37531 test ! -s conftest.err
37532 } && test -s conftest
$ac_exeext &&
37533 $as_test_x conftest
$ac_exeext; then
37534 ac_cv_lib_socket_inet_addr
=yes
37536 echo "$as_me: failed program was:" >&5
37537 sed 's/^/| /' conftest.
$ac_ext >&5
37539 ac_cv_lib_socket_inet_addr
=no
37542 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
37543 conftest
$ac_exeext conftest.
$ac_ext
37544 LIBS
=$ac_check_lib_save_LIBS
37546 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_inet_addr" >&5
37547 echo "${ECHO_T}$ac_cv_lib_socket_inet_addr" >&6; }
37548 if test $ac_cv_lib_socket_inet_addr = yes; then
37568 for ac_func
in inet_aton
37570 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37571 { echo "$as_me:$LINENO: checking for $ac_func" >&5
37572 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
37573 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
37574 echo $ECHO_N "(cached) $ECHO_C" >&6
37576 cat >conftest.
$ac_ext <<_ACEOF
37579 cat confdefs.h
>>conftest.
$ac_ext
37580 cat >>conftest.
$ac_ext <<_ACEOF
37581 /* end confdefs.h. */
37582 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37583 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37584 #define $ac_func innocuous_$ac_func
37586 /* System header to define __stub macros and hopefully few prototypes,
37587 which can conflict with char $ac_func (); below.
37588 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37589 <limits.h> exists even on freestanding compilers. */
37592 # include <limits.h>
37594 # include <assert.h>
37599 /* Override any GCC internal prototype to avoid an error.
37600 Use char because int might match the return type of a GCC
37601 builtin and then its argument prototype would still apply. */
37606 /* The GNU C library defines this for functions which it implements
37607 to always fail with ENOSYS. Some functions are actually named
37608 something starting with __ and the normal name is an alias. */
37609 #if defined __stub_$ac_func || defined __stub___$ac_func
37616 return $ac_func ();
37621 rm -f conftest.
$ac_objext conftest
$ac_exeext
37622 if { (ac_try
="$ac_link"
37623 case "(($ac_try" in
37624 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
37625 *) ac_try_echo=$ac_try;;
37627 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37628 (eval "$ac_link") 2>conftest.er1
37630 grep -v '^ *+' conftest.er1 >conftest.err
37632 cat conftest.err >&5
37633 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37634 (exit $ac_status); } && {
37635 test -z "$ac_c_werror_flag" ||
37636 test ! -s conftest.err
37637 } && test -s conftest$ac_exeext &&
37638 $as_test_x conftest$ac_exeext; then
37639 eval "$as_ac_var=yes"
37641 echo "$as_me: failed program was:" >&5
37642 sed 's/^/| /' conftest.$ac_ext >&5
37644 eval "$as_ac_var=no"
37647 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37648 conftest$ac_exeext conftest.$ac_ext
37650 ac_res=`eval echo '${'$as_ac_var'}'`
37651 { echo "$as_me:$LINENO: result: $ac_res" >&5
37652 echo "${ECHO_T}$ac_res" >&6; }
37653 if test `eval echo '${'$as_ac_var'}'` = yes; then
37654 cat >>confdefs.h <<_ACEOF
37655 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37657 cat >>confdefs.h <<\_ACEOF
37658 #define HAVE_INET_ATON 1
37663 as_ac_Lib=`echo "ac_cv_lib_$INET_LINK''_inet_aton" | $as_tr_sh`
37664 { echo "$as_me:$LINENO: checking for inet_aton in -l$INET_LINK" >&5
37665 echo $ECHO_N "checking for inet_aton in -l$INET_LINK... $ECHO_C" >&6; }
37666 if { as_var=$as_ac_Lib; eval "test \"\${$as_var+set}\" = set"; }; then
37667 echo $ECHO_N "(cached) $ECHO_C" >&6
37669 ac_check_lib_save_LIBS=$LIBS
37670 LIBS="-l$INET_LINK $LIBS"
37671 cat >conftest.$ac_ext <<_ACEOF
37674 cat confdefs.h >>conftest.$ac_ext
37675 cat >>conftest.$ac_ext <<_ACEOF
37676 /* end confdefs.h. */
37678 /* Override any GCC internal prototype to avoid an error.
37679 Use char because int might match the return type of a GCC
37680 builtin and then its argument prototype would still apply. */
37688 return inet_aton ();
37693 rm -f conftest.$ac_objext conftest$ac_exeext
37694 if { (ac_try="$ac_link"
37695 case "(($ac_try" in
37696 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
37697 *) ac_try_echo
=$ac_try;;
37699 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37700 (eval "$ac_link") 2>conftest.er1
37702 grep -v '^ *+' conftest.er1
>conftest.err
37704 cat conftest.err
>&5
37705 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37706 (exit $ac_status); } && {
37707 test -z "$ac_c_werror_flag" ||
37708 test ! -s conftest.err
37709 } && test -s conftest
$ac_exeext &&
37710 $as_test_x conftest
$ac_exeext; then
37711 eval "$as_ac_Lib=yes"
37713 echo "$as_me: failed program was:" >&5
37714 sed 's/^/| /' conftest.
$ac_ext >&5
37716 eval "$as_ac_Lib=no"
37719 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
37720 conftest
$ac_exeext conftest.
$ac_ext
37721 LIBS
=$ac_check_lib_save_LIBS
37723 ac_res
=`eval echo '${'$as_ac_Lib'}'`
37724 { echo "$as_me:$LINENO: result: $ac_res" >&5
37725 echo "${ECHO_T}$ac_res" >&6; }
37726 if test `eval echo '${'$as_ac_Lib'}'` = yes; then
37727 cat >>confdefs.h
<<\_ACEOF
37728 #define HAVE_INET_ATON 1
37738 if test "x$INET_LINK" != "x"; then
37739 cat >>confdefs.h
<<\_ACEOF
37740 #define HAVE_INET_ADDR 1
37743 INET_LINK
=" -l$INET_LINK"
37747 for wx_func
in fdopen
37749 { echo "$as_me:$LINENO: checking for $wx_func" >&5
37750 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
37751 if { as_var
=wx_cv_func_
$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
37752 echo $ECHO_N "(cached) $ECHO_C" >&6
37755 cat >conftest.
$ac_ext <<_ACEOF
37759 cat confdefs.h
>>conftest.
$ac_ext
37760 cat >>conftest.
$ac_ext <<_ACEOF
37761 /* end confdefs.h. */
37764 $ac_includes_default
37780 rm -f conftest.
$ac_objext conftest
$ac_exeext
37781 if { (ac_try
="$ac_link"
37782 case "(($ac_try" in
37783 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
37784 *) ac_try_echo=$ac_try;;
37786 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37787 (eval "$ac_link") 2>conftest.er1
37789 grep -v '^ *+' conftest.er1 >conftest.err
37791 cat conftest.err >&5
37792 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37793 (exit $ac_status); } && {
37794 test -z "$ac_c_werror_flag" ||
37795 test ! -s conftest.err
37796 } && test -s conftest$ac_exeext &&
37797 $as_test_x conftest$ac_exeext; then
37798 eval wx_cv_func_$wx_func=yes
37800 echo "$as_me: failed program was:" >&5
37801 sed 's/^/| /' conftest.$ac_ext >&5
37803 eval wx_cv_func_$wx_func=no
37806 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37807 conftest$ac_exeext conftest.$ac_ext
37810 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
37811 { echo "$as_me:$LINENO: result: $ac_res" >&5
37812 echo "${ECHO_T}$ac_res" >&6; }
37814 if eval test \$wx_cv_func_$wx_func = yes
37816 cat >>confdefs.h <<_ACEOF
37817 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
37832 cat >confcache <<\_ACEOF
37833 # This file is a shell script that caches the results of configure
37834 # tests run on this system so they can be shared between configure
37835 # scripts and configure runs, see configure's option --config-cache.
37836 # It is not useful on other systems. If it contains results you don't
37837 # want to keep, you may remove or edit it.
37839 # config.status only pays attention to the cache file if you give it
37840 # the --recheck option to rerun configure.
37842 # `ac_cv_env_foo
' variables (set or unset) will be overridden when
37843 # loading this file, other *unset* `ac_cv_foo' will be assigned the
37844 # following values.
37848 # The following way of writing the cache mishandles newlines in values,
37849 # but we know of no workaround that is simple, portable, and efficient.
37850 # So, we kill variables containing newlines.
37851 # Ultrix sh set writes to stderr and can't be redirected directly,
37852 # and sets the high bit in the cache file unless we assign to the vars.
37854 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
37855 eval ac_val
=\$
$ac_var
37859 *_cv_
*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
37860 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
37863 _
| IFS
| as_nl
) ;; #(
37864 *) $as_unset $ac_var ;;
37870 case $as_nl`(ac_space=' '; set) 2>&1` in #(
37871 *${as_nl}ac_space
=\
*)
37872 # `set' does not quote correctly, so add quotes (double-quote
37873 # substitution turns \\\\ into \\, and sed turns \\ into \).
37876 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
37879 # `set' quotes correctly as required by POSIX, so do not add quotes.
37880 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
37889 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
37891 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
37893 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
37894 if test -w "$cache_file"; then
37895 test "x$cache_file" != "x/dev/null" &&
37896 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
37897 echo "$as_me: updating cache $cache_file" >&6;}
37898 cat confcache
>$cache_file
37900 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
37901 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
37907 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
37913 if test "$wxUSE_THREADS" = "yes" ; then
37914 if test "$USE_BEOS" = 1; then
37915 { echo "$as_me:$LINENO: WARNING: BeOS threads are not yet supported... disabled" >&5
37916 echo "$as_me: WARNING: BeOS threads are not yet supported... disabled" >&2;}
37921 if test "$wxUSE_THREADS" = "yes" ; then
37924 THREAD_OPTS
="-pthread"
37926 *-*-solaris2* | *-*-sunos4* )
37927 if test "x$GCC" = "xyes"; then
37928 THREAD_OPTS
="-pthreads $THREAD_OPTS"
37930 THREAD_OPTS
="-mt $THREAD_OPTS"
37934 THREAD_OPTS
="-kthread lthread $THREAD_OPTS c_r"
37936 *-*-darwin* | *-*-cygwin* )
37940 THREAD_OPTS
="pthreads"
37943 if test "x$GCC" = "xyes"; then
37944 $CXX -dumpspecs | grep 'pthread:' >/dev
/null
||
37952 if test "x$GCC" = "xyes"; then
37958 if test "x$GCC" != "xyes"; then
37959 THREAD_OPTS
="-Ethread"
37964 THREAD_OPTS
="$THREAD_OPTS pthread none"
37967 for flag
in $THREAD_OPTS; do
37970 { echo "$as_me:$LINENO: checking whether pthreads work without any flags" >&5
37971 echo $ECHO_N "checking whether pthreads work without any flags... $ECHO_C" >&6; }
37975 { echo "$as_me:$LINENO: checking whether pthreads work with $flag" >&5
37976 echo $ECHO_N "checking whether pthreads work with $flag... $ECHO_C" >&6; }
37977 THREADS_CFLAGS
="$flag"
37981 { echo "$as_me:$LINENO: checking for the pthreads library -l$flag" >&5
37982 echo $ECHO_N "checking for the pthreads library -l$flag... $ECHO_C" >&6; }
37983 THREADS_LINK
="-l$flag"
37988 save_CFLAGS
="$CFLAGS"
37989 LIBS
="$THREADS_LINK $LIBS"
37990 CFLAGS
="$THREADS_CFLAGS $CFLAGS"
37992 cat >conftest.
$ac_ext <<_ACEOF
37995 cat confdefs.h
>>conftest.
$ac_ext
37996 cat >>conftest.
$ac_ext <<_ACEOF
37997 /* end confdefs.h. */
37998 #include <pthread.h>
38002 pthread_create(0,0,0,0);
38007 rm -f conftest.
$ac_objext conftest
$ac_exeext
38008 if { (ac_try
="$ac_link"
38009 case "(($ac_try" in
38010 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
38011 *) ac_try_echo=$ac_try;;
38013 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38014 (eval "$ac_link") 2>conftest.er1
38016 grep -v '^ *+' conftest.er1 >conftest.err
38018 cat conftest.err >&5
38019 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38020 (exit $ac_status); } && {
38021 test -z "$ac_c_werror_flag" ||
38022 test ! -s conftest.err
38023 } && test -s conftest$ac_exeext &&
38024 $as_test_x conftest$ac_exeext; then
38027 echo "$as_me: failed program was:" >&5
38028 sed 's/^/| /' conftest.$ac_ext >&5
38033 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38034 conftest$ac_exeext conftest.$ac_ext
38037 CFLAGS="$save_CFLAGS"
38039 { echo "$as_me:$LINENO: result: $THREADS_OK" >&5
38040 echo "${ECHO_T}$THREADS_OK" >&6; }
38041 if test "x$THREADS_OK" = "xyes"; then
38049 if test "x$THREADS_OK" != "xyes"; then
38051 { echo "$as_me:$LINENO: WARNING: No thread support on this system... disabled" >&5
38052 echo "$as_me: WARNING: No thread support on this system... disabled" >&2;}
38054 LDFLAGS="$THREADS_CFLAGS $LDFLAGS"
38055 LIBS="$THREADS_LINK $LIBS"
38057 { echo "$as_me:$LINENO: checking if more special flags are required for pthreads" >&5
38058 echo $ECHO_N "checking if more special flags are required for pthreads... $ECHO_C" >&6; }
38062 LDFLAGS="-L/usr/lib/threads $LDFLAGS"
38063 flag="-D_THREAD_SAFE"
38066 flag="-D_THREAD_SAFE"
38069 flag="-D_REENTRANT"
38070 if test "x$GCC" != "xyes"; then
38071 flag="$flag -D_RWSTD_MULTI_THREAD"
38074 *solaris* | alpha*-osf*)
38075 flag="-D_REENTRANT"
38078 { echo "$as_me:$LINENO: result: ${flag}" >&5
38079 echo "${ECHO_T}${flag}" >&6; }
38080 if test "x$flag" != xno; then
38081 THREADS_CFLAGS="$THREADS_CFLAGS $flag"
38084 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS $THREADS_CFLAGS"
38088 if test "$wxUSE_THREADS" = "yes" ; then
38090 for ac_func in thr_setconcurrency
38092 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38093 { echo "$as_me:$LINENO: checking for $ac_func" >&5
38094 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
38095 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
38096 echo $ECHO_N "(cached) $ECHO_C" >&6
38098 cat >conftest.$ac_ext <<_ACEOF
38101 cat confdefs.h >>conftest.$ac_ext
38102 cat >>conftest.$ac_ext <<_ACEOF
38103 /* end confdefs.h. */
38104 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38105 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38106 #define $ac_func innocuous_$ac_func
38108 /* System header to define __stub macros and hopefully few prototypes,
38109 which can conflict with char $ac_func (); below.
38110 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38111 <limits.h> exists even on freestanding compilers. */
38114 # include <limits.h>
38116 # include <assert.h>
38121 /* Override any GCC internal prototype to avoid an error.
38122 Use char because int might match the return type of a GCC
38123 builtin and then its argument prototype would still apply. */
38128 /* The GNU C library defines this for functions which it implements
38129 to always fail with ENOSYS. Some functions are actually named
38130 something starting with __ and the normal name is an alias. */
38131 #if defined __stub_$ac_func || defined __stub___$ac_func
38138 return $ac_func ();
38143 rm -f conftest.$ac_objext conftest$ac_exeext
38144 if { (ac_try="$ac_link"
38145 case "(($ac_try" in
38146 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
38147 *) ac_try_echo
=$ac_try;;
38149 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38150 (eval "$ac_link") 2>conftest.er1
38152 grep -v '^ *+' conftest.er1
>conftest.err
38154 cat conftest.err
>&5
38155 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38156 (exit $ac_status); } && {
38157 test -z "$ac_c_werror_flag" ||
38158 test ! -s conftest.err
38159 } && test -s conftest
$ac_exeext &&
38160 $as_test_x conftest
$ac_exeext; then
38161 eval "$as_ac_var=yes"
38163 echo "$as_me: failed program was:" >&5
38164 sed 's/^/| /' conftest.
$ac_ext >&5
38166 eval "$as_ac_var=no"
38169 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
38170 conftest
$ac_exeext conftest.
$ac_ext
38172 ac_res
=`eval echo '${'$as_ac_var'}'`
38173 { echo "$as_me:$LINENO: result: $ac_res" >&5
38174 echo "${ECHO_T}$ac_res" >&6; }
38175 if test `eval echo '${'$as_ac_var'}'` = yes; then
38176 cat >>confdefs.h
<<_ACEOF
38177 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38184 { echo "$as_me:$LINENO: checking for pthread_cleanup_push/pop" >&5
38185 echo $ECHO_N "checking for pthread_cleanup_push/pop... $ECHO_C" >&6; }
38186 if test "${wx_cv_func_pthread_cleanup+set}" = set; then
38187 echo $ECHO_N "(cached) $ECHO_C" >&6
38190 cat >conftest.
$ac_ext <<_ACEOF
38193 cat confdefs.h
>>conftest.
$ac_ext
38194 cat >>conftest.
$ac_ext <<_ACEOF
38195 /* end confdefs.h. */
38196 #include <pthread.h>
38197 void ThreadCleanupFunc(void *p);
38204 pthread_cleanup_push(ThreadCleanupFunc, p);
38205 pthread_cleanup_pop(0);
38211 rm -f conftest.
$ac_objext
38212 if { (ac_try
="$ac_compile"
38213 case "(($ac_try" in
38214 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
38215 *) ac_try_echo=$ac_try;;
38217 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38218 (eval "$ac_compile") 2>conftest.er1
38220 grep -v '^ *+' conftest.er1 >conftest.err
38222 cat conftest.err >&5
38223 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38224 (exit $ac_status); } && {
38225 test -z "$ac_c_werror_flag" ||
38226 test ! -s conftest.err
38227 } && test -s conftest.$ac_objext; then
38229 wx_cv_func_pthread_cleanup=yes
38232 echo "$as_me: failed program was:" >&5
38233 sed 's/^/| /' conftest.$ac_ext >&5
38236 wx_cv_func_pthread_cleanup=no
38241 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38244 { echo "$as_me:$LINENO: result: $wx_cv_func_pthread_cleanup" >&5
38245 echo "${ECHO_T}$wx_cv_func_pthread_cleanup" >&6; }
38246 if test "x$wx_cv_func_pthread_cleanup" = "xyes"; then
38247 cat >>confdefs.h <<\_ACEOF
38248 #define wxHAVE_PTHREAD_CLEANUP 1
38253 { echo "$as_me:$LINENO: checking for sched.h" >&5
38254 echo $ECHO_N "checking for sched.h... $ECHO_C" >&6; }
38255 if test "${ac_cv_header_sched_h+set}" = set; then
38256 echo $ECHO_N "(cached) $ECHO_C" >&6
38258 cat >conftest.$ac_ext <<_ACEOF
38261 cat confdefs.h >>conftest.$ac_ext
38262 cat >>conftest.$ac_ext <<_ACEOF
38263 /* end confdefs.h. */
38264 $ac_includes_default
38268 rm -f conftest.$ac_objext
38269 if { (ac_try="$ac_compile"
38270 case "(($ac_try" in
38271 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
38272 *) ac_try_echo
=$ac_try;;
38274 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38275 (eval "$ac_compile") 2>conftest.er1
38277 grep -v '^ *+' conftest.er1
>conftest.err
38279 cat conftest.err
>&5
38280 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38281 (exit $ac_status); } && {
38282 test -z "$ac_c_werror_flag" ||
38283 test ! -s conftest.err
38284 } && test -s conftest.
$ac_objext; then
38285 ac_cv_header_sched_h
=yes
38287 echo "$as_me: failed program was:" >&5
38288 sed 's/^/| /' conftest.
$ac_ext >&5
38290 ac_cv_header_sched_h
=no
38293 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
38295 { echo "$as_me:$LINENO: result: $ac_cv_header_sched_h" >&5
38296 echo "${ECHO_T}$ac_cv_header_sched_h" >&6; }
38299 if test "$ac_cv_header_sched_h" = "yes"; then
38300 { echo "$as_me:$LINENO: checking for sched_yield" >&5
38301 echo $ECHO_N "checking for sched_yield... $ECHO_C" >&6; }
38302 if test "${ac_cv_func_sched_yield+set}" = set; then
38303 echo $ECHO_N "(cached) $ECHO_C" >&6
38305 cat >conftest.
$ac_ext <<_ACEOF
38308 cat confdefs.h
>>conftest.
$ac_ext
38309 cat >>conftest.
$ac_ext <<_ACEOF
38310 /* end confdefs.h. */
38311 /* Define sched_yield to an innocuous variant, in case <limits.h> declares sched_yield.
38312 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38313 #define sched_yield innocuous_sched_yield
38315 /* System header to define __stub macros and hopefully few prototypes,
38316 which can conflict with char sched_yield (); below.
38317 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38318 <limits.h> exists even on freestanding compilers. */
38321 # include <limits.h>
38323 # include <assert.h>
38328 /* Override any GCC internal prototype to avoid an error.
38329 Use char because int might match the return type of a GCC
38330 builtin and then its argument prototype would still apply. */
38334 char sched_yield ();
38335 /* The GNU C library defines this for functions which it implements
38336 to always fail with ENOSYS. Some functions are actually named
38337 something starting with __ and the normal name is an alias. */
38338 #if defined __stub_sched_yield || defined __stub___sched_yield
38345 return sched_yield ();
38350 rm -f conftest.
$ac_objext conftest
$ac_exeext
38351 if { (ac_try
="$ac_link"
38352 case "(($ac_try" in
38353 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
38354 *) ac_try_echo=$ac_try;;
38356 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38357 (eval "$ac_link") 2>conftest.er1
38359 grep -v '^ *+' conftest.er1 >conftest.err
38361 cat conftest.err >&5
38362 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38363 (exit $ac_status); } && {
38364 test -z "$ac_c_werror_flag" ||
38365 test ! -s conftest.err
38366 } && test -s conftest$ac_exeext &&
38367 $as_test_x conftest$ac_exeext; then
38368 ac_cv_func_sched_yield=yes
38370 echo "$as_me: failed program was:" >&5
38371 sed 's/^/| /' conftest.$ac_ext >&5
38373 ac_cv_func_sched_yield=no
38376 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38377 conftest$ac_exeext conftest.$ac_ext
38379 { echo "$as_me:$LINENO: result: $ac_cv_func_sched_yield" >&5
38380 echo "${ECHO_T}$ac_cv_func_sched_yield" >&6; }
38381 if test $ac_cv_func_sched_yield = yes; then
38382 cat >>confdefs.h <<\_ACEOF
38383 #define HAVE_SCHED_YIELD 1
38388 { echo "$as_me:$LINENO: checking for sched_yield in -lposix4" >&5
38389 echo $ECHO_N "checking for sched_yield in -lposix4... $ECHO_C" >&6; }
38390 if test "${ac_cv_lib_posix4_sched_yield+set}" = set; then
38391 echo $ECHO_N "(cached) $ECHO_C" >&6
38393 ac_check_lib_save_LIBS=$LIBS
38394 LIBS="-lposix4 $LIBS"
38395 cat >conftest.$ac_ext <<_ACEOF
38398 cat confdefs.h >>conftest.$ac_ext
38399 cat >>conftest.$ac_ext <<_ACEOF
38400 /* end confdefs.h. */
38402 /* Override any GCC internal prototype to avoid an error.
38403 Use char because int might match the return type of a GCC
38404 builtin and then its argument prototype would still apply. */
38408 char sched_yield ();
38412 return sched_yield ();
38417 rm -f conftest.$ac_objext conftest$ac_exeext
38418 if { (ac_try="$ac_link"
38419 case "(($ac_try" in
38420 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
38421 *) ac_try_echo
=$ac_try;;
38423 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38424 (eval "$ac_link") 2>conftest.er1
38426 grep -v '^ *+' conftest.er1
>conftest.err
38428 cat conftest.err
>&5
38429 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38430 (exit $ac_status); } && {
38431 test -z "$ac_c_werror_flag" ||
38432 test ! -s conftest.err
38433 } && test -s conftest
$ac_exeext &&
38434 $as_test_x conftest
$ac_exeext; then
38435 ac_cv_lib_posix4_sched_yield
=yes
38437 echo "$as_me: failed program was:" >&5
38438 sed 's/^/| /' conftest.
$ac_ext >&5
38440 ac_cv_lib_posix4_sched_yield
=no
38443 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
38444 conftest
$ac_exeext conftest.
$ac_ext
38445 LIBS
=$ac_check_lib_save_LIBS
38447 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_yield" >&5
38448 echo "${ECHO_T}$ac_cv_lib_posix4_sched_yield" >&6; }
38449 if test $ac_cv_lib_posix4_sched_yield = yes; then
38450 cat >>confdefs.h
<<\_ACEOF
38451 #define HAVE_SCHED_YIELD 1
38453 POSIX4_LINK
=" -lposix4"
38455 { echo "$as_me:$LINENO: WARNING: wxThread::Yield will not work properly" >&5
38456 echo "$as_me: WARNING: wxThread::Yield will not work properly" >&2;}
38467 { echo "$as_me:$LINENO: checking for pthread_attr_getschedpolicy" >&5
38468 echo $ECHO_N "checking for pthread_attr_getschedpolicy... $ECHO_C" >&6; }
38469 if test "${ac_cv_func_pthread_attr_getschedpolicy+set}" = set; then
38470 echo $ECHO_N "(cached) $ECHO_C" >&6
38472 cat >conftest.
$ac_ext <<_ACEOF
38475 cat confdefs.h
>>conftest.
$ac_ext
38476 cat >>conftest.
$ac_ext <<_ACEOF
38477 /* end confdefs.h. */
38478 /* Define pthread_attr_getschedpolicy to an innocuous variant, in case <limits.h> declares pthread_attr_getschedpolicy.
38479 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38480 #define pthread_attr_getschedpolicy innocuous_pthread_attr_getschedpolicy
38482 /* System header to define __stub macros and hopefully few prototypes,
38483 which can conflict with char pthread_attr_getschedpolicy (); below.
38484 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38485 <limits.h> exists even on freestanding compilers. */
38488 # include <limits.h>
38490 # include <assert.h>
38493 #undef pthread_attr_getschedpolicy
38495 /* Override any GCC internal prototype to avoid an error.
38496 Use char because int might match the return type of a GCC
38497 builtin and then its argument prototype would still apply. */
38501 char pthread_attr_getschedpolicy ();
38502 /* The GNU C library defines this for functions which it implements
38503 to always fail with ENOSYS. Some functions are actually named
38504 something starting with __ and the normal name is an alias. */
38505 #if defined __stub_pthread_attr_getschedpolicy || defined __stub___pthread_attr_getschedpolicy
38512 return pthread_attr_getschedpolicy ();
38517 rm -f conftest.
$ac_objext conftest
$ac_exeext
38518 if { (ac_try
="$ac_link"
38519 case "(($ac_try" in
38520 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
38521 *) ac_try_echo=$ac_try;;
38523 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38524 (eval "$ac_link") 2>conftest.er1
38526 grep -v '^ *+' conftest.er1 >conftest.err
38528 cat conftest.err >&5
38529 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38530 (exit $ac_status); } && {
38531 test -z "$ac_c_werror_flag" ||
38532 test ! -s conftest.err
38533 } && test -s conftest$ac_exeext &&
38534 $as_test_x conftest$ac_exeext; then
38535 ac_cv_func_pthread_attr_getschedpolicy=yes
38537 echo "$as_me: failed program was:" >&5
38538 sed 's/^/| /' conftest.$ac_ext >&5
38540 ac_cv_func_pthread_attr_getschedpolicy=no
38543 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38544 conftest$ac_exeext conftest.$ac_ext
38546 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_getschedpolicy" >&5
38547 echo "${ECHO_T}$ac_cv_func_pthread_attr_getschedpolicy" >&6; }
38548 if test $ac_cv_func_pthread_attr_getschedpolicy = yes; then
38549 { echo "$as_me:$LINENO: checking for pthread_attr_setschedparam" >&5
38550 echo $ECHO_N "checking for pthread_attr_setschedparam... $ECHO_C" >&6; }
38551 if test "${ac_cv_func_pthread_attr_setschedparam+set}" = set; then
38552 echo $ECHO_N "(cached) $ECHO_C" >&6
38554 cat >conftest.$ac_ext <<_ACEOF
38557 cat confdefs.h >>conftest.$ac_ext
38558 cat >>conftest.$ac_ext <<_ACEOF
38559 /* end confdefs.h. */
38560 /* Define pthread_attr_setschedparam to an innocuous variant, in case <limits.h> declares pthread_attr_setschedparam.
38561 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38562 #define pthread_attr_setschedparam innocuous_pthread_attr_setschedparam
38564 /* System header to define __stub macros and hopefully few prototypes,
38565 which can conflict with char pthread_attr_setschedparam (); below.
38566 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38567 <limits.h> exists even on freestanding compilers. */
38570 # include <limits.h>
38572 # include <assert.h>
38575 #undef pthread_attr_setschedparam
38577 /* Override any GCC internal prototype to avoid an error.
38578 Use char because int might match the return type of a GCC
38579 builtin and then its argument prototype would still apply. */
38583 char pthread_attr_setschedparam ();
38584 /* The GNU C library defines this for functions which it implements
38585 to always fail with ENOSYS. Some functions are actually named
38586 something starting with __ and the normal name is an alias. */
38587 #if defined __stub_pthread_attr_setschedparam || defined __stub___pthread_attr_setschedparam
38594 return pthread_attr_setschedparam ();
38599 rm -f conftest.$ac_objext conftest$ac_exeext
38600 if { (ac_try="$ac_link"
38601 case "(($ac_try" in
38602 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
38603 *) ac_try_echo
=$ac_try;;
38605 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38606 (eval "$ac_link") 2>conftest.er1
38608 grep -v '^ *+' conftest.er1
>conftest.err
38610 cat conftest.err
>&5
38611 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38612 (exit $ac_status); } && {
38613 test -z "$ac_c_werror_flag" ||
38614 test ! -s conftest.err
38615 } && test -s conftest
$ac_exeext &&
38616 $as_test_x conftest
$ac_exeext; then
38617 ac_cv_func_pthread_attr_setschedparam
=yes
38619 echo "$as_me: failed program was:" >&5
38620 sed 's/^/| /' conftest.
$ac_ext >&5
38622 ac_cv_func_pthread_attr_setschedparam
=no
38625 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
38626 conftest
$ac_exeext conftest.
$ac_ext
38628 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setschedparam" >&5
38629 echo "${ECHO_T}$ac_cv_func_pthread_attr_setschedparam" >&6; }
38630 if test $ac_cv_func_pthread_attr_setschedparam = yes; then
38631 { echo "$as_me:$LINENO: checking for sched_get_priority_max" >&5
38632 echo $ECHO_N "checking for sched_get_priority_max... $ECHO_C" >&6; }
38633 if test "${ac_cv_func_sched_get_priority_max+set}" = set; then
38634 echo $ECHO_N "(cached) $ECHO_C" >&6
38636 cat >conftest.
$ac_ext <<_ACEOF
38639 cat confdefs.h
>>conftest.
$ac_ext
38640 cat >>conftest.
$ac_ext <<_ACEOF
38641 /* end confdefs.h. */
38642 /* Define sched_get_priority_max to an innocuous variant, in case <limits.h> declares sched_get_priority_max.
38643 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38644 #define sched_get_priority_max innocuous_sched_get_priority_max
38646 /* System header to define __stub macros and hopefully few prototypes,
38647 which can conflict with char sched_get_priority_max (); below.
38648 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38649 <limits.h> exists even on freestanding compilers. */
38652 # include <limits.h>
38654 # include <assert.h>
38657 #undef sched_get_priority_max
38659 /* Override any GCC internal prototype to avoid an error.
38660 Use char because int might match the return type of a GCC
38661 builtin and then its argument prototype would still apply. */
38665 char sched_get_priority_max ();
38666 /* The GNU C library defines this for functions which it implements
38667 to always fail with ENOSYS. Some functions are actually named
38668 something starting with __ and the normal name is an alias. */
38669 #if defined __stub_sched_get_priority_max || defined __stub___sched_get_priority_max
38676 return sched_get_priority_max ();
38681 rm -f conftest.
$ac_objext conftest
$ac_exeext
38682 if { (ac_try
="$ac_link"
38683 case "(($ac_try" in
38684 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
38685 *) ac_try_echo=$ac_try;;
38687 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38688 (eval "$ac_link") 2>conftest.er1
38690 grep -v '^ *+' conftest.er1 >conftest.err
38692 cat conftest.err >&5
38693 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38694 (exit $ac_status); } && {
38695 test -z "$ac_c_werror_flag" ||
38696 test ! -s conftest.err
38697 } && test -s conftest$ac_exeext &&
38698 $as_test_x conftest$ac_exeext; then
38699 ac_cv_func_sched_get_priority_max=yes
38701 echo "$as_me: failed program was:" >&5
38702 sed 's/^/| /' conftest.$ac_ext >&5
38704 ac_cv_func_sched_get_priority_max=no
38707 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38708 conftest$ac_exeext conftest.$ac_ext
38710 { echo "$as_me:$LINENO: result: $ac_cv_func_sched_get_priority_max" >&5
38711 echo "${ECHO_T}$ac_cv_func_sched_get_priority_max" >&6; }
38712 if test $ac_cv_func_sched_get_priority_max = yes; then
38715 { echo "$as_me:$LINENO: checking for sched_get_priority_max in -lposix4" >&5
38716 echo $ECHO_N "checking for sched_get_priority_max in -lposix4... $ECHO_C" >&6; }
38717 if test "${ac_cv_lib_posix4_sched_get_priority_max+set}" = set; then
38718 echo $ECHO_N "(cached) $ECHO_C" >&6
38720 ac_check_lib_save_LIBS=$LIBS
38721 LIBS="-lposix4 $LIBS"
38722 cat >conftest.$ac_ext <<_ACEOF
38725 cat confdefs.h >>conftest.$ac_ext
38726 cat >>conftest.$ac_ext <<_ACEOF
38727 /* end confdefs.h. */
38729 /* Override any GCC internal prototype to avoid an error.
38730 Use char because int might match the return type of a GCC
38731 builtin and then its argument prototype would still apply. */
38735 char sched_get_priority_max ();
38739 return sched_get_priority_max ();
38744 rm -f conftest.$ac_objext conftest$ac_exeext
38745 if { (ac_try="$ac_link"
38746 case "(($ac_try" in
38747 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
38748 *) ac_try_echo
=$ac_try;;
38750 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38751 (eval "$ac_link") 2>conftest.er1
38753 grep -v '^ *+' conftest.er1
>conftest.err
38755 cat conftest.err
>&5
38756 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38757 (exit $ac_status); } && {
38758 test -z "$ac_c_werror_flag" ||
38759 test ! -s conftest.err
38760 } && test -s conftest
$ac_exeext &&
38761 $as_test_x conftest
$ac_exeext; then
38762 ac_cv_lib_posix4_sched_get_priority_max
=yes
38764 echo "$as_me: failed program was:" >&5
38765 sed 's/^/| /' conftest.
$ac_ext >&5
38767 ac_cv_lib_posix4_sched_get_priority_max
=no
38770 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
38771 conftest
$ac_exeext conftest.
$ac_ext
38772 LIBS
=$ac_check_lib_save_LIBS
38774 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_get_priority_max" >&5
38775 echo "${ECHO_T}$ac_cv_lib_posix4_sched_get_priority_max" >&6; }
38776 if test $ac_cv_lib_posix4_sched_get_priority_max = yes; then
38779 POSIX4_LINK
=" -lposix4"
38793 if test "$HAVE_PRIOR_FUNCS" = 1; then
38794 cat >>confdefs.h
<<\_ACEOF
38795 #define HAVE_THREAD_PRIORITY_FUNCTIONS 1
38799 { echo "$as_me:$LINENO: WARNING: Setting thread priority will not work" >&5
38800 echo "$as_me: WARNING: Setting thread priority will not work" >&2;}
38803 { echo "$as_me:$LINENO: checking for pthread_cancel" >&5
38804 echo $ECHO_N "checking for pthread_cancel... $ECHO_C" >&6; }
38805 if test "${ac_cv_func_pthread_cancel+set}" = set; then
38806 echo $ECHO_N "(cached) $ECHO_C" >&6
38808 cat >conftest.
$ac_ext <<_ACEOF
38811 cat confdefs.h
>>conftest.
$ac_ext
38812 cat >>conftest.
$ac_ext <<_ACEOF
38813 /* end confdefs.h. */
38814 /* Define pthread_cancel to an innocuous variant, in case <limits.h> declares pthread_cancel.
38815 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38816 #define pthread_cancel innocuous_pthread_cancel
38818 /* System header to define __stub macros and hopefully few prototypes,
38819 which can conflict with char pthread_cancel (); below.
38820 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38821 <limits.h> exists even on freestanding compilers. */
38824 # include <limits.h>
38826 # include <assert.h>
38829 #undef pthread_cancel
38831 /* Override any GCC internal prototype to avoid an error.
38832 Use char because int might match the return type of a GCC
38833 builtin and then its argument prototype would still apply. */
38837 char pthread_cancel ();
38838 /* The GNU C library defines this for functions which it implements
38839 to always fail with ENOSYS. Some functions are actually named
38840 something starting with __ and the normal name is an alias. */
38841 #if defined __stub_pthread_cancel || defined __stub___pthread_cancel
38848 return pthread_cancel ();
38853 rm -f conftest.
$ac_objext conftest
$ac_exeext
38854 if { (ac_try
="$ac_link"
38855 case "(($ac_try" in
38856 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
38857 *) ac_try_echo=$ac_try;;
38859 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38860 (eval "$ac_link") 2>conftest.er1
38862 grep -v '^ *+' conftest.er1 >conftest.err
38864 cat conftest.err >&5
38865 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38866 (exit $ac_status); } && {
38867 test -z "$ac_c_werror_flag" ||
38868 test ! -s conftest.err
38869 } && test -s conftest$ac_exeext &&
38870 $as_test_x conftest$ac_exeext; then
38871 ac_cv_func_pthread_cancel=yes
38873 echo "$as_me: failed program was:" >&5
38874 sed 's/^/| /' conftest.$ac_ext >&5
38876 ac_cv_func_pthread_cancel=no
38879 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38880 conftest$ac_exeext conftest.$ac_ext
38882 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_cancel" >&5
38883 echo "${ECHO_T}$ac_cv_func_pthread_cancel" >&6; }
38884 if test $ac_cv_func_pthread_cancel = yes; then
38885 cat >>confdefs.h <<\_ACEOF
38886 #define HAVE_PTHREAD_CANCEL 1
38890 { echo "$as_me:$LINENO: WARNING: wxThread::Kill() will not work properly" >&5
38891 echo "$as_me: WARNING: wxThread::Kill() will not work properly" >&2;}
38895 { echo "$as_me:$LINENO: checking for pthread_mutex_timedlock" >&5
38896 echo $ECHO_N "checking for pthread_mutex_timedlock... $ECHO_C" >&6; }
38897 if test "${ac_cv_func_pthread_mutex_timedlock+set}" = set; then
38898 echo $ECHO_N "(cached) $ECHO_C" >&6
38900 cat >conftest.$ac_ext <<_ACEOF
38903 cat confdefs.h >>conftest.$ac_ext
38904 cat >>conftest.$ac_ext <<_ACEOF
38905 /* end confdefs.h. */
38906 /* Define pthread_mutex_timedlock to an innocuous variant, in case <limits.h> declares pthread_mutex_timedlock.
38907 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38908 #define pthread_mutex_timedlock innocuous_pthread_mutex_timedlock
38910 /* System header to define __stub macros and hopefully few prototypes,
38911 which can conflict with char pthread_mutex_timedlock (); below.
38912 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38913 <limits.h> exists even on freestanding compilers. */
38916 # include <limits.h>
38918 # include <assert.h>
38921 #undef pthread_mutex_timedlock
38923 /* Override any GCC internal prototype to avoid an error.
38924 Use char because int might match the return type of a GCC
38925 builtin and then its argument prototype would still apply. */
38929 char pthread_mutex_timedlock ();
38930 /* The GNU C library defines this for functions which it implements
38931 to always fail with ENOSYS. Some functions are actually named
38932 something starting with __ and the normal name is an alias. */
38933 #if defined __stub_pthread_mutex_timedlock || defined __stub___pthread_mutex_timedlock
38940 return pthread_mutex_timedlock ();
38945 rm -f conftest.$ac_objext conftest$ac_exeext
38946 if { (ac_try="$ac_link"
38947 case "(($ac_try" in
38948 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
38949 *) ac_try_echo
=$ac_try;;
38951 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38952 (eval "$ac_link") 2>conftest.er1
38954 grep -v '^ *+' conftest.er1
>conftest.err
38956 cat conftest.err
>&5
38957 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38958 (exit $ac_status); } && {
38959 test -z "$ac_c_werror_flag" ||
38960 test ! -s conftest.err
38961 } && test -s conftest
$ac_exeext &&
38962 $as_test_x conftest
$ac_exeext; then
38963 ac_cv_func_pthread_mutex_timedlock
=yes
38965 echo "$as_me: failed program was:" >&5
38966 sed 's/^/| /' conftest.
$ac_ext >&5
38968 ac_cv_func_pthread_mutex_timedlock
=no
38971 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
38972 conftest
$ac_exeext conftest.
$ac_ext
38974 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_mutex_timedlock" >&5
38975 echo "${ECHO_T}$ac_cv_func_pthread_mutex_timedlock" >&6; }
38976 if test $ac_cv_func_pthread_mutex_timedlock = yes; then
38977 cat >>confdefs.h
<<\_ACEOF
38978 #define HAVE_PTHREAD_MUTEX_TIMEDLOCK 1
38982 { echo "$as_me:$LINENO: WARNING: wxMutex::LockTimeout() will not work" >&5
38983 echo "$as_me: WARNING: wxMutex::LockTimeout() will not work" >&2;}
38987 { echo "$as_me:$LINENO: checking for pthread_attr_setstacksize" >&5
38988 echo $ECHO_N "checking for pthread_attr_setstacksize... $ECHO_C" >&6; }
38989 if test "${ac_cv_func_pthread_attr_setstacksize+set}" = set; then
38990 echo $ECHO_N "(cached) $ECHO_C" >&6
38992 cat >conftest.
$ac_ext <<_ACEOF
38995 cat confdefs.h
>>conftest.
$ac_ext
38996 cat >>conftest.
$ac_ext <<_ACEOF
38997 /* end confdefs.h. */
38998 /* Define pthread_attr_setstacksize to an innocuous variant, in case <limits.h> declares pthread_attr_setstacksize.
38999 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39000 #define pthread_attr_setstacksize innocuous_pthread_attr_setstacksize
39002 /* System header to define __stub macros and hopefully few prototypes,
39003 which can conflict with char pthread_attr_setstacksize (); below.
39004 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39005 <limits.h> exists even on freestanding compilers. */
39008 # include <limits.h>
39010 # include <assert.h>
39013 #undef pthread_attr_setstacksize
39015 /* Override any GCC internal prototype to avoid an error.
39016 Use char because int might match the return type of a GCC
39017 builtin and then its argument prototype would still apply. */
39021 char pthread_attr_setstacksize ();
39022 /* The GNU C library defines this for functions which it implements
39023 to always fail with ENOSYS. Some functions are actually named
39024 something starting with __ and the normal name is an alias. */
39025 #if defined __stub_pthread_attr_setstacksize || defined __stub___pthread_attr_setstacksize
39032 return pthread_attr_setstacksize ();
39037 rm -f conftest.
$ac_objext conftest
$ac_exeext
39038 if { (ac_try
="$ac_link"
39039 case "(($ac_try" in
39040 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
39041 *) ac_try_echo=$ac_try;;
39043 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39044 (eval "$ac_link") 2>conftest.er1
39046 grep -v '^ *+' conftest.er1 >conftest.err
39048 cat conftest.err >&5
39049 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39050 (exit $ac_status); } && {
39051 test -z "$ac_c_werror_flag" ||
39052 test ! -s conftest.err
39053 } && test -s conftest$ac_exeext &&
39054 $as_test_x conftest$ac_exeext; then
39055 ac_cv_func_pthread_attr_setstacksize=yes
39057 echo "$as_me: failed program was:" >&5
39058 sed 's/^/| /' conftest.$ac_ext >&5
39060 ac_cv_func_pthread_attr_setstacksize=no
39063 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39064 conftest$ac_exeext conftest.$ac_ext
39066 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setstacksize" >&5
39067 echo "${ECHO_T}$ac_cv_func_pthread_attr_setstacksize" >&6; }
39068 if test $ac_cv_func_pthread_attr_setstacksize = yes; then
39069 cat >>confdefs.h <<\_ACEOF
39070 #define HAVE_PTHREAD_ATTR_SETSTACKSIZE 1
39077 { echo "$as_me:$LINENO: checking for pthread_mutexattr_t" >&5
39078 echo $ECHO_N "checking for pthread_mutexattr_t... $ECHO_C" >&6; }
39079 if test "${wx_cv_type_pthread_mutexattr_t+set}" = set; then
39080 echo $ECHO_N "(cached) $ECHO_C" >&6
39083 cat >conftest.$ac_ext <<_ACEOF
39086 cat confdefs.h >>conftest.$ac_ext
39087 cat >>conftest.$ac_ext <<_ACEOF
39088 /* end confdefs.h. */
39089 #include <pthread.h>
39094 pthread_mutexattr_t attr;
39095 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
39101 rm -f conftest.$ac_objext
39102 if { (ac_try="$ac_compile"
39103 case "(($ac_try" in
39104 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
39105 *) ac_try_echo
=$ac_try;;
39107 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39108 (eval "$ac_compile") 2>conftest.er1
39110 grep -v '^ *+' conftest.er1
>conftest.err
39112 cat conftest.err
>&5
39113 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39114 (exit $ac_status); } && {
39115 test -z "$ac_c_werror_flag" ||
39116 test ! -s conftest.err
39117 } && test -s conftest.
$ac_objext; then
39118 wx_cv_type_pthread_mutexattr_t
=yes
39120 echo "$as_me: failed program was:" >&5
39121 sed 's/^/| /' conftest.
$ac_ext >&5
39123 wx_cv_type_pthread_mutexattr_t
=no
39127 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
39130 { echo "$as_me:$LINENO: result: $wx_cv_type_pthread_mutexattr_t" >&5
39131 echo "${ECHO_T}$wx_cv_type_pthread_mutexattr_t" >&6; }
39133 if test "$wx_cv_type_pthread_mutexattr_t" = "yes"; then
39134 cat >>confdefs.h
<<\_ACEOF
39135 #define HAVE_PTHREAD_MUTEXATTR_T 1
39139 { echo "$as_me:$LINENO: checking for pthread_mutexattr_settype declaration" >&5
39140 echo $ECHO_N "checking for pthread_mutexattr_settype declaration... $ECHO_C" >&6; }
39141 if test "${wx_cv_func_pthread_mutexattr_settype_decl+set}" = set; then
39142 echo $ECHO_N "(cached) $ECHO_C" >&6
39145 cat >conftest.
$ac_ext <<_ACEOF
39148 cat confdefs.h
>>conftest.
$ac_ext
39149 cat >>conftest.
$ac_ext <<_ACEOF
39150 /* end confdefs.h. */
39151 #include <pthread.h>
39156 pthread_mutexattr_t attr;
39157 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
39163 rm -f conftest.
$ac_objext
39164 if { (ac_try
="$ac_compile"
39165 case "(($ac_try" in
39166 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
39167 *) ac_try_echo=$ac_try;;
39169 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39170 (eval "$ac_compile") 2>conftest.er1
39172 grep -v '^ *+' conftest.er1 >conftest.err
39174 cat conftest.err >&5
39175 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39176 (exit $ac_status); } && {
39177 test -z "$ac_c_werror_flag" ||
39178 test ! -s conftest.err
39179 } && test -s conftest.$ac_objext; then
39180 wx_cv_func_pthread_mutexattr_settype_decl=yes
39182 echo "$as_me: failed program was:" >&5
39183 sed 's/^/| /' conftest.$ac_ext >&5
39185 wx_cv_func_pthread_mutexattr_settype_decl=no
39189 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39192 { echo "$as_me:$LINENO: result: $wx_cv_func_pthread_mutexattr_settype_decl" >&5
39193 echo "${ECHO_T}$wx_cv_func_pthread_mutexattr_settype_decl" >&6; }
39194 if test "$wx_cv_func_pthread_mutexattr_settype_decl" = "yes"; then
39195 cat >>confdefs.h <<\_ACEOF
39196 #define HAVE_PTHREAD_MUTEXATTR_SETTYPE_DECL 1
39201 { echo "$as_me:$LINENO: checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER" >&5
39202 echo $ECHO_N "checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER... $ECHO_C" >&6; }
39203 if test "${wx_cv_type_pthread_rec_mutex_init+set}" = set; then
39204 echo $ECHO_N "(cached) $ECHO_C" >&6
39207 cat >conftest.$ac_ext <<_ACEOF
39210 cat confdefs.h >>conftest.$ac_ext
39211 cat >>conftest.$ac_ext <<_ACEOF
39212 /* end confdefs.h. */
39213 #include <pthread.h>
39218 pthread_mutex_t attr = PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP;
39224 rm -f conftest.$ac_objext
39225 if { (ac_try="$ac_compile"
39226 case "(($ac_try" in
39227 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
39228 *) ac_try_echo
=$ac_try;;
39230 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39231 (eval "$ac_compile") 2>conftest.er1
39233 grep -v '^ *+' conftest.er1
>conftest.err
39235 cat conftest.err
>&5
39236 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39237 (exit $ac_status); } && {
39238 test -z "$ac_c_werror_flag" ||
39239 test ! -s conftest.err
39240 } && test -s conftest.
$ac_objext; then
39242 wx_cv_type_pthread_rec_mutex_init
=yes
39245 echo "$as_me: failed program was:" >&5
39246 sed 's/^/| /' conftest.
$ac_ext >&5
39249 wx_cv_type_pthread_rec_mutex_init
=no
39254 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
39257 { echo "$as_me:$LINENO: result: $wx_cv_type_pthread_rec_mutex_init" >&5
39258 echo "${ECHO_T}$wx_cv_type_pthread_rec_mutex_init" >&6; }
39259 if test "$wx_cv_type_pthread_rec_mutex_init" = "yes"; then
39260 cat >>confdefs.h
<<\_ACEOF
39261 #define HAVE_PTHREAD_RECURSIVE_MUTEX_INITIALIZER 1
39265 { echo "$as_me:$LINENO: WARNING: wxMutex won't be recursive on this platform" >&5
39266 echo "$as_me: WARNING: wxMutex won't be recursive on this platform" >&2;}
39272 if test "$wxUSE_THREADS" = "yes" ; then
39275 { echo "$as_me:$LINENO: checking if compiler supports -mthreads" >&5
39276 echo $ECHO_N "checking if compiler supports -mthreads... $ECHO_C" >&6; }
39277 if test "${wx_cv_cflags_mthread+set}" = set; then
39278 echo $ECHO_N "(cached) $ECHO_C" >&6
39281 CFLAGS_OLD
="$CFLAGS"
39282 CFLAGS
="-mthreads $CFLAGS"
39283 cat >conftest.
$ac_ext <<_ACEOF
39286 cat confdefs.h
>>conftest.
$ac_ext
39287 cat >>conftest.
$ac_ext <<_ACEOF
39288 /* end confdefs.h. */
39298 rm -f conftest.
$ac_objext
39299 if { (ac_try
="$ac_compile"
39300 case "(($ac_try" in
39301 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
39302 *) ac_try_echo=$ac_try;;
39304 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39305 (eval "$ac_compile") 2>conftest.er1
39307 grep -v '^ *+' conftest.er1 >conftest.err
39309 cat conftest.err >&5
39310 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39311 (exit $ac_status); } && {
39312 test -z "$ac_c_werror_flag" ||
39313 test ! -s conftest.err
39314 } && test -s conftest.$ac_objext; then
39315 wx_cv_cflags_mthread=yes
39317 echo "$as_me: failed program was:" >&5
39318 sed 's/^/| /' conftest.$ac_ext >&5
39320 wx_cv_cflags_mthread=no
39324 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39328 { echo "$as_me:$LINENO: result: $wx_cv_cflags_mthread" >&5
39329 echo "${ECHO_T}$wx_cv_cflags_mthread" >&6; }
39331 if test "$wx_cv_cflags_mthread" = "yes"; then
39332 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -mthreads"
39333 LDFLAGS="$LDFLAGS -mthreads"
39335 CFLAGS="$CFLAGS_OLD"
39339 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -Zmt -D__ST_MT_ERRNO__"
39340 LDFLAGS="$LDFLAGS -Zmt"
39346 { echo "$as_me:$LINENO: checking for localtime_r" >&5
39347 echo $ECHO_N "checking for localtime_r... $ECHO_C" >&6; }
39348 if test "${ac_cv_func_localtime_r+set}" = set; then
39349 echo $ECHO_N "(cached) $ECHO_C" >&6
39351 cat >conftest.$ac_ext <<_ACEOF
39354 cat confdefs.h >>conftest.$ac_ext
39355 cat >>conftest.$ac_ext <<_ACEOF
39356 /* end confdefs.h. */
39357 /* Define localtime_r to an innocuous variant, in case <limits.h> declares localtime_r.
39358 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39359 #define localtime_r innocuous_localtime_r
39361 /* System header to define __stub macros and hopefully few prototypes,
39362 which can conflict with char localtime_r (); below.
39363 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39364 <limits.h> exists even on freestanding compilers. */
39367 # include <limits.h>
39369 # include <assert.h>
39374 /* Override any GCC internal prototype to avoid an error.
39375 Use char because int might match the return type of a GCC
39376 builtin and then its argument prototype would still apply. */
39380 char localtime_r ();
39381 /* The GNU C library defines this for functions which it implements
39382 to always fail with ENOSYS. Some functions are actually named
39383 something starting with __ and the normal name is an alias. */
39384 #if defined __stub_localtime_r || defined __stub___localtime_r
39391 return localtime_r ();
39396 rm -f conftest.$ac_objext conftest$ac_exeext
39397 if { (ac_try="$ac_link"
39398 case "(($ac_try" in
39399 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
39400 *) ac_try_echo
=$ac_try;;
39402 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39403 (eval "$ac_link") 2>conftest.er1
39405 grep -v '^ *+' conftest.er1
>conftest.err
39407 cat conftest.err
>&5
39408 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39409 (exit $ac_status); } && {
39410 test -z "$ac_c_werror_flag" ||
39411 test ! -s conftest.err
39412 } && test -s conftest
$ac_exeext &&
39413 $as_test_x conftest
$ac_exeext; then
39414 ac_cv_func_localtime_r
=yes
39416 echo "$as_me: failed program was:" >&5
39417 sed 's/^/| /' conftest.
$ac_ext >&5
39419 ac_cv_func_localtime_r
=no
39422 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
39423 conftest
$ac_exeext conftest.
$ac_ext
39425 { echo "$as_me:$LINENO: result: $ac_cv_func_localtime_r" >&5
39426 echo "${ECHO_T}$ac_cv_func_localtime_r" >&6; }
39427 if test $ac_cv_func_localtime_r = yes; then
39428 cat >>confdefs.h
<<\_ACEOF
39429 #define HAVE_LOCALTIME_R 1
39434 { echo "$as_me:$LINENO: checking for gmtime_r" >&5
39435 echo $ECHO_N "checking for gmtime_r... $ECHO_C" >&6; }
39436 if test "${ac_cv_func_gmtime_r+set}" = set; then
39437 echo $ECHO_N "(cached) $ECHO_C" >&6
39439 cat >conftest.
$ac_ext <<_ACEOF
39442 cat confdefs.h
>>conftest.
$ac_ext
39443 cat >>conftest.
$ac_ext <<_ACEOF
39444 /* end confdefs.h. */
39445 /* Define gmtime_r to an innocuous variant, in case <limits.h> declares gmtime_r.
39446 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39447 #define gmtime_r innocuous_gmtime_r
39449 /* System header to define __stub macros and hopefully few prototypes,
39450 which can conflict with char gmtime_r (); below.
39451 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39452 <limits.h> exists even on freestanding compilers. */
39455 # include <limits.h>
39457 # include <assert.h>
39462 /* Override any GCC internal prototype to avoid an error.
39463 Use char because int might match the return type of a GCC
39464 builtin and then its argument prototype would still apply. */
39469 /* The GNU C library defines this for functions which it implements
39470 to always fail with ENOSYS. Some functions are actually named
39471 something starting with __ and the normal name is an alias. */
39472 #if defined __stub_gmtime_r || defined __stub___gmtime_r
39479 return gmtime_r ();
39484 rm -f conftest.
$ac_objext conftest
$ac_exeext
39485 if { (ac_try
="$ac_link"
39486 case "(($ac_try" in
39487 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
39488 *) ac_try_echo=$ac_try;;
39490 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39491 (eval "$ac_link") 2>conftest.er1
39493 grep -v '^ *+' conftest.er1 >conftest.err
39495 cat conftest.err >&5
39496 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39497 (exit $ac_status); } && {
39498 test -z "$ac_c_werror_flag" ||
39499 test ! -s conftest.err
39500 } && test -s conftest$ac_exeext &&
39501 $as_test_x conftest$ac_exeext; then
39502 ac_cv_func_gmtime_r=yes
39504 echo "$as_me: failed program was:" >&5
39505 sed 's/^/| /' conftest.$ac_ext >&5
39507 ac_cv_func_gmtime_r=no
39510 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39511 conftest$ac_exeext conftest.$ac_ext
39513 { echo "$as_me:$LINENO: result: $ac_cv_func_gmtime_r" >&5
39514 echo "${ECHO_T}$ac_cv_func_gmtime_r" >&6; }
39515 if test $ac_cv_func_gmtime_r = yes; then
39516 cat >>confdefs.h <<\_ACEOF
39517 #define HAVE_GMTIME_R 1
39522 { echo "$as_me:$LINENO: checking for readdir_r" >&5
39523 echo $ECHO_N "checking for readdir_r... $ECHO_C" >&6; }
39524 if test "${ac_cv_func_readdir_r+set}" = set; then
39525 echo $ECHO_N "(cached) $ECHO_C" >&6
39527 cat >conftest.$ac_ext <<_ACEOF
39530 cat confdefs.h >>conftest.$ac_ext
39531 cat >>conftest.$ac_ext <<_ACEOF
39532 /* end confdefs.h. */
39533 /* Define readdir_r to an innocuous variant, in case <limits.h> declares readdir_r.
39534 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39535 #define readdir_r innocuous_readdir_r
39537 /* System header to define __stub macros and hopefully few prototypes,
39538 which can conflict with char readdir_r (); below.
39539 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39540 <limits.h> exists even on freestanding compilers. */
39543 # include <limits.h>
39545 # include <assert.h>
39550 /* Override any GCC internal prototype to avoid an error.
39551 Use char because int might match the return type of a GCC
39552 builtin and then its argument prototype would still apply. */
39557 /* The GNU C library defines this for functions which it implements
39558 to always fail with ENOSYS. Some functions are actually named
39559 something starting with __ and the normal name is an alias. */
39560 #if defined __stub_readdir_r || defined __stub___readdir_r
39567 return readdir_r ();
39572 rm -f conftest.$ac_objext conftest$ac_exeext
39573 if { (ac_try="$ac_link"
39574 case "(($ac_try" in
39575 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
39576 *) ac_try_echo
=$ac_try;;
39578 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39579 (eval "$ac_link") 2>conftest.er1
39581 grep -v '^ *+' conftest.er1
>conftest.err
39583 cat conftest.err
>&5
39584 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39585 (exit $ac_status); } && {
39586 test -z "$ac_c_werror_flag" ||
39587 test ! -s conftest.err
39588 } && test -s conftest
$ac_exeext &&
39589 $as_test_x conftest
$ac_exeext; then
39590 ac_cv_func_readdir_r
=yes
39592 echo "$as_me: failed program was:" >&5
39593 sed 's/^/| /' conftest.
$ac_ext >&5
39595 ac_cv_func_readdir_r
=no
39598 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
39599 conftest
$ac_exeext conftest.
$ac_ext
39601 { echo "$as_me:$LINENO: result: $ac_cv_func_readdir_r" >&5
39602 echo "${ECHO_T}$ac_cv_func_readdir_r" >&6; }
39603 if test $ac_cv_func_readdir_r = yes; then
39604 cat >>confdefs.h
<<\_ACEOF
39605 #define HAVE_READDIR_R 1
39614 ac_cpp
='$CPP $CPPFLAGS'
39615 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39616 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39617 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
39619 { echo "$as_me:$LINENO: checking how many arguments gethostbyname_r() takes" >&5
39620 echo $ECHO_N "checking how many arguments gethostbyname_r() takes... $ECHO_C" >&6; }
39622 if test "${ac_cv_func_which_gethostbyname_r+set}" = set; then
39623 echo $ECHO_N "(cached) $ECHO_C" >&6
39627 ################################################################
39629 ac_cv_func_which_gethostbyname_r
=unknown
39632 # ONE ARGUMENT (sanity check)
39635 # This should fail, as there is no variant of gethostbyname_r() that takes
39636 # a single argument. If it actually compiles, then we can assume that
39637 # netdb.h is not declaring the function, and the compiler is thereby
39638 # assuming an implicit prototype. In which case, we're out of luck.
39640 cat >conftest.
$ac_ext <<_ACEOF
39643 cat confdefs.h
>>conftest.
$ac_ext
39644 cat >>conftest.
$ac_ext <<_ACEOF
39645 /* end confdefs.h. */
39651 char *name = "www.gnu.org";
39652 (void)gethostbyname_r(name) /* ; */
39658 rm -f conftest.
$ac_objext
39659 if { (ac_try
="$ac_compile"
39660 case "(($ac_try" in
39661 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
39662 *) ac_try_echo=$ac_try;;
39664 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39665 (eval "$ac_compile") 2>conftest.er1
39667 grep -v '^ *+' conftest.er1 >conftest.err
39669 cat conftest.err >&5
39670 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39671 (exit $ac_status); } && {
39672 test -z "$ac_c_werror_flag" ||
39673 test ! -s conftest.err
39674 } && test -s conftest.$ac_objext; then
39675 ac_cv_func_which_gethostbyname_r=no
39677 echo "$as_me: failed program was:" >&5
39678 sed 's/^/| /' conftest.$ac_ext >&5
39683 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39690 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
39692 cat >conftest.$ac_ext <<_ACEOF
39695 cat confdefs.h >>conftest.$ac_ext
39696 cat >>conftest.$ac_ext <<_ACEOF
39697 /* end confdefs.h. */
39703 char *name = "www.gnu.org";
39704 struct hostent ret, *retp;
39708 (void)gethostbyname_r(name, &ret, buf, buflen, &retp, &my_h_errno) /* ; */
39714 rm -f conftest.$ac_objext
39715 if { (ac_try="$ac_compile"
39716 case "(($ac_try" in
39717 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
39718 *) ac_try_echo
=$ac_try;;
39720 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39721 (eval "$ac_compile") 2>conftest.er1
39723 grep -v '^ *+' conftest.er1
>conftest.err
39725 cat conftest.err
>&5
39726 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39727 (exit $ac_status); } && {
39728 test -z "$ac_c_werror_flag" ||
39729 test ! -s conftest.err
39730 } && test -s conftest.
$ac_objext; then
39731 ac_cv_func_which_gethostbyname_r
=six
39733 echo "$as_me: failed program was:" >&5
39734 sed 's/^/| /' conftest.
$ac_ext >&5
39739 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
39748 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
39750 cat >conftest.
$ac_ext <<_ACEOF
39753 cat confdefs.h
>>conftest.
$ac_ext
39754 cat >>conftest.
$ac_ext <<_ACEOF
39755 /* end confdefs.h. */
39761 char *name = "www.gnu.org";
39762 struct hostent ret;
39766 (void)gethostbyname_r(name, &ret, buf, buflen, &my_h_errno) /* ; */
39772 rm -f conftest.
$ac_objext
39773 if { (ac_try
="$ac_compile"
39774 case "(($ac_try" in
39775 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
39776 *) ac_try_echo=$ac_try;;
39778 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39779 (eval "$ac_compile") 2>conftest.er1
39781 grep -v '^ *+' conftest.er1 >conftest.err
39783 cat conftest.err >&5
39784 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39785 (exit $ac_status); } && {
39786 test -z "$ac_c_werror_flag" ||
39787 test ! -s conftest.err
39788 } && test -s conftest.$ac_objext; then
39789 ac_cv_func_which_gethostbyname_r=five
39791 echo "$as_me: failed program was:" >&5
39792 sed 's/^/| /' conftest.$ac_ext >&5
39797 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39803 # (e.g. AIX, HP-UX, Tru64)
39806 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
39808 cat >conftest.$ac_ext <<_ACEOF
39811 cat confdefs.h >>conftest.$ac_ext
39812 cat >>conftest.$ac_ext <<_ACEOF
39813 /* end confdefs.h. */
39819 char *name = "www.gnu.org";
39820 struct hostent ret;
39821 struct hostent_data data;
39822 (void)gethostbyname_r(name, &ret, &data) /* ; */
39828 rm -f conftest.$ac_objext
39829 if { (ac_try="$ac_compile"
39830 case "(($ac_try" in
39831 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
39832 *) ac_try_echo
=$ac_try;;
39834 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39835 (eval "$ac_compile") 2>conftest.er1
39837 grep -v '^ *+' conftest.er1
>conftest.err
39839 cat conftest.err
>&5
39840 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39841 (exit $ac_status); } && {
39842 test -z "$ac_c_werror_flag" ||
39843 test ! -s conftest.err
39844 } && test -s conftest.
$ac_objext; then
39845 ac_cv_func_which_gethostbyname_r
=three
39847 echo "$as_me: failed program was:" >&5
39848 sed 's/^/| /' conftest.
$ac_ext >&5
39853 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
39857 ################################################################
39862 case "$ac_cv_func_which_gethostbyname_r" in
39864 { echo "$as_me:$LINENO: result: three" >&5
39865 echo "${ECHO_T}three" >&6; }
39866 cat >>confdefs.h
<<\_ACEOF
39867 #define HAVE_FUNC_GETHOSTBYNAME_R_3 1
39873 { echo "$as_me:$LINENO: result: five" >&5
39874 echo "${ECHO_T}five" >&6; }
39875 cat >>confdefs.h
<<\_ACEOF
39876 #define HAVE_FUNC_GETHOSTBYNAME_R_5 1
39882 { echo "$as_me:$LINENO: result: six" >&5
39883 echo "${ECHO_T}six" >&6; }
39884 cat >>confdefs.h
<<\_ACEOF
39885 #define HAVE_FUNC_GETHOSTBYNAME_R_6 1
39891 { echo "$as_me:$LINENO: result: cannot find function declaration in netdb.h" >&5
39892 echo "${ECHO_T}cannot find function declaration in netdb.h" >&6; }
39896 { echo "$as_me:$LINENO: result: can't tell" >&5
39897 echo "${ECHO_T}can't tell" >&6; }
39901 { { echo "$as_me:$LINENO: error: internal error" >&5
39902 echo "$as_me: error: internal error" >&2;}
39903 { (exit 1); exit 1; }; }
39908 ac_cpp
='$CPP $CPPFLAGS'
39909 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39910 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39911 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
39915 if test "x$ac_cv_func_which_gethostbyname_r" = "xno" -o \
39916 "x$ac_cv_func_which_gethostbyname_r" = "xunknown" ; then
39917 { echo "$as_me:$LINENO: checking for gethostbyname" >&5
39918 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6; }
39919 if test "${ac_cv_func_gethostbyname+set}" = set; then
39920 echo $ECHO_N "(cached) $ECHO_C" >&6
39922 cat >conftest.
$ac_ext <<_ACEOF
39925 cat confdefs.h
>>conftest.
$ac_ext
39926 cat >>conftest.
$ac_ext <<_ACEOF
39927 /* end confdefs.h. */
39928 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
39929 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39930 #define gethostbyname innocuous_gethostbyname
39932 /* System header to define __stub macros and hopefully few prototypes,
39933 which can conflict with char gethostbyname (); below.
39934 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39935 <limits.h> exists even on freestanding compilers. */
39938 # include <limits.h>
39940 # include <assert.h>
39943 #undef gethostbyname
39945 /* Override any GCC internal prototype to avoid an error.
39946 Use char because int might match the return type of a GCC
39947 builtin and then its argument prototype would still apply. */
39951 char gethostbyname ();
39952 /* The GNU C library defines this for functions which it implements
39953 to always fail with ENOSYS. Some functions are actually named
39954 something starting with __ and the normal name is an alias. */
39955 #if defined __stub_gethostbyname || defined __stub___gethostbyname
39962 return gethostbyname ();
39967 rm -f conftest.
$ac_objext conftest
$ac_exeext
39968 if { (ac_try
="$ac_link"
39969 case "(($ac_try" in
39970 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
39971 *) ac_try_echo=$ac_try;;
39973 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39974 (eval "$ac_link") 2>conftest.er1
39976 grep -v '^ *+' conftest.er1 >conftest.err
39978 cat conftest.err >&5
39979 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39980 (exit $ac_status); } && {
39981 test -z "$ac_c_werror_flag" ||
39982 test ! -s conftest.err
39983 } && test -s conftest$ac_exeext &&
39984 $as_test_x conftest$ac_exeext; then
39985 ac_cv_func_gethostbyname=yes
39987 echo "$as_me: failed program was:" >&5
39988 sed 's/^/| /' conftest.$ac_ext >&5
39990 ac_cv_func_gethostbyname=no
39993 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39994 conftest$ac_exeext conftest.$ac_ext
39996 { echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
39997 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6; }
39998 if test $ac_cv_func_gethostbyname = yes; then
39999 cat >>confdefs.h <<\_ACEOF
40000 #define HAVE_GETHOSTBYNAME 1
40007 { echo "$as_me:$LINENO: checking how many arguments getservbyname_r() takes" >&5
40008 echo $ECHO_N "checking how many arguments getservbyname_r() takes... $ECHO_C" >&6; }
40009 if test "${ac_cv_func_which_getservbyname_r+set}" = set; then
40010 echo $ECHO_N "(cached) $ECHO_C" >&6
40014 ac_cpp='$CXXCPP $CPPFLAGS'
40015 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40016 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40017 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40020 cat >conftest.$ac_ext <<_ACEOF
40023 cat confdefs.h >>conftest.$ac_ext
40024 cat >>conftest.$ac_ext <<_ACEOF
40025 /* end confdefs.h. */
40033 struct servent *se, *res;
40036 (void) getservbyname_r(name, proto, se, buffer, buflen, &res)
40042 rm -f conftest.$ac_objext
40043 if { (ac_try="$ac_compile"
40044 case "(($ac_try" in
40045 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
40046 *) ac_try_echo
=$ac_try;;
40048 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40049 (eval "$ac_compile") 2>conftest.er1
40051 grep -v '^ *+' conftest.er1
>conftest.err
40053 cat conftest.err
>&5
40054 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40055 (exit $ac_status); } && {
40056 test -z "$ac_cxx_werror_flag" ||
40057 test ! -s conftest.err
40058 } && test -s conftest.
$ac_objext; then
40059 ac_cv_func_which_getservbyname_r
=six
40061 echo "$as_me: failed program was:" >&5
40062 sed 's/^/| /' conftest.
$ac_ext >&5
40065 cat >conftest.
$ac_ext <<_ACEOF
40068 cat confdefs.h
>>conftest.
$ac_ext
40069 cat >>conftest.
$ac_ext <<_ACEOF
40070 /* end confdefs.h. */
40078 struct servent *se;
40081 (void) getservbyname_r(name, proto, se, buffer, buflen)
40087 rm -f conftest.
$ac_objext
40088 if { (ac_try
="$ac_compile"
40089 case "(($ac_try" in
40090 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
40091 *) ac_try_echo=$ac_try;;
40093 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40094 (eval "$ac_compile") 2>conftest.er1
40096 grep -v '^ *+' conftest.er1 >conftest.err
40098 cat conftest.err >&5
40099 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40100 (exit $ac_status); } && {
40101 test -z "$ac_cxx_werror_flag" ||
40102 test ! -s conftest.err
40103 } && test -s conftest.$ac_objext; then
40104 ac_cv_func_which_getservbyname_r=five
40106 echo "$as_me: failed program was:" >&5
40107 sed 's/^/| /' conftest.$ac_ext >&5
40110 cat >conftest.$ac_ext <<_ACEOF
40113 cat confdefs.h >>conftest.$ac_ext
40114 cat >>conftest.$ac_ext <<_ACEOF
40115 /* end confdefs.h. */
40123 struct servent *se;
40124 struct servent_data data;
40125 (void) getservbyname_r(name, proto, se, &data);
40131 rm -f conftest.$ac_objext
40132 if { (ac_try="$ac_compile"
40133 case "(($ac_try" in
40134 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
40135 *) ac_try_echo
=$ac_try;;
40137 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40138 (eval "$ac_compile") 2>conftest.er1
40140 grep -v '^ *+' conftest.er1
>conftest.err
40142 cat conftest.err
>&5
40143 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40144 (exit $ac_status); } && {
40145 test -z "$ac_cxx_werror_flag" ||
40146 test ! -s conftest.err
40147 } && test -s conftest.
$ac_objext; then
40148 ac_cv_func_which_getservbyname_r
=four
40150 echo "$as_me: failed program was:" >&5
40151 sed 's/^/| /' conftest.
$ac_ext >&5
40153 ac_cv_func_which_getservbyname_r
=no
40157 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
40162 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
40167 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
40169 ac_cpp
='$CPP $CPPFLAGS'
40170 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40171 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40172 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
40177 { echo "$as_me:$LINENO: result: $ac_cv_func_which_getservbyname_r" >&5
40178 echo "${ECHO_T}$ac_cv_func_which_getservbyname_r" >&6; }
40180 if test $ac_cv_func_which_getservbyname_r = six
; then
40181 cat >>confdefs.h
<<\_ACEOF
40182 #define HAVE_FUNC_GETSERVBYNAME_R_6 1
40185 elif test $ac_cv_func_which_getservbyname_r = five
; then
40186 cat >>confdefs.h
<<\_ACEOF
40187 #define HAVE_FUNC_GETSERVBYNAME_R_5 1
40190 elif test $ac_cv_func_which_getservbyname_r = four
; then
40191 cat >>confdefs.h
<<\_ACEOF
40192 #define HAVE_FUNC_GETSERVBYNAME_R_4 1
40198 if test "x$ac_cv_func_which_getservbyname_r" = "xno" -o \
40199 "x$ac_cv_func_which_getservbyname_r" = "xunknown" ; then
40201 for ac_func
in getservbyname
40203 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40204 { echo "$as_me:$LINENO: checking for $ac_func" >&5
40205 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
40206 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
40207 echo $ECHO_N "(cached) $ECHO_C" >&6
40209 cat >conftest.
$ac_ext <<_ACEOF
40212 cat confdefs.h
>>conftest.
$ac_ext
40213 cat >>conftest.
$ac_ext <<_ACEOF
40214 /* end confdefs.h. */
40215 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40216 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40217 #define $ac_func innocuous_$ac_func
40219 /* System header to define __stub macros and hopefully few prototypes,
40220 which can conflict with char $ac_func (); below.
40221 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40222 <limits.h> exists even on freestanding compilers. */
40225 # include <limits.h>
40227 # include <assert.h>
40232 /* Override any GCC internal prototype to avoid an error.
40233 Use char because int might match the return type of a GCC
40234 builtin and then its argument prototype would still apply. */
40239 /* The GNU C library defines this for functions which it implements
40240 to always fail with ENOSYS. Some functions are actually named
40241 something starting with __ and the normal name is an alias. */
40242 #if defined __stub_$ac_func || defined __stub___$ac_func
40249 return $ac_func ();
40254 rm -f conftest.
$ac_objext conftest
$ac_exeext
40255 if { (ac_try
="$ac_link"
40256 case "(($ac_try" in
40257 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
40258 *) ac_try_echo=$ac_try;;
40260 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40261 (eval "$ac_link") 2>conftest.er1
40263 grep -v '^ *+' conftest.er1 >conftest.err
40265 cat conftest.err >&5
40266 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40267 (exit $ac_status); } && {
40268 test -z "$ac_c_werror_flag" ||
40269 test ! -s conftest.err
40270 } && test -s conftest$ac_exeext &&
40271 $as_test_x conftest$ac_exeext; then
40272 eval "$as_ac_var=yes"
40274 echo "$as_me: failed program was:" >&5
40275 sed 's/^/| /' conftest.$ac_ext >&5
40277 eval "$as_ac_var=no"
40280 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40281 conftest$ac_exeext conftest.$ac_ext
40283 ac_res=`eval echo '${'$as_ac_var'}'`
40284 { echo "$as_me:$LINENO: result: $ac_res" >&5
40285 echo "${ECHO_T}$ac_res" >&6; }
40286 if test `eval echo '${'$as_ac_var'}'` = yes; then
40287 cat >>confdefs.h <<_ACEOF
40288 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40290 cat >>confdefs.h <<\_ACEOF
40291 #define HAVE_GETSERVBYNAME 1
40299 if test "$wxUSE_THREADS" = "yes"; then
40300 cat >>confdefs.h <<\_ACEOF
40301 #define wxUSE_THREADS 1
40305 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS thread"
40307 if test "$wx_cv_func_strtok_r" = "yes"; then
40308 { echo "$as_me:$LINENO: checking if -D_REENTRANT is needed" >&5
40309 echo $ECHO_N "checking if -D_REENTRANT is needed... $ECHO_C" >&6; }
40310 if test "$NEEDS_D_REENTRANT_FOR_R_FUNCS" = 1; then
40311 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_REENTRANT"
40312 { echo "$as_me:$LINENO: result: yes" >&5
40313 echo "${ECHO_T}yes" >&6; }
40315 { echo "$as_me:$LINENO: result: no" >&5
40316 echo "${ECHO_T}no" >&6; }
40321 if test "$WXGTK20" = 1 ; then
40322 cat >>confdefs.h <<_ACEOF
40323 #define __WXGTK20__ $WXGTK20
40329 if test "$WXGTK12" = 1 ; then
40330 cat >>confdefs.h <<_ACEOF
40331 #define __WXGTK12__ $WXGTK12
40336 if test "$WXGTK127" = 1 ; then
40337 cat >>confdefs.h <<_ACEOF
40338 #define __WXGTK127__ $WXGTK127
40343 if test "$WXGPE" = 1 ; then
40344 cat >>confdefs.h <<_ACEOF
40345 #define __WXGPE__ $WXGPE
40351 if test "$wxUSE_DEBUG_INFO" = "yes" ; then
40356 if test "$wxUSE_DEBUG_GDB" = "yes" ; then
40357 wxUSE_DEBUG_INFO=yes
40358 if test "$GCC" = yes; then
40359 DEBUG_CFLAGS="-ggdb"
40363 if test "$wxUSE_DEBUG_FLAG" = "yes" ; then
40364 cat >>confdefs.h <<\_ACEOF
40368 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D__WXDEBUG__"
40370 if test "$wxUSE_GTK" = 1 ; then
40371 if test "x$wxGTK_VERSION" = "x1" ; then
40372 CPPFLAGS="-DGTK_NO_CHECK_CASTS $CPPFLAGS"
40377 if test "$wxUSE_MEM_TRACING" = "yes" ; then
40378 cat >>confdefs.h <<\_ACEOF
40379 #define wxUSE_MEMORY_TRACING 1
40382 cat >>confdefs.h <<\_ACEOF
40383 #define wxUSE_GLOBAL_MEMORY_OPERATORS 1
40386 cat >>confdefs.h <<\_ACEOF
40387 #define wxUSE_DEBUG_NEW_ALWAYS 1
40390 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS memcheck"
40393 if test "$wxUSE_DMALLOC" = "yes" ; then
40394 DMALLOC_LIBS="-ldmallocthcxx"
40398 if test "$wxUSE_PROFILE" = "yes" ; then
40399 PROFILE_FLAGS=" -pg"
40402 if test "$GCC" = "yes" ; then
40403 if test "$wxUSE_NO_RTTI" = "yes" ; then
40404 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -fno-rtti"
40406 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
40407 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -fno-exceptions"
40409 if test "$wxUSE_PERMISSIVE" = "yes" ; then
40410 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -fpermissive"
40415 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -mminimal-toc"
40418 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -ffunction-sections"
40424 if test "$wxUSE_OPTIMISE" = "no" ; then
40425 if test "$GCC" = yes ; then
40426 OPTIMISE_CFLAGS="-O0"
40429 if test "$GCC" = yes ; then
40431 *-pc-os2_emx | *-pc-os2-emx )
40432 OPTIMISE_CFLAGS="-O2"
40435 OPTIMISE_CFLAGS="-O2 -fno-strict-aliasing"
40439 OPTIMISE_CFLAGS="-O"
40444 if test "x$WXWIN_COMPATIBILITY_2_6" = "xyes"; then
40445 cat >>confdefs.h <<\_ACEOF
40446 #define WXWIN_COMPATIBILITY_2_6 1
40450 WXWIN_COMPATIBILITY_2_8="yes"
40453 if test "x$WXWIN_COMPATIBILITY_2_8" != "xno"; then
40454 cat >>confdefs.h <<\_ACEOF
40455 #define WXWIN_COMPATIBILITY_2_8 1
40461 if test "$wxUSE_GUI" = "yes"; then
40462 cat >>confdefs.h <<\_ACEOF
40463 #define wxUSE_GUI 1
40470 if test "$wxUSE_UNIX" = "yes"; then
40471 cat >>confdefs.h <<\_ACEOF
40472 #define wxUSE_UNIX 1
40478 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
40482 if test "$wxUSE_DYNAMIC_LOADER" = "yes" -o "$wxUSE_DYNLIB_CLASS" = "yes" ; then
40483 if test "$USE_DARWIN" = 1; then
40485 elif test "$USE_DOS" = 1; then
40489 for ac_func in dlopen
40491 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40492 { echo "$as_me:$LINENO: checking for $ac_func" >&5
40493 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
40494 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
40495 echo $ECHO_N "(cached) $ECHO_C" >&6
40497 cat >conftest.$ac_ext <<_ACEOF
40500 cat confdefs.h >>conftest.$ac_ext
40501 cat >>conftest.$ac_ext <<_ACEOF
40502 /* end confdefs.h. */
40503 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40504 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40505 #define $ac_func innocuous_$ac_func
40507 /* System header to define __stub macros and hopefully few prototypes,
40508 which can conflict with char $ac_func (); below.
40509 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40510 <limits.h> exists even on freestanding compilers. */
40513 # include <limits.h>
40515 # include <assert.h>
40520 /* Override any GCC internal prototype to avoid an error.
40521 Use char because int might match the return type of a GCC
40522 builtin and then its argument prototype would still apply. */
40527 /* The GNU C library defines this for functions which it implements
40528 to always fail with ENOSYS. Some functions are actually named
40529 something starting with __ and the normal name is an alias. */
40530 #if defined __stub_$ac_func || defined __stub___$ac_func
40537 return $ac_func ();
40542 rm -f conftest.$ac_objext conftest$ac_exeext
40543 if { (ac_try="$ac_link"
40544 case "(($ac_try" in
40545 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
40546 *) ac_try_echo
=$ac_try;;
40548 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40549 (eval "$ac_link") 2>conftest.er1
40551 grep -v '^ *+' conftest.er1
>conftest.err
40553 cat conftest.err
>&5
40554 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40555 (exit $ac_status); } && {
40556 test -z "$ac_c_werror_flag" ||
40557 test ! -s conftest.err
40558 } && test -s conftest
$ac_exeext &&
40559 $as_test_x conftest
$ac_exeext; then
40560 eval "$as_ac_var=yes"
40562 echo "$as_me: failed program was:" >&5
40563 sed 's/^/| /' conftest.
$ac_ext >&5
40565 eval "$as_ac_var=no"
40568 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
40569 conftest
$ac_exeext conftest.
$ac_ext
40571 ac_res
=`eval echo '${'$as_ac_var'}'`
40572 { echo "$as_me:$LINENO: result: $ac_res" >&5
40573 echo "${ECHO_T}$ac_res" >&6; }
40574 if test `eval echo '${'$as_ac_var'}'` = yes; then
40575 cat >>confdefs.h
<<_ACEOF
40576 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40579 cat >>confdefs.h
<<\_ACEOF
40580 #define HAVE_DLOPEN 1
40587 { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
40588 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
40589 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
40590 echo $ECHO_N "(cached) $ECHO_C" >&6
40592 ac_check_lib_save_LIBS
=$LIBS
40594 cat >conftest.
$ac_ext <<_ACEOF
40597 cat confdefs.h
>>conftest.
$ac_ext
40598 cat >>conftest.
$ac_ext <<_ACEOF
40599 /* end confdefs.h. */
40601 /* Override any GCC internal prototype to avoid an error.
40602 Use char because int might match the return type of a GCC
40603 builtin and then its argument prototype would still apply. */
40616 rm -f conftest.
$ac_objext conftest
$ac_exeext
40617 if { (ac_try
="$ac_link"
40618 case "(($ac_try" in
40619 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
40620 *) ac_try_echo=$ac_try;;
40622 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40623 (eval "$ac_link") 2>conftest.er1
40625 grep -v '^ *+' conftest.er1 >conftest.err
40627 cat conftest.err >&5
40628 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40629 (exit $ac_status); } && {
40630 test -z "$ac_c_werror_flag" ||
40631 test ! -s conftest.err
40632 } && test -s conftest$ac_exeext &&
40633 $as_test_x conftest$ac_exeext; then
40634 ac_cv_lib_dl_dlopen=yes
40636 echo "$as_me: failed program was:" >&5
40637 sed 's/^/| /' conftest.$ac_ext >&5
40639 ac_cv_lib_dl_dlopen=no
40642 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40643 conftest$ac_exeext conftest.$ac_ext
40644 LIBS=$ac_check_lib_save_LIBS
40646 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
40647 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
40648 if test $ac_cv_lib_dl_dlopen = yes; then
40650 cat >>confdefs.h <<\_ACEOF
40651 #define HAVE_DLOPEN 1
40655 DL_LINK=" -ldl$DL_LINK"
40660 for ac_func in shl_load
40662 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40663 { echo "$as_me:$LINENO: checking for $ac_func" >&5
40664 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
40665 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
40666 echo $ECHO_N "(cached) $ECHO_C" >&6
40668 cat >conftest.$ac_ext <<_ACEOF
40671 cat confdefs.h >>conftest.$ac_ext
40672 cat >>conftest.$ac_ext <<_ACEOF
40673 /* end confdefs.h. */
40674 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40675 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40676 #define $ac_func innocuous_$ac_func
40678 /* System header to define __stub macros and hopefully few prototypes,
40679 which can conflict with char $ac_func (); below.
40680 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40681 <limits.h> exists even on freestanding compilers. */
40684 # include <limits.h>
40686 # include <assert.h>
40691 /* Override any GCC internal prototype to avoid an error.
40692 Use char because int might match the return type of a GCC
40693 builtin and then its argument prototype would still apply. */
40698 /* The GNU C library defines this for functions which it implements
40699 to always fail with ENOSYS. Some functions are actually named
40700 something starting with __ and the normal name is an alias. */
40701 #if defined __stub_$ac_func || defined __stub___$ac_func
40708 return $ac_func ();
40713 rm -f conftest.$ac_objext conftest$ac_exeext
40714 if { (ac_try="$ac_link"
40715 case "(($ac_try" in
40716 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
40717 *) ac_try_echo
=$ac_try;;
40719 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40720 (eval "$ac_link") 2>conftest.er1
40722 grep -v '^ *+' conftest.er1
>conftest.err
40724 cat conftest.err
>&5
40725 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40726 (exit $ac_status); } && {
40727 test -z "$ac_c_werror_flag" ||
40728 test ! -s conftest.err
40729 } && test -s conftest
$ac_exeext &&
40730 $as_test_x conftest
$ac_exeext; then
40731 eval "$as_ac_var=yes"
40733 echo "$as_me: failed program was:" >&5
40734 sed 's/^/| /' conftest.
$ac_ext >&5
40736 eval "$as_ac_var=no"
40739 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
40740 conftest
$ac_exeext conftest.
$ac_ext
40742 ac_res
=`eval echo '${'$as_ac_var'}'`
40743 { echo "$as_me:$LINENO: result: $ac_res" >&5
40744 echo "${ECHO_T}$ac_res" >&6; }
40745 if test `eval echo '${'$as_ac_var'}'` = yes; then
40746 cat >>confdefs.h
<<_ACEOF
40747 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40750 cat >>confdefs.h
<<\_ACEOF
40751 #define HAVE_SHL_LOAD 1
40758 { echo "$as_me:$LINENO: checking for dld in -lshl_load" >&5
40759 echo $ECHO_N "checking for dld in -lshl_load... $ECHO_C" >&6; }
40760 if test "${ac_cv_lib_shl_load_dld+set}" = set; then
40761 echo $ECHO_N "(cached) $ECHO_C" >&6
40763 ac_check_lib_save_LIBS
=$LIBS
40764 LIBS
="-lshl_load $LIBS"
40765 cat >conftest.
$ac_ext <<_ACEOF
40768 cat confdefs.h
>>conftest.
$ac_ext
40769 cat >>conftest.
$ac_ext <<_ACEOF
40770 /* end confdefs.h. */
40772 /* Override any GCC internal prototype to avoid an error.
40773 Use char because int might match the return type of a GCC
40774 builtin and then its argument prototype would still apply. */
40787 rm -f conftest.
$ac_objext conftest
$ac_exeext
40788 if { (ac_try
="$ac_link"
40789 case "(($ac_try" in
40790 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
40791 *) ac_try_echo=$ac_try;;
40793 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40794 (eval "$ac_link") 2>conftest.er1
40796 grep -v '^ *+' conftest.er1 >conftest.err
40798 cat conftest.err >&5
40799 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40800 (exit $ac_status); } && {
40801 test -z "$ac_c_werror_flag" ||
40802 test ! -s conftest.err
40803 } && test -s conftest$ac_exeext &&
40804 $as_test_x conftest$ac_exeext; then
40805 ac_cv_lib_shl_load_dld=yes
40807 echo "$as_me: failed program was:" >&5
40808 sed 's/^/| /' conftest.$ac_ext >&5
40810 ac_cv_lib_shl_load_dld=no
40813 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40814 conftest$ac_exeext conftest.$ac_ext
40815 LIBS=$ac_check_lib_save_LIBS
40817 { echo "$as_me:$LINENO: result: $ac_cv_lib_shl_load_dld" >&5
40818 echo "${ECHO_T}$ac_cv_lib_shl_load_dld" >&6; }
40819 if test $ac_cv_lib_shl_load_dld = yes; then
40822 DL_LINK=" -ldld$DL_LINK"
40838 if test "$HAVE_DL_FUNCS" = 1; then
40840 for ac_func in dlerror
40842 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40843 { echo "$as_me:$LINENO: checking for $ac_func" >&5
40844 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
40845 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
40846 echo $ECHO_N "(cached) $ECHO_C" >&6
40848 cat >conftest.$ac_ext <<_ACEOF
40851 cat confdefs.h >>conftest.$ac_ext
40852 cat >>conftest.$ac_ext <<_ACEOF
40853 /* end confdefs.h. */
40854 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40855 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40856 #define $ac_func innocuous_$ac_func
40858 /* System header to define __stub macros and hopefully few prototypes,
40859 which can conflict with char $ac_func (); below.
40860 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40861 <limits.h> exists even on freestanding compilers. */
40864 # include <limits.h>
40866 # include <assert.h>
40871 /* Override any GCC internal prototype to avoid an error.
40872 Use char because int might match the return type of a GCC
40873 builtin and then its argument prototype would still apply. */
40878 /* The GNU C library defines this for functions which it implements
40879 to always fail with ENOSYS. Some functions are actually named
40880 something starting with __ and the normal name is an alias. */
40881 #if defined __stub_$ac_func || defined __stub___$ac_func
40888 return $ac_func ();
40893 rm -f conftest.$ac_objext conftest$ac_exeext
40894 if { (ac_try="$ac_link"
40895 case "(($ac_try" in
40896 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
40897 *) ac_try_echo
=$ac_try;;
40899 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40900 (eval "$ac_link") 2>conftest.er1
40902 grep -v '^ *+' conftest.er1
>conftest.err
40904 cat conftest.err
>&5
40905 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40906 (exit $ac_status); } && {
40907 test -z "$ac_c_werror_flag" ||
40908 test ! -s conftest.err
40909 } && test -s conftest
$ac_exeext &&
40910 $as_test_x conftest
$ac_exeext; then
40911 eval "$as_ac_var=yes"
40913 echo "$as_me: failed program was:" >&5
40914 sed 's/^/| /' conftest.
$ac_ext >&5
40916 eval "$as_ac_var=no"
40919 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
40920 conftest
$ac_exeext conftest.
$ac_ext
40922 ac_res
=`eval echo '${'$as_ac_var'}'`
40923 { echo "$as_me:$LINENO: result: $ac_res" >&5
40924 echo "${ECHO_T}$ac_res" >&6; }
40925 if test `eval echo '${'$as_ac_var'}'` = yes; then
40926 cat >>confdefs.h
<<_ACEOF
40927 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40929 cat >>confdefs.h
<<\_ACEOF
40930 #define HAVE_DLERROR 1
40935 { echo "$as_me:$LINENO: checking for dlerror in -ldl" >&5
40936 echo $ECHO_N "checking for dlerror in -ldl... $ECHO_C" >&6; }
40937 if test "${ac_cv_lib_dl_dlerror+set}" = set; then
40938 echo $ECHO_N "(cached) $ECHO_C" >&6
40940 ac_check_lib_save_LIBS
=$LIBS
40942 cat >conftest.
$ac_ext <<_ACEOF
40945 cat confdefs.h
>>conftest.
$ac_ext
40946 cat >>conftest.
$ac_ext <<_ACEOF
40947 /* end confdefs.h. */
40949 /* Override any GCC internal prototype to avoid an error.
40950 Use char because int might match the return type of a GCC
40951 builtin and then its argument prototype would still apply. */
40964 rm -f conftest.
$ac_objext conftest
$ac_exeext
40965 if { (ac_try
="$ac_link"
40966 case "(($ac_try" in
40967 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
40968 *) ac_try_echo=$ac_try;;
40970 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40971 (eval "$ac_link") 2>conftest.er1
40973 grep -v '^ *+' conftest.er1 >conftest.err
40975 cat conftest.err >&5
40976 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40977 (exit $ac_status); } && {
40978 test -z "$ac_c_werror_flag" ||
40979 test ! -s conftest.err
40980 } && test -s conftest$ac_exeext &&
40981 $as_test_x conftest$ac_exeext; then
40982 ac_cv_lib_dl_dlerror=yes
40984 echo "$as_me: failed program was:" >&5
40985 sed 's/^/| /' conftest.$ac_ext >&5
40987 ac_cv_lib_dl_dlerror=no
40990 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40991 conftest$ac_exeext conftest.$ac_ext
40992 LIBS=$ac_check_lib_save_LIBS
40994 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlerror" >&5
40995 echo "${ECHO_T}$ac_cv_lib_dl_dlerror" >&6; }
40996 if test $ac_cv_lib_dl_dlerror = yes; then
40997 cat >>confdefs.h <<\_ACEOF
40998 #define HAVE_DLERROR 1
41011 if test "$HAVE_DL_FUNCS" = 0; then
41012 if test "$HAVE_SHL_FUNCS" = 0; then
41013 if test "$USE_UNIX" = 1 -o "$USE_DOS" = 1; then
41014 { echo "$as_me:$LINENO: WARNING: Missing dynamic loading support, several features will be disabled" >&5
41015 echo "$as_me: WARNING: Missing dynamic loading support, several features will be disabled" >&2;}
41016 wxUSE_DYNAMIC_LOADER=no
41017 wxUSE_DYNLIB_CLASS=no
41019 { echo "$as_me:$LINENO: WARNING: Assuming wxLibrary class works on this platform" >&5
41020 echo "$as_me: WARNING: Assuming wxLibrary class works on this platform" >&2;}
41027 if test "$wxUSE_DYNAMIC_LOADER" = "yes" ; then
41028 cat >>confdefs.h <<\_ACEOF
41029 #define wxUSE_DYNAMIC_LOADER 1
41033 if test "$wxUSE_DYNLIB_CLASS" = "yes" ; then
41034 cat >>confdefs.h <<\_ACEOF
41035 #define wxUSE_DYNLIB_CLASS 1
41042 if test "$wxUSE_PLUGINS" = "yes" ; then
41043 if test "$wxUSE_SHARED" = "no" ; then
41044 { echo "$as_me:$LINENO: WARNING: plugins supported only in shared build, disabling" >&5
41045 echo "$as_me: WARNING: plugins supported only in shared build, disabling" >&2;}
41048 if test "$wxUSE_MONOLITHIC" = "yes" ; then
41049 { echo "$as_me:$LINENO: WARNING: plugins not supported monolithic build, disabling" >&5
41050 echo "$as_me: WARNING: plugins not supported monolithic build, disabling" >&2;}
41053 if test "$wxUSE_DYNLIB_CLASS" = "no" ; then
41054 { echo "$as_me:$LINENO: WARNING: plugins require wxDynamicLibrary, disabling" >&5
41055 echo "$as_me: WARNING: plugins require wxDynamicLibrary, disabling" >&2;}
41058 if test "$wxUSE_PLUGINS" = "yes" ; then
41059 cat >>confdefs.h <<\_ACEOF
41060 #define wxUSE_PLUGINS 1
41067 if test "$wxUSE_STL" = "yes"; then
41068 cat >>confdefs.h <<\_ACEOF
41069 #define wxUSE_STL 1
41074 if test "$wxUSE_EXTENDED_RTTI" = "yes"; then
41075 cat >>confdefs.h <<\_ACEOF
41076 #define wxUSE_EXTENDED_RTTI 1
41081 if test "$wxUSE_APPLE_IEEE" = "yes"; then
41082 cat >>confdefs.h <<\_ACEOF
41083 #define wxUSE_APPLE_IEEE 1
41088 if test "$wxUSE_TIMER" = "yes"; then
41089 cat >>confdefs.h <<\_ACEOF
41090 #define wxUSE_TIMER 1
41095 if test "$USE_UNIX" = "1" ; then
41096 if test "$wxUSE_MGL" != 1; then
41097 { echo "$as_me:$LINENO: checking for SNDCTL_DSP_SPEED in sys/soundcard.h" >&5
41098 echo $ECHO_N "checking for SNDCTL_DSP_SPEED in sys/soundcard.h... $ECHO_C" >&6; }
41099 if test "${ac_cv_header_sys_soundcard+set}" = set; then
41100 echo $ECHO_N "(cached) $ECHO_C" >&6
41103 cat >conftest.$ac_ext <<_ACEOF
41106 cat confdefs.h >>conftest.$ac_ext
41107 cat >>conftest.$ac_ext <<_ACEOF
41108 /* end confdefs.h. */
41110 #include <sys/ioctl.h>
41111 #include <sys/soundcard.h>
41117 ioctl(0, SNDCTL_DSP_SPEED, 0);
41123 rm -f conftest.$ac_objext conftest$ac_exeext
41124 if { (ac_try="$ac_link"
41125 case "(($ac_try" in
41126 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
41127 *) ac_try_echo
=$ac_try;;
41129 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41130 (eval "$ac_link") 2>conftest.er1
41132 grep -v '^ *+' conftest.er1
>conftest.err
41134 cat conftest.err
>&5
41135 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41136 (exit $ac_status); } && {
41137 test -z "$ac_c_werror_flag" ||
41138 test ! -s conftest.err
41139 } && test -s conftest
$ac_exeext &&
41140 $as_test_x conftest
$ac_exeext; then
41141 ac_cv_header_sys_soundcard
=yes
41143 echo "$as_me: failed program was:" >&5
41144 sed 's/^/| /' conftest.
$ac_ext >&5
41148 LIBS
="$saveLibs -lossaudio"
41149 cat >conftest.
$ac_ext <<_ACEOF
41152 cat confdefs.h
>>conftest.
$ac_ext
41153 cat >>conftest.
$ac_ext <<_ACEOF
41154 /* end confdefs.h. */
41156 #include <sys/ioctl.h>
41157 #include <sys/soundcard.h>
41163 ioctl(0, SNDCTL_DSP_SPEED, 0);
41169 rm -f conftest.
$ac_objext conftest
$ac_exeext
41170 if { (ac_try
="$ac_link"
41171 case "(($ac_try" in
41172 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
41173 *) ac_try_echo=$ac_try;;
41175 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41176 (eval "$ac_link") 2>conftest.er1
41178 grep -v '^ *+' conftest.er1 >conftest.err
41180 cat conftest.err >&5
41181 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41182 (exit $ac_status); } && {
41183 test -z "$ac_c_werror_flag" ||
41184 test ! -s conftest.err
41185 } && test -s conftest$ac_exeext &&
41186 $as_test_x conftest$ac_exeext; then
41187 ac_cv_header_sys_soundcard=yes
41189 echo "$as_me: failed program was:" >&5
41190 sed 's/^/| /' conftest.$ac_ext >&5
41194 ac_cv_header_sys_soundcard=no
41199 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41200 conftest$ac_exeext conftest.$ac_ext
41205 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41206 conftest$ac_exeext conftest.$ac_ext
41209 { echo "$as_me:$LINENO: result: $ac_cv_header_sys_soundcard" >&5
41210 echo "${ECHO_T}$ac_cv_header_sys_soundcard" >&6; }
41213 if test "$ac_cv_header_sys_soundcard" = "yes"; then
41214 cat >>confdefs.h <<\_ACEOF
41215 #define HAVE_SYS_SOUNDCARD_H 1
41222 if test "$wxUSE_SOUND" = "yes"; then
41223 if test "$USE_UNIX" = "1" ; then
41224 if test "$wxUSE_LIBSDL" != "no"; then
41226 # Check whether --with-sdl-prefix was given.
41227 if test "${with_sdl_prefix+set}" = set; then
41228 withval=$with_sdl_prefix; sdl_prefix="$withval"
41234 # Check whether --with-sdl-exec-prefix was given.
41235 if test "${with_sdl_exec_prefix+set}" = set; then
41236 withval=$with_sdl_exec_prefix; sdl_exec_prefix="$withval"
41241 # Check whether --enable-sdltest was given.
41242 if test "${enable_sdltest+set}" = set; then
41243 enableval=$enable_sdltest;
41249 if test x$sdl_exec_prefix != x ; then
41250 sdl_args="$sdl_args --exec-prefix=$sdl_exec_prefix"
41251 if test x${SDL_CONFIG+set} != xset ; then
41252 SDL_CONFIG=$sdl_exec_prefix/bin/sdl-config
41255 if test x$sdl_prefix != x ; then
41256 sdl_args="$sdl_args --prefix=$sdl_prefix"
41257 if test x${SDL_CONFIG+set} != xset ; then
41258 SDL_CONFIG=$sdl_prefix/bin/sdl-config
41262 if test "x$prefix" != xNONE; then
41263 PATH="$prefix/bin:$prefix/usr/bin:$PATH"
41265 # Extract the first word of "sdl-config", so it can be a program name with args.
41266 set dummy sdl-config; ac_word=$2
41267 { echo "$as_me:$LINENO: checking for $ac_word" >&5
41268 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
41269 if test "${ac_cv_path_SDL_CONFIG+set}" = set; then
41270 echo $ECHO_N "(cached) $ECHO_C" >&6
41272 case $SDL_CONFIG in
41274 ac_cv_path_SDL_CONFIG="$SDL_CONFIG" # Let the user override the test with a path.
41277 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
41278 for as_dir in $PATH
41281 test -z "$as_dir" && as_dir=.
41282 for ac_exec_ext in '' $ac_executable_extensions; do
41283 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
41284 ac_cv_path_SDL_CONFIG="$as_dir/$ac_word$ac_exec_ext"
41285 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
41292 test -z "$ac_cv_path_SDL_CONFIG" && ac_cv_path_SDL_CONFIG="no"
41296 SDL_CONFIG=$ac_cv_path_SDL_CONFIG
41297 if test -n "$SDL_CONFIG"; then
41298 { echo "$as_me:$LINENO: result: $SDL_CONFIG" >&5
41299 echo "${ECHO_T}$SDL_CONFIG" >&6; }
41301 { echo "$as_me:$LINENO: result: no" >&5
41302 echo "${ECHO_T}no" >&6; }
41306 min_sdl_version=1.2.0
41307 { echo "$as_me:$LINENO: checking for SDL - version >= $min_sdl_version" >&5
41308 echo $ECHO_N "checking for SDL - version >= $min_sdl_version... $ECHO_C" >&6; }
41310 if test "$SDL_CONFIG" = "no" ; then
41313 SDL_CFLAGS=`$SDL_CONFIG $sdlconf_args --cflags`
41314 SDL_LIBS=`$SDL_CONFIG $sdlconf_args --libs`
41316 sdl_major_version=`$SDL_CONFIG $sdl_args --version | \
41317 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
41318 sdl_minor_version=`$SDL_CONFIG $sdl_args --version | \
41319 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
41320 sdl_micro_version=`$SDL_CONFIG $sdl_config_args --version | \
41321 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
41322 if test "x$enable_sdltest" = "xyes" ; then
41323 ac_save_CFLAGS="$CFLAGS"
41324 ac_save_CXXFLAGS="$CXXFLAGS"
41325 ac_save_LIBS="$LIBS"
41326 CFLAGS="$CFLAGS $SDL_CFLAGS"
41327 CXXFLAGS="$CXXFLAGS $SDL_CFLAGS"
41328 LIBS="$LIBS $SDL_LIBS"
41330 if test "$cross_compiling" = yes; then
41331 echo $ac_n "cross compiling; assumed OK... $ac_c"
41333 cat >conftest.$ac_ext <<_ACEOF
41336 cat confdefs.h >>conftest.$ac_ext
41337 cat >>conftest.$ac_ext <<_ACEOF
41338 /* end confdefs.h. */
41341 #include <stdlib.h>
41342 #include <string.h>
41346 my_strdup (char *str)
41352 new_str = (char *)malloc ((strlen (str) + 1) * sizeof(char));
41353 strcpy (new_str, str);
41361 int main (int argc, char *argv[])
41363 int major, minor, micro;
41366 /* This hangs on some systems (?)
41367 system ("touch conf.sdltest");
41369 { FILE *fp = fopen("conf.sdltest", "a"); if ( fp ) fclose(fp); }
41371 /* HP/UX 9 (%@#!) writes to sscanf strings */
41372 tmp_version = my_strdup("$min_sdl_version");
41373 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
41374 printf("%s, bad version string\n", "$min_sdl_version");
41378 if (($sdl_major_version > major) ||
41379 (($sdl_major_version == major) && ($sdl_minor_version > minor)) ||
41380 (($sdl_major_version == major) && ($sdl_minor_version == minor) && ($sdl_micro_version >= micro)))
41386 printf("\n*** 'sdl-config --version' returned %d.%d.%d, but the minimum version\n", $sdl_major_version, $sdl_minor_version, $sdl_micro_version);
41387 printf("*** of SDL required is %d.%d.%d. If sdl-config is correct, then it is\n", major, minor, micro);
41388 printf("*** best to upgrade to the required version.\n");
41389 printf("*** If sdl-config was wrong, set the environment variable SDL_CONFIG\n");
41390 printf("*** to point to the correct copy of sdl-config, and remove the file\n");
41391 printf("*** config.cache before re-running configure\n");
41398 rm -f conftest$ac_exeext
41399 if { (ac_try="$ac_link"
41400 case "(($ac_try" in
41401 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
41402 *) ac_try_echo
=$ac_try;;
41404 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41405 (eval "$ac_link") 2>&5
41407 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41408 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
41409 { (case "(($ac_try" in
41410 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
41411 *) ac_try_echo=$ac_try;;
41413 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41414 (eval "$ac_try") 2>&5
41416 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41417 (exit $ac_status); }; }; then
41420 echo "$as_me: program exited with status $ac_status" >&5
41421 echo "$as_me: failed program was:" >&5
41422 sed 's/^/| /' conftest.$ac_ext >&5
41424 ( exit $ac_status )
41427 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
41431 CFLAGS="$ac_save_CFLAGS"
41432 CXXFLAGS="$ac_save_CXXFLAGS"
41433 LIBS="$ac_save_LIBS"
41436 if test "x$no_sdl" = x ; then
41437 { echo "$as_me:$LINENO: result: yes" >&5
41438 echo "${ECHO_T}yes" >&6; }
41440 EXTRALIBS_SDL="$SDL_LIBS"
41441 CFLAGS="$SDL_CFLAGS $CFLAGS"
41442 CXXFLAGS="$SDL_CFLAGS $CXXFLAGS"
41443 cat >>confdefs.h <<\_ACEOF
41444 #define wxUSE_LIBSDL 1
41449 { echo "$as_me:$LINENO: result: no" >&5
41450 echo "${ECHO_T}no" >&6; }
41451 if test "$SDL_CONFIG" = "no" ; then
41452 echo "*** The sdl-config script installed by SDL could not be found"
41453 echo "*** If SDL was installed in PREFIX, make sure PREFIX/bin is in"
41454 echo "*** your path, or set the SDL_CONFIG environment variable to the"
41455 echo "*** full path to sdl-config."
41457 if test -f conf.sdltest ; then
41460 echo "*** Could not run SDL test program, checking why..."
41461 CFLAGS="$CFLAGS $SDL_CFLAGS"
41462 CXXFLAGS="$CXXFLAGS $SDL_CFLAGS"
41463 LIBS="$LIBS $SDL_LIBS"
41464 cat >conftest.$ac_ext <<_ACEOF
41467 cat confdefs.h >>conftest.$ac_ext
41468 cat >>conftest.$ac_ext <<_ACEOF
41469 /* end confdefs.h. */
41474 int main(int argc, char *argv[])
41477 #define main K_and_R_C_main
41487 rm -f conftest.$ac_objext conftest$ac_exeext
41488 if { (ac_try="$ac_link"
41489 case "(($ac_try" in
41490 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
41491 *) ac_try_echo
=$ac_try;;
41493 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41494 (eval "$ac_link") 2>conftest.er1
41496 grep -v '^ *+' conftest.er1
>conftest.err
41498 cat conftest.err
>&5
41499 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41500 (exit $ac_status); } && {
41501 test -z "$ac_c_werror_flag" ||
41502 test ! -s conftest.err
41503 } && test -s conftest
$ac_exeext &&
41504 $as_test_x conftest
$ac_exeext; then
41505 echo "*** The test program compiled, but did not run. This usually means"
41506 echo "*** that the run-time linker is not finding SDL or finding the wrong"
41507 echo "*** version of SDL. If it is not finding SDL, you'll need to set your"
41508 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
41509 echo "*** to the installed location Also, make sure you have run ldconfig if that"
41510 echo "*** is required on your system"
41512 echo "*** If you have an old version installed, it is best to remove it, although"
41513 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
41515 echo "$as_me: failed program was:" >&5
41516 sed 's/^/| /' conftest.
$ac_ext >&5
41518 echo "*** The test program failed to compile or link. See the file config.log for the"
41519 echo "*** exact error that occured. This usually means SDL was incorrectly installed"
41520 echo "*** or that you have moved SDL since it was installed. In the latter case, you"
41521 echo "*** may want to edit the sdl-config script: $SDL_CONFIG"
41524 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
41525 conftest
$ac_exeext conftest.
$ac_ext
41526 CFLAGS
="$ac_save_CFLAGS"
41527 CXXFLAGS
="$ac_save_CXXFLAGS"
41528 LIBS
="$ac_save_LIBS"
41539 if test "$wxUSE_LIBSDL" = "yes" -a "$wxUSE_PLUGINS" = "yes" ; then
41544 if test "$wxUSE_MGL" = 1; then
41545 { echo "$as_me:$LINENO: WARNING: wxSound not supported in MGL under DOS... disabled" >&5
41546 echo "$as_me: WARNING: wxSound not supported in MGL under DOS... disabled" >&2;}
41552 if test "$wxUSE_SOUND" = "yes"; then
41553 cat >>confdefs.h
<<\_ACEOF
41554 #define wxUSE_SOUND 1
41557 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS sound"
41560 if test "$WXGTK20" = 1; then
41563 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
41564 if test -n "$ac_tool_prefix"; then
41565 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
41566 set dummy
${ac_tool_prefix}pkg
-config; ac_word
=$2
41567 { echo "$as_me:$LINENO: checking for $ac_word" >&5
41568 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
41569 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
41570 echo $ECHO_N "(cached) $ECHO_C" >&6
41572 case $PKG_CONFIG in
41574 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
41577 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
41578 for as_dir
in $PATH
41581 test -z "$as_dir" && as_dir
=.
41582 for ac_exec_ext
in '' $ac_executable_extensions; do
41583 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
41584 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
41585 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
41595 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
41596 if test -n "$PKG_CONFIG"; then
41597 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
41598 echo "${ECHO_T}$PKG_CONFIG" >&6; }
41600 { echo "$as_me:$LINENO: result: no" >&5
41601 echo "${ECHO_T}no" >&6; }
41606 if test -z "$ac_cv_path_PKG_CONFIG"; then
41607 ac_pt_PKG_CONFIG
=$PKG_CONFIG
41608 # Extract the first word of "pkg-config", so it can be a program name with args.
41609 set dummy pkg
-config; ac_word
=$2
41610 { echo "$as_me:$LINENO: checking for $ac_word" >&5
41611 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
41612 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
41613 echo $ECHO_N "(cached) $ECHO_C" >&6
41615 case $ac_pt_PKG_CONFIG in
41617 ac_cv_path_ac_pt_PKG_CONFIG
="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
41620 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
41621 for as_dir
in $PATH
41624 test -z "$as_dir" && as_dir
=.
41625 for ac_exec_ext
in '' $ac_executable_extensions; do
41626 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
41627 ac_cv_path_ac_pt_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
41628 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
41638 ac_pt_PKG_CONFIG
=$ac_cv_path_ac_pt_PKG_CONFIG
41639 if test -n "$ac_pt_PKG_CONFIG"; then
41640 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
41641 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
41643 { echo "$as_me:$LINENO: result: no" >&5
41644 echo "${ECHO_T}no" >&6; }
41647 if test "x$ac_pt_PKG_CONFIG" = x
; then
41650 case $cross_compiling:$ac_tool_warned in
41652 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
41653 whose name does not start with the host triplet. If you think this
41654 configuration is useful to you, please write to autoconf@gnu.org." >&5
41655 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
41656 whose name does not start with the host triplet. If you think this
41657 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
41658 ac_tool_warned
=yes ;;
41660 PKG_CONFIG
=$ac_pt_PKG_CONFIG
41663 PKG_CONFIG
="$ac_cv_path_PKG_CONFIG"
41667 if test -n "$PKG_CONFIG"; then
41668 _pkg_min_version
=0.9.0
41669 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
41670 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
41671 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
41672 { echo "$as_me:$LINENO: result: yes" >&5
41673 echo "${ECHO_T}yes" >&6; }
41675 { echo "$as_me:$LINENO: result: no" >&5
41676 echo "${ECHO_T}no" >&6; }
41682 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
41683 if test "$wxUSE_LIBGNOMEPRINT" = "yes" ; then
41687 { echo "$as_me:$LINENO: checking for LIBGNOMEPRINTUI" >&5
41688 echo $ECHO_N "checking for LIBGNOMEPRINTUI... $ECHO_C" >&6; }
41690 if test -n "$PKG_CONFIG"; then
41691 if test -n "$LIBGNOMEPRINTUI_CFLAGS"; then
41692 pkg_cv_LIBGNOMEPRINTUI_CFLAGS
="$LIBGNOMEPRINTUI_CFLAGS"
41694 if test -n "$PKG_CONFIG" && \
41695 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libgnomeprintui-2.2 >= 2.8\"") >&5
41696 ($PKG_CONFIG --exists --print-errors "libgnomeprintui-2.2 >= 2.8") 2>&5
41698 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41699 (exit $ac_status); }; then
41700 pkg_cv_LIBGNOMEPRINTUI_CFLAGS
=`$PKG_CONFIG --cflags "libgnomeprintui-2.2 >= 2.8" 2>/dev/null`
41708 if test -n "$PKG_CONFIG"; then
41709 if test -n "$LIBGNOMEPRINTUI_LIBS"; then
41710 pkg_cv_LIBGNOMEPRINTUI_LIBS
="$LIBGNOMEPRINTUI_LIBS"
41712 if test -n "$PKG_CONFIG" && \
41713 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libgnomeprintui-2.2 >= 2.8\"") >&5
41714 ($PKG_CONFIG --exists --print-errors "libgnomeprintui-2.2 >= 2.8") 2>&5
41716 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41717 (exit $ac_status); }; then
41718 pkg_cv_LIBGNOMEPRINTUI_LIBS
=`$PKG_CONFIG --libs "libgnomeprintui-2.2 >= 2.8" 2>/dev/null`
41729 if test $pkg_failed = yes; then
41731 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
41732 _pkg_short_errors_supported
=yes
41734 _pkg_short_errors_supported
=no
41736 if test $_pkg_short_errors_supported = yes; then
41737 LIBGNOMEPRINTUI_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libgnomeprintui-2.2 >= 2.8"`
41739 LIBGNOMEPRINTUI_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "libgnomeprintui-2.2 >= 2.8"`
41741 # Put the nasty error message in config.log where it belongs
41742 echo "$LIBGNOMEPRINTUI_PKG_ERRORS" >&5
41745 { echo "$as_me:$LINENO: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&5
41746 echo "$as_me: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&2;}
41747 wxUSE_LIBGNOMEPRINT
="no"
41750 elif test $pkg_failed = untried
; then
41752 { echo "$as_me:$LINENO: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&5
41753 echo "$as_me: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&2;}
41754 wxUSE_LIBGNOMEPRINT
="no"
41758 LIBGNOMEPRINTUI_CFLAGS
=$pkg_cv_LIBGNOMEPRINTUI_CFLAGS
41759 LIBGNOMEPRINTUI_LIBS
=$pkg_cv_LIBGNOMEPRINTUI_LIBS
41760 { echo "$as_me:$LINENO: result: yes" >&5
41761 echo "${ECHO_T}yes" >&6; }
41763 CFLAGS
="$LIBGNOMEPRINTUI_CFLAGS $CFLAGS"
41764 CXXFLAGS
="$LIBGNOMEPRINTUI_CFLAGS $CXXFLAGS"
41765 cat >>confdefs.h
<<\_ACEOF
41766 #define wxUSE_LIBGNOMEPRINT 1
41774 if test "$wxUSE_MIMETYPE" = "yes" ; then
41775 if test "$wxUSE_LIBGNOMEVFS" = "yes" ; then
41779 { echo "$as_me:$LINENO: checking for GNOMEVFS" >&5
41780 echo $ECHO_N "checking for GNOMEVFS... $ECHO_C" >&6; }
41782 if test -n "$PKG_CONFIG"; then
41783 if test -n "$GNOMEVFS_CFLAGS"; then
41784 pkg_cv_GNOMEVFS_CFLAGS
="$GNOMEVFS_CFLAGS"
41786 if test -n "$PKG_CONFIG" && \
41787 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gnome-vfs-2.0 >= 2.0\"") >&5
41788 ($PKG_CONFIG --exists --print-errors "gnome-vfs-2.0 >= 2.0") 2>&5
41790 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41791 (exit $ac_status); }; then
41792 pkg_cv_GNOMEVFS_CFLAGS
=`$PKG_CONFIG --cflags "gnome-vfs-2.0 >= 2.0" 2>/dev/null`
41800 if test -n "$PKG_CONFIG"; then
41801 if test -n "$GNOMEVFS_LIBS"; then
41802 pkg_cv_GNOMEVFS_LIBS
="$GNOMEVFS_LIBS"
41804 if test -n "$PKG_CONFIG" && \
41805 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gnome-vfs-2.0 >= 2.0\"") >&5
41806 ($PKG_CONFIG --exists --print-errors "gnome-vfs-2.0 >= 2.0") 2>&5
41808 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41809 (exit $ac_status); }; then
41810 pkg_cv_GNOMEVFS_LIBS
=`$PKG_CONFIG --libs "gnome-vfs-2.0 >= 2.0" 2>/dev/null`
41821 if test $pkg_failed = yes; then
41823 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
41824 _pkg_short_errors_supported
=yes
41826 _pkg_short_errors_supported
=no
41828 if test $_pkg_short_errors_supported = yes; then
41829 GNOMEVFS_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gnome-vfs-2.0 >= 2.0"`
41831 GNOMEVFS_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "gnome-vfs-2.0 >= 2.0"`
41833 # Put the nasty error message in config.log where it belongs
41834 echo "$GNOMEVFS_PKG_ERRORS" >&5
41837 { echo "$as_me:$LINENO: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&5
41838 echo "$as_me: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&2;}
41839 wxUSE_LIBGNOMEVFS
="no"
41842 elif test $pkg_failed = untried
; then
41844 { echo "$as_me:$LINENO: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&5
41845 echo "$as_me: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&2;}
41846 wxUSE_LIBGNOMEVFS
="no"
41850 GNOMEVFS_CFLAGS
=$pkg_cv_GNOMEVFS_CFLAGS
41851 GNOMEVFS_LIBS
=$pkg_cv_GNOMEVFS_LIBS
41852 { echo "$as_me:$LINENO: result: yes" >&5
41853 echo "${ECHO_T}yes" >&6; }
41855 CFLAGS
="$GNOMEVFS_CFLAGS $CFLAGS"
41856 CXXFLAGS
="$GNOMEVFS_CFLAGS $CXXFLAGS"
41857 cat >>confdefs.h
<<\_ACEOF
41858 #define wxUSE_LIBGNOMEVFS 1
41866 if test "$wxUSE_LIBHILDON" = "yes" ; then
41869 { echo "$as_me:$LINENO: checking for HILDON" >&5
41870 echo $ECHO_N "checking for HILDON... $ECHO_C" >&6; }
41872 if test -n "$PKG_CONFIG"; then
41873 if test -n "$HILDON_CFLAGS"; then
41874 pkg_cv_HILDON_CFLAGS
="$HILDON_CFLAGS"
41876 if test -n "$PKG_CONFIG" && \
41877 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-lgpl >= 0.9\"") >&5
41878 ($PKG_CONFIG --exists --print-errors "hildon-lgpl >= 0.9") 2>&5
41880 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41881 (exit $ac_status); }; then
41882 pkg_cv_HILDON_CFLAGS
=`$PKG_CONFIG --cflags "hildon-lgpl >= 0.9" 2>/dev/null`
41890 if test -n "$PKG_CONFIG"; then
41891 if test -n "$HILDON_LIBS"; then
41892 pkg_cv_HILDON_LIBS
="$HILDON_LIBS"
41894 if test -n "$PKG_CONFIG" && \
41895 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-lgpl >= 0.9\"") >&5
41896 ($PKG_CONFIG --exists --print-errors "hildon-lgpl >= 0.9") 2>&5
41898 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41899 (exit $ac_status); }; then
41900 pkg_cv_HILDON_LIBS
=`$PKG_CONFIG --libs "hildon-lgpl >= 0.9" 2>/dev/null`
41911 if test $pkg_failed = yes; then
41913 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
41914 _pkg_short_errors_supported
=yes
41916 _pkg_short_errors_supported
=no
41918 if test $_pkg_short_errors_supported = yes; then
41919 HILDON_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "hildon-lgpl >= 0.9"`
41921 HILDON_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "hildon-lgpl >= 0.9"`
41923 # Put the nasty error message in config.log where it belongs
41924 echo "$HILDON_PKG_ERRORS" >&5
41927 { echo "$as_me:$LINENO: WARNING: libhildon_lgpl not found" >&5
41928 echo "$as_me: WARNING: libhildon_lgpl not found" >&2;}
41929 wxUSE_LIBHILDON
="no"
41932 elif test $pkg_failed = untried
; then
41934 { echo "$as_me:$LINENO: WARNING: libhildon_lgpl not found" >&5
41935 echo "$as_me: WARNING: libhildon_lgpl not found" >&2;}
41936 wxUSE_LIBHILDON
="no"
41940 HILDON_CFLAGS
=$pkg_cv_HILDON_CFLAGS
41941 HILDON_LIBS
=$pkg_cv_HILDON_LIBS
41942 { echo "$as_me:$LINENO: result: yes" >&5
41943 echo "${ECHO_T}yes" >&6; }
41945 EXTRALIBS_HILDON
="$HILDON_LIBS"
41946 CFLAGS
="$CFLAGS $HILDON_CFLAGS"
41947 CXXFLAGS
="$CXXFLAGS $HILDON_CFLAGS"
41948 cat >>confdefs.h
<<\_ACEOF
41949 #define wxUSE_LIBHILDON 1
41957 if test "$wxUSE_CMDLINE_PARSER" = "yes"; then
41958 cat >>confdefs.h
<<\_ACEOF
41959 #define wxUSE_CMDLINE_PARSER 1
41964 if test "$wxUSE_STOPWATCH" = "yes"; then
41965 cat >>confdefs.h
<<\_ACEOF
41966 #define wxUSE_STOPWATCH 1
41971 if test "$wxUSE_DATETIME" = "yes"; then
41972 cat >>confdefs.h
<<\_ACEOF
41973 #define wxUSE_DATETIME 1
41978 if test "$wxUSE_FILE" = "yes"; then
41979 cat >>confdefs.h
<<\_ACEOF
41980 #define wxUSE_FILE 1
41985 if test "$wxUSE_FFILE" = "yes"; then
41986 cat >>confdefs.h
<<\_ACEOF
41987 #define wxUSE_FFILE 1
41992 if test "$wxUSE_ARCHIVE_STREAMS" = "yes"; then
41993 if test "$wxUSE_STREAMS" != yes; then
41994 { echo "$as_me:$LINENO: WARNING: wxArchive requires wxStreams... disabled" >&5
41995 echo "$as_me: WARNING: wxArchive requires wxStreams... disabled" >&2;}
41996 wxUSE_ARCHIVE_STREAMS
=no
41998 cat >>confdefs.h
<<\_ACEOF
41999 #define wxUSE_ARCHIVE_STREAMS 1
42005 if test "$wxUSE_ZIPSTREAM" = "yes"; then
42006 if test "$wxUSE_ARCHIVE_STREAMS" != "yes"; then
42007 { echo "$as_me:$LINENO: WARNING: wxZip requires wxArchive... disabled" >&5
42008 echo "$as_me: WARNING: wxZip requires wxArchive... disabled" >&2;}
42009 elif test "$wxUSE_ZLIB" = "no"; then
42010 { echo "$as_me:$LINENO: WARNING: wxZip requires wxZlib... disabled" >&5
42011 echo "$as_me: WARNING: wxZip requires wxZlib... disabled" >&2;}
42013 cat >>confdefs.h
<<\_ACEOF
42014 #define wxUSE_ZIPSTREAM 1
42020 if test "$wxUSE_TARSTREAM" = "yes"; then
42021 if test "$wxUSE_ARCHIVE_STREAMS" != "yes"; then
42022 { echo "$as_me:$LINENO: WARNING: wxTar requires wxArchive... disabled" >&5
42023 echo "$as_me: WARNING: wxTar requires wxArchive... disabled" >&2;}
42025 cat >>confdefs.h
<<\_ACEOF
42026 #define wxUSE_TARSTREAM 1
42032 if test "$wxUSE_FILESYSTEM" = "yes"; then
42033 if test "$wxUSE_STREAMS" != yes -o \
( "$wxUSE_FILE" != yes -a "$wxUSE_FFILE" != yes \
); then
42034 { echo "$as_me:$LINENO: WARNING: wxFileSystem requires wxStreams and wxFile or wxFFile... disabled" >&5
42035 echo "$as_me: WARNING: wxFileSystem requires wxStreams and wxFile or wxFFile... disabled" >&2;}
42036 wxUSE_FILESYSTEM
=no
42038 cat >>confdefs.h
<<\_ACEOF
42039 #define wxUSE_FILESYSTEM 1
42045 if test "$wxUSE_FS_ARCHIVE" = "yes"; then
42046 if test "$wxUSE_FILESYSTEM" != yes -o "$wxUSE_ARCHIVE_STREAMS" != yes; then
42047 { echo "$as_me:$LINENO: WARNING: wxArchiveFSHandler requires wxArchive and wxFileSystem... disabled" >&5
42048 echo "$as_me: WARNING: wxArchiveFSHandler requires wxArchive and wxFileSystem... disabled" >&2;}
42050 cat >>confdefs.h
<<\_ACEOF
42051 #define wxUSE_FS_ARCHIVE 1
42057 if test "$wxUSE_FS_ZIP" = "yes"; then
42058 if test "$wxUSE_FS_ARCHIVE" != yes; then
42059 { echo "$as_me:$LINENO: WARNING: wxZipFSHandler requires wxArchiveFSHandler... disabled" >&5
42060 echo "$as_me: WARNING: wxZipFSHandler requires wxArchiveFSHandler... disabled" >&2;}
42062 cat >>confdefs.h
<<\_ACEOF
42063 #define wxUSE_FS_ZIP 1
42069 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
42070 if test "$USE_UNIX" != 1; then
42071 { echo "$as_me:$LINENO: WARNING: Catching fatal exceptions not currently supported on this system, wxApp::OnFatalException will not be called" >&5
42072 echo "$as_me: WARNING: Catching fatal exceptions not currently supported on this system, wxApp::OnFatalException will not be called" >&2;}
42073 wxUSE_ON_FATAL_EXCEPTION
=no
42075 cat >>confdefs.h
<<\_ACEOF
42076 #define wxUSE_ON_FATAL_EXCEPTION 1
42082 if test "$wxUSE_STACKWALKER" = "yes"; then
42083 cat >>confdefs.h
<<\_ACEOF
42084 #define wxUSE_STACKWALKER 1
42089 if test "$wxUSE_DEBUGREPORT" = "yes"; then
42090 if test "$USE_UNIX" != "1" -a "$USE_WIN32" != "1"; then
42091 { echo "$as_me:$LINENO: WARNING: Creating debug reports not currently supported on this system, disabled" >&5
42092 echo "$as_me: WARNING: Creating debug reports not currently supported on this system, disabled" >&2;}
42093 wxUSE_DEBUGREPORT
=no
42095 cat >>confdefs.h
<<\_ACEOF
42096 #define wxUSE_DEBUGREPORT 1
42099 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
42100 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS debugrpt"
42105 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
42106 cat >>confdefs.h
<<\_ACEOF
42107 #define wxUSE_SNGLINST_CHECKER 1
42112 if test "$wxUSE_BUSYINFO" = "yes"; then
42113 cat >>confdefs.h
<<\_ACEOF
42114 #define wxUSE_BUSYINFO 1
42119 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
42120 cat >>confdefs.h
<<\_ACEOF
42121 #define wxUSE_STD_IOSTREAM 1
42126 if test "$wxUSE_STD_STRING" = "yes"; then
42127 cat >>confdefs.h
<<\_ACEOF
42128 #define wxUSE_STD_STRING 1
42133 if test "$wxUSE_STDPATHS" = "yes"; then
42134 cat >>confdefs.h
<<\_ACEOF
42135 #define wxUSE_STDPATHS 1
42140 if test "$wxUSE_TEXTBUFFER" = "yes"; then
42141 cat >>confdefs.h
<<\_ACEOF
42142 #define wxUSE_TEXTBUFFER 1
42147 if test "$wxUSE_TEXTFILE" = "yes"; then
42148 if test "$wxUSE_FILE" != "yes" -o "$wxUSE_TEXTBUFFER" != "yes" ; then
42149 { echo "$as_me:$LINENO: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&5
42150 echo "$as_me: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&2;}
42152 cat >>confdefs.h
<<\_ACEOF
42153 #define wxUSE_TEXTFILE 1
42159 if test "$wxUSE_CONFIG" = "yes" ; then
42160 if test "$wxUSE_TEXTFILE" != "yes"; then
42161 { echo "$as_me:$LINENO: WARNING: wxConfig requires wxTextFile... disabled" >&5
42162 echo "$as_me: WARNING: wxConfig requires wxTextFile... disabled" >&2;}
42164 cat >>confdefs.h
<<\_ACEOF
42165 #define wxUSE_CONFIG 1
42168 cat >>confdefs.h
<<\_ACEOF
42169 #define wxUSE_CONFIG_NATIVE 1
42172 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS config"
42176 if test "$wxUSE_INTL" = "yes" ; then
42177 if test "$wxUSE_FILE" != "yes"; then
42178 { echo "$as_me:$LINENO: WARNING: I18n code requires wxFile... disabled" >&5
42179 echo "$as_me: WARNING: I18n code requires wxFile... disabled" >&2;}
42181 cat >>confdefs.h
<<\_ACEOF
42182 #define wxUSE_INTL 1
42185 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS internat"
42186 GUIDIST
="$GUIDIST INTL_DIST"
42190 if test "$wxUSE_LOG" = "yes"; then
42191 cat >>confdefs.h
<<\_ACEOF
42192 #define wxUSE_LOG 1
42196 if test "$wxUSE_LOGGUI" = "yes"; then
42197 cat >>confdefs.h
<<\_ACEOF
42198 #define wxUSE_LOGGUI 1
42203 if test "$wxUSE_LOGWINDOW" = "yes"; then
42204 cat >>confdefs.h
<<\_ACEOF
42205 #define wxUSE_LOGWINDOW 1
42210 if test "$wxUSE_LOGDIALOG" = "yes"; then
42211 cat >>confdefs.h
<<\_ACEOF
42212 #define wxUSE_LOG_DIALOG 1
42217 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS keyboard"
42220 if test "$wxUSE_LONGLONG" = "yes"; then
42221 cat >>confdefs.h
<<\_ACEOF
42222 #define wxUSE_LONGLONG 1
42227 if test "$wxUSE_GEOMETRY" = "yes"; then
42228 cat >>confdefs.h
<<\_ACEOF
42229 #define wxUSE_GEOMETRY 1
42234 if test "$wxUSE_STREAMS" = "yes" ; then
42235 cat >>confdefs.h
<<\_ACEOF
42236 #define wxUSE_STREAMS 1
42241 if test "$wxUSE_PRINTF_POS_PARAMS" = "yes"; then
42242 cat >>confdefs.h
<<\_ACEOF
42243 #define wxUSE_PRINTF_POS_PARAMS 1
42250 if test "$wxUSE_DATETIME" = "yes"; then
42252 for ac_func
in strptime
42254 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
42255 { echo "$as_me:$LINENO: checking for $ac_func" >&5
42256 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
42257 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
42258 echo $ECHO_N "(cached) $ECHO_C" >&6
42260 cat >conftest.
$ac_ext <<_ACEOF
42263 cat confdefs.h
>>conftest.
$ac_ext
42264 cat >>conftest.
$ac_ext <<_ACEOF
42265 /* end confdefs.h. */
42266 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
42267 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42268 #define $ac_func innocuous_$ac_func
42270 /* System header to define __stub macros and hopefully few prototypes,
42271 which can conflict with char $ac_func (); below.
42272 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42273 <limits.h> exists even on freestanding compilers. */
42276 # include <limits.h>
42278 # include <assert.h>
42283 /* Override any GCC internal prototype to avoid an error.
42284 Use char because int might match the return type of a GCC
42285 builtin and then its argument prototype would still apply. */
42290 /* The GNU C library defines this for functions which it implements
42291 to always fail with ENOSYS. Some functions are actually named
42292 something starting with __ and the normal name is an alias. */
42293 #if defined __stub_$ac_func || defined __stub___$ac_func
42300 return $ac_func ();
42305 rm -f conftest.
$ac_objext conftest
$ac_exeext
42306 if { (ac_try
="$ac_link"
42307 case "(($ac_try" in
42308 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
42309 *) ac_try_echo=$ac_try;;
42311 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42312 (eval "$ac_link") 2>conftest.er1
42314 grep -v '^ *+' conftest.er1 >conftest.err
42316 cat conftest.err >&5
42317 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42318 (exit $ac_status); } && {
42319 test -z "$ac_c_werror_flag" ||
42320 test ! -s conftest.err
42321 } && test -s conftest$ac_exeext &&
42322 $as_test_x conftest$ac_exeext; then
42323 eval "$as_ac_var=yes"
42325 echo "$as_me: failed program was:" >&5
42326 sed 's/^/| /' conftest.$ac_ext >&5
42328 eval "$as_ac_var=no"
42331 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42332 conftest$ac_exeext conftest.$ac_ext
42334 ac_res=`eval echo '${'$as_ac_var'}'`
42335 { echo "$as_me:$LINENO: result: $ac_res" >&5
42336 echo "${ECHO_T}$ac_res" >&6; }
42337 if test `eval echo '${'$as_ac_var'}'` = yes; then
42338 cat >>confdefs.h <<_ACEOF
42339 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
42345 if test "$ac_cv_func_strptime" = "yes"; then
42346 { echo "$as_me:$LINENO: checking for strptime declaration" >&5
42347 echo $ECHO_N "checking for strptime declaration... $ECHO_C" >&6; }
42348 if test "${wx_cv_func_strptime_decl+set}" = set; then
42349 echo $ECHO_N "(cached) $ECHO_C" >&6
42353 ac_cpp='$CXXCPP $CPPFLAGS'
42354 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42355 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42356 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42358 cat >conftest.$ac_ext <<_ACEOF
42361 cat confdefs.h >>conftest.$ac_ext
42362 cat >>conftest.$ac_ext <<_ACEOF
42363 /* end confdefs.h. */
42372 strptime("foo", "bar", &t);
42378 rm -f conftest.$ac_objext
42379 if { (ac_try="$ac_compile"
42380 case "(($ac_try" in
42381 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
42382 *) ac_try_echo
=$ac_try;;
42384 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42385 (eval "$ac_compile") 2>conftest.er1
42387 grep -v '^ *+' conftest.er1
>conftest.err
42389 cat conftest.err
>&5
42390 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42391 (exit $ac_status); } && {
42392 test -z "$ac_cxx_werror_flag" ||
42393 test ! -s conftest.err
42394 } && test -s conftest.
$ac_objext; then
42395 wx_cv_func_strptime_decl
=yes
42397 echo "$as_me: failed program was:" >&5
42398 sed 's/^/| /' conftest.
$ac_ext >&5
42400 wx_cv_func_strptime_decl
=no
42404 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
42406 ac_cpp
='$CPP $CPPFLAGS'
42407 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42408 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42409 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
42414 { echo "$as_me:$LINENO: result: $wx_cv_func_strptime_decl" >&5
42415 echo "${ECHO_T}$wx_cv_func_strptime_decl" >&6; }
42417 if test "$wx_cv_func_strptime_decl" = "yes"; then
42418 cat >>confdefs.h
<<\_ACEOF
42419 #define HAVE_STRPTIME_DECL 1
42424 { echo "$as_me:$LINENO: checking for timezone variable in <time.h>" >&5
42425 echo $ECHO_N "checking for timezone variable in <time.h>... $ECHO_C" >&6; }
42426 if test "${wx_cv_var_timezone+set}" = set; then
42427 echo $ECHO_N "(cached) $ECHO_C" >&6
42431 ac_cpp
='$CXXCPP $CPPFLAGS'
42432 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42433 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42434 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
42436 cat >conftest.
$ac_ext <<_ACEOF
42439 cat confdefs.h
>>conftest.
$ac_ext
42440 cat >>conftest.
$ac_ext <<_ACEOF
42441 /* end confdefs.h. */
42456 rm -f conftest.
$ac_objext
42457 if { (ac_try
="$ac_compile"
42458 case "(($ac_try" in
42459 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
42460 *) ac_try_echo=$ac_try;;
42462 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42463 (eval "$ac_compile") 2>conftest.er1
42465 grep -v '^ *+' conftest.er1 >conftest.err
42467 cat conftest.err >&5
42468 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42469 (exit $ac_status); } && {
42470 test -z "$ac_cxx_werror_flag" ||
42471 test ! -s conftest.err
42472 } && test -s conftest.$ac_objext; then
42474 wx_cv_var_timezone=timezone
42477 echo "$as_me: failed program was:" >&5
42478 sed 's/^/| /' conftest.$ac_ext >&5
42481 cat >conftest.$ac_ext <<_ACEOF
42484 cat confdefs.h >>conftest.$ac_ext
42485 cat >>conftest.$ac_ext <<_ACEOF
42486 /* end confdefs.h. */
42501 rm -f conftest.$ac_objext
42502 if { (ac_try="$ac_compile"
42503 case "(($ac_try" in
42504 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
42505 *) ac_try_echo
=$ac_try;;
42507 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42508 (eval "$ac_compile") 2>conftest.er1
42510 grep -v '^ *+' conftest.er1
>conftest.err
42512 cat conftest.err
>&5
42513 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42514 (exit $ac_status); } && {
42515 test -z "$ac_cxx_werror_flag" ||
42516 test ! -s conftest.err
42517 } && test -s conftest.
$ac_objext; then
42519 wx_cv_var_timezone
=_timezone
42522 echo "$as_me: failed program was:" >&5
42523 sed 's/^/| /' conftest.
$ac_ext >&5
42526 cat >conftest.
$ac_ext <<_ACEOF
42529 cat confdefs.h
>>conftest.
$ac_ext
42530 cat >>conftest.
$ac_ext <<_ACEOF
42531 /* end confdefs.h. */
42546 rm -f conftest.
$ac_objext
42547 if { (ac_try
="$ac_compile"
42548 case "(($ac_try" in
42549 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
42550 *) ac_try_echo=$ac_try;;
42552 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42553 (eval "$ac_compile") 2>conftest.er1
42555 grep -v '^ *+' conftest.er1 >conftest.err
42557 cat conftest.err >&5
42558 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42559 (exit $ac_status); } && {
42560 test -z "$ac_cxx_werror_flag" ||
42561 test ! -s conftest.err
42562 } && test -s conftest.$ac_objext; then
42564 wx_cv_var_timezone=__timezone
42567 echo "$as_me: failed program was:" >&5
42568 sed 's/^/| /' conftest.$ac_ext >&5
42571 if test "$USE_DOS" = 0 ; then
42572 { echo "$as_me:$LINENO: WARNING: no timezone variable" >&5
42573 echo "$as_me: WARNING: no timezone variable" >&2;}
42579 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42584 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42589 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42591 ac_cpp='$CPP $CPPFLAGS'
42592 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42593 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42594 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42599 { echo "$as_me:$LINENO: result: $wx_cv_var_timezone" >&5
42600 echo "${ECHO_T}$wx_cv_var_timezone" >&6; }
42602 if test "x$wx_cv_var_timezone" != x ; then
42603 cat >>confdefs.h <<_ACEOF
42604 #define WX_TIMEZONE $wx_cv_var_timezone
42610 for ac_func in localtime
42612 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
42613 { echo "$as_me:$LINENO: checking for $ac_func" >&5
42614 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
42615 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
42616 echo $ECHO_N "(cached) $ECHO_C" >&6
42618 cat >conftest.$ac_ext <<_ACEOF
42621 cat confdefs.h >>conftest.$ac_ext
42622 cat >>conftest.$ac_ext <<_ACEOF
42623 /* end confdefs.h. */
42624 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
42625 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42626 #define $ac_func innocuous_$ac_func
42628 /* System header to define __stub macros and hopefully few prototypes,
42629 which can conflict with char $ac_func (); below.
42630 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42631 <limits.h> exists even on freestanding compilers. */
42634 # include <limits.h>
42636 # include <assert.h>
42641 /* Override any GCC internal prototype to avoid an error.
42642 Use char because int might match the return type of a GCC
42643 builtin and then its argument prototype would still apply. */
42648 /* The GNU C library defines this for functions which it implements
42649 to always fail with ENOSYS. Some functions are actually named
42650 something starting with __ and the normal name is an alias. */
42651 #if defined __stub_$ac_func || defined __stub___$ac_func
42658 return $ac_func ();
42663 rm -f conftest.$ac_objext conftest$ac_exeext
42664 if { (ac_try="$ac_link"
42665 case "(($ac_try" in
42666 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
42667 *) ac_try_echo
=$ac_try;;
42669 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42670 (eval "$ac_link") 2>conftest.er1
42672 grep -v '^ *+' conftest.er1
>conftest.err
42674 cat conftest.err
>&5
42675 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42676 (exit $ac_status); } && {
42677 test -z "$ac_c_werror_flag" ||
42678 test ! -s conftest.err
42679 } && test -s conftest
$ac_exeext &&
42680 $as_test_x conftest
$ac_exeext; then
42681 eval "$as_ac_var=yes"
42683 echo "$as_me: failed program was:" >&5
42684 sed 's/^/| /' conftest.
$ac_ext >&5
42686 eval "$as_ac_var=no"
42689 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
42690 conftest
$ac_exeext conftest.
$ac_ext
42692 ac_res
=`eval echo '${'$as_ac_var'}'`
42693 { echo "$as_me:$LINENO: result: $ac_res" >&5
42694 echo "${ECHO_T}$ac_res" >&6; }
42695 if test `eval echo '${'$as_ac_var'}'` = yes; then
42696 cat >>confdefs.h
<<_ACEOF
42697 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
42704 if test "$ac_cv_func_localtime" = "yes"; then
42705 { echo "$as_me:$LINENO: checking for tm_gmtoff in struct tm" >&5
42706 echo $ECHO_N "checking for tm_gmtoff in struct tm... $ECHO_C" >&6; }
42707 if test "${wx_cv_struct_tm_has_gmtoff+set}" = set; then
42708 echo $ECHO_N "(cached) $ECHO_C" >&6
42711 cat >conftest.
$ac_ext <<_ACEOF
42714 cat confdefs.h
>>conftest.
$ac_ext
42715 cat >>conftest.
$ac_ext <<_ACEOF
42716 /* end confdefs.h. */
42731 rm -f conftest.
$ac_objext
42732 if { (ac_try
="$ac_compile"
42733 case "(($ac_try" in
42734 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
42735 *) ac_try_echo=$ac_try;;
42737 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42738 (eval "$ac_compile") 2>conftest.er1
42740 grep -v '^ *+' conftest.er1 >conftest.err
42742 cat conftest.err >&5
42743 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42744 (exit $ac_status); } && {
42745 test -z "$ac_c_werror_flag" ||
42746 test ! -s conftest.err
42747 } && test -s conftest.$ac_objext; then
42749 wx_cv_struct_tm_has_gmtoff=yes
42752 echo "$as_me: failed program was:" >&5
42753 sed 's/^/| /' conftest.$ac_ext >&5
42755 wx_cv_struct_tm_has_gmtoff=no
42759 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42762 { echo "$as_me:$LINENO: result: $wx_cv_struct_tm_has_gmtoff" >&5
42763 echo "${ECHO_T}$wx_cv_struct_tm_has_gmtoff" >&6; }
42766 if test "$wx_cv_struct_tm_has_gmtoff" = "yes"; then
42767 cat >>confdefs.h <<\_ACEOF
42768 #define WX_GMTOFF_IN_TM 1
42775 for ac_func in gettimeofday ftime
42777 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
42778 { echo "$as_me:$LINENO: checking for $ac_func" >&5
42779 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
42780 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
42781 echo $ECHO_N "(cached) $ECHO_C" >&6
42783 cat >conftest.$ac_ext <<_ACEOF
42786 cat confdefs.h >>conftest.$ac_ext
42787 cat >>conftest.$ac_ext <<_ACEOF
42788 /* end confdefs.h. */
42789 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
42790 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42791 #define $ac_func innocuous_$ac_func
42793 /* System header to define __stub macros and hopefully few prototypes,
42794 which can conflict with char $ac_func (); below.
42795 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42796 <limits.h> exists even on freestanding compilers. */
42799 # include <limits.h>
42801 # include <assert.h>
42806 /* Override any GCC internal prototype to avoid an error.
42807 Use char because int might match the return type of a GCC
42808 builtin and then its argument prototype would still apply. */
42813 /* The GNU C library defines this for functions which it implements
42814 to always fail with ENOSYS. Some functions are actually named
42815 something starting with __ and the normal name is an alias. */
42816 #if defined __stub_$ac_func || defined __stub___$ac_func
42823 return $ac_func ();
42828 rm -f conftest.$ac_objext conftest$ac_exeext
42829 if { (ac_try="$ac_link"
42830 case "(($ac_try" in
42831 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
42832 *) ac_try_echo
=$ac_try;;
42834 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42835 (eval "$ac_link") 2>conftest.er1
42837 grep -v '^ *+' conftest.er1
>conftest.err
42839 cat conftest.err
>&5
42840 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42841 (exit $ac_status); } && {
42842 test -z "$ac_c_werror_flag" ||
42843 test ! -s conftest.err
42844 } && test -s conftest
$ac_exeext &&
42845 $as_test_x conftest
$ac_exeext; then
42846 eval "$as_ac_var=yes"
42848 echo "$as_me: failed program was:" >&5
42849 sed 's/^/| /' conftest.
$ac_ext >&5
42851 eval "$as_ac_var=no"
42854 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
42855 conftest
$ac_exeext conftest.
$ac_ext
42857 ac_res
=`eval echo '${'$as_ac_var'}'`
42858 { echo "$as_me:$LINENO: result: $ac_res" >&5
42859 echo "${ECHO_T}$ac_res" >&6; }
42860 if test `eval echo '${'$as_ac_var'}'` = yes; then
42861 cat >>confdefs.h
<<_ACEOF
42862 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
42869 if test "$ac_cv_func_gettimeofday" = "yes"; then
42870 { echo "$as_me:$LINENO: checking whether gettimeofday takes two arguments" >&5
42871 echo $ECHO_N "checking whether gettimeofday takes two arguments... $ECHO_C" >&6; }
42872 if test "${wx_cv_func_gettimeofday_has_2_args+set}" = set; then
42873 echo $ECHO_N "(cached) $ECHO_C" >&6
42876 cat >conftest.
$ac_ext <<_ACEOF
42879 cat confdefs.h
>>conftest.
$ac_ext
42880 cat >>conftest.
$ac_ext <<_ACEOF
42881 /* end confdefs.h. */
42883 #include <sys/time.h>
42884 #include <unistd.h>
42891 gettimeofday(&tv, NULL);
42897 rm -f conftest.
$ac_objext
42898 if { (ac_try
="$ac_compile"
42899 case "(($ac_try" in
42900 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
42901 *) ac_try_echo=$ac_try;;
42903 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42904 (eval "$ac_compile") 2>conftest.er1
42906 grep -v '^ *+' conftest.er1 >conftest.err
42908 cat conftest.err >&5
42909 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42910 (exit $ac_status); } && {
42911 test -z "$ac_c_werror_flag" ||
42912 test ! -s conftest.err
42913 } && test -s conftest.$ac_objext; then
42914 wx_cv_func_gettimeofday_has_2_args=yes
42916 echo "$as_me: failed program was:" >&5
42917 sed 's/^/| /' conftest.$ac_ext >&5
42919 cat >conftest.$ac_ext <<_ACEOF
42922 cat confdefs.h >>conftest.$ac_ext
42923 cat >>conftest.$ac_ext <<_ACEOF
42924 /* end confdefs.h. */
42926 #include <sys/time.h>
42927 #include <unistd.h>
42940 rm -f conftest.$ac_objext
42941 if { (ac_try="$ac_compile"
42942 case "(($ac_try" in
42943 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
42944 *) ac_try_echo
=$ac_try;;
42946 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42947 (eval "$ac_compile") 2>conftest.er1
42949 grep -v '^ *+' conftest.er1
>conftest.err
42951 cat conftest.err
>&5
42952 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42953 (exit $ac_status); } && {
42954 test -z "$ac_c_werror_flag" ||
42955 test ! -s conftest.err
42956 } && test -s conftest.
$ac_objext; then
42957 wx_cv_func_gettimeofday_has_2_args
=no
42959 echo "$as_me: failed program was:" >&5
42960 sed 's/^/| /' conftest.
$ac_ext >&5
42963 { echo "$as_me:$LINENO: WARNING: failed to determine number of gettimeofday() arguments" >&5
42964 echo "$as_me: WARNING: failed to determine number of gettimeofday() arguments" >&2;}
42965 wx_cv_func_gettimeofday_has_2_args
=unknown
42970 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
42974 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
42977 { echo "$as_me:$LINENO: result: $wx_cv_func_gettimeofday_has_2_args" >&5
42978 echo "${ECHO_T}$wx_cv_func_gettimeofday_has_2_args" >&6; }
42980 if test "$wx_cv_func_gettimeofday_has_2_args" != "yes"; then
42981 cat >>confdefs.h
<<\_ACEOF
42982 #define WX_GETTIMEOFDAY_NO_TZ 1
42988 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS typetest"
42992 if test "$wxUSE_SOCKETS" = "yes"; then
42993 if test "$wxUSE_MGL" = "1"; then
42994 { echo "$as_me:$LINENO: WARNING: wxSocket not yet supported under MGL... disabled" >&5
42995 echo "$as_me: WARNING: wxSocket not yet supported under MGL... disabled" >&2;}
43000 if test "$wxUSE_SOCKETS" = "yes"; then
43001 if test "$TOOLKIT" != "MSW"; then
43002 { echo "$as_me:$LINENO: checking for socket" >&5
43003 echo $ECHO_N "checking for socket... $ECHO_C" >&6; }
43004 if test "${ac_cv_func_socket+set}" = set; then
43005 echo $ECHO_N "(cached) $ECHO_C" >&6
43007 cat >conftest.
$ac_ext <<_ACEOF
43010 cat confdefs.h
>>conftest.
$ac_ext
43011 cat >>conftest.
$ac_ext <<_ACEOF
43012 /* end confdefs.h. */
43013 /* Define socket to an innocuous variant, in case <limits.h> declares socket.
43014 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43015 #define socket innocuous_socket
43017 /* System header to define __stub macros and hopefully few prototypes,
43018 which can conflict with char socket (); below.
43019 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43020 <limits.h> exists even on freestanding compilers. */
43023 # include <limits.h>
43025 # include <assert.h>
43030 /* Override any GCC internal prototype to avoid an error.
43031 Use char because int might match the return type of a GCC
43032 builtin and then its argument prototype would still apply. */
43037 /* The GNU C library defines this for functions which it implements
43038 to always fail with ENOSYS. Some functions are actually named
43039 something starting with __ and the normal name is an alias. */
43040 #if defined __stub_socket || defined __stub___socket
43052 rm -f conftest.
$ac_objext conftest
$ac_exeext
43053 if { (ac_try
="$ac_link"
43054 case "(($ac_try" in
43055 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
43056 *) ac_try_echo=$ac_try;;
43058 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43059 (eval "$ac_link") 2>conftest.er1
43061 grep -v '^ *+' conftest.er1 >conftest.err
43063 cat conftest.err >&5
43064 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43065 (exit $ac_status); } && {
43066 test -z "$ac_c_werror_flag" ||
43067 test ! -s conftest.err
43068 } && test -s conftest$ac_exeext &&
43069 $as_test_x conftest$ac_exeext; then
43070 ac_cv_func_socket=yes
43072 echo "$as_me: failed program was:" >&5
43073 sed 's/^/| /' conftest.$ac_ext >&5
43075 ac_cv_func_socket=no
43078 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
43079 conftest$ac_exeext conftest.$ac_ext
43081 { echo "$as_me:$LINENO: result: $ac_cv_func_socket" >&5
43082 echo "${ECHO_T}$ac_cv_func_socket" >&6; }
43083 if test $ac_cv_func_socket = yes; then
43087 { echo "$as_me:$LINENO: checking for socket in -lsocket" >&5
43088 echo $ECHO_N "checking for socket in -lsocket... $ECHO_C" >&6; }
43089 if test "${ac_cv_lib_socket_socket+set}" = set; then
43090 echo $ECHO_N "(cached) $ECHO_C" >&6
43092 ac_check_lib_save_LIBS=$LIBS
43093 LIBS="-lsocket $LIBS"
43094 cat >conftest.$ac_ext <<_ACEOF
43097 cat confdefs.h >>conftest.$ac_ext
43098 cat >>conftest.$ac_ext <<_ACEOF
43099 /* end confdefs.h. */
43101 /* Override any GCC internal prototype to avoid an error.
43102 Use char because int might match the return type of a GCC
43103 builtin and then its argument prototype would still apply. */
43116 rm -f conftest.$ac_objext conftest$ac_exeext
43117 if { (ac_try="$ac_link"
43118 case "(($ac_try" in
43119 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
43120 *) ac_try_echo
=$ac_try;;
43122 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43123 (eval "$ac_link") 2>conftest.er1
43125 grep -v '^ *+' conftest.er1
>conftest.err
43127 cat conftest.err
>&5
43128 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43129 (exit $ac_status); } && {
43130 test -z "$ac_c_werror_flag" ||
43131 test ! -s conftest.err
43132 } && test -s conftest
$ac_exeext &&
43133 $as_test_x conftest
$ac_exeext; then
43134 ac_cv_lib_socket_socket
=yes
43136 echo "$as_me: failed program was:" >&5
43137 sed 's/^/| /' conftest.
$ac_ext >&5
43139 ac_cv_lib_socket_socket
=no
43142 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
43143 conftest
$ac_exeext conftest.
$ac_ext
43144 LIBS
=$ac_check_lib_save_LIBS
43146 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_socket" >&5
43147 echo "${ECHO_T}$ac_cv_lib_socket_socket" >&6; }
43148 if test $ac_cv_lib_socket_socket = yes; then
43149 if test "$INET_LINK" != " -lsocket"; then
43150 INET_LINK
="$INET_LINK -lsocket"
43154 { echo "$as_me:$LINENO: WARNING: socket library not found - sockets will be disabled" >&5
43155 echo "$as_me: WARNING: socket library not found - sockets will be disabled" >&2;}
43168 if test "$wxUSE_SOCKETS" = "yes" ; then
43169 if test "$TOOLKIT" != "MSW"; then
43170 { echo "$as_me:$LINENO: checking what is the type of the third argument of getsockname" >&5
43171 echo $ECHO_N "checking what is the type of the third argument of getsockname... $ECHO_C" >&6; }
43172 if test "${wx_cv_type_getsockname3+set}" = set; then
43173 echo $ECHO_N "(cached) $ECHO_C" >&6
43177 ac_cpp
='$CXXCPP $CPPFLAGS'
43178 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43179 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43180 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
43182 cat >conftest.
$ac_ext <<_ACEOF
43185 cat confdefs.h
>>conftest.
$ac_ext
43186 cat >>conftest.
$ac_ext <<_ACEOF
43187 /* end confdefs.h. */
43189 #include <sys/types.h>
43190 #include <sys/socket.h>
43197 getsockname(0, 0, &len);
43203 rm -f conftest.
$ac_objext
43204 if { (ac_try
="$ac_compile"
43205 case "(($ac_try" in
43206 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
43207 *) ac_try_echo=$ac_try;;
43209 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43210 (eval "$ac_compile") 2>conftest.er1
43212 grep -v '^ *+' conftest.er1 >conftest.err
43214 cat conftest.err >&5
43215 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43216 (exit $ac_status); } && {
43217 test -z "$ac_cxx_werror_flag" ||
43218 test ! -s conftest.err
43219 } && test -s conftest.$ac_objext; then
43220 wx_cv_type_getsockname3=socklen_t
43222 echo "$as_me: failed program was:" >&5
43223 sed 's/^/| /' conftest.$ac_ext >&5
43226 CFLAGS_OLD="$CFLAGS"
43227 if test "$GCC" = yes ; then
43228 CFLAGS="-Werror $CFLAGS"
43231 cat >conftest.$ac_ext <<_ACEOF
43234 cat confdefs.h >>conftest.$ac_ext
43235 cat >>conftest.$ac_ext <<_ACEOF
43236 /* end confdefs.h. */
43238 #include <sys/types.h>
43239 #include <sys/socket.h>
43246 getsockname(0, 0, &len);
43252 rm -f conftest.$ac_objext
43253 if { (ac_try="$ac_compile"
43254 case "(($ac_try" in
43255 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
43256 *) ac_try_echo
=$ac_try;;
43258 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43259 (eval "$ac_compile") 2>conftest.er1
43261 grep -v '^ *+' conftest.er1
>conftest.err
43263 cat conftest.err
>&5
43264 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43265 (exit $ac_status); } && {
43266 test -z "$ac_cxx_werror_flag" ||
43267 test ! -s conftest.err
43268 } && test -s conftest.
$ac_objext; then
43269 wx_cv_type_getsockname3
=size_t
43271 echo "$as_me: failed program was:" >&5
43272 sed 's/^/| /' conftest.
$ac_ext >&5
43274 cat >conftest.
$ac_ext <<_ACEOF
43277 cat confdefs.h
>>conftest.
$ac_ext
43278 cat >>conftest.
$ac_ext <<_ACEOF
43279 /* end confdefs.h. */
43281 #include <sys/types.h>
43282 #include <sys/socket.h>
43289 getsockname(0, 0, &len);
43295 rm -f conftest.
$ac_objext
43296 if { (ac_try
="$ac_compile"
43297 case "(($ac_try" in
43298 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
43299 *) ac_try_echo=$ac_try;;
43301 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43302 (eval "$ac_compile") 2>conftest.er1
43304 grep -v '^ *+' conftest.er1 >conftest.err
43306 cat conftest.err >&5
43307 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43308 (exit $ac_status); } && {
43309 test -z "$ac_cxx_werror_flag" ||
43310 test ! -s conftest.err
43311 } && test -s conftest.$ac_objext; then
43312 wx_cv_type_getsockname3=int
43314 echo "$as_me: failed program was:" >&5
43315 sed 's/^/| /' conftest.$ac_ext >&5
43317 wx_cv_type_getsockname3=unknown
43321 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43325 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43327 CFLAGS="$CFLAGS_OLD"
43332 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43334 ac_cpp='$CPP $CPPFLAGS'
43335 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43336 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43337 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43341 { echo "$as_me:$LINENO: result: $wx_cv_type_getsockname3" >&5
43342 echo "${ECHO_T}$wx_cv_type_getsockname3" >&6; }
43344 if test "$wx_cv_type_getsockname3" = "unknown"; then
43346 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
43347 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
43349 cat >>confdefs.h <<_ACEOF
43350 #define WX_SOCKLEN_T $wx_cv_type_getsockname3
43354 { echo "$as_me:$LINENO: checking what is the type of the fifth argument of getsockopt" >&5
43355 echo $ECHO_N "checking what is the type of the fifth argument of getsockopt... $ECHO_C" >&6; }
43356 if test "${wx_cv_type_getsockopt5+set}" = set; then
43357 echo $ECHO_N "(cached) $ECHO_C" >&6
43361 ac_cpp='$CXXCPP $CPPFLAGS'
43362 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43363 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43364 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43366 cat >conftest.$ac_ext <<_ACEOF
43369 cat confdefs.h >>conftest.$ac_ext
43370 cat >>conftest.$ac_ext <<_ACEOF
43371 /* end confdefs.h. */
43373 #include <sys/types.h>
43374 #include <sys/socket.h>
43381 getsockopt(0, 0, 0, 0, &len);
43387 rm -f conftest.$ac_objext
43388 if { (ac_try="$ac_compile"
43389 case "(($ac_try" in
43390 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
43391 *) ac_try_echo
=$ac_try;;
43393 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43394 (eval "$ac_compile") 2>conftest.er1
43396 grep -v '^ *+' conftest.er1
>conftest.err
43398 cat conftest.err
>&5
43399 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43400 (exit $ac_status); } && {
43401 test -z "$ac_cxx_werror_flag" ||
43402 test ! -s conftest.err
43403 } && test -s conftest.
$ac_objext; then
43404 wx_cv_type_getsockopt5
=socklen_t
43406 echo "$as_me: failed program was:" >&5
43407 sed 's/^/| /' conftest.
$ac_ext >&5
43410 cat >conftest.
$ac_ext <<_ACEOF
43413 cat confdefs.h
>>conftest.
$ac_ext
43414 cat >>conftest.
$ac_ext <<_ACEOF
43415 /* end confdefs.h. */
43417 #include <sys/types.h>
43418 #include <sys/socket.h>
43425 getsockopt(0, 0, 0, 0, &len);
43431 rm -f conftest.
$ac_objext
43432 if { (ac_try
="$ac_compile"
43433 case "(($ac_try" in
43434 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
43435 *) ac_try_echo=$ac_try;;
43437 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43438 (eval "$ac_compile") 2>conftest.er1
43440 grep -v '^ *+' conftest.er1 >conftest.err
43442 cat conftest.err >&5
43443 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43444 (exit $ac_status); } && {
43445 test -z "$ac_cxx_werror_flag" ||
43446 test ! -s conftest.err
43447 } && test -s conftest.$ac_objext; then
43448 wx_cv_type_getsockopt5=size_t
43450 echo "$as_me: failed program was:" >&5
43451 sed 's/^/| /' conftest.$ac_ext >&5
43453 cat >conftest.$ac_ext <<_ACEOF
43456 cat confdefs.h >>conftest.$ac_ext
43457 cat >>conftest.$ac_ext <<_ACEOF
43458 /* end confdefs.h. */
43460 #include <sys/types.h>
43461 #include <sys/socket.h>
43468 getsockopt(0, 0, 0, 0, &len);
43474 rm -f conftest.$ac_objext
43475 if { (ac_try="$ac_compile"
43476 case "(($ac_try" in
43477 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
43478 *) ac_try_echo
=$ac_try;;
43480 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43481 (eval "$ac_compile") 2>conftest.er1
43483 grep -v '^ *+' conftest.er1
>conftest.err
43485 cat conftest.err
>&5
43486 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43487 (exit $ac_status); } && {
43488 test -z "$ac_cxx_werror_flag" ||
43489 test ! -s conftest.err
43490 } && test -s conftest.
$ac_objext; then
43491 wx_cv_type_getsockopt5
=int
43493 echo "$as_me: failed program was:" >&5
43494 sed 's/^/| /' conftest.
$ac_ext >&5
43496 wx_cv_type_getsockopt5
=unknown
43500 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
43504 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
43509 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
43511 ac_cpp
='$CPP $CPPFLAGS'
43512 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43513 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43514 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
43518 { echo "$as_me:$LINENO: result: $wx_cv_type_getsockopt5" >&5
43519 echo "${ECHO_T}$wx_cv_type_getsockopt5" >&6; }
43521 if test "$wx_cv_type_getsockopt5" = "unknown"; then
43523 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
43524 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
43526 cat >>confdefs.h
<<_ACEOF
43527 #define SOCKOPTLEN_T $wx_cv_type_getsockopt5
43534 if test "$wxUSE_SOCKETS" = "yes" ; then
43535 cat >>confdefs.h
<<\_ACEOF
43536 #define wxUSE_SOCKETS 1
43539 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS sockets"
43542 if test "$wxUSE_PROTOCOL" = "yes"; then
43543 if test "$wxUSE_SOCKETS" != "yes"; then
43544 { echo "$as_me:$LINENO: WARNING: Protocol classes require sockets... disabled" >&5
43545 echo "$as_me: WARNING: Protocol classes require sockets... disabled" >&2;}
43550 if test "$wxUSE_PROTOCOL" = "yes"; then
43551 cat >>confdefs.h
<<\_ACEOF
43552 #define wxUSE_PROTOCOL 1
43556 if test "$wxUSE_PROTOCOL_HTTP" = "yes"; then
43557 cat >>confdefs.h
<<\_ACEOF
43558 #define wxUSE_PROTOCOL_HTTP 1
43562 if test "$wxUSE_PROTOCOL_FTP" = "yes"; then
43563 cat >>confdefs.h
<<\_ACEOF
43564 #define wxUSE_PROTOCOL_FTP 1
43568 if test "$wxUSE_PROTOCOL_FILE" = "yes"; then
43569 cat >>confdefs.h
<<\_ACEOF
43570 #define wxUSE_PROTOCOL_FILE 1
43575 if test "$wxUSE_FS_INET" = "yes"; then
43576 { echo "$as_me:$LINENO: WARNING: HTTP filesystem require protocol classes... disabled" >&5
43577 echo "$as_me: WARNING: HTTP filesystem require protocol classes... disabled" >&2;}
43582 if test "$wxUSE_URL" = "yes"; then
43583 if test "$wxUSE_PROTOCOL" != "yes"; then
43584 { echo "$as_me:$LINENO: WARNING: wxURL class requires wxProtocol... disabled" >&5
43585 echo "$as_me: WARNING: wxURL class requires wxProtocol... disabled" >&2;}
43588 if test "$wxUSE_URL" = "yes"; then
43589 cat >>confdefs.h
<<\_ACEOF
43590 #define wxUSE_URL 1
43596 if test "$wxUSE_VARIANT" = "yes"; then
43597 cat >>confdefs.h
<<\_ACEOF
43598 #define wxUSE_VARIANT 1
43603 if test "$wxUSE_FS_INET" = "yes"; then
43604 cat >>confdefs.h
<<\_ACEOF
43605 #define wxUSE_FS_INET 1
43611 if test "$wxUSE_GUI" = "yes" -a "$wxUSE_JOYSTICK" = "yes"; then
43614 if test "$TOOLKIT" = "MSW"; then
43617 elif test "$TOOLKIT" = "MAC" -o "$TOOLKIT" = "COCOA"; then
43618 if test "$USE_DARWIN" = 1; then
43619 { echo "$as_me:$LINENO: checking headers have declarations needed for joystick support" >&5
43620 echo $ECHO_N "checking headers have declarations needed for joystick support... $ECHO_C" >&6; }
43622 ac_cpp
='$CXXCPP $CPPFLAGS'
43623 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43624 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43625 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
43627 cat >conftest.
$ac_ext <<_ACEOF
43630 cat confdefs.h
>>conftest.
$ac_ext
43631 cat >>conftest.
$ac_ext <<_ACEOF
43632 /* end confdefs.h. */
43633 #include <IOKit/hid/IOHIDLib.h>
43637 IOHIDQueueInterface *qi = NULL;
43638 IOHIDCallbackFunction cb = NULL;
43639 qi->setEventCallout(NULL, cb, NULL, NULL);
43644 rm -f conftest.
$ac_objext
43645 if { (ac_try
="$ac_compile"
43646 case "(($ac_try" in
43647 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
43648 *) ac_try_echo=$ac_try;;
43650 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43651 (eval "$ac_compile") 2>conftest.er1
43653 grep -v '^ *+' conftest.er1 >conftest.err
43655 cat conftest.err >&5
43656 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43657 (exit $ac_status); } && {
43658 test -z "$ac_cxx_werror_flag" ||
43659 test ! -s conftest.err
43660 } && test -s conftest.$ac_objext; then
43664 echo "$as_me: failed program was:" >&5
43665 sed 's/^/| /' conftest.$ac_ext >&5
43670 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43672 ac_cpp='$CPP $CPPFLAGS'
43673 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43674 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43675 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43677 { echo "$as_me:$LINENO: result: $wxUSE_JOYSTICK" >&5
43678 echo "${ECHO_T}$wxUSE_JOYSTICK" >&6; }
43682 if test "$wxUSE_MGL" != "1"; then
43683 { echo "$as_me:$LINENO: checking for linux/joystick.h" >&5
43684 echo $ECHO_N "checking for linux/joystick.h... $ECHO_C" >&6; }
43685 if test "${ac_cv_header_linux_joystick_h+set}" = set; then
43686 echo $ECHO_N "(cached) $ECHO_C" >&6
43688 cat >conftest.$ac_ext <<_ACEOF
43691 cat confdefs.h >>conftest.$ac_ext
43692 cat >>conftest.$ac_ext <<_ACEOF
43693 /* end confdefs.h. */
43694 $ac_includes_default
43696 #include <linux/joystick.h>
43698 rm -f conftest.$ac_objext
43699 if { (ac_try="$ac_compile"
43700 case "(($ac_try" in
43701 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
43702 *) ac_try_echo
=$ac_try;;
43704 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43705 (eval "$ac_compile") 2>conftest.er1
43707 grep -v '^ *+' conftest.er1
>conftest.err
43709 cat conftest.err
>&5
43710 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43711 (exit $ac_status); } && {
43712 test -z "$ac_c_werror_flag" ||
43713 test ! -s conftest.err
43714 } && test -s conftest.
$ac_objext; then
43715 ac_cv_header_linux_joystick_h
=yes
43717 echo "$as_me: failed program was:" >&5
43718 sed 's/^/| /' conftest.
$ac_ext >&5
43720 ac_cv_header_linux_joystick_h
=no
43723 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
43725 { echo "$as_me:$LINENO: result: $ac_cv_header_linux_joystick_h" >&5
43726 echo "${ECHO_T}$ac_cv_header_linux_joystick_h" >&6; }
43727 if test $ac_cv_header_linux_joystick_h = yes; then
43735 if test "$wxUSE_JOYSTICK" = "yes"; then
43736 cat >>confdefs.h
<<\_ACEOF
43737 #define wxUSE_JOYSTICK 1
43740 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS joytest"
43742 { echo "$as_me:$LINENO: WARNING: Joystick not supported by this system... disabled" >&5
43743 echo "$as_me: WARNING: Joystick not supported by this system... disabled" >&2;}
43749 if test "$wxUSE_FONTMAP" = "yes" ; then
43750 cat >>confdefs.h
<<\_ACEOF
43751 #define wxUSE_FONTMAP 1
43756 if test "$wxUSE_UNICODE" = "yes" ; then
43757 cat >>confdefs.h
<<\_ACEOF
43758 #define wxUSE_UNICODE 1
43762 if test "$USE_WIN32" != 1; then
43763 wxUSE_UNICODE_MSLU
=no
43766 if test "$USE_WIN32" = 1 -a "$wxUSE_UNICODE_MSLU" = "yes"; then
43767 { echo "$as_me:$LINENO: checking for main in -lunicows" >&5
43768 echo $ECHO_N "checking for main in -lunicows... $ECHO_C" >&6; }
43769 if test "${ac_cv_lib_unicows_main+set}" = set; then
43770 echo $ECHO_N "(cached) $ECHO_C" >&6
43772 ac_check_lib_save_LIBS
=$LIBS
43773 LIBS
="-lunicows $LIBS"
43774 cat >conftest.
$ac_ext <<_ACEOF
43777 cat confdefs.h
>>conftest.
$ac_ext
43778 cat >>conftest.
$ac_ext <<_ACEOF
43779 /* end confdefs.h. */
43790 rm -f conftest.
$ac_objext conftest
$ac_exeext
43791 if { (ac_try
="$ac_link"
43792 case "(($ac_try" in
43793 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
43794 *) ac_try_echo=$ac_try;;
43796 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43797 (eval "$ac_link") 2>conftest.er1
43799 grep -v '^ *+' conftest.er1 >conftest.err
43801 cat conftest.err >&5
43802 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43803 (exit $ac_status); } && {
43804 test -z "$ac_c_werror_flag" ||
43805 test ! -s conftest.err
43806 } && test -s conftest$ac_exeext &&
43807 $as_test_x conftest$ac_exeext; then
43808 ac_cv_lib_unicows_main=yes
43810 echo "$as_me: failed program was:" >&5
43811 sed 's/^/| /' conftest.$ac_ext >&5
43813 ac_cv_lib_unicows_main=no
43816 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
43817 conftest$ac_exeext conftest.$ac_ext
43818 LIBS=$ac_check_lib_save_LIBS
43820 { echo "$as_me:$LINENO: result: $ac_cv_lib_unicows_main" >&5
43821 echo "${ECHO_T}$ac_cv_lib_unicows_main" >&6; }
43822 if test $ac_cv_lib_unicows_main = yes; then
43824 cat >>confdefs.h <<\_ACEOF
43825 #define wxUSE_UNICODE_MSLU 1
43831 { echo "$as_me:$LINENO: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
43832 Applications will only run on Windows NT/2000/XP!" >&5
43833 echo "$as_me: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
43834 Applications will only run on Windows NT/2000/XP!" >&2;}
43835 wxUSE_UNICODE_MSLU=no
43842 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_UTF8" = "yes"; then
43843 cat >>confdefs.h <<\_ACEOF
43844 #define wxUSE_UNICODE_UTF8 1
43848 if test "$wxUSE_UNICODE_UTF8_LOCALE" = "yes"; then
43849 cat >>confdefs.h <<\_ACEOF
43850 #define wxUSE_UTF8_LOCALE_ONLY 1
43856 if test "$wxUSE_wxUSE_EXPERIMENTAL_PRINTF" = "yes"; then
43857 cat >>confdefs.h <<\_ACEOF
43858 #define wxUSE_EXPERIMENTAL_PRINTF 1
43864 if test "$wxUSE_POSTSCRIPT" = "yes" ; then
43865 cat >>confdefs.h <<\_ACEOF
43866 #define wxUSE_POSTSCRIPT 1
43871 cat >>confdefs.h <<\_ACEOF
43872 #define wxUSE_AFM_FOR_POSTSCRIPT 1
43876 cat >>confdefs.h <<\_ACEOF
43877 #define wxUSE_NORMALIZED_PS_FONTS 1
43882 if test "$wxUSE_CONSTRAINTS" = "yes"; then
43883 cat >>confdefs.h <<\_ACEOF
43884 #define wxUSE_CONSTRAINTS 1
43887 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS layout"
43890 if test "$wxUSE_MDI" = "yes"; then
43891 cat >>confdefs.h <<\_ACEOF
43892 #define wxUSE_MDI 1
43896 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
43897 cat >>confdefs.h <<\_ACEOF
43898 #define wxUSE_MDI_ARCHITECTURE 1
43901 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS mdi"
43905 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = "yes" ; then
43906 cat >>confdefs.h <<\_ACEOF
43907 #define wxUSE_DOC_VIEW_ARCHITECTURE 1
43910 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS docview"
43911 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
43912 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS docvwmdi"
43916 if test "$wxUSE_HELP" = "yes"; then
43917 cat >>confdefs.h <<\_ACEOF
43918 #define wxUSE_HELP 1
43921 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS help"
43923 if test "$wxUSE_MSW" = 1; then
43924 if test "$wxUSE_MS_HTML_HELP" = "yes"; then
43925 cat >>confdefs.h <<\_ACEOF
43926 #define wxUSE_MS_HTML_HELP 1
43932 if test "$wxUSE_WXHTML_HELP" = "yes"; then
43933 if test "$wxUSE_HTML" = "yes"; then
43934 cat >>confdefs.h <<\_ACEOF
43935 #define wxUSE_WXHTML_HELP 1
43939 { echo "$as_me:$LINENO: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&5
43940 echo "$as_me: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&2;}
43941 wxUSE_WXHTML_HELP=no
43946 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
43947 if test "$wxUSE_CONSTRAINTS" != "yes"; then
43948 { echo "$as_me:$LINENO: WARNING: Printing support cannot be used without constraints so it won't be compiled without it" >&5
43949 echo "$as_me: WARNING: Printing support cannot be used without constraints so it won't be compiled without it" >&2;}
43951 cat >>confdefs.h <<\_ACEOF
43952 #define wxUSE_PRINTING_ARCHITECTURE 1
43956 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS printing"
43961 if test "$wxUSE_METAFILE" = "yes"; then
43962 if test "$wxUSE_MSW" != 1 -a "$wxUSE_MAC" != 1 -a "$wxUSE_PM" != 1; then
43963 { echo "$as_me:$LINENO: WARNING: wxMetafile is not available on this system... disabled" >&5
43964 echo "$as_me: WARNING: wxMetafile is not available on this system... disabled" >&2;}
43970 if test "$USE_WIN32" = 1 -a \( "$wxUSE_DATAOBJ" = "yes" \
43971 -o "$wxUSE_CLIPBOARD" = "yes" \
43972 -o "$wxUSE_OLE" = "yes" \
43973 -o "$wxUSE_DRAG_AND_DROP" = "yes" \) ; then
43974 { echo "$as_me:$LINENO: checking for ole2.h" >&5
43975 echo $ECHO_N "checking for ole2.h... $ECHO_C" >&6; }
43976 if test "${ac_cv_header_ole2_h+set}" = set; then
43977 echo $ECHO_N "(cached) $ECHO_C" >&6
43979 cat >conftest.$ac_ext <<_ACEOF
43982 cat confdefs.h >>conftest.$ac_ext
43983 cat >>conftest.$ac_ext <<_ACEOF
43984 /* end confdefs.h. */
43989 rm -f conftest.$ac_objext
43990 if { (ac_try="$ac_compile"
43991 case "(($ac_try" in
43992 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
43993 *) ac_try_echo
=$ac_try;;
43995 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43996 (eval "$ac_compile") 2>conftest.er1
43998 grep -v '^ *+' conftest.er1
>conftest.err
44000 cat conftest.err
>&5
44001 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44002 (exit $ac_status); } && {
44003 test -z "$ac_c_werror_flag" ||
44004 test ! -s conftest.err
44005 } && test -s conftest.
$ac_objext; then
44006 ac_cv_header_ole2_h
=yes
44008 echo "$as_me: failed program was:" >&5
44009 sed 's/^/| /' conftest.
$ac_ext >&5
44011 ac_cv_header_ole2_h
=no
44014 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
44016 { echo "$as_me:$LINENO: result: $ac_cv_header_ole2_h" >&5
44017 echo "${ECHO_T}$ac_cv_header_ole2_h" >&6; }
44021 if test "$ac_cv_header_ole2_h" = "yes" ; then
44022 if test "$GCC" = yes ; then
44023 { echo "$as_me:$LINENO: checking if g++ requires -fvtable-thunks" >&5
44024 echo $ECHO_N "checking if g++ requires -fvtable-thunks... $ECHO_C" >&6; }
44025 cat >conftest.
$ac_ext <<_ACEOF
44028 cat confdefs.h
>>conftest.
$ac_ext
44029 cat >>conftest.
$ac_ext <<_ACEOF
44030 /* end confdefs.h. */
44031 #include <windows.h>
44041 rm -f conftest.
$ac_objext
44042 if { (ac_try
="$ac_compile"
44043 case "(($ac_try" in
44044 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
44045 *) ac_try_echo=$ac_try;;
44047 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44048 (eval "$ac_compile") 2>conftest.er1
44050 grep -v '^ *+' conftest.er1 >conftest.err
44052 cat conftest.err >&5
44053 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44054 (exit $ac_status); } && {
44055 test -z "$ac_c_werror_flag" ||
44056 test ! -s conftest.err
44057 } && test -s conftest.$ac_objext; then
44058 { echo "$as_me:$LINENO: result: no" >&5
44059 echo "${ECHO_T}no" >&6; }
44061 echo "$as_me: failed program was:" >&5
44062 sed 's/^/| /' conftest.$ac_ext >&5
44064 { echo "$as_me:$LINENO: result: yes" >&5
44065 echo "${ECHO_T}yes" >&6; }
44066 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -fvtable-thunks"
44069 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44070 LIBS=" -lrpcrt4 -loleaut32 -lole32 -luuid$LIBS"
44071 if test "$wxUSE_OLE" = "yes" ; then
44072 cat >>confdefs.h <<\_ACEOF
44073 #define wxUSE_OLE 1
44076 cat >>confdefs.h <<\_ACEOF
44077 #define wxUSE_OLE_AUTOMATION 1
44080 cat >>confdefs.h <<\_ACEOF
44081 #define wxUSE_ACTIVEX 1
44084 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS oleauto"
44088 if test "$wxUSE_DATAOBJ" = "yes" ; then
44089 cat >>confdefs.h <<\_ACEOF
44090 #define wxUSE_DATAOBJ 1
44095 { echo "$as_me:$LINENO: WARNING: Some features disabled because OLE headers not found" >&5
44096 echo "$as_me: WARNING: Some features disabled because OLE headers not found" >&2;}
44099 wxUSE_DRAG_AND_DROP=no
44104 if test "$wxUSE_METAFILE" = "yes"; then
44105 cat >>confdefs.h <<\_ACEOF
44106 #define wxUSE_METAFILE 1
44110 cat >>confdefs.h <<\_ACEOF
44111 #define wxUSE_ENH_METAFILE 1
44117 if test "$wxUSE_IPC" = "yes"; then
44118 if test "$wxUSE_SOCKETS" != "yes" -a "$USE_WIN32" != 1; then
44119 { echo "$as_me:$LINENO: WARNING: wxWidgets IPC classes require sockets... disabled" >&5
44120 echo "$as_me: WARNING: wxWidgets IPC classes require sockets... disabled" >&2;}
44124 if test "$wxUSE_IPC" = "yes"; then
44125 cat >>confdefs.h <<\_ACEOF
44126 #define wxUSE_IPC 1
44129 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ipc"
44133 if test "$wxUSE_DATAOBJ" = "yes"; then
44134 if test "$wxUSE_MGL" = 1 -o "$wxUSE_DFB" = 1; then
44135 { echo "$as_me:$LINENO: WARNING: wxDataObject not yet supported under $TOOLKIT... disabled" >&5
44136 echo "$as_me: WARNING: wxDataObject not yet supported under $TOOLKIT... disabled" >&2;}
44139 cat >>confdefs.h <<\_ACEOF
44140 #define wxUSE_DATAOBJ 1
44145 { echo "$as_me:$LINENO: WARNING: Clipboard and drag-and-drop require wxDataObject -- disabled" >&5
44146 echo "$as_me: WARNING: Clipboard and drag-and-drop require wxDataObject -- disabled" >&2;}
44148 wxUSE_DRAG_AND_DROP=no
44151 if test "$wxUSE_CLIPBOARD" = "yes"; then
44152 if test "$wxUSE_MGL" = 1 -o "$wxUSE_DFB" = 1; then
44153 { echo "$as_me:$LINENO: WARNING: Clipboard not yet supported under $TOOLKIT... disabled" >&5
44154 echo "$as_me: WARNING: Clipboard not yet supported under $TOOLKIT... disabled" >&2;}
44158 if test "$wxUSE_CLIPBOARD" = "yes"; then
44159 cat >>confdefs.h <<\_ACEOF
44160 #define wxUSE_CLIPBOARD 1
44166 if test "$wxUSE_DRAG_AND_DROP" = "yes" ; then
44167 if test "$wxUSE_GTK" = 1; then
44168 if test "$WXGTK12" != 1; then
44169 { echo "$as_me:$LINENO: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&5
44170 echo "$as_me: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&2;}
44171 wxUSE_DRAG_AND_DROP=no
44175 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_X11" = 1 -o "$wxUSE_MGL" = 1 -o \
44176 "$wxUSE_DFB" = 1; then
44177 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under $TOOLKIT... disabled" >&5
44178 echo "$as_me: WARNING: Drag and drop not yet supported under $TOOLKIT... disabled" >&2;}
44179 wxUSE_DRAG_AND_DROP=no
44182 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
44183 cat >>confdefs.h <<\_ACEOF
44184 #define wxUSE_DRAG_AND_DROP 1
44191 if test "$wxUSE_DRAG_AND_DROP" = "yes" -o "$wxUSE_CLIPBOARD" = "yes"; then
44192 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dnd"
44195 if test "$wxUSE_SPLINES" = "yes" ; then
44196 cat >>confdefs.h <<\_ACEOF
44197 #define wxUSE_SPLINES 1
44202 if test "$wxUSE_MOUSEWHEEL" = "yes" ; then
44203 cat >>confdefs.h <<\_ACEOF
44204 #define wxUSE_MOUSEWHEEL 1
44211 if test "$wxUSE_CONTROLS" = "yes"; then
44215 if test "$wxUSE_ACCEL" = "yes"; then
44216 cat >>confdefs.h <<\_ACEOF
44217 #define wxUSE_ACCEL 1
44223 if test "$wxUSE_ANIMATIONCTRL" = "yes"; then
44224 cat >>confdefs.h <<\_ACEOF
44225 #define wxUSE_ANIMATIONCTRL 1
44229 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS animate"
44232 if test "$wxUSE_BUTTON" = "yes"; then
44233 cat >>confdefs.h <<\_ACEOF
44234 #define wxUSE_BUTTON 1
44240 if test "$wxUSE_BMPBUTTON" = "yes"; then
44241 cat >>confdefs.h <<\_ACEOF
44242 #define wxUSE_BMPBUTTON 1
44248 if test "$wxUSE_CALCTRL" = "yes"; then
44249 cat >>confdefs.h <<\_ACEOF
44250 #define wxUSE_CALENDARCTRL 1
44254 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS calendar"
44257 if test "$wxUSE_CARET" = "yes"; then
44258 cat >>confdefs.h <<\_ACEOF
44259 #define wxUSE_CARET 1
44263 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS caret"
44266 if test "$wxUSE_COLLPANE" = "yes"; then
44267 cat >>confdefs.h <<\_ACEOF
44268 #define wxUSE_COLLPANE 1
44272 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS collpane"
44275 if test "$wxUSE_COMBOBOX" = "yes"; then
44276 cat >>confdefs.h <<\_ACEOF
44277 #define wxUSE_COMBOBOX 1
44283 if test "$wxUSE_COMBOCTRL" = "yes"; then
44284 cat >>confdefs.h <<\_ACEOF
44285 #define wxUSE_COMBOCTRL 1
44291 if test "$wxUSE_CHOICE" = "yes"; then
44292 cat >>confdefs.h <<\_ACEOF
44293 #define wxUSE_CHOICE 1
44299 if test "$wxUSE_CHOICEBOOK" = "yes"; then
44300 cat >>confdefs.h <<\_ACEOF
44301 #define wxUSE_CHOICEBOOK 1
44307 if test "$wxUSE_CHECKBOX" = "yes"; then
44308 cat >>confdefs.h <<\_ACEOF
44309 #define wxUSE_CHECKBOX 1
44315 if test "$wxUSE_CHECKLST" = "yes"; then
44316 cat >>confdefs.h <<\_ACEOF
44317 #define wxUSE_CHECKLISTBOX 1
44321 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS checklst"
44324 if test "$wxUSE_COLOURPICKERCTRL" = "yes"; then
44325 cat >>confdefs.h <<\_ACEOF
44326 #define wxUSE_COLOURPICKERCTRL 1
44332 if test "$wxUSE_DATEPICKCTRL" = "yes"; then
44333 cat >>confdefs.h <<\_ACEOF
44334 #define wxUSE_DATEPICKCTRL 1
44340 if test "$wxUSE_DIRPICKERCTRL" = "yes"; then
44341 cat >>confdefs.h <<\_ACEOF
44342 #define wxUSE_DIRPICKERCTRL 1
44348 if test "$wxUSE_FILEPICKERCTRL" = "yes"; then
44349 cat >>confdefs.h <<\_ACEOF
44350 #define wxUSE_FILEPICKERCTRL 1
44356 if test "$wxUSE_FONTPICKERCTRL" = "yes"; then
44357 cat >>confdefs.h <<\_ACEOF
44358 #define wxUSE_FONTPICKERCTRL 1
44364 if test "$wxUSE_DISPLAY" = "yes"; then
44365 if test "$wxUSE_DFB" = 1 -o "$wxUSE_MGL" = 1; then
44366 { echo "$as_me:$LINENO: WARNING: wxDisplay not yet supported under $TOOLKIT... disabled" >&5
44367 echo "$as_me: WARNING: wxDisplay not yet supported under $TOOLKIT... disabled" >&2;}
44370 cat >>confdefs.h <<\_ACEOF
44371 #define wxUSE_DISPLAY 1
44374 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS display multimon"
44378 if test "$wxUSE_DETECT_SM" = "yes"; then
44379 cat >>confdefs.h <<\_ACEOF
44380 #define wxUSE_DETECT_SM 1
44385 if test "$wxUSE_GAUGE" = "yes"; then
44386 cat >>confdefs.h <<\_ACEOF
44387 #define wxUSE_GAUGE 1
44393 if test "$wxUSE_GRID" = "yes"; then
44394 cat >>confdefs.h <<\_ACEOF
44395 #define wxUSE_GRID 1
44399 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS grid"
44402 if test "$wxUSE_HYPERLINKCTRL" = "yes"; then
44403 cat >>confdefs.h <<\_ACEOF
44404 #define wxUSE_HYPERLINKCTRL 1
44410 if test "$wxUSE_BITMAPCOMBOBOX" = "yes"; then
44411 cat >>confdefs.h <<\_ACEOF
44412 #define wxUSE_BITMAPCOMBOBOX 1
44418 if test "$wxUSE_DATAVIEWCTRL" = "yes"; then
44419 cat >>confdefs.h <<\_ACEOF
44420 #define wxUSE_DATAVIEWCTRL 1
44424 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dataview"
44427 if test "$wxUSE_IMAGLIST" = "yes"; then
44428 cat >>confdefs.h <<\_ACEOF
44429 #define wxUSE_IMAGLIST 1
44434 if test "$wxUSE_LISTBOOK" = "yes"; then
44435 cat >>confdefs.h <<\_ACEOF
44436 #define wxUSE_LISTBOOK 1
44442 if test "$wxUSE_LISTBOX" = "yes"; then
44443 cat >>confdefs.h <<\_ACEOF
44444 #define wxUSE_LISTBOX 1
44448 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS listbox"
44451 if test "$wxUSE_LISTCTRL" = "yes"; then
44452 if test "$wxUSE_IMAGLIST" = "yes"; then
44453 cat >>confdefs.h <<\_ACEOF
44454 #define wxUSE_LISTCTRL 1
44458 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS listctrl"
44460 { echo "$as_me:$LINENO: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&5
44461 echo "$as_me: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&2;}
44465 if test "$wxUSE_EDITABLELISTBOX" = "yes"; then
44466 cat >>confdefs.h <<\_ACEOF
44467 #define wxUSE_EDITABLELISTBOX 1
44471 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS editlbox"
44474 if test "$wxUSE_NOTEBOOK" = "yes"; then
44475 cat >>confdefs.h <<\_ACEOF
44476 #define wxUSE_NOTEBOOK 1
44480 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS notebook"
44483 if test "$wxUSE_ODCOMBOBOX" = "yes"; then
44484 cat >>confdefs.h <<\_ACEOF
44485 #define wxUSE_ODCOMBOBOX 1
44489 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS combo"
44493 if test "$wxUSE_RADIOBOX" = "yes"; then
44494 cat >>confdefs.h <<\_ACEOF
44495 #define wxUSE_RADIOBOX 1
44501 if test "$wxUSE_RADIOBTN" = "yes"; then
44502 cat >>confdefs.h <<\_ACEOF
44503 #define wxUSE_RADIOBTN 1
44509 if test "$wxUSE_SASH" = "yes"; then
44510 cat >>confdefs.h <<\_ACEOF
44511 #define wxUSE_SASH 1
44514 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sashtest"
44517 if test "$wxUSE_SCROLLBAR" = "yes"; then
44518 cat >>confdefs.h <<\_ACEOF
44519 #define wxUSE_SCROLLBAR 1
44523 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS scroll scrollsub"
44526 if test "$wxUSE_SEARCHCTRL" = "yes"; then
44527 cat >>confdefs.h <<\_ACEOF
44528 #define wxUSE_SEARCHCTRL 1
44534 if test "$wxUSE_SLIDER" = "yes"; then
44535 cat >>confdefs.h <<\_ACEOF
44536 #define wxUSE_SLIDER 1
44542 if test "$wxUSE_SPINBTN" = "yes"; then
44543 cat >>confdefs.h <<\_ACEOF
44544 #define wxUSE_SPINBTN 1
44550 if test "$wxUSE_SPINCTRL" = "yes"; then
44551 cat >>confdefs.h <<\_ACEOF
44552 #define wxUSE_SPINCTRL 1
44558 if test "$wxUSE_SPLITTER" = "yes"; then
44559 cat >>confdefs.h <<\_ACEOF
44560 #define wxUSE_SPLITTER 1
44563 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS splitter"
44566 if test "$wxUSE_STATBMP" = "yes"; then
44567 cat >>confdefs.h <<\_ACEOF
44568 #define wxUSE_STATBMP 1
44574 if test "$wxUSE_STATBOX" = "yes"; then
44575 cat >>confdefs.h <<\_ACEOF
44576 #define wxUSE_STATBOX 1
44582 if test "$wxUSE_STATTEXT" = "yes"; then
44583 cat >>confdefs.h <<\_ACEOF
44584 #define wxUSE_STATTEXT 1
44590 if test "$wxUSE_STATLINE" = "yes"; then
44591 cat >>confdefs.h <<\_ACEOF
44592 #define wxUSE_STATLINE 1
44598 if test "$wxUSE_STATUSBAR" = "yes"; then
44599 cat >>confdefs.h <<\_ACEOF
44600 #define wxUSE_NATIVE_STATUSBAR 1
44603 cat >>confdefs.h <<\_ACEOF
44604 #define wxUSE_STATUSBAR 1
44609 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS statbar"
44612 if test "$wxUSE_TAB_DIALOG" = "yes"; then
44613 cat >>confdefs.h <<\_ACEOF
44614 #define wxUSE_TAB_DIALOG 1
44619 if test "$wxUSE_TEXTCTRL" = "yes"; then
44620 cat >>confdefs.h <<\_ACEOF
44621 #define wxUSE_TEXTCTRL 1
44625 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS text"
44628 if test "$wxUSE_TOGGLEBTN" = "yes"; then
44629 if test "$wxUSE_COCOA" = 1 ; then
44630 { echo "$as_me:$LINENO: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&5
44631 echo "$as_me: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&2;}
44635 if test "$wxUSE_TOGGLEBTN" = "yes"; then
44636 cat >>confdefs.h <<\_ACEOF
44637 #define wxUSE_TOGGLEBTN 1
44644 if test "$wxUSE_TOOLBAR" = "yes"; then
44645 cat >>confdefs.h <<\_ACEOF
44646 #define wxUSE_TOOLBAR 1
44651 if test "$wxUSE_UNIVERSAL" = "yes"; then
44652 wxUSE_TOOLBAR_NATIVE="no"
44654 wxUSE_TOOLBAR_NATIVE="yes"
44655 cat >>confdefs.h <<\_ACEOF
44656 #define wxUSE_TOOLBAR_NATIVE 1
44661 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS toolbar"
44664 if test "$wxUSE_TOOLTIPS" = "yes"; then
44665 if test "$wxUSE_MOTIF" = 1; then
44666 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet under Motif... disabled" >&5
44667 echo "$as_me: WARNING: wxTooltip not supported yet under Motif... disabled" >&2;}
44669 if test "$wxUSE_UNIVERSAL" = "yes"; then
44670 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&5
44671 echo "$as_me: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&2;}
44673 cat >>confdefs.h <<\_ACEOF
44674 #define wxUSE_TOOLTIPS 1
44681 if test "$wxUSE_TREEBOOK" = "yes"; then
44682 cat >>confdefs.h <<\_ACEOF
44683 #define wxUSE_TREEBOOK 1
44689 if test "$wxUSE_TOOLBOOK" = "yes"; then
44690 cat >>confdefs.h <<\_ACEOF
44691 #define wxUSE_TOOLBOOK 1
44697 if test "$wxUSE_TREECTRL" = "yes"; then
44698 if test "$wxUSE_IMAGLIST" = "yes"; then
44699 cat >>confdefs.h <<\_ACEOF
44700 #define wxUSE_TREECTRL 1
44704 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS treectrl"
44706 { echo "$as_me:$LINENO: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&5
44707 echo "$as_me: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&2;}
44711 if test "$wxUSE_POPUPWIN" = "yes"; then
44712 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 ; then
44713 { echo "$as_me:$LINENO: WARNING: Popup window not yet supported under Mac OS X... disabled" >&5
44714 echo "$as_me: WARNING: Popup window not yet supported under Mac OS X... disabled" >&2;}
44716 if test "$wxUSE_PM" = 1; then
44717 { echo "$as_me:$LINENO: WARNING: wxPopupWindow not yet supported under PM... disabled" >&5
44718 echo "$as_me: WARNING: wxPopupWindow not yet supported under PM... disabled" >&2;}
44720 cat >>confdefs.h <<\_ACEOF
44721 #define wxUSE_POPUPWIN 1
44724 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS popup"
44731 if test "$wxUSE_DIALUP_MANAGER" = "yes"; then
44732 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 -o "$wxUSE_MGL" = 1; then
44733 { echo "$as_me:$LINENO: WARNING: Dialup manager not supported on this platform... disabled" >&5
44734 echo "$as_me: WARNING: Dialup manager not supported on this platform... disabled" >&2;}
44736 cat >>confdefs.h <<\_ACEOF
44737 #define wxUSE_DIALUP_MANAGER 1
44740 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dialup"
44744 if test "$wxUSE_TIPWINDOW" = "yes"; then
44745 if test "$wxUSE_PM" = 1; then
44746 { echo "$as_me:$LINENO: WARNING: wxTipWindow not yet supported under PM... disabled" >&5
44747 echo "$as_me: WARNING: wxTipWindow not yet supported under PM... disabled" >&2;}
44749 cat >>confdefs.h <<\_ACEOF
44750 #define wxUSE_TIPWINDOW 1
44756 if test "$USES_CONTROLS" = 1; then
44757 cat >>confdefs.h <<\_ACEOF
44758 #define wxUSE_CONTROLS 1
44764 if test "$wxUSE_ACCESSIBILITY" = "yes"; then
44765 cat >>confdefs.h <<\_ACEOF
44766 #define wxUSE_ACCESSIBILITY 1
44769 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS access"
44772 if test "$wxUSE_DC_CACHEING" = "yes"; then
44773 cat >>confdefs.h <<\_ACEOF
44774 #define wxUSE_DC_CACHEING 1
44779 if test "$wxUSE_DRAGIMAGE" = "yes"; then
44780 cat >>confdefs.h <<\_ACEOF
44781 #define wxUSE_DRAGIMAGE 1
44784 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dragimag"
44787 if test "$wxUSE_EXCEPTIONS" = "yes"; then
44788 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
44789 { echo "$as_me:$LINENO: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&5
44790 echo "$as_me: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&2;}
44792 cat >>confdefs.h <<\_ACEOF
44793 #define wxUSE_EXCEPTIONS 1
44796 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS except"
44801 if test "$wxUSE_HTML" = "yes"; then
44802 cat >>confdefs.h <<\_ACEOF
44803 #define wxUSE_HTML 1
44807 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS html html/about html/help html/helpview html/printing html/test html/virtual html/widget html/zip htlbox"
44808 if test "$wxUSE_MAC" = 1; then
44809 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS html/htmlctrl"
44812 if test "$wxUSE_WEBKIT" = "yes"; then
44813 if test "$wxUSE_MAC" = 1 -a "$USE_DARWIN" = 1; then
44814 old_CPPFLAGS="$CPPFLAGS"
44815 CPPFLAGS="-x objective-c++ $CPPFLAGS"
44816 { echo "$as_me:$LINENO: checking for WebKit/HIWebView.h" >&5
44817 echo $ECHO_N "checking for WebKit/HIWebView.h... $ECHO_C" >&6; }
44818 if test "${ac_cv_header_WebKit_HIWebView_h+set}" = set; then
44819 echo $ECHO_N "(cached) $ECHO_C" >&6
44821 cat >conftest.$ac_ext <<_ACEOF
44824 cat confdefs.h >>conftest.$ac_ext
44825 cat >>conftest.$ac_ext <<_ACEOF
44826 /* end confdefs.h. */
44828 #include <Carbon/Carbon.h>
44829 #include <WebKit/WebKit.h>
44832 #include <WebKit/HIWebView.h>
44834 rm -f conftest.$ac_objext
44835 if { (ac_try="$ac_compile"
44836 case "(($ac_try" in
44837 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
44838 *) ac_try_echo
=$ac_try;;
44840 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44841 (eval "$ac_compile") 2>conftest.er1
44843 grep -v '^ *+' conftest.er1
>conftest.err
44845 cat conftest.err
>&5
44846 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44847 (exit $ac_status); } && {
44848 test -z "$ac_c_werror_flag" ||
44849 test ! -s conftest.err
44850 } && test -s conftest.
$ac_objext; then
44851 ac_cv_header_WebKit_HIWebView_h
=yes
44853 echo "$as_me: failed program was:" >&5
44854 sed 's/^/| /' conftest.
$ac_ext >&5
44856 ac_cv_header_WebKit_HIWebView_h
=no
44859 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
44861 { echo "$as_me:$LINENO: result: $ac_cv_header_WebKit_HIWebView_h" >&5
44862 echo "${ECHO_T}$ac_cv_header_WebKit_HIWebView_h" >&6; }
44863 if test $ac_cv_header_WebKit_HIWebView_h = yes; then
44865 cat >>confdefs.h
<<\_ACEOF
44866 #define wxUSE_WEBKIT 1
44869 WEBKIT_LINK
="-framework WebKit"
44873 { echo "$as_me:$LINENO: WARNING: WebKit headers not found; disabling wxWebKit" >&5
44874 echo "$as_me: WARNING: WebKit headers not found; disabling wxWebKit" >&2;}
44880 CPPFLAGS
="$old_CPPFLAGS"
44881 elif test "$wxUSE_COCOA" = 1; then
44882 cat >>confdefs.h
<<\_ACEOF
44883 #define wxUSE_WEBKIT 1
44892 if test "$wxUSE_XRC" = "yes"; then
44893 if test "$wxUSE_XML" != "yes"; then
44894 { echo "$as_me:$LINENO: WARNING: XML library not built, XRC resources disabled" >&5
44895 echo "$as_me: WARNING: XML library not built, XRC resources disabled" >&2;}
44898 cat >>confdefs.h
<<\_ACEOF
44899 #define wxUSE_XRC 1
44903 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS xrc"
44908 if test "$wxUSE_AUI" = "yes"; then
44909 cat >>confdefs.h
<<\_ACEOF
44910 #define wxUSE_AUI 1
44914 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS aui"
44918 if test "$wxUSE_STC" = "yes"; then
44919 cat >>confdefs.h
<<\_ACEOF
44920 #define wxUSE_STC 1
44924 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS stc"
44927 if test "$wxUSE_MENUS" = "yes"; then
44928 cat >>confdefs.h
<<\_ACEOF
44929 #define wxUSE_MENUS 1
44932 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS menu"
44935 if test "$wxUSE_METAFILE" = "yes"; then
44936 cat >>confdefs.h
<<\_ACEOF
44937 #define wxUSE_METAFILE 1
44942 if test "$wxUSE_MIMETYPE" = "yes"; then
44943 cat >>confdefs.h
<<\_ACEOF
44944 #define wxUSE_MIMETYPE 1
44949 if test "$wxUSE_MINIFRAME" = "yes"; then
44950 cat >>confdefs.h
<<\_ACEOF
44951 #define wxUSE_MINIFRAME 1
44954 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS minifram"
44957 if test "$wxUSE_SYSTEM_OPTIONS" = "yes"; then
44958 cat >>confdefs.h
<<\_ACEOF
44959 #define wxUSE_SYSTEM_OPTIONS 1
44962 if test "$TOOLKIT" = "MSW" -o "$TOOLKIT" = "GTK" -o "$TOOLKIT" = "X11" -o \
44963 "$TOOLKIT" = "MOTIF" -o "$TOOLKIT" = "COCOA"; then
44964 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS taskbar"
44969 if test "$wxUSE_VALIDATORS" = "yes"; then
44970 cat >>confdefs.h
<<\_ACEOF
44971 #define wxUSE_VALIDATORS 1
44974 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS validate"
44977 if test "$wxUSE_PALETTE" = "yes" ; then
44978 if test "$wxUSE_DFB" = 1; then
44979 { echo "$as_me:$LINENO: WARNING: wxPalette not yet supported under DFB... disabled" >&5
44980 echo "$as_me: WARNING: wxPalette not yet supported under DFB... disabled" >&2;}
44983 cat >>confdefs.h
<<\_ACEOF
44984 #define wxUSE_PALETTE 1
44990 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_MSLU" = "yes" ; then
44991 LIBS
=" -lunicows $LIBS"
44995 if test "$wxUSE_RICHTEXT" = "yes"; then
44996 cat >>confdefs.h
<<\_ACEOF
44997 #define wxUSE_RICHTEXT 1
45001 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS richtext"
45005 if test "$wxUSE_IMAGE" = "yes" ; then
45006 cat >>confdefs.h
<<\_ACEOF
45007 #define wxUSE_IMAGE 1
45011 if test "$wxUSE_GIF" = "yes" ; then
45012 cat >>confdefs.h
<<\_ACEOF
45013 #define wxUSE_GIF 1
45018 if test "$wxUSE_PCX" = "yes" ; then
45019 cat >>confdefs.h
<<\_ACEOF
45020 #define wxUSE_PCX 1
45025 if test "$wxUSE_TGA" = "yes" ; then
45026 cat >>confdefs.h
<<\_ACEOF
45027 #define wxUSE_TGA 1
45032 if test "$wxUSE_IFF" = "yes" ; then
45033 cat >>confdefs.h
<<\_ACEOF
45034 #define wxUSE_IFF 1
45039 if test "$wxUSE_PNM" = "yes" ; then
45040 cat >>confdefs.h
<<\_ACEOF
45041 #define wxUSE_PNM 1
45046 if test "$wxUSE_XPM" = "yes" ; then
45047 cat >>confdefs.h
<<\_ACEOF
45048 #define wxUSE_XPM 1
45053 if test "$wxUSE_ICO_CUR" = "yes" ; then
45054 cat >>confdefs.h
<<\_ACEOF
45055 #define wxUSE_ICO_CUR 1
45062 if test "$wxUSE_ABOUTDLG" = "yes"; then
45063 cat >>confdefs.h
<<\_ACEOF
45064 #define wxUSE_ABOUTDLG 1
45069 if test "$wxUSE_CHOICEDLG" = "yes"; then
45070 cat >>confdefs.h
<<\_ACEOF
45071 #define wxUSE_CHOICEDLG 1
45076 if test "$wxUSE_COLOURDLG" = "yes"; then
45077 cat >>confdefs.h
<<\_ACEOF
45078 #define wxUSE_COLOURDLG 1
45083 if test "$wxUSE_FILEDLG" = "yes"; then
45084 cat >>confdefs.h
<<\_ACEOF
45085 #define wxUSE_FILEDLG 1
45090 if test "$wxUSE_FINDREPLDLG" = "yes"; then
45091 cat >>confdefs.h
<<\_ACEOF
45092 #define wxUSE_FINDREPLDLG 1
45097 if test "$wxUSE_FONTDLG" = "yes"; then
45098 cat >>confdefs.h
<<\_ACEOF
45099 #define wxUSE_FONTDLG 1
45104 if test "$wxUSE_DIRDLG" = "yes"; then
45105 if test "$wxUSE_TREECTRL" != "yes"; then
45106 { echo "$as_me:$LINENO: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&5
45107 echo "$as_me: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&2;}
45109 cat >>confdefs.h
<<\_ACEOF
45110 #define wxUSE_DIRDLG 1
45116 if test "$wxUSE_MSGDLG" = "yes"; then
45117 cat >>confdefs.h
<<\_ACEOF
45118 #define wxUSE_MSGDLG 1
45123 if test "$wxUSE_NUMBERDLG" = "yes"; then
45124 cat >>confdefs.h
<<\_ACEOF
45125 #define wxUSE_NUMBERDLG 1
45130 if test "$wxUSE_PROGRESSDLG" = "yes"; then
45131 if test "$wxUSE_CONSTRAINTS" != "yes"; then
45132 { echo "$as_me:$LINENO: WARNING: wxProgressDialog requires constraints so it won't be compiled without them" >&5
45133 echo "$as_me: WARNING: wxProgressDialog requires constraints so it won't be compiled without them" >&2;}
45135 cat >>confdefs.h
<<\_ACEOF
45136 #define wxUSE_PROGRESSDLG 1
45142 if test "$wxUSE_SPLASH" = "yes"; then
45143 cat >>confdefs.h
<<\_ACEOF
45144 #define wxUSE_SPLASH 1
45147 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS splash"
45150 if test "$wxUSE_STARTUP_TIPS" = "yes"; then
45151 if test "$wxUSE_CONSTRAINTS" != "yes"; then
45152 { echo "$as_me:$LINENO: WARNING: Startup tips requires constraints and won't be compiled without them" >&5
45153 echo "$as_me: WARNING: Startup tips requires constraints and won't be compiled without them" >&2;}
45155 cat >>confdefs.h
<<\_ACEOF
45156 #define wxUSE_STARTUP_TIPS 1
45162 if test "$wxUSE_TEXTDLG" = "yes"; then
45163 cat >>confdefs.h
<<\_ACEOF
45164 #define wxUSE_TEXTDLG 1
45169 if test "$wxUSE_WIZARDDLG" = "yes"; then
45170 cat >>confdefs.h
<<\_ACEOF
45171 #define wxUSE_WIZARDDLG 1
45174 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS wizard"
45178 if test "$wxUSE_GRAPHICS_CONTEXT" = "yes"; then
45179 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = "1"; then
45180 cat >>confdefs.h
<<\_ACEOF
45181 #define wxUSE_GRAPHICS_CONTEXT 1
45184 elif test "$wxUSE_GTK" != 1; then
45185 cat >>confdefs.h
<<\_ACEOF
45186 #define wxUSE_GRAPHICS_CONTEXT 1
45192 { echo "$as_me:$LINENO: checking for CAIRO" >&5
45193 echo $ECHO_N "checking for CAIRO... $ECHO_C" >&6; }
45195 if test -n "$PKG_CONFIG"; then
45196 if test -n "$CAIRO_CFLAGS"; then
45197 pkg_cv_CAIRO_CFLAGS
="$CAIRO_CFLAGS"
45199 if test -n "$PKG_CONFIG" && \
45200 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"cairo\"") >&5
45201 ($PKG_CONFIG --exists --print-errors "cairo") 2>&5
45203 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45204 (exit $ac_status); }; then
45205 pkg_cv_CAIRO_CFLAGS
=`$PKG_CONFIG --cflags "cairo" 2>/dev/null`
45213 if test -n "$PKG_CONFIG"; then
45214 if test -n "$CAIRO_LIBS"; then
45215 pkg_cv_CAIRO_LIBS
="$CAIRO_LIBS"
45217 if test -n "$PKG_CONFIG" && \
45218 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"cairo\"") >&5
45219 ($PKG_CONFIG --exists --print-errors "cairo") 2>&5
45221 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45222 (exit $ac_status); }; then
45223 pkg_cv_CAIRO_LIBS
=`$PKG_CONFIG --libs "cairo" 2>/dev/null`
45234 if test $pkg_failed = yes; then
45236 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
45237 _pkg_short_errors_supported
=yes
45239 _pkg_short_errors_supported
=no
45241 if test $_pkg_short_errors_supported = yes; then
45242 CAIRO_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "cairo"`
45244 CAIRO_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "cairo"`
45246 # Put the nasty error message in config.log where it belongs
45247 echo "$CAIRO_PKG_ERRORS" >&5
45249 { echo "$as_me:$LINENO: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&5
45250 echo "$as_me: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&2;}
45252 elif test $pkg_failed = untried
; then
45253 { echo "$as_me:$LINENO: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&5
45254 echo "$as_me: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&2;}
45257 CAIRO_CFLAGS
=$pkg_cv_CAIRO_CFLAGS
45258 CAIRO_LIBS
=$pkg_cv_CAIRO_LIBS
45259 { echo "$as_me:$LINENO: result: yes" >&5
45260 echo "${ECHO_T}yes" >&6; }
45261 cat >>confdefs.h
<<\_ACEOF
45262 #define wxUSE_GRAPHICS_CONTEXT 1
45272 if test "$wxUSE_MEDIACTRL" = "yes"; then
45275 if test "$wxUSE_GTK" = 1; then
45276 wxUSE_GSTREAMER
="no"
45278 GST_VERSION_MAJOR
=0
45279 GST_VERSION_MINOR
=10
45280 GST_VERSION
=$GST_VERSION_MAJOR.
$GST_VERSION_MINOR
45282 if test "$wxUSE_GSTREAMER8" = "no"; then
45285 { echo "$as_me:$LINENO: checking for GST" >&5
45286 echo $ECHO_N "checking for GST... $ECHO_C" >&6; }
45288 if test -n "$PKG_CONFIG"; then
45289 if test -n "$GST_CFLAGS"; then
45290 pkg_cv_GST_CFLAGS
="$GST_CFLAGS"
45292 if test -n "$PKG_CONFIG" && \
45293 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-plugins-base-\$GST_VERSION gconf-2.0\"") >&5
45294 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0") 2>&5
45296 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45297 (exit $ac_status); }; then
45298 pkg_cv_GST_CFLAGS
=`$PKG_CONFIG --cflags "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0" 2>/dev/null`
45306 if test -n "$PKG_CONFIG"; then
45307 if test -n "$GST_LIBS"; then
45308 pkg_cv_GST_LIBS
="$GST_LIBS"
45310 if test -n "$PKG_CONFIG" && \
45311 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-plugins-base-\$GST_VERSION gconf-2.0\"") >&5
45312 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0") 2>&5
45314 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45315 (exit $ac_status); }; then
45316 pkg_cv_GST_LIBS
=`$PKG_CONFIG --libs "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0" 2>/dev/null`
45327 if test $pkg_failed = yes; then
45329 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
45330 _pkg_short_errors_supported
=yes
45332 _pkg_short_errors_supported
=no
45334 if test $_pkg_short_errors_supported = yes; then
45335 GST_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0"`
45337 GST_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0"`
45339 # Put the nasty error message in config.log where it belongs
45340 echo "$GST_PKG_ERRORS" >&5
45343 { echo "$as_me:$LINENO: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&5
45344 echo "$as_me: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&2;}
45345 GST_VERSION_MINOR
=8
45348 elif test $pkg_failed = untried
; then
45350 { echo "$as_me:$LINENO: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&5
45351 echo "$as_me: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&2;}
45352 GST_VERSION_MINOR
=8
45356 GST_CFLAGS
=$pkg_cv_GST_CFLAGS
45357 GST_LIBS
=$pkg_cv_GST_LIBS
45358 { echo "$as_me:$LINENO: result: yes" >&5
45359 echo "${ECHO_T}yes" >&6; }
45361 wxUSE_GSTREAMER
="yes"
45362 GST_LIBS
="$GST_LIBS -lgstinterfaces-$GST_VERSION"
45366 GST_VERSION_MINOR
=8
45369 if test $GST_VERSION_MINOR = "8"; then
45370 GST_VERSION
=$GST_VERSION_MAJOR.
$GST_VERSION_MINOR
45373 { echo "$as_me:$LINENO: checking for GST" >&5
45374 echo $ECHO_N "checking for GST... $ECHO_C" >&6; }
45376 if test -n "$PKG_CONFIG"; then
45377 if test -n "$GST_CFLAGS"; then
45378 pkg_cv_GST_CFLAGS
="$GST_CFLAGS"
45380 if test -n "$PKG_CONFIG" && \
45381 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-interfaces-\$GST_VERSION gstreamer-gconf-\$GST_VERSION\"") >&5
45382 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION") 2>&5
45384 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45385 (exit $ac_status); }; then
45386 pkg_cv_GST_CFLAGS
=`$PKG_CONFIG --cflags "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION" 2>/dev/null`
45394 if test -n "$PKG_CONFIG"; then
45395 if test -n "$GST_LIBS"; then
45396 pkg_cv_GST_LIBS
="$GST_LIBS"
45398 if test -n "$PKG_CONFIG" && \
45399 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-interfaces-\$GST_VERSION gstreamer-gconf-\$GST_VERSION\"") >&5
45400 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION") 2>&5
45402 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45403 (exit $ac_status); }; then
45404 pkg_cv_GST_LIBS
=`$PKG_CONFIG --libs "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION" 2>/dev/null`
45415 if test $pkg_failed = yes; then
45417 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
45418 _pkg_short_errors_supported
=yes
45420 _pkg_short_errors_supported
=no
45422 if test $_pkg_short_errors_supported = yes; then
45423 GST_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION"`
45425 GST_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION"`
45427 # Put the nasty error message in config.log where it belongs
45428 echo "$GST_PKG_ERRORS" >&5
45431 { echo "$as_me:$LINENO: WARNING: GStreamer 0.8/0.10 not available." >&5
45432 echo "$as_me: WARNING: GStreamer 0.8/0.10 not available." >&2;}
45434 elif test $pkg_failed = untried
; then
45436 { echo "$as_me:$LINENO: WARNING: GStreamer 0.8/0.10 not available." >&5
45437 echo "$as_me: WARNING: GStreamer 0.8/0.10 not available." >&2;}
45440 GST_CFLAGS
=$pkg_cv_GST_CFLAGS
45441 GST_LIBS
=$pkg_cv_GST_LIBS
45442 { echo "$as_me:$LINENO: result: yes" >&5
45443 echo "${ECHO_T}yes" >&6; }
45444 wxUSE_GSTREAMER
="yes"
45449 if test "$wxUSE_GSTREAMER" = "yes"; then
45452 if "$GCC" = yes; then
45453 GST_CFLAGS
=`echo $GST_CFLAGS | sed 's/-mt//'`
45454 GST_LIBS
=`echo $GST_LIBS | sed 's/-mt//'`
45458 CPPFLAGS
="$GST_CFLAGS $CPPFLAGS"
45459 LIBS
="$GST_LIBS $LIBS"
45461 cat >>confdefs.h
<<\_ACEOF
45462 #define wxUSE_GSTREAMER 1
45470 if test $USE_MEDIA = 1; then
45471 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS mediaplayer"
45472 cat >>confdefs.h
<<\_ACEOF
45473 #define wxUSE_MEDIACTRL 1
45480 if test "$cross_compiling" = "yes"; then
45483 OSINFO
=`uname -s -r -m`
45484 OSINFO
="\"$OSINFO\""
45487 cat >>confdefs.h
<<_ACEOF
45488 #define WXWIN_OS_DESCRIPTION $OSINFO
45493 if test "x$prefix" != "xNONE"; then
45496 wxPREFIX
=$ac_default_prefix
45499 cat >>confdefs.h
<<_ACEOF
45500 #define wxINSTALL_PREFIX "$wxPREFIX"
45506 CORE_BASE_LIBS
="net base"
45507 CORE_GUI_LIBS
="adv core"
45509 if test "$wxUSE_XML" = "yes" ; then
45510 CORE_BASE_LIBS
="xml $CORE_BASE_LIBS"
45512 if test "$wxUSE_ODBC" != "no" ; then
45513 CORE_BASE_LIBS
="odbc $CORE_BASE_LIBS"
45514 CORE_GUI_LIBS
="dbgrid $CORE_GUI_LIBS"
45516 if test "$wxUSE_HTML" = "yes" ; then
45517 CORE_GUI_LIBS
="html $CORE_GUI_LIBS"
45519 if test "$wxUSE_DEBUGREPORT" = "yes" ; then
45520 CORE_GUI_LIBS
="qa $CORE_GUI_LIBS"
45522 if test "$wxUSE_XRC" = "yes" ; then
45523 CORE_GUI_LIBS
="xrc $CORE_GUI_LIBS"
45525 if test "$wxUSE_AUI" = "yes" ; then
45526 CORE_GUI_LIBS
="aui $CORE_GUI_LIBS"
45528 if test "$wxUSE_STC" = "yes" ; then
45529 CORE_GUI_LIBS
="stc $CORE_GUI_LIBS"
45532 if test "$wxUSE_GUI" != "yes"; then
45541 if test "$wxUSE_MAC" = 1 ; then
45542 if test "$wxUSE_SOUND" = "yes" || test "$wxUSE_MEDIACTRL" = "yes"; then
45543 if test "$USE_DARWIN" = 1; then
45544 LDFLAGS
="$LDFLAGS -framework QuickTime"
45546 LDFLAGS
="$LDFLAGS -lQuickTimeLib"
45549 if test "$USE_DARWIN" = 1; then
45550 LDFLAGS
="$LDFLAGS -framework IOKit -framework Carbon -framework Cocoa -framework System"
45552 LDFLAGS
="$LDFLAGS -lCarbonLib"
45555 if test "$wxUSE_COCOA" = 1 ; then
45556 LDFLAGS
="$LDFLAGS -framework IOKit -framework Cocoa"
45557 if test "$wxUSE_MEDIACTRL" = "yes"; then
45558 LDFLAGS
="$LDFLAGS -framework QuickTime"
45561 if test "$USE_DARWIN" = 1 -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1 ; then
45562 LDFLAGS
="$LDFLAGS -framework IOKit -framework CoreServices -framework System -framework ApplicationServices"
45565 LIBS
="$ZLIB_LINK $POSIX4_LINK $INET_LINK $WCHAR_LINK $DL_LINK $LIBS"
45567 if test "$wxUSE_GUI" = "yes"; then
45570 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS artprov controls dialogs drawing \
45571 dynamic erase event exec font image minimal mobile \
45572 mobile/wxedit mobile/styles propsize render \
45573 rotate shaped svg taborder vscroll widgets"
45575 if test "$wxUSE_MONOLITHIC" != "yes"; then
45576 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS console"
45578 if test "$TOOLKIT" = "MSW"; then
45579 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS regtest"
45580 if test "$wxUSE_UNIVERSAL" != "yes"; then
45581 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS ownerdrw nativdlg"
45584 if test "$TOOLKIT" = "PM" -a "$wxUSE_UNIVERSAL" != "yes"; then
45585 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS ownerdrw"
45588 SAMPLES_SUBDIRS
="console"
45592 if test "x$INTELCC" = "xyes" ; then
45593 CWARNINGS
="-Wall -wd810,869,981,1418,1572,1684"
45594 elif test "$GCC" = yes ; then
45595 CWARNINGS
="-Wall -Wundef"
45598 if test "x$INTELCXX" = "xyes" ; then
45599 CXXWARNINGS
="-Wall -wd279,383,444,810,869,981,1418,1419"
45600 elif test "$GXX" = yes ; then
45601 CXXWARNINGS
="-Wall -Wundef -Wno-ctor-dtor-privacy"
45605 WXCONFIG_CFLAGS
=`echo $WXCONFIG_CFLAGS`
45606 WXCONFIG_CXXFLAGS
=`echo $WXCONFIG_CFLAGS $WXCONFIG_CXXFLAGS`
45609 CPPFLAGS
=`echo $WXCONFIG_CPPFLAGS \
45610 -I\\${wx_top_builddir}/lib/wx/include/${TOOLCHAIN_FULLNAME} \
45611 -I\\${top_srcdir}/include $TOOLKIT_INCLUDE \
45614 C_AND_CXX_FLAGS
="$DEBUG_CFLAGS $PROFILE_FLAGS $OPTIMISE_CFLAGS"
45615 CFLAGS
=`echo $WXCONFIG_CFLAGS $CWARNINGS $C_AND_CXX_FLAGS $CFLAGS `
45616 CXXFLAGS
=`echo $WXCONFIG_CXXFLAGS $C_AND_CXX_FLAGS $CXXFLAGS `
45618 WXCONFIG_CPPFLAGS
=`echo $WXCONFIG_CPPFLAGS $WXCONFIG_ONLY_CPPFLAGS`
45621 if test "x$MWCC" = "xyes"; then
45623 CC
="$CC -cwd source -I-"
45624 CXX
="$CXX -cwd source -I-"
45629 EXTRALIBS
="$LDFLAGS $LDFLAGS_VERSIONING $LIBS $DMALLOC_LIBS"
45630 EXTRALIBS_XML
="$EXPAT_LINK"
45631 EXTRALIBS_HTML
="$MSPACK_LINK"
45632 EXTRALIBS_ODBC
="$ODBC_LINK"
45633 EXTRALIBS_STC
="-lwxscintilla${lib_debug_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX}"
45634 if test "$wxUSE_GUI" = "yes"; then
45635 EXTRALIBS_GUI
=`echo $GUI_TK_LIBRARY $PNG_LINK $JPEG_LINK $TIFF_LINK $WEBKIT_LINK $EXTRALIBS_HILDON $EXTRALIBS_GNOMEVFS $EXTRALIBS_GNOMEPRINT`
45637 if test "$wxUSE_OPENGL" = "yes"; then
45638 EXTRALIBS_OPENGL
="$LDFLAGS_GL $OPENGL_LIBS"
45641 LDFLAGS
="$LDFLAGS $PROFILE_FLAGS"
45643 WXCONFIG_LIBS
="$LIBS"
45645 if test "$wxUSE_REGEX" = "builtin" ; then
45646 wxconfig_3rdparty
="regex${lib_unicode_suffix} $wxconfig_3rdparty"
45648 if test "$wxUSE_EXPAT" = "builtin" ; then
45649 wxconfig_3rdparty
="expat $wxconfig_3rdparty"
45651 if test "$wxUSE_ODBC" = "builtin" ; then
45652 wxconfig_3rdparty
="odbc $wxconfig_3rdparty"
45654 if test "$wxUSE_LIBTIFF" = "builtin" ; then
45655 wxconfig_3rdparty
="tiff $wxconfig_3rdparty"
45657 if test "$wxUSE_LIBJPEG" = "builtin" ; then
45658 wxconfig_3rdparty
="jpeg $wxconfig_3rdparty"
45660 if test "$wxUSE_LIBPNG" = "builtin" ; then
45661 wxconfig_3rdparty
="png $wxconfig_3rdparty"
45663 if test "$wxUSE_ZLIB" = "builtin" ; then
45664 wxconfig_3rdparty
="zlib $wxconfig_3rdparty"
45667 for i
in $wxconfig_3rdparty ; do
45668 WXCONFIG_LIBS
="-lwx${i}${lib_debug_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX} $WXCONFIG_LIBS"
45672 if test "x$wxUSE_UNIVERSAL" = "xyes" ; then
45675 case "$wxUNIV_THEMES" in
45677 cat >>confdefs.h
<<\_ACEOF
45678 #define wxUSE_ALL_THEMES 1
45684 for t
in `echo $wxUNIV_THEMES | tr , ' ' | tr a-z A-Z`; do
45685 cat >>confdefs.h
<<_ACEOF
45686 #define wxUSE_THEME_$t 1
45703 if test $wxUSE_MONOLITHIC = "yes" ; then
45709 if test $wxUSE_PLUGINS = "yes" ; then
45715 if test $wxUSE_ODBC != "no" ; then
45721 if test "$wxUSE_DEBUGREPORT" = "yes" ; then
45727 if test $wxUSE_OFFICIAL_BUILD = "yes" ; then
45758 TOOLKIT_LOWERCASE
=`echo $TOOLKIT | tr "[A-Z]" "[a-z]"`
45769 TOOLKIT_DESC
="GTK+"
45770 if test "$WXGTK20" = 1; then
45771 TOOLKIT_DESC
="$TOOLKIT_DESC 2"
45772 if test "$wxUSE_LIBGNOMEPRINT" = "yes" ; then
45773 TOOLKIT_EXTRA
="$TOOLKIT_EXTRA gnomeprint";
45775 if test "$wxUSE_LIBGNOMEVFS" = "yes" ; then
45776 TOOLKIT_EXTRA
="$TOOLKIT_EXTRA gnomevfs"
45778 if test "$wxUSE_LIBHILDON" = "yes"; then
45779 TOOLKIT_EXTRA
="$TOOLKIT_EXTRA hildon"
45782 if test "$TOOLKIT_EXTRA" != ""; then
45783 TOOLKIT_DESC
="$TOOLKIT_DESC with support for `echo $TOOLKIT_EXTRA | tr -s ' '`"
45789 TOOLKIT_DESC
=$TOOLKIT_LOWERCASE
45793 TOOLKIT_DESC
="base only"
45797 if test "$wxUSE_WINE" = "yes"; then
45798 BAKEFILE_FORCE_PLATFORM
=win32
45801 if test "$wxUSE_MAC" = 1 ; then
45802 if test "x$wxUSE_UNIVERSAL_BINARY" != xno
; then
45803 if test "x$wxUSE_UNIVERSAL_BINARY" == xyes
; then
45804 OSX_UNIV_OPTS
="-isysroot /Developer/SDKs/MacOSX10.4u.sdk"
45806 OSX_UNIV_OPTS
=${wxUSE_UNIVERSAL_BINARY:+"-isysroot '$wxUSE_UNIVERSAL_BINARY'"}
45808 OSX_UNIV_OPTS
="$OSX_UNIV_OPTS -arch ppc -arch i386"
45809 CXXFLAGS
="$OSX_UNIV_OPTS $CXXFLAGS"
45810 CFLAGS
="$OSX_UNIV_OPTS $CFLAGS"
45811 LDFLAGS
="$OSX_UNIV_OPTS $LDFLAGS"
45814 # TODO: where do we add "-syslibroot,/Developer/SDKs/MacOSX10.4u.sdk" for libtool (static builds only)?
45815 # The makefile currently uses AR and RANLIB, which libtool apparently supercedes.
45818 if test "$wxUSE_UNICODE" = yes -a "$GCC" = yes -a "$bk_use_pch" != no
45820 { echo "$as_me:$LINENO: checking for gcc precompiled header bug" >&5
45821 echo $ECHO_N "checking for gcc precompiled header bug... $ECHO_C" >&6; }
45822 if test "${wx_cv_gcc_pch_bug+set}" = set; then
45823 echo $ECHO_N "(cached) $ECHO_C" >&6
45826 echo '#include <stdio.h>
45827 const wchar_t test_var[] = L"awidetest";' > conftest.h
45829 echo '#include "conftest.h"
45832 printf("%ls", test_var);
45836 wx_cv_gcc_pch_bug
="pch not supported"
45838 if $CXX conftest.h
>/dev
/null
2>&1
45842 if $CXX -o conftest
$PROGRAM_EXT conftest.cpp
>/dev
/null
2>&1
45844 if tr -dc '[a-z]' < conftest
$PROGRAM_EXT |
45845 grep awidetest
>/dev
/null
45847 wx_cv_gcc_pch_bug
=no
45849 wx_cv_gcc_pch_bug
=yes
45854 rm -f conftest.h conftest.gch conftest.cpp conftest
$PROGRAM_EXT
45857 { echo "$as_me:$LINENO: result: $wx_cv_gcc_pch_bug" >&5
45858 echo "${ECHO_T}$wx_cv_gcc_pch_bug" >&6; }
45860 if test "$wx_cv_gcc_pch_bug" = yes; then
45868 if test "x$BAKEFILE_HOST" = "x"; then
45869 if test "x${host}" = "x" ; then
45870 { { echo "$as_me:$LINENO: error: You must call the autoconf \"CANONICAL_HOST\" macro in your configure.ac (or .in) file." >&5
45871 echo "$as_me: error: You must call the autoconf \"CANONICAL_HOST\" macro in your configure.ac (or .in) file." >&2;}
45872 { (exit 1); exit 1; }; }
45875 BAKEFILE_HOST
="${host}"
45878 if test "x$BAKEFILE_CHECK_BASICS" != "xno"; then
45880 if test -n "$ac_tool_prefix"; then
45881 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
45882 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
45883 { echo "$as_me:$LINENO: checking for $ac_word" >&5
45884 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
45885 if test "${ac_cv_prog_RANLIB+set}" = set; then
45886 echo $ECHO_N "(cached) $ECHO_C" >&6
45888 if test -n "$RANLIB"; then
45889 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
45891 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
45892 for as_dir
in $PATH
45895 test -z "$as_dir" && as_dir
=.
45896 for ac_exec_ext
in '' $ac_executable_extensions; do
45897 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
45898 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
45899 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
45908 RANLIB
=$ac_cv_prog_RANLIB
45909 if test -n "$RANLIB"; then
45910 { echo "$as_me:$LINENO: result: $RANLIB" >&5
45911 echo "${ECHO_T}$RANLIB" >&6; }
45913 { echo "$as_me:$LINENO: result: no" >&5
45914 echo "${ECHO_T}no" >&6; }
45919 if test -z "$ac_cv_prog_RANLIB"; then
45920 ac_ct_RANLIB
=$RANLIB
45921 # Extract the first word of "ranlib", so it can be a program name with args.
45922 set dummy ranlib
; ac_word
=$2
45923 { echo "$as_me:$LINENO: checking for $ac_word" >&5
45924 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
45925 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
45926 echo $ECHO_N "(cached) $ECHO_C" >&6
45928 if test -n "$ac_ct_RANLIB"; then
45929 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
45931 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
45932 for as_dir
in $PATH
45935 test -z "$as_dir" && as_dir
=.
45936 for ac_exec_ext
in '' $ac_executable_extensions; do
45937 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
45938 ac_cv_prog_ac_ct_RANLIB
="ranlib"
45939 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
45948 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
45949 if test -n "$ac_ct_RANLIB"; then
45950 { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
45951 echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
45953 { echo "$as_me:$LINENO: result: no" >&5
45954 echo "${ECHO_T}no" >&6; }
45957 if test "x$ac_ct_RANLIB" = x
; then
45960 case $cross_compiling:$ac_tool_warned in
45962 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
45963 whose name does not start with the host triplet. If you think this
45964 configuration is useful to you, please write to autoconf@gnu.org." >&5
45965 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
45966 whose name does not start with the host triplet. If you think this
45967 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
45968 ac_tool_warned
=yes ;;
45970 RANLIB
=$ac_ct_RANLIB
45973 RANLIB
="$ac_cv_prog_RANLIB"
45976 # Find a good install program. We prefer a C program (faster),
45977 # so one script is as good as another. But avoid the broken or
45978 # incompatible versions:
45979 # SysV /etc/install, /usr/sbin/install
45980 # SunOS /usr/etc/install
45981 # IRIX /sbin/install
45983 # AmigaOS /C/install, which installs bootblocks on floppy discs
45984 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
45985 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
45986 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
45987 # OS/2's system install, which has a completely different semantic
45988 # ./install, which can be erroneously created by make from ./install.sh.
45989 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
45990 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
45991 if test -z "$INSTALL"; then
45992 if test "${ac_cv_path_install+set}" = set; then
45993 echo $ECHO_N "(cached) $ECHO_C" >&6
45995 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
45996 for as_dir
in $PATH
45999 test -z "$as_dir" && as_dir
=.
46000 # Account for people who put trailing slashes in PATH elements.
46002 .
/ | .
// | /cC
/* | \
46003 /etc
/* | /usr
/sbin
/* | /usr
/etc
/* | /sbin
/* | /usr
/afsws
/bin
/* | \
46004 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
46007 # OSF1 and SCO ODT 3.0 have their own names for install.
46008 # Don't use installbsd from OSF since it installs stuff as root
46010 for ac_prog
in ginstall scoinst
install; do
46011 for ac_exec_ext
in '' $ac_executable_extensions; do
46012 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
46013 if test $ac_prog = install &&
46014 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
46015 # AIX install. It has an incompatible calling convention.
46017 elif test $ac_prog = install &&
46018 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
46019 # program-specific install script used by HP pwplus--don't use.
46022 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
46035 if test "${ac_cv_path_install+set}" = set; then
46036 INSTALL
=$ac_cv_path_install
46038 # As a last resort, use the slow shell script. Don't cache a
46039 # value for INSTALL within a source directory, because that will
46040 # break other packages using the cache if that directory is
46041 # removed, or if the value is a relative name.
46042 INSTALL
=$ac_install_sh
46045 { echo "$as_me:$LINENO: result: $INSTALL" >&5
46046 echo "${ECHO_T}$INSTALL" >&6; }
46048 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
46049 # It thinks the first close brace ends the variable substitution.
46050 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
46052 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
46054 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
46056 { echo "$as_me:$LINENO: checking whether ln -s works" >&5
46057 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; }
46059 if test "$LN_S" = "ln -s"; then
46060 { echo "$as_me:$LINENO: result: yes" >&5
46061 echo "${ECHO_T}yes" >&6; }
46063 { echo "$as_me:$LINENO: result: no, using $LN_S" >&5
46064 echo "${ECHO_T}no, using $LN_S" >&6; }
46068 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
46069 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
46070 set x
${MAKE-make}; ac_make
=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
46071 if { as_var
=ac_cv_prog_make_
${ac_make}_set
; eval "test \"\${$as_var+set}\" = set"; }; then
46072 echo $ECHO_N "(cached) $ECHO_C" >&6
46074 cat >conftest.
make <<\_ACEOF
46077 @
echo '@@@%%%=$(MAKE)=@@@%%%'
46079 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
46080 case `${MAKE-make} -f conftest.make 2>/dev/null` in
46081 *@@@
%%%=?
*=@@@
%%%*)
46082 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
46084 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
46086 rm -f conftest.
make
46088 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
46089 { echo "$as_me:$LINENO: result: yes" >&5
46090 echo "${ECHO_T}yes" >&6; }
46093 { echo "$as_me:$LINENO: result: no" >&5
46094 echo "${ECHO_T}no" >&6; }
46095 SET_MAKE
="MAKE=${MAKE-make}"
46100 if test "x$SUNCXX" = "xyes"; then
46102 AROPTIONS
="-xar -o"
46104 elif test "x$SGICC" = "xyes"; then
46109 if test -n "$ac_tool_prefix"; then
46110 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
46111 set dummy
${ac_tool_prefix}ar; ac_word
=$2
46112 { echo "$as_me:$LINENO: checking for $ac_word" >&5
46113 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
46114 if test "${ac_cv_prog_AR+set}" = set; then
46115 echo $ECHO_N "(cached) $ECHO_C" >&6
46117 if test -n "$AR"; then
46118 ac_cv_prog_AR
="$AR" # Let the user override the test.
46120 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
46121 for as_dir
in $PATH
46124 test -z "$as_dir" && as_dir
=.
46125 for ac_exec_ext
in '' $ac_executable_extensions; do
46126 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
46127 ac_cv_prog_AR
="${ac_tool_prefix}ar"
46128 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
46138 if test -n "$AR"; then
46139 { echo "$as_me:$LINENO: result: $AR" >&5
46140 echo "${ECHO_T}$AR" >&6; }
46142 { echo "$as_me:$LINENO: result: no" >&5
46143 echo "${ECHO_T}no" >&6; }
46148 if test -z "$ac_cv_prog_AR"; then
46150 # Extract the first word of "ar", so it can be a program name with args.
46151 set dummy
ar; ac_word
=$2
46152 { echo "$as_me:$LINENO: checking for $ac_word" >&5
46153 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
46154 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
46155 echo $ECHO_N "(cached) $ECHO_C" >&6
46157 if test -n "$ac_ct_AR"; then
46158 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
46160 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
46161 for as_dir
in $PATH
46164 test -z "$as_dir" && as_dir
=.
46165 for ac_exec_ext
in '' $ac_executable_extensions; do
46166 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
46167 ac_cv_prog_ac_ct_AR
="ar"
46168 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
46177 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
46178 if test -n "$ac_ct_AR"; then
46179 { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
46180 echo "${ECHO_T}$ac_ct_AR" >&6; }
46182 { echo "$as_me:$LINENO: result: no" >&5
46183 echo "${ECHO_T}no" >&6; }
46186 if test "x$ac_ct_AR" = x
; then
46189 case $cross_compiling:$ac_tool_warned in
46191 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
46192 whose name does not start with the host triplet. If you think this
46193 configuration is useful to you, please write to autoconf@gnu.org." >&5
46194 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
46195 whose name does not start with the host triplet. If you think this
46196 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
46197 ac_tool_warned
=yes ;;
46202 AR
="$ac_cv_prog_AR"
46209 if test -n "$ac_tool_prefix"; then
46210 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
46211 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
46212 { echo "$as_me:$LINENO: checking for $ac_word" >&5
46213 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
46214 if test "${ac_cv_prog_STRIP+set}" = set; then
46215 echo $ECHO_N "(cached) $ECHO_C" >&6
46217 if test -n "$STRIP"; then
46218 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
46220 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
46221 for as_dir
in $PATH
46224 test -z "$as_dir" && as_dir
=.
46225 for ac_exec_ext
in '' $ac_executable_extensions; do
46226 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
46227 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
46228 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
46237 STRIP
=$ac_cv_prog_STRIP
46238 if test -n "$STRIP"; then
46239 { echo "$as_me:$LINENO: result: $STRIP" >&5
46240 echo "${ECHO_T}$STRIP" >&6; }
46242 { echo "$as_me:$LINENO: result: no" >&5
46243 echo "${ECHO_T}no" >&6; }
46248 if test -z "$ac_cv_prog_STRIP"; then
46250 # Extract the first word of "strip", so it can be a program name with args.
46251 set dummy strip
; ac_word
=$2
46252 { echo "$as_me:$LINENO: checking for $ac_word" >&5
46253 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
46254 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
46255 echo $ECHO_N "(cached) $ECHO_C" >&6
46257 if test -n "$ac_ct_STRIP"; then
46258 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
46260 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
46261 for as_dir
in $PATH
46264 test -z "$as_dir" && as_dir
=.
46265 for ac_exec_ext
in '' $ac_executable_extensions; do
46266 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
46267 ac_cv_prog_ac_ct_STRIP
="strip"
46268 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
46277 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
46278 if test -n "$ac_ct_STRIP"; then
46279 { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
46280 echo "${ECHO_T}$ac_ct_STRIP" >&6; }
46282 { echo "$as_me:$LINENO: result: no" >&5
46283 echo "${ECHO_T}no" >&6; }
46286 if test "x$ac_ct_STRIP" = x
; then
46289 case $cross_compiling:$ac_tool_warned in
46291 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
46292 whose name does not start with the host triplet. If you think this
46293 configuration is useful to you, please write to autoconf@gnu.org." >&5
46294 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
46295 whose name does not start with the host triplet. If you think this
46296 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
46297 ac_tool_warned
=yes ;;
46302 STRIP
="$ac_cv_prog_STRIP"
46305 if test -n "$ac_tool_prefix"; then
46306 # Extract the first word of "${ac_tool_prefix}nm", so it can be a program name with args.
46307 set dummy
${ac_tool_prefix}nm
; ac_word
=$2
46308 { echo "$as_me:$LINENO: checking for $ac_word" >&5
46309 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
46310 if test "${ac_cv_prog_NM+set}" = set; then
46311 echo $ECHO_N "(cached) $ECHO_C" >&6
46313 if test -n "$NM"; then
46314 ac_cv_prog_NM
="$NM" # Let the user override the test.
46316 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
46317 for as_dir
in $PATH
46320 test -z "$as_dir" && as_dir
=.
46321 for ac_exec_ext
in '' $ac_executable_extensions; do
46322 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
46323 ac_cv_prog_NM
="${ac_tool_prefix}nm"
46324 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
46334 if test -n "$NM"; then
46335 { echo "$as_me:$LINENO: result: $NM" >&5
46336 echo "${ECHO_T}$NM" >&6; }
46338 { echo "$as_me:$LINENO: result: no" >&5
46339 echo "${ECHO_T}no" >&6; }
46344 if test -z "$ac_cv_prog_NM"; then
46346 # Extract the first word of "nm", so it can be a program name with args.
46347 set dummy nm
; ac_word
=$2
46348 { echo "$as_me:$LINENO: checking for $ac_word" >&5
46349 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
46350 if test "${ac_cv_prog_ac_ct_NM+set}" = set; then
46351 echo $ECHO_N "(cached) $ECHO_C" >&6
46353 if test -n "$ac_ct_NM"; then
46354 ac_cv_prog_ac_ct_NM
="$ac_ct_NM" # Let the user override the test.
46356 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
46357 for as_dir
in $PATH
46360 test -z "$as_dir" && as_dir
=.
46361 for ac_exec_ext
in '' $ac_executable_extensions; do
46362 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
46363 ac_cv_prog_ac_ct_NM
="nm"
46364 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
46373 ac_ct_NM
=$ac_cv_prog_ac_ct_NM
46374 if test -n "$ac_ct_NM"; then
46375 { echo "$as_me:$LINENO: result: $ac_ct_NM" >&5
46376 echo "${ECHO_T}$ac_ct_NM" >&6; }
46378 { echo "$as_me:$LINENO: result: no" >&5
46379 echo "${ECHO_T}no" >&6; }
46382 if test "x$ac_ct_NM" = x
; then
46385 case $cross_compiling:$ac_tool_warned in
46387 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
46388 whose name does not start with the host triplet. If you think this
46389 configuration is useful to you, please write to autoconf@gnu.org." >&5
46390 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
46391 whose name does not start with the host triplet. If you think this
46392 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
46393 ac_tool_warned
=yes ;;
46398 NM
="$ac_cv_prog_NM"
46402 case ${BAKEFILE_HOST} in
46404 INSTALL_DIR
="mkdir -p"
46407 INSTALL_DIR
='$(INSTALL) -d'
46413 case ${BAKEFILE_HOST} in
46414 *-*-cygwin* | *-*-mingw32* )
46415 LDFLAGS_GUI
="-mwindows"
46421 { echo "$as_me:$LINENO: checking if make is GNU make" >&5
46422 echo $ECHO_N "checking if make is GNU make... $ECHO_C" >&6; }
46423 if test "${bakefile_cv_prog_makeisgnu+set}" = set; then
46424 echo $ECHO_N "(cached) $ECHO_C" >&6
46427 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev
/null
|
46428 egrep -s GNU
> /dev
/null
); then
46429 bakefile_cv_prog_makeisgnu
="yes"
46431 bakefile_cv_prog_makeisgnu
="no"
46435 { echo "$as_me:$LINENO: result: $bakefile_cv_prog_makeisgnu" >&5
46436 echo "${ECHO_T}$bakefile_cv_prog_makeisgnu" >&6; }
46438 if test "x$bakefile_cv_prog_makeisgnu" = "xyes"; then
46455 if test "x$BAKEFILE_FORCE_PLATFORM" = "x"; then
46456 case "${BAKEFILE_HOST}" in
46463 *-pc-os2_emx | *-pc-os2-emx )
46473 powerpc
-apple-macos* )
46482 case "$BAKEFILE_FORCE_PLATFORM" in
46517 # Check whether --enable-omf was given.
46518 if test "${enable_omf+set}" = set; then
46519 enableval
=$enable_omf; bk_os2_use_omf
="$enableval"
46523 case "${BAKEFILE_HOST}" in
46525 if test "x$GCC" = "xyes"; then
46526 CFLAGS
="$CFLAGS -fno-common"
46527 CXXFLAGS
="$CXXFLAGS -fno-common"
46529 if test "x$XLCC" = "xyes"; then
46530 CFLAGS
="$CFLAGS -qnocommon"
46531 CXXFLAGS
="$CXXFLAGS -qnocommon"
46535 *-pc-os2_emx | *-pc-os2-emx )
46536 if test "x$bk_os2_use_omf" = "xyes" ; then
46539 LDFLAGS
="-Zomf $LDFLAGS"
46540 CFLAGS
="-Zomf $CFLAGS"
46541 CXXFLAGS
="-Zomf $CXXFLAGS"
46549 LDFLAGS
="-L/boot/develop/lib/x86 $LDFLAGS"
46555 SO_SUFFIX_MODULE
="so"
46560 DLLPREFIX_MODULE
=""
46564 case "${BAKEFILE_HOST}" in
46567 SO_SUFFIX_MODULE
="sl"
46571 SO_SUFFIX_MODULE
="a"
46575 SO_SUFFIX_MODULE
="dll"
46576 DLLIMP_SUFFIX
="dll.a"
46583 SO_SUFFIX_MODULE
="dll"
46584 DLLIMP_SUFFIX
="dll.a"
46594 *-pc-os2_emx | *-pc-os2-emx )
46596 SO_SUFFIX_MODULE
="dll"
46597 DLLIMP_SUFFIX
=$OS2_LIBEXT
46601 LIBEXT
=".$OS2_LIBEXT"
46606 SO_SUFFIX_MODULE
="bundle"
46610 if test "x$DLLIMP_SUFFIX" = "x" ; then
46611 DLLIMP_SUFFIX
="$SO_SUFFIX"
46626 if test "x$GCC" = "xyes"; then
46630 SHARED_LD_CC
="\$(CC) -shared ${PIC_FLAG} -o"
46631 SHARED_LD_CXX
="\$(CXX) -shared ${PIC_FLAG} -o"
46634 case "${BAKEFILE_HOST}" in
46636 if test "x$GCC" != "xyes"; then
46637 LDFLAGS
="$LDFLAGS -L/usr/lib"
46639 SHARED_LD_CC
="${CC} -b -o"
46640 SHARED_LD_CXX
="${CXX} -b -o"
46646 if test "x$GCC" != "xyes"; then
46647 { echo "$as_me:$LINENO: checking for Intel compiler" >&5
46648 echo $ECHO_N "checking for Intel compiler... $ECHO_C" >&6; }
46649 if test "${bakefile_cv_prog_icc+set}" = set; then
46650 echo $ECHO_N "(cached) $ECHO_C" >&6
46653 cat >conftest.
$ac_ext <<_ACEOF
46656 cat confdefs.h
>>conftest.
$ac_ext
46657 cat >>conftest.
$ac_ext <<_ACEOF
46658 /* end confdefs.h. */
46664 #ifndef __INTEL_COMPILER
46672 rm -f conftest.
$ac_objext
46673 if { (ac_try
="$ac_compile"
46674 case "(($ac_try" in
46675 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
46676 *) ac_try_echo=$ac_try;;
46678 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46679 (eval "$ac_compile") 2>conftest.er1
46681 grep -v '^ *+' conftest.er1 >conftest.err
46683 cat conftest.err >&5
46684 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46685 (exit $ac_status); } && {
46686 test -z "$ac_c_werror_flag" ||
46687 test ! -s conftest.err
46688 } && test -s conftest.$ac_objext; then
46689 bakefile_cv_prog_icc=yes
46691 echo "$as_me: failed program was:" >&5
46692 sed 's/^/| /' conftest.$ac_ext >&5
46694 bakefile_cv_prog_icc=no
46698 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46701 { echo "$as_me:$LINENO: result: $bakefile_cv_prog_icc" >&5
46702 echo "${ECHO_T}$bakefile_cv_prog_icc" >&6; }
46703 if test "$bakefile_cv_prog_icc" = "yes"; then
46710 if test "x$GCC" != xyes ; then
46711 SHARED_LD_CC="${CC} -G -o"
46712 SHARED_LD_CXX="${CXX} -G -o"
46720 cat <<EOF >shared-ld-sh
46722 #-----------------------------------------------------------------------------
46723 #-- Name: distrib/mac/shared-ld-sh
46724 #-- Purpose: Link a mach-o dynamic shared library for Darwin / Mac OS X
46725 #-- Author: Gilles Depeyrot
46726 #-- Copyright: (c) 2002 Gilles Depeyrot
46727 #-- Licence: any use permitted
46728 #-----------------------------------------------------------------------------
46733 linking_flag="-dynamiclib"
46734 ldargs="-r -keep_private_externs -nostdlib"
46736 while test ${D}# -gt 0; do
46743 -o|-compatibility_version|-current_version|-framework|-undefined|-install_name)
46744 # collect these options and values
46745 args="${D}{args} ${D}1 ${D}2"
46750 # collect these load args
46751 ldargs="${D}{ldargs} ${D}1"
46754 -l*|-L*|-flat_namespace|-headerpad_max_install_names)
46755 # collect these options
46756 args="${D}{args} ${D}1"
46759 -dynamiclib|-bundle)
46760 linking_flag="${D}1"
46764 echo "shared-ld: unhandled option '${D}1'"
46768 *.o | *.a | *.dylib)
46769 # collect object files
46770 objects="${D}{objects} ${D}1"
46774 echo "shared-ld: unhandled argument '${D}1'"
46785 # Link one module containing all the others
46787 if test ${D}{verbose} = 1; then
46788 echo "c++ ${D}{ldargs} ${D}{objects} -o master.${D}${D}.o"
46790 c++ ${D}{ldargs} ${D}{objects} -o master.${D}${D}.o
46794 # Link the shared library from the single module created, but only if the
46795 # previous command didn't fail:
46797 if test ${D}{status} = 0; then
46798 if test ${D}{verbose} = 1; then
46799 echo "c++ ${D}{linking_flag} master.${D}${D}.o ${D}{args}"
46801 c++ ${D}{linking_flag} master.${D}${D}.o ${D}{args}
46806 # Remove intermediate module
46808 rm -f master.${D}${D}.o
46813 chmod +x shared-ld-sh
46815 SHARED_LD_MODULE_CC="`pwd`/shared-ld-sh -bundle -headerpad_max_install_names -o"
46816 SHARED_LD_MODULE_CXX="$SHARED_LD_MODULE_CC"
46819 { echo "$as_me:$LINENO: checking for gcc 3.1 or later" >&5
46820 echo $ECHO_N "checking for gcc 3.1 or later... $ECHO_C" >&6; }
46821 if test "${bakefile_cv_gcc31+set}" = set; then
46822 echo $ECHO_N "(cached) $ECHO_C" >&6
46825 cat >conftest.$ac_ext <<_ACEOF
46828 cat confdefs.h >>conftest.$ac_ext
46829 cat >>conftest.$ac_ext <<_ACEOF
46830 /* end confdefs.h. */
46836 #if (__GNUC__ < 3) || \
46837 ((__GNUC__ == 3) && (__GNUC_MINOR__ < 1))
46845 rm -f conftest.$ac_objext
46846 if { (ac_try="$ac_compile"
46847 case "(($ac_try" in
46848 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
46849 *) ac_try_echo
=$ac_try;;
46851 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46852 (eval "$ac_compile") 2>conftest.er1
46854 grep -v '^ *+' conftest.er1
>conftest.err
46856 cat conftest.err
>&5
46857 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46858 (exit $ac_status); } && {
46859 test -z "$ac_c_werror_flag" ||
46860 test ! -s conftest.err
46861 } && test -s conftest.
$ac_objext; then
46863 bakefile_cv_gcc31
=yes
46866 echo "$as_me: failed program was:" >&5
46867 sed 's/^/| /' conftest.
$ac_ext >&5
46870 bakefile_cv_gcc31
=no
46875 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
46878 { echo "$as_me:$LINENO: result: $bakefile_cv_gcc31" >&5
46879 echo "${ECHO_T}$bakefile_cv_gcc31" >&6; }
46880 if test "$bakefile_cv_gcc31" = "no"; then
46881 SHARED_LD_CC
="`pwd`/shared-ld-sh -dynamiclib -headerpad_max_install_names -o"
46882 SHARED_LD_CXX
="$SHARED_LD_CC"
46884 SHARED_LD_CC
="\${CC} -dynamiclib -single_module -headerpad_max_install_names -o"
46885 SHARED_LD_CXX
="\${CXX} -dynamiclib -single_module -headerpad_max_install_names -o"
46888 if test "x$GCC" == "xyes"; then
46889 PIC_FLAG
="-dynamic -fPIC"
46891 if test "x$XLCC" = "xyes"; then
46892 PIC_FLAG
="-dynamic -DPIC"
46897 if test "x$GCC" = "xyes"; then
46900 case "${BAKEFILE_HOST}" in
46902 LD_EXPFULL
="-Wl,-bexpfull"
46906 SHARED_LD_CC
="\$(CC) -shared $LD_EXPFULL -o"
46907 SHARED_LD_CXX
="\$(CXX) -shared $LD_EXPFULL -o"
46909 # Extract the first word of "makeC++SharedLib", so it can be a program name with args.
46910 set dummy makeC
++SharedLib
; ac_word
=$2
46911 { echo "$as_me:$LINENO: checking for $ac_word" >&5
46912 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
46913 if test "${ac_cv_prog_AIX_CXX_LD+set}" = set; then
46914 echo $ECHO_N "(cached) $ECHO_C" >&6
46916 if test -n "$AIX_CXX_LD"; then
46917 ac_cv_prog_AIX_CXX_LD
="$AIX_CXX_LD" # Let the user override the test.
46919 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
46920 for as_dir
in $PATH
46923 test -z "$as_dir" && as_dir
=.
46924 for ac_exec_ext
in '' $ac_executable_extensions; do
46925 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
46926 ac_cv_prog_AIX_CXX_LD
="makeC++SharedLib"
46927 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
46934 test -z "$ac_cv_prog_AIX_CXX_LD" && ac_cv_prog_AIX_CXX_LD
="/usr/lpp/xlC/bin/makeC++SharedLib"
46937 AIX_CXX_LD
=$ac_cv_prog_AIX_CXX_LD
46938 if test -n "$AIX_CXX_LD"; then
46939 { echo "$as_me:$LINENO: result: $AIX_CXX_LD" >&5
46940 echo "${ECHO_T}$AIX_CXX_LD" >&6; }
46942 { echo "$as_me:$LINENO: result: no" >&5
46943 echo "${ECHO_T}no" >&6; }
46947 SHARED_LD_CC
="$AIX_CC_LD -p 0 -o"
46948 SHARED_LD_CXX
="$AIX_CXX_LD -p 0 -o"
46953 SHARED_LD_CC
="${LD} -nostart -o"
46954 SHARED_LD_CXX
="${LD} -nostart -o"
46958 if test "x$GCC" != "xyes"; then
46963 *-*-cygwin* | *-*-mingw32* )
46965 SHARED_LD_CC
="\$(CC) -shared -o"
46966 SHARED_LD_CXX
="\$(CXX) -shared -o"
46970 *-pc-os2_emx | *-pc-os2-emx )
46971 SHARED_LD_CC
="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
46972 SHARED_LD_CXX
="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
46976 cat <<EOF >dllar.sh
46979 # dllar - a tool to build both a .dll and an .a file
46980 # from a set of object (.o) files for EMX/OS2.
46982 # Written by Andrew Zabolotny, bit@freya.etu.ru
46983 # Ported to Unix like shell by Stefan Neis, Stefan.Neis@t-online.de
46985 # This script will accept a set of files on the command line.
46986 # All the public symbols from the .o files will be exported into
46987 # a .DEF file, then linker will be run (through gcc) against them to
46988 # build a shared library consisting of all given .o files. All libraries
46989 # (.a) will be first decompressed into component .o files then act as
46990 # described above. You can optionally give a description (-d "description")
46991 # which will be put into .DLL. To see the list of accepted options (as well
46992 # as command-line format) simply run this program without options. The .DLL
46993 # is built to be imported by name (there is no guarantee that new versions
46994 # of the library you build will have same ordinals for same symbols).
46996 # dllar is free software; you can redistribute it and/or modify
46997 # it under the terms of the GNU General Public License as published by
46998 # the Free Software Foundation; either version 2, or (at your option)
46999 # any later version.
47001 # dllar is distributed in the hope that it will be useful,
47002 # but WITHOUT ANY WARRANTY; without even the implied warranty of
47003 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
47004 # GNU General Public License for more details.
47006 # You should have received a copy of the GNU General Public License
47007 # along with dllar; see the file COPYING. If not, write to the Free
47008 # Software Foundation, 59 Temple Place - Suite 330, Boston, MA
47011 # To successfuly run this program you will need:
47012 # - Current drive should have LFN support (HPFS, ext2, network, etc)
47013 # (Sometimes dllar generates filenames which won't fit 8.3 scheme)
47015 # (used to build the .dll)
47017 # (used to create .def file from .o files)
47019 # (used to create .a file from .def file)
47020 # - GNU text utilites (cat, sort, uniq)
47021 # used to process emxexp output
47022 # - GNU file utilities (mv, rm)
47024 # - lxlite (optional, see flag below)
47025 # (used for general .dll cleanup)
47032 # basnam, variant of basename, which does _not_ remove the path, _iff_
47033 # second argument (suffix to remove) is given
47037 echo ${D}1 | sed 's/.*\\///' | sed 's/.*\\\\//'
47040 echo ${D}1 | sed 's/'${D}2'${D}//'
47043 echo "error in basnam ${D}*"
47049 # Cleanup temporary files and output
47052 for i in ${D}inputFiles ; do
47055 rm -rf \`basnam ${D}i !\`
47062 # Kill result in case of failure as there is just to many stupid make/nmake
47063 # things out there which doesn't do this.
47064 if [ ${D}# -eq 0 ]; then
47065 rm -f ${D}arcFile ${D}arcFile2 ${D}defFile ${D}dllFile
47069 # Print usage and exit script with rc=1.
47071 echo 'Usage: dllar.sh [-o[utput] output_file] [-i[mport] importlib_name]'
47072 echo ' [-name-mangler-script script.sh]'
47073 echo ' [-d[escription] "dll descrption"] [-cc "CC"] [-f[lags] "CFLAGS"]'
47074 echo ' [-ord[inals]] -ex[clude] "symbol(s)"'
47075 echo ' [-libf[lags] "{INIT|TERM}{GLOBAL|INSTANCE}"] [-nocrt[dll]] [-nolxl[ite]]'
47076 echo ' [*.o] [*.a]'
47077 echo '*> "output_file" should have no extension.'
47078 echo ' If it has the .o, .a or .dll extension, it is automatically removed.'
47079 echo ' The import library name is derived from this and is set to "name".a,'
47080 echo ' unless overridden by -import'
47081 echo '*> "importlib_name" should have no extension.'
47082 echo ' If it has the .o, or .a extension, it is automatically removed.'
47083 echo ' This name is used as the import library name and may be longer and'
47084 echo ' more descriptive than the DLL name which has to follow the old '
47085 echo ' 8.3 convention of FAT.'
47086 echo '*> "script.sh may be given to override the output_file name by a'
47087 echo ' different name. It is mainly useful if the regular make process'
47088 echo ' of some package does not take into account OS/2 restriction of'
47089 echo ' DLL name lengths. It takes the importlib name as input and is'
47090 echo ' supposed to procude a shorter name as output. The script should'
47091 echo ' expect to get importlib_name without extension and should produce'
47092 echo ' a (max.) 8 letter name without extension.'
47093 echo '*> "cc" is used to use another GCC executable. (default: gcc.exe)'
47094 echo '*> "flags" should be any set of valid GCC flags. (default: -s -Zcrtdll)'
47095 echo ' These flags will be put at the start of GCC command line.'
47096 echo '*> -ord[inals] tells dllar to export entries by ordinals. Be careful.'
47097 echo '*> -ex[clude] defines symbols which will not be exported. You can define'
47098 echo ' multiple symbols, for example -ex "myfunc yourfunc _GLOBAL*".'
47099 echo ' If the last character of a symbol is "*", all symbols beginning'
47100 echo ' with the prefix before "*" will be exclude, (see _GLOBAL* above).'
47101 echo '*> -libf[lags] can be used to add INITGLOBAL/INITINSTANCE and/or'
47102 echo ' TERMGLOBAL/TERMINSTANCE flags to the dynamically-linked library.'
47103 echo '*> -nocrt[dll] switch will disable linking the library against emx''s'
47104 echo ' C runtime DLLs.'
47105 echo '*> -nolxl[ite] switch will disable running lxlite on the resulting DLL.'
47106 echo '*> All other switches (for example -L./ or -lmylib) will be passed'
47107 echo ' unchanged to GCC at the end of command line.'
47108 echo '*> If you create a DLL from a library and you do not specify -o,'
47109 echo ' the basename for DLL and import library will be set to library name,'
47110 echo ' the initial library will be renamed to 'name'_s.a (_s for static)'
47111 echo ' i.e. "dllar gcc.a" will create gcc.dll and gcc.a, and the initial'
47112 echo ' library will be renamed into gcc_s.a.'
47115 echo ' dllar -o gcc290.dll libgcc.a -d "GNU C runtime library" -ord'
47116 echo ' -ex "__main __ctordtor*" -libf "INITINSTANCE TERMINSTANCE"'
47121 # Execute a command.
47122 # If exit code of the commnad <> 0 CleanUp() is called and we'll exit the script.
47123 # @Uses Whatever CleanUp() uses.
47129 if [ ${D}rcCmd -ne 0 ]; then
47130 echo "command failed, exit code="${D}rcCmd
47145 CFLAGS="-s -Zcrtdll"
47147 EXPORT_BY_ORDINALS=0
47152 case ${D}curDirS in
47156 curDirS=${D}{curDirS}"/"
47159 # Parse commandline
47162 while [ ${D}1 ]; do
47165 EXPORT_BY_ORDINALS=1;
47175 -name-mangler-script)
47196 exclude_symbols=${D}{exclude_symbols}${D}1" "
47200 library_flags=${D}{library_flags}${D}1" "
47219 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
47222 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS} \`basnam ${D}1 .dll\`"
47223 if [ ${D}omfLinking -eq 1 ]; then
47224 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.lib"
47226 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.a"
47231 if [ ${D}libsToLink -ne 0 ]; then
47232 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
47234 for file in ${D}1 ; do
47235 if [ -f ${D}file ]; then
47236 inputFiles="${D}{inputFiles} ${D}file"
47240 if [ ${D}found -eq 0 ]; then
47241 echo "ERROR: No file(s) found: "${D}1
47248 done # iterate cmdline words
47251 if [ -z "${D}inputFiles" ]; then
47252 echo "dllar: no input files"
47256 # Now extract all .o files from .a files
47258 for file in ${D}inputFiles ; do
47269 EXTRA_CFLAGS="${D}EXTRA_CFLAGS -Zomf"
47274 dirname=\`basnam ${D}file ${D}suffix\`"_%"
47276 if [ ${D}? -ne 0 ]; then
47277 echo "Failed to create subdirectory ./${D}dirname"
47281 # Append '!' to indicate archive
47282 newInputFiles="${D}newInputFiles ${D}{dirname}!"
47283 doCommand "cd ${D}dirname; ${D}AR x ../${D}file"
47286 for subfile in ${D}dirname/*.o* ; do
47287 if [ -f ${D}subfile ]; then
47289 if [ -s ${D}subfile ]; then
47290 # FIXME: This should be: is file size > 32 byte, _not_ > 0!
47291 newInputFiles="${D}newInputFiles ${D}subfile"
47295 if [ ${D}found -eq 0 ]; then
47296 echo "WARNING: there are no files in archive \\'${D}file\\'"
47300 newInputFiles="${D}{newInputFiles} ${D}file"
47304 inputFiles="${D}newInputFiles"
47306 # Output filename(s).
47308 if [ -z ${D}outFile ]; then
47310 set outFile ${D}inputFiles; outFile=${D}2
47313 # If it is an archive, remove the '!' and the '_%' suffixes
47314 case ${D}outFile in
47316 outFile=\`basnam ${D}outFile _%!\`
47321 case ${D}outFile in
47323 outFile=\`basnam ${D}outFile .dll\`
47326 outFile=\`basnam ${D}outFile .DLL\`
47329 outFile=\`basnam ${D}outFile .o\`
47332 outFile=\`basnam ${D}outFile .obj\`
47335 outFile=\`basnam ${D}outFile .a\`
47338 outFile=\`basnam ${D}outFile .lib\`
47343 case ${D}outimpFile in
47345 outimpFile=\`basnam ${D}outimpFile .a\`
47348 outimpFile=\`basnam ${D}outimpFile .lib\`
47353 if [ -z ${D}outimpFile ]; then
47354 outimpFile=${D}outFile
47356 defFile="${D}{outFile}.def"
47357 arcFile="${D}{outimpFile}.a"
47358 arcFile2="${D}{outimpFile}.lib"
47360 #create ${D}dllFile as something matching 8.3 restrictions,
47361 if [ -z ${D}renameScript ] ; then
47362 dllFile="${D}outFile"
47364 dllFile=\`${D}renameScript ${D}outimpFile\`
47367 if [ ${D}do_backup -ne 0 ] ; then
47368 if [ -f ${D}arcFile ] ; then
47369 doCommand "mv ${D}arcFile ${D}{outFile}_s.a"
47371 if [ -f ${D}arcFile2 ] ; then
47372 doCommand "mv ${D}arcFile2 ${D}{outFile}_s.lib"
47376 # Extract public symbols from all the object files.
47377 tmpdefFile=${D}{defFile}_%
47378 rm -f ${D}tmpdefFile
47379 for file in ${D}inputFiles ; do
47384 doCommand "emxexp -u ${D}file >> ${D}tmpdefFile"
47389 # Create the def file.
47391 echo "LIBRARY \`basnam ${D}dllFile\` ${D}library_flags" >> ${D}defFile
47392 dllFile="${D}{dllFile}.dll"
47393 if [ ! -z ${D}description ]; then
47394 echo "DESCRIPTION \\"${D}{description}\\"" >> ${D}defFile
47396 echo "EXPORTS" >> ${D}defFile
47398 doCommand "cat ${D}tmpdefFile | sort.exe | uniq.exe > ${D}{tmpdefFile}%"
47399 grep -v "^ *;" < ${D}{tmpdefFile}% | grep -v "^ *${D}" >${D}tmpdefFile
47401 # Checks if the export is ok or not.
47402 for word in ${D}exclude_symbols; do
47403 grep -v ${D}word < ${D}tmpdefFile >${D}{tmpdefFile}%
47404 mv ${D}{tmpdefFile}% ${D}tmpdefFile
47408 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
47409 sed "=" < ${D}tmpdefFile | \\
47413 s/^\\([0-9]\\+\\)\\([^;]*\\)\\(;.*\\)\\?/\\2 @\\1 NONAME/
47415 ' > ${D}{tmpdefFile}%
47416 grep -v "^ *${D}" < ${D}{tmpdefFile}% > ${D}tmpdefFile
47418 rm -f ${D}{tmpdefFile}%
47420 cat ${D}tmpdefFile >> ${D}defFile
47421 rm -f ${D}tmpdefFile
47423 # Do linking, create implib, and apply lxlite.
47425 for file in ${D}inputFiles ; do
47430 gccCmdl="${D}gccCmdl ${D}file"
47434 doCommand "${D}CC ${D}CFLAGS -Zdll -o ${D}dllFile ${D}defFile ${D}gccCmdl ${D}EXTRA_CFLAGS"
47435 touch "${D}{outFile}.dll"
47437 doCommand "emximp -o ${D}arcFile ${D}defFile"
47438 if [ ${D}flag_USE_LXLITE -ne 0 ]; then
47440 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
47443 doCommand "lxlite -cs -t: -mrn -mln ${D}add_flags ${D}dllFile"
47445 doCommand "emxomf -s -l ${D}arcFile"
47455 powerpc
-apple-macos* | \
47456 *-*-freebsd* | *-*-openbsd* | *-*-netbsd* | *-*-k*bsd
*-gnu | \
47466 { { echo "$as_me:$LINENO: error: unknown system type $BAKEFILE_HOST." >&5
47467 echo "$as_me: error: unknown system type $BAKEFILE_HOST." >&2;}
47468 { (exit 1); exit 1; }; }
47471 if test "x$PIC_FLAG" != "x" ; then
47472 PIC_FLAG
="$PIC_FLAG -DPIC"
47475 if test "x$SHARED_LD_MODULE_CC" = "x" ; then
47476 SHARED_LD_MODULE_CC
="$SHARED_LD_CC"
47478 if test "x$SHARED_LD_MODULE_CXX" = "x" ; then
47479 SHARED_LD_MODULE_CXX
="$SHARED_LD_CXX"
47498 case "${BAKEFILE_HOST}" in
47499 *-*-linux* | *-*-freebsd* | *-*-k*bsd
*-gnu )
47500 SONAME_FLAG
="-Wl,-soname,"
47534 # Check whether --enable-dependency-tracking was given.
47535 if test "${enable_dependency_tracking+set}" = set; then
47536 enableval
=$enable_dependency_tracking; bk_use_trackdeps
="$enableval"
47540 { echo "$as_me:$LINENO: checking for dependency tracking method" >&5
47541 echo $ECHO_N "checking for dependency tracking method... $ECHO_C" >&6; }
47544 if test "x$bk_use_trackdeps" = "xno" ; then
47546 { echo "$as_me:$LINENO: result: disabled" >&5
47547 echo "${ECHO_T}disabled" >&6; }
47551 if test "x$GCC" = "xyes"; then
47553 case "${BAKEFILE_HOST}" in
47555 DEPSFLAG
="-no-cpp-precomp -MMD"
47561 { echo "$as_me:$LINENO: result: gcc" >&5
47562 echo "${ECHO_T}gcc" >&6; }
47563 elif test "x$MWCC" = "xyes"; then
47566 { echo "$as_me:$LINENO: result: mwcc" >&5
47567 echo "${ECHO_T}mwcc" >&6; }
47568 elif test "x$SUNCC" = "xyes"; then
47571 { echo "$as_me:$LINENO: result: Sun cc" >&5
47572 echo "${ECHO_T}Sun cc" >&6; }
47573 elif test "x$SGICC" = "xyes"; then
47576 { echo "$as_me:$LINENO: result: SGI cc" >&5
47577 echo "${ECHO_T}SGI cc" >&6; }
47578 elif test "x$HPCC" = "xyes"; then
47581 { echo "$as_me:$LINENO: result: HP cc" >&5
47582 echo "${ECHO_T}HP cc" >&6; }
47583 elif test "x$COMPAQCC" = "xyes"; then
47586 { echo "$as_me:$LINENO: result: Compaq cc" >&5
47587 echo "${ECHO_T}Compaq cc" >&6; }
47590 { echo "$as_me:$LINENO: result: none" >&5
47591 echo "${ECHO_T}none" >&6; }
47594 if test $DEPS_TRACKING = 1 ; then
47600 # This script is part of Bakefile (http://bakefile.sourceforge.net) autoconf
47601 # script. It is used to track C/C++ files dependencies in portable way.
47603 # Permission is given to use this file in any way.
47605 DEPSMODE=${DEPSMODE}
47607 DEPSFLAG="${DEPSFLAG}"
47609 mkdir -p ${D}DEPSDIR
47611 if test ${D}DEPSMODE = gcc ; then
47612 ${D}* ${D}{DEPSFLAG}
47614 if test ${D}{status} != 0 ; then
47617 # move created file to the location we want it in:
47618 while test ${D}# -gt 0; do
47632 depfile=\`basename ${D}srcfile | sed -e 's/\\..*${D}/.d/g'\`
47633 depobjname=\`echo ${D}depfile |sed -e 's/\\.d/.o/g'\`
47634 if test -f ${D}depfile ; then
47635 sed -e "s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{DEPSDIR}/${D}{objfile}.d
47638 # "g++ -MMD -o fooobj.o foosrc.cpp" produces fooobj.d
47639 depfile=\`basename ${D}objfile | sed -e 's/\\..*${D}/.d/g'\`
47640 if test ! -f ${D}depfile ; then
47641 # "cxx -MD -o fooobj.o foosrc.cpp" creates fooobj.o.d (Compaq C++)
47642 depfile="${D}objfile.d"
47644 if test -f ${D}depfile ; then
47645 sed -e "/^${D}objfile/!s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{DEPSDIR}/${D}{objfile}.d
47650 elif test ${D}DEPSMODE = mwcc ; then
47651 ${D}* || exit ${D}?
47652 # Run mwcc again with -MM and redirect into the dep file we want
47653 # NOTE: We can't use shift here because we need ${D}* to be valid
47655 for arg in ${D}* ; do
47656 if test "${D}prevarg" = "-o"; then
47669 ${D}* ${D}DEPSFLAG >${D}{DEPSDIR}/${D}{objfile}.d
47671 elif test ${D}DEPSMODE = unixcc; then
47672 ${D}* || exit ${D}?
47673 # Run compiler again with deps flag and redirect into the dep file.
47674 # It doesn't work if the '-o FILE' option is used, but without it the
47675 # dependency file will contain the wrong name for the object. So it is
47676 # removed from the command line, and the dep file is fixed with sed.
47678 while test ${D}# -gt 0; do
47685 eval arg${D}#=\\${D}1
47686 cmd="${D}cmd \\${D}arg${D}#"
47691 eval "${D}cmd ${D}DEPSFLAG" | sed "s|.*:|${D}objfile:|" >${D}{DEPSDIR}/${D}{objfile}.d
47700 BK_DEPS
="`pwd`/bk-deps"
47708 case ${BAKEFILE_HOST} in
47709 *-*-cygwin* | *-*-mingw32* )
47710 if test -n "$ac_tool_prefix"; then
47711 # Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args.
47712 set dummy
${ac_tool_prefix}windres
; ac_word
=$2
47713 { echo "$as_me:$LINENO: checking for $ac_word" >&5
47714 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
47715 if test "${ac_cv_prog_WINDRES+set}" = set; then
47716 echo $ECHO_N "(cached) $ECHO_C" >&6
47718 if test -n "$WINDRES"; then
47719 ac_cv_prog_WINDRES
="$WINDRES" # Let the user override the test.
47721 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
47722 for as_dir
in $PATH
47725 test -z "$as_dir" && as_dir
=.
47726 for ac_exec_ext
in '' $ac_executable_extensions; do
47727 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
47728 ac_cv_prog_WINDRES
="${ac_tool_prefix}windres"
47729 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47738 WINDRES
=$ac_cv_prog_WINDRES
47739 if test -n "$WINDRES"; then
47740 { echo "$as_me:$LINENO: result: $WINDRES" >&5
47741 echo "${ECHO_T}$WINDRES" >&6; }
47743 { echo "$as_me:$LINENO: result: no" >&5
47744 echo "${ECHO_T}no" >&6; }
47749 if test -z "$ac_cv_prog_WINDRES"; then
47750 ac_ct_WINDRES
=$WINDRES
47751 # Extract the first word of "windres", so it can be a program name with args.
47752 set dummy windres
; ac_word
=$2
47753 { echo "$as_me:$LINENO: checking for $ac_word" >&5
47754 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
47755 if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then
47756 echo $ECHO_N "(cached) $ECHO_C" >&6
47758 if test -n "$ac_ct_WINDRES"; then
47759 ac_cv_prog_ac_ct_WINDRES
="$ac_ct_WINDRES" # Let the user override the test.
47761 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
47762 for as_dir
in $PATH
47765 test -z "$as_dir" && as_dir
=.
47766 for ac_exec_ext
in '' $ac_executable_extensions; do
47767 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
47768 ac_cv_prog_ac_ct_WINDRES
="windres"
47769 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47778 ac_ct_WINDRES
=$ac_cv_prog_ac_ct_WINDRES
47779 if test -n "$ac_ct_WINDRES"; then
47780 { echo "$as_me:$LINENO: result: $ac_ct_WINDRES" >&5
47781 echo "${ECHO_T}$ac_ct_WINDRES" >&6; }
47783 { echo "$as_me:$LINENO: result: no" >&5
47784 echo "${ECHO_T}no" >&6; }
47787 if test "x$ac_ct_WINDRES" = x
; then
47790 case $cross_compiling:$ac_tool_warned in
47792 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
47793 whose name does not start with the host triplet. If you think this
47794 configuration is useful to you, please write to autoconf@gnu.org." >&5
47795 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
47796 whose name does not start with the host triplet. If you think this
47797 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
47798 ac_tool_warned
=yes ;;
47800 WINDRES
=$ac_ct_WINDRES
47803 WINDRES
="$ac_cv_prog_WINDRES"
47808 *-*-darwin* | powerpc
-apple-macos* )
47809 # Extract the first word of "Rez", so it can be a program name with args.
47810 set dummy Rez
; ac_word
=$2
47811 { echo "$as_me:$LINENO: checking for $ac_word" >&5
47812 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
47813 if test "${ac_cv_prog_REZ+set}" = set; then
47814 echo $ECHO_N "(cached) $ECHO_C" >&6
47816 if test -n "$REZ"; then
47817 ac_cv_prog_REZ
="$REZ" # Let the user override the test.
47819 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
47820 for as_dir
in $PATH
47823 test -z "$as_dir" && as_dir
=.
47824 for ac_exec_ext
in '' $ac_executable_extensions; do
47825 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
47826 ac_cv_prog_REZ
="Rez"
47827 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47834 test -z "$ac_cv_prog_REZ" && ac_cv_prog_REZ
="/Developer/Tools/Rez"
47837 REZ
=$ac_cv_prog_REZ
47838 if test -n "$REZ"; then
47839 { echo "$as_me:$LINENO: result: $REZ" >&5
47840 echo "${ECHO_T}$REZ" >&6; }
47842 { echo "$as_me:$LINENO: result: no" >&5
47843 echo "${ECHO_T}no" >&6; }
47847 # Extract the first word of "SetFile", so it can be a program name with args.
47848 set dummy SetFile
; ac_word
=$2
47849 { echo "$as_me:$LINENO: checking for $ac_word" >&5
47850 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
47851 if test "${ac_cv_prog_SETFILE+set}" = set; then
47852 echo $ECHO_N "(cached) $ECHO_C" >&6
47854 if test -n "$SETFILE"; then
47855 ac_cv_prog_SETFILE
="$SETFILE" # Let the user override the test.
47857 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
47858 for as_dir
in $PATH
47861 test -z "$as_dir" && as_dir
=.
47862 for ac_exec_ext
in '' $ac_executable_extensions; do
47863 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
47864 ac_cv_prog_SETFILE
="SetFile"
47865 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47872 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE
="/Developer/Tools/SetFile"
47875 SETFILE
=$ac_cv_prog_SETFILE
47876 if test -n "$SETFILE"; then
47877 { echo "$as_me:$LINENO: result: $SETFILE" >&5
47878 echo "${ECHO_T}$SETFILE" >&6; }
47880 { echo "$as_me:$LINENO: result: no" >&5
47881 echo "${ECHO_T}no" >&6; }
47893 BAKEFILE_BAKEFILE_M4_VERSION
="0.2.2"
47896 BAKEFILE_AUTOCONF_INC_M4_VERSION
="0.2.2"
47900 # Check whether --enable-precomp-headers was given.
47901 if test "${enable_precomp_headers+set}" = set; then
47902 enableval
=$enable_precomp_headers; bk_use_pch
="$enableval"
47911 case ${BAKEFILE_HOST} in
47917 if test "x$bk_use_pch" = "x" -o "x$bk_use_pch" = "xyes" ; then
47918 if test "x$GCC" = "xyes"; then
47919 { echo "$as_me:$LINENO: checking if the compiler supports precompiled headers" >&5
47920 echo $ECHO_N "checking if the compiler supports precompiled headers... $ECHO_C" >&6; }
47921 cat >conftest.
$ac_ext <<_ACEOF
47924 cat confdefs.h
>>conftest.
$ac_ext
47925 cat >>conftest.
$ac_ext <<_ACEOF
47926 /* end confdefs.h. */
47932 #if !defined(__GNUC__) || !defined(__GNUC_MINOR__)
47933 There is no PCH support
47936 There is no PCH support
47938 #if (__GNUC__ == 3) && \
47939 ((!defined(__APPLE_CC__) && (__GNUC_MINOR__ < 4)) || \
47940 ( defined(__APPLE_CC__) && (__GNUC_MINOR__ < 3))) || \
47941 ( defined(__INTEL_COMPILER) )
47942 There is no PCH support
47949 rm -f conftest.
$ac_objext
47950 if { (ac_try
="$ac_compile"
47951 case "(($ac_try" in
47952 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
47953 *) ac_try_echo=$ac_try;;
47955 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47956 (eval "$ac_compile") 2>conftest.er1
47958 grep -v '^ *+' conftest.er1 >conftest.err
47960 cat conftest.err >&5
47961 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47962 (exit $ac_status); } && {
47963 test -z "$ac_c_werror_flag" ||
47964 test ! -s conftest.err
47965 } && test -s conftest.$ac_objext; then
47967 { echo "$as_me:$LINENO: result: yes" >&5
47968 echo "${ECHO_T}yes" >&6; }
47972 echo "$as_me: failed program was:" >&5
47973 sed 's/^/| /' conftest.$ac_ext >&5
47976 cat >conftest.$ac_ext <<_ACEOF
47979 cat confdefs.h >>conftest.$ac_ext
47980 cat >>conftest.$ac_ext <<_ACEOF
47981 /* end confdefs.h. */
47987 #if !defined(__INTEL_COMPILER) || \
47988 (__INTEL_COMPILER < 800)
47989 There is no PCH support
47996 rm -f conftest.$ac_objext
47997 if { (ac_try="$ac_compile"
47998 case "(($ac_try" in
47999 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
48000 *) ac_try_echo
=$ac_try;;
48002 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
48003 (eval "$ac_compile") 2>conftest.er1
48005 grep -v '^ *+' conftest.er1
>conftest.err
48007 cat conftest.err
>&5
48008 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48009 (exit $ac_status); } && {
48010 test -z "$ac_c_werror_flag" ||
48011 test ! -s conftest.err
48012 } && test -s conftest.
$ac_objext; then
48014 { echo "$as_me:$LINENO: result: yes" >&5
48015 echo "${ECHO_T}yes" >&6; }
48019 echo "$as_me: failed program was:" >&5
48020 sed 's/^/| /' conftest.
$ac_ext >&5
48023 { echo "$as_me:$LINENO: result: no" >&5
48024 echo "${ECHO_T}no" >&6; }
48028 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
48032 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
48033 if test $GCC_PCH = 1 -o $ICC_PCH = 1 ; then
48037 cat <<EOF >bk-make-pch
48040 # This script is part of Bakefile (http://bakefile.sourceforge.net) autoconf
48041 # script. It is used to generated precompiled headers.
48043 # Permission is given to use this file in any way.
48053 while test ${D}{#} -gt 0; do
48057 incdir=\`echo ${D}{1} | sed -e 's/-I\\(.*\\)/\\1/g'\`
48058 if test "x${D}{headerfile}" = "x" -a -f "${D}{incdir}/${D}{header}" ; then
48059 headerfile="${D}{incdir}/${D}{header}"
48062 -use-pch|-use_pch )
48067 if test ${D}add_to_cmdline = 1 ; then
48068 compiler="${D}{compiler} ${D}{1}"
48073 if test "x${D}{headerfile}" = "x" ; then
48074 echo "error: can't find header ${D}{header} in include paths" >&2
48076 if test -f ${D}{outfile} ; then
48077 rm -f ${D}{outfile}
48079 mkdir -p \`dirname ${D}{outfile}\`
48081 depsfile=".deps/\`echo ${D}{outfile} | tr '/.' '__'\`.d"
48083 if test "x${GCC_PCH}" = "x1" ; then
48084 # can do this because gcc is >= 3.4:
48085 ${D}{compiler} -o ${D}{outfile} -MMD -MF "${D}{depsfile}" "${D}{headerfile}"
48086 elif test "x${ICC_PCH}" = "x1" ; then
48087 filename=pch_gen-${D}${D}
48088 file=${D}{filename}.c
48089 dfile=${D}{filename}.d
48090 cat > ${D}file <<EOT
48091 #include "${D}header"
48093 # using -MF icc complains about differing command lines in creation/use
48094 ${D}compiler -c -create_pch ${D}outfile -MMD ${D}file && \\
48095 sed -e "s,^.*:,${D}outfile:," -e "s, ${D}file,," < ${D}dfile > ${D}depsfile && \\
48096 rm -f ${D}file ${D}dfile ${D}{filename}.o
48102 chmod +x bk
-make-pch
48103 BK_MAKE_PCH
="`pwd`/bk-make-pch"
48112 COND_BUILD_DEBUG
="#"
48113 if test "x$BUILD" = "xdebug" ; then
48114 COND_BUILD_DEBUG
=""
48117 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT
="#"
48118 if test "x$BUILD" = "xdebug" -a "x$DEBUG_FLAG" = "xdefault" ; then
48119 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT
=""
48122 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT
="#"
48123 if test "x$BUILD" = "xdebug" -a "x$DEBUG_INFO" = "xdefault" ; then
48124 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT
=""
48127 COND_BUILD_DEBUG_UNICODE_0
="#"
48128 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x0" ; then
48129 COND_BUILD_DEBUG_UNICODE_0
=""
48132 COND_BUILD_DEBUG_UNICODE_1
="#"
48133 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x1" ; then
48134 COND_BUILD_DEBUG_UNICODE_1
=""
48137 COND_BUILD_RELEASE
="#"
48138 if test "x$BUILD" = "xrelease" ; then
48139 COND_BUILD_RELEASE
=""
48142 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT
="#"
48143 if test "x$BUILD" = "xrelease" -a "x$DEBUG_INFO" = "xdefault" ; then
48144 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT
=""
48147 COND_BUILD_RELEASE_UNICODE_0
="#"
48148 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x0" ; then
48149 COND_BUILD_RELEASE_UNICODE_0
=""
48152 COND_BUILD_RELEASE_UNICODE_1
="#"
48153 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x1" ; then
48154 COND_BUILD_RELEASE_UNICODE_1
=""
48157 COND_DEBUG_FLAG_1
="#"
48158 if test "x$DEBUG_FLAG" = "x1" ; then
48159 COND_DEBUG_FLAG_1
=""
48162 COND_DEBUG_INFO_0
="#"
48163 if test "x$DEBUG_INFO" = "x0" ; then
48164 COND_DEBUG_INFO_0
=""
48167 COND_DEBUG_INFO_1
="#"
48168 if test "x$DEBUG_INFO" = "x1" ; then
48169 COND_DEBUG_INFO_1
=""
48172 COND_DEPS_TRACKING_0
="#"
48173 if test "x$DEPS_TRACKING" = "x0" ; then
48174 COND_DEPS_TRACKING_0
=""
48177 COND_DEPS_TRACKING_1
="#"
48178 if test "x$DEPS_TRACKING" = "x1" ; then
48179 COND_DEPS_TRACKING_1
=""
48183 if test "x$GCC_PCH" = "x1" ; then
48188 if test "x$ICC_PCH" = "x1" ; then
48192 COND_MONOLITHIC_0
="#"
48193 if test "x$MONOLITHIC" = "x0" ; then
48194 COND_MONOLITHIC_0
=""
48197 COND_MONOLITHIC_0_SHARED_0
="#"
48198 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" ; then
48199 COND_MONOLITHIC_0_SHARED_0
=""
48202 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1
="#"
48203 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_AUI" = "x1" ; then
48204 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1
=""
48207 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1
="#"
48208 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" ; then
48209 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1
=""
48212 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1
="#"
48213 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
48214 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1
=""
48217 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1
="#"
48218 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
48219 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1
=""
48222 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1
="#"
48223 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_ODBC" = "x1" ; then
48224 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1
=""
48227 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1
="#"
48228 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_QA" = "x1" ; then
48229 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1
=""
48232 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1
="#"
48233 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_ODBC" = "x1" ; then
48234 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1
=""
48237 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1
="#"
48238 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_RICHTEXT" = "x1" ; then
48239 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1
=""
48242 COND_MONOLITHIC_0_SHARED_0_USE_STC_1
="#"
48243 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_STC" = "x1" ; then
48244 COND_MONOLITHIC_0_SHARED_0_USE_STC_1
=""
48247 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1
="#"
48248 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_XRC" = "x1" ; then
48249 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1
=""
48252 COND_MONOLITHIC_0_SHARED_1
="#"
48253 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" ; then
48254 COND_MONOLITHIC_0_SHARED_1
=""
48257 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1
="#"
48258 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_AUI" = "x1" ; then
48259 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1
=""
48262 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1
="#"
48263 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" ; then
48264 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1
=""
48267 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1
="#"
48268 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
48269 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1
=""
48272 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1
="#"
48273 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
48274 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1
=""
48277 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1
="#"
48278 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_ODBC" = "x1" ; then
48279 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1
=""
48282 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1
="#"
48283 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_QA" = "x1" ; then
48284 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1
=""
48287 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1
="#"
48288 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_ODBC" = "x1" ; then
48289 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1
=""
48292 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1
="#"
48293 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_RICHTEXT" = "x1" ; then
48294 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1
=""
48297 COND_MONOLITHIC_0_SHARED_1_USE_STC_1
="#"
48298 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_STC" = "x1" ; then
48299 COND_MONOLITHIC_0_SHARED_1_USE_STC_1
=""
48302 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1
="#"
48303 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_XRC" = "x1" ; then
48304 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1
=""
48307 COND_MONOLITHIC_0_USE_AUI_1
="#"
48308 if test "x$MONOLITHIC" = "x0" -a "x$USE_AUI" = "x1" ; then
48309 COND_MONOLITHIC_0_USE_AUI_1
=""
48312 COND_MONOLITHIC_0_USE_GUI_1
="#"
48313 if test "x$MONOLITHIC" = "x0" -a "x$USE_GUI" = "x1" ; then
48314 COND_MONOLITHIC_0_USE_GUI_1
=""
48317 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1
="#"
48318 if test "x$MONOLITHIC" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
48319 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1
=""
48322 COND_MONOLITHIC_0_USE_GUI_1_USE_ODBC_1
="#"
48323 if test "x$MONOLITHIC" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_ODBC" = "x1" ; then
48324 COND_MONOLITHIC_0_USE_GUI_1_USE_ODBC_1
=""
48327 COND_MONOLITHIC_0_USE_HTML_1
="#"
48328 if test "x$MONOLITHIC" = "x0" -a "x$USE_HTML" = "x1" ; then
48329 COND_MONOLITHIC_0_USE_HTML_1
=""
48332 COND_MONOLITHIC_0_USE_MEDIA_1
="#"
48333 if test "x$MONOLITHIC" = "x0" -a "x$USE_MEDIA" = "x1" ; then
48334 COND_MONOLITHIC_0_USE_MEDIA_1
=""
48337 COND_MONOLITHIC_0_USE_ODBC_1
="#"
48338 if test "x$MONOLITHIC" = "x0" -a "x$USE_ODBC" = "x1" ; then
48339 COND_MONOLITHIC_0_USE_ODBC_1
=""
48342 COND_MONOLITHIC_0_USE_QA_1
="#"
48343 if test "x$MONOLITHIC" = "x0" -a "x$USE_QA" = "x1" ; then
48344 COND_MONOLITHIC_0_USE_QA_1
=""
48347 COND_MONOLITHIC_0_USE_RICHTEXT_1
="#"
48348 if test "x$MONOLITHIC" = "x0" -a "x$USE_RICHTEXT" = "x1" ; then
48349 COND_MONOLITHIC_0_USE_RICHTEXT_1
=""
48352 COND_MONOLITHIC_0_USE_STC_1
="#"
48353 if test "x$MONOLITHIC" = "x0" -a "x$USE_STC" = "x1" ; then
48354 COND_MONOLITHIC_0_USE_STC_1
=""
48357 COND_MONOLITHIC_0_USE_XRC_1
="#"
48358 if test "x$MONOLITHIC" = "x0" -a "x$USE_XRC" = "x1" ; then
48359 COND_MONOLITHIC_0_USE_XRC_1
=""
48362 COND_MONOLITHIC_1
="#"
48363 if test "x$MONOLITHIC" = "x1" ; then
48364 COND_MONOLITHIC_1
=""
48367 COND_MONOLITHIC_1_SHARED_0
="#"
48368 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x0" ; then
48369 COND_MONOLITHIC_1_SHARED_0
=""
48372 COND_MONOLITHIC_1_SHARED_1
="#"
48373 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x1" ; then
48374 COND_MONOLITHIC_1_SHARED_1
=""
48377 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1
="#"
48378 if test "x$OFFICIAL_BUILD" = "x0" -a "x$PLATFORM_WIN32" = "x1" ; then
48379 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1
=""
48382 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1
="#"
48383 if test "x$OFFICIAL_BUILD" = "x1" -a "x$PLATFORM_WIN32" = "x1" ; then
48384 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1
=""
48387 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1
="#"
48388 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERCYGWIN" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
48389 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1
=""
48392 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1
="#"
48393 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
48394 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1
=""
48397 COND_PLATFORM_MACOSX_1
="#"
48398 if test "x$PLATFORM_MACOSX" = "x1" ; then
48399 COND_PLATFORM_MACOSX_1
=""
48402 COND_PLATFORM_MACOSX_1_TOOLKIT_
="#"
48403 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "x" ; then
48404 COND_PLATFORM_MACOSX_1_TOOLKIT_
=""
48407 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA
="#"
48408 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xCOCOA" ; then
48409 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA
=""
48412 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK
="#"
48413 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xGTK" ; then
48414 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK
=""
48417 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC
="#"
48418 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMAC" ; then
48419 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC
=""
48422 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1
="#"
48423 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" ; then
48424 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1
=""
48427 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF
="#"
48428 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMOTIF" ; then
48429 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF
=""
48432 COND_PLATFORM_MACOSX_1_TOOLKIT_X11
="#"
48433 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xX11" ; then
48434 COND_PLATFORM_MACOSX_1_TOOLKIT_X11
=""
48437 COND_PLATFORM_MACOSX_1_USE_GUI_1
="#"
48438 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_GUI" = "x1" ; then
48439 COND_PLATFORM_MACOSX_1_USE_GUI_1
=""
48442 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1
="#"
48443 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
48444 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1
=""
48447 COND_PLATFORM_MACOS_1
="#"
48448 if test "x$PLATFORM_MACOS" = "x1" ; then
48449 COND_PLATFORM_MACOS_1
=""
48452 COND_PLATFORM_MAC_1
="#"
48453 if test "x$PLATFORM_MAC" = "x1" ; then
48454 COND_PLATFORM_MAC_1
=""
48457 COND_PLATFORM_MSDOS_0
="#"
48458 if test "x$PLATFORM_MSDOS" = "x0" ; then
48459 COND_PLATFORM_MSDOS_0
=""
48462 COND_PLATFORM_MSDOS_1
="#"
48463 if test "x$PLATFORM_MSDOS" = "x1" ; then
48464 COND_PLATFORM_MSDOS_1
=""
48467 COND_PLATFORM_OS2_1
="#"
48468 if test "x$PLATFORM_OS2" = "x1" ; then
48469 COND_PLATFORM_OS2_1
=""
48472 COND_PLATFORM_UNIX_0
="#"
48473 if test "x$PLATFORM_UNIX" = "x0" ; then
48474 COND_PLATFORM_UNIX_0
=""
48477 COND_PLATFORM_UNIX_1
="#"
48478 if test "x$PLATFORM_UNIX" = "x1" ; then
48479 COND_PLATFORM_UNIX_1
=""
48482 COND_PLATFORM_UNIX_1_TOOLKIT_MGL
="#"
48483 if test "x$PLATFORM_UNIX" = "x1" -a "x$TOOLKIT" = "xMGL" ; then
48484 COND_PLATFORM_UNIX_1_TOOLKIT_MGL
=""
48487 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1
="#"
48488 if test "x$PLATFORM_UNIX" = "x1" -a "x$TOOLKIT" = "xMGL" -a "x$USE_GUI" = "x1" ; then
48489 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1
=""
48492 COND_PLATFORM_UNIX_1_USE_GUI_1
="#"
48493 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_GUI" = "x1" ; then
48494 COND_PLATFORM_UNIX_1_USE_GUI_1
=""
48497 COND_PLATFORM_UNIX_1_USE_PLUGINS_0
="#"
48498 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_PLUGINS" = "x0" ; then
48499 COND_PLATFORM_UNIX_1_USE_PLUGINS_0
=""
48502 COND_PLATFORM_WIN32_0
="#"
48503 if test "x$PLATFORM_WIN32" = "x0" ; then
48504 COND_PLATFORM_WIN32_0
=""
48507 COND_PLATFORM_WIN32_1
="#"
48508 if test "x$PLATFORM_WIN32" = "x1" ; then
48509 COND_PLATFORM_WIN32_1
=""
48513 if test "x$SHARED" = "x0" ; then
48517 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0
="#"
48518 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMAC" -a "x$WXUNIV" = "x0" ; then
48519 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0
=""
48522 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0
="#"
48523 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
48524 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0
=""
48527 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0
="#"
48528 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xPM" -a "x$WXUNIV" = "x0" ; then
48529 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0
=""
48532 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1
="#"
48533 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
48534 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1
=""
48537 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
="#"
48538 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
48539 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
=""
48542 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
="#"
48543 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
48544 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
=""
48547 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
="#"
48548 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
48549 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
=""
48552 COND_SHARED_0_USE_STC_1
="#"
48553 if test "x$SHARED" = "x0" -a "x$USE_STC" = "x1" ; then
48554 COND_SHARED_0_USE_STC_1
=""
48557 COND_SHARED_0_USE_XRC_1
="#"
48558 if test "x$SHARED" = "x0" -a "x$USE_XRC" = "x1" ; then
48559 COND_SHARED_0_USE_XRC_1
=""
48562 COND_SHARED_0_WXUSE_EXPAT_BUILTIN
="#"
48563 if test "x$SHARED" = "x0" -a "x$wxUSE_EXPAT" = "xbuiltin" ; then
48564 COND_SHARED_0_WXUSE_EXPAT_BUILTIN
=""
48567 COND_SHARED_0_WXUSE_ODBC_BUILTIN
="#"
48568 if test "x$SHARED" = "x0" -a "x$wxUSE_ODBC" = "xbuiltin" ; then
48569 COND_SHARED_0_WXUSE_ODBC_BUILTIN
=""
48572 COND_SHARED_0_WXUSE_REGEX_BUILTIN
="#"
48573 if test "x$SHARED" = "x0" -a "x$wxUSE_REGEX" = "xbuiltin" ; then
48574 COND_SHARED_0_WXUSE_REGEX_BUILTIN
=""
48577 COND_SHARED_0_WXUSE_ZLIB_BUILTIN
="#"
48578 if test "x$SHARED" = "x0" -a "x$wxUSE_ZLIB" = "xbuiltin" ; then
48579 COND_SHARED_0_WXUSE_ZLIB_BUILTIN
=""
48583 if test "x$SHARED" = "x1" ; then
48587 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1
="#"
48588 if test "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
48589 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1
=""
48592 COND_SHARED_1_USE_XRC_1
="#"
48593 if test "x$SHARED" = "x1" -a "x$USE_XRC" = "x1" ; then
48594 COND_SHARED_1_USE_XRC_1
=""
48598 if test "x$TOOLKIT" = "x" ; then
48602 COND_TOOLKIT_COCOA
="#"
48603 if test "x$TOOLKIT" = "xCOCOA" ; then
48604 COND_TOOLKIT_COCOA
=""
48607 COND_TOOLKIT_COCOA_USE_GUI_1
="#"
48608 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" ; then
48609 COND_TOOLKIT_COCOA_USE_GUI_1
=""
48612 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0
="#"
48613 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
48614 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0
=""
48617 COND_TOOLKIT_DFB
="#"
48618 if test "x$TOOLKIT" = "xDFB" ; then
48619 COND_TOOLKIT_DFB
=""
48622 COND_TOOLKIT_DFB_USE_GUI_1
="#"
48623 if test "x$TOOLKIT" = "xDFB" -a "x$USE_GUI" = "x1" ; then
48624 COND_TOOLKIT_DFB_USE_GUI_1
=""
48627 COND_TOOLKIT_GTK
="#"
48628 if test "x$TOOLKIT" = "xGTK" ; then
48629 COND_TOOLKIT_GTK
=""
48632 COND_TOOLKIT_GTK_TOOLKIT_VERSION_
="#"
48633 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" ; then
48634 COND_TOOLKIT_GTK_TOOLKIT_VERSION_
=""
48637 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2
="#"
48638 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" ; then
48639 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2
=""
48642 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1
="#"
48643 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" ; then
48644 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1
=""
48647 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0
="#"
48648 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
48649 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0
=""
48652 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1
="#"
48653 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" -a "x$USE_GUI" = "x1" ; then
48654 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1
=""
48657 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0
="#"
48658 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
48659 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0
=""
48662 COND_TOOLKIT_GTK_USE_GUI_1
="#"
48663 if test "x$TOOLKIT" = "xGTK" -a "x$USE_GUI" = "x1" ; then
48664 COND_TOOLKIT_GTK_USE_GUI_1
=""
48667 COND_TOOLKIT_MAC
="#"
48668 if test "x$TOOLKIT" = "xMAC" ; then
48669 COND_TOOLKIT_MAC
=""
48672 COND_TOOLKIT_MAC_USE_GUI_1
="#"
48673 if test "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" ; then
48674 COND_TOOLKIT_MAC_USE_GUI_1
=""
48677 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0
="#"
48678 if test "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
48679 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0
=""
48682 COND_TOOLKIT_MGL
="#"
48683 if test "x$TOOLKIT" = "xMGL" ; then
48684 COND_TOOLKIT_MGL
=""
48687 COND_TOOLKIT_MGL_USE_GUI_1
="#"
48688 if test "x$TOOLKIT" = "xMGL" -a "x$USE_GUI" = "x1" ; then
48689 COND_TOOLKIT_MGL_USE_GUI_1
=""
48692 COND_TOOLKIT_MOTIF
="#"
48693 if test "x$TOOLKIT" = "xMOTIF" ; then
48694 COND_TOOLKIT_MOTIF
=""
48697 COND_TOOLKIT_MOTIF_USE_GUI_1
="#"
48698 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" ; then
48699 COND_TOOLKIT_MOTIF_USE_GUI_1
=""
48702 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0
="#"
48703 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
48704 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0
=""
48707 COND_TOOLKIT_MSW
="#"
48708 if test "x$TOOLKIT" = "xMSW" ; then
48709 COND_TOOLKIT_MSW
=""
48712 COND_TOOLKIT_MSW_USE_GUI_1
="#"
48713 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" ; then
48714 COND_TOOLKIT_MSW_USE_GUI_1
=""
48717 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0
="#"
48718 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
48719 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0
=""
48722 COND_TOOLKIT_MSW_WXUNIV_0
="#"
48723 if test "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
48724 COND_TOOLKIT_MSW_WXUNIV_0
=""
48727 COND_TOOLKIT_PM
="#"
48728 if test "x$TOOLKIT" = "xPM" ; then
48732 COND_TOOLKIT_PM_USE_GUI_1
="#"
48733 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" ; then
48734 COND_TOOLKIT_PM_USE_GUI_1
=""
48737 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0
="#"
48738 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
48739 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0
=""
48742 COND_TOOLKIT_WINCE
="#"
48743 if test "x$TOOLKIT" = "xWINCE" ; then
48744 COND_TOOLKIT_WINCE
=""
48747 COND_TOOLKIT_WINCE_USE_GUI_1
="#"
48748 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" ; then
48749 COND_TOOLKIT_WINCE_USE_GUI_1
=""
48752 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0
="#"
48753 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
48754 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0
=""
48757 COND_TOOLKIT_WINCE_WXUNIV_0
="#"
48758 if test "x$TOOLKIT" = "xWINCE" -a "x$WXUNIV" = "x0" ; then
48759 COND_TOOLKIT_WINCE_WXUNIV_0
=""
48762 COND_TOOLKIT_X11
="#"
48763 if test "x$TOOLKIT" = "xX11" ; then
48764 COND_TOOLKIT_X11
=""
48767 COND_TOOLKIT_X11_USE_GUI_1
="#"
48768 if test "x$TOOLKIT" = "xX11" -a "x$USE_GUI" = "x1" ; then
48769 COND_TOOLKIT_X11_USE_GUI_1
=""
48773 if test "x$UNICODE" = "x1" ; then
48777 COND_USE_EXCEPTIONS_0
="#"
48778 if test "x$USE_EXCEPTIONS" = "x0" ; then
48779 COND_USE_EXCEPTIONS_0
=""
48782 COND_USE_EXCEPTIONS_1
="#"
48783 if test "x$USE_EXCEPTIONS" = "x1" ; then
48784 COND_USE_EXCEPTIONS_1
=""
48788 if test "x$USE_GUI" = "x0" ; then
48793 if test "x$USE_GUI" = "x1" ; then
48797 COND_USE_GUI_1_USE_OPENGL_1
="#"
48798 if test "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
48799 COND_USE_GUI_1_USE_OPENGL_1
=""
48802 COND_USE_GUI_1_WXUNIV_0
="#"
48803 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
48804 COND_USE_GUI_1_WXUNIV_0
=""
48807 COND_USE_GUI_1_WXUNIV_1
="#"
48808 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x1" ; then
48809 COND_USE_GUI_1_WXUNIV_1
=""
48812 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
="#"
48813 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
48814 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
=""
48817 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
="#"
48818 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
48819 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
=""
48822 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
="#"
48823 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
48824 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
=""
48827 COND_USE_ODBC_1
="#"
48828 if test "x$USE_ODBC" = "x1" ; then
48832 COND_USE_OPENGL_1
="#"
48833 if test "x$USE_OPENGL" = "x1" ; then
48834 COND_USE_OPENGL_1
=""
48838 if test "x$USE_PCH" = "x1" ; then
48842 COND_USE_PLUGINS_0
="#"
48843 if test "x$USE_PLUGINS" = "x0" ; then
48844 COND_USE_PLUGINS_0
=""
48847 COND_USE_RTTI_0
="#"
48848 if test "x$USE_RTTI" = "x0" ; then
48852 COND_USE_RTTI_1
="#"
48853 if test "x$USE_RTTI" = "x1" ; then
48857 COND_USE_SOSYMLINKS_1
="#"
48858 if test "x$USE_SOSYMLINKS" = "x1" ; then
48859 COND_USE_SOSYMLINKS_1
=""
48862 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1
="#"
48863 if test "x$USE_SOVERCYGWIN" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
48864 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1
=""
48867 COND_USE_SOVERLINUX_1
="#"
48868 if test "x$USE_SOVERLINUX" = "x1" ; then
48869 COND_USE_SOVERLINUX_1
=""
48872 COND_USE_SOVERSION_0
="#"
48873 if test "x$USE_SOVERSION" = "x0" ; then
48874 COND_USE_SOVERSION_0
=""
48877 COND_USE_SOVERSOLARIS_1
="#"
48878 if test "x$USE_SOVERSOLARIS" = "x1" ; then
48879 COND_USE_SOVERSOLARIS_1
=""
48883 if test "x$USE_STC" = "x1" ; then
48887 COND_USE_THREADS_0
="#"
48888 if test "x$USE_THREADS" = "x0" ; then
48889 COND_USE_THREADS_0
=""
48892 COND_USE_THREADS_1
="#"
48893 if test "x$USE_THREADS" = "x1" ; then
48894 COND_USE_THREADS_1
=""
48898 if test "x$USE_XRC" = "x1" ; then
48902 COND_WINDOWS_IMPLIB_1
="#"
48903 if test "x$WINDOWS_IMPLIB" = "x1" ; then
48904 COND_WINDOWS_IMPLIB_1
=""
48907 COND_WITH_PLUGIN_SDL_1
="#"
48908 if test "x$WITH_PLUGIN_SDL" = "x1" ; then
48909 COND_WITH_PLUGIN_SDL_1
=""
48913 if test "x$WXUNIV" = "x0" ; then
48918 if test "x$WXUNIV" = "x1" ; then
48922 COND_WXUSE_EXPAT_BUILTIN
="#"
48923 if test "x$wxUSE_EXPAT" = "xbuiltin" ; then
48924 COND_WXUSE_EXPAT_BUILTIN
=""
48927 COND_WXUSE_LIBJPEG_BUILTIN
="#"
48928 if test "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
48929 COND_WXUSE_LIBJPEG_BUILTIN
=""
48932 COND_WXUSE_LIBPNG_BUILTIN
="#"
48933 if test "x$wxUSE_LIBPNG" = "xbuiltin" ; then
48934 COND_WXUSE_LIBPNG_BUILTIN
=""
48937 COND_WXUSE_LIBTIFF_BUILTIN
="#"
48938 if test "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
48939 COND_WXUSE_LIBTIFF_BUILTIN
=""
48942 COND_WXUSE_ODBC_BUILTIN
="#"
48943 if test "x$wxUSE_ODBC" = "xbuiltin" ; then
48944 COND_WXUSE_ODBC_BUILTIN
=""
48947 COND_WXUSE_REGEX_BUILTIN
="#"
48948 if test "x$wxUSE_REGEX" = "xbuiltin" ; then
48949 COND_WXUSE_REGEX_BUILTIN
=""
48952 COND_WXUSE_ZLIB_BUILTIN
="#"
48953 if test "x$wxUSE_ZLIB" = "xbuiltin" ; then
48954 COND_WXUSE_ZLIB_BUILTIN
=""
48959 if test "$BAKEFILE_AUTOCONF_INC_M4_VERSION" = "" ; then
48960 { { 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
48961 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;}
48962 { (exit 1); exit 1; }; }
48965 if test "$BAKEFILE_BAKEFILE_M4_VERSION" != "$BAKEFILE_AUTOCONF_INC_M4_VERSION" ; then
48966 { { 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
48967 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;}
48968 { (exit 1); exit 1; }; }
48972 if test $GCC_PCH = 1
48974 if test "$wx_cv_gcc_pch_bug" = yes; then
48975 { echo "$as_me:$LINENO: WARNING: *** Precompiled header support is broken on this compiler" >&5
48976 echo "$as_me: WARNING: *** Precompiled header support is broken on this compiler" >&2;}
48977 { echo "$as_me:$LINENO: WARNING: *** --enable-precomp-headers is not recommended" >&5
48978 echo "$as_me: WARNING: *** --enable-precomp-headers is not recommended" >&2;}
48979 { echo "$as_me:$LINENO: WARNING: *** see http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13361" >&5
48980 echo "$as_me: WARNING: *** see http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13361" >&2;}
48983 CPPFLAGS
="-DWX_PRECOMP $CPPFLAGS"
48987 if test "$wxUSE_MAC" = 1 ; then
48988 if test "x$wxUSE_UNIVERSAL_BINARY" != "xno" ; then
48989 sed "s/DEPSMODE=gcc/DEPSMODE=none/" < bk
-deps > temp
48995 if test "$wxUSE_SHARED" = "yes"; then
48997 sanitised_bakefile_mess
=`echo "$SHARED_LD_CXX" | tr -d '()'`
48998 EXE_LINKER
=`eval echo "$sanitised_bakefile_mess"`
49001 *-pc-os2_emx | *-pc-os2-emx )
49002 SHARED_LD_CC
="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
49003 SHARED_LD_CXX
="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
49004 cp -p ${srcdir}/src
/os
2/dllnames.sh .
49005 cp -p ${srcdir}/src
/os
2/dllar.sh .
49010 EXE_LINKER
="$CXX -o"
49013 if test "$wxUSE_OMF" = "yes"; then
49015 *-pc-os2_emx | *-pc-os2-emx )
49016 LDFLAGS
="$LDFLAGS -Zlinker /EXEPACK"
49017 LDFLAGS_GUI
="-Zlinker /PMTYPE:PM"
49018 WXCONFIG_LDFLAGS_GUI
="-Zlinker /PMTYPE:PM"
49023 WXCONFIG_CPPFLAGS
="$WXCONFIG_CPPFLAGS $TOOLCHAIN_DEFS"
49025 SAMPLES_SUBDIRS
="`echo $SAMPLES_SUBDIRS | tr -s ' ' | tr ' ' '\n' | sort | uniq | tr '\n' ' '| tr -d '\r'`"
49087 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
49088 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
49089 set x
${MAKE-make}; ac_make
=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
49090 if { as_var
=ac_cv_prog_make_
${ac_make}_set
; eval "test \"\${$as_var+set}\" = set"; }; then
49091 echo $ECHO_N "(cached) $ECHO_C" >&6
49093 cat >conftest.
make <<\_ACEOF
49096 @
echo '@@@%%%=$(MAKE)=@@@%%%'
49098 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
49099 case `${MAKE-make} -f conftest.make 2>/dev/null` in
49100 *@@@
%%%=?
*=@@@
%%%*)
49101 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
49103 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
49105 rm -f conftest.
make
49107 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
49108 { echo "$as_me:$LINENO: result: yes" >&5
49109 echo "${ECHO_T}yes" >&6; }
49112 { echo "$as_me:$LINENO: result: no" >&5
49113 echo "${ECHO_T}no" >&6; }
49114 SET_MAKE
="MAKE=${MAKE-make}"
49119 ac_config_headers
="$ac_config_headers lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in"
49122 if test "$USE_WIN32" = 1; then
49123 ac_config_commands
="$ac_config_commands
49129 ac_config_files
="$ac_config_files lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in"
49132 ac_config_files
="$ac_config_files lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in"
49135 if test "$wx_cv_version_script" = "yes"; then
49136 ac_config_files
="$ac_config_files version-script"
49139 ac_config_files
="$ac_config_files Makefile"
49142 ac_config_commands
="$ac_config_commands wx-config"
49146 if test "$wxWITH_SUBDIRS" != "no"; then
49147 if test "$wxUSE_GUI" = "yes"; then
49148 SUBDIRS
="samples demos utils"
49149 else SUBDIRS
="samples utils"
49154 # Check whether --with-cppunit-prefix was given.
49155 if test "${with_cppunit_prefix+set}" = set; then
49156 withval
=$with_cppunit_prefix; cppunit_config_prefix
="$withval"
49158 cppunit_config_prefix
=""
49162 # Check whether --with-cppunit-exec-prefix was given.
49163 if test "${with_cppunit_exec_prefix+set}" = set; then
49164 withval
=$with_cppunit_exec_prefix; cppunit_config_exec_prefix
="$withval"
49166 cppunit_config_exec_prefix
=""
49170 if test x
$cppunit_config_exec_prefix != x
; then
49171 cppunit_config_args
="$cppunit_config_args --exec-prefix=$cppunit_config_exec_prefix"
49172 if test x
${CPPUNIT_CONFIG+set} != xset
; then
49173 CPPUNIT_CONFIG
=$cppunit_config_exec_prefix/bin
/cppunit
-config
49176 if test x
$cppunit_config_prefix != x
; then
49177 cppunit_config_args
="$cppunit_config_args --prefix=$cppunit_config_prefix"
49178 if test x
${CPPUNIT_CONFIG+set} != xset
; then
49179 CPPUNIT_CONFIG
=$cppunit_config_prefix/bin
/cppunit
-config
49183 # Extract the first word of "cppunit-config", so it can be a program name with args.
49184 set dummy cppunit
-config; ac_word
=$2
49185 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49186 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49187 if test "${ac_cv_path_CPPUNIT_CONFIG+set}" = set; then
49188 echo $ECHO_N "(cached) $ECHO_C" >&6
49190 case $CPPUNIT_CONFIG in
49192 ac_cv_path_CPPUNIT_CONFIG
="$CPPUNIT_CONFIG" # Let the user override the test with a path.
49195 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
49196 for as_dir
in $PATH
49199 test -z "$as_dir" && as_dir
=.
49200 for ac_exec_ext
in '' $ac_executable_extensions; do
49201 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49202 ac_cv_path_CPPUNIT_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
49203 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49210 test -z "$ac_cv_path_CPPUNIT_CONFIG" && ac_cv_path_CPPUNIT_CONFIG
="no"
49214 CPPUNIT_CONFIG
=$ac_cv_path_CPPUNIT_CONFIG
49215 if test -n "$CPPUNIT_CONFIG"; then
49216 { echo "$as_me:$LINENO: result: $CPPUNIT_CONFIG" >&5
49217 echo "${ECHO_T}$CPPUNIT_CONFIG" >&6; }
49219 { echo "$as_me:$LINENO: result: no" >&5
49220 echo "${ECHO_T}no" >&6; }
49224 cppunit_version_min
=1.8.0
49226 { echo "$as_me:$LINENO: checking for Cppunit - version >= $cppunit_version_min" >&5
49227 echo $ECHO_N "checking for Cppunit - version >= $cppunit_version_min... $ECHO_C" >&6; }
49229 if test "$CPPUNIT_CONFIG" = "no" ; then
49230 { echo "$as_me:$LINENO: result: no" >&5
49231 echo "${ECHO_T}no" >&6; }
49234 CPPUNIT_CFLAGS
=`$CPPUNIT_CONFIG --cflags`
49235 CPPUNIT_LIBS
=`$CPPUNIT_CONFIG --libs`
49236 cppunit_version
=`$CPPUNIT_CONFIG --version`
49238 cppunit_major_version
=`echo $cppunit_version | \
49239 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
49240 cppunit_minor_version
=`echo $cppunit_version | \
49241 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
49242 cppunit_micro_version
=`echo $cppunit_version | \
49243 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
49245 cppunit_major_min
=`echo $cppunit_version_min | \
49246 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
49247 cppunit_minor_min
=`echo $cppunit_version_min | \
49248 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
49249 cppunit_micro_min
=`echo $cppunit_version_min | \
49250 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
49252 cppunit_version_proper
=`expr \
49253 $cppunit_major_version \> $cppunit_major_min \| \
49254 $cppunit_major_version \= $cppunit_major_min \& \
49255 $cppunit_minor_version \> $cppunit_minor_min \| \
49256 $cppunit_major_version \= $cppunit_major_min \& \
49257 $cppunit_minor_version \= $cppunit_minor_min \& \
49258 $cppunit_micro_version \>= $cppunit_micro_min `
49260 if test "$cppunit_version_proper" = "1" ; then
49261 { echo "$as_me:$LINENO: result: $cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&5
49262 echo "${ECHO_T}$cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&6; }
49264 { echo "$as_me:$LINENO: result: no" >&5
49265 echo "${ECHO_T}no" >&6; }
49270 if test "x$no_cppunit" = x
; then
49271 SUBDIRS
="$SUBDIRS tests"
49282 for subdir
in `echo $SUBDIRS`; do
49283 if test -d ${srcdir}/${subdir} ; then
49284 if test "$wxUSE_GUI" = "yes"; then
49285 if test ${subdir} = "samples"; then
49286 makefiles
="samples/Makefile.in $makefiles"
49287 for sample
in `echo $SAMPLES_SUBDIRS`; do
49288 if test -d $srcdir/samples
/$sample; then
49289 makefiles
="samples/$sample/Makefile.in $makefiles"
49293 disabled_var
=DISABLED_
`echo $subdir | tr [a-z] [A-Z]`;
49294 eval "disabled=\$$disabled_var"
49295 disabled
=/`echo X $disabled | sed 's@ @/|/@g'`/
49296 makefiles
=`(cd $srcdir ; find $subdir -name Makefile.in) | $EGREP -v "$disabled"`
49298 else if test ${subdir} = "samples"; then
49299 makefiles
="samples/Makefile.in samples/console/Makefile.in"
49300 elif test ${subdir} = "utils"; then
49302 for util
in HelpGen tex2rtf
; do
49303 if test -d $srcdir/utils
/$util ; then
49304 makefiles
="utils/$util/Makefile.in \
49305 utils/$util/src/Makefile.in \
49309 else makefiles
=`(cd $srcdir ; find $subdir -name Makefile.in)`
49313 for mkin
in $makefiles ; do
49314 mk
=`echo $mkin | sed 's/Makefile\.in/Makefile/g'`
49315 ac_config_files
="$ac_config_files $mk"
49321 cat >confcache
<<\_ACEOF
49322 # This file is a shell script that caches the results of configure
49323 # tests run on this system so they can be shared between configure
49324 # scripts and configure runs, see configure's option --config-cache.
49325 # It is not useful on other systems. If it contains results you don't
49326 # want to keep, you may remove or edit it.
49328 # config.status only pays attention to the cache file if you give it
49329 # the --recheck option to rerun configure.
49331 # `ac_cv_env_foo' variables (set or unset) will be overridden when
49332 # loading this file, other *unset* `ac_cv_foo' will be assigned the
49333 # following values.
49337 # The following way of writing the cache mishandles newlines in values,
49338 # but we know of no workaround that is simple, portable, and efficient.
49339 # So, we kill variables containing newlines.
49340 # Ultrix sh set writes to stderr and can't be redirected directly,
49341 # and sets the high bit in the cache file unless we assign to the vars.
49343 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
49344 eval ac_val
=\$
$ac_var
49348 *_cv_
*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
49349 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
49352 _
| IFS
| as_nl
) ;; #(
49353 *) $as_unset $ac_var ;;
49359 case $as_nl`(ac_space=' '; set) 2>&1` in #(
49360 *${as_nl}ac_space
=\
*)
49361 # `set' does not quote correctly, so add quotes (double-quote
49362 # substitution turns \\\\ into \\, and sed turns \\ into \).
49365 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
49368 # `set' quotes correctly as required by POSIX, so do not add quotes.
49369 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
49378 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
49380 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
49382 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
49383 if test -w "$cache_file"; then
49384 test "x$cache_file" != "x/dev/null" &&
49385 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
49386 echo "$as_me: updating cache $cache_file" >&6;}
49387 cat confcache
>$cache_file
49389 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
49390 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
49395 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
49396 # Let make expand exec_prefix.
49397 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
49399 DEFS
=-DHAVE_CONFIG_H
49403 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
49404 # 1. Remove the extension, and $U if already installed.
49405 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
49406 ac_i
=`echo "$ac_i" | sed "$ac_script"`
49407 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
49408 # will be set to the directory where LIBOBJS objects are built.
49409 ac_libobjs
="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
49410 ac_ltlibobjs
="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
49412 LIBOBJS
=$ac_libobjs
49414 LTLIBOBJS
=$ac_ltlibobjs
49418 : ${CONFIG_STATUS=./config.status}
49419 ac_clean_files_save
=$ac_clean_files
49420 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
49421 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
49422 echo "$as_me: creating $CONFIG_STATUS" >&6;}
49423 cat >$CONFIG_STATUS <<_ACEOF
49425 # Generated by $as_me.
49426 # Run this file to recreate the current configuration.
49427 # Compiler output produced by configure, useful for debugging
49428 # configure, is in config.log if it exists.
49431 ac_cs_recheck=false
49433 SHELL=\${CONFIG_SHELL-$SHELL}
49436 cat >>$CONFIG_STATUS <<\_ACEOF
49437 ## --------------------- ##
49438 ## M4sh Initialization. ##
49439 ## --------------------- ##
49441 # Be more Bourne compatible
49442 DUALCASE
=1; export DUALCASE
# for MKS sh
49443 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
49446 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
49447 # is contrary to our usage. Disable this feature.
49448 alias -g '${1+"$@"}'='"$@"'
49449 setopt NO_GLOB_SUBST
49451 case `(set -o) 2>/dev/null` in
49452 *posix
*) set -o posix
;;
49461 # Avoid depending upon Character Ranges.
49462 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
49463 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
49464 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
49465 as_cr_digits
='0123456789'
49466 as_cr_alnum
=$as_cr_Letters$as_cr_digits
49468 # The user is always right.
49469 if test "${PATH_SEPARATOR+set}" != set; then
49470 echo "#! /bin/sh" >conf$$.sh
49471 echo "exit 0" >>conf$$.sh
49473 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
49481 # Support unset when possible.
49482 if ( (MAIL
=60; unset MAIL
) || exit) >/dev
/null
2>&1; then
49490 # We need space, tab and new line, in precisely that order. Quoting is
49491 # there to prevent editors from complaining about space-tab.
49492 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
49493 # splitting by setting IFS to empty value.)
49498 # Find who we are. Look in the path if we contain no directory separator.
49500 *[\\/]* ) as_myself
=$0 ;;
49501 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
49502 for as_dir
in $PATH
49505 test -z "$as_dir" && as_dir
=.
49506 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
49512 # We did not find ourselves, most probably we were run as `sh COMMAND'
49513 # in which case we are not to be found in the path.
49514 if test "x$as_myself" = x
; then
49517 if test ! -f "$as_myself"; then
49518 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
49519 { (exit 1); exit 1; }
49522 # Work around bugs in pre-3.0 UWIN ksh.
49523 for as_var
in ENV MAIL MAILPATH
49524 do ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
49532 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
49533 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
49534 LC_TELEPHONE LC_TIME
49536 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
49537 eval $as_var=C
; export $as_var
49539 ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
49543 # Required to use basename.
49544 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
49545 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
49551 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
49552 as_basename
=basename
49558 # Name of the executable.
49559 as_me
=`$as_basename -- "$0" ||
49560 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
49561 X"$0" : 'X\(//\)$' \| \
49562 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
49564 sed '/^.*\/\([^/][^/]*\)\/*$/{
49583 as_lineno_1
=$LINENO
49584 as_lineno_2
=$LINENO
49585 test "x$as_lineno_1" != "x$as_lineno_2" &&
49586 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
49588 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
49589 # uniformly replaced by the line number. The first 'sed' inserts a
49590 # line-number line after each line using $LINENO; the second 'sed'
49591 # does the real work. The second script uses 'N' to pair each
49592 # line-number line with the line containing $LINENO, and appends
49593 # trailing '-' during substitution so that $LINENO is not a special
49594 # case at line end.
49595 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
49596 # scripts with optimization help from Paolo Bonzini. Blame Lee
49597 # E. McMahon (1931-1989) for sed's syntax. :-)
49609 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
49612 ' >$as_me.lineno
&&
49613 chmod +x
"$as_me.lineno" ||
49614 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
49615 { (exit 1); exit 1; }; }
49617 # Don't try to exec as it changes $[0], causing all sort of problems
49618 # (the dirname of $[0] is not the place where we might find the
49619 # original and so on. Autoconf is especially sensitive to this).
49620 .
"./$as_me.lineno"
49621 # Exit status is that of the last command.
49626 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
49632 ECHO_C
= ECHO_N
= ECHO_T
=
49633 case `echo -n x` in
49635 case `echo 'x\c'` in
49636 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
49643 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
49644 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
49650 rm -f conf$$ conf$$.exe conf$$.
file
49651 if test -d conf$$.dir
; then
49652 rm -f conf$$.dir
/conf$$.
file
49658 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
49660 # ... but there are two gotchas:
49661 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
49662 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
49663 # In both cases, we have to default to `cp -p'.
49664 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe
||
49666 elif ln conf$$.
file conf$$
2>/dev
/null
; then
49671 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
49672 rmdir conf$$.dir
2>/dev
/null
49674 if mkdir -p .
2>/dev
/null
; then
49677 test -d .
/-p && rmdir .
/-p
49681 if test -x / >/dev
/null
2>&1; then
49682 as_test_x
='test -x'
49684 if ls -dL / >/dev
/null
2>&1; then
49691 if test -d "$1"; then
49697 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
49698 ???[sx]*):;;*)false;;esac;fi
49702 as_executable_p
=$as_test_x
49704 # Sed expression to map a string onto a valid CPP name.
49705 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
49707 # Sed expression to map a string onto a valid variable name.
49708 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
49713 # Save the log message, to keep $[0] and so on meaningful, and to
49714 # report actual input values of CONFIG_FILES etc. instead of their
49715 # values after options handling.
49717 This file was extended by wxWidgets $as_me 2.9.0, which was
49718 generated by GNU Autoconf 2.61. Invocation command line was
49720 CONFIG_FILES = $CONFIG_FILES
49721 CONFIG_HEADERS = $CONFIG_HEADERS
49722 CONFIG_LINKS = $CONFIG_LINKS
49723 CONFIG_COMMANDS = $CONFIG_COMMANDS
49726 on `(hostname || uname -n) 2>/dev/null | sed 1q`
49731 cat >>$CONFIG_STATUS <<_ACEOF
49732 # Files that config.status was made for.
49733 config_files="$ac_config_files"
49734 config_headers="$ac_config_headers"
49735 config_commands="$ac_config_commands"
49739 cat >>$CONFIG_STATUS <<\_ACEOF
49741 \`$as_me' instantiates files from templates according to the
49742 current configuration.
49744 Usage: $0 [OPTIONS] [FILE]...
49746 -h, --help print this help, then exit
49747 -V, --version print version number and configuration settings, then exit
49748 -q, --quiet do not print progress messages
49749 -d, --debug don't remove temporary files
49750 --recheck update $as_me by reconfiguring in the same conditions
49751 --file=FILE[:TEMPLATE]
49752 instantiate the configuration file FILE
49753 --header=FILE[:TEMPLATE]
49754 instantiate the configuration header FILE
49756 Configuration files:
49759 Configuration headers:
49762 Configuration commands:
49765 Report bugs to <bug-autoconf@gnu.org>."
49768 cat >>$CONFIG_STATUS <<_ACEOF
49770 wxWidgets config.status 2.9.0
49771 configured by $0, generated by GNU Autoconf 2.61,
49772 with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
49774 Copyright (C) 2006 Free Software Foundation, Inc.
49775 This config.status script is free software; the Free Software Foundation
49776 gives unlimited permission to copy, distribute and modify it."
49783 cat >>$CONFIG_STATUS <<\_ACEOF
49784 # If no file are specified by the user, then we need to provide default
49785 # value. By we need to know if files were specified by the user.
49791 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
49792 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
49803 # Handling of the options.
49804 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
49806 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
49807 echo "$ac_cs_version"; exit ;;
49808 --debug | --debu | --deb | --de | --d | -d )
49810 --file | --fil | --fi | --f )
49812 CONFIG_FILES
="$CONFIG_FILES $ac_optarg"
49813 ac_need_defaults
=false
;;
49814 --header | --heade | --head | --hea )
49816 CONFIG_HEADERS
="$CONFIG_HEADERS $ac_optarg"
49817 ac_need_defaults
=false
;;
49819 # Conflict between --help and --header
49820 { echo "$as_me: error: ambiguous option: $1
49821 Try \`$0 --help' for more information." >&2
49822 { (exit 1); exit 1; }; };;
49823 --help | --hel | -h )
49824 echo "$ac_cs_usage"; exit ;;
49825 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
49826 | -silent | --silent | --silen | --sile | --sil | --si | --s)
49829 # This is an error.
49830 -*) { echo "$as_me: error: unrecognized option: $1
49831 Try \`$0 --help' for more information." >&2
49832 { (exit 1); exit 1; }; } ;;
49834 *) ac_config_targets
="$ac_config_targets $1"
49835 ac_need_defaults
=false
;;
49841 ac_configure_extra_args
=
49843 if $ac_cs_silent; then
49845 ac_configure_extra_args
="$ac_configure_extra_args --silent"
49849 cat >>$CONFIG_STATUS <<_ACEOF
49850 if \$ac_cs_recheck; then
49851 echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
49852 CONFIG_SHELL=$SHELL
49853 export CONFIG_SHELL
49854 exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
49858 cat >>$CONFIG_STATUS <<\_ACEOF
49862 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
49863 ## Running $as_me. ##
49869 cat >>$CONFIG_STATUS <<_ACEOF
49875 infile="$srcdir/include/wx/msw/genrcdefs.h"
49876 outdir="lib/wx/include/$TOOLCHAIN_FULLNAME/wx/msw"
49879 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
49880 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
49881 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
49887 cat >>$CONFIG_STATUS <<\_ACEOF
49889 # Handling of arguments.
49890 for ac_config_target
in $ac_config_targets
49892 case $ac_config_target in
49893 "lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h") CONFIG_HEADERS
="$CONFIG_HEADERS lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in" ;;
49894 "rcdefs.h") CONFIG_COMMANDS
="$CONFIG_COMMANDS rcdefs.h" ;;
49895 "lib/wx/config/${TOOLCHAIN_FULLNAME}") CONFIG_FILES
="$CONFIG_FILES lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in" ;;
49896 "lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}") CONFIG_FILES
="$CONFIG_FILES lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in" ;;
49897 "version-script") CONFIG_FILES
="$CONFIG_FILES version-script" ;;
49898 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
49899 "wx-config") CONFIG_COMMANDS
="$CONFIG_COMMANDS wx-config" ;;
49900 "$mk") CONFIG_FILES
="$CONFIG_FILES $mk" ;;
49902 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
49903 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
49904 { (exit 1); exit 1; }; };;
49909 # If the user did not use the arguments to specify the items to instantiate,
49910 # then the envvar interface is used. Set only those that are not.
49911 # We use the long form for the default assignment because of an extremely
49912 # bizarre bug on SunOS 4.1.3.
49913 if $ac_need_defaults; then
49914 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
49915 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
49916 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
49919 # Have a temporary directory for convenience. Make it in the build tree
49920 # simply because there is no reason against having it here, and in addition,
49921 # creating and moving files from /tmp can sometimes cause problems.
49922 # Hook for its removal unless debugging.
49923 # Note that there is a small window in which the directory will not be cleaned:
49924 # after its creation but before its name has been assigned to `$tmp'.
49928 trap 'exit_status=$?
49929 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
49931 trap '{ (exit 1); exit 1; }' 1 2 13 15
49933 # Create a (secure) tmp directory for tmp files.
49936 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
49937 test -n "$tmp" && test -d "$tmp"
49940 tmp
=.
/conf$$
-$RANDOM
49941 (umask 077 && mkdir "$tmp")
49944 echo "$me: cannot create a temporary directory in ." >&2
49945 { (exit 1); exit 1; }
49949 # Set up the sed scripts for CONFIG_FILES section.
49952 # No need to generate the scripts if there are no CONFIG_FILES.
49953 # This happens for instance when ./config.status config.h
49954 if test -n "$CONFIG_FILES"; then
49961 for ac_last_try
in false false false false false
:; do
49962 cat >conf$
$subs.
sed <<_ACEOF
49963 SHELL!$SHELL$ac_delim
49964 PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
49965 PACKAGE_NAME!$PACKAGE_NAME$ac_delim
49966 PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
49967 PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
49968 PACKAGE_STRING!$PACKAGE_STRING$ac_delim
49969 PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
49970 exec_prefix!$exec_prefix$ac_delim
49971 prefix!$prefix$ac_delim
49972 program_transform_name!$program_transform_name$ac_delim
49973 bindir!$bindir$ac_delim
49974 sbindir!$sbindir$ac_delim
49975 libexecdir!$libexecdir$ac_delim
49976 datarootdir!$datarootdir$ac_delim
49977 datadir!$datadir$ac_delim
49978 sysconfdir!$sysconfdir$ac_delim
49979 sharedstatedir!$sharedstatedir$ac_delim
49980 localstatedir!$localstatedir$ac_delim
49981 includedir!$includedir$ac_delim
49982 oldincludedir!$oldincludedir$ac_delim
49983 docdir!$docdir$ac_delim
49984 infodir!$infodir$ac_delim
49985 htmldir!$htmldir$ac_delim
49986 dvidir!$dvidir$ac_delim
49987 pdfdir!$pdfdir$ac_delim
49988 psdir!$psdir$ac_delim
49989 libdir!$libdir$ac_delim
49990 localedir!$localedir$ac_delim
49991 mandir!$mandir$ac_delim
49992 DEFS!$DEFS$ac_delim
49993 ECHO_C!$ECHO_C$ac_delim
49994 ECHO_N!$ECHO_N$ac_delim
49995 ECHO_T!$ECHO_T$ac_delim
49996 LIBS!$LIBS$ac_delim
49997 build_alias!$build_alias$ac_delim
49998 host_alias!$host_alias$ac_delim
49999 target_alias!$target_alias$ac_delim
50000 build!$build$ac_delim
50001 build_cpu!$build_cpu$ac_delim
50002 build_vendor!$build_vendor$ac_delim
50003 build_os!$build_os$ac_delim
50004 host!$host$ac_delim
50005 host_cpu!$host_cpu$ac_delim
50006 host_vendor!$host_vendor$ac_delim
50007 host_os!$host_os$ac_delim
50008 target!$target$ac_delim
50009 target_cpu!$target_cpu$ac_delim
50010 target_vendor!$target_vendor$ac_delim
50011 target_os!$target_os$ac_delim
50012 wx_top_builddir!$wx_top_builddir$ac_delim
50014 CFLAGS!$CFLAGS$ac_delim
50015 LDFLAGS!$LDFLAGS$ac_delim
50016 CPPFLAGS!$CPPFLAGS$ac_delim
50017 ac_ct_CC!$ac_ct_CC$ac_delim
50018 EXEEXT!$EXEEXT$ac_delim
50019 OBJEXT!$OBJEXT$ac_delim
50021 GREP!$GREP$ac_delim
50022 EGREP!$EGREP$ac_delim
50024 CXXFLAGS!$CXXFLAGS$ac_delim
50025 ac_ct_CXX!$ac_ct_CXX$ac_delim
50026 RANLIB!$RANLIB$ac_delim
50028 INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
50029 INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
50030 INSTALL_DATA!$INSTALL_DATA$ac_delim
50031 STRIP!$STRIP$ac_delim
50032 WINDRES!$WINDRES$ac_delim
50033 DLLTOOL!$DLLTOOL$ac_delim
50034 IF_GNU_MAKE!$IF_GNU_MAKE$ac_delim
50035 LN_S!$LN_S$ac_delim
50036 subdirs!$subdirs$ac_delim
50037 PKG_CONFIG!$PKG_CONFIG$ac_delim
50038 GTK_CFLAGS!$GTK_CFLAGS$ac_delim
50039 GTK_LIBS!$GTK_LIBS$ac_delim
50040 GTK_CONFIG!$GTK_CONFIG$ac_delim
50041 DIRECTFB_CFLAGS!$DIRECTFB_CFLAGS$ac_delim
50042 DIRECTFB_LIBS!$DIRECTFB_LIBS$ac_delim
50043 XMKMF!$XMKMF$ac_delim
50044 X_CFLAGS!$X_CFLAGS$ac_delim
50045 X_PRE_LIBS!$X_PRE_LIBS$ac_delim
50046 X_LIBS!$X_LIBS$ac_delim
50047 X_EXTRA_LIBS!$X_EXTRA_LIBS$ac_delim
50048 PANGOX_CFLAGS!$PANGOX_CFLAGS$ac_delim
50049 PANGOX_LIBS!$PANGOX_LIBS$ac_delim
50050 PANGOFT2_CFLAGS!$PANGOFT2_CFLAGS$ac_delim
50051 PANGOFT2_LIBS!$PANGOFT2_LIBS$ac_delim
50052 PANGOXFT_CFLAGS!$PANGOXFT_CFLAGS$ac_delim
50053 PANGOXFT_LIBS!$PANGOXFT_LIBS$ac_delim
50055 DEREZ!$DEREZ$ac_delim
50056 SETFILE!$SETFILE$ac_delim
50057 LIBICONV!$LIBICONV$ac_delim
50058 SDL_CONFIG!$SDL_CONFIG$ac_delim
50059 SDL_CFLAGS!$SDL_CFLAGS$ac_delim
50062 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
50064 elif $ac_last_try; then
50065 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
50066 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
50067 { (exit 1); exit 1; }; }
50069 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
50073 ac_eof
=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
50074 if test -n "$ac_eof"; then
50075 ac_eof
=`echo "$ac_eof" | sort -nru | sed 1q`
50076 ac_eof
=`expr $ac_eof + 1`
50079 cat >>$CONFIG_STATUS <<_ACEOF
50080 cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
50081 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
50084 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
50085 s/^/s,@/; s/!/@,|#_!!_#|/
50088 s/'"$ac_delim"'$/,g/; t
50090 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
50091 ' >>$CONFIG_STATUS <conf$
$subs.
sed
50092 rm -f conf$
$subs.
sed
50093 cat >>$CONFIG_STATUS <<_ACEOF
50099 for ac_last_try
in false false false false false
:; do
50100 cat >conf$
$subs.
sed <<_ACEOF
50101 SDL_LIBS!$SDL_LIBS$ac_delim
50102 LIBGNOMEPRINTUI_CFLAGS!$LIBGNOMEPRINTUI_CFLAGS$ac_delim
50103 LIBGNOMEPRINTUI_LIBS!$LIBGNOMEPRINTUI_LIBS$ac_delim
50104 GNOMEVFS_CFLAGS!$GNOMEVFS_CFLAGS$ac_delim
50105 GNOMEVFS_LIBS!$GNOMEVFS_LIBS$ac_delim
50106 HILDON_CFLAGS!$HILDON_CFLAGS$ac_delim
50107 HILDON_LIBS!$HILDON_LIBS$ac_delim
50108 CAIRO_CFLAGS!$CAIRO_CFLAGS$ac_delim
50109 CAIRO_LIBS!$CAIRO_LIBS$ac_delim
50110 GST_CFLAGS!$GST_CFLAGS$ac_delim
50111 GST_LIBS!$GST_LIBS$ac_delim
50112 CORE_BASE_LIBS!$CORE_BASE_LIBS$ac_delim
50113 CORE_GUI_LIBS!$CORE_GUI_LIBS$ac_delim
50114 wxUSE_ZLIB!$wxUSE_ZLIB$ac_delim
50115 wxUSE_REGEX!$wxUSE_REGEX$ac_delim
50116 wxUSE_EXPAT!$wxUSE_EXPAT$ac_delim
50117 wxUSE_ODBC!$wxUSE_ODBC$ac_delim
50118 wxUSE_LIBJPEG!$wxUSE_LIBJPEG$ac_delim
50119 wxUSE_LIBPNG!$wxUSE_LIBPNG$ac_delim
50120 wxUSE_LIBTIFF!$wxUSE_LIBTIFF$ac_delim
50121 VENDOR!$VENDOR$ac_delim
50122 OFFICIAL_BUILD!$OFFICIAL_BUILD$ac_delim
50123 WX_FLAVOUR!$WX_FLAVOUR$ac_delim
50124 WX_LIB_FLAVOUR!$WX_LIB_FLAVOUR$ac_delim
50125 WXUNIV!$WXUNIV$ac_delim
50126 MONOLITHIC!$MONOLITHIC$ac_delim
50127 USE_PLUGINS!$USE_PLUGINS$ac_delim
50128 CXXWARNINGS!$CXXWARNINGS$ac_delim
50129 EXTRALIBS!$EXTRALIBS$ac_delim
50130 EXTRALIBS_XML!$EXTRALIBS_XML$ac_delim
50131 EXTRALIBS_HTML!$EXTRALIBS_HTML$ac_delim
50132 EXTRALIBS_ODBC!$EXTRALIBS_ODBC$ac_delim
50133 EXTRALIBS_GUI!$EXTRALIBS_GUI$ac_delim
50134 EXTRALIBS_OPENGL!$EXTRALIBS_OPENGL$ac_delim
50135 EXTRALIBS_SDL!$EXTRALIBS_SDL$ac_delim
50136 WITH_PLUGIN_SDL!$WITH_PLUGIN_SDL$ac_delim
50137 EXTRALIBS_GNOMEPRINT!$EXTRALIBS_GNOMEPRINT$ac_delim
50138 EXTRALIBS_GNOMEVFS!$EXTRALIBS_GNOMEVFS$ac_delim
50139 EXTRALIBS_HILDON!$EXTRALIBS_HILDON$ac_delim
50140 UNICODE!$UNICODE$ac_delim
50141 BUILD!$BUILD$ac_delim
50142 DEBUG_INFO!$DEBUG_INFO$ac_delim
50143 DEBUG_FLAG!$DEBUG_FLAG$ac_delim
50144 TOOLKIT_LOWERCASE!$TOOLKIT_LOWERCASE$ac_delim
50145 TOOLKIT_VERSION!$TOOLKIT_VERSION$ac_delim
50146 SAMPLES_RPATH_FLAG!$SAMPLES_RPATH_FLAG$ac_delim
50147 SAMPLES_RPATH_POSTLINK!$SAMPLES_RPATH_POSTLINK$ac_delim
50148 HOST_SUFFIX!$HOST_SUFFIX$ac_delim
50149 CPPUNIT_CFLAGS!$CPPUNIT_CFLAGS$ac_delim
50150 CPPUNIT_LIBS!$CPPUNIT_LIBS$ac_delim
50151 SET_MAKE!$SET_MAKE$ac_delim
50152 MAKE_SET!$MAKE_SET$ac_delim
50153 AROPTIONS!$AROPTIONS$ac_delim
50155 INSTALL_DIR!$INSTALL_DIR$ac_delim
50156 LDFLAGS_GUI!$LDFLAGS_GUI$ac_delim
50157 PLATFORM_UNIX!$PLATFORM_UNIX$ac_delim
50158 PLATFORM_WIN32!$PLATFORM_WIN32$ac_delim
50159 PLATFORM_MSDOS!$PLATFORM_MSDOS$ac_delim
50160 PLATFORM_MAC!$PLATFORM_MAC$ac_delim
50161 PLATFORM_MACOS!$PLATFORM_MACOS$ac_delim
50162 PLATFORM_MACOSX!$PLATFORM_MACOSX$ac_delim
50163 PLATFORM_OS2!$PLATFORM_OS2$ac_delim
50164 PLATFORM_BEOS!$PLATFORM_BEOS$ac_delim
50165 SO_SUFFIX!$SO_SUFFIX$ac_delim
50166 SO_SUFFIX_MODULE!$SO_SUFFIX_MODULE$ac_delim
50167 DLLIMP_SUFFIX!$DLLIMP_SUFFIX$ac_delim
50168 LIBPREFIX!$LIBPREFIX$ac_delim
50169 LIBEXT!$LIBEXT$ac_delim
50170 DLLPREFIX!$DLLPREFIX$ac_delim
50171 DLLPREFIX_MODULE!$DLLPREFIX_MODULE$ac_delim
50172 dlldir!$dlldir$ac_delim
50173 AIX_CXX_LD!$AIX_CXX_LD$ac_delim
50174 SHARED_LD_CC!$SHARED_LD_CC$ac_delim
50175 SHARED_LD_CXX!$SHARED_LD_CXX$ac_delim
50176 SHARED_LD_MODULE_CC!$SHARED_LD_MODULE_CC$ac_delim
50177 SHARED_LD_MODULE_CXX!$SHARED_LD_MODULE_CXX$ac_delim
50178 PIC_FLAG!$PIC_FLAG$ac_delim
50179 WINDOWS_IMPLIB!$WINDOWS_IMPLIB$ac_delim
50180 USE_SOVERSION!$USE_SOVERSION$ac_delim
50181 USE_SOVERLINUX!$USE_SOVERLINUX$ac_delim
50182 USE_SOVERSOLARIS!$USE_SOVERSOLARIS$ac_delim
50183 USE_SOVERCYGWIN!$USE_SOVERCYGWIN$ac_delim
50184 USE_MACVERSION!$USE_MACVERSION$ac_delim
50185 USE_SOSYMLINKS!$USE_SOSYMLINKS$ac_delim
50186 SONAME_FLAG!$SONAME_FLAG$ac_delim
50187 DEPS_TRACKING!$DEPS_TRACKING$ac_delim
50188 BK_DEPS!$BK_DEPS$ac_delim
50189 GCC_PCH!$GCC_PCH$ac_delim
50190 ICC_PCH!$ICC_PCH$ac_delim
50191 BK_MAKE_PCH!$BK_MAKE_PCH$ac_delim
50192 COND_BUILD_DEBUG!$COND_BUILD_DEBUG$ac_delim
50193 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT!$COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT$ac_delim
50194 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT!$COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT$ac_delim
50195 COND_BUILD_DEBUG_UNICODE_0!$COND_BUILD_DEBUG_UNICODE_0$ac_delim
50196 COND_BUILD_DEBUG_UNICODE_1!$COND_BUILD_DEBUG_UNICODE_1$ac_delim
50197 COND_BUILD_RELEASE!$COND_BUILD_RELEASE$ac_delim
50200 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
50202 elif $ac_last_try; then
50203 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
50204 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
50205 { (exit 1); exit 1; }; }
50207 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
50211 ac_eof
=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
50212 if test -n "$ac_eof"; then
50213 ac_eof
=`echo "$ac_eof" | sort -nru | sed 1q`
50214 ac_eof
=`expr $ac_eof + 1`
50217 cat >>$CONFIG_STATUS <<_ACEOF
50218 cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof
50219 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
50222 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
50223 s/^/s,@/; s/!/@,|#_!!_#|/
50226 s/'"$ac_delim"'$/,g/; t
50228 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
50229 ' >>$CONFIG_STATUS <conf$
$subs.
sed
50230 rm -f conf$
$subs.
sed
50231 cat >>$CONFIG_STATUS <<_ACEOF
50237 for ac_last_try
in false false false false false
:; do
50238 cat >conf$
$subs.
sed <<_ACEOF
50239 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT!$COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT$ac_delim
50240 COND_BUILD_RELEASE_UNICODE_0!$COND_BUILD_RELEASE_UNICODE_0$ac_delim
50241 COND_BUILD_RELEASE_UNICODE_1!$COND_BUILD_RELEASE_UNICODE_1$ac_delim
50242 COND_DEBUG_FLAG_1!$COND_DEBUG_FLAG_1$ac_delim
50243 COND_DEBUG_INFO_0!$COND_DEBUG_INFO_0$ac_delim
50244 COND_DEBUG_INFO_1!$COND_DEBUG_INFO_1$ac_delim
50245 COND_DEPS_TRACKING_0!$COND_DEPS_TRACKING_0$ac_delim
50246 COND_DEPS_TRACKING_1!$COND_DEPS_TRACKING_1$ac_delim
50247 COND_GCC_PCH_1!$COND_GCC_PCH_1$ac_delim
50248 COND_ICC_PCH_1!$COND_ICC_PCH_1$ac_delim
50249 COND_MONOLITHIC_0!$COND_MONOLITHIC_0$ac_delim
50250 COND_MONOLITHIC_0_SHARED_0!$COND_MONOLITHIC_0_SHARED_0$ac_delim
50251 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1!$COND_MONOLITHIC_0_SHARED_0_USE_AUI_1$ac_delim
50252 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1$ac_delim
50253 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1$ac_delim
50254 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1$ac_delim
50255 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1$ac_delim
50256 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1$ac_delim
50257 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1!$COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1$ac_delim
50258 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1!$COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1$ac_delim
50259 COND_MONOLITHIC_0_SHARED_0_USE_STC_1!$COND_MONOLITHIC_0_SHARED_0_USE_STC_1$ac_delim
50260 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1!$COND_MONOLITHIC_0_SHARED_0_USE_XRC_1$ac_delim
50261 COND_MONOLITHIC_0_SHARED_1!$COND_MONOLITHIC_0_SHARED_1$ac_delim
50262 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1!$COND_MONOLITHIC_0_SHARED_1_USE_AUI_1$ac_delim
50263 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1$ac_delim
50264 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1$ac_delim
50265 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1$ac_delim
50266 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1$ac_delim
50267 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1$ac_delim
50268 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1!$COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1$ac_delim
50269 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1!$COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1$ac_delim
50270 COND_MONOLITHIC_0_SHARED_1_USE_STC_1!$COND_MONOLITHIC_0_SHARED_1_USE_STC_1$ac_delim
50271 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1!$COND_MONOLITHIC_0_SHARED_1_USE_XRC_1$ac_delim
50272 COND_MONOLITHIC_0_USE_AUI_1!$COND_MONOLITHIC_0_USE_AUI_1$ac_delim
50273 COND_MONOLITHIC_0_USE_GUI_1!$COND_MONOLITHIC_0_USE_GUI_1$ac_delim
50274 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1!$COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1$ac_delim
50275 COND_MONOLITHIC_0_USE_GUI_1_USE_ODBC_1!$COND_MONOLITHIC_0_USE_GUI_1_USE_ODBC_1$ac_delim
50276 COND_MONOLITHIC_0_USE_HTML_1!$COND_MONOLITHIC_0_USE_HTML_1$ac_delim
50277 COND_MONOLITHIC_0_USE_MEDIA_1!$COND_MONOLITHIC_0_USE_MEDIA_1$ac_delim
50278 COND_MONOLITHIC_0_USE_ODBC_1!$COND_MONOLITHIC_0_USE_ODBC_1$ac_delim
50279 COND_MONOLITHIC_0_USE_QA_1!$COND_MONOLITHIC_0_USE_QA_1$ac_delim
50280 COND_MONOLITHIC_0_USE_RICHTEXT_1!$COND_MONOLITHIC_0_USE_RICHTEXT_1$ac_delim
50281 COND_MONOLITHIC_0_USE_STC_1!$COND_MONOLITHIC_0_USE_STC_1$ac_delim
50282 COND_MONOLITHIC_0_USE_XRC_1!$COND_MONOLITHIC_0_USE_XRC_1$ac_delim
50283 COND_MONOLITHIC_1!$COND_MONOLITHIC_1$ac_delim
50284 COND_MONOLITHIC_1_SHARED_0!$COND_MONOLITHIC_1_SHARED_0$ac_delim
50285 COND_MONOLITHIC_1_SHARED_1!$COND_MONOLITHIC_1_SHARED_1$ac_delim
50286 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1!$COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1$ac_delim
50287 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1!$COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1$ac_delim
50288 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1!$COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1$ac_delim
50289 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1!$COND_PLATFORM_MACOSX_0_USE_SOVERSION_1$ac_delim
50290 COND_PLATFORM_MACOSX_1!$COND_PLATFORM_MACOSX_1$ac_delim
50291 COND_PLATFORM_MACOSX_1_TOOLKIT_!$COND_PLATFORM_MACOSX_1_TOOLKIT_$ac_delim
50292 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA!$COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA$ac_delim
50293 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK!$COND_PLATFORM_MACOSX_1_TOOLKIT_GTK$ac_delim
50294 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC!$COND_PLATFORM_MACOSX_1_TOOLKIT_MAC$ac_delim
50295 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1!$COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1$ac_delim
50296 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF!$COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF$ac_delim
50297 COND_PLATFORM_MACOSX_1_TOOLKIT_X11!$COND_PLATFORM_MACOSX_1_TOOLKIT_X11$ac_delim
50298 COND_PLATFORM_MACOSX_1_USE_GUI_1!$COND_PLATFORM_MACOSX_1_USE_GUI_1$ac_delim
50299 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1!$COND_PLATFORM_MACOSX_1_USE_SOVERSION_1$ac_delim
50300 COND_PLATFORM_MACOS_1!$COND_PLATFORM_MACOS_1$ac_delim
50301 COND_PLATFORM_MAC_1!$COND_PLATFORM_MAC_1$ac_delim
50302 COND_PLATFORM_MSDOS_0!$COND_PLATFORM_MSDOS_0$ac_delim
50303 COND_PLATFORM_MSDOS_1!$COND_PLATFORM_MSDOS_1$ac_delim
50304 COND_PLATFORM_OS2_1!$COND_PLATFORM_OS2_1$ac_delim
50305 COND_PLATFORM_UNIX_0!$COND_PLATFORM_UNIX_0$ac_delim
50306 COND_PLATFORM_UNIX_1!$COND_PLATFORM_UNIX_1$ac_delim
50307 COND_PLATFORM_UNIX_1_TOOLKIT_MGL!$COND_PLATFORM_UNIX_1_TOOLKIT_MGL$ac_delim
50308 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1!$COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1$ac_delim
50309 COND_PLATFORM_UNIX_1_USE_GUI_1!$COND_PLATFORM_UNIX_1_USE_GUI_1$ac_delim
50310 COND_PLATFORM_UNIX_1_USE_PLUGINS_0!$COND_PLATFORM_UNIX_1_USE_PLUGINS_0$ac_delim
50311 COND_PLATFORM_WIN32_0!$COND_PLATFORM_WIN32_0$ac_delim
50312 COND_PLATFORM_WIN32_1!$COND_PLATFORM_WIN32_1$ac_delim
50313 COND_SHARED_0!$COND_SHARED_0$ac_delim
50314 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0!$COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0$ac_delim
50315 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0!$COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0$ac_delim
50316 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0!$COND_SHARED_0_TOOLKIT_PM_WXUNIV_0$ac_delim
50317 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1!$COND_SHARED_0_USE_GUI_1_USE_OPENGL_1$ac_delim
50318 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN!$COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN$ac_delim
50319 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN!$COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN$ac_delim
50320 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN!$COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN$ac_delim
50321 COND_SHARED_0_USE_STC_1!$COND_SHARED_0_USE_STC_1$ac_delim
50322 COND_SHARED_0_USE_XRC_1!$COND_SHARED_0_USE_XRC_1$ac_delim
50323 COND_SHARED_0_WXUSE_EXPAT_BUILTIN!$COND_SHARED_0_WXUSE_EXPAT_BUILTIN$ac_delim
50324 COND_SHARED_0_WXUSE_ODBC_BUILTIN!$COND_SHARED_0_WXUSE_ODBC_BUILTIN$ac_delim
50325 COND_SHARED_0_WXUSE_REGEX_BUILTIN!$COND_SHARED_0_WXUSE_REGEX_BUILTIN$ac_delim
50326 COND_SHARED_0_WXUSE_ZLIB_BUILTIN!$COND_SHARED_0_WXUSE_ZLIB_BUILTIN$ac_delim
50327 COND_SHARED_1!$COND_SHARED_1$ac_delim
50328 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1!$COND_SHARED_1_USE_GUI_1_USE_OPENGL_1$ac_delim
50329 COND_SHARED_1_USE_XRC_1!$COND_SHARED_1_USE_XRC_1$ac_delim
50330 COND_TOOLKIT_!$COND_TOOLKIT_$ac_delim
50331 COND_TOOLKIT_COCOA!$COND_TOOLKIT_COCOA$ac_delim
50332 COND_TOOLKIT_COCOA_USE_GUI_1!$COND_TOOLKIT_COCOA_USE_GUI_1$ac_delim
50333 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0$ac_delim
50334 COND_TOOLKIT_DFB!$COND_TOOLKIT_DFB$ac_delim
50335 COND_TOOLKIT_DFB_USE_GUI_1!$COND_TOOLKIT_DFB_USE_GUI_1$ac_delim
50338 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
50340 elif $ac_last_try; then
50341 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
50342 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
50343 { (exit 1); exit 1; }; }
50345 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
50349 ac_eof
=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
50350 if test -n "$ac_eof"; then
50351 ac_eof
=`echo "$ac_eof" | sort -nru | sed 1q`
50352 ac_eof
=`expr $ac_eof + 1`
50355 cat >>$CONFIG_STATUS <<_ACEOF
50356 cat >"\$tmp/subs-3.sed" <<\CEOF$ac_eof
50357 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
50360 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
50361 s/^/s,@/; s/!/@,|#_!!_#|/
50364 s/'"$ac_delim"'$/,g/; t
50366 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
50367 ' >>$CONFIG_STATUS <conf$
$subs.
sed
50368 rm -f conf$
$subs.
sed
50369 cat >>$CONFIG_STATUS <<_ACEOF
50375 for ac_last_try
in false false false false false
:; do
50376 cat >conf$
$subs.
sed <<_ACEOF
50377 COND_TOOLKIT_GTK!$COND_TOOLKIT_GTK$ac_delim
50378 COND_TOOLKIT_GTK_TOOLKIT_VERSION_!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_$ac_delim
50379 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2$ac_delim
50380 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1$ac_delim
50381 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0$ac_delim
50382 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1!$COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1$ac_delim
50383 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0$ac_delim
50384 COND_TOOLKIT_GTK_USE_GUI_1!$COND_TOOLKIT_GTK_USE_GUI_1$ac_delim
50385 COND_TOOLKIT_MAC!$COND_TOOLKIT_MAC$ac_delim
50386 COND_TOOLKIT_MAC_USE_GUI_1!$COND_TOOLKIT_MAC_USE_GUI_1$ac_delim
50387 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0$ac_delim
50388 COND_TOOLKIT_MGL!$COND_TOOLKIT_MGL$ac_delim
50389 COND_TOOLKIT_MGL_USE_GUI_1!$COND_TOOLKIT_MGL_USE_GUI_1$ac_delim
50390 COND_TOOLKIT_MOTIF!$COND_TOOLKIT_MOTIF$ac_delim
50391 COND_TOOLKIT_MOTIF_USE_GUI_1!$COND_TOOLKIT_MOTIF_USE_GUI_1$ac_delim
50392 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0$ac_delim
50393 COND_TOOLKIT_MSW!$COND_TOOLKIT_MSW$ac_delim
50394 COND_TOOLKIT_MSW_USE_GUI_1!$COND_TOOLKIT_MSW_USE_GUI_1$ac_delim
50395 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0$ac_delim
50396 COND_TOOLKIT_MSW_WXUNIV_0!$COND_TOOLKIT_MSW_WXUNIV_0$ac_delim
50397 COND_TOOLKIT_PM!$COND_TOOLKIT_PM$ac_delim
50398 COND_TOOLKIT_PM_USE_GUI_1!$COND_TOOLKIT_PM_USE_GUI_1$ac_delim
50399 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0$ac_delim
50400 COND_TOOLKIT_WINCE!$COND_TOOLKIT_WINCE$ac_delim
50401 COND_TOOLKIT_WINCE_USE_GUI_1!$COND_TOOLKIT_WINCE_USE_GUI_1$ac_delim
50402 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0$ac_delim
50403 COND_TOOLKIT_WINCE_WXUNIV_0!$COND_TOOLKIT_WINCE_WXUNIV_0$ac_delim
50404 COND_TOOLKIT_X11!$COND_TOOLKIT_X11$ac_delim
50405 COND_TOOLKIT_X11_USE_GUI_1!$COND_TOOLKIT_X11_USE_GUI_1$ac_delim
50406 COND_UNICODE_1!$COND_UNICODE_1$ac_delim
50407 COND_USE_EXCEPTIONS_0!$COND_USE_EXCEPTIONS_0$ac_delim
50408 COND_USE_EXCEPTIONS_1!$COND_USE_EXCEPTIONS_1$ac_delim
50409 COND_USE_GUI_0!$COND_USE_GUI_0$ac_delim
50410 COND_USE_GUI_1!$COND_USE_GUI_1$ac_delim
50411 COND_USE_GUI_1_USE_OPENGL_1!$COND_USE_GUI_1_USE_OPENGL_1$ac_delim
50412 COND_USE_GUI_1_WXUNIV_0!$COND_USE_GUI_1_WXUNIV_0$ac_delim
50413 COND_USE_GUI_1_WXUNIV_1!$COND_USE_GUI_1_WXUNIV_1$ac_delim
50414 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN!$COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN$ac_delim
50415 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN!$COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN$ac_delim
50416 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN!$COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN$ac_delim
50417 COND_USE_ODBC_1!$COND_USE_ODBC_1$ac_delim
50418 COND_USE_OPENGL_1!$COND_USE_OPENGL_1$ac_delim
50419 COND_USE_PCH_1!$COND_USE_PCH_1$ac_delim
50420 COND_USE_PLUGINS_0!$COND_USE_PLUGINS_0$ac_delim
50421 COND_USE_RTTI_0!$COND_USE_RTTI_0$ac_delim
50422 COND_USE_RTTI_1!$COND_USE_RTTI_1$ac_delim
50423 COND_USE_SOSYMLINKS_1!$COND_USE_SOSYMLINKS_1$ac_delim
50424 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1!$COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1$ac_delim
50425 COND_USE_SOVERLINUX_1!$COND_USE_SOVERLINUX_1$ac_delim
50426 COND_USE_SOVERSION_0!$COND_USE_SOVERSION_0$ac_delim
50427 COND_USE_SOVERSOLARIS_1!$COND_USE_SOVERSOLARIS_1$ac_delim
50428 COND_USE_STC_1!$COND_USE_STC_1$ac_delim
50429 COND_USE_THREADS_0!$COND_USE_THREADS_0$ac_delim
50430 COND_USE_THREADS_1!$COND_USE_THREADS_1$ac_delim
50431 COND_USE_XRC_1!$COND_USE_XRC_1$ac_delim
50432 COND_WINDOWS_IMPLIB_1!$COND_WINDOWS_IMPLIB_1$ac_delim
50433 COND_WITH_PLUGIN_SDL_1!$COND_WITH_PLUGIN_SDL_1$ac_delim
50434 COND_WXUNIV_0!$COND_WXUNIV_0$ac_delim
50435 COND_WXUNIV_1!$COND_WXUNIV_1$ac_delim
50436 COND_WXUSE_EXPAT_BUILTIN!$COND_WXUSE_EXPAT_BUILTIN$ac_delim
50437 COND_WXUSE_LIBJPEG_BUILTIN!$COND_WXUSE_LIBJPEG_BUILTIN$ac_delim
50438 COND_WXUSE_LIBPNG_BUILTIN!$COND_WXUSE_LIBPNG_BUILTIN$ac_delim
50439 COND_WXUSE_LIBTIFF_BUILTIN!$COND_WXUSE_LIBTIFF_BUILTIN$ac_delim
50440 COND_WXUSE_ODBC_BUILTIN!$COND_WXUSE_ODBC_BUILTIN$ac_delim
50441 COND_WXUSE_REGEX_BUILTIN!$COND_WXUSE_REGEX_BUILTIN$ac_delim
50442 COND_WXUSE_ZLIB_BUILTIN!$COND_WXUSE_ZLIB_BUILTIN$ac_delim
50443 SHARED!$SHARED$ac_delim
50444 WX_LIBRARY_BASENAME_NOGUI!$WX_LIBRARY_BASENAME_NOGUI$ac_delim
50445 WX_LIBRARY_BASENAME_GUI!$WX_LIBRARY_BASENAME_GUI$ac_delim
50446 USE_GUI!$USE_GUI$ac_delim
50447 AFMINSTALL!$AFMINSTALL$ac_delim
50448 WIN32INSTALL!$WIN32INSTALL$ac_delim
50449 TOOLKIT!$TOOLKIT$ac_delim
50450 TOOLKIT_DIR!$TOOLKIT_DIR$ac_delim
50451 TOOLCHAIN_NAME!$TOOLCHAIN_NAME$ac_delim
50452 TOOLCHAIN_FULLNAME!$TOOLCHAIN_FULLNAME$ac_delim
50453 cross_compiling!$cross_compiling$ac_delim
50454 WIDGET_SET!$WIDGET_SET$ac_delim
50455 WX_RELEASE!$WX_RELEASE$ac_delim
50456 WX_VERSION!$WX_VERSION$ac_delim
50457 WX_SUBVERSION!$WX_SUBVERSION$ac_delim
50458 WX_CHARTYPE!$WX_CHARTYPE$ac_delim
50459 WX_DEBUGTYPE!$WX_DEBUGTYPE$ac_delim
50460 WXCONFIG_CPPFLAGS!$WXCONFIG_CPPFLAGS$ac_delim
50461 WXCONFIG_CFLAGS!$WXCONFIG_CFLAGS$ac_delim
50462 WXCONFIG_CXXFLAGS!$WXCONFIG_CXXFLAGS$ac_delim
50463 WXCONFIG_LIBS!$WXCONFIG_LIBS$ac_delim
50464 WXCONFIG_RPATH!$WXCONFIG_RPATH$ac_delim
50465 WXCONFIG_LDFLAGS_GUI!$WXCONFIG_LDFLAGS_GUI$ac_delim
50466 WXCONFIG_RESFLAGS!$WXCONFIG_RESFLAGS$ac_delim
50467 EXE_LINKER!$EXE_LINKER$ac_delim
50468 GUIDIST!$GUIDIST$ac_delim
50469 DISTDIR!$DISTDIR$ac_delim
50470 SAMPLES_SUBDIRS!$SAMPLES_SUBDIRS$ac_delim
50471 LDFLAGS_GL!$LDFLAGS_GL$ac_delim
50472 OPENGL_LIBS!$OPENGL_LIBS$ac_delim
50473 DMALLOC_LIBS!$DMALLOC_LIBS$ac_delim
50476 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
50478 elif $ac_last_try; then
50479 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
50480 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
50481 { (exit 1); exit 1; }; }
50483 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
50487 ac_eof
=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
50488 if test -n "$ac_eof"; then
50489 ac_eof
=`echo "$ac_eof" | sort -nru | sed 1q`
50490 ac_eof
=`expr $ac_eof + 1`
50493 cat >>$CONFIG_STATUS <<_ACEOF
50494 cat >"\$tmp/subs-4.sed" <<\CEOF$ac_eof
50495 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
50498 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
50499 s/^/s,@/; s/!/@,|#_!!_#|/
50502 s/'"$ac_delim"'$/,g/; t
50504 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
50505 ' >>$CONFIG_STATUS <conf$
$subs.
sed
50506 rm -f conf$
$subs.
sed
50507 cat >>$CONFIG_STATUS <<_ACEOF
50513 for ac_last_try
in false false false false false
:; do
50514 cat >conf$
$subs.
sed <<_ACEOF
50515 WX_VERSION_TAG!$WX_VERSION_TAG$ac_delim
50516 RESCOMP!$RESCOMP$ac_delim
50517 RESFLAGS!$RESFLAGS$ac_delim
50518 RESPROGRAMOBJ!$RESPROGRAMOBJ$ac_delim
50519 WX_RESOURCES_MACOSX_ASCII!$WX_RESOURCES_MACOSX_ASCII$ac_delim
50520 WX_RESOURCES_MACOSX_DATA!$WX_RESOURCES_MACOSX_DATA$ac_delim
50521 LIBWXMACRES!$LIBWXMACRES$ac_delim
50522 POSTLINK_COMMAND!$POSTLINK_COMMAND$ac_delim
50523 MACSETFILE!$MACSETFILE$ac_delim
50525 CPPUNIT_CONFIG!$CPPUNIT_CONFIG$ac_delim
50526 LIBOBJS!$LIBOBJS$ac_delim
50527 LTLIBOBJS!$LTLIBOBJS$ac_delim
50530 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 13; then
50532 elif $ac_last_try; then
50533 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
50534 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
50535 { (exit 1); exit 1; }; }
50537 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
50541 ac_eof
=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
50542 if test -n "$ac_eof"; then
50543 ac_eof
=`echo "$ac_eof" | sort -nru | sed 1q`
50544 ac_eof
=`expr $ac_eof + 1`
50547 cat >>$CONFIG_STATUS <<_ACEOF
50548 cat >"\$tmp/subs-5.sed" <<\CEOF$ac_eof
50549 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
50552 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
50553 s/^/s,@/; s/!/@,|#_!!_#|/
50556 s/'"$ac_delim"'$/,g/; t
50558 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
50559 ' >>$CONFIG_STATUS <conf$
$subs.
sed
50560 rm -f conf$
$subs.
sed
50561 cat >>$CONFIG_STATUS <<_ACEOF
50568 # VPATH may cause trouble with some makes, so we remove $(srcdir),
50569 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
50570 # trailing colons and then remove the whole line if VPATH becomes empty
50571 # (actually we leave an empty line to preserve line numbers).
50572 if test "x$srcdir" = x.
; then
50573 ac_vpsub
='/^[ ]*VPATH[ ]*=/{
50574 s/:*\$(srcdir):*/:/
50575 s/:*\${srcdir}:*/:/
50577 s/^\([^=]*=[ ]*\):*/\1/
50583 cat >>$CONFIG_STATUS <<\_ACEOF
50584 fi # test -n "$CONFIG_FILES"
50587 for ac_tag
in :F
$CONFIG_FILES :H
$CONFIG_HEADERS :C
$CONFIG_COMMANDS
50590 :[FHLC
]) ac_mode
=$ac_tag; continue;;
50592 case $ac_mode$ac_tag in
50594 :L
* | :C
*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
50595 echo "$as_me: error: Invalid tag $ac_tag." >&2;}
50596 { (exit 1); exit 1; }; };;
50597 :[FH
]-) ac_tag
=-:-;;
50598 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
50615 -) ac_f
="$tmp/stdin";;
50616 *) # Look for the file first in the build tree, then in the source tree
50617 # (if the path is not absolute). The absolute path cannot be DOS-style,
50618 # because $ac_f cannot contain `:'.
50622 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
50624 { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
50625 echo "$as_me: error: cannot find input file: $ac_f" >&2;}
50626 { (exit 1); exit 1; }; };;
50628 ac_file_inputs
="$ac_file_inputs $ac_f"
50631 # Let's still pretend it is `configure' which instantiates (i.e., don't
50632 # use $as_me), people would be surprised to read:
50633 # /* config.h. Generated by config.status. */
50634 configure_input
="Generated from "`IFS=:
50635 echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
50636 if test x
"$ac_file" != x
-; then
50637 configure_input
="$ac_file. $configure_input"
50638 { echo "$as_me:$LINENO: creating $ac_file" >&5
50639 echo "$as_me: creating $ac_file" >&6;}
50643 *:-:* | *:-) cat >"$tmp/stdin";;
50648 ac_dir
=`$as_dirname -- "$ac_file" ||
50649 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
50650 X"$ac_file" : 'X\(//\)[^/]' \| \
50651 X"$ac_file" : 'X\(//\)$' \| \
50652 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
50654 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
50658 /^X\(\/\/\)[^/].*/{
50673 -*) as_dir
=.
/$as_dir;;
50675 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
50679 *\'*) as_qdir
=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
50680 *) as_qdir
=$as_dir;;
50682 as_dirs
="'$as_qdir' $as_dirs"
50683 as_dir
=`$as_dirname -- "$as_dir" ||
50684 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
50685 X"$as_dir" : 'X\(//\)[^/]' \| \
50686 X"$as_dir" : 'X\(//\)$' \| \
50687 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
50689 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
50693 /^X\(\/\/\)[^/].*/{
50706 test -d "$as_dir" && break
50708 test -z "$as_dirs" || eval "mkdir $as_dirs"
50709 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
50710 echo "$as_me: error: cannot create directory $as_dir" >&2;}
50711 { (exit 1); exit 1; }; }; }
50715 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
50717 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
50718 # A ".." for each directory in $ac_dir_suffix.
50719 ac_top_builddir_sub
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
50720 case $ac_top_builddir_sub in
50721 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
50722 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
50725 ac_abs_top_builddir
=$ac_pwd
50726 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
50727 # for backward compatibility:
50728 ac_top_builddir
=$ac_top_build_prefix
50731 .
) # We are building in place.
50733 ac_top_srcdir
=$ac_top_builddir_sub
50734 ac_abs_top_srcdir
=$ac_pwd ;;
50735 [\\/]* | ?
:[\\/]* ) # Absolute name.
50736 ac_srcdir
=$srcdir$ac_dir_suffix;
50737 ac_top_srcdir
=$srcdir
50738 ac_abs_top_srcdir
=$srcdir ;;
50739 *) # Relative name.
50740 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
50741 ac_top_srcdir
=$ac_top_build_prefix$srcdir
50742 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
50744 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
50754 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
50755 *) ac_INSTALL
=$ac_top_build_prefix$INSTALL ;;
50759 cat >>$CONFIG_STATUS <<\_ACEOF
50760 # If the template does not know about datarootdir, expand it.
50761 # FIXME: This hack should be removed a few years after 2.60.
50762 ac_datarootdir_hack
=; ac_datarootdir_seen
=
50764 case `sed -n '/datarootdir/ {
50773 ' $ac_file_inputs` in
50774 *datarootdir
*) ac_datarootdir_seen
=yes;;
50775 *@datadir@
*|*@docdir@
*|*@infodir@
*|*@localedir@
*|*@mandir@
*)
50776 { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
50777 echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
50779 cat >>$CONFIG_STATUS <<_ACEOF
50780 ac_datarootdir_hack='
50781 s&@datadir@&$datadir&g
50782 s&@docdir@&$docdir&g
50783 s&@infodir@&$infodir&g
50784 s&@localedir@&$localedir&g
50785 s&@mandir@&$mandir&g
50786 s&\\\${datarootdir}&$datarootdir&g' ;;
50790 # Neutralize VPATH when `$srcdir' = `.'.
50791 # Shell code in configure.ac might set extrasub.
50792 # FIXME: do we really want to maintain this feature?
50793 cat >>$CONFIG_STATUS <<_ACEOF
50797 cat >>$CONFIG_STATUS <<\_ACEOF
50799 /@
[a
-zA-Z_][a
-zA-Z_0-9]*@
/!b
50800 s
&@configure_input@
&$configure_input&;t t
50801 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
50802 s
&@srcdir@
&$ac_srcdir&;t t
50803 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
50804 s
&@top_srcdir@
&$ac_top_srcdir&;t t
50805 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
50806 s
&@builddir@
&$ac_builddir&;t t
50807 s
&@abs_builddir@
&$ac_abs_builddir&;t t
50808 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
50809 s
&@INSTALL@
&$ac_INSTALL&;t t
50810 $ac_datarootdir_hack
50811 " $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
50813 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
50814 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out
"`; test -n "$ac_out"; } &&
50815 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out
"`; test -z "$ac_out"; } &&
50816 { echo "$as_me:$LINENO: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
50817 which seems to be undefined. Please make sure it is defined." >&5
50818 echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
50819 which seems to be undefined. Please make sure it is defined." >&2;}
50823 -) cat "$tmp/out"; rm -f "$tmp/out";;
50824 *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
50833 # Transform confdefs.h into a sed script `conftest.defines', that
50834 # substitutes the proper values into config.h.in to produce config.h.
50835 rm -f conftest.defines conftest.
tail
50836 # First, append a space to every undef/define line, to ease matching.
50837 echo 's/$/ /' >conftest.defines
50838 # Then, protect against being on the right side of a sed subst, or in
50839 # an unquoted here document, in config.status. If some macros were
50840 # called several times there might be several #defines for the same
50841 # symbol, which is useless. But do not sort them, since the last
50842 # AC_DEFINE must be honored.
50843 ac_word_re
=[_
$as_cr_Letters][_
$as_cr_alnum]*
50844 # These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
50845 # NAME is the cpp macro being defined, VALUE is the value it is being given.
50846 # PARAMS is the parameter list in the macro definition--in most cases, it's
50847 # just an empty string.
50848 ac_dA
='s,^\\([ #]*\\)[^ ]*\\([ ]*'
50849 ac_dB
='\\)[ (].*,\\1define\\2'
50857 s/^[ ]*#[ ]*define[ ][ ]*//
50862 s/^\('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
50863 s/^\('"$ac_word_re"'\)[ ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
50864 ' >>conftest.defines
50866 # Remove the space that was appended to ease matching.
50867 # Then replace #undef with comments. This is necessary, for
50868 # example, in the case of _POSIX_SOURCE, which is predefined and required
50869 # on some systems where configure will not decide to define it.
50870 # (The regexp can be short, since the line contains either #define or #undef.)
50872 s,^[ #]*u.*,/* & */,' >>conftest.defines
50874 # Break up conftest.defines:
50875 ac_max_sed_lines
=50
50877 # First sed command is: sed -f defines.sed $ac_file_inputs >"$tmp/out1"
50878 # Second one is: sed -f defines.sed "$tmp/out1" >"$tmp/out2"
50879 # Third one will be: sed -f defines.sed "$tmp/out2" >"$tmp/out1"
50881 ac_in
='$ac_file_inputs'
50882 ac_out
='"$tmp/out1"'
50883 ac_nxt
='"$tmp/out2"'
50887 # Write a here document:
50888 cat >>$CONFIG_STATUS <<_ACEOF
50889 # First, check the format of the line:
50890 cat >"\$tmp/defines.sed" <<\\CEOF
50891 /^[ ]*#[ ]*undef[ ][ ]*$ac_word_re[ ]*\$/b def
50892 /^[ ]*#[ ]*define[ ][ ]*$ac_word_re[( ]/b def
50896 sed ${ac_max_sed_lines}q conftest.defines
>>$CONFIG_STATUS
50898 sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
50899 ac_in
=$ac_out; ac_out
=$ac_nxt; ac_nxt
=$ac_in
50900 sed 1,${ac_max_sed_lines}d conftest.defines
>conftest.
tail
50901 grep . conftest.
tail >/dev
/null
|| break
50902 rm -f conftest.defines
50903 mv conftest.
tail conftest.defines
50905 rm -f conftest.defines conftest.
tail
50907 echo "ac_result=$ac_in" >>$CONFIG_STATUS
50908 cat >>$CONFIG_STATUS <<\_ACEOF
50909 if test x
"$ac_file" != x
-; then
50910 echo "/* $configure_input */" >"$tmp/config.h"
50911 cat "$ac_result" >>"$tmp/config.h"
50912 if diff $ac_file "$tmp/config.h" >/dev
/null
2>&1; then
50913 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
50914 echo "$as_me: $ac_file is unchanged" >&6;}
50917 mv "$tmp/config.h" $ac_file
50920 echo "/* $configure_input */"
50926 :C
) { echo "$as_me:$LINENO: executing $ac_file commands" >&5
50927 echo "$as_me: executing $ac_file commands" >&6;}
50932 case $ac_file$ac_mode in
50934 mkdir -p $outdir &&
50935 $CPP $infile | sed 's/^# *[1-9].*//;s/^ *//;/./,/^$/!d' > $outdir/rcdefs.h
50937 "lib/wx/config/${TOOLCHAIN_FULLNAME}":F
) chmod +x lib
/wx
/config
/${TOOLCHAIN_FULLNAME} ;;
50938 "lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}":F
) chmod +x lib
/wx
/config
/inplace
-${TOOLCHAIN_FULLNAME} ;;
50939 "wx-config":C
) rm -f wx
-config
50940 ${LN_S} lib
/wx
/config
/inplace
-${TOOLCHAIN_FULLNAME} wx
-config
50947 { (exit 0); exit 0; }
50949 chmod +x
$CONFIG_STATUS
50950 ac_clean_files
=$ac_clean_files_save
50953 # configure is writing to config.log, and then calls config.status.
50954 # config.status does its own redirection, appending to config.log.
50955 # Unfortunately, on DOS this fails, as config.log is still kept open
50956 # by configure, so config.status won't be able to write to it; its
50957 # output is simply discarded. So we exec the FD to /dev/null,
50958 # effectively closing config.log, so it can be properly (re)opened and
50959 # appended to by config.status. When coming back to configure, we
50960 # need to make the FD available again.
50961 if test "$no_create" != yes; then
50963 ac_config_status_args
=
50964 test "$silent" = yes &&
50965 ac_config_status_args
="$ac_config_status_args --quiet"
50967 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
50969 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
50970 # would make configure fail if this is the last instruction.
50971 $ac_cs_success || { (exit 1); exit 1; }
50975 # CONFIG_SUBDIRS section.
50977 if test "$no_recursion" != yes; then
50979 # Remove --cache-file and --srcdir arguments so they do not pile up.
50980 ac_sub_configure_args
=
50982 eval "set x $ac_configure_args"
50986 if test -n "$ac_prev"; then
50991 -cache-file | --cache-file | --cache-fil | --cache-fi \
50992 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
50993 ac_prev
=cache_file
;;
50994 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
50995 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \
50998 --config-cache | -C)
51000 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
51002 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
51004 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
51006 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
51010 *\'*) ac_arg
=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
51012 ac_sub_configure_args
="$ac_sub_configure_args '$ac_arg'" ;;
51016 # Always prepend --prefix to ensure using the same prefix
51017 # in subdir configurations.
51018 ac_arg
="--prefix=$prefix"
51020 *\'*) ac_arg
=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
51022 ac_sub_configure_args
="'$ac_arg' $ac_sub_configure_args"
51025 if test "$silent" = yes; then
51026 ac_sub_configure_args
="--silent $ac_sub_configure_args"
51030 for ac_dir
in : $subdirs; do test "x$ac_dir" = x
: && continue
51032 # Do not complain, so a configure script can configure whichever
51033 # parts of a large source tree are present.
51034 test -d "$srcdir/$ac_dir" || continue
51036 ac_msg
="=== configuring in $ac_dir (`pwd`/$ac_dir)"
51037 echo "$as_me:$LINENO: $ac_msg" >&5
51041 -*) as_dir
=.
/$as_dir;;
51043 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
51047 *\'*) as_qdir
=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
51048 *) as_qdir
=$as_dir;;
51050 as_dirs
="'$as_qdir' $as_dirs"
51051 as_dir
=`$as_dirname -- "$as_dir" ||
51052 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
51053 X"$as_dir" : 'X\(//\)[^/]' \| \
51054 X"$as_dir" : 'X\(//\)$' \| \
51055 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
51057 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
51061 /^X\(\/\/\)[^/].*/{
51074 test -d "$as_dir" && break
51076 test -z "$as_dirs" || eval "mkdir $as_dirs"
51077 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
51078 echo "$as_me: error: cannot create directory $as_dir" >&2;}
51079 { (exit 1); exit 1; }; }; }
51083 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
51085 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
51086 # A ".." for each directory in $ac_dir_suffix.
51087 ac_top_builddir_sub
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
51088 case $ac_top_builddir_sub in
51089 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
51090 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
51093 ac_abs_top_builddir
=$ac_pwd
51094 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
51095 # for backward compatibility:
51096 ac_top_builddir
=$ac_top_build_prefix
51099 .
) # We are building in place.
51101 ac_top_srcdir
=$ac_top_builddir_sub
51102 ac_abs_top_srcdir
=$ac_pwd ;;
51103 [\\/]* | ?
:[\\/]* ) # Absolute name.
51104 ac_srcdir
=$srcdir$ac_dir_suffix;
51105 ac_top_srcdir
=$srcdir
51106 ac_abs_top_srcdir
=$srcdir ;;
51107 *) # Relative name.
51108 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
51109 ac_top_srcdir
=$ac_top_build_prefix$srcdir
51110 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
51112 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
51117 # Check for guested configure; otherwise get Cygnus style configure.
51118 if test -f "$ac_srcdir/configure.gnu"; then
51119 ac_sub_configure
=$ac_srcdir/configure.gnu
51120 elif test -f "$ac_srcdir/configure"; then
51121 ac_sub_configure
=$ac_srcdir/configure
51122 elif test -f "$ac_srcdir/configure.in"; then
51123 # This should be Cygnus configure.
51124 ac_sub_configure
=$ac_aux_dir/configure
51126 { echo "$as_me:$LINENO: WARNING: no configuration information is in $ac_dir" >&5
51127 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
51131 # The recursion is here.
51132 if test -n "$ac_sub_configure"; then
51133 # Make the cache file name correct relative to the subdirectory.
51134 case $cache_file in
51135 [\\/]* | ?
:[\\/]* ) ac_sub_cache_file
=$cache_file ;;
51136 *) # Relative name.
51137 ac_sub_cache_file
=$ac_top_build_prefix$cache_file ;;
51140 { echo "$as_me:$LINENO: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
51141 echo "$as_me: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
51142 # The eval makes quoting arguments work.
51143 eval "\$SHELL \"\$ac_sub_configure\" $ac_sub_configure_args \
51144 --cache-file=\"\$ac_sub_cache_file\" --srcdir=\"\$ac_srcdir\"" ||
51145 { { echo "$as_me:$LINENO: error: $ac_sub_configure failed for $ac_dir" >&5
51146 echo "$as_me: error: $ac_sub_configure failed for $ac_dir" >&2;}
51147 { (exit 1); exit 1; }; }
51156 echo "Configured wxWidgets ${WX_VERSION} for \`${host}'"
51158 echo " Which GUI toolkit should wxWidgets use? ${TOOLKIT_DESC}"
51159 echo " Should wxWidgets be compiled into single library? ${wxUSE_MONOLITHIC:-yes}"
51161 echo " Should wxWidgets be compiled in debug mode? ${wxUSE_DEBUG:-no}"
51162 echo " Should wxWidgets be linked as a shared library? ${wxUSE_SHARED:-no}"
51163 echo -n " Should wxWidgets support Unicode? ${wxUSE_UNICODE:-no}"
51164 if test "$wxUSE_UNICODE" = "yes"; then
51165 if test "$wxUSE_UNICODE_UTF8" = "yes"; then
51166 echo " (using UTF-8)"
51168 echo " (using wchar_t)"
51174 echo " What level of wxWidgets compatibility should be enabled?"
51175 echo " wxWidgets 2.6 ${WXWIN_COMPATIBILITY_2_6:-no}"
51176 echo " wxWidgets 2.8 ${WXWIN_COMPATIBILITY_2_8:-yes}"
51178 echo " Which libraries should wxWidgets use?"
51179 echo " jpeg ${wxUSE_LIBJPEG-none}"
51180 echo " png ${wxUSE_LIBPNG-none}"
51181 echo " regex ${wxUSE_REGEX}"
51182 echo " tiff ${wxUSE_LIBTIFF-none}"
51183 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
51184 echo " xpm ${wxUSE_LIBXPM-none}"
51186 echo " zlib ${wxUSE_ZLIB}"
51187 echo " odbc ${wxUSE_ODBC}"
51188 echo " expat ${wxUSE_EXPAT}"
51189 echo " libmspack ${wxUSE_LIBMSPACK}"
51190 echo " sdl ${wxUSE_LIBSDL}"