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
718 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_XRC_1
834 COND_MONOLITHIC_0_SHARED_1
835 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1
836 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1
837 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1
838 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1
839 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1
840 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1
841 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1
842 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1
843 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1
844 COND_MONOLITHIC_0_USE_MEDIA_1
845 COND_MONOLITHIC_0_USE_ODBC_1
847 COND_MONOLITHIC_1_SHARED_0
848 COND_MONOLITHIC_1_SHARED_1
849 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1
850 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1
851 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1
852 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1
853 COND_PLATFORM_MACOSX_1
854 COND_PLATFORM_MACOSX_1_TOOLKIT_
855 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA
856 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK
857 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC
858 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1
859 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF
860 COND_PLATFORM_MACOSX_1_TOOLKIT_X11
861 COND_PLATFORM_MACOSX_1_USE_GUI_1
862 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1
863 COND_PLATFORM_MACOS_1
865 COND_PLATFORM_MSDOS_0
866 COND_PLATFORM_MSDOS_1
870 COND_PLATFORM_UNIX_1_TOOLKIT_MGL
871 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1
872 COND_PLATFORM_UNIX_1_USE_GUI_1
873 COND_PLATFORM_UNIX_1_USE_PLUGINS_0
874 COND_PLATFORM_WIN32_0
875 COND_PLATFORM_WIN32_1
877 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0
878 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0
879 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0
880 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1
881 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
882 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
883 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
884 COND_SHARED_0_USE_XRC_1
885 COND_SHARED_0_WXUSE_EXPAT_BUILTIN
886 COND_SHARED_0_WXUSE_ODBC_BUILTIN
887 COND_SHARED_0_WXUSE_REGEX_BUILTIN
888 COND_SHARED_0_WXUSE_ZLIB_BUILTIN
890 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1
891 COND_SHARED_1_USE_XRC_1
894 COND_TOOLKIT_COCOA_USE_GUI_1
895 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0
897 COND_TOOLKIT_DFB_USE_GUI_1
899 COND_TOOLKIT_GTK_TOOLKIT_VERSION_
900 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2
901 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1
902 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0
903 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1
904 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0
905 COND_TOOLKIT_GTK_USE_GUI_1
907 COND_TOOLKIT_MAC_USE_GUI_1
908 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0
910 COND_TOOLKIT_MGL_USE_GUI_1
912 COND_TOOLKIT_MOTIF_USE_GUI_1
913 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0
915 COND_TOOLKIT_MSW_USE_GUI_1
916 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0
917 COND_TOOLKIT_MSW_WXUNIV_0
919 COND_TOOLKIT_PM_USE_GUI_1
920 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0
922 COND_TOOLKIT_WINCE_USE_GUI_1
923 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0
924 COND_TOOLKIT_WINCE_WXUNIV_0
926 COND_TOOLKIT_X11_USE_GUI_1
928 COND_USE_EXCEPTIONS_0
929 COND_USE_EXCEPTIONS_1
932 COND_USE_GUI_1_WXUNIV_0
933 COND_USE_GUI_1_WXUNIV_1
934 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
935 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
936 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
943 COND_USE_SOSYMLINKS_1
944 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1
945 COND_USE_SOVERLINUX_1
947 COND_USE_SOVERSOLARIS_1
951 COND_WINDOWS_IMPLIB_1
952 COND_WITH_PLUGIN_SDL_1
955 COND_WXUSE_EXPAT_BUILTIN
956 COND_WXUSE_LIBJPEG_BUILTIN
957 COND_WXUSE_LIBPNG_BUILTIN
958 COND_WXUSE_LIBTIFF_BUILTIN
959 COND_WXUSE_ODBC_BUILTIN
960 COND_WXUSE_REGEX_BUILTIN
961 COND_WXUSE_ZLIB_BUILTIN
963 WX_LIBRARY_BASENAME_NOGUI
964 WX_LIBRARY_BASENAME_GUI
997 WX_RESOURCES_MACOSX_ASCII
998 WX_RESOURCES_MACOSX_DATA
1007 ac_precious_vars
='build_alias
1029 LIBGNOMEPRINTUI_CFLAGS
1030 LIBGNOMEPRINTUI_LIBS
1039 ac_subdirs_all
='src/expat'
1041 # Initialize some variables set by options.
1043 ac_init_version
=false
1044 # The variables have the same names as the options, with
1045 # dashes changed to underlines.
1046 cache_file
=/dev
/null
1053 program_transform_name
=s
,x
,x
,
1061 # Installation directory options.
1062 # These are left unexpanded so users can "make install exec_prefix=/foo"
1063 # and all the variables that are supposed to be based on exec_prefix
1064 # by default will actually change.
1065 # Use braces instead of parens because sh, perl, etc. also accept them.
1066 # (The list follows the same order as the GNU Coding Standards.)
1067 bindir
='${exec_prefix}/bin'
1068 sbindir
='${exec_prefix}/sbin'
1069 libexecdir
='${exec_prefix}/libexec'
1070 datarootdir
='${prefix}/share'
1071 datadir
='${datarootdir}'
1072 sysconfdir
='${prefix}/etc'
1073 sharedstatedir
='${prefix}/com'
1074 localstatedir
='${prefix}/var'
1075 includedir
='${prefix}/include'
1076 oldincludedir
='/usr/include'
1077 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
1078 infodir
='${datarootdir}/info'
1083 libdir
='${exec_prefix}/lib'
1084 localedir
='${datarootdir}/locale'
1085 mandir
='${datarootdir}/man'
1091 # If the previous option needs an argument, assign it.
1092 if test -n "$ac_prev"; then
1093 eval $ac_prev=\
$ac_option
1099 *=*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1103 # Accept the important Cygnus configure options, so we can diagnose typos.
1105 case $ac_dashdash$ac_option in
1109 -bindir | --bindir | --bindi | --bind | --bin | --bi)
1111 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1112 bindir
=$ac_optarg ;;
1114 -build | --build | --buil | --bui | --bu)
1115 ac_prev
=build_alias
;;
1116 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1117 build_alias
=$ac_optarg ;;
1119 -cache-file | --cache-file | --cache-fil | --cache-fi \
1120 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1121 ac_prev
=cache_file
;;
1122 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1123 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1124 cache_file
=$ac_optarg ;;
1126 --config-cache | -C)
1127 cache_file
=config.cache
;;
1129 -datadir | --datadir | --datadi | --datad)
1131 -datadir=* | --datadir=* | --datadi=* | --datad=*)
1132 datadir
=$ac_optarg ;;
1134 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1135 | --dataroo | --dataro | --datar)
1136 ac_prev
=datarootdir
;;
1137 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1138 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1139 datarootdir
=$ac_optarg ;;
1141 -disable-* | --disable-*)
1142 ac_feature
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1143 # Reject names that are not valid shell variable names.
1144 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1145 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
1146 { (exit 1); exit 1; }; }
1147 ac_feature
=`echo $ac_feature | sed 's/[-.]/_/g'`
1148 eval enable_
$ac_feature=no
;;
1150 -docdir | --docdir | --docdi | --doc | --do)
1152 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1153 docdir
=$ac_optarg ;;
1155 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1157 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1158 dvidir
=$ac_optarg ;;
1160 -enable-* | --enable-*)
1161 ac_feature
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1162 # Reject names that are not valid shell variable names.
1163 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1164 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
1165 { (exit 1); exit 1; }; }
1166 ac_feature
=`echo $ac_feature | sed 's/[-.]/_/g'`
1167 eval enable_
$ac_feature=\
$ac_optarg ;;
1169 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1170 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1171 | --exec | --exe | --ex)
1172 ac_prev
=exec_prefix
;;
1173 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1174 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1175 | --exec=* | --exe=* | --ex=*)
1176 exec_prefix
=$ac_optarg ;;
1178 -gas | --gas | --ga | --g)
1179 # Obsolete; use --with-gas.
1182 -help | --help | --hel | --he | -h)
1183 ac_init_help
=long
;;
1184 -help=r
* | --help=r
* | --hel=r
* | --he=r
* | -hr*)
1185 ac_init_help
=recursive
;;
1186 -help=s
* | --help=s
* | --hel=s
* | --he=s
* | -hs*)
1187 ac_init_help
=short
;;
1189 -host | --host | --hos | --ho)
1190 ac_prev
=host_alias
;;
1191 -host=* | --host=* | --hos=* | --ho=*)
1192 host_alias
=$ac_optarg ;;
1194 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1196 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1198 htmldir
=$ac_optarg ;;
1200 -includedir | --includedir | --includedi | --included | --include \
1201 | --includ | --inclu | --incl | --inc)
1202 ac_prev
=includedir
;;
1203 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1204 | --includ=* | --inclu=* | --incl=* | --inc=*)
1205 includedir
=$ac_optarg ;;
1207 -infodir | --infodir | --infodi | --infod | --info | --inf)
1209 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1210 infodir
=$ac_optarg ;;
1212 -libdir | --libdir | --libdi | --libd)
1214 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1215 libdir
=$ac_optarg ;;
1217 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1218 | --libexe | --libex | --libe)
1219 ac_prev
=libexecdir
;;
1220 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1221 | --libexe=* | --libex=* | --libe=*)
1222 libexecdir
=$ac_optarg ;;
1224 -localedir | --localedir | --localedi | --localed | --locale)
1225 ac_prev
=localedir
;;
1226 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1227 localedir
=$ac_optarg ;;
1229 -localstatedir | --localstatedir | --localstatedi | --localstated \
1230 | --localstate | --localstat | --localsta | --localst | --locals)
1231 ac_prev
=localstatedir
;;
1232 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1233 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1234 localstatedir
=$ac_optarg ;;
1236 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1238 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1239 mandir
=$ac_optarg ;;
1241 -nfp | --nfp | --nf)
1242 # Obsolete; use --without-fp.
1245 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1246 | --no-cr | --no-c | -n)
1249 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1250 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1253 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1254 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1255 | --oldin | --oldi | --old | --ol | --o)
1256 ac_prev
=oldincludedir
;;
1257 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1258 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1259 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1260 oldincludedir
=$ac_optarg ;;
1262 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1264 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1265 prefix
=$ac_optarg ;;
1267 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1268 | --program-pre | --program-pr | --program-p)
1269 ac_prev
=program_prefix
;;
1270 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1271 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1272 program_prefix
=$ac_optarg ;;
1274 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1275 | --program-suf | --program-su | --program-s)
1276 ac_prev
=program_suffix
;;
1277 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1278 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1279 program_suffix
=$ac_optarg ;;
1281 -program-transform-name | --program-transform-name \
1282 | --program-transform-nam | --program-transform-na \
1283 | --program-transform-n | --program-transform- \
1284 | --program-transform | --program-transfor \
1285 | --program-transfo | --program-transf \
1286 | --program-trans | --program-tran \
1287 | --progr-tra | --program-tr | --program-t)
1288 ac_prev
=program_transform_name
;;
1289 -program-transform-name=* | --program-transform-name=* \
1290 | --program-transform-nam=* | --program-transform-na=* \
1291 | --program-transform-n=* | --program-transform-=* \
1292 | --program-transform=* | --program-transfor=* \
1293 | --program-transfo=* | --program-transf=* \
1294 | --program-trans=* | --program-tran=* \
1295 | --progr-tra=* | --program-tr=* | --program-t=*)
1296 program_transform_name
=$ac_optarg ;;
1298 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1300 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1301 pdfdir
=$ac_optarg ;;
1303 -psdir | --psdir | --psdi | --psd | --ps)
1305 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1308 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1309 | -silent | --silent | --silen | --sile | --sil)
1312 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1314 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1316 sbindir
=$ac_optarg ;;
1318 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1319 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1320 | --sharedst | --shareds | --shared | --share | --shar \
1322 ac_prev
=sharedstatedir
;;
1323 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1324 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1325 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1327 sharedstatedir
=$ac_optarg ;;
1329 -site | --site | --sit)
1331 -site=* | --site=* | --sit=*)
1334 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1336 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1337 srcdir
=$ac_optarg ;;
1339 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1340 | --syscon | --sysco | --sysc | --sys | --sy)
1341 ac_prev
=sysconfdir
;;
1342 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1343 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1344 sysconfdir
=$ac_optarg ;;
1346 -target | --target | --targe | --targ | --tar | --ta | --t)
1347 ac_prev
=target_alias
;;
1348 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1349 target_alias
=$ac_optarg ;;
1351 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1354 -version | --version | --versio | --versi | --vers | -V)
1355 ac_init_version
=: ;;
1358 ac_package
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1359 # Reject names that are not valid shell variable names.
1360 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1361 { echo "$as_me: error: invalid package name: $ac_package" >&2
1362 { (exit 1); exit 1; }; }
1363 ac_package
=`echo $ac_package | sed 's/[-.]/_/g'`
1364 eval with_
$ac_package=\
$ac_optarg ;;
1366 -without-* | --without-*)
1367 ac_package
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1368 # Reject names that are not valid shell variable names.
1369 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1370 { echo "$as_me: error: invalid package name: $ac_package" >&2
1371 { (exit 1); exit 1; }; }
1372 ac_package
=`echo $ac_package | sed 's/[-.]/_/g'`
1373 eval with_
$ac_package=no
;;
1376 # Obsolete; use --with-x.
1379 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1380 | --x-incl | --x-inc | --x-in | --x-i)
1381 ac_prev
=x_includes
;;
1382 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1383 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1384 x_includes
=$ac_optarg ;;
1386 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1387 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1388 ac_prev
=x_libraries
;;
1389 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1390 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1391 x_libraries
=$ac_optarg ;;
1393 -*) { echo "$as_me: error: unrecognized option: $ac_option
1394 Try \`$0 --help' for more information." >&2
1395 { (exit 1); exit 1; }; }
1399 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1400 # Reject names that are not valid shell variable names.
1401 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev
/null
&&
1402 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1403 { (exit 1); exit 1; }; }
1404 eval $ac_envvar=\
$ac_optarg
1405 export $ac_envvar ;;
1408 # FIXME: should be removed in autoconf 3.0.
1409 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1410 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1411 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1412 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1418 if test -n "$ac_prev"; then
1419 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1420 { echo "$as_me: error: missing argument to $ac_option" >&2
1421 { (exit 1); exit 1; }; }
1424 # Be sure to have absolute directory names.
1425 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1426 datadir sysconfdir sharedstatedir localstatedir includedir \
1427 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1428 libdir localedir mandir
1430 eval ac_val
=\$
$ac_var
1432 [\\/$
]* | ?
:[\\/]* ) continue;;
1433 NONE
| '' ) case $ac_var in *prefix
) continue;; esac;;
1435 { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1436 { (exit 1); exit 1; }; }
1439 # There might be people who depend on the old broken behavior: `$host'
1440 # used to hold the argument of --host etc.
1441 # FIXME: To remove some day.
1444 target
=$target_alias
1446 # FIXME: To remove some day.
1447 if test "x$host_alias" != x
; then
1448 if test "x$build_alias" = x
; then
1449 cross_compiling
=maybe
1450 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1451 If a cross compiler is detected then cross compile mode will be used." >&2
1452 elif test "x$build_alias" != "x$host_alias"; then
1458 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1460 test "$silent" = yes && exec 6>/dev
/null
1463 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1464 ac_ls_di
=`ls -di .` &&
1465 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1466 { echo "$as_me: error: Working directory cannot be determined" >&2
1467 { (exit 1); exit 1; }; }
1468 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1469 { echo "$as_me: error: pwd does not report name of working directory" >&2
1470 { (exit 1); exit 1; }; }
1473 # Find the source files, if location was not specified.
1474 if test -z "$srcdir"; then
1475 ac_srcdir_defaulted
=yes
1476 # Try the directory containing this script, then the parent directory.
1477 ac_confdir
=`$as_dirname -- "$0" ||
1478 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1479 X"$0" : 'X\(//\)[^/]' \| \
1480 X"$0" : 'X\(//\)$' \| \
1481 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
1483 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1501 if test ! -r "$srcdir/$ac_unique_file"; then
1505 ac_srcdir_defaulted
=no
1507 if test ! -r "$srcdir/$ac_unique_file"; then
1508 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1509 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1510 { (exit 1); exit 1; }; }
1512 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1514 cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
1515 { (exit 1); exit 1; }; }
1517 # When building in place, set srcdir=.
1518 if test "$ac_abs_confdir" = "$ac_pwd"; then
1521 # Remove unnecessary trailing slashes from srcdir.
1522 # Double slashes in file names in object file debugging info
1523 # mess up M-x gdb in Emacs.
1525 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1527 for ac_var
in $ac_precious_vars; do
1528 eval ac_env_
${ac_var}_set
=\
${${ac_var}+set}
1529 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1530 eval ac_cv_env_
${ac_var}_set
=\
${${ac_var}+set}
1531 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1535 # Report the --help message.
1537 if test "$ac_init_help" = "long"; then
1538 # Omit some internal or obsolete options to make the list less imposing.
1539 # This message is too long to be a string in the A/UX 3.1 sh.
1541 \`configure' configures wxWidgets 2.9.0 to adapt to many kinds of systems.
1543 Usage: $0 [OPTION]... [VAR=VALUE]...
1545 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1546 VAR=VALUE. See below for descriptions of some of the useful variables.
1548 Defaults for the options are specified in brackets.
1551 -h, --help display this help and exit
1552 --help=short display options specific to this package
1553 --help=recursive display the short help of all the included packages
1554 -V, --version display version information and exit
1555 -q, --quiet, --silent do not print \`checking...' messages
1556 --cache-file=FILE cache test results in FILE [disabled]
1557 -C, --config-cache alias for \`--cache-file=config.cache'
1558 -n, --no-create do not create output files
1559 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1561 Installation directories:
1562 --prefix=PREFIX install architecture-independent files in PREFIX
1563 [$ac_default_prefix]
1564 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1567 By default, \`make install' will install all the files in
1568 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1569 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1570 for instance \`--prefix=\$HOME'.
1572 For better control, use the options below.
1574 Fine tuning of the installation directories:
1575 --bindir=DIR user executables [EPREFIX/bin]
1576 --sbindir=DIR system admin executables [EPREFIX/sbin]
1577 --libexecdir=DIR program executables [EPREFIX/libexec]
1578 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1579 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1580 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1581 --libdir=DIR object code libraries [EPREFIX/lib]
1582 --includedir=DIR C header files [PREFIX/include]
1583 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1584 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1585 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1586 --infodir=DIR info documentation [DATAROOTDIR/info]
1587 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1588 --mandir=DIR man documentation [DATAROOTDIR/man]
1589 --docdir=DIR documentation root [DATAROOTDIR/doc/wxwidgets]
1590 --htmldir=DIR html documentation [DOCDIR]
1591 --dvidir=DIR dvi documentation [DOCDIR]
1592 --pdfdir=DIR pdf documentation [DOCDIR]
1593 --psdir=DIR ps documentation [DOCDIR]
1599 --x-includes=DIR X include files are
in DIR
1600 --x-libraries=DIR X library files are
in DIR
1603 --build=BUILD configure
for building on BUILD
[guessed
]
1604 --host=HOST cross
-compile to build programs to run on HOST
[BUILD
]
1605 --target=TARGET configure
for building compilers
for TARGET
[HOST
]
1609 if test -n "$ac_init_help"; then
1610 case $ac_init_help in
1611 short
| recursive
) echo "Configuration of wxWidgets 2.9.0:";;
1616 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1617 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1618 --enable-gui use GUI classes
1619 --enable-monolithic build wxWidgets as single library
1620 --enable-plugins build parts of wxWidgets as loadable components
1621 --enable-universal use wxWidgets GUI controls instead of native ones
1622 --enable-nanox use NanoX
1623 --disable-gtk2 use GTK
+ 1.2 instead of
2.0
1624 --enable-gpe use GNOME PDA Environment features
if possible
1625 --enable-shared create shared library code
1626 --enable-optimise create optimised code
1627 --enable-debug same as debug_flag and debug_info
1628 --enable-stl use STL
for containers
1629 --enable-omf use OMF object format
1630 --enable-debug_flag set __WXDEBUG__ flag
(recommended
for developers
!)
1631 --enable-debug_info create code with debugging information
1632 --enable-debug_gdb create code with extra GDB debugging information
1633 --enable-debug_cntxt use wxDebugContext
1634 --enable-mem_tracing create code with memory tracing
1635 --enable-profile create code with profiling information
1636 --enable-no_rtti create code without RTTI information
1637 --enable-no_exceptions create code without C
++ exceptions handling
1638 --enable-permissive compile code disregarding strict ANSI
1639 --enable-no_deps create code without dependency information
1640 --disable-vararg_macros don
't use vararg macros, even if they are supported
1641 --enable-universal_binary[=SDK] create Mac PowerPC and Intel Universal binary (not yet working)
1642 --enable-compat26 enable wxWidgets 2.6 compatibility
1643 --disable-compat28 disable wxWidgets 2.8 compatibility
1644 --disable-rpath disable use of rpath for uninstalled builds
1645 --enable-intl use internationalization system
1646 --enable-config use wxConfig (and derived) classes
1647 --enable-protocols use wxProtocol and derived classes
1648 --enable-ftp use wxFTP (requires wxProtocol
1649 --enable-http use wxHTTP (requires wxProtocol
1650 --enable-fileproto use wxFileProto class (requires wxProtocol
1651 --enable-sockets use socket/network classes
1652 --enable-ole use OLE classes (Win32 only)
1653 --enable-dataobj use data object classes
1654 --enable-ipc use interprocess communication (wxSocket etc.)
1655 --enable-apple_ieee use the Apple IEEE codec
1656 --enable-arcstream use wxArchive streams
1657 --enable-backtrace use wxStackWalker class for getting backtraces
1658 --enable-catch_segvs catch signals in wxApp::OnFatalException (Unix only)
1659 --enable-cmdline use wxCmdLineParser class
1660 --enable-datetime use wxDateTime class
1661 --enable-debugreport use wxDebugReport class
1662 --enable-dialupman use dialup network classes
1663 --enable-dynlib use wxLibrary class for DLL loading
1664 --enable-dynamicloader use (new) wxDynamicLibrary class
1665 --enable-exceptions build exception-safe library
1666 --enable-ffile use wxFFile class
1667 --enable-file use wxFile class
1668 --enable-filesystem use virtual file systems classes
1669 --enable-fontmap use font encodings conversion classes
1670 --enable-fs_archive use virtual archive filesystems
1671 --enable-fs_inet use virtual HTTP/FTP filesystems
1672 --enable-fs_zip now replaced by fs_archive
1673 --enable-geometry use geometry class
1674 --enable-log use logging system
1675 --enable-longlong use wxLongLong class
1676 --enable-mimetype use wxMimeTypesManager
1677 --enable-mslu use MS Layer for Unicode on Windows 9x (Win32 only)
1678 --enable-snglinst use wxSingleInstanceChecker class
1679 --enable-std_iostreams use standard C++ stream classes
1680 --enable-std_string use standard C++ string classes
1681 --enable-stdpaths use wxStandardPaths class
1682 --enable-stopwatch use wxStopWatch class
1683 --enable-streams use wxStream etc classes
1684 --enable-sysoptions use wxSystemOptions
1685 --enable-tarstream use wxTar streams
1686 --enable-textbuf use wxTextBuffer class
1687 --enable-textfile use wxTextFile class
1688 --enable-timer use wxTimer class
1689 --enable-unicode compile wxString with Unicode support
1690 --enable-sound use wxSound class
1691 --enable-mediactrl use wxMediaCtrl class
1692 --enable-gstreamer8 force GStreamer 0.8 instead of 0.10 with the wxMediaCtrl class on unix
1693 --enable-printfposparam use wxVsnprintf() which supports positional parameters
1694 --enable-zipstream use wxZip streams
1695 --enable-url use wxURL class
1696 --enable-variant use wxVariant class
1697 --enable-protocol use wxProtocol class
1698 --enable-protocol-http HTTP support in wxProtocol
1699 --enable-protocol-ftp FTP support in wxProtocol
1700 --enable-protocol-file FILE support in wxProtocol
1701 --enable-threads use threads
1702 --enable-docview use document view architecture
1703 --enable-help use help subsystem
1704 --enable-mshtmlhelp use MS HTML Help (win32)
1705 --enable-html use wxHTML sub-library
1706 --enable-htmlhelp use wxHTML-based help
1707 --enable-xrc use XRC resources sub-library
1708 --enable-aui use AUI docking library
1709 --enable-constraints use layout-constraints system
1710 --enable-printarch use printing architecture
1711 --enable-mdi use multiple document interface architecture
1712 --enable-mdidoc use docview architecture with MDI
1713 --enable-loggui use standard GUI logger
1714 --enable-logwin use wxLogWindow
1715 --enable-logdialog use wxLogDialog
1716 --enable-webkit use wxWebKitCtrl (Mac)
1717 --enable-richtext use wxRichTextCtrl
1718 --enable-graphics_ctx use graphics context 2D drawing API
1719 --enable-postscript use wxPostscriptDC device context (default for gtk+)
1720 --enable-prologio not available; see contrib
1721 --enable-resources not available; see contrib
1722 --enable-clipboard use wxClipboard class
1723 --enable-dnd use Drag'n
'Drop classes
1724 --enable-metafile use win32 metafiles
1725 --enable-controls use all usual controls
1726 --enable-accel use accelerators
1727 --enable-animatectrl use wxAnimationCtrl class
1728 --enable-button use wxButton class
1729 --enable-bmpbutton use wxBitmapButton class
1730 --enable-bmpcombobox use wxBitmapComboBox class
1731 --enable-calendar use wxCalendarCtrl class
1732 --enable-caret use wxCaret class
1733 --enable-checkbox use wxCheckBox class
1734 --enable-checklst use wxCheckListBox (listbox with checkboxes) class
1735 --enable-choice use wxChoice class
1736 --enable-choicebook use wxChoicebook class
1737 --enable-collpane use wxCollapsiblePane class
1738 --enable-colourpicker use wxColourPickerCtrl class
1739 --enable-combobox use wxComboBox class
1740 --enable-comboctrl use wxComboCtrl class
1741 --enable-datepick use wxDatePickerCtrl class
1742 --enable-dirpicker use wxDirPickerCtrl class
1743 --enable-display use wxDisplay class
1744 --enable-detect_sm use code to detect X11 session manager
1745 --enable-filepicker use wxFilePickerCtrl class
1746 --enable-fontpicker use wxFontPickerCtrl class
1747 --enable-gauge use wxGauge class
1748 --enable-grid use wxGrid class
1749 --enable-dataviewctrl use wxDataViewCtrl class
1750 --enable-hyperlink use wxHyperlinkCtrl class
1751 --enable-imaglist use wxImageList class
1752 --enable-listbook use wxListbook class
1753 --enable-listbox use wxListBox class
1754 --enable-listctrl use wxListCtrl class
1755 --enable-notebook use wxNotebook class
1756 --enable-odcombobox use wxOwnerDrawnComboBox class
1757 --enable-radiobox use wxRadioBox class
1758 --enable-radiobtn use wxRadioButton class
1759 --enable-sash use wxSashWindow class
1760 --enable-scrollbar use wxScrollBar class and scrollable windows
1761 --enable-searchctrl use wxSearchCtrl class
1762 --enable-slider use wxSlider class
1763 --enable-spinbtn use wxSpinButton class
1764 --enable-spinctrl use wxSpinCtrl class
1765 --enable-splitter use wxSplitterWindow class
1766 --enable-statbmp use wxStaticBitmap class
1767 --enable-statbox use wxStaticBox class
1768 --enable-statline use wxStaticLine class
1769 --enable-stattext use wxStaticText class
1770 --enable-statusbar use wxStatusBar class
1771 --enable-tabdialog use wxTabControl class
1772 --enable-textctrl use wxTextCtrl class
1773 --enable-togglebtn use wxToggleButton class
1774 --enable-toolbar use wxToolBar class
1775 --enable-tbarnative use native wxToolBar class
1776 --enable-treebook use wxTreebook class
1777 --enable-toolbook use wxToolbook class
1778 --enable-treectrl use wxTreeCtrl class
1779 --enable-tipwindow use wxTipWindow class
1780 --enable-popupwin use wxPopUpWindow class
1781 --enable-commondlg use all common dialogs
1782 --enable-aboutdlg use wxAboutBox
1783 --enable-choicedlg use wxChoiceDialog
1784 --enable-coldlg use wxColourDialog
1785 --enable-filedlg use wxFileDialog
1786 --enable-finddlg use wxFindReplaceDialog
1787 --enable-fontdlg use wxFontDialog
1788 --enable-dirdlg use wxDirDialog
1789 --enable-msgdlg use wxMessageDialog
1790 --enable-numberdlg use wxNumberEntryDialog
1791 --enable-splash use wxSplashScreen
1792 --enable-textdlg use wxTextDialog
1793 --enable-tipdlg use startup tips
1794 --enable-progressdlg use wxProgressDialog
1795 --enable-wizarddlg use wxWizard
1796 --enable-menus use wxMenu/wxMenuBar/wxMenuItem classes
1797 --enable-miniframe use wxMiniFrame class
1798 --enable-tooltips use wxToolTip class
1799 --enable-splines use spline drawing code
1800 --enable-mousewheel use mousewheel
1801 --enable-validators use wxValidator and derived classes
1802 --enable-busyinfo use wxBusyInfo
1803 --enable-joystick use wxJoystick
1804 --enable-metafiles use wxMetaFile (Win32 only)
1805 --enable-dragimage use wxDragImage
1806 --enable-accessibility enable accessibility support
1807 --enable-dccache cache temporary wxDC objects (Win32 only)
1808 --enable-palette use wxPalette class
1809 --enable-image use wxImage class
1810 --enable-gif use gif images (GIF file format)
1811 --enable-pcx use pcx images (PCX file format)
1812 --enable-tga use tga images (TGA file format)
1813 --enable-iff use iff images (IFF file format)
1814 --enable-pnm use pnm images (PNM file format)
1815 --enable-xpm use xpm images (XPM file format)
1816 --enable-icocur use Windows ICO and CUR formats
1817 --enable-official_build official build of wxWidgets (win32 DLL only)
1818 --enable-vendor=VENDOR vendor name (win32 DLL only)
1819 --disable-largefile omit support for large files
1820 --disable-gtktest do not try to compile and run a test GTK+ program
1821 --disable-gtktest Do not try to compile and run a test GTK program
1822 --disable-sdltest Do not try to compile and run a test SDL program
1823 --enable-omf use OMF object format (OS/2)
1824 --disable-dependency-tracking
1825 don't use dependency tracking even
if the compiler
1827 --disable-precomp-headers
1828 don
't use precompiled headers even if compiler can
1831 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1832 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1833 --without-subdirs don't generate makefiles
for samples
/demos
/...
1834 --with-gtk[=VERSION
] use GTK
+, VERSION can be
2 (default
), 1 or
"any"
1835 --with-motif use Motif
/Lesstif
1836 --with-mac use Mac OS X
1837 --with-cocoa use Cocoa
1838 --with-wine use Wine
1839 --with-msw use MS
-Windows
1840 --with-pm use OS
/2 Presentation Manager
1841 --with-mgl use SciTech MGL
1842 --with-directfb use DirectFB
1843 --with-microwin use MicroWindows
1845 --with-libpng use libpng
(PNG image format
)
1846 --with-libjpeg use libjpeg
(JPEG
file format
)
1847 --with-libtiff use libtiff
(TIFF
file format
)
1848 --with-libxpm use libxpm
(XPM
file format
)
1849 --with-libmspack use libmspack
(CHM
help files loading
)
1850 --with-sdl use SDL
for audio on Unix
1851 --with-gnomeprint use GNOME print
for printing under GNOME
1852 --with-gnomevfs use GNOME VFS
for associating MIME types
1853 --with-hildon use Hildon framework
for Nokia
770
1854 --with-opengl use OpenGL
(or Mesa
)
1855 --with-themes=all
|list use only the specified comma
-separated list of wxUniversal themes
1856 --with-dmalloc use dmalloc library
(http
://dmalloc.com
/)
1857 --with-regex enable support
for wxRegEx class
1858 --with-zlib use zlib
for LZW compression
1859 --with-odbc use the IODBC and wxODBC classes
1860 --with-expat enable XML support using expat parser
1861 --with-flavour=NAME specify a name to identify this build
1862 --with-gtk-prefix=PFX Prefix where GTK is installed
(optional
)
1863 --with-gtk-exec-prefix=PFX Exec prefix where GTK is installed
(optional
)
1864 --with-x use the X Window System
1865 --with-libiconv-prefix=DIR search
for libiconv
in DIR
/include and DIR
/lib
1866 --with-sdl-prefix=PFX Prefix where SDL is installed
(optional
)
1867 --with-sdl-exec-prefix=PFX Exec prefix where SDL is installed
(optional
)
1868 --with-cppunit-prefix=PFX Prefix where CppUnit is installed
(optional
)
1869 --with-cppunit-exec-prefix=PFX Exec prefix where CppUnit is installed
(optional
)
1871 Some influential environment variables
:
1872 CC C compiler
command
1873 CFLAGS C compiler flags
1874 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
1875 nonstandard directory
<lib dir
>
1876 LIBS libraries to pass to the linker
, e.g.
-l<library
>
1877 CPPFLAGS C
/C
++/Objective C preprocessor flags
, e.g.
-I<include dir
> if
1878 you have headers
in a nonstandard directory
<include dir
>
1880 CXX C
++ compiler
command
1881 CXXFLAGS C
++ compiler flags
1882 PKG_CONFIG path to pkg
-config utility
1884 C compiler flags
for DIRECTFB
, overriding pkg
-config
1886 linker flags
for DIRECTFB
, overriding pkg
-config
1887 XMKMF Path to xmkmf
, Makefile generator
for X Window System
1889 C compiler flags
for PANGOX
, overriding pkg
-config
1890 PANGOX_LIBS linker flags
for PANGOX
, overriding pkg
-config
1892 C compiler flags
for PANGOFT2
, overriding pkg
-config
1894 linker flags
for PANGOFT2
, overriding pkg
-config
1896 C compiler flags
for PANGOXFT
, overriding pkg
-config
1898 linker flags
for PANGOXFT
, overriding pkg
-config
1899 LIBGNOMEPRINTUI_CFLAGS
1900 C compiler flags
for LIBGNOMEPRINTUI
, overriding pkg
-config
1901 LIBGNOMEPRINTUI_LIBS
1902 linker flags
for LIBGNOMEPRINTUI
, overriding pkg
-config
1904 C compiler flags
for GNOMEVFS
, overriding pkg
-config
1906 linker flags
for GNOMEVFS
, overriding pkg
-config
1908 C compiler flags
for HILDON
, overriding pkg
-config
1909 HILDON_LIBS linker flags
for HILDON
, overriding pkg
-config
1911 C compiler flags
for CAIRO
, overriding pkg
-config
1912 CAIRO_LIBS linker flags
for CAIRO
, overriding pkg
-config
1913 GST_CFLAGS C compiler flags
for GST
, overriding pkg
-config
1914 GST_LIBS linker flags
for GST
, overriding pkg
-config
1916 Use these variables to override the choices made by
`configure' or to help
1917 it to find libraries and programs with nonstandard names/locations.
1919 Report bugs to <wx-dev@lists.wxwidgets.org>.
1924 if test "$ac_init_help" = "recursive"; then
1925 # If there are subdirs, report their specific --help.
1926 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1927 test -d "$ac_dir" || continue
1931 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1933 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1934 # A ".." for each directory in $ac_dir_suffix.
1935 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
1936 case $ac_top_builddir_sub in
1937 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1938 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1941 ac_abs_top_builddir=$ac_pwd
1942 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1943 # for backward compatibility:
1944 ac_top_builddir=$ac_top_build_prefix
1947 .) # We are building in place.
1949 ac_top_srcdir=$ac_top_builddir_sub
1950 ac_abs_top_srcdir=$ac_pwd ;;
1951 [\\/]* | ?:[\\/]* ) # Absolute name.
1952 ac_srcdir=$srcdir$ac_dir_suffix;
1953 ac_top_srcdir=$srcdir
1954 ac_abs_top_srcdir=$srcdir ;;
1956 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1957 ac_top_srcdir=$ac_top_build_prefix$srcdir
1958 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1960 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1962 cd "$ac_dir" || { ac_status=$?; continue; }
1963 # Check for guested configure.
1964 if test -f "$ac_srcdir/configure.gnu"; then
1966 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1967 elif test -f "$ac_srcdir/configure"; then
1969 $SHELL "$ac_srcdir/configure" --help=recursive
1971 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1973 cd "$ac_pwd" || { ac_status=$?; break; }
1977 test -n "$ac_init_help" && exit $ac_status
1978 if $ac_init_version; then
1980 wxWidgets configure 2.9.0
1981 generated by GNU Autoconf 2.61
1983 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1984 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
1985 This configure script is free software; the Free Software Foundation
1986 gives unlimited permission to copy, distribute and modify it.
1990 cat >config.log <<_ACEOF
1991 This file contains any messages produced by compilers while
1992 running configure, to aid debugging if configure makes a mistake.
1994 It was created by wxWidgets $as_me 2.9.0, which was
1995 generated by GNU Autoconf 2.61. Invocation command line was
2007 hostname = `(hostname
|| uname
-n) 2>/dev
/null
| sed 1q
`
2008 uname -m = `(uname
-m) 2>/dev
/null
|| echo unknown
`
2009 uname -r = `(uname
-r) 2>/dev
/null
|| echo unknown
`
2010 uname -s = `(uname
-s) 2>/dev
/null
|| echo unknown
`
2011 uname -v = `(uname
-v) 2>/dev
/null
|| echo unknown
`
2013 /usr/bin/uname -p = `(/usr
/bin
/uname
-p) 2>/dev
/null
|| echo unknown
`
2014 /bin/uname -X = `(/bin
/uname
-X) 2>/dev
/null
|| echo unknown
`
2016 /bin/arch = `(/bin
/arch
) 2>/dev
/null
|| echo unknown
`
2017 /usr/bin/arch -k = `(/usr
/bin
/arch
-k) 2>/dev
/null
|| echo unknown
`
2018 /usr/convex/getsysinfo = `(/usr
/convex
/getsysinfo
) 2>/dev
/null
|| echo unknown
`
2019 /usr/bin/hostinfo = `(/usr
/bin
/hostinfo
) 2>/dev
/null
|| echo unknown
`
2020 /bin/machine = `(/bin
/machine
) 2>/dev
/null
|| echo unknown
`
2021 /usr/bin/oslevel = `(/usr
/bin
/oslevel
) 2>/dev
/null
|| echo unknown
`
2022 /bin/universe = `(/bin
/universe
) 2>/dev
/null
|| echo unknown
`
2026 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2030 test -z "$as_dir" && as_dir=.
2031 echo "PATH: $as_dir"
2047 # Keep a trace of the command line.
2048 # Strip out --no-create and --no-recursion so they do not pile up.
2049 # Strip out --silent because we don't want to record it for future runs.
2050 # Also quote any args containing shell meta-characters.
2051 # Make two passes to allow for proper duplicate-argument suppression.
2055 ac_must_keep_next=false
2061 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2062 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2063 | -silent | --silent | --silen | --sile | --sil)
2066 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2069 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
2071 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
2072 if test $ac_must_keep_next = true; then
2073 ac_must_keep_next=false # Got value, back to normal.
2076 *=* | --config-cache | -C | -disable-* | --disable-* \
2077 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2078 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2079 | -with-* | --with-* | -without-* | --without-* | --x)
2080 case "$ac_configure_args0 " in
2081 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2084 -* ) ac_must_keep_next=true ;;
2087 ac_configure_args="$ac_configure_args '$ac_arg'"
2092 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
2093 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
2095 # When interrupted or exit'd, cleanup temporary files, and complete
2096 # config.log. We remove comments because anyway the quotes in there
2097 # would cause problems or look ugly.
2098 # WARNING: Use '\'' to represent an apostrophe within the trap.
2099 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2100 trap 'exit_status=$?
2101 # Save into config.log some information that might help in debugging.
2106 ## ---------------- ##
2107 ## Cache variables. ##
2108 ## ---------------- ##
2111 # The following way of writing the cache mishandles newlines in values,
2113 for ac_var in `(set) 2>&1 | sed -n '\''s
/^\
([a
-zA-Z_][a
-zA-Z0-9_]*\
)=.
*/\
1/p
'\''`; do
2114 eval ac_val=\$$ac_var
2118 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
2119 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
2122 _ | IFS | as_nl) ;; #(
2123 *) $as_unset $ac_var ;;
2128 case $as_nl`(ac_space
='\'' '\''; set) 2>&1` in #(
2129 *${as_nl}ac_space=\ *)
2131 "s/'\''/'\''\\\\'\'''\''/g;
2132 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2135 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2143 ## ----------------- ##
2144 ## Output variables. ##
2145 ## ----------------- ##
2148 for ac_var in $ac_subst_vars
2150 eval ac_val=\$$ac_var
2152 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2154 echo "$ac_var='\''$ac_val'\''"
2158 if test -n "$ac_subst_files"; then
2160 ## ------------------- ##
2161 ## File substitutions. ##
2162 ## ------------------- ##
2165 for ac_var in $ac_subst_files
2167 eval ac_val=\$$ac_var
2169 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2171 echo "$ac_var='\''$ac_val'\''"
2176 if test -s confdefs.h; then
2186 test "$ac_signal" != 0 &&
2187 echo "$as_me: caught signal $ac_signal"
2188 echo "$as_me: exit $exit_status"
2190 rm -f core *.core core.conftest.* &&
2191 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2194 for ac_signal in 1 2 13 15; do
2195 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
2199 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2200 rm -f -r conftest* confdefs.h
2202 # Predefined preprocessor variables.
2204 cat >>confdefs.h <<_ACEOF
2205 #define PACKAGE_NAME "$PACKAGE_NAME"
2209 cat >>confdefs.h <<_ACEOF
2210 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2214 cat >>confdefs.h <<_ACEOF
2215 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2219 cat >>confdefs.h <<_ACEOF
2220 #define PACKAGE_STRING "$PACKAGE_STRING"
2224 cat >>confdefs.h <<_ACEOF
2225 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2229 # Let the site file select an alternate cache file if it wants to.
2230 # Prefer explicitly selected file to automatically selected ones.
2231 if test -n "$CONFIG_SITE"; then
2232 set x "$CONFIG_SITE"
2233 elif test "x$prefix" != xNONE; then
2234 set x "$prefix/share/config.site" "$prefix/etc/config.site"
2236 set x "$ac_default_prefix/share/config.site" \
2237 "$ac_default_prefix/etc/config.site"
2242 if test -r "$ac_site_file"; then
2243 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
2244 echo "$as_me: loading site script $ac_site_file" >&6;}
2245 sed 's/^/| /' "$ac_site_file" >&5
2250 if test -r "$cache_file"; then
2251 # Some versions of bash will fail to source /dev/null (special
2252 # files actually), so we avoid doing that.
2253 if test -f "$cache_file"; then
2254 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
2255 echo "$as_me: loading cache $cache_file" >&6;}
2257 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2258 *) . "./$cache_file";;
2262 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
2263 echo "$as_me: creating cache $cache_file" >&6;}
2267 # Check that the precious variables saved in the cache have kept the same
2269 ac_cache_corrupted=false
2270 for ac_var in $ac_precious_vars; do
2271 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2272 eval ac_new_set=\$ac_env_${ac_var}_set
2273 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2274 eval ac_new_val=\$ac_env_${ac_var}_value
2275 case $ac_old_set,$ac_new_set in
2277 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run
" >&5
2278 echo "$as_me: error
: \
`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2279 ac_cache_corrupted=: ;;
2281 { echo "$as_me:$LINENO: error: \`$ac_var' was not
set in the previous run
" >&5
2282 echo "$as_me: error
: \
`$ac_var' was not set in the previous run" >&2;}
2283 ac_cache_corrupted=: ;;
2286 if test "x$ac_old_val" != "x$ac_new_val"; then
2287 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
2288 echo "$as_me: error: \`$ac_var' has changed since the previous run
:" >&2;}
2289 { echo "$as_me:$LINENO: former value
: $ac_old_val" >&5
2290 echo "$as_me: former value
: $ac_old_val" >&2;}
2291 { echo "$as_me:$LINENO: current value
: $ac_new_val" >&5
2292 echo "$as_me: current value
: $ac_new_val" >&2;}
2293 ac_cache_corrupted=:
2296 # Pass precious variables to config.status.
2297 if test "$ac_new_set" = set; then
2299 *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s
/'/'\\\\\\\\''/g
"` ;;
2300 *) ac_arg=$ac_var=$ac_new_val ;;
2302 case " $ac_configure_args " in
2303 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2304 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
2308 if $ac_cache_corrupted; then
2309 { echo "$as_me:$LINENO: error
: changes
in the environment can compromise the build
" >&5
2310 echo "$as_me: error
: changes
in the environment can compromise the build
" >&2;}
2311 { { echo "$as_me:$LINENO: error
: run \
`make distclean' and/or \`rm $cache_file' and start over" >&5
2312 echo "$as_me: error: run \`make distclean' and
/or \
`rm $cache_file' and start over" >&2;}
2313 { (exit 1); exit 1; }; }
2341 ac_cpp='$CPP $CPPFLAGS'
2342 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2343 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2344 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2351 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2352 if test -f "$ac_dir/install-sh"; then
2354 ac_install_sh="$ac_aux_dir/install-sh -c"
2356 elif test -f "$ac_dir/install.sh"; then
2358 ac_install_sh="$ac_aux_dir/install.sh -c"
2360 elif test -f "$ac_dir/shtool"; then
2362 ac_install_sh="$ac_aux_dir/shtool install -c"
2366 if test -z "$ac_aux_dir"; then
2367 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
2368 echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
2369 { (exit 1); exit 1; }; }
2372 # These three variables are undocumented and unsupported,
2373 # and are intended to be withdrawn in a future Autoconf release.
2374 # They can cause serious problems if a builder's source tree is in a directory
2375 # whose full name contains unusual characters.
2376 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2377 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2378 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2381 # Make sure we can run config.sub.
2382 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2383 { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
2384 echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
2385 { (exit 1); exit 1; }; }
2387 { echo "$as_me:$LINENO: checking build system type" >&5
2388 echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
2389 if test "${ac_cv_build+set}" = set; then
2390 echo $ECHO_N "(cached) $ECHO_C" >&6
2392 ac_build_alias=$build_alias
2393 test "x$ac_build_alias" = x &&
2394 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2395 test "x$ac_build_alias" = x &&
2396 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
2397 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
2398 { (exit 1); exit 1; }; }
2399 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2400 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
2401 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
2402 { (exit 1); exit 1; }; }
2405 { echo "$as_me:$LINENO: result: $ac_cv_build" >&5
2406 echo "${ECHO_T}$ac_cv_build" >&6; }
2407 case $ac_cv_build in
2409 *) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
2410 echo "$as_me: error: invalid value of canonical build" >&2;}
2411 { (exit 1); exit 1; }; };;
2414 ac_save_IFS=$IFS; IFS='-'
2420 # Remember, the first character of IFS is used to create $*,
2421 # except with old shells:
2424 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
2427 { echo "$as_me:$LINENO: checking host system type" >&5
2428 echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
2429 if test "${ac_cv_host+set}" = set; then
2430 echo $ECHO_N "(cached) $ECHO_C" >&6
2432 if test "x$host_alias" = x; then
2433 ac_cv_host=$ac_cv_build
2435 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2436 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
2437 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
2438 { (exit 1); exit 1; }; }
2442 { echo "$as_me:$LINENO: result: $ac_cv_host" >&5
2443 echo "${ECHO_T}$ac_cv_host" >&6; }
2446 *) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
2447 echo "$as_me: error: invalid value of canonical host" >&2;}
2448 { (exit 1); exit 1; }; };;
2451 ac_save_IFS=$IFS; IFS='-'
2457 # Remember, the first character of IFS is used to create $*,
2458 # except with old shells:
2461 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
2464 { echo "$as_me:$LINENO: checking target system type" >&5
2465 echo $ECHO_N "checking target system type... $ECHO_C" >&6; }
2466 if test "${ac_cv_target+set}" = set; then
2467 echo $ECHO_N "(cached) $ECHO_C" >&6
2469 if test "x$target_alias" = x; then
2470 ac_cv_target=$ac_cv_host
2472 ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
2473 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&5
2474 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&2;}
2475 { (exit 1); exit 1; }; }
2479 { echo "$as_me:$LINENO: result: $ac_cv_target" >&5
2480 echo "${ECHO_T}$ac_cv_target" >&6; }
2481 case $ac_cv_target in
2483 *) { { echo "$as_me:$LINENO: error: invalid value of canonical target" >&5
2484 echo "$as_me: error: invalid value of canonical target" >&2;}
2485 { (exit 1); exit 1; }; };;
2487 target=$ac_cv_target
2488 ac_save_IFS=$IFS; IFS='-'
2494 # Remember, the first character of IFS is used to create $*,
2495 # except with old shells:
2498 case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac
2501 # The aliases save the names the user supplied, while $host etc.
2502 # will get canonicalized.
2503 test -n "$target_alias" &&
2504 test "$program_prefix$program_suffix$program_transform_name" = \
2506 program_prefix=${target_alias}-
2510 wx_major_version_number=2
2511 wx_minor_version_number=9
2513 wx_subrelease_number=0
2515 WX_RELEASE=$wx_major_version_number.$wx_minor_version_number
2516 WX_VERSION=$WX_RELEASE.$wx_release_number
2517 WX_SUBVERSION=$WX_VERSION.$wx_subrelease_number
2519 WX_MSW_VERSION=$wx_major_version_number$wx_minor_version_number$wx_release_number
2522 wx_top_builddir="`pwd`"
2535 USE_BSD= USE_DARWIN= USE_FREEBSD=
2541 USE_SOLARIS= USE_SUN= USE_SUNOS= USE_SVR4= USE_SYSV= USE_VMS=
2547 NEEDS_D_REENTRANT_FOR_R_FUNCS=0
2549 ALL_TOOLKITS="COCOA GTK MAC MGL MICROWIN MOTIF MSW PM X11 DFB"
2551 DEFAULT_wxUSE_COCOA=0
2555 DEFAULT_wxUSE_MICROWIN=0
2556 DEFAULT_wxUSE_MOTIF=0
2562 DEFAULT_DEFAULT_wxUSE_COCOA=0
2563 DEFAULT_DEFAULT_wxUSE_GTK=0
2564 DEFAULT_DEFAULT_wxUSE_MAC=0
2565 DEFAULT_DEFAULT_wxUSE_MGL=0
2566 DEFAULT_DEFAULT_wxUSE_MICROWIN=0
2567 DEFAULT_DEFAULT_wxUSE_MOTIF=0
2568 DEFAULT_DEFAULT_wxUSE_MSW=0
2569 DEFAULT_DEFAULT_wxUSE_PM=0
2570 DEFAULT_DEFAULT_wxUSE_X11=0
2571 DEFAULT_DEFAULT_wxUSE_DFB=0
2576 SAMPLES_RPATH_POSTLINK=
2578 DEFAULT_STD_FLAG=yes
2583 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2584 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
2586 cat >>confdefs.h <<\_ACEOF
2591 CPPFLAGS="-D_HPUX_SOURCE $CPPFLAGS"
2595 cat >>confdefs.h <<\_ACEOF
2600 if test "x$TMP" = "xalpha"; then
2602 cat >>confdefs.h <<\_ACEOF
2607 DEFAULT_DEFAULT_wxUSE_GTK=1
2609 *-*-gnu* | *-*-k*bsd*-gnu )
2612 if test "x$TMP" = "xalpha"; then
2614 cat >>confdefs.h <<\_ACEOF
2619 DEFAULT_DEFAULT_wxUSE_GTK=1
2621 *-*-irix5* | *-*-irix6* )
2624 cat >>confdefs.h <<\_ACEOF
2628 cat >>confdefs.h <<\_ACEOF
2632 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2638 cat >>confdefs.h <<\_ACEOF
2642 cat >>confdefs.h <<\_ACEOF
2643 #define __SOLARIS__ 1
2646 cat >>confdefs.h <<\_ACEOF
2650 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2651 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
2657 cat >>confdefs.h <<\_ACEOF
2661 cat >>confdefs.h <<\_ACEOF
2665 cat >>confdefs.h <<\_ACEOF
2669 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2674 cat >>confdefs.h <<\_ACEOF
2675 #define __FREEBSD__ 1
2678 cat >>confdefs.h <<\_ACEOF
2682 DEFAULT_DEFAULT_wxUSE_GTK=1
2684 *-*-openbsd*|*-*-mirbsd*)
2687 cat >>confdefs.h <<\_ACEOF
2688 #define __OPENBSD__ 1
2691 cat >>confdefs.h <<\_ACEOF
2695 DEFAULT_DEFAULT_wxUSE_GTK=1
2700 cat >>confdefs.h <<\_ACEOF
2701 #define __NETBSD__ 1
2704 cat >>confdefs.h <<\_ACEOF
2708 DEFAULT_DEFAULT_wxUSE_GTK=1
2709 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
2711 CPPFLAGS="-D_NETBSD_SOURCE -D_LIBC $CPPFLAGS"
2716 cat >>confdefs.h <<\_ACEOF
2720 cat >>confdefs.h <<\_ACEOF
2724 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2725 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
2730 cat >>confdefs.h <<\_ACEOF
2734 cat >>confdefs.h <<\_ACEOF
2738 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2743 cat >>confdefs.h <<\_ACEOF
2747 cat >>confdefs.h <<\_ACEOF
2751 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2758 cat >>confdefs.h <<\_ACEOF
2762 cat >>confdefs.h <<\_ACEOF
2766 cat >>confdefs.h <<\_ACEOF
2770 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2777 cat >>confdefs.h <<\_ACEOF
2778 #define __UNIXWARE__ 1
2783 *-*-cygwin* | *-*-mingw32* )
2786 DEFAULT_DEFAULT_wxUSE_MSW=1
2792 cat >>confdefs.h <<\_ACEOF
2797 DEFAULT_DEFAULT_wxUSE_MGL=1
2800 *-pc-os2_emx | *-pc-os2-emx )
2801 cat >>confdefs.h <<\_ACEOF
2806 cat >>confdefs.h <<\_ACEOF
2811 DEFAULT_DEFAULT_wxUSE_PM=1
2813 LDFLAGS="$LDFLAGS -Zcrtdll"
2814 ac_executable_extensions=".exe"
2815 export ac_executable_extensions
2819 for ac_dir in $PATH; do
2821 if test -z "$ac_TEMP_PATH"; then
2822 ac_TEMP_PATH="$ac_dir"
2824 ac_TEMP_PATH="$ac_TEMP_PATH/$ac_dir"
2827 export PATH="$ac_TEMP_PATH"
2836 cat >>confdefs.h <<\_ACEOF
2840 cat >>confdefs.h <<\_ACEOF
2841 #define __DARWIN__ 1
2844 cat >>confdefs.h <<\_ACEOF
2845 #define TARGET_CARBON 1
2848 DEFAULT_DEFAULT_wxUSE_MAC=1
2851 powerpc-apple-macos* )
2853 ac_cv_c_bigendian=yes
2855 DEFAULT_DEFAULT_wxUSE_MAC=1
2861 cat >>confdefs.h <<\_ACEOF
2868 { echo "$as_me:$LINENO: WARNING: *** System type ${host} is unknown, assuming generic Unix and continuing nevertheless." >&5
2869 echo "$as_me: WARNING: *** System type ${host} is unknown, assuming generic Unix and continuing nevertheless." >&2;}
2870 { echo "$as_me:$LINENO: WARNING: *** Please report the build results to wx-dev@lists.wxwidgets.org." >&5
2871 echo "$as_me: WARNING: *** Please report the build results to wx-dev@lists.wxwidgets.org." >&2;}
2873 DEFAULT_DEFAULT_wxUSE_X11=1
2874 DEFAULT_wxUSE_SHARED=no
2880 wx_arg_cache_file="configarg.cache"
2881 echo "loading argument cache $wx_arg_cache_file"
2882 rm -f ${wx_arg_cache_file}.tmp
2883 touch ${wx_arg_cache_file}.tmp
2884 touch ${wx_arg_cache_file}
2888 if test $DEBUG_CONFIGURE = 1; then
2889 DEFAULT_wxUSE_UNIVERSAL=no
2890 DEFAULT_wxUSE_STL=no
2892 DEFAULT_wxUSE_NANOX=no
2894 DEFAULT_wxUSE_THREADS=yes
2896 DEFAULT_wxUSE_SHARED=${DEFAULT_wxUSE_SHARED:-yes}
2897 DEFAULT_wxUSE_OPTIMISE=no
2898 DEFAULT_wxUSE_PROFILE=no
2899 DEFAULT_wxUSE_NO_DEPS=no
2900 DEFAULT_wxUSE_VARARG_MACROS=no
2901 DEFAULT_wxUSE_NO_RTTI=no
2902 DEFAULT_wxUSE_NO_EXCEPTIONS=no
2903 DEFAULT_wxUSE_UNIVERSAL_BINARY=no
2904 DEFAULT_wxUSE_RPATH=yes
2905 DEFAULT_wxUSE_PERMISSIVE=no
2906 DEFAULT_wxUSE_DEBUG_FLAG=yes
2907 DEFAULT_wxUSE_DEBUG_INFO=yes
2908 DEFAULT_wxUSE_DEBUG_GDB=yes
2909 DEFAULT_wxUSE_MEM_TRACING=no
2910 DEFAULT_wxUSE_DEBUG_CONTEXT=no
2911 DEFAULT_wxUSE_DMALLOC=no
2912 DEFAULT_wxUSE_APPLE_IEEE=no
2914 DEFAULT_wxUSE_EXCEPTIONS=no
2915 DEFAULT_wxUSE_LOG=yes
2916 DEFAULT_wxUSE_LOGWINDOW=no
2917 DEFAULT_wxUSE_LOGGUI=no
2918 DEFAULT_wxUSE_LOGDIALOG=no
2920 DEFAULT_wxUSE_GUI=yes
2921 DEFAULT_wxUSE_CONTROLS=no
2923 DEFAULT_wxUSE_REGEX=no
2924 DEFAULT_wxUSE_XML=no
2925 DEFAULT_wxUSE_EXPAT=no
2926 DEFAULT_wxUSE_ZLIB=no
2927 DEFAULT_wxUSE_LIBPNG=no
2928 DEFAULT_wxUSE_LIBJPEG=no
2929 DEFAULT_wxUSE_LIBTIFF=no
2930 DEFAULT_wxUSE_LIBXPM=no
2931 DEFAULT_wxUSE_LIBMSPACK=no
2932 DEFAULT_wxUSE_LIBSDL=no
2933 DEFAULT_wxUSE_LIBGNOMEPRINT=no
2934 DEFAULT_wxUSE_LIBGNOMEVFS=no
2935 DEFAULT_wxUSE_LIBHILDON=no
2936 DEFAULT_wxUSE_ODBC=no
2937 DEFAULT_wxUSE_OPENGL=no
2939 DEFAULT_wxUSE_ON_FATAL_EXCEPTION=no
2940 DEFAULT_wxUSE_STACKWALKER=no
2941 DEFAULT_wxUSE_DEBUGREPORT=no
2942 DEFAULT_wxUSE_SNGLINST_CHECKER=no
2943 DEFAULT_wxUSE_STD_IOSTREAM=no
2944 DEFAULT_wxUSE_STD_STRING=no
2945 DEFAULT_wxUSE_CMDLINE_PARSER=no
2946 DEFAULT_wxUSE_DATETIME=no
2947 DEFAULT_wxUSE_TIMER=no
2948 DEFAULT_wxUSE_STOPWATCH=no
2949 DEFAULT_wxUSE_FILE=no
2950 DEFAULT_wxUSE_FFILE=no
2951 DEFAULT_wxUSE_STDPATHS=no
2952 DEFAULT_wxUSE_TEXTBUFFER=no
2953 DEFAULT_wxUSE_TEXTFILE=no
2954 DEFAULT_wxUSE_SOUND=no
2955 DEFAULT_wxUSE_MEDIACTRL=no
2956 DEFAULT_wxUSE_GSTREAMER8=no
2957 DEFAULT_wxUSE_PRINTF_POS_PARAMS=no
2958 DEFAULT_wxUSE_INTL=no
2959 DEFAULT_wxUSE_CONFIG=no
2960 DEFAULT_wxUSE_FONTMAP=no
2961 DEFAULT_wxUSE_STREAMS=no
2962 DEFAULT_wxUSE_SOCKETS=no
2963 DEFAULT_wxUSE_OLE=no
2964 DEFAULT_wxUSE_DATAOBJ=no
2965 DEFAULT_wxUSE_DIALUP_MANAGER=no
2966 DEFAULT_wxUSE_JOYSTICK=no
2967 DEFAULT_wxUSE_DYNLIB_CLASS=no
2968 DEFAULT_wxUSE_DYNAMIC_LOADER=no
2969 DEFAULT_wxUSE_LONGLONG=no
2970 DEFAULT_wxUSE_GEOMETRY=no
2972 DEFAULT_wxUSE_AFM_FOR_POSTSCRIPT=no
2973 DEFAULT_wxUSE_NORMALIZED_PS_FONTS=no
2974 DEFAULT_wxUSE_POSTSCRIPT=no
2976 DEFAULT_wxUSE_CLIPBOARD=no
2977 DEFAULT_wxUSE_TOOLTIPS=no
2978 DEFAULT_wxUSE_DRAG_AND_DROP=no
2979 DEFAULT_wxUSE_DRAGIMAGE=no
2980 DEFAULT_wxUSE_SPLINES=no
2981 DEFAULT_wxUSE_MOUSEWHEEL=no
2983 DEFAULT_wxUSE_MDI=no
2984 DEFAULT_wxUSE_MDI_ARCHITECTURE=no
2985 DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE=no
2986 DEFAULT_wxUSE_PRINTING_ARCHITECTURE=no
2988 DEFAULT_wxUSE_RESOURCES=no
2989 DEFAULT_wxUSE_CONSTRAINTS=no
2990 DEFAULT_wxUSE_IPC=no
2991 DEFAULT_wxUSE_HELP=no
2992 DEFAULT_wxUSE_MS_HTML_HELP=no
2993 DEFAULT_wxUSE_WXHTML_HELP=no
2994 DEFAULT_wxUSE_TREELAYOUT=no
2995 DEFAULT_wxUSE_METAFILE=no
2996 DEFAULT_wxUSE_MIMETYPE=no
2997 DEFAULT_wxUSE_SYSTEM_OPTIONS=no
2998 DEFAULT_wxUSE_PROTOCOL=no
2999 DEFAULT_wxUSE_PROTOCOL_HTTP=no
3000 DEFAULT_wxUSE_PROTOCOL_FTP=no
3001 DEFAULT_wxUSE_PROTOCOL_FILE=no
3002 DEFAULT_wxUSE_URL=no
3003 DEFAULT_wxUSE_VARIANT=no
3005 DEFAULT_wxUSE_ABOUTDLG=no
3006 DEFAULT_wxUSE_COMMONDLGS=no
3007 DEFAULT_wxUSE_CHOICEDLG=no
3008 DEFAULT_wxUSE_COLOURDLG=no
3009 DEFAULT_wxUSE_DIRDLG=no
3010 DEFAULT_wxUSE_FILEDLG=no
3011 DEFAULT_wxUSE_FINDREPLDLG=no
3012 DEFAULT_wxUSE_FONTDLG=no
3013 DEFAULT_wxUSE_MSGDLG=no
3014 DEFAULT_wxUSE_NUMBERDLG=no
3015 DEFAULT_wxUSE_TEXTDLG=no
3016 DEFAULT_wxUSE_SPLASH=no
3017 DEFAULT_wxUSE_STARTUP_TIPS=no
3018 DEFAULT_wxUSE_PROGRESSDLG=no
3019 DEFAULT_wxUSE_WIZARDDLG=no
3021 DEFAULT_wxUSE_MENUS=no
3022 DEFAULT_wxUSE_MINIFRAME=no
3023 DEFAULT_wxUSE_HTML=no
3024 DEFAULT_wxUSE_RICHTEXT=no
3025 DEFAULT_wxUSE_XRC=no
3026 DEFAULT_wxUSE_AUI=no
3027 DEFAULT_wxUSE_WEBKIT=no
3028 DEFAULT_wxUSE_FILESYSTEM=no
3029 DEFAULT_wxUSE_FS_INET=no
3030 DEFAULT_wxUSE_FS_ZIP=no
3031 DEFAULT_wxUSE_FS_ARCHIVE=no
3032 DEFAULT_wxUSE_BUSYINFO=no
3033 DEFAULT_wxUSE_ARCHIVE_STREAMS=no
3034 DEFAULT_wxUSE_ZIPSTREAM=no
3035 DEFAULT_wxUSE_TARSTREAM=no
3036 DEFAULT_wxUSE_VALIDATORS=no
3038 DEFAULT_wxUSE_ACCEL=no
3039 DEFAULT_wxUSE_ANIMATIONCTRL=no
3040 DEFAULT_wxUSE_BUTTON=no
3041 DEFAULT_wxUSE_BMPBUTTON=no
3042 DEFAULT_wxUSE_BITMAPCOMBOBOX=no
3043 DEFAULT_wxUSE_CALCTRL=no
3044 DEFAULT_wxUSE_CARET=no
3045 DEFAULT_wxUSE_CHECKBOX=no
3046 DEFAULT_wxUSE_CHECKLST=no
3047 DEFAULT_wxUSE_CHOICE=no
3048 DEFAULT_wxUSE_CHOICEBOOK=no
3049 DEFAULT_wxUSE_COLLPANE=no
3050 DEFAULT_wxUSE_COLOURPICKERCTRL=no
3051 DEFAULT_wxUSE_COMBOBOX=no
3052 DEFAULT_wxUSE_COMBOCTRL=no
3053 DEFAULT_wxUSE_DATEPICKCTRL=no
3054 DEFAULT_wxUSE_DISPLAY=no
3055 DEFAULT_wxUSE_DETECT_SM=no
3056 DEFAULT_wxUSE_DIRPICKERCTRL=no
3057 DEFAULT_wxUSE_FILEPICKERCTRL=no
3058 DEFAULT_wxUSE_FONTPICKERCTRL=no
3059 DEFAULT_wxUSE_GAUGE=no
3060 DEFAULT_wxUSE_GRAPHICS_CONTEXT=no
3061 DEFAULT_wxUSE_GRID=no
3062 DEFAULT_wxUSE_HYPERLINKCTRL=no
3063 DEFAULT_wxUSE_DATAVIEWCTRL=no
3064 DEFAULT_wxUSE_IMAGLIST=no
3065 DEFAULT_wxUSE_LISTBOOK=no
3066 DEFAULT_wxUSE_LISTBOX=no
3067 DEFAULT_wxUSE_LISTCTRL=no
3068 DEFAULT_wxUSE_NOTEBOOK=no
3069 DEFAULT_wxUSE_ODCOMBOBOX=no
3070 DEFAULT_wxUSE_RADIOBOX=no
3071 DEFAULT_wxUSE_RADIOBTN=no
3072 DEFAULT_wxUSE_SASH=no
3073 DEFAULT_wxUSE_SCROLLBAR=no
3074 DEFAULT_wxUSE_SEARCHCTRL=no
3075 DEFAULT_wxUSE_SLIDER=no
3076 DEFAULT_wxUSE_SPINBTN=no
3077 DEFAULT_wxUSE_SPINCTRL=no
3078 DEFAULT_wxUSE_SPLITTER=no
3079 DEFAULT_wxUSE_STATBMP=no
3080 DEFAULT_wxUSE_STATBOX=no
3081 DEFAULT_wxUSE_STATLINE=no
3082 DEFAULT_wxUSE_STATTEXT=no
3083 DEFAULT_wxUSE_STATUSBAR=yes
3084 DEFAULT_wxUSE_TAB_DIALOG=no
3085 DEFAULT_wxUSE_TEXTCTRL=no
3086 DEFAULT_wxUSE_TOGGLEBTN=no
3087 DEFAULT_wxUSE_TOOLBAR=no
3088 DEFAULT_wxUSE_TOOLBAR_NATIVE=no
3089 DEFAULT_wxUSE_TREEBOOK=no
3090 DEFAULT_wxUSE_TOOLBOOK=no
3091 DEFAULT_wxUSE_TREECTRL=no
3092 DEFAULT_wxUSE_POPUPWIN=no
3093 DEFAULT_wxUSE_TIPWINDOW=no
3095 DEFAULT_wxUSE_UNICODE=no
3096 DEFAULT_wxUSE_UNICODE_MSLU=no
3097 DEFAULT_wxUSE_WCSRTOMBS=no
3099 DEFAULT_wxUSE_PALETTE=no
3100 DEFAULT_wxUSE_IMAGE=no
3101 DEFAULT_wxUSE_GIF=no
3102 DEFAULT_wxUSE_PCX=no
3103 DEFAULT_wxUSE_TGA=no
3104 DEFAULT_wxUSE_PNM=no
3105 DEFAULT_wxUSE_IFF=no
3106 DEFAULT_wxUSE_XPM=no
3107 DEFAULT_wxUSE_ICO_CUR=no
3108 DEFAULT_wxUSE_ACCESSIBILITY=no
3110 DEFAULT_wxUSE_MONOLITHIC=no
3111 DEFAULT_wxUSE_PLUGINS=no
3112 DEFAULT_wxUSE_OFFICIAL_BUILD=no
3114 DEFAULT_wxUSE_UNIVERSAL=no
3115 DEFAULT_wxUSE_STL=no
3117 DEFAULT_wxUSE_NANOX=no
3119 DEFAULT_wxUSE_THREADS=yes
3121 DEFAULT_wxUSE_SHARED=${DEFAULT_wxUSE_SHARED:-yes}
3122 DEFAULT_wxUSE_OPTIMISE=yes
3123 DEFAULT_wxUSE_PROFILE=no
3124 DEFAULT_wxUSE_NO_DEPS=no
3125 DEFAULT_wxUSE_VARARG_MACROS=yes
3126 DEFAULT_wxUSE_NO_RTTI=no
3127 DEFAULT_wxUSE_NO_EXCEPTIONS=no
3128 DEFAULT_wxUSE_UNIVERSAL_BINARY=no
3129 DEFAULT_wxUSE_RPATH=yes
3130 DEFAULT_wxUSE_PERMISSIVE=no
3131 DEFAULT_wxUSE_DEBUG_FLAG=no
3132 DEFAULT_wxUSE_DEBUG_INFO=no
3133 DEFAULT_wxUSE_DEBUG_GDB=no
3134 DEFAULT_wxUSE_MEM_TRACING=no
3135 DEFAULT_wxUSE_DEBUG_CONTEXT=no
3136 DEFAULT_wxUSE_DMALLOC=no
3137 DEFAULT_wxUSE_APPLE_IEEE=yes
3139 DEFAULT_wxUSE_EXCEPTIONS=yes
3140 DEFAULT_wxUSE_LOG=yes
3141 DEFAULT_wxUSE_LOGWINDOW=yes
3142 DEFAULT_wxUSE_LOGGUI=yes
3143 DEFAULT_wxUSE_LOGDIALOG=yes
3145 DEFAULT_wxUSE_GUI=yes
3147 DEFAULT_wxUSE_REGEX=yes
3148 DEFAULT_wxUSE_XML=yes
3149 DEFAULT_wxUSE_EXPAT=yes
3150 DEFAULT_wxUSE_ZLIB=yes
3151 DEFAULT_wxUSE_LIBPNG=yes
3152 DEFAULT_wxUSE_LIBJPEG=yes
3153 DEFAULT_wxUSE_LIBTIFF=yes
3154 DEFAULT_wxUSE_LIBXPM=yes
3155 DEFAULT_wxUSE_LIBMSPACK=yes
3156 DEFAULT_wxUSE_LIBSDL=no
3157 DEFAULT_wxUSE_LIBGNOMEPRINT=yes
3158 DEFAULT_wxUSE_LIBGNOMEVFS=no
3159 DEFAULT_wxUSE_LIBHILDON=no
3160 DEFAULT_wxUSE_ODBC=no
3161 DEFAULT_wxUSE_OPENGL=no
3163 DEFAULT_wxUSE_ON_FATAL_EXCEPTION=yes
3164 DEFAULT_wxUSE_STACKWALKER=yes
3165 DEFAULT_wxUSE_DEBUGREPORT=yes
3166 DEFAULT_wxUSE_SNGLINST_CHECKER=yes
3167 DEFAULT_wxUSE_STD_IOSTREAM=$DEFAULT_STD_FLAG
3168 DEFAULT_wxUSE_STD_STRING=$DEFAULT_STD_FLAG
3169 DEFAULT_wxUSE_CMDLINE_PARSER=yes
3170 DEFAULT_wxUSE_DATETIME=yes
3171 DEFAULT_wxUSE_TIMER=yes
3172 DEFAULT_wxUSE_STOPWATCH=yes
3173 DEFAULT_wxUSE_FILE=yes
3174 DEFAULT_wxUSE_FFILE=yes
3175 DEFAULT_wxUSE_STDPATHS=yes
3176 DEFAULT_wxUSE_TEXTBUFFER=yes
3177 DEFAULT_wxUSE_TEXTFILE=yes
3178 DEFAULT_wxUSE_SOUND=yes
3179 DEFAULT_wxUSE_MEDIACTRL=no
3180 DEFAULT_wxUSE_GSTREAMER8=no
3181 DEFAULT_wxUSE_PRINTF_POS_PARAMS=yes
3182 DEFAULT_wxUSE_INTL=yes
3183 DEFAULT_wxUSE_CONFIG=yes
3184 DEFAULT_wxUSE_FONTMAP=yes
3185 DEFAULT_wxUSE_STREAMS=yes
3186 DEFAULT_wxUSE_SOCKETS=yes
3187 DEFAULT_wxUSE_OLE=yes
3188 DEFAULT_wxUSE_DATAOBJ=yes
3189 DEFAULT_wxUSE_DIALUP_MANAGER=yes
3190 DEFAULT_wxUSE_JOYSTICK=yes
3191 DEFAULT_wxUSE_DYNLIB_CLASS=yes
3192 DEFAULT_wxUSE_DYNAMIC_LOADER=yes
3193 DEFAULT_wxUSE_LONGLONG=yes
3194 DEFAULT_wxUSE_GEOMETRY=yes
3196 DEFAULT_wxUSE_AFM_FOR_POSTSCRIPT=yes
3197 DEFAULT_wxUSE_NORMALIZED_PS_FONTS=yes
3198 DEFAULT_wxUSE_POSTSCRIPT=yes
3200 DEFAULT_wxUSE_CLIPBOARD=yes
3201 DEFAULT_wxUSE_TOOLTIPS=yes
3202 DEFAULT_wxUSE_DRAG_AND_DROP=yes
3203 DEFAULT_wxUSE_DRAGIMAGE=yes
3204 DEFAULT_wxUSE_SPLINES=yes
3205 DEFAULT_wxUSE_MOUSEWHEEL=yes
3207 DEFAULT_wxUSE_MDI=yes
3208 DEFAULT_wxUSE_MDI_ARCHITECTURE=yes
3209 DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE=yes
3210 DEFAULT_wxUSE_PRINTING_ARCHITECTURE=yes
3212 DEFAULT_wxUSE_RESOURCES=no
3213 DEFAULT_wxUSE_CONSTRAINTS=yes
3214 DEFAULT_wxUSE_IPC=yes
3215 DEFAULT_wxUSE_HELP=yes
3216 DEFAULT_wxUSE_MS_HTML_HELP=yes
3217 DEFAULT_wxUSE_WXHTML_HELP=yes
3218 DEFAULT_wxUSE_TREELAYOUT=yes
3219 DEFAULT_wxUSE_METAFILE=yes
3220 DEFAULT_wxUSE_MIMETYPE=yes
3221 DEFAULT_wxUSE_SYSTEM_OPTIONS=yes
3222 DEFAULT_wxUSE_PROTOCOL=yes
3223 DEFAULT_wxUSE_PROTOCOL_HTTP=yes
3224 DEFAULT_wxUSE_PROTOCOL_FTP=yes
3225 DEFAULT_wxUSE_PROTOCOL_FILE=yes
3226 DEFAULT_wxUSE_URL=yes
3227 DEFAULT_wxUSE_VARIANT=yes
3229 DEFAULT_wxUSE_ABOUTDLG=yes
3230 DEFAULT_wxUSE_COMMONDLGS=yes
3231 DEFAULT_wxUSE_CHOICEDLG=yes
3232 DEFAULT_wxUSE_COLOURDLG=yes
3233 DEFAULT_wxUSE_DIRDLG=yes
3234 DEFAULT_wxUSE_FILEDLG=yes
3235 DEFAULT_wxUSE_FINDREPLDLG=yes
3236 DEFAULT_wxUSE_FONTDLG=yes
3237 DEFAULT_wxUSE_MSGDLG=yes
3238 DEFAULT_wxUSE_NUMBERDLG=yes
3239 DEFAULT_wxUSE_TEXTDLG=yes
3240 DEFAULT_wxUSE_SPLASH=yes
3241 DEFAULT_wxUSE_STARTUP_TIPS=yes
3242 DEFAULT_wxUSE_PROGRESSDLG=yes
3243 DEFAULT_wxUSE_WIZARDDLG=yes
3245 DEFAULT_wxUSE_MENUS=yes
3246 DEFAULT_wxUSE_MINIFRAME=yes
3247 DEFAULT_wxUSE_HTML=yes
3248 DEFAULT_wxUSE_RICHTEXT=yes
3249 DEFAULT_wxUSE_XRC=yes
3250 DEFAULT_wxUSE_AUI=yes
3251 DEFAULT_wxUSE_WEBKIT=yes
3252 DEFAULT_wxUSE_FILESYSTEM=yes
3253 DEFAULT_wxUSE_FS_INET=yes
3254 DEFAULT_wxUSE_FS_ZIP=yes
3255 DEFAULT_wxUSE_FS_ARCHIVE=yes
3256 DEFAULT_wxUSE_BUSYINFO=yes
3257 DEFAULT_wxUSE_ARCHIVE_STREAMS=yes
3258 DEFAULT_wxUSE_ZIPSTREAM=yes
3259 DEFAULT_wxUSE_TARSTREAM=yes
3260 DEFAULT_wxUSE_VALIDATORS=yes
3262 DEFAULT_wxUSE_ACCEL=yes
3263 DEFAULT_wxUSE_ANIMATIONCTRL=yes
3264 DEFAULT_wxUSE_BUTTON=yes
3265 DEFAULT_wxUSE_BMPBUTTON=yes
3266 DEFAULT_wxUSE_BITMAPCOMBOBOX=yes
3267 DEFAULT_wxUSE_CALCTRL=yes
3268 DEFAULT_wxUSE_CARET=yes
3269 DEFAULT_wxUSE_CHECKBOX=yes
3270 DEFAULT_wxUSE_CHECKLST=yes
3271 DEFAULT_wxUSE_CHOICE=yes
3272 DEFAULT_wxUSE_CHOICEBOOK=yes
3273 DEFAULT_wxUSE_COLLPANE=yes
3274 DEFAULT_wxUSE_COLOURPICKERCTRL=yes
3275 DEFAULT_wxUSE_COMBOBOX=yes
3276 DEFAULT_wxUSE_COMBOCTRL=yes
3277 DEFAULT_wxUSE_DATEPICKCTRL=yes
3278 DEFAULT_wxUSE_DISPLAY=yes
3279 DEFAULT_wxUSE_DETECT_SM=yes
3280 DEFAULT_wxUSE_DIRPICKERCTRL=yes
3281 DEFAULT_wxUSE_FILEPICKERCTRL=yes
3282 DEFAULT_wxUSE_FONTPICKERCTRL=yes
3283 DEFAULT_wxUSE_GAUGE=yes
3284 DEFAULT_wxUSE_GRID=yes
3285 DEFAULT_wxUSE_GRAPHICS_CONTEXT=no
3286 DEFAULT_wxUSE_HYPERLINKCTRL=yes
3287 DEFAULT_wxUSE_DATAVIEWCTRL=no
3288 DEFAULT_wxUSE_IMAGLIST=yes
3289 DEFAULT_wxUSE_LISTBOOK=yes
3290 DEFAULT_wxUSE_LISTBOX=yes
3291 DEFAULT_wxUSE_LISTCTRL=yes
3292 DEFAULT_wxUSE_NOTEBOOK=yes
3293 DEFAULT_wxUSE_ODCOMBOBOX=yes
3294 DEFAULT_wxUSE_RADIOBOX=yes
3295 DEFAULT_wxUSE_RADIOBTN=yes
3296 DEFAULT_wxUSE_SASH=yes
3297 DEFAULT_wxUSE_SCROLLBAR=yes
3298 DEFAULT_wxUSE_SEARCHCTRL=yes
3299 DEFAULT_wxUSE_SLIDER=yes
3300 DEFAULT_wxUSE_SPINBTN=yes
3301 DEFAULT_wxUSE_SPINCTRL=yes
3302 DEFAULT_wxUSE_SPLITTER=yes
3303 DEFAULT_wxUSE_STATBMP=yes
3304 DEFAULT_wxUSE_STATBOX=yes
3305 DEFAULT_wxUSE_STATLINE=yes
3306 DEFAULT_wxUSE_STATTEXT=yes
3307 DEFAULT_wxUSE_STATUSBAR=yes
3308 DEFAULT_wxUSE_TAB_DIALOG=no
3309 DEFAULT_wxUSE_TEXTCTRL=yes
3310 DEFAULT_wxUSE_TOGGLEBTN=yes
3311 DEFAULT_wxUSE_TOOLBAR=yes
3312 DEFAULT_wxUSE_TOOLBAR_NATIVE=yes
3313 DEFAULT_wxUSE_TREEBOOK=yes
3314 DEFAULT_wxUSE_TOOLBOOK=yes
3315 DEFAULT_wxUSE_TREECTRL=yes
3316 DEFAULT_wxUSE_POPUPWIN=yes
3317 DEFAULT_wxUSE_TIPWINDOW=yes
3319 DEFAULT_wxUSE_UNICODE=no
3320 DEFAULT_wxUSE_UNICODE_MSLU=yes
3321 DEFAULT_wxUSE_WCSRTOMBS=no
3323 DEFAULT_wxUSE_PALETTE=yes
3324 DEFAULT_wxUSE_IMAGE=yes
3325 DEFAULT_wxUSE_GIF=yes
3326 DEFAULT_wxUSE_PCX=yes
3327 DEFAULT_wxUSE_TGA=yes
3328 DEFAULT_wxUSE_IFF=no DEFAULT_wxUSE_PNM=yes
3329 DEFAULT_wxUSE_XPM=yes
3330 DEFAULT_wxUSE_ICO_CUR=yes
3331 DEFAULT_wxUSE_ACCESSIBILITY=no
3333 DEFAULT_wxUSE_MONOLITHIC=no
3334 DEFAULT_wxUSE_PLUGINS=no
3335 DEFAULT_wxUSE_OFFICIAL_BUILD=no
3337 DEFAULT_wxUSE_GTK2=yes
3343 for toolkit in `echo $ALL_TOOLKITS`; do
3344 LINE=`grep "wxUSE_$toolkit=" ${wx_arg_cache_file}`
3345 if test "x$LINE" != "x" ; then
3346 has_toolkit_in_cache=1
3347 eval "DEFAULT_$LINE"
3348 eval "CACHE_$toolkit=1"
3350 LINE=`grep "wx${toolkit}_VERSION=" ${wx_arg_cache_file}`
3351 if test "x$LINE" != "x" ; then
3352 eval "DEFAULT_$LINE"
3360 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gui" >&5
3361 echo $ECHO_N "checking for --${enablestring:-enable}-gui... $ECHO_C" >&6; }
3363 # Check whether --enable-gui was given.
3364 if test "${enable_gui+set}" = set; then
3365 enableval=$enable_gui;
3366 if test "$enableval" = yes; then
3367 ac_cv_use_gui='wxUSE_GUI=yes'
3369 ac_cv_use_gui='wxUSE_GUI=no'
3374 LINE=`grep "wxUSE_GUI" ${wx_arg_cache_file}`
3375 if test "x$LINE" != x ; then
3376 eval "DEFAULT_$LINE"
3381 ac_cv_use_gui='wxUSE_GUI='$DEFAULT_wxUSE_GUI
3386 eval "$ac_cv_use_gui"
3387 if test "$no_cache" != 1; then
3388 echo $ac_cv_use_gui >> ${wx_arg_cache_file}.tmp
3391 if test "$wxUSE_GUI" = yes; then
3392 { echo "$as_me:$LINENO: result: yes" >&5
3393 echo "${ECHO_T}yes" >&6; }
3395 { echo "$as_me:$LINENO: result: no" >&5
3396 echo "${ECHO_T}no" >&6; }
3401 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-monolithic" >&5
3402 echo $ECHO_N "checking for --${enablestring:-enable}-monolithic... $ECHO_C" >&6; }
3404 # Check whether --enable-monolithic was given.
3405 if test "${enable_monolithic+set}" = set; then
3406 enableval=$enable_monolithic;
3407 if test "$enableval" = yes; then
3408 ac_cv_use_monolithic='wxUSE_MONOLITHIC=yes'
3410 ac_cv_use_monolithic='wxUSE_MONOLITHIC=no'
3415 LINE=`grep "wxUSE_MONOLITHIC" ${wx_arg_cache_file}`
3416 if test "x$LINE" != x ; then
3417 eval "DEFAULT_$LINE"
3422 ac_cv_use_monolithic='wxUSE_MONOLITHIC='$DEFAULT_wxUSE_MONOLITHIC
3427 eval "$ac_cv_use_monolithic"
3428 if test "$no_cache" != 1; then
3429 echo $ac_cv_use_monolithic >> ${wx_arg_cache_file}.tmp
3432 if test "$wxUSE_MONOLITHIC" = yes; then
3433 { echo "$as_me:$LINENO: result: yes" >&5
3434 echo "${ECHO_T}yes" >&6; }
3436 { echo "$as_me:$LINENO: result: no" >&5
3437 echo "${ECHO_T}no" >&6; }
3442 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-plugins" >&5
3443 echo $ECHO_N "checking for --${enablestring:-enable}-plugins... $ECHO_C" >&6; }
3445 # Check whether --enable-plugins was given.
3446 if test "${enable_plugins+set}" = set; then
3447 enableval=$enable_plugins;
3448 if test "$enableval" = yes; then
3449 ac_cv_use_plugins='wxUSE_PLUGINS=yes'
3451 ac_cv_use_plugins='wxUSE_PLUGINS=no'
3456 LINE=`grep "wxUSE_PLUGINS" ${wx_arg_cache_file}`
3457 if test "x$LINE" != x ; then
3458 eval "DEFAULT_$LINE"
3463 ac_cv_use_plugins='wxUSE_PLUGINS='$DEFAULT_wxUSE_PLUGINS
3468 eval "$ac_cv_use_plugins"
3469 if test "$no_cache" != 1; then
3470 echo $ac_cv_use_plugins >> ${wx_arg_cache_file}.tmp
3473 if test "$wxUSE_PLUGINS" = yes; then
3474 { echo "$as_me:$LINENO: result: yes" >&5
3475 echo "${ECHO_T}yes" >&6; }
3477 { echo "$as_me:$LINENO: result: no" >&5
3478 echo "${ECHO_T}no" >&6; }
3483 { echo "$as_me:$LINENO: checking for --${withstring:-with}-subdirs" >&5
3484 echo $ECHO_N "checking for --${withstring:-with}-subdirs... $ECHO_C" >&6; }
3487 # Check whether --with-subdirs was given.
3488 if test "${with_subdirs+set}" = set; then
3489 withval=$with_subdirs;
3490 if test "$withval" = yes; then
3491 ac_cv_use_subdirs='wxWITH_SUBDIRS=yes'
3493 ac_cv_use_subdirs='wxWITH_SUBDIRS=no'
3498 LINE=`grep "wxWITH_SUBDIRS" ${wx_arg_cache_file}`
3499 if test "x$LINE" != x ; then
3500 eval "DEFAULT_$LINE"
3505 ac_cv_use_subdirs='wxWITH_SUBDIRS='$DEFAULT_wxWITH_SUBDIRS
3510 eval "$ac_cv_use_subdirs"
3511 if test "$no_cache" != 1; then
3512 echo $ac_cv_use_subdirs >> ${wx_arg_cache_file}.tmp
3515 if test "$wxWITH_SUBDIRS" = yes; then
3516 { echo "$as_me:$LINENO: result: yes" >&5
3517 echo "${ECHO_T}yes" >&6; }
3519 { echo "$as_me:$LINENO: result: no" >&5
3520 echo "${ECHO_T}no" >&6; }
3524 if test "$wxUSE_GUI" = "yes"; then
3528 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-universal" >&5
3529 echo $ECHO_N "checking for --${enablestring:-enable}-universal... $ECHO_C" >&6; }
3531 # Check whether --enable-universal was given.
3532 if test "${enable_universal+set}" = set; then
3533 enableval=$enable_universal;
3534 if test "$enableval" = yes; then
3535 ac_cv_use_universal='wxUSE_UNIVERSAL=yes'
3537 ac_cv_use_universal='wxUSE_UNIVERSAL=no'
3542 LINE=`grep "wxUSE_UNIVERSAL" ${wx_arg_cache_file}`
3543 if test "x$LINE" != x ; then
3544 eval "DEFAULT_$LINE"
3549 ac_cv_use_universal='wxUSE_UNIVERSAL='$DEFAULT_wxUSE_UNIVERSAL
3554 eval "$ac_cv_use_universal"
3555 if test "$no_cache" != 1; then
3556 echo $ac_cv_use_universal >> ${wx_arg_cache_file}.tmp
3559 if test "$wxUSE_UNIVERSAL" = yes; then
3560 { echo "$as_me:$LINENO: result: yes" >&5
3561 echo "${ECHO_T}yes" >&6; }
3563 { echo "$as_me:$LINENO: result: no" >&5
3564 echo "${ECHO_T}no" >&6; }
3568 # Check whether --with-gtk was given.
3569 if test "${with_gtk+set}" = set; then
3570 withval=$with_gtk; wxUSE_GTK="$withval" CACHE_GTK=1 TOOLKIT_GIVEN=1
3574 # Check whether --with-motif was given.
3575 if test "${with_motif+set}" = set; then
3576 withval=$with_motif; wxUSE_MOTIF="$withval" CACHE_MOTIF=1 TOOLKIT_GIVEN=1
3580 # Check whether --with-mac was given.
3581 if test "${with_mac+set}" = set; then
3582 withval=$with_mac; wxUSE_MAC="$withval" CACHE_MAC=1 TOOLKIT_GIVEN=1
3586 # Check whether --with-cocoa was given.
3587 if test "${with_cocoa+set}" = set; then
3588 withval=$with_cocoa; wxUSE_COCOA="$withval" CACHE_COCOA=1 TOOLKIT_GIVEN=1
3592 # Check whether --with-wine was given.
3593 if test "${with_wine+set}" = set; then
3594 withval=$with_wine; wxUSE_WINE="$withval" CACHE_WINE=1
3598 # Check whether --with-msw was given.
3599 if test "${with_msw+set}" = set; then
3600 withval=$with_msw; wxUSE_MSW="$withval" CACHE_MSW=1 TOOLKIT_GIVEN=1
3604 # Check whether --with-pm was given.
3605 if test "${with_pm+set}" = set; then
3606 withval=$with_pm; wxUSE_PM="$withval" CACHE_PM=1 TOOLKIT_GIVEN=1
3610 # Check whether --with-mgl was given.
3611 if test "${with_mgl+set}" = set; then
3612 withval=$with_mgl; wxUSE_MGL="$withval" wxUSE_UNIVERSAL="yes" CACHE_MGL=1 TOOLKIT_GIVEN=1
3616 # Check whether --with-directfb was given.
3617 if test "${with_directfb+set}" = set; then
3618 withval=$with_directfb; wxUSE_DFB="$withval" wxUSE_UNIVERSAL="yes" CACHE_DFB=1 TOOLKIT_GIVEN=1
3622 # Check whether --with-microwin was given.
3623 if test "${with_microwin+set}" = set; then
3624 withval=$with_microwin; wxUSE_MICROWIN="$withval" CACHE_MICROWIN=1 TOOLKIT_GIVEN=1
3628 # Check whether --with-x11 was given.
3629 if test "${with_x11+set}" = set; then
3630 withval=$with_x11; wxUSE_X11="$withval" wxUSE_UNIVERSAL="yes" CACHE_X11=1 TOOLKIT_GIVEN=1
3635 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-nanox" >&5
3636 echo $ECHO_N "checking for --${enablestring:-enable}-nanox... $ECHO_C" >&6; }
3638 # Check whether --enable-nanox was given.
3639 if test "${enable_nanox+set}" = set; then
3640 enableval=$enable_nanox;
3641 if test "$enableval" = yes; then
3642 ac_cv_use_nanox='wxUSE_NANOX=yes'
3644 ac_cv_use_nanox='wxUSE_NANOX=no'
3649 LINE=`grep "wxUSE_NANOX" ${wx_arg_cache_file}`
3650 if test "x$LINE" != x ; then
3651 eval "DEFAULT_$LINE"
3656 ac_cv_use_nanox='wxUSE_NANOX='$DEFAULT_wxUSE_NANOX
3661 eval "$ac_cv_use_nanox"
3662 if test "$no_cache" != 1; then
3663 echo $ac_cv_use_nanox >> ${wx_arg_cache_file}.tmp
3666 if test "$wxUSE_NANOX" = yes; then
3667 { echo "$as_me:$LINENO: result: yes" >&5
3668 echo "${ECHO_T}yes" >&6; }
3670 { echo "$as_me:$LINENO: result: no" >&5
3671 echo "${ECHO_T}no" >&6; }
3675 # Check whether --enable-gtk2 was given.
3676 if test "${enable_gtk2+set}" = set; then
3677 enableval=$enable_gtk2; wxUSE_GTK2="$enableval"
3682 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gpe" >&5
3683 echo $ECHO_N "checking for --${enablestring:-enable}-gpe... $ECHO_C" >&6; }
3685 # Check whether --enable-gpe was given.
3686 if test "${enable_gpe+set}" = set; then
3687 enableval=$enable_gpe;
3688 if test "$enableval" = yes; then
3689 ac_cv_use_gpe='wxUSE_GPE=yes'
3691 ac_cv_use_gpe='wxUSE_GPE=no'
3696 LINE=`grep "wxUSE_GPE" ${wx_arg_cache_file}`
3697 if test "x$LINE" != x ; then
3698 eval "DEFAULT_$LINE"
3703 ac_cv_use_gpe='wxUSE_GPE='$DEFAULT_wxUSE_GPE
3708 eval "$ac_cv_use_gpe"
3709 if test "$no_cache" != 1; then
3710 echo $ac_cv_use_gpe >> ${wx_arg_cache_file}.tmp
3713 if test "$wxUSE_GPE" = yes; then
3714 { echo "$as_me:$LINENO: result: yes" >&5
3715 echo "${ECHO_T}yes" >&6; }
3717 { echo "$as_me:$LINENO: result: no" >&5
3718 echo "${ECHO_T}no" >&6; }
3723 { echo "$as_me:$LINENO: checking for --with-libpng" >&5
3724 echo $ECHO_N "checking for --with-libpng... $ECHO_C" >&6; }
3727 # Check whether --with-libpng was given.
3728 if test "${with_libpng+set}" = set; then
3729 withval=$with_libpng;
3730 if test "$withval" = yes; then
3731 ac_cv_use_libpng='wxUSE_LIBPNG=yes'
3732 elif test "$withval" = no; then
3733 ac_cv_use_libpng='wxUSE_LIBPNG=no'
3734 elif test "$withval" = sys; then
3735 ac_cv_use_libpng='wxUSE_LIBPNG=sys'
3736 elif test "$withval" = builtin; then
3737 ac_cv_use_libpng='wxUSE_LIBPNG=builtin'
3739 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
3740 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
3741 { (exit 1); exit 1; }; }
3746 LINE=`grep "wxUSE_LIBPNG" ${wx_arg_cache_file}`
3747 if test "x$LINE" != x ; then
3748 eval "DEFAULT_$LINE"
3753 ac_cv_use_libpng='wxUSE_LIBPNG='$DEFAULT_wxUSE_LIBPNG
3758 eval "$ac_cv_use_libpng"
3759 if test "$no_cache" != 1; then
3760 echo $ac_cv_use_libpng >> ${wx_arg_cache_file}.tmp
3763 if test "$wxUSE_LIBPNG" = yes; then
3764 { echo "$as_me:$LINENO: result: yes" >&5
3765 echo "${ECHO_T}yes" >&6; }
3766 elif test "$wxUSE_LIBPNG" = no; then
3767 { echo "$as_me:$LINENO: result: no" >&5
3768 echo "${ECHO_T}no" >&6; }
3769 elif test "$wxUSE_LIBPNG" = sys; then
3770 { echo "$as_me:$LINENO: result: system version" >&5
3771 echo "${ECHO_T}system version" >&6; }
3772 elif test "$wxUSE_LIBPNG" = builtin; then
3773 { echo "$as_me:$LINENO: result: builtin version" >&5
3774 echo "${ECHO_T}builtin version" >&6; }
3776 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
3777 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
3778 { (exit 1); exit 1; }; }
3782 { echo "$as_me:$LINENO: checking for --with-libjpeg" >&5
3783 echo $ECHO_N "checking for --with-libjpeg... $ECHO_C" >&6; }
3786 # Check whether --with-libjpeg was given.
3787 if test "${with_libjpeg+set}" = set; then
3788 withval=$with_libjpeg;
3789 if test "$withval" = yes; then
3790 ac_cv_use_libjpeg='wxUSE_LIBJPEG=yes'
3791 elif test "$withval" = no; then
3792 ac_cv_use_libjpeg='wxUSE_LIBJPEG=no'
3793 elif test "$withval" = sys; then
3794 ac_cv_use_libjpeg='wxUSE_LIBJPEG=sys'
3795 elif test "$withval" = builtin; then
3796 ac_cv_use_libjpeg='wxUSE_LIBJPEG=builtin'
3798 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
3799 echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
3800 { (exit 1); exit 1; }; }
3805 LINE=`grep "wxUSE_LIBJPEG" ${wx_arg_cache_file}`
3806 if test "x$LINE" != x ; then
3807 eval "DEFAULT_$LINE"
3812 ac_cv_use_libjpeg='wxUSE_LIBJPEG='$DEFAULT_wxUSE_LIBJPEG
3817 eval "$ac_cv_use_libjpeg"
3818 if test "$no_cache" != 1; then
3819 echo $ac_cv_use_libjpeg >> ${wx_arg_cache_file}.tmp
3822 if test "$wxUSE_LIBJPEG" = yes; then
3823 { echo "$as_me:$LINENO: result: yes" >&5
3824 echo "${ECHO_T}yes" >&6; }
3825 elif test "$wxUSE_LIBJPEG" = no; then
3826 { echo "$as_me:$LINENO: result: no" >&5
3827 echo "${ECHO_T}no" >&6; }
3828 elif test "$wxUSE_LIBJPEG" = sys; then
3829 { echo "$as_me:$LINENO: result: system version" >&5
3830 echo "${ECHO_T}system version" >&6; }
3831 elif test "$wxUSE_LIBJPEG" = builtin; then
3832 { echo "$as_me:$LINENO: result: builtin version" >&5
3833 echo "${ECHO_T}builtin version" >&6; }
3835 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
3836 echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
3837 { (exit 1); exit 1; }; }
3841 { echo "$as_me:$LINENO: checking for --with-libtiff" >&5
3842 echo $ECHO_N "checking for --with-libtiff... $ECHO_C" >&6; }
3845 # Check whether --with-libtiff was given.
3846 if test "${with_libtiff+set}" = set; then
3847 withval=$with_libtiff;
3848 if test "$withval" = yes; then
3849 ac_cv_use_libtiff='wxUSE_LIBTIFF=yes'
3850 elif test "$withval" = no; then
3851 ac_cv_use_libtiff='wxUSE_LIBTIFF=no'
3852 elif test "$withval" = sys; then
3853 ac_cv_use_libtiff='wxUSE_LIBTIFF=sys'
3854 elif test "$withval" = builtin; then
3855 ac_cv_use_libtiff='wxUSE_LIBTIFF=builtin'
3857 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
3858 echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
3859 { (exit 1); exit 1; }; }
3864 LINE=`grep "wxUSE_LIBTIFF" ${wx_arg_cache_file}`
3865 if test "x$LINE" != x ; then
3866 eval "DEFAULT_$LINE"
3871 ac_cv_use_libtiff='wxUSE_LIBTIFF='$DEFAULT_wxUSE_LIBTIFF
3876 eval "$ac_cv_use_libtiff"
3877 if test "$no_cache" != 1; then
3878 echo $ac_cv_use_libtiff >> ${wx_arg_cache_file}.tmp
3881 if test "$wxUSE_LIBTIFF" = yes; then
3882 { echo "$as_me:$LINENO: result: yes" >&5
3883 echo "${ECHO_T}yes" >&6; }
3884 elif test "$wxUSE_LIBTIFF" = no; then
3885 { echo "$as_me:$LINENO: result: no" >&5
3886 echo "${ECHO_T}no" >&6; }
3887 elif test "$wxUSE_LIBTIFF" = sys; then
3888 { echo "$as_me:$LINENO: result: system version" >&5
3889 echo "${ECHO_T}system version" >&6; }
3890 elif test "$wxUSE_LIBTIFF" = builtin; then
3891 { echo "$as_me:$LINENO: result: builtin version" >&5
3892 echo "${ECHO_T}builtin version" >&6; }
3894 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
3895 echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
3896 { (exit 1); exit 1; }; }
3900 { echo "$as_me:$LINENO: checking for --with-libxpm" >&5
3901 echo $ECHO_N "checking for --with-libxpm... $ECHO_C" >&6; }
3904 # Check whether --with-libxpm was given.
3905 if test "${with_libxpm+set}" = set; then
3906 withval=$with_libxpm;
3907 if test "$withval" = yes; then
3908 ac_cv_use_libxpm='wxUSE_LIBXPM=yes'
3909 elif test "$withval" = no; then
3910 ac_cv_use_libxpm='wxUSE_LIBXPM=no'
3911 elif test "$withval" = sys; then
3912 ac_cv_use_libxpm='wxUSE_LIBXPM=sys'
3913 elif test "$withval" = builtin; then
3914 ac_cv_use_libxpm='wxUSE_LIBXPM=builtin'
3916 { { echo "$as_me:$LINENO: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&5
3917 echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
3918 { (exit 1); exit 1; }; }
3923 LINE=`grep "wxUSE_LIBXPM" ${wx_arg_cache_file}`
3924 if test "x$LINE" != x ; then
3925 eval "DEFAULT_$LINE"
3930 ac_cv_use_libxpm='wxUSE_LIBXPM='$DEFAULT_wxUSE_LIBXPM
3935 eval "$ac_cv_use_libxpm"
3936 if test "$no_cache" != 1; then
3937 echo $ac_cv_use_libxpm >> ${wx_arg_cache_file}.tmp
3940 if test "$wxUSE_LIBXPM" = yes; then
3941 { echo "$as_me:$LINENO: result: yes" >&5
3942 echo "${ECHO_T}yes" >&6; }
3943 elif test "$wxUSE_LIBXPM" = no; then
3944 { echo "$as_me:$LINENO: result: no" >&5
3945 echo "${ECHO_T}no" >&6; }
3946 elif test "$wxUSE_LIBXPM" = sys; then
3947 { echo "$as_me:$LINENO: result: system version" >&5
3948 echo "${ECHO_T}system version" >&6; }
3949 elif test "$wxUSE_LIBXPM" = builtin; then
3950 { echo "$as_me:$LINENO: result: builtin version" >&5
3951 echo "${ECHO_T}builtin version" >&6; }
3953 { { echo "$as_me:$LINENO: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&5
3954 echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
3955 { (exit 1); exit 1; }; }
3960 { echo "$as_me:$LINENO: checking for --${withstring:-with}-libmspack" >&5
3961 echo $ECHO_N "checking for --${withstring:-with}-libmspack... $ECHO_C" >&6; }
3964 # Check whether --with-libmspack was given.
3965 if test "${with_libmspack+set}" = set; then
3966 withval=$with_libmspack;
3967 if test "$withval" = yes; then
3968 ac_cv_use_libmspack='wxUSE_LIBMSPACK=yes'
3970 ac_cv_use_libmspack='wxUSE_LIBMSPACK=no'
3975 LINE=`grep "wxUSE_LIBMSPACK" ${wx_arg_cache_file}`
3976 if test "x$LINE" != x ; then
3977 eval "DEFAULT_$LINE"
3982 ac_cv_use_libmspack='wxUSE_LIBMSPACK='$DEFAULT_wxUSE_LIBMSPACK
3987 eval "$ac_cv_use_libmspack"
3988 if test "$no_cache" != 1; then
3989 echo $ac_cv_use_libmspack >> ${wx_arg_cache_file}.tmp
3992 if test "$wxUSE_LIBMSPACK" = yes; then
3993 { echo "$as_me:$LINENO: result: yes" >&5
3994 echo "${ECHO_T}yes" >&6; }
3996 { echo "$as_me:$LINENO: result: no" >&5
3997 echo "${ECHO_T}no" >&6; }
4002 { echo "$as_me:$LINENO: checking for --${withstring:-with}-sdl" >&5
4003 echo $ECHO_N "checking for --${withstring:-with}-sdl... $ECHO_C" >&6; }
4006 # Check whether --with-sdl was given.
4007 if test "${with_sdl+set}" = set; then
4009 if test "$withval" = yes; then
4010 ac_cv_use_sdl='wxUSE_LIBSDL=yes'
4012 ac_cv_use_sdl='wxUSE_LIBSDL=no'
4017 LINE=`grep "wxUSE_LIBSDL" ${wx_arg_cache_file}`
4018 if test "x$LINE" != x ; then
4019 eval "DEFAULT_$LINE"
4024 ac_cv_use_sdl='wxUSE_LIBSDL='$DEFAULT_wxUSE_LIBSDL
4029 eval "$ac_cv_use_sdl"
4030 if test "$no_cache" != 1; then
4031 echo $ac_cv_use_sdl >> ${wx_arg_cache_file}.tmp
4034 if test "$wxUSE_LIBSDL" = yes; then
4035 { echo "$as_me:$LINENO: result: yes" >&5
4036 echo "${ECHO_T}yes" >&6; }
4038 { echo "$as_me:$LINENO: result: no" >&5
4039 echo "${ECHO_T}no" >&6; }
4044 { echo "$as_me:$LINENO: checking for --${withstring:-with}-gnomeprint" >&5
4045 echo $ECHO_N "checking for --${withstring:-with}-gnomeprint... $ECHO_C" >&6; }
4048 # Check whether --with-gnomeprint was given.
4049 if test "${with_gnomeprint+set}" = set; then
4050 withval=$with_gnomeprint;
4051 if test "$withval" = yes; then
4052 ac_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT=yes'
4054 ac_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT=no'
4059 LINE=`grep "wxUSE_LIBGNOMEPRINT" ${wx_arg_cache_file}`
4060 if test "x$LINE" != x ; then
4061 eval "DEFAULT_$LINE"
4066 ac_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT='$DEFAULT_wxUSE_LIBGNOMEPRINT
4071 eval "$ac_cv_use_gnomeprint"
4072 if test "$no_cache" != 1; then
4073 echo $ac_cv_use_gnomeprint >> ${wx_arg_cache_file}.tmp
4076 if test "$wxUSE_LIBGNOMEPRINT" = yes; then
4077 { echo "$as_me:$LINENO: result: yes" >&5
4078 echo "${ECHO_T}yes" >&6; }
4080 { echo "$as_me:$LINENO: result: no" >&5
4081 echo "${ECHO_T}no" >&6; }
4086 { echo "$as_me:$LINENO: checking for --${withstring:-with}-gnomevfs" >&5
4087 echo $ECHO_N "checking for --${withstring:-with}-gnomevfs... $ECHO_C" >&6; }
4090 # Check whether --with-gnomevfs was given.
4091 if test "${with_gnomevfs+set}" = set; then
4092 withval=$with_gnomevfs;
4093 if test "$withval" = yes; then
4094 ac_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS=yes'
4096 ac_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS=no'
4101 LINE=`grep "wxUSE_LIBGNOMEVFS" ${wx_arg_cache_file}`
4102 if test "x$LINE" != x ; then
4103 eval "DEFAULT_$LINE"
4108 ac_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS='$DEFAULT_wxUSE_LIBGNOMEVFS
4113 eval "$ac_cv_use_gnomevfs"
4114 if test "$no_cache" != 1; then
4115 echo $ac_cv_use_gnomevfs >> ${wx_arg_cache_file}.tmp
4118 if test "$wxUSE_LIBGNOMEVFS" = yes; then
4119 { echo "$as_me:$LINENO: result: yes" >&5
4120 echo "${ECHO_T}yes" >&6; }
4122 { echo "$as_me:$LINENO: result: no" >&5
4123 echo "${ECHO_T}no" >&6; }
4128 { echo "$as_me:$LINENO: checking for --${withstring:-with}-hildon" >&5
4129 echo $ECHO_N "checking for --${withstring:-with}-hildon... $ECHO_C" >&6; }
4132 # Check whether --with-hildon was given.
4133 if test "${with_hildon+set}" = set; then
4134 withval=$with_hildon;
4135 if test "$withval" = yes; then
4136 ac_cv_use_hildon='wxUSE_LIBHILDON=yes'
4138 ac_cv_use_hildon='wxUSE_LIBHILDON=no'
4143 LINE=`grep "wxUSE_LIBHILDON" ${wx_arg_cache_file}`
4144 if test "x$LINE" != x ; then
4145 eval "DEFAULT_$LINE"
4150 ac_cv_use_hildon='wxUSE_LIBHILDON='$DEFAULT_wxUSE_LIBHILDON
4155 eval "$ac_cv_use_hildon"
4156 if test "$no_cache" != 1; then
4157 echo $ac_cv_use_hildon >> ${wx_arg_cache_file}.tmp
4160 if test "$wxUSE_LIBHILDON" = yes; then
4161 { echo "$as_me:$LINENO: result: yes" >&5
4162 echo "${ECHO_T}yes" >&6; }
4164 { echo "$as_me:$LINENO: result: no" >&5
4165 echo "${ECHO_T}no" >&6; }
4170 { echo "$as_me:$LINENO: checking for --${withstring:-with}-opengl" >&5
4171 echo $ECHO_N "checking for --${withstring:-with}-opengl... $ECHO_C" >&6; }
4174 # Check whether --with-opengl was given.
4175 if test "${with_opengl+set}" = set; then
4176 withval=$with_opengl;
4177 if test "$withval" = yes; then
4178 ac_cv_use_opengl='wxUSE_OPENGL=yes'
4180 ac_cv_use_opengl='wxUSE_OPENGL=no'
4185 LINE=`grep "wxUSE_OPENGL" ${wx_arg_cache_file}`
4186 if test "x$LINE" != x ; then
4187 eval "DEFAULT_$LINE"
4192 ac_cv_use_opengl='wxUSE_OPENGL='$DEFAULT_wxUSE_OPENGL
4197 eval "$ac_cv_use_opengl"
4198 if test "$no_cache" != 1; then
4199 echo $ac_cv_use_opengl >> ${wx_arg_cache_file}.tmp
4202 if test "$wxUSE_OPENGL" = yes; then
4203 { echo "$as_me:$LINENO: result: yes" >&5
4204 echo "${ECHO_T}yes" >&6; }
4206 { echo "$as_me:$LINENO: result: no" >&5
4207 echo "${ECHO_T}no" >&6; }
4211 if test "$wxUSE_UNIVERSAL" = "yes"; then
4213 # Check whether --with-themes was given.
4214 if test "${with_themes+set}" = set; then
4215 withval=$with_themes; wxUNIV_THEMES="$withval"
4224 { echo "$as_me:$LINENO: checking for --${withstring:-with}-dmalloc" >&5
4225 echo $ECHO_N "checking for --${withstring:-with}-dmalloc... $ECHO_C" >&6; }
4228 # Check whether --with-dmalloc was given.
4229 if test "${with_dmalloc+set}" = set; then
4230 withval=$with_dmalloc;
4231 if test "$withval" = yes; then
4232 ac_cv_use_dmalloc='wxUSE_DMALLOC=yes'
4234 ac_cv_use_dmalloc='wxUSE_DMALLOC=no'
4239 LINE=`grep "wxUSE_DMALLOC" ${wx_arg_cache_file}`
4240 if test "x$LINE" != x ; then
4241 eval "DEFAULT_$LINE"
4246 ac_cv_use_dmalloc='wxUSE_DMALLOC='$DEFAULT_wxUSE_DMALLOC
4251 eval "$ac_cv_use_dmalloc"
4252 if test "$no_cache" != 1; then
4253 echo $ac_cv_use_dmalloc >> ${wx_arg_cache_file}.tmp
4256 if test "$wxUSE_DMALLOC" = yes; then
4257 { echo "$as_me:$LINENO: result: yes" >&5
4258 echo "${ECHO_T}yes" >&6; }
4260 { echo "$as_me:$LINENO: result: no" >&5
4261 echo "${ECHO_T}no" >&6; }
4265 { echo "$as_me:$LINENO: checking for --with-regex" >&5
4266 echo $ECHO_N "checking for --with-regex... $ECHO_C" >&6; }
4269 # Check whether --with-regex was given.
4270 if test "${with_regex+set}" = set; then
4271 withval=$with_regex;
4272 if test "$withval" = yes; then
4273 ac_cv_use_regex='wxUSE_REGEX=yes'
4274 elif test "$withval" = no; then
4275 ac_cv_use_regex='wxUSE_REGEX=no'
4276 elif test "$withval" = sys; then
4277 ac_cv_use_regex='wxUSE_REGEX=sys'
4278 elif test "$withval" = builtin; then
4279 ac_cv_use_regex='wxUSE_REGEX=builtin'
4281 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
4282 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
4283 { (exit 1); exit 1; }; }
4288 LINE=`grep "wxUSE_REGEX" ${wx_arg_cache_file}`
4289 if test "x$LINE" != x ; then
4290 eval "DEFAULT_$LINE"
4295 ac_cv_use_regex='wxUSE_REGEX='$DEFAULT_wxUSE_REGEX
4300 eval "$ac_cv_use_regex"
4301 if test "$no_cache" != 1; then
4302 echo $ac_cv_use_regex >> ${wx_arg_cache_file}.tmp
4305 if test "$wxUSE_REGEX" = yes; then
4306 { echo "$as_me:$LINENO: result: yes" >&5
4307 echo "${ECHO_T}yes" >&6; }
4308 elif test "$wxUSE_REGEX" = no; then
4309 { echo "$as_me:$LINENO: result: no" >&5
4310 echo "${ECHO_T}no" >&6; }
4311 elif test "$wxUSE_REGEX" = sys; then
4312 { echo "$as_me:$LINENO: result: system version" >&5
4313 echo "${ECHO_T}system version" >&6; }
4314 elif test "$wxUSE_REGEX" = builtin; then
4315 { echo "$as_me:$LINENO: result: builtin version" >&5
4316 echo "${ECHO_T}builtin version" >&6; }
4318 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
4319 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
4320 { (exit 1); exit 1; }; }
4324 { echo "$as_me:$LINENO: checking for --with-zlib" >&5
4325 echo $ECHO_N "checking for --with-zlib... $ECHO_C" >&6; }
4328 # Check whether --with-zlib was given.
4329 if test "${with_zlib+set}" = set; then
4331 if test "$withval" = yes; then
4332 ac_cv_use_zlib='wxUSE_ZLIB=yes'
4333 elif test "$withval" = no; then
4334 ac_cv_use_zlib='wxUSE_ZLIB=no'
4335 elif test "$withval" = sys; then
4336 ac_cv_use_zlib='wxUSE_ZLIB=sys'
4337 elif test "$withval" = builtin; then
4338 ac_cv_use_zlib='wxUSE_ZLIB=builtin'
4340 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
4341 echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
4342 { (exit 1); exit 1; }; }
4347 LINE=`grep "wxUSE_ZLIB" ${wx_arg_cache_file}`
4348 if test "x$LINE" != x ; then
4349 eval "DEFAULT_$LINE"
4354 ac_cv_use_zlib='wxUSE_ZLIB='$DEFAULT_wxUSE_ZLIB
4359 eval "$ac_cv_use_zlib"
4360 if test "$no_cache" != 1; then
4361 echo $ac_cv_use_zlib >> ${wx_arg_cache_file}.tmp
4364 if test "$wxUSE_ZLIB" = yes; then
4365 { echo "$as_me:$LINENO: result: yes" >&5
4366 echo "${ECHO_T}yes" >&6; }
4367 elif test "$wxUSE_ZLIB" = no; then
4368 { echo "$as_me:$LINENO: result: no" >&5
4369 echo "${ECHO_T}no" >&6; }
4370 elif test "$wxUSE_ZLIB" = sys; then
4371 { echo "$as_me:$LINENO: result: system version" >&5
4372 echo "${ECHO_T}system version" >&6; }
4373 elif test "$wxUSE_ZLIB" = builtin; then
4374 { echo "$as_me:$LINENO: result: builtin version" >&5
4375 echo "${ECHO_T}builtin version" >&6; }
4377 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
4378 echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
4379 { (exit 1); exit 1; }; }
4383 { echo "$as_me:$LINENO: checking for --with-odbc" >&5
4384 echo $ECHO_N "checking for --with-odbc... $ECHO_C" >&6; }
4387 # Check whether --with-odbc was given.
4388 if test "${with_odbc+set}" = set; then
4390 if test "$withval" = yes; then
4391 ac_cv_use_odbc='wxUSE_ODBC=yes'
4392 elif test "$withval" = no; then
4393 ac_cv_use_odbc='wxUSE_ODBC=no'
4394 elif test "$withval" = sys; then
4395 ac_cv_use_odbc='wxUSE_ODBC=sys'
4396 elif test "$withval" = builtin; then
4397 ac_cv_use_odbc='wxUSE_ODBC=builtin'
4399 { { echo "$as_me:$LINENO: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&5
4400 echo "$as_me: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&2;}
4401 { (exit 1); exit 1; }; }
4406 LINE=`grep "wxUSE_ODBC" ${wx_arg_cache_file}`
4407 if test "x$LINE" != x ; then
4408 eval "DEFAULT_$LINE"
4413 ac_cv_use_odbc='wxUSE_ODBC='$DEFAULT_wxUSE_ODBC
4418 eval "$ac_cv_use_odbc"
4419 if test "$no_cache" != 1; then
4420 echo $ac_cv_use_odbc >> ${wx_arg_cache_file}.tmp
4423 if test "$wxUSE_ODBC" = yes; then
4424 { echo "$as_me:$LINENO: result: yes" >&5
4425 echo "${ECHO_T}yes" >&6; }
4426 elif test "$wxUSE_ODBC" = no; then
4427 { echo "$as_me:$LINENO: result: no" >&5
4428 echo "${ECHO_T}no" >&6; }
4429 elif test "$wxUSE_ODBC" = sys; then
4430 { echo "$as_me:$LINENO: result: system version" >&5
4431 echo "${ECHO_T}system version" >&6; }
4432 elif test "$wxUSE_ODBC" = builtin; then
4433 { echo "$as_me:$LINENO: result: builtin version" >&5
4434 echo "${ECHO_T}builtin version" >&6; }
4436 { { echo "$as_me:$LINENO: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&5
4437 echo "$as_me: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&2;}
4438 { (exit 1); exit 1; }; }
4442 { echo "$as_me:$LINENO: checking for --with-expat" >&5
4443 echo $ECHO_N "checking for --with-expat... $ECHO_C" >&6; }
4446 # Check whether --with-expat was given.
4447 if test "${with_expat+set}" = set; then
4448 withval=$with_expat;
4449 if test "$withval" = yes; then
4450 ac_cv_use_expat='wxUSE_EXPAT=yes'
4451 elif test "$withval" = no; then
4452 ac_cv_use_expat='wxUSE_EXPAT=no'
4453 elif test "$withval" = sys; then
4454 ac_cv_use_expat='wxUSE_EXPAT=sys'
4455 elif test "$withval" = builtin; then
4456 ac_cv_use_expat='wxUSE_EXPAT=builtin'
4458 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
4459 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
4460 { (exit 1); exit 1; }; }
4465 LINE=`grep "wxUSE_EXPAT" ${wx_arg_cache_file}`
4466 if test "x$LINE" != x ; then
4467 eval "DEFAULT_$LINE"
4472 ac_cv_use_expat='wxUSE_EXPAT='$DEFAULT_wxUSE_EXPAT
4477 eval "$ac_cv_use_expat"
4478 if test "$no_cache" != 1; then
4479 echo $ac_cv_use_expat >> ${wx_arg_cache_file}.tmp
4482 if test "$wxUSE_EXPAT" = yes; then
4483 { echo "$as_me:$LINENO: result: yes" >&5
4484 echo "${ECHO_T}yes" >&6; }
4485 elif test "$wxUSE_EXPAT" = no; then
4486 { echo "$as_me:$LINENO: result: no" >&5
4487 echo "${ECHO_T}no" >&6; }
4488 elif test "$wxUSE_EXPAT" = sys; then
4489 { echo "$as_me:$LINENO: result: system version" >&5
4490 echo "${ECHO_T}system version" >&6; }
4491 elif test "$wxUSE_EXPAT" = builtin; then
4492 { echo "$as_me:$LINENO: result: builtin version" >&5
4493 echo "${ECHO_T}builtin version" >&6; }
4495 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
4496 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
4497 { (exit 1); exit 1; }; }
4504 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-shared" >&5
4505 echo $ECHO_N "checking for --${enablestring:-enable}-shared... $ECHO_C" >&6; }
4507 # Check whether --enable-shared was given.
4508 if test "${enable_shared+set}" = set; then
4509 enableval=$enable_shared;
4510 if test "$enableval" = yes; then
4511 ac_cv_use_shared='wxUSE_SHARED=yes'
4513 ac_cv_use_shared='wxUSE_SHARED=no'
4518 LINE=`grep "wxUSE_SHARED" ${wx_arg_cache_file}`
4519 if test "x$LINE" != x ; then
4520 eval "DEFAULT_$LINE"
4525 ac_cv_use_shared='wxUSE_SHARED='$DEFAULT_wxUSE_SHARED
4530 eval "$ac_cv_use_shared"
4531 if test "$no_cache" != 1; then
4532 echo $ac_cv_use_shared >> ${wx_arg_cache_file}.tmp
4535 if test "$wxUSE_SHARED" = yes; then
4536 { echo "$as_me:$LINENO: result: yes" >&5
4537 echo "${ECHO_T}yes" >&6; }
4539 { echo "$as_me:$LINENO: result: no" >&5
4540 echo "${ECHO_T}no" >&6; }
4545 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-optimise" >&5
4546 echo $ECHO_N "checking for --${enablestring:-enable}-optimise... $ECHO_C" >&6; }
4548 # Check whether --enable-optimise was given.
4549 if test "${enable_optimise+set}" = set; then
4550 enableval=$enable_optimise;
4551 if test "$enableval" = yes; then
4552 ac_cv_use_optimise='wxUSE_OPTIMISE=yes'
4554 ac_cv_use_optimise='wxUSE_OPTIMISE=no'
4559 LINE=`grep "wxUSE_OPTIMISE" ${wx_arg_cache_file}`
4560 if test "x$LINE" != x ; then
4561 eval "DEFAULT_$LINE"
4566 ac_cv_use_optimise='wxUSE_OPTIMISE='$DEFAULT_wxUSE_OPTIMISE
4571 eval "$ac_cv_use_optimise"
4572 if test "$no_cache" != 1; then
4573 echo $ac_cv_use_optimise >> ${wx_arg_cache_file}.tmp
4576 if test "$wxUSE_OPTIMISE" = yes; then
4577 { echo "$as_me:$LINENO: result: yes" >&5
4578 echo "${ECHO_T}yes" >&6; }
4580 { echo "$as_me:$LINENO: result: no" >&5
4581 echo "${ECHO_T}no" >&6; }
4586 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug" >&5
4587 echo $ECHO_N "checking for --${enablestring:-enable}-debug... $ECHO_C" >&6; }
4589 # Check whether --enable-debug was given.
4590 if test "${enable_debug+set}" = set; then
4591 enableval=$enable_debug;
4592 if test "$enableval" = yes; then
4593 ac_cv_use_debug='wxUSE_DEBUG=yes'
4595 ac_cv_use_debug='wxUSE_DEBUG=no'
4600 LINE=`grep "wxUSE_DEBUG" ${wx_arg_cache_file}`
4601 if test "x$LINE" != x ; then
4602 eval "DEFAULT_$LINE"
4607 ac_cv_use_debug='wxUSE_DEBUG='$DEFAULT_wxUSE_DEBUG
4612 eval "$ac_cv_use_debug"
4613 if test "$no_cache" != 1; then
4614 echo $ac_cv_use_debug >> ${wx_arg_cache_file}.tmp
4617 if test "$wxUSE_DEBUG" = yes; then
4618 { echo "$as_me:$LINENO: result: yes" >&5
4619 echo "${ECHO_T}yes" >&6; }
4621 { echo "$as_me:$LINENO: result: no" >&5
4622 echo "${ECHO_T}no" >&6; }
4627 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stl" >&5
4628 echo $ECHO_N "checking for --${enablestring:-enable}-stl... $ECHO_C" >&6; }
4630 # Check whether --enable-stl was given.
4631 if test "${enable_stl+set}" = set; then
4632 enableval=$enable_stl;
4633 if test "$enableval" = yes; then
4634 ac_cv_use_stl='wxUSE_STL=yes'
4636 ac_cv_use_stl='wxUSE_STL=no'
4641 LINE=`grep "wxUSE_STL" ${wx_arg_cache_file}`
4642 if test "x$LINE" != x ; then
4643 eval "DEFAULT_$LINE"
4648 ac_cv_use_stl='wxUSE_STL='$DEFAULT_wxUSE_STL
4653 eval "$ac_cv_use_stl"
4654 if test "$no_cache" != 1; then
4655 echo $ac_cv_use_stl >> ${wx_arg_cache_file}.tmp
4658 if test "$wxUSE_STL" = yes; then
4659 { echo "$as_me:$LINENO: result: yes" >&5
4660 echo "${ECHO_T}yes" >&6; }
4662 { echo "$as_me:$LINENO: result: no" >&5
4663 echo "${ECHO_T}no" >&6; }
4666 if test "$USE_OS2" = "1"; then
4667 DEFAULT_wxUSE_OMF=no
4670 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-omf" >&5
4671 echo $ECHO_N "checking for --${enablestring:-enable}-omf... $ECHO_C" >&6; }
4673 # Check whether --enable-omf was given.
4674 if test "${enable_omf+set}" = set; then
4675 enableval=$enable_omf;
4676 if test "$enableval" = yes; then
4677 ac_cv_use_omf='wxUSE_OMF=yes'
4679 ac_cv_use_omf='wxUSE_OMF=no'
4684 LINE=`grep "wxUSE_OMF" ${wx_arg_cache_file}`
4685 if test "x$LINE" != x ; then
4686 eval "DEFAULT_$LINE"
4691 ac_cv_use_omf='wxUSE_OMF='$DEFAULT_wxUSE_OMF
4696 eval "$ac_cv_use_omf"
4697 if test "$no_cache" != 1; then
4698 echo $ac_cv_use_omf >> ${wx_arg_cache_file}.tmp
4701 if test "$wxUSE_OMF" = yes; then
4702 { echo "$as_me:$LINENO: result: yes" >&5
4703 echo "${ECHO_T}yes" >&6; }
4705 { echo "$as_me:$LINENO: result: no" >&5
4706 echo "${ECHO_T}no" >&6; }
4711 if test "$wxUSE_DEBUG" = "yes"; then
4712 DEFAULT_wxUSE_DEBUG_FLAG=yes
4713 DEFAULT_wxUSE_DEBUG_INFO=yes
4715 elif test "$wxUSE_DEBUG" = "no"; then
4716 DEFAULT_wxUSE_DEBUG_FLAG=no
4717 DEFAULT_wxUSE_DEBUG_INFO=no
4723 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_flag" >&5
4724 echo $ECHO_N "checking for --${enablestring:-enable}-debug_flag... $ECHO_C" >&6; }
4726 # Check whether --enable-debug_flag was given.
4727 if test "${enable_debug_flag+set}" = set; then
4728 enableval=$enable_debug_flag;
4729 if test "$enableval" = yes; then
4730 ac_cv_use_debug_flag='wxUSE_DEBUG_FLAG=yes'
4732 ac_cv_use_debug_flag='wxUSE_DEBUG_FLAG=no'
4737 LINE=`grep "wxUSE_DEBUG_FLAG" ${wx_arg_cache_file}`
4738 if test "x$LINE" != x ; then
4739 eval "DEFAULT_$LINE"
4744 ac_cv_use_debug_flag='wxUSE_DEBUG_FLAG='$DEFAULT_wxUSE_DEBUG_FLAG
4749 eval "$ac_cv_use_debug_flag"
4750 if test "$no_cache" != 1; then
4751 echo $ac_cv_use_debug_flag >> ${wx_arg_cache_file}.tmp
4754 if test "$wxUSE_DEBUG_FLAG" = yes; then
4755 { echo "$as_me:$LINENO: result: yes" >&5
4756 echo "${ECHO_T}yes" >&6; }
4758 { echo "$as_me:$LINENO: result: no" >&5
4759 echo "${ECHO_T}no" >&6; }
4764 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_info" >&5
4765 echo $ECHO_N "checking for --${enablestring:-enable}-debug_info... $ECHO_C" >&6; }
4767 # Check whether --enable-debug_info was given.
4768 if test "${enable_debug_info+set}" = set; then
4769 enableval=$enable_debug_info;
4770 if test "$enableval" = yes; then
4771 ac_cv_use_debug_info='wxUSE_DEBUG_INFO=yes'
4773 ac_cv_use_debug_info='wxUSE_DEBUG_INFO=no'
4778 LINE=`grep "wxUSE_DEBUG_INFO" ${wx_arg_cache_file}`
4779 if test "x$LINE" != x ; then
4780 eval "DEFAULT_$LINE"
4785 ac_cv_use_debug_info='wxUSE_DEBUG_INFO='$DEFAULT_wxUSE_DEBUG_INFO
4790 eval "$ac_cv_use_debug_info"
4791 if test "$no_cache" != 1; then
4792 echo $ac_cv_use_debug_info >> ${wx_arg_cache_file}.tmp
4795 if test "$wxUSE_DEBUG_INFO" = yes; then
4796 { echo "$as_me:$LINENO: result: yes" >&5
4797 echo "${ECHO_T}yes" >&6; }
4799 { echo "$as_me:$LINENO: result: no" >&5
4800 echo "${ECHO_T}no" >&6; }
4805 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_gdb" >&5
4806 echo $ECHO_N "checking for --${enablestring:-enable}-debug_gdb... $ECHO_C" >&6; }
4808 # Check whether --enable-debug_gdb was given.
4809 if test "${enable_debug_gdb+set}" = set; then
4810 enableval=$enable_debug_gdb;
4811 if test "$enableval" = yes; then
4812 ac_cv_use_debug_gdb='wxUSE_DEBUG_GDB=yes'
4814 ac_cv_use_debug_gdb='wxUSE_DEBUG_GDB=no'
4819 LINE=`grep "wxUSE_DEBUG_GDB" ${wx_arg_cache_file}`
4820 if test "x$LINE" != x ; then
4821 eval "DEFAULT_$LINE"
4826 ac_cv_use_debug_gdb='wxUSE_DEBUG_GDB='$DEFAULT_wxUSE_DEBUG_GDB
4831 eval "$ac_cv_use_debug_gdb"
4832 if test "$no_cache" != 1; then
4833 echo $ac_cv_use_debug_gdb >> ${wx_arg_cache_file}.tmp
4836 if test "$wxUSE_DEBUG_GDB" = yes; then
4837 { echo "$as_me:$LINENO: result: yes" >&5
4838 echo "${ECHO_T}yes" >&6; }
4840 { echo "$as_me:$LINENO: result: no" >&5
4841 echo "${ECHO_T}no" >&6; }
4846 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_cntxt" >&5
4847 echo $ECHO_N "checking for --${enablestring:-enable}-debug_cntxt... $ECHO_C" >&6; }
4849 # Check whether --enable-debug_cntxt was given.
4850 if test "${enable_debug_cntxt+set}" = set; then
4851 enableval=$enable_debug_cntxt;
4852 if test "$enableval" = yes; then
4853 ac_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=yes'
4855 ac_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=no'
4860 LINE=`grep "wxUSE_DEBUG_CONTEXT" ${wx_arg_cache_file}`
4861 if test "x$LINE" != x ; then
4862 eval "DEFAULT_$LINE"
4867 ac_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT='$DEFAULT_wxUSE_DEBUG_CONTEXT
4872 eval "$ac_cv_use_debug_cntxt"
4873 if test "$no_cache" != 1; then
4874 echo $ac_cv_use_debug_cntxt >> ${wx_arg_cache_file}.tmp
4877 if test "$wxUSE_DEBUG_CONTEXT" = yes; then
4878 { echo "$as_me:$LINENO: result: yes" >&5
4879 echo "${ECHO_T}yes" >&6; }
4881 { echo "$as_me:$LINENO: result: no" >&5
4882 echo "${ECHO_T}no" >&6; }
4887 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mem_tracing" >&5
4888 echo $ECHO_N "checking for --${enablestring:-enable}-mem_tracing... $ECHO_C" >&6; }
4890 # Check whether --enable-mem_tracing was given.
4891 if test "${enable_mem_tracing+set}" = set; then
4892 enableval=$enable_mem_tracing;
4893 if test "$enableval" = yes; then
4894 ac_cv_use_mem_tracing='wxUSE_MEM_TRACING=yes'
4896 ac_cv_use_mem_tracing='wxUSE_MEM_TRACING=no'
4901 LINE=`grep "wxUSE_MEM_TRACING" ${wx_arg_cache_file}`
4902 if test "x$LINE" != x ; then
4903 eval "DEFAULT_$LINE"
4908 ac_cv_use_mem_tracing='wxUSE_MEM_TRACING='$DEFAULT_wxUSE_MEM_TRACING
4913 eval "$ac_cv_use_mem_tracing"
4914 if test "$no_cache" != 1; then
4915 echo $ac_cv_use_mem_tracing >> ${wx_arg_cache_file}.tmp
4918 if test "$wxUSE_MEM_TRACING" = yes; then
4919 { echo "$as_me:$LINENO: result: yes" >&5
4920 echo "${ECHO_T}yes" >&6; }
4922 { echo "$as_me:$LINENO: result: no" >&5
4923 echo "${ECHO_T}no" >&6; }
4928 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-profile" >&5
4929 echo $ECHO_N "checking for --${enablestring:-enable}-profile... $ECHO_C" >&6; }
4931 # Check whether --enable-profile was given.
4932 if test "${enable_profile+set}" = set; then
4933 enableval=$enable_profile;
4934 if test "$enableval" = yes; then
4935 ac_cv_use_profile='wxUSE_PROFILE=yes'
4937 ac_cv_use_profile='wxUSE_PROFILE=no'
4942 LINE=`grep "wxUSE_PROFILE" ${wx_arg_cache_file}`
4943 if test "x$LINE" != x ; then
4944 eval "DEFAULT_$LINE"
4949 ac_cv_use_profile='wxUSE_PROFILE='$DEFAULT_wxUSE_PROFILE
4954 eval "$ac_cv_use_profile"
4955 if test "$no_cache" != 1; then
4956 echo $ac_cv_use_profile >> ${wx_arg_cache_file}.tmp
4959 if test "$wxUSE_PROFILE" = yes; then
4960 { echo "$as_me:$LINENO: result: yes" >&5
4961 echo "${ECHO_T}yes" >&6; }
4963 { echo "$as_me:$LINENO: result: no" >&5
4964 echo "${ECHO_T}no" >&6; }
4969 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_rtti" >&5
4970 echo $ECHO_N "checking for --${enablestring:-enable}-no_rtti... $ECHO_C" >&6; }
4972 # Check whether --enable-no_rtti was given.
4973 if test "${enable_no_rtti+set}" = set; then
4974 enableval=$enable_no_rtti;
4975 if test "$enableval" = yes; then
4976 ac_cv_use_no_rtti='wxUSE_NO_RTTI=yes'
4978 ac_cv_use_no_rtti='wxUSE_NO_RTTI=no'
4983 LINE=`grep "wxUSE_NO_RTTI" ${wx_arg_cache_file}`
4984 if test "x$LINE" != x ; then
4985 eval "DEFAULT_$LINE"
4990 ac_cv_use_no_rtti='wxUSE_NO_RTTI='$DEFAULT_wxUSE_NO_RTTI
4995 eval "$ac_cv_use_no_rtti"
4996 if test "$no_cache" != 1; then
4997 echo $ac_cv_use_no_rtti >> ${wx_arg_cache_file}.tmp
5000 if test "$wxUSE_NO_RTTI" = yes; then
5001 { echo "$as_me:$LINENO: result: yes" >&5
5002 echo "${ECHO_T}yes" >&6; }
5004 { echo "$as_me:$LINENO: result: no" >&5
5005 echo "${ECHO_T}no" >&6; }
5010 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_exceptions" >&5
5011 echo $ECHO_N "checking for --${enablestring:-enable}-no_exceptions... $ECHO_C" >&6; }
5013 # Check whether --enable-no_exceptions was given.
5014 if test "${enable_no_exceptions+set}" = set; then
5015 enableval=$enable_no_exceptions;
5016 if test "$enableval" = yes; then
5017 ac_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=yes'
5019 ac_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=no'
5024 LINE=`grep "wxUSE_NO_EXCEPTIONS" ${wx_arg_cache_file}`
5025 if test "x$LINE" != x ; then
5026 eval "DEFAULT_$LINE"
5031 ac_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS='$DEFAULT_wxUSE_NO_EXCEPTIONS
5036 eval "$ac_cv_use_no_exceptions"
5037 if test "$no_cache" != 1; then
5038 echo $ac_cv_use_no_exceptions >> ${wx_arg_cache_file}.tmp
5041 if test "$wxUSE_NO_EXCEPTIONS" = yes; then
5042 { echo "$as_me:$LINENO: result: yes" >&5
5043 echo "${ECHO_T}yes" >&6; }
5045 { echo "$as_me:$LINENO: result: no" >&5
5046 echo "${ECHO_T}no" >&6; }
5051 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-permissive" >&5
5052 echo $ECHO_N "checking for --${enablestring:-enable}-permissive... $ECHO_C" >&6; }
5054 # Check whether --enable-permissive was given.
5055 if test "${enable_permissive+set}" = set; then
5056 enableval=$enable_permissive;
5057 if test "$enableval" = yes; then
5058 ac_cv_use_permissive='wxUSE_PERMISSIVE=yes'
5060 ac_cv_use_permissive='wxUSE_PERMISSIVE=no'
5065 LINE=`grep "wxUSE_PERMISSIVE" ${wx_arg_cache_file}`
5066 if test "x$LINE" != x ; then
5067 eval "DEFAULT_$LINE"
5072 ac_cv_use_permissive='wxUSE_PERMISSIVE='$DEFAULT_wxUSE_PERMISSIVE
5077 eval "$ac_cv_use_permissive"
5078 if test "$no_cache" != 1; then
5079 echo $ac_cv_use_permissive >> ${wx_arg_cache_file}.tmp
5082 if test "$wxUSE_PERMISSIVE" = yes; then
5083 { echo "$as_me:$LINENO: result: yes" >&5
5084 echo "${ECHO_T}yes" >&6; }
5086 { echo "$as_me:$LINENO: result: no" >&5
5087 echo "${ECHO_T}no" >&6; }
5092 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_deps" >&5
5093 echo $ECHO_N "checking for --${enablestring:-enable}-no_deps... $ECHO_C" >&6; }
5095 # Check whether --enable-no_deps was given.
5096 if test "${enable_no_deps+set}" = set; then
5097 enableval=$enable_no_deps;
5098 if test "$enableval" = yes; then
5099 ac_cv_use_no_deps='wxUSE_NO_DEPS=yes'
5101 ac_cv_use_no_deps='wxUSE_NO_DEPS=no'
5106 LINE=`grep "wxUSE_NO_DEPS" ${wx_arg_cache_file}`
5107 if test "x$LINE" != x ; then
5108 eval "DEFAULT_$LINE"
5113 ac_cv_use_no_deps='wxUSE_NO_DEPS='$DEFAULT_wxUSE_NO_DEPS
5118 eval "$ac_cv_use_no_deps"
5119 if test "$no_cache" != 1; then
5120 echo $ac_cv_use_no_deps >> ${wx_arg_cache_file}.tmp
5123 if test "$wxUSE_NO_DEPS" = yes; then
5124 { echo "$as_me:$LINENO: result: yes" >&5
5125 echo "${ECHO_T}yes" >&6; }
5127 { echo "$as_me:$LINENO: result: no" >&5
5128 echo "${ECHO_T}no" >&6; }
5133 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-vararg_macros" >&5
5134 echo $ECHO_N "checking for --${enablestring:-enable}-vararg_macros... $ECHO_C" >&6; }
5136 # Check whether --enable-vararg_macros was given.
5137 if test "${enable_vararg_macros+set}" = set; then
5138 enableval=$enable_vararg_macros;
5139 if test "$enableval" = yes; then
5140 ac_cv_use_vararg_macros='wxUSE_VARARG_MACROS=yes'
5142 ac_cv_use_vararg_macros='wxUSE_VARARG_MACROS=no'
5147 LINE=`grep "wxUSE_VARARG_MACROS" ${wx_arg_cache_file}`
5148 if test "x$LINE" != x ; then
5149 eval "DEFAULT_$LINE"
5154 ac_cv_use_vararg_macros='wxUSE_VARARG_MACROS='$DEFAULT_wxUSE_VARARG_MACROS
5159 eval "$ac_cv_use_vararg_macros"
5160 if test "$no_cache" != 1; then
5161 echo $ac_cv_use_vararg_macros >> ${wx_arg_cache_file}.tmp
5164 if test "$wxUSE_VARARG_MACROS" = yes; then
5165 { echo "$as_me:$LINENO: result: yes" >&5
5166 echo "${ECHO_T}yes" >&6; }
5168 { echo "$as_me:$LINENO: result: no" >&5
5169 echo "${ECHO_T}no" >&6; }
5174 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-universal_binary" >&5
5175 echo $ECHO_N "checking for --${enablestring:-enable}-universal_binary... $ECHO_C" >&6; }
5177 # Check whether --enable-universal_binary was given.
5178 if test "${enable_universal_binary+set}" = set; then
5179 enableval=$enable_universal_binary;
5180 wx_cv_use_universal_binary="wxUSE_UNIVERSAL_BINARY='$enableval'"
5184 LINE=`grep "wxUSE_UNIVERSAL_BINARY" ${wx_arg_cache_file}`
5185 if test "x$LINE" != x ; then
5186 eval "DEFAULT_$LINE"
5187 wx_cv_use_universal_binary='wxUSE_UNIVERSAL_BINARY='$DEFAULT_wxUSE_UNIVERSAL_BINARY
5190 wx_cv_use_universal_binary="wxUSE_UNIVERSAL_BINARY=no"
5196 eval "$wx_cv_use_universal_binary"
5197 if test "$no_cache" != 1; then
5198 echo $wx_cv_use_universal_binary >> ${wx_arg_cache_file}.tmp
5201 { echo "$as_me:$LINENO: result: $wxUSE_UNIVERSAL_BINARY" >&5
5202 echo "${ECHO_T}$wxUSE_UNIVERSAL_BINARY" >&6; }
5207 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat26" >&5
5208 echo $ECHO_N "checking for --${enablestring:-enable}-compat26... $ECHO_C" >&6; }
5210 # Check whether --enable-compat26 was given.
5211 if test "${enable_compat26+set}" = set; then
5212 enableval=$enable_compat26;
5213 if test "$enableval" = yes; then
5214 ac_cv_use_compat26='WXWIN_COMPATIBILITY_2_6=yes'
5216 ac_cv_use_compat26='WXWIN_COMPATIBILITY_2_6=no'
5221 LINE=`grep "WXWIN_COMPATIBILITY_2_6" ${wx_arg_cache_file}`
5222 if test "x$LINE" != x ; then
5223 eval "DEFAULT_$LINE"
5228 ac_cv_use_compat26='WXWIN_COMPATIBILITY_2_6='$DEFAULT_WXWIN_COMPATIBILITY_2_6
5233 eval "$ac_cv_use_compat26"
5234 if test "$no_cache" != 1; then
5235 echo $ac_cv_use_compat26 >> ${wx_arg_cache_file}.tmp
5238 if test "$WXWIN_COMPATIBILITY_2_6" = yes; then
5239 { echo "$as_me:$LINENO: result: yes" >&5
5240 echo "${ECHO_T}yes" >&6; }
5242 { echo "$as_me:$LINENO: result: no" >&5
5243 echo "${ECHO_T}no" >&6; }
5247 enablestring=disable
5248 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat28" >&5
5249 echo $ECHO_N "checking for --${enablestring:-enable}-compat28... $ECHO_C" >&6; }
5251 # Check whether --enable-compat28 was given.
5252 if test "${enable_compat28+set}" = set; then
5253 enableval=$enable_compat28;
5254 if test "$enableval" = yes; then
5255 ac_cv_use_compat28='WXWIN_COMPATIBILITY_2_8=yes'
5257 ac_cv_use_compat28='WXWIN_COMPATIBILITY_2_8=no'
5262 LINE=`grep "WXWIN_COMPATIBILITY_2_8" ${wx_arg_cache_file}`
5263 if test "x$LINE" != x ; then
5264 eval "DEFAULT_$LINE"
5269 ac_cv_use_compat28='WXWIN_COMPATIBILITY_2_8='$DEFAULT_WXWIN_COMPATIBILITY_2_8
5274 eval "$ac_cv_use_compat28"
5275 if test "$no_cache" != 1; then
5276 echo $ac_cv_use_compat28 >> ${wx_arg_cache_file}.tmp
5279 if test "$WXWIN_COMPATIBILITY_2_8" = yes; then
5280 { echo "$as_me:$LINENO: result: yes" >&5
5281 echo "${ECHO_T}yes" >&6; }
5283 { echo "$as_me:$LINENO: result: no" >&5
5284 echo "${ECHO_T}no" >&6; }
5290 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-rpath" >&5
5291 echo $ECHO_N "checking for --${enablestring:-enable}-rpath... $ECHO_C" >&6; }
5293 # Check whether --enable-rpath was given.
5294 if test "${enable_rpath+set}" = set; then
5295 enableval=$enable_rpath;
5296 if test "$enableval" = yes; then
5297 ac_cv_use_rpath='wxUSE_RPATH=yes'
5299 ac_cv_use_rpath='wxUSE_RPATH=no'
5304 LINE=`grep "wxUSE_RPATH" ${wx_arg_cache_file}`
5305 if test "x$LINE" != x ; then
5306 eval "DEFAULT_$LINE"
5311 ac_cv_use_rpath='wxUSE_RPATH='$DEFAULT_wxUSE_RPATH
5316 eval "$ac_cv_use_rpath"
5317 if test "$no_cache" != 1; then
5318 echo $ac_cv_use_rpath >> ${wx_arg_cache_file}.tmp
5321 if test "$wxUSE_RPATH" = yes; then
5322 { echo "$as_me:$LINENO: result: yes" >&5
5323 echo "${ECHO_T}yes" >&6; }
5325 { echo "$as_me:$LINENO: result: no" >&5
5326 echo "${ECHO_T}no" >&6; }
5334 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-intl" >&5
5335 echo $ECHO_N "checking for --${enablestring:-enable}-intl... $ECHO_C" >&6; }
5337 # Check whether --enable-intl was given.
5338 if test "${enable_intl+set}" = set; then
5339 enableval=$enable_intl;
5340 if test "$enableval" = yes; then
5341 ac_cv_use_intl='wxUSE_INTL=yes'
5343 ac_cv_use_intl='wxUSE_INTL=no'
5348 LINE=`grep "wxUSE_INTL" ${wx_arg_cache_file}`
5349 if test "x$LINE" != x ; then
5350 eval "DEFAULT_$LINE"
5355 ac_cv_use_intl='wxUSE_INTL='$DEFAULT_wxUSE_INTL
5360 eval "$ac_cv_use_intl"
5361 if test "$no_cache" != 1; then
5362 echo $ac_cv_use_intl >> ${wx_arg_cache_file}.tmp
5365 if test "$wxUSE_INTL" = yes; then
5366 { echo "$as_me:$LINENO: result: yes" >&5
5367 echo "${ECHO_T}yes" >&6; }
5369 { echo "$as_me:$LINENO: result: no" >&5
5370 echo "${ECHO_T}no" >&6; }
5375 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-config" >&5
5376 echo $ECHO_N "checking for --${enablestring:-enable}-config... $ECHO_C" >&6; }
5378 # Check whether --enable-config was given.
5379 if test "${enable_config+set}" = set; then
5380 enableval=$enable_config;
5381 if test "$enableval" = yes; then
5382 ac_cv_use_config='wxUSE_CONFIG=yes'
5384 ac_cv_use_config='wxUSE_CONFIG=no'
5389 LINE=`grep "wxUSE_CONFIG" ${wx_arg_cache_file}`
5390 if test "x$LINE" != x ; then
5391 eval "DEFAULT_$LINE"
5396 ac_cv_use_config='wxUSE_CONFIG='$DEFAULT_wxUSE_CONFIG
5401 eval "$ac_cv_use_config"
5402 if test "$no_cache" != 1; then
5403 echo $ac_cv_use_config >> ${wx_arg_cache_file}.tmp
5406 if test "$wxUSE_CONFIG" = yes; then
5407 { echo "$as_me:$LINENO: result: yes" >&5
5408 echo "${ECHO_T}yes" >&6; }
5410 { echo "$as_me:$LINENO: result: no" >&5
5411 echo "${ECHO_T}no" >&6; }
5417 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocols" >&5
5418 echo $ECHO_N "checking for --${enablestring:-enable}-protocols... $ECHO_C" >&6; }
5420 # Check whether --enable-protocols was given.
5421 if test "${enable_protocols+set}" = set; then
5422 enableval=$enable_protocols;
5423 if test "$enableval" = yes; then
5424 ac_cv_use_protocols='wxUSE_PROTOCOL=yes'
5426 ac_cv_use_protocols='wxUSE_PROTOCOL=no'
5431 LINE=`grep "wxUSE_PROTOCOL" ${wx_arg_cache_file}`
5432 if test "x$LINE" != x ; then
5433 eval "DEFAULT_$LINE"
5438 ac_cv_use_protocols='wxUSE_PROTOCOL='$DEFAULT_wxUSE_PROTOCOL
5443 eval "$ac_cv_use_protocols"
5444 if test "$no_cache" != 1; then
5445 echo $ac_cv_use_protocols >> ${wx_arg_cache_file}.tmp
5448 if test "$wxUSE_PROTOCOL" = yes; then
5449 { echo "$as_me:$LINENO: result: yes" >&5
5450 echo "${ECHO_T}yes" >&6; }
5452 { echo "$as_me:$LINENO: result: no" >&5
5453 echo "${ECHO_T}no" >&6; }
5458 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ftp" >&5
5459 echo $ECHO_N "checking for --${enablestring:-enable}-ftp... $ECHO_C" >&6; }
5461 # Check whether --enable-ftp was given.
5462 if test "${enable_ftp+set}" = set; then
5463 enableval=$enable_ftp;
5464 if test "$enableval" = yes; then
5465 ac_cv_use_ftp='wxUSE_PROTOCOL_FTP=yes'
5467 ac_cv_use_ftp='wxUSE_PROTOCOL_FTP=no'
5472 LINE=`grep "wxUSE_PROTOCOL_FTP" ${wx_arg_cache_file}`
5473 if test "x$LINE" != x ; then
5474 eval "DEFAULT_$LINE"
5479 ac_cv_use_ftp='wxUSE_PROTOCOL_FTP='$DEFAULT_wxUSE_PROTOCOL_FTP
5484 eval "$ac_cv_use_ftp"
5485 if test "$no_cache" != 1; then
5486 echo $ac_cv_use_ftp >> ${wx_arg_cache_file}.tmp
5489 if test "$wxUSE_PROTOCOL_FTP" = yes; then
5490 { echo "$as_me:$LINENO: result: yes" >&5
5491 echo "${ECHO_T}yes" >&6; }
5493 { echo "$as_me:$LINENO: result: no" >&5
5494 echo "${ECHO_T}no" >&6; }
5499 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-http" >&5
5500 echo $ECHO_N "checking for --${enablestring:-enable}-http... $ECHO_C" >&6; }
5502 # Check whether --enable-http was given.
5503 if test "${enable_http+set}" = set; then
5504 enableval=$enable_http;
5505 if test "$enableval" = yes; then
5506 ac_cv_use_http='wxUSE_PROTOCOL_HTTP=yes'
5508 ac_cv_use_http='wxUSE_PROTOCOL_HTTP=no'
5513 LINE=`grep "wxUSE_PROTOCOL_HTTP" ${wx_arg_cache_file}`
5514 if test "x$LINE" != x ; then
5515 eval "DEFAULT_$LINE"
5520 ac_cv_use_http='wxUSE_PROTOCOL_HTTP='$DEFAULT_wxUSE_PROTOCOL_HTTP
5525 eval "$ac_cv_use_http"
5526 if test "$no_cache" != 1; then
5527 echo $ac_cv_use_http >> ${wx_arg_cache_file}.tmp
5530 if test "$wxUSE_PROTOCOL_HTTP" = yes; then
5531 { echo "$as_me:$LINENO: result: yes" >&5
5532 echo "${ECHO_T}yes" >&6; }
5534 { echo "$as_me:$LINENO: result: no" >&5
5535 echo "${ECHO_T}no" >&6; }
5540 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fileproto" >&5
5541 echo $ECHO_N "checking for --${enablestring:-enable}-fileproto... $ECHO_C" >&6; }
5543 # Check whether --enable-fileproto was given.
5544 if test "${enable_fileproto+set}" = set; then
5545 enableval=$enable_fileproto;
5546 if test "$enableval" = yes; then
5547 ac_cv_use_fileproto='wxUSE_PROTOCOL_FILE=yes'
5549 ac_cv_use_fileproto='wxUSE_PROTOCOL_FILE=no'
5554 LINE=`grep "wxUSE_PROTOCOL_FILE" ${wx_arg_cache_file}`
5555 if test "x$LINE" != x ; then
5556 eval "DEFAULT_$LINE"
5561 ac_cv_use_fileproto='wxUSE_PROTOCOL_FILE='$DEFAULT_wxUSE_PROTOCOL_FILE
5566 eval "$ac_cv_use_fileproto"
5567 if test "$no_cache" != 1; then
5568 echo $ac_cv_use_fileproto >> ${wx_arg_cache_file}.tmp
5571 if test "$wxUSE_PROTOCOL_FILE" = yes; then
5572 { echo "$as_me:$LINENO: result: yes" >&5
5573 echo "${ECHO_T}yes" >&6; }
5575 { echo "$as_me:$LINENO: result: no" >&5
5576 echo "${ECHO_T}no" >&6; }
5581 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sockets" >&5
5582 echo $ECHO_N "checking for --${enablestring:-enable}-sockets... $ECHO_C" >&6; }
5584 # Check whether --enable-sockets was given.
5585 if test "${enable_sockets+set}" = set; then
5586 enableval=$enable_sockets;
5587 if test "$enableval" = yes; then
5588 ac_cv_use_sockets='wxUSE_SOCKETS=yes'
5590 ac_cv_use_sockets='wxUSE_SOCKETS=no'
5595 LINE=`grep "wxUSE_SOCKETS" ${wx_arg_cache_file}`
5596 if test "x$LINE" != x ; then
5597 eval "DEFAULT_$LINE"
5602 ac_cv_use_sockets='wxUSE_SOCKETS='$DEFAULT_wxUSE_SOCKETS
5607 eval "$ac_cv_use_sockets"
5608 if test "$no_cache" != 1; then
5609 echo $ac_cv_use_sockets >> ${wx_arg_cache_file}.tmp
5612 if test "$wxUSE_SOCKETS" = yes; then
5613 { echo "$as_me:$LINENO: result: yes" >&5
5614 echo "${ECHO_T}yes" >&6; }
5616 { echo "$as_me:$LINENO: result: no" >&5
5617 echo "${ECHO_T}no" >&6; }
5622 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ole" >&5
5623 echo $ECHO_N "checking for --${enablestring:-enable}-ole... $ECHO_C" >&6; }
5625 # Check whether --enable-ole was given.
5626 if test "${enable_ole+set}" = set; then
5627 enableval=$enable_ole;
5628 if test "$enableval" = yes; then
5629 ac_cv_use_ole='wxUSE_OLE=yes'
5631 ac_cv_use_ole='wxUSE_OLE=no'
5636 LINE=`grep "wxUSE_OLE" ${wx_arg_cache_file}`
5637 if test "x$LINE" != x ; then
5638 eval "DEFAULT_$LINE"
5643 ac_cv_use_ole='wxUSE_OLE='$DEFAULT_wxUSE_OLE
5648 eval "$ac_cv_use_ole"
5649 if test "$no_cache" != 1; then
5650 echo $ac_cv_use_ole >> ${wx_arg_cache_file}.tmp
5653 if test "$wxUSE_OLE" = yes; then
5654 { echo "$as_me:$LINENO: result: yes" >&5
5655 echo "${ECHO_T}yes" >&6; }
5657 { echo "$as_me:$LINENO: result: no" >&5
5658 echo "${ECHO_T}no" >&6; }
5663 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dataobj" >&5
5664 echo $ECHO_N "checking for --${enablestring:-enable}-dataobj... $ECHO_C" >&6; }
5666 # Check whether --enable-dataobj was given.
5667 if test "${enable_dataobj+set}" = set; then
5668 enableval=$enable_dataobj;
5669 if test "$enableval" = yes; then
5670 ac_cv_use_dataobj='wxUSE_DATAOBJ=yes'
5672 ac_cv_use_dataobj='wxUSE_DATAOBJ=no'
5677 LINE=`grep "wxUSE_DATAOBJ" ${wx_arg_cache_file}`
5678 if test "x$LINE" != x ; then
5679 eval "DEFAULT_$LINE"
5684 ac_cv_use_dataobj='wxUSE_DATAOBJ='$DEFAULT_wxUSE_DATAOBJ
5689 eval "$ac_cv_use_dataobj"
5690 if test "$no_cache" != 1; then
5691 echo $ac_cv_use_dataobj >> ${wx_arg_cache_file}.tmp
5694 if test "$wxUSE_DATAOBJ" = yes; then
5695 { echo "$as_me:$LINENO: result: yes" >&5
5696 echo "${ECHO_T}yes" >&6; }
5698 { echo "$as_me:$LINENO: result: no" >&5
5699 echo "${ECHO_T}no" >&6; }
5705 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ipc" >&5
5706 echo $ECHO_N "checking for --${enablestring:-enable}-ipc... $ECHO_C" >&6; }
5708 # Check whether --enable-ipc was given.
5709 if test "${enable_ipc+set}" = set; then
5710 enableval=$enable_ipc;
5711 if test "$enableval" = yes; then
5712 ac_cv_use_ipc='wxUSE_IPC=yes'
5714 ac_cv_use_ipc='wxUSE_IPC=no'
5719 LINE=`grep "wxUSE_IPC" ${wx_arg_cache_file}`
5720 if test "x$LINE" != x ; then
5721 eval "DEFAULT_$LINE"
5726 ac_cv_use_ipc='wxUSE_IPC='$DEFAULT_wxUSE_IPC
5731 eval "$ac_cv_use_ipc"
5732 if test "$no_cache" != 1; then
5733 echo $ac_cv_use_ipc >> ${wx_arg_cache_file}.tmp
5736 if test "$wxUSE_IPC" = yes; then
5737 { echo "$as_me:$LINENO: result: yes" >&5
5738 echo "${ECHO_T}yes" >&6; }
5740 { echo "$as_me:$LINENO: result: no" >&5
5741 echo "${ECHO_T}no" >&6; }
5747 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-apple_ieee" >&5
5748 echo $ECHO_N "checking for --${enablestring:-enable}-apple_ieee... $ECHO_C" >&6; }
5750 # Check whether --enable-apple_ieee was given.
5751 if test "${enable_apple_ieee+set}" = set; then
5752 enableval=$enable_apple_ieee;
5753 if test "$enableval" = yes; then
5754 ac_cv_use_apple_ieee='wxUSE_APPLE_IEEE=yes'
5756 ac_cv_use_apple_ieee='wxUSE_APPLE_IEEE=no'
5761 LINE=`grep "wxUSE_APPLE_IEEE" ${wx_arg_cache_file}`
5762 if test "x$LINE" != x ; then
5763 eval "DEFAULT_$LINE"
5768 ac_cv_use_apple_ieee='wxUSE_APPLE_IEEE='$DEFAULT_wxUSE_APPLE_IEEE
5773 eval "$ac_cv_use_apple_ieee"
5774 if test "$no_cache" != 1; then
5775 echo $ac_cv_use_apple_ieee >> ${wx_arg_cache_file}.tmp
5778 if test "$wxUSE_APPLE_IEEE" = yes; then
5779 { echo "$as_me:$LINENO: result: yes" >&5
5780 echo "${ECHO_T}yes" >&6; }
5782 { echo "$as_me:$LINENO: result: no" >&5
5783 echo "${ECHO_T}no" >&6; }
5788 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-arcstream" >&5
5789 echo $ECHO_N "checking for --${enablestring:-enable}-arcstream... $ECHO_C" >&6; }
5791 # Check whether --enable-arcstream was given.
5792 if test "${enable_arcstream+set}" = set; then
5793 enableval=$enable_arcstream;
5794 if test "$enableval" = yes; then
5795 ac_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS=yes'
5797 ac_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS=no'
5802 LINE=`grep "wxUSE_ARCHIVE_STREAMS" ${wx_arg_cache_file}`
5803 if test "x$LINE" != x ; then
5804 eval "DEFAULT_$LINE"
5809 ac_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS='$DEFAULT_wxUSE_ARCHIVE_STREAMS
5814 eval "$ac_cv_use_arcstream"
5815 if test "$no_cache" != 1; then
5816 echo $ac_cv_use_arcstream >> ${wx_arg_cache_file}.tmp
5819 if test "$wxUSE_ARCHIVE_STREAMS" = yes; then
5820 { echo "$as_me:$LINENO: result: yes" >&5
5821 echo "${ECHO_T}yes" >&6; }
5823 { echo "$as_me:$LINENO: result: no" >&5
5824 echo "${ECHO_T}no" >&6; }
5829 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-backtrace" >&5
5830 echo $ECHO_N "checking for --${enablestring:-enable}-backtrace... $ECHO_C" >&6; }
5832 # Check whether --enable-backtrace was given.
5833 if test "${enable_backtrace+set}" = set; then
5834 enableval=$enable_backtrace;
5835 if test "$enableval" = yes; then
5836 ac_cv_use_backtrace='wxUSE_STACKWALKER=yes'
5838 ac_cv_use_backtrace='wxUSE_STACKWALKER=no'
5843 LINE=`grep "wxUSE_STACKWALKER" ${wx_arg_cache_file}`
5844 if test "x$LINE" != x ; then
5845 eval "DEFAULT_$LINE"
5850 ac_cv_use_backtrace='wxUSE_STACKWALKER='$DEFAULT_wxUSE_STACKWALKER
5855 eval "$ac_cv_use_backtrace"
5856 if test "$no_cache" != 1; then
5857 echo $ac_cv_use_backtrace >> ${wx_arg_cache_file}.tmp
5860 if test "$wxUSE_STACKWALKER" = yes; then
5861 { echo "$as_me:$LINENO: result: yes" >&5
5862 echo "${ECHO_T}yes" >&6; }
5864 { echo "$as_me:$LINENO: result: no" >&5
5865 echo "${ECHO_T}no" >&6; }
5870 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-catch_segvs" >&5
5871 echo $ECHO_N "checking for --${enablestring:-enable}-catch_segvs... $ECHO_C" >&6; }
5873 # Check whether --enable-catch_segvs was given.
5874 if test "${enable_catch_segvs+set}" = set; then
5875 enableval=$enable_catch_segvs;
5876 if test "$enableval" = yes; then
5877 ac_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=yes'
5879 ac_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=no'
5884 LINE=`grep "wxUSE_ON_FATAL_EXCEPTION" ${wx_arg_cache_file}`
5885 if test "x$LINE" != x ; then
5886 eval "DEFAULT_$LINE"
5891 ac_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION='$DEFAULT_wxUSE_ON_FATAL_EXCEPTION
5896 eval "$ac_cv_use_catch_segvs"
5897 if test "$no_cache" != 1; then
5898 echo $ac_cv_use_catch_segvs >> ${wx_arg_cache_file}.tmp
5901 if test "$wxUSE_ON_FATAL_EXCEPTION" = yes; then
5902 { echo "$as_me:$LINENO: result: yes" >&5
5903 echo "${ECHO_T}yes" >&6; }
5905 { echo "$as_me:$LINENO: result: no" >&5
5906 echo "${ECHO_T}no" >&6; }
5911 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-cmdline" >&5
5912 echo $ECHO_N "checking for --${enablestring:-enable}-cmdline... $ECHO_C" >&6; }
5914 # Check whether --enable-cmdline was given.
5915 if test "${enable_cmdline+set}" = set; then
5916 enableval=$enable_cmdline;
5917 if test "$enableval" = yes; then
5918 ac_cv_use_cmdline='wxUSE_CMDLINE_PARSER=yes'
5920 ac_cv_use_cmdline='wxUSE_CMDLINE_PARSER=no'
5925 LINE=`grep "wxUSE_CMDLINE_PARSER" ${wx_arg_cache_file}`
5926 if test "x$LINE" != x ; then
5927 eval "DEFAULT_$LINE"
5932 ac_cv_use_cmdline='wxUSE_CMDLINE_PARSER='$DEFAULT_wxUSE_CMDLINE_PARSER
5937 eval "$ac_cv_use_cmdline"
5938 if test "$no_cache" != 1; then
5939 echo $ac_cv_use_cmdline >> ${wx_arg_cache_file}.tmp
5942 if test "$wxUSE_CMDLINE_PARSER" = yes; then
5943 { echo "$as_me:$LINENO: result: yes" >&5
5944 echo "${ECHO_T}yes" >&6; }
5946 { echo "$as_me:$LINENO: result: no" >&5
5947 echo "${ECHO_T}no" >&6; }
5952 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-datetime" >&5
5953 echo $ECHO_N "checking for --${enablestring:-enable}-datetime... $ECHO_C" >&6; }
5955 # Check whether --enable-datetime was given.
5956 if test "${enable_datetime+set}" = set; then
5957 enableval=$enable_datetime;
5958 if test "$enableval" = yes; then
5959 ac_cv_use_datetime='wxUSE_DATETIME=yes'
5961 ac_cv_use_datetime='wxUSE_DATETIME=no'
5966 LINE=`grep "wxUSE_DATETIME" ${wx_arg_cache_file}`
5967 if test "x$LINE" != x ; then
5968 eval "DEFAULT_$LINE"
5973 ac_cv_use_datetime='wxUSE_DATETIME='$DEFAULT_wxUSE_DATETIME
5978 eval "$ac_cv_use_datetime"
5979 if test "$no_cache" != 1; then
5980 echo $ac_cv_use_datetime >> ${wx_arg_cache_file}.tmp
5983 if test "$wxUSE_DATETIME" = yes; then
5984 { echo "$as_me:$LINENO: result: yes" >&5
5985 echo "${ECHO_T}yes" >&6; }
5987 { echo "$as_me:$LINENO: result: no" >&5
5988 echo "${ECHO_T}no" >&6; }
5993 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debugreport" >&5
5994 echo $ECHO_N "checking for --${enablestring:-enable}-debugreport... $ECHO_C" >&6; }
5996 # Check whether --enable-debugreport was given.
5997 if test "${enable_debugreport+set}" = set; then
5998 enableval=$enable_debugreport;
5999 if test "$enableval" = yes; then
6000 ac_cv_use_debugreport='wxUSE_DEBUGREPORT=yes'
6002 ac_cv_use_debugreport='wxUSE_DEBUGREPORT=no'
6007 LINE=`grep "wxUSE_DEBUGREPORT" ${wx_arg_cache_file}`
6008 if test "x$LINE" != x ; then
6009 eval "DEFAULT_$LINE"
6014 ac_cv_use_debugreport='wxUSE_DEBUGREPORT='$DEFAULT_wxUSE_DEBUGREPORT
6019 eval "$ac_cv_use_debugreport"
6020 if test "$no_cache" != 1; then
6021 echo $ac_cv_use_debugreport >> ${wx_arg_cache_file}.tmp
6024 if test "$wxUSE_DEBUGREPORT" = yes; then
6025 { echo "$as_me:$LINENO: result: yes" >&5
6026 echo "${ECHO_T}yes" >&6; }
6028 { echo "$as_me:$LINENO: result: no" >&5
6029 echo "${ECHO_T}no" >&6; }
6034 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dialupman" >&5
6035 echo $ECHO_N "checking for --${enablestring:-enable}-dialupman... $ECHO_C" >&6; }
6037 # Check whether --enable-dialupman was given.
6038 if test "${enable_dialupman+set}" = set; then
6039 enableval=$enable_dialupman;
6040 if test "$enableval" = yes; then
6041 ac_cv_use_dialupman='wxUSE_DIALUP_MANAGER=yes'
6043 ac_cv_use_dialupman='wxUSE_DIALUP_MANAGER=no'
6048 LINE=`grep "wxUSE_DIALUP_MANAGER" ${wx_arg_cache_file}`
6049 if test "x$LINE" != x ; then
6050 eval "DEFAULT_$LINE"
6055 ac_cv_use_dialupman='wxUSE_DIALUP_MANAGER='$DEFAULT_wxUSE_DIALUP_MANAGER
6060 eval "$ac_cv_use_dialupman"
6061 if test "$no_cache" != 1; then
6062 echo $ac_cv_use_dialupman >> ${wx_arg_cache_file}.tmp
6065 if test "$wxUSE_DIALUP_MANAGER" = yes; then
6066 { echo "$as_me:$LINENO: result: yes" >&5
6067 echo "${ECHO_T}yes" >&6; }
6069 { echo "$as_me:$LINENO: result: no" >&5
6070 echo "${ECHO_T}no" >&6; }
6075 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynlib" >&5
6076 echo $ECHO_N "checking for --${enablestring:-enable}-dynlib... $ECHO_C" >&6; }
6078 # Check whether --enable-dynlib was given.
6079 if test "${enable_dynlib+set}" = set; then
6080 enableval=$enable_dynlib;
6081 if test "$enableval" = yes; then
6082 ac_cv_use_dynlib='wxUSE_DYNLIB_CLASS=yes'
6084 ac_cv_use_dynlib='wxUSE_DYNLIB_CLASS=no'
6089 LINE=`grep "wxUSE_DYNLIB_CLASS" ${wx_arg_cache_file}`
6090 if test "x$LINE" != x ; then
6091 eval "DEFAULT_$LINE"
6096 ac_cv_use_dynlib='wxUSE_DYNLIB_CLASS='$DEFAULT_wxUSE_DYNLIB_CLASS
6101 eval "$ac_cv_use_dynlib"
6102 if test "$no_cache" != 1; then
6103 echo $ac_cv_use_dynlib >> ${wx_arg_cache_file}.tmp
6106 if test "$wxUSE_DYNLIB_CLASS" = yes; then
6107 { echo "$as_me:$LINENO: result: yes" >&5
6108 echo "${ECHO_T}yes" >&6; }
6110 { echo "$as_me:$LINENO: result: no" >&5
6111 echo "${ECHO_T}no" >&6; }
6116 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynamicloader" >&5
6117 echo $ECHO_N "checking for --${enablestring:-enable}-dynamicloader... $ECHO_C" >&6; }
6119 # Check whether --enable-dynamicloader was given.
6120 if test "${enable_dynamicloader+set}" = set; then
6121 enableval=$enable_dynamicloader;
6122 if test "$enableval" = yes; then
6123 ac_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=yes'
6125 ac_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=no'
6130 LINE=`grep "wxUSE_DYNAMIC_LOADER" ${wx_arg_cache_file}`
6131 if test "x$LINE" != x ; then
6132 eval "DEFAULT_$LINE"
6137 ac_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER='$DEFAULT_wxUSE_DYNAMIC_LOADER
6142 eval "$ac_cv_use_dynamicloader"
6143 if test "$no_cache" != 1; then
6144 echo $ac_cv_use_dynamicloader >> ${wx_arg_cache_file}.tmp
6147 if test "$wxUSE_DYNAMIC_LOADER" = yes; then
6148 { echo "$as_me:$LINENO: result: yes" >&5
6149 echo "${ECHO_T}yes" >&6; }
6151 { echo "$as_me:$LINENO: result: no" >&5
6152 echo "${ECHO_T}no" >&6; }
6157 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-exceptions" >&5
6158 echo $ECHO_N "checking for --${enablestring:-enable}-exceptions... $ECHO_C" >&6; }
6160 # Check whether --enable-exceptions was given.
6161 if test "${enable_exceptions+set}" = set; then
6162 enableval=$enable_exceptions;
6163 if test "$enableval" = yes; then
6164 ac_cv_use_exceptions='wxUSE_EXCEPTIONS=yes'
6166 ac_cv_use_exceptions='wxUSE_EXCEPTIONS=no'
6171 LINE=`grep "wxUSE_EXCEPTIONS" ${wx_arg_cache_file}`
6172 if test "x$LINE" != x ; then
6173 eval "DEFAULT_$LINE"
6178 ac_cv_use_exceptions='wxUSE_EXCEPTIONS='$DEFAULT_wxUSE_EXCEPTIONS
6183 eval "$ac_cv_use_exceptions"
6184 if test "$no_cache" != 1; then
6185 echo $ac_cv_use_exceptions >> ${wx_arg_cache_file}.tmp
6188 if test "$wxUSE_EXCEPTIONS" = yes; then
6189 { echo "$as_me:$LINENO: result: yes" >&5
6190 echo "${ECHO_T}yes" >&6; }
6192 { echo "$as_me:$LINENO: result: no" >&5
6193 echo "${ECHO_T}no" >&6; }
6198 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ffile" >&5
6199 echo $ECHO_N "checking for --${enablestring:-enable}-ffile... $ECHO_C" >&6; }
6201 # Check whether --enable-ffile was given.
6202 if test "${enable_ffile+set}" = set; then
6203 enableval=$enable_ffile;
6204 if test "$enableval" = yes; then
6205 ac_cv_use_ffile='wxUSE_FFILE=yes'
6207 ac_cv_use_ffile='wxUSE_FFILE=no'
6212 LINE=`grep "wxUSE_FFILE" ${wx_arg_cache_file}`
6213 if test "x$LINE" != x ; then
6214 eval "DEFAULT_$LINE"
6219 ac_cv_use_ffile='wxUSE_FFILE='$DEFAULT_wxUSE_FFILE
6224 eval "$ac_cv_use_ffile"
6225 if test "$no_cache" != 1; then
6226 echo $ac_cv_use_ffile >> ${wx_arg_cache_file}.tmp
6229 if test "$wxUSE_FFILE" = yes; then
6230 { echo "$as_me:$LINENO: result: yes" >&5
6231 echo "${ECHO_T}yes" >&6; }
6233 { echo "$as_me:$LINENO: result: no" >&5
6234 echo "${ECHO_T}no" >&6; }
6239 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-file" >&5
6240 echo $ECHO_N "checking for --${enablestring:-enable}-file... $ECHO_C" >&6; }
6242 # Check whether --enable-file was given.
6243 if test "${enable_file+set}" = set; then
6244 enableval=$enable_file;
6245 if test "$enableval" = yes; then
6246 ac_cv_use_file='wxUSE_FILE=yes'
6248 ac_cv_use_file='wxUSE_FILE=no'
6253 LINE=`grep "wxUSE_FILE" ${wx_arg_cache_file}`
6254 if test "x$LINE" != x ; then
6255 eval "DEFAULT_$LINE"
6260 ac_cv_use_file='wxUSE_FILE='$DEFAULT_wxUSE_FILE
6265 eval "$ac_cv_use_file"
6266 if test "$no_cache" != 1; then
6267 echo $ac_cv_use_file >> ${wx_arg_cache_file}.tmp
6270 if test "$wxUSE_FILE" = yes; then
6271 { echo "$as_me:$LINENO: result: yes" >&5
6272 echo "${ECHO_T}yes" >&6; }
6274 { echo "$as_me:$LINENO: result: no" >&5
6275 echo "${ECHO_T}no" >&6; }
6280 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filesystem" >&5
6281 echo $ECHO_N "checking for --${enablestring:-enable}-filesystem... $ECHO_C" >&6; }
6283 # Check whether --enable-filesystem was given.
6284 if test "${enable_filesystem+set}" = set; then
6285 enableval=$enable_filesystem;
6286 if test "$enableval" = yes; then
6287 ac_cv_use_filesystem='wxUSE_FILESYSTEM=yes'
6289 ac_cv_use_filesystem='wxUSE_FILESYSTEM=no'
6294 LINE=`grep "wxUSE_FILESYSTEM" ${wx_arg_cache_file}`
6295 if test "x$LINE" != x ; then
6296 eval "DEFAULT_$LINE"
6301 ac_cv_use_filesystem='wxUSE_FILESYSTEM='$DEFAULT_wxUSE_FILESYSTEM
6306 eval "$ac_cv_use_filesystem"
6307 if test "$no_cache" != 1; then
6308 echo $ac_cv_use_filesystem >> ${wx_arg_cache_file}.tmp
6311 if test "$wxUSE_FILESYSTEM" = yes; then
6312 { echo "$as_me:$LINENO: result: yes" >&5
6313 echo "${ECHO_T}yes" >&6; }
6315 { echo "$as_me:$LINENO: result: no" >&5
6316 echo "${ECHO_T}no" >&6; }
6321 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontmap" >&5
6322 echo $ECHO_N "checking for --${enablestring:-enable}-fontmap... $ECHO_C" >&6; }
6324 # Check whether --enable-fontmap was given.
6325 if test "${enable_fontmap+set}" = set; then
6326 enableval=$enable_fontmap;
6327 if test "$enableval" = yes; then
6328 ac_cv_use_fontmap='wxUSE_FONTMAP=yes'
6330 ac_cv_use_fontmap='wxUSE_FONTMAP=no'
6335 LINE=`grep "wxUSE_FONTMAP" ${wx_arg_cache_file}`
6336 if test "x$LINE" != x ; then
6337 eval "DEFAULT_$LINE"
6342 ac_cv_use_fontmap='wxUSE_FONTMAP='$DEFAULT_wxUSE_FONTMAP
6347 eval "$ac_cv_use_fontmap"
6348 if test "$no_cache" != 1; then
6349 echo $ac_cv_use_fontmap >> ${wx_arg_cache_file}.tmp
6352 if test "$wxUSE_FONTMAP" = yes; then
6353 { echo "$as_me:$LINENO: result: yes" >&5
6354 echo "${ECHO_T}yes" >&6; }
6356 { echo "$as_me:$LINENO: result: no" >&5
6357 echo "${ECHO_T}no" >&6; }
6362 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_archive" >&5
6363 echo $ECHO_N "checking for --${enablestring:-enable}-fs_archive... $ECHO_C" >&6; }
6365 # Check whether --enable-fs_archive was given.
6366 if test "${enable_fs_archive+set}" = set; then
6367 enableval=$enable_fs_archive;
6368 if test "$enableval" = yes; then
6369 ac_cv_use_fs_archive='wxUSE_FS_ARCHIVE=yes'
6371 ac_cv_use_fs_archive='wxUSE_FS_ARCHIVE=no'
6376 LINE=`grep "wxUSE_FS_ARCHIVE" ${wx_arg_cache_file}`
6377 if test "x$LINE" != x ; then
6378 eval "DEFAULT_$LINE"
6383 ac_cv_use_fs_archive='wxUSE_FS_ARCHIVE='$DEFAULT_wxUSE_FS_ARCHIVE
6388 eval "$ac_cv_use_fs_archive"
6389 if test "$no_cache" != 1; then
6390 echo $ac_cv_use_fs_archive >> ${wx_arg_cache_file}.tmp
6393 if test "$wxUSE_FS_ARCHIVE" = yes; then
6394 { echo "$as_me:$LINENO: result: yes" >&5
6395 echo "${ECHO_T}yes" >&6; }
6397 { echo "$as_me:$LINENO: result: no" >&5
6398 echo "${ECHO_T}no" >&6; }
6403 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_inet" >&5
6404 echo $ECHO_N "checking for --${enablestring:-enable}-fs_inet... $ECHO_C" >&6; }
6406 # Check whether --enable-fs_inet was given.
6407 if test "${enable_fs_inet+set}" = set; then
6408 enableval=$enable_fs_inet;
6409 if test "$enableval" = yes; then
6410 ac_cv_use_fs_inet='wxUSE_FS_INET=yes'
6412 ac_cv_use_fs_inet='wxUSE_FS_INET=no'
6417 LINE=`grep "wxUSE_FS_INET" ${wx_arg_cache_file}`
6418 if test "x$LINE" != x ; then
6419 eval "DEFAULT_$LINE"
6424 ac_cv_use_fs_inet='wxUSE_FS_INET='$DEFAULT_wxUSE_FS_INET
6429 eval "$ac_cv_use_fs_inet"
6430 if test "$no_cache" != 1; then
6431 echo $ac_cv_use_fs_inet >> ${wx_arg_cache_file}.tmp
6434 if test "$wxUSE_FS_INET" = yes; then
6435 { echo "$as_me:$LINENO: result: yes" >&5
6436 echo "${ECHO_T}yes" >&6; }
6438 { echo "$as_me:$LINENO: result: no" >&5
6439 echo "${ECHO_T}no" >&6; }
6444 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_zip" >&5
6445 echo $ECHO_N "checking for --${enablestring:-enable}-fs_zip... $ECHO_C" >&6; }
6447 # Check whether --enable-fs_zip was given.
6448 if test "${enable_fs_zip+set}" = set; then
6449 enableval=$enable_fs_zip;
6450 if test "$enableval" = yes; then
6451 ac_cv_use_fs_zip='wxUSE_FS_ZIP=yes'
6453 ac_cv_use_fs_zip='wxUSE_FS_ZIP=no'
6458 LINE=`grep "wxUSE_FS_ZIP" ${wx_arg_cache_file}`
6459 if test "x$LINE" != x ; then
6460 eval "DEFAULT_$LINE"
6465 ac_cv_use_fs_zip='wxUSE_FS_ZIP='$DEFAULT_wxUSE_FS_ZIP
6470 eval "$ac_cv_use_fs_zip"
6471 if test "$no_cache" != 1; then
6472 echo $ac_cv_use_fs_zip >> ${wx_arg_cache_file}.tmp
6475 if test "$wxUSE_FS_ZIP" = yes; then
6476 { echo "$as_me:$LINENO: result: yes" >&5
6477 echo "${ECHO_T}yes" >&6; }
6479 { echo "$as_me:$LINENO: result: no" >&5
6480 echo "${ECHO_T}no" >&6; }
6485 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-geometry" >&5
6486 echo $ECHO_N "checking for --${enablestring:-enable}-geometry... $ECHO_C" >&6; }
6488 # Check whether --enable-geometry was given.
6489 if test "${enable_geometry+set}" = set; then
6490 enableval=$enable_geometry;
6491 if test "$enableval" = yes; then
6492 ac_cv_use_geometry='wxUSE_GEOMETRY=yes'
6494 ac_cv_use_geometry='wxUSE_GEOMETRY=no'
6499 LINE=`grep "wxUSE_GEOMETRY" ${wx_arg_cache_file}`
6500 if test "x$LINE" != x ; then
6501 eval "DEFAULT_$LINE"
6506 ac_cv_use_geometry='wxUSE_GEOMETRY='$DEFAULT_wxUSE_GEOMETRY
6511 eval "$ac_cv_use_geometry"
6512 if test "$no_cache" != 1; then
6513 echo $ac_cv_use_geometry >> ${wx_arg_cache_file}.tmp
6516 if test "$wxUSE_GEOMETRY" = yes; then
6517 { echo "$as_me:$LINENO: result: yes" >&5
6518 echo "${ECHO_T}yes" >&6; }
6520 { echo "$as_me:$LINENO: result: no" >&5
6521 echo "${ECHO_T}no" >&6; }
6526 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-log" >&5
6527 echo $ECHO_N "checking for --${enablestring:-enable}-log... $ECHO_C" >&6; }
6529 # Check whether --enable-log was given.
6530 if test "${enable_log+set}" = set; then
6531 enableval=$enable_log;
6532 if test "$enableval" = yes; then
6533 ac_cv_use_log='wxUSE_LOG=yes'
6535 ac_cv_use_log='wxUSE_LOG=no'
6540 LINE=`grep "wxUSE_LOG" ${wx_arg_cache_file}`
6541 if test "x$LINE" != x ; then
6542 eval "DEFAULT_$LINE"
6547 ac_cv_use_log='wxUSE_LOG='$DEFAULT_wxUSE_LOG
6552 eval "$ac_cv_use_log"
6553 if test "$no_cache" != 1; then
6554 echo $ac_cv_use_log >> ${wx_arg_cache_file}.tmp
6557 if test "$wxUSE_LOG" = yes; then
6558 { echo "$as_me:$LINENO: result: yes" >&5
6559 echo "${ECHO_T}yes" >&6; }
6561 { echo "$as_me:$LINENO: result: no" >&5
6562 echo "${ECHO_T}no" >&6; }
6567 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-longlong" >&5
6568 echo $ECHO_N "checking for --${enablestring:-enable}-longlong... $ECHO_C" >&6; }
6570 # Check whether --enable-longlong was given.
6571 if test "${enable_longlong+set}" = set; then
6572 enableval=$enable_longlong;
6573 if test "$enableval" = yes; then
6574 ac_cv_use_longlong='wxUSE_LONGLONG=yes'
6576 ac_cv_use_longlong='wxUSE_LONGLONG=no'
6581 LINE=`grep "wxUSE_LONGLONG" ${wx_arg_cache_file}`
6582 if test "x$LINE" != x ; then
6583 eval "DEFAULT_$LINE"
6588 ac_cv_use_longlong='wxUSE_LONGLONG='$DEFAULT_wxUSE_LONGLONG
6593 eval "$ac_cv_use_longlong"
6594 if test "$no_cache" != 1; then
6595 echo $ac_cv_use_longlong >> ${wx_arg_cache_file}.tmp
6598 if test "$wxUSE_LONGLONG" = yes; then
6599 { echo "$as_me:$LINENO: result: yes" >&5
6600 echo "${ECHO_T}yes" >&6; }
6602 { echo "$as_me:$LINENO: result: no" >&5
6603 echo "${ECHO_T}no" >&6; }
6608 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mimetype" >&5
6609 echo $ECHO_N "checking for --${enablestring:-enable}-mimetype... $ECHO_C" >&6; }
6611 # Check whether --enable-mimetype was given.
6612 if test "${enable_mimetype+set}" = set; then
6613 enableval=$enable_mimetype;
6614 if test "$enableval" = yes; then
6615 ac_cv_use_mimetype='wxUSE_MIMETYPE=yes'
6617 ac_cv_use_mimetype='wxUSE_MIMETYPE=no'
6622 LINE=`grep "wxUSE_MIMETYPE" ${wx_arg_cache_file}`
6623 if test "x$LINE" != x ; then
6624 eval "DEFAULT_$LINE"
6629 ac_cv_use_mimetype='wxUSE_MIMETYPE='$DEFAULT_wxUSE_MIMETYPE
6634 eval "$ac_cv_use_mimetype"
6635 if test "$no_cache" != 1; then
6636 echo $ac_cv_use_mimetype >> ${wx_arg_cache_file}.tmp
6639 if test "$wxUSE_MIMETYPE" = yes; then
6640 { echo "$as_me:$LINENO: result: yes" >&5
6641 echo "${ECHO_T}yes" >&6; }
6643 { echo "$as_me:$LINENO: result: no" >&5
6644 echo "${ECHO_T}no" >&6; }
6649 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mslu" >&5
6650 echo $ECHO_N "checking for --${enablestring:-enable}-mslu... $ECHO_C" >&6; }
6652 # Check whether --enable-mslu was given.
6653 if test "${enable_mslu+set}" = set; then
6654 enableval=$enable_mslu;
6655 if test "$enableval" = yes; then
6656 ac_cv_use_mslu='wxUSE_UNICODE_MSLU=yes'
6658 ac_cv_use_mslu='wxUSE_UNICODE_MSLU=no'
6663 LINE=`grep "wxUSE_UNICODE_MSLU" ${wx_arg_cache_file}`
6664 if test "x$LINE" != x ; then
6665 eval "DEFAULT_$LINE"
6670 ac_cv_use_mslu='wxUSE_UNICODE_MSLU='$DEFAULT_wxUSE_UNICODE_MSLU
6675 eval "$ac_cv_use_mslu"
6676 if test "$no_cache" != 1; then
6677 echo $ac_cv_use_mslu >> ${wx_arg_cache_file}.tmp
6680 if test "$wxUSE_UNICODE_MSLU" = yes; then
6681 { echo "$as_me:$LINENO: result: yes" >&5
6682 echo "${ECHO_T}yes" >&6; }
6684 { echo "$as_me:$LINENO: result: no" >&5
6685 echo "${ECHO_T}no" >&6; }
6690 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-snglinst" >&5
6691 echo $ECHO_N "checking for --${enablestring:-enable}-snglinst... $ECHO_C" >&6; }
6693 # Check whether --enable-snglinst was given.
6694 if test "${enable_snglinst+set}" = set; then
6695 enableval=$enable_snglinst;
6696 if test "$enableval" = yes; then
6697 ac_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=yes'
6699 ac_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=no'
6704 LINE=`grep "wxUSE_SNGLINST_CHECKER" ${wx_arg_cache_file}`
6705 if test "x$LINE" != x ; then
6706 eval "DEFAULT_$LINE"
6711 ac_cv_use_snglinst='wxUSE_SNGLINST_CHECKER='$DEFAULT_wxUSE_SNGLINST_CHECKER
6716 eval "$ac_cv_use_snglinst"
6717 if test "$no_cache" != 1; then
6718 echo $ac_cv_use_snglinst >> ${wx_arg_cache_file}.tmp
6721 if test "$wxUSE_SNGLINST_CHECKER" = yes; then
6722 { echo "$as_me:$LINENO: result: yes" >&5
6723 echo "${ECHO_T}yes" >&6; }
6725 { echo "$as_me:$LINENO: result: no" >&5
6726 echo "${ECHO_T}no" >&6; }
6731 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-std_iostreams" >&5
6732 echo $ECHO_N "checking for --${enablestring:-enable}-std_iostreams... $ECHO_C" >&6; }
6734 # Check whether --enable-std_iostreams was given.
6735 if test "${enable_std_iostreams+set}" = set; then
6736 enableval=$enable_std_iostreams;
6737 if test "$enableval" = yes; then
6738 ac_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=yes'
6740 ac_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=no'
6745 LINE=`grep "wxUSE_STD_IOSTREAM" ${wx_arg_cache_file}`
6746 if test "x$LINE" != x ; then
6747 eval "DEFAULT_$LINE"
6752 ac_cv_use_std_iostreams='wxUSE_STD_IOSTREAM='$DEFAULT_wxUSE_STD_IOSTREAM
6757 eval "$ac_cv_use_std_iostreams"
6758 if test "$no_cache" != 1; then
6759 echo $ac_cv_use_std_iostreams >> ${wx_arg_cache_file}.tmp
6762 if test "$wxUSE_STD_IOSTREAM" = yes; then
6763 { echo "$as_me:$LINENO: result: yes" >&5
6764 echo "${ECHO_T}yes" >&6; }
6766 { echo "$as_me:$LINENO: result: no" >&5
6767 echo "${ECHO_T}no" >&6; }
6772 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-std_string" >&5
6773 echo $ECHO_N "checking for --${enablestring:-enable}-std_string... $ECHO_C" >&6; }
6775 # Check whether --enable-std_string was given.
6776 if test "${enable_std_string+set}" = set; then
6777 enableval=$enable_std_string;
6778 if test "$enableval" = yes; then
6779 ac_cv_use_std_string='wxUSE_STD_STRING=yes'
6781 ac_cv_use_std_string='wxUSE_STD_STRING=no'
6786 LINE=`grep "wxUSE_STD_STRING" ${wx_arg_cache_file}`
6787 if test "x$LINE" != x ; then
6788 eval "DEFAULT_$LINE"
6793 ac_cv_use_std_string='wxUSE_STD_STRING='$DEFAULT_wxUSE_STD_STRING
6798 eval "$ac_cv_use_std_string"
6799 if test "$no_cache" != 1; then
6800 echo $ac_cv_use_std_string >> ${wx_arg_cache_file}.tmp
6803 if test "$wxUSE_STD_STRING" = yes; then
6804 { echo "$as_me:$LINENO: result: yes" >&5
6805 echo "${ECHO_T}yes" >&6; }
6807 { echo "$as_me:$LINENO: result: no" >&5
6808 echo "${ECHO_T}no" >&6; }
6813 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stdpaths" >&5
6814 echo $ECHO_N "checking for --${enablestring:-enable}-stdpaths... $ECHO_C" >&6; }
6816 # Check whether --enable-stdpaths was given.
6817 if test "${enable_stdpaths+set}" = set; then
6818 enableval=$enable_stdpaths;
6819 if test "$enableval" = yes; then
6820 ac_cv_use_stdpaths='wxUSE_STDPATHS=yes'
6822 ac_cv_use_stdpaths='wxUSE_STDPATHS=no'
6827 LINE=`grep "wxUSE_STDPATHS" ${wx_arg_cache_file}`
6828 if test "x$LINE" != x ; then
6829 eval "DEFAULT_$LINE"
6834 ac_cv_use_stdpaths='wxUSE_STDPATHS='$DEFAULT_wxUSE_STDPATHS
6839 eval "$ac_cv_use_stdpaths"
6840 if test "$no_cache" != 1; then
6841 echo $ac_cv_use_stdpaths >> ${wx_arg_cache_file}.tmp
6844 if test "$wxUSE_STDPATHS" = yes; then
6845 { echo "$as_me:$LINENO: result: yes" >&5
6846 echo "${ECHO_T}yes" >&6; }
6848 { echo "$as_me:$LINENO: result: no" >&5
6849 echo "${ECHO_T}no" >&6; }
6854 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stopwatch" >&5
6855 echo $ECHO_N "checking for --${enablestring:-enable}-stopwatch... $ECHO_C" >&6; }
6857 # Check whether --enable-stopwatch was given.
6858 if test "${enable_stopwatch+set}" = set; then
6859 enableval=$enable_stopwatch;
6860 if test "$enableval" = yes; then
6861 ac_cv_use_stopwatch='wxUSE_STOPWATCH=yes'
6863 ac_cv_use_stopwatch='wxUSE_STOPWATCH=no'
6868 LINE=`grep "wxUSE_STOPWATCH" ${wx_arg_cache_file}`
6869 if test "x$LINE" != x ; then
6870 eval "DEFAULT_$LINE"
6875 ac_cv_use_stopwatch='wxUSE_STOPWATCH='$DEFAULT_wxUSE_STOPWATCH
6880 eval "$ac_cv_use_stopwatch"
6881 if test "$no_cache" != 1; then
6882 echo $ac_cv_use_stopwatch >> ${wx_arg_cache_file}.tmp
6885 if test "$wxUSE_STOPWATCH" = yes; then
6886 { echo "$as_me:$LINENO: result: yes" >&5
6887 echo "${ECHO_T}yes" >&6; }
6889 { echo "$as_me:$LINENO: result: no" >&5
6890 echo "${ECHO_T}no" >&6; }
6895 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-streams" >&5
6896 echo $ECHO_N "checking for --${enablestring:-enable}-streams... $ECHO_C" >&6; }
6898 # Check whether --enable-streams was given.
6899 if test "${enable_streams+set}" = set; then
6900 enableval=$enable_streams;
6901 if test "$enableval" = yes; then
6902 ac_cv_use_streams='wxUSE_STREAMS=yes'
6904 ac_cv_use_streams='wxUSE_STREAMS=no'
6909 LINE=`grep "wxUSE_STREAMS" ${wx_arg_cache_file}`
6910 if test "x$LINE" != x ; then
6911 eval "DEFAULT_$LINE"
6916 ac_cv_use_streams='wxUSE_STREAMS='$DEFAULT_wxUSE_STREAMS
6921 eval "$ac_cv_use_streams"
6922 if test "$no_cache" != 1; then
6923 echo $ac_cv_use_streams >> ${wx_arg_cache_file}.tmp
6926 if test "$wxUSE_STREAMS" = yes; then
6927 { echo "$as_me:$LINENO: result: yes" >&5
6928 echo "${ECHO_T}yes" >&6; }
6930 { echo "$as_me:$LINENO: result: no" >&5
6931 echo "${ECHO_T}no" >&6; }
6936 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-system_options" >&5
6937 echo $ECHO_N "checking for --${enablestring:-enable}-system_options... $ECHO_C" >&6; }
6939 # Check whether --enable-system_options was given.
6940 if test "${enable_system_options+set}" = set; then
6941 enableval=$enable_system_options;
6942 if test "$enableval" = yes; then
6943 ac_cv_use_system_options='wxUSE_SYSTEM_OPTIONS=yes'
6945 ac_cv_use_system_options='wxUSE_SYSTEM_OPTIONS=no'
6950 LINE=`grep "wxUSE_SYSTEM_OPTIONS" ${wx_arg_cache_file}`
6951 if test "x$LINE" != x ; then
6952 eval "DEFAULT_$LINE"
6957 ac_cv_use_system_options='wxUSE_SYSTEM_OPTIONS='$DEFAULT_wxUSE_SYSTEM_OPTIONS
6962 eval "$ac_cv_use_system_options"
6963 if test "$no_cache" != 1; then
6964 echo $ac_cv_use_system_options >> ${wx_arg_cache_file}.tmp
6967 if test "$wxUSE_SYSTEM_OPTIONS" = yes; then
6968 { echo "$as_me:$LINENO: result: yes" >&5
6969 echo "${ECHO_T}yes" >&6; }
6971 { echo "$as_me:$LINENO: result: no" >&5
6972 echo "${ECHO_T}no" >&6; }
6977 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tarstream" >&5
6978 echo $ECHO_N "checking for --${enablestring:-enable}-tarstream... $ECHO_C" >&6; }
6980 # Check whether --enable-tarstream was given.
6981 if test "${enable_tarstream+set}" = set; then
6982 enableval=$enable_tarstream;
6983 if test "$enableval" = yes; then
6984 ac_cv_use_tarstream='wxUSE_TARSTREAM=yes'
6986 ac_cv_use_tarstream='wxUSE_TARSTREAM=no'
6991 LINE=`grep "wxUSE_TARSTREAM" ${wx_arg_cache_file}`
6992 if test "x$LINE" != x ; then
6993 eval "DEFAULT_$LINE"
6998 ac_cv_use_tarstream='wxUSE_TARSTREAM='$DEFAULT_wxUSE_TARSTREAM
7003 eval "$ac_cv_use_tarstream"
7004 if test "$no_cache" != 1; then
7005 echo $ac_cv_use_tarstream >> ${wx_arg_cache_file}.tmp
7008 if test "$wxUSE_TARSTREAM" = yes; then
7009 { echo "$as_me:$LINENO: result: yes" >&5
7010 echo "${ECHO_T}yes" >&6; }
7012 { echo "$as_me:$LINENO: result: no" >&5
7013 echo "${ECHO_T}no" >&6; }
7018 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textbuf" >&5
7019 echo $ECHO_N "checking for --${enablestring:-enable}-textbuf... $ECHO_C" >&6; }
7021 # Check whether --enable-textbuf was given.
7022 if test "${enable_textbuf+set}" = set; then
7023 enableval=$enable_textbuf;
7024 if test "$enableval" = yes; then
7025 ac_cv_use_textbuf='wxUSE_TEXTBUFFER=yes'
7027 ac_cv_use_textbuf='wxUSE_TEXTBUFFER=no'
7032 LINE=`grep "wxUSE_TEXTBUFFER" ${wx_arg_cache_file}`
7033 if test "x$LINE" != x ; then
7034 eval "DEFAULT_$LINE"
7039 ac_cv_use_textbuf='wxUSE_TEXTBUFFER='$DEFAULT_wxUSE_TEXTBUFFER
7044 eval "$ac_cv_use_textbuf"
7045 if test "$no_cache" != 1; then
7046 echo $ac_cv_use_textbuf >> ${wx_arg_cache_file}.tmp
7049 if test "$wxUSE_TEXTBUFFER" = yes; then
7050 { echo "$as_me:$LINENO: result: yes" >&5
7051 echo "${ECHO_T}yes" >&6; }
7053 { echo "$as_me:$LINENO: result: no" >&5
7054 echo "${ECHO_T}no" >&6; }
7059 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textfile" >&5
7060 echo $ECHO_N "checking for --${enablestring:-enable}-textfile... $ECHO_C" >&6; }
7062 # Check whether --enable-textfile was given.
7063 if test "${enable_textfile+set}" = set; then
7064 enableval=$enable_textfile;
7065 if test "$enableval" = yes; then
7066 ac_cv_use_textfile='wxUSE_TEXTFILE=yes'
7068 ac_cv_use_textfile='wxUSE_TEXTFILE=no'
7073 LINE=`grep "wxUSE_TEXTFILE" ${wx_arg_cache_file}`
7074 if test "x$LINE" != x ; then
7075 eval "DEFAULT_$LINE"
7080 ac_cv_use_textfile='wxUSE_TEXTFILE='$DEFAULT_wxUSE_TEXTFILE
7085 eval "$ac_cv_use_textfile"
7086 if test "$no_cache" != 1; then
7087 echo $ac_cv_use_textfile >> ${wx_arg_cache_file}.tmp
7090 if test "$wxUSE_TEXTFILE" = yes; then
7091 { echo "$as_me:$LINENO: result: yes" >&5
7092 echo "${ECHO_T}yes" >&6; }
7094 { echo "$as_me:$LINENO: result: no" >&5
7095 echo "${ECHO_T}no" >&6; }
7100 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-timer" >&5
7101 echo $ECHO_N "checking for --${enablestring:-enable}-timer... $ECHO_C" >&6; }
7103 # Check whether --enable-timer was given.
7104 if test "${enable_timer+set}" = set; then
7105 enableval=$enable_timer;
7106 if test "$enableval" = yes; then
7107 ac_cv_use_timer='wxUSE_TIMER=yes'
7109 ac_cv_use_timer='wxUSE_TIMER=no'
7114 LINE=`grep "wxUSE_TIMER" ${wx_arg_cache_file}`
7115 if test "x$LINE" != x ; then
7116 eval "DEFAULT_$LINE"
7121 ac_cv_use_timer='wxUSE_TIMER='$DEFAULT_wxUSE_TIMER
7126 eval "$ac_cv_use_timer"
7127 if test "$no_cache" != 1; then
7128 echo $ac_cv_use_timer >> ${wx_arg_cache_file}.tmp
7131 if test "$wxUSE_TIMER" = yes; then
7132 { echo "$as_me:$LINENO: result: yes" >&5
7133 echo "${ECHO_T}yes" >&6; }
7135 { echo "$as_me:$LINENO: result: no" >&5
7136 echo "${ECHO_T}no" >&6; }
7141 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-unicode" >&5
7142 echo $ECHO_N "checking for --${enablestring:-enable}-unicode... $ECHO_C" >&6; }
7144 # Check whether --enable-unicode was given.
7145 if test "${enable_unicode+set}" = set; then
7146 enableval=$enable_unicode;
7147 if test "$enableval" = yes; then
7148 ac_cv_use_unicode='wxUSE_UNICODE=yes'
7150 ac_cv_use_unicode='wxUSE_UNICODE=no'
7155 LINE=`grep "wxUSE_UNICODE" ${wx_arg_cache_file}`
7156 if test "x$LINE" != x ; then
7157 eval "DEFAULT_$LINE"
7162 ac_cv_use_unicode='wxUSE_UNICODE='$DEFAULT_wxUSE_UNICODE
7167 eval "$ac_cv_use_unicode"
7168 if test "$no_cache" != 1; then
7169 echo $ac_cv_use_unicode >> ${wx_arg_cache_file}.tmp
7172 if test "$wxUSE_UNICODE" = yes; then
7173 { echo "$as_me:$LINENO: result: yes" >&5
7174 echo "${ECHO_T}yes" >&6; }
7176 { echo "$as_me:$LINENO: result: no" >&5
7177 echo "${ECHO_T}no" >&6; }
7182 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sound" >&5
7183 echo $ECHO_N "checking for --${enablestring:-enable}-sound... $ECHO_C" >&6; }
7185 # Check whether --enable-sound was given.
7186 if test "${enable_sound+set}" = set; then
7187 enableval=$enable_sound;
7188 if test "$enableval" = yes; then
7189 ac_cv_use_sound='wxUSE_SOUND=yes'
7191 ac_cv_use_sound='wxUSE_SOUND=no'
7196 LINE=`grep "wxUSE_SOUND" ${wx_arg_cache_file}`
7197 if test "x$LINE" != x ; then
7198 eval "DEFAULT_$LINE"
7203 ac_cv_use_sound='wxUSE_SOUND='$DEFAULT_wxUSE_SOUND
7208 eval "$ac_cv_use_sound"
7209 if test "$no_cache" != 1; then
7210 echo $ac_cv_use_sound >> ${wx_arg_cache_file}.tmp
7213 if test "$wxUSE_SOUND" = yes; then
7214 { echo "$as_me:$LINENO: result: yes" >&5
7215 echo "${ECHO_T}yes" >&6; }
7217 { echo "$as_me:$LINENO: result: no" >&5
7218 echo "${ECHO_T}no" >&6; }
7223 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mediactrl" >&5
7224 echo $ECHO_N "checking for --${enablestring:-enable}-mediactrl... $ECHO_C" >&6; }
7226 # Check whether --enable-mediactrl was given.
7227 if test "${enable_mediactrl+set}" = set; then
7228 enableval=$enable_mediactrl;
7229 if test "$enableval" = yes; then
7230 ac_cv_use_mediactrl='wxUSE_MEDIACTRL=yes'
7232 ac_cv_use_mediactrl='wxUSE_MEDIACTRL=no'
7237 LINE=`grep "wxUSE_MEDIACTRL" ${wx_arg_cache_file}`
7238 if test "x$LINE" != x ; then
7239 eval "DEFAULT_$LINE"
7244 ac_cv_use_mediactrl='wxUSE_MEDIACTRL='$DEFAULT_wxUSE_MEDIACTRL
7249 eval "$ac_cv_use_mediactrl"
7250 if test "$no_cache" != 1; then
7251 echo $ac_cv_use_mediactrl >> ${wx_arg_cache_file}.tmp
7254 if test "$wxUSE_MEDIACTRL" = yes; then
7255 { echo "$as_me:$LINENO: result: yes" >&5
7256 echo "${ECHO_T}yes" >&6; }
7258 { echo "$as_me:$LINENO: result: no" >&5
7259 echo "${ECHO_T}no" >&6; }
7264 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gstreamer8" >&5
7265 echo $ECHO_N "checking for --${enablestring:-enable}-gstreamer8... $ECHO_C" >&6; }
7267 # Check whether --enable-gstreamer8 was given.
7268 if test "${enable_gstreamer8+set}" = set; then
7269 enableval=$enable_gstreamer8;
7270 if test "$enableval" = yes; then
7271 ac_cv_use_gstreamer8='wxUSE_GSTREAMER8=yes'
7273 ac_cv_use_gstreamer8='wxUSE_GSTREAMER8=no'
7278 LINE=`grep "wxUSE_GSTREAMER8" ${wx_arg_cache_file}`
7279 if test "x$LINE" != x ; then
7280 eval "DEFAULT_$LINE"
7285 ac_cv_use_gstreamer8='wxUSE_GSTREAMER8='$DEFAULT_wxUSE_GSTREAMER8
7290 eval "$ac_cv_use_gstreamer8"
7291 if test "$no_cache" != 1; then
7292 echo $ac_cv_use_gstreamer8 >> ${wx_arg_cache_file}.tmp
7295 if test "$wxUSE_GSTREAMER8" = yes; then
7296 { echo "$as_me:$LINENO: result: yes" >&5
7297 echo "${ECHO_T}yes" >&6; }
7299 { echo "$as_me:$LINENO: result: no" >&5
7300 echo "${ECHO_T}no" >&6; }
7305 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-printfposparam" >&5
7306 echo $ECHO_N "checking for --${enablestring:-enable}-printfposparam... $ECHO_C" >&6; }
7308 # Check whether --enable-printfposparam was given.
7309 if test "${enable_printfposparam+set}" = set; then
7310 enableval=$enable_printfposparam;
7311 if test "$enableval" = yes; then
7312 ac_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS=yes'
7314 ac_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS=no'
7319 LINE=`grep "wxUSE_PRINTF_POS_PARAMS" ${wx_arg_cache_file}`
7320 if test "x$LINE" != x ; then
7321 eval "DEFAULT_$LINE"
7326 ac_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS='$DEFAULT_wxUSE_PRINTF_POS_PARAMS
7331 eval "$ac_cv_use_printfposparam"
7332 if test "$no_cache" != 1; then
7333 echo $ac_cv_use_printfposparam >> ${wx_arg_cache_file}.tmp
7336 if test "$wxUSE_PRINTF_POS_PARAMS" = yes; then
7337 { echo "$as_me:$LINENO: result: yes" >&5
7338 echo "${ECHO_T}yes" >&6; }
7340 { echo "$as_me:$LINENO: result: no" >&5
7341 echo "${ECHO_T}no" >&6; }
7346 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-zipstream" >&5
7347 echo $ECHO_N "checking for --${enablestring:-enable}-zipstream... $ECHO_C" >&6; }
7349 # Check whether --enable-zipstream was given.
7350 if test "${enable_zipstream+set}" = set; then
7351 enableval=$enable_zipstream;
7352 if test "$enableval" = yes; then
7353 ac_cv_use_zipstream='wxUSE_ZIPSTREAM=yes'
7355 ac_cv_use_zipstream='wxUSE_ZIPSTREAM=no'
7360 LINE=`grep "wxUSE_ZIPSTREAM" ${wx_arg_cache_file}`
7361 if test "x$LINE" != x ; then
7362 eval "DEFAULT_$LINE"
7367 ac_cv_use_zipstream='wxUSE_ZIPSTREAM='$DEFAULT_wxUSE_ZIPSTREAM
7372 eval "$ac_cv_use_zipstream"
7373 if test "$no_cache" != 1; then
7374 echo $ac_cv_use_zipstream >> ${wx_arg_cache_file}.tmp
7377 if test "$wxUSE_ZIPSTREAM" = yes; then
7378 { echo "$as_me:$LINENO: result: yes" >&5
7379 echo "${ECHO_T}yes" >&6; }
7381 { echo "$as_me:$LINENO: result: no" >&5
7382 echo "${ECHO_T}no" >&6; }
7388 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-url" >&5
7389 echo $ECHO_N "checking for --${enablestring:-enable}-url... $ECHO_C" >&6; }
7391 # Check whether --enable-url was given.
7392 if test "${enable_url+set}" = set; then
7393 enableval=$enable_url;
7394 if test "$enableval" = yes; then
7395 ac_cv_use_url='wxUSE_URL=yes'
7397 ac_cv_use_url='wxUSE_URL=no'
7402 LINE=`grep "wxUSE_URL" ${wx_arg_cache_file}`
7403 if test "x$LINE" != x ; then
7404 eval "DEFAULT_$LINE"
7409 ac_cv_use_url='wxUSE_URL='$DEFAULT_wxUSE_URL
7414 eval "$ac_cv_use_url"
7415 if test "$no_cache" != 1; then
7416 echo $ac_cv_use_url >> ${wx_arg_cache_file}.tmp
7419 if test "$wxUSE_URL" = yes; then
7420 { echo "$as_me:$LINENO: result: yes" >&5
7421 echo "${ECHO_T}yes" >&6; }
7423 { echo "$as_me:$LINENO: result: no" >&5
7424 echo "${ECHO_T}no" >&6; }
7429 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-variant" >&5
7430 echo $ECHO_N "checking for --${enablestring:-enable}-variant... $ECHO_C" >&6; }
7432 # Check whether --enable-variant was given.
7433 if test "${enable_variant+set}" = set; then
7434 enableval=$enable_variant;
7435 if test "$enableval" = yes; then
7436 ac_cv_use_variant='wxUSE_VARIANT=yes'
7438 ac_cv_use_variant='wxUSE_VARIANT=no'
7443 LINE=`grep "wxUSE_VARIANT" ${wx_arg_cache_file}`
7444 if test "x$LINE" != x ; then
7445 eval "DEFAULT_$LINE"
7450 ac_cv_use_variant='wxUSE_VARIANT='$DEFAULT_wxUSE_VARIANT
7455 eval "$ac_cv_use_variant"
7456 if test "$no_cache" != 1; then
7457 echo $ac_cv_use_variant >> ${wx_arg_cache_file}.tmp
7460 if test "$wxUSE_VARIANT" = yes; then
7461 { echo "$as_me:$LINENO: result: yes" >&5
7462 echo "${ECHO_T}yes" >&6; }
7464 { echo "$as_me:$LINENO: result: no" >&5
7465 echo "${ECHO_T}no" >&6; }
7470 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol" >&5
7471 echo $ECHO_N "checking for --${enablestring:-enable}-protocol... $ECHO_C" >&6; }
7473 # Check whether --enable-protocol was given.
7474 if test "${enable_protocol+set}" = set; then
7475 enableval=$enable_protocol;
7476 if test "$enableval" = yes; then
7477 ac_cv_use_protocol='wxUSE_PROTOCOL=yes'
7479 ac_cv_use_protocol='wxUSE_PROTOCOL=no'
7484 LINE=`grep "wxUSE_PROTOCOL" ${wx_arg_cache_file}`
7485 if test "x$LINE" != x ; then
7486 eval "DEFAULT_$LINE"
7491 ac_cv_use_protocol='wxUSE_PROTOCOL='$DEFAULT_wxUSE_PROTOCOL
7496 eval "$ac_cv_use_protocol"
7497 if test "$no_cache" != 1; then
7498 echo $ac_cv_use_protocol >> ${wx_arg_cache_file}.tmp
7501 if test "$wxUSE_PROTOCOL" = yes; then
7502 { echo "$as_me:$LINENO: result: yes" >&5
7503 echo "${ECHO_T}yes" >&6; }
7505 { echo "$as_me:$LINENO: result: no" >&5
7506 echo "${ECHO_T}no" >&6; }
7511 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_http" >&5
7512 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_http... $ECHO_C" >&6; }
7514 # Check whether --enable-protocol_http was given.
7515 if test "${enable_protocol_http+set}" = set; then
7516 enableval=$enable_protocol_http;
7517 if test "$enableval" = yes; then
7518 ac_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP=yes'
7520 ac_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP=no'
7525 LINE=`grep "wxUSE_PROTOCOL_HTTP" ${wx_arg_cache_file}`
7526 if test "x$LINE" != x ; then
7527 eval "DEFAULT_$LINE"
7532 ac_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP='$DEFAULT_wxUSE_PROTOCOL_HTTP
7537 eval "$ac_cv_use_protocol_http"
7538 if test "$no_cache" != 1; then
7539 echo $ac_cv_use_protocol_http >> ${wx_arg_cache_file}.tmp
7542 if test "$wxUSE_PROTOCOL_HTTP" = yes; then
7543 { echo "$as_me:$LINENO: result: yes" >&5
7544 echo "${ECHO_T}yes" >&6; }
7546 { echo "$as_me:$LINENO: result: no" >&5
7547 echo "${ECHO_T}no" >&6; }
7552 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_ftp" >&5
7553 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_ftp... $ECHO_C" >&6; }
7555 # Check whether --enable-protocol_ftp was given.
7556 if test "${enable_protocol_ftp+set}" = set; then
7557 enableval=$enable_protocol_ftp;
7558 if test "$enableval" = yes; then
7559 ac_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=yes'
7561 ac_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=no'
7566 LINE=`grep "wxUSE_PROTOCOL_FTP" ${wx_arg_cache_file}`
7567 if test "x$LINE" != x ; then
7568 eval "DEFAULT_$LINE"
7573 ac_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP='$DEFAULT_wxUSE_PROTOCOL_FTP
7578 eval "$ac_cv_use_protocol_ftp"
7579 if test "$no_cache" != 1; then
7580 echo $ac_cv_use_protocol_ftp >> ${wx_arg_cache_file}.tmp
7583 if test "$wxUSE_PROTOCOL_FTP" = yes; then
7584 { echo "$as_me:$LINENO: result: yes" >&5
7585 echo "${ECHO_T}yes" >&6; }
7587 { echo "$as_me:$LINENO: result: no" >&5
7588 echo "${ECHO_T}no" >&6; }
7593 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_file" >&5
7594 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_file... $ECHO_C" >&6; }
7596 # Check whether --enable-protocol_file was given.
7597 if test "${enable_protocol_file+set}" = set; then
7598 enableval=$enable_protocol_file;
7599 if test "$enableval" = yes; then
7600 ac_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=yes'
7602 ac_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=no'
7607 LINE=`grep "wxUSE_PROTOCOL_FILE" ${wx_arg_cache_file}`
7608 if test "x$LINE" != x ; then
7609 eval "DEFAULT_$LINE"
7614 ac_cv_use_protocol_file='wxUSE_PROTOCOL_FILE='$DEFAULT_wxUSE_PROTOCOL_FILE
7619 eval "$ac_cv_use_protocol_file"
7620 if test "$no_cache" != 1; then
7621 echo $ac_cv_use_protocol_file >> ${wx_arg_cache_file}.tmp
7624 if test "$wxUSE_PROTOCOL_FILE" = yes; then
7625 { echo "$as_me:$LINENO: result: yes" >&5
7626 echo "${ECHO_T}yes" >&6; }
7628 { echo "$as_me:$LINENO: result: no" >&5
7629 echo "${ECHO_T}no" >&6; }
7637 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-threads" >&5
7638 echo $ECHO_N "checking for --${enablestring:-enable}-threads... $ECHO_C" >&6; }
7640 # Check whether --enable-threads was given.
7641 if test "${enable_threads+set}" = set; then
7642 enableval=$enable_threads;
7643 if test "$enableval" = yes; then
7644 ac_cv_use_threads='wxUSE_THREADS=yes'
7646 ac_cv_use_threads='wxUSE_THREADS=no'
7651 LINE=`grep "wxUSE_THREADS" ${wx_arg_cache_file}`
7652 if test "x$LINE" != x ; then
7653 eval "DEFAULT_$LINE"
7658 ac_cv_use_threads='wxUSE_THREADS='$DEFAULT_wxUSE_THREADS
7663 eval "$ac_cv_use_threads"
7664 if test "$no_cache" != 1; then
7665 echo $ac_cv_use_threads >> ${wx_arg_cache_file}.tmp
7668 if test "$wxUSE_THREADS" = yes; then
7669 { echo "$as_me:$LINENO: result: yes" >&5
7670 echo "${ECHO_T}yes" >&6; }
7672 { echo "$as_me:$LINENO: result: no" >&5
7673 echo "${ECHO_T}no" >&6; }
7677 if test "$wxUSE_GUI" = "yes"; then
7682 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-docview" >&5
7683 echo $ECHO_N "checking for --${enablestring:-enable}-docview... $ECHO_C" >&6; }
7685 # Check whether --enable-docview was given.
7686 if test "${enable_docview+set}" = set; then
7687 enableval=$enable_docview;
7688 if test "$enableval" = yes; then
7689 ac_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=yes'
7691 ac_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=no'
7696 LINE=`grep "wxUSE_DOC_VIEW_ARCHITECTURE" ${wx_arg_cache_file}`
7697 if test "x$LINE" != x ; then
7698 eval "DEFAULT_$LINE"
7703 ac_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE='$DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE
7708 eval "$ac_cv_use_docview"
7709 if test "$no_cache" != 1; then
7710 echo $ac_cv_use_docview >> ${wx_arg_cache_file}.tmp
7713 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = yes; then
7714 { echo "$as_me:$LINENO: result: yes" >&5
7715 echo "${ECHO_T}yes" >&6; }
7717 { echo "$as_me:$LINENO: result: no" >&5
7718 echo "${ECHO_T}no" >&6; }
7723 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-help" >&5
7724 echo $ECHO_N "checking for --${enablestring:-enable}-help... $ECHO_C" >&6; }
7726 # Check whether --enable-help was given.
7727 if test "${enable_help+set}" = set; then
7728 enableval=$enable_help;
7729 if test "$enableval" = yes; then
7730 ac_cv_use_help='wxUSE_HELP=yes'
7732 ac_cv_use_help='wxUSE_HELP=no'
7737 LINE=`grep "wxUSE_HELP" ${wx_arg_cache_file}`
7738 if test "x$LINE" != x ; then
7739 eval "DEFAULT_$LINE"
7744 ac_cv_use_help='wxUSE_HELP='$DEFAULT_wxUSE_HELP
7749 eval "$ac_cv_use_help"
7750 if test "$no_cache" != 1; then
7751 echo $ac_cv_use_help >> ${wx_arg_cache_file}.tmp
7754 if test "$wxUSE_HELP" = yes; then
7755 { echo "$as_me:$LINENO: result: yes" >&5
7756 echo "${ECHO_T}yes" >&6; }
7758 { echo "$as_me:$LINENO: result: no" >&5
7759 echo "${ECHO_T}no" >&6; }
7764 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mshtmlhelp" >&5
7765 echo $ECHO_N "checking for --${enablestring:-enable}-mshtmlhelp... $ECHO_C" >&6; }
7767 # Check whether --enable-mshtmlhelp was given.
7768 if test "${enable_mshtmlhelp+set}" = set; then
7769 enableval=$enable_mshtmlhelp;
7770 if test "$enableval" = yes; then
7771 ac_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=yes'
7773 ac_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=no'
7778 LINE=`grep "wxUSE_MS_HTML_HELP" ${wx_arg_cache_file}`
7779 if test "x$LINE" != x ; then
7780 eval "DEFAULT_$LINE"
7785 ac_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP='$DEFAULT_wxUSE_MS_HTML_HELP
7790 eval "$ac_cv_use_mshtmlhelp"
7791 if test "$no_cache" != 1; then
7792 echo $ac_cv_use_mshtmlhelp >> ${wx_arg_cache_file}.tmp
7795 if test "$wxUSE_MS_HTML_HELP" = yes; then
7796 { echo "$as_me:$LINENO: result: yes" >&5
7797 echo "${ECHO_T}yes" >&6; }
7799 { echo "$as_me:$LINENO: result: no" >&5
7800 echo "${ECHO_T}no" >&6; }
7805 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-html" >&5
7806 echo $ECHO_N "checking for --${enablestring:-enable}-html... $ECHO_C" >&6; }
7808 # Check whether --enable-html was given.
7809 if test "${enable_html+set}" = set; then
7810 enableval=$enable_html;
7811 if test "$enableval" = yes; then
7812 ac_cv_use_html='wxUSE_HTML=yes'
7814 ac_cv_use_html='wxUSE_HTML=no'
7819 LINE=`grep "wxUSE_HTML" ${wx_arg_cache_file}`
7820 if test "x$LINE" != x ; then
7821 eval "DEFAULT_$LINE"
7826 ac_cv_use_html='wxUSE_HTML='$DEFAULT_wxUSE_HTML
7831 eval "$ac_cv_use_html"
7832 if test "$no_cache" != 1; then
7833 echo $ac_cv_use_html >> ${wx_arg_cache_file}.tmp
7836 if test "$wxUSE_HTML" = yes; then
7837 { echo "$as_me:$LINENO: result: yes" >&5
7838 echo "${ECHO_T}yes" >&6; }
7840 { echo "$as_me:$LINENO: result: no" >&5
7841 echo "${ECHO_T}no" >&6; }
7846 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-htmlhelp" >&5
7847 echo $ECHO_N "checking for --${enablestring:-enable}-htmlhelp... $ECHO_C" >&6; }
7849 # Check whether --enable-htmlhelp was given.
7850 if test "${enable_htmlhelp+set}" = set; then
7851 enableval=$enable_htmlhelp;
7852 if test "$enableval" = yes; then
7853 ac_cv_use_htmlhelp='wxUSE_WXHTML_HELP=yes'
7855 ac_cv_use_htmlhelp='wxUSE_WXHTML_HELP=no'
7860 LINE=`grep "wxUSE_WXHTML_HELP" ${wx_arg_cache_file}`
7861 if test "x$LINE" != x ; then
7862 eval "DEFAULT_$LINE"
7867 ac_cv_use_htmlhelp='wxUSE_WXHTML_HELP='$DEFAULT_wxUSE_WXHTML_HELP
7872 eval "$ac_cv_use_htmlhelp"
7873 if test "$no_cache" != 1; then
7874 echo $ac_cv_use_htmlhelp >> ${wx_arg_cache_file}.tmp
7877 if test "$wxUSE_WXHTML_HELP" = yes; then
7878 { echo "$as_me:$LINENO: result: yes" >&5
7879 echo "${ECHO_T}yes" >&6; }
7881 { echo "$as_me:$LINENO: result: no" >&5
7882 echo "${ECHO_T}no" >&6; }
7887 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xrc" >&5
7888 echo $ECHO_N "checking for --${enablestring:-enable}-xrc... $ECHO_C" >&6; }
7890 # Check whether --enable-xrc was given.
7891 if test "${enable_xrc+set}" = set; then
7892 enableval=$enable_xrc;
7893 if test "$enableval" = yes; then
7894 ac_cv_use_xrc='wxUSE_XRC=yes'
7896 ac_cv_use_xrc='wxUSE_XRC=no'
7901 LINE=`grep "wxUSE_XRC" ${wx_arg_cache_file}`
7902 if test "x$LINE" != x ; then
7903 eval "DEFAULT_$LINE"
7908 ac_cv_use_xrc='wxUSE_XRC='$DEFAULT_wxUSE_XRC
7913 eval "$ac_cv_use_xrc"
7914 if test "$no_cache" != 1; then
7915 echo $ac_cv_use_xrc >> ${wx_arg_cache_file}.tmp
7918 if test "$wxUSE_XRC" = yes; then
7919 { echo "$as_me:$LINENO: result: yes" >&5
7920 echo "${ECHO_T}yes" >&6; }
7922 { echo "$as_me:$LINENO: result: no" >&5
7923 echo "${ECHO_T}no" >&6; }
7928 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-aui" >&5
7929 echo $ECHO_N "checking for --${enablestring:-enable}-aui... $ECHO_C" >&6; }
7931 # Check whether --enable-aui was given.
7932 if test "${enable_aui+set}" = set; then
7933 enableval=$enable_aui;
7934 if test "$enableval" = yes; then
7935 ac_cv_use_aui='wxUSE_AUI=yes'
7937 ac_cv_use_aui='wxUSE_AUI=no'
7942 LINE=`grep "wxUSE_AUI" ${wx_arg_cache_file}`
7943 if test "x$LINE" != x ; then
7944 eval "DEFAULT_$LINE"
7949 ac_cv_use_aui='wxUSE_AUI='$DEFAULT_wxUSE_AUI
7954 eval "$ac_cv_use_aui"
7955 if test "$no_cache" != 1; then
7956 echo $ac_cv_use_aui >> ${wx_arg_cache_file}.tmp
7959 if test "$wxUSE_AUI" = yes; then
7960 { echo "$as_me:$LINENO: result: yes" >&5
7961 echo "${ECHO_T}yes" >&6; }
7963 { echo "$as_me:$LINENO: result: no" >&5
7964 echo "${ECHO_T}no" >&6; }
7969 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-constraints" >&5
7970 echo $ECHO_N "checking for --${enablestring:-enable}-constraints... $ECHO_C" >&6; }
7972 # Check whether --enable-constraints was given.
7973 if test "${enable_constraints+set}" = set; then
7974 enableval=$enable_constraints;
7975 if test "$enableval" = yes; then
7976 ac_cv_use_constraints='wxUSE_CONSTRAINTS=yes'
7978 ac_cv_use_constraints='wxUSE_CONSTRAINTS=no'
7983 LINE=`grep "wxUSE_CONSTRAINTS" ${wx_arg_cache_file}`
7984 if test "x$LINE" != x ; then
7985 eval "DEFAULT_$LINE"
7990 ac_cv_use_constraints='wxUSE_CONSTRAINTS='$DEFAULT_wxUSE_CONSTRAINTS
7995 eval "$ac_cv_use_constraints"
7996 if test "$no_cache" != 1; then
7997 echo $ac_cv_use_constraints >> ${wx_arg_cache_file}.tmp
8000 if test "$wxUSE_CONSTRAINTS" = yes; then
8001 { echo "$as_me:$LINENO: result: yes" >&5
8002 echo "${ECHO_T}yes" >&6; }
8004 { echo "$as_me:$LINENO: result: no" >&5
8005 echo "${ECHO_T}no" >&6; }
8010 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-printarch" >&5
8011 echo $ECHO_N "checking for --${enablestring:-enable}-printarch... $ECHO_C" >&6; }
8013 # Check whether --enable-printarch was given.
8014 if test "${enable_printarch+set}" = set; then
8015 enableval=$enable_printarch;
8016 if test "$enableval" = yes; then
8017 ac_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=yes'
8019 ac_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=no'
8024 LINE=`grep "wxUSE_PRINTING_ARCHITECTURE" ${wx_arg_cache_file}`
8025 if test "x$LINE" != x ; then
8026 eval "DEFAULT_$LINE"
8031 ac_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE='$DEFAULT_wxUSE_PRINTING_ARCHITECTURE
8036 eval "$ac_cv_use_printarch"
8037 if test "$no_cache" != 1; then
8038 echo $ac_cv_use_printarch >> ${wx_arg_cache_file}.tmp
8041 if test "$wxUSE_PRINTING_ARCHITECTURE" = yes; then
8042 { echo "$as_me:$LINENO: result: yes" >&5
8043 echo "${ECHO_T}yes" >&6; }
8045 { echo "$as_me:$LINENO: result: no" >&5
8046 echo "${ECHO_T}no" >&6; }
8051 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mdi" >&5
8052 echo $ECHO_N "checking for --${enablestring:-enable}-mdi... $ECHO_C" >&6; }
8054 # Check whether --enable-mdi was given.
8055 if test "${enable_mdi+set}" = set; then
8056 enableval=$enable_mdi;
8057 if test "$enableval" = yes; then
8058 ac_cv_use_mdi='wxUSE_MDI=yes'
8060 ac_cv_use_mdi='wxUSE_MDI=no'
8065 LINE=`grep "wxUSE_MDI" ${wx_arg_cache_file}`
8066 if test "x$LINE" != x ; then
8067 eval "DEFAULT_$LINE"
8072 ac_cv_use_mdi='wxUSE_MDI='$DEFAULT_wxUSE_MDI
8077 eval "$ac_cv_use_mdi"
8078 if test "$no_cache" != 1; then
8079 echo $ac_cv_use_mdi >> ${wx_arg_cache_file}.tmp
8082 if test "$wxUSE_MDI" = yes; then
8083 { echo "$as_me:$LINENO: result: yes" >&5
8084 echo "${ECHO_T}yes" >&6; }
8086 { echo "$as_me:$LINENO: result: no" >&5
8087 echo "${ECHO_T}no" >&6; }
8092 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mdidoc" >&5
8093 echo $ECHO_N "checking for --${enablestring:-enable}-mdidoc... $ECHO_C" >&6; }
8095 # Check whether --enable-mdidoc was given.
8096 if test "${enable_mdidoc+set}" = set; then
8097 enableval=$enable_mdidoc;
8098 if test "$enableval" = yes; then
8099 ac_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE=yes'
8101 ac_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE=no'
8106 LINE=`grep "wxUSE_MDI_ARCHITECTURE" ${wx_arg_cache_file}`
8107 if test "x$LINE" != x ; then
8108 eval "DEFAULT_$LINE"
8113 ac_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE='$DEFAULT_wxUSE_MDI_ARCHITECTURE
8118 eval "$ac_cv_use_mdidoc"
8119 if test "$no_cache" != 1; then
8120 echo $ac_cv_use_mdidoc >> ${wx_arg_cache_file}.tmp
8123 if test "$wxUSE_MDI_ARCHITECTURE" = yes; then
8124 { echo "$as_me:$LINENO: result: yes" >&5
8125 echo "${ECHO_T}yes" >&6; }
8127 { echo "$as_me:$LINENO: result: no" >&5
8128 echo "${ECHO_T}no" >&6; }
8133 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-loggui" >&5
8134 echo $ECHO_N "checking for --${enablestring:-enable}-loggui... $ECHO_C" >&6; }
8136 # Check whether --enable-loggui was given.
8137 if test "${enable_loggui+set}" = set; then
8138 enableval=$enable_loggui;
8139 if test "$enableval" = yes; then
8140 ac_cv_use_loggui='wxUSE_LOGGUI=yes'
8142 ac_cv_use_loggui='wxUSE_LOGGUI=no'
8147 LINE=`grep "wxUSE_LOGGUI" ${wx_arg_cache_file}`
8148 if test "x$LINE" != x ; then
8149 eval "DEFAULT_$LINE"
8154 ac_cv_use_loggui='wxUSE_LOGGUI='$DEFAULT_wxUSE_LOGGUI
8159 eval "$ac_cv_use_loggui"
8160 if test "$no_cache" != 1; then
8161 echo $ac_cv_use_loggui >> ${wx_arg_cache_file}.tmp
8164 if test "$wxUSE_LOGGUI" = yes; then
8165 { echo "$as_me:$LINENO: result: yes" >&5
8166 echo "${ECHO_T}yes" >&6; }
8168 { echo "$as_me:$LINENO: result: no" >&5
8169 echo "${ECHO_T}no" >&6; }
8174 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logwin" >&5
8175 echo $ECHO_N "checking for --${enablestring:-enable}-logwin... $ECHO_C" >&6; }
8177 # Check whether --enable-logwin was given.
8178 if test "${enable_logwin+set}" = set; then
8179 enableval=$enable_logwin;
8180 if test "$enableval" = yes; then
8181 ac_cv_use_logwin='wxUSE_LOGWINDOW=yes'
8183 ac_cv_use_logwin='wxUSE_LOGWINDOW=no'
8188 LINE=`grep "wxUSE_LOGWINDOW" ${wx_arg_cache_file}`
8189 if test "x$LINE" != x ; then
8190 eval "DEFAULT_$LINE"
8195 ac_cv_use_logwin='wxUSE_LOGWINDOW='$DEFAULT_wxUSE_LOGWINDOW
8200 eval "$ac_cv_use_logwin"
8201 if test "$no_cache" != 1; then
8202 echo $ac_cv_use_logwin >> ${wx_arg_cache_file}.tmp
8205 if test "$wxUSE_LOGWINDOW" = yes; then
8206 { echo "$as_me:$LINENO: result: yes" >&5
8207 echo "${ECHO_T}yes" >&6; }
8209 { echo "$as_me:$LINENO: result: no" >&5
8210 echo "${ECHO_T}no" >&6; }
8215 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logdialog" >&5
8216 echo $ECHO_N "checking for --${enablestring:-enable}-logdialog... $ECHO_C" >&6; }
8218 # Check whether --enable-logdialog was given.
8219 if test "${enable_logdialog+set}" = set; then
8220 enableval=$enable_logdialog;
8221 if test "$enableval" = yes; then
8222 ac_cv_use_logdialog='wxUSE_LOGDIALOG=yes'
8224 ac_cv_use_logdialog='wxUSE_LOGDIALOG=no'
8229 LINE=`grep "wxUSE_LOGDIALOG" ${wx_arg_cache_file}`
8230 if test "x$LINE" != x ; then
8231 eval "DEFAULT_$LINE"
8236 ac_cv_use_logdialog='wxUSE_LOGDIALOG='$DEFAULT_wxUSE_LOGDIALOG
8241 eval "$ac_cv_use_logdialog"
8242 if test "$no_cache" != 1; then
8243 echo $ac_cv_use_logdialog >> ${wx_arg_cache_file}.tmp
8246 if test "$wxUSE_LOGDIALOG" = yes; then
8247 { echo "$as_me:$LINENO: result: yes" >&5
8248 echo "${ECHO_T}yes" >&6; }
8250 { echo "$as_me:$LINENO: result: no" >&5
8251 echo "${ECHO_T}no" >&6; }
8256 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-webkit" >&5
8257 echo $ECHO_N "checking for --${enablestring:-enable}-webkit... $ECHO_C" >&6; }
8259 # Check whether --enable-webkit was given.
8260 if test "${enable_webkit+set}" = set; then
8261 enableval=$enable_webkit;
8262 if test "$enableval" = yes; then
8263 ac_cv_use_webkit='wxUSE_WEBKIT=yes'
8265 ac_cv_use_webkit='wxUSE_WEBKIT=no'
8270 LINE=`grep "wxUSE_WEBKIT" ${wx_arg_cache_file}`
8271 if test "x$LINE" != x ; then
8272 eval "DEFAULT_$LINE"
8277 ac_cv_use_webkit='wxUSE_WEBKIT='$DEFAULT_wxUSE_WEBKIT
8282 eval "$ac_cv_use_webkit"
8283 if test "$no_cache" != 1; then
8284 echo $ac_cv_use_webkit >> ${wx_arg_cache_file}.tmp
8287 if test "$wxUSE_WEBKIT" = yes; then
8288 { echo "$as_me:$LINENO: result: yes" >&5
8289 echo "${ECHO_T}yes" >&6; }
8291 { echo "$as_me:$LINENO: result: no" >&5
8292 echo "${ECHO_T}no" >&6; }
8297 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-richtext" >&5
8298 echo $ECHO_N "checking for --${enablestring:-enable}-richtext... $ECHO_C" >&6; }
8300 # Check whether --enable-richtext was given.
8301 if test "${enable_richtext+set}" = set; then
8302 enableval=$enable_richtext;
8303 if test "$enableval" = yes; then
8304 ac_cv_use_richtext='wxUSE_RICHTEXT=yes'
8306 ac_cv_use_richtext='wxUSE_RICHTEXT=no'
8311 LINE=`grep "wxUSE_RICHTEXT" ${wx_arg_cache_file}`
8312 if test "x$LINE" != x ; then
8313 eval "DEFAULT_$LINE"
8318 ac_cv_use_richtext='wxUSE_RICHTEXT='$DEFAULT_wxUSE_RICHTEXT
8323 eval "$ac_cv_use_richtext"
8324 if test "$no_cache" != 1; then
8325 echo $ac_cv_use_richtext >> ${wx_arg_cache_file}.tmp
8328 if test "$wxUSE_RICHTEXT" = yes; then
8329 { echo "$as_me:$LINENO: result: yes" >&5
8330 echo "${ECHO_T}yes" >&6; }
8332 { echo "$as_me:$LINENO: result: no" >&5
8333 echo "${ECHO_T}no" >&6; }
8338 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-graphics_ctx" >&5
8339 echo $ECHO_N "checking for --${enablestring:-enable}-graphics_ctx... $ECHO_C" >&6; }
8341 # Check whether --enable-graphics_ctx was given.
8342 if test "${enable_graphics_ctx+set}" = set; then
8343 enableval=$enable_graphics_ctx;
8344 if test "$enableval" = yes; then
8345 ac_cv_use_graphics_ctx='wxUSE_GRAPHICS_CONTEXT=yes'
8347 ac_cv_use_graphics_ctx='wxUSE_GRAPHICS_CONTEXT=no'
8352 LINE=`grep "wxUSE_GRAPHICS_CONTEXT" ${wx_arg_cache_file}`
8353 if test "x$LINE" != x ; then
8354 eval "DEFAULT_$LINE"
8359 ac_cv_use_graphics_ctx='wxUSE_GRAPHICS_CONTEXT='$DEFAULT_wxUSE_GRAPHICS_CONTEXT
8364 eval "$ac_cv_use_graphics_ctx"
8365 if test "$no_cache" != 1; then
8366 echo $ac_cv_use_graphics_ctx >> ${wx_arg_cache_file}.tmp
8369 if test "$wxUSE_GRAPHICS_CONTEXT" = yes; then
8370 { echo "$as_me:$LINENO: result: yes" >&5
8371 echo "${ECHO_T}yes" >&6; }
8373 { echo "$as_me:$LINENO: result: no" >&5
8374 echo "${ECHO_T}no" >&6; }
8380 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-postscript" >&5
8381 echo $ECHO_N "checking for --${enablestring:-enable}-postscript... $ECHO_C" >&6; }
8383 # Check whether --enable-postscript was given.
8384 if test "${enable_postscript+set}" = set; then
8385 enableval=$enable_postscript;
8386 if test "$enableval" = yes; then
8387 ac_cv_use_postscript='wxUSE_POSTSCRIPT=yes'
8389 ac_cv_use_postscript='wxUSE_POSTSCRIPT=no'
8394 LINE=`grep "wxUSE_POSTSCRIPT" ${wx_arg_cache_file}`
8395 if test "x$LINE" != x ; then
8396 eval "DEFAULT_$LINE"
8401 ac_cv_use_postscript='wxUSE_POSTSCRIPT='$DEFAULT_wxUSE_POSTSCRIPT
8406 eval "$ac_cv_use_postscript"
8407 if test "$no_cache" != 1; then
8408 echo $ac_cv_use_postscript >> ${wx_arg_cache_file}.tmp
8411 if test "$wxUSE_POSTSCRIPT" = yes; then
8412 { echo "$as_me:$LINENO: result: yes" >&5
8413 echo "${ECHO_T}yes" >&6; }
8415 { echo "$as_me:$LINENO: result: no" >&5
8416 echo "${ECHO_T}no" >&6; }
8424 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-prologio" >&5
8425 echo $ECHO_N "checking for --${enablestring:-enable}-prologio... $ECHO_C" >&6; }
8427 # Check whether --enable-prologio was given.
8428 if test "${enable_prologio+set}" = set; then
8429 enableval=$enable_prologio;
8430 if test "$enableval" = yes; then
8431 ac_cv_use_prologio='wxUSE_PROLOGIO=yes'
8433 ac_cv_use_prologio='wxUSE_PROLOGIO=no'
8438 LINE=`grep "wxUSE_PROLOGIO" ${wx_arg_cache_file}`
8439 if test "x$LINE" != x ; then
8440 eval "DEFAULT_$LINE"
8445 ac_cv_use_prologio='wxUSE_PROLOGIO='$DEFAULT_wxUSE_PROLOGIO
8450 eval "$ac_cv_use_prologio"
8451 if test "$no_cache" != 1; then
8452 echo $ac_cv_use_prologio >> ${wx_arg_cache_file}.tmp
8455 if test "$wxUSE_PROLOGIO" = yes; then
8456 { echo "$as_me:$LINENO: result: yes" >&5
8457 echo "${ECHO_T}yes" >&6; }
8459 { echo "$as_me:$LINENO: result: no" >&5
8460 echo "${ECHO_T}no" >&6; }
8465 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-resources" >&5
8466 echo $ECHO_N "checking for --${enablestring:-enable}-resources... $ECHO_C" >&6; }
8468 # Check whether --enable-resources was given.
8469 if test "${enable_resources+set}" = set; then
8470 enableval=$enable_resources;
8471 if test "$enableval" = yes; then
8472 ac_cv_use_resources='wxUSE_RESOURCES=yes'
8474 ac_cv_use_resources='wxUSE_RESOURCES=no'
8479 LINE=`grep "wxUSE_RESOURCES" ${wx_arg_cache_file}`
8480 if test "x$LINE" != x ; then
8481 eval "DEFAULT_$LINE"
8486 ac_cv_use_resources='wxUSE_RESOURCES='$DEFAULT_wxUSE_RESOURCES
8491 eval "$ac_cv_use_resources"
8492 if test "$no_cache" != 1; then
8493 echo $ac_cv_use_resources >> ${wx_arg_cache_file}.tmp
8496 if test "$wxUSE_RESOURCES" = yes; then
8497 { echo "$as_me:$LINENO: result: yes" >&5
8498 echo "${ECHO_T}yes" >&6; }
8500 { echo "$as_me:$LINENO: result: no" >&5
8501 echo "${ECHO_T}no" >&6; }
8508 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-clipboard" >&5
8509 echo $ECHO_N "checking for --${enablestring:-enable}-clipboard... $ECHO_C" >&6; }
8511 # Check whether --enable-clipboard was given.
8512 if test "${enable_clipboard+set}" = set; then
8513 enableval=$enable_clipboard;
8514 if test "$enableval" = yes; then
8515 ac_cv_use_clipboard='wxUSE_CLIPBOARD=yes'
8517 ac_cv_use_clipboard='wxUSE_CLIPBOARD=no'
8522 LINE=`grep "wxUSE_CLIPBOARD" ${wx_arg_cache_file}`
8523 if test "x$LINE" != x ; then
8524 eval "DEFAULT_$LINE"
8529 ac_cv_use_clipboard='wxUSE_CLIPBOARD='$DEFAULT_wxUSE_CLIPBOARD
8534 eval "$ac_cv_use_clipboard"
8535 if test "$no_cache" != 1; then
8536 echo $ac_cv_use_clipboard >> ${wx_arg_cache_file}.tmp
8539 if test "$wxUSE_CLIPBOARD" = yes; then
8540 { echo "$as_me:$LINENO: result: yes" >&5
8541 echo "${ECHO_T}yes" >&6; }
8543 { echo "$as_me:$LINENO: result: no" >&5
8544 echo "${ECHO_T}no" >&6; }
8549 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dnd" >&5
8550 echo $ECHO_N "checking for --${enablestring:-enable}-dnd... $ECHO_C" >&6; }
8552 # Check whether --enable-dnd was given.
8553 if test "${enable_dnd+set}" = set; then
8554 enableval=$enable_dnd;
8555 if test "$enableval" = yes; then
8556 ac_cv_use_dnd='wxUSE_DRAG_AND_DROP=yes'
8558 ac_cv_use_dnd='wxUSE_DRAG_AND_DROP=no'
8563 LINE=`grep "wxUSE_DRAG_AND_DROP" ${wx_arg_cache_file}`
8564 if test "x$LINE" != x ; then
8565 eval "DEFAULT_$LINE"
8570 ac_cv_use_dnd='wxUSE_DRAG_AND_DROP='$DEFAULT_wxUSE_DRAG_AND_DROP
8575 eval "$ac_cv_use_dnd"
8576 if test "$no_cache" != 1; then
8577 echo $ac_cv_use_dnd >> ${wx_arg_cache_file}.tmp
8580 if test "$wxUSE_DRAG_AND_DROP" = yes; then
8581 { echo "$as_me:$LINENO: result: yes" >&5
8582 echo "${ECHO_T}yes" >&6; }
8584 { echo "$as_me:$LINENO: result: no" >&5
8585 echo "${ECHO_T}no" >&6; }
8590 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
8591 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6; }
8593 # Check whether --enable-metafile was given.
8594 if test "${enable_metafile+set}" = set; then
8595 enableval=$enable_metafile;
8596 if test "$enableval" = yes; then
8597 ac_cv_use_metafile='wxUSE_METAFILE=yes'
8599 ac_cv_use_metafile='wxUSE_METAFILE=no'
8604 LINE=`grep "wxUSE_METAFILE" ${wx_arg_cache_file}`
8605 if test "x$LINE" != x ; then
8606 eval "DEFAULT_$LINE"
8611 ac_cv_use_metafile='wxUSE_METAFILE='$DEFAULT_wxUSE_METAFILE
8616 eval "$ac_cv_use_metafile"
8617 if test "$no_cache" != 1; then
8618 echo $ac_cv_use_metafile >> ${wx_arg_cache_file}.tmp
8621 if test "$wxUSE_METAFILE" = yes; then
8622 { echo "$as_me:$LINENO: result: yes" >&5
8623 echo "${ECHO_T}yes" >&6; }
8625 { echo "$as_me:$LINENO: result: no" >&5
8626 echo "${ECHO_T}no" >&6; }
8634 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-controls" >&5
8635 echo $ECHO_N "checking for --${enablestring:-enable}-controls... $ECHO_C" >&6; }
8637 # Check whether --enable-controls was given.
8638 if test "${enable_controls+set}" = set; then
8639 enableval=$enable_controls;
8640 if test "$enableval" = yes; then
8641 ac_cv_use_controls='wxUSE_CONTROLS=yes'
8643 ac_cv_use_controls='wxUSE_CONTROLS=no'
8648 LINE=`grep "wxUSE_CONTROLS" ${wx_arg_cache_file}`
8649 if test "x$LINE" != x ; then
8650 eval "DEFAULT_$LINE"
8655 ac_cv_use_controls='wxUSE_CONTROLS='$DEFAULT_wxUSE_CONTROLS
8660 eval "$ac_cv_use_controls"
8661 if test "$no_cache" != 1; then
8662 echo $ac_cv_use_controls >> ${wx_arg_cache_file}.tmp
8665 if test "$wxUSE_CONTROLS" = yes; then
8666 { echo "$as_me:$LINENO: result: yes" >&5
8667 echo "${ECHO_T}yes" >&6; }
8669 { echo "$as_me:$LINENO: result: no" >&5
8670 echo "${ECHO_T}no" >&6; }
8674 if test "$wxUSE_CONTROLS" = "yes"; then
8675 DEFAULT_wxUSE_ACCEL=yes
8676 DEFAULT_wxUSE_ANIMATIONCTRL=yes
8677 DEFAULT_wxUSE_BMPBUTTON=yes
8678 DEFAULT_wxUSE_BUTTON=yes
8679 DEFAULT_wxUSE_CALCTRL=yes
8680 DEFAULT_wxUSE_CARET=yes
8681 DEFAULT_wxUSE_COMBOBOX=yes
8682 DEFAULT_wxUSE_CHECKBOX=yes
8683 DEFAULT_wxUSE_CHECKLISTBOX=yes
8684 DEFAULT_wxUSE_CHOICE=yes
8685 DEFAULT_wxUSE_CHOICEBOOK=yes
8686 DEFAULT_wxUSE_COLLPANE=yes
8687 DEFAULT_wxUSE_COLOURPICKERCTRL=yes
8688 DEFAULT_wxUSE_COMBOBOX=yes
8689 DEFAULT_wxUSE_DATEPICKCTRL=yes
8690 DEFAULT_wxUSE_DISPLAY=yes
8691 DEFAULT_wxUSE_DETECT_SM=yes
8692 DEFAULT_wxUSE_DIRPICKERCTRL=yes
8693 DEFAULT_wxUSE_FILEPICKERCTRL=yes
8694 DEFAULT_wxUSE_FONTPICKERCTRL=yes
8695 DEFAULT_wxUSE_GAUGE=yes
8696 DEFAULT_wxUSE_GRID=yes
8697 DEFAULT_wxUSE_HYPERLINKCTRL=yes
8698 DEFAULT_wxUSE_DATAVIEWCTRL=no
8699 DEFAULT_wxUSE_IMAGLIST=yes
8700 DEFAULT_wxUSE_LISTBOOK=yes
8701 DEFAULT_wxUSE_LISTBOX=yes
8702 DEFAULT_wxUSE_LISTCTRL=yes
8703 DEFAULT_wxUSE_NOTEBOOK=yes
8704 DEFAULT_wxUSE_RADIOBOX=yes
8705 DEFAULT_wxUSE_RADIOBTN=yes
8706 DEFAULT_wxUSE_SASH=yes
8707 DEFAULT_wxUSE_SCROLLBAR=yes
8708 DEFAULT_wxUSE_SEARCHCTRL=yes
8709 DEFAULT_wxUSE_SLIDER=yes
8710 DEFAULT_wxUSE_SPINBTN=yes
8711 DEFAULT_wxUSE_SPINCTRL=yes
8712 DEFAULT_wxUSE_SPLITTER=yes
8713 DEFAULT_wxUSE_STATBMP=yes
8714 DEFAULT_wxUSE_STATBOX=yes
8715 DEFAULT_wxUSE_STATLINE=yes
8716 DEFAULT_wxUSE_STATUSBAR=yes
8717 DEFAULT_wxUSE_TAB_DIALOG=yes
8718 DEFAULT_wxUSE_TOGGLEBTN=yes
8719 DEFAULT_wxUSE_TOOLBAR=yes
8720 DEFAULT_wxUSE_TOOLBAR_NATIVE=yes
8721 DEFAULT_wxUSE_TOOLTIPS=yes
8722 DEFAULT_wxUSE_TREEBOOK=yes
8723 DEFAULT_wxUSE_TOOLBOOK=yes
8724 DEFAULT_wxUSE_TREECTRL=yes
8725 DEFAULT_wxUSE_POPUPWIN=yes
8726 DEFAULT_wxUSE_TIPWINDOW=yes
8727 elif test "$wxUSE_CONTROLS" = "no"; then
8728 DEFAULT_wxUSE_ACCEL=no
8729 DEFAULT_wxUSE_ANIMATIONCTRL=no
8730 DEFAULT_wxUSE_BMPBUTTON=no
8731 DEFAULT_wxUSE_BUTTON=no
8732 DEFAULT_wxUSE_CALCTRL=no
8733 DEFAULT_wxUSE_CARET=no
8734 DEFAULT_wxUSE_COLLPANE=no
8735 DEFAULT_wxUSE_COMBOBOX=no
8736 DEFAULT_wxUSE_CHECKBOX=no
8737 DEFAULT_wxUSE_CHECKLISTBOX=no
8738 DEFAULT_wxUSE_CHOICE=no
8739 DEFAULT_wxUSE_CHOICEBOOK=no
8740 DEFAULT_wxUSE_COLOURPICKERCTRL=no
8741 DEFAULT_wxUSE_COMBOBOX=no
8742 DEFAULT_wxUSE_DATEPICKCTRL=no
8743 DEFAULT_wxUSE_DISPLAY=no
8744 DEFAULT_wxUSE_DETECT_SM=no
8745 DEFAULT_wxUSE_DIRPICKERCTRL=no
8746 DEFAULT_wxUSE_FILEPICKERCTRL=no
8747 DEFAULT_wxUSE_FONTPICKERCTRL=no
8748 DEFAULT_wxUSE_GAUGE=no
8749 DEFAULT_wxUSE_GRID=no
8750 DEFAULT_wxUSE_HYPERLINKCTRL=no
8751 DEFAULT_wxUSE_DATAVIEWCTRL=no
8752 DEFAULT_wxUSE_IMAGLIST=no
8753 DEFAULT_wxUSE_LISTBOOK=no
8754 DEFAULT_wxUSE_LISTBOX=no
8755 DEFAULT_wxUSE_LISTCTRL=no
8756 DEFAULT_wxUSE_NOTEBOOK=no
8757 DEFAULT_wxUSE_RADIOBOX=no
8758 DEFAULT_wxUSE_RADIOBTN=no
8759 DEFAULT_wxUSE_SASH=no
8760 DEFAULT_wxUSE_SCROLLBAR=no
8761 DEFAULT_wxUSE_SEARCHCTRL=no
8762 DEFAULT_wxUSE_SLIDER=no
8763 DEFAULT_wxUSE_SPINBTN=no
8764 DEFAULT_wxUSE_SPINCTRL=no
8765 DEFAULT_wxUSE_SPLITTER=no
8766 DEFAULT_wxUSE_STATBMP=no
8767 DEFAULT_wxUSE_STATBOX=no
8768 DEFAULT_wxUSE_STATLINE=no
8769 DEFAULT_wxUSE_STATUSBAR=no
8770 DEFAULT_wxUSE_TAB_DIALOG=no
8771 DEFAULT_wxUSE_TOGGLEBTN=no
8772 DEFAULT_wxUSE_TOOLBAR=no
8773 DEFAULT_wxUSE_TOOLBAR_NATIVE=no
8774 DEFAULT_wxUSE_TOOLTIPS=no
8775 DEFAULT_wxUSE_TREEBOOK=no
8776 DEFAULT_wxUSE_TOOLBOOK=no
8777 DEFAULT_wxUSE_TREECTRL=no
8778 DEFAULT_wxUSE_POPUPWIN=no
8779 DEFAULT_wxUSE_TIPWINDOW=no
8784 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accel" >&5
8785 echo $ECHO_N "checking for --${enablestring:-enable}-accel... $ECHO_C" >&6; }
8787 # Check whether --enable-accel was given.
8788 if test "${enable_accel+set}" = set; then
8789 enableval=$enable_accel;
8790 if test "$enableval" = yes; then
8791 ac_cv_use_accel='wxUSE_ACCEL=yes'
8793 ac_cv_use_accel='wxUSE_ACCEL=no'
8798 LINE=`grep "wxUSE_ACCEL" ${wx_arg_cache_file}`
8799 if test "x$LINE" != x ; then
8800 eval "DEFAULT_$LINE"
8805 ac_cv_use_accel='wxUSE_ACCEL='$DEFAULT_wxUSE_ACCEL
8810 eval "$ac_cv_use_accel"
8811 if test "$no_cache" != 1; then
8812 echo $ac_cv_use_accel >> ${wx_arg_cache_file}.tmp
8815 if test "$wxUSE_ACCEL" = yes; then
8816 { echo "$as_me:$LINENO: result: yes" >&5
8817 echo "${ECHO_T}yes" >&6; }
8819 { echo "$as_me:$LINENO: result: no" >&5
8820 echo "${ECHO_T}no" >&6; }
8825 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-animatectrl" >&5
8826 echo $ECHO_N "checking for --${enablestring:-enable}-animatectrl... $ECHO_C" >&6; }
8828 # Check whether --enable-animatectrl was given.
8829 if test "${enable_animatectrl+set}" = set; then
8830 enableval=$enable_animatectrl;
8831 if test "$enableval" = yes; then
8832 ac_cv_use_animatectrl='wxUSE_ANIMATIONCTRL=yes'
8834 ac_cv_use_animatectrl='wxUSE_ANIMATIONCTRL=no'
8839 LINE=`grep "wxUSE_ANIMATIONCTRL" ${wx_arg_cache_file}`
8840 if test "x$LINE" != x ; then
8841 eval "DEFAULT_$LINE"
8846 ac_cv_use_animatectrl='wxUSE_ANIMATIONCTRL='$DEFAULT_wxUSE_ANIMATIONCTRL
8851 eval "$ac_cv_use_animatectrl"
8852 if test "$no_cache" != 1; then
8853 echo $ac_cv_use_animatectrl >> ${wx_arg_cache_file}.tmp
8856 if test "$wxUSE_ANIMATIONCTRL" = yes; then
8857 { echo "$as_me:$LINENO: result: yes" >&5
8858 echo "${ECHO_T}yes" >&6; }
8860 { echo "$as_me:$LINENO: result: no" >&5
8861 echo "${ECHO_T}no" >&6; }
8866 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-button" >&5
8867 echo $ECHO_N "checking for --${enablestring:-enable}-button... $ECHO_C" >&6; }
8869 # Check whether --enable-button was given.
8870 if test "${enable_button+set}" = set; then
8871 enableval=$enable_button;
8872 if test "$enableval" = yes; then
8873 ac_cv_use_button='wxUSE_BUTTON=yes'
8875 ac_cv_use_button='wxUSE_BUTTON=no'
8880 LINE=`grep "wxUSE_BUTTON" ${wx_arg_cache_file}`
8881 if test "x$LINE" != x ; then
8882 eval "DEFAULT_$LINE"
8887 ac_cv_use_button='wxUSE_BUTTON='$DEFAULT_wxUSE_BUTTON
8892 eval "$ac_cv_use_button"
8893 if test "$no_cache" != 1; then
8894 echo $ac_cv_use_button >> ${wx_arg_cache_file}.tmp
8897 if test "$wxUSE_BUTTON" = yes; then
8898 { echo "$as_me:$LINENO: result: yes" >&5
8899 echo "${ECHO_T}yes" >&6; }
8901 { echo "$as_me:$LINENO: result: no" >&5
8902 echo "${ECHO_T}no" >&6; }
8907 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-bmpbutton" >&5
8908 echo $ECHO_N "checking for --${enablestring:-enable}-bmpbutton... $ECHO_C" >&6; }
8910 # Check whether --enable-bmpbutton was given.
8911 if test "${enable_bmpbutton+set}" = set; then
8912 enableval=$enable_bmpbutton;
8913 if test "$enableval" = yes; then
8914 ac_cv_use_bmpbutton='wxUSE_BMPBUTTON=yes'
8916 ac_cv_use_bmpbutton='wxUSE_BMPBUTTON=no'
8921 LINE=`grep "wxUSE_BMPBUTTON" ${wx_arg_cache_file}`
8922 if test "x$LINE" != x ; then
8923 eval "DEFAULT_$LINE"
8928 ac_cv_use_bmpbutton='wxUSE_BMPBUTTON='$DEFAULT_wxUSE_BMPBUTTON
8933 eval "$ac_cv_use_bmpbutton"
8934 if test "$no_cache" != 1; then
8935 echo $ac_cv_use_bmpbutton >> ${wx_arg_cache_file}.tmp
8938 if test "$wxUSE_BMPBUTTON" = yes; then
8939 { echo "$as_me:$LINENO: result: yes" >&5
8940 echo "${ECHO_T}yes" >&6; }
8942 { echo "$as_me:$LINENO: result: no" >&5
8943 echo "${ECHO_T}no" >&6; }
8948 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-bmpcombobox" >&5
8949 echo $ECHO_N "checking for --${enablestring:-enable}-bmpcombobox... $ECHO_C" >&6; }
8951 # Check whether --enable-bmpcombobox was given.
8952 if test "${enable_bmpcombobox+set}" = set; then
8953 enableval=$enable_bmpcombobox;
8954 if test "$enableval" = yes; then
8955 ac_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX=yes'
8957 ac_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX=no'
8962 LINE=`grep "wxUSE_BITMAPCOMBOBOX" ${wx_arg_cache_file}`
8963 if test "x$LINE" != x ; then
8964 eval "DEFAULT_$LINE"
8969 ac_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX='$DEFAULT_wxUSE_BITMAPCOMBOBOX
8974 eval "$ac_cv_use_bmpcombobox"
8975 if test "$no_cache" != 1; then
8976 echo $ac_cv_use_bmpcombobox >> ${wx_arg_cache_file}.tmp
8979 if test "$wxUSE_BITMAPCOMBOBOX" = yes; then
8980 { echo "$as_me:$LINENO: result: yes" >&5
8981 echo "${ECHO_T}yes" >&6; }
8983 { echo "$as_me:$LINENO: result: no" >&5
8984 echo "${ECHO_T}no" >&6; }
8989 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-calendar" >&5
8990 echo $ECHO_N "checking for --${enablestring:-enable}-calendar... $ECHO_C" >&6; }
8992 # Check whether --enable-calendar was given.
8993 if test "${enable_calendar+set}" = set; then
8994 enableval=$enable_calendar;
8995 if test "$enableval" = yes; then
8996 ac_cv_use_calendar='wxUSE_CALCTRL=yes'
8998 ac_cv_use_calendar='wxUSE_CALCTRL=no'
9003 LINE=`grep "wxUSE_CALCTRL" ${wx_arg_cache_file}`
9004 if test "x$LINE" != x ; then
9005 eval "DEFAULT_$LINE"
9010 ac_cv_use_calendar='wxUSE_CALCTRL='$DEFAULT_wxUSE_CALCTRL
9015 eval "$ac_cv_use_calendar"
9016 if test "$no_cache" != 1; then
9017 echo $ac_cv_use_calendar >> ${wx_arg_cache_file}.tmp
9020 if test "$wxUSE_CALCTRL" = yes; then
9021 { echo "$as_me:$LINENO: result: yes" >&5
9022 echo "${ECHO_T}yes" >&6; }
9024 { echo "$as_me:$LINENO: result: no" >&5
9025 echo "${ECHO_T}no" >&6; }
9030 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-caret" >&5
9031 echo $ECHO_N "checking for --${enablestring:-enable}-caret... $ECHO_C" >&6; }
9033 # Check whether --enable-caret was given.
9034 if test "${enable_caret+set}" = set; then
9035 enableval=$enable_caret;
9036 if test "$enableval" = yes; then
9037 ac_cv_use_caret='wxUSE_CARET=yes'
9039 ac_cv_use_caret='wxUSE_CARET=no'
9044 LINE=`grep "wxUSE_CARET" ${wx_arg_cache_file}`
9045 if test "x$LINE" != x ; then
9046 eval "DEFAULT_$LINE"
9051 ac_cv_use_caret='wxUSE_CARET='$DEFAULT_wxUSE_CARET
9056 eval "$ac_cv_use_caret"
9057 if test "$no_cache" != 1; then
9058 echo $ac_cv_use_caret >> ${wx_arg_cache_file}.tmp
9061 if test "$wxUSE_CARET" = yes; then
9062 { echo "$as_me:$LINENO: result: yes" >&5
9063 echo "${ECHO_T}yes" >&6; }
9065 { echo "$as_me:$LINENO: result: no" >&5
9066 echo "${ECHO_T}no" >&6; }
9071 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checkbox" >&5
9072 echo $ECHO_N "checking for --${enablestring:-enable}-checkbox... $ECHO_C" >&6; }
9074 # Check whether --enable-checkbox was given.
9075 if test "${enable_checkbox+set}" = set; then
9076 enableval=$enable_checkbox;
9077 if test "$enableval" = yes; then
9078 ac_cv_use_checkbox='wxUSE_CHECKBOX=yes'
9080 ac_cv_use_checkbox='wxUSE_CHECKBOX=no'
9085 LINE=`grep "wxUSE_CHECKBOX" ${wx_arg_cache_file}`
9086 if test "x$LINE" != x ; then
9087 eval "DEFAULT_$LINE"
9092 ac_cv_use_checkbox='wxUSE_CHECKBOX='$DEFAULT_wxUSE_CHECKBOX
9097 eval "$ac_cv_use_checkbox"
9098 if test "$no_cache" != 1; then
9099 echo $ac_cv_use_checkbox >> ${wx_arg_cache_file}.tmp
9102 if test "$wxUSE_CHECKBOX" = yes; then
9103 { echo "$as_me:$LINENO: result: yes" >&5
9104 echo "${ECHO_T}yes" >&6; }
9106 { echo "$as_me:$LINENO: result: no" >&5
9107 echo "${ECHO_T}no" >&6; }
9112 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checklst" >&5
9113 echo $ECHO_N "checking for --${enablestring:-enable}-checklst... $ECHO_C" >&6; }
9115 # Check whether --enable-checklst was given.
9116 if test "${enable_checklst+set}" = set; then
9117 enableval=$enable_checklst;
9118 if test "$enableval" = yes; then
9119 ac_cv_use_checklst='wxUSE_CHECKLST=yes'
9121 ac_cv_use_checklst='wxUSE_CHECKLST=no'
9126 LINE=`grep "wxUSE_CHECKLST" ${wx_arg_cache_file}`
9127 if test "x$LINE" != x ; then
9128 eval "DEFAULT_$LINE"
9133 ac_cv_use_checklst='wxUSE_CHECKLST='$DEFAULT_wxUSE_CHECKLST
9138 eval "$ac_cv_use_checklst"
9139 if test "$no_cache" != 1; then
9140 echo $ac_cv_use_checklst >> ${wx_arg_cache_file}.tmp
9143 if test "$wxUSE_CHECKLST" = yes; then
9144 { echo "$as_me:$LINENO: result: yes" >&5
9145 echo "${ECHO_T}yes" >&6; }
9147 { echo "$as_me:$LINENO: result: no" >&5
9148 echo "${ECHO_T}no" >&6; }
9153 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choice" >&5
9154 echo $ECHO_N "checking for --${enablestring:-enable}-choice... $ECHO_C" >&6; }
9156 # Check whether --enable-choice was given.
9157 if test "${enable_choice+set}" = set; then
9158 enableval=$enable_choice;
9159 if test "$enableval" = yes; then
9160 ac_cv_use_choice='wxUSE_CHOICE=yes'
9162 ac_cv_use_choice='wxUSE_CHOICE=no'
9167 LINE=`grep "wxUSE_CHOICE" ${wx_arg_cache_file}`
9168 if test "x$LINE" != x ; then
9169 eval "DEFAULT_$LINE"
9174 ac_cv_use_choice='wxUSE_CHOICE='$DEFAULT_wxUSE_CHOICE
9179 eval "$ac_cv_use_choice"
9180 if test "$no_cache" != 1; then
9181 echo $ac_cv_use_choice >> ${wx_arg_cache_file}.tmp
9184 if test "$wxUSE_CHOICE" = yes; then
9185 { echo "$as_me:$LINENO: result: yes" >&5
9186 echo "${ECHO_T}yes" >&6; }
9188 { echo "$as_me:$LINENO: result: no" >&5
9189 echo "${ECHO_T}no" >&6; }
9194 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choicebook" >&5
9195 echo $ECHO_N "checking for --${enablestring:-enable}-choicebook... $ECHO_C" >&6; }
9197 # Check whether --enable-choicebook was given.
9198 if test "${enable_choicebook+set}" = set; then
9199 enableval=$enable_choicebook;
9200 if test "$enableval" = yes; then
9201 ac_cv_use_choicebook='wxUSE_CHOICEBOOK=yes'
9203 ac_cv_use_choicebook='wxUSE_CHOICEBOOK=no'
9208 LINE=`grep "wxUSE_CHOICEBOOK" ${wx_arg_cache_file}`
9209 if test "x$LINE" != x ; then
9210 eval "DEFAULT_$LINE"
9215 ac_cv_use_choicebook='wxUSE_CHOICEBOOK='$DEFAULT_wxUSE_CHOICEBOOK
9220 eval "$ac_cv_use_choicebook"
9221 if test "$no_cache" != 1; then
9222 echo $ac_cv_use_choicebook >> ${wx_arg_cache_file}.tmp
9225 if test "$wxUSE_CHOICEBOOK" = yes; then
9226 { echo "$as_me:$LINENO: result: yes" >&5
9227 echo "${ECHO_T}yes" >&6; }
9229 { echo "$as_me:$LINENO: result: no" >&5
9230 echo "${ECHO_T}no" >&6; }
9235 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-collpane" >&5
9236 echo $ECHO_N "checking for --${enablestring:-enable}-collpane... $ECHO_C" >&6; }
9238 # Check whether --enable-collpane was given.
9239 if test "${enable_collpane+set}" = set; then
9240 enableval=$enable_collpane;
9241 if test "$enableval" = yes; then
9242 ac_cv_use_collpane='wxUSE_COLLPANE=yes'
9244 ac_cv_use_collpane='wxUSE_COLLPANE=no'
9249 LINE=`grep "wxUSE_COLLPANE" ${wx_arg_cache_file}`
9250 if test "x$LINE" != x ; then
9251 eval "DEFAULT_$LINE"
9256 ac_cv_use_collpane='wxUSE_COLLPANE='$DEFAULT_wxUSE_COLLPANE
9261 eval "$ac_cv_use_collpane"
9262 if test "$no_cache" != 1; then
9263 echo $ac_cv_use_collpane >> ${wx_arg_cache_file}.tmp
9266 if test "$wxUSE_COLLPANE" = yes; then
9267 { echo "$as_me:$LINENO: result: yes" >&5
9268 echo "${ECHO_T}yes" >&6; }
9270 { echo "$as_me:$LINENO: result: no" >&5
9271 echo "${ECHO_T}no" >&6; }
9276 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-colourpicker" >&5
9277 echo $ECHO_N "checking for --${enablestring:-enable}-colourpicker... $ECHO_C" >&6; }
9279 # Check whether --enable-colourpicker was given.
9280 if test "${enable_colourpicker+set}" = set; then
9281 enableval=$enable_colourpicker;
9282 if test "$enableval" = yes; then
9283 ac_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL=yes'
9285 ac_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL=no'
9290 LINE=`grep "wxUSE_COLOURPICKERCTRL" ${wx_arg_cache_file}`
9291 if test "x$LINE" != x ; then
9292 eval "DEFAULT_$LINE"
9297 ac_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL='$DEFAULT_wxUSE_COLOURPICKERCTRL
9302 eval "$ac_cv_use_colourpicker"
9303 if test "$no_cache" != 1; then
9304 echo $ac_cv_use_colourpicker >> ${wx_arg_cache_file}.tmp
9307 if test "$wxUSE_COLOURPICKERCTRL" = yes; then
9308 { echo "$as_me:$LINENO: result: yes" >&5
9309 echo "${ECHO_T}yes" >&6; }
9311 { echo "$as_me:$LINENO: result: no" >&5
9312 echo "${ECHO_T}no" >&6; }
9317 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-combobox" >&5
9318 echo $ECHO_N "checking for --${enablestring:-enable}-combobox... $ECHO_C" >&6; }
9320 # Check whether --enable-combobox was given.
9321 if test "${enable_combobox+set}" = set; then
9322 enableval=$enable_combobox;
9323 if test "$enableval" = yes; then
9324 ac_cv_use_combobox='wxUSE_COMBOBOX=yes'
9326 ac_cv_use_combobox='wxUSE_COMBOBOX=no'
9331 LINE=`grep "wxUSE_COMBOBOX" ${wx_arg_cache_file}`
9332 if test "x$LINE" != x ; then
9333 eval "DEFAULT_$LINE"
9338 ac_cv_use_combobox='wxUSE_COMBOBOX='$DEFAULT_wxUSE_COMBOBOX
9343 eval "$ac_cv_use_combobox"
9344 if test "$no_cache" != 1; then
9345 echo $ac_cv_use_combobox >> ${wx_arg_cache_file}.tmp
9348 if test "$wxUSE_COMBOBOX" = yes; then
9349 { echo "$as_me:$LINENO: result: yes" >&5
9350 echo "${ECHO_T}yes" >&6; }
9352 { echo "$as_me:$LINENO: result: no" >&5
9353 echo "${ECHO_T}no" >&6; }
9358 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-comboctrl" >&5
9359 echo $ECHO_N "checking for --${enablestring:-enable}-comboctrl... $ECHO_C" >&6; }
9361 # Check whether --enable-comboctrl was given.
9362 if test "${enable_comboctrl+set}" = set; then
9363 enableval=$enable_comboctrl;
9364 if test "$enableval" = yes; then
9365 ac_cv_use_comboctrl='wxUSE_COMBOCTRL=yes'
9367 ac_cv_use_comboctrl='wxUSE_COMBOCTRL=no'
9372 LINE=`grep "wxUSE_COMBOCTRL" ${wx_arg_cache_file}`
9373 if test "x$LINE" != x ; then
9374 eval "DEFAULT_$LINE"
9379 ac_cv_use_comboctrl='wxUSE_COMBOCTRL='$DEFAULT_wxUSE_COMBOCTRL
9384 eval "$ac_cv_use_comboctrl"
9385 if test "$no_cache" != 1; then
9386 echo $ac_cv_use_comboctrl >> ${wx_arg_cache_file}.tmp
9389 if test "$wxUSE_COMBOCTRL" = yes; then
9390 { echo "$as_me:$LINENO: result: yes" >&5
9391 echo "${ECHO_T}yes" >&6; }
9393 { echo "$as_me:$LINENO: result: no" >&5
9394 echo "${ECHO_T}no" >&6; }
9399 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-datepick" >&5
9400 echo $ECHO_N "checking for --${enablestring:-enable}-datepick... $ECHO_C" >&6; }
9402 # Check whether --enable-datepick was given.
9403 if test "${enable_datepick+set}" = set; then
9404 enableval=$enable_datepick;
9405 if test "$enableval" = yes; then
9406 ac_cv_use_datepick='wxUSE_DATEPICKCTRL=yes'
9408 ac_cv_use_datepick='wxUSE_DATEPICKCTRL=no'
9413 LINE=`grep "wxUSE_DATEPICKCTRL" ${wx_arg_cache_file}`
9414 if test "x$LINE" != x ; then
9415 eval "DEFAULT_$LINE"
9420 ac_cv_use_datepick='wxUSE_DATEPICKCTRL='$DEFAULT_wxUSE_DATEPICKCTRL
9425 eval "$ac_cv_use_datepick"
9426 if test "$no_cache" != 1; then
9427 echo $ac_cv_use_datepick >> ${wx_arg_cache_file}.tmp
9430 if test "$wxUSE_DATEPICKCTRL" = yes; then
9431 { echo "$as_me:$LINENO: result: yes" >&5
9432 echo "${ECHO_T}yes" >&6; }
9434 { echo "$as_me:$LINENO: result: no" >&5
9435 echo "${ECHO_T}no" >&6; }
9440 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dirpicker" >&5
9441 echo $ECHO_N "checking for --${enablestring:-enable}-dirpicker... $ECHO_C" >&6; }
9443 # Check whether --enable-dirpicker was given.
9444 if test "${enable_dirpicker+set}" = set; then
9445 enableval=$enable_dirpicker;
9446 if test "$enableval" = yes; then
9447 ac_cv_use_dirpicker='wxUSE_DIRPICKERCTRL=yes'
9449 ac_cv_use_dirpicker='wxUSE_DIRPICKERCTRL=no'
9454 LINE=`grep "wxUSE_DIRPICKERCTRL" ${wx_arg_cache_file}`
9455 if test "x$LINE" != x ; then
9456 eval "DEFAULT_$LINE"
9461 ac_cv_use_dirpicker='wxUSE_DIRPICKERCTRL='$DEFAULT_wxUSE_DIRPICKERCTRL
9466 eval "$ac_cv_use_dirpicker"
9467 if test "$no_cache" != 1; then
9468 echo $ac_cv_use_dirpicker >> ${wx_arg_cache_file}.tmp
9471 if test "$wxUSE_DIRPICKERCTRL" = yes; then
9472 { echo "$as_me:$LINENO: result: yes" >&5
9473 echo "${ECHO_T}yes" >&6; }
9475 { echo "$as_me:$LINENO: result: no" >&5
9476 echo "${ECHO_T}no" >&6; }
9481 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-display" >&5
9482 echo $ECHO_N "checking for --${enablestring:-enable}-display... $ECHO_C" >&6; }
9484 # Check whether --enable-display was given.
9485 if test "${enable_display+set}" = set; then
9486 enableval=$enable_display;
9487 if test "$enableval" = yes; then
9488 ac_cv_use_display='wxUSE_DISPLAY=yes'
9490 ac_cv_use_display='wxUSE_DISPLAY=no'
9495 LINE=`grep "wxUSE_DISPLAY" ${wx_arg_cache_file}`
9496 if test "x$LINE" != x ; then
9497 eval "DEFAULT_$LINE"
9502 ac_cv_use_display='wxUSE_DISPLAY='$DEFAULT_wxUSE_DISPLAY
9507 eval "$ac_cv_use_display"
9508 if test "$no_cache" != 1; then
9509 echo $ac_cv_use_display >> ${wx_arg_cache_file}.tmp
9512 if test "$wxUSE_DISPLAY" = yes; then
9513 { echo "$as_me:$LINENO: result: yes" >&5
9514 echo "${ECHO_T}yes" >&6; }
9516 { echo "$as_me:$LINENO: result: no" >&5
9517 echo "${ECHO_T}no" >&6; }
9522 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-detect_sm" >&5
9523 echo $ECHO_N "checking for --${enablestring:-enable}-detect_sm... $ECHO_C" >&6; }
9525 # Check whether --enable-detect_sm was given.
9526 if test "${enable_detect_sm+set}" = set; then
9527 enableval=$enable_detect_sm;
9528 if test "$enableval" = yes; then
9529 ac_cv_use_detect_sm='wxUSE_DETECT_SM=yes'
9531 ac_cv_use_detect_sm='wxUSE_DETECT_SM=no'
9536 LINE=`grep "wxUSE_DETECT_SM" ${wx_arg_cache_file}`
9537 if test "x$LINE" != x ; then
9538 eval "DEFAULT_$LINE"
9543 ac_cv_use_detect_sm='wxUSE_DETECT_SM='$DEFAULT_wxUSE_DETECT_SM
9548 eval "$ac_cv_use_detect_sm"
9549 if test "$no_cache" != 1; then
9550 echo $ac_cv_use_detect_sm >> ${wx_arg_cache_file}.tmp
9553 if test "$wxUSE_DETECT_SM" = yes; then
9554 { echo "$as_me:$LINENO: result: yes" >&5
9555 echo "${ECHO_T}yes" >&6; }
9557 { echo "$as_me:$LINENO: result: no" >&5
9558 echo "${ECHO_T}no" >&6; }
9563 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filepicker" >&5
9564 echo $ECHO_N "checking for --${enablestring:-enable}-filepicker... $ECHO_C" >&6; }
9566 # Check whether --enable-filepicker was given.
9567 if test "${enable_filepicker+set}" = set; then
9568 enableval=$enable_filepicker;
9569 if test "$enableval" = yes; then
9570 ac_cv_use_filepicker='wxUSE_FILEPICKERCTRL=yes'
9572 ac_cv_use_filepicker='wxUSE_FILEPICKERCTRL=no'
9577 LINE=`grep "wxUSE_FILEPICKERCTRL" ${wx_arg_cache_file}`
9578 if test "x$LINE" != x ; then
9579 eval "DEFAULT_$LINE"
9584 ac_cv_use_filepicker='wxUSE_FILEPICKERCTRL='$DEFAULT_wxUSE_FILEPICKERCTRL
9589 eval "$ac_cv_use_filepicker"
9590 if test "$no_cache" != 1; then
9591 echo $ac_cv_use_filepicker >> ${wx_arg_cache_file}.tmp
9594 if test "$wxUSE_FILEPICKERCTRL" = yes; then
9595 { echo "$as_me:$LINENO: result: yes" >&5
9596 echo "${ECHO_T}yes" >&6; }
9598 { echo "$as_me:$LINENO: result: no" >&5
9599 echo "${ECHO_T}no" >&6; }
9604 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontpicker" >&5
9605 echo $ECHO_N "checking for --${enablestring:-enable}-fontpicker... $ECHO_C" >&6; }
9607 # Check whether --enable-fontpicker was given.
9608 if test "${enable_fontpicker+set}" = set; then
9609 enableval=$enable_fontpicker;
9610 if test "$enableval" = yes; then
9611 ac_cv_use_fontpicker='wxUSE_FONTPICKERCTRL=yes'
9613 ac_cv_use_fontpicker='wxUSE_FONTPICKERCTRL=no'
9618 LINE=`grep "wxUSE_FONTPICKERCTRL" ${wx_arg_cache_file}`
9619 if test "x$LINE" != x ; then
9620 eval "DEFAULT_$LINE"
9625 ac_cv_use_fontpicker='wxUSE_FONTPICKERCTRL='$DEFAULT_wxUSE_FONTPICKERCTRL
9630 eval "$ac_cv_use_fontpicker"
9631 if test "$no_cache" != 1; then
9632 echo $ac_cv_use_fontpicker >> ${wx_arg_cache_file}.tmp
9635 if test "$wxUSE_FONTPICKERCTRL" = yes; then
9636 { echo "$as_me:$LINENO: result: yes" >&5
9637 echo "${ECHO_T}yes" >&6; }
9639 { echo "$as_me:$LINENO: result: no" >&5
9640 echo "${ECHO_T}no" >&6; }
9645 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gauge" >&5
9646 echo $ECHO_N "checking for --${enablestring:-enable}-gauge... $ECHO_C" >&6; }
9648 # Check whether --enable-gauge was given.
9649 if test "${enable_gauge+set}" = set; then
9650 enableval=$enable_gauge;
9651 if test "$enableval" = yes; then
9652 ac_cv_use_gauge='wxUSE_GAUGE=yes'
9654 ac_cv_use_gauge='wxUSE_GAUGE=no'
9659 LINE=`grep "wxUSE_GAUGE" ${wx_arg_cache_file}`
9660 if test "x$LINE" != x ; then
9661 eval "DEFAULT_$LINE"
9666 ac_cv_use_gauge='wxUSE_GAUGE='$DEFAULT_wxUSE_GAUGE
9671 eval "$ac_cv_use_gauge"
9672 if test "$no_cache" != 1; then
9673 echo $ac_cv_use_gauge >> ${wx_arg_cache_file}.tmp
9676 if test "$wxUSE_GAUGE" = yes; then
9677 { echo "$as_me:$LINENO: result: yes" >&5
9678 echo "${ECHO_T}yes" >&6; }
9680 { echo "$as_me:$LINENO: result: no" >&5
9681 echo "${ECHO_T}no" >&6; }
9686 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-grid" >&5
9687 echo $ECHO_N "checking for --${enablestring:-enable}-grid... $ECHO_C" >&6; }
9689 # Check whether --enable-grid was given.
9690 if test "${enable_grid+set}" = set; then
9691 enableval=$enable_grid;
9692 if test "$enableval" = yes; then
9693 ac_cv_use_grid='wxUSE_GRID=yes'
9695 ac_cv_use_grid='wxUSE_GRID=no'
9700 LINE=`grep "wxUSE_GRID" ${wx_arg_cache_file}`
9701 if test "x$LINE" != x ; then
9702 eval "DEFAULT_$LINE"
9707 ac_cv_use_grid='wxUSE_GRID='$DEFAULT_wxUSE_GRID
9712 eval "$ac_cv_use_grid"
9713 if test "$no_cache" != 1; then
9714 echo $ac_cv_use_grid >> ${wx_arg_cache_file}.tmp
9717 if test "$wxUSE_GRID" = yes; then
9718 { echo "$as_me:$LINENO: result: yes" >&5
9719 echo "${ECHO_T}yes" >&6; }
9721 { echo "$as_me:$LINENO: result: no" >&5
9722 echo "${ECHO_T}no" >&6; }
9727 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dataviewctrl" >&5
9728 echo $ECHO_N "checking for --${enablestring:-enable}-dataviewctrl... $ECHO_C" >&6; }
9730 # Check whether --enable-dataviewctrl was given.
9731 if test "${enable_dataviewctrl+set}" = set; then
9732 enableval=$enable_dataviewctrl;
9733 if test "$enableval" = yes; then
9734 ac_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL=yes'
9736 ac_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL=no'
9741 LINE=`grep "wxUSE_DATAVIEWCTRL" ${wx_arg_cache_file}`
9742 if test "x$LINE" != x ; then
9743 eval "DEFAULT_$LINE"
9748 ac_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL='$DEFAULT_wxUSE_DATAVIEWCTRL
9753 eval "$ac_cv_use_dataviewctrl"
9754 if test "$no_cache" != 1; then
9755 echo $ac_cv_use_dataviewctrl >> ${wx_arg_cache_file}.tmp
9758 if test "$wxUSE_DATAVIEWCTRL" = yes; then
9759 { echo "$as_me:$LINENO: result: yes" >&5
9760 echo "${ECHO_T}yes" >&6; }
9762 { echo "$as_me:$LINENO: result: no" >&5
9763 echo "${ECHO_T}no" >&6; }
9768 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-hyperlink" >&5
9769 echo $ECHO_N "checking for --${enablestring:-enable}-hyperlink... $ECHO_C" >&6; }
9771 # Check whether --enable-hyperlink was given.
9772 if test "${enable_hyperlink+set}" = set; then
9773 enableval=$enable_hyperlink;
9774 if test "$enableval" = yes; then
9775 ac_cv_use_hyperlink='wxUSE_HYPERLINKCTRL=yes'
9777 ac_cv_use_hyperlink='wxUSE_HYPERLINKCTRL=no'
9782 LINE=`grep "wxUSE_HYPERLINKCTRL" ${wx_arg_cache_file}`
9783 if test "x$LINE" != x ; then
9784 eval "DEFAULT_$LINE"
9789 ac_cv_use_hyperlink='wxUSE_HYPERLINKCTRL='$DEFAULT_wxUSE_HYPERLINKCTRL
9794 eval "$ac_cv_use_hyperlink"
9795 if test "$no_cache" != 1; then
9796 echo $ac_cv_use_hyperlink >> ${wx_arg_cache_file}.tmp
9799 if test "$wxUSE_HYPERLINKCTRL" = yes; then
9800 { echo "$as_me:$LINENO: result: yes" >&5
9801 echo "${ECHO_T}yes" >&6; }
9803 { echo "$as_me:$LINENO: result: no" >&5
9804 echo "${ECHO_T}no" >&6; }
9809 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-imaglist" >&5
9810 echo $ECHO_N "checking for --${enablestring:-enable}-imaglist... $ECHO_C" >&6; }
9812 # Check whether --enable-imaglist was given.
9813 if test "${enable_imaglist+set}" = set; then
9814 enableval=$enable_imaglist;
9815 if test "$enableval" = yes; then
9816 ac_cv_use_imaglist='wxUSE_IMAGLIST=yes'
9818 ac_cv_use_imaglist='wxUSE_IMAGLIST=no'
9823 LINE=`grep "wxUSE_IMAGLIST" ${wx_arg_cache_file}`
9824 if test "x$LINE" != x ; then
9825 eval "DEFAULT_$LINE"
9830 ac_cv_use_imaglist='wxUSE_IMAGLIST='$DEFAULT_wxUSE_IMAGLIST
9835 eval "$ac_cv_use_imaglist"
9836 if test "$no_cache" != 1; then
9837 echo $ac_cv_use_imaglist >> ${wx_arg_cache_file}.tmp
9840 if test "$wxUSE_IMAGLIST" = yes; then
9841 { echo "$as_me:$LINENO: result: yes" >&5
9842 echo "${ECHO_T}yes" >&6; }
9844 { echo "$as_me:$LINENO: result: no" >&5
9845 echo "${ECHO_T}no" >&6; }
9850 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbook" >&5
9851 echo $ECHO_N "checking for --${enablestring:-enable}-listbook... $ECHO_C" >&6; }
9853 # Check whether --enable-listbook was given.
9854 if test "${enable_listbook+set}" = set; then
9855 enableval=$enable_listbook;
9856 if test "$enableval" = yes; then
9857 ac_cv_use_listbook='wxUSE_LISTBOOK=yes'
9859 ac_cv_use_listbook='wxUSE_LISTBOOK=no'
9864 LINE=`grep "wxUSE_LISTBOOK" ${wx_arg_cache_file}`
9865 if test "x$LINE" != x ; then
9866 eval "DEFAULT_$LINE"
9871 ac_cv_use_listbook='wxUSE_LISTBOOK='$DEFAULT_wxUSE_LISTBOOK
9876 eval "$ac_cv_use_listbook"
9877 if test "$no_cache" != 1; then
9878 echo $ac_cv_use_listbook >> ${wx_arg_cache_file}.tmp
9881 if test "$wxUSE_LISTBOOK" = yes; then
9882 { echo "$as_me:$LINENO: result: yes" >&5
9883 echo "${ECHO_T}yes" >&6; }
9885 { echo "$as_me:$LINENO: result: no" >&5
9886 echo "${ECHO_T}no" >&6; }
9891 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbox" >&5
9892 echo $ECHO_N "checking for --${enablestring:-enable}-listbox... $ECHO_C" >&6; }
9894 # Check whether --enable-listbox was given.
9895 if test "${enable_listbox+set}" = set; then
9896 enableval=$enable_listbox;
9897 if test "$enableval" = yes; then
9898 ac_cv_use_listbox='wxUSE_LISTBOX=yes'
9900 ac_cv_use_listbox='wxUSE_LISTBOX=no'
9905 LINE=`grep "wxUSE_LISTBOX" ${wx_arg_cache_file}`
9906 if test "x$LINE" != x ; then
9907 eval "DEFAULT_$LINE"
9912 ac_cv_use_listbox='wxUSE_LISTBOX='$DEFAULT_wxUSE_LISTBOX
9917 eval "$ac_cv_use_listbox"
9918 if test "$no_cache" != 1; then
9919 echo $ac_cv_use_listbox >> ${wx_arg_cache_file}.tmp
9922 if test "$wxUSE_LISTBOX" = yes; then
9923 { echo "$as_me:$LINENO: result: yes" >&5
9924 echo "${ECHO_T}yes" >&6; }
9926 { echo "$as_me:$LINENO: result: no" >&5
9927 echo "${ECHO_T}no" >&6; }
9932 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listctrl" >&5
9933 echo $ECHO_N "checking for --${enablestring:-enable}-listctrl... $ECHO_C" >&6; }
9935 # Check whether --enable-listctrl was given.
9936 if test "${enable_listctrl+set}" = set; then
9937 enableval=$enable_listctrl;
9938 if test "$enableval" = yes; then
9939 ac_cv_use_listctrl='wxUSE_LISTCTRL=yes'
9941 ac_cv_use_listctrl='wxUSE_LISTCTRL=no'
9946 LINE=`grep "wxUSE_LISTCTRL" ${wx_arg_cache_file}`
9947 if test "x$LINE" != x ; then
9948 eval "DEFAULT_$LINE"
9953 ac_cv_use_listctrl='wxUSE_LISTCTRL='$DEFAULT_wxUSE_LISTCTRL
9958 eval "$ac_cv_use_listctrl"
9959 if test "$no_cache" != 1; then
9960 echo $ac_cv_use_listctrl >> ${wx_arg_cache_file}.tmp
9963 if test "$wxUSE_LISTCTRL" = yes; then
9964 { echo "$as_me:$LINENO: result: yes" >&5
9965 echo "${ECHO_T}yes" >&6; }
9967 { echo "$as_me:$LINENO: result: no" >&5
9968 echo "${ECHO_T}no" >&6; }
9973 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-notebook" >&5
9974 echo $ECHO_N "checking for --${enablestring:-enable}-notebook... $ECHO_C" >&6; }
9976 # Check whether --enable-notebook was given.
9977 if test "${enable_notebook+set}" = set; then
9978 enableval=$enable_notebook;
9979 if test "$enableval" = yes; then
9980 ac_cv_use_notebook='wxUSE_NOTEBOOK=yes'
9982 ac_cv_use_notebook='wxUSE_NOTEBOOK=no'
9987 LINE=`grep "wxUSE_NOTEBOOK" ${wx_arg_cache_file}`
9988 if test "x$LINE" != x ; then
9989 eval "DEFAULT_$LINE"
9994 ac_cv_use_notebook='wxUSE_NOTEBOOK='$DEFAULT_wxUSE_NOTEBOOK
9999 eval "$ac_cv_use_notebook"
10000 if test "$no_cache" != 1; then
10001 echo $ac_cv_use_notebook >> ${wx_arg_cache_file}.tmp
10004 if test "$wxUSE_NOTEBOOK" = yes; then
10005 { echo "$as_me:$LINENO: result: yes" >&5
10006 echo "${ECHO_T}yes" >&6; }
10008 { echo "$as_me:$LINENO: result: no" >&5
10009 echo "${ECHO_T}no" >&6; }
10014 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-odcombobox" >&5
10015 echo $ECHO_N "checking for --${enablestring:-enable}-odcombobox... $ECHO_C" >&6; }
10017 # Check whether --enable-odcombobox was given.
10018 if test "${enable_odcombobox+set}" = set; then
10019 enableval=$enable_odcombobox;
10020 if test "$enableval" = yes; then
10021 ac_cv_use_odcombobox='wxUSE_ODCOMBOBOX=yes'
10023 ac_cv_use_odcombobox='wxUSE_ODCOMBOBOX=no'
10028 LINE=`grep "wxUSE_ODCOMBOBOX" ${wx_arg_cache_file}`
10029 if test "x$LINE" != x ; then
10030 eval "DEFAULT_$LINE"
10035 ac_cv_use_odcombobox='wxUSE_ODCOMBOBOX='$DEFAULT_wxUSE_ODCOMBOBOX
10040 eval "$ac_cv_use_odcombobox"
10041 if test "$no_cache" != 1; then
10042 echo $ac_cv_use_odcombobox >> ${wx_arg_cache_file}.tmp
10045 if test "$wxUSE_ODCOMBOBOX" = yes; then
10046 { echo "$as_me:$LINENO: result: yes" >&5
10047 echo "${ECHO_T}yes" >&6; }
10049 { echo "$as_me:$LINENO: result: no" >&5
10050 echo "${ECHO_T}no" >&6; }
10055 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobox" >&5
10056 echo $ECHO_N "checking for --${enablestring:-enable}-radiobox... $ECHO_C" >&6; }
10058 # Check whether --enable-radiobox was given.
10059 if test "${enable_radiobox+set}" = set; then
10060 enableval=$enable_radiobox;
10061 if test "$enableval" = yes; then
10062 ac_cv_use_radiobox='wxUSE_RADIOBOX=yes'
10064 ac_cv_use_radiobox='wxUSE_RADIOBOX=no'
10069 LINE=`grep "wxUSE_RADIOBOX" ${wx_arg_cache_file}`
10070 if test "x$LINE" != x ; then
10071 eval "DEFAULT_$LINE"
10076 ac_cv_use_radiobox='wxUSE_RADIOBOX='$DEFAULT_wxUSE_RADIOBOX
10081 eval "$ac_cv_use_radiobox"
10082 if test "$no_cache" != 1; then
10083 echo $ac_cv_use_radiobox >> ${wx_arg_cache_file}.tmp
10086 if test "$wxUSE_RADIOBOX" = yes; then
10087 { echo "$as_me:$LINENO: result: yes" >&5
10088 echo "${ECHO_T}yes" >&6; }
10090 { echo "$as_me:$LINENO: result: no" >&5
10091 echo "${ECHO_T}no" >&6; }
10096 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobtn" >&5
10097 echo $ECHO_N "checking for --${enablestring:-enable}-radiobtn... $ECHO_C" >&6; }
10099 # Check whether --enable-radiobtn was given.
10100 if test "${enable_radiobtn+set}" = set; then
10101 enableval=$enable_radiobtn;
10102 if test "$enableval" = yes; then
10103 ac_cv_use_radiobtn='wxUSE_RADIOBTN=yes'
10105 ac_cv_use_radiobtn='wxUSE_RADIOBTN=no'
10110 LINE=`grep "wxUSE_RADIOBTN" ${wx_arg_cache_file}`
10111 if test "x$LINE" != x ; then
10112 eval "DEFAULT_$LINE"
10117 ac_cv_use_radiobtn='wxUSE_RADIOBTN='$DEFAULT_wxUSE_RADIOBTN
10122 eval "$ac_cv_use_radiobtn"
10123 if test "$no_cache" != 1; then
10124 echo $ac_cv_use_radiobtn >> ${wx_arg_cache_file}.tmp
10127 if test "$wxUSE_RADIOBTN" = yes; then
10128 { echo "$as_me:$LINENO: result: yes" >&5
10129 echo "${ECHO_T}yes" >&6; }
10131 { echo "$as_me:$LINENO: result: no" >&5
10132 echo "${ECHO_T}no" >&6; }
10137 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sash" >&5
10138 echo $ECHO_N "checking for --${enablestring:-enable}-sash... $ECHO_C" >&6; }
10140 # Check whether --enable-sash was given.
10141 if test "${enable_sash+set}" = set; then
10142 enableval=$enable_sash;
10143 if test "$enableval" = yes; then
10144 ac_cv_use_sash='wxUSE_SASH=yes'
10146 ac_cv_use_sash='wxUSE_SASH=no'
10151 LINE=`grep "wxUSE_SASH" ${wx_arg_cache_file}`
10152 if test "x$LINE" != x ; then
10153 eval "DEFAULT_$LINE"
10158 ac_cv_use_sash='wxUSE_SASH='$DEFAULT_wxUSE_SASH
10163 eval "$ac_cv_use_sash"
10164 if test "$no_cache" != 1; then
10165 echo $ac_cv_use_sash >> ${wx_arg_cache_file}.tmp
10168 if test "$wxUSE_SASH" = yes; then
10169 { echo "$as_me:$LINENO: result: yes" >&5
10170 echo "${ECHO_T}yes" >&6; }
10172 { echo "$as_me:$LINENO: result: no" >&5
10173 echo "${ECHO_T}no" >&6; }
10178 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-scrollbar" >&5
10179 echo $ECHO_N "checking for --${enablestring:-enable}-scrollbar... $ECHO_C" >&6; }
10181 # Check whether --enable-scrollbar was given.
10182 if test "${enable_scrollbar+set}" = set; then
10183 enableval=$enable_scrollbar;
10184 if test "$enableval" = yes; then
10185 ac_cv_use_scrollbar='wxUSE_SCROLLBAR=yes'
10187 ac_cv_use_scrollbar='wxUSE_SCROLLBAR=no'
10192 LINE=`grep "wxUSE_SCROLLBAR" ${wx_arg_cache_file}`
10193 if test "x$LINE" != x ; then
10194 eval "DEFAULT_$LINE"
10199 ac_cv_use_scrollbar='wxUSE_SCROLLBAR='$DEFAULT_wxUSE_SCROLLBAR
10204 eval "$ac_cv_use_scrollbar"
10205 if test "$no_cache" != 1; then
10206 echo $ac_cv_use_scrollbar >> ${wx_arg_cache_file}.tmp
10209 if test "$wxUSE_SCROLLBAR" = yes; then
10210 { echo "$as_me:$LINENO: result: yes" >&5
10211 echo "${ECHO_T}yes" >&6; }
10213 { echo "$as_me:$LINENO: result: no" >&5
10214 echo "${ECHO_T}no" >&6; }
10219 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-searchctrl" >&5
10220 echo $ECHO_N "checking for --${enablestring:-enable}-searchctrl... $ECHO_C" >&6; }
10222 # Check whether --enable-searchctrl was given.
10223 if test "${enable_searchctrl+set}" = set; then
10224 enableval=$enable_searchctrl;
10225 if test "$enableval" = yes; then
10226 ac_cv_use_searchctrl='wxUSE_SEARCHCTRL=yes'
10228 ac_cv_use_searchctrl='wxUSE_SEARCHCTRL=no'
10233 LINE=`grep "wxUSE_SEARCHCTRL" ${wx_arg_cache_file}`
10234 if test "x$LINE" != x ; then
10235 eval "DEFAULT_$LINE"
10240 ac_cv_use_searchctrl='wxUSE_SEARCHCTRL='$DEFAULT_wxUSE_SEARCHCTRL
10245 eval "$ac_cv_use_searchctrl"
10246 if test "$no_cache" != 1; then
10247 echo $ac_cv_use_searchctrl >> ${wx_arg_cache_file}.tmp
10250 if test "$wxUSE_SEARCHCTRL" = yes; then
10251 { echo "$as_me:$LINENO: result: yes" >&5
10252 echo "${ECHO_T}yes" >&6; }
10254 { echo "$as_me:$LINENO: result: no" >&5
10255 echo "${ECHO_T}no" >&6; }
10260 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-slider" >&5
10261 echo $ECHO_N "checking for --${enablestring:-enable}-slider... $ECHO_C" >&6; }
10263 # Check whether --enable-slider was given.
10264 if test "${enable_slider+set}" = set; then
10265 enableval=$enable_slider;
10266 if test "$enableval" = yes; then
10267 ac_cv_use_slider='wxUSE_SLIDER=yes'
10269 ac_cv_use_slider='wxUSE_SLIDER=no'
10274 LINE=`grep "wxUSE_SLIDER" ${wx_arg_cache_file}`
10275 if test "x$LINE" != x ; then
10276 eval "DEFAULT_$LINE"
10281 ac_cv_use_slider='wxUSE_SLIDER='$DEFAULT_wxUSE_SLIDER
10286 eval "$ac_cv_use_slider"
10287 if test "$no_cache" != 1; then
10288 echo $ac_cv_use_slider >> ${wx_arg_cache_file}.tmp
10291 if test "$wxUSE_SLIDER" = yes; then
10292 { echo "$as_me:$LINENO: result: yes" >&5
10293 echo "${ECHO_T}yes" >&6; }
10295 { echo "$as_me:$LINENO: result: no" >&5
10296 echo "${ECHO_T}no" >&6; }
10301 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinbtn" >&5
10302 echo $ECHO_N "checking for --${enablestring:-enable}-spinbtn... $ECHO_C" >&6; }
10304 # Check whether --enable-spinbtn was given.
10305 if test "${enable_spinbtn+set}" = set; then
10306 enableval=$enable_spinbtn;
10307 if test "$enableval" = yes; then
10308 ac_cv_use_spinbtn='wxUSE_SPINBTN=yes'
10310 ac_cv_use_spinbtn='wxUSE_SPINBTN=no'
10315 LINE=`grep "wxUSE_SPINBTN" ${wx_arg_cache_file}`
10316 if test "x$LINE" != x ; then
10317 eval "DEFAULT_$LINE"
10322 ac_cv_use_spinbtn='wxUSE_SPINBTN='$DEFAULT_wxUSE_SPINBTN
10327 eval "$ac_cv_use_spinbtn"
10328 if test "$no_cache" != 1; then
10329 echo $ac_cv_use_spinbtn >> ${wx_arg_cache_file}.tmp
10332 if test "$wxUSE_SPINBTN" = yes; then
10333 { echo "$as_me:$LINENO: result: yes" >&5
10334 echo "${ECHO_T}yes" >&6; }
10336 { echo "$as_me:$LINENO: result: no" >&5
10337 echo "${ECHO_T}no" >&6; }
10342 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinctrl" >&5
10343 echo $ECHO_N "checking for --${enablestring:-enable}-spinctrl... $ECHO_C" >&6; }
10345 # Check whether --enable-spinctrl was given.
10346 if test "${enable_spinctrl+set}" = set; then
10347 enableval=$enable_spinctrl;
10348 if test "$enableval" = yes; then
10349 ac_cv_use_spinctrl='wxUSE_SPINCTRL=yes'
10351 ac_cv_use_spinctrl='wxUSE_SPINCTRL=no'
10356 LINE=`grep "wxUSE_SPINCTRL" ${wx_arg_cache_file}`
10357 if test "x$LINE" != x ; then
10358 eval "DEFAULT_$LINE"
10363 ac_cv_use_spinctrl='wxUSE_SPINCTRL='$DEFAULT_wxUSE_SPINCTRL
10368 eval "$ac_cv_use_spinctrl"
10369 if test "$no_cache" != 1; then
10370 echo $ac_cv_use_spinctrl >> ${wx_arg_cache_file}.tmp
10373 if test "$wxUSE_SPINCTRL" = yes; then
10374 { echo "$as_me:$LINENO: result: yes" >&5
10375 echo "${ECHO_T}yes" >&6; }
10377 { echo "$as_me:$LINENO: result: no" >&5
10378 echo "${ECHO_T}no" >&6; }
10383 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splitter" >&5
10384 echo $ECHO_N "checking for --${enablestring:-enable}-splitter... $ECHO_C" >&6; }
10386 # Check whether --enable-splitter was given.
10387 if test "${enable_splitter+set}" = set; then
10388 enableval=$enable_splitter;
10389 if test "$enableval" = yes; then
10390 ac_cv_use_splitter='wxUSE_SPLITTER=yes'
10392 ac_cv_use_splitter='wxUSE_SPLITTER=no'
10397 LINE=`grep "wxUSE_SPLITTER" ${wx_arg_cache_file}`
10398 if test "x$LINE" != x ; then
10399 eval "DEFAULT_$LINE"
10404 ac_cv_use_splitter='wxUSE_SPLITTER='$DEFAULT_wxUSE_SPLITTER
10409 eval "$ac_cv_use_splitter"
10410 if test "$no_cache" != 1; then
10411 echo $ac_cv_use_splitter >> ${wx_arg_cache_file}.tmp
10414 if test "$wxUSE_SPLITTER" = yes; then
10415 { echo "$as_me:$LINENO: result: yes" >&5
10416 echo "${ECHO_T}yes" >&6; }
10418 { echo "$as_me:$LINENO: result: no" >&5
10419 echo "${ECHO_T}no" >&6; }
10424 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbmp" >&5
10425 echo $ECHO_N "checking for --${enablestring:-enable}-statbmp... $ECHO_C" >&6; }
10427 # Check whether --enable-statbmp was given.
10428 if test "${enable_statbmp+set}" = set; then
10429 enableval=$enable_statbmp;
10430 if test "$enableval" = yes; then
10431 ac_cv_use_statbmp='wxUSE_STATBMP=yes'
10433 ac_cv_use_statbmp='wxUSE_STATBMP=no'
10438 LINE=`grep "wxUSE_STATBMP" ${wx_arg_cache_file}`
10439 if test "x$LINE" != x ; then
10440 eval "DEFAULT_$LINE"
10445 ac_cv_use_statbmp='wxUSE_STATBMP='$DEFAULT_wxUSE_STATBMP
10450 eval "$ac_cv_use_statbmp"
10451 if test "$no_cache" != 1; then
10452 echo $ac_cv_use_statbmp >> ${wx_arg_cache_file}.tmp
10455 if test "$wxUSE_STATBMP" = yes; then
10456 { echo "$as_me:$LINENO: result: yes" >&5
10457 echo "${ECHO_T}yes" >&6; }
10459 { echo "$as_me:$LINENO: result: no" >&5
10460 echo "${ECHO_T}no" >&6; }
10465 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbox" >&5
10466 echo $ECHO_N "checking for --${enablestring:-enable}-statbox... $ECHO_C" >&6; }
10468 # Check whether --enable-statbox was given.
10469 if test "${enable_statbox+set}" = set; then
10470 enableval=$enable_statbox;
10471 if test "$enableval" = yes; then
10472 ac_cv_use_statbox='wxUSE_STATBOX=yes'
10474 ac_cv_use_statbox='wxUSE_STATBOX=no'
10479 LINE=`grep "wxUSE_STATBOX" ${wx_arg_cache_file}`
10480 if test "x$LINE" != x ; then
10481 eval "DEFAULT_$LINE"
10486 ac_cv_use_statbox='wxUSE_STATBOX='$DEFAULT_wxUSE_STATBOX
10491 eval "$ac_cv_use_statbox"
10492 if test "$no_cache" != 1; then
10493 echo $ac_cv_use_statbox >> ${wx_arg_cache_file}.tmp
10496 if test "$wxUSE_STATBOX" = yes; then
10497 { echo "$as_me:$LINENO: result: yes" >&5
10498 echo "${ECHO_T}yes" >&6; }
10500 { echo "$as_me:$LINENO: result: no" >&5
10501 echo "${ECHO_T}no" >&6; }
10506 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statline" >&5
10507 echo $ECHO_N "checking for --${enablestring:-enable}-statline... $ECHO_C" >&6; }
10509 # Check whether --enable-statline was given.
10510 if test "${enable_statline+set}" = set; then
10511 enableval=$enable_statline;
10512 if test "$enableval" = yes; then
10513 ac_cv_use_statline='wxUSE_STATLINE=yes'
10515 ac_cv_use_statline='wxUSE_STATLINE=no'
10520 LINE=`grep "wxUSE_STATLINE" ${wx_arg_cache_file}`
10521 if test "x$LINE" != x ; then
10522 eval "DEFAULT_$LINE"
10527 ac_cv_use_statline='wxUSE_STATLINE='$DEFAULT_wxUSE_STATLINE
10532 eval "$ac_cv_use_statline"
10533 if test "$no_cache" != 1; then
10534 echo $ac_cv_use_statline >> ${wx_arg_cache_file}.tmp
10537 if test "$wxUSE_STATLINE" = yes; then
10538 { echo "$as_me:$LINENO: result: yes" >&5
10539 echo "${ECHO_T}yes" >&6; }
10541 { echo "$as_me:$LINENO: result: no" >&5
10542 echo "${ECHO_T}no" >&6; }
10547 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stattext" >&5
10548 echo $ECHO_N "checking for --${enablestring:-enable}-stattext... $ECHO_C" >&6; }
10550 # Check whether --enable-stattext was given.
10551 if test "${enable_stattext+set}" = set; then
10552 enableval=$enable_stattext;
10553 if test "$enableval" = yes; then
10554 ac_cv_use_stattext='wxUSE_STATTEXT=yes'
10556 ac_cv_use_stattext='wxUSE_STATTEXT=no'
10561 LINE=`grep "wxUSE_STATTEXT" ${wx_arg_cache_file}`
10562 if test "x$LINE" != x ; then
10563 eval "DEFAULT_$LINE"
10568 ac_cv_use_stattext='wxUSE_STATTEXT='$DEFAULT_wxUSE_STATTEXT
10573 eval "$ac_cv_use_stattext"
10574 if test "$no_cache" != 1; then
10575 echo $ac_cv_use_stattext >> ${wx_arg_cache_file}.tmp
10578 if test "$wxUSE_STATTEXT" = yes; then
10579 { echo "$as_me:$LINENO: result: yes" >&5
10580 echo "${ECHO_T}yes" >&6; }
10582 { echo "$as_me:$LINENO: result: no" >&5
10583 echo "${ECHO_T}no" >&6; }
10588 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statusbar" >&5
10589 echo $ECHO_N "checking for --${enablestring:-enable}-statusbar... $ECHO_C" >&6; }
10591 # Check whether --enable-statusbar was given.
10592 if test "${enable_statusbar+set}" = set; then
10593 enableval=$enable_statusbar;
10594 if test "$enableval" = yes; then
10595 ac_cv_use_statusbar='wxUSE_STATUSBAR=yes'
10597 ac_cv_use_statusbar='wxUSE_STATUSBAR=no'
10602 LINE=`grep "wxUSE_STATUSBAR" ${wx_arg_cache_file}`
10603 if test "x$LINE" != x ; then
10604 eval "DEFAULT_$LINE"
10609 ac_cv_use_statusbar='wxUSE_STATUSBAR='$DEFAULT_wxUSE_STATUSBAR
10614 eval "$ac_cv_use_statusbar"
10615 if test "$no_cache" != 1; then
10616 echo $ac_cv_use_statusbar >> ${wx_arg_cache_file}.tmp
10619 if test "$wxUSE_STATUSBAR" = yes; then
10620 { echo "$as_me:$LINENO: result: yes" >&5
10621 echo "${ECHO_T}yes" >&6; }
10623 { echo "$as_me:$LINENO: result: no" >&5
10624 echo "${ECHO_T}no" >&6; }
10629 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tabdialog" >&5
10630 echo $ECHO_N "checking for --${enablestring:-enable}-tabdialog... $ECHO_C" >&6; }
10632 # Check whether --enable-tabdialog was given.
10633 if test "${enable_tabdialog+set}" = set; then
10634 enableval=$enable_tabdialog;
10635 if test "$enableval" = yes; then
10636 ac_cv_use_tabdialog='wxUSE_TAB_DIALOG=yes'
10638 ac_cv_use_tabdialog='wxUSE_TAB_DIALOG=no'
10643 LINE=`grep "wxUSE_TAB_DIALOG" ${wx_arg_cache_file}`
10644 if test "x$LINE" != x ; then
10645 eval "DEFAULT_$LINE"
10650 ac_cv_use_tabdialog='wxUSE_TAB_DIALOG='$DEFAULT_wxUSE_TAB_DIALOG
10655 eval "$ac_cv_use_tabdialog"
10656 if test "$no_cache" != 1; then
10657 echo $ac_cv_use_tabdialog >> ${wx_arg_cache_file}.tmp
10660 if test "$wxUSE_TAB_DIALOG" = yes; then
10661 { echo "$as_me:$LINENO: result: yes" >&5
10662 echo "${ECHO_T}yes" >&6; }
10664 { echo "$as_me:$LINENO: result: no" >&5
10665 echo "${ECHO_T}no" >&6; }
10670 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textctrl" >&5
10671 echo $ECHO_N "checking for --${enablestring:-enable}-textctrl... $ECHO_C" >&6; }
10673 # Check whether --enable-textctrl was given.
10674 if test "${enable_textctrl+set}" = set; then
10675 enableval=$enable_textctrl;
10676 if test "$enableval" = yes; then
10677 ac_cv_use_textctrl='wxUSE_TEXTCTRL=yes'
10679 ac_cv_use_textctrl='wxUSE_TEXTCTRL=no'
10684 LINE=`grep "wxUSE_TEXTCTRL" ${wx_arg_cache_file}`
10685 if test "x$LINE" != x ; then
10686 eval "DEFAULT_$LINE"
10691 ac_cv_use_textctrl='wxUSE_TEXTCTRL='$DEFAULT_wxUSE_TEXTCTRL
10696 eval "$ac_cv_use_textctrl"
10697 if test "$no_cache" != 1; then
10698 echo $ac_cv_use_textctrl >> ${wx_arg_cache_file}.tmp
10701 if test "$wxUSE_TEXTCTRL" = yes; then
10702 { echo "$as_me:$LINENO: result: yes" >&5
10703 echo "${ECHO_T}yes" >&6; }
10705 { echo "$as_me:$LINENO: result: no" >&5
10706 echo "${ECHO_T}no" >&6; }
10711 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-togglebtn" >&5
10712 echo $ECHO_N "checking for --${enablestring:-enable}-togglebtn... $ECHO_C" >&6; }
10714 # Check whether --enable-togglebtn was given.
10715 if test "${enable_togglebtn+set}" = set; then
10716 enableval=$enable_togglebtn;
10717 if test "$enableval" = yes; then
10718 ac_cv_use_togglebtn='wxUSE_TOGGLEBTN=yes'
10720 ac_cv_use_togglebtn='wxUSE_TOGGLEBTN=no'
10725 LINE=`grep "wxUSE_TOGGLEBTN" ${wx_arg_cache_file}`
10726 if test "x$LINE" != x ; then
10727 eval "DEFAULT_$LINE"
10732 ac_cv_use_togglebtn='wxUSE_TOGGLEBTN='$DEFAULT_wxUSE_TOGGLEBTN
10737 eval "$ac_cv_use_togglebtn"
10738 if test "$no_cache" != 1; then
10739 echo $ac_cv_use_togglebtn >> ${wx_arg_cache_file}.tmp
10742 if test "$wxUSE_TOGGLEBTN" = yes; then
10743 { echo "$as_me:$LINENO: result: yes" >&5
10744 echo "${ECHO_T}yes" >&6; }
10746 { echo "$as_me:$LINENO: result: no" >&5
10747 echo "${ECHO_T}no" >&6; }
10752 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-toolbar" >&5
10753 echo $ECHO_N "checking for --${enablestring:-enable}-toolbar... $ECHO_C" >&6; }
10755 # Check whether --enable-toolbar was given.
10756 if test "${enable_toolbar+set}" = set; then
10757 enableval=$enable_toolbar;
10758 if test "$enableval" = yes; then
10759 ac_cv_use_toolbar='wxUSE_TOOLBAR=yes'
10761 ac_cv_use_toolbar='wxUSE_TOOLBAR=no'
10766 LINE=`grep "wxUSE_TOOLBAR" ${wx_arg_cache_file}`
10767 if test "x$LINE" != x ; then
10768 eval "DEFAULT_$LINE"
10773 ac_cv_use_toolbar='wxUSE_TOOLBAR='$DEFAULT_wxUSE_TOOLBAR
10778 eval "$ac_cv_use_toolbar"
10779 if test "$no_cache" != 1; then
10780 echo $ac_cv_use_toolbar >> ${wx_arg_cache_file}.tmp
10783 if test "$wxUSE_TOOLBAR" = yes; then
10784 { echo "$as_me:$LINENO: result: yes" >&5
10785 echo "${ECHO_T}yes" >&6; }
10787 { echo "$as_me:$LINENO: result: no" >&5
10788 echo "${ECHO_T}no" >&6; }
10793 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tbarnative" >&5
10794 echo $ECHO_N "checking for --${enablestring:-enable}-tbarnative... $ECHO_C" >&6; }
10796 # Check whether --enable-tbarnative was given.
10797 if test "${enable_tbarnative+set}" = set; then
10798 enableval=$enable_tbarnative;
10799 if test "$enableval" = yes; then
10800 ac_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=yes'
10802 ac_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=no'
10807 LINE=`grep "wxUSE_TOOLBAR_NATIVE" ${wx_arg_cache_file}`
10808 if test "x$LINE" != x ; then
10809 eval "DEFAULT_$LINE"
10814 ac_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE='$DEFAULT_wxUSE_TOOLBAR_NATIVE
10819 eval "$ac_cv_use_tbarnative"
10820 if test "$no_cache" != 1; then
10821 echo $ac_cv_use_tbarnative >> ${wx_arg_cache_file}.tmp
10824 if test "$wxUSE_TOOLBAR_NATIVE" = yes; then
10825 { echo "$as_me:$LINENO: result: yes" >&5
10826 echo "${ECHO_T}yes" >&6; }
10828 { echo "$as_me:$LINENO: result: no" >&5
10829 echo "${ECHO_T}no" >&6; }
10834 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-treebook" >&5
10835 echo $ECHO_N "checking for --${enablestring:-enable}-treebook... $ECHO_C" >&6; }
10837 # Check whether --enable-treebook was given.
10838 if test "${enable_treebook+set}" = set; then
10839 enableval=$enable_treebook;
10840 if test "$enableval" = yes; then
10841 ac_cv_use_treebook='wxUSE_TREEBOOK=yes'
10843 ac_cv_use_treebook='wxUSE_TREEBOOK=no'
10848 LINE=`grep "wxUSE_TREEBOOK" ${wx_arg_cache_file}`
10849 if test "x$LINE" != x ; then
10850 eval "DEFAULT_$LINE"
10855 ac_cv_use_treebook='wxUSE_TREEBOOK='$DEFAULT_wxUSE_TREEBOOK
10860 eval "$ac_cv_use_treebook"
10861 if test "$no_cache" != 1; then
10862 echo $ac_cv_use_treebook >> ${wx_arg_cache_file}.tmp
10865 if test "$wxUSE_TREEBOOK" = yes; then
10866 { echo "$as_me:$LINENO: result: yes" >&5
10867 echo "${ECHO_T}yes" >&6; }
10869 { echo "$as_me:$LINENO: result: no" >&5
10870 echo "${ECHO_T}no" >&6; }
10875 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-toolbook" >&5
10876 echo $ECHO_N "checking for --${enablestring:-enable}-toolbook... $ECHO_C" >&6; }
10878 # Check whether --enable-toolbook was given.
10879 if test "${enable_toolbook+set}" = set; then
10880 enableval=$enable_toolbook;
10881 if test "$enableval" = yes; then
10882 ac_cv_use_toolbook='wxUSE_TOOLBOOK=yes'
10884 ac_cv_use_toolbook='wxUSE_TOOLBOOK=no'
10889 LINE=`grep "wxUSE_TOOLBOOK" ${wx_arg_cache_file}`
10890 if test "x$LINE" != x ; then
10891 eval "DEFAULT_$LINE"
10896 ac_cv_use_toolbook='wxUSE_TOOLBOOK='$DEFAULT_wxUSE_TOOLBOOK
10901 eval "$ac_cv_use_toolbook"
10902 if test "$no_cache" != 1; then
10903 echo $ac_cv_use_toolbook >> ${wx_arg_cache_file}.tmp
10906 if test "$wxUSE_TOOLBOOK" = yes; then
10907 { echo "$as_me:$LINENO: result: yes" >&5
10908 echo "${ECHO_T}yes" >&6; }
10910 { echo "$as_me:$LINENO: result: no" >&5
10911 echo "${ECHO_T}no" >&6; }
10916 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-treectrl" >&5
10917 echo $ECHO_N "checking for --${enablestring:-enable}-treectrl... $ECHO_C" >&6; }
10919 # Check whether --enable-treectrl was given.
10920 if test "${enable_treectrl+set}" = set; then
10921 enableval=$enable_treectrl;
10922 if test "$enableval" = yes; then
10923 ac_cv_use_treectrl='wxUSE_TREECTRL=yes'
10925 ac_cv_use_treectrl='wxUSE_TREECTRL=no'
10930 LINE=`grep "wxUSE_TREECTRL" ${wx_arg_cache_file}`
10931 if test "x$LINE" != x ; then
10932 eval "DEFAULT_$LINE"
10937 ac_cv_use_treectrl='wxUSE_TREECTRL='$DEFAULT_wxUSE_TREECTRL
10942 eval "$ac_cv_use_treectrl"
10943 if test "$no_cache" != 1; then
10944 echo $ac_cv_use_treectrl >> ${wx_arg_cache_file}.tmp
10947 if test "$wxUSE_TREECTRL" = yes; then
10948 { echo "$as_me:$LINENO: result: yes" >&5
10949 echo "${ECHO_T}yes" >&6; }
10951 { echo "$as_me:$LINENO: result: no" >&5
10952 echo "${ECHO_T}no" >&6; }
10957 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipwindow" >&5
10958 echo $ECHO_N "checking for --${enablestring:-enable}-tipwindow... $ECHO_C" >&6; }
10960 # Check whether --enable-tipwindow was given.
10961 if test "${enable_tipwindow+set}" = set; then
10962 enableval=$enable_tipwindow;
10963 if test "$enableval" = yes; then
10964 ac_cv_use_tipwindow='wxUSE_TIPWINDOW=yes'
10966 ac_cv_use_tipwindow='wxUSE_TIPWINDOW=no'
10971 LINE=`grep "wxUSE_TIPWINDOW" ${wx_arg_cache_file}`
10972 if test "x$LINE" != x ; then
10973 eval "DEFAULT_$LINE"
10978 ac_cv_use_tipwindow='wxUSE_TIPWINDOW='$DEFAULT_wxUSE_TIPWINDOW
10983 eval "$ac_cv_use_tipwindow"
10984 if test "$no_cache" != 1; then
10985 echo $ac_cv_use_tipwindow >> ${wx_arg_cache_file}.tmp
10988 if test "$wxUSE_TIPWINDOW" = yes; then
10989 { echo "$as_me:$LINENO: result: yes" >&5
10990 echo "${ECHO_T}yes" >&6; }
10992 { echo "$as_me:$LINENO: result: no" >&5
10993 echo "${ECHO_T}no" >&6; }
10998 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-popupwin" >&5
10999 echo $ECHO_N "checking for --${enablestring:-enable}-popupwin... $ECHO_C" >&6; }
11001 # Check whether --enable-popupwin was given.
11002 if test "${enable_popupwin+set}" = set; then
11003 enableval=$enable_popupwin;
11004 if test "$enableval" = yes; then
11005 ac_cv_use_popupwin='wxUSE_POPUPWIN=yes'
11007 ac_cv_use_popupwin='wxUSE_POPUPWIN=no'
11012 LINE=`grep "wxUSE_POPUPWIN" ${wx_arg_cache_file}`
11013 if test "x$LINE" != x ; then
11014 eval "DEFAULT_$LINE"
11019 ac_cv_use_popupwin='wxUSE_POPUPWIN='$DEFAULT_wxUSE_POPUPWIN
11024 eval "$ac_cv_use_popupwin"
11025 if test "$no_cache" != 1; then
11026 echo $ac_cv_use_popupwin >> ${wx_arg_cache_file}.tmp
11029 if test "$wxUSE_POPUPWIN" = yes; then
11030 { echo "$as_me:$LINENO: result: yes" >&5
11031 echo "${ECHO_T}yes" >&6; }
11033 { echo "$as_me:$LINENO: result: no" >&5
11034 echo "${ECHO_T}no" >&6; }
11041 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-commondlg" >&5
11042 echo $ECHO_N "checking for --${enablestring:-enable}-commondlg... $ECHO_C" >&6; }
11044 # Check whether --enable-commondlg was given.
11045 if test "${enable_commondlg+set}" = set; then
11046 enableval=$enable_commondlg;
11047 if test "$enableval" = yes; then
11048 ac_cv_use_commondlg='wxUSE_COMMONDLGS=yes'
11050 ac_cv_use_commondlg='wxUSE_COMMONDLGS=no'
11055 LINE=`grep "wxUSE_COMMONDLGS" ${wx_arg_cache_file}`
11056 if test "x$LINE" != x ; then
11057 eval "DEFAULT_$LINE"
11062 ac_cv_use_commondlg='wxUSE_COMMONDLGS='$DEFAULT_wxUSE_COMMONDLGS
11067 eval "$ac_cv_use_commondlg"
11068 if test "$no_cache" != 1; then
11069 echo $ac_cv_use_commondlg >> ${wx_arg_cache_file}.tmp
11072 if test "$wxUSE_COMMONDLGS" = yes; then
11073 { echo "$as_me:$LINENO: result: yes" >&5
11074 echo "${ECHO_T}yes" >&6; }
11076 { echo "$as_me:$LINENO: result: no" >&5
11077 echo "${ECHO_T}no" >&6; }
11082 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-aboutdlg" >&5
11083 echo $ECHO_N "checking for --${enablestring:-enable}-aboutdlg... $ECHO_C" >&6; }
11085 # Check whether --enable-aboutdlg was given.
11086 if test "${enable_aboutdlg+set}" = set; then
11087 enableval=$enable_aboutdlg;
11088 if test "$enableval" = yes; then
11089 ac_cv_use_aboutdlg='wxUSE_ABOUTDLG=yes'
11091 ac_cv_use_aboutdlg='wxUSE_ABOUTDLG=no'
11096 LINE=`grep "wxUSE_ABOUTDLG" ${wx_arg_cache_file}`
11097 if test "x$LINE" != x ; then
11098 eval "DEFAULT_$LINE"
11103 ac_cv_use_aboutdlg='wxUSE_ABOUTDLG='$DEFAULT_wxUSE_ABOUTDLG
11108 eval "$ac_cv_use_aboutdlg"
11109 if test "$no_cache" != 1; then
11110 echo $ac_cv_use_aboutdlg >> ${wx_arg_cache_file}.tmp
11113 if test "$wxUSE_ABOUTDLG" = yes; then
11114 { echo "$as_me:$LINENO: result: yes" >&5
11115 echo "${ECHO_T}yes" >&6; }
11117 { echo "$as_me:$LINENO: result: no" >&5
11118 echo "${ECHO_T}no" >&6; }
11123 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choicedlg" >&5
11124 echo $ECHO_N "checking for --${enablestring:-enable}-choicedlg... $ECHO_C" >&6; }
11126 # Check whether --enable-choicedlg was given.
11127 if test "${enable_choicedlg+set}" = set; then
11128 enableval=$enable_choicedlg;
11129 if test "$enableval" = yes; then
11130 ac_cv_use_choicedlg='wxUSE_CHOICEDLG=yes'
11132 ac_cv_use_choicedlg='wxUSE_CHOICEDLG=no'
11137 LINE=`grep "wxUSE_CHOICEDLG" ${wx_arg_cache_file}`
11138 if test "x$LINE" != x ; then
11139 eval "DEFAULT_$LINE"
11144 ac_cv_use_choicedlg='wxUSE_CHOICEDLG='$DEFAULT_wxUSE_CHOICEDLG
11149 eval "$ac_cv_use_choicedlg"
11150 if test "$no_cache" != 1; then
11151 echo $ac_cv_use_choicedlg >> ${wx_arg_cache_file}.tmp
11154 if test "$wxUSE_CHOICEDLG" = yes; then
11155 { echo "$as_me:$LINENO: result: yes" >&5
11156 echo "${ECHO_T}yes" >&6; }
11158 { echo "$as_me:$LINENO: result: no" >&5
11159 echo "${ECHO_T}no" >&6; }
11164 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-coldlg" >&5
11165 echo $ECHO_N "checking for --${enablestring:-enable}-coldlg... $ECHO_C" >&6; }
11167 # Check whether --enable-coldlg was given.
11168 if test "${enable_coldlg+set}" = set; then
11169 enableval=$enable_coldlg;
11170 if test "$enableval" = yes; then
11171 ac_cv_use_coldlg='wxUSE_COLOURDLG=yes'
11173 ac_cv_use_coldlg='wxUSE_COLOURDLG=no'
11178 LINE=`grep "wxUSE_COLOURDLG" ${wx_arg_cache_file}`
11179 if test "x$LINE" != x ; then
11180 eval "DEFAULT_$LINE"
11185 ac_cv_use_coldlg='wxUSE_COLOURDLG='$DEFAULT_wxUSE_COLOURDLG
11190 eval "$ac_cv_use_coldlg"
11191 if test "$no_cache" != 1; then
11192 echo $ac_cv_use_coldlg >> ${wx_arg_cache_file}.tmp
11195 if test "$wxUSE_COLOURDLG" = yes; then
11196 { echo "$as_me:$LINENO: result: yes" >&5
11197 echo "${ECHO_T}yes" >&6; }
11199 { echo "$as_me:$LINENO: result: no" >&5
11200 echo "${ECHO_T}no" >&6; }
11205 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filedlg" >&5
11206 echo $ECHO_N "checking for --${enablestring:-enable}-filedlg... $ECHO_C" >&6; }
11208 # Check whether --enable-filedlg was given.
11209 if test "${enable_filedlg+set}" = set; then
11210 enableval=$enable_filedlg;
11211 if test "$enableval" = yes; then
11212 ac_cv_use_filedlg='wxUSE_FILEDLG=yes'
11214 ac_cv_use_filedlg='wxUSE_FILEDLG=no'
11219 LINE=`grep "wxUSE_FILEDLG" ${wx_arg_cache_file}`
11220 if test "x$LINE" != x ; then
11221 eval "DEFAULT_$LINE"
11226 ac_cv_use_filedlg='wxUSE_FILEDLG='$DEFAULT_wxUSE_FILEDLG
11231 eval "$ac_cv_use_filedlg"
11232 if test "$no_cache" != 1; then
11233 echo $ac_cv_use_filedlg >> ${wx_arg_cache_file}.tmp
11236 if test "$wxUSE_FILEDLG" = yes; then
11237 { echo "$as_me:$LINENO: result: yes" >&5
11238 echo "${ECHO_T}yes" >&6; }
11240 { echo "$as_me:$LINENO: result: no" >&5
11241 echo "${ECHO_T}no" >&6; }
11246 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-finddlg" >&5
11247 echo $ECHO_N "checking for --${enablestring:-enable}-finddlg... $ECHO_C" >&6; }
11249 # Check whether --enable-finddlg was given.
11250 if test "${enable_finddlg+set}" = set; then
11251 enableval=$enable_finddlg;
11252 if test "$enableval" = yes; then
11253 ac_cv_use_finddlg='wxUSE_FINDREPLDLG=yes'
11255 ac_cv_use_finddlg='wxUSE_FINDREPLDLG=no'
11260 LINE=`grep "wxUSE_FINDREPLDLG" ${wx_arg_cache_file}`
11261 if test "x$LINE" != x ; then
11262 eval "DEFAULT_$LINE"
11267 ac_cv_use_finddlg='wxUSE_FINDREPLDLG='$DEFAULT_wxUSE_FINDREPLDLG
11272 eval "$ac_cv_use_finddlg"
11273 if test "$no_cache" != 1; then
11274 echo $ac_cv_use_finddlg >> ${wx_arg_cache_file}.tmp
11277 if test "$wxUSE_FINDREPLDLG" = yes; then
11278 { echo "$as_me:$LINENO: result: yes" >&5
11279 echo "${ECHO_T}yes" >&6; }
11281 { echo "$as_me:$LINENO: result: no" >&5
11282 echo "${ECHO_T}no" >&6; }
11287 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontdlg" >&5
11288 echo $ECHO_N "checking for --${enablestring:-enable}-fontdlg... $ECHO_C" >&6; }
11290 # Check whether --enable-fontdlg was given.
11291 if test "${enable_fontdlg+set}" = set; then
11292 enableval=$enable_fontdlg;
11293 if test "$enableval" = yes; then
11294 ac_cv_use_fontdlg='wxUSE_FONTDLG=yes'
11296 ac_cv_use_fontdlg='wxUSE_FONTDLG=no'
11301 LINE=`grep "wxUSE_FONTDLG" ${wx_arg_cache_file}`
11302 if test "x$LINE" != x ; then
11303 eval "DEFAULT_$LINE"
11308 ac_cv_use_fontdlg='wxUSE_FONTDLG='$DEFAULT_wxUSE_FONTDLG
11313 eval "$ac_cv_use_fontdlg"
11314 if test "$no_cache" != 1; then
11315 echo $ac_cv_use_fontdlg >> ${wx_arg_cache_file}.tmp
11318 if test "$wxUSE_FONTDLG" = yes; then
11319 { echo "$as_me:$LINENO: result: yes" >&5
11320 echo "${ECHO_T}yes" >&6; }
11322 { echo "$as_me:$LINENO: result: no" >&5
11323 echo "${ECHO_T}no" >&6; }
11328 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dirdlg" >&5
11329 echo $ECHO_N "checking for --${enablestring:-enable}-dirdlg... $ECHO_C" >&6; }
11331 # Check whether --enable-dirdlg was given.
11332 if test "${enable_dirdlg+set}" = set; then
11333 enableval=$enable_dirdlg;
11334 if test "$enableval" = yes; then
11335 ac_cv_use_dirdlg='wxUSE_DIRDLG=yes'
11337 ac_cv_use_dirdlg='wxUSE_DIRDLG=no'
11342 LINE=`grep "wxUSE_DIRDLG" ${wx_arg_cache_file}`
11343 if test "x$LINE" != x ; then
11344 eval "DEFAULT_$LINE"
11349 ac_cv_use_dirdlg='wxUSE_DIRDLG='$DEFAULT_wxUSE_DIRDLG
11354 eval "$ac_cv_use_dirdlg"
11355 if test "$no_cache" != 1; then
11356 echo $ac_cv_use_dirdlg >> ${wx_arg_cache_file}.tmp
11359 if test "$wxUSE_DIRDLG" = yes; then
11360 { echo "$as_me:$LINENO: result: yes" >&5
11361 echo "${ECHO_T}yes" >&6; }
11363 { echo "$as_me:$LINENO: result: no" >&5
11364 echo "${ECHO_T}no" >&6; }
11369 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-msgdlg" >&5
11370 echo $ECHO_N "checking for --${enablestring:-enable}-msgdlg... $ECHO_C" >&6; }
11372 # Check whether --enable-msgdlg was given.
11373 if test "${enable_msgdlg+set}" = set; then
11374 enableval=$enable_msgdlg;
11375 if test "$enableval" = yes; then
11376 ac_cv_use_msgdlg='wxUSE_MSGDLG=yes'
11378 ac_cv_use_msgdlg='wxUSE_MSGDLG=no'
11383 LINE=`grep "wxUSE_MSGDLG" ${wx_arg_cache_file}`
11384 if test "x$LINE" != x ; then
11385 eval "DEFAULT_$LINE"
11390 ac_cv_use_msgdlg='wxUSE_MSGDLG='$DEFAULT_wxUSE_MSGDLG
11395 eval "$ac_cv_use_msgdlg"
11396 if test "$no_cache" != 1; then
11397 echo $ac_cv_use_msgdlg >> ${wx_arg_cache_file}.tmp
11400 if test "$wxUSE_MSGDLG" = yes; then
11401 { echo "$as_me:$LINENO: result: yes" >&5
11402 echo "${ECHO_T}yes" >&6; }
11404 { echo "$as_me:$LINENO: result: no" >&5
11405 echo "${ECHO_T}no" >&6; }
11410 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-numberdlg" >&5
11411 echo $ECHO_N "checking for --${enablestring:-enable}-numberdlg... $ECHO_C" >&6; }
11413 # Check whether --enable-numberdlg was given.
11414 if test "${enable_numberdlg+set}" = set; then
11415 enableval=$enable_numberdlg;
11416 if test "$enableval" = yes; then
11417 ac_cv_use_numberdlg='wxUSE_NUMBERDLG=yes'
11419 ac_cv_use_numberdlg='wxUSE_NUMBERDLG=no'
11424 LINE=`grep "wxUSE_NUMBERDLG" ${wx_arg_cache_file}`
11425 if test "x$LINE" != x ; then
11426 eval "DEFAULT_$LINE"
11431 ac_cv_use_numberdlg='wxUSE_NUMBERDLG='$DEFAULT_wxUSE_NUMBERDLG
11436 eval "$ac_cv_use_numberdlg"
11437 if test "$no_cache" != 1; then
11438 echo $ac_cv_use_numberdlg >> ${wx_arg_cache_file}.tmp
11441 if test "$wxUSE_NUMBERDLG" = yes; then
11442 { echo "$as_me:$LINENO: result: yes" >&5
11443 echo "${ECHO_T}yes" >&6; }
11445 { echo "$as_me:$LINENO: result: no" >&5
11446 echo "${ECHO_T}no" >&6; }
11451 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splash" >&5
11452 echo $ECHO_N "checking for --${enablestring:-enable}-splash... $ECHO_C" >&6; }
11454 # Check whether --enable-splash was given.
11455 if test "${enable_splash+set}" = set; then
11456 enableval=$enable_splash;
11457 if test "$enableval" = yes; then
11458 ac_cv_use_splash='wxUSE_SPLASH=yes'
11460 ac_cv_use_splash='wxUSE_SPLASH=no'
11465 LINE=`grep "wxUSE_SPLASH" ${wx_arg_cache_file}`
11466 if test "x$LINE" != x ; then
11467 eval "DEFAULT_$LINE"
11472 ac_cv_use_splash='wxUSE_SPLASH='$DEFAULT_wxUSE_SPLASH
11477 eval "$ac_cv_use_splash"
11478 if test "$no_cache" != 1; then
11479 echo $ac_cv_use_splash >> ${wx_arg_cache_file}.tmp
11482 if test "$wxUSE_SPLASH" = yes; then
11483 { echo "$as_me:$LINENO: result: yes" >&5
11484 echo "${ECHO_T}yes" >&6; }
11486 { echo "$as_me:$LINENO: result: no" >&5
11487 echo "${ECHO_T}no" >&6; }
11492 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textdlg" >&5
11493 echo $ECHO_N "checking for --${enablestring:-enable}-textdlg... $ECHO_C" >&6; }
11495 # Check whether --enable-textdlg was given.
11496 if test "${enable_textdlg+set}" = set; then
11497 enableval=$enable_textdlg;
11498 if test "$enableval" = yes; then
11499 ac_cv_use_textdlg='wxUSE_TEXTDLG=yes'
11501 ac_cv_use_textdlg='wxUSE_TEXTDLG=no'
11506 LINE=`grep "wxUSE_TEXTDLG" ${wx_arg_cache_file}`
11507 if test "x$LINE" != x ; then
11508 eval "DEFAULT_$LINE"
11513 ac_cv_use_textdlg='wxUSE_TEXTDLG='$DEFAULT_wxUSE_TEXTDLG
11518 eval "$ac_cv_use_textdlg"
11519 if test "$no_cache" != 1; then
11520 echo $ac_cv_use_textdlg >> ${wx_arg_cache_file}.tmp
11523 if test "$wxUSE_TEXTDLG" = yes; then
11524 { echo "$as_me:$LINENO: result: yes" >&5
11525 echo "${ECHO_T}yes" >&6; }
11527 { echo "$as_me:$LINENO: result: no" >&5
11528 echo "${ECHO_T}no" >&6; }
11533 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipdlg" >&5
11534 echo $ECHO_N "checking for --${enablestring:-enable}-tipdlg... $ECHO_C" >&6; }
11536 # Check whether --enable-tipdlg was given.
11537 if test "${enable_tipdlg+set}" = set; then
11538 enableval=$enable_tipdlg;
11539 if test "$enableval" = yes; then
11540 ac_cv_use_tipdlg='wxUSE_STARTUP_TIPS=yes'
11542 ac_cv_use_tipdlg='wxUSE_STARTUP_TIPS=no'
11547 LINE=`grep "wxUSE_STARTUP_TIPS" ${wx_arg_cache_file}`
11548 if test "x$LINE" != x ; then
11549 eval "DEFAULT_$LINE"
11554 ac_cv_use_tipdlg='wxUSE_STARTUP_TIPS='$DEFAULT_wxUSE_STARTUP_TIPS
11559 eval "$ac_cv_use_tipdlg"
11560 if test "$no_cache" != 1; then
11561 echo $ac_cv_use_tipdlg >> ${wx_arg_cache_file}.tmp
11564 if test "$wxUSE_STARTUP_TIPS" = yes; then
11565 { echo "$as_me:$LINENO: result: yes" >&5
11566 echo "${ECHO_T}yes" >&6; }
11568 { echo "$as_me:$LINENO: result: no" >&5
11569 echo "${ECHO_T}no" >&6; }
11574 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-progressdlg" >&5
11575 echo $ECHO_N "checking for --${enablestring:-enable}-progressdlg... $ECHO_C" >&6; }
11577 # Check whether --enable-progressdlg was given.
11578 if test "${enable_progressdlg+set}" = set; then
11579 enableval=$enable_progressdlg;
11580 if test "$enableval" = yes; then
11581 ac_cv_use_progressdlg='wxUSE_PROGRESSDLG=yes'
11583 ac_cv_use_progressdlg='wxUSE_PROGRESSDLG=no'
11588 LINE=`grep "wxUSE_PROGRESSDLG" ${wx_arg_cache_file}`
11589 if test "x$LINE" != x ; then
11590 eval "DEFAULT_$LINE"
11595 ac_cv_use_progressdlg='wxUSE_PROGRESSDLG='$DEFAULT_wxUSE_PROGRESSDLG
11600 eval "$ac_cv_use_progressdlg"
11601 if test "$no_cache" != 1; then
11602 echo $ac_cv_use_progressdlg >> ${wx_arg_cache_file}.tmp
11605 if test "$wxUSE_PROGRESSDLG" = yes; then
11606 { echo "$as_me:$LINENO: result: yes" >&5
11607 echo "${ECHO_T}yes" >&6; }
11609 { echo "$as_me:$LINENO: result: no" >&5
11610 echo "${ECHO_T}no" >&6; }
11615 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-wizarddlg" >&5
11616 echo $ECHO_N "checking for --${enablestring:-enable}-wizarddlg... $ECHO_C" >&6; }
11618 # Check whether --enable-wizarddlg was given.
11619 if test "${enable_wizarddlg+set}" = set; then
11620 enableval=$enable_wizarddlg;
11621 if test "$enableval" = yes; then
11622 ac_cv_use_wizarddlg='wxUSE_WIZARDDLG=yes'
11624 ac_cv_use_wizarddlg='wxUSE_WIZARDDLG=no'
11629 LINE=`grep "wxUSE_WIZARDDLG" ${wx_arg_cache_file}`
11630 if test "x$LINE" != x ; then
11631 eval "DEFAULT_$LINE"
11636 ac_cv_use_wizarddlg='wxUSE_WIZARDDLG='$DEFAULT_wxUSE_WIZARDDLG
11641 eval "$ac_cv_use_wizarddlg"
11642 if test "$no_cache" != 1; then
11643 echo $ac_cv_use_wizarddlg >> ${wx_arg_cache_file}.tmp
11646 if test "$wxUSE_WIZARDDLG" = yes; then
11647 { echo "$as_me:$LINENO: result: yes" >&5
11648 echo "${ECHO_T}yes" >&6; }
11650 { echo "$as_me:$LINENO: result: no" >&5
11651 echo "${ECHO_T}no" >&6; }
11658 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-menus" >&5
11659 echo $ECHO_N "checking for --${enablestring:-enable}-menus... $ECHO_C" >&6; }
11661 # Check whether --enable-menus was given.
11662 if test "${enable_menus+set}" = set; then
11663 enableval=$enable_menus;
11664 if test "$enableval" = yes; then
11665 ac_cv_use_menus='wxUSE_MENUS=yes'
11667 ac_cv_use_menus='wxUSE_MENUS=no'
11672 LINE=`grep "wxUSE_MENUS" ${wx_arg_cache_file}`
11673 if test "x$LINE" != x ; then
11674 eval "DEFAULT_$LINE"
11679 ac_cv_use_menus='wxUSE_MENUS='$DEFAULT_wxUSE_MENUS
11684 eval "$ac_cv_use_menus"
11685 if test "$no_cache" != 1; then
11686 echo $ac_cv_use_menus >> ${wx_arg_cache_file}.tmp
11689 if test "$wxUSE_MENUS" = yes; then
11690 { echo "$as_me:$LINENO: result: yes" >&5
11691 echo "${ECHO_T}yes" >&6; }
11693 { echo "$as_me:$LINENO: result: no" >&5
11694 echo "${ECHO_T}no" >&6; }
11699 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-miniframe" >&5
11700 echo $ECHO_N "checking for --${enablestring:-enable}-miniframe... $ECHO_C" >&6; }
11702 # Check whether --enable-miniframe was given.
11703 if test "${enable_miniframe+set}" = set; then
11704 enableval=$enable_miniframe;
11705 if test "$enableval" = yes; then
11706 ac_cv_use_miniframe='wxUSE_MINIFRAME=yes'
11708 ac_cv_use_miniframe='wxUSE_MINIFRAME=no'
11713 LINE=`grep "wxUSE_MINIFRAME" ${wx_arg_cache_file}`
11714 if test "x$LINE" != x ; then
11715 eval "DEFAULT_$LINE"
11720 ac_cv_use_miniframe='wxUSE_MINIFRAME='$DEFAULT_wxUSE_MINIFRAME
11725 eval "$ac_cv_use_miniframe"
11726 if test "$no_cache" != 1; then
11727 echo $ac_cv_use_miniframe >> ${wx_arg_cache_file}.tmp
11730 if test "$wxUSE_MINIFRAME" = yes; then
11731 { echo "$as_me:$LINENO: result: yes" >&5
11732 echo "${ECHO_T}yes" >&6; }
11734 { echo "$as_me:$LINENO: result: no" >&5
11735 echo "${ECHO_T}no" >&6; }
11740 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tooltips" >&5
11741 echo $ECHO_N "checking for --${enablestring:-enable}-tooltips... $ECHO_C" >&6; }
11743 # Check whether --enable-tooltips was given.
11744 if test "${enable_tooltips+set}" = set; then
11745 enableval=$enable_tooltips;
11746 if test "$enableval" = yes; then
11747 ac_cv_use_tooltips='wxUSE_TOOLTIPS=yes'
11749 ac_cv_use_tooltips='wxUSE_TOOLTIPS=no'
11754 LINE=`grep "wxUSE_TOOLTIPS" ${wx_arg_cache_file}`
11755 if test "x$LINE" != x ; then
11756 eval "DEFAULT_$LINE"
11761 ac_cv_use_tooltips='wxUSE_TOOLTIPS='$DEFAULT_wxUSE_TOOLTIPS
11766 eval "$ac_cv_use_tooltips"
11767 if test "$no_cache" != 1; then
11768 echo $ac_cv_use_tooltips >> ${wx_arg_cache_file}.tmp
11771 if test "$wxUSE_TOOLTIPS" = yes; then
11772 { echo "$as_me:$LINENO: result: yes" >&5
11773 echo "${ECHO_T}yes" >&6; }
11775 { echo "$as_me:$LINENO: result: no" >&5
11776 echo "${ECHO_T}no" >&6; }
11781 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splines" >&5
11782 echo $ECHO_N "checking for --${enablestring:-enable}-splines... $ECHO_C" >&6; }
11784 # Check whether --enable-splines was given.
11785 if test "${enable_splines+set}" = set; then
11786 enableval=$enable_splines;
11787 if test "$enableval" = yes; then
11788 ac_cv_use_splines='wxUSE_SPLINES=yes'
11790 ac_cv_use_splines='wxUSE_SPLINES=no'
11795 LINE=`grep "wxUSE_SPLINES" ${wx_arg_cache_file}`
11796 if test "x$LINE" != x ; then
11797 eval "DEFAULT_$LINE"
11802 ac_cv_use_splines='wxUSE_SPLINES='$DEFAULT_wxUSE_SPLINES
11807 eval "$ac_cv_use_splines"
11808 if test "$no_cache" != 1; then
11809 echo $ac_cv_use_splines >> ${wx_arg_cache_file}.tmp
11812 if test "$wxUSE_SPLINES" = yes; then
11813 { echo "$as_me:$LINENO: result: yes" >&5
11814 echo "${ECHO_T}yes" >&6; }
11816 { echo "$as_me:$LINENO: result: no" >&5
11817 echo "${ECHO_T}no" >&6; }
11822 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mousewheel" >&5
11823 echo $ECHO_N "checking for --${enablestring:-enable}-mousewheel... $ECHO_C" >&6; }
11825 # Check whether --enable-mousewheel was given.
11826 if test "${enable_mousewheel+set}" = set; then
11827 enableval=$enable_mousewheel;
11828 if test "$enableval" = yes; then
11829 ac_cv_use_mousewheel='wxUSE_MOUSEWHEEL=yes'
11831 ac_cv_use_mousewheel='wxUSE_MOUSEWHEEL=no'
11836 LINE=`grep "wxUSE_MOUSEWHEEL" ${wx_arg_cache_file}`
11837 if test "x$LINE" != x ; then
11838 eval "DEFAULT_$LINE"
11843 ac_cv_use_mousewheel='wxUSE_MOUSEWHEEL='$DEFAULT_wxUSE_MOUSEWHEEL
11848 eval "$ac_cv_use_mousewheel"
11849 if test "$no_cache" != 1; then
11850 echo $ac_cv_use_mousewheel >> ${wx_arg_cache_file}.tmp
11853 if test "$wxUSE_MOUSEWHEEL" = yes; then
11854 { echo "$as_me:$LINENO: result: yes" >&5
11855 echo "${ECHO_T}yes" >&6; }
11857 { echo "$as_me:$LINENO: result: no" >&5
11858 echo "${ECHO_T}no" >&6; }
11863 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-validators" >&5
11864 echo $ECHO_N "checking for --${enablestring:-enable}-validators... $ECHO_C" >&6; }
11866 # Check whether --enable-validators was given.
11867 if test "${enable_validators+set}" = set; then
11868 enableval=$enable_validators;
11869 if test "$enableval" = yes; then
11870 ac_cv_use_validators='wxUSE_VALIDATORS=yes'
11872 ac_cv_use_validators='wxUSE_VALIDATORS=no'
11877 LINE=`grep "wxUSE_VALIDATORS" ${wx_arg_cache_file}`
11878 if test "x$LINE" != x ; then
11879 eval "DEFAULT_$LINE"
11884 ac_cv_use_validators='wxUSE_VALIDATORS='$DEFAULT_wxUSE_VALIDATORS
11889 eval "$ac_cv_use_validators"
11890 if test "$no_cache" != 1; then
11891 echo $ac_cv_use_validators >> ${wx_arg_cache_file}.tmp
11894 if test "$wxUSE_VALIDATORS" = yes; then
11895 { echo "$as_me:$LINENO: result: yes" >&5
11896 echo "${ECHO_T}yes" >&6; }
11898 { echo "$as_me:$LINENO: result: no" >&5
11899 echo "${ECHO_T}no" >&6; }
11904 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-busyinfo" >&5
11905 echo $ECHO_N "checking for --${enablestring:-enable}-busyinfo... $ECHO_C" >&6; }
11907 # Check whether --enable-busyinfo was given.
11908 if test "${enable_busyinfo+set}" = set; then
11909 enableval=$enable_busyinfo;
11910 if test "$enableval" = yes; then
11911 ac_cv_use_busyinfo='wxUSE_BUSYINFO=yes'
11913 ac_cv_use_busyinfo='wxUSE_BUSYINFO=no'
11918 LINE=`grep "wxUSE_BUSYINFO" ${wx_arg_cache_file}`
11919 if test "x$LINE" != x ; then
11920 eval "DEFAULT_$LINE"
11925 ac_cv_use_busyinfo='wxUSE_BUSYINFO='$DEFAULT_wxUSE_BUSYINFO
11930 eval "$ac_cv_use_busyinfo"
11931 if test "$no_cache" != 1; then
11932 echo $ac_cv_use_busyinfo >> ${wx_arg_cache_file}.tmp
11935 if test "$wxUSE_BUSYINFO" = yes; then
11936 { echo "$as_me:$LINENO: result: yes" >&5
11937 echo "${ECHO_T}yes" >&6; }
11939 { echo "$as_me:$LINENO: result: no" >&5
11940 echo "${ECHO_T}no" >&6; }
11945 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-joystick" >&5
11946 echo $ECHO_N "checking for --${enablestring:-enable}-joystick... $ECHO_C" >&6; }
11948 # Check whether --enable-joystick was given.
11949 if test "${enable_joystick+set}" = set; then
11950 enableval=$enable_joystick;
11951 if test "$enableval" = yes; then
11952 ac_cv_use_joystick='wxUSE_JOYSTICK=yes'
11954 ac_cv_use_joystick='wxUSE_JOYSTICK=no'
11959 LINE=`grep "wxUSE_JOYSTICK" ${wx_arg_cache_file}`
11960 if test "x$LINE" != x ; then
11961 eval "DEFAULT_$LINE"
11966 ac_cv_use_joystick='wxUSE_JOYSTICK='$DEFAULT_wxUSE_JOYSTICK
11971 eval "$ac_cv_use_joystick"
11972 if test "$no_cache" != 1; then
11973 echo $ac_cv_use_joystick >> ${wx_arg_cache_file}.tmp
11976 if test "$wxUSE_JOYSTICK" = yes; then
11977 { echo "$as_me:$LINENO: result: yes" >&5
11978 echo "${ECHO_T}yes" >&6; }
11980 { echo "$as_me:$LINENO: result: no" >&5
11981 echo "${ECHO_T}no" >&6; }
11986 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
11987 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6; }
11989 # Check whether --enable-metafile was given.
11990 if test "${enable_metafile+set}" = set; then
11991 enableval=$enable_metafile;
11992 if test "$enableval" = yes; then
11993 ac_cv_use_metafile='wxUSE_METAFILE=yes'
11995 ac_cv_use_metafile='wxUSE_METAFILE=no'
12000 LINE=`grep "wxUSE_METAFILE" ${wx_arg_cache_file}`
12001 if test "x$LINE" != x ; then
12002 eval "DEFAULT_$LINE"
12007 ac_cv_use_metafile='wxUSE_METAFILE='$DEFAULT_wxUSE_METAFILE
12012 eval "$ac_cv_use_metafile"
12013 if test "$no_cache" != 1; then
12014 echo $ac_cv_use_metafile >> ${wx_arg_cache_file}.tmp
12017 if test "$wxUSE_METAFILE" = yes; then
12018 { echo "$as_me:$LINENO: result: yes" >&5
12019 echo "${ECHO_T}yes" >&6; }
12021 { echo "$as_me:$LINENO: result: no" >&5
12022 echo "${ECHO_T}no" >&6; }
12027 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dragimage" >&5
12028 echo $ECHO_N "checking for --${enablestring:-enable}-dragimage... $ECHO_C" >&6; }
12030 # Check whether --enable-dragimage was given.
12031 if test "${enable_dragimage+set}" = set; then
12032 enableval=$enable_dragimage;
12033 if test "$enableval" = yes; then
12034 ac_cv_use_dragimage='wxUSE_DRAGIMAGE=yes'
12036 ac_cv_use_dragimage='wxUSE_DRAGIMAGE=no'
12041 LINE=`grep "wxUSE_DRAGIMAGE" ${wx_arg_cache_file}`
12042 if test "x$LINE" != x ; then
12043 eval "DEFAULT_$LINE"
12048 ac_cv_use_dragimage='wxUSE_DRAGIMAGE='$DEFAULT_wxUSE_DRAGIMAGE
12053 eval "$ac_cv_use_dragimage"
12054 if test "$no_cache" != 1; then
12055 echo $ac_cv_use_dragimage >> ${wx_arg_cache_file}.tmp
12058 if test "$wxUSE_DRAGIMAGE" = yes; then
12059 { echo "$as_me:$LINENO: result: yes" >&5
12060 echo "${ECHO_T}yes" >&6; }
12062 { echo "$as_me:$LINENO: result: no" >&5
12063 echo "${ECHO_T}no" >&6; }
12068 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accessibility" >&5
12069 echo $ECHO_N "checking for --${enablestring:-enable}-accessibility... $ECHO_C" >&6; }
12071 # Check whether --enable-accessibility was given.
12072 if test "${enable_accessibility+set}" = set; then
12073 enableval=$enable_accessibility;
12074 if test "$enableval" = yes; then
12075 ac_cv_use_accessibility='wxUSE_ACCESSIBILITY=yes'
12077 ac_cv_use_accessibility='wxUSE_ACCESSIBILITY=no'
12082 LINE=`grep "wxUSE_ACCESSIBILITY" ${wx_arg_cache_file}`
12083 if test "x$LINE" != x ; then
12084 eval "DEFAULT_$LINE"
12089 ac_cv_use_accessibility='wxUSE_ACCESSIBILITY='$DEFAULT_wxUSE_ACCESSIBILITY
12094 eval "$ac_cv_use_accessibility"
12095 if test "$no_cache" != 1; then
12096 echo $ac_cv_use_accessibility >> ${wx_arg_cache_file}.tmp
12099 if test "$wxUSE_ACCESSIBILITY" = yes; then
12100 { echo "$as_me:$LINENO: result: yes" >&5
12101 echo "${ECHO_T}yes" >&6; }
12103 { echo "$as_me:$LINENO: result: no" >&5
12104 echo "${ECHO_T}no" >&6; }
12108 if test "$wxUSE_MSW" = "1"; then
12111 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dccache" >&5
12112 echo $ECHO_N "checking for --${enablestring:-enable}-dccache... $ECHO_C" >&6; }
12114 # Check whether --enable-dccache was given.
12115 if test "${enable_dccache+set}" = set; then
12116 enableval=$enable_dccache;
12117 if test "$enableval" = yes; then
12118 ac_cv_use_dccache='wxUSE_DC_CACHEING=yes'
12120 ac_cv_use_dccache='wxUSE_DC_CACHEING=no'
12125 LINE=`grep "wxUSE_DC_CACHEING" ${wx_arg_cache_file}`
12126 if test "x$LINE" != x ; then
12127 eval "DEFAULT_$LINE"
12132 ac_cv_use_dccache='wxUSE_DC_CACHEING='$DEFAULT_wxUSE_DC_CACHEING
12137 eval "$ac_cv_use_dccache"
12138 if test "$no_cache" != 1; then
12139 echo $ac_cv_use_dccache >> ${wx_arg_cache_file}.tmp
12142 if test "$wxUSE_DC_CACHEING" = yes; then
12143 { echo "$as_me:$LINENO: result: yes" >&5
12144 echo "${ECHO_T}yes" >&6; }
12146 { echo "$as_me:$LINENO: result: no" >&5
12147 echo "${ECHO_T}no" >&6; }
12155 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-palette" >&5
12156 echo $ECHO_N "checking for --${enablestring:-enable}-palette... $ECHO_C" >&6; }
12158 # Check whether --enable-palette was given.
12159 if test "${enable_palette+set}" = set; then
12160 enableval=$enable_palette;
12161 if test "$enableval" = yes; then
12162 ac_cv_use_palette='wxUSE_PALETTE=yes'
12164 ac_cv_use_palette='wxUSE_PALETTE=no'
12169 LINE=`grep "wxUSE_PALETTE" ${wx_arg_cache_file}`
12170 if test "x$LINE" != x ; then
12171 eval "DEFAULT_$LINE"
12176 ac_cv_use_palette='wxUSE_PALETTE='$DEFAULT_wxUSE_PALETTE
12181 eval "$ac_cv_use_palette"
12182 if test "$no_cache" != 1; then
12183 echo $ac_cv_use_palette >> ${wx_arg_cache_file}.tmp
12186 if test "$wxUSE_PALETTE" = yes; then
12187 { echo "$as_me:$LINENO: result: yes" >&5
12188 echo "${ECHO_T}yes" >&6; }
12190 { echo "$as_me:$LINENO: result: no" >&5
12191 echo "${ECHO_T}no" >&6; }
12196 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-image" >&5
12197 echo $ECHO_N "checking for --${enablestring:-enable}-image... $ECHO_C" >&6; }
12199 # Check whether --enable-image was given.
12200 if test "${enable_image+set}" = set; then
12201 enableval=$enable_image;
12202 if test "$enableval" = yes; then
12203 ac_cv_use_image='wxUSE_IMAGE=yes'
12205 ac_cv_use_image='wxUSE_IMAGE=no'
12210 LINE=`grep "wxUSE_IMAGE" ${wx_arg_cache_file}`
12211 if test "x$LINE" != x ; then
12212 eval "DEFAULT_$LINE"
12217 ac_cv_use_image='wxUSE_IMAGE='$DEFAULT_wxUSE_IMAGE
12222 eval "$ac_cv_use_image"
12223 if test "$no_cache" != 1; then
12224 echo $ac_cv_use_image >> ${wx_arg_cache_file}.tmp
12227 if test "$wxUSE_IMAGE" = yes; then
12228 { echo "$as_me:$LINENO: result: yes" >&5
12229 echo "${ECHO_T}yes" >&6; }
12231 { echo "$as_me:$LINENO: result: no" >&5
12232 echo "${ECHO_T}no" >&6; }
12237 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gif" >&5
12238 echo $ECHO_N "checking for --${enablestring:-enable}-gif... $ECHO_C" >&6; }
12240 # Check whether --enable-gif was given.
12241 if test "${enable_gif+set}" = set; then
12242 enableval=$enable_gif;
12243 if test "$enableval" = yes; then
12244 ac_cv_use_gif='wxUSE_GIF=yes'
12246 ac_cv_use_gif='wxUSE_GIF=no'
12251 LINE=`grep "wxUSE_GIF" ${wx_arg_cache_file}`
12252 if test "x$LINE" != x ; then
12253 eval "DEFAULT_$LINE"
12258 ac_cv_use_gif='wxUSE_GIF='$DEFAULT_wxUSE_GIF
12263 eval "$ac_cv_use_gif"
12264 if test "$no_cache" != 1; then
12265 echo $ac_cv_use_gif >> ${wx_arg_cache_file}.tmp
12268 if test "$wxUSE_GIF" = yes; then
12269 { echo "$as_me:$LINENO: result: yes" >&5
12270 echo "${ECHO_T}yes" >&6; }
12272 { echo "$as_me:$LINENO: result: no" >&5
12273 echo "${ECHO_T}no" >&6; }
12278 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pcx" >&5
12279 echo $ECHO_N "checking for --${enablestring:-enable}-pcx... $ECHO_C" >&6; }
12281 # Check whether --enable-pcx was given.
12282 if test "${enable_pcx+set}" = set; then
12283 enableval=$enable_pcx;
12284 if test "$enableval" = yes; then
12285 ac_cv_use_pcx='wxUSE_PCX=yes'
12287 ac_cv_use_pcx='wxUSE_PCX=no'
12292 LINE=`grep "wxUSE_PCX" ${wx_arg_cache_file}`
12293 if test "x$LINE" != x ; then
12294 eval "DEFAULT_$LINE"
12299 ac_cv_use_pcx='wxUSE_PCX='$DEFAULT_wxUSE_PCX
12304 eval "$ac_cv_use_pcx"
12305 if test "$no_cache" != 1; then
12306 echo $ac_cv_use_pcx >> ${wx_arg_cache_file}.tmp
12309 if test "$wxUSE_PCX" = yes; then
12310 { echo "$as_me:$LINENO: result: yes" >&5
12311 echo "${ECHO_T}yes" >&6; }
12313 { echo "$as_me:$LINENO: result: no" >&5
12314 echo "${ECHO_T}no" >&6; }
12319 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tga" >&5
12320 echo $ECHO_N "checking for --${enablestring:-enable}-tga... $ECHO_C" >&6; }
12322 # Check whether --enable-tga was given.
12323 if test "${enable_tga+set}" = set; then
12324 enableval=$enable_tga;
12325 if test "$enableval" = yes; then
12326 ac_cv_use_tga='wxUSE_TGA=yes'
12328 ac_cv_use_tga='wxUSE_TGA=no'
12333 LINE=`grep "wxUSE_TGA" ${wx_arg_cache_file}`
12334 if test "x$LINE" != x ; then
12335 eval "DEFAULT_$LINE"
12340 ac_cv_use_tga='wxUSE_TGA='$DEFAULT_wxUSE_TGA
12345 eval "$ac_cv_use_tga"
12346 if test "$no_cache" != 1; then
12347 echo $ac_cv_use_tga >> ${wx_arg_cache_file}.tmp
12350 if test "$wxUSE_TGA" = yes; then
12351 { echo "$as_me:$LINENO: result: yes" >&5
12352 echo "${ECHO_T}yes" >&6; }
12354 { echo "$as_me:$LINENO: result: no" >&5
12355 echo "${ECHO_T}no" >&6; }
12360 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-iff" >&5
12361 echo $ECHO_N "checking for --${enablestring:-enable}-iff... $ECHO_C" >&6; }
12363 # Check whether --enable-iff was given.
12364 if test "${enable_iff+set}" = set; then
12365 enableval=$enable_iff;
12366 if test "$enableval" = yes; then
12367 ac_cv_use_iff='wxUSE_IFF=yes'
12369 ac_cv_use_iff='wxUSE_IFF=no'
12374 LINE=`grep "wxUSE_IFF" ${wx_arg_cache_file}`
12375 if test "x$LINE" != x ; then
12376 eval "DEFAULT_$LINE"
12381 ac_cv_use_iff='wxUSE_IFF='$DEFAULT_wxUSE_IFF
12386 eval "$ac_cv_use_iff"
12387 if test "$no_cache" != 1; then
12388 echo $ac_cv_use_iff >> ${wx_arg_cache_file}.tmp
12391 if test "$wxUSE_IFF" = yes; then
12392 { echo "$as_me:$LINENO: result: yes" >&5
12393 echo "${ECHO_T}yes" >&6; }
12395 { echo "$as_me:$LINENO: result: no" >&5
12396 echo "${ECHO_T}no" >&6; }
12401 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pnm" >&5
12402 echo $ECHO_N "checking for --${enablestring:-enable}-pnm... $ECHO_C" >&6; }
12404 # Check whether --enable-pnm was given.
12405 if test "${enable_pnm+set}" = set; then
12406 enableval=$enable_pnm;
12407 if test "$enableval" = yes; then
12408 ac_cv_use_pnm='wxUSE_PNM=yes'
12410 ac_cv_use_pnm='wxUSE_PNM=no'
12415 LINE=`grep "wxUSE_PNM" ${wx_arg_cache_file}`
12416 if test "x$LINE" != x ; then
12417 eval "DEFAULT_$LINE"
12422 ac_cv_use_pnm='wxUSE_PNM='$DEFAULT_wxUSE_PNM
12427 eval "$ac_cv_use_pnm"
12428 if test "$no_cache" != 1; then
12429 echo $ac_cv_use_pnm >> ${wx_arg_cache_file}.tmp
12432 if test "$wxUSE_PNM" = yes; then
12433 { echo "$as_me:$LINENO: result: yes" >&5
12434 echo "${ECHO_T}yes" >&6; }
12436 { echo "$as_me:$LINENO: result: no" >&5
12437 echo "${ECHO_T}no" >&6; }
12442 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xpm" >&5
12443 echo $ECHO_N "checking for --${enablestring:-enable}-xpm... $ECHO_C" >&6; }
12445 # Check whether --enable-xpm was given.
12446 if test "${enable_xpm+set}" = set; then
12447 enableval=$enable_xpm;
12448 if test "$enableval" = yes; then
12449 ac_cv_use_xpm='wxUSE_XPM=yes'
12451 ac_cv_use_xpm='wxUSE_XPM=no'
12456 LINE=`grep "wxUSE_XPM" ${wx_arg_cache_file}`
12457 if test "x$LINE" != x ; then
12458 eval "DEFAULT_$LINE"
12463 ac_cv_use_xpm='wxUSE_XPM='$DEFAULT_wxUSE_XPM
12468 eval "$ac_cv_use_xpm"
12469 if test "$no_cache" != 1; then
12470 echo $ac_cv_use_xpm >> ${wx_arg_cache_file}.tmp
12473 if test "$wxUSE_XPM" = yes; then
12474 { echo "$as_me:$LINENO: result: yes" >&5
12475 echo "${ECHO_T}yes" >&6; }
12477 { echo "$as_me:$LINENO: result: no" >&5
12478 echo "${ECHO_T}no" >&6; }
12483 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ico_cur" >&5
12484 echo $ECHO_N "checking for --${enablestring:-enable}-ico_cur... $ECHO_C" >&6; }
12486 # Check whether --enable-ico_cur was given.
12487 if test "${enable_ico_cur+set}" = set; then
12488 enableval=$enable_ico_cur;
12489 if test "$enableval" = yes; then
12490 ac_cv_use_ico_cur='wxUSE_ICO_CUR=yes'
12492 ac_cv_use_ico_cur='wxUSE_ICO_CUR=no'
12497 LINE=`grep "wxUSE_ICO_CUR" ${wx_arg_cache_file}`
12498 if test "x$LINE" != x ; then
12499 eval "DEFAULT_$LINE"
12504 ac_cv_use_ico_cur='wxUSE_ICO_CUR='$DEFAULT_wxUSE_ICO_CUR
12509 eval "$ac_cv_use_ico_cur"
12510 if test "$no_cache" != 1; then
12511 echo $ac_cv_use_ico_cur >> ${wx_arg_cache_file}.tmp
12514 if test "$wxUSE_ICO_CUR" = yes; then
12515 { echo "$as_me:$LINENO: result: yes" >&5
12516 echo "${ECHO_T}yes" >&6; }
12518 { echo "$as_me:$LINENO: result: no" >&5
12519 echo "${ECHO_T}no" >&6; }
12527 # Check whether --with-flavour was given.
12528 if test "${with_flavour+set}" = set; then
12529 withval=$with_flavour; WX_FLAVOUR="$withval"
12536 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-official_build" >&5
12537 echo $ECHO_N "checking for --${enablestring:-enable}-official_build... $ECHO_C" >&6; }
12539 # Check whether --enable-official_build was given.
12540 if test "${enable_official_build+set}" = set; then
12541 enableval=$enable_official_build;
12542 if test "$enableval" = yes; then
12543 ac_cv_use_official_build='wxUSE_OFFICIAL_BUILD=yes'
12545 ac_cv_use_official_build='wxUSE_OFFICIAL_BUILD=no'
12550 LINE=`grep "wxUSE_OFFICIAL_BUILD" ${wx_arg_cache_file}`
12551 if test "x$LINE" != x ; then
12552 eval "DEFAULT_$LINE"
12557 ac_cv_use_official_build='wxUSE_OFFICIAL_BUILD='$DEFAULT_wxUSE_OFFICIAL_BUILD
12562 eval "$ac_cv_use_official_build"
12563 if test "$no_cache" != 1; then
12564 echo $ac_cv_use_official_build >> ${wx_arg_cache_file}.tmp
12567 if test "$wxUSE_OFFICIAL_BUILD" = yes; then
12568 { echo "$as_me:$LINENO: result: yes" >&5
12569 echo "${ECHO_T}yes" >&6; }
12571 { echo "$as_me:$LINENO: result: no" >&5
12572 echo "${ECHO_T}no" >&6; }
12575 # Check whether --enable-vendor was given.
12576 if test "${enable_vendor+set}" = set; then
12577 enableval=$enable_vendor; VENDOR="$enableval"
12580 if test "x$VENDOR" = "x"; then
12587 echo "saving argument cache $wx_arg_cache_file"
12588 mv ${wx_arg_cache_file}.tmp ${wx_arg_cache_file}
12592 { echo "$as_me:$LINENO: checking for toolkit" >&5
12593 echo $ECHO_N "checking for toolkit... $ECHO_C" >&6; }
12595 # In Wine, we need to default to MSW, not GTK or MOTIF
12596 if test "$wxUSE_WINE" = "yes"; then
12597 DEFAULT_DEFAULT_wxUSE_GTK=0
12598 DEFAULT_DEFAULT_wxUSE_MOTIF=0
12599 DEFAULT_DEFAULT_wxUSE_MSW=1
12602 CXX=${CXX:-wineg++}
12606 if test "$wxUSE_GUI" = "yes"; then
12608 if test "$USE_BEOS" = 1; then
12609 { { echo "$as_me:$LINENO: error: BeOS GUI is not supported yet, use --disable-gui" >&5
12610 echo "$as_me: error: BeOS GUI is not supported yet, use --disable-gui" >&2;}
12611 { (exit 1); exit 1; }; }
12614 if test "$TOOLKIT_GIVEN" = 1; then
12615 for toolkit in `echo $ALL_TOOLKITS`; do
12617 eval "value=\$${var}"
12618 if test "x$value" = "xno"; then
12620 elif test "x$value" != "x"; then
12624 if test "x$value" != "x" -a "x$value" != "xyes" -a "x$value" != "xno"; then
12625 eval "wx${toolkit}_VERSION=$value"
12629 for toolkit in `echo $ALL_TOOLKITS`; do
12630 if test "$has_toolkit_in_cache" != 1; then
12631 var=DEFAULT_DEFAULT_wxUSE_$toolkit
12633 var=DEFAULT_wxUSE_$toolkit
12635 eval "version=\$DEFAULT_wx${toolkit}_VERSION"
12636 if test "x$version" != "x"; then
12637 eval "wx${toolkit}_VERSION=$version"
12640 eval "wxUSE_$toolkit=\$${var}"
12644 NUM_TOOLKITS=`expr ${wxUSE_COCOA:-0} + ${wxUSE_GTK:-0} + ${wxUSE_MAC:-0} \
12645 + ${wxUSE_MGL:-0} + ${wxUSE_DFB:-0} + ${wxUSE_MICROWIN:-0} \
12646 + ${wxUSE_MOTIF:-0} + ${wxUSE_MSW:-0} + ${wxUSE_X11:-0}`
12649 *-pc-os2_emx | *-pc-os2-emx )
12650 NUM_TOOLKITS=`expr ${NUM_TOOLKITS} + ${wxUSE_PM:-0}`
12653 case "$NUM_TOOLKITS" in
12657 { { echo "$as_me:$LINENO: error: Please specify a toolkit -- cannot determine the default for ${host}" >&5
12658 echo "$as_me: error: Please specify a toolkit -- cannot determine the default for ${host}" >&2;}
12659 { (exit 1); exit 1; }; }
12662 { { echo "$as_me:$LINENO: error: Please specify at most one toolkit (maybe some are cached in configarg.cache?)" >&5
12663 echo "$as_me: error: Please specify at most one toolkit (maybe some are cached in configarg.cache?)" >&2;}
12664 { (exit 1); exit 1; }; }
12667 # to be removed when --disable-gtk2 isn't needed
12668 if test "x$wxUSE_GTK2" = "xyes"; then
12670 elif test "x$wxUSE_GTK2" = "xno"; then
12674 for toolkit in `echo $ALL_TOOLKITS`; do
12676 eval "value=\$${var}"
12677 if test "x$value" != x; then
12678 cache_var=CACHE_$toolkit
12679 eval "cache=\$${cache_var}"
12680 if test "$cache" = 1; then
12681 echo "$var=$value" >> ${wx_arg_cache_file}
12682 eval "version=\$wx${toolkit}_VERSION"
12683 if test "x$version" != "x"; then
12684 echo "wx${toolkit}_VERSION=$version" >> ${wx_arg_cache_file}
12687 if test "$value" = 1; then
12688 toolkit_echo=`echo $toolkit | tr "[A-Z]" "[a-z]"`
12689 { echo "$as_me:$LINENO: result: $toolkit_echo" >&5
12690 echo "${ECHO_T}$toolkit_echo" >&6; }
12695 if test "x$host_alias" != "x"; then
12696 { echo "$as_me:$LINENO: result: base ($host_alias hosted) only" >&5
12697 echo "${ECHO_T}base ($host_alias hosted) only" >&6; }
12699 { echo "$as_me:$LINENO: result: base only" >&5
12700 echo "${ECHO_T}base only" >&6; }
12705 cat >confcache <<\_ACEOF
12706 # This file is a shell script that caches the results of configure
12707 # tests run on this system so they can be shared between configure
12708 # scripts and configure runs, see configure's option --config-cache.
12709 # It is not useful on other systems. If it contains results you don't
12710 # want to keep, you may remove or edit it.
12712 # config.status only pays attention to the cache file if you give it
12713 # the --recheck option to rerun configure.
12715 # `ac_cv_env_foo
' variables (set or unset) will be overridden when
12716 # loading this file, other *unset* `ac_cv_foo' will be assigned the
12717 # following values.
12721 # The following way of writing the cache mishandles newlines in values,
12722 # but we know of no workaround that is simple, portable, and efficient.
12723 # So, we kill variables containing newlines.
12724 # Ultrix sh set writes to stderr and can't be redirected directly,
12725 # and sets the high bit in the cache file unless we assign to the vars.
12727 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
12728 eval ac_val
=\$
$ac_var
12732 *_cv_
*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
12733 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
12736 _
| IFS
| as_nl
) ;; #(
12737 *) $as_unset $ac_var ;;
12743 case $as_nl`(ac_space=' '; set) 2>&1` in #(
12744 *${as_nl}ac_space
=\
*)
12745 # `set' does not quote correctly, so add quotes (double-quote
12746 # substitution turns \\\\ into \\, and sed turns \\ into \).
12749 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
12752 # `set' quotes correctly as required by POSIX, so do not add quotes.
12753 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
12762 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
12764 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
12766 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
12767 if test -w "$cache_file"; then
12768 test "x$cache_file" != "x/dev/null" &&
12769 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
12770 echo "$as_me: updating cache $cache_file" >&6;}
12771 cat confcache
>$cache_file
12773 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
12774 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
12784 ac_cpp
='$CPP $CPPFLAGS'
12785 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12786 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12787 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12788 if test -n "$ac_tool_prefix"; then
12789 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
12790 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
12791 { echo "$as_me:$LINENO: checking for $ac_word" >&5
12792 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
12793 if test "${ac_cv_prog_CC+set}" = set; then
12794 echo $ECHO_N "(cached) $ECHO_C" >&6
12796 if test -n "$CC"; then
12797 ac_cv_prog_CC
="$CC" # Let the user override the test.
12799 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12800 for as_dir
in $PATH
12803 test -z "$as_dir" && as_dir
=.
12804 for ac_exec_ext
in '' $ac_executable_extensions; do
12805 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12806 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
12807 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12817 if test -n "$CC"; then
12818 { echo "$as_me:$LINENO: result: $CC" >&5
12819 echo "${ECHO_T}$CC" >&6; }
12821 { echo "$as_me:$LINENO: result: no" >&5
12822 echo "${ECHO_T}no" >&6; }
12827 if test -z "$ac_cv_prog_CC"; then
12829 # Extract the first word of "gcc", so it can be a program name with args.
12830 set dummy gcc
; ac_word
=$2
12831 { echo "$as_me:$LINENO: checking for $ac_word" >&5
12832 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
12833 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
12834 echo $ECHO_N "(cached) $ECHO_C" >&6
12836 if test -n "$ac_ct_CC"; then
12837 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
12839 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12840 for as_dir
in $PATH
12843 test -z "$as_dir" && as_dir
=.
12844 for ac_exec_ext
in '' $ac_executable_extensions; do
12845 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12846 ac_cv_prog_ac_ct_CC
="gcc"
12847 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12856 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
12857 if test -n "$ac_ct_CC"; then
12858 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
12859 echo "${ECHO_T}$ac_ct_CC" >&6; }
12861 { echo "$as_me:$LINENO: result: no" >&5
12862 echo "${ECHO_T}no" >&6; }
12865 if test "x$ac_ct_CC" = x
; then
12868 case $cross_compiling:$ac_tool_warned in
12870 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
12871 whose name does not start with the host triplet. If you think this
12872 configuration is useful to you, please write to autoconf@gnu.org." >&5
12873 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
12874 whose name does not start with the host triplet. If you think this
12875 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
12876 ac_tool_warned
=yes ;;
12881 CC
="$ac_cv_prog_CC"
12884 if test -z "$CC"; then
12885 if test -n "$ac_tool_prefix"; then
12886 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
12887 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
12888 { echo "$as_me:$LINENO: checking for $ac_word" >&5
12889 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
12890 if test "${ac_cv_prog_CC+set}" = set; then
12891 echo $ECHO_N "(cached) $ECHO_C" >&6
12893 if test -n "$CC"; then
12894 ac_cv_prog_CC
="$CC" # Let the user override the test.
12896 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12897 for as_dir
in $PATH
12900 test -z "$as_dir" && as_dir
=.
12901 for ac_exec_ext
in '' $ac_executable_extensions; do
12902 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12903 ac_cv_prog_CC
="${ac_tool_prefix}cc"
12904 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12914 if test -n "$CC"; then
12915 { echo "$as_me:$LINENO: result: $CC" >&5
12916 echo "${ECHO_T}$CC" >&6; }
12918 { echo "$as_me:$LINENO: result: no" >&5
12919 echo "${ECHO_T}no" >&6; }
12925 if test -z "$CC"; then
12926 # Extract the first word of "cc", so it can be a program name with args.
12927 set dummy cc
; 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 ac_prog_rejected
=no
12937 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12938 for as_dir
in $PATH
12941 test -z "$as_dir" && as_dir
=.
12942 for ac_exec_ext
in '' $ac_executable_extensions; do
12943 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12944 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
12945 ac_prog_rejected
=yes
12949 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12956 if test $ac_prog_rejected = yes; then
12957 # We found a bogon in the path, so make sure we never use it.
12958 set dummy
$ac_cv_prog_CC
12960 if test $# != 0; then
12961 # We chose a different compiler from the bogus one.
12962 # However, it has the same basename, so the bogon will be chosen
12963 # first if we set CC to just the basename; use the full file name.
12965 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
12971 if test -n "$CC"; then
12972 { echo "$as_me:$LINENO: result: $CC" >&5
12973 echo "${ECHO_T}$CC" >&6; }
12975 { echo "$as_me:$LINENO: result: no" >&5
12976 echo "${ECHO_T}no" >&6; }
12981 if test -z "$CC"; then
12982 if test -n "$ac_tool_prefix"; then
12983 for ac_prog
in cl.exe
12985 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
12986 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
12987 { echo "$as_me:$LINENO: checking for $ac_word" >&5
12988 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
12989 if test "${ac_cv_prog_CC+set}" = set; then
12990 echo $ECHO_N "(cached) $ECHO_C" >&6
12992 if test -n "$CC"; then
12993 ac_cv_prog_CC
="$CC" # Let the user override the test.
12995 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12996 for as_dir
in $PATH
12999 test -z "$as_dir" && as_dir
=.
13000 for ac_exec_ext
in '' $ac_executable_extensions; do
13001 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13002 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
13003 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13013 if test -n "$CC"; then
13014 { echo "$as_me:$LINENO: result: $CC" >&5
13015 echo "${ECHO_T}$CC" >&6; }
13017 { echo "$as_me:$LINENO: result: no" >&5
13018 echo "${ECHO_T}no" >&6; }
13022 test -n "$CC" && break
13025 if test -z "$CC"; then
13027 for ac_prog
in cl.exe
13029 # Extract the first word of "$ac_prog", so it can be a program name with args.
13030 set dummy
$ac_prog; ac_word
=$2
13031 { echo "$as_me:$LINENO: checking for $ac_word" >&5
13032 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
13033 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
13034 echo $ECHO_N "(cached) $ECHO_C" >&6
13036 if test -n "$ac_ct_CC"; then
13037 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
13039 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13040 for as_dir
in $PATH
13043 test -z "$as_dir" && as_dir
=.
13044 for ac_exec_ext
in '' $ac_executable_extensions; do
13045 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13046 ac_cv_prog_ac_ct_CC
="$ac_prog"
13047 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13056 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
13057 if test -n "$ac_ct_CC"; then
13058 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
13059 echo "${ECHO_T}$ac_ct_CC" >&6; }
13061 { echo "$as_me:$LINENO: result: no" >&5
13062 echo "${ECHO_T}no" >&6; }
13066 test -n "$ac_ct_CC" && break
13069 if test "x$ac_ct_CC" = x
; then
13072 case $cross_compiling:$ac_tool_warned in
13074 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
13075 whose name does not start with the host triplet. If you think this
13076 configuration is useful to you, please write to autoconf@gnu.org." >&5
13077 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
13078 whose name does not start with the host triplet. If you think this
13079 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
13080 ac_tool_warned
=yes ;;
13089 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
13090 See \`config.log' for more details." >&5
13091 echo "$as_me: error: no acceptable C compiler found in \$PATH
13092 See \`config.log' for more details." >&2;}
13093 { (exit 1); exit 1; }; }
13095 # Provide some information about the compiler.
13096 echo "$as_me:$LINENO: checking for C compiler version" >&5
13097 ac_compiler
=`set X $ac_compile; echo $2`
13098 { (ac_try
="$ac_compiler --version >&5"
13099 case "(($ac_try" in
13100 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
13101 *) ac_try_echo=$ac_try;;
13103 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13104 (eval "$ac_compiler --version >&5") 2>&5
13106 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13107 (exit $ac_status); }
13108 { (ac_try="$ac_compiler -v >&5"
13109 case "(($ac_try" in
13110 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
13111 *) ac_try_echo
=$ac_try;;
13113 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13114 (eval "$ac_compiler -v >&5") 2>&5
13116 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13117 (exit $ac_status); }
13118 { (ac_try
="$ac_compiler -V >&5"
13119 case "(($ac_try" in
13120 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
13121 *) ac_try_echo=$ac_try;;
13123 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13124 (eval "$ac_compiler -V >&5") 2>&5
13126 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13127 (exit $ac_status); }
13129 cat >conftest.$ac_ext <<_ACEOF
13132 cat confdefs.h >>conftest.$ac_ext
13133 cat >>conftest.$ac_ext <<_ACEOF
13134 /* end confdefs.h. */
13144 ac_clean_files_save=$ac_clean_files
13145 ac_clean_files="$ac_clean_files a.out a.exe b.out"
13146 # Try to create an executable without -o first, disregard a.out.
13147 # It will help us diagnose broken compilers, and finding out an intuition
13149 { echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
13150 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
13151 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
13153 # List of possible output files, starting from the most likely.
13154 # The algorithm is not robust to junk in `.
', hence go to wildcards (a.*)
13155 # only as a last resort. b.out is created by i960 compilers.
13156 ac_files='a_out.exe a.exe conftest.exe a.out conftest a.
* conftest.
* b.out
'
13158 # The IRIX 6 linker writes into existing files which may not be
13159 # executable, retaining their permissions. Remove them first so a
13160 # subsequent execution test works.
13162 for ac_file in $ac_files
13165 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
13166 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
13171 if { (ac_try="$ac_link_default"
13172 case "(($ac_try" in
13173 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13174 *) ac_try_echo=$ac_try;;
13176 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13177 (eval "$ac_link_default") 2>&5
13179 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13180 (exit $ac_status); }; then
13181 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
13182 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
13183 # in a Makefile. We should not override ac_cv_exeext if it was cached,
13184 # so that the user can short-circuit this test for compilers unknown to
13186 for ac_file
in $ac_files ''
13188 test -f "$ac_file" || continue
13190 *.
$ac_ext | *.xcoff
| *.tds
| *.d
| *.pdb
| *.xSYM
| *.bb
| *.bbg
| *.map
| *.inf
| *.o
| *.obj
)
13193 # We found the default executable, but exeext='' is most
13197 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
13199 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
13201 # We set ac_cv_exeext here because the later test for it is not
13202 # safe: cross compilers may not add the suffix if given an `-o'
13203 # argument, so we may need to know it at that point already.
13204 # Even if this section looks crufty: it has the advantage of
13205 # actually working.
13211 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
13217 { echo "$as_me:$LINENO: result: $ac_file" >&5
13218 echo "${ECHO_T}$ac_file" >&6; }
13219 if test -z "$ac_file"; then
13220 echo "$as_me: failed program was:" >&5
13221 sed 's/^/| /' conftest.
$ac_ext >&5
13223 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
13224 See \`config.log' for more details." >&5
13225 echo "$as_me: error: C compiler cannot create executables
13226 See \`config.log' for more details." >&2;}
13227 { (exit 77); exit 77; }; }
13230 ac_exeext
=$ac_cv_exeext
13232 # Check that the compiler produces executables we can run. If not, either
13233 # the compiler is broken, or we cross compile.
13234 { echo "$as_me:$LINENO: checking whether the C compiler works" >&5
13235 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
13236 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
13237 # If not cross compiling, check that we can run a simple program.
13238 if test "$cross_compiling" != yes; then
13239 if { ac_try
='./$ac_file'
13240 { (case "(($ac_try" in
13241 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
13242 *) ac_try_echo=$ac_try;;
13244 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13245 (eval "$ac_try") 2>&5
13247 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13248 (exit $ac_status); }; }; then
13251 if test "$cross_compiling" = maybe; then
13252 cross_compiling=yes
13254 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
13255 If you meant to cross compile, use \`--host'.
13256 See \`config.log' for more details.
" >&5
13257 echo "$as_me: error
: cannot run C compiled programs.
13258 If you meant to cross compile
, use \
`--host'.
13259 See \`config.log
' for more details." >&2;}
13260 { (exit 1); exit 1; }; }
13264 { echo "$as_me:$LINENO: result: yes" >&5
13265 echo "${ECHO_T}yes" >&6; }
13267 rm -f a.out a.exe conftest$ac_cv_exeext b.out
13268 ac_clean_files=$ac_clean_files_save
13269 # Check that the compiler produces executables we can run. If not, either
13270 # the compiler is broken, or we cross compile.
13271 { echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
13272 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
13273 { echo "$as_me:$LINENO: result: $cross_compiling" >&5
13274 echo "${ECHO_T}$cross_compiling" >&6; }
13276 { echo "$as_me:$LINENO: checking for suffix of executables" >&5
13277 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
13278 if { (ac_try="$ac_link"
13279 case "(($ac_try" in
13280 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13281 *) ac_try_echo=$ac_try;;
13283 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13284 (eval "$ac_link") 2>&5
13286 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13287 (exit $ac_status); }; then
13288 # If both `conftest.exe' and
`conftest' are `present
' (well, observable)
13289 # catch `conftest.exe'. For instance with Cygwin
, `ls conftest' will
13290 # work properly (i.e., refer to `conftest.exe
'), while it won't with
13292 for ac_file
in conftest.exe conftest conftest.
*; do
13293 test -f "$ac_file" || continue
13295 *.
$ac_ext | *.xcoff
| *.tds
| *.d
| *.pdb
| *.xSYM
| *.bb
| *.bbg
| *.map
| *.inf
| *.o
| *.obj
) ;;
13296 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
13302 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
13303 See \`config.log' for more details." >&5
13304 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
13305 See \`config.log' for more details." >&2;}
13306 { (exit 1); exit 1; }; }
13309 rm -f conftest
$ac_cv_exeext
13310 { echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
13311 echo "${ECHO_T}$ac_cv_exeext" >&6; }
13313 rm -f conftest.
$ac_ext
13314 EXEEXT
=$ac_cv_exeext
13316 { echo "$as_me:$LINENO: checking for suffix of object files" >&5
13317 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
13318 if test "${ac_cv_objext+set}" = set; then
13319 echo $ECHO_N "(cached) $ECHO_C" >&6
13321 cat >conftest.
$ac_ext <<_ACEOF
13324 cat confdefs.h
>>conftest.
$ac_ext
13325 cat >>conftest.
$ac_ext <<_ACEOF
13326 /* end confdefs.h. */
13336 rm -f conftest.o conftest.obj
13337 if { (ac_try
="$ac_compile"
13338 case "(($ac_try" in
13339 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
13340 *) ac_try_echo=$ac_try;;
13342 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13343 (eval "$ac_compile") 2>&5
13345 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13346 (exit $ac_status); }; then
13347 for ac_file in conftest.o conftest.obj conftest.*; do
13348 test -f "$ac_file" || continue;
13350 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
13351 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
13356 echo "$as_me: failed program was:" >&5
13357 sed 's/^/| /' conftest.$ac_ext >&5
13359 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
13360 See \`config.log
' for more details." >&5
13361 echo "$as_me: error: cannot compute suffix of object files: cannot compile
13362 See \`config.log' for more details.
" >&2;}
13363 { (exit 1); exit 1; }; }
13366 rm -f conftest.$ac_cv_objext conftest.$ac_ext
13368 { echo "$as_me:$LINENO: result
: $ac_cv_objext" >&5
13369 echo "${ECHO_T}$ac_cv_objext" >&6; }
13370 OBJEXT=$ac_cv_objext
13372 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler
" >&5
13373 echo $ECHO_N "checking whether we are using the GNU C compiler...
$ECHO_C" >&6; }
13374 if test "${ac_cv_c_compiler_gnu+set}" = set; then
13375 echo $ECHO_N "(cached
) $ECHO_C" >&6
13377 cat >conftest.$ac_ext <<_ACEOF
13380 cat confdefs.h >>conftest.$ac_ext
13381 cat >>conftest.$ac_ext <<_ACEOF
13382 /* end confdefs.h. */
13395 rm -f conftest.$ac_objext
13396 if { (ac_try="$ac_compile"
13397 case "(($ac_try" in
13398 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13399 *) ac_try_echo=$ac_try;;
13401 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
13402 (eval "$ac_compile") 2>conftest.er1
13404 grep -v '^ *+' conftest.er1 >conftest.err
13406 cat conftest.err >&5
13407 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
13408 (exit $ac_status); } && {
13409 test -z "$ac_c_werror_flag" ||
13410 test ! -s conftest.err
13411 } && test -s conftest.$ac_objext; then
13412 ac_compiler_gnu=yes
13414 echo "$as_me: failed program was
:" >&5
13415 sed 's/^/| /' conftest.$ac_ext >&5
13420 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13421 ac_cv_c_compiler_gnu=$ac_compiler_gnu
13424 { echo "$as_me:$LINENO: result
: $ac_cv_c_compiler_gnu" >&5
13425 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
13426 GCC=`test $ac_compiler_gnu = yes && echo yes`
13427 ac_test_CFLAGS=${CFLAGS+set}
13428 ac_save_CFLAGS=$CFLAGS
13429 { echo "$as_me:$LINENO: checking whether
$CC accepts
-g" >&5
13430 echo $ECHO_N "checking whether
$CC accepts
-g...
$ECHO_C" >&6; }
13431 if test "${ac_cv_prog_cc_g+set}" = set; then
13432 echo $ECHO_N "(cached
) $ECHO_C" >&6
13434 ac_save_c_werror_flag=$ac_c_werror_flag
13435 ac_c_werror_flag=yes
13438 cat >conftest.$ac_ext <<_ACEOF
13441 cat confdefs.h >>conftest.$ac_ext
13442 cat >>conftest.$ac_ext <<_ACEOF
13443 /* end confdefs.h. */
13453 rm -f conftest.$ac_objext
13454 if { (ac_try="$ac_compile"
13455 case "(($ac_try" in
13456 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13457 *) ac_try_echo=$ac_try;;
13459 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
13460 (eval "$ac_compile") 2>conftest.er1
13462 grep -v '^ *+' conftest.er1 >conftest.err
13464 cat conftest.err >&5
13465 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
13466 (exit $ac_status); } && {
13467 test -z "$ac_c_werror_flag" ||
13468 test ! -s conftest.err
13469 } && test -s conftest.$ac_objext; then
13470 ac_cv_prog_cc_g=yes
13472 echo "$as_me: failed program was
:" >&5
13473 sed 's/^/| /' conftest.$ac_ext >&5
13476 cat >conftest.$ac_ext <<_ACEOF
13479 cat confdefs.h >>conftest.$ac_ext
13480 cat >>conftest.$ac_ext <<_ACEOF
13481 /* end confdefs.h. */
13491 rm -f conftest.$ac_objext
13492 if { (ac_try="$ac_compile"
13493 case "(($ac_try" in
13494 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13495 *) ac_try_echo=$ac_try;;
13497 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
13498 (eval "$ac_compile") 2>conftest.er1
13500 grep -v '^ *+' conftest.er1 >conftest.err
13502 cat conftest.err >&5
13503 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
13504 (exit $ac_status); } && {
13505 test -z "$ac_c_werror_flag" ||
13506 test ! -s conftest.err
13507 } && test -s conftest.$ac_objext; then
13510 echo "$as_me: failed program was
:" >&5
13511 sed 's/^/| /' conftest.$ac_ext >&5
13513 ac_c_werror_flag=$ac_save_c_werror_flag
13515 cat >conftest.$ac_ext <<_ACEOF
13518 cat confdefs.h >>conftest.$ac_ext
13519 cat >>conftest.$ac_ext <<_ACEOF
13520 /* end confdefs.h. */
13530 rm -f conftest.$ac_objext
13531 if { (ac_try="$ac_compile"
13532 case "(($ac_try" in
13533 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13534 *) ac_try_echo=$ac_try;;
13536 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
13537 (eval "$ac_compile") 2>conftest.er1
13539 grep -v '^ *+' conftest.er1 >conftest.err
13541 cat conftest.err >&5
13542 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
13543 (exit $ac_status); } && {
13544 test -z "$ac_c_werror_flag" ||
13545 test ! -s conftest.err
13546 } && test -s conftest.$ac_objext; then
13547 ac_cv_prog_cc_g=yes
13549 echo "$as_me: failed program was
:" >&5
13550 sed 's/^/| /' conftest.$ac_ext >&5
13555 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13558 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13561 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13562 ac_c_werror_flag=$ac_save_c_werror_flag
13564 { echo "$as_me:$LINENO: result
: $ac_cv_prog_cc_g" >&5
13565 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
13566 if test "$ac_test_CFLAGS" = set; then
13567 CFLAGS=$ac_save_CFLAGS
13568 elif test $ac_cv_prog_cc_g = yes; then
13569 if test "$GCC" = yes; then
13575 if test "$GCC" = yes; then
13581 { echo "$as_me:$LINENO: checking
for $CC option to accept ISO C89
" >&5
13582 echo $ECHO_N "checking
for $CC option to accept ISO C89...
$ECHO_C" >&6; }
13583 if test "${ac_cv_prog_cc_c89+set}" = set; then
13584 echo $ECHO_N "(cached
) $ECHO_C" >&6
13586 ac_cv_prog_cc_c89=no
13588 cat >conftest.$ac_ext <<_ACEOF
13591 cat confdefs.h >>conftest.$ac_ext
13592 cat >>conftest.$ac_ext <<_ACEOF
13593 /* end confdefs.h. */
13594 #include <stdarg.h>
13596 #include <sys/types.h>
13597 #include <sys/stat.h>
13598 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
13599 struct buf { int x; };
13600 FILE * (*rcsopen) (struct buf *, struct stat *, int);
13601 static char *e (p, i)
13607 static char *f (char * (*g) (char **, int), char **p, ...)
13612 s = g (p, va_arg (v,int));
13617 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
13618 function prototypes and stuff, but not '\xHH' hex character constants.
13619 These don't provoke an error unfortunately, instead are silently treated
13620 as 'x'. The following induces an error, until -std is added to get
13621 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
13622 array size at least. It's necessary to write '\x00'==0 to get something
13623 that's true only with -std. */
13624 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
13626 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
13627 inside strings and character constants. */
13629 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
13631 int test (int i, double x);
13632 struct s1 {int (*f) (int a);};
13633 struct s2 {int (*f) (double a);};
13634 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
13640 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
13645 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
13646 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
13648 CC="$ac_save_CC $ac_arg"
13649 rm -f conftest.$ac_objext
13650 if { (ac_try="$ac_compile"
13651 case "(($ac_try" in
13652 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13653 *) ac_try_echo=$ac_try;;
13655 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
13656 (eval "$ac_compile") 2>conftest.er1
13658 grep -v '^ *+' conftest.er1 >conftest.err
13660 cat conftest.err >&5
13661 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
13662 (exit $ac_status); } && {
13663 test -z "$ac_c_werror_flag" ||
13664 test ! -s conftest.err
13665 } && test -s conftest.$ac_objext; then
13666 ac_cv_prog_cc_c89=$ac_arg
13668 echo "$as_me: failed program was
:" >&5
13669 sed 's/^/| /' conftest.$ac_ext >&5
13674 rm -f core conftest.err conftest.$ac_objext
13675 test "x
$ac_cv_prog_cc_c89" != "xno
" && break
13677 rm -f conftest.$ac_ext
13682 case "x
$ac_cv_prog_cc_c89" in
13684 { echo "$as_me:$LINENO: result
: none needed
" >&5
13685 echo "${ECHO_T}none needed
" >&6; } ;;
13687 { echo "$as_me:$LINENO: result
: unsupported
" >&5
13688 echo "${ECHO_T}unsupported
" >&6; } ;;
13690 CC="$CC $ac_cv_prog_cc_c89"
13691 { echo "$as_me:$LINENO: result
: $ac_cv_prog_cc_c89" >&5
13692 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
13697 ac_cpp='$CPP $CPPFLAGS'
13698 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13699 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13700 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13705 ac_cpp='$CPP $CPPFLAGS'
13706 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13707 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13708 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13710 { echo "$as_me:$LINENO: checking whether we are using the Intel C compiler
" >&5
13711 echo $ECHO_N "checking whether we are using the Intel C compiler...
$ECHO_C" >&6; }
13712 if test "${bakefile_cv_c_compiler___INTEL_COMPILER+set}" = set; then
13713 echo $ECHO_N "(cached
) $ECHO_C" >&6
13715 cat >conftest.$ac_ext <<_ACEOF
13718 cat confdefs.h >>conftest.$ac_ext
13719 cat >>conftest.$ac_ext <<_ACEOF
13720 /* end confdefs.h. */
13726 #ifndef __INTEL_COMPILER
13734 rm -f conftest.$ac_objext
13735 if { (ac_try="$ac_compile"
13736 case "(($ac_try" in
13737 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13738 *) ac_try_echo=$ac_try;;
13740 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
13741 (eval "$ac_compile") 2>conftest.er1
13743 grep -v '^ *+' conftest.er1 >conftest.err
13745 cat conftest.err >&5
13746 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
13747 (exit $ac_status); } && {
13748 test -z "$ac_c_werror_flag" ||
13749 test ! -s conftest.err
13750 } && test -s conftest.$ac_objext; then
13751 bakefile_cv_c_compiler___INTEL_COMPILER=yes
13753 echo "$as_me: failed program was
:" >&5
13754 sed 's/^/| /' conftest.$ac_ext >&5
13756 bakefile_cv_c_compiler___INTEL_COMPILER=no
13760 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13764 { echo "$as_me:$LINENO: result
: $bakefile_cv_c_compiler___INTEL_COMPILER" >&5
13765 echo "${ECHO_T}$bakefile_cv_c_compiler___INTEL_COMPILER" >&6; }
13767 ac_cpp='$CPP $CPPFLAGS'
13768 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13769 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13770 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13772 if test "x
$bakefile_cv_c_compiler___INTEL_COMPILER" = "xyes
"; then
13779 if test "x
$GCC" != "xyes
"; then
13780 if test "xCC
" = "xC
"; then
13781 { echo "$as_me:$LINENO: checking
if the C compiler requires
-ext o
" >&5
13782 echo $ECHO_N "checking
if the C compiler requires
-ext o...
$ECHO_C" >&6; }
13783 if test "${bakefile_cv_c_exto+set}" = set; then
13784 echo $ECHO_N "(cached
) $ECHO_C" >&6
13786 cat >conftest.$ac_ext <<_ACEOF
13789 cat confdefs.h >>conftest.$ac_ext
13790 cat >>conftest.$ac_ext <<_ACEOF
13791 /* end confdefs.h. */
13801 rm -f conftest.$ac_objext conftest.$ac_ext.o
13802 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13803 (eval $ac_compile) 2>&5
13805 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
13806 (exit $ac_status); }; then
13807 for ac_file in `(ls conftest.* 2>/dev/null)`; do
13809 conftest.$ac_ext.o)
13810 bakefile_cv_c_exto="-ext o
"
13817 { { echo "$as_me:$LINENO: error
: cannot figure out
if compiler needs
-ext o
: cannot compile
13818 See \
`config.log' for more details." >&5
13819 echo "$as_me: error: cannot figure out if compiler needs -ext o: cannot compile
13820 See \`config.log
' for more details." >&2;}
13821 { (exit 1); exit 1; }; }
13825 rm -f conftest.$ac_ext.o conftest.$ac_objext conftest.$ac_ext
13828 { echo "$as_me:$LINENO: result: $bakefile_cv_c_exto" >&5
13829 echo "${ECHO_T}$bakefile_cv_c_exto" >&6; }
13830 if test "x$bakefile_cv_c_exto" '!=' "x"; then
13831 if test "c" = "c"; then
13832 CFLAGS="$bakefile_cv_c_exto $CFLAGS"
13834 if test "c" = "cxx"; then
13835 CXXFLAGS="$bakefile_cv_c_exto $CXXFLAGS"
13839 if test "x$bakefile_cv_c_exto" '!=' "x"; then
13840 unset ac_cv_prog_cc_g
13841 ac_test_CFLAGS=${CFLAGS+set}
13842 ac_save_CFLAGS=$CFLAGS
13843 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
13844 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
13845 if test "${ac_cv_prog_cc_g+set}" = set; then
13846 echo $ECHO_N "(cached) $ECHO_C" >&6
13848 ac_save_c_werror_flag=$ac_c_werror_flag
13849 ac_c_werror_flag=yes
13852 cat >conftest.$ac_ext <<_ACEOF
13855 cat confdefs.h >>conftest.$ac_ext
13856 cat >>conftest.$ac_ext <<_ACEOF
13857 /* end confdefs.h. */
13867 rm -f conftest.$ac_objext
13868 if { (ac_try="$ac_compile"
13869 case "(($ac_try" in
13870 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13871 *) ac_try_echo=$ac_try;;
13873 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13874 (eval "$ac_compile") 2>conftest.er1
13876 grep -v '^
*+' conftest.er1 >conftest.err
13878 cat conftest.err >&5
13879 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13880 (exit $ac_status); } && {
13881 test -z "$ac_c_werror_flag" ||
13882 test ! -s conftest.err
13883 } && test -s conftest.$ac_objext; then
13884 ac_cv_prog_cc_g=yes
13886 echo "$as_me: failed program was:" >&5
13887 sed 's
/^
/| /' conftest.$ac_ext >&5
13890 cat >conftest.$ac_ext <<_ACEOF
13893 cat confdefs.h >>conftest.$ac_ext
13894 cat >>conftest.$ac_ext <<_ACEOF
13895 /* end confdefs.h. */
13905 rm -f conftest.$ac_objext
13906 if { (ac_try="$ac_compile"
13907 case "(($ac_try" in
13908 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13909 *) ac_try_echo=$ac_try;;
13911 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13912 (eval "$ac_compile") 2>conftest.er1
13914 grep -v '^
*+' conftest.er1 >conftest.err
13916 cat conftest.err >&5
13917 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13918 (exit $ac_status); } && {
13919 test -z "$ac_c_werror_flag" ||
13920 test ! -s conftest.err
13921 } && test -s conftest.$ac_objext; then
13924 echo "$as_me: failed program was:" >&5
13925 sed 's
/^
/| /' conftest.$ac_ext >&5
13927 ac_c_werror_flag=$ac_save_c_werror_flag
13929 cat >conftest.$ac_ext <<_ACEOF
13932 cat confdefs.h >>conftest.$ac_ext
13933 cat >>conftest.$ac_ext <<_ACEOF
13934 /* end confdefs.h. */
13944 rm -f conftest.$ac_objext
13945 if { (ac_try="$ac_compile"
13946 case "(($ac_try" in
13947 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13948 *) ac_try_echo=$ac_try;;
13950 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13951 (eval "$ac_compile") 2>conftest.er1
13953 grep -v '^
*+' conftest.er1 >conftest.err
13955 cat conftest.err >&5
13956 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13957 (exit $ac_status); } && {
13958 test -z "$ac_c_werror_flag" ||
13959 test ! -s conftest.err
13960 } && test -s conftest.$ac_objext; then
13961 ac_cv_prog_cc_g=yes
13963 echo "$as_me: failed program was:" >&5
13964 sed 's
/^
/| /' conftest.$ac_ext >&5
13969 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13972 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13975 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13976 ac_c_werror_flag=$ac_save_c_werror_flag
13978 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
13979 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
13980 if test "$ac_test_CFLAGS" = set; then
13981 CFLAGS=$ac_save_CFLAGS
13982 elif test $ac_cv_prog_cc_g = yes; then
13983 if test "$GCC" = yes; then
13989 if test "$GCC" = yes; then
14001 ac_cpp='$CPP $CPPFLAGS'
14002 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
14003 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
14004 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14006 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C compiler" >&5
14007 echo $ECHO_N "checking whether we are using the IBM xlC C compiler... $ECHO_C" >&6; }
14008 if test "${bakefile_cv_c_compiler_xlc+set}" = set; then
14009 echo $ECHO_N "(cached) $ECHO_C" >&6
14011 cat >conftest.$ac_ext <<_ACEOF
14014 cat confdefs.h >>conftest.$ac_ext
14015 cat >>conftest.$ac_ext <<_ACEOF
14016 /* end confdefs.h. */
14029 rm -f conftest.$ac_objext
14030 if { (ac_try="$ac_compile"
14031 case "(($ac_try" in
14032 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14033 *) ac_try_echo=$ac_try;;
14035 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14036 (eval "$ac_compile") 2>conftest.er1
14038 grep -v '^
*+' conftest.er1 >conftest.err
14040 cat conftest.err >&5
14041 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14042 (exit $ac_status); } && {
14043 test -z "$ac_c_werror_flag" ||
14044 test ! -s conftest.err
14045 } && test -s conftest.$ac_objext; then
14046 bakefile_compiler_xlc=yes
14048 echo "$as_me: failed program was:" >&5
14049 sed 's
/^
/| /' conftest.$ac_ext >&5
14051 bakefile_compiler_xlc=no
14054 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14055 bakefile_cv_c_compiler_xlc=$bakefile_compiler_xlc
14058 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler_xlc" >&5
14059 echo "${ECHO_T}$bakefile_cv_c_compiler_xlc" >&6; }
14061 XLCC=`test $bakefile_cv_c_compiler_xlc = yes && echo yes`
14063 ac_cpp='$CPP $CPPFLAGS'
14064 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
14065 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
14066 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14073 ac_cpp='$CPP $CPPFLAGS'
14074 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
14075 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
14076 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14078 { echo "$as_me:$LINENO: checking whether we are using the Metrowerks C compiler" >&5
14079 echo $ECHO_N "checking whether we are using the Metrowerks C compiler... $ECHO_C" >&6; }
14080 if test "${bakefile_cv_c_compiler_mwerks+set}" = set; then
14081 echo $ECHO_N "(cached) $ECHO_C" >&6
14083 cat >conftest.$ac_ext <<_ACEOF
14086 cat confdefs.h >>conftest.$ac_ext
14087 cat >>conftest.$ac_ext <<_ACEOF
14088 /* end confdefs.h. */
14101 rm -f conftest.$ac_objext
14102 if { (ac_try="$ac_compile"
14103 case "(($ac_try" in
14104 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14105 *) ac_try_echo=$ac_try;;
14107 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14108 (eval "$ac_compile") 2>conftest.er1
14110 grep -v '^
*+' conftest.er1 >conftest.err
14112 cat conftest.err >&5
14113 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14114 (exit $ac_status); } && {
14115 test -z "$ac_c_werror_flag" ||
14116 test ! -s conftest.err
14117 } && test -s conftest.$ac_objext; then
14118 bakefile_compiler_mwerks=yes
14120 echo "$as_me: failed program was:" >&5
14121 sed 's
/^
/| /' conftest.$ac_ext >&5
14123 bakefile_compiler_mwerks=no
14126 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14127 bakefile_cv_c_compiler_mwerks=$bakefile_compiler_mwerks
14130 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler_mwerks" >&5
14131 echo "${ECHO_T}$bakefile_cv_c_compiler_mwerks" >&6; }
14133 MWCC=`test $bakefile_cv_c_compiler_mwerks = yes && echo yes`
14135 ac_cpp='$CPP $CPPFLAGS'
14136 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
14137 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
14138 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14142 ac_cpp='$CPP $CPPFLAGS'
14143 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
14144 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
14145 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14147 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C compiler" >&5
14148 echo $ECHO_N "checking whether we are using the IBM xlC C compiler... $ECHO_C" >&6; }
14149 if test "${bakefile_cv_c_compiler_xlc+set}" = set; then
14150 echo $ECHO_N "(cached) $ECHO_C" >&6
14152 cat >conftest.$ac_ext <<_ACEOF
14155 cat confdefs.h >>conftest.$ac_ext
14156 cat >>conftest.$ac_ext <<_ACEOF
14157 /* end confdefs.h. */
14170 rm -f conftest.$ac_objext
14171 if { (ac_try="$ac_compile"
14172 case "(($ac_try" in
14173 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14174 *) ac_try_echo=$ac_try;;
14176 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14177 (eval "$ac_compile") 2>conftest.er1
14179 grep -v '^
*+' conftest.er1 >conftest.err
14181 cat conftest.err >&5
14182 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14183 (exit $ac_status); } && {
14184 test -z "$ac_c_werror_flag" ||
14185 test ! -s conftest.err
14186 } && test -s conftest.$ac_objext; then
14187 bakefile_compiler_xlc=yes
14189 echo "$as_me: failed program was:" >&5
14190 sed 's
/^
/| /' conftest.$ac_ext >&5
14192 bakefile_compiler_xlc=no
14195 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14196 bakefile_cv_c_compiler_xlc=$bakefile_compiler_xlc
14199 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler_xlc" >&5
14200 echo "${ECHO_T}$bakefile_cv_c_compiler_xlc" >&6; }
14202 XLCC=`test $bakefile_cv_c_compiler_xlc = yes && echo yes`
14204 ac_cpp='$CPP $CPPFLAGS'
14205 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
14206 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
14207 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14216 ac_cpp='$CPP $CPPFLAGS'
14217 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
14218 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
14219 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14221 { echo "$as_me:$LINENO: checking whether we are using the SGI C compiler" >&5
14222 echo $ECHO_N "checking whether we are using the SGI C compiler... $ECHO_C" >&6; }
14223 if test "${bakefile_cv_c_compiler__SGI_COMPILER_VERSION+set}" = set; then
14224 echo $ECHO_N "(cached) $ECHO_C" >&6
14226 cat >conftest.$ac_ext <<_ACEOF
14229 cat confdefs.h >>conftest.$ac_ext
14230 cat >>conftest.$ac_ext <<_ACEOF
14231 /* end confdefs.h. */
14237 #ifndef _SGI_COMPILER_VERSION
14245 rm -f conftest.$ac_objext
14246 if { (ac_try="$ac_compile"
14247 case "(($ac_try" in
14248 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14249 *) ac_try_echo=$ac_try;;
14251 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14252 (eval "$ac_compile") 2>conftest.er1
14254 grep -v '^
*+' conftest.er1 >conftest.err
14256 cat conftest.err >&5
14257 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14258 (exit $ac_status); } && {
14259 test -z "$ac_c_werror_flag" ||
14260 test ! -s conftest.err
14261 } && test -s conftest.$ac_objext; then
14262 bakefile_cv_c_compiler__SGI_COMPILER_VERSION=yes
14264 echo "$as_me: failed program was:" >&5
14265 sed 's
/^
/| /' conftest.$ac_ext >&5
14267 bakefile_cv_c_compiler__SGI_COMPILER_VERSION=no
14271 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14275 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler__SGI_COMPILER_VERSION" >&5
14276 echo "${ECHO_T}$bakefile_cv_c_compiler__SGI_COMPILER_VERSION" >&6; }
14278 ac_cpp='$CPP $CPPFLAGS'
14279 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
14280 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
14281 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14283 if test "x$bakefile_cv_c_compiler__SGI_COMPILER_VERSION" = "xyes"; then
14296 ac_cpp='$CPP $CPPFLAGS'
14297 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
14298 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
14299 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14301 { echo "$as_me:$LINENO: checking whether we are using the HP C compiler" >&5
14302 echo $ECHO_N "checking whether we are using the HP C compiler... $ECHO_C" >&6; }
14303 if test "${bakefile_cv_c_compiler___HP_cc+set}" = set; then
14304 echo $ECHO_N "(cached) $ECHO_C" >&6
14306 cat >conftest.$ac_ext <<_ACEOF
14309 cat confdefs.h >>conftest.$ac_ext
14310 cat >>conftest.$ac_ext <<_ACEOF
14311 /* end confdefs.h. */
14325 rm -f conftest.$ac_objext
14326 if { (ac_try="$ac_compile"
14327 case "(($ac_try" in
14328 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14329 *) ac_try_echo=$ac_try;;
14331 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14332 (eval "$ac_compile") 2>conftest.er1
14334 grep -v '^
*+' conftest.er1 >conftest.err
14336 cat conftest.err >&5
14337 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14338 (exit $ac_status); } && {
14339 test -z "$ac_c_werror_flag" ||
14340 test ! -s conftest.err
14341 } && test -s conftest.$ac_objext; then
14342 bakefile_cv_c_compiler___HP_cc=yes
14344 echo "$as_me: failed program was:" >&5
14345 sed 's
/^
/| /' conftest.$ac_ext >&5
14347 bakefile_cv_c_compiler___HP_cc=no
14351 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14355 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___HP_cc" >&5
14356 echo "${ECHO_T}$bakefile_cv_c_compiler___HP_cc" >&6; }
14358 ac_cpp='$CPP $CPPFLAGS'
14359 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
14360 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
14361 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14363 if test "x$bakefile_cv_c_compiler___HP_cc" = "xyes"; then
14376 ac_cpp='$CPP $CPPFLAGS'
14377 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
14378 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
14379 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14381 { echo "$as_me:$LINENO: checking whether we are using the Compaq C compiler" >&5
14382 echo $ECHO_N "checking whether we are using the Compaq C compiler... $ECHO_C" >&6; }
14383 if test "${bakefile_cv_c_compiler___DECC+set}" = set; then
14384 echo $ECHO_N "(cached) $ECHO_C" >&6
14386 cat >conftest.$ac_ext <<_ACEOF
14389 cat confdefs.h >>conftest.$ac_ext
14390 cat >>conftest.$ac_ext <<_ACEOF
14391 /* end confdefs.h. */
14405 rm -f conftest.$ac_objext
14406 if { (ac_try="$ac_compile"
14407 case "(($ac_try" in
14408 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14409 *) ac_try_echo=$ac_try;;
14411 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14412 (eval "$ac_compile") 2>conftest.er1
14414 grep -v '^
*+' conftest.er1 >conftest.err
14416 cat conftest.err >&5
14417 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14418 (exit $ac_status); } && {
14419 test -z "$ac_c_werror_flag" ||
14420 test ! -s conftest.err
14421 } && test -s conftest.$ac_objext; then
14422 bakefile_cv_c_compiler___DECC=yes
14424 echo "$as_me: failed program was:" >&5
14425 sed 's
/^
/| /' conftest.$ac_ext >&5
14427 bakefile_cv_c_compiler___DECC=no
14431 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14435 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___DECC" >&5
14436 echo "${ECHO_T}$bakefile_cv_c_compiler___DECC" >&6; }
14438 ac_cpp='$CPP $CPPFLAGS'
14439 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
14440 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
14441 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14443 if test "x$bakefile_cv_c_compiler___DECC" = "xyes"; then
14456 ac_cpp='$CPP $CPPFLAGS'
14457 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
14458 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
14459 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14461 { echo "$as_me:$LINENO: checking whether we are using the Sun C compiler" >&5
14462 echo $ECHO_N "checking whether we are using the Sun C compiler... $ECHO_C" >&6; }
14463 if test "${bakefile_cv_c_compiler___SUNPRO_C+set}" = set; then
14464 echo $ECHO_N "(cached) $ECHO_C" >&6
14466 cat >conftest.$ac_ext <<_ACEOF
14469 cat confdefs.h >>conftest.$ac_ext
14470 cat >>conftest.$ac_ext <<_ACEOF
14471 /* end confdefs.h. */
14485 rm -f conftest.$ac_objext
14486 if { (ac_try="$ac_compile"
14487 case "(($ac_try" in
14488 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14489 *) ac_try_echo=$ac_try;;
14491 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14492 (eval "$ac_compile") 2>conftest.er1
14494 grep -v '^
*+' conftest.er1 >conftest.err
14496 cat conftest.err >&5
14497 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14498 (exit $ac_status); } && {
14499 test -z "$ac_c_werror_flag" ||
14500 test ! -s conftest.err
14501 } && test -s conftest.$ac_objext; then
14502 bakefile_cv_c_compiler___SUNPRO_C=yes
14504 echo "$as_me: failed program was:" >&5
14505 sed 's
/^
/| /' conftest.$ac_ext >&5
14507 bakefile_cv_c_compiler___SUNPRO_C=no
14511 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14515 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___SUNPRO_C" >&5
14516 echo "${ECHO_T}$bakefile_cv_c_compiler___SUNPRO_C" >&6; }
14518 ac_cpp='$CPP $CPPFLAGS'
14519 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
14520 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
14521 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14523 if test "x$bakefile_cv_c_compiler___SUNPRO_C" = "xyes"; then
14537 ac_cpp='$CPP $CPPFLAGS'
14538 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
14539 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
14540 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14541 { echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
14542 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
14543 # On Suns, sometimes $CPP names a directory.
14544 if test -n "$CPP" && test -d "$CPP"; then
14547 if test -z "$CPP"; then
14548 if test "${ac_cv_prog_CPP+set}" = set; then
14549 echo $ECHO_N "(cached) $ECHO_C" >&6
14551 # Double quotes because CPP needs to be expanded
14552 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
14554 ac_preproc_ok=false
14555 for ac_c_preproc_warn_flag in '' yes
14557 # Use a header file that comes with gcc, so configuring glibc
14558 # with a fresh cross-compiler works.
14559 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14560 # <limits.h> exists even on freestanding compilers.
14561 # On the NeXT, cc -E runs the code through the compiler's parser
,
14562 # not just through cpp. "Syntax error" is here to catch this case.
14563 cat >conftest.
$ac_ext <<_ACEOF
14566 cat confdefs.h
>>conftest.
$ac_ext
14567 cat >>conftest.
$ac_ext <<_ACEOF
14568 /* end confdefs.h. */
14570 # include <limits.h>
14572 # include <assert.h>
14576 if { (ac_try
="$ac_cpp conftest.$ac_ext"
14577 case "(($ac_try" in
14578 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
14579 *) ac_try_echo=$ac_try;;
14581 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14582 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
14584 grep -v '^ *+' conftest.er1 >conftest.err
14586 cat conftest.err >&5
14587 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14588 (exit $ac_status); } >/dev/null && {
14589 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
14590 test ! -s conftest.err
14594 echo "$as_me: failed program was:" >&5
14595 sed 's/^/| /' conftest.$ac_ext >&5
14597 # Broken: fails on valid input.
14601 rm -f conftest.err conftest.$ac_ext
14603 # OK, works on sane cases. Now check whether nonexistent headers
14604 # can be detected and how.
14605 cat >conftest.$ac_ext <<_ACEOF
14608 cat confdefs.h >>conftest.$ac_ext
14609 cat >>conftest.$ac_ext <<_ACEOF
14610 /* end confdefs.h. */
14611 #include <ac_nonexistent.h>
14613 if { (ac_try="$ac_cpp conftest.$ac_ext"
14614 case "(($ac_try" in
14615 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
14616 *) ac_try_echo
=$ac_try;;
14618 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14619 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
14621 grep -v '^ *+' conftest.er1
>conftest.err
14623 cat conftest.err
>&5
14624 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14625 (exit $ac_status); } >/dev
/null
&& {
14626 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
14627 test ! -s conftest.err
14629 # Broken: success on invalid input.
14632 echo "$as_me: failed program was:" >&5
14633 sed 's/^/| /' conftest.
$ac_ext >&5
14635 # Passes both tests.
14640 rm -f conftest.err conftest.
$ac_ext
14643 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
14644 rm -f conftest.err conftest.
$ac_ext
14645 if $ac_preproc_ok; then
14650 ac_cv_prog_CPP
=$CPP
14653 CPP
=$ac_cv_prog_CPP
14655 ac_cv_prog_CPP
=$CPP
14657 { echo "$as_me:$LINENO: result: $CPP" >&5
14658 echo "${ECHO_T}$CPP" >&6; }
14659 ac_preproc_ok
=false
14660 for ac_c_preproc_warn_flag
in '' yes
14662 # Use a header file that comes with gcc, so configuring glibc
14663 # with a fresh cross-compiler works.
14664 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14665 # <limits.h> exists even on freestanding compilers.
14666 # On the NeXT, cc -E runs the code through the compiler's parser,
14667 # not just through cpp. "Syntax error" is here to catch this case.
14668 cat >conftest.
$ac_ext <<_ACEOF
14671 cat confdefs.h
>>conftest.
$ac_ext
14672 cat >>conftest.
$ac_ext <<_ACEOF
14673 /* end confdefs.h. */
14675 # include <limits.h>
14677 # include <assert.h>
14681 if { (ac_try
="$ac_cpp conftest.$ac_ext"
14682 case "(($ac_try" in
14683 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
14684 *) ac_try_echo=$ac_try;;
14686 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14687 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
14689 grep -v '^ *+' conftest.er1 >conftest.err
14691 cat conftest.err >&5
14692 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14693 (exit $ac_status); } >/dev/null && {
14694 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
14695 test ! -s conftest.err
14699 echo "$as_me: failed program was:" >&5
14700 sed 's/^/| /' conftest.$ac_ext >&5
14702 # Broken: fails on valid input.
14706 rm -f conftest.err conftest.$ac_ext
14708 # OK, works on sane cases. Now check whether nonexistent headers
14709 # can be detected and how.
14710 cat >conftest.$ac_ext <<_ACEOF
14713 cat confdefs.h >>conftest.$ac_ext
14714 cat >>conftest.$ac_ext <<_ACEOF
14715 /* end confdefs.h. */
14716 #include <ac_nonexistent.h>
14718 if { (ac_try="$ac_cpp conftest.$ac_ext"
14719 case "(($ac_try" in
14720 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
14721 *) ac_try_echo
=$ac_try;;
14723 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14724 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
14726 grep -v '^ *+' conftest.er1
>conftest.err
14728 cat conftest.err
>&5
14729 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14730 (exit $ac_status); } >/dev
/null
&& {
14731 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
14732 test ! -s conftest.err
14734 # Broken: success on invalid input.
14737 echo "$as_me: failed program was:" >&5
14738 sed 's/^/| /' conftest.
$ac_ext >&5
14740 # Passes both tests.
14745 rm -f conftest.err conftest.
$ac_ext
14748 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
14749 rm -f conftest.err conftest.
$ac_ext
14750 if $ac_preproc_ok; then
14753 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
14754 See \`config.log' for more details." >&5
14755 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
14756 See \`config.log' for more details." >&2;}
14757 { (exit 1); exit 1; }; }
14761 ac_cpp
='$CPP $CPPFLAGS'
14762 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14763 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14764 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
14767 { echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
14768 echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
14769 if test "${ac_cv_path_GREP+set}" = set; then
14770 echo $ECHO_N "(cached) $ECHO_C" >&6
14772 # Extract the first word of "grep ggrep" to use in msg output
14773 if test -z "$GREP"; then
14774 set dummy
grep ggrep
; ac_prog_name
=$2
14775 if test "${ac_cv_path_GREP+set}" = set; then
14776 echo $ECHO_N "(cached) $ECHO_C" >&6
14778 ac_path_GREP_found
=false
14779 # Loop through the user's path and test for each of PROGNAME-LIST
14780 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14781 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
14784 test -z "$as_dir" && as_dir
=.
14785 for ac_prog
in grep ggrep
; do
14786 for ac_exec_ext
in '' $ac_executable_extensions; do
14787 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
14788 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
14789 # Check for GNU ac_path_GREP and select it if it is found.
14790 # Check for GNU $ac_path_GREP
14791 case `"$ac_path_GREP" --version 2>&1` in
14793 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
14796 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
14799 cat "conftest.in" "conftest.in" >"conftest.tmp"
14800 mv "conftest.tmp" "conftest.in"
14801 cp "conftest.in" "conftest.nl"
14802 echo 'GREP' >> "conftest.nl"
14803 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null
|| break
14804 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 || break
14805 ac_count
=`expr $ac_count + 1`
14806 if test $ac_count -gt ${ac_path_GREP_max-0}; then
14807 # Best one so far, save it but keep looking for a better one
14808 ac_cv_path_GREP
="$ac_path_GREP"
14809 ac_path_GREP_max
=$ac_count
14811 # 10*(2^10) chars as input seems more than enough
14812 test $ac_count -gt 10 && break
14814 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
14818 $ac_path_GREP_found && break 3
14828 GREP
="$ac_cv_path_GREP"
14829 if test -z "$GREP"; then
14830 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
14831 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
14832 { (exit 1); exit 1; }; }
14836 ac_cv_path_GREP
=$GREP
14841 { echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
14842 echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
14843 GREP
="$ac_cv_path_GREP"
14846 { echo "$as_me:$LINENO: checking for egrep" >&5
14847 echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
14848 if test "${ac_cv_path_EGREP+set}" = set; then
14849 echo $ECHO_N "(cached) $ECHO_C" >&6
14851 if echo a
| $GREP -E '(a|b)' >/dev
/null
2>&1
14852 then ac_cv_path_EGREP
="$GREP -E"
14854 # Extract the first word of "egrep" to use in msg output
14855 if test -z "$EGREP"; then
14856 set dummy
egrep; ac_prog_name
=$2
14857 if test "${ac_cv_path_EGREP+set}" = set; then
14858 echo $ECHO_N "(cached) $ECHO_C" >&6
14860 ac_path_EGREP_found
=false
14861 # Loop through the user's path and test for each of PROGNAME-LIST
14862 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14863 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
14866 test -z "$as_dir" && as_dir
=.
14867 for ac_prog
in egrep; do
14868 for ac_exec_ext
in '' $ac_executable_extensions; do
14869 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
14870 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
14871 # Check for GNU ac_path_EGREP and select it if it is found.
14872 # Check for GNU $ac_path_EGREP
14873 case `"$ac_path_EGREP" --version 2>&1` in
14875 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
14878 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
14881 cat "conftest.in" "conftest.in" >"conftest.tmp"
14882 mv "conftest.tmp" "conftest.in"
14883 cp "conftest.in" "conftest.nl"
14884 echo 'EGREP' >> "conftest.nl"
14885 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null
|| break
14886 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 || break
14887 ac_count
=`expr $ac_count + 1`
14888 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
14889 # Best one so far, save it but keep looking for a better one
14890 ac_cv_path_EGREP
="$ac_path_EGREP"
14891 ac_path_EGREP_max
=$ac_count
14893 # 10*(2^10) chars as input seems more than enough
14894 test $ac_count -gt 10 && break
14896 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
14900 $ac_path_EGREP_found && break 3
14910 EGREP
="$ac_cv_path_EGREP"
14911 if test -z "$EGREP"; then
14912 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
14913 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
14914 { (exit 1); exit 1; }; }
14918 ac_cv_path_EGREP
=$EGREP
14924 { echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
14925 echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
14926 EGREP
="$ac_cv_path_EGREP"
14929 if test $ac_cv_c_compiler_gnu = yes; then
14930 { echo "$as_me:$LINENO: checking whether $CC needs -traditional" >&5
14931 echo $ECHO_N "checking whether $CC needs -traditional... $ECHO_C" >&6; }
14932 if test "${ac_cv_prog_gcc_traditional+set}" = set; then
14933 echo $ECHO_N "(cached) $ECHO_C" >&6
14935 ac_pattern
="Autoconf.*'x'"
14936 cat >conftest.
$ac_ext <<_ACEOF
14939 cat confdefs.h
>>conftest.
$ac_ext
14940 cat >>conftest.
$ac_ext <<_ACEOF
14941 /* end confdefs.h. */
14945 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
14946 $EGREP "$ac_pattern" >/dev
/null
2>&1; then
14947 ac_cv_prog_gcc_traditional
=yes
14949 ac_cv_prog_gcc_traditional
=no
14954 if test $ac_cv_prog_gcc_traditional = no
; then
14955 cat >conftest.
$ac_ext <<_ACEOF
14958 cat confdefs.h
>>conftest.
$ac_ext
14959 cat >>conftest.
$ac_ext <<_ACEOF
14960 /* end confdefs.h. */
14961 #include <termio.h>
14964 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
14965 $EGREP "$ac_pattern" >/dev
/null
2>&1; then
14966 ac_cv_prog_gcc_traditional
=yes
14972 { echo "$as_me:$LINENO: result: $ac_cv_prog_gcc_traditional" >&5
14973 echo "${ECHO_T}$ac_cv_prog_gcc_traditional" >&6; }
14974 if test $ac_cv_prog_gcc_traditional = yes; then
14975 CC
="$CC -traditional"
14980 CXXFLAGS
=${CXXFLAGS:=}
14985 ac_cpp
='$CXXCPP $CPPFLAGS'
14986 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14987 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14988 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
14989 if test -z "$CXX"; then
14990 if test -n "$CCC"; then
14993 if test -n "$ac_tool_prefix"; then
14994 for ac_prog
in g
++ c
++ gpp aCC CC cxx cc
++ cl.exe FCC KCC RCC xlC_r xlC
14996 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
14997 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
14998 { echo "$as_me:$LINENO: checking for $ac_word" >&5
14999 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
15000 if test "${ac_cv_prog_CXX+set}" = set; then
15001 echo $ECHO_N "(cached) $ECHO_C" >&6
15003 if test -n "$CXX"; then
15004 ac_cv_prog_CXX
="$CXX" # Let the user override the test.
15006 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15007 for as_dir
in $PATH
15010 test -z "$as_dir" && as_dir
=.
15011 for ac_exec_ext
in '' $ac_executable_extensions; do
15012 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
15013 ac_cv_prog_CXX
="$ac_tool_prefix$ac_prog"
15014 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15023 CXX
=$ac_cv_prog_CXX
15024 if test -n "$CXX"; then
15025 { echo "$as_me:$LINENO: result: $CXX" >&5
15026 echo "${ECHO_T}$CXX" >&6; }
15028 { echo "$as_me:$LINENO: result: no" >&5
15029 echo "${ECHO_T}no" >&6; }
15033 test -n "$CXX" && break
15036 if test -z "$CXX"; then
15038 for ac_prog
in g
++ c
++ gpp aCC CC cxx cc
++ cl.exe FCC KCC RCC xlC_r xlC
15040 # Extract the first word of "$ac_prog", so it can be a program name with args.
15041 set dummy
$ac_prog; ac_word
=$2
15042 { echo "$as_me:$LINENO: checking for $ac_word" >&5
15043 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
15044 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
15045 echo $ECHO_N "(cached) $ECHO_C" >&6
15047 if test -n "$ac_ct_CXX"; then
15048 ac_cv_prog_ac_ct_CXX
="$ac_ct_CXX" # Let the user override the test.
15050 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15051 for as_dir
in $PATH
15054 test -z "$as_dir" && as_dir
=.
15055 for ac_exec_ext
in '' $ac_executable_extensions; do
15056 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
15057 ac_cv_prog_ac_ct_CXX
="$ac_prog"
15058 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15067 ac_ct_CXX
=$ac_cv_prog_ac_ct_CXX
15068 if test -n "$ac_ct_CXX"; then
15069 { echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
15070 echo "${ECHO_T}$ac_ct_CXX" >&6; }
15072 { echo "$as_me:$LINENO: result: no" >&5
15073 echo "${ECHO_T}no" >&6; }
15077 test -n "$ac_ct_CXX" && break
15080 if test "x$ac_ct_CXX" = x
; then
15083 case $cross_compiling:$ac_tool_warned in
15085 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
15086 whose name does not start with the host triplet. If you think this
15087 configuration is useful to you, please write to autoconf@gnu.org." >&5
15088 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
15089 whose name does not start with the host triplet. If you think this
15090 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
15091 ac_tool_warned
=yes ;;
15099 # Provide some information about the compiler.
15100 echo "$as_me:$LINENO: checking for C++ compiler version" >&5
15101 ac_compiler
=`set X $ac_compile; echo $2`
15102 { (ac_try
="$ac_compiler --version >&5"
15103 case "(($ac_try" in
15104 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
15105 *) ac_try_echo=$ac_try;;
15107 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15108 (eval "$ac_compiler --version >&5") 2>&5
15110 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15111 (exit $ac_status); }
15112 { (ac_try="$ac_compiler -v >&5"
15113 case "(($ac_try" in
15114 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
15115 *) ac_try_echo
=$ac_try;;
15117 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15118 (eval "$ac_compiler -v >&5") 2>&5
15120 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15121 (exit $ac_status); }
15122 { (ac_try
="$ac_compiler -V >&5"
15123 case "(($ac_try" in
15124 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
15125 *) ac_try_echo=$ac_try;;
15127 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15128 (eval "$ac_compiler -V >&5") 2>&5
15130 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15131 (exit $ac_status); }
15133 { echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
15134 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6; }
15135 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
15136 echo $ECHO_N "(cached) $ECHO_C" >&6
15138 cat >conftest.$ac_ext <<_ACEOF
15141 cat confdefs.h >>conftest.$ac_ext
15142 cat >>conftest.$ac_ext <<_ACEOF
15143 /* end confdefs.h. */
15156 rm -f conftest.$ac_objext
15157 if { (ac_try="$ac_compile"
15158 case "(($ac_try" in
15159 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
15160 *) ac_try_echo
=$ac_try;;
15162 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15163 (eval "$ac_compile") 2>conftest.er1
15165 grep -v '^ *+' conftest.er1
>conftest.err
15167 cat conftest.err
>&5
15168 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15169 (exit $ac_status); } && {
15170 test -z "$ac_cxx_werror_flag" ||
15171 test ! -s conftest.err
15172 } && test -s conftest.
$ac_objext; then
15173 ac_compiler_gnu
=yes
15175 echo "$as_me: failed program was:" >&5
15176 sed 's/^/| /' conftest.
$ac_ext >&5
15181 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
15182 ac_cv_cxx_compiler_gnu
=$ac_compiler_gnu
15185 { echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
15186 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6; }
15187 GXX
=`test $ac_compiler_gnu = yes && echo yes`
15188 ac_test_CXXFLAGS
=${CXXFLAGS+set}
15189 ac_save_CXXFLAGS
=$CXXFLAGS
15190 { echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
15191 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6; }
15192 if test "${ac_cv_prog_cxx_g+set}" = set; then
15193 echo $ECHO_N "(cached) $ECHO_C" >&6
15195 ac_save_cxx_werror_flag
=$ac_cxx_werror_flag
15196 ac_cxx_werror_flag
=yes
15197 ac_cv_prog_cxx_g
=no
15199 cat >conftest.
$ac_ext <<_ACEOF
15202 cat confdefs.h
>>conftest.
$ac_ext
15203 cat >>conftest.
$ac_ext <<_ACEOF
15204 /* end confdefs.h. */
15214 rm -f conftest.
$ac_objext
15215 if { (ac_try
="$ac_compile"
15216 case "(($ac_try" in
15217 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
15218 *) ac_try_echo=$ac_try;;
15220 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15221 (eval "$ac_compile") 2>conftest.er1
15223 grep -v '^ *+' conftest.er1 >conftest.err
15225 cat conftest.err >&5
15226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15227 (exit $ac_status); } && {
15228 test -z "$ac_cxx_werror_flag" ||
15229 test ! -s conftest.err
15230 } && test -s conftest.$ac_objext; then
15231 ac_cv_prog_cxx_g=yes
15233 echo "$as_me: failed program was:" >&5
15234 sed 's/^/| /' conftest.$ac_ext >&5
15237 cat >conftest.$ac_ext <<_ACEOF
15240 cat confdefs.h >>conftest.$ac_ext
15241 cat >>conftest.$ac_ext <<_ACEOF
15242 /* end confdefs.h. */
15252 rm -f conftest.$ac_objext
15253 if { (ac_try="$ac_compile"
15254 case "(($ac_try" in
15255 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
15256 *) ac_try_echo
=$ac_try;;
15258 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15259 (eval "$ac_compile") 2>conftest.er1
15261 grep -v '^ *+' conftest.er1
>conftest.err
15263 cat conftest.err
>&5
15264 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15265 (exit $ac_status); } && {
15266 test -z "$ac_cxx_werror_flag" ||
15267 test ! -s conftest.err
15268 } && test -s conftest.
$ac_objext; then
15271 echo "$as_me: failed program was:" >&5
15272 sed 's/^/| /' conftest.
$ac_ext >&5
15274 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
15276 cat >conftest.
$ac_ext <<_ACEOF
15279 cat confdefs.h
>>conftest.
$ac_ext
15280 cat >>conftest.
$ac_ext <<_ACEOF
15281 /* end confdefs.h. */
15291 rm -f conftest.
$ac_objext
15292 if { (ac_try
="$ac_compile"
15293 case "(($ac_try" in
15294 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
15295 *) ac_try_echo=$ac_try;;
15297 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15298 (eval "$ac_compile") 2>conftest.er1
15300 grep -v '^ *+' conftest.er1 >conftest.err
15302 cat conftest.err >&5
15303 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15304 (exit $ac_status); } && {
15305 test -z "$ac_cxx_werror_flag" ||
15306 test ! -s conftest.err
15307 } && test -s conftest.$ac_objext; then
15308 ac_cv_prog_cxx_g=yes
15310 echo "$as_me: failed program was:" >&5
15311 sed 's/^/| /' conftest.$ac_ext >&5
15316 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15319 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15322 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15323 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
15325 { echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
15326 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6; }
15327 if test "$ac_test_CXXFLAGS" = set; then
15328 CXXFLAGS=$ac_save_CXXFLAGS
15329 elif test $ac_cv_prog_cxx_g = yes; then
15330 if test "$GXX" = yes; then
15336 if test "$GXX" = yes; then
15343 ac_cpp='$CPP $CPPFLAGS'
15344 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15345 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15346 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15351 ac_cpp='$CXXCPP $CPPFLAGS'
15352 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15353 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15354 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15356 { echo "$as_me:$LINENO: checking whether we are using the Intel C++ compiler" >&5
15357 echo $ECHO_N "checking whether we are using the Intel C++ compiler... $ECHO_C" >&6; }
15358 if test "${bakefile_cv_cxx_compiler___INTEL_COMPILER+set}" = set; then
15359 echo $ECHO_N "(cached) $ECHO_C" >&6
15361 cat >conftest.$ac_ext <<_ACEOF
15364 cat confdefs.h >>conftest.$ac_ext
15365 cat >>conftest.$ac_ext <<_ACEOF
15366 /* end confdefs.h. */
15372 #ifndef __INTEL_COMPILER
15380 rm -f conftest.$ac_objext
15381 if { (ac_try="$ac_compile"
15382 case "(($ac_try" in
15383 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
15384 *) ac_try_echo
=$ac_try;;
15386 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15387 (eval "$ac_compile") 2>conftest.er1
15389 grep -v '^ *+' conftest.er1
>conftest.err
15391 cat conftest.err
>&5
15392 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15393 (exit $ac_status); } && {
15394 test -z "$ac_cxx_werror_flag" ||
15395 test ! -s conftest.err
15396 } && test -s conftest.
$ac_objext; then
15397 bakefile_cv_cxx_compiler___INTEL_COMPILER
=yes
15399 echo "$as_me: failed program was:" >&5
15400 sed 's/^/| /' conftest.
$ac_ext >&5
15402 bakefile_cv_cxx_compiler___INTEL_COMPILER
=no
15406 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
15410 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___INTEL_COMPILER" >&5
15411 echo "${ECHO_T}$bakefile_cv_cxx_compiler___INTEL_COMPILER" >&6; }
15413 ac_cpp
='$CPP $CPPFLAGS'
15414 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15415 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15416 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
15418 if test "x$bakefile_cv_c_compiler___INTEL_COMPILER" = "xyes"; then
15425 if test "x$GCXX" != "xyes"; then
15426 if test "xCXX" = "xC"; then
15427 { echo "$as_me:$LINENO: checking if the C compiler requires -ext o" >&5
15428 echo $ECHO_N "checking if the C compiler requires -ext o... $ECHO_C" >&6; }
15429 if test "${bakefile_cv_c_exto+set}" = set; then
15430 echo $ECHO_N "(cached) $ECHO_C" >&6
15432 cat >conftest.
$ac_ext <<_ACEOF
15435 cat confdefs.h
>>conftest.
$ac_ext
15436 cat >>conftest.
$ac_ext <<_ACEOF
15437 /* end confdefs.h. */
15447 rm -f conftest.
$ac_objext conftest.
$ac_ext.o
15448 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15449 (eval $ac_compile) 2>&5
15451 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15452 (exit $ac_status); }; then
15453 for ac_file
in `(ls conftest.* 2>/dev/null)`; do
15455 conftest.
$ac_ext.o
)
15456 bakefile_cv_c_exto
="-ext o"
15463 { { echo "$as_me:$LINENO: error: cannot figure out if compiler needs -ext o: cannot compile
15464 See \`config.log' for more details." >&5
15465 echo "$as_me: error: cannot figure out if compiler needs -ext o: cannot compile
15466 See \`config.log' for more details." >&2;}
15467 { (exit 1); exit 1; }; }
15471 rm -f conftest.
$ac_ext.o conftest.
$ac_objext conftest.
$ac_ext
15474 { echo "$as_me:$LINENO: result: $bakefile_cv_c_exto" >&5
15475 echo "${ECHO_T}$bakefile_cv_c_exto" >&6; }
15476 if test "x$bakefile_cv_c_exto" '!=' "x"; then
15477 if test "c" = "c"; then
15478 CFLAGS
="$bakefile_cv_c_exto $CFLAGS"
15480 if test "c" = "cxx"; then
15481 CXXFLAGS
="$bakefile_cv_c_exto $CXXFLAGS"
15485 if test "x$bakefile_cv_c_exto" '!=' "x"; then
15486 unset ac_cv_prog_cc_g
15487 ac_test_CFLAGS
=${CFLAGS+set}
15488 ac_save_CFLAGS
=$CFLAGS
15489 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
15490 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
15491 if test "${ac_cv_prog_cc_g+set}" = set; then
15492 echo $ECHO_N "(cached) $ECHO_C" >&6
15494 ac_save_c_werror_flag
=$ac_c_werror_flag
15495 ac_c_werror_flag
=yes
15498 cat >conftest.
$ac_ext <<_ACEOF
15501 cat confdefs.h
>>conftest.
$ac_ext
15502 cat >>conftest.
$ac_ext <<_ACEOF
15503 /* end confdefs.h. */
15513 rm -f conftest.
$ac_objext
15514 if { (ac_try
="$ac_compile"
15515 case "(($ac_try" in
15516 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
15517 *) ac_try_echo=$ac_try;;
15519 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15520 (eval "$ac_compile") 2>conftest.er1
15522 grep -v '^ *+' conftest.er1 >conftest.err
15524 cat conftest.err >&5
15525 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15526 (exit $ac_status); } && {
15527 test -z "$ac_c_werror_flag" ||
15528 test ! -s conftest.err
15529 } && test -s conftest.$ac_objext; then
15530 ac_cv_prog_cc_g=yes
15532 echo "$as_me: failed program was:" >&5
15533 sed 's/^/| /' conftest.$ac_ext >&5
15536 cat >conftest.$ac_ext <<_ACEOF
15539 cat confdefs.h >>conftest.$ac_ext
15540 cat >>conftest.$ac_ext <<_ACEOF
15541 /* end confdefs.h. */
15551 rm -f conftest.$ac_objext
15552 if { (ac_try="$ac_compile"
15553 case "(($ac_try" in
15554 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
15555 *) ac_try_echo
=$ac_try;;
15557 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15558 (eval "$ac_compile") 2>conftest.er1
15560 grep -v '^ *+' conftest.er1
>conftest.err
15562 cat conftest.err
>&5
15563 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15564 (exit $ac_status); } && {
15565 test -z "$ac_c_werror_flag" ||
15566 test ! -s conftest.err
15567 } && test -s conftest.
$ac_objext; then
15570 echo "$as_me: failed program was:" >&5
15571 sed 's/^/| /' conftest.
$ac_ext >&5
15573 ac_c_werror_flag
=$ac_save_c_werror_flag
15575 cat >conftest.
$ac_ext <<_ACEOF
15578 cat confdefs.h
>>conftest.
$ac_ext
15579 cat >>conftest.
$ac_ext <<_ACEOF
15580 /* end confdefs.h. */
15590 rm -f conftest.
$ac_objext
15591 if { (ac_try
="$ac_compile"
15592 case "(($ac_try" in
15593 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
15594 *) ac_try_echo=$ac_try;;
15596 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15597 (eval "$ac_compile") 2>conftest.er1
15599 grep -v '^ *+' conftest.er1 >conftest.err
15601 cat conftest.err >&5
15602 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15603 (exit $ac_status); } && {
15604 test -z "$ac_c_werror_flag" ||
15605 test ! -s conftest.err
15606 } && test -s conftest.$ac_objext; then
15607 ac_cv_prog_cc_g=yes
15609 echo "$as_me: failed program was:" >&5
15610 sed 's/^/| /' conftest.$ac_ext >&5
15615 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15618 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15621 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15622 ac_c_werror_flag=$ac_save_c_werror_flag
15624 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
15625 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
15626 if test "$ac_test_CFLAGS" = set; then
15627 CFLAGS=$ac_save_CFLAGS
15628 elif test $ac_cv_prog_cc_g = yes; then
15629 if test "$GCC" = yes; then
15635 if test "$GCC" = yes; then
15647 ac_cpp='$CXXCPP $CPPFLAGS'
15648 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15649 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15650 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15652 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C++ compiler" >&5
15653 echo $ECHO_N "checking whether we are using the IBM xlC C++ compiler... $ECHO_C" >&6; }
15654 if test "${bakefile_cv_cxx_compiler_xlc+set}" = set; then
15655 echo $ECHO_N "(cached) $ECHO_C" >&6
15657 cat >conftest.$ac_ext <<_ACEOF
15660 cat confdefs.h >>conftest.$ac_ext
15661 cat >>conftest.$ac_ext <<_ACEOF
15662 /* end confdefs.h. */
15675 rm -f conftest.$ac_objext
15676 if { (ac_try="$ac_compile"
15677 case "(($ac_try" in
15678 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
15679 *) ac_try_echo
=$ac_try;;
15681 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15682 (eval "$ac_compile") 2>conftest.er1
15684 grep -v '^ *+' conftest.er1
>conftest.err
15686 cat conftest.err
>&5
15687 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15688 (exit $ac_status); } && {
15689 test -z "$ac_cxx_werror_flag" ||
15690 test ! -s conftest.err
15691 } && test -s conftest.
$ac_objext; then
15692 bakefile_compiler_xlc
=yes
15694 echo "$as_me: failed program was:" >&5
15695 sed 's/^/| /' conftest.
$ac_ext >&5
15697 bakefile_compiler_xlc
=no
15700 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
15701 bakefile_cv_cxx_compiler_xlc
=$bakefile_compiler_xlc
15704 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler_xlc" >&5
15705 echo "${ECHO_T}$bakefile_cv_cxx_compiler_xlc" >&6; }
15707 XLCXX
=`test $bakefile_cv_cxx_compiler_xlc = yes && echo yes`
15709 ac_cpp
='$CPP $CPPFLAGS'
15710 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15711 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15712 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
15719 ac_cpp
='$CXXCPP $CPPFLAGS'
15720 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15721 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15722 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
15724 { echo "$as_me:$LINENO: checking whether we are using the Metrowerks C++ compiler" >&5
15725 echo $ECHO_N "checking whether we are using the Metrowerks C++ compiler... $ECHO_C" >&6; }
15726 if test "${bakefile_cv_cxx_compiler_mwerks+set}" = set; then
15727 echo $ECHO_N "(cached) $ECHO_C" >&6
15729 cat >conftest.
$ac_ext <<_ACEOF
15732 cat confdefs.h
>>conftest.
$ac_ext
15733 cat >>conftest.
$ac_ext <<_ACEOF
15734 /* end confdefs.h. */
15747 rm -f conftest.
$ac_objext
15748 if { (ac_try
="$ac_compile"
15749 case "(($ac_try" in
15750 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
15751 *) ac_try_echo=$ac_try;;
15753 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15754 (eval "$ac_compile") 2>conftest.er1
15756 grep -v '^ *+' conftest.er1 >conftest.err
15758 cat conftest.err >&5
15759 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15760 (exit $ac_status); } && {
15761 test -z "$ac_cxx_werror_flag" ||
15762 test ! -s conftest.err
15763 } && test -s conftest.$ac_objext; then
15764 bakefile_compiler_mwerks=yes
15766 echo "$as_me: failed program was:" >&5
15767 sed 's/^/| /' conftest.$ac_ext >&5
15769 bakefile_compiler_mwerks=no
15772 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15773 bakefile_cv_cxx_compiler_mwerks=$bakefile_compiler_mwerks
15776 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler_mwerks" >&5
15777 echo "${ECHO_T}$bakefile_cv_cxx_compiler_mwerks" >&6; }
15779 MWCXX=`test $bakefile_cv_cxx_compiler_mwerks = yes && echo yes`
15781 ac_cpp='$CPP $CPPFLAGS'
15782 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15783 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15784 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15788 ac_cpp='$CXXCPP $CPPFLAGS'
15789 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15790 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15791 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15793 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C++ compiler" >&5
15794 echo $ECHO_N "checking whether we are using the IBM xlC C++ compiler... $ECHO_C" >&6; }
15795 if test "${bakefile_cv_cxx_compiler_xlc+set}" = set; then
15796 echo $ECHO_N "(cached) $ECHO_C" >&6
15798 cat >conftest.$ac_ext <<_ACEOF
15801 cat confdefs.h >>conftest.$ac_ext
15802 cat >>conftest.$ac_ext <<_ACEOF
15803 /* end confdefs.h. */
15816 rm -f conftest.$ac_objext
15817 if { (ac_try="$ac_compile"
15818 case "(($ac_try" in
15819 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
15820 *) ac_try_echo
=$ac_try;;
15822 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15823 (eval "$ac_compile") 2>conftest.er1
15825 grep -v '^ *+' conftest.er1
>conftest.err
15827 cat conftest.err
>&5
15828 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15829 (exit $ac_status); } && {
15830 test -z "$ac_cxx_werror_flag" ||
15831 test ! -s conftest.err
15832 } && test -s conftest.
$ac_objext; then
15833 bakefile_compiler_xlc
=yes
15835 echo "$as_me: failed program was:" >&5
15836 sed 's/^/| /' conftest.
$ac_ext >&5
15838 bakefile_compiler_xlc
=no
15841 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
15842 bakefile_cv_cxx_compiler_xlc
=$bakefile_compiler_xlc
15845 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler_xlc" >&5
15846 echo "${ECHO_T}$bakefile_cv_cxx_compiler_xlc" >&6; }
15848 XLCXX
=`test $bakefile_cv_cxx_compiler_xlc = yes && echo yes`
15850 ac_cpp
='$CPP $CPPFLAGS'
15851 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15852 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15853 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
15862 ac_cpp
='$CXXCPP $CPPFLAGS'
15863 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15864 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15865 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
15867 { echo "$as_me:$LINENO: checking whether we are using the SGI C++ compiler" >&5
15868 echo $ECHO_N "checking whether we are using the SGI C++ compiler... $ECHO_C" >&6; }
15869 if test "${bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION+set}" = set; then
15870 echo $ECHO_N "(cached) $ECHO_C" >&6
15872 cat >conftest.
$ac_ext <<_ACEOF
15875 cat confdefs.h
>>conftest.
$ac_ext
15876 cat >>conftest.
$ac_ext <<_ACEOF
15877 /* end confdefs.h. */
15883 #ifndef _SGI_COMPILER_VERSION
15891 rm -f conftest.
$ac_objext
15892 if { (ac_try
="$ac_compile"
15893 case "(($ac_try" in
15894 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
15895 *) ac_try_echo=$ac_try;;
15897 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15898 (eval "$ac_compile") 2>conftest.er1
15900 grep -v '^ *+' conftest.er1 >conftest.err
15902 cat conftest.err >&5
15903 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15904 (exit $ac_status); } && {
15905 test -z "$ac_cxx_werror_flag" ||
15906 test ! -s conftest.err
15907 } && test -s conftest.$ac_objext; then
15908 bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION=yes
15910 echo "$as_me: failed program was:" >&5
15911 sed 's/^/| /' conftest.$ac_ext >&5
15913 bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION=no
15917 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15921 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" >&5
15922 echo "${ECHO_T}$bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" >&6; }
15924 ac_cpp='$CPP $CPPFLAGS'
15925 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15926 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15927 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15929 if test "x$bakefile_cv_c_compiler__SGI_COMPILER_VERSION" = "xyes"; then
15942 ac_cpp='$CXXCPP $CPPFLAGS'
15943 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15944 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15945 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15947 { echo "$as_me:$LINENO: checking whether we are using the HP C++ compiler" >&5
15948 echo $ECHO_N "checking whether we are using the HP C++ compiler... $ECHO_C" >&6; }
15949 if test "${bakefile_cv_cxx_compiler___HP_aCC+set}" = set; then
15950 echo $ECHO_N "(cached) $ECHO_C" >&6
15952 cat >conftest.$ac_ext <<_ACEOF
15955 cat confdefs.h >>conftest.$ac_ext
15956 cat >>conftest.$ac_ext <<_ACEOF
15957 /* end confdefs.h. */
15971 rm -f conftest.$ac_objext
15972 if { (ac_try="$ac_compile"
15973 case "(($ac_try" in
15974 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
15975 *) ac_try_echo
=$ac_try;;
15977 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15978 (eval "$ac_compile") 2>conftest.er1
15980 grep -v '^ *+' conftest.er1
>conftest.err
15982 cat conftest.err
>&5
15983 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15984 (exit $ac_status); } && {
15985 test -z "$ac_cxx_werror_flag" ||
15986 test ! -s conftest.err
15987 } && test -s conftest.
$ac_objext; then
15988 bakefile_cv_cxx_compiler___HP_aCC
=yes
15990 echo "$as_me: failed program was:" >&5
15991 sed 's/^/| /' conftest.
$ac_ext >&5
15993 bakefile_cv_cxx_compiler___HP_aCC
=no
15997 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
16001 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___HP_aCC" >&5
16002 echo "${ECHO_T}$bakefile_cv_cxx_compiler___HP_aCC" >&6; }
16004 ac_cpp
='$CPP $CPPFLAGS'
16005 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16006 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16007 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
16009 if test "x$bakefile_cv_c_compiler___HP_aCC" = "xyes"; then
16022 ac_cpp
='$CXXCPP $CPPFLAGS'
16023 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16024 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16025 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
16027 { echo "$as_me:$LINENO: checking whether we are using the Compaq C++ compiler" >&5
16028 echo $ECHO_N "checking whether we are using the Compaq C++ compiler... $ECHO_C" >&6; }
16029 if test "${bakefile_cv_cxx_compiler___DECCXX+set}" = set; then
16030 echo $ECHO_N "(cached) $ECHO_C" >&6
16032 cat >conftest.
$ac_ext <<_ACEOF
16035 cat confdefs.h
>>conftest.
$ac_ext
16036 cat >>conftest.
$ac_ext <<_ACEOF
16037 /* end confdefs.h. */
16051 rm -f conftest.
$ac_objext
16052 if { (ac_try
="$ac_compile"
16053 case "(($ac_try" in
16054 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
16055 *) ac_try_echo=$ac_try;;
16057 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16058 (eval "$ac_compile") 2>conftest.er1
16060 grep -v '^ *+' conftest.er1 >conftest.err
16062 cat conftest.err >&5
16063 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16064 (exit $ac_status); } && {
16065 test -z "$ac_cxx_werror_flag" ||
16066 test ! -s conftest.err
16067 } && test -s conftest.$ac_objext; then
16068 bakefile_cv_cxx_compiler___DECCXX=yes
16070 echo "$as_me: failed program was:" >&5
16071 sed 's/^/| /' conftest.$ac_ext >&5
16073 bakefile_cv_cxx_compiler___DECCXX=no
16077 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16081 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___DECCXX" >&5
16082 echo "${ECHO_T}$bakefile_cv_cxx_compiler___DECCXX" >&6; }
16084 ac_cpp='$CPP $CPPFLAGS'
16085 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16086 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16087 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16089 if test "x$bakefile_cv_c_compiler___DECCXX" = "xyes"; then
16102 ac_cpp='$CXXCPP $CPPFLAGS'
16103 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16104 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16105 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16107 { echo "$as_me:$LINENO: checking whether we are using the Sun C++ compiler" >&5
16108 echo $ECHO_N "checking whether we are using the Sun C++ compiler... $ECHO_C" >&6; }
16109 if test "${bakefile_cv_cxx_compiler___SUNPRO_CC+set}" = set; then
16110 echo $ECHO_N "(cached) $ECHO_C" >&6
16112 cat >conftest.$ac_ext <<_ACEOF
16115 cat confdefs.h >>conftest.$ac_ext
16116 cat >>conftest.$ac_ext <<_ACEOF
16117 /* end confdefs.h. */
16123 #ifndef __SUNPRO_CC
16131 rm -f conftest.$ac_objext
16132 if { (ac_try="$ac_compile"
16133 case "(($ac_try" in
16134 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
16135 *) ac_try_echo
=$ac_try;;
16137 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16138 (eval "$ac_compile") 2>conftest.er1
16140 grep -v '^ *+' conftest.er1
>conftest.err
16142 cat conftest.err
>&5
16143 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16144 (exit $ac_status); } && {
16145 test -z "$ac_cxx_werror_flag" ||
16146 test ! -s conftest.err
16147 } && test -s conftest.
$ac_objext; then
16148 bakefile_cv_cxx_compiler___SUNPRO_CC
=yes
16150 echo "$as_me: failed program was:" >&5
16151 sed 's/^/| /' conftest.
$ac_ext >&5
16153 bakefile_cv_cxx_compiler___SUNPRO_CC
=no
16157 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
16161 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___SUNPRO_CC" >&5
16162 echo "${ECHO_T}$bakefile_cv_cxx_compiler___SUNPRO_CC" >&6; }
16164 ac_cpp
='$CPP $CPPFLAGS'
16165 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16166 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16167 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
16169 if test "x$bakefile_cv_c_compiler___SUNPRO_CC" = "xyes"; then
16182 if test -n "$ac_tool_prefix"; then
16183 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
16184 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
16185 { echo "$as_me:$LINENO: checking for $ac_word" >&5
16186 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16187 if test "${ac_cv_prog_RANLIB+set}" = set; then
16188 echo $ECHO_N "(cached) $ECHO_C" >&6
16190 if test -n "$RANLIB"; then
16191 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
16193 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16194 for as_dir
in $PATH
16197 test -z "$as_dir" && as_dir
=.
16198 for ac_exec_ext
in '' $ac_executable_extensions; do
16199 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16200 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
16201 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16210 RANLIB
=$ac_cv_prog_RANLIB
16211 if test -n "$RANLIB"; then
16212 { echo "$as_me:$LINENO: result: $RANLIB" >&5
16213 echo "${ECHO_T}$RANLIB" >&6; }
16215 { echo "$as_me:$LINENO: result: no" >&5
16216 echo "${ECHO_T}no" >&6; }
16221 if test -z "$ac_cv_prog_RANLIB"; then
16222 ac_ct_RANLIB
=$RANLIB
16223 # Extract the first word of "ranlib", so it can be a program name with args.
16224 set dummy ranlib
; ac_word
=$2
16225 { echo "$as_me:$LINENO: checking for $ac_word" >&5
16226 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16227 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
16228 echo $ECHO_N "(cached) $ECHO_C" >&6
16230 if test -n "$ac_ct_RANLIB"; then
16231 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
16233 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16234 for as_dir
in $PATH
16237 test -z "$as_dir" && as_dir
=.
16238 for ac_exec_ext
in '' $ac_executable_extensions; do
16239 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16240 ac_cv_prog_ac_ct_RANLIB
="ranlib"
16241 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16250 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
16251 if test -n "$ac_ct_RANLIB"; then
16252 { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
16253 echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
16255 { echo "$as_me:$LINENO: result: no" >&5
16256 echo "${ECHO_T}no" >&6; }
16259 if test "x$ac_ct_RANLIB" = x
; then
16262 case $cross_compiling:$ac_tool_warned in
16264 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
16265 whose name does not start with the host triplet. If you think this
16266 configuration is useful to you, please write to autoconf@gnu.org." >&5
16267 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
16268 whose name does not start with the host triplet. If you think this
16269 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
16270 ac_tool_warned
=yes ;;
16272 RANLIB
=$ac_ct_RANLIB
16275 RANLIB
="$ac_cv_prog_RANLIB"
16279 if test "x$SUNCXX" != xyes
; then
16280 if test -n "$ac_tool_prefix"; then
16281 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
16282 set dummy
${ac_tool_prefix}ar; ac_word
=$2
16283 { echo "$as_me:$LINENO: checking for $ac_word" >&5
16284 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16285 if test "${ac_cv_prog_AR+set}" = set; then
16286 echo $ECHO_N "(cached) $ECHO_C" >&6
16288 if test -n "$AR"; then
16289 ac_cv_prog_AR
="$AR" # Let the user override the test.
16291 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16292 for as_dir
in $PATH
16295 test -z "$as_dir" && as_dir
=.
16296 for ac_exec_ext
in '' $ac_executable_extensions; do
16297 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16298 ac_cv_prog_AR
="${ac_tool_prefix}ar"
16299 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16309 if test -n "$AR"; then
16310 { echo "$as_me:$LINENO: result: $AR" >&5
16311 echo "${ECHO_T}$AR" >&6; }
16313 { echo "$as_me:$LINENO: result: no" >&5
16314 echo "${ECHO_T}no" >&6; }
16319 if test -z "$ac_cv_prog_AR"; then
16321 # Extract the first word of "ar", so it can be a program name with args.
16322 set dummy
ar; ac_word
=$2
16323 { echo "$as_me:$LINENO: checking for $ac_word" >&5
16324 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16325 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
16326 echo $ECHO_N "(cached) $ECHO_C" >&6
16328 if test -n "$ac_ct_AR"; then
16329 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
16331 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16332 for as_dir
in $PATH
16335 test -z "$as_dir" && as_dir
=.
16336 for ac_exec_ext
in '' $ac_executable_extensions; do
16337 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16338 ac_cv_prog_ac_ct_AR
="ar"
16339 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16348 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
16349 if test -n "$ac_ct_AR"; then
16350 { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
16351 echo "${ECHO_T}$ac_ct_AR" >&6; }
16353 { echo "$as_me:$LINENO: result: no" >&5
16354 echo "${ECHO_T}no" >&6; }
16357 if test "x$ac_ct_AR" = x
; then
16360 case $cross_compiling:$ac_tool_warned in
16362 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
16363 whose name does not start with the host triplet. If you think this
16364 configuration is useful to you, please write to autoconf@gnu.org." >&5
16365 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
16366 whose name does not start with the host triplet. If you think this
16367 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
16368 ac_tool_warned
=yes ;;
16373 AR
="$ac_cv_prog_AR"
16376 if test "x$AR" = "x" ; then
16377 { { echo "$as_me:$LINENO: error: ar is needed to build wxWidgets" >&5
16378 echo "$as_me: error: ar is needed to build wxWidgets" >&2;}
16379 { (exit 1); exit 1; }; }
16383 # Find a good install program. We prefer a C program (faster),
16384 # so one script is as good as another. But avoid the broken or
16385 # incompatible versions:
16386 # SysV /etc/install, /usr/sbin/install
16387 # SunOS /usr/etc/install
16388 # IRIX /sbin/install
16390 # AmigaOS /C/install, which installs bootblocks on floppy discs
16391 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
16392 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
16393 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
16394 # OS/2's system install, which has a completely different semantic
16395 # ./install, which can be erroneously created by make from ./install.sh.
16396 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
16397 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
16398 if test -z "$INSTALL"; then
16399 if test "${ac_cv_path_install+set}" = set; then
16400 echo $ECHO_N "(cached) $ECHO_C" >&6
16402 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16403 for as_dir
in $PATH
16406 test -z "$as_dir" && as_dir
=.
16407 # Account for people who put trailing slashes in PATH elements.
16409 .
/ | .
// | /cC
/* | \
16410 /etc
/* | /usr
/sbin
/* | /usr
/etc
/* | /sbin
/* | /usr
/afsws
/bin
/* | \
16411 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
16414 # OSF1 and SCO ODT 3.0 have their own names for install.
16415 # Don't use installbsd from OSF since it installs stuff as root
16417 for ac_prog
in ginstall scoinst
install; do
16418 for ac_exec_ext
in '' $ac_executable_extensions; do
16419 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
16420 if test $ac_prog = install &&
16421 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
16422 # AIX install. It has an incompatible calling convention.
16424 elif test $ac_prog = install &&
16425 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
16426 # program-specific install script used by HP pwplus--don't use.
16429 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
16442 if test "${ac_cv_path_install+set}" = set; then
16443 INSTALL
=$ac_cv_path_install
16445 # As a last resort, use the slow shell script. Don't cache a
16446 # value for INSTALL within a source directory, because that will
16447 # break other packages using the cache if that directory is
16448 # removed, or if the value is a relative name.
16449 INSTALL
=$ac_install_sh
16452 { echo "$as_me:$LINENO: result: $INSTALL" >&5
16453 echo "${ECHO_T}$INSTALL" >&6; }
16455 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
16456 # It thinks the first close brace ends the variable substitution.
16457 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
16459 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
16461 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
16467 ?
:* ) # Drive letter, considered as absolute.
16470 INSTALL
=`pwd`/${INSTALL} ;;
16477 INSTALL_PROGRAM
="cp -fp"
16478 INSTALL_DATA
="cp -fp"
16484 if test -n "$ac_tool_prefix"; then
16485 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
16486 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
16487 { echo "$as_me:$LINENO: checking for $ac_word" >&5
16488 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16489 if test "${ac_cv_prog_STRIP+set}" = set; then
16490 echo $ECHO_N "(cached) $ECHO_C" >&6
16492 if test -n "$STRIP"; then
16493 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
16495 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16496 for as_dir
in $PATH
16499 test -z "$as_dir" && as_dir
=.
16500 for ac_exec_ext
in '' $ac_executable_extensions; do
16501 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16502 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
16503 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16512 STRIP
=$ac_cv_prog_STRIP
16513 if test -n "$STRIP"; then
16514 { echo "$as_me:$LINENO: result: $STRIP" >&5
16515 echo "${ECHO_T}$STRIP" >&6; }
16517 { echo "$as_me:$LINENO: result: no" >&5
16518 echo "${ECHO_T}no" >&6; }
16523 if test -z "$ac_cv_prog_STRIP"; then
16525 # Extract the first word of "strip", so it can be a program name with args.
16526 set dummy strip
; ac_word
=$2
16527 { echo "$as_me:$LINENO: checking for $ac_word" >&5
16528 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16529 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
16530 echo $ECHO_N "(cached) $ECHO_C" >&6
16532 if test -n "$ac_ct_STRIP"; then
16533 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
16535 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16536 for as_dir
in $PATH
16539 test -z "$as_dir" && as_dir
=.
16540 for ac_exec_ext
in '' $ac_executable_extensions; do
16541 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16542 ac_cv_prog_ac_ct_STRIP
="strip"
16543 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16552 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
16553 if test -n "$ac_ct_STRIP"; then
16554 { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
16555 echo "${ECHO_T}$ac_ct_STRIP" >&6; }
16557 { echo "$as_me:$LINENO: result: no" >&5
16558 echo "${ECHO_T}no" >&6; }
16561 if test "x$ac_ct_STRIP" = x
; then
16564 case $cross_compiling:$ac_tool_warned in
16566 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
16567 whose name does not start with the host triplet. If you think this
16568 configuration is useful to you, please write to autoconf@gnu.org." >&5
16569 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
16570 whose name does not start with the host triplet. If you think this
16571 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
16572 ac_tool_warned
=yes ;;
16577 STRIP
="$ac_cv_prog_STRIP"
16581 if test "$wxUSE_WINE" = "yes"; then
16582 if test -n "$ac_tool_prefix"; then
16583 # Extract the first word of "${ac_tool_prefix}wrc", so it can be a program name with args.
16584 set dummy
${ac_tool_prefix}wrc
; ac_word
=$2
16585 { echo "$as_me:$LINENO: checking for $ac_word" >&5
16586 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16587 if test "${ac_cv_prog_WINDRES+set}" = set; then
16588 echo $ECHO_N "(cached) $ECHO_C" >&6
16590 if test -n "$WINDRES"; then
16591 ac_cv_prog_WINDRES
="$WINDRES" # Let the user override the test.
16593 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16594 for as_dir
in $PATH
16597 test -z "$as_dir" && as_dir
=.
16598 for ac_exec_ext
in '' $ac_executable_extensions; do
16599 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16600 ac_cv_prog_WINDRES
="${ac_tool_prefix}wrc"
16601 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16610 WINDRES
=$ac_cv_prog_WINDRES
16611 if test -n "$WINDRES"; then
16612 { echo "$as_me:$LINENO: result: $WINDRES" >&5
16613 echo "${ECHO_T}$WINDRES" >&6; }
16615 { echo "$as_me:$LINENO: result: no" >&5
16616 echo "${ECHO_T}no" >&6; }
16621 if test -z "$ac_cv_prog_WINDRES"; then
16622 ac_ct_WINDRES
=$WINDRES
16623 # Extract the first word of "wrc", so it can be a program name with args.
16624 set dummy wrc
; ac_word
=$2
16625 { echo "$as_me:$LINENO: checking for $ac_word" >&5
16626 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16627 if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then
16628 echo $ECHO_N "(cached) $ECHO_C" >&6
16630 if test -n "$ac_ct_WINDRES"; then
16631 ac_cv_prog_ac_ct_WINDRES
="$ac_ct_WINDRES" # Let the user override the test.
16633 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16634 for as_dir
in $PATH
16637 test -z "$as_dir" && as_dir
=.
16638 for ac_exec_ext
in '' $ac_executable_extensions; do
16639 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16640 ac_cv_prog_ac_ct_WINDRES
="wrc"
16641 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16650 ac_ct_WINDRES
=$ac_cv_prog_ac_ct_WINDRES
16651 if test -n "$ac_ct_WINDRES"; then
16652 { echo "$as_me:$LINENO: result: $ac_ct_WINDRES" >&5
16653 echo "${ECHO_T}$ac_ct_WINDRES" >&6; }
16655 { echo "$as_me:$LINENO: result: no" >&5
16656 echo "${ECHO_T}no" >&6; }
16659 if test "x$ac_ct_WINDRES" = x
; then
16662 case $cross_compiling:$ac_tool_warned in
16664 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
16665 whose name does not start with the host triplet. If you think this
16666 configuration is useful to you, please write to autoconf@gnu.org." >&5
16667 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
16668 whose name does not start with the host triplet. If you think this
16669 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
16670 ac_tool_warned
=yes ;;
16672 WINDRES
=$ac_ct_WINDRES
16675 WINDRES
="$ac_cv_prog_WINDRES"
16681 *-*-cygwin* | *-*-mingw32* )
16682 if test -n "$ac_tool_prefix"; then
16683 # Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args.
16684 set dummy
${ac_tool_prefix}windres
; ac_word
=$2
16685 { echo "$as_me:$LINENO: checking for $ac_word" >&5
16686 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16687 if test "${ac_cv_prog_WINDRES+set}" = set; then
16688 echo $ECHO_N "(cached) $ECHO_C" >&6
16690 if test -n "$WINDRES"; then
16691 ac_cv_prog_WINDRES
="$WINDRES" # Let the user override the test.
16693 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16694 for as_dir
in $PATH
16697 test -z "$as_dir" && as_dir
=.
16698 for ac_exec_ext
in '' $ac_executable_extensions; do
16699 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16700 ac_cv_prog_WINDRES
="${ac_tool_prefix}windres"
16701 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16710 WINDRES
=$ac_cv_prog_WINDRES
16711 if test -n "$WINDRES"; then
16712 { echo "$as_me:$LINENO: result: $WINDRES" >&5
16713 echo "${ECHO_T}$WINDRES" >&6; }
16715 { echo "$as_me:$LINENO: result: no" >&5
16716 echo "${ECHO_T}no" >&6; }
16721 if test -z "$ac_cv_prog_WINDRES"; then
16722 ac_ct_WINDRES
=$WINDRES
16723 # Extract the first word of "windres", so it can be a program name with args.
16724 set dummy windres
; ac_word
=$2
16725 { echo "$as_me:$LINENO: checking for $ac_word" >&5
16726 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16727 if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then
16728 echo $ECHO_N "(cached) $ECHO_C" >&6
16730 if test -n "$ac_ct_WINDRES"; then
16731 ac_cv_prog_ac_ct_WINDRES
="$ac_ct_WINDRES" # Let the user override the test.
16733 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16734 for as_dir
in $PATH
16737 test -z "$as_dir" && as_dir
=.
16738 for ac_exec_ext
in '' $ac_executable_extensions; do
16739 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16740 ac_cv_prog_ac_ct_WINDRES
="windres"
16741 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16750 ac_ct_WINDRES
=$ac_cv_prog_ac_ct_WINDRES
16751 if test -n "$ac_ct_WINDRES"; then
16752 { echo "$as_me:$LINENO: result: $ac_ct_WINDRES" >&5
16753 echo "${ECHO_T}$ac_ct_WINDRES" >&6; }
16755 { echo "$as_me:$LINENO: result: no" >&5
16756 echo "${ECHO_T}no" >&6; }
16759 if test "x$ac_ct_WINDRES" = x
; then
16762 case $cross_compiling:$ac_tool_warned in
16764 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
16765 whose name does not start with the host triplet. If you think this
16766 configuration is useful to you, please write to autoconf@gnu.org." >&5
16767 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
16768 whose name does not start with the host triplet. If you think this
16769 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
16770 ac_tool_warned
=yes ;;
16772 WINDRES
=$ac_ct_WINDRES
16775 WINDRES
="$ac_cv_prog_WINDRES"
16779 if test -n "$ac_tool_prefix"; then
16780 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
16781 set dummy
${ac_tool_prefix}dlltool
; ac_word
=$2
16782 { echo "$as_me:$LINENO: checking for $ac_word" >&5
16783 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16784 if test "${ac_cv_prog_DLLTOOL+set}" = set; then
16785 echo $ECHO_N "(cached) $ECHO_C" >&6
16787 if test -n "$DLLTOOL"; then
16788 ac_cv_prog_DLLTOOL
="$DLLTOOL" # Let the user override the test.
16790 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16791 for as_dir
in $PATH
16794 test -z "$as_dir" && as_dir
=.
16795 for ac_exec_ext
in '' $ac_executable_extensions; do
16796 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16797 ac_cv_prog_DLLTOOL
="${ac_tool_prefix}dlltool"
16798 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16807 DLLTOOL
=$ac_cv_prog_DLLTOOL
16808 if test -n "$DLLTOOL"; then
16809 { echo "$as_me:$LINENO: result: $DLLTOOL" >&5
16810 echo "${ECHO_T}$DLLTOOL" >&6; }
16812 { echo "$as_me:$LINENO: result: no" >&5
16813 echo "${ECHO_T}no" >&6; }
16818 if test -z "$ac_cv_prog_DLLTOOL"; then
16819 ac_ct_DLLTOOL
=$DLLTOOL
16820 # Extract the first word of "dlltool", so it can be a program name with args.
16821 set dummy dlltool
; ac_word
=$2
16822 { echo "$as_me:$LINENO: checking for $ac_word" >&5
16823 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16824 if test "${ac_cv_prog_ac_ct_DLLTOOL+set}" = set; then
16825 echo $ECHO_N "(cached) $ECHO_C" >&6
16827 if test -n "$ac_ct_DLLTOOL"; then
16828 ac_cv_prog_ac_ct_DLLTOOL
="$ac_ct_DLLTOOL" # Let the user override the test.
16830 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16831 for as_dir
in $PATH
16834 test -z "$as_dir" && as_dir
=.
16835 for ac_exec_ext
in '' $ac_executable_extensions; do
16836 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16837 ac_cv_prog_ac_ct_DLLTOOL
="dlltool"
16838 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16847 ac_ct_DLLTOOL
=$ac_cv_prog_ac_ct_DLLTOOL
16848 if test -n "$ac_ct_DLLTOOL"; then
16849 { echo "$as_me:$LINENO: result: $ac_ct_DLLTOOL" >&5
16850 echo "${ECHO_T}$ac_ct_DLLTOOL" >&6; }
16852 { echo "$as_me:$LINENO: result: no" >&5
16853 echo "${ECHO_T}no" >&6; }
16856 if test "x$ac_ct_DLLTOOL" = x
; then
16859 case $cross_compiling:$ac_tool_warned in
16861 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
16862 whose name does not start with the host triplet. If you think this
16863 configuration is useful to you, please write to autoconf@gnu.org." >&5
16864 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
16865 whose name does not start with the host triplet. If you think this
16866 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
16867 ac_tool_warned
=yes ;;
16869 DLLTOOL
=$ac_ct_DLLTOOL
16872 DLLTOOL
="$ac_cv_prog_DLLTOOL"
16879 { echo "$as_me:$LINENO: checking if make is GNU make" >&5
16880 echo $ECHO_N "checking if make is GNU make... $ECHO_C" >&6; }
16881 if test "${wx_cv_prog_makeisgnu+set}" = set; then
16882 echo $ECHO_N "(cached) $ECHO_C" >&6
16885 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev
/null
|
16886 $EGREP -s GNU
> /dev
/null
); then
16887 wx_cv_prog_makeisgnu
="yes"
16889 wx_cv_prog_makeisgnu
="no"
16893 { echo "$as_me:$LINENO: result: $wx_cv_prog_makeisgnu" >&5
16894 echo "${ECHO_T}$wx_cv_prog_makeisgnu" >&6; }
16896 if test "x$wx_cv_prog_makeisgnu" = "xyes"; then
16904 if test "x$wx_cv_prog_makeisgnu" != "xyes"; then
16905 { echo "$as_me:$LINENO: checking if make supports VPATH" >&5
16906 echo $ECHO_N "checking if make supports VPATH... $ECHO_C" >&6; }
16907 if test "${wx_cv_prog_makevpath+set}" = set; then
16908 echo $ECHO_N "(cached) $ECHO_C" >&6
16911 cat - << EOF > confMake
16917 if test ! -d sub
; then
16920 echo dummy
> sub
/file
16921 ${MAKE-make} -f confMake VPATH
=sub
2>&5 > /dev
/null
16923 rm -f sub
/file check final_file confMake
16925 if test "$RESULT" = 0; then
16926 wx_cv_prog_makevpath
="yes"
16928 wx_cv_prog_makevpath
="no"
16932 { echo "$as_me:$LINENO: result: $wx_cv_prog_makevpath" >&5
16933 echo "${ECHO_T}$wx_cv_prog_makevpath" >&6; }
16935 if test "x$wx_cv_prog_makevpath" != "xyes"; then
16936 { { echo "$as_me:$LINENO: error:
16937 You need a make-utility that is able to use the variable
16939 If your version of make does not support VPATH correctly,
16940 please install GNU-make (possibly as gmake), and start
16941 configure with the following command:
16942 export MAKE=gmake; ./configure for sh-type shells
16943 setenv MAKE gmake; ./configure for csh-type shells
16944 Also please do remember to use gmake in this case every time
16945 you are trying to compile.
16947 echo "$as_me: error:
16948 You need a make-utility that is able to use the variable
16950 If your version of make does not support VPATH correctly,
16951 please install GNU-make (possibly as gmake), and start
16952 configure with the following command:
16953 export MAKE=gmake; ./configure for sh-type shells
16954 setenv MAKE gmake; ./configure for csh-type shells
16955 Also please do remember to use gmake in this case every time
16956 you are trying to compile.
16958 { (exit 1); exit 1; }; }
16960 { echo "$as_me:$LINENO: checking whether ln -s works" >&5
16961 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; }
16963 if test "$LN_S" = "ln -s"; then
16964 { echo "$as_me:$LINENO: result: yes" >&5
16965 echo "${ECHO_T}yes" >&6; }
16967 { echo "$as_me:$LINENO: result: no, using $LN_S" >&5
16968 echo "${ECHO_T}no, using $LN_S" >&6; }
16974 if test "x$XLCXX" = "xyes" -a "x$USE_AIX" = "x1"; then
16975 CXXFLAGS
="-qunique $CXXFLAGS"
16979 powerpc
-*-darwin* )
16980 { echo "$as_me:$LINENO: checking if __POWERPC__ is already defined" >&5
16981 echo $ECHO_N "checking if __POWERPC__ is already defined... $ECHO_C" >&6; }
16982 cat >conftest.
$ac_ext <<_ACEOF
16985 cat confdefs.h
>>conftest.
$ac_ext
16986 cat >>conftest.
$ac_ext <<_ACEOF
16987 /* end confdefs.h. */
16992 #ifndef __POWERPC__
16993 choke me for lack of PowerPC
17000 rm -f conftest.
$ac_objext
17001 if { (ac_try
="$ac_compile"
17002 case "(($ac_try" in
17003 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
17004 *) ac_try_echo=$ac_try;;
17006 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17007 (eval "$ac_compile") 2>conftest.er1
17009 grep -v '^ *+' conftest.er1 >conftest.err
17011 cat conftest.err >&5
17012 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17013 (exit $ac_status); } && {
17014 test -z "$ac_c_werror_flag" ||
17015 test ! -s conftest.err
17016 } && test -s conftest.$ac_objext; then
17017 { echo "$as_me:$LINENO: result: yes" >&5
17018 echo "${ECHO_T}yes" >&6; }
17020 echo "$as_me: failed program was:" >&5
17021 sed 's/^/| /' conftest.$ac_ext >&5
17023 { echo "$as_me:$LINENO: result: no" >&5
17024 echo "${ECHO_T}no" >&6; }
17025 cat >>confdefs.h <<\_ACEOF
17026 #define __POWERPC__ 1
17032 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17038 { echo "$as_me:$LINENO: checking if CoreFoundation/CFBase.h is usable" >&5
17039 echo $ECHO_N "checking if CoreFoundation/CFBase.h is usable... $ECHO_C" >&6; }
17040 cat >conftest.$ac_ext <<_ACEOF
17043 cat confdefs.h >>conftest.$ac_ext
17044 cat >>conftest.$ac_ext <<_ACEOF
17045 /* end confdefs.h. */
17046 #include <CoreFoundation/CFBase.h>
17056 rm -f conftest.$ac_objext
17057 if { (ac_try="$ac_compile"
17058 case "(($ac_try" in
17059 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
17060 *) ac_try_echo
=$ac_try;;
17062 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17063 (eval "$ac_compile") 2>conftest.er1
17065 grep -v '^ *+' conftest.er1
>conftest.err
17067 cat conftest.err
>&5
17068 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17069 (exit $ac_status); } && {
17070 test -z "$ac_c_werror_flag" ||
17071 test ! -s conftest.err
17072 } && test -s conftest.
$ac_objext; then
17073 { echo "$as_me:$LINENO: result: yes" >&5
17074 echo "${ECHO_T}yes" >&6; }
17076 echo "$as_me: failed program was:" >&5
17077 sed 's/^/| /' conftest.
$ac_ext >&5
17079 { echo "$as_me:$LINENO: result: no" >&5
17080 echo "${ECHO_T}no" >&6; }
17081 { echo "$as_me:$LINENO: checking if __CF_USE_FRAMEWORK_INCLUDES__ is required" >&5
17082 echo $ECHO_N "checking if __CF_USE_FRAMEWORK_INCLUDES__ is required... $ECHO_C" >&6; }
17083 cat >conftest.
$ac_ext <<_ACEOF
17086 cat confdefs.h
>>conftest.
$ac_ext
17087 cat >>conftest.
$ac_ext <<_ACEOF
17088 /* end confdefs.h. */
17089 #define __CF_USE_FRAMEWORK_INCLUDES__
17090 #include <CoreFoundation/CFBase.h>
17100 rm -f conftest.
$ac_objext
17101 if { (ac_try
="$ac_compile"
17102 case "(($ac_try" in
17103 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
17104 *) ac_try_echo=$ac_try;;
17106 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17107 (eval "$ac_compile") 2>conftest.er1
17109 grep -v '^ *+' conftest.er1 >conftest.err
17111 cat conftest.err >&5
17112 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17113 (exit $ac_status); } && {
17114 test -z "$ac_c_werror_flag" ||
17115 test ! -s conftest.err
17116 } && test -s conftest.$ac_objext; then
17117 { echo "$as_me:$LINENO: result: yes" >&5
17118 echo "${ECHO_T}yes" >&6; }
17119 CPPFLAGS="-D__CF_USE_FRAMEWORK_INCLUDES__ $CPPFLAGS"
17121 echo "$as_me: failed program was:" >&5
17122 sed 's/^/| /' conftest.$ac_ext >&5
17124 { { echo "$as_me:$LINENO: error: no. CoreFoundation not available.
17125 See \`config.log
' for more details." >&5
17126 echo "$as_me: error: no. CoreFoundation not available.
17127 See \`config.log' for more details.
" >&2;}
17128 { (exit 1); exit 1; }; }
17132 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17137 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17142 doesnt_want_win32=0
17145 if test "$wxUSE_MSW" = 1 ; then
17148 { echo "$as_me:$LINENO: checking
if -mno-cygwin is
in effect
" >&5
17149 echo $ECHO_N "checking
if -mno-cygwin is
in effect...
$ECHO_C" >&6; }
17150 if test "${wx_cv_nocygwin+set}" = set; then
17151 echo $ECHO_N "(cached
) $ECHO_C" >&6
17154 cat >conftest.$ac_ext <<_ACEOF
17157 cat confdefs.h >>conftest.$ac_ext
17158 cat >>conftest.$ac_ext <<_ACEOF
17159 /* end confdefs.h. */
17173 rm -f conftest.$ac_objext
17174 if { (ac_try="$ac_compile"
17175 case "(($ac_try" in
17176 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17177 *) ac_try_echo=$ac_try;;
17179 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
17180 (eval "$ac_compile") 2>conftest.er1
17182 grep -v '^ *+' conftest.er1 >conftest.err
17184 cat conftest.err >&5
17185 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
17186 (exit $ac_status); } && {
17187 test -z "$ac_c_werror_flag" ||
17188 test ! -s conftest.err
17189 } && test -s conftest.$ac_objext; then
17192 echo "$as_me: failed program was
:" >&5
17193 sed 's/^/| /' conftest.$ac_ext >&5
17199 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17203 { echo "$as_me:$LINENO: result
: $wx_cv_nocygwin" >&5
17204 echo "${ECHO_T}$wx_cv_nocygwin" >&6; }
17206 if test "$wx_cv_nocygwin" = "yes"; then
17209 doesnt_want_win32=1
17212 if test "$wants_win32" = 1 ; then
17213 BAKEFILE_FORCE_PLATFORM=win32
17221 if test "$wxUSE_WINE" = "yes"; then
17223 LDFLAGS_GUI="-mwindows"
17226 if test "$wants_win32" = 1 ; then
17229 cat >>confdefs.h <<\_ACEOF
17230 #define __WIN32__ 1
17233 cat >>confdefs.h <<\_ACEOF
17234 #define __WIN95__ 1
17237 cat >>confdefs.h <<\_ACEOF
17238 #define __WINDOWS__ 1
17241 cat >>confdefs.h <<\_ACEOF
17242 #define __GNUWIN32__ 1
17245 cat >>confdefs.h <<\_ACEOF
17250 if test "$doesnt_want_win32" = 1 ; then
17255 if test "$USE_UNIX" = 1 ; then
17257 cat >>confdefs.h <<\_ACEOF
17264 *-pc-os2_emx | *-pc-os2-emx )
17265 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_GTK" = 1 -o "$wxUSE_X11" = 1; then
17266 { echo "$as_me:$LINENO: checking
for drand48
in -lcExt" >&5
17267 echo $ECHO_N "checking
for drand48
in -lcExt...
$ECHO_C" >&6; }
17268 if test "${ac_cv_lib_cExt_drand48+set}" = set; then
17269 echo $ECHO_N "(cached
) $ECHO_C" >&6
17271 ac_check_lib_save_LIBS=$LIBS
17272 LIBS="-lcExt $LIBS"
17273 cat >conftest.$ac_ext <<_ACEOF
17276 cat confdefs.h >>conftest.$ac_ext
17277 cat >>conftest.$ac_ext <<_ACEOF
17278 /* end confdefs.h. */
17280 /* Override any GCC internal prototype to avoid an error.
17281 Use char because int might match the return type of a GCC
17282 builtin and then its argument prototype would still apply. */
17295 rm -f conftest.$ac_objext conftest$ac_exeext
17296 if { (ac_try="$ac_link"
17297 case "(($ac_try" in
17298 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17299 *) ac_try_echo=$ac_try;;
17301 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
17302 (eval "$ac_link") 2>conftest.er1
17304 grep -v '^ *+' conftest.er1 >conftest.err
17306 cat conftest.err >&5
17307 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
17308 (exit $ac_status); } && {
17309 test -z "$ac_c_werror_flag" ||
17310 test ! -s conftest.err
17311 } && test -s conftest$ac_exeext &&
17312 $as_test_x conftest$ac_exeext; then
17313 ac_cv_lib_cExt_drand48=yes
17315 echo "$as_me: failed program was
:" >&5
17316 sed 's/^/| /' conftest.$ac_ext >&5
17318 ac_cv_lib_cExt_drand48=no
17321 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17322 conftest$ac_exeext conftest.$ac_ext
17323 LIBS=$ac_check_lib_save_LIBS
17325 { echo "$as_me:$LINENO: result
: $ac_cv_lib_cExt_drand48" >&5
17326 echo "${ECHO_T}$ac_cv_lib_cExt_drand48" >&6; }
17327 if test $ac_cv_lib_cExt_drand48 = yes; then
17328 LIBS="$LIBS -lcExt"
17332 RESPROGRAMOBJ="\
${top_srcdir}/include
/wx
/os
2/wx.res
"
17334 { echo "$as_me:$LINENO: checking
for gcc
/libc version
" >&5
17335 echo $ECHO_N "checking
for gcc
/libc version...
$ECHO_C" >&6; }
17336 if test "${wx_cv_gccversion+set}" = set; then
17337 echo $ECHO_N "(cached
) $ECHO_C" >&6
17340 if test "$cross_compiling" = yes; then
17341 wx_cv_gccversion="EMX2
"
17344 cat >conftest.$ac_ext <<_ACEOF
17347 cat confdefs.h >>conftest.$ac_ext
17348 cat >>conftest.$ac_ext <<_ACEOF
17349 /* end confdefs.h. */
17355 FILE *f=fopen("conftestval
", "w
");
17360 #elif (__GNUC__==3) && ((__GNUC_MINOR__ < 2) || ((__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__<2)))
17362 #elif (__GNUC__==3) && (__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__==2)
17372 rm -f conftest$ac_exeext
17373 if { (ac_try="$ac_link"
17374 case "(($ac_try" in
17375 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17376 *) ac_try_echo=$ac_try;;
17378 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
17379 (eval "$ac_link") 2>&5
17381 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
17382 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
17383 { (case "(($ac_try" in
17384 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17385 *) ac_try_echo=$ac_try;;
17387 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
17388 (eval "$ac_try") 2>&5
17390 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
17391 (exit $ac_status); }; }; then
17392 wx_cv_gccversion=`cat conftestval`
17394 echo "$as_me: program exited with status
$ac_status" >&5
17395 echo "$as_me: failed program was
:" >&5
17396 sed 's/^/| /' conftest.$ac_ext >&5
17398 ( exit $ac_status )
17399 wx_cv_gccversion="EMX2
"
17401 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
17407 { echo "$as_me:$LINENO: result
: $wx_cv_gccversion" >&5
17408 echo "${ECHO_T}$wx_cv_gccversion" >&6; }
17409 if test "$wx_cv_gccversion" = "EMX2
"; then
17410 LIBS="$LIBS -lstdcpp"
17411 LDFLAGS="$LDFLAGS -Zsysv-signals"
17413 if test "$wx_cv_gccversion" = "EMX3
"; then
17414 LIBS="$LIBS -lstdcxx -lgcc"
17415 LDFLAGS="$LDFLAGS -Zsysv-signals"
17417 LIBS="$LIBS -lstdc++"
17420 if test "$wxUSE_SHARED" = "yes" -a "$wxUSE_OMF" = "no
"; then
17421 { echo "$as_me:$LINENO: WARNING
: Building DLLs requires OMF mode
, enabled
" >&5
17422 echo "$as_me: WARNING
: Building DLLs requires OMF mode
, enabled
" >&2;}
17429 { echo "$as_me:$LINENO: checking
for strcasecmp
() in string.h
" >&5
17430 echo $ECHO_N "checking
for strcasecmp
() in string.h...
$ECHO_C" >&6; }
17431 if test "${ac_cv_string_strcasecmp+set}" = set; then
17432 echo $ECHO_N "(cached
) $ECHO_C" >&6
17435 cat >conftest.$ac_ext <<_ACEOF
17438 cat confdefs.h >>conftest.$ac_ext
17439 cat >>conftest.$ac_ext <<_ACEOF
17440 /* end confdefs.h. */
17442 #include <string.h>
17448 strcasecmp("foo
", "bar
");
17454 rm -f conftest.$ac_objext conftest$ac_exeext
17455 if { (ac_try="$ac_link"
17456 case "(($ac_try" in
17457 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17458 *) ac_try_echo=$ac_try;;
17460 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
17461 (eval "$ac_link") 2>conftest.er1
17463 grep -v '^ *+' conftest.er1 >conftest.err
17465 cat conftest.err >&5
17466 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
17467 (exit $ac_status); } && {
17468 test -z "$ac_c_werror_flag" ||
17469 test ! -s conftest.err
17470 } && test -s conftest$ac_exeext &&
17471 $as_test_x conftest$ac_exeext; then
17472 ac_cv_string_strcasecmp=yes
17474 echo "$as_me: failed program was
:" >&5
17475 sed 's/^/| /' conftest.$ac_ext >&5
17477 ac_cv_string_strcasecmp=no
17481 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17482 conftest$ac_exeext conftest.$ac_ext
17485 { echo "$as_me:$LINENO: result
: $ac_cv_string_strcasecmp" >&5
17486 echo "${ECHO_T}$ac_cv_string_strcasecmp" >&6; }
17488 if test x"$ac_cv_string_strcasecmp" = "xyes
"; then
17489 cat >>confdefs.h <<\_ACEOF
17490 #define HAVE_STRCASECMP_IN_STRING_H 1
17494 { echo "$as_me:$LINENO: checking
for strcasecmp
() in strings.h
" >&5
17495 echo $ECHO_N "checking
for strcasecmp
() in strings.h...
$ECHO_C" >&6; }
17496 if test "${ac_cv_strings_strcasecmp+set}" = set; then
17497 echo $ECHO_N "(cached
) $ECHO_C" >&6
17500 cat >conftest.$ac_ext <<_ACEOF
17503 cat confdefs.h >>conftest.$ac_ext
17504 cat >>conftest.$ac_ext <<_ACEOF
17505 /* end confdefs.h. */
17507 #include <strings.h>
17513 strcasecmp("foo
", "bar
");
17519 rm -f conftest.$ac_objext conftest$ac_exeext
17520 if { (ac_try="$ac_link"
17521 case "(($ac_try" in
17522 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17523 *) ac_try_echo=$ac_try;;
17525 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
17526 (eval "$ac_link") 2>conftest.er1
17528 grep -v '^ *+' conftest.er1 >conftest.err
17530 cat conftest.err >&5
17531 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
17532 (exit $ac_status); } && {
17533 test -z "$ac_c_werror_flag" ||
17534 test ! -s conftest.err
17535 } && test -s conftest$ac_exeext &&
17536 $as_test_x conftest$ac_exeext; then
17537 ac_cv_strings_strcasecmp=yes
17539 echo "$as_me: failed program was
:" >&5
17540 sed 's/^/| /' conftest.$ac_ext >&5
17542 ac_cv_strings_strcasecmp=no
17546 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17547 conftest$ac_exeext conftest.$ac_ext
17550 { echo "$as_me:$LINENO: result
: $ac_cv_strings_strcasecmp" >&5
17551 echo "${ECHO_T}$ac_cv_strings_strcasecmp" >&6; }
17553 if test x"$ac_cv_strings_strcasecmp" = "xyes
"; then
17554 cat >>confdefs.h <<\_ACEOF
17555 #define HAVE_STRCASECMP_IN_STRINGS_H 1
17559 { { echo "$as_me:$LINENO: error
: No
case-insensitive string comparison
function found.
" >&5
17560 echo "$as_me: error
: No
case-insensitive string comparison
function found.
" >&2;}
17561 { (exit 1); exit 1; }; }
17569 { echo "$as_me:$LINENO: checking
for ANSI C header files
" >&5
17570 echo $ECHO_N "checking
for ANSI C header files...
$ECHO_C" >&6; }
17571 if test "${ac_cv_header_stdc+set}" = set; then
17572 echo $ECHO_N "(cached
) $ECHO_C" >&6
17574 cat >conftest.$ac_ext <<_ACEOF
17577 cat confdefs.h >>conftest.$ac_ext
17578 cat >>conftest.$ac_ext <<_ACEOF
17579 /* end confdefs.h. */
17580 #include <stdlib.h>
17581 #include <stdarg.h>
17582 #include <string.h>
17593 rm -f conftest.$ac_objext
17594 if { (ac_try="$ac_compile"
17595 case "(($ac_try" in
17596 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17597 *) ac_try_echo=$ac_try;;
17599 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
17600 (eval "$ac_compile") 2>conftest.er1
17602 grep -v '^ *+' conftest.er1 >conftest.err
17604 cat conftest.err >&5
17605 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
17606 (exit $ac_status); } && {
17607 test -z "$ac_c_werror_flag" ||
17608 test ! -s conftest.err
17609 } && test -s conftest.$ac_objext; then
17610 ac_cv_header_stdc=yes
17612 echo "$as_me: failed program was
:" >&5
17613 sed 's/^/| /' conftest.$ac_ext >&5
17615 ac_cv_header_stdc=no
17618 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17620 if test $ac_cv_header_stdc = yes; then
17621 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
17622 cat >conftest.$ac_ext <<_ACEOF
17625 cat confdefs.h >>conftest.$ac_ext
17626 cat >>conftest.$ac_ext <<_ACEOF
17627 /* end confdefs.h. */
17628 #include <string.h>
17631 if (eval "$ac_cpp conftest.
$ac_ext") 2>&5 |
17632 $EGREP "memchr
" >/dev/null 2>&1; then
17635 ac_cv_header_stdc=no
17641 if test $ac_cv_header_stdc = yes; then
17642 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
17643 cat >conftest.$ac_ext <<_ACEOF
17646 cat confdefs.h >>conftest.$ac_ext
17647 cat >>conftest.$ac_ext <<_ACEOF
17648 /* end confdefs.h. */
17649 #include <stdlib.h>
17652 if (eval "$ac_cpp conftest.
$ac_ext") 2>&5 |
17653 $EGREP "free
" >/dev/null 2>&1; then
17656 ac_cv_header_stdc=no
17662 if test $ac_cv_header_stdc = yes; then
17663 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
17664 if test "$cross_compiling" = yes; then
17667 cat >conftest.$ac_ext <<_ACEOF
17670 cat confdefs.h >>conftest.$ac_ext
17671 cat >>conftest.$ac_ext <<_ACEOF
17672 /* end confdefs.h. */
17674 #include <stdlib.h>
17675 #if ((' ' & 0x0FF) == 0x020)
17676 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
17677 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
17679 # define ISLOWER(c) \
17680 (('a' <= (c) && (c) <= 'i') \
17681 || ('j' <= (c) && (c) <= 'r') \
17682 || ('s' <= (c) && (c) <= 'z'))
17683 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
17686 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
17691 for (i = 0; i < 256; i++)
17692 if (XOR (islower (i), ISLOWER (i))
17693 || toupper (i) != TOUPPER (i))
17698 rm -f conftest$ac_exeext
17699 if { (ac_try="$ac_link"
17700 case "(($ac_try" in
17701 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17702 *) ac_try_echo=$ac_try;;
17704 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
17705 (eval "$ac_link") 2>&5
17707 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
17708 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
17709 { (case "(($ac_try" in
17710 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17711 *) ac_try_echo=$ac_try;;
17713 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
17714 (eval "$ac_try") 2>&5
17716 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
17717 (exit $ac_status); }; }; then
17720 echo "$as_me: program exited with status
$ac_status" >&5
17721 echo "$as_me: failed program was
:" >&5
17722 sed 's/^/| /' conftest.$ac_ext >&5
17724 ( exit $ac_status )
17725 ac_cv_header_stdc=no
17727 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
17733 { echo "$as_me:$LINENO: result
: $ac_cv_header_stdc" >&5
17734 echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
17735 if test $ac_cv_header_stdc = yes; then
17737 cat >>confdefs.h <<\_ACEOF
17738 #define STDC_HEADERS 1
17743 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
17753 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
17754 inttypes.h stdint.h unistd.h
17756 as_ac_Header=`echo "ac_cv_header_
$ac_header" | $as_tr_sh`
17757 { echo "$as_me:$LINENO: checking
for $ac_header" >&5
17758 echo $ECHO_N "checking
for $ac_header...
$ECHO_C" >&6; }
17759 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
17760 echo $ECHO_N "(cached
) $ECHO_C" >&6
17762 cat >conftest.$ac_ext <<_ACEOF
17765 cat confdefs.h >>conftest.$ac_ext
17766 cat >>conftest.$ac_ext <<_ACEOF
17767 /* end confdefs.h. */
17768 $ac_includes_default
17770 #include <$ac_header>
17772 rm -f conftest.$ac_objext
17773 if { (ac_try="$ac_compile"
17774 case "(($ac_try" in
17775 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17776 *) ac_try_echo=$ac_try;;
17778 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
17779 (eval "$ac_compile") 2>conftest.er1
17781 grep -v '^ *+' conftest.er1 >conftest.err
17783 cat conftest.err >&5
17784 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
17785 (exit $ac_status); } && {
17786 test -z "$ac_c_werror_flag" ||
17787 test ! -s conftest.err
17788 } && test -s conftest.$ac_objext; then
17789 eval "$as_ac_Header=yes"
17791 echo "$as_me: failed program was
:" >&5
17792 sed 's/^/| /' conftest.$ac_ext >&5
17794 eval "$as_ac_Header=no
"
17797 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17799 ac_res=`eval echo '${'$as_ac_Header'}'`
17800 { echo "$as_me:$LINENO: result
: $ac_res" >&5
17801 echo "${ECHO_T}$ac_res" >&6; }
17802 if test `eval echo '${'$as_ac_Header'}'` = yes; then
17803 cat >>confdefs.h <<_ACEOF
17804 #define `echo "HAVE_
$ac_header" | $as_tr_cpp` 1
17818 for ac_header in stdlib.h fnmatch.h langinfo.h malloc.h unistd.h wchar.h
17820 as_ac_Header=`echo "ac_cv_header_
$ac_header" | $as_tr_sh`
17821 { echo "$as_me:$LINENO: checking
for $ac_header" >&5
17822 echo $ECHO_N "checking
for $ac_header...
$ECHO_C" >&6; }
17823 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
17824 echo $ECHO_N "(cached
) $ECHO_C" >&6
17826 cat >conftest.$ac_ext <<_ACEOF
17829 cat confdefs.h >>conftest.$ac_ext
17830 cat >>conftest.$ac_ext <<_ACEOF
17831 /* end confdefs.h. */
17832 $ac_includes_default
17834 #include <$ac_header>
17836 rm -f conftest.$ac_objext
17837 if { (ac_try="$ac_compile"
17838 case "(($ac_try" in
17839 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17840 *) ac_try_echo=$ac_try;;
17842 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
17843 (eval "$ac_compile") 2>conftest.er1
17845 grep -v '^ *+' conftest.er1 >conftest.err
17847 cat conftest.err >&5
17848 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
17849 (exit $ac_status); } && {
17850 test -z "$ac_c_werror_flag" ||
17851 test ! -s conftest.err
17852 } && test -s conftest.$ac_objext; then
17853 eval "$as_ac_Header=yes"
17855 echo "$as_me: failed program was
:" >&5
17856 sed 's/^/| /' conftest.$ac_ext >&5
17858 eval "$as_ac_Header=no
"
17861 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17863 ac_res=`eval echo '${'$as_ac_Header'}'`
17864 { echo "$as_me:$LINENO: result
: $ac_res" >&5
17865 echo "${ECHO_T}$ac_res" >&6; }
17866 if test `eval echo '${'$as_ac_Header'}'` = yes; then
17867 cat >>confdefs.h <<_ACEOF
17868 #define `echo "HAVE_
$ac_header" | $as_tr_cpp` 1
17876 if test "$ac_cv_header_wchar_h" != "yes"; then
17877 { echo "$as_me:$LINENO: checking
for wcstr.h
" >&5
17878 echo $ECHO_N "checking
for wcstr.h...
$ECHO_C" >&6; }
17879 if test "${ac_cv_header_wcstr_h+set}" = set; then
17880 echo $ECHO_N "(cached
) $ECHO_C" >&6
17882 cat >conftest.$ac_ext <<_ACEOF
17885 cat confdefs.h >>conftest.$ac_ext
17886 cat >>conftest.$ac_ext <<_ACEOF
17887 /* end confdefs.h. */
17888 $ac_includes_default
17892 rm -f conftest.$ac_objext
17893 if { (ac_try="$ac_compile"
17894 case "(($ac_try" in
17895 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17896 *) ac_try_echo=$ac_try;;
17898 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
17899 (eval "$ac_compile") 2>conftest.er1
17901 grep -v '^ *+' conftest.er1 >conftest.err
17903 cat conftest.err >&5
17904 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
17905 (exit $ac_status); } && {
17906 test -z "$ac_c_werror_flag" ||
17907 test ! -s conftest.err
17908 } && test -s conftest.$ac_objext; then
17909 ac_cv_header_wcstr_h=yes
17911 echo "$as_me: failed program was
:" >&5
17912 sed 's/^/| /' conftest.$ac_ext >&5
17914 ac_cv_header_wcstr_h=no
17917 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17919 { echo "$as_me:$LINENO: result
: $ac_cv_header_wcstr_h" >&5
17920 echo "${ECHO_T}$ac_cv_header_wcstr_h" >&6; }
17926 *-pc-os2_emx | *-pc-os2-emx )
17927 if test $ac_cv_header_langinfo_h = "yes" \
17928 -a \( "$wx_cv_gccversion" = "EMX2
" \
17929 -o "$wx_cv_gccversion" = "EMX3
" \
17930 -o "$wx_cv_gccversion" = "Innotek5
" \); then
17931 LIBS="$LIBS -lintl"
17936 if test "$USE_UNIX" = 1 ; then
17937 { echo "$as_me:$LINENO: checking
for sys
/select.h
" >&5
17938 echo $ECHO_N "checking
for sys
/select.h...
$ECHO_C" >&6; }
17939 if test "${ac_cv_header_sys_select_h+set}" = set; then
17940 echo $ECHO_N "(cached
) $ECHO_C" >&6
17942 cat >conftest.$ac_ext <<_ACEOF
17945 cat confdefs.h >>conftest.$ac_ext
17946 cat >>conftest.$ac_ext <<_ACEOF
17947 /* end confdefs.h. */
17948 $ac_includes_default
17950 #include <sys/select.h>
17952 rm -f conftest.$ac_objext
17953 if { (ac_try="$ac_compile"
17954 case "(($ac_try" in
17955 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17956 *) ac_try_echo=$ac_try;;
17958 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
17959 (eval "$ac_compile") 2>conftest.er1
17961 grep -v '^ *+' conftest.er1 >conftest.err
17963 cat conftest.err >&5
17964 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
17965 (exit $ac_status); } && {
17966 test -z "$ac_c_werror_flag" ||
17967 test ! -s conftest.err
17968 } && test -s conftest.$ac_objext; then
17969 ac_cv_header_sys_select_h=yes
17971 echo "$as_me: failed program was
:" >&5
17972 sed 's/^/| /' conftest.$ac_ext >&5
17974 ac_cv_header_sys_select_h=no
17977 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17979 { echo "$as_me:$LINENO: result
: $ac_cv_header_sys_select_h" >&5
17980 echo "${ECHO_T}$ac_cv_header_sys_select_h" >&6; }
17986 { echo "$as_me:$LINENO: checking
for an ANSI C
-conforming const
" >&5
17987 echo $ECHO_N "checking
for an ANSI C
-conforming const...
$ECHO_C" >&6; }
17988 if test "${ac_cv_c_const+set}" = set; then
17989 echo $ECHO_N "(cached
) $ECHO_C" >&6
17991 cat >conftest.$ac_ext <<_ACEOF
17994 cat confdefs.h >>conftest.$ac_ext
17995 cat >>conftest.$ac_ext <<_ACEOF
17996 /* end confdefs.h. */
18001 /* FIXME: Include the comments suggested by Paul. */
18002 #ifndef __cplusplus
18003 /* Ultrix mips cc rejects this. */
18004 typedef int charset[2];
18006 /* SunOS 4.1.1 cc rejects this. */
18007 char const *const *pcpcc;
18009 /* NEC SVR4.0.2 mips cc rejects this. */
18010 struct point {int x, y;};
18011 static struct point const zero = {0,0};
18012 /* AIX XL C 1.02.0.0 rejects this.
18013 It does not let you subtract one const X* pointer from another in
18014 an arm of an if-expression whose if-part is not a constant
18016 const char *g = "string
";
18017 pcpcc = &g + (g ? g-g : 0);
18018 /* HPUX 7.0 cc rejects these. */
18020 ppc = (char**) pcpcc;
18021 pcpcc = (char const *const *) ppc;
18022 { /* SCO 3.2v4 cc rejects this. */
18024 char const *s = 0 ? (char *) 0 : (char const *) 0;
18029 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
18030 int x[] = {25, 17};
18031 const int *foo = &x[0];
18034 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
18035 typedef const int *iptr;
18039 { /* AIX XL C 1.02.0.0 rejects this saying
18040 "k.c
", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
18041 struct s { int j; const int *ap[3]; };
18042 struct s *b; b->j = 5;
18044 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
18045 const int foo = 10;
18046 if (!foo) return 0;
18048 return !cs[0] && !zero.x;
18055 rm -f conftest.$ac_objext
18056 if { (ac_try="$ac_compile"
18057 case "(($ac_try" in
18058 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18059 *) ac_try_echo=$ac_try;;
18061 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
18062 (eval "$ac_compile") 2>conftest.er1
18064 grep -v '^ *+' conftest.er1 >conftest.err
18066 cat conftest.err >&5
18067 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
18068 (exit $ac_status); } && {
18069 test -z "$ac_c_werror_flag" ||
18070 test ! -s conftest.err
18071 } && test -s conftest.$ac_objext; then
18074 echo "$as_me: failed program was
:" >&5
18075 sed 's/^/| /' conftest.$ac_ext >&5
18080 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18082 { echo "$as_me:$LINENO: result
: $ac_cv_c_const" >&5
18083 echo "${ECHO_T}$ac_cv_c_const" >&6; }
18084 if test $ac_cv_c_const = no; then
18086 cat >>confdefs.h <<\_ACEOF
18092 { echo "$as_me:$LINENO: checking
for inline
" >&5
18093 echo $ECHO_N "checking
for inline...
$ECHO_C" >&6; }
18094 if test "${ac_cv_c_inline+set}" = set; then
18095 echo $ECHO_N "(cached
) $ECHO_C" >&6
18098 for ac_kw in inline __inline__ __inline; do
18099 cat >conftest.$ac_ext <<_ACEOF
18102 cat confdefs.h >>conftest.$ac_ext
18103 cat >>conftest.$ac_ext <<_ACEOF
18104 /* end confdefs.h. */
18105 #ifndef __cplusplus
18107 static $ac_kw foo_t static_foo () {return 0; }
18108 $ac_kw foo_t foo () {return 0; }
18112 rm -f conftest.$ac_objext
18113 if { (ac_try="$ac_compile"
18114 case "(($ac_try" in
18115 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18116 *) ac_try_echo=$ac_try;;
18118 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
18119 (eval "$ac_compile") 2>conftest.er1
18121 grep -v '^ *+' conftest.er1 >conftest.err
18123 cat conftest.err >&5
18124 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
18125 (exit $ac_status); } && {
18126 test -z "$ac_c_werror_flag" ||
18127 test ! -s conftest.err
18128 } && test -s conftest.$ac_objext; then
18129 ac_cv_c_inline=$ac_kw
18131 echo "$as_me: failed program was
:" >&5
18132 sed 's/^/| /' conftest.$ac_ext >&5
18137 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18138 test "$ac_cv_c_inline" != no && break
18142 { echo "$as_me:$LINENO: result
: $ac_cv_c_inline" >&5
18143 echo "${ECHO_T}$ac_cv_c_inline" >&6; }
18146 case $ac_cv_c_inline in
18149 case $ac_cv_c_inline in
18151 *) ac_val=$ac_cv_c_inline;;
18153 cat >>confdefs.h <<_ACEOF
18154 #ifndef __cplusplus
18155 #define inline $ac_val
18162 { echo "$as_me:$LINENO: checking
for char
" >&5
18163 echo $ECHO_N "checking
for char...
$ECHO_C" >&6; }
18164 if test "${ac_cv_type_char+set}" = set; then
18165 echo $ECHO_N "(cached
) $ECHO_C" >&6
18167 cat >conftest.$ac_ext <<_ACEOF
18170 cat confdefs.h >>conftest.$ac_ext
18171 cat >>conftest.$ac_ext <<_ACEOF
18172 /* end confdefs.h. */
18173 $ac_includes_default
18174 typedef char ac__type_new_;
18178 if ((ac__type_new_ *) 0)
18180 if (sizeof (ac__type_new_))
18186 rm -f conftest.$ac_objext
18187 if { (ac_try="$ac_compile"
18188 case "(($ac_try" in
18189 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18190 *) ac_try_echo=$ac_try;;
18192 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
18193 (eval "$ac_compile") 2>conftest.er1
18195 grep -v '^ *+' conftest.er1 >conftest.err
18197 cat conftest.err >&5
18198 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
18199 (exit $ac_status); } && {
18200 test -z "$ac_c_werror_flag" ||
18201 test ! -s conftest.err
18202 } && test -s conftest.$ac_objext; then
18203 ac_cv_type_char=yes
18205 echo "$as_me: failed program was
:" >&5
18206 sed 's/^/| /' conftest.$ac_ext >&5
18211 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18213 { echo "$as_me:$LINENO: result
: $ac_cv_type_char" >&5
18214 echo "${ECHO_T}$ac_cv_type_char" >&6; }
18216 # The cast to long int works around a bug in the HP C Compiler
18217 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
18218 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
18219 # This bug is HP SR number 8606223364.
18220 { echo "$as_me:$LINENO: checking size of char
" >&5
18221 echo $ECHO_N "checking size of char...
$ECHO_C" >&6; }
18222 if test "${ac_cv_sizeof_char+set}" = set; then
18223 echo $ECHO_N "(cached
) $ECHO_C" >&6
18225 if test "$cross_compiling" = yes; then
18226 # Depending upon the size, compute the lo and hi bounds.
18227 cat >conftest.$ac_ext <<_ACEOF
18230 cat confdefs.h >>conftest.$ac_ext
18231 cat >>conftest.$ac_ext <<_ACEOF
18232 /* end confdefs.h. */
18233 $ac_includes_default
18234 typedef char ac__type_sizeof_;
18238 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
18245 rm -f conftest.$ac_objext
18246 if { (ac_try="$ac_compile"
18247 case "(($ac_try" in
18248 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18249 *) ac_try_echo=$ac_try;;
18251 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
18252 (eval "$ac_compile") 2>conftest.er1
18254 grep -v '^ *+' conftest.er1 >conftest.err
18256 cat conftest.err >&5
18257 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
18258 (exit $ac_status); } && {
18259 test -z "$ac_c_werror_flag" ||
18260 test ! -s conftest.err
18261 } && test -s conftest.$ac_objext; then
18264 cat >conftest.$ac_ext <<_ACEOF
18267 cat confdefs.h >>conftest.$ac_ext
18268 cat >>conftest.$ac_ext <<_ACEOF
18269 /* end confdefs.h. */
18270 $ac_includes_default
18271 typedef char ac__type_sizeof_;
18275 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
18282 rm -f conftest.$ac_objext
18283 if { (ac_try="$ac_compile"
18284 case "(($ac_try" in
18285 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18286 *) ac_try_echo=$ac_try;;
18288 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
18289 (eval "$ac_compile") 2>conftest.er1
18291 grep -v '^ *+' conftest.er1 >conftest.err
18293 cat conftest.err >&5
18294 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
18295 (exit $ac_status); } && {
18296 test -z "$ac_c_werror_flag" ||
18297 test ! -s conftest.err
18298 } && test -s conftest.$ac_objext; then
18299 ac_hi=$ac_mid; break
18301 echo "$as_me: failed program was
:" >&5
18302 sed 's/^/| /' conftest.$ac_ext >&5
18304 ac_lo=`expr $ac_mid + 1`
18305 if test $ac_lo -le $ac_mid; then
18309 ac_mid=`expr 2 '*' $ac_mid + 1`
18312 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18315 echo "$as_me: failed program was
:" >&5
18316 sed 's/^/| /' conftest.$ac_ext >&5
18318 cat >conftest.$ac_ext <<_ACEOF
18321 cat confdefs.h >>conftest.$ac_ext
18322 cat >>conftest.$ac_ext <<_ACEOF
18323 /* end confdefs.h. */
18324 $ac_includes_default
18325 typedef char ac__type_sizeof_;
18329 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
18336 rm -f conftest.$ac_objext
18337 if { (ac_try="$ac_compile"
18338 case "(($ac_try" in
18339 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18340 *) ac_try_echo=$ac_try;;
18342 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
18343 (eval "$ac_compile") 2>conftest.er1
18345 grep -v '^ *+' conftest.er1 >conftest.err
18347 cat conftest.err >&5
18348 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
18349 (exit $ac_status); } && {
18350 test -z "$ac_c_werror_flag" ||
18351 test ! -s conftest.err
18352 } && test -s conftest.$ac_objext; then
18355 cat >conftest.$ac_ext <<_ACEOF
18358 cat confdefs.h >>conftest.$ac_ext
18359 cat >>conftest.$ac_ext <<_ACEOF
18360 /* end confdefs.h. */
18361 $ac_includes_default
18362 typedef char ac__type_sizeof_;
18366 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
18373 rm -f conftest.$ac_objext
18374 if { (ac_try="$ac_compile"
18375 case "(($ac_try" in
18376 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18377 *) ac_try_echo=$ac_try;;
18379 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
18380 (eval "$ac_compile") 2>conftest.er1
18382 grep -v '^ *+' conftest.er1 >conftest.err
18384 cat conftest.err >&5
18385 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
18386 (exit $ac_status); } && {
18387 test -z "$ac_c_werror_flag" ||
18388 test ! -s conftest.err
18389 } && test -s conftest.$ac_objext; then
18390 ac_lo=$ac_mid; break
18392 echo "$as_me: failed program was
:" >&5
18393 sed 's/^/| /' conftest.$ac_ext >&5
18395 ac_hi=`expr '(' $ac_mid ')' - 1`
18396 if test $ac_mid -le $ac_hi; then
18400 ac_mid=`expr 2 '*' $ac_mid`
18403 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18406 echo "$as_me: failed program was
:" >&5
18407 sed 's/^/| /' conftest.$ac_ext >&5
18412 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18415 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18416 # Binary search between lo and hi bounds.
18417 while test "x
$ac_lo" != "x
$ac_hi"; do
18418 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
18419 cat >conftest.$ac_ext <<_ACEOF
18422 cat confdefs.h >>conftest.$ac_ext
18423 cat >>conftest.$ac_ext <<_ACEOF
18424 /* end confdefs.h. */
18425 $ac_includes_default
18426 typedef char ac__type_sizeof_;
18430 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
18437 rm -f conftest.$ac_objext
18438 if { (ac_try="$ac_compile"
18439 case "(($ac_try" in
18440 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18441 *) ac_try_echo=$ac_try;;
18443 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
18444 (eval "$ac_compile") 2>conftest.er1
18446 grep -v '^ *+' conftest.er1 >conftest.err
18448 cat conftest.err >&5
18449 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
18450 (exit $ac_status); } && {
18451 test -z "$ac_c_werror_flag" ||
18452 test ! -s conftest.err
18453 } && test -s conftest.$ac_objext; then
18456 echo "$as_me: failed program was
:" >&5
18457 sed 's/^/| /' conftest.$ac_ext >&5
18459 ac_lo=`expr '(' $ac_mid ')' + 1`
18462 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18465 ?*) ac_cv_sizeof_char=$ac_lo;;
18466 '') if test "$ac_cv_type_char" = yes; then
18467 { { echo "$as_me:$LINENO: error
: cannot compute sizeof
(char
)
18468 See \
`config.log' for more details." >&5
18469 echo "$as_me: error: cannot compute sizeof (char)
18470 See \`config.log
' for more details." >&2;}
18471 { (exit 77); exit 77; }; }
18473 ac_cv_sizeof_char=0
18477 cat >conftest.$ac_ext <<_ACEOF
18480 cat confdefs.h >>conftest.$ac_ext
18481 cat >>conftest.$ac_ext <<_ACEOF
18482 /* end confdefs.h. */
18483 $ac_includes_default
18484 typedef char ac__type_sizeof_;
18485 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
18486 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
18488 #include <stdlib.h>
18493 FILE *f = fopen ("conftest.val", "w");
18496 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
18498 long int i = longval ();
18499 if (i != ((long int) (sizeof (ac__type_sizeof_))))
18501 fprintf (f, "%ld\n", i);
18505 unsigned long int i = ulongval ();
18506 if (i != ((long int) (sizeof (ac__type_sizeof_))))
18508 fprintf (f, "%lu\n", i);
18510 return ferror (f) || fclose (f) != 0;
18516 rm -f conftest$ac_exeext
18517 if { (ac_try="$ac_link"
18518 case "(($ac_try" in
18519 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18520 *) ac_try_echo=$ac_try;;
18522 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18523 (eval "$ac_link") 2>&5
18525 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18526 (exit $ac_status); } && { ac_try='.
/conftest
$ac_exeext'
18527 { (case "(($ac_try" in
18528 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18529 *) ac_try_echo=$ac_try;;
18531 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18532 (eval "$ac_try") 2>&5
18534 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18535 (exit $ac_status); }; }; then
18536 ac_cv_sizeof_char=`cat conftest.val`
18538 echo "$as_me: program exited with status $ac_status" >&5
18539 echo "$as_me: failed program was:" >&5
18540 sed 's
/^
/| /' conftest.$ac_ext >&5
18542 ( exit $ac_status )
18543 if test "$ac_cv_type_char" = yes; then
18544 { { echo "$as_me:$LINENO: error: cannot compute sizeof (char)
18545 See \`config.log' for more details.
" >&5
18546 echo "$as_me: error
: cannot compute sizeof
(char
)
18547 See \
`config.log' for more details." >&2;}
18548 { (exit 77); exit 77; }; }
18550 ac_cv_sizeof_char=0
18553 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
18557 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_char" >&5
18558 echo "${ECHO_T}$ac_cv_sizeof_char" >&6; }
18562 cat >>confdefs.h <<_ACEOF
18563 #define SIZEOF_CHAR $ac_cv_sizeof_char
18567 { echo "$as_me:$LINENO: checking for short" >&5
18568 echo $ECHO_N "checking for short... $ECHO_C" >&6; }
18569 if test "${ac_cv_type_short+set}" = set; then
18570 echo $ECHO_N "(cached) $ECHO_C" >&6
18572 cat >conftest.$ac_ext <<_ACEOF
18575 cat confdefs.h >>conftest.$ac_ext
18576 cat >>conftest.$ac_ext <<_ACEOF
18577 /* end confdefs.h. */
18578 $ac_includes_default
18579 typedef short ac__type_new_;
18583 if ((ac__type_new_ *) 0)
18585 if (sizeof (ac__type_new_))
18591 rm -f conftest.$ac_objext
18592 if { (ac_try="$ac_compile"
18593 case "(($ac_try" in
18594 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
18595 *) ac_try_echo
=$ac_try;;
18597 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18598 (eval "$ac_compile") 2>conftest.er1
18600 grep -v '^ *+' conftest.er1
>conftest.err
18602 cat conftest.err
>&5
18603 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18604 (exit $ac_status); } && {
18605 test -z "$ac_c_werror_flag" ||
18606 test ! -s conftest.err
18607 } && test -s conftest.
$ac_objext; then
18608 ac_cv_type_short
=yes
18610 echo "$as_me: failed program was:" >&5
18611 sed 's/^/| /' conftest.
$ac_ext >&5
18613 ac_cv_type_short
=no
18616 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
18618 { echo "$as_me:$LINENO: result: $ac_cv_type_short" >&5
18619 echo "${ECHO_T}$ac_cv_type_short" >&6; }
18621 # The cast to long int works around a bug in the HP C Compiler
18622 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
18623 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
18624 # This bug is HP SR number 8606223364.
18625 { echo "$as_me:$LINENO: checking size of short" >&5
18626 echo $ECHO_N "checking size of short... $ECHO_C" >&6; }
18627 if test "${ac_cv_sizeof_short+set}" = set; then
18628 echo $ECHO_N "(cached) $ECHO_C" >&6
18630 if test "$cross_compiling" = yes; then
18631 # Depending upon the size, compute the lo and hi bounds.
18632 cat >conftest.
$ac_ext <<_ACEOF
18635 cat confdefs.h
>>conftest.
$ac_ext
18636 cat >>conftest.
$ac_ext <<_ACEOF
18637 /* end confdefs.h. */
18638 $ac_includes_default
18639 typedef short ac__type_sizeof_;
18643 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
18650 rm -f conftest.
$ac_objext
18651 if { (ac_try
="$ac_compile"
18652 case "(($ac_try" in
18653 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
18654 *) ac_try_echo=$ac_try;;
18656 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18657 (eval "$ac_compile") 2>conftest.er1
18659 grep -v '^ *+' conftest.er1 >conftest.err
18661 cat conftest.err >&5
18662 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18663 (exit $ac_status); } && {
18664 test -z "$ac_c_werror_flag" ||
18665 test ! -s conftest.err
18666 } && test -s conftest.$ac_objext; then
18669 cat >conftest.$ac_ext <<_ACEOF
18672 cat confdefs.h >>conftest.$ac_ext
18673 cat >>conftest.$ac_ext <<_ACEOF
18674 /* end confdefs.h. */
18675 $ac_includes_default
18676 typedef short ac__type_sizeof_;
18680 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
18687 rm -f conftest.$ac_objext
18688 if { (ac_try="$ac_compile"
18689 case "(($ac_try" in
18690 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
18691 *) ac_try_echo
=$ac_try;;
18693 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18694 (eval "$ac_compile") 2>conftest.er1
18696 grep -v '^ *+' conftest.er1
>conftest.err
18698 cat conftest.err
>&5
18699 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18700 (exit $ac_status); } && {
18701 test -z "$ac_c_werror_flag" ||
18702 test ! -s conftest.err
18703 } && test -s conftest.
$ac_objext; then
18704 ac_hi
=$ac_mid; break
18706 echo "$as_me: failed program was:" >&5
18707 sed 's/^/| /' conftest.
$ac_ext >&5
18709 ac_lo
=`expr $ac_mid + 1`
18710 if test $ac_lo -le $ac_mid; then
18714 ac_mid
=`expr 2 '*' $ac_mid + 1`
18717 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
18720 echo "$as_me: failed program was:" >&5
18721 sed 's/^/| /' conftest.
$ac_ext >&5
18723 cat >conftest.
$ac_ext <<_ACEOF
18726 cat confdefs.h
>>conftest.
$ac_ext
18727 cat >>conftest.
$ac_ext <<_ACEOF
18728 /* end confdefs.h. */
18729 $ac_includes_default
18730 typedef short ac__type_sizeof_;
18734 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
18741 rm -f conftest.
$ac_objext
18742 if { (ac_try
="$ac_compile"
18743 case "(($ac_try" in
18744 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
18745 *) ac_try_echo=$ac_try;;
18747 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18748 (eval "$ac_compile") 2>conftest.er1
18750 grep -v '^ *+' conftest.er1 >conftest.err
18752 cat conftest.err >&5
18753 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18754 (exit $ac_status); } && {
18755 test -z "$ac_c_werror_flag" ||
18756 test ! -s conftest.err
18757 } && test -s conftest.$ac_objext; then
18760 cat >conftest.$ac_ext <<_ACEOF
18763 cat confdefs.h >>conftest.$ac_ext
18764 cat >>conftest.$ac_ext <<_ACEOF
18765 /* end confdefs.h. */
18766 $ac_includes_default
18767 typedef short ac__type_sizeof_;
18771 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
18778 rm -f conftest.$ac_objext
18779 if { (ac_try="$ac_compile"
18780 case "(($ac_try" in
18781 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
18782 *) ac_try_echo
=$ac_try;;
18784 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18785 (eval "$ac_compile") 2>conftest.er1
18787 grep -v '^ *+' conftest.er1
>conftest.err
18789 cat conftest.err
>&5
18790 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18791 (exit $ac_status); } && {
18792 test -z "$ac_c_werror_flag" ||
18793 test ! -s conftest.err
18794 } && test -s conftest.
$ac_objext; then
18795 ac_lo
=$ac_mid; break
18797 echo "$as_me: failed program was:" >&5
18798 sed 's/^/| /' conftest.
$ac_ext >&5
18800 ac_hi
=`expr '(' $ac_mid ')' - 1`
18801 if test $ac_mid -le $ac_hi; then
18805 ac_mid
=`expr 2 '*' $ac_mid`
18808 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
18811 echo "$as_me: failed program was:" >&5
18812 sed 's/^/| /' conftest.
$ac_ext >&5
18817 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
18820 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
18821 # Binary search between lo and hi bounds.
18822 while test "x$ac_lo" != "x$ac_hi"; do
18823 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
18824 cat >conftest.
$ac_ext <<_ACEOF
18827 cat confdefs.h
>>conftest.
$ac_ext
18828 cat >>conftest.
$ac_ext <<_ACEOF
18829 /* end confdefs.h. */
18830 $ac_includes_default
18831 typedef short ac__type_sizeof_;
18835 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
18842 rm -f conftest.
$ac_objext
18843 if { (ac_try
="$ac_compile"
18844 case "(($ac_try" in
18845 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
18846 *) ac_try_echo=$ac_try;;
18848 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18849 (eval "$ac_compile") 2>conftest.er1
18851 grep -v '^ *+' conftest.er1 >conftest.err
18853 cat conftest.err >&5
18854 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18855 (exit $ac_status); } && {
18856 test -z "$ac_c_werror_flag" ||
18857 test ! -s conftest.err
18858 } && test -s conftest.$ac_objext; then
18861 echo "$as_me: failed program was:" >&5
18862 sed 's/^/| /' conftest.$ac_ext >&5
18864 ac_lo=`expr '(' $ac_mid ')' + 1`
18867 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18870 ?*) ac_cv_sizeof_short=$ac_lo;;
18871 '') if test "$ac_cv_type_short" = yes; then
18872 { { echo "$as_me:$LINENO: error: cannot compute sizeof (short)
18873 See \`config.log
' for more details." >&5
18874 echo "$as_me: error: cannot compute sizeof (short)
18875 See \`config.log' for more details.
" >&2;}
18876 { (exit 77); exit 77; }; }
18878 ac_cv_sizeof_short=0
18882 cat >conftest.$ac_ext <<_ACEOF
18885 cat confdefs.h >>conftest.$ac_ext
18886 cat >>conftest.$ac_ext <<_ACEOF
18887 /* end confdefs.h. */
18888 $ac_includes_default
18889 typedef short ac__type_sizeof_;
18890 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
18891 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
18893 #include <stdlib.h>
18898 FILE *f = fopen ("conftest.val
", "w
");
18901 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
18903 long int i = longval ();
18904 if (i != ((long int) (sizeof (ac__type_sizeof_))))
18906 fprintf (f, "%ld
\n", i);
18910 unsigned long int i = ulongval ();
18911 if (i != ((long int) (sizeof (ac__type_sizeof_))))
18913 fprintf (f, "%lu
\n", i);
18915 return ferror (f) || fclose (f) != 0;
18921 rm -f conftest$ac_exeext
18922 if { (ac_try="$ac_link"
18923 case "(($ac_try" in
18924 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18925 *) ac_try_echo=$ac_try;;
18927 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
18928 (eval "$ac_link") 2>&5
18930 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
18931 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
18932 { (case "(($ac_try" in
18933 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18934 *) ac_try_echo=$ac_try;;
18936 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
18937 (eval "$ac_try") 2>&5
18939 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
18940 (exit $ac_status); }; }; then
18941 ac_cv_sizeof_short=`cat conftest.val`
18943 echo "$as_me: program exited with status
$ac_status" >&5
18944 echo "$as_me: failed program was
:" >&5
18945 sed 's/^/| /' conftest.$ac_ext >&5
18947 ( exit $ac_status )
18948 if test "$ac_cv_type_short" = yes; then
18949 { { echo "$as_me:$LINENO: error
: cannot compute sizeof
(short
)
18950 See \
`config.log' for more details." >&5
18951 echo "$as_me: error: cannot compute sizeof (short)
18952 See \`config.log
' for more details." >&2;}
18953 { (exit 77); exit 77; }; }
18955 ac_cv_sizeof_short=0
18958 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
18962 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_short" >&5
18963 echo "${ECHO_T}$ac_cv_sizeof_short" >&6; }
18967 cat >>confdefs.h <<_ACEOF
18968 #define SIZEOF_SHORT $ac_cv_sizeof_short
18972 { echo "$as_me:$LINENO: checking for void *" >&5
18973 echo $ECHO_N "checking for void *... $ECHO_C" >&6; }
18974 if test "${ac_cv_type_void_p+set}" = set; then
18975 echo $ECHO_N "(cached) $ECHO_C" >&6
18977 cat >conftest.$ac_ext <<_ACEOF
18980 cat confdefs.h >>conftest.$ac_ext
18981 cat >>conftest.$ac_ext <<_ACEOF
18982 /* end confdefs.h. */
18983 $ac_includes_default
18984 typedef void * ac__type_new_;
18988 if ((ac__type_new_ *) 0)
18990 if (sizeof (ac__type_new_))
18996 rm -f conftest.$ac_objext
18997 if { (ac_try="$ac_compile"
18998 case "(($ac_try" in
18999 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19000 *) ac_try_echo=$ac_try;;
19002 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19003 (eval "$ac_compile") 2>conftest.er1
19005 grep -v '^
*+' conftest.er1 >conftest.err
19007 cat conftest.err >&5
19008 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19009 (exit $ac_status); } && {
19010 test -z "$ac_c_werror_flag" ||
19011 test ! -s conftest.err
19012 } && test -s conftest.$ac_objext; then
19013 ac_cv_type_void_p=yes
19015 echo "$as_me: failed program was:" >&5
19016 sed 's
/^
/| /' conftest.$ac_ext >&5
19018 ac_cv_type_void_p=no
19021 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19023 { echo "$as_me:$LINENO: result: $ac_cv_type_void_p" >&5
19024 echo "${ECHO_T}$ac_cv_type_void_p" >&6; }
19026 # The cast to long int works around a bug in the HP C Compiler
19027 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
19028 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
19029 # This bug is HP SR number 8606223364.
19030 { echo "$as_me:$LINENO: checking size of void *" >&5
19031 echo $ECHO_N "checking size of void *... $ECHO_C" >&6; }
19032 if test "${ac_cv_sizeof_void_p+set}" = set; then
19033 echo $ECHO_N "(cached) $ECHO_C" >&6
19035 if test "$cross_compiling" = yes; then
19036 # Depending upon the size, compute the lo and hi bounds.
19037 cat >conftest.
$ac_ext <<_ACEOF
19040 cat confdefs.h
>>conftest.
$ac_ext
19041 cat >>conftest.
$ac_ext <<_ACEOF
19042 /* end confdefs.h. */
19043 $ac_includes_default
19044 typedef void * ac__type_sizeof_;
19048 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
19055 rm -f conftest.
$ac_objext
19056 if { (ac_try
="$ac_compile"
19057 case "(($ac_try" in
19058 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
19059 *) ac_try_echo=$ac_try;;
19061 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19062 (eval "$ac_compile") 2>conftest.er1
19064 grep -v '^ *+' conftest.er1 >conftest.err
19066 cat conftest.err >&5
19067 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19068 (exit $ac_status); } && {
19069 test -z "$ac_c_werror_flag" ||
19070 test ! -s conftest.err
19071 } && test -s conftest.$ac_objext; then
19074 cat >conftest.$ac_ext <<_ACEOF
19077 cat confdefs.h >>conftest.$ac_ext
19078 cat >>conftest.$ac_ext <<_ACEOF
19079 /* end confdefs.h. */
19080 $ac_includes_default
19081 typedef void * ac__type_sizeof_;
19085 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
19092 rm -f conftest.$ac_objext
19093 if { (ac_try="$ac_compile"
19094 case "(($ac_try" in
19095 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
19096 *) ac_try_echo
=$ac_try;;
19098 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19099 (eval "$ac_compile") 2>conftest.er1
19101 grep -v '^ *+' conftest.er1
>conftest.err
19103 cat conftest.err
>&5
19104 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19105 (exit $ac_status); } && {
19106 test -z "$ac_c_werror_flag" ||
19107 test ! -s conftest.err
19108 } && test -s conftest.
$ac_objext; then
19109 ac_hi
=$ac_mid; break
19111 echo "$as_me: failed program was:" >&5
19112 sed 's/^/| /' conftest.
$ac_ext >&5
19114 ac_lo
=`expr $ac_mid + 1`
19115 if test $ac_lo -le $ac_mid; then
19119 ac_mid
=`expr 2 '*' $ac_mid + 1`
19122 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
19125 echo "$as_me: failed program was:" >&5
19126 sed 's/^/| /' conftest.
$ac_ext >&5
19128 cat >conftest.
$ac_ext <<_ACEOF
19131 cat confdefs.h
>>conftest.
$ac_ext
19132 cat >>conftest.
$ac_ext <<_ACEOF
19133 /* end confdefs.h. */
19134 $ac_includes_default
19135 typedef void * ac__type_sizeof_;
19139 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
19146 rm -f conftest.
$ac_objext
19147 if { (ac_try
="$ac_compile"
19148 case "(($ac_try" in
19149 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
19150 *) ac_try_echo=$ac_try;;
19152 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19153 (eval "$ac_compile") 2>conftest.er1
19155 grep -v '^ *+' conftest.er1 >conftest.err
19157 cat conftest.err >&5
19158 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19159 (exit $ac_status); } && {
19160 test -z "$ac_c_werror_flag" ||
19161 test ! -s conftest.err
19162 } && test -s conftest.$ac_objext; then
19165 cat >conftest.$ac_ext <<_ACEOF
19168 cat confdefs.h >>conftest.$ac_ext
19169 cat >>conftest.$ac_ext <<_ACEOF
19170 /* end confdefs.h. */
19171 $ac_includes_default
19172 typedef void * ac__type_sizeof_;
19176 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
19183 rm -f conftest.$ac_objext
19184 if { (ac_try="$ac_compile"
19185 case "(($ac_try" in
19186 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
19187 *) ac_try_echo
=$ac_try;;
19189 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19190 (eval "$ac_compile") 2>conftest.er1
19192 grep -v '^ *+' conftest.er1
>conftest.err
19194 cat conftest.err
>&5
19195 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19196 (exit $ac_status); } && {
19197 test -z "$ac_c_werror_flag" ||
19198 test ! -s conftest.err
19199 } && test -s conftest.
$ac_objext; then
19200 ac_lo
=$ac_mid; break
19202 echo "$as_me: failed program was:" >&5
19203 sed 's/^/| /' conftest.
$ac_ext >&5
19205 ac_hi
=`expr '(' $ac_mid ')' - 1`
19206 if test $ac_mid -le $ac_hi; then
19210 ac_mid
=`expr 2 '*' $ac_mid`
19213 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
19216 echo "$as_me: failed program was:" >&5
19217 sed 's/^/| /' conftest.
$ac_ext >&5
19222 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
19225 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
19226 # Binary search between lo and hi bounds.
19227 while test "x$ac_lo" != "x$ac_hi"; do
19228 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
19229 cat >conftest.
$ac_ext <<_ACEOF
19232 cat confdefs.h
>>conftest.
$ac_ext
19233 cat >>conftest.
$ac_ext <<_ACEOF
19234 /* end confdefs.h. */
19235 $ac_includes_default
19236 typedef void * ac__type_sizeof_;
19240 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
19247 rm -f conftest.
$ac_objext
19248 if { (ac_try
="$ac_compile"
19249 case "(($ac_try" in
19250 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
19251 *) ac_try_echo=$ac_try;;
19253 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19254 (eval "$ac_compile") 2>conftest.er1
19256 grep -v '^ *+' conftest.er1 >conftest.err
19258 cat conftest.err >&5
19259 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19260 (exit $ac_status); } && {
19261 test -z "$ac_c_werror_flag" ||
19262 test ! -s conftest.err
19263 } && test -s conftest.$ac_objext; then
19266 echo "$as_me: failed program was:" >&5
19267 sed 's/^/| /' conftest.$ac_ext >&5
19269 ac_lo=`expr '(' $ac_mid ')' + 1`
19272 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19275 ?*) ac_cv_sizeof_void_p=$ac_lo;;
19276 '') if test "$ac_cv_type_void_p" = yes; then
19277 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *)
19278 See \`config.log
' for more details." >&5
19279 echo "$as_me: error: cannot compute sizeof (void *)
19280 See \`config.log' for more details.
" >&2;}
19281 { (exit 77); exit 77; }; }
19283 ac_cv_sizeof_void_p=0
19287 cat >conftest.$ac_ext <<_ACEOF
19290 cat confdefs.h >>conftest.$ac_ext
19291 cat >>conftest.$ac_ext <<_ACEOF
19292 /* end confdefs.h. */
19293 $ac_includes_default
19294 typedef void * ac__type_sizeof_;
19295 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
19296 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
19298 #include <stdlib.h>
19303 FILE *f = fopen ("conftest.val
", "w
");
19306 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
19308 long int i = longval ();
19309 if (i != ((long int) (sizeof (ac__type_sizeof_))))
19311 fprintf (f, "%ld
\n", i);
19315 unsigned long int i = ulongval ();
19316 if (i != ((long int) (sizeof (ac__type_sizeof_))))
19318 fprintf (f, "%lu
\n", i);
19320 return ferror (f) || fclose (f) != 0;
19326 rm -f conftest$ac_exeext
19327 if { (ac_try="$ac_link"
19328 case "(($ac_try" in
19329 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19330 *) ac_try_echo=$ac_try;;
19332 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
19333 (eval "$ac_link") 2>&5
19335 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
19336 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
19337 { (case "(($ac_try" in
19338 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19339 *) ac_try_echo=$ac_try;;
19341 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
19342 (eval "$ac_try") 2>&5
19344 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
19345 (exit $ac_status); }; }; then
19346 ac_cv_sizeof_void_p=`cat conftest.val`
19348 echo "$as_me: program exited with status
$ac_status" >&5
19349 echo "$as_me: failed program was
:" >&5
19350 sed 's/^/| /' conftest.$ac_ext >&5
19352 ( exit $ac_status )
19353 if test "$ac_cv_type_void_p" = yes; then
19354 { { echo "$as_me:$LINENO: error
: cannot compute sizeof
(void
*)
19355 See \
`config.log' for more details." >&5
19356 echo "$as_me: error: cannot compute sizeof (void *)
19357 See \`config.log
' for more details." >&2;}
19358 { (exit 77); exit 77; }; }
19360 ac_cv_sizeof_void_p=0
19363 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
19367 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_void_p" >&5
19368 echo "${ECHO_T}$ac_cv_sizeof_void_p" >&6; }
19372 cat >>confdefs.h <<_ACEOF
19373 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
19377 { echo "$as_me:$LINENO: checking for int" >&5
19378 echo $ECHO_N "checking for int... $ECHO_C" >&6; }
19379 if test "${ac_cv_type_int+set}" = set; then
19380 echo $ECHO_N "(cached) $ECHO_C" >&6
19382 cat >conftest.$ac_ext <<_ACEOF
19385 cat confdefs.h >>conftest.$ac_ext
19386 cat >>conftest.$ac_ext <<_ACEOF
19387 /* end confdefs.h. */
19388 $ac_includes_default
19389 typedef int ac__type_new_;
19393 if ((ac__type_new_ *) 0)
19395 if (sizeof (ac__type_new_))
19401 rm -f conftest.$ac_objext
19402 if { (ac_try="$ac_compile"
19403 case "(($ac_try" in
19404 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19405 *) ac_try_echo=$ac_try;;
19407 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19408 (eval "$ac_compile") 2>conftest.er1
19410 grep -v '^
*+' conftest.er1 >conftest.err
19412 cat conftest.err >&5
19413 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19414 (exit $ac_status); } && {
19415 test -z "$ac_c_werror_flag" ||
19416 test ! -s conftest.err
19417 } && test -s conftest.$ac_objext; then
19420 echo "$as_me: failed program was:" >&5
19421 sed 's
/^
/| /' conftest.$ac_ext >&5
19426 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19428 { echo "$as_me:$LINENO: result: $ac_cv_type_int" >&5
19429 echo "${ECHO_T}$ac_cv_type_int" >&6; }
19431 # The cast to long int works around a bug in the HP C Compiler
19432 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
19433 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
19434 # This bug is HP SR number 8606223364.
19435 { echo "$as_me:$LINENO: checking size of int" >&5
19436 echo $ECHO_N "checking size of int... $ECHO_C" >&6; }
19437 if test "${ac_cv_sizeof_int+set}" = set; then
19438 echo $ECHO_N "(cached) $ECHO_C" >&6
19440 if test "$cross_compiling" = yes; then
19441 # Depending upon the size, compute the lo and hi bounds.
19442 cat >conftest.
$ac_ext <<_ACEOF
19445 cat confdefs.h
>>conftest.
$ac_ext
19446 cat >>conftest.
$ac_ext <<_ACEOF
19447 /* end confdefs.h. */
19448 $ac_includes_default
19449 typedef int ac__type_sizeof_;
19453 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
19460 rm -f conftest.
$ac_objext
19461 if { (ac_try
="$ac_compile"
19462 case "(($ac_try" in
19463 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
19464 *) ac_try_echo=$ac_try;;
19466 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19467 (eval "$ac_compile") 2>conftest.er1
19469 grep -v '^ *+' conftest.er1 >conftest.err
19471 cat conftest.err >&5
19472 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19473 (exit $ac_status); } && {
19474 test -z "$ac_c_werror_flag" ||
19475 test ! -s conftest.err
19476 } && test -s conftest.$ac_objext; then
19479 cat >conftest.$ac_ext <<_ACEOF
19482 cat confdefs.h >>conftest.$ac_ext
19483 cat >>conftest.$ac_ext <<_ACEOF
19484 /* end confdefs.h. */
19485 $ac_includes_default
19486 typedef int ac__type_sizeof_;
19490 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
19497 rm -f conftest.$ac_objext
19498 if { (ac_try="$ac_compile"
19499 case "(($ac_try" in
19500 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
19501 *) ac_try_echo
=$ac_try;;
19503 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19504 (eval "$ac_compile") 2>conftest.er1
19506 grep -v '^ *+' conftest.er1
>conftest.err
19508 cat conftest.err
>&5
19509 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19510 (exit $ac_status); } && {
19511 test -z "$ac_c_werror_flag" ||
19512 test ! -s conftest.err
19513 } && test -s conftest.
$ac_objext; then
19514 ac_hi
=$ac_mid; break
19516 echo "$as_me: failed program was:" >&5
19517 sed 's/^/| /' conftest.
$ac_ext >&5
19519 ac_lo
=`expr $ac_mid + 1`
19520 if test $ac_lo -le $ac_mid; then
19524 ac_mid
=`expr 2 '*' $ac_mid + 1`
19527 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
19530 echo "$as_me: failed program was:" >&5
19531 sed 's/^/| /' conftest.
$ac_ext >&5
19533 cat >conftest.
$ac_ext <<_ACEOF
19536 cat confdefs.h
>>conftest.
$ac_ext
19537 cat >>conftest.
$ac_ext <<_ACEOF
19538 /* end confdefs.h. */
19539 $ac_includes_default
19540 typedef int ac__type_sizeof_;
19544 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
19551 rm -f conftest.
$ac_objext
19552 if { (ac_try
="$ac_compile"
19553 case "(($ac_try" in
19554 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
19555 *) ac_try_echo=$ac_try;;
19557 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19558 (eval "$ac_compile") 2>conftest.er1
19560 grep -v '^ *+' conftest.er1 >conftest.err
19562 cat conftest.err >&5
19563 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19564 (exit $ac_status); } && {
19565 test -z "$ac_c_werror_flag" ||
19566 test ! -s conftest.err
19567 } && test -s conftest.$ac_objext; then
19570 cat >conftest.$ac_ext <<_ACEOF
19573 cat confdefs.h >>conftest.$ac_ext
19574 cat >>conftest.$ac_ext <<_ACEOF
19575 /* end confdefs.h. */
19576 $ac_includes_default
19577 typedef int ac__type_sizeof_;
19581 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
19588 rm -f conftest.$ac_objext
19589 if { (ac_try="$ac_compile"
19590 case "(($ac_try" in
19591 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
19592 *) ac_try_echo
=$ac_try;;
19594 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19595 (eval "$ac_compile") 2>conftest.er1
19597 grep -v '^ *+' conftest.er1
>conftest.err
19599 cat conftest.err
>&5
19600 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19601 (exit $ac_status); } && {
19602 test -z "$ac_c_werror_flag" ||
19603 test ! -s conftest.err
19604 } && test -s conftest.
$ac_objext; then
19605 ac_lo
=$ac_mid; break
19607 echo "$as_me: failed program was:" >&5
19608 sed 's/^/| /' conftest.
$ac_ext >&5
19610 ac_hi
=`expr '(' $ac_mid ')' - 1`
19611 if test $ac_mid -le $ac_hi; then
19615 ac_mid
=`expr 2 '*' $ac_mid`
19618 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
19621 echo "$as_me: failed program was:" >&5
19622 sed 's/^/| /' conftest.
$ac_ext >&5
19627 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
19630 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
19631 # Binary search between lo and hi bounds.
19632 while test "x$ac_lo" != "x$ac_hi"; do
19633 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
19634 cat >conftest.
$ac_ext <<_ACEOF
19637 cat confdefs.h
>>conftest.
$ac_ext
19638 cat >>conftest.
$ac_ext <<_ACEOF
19639 /* end confdefs.h. */
19640 $ac_includes_default
19641 typedef int ac__type_sizeof_;
19645 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
19652 rm -f conftest.
$ac_objext
19653 if { (ac_try
="$ac_compile"
19654 case "(($ac_try" in
19655 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
19656 *) ac_try_echo=$ac_try;;
19658 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19659 (eval "$ac_compile") 2>conftest.er1
19661 grep -v '^ *+' conftest.er1 >conftest.err
19663 cat conftest.err >&5
19664 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19665 (exit $ac_status); } && {
19666 test -z "$ac_c_werror_flag" ||
19667 test ! -s conftest.err
19668 } && test -s conftest.$ac_objext; then
19671 echo "$as_me: failed program was:" >&5
19672 sed 's/^/| /' conftest.$ac_ext >&5
19674 ac_lo=`expr '(' $ac_mid ')' + 1`
19677 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19680 ?*) ac_cv_sizeof_int=$ac_lo;;
19681 '') if test "$ac_cv_type_int" = yes; then
19682 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int)
19683 See \`config.log
' for more details." >&5
19684 echo "$as_me: error: cannot compute sizeof (int)
19685 See \`config.log' for more details.
" >&2;}
19686 { (exit 77); exit 77; }; }
19692 cat >conftest.$ac_ext <<_ACEOF
19695 cat confdefs.h >>conftest.$ac_ext
19696 cat >>conftest.$ac_ext <<_ACEOF
19697 /* end confdefs.h. */
19698 $ac_includes_default
19699 typedef int ac__type_sizeof_;
19700 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
19701 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
19703 #include <stdlib.h>
19708 FILE *f = fopen ("conftest.val
", "w
");
19711 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
19713 long int i = longval ();
19714 if (i != ((long int) (sizeof (ac__type_sizeof_))))
19716 fprintf (f, "%ld
\n", i);
19720 unsigned long int i = ulongval ();
19721 if (i != ((long int) (sizeof (ac__type_sizeof_))))
19723 fprintf (f, "%lu
\n", i);
19725 return ferror (f) || fclose (f) != 0;
19731 rm -f conftest$ac_exeext
19732 if { (ac_try="$ac_link"
19733 case "(($ac_try" in
19734 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19735 *) ac_try_echo=$ac_try;;
19737 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
19738 (eval "$ac_link") 2>&5
19740 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
19741 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
19742 { (case "(($ac_try" in
19743 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19744 *) ac_try_echo=$ac_try;;
19746 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
19747 (eval "$ac_try") 2>&5
19749 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
19750 (exit $ac_status); }; }; then
19751 ac_cv_sizeof_int=`cat conftest.val`
19753 echo "$as_me: program exited with status
$ac_status" >&5
19754 echo "$as_me: failed program was
:" >&5
19755 sed 's/^/| /' conftest.$ac_ext >&5
19757 ( exit $ac_status )
19758 if test "$ac_cv_type_int" = yes; then
19759 { { echo "$as_me:$LINENO: error
: cannot compute sizeof
(int
)
19760 See \
`config.log' for more details." >&5
19761 echo "$as_me: error: cannot compute sizeof (int)
19762 See \`config.log
' for more details." >&2;}
19763 { (exit 77); exit 77; }; }
19768 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
19772 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5
19773 echo "${ECHO_T}$ac_cv_sizeof_int" >&6; }
19777 cat >>confdefs.h <<_ACEOF
19778 #define SIZEOF_INT $ac_cv_sizeof_int
19782 { echo "$as_me:$LINENO: checking for long" >&5
19783 echo $ECHO_N "checking for long... $ECHO_C" >&6; }
19784 if test "${ac_cv_type_long+set}" = set; then
19785 echo $ECHO_N "(cached) $ECHO_C" >&6
19787 cat >conftest.$ac_ext <<_ACEOF
19790 cat confdefs.h >>conftest.$ac_ext
19791 cat >>conftest.$ac_ext <<_ACEOF
19792 /* end confdefs.h. */
19793 $ac_includes_default
19794 typedef long ac__type_new_;
19798 if ((ac__type_new_ *) 0)
19800 if (sizeof (ac__type_new_))
19806 rm -f conftest.$ac_objext
19807 if { (ac_try="$ac_compile"
19808 case "(($ac_try" in
19809 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19810 *) ac_try_echo=$ac_try;;
19812 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19813 (eval "$ac_compile") 2>conftest.er1
19815 grep -v '^
*+' conftest.er1 >conftest.err
19817 cat conftest.err >&5
19818 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19819 (exit $ac_status); } && {
19820 test -z "$ac_c_werror_flag" ||
19821 test ! -s conftest.err
19822 } && test -s conftest.$ac_objext; then
19823 ac_cv_type_long=yes
19825 echo "$as_me: failed program was:" >&5
19826 sed 's
/^
/| /' conftest.$ac_ext >&5
19831 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19833 { echo "$as_me:$LINENO: result: $ac_cv_type_long" >&5
19834 echo "${ECHO_T}$ac_cv_type_long" >&6; }
19836 # The cast to long int works around a bug in the HP C Compiler
19837 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
19838 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
19839 # This bug is HP SR number 8606223364.
19840 { echo "$as_me:$LINENO: checking size of long" >&5
19841 echo $ECHO_N "checking size of long... $ECHO_C" >&6; }
19842 if test "${ac_cv_sizeof_long+set}" = set; then
19843 echo $ECHO_N "(cached) $ECHO_C" >&6
19845 if test "$cross_compiling" = yes; then
19846 # Depending upon the size, compute the lo and hi bounds.
19847 cat >conftest.
$ac_ext <<_ACEOF
19850 cat confdefs.h
>>conftest.
$ac_ext
19851 cat >>conftest.
$ac_ext <<_ACEOF
19852 /* end confdefs.h. */
19853 $ac_includes_default
19854 typedef long ac__type_sizeof_;
19858 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
19865 rm -f conftest.
$ac_objext
19866 if { (ac_try
="$ac_compile"
19867 case "(($ac_try" in
19868 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
19869 *) ac_try_echo=$ac_try;;
19871 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19872 (eval "$ac_compile") 2>conftest.er1
19874 grep -v '^ *+' conftest.er1 >conftest.err
19876 cat conftest.err >&5
19877 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19878 (exit $ac_status); } && {
19879 test -z "$ac_c_werror_flag" ||
19880 test ! -s conftest.err
19881 } && test -s conftest.$ac_objext; then
19884 cat >conftest.$ac_ext <<_ACEOF
19887 cat confdefs.h >>conftest.$ac_ext
19888 cat >>conftest.$ac_ext <<_ACEOF
19889 /* end confdefs.h. */
19890 $ac_includes_default
19891 typedef long ac__type_sizeof_;
19895 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
19902 rm -f conftest.$ac_objext
19903 if { (ac_try="$ac_compile"
19904 case "(($ac_try" in
19905 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
19906 *) ac_try_echo
=$ac_try;;
19908 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19909 (eval "$ac_compile") 2>conftest.er1
19911 grep -v '^ *+' conftest.er1
>conftest.err
19913 cat conftest.err
>&5
19914 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19915 (exit $ac_status); } && {
19916 test -z "$ac_c_werror_flag" ||
19917 test ! -s conftest.err
19918 } && test -s conftest.
$ac_objext; then
19919 ac_hi
=$ac_mid; break
19921 echo "$as_me: failed program was:" >&5
19922 sed 's/^/| /' conftest.
$ac_ext >&5
19924 ac_lo
=`expr $ac_mid + 1`
19925 if test $ac_lo -le $ac_mid; then
19929 ac_mid
=`expr 2 '*' $ac_mid + 1`
19932 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
19935 echo "$as_me: failed program was:" >&5
19936 sed 's/^/| /' conftest.
$ac_ext >&5
19938 cat >conftest.
$ac_ext <<_ACEOF
19941 cat confdefs.h
>>conftest.
$ac_ext
19942 cat >>conftest.
$ac_ext <<_ACEOF
19943 /* end confdefs.h. */
19944 $ac_includes_default
19945 typedef long ac__type_sizeof_;
19949 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
19956 rm -f conftest.
$ac_objext
19957 if { (ac_try
="$ac_compile"
19958 case "(($ac_try" in
19959 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
19960 *) ac_try_echo=$ac_try;;
19962 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19963 (eval "$ac_compile") 2>conftest.er1
19965 grep -v '^ *+' conftest.er1 >conftest.err
19967 cat conftest.err >&5
19968 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19969 (exit $ac_status); } && {
19970 test -z "$ac_c_werror_flag" ||
19971 test ! -s conftest.err
19972 } && test -s conftest.$ac_objext; then
19975 cat >conftest.$ac_ext <<_ACEOF
19978 cat confdefs.h >>conftest.$ac_ext
19979 cat >>conftest.$ac_ext <<_ACEOF
19980 /* end confdefs.h. */
19981 $ac_includes_default
19982 typedef long ac__type_sizeof_;
19986 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
19993 rm -f conftest.$ac_objext
19994 if { (ac_try="$ac_compile"
19995 case "(($ac_try" in
19996 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
19997 *) ac_try_echo
=$ac_try;;
19999 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20000 (eval "$ac_compile") 2>conftest.er1
20002 grep -v '^ *+' conftest.er1
>conftest.err
20004 cat conftest.err
>&5
20005 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20006 (exit $ac_status); } && {
20007 test -z "$ac_c_werror_flag" ||
20008 test ! -s conftest.err
20009 } && test -s conftest.
$ac_objext; then
20010 ac_lo
=$ac_mid; break
20012 echo "$as_me: failed program was:" >&5
20013 sed 's/^/| /' conftest.
$ac_ext >&5
20015 ac_hi
=`expr '(' $ac_mid ')' - 1`
20016 if test $ac_mid -le $ac_hi; then
20020 ac_mid
=`expr 2 '*' $ac_mid`
20023 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20026 echo "$as_me: failed program was:" >&5
20027 sed 's/^/| /' conftest.
$ac_ext >&5
20032 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20035 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20036 # Binary search between lo and hi bounds.
20037 while test "x$ac_lo" != "x$ac_hi"; do
20038 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
20039 cat >conftest.
$ac_ext <<_ACEOF
20042 cat confdefs.h
>>conftest.
$ac_ext
20043 cat >>conftest.
$ac_ext <<_ACEOF
20044 /* end confdefs.h. */
20045 $ac_includes_default
20046 typedef long ac__type_sizeof_;
20050 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
20057 rm -f conftest.
$ac_objext
20058 if { (ac_try
="$ac_compile"
20059 case "(($ac_try" in
20060 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
20061 *) ac_try_echo=$ac_try;;
20063 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20064 (eval "$ac_compile") 2>conftest.er1
20066 grep -v '^ *+' conftest.er1 >conftest.err
20068 cat conftest.err >&5
20069 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20070 (exit $ac_status); } && {
20071 test -z "$ac_c_werror_flag" ||
20072 test ! -s conftest.err
20073 } && test -s conftest.$ac_objext; then
20076 echo "$as_me: failed program was:" >&5
20077 sed 's/^/| /' conftest.$ac_ext >&5
20079 ac_lo=`expr '(' $ac_mid ')' + 1`
20082 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20085 ?*) ac_cv_sizeof_long=$ac_lo;;
20086 '') if test "$ac_cv_type_long" = yes; then
20087 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long)
20088 See \`config.log
' for more details." >&5
20089 echo "$as_me: error: cannot compute sizeof (long)
20090 See \`config.log' for more details.
" >&2;}
20091 { (exit 77); exit 77; }; }
20093 ac_cv_sizeof_long=0
20097 cat >conftest.$ac_ext <<_ACEOF
20100 cat confdefs.h >>conftest.$ac_ext
20101 cat >>conftest.$ac_ext <<_ACEOF
20102 /* end confdefs.h. */
20103 $ac_includes_default
20104 typedef long ac__type_sizeof_;
20105 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
20106 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
20108 #include <stdlib.h>
20113 FILE *f = fopen ("conftest.val
", "w
");
20116 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
20118 long int i = longval ();
20119 if (i != ((long int) (sizeof (ac__type_sizeof_))))
20121 fprintf (f, "%ld
\n", i);
20125 unsigned long int i = ulongval ();
20126 if (i != ((long int) (sizeof (ac__type_sizeof_))))
20128 fprintf (f, "%lu
\n", i);
20130 return ferror (f) || fclose (f) != 0;
20136 rm -f conftest$ac_exeext
20137 if { (ac_try="$ac_link"
20138 case "(($ac_try" in
20139 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20140 *) ac_try_echo=$ac_try;;
20142 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
20143 (eval "$ac_link") 2>&5
20145 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
20146 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
20147 { (case "(($ac_try" in
20148 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20149 *) ac_try_echo=$ac_try;;
20151 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
20152 (eval "$ac_try") 2>&5
20154 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
20155 (exit $ac_status); }; }; then
20156 ac_cv_sizeof_long=`cat conftest.val`
20158 echo "$as_me: program exited with status
$ac_status" >&5
20159 echo "$as_me: failed program was
:" >&5
20160 sed 's/^/| /' conftest.$ac_ext >&5
20162 ( exit $ac_status )
20163 if test "$ac_cv_type_long" = yes; then
20164 { { echo "$as_me:$LINENO: error
: cannot compute sizeof
(long
)
20165 See \
`config.log' for more details." >&5
20166 echo "$as_me: error: cannot compute sizeof (long)
20167 See \`config.log
' for more details." >&2;}
20168 { (exit 77); exit 77; }; }
20170 ac_cv_sizeof_long=0
20173 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20177 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5
20178 echo "${ECHO_T}$ac_cv_sizeof_long" >&6; }
20182 cat >>confdefs.h <<_ACEOF
20183 #define SIZEOF_LONG $ac_cv_sizeof_long
20187 { echo "$as_me:$LINENO: checking for size_t" >&5
20188 echo $ECHO_N "checking for size_t... $ECHO_C" >&6; }
20189 if test "${ac_cv_type_size_t+set}" = set; then
20190 echo $ECHO_N "(cached) $ECHO_C" >&6
20192 cat >conftest.$ac_ext <<_ACEOF
20195 cat confdefs.h >>conftest.$ac_ext
20196 cat >>conftest.$ac_ext <<_ACEOF
20197 /* end confdefs.h. */
20198 $ac_includes_default
20199 typedef size_t ac__type_new_;
20203 if ((ac__type_new_ *) 0)
20205 if (sizeof (ac__type_new_))
20211 rm -f conftest.$ac_objext
20212 if { (ac_try="$ac_compile"
20213 case "(($ac_try" in
20214 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20215 *) ac_try_echo=$ac_try;;
20217 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20218 (eval "$ac_compile") 2>conftest.er1
20220 grep -v '^
*+' conftest.er1 >conftest.err
20222 cat conftest.err >&5
20223 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20224 (exit $ac_status); } && {
20225 test -z "$ac_c_werror_flag" ||
20226 test ! -s conftest.err
20227 } && test -s conftest.$ac_objext; then
20228 ac_cv_type_size_t=yes
20230 echo "$as_me: failed program was:" >&5
20231 sed 's
/^
/| /' conftest.$ac_ext >&5
20233 ac_cv_type_size_t=no
20236 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20238 { echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
20239 echo "${ECHO_T}$ac_cv_type_size_t" >&6; }
20241 # The cast to long int works around a bug in the HP C Compiler
20242 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20243 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20244 # This bug is HP SR number 8606223364.
20245 { echo "$as_me:$LINENO: checking size of size_t" >&5
20246 echo $ECHO_N "checking size of size_t... $ECHO_C" >&6; }
20247 if test "${ac_cv_sizeof_size_t+set}" = set; then
20248 echo $ECHO_N "(cached) $ECHO_C" >&6
20250 if test "$cross_compiling" = yes; then
20251 # Depending upon the size, compute the lo and hi bounds.
20252 cat >conftest.
$ac_ext <<_ACEOF
20255 cat confdefs.h
>>conftest.
$ac_ext
20256 cat >>conftest.
$ac_ext <<_ACEOF
20257 /* end confdefs.h. */
20258 $ac_includes_default
20259 typedef size_t ac__type_sizeof_;
20263 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
20270 rm -f conftest.
$ac_objext
20271 if { (ac_try
="$ac_compile"
20272 case "(($ac_try" in
20273 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
20274 *) ac_try_echo=$ac_try;;
20276 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20277 (eval "$ac_compile") 2>conftest.er1
20279 grep -v '^ *+' conftest.er1 >conftest.err
20281 cat conftest.err >&5
20282 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20283 (exit $ac_status); } && {
20284 test -z "$ac_c_werror_flag" ||
20285 test ! -s conftest.err
20286 } && test -s conftest.$ac_objext; then
20289 cat >conftest.$ac_ext <<_ACEOF
20292 cat confdefs.h >>conftest.$ac_ext
20293 cat >>conftest.$ac_ext <<_ACEOF
20294 /* end confdefs.h. */
20295 $ac_includes_default
20296 typedef size_t ac__type_sizeof_;
20300 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
20307 rm -f conftest.$ac_objext
20308 if { (ac_try="$ac_compile"
20309 case "(($ac_try" in
20310 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
20311 *) ac_try_echo
=$ac_try;;
20313 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20314 (eval "$ac_compile") 2>conftest.er1
20316 grep -v '^ *+' conftest.er1
>conftest.err
20318 cat conftest.err
>&5
20319 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20320 (exit $ac_status); } && {
20321 test -z "$ac_c_werror_flag" ||
20322 test ! -s conftest.err
20323 } && test -s conftest.
$ac_objext; then
20324 ac_hi
=$ac_mid; break
20326 echo "$as_me: failed program was:" >&5
20327 sed 's/^/| /' conftest.
$ac_ext >&5
20329 ac_lo
=`expr $ac_mid + 1`
20330 if test $ac_lo -le $ac_mid; then
20334 ac_mid
=`expr 2 '*' $ac_mid + 1`
20337 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20340 echo "$as_me: failed program was:" >&5
20341 sed 's/^/| /' conftest.
$ac_ext >&5
20343 cat >conftest.
$ac_ext <<_ACEOF
20346 cat confdefs.h
>>conftest.
$ac_ext
20347 cat >>conftest.
$ac_ext <<_ACEOF
20348 /* end confdefs.h. */
20349 $ac_includes_default
20350 typedef size_t ac__type_sizeof_;
20354 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
20361 rm -f conftest.
$ac_objext
20362 if { (ac_try
="$ac_compile"
20363 case "(($ac_try" in
20364 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
20365 *) ac_try_echo=$ac_try;;
20367 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20368 (eval "$ac_compile") 2>conftest.er1
20370 grep -v '^ *+' conftest.er1 >conftest.err
20372 cat conftest.err >&5
20373 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20374 (exit $ac_status); } && {
20375 test -z "$ac_c_werror_flag" ||
20376 test ! -s conftest.err
20377 } && test -s conftest.$ac_objext; then
20380 cat >conftest.$ac_ext <<_ACEOF
20383 cat confdefs.h >>conftest.$ac_ext
20384 cat >>conftest.$ac_ext <<_ACEOF
20385 /* end confdefs.h. */
20386 $ac_includes_default
20387 typedef size_t ac__type_sizeof_;
20391 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
20398 rm -f conftest.$ac_objext
20399 if { (ac_try="$ac_compile"
20400 case "(($ac_try" in
20401 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
20402 *) ac_try_echo
=$ac_try;;
20404 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20405 (eval "$ac_compile") 2>conftest.er1
20407 grep -v '^ *+' conftest.er1
>conftest.err
20409 cat conftest.err
>&5
20410 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20411 (exit $ac_status); } && {
20412 test -z "$ac_c_werror_flag" ||
20413 test ! -s conftest.err
20414 } && test -s conftest.
$ac_objext; then
20415 ac_lo
=$ac_mid; break
20417 echo "$as_me: failed program was:" >&5
20418 sed 's/^/| /' conftest.
$ac_ext >&5
20420 ac_hi
=`expr '(' $ac_mid ')' - 1`
20421 if test $ac_mid -le $ac_hi; then
20425 ac_mid
=`expr 2 '*' $ac_mid`
20428 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20431 echo "$as_me: failed program was:" >&5
20432 sed 's/^/| /' conftest.
$ac_ext >&5
20437 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20440 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20441 # Binary search between lo and hi bounds.
20442 while test "x$ac_lo" != "x$ac_hi"; do
20443 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
20444 cat >conftest.
$ac_ext <<_ACEOF
20447 cat confdefs.h
>>conftest.
$ac_ext
20448 cat >>conftest.
$ac_ext <<_ACEOF
20449 /* end confdefs.h. */
20450 $ac_includes_default
20451 typedef size_t ac__type_sizeof_;
20455 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
20462 rm -f conftest.
$ac_objext
20463 if { (ac_try
="$ac_compile"
20464 case "(($ac_try" in
20465 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
20466 *) ac_try_echo=$ac_try;;
20468 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20469 (eval "$ac_compile") 2>conftest.er1
20471 grep -v '^ *+' conftest.er1 >conftest.err
20473 cat conftest.err >&5
20474 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20475 (exit $ac_status); } && {
20476 test -z "$ac_c_werror_flag" ||
20477 test ! -s conftest.err
20478 } && test -s conftest.$ac_objext; then
20481 echo "$as_me: failed program was:" >&5
20482 sed 's/^/| /' conftest.$ac_ext >&5
20484 ac_lo=`expr '(' $ac_mid ')' + 1`
20487 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20490 ?*) ac_cv_sizeof_size_t=$ac_lo;;
20491 '') if test "$ac_cv_type_size_t" = yes; then
20492 { { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t)
20493 See \`config.log
' for more details." >&5
20494 echo "$as_me: error: cannot compute sizeof (size_t)
20495 See \`config.log' for more details.
" >&2;}
20496 { (exit 77); exit 77; }; }
20498 ac_cv_sizeof_size_t=0
20502 cat >conftest.$ac_ext <<_ACEOF
20505 cat confdefs.h >>conftest.$ac_ext
20506 cat >>conftest.$ac_ext <<_ACEOF
20507 /* end confdefs.h. */
20508 $ac_includes_default
20509 typedef size_t ac__type_sizeof_;
20510 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
20511 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
20513 #include <stdlib.h>
20518 FILE *f = fopen ("conftest.val
", "w
");
20521 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
20523 long int i = longval ();
20524 if (i != ((long int) (sizeof (ac__type_sizeof_))))
20526 fprintf (f, "%ld
\n", i);
20530 unsigned long int i = ulongval ();
20531 if (i != ((long int) (sizeof (ac__type_sizeof_))))
20533 fprintf (f, "%lu
\n", i);
20535 return ferror (f) || fclose (f) != 0;
20541 rm -f conftest$ac_exeext
20542 if { (ac_try="$ac_link"
20543 case "(($ac_try" in
20544 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20545 *) ac_try_echo=$ac_try;;
20547 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
20548 (eval "$ac_link") 2>&5
20550 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
20551 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
20552 { (case "(($ac_try" in
20553 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20554 *) ac_try_echo=$ac_try;;
20556 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
20557 (eval "$ac_try") 2>&5
20559 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
20560 (exit $ac_status); }; }; then
20561 ac_cv_sizeof_size_t=`cat conftest.val`
20563 echo "$as_me: program exited with status
$ac_status" >&5
20564 echo "$as_me: failed program was
:" >&5
20565 sed 's/^/| /' conftest.$ac_ext >&5
20567 ( exit $ac_status )
20568 if test "$ac_cv_type_size_t" = yes; then
20569 { { echo "$as_me:$LINENO: error
: cannot compute sizeof
(size_t
)
20570 See \
`config.log' for more details." >&5
20571 echo "$as_me: error: cannot compute sizeof (size_t)
20572 See \`config.log
' for more details." >&2;}
20573 { (exit 77); exit 77; }; }
20575 ac_cv_sizeof_size_t=0
20578 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20582 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_size_t" >&5
20583 echo "${ECHO_T}$ac_cv_sizeof_size_t" >&6; }
20587 cat >>confdefs.h <<_ACEOF
20588 #define SIZEOF_SIZE_T $ac_cv_sizeof_size_t
20595 { echo "$as_me:$LINENO: checking for long long" >&5
20596 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
20597 if test "${ac_cv_type_long_long+set}" = set; then
20598 echo $ECHO_N "(cached) $ECHO_C" >&6
20600 cat >conftest.$ac_ext <<_ACEOF
20603 cat confdefs.h >>conftest.$ac_ext
20604 cat >>conftest.$ac_ext <<_ACEOF
20605 /* end confdefs.h. */
20606 $ac_includes_default
20607 typedef long long ac__type_new_;
20611 if ((ac__type_new_ *) 0)
20613 if (sizeof (ac__type_new_))
20619 rm -f conftest.$ac_objext
20620 if { (ac_try="$ac_compile"
20621 case "(($ac_try" in
20622 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20623 *) ac_try_echo=$ac_try;;
20625 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20626 (eval "$ac_compile") 2>conftest.er1
20628 grep -v '^
*+' conftest.er1 >conftest.err
20630 cat conftest.err >&5
20631 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20632 (exit $ac_status); } && {
20633 test -z "$ac_c_werror_flag" ||
20634 test ! -s conftest.err
20635 } && test -s conftest.$ac_objext; then
20636 ac_cv_type_long_long=yes
20638 echo "$as_me: failed program was:" >&5
20639 sed 's
/^
/| /' conftest.$ac_ext >&5
20641 ac_cv_type_long_long=no
20644 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20646 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
20647 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
20649 # The cast to long int works around a bug in the HP C Compiler
20650 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20651 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20652 # This bug is HP SR number 8606223364.
20653 { echo "$as_me:$LINENO: checking size of long long" >&5
20654 echo $ECHO_N "checking size of long long... $ECHO_C" >&6; }
20655 if test "${ac_cv_sizeof_long_long+set}" = set; then
20656 echo $ECHO_N "(cached) $ECHO_C" >&6
20658 if test "$cross_compiling" = yes; then
20659 # Depending upon the size, compute the lo and hi bounds.
20660 cat >conftest.
$ac_ext <<_ACEOF
20663 cat confdefs.h
>>conftest.
$ac_ext
20664 cat >>conftest.
$ac_ext <<_ACEOF
20665 /* end confdefs.h. */
20666 $ac_includes_default
20667 typedef long long ac__type_sizeof_;
20671 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
20678 rm -f conftest.
$ac_objext
20679 if { (ac_try
="$ac_compile"
20680 case "(($ac_try" in
20681 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
20682 *) ac_try_echo=$ac_try;;
20684 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20685 (eval "$ac_compile") 2>conftest.er1
20687 grep -v '^ *+' conftest.er1 >conftest.err
20689 cat conftest.err >&5
20690 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20691 (exit $ac_status); } && {
20692 test -z "$ac_c_werror_flag" ||
20693 test ! -s conftest.err
20694 } && test -s conftest.$ac_objext; then
20697 cat >conftest.$ac_ext <<_ACEOF
20700 cat confdefs.h >>conftest.$ac_ext
20701 cat >>conftest.$ac_ext <<_ACEOF
20702 /* end confdefs.h. */
20703 $ac_includes_default
20704 typedef long long ac__type_sizeof_;
20708 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
20715 rm -f conftest.$ac_objext
20716 if { (ac_try="$ac_compile"
20717 case "(($ac_try" in
20718 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
20719 *) ac_try_echo
=$ac_try;;
20721 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20722 (eval "$ac_compile") 2>conftest.er1
20724 grep -v '^ *+' conftest.er1
>conftest.err
20726 cat conftest.err
>&5
20727 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20728 (exit $ac_status); } && {
20729 test -z "$ac_c_werror_flag" ||
20730 test ! -s conftest.err
20731 } && test -s conftest.
$ac_objext; then
20732 ac_hi
=$ac_mid; break
20734 echo "$as_me: failed program was:" >&5
20735 sed 's/^/| /' conftest.
$ac_ext >&5
20737 ac_lo
=`expr $ac_mid + 1`
20738 if test $ac_lo -le $ac_mid; then
20742 ac_mid
=`expr 2 '*' $ac_mid + 1`
20745 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20748 echo "$as_me: failed program was:" >&5
20749 sed 's/^/| /' conftest.
$ac_ext >&5
20751 cat >conftest.
$ac_ext <<_ACEOF
20754 cat confdefs.h
>>conftest.
$ac_ext
20755 cat >>conftest.
$ac_ext <<_ACEOF
20756 /* end confdefs.h. */
20757 $ac_includes_default
20758 typedef long long ac__type_sizeof_;
20762 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
20769 rm -f conftest.
$ac_objext
20770 if { (ac_try
="$ac_compile"
20771 case "(($ac_try" in
20772 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
20773 *) ac_try_echo=$ac_try;;
20775 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20776 (eval "$ac_compile") 2>conftest.er1
20778 grep -v '^ *+' conftest.er1 >conftest.err
20780 cat conftest.err >&5
20781 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20782 (exit $ac_status); } && {
20783 test -z "$ac_c_werror_flag" ||
20784 test ! -s conftest.err
20785 } && test -s conftest.$ac_objext; then
20788 cat >conftest.$ac_ext <<_ACEOF
20791 cat confdefs.h >>conftest.$ac_ext
20792 cat >>conftest.$ac_ext <<_ACEOF
20793 /* end confdefs.h. */
20794 $ac_includes_default
20795 typedef long long ac__type_sizeof_;
20799 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
20806 rm -f conftest.$ac_objext
20807 if { (ac_try="$ac_compile"
20808 case "(($ac_try" in
20809 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
20810 *) ac_try_echo
=$ac_try;;
20812 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20813 (eval "$ac_compile") 2>conftest.er1
20815 grep -v '^ *+' conftest.er1
>conftest.err
20817 cat conftest.err
>&5
20818 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20819 (exit $ac_status); } && {
20820 test -z "$ac_c_werror_flag" ||
20821 test ! -s conftest.err
20822 } && test -s conftest.
$ac_objext; then
20823 ac_lo
=$ac_mid; break
20825 echo "$as_me: failed program was:" >&5
20826 sed 's/^/| /' conftest.
$ac_ext >&5
20828 ac_hi
=`expr '(' $ac_mid ')' - 1`
20829 if test $ac_mid -le $ac_hi; then
20833 ac_mid
=`expr 2 '*' $ac_mid`
20836 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20839 echo "$as_me: failed program was:" >&5
20840 sed 's/^/| /' conftest.
$ac_ext >&5
20845 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20848 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20849 # Binary search between lo and hi bounds.
20850 while test "x$ac_lo" != "x$ac_hi"; do
20851 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
20852 cat >conftest.
$ac_ext <<_ACEOF
20855 cat confdefs.h
>>conftest.
$ac_ext
20856 cat >>conftest.
$ac_ext <<_ACEOF
20857 /* end confdefs.h. */
20858 $ac_includes_default
20859 typedef long long ac__type_sizeof_;
20863 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
20870 rm -f conftest.
$ac_objext
20871 if { (ac_try
="$ac_compile"
20872 case "(($ac_try" in
20873 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
20874 *) ac_try_echo=$ac_try;;
20876 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20877 (eval "$ac_compile") 2>conftest.er1
20879 grep -v '^ *+' conftest.er1 >conftest.err
20881 cat conftest.err >&5
20882 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20883 (exit $ac_status); } && {
20884 test -z "$ac_c_werror_flag" ||
20885 test ! -s conftest.err
20886 } && test -s conftest.$ac_objext; then
20889 echo "$as_me: failed program was:" >&5
20890 sed 's/^/| /' conftest.$ac_ext >&5
20892 ac_lo=`expr '(' $ac_mid ')' + 1`
20895 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20898 ?*) ac_cv_sizeof_long_long=$ac_lo;;
20899 '') if test "$ac_cv_type_long_long" = yes; then
20900 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
20901 See \`config.log
' for more details." >&5
20902 echo "$as_me: error: cannot compute sizeof (long long)
20903 See \`config.log' for more details.
" >&2;}
20904 { (exit 77); exit 77; }; }
20906 ac_cv_sizeof_long_long=0
20910 cat >conftest.$ac_ext <<_ACEOF
20913 cat confdefs.h >>conftest.$ac_ext
20914 cat >>conftest.$ac_ext <<_ACEOF
20915 /* end confdefs.h. */
20916 $ac_includes_default
20917 typedef long long ac__type_sizeof_;
20918 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
20919 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
20921 #include <stdlib.h>
20926 FILE *f = fopen ("conftest.val
", "w
");
20929 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
20931 long int i = longval ();
20932 if (i != ((long int) (sizeof (ac__type_sizeof_))))
20934 fprintf (f, "%ld
\n", i);
20938 unsigned long int i = ulongval ();
20939 if (i != ((long int) (sizeof (ac__type_sizeof_))))
20941 fprintf (f, "%lu
\n", i);
20943 return ferror (f) || fclose (f) != 0;
20949 rm -f conftest$ac_exeext
20950 if { (ac_try="$ac_link"
20951 case "(($ac_try" in
20952 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20953 *) ac_try_echo=$ac_try;;
20955 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
20956 (eval "$ac_link") 2>&5
20958 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
20959 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
20960 { (case "(($ac_try" in
20961 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20962 *) ac_try_echo=$ac_try;;
20964 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
20965 (eval "$ac_try") 2>&5
20967 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
20968 (exit $ac_status); }; }; then
20969 ac_cv_sizeof_long_long=`cat conftest.val`
20971 echo "$as_me: program exited with status
$ac_status" >&5
20972 echo "$as_me: failed program was
:" >&5
20973 sed 's/^/| /' conftest.$ac_ext >&5
20975 ( exit $ac_status )
20976 if test "$ac_cv_type_long_long" = yes; then
20977 { { echo "$as_me:$LINENO: error
: cannot compute sizeof
(long long
)
20978 See \
`config.log' for more details." >&5
20979 echo "$as_me: error: cannot compute sizeof (long long)
20980 See \`config.log
' for more details." >&2;}
20981 { (exit 77); exit 77; }; }
20983 ac_cv_sizeof_long_long=0
20986 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20990 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
20991 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6; }
20995 cat >>confdefs.h <<_ACEOF
20996 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
21002 { echo "$as_me:$LINENO: checking for long long" >&5
21003 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
21004 if test "${ac_cv_type_long_long+set}" = set; then
21005 echo $ECHO_N "(cached) $ECHO_C" >&6
21007 cat >conftest.$ac_ext <<_ACEOF
21010 cat confdefs.h >>conftest.$ac_ext
21011 cat >>conftest.$ac_ext <<_ACEOF
21012 /* end confdefs.h. */
21013 $ac_includes_default
21014 typedef long long ac__type_new_;
21018 if ((ac__type_new_ *) 0)
21020 if (sizeof (ac__type_new_))
21026 rm -f conftest.$ac_objext
21027 if { (ac_try="$ac_compile"
21028 case "(($ac_try" in
21029 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21030 *) ac_try_echo=$ac_try;;
21032 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21033 (eval "$ac_compile") 2>conftest.er1
21035 grep -v '^
*+' conftest.er1 >conftest.err
21037 cat conftest.err >&5
21038 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21039 (exit $ac_status); } && {
21040 test -z "$ac_c_werror_flag" ||
21041 test ! -s conftest.err
21042 } && test -s conftest.$ac_objext; then
21043 ac_cv_type_long_long=yes
21045 echo "$as_me: failed program was:" >&5
21046 sed 's
/^
/| /' conftest.$ac_ext >&5
21048 ac_cv_type_long_long=no
21051 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21053 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
21054 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
21056 # The cast to long int works around a bug in the HP C Compiler
21057 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
21058 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
21059 # This bug is HP SR number 8606223364.
21060 { echo "$as_me:$LINENO: checking size of long long" >&5
21061 echo $ECHO_N "checking size of long long... $ECHO_C" >&6; }
21062 if test "${ac_cv_sizeof_long_long+set}" = set; then
21063 echo $ECHO_N "(cached) $ECHO_C" >&6
21065 if test "$cross_compiling" = yes; then
21066 # Depending upon the size, compute the lo and hi bounds.
21067 cat >conftest.
$ac_ext <<_ACEOF
21070 cat confdefs.h
>>conftest.
$ac_ext
21071 cat >>conftest.
$ac_ext <<_ACEOF
21072 /* end confdefs.h. */
21073 $ac_includes_default
21074 typedef long long ac__type_sizeof_;
21078 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
21085 rm -f conftest.
$ac_objext
21086 if { (ac_try
="$ac_compile"
21087 case "(($ac_try" in
21088 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
21089 *) ac_try_echo=$ac_try;;
21091 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21092 (eval "$ac_compile") 2>conftest.er1
21094 grep -v '^ *+' conftest.er1 >conftest.err
21096 cat conftest.err >&5
21097 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21098 (exit $ac_status); } && {
21099 test -z "$ac_c_werror_flag" ||
21100 test ! -s conftest.err
21101 } && test -s conftest.$ac_objext; then
21104 cat >conftest.$ac_ext <<_ACEOF
21107 cat confdefs.h >>conftest.$ac_ext
21108 cat >>conftest.$ac_ext <<_ACEOF
21109 /* end confdefs.h. */
21110 $ac_includes_default
21111 typedef long long ac__type_sizeof_;
21115 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21122 rm -f conftest.$ac_objext
21123 if { (ac_try="$ac_compile"
21124 case "(($ac_try" in
21125 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
21126 *) ac_try_echo
=$ac_try;;
21128 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21129 (eval "$ac_compile") 2>conftest.er1
21131 grep -v '^ *+' conftest.er1
>conftest.err
21133 cat conftest.err
>&5
21134 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21135 (exit $ac_status); } && {
21136 test -z "$ac_c_werror_flag" ||
21137 test ! -s conftest.err
21138 } && test -s conftest.
$ac_objext; then
21139 ac_hi
=$ac_mid; break
21141 echo "$as_me: failed program was:" >&5
21142 sed 's/^/| /' conftest.
$ac_ext >&5
21144 ac_lo
=`expr $ac_mid + 1`
21145 if test $ac_lo -le $ac_mid; then
21149 ac_mid
=`expr 2 '*' $ac_mid + 1`
21152 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21155 echo "$as_me: failed program was:" >&5
21156 sed 's/^/| /' conftest.
$ac_ext >&5
21158 cat >conftest.
$ac_ext <<_ACEOF
21161 cat confdefs.h
>>conftest.
$ac_ext
21162 cat >>conftest.
$ac_ext <<_ACEOF
21163 /* end confdefs.h. */
21164 $ac_includes_default
21165 typedef long long ac__type_sizeof_;
21169 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
21176 rm -f conftest.
$ac_objext
21177 if { (ac_try
="$ac_compile"
21178 case "(($ac_try" in
21179 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
21180 *) ac_try_echo=$ac_try;;
21182 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21183 (eval "$ac_compile") 2>conftest.er1
21185 grep -v '^ *+' conftest.er1 >conftest.err
21187 cat conftest.err >&5
21188 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21189 (exit $ac_status); } && {
21190 test -z "$ac_c_werror_flag" ||
21191 test ! -s conftest.err
21192 } && test -s conftest.$ac_objext; then
21195 cat >conftest.$ac_ext <<_ACEOF
21198 cat confdefs.h >>conftest.$ac_ext
21199 cat >>conftest.$ac_ext <<_ACEOF
21200 /* end confdefs.h. */
21201 $ac_includes_default
21202 typedef long long ac__type_sizeof_;
21206 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
21213 rm -f conftest.$ac_objext
21214 if { (ac_try="$ac_compile"
21215 case "(($ac_try" in
21216 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
21217 *) ac_try_echo
=$ac_try;;
21219 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21220 (eval "$ac_compile") 2>conftest.er1
21222 grep -v '^ *+' conftest.er1
>conftest.err
21224 cat conftest.err
>&5
21225 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21226 (exit $ac_status); } && {
21227 test -z "$ac_c_werror_flag" ||
21228 test ! -s conftest.err
21229 } && test -s conftest.
$ac_objext; then
21230 ac_lo
=$ac_mid; break
21232 echo "$as_me: failed program was:" >&5
21233 sed 's/^/| /' conftest.
$ac_ext >&5
21235 ac_hi
=`expr '(' $ac_mid ')' - 1`
21236 if test $ac_mid -le $ac_hi; then
21240 ac_mid
=`expr 2 '*' $ac_mid`
21243 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21246 echo "$as_me: failed program was:" >&5
21247 sed 's/^/| /' conftest.
$ac_ext >&5
21252 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21255 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21256 # Binary search between lo and hi bounds.
21257 while test "x$ac_lo" != "x$ac_hi"; do
21258 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
21259 cat >conftest.
$ac_ext <<_ACEOF
21262 cat confdefs.h
>>conftest.
$ac_ext
21263 cat >>conftest.
$ac_ext <<_ACEOF
21264 /* end confdefs.h. */
21265 $ac_includes_default
21266 typedef long long ac__type_sizeof_;
21270 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21277 rm -f conftest.
$ac_objext
21278 if { (ac_try
="$ac_compile"
21279 case "(($ac_try" in
21280 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
21281 *) ac_try_echo=$ac_try;;
21283 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21284 (eval "$ac_compile") 2>conftest.er1
21286 grep -v '^ *+' conftest.er1 >conftest.err
21288 cat conftest.err >&5
21289 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21290 (exit $ac_status); } && {
21291 test -z "$ac_c_werror_flag" ||
21292 test ! -s conftest.err
21293 } && test -s conftest.$ac_objext; then
21296 echo "$as_me: failed program was:" >&5
21297 sed 's/^/| /' conftest.$ac_ext >&5
21299 ac_lo=`expr '(' $ac_mid ')' + 1`
21302 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21305 ?*) ac_cv_sizeof_long_long=$ac_lo;;
21306 '') if test "$ac_cv_type_long_long" = yes; then
21307 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
21308 See \`config.log
' for more details." >&5
21309 echo "$as_me: error: cannot compute sizeof (long long)
21310 See \`config.log' for more details.
" >&2;}
21311 { (exit 77); exit 77; }; }
21313 ac_cv_sizeof_long_long=0
21317 cat >conftest.$ac_ext <<_ACEOF
21320 cat confdefs.h >>conftest.$ac_ext
21321 cat >>conftest.$ac_ext <<_ACEOF
21322 /* end confdefs.h. */
21323 $ac_includes_default
21324 typedef long long ac__type_sizeof_;
21325 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
21326 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
21328 #include <stdlib.h>
21333 FILE *f = fopen ("conftest.val
", "w
");
21336 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
21338 long int i = longval ();
21339 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21341 fprintf (f, "%ld
\n", i);
21345 unsigned long int i = ulongval ();
21346 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21348 fprintf (f, "%lu
\n", i);
21350 return ferror (f) || fclose (f) != 0;
21356 rm -f conftest$ac_exeext
21357 if { (ac_try="$ac_link"
21358 case "(($ac_try" in
21359 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21360 *) ac_try_echo=$ac_try;;
21362 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
21363 (eval "$ac_link") 2>&5
21365 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
21366 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
21367 { (case "(($ac_try" in
21368 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21369 *) ac_try_echo=$ac_try;;
21371 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
21372 (eval "$ac_try") 2>&5
21374 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
21375 (exit $ac_status); }; }; then
21376 ac_cv_sizeof_long_long=`cat conftest.val`
21378 echo "$as_me: program exited with status
$ac_status" >&5
21379 echo "$as_me: failed program was
:" >&5
21380 sed 's/^/| /' conftest.$ac_ext >&5
21382 ( exit $ac_status )
21383 if test "$ac_cv_type_long_long" = yes; then
21384 { { echo "$as_me:$LINENO: error
: cannot compute sizeof
(long long
)
21385 See \
`config.log' for more details." >&5
21386 echo "$as_me: error: cannot compute sizeof (long long)
21387 See \`config.log
' for more details." >&2;}
21388 { (exit 77); exit 77; }; }
21390 ac_cv_sizeof_long_long=0
21393 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
21397 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
21398 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6; }
21402 cat >>confdefs.h <<_ACEOF
21403 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
21407 if test "$ac_cv_sizeof_long_long" != "0"; then
21408 CPPFLAGS="-D_INCLUDE_LONGLONG $CPPFLAGS"
21412 { echo "$as_me:$LINENO: checking for long long" >&5
21413 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
21414 if test "${ac_cv_type_long_long+set}" = set; then
21415 echo $ECHO_N "(cached) $ECHO_C" >&6
21417 cat >conftest.$ac_ext <<_ACEOF
21420 cat confdefs.h >>conftest.$ac_ext
21421 cat >>conftest.$ac_ext <<_ACEOF
21422 /* end confdefs.h. */
21423 $ac_includes_default
21424 typedef long long ac__type_new_;
21428 if ((ac__type_new_ *) 0)
21430 if (sizeof (ac__type_new_))
21436 rm -f conftest.$ac_objext
21437 if { (ac_try="$ac_compile"
21438 case "(($ac_try" in
21439 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21440 *) ac_try_echo=$ac_try;;
21442 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21443 (eval "$ac_compile") 2>conftest.er1
21445 grep -v '^
*+' conftest.er1 >conftest.err
21447 cat conftest.err >&5
21448 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21449 (exit $ac_status); } && {
21450 test -z "$ac_c_werror_flag" ||
21451 test ! -s conftest.err
21452 } && test -s conftest.$ac_objext; then
21453 ac_cv_type_long_long=yes
21455 echo "$as_me: failed program was:" >&5
21456 sed 's
/^
/| /' conftest.$ac_ext >&5
21458 ac_cv_type_long_long=no
21461 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21463 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
21464 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
21466 # The cast to long int works around a bug in the HP C Compiler
21467 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
21468 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
21469 # This bug is HP SR number 8606223364.
21470 { echo "$as_me:$LINENO: checking size of long long" >&5
21471 echo $ECHO_N "checking size of long long... $ECHO_C" >&6; }
21472 if test "${ac_cv_sizeof_long_long+set}" = set; then
21473 echo $ECHO_N "(cached) $ECHO_C" >&6
21475 if test "$cross_compiling" = yes; then
21476 # Depending upon the size, compute the lo and hi bounds.
21477 cat >conftest.
$ac_ext <<_ACEOF
21480 cat confdefs.h
>>conftest.
$ac_ext
21481 cat >>conftest.
$ac_ext <<_ACEOF
21482 /* end confdefs.h. */
21483 $ac_includes_default
21484 typedef long long ac__type_sizeof_;
21488 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
21495 rm -f conftest.
$ac_objext
21496 if { (ac_try
="$ac_compile"
21497 case "(($ac_try" in
21498 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
21499 *) ac_try_echo=$ac_try;;
21501 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21502 (eval "$ac_compile") 2>conftest.er1
21504 grep -v '^ *+' conftest.er1 >conftest.err
21506 cat conftest.err >&5
21507 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21508 (exit $ac_status); } && {
21509 test -z "$ac_c_werror_flag" ||
21510 test ! -s conftest.err
21511 } && test -s conftest.$ac_objext; then
21514 cat >conftest.$ac_ext <<_ACEOF
21517 cat confdefs.h >>conftest.$ac_ext
21518 cat >>conftest.$ac_ext <<_ACEOF
21519 /* end confdefs.h. */
21520 $ac_includes_default
21521 typedef long long ac__type_sizeof_;
21525 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21532 rm -f conftest.$ac_objext
21533 if { (ac_try="$ac_compile"
21534 case "(($ac_try" in
21535 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
21536 *) ac_try_echo
=$ac_try;;
21538 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21539 (eval "$ac_compile") 2>conftest.er1
21541 grep -v '^ *+' conftest.er1
>conftest.err
21543 cat conftest.err
>&5
21544 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21545 (exit $ac_status); } && {
21546 test -z "$ac_c_werror_flag" ||
21547 test ! -s conftest.err
21548 } && test -s conftest.
$ac_objext; then
21549 ac_hi
=$ac_mid; break
21551 echo "$as_me: failed program was:" >&5
21552 sed 's/^/| /' conftest.
$ac_ext >&5
21554 ac_lo
=`expr $ac_mid + 1`
21555 if test $ac_lo -le $ac_mid; then
21559 ac_mid
=`expr 2 '*' $ac_mid + 1`
21562 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21565 echo "$as_me: failed program was:" >&5
21566 sed 's/^/| /' conftest.
$ac_ext >&5
21568 cat >conftest.
$ac_ext <<_ACEOF
21571 cat confdefs.h
>>conftest.
$ac_ext
21572 cat >>conftest.
$ac_ext <<_ACEOF
21573 /* end confdefs.h. */
21574 $ac_includes_default
21575 typedef long long ac__type_sizeof_;
21579 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
21586 rm -f conftest.
$ac_objext
21587 if { (ac_try
="$ac_compile"
21588 case "(($ac_try" in
21589 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
21590 *) ac_try_echo=$ac_try;;
21592 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21593 (eval "$ac_compile") 2>conftest.er1
21595 grep -v '^ *+' conftest.er1 >conftest.err
21597 cat conftest.err >&5
21598 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21599 (exit $ac_status); } && {
21600 test -z "$ac_c_werror_flag" ||
21601 test ! -s conftest.err
21602 } && test -s conftest.$ac_objext; then
21605 cat >conftest.$ac_ext <<_ACEOF
21608 cat confdefs.h >>conftest.$ac_ext
21609 cat >>conftest.$ac_ext <<_ACEOF
21610 /* end confdefs.h. */
21611 $ac_includes_default
21612 typedef long long ac__type_sizeof_;
21616 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
21623 rm -f conftest.$ac_objext
21624 if { (ac_try="$ac_compile"
21625 case "(($ac_try" in
21626 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
21627 *) ac_try_echo
=$ac_try;;
21629 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21630 (eval "$ac_compile") 2>conftest.er1
21632 grep -v '^ *+' conftest.er1
>conftest.err
21634 cat conftest.err
>&5
21635 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21636 (exit $ac_status); } && {
21637 test -z "$ac_c_werror_flag" ||
21638 test ! -s conftest.err
21639 } && test -s conftest.
$ac_objext; then
21640 ac_lo
=$ac_mid; break
21642 echo "$as_me: failed program was:" >&5
21643 sed 's/^/| /' conftest.
$ac_ext >&5
21645 ac_hi
=`expr '(' $ac_mid ')' - 1`
21646 if test $ac_mid -le $ac_hi; then
21650 ac_mid
=`expr 2 '*' $ac_mid`
21653 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21656 echo "$as_me: failed program was:" >&5
21657 sed 's/^/| /' conftest.
$ac_ext >&5
21662 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21665 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21666 # Binary search between lo and hi bounds.
21667 while test "x$ac_lo" != "x$ac_hi"; do
21668 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
21669 cat >conftest.
$ac_ext <<_ACEOF
21672 cat confdefs.h
>>conftest.
$ac_ext
21673 cat >>conftest.
$ac_ext <<_ACEOF
21674 /* end confdefs.h. */
21675 $ac_includes_default
21676 typedef long long ac__type_sizeof_;
21680 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21687 rm -f conftest.
$ac_objext
21688 if { (ac_try
="$ac_compile"
21689 case "(($ac_try" in
21690 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
21691 *) ac_try_echo=$ac_try;;
21693 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21694 (eval "$ac_compile") 2>conftest.er1
21696 grep -v '^ *+' conftest.er1 >conftest.err
21698 cat conftest.err >&5
21699 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21700 (exit $ac_status); } && {
21701 test -z "$ac_c_werror_flag" ||
21702 test ! -s conftest.err
21703 } && test -s conftest.$ac_objext; then
21706 echo "$as_me: failed program was:" >&5
21707 sed 's/^/| /' conftest.$ac_ext >&5
21709 ac_lo=`expr '(' $ac_mid ')' + 1`
21712 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21715 ?*) ac_cv_sizeof_long_long=$ac_lo;;
21716 '') if test "$ac_cv_type_long_long" = yes; then
21717 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
21718 See \`config.log
' for more details." >&5
21719 echo "$as_me: error: cannot compute sizeof (long long)
21720 See \`config.log' for more details.
" >&2;}
21721 { (exit 77); exit 77; }; }
21723 ac_cv_sizeof_long_long=0
21727 cat >conftest.$ac_ext <<_ACEOF
21730 cat confdefs.h >>conftest.$ac_ext
21731 cat >>conftest.$ac_ext <<_ACEOF
21732 /* end confdefs.h. */
21733 $ac_includes_default
21734 typedef long long ac__type_sizeof_;
21735 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
21736 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
21738 #include <stdlib.h>
21743 FILE *f = fopen ("conftest.val
", "w
");
21746 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
21748 long int i = longval ();
21749 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21751 fprintf (f, "%ld
\n", i);
21755 unsigned long int i = ulongval ();
21756 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21758 fprintf (f, "%lu
\n", i);
21760 return ferror (f) || fclose (f) != 0;
21766 rm -f conftest$ac_exeext
21767 if { (ac_try="$ac_link"
21768 case "(($ac_try" in
21769 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21770 *) ac_try_echo=$ac_try;;
21772 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
21773 (eval "$ac_link") 2>&5
21775 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
21776 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
21777 { (case "(($ac_try" in
21778 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21779 *) ac_try_echo=$ac_try;;
21781 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
21782 (eval "$ac_try") 2>&5
21784 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
21785 (exit $ac_status); }; }; then
21786 ac_cv_sizeof_long_long=`cat conftest.val`
21788 echo "$as_me: program exited with status
$ac_status" >&5
21789 echo "$as_me: failed program was
:" >&5
21790 sed 's/^/| /' conftest.$ac_ext >&5
21792 ( exit $ac_status )
21793 if test "$ac_cv_type_long_long" = yes; then
21794 { { echo "$as_me:$LINENO: error
: cannot compute sizeof
(long long
)
21795 See \
`config.log' for more details." >&5
21796 echo "$as_me: error: cannot compute sizeof (long long)
21797 See \`config.log
' for more details." >&2;}
21798 { (exit 77); exit 77; }; }
21800 ac_cv_sizeof_long_long=0
21803 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
21807 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
21808 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6; }
21812 cat >>confdefs.h <<_ACEOF
21813 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
21819 { echo "$as_me:$LINENO: checking for wchar_t" >&5
21820 echo $ECHO_N "checking for wchar_t... $ECHO_C" >&6; }
21821 if test "${ac_cv_type_wchar_t+set}" = set; then
21822 echo $ECHO_N "(cached) $ECHO_C" >&6
21824 cat >conftest.$ac_ext <<_ACEOF
21827 cat confdefs.h >>conftest.$ac_ext
21828 cat >>conftest.$ac_ext <<_ACEOF
21829 /* end confdefs.h. */
21831 /* DJGPP's wchar_t is now a keyword
in C
++ (still not C though
) */
21832 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
21833 # error "fake wchar_t"
21835 #ifdef HAVE_WCHAR_H
21837 # include <stddef.h>
21839 # include <wchar.h>
21841 #ifdef HAVE_STDLIB_H
21842 # include <stdlib.h>
21848 typedef wchar_t ac__type_new_
;
21852 if ((ac__type_new_
*) 0)
21854 if (sizeof
(ac__type_new_
))
21860 rm -f conftest.
$ac_objext
21861 if { (ac_try
="$ac_compile"
21862 case "(($ac_try" in
21863 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
21864 *) ac_try_echo=$ac_try;;
21866 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21867 (eval "$ac_compile") 2>conftest.er1
21869 grep -v '^ *+' conftest.er1 >conftest.err
21871 cat conftest.err >&5
21872 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21873 (exit $ac_status); } && {
21874 test -z "$ac_c_werror_flag" ||
21875 test ! -s conftest.err
21876 } && test -s conftest.$ac_objext; then
21877 ac_cv_type_wchar_t=yes
21879 echo "$as_me: failed program was:" >&5
21880 sed 's/^/| /' conftest.$ac_ext >&5
21882 ac_cv_type_wchar_t=no
21885 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21887 { echo "$as_me:$LINENO: result: $ac_cv_type_wchar_t" >&5
21888 echo "${ECHO_T}$ac_cv_type_wchar_t" >&6; }
21890 # The cast to long int works around a bug in the HP C Compiler
21891 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
21892 # declarations like `int a3
[[(sizeof
(unsigned char
)) >= 0]];'.
21893 # This bug is HP SR number 8606223364.
21894 { echo "$as_me:$LINENO: checking size of wchar_t" >&5
21895 echo $ECHO_N "checking size of wchar_t... $ECHO_C" >&6; }
21896 if test "${ac_cv_sizeof_wchar_t+set}" = set; then
21897 echo $ECHO_N "(cached) $ECHO_C" >&6
21899 if test "$cross_compiling" = yes; then
21900 # Depending upon the size, compute the lo and hi bounds.
21901 cat >conftest.$ac_ext <<_ACEOF
21904 cat confdefs.h >>conftest.$ac_ext
21905 cat >>conftest.$ac_ext <<_ACEOF
21906 /* end confdefs.h. */
21908 /* DJGPP's wchar_t is now a keyword
in C
++ (still not C though
) */
21909 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
21910 # error "fake wchar_t"
21912 #ifdef HAVE_WCHAR_H
21914 # include <stddef.h>
21916 # include <wchar.h>
21918 #ifdef HAVE_STDLIB_H
21919 # include <stdlib.h>
21925 typedef wchar_t ac__type_sizeof_
;
21929 static int test_array
[1 - 2 * !(((long int
) (sizeof
(ac__type_sizeof_
))) >= 0)];
21936 rm -f conftest.
$ac_objext
21937 if { (ac_try
="$ac_compile"
21938 case "(($ac_try" in
21939 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
21940 *) ac_try_echo=$ac_try;;
21942 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21943 (eval "$ac_compile") 2>conftest.er1
21945 grep -v '^ *+' conftest.er1 >conftest.err
21947 cat conftest.err >&5
21948 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21949 (exit $ac_status); } && {
21950 test -z "$ac_c_werror_flag" ||
21951 test ! -s conftest.err
21952 } && test -s conftest.$ac_objext; then
21955 cat >conftest.$ac_ext <<_ACEOF
21958 cat confdefs.h >>conftest.$ac_ext
21959 cat >>conftest.$ac_ext <<_ACEOF
21960 /* end confdefs.h. */
21962 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
21963 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
21964 # error "fake wchar_t"
21966 #ifdef HAVE_WCHAR_H
21968 # include <stddef.h>
21970 # include <wchar.h>
21972 #ifdef HAVE_STDLIB_H
21973 # include <stdlib.h>
21979 typedef wchar_t ac__type_sizeof_;
21983 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21990 rm -f conftest.$ac_objext
21991 if { (ac_try="$ac_compile"
21992 case "(($ac_try" in
21993 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
21994 *) ac_try_echo
=$ac_try;;
21996 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21997 (eval "$ac_compile") 2>conftest.er1
21999 grep -v '^ *+' conftest.er1
>conftest.err
22001 cat conftest.err
>&5
22002 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22003 (exit $ac_status); } && {
22004 test -z "$ac_c_werror_flag" ||
22005 test ! -s conftest.err
22006 } && test -s conftest.
$ac_objext; then
22007 ac_hi
=$ac_mid; break
22009 echo "$as_me: failed program was:" >&5
22010 sed 's/^/| /' conftest.
$ac_ext >&5
22012 ac_lo
=`expr $ac_mid + 1`
22013 if test $ac_lo -le $ac_mid; then
22017 ac_mid
=`expr 2 '*' $ac_mid + 1`
22020 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
22023 echo "$as_me: failed program was:" >&5
22024 sed 's/^/| /' conftest.
$ac_ext >&5
22026 cat >conftest.
$ac_ext <<_ACEOF
22029 cat confdefs.h
>>conftest.
$ac_ext
22030 cat >>conftest.
$ac_ext <<_ACEOF
22031 /* end confdefs.h. */
22033 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
22034 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
22035 # error "fake wchar_t"
22037 #ifdef HAVE_WCHAR_H
22039 # include <stddef.h>
22041 # include <wchar.h>
22043 #ifdef HAVE_STDLIB_H
22044 # include <stdlib.h>
22050 typedef wchar_t ac__type_sizeof_;
22054 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
22061 rm -f conftest.
$ac_objext
22062 if { (ac_try
="$ac_compile"
22063 case "(($ac_try" in
22064 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
22065 *) ac_try_echo=$ac_try;;
22067 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22068 (eval "$ac_compile") 2>conftest.er1
22070 grep -v '^ *+' conftest.er1 >conftest.err
22072 cat conftest.err >&5
22073 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22074 (exit $ac_status); } && {
22075 test -z "$ac_c_werror_flag" ||
22076 test ! -s conftest.err
22077 } && test -s conftest.$ac_objext; then
22080 cat >conftest.$ac_ext <<_ACEOF
22083 cat confdefs.h >>conftest.$ac_ext
22084 cat >>conftest.$ac_ext <<_ACEOF
22085 /* end confdefs.h. */
22087 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
22088 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
22089 # error "fake wchar_t"
22091 #ifdef HAVE_WCHAR_H
22093 # include <stddef.h>
22095 # include <wchar.h>
22097 #ifdef HAVE_STDLIB_H
22098 # include <stdlib.h>
22104 typedef wchar_t ac__type_sizeof_;
22108 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
22115 rm -f conftest.$ac_objext
22116 if { (ac_try="$ac_compile"
22117 case "(($ac_try" in
22118 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
22119 *) ac_try_echo
=$ac_try;;
22121 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22122 (eval "$ac_compile") 2>conftest.er1
22124 grep -v '^ *+' conftest.er1
>conftest.err
22126 cat conftest.err
>&5
22127 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22128 (exit $ac_status); } && {
22129 test -z "$ac_c_werror_flag" ||
22130 test ! -s conftest.err
22131 } && test -s conftest.
$ac_objext; then
22132 ac_lo
=$ac_mid; break
22134 echo "$as_me: failed program was:" >&5
22135 sed 's/^/| /' conftest.
$ac_ext >&5
22137 ac_hi
=`expr '(' $ac_mid ')' - 1`
22138 if test $ac_mid -le $ac_hi; then
22142 ac_mid
=`expr 2 '*' $ac_mid`
22145 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
22148 echo "$as_me: failed program was:" >&5
22149 sed 's/^/| /' conftest.
$ac_ext >&5
22154 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
22157 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
22158 # Binary search between lo and hi bounds.
22159 while test "x$ac_lo" != "x$ac_hi"; do
22160 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
22161 cat >conftest.
$ac_ext <<_ACEOF
22164 cat confdefs.h
>>conftest.
$ac_ext
22165 cat >>conftest.
$ac_ext <<_ACEOF
22166 /* end confdefs.h. */
22168 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
22169 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
22170 # error "fake wchar_t"
22172 #ifdef HAVE_WCHAR_H
22174 # include <stddef.h>
22176 # include <wchar.h>
22178 #ifdef HAVE_STDLIB_H
22179 # include <stdlib.h>
22185 typedef wchar_t ac__type_sizeof_;
22189 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22196 rm -f conftest.
$ac_objext
22197 if { (ac_try
="$ac_compile"
22198 case "(($ac_try" in
22199 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
22200 *) ac_try_echo=$ac_try;;
22202 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22203 (eval "$ac_compile") 2>conftest.er1
22205 grep -v '^ *+' conftest.er1 >conftest.err
22207 cat conftest.err >&5
22208 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22209 (exit $ac_status); } && {
22210 test -z "$ac_c_werror_flag" ||
22211 test ! -s conftest.err
22212 } && test -s conftest.$ac_objext; then
22215 echo "$as_me: failed program was:" >&5
22216 sed 's/^/| /' conftest.$ac_ext >&5
22218 ac_lo=`expr '(' $ac_mid ')' + 1`
22221 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22224 ?*) ac_cv_sizeof_wchar_t=$ac_lo;;
22225 '') if test "$ac_cv_type_wchar_t" = yes; then
22226 { { echo "$as_me:$LINENO: error: cannot compute sizeof (wchar_t)
22227 See \`config.log
' for more details." >&5
22228 echo "$as_me: error: cannot compute sizeof (wchar_t)
22229 See \`config.log' for more details.
" >&2;}
22230 { (exit 77); exit 77; }; }
22232 ac_cv_sizeof_wchar_t=0
22236 cat >conftest.$ac_ext <<_ACEOF
22239 cat confdefs.h >>conftest.$ac_ext
22240 cat >>conftest.$ac_ext <<_ACEOF
22241 /* end confdefs.h. */
22243 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
22244 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
22245 # error "fake wchar_t
"
22247 #ifdef HAVE_WCHAR_H
22249 # include <stddef.h>
22251 # include <wchar.h>
22253 #ifdef HAVE_STDLIB_H
22254 # include <stdlib.h>
22260 typedef wchar_t ac__type_sizeof_;
22261 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
22262 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
22264 #include <stdlib.h>
22269 FILE *f = fopen ("conftest.val
", "w
");
22272 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
22274 long int i = longval ();
22275 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22277 fprintf (f, "%ld
\n", i);
22281 unsigned long int i = ulongval ();
22282 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22284 fprintf (f, "%lu
\n", i);
22286 return ferror (f) || fclose (f) != 0;
22292 rm -f conftest$ac_exeext
22293 if { (ac_try="$ac_link"
22294 case "(($ac_try" in
22295 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22296 *) ac_try_echo=$ac_try;;
22298 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
22299 (eval "$ac_link") 2>&5
22301 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
22302 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
22303 { (case "(($ac_try" in
22304 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22305 *) ac_try_echo=$ac_try;;
22307 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
22308 (eval "$ac_try") 2>&5
22310 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
22311 (exit $ac_status); }; }; then
22312 ac_cv_sizeof_wchar_t=`cat conftest.val`
22314 echo "$as_me: program exited with status
$ac_status" >&5
22315 echo "$as_me: failed program was
:" >&5
22316 sed 's/^/| /' conftest.$ac_ext >&5
22318 ( exit $ac_status )
22319 if test "$ac_cv_type_wchar_t" = yes; then
22320 { { echo "$as_me:$LINENO: error
: cannot compute sizeof
(wchar_t
)
22321 See \
`config.log' for more details." >&5
22322 echo "$as_me: error: cannot compute sizeof (wchar_t)
22323 See \`config.log
' for more details." >&2;}
22324 { (exit 77); exit 77; }; }
22326 ac_cv_sizeof_wchar_t=0
22329 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22333 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_wchar_t" >&5
22334 echo "${ECHO_T}$ac_cv_sizeof_wchar_t" >&6; }
22338 cat >>confdefs.h <<_ACEOF
22339 #define SIZEOF_WCHAR_T $ac_cv_sizeof_wchar_t
22343 if test "$ac_cv_sizeof_wchar_t" != "0"; then
22349 { echo "$as_me:$LINENO: checking for va_copy" >&5
22350 echo $ECHO_N "checking for va_copy... $ECHO_C" >&6; }
22351 if test "${wx_cv_func_va_copy+set}" = set; then
22352 echo $ECHO_N "(cached) $ECHO_C" >&6
22355 cat >conftest.$ac_ext <<_ACEOF
22357 #include <stdarg.h>
22358 void foo(char *f, ...)
22372 rm -f conftest.$ac_objext conftest$ac_exeext
22373 if { (ac_try="$ac_link"
22374 case "(($ac_try" in
22375 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22376 *) ac_try_echo=$ac_try;;
22378 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22379 (eval "$ac_link") 2>conftest.er1
22381 grep -v '^
*+' conftest.er1 >conftest.err
22383 cat conftest.err >&5
22384 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22385 (exit $ac_status); } && {
22386 test -z "$ac_c_werror_flag" ||
22387 test ! -s conftest.err
22388 } && test -s conftest$ac_exeext &&
22389 $as_test_x conftest$ac_exeext; then
22390 wx_cv_func_va_copy=yes
22392 echo "$as_me: failed program was:" >&5
22393 sed 's
/^
/| /' conftest.$ac_ext >&5
22395 wx_cv_func_va_copy=no
22399 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
22400 conftest$ac_exeext conftest.$ac_ext
22404 { echo "$as_me:$LINENO: result: $wx_cv_func_va_copy" >&5
22405 echo "${ECHO_T}$wx_cv_func_va_copy" >&6; }
22407 if test $wx_cv_func_va_copy = "yes"; then
22408 cat >>confdefs.h <<\_ACEOF
22409 #define HAVE_VA_COPY 1
22413 { echo "$as_me:$LINENO: checking if va_list can be copied by value" >&5
22414 echo $ECHO_N "checking if va_list can be copied by value... $ECHO_C" >&6; }
22415 if test "${wx_cv_type_va_list_lvalue+set}" = set; then
22416 echo $ECHO_N "(cached) $ECHO_C" >&6
22419 if test "$cross_compiling" = yes; then
22420 wx_cv_type_va_list_lvalue=yes
22423 cat >conftest.$ac_ext <<_ACEOF
22425 #include <stdarg.h>
22426 int foo(char *f, ...)
22431 if ( va_arg(ap1, int) != 17 || va_arg(ap2, int) != 17 )
22439 return foo("hi", 17);
22442 rm -f conftest$ac_exeext
22443 if { (ac_try="$ac_link"
22444 case "(($ac_try" in
22445 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22446 *) ac_try_echo=$ac_try;;
22448 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22449 (eval "$ac_link") 2>&5
22451 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22452 (exit $ac_status); } && { ac_try='.
/conftest
$ac_exeext'
22453 { (case "(($ac_try" in
22454 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22455 *) ac_try_echo=$ac_try;;
22457 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22458 (eval "$ac_try") 2>&5
22460 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22461 (exit $ac_status); }; }; then
22462 wx_cv_type_va_list_lvalue=yes
22464 echo "$as_me: program exited with status $ac_status" >&5
22465 echo "$as_me: failed program was:" >&5
22466 sed 's
/^
/| /' conftest.$ac_ext >&5
22468 ( exit $ac_status )
22469 wx_cv_type_va_list_lvalue=no
22471 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22478 { echo "$as_me:$LINENO: result: $wx_cv_type_va_list_lvalue" >&5
22479 echo "${ECHO_T}$wx_cv_type_va_list_lvalue" >&6; }
22481 if test $wx_cv_type_va_list_lvalue != "yes"; then
22482 cat >>confdefs.h <<\_ACEOF
22483 #define VA_LIST_IS_ARRAY 1
22489 if test "$wxUSE_VARARG_MACROS" = "yes"; then
22491 { echo "$as_me:$LINENO: checking whether the compiler supports variadic macros" >&5
22492 echo $ECHO_N "checking whether the compiler supports variadic macros... $ECHO_C" >&6; }
22493 if test "${wx_cv_have_variadic_macros+set}" = set; then
22494 echo $ECHO_N "(cached) $ECHO_C" >&6
22498 ac_cpp='$CXXCPP $CPPFLAGS'
22499 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
22500 ac_link='$CXX -o conftest
$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
22501 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22503 cat >conftest.$ac_ext <<_ACEOF
22506 cat confdefs.h >>conftest.$ac_ext
22507 cat >>conftest.$ac_ext <<_ACEOF
22508 /* end confdefs.h. */
22511 #define test(fmt, ...) printf(fmt, __VA_ARGS__)
22517 test("%s %d %p", "test", 1, 0);
22524 rm -f conftest.$ac_objext
22525 if { (ac_try="$ac_compile"
22526 case "(($ac_try" in
22527 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22528 *) ac_try_echo=$ac_try;;
22530 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22531 (eval "$ac_compile") 2>conftest.er1
22533 grep -v '^
*+' conftest.er1 >conftest.err
22535 cat conftest.err >&5
22536 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22537 (exit $ac_status); } && {
22538 test -z "$ac_cxx_werror_flag" ||
22539 test ! -s conftest.err
22540 } && test -s conftest.$ac_objext; then
22541 wx_cv_have_variadic_macros=yes
22543 echo "$as_me: failed program was:" >&5
22544 sed 's
/^
/| /' conftest.$ac_ext >&5
22546 wx_cv_have_variadic_macros=no
22550 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22552 ac_cpp='$CPP $CPPFLAGS'
22553 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
22554 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
22555 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22560 { echo "$as_me:$LINENO: result: $wx_cv_have_variadic_macros" >&5
22561 echo "${ECHO_T}$wx_cv_have_variadic_macros" >&6; }
22563 if test $wx_cv_have_variadic_macros = "yes"; then
22564 cat >>confdefs.h <<\_ACEOF
22565 #define HAVE_VARIADIC_MACROS 1
22571 # Check whether --enable-largefile was given.
22572 if test "${enable_largefile+set}" = set; then
22573 enableval=$enable_largefile;
22576 if test "$enable_largefile" != no; then
22579 { echo "$as_me:$LINENO: checking for _FILE_OFFSET_BITS value needed for large files" >&5
22580 echo $ECHO_N "checking for _FILE_OFFSET_BITS value needed for large files... $ECHO_C" >&6; }
22581 if test "${ac_cv_sys_file_offset_bits+set}" = set; then
22582 echo $ECHO_N "(cached) $ECHO_C" >&6
22585 cat >conftest.$ac_ext <<_ACEOF
22588 cat confdefs.h >>conftest.$ac_ext
22589 cat >>conftest.$ac_ext <<_ACEOF
22590 /* end confdefs.h. */
22591 #define _FILE_OFFSET_BITS 64
22592 #include <sys/types.h>
22597 unsigned int field: sizeof(off_t) == 8;
22604 rm -f conftest.$ac_objext
22605 if { (ac_try="$ac_compile"
22606 case "(($ac_try" in
22607 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22608 *) ac_try_echo=$ac_try;;
22610 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22611 (eval "$ac_compile") 2>conftest.er1
22613 grep -v '^
*+' conftest.er1 >conftest.err
22615 cat conftest.err >&5
22616 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22617 (exit $ac_status); } && {
22618 test -z "$ac_c_werror_flag" ||
22619 test ! -s conftest.err
22620 } && test -s conftest.$ac_objext; then
22621 ac_cv_sys_file_offset_bits=64
22623 echo "$as_me: failed program was:" >&5
22624 sed 's
/^
/| /' conftest.$ac_ext >&5
22626 ac_cv_sys_file_offset_bits=no
22629 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22633 { echo "$as_me:$LINENO: result: $ac_cv_sys_file_offset_bits" >&5
22634 echo "${ECHO_T}$ac_cv_sys_file_offset_bits" >&6; }
22636 if test "$ac_cv_sys_file_offset_bits" != no; then
22638 cat >>confdefs.h <<_ACEOF
22639 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
22644 if test "x$wx_largefile" != "xyes"; then
22646 { echo "$as_me:$LINENO: checking for _LARGE_FILES value needed for large files" >&5
22647 echo $ECHO_N "checking for _LARGE_FILES value needed for large files... $ECHO_C" >&6; }
22648 if test "${ac_cv_sys_large_files+set}" = set; then
22649 echo $ECHO_N "(cached) $ECHO_C" >&6
22652 cat >conftest.$ac_ext <<_ACEOF
22655 cat confdefs.h >>conftest.$ac_ext
22656 cat >>conftest.$ac_ext <<_ACEOF
22657 /* end confdefs.h. */
22658 #define _LARGE_FILES 1
22659 #include <sys/types.h>
22664 unsigned int field: sizeof(off_t) == 8;
22671 rm -f conftest.$ac_objext
22672 if { (ac_try="$ac_compile"
22673 case "(($ac_try" in
22674 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22675 *) ac_try_echo=$ac_try;;
22677 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22678 (eval "$ac_compile") 2>conftest.er1
22680 grep -v '^
*+' conftest.er1 >conftest.err
22682 cat conftest.err >&5
22683 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22684 (exit $ac_status); } && {
22685 test -z "$ac_c_werror_flag" ||
22686 test ! -s conftest.err
22687 } && test -s conftest.$ac_objext; then
22688 ac_cv_sys_large_files=1
22690 echo "$as_me: failed program was:" >&5
22691 sed 's
/^
/| /' conftest.$ac_ext >&5
22693 ac_cv_sys_large_files=no
22696 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22700 { echo "$as_me:$LINENO: result: $ac_cv_sys_large_files" >&5
22701 echo "${ECHO_T}$ac_cv_sys_large_files" >&6; }
22703 if test "$ac_cv_sys_large_files" != no; then
22705 cat >>confdefs.h <<_ACEOF
22706 #define _LARGE_FILES $ac_cv_sys_large_files
22713 { echo "$as_me:$LINENO: checking if large file support is available" >&5
22714 echo $ECHO_N "checking if large file support is available... $ECHO_C" >&6; }
22715 if test "x$wx_largefile" = "xyes"; then
22716 cat >>confdefs.h <<\_ACEOF
22717 #define HAVE_LARGEFILE_SUPPORT 1
22721 { echo "$as_me:$LINENO: result: $wx_largefile" >&5
22722 echo "${ECHO_T}$wx_largefile" >&6; }
22726 if test "x$wx_largefile" = "xyes"; then
22727 if test "x$ac_cv_sys_file_offset_bits" = "x64"; then
22728 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES"
22730 if test "$USE_HPUX" = 1 -a "$GXX" = "yes"; then
22731 { echo "$as_me:$LINENO: checking if -D__STDC_EXT__ is required" >&5
22732 echo $ECHO_N "checking if -D__STDC_EXT__ is required... $ECHO_C" >&6; }
22733 if test "${wx_cv_STDC_EXT_required+set}" = set; then
22734 echo $ECHO_N "(cached) $ECHO_C" >&6
22738 ac_cpp='$CXXCPP $CPPFLAGS'
22739 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
22740 ac_link='$CXX -o conftest
$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
22741 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22743 cat >conftest.$ac_ext <<_ACEOF
22746 cat confdefs.h >>conftest.$ac_ext
22747 cat >>conftest.$ac_ext <<_ACEOF
22748 /* end confdefs.h. */
22754 #ifndef __STDC_EXT__
22762 rm -f conftest.$ac_objext
22763 if { (ac_try="$ac_compile"
22764 case "(($ac_try" in
22765 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22766 *) ac_try_echo=$ac_try;;
22768 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22769 (eval "$ac_compile") 2>conftest.er1
22771 grep -v '^
*+' conftest.er1 >conftest.err
22773 cat conftest.err >&5
22774 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22775 (exit $ac_status); } && {
22776 test -z "$ac_cxx_werror_flag" ||
22777 test ! -s conftest.err
22778 } && test -s conftest.$ac_objext; then
22779 wx_cv_STDC_EXT_required=no
22781 echo "$as_me: failed program was:" >&5
22782 sed 's
/^
/| /' conftest.$ac_ext >&5
22784 wx_cv_STDC_EXT_required=yes
22788 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22790 ac_cpp='$CPP $CPPFLAGS'
22791 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
22792 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
22793 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22798 { echo "$as_me:$LINENO: result: $wx_cv_STDC_EXT_required" >&5
22799 echo "${ECHO_T}$wx_cv_STDC_EXT_required" >&6; }
22800 if test "x$wx_cv_STDC_EXT_required" = "xyes"; then
22801 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -D__STDC_EXT__"
22805 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_LARGE_FILES"
22807 { echo "$as_me:$LINENO: checking for _LARGEFILE_SOURCE value needed for large files" >&5
22808 echo $ECHO_N "checking for _LARGEFILE_SOURCE value needed for large files... $ECHO_C" >&6; }
22809 if test "${ac_cv_sys_largefile_source+set}" = set; then
22810 echo $ECHO_N "(cached) $ECHO_C" >&6
22813 cat >conftest.$ac_ext <<_ACEOF
22816 cat confdefs.h >>conftest.$ac_ext
22817 cat >>conftest.$ac_ext <<_ACEOF
22818 /* end confdefs.h. */
22823 return fseeko (stdin, 0, 0) && (fseeko) (stdin, 0, 0);
22828 rm -f conftest.$ac_objext conftest$ac_exeext
22829 if { (ac_try="$ac_link"
22830 case "(($ac_try" in
22831 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22832 *) ac_try_echo=$ac_try;;
22834 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22835 (eval "$ac_link") 2>conftest.er1
22837 grep -v '^
*+' conftest.er1 >conftest.err
22839 cat conftest.err >&5
22840 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22841 (exit $ac_status); } && {
22842 test -z "$ac_c_werror_flag" ||
22843 test ! -s conftest.err
22844 } && test -s conftest$ac_exeext &&
22845 $as_test_x conftest$ac_exeext; then
22846 ac_cv_sys_largefile_source=no; break
22848 echo "$as_me: failed program was:" >&5
22849 sed 's
/^
/| /' conftest.$ac_ext >&5
22854 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
22855 conftest$ac_exeext conftest.$ac_ext
22856 cat >conftest.$ac_ext <<_ACEOF
22859 cat confdefs.h >>conftest.$ac_ext
22860 cat >>conftest.$ac_ext <<_ACEOF
22861 /* end confdefs.h. */
22862 #define _LARGEFILE_SOURCE 1
22867 return fseeko (stdin, 0, 0) && (fseeko) (stdin, 0, 0);
22872 rm -f conftest.$ac_objext conftest$ac_exeext
22873 if { (ac_try="$ac_link"
22874 case "(($ac_try" in
22875 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22876 *) ac_try_echo=$ac_try;;
22878 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22879 (eval "$ac_link") 2>conftest.er1
22881 grep -v '^
*+' conftest.er1 >conftest.err
22883 cat conftest.err >&5
22884 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22885 (exit $ac_status); } && {
22886 test -z "$ac_c_werror_flag" ||
22887 test ! -s conftest.err
22888 } && test -s conftest$ac_exeext &&
22889 $as_test_x conftest$ac_exeext; then
22890 ac_cv_sys_largefile_source=1; break
22892 echo "$as_me: failed program was:" >&5
22893 sed 's
/^
/| /' conftest.$ac_ext >&5
22898 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
22899 conftest$ac_exeext conftest.$ac_ext
22900 ac_cv_sys_largefile_source=unknown
22904 { echo "$as_me:$LINENO: result: $ac_cv_sys_largefile_source" >&5
22905 echo "${ECHO_T}$ac_cv_sys_largefile_source" >&6; }
22906 case $ac_cv_sys_largefile_source in #(
22909 cat >>confdefs.h <<_ACEOF
22910 #define _LARGEFILE_SOURCE $ac_cv_sys_largefile_source
22916 # We used to try defining _XOPEN_SOURCE=500 too, to work around a bug
22917 # in glibc 2.1.3, but that breaks too many other things.
22918 # If you want fseeko and ftello with glibc, upgrade to a fixed glibc.
22919 if test $ac_cv_sys_largefile_source != unknown; then
22921 cat >>confdefs.h <<\_ACEOF
22922 #define HAVE_FSEEKO 1
22927 if test "$ac_cv_sys_largefile_source" != no; then
22928 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_LARGEFILE_SOURCE=$ac_cv_sys_largefile_source"
22932 { echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
22933 echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6; }
22934 if test "${ac_cv_c_bigendian+set}" = set; then
22935 echo $ECHO_N "(cached) $ECHO_C" >&6
22937 ac_cv_c_bigendian=unknown
22938 # See if sys/param.h defines the BYTE_ORDER macro.
22939 cat >conftest.$ac_ext <<_ACEOF
22942 cat confdefs.h >>conftest.$ac_ext
22943 cat >>conftest.$ac_ext <<_ACEOF
22944 /* end confdefs.h. */
22945 #include <sys/types.h>
22946 #include <sys/param.h>
22951 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
22952 bogus endian macros
22958 rm -f conftest.$ac_objext
22959 if { (ac_try="$ac_compile"
22960 case "(($ac_try" in
22961 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22962 *) ac_try_echo=$ac_try;;
22964 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22965 (eval "$ac_compile") 2>conftest.er1
22967 grep -v '^
*+' conftest.er1 >conftest.err
22969 cat conftest.err >&5
22970 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22971 (exit $ac_status); } && {
22972 test -z "$ac_c_werror_flag" ||
22973 test ! -s conftest.err
22974 } && test -s conftest.$ac_objext; then
22975 # It does; now see whether it defined to BIG_ENDIAN or not.
22976 cat >conftest.$ac_ext <<_ACEOF
22979 cat confdefs.h >>conftest.$ac_ext
22980 cat >>conftest.$ac_ext <<_ACEOF
22981 /* end confdefs.h. */
22982 #include <sys/types.h>
22983 #include <sys/param.h>
22988 #if BYTE_ORDER != BIG_ENDIAN
22995 rm -f conftest.$ac_objext
22996 if { (ac_try="$ac_compile"
22997 case "(($ac_try" in
22998 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22999 *) ac_try_echo=$ac_try;;
23001 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23002 (eval "$ac_compile") 2>conftest.er1
23004 grep -v '^
*+' conftest.er1 >conftest.err
23006 cat conftest.err >&5
23007 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23008 (exit $ac_status); } && {
23009 test -z "$ac_c_werror_flag" ||
23010 test ! -s conftest.err
23011 } && test -s conftest.$ac_objext; then
23012 ac_cv_c_bigendian=yes
23014 echo "$as_me: failed program was:" >&5
23015 sed 's
/^
/| /' conftest.$ac_ext >&5
23017 ac_cv_c_bigendian=no
23020 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23022 echo "$as_me: failed program was:" >&5
23023 sed 's
/^
/| /' conftest.$ac_ext >&5
23028 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23029 if test $ac_cv_c_bigendian = unknown; then
23030 if test "$cross_compiling" = yes; then
23031 ac_cv_c_bigendian=unknown
23033 cat >conftest.$ac_ext <<_ACEOF
23036 cat confdefs.h >>conftest.$ac_ext
23037 cat >>conftest.$ac_ext <<_ACEOF
23038 /* end confdefs.h. */
23040 /* Are we little or big endian? From Harbison&Steele. */
23044 char c[sizeof (long)];
23047 exit (u.c[sizeof (long) - 1] == 1);
23050 rm -f conftest$ac_exeext
23051 if { (ac_try="$ac_link"
23052 case "(($ac_try" in
23053 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23054 *) ac_try_echo=$ac_try;;
23056 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23057 (eval "$ac_link") 2>&5
23059 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23060 (exit $ac_status); } && { ac_try='.
/conftest
$ac_exeext'
23061 { (case "(($ac_try" in
23062 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23063 *) ac_try_echo=$ac_try;;
23065 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23066 (eval "$ac_try") 2>&5
23068 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23069 (exit $ac_status); }; }; then
23070 ac_cv_c_bigendian=no
23072 echo "$as_me: program exited with status $ac_status" >&5
23073 echo "$as_me: failed program was:" >&5
23074 sed 's
/^
/| /' conftest.$ac_ext >&5
23076 ( exit $ac_status )
23077 ac_cv_c_bigendian=yes
23079 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
23085 { echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
23086 echo "${ECHO_T}$ac_cv_c_bigendian" >&6; }
23087 if test $ac_cv_c_bigendian = unknown; then
23088 { 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
23089 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;}
23091 if test $ac_cv_c_bigendian = yes; then
23092 cat >>confdefs.h <<\_ACEOF
23093 #define WORDS_BIGENDIAN 1
23102 ac_cpp='$CXXCPP $CPPFLAGS'
23103 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
23104 ac_link='$CXX -o conftest
$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
23105 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23108 { echo "$as_me:$LINENO: checking for iostream" >&5
23109 echo $ECHO_N "checking for iostream... $ECHO_C" >&6; }
23110 if test "${ac_cv_header_iostream+set}" = set; then
23111 echo $ECHO_N "(cached) $ECHO_C" >&6
23113 cat >conftest.$ac_ext <<_ACEOF
23116 cat confdefs.h >>conftest.$ac_ext
23117 cat >>conftest.$ac_ext <<_ACEOF
23118 /* end confdefs.h. */
23121 #include <iostream>
23123 rm -f conftest.$ac_objext
23124 if { (ac_try="$ac_compile"
23125 case "(($ac_try" in
23126 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23127 *) ac_try_echo=$ac_try;;
23129 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23130 (eval "$ac_compile") 2>conftest.er1
23132 grep -v '^
*+' conftest.er1 >conftest.err
23134 cat conftest.err >&5
23135 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23136 (exit $ac_status); } && {
23137 test -z "$ac_cxx_werror_flag" ||
23138 test ! -s conftest.err
23139 } && test -s conftest.$ac_objext; then
23140 ac_cv_header_iostream=yes
23142 echo "$as_me: failed program was:" >&5
23143 sed 's
/^
/| /' conftest.$ac_ext >&5
23145 ac_cv_header_iostream=no
23148 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23150 { echo "$as_me:$LINENO: result: $ac_cv_header_iostream" >&5
23151 echo "${ECHO_T}$ac_cv_header_iostream" >&6; }
23155 if test "$ac_cv_header_iostream" = "yes" ; then
23158 cat >>confdefs.h <<\_ACEOF
23159 #define wxUSE_IOSTREAMH 1
23165 ac_cpp='$CPP $CPPFLAGS'
23166 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
23167 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
23168 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23173 { echo "$as_me:$LINENO: checking if C++ compiler supports bool" >&5
23174 echo $ECHO_N "checking if C++ compiler supports bool... $ECHO_C" >&6; }
23175 if test "${wx_cv_cpp_bool+set}" = set; then
23176 echo $ECHO_N "(cached) $ECHO_C" >&6
23181 ac_cpp='$CXXCPP $CPPFLAGS'
23182 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
23183 ac_link='$CXX -o conftest
$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
23184 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23187 cat >conftest.$ac_ext <<_ACEOF
23190 cat confdefs.h >>conftest.$ac_ext
23191 cat >>conftest.$ac_ext <<_ACEOF
23192 /* end confdefs.h. */
23207 rm -f conftest.$ac_objext
23208 if { (ac_try="$ac_compile"
23209 case "(($ac_try" in
23210 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23211 *) ac_try_echo=$ac_try;;
23213 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23214 (eval "$ac_compile") 2>conftest.er1
23216 grep -v '^
*+' conftest.er1 >conftest.err
23218 cat conftest.err >&5
23219 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23220 (exit $ac_status); } && {
23221 test -z "$ac_cxx_werror_flag" ||
23222 test ! -s conftest.err
23223 } && test -s conftest.$ac_objext; then
23228 echo "$as_me: failed program was:" >&5
23229 sed 's
/^
/| /' conftest.$ac_ext >&5
23237 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23240 ac_cpp='$CPP $CPPFLAGS'
23241 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
23242 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
23243 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23247 { echo "$as_me:$LINENO: result: $wx_cv_cpp_bool" >&5
23248 echo "${ECHO_T}$wx_cv_cpp_bool" >&6; }
23250 if test "$wx_cv_cpp_bool" = "yes"; then
23251 cat >>confdefs.h <<\_ACEOF
23252 #define HAVE_BOOL 1
23259 { echo "$as_me:$LINENO: checking if C++ compiler supports the explicit keyword" >&5
23260 echo $ECHO_N "checking if C++ compiler supports the explicit keyword... $ECHO_C" >&6; }
23261 if test "${wx_cv_explicit+set}" = set; then
23262 echo $ECHO_N "(cached) $ECHO_C" >&6
23267 ac_cpp='$CXXCPP $CPPFLAGS'
23268 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
23269 ac_link='$CXX -o conftest
$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
23270 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23273 cat >conftest.$ac_ext <<_ACEOF
23276 cat confdefs.h >>conftest.$ac_ext
23277 cat >>conftest.$ac_ext <<_ACEOF
23278 /* end confdefs.h. */
23280 class Foo { public: explicit Foo(int) {} };
23292 rm -f conftest.$ac_objext
23293 if { (ac_try="$ac_compile"
23294 case "(($ac_try" in
23295 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23296 *) ac_try_echo=$ac_try;;
23298 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23299 (eval "$ac_compile") 2>conftest.er1
23301 grep -v '^
*+' conftest.er1 >conftest.err
23303 cat conftest.err >&5
23304 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23305 (exit $ac_status); } && {
23306 test -z "$ac_cxx_werror_flag" ||
23307 test ! -s conftest.err
23308 } && test -s conftest.$ac_objext; then
23310 cat >conftest.$ac_ext <<_ACEOF
23313 cat confdefs.h >>conftest.$ac_ext
23314 cat >>conftest.$ac_ext <<_ACEOF
23315 /* end confdefs.h. */
23317 class Foo { public: explicit Foo(int) {} };
23318 static void TakeFoo(const Foo& foo) { }
23331 rm -f conftest.$ac_objext
23332 if { (ac_try="$ac_compile"
23333 case "(($ac_try" in
23334 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23335 *) ac_try_echo=$ac_try;;
23337 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23338 (eval "$ac_compile") 2>conftest.er1
23340 grep -v '^
*+' conftest.er1 >conftest.err
23342 cat conftest.err >&5
23343 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23344 (exit $ac_status); } && {
23345 test -z "$ac_cxx_werror_flag" ||
23346 test ! -s conftest.err
23347 } && test -s conftest.$ac_objext; then
23350 echo "$as_me: failed program was:" >&5
23351 sed 's
/^
/| /' conftest.$ac_ext >&5
23357 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23360 echo "$as_me: failed program was:" >&5
23361 sed 's
/^
/| /' conftest.$ac_ext >&5
23367 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23370 ac_cpp='$CPP $CPPFLAGS'
23371 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
23372 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
23373 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23377 { echo "$as_me:$LINENO: result: $wx_cv_explicit" >&5
23378 echo "${ECHO_T}$wx_cv_explicit" >&6; }
23380 if test "$wx_cv_explicit" = "yes"; then
23381 cat >>confdefs.h <<\_ACEOF
23382 #define HAVE_EXPLICIT 1
23388 { echo "$as_me:$LINENO: checking whether the compiler supports const_cast<>" >&5
23389 echo $ECHO_N "checking whether the compiler supports const_cast<>... $ECHO_C" >&6; }
23390 if test "${ac_cv_cxx_const_cast+set}" = set; then
23391 echo $ECHO_N "(cached) $ECHO_C" >&6
23395 ac_cpp='$CXXCPP $CPPFLAGS'
23396 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
23397 ac_link='$CXX -o conftest
$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
23398 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23400 cat >conftest.$ac_ext <<_ACEOF
23403 cat confdefs.h >>conftest.$ac_ext
23404 cat >>conftest.$ac_ext <<_ACEOF
23405 /* end confdefs.h. */
23410 int x = 0;const int& y = x;int& z = const_cast<int&>(y);return z;
23415 rm -f conftest.$ac_objext
23416 if { (ac_try="$ac_compile"
23417 case "(($ac_try" in
23418 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23419 *) ac_try_echo=$ac_try;;
23421 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23422 (eval "$ac_compile") 2>conftest.er1
23424 grep -v '^
*+' conftest.er1 >conftest.err
23426 cat conftest.err >&5
23427 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23428 (exit $ac_status); } && {
23429 test -z "$ac_cxx_werror_flag" ||
23430 test ! -s conftest.err
23431 } && test -s conftest.$ac_objext; then
23432 ac_cv_cxx_const_cast=yes
23434 echo "$as_me: failed program was:" >&5
23435 sed 's
/^
/| /' conftest.$ac_ext >&5
23437 ac_cv_cxx_const_cast=no
23440 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23442 ac_cpp='$CPP $CPPFLAGS'
23443 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
23444 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
23445 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23449 { echo "$as_me:$LINENO: result: $ac_cv_cxx_const_cast" >&5
23450 echo "${ECHO_T}$ac_cv_cxx_const_cast" >&6; }
23451 if test "$ac_cv_cxx_const_cast" = yes; then
23453 cat >>confdefs.h <<\_ACEOF
23454 #define HAVE_CONST_CAST
23459 { echo "$as_me:$LINENO: checking whether the compiler supports reinterpret_cast<>" >&5
23460 echo $ECHO_N "checking whether the compiler supports reinterpret_cast<>... $ECHO_C" >&6; }
23461 if test "${ac_cv_cxx_reinterpret_cast+set}" = set; then
23462 echo $ECHO_N "(cached) $ECHO_C" >&6
23466 ac_cpp='$CXXCPP $CPPFLAGS'
23467 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
23468 ac_link='$CXX -o conftest
$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
23469 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23471 cat >conftest.$ac_ext <<_ACEOF
23474 cat confdefs.h >>conftest.$ac_ext
23475 cat >>conftest.$ac_ext <<_ACEOF
23476 /* end confdefs.h. */
23477 #include <typeinfo>
23478 class Base { public : Base () {} virtual void f () = 0;};
23479 class Derived : public Base { public : Derived () {} virtual void f () {} };
23480 class Unrelated { public : Unrelated () {} };
23481 int g (Unrelated&) { return 0; }
23486 Derived d;Base& b=d;Unrelated& e=reinterpret_cast<Unrelated&>(b);return g(e);
23491 rm -f conftest.$ac_objext
23492 if { (ac_try="$ac_compile"
23493 case "(($ac_try" in
23494 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23495 *) ac_try_echo=$ac_try;;
23497 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23498 (eval "$ac_compile") 2>conftest.er1
23500 grep -v '^
*+' conftest.er1 >conftest.err
23502 cat conftest.err >&5
23503 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23504 (exit $ac_status); } && {
23505 test -z "$ac_cxx_werror_flag" ||
23506 test ! -s conftest.err
23507 } && test -s conftest.$ac_objext; then
23508 ac_cv_cxx_reinterpret_cast=yes
23510 echo "$as_me: failed program was:" >&5
23511 sed 's
/^
/| /' conftest.$ac_ext >&5
23513 ac_cv_cxx_reinterpret_cast=no
23516 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23518 ac_cpp='$CPP $CPPFLAGS'
23519 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
23520 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
23521 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23525 { echo "$as_me:$LINENO: result: $ac_cv_cxx_reinterpret_cast" >&5
23526 echo "${ECHO_T}$ac_cv_cxx_reinterpret_cast" >&6; }
23527 if test "$ac_cv_cxx_reinterpret_cast" = yes; then
23529 cat >>confdefs.h <<\_ACEOF
23530 #define HAVE_REINTERPRET_CAST
23535 { echo "$as_me:$LINENO: checking whether the compiler supports static_cast<>" >&5
23536 echo $ECHO_N "checking whether the compiler supports static_cast<>... $ECHO_C" >&6; }
23537 if test "${ac_cv_cxx_static_cast+set}" = set; then
23538 echo $ECHO_N "(cached) $ECHO_C" >&6
23542 ac_cpp='$CXXCPP $CPPFLAGS'
23543 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
23544 ac_link='$CXX -o conftest
$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
23545 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23547 cat >conftest.$ac_ext <<_ACEOF
23550 cat confdefs.h >>conftest.$ac_ext
23551 cat >>conftest.$ac_ext <<_ACEOF
23552 /* end confdefs.h. */
23553 #include <typeinfo>
23554 class Base { public : Base () {} virtual void f () = 0; };
23555 class Derived : public Base { public : Derived () {} virtual void f () {} };
23556 int g (Derived&) { return 0; }
23561 Derived d; Base& b = d; Derived& s = static_cast<Derived&> (b); return g (s);
23566 rm -f conftest.$ac_objext
23567 if { (ac_try="$ac_compile"
23568 case "(($ac_try" in
23569 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23570 *) ac_try_echo=$ac_try;;
23572 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23573 (eval "$ac_compile") 2>conftest.er1
23575 grep -v '^
*+' conftest.er1 >conftest.err
23577 cat conftest.err >&5
23578 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23579 (exit $ac_status); } && {
23580 test -z "$ac_cxx_werror_flag" ||
23581 test ! -s conftest.err
23582 } && test -s conftest.$ac_objext; then
23583 ac_cv_cxx_static_cast=yes
23585 echo "$as_me: failed program was:" >&5
23586 sed 's
/^
/| /' conftest.$ac_ext >&5
23588 ac_cv_cxx_static_cast=no
23591 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23593 ac_cpp='$CPP $CPPFLAGS'
23594 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
23595 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
23596 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23600 { echo "$as_me:$LINENO: result: $ac_cv_cxx_static_cast" >&5
23601 echo "${ECHO_T}$ac_cv_cxx_static_cast" >&6; }
23602 if test "$ac_cv_cxx_static_cast" = yes; then
23604 cat >>confdefs.h <<\_ACEOF
23605 #define HAVE_STATIC_CAST
23611 if test "x$SUNCXX" = xyes; then
23612 CXXFLAGS="-features=tmplife $CXXFLAGS"
23615 if test "x$SUNCC" = xyes; then
23616 CFLAGS="-erroff=E_NO_EXPLICIT_TYPE_GIVEN $CFLAGS"
23619 if test "x$SGICC" = "xyes"; then
23620 CFLAGS="-woff 3970 $CFLAGS"
23622 if test "x$SGICXX" = "xyes"; then
23623 CXXFLAGS="-woff 3970 $CXXFLAGS"
23626 if test "x$HPCC" = "xyes"; then
23627 CFLAGS="+W 2011,2450 $CFLAGS"
23629 if test "x$HPCXX" = "xyes"; then
23630 CXXFLAGS="+W 2340 $CXXFLAGS"
23633 if test "x$COMPAQCXX" = "xyes"; then
23634 CXXFLAGS="-w0 -msg_disable basclsnondto,unrimpret,intconlosbit"
23638 ac_cpp='$CXXCPP $CPPFLAGS'
23639 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
23640 ac_link='$CXX -o conftest
$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
23641 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23644 if test "$wxUSE_STD_STRING" = "yes" -o "$wxUSE_STL" = "yes"; then
23645 if test "$wxUSE_UNICODE" = "yes"; then
23646 std_string="std::wstring"
23647 char_type="wchar_t"
23649 std_string="std::string"
23653 { echo "$as_me:$LINENO: checking for $std_string in <string>" >&5
23654 echo $ECHO_N "checking for $std_string in <string>... $ECHO_C" >&6; }
23655 if test "${wx_cv_class_stdstring+set}" = set; then
23656 echo $ECHO_N "(cached) $ECHO_C" >&6
23659 cat >conftest.$ac_ext <<_ACEOF
23662 cat confdefs.h >>conftest.$ac_ext
23663 cat >>conftest.$ac_ext <<_ACEOF
23664 /* end confdefs.h. */
23674 rm -f conftest.$ac_objext
23675 if { (ac_try="$ac_compile"
23676 case "(($ac_try" in
23677 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23678 *) ac_try_echo=$ac_try;;
23680 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23681 (eval "$ac_compile") 2>conftest.er1
23683 grep -v '^
*+' conftest.er1 >conftest.err
23685 cat conftest.err >&5
23686 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23687 (exit $ac_status); } && {
23688 test -z "$ac_cxx_werror_flag" ||
23689 test ! -s conftest.err
23690 } && test -s conftest.$ac_objext; then
23691 wx_cv_class_stdstring=yes
23693 echo "$as_me: failed program was:" >&5
23694 sed 's
/^
/| /' conftest.$ac_ext >&5
23696 wx_cv_class_stdstring=no
23700 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23704 { echo "$as_me:$LINENO: result: $wx_cv_class_stdstring" >&5
23705 echo "${ECHO_T}$wx_cv_class_stdstring" >&6; }
23707 if test "$wx_cv_class_stdstring" = yes; then
23708 if test "$wxUSE_UNICODE" = "yes"; then
23709 cat >>confdefs.h <<\_ACEOF
23710 #define HAVE_STD_WSTRING 1
23715 { echo "$as_me:$LINENO: checking if std::basic_string<$char_type> works" >&5
23716 echo $ECHO_N "checking if std::basic_string<$char_type> works... $ECHO_C" >&6; }
23717 if test "${wx_cv_class_stdbasicstring+set}" = set; then
23718 echo $ECHO_N "(cached) $ECHO_C" >&6
23721 cat >conftest.$ac_ext <<_ACEOF
23724 cat confdefs.h >>conftest.$ac_ext
23725 cat >>conftest.$ac_ext <<_ACEOF
23726 /* end confdefs.h. */
23728 #ifdef HAVE_WCHAR_H
23730 # include <stddef.h>
23732 # include <wchar.h>
23734 #ifdef HAVE_STDLIB_H
23735 # include <stdlib.h>
23743 std::basic_string<$char_type> foo;
23744 const $char_type* dummy = foo.c_str();
23749 rm -f conftest.$ac_objext
23750 if { (ac_try="$ac_compile"
23751 case "(($ac_try" in
23752 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23753 *) ac_try_echo=$ac_try;;
23755 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23756 (eval "$ac_compile") 2>conftest.er1
23758 grep -v '^
*+' conftest.er1 >conftest.err
23760 cat conftest.err >&5
23761 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23762 (exit $ac_status); } && {
23763 test -z "$ac_cxx_werror_flag" ||
23764 test ! -s conftest.err
23765 } && test -s conftest.$ac_objext; then
23766 wx_cv_class_stdbasicstring=yes
23768 echo "$as_me: failed program was:" >&5
23769 sed 's
/^
/| /' conftest.$ac_ext >&5
23771 wx_cv_class_stdbasicstring=no
23775 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23779 { echo "$as_me:$LINENO: result: $wx_cv_class_stdbasicstring" >&5
23780 echo "${ECHO_T}$wx_cv_class_stdbasicstring" >&6; }
23782 if test "$wx_cv_class_stdbasicstring" != yes; then
23783 if test "$wxUSE_STL" = "yes"; then
23784 { { echo "$as_me:$LINENO: error: Can't use
--enable-stl without
$std_string or std
::basic_string
<$char_type>" >&5
23785 echo "$as_me: error
: Can
't use --enable-stl without $std_string or std::basic_string<$char_type>" >&2;}
23786 { (exit 1); exit 1; }; }
23787 elif grep wxUSE_STD_STRING $wx_arg_cache_file >/dev/null; then
23788 { { echo "$as_me:$LINENO: error: Can't use
--enable-std_string without
$std_string or std
::basic_string
<$char_type>" >&5
23789 echo "$as_me: error
: Can
't use --enable-std_string without $std_string or std::basic_string<$char_type>" >&2;}
23790 { (exit 1); exit 1; }; }
23792 { echo "$as_me:$LINENO: WARNING: No $std_string or std::basic_string<$char_type>, switching to --disable-std_string" >&5
23793 echo "$as_me: WARNING: No $std_string or std::basic_string<$char_type>, switching to --disable-std_string" >&2;}
23794 wxUSE_STD_STRING=no
23800 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
23801 { echo "$as_me:$LINENO: checking for std::istream" >&5
23802 echo $ECHO_N "checking for std::istream... $ECHO_C" >&6; }
23803 if test "${ac_cv_type_std__istream+set}" = set; then
23804 echo $ECHO_N "(cached) $ECHO_C" >&6
23806 cat >conftest.$ac_ext <<_ACEOF
23809 cat confdefs.h >>conftest.$ac_ext
23810 cat >>conftest.$ac_ext <<_ACEOF
23811 /* end confdefs.h. */
23812 #include <iostream>
23814 typedef std::istream ac__type_new_;
23818 if ((ac__type_new_ *) 0)
23820 if (sizeof (ac__type_new_))
23826 rm -f conftest.$ac_objext
23827 if { (ac_try="$ac_compile"
23828 case "(($ac_try" in
23829 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23830 *) ac_try_echo=$ac_try;;
23832 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23833 (eval "$ac_compile") 2>conftest.er1
23835 grep -v '^
*+' conftest.er1 >conftest.err
23837 cat conftest.err >&5
23838 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23839 (exit $ac_status); } && {
23840 test -z "$ac_cxx_werror_flag" ||
23841 test ! -s conftest.err
23842 } && test -s conftest.$ac_objext; then
23843 ac_cv_type_std__istream=yes
23845 echo "$as_me: failed program was:" >&5
23846 sed 's
/^
/| /' conftest.$ac_ext >&5
23848 ac_cv_type_std__istream=no
23851 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23853 { echo "$as_me:$LINENO: result: $ac_cv_type_std__istream" >&5
23854 echo "${ECHO_T}$ac_cv_type_std__istream" >&6; }
23855 if test $ac_cv_type_std__istream = yes; then
23857 cat >>confdefs.h <<_ACEOF
23858 #define HAVE_STD__ISTREAM 1
23863 wxUSE_STD_IOSTREAM=no
23865 { echo "$as_me:$LINENO: checking for std::ostream" >&5
23866 echo $ECHO_N "checking for std::ostream... $ECHO_C" >&6; }
23867 if test "${ac_cv_type_std__ostream+set}" = set; then
23868 echo $ECHO_N "(cached) $ECHO_C" >&6
23870 cat >conftest.$ac_ext <<_ACEOF
23873 cat confdefs.h >>conftest.$ac_ext
23874 cat >>conftest.$ac_ext <<_ACEOF
23875 /* end confdefs.h. */
23876 #include <iostream>
23878 typedef std::ostream ac__type_new_;
23882 if ((ac__type_new_ *) 0)
23884 if (sizeof (ac__type_new_))
23890 rm -f conftest.$ac_objext
23891 if { (ac_try="$ac_compile"
23892 case "(($ac_try" in
23893 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23894 *) ac_try_echo=$ac_try;;
23896 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23897 (eval "$ac_compile") 2>conftest.er1
23899 grep -v '^
*+' conftest.er1 >conftest.err
23901 cat conftest.err >&5
23902 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23903 (exit $ac_status); } && {
23904 test -z "$ac_cxx_werror_flag" ||
23905 test ! -s conftest.err
23906 } && test -s conftest.$ac_objext; then
23907 ac_cv_type_std__ostream=yes
23909 echo "$as_me: failed program was:" >&5
23910 sed 's
/^
/| /' conftest.$ac_ext >&5
23912 ac_cv_type_std__ostream=no
23915 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23917 { echo "$as_me:$LINENO: result: $ac_cv_type_std__ostream" >&5
23918 echo "${ECHO_T}$ac_cv_type_std__ostream" >&6; }
23919 if test $ac_cv_type_std__ostream = yes; then
23921 cat >>confdefs.h <<_ACEOF
23922 #define HAVE_STD__OSTREAM 1
23927 wxUSE_STD_IOSTREAM=no
23931 if test "$wxUSE_STD_IOSTREAM" != "yes"; then
23932 if grep wxUSE_STD_IOSTREAM $wx_arg_cache_file >/dev/null; then
23933 { { echo "$as_me:$LINENO: error: Can't use
--enable-std_iostreams without std
::istream and std
::ostream
" >&5
23934 echo "$as_me: error
: Can
't use --enable-std_iostreams without std::istream and std::ostream" >&2;}
23935 { (exit 1); exit 1; }; }
23937 { echo "$as_me:$LINENO: WARNING: No std::iostreams, switching to --disable-std_iostreams" >&5
23938 echo "$as_me: WARNING: No std::iostreams, switching to --disable-std_iostreams" >&2;}
23943 if test "$wxUSE_STL" = "yes"; then
23944 { echo "$as_me:$LINENO: checking for basic STL functionality" >&5
23945 echo $ECHO_N "checking for basic STL functionality... $ECHO_C" >&6; }
23946 if test "${wx_cv_lib_stl+set}" = set; then
23947 echo $ECHO_N "(cached) $ECHO_C" >&6
23949 cat >conftest.$ac_ext <<_ACEOF
23952 cat confdefs.h >>conftest.$ac_ext
23953 cat >>conftest.$ac_ext <<_ACEOF
23954 /* end confdefs.h. */
23956 #include <functional>
23957 #include <algorithm>
23963 std::vector<int> moo;
23964 std::list<int> foo;
23965 std::vector<int>::iterator it =
23966 std::find_if(moo.begin(), moo.end(),
23967 std::bind2nd(std::less<int>(), 3));
23972 rm -f conftest.$ac_objext
23973 if { (ac_try="$ac_compile"
23974 case "(($ac_try" in
23975 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23976 *) ac_try_echo=$ac_try;;
23978 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23979 (eval "$ac_compile") 2>conftest.er1
23981 grep -v '^
*+' conftest.er1 >conftest.err
23983 cat conftest.err >&5
23984 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23985 (exit $ac_status); } && {
23986 test -z "$ac_cxx_werror_flag" ||
23987 test ! -s conftest.err
23988 } && test -s conftest.$ac_objext; then
23991 echo "$as_me: failed program was:" >&5
23992 sed 's
/^
/| /' conftest.$ac_ext >&5
23998 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24001 { echo "$as_me:$LINENO: result: $wx_cv_lib_stl" >&5
24002 echo "${ECHO_T}$wx_cv_lib_stl" >&6; }
24004 if test "$wx_cv_lib_stl" != yes; then
24005 { { echo "$as_me:$LINENO: error: Can't use
--enable-stl as basic STL functionality is missing
" >&5
24006 echo "$as_me: error
: Can
't use --enable-stl as basic STL functionality is missing" >&2;}
24007 { (exit 1); exit 1; }; }
24010 { echo "$as_me:$LINENO: checking for compliant std::string::compare" >&5
24011 echo $ECHO_N "checking for compliant std::string::compare... $ECHO_C" >&6; }
24012 if test "${wx_cv_func_stdstring_compare+set}" = set; then
24013 echo $ECHO_N "(cached) $ECHO_C" >&6
24015 cat >conftest.$ac_ext <<_ACEOF
24018 cat confdefs.h >>conftest.$ac_ext
24019 cat >>conftest.$ac_ext <<_ACEOF
24020 /* end confdefs.h. */
24025 std::string foo, bar;
24027 foo.compare(1, 1, bar);
24028 foo.compare(1, 1, bar, 1, 1);
24030 foo.compare(1, 1, "");
24031 foo.compare(1, 1, "", 2);
24036 rm -f conftest.$ac_objext
24037 if { (ac_try="$ac_compile"
24038 case "(($ac_try" in
24039 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24040 *) ac_try_echo=$ac_try;;
24042 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24043 (eval "$ac_compile") 2>conftest.er1
24045 grep -v '^
*+' conftest.er1 >conftest.err
24047 cat conftest.err >&5
24048 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24049 (exit $ac_status); } && {
24050 test -z "$ac_cxx_werror_flag" ||
24051 test ! -s conftest.err
24052 } && test -s conftest.$ac_objext; then
24053 wx_cv_func_stdstring_compare=yes
24055 echo "$as_me: failed program was:" >&5
24056 sed 's
/^
/| /' conftest.$ac_ext >&5
24058 wx_cv_func_stdstring_compare=no
24062 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24065 { echo "$as_me:$LINENO: result: $wx_cv_func_stdstring_compare" >&5
24066 echo "${ECHO_T}$wx_cv_func_stdstring_compare" >&6; }
24068 if test "$wx_cv_func_stdstring_compare" = yes; then
24069 cat >>confdefs.h <<\_ACEOF
24070 #define HAVE_STD_STRING_COMPARE 1
24075 { echo "$as_me:$LINENO: checking for hash_map" >&5
24076 echo $ECHO_N "checking for hash_map... $ECHO_C" >&6; }
24077 if test "${ac_cv_header_hash_map+set}" = set; then
24078 echo $ECHO_N "(cached) $ECHO_C" >&6
24080 cat >conftest.$ac_ext <<_ACEOF
24083 cat confdefs.h >>conftest.$ac_ext
24084 cat >>conftest.$ac_ext <<_ACEOF
24085 /* end confdefs.h. */
24089 #include <hash_map>
24091 rm -f conftest.$ac_objext
24092 if { (ac_try="$ac_compile"
24093 case "(($ac_try" in
24094 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24095 *) ac_try_echo=$ac_try;;
24097 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24098 (eval "$ac_compile") 2>conftest.er1
24100 grep -v '^
*+' conftest.er1 >conftest.err
24102 cat conftest.err >&5
24103 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24104 (exit $ac_status); } && {
24105 test -z "$ac_cxx_werror_flag" ||
24106 test ! -s conftest.err
24107 } && test -s conftest.$ac_objext; then
24108 ac_cv_header_hash_map=yes
24110 echo "$as_me: failed program was:" >&5
24111 sed 's
/^
/| /' conftest.$ac_ext >&5
24113 ac_cv_header_hash_map=no
24116 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24118 { echo "$as_me:$LINENO: result: $ac_cv_header_hash_map" >&5
24119 echo "${ECHO_T}$ac_cv_header_hash_map" >&6; }
24120 if test $ac_cv_header_hash_map = yes; then
24121 { echo "$as_me:$LINENO: checking for standard hash_map and hash_set" >&5
24122 echo $ECHO_N "checking for standard hash_map and hash_set... $ECHO_C" >&6; }
24123 if test "${wx_cv_class_stdhashmapset+set}" = set; then
24124 echo $ECHO_N "(cached) $ECHO_C" >&6
24126 cat >conftest.$ac_ext <<_ACEOF
24129 cat confdefs.h >>conftest.$ac_ext
24130 cat >>conftest.$ac_ext <<_ACEOF
24131 /* end confdefs.h. */
24132 #include <hash_map>
24133 #include <hash_set>
24137 std::hash_map<double*, char*, std::hash<double*>, std::equal_to<double*> > test1;
24138 std::hash_set<char*, std::hash<char*>, std::equal_to<char*> > test2;
24143 rm -f conftest.$ac_objext
24144 if { (ac_try="$ac_compile"
24145 case "(($ac_try" in
24146 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24147 *) ac_try_echo=$ac_try;;
24149 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24150 (eval "$ac_compile") 2>conftest.er1
24152 grep -v '^
*+' conftest.er1 >conftest.err
24154 cat conftest.err >&5
24155 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24156 (exit $ac_status); } && {
24157 test -z "$ac_cxx_werror_flag" ||
24158 test ! -s conftest.err
24159 } && test -s conftest.$ac_objext; then
24160 wx_cv_class_stdhashmapset=yes
24162 echo "$as_me: failed program was:" >&5
24163 sed 's
/^
/| /' conftest.$ac_ext >&5
24165 wx_cv_class_stdhashmapset=no
24168 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24172 { echo "$as_me:$LINENO: result: $wx_cv_class_stdhashmapset" >&5
24173 echo "${ECHO_T}$wx_cv_class_stdhashmapset" >&6; }
24178 if test "$wx_cv_class_stdhashmapset" = yes; then
24179 cat >>confdefs.h <<\_ACEOF
24180 #define HAVE_HASH_MAP 1
24183 cat >>confdefs.h <<\_ACEOF
24184 #define HAVE_STD_HASH_MAP 1
24189 { echo "$as_me:$LINENO: checking for ext/hash_map" >&5
24190 echo $ECHO_N "checking for ext/hash_map... $ECHO_C" >&6; }
24191 if test "${ac_cv_header_ext_hash_map+set}" = set; then
24192 echo $ECHO_N "(cached) $ECHO_C" >&6
24194 cat >conftest.$ac_ext <<_ACEOF
24197 cat confdefs.h >>conftest.$ac_ext
24198 cat >>conftest.$ac_ext <<_ACEOF
24199 /* end confdefs.h. */
24203 #include <ext/hash_map>
24205 rm -f conftest.$ac_objext
24206 if { (ac_try="$ac_compile"
24207 case "(($ac_try" in
24208 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24209 *) ac_try_echo=$ac_try;;
24211 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24212 (eval "$ac_compile") 2>conftest.er1
24214 grep -v '^
*+' conftest.er1 >conftest.err
24216 cat conftest.err >&5
24217 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24218 (exit $ac_status); } && {
24219 test -z "$ac_cxx_werror_flag" ||
24220 test ! -s conftest.err
24221 } && test -s conftest.$ac_objext; then
24222 ac_cv_header_ext_hash_map=yes
24224 echo "$as_me: failed program was:" >&5
24225 sed 's
/^
/| /' conftest.$ac_ext >&5
24227 ac_cv_header_ext_hash_map=no
24230 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24232 { echo "$as_me:$LINENO: result: $ac_cv_header_ext_hash_map" >&5
24233 echo "${ECHO_T}$ac_cv_header_ext_hash_map" >&6; }
24234 if test $ac_cv_header_ext_hash_map = yes; then
24235 { echo "$as_me:$LINENO: checking for GNU hash_map and hash_set" >&5
24236 echo $ECHO_N "checking for GNU hash_map and hash_set... $ECHO_C" >&6; }
24237 if test "${wx_cv_class_gnuhashmapset+set}" = set; then
24238 echo $ECHO_N "(cached) $ECHO_C" >&6
24240 cat >conftest.$ac_ext <<_ACEOF
24243 cat confdefs.h >>conftest.$ac_ext
24244 cat >>conftest.$ac_ext <<_ACEOF
24245 /* end confdefs.h. */
24246 #include <ext/hash_map>
24247 #include <ext/hash_set>
24251 __gnu_cxx::hash_map<double*, char*, __gnu_cxx::hash<double*>, std::equal_to<double*> > test1;
24252 __gnu_cxx::hash_set<char*, __gnu_cxx::hash<char*>, std::equal_to<char*> > test2;
24257 rm -f conftest.$ac_objext
24258 if { (ac_try="$ac_compile"
24259 case "(($ac_try" in
24260 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24261 *) ac_try_echo=$ac_try;;
24263 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24264 (eval "$ac_compile") 2>conftest.er1
24266 grep -v '^
*+' conftest.er1 >conftest.err
24268 cat conftest.err >&5
24269 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24270 (exit $ac_status); } && {
24271 test -z "$ac_cxx_werror_flag" ||
24272 test ! -s conftest.err
24273 } && test -s conftest.$ac_objext; then
24274 wx_cv_class_gnuhashmapset=yes
24276 echo "$as_me: failed program was:" >&5
24277 sed 's
/^
/| /' conftest.$ac_ext >&5
24279 wx_cv_class_gnuhashmapset=no
24282 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24286 { echo "$as_me:$LINENO: result: $wx_cv_class_gnuhashmapset" >&5
24287 echo "${ECHO_T}$wx_cv_class_gnuhashmapset" >&6; }
24292 if test "$wx_cv_class_gnuhashmapset" = yes; then
24293 cat >>confdefs.h <<\_ACEOF
24294 #define HAVE_EXT_HASH_MAP 1
24297 cat >>confdefs.h <<\_ACEOF
24298 #define HAVE_GNU_CXX_HASH_MAP 1
24305 ac_cpp='$CPP $CPPFLAGS'
24306 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
24307 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
24308 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24313 /usr/local/include \
24315 /usr/Motif-2.1/include \
24316 /usr/Motif-1.2/include \
24317 /usr/include/Motif1.2 \
24320 /usr/openwin/include \
24324 /usr/X11R6/include \
24325 /usr/X11R6.4/include \
24326 /usr/X11R5/include \
24327 /usr/X11R4/include \
24329 /usr/include/X11R6 \
24330 /usr/include/X11R5 \
24331 /usr/include/X11R4 \
24333 /usr/local/X11R6/include \
24334 /usr/local/X11R5/include \
24335 /usr/local/X11R4/include \
24337 /usr/local/include/X11R6 \
24338 /usr/local/include/X11R5 \
24339 /usr/local/include/X11R4 \
24343 /usr/local/X11/include \
24344 /usr/local/include/X11 \
24346 /usr/XFree86/include/X11 \
24349 /usr/openwin/share/include"
24351 { echo "$as_me:$LINENO: checking for libraries directory" >&5
24352 echo $ECHO_N "checking for libraries directory... $ECHO_C" >&6; }
24356 if test "${wx_cv_std_libpath+set}" = set; then
24357 echo $ECHO_N "(cached) $ECHO_C" >&6
24360 for d in /usr/lib /usr/lib32 /usr/lib/64 /usr/lib64; do
24361 for e in a so sl dylib dll.a; do
24363 if test -f $libc; then
24366 cat >conftest.$ac_ext <<_ACEOF
24367 int main() { return 0; }
24369 rm -f conftest.$ac_objext conftest$ac_exeext
24370 if { (ac_try="$ac_link"
24371 case "(($ac_try" in
24372 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24373 *) ac_try_echo=$ac_try;;
24375 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24376 (eval "$ac_link") 2>conftest.er1
24378 grep -v '^
*+' conftest.er1 >conftest.err
24380 cat conftest.err >&5
24381 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24382 (exit $ac_status); } && {
24383 test -z "$ac_c_werror_flag" ||
24384 test ! -s conftest.err
24385 } && test -s conftest$ac_exeext &&
24386 $as_test_x conftest$ac_exeext; then
24387 wx_cv_std_libpath=`echo $d | sed s@/usr/@@`
24389 echo "$as_me: failed program was:" >&5
24390 sed 's
/^
/| /' conftest.$ac_ext >&5
24395 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
24396 conftest$ac_exeext conftest.$ac_ext
24398 if test "x$wx_cv_std_libpath" != "x"; then
24404 if test "x$wx_cv_std_libpath" = "x"; then
24405 wx_cv_std_libpath="lib"
24414 if test "$ac_cv_sizeof_void_p" = 8 -a -d "/usr/lib/64"; then
24415 wx_cv_std_libpath="lib/64"
24417 wx_cv_std_libpath="lib"
24422 if test "$ac_cv_sizeof_void_p" = 8 -a \
24423 -d "/usr/lib64" -a ! -h "/usr/lib64"; then
24424 wx_cv_std_libpath="lib64"
24426 wx_cv_std_libpath="lib"
24431 wx_cv_std_libpath="lib";
24435 { echo "$as_me:$LINENO: result: $wx_cv_std_libpath" >&5
24436 echo "${ECHO_T}$wx_cv_std_libpath" >&6; }
24438 SEARCH_LIB="`echo "$SEARCH_INCLUDE" | sed s@include@$wx_cv_std_libpath@g` /usr/$wx_cv_std_libpath"
24440 if test "$build" != "$host" -a "$GCC" = yes; then
24441 if cross_root=`$CC -print-prog-name=ld 2>/dev/null`; then
24442 cross_root=`dirname $cross_root`
24443 cross_root=`dirname $cross_root`
24445 SEARCH_LIB=`for x in $SEARCH_LIB; do echo $x; done | sed -ne "s|^/usr|$cross_root|p"`
24446 SEARCH_INCLUDE=`for x in $SEARCH_INCLUDE; do echo $x; done | sed -ne "s|^/usr|$cross_root|p"`
24447 SEARCH_INCLUDE="$SEARCH_INCLUDE $cross_root/include"
24449 if test -z "$PKG_CONFIG_PATH"; then
24450 PKG_CONFIG_PATH="$cross_root/local/lib/pkgconfig:$cross_root/lib/pkgconfig"
24451 export PKG_CONFIG_PATH
24454 if test -z "$x_includes" -o "$x_includes" = NONE; then
24457 for ac_dir in $SEARCH_INCLUDE /usr/include;
24459 if test -f "$ac_dir/X11/Intrinsic.h"; then
24460 ac_find_includes=$ac_dir
24465 x_includes=$ac_find_includes
24467 if test -z "$x_libraries" -o "$x_libraries" = NONE; then
24470 for ac_dir in $SEARCH_LIB;
24472 for ac_extension in a so sl dylib dll.a; do
24473 if test -f "$ac_dir/libXt.$ac_extension"; then
24474 ac_find_libraries=$ac_dir
24480 x_libraries=$ac_find_libraries
24486 cat >confcache <<\_ACEOF
24487 # This file is a shell script that caches the results of configure
24488 # tests run on this system so they can be shared between configure
24489 # scripts and configure runs, see configure's option
--config-cache.
24490 # It is not useful on other systems. If it contains results you don't
24491 # want to keep, you may remove or edit it.
24493 # config.status only pays attention to the cache file if you give it
24494 # the --recheck option to rerun configure.
24496 # `ac_cv_env_foo' variables (set or unset) will be overridden when
24497 # loading this file, other *unset* `ac_cv_foo' will be assigned the
24498 # following values.
24502 # The following way of writing the cache mishandles newlines in values,
24503 # but we know of no workaround that is simple, portable, and efficient.
24504 # So, we kill variables containing newlines.
24505 # Ultrix sh set writes to stderr and can't be redirected directly,
24506 # and sets the high bit in the cache file unless we assign to the vars.
24508 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
24509 eval ac_val
=\$
$ac_var
24513 *_cv_
*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
24514 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
24517 _
| IFS
| as_nl
) ;; #(
24518 *) $as_unset $ac_var ;;
24524 case $as_nl`(ac_space=' '; set) 2>&1` in #(
24525 *${as_nl}ac_space
=\
*)
24526 # `set' does not quote correctly, so add quotes (double-quote
24527 # substitution turns \\\\ into \\, and sed turns \\ into \).
24530 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
24533 # `set' quotes correctly as required by POSIX, so do not add quotes.
24534 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
24543 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
24545 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
24547 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
24548 if test -w "$cache_file"; then
24549 test "x$cache_file" != "x/dev/null" &&
24550 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
24551 echo "$as_me: updating cache $cache_file" >&6;}
24552 cat confcache
>$cache_file
24554 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
24555 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
24560 if test "$USE_LINUX" = 1 -o "$USE_GNU" = 1; then
24561 { echo "$as_me:$LINENO: checking for glibc 2.1 or later" >&5
24562 echo $ECHO_N "checking for glibc 2.1 or later... $ECHO_C" >&6; }
24563 if test "${wx_cv_lib_glibc21+set}" = set; then
24564 echo $ECHO_N "(cached) $ECHO_C" >&6
24567 cat >conftest.
$ac_ext <<_ACEOF
24570 cat confdefs.h
>>conftest.
$ac_ext
24571 cat >>conftest.
$ac_ext <<_ACEOF
24572 /* end confdefs.h. */
24573 #include <features.h>
24578 #if (__GLIBC__ < 2) || (__GLIBC_MINOR__ < 1)
24586 rm -f conftest.
$ac_objext
24587 if { (ac_try
="$ac_compile"
24588 case "(($ac_try" in
24589 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
24590 *) ac_try_echo=$ac_try;;
24592 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24593 (eval "$ac_compile") 2>conftest.er1
24595 grep -v '^ *+' conftest.er1 >conftest.err
24597 cat conftest.err >&5
24598 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24599 (exit $ac_status); } && {
24600 test -z "$ac_c_werror_flag" ||
24601 test ! -s conftest.err
24602 } && test -s conftest.$ac_objext; then
24604 wx_cv_lib_glibc21=yes
24607 echo "$as_me: failed program was:" >&5
24608 sed 's/^/| /' conftest.$ac_ext >&5
24611 wx_cv_lib_glibc21=no
24616 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24619 { echo "$as_me:$LINENO: result: $wx_cv_lib_glibc21" >&5
24620 echo "${ECHO_T}$wx_cv_lib_glibc21" >&6; }
24621 if test "$wx_cv_lib_glibc21" = "yes"; then
24622 cat >>confdefs.h <<\_ACEOF
24623 #define wxHAVE_GLIBC2 1
24629 if test "x$wx_cv_lib_glibc21" = "xyes"; then
24630 if test "$wxUSE_UNICODE" = "yes" -o "$wxUSE_THREADS" = "yes"; then
24631 cat >>confdefs.h <<\_ACEOF
24632 #define _GNU_SOURCE 1
24643 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24644 { echo "$as_me:$LINENO: checking for $ac_func" >&5
24645 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
24646 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
24647 echo $ECHO_N "(cached) $ECHO_C" >&6
24649 cat >conftest.$ac_ext <<_ACEOF
24652 cat confdefs.h >>conftest.$ac_ext
24653 cat >>conftest.$ac_ext <<_ACEOF
24654 /* end confdefs.h. */
24655 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
24656 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24657 #define $ac_func innocuous_$ac_func
24659 /* System header to define __stub macros and hopefully few prototypes,
24660 which can conflict with char $ac_func (); below.
24661 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24662 <limits.h> exists even on freestanding compilers. */
24665 # include <limits.h>
24667 # include <assert.h>
24672 /* Override any GCC internal prototype to avoid an error.
24673 Use char because int might match the return type of a GCC
24674 builtin and then its argument prototype would still apply. */
24679 /* The GNU C library defines this for functions which it implements
24680 to always fail with ENOSYS. Some functions are actually named
24681 something starting with __ and the normal name is an alias. */
24682 #if defined __stub_$ac_func || defined __stub___$ac_func
24689 return $ac_func ();
24694 rm -f conftest.$ac_objext conftest$ac_exeext
24695 if { (ac_try="$ac_link"
24696 case "(($ac_try" in
24697 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
24698 *) ac_try_echo
=$ac_try;;
24700 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24701 (eval "$ac_link") 2>conftest.er1
24703 grep -v '^ *+' conftest.er1
>conftest.err
24705 cat conftest.err
>&5
24706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24707 (exit $ac_status); } && {
24708 test -z "$ac_c_werror_flag" ||
24709 test ! -s conftest.err
24710 } && test -s conftest
$ac_exeext &&
24711 $as_test_x conftest
$ac_exeext; then
24712 eval "$as_ac_var=yes"
24714 echo "$as_me: failed program was:" >&5
24715 sed 's/^/| /' conftest.
$ac_ext >&5
24717 eval "$as_ac_var=no"
24720 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
24721 conftest
$ac_exeext conftest.
$ac_ext
24723 ac_res
=`eval echo '${'$as_ac_var'}'`
24724 { echo "$as_me:$LINENO: result: $ac_res" >&5
24725 echo "${ECHO_T}$ac_res" >&6; }
24726 if test `eval echo '${'$as_ac_var'}'` = yes; then
24727 cat >>confdefs.h
<<_ACEOF
24728 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24735 for ac_func
in floor
24737 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24738 { echo "$as_me:$LINENO: checking for $ac_func" >&5
24739 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
24740 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
24741 echo $ECHO_N "(cached) $ECHO_C" >&6
24743 cat >conftest.
$ac_ext <<_ACEOF
24746 cat confdefs.h
>>conftest.
$ac_ext
24747 cat >>conftest.
$ac_ext <<_ACEOF
24748 /* end confdefs.h. */
24749 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
24750 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24751 #define $ac_func innocuous_$ac_func
24753 /* System header to define __stub macros and hopefully few prototypes,
24754 which can conflict with char $ac_func (); below.
24755 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24756 <limits.h> exists even on freestanding compilers. */
24759 # include <limits.h>
24761 # include <assert.h>
24766 /* Override any GCC internal prototype to avoid an error.
24767 Use char because int might match the return type of a GCC
24768 builtin and then its argument prototype would still apply. */
24773 /* The GNU C library defines this for functions which it implements
24774 to always fail with ENOSYS. Some functions are actually named
24775 something starting with __ and the normal name is an alias. */
24776 #if defined __stub_$ac_func || defined __stub___$ac_func
24783 return $ac_func ();
24788 rm -f conftest.
$ac_objext conftest
$ac_exeext
24789 if { (ac_try
="$ac_link"
24790 case "(($ac_try" in
24791 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
24792 *) ac_try_echo=$ac_try;;
24794 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24795 (eval "$ac_link") 2>conftest.er1
24797 grep -v '^ *+' conftest.er1 >conftest.err
24799 cat conftest.err >&5
24800 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24801 (exit $ac_status); } && {
24802 test -z "$ac_c_werror_flag" ||
24803 test ! -s conftest.err
24804 } && test -s conftest$ac_exeext &&
24805 $as_test_x conftest$ac_exeext; then
24806 eval "$as_ac_var=yes"
24808 echo "$as_me: failed program was:" >&5
24809 sed 's/^/| /' conftest.$ac_ext >&5
24811 eval "$as_ac_var=no"
24814 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
24815 conftest$ac_exeext conftest.$ac_ext
24817 ac_res=`eval echo '${'$as_ac_var'}'`
24818 { echo "$as_me:$LINENO: result: $ac_res" >&5
24819 echo "${ECHO_T}$ac_res" >&6; }
24820 if test `eval echo '${'$as_ac_var'}'` = yes; then
24821 cat >>confdefs.h <<_ACEOF
24822 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24828 { echo "$as_me:$LINENO: checking if floating point functions link without -lm" >&5
24829 echo $ECHO_N "checking if floating point functions link without -lm... $ECHO_C" >&6; }
24830 if test "$have_cos" = 1 -a "$have_floor" = 1; then
24831 { echo "$as_me:$LINENO: result: yes" >&5
24832 echo "${ECHO_T}yes" >&6; }
24834 { echo "$as_me:$LINENO: result: no" >&5
24835 echo "${ECHO_T}no" >&6; }
24837 # use different functions to avoid configure caching
24843 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24844 { echo "$as_me:$LINENO: checking for $ac_func" >&5
24845 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
24846 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
24847 echo $ECHO_N "(cached) $ECHO_C" >&6
24849 cat >conftest.$ac_ext <<_ACEOF
24852 cat confdefs.h >>conftest.$ac_ext
24853 cat >>conftest.$ac_ext <<_ACEOF
24854 /* end confdefs.h. */
24855 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
24856 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24857 #define $ac_func innocuous_$ac_func
24859 /* System header to define __stub macros and hopefully few prototypes,
24860 which can conflict with char $ac_func (); below.
24861 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24862 <limits.h> exists even on freestanding compilers. */
24865 # include <limits.h>
24867 # include <assert.h>
24872 /* Override any GCC internal prototype to avoid an error.
24873 Use char because int might match the return type of a GCC
24874 builtin and then its argument prototype would still apply. */
24879 /* The GNU C library defines this for functions which it implements
24880 to always fail with ENOSYS. Some functions are actually named
24881 something starting with __ and the normal name is an alias. */
24882 #if defined __stub_$ac_func || defined __stub___$ac_func
24889 return $ac_func ();
24894 rm -f conftest.$ac_objext conftest$ac_exeext
24895 if { (ac_try="$ac_link"
24896 case "(($ac_try" in
24897 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
24898 *) ac_try_echo
=$ac_try;;
24900 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24901 (eval "$ac_link") 2>conftest.er1
24903 grep -v '^ *+' conftest.er1
>conftest.err
24905 cat conftest.err
>&5
24906 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24907 (exit $ac_status); } && {
24908 test -z "$ac_c_werror_flag" ||
24909 test ! -s conftest.err
24910 } && test -s conftest
$ac_exeext &&
24911 $as_test_x conftest
$ac_exeext; then
24912 eval "$as_ac_var=yes"
24914 echo "$as_me: failed program was:" >&5
24915 sed 's/^/| /' conftest.
$ac_ext >&5
24917 eval "$as_ac_var=no"
24920 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
24921 conftest
$ac_exeext conftest.
$ac_ext
24923 ac_res
=`eval echo '${'$as_ac_var'}'`
24924 { echo "$as_me:$LINENO: result: $ac_res" >&5
24925 echo "${ECHO_T}$ac_res" >&6; }
24926 if test `eval echo '${'$as_ac_var'}'` = yes; then
24927 cat >>confdefs.h
<<_ACEOF
24928 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24935 for ac_func
in ceil
24937 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24938 { echo "$as_me:$LINENO: checking for $ac_func" >&5
24939 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
24940 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
24941 echo $ECHO_N "(cached) $ECHO_C" >&6
24943 cat >conftest.
$ac_ext <<_ACEOF
24946 cat confdefs.h
>>conftest.
$ac_ext
24947 cat >>conftest.
$ac_ext <<_ACEOF
24948 /* end confdefs.h. */
24949 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
24950 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24951 #define $ac_func innocuous_$ac_func
24953 /* System header to define __stub macros and hopefully few prototypes,
24954 which can conflict with char $ac_func (); below.
24955 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24956 <limits.h> exists even on freestanding compilers. */
24959 # include <limits.h>
24961 # include <assert.h>
24966 /* Override any GCC internal prototype to avoid an error.
24967 Use char because int might match the return type of a GCC
24968 builtin and then its argument prototype would still apply. */
24973 /* The GNU C library defines this for functions which it implements
24974 to always fail with ENOSYS. Some functions are actually named
24975 something starting with __ and the normal name is an alias. */
24976 #if defined __stub_$ac_func || defined __stub___$ac_func
24983 return $ac_func ();
24988 rm -f conftest.
$ac_objext conftest
$ac_exeext
24989 if { (ac_try
="$ac_link"
24990 case "(($ac_try" in
24991 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
24992 *) ac_try_echo=$ac_try;;
24994 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24995 (eval "$ac_link") 2>conftest.er1
24997 grep -v '^ *+' conftest.er1 >conftest.err
24999 cat conftest.err >&5
25000 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25001 (exit $ac_status); } && {
25002 test -z "$ac_c_werror_flag" ||
25003 test ! -s conftest.err
25004 } && test -s conftest$ac_exeext &&
25005 $as_test_x conftest$ac_exeext; then
25006 eval "$as_ac_var=yes"
25008 echo "$as_me: failed program was:" >&5
25009 sed 's/^/| /' conftest.$ac_ext >&5
25011 eval "$as_ac_var=no"
25014 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25015 conftest$ac_exeext conftest.$ac_ext
25017 ac_res=`eval echo '${'$as_ac_var'}'`
25018 { echo "$as_me:$LINENO: result: $ac_res" >&5
25019 echo "${ECHO_T}$ac_res" >&6; }
25020 if test `eval echo '${'$as_ac_var'}'` = yes; then
25021 cat >>confdefs.h <<_ACEOF
25022 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25028 { echo "$as_me:$LINENO: checking if floating point functions link with -lm" >&5
25029 echo $ECHO_N "checking if floating point functions link with -lm... $ECHO_C" >&6; }
25030 if test "$have_sin" = 1 -a "$have_ceil" = 1; then
25031 { echo "$as_me:$LINENO: result: yes" >&5
25032 echo "${ECHO_T}yes" >&6; }
25034 { echo "$as_me:$LINENO: result: no" >&5
25035 echo "${ECHO_T}no" >&6; }
25036 # not sure we should warn the user, crash, etc.
25041 ac_cpp='$CXXCPP $CPPFLAGS'
25042 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25043 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25044 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25046 if test "wxUSE_UNICODE" = "yes"; then
25048 for wx_func in wcstoull
25050 { echo "$as_me:$LINENO: checking for $wx_func" >&5
25051 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
25052 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
25053 echo $ECHO_N "(cached) $ECHO_C" >&6
25056 cat >conftest.$ac_ext <<_ACEOF
25060 cat confdefs.h >>conftest.$ac_ext
25061 cat >>conftest.$ac_ext <<_ACEOF
25062 /* end confdefs.h. */
25065 $ac_includes_default
25081 rm -f conftest.$ac_objext conftest$ac_exeext
25082 if { (ac_try="$ac_link"
25083 case "(($ac_try" in
25084 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
25085 *) ac_try_echo
=$ac_try;;
25087 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25088 (eval "$ac_link") 2>conftest.er1
25090 grep -v '^ *+' conftest.er1
>conftest.err
25092 cat conftest.err
>&5
25093 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25094 (exit $ac_status); } && {
25095 test -z "$ac_cxx_werror_flag" ||
25096 test ! -s conftest.err
25097 } && test -s conftest
$ac_exeext &&
25098 $as_test_x conftest
$ac_exeext; then
25099 eval wx_cv_func_
$wx_func=yes
25101 echo "$as_me: failed program was:" >&5
25102 sed 's/^/| /' conftest.
$ac_ext >&5
25104 eval wx_cv_func_
$wx_func=no
25107 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
25108 conftest
$ac_exeext conftest.
$ac_ext
25111 ac_res
=`eval echo '${'wx_cv_func_$wx_func'}'`
25112 { echo "$as_me:$LINENO: result: $ac_res" >&5
25113 echo "${ECHO_T}$ac_res" >&6; }
25115 if eval test \
$wx_cv_func_$wx_func = yes
25117 cat >>confdefs.h
<<_ACEOF
25118 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
25130 for wx_func
in strtoull
25132 { echo "$as_me:$LINENO: checking for $wx_func" >&5
25133 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
25134 if { as_var
=wx_cv_func_
$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
25135 echo $ECHO_N "(cached) $ECHO_C" >&6
25138 cat >conftest.
$ac_ext <<_ACEOF
25142 cat confdefs.h
>>conftest.
$ac_ext
25143 cat >>conftest.
$ac_ext <<_ACEOF
25144 /* end confdefs.h. */
25147 $ac_includes_default
25163 rm -f conftest.
$ac_objext conftest
$ac_exeext
25164 if { (ac_try
="$ac_link"
25165 case "(($ac_try" in
25166 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
25167 *) ac_try_echo=$ac_try;;
25169 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25170 (eval "$ac_link") 2>conftest.er1
25172 grep -v '^ *+' conftest.er1 >conftest.err
25174 cat conftest.err >&5
25175 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25176 (exit $ac_status); } && {
25177 test -z "$ac_cxx_werror_flag" ||
25178 test ! -s conftest.err
25179 } && test -s conftest$ac_exeext &&
25180 $as_test_x conftest$ac_exeext; then
25181 eval wx_cv_func_$wx_func=yes
25183 echo "$as_me: failed program was:" >&5
25184 sed 's/^/| /' conftest.$ac_ext >&5
25186 eval wx_cv_func_$wx_func=no
25189 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25190 conftest$ac_exeext conftest.$ac_ext
25193 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
25194 { echo "$as_me:$LINENO: result: $ac_res" >&5
25195 echo "${ECHO_T}$ac_res" >&6; }
25197 if eval test \$wx_cv_func_$wx_func = yes
25199 cat >>confdefs.h <<_ACEOF
25200 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
25212 ac_cpp='$CPP $CPPFLAGS'
25213 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25214 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25215 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25220 if test "$wxUSE_REGEX" != "no"; then
25221 cat >>confdefs.h <<\_ACEOF
25222 #define wxUSE_REGEX 1
25226 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_REGEX" = "yes"; then
25227 { echo "$as_me:$LINENO: WARNING: Defaulting to the the builtin regex library for Unicode build." >&5
25228 echo "$as_me: WARNING: Defaulting to the the builtin regex library for Unicode build." >&2;}
25229 wxUSE_REGEX=builtin
25232 if test "$wxUSE_REGEX" = "sys" -o "$wxUSE_REGEX" = "yes" ; then
25233 { echo "$as_me:$LINENO: checking for regex.h" >&5
25234 echo $ECHO_N "checking for regex.h... $ECHO_C" >&6; }
25235 if test "${ac_cv_header_regex_h+set}" = set; then
25236 echo $ECHO_N "(cached) $ECHO_C" >&6
25238 cat >conftest.$ac_ext <<_ACEOF
25241 cat confdefs.h >>conftest.$ac_ext
25242 cat >>conftest.$ac_ext <<_ACEOF
25243 /* end confdefs.h. */
25248 rm -f conftest.$ac_objext
25249 if { (ac_try="$ac_compile"
25250 case "(($ac_try" in
25251 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
25252 *) ac_try_echo
=$ac_try;;
25254 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25255 (eval "$ac_compile") 2>conftest.er1
25257 grep -v '^ *+' conftest.er1
>conftest.err
25259 cat conftest.err
>&5
25260 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25261 (exit $ac_status); } && {
25262 test -z "$ac_c_werror_flag" ||
25263 test ! -s conftest.err
25264 } && test -s conftest.
$ac_objext; then
25265 ac_cv_header_regex_h
=yes
25267 echo "$as_me: failed program was:" >&5
25268 sed 's/^/| /' conftest.
$ac_ext >&5
25270 ac_cv_header_regex_h
=no
25273 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
25275 { echo "$as_me:$LINENO: result: $ac_cv_header_regex_h" >&5
25276 echo "${ECHO_T}$ac_cv_header_regex_h" >&6; }
25277 if test $ac_cv_header_regex_h = yes; then
25280 for ac_func
in regcomp re_search
25282 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25283 { echo "$as_me:$LINENO: checking for $ac_func" >&5
25284 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
25285 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
25286 echo $ECHO_N "(cached) $ECHO_C" >&6
25288 cat >conftest.
$ac_ext <<_ACEOF
25291 cat confdefs.h
>>conftest.
$ac_ext
25292 cat >>conftest.
$ac_ext <<_ACEOF
25293 /* end confdefs.h. */
25294 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25295 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25296 #define $ac_func innocuous_$ac_func
25298 /* System header to define __stub macros and hopefully few prototypes,
25299 which can conflict with char $ac_func (); below.
25300 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25301 <limits.h> exists even on freestanding compilers. */
25304 # include <limits.h>
25306 # include <assert.h>
25311 /* Override any GCC internal prototype to avoid an error.
25312 Use char because int might match the return type of a GCC
25313 builtin and then its argument prototype would still apply. */
25318 /* The GNU C library defines this for functions which it implements
25319 to always fail with ENOSYS. Some functions are actually named
25320 something starting with __ and the normal name is an alias. */
25321 #if defined __stub_$ac_func || defined __stub___$ac_func
25328 return $ac_func ();
25333 rm -f conftest.
$ac_objext conftest
$ac_exeext
25334 if { (ac_try
="$ac_link"
25335 case "(($ac_try" in
25336 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
25337 *) ac_try_echo=$ac_try;;
25339 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25340 (eval "$ac_link") 2>conftest.er1
25342 grep -v '^ *+' conftest.er1 >conftest.err
25344 cat conftest.err >&5
25345 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25346 (exit $ac_status); } && {
25347 test -z "$ac_c_werror_flag" ||
25348 test ! -s conftest.err
25349 } && test -s conftest$ac_exeext &&
25350 $as_test_x conftest$ac_exeext; then
25351 eval "$as_ac_var=yes"
25353 echo "$as_me: failed program was:" >&5
25354 sed 's/^/| /' conftest.$ac_ext >&5
25356 eval "$as_ac_var=no"
25359 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25360 conftest$ac_exeext conftest.$ac_ext
25362 ac_res=`eval echo '${'$as_ac_var'}'`
25363 { echo "$as_me:$LINENO: result: $ac_res" >&5
25364 echo "${ECHO_T}$ac_res" >&6; }
25365 if test `eval echo '${'$as_ac_var'}'` = yes; then
25366 cat >>confdefs.h <<_ACEOF
25367 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25377 if test "x$ac_cv_func_regcomp" != "xyes"; then
25378 if test "$wxUSE_REGEX" = "sys" ; then
25379 { { echo "$as_me:$LINENO: error: system regex library not found! Use --with-regex to use built-in version" >&5
25380 echo "$as_me: error: system regex library not found! Use --with-regex to use built-in version" >&2;}
25381 { (exit 1); exit 1; }; }
25383 { echo "$as_me:$LINENO: WARNING: system regex library not found, will use built-in instead" >&5
25384 echo "$as_me: WARNING: system regex library not found, will use built-in instead" >&2;}
25385 wxUSE_REGEX=builtin
25389 cat >>confdefs.h <<\_ACEOF
25390 #define WX_NO_REGEX_ADVANCED 1
25399 if test "$wxUSE_ZLIB" != "no" ; then
25400 cat >>confdefs.h <<\_ACEOF
25401 #define wxUSE_ZLIB 1
25405 if test "$wxUSE_ZLIB" = "sys" -o "$wxUSE_ZLIB" = "yes" ; then
25406 if test "$USE_DARWIN" = 1; then
25407 system_zlib_h_ok="yes"
25409 { echo "$as_me:$LINENO: checking for zlib.h >= 1.1.4" >&5
25410 echo $ECHO_N "checking for zlib.h >= 1.1.4... $ECHO_C" >&6; }
25411 if test "${ac_cv_header_zlib_h+set}" = set; then
25412 echo $ECHO_N "(cached) $ECHO_C" >&6
25414 if test "$cross_compiling" = yes; then
25415 unset ac_cv_header_zlib_h
25418 cat >conftest.$ac_ext <<_ACEOF
25421 cat confdefs.h >>conftest.$ac_ext
25422 cat >>conftest.$ac_ext <<_ACEOF
25423 /* end confdefs.h. */
25430 FILE *f=fopen("conftestval", "w");
25433 ZLIB_VERSION[0] == '1' &&
25434 (ZLIB_VERSION[2] > '1' ||
25435 (ZLIB_VERSION[2] == '1' &&
25436 ZLIB_VERSION[4] >= '4')) ? "yes" : "no");
25441 rm -f conftest$ac_exeext
25442 if { (ac_try="$ac_link"
25443 case "(($ac_try" in
25444 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
25445 *) ac_try_echo
=$ac_try;;
25447 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25448 (eval "$ac_link") 2>&5
25450 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25451 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
25452 { (case "(($ac_try" in
25453 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
25454 *) ac_try_echo=$ac_try;;
25456 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25457 (eval "$ac_try") 2>&5
25459 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25460 (exit $ac_status); }; }; then
25461 ac_cv_header_zlib_h=`cat conftestval
`
25463 echo "$as_me: program exited with status $ac_status" >&5
25464 echo "$as_me: failed program was:" >&5
25465 sed 's/^/| /' conftest.$ac_ext >&5
25467 ( exit $ac_status )
25468 ac_cv_header_zlib_h=no
25470 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
25476 { echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
25477 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6; }
25478 { echo "$as_me:$LINENO: checking for zlib.h" >&5
25479 echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6; }
25480 if test "${ac_cv_header_zlib_h+set}" = set; then
25481 echo $ECHO_N "(cached) $ECHO_C" >&6
25483 cat >conftest.$ac_ext <<_ACEOF
25486 cat confdefs.h >>conftest.$ac_ext
25487 cat >>conftest.$ac_ext <<_ACEOF
25488 /* end confdefs.h. */
25493 rm -f conftest.$ac_objext
25494 if { (ac_try="$ac_compile"
25495 case "(($ac_try" in
25496 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
25497 *) ac_try_echo
=$ac_try;;
25499 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25500 (eval "$ac_compile") 2>conftest.er1
25502 grep -v '^ *+' conftest.er1
>conftest.err
25504 cat conftest.err
>&5
25505 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25506 (exit $ac_status); } && {
25507 test -z "$ac_c_werror_flag" ||
25508 test ! -s conftest.err
25509 } && test -s conftest.
$ac_objext; then
25510 ac_cv_header_zlib_h
=yes
25512 echo "$as_me: failed program was:" >&5
25513 sed 's/^/| /' conftest.
$ac_ext >&5
25515 ac_cv_header_zlib_h
=no
25518 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
25520 { echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
25521 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6; }
25525 system_zlib_h_ok
=$ac_cv_header_zlib_h
25528 if test "$system_zlib_h_ok" = "yes"; then
25529 { echo "$as_me:$LINENO: checking for deflate in -lz" >&5
25530 echo $ECHO_N "checking for deflate in -lz... $ECHO_C" >&6; }
25531 if test "${ac_cv_lib_z_deflate+set}" = set; then
25532 echo $ECHO_N "(cached) $ECHO_C" >&6
25534 ac_check_lib_save_LIBS
=$LIBS
25536 cat >conftest.
$ac_ext <<_ACEOF
25539 cat confdefs.h
>>conftest.
$ac_ext
25540 cat >>conftest.
$ac_ext <<_ACEOF
25541 /* end confdefs.h. */
25543 /* Override any GCC internal prototype to avoid an error.
25544 Use char because int might match the return type of a GCC
25545 builtin and then its argument prototype would still apply. */
25558 rm -f conftest.
$ac_objext conftest
$ac_exeext
25559 if { (ac_try
="$ac_link"
25560 case "(($ac_try" in
25561 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
25562 *) ac_try_echo=$ac_try;;
25564 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25565 (eval "$ac_link") 2>conftest.er1
25567 grep -v '^ *+' conftest.er1 >conftest.err
25569 cat conftest.err >&5
25570 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25571 (exit $ac_status); } && {
25572 test -z "$ac_c_werror_flag" ||
25573 test ! -s conftest.err
25574 } && test -s conftest$ac_exeext &&
25575 $as_test_x conftest$ac_exeext; then
25576 ac_cv_lib_z_deflate=yes
25578 echo "$as_me: failed program was:" >&5
25579 sed 's/^/| /' conftest.$ac_ext >&5
25581 ac_cv_lib_z_deflate=no
25584 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25585 conftest$ac_exeext conftest.$ac_ext
25586 LIBS=$ac_check_lib_save_LIBS
25588 { echo "$as_me:$LINENO: result: $ac_cv_lib_z_deflate" >&5
25589 echo "${ECHO_T}$ac_cv_lib_z_deflate" >&6; }
25590 if test $ac_cv_lib_z_deflate = yes; then
25596 if test "x$ZLIB_LINK" = "x" ; then
25597 if test "$wxUSE_ZLIB" = "sys" ; then
25598 { { echo "$as_me:$LINENO: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&5
25599 echo "$as_me: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&2;}
25600 { (exit 1); exit 1; }; }
25602 { echo "$as_me:$LINENO: WARNING: zlib library not found or too old, will use built-in instead" >&5
25603 echo "$as_me: WARNING: zlib library not found or too old, will use built-in instead" >&2;}
25614 if test "$wxUSE_LIBPNG" != "no" ; then
25615 cat >>confdefs.h <<\_ACEOF
25616 #define wxUSE_LIBPNG 1
25620 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBPNG" = "builtin" ; then
25621 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&5
25622 echo "$as_me: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&2;}
25626 if test "$wxUSE_MGL" != 1 -a "$wxUSE_LIBPNG" = "sys" -a "$wxUSE_ZLIB" != "sys" ; then
25627 { echo "$as_me:$LINENO: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&5
25628 echo "$as_me: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&2;}
25629 wxUSE_LIBPNG=builtin
25632 if test "$wxUSE_MGL" != 1 ; then
25633 if test "$wxUSE_LIBPNG" = "sys" -o "$wxUSE_LIBPNG" = "yes" ; then
25634 { echo "$as_me:$LINENO: checking for png.h > 0.90" >&5
25635 echo $ECHO_N "checking for png.h > 0.90... $ECHO_C" >&6; }
25636 if test "${ac_cv_header_png_h+set}" = set; then
25637 echo $ECHO_N "(cached) $ECHO_C" >&6
25639 if test "$cross_compiling" = yes; then
25640 unset ac_cv_header_png_h
25643 cat >conftest.$ac_ext <<_ACEOF
25646 cat confdefs.h >>conftest.$ac_ext
25647 cat >>conftest.$ac_ext <<_ACEOF
25648 /* end confdefs.h. */
25655 FILE *f=fopen("conftestval", "w");
25658 PNG_LIBPNG_VER > 90 ? "yes" : "no");
25663 rm -f conftest$ac_exeext
25664 if { (ac_try="$ac_link"
25665 case "(($ac_try" in
25666 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
25667 *) ac_try_echo
=$ac_try;;
25669 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25670 (eval "$ac_link") 2>&5
25672 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25673 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
25674 { (case "(($ac_try" in
25675 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
25676 *) ac_try_echo=$ac_try;;
25678 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25679 (eval "$ac_try") 2>&5
25681 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25682 (exit $ac_status); }; }; then
25683 ac_cv_header_png_h=`cat conftestval
`
25685 echo "$as_me: program exited with status $ac_status" >&5
25686 echo "$as_me: failed program was:" >&5
25687 sed 's/^/| /' conftest.$ac_ext >&5
25689 ( exit $ac_status )
25690 ac_cv_header_png_h=no
25692 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
25698 { echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
25699 echo "${ECHO_T}$ac_cv_header_png_h" >&6; }
25700 { echo "$as_me:$LINENO: checking for png.h" >&5
25701 echo $ECHO_N "checking for png.h... $ECHO_C" >&6; }
25702 if test "${ac_cv_header_png_h+set}" = set; then
25703 echo $ECHO_N "(cached) $ECHO_C" >&6
25705 cat >conftest.$ac_ext <<_ACEOF
25708 cat confdefs.h >>conftest.$ac_ext
25709 cat >>conftest.$ac_ext <<_ACEOF
25710 /* end confdefs.h. */
25715 rm -f conftest.$ac_objext
25716 if { (ac_try="$ac_compile"
25717 case "(($ac_try" in
25718 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
25719 *) ac_try_echo
=$ac_try;;
25721 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25722 (eval "$ac_compile") 2>conftest.er1
25724 grep -v '^ *+' conftest.er1
>conftest.err
25726 cat conftest.err
>&5
25727 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25728 (exit $ac_status); } && {
25729 test -z "$ac_c_werror_flag" ||
25730 test ! -s conftest.err
25731 } && test -s conftest.
$ac_objext; then
25732 ac_cv_header_png_h
=yes
25734 echo "$as_me: failed program was:" >&5
25735 sed 's/^/| /' conftest.
$ac_ext >&5
25737 ac_cv_header_png_h
=no
25740 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
25742 { echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
25743 echo "${ECHO_T}$ac_cv_header_png_h" >&6; }
25747 if test "$ac_cv_header_png_h" = "yes"; then
25748 { echo "$as_me:$LINENO: checking for png_check_sig in -lpng" >&5
25749 echo $ECHO_N "checking for png_check_sig in -lpng... $ECHO_C" >&6; }
25750 if test "${ac_cv_lib_png_png_check_sig+set}" = set; then
25751 echo $ECHO_N "(cached) $ECHO_C" >&6
25753 ac_check_lib_save_LIBS
=$LIBS
25754 LIBS
="-lpng -lz -lm $LIBS"
25755 cat >conftest.
$ac_ext <<_ACEOF
25758 cat confdefs.h
>>conftest.
$ac_ext
25759 cat >>conftest.
$ac_ext <<_ACEOF
25760 /* end confdefs.h. */
25762 /* Override any GCC internal prototype to avoid an error.
25763 Use char because int might match the return type of a GCC
25764 builtin and then its argument prototype would still apply. */
25768 char png_check_sig ();
25772 return png_check_sig ();
25777 rm -f conftest.
$ac_objext conftest
$ac_exeext
25778 if { (ac_try
="$ac_link"
25779 case "(($ac_try" in
25780 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
25781 *) ac_try_echo=$ac_try;;
25783 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25784 (eval "$ac_link") 2>conftest.er1
25786 grep -v '^ *+' conftest.er1 >conftest.err
25788 cat conftest.err >&5
25789 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25790 (exit $ac_status); } && {
25791 test -z "$ac_c_werror_flag" ||
25792 test ! -s conftest.err
25793 } && test -s conftest$ac_exeext &&
25794 $as_test_x conftest$ac_exeext; then
25795 ac_cv_lib_png_png_check_sig=yes
25797 echo "$as_me: failed program was:" >&5
25798 sed 's/^/| /' conftest.$ac_ext >&5
25800 ac_cv_lib_png_png_check_sig=no
25803 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25804 conftest$ac_exeext conftest.$ac_ext
25805 LIBS=$ac_check_lib_save_LIBS
25807 { echo "$as_me:$LINENO: result: $ac_cv_lib_png_png_check_sig" >&5
25808 echo "${ECHO_T}$ac_cv_lib_png_png_check_sig" >&6; }
25809 if test $ac_cv_lib_png_png_check_sig = yes; then
25810 PNG_LINK=" -lpng -lz"
25815 if test "x$PNG_LINK" = "x" ; then
25816 if test "$wxUSE_LIBPNG" = "sys" ; then
25817 { { echo "$as_me:$LINENO: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&5
25818 echo "$as_me: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&2;}
25819 { (exit 1); exit 1; }; }
25821 { echo "$as_me:$LINENO: WARNING: system png library not found or too old, will use built-in instead" >&5
25822 echo "$as_me: WARNING: system png library not found or too old, will use built-in instead" >&2;}
25823 wxUSE_LIBPNG=builtin
25831 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS png"
25836 if test "$wxUSE_LIBJPEG" != "no" ; then
25837 cat >>confdefs.h <<\_ACEOF
25838 #define wxUSE_LIBJPEG 1
25842 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBJPEG" = "builtin" ; then
25843 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&5
25844 echo "$as_me: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&2;}
25848 if test "$wxUSE_MGL" != 1 ; then
25849 if test "$wxUSE_LIBJPEG" = "sys" -o "$wxUSE_LIBJPEG" = "yes" ; then
25850 { echo "$as_me:$LINENO: checking for jpeglib.h" >&5
25851 echo $ECHO_N "checking for jpeglib.h... $ECHO_C" >&6; }
25852 if test "${ac_cv_header_jpeglib_h+set}" = set; then
25853 echo $ECHO_N "(cached) $ECHO_C" >&6
25855 cat >conftest.$ac_ext <<_ACEOF
25858 cat confdefs.h >>conftest.$ac_ext
25859 cat >>conftest.$ac_ext <<_ACEOF
25860 /* end confdefs.h. */
25862 #undef HAVE_STDLIB_H
25864 #include <jpeglib.h>
25875 rm -f conftest.$ac_objext
25876 if { (ac_try="$ac_compile"
25877 case "(($ac_try" in
25878 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
25879 *) ac_try_echo
=$ac_try;;
25881 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25882 (eval "$ac_compile") 2>conftest.er1
25884 grep -v '^ *+' conftest.er1
>conftest.err
25886 cat conftest.err
>&5
25887 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25888 (exit $ac_status); } && {
25889 test -z "$ac_c_werror_flag" ||
25890 test ! -s conftest.err
25891 } && test -s conftest.
$ac_objext; then
25892 ac_cv_header_jpeglib_h
=yes
25894 echo "$as_me: failed program was:" >&5
25895 sed 's/^/| /' conftest.
$ac_ext >&5
25897 ac_cv_header_jpeglib_h
=no
25901 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
25905 { echo "$as_me:$LINENO: result: $ac_cv_header_jpeglib_h" >&5
25906 echo "${ECHO_T}$ac_cv_header_jpeglib_h" >&6; }
25908 if test "$ac_cv_header_jpeglib_h" = "yes"; then
25909 { echo "$as_me:$LINENO: checking for jpeg_read_header in -ljpeg" >&5
25910 echo $ECHO_N "checking for jpeg_read_header in -ljpeg... $ECHO_C" >&6; }
25911 if test "${ac_cv_lib_jpeg_jpeg_read_header+set}" = set; then
25912 echo $ECHO_N "(cached) $ECHO_C" >&6
25914 ac_check_lib_save_LIBS
=$LIBS
25915 LIBS
="-ljpeg $LIBS"
25916 cat >conftest.
$ac_ext <<_ACEOF
25919 cat confdefs.h
>>conftest.
$ac_ext
25920 cat >>conftest.
$ac_ext <<_ACEOF
25921 /* end confdefs.h. */
25923 /* Override any GCC internal prototype to avoid an error.
25924 Use char because int might match the return type of a GCC
25925 builtin and then its argument prototype would still apply. */
25929 char jpeg_read_header ();
25933 return jpeg_read_header ();
25938 rm -f conftest.
$ac_objext conftest
$ac_exeext
25939 if { (ac_try
="$ac_link"
25940 case "(($ac_try" in
25941 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
25942 *) ac_try_echo=$ac_try;;
25944 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25945 (eval "$ac_link") 2>conftest.er1
25947 grep -v '^ *+' conftest.er1 >conftest.err
25949 cat conftest.err >&5
25950 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25951 (exit $ac_status); } && {
25952 test -z "$ac_c_werror_flag" ||
25953 test ! -s conftest.err
25954 } && test -s conftest$ac_exeext &&
25955 $as_test_x conftest$ac_exeext; then
25956 ac_cv_lib_jpeg_jpeg_read_header=yes
25958 echo "$as_me: failed program was:" >&5
25959 sed 's/^/| /' conftest.$ac_ext >&5
25961 ac_cv_lib_jpeg_jpeg_read_header=no
25964 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25965 conftest$ac_exeext conftest.$ac_ext
25966 LIBS=$ac_check_lib_save_LIBS
25968 { echo "$as_me:$LINENO: result: $ac_cv_lib_jpeg_jpeg_read_header" >&5
25969 echo "${ECHO_T}$ac_cv_lib_jpeg_jpeg_read_header" >&6; }
25970 if test $ac_cv_lib_jpeg_jpeg_read_header = yes; then
25971 JPEG_LINK=" -ljpeg"
25976 if test "x$JPEG_LINK" = "x" ; then
25977 if test "$wxUSE_LIBJPEG" = "sys" ; then
25978 { { echo "$as_me:$LINENO: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&5
25979 echo "$as_me: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&2;}
25980 { (exit 1); exit 1; }; }
25982 { echo "$as_me:$LINENO: WARNING: system jpeg library not found, will use built-in instead" >&5
25983 echo "$as_me: WARNING: system jpeg library not found, will use built-in instead" >&2;}
25984 wxUSE_LIBJPEG=builtin
25989 if test "$wxUSE_MSW" = 1; then
25990 { echo "$as_me:$LINENO: checking for boolean" >&5
25991 echo $ECHO_N "checking for boolean... $ECHO_C" >&6; }
25992 if test "${ac_cv_type_boolean+set}" = set; then
25993 echo $ECHO_N "(cached) $ECHO_C" >&6
25995 cat >conftest.$ac_ext <<_ACEOF
25998 cat confdefs.h >>conftest.$ac_ext
25999 cat >>conftest.$ac_ext <<_ACEOF
26000 /* end confdefs.h. */
26001 #include <windows.h>
26003 typedef boolean ac__type_new_;
26007 if ((ac__type_new_ *) 0)
26009 if (sizeof (ac__type_new_))
26015 rm -f conftest.$ac_objext
26016 if { (ac_try="$ac_compile"
26017 case "(($ac_try" in
26018 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
26019 *) ac_try_echo
=$ac_try;;
26021 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26022 (eval "$ac_compile") 2>conftest.er1
26024 grep -v '^ *+' conftest.er1
>conftest.err
26026 cat conftest.err
>&5
26027 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26028 (exit $ac_status); } && {
26029 test -z "$ac_c_werror_flag" ||
26030 test ! -s conftest.err
26031 } && test -s conftest.
$ac_objext; then
26032 ac_cv_type_boolean
=yes
26034 echo "$as_me: failed program was:" >&5
26035 sed 's/^/| /' conftest.
$ac_ext >&5
26037 ac_cv_type_boolean
=no
26040 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
26042 { echo "$as_me:$LINENO: result: $ac_cv_type_boolean" >&5
26043 echo "${ECHO_T}$ac_cv_type_boolean" >&6; }
26044 if test $ac_cv_type_boolean = yes; then
26046 cat >>confdefs.h
<<_ACEOF
26047 #define HAVE_BOOLEAN 1
26051 { echo "$as_me:$LINENO: checking for boolean" >&5
26052 echo $ECHO_N "checking for boolean... $ECHO_C" >&6; }
26053 if test "${ac_cv_type_boolean+set}" = set; then
26054 echo $ECHO_N "(cached) $ECHO_C" >&6
26056 cat >conftest.
$ac_ext <<_ACEOF
26059 cat confdefs.h
>>conftest.
$ac_ext
26060 cat >>conftest.
$ac_ext <<_ACEOF
26061 /* end confdefs.h. */
26063 #undef HAVE_BOOLEAN
26065 #include <jpeglib.h>
26068 typedef boolean ac__type_new_;
26072 if ((ac__type_new_ *) 0)
26074 if (sizeof (ac__type_new_))
26080 rm -f conftest.
$ac_objext
26081 if { (ac_try
="$ac_compile"
26082 case "(($ac_try" in
26083 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
26084 *) ac_try_echo=$ac_try;;
26086 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26087 (eval "$ac_compile") 2>conftest.er1
26089 grep -v '^ *+' conftest.er1 >conftest.err
26091 cat conftest.err >&5
26092 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26093 (exit $ac_status); } && {
26094 test -z "$ac_c_werror_flag" ||
26095 test ! -s conftest.err
26096 } && test -s conftest.$ac_objext; then
26097 ac_cv_type_boolean=yes
26099 echo "$as_me: failed program was:" >&5
26100 sed 's/^/| /' conftest.$ac_ext >&5
26102 ac_cv_type_boolean=no
26105 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26107 { echo "$as_me:$LINENO: result: $ac_cv_type_boolean" >&5
26108 echo "${ECHO_T}$ac_cv_type_boolean" >&6; }
26110 # The cast to long int works around a bug in the HP C Compiler
26111 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
26112 # declarations like `int a3
[[(sizeof
(unsigned char
)) >= 0]];'.
26113 # This bug is HP SR number 8606223364.
26114 { echo "$as_me:$LINENO: checking size of boolean" >&5
26115 echo $ECHO_N "checking size of boolean... $ECHO_C" >&6; }
26116 if test "${ac_cv_sizeof_boolean+set}" = set; then
26117 echo $ECHO_N "(cached) $ECHO_C" >&6
26119 if test "$cross_compiling" = yes; then
26120 # Depending upon the size, compute the lo and hi bounds.
26121 cat >conftest.$ac_ext <<_ACEOF
26124 cat confdefs.h >>conftest.$ac_ext
26125 cat >>conftest.$ac_ext <<_ACEOF
26126 /* end confdefs.h. */
26128 #undef HAVE_BOOLEAN
26130 #include <jpeglib.h>
26133 typedef boolean ac__type_sizeof_;
26137 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
26144 rm -f conftest.$ac_objext
26145 if { (ac_try="$ac_compile"
26146 case "(($ac_try" in
26147 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26148 *) ac_try_echo=$ac_try;;
26150 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26151 (eval "$ac_compile") 2>conftest.er1
26153 grep -v '^
*+' conftest.er1 >conftest.err
26155 cat conftest.err >&5
26156 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26157 (exit $ac_status); } && {
26158 test -z "$ac_c_werror_flag" ||
26159 test ! -s conftest.err
26160 } && test -s conftest.$ac_objext; then
26163 cat >conftest.$ac_ext <<_ACEOF
26166 cat confdefs.h >>conftest.$ac_ext
26167 cat >>conftest.$ac_ext <<_ACEOF
26168 /* end confdefs.h. */
26170 #undef HAVE_BOOLEAN
26172 #include <jpeglib.h>
26175 typedef boolean ac__type_sizeof_;
26179 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
26186 rm -f conftest.$ac_objext
26187 if { (ac_try="$ac_compile"
26188 case "(($ac_try" in
26189 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26190 *) ac_try_echo=$ac_try;;
26192 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26193 (eval "$ac_compile") 2>conftest.er1
26195 grep -v '^
*+' conftest.er1 >conftest.err
26197 cat conftest.err >&5
26198 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26199 (exit $ac_status); } && {
26200 test -z "$ac_c_werror_flag" ||
26201 test ! -s conftest.err
26202 } && test -s conftest.$ac_objext; then
26203 ac_hi=$ac_mid; break
26205 echo "$as_me: failed program was:" >&5
26206 sed 's
/^
/| /' conftest.$ac_ext >&5
26208 ac_lo=`expr $ac_mid + 1`
26209 if test $ac_lo -le $ac_mid; then
26213 ac_mid=`expr 2 '*' $ac_mid + 1`
26216 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26219 echo "$as_me: failed program was:" >&5
26220 sed 's
/^
/| /' conftest.$ac_ext >&5
26222 cat >conftest.$ac_ext <<_ACEOF
26225 cat confdefs.h >>conftest.$ac_ext
26226 cat >>conftest.$ac_ext <<_ACEOF
26227 /* end confdefs.h. */
26229 #undef HAVE_BOOLEAN
26231 #include <jpeglib.h>
26234 typedef boolean ac__type_sizeof_;
26238 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
26245 rm -f conftest.$ac_objext
26246 if { (ac_try="$ac_compile"
26247 case "(($ac_try" in
26248 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26249 *) ac_try_echo=$ac_try;;
26251 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26252 (eval "$ac_compile") 2>conftest.er1
26254 grep -v '^
*+' conftest.er1 >conftest.err
26256 cat conftest.err >&5
26257 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26258 (exit $ac_status); } && {
26259 test -z "$ac_c_werror_flag" ||
26260 test ! -s conftest.err
26261 } && test -s conftest.$ac_objext; then
26264 cat >conftest.$ac_ext <<_ACEOF
26267 cat confdefs.h >>conftest.$ac_ext
26268 cat >>conftest.$ac_ext <<_ACEOF
26269 /* end confdefs.h. */
26271 #undef HAVE_BOOLEAN
26273 #include <jpeglib.h>
26276 typedef boolean ac__type_sizeof_;
26280 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
26287 rm -f conftest.$ac_objext
26288 if { (ac_try="$ac_compile"
26289 case "(($ac_try" in
26290 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26291 *) ac_try_echo=$ac_try;;
26293 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26294 (eval "$ac_compile") 2>conftest.er1
26296 grep -v '^
*+' conftest.er1 >conftest.err
26298 cat conftest.err >&5
26299 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26300 (exit $ac_status); } && {
26301 test -z "$ac_c_werror_flag" ||
26302 test ! -s conftest.err
26303 } && test -s conftest.$ac_objext; then
26304 ac_lo=$ac_mid; break
26306 echo "$as_me: failed program was:" >&5
26307 sed 's
/^
/| /' conftest.$ac_ext >&5
26309 ac_hi=`expr '(' $ac_mid ')' - 1`
26310 if test $ac_mid -le $ac_hi; then
26314 ac_mid=`expr 2 '*' $ac_mid`
26317 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26320 echo "$as_me: failed program was:" >&5
26321 sed 's
/^
/| /' conftest.$ac_ext >&5
26326 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26329 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26330 # Binary search between lo and hi bounds.
26331 while test "x$ac_lo" != "x$ac_hi"; do
26332 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
26333 cat >conftest.$ac_ext <<_ACEOF
26336 cat confdefs.h >>conftest.$ac_ext
26337 cat >>conftest.$ac_ext <<_ACEOF
26338 /* end confdefs.h. */
26340 #undef HAVE_BOOLEAN
26342 #include <jpeglib.h>
26345 typedef boolean ac__type_sizeof_;
26349 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
26356 rm -f conftest.$ac_objext
26357 if { (ac_try="$ac_compile"
26358 case "(($ac_try" in
26359 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26360 *) ac_try_echo=$ac_try;;
26362 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26363 (eval "$ac_compile") 2>conftest.er1
26365 grep -v '^
*+' conftest.er1 >conftest.err
26367 cat conftest.err >&5
26368 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26369 (exit $ac_status); } && {
26370 test -z "$ac_c_werror_flag" ||
26371 test ! -s conftest.err
26372 } && test -s conftest.$ac_objext; then
26375 echo "$as_me: failed program was:" >&5
26376 sed 's
/^
/| /' conftest.$ac_ext >&5
26378 ac_lo=`expr '(' $ac_mid ')' + 1`
26381 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26384 ?*) ac_cv_sizeof_boolean=$ac_lo;;
26385 '') if test "$ac_cv_type_boolean" = yes; then
26386 { { echo "$as_me:$LINENO: error: cannot compute sizeof (boolean)
26387 See \`config.log' for more details.
" >&5
26388 echo "$as_me: error
: cannot compute sizeof
(boolean
)
26389 See \
`config.log' for more details." >&2;}
26390 { (exit 77); exit 77; }; }
26392 ac_cv_sizeof_boolean=0
26396 cat >conftest.$ac_ext <<_ACEOF
26399 cat confdefs.h >>conftest.$ac_ext
26400 cat >>conftest.$ac_ext <<_ACEOF
26401 /* end confdefs.h. */
26403 #undef HAVE_BOOLEAN
26405 #include <jpeglib.h>
26408 typedef boolean ac__type_sizeof_;
26409 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
26410 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
26412 #include <stdlib.h>
26417 FILE *f = fopen ("conftest.val", "w");
26420 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
26422 long int i = longval ();
26423 if (i != ((long int) (sizeof (ac__type_sizeof_))))
26425 fprintf (f, "%ld\n", i);
26429 unsigned long int i = ulongval ();
26430 if (i != ((long int) (sizeof (ac__type_sizeof_))))
26432 fprintf (f, "%lu\n", i);
26434 return ferror (f) || fclose (f) != 0;
26440 rm -f conftest$ac_exeext
26441 if { (ac_try="$ac_link"
26442 case "(($ac_try" in
26443 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
26444 *) ac_try_echo
=$ac_try;;
26446 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26447 (eval "$ac_link") 2>&5
26449 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26450 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
26451 { (case "(($ac_try" in
26452 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
26453 *) ac_try_echo=$ac_try;;
26455 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26456 (eval "$ac_try") 2>&5
26458 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26459 (exit $ac_status); }; }; then
26460 ac_cv_sizeof_boolean=`cat conftest.val
`
26462 echo "$as_me: program exited with status $ac_status" >&5
26463 echo "$as_me: failed program was:" >&5
26464 sed 's/^/| /' conftest.$ac_ext >&5
26466 ( exit $ac_status )
26467 if test "$ac_cv_type_boolean" = yes; then
26468 { { echo "$as_me:$LINENO: error: cannot compute sizeof (boolean)
26469 See \`config.log
' for more details." >&5
26470 echo "$as_me: error: cannot compute sizeof (boolean)
26471 See \`config.log' for more details.
" >&2;}
26472 { (exit 77); exit 77; }; }
26474 ac_cv_sizeof_boolean=0
26477 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
26481 { echo "$as_me:$LINENO: result
: $ac_cv_sizeof_boolean" >&5
26482 echo "${ECHO_T}$ac_cv_sizeof_boolean" >&6; }
26486 cat >>confdefs.h <<_ACEOF
26487 #define SIZEOF_BOOLEAN $ac_cv_sizeof_boolean
26491 cat >>confdefs.h <<_ACEOF
26492 #define wxHACK_BOOLEAN wxInt`expr 8 \* $ac_cv_sizeof_boolean`
26506 TIFF_PREREQ_LINKS=-lm
26507 if test "$wxUSE_LIBTIFF" != "no
" ; then
26508 cat >>confdefs.h <<\_ACEOF
26509 #define wxUSE_LIBTIFF 1
26513 if test "$wxUSE_LIBTIFF" = "sys
" -o "$wxUSE_LIBTIFF" = "yes" ; then
26514 if test "$wxUSE_LIBJPEG" = "sys
"; then
26515 TIFF_PREREQ_LINKS="$TIFF_PREREQ_LINKS $JPEG_LINK"
26517 if test "$wxUSE_ZLIB" = "sys
"; then
26518 TIFF_PREREQ_LINKS="$TIFF_PREREQ_LINKS $ZLIB_LINK"
26520 { echo "$as_me:$LINENO: checking
for tiffio.h
" >&5
26521 echo $ECHO_N "checking
for tiffio.h...
$ECHO_C" >&6; }
26522 if test "${ac_cv_header_tiffio_h+set}" = set; then
26523 echo $ECHO_N "(cached
) $ECHO_C" >&6
26525 cat >conftest.$ac_ext <<_ACEOF
26528 cat confdefs.h >>conftest.$ac_ext
26529 cat >>conftest.$ac_ext <<_ACEOF
26530 /* end confdefs.h. */
26534 #include <tiffio.h>
26536 rm -f conftest.$ac_objext
26537 if { (ac_try="$ac_compile"
26538 case "(($ac_try" in
26539 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26540 *) ac_try_echo=$ac_try;;
26542 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
26543 (eval "$ac_compile") 2>conftest.er1
26545 grep -v '^ *+' conftest.er1 >conftest.err
26547 cat conftest.err >&5
26548 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
26549 (exit $ac_status); } && {
26550 test -z "$ac_c_werror_flag" ||
26551 test ! -s conftest.err
26552 } && test -s conftest.$ac_objext; then
26553 ac_cv_header_tiffio_h=yes
26555 echo "$as_me: failed program was
:" >&5
26556 sed 's/^/| /' conftest.$ac_ext >&5
26558 ac_cv_header_tiffio_h=no
26561 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26563 { echo "$as_me:$LINENO: result
: $ac_cv_header_tiffio_h" >&5
26564 echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6; }
26565 if test $ac_cv_header_tiffio_h = yes; then
26567 { echo "$as_me:$LINENO: checking
for TIFFError
in -ltiff" >&5
26568 echo $ECHO_N "checking
for TIFFError
in -ltiff...
$ECHO_C" >&6; }
26569 if test "${ac_cv_lib_tiff_TIFFError+set}" = set; then
26570 echo $ECHO_N "(cached
) $ECHO_C" >&6
26572 ac_check_lib_save_LIBS=$LIBS
26573 LIBS="-ltiff $TIFF_PREREQ_LINKS $LIBS"
26574 cat >conftest.$ac_ext <<_ACEOF
26577 cat confdefs.h >>conftest.$ac_ext
26578 cat >>conftest.$ac_ext <<_ACEOF
26579 /* end confdefs.h. */
26581 /* Override any GCC internal prototype to avoid an error.
26582 Use char because int might match the return type of a GCC
26583 builtin and then its argument prototype would still apply. */
26591 return TIFFError ();
26596 rm -f conftest.$ac_objext conftest$ac_exeext
26597 if { (ac_try="$ac_link"
26598 case "(($ac_try" in
26599 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26600 *) ac_try_echo=$ac_try;;
26602 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
26603 (eval "$ac_link") 2>conftest.er1
26605 grep -v '^ *+' conftest.er1 >conftest.err
26607 cat conftest.err >&5
26608 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
26609 (exit $ac_status); } && {
26610 test -z "$ac_c_werror_flag" ||
26611 test ! -s conftest.err
26612 } && test -s conftest$ac_exeext &&
26613 $as_test_x conftest$ac_exeext; then
26614 ac_cv_lib_tiff_TIFFError=yes
26616 echo "$as_me: failed program was
:" >&5
26617 sed 's/^/| /' conftest.$ac_ext >&5
26619 ac_cv_lib_tiff_TIFFError=no
26622 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26623 conftest$ac_exeext conftest.$ac_ext
26624 LIBS=$ac_check_lib_save_LIBS
26626 { echo "$as_me:$LINENO: result
: $ac_cv_lib_tiff_TIFFError" >&5
26627 echo "${ECHO_T}$ac_cv_lib_tiff_TIFFError" >&6; }
26628 if test $ac_cv_lib_tiff_TIFFError = yes; then
26629 TIFF_LINK=" -ltiff"
26637 if test "x
$TIFF_LINK" = "x
" ; then
26638 if test "$wxUSE_LIBTIFF" = "sys
" ; then
26639 { { echo "$as_me:$LINENO: error
: system tiff library not found
! Use
--with-libtiff=builtin to use built
-in version
" >&5
26640 echo "$as_me: error
: system tiff library not found
! Use
--with-libtiff=builtin to use built
-in version
" >&2;}
26641 { (exit 1); exit 1; }; }
26643 { echo "$as_me:$LINENO: WARNING
: system tiff library not found
, will use built
-in instead
" >&5
26644 echo "$as_me: WARNING
: system tiff library not found
, will use built
-in instead
" >&2;}
26645 wxUSE_LIBTIFF=builtin
26654 if test "$wxUSE_WCHAR_T" != "yes"; then
26655 if test "$wxUSE_EXPAT" != "no
"; then
26656 { echo "$as_me:$LINENO: WARNING
: wxWidgets requires wchar_t to use expat
, disabling
" >&5
26657 echo "$as_me: WARNING
: wxWidgets requires wchar_t to use expat
, disabling
" >&2;}
26660 if test "$wxUSE_XML" != "no
"; then
26661 { echo "$as_me:$LINENO: WARNING
: wxWidgets requires wchar_t to use xml
, disabling
" >&5
26662 echo "$as_me: WARNING
: wxWidgets requires wchar_t to use xml
, disabling
" >&2;}
26667 if test "$wxUSE_EXPAT" != "no
"; then
26669 cat >>confdefs.h <<\_ACEOF
26670 #define wxUSE_EXPAT 1
26673 cat >>confdefs.h <<\_ACEOF
26674 #define wxUSE_XML 1
26678 if test "$wxUSE_EXPAT" = "sys
" -o "$wxUSE_EXPAT" = "yes" ; then
26679 { echo "$as_me:$LINENO: checking
for expat.h
" >&5
26680 echo $ECHO_N "checking
for expat.h...
$ECHO_C" >&6; }
26681 if test "${ac_cv_header_expat_h+set}" = set; then
26682 echo $ECHO_N "(cached
) $ECHO_C" >&6
26684 cat >conftest.$ac_ext <<_ACEOF
26687 cat confdefs.h >>conftest.$ac_ext
26688 cat >>conftest.$ac_ext <<_ACEOF
26689 /* end confdefs.h. */
26694 rm -f conftest.$ac_objext
26695 if { (ac_try="$ac_compile"
26696 case "(($ac_try" in
26697 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26698 *) ac_try_echo=$ac_try;;
26700 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
26701 (eval "$ac_compile") 2>conftest.er1
26703 grep -v '^ *+' conftest.er1 >conftest.err
26705 cat conftest.err >&5
26706 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
26707 (exit $ac_status); } && {
26708 test -z "$ac_c_werror_flag" ||
26709 test ! -s conftest.err
26710 } && test -s conftest.$ac_objext; then
26711 ac_cv_header_expat_h=yes
26713 echo "$as_me: failed program was
:" >&5
26714 sed 's/^/| /' conftest.$ac_ext >&5
26716 ac_cv_header_expat_h=no
26719 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26721 { echo "$as_me:$LINENO: result
: $ac_cv_header_expat_h" >&5
26722 echo "${ECHO_T}$ac_cv_header_expat_h" >&6; }
26723 if test $ac_cv_header_expat_h = yes; then
26728 if test "x
$found_expat_h" = "x1
"; then
26729 { echo "$as_me:$LINENO: checking
if expat.h is valid C
++ header
" >&5
26730 echo $ECHO_N "checking
if expat.h is valid C
++ header...
$ECHO_C" >&6; }
26731 if test "${wx_cv_expat_is_not_broken+set}" = set; then
26732 echo $ECHO_N "(cached
) $ECHO_C" >&6
26736 ac_cpp='$CXXCPP $CPPFLAGS'
26737 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26738 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26739 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26741 cat >conftest.$ac_ext <<_ACEOF
26744 cat confdefs.h >>conftest.$ac_ext
26745 cat >>conftest.$ac_ext <<_ACEOF
26746 /* end confdefs.h. */
26756 rm -f conftest.$ac_objext
26757 if { (ac_try="$ac_compile"
26758 case "(($ac_try" in
26759 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26760 *) ac_try_echo=$ac_try;;
26762 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
26763 (eval "$ac_compile") 2>conftest.er1
26765 grep -v '^ *+' conftest.er1 >conftest.err
26767 cat conftest.err >&5
26768 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
26769 (exit $ac_status); } && {
26770 test -z "$ac_cxx_werror_flag" ||
26771 test ! -s conftest.err
26772 } && test -s conftest.$ac_objext; then
26773 wx_cv_expat_is_not_broken=yes
26775 echo "$as_me: failed program was
:" >&5
26776 sed 's/^/| /' conftest.$ac_ext >&5
26778 wx_cv_expat_is_not_broken=no
26782 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26784 ac_cpp='$CPP $CPPFLAGS'
26785 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26786 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26787 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26792 { echo "$as_me:$LINENO: result
: $wx_cv_expat_is_not_broken" >&5
26793 echo "${ECHO_T}$wx_cv_expat_is_not_broken" >&6; }
26794 if test "$wx_cv_expat_is_not_broken" = "yes" ; then
26795 { echo "$as_me:$LINENO: checking
for XML_ParserCreate
in -lexpat" >&5
26796 echo $ECHO_N "checking
for XML_ParserCreate
in -lexpat...
$ECHO_C" >&6; }
26797 if test "${ac_cv_lib_expat_XML_ParserCreate+set}" = set; then
26798 echo $ECHO_N "(cached
) $ECHO_C" >&6
26800 ac_check_lib_save_LIBS=$LIBS
26801 LIBS="-lexpat $LIBS"
26802 cat >conftest.$ac_ext <<_ACEOF
26805 cat confdefs.h >>conftest.$ac_ext
26806 cat >>conftest.$ac_ext <<_ACEOF
26807 /* end confdefs.h. */
26809 /* Override any GCC internal prototype to avoid an error.
26810 Use char because int might match the return type of a GCC
26811 builtin and then its argument prototype would still apply. */
26815 char XML_ParserCreate ();
26819 return XML_ParserCreate ();
26824 rm -f conftest.$ac_objext conftest$ac_exeext
26825 if { (ac_try="$ac_link"
26826 case "(($ac_try" in
26827 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26828 *) ac_try_echo=$ac_try;;
26830 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
26831 (eval "$ac_link") 2>conftest.er1
26833 grep -v '^ *+' conftest.er1 >conftest.err
26835 cat conftest.err >&5
26836 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
26837 (exit $ac_status); } && {
26838 test -z "$ac_c_werror_flag" ||
26839 test ! -s conftest.err
26840 } && test -s conftest$ac_exeext &&
26841 $as_test_x conftest$ac_exeext; then
26842 ac_cv_lib_expat_XML_ParserCreate=yes
26844 echo "$as_me: failed program was
:" >&5
26845 sed 's/^/| /' conftest.$ac_ext >&5
26847 ac_cv_lib_expat_XML_ParserCreate=no
26850 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26851 conftest$ac_exeext conftest.$ac_ext
26852 LIBS=$ac_check_lib_save_LIBS
26854 { echo "$as_me:$LINENO: result
: $ac_cv_lib_expat_XML_ParserCreate" >&5
26855 echo "${ECHO_T}$ac_cv_lib_expat_XML_ParserCreate" >&6; }
26856 if test $ac_cv_lib_expat_XML_ParserCreate = yes; then
26857 EXPAT_LINK=" -lexpat"
26862 if test "x
$EXPAT_LINK" = "x
" ; then
26863 if test "$wxUSE_EXPAT" = "sys
" ; then
26864 { { echo "$as_me:$LINENO: error
: system expat library not found
! Use
--with-expat=builtin to use built
-in version
" >&5
26865 echo "$as_me: error
: system expat library not found
! Use
--with-expat=builtin to use built
-in version
" >&2;}
26866 { (exit 1); exit 1; }; }
26868 { echo "$as_me:$LINENO: WARNING
: system expat library not found
, will use built
-in instead
" >&5
26869 echo "$as_me: WARNING
: system expat library not found
, will use built
-in instead
" >&2;}
26870 wxUSE_EXPAT=builtin
26876 if test "$wxUSE_EXPAT" = "builtin" ; then
26877 subdirs="$subdirs src
/expat
"
26884 if test "$wxUSE_LIBMSPACK" != "no
"; then
26885 { echo "$as_me:$LINENO: checking
for mspack.h
" >&5
26886 echo $ECHO_N "checking
for mspack.h...
$ECHO_C" >&6; }
26887 if test "${ac_cv_header_mspack_h+set}" = set; then
26888 echo $ECHO_N "(cached
) $ECHO_C" >&6
26890 cat >conftest.$ac_ext <<_ACEOF
26893 cat confdefs.h >>conftest.$ac_ext
26894 cat >>conftest.$ac_ext <<_ACEOF
26895 /* end confdefs.h. */
26898 #include <mspack.h>
26900 rm -f conftest.$ac_objext
26901 if { (ac_try="$ac_compile"
26902 case "(($ac_try" in
26903 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26904 *) ac_try_echo=$ac_try;;
26906 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
26907 (eval "$ac_compile") 2>conftest.er1
26909 grep -v '^ *+' conftest.er1 >conftest.err
26911 cat conftest.err >&5
26912 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
26913 (exit $ac_status); } && {
26914 test -z "$ac_c_werror_flag" ||
26915 test ! -s conftest.err
26916 } && test -s conftest.$ac_objext; then
26917 ac_cv_header_mspack_h=yes
26919 echo "$as_me: failed program was
:" >&5
26920 sed 's/^/| /' conftest.$ac_ext >&5
26922 ac_cv_header_mspack_h=no
26925 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26927 { echo "$as_me:$LINENO: result
: $ac_cv_header_mspack_h" >&5
26928 echo "${ECHO_T}$ac_cv_header_mspack_h" >&6; }
26929 if test $ac_cv_header_mspack_h = yes; then
26934 if test "x
$found_mspack_h" = "x1
"; then
26935 { echo "$as_me:$LINENO: checking
for mspack_create_chm_decompressor
in -lmspack" >&5
26936 echo $ECHO_N "checking
for mspack_create_chm_decompressor
in -lmspack...
$ECHO_C" >&6; }
26937 if test "${ac_cv_lib_mspack_mspack_create_chm_decompressor+set}" = set; then
26938 echo $ECHO_N "(cached
) $ECHO_C" >&6
26940 ac_check_lib_save_LIBS=$LIBS
26941 LIBS="-lmspack $LIBS"
26942 cat >conftest.$ac_ext <<_ACEOF
26945 cat confdefs.h >>conftest.$ac_ext
26946 cat >>conftest.$ac_ext <<_ACEOF
26947 /* end confdefs.h. */
26949 /* Override any GCC internal prototype to avoid an error.
26950 Use char because int might match the return type of a GCC
26951 builtin and then its argument prototype would still apply. */
26955 char mspack_create_chm_decompressor ();
26959 return mspack_create_chm_decompressor ();
26964 rm -f conftest.$ac_objext conftest$ac_exeext
26965 if { (ac_try="$ac_link"
26966 case "(($ac_try" in
26967 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26968 *) ac_try_echo=$ac_try;;
26970 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
26971 (eval "$ac_link") 2>conftest.er1
26973 grep -v '^ *+' conftest.er1 >conftest.err
26975 cat conftest.err >&5
26976 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
26977 (exit $ac_status); } && {
26978 test -z "$ac_c_werror_flag" ||
26979 test ! -s conftest.err
26980 } && test -s conftest$ac_exeext &&
26981 $as_test_x conftest$ac_exeext; then
26982 ac_cv_lib_mspack_mspack_create_chm_decompressor=yes
26984 echo "$as_me: failed program was
:" >&5
26985 sed 's/^/| /' conftest.$ac_ext >&5
26987 ac_cv_lib_mspack_mspack_create_chm_decompressor=no
26990 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26991 conftest$ac_exeext conftest.$ac_ext
26992 LIBS=$ac_check_lib_save_LIBS
26994 { echo "$as_me:$LINENO: result
: $ac_cv_lib_mspack_mspack_create_chm_decompressor" >&5
26995 echo "${ECHO_T}$ac_cv_lib_mspack_mspack_create_chm_decompressor" >&6; }
26996 if test $ac_cv_lib_mspack_mspack_create_chm_decompressor = yes; then
26997 MSPACK_LINK=" -lmspack"
27001 if test "x
$MSPACK_LINK" = "x
" ; then
27006 if test "$wxUSE_LIBMSPACK" != "no
"; then
27007 cat >>confdefs.h <<\_ACEOF
27008 #define wxUSE_LIBMSPACK 1
27022 if test "$USE_WIN32" = 1 ; then
27023 { echo "$as_me:$LINENO: checking
for w32api.h
" >&5
27024 echo $ECHO_N "checking
for w32api.h...
$ECHO_C" >&6; }
27025 if test "${ac_cv_header_w32api_h+set}" = set; then
27026 echo $ECHO_N "(cached
) $ECHO_C" >&6
27028 cat >conftest.$ac_ext <<_ACEOF
27031 cat confdefs.h >>conftest.$ac_ext
27032 cat >>conftest.$ac_ext <<_ACEOF
27033 /* end confdefs.h. */
27036 #include <w32api.h>
27038 rm -f conftest.$ac_objext
27039 if { (ac_try="$ac_compile"
27040 case "(($ac_try" in
27041 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27042 *) ac_try_echo=$ac_try;;
27044 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
27045 (eval "$ac_compile") 2>conftest.er1
27047 grep -v '^ *+' conftest.er1 >conftest.err
27049 cat conftest.err >&5
27050 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
27051 (exit $ac_status); } && {
27052 test -z "$ac_c_werror_flag" ||
27053 test ! -s conftest.err
27054 } && test -s conftest.$ac_objext; then
27055 ac_cv_header_w32api_h=yes
27057 echo "$as_me: failed program was
:" >&5
27058 sed 's/^/| /' conftest.$ac_ext >&5
27060 ac_cv_header_w32api_h=no
27063 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27065 { echo "$as_me:$LINENO: result
: $ac_cv_header_w32api_h" >&5
27066 echo "${ECHO_T}$ac_cv_header_w32api_h" >&6; }
27069 { echo "$as_me:$LINENO: checking
for windows.h
" >&5
27070 echo $ECHO_N "checking
for windows.h...
$ECHO_C" >&6; }
27071 if test "${ac_cv_header_windows_h+set}" = set; then
27072 echo $ECHO_N "(cached
) $ECHO_C" >&6
27074 cat >conftest.$ac_ext <<_ACEOF
27077 cat confdefs.h >>conftest.$ac_ext
27078 cat >>conftest.$ac_ext <<_ACEOF
27079 /* end confdefs.h. */
27082 #include <windows.h>
27084 rm -f conftest.$ac_objext
27085 if { (ac_try="$ac_compile"
27086 case "(($ac_try" in
27087 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27088 *) ac_try_echo=$ac_try;;
27090 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
27091 (eval "$ac_compile") 2>conftest.er1
27093 grep -v '^ *+' conftest.er1 >conftest.err
27095 cat conftest.err >&5
27096 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
27097 (exit $ac_status); } && {
27098 test -z "$ac_c_werror_flag" ||
27099 test ! -s conftest.err
27100 } && test -s conftest.$ac_objext; then
27101 ac_cv_header_windows_h=yes
27103 echo "$as_me: failed program was
:" >&5
27104 sed 's/^/| /' conftest.$ac_ext >&5
27106 ac_cv_header_windows_h=no
27109 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27111 { echo "$as_me:$LINENO: result
: $ac_cv_header_windows_h" >&5
27112 echo "${ECHO_T}$ac_cv_header_windows_h" >&6; }
27113 if test $ac_cv_header_windows_h = yes; then
27117 { { echo "$as_me:$LINENO: error
: please
set CFLAGS to contain the location of windows.h
" >&5
27118 echo "$as_me: error
: please
set CFLAGS to contain the location of windows.h
" >&2;}
27119 { (exit 1); exit 1; }; }
27125 LIBS="$LIBS -lwinspool -lwinmm -lshell32 -lcomctl32 -lcomdlg32 -lctl3d32 -ladvapi32 -lwsock32 -lgdi32"
27127 if test "$wxUSE_ACCESSIBILITY" = "yes" ; then
27128 LIBS="$LIBS -loleacc"
27133 LIBS="$LIBS -lkernel32 -luser32"
27136 if test "$wxUSE_ODBC" = "sys
" ; then
27139 if test "$wxUSE_ODBC" = "yes" ; then
27140 LIBS=" -lodbc32 -lole32 -loleaut32 $LIBS"
27141 cat >>confdefs.h <<\_ACEOF
27142 #define wxUSE_ODBC 1
27147 RESFLAGS="--include-dir \
$(top_srcdir)/include
--include-dir \
$(top_srcdir)/\
$(program_dir) --define __WIN32__
--define __WIN95__
--define __GNUWIN32__
"
27148 RESPROGRAMOBJ="\
$(PROGRAM)_resources.o
"
27150 WXCONFIG_RESFLAGS="--define __WIN32__
--define __WIN95__
--define __GNUWIN32__
"
27152 WIN32INSTALL=win32install
27154 { echo "$as_me:$LINENO: checking
for pbt.h
" >&5
27155 echo $ECHO_N "checking
for pbt.h...
$ECHO_C" >&6; }
27156 if test "${ac_cv_header_pbt_h+set}" = set; then
27157 echo $ECHO_N "(cached
) $ECHO_C" >&6
27159 cat >conftest.$ac_ext <<_ACEOF
27162 cat confdefs.h >>conftest.$ac_ext
27163 cat >>conftest.$ac_ext <<_ACEOF
27164 /* end confdefs.h. */
27169 rm -f conftest.$ac_objext
27170 if { (ac_try="$ac_compile"
27171 case "(($ac_try" in
27172 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27173 *) ac_try_echo=$ac_try;;
27175 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
27176 (eval "$ac_compile") 2>conftest.er1
27178 grep -v '^ *+' conftest.er1 >conftest.err
27180 cat conftest.err >&5
27181 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
27182 (exit $ac_status); } && {
27183 test -z "$ac_c_werror_flag" ||
27184 test ! -s conftest.err
27185 } && test -s conftest.$ac_objext; then
27186 ac_cv_header_pbt_h=yes
27188 echo "$as_me: failed program was
:" >&5
27189 sed 's/^/| /' conftest.$ac_ext >&5
27191 ac_cv_header_pbt_h=no
27194 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27196 { echo "$as_me:$LINENO: result
: $ac_cv_header_pbt_h" >&5
27197 echo "${ECHO_T}$ac_cv_header_pbt_h" >&6; }
27198 if test $ac_cv_header_pbt_h = yes; then
27201 cat >>confdefs.h <<\_ACEOF
27202 #define NEED_PBT_H 1
27210 if test "$wxUSE_GUI" = "yes"; then
27220 if test "$wxUSE_COCOA" = 1 ; then
27221 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes"; then
27222 { echo "$as_me:$LINENO: WARNING
: Printing not supported under wxCocoa yet
, disabled
" >&5
27223 echo "$as_me: WARNING
: Printing not supported under wxCocoa yet
, disabled
" >&2;}
27224 wxUSE_PRINTING_ARCHITECTURE=no
27226 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
27227 { echo "$as_me:$LINENO: WARNING
: Drag and Drop not supported under wxCocoa yet
, disabled
" >&5
27228 echo "$as_me: WARNING
: Drag and Drop not supported under wxCocoa yet
, disabled
" >&2;}
27229 wxUSE_DRAG_AND_DROP=no
27231 if test "$wxUSE_DRAGIMAGE" = "yes"; then
27232 { echo "$as_me:$LINENO: WARNING
: wxDragImage not supported under wxCocoa yet
, disabled
" >&5
27233 echo "$as_me: WARNING
: wxDragImage not supported under wxCocoa yet
, disabled
" >&2;}
27238 if test "$wxUSE_MSW" = 1 ; then
27244 WXCONFIG_LDFLAGS_GUI="$LDFLAGS -Wl,--subsystem,windows
-mwindows"
27248 if test "$wxUSE_GTK" = 1; then
27249 { echo "$as_me:$LINENO: checking
for GTK
+ version
" >&5
27250 echo $ECHO_N "checking
for GTK
+ version...
$ECHO_C" >&6; }
27252 gtk_version_cached=1
27253 if test "${wx_cv_lib_gtk+set}" = set; then
27254 echo $ECHO_N "(cached
) $ECHO_C" >&6
27257 gtk_version_cached=0
27258 { echo "$as_me:$LINENO: result
: " >&5
27259 echo "${ECHO_T}" >&6; }
27262 if test "$wxUSE_THREADS" = "yes"; then
27263 GTK_MODULES=gthread
27267 if test "x
$wxGTK_VERSION" != "x1
"
27271 if test "$wxUSE_THREADS" = "yes" -a "$GCC" = yes; then
27276 # Check whether --enable-gtktest was given.
27277 if test "${enable_gtktest+set}" = set; then
27278 enableval=$enable_gtktest;
27284 pkg_config_args=gtk+-2.0
27285 for module in . $GTK_MODULES
27289 pkg_config_args="$pkg_config_args gthread
-2.0
"
27296 # Extract the first word of "pkg
-config", so it can be a program name with args.
27297 set dummy pkg-config; ac_word=$2
27298 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
27299 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
27300 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
27301 echo $ECHO_N "(cached
) $ECHO_C" >&6
27303 case $PKG_CONFIG in
27305 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
27308 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
27309 for as_dir in $PATH
27312 test -z "$as_dir" && as_dir=.
27313 for ac_exec_ext in '' $ac_executable_extensions; do
27314 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
27315 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
27316 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
27323 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no
"
27327 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
27328 if test -n "$PKG_CONFIG"; then
27329 { echo "$as_me:$LINENO: result
: $PKG_CONFIG" >&5
27330 echo "${ECHO_T}$PKG_CONFIG" >&6; }
27332 { echo "$as_me:$LINENO: result
: no
" >&5
27333 echo "${ECHO_T}no
" >&6; }
27338 if test x$PKG_CONFIG != xno ; then
27339 if pkg-config --atleast-pkgconfig-version 0.7 ; then
27342 echo "*** pkg
-config too old
; version
0.7 or better required.
"
27350 min_gtk_version=2.0.0
27351 { echo "$as_me:$LINENO: checking
for GTK
+ - version
>= $min_gtk_version" >&5
27352 echo $ECHO_N "checking
for GTK
+ - version
>= $min_gtk_version...
$ECHO_C" >&6; }
27354 if test x$PKG_CONFIG != xno ; then
27355 ## don't try to run the test against uninstalled libtool libs
27356 if $PKG_CONFIG --uninstalled $pkg_config_args; then
27357 echo "Will use uninstalled version of GTK
+ found
in PKG_CONFIG_PATH
"
27361 if $PKG_CONFIG --atleast-version $min_gtk_version $pkg_config_args; then
27368 if test x"$no_gtk" = x ; then
27369 GTK_CFLAGS=`$PKG_CONFIG $pkg_config_args --cflags`
27370 GTK_LIBS=`$PKG_CONFIG $pkg_config_args --libs`
27371 gtk_config_major_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
27372 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
27373 gtk_config_minor_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
27374 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
27375 gtk_config_micro_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
27376 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
27377 if test "x
$enable_gtktest" = "xyes
" ; then
27378 ac_save_CFLAGS="$CFLAGS"
27379 ac_save_LIBS="$LIBS"
27380 CFLAGS="$CFLAGS $GTK_CFLAGS"
27381 LIBS="$GTK_LIBS $LIBS"
27383 if test "$cross_compiling" = yes; then
27384 echo $ac_n "cross compiling
; assumed OK...
$ac_c"
27386 cat >conftest.$ac_ext <<_ACEOF
27389 cat confdefs.h >>conftest.$ac_ext
27390 cat >>conftest.$ac_ext <<_ACEOF
27391 /* end confdefs.h. */
27393 #include <gtk/gtk.h>
27395 #include <stdlib.h>
27400 int major, minor, micro;
27403 system ("touch conf.gtktest
");
27405 /* HP/UX 9 (%@#!) writes to sscanf strings */
27406 tmp_version = g_strdup("$min_gtk_version");
27407 if (sscanf(tmp_version, "%d.
%d.
%d
", &major, &minor, µ) != 3) {
27408 printf("%s
, bad version string
\n", "$min_gtk_version");
27412 if ((gtk_major_version != $gtk_config_major_version) ||
27413 (gtk_minor_version != $gtk_config_minor_version) ||
27414 (gtk_micro_version != $gtk_config_micro_version))
27416 printf("\n*** 'pkg-config --modversion gtk+-2.0' returned
%d.
%d.
%d
, but GTK
+ (%d.
%d.
%d
)\n",
27417 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
27418 gtk_major_version, gtk_minor_version, gtk_micro_version);
27419 printf ("*** was found
! If pkg
-config was correct
, then it is best
\n");
27420 printf ("*** to remove the old version of GTK
+. You may also be able to fix the error
\n");
27421 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable
, or by editing
\n");
27422 printf("*** /etc
/ld.so.conf. Make sure you have run ldconfig
if that is
\n");
27423 printf("*** required on your system.
\n");
27424 printf("*** If pkg
-config was wrong
, set the environment variable PKG_CONFIG_PATH
\n");
27425 printf("*** to point to the correct configuration files
\n");
27427 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
27428 (gtk_minor_version != GTK_MINOR_VERSION) ||
27429 (gtk_micro_version != GTK_MICRO_VERSION))
27431 printf("*** GTK
+ header files
(version
%d.
%d.
%d
) do not match
\n",
27432 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
27433 printf("*** library
(version
%d.
%d.
%d
)\n",
27434 gtk_major_version, gtk_minor_version, gtk_micro_version);
27438 if ((gtk_major_version > major) ||
27439 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
27440 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
27446 printf("\n*** An old version of GTK
+ (%d.
%d.
%d
) was found.
\n",
27447 gtk_major_version, gtk_minor_version, gtk_micro_version);
27448 printf("*** You need a version of GTK
+ newer than
%d.
%d.
%d. The latest version of
\n",
27449 major, minor, micro);
27450 printf("*** GTK
+ is always available from
ftp://ftp.gtk.org.
\n");
27452 printf("*** If you have already installed a sufficiently new version
, this error
\n");
27453 printf("*** probably means that the wrong copy of the pkg
-config shell
script is
\n");
27454 printf("*** being found. The easiest way to fix this is to remove the old version
\n");
27455 printf("*** of GTK
+, but you can also
set the PKG_CONFIG environment to point to the
\n");
27456 printf("*** correct copy of pkg
-config.
(In this
case, you will have to
\n");
27457 printf("*** modify your LD_LIBRARY_PATH enviroment variable
, or edit
/etc
/ld.so.conf
\n");
27458 printf("*** so that the correct libraries are found
at run
-time))\n");
27465 rm -f conftest$ac_exeext
27466 if { (ac_try="$ac_link"
27467 case "(($ac_try" in
27468 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27469 *) ac_try_echo=$ac_try;;
27471 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
27472 (eval "$ac_link") 2>&5
27474 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
27475 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
27476 { (case "(($ac_try" in
27477 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27478 *) ac_try_echo=$ac_try;;
27480 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
27481 (eval "$ac_try") 2>&5
27483 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
27484 (exit $ac_status); }; }; then
27487 echo "$as_me: program exited with status
$ac_status" >&5
27488 echo "$as_me: failed program was
:" >&5
27489 sed 's/^/| /' conftest.$ac_ext >&5
27491 ( exit $ac_status )
27494 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
27498 CFLAGS="$ac_save_CFLAGS"
27499 LIBS="$ac_save_LIBS"
27502 if test "x
$no_gtk" = x ; then
27503 { echo "$as_me:$LINENO: result
: yes (version
$gtk_config_major_version.
$gtk_config_minor_version.
$gtk_config_micro_version)" >&5
27504 echo "${ECHO_T}yes (version
$gtk_config_major_version.
$gtk_config_minor_version.
$gtk_config_micro_version)" >&6; }
27507 { echo "$as_me:$LINENO: result
: no
" >&5
27508 echo "${ECHO_T}no
" >&6; }
27509 if test "$PKG_CONFIG" = "no
" ; then
27510 echo "*** A new enough version of pkg
-config was not found.
"
27511 echo "*** See http
://pkgconfig.sourceforge.net
"
27513 if test -f conf.gtktest ; then
27516 echo "*** Could not run GTK
+ test program
, checking why...
"
27517 ac_save_CFLAGS="$CFLAGS"
27518 ac_save_LIBS="$LIBS"
27519 CFLAGS="$CFLAGS $GTK_CFLAGS"
27520 LIBS="$LIBS $GTK_LIBS"
27521 cat >conftest.$ac_ext <<_ACEOF
27524 cat confdefs.h >>conftest.$ac_ext
27525 cat >>conftest.$ac_ext <<_ACEOF
27526 /* end confdefs.h. */
27528 #include <gtk/gtk.h>
27534 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
27539 rm -f conftest.$ac_objext conftest$ac_exeext
27540 if { (ac_try="$ac_link"
27541 case "(($ac_try" in
27542 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27543 *) ac_try_echo=$ac_try;;
27545 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
27546 (eval "$ac_link") 2>conftest.er1
27548 grep -v '^ *+' conftest.er1 >conftest.err
27550 cat conftest.err >&5
27551 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
27552 (exit $ac_status); } && {
27553 test -z "$ac_c_werror_flag" ||
27554 test ! -s conftest.err
27555 } && test -s conftest$ac_exeext &&
27556 $as_test_x conftest$ac_exeext; then
27557 echo "*** The
test program compiled
, but did not run. This usually means
"
27558 echo "*** that the run
-time linker is not finding GTK
+ or finding the wrong
"
27559 echo "*** version of GTK
+. If it is not finding GTK
+, you
'll need to set your"
27560 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
27561 echo "*** to the installed location Also, make sure you have run ldconfig if that"
27562 echo "*** is required on your system"
27564 echo "*** If you have an old version installed, it is best to remove it, although"
27565 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
27567 echo "$as_me: failed program was:" >&5
27568 sed 's
/^
/| /' conftest.$ac_ext >&5
27570 echo "*** The test program failed to compile or link. See the file config.log for the"
27571 echo "*** exact error that occured. This usually means GTK+ is incorrectly installed."
27574 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27575 conftest$ac_exeext conftest.$ac_ext
27576 CFLAGS="$ac_save_CFLAGS"
27577 LIBS="$ac_save_LIBS"
27591 if test "$wxUSE_THREADS" = "yes" -a "$GCC" = yes; then
27592 GTK_CFLAGS=`echo $GTK_CFLAGS | sed 's
/-mt//'`
27593 GTK_LIBS=`echo $GTK_LIBS | sed 's
/-mt//'`
27595 if test "$wxUSE_SHARED" != "yes"; then
27596 GTK_LIBS="$GTK_LIBS -lX11"
27601 if test -z "$wx_cv_lib_gtk"; then
27602 if test "x$wxGTK_VERSION" = "x1" -o "x$wxGTK_VERSION" = "xany" ; then
27604 # Check whether --with-gtk-prefix was given.
27605 if test "${with_gtk_prefix+set}" = set; then
27606 withval=$with_gtk_prefix; gtk_config_prefix="$withval"
27608 gtk_config_prefix=""
27612 # Check whether --with-gtk-exec-prefix was given.
27613 if test "${with_gtk_exec_prefix+set}" = set; then
27614 withval=$with_gtk_exec_prefix; gtk_config_exec_prefix="$withval"
27616 gtk_config_exec_prefix=""
27619 # Check whether --enable-gtktest was given.
27620 if test "${enable_gtktest+set}" = set; then
27621 enableval=$enable_gtktest;
27627 for module in . $GTK_MODULES
27631 gtk_config_args="$gtk_config_args gthread"
27636 if test x$gtk_config_exec_prefix != x ; then
27637 gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
27638 if test x${GTK_CONFIG+set} != xset ; then
27639 GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
27642 if test x$gtk_config_prefix != x ; then
27643 gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
27644 if test x${GTK_CONFIG+set} != xset ; then
27645 GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
27649 # Extract the first word of "gtk-config", so it can be a program name with args.
27650 set dummy gtk-config; ac_word=$2
27651 { echo "$as_me:$LINENO: checking for $ac_word" >&5
27652 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
27653 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
27654 echo $ECHO_N "(cached) $ECHO_C" >&6
27656 case $GTK_CONFIG in
27658 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path.
27661 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
27662 for as_dir in $PATH
27665 test -z "$as_dir" && as_dir=.
27666 for ac_exec_ext in '' $ac_executable_extensions; do
27667 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
27668 ac_cv_path_GTK_CONFIG="$as_dir/$ac_word$ac_exec_ext"
27669 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
27676 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no"
27680 GTK_CONFIG=$ac_cv_path_GTK_CONFIG
27681 if test -n "$GTK_CONFIG"; then
27682 { echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
27683 echo "${ECHO_T}$GTK_CONFIG" >&6; }
27685 { echo "$as_me:$LINENO: result: no" >&5
27686 echo "${ECHO_T}no" >&6; }
27690 min_gtk_version=1.2.7
27691 { echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
27692 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6; }
27694 if test "$GTK_CONFIG" = "no" ; then
27697 GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags`
27698 GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs`
27699 gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \
27700 sed 's
/\
([0-9]*\
).\
([0-9]*\
).\
([0-9]*\
)/\
1/'`
27701 gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \
27702 sed 's
/\
([0-9]*\
).\
([0-9]*\
).\
([0-9]*\
)/\
2/'`
27703 gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \
27704 sed 's
/\
([0-9]*\
).\
([0-9]*\
).\
([0-9]*\
)/\
3/'`
27705 if test "x$enable_gtktest" = "xyes" ; then
27706 ac_save_CFLAGS="$CFLAGS"
27707 ac_save_LIBS="$LIBS"
27708 CFLAGS="$CFLAGS $GTK_CFLAGS"
27709 LIBS="$GTK_LIBS $LIBS"
27711 if test "$cross_compiling" = yes; then
27712 echo $ac_n "cross compiling; assumed OK... $ac_c"
27714 cat >conftest.$ac_ext <<_ACEOF
27717 cat confdefs.h >>conftest.$ac_ext
27718 cat >>conftest.$ac_ext <<_ACEOF
27719 /* end confdefs.h. */
27721 #include <gtk/gtk.h>
27723 #include <stdlib.h>
27728 int major, minor, micro;
27731 system ("touch conf.gtktest");
27733 /* HP/UX 9 (%@#!) writes to sscanf strings */
27734 tmp_version = g_strdup("$min_gtk_version");
27735 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
27736 printf("%s, bad version string\n", "$min_gtk_version");
27740 if ((gtk_major_version != $gtk_config_major_version) ||
27741 (gtk_minor_version != $gtk_config_minor_version) ||
27742 (gtk_micro_version != $gtk_config_micro_version))
27744 printf("\n*** 'gtk
-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
27745 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
27746 gtk_major_version, gtk_minor_version, gtk_micro_version);
27747 printf ("*** was found! If gtk-config was correct, then it is best\n");
27748 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
27749 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
27750 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
27751 printf("*** required on your system.\n");
27752 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
27753 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
27754 printf("*** before re-running configure\n");
27756 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
27757 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
27758 (gtk_minor_version != GTK_MINOR_VERSION) ||
27759 (gtk_micro_version != GTK_MICRO_VERSION))
27761 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
27762 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
27763 printf("*** library (version %d.%d.%d)\n",
27764 gtk_major_version, gtk_minor_version, gtk_micro_version);
27766 #endif /* defined (GTK_MAJOR_VERSION) ... */
27769 if ((gtk_major_version > major) ||
27770 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
27771 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
27777 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
27778 gtk_major_version, gtk_minor_version, gtk_micro_version);
27779 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
27780 major, minor, micro);
27781 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
27783 printf("*** If you have already installed a sufficiently new version, this error\n");
27784 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
27785 printf("*** being found. The easiest way to fix this is to remove the old version\n");
27786 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
27787 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
27788 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
27789 printf("*** so that the correct libraries are found at run-time))\n");
27796 rm -f conftest$ac_exeext
27797 if { (ac_try="$ac_link"
27798 case "(($ac_try" in
27799 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27800 *) ac_try_echo=$ac_try;;
27802 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27803 (eval "$ac_link") 2>&5
27805 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27806 (exit $ac_status); } && { ac_try='.
/conftest
$ac_exeext'
27807 { (case "(($ac_try" in
27808 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27809 *) ac_try_echo=$ac_try;;
27811 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27812 (eval "$ac_try") 2>&5
27814 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27815 (exit $ac_status); }; }; then
27818 echo "$as_me: program exited with status $ac_status" >&5
27819 echo "$as_me: failed program was:" >&5
27820 sed 's
/^
/| /' conftest.$ac_ext >&5
27822 ( exit $ac_status )
27825 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
27829 CFLAGS="$ac_save_CFLAGS"
27830 LIBS="$ac_save_LIBS"
27833 if test "x$no_gtk" = x ; then
27834 { echo "$as_me:$LINENO: result: yes" >&5
27835 echo "${ECHO_T}yes" >&6; }
27836 wx_cv_lib_gtk=1.2.7
27838 { echo "$as_me:$LINENO: result: no" >&5
27839 echo "${ECHO_T}no" >&6; }
27840 if test "$GTK_CONFIG" = "no" ; then
27841 echo "*** The gtk-config script installed by GTK could not be found"
27842 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
27843 echo "*** your path, or set the GTK_CONFIG environment variable to the"
27844 echo "*** full path to gtk-config."
27846 if test -f conf.gtktest ; then
27849 echo "*** Could not run GTK test program, checking why..."
27850 CFLAGS="$CFLAGS $GTK_CFLAGS"
27851 LIBS="$LIBS $GTK_LIBS"
27852 cat >conftest.$ac_ext <<_ACEOF
27855 cat confdefs.h >>conftest.$ac_ext
27856 cat >>conftest.$ac_ext <<_ACEOF
27857 /* end confdefs.h. */
27859 #include <gtk/gtk.h>
27865 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
27870 rm -f conftest.$ac_objext conftest$ac_exeext
27871 if { (ac_try="$ac_link"
27872 case "(($ac_try" in
27873 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27874 *) ac_try_echo=$ac_try;;
27876 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27877 (eval "$ac_link") 2>conftest.er1
27879 grep -v '^
*+' conftest.er1 >conftest.err
27881 cat conftest.err >&5
27882 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27883 (exit $ac_status); } && {
27884 test -z "$ac_c_werror_flag" ||
27885 test ! -s conftest.err
27886 } && test -s conftest$ac_exeext &&
27887 $as_test_x conftest$ac_exeext; then
27888 echo "*** The test program compiled, but did not run. This usually means"
27889 echo "*** that the run-time linker is not finding GTK or finding the wrong"
27890 echo "*** version of GTK. If it is not finding GTK, you'll need to
set your
"
27891 echo "*** LD_LIBRARY_PATH environment variable
, or edit
/etc
/ld.so.conf to point
"
27892 echo "*** to the installed location Also
, make sure you have run ldconfig
if that
"
27893 echo "*** is required on your system
"
27895 echo "*** If you have an old version installed
, it is best to remove it
, although
"
27896 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH
"
27898 echo "*** If you have a RedHat
5.0 system
, you should remove the GTK package that
"
27899 echo "*** came with the system with the
command"
27901 echo "*** rpm
--erase --nodeps gtk gtk
-devel"
27903 echo "$as_me: failed program was
:" >&5
27904 sed 's/^/| /' conftest.$ac_ext >&5
27906 echo "*** The
test program failed to compile or link. See the
file config.log
for the
"
27907 echo "*** exact error that occured. This usually means GTK was incorrectly installed
"
27908 echo "*** or that you have moved GTK since it was installed. In the latter
case, you
"
27909 echo "*** may want to edit the gtk
-config script: $GTK_CONFIG"
27912 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27913 conftest$ac_exeext conftest.$ac_ext
27914 CFLAGS="$ac_save_CFLAGS"
27915 LIBS="$ac_save_LIBS"
27927 if test -z "$wx_cv_lib_gtk"; then
27929 # Check whether --with-gtk-prefix was given.
27930 if test "${with_gtk_prefix+set}" = set; then
27931 withval=$with_gtk_prefix; gtk_config_prefix="$withval"
27933 gtk_config_prefix=""
27937 # Check whether --with-gtk-exec-prefix was given.
27938 if test "${with_gtk_exec_prefix+set}" = set; then
27939 withval=$with_gtk_exec_prefix; gtk_config_exec_prefix="$withval"
27941 gtk_config_exec_prefix=""
27944 # Check whether --enable-gtktest was given.
27945 if test "${enable_gtktest+set}" = set; then
27946 enableval=$enable_gtktest;
27952 for module in . $GTK_MODULES
27956 gtk_config_args="$gtk_config_args gthread
"
27961 if test x$gtk_config_exec_prefix != x ; then
27962 gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
27963 if test x${GTK_CONFIG+set} != xset ; then
27964 GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
27967 if test x$gtk_config_prefix != x ; then
27968 gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
27969 if test x${GTK_CONFIG+set} != xset ; then
27970 GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
27974 # Extract the first word of "gtk
-config", so it can be a program name with args.
27975 set dummy gtk-config; ac_word=$2
27976 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
27977 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
27978 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
27979 echo $ECHO_N "(cached
) $ECHO_C" >&6
27981 case $GTK_CONFIG in
27983 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path.
27986 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
27987 for as_dir in $PATH
27990 test -z "$as_dir" && as_dir=.
27991 for ac_exec_ext in '' $ac_executable_extensions; do
27992 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
27993 ac_cv_path_GTK_CONFIG="$as_dir/$ac_word$ac_exec_ext"
27994 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
28001 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no
"
28005 GTK_CONFIG=$ac_cv_path_GTK_CONFIG
28006 if test -n "$GTK_CONFIG"; then
28007 { echo "$as_me:$LINENO: result
: $GTK_CONFIG" >&5
28008 echo "${ECHO_T}$GTK_CONFIG" >&6; }
28010 { echo "$as_me:$LINENO: result
: no
" >&5
28011 echo "${ECHO_T}no
" >&6; }
28015 min_gtk_version=1.2.3
28016 { echo "$as_me:$LINENO: checking
for GTK
- version
>= $min_gtk_version" >&5
28017 echo $ECHO_N "checking
for GTK
- version
>= $min_gtk_version...
$ECHO_C" >&6; }
28019 if test "$GTK_CONFIG" = "no
" ; then
28022 GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags`
28023 GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs`
28024 gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \
28025 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
28026 gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \
28027 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
28028 gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \
28029 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
28030 if test "x
$enable_gtktest" = "xyes
" ; then
28031 ac_save_CFLAGS="$CFLAGS"
28032 ac_save_LIBS="$LIBS"
28033 CFLAGS="$CFLAGS $GTK_CFLAGS"
28034 LIBS="$GTK_LIBS $LIBS"
28036 if test "$cross_compiling" = yes; then
28037 echo $ac_n "cross compiling
; assumed OK...
$ac_c"
28039 cat >conftest.$ac_ext <<_ACEOF
28042 cat confdefs.h >>conftest.$ac_ext
28043 cat >>conftest.$ac_ext <<_ACEOF
28044 /* end confdefs.h. */
28046 #include <gtk/gtk.h>
28048 #include <stdlib.h>
28053 int major, minor, micro;
28056 system ("touch conf.gtktest
");
28058 /* HP/UX 9 (%@#!) writes to sscanf strings */
28059 tmp_version = g_strdup("$min_gtk_version");
28060 if (sscanf(tmp_version, "%d.
%d.
%d
", &major, &minor, µ) != 3) {
28061 printf("%s
, bad version string
\n", "$min_gtk_version");
28065 if ((gtk_major_version != $gtk_config_major_version) ||
28066 (gtk_minor_version != $gtk_config_minor_version) ||
28067 (gtk_micro_version != $gtk_config_micro_version))
28069 printf("\n*** 'gtk-config --version' returned
%d.
%d.
%d
, but GTK
+ (%d.
%d.
%d
)\n",
28070 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
28071 gtk_major_version, gtk_minor_version, gtk_micro_version);
28072 printf ("*** was found
! If gtk
-config was correct
, then it is best
\n");
28073 printf ("*** to remove the old version of GTK
+. You may also be able to fix the error
\n");
28074 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable
, or by editing
\n");
28075 printf("*** /etc
/ld.so.conf. Make sure you have run ldconfig
if that is
\n");
28076 printf("*** required on your system.
\n");
28077 printf("*** If gtk
-config was wrong
, set the environment variable GTK_CONFIG
\n");
28078 printf("*** to point to the correct copy of gtk
-config, and remove the
file config.cache
\n");
28079 printf("*** before re
-running configure
\n");
28081 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
28082 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
28083 (gtk_minor_version != GTK_MINOR_VERSION) ||
28084 (gtk_micro_version != GTK_MICRO_VERSION))
28086 printf("*** GTK
+ header files
(version
%d.
%d.
%d
) do not match
\n",
28087 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
28088 printf("*** library
(version
%d.
%d.
%d
)\n",
28089 gtk_major_version, gtk_minor_version, gtk_micro_version);
28091 #endif /* defined (GTK_MAJOR_VERSION) ... */
28094 if ((gtk_major_version > major) ||
28095 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
28096 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
28102 printf("\n*** An old version of GTK
+ (%d.
%d.
%d
) was found.
\n",
28103 gtk_major_version, gtk_minor_version, gtk_micro_version);
28104 printf("*** You need a version of GTK
+ newer than
%d.
%d.
%d. The latest version of
\n",
28105 major, minor, micro);
28106 printf("*** GTK
+ is always available from
ftp://ftp.gtk.org.
\n");
28108 printf("*** If you have already installed a sufficiently new version
, this error
\n");
28109 printf("*** probably means that the wrong copy of the gtk
-config shell
script is
\n");
28110 printf("*** being found. The easiest way to fix this is to remove the old version
\n");
28111 printf("*** of GTK
+, but you can also
set the GTK_CONFIG environment to point to the
\n");
28112 printf("*** correct copy of gtk
-config.
(In this
case, you will have to
\n");
28113 printf("*** modify your LD_LIBRARY_PATH enviroment variable
, or edit
/etc
/ld.so.conf
\n");
28114 printf("*** so that the correct libraries are found
at run
-time))\n");
28121 rm -f conftest$ac_exeext
28122 if { (ac_try="$ac_link"
28123 case "(($ac_try" in
28124 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28125 *) ac_try_echo=$ac_try;;
28127 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
28128 (eval "$ac_link") 2>&5
28130 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
28131 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
28132 { (case "(($ac_try" in
28133 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28134 *) ac_try_echo=$ac_try;;
28136 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
28137 (eval "$ac_try") 2>&5
28139 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
28140 (exit $ac_status); }; }; then
28143 echo "$as_me: program exited with status
$ac_status" >&5
28144 echo "$as_me: failed program was
:" >&5
28145 sed 's/^/| /' conftest.$ac_ext >&5
28147 ( exit $ac_status )
28150 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
28154 CFLAGS="$ac_save_CFLAGS"
28155 LIBS="$ac_save_LIBS"
28158 if test "x
$no_gtk" = x ; then
28159 { echo "$as_me:$LINENO: result
: yes" >&5
28160 echo "${ECHO_T}yes" >&6; }
28161 wx_cv_lib_gtk=1.2.3
28163 { echo "$as_me:$LINENO: result
: no
" >&5
28164 echo "${ECHO_T}no
" >&6; }
28165 if test "$GTK_CONFIG" = "no
" ; then
28166 echo "*** The gtk
-config script installed by GTK could not be found
"
28167 echo "*** If GTK was installed
in PREFIX
, make sure PREFIX
/bin is
in"
28168 echo "*** your path
, or
set the GTK_CONFIG environment variable to the
"
28169 echo "*** full path to gtk
-config.
"
28171 if test -f conf.gtktest ; then
28174 echo "*** Could not run GTK
test program
, checking why...
"
28175 CFLAGS="$CFLAGS $GTK_CFLAGS"
28176 LIBS="$LIBS $GTK_LIBS"
28177 cat >conftest.$ac_ext <<_ACEOF
28180 cat confdefs.h >>conftest.$ac_ext
28181 cat >>conftest.$ac_ext <<_ACEOF
28182 /* end confdefs.h. */
28184 #include <gtk/gtk.h>
28190 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
28195 rm -f conftest.$ac_objext conftest$ac_exeext
28196 if { (ac_try="$ac_link"
28197 case "(($ac_try" in
28198 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28199 *) ac_try_echo=$ac_try;;
28201 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
28202 (eval "$ac_link") 2>conftest.er1
28204 grep -v '^ *+' conftest.er1 >conftest.err
28206 cat conftest.err >&5
28207 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
28208 (exit $ac_status); } && {
28209 test -z "$ac_c_werror_flag" ||
28210 test ! -s conftest.err
28211 } && test -s conftest$ac_exeext &&
28212 $as_test_x conftest$ac_exeext; then
28213 echo "*** The
test program compiled
, but did not run. This usually means
"
28214 echo "*** that the run
-time linker is not finding GTK or finding the wrong
"
28215 echo "*** version of GTK. If it is not finding GTK
, you
'll need to set your"
28216 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
28217 echo "*** to the installed location Also, make sure you have run ldconfig if that"
28218 echo "*** is required on your system"
28220 echo "*** If you have an old version installed, it is best to remove it, although"
28221 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
28223 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
28224 echo "*** came with the system with the command"
28226 echo "*** rpm --erase --nodeps gtk gtk-devel"
28228 echo "$as_me: failed program was:" >&5
28229 sed 's
/^
/| /' conftest.$ac_ext >&5
28231 echo "*** The test program failed to compile or link. See the file config.log for the"
28232 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
28233 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
28234 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
28237 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28238 conftest$ac_exeext conftest.$ac_ext
28239 CFLAGS="$ac_save_CFLAGS"
28240 LIBS="$ac_save_LIBS"
28255 if test -z "$wx_cv_lib_gtk"; then
28258 wx_cv_cflags_gtk=$GTK_CFLAGS
28259 wx_cv_libs_gtk=`echo $GTK_LIBS | sed -e 's
/ -l[^
]*cairo
[^
]*//g
'`
28266 if test "$gtk_version_cached" = 1; then
28267 { echo "$as_me:$LINENO: result: $wx_cv_lib_gtk" >&5
28268 echo "${ECHO_T}$wx_cv_lib_gtk" >&6; }
28271 case "$wx_cv_lib_gtk" in
28280 *) { { echo "$as_me:$LINENO: error:
28281 The development files for GTK+ were not found. For GTK+ 2, please
28282 ensure that pkg-config is in the path and that gtk+-2.0.pc is
28283 installed. For GTK+ 1.2 please check that gtk-config is in the path,
28284 and that the version is 1.2.3 or above. Also check that the
28285 libraries returned by 'pkg
-config gtk
+-2.0
--libs' or 'gtk
-config
28286 --libs' are in the LD_LIBRARY_PATH or equivalent.
28288 echo "$as_me: error:
28289 The development files for GTK+ were not found. For GTK+ 2, please
28290 ensure that pkg-config is in the path and that gtk+-2.0.pc is
28291 installed. For GTK+ 1.2 please check that gtk-config is in the path,
28292 and that the version is 1.2.3 or above. Also check that the
28293 libraries returned by 'pkg
-config gtk
+-2.0
--libs' or 'gtk
-config
28294 --libs' are in the LD_LIBRARY_PATH or equivalent.
28296 { (exit 1); exit 1; }; }
28300 if test "$WXGTK20" = 1; then
28301 save_CFLAGS="$CFLAGS"
28303 CFLAGS="$wx_cv_cflags_gtk $CFLAGS"
28304 LIBS="$LIBS $wx_cv_libs_gtk"
28306 { echo "$as_me:$LINENO: checking whether gtk_icon_size_lookup is declared" >&5
28307 echo $ECHO_N "checking whether gtk_icon_size_lookup is declared... $ECHO_C" >&6; }
28308 if test "${ac_cv_have_decl_gtk_icon_size_lookup+set}" = set; then
28309 echo $ECHO_N "(cached) $ECHO_C" >&6
28311 cat >conftest.$ac_ext <<_ACEOF
28314 cat confdefs.h >>conftest.$ac_ext
28315 cat >>conftest.$ac_ext <<_ACEOF
28316 /* end confdefs.h. */
28317 #include <gtk/gtk.h>
28322 #ifndef gtk_icon_size_lookup
28323 (void) gtk_icon_size_lookup;
28330 rm -f conftest.$ac_objext
28331 if { (ac_try="$ac_compile"
28332 case "(($ac_try" in
28333 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28334 *) ac_try_echo=$ac_try;;
28336 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28337 (eval "$ac_compile") 2>conftest.er1
28339 grep -v '^
*+' conftest.er1 >conftest.err
28341 cat conftest.err >&5
28342 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28343 (exit $ac_status); } && {
28344 test -z "$ac_c_werror_flag" ||
28345 test ! -s conftest.err
28346 } && test -s conftest.$ac_objext; then
28347 ac_cv_have_decl_gtk_icon_size_lookup=yes
28349 echo "$as_me: failed program was:" >&5
28350 sed 's
/^
/| /' conftest.$ac_ext >&5
28352 ac_cv_have_decl_gtk_icon_size_lookup=no
28355 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28357 { echo "$as_me:$LINENO: result: $ac_cv_have_decl_gtk_icon_size_lookup" >&5
28358 echo "${ECHO_T}$ac_cv_have_decl_gtk_icon_size_lookup" >&6; }
28359 if test $ac_cv_have_decl_gtk_icon_size_lookup = yes; then
28361 cat >>confdefs.h <<_ACEOF
28362 #define HAVE_DECL_GTK_ICON_SIZE_LOOKUP 1
28367 cat >>confdefs.h <<_ACEOF
28368 #define HAVE_DECL_GTK_ICON_SIZE_LOOKUP 0
28371 cat >>confdefs.h <<\_ACEOF
28372 #define NEED_GTK_ICON_SIZE_LOOKUP 1
28380 { echo "$as_me:$LINENO: checking if GTK+ is version >= 2.10" >&5
28381 echo $ECHO_N "checking if GTK+ is version >= 2.10... $ECHO_C" >&6; }
28382 cat >conftest.$ac_ext <<_ACEOF
28385 cat confdefs.h >>conftest.$ac_ext
28386 cat >>conftest.$ac_ext <<_ACEOF
28387 /* end confdefs.h. */
28389 #include <gtk/gtk.h>
28395 #if !GTK_CHECK_VERSION(2,10,0)
28403 rm -f conftest.$ac_objext
28404 if { (ac_try="$ac_compile"
28405 case "(($ac_try" in
28406 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28407 *) ac_try_echo=$ac_try;;
28409 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28410 (eval "$ac_compile") 2>conftest.er1
28412 grep -v '^
*+' conftest.er1 >conftest.err
28414 cat conftest.err >&5
28415 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28416 (exit $ac_status); } && {
28417 test -z "$ac_c_werror_flag" ||
28418 test ! -s conftest.err
28419 } && test -s conftest.$ac_objext; then
28421 cat >>confdefs.h <<\_ACEOF
28422 #define __WXGTK210__ 1
28425 cat >>confdefs.h <<\_ACEOF
28426 #define __WXGTK26__ 1
28429 cat >>confdefs.h <<\_ACEOF
28430 #define __WXGTK24__ 1
28433 { echo "$as_me:$LINENO: result: yes" >&5
28434 echo "${ECHO_T}yes" >&6; }
28438 echo "$as_me: failed program was:" >&5
28439 sed 's
/^
/| /' conftest.$ac_ext >&5
28442 { echo "$as_me:$LINENO: result: no" >&5
28443 echo "${ECHO_T}no" >&6; }
28448 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28450 if test "$ac_wxgtk210" = 0; then
28451 { echo "$as_me:$LINENO: checking if GTK+ is version >= 2.6" >&5
28452 echo $ECHO_N "checking if GTK+ is version >= 2.6... $ECHO_C" >&6; }
28453 cat >conftest.$ac_ext <<_ACEOF
28456 cat confdefs.h >>conftest.$ac_ext
28457 cat >>conftest.$ac_ext <<_ACEOF
28458 /* end confdefs.h. */
28460 #include <gtk/gtk.h>
28466 #if !GTK_CHECK_VERSION(2,6,0)
28474 rm -f conftest.$ac_objext
28475 if { (ac_try="$ac_compile"
28476 case "(($ac_try" in
28477 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28478 *) ac_try_echo=$ac_try;;
28480 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28481 (eval "$ac_compile") 2>conftest.er1
28483 grep -v '^
*+' conftest.er1 >conftest.err
28485 cat conftest.err >&5
28486 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28487 (exit $ac_status); } && {
28488 test -z "$ac_c_werror_flag" ||
28489 test ! -s conftest.err
28490 } && test -s conftest.$ac_objext; then
28492 cat >>confdefs.h <<\_ACEOF
28493 #define __WXGTK26__ 1
28496 cat >>confdefs.h <<\_ACEOF
28497 #define __WXGTK24__ 1
28500 { echo "$as_me:$LINENO: result: yes" >&5
28501 echo "${ECHO_T}yes" >&6; }
28505 echo "$as_me: failed program was:" >&5
28506 sed 's
/^
/| /' conftest.$ac_ext >&5
28509 { echo "$as_me:$LINENO: result: no" >&5
28510 echo "${ECHO_T}no" >&6; }
28515 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28518 if test "$ac_wxgtk26" = 0; then
28519 { echo "$as_me:$LINENO: checking if GTK+ is version >= 2.4" >&5
28520 echo $ECHO_N "checking if GTK+ is version >= 2.4... $ECHO_C" >&6; }
28521 cat >conftest.$ac_ext <<_ACEOF
28524 cat confdefs.h >>conftest.$ac_ext
28525 cat >>conftest.$ac_ext <<_ACEOF
28526 /* end confdefs.h. */
28528 #include <gtk/gtk.h>
28534 #if !GTK_CHECK_VERSION(2,4,0)
28542 rm -f conftest.$ac_objext
28543 if { (ac_try="$ac_compile"
28544 case "(($ac_try" in
28545 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28546 *) ac_try_echo=$ac_try;;
28548 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28549 (eval "$ac_compile") 2>conftest.er1
28551 grep -v '^
*+' conftest.er1 >conftest.err
28553 cat conftest.err >&5
28554 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28555 (exit $ac_status); } && {
28556 test -z "$ac_c_werror_flag" ||
28557 test ! -s conftest.err
28558 } && test -s conftest.$ac_objext; then
28560 cat >>confdefs.h <<\_ACEOF
28561 #define __WXGTK24__ 1
28564 { echo "$as_me:$LINENO: result: yes" >&5
28565 echo "${ECHO_T}yes" >&6; }
28568 echo "$as_me: failed program was:" >&5
28569 sed 's
/^
/| /' conftest.$ac_ext >&5
28572 { echo "$as_me:$LINENO: result: no" >&5
28573 echo "${ECHO_T}no" >&6; }
28577 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28580 CFLAGS="$save_CFLAGS"
28583 if test "$wxUSE_UNICODE" = "yes"; then
28584 { echo "$as_me:$LINENO: WARNING: Unicode configuration not supported with GTK+ 1.x" >&5
28585 echo "$as_me: WARNING: Unicode configuration not supported with GTK+ 1.x" >&2;}
28589 { echo "$as_me:$LINENO: checking for gdk_im_open in -lgdk" >&5
28590 echo $ECHO_N "checking for gdk_im_open in -lgdk... $ECHO_C" >&6; }
28591 if test "${ac_cv_lib_gdk_gdk_im_open+set}" = set; then
28592 echo $ECHO_N "(cached) $ECHO_C" >&6
28594 ac_check_lib_save_LIBS=$LIBS
28596 cat >conftest.$ac_ext <<_ACEOF
28599 cat confdefs.h >>conftest.$ac_ext
28600 cat >>conftest.$ac_ext <<_ACEOF
28601 /* end confdefs.h. */
28603 /* Override any GCC internal prototype to avoid an error.
28604 Use char because int might match the return type of a GCC
28605 builtin and then its argument prototype would still apply. */
28609 char gdk_im_open ();
28613 return gdk_im_open ();
28618 rm -f conftest.$ac_objext conftest$ac_exeext
28619 if { (ac_try="$ac_link"
28620 case "(($ac_try" in
28621 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28622 *) ac_try_echo=$ac_try;;
28624 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28625 (eval "$ac_link") 2>conftest.er1
28627 grep -v '^
*+' conftest.er1 >conftest.err
28629 cat conftest.err >&5
28630 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28631 (exit $ac_status); } && {
28632 test -z "$ac_c_werror_flag" ||
28633 test ! -s conftest.err
28634 } && test -s conftest$ac_exeext &&
28635 $as_test_x conftest$ac_exeext; then
28636 ac_cv_lib_gdk_gdk_im_open=yes
28638 echo "$as_me: failed program was:" >&5
28639 sed 's
/^
/| /' conftest.$ac_ext >&5
28641 ac_cv_lib_gdk_gdk_im_open=no
28644 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28645 conftest$ac_exeext conftest.$ac_ext
28646 LIBS=$ac_check_lib_save_LIBS
28648 { echo "$as_me:$LINENO: result: $ac_cv_lib_gdk_gdk_im_open" >&5
28649 echo "${ECHO_T}$ac_cv_lib_gdk_gdk_im_open" >&6; }
28650 if test $ac_cv_lib_gdk_gdk_im_open = yes; then
28651 cat >>confdefs.h <<\_ACEOF
28658 if test "$USE_DARWIN" != 1; then
28660 for ac_func in poll
28662 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28663 { echo "$as_me:$LINENO: checking for $ac_func" >&5
28664 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
28665 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
28666 echo $ECHO_N "(cached) $ECHO_C" >&6
28668 cat >conftest.$ac_ext <<_ACEOF
28671 cat confdefs.h >>conftest.$ac_ext
28672 cat >>conftest.$ac_ext <<_ACEOF
28673 /* end confdefs.h. */
28674 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
28675 For example, HP-UX 11i <limits.h> declares gettimeofday. */
28676 #define $ac_func innocuous_$ac_func
28678 /* System header to define __stub macros and hopefully few prototypes,
28679 which can conflict with char $ac_func (); below.
28680 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28681 <limits.h> exists even on freestanding compilers. */
28684 # include <limits.h>
28686 # include <assert.h>
28691 /* Override any GCC internal prototype to avoid an error.
28692 Use char because int might match the return type of a GCC
28693 builtin and then its argument prototype would still apply. */
28698 /* The GNU C library defines this for functions which it implements
28699 to always fail with ENOSYS. Some functions are actually named
28700 something starting with __ and the normal name is an alias. */
28701 #if defined __stub_$ac_func || defined __stub___$ac_func
28708 return $ac_func ();
28713 rm -f conftest.$ac_objext conftest$ac_exeext
28714 if { (ac_try="$ac_link"
28715 case "(($ac_try" in
28716 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28717 *) ac_try_echo=$ac_try;;
28719 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28720 (eval "$ac_link") 2>conftest.er1
28722 grep -v '^
*+' conftest.er1 >conftest.err
28724 cat conftest.err >&5
28725 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28726 (exit $ac_status); } && {
28727 test -z "$ac_c_werror_flag" ||
28728 test ! -s conftest.err
28729 } && test -s conftest$ac_exeext &&
28730 $as_test_x conftest$ac_exeext; then
28731 eval "$as_ac_var=yes"
28733 echo "$as_me: failed program was:" >&5
28734 sed 's
/^
/| /' conftest.$ac_ext >&5
28736 eval "$as_ac_var=no"
28739 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28740 conftest$ac_exeext conftest.$ac_ext
28742 ac_res=`eval echo '${'$as_ac_var'}'`
28743 { echo "$as_me:$LINENO: result: $ac_res" >&5
28744 echo "${ECHO_T}$ac_res" >&6; }
28745 if test `eval echo '${'$as_ac_var'}'` = yes; then
28746 cat >>confdefs.h <<_ACEOF
28747 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28756 TOOLKIT_INCLUDE="$wx_cv_cflags_gtk"
28757 GUI_TK_LIBRARY="$wx_cv_libs_gtk $GUI_TK_LIBRARY"
28759 AFMINSTALL=afminstall
28763 if test "$wxUSE_GPE" = "yes"; then
28764 { echo "$as_me:$LINENO: checking for gpewidget library" >&5
28765 echo $ECHO_N "checking for gpewidget library... $ECHO_C" >&6; }
28768 for ac_dir in $SEARCH_LIB;
28770 for ac_extension in a so sl dylib dll.a; do
28771 if test -f "$ac_dir/libgpewidget.$ac_extension"; then
28772 ac_find_libraries=$ac_dir
28778 if test "$ac_find_libraries" != "" ; then
28780 if test "$ac_find_libraries" = "default location"; then
28783 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
28785 if test $result = 0; then
28788 ac_path_to_link=" -L$ac_find_libraries"
28792 GUI_TK_LIBRARY="-L${prefix}/lib -lgpewidget $GUI_TK_LIBRARY"
28794 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
28795 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
28797 { echo "$as_me:$LINENO: result: not found" >&5
28798 echo "${ECHO_T}not found" >&6; }
28804 if test "$wxUSE_MGL" = 1; then
28805 { echo "$as_me:$LINENO: checking for SciTech MGL library" >&5
28806 echo $ECHO_N "checking for SciTech MGL library... $ECHO_C" >&6; }
28807 if test "x$MGL_ROOT" = x ; then
28808 { echo "$as_me:$LINENO: result: not found" >&5
28809 echo "${ECHO_T}not found" >&6; }
28810 { { echo "$as_me:$LINENO: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&5
28811 echo "$as_me: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&2;}
28812 { (exit 1); exit 1; }; }
28814 { echo "$as_me:$LINENO: result: $MGL_ROOT" >&5
28815 echo "${ECHO_T}$MGL_ROOT" >&6; }
28818 { echo "$as_me:$LINENO: checking for libmgl location" >&5
28819 echo $ECHO_N "checking for libmgl location... $ECHO_C" >&6; }
28822 if test "x$wxUSE_SHARED" = xyes ; then
28823 mgl_os_candidates="linux/gcc/x86/so linux/gcc/x86/a linux/gcc/glibc.so linux/gcc/glibc"
28825 mgl_os_candidates="linux/gcc/x86/a linux/gcc/x86/so linux/gcc/glibc linux/gcc/glibc.so"
28829 mgl_os_candidates="dos32/dj2"
28832 { { echo "$as_me:$LINENO: error: This system type ${host} is not yet supported by wxMGL." >&5
28833 echo "$as_me: error: This system type ${host} is not yet supported by wxMGL." >&2;}
28834 { (exit 1); exit 1; }; }
28840 for mgl_os_i in $mgl_os_candidates ; do
28841 if test "x$mgl_os" = x ; then
28842 if test "$wxUSE_DEBUG_FLAG" = yes ; then
28843 if test -f $MGL_ROOT/lib/debug/$mgl_os_i/libmgl.a -o \
28844 -f $MGL_ROOT/lib/debug/$mgl_os_i/libmgl.so; then
28849 if test "x$mgl_lib_type" = x ; then
28850 if test -f $MGL_ROOT/lib/release/$mgl_os_i/libmgl.a -o \
28851 -f $MGL_ROOT/lib/release/$mgl_os_i/libmgl.so; then
28852 mgl_lib_type=release
28859 if test "x$mgl_os" = x ; then
28860 { echo "$as_me:$LINENO: result: not found" >&5
28861 echo "${ECHO_T}not found" >&6; }
28862 { { echo "$as_me:$LINENO: error: Cannot find MGL libraries, make sure they are compiled." >&5
28863 echo "$as_me: error: Cannot find MGL libraries, make sure they are compiled." >&2;}
28864 { (exit 1); exit 1; }; }
28866 { echo "$as_me:$LINENO: result: \"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&5
28867 echo "${ECHO_T}\"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&6; }
28869 wxUSE_UNIVERSAL="yes"
28871 TOOLKIT_INCLUDE="-I$MGL_ROOT/include"
28872 GUI_TK_LIBRARY="-L$MGL_ROOT/lib/$mgl_lib_type/$mgl_os -lmgl -lmglcpp -lpm"
28874 AFMINSTALL=afminstall
28879 if test "$wxUSE_DFB" = 1; then
28882 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
28883 if test -n "$ac_tool_prefix"; then
28884 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
28885 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
28886 { echo "$as_me:$LINENO: checking for $ac_word" >&5
28887 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
28888 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
28889 echo $ECHO_N "(cached) $ECHO_C" >&6
28891 case $PKG_CONFIG in
28893 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
28896 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
28897 for as_dir in $PATH
28900 test -z "$as_dir" && as_dir=.
28901 for ac_exec_ext in '' $ac_executable_extensions; do
28902 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
28903 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
28904 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
28914 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
28915 if test -n "$PKG_CONFIG"; then
28916 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
28917 echo "${ECHO_T}$PKG_CONFIG" >&6; }
28919 { echo "$as_me:$LINENO: result: no" >&5
28920 echo "${ECHO_T}no" >&6; }
28925 if test -z "$ac_cv_path_PKG_CONFIG"; then
28926 ac_pt_PKG_CONFIG=$PKG_CONFIG
28927 # Extract the first word of "pkg-config", so it can be a program name with args.
28928 set dummy pkg-config; ac_word=$2
28929 { echo "$as_me:$LINENO: checking for $ac_word" >&5
28930 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
28931 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
28932 echo $ECHO_N "(cached) $ECHO_C" >&6
28934 case $ac_pt_PKG_CONFIG in
28936 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
28939 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
28940 for as_dir in $PATH
28943 test -z "$as_dir" && as_dir=.
28944 for ac_exec_ext in '' $ac_executable_extensions; do
28945 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
28946 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
28947 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
28957 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
28958 if test -n "$ac_pt_PKG_CONFIG"; then
28959 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
28960 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
28962 { echo "$as_me:$LINENO: result: no" >&5
28963 echo "${ECHO_T}no" >&6; }
28966 if test "x$ac_pt_PKG_CONFIG" = x; then
28969 case $cross_compiling:$ac_tool_warned in
28971 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
28972 whose name does not start with the host triplet. If you think this
28973 configuration is useful to you, please write to autoconf@gnu.org." >&5
28974 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
28975 whose name does not start with the host triplet. If you think this
28976 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
28977 ac_tool_warned=yes ;;
28979 PKG_CONFIG=$ac_pt_PKG_CONFIG
28982 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
28986 if test -n "$PKG_CONFIG"; then
28987 _pkg_min_version=0.9.0
28988 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
28989 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
28990 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
28991 { echo "$as_me:$LINENO: result: yes" >&5
28992 echo "${ECHO_T}yes" >&6; }
28994 { echo "$as_me:$LINENO: result: no" >&5
28995 echo "${ECHO_T}no" >&6; }
29003 { echo "$as_me:$LINENO: checking for DIRECTFB" >&5
29004 echo $ECHO_N "checking for DIRECTFB... $ECHO_C" >&6; }
29006 if test -n "$PKG_CONFIG"; then
29007 if test -n "$DIRECTFB_CFLAGS"; then
29008 pkg_cv_DIRECTFB_CFLAGS="$DIRECTFB_CFLAGS"
29010 if test -n "$PKG_CONFIG" && \
29011 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"directfb >= 0.9.23\"") >&5
29012 ($PKG_CONFIG --exists --print-errors "directfb >= 0.9.23") 2>&5
29014 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29015 (exit $ac_status); }; then
29016 pkg_cv_DIRECTFB_CFLAGS=`$PKG_CONFIG --cflags "directfb >= 0.9.23" 2>/dev/null`
29024 if test -n "$PKG_CONFIG"; then
29025 if test -n "$DIRECTFB_LIBS"; then
29026 pkg_cv_DIRECTFB_LIBS="$DIRECTFB_LIBS"
29028 if test -n "$PKG_CONFIG" && \
29029 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"directfb >= 0.9.23\"") >&5
29030 ($PKG_CONFIG --exists --print-errors "directfb >= 0.9.23") 2>&5
29032 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29033 (exit $ac_status); }; then
29034 pkg_cv_DIRECTFB_LIBS=`$PKG_CONFIG --libs "directfb >= 0.9.23" 2>/dev/null`
29045 if test $pkg_failed = yes; then
29047 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
29048 _pkg_short_errors_supported=yes
29050 _pkg_short_errors_supported=no
29052 if test $_pkg_short_errors_supported = yes; then
29053 DIRECTFB_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "directfb >= 0.9.23"`
29055 DIRECTFB_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "directfb >= 0.9.23"`
29057 # Put the nasty error message in config.log where it belongs
29058 echo "$DIRECTFB_PKG_ERRORS" >&5
29061 { { echo "$as_me:$LINENO: error: DirectFB not found." >&5
29062 echo "$as_me: error: DirectFB not found." >&2;}
29063 { (exit 1); exit 1; }; }
29066 elif test $pkg_failed = untried; then
29068 { { echo "$as_me:$LINENO: error: DirectFB not found." >&5
29069 echo "$as_me: error: DirectFB not found." >&2;}
29070 { (exit 1); exit 1; }; }
29074 DIRECTFB_CFLAGS=$pkg_cv_DIRECTFB_CFLAGS
29075 DIRECTFB_LIBS=$pkg_cv_DIRECTFB_LIBS
29076 { echo "$as_me:$LINENO: result: yes" >&5
29077 echo "${ECHO_T}yes" >&6; }
29079 wxUSE_UNIVERSAL="yes"
29080 TOOLKIT_INCLUDE="$DIRECTFB_CFLAGS"
29081 GUI_TK_LIBRARY="$DIRECTFB_LIBS"
29088 if test "$wxUSE_MICROWIN" = 1; then
29089 { echo "$as_me:$LINENO: checking for MicroWindows" >&5
29090 echo $ECHO_N "checking for MicroWindows... $ECHO_C" >&6; }
29091 if test "x$MICROWINDOWS" = x ; then
29092 { echo "$as_me:$LINENO: result: not found" >&5
29093 echo "${ECHO_T}not found" >&6; }
29094 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&5
29095 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&2;}
29096 { (exit 1); exit 1; }; }
29098 { echo "$as_me:$LINENO: result: $MICROWINDOWS" >&5
29099 echo "${ECHO_T}$MICROWINDOWS" >&6; }
29102 if test -f $MICROWINDOWS/lib/libmwin.a; then
29103 { echo "$as_me:$LINENO: result: MicroWindows' libraries found.
" >&5
29104 echo "${ECHO_T}MicroWindows
' libraries found." >&6; }
29106 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows libraries, make sure they are compiled." >&5
29107 echo "$as_me: error: Cannot find MicroWindows libraries, make sure they are compiled." >&2;}
29108 { (exit 1); exit 1; }; }
29111 TOOLKIT_INCLUDE="-I$MICROWINDOWS/include"
29112 GUI_TK_LIBRARY="-L$MICROWINDOWS/lib -lmwin -lmwengine -mwfonts -mwdrivers -mwinlib"
29114 wxUSE_UNIVERSAL="yes"
29116 AFMINSTALL=afminstall
29118 GUIDIST=MICROWIN_DIST
29120 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXMSW__ -D__WIN95__ -D__WIN32__ -DMWIN -DMICROWIN_NOCONTROLS -DMICROWIN_TODO=1"
29123 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
29124 { echo "$as_me:$LINENO: checking for X" >&5
29125 echo $ECHO_N "checking for X... $ECHO_C" >&6; }
29128 # Check whether --with-x was given.
29129 if test "${with_x+set}" = set; then
29133 # $have_x is `yes', `no', `disabled
', or empty when we do not yet know.
29134 if test "x$with_x" = xno; then
29135 # The user explicitly disabled X.
29138 case $x_includes,$x_libraries in #(
29139 *\'*) { { echo "$as_me:$LINENO: error: Cannot use X directory names containing '" >&5
29140 echo "$as_me: error
: Cannot use X directory names containing
'" >&2;}
29141 { (exit 1); exit 1; }; };; #(
29142 *,NONE | NONE,*) if test "${ac_cv_have_x+set}" = set; then
29143 echo $ECHO_N "(cached) $ECHO_C" >&6
29145 # One or both of the vars are not set, and there is no cached value.
29146 ac_x_includes=no ac_x_libraries=no
29147 rm -f -r conftest.dir
29148 if mkdir conftest.dir; then
29150 cat >Imakefile <<'_ACEOF'
29152 @echo incroot='${INCROOT}'
29154 @echo usrlibdir='${USRLIBDIR}'
29156 @echo libdir='${LIBDIR}'
29158 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
29159 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
29160 for ac_var in incroot usrlibdir libdir; do
29161 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's
/^
$ac_var=//p
'\`"
29163 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
29164 for ac_extension in a so sl; do
29165 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
29166 test -f "$ac_im_libdir/libX11.$ac_extension"; then
29167 ac_im_usrlibdir=$ac_im_libdir; break
29170 # Screen out bogus values from the imake configuration. They are
29171 # bogus both because they are the default anyway, and because
29172 # using them would break gcc on systems where it needs fixed includes.
29173 case $ac_im_incroot in
29174 /usr/include) ac_x_includes= ;;
29175 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
29177 case $ac_im_usrlibdir in
29178 /usr/lib | /lib) ;;
29179 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
29183 rm -f -r conftest.dir
29186 # Standard set of common directories for X headers.
29187 # Check X11 before X11Rn because it is often a symlink to the current release.
29199 /usr
/local
/X
11/include
29200 /usr
/local
/X
11R
6/include
29201 /usr
/local
/X
11R
5/include
29202 /usr
/local
/X
11R
4/include
29204 /usr
/local
/include
/X11
29205 /usr
/local
/include
/X11R6
29206 /usr
/local
/include
/X11R5
29207 /usr
/local
/include
/X11R4
29211 /usr
/XFree
86/include
/X11
29215 /usr
/unsupported
/include
29216 /usr
/athena
/include
29217 /usr
/local
/x
11r
5/include
29218 /usr
/lpp
/Xamples
/include
29220 /usr
/openwin
/include
29221 /usr
/openwin
/share
/include
'
29223 if test "$ac_x_includes" = no; then
29224 # Guess where to find include files, by looking for Xlib.h.
29225 # First, try using that file with no special directory specified.
29226 cat >conftest.$ac_ext <<_ACEOF
29229 cat confdefs.h >>conftest.$ac_ext
29230 cat >>conftest.$ac_ext <<_ACEOF
29231 /* end confdefs.h. */
29232 #include <X11/Xlib.h>
29234 if { (ac_try="$ac_cpp conftest.$ac_ext"
29235 case "(($ac_try" in
29236 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29237 *) ac_try_echo=$ac_try;;
29239 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29240 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
29242 grep -v '^
*+' conftest.er1 >conftest.err
29244 cat conftest.err >&5
29245 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29246 (exit $ac_status); } >/dev/null && {
29247 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
29248 test ! -s conftest.err
29250 # We can compile using X headers with no special include directory.
29253 echo "$as_me: failed program was:" >&5
29254 sed 's
/^
/| /' conftest.$ac_ext >&5
29256 for ac_dir in $ac_x_header_dirs; do
29257 if test -r "$ac_dir/X11/Xlib.h"; then
29258 ac_x_includes=$ac_dir
29264 rm -f conftest.err conftest.$ac_ext
29265 fi # $ac_x_includes = no
29267 if test "$ac_x_libraries" = no; then
29268 # Check for the libraries.
29269 # See if we find them without any special options.
29270 # Don't add to
$LIBS permanently.
29273 cat >conftest.
$ac_ext <<_ACEOF
29276 cat confdefs.h
>>conftest.
$ac_ext
29277 cat >>conftest.
$ac_ext <<_ACEOF
29278 /* end confdefs.h. */
29279 #include <X11/Xlib.h>
29288 rm -f conftest.
$ac_objext conftest
$ac_exeext
29289 if { (ac_try
="$ac_link"
29290 case "(($ac_try" in
29291 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
29292 *) ac_try_echo=$ac_try;;
29294 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29295 (eval "$ac_link") 2>conftest.er1
29297 grep -v '^ *+' conftest.er1 >conftest.err
29299 cat conftest.err >&5
29300 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29301 (exit $ac_status); } && {
29302 test -z "$ac_c_werror_flag" ||
29303 test ! -s conftest.err
29304 } && test -s conftest$ac_exeext &&
29305 $as_test_x conftest$ac_exeext; then
29307 # We can link X programs with no special library path.
29310 echo "$as_me: failed program was:" >&5
29311 sed 's/^/| /' conftest.$ac_ext >&5
29314 for ac_dir in `echo "$ac_x_includes $ac_x_header_dirs" | sed s
/include
/lib
/g
`
29316 # Don't even attempt the hair of trying to link an X program!
29317 for ac_extension in a so sl; do
29318 if test -r "$ac_dir/libX11.$ac_extension"; then
29319 ac_x_libraries=$ac_dir
29326 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29327 conftest$ac_exeext conftest.$ac_ext
29328 fi # $ac_x_libraries = no
29330 case $ac_x_includes,$ac_x_libraries in #(
29331 no,* | *,no | *\'*)
29332 # Didn't find X, or a directory has "'" in its name.
29333 ac_cv_have_x="have_x=no";; #(
29335 # Record where we found X for the cache.
29336 ac_cv_have_x="have_x=yes\
29337 ac_x_includes='$ac_x_includes'\
29338 ac_x_libraries='$ac_x_libraries'"
29344 eval "$ac_cv_have_x"
29347 if test "$have_x" != yes; then
29348 { echo "$as_me:$LINENO: result: $have_x" >&5
29349 echo "${ECHO_T}$have_x" >&6; }
29352 # If each of the values was on the command line, it overrides each guess.
29353 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
29354 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
29355 # Update the cache value to reflect the command line values.
29356 ac_cv_have_x="have_x=yes\
29357 ac_x_includes='$x_includes'\
29358 ac_x_libraries='$x_libraries'"
29359 { echo "$as_me:$LINENO: result: libraries $x_libraries, headers $x_includes" >&5
29360 echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6; }
29363 if test "$no_x" = yes; then
29364 # Not all programs may use this symbol, but it does not hurt to define it.
29366 cat >>confdefs.h <<\_ACEOF
29367 #define X_DISPLAY_MISSING 1
29370 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
29372 if test -n "$x_includes"; then
29373 X_CFLAGS="$X_CFLAGS -I$x_includes"
29376 # It would also be nice to do this for all -L options, not just this one.
29377 if test -n "$x_libraries"; then
29378 X_LIBS="$X_LIBS -L$x_libraries"
29379 # For Solaris; some versions of Sun CC require a space after -R and
29380 # others require no space. Words are not sufficient . . . .
29381 { echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
29382 echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6; }
29383 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
29384 ac_xsave_c_werror_flag=$ac_c_werror_flag
29385 ac_c_werror_flag=yes
29386 cat >conftest.$ac_ext <<_ACEOF
29389 cat confdefs.h >>conftest.$ac_ext
29390 cat >>conftest.$ac_ext <<_ACEOF
29391 /* end confdefs.h. */
29401 rm -f conftest.$ac_objext conftest$ac_exeext
29402 if { (ac_try="$ac_link"
29403 case "(($ac_try" in
29404 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
29405 *) ac_try_echo
=$ac_try;;
29407 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29408 (eval "$ac_link") 2>conftest.er1
29410 grep -v '^ *+' conftest.er1
>conftest.err
29412 cat conftest.err
>&5
29413 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29414 (exit $ac_status); } && {
29415 test -z "$ac_c_werror_flag" ||
29416 test ! -s conftest.err
29417 } && test -s conftest
$ac_exeext &&
29418 $as_test_x conftest
$ac_exeext; then
29419 { echo "$as_me:$LINENO: result: no" >&5
29420 echo "${ECHO_T}no" >&6; }
29421 X_LIBS
="$X_LIBS -R$x_libraries"
29423 echo "$as_me: failed program was:" >&5
29424 sed 's/^/| /' conftest.
$ac_ext >&5
29426 LIBS
="$ac_xsave_LIBS -R $x_libraries"
29427 cat >conftest.
$ac_ext <<_ACEOF
29430 cat confdefs.h
>>conftest.
$ac_ext
29431 cat >>conftest.
$ac_ext <<_ACEOF
29432 /* end confdefs.h. */
29442 rm -f conftest.
$ac_objext conftest
$ac_exeext
29443 if { (ac_try
="$ac_link"
29444 case "(($ac_try" in
29445 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
29446 *) ac_try_echo=$ac_try;;
29448 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29449 (eval "$ac_link") 2>conftest.er1
29451 grep -v '^ *+' conftest.er1 >conftest.err
29453 cat conftest.err >&5
29454 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29455 (exit $ac_status); } && {
29456 test -z "$ac_c_werror_flag" ||
29457 test ! -s conftest.err
29458 } && test -s conftest$ac_exeext &&
29459 $as_test_x conftest$ac_exeext; then
29460 { echo "$as_me:$LINENO: result: yes" >&5
29461 echo "${ECHO_T}yes" >&6; }
29462 X_LIBS="$X_LIBS -R $x_libraries"
29464 echo "$as_me: failed program was:" >&5
29465 sed 's/^/| /' conftest.$ac_ext >&5
29467 { echo "$as_me:$LINENO: result: neither works" >&5
29468 echo "${ECHO_T}neither works" >&6; }
29471 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29472 conftest$ac_exeext conftest.$ac_ext
29475 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29476 conftest$ac_exeext conftest.$ac_ext
29477 ac_c_werror_flag=$ac_xsave_c_werror_flag
29478 LIBS=$ac_xsave_LIBS
29481 # Check for system-dependent libraries X programs must link with.
29482 # Do this before checking for the system-independent R6 libraries
29483 # (-lICE), since we may need -lsocket or whatever for X linking.
29485 if test "$ISC" = yes; then
29486 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
29488 # Martyn Johnson says this is needed for Ultrix, if the X
29489 # libraries were built with DECnet support. And Karl Berry says
29490 # the Alpha needs dnet_stub (dnet does not exist).
29491 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
29492 cat >conftest.$ac_ext <<_ACEOF
29495 cat confdefs.h >>conftest.$ac_ext
29496 cat >>conftest.$ac_ext <<_ACEOF
29497 /* end confdefs.h. */
29499 /* Override any GCC internal prototype to avoid an error.
29500 Use char because int might match the return type of a GCC
29501 builtin and then its argument prototype would still apply. */
29505 char XOpenDisplay ();
29509 return XOpenDisplay ();
29514 rm -f conftest.$ac_objext conftest$ac_exeext
29515 if { (ac_try="$ac_link"
29516 case "(($ac_try" in
29517 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
29518 *) ac_try_echo
=$ac_try;;
29520 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29521 (eval "$ac_link") 2>conftest.er1
29523 grep -v '^ *+' conftest.er1
>conftest.err
29525 cat conftest.err
>&5
29526 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29527 (exit $ac_status); } && {
29528 test -z "$ac_c_werror_flag" ||
29529 test ! -s conftest.err
29530 } && test -s conftest
$ac_exeext &&
29531 $as_test_x conftest
$ac_exeext; then
29534 echo "$as_me: failed program was:" >&5
29535 sed 's/^/| /' conftest.
$ac_ext >&5
29537 { echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
29538 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6; }
29539 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
29540 echo $ECHO_N "(cached) $ECHO_C" >&6
29542 ac_check_lib_save_LIBS
=$LIBS
29543 LIBS
="-ldnet $LIBS"
29544 cat >conftest.
$ac_ext <<_ACEOF
29547 cat confdefs.h
>>conftest.
$ac_ext
29548 cat >>conftest.
$ac_ext <<_ACEOF
29549 /* end confdefs.h. */
29551 /* Override any GCC internal prototype to avoid an error.
29552 Use char because int might match the return type of a GCC
29553 builtin and then its argument prototype would still apply. */
29561 return dnet_ntoa ();
29566 rm -f conftest.
$ac_objext conftest
$ac_exeext
29567 if { (ac_try
="$ac_link"
29568 case "(($ac_try" in
29569 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
29570 *) ac_try_echo=$ac_try;;
29572 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29573 (eval "$ac_link") 2>conftest.er1
29575 grep -v '^ *+' conftest.er1 >conftest.err
29577 cat conftest.err >&5
29578 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29579 (exit $ac_status); } && {
29580 test -z "$ac_c_werror_flag" ||
29581 test ! -s conftest.err
29582 } && test -s conftest$ac_exeext &&
29583 $as_test_x conftest$ac_exeext; then
29584 ac_cv_lib_dnet_dnet_ntoa=yes
29586 echo "$as_me: failed program was:" >&5
29587 sed 's/^/| /' conftest.$ac_ext >&5
29589 ac_cv_lib_dnet_dnet_ntoa=no
29592 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29593 conftest$ac_exeext conftest.$ac_ext
29594 LIBS=$ac_check_lib_save_LIBS
29596 { echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
29597 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6; }
29598 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
29599 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
29602 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
29603 { echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
29604 echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6; }
29605 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
29606 echo $ECHO_N "(cached) $ECHO_C" >&6
29608 ac_check_lib_save_LIBS=$LIBS
29609 LIBS="-ldnet_stub $LIBS"
29610 cat >conftest.$ac_ext <<_ACEOF
29613 cat confdefs.h >>conftest.$ac_ext
29614 cat >>conftest.$ac_ext <<_ACEOF
29615 /* end confdefs.h. */
29617 /* Override any GCC internal prototype to avoid an error.
29618 Use char because int might match the return type of a GCC
29619 builtin and then its argument prototype would still apply. */
29627 return dnet_ntoa ();
29632 rm -f conftest.$ac_objext conftest$ac_exeext
29633 if { (ac_try="$ac_link"
29634 case "(($ac_try" in
29635 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
29636 *) ac_try_echo
=$ac_try;;
29638 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29639 (eval "$ac_link") 2>conftest.er1
29641 grep -v '^ *+' conftest.er1
>conftest.err
29643 cat conftest.err
>&5
29644 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29645 (exit $ac_status); } && {
29646 test -z "$ac_c_werror_flag" ||
29647 test ! -s conftest.err
29648 } && test -s conftest
$ac_exeext &&
29649 $as_test_x conftest
$ac_exeext; then
29650 ac_cv_lib_dnet_stub_dnet_ntoa
=yes
29652 echo "$as_me: failed program was:" >&5
29653 sed 's/^/| /' conftest.
$ac_ext >&5
29655 ac_cv_lib_dnet_stub_dnet_ntoa
=no
29658 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
29659 conftest
$ac_exeext conftest.
$ac_ext
29660 LIBS
=$ac_check_lib_save_LIBS
29662 { echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
29663 echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
29664 if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
29665 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet_stub"
29671 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
29672 conftest
$ac_exeext conftest.
$ac_ext
29673 LIBS
="$ac_xsave_LIBS"
29675 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
29676 # to get the SysV transport functions.
29677 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
29679 # The nsl library prevents programs from opening the X display
29680 # on Irix 5.2, according to T.E. Dickey.
29681 # The functions gethostbyname, getservbyname, and inet_addr are
29682 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
29683 { echo "$as_me:$LINENO: checking for gethostbyname" >&5
29684 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6; }
29685 if test "${ac_cv_func_gethostbyname+set}" = set; then
29686 echo $ECHO_N "(cached) $ECHO_C" >&6
29688 cat >conftest.
$ac_ext <<_ACEOF
29691 cat confdefs.h
>>conftest.
$ac_ext
29692 cat >>conftest.
$ac_ext <<_ACEOF
29693 /* end confdefs.h. */
29694 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
29695 For example, HP-UX 11i <limits.h> declares gettimeofday. */
29696 #define gethostbyname innocuous_gethostbyname
29698 /* System header to define __stub macros and hopefully few prototypes,
29699 which can conflict with char gethostbyname (); below.
29700 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29701 <limits.h> exists even on freestanding compilers. */
29704 # include <limits.h>
29706 # include <assert.h>
29709 #undef gethostbyname
29711 /* Override any GCC internal prototype to avoid an error.
29712 Use char because int might match the return type of a GCC
29713 builtin and then its argument prototype would still apply. */
29717 char gethostbyname ();
29718 /* The GNU C library defines this for functions which it implements
29719 to always fail with ENOSYS. Some functions are actually named
29720 something starting with __ and the normal name is an alias. */
29721 #if defined __stub_gethostbyname || defined __stub___gethostbyname
29728 return gethostbyname ();
29733 rm -f conftest.
$ac_objext conftest
$ac_exeext
29734 if { (ac_try
="$ac_link"
29735 case "(($ac_try" in
29736 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
29737 *) ac_try_echo=$ac_try;;
29739 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29740 (eval "$ac_link") 2>conftest.er1
29742 grep -v '^ *+' conftest.er1 >conftest.err
29744 cat conftest.err >&5
29745 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29746 (exit $ac_status); } && {
29747 test -z "$ac_c_werror_flag" ||
29748 test ! -s conftest.err
29749 } && test -s conftest$ac_exeext &&
29750 $as_test_x conftest$ac_exeext; then
29751 ac_cv_func_gethostbyname=yes
29753 echo "$as_me: failed program was:" >&5
29754 sed 's/^/| /' conftest.$ac_ext >&5
29756 ac_cv_func_gethostbyname=no
29759 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29760 conftest$ac_exeext conftest.$ac_ext
29762 { echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
29763 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6; }
29765 if test $ac_cv_func_gethostbyname = no; then
29766 { echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
29767 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6; }
29768 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
29769 echo $ECHO_N "(cached) $ECHO_C" >&6
29771 ac_check_lib_save_LIBS=$LIBS
29773 cat >conftest.$ac_ext <<_ACEOF
29776 cat confdefs.h >>conftest.$ac_ext
29777 cat >>conftest.$ac_ext <<_ACEOF
29778 /* end confdefs.h. */
29780 /* Override any GCC internal prototype to avoid an error.
29781 Use char because int might match the return type of a GCC
29782 builtin and then its argument prototype would still apply. */
29786 char gethostbyname ();
29790 return gethostbyname ();
29795 rm -f conftest.$ac_objext conftest$ac_exeext
29796 if { (ac_try="$ac_link"
29797 case "(($ac_try" in
29798 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
29799 *) ac_try_echo
=$ac_try;;
29801 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29802 (eval "$ac_link") 2>conftest.er1
29804 grep -v '^ *+' conftest.er1
>conftest.err
29806 cat conftest.err
>&5
29807 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29808 (exit $ac_status); } && {
29809 test -z "$ac_c_werror_flag" ||
29810 test ! -s conftest.err
29811 } && test -s conftest
$ac_exeext &&
29812 $as_test_x conftest
$ac_exeext; then
29813 ac_cv_lib_nsl_gethostbyname
=yes
29815 echo "$as_me: failed program was:" >&5
29816 sed 's/^/| /' conftest.
$ac_ext >&5
29818 ac_cv_lib_nsl_gethostbyname
=no
29821 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
29822 conftest
$ac_exeext conftest.
$ac_ext
29823 LIBS
=$ac_check_lib_save_LIBS
29825 { echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
29826 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6; }
29827 if test $ac_cv_lib_nsl_gethostbyname = yes; then
29828 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl"
29831 if test $ac_cv_lib_nsl_gethostbyname = no
; then
29832 { echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
29833 echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6; }
29834 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
29835 echo $ECHO_N "(cached) $ECHO_C" >&6
29837 ac_check_lib_save_LIBS
=$LIBS
29839 cat >conftest.
$ac_ext <<_ACEOF
29842 cat confdefs.h
>>conftest.
$ac_ext
29843 cat >>conftest.
$ac_ext <<_ACEOF
29844 /* end confdefs.h. */
29846 /* Override any GCC internal prototype to avoid an error.
29847 Use char because int might match the return type of a GCC
29848 builtin and then its argument prototype would still apply. */
29852 char gethostbyname ();
29856 return gethostbyname ();
29861 rm -f conftest.
$ac_objext conftest
$ac_exeext
29862 if { (ac_try
="$ac_link"
29863 case "(($ac_try" in
29864 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
29865 *) ac_try_echo=$ac_try;;
29867 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29868 (eval "$ac_link") 2>conftest.er1
29870 grep -v '^ *+' conftest.er1 >conftest.err
29872 cat conftest.err >&5
29873 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29874 (exit $ac_status); } && {
29875 test -z "$ac_c_werror_flag" ||
29876 test ! -s conftest.err
29877 } && test -s conftest$ac_exeext &&
29878 $as_test_x conftest$ac_exeext; then
29879 ac_cv_lib_bsd_gethostbyname=yes
29881 echo "$as_me: failed program was:" >&5
29882 sed 's/^/| /' conftest.$ac_ext >&5
29884 ac_cv_lib_bsd_gethostbyname=no
29887 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29888 conftest$ac_exeext conftest.$ac_ext
29889 LIBS=$ac_check_lib_save_LIBS
29891 { echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
29892 echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6; }
29893 if test $ac_cv_lib_bsd_gethostbyname = yes; then
29894 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
29900 # lieder@skyler.mavd.honeywell.com says without -lsocket,
29901 # socket/setsockopt and other routines are undefined under SCO ODT
29902 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
29903 # on later versions), says Simon Leinen: it contains gethostby*
29904 # variants that don't use the name server (or something). -lsocket
29905 # must be given before -lnsl if both are needed. We assume that
29906 # if connect needs -lnsl, so does gethostbyname.
29907 { echo "$as_me:$LINENO: checking for connect" >&5
29908 echo $ECHO_N "checking for connect... $ECHO_C" >&6; }
29909 if test "${ac_cv_func_connect+set}" = set; then
29910 echo $ECHO_N "(cached) $ECHO_C" >&6
29912 cat >conftest.$ac_ext <<_ACEOF
29915 cat confdefs.h >>conftest.$ac_ext
29916 cat >>conftest.$ac_ext <<_ACEOF
29917 /* end confdefs.h. */
29918 /* Define connect to an innocuous variant, in case <limits.h> declares connect.
29919 For example, HP-UX 11i <limits.h> declares gettimeofday. */
29920 #define connect innocuous_connect
29922 /* System header to define __stub macros and hopefully few prototypes,
29923 which can conflict with char connect (); below.
29924 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29925 <limits.h> exists even on freestanding compilers. */
29928 # include <limits.h>
29930 # include <assert.h>
29935 /* Override any GCC internal prototype to avoid an error.
29936 Use char because int might match the return type of a GCC
29937 builtin and then its argument prototype would still apply. */
29942 /* The GNU C library defines this for functions which it implements
29943 to always fail with ENOSYS. Some functions are actually named
29944 something starting with __ and the normal name is an alias. */
29945 #if defined __stub_connect || defined __stub___connect
29957 rm -f conftest.$ac_objext conftest$ac_exeext
29958 if { (ac_try="$ac_link"
29959 case "(($ac_try" in
29960 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
29961 *) ac_try_echo
=$ac_try;;
29963 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29964 (eval "$ac_link") 2>conftest.er1
29966 grep -v '^ *+' conftest.er1
>conftest.err
29968 cat conftest.err
>&5
29969 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29970 (exit $ac_status); } && {
29971 test -z "$ac_c_werror_flag" ||
29972 test ! -s conftest.err
29973 } && test -s conftest
$ac_exeext &&
29974 $as_test_x conftest
$ac_exeext; then
29975 ac_cv_func_connect
=yes
29977 echo "$as_me: failed program was:" >&5
29978 sed 's/^/| /' conftest.
$ac_ext >&5
29980 ac_cv_func_connect
=no
29983 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
29984 conftest
$ac_exeext conftest.
$ac_ext
29986 { echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
29987 echo "${ECHO_T}$ac_cv_func_connect" >&6; }
29989 if test $ac_cv_func_connect = no
; then
29990 { echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
29991 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6; }
29992 if test "${ac_cv_lib_socket_connect+set}" = set; then
29993 echo $ECHO_N "(cached) $ECHO_C" >&6
29995 ac_check_lib_save_LIBS
=$LIBS
29996 LIBS
="-lsocket $X_EXTRA_LIBS $LIBS"
29997 cat >conftest.
$ac_ext <<_ACEOF
30000 cat confdefs.h
>>conftest.
$ac_ext
30001 cat >>conftest.
$ac_ext <<_ACEOF
30002 /* end confdefs.h. */
30004 /* Override any GCC internal prototype to avoid an error.
30005 Use char because int might match the return type of a GCC
30006 builtin and then its argument prototype would still apply. */
30019 rm -f conftest.
$ac_objext conftest
$ac_exeext
30020 if { (ac_try
="$ac_link"
30021 case "(($ac_try" in
30022 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
30023 *) ac_try_echo=$ac_try;;
30025 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30026 (eval "$ac_link") 2>conftest.er1
30028 grep -v '^ *+' conftest.er1 >conftest.err
30030 cat conftest.err >&5
30031 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30032 (exit $ac_status); } && {
30033 test -z "$ac_c_werror_flag" ||
30034 test ! -s conftest.err
30035 } && test -s conftest$ac_exeext &&
30036 $as_test_x conftest$ac_exeext; then
30037 ac_cv_lib_socket_connect=yes
30039 echo "$as_me: failed program was:" >&5
30040 sed 's/^/| /' conftest.$ac_ext >&5
30042 ac_cv_lib_socket_connect=no
30045 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30046 conftest$ac_exeext conftest.$ac_ext
30047 LIBS=$ac_check_lib_save_LIBS
30049 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
30050 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6; }
30051 if test $ac_cv_lib_socket_connect = yes; then
30052 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
30057 # Guillermo Gomez says -lposix is necessary on A/UX.
30058 { echo "$as_me:$LINENO: checking for remove" >&5
30059 echo $ECHO_N "checking for remove... $ECHO_C" >&6; }
30060 if test "${ac_cv_func_remove+set}" = set; then
30061 echo $ECHO_N "(cached) $ECHO_C" >&6
30063 cat >conftest.$ac_ext <<_ACEOF
30066 cat confdefs.h >>conftest.$ac_ext
30067 cat >>conftest.$ac_ext <<_ACEOF
30068 /* end confdefs.h. */
30069 /* Define remove to an innocuous variant, in case <limits.h> declares remove.
30070 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30071 #define remove innocuous_remove
30073 /* System header to define __stub macros and hopefully few prototypes,
30074 which can conflict with char remove (); below.
30075 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30076 <limits.h> exists even on freestanding compilers. */
30079 # include <limits.h>
30081 # include <assert.h>
30086 /* Override any GCC internal prototype to avoid an error.
30087 Use char because int might match the return type of a GCC
30088 builtin and then its argument prototype would still apply. */
30093 /* The GNU C library defines this for functions which it implements
30094 to always fail with ENOSYS. Some functions are actually named
30095 something starting with __ and the normal name is an alias. */
30096 #if defined __stub_remove || defined __stub___remove
30108 rm -f conftest.$ac_objext conftest$ac_exeext
30109 if { (ac_try="$ac_link"
30110 case "(($ac_try" in
30111 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
30112 *) ac_try_echo
=$ac_try;;
30114 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30115 (eval "$ac_link") 2>conftest.er1
30117 grep -v '^ *+' conftest.er1
>conftest.err
30119 cat conftest.err
>&5
30120 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30121 (exit $ac_status); } && {
30122 test -z "$ac_c_werror_flag" ||
30123 test ! -s conftest.err
30124 } && test -s conftest
$ac_exeext &&
30125 $as_test_x conftest
$ac_exeext; then
30126 ac_cv_func_remove
=yes
30128 echo "$as_me: failed program was:" >&5
30129 sed 's/^/| /' conftest.
$ac_ext >&5
30131 ac_cv_func_remove
=no
30134 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
30135 conftest
$ac_exeext conftest.
$ac_ext
30137 { echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
30138 echo "${ECHO_T}$ac_cv_func_remove" >&6; }
30140 if test $ac_cv_func_remove = no
; then
30141 { echo "$as_me:$LINENO: checking for remove in -lposix" >&5
30142 echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6; }
30143 if test "${ac_cv_lib_posix_remove+set}" = set; then
30144 echo $ECHO_N "(cached) $ECHO_C" >&6
30146 ac_check_lib_save_LIBS
=$LIBS
30147 LIBS
="-lposix $LIBS"
30148 cat >conftest.
$ac_ext <<_ACEOF
30151 cat confdefs.h
>>conftest.
$ac_ext
30152 cat >>conftest.
$ac_ext <<_ACEOF
30153 /* end confdefs.h. */
30155 /* Override any GCC internal prototype to avoid an error.
30156 Use char because int might match the return type of a GCC
30157 builtin and then its argument prototype would still apply. */
30170 rm -f conftest.
$ac_objext conftest
$ac_exeext
30171 if { (ac_try
="$ac_link"
30172 case "(($ac_try" in
30173 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
30174 *) ac_try_echo=$ac_try;;
30176 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30177 (eval "$ac_link") 2>conftest.er1
30179 grep -v '^ *+' conftest.er1 >conftest.err
30181 cat conftest.err >&5
30182 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30183 (exit $ac_status); } && {
30184 test -z "$ac_c_werror_flag" ||
30185 test ! -s conftest.err
30186 } && test -s conftest$ac_exeext &&
30187 $as_test_x conftest$ac_exeext; then
30188 ac_cv_lib_posix_remove=yes
30190 echo "$as_me: failed program was:" >&5
30191 sed 's/^/| /' conftest.$ac_ext >&5
30193 ac_cv_lib_posix_remove=no
30196 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30197 conftest$ac_exeext conftest.$ac_ext
30198 LIBS=$ac_check_lib_save_LIBS
30200 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
30201 echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6; }
30202 if test $ac_cv_lib_posix_remove = yes; then
30203 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
30208 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
30209 { echo "$as_me:$LINENO: checking for shmat" >&5
30210 echo $ECHO_N "checking for shmat... $ECHO_C" >&6; }
30211 if test "${ac_cv_func_shmat+set}" = set; then
30212 echo $ECHO_N "(cached) $ECHO_C" >&6
30214 cat >conftest.$ac_ext <<_ACEOF
30217 cat confdefs.h >>conftest.$ac_ext
30218 cat >>conftest.$ac_ext <<_ACEOF
30219 /* end confdefs.h. */
30220 /* Define shmat to an innocuous variant, in case <limits.h> declares shmat.
30221 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30222 #define shmat innocuous_shmat
30224 /* System header to define __stub macros and hopefully few prototypes,
30225 which can conflict with char shmat (); below.
30226 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30227 <limits.h> exists even on freestanding compilers. */
30230 # include <limits.h>
30232 # include <assert.h>
30237 /* Override any GCC internal prototype to avoid an error.
30238 Use char because int might match the return type of a GCC
30239 builtin and then its argument prototype would still apply. */
30244 /* The GNU C library defines this for functions which it implements
30245 to always fail with ENOSYS. Some functions are actually named
30246 something starting with __ and the normal name is an alias. */
30247 #if defined __stub_shmat || defined __stub___shmat
30259 rm -f conftest.$ac_objext conftest$ac_exeext
30260 if { (ac_try="$ac_link"
30261 case "(($ac_try" in
30262 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
30263 *) ac_try_echo
=$ac_try;;
30265 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30266 (eval "$ac_link") 2>conftest.er1
30268 grep -v '^ *+' conftest.er1
>conftest.err
30270 cat conftest.err
>&5
30271 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30272 (exit $ac_status); } && {
30273 test -z "$ac_c_werror_flag" ||
30274 test ! -s conftest.err
30275 } && test -s conftest
$ac_exeext &&
30276 $as_test_x conftest
$ac_exeext; then
30277 ac_cv_func_shmat
=yes
30279 echo "$as_me: failed program was:" >&5
30280 sed 's/^/| /' conftest.
$ac_ext >&5
30282 ac_cv_func_shmat
=no
30285 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
30286 conftest
$ac_exeext conftest.
$ac_ext
30288 { echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
30289 echo "${ECHO_T}$ac_cv_func_shmat" >&6; }
30291 if test $ac_cv_func_shmat = no
; then
30292 { echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
30293 echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6; }
30294 if test "${ac_cv_lib_ipc_shmat+set}" = set; then
30295 echo $ECHO_N "(cached) $ECHO_C" >&6
30297 ac_check_lib_save_LIBS
=$LIBS
30299 cat >conftest.
$ac_ext <<_ACEOF
30302 cat confdefs.h
>>conftest.
$ac_ext
30303 cat >>conftest.
$ac_ext <<_ACEOF
30304 /* end confdefs.h. */
30306 /* Override any GCC internal prototype to avoid an error.
30307 Use char because int might match the return type of a GCC
30308 builtin and then its argument prototype would still apply. */
30321 rm -f conftest.
$ac_objext conftest
$ac_exeext
30322 if { (ac_try
="$ac_link"
30323 case "(($ac_try" in
30324 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
30325 *) ac_try_echo=$ac_try;;
30327 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30328 (eval "$ac_link") 2>conftest.er1
30330 grep -v '^ *+' conftest.er1 >conftest.err
30332 cat conftest.err >&5
30333 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30334 (exit $ac_status); } && {
30335 test -z "$ac_c_werror_flag" ||
30336 test ! -s conftest.err
30337 } && test -s conftest$ac_exeext &&
30338 $as_test_x conftest$ac_exeext; then
30339 ac_cv_lib_ipc_shmat=yes
30341 echo "$as_me: failed program was:" >&5
30342 sed 's/^/| /' conftest.$ac_ext >&5
30344 ac_cv_lib_ipc_shmat=no
30347 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30348 conftest$ac_exeext conftest.$ac_ext
30349 LIBS=$ac_check_lib_save_LIBS
30351 { echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
30352 echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6; }
30353 if test $ac_cv_lib_ipc_shmat = yes; then
30354 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
30360 # Check for libraries that X11R6 Xt/Xaw programs need.
30361 ac_save_LDFLAGS=$LDFLAGS
30362 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
30363 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
30364 # check for ICE first), but we must link in the order -lSM -lICE or
30365 # we get undefined symbols. So assume we have SM if we have ICE.
30366 # These have to be linked with before -lX11, unlike the other
30367 # libraries we check for below, so use a different variable.
30368 # John Interrante, Karl Berry
30369 { echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
30370 echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6; }
30371 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
30372 echo $ECHO_N "(cached) $ECHO_C" >&6
30374 ac_check_lib_save_LIBS=$LIBS
30375 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
30376 cat >conftest.$ac_ext <<_ACEOF
30379 cat confdefs.h >>conftest.$ac_ext
30380 cat >>conftest.$ac_ext <<_ACEOF
30381 /* end confdefs.h. */
30383 /* Override any GCC internal prototype to avoid an error.
30384 Use char because int might match the return type of a GCC
30385 builtin and then its argument prototype would still apply. */
30389 char IceConnectionNumber ();
30393 return IceConnectionNumber ();
30398 rm -f conftest.$ac_objext conftest$ac_exeext
30399 if { (ac_try="$ac_link"
30400 case "(($ac_try" in
30401 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
30402 *) ac_try_echo
=$ac_try;;
30404 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30405 (eval "$ac_link") 2>conftest.er1
30407 grep -v '^ *+' conftest.er1
>conftest.err
30409 cat conftest.err
>&5
30410 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30411 (exit $ac_status); } && {
30412 test -z "$ac_c_werror_flag" ||
30413 test ! -s conftest.err
30414 } && test -s conftest
$ac_exeext &&
30415 $as_test_x conftest
$ac_exeext; then
30416 ac_cv_lib_ICE_IceConnectionNumber
=yes
30418 echo "$as_me: failed program was:" >&5
30419 sed 's/^/| /' conftest.
$ac_ext >&5
30421 ac_cv_lib_ICE_IceConnectionNumber
=no
30424 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
30425 conftest
$ac_exeext conftest.
$ac_ext
30426 LIBS
=$ac_check_lib_save_LIBS
30428 { echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
30429 echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
30430 if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
30431 X_PRE_LIBS
="$X_PRE_LIBS -lSM -lICE"
30434 LDFLAGS
=$ac_save_LDFLAGS
30439 if test "$no_x" = "yes"; then
30440 { { echo "$as_me:$LINENO: error: X11 not found, please use --x-includes and/or --x-libraries options (see config.log for details)" >&5
30441 echo "$as_me: error: X11 not found, please use --x-includes and/or --x-libraries options (see config.log for details)" >&2;}
30442 { (exit 1); exit 1; }; }
30445 GUI_TK_LIBRARY
=`echo $X_LIBS | sed 's/ -LNONE//' | sed 's/ -RNONE//'`
30446 TOOLKIT_INCLUDE
=`echo $X_CFLAGS | sed 's/ -INONE//'`
30447 AFMINSTALL
=afminstall
30448 COMPILED_X_PROGRAM
=0
30452 if test "$wxUSE_X11" = 1; then
30453 if test "$wxUSE_NANOX" = "yes"; then
30454 { echo "$as_me:$LINENO: checking for MicroWindows/NanoX distribution" >&5
30455 echo $ECHO_N "checking for MicroWindows/NanoX distribution... $ECHO_C" >&6; }
30456 if test "x$MICROWIN" = x
; then
30457 { echo "$as_me:$LINENO: result: not found" >&5
30458 echo "${ECHO_T}not found" >&6; }
30459 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&5
30460 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&2;}
30461 { (exit 1); exit 1; }; }
30463 { echo "$as_me:$LINENO: result: $MICROWIN" >&5
30464 echo "${ECHO_T}$MICROWIN" >&6; }
30465 cat >>confdefs.h
<<\_ACEOF
30466 #define wxUSE_NANOX 1
30472 if test "$wxUSE_UNICODE" = "yes"; then
30475 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
30476 if test -n "$ac_tool_prefix"; then
30477 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
30478 set dummy
${ac_tool_prefix}pkg
-config; ac_word
=$2
30479 { echo "$as_me:$LINENO: checking for $ac_word" >&5
30480 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
30481 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
30482 echo $ECHO_N "(cached) $ECHO_C" >&6
30484 case $PKG_CONFIG in
30486 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
30489 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
30490 for as_dir
in $PATH
30493 test -z "$as_dir" && as_dir
=.
30494 for ac_exec_ext
in '' $ac_executable_extensions; do
30495 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
30496 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
30497 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
30507 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
30508 if test -n "$PKG_CONFIG"; then
30509 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
30510 echo "${ECHO_T}$PKG_CONFIG" >&6; }
30512 { echo "$as_me:$LINENO: result: no" >&5
30513 echo "${ECHO_T}no" >&6; }
30518 if test -z "$ac_cv_path_PKG_CONFIG"; then
30519 ac_pt_PKG_CONFIG
=$PKG_CONFIG
30520 # Extract the first word of "pkg-config", so it can be a program name with args.
30521 set dummy pkg
-config; ac_word
=$2
30522 { echo "$as_me:$LINENO: checking for $ac_word" >&5
30523 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
30524 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
30525 echo $ECHO_N "(cached) $ECHO_C" >&6
30527 case $ac_pt_PKG_CONFIG in
30529 ac_cv_path_ac_pt_PKG_CONFIG
="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
30532 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
30533 for as_dir
in $PATH
30536 test -z "$as_dir" && as_dir
=.
30537 for ac_exec_ext
in '' $ac_executable_extensions; do
30538 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
30539 ac_cv_path_ac_pt_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
30540 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
30550 ac_pt_PKG_CONFIG
=$ac_cv_path_ac_pt_PKG_CONFIG
30551 if test -n "$ac_pt_PKG_CONFIG"; then
30552 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
30553 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
30555 { echo "$as_me:$LINENO: result: no" >&5
30556 echo "${ECHO_T}no" >&6; }
30559 if test "x$ac_pt_PKG_CONFIG" = x
; then
30562 case $cross_compiling:$ac_tool_warned in
30564 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
30565 whose name does not start with the host triplet. If you think this
30566 configuration is useful to you, please write to autoconf@gnu.org." >&5
30567 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
30568 whose name does not start with the host triplet. If you think this
30569 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
30570 ac_tool_warned
=yes ;;
30572 PKG_CONFIG
=$ac_pt_PKG_CONFIG
30575 PKG_CONFIG
="$ac_cv_path_PKG_CONFIG"
30579 if test -n "$PKG_CONFIG"; then
30580 _pkg_min_version
=0.9.0
30581 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
30582 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
30583 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
30584 { echo "$as_me:$LINENO: result: yes" >&5
30585 echo "${ECHO_T}yes" >&6; }
30587 { echo "$as_me:$LINENO: result: no" >&5
30588 echo "${ECHO_T}no" >&6; }
30596 { echo "$as_me:$LINENO: checking for PANGOX" >&5
30597 echo $ECHO_N "checking for PANGOX... $ECHO_C" >&6; }
30599 if test -n "$PKG_CONFIG"; then
30600 if test -n "$PANGOX_CFLAGS"; then
30601 pkg_cv_PANGOX_CFLAGS
="$PANGOX_CFLAGS"
30603 if test -n "$PKG_CONFIG" && \
30604 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangox\"") >&5
30605 ($PKG_CONFIG --exists --print-errors "pangox") 2>&5
30607 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30608 (exit $ac_status); }; then
30609 pkg_cv_PANGOX_CFLAGS
=`$PKG_CONFIG --cflags "pangox" 2>/dev/null`
30617 if test -n "$PKG_CONFIG"; then
30618 if test -n "$PANGOX_LIBS"; then
30619 pkg_cv_PANGOX_LIBS
="$PANGOX_LIBS"
30621 if test -n "$PKG_CONFIG" && \
30622 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangox\"") >&5
30623 ($PKG_CONFIG --exists --print-errors "pangox") 2>&5
30625 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30626 (exit $ac_status); }; then
30627 pkg_cv_PANGOX_LIBS
=`$PKG_CONFIG --libs "pangox" 2>/dev/null`
30638 if test $pkg_failed = yes; then
30640 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
30641 _pkg_short_errors_supported
=yes
30643 _pkg_short_errors_supported
=no
30645 if test $_pkg_short_errors_supported = yes; then
30646 PANGOX_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangox"`
30648 PANGOX_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "pangox"`
30650 # Put the nasty error message in config.log where it belongs
30651 echo "$PANGOX_PKG_ERRORS" >&5
30654 { { echo "$as_me:$LINENO: error: pangox library not found, library cannot be compiled in Unicode mode" >&5
30655 echo "$as_me: error: pangox library not found, library cannot be compiled in Unicode mode" >&2;}
30656 { (exit 1); exit 1; }; }
30659 elif test $pkg_failed = untried
; then
30661 { { echo "$as_me:$LINENO: error: pangox library not found, library cannot be compiled in Unicode mode" >&5
30662 echo "$as_me: error: pangox library not found, library cannot be compiled in Unicode mode" >&2;}
30663 { (exit 1); exit 1; }; }
30667 PANGOX_CFLAGS
=$pkg_cv_PANGOX_CFLAGS
30668 PANGOX_LIBS
=$pkg_cv_PANGOX_LIBS
30669 { echo "$as_me:$LINENO: result: yes" >&5
30670 echo "${ECHO_T}yes" >&6; }
30672 CFLAGS
="$PANGOX_CFLAGS $CFLAGS"
30673 CXXFLAGS
="$PANGOX_CFLAGS $CXXFLAGS"
30674 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $PANGOX_LIBS"
30679 { echo "$as_me:$LINENO: checking for PANGOFT2" >&5
30680 echo $ECHO_N "checking for PANGOFT2... $ECHO_C" >&6; }
30682 if test -n "$PKG_CONFIG"; then
30683 if test -n "$PANGOFT2_CFLAGS"; then
30684 pkg_cv_PANGOFT2_CFLAGS
="$PANGOFT2_CFLAGS"
30686 if test -n "$PKG_CONFIG" && \
30687 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoft2\"") >&5
30688 ($PKG_CONFIG --exists --print-errors "pangoft2") 2>&5
30690 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30691 (exit $ac_status); }; then
30692 pkg_cv_PANGOFT2_CFLAGS
=`$PKG_CONFIG --cflags "pangoft2" 2>/dev/null`
30700 if test -n "$PKG_CONFIG"; then
30701 if test -n "$PANGOFT2_LIBS"; then
30702 pkg_cv_PANGOFT2_LIBS
="$PANGOFT2_LIBS"
30704 if test -n "$PKG_CONFIG" && \
30705 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoft2\"") >&5
30706 ($PKG_CONFIG --exists --print-errors "pangoft2") 2>&5
30708 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30709 (exit $ac_status); }; then
30710 pkg_cv_PANGOFT2_LIBS
=`$PKG_CONFIG --libs "pangoft2" 2>/dev/null`
30721 if test $pkg_failed = yes; then
30723 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
30724 _pkg_short_errors_supported
=yes
30726 _pkg_short_errors_supported
=no
30728 if test $_pkg_short_errors_supported = yes; then
30729 PANGOFT2_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangoft2"`
30731 PANGOFT2_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoft2"`
30733 # Put the nasty error message in config.log where it belongs
30734 echo "$PANGOFT2_PKG_ERRORS" >&5
30737 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
30738 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
30739 wxUSE_PRINTING_ARCHITECTURE
="no"
30742 elif test $pkg_failed = untried
; then
30744 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
30745 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
30746 wxUSE_PRINTING_ARCHITECTURE
="no"
30750 PANGOFT2_CFLAGS
=$pkg_cv_PANGOFT2_CFLAGS
30751 PANGOFT2_LIBS
=$pkg_cv_PANGOFT2_LIBS
30752 { echo "$as_me:$LINENO: result: yes" >&5
30753 echo "${ECHO_T}yes" >&6; }
30755 CFLAGS
="$PANGOFT2_CFLAGS $CFLAGS"
30756 CXXFLAGS
="$PANGOFT2_CFLAGS $CXXFLAGS"
30757 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $PANGOFT2_LIBS"
30762 { echo "$as_me:$LINENO: checking for PANGOXFT" >&5
30763 echo $ECHO_N "checking for PANGOXFT... $ECHO_C" >&6; }
30765 if test -n "$PKG_CONFIG"; then
30766 if test -n "$PANGOXFT_CFLAGS"; then
30767 pkg_cv_PANGOXFT_CFLAGS
="$PANGOXFT_CFLAGS"
30769 if test -n "$PKG_CONFIG" && \
30770 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoxft\"") >&5
30771 ($PKG_CONFIG --exists --print-errors "pangoxft") 2>&5
30773 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30774 (exit $ac_status); }; then
30775 pkg_cv_PANGOXFT_CFLAGS
=`$PKG_CONFIG --cflags "pangoxft" 2>/dev/null`
30783 if test -n "$PKG_CONFIG"; then
30784 if test -n "$PANGOXFT_LIBS"; then
30785 pkg_cv_PANGOXFT_LIBS
="$PANGOXFT_LIBS"
30787 if test -n "$PKG_CONFIG" && \
30788 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoxft\"") >&5
30789 ($PKG_CONFIG --exists --print-errors "pangoxft") 2>&5
30791 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30792 (exit $ac_status); }; then
30793 pkg_cv_PANGOXFT_LIBS
=`$PKG_CONFIG --libs "pangoxft" 2>/dev/null`
30804 if test $pkg_failed = yes; then
30806 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
30807 _pkg_short_errors_supported
=yes
30809 _pkg_short_errors_supported
=no
30811 if test $_pkg_short_errors_supported = yes; then
30812 PANGOXFT_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangoxft"`
30814 PANGOXFT_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoxft"`
30816 # Put the nasty error message in config.log where it belongs
30817 echo "$PANGOXFT_PKG_ERRORS" >&5
30820 { echo "$as_me:$LINENO: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
30821 echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
30824 elif test $pkg_failed = untried
; then
30826 { echo "$as_me:$LINENO: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
30827 echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
30831 PANGOXFT_CFLAGS
=$pkg_cv_PANGOXFT_CFLAGS
30832 PANGOXFT_LIBS
=$pkg_cv_PANGOXFT_LIBS
30833 { echo "$as_me:$LINENO: result: yes" >&5
30834 echo "${ECHO_T}yes" >&6; }
30836 cat >>confdefs.h
<<\_ACEOF
30837 #define HAVE_PANGO_XFT 1
30840 CFLAGS
="$PANGOXFT_CFLAGS $CFLAGS"
30841 CXXFLAGS
="$PANGOXFT_CFLAGS $CXXFLAGS"
30842 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $PANGOXFT_LIBS"
30846 LIBS
="$LIBS $PANGOX_LIBS"
30848 for ac_func
in pango_font_family_is_monospace
30850 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30851 { echo "$as_me:$LINENO: checking for $ac_func" >&5
30852 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
30853 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
30854 echo $ECHO_N "(cached) $ECHO_C" >&6
30856 cat >conftest.
$ac_ext <<_ACEOF
30859 cat confdefs.h
>>conftest.
$ac_ext
30860 cat >>conftest.
$ac_ext <<_ACEOF
30861 /* end confdefs.h. */
30862 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
30863 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30864 #define $ac_func innocuous_$ac_func
30866 /* System header to define __stub macros and hopefully few prototypes,
30867 which can conflict with char $ac_func (); below.
30868 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30869 <limits.h> exists even on freestanding compilers. */
30872 # include <limits.h>
30874 # include <assert.h>
30879 /* Override any GCC internal prototype to avoid an error.
30880 Use char because int might match the return type of a GCC
30881 builtin and then its argument prototype would still apply. */
30886 /* The GNU C library defines this for functions which it implements
30887 to always fail with ENOSYS. Some functions are actually named
30888 something starting with __ and the normal name is an alias. */
30889 #if defined __stub_$ac_func || defined __stub___$ac_func
30896 return $ac_func ();
30901 rm -f conftest.
$ac_objext conftest
$ac_exeext
30902 if { (ac_try
="$ac_link"
30903 case "(($ac_try" in
30904 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
30905 *) ac_try_echo=$ac_try;;
30907 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30908 (eval "$ac_link") 2>conftest.er1
30910 grep -v '^ *+' conftest.er1 >conftest.err
30912 cat conftest.err >&5
30913 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30914 (exit $ac_status); } && {
30915 test -z "$ac_c_werror_flag" ||
30916 test ! -s conftest.err
30917 } && test -s conftest$ac_exeext &&
30918 $as_test_x conftest$ac_exeext; then
30919 eval "$as_ac_var=yes"
30921 echo "$as_me: failed program was:" >&5
30922 sed 's/^/| /' conftest.$ac_ext >&5
30924 eval "$as_ac_var=no"
30927 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30928 conftest$ac_exeext conftest.$ac_ext
30930 ac_res=`eval echo '${'$as_ac_var'}'`
30931 { echo "$as_me:$LINENO: result: $ac_res" >&5
30932 echo "${ECHO_T}$ac_res" >&6; }
30933 if test `eval echo '${'$as_ac_var'}'` = yes; then
30934 cat >>confdefs.h <<_ACEOF
30935 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30944 wxUSE_UNIVERSAL="yes"
30946 if test "$wxUSE_NANOX" = "yes"; then
30947 TOOLKIT_INCLUDE="-I\$(top_srcdir)/include/wx/x11/nanox -I\$(MICROWIN)/src/include $TOOLKIT_INCLUDE"
30948 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"
30949 GUI_TK_LIBRARY="$GUI_TK_LIBRARY \$(MICROWIN)/src/lib/libnano-X.a"
30951 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lX11"
30958 if test "$wxUSE_MOTIF" = 1; then
30959 if test "$wxUSE_UNICODE" = "yes"; then
30960 { { echo "$as_me:$LINENO: error: Unicode configuration not supported with Motif" >&5
30961 echo "$as_me: error: Unicode configuration not supported with Motif" >&2;}
30962 { (exit 1); exit 1; }; }
30965 { echo "$as_me:$LINENO: checking for Motif/Lesstif headers" >&5
30966 echo $ECHO_N "checking for Motif/Lesstif headers... $ECHO_C" >&6; }
30969 for ac_dir in $SEARCH_INCLUDE /usr/include;
30971 if test -f "$ac_dir/Xm/Xm.h"; then
30972 ac_find_includes=$ac_dir
30977 if test "$ac_find_includes" != "" ; then
30978 { echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
30979 echo "${ECHO_T}found in $ac_find_includes" >&6; }
30981 if test "x$ac_find_includes" = "x/usr/include"; then
30982 ac_path_to_include=""
30984 echo "$TOOLKIT_INCLUDE" | grep "\-I$ac_find_includes" > /dev/null
30986 if test $result = 0; then
30987 ac_path_to_include=""
30989 ac_path_to_include=" -I$ac_find_includes"
30993 TOOLKIT_INCLUDE="$TOOLKIT_INCLUDE$ac_path_to_include"
30995 save_CFLAGS=$CFLAGS
30996 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
30998 cat >conftest.$ac_ext <<_ACEOF
31001 cat confdefs.h >>conftest.$ac_ext
31002 cat >>conftest.$ac_ext <<_ACEOF
31003 /* end confdefs.h. */
31012 version = xmUseVersion;
31018 rm -f conftest.$ac_objext
31019 if { (ac_try="$ac_compile"
31020 case "(($ac_try" in
31021 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
31022 *) ac_try_echo
=$ac_try;;
31024 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31025 (eval "$ac_compile") 2>conftest.er1
31027 grep -v '^ *+' conftest.er1
>conftest.err
31029 cat conftest.err
>&5
31030 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31031 (exit $ac_status); } && {
31032 test -z "$ac_c_werror_flag" ||
31033 test ! -s conftest.err
31034 } && test -s conftest.
$ac_objext; then
31036 { echo "$as_me:$LINENO: result: found in default search path" >&5
31037 echo "${ECHO_T}found in default search path" >&6; }
31038 COMPILED_X_PROGRAM
=1
31041 echo "$as_me: failed program was:" >&5
31042 sed 's/^/| /' conftest.
$ac_ext >&5
31045 { echo "$as_me:$LINENO: result: no" >&5
31046 echo "${ECHO_T}no" >&6; }
31047 { { echo "$as_me:$LINENO: error: please set CPPFLAGS to contain the location of Xm/Xm.h" >&5
31048 echo "$as_me: error: please set CPPFLAGS to contain the location of Xm/Xm.h" >&2;}
31049 { (exit 1); exit 1; }; }
31054 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
31056 CFLAGS
=$save_CFLAGS
31060 { echo "$as_me:$LINENO: checking for Motif/Lesstif library" >&5
31061 echo $ECHO_N "checking for Motif/Lesstif library... $ECHO_C" >&6; }
31064 for ac_dir
in $SEARCH_LIB;
31066 for ac_extension
in a so sl dylib dll.a
; do
31067 if test -f "$ac_dir/libXm.$ac_extension"; then
31068 ac_find_libraries
=$ac_dir
31075 if test "x$ac_find_libraries" != "x" ; then
31076 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
31077 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
31080 if test "$ac_find_libraries" = "default location"; then
31083 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev
/null
31085 if test $result = 0; then
31088 ac_path_to_link
=" -L$ac_find_libraries"
31092 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY$ac_path_to_link"
31094 save_CFLAGS
=$CFLAGS
31095 CFLAGS
="$TOOLKIT_INCLUDE $CFLAGS"
31097 LIBS
="$GUI_TK_LIBRARY -lXm -lXmu -lXext -lX11"
31099 cat >conftest.
$ac_ext <<_ACEOF
31102 cat confdefs.h
>>conftest.
$ac_ext
31103 cat >>conftest.
$ac_ext <<_ACEOF
31104 /* end confdefs.h. */
31113 version = xmUseVersion;
31119 rm -f conftest.
$ac_objext conftest
$ac_exeext
31120 if { (ac_try
="$ac_link"
31121 case "(($ac_try" in
31122 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
31123 *) ac_try_echo=$ac_try;;
31125 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31126 (eval "$ac_link") 2>conftest.er1
31128 grep -v '^ *+' conftest.er1 >conftest.err
31130 cat conftest.err >&5
31131 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31132 (exit $ac_status); } && {
31133 test -z "$ac_c_werror_flag" ||
31134 test ! -s conftest.err
31135 } && test -s conftest$ac_exeext &&
31136 $as_test_x conftest$ac_exeext; then
31138 { echo "$as_me:$LINENO: result: found in default search path" >&5
31139 echo "${ECHO_T}found in default search path" >&6; }
31140 COMPILED_X_PROGRAM=1
31143 echo "$as_me: failed program was:" >&5
31144 sed 's/^/| /' conftest.$ac_ext >&5
31147 { echo "$as_me:$LINENO: result: no" >&5
31148 echo "${ECHO_T}no" >&6; }
31149 { { echo "$as_me:$LINENO: error: please set LDFLAGS to contain the location of libXm" >&5
31150 echo "$as_me: error: please set LDFLAGS to contain the location of libXm" >&2;}
31151 { (exit 1); exit 1; }; }
31156 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31157 conftest$ac_exeext conftest.$ac_ext
31159 CFLAGS=$save_CFLAGS
31163 { echo "$as_me:$LINENO: checking if we need -lXp and/or -lSM -lICE" >&5
31164 echo $ECHO_N "checking if we need -lXp and/or -lSM -lICE... $ECHO_C" >&6; }
31168 for libp in "" " -lXp"; do
31169 if test "$libs_found" = "0"; then
31170 for libsm_ice in "" " -lSM -lICE"; do
31171 if test "$libs_found" = "0"; then
31173 LIBS="$GUI_TK_LIBRARY -lXm ${libp} -lXmu -lXext -lXt${libsm_ice} -lX11"
31174 save_CFLAGS=$CFLAGS
31175 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
31177 cat >conftest.$ac_ext <<_ACEOF
31180 cat confdefs.h >>conftest.$ac_ext
31181 cat >>conftest.$ac_ext <<_ACEOF
31182 /* end confdefs.h. */
31185 #include <Xm/List.h>
31191 XmString string = NULL;
31194 XmListAddItem(w, string, position);
31200 rm -f conftest.$ac_objext conftest$ac_exeext
31201 if { (ac_try="$ac_link"
31202 case "(($ac_try" in
31203 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
31204 *) ac_try_echo
=$ac_try;;
31206 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31207 (eval "$ac_link") 2>conftest.er1
31209 grep -v '^ *+' conftest.er1
>conftest.err
31211 cat conftest.err
>&5
31212 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31213 (exit $ac_status); } && {
31214 test -z "$ac_c_werror_flag" ||
31215 test ! -s conftest.err
31216 } && test -s conftest
$ac_exeext &&
31217 $as_test_x conftest
$ac_exeext; then
31220 libsm_ice_link
="$libsm_ice"
31221 { echo "$as_me:$LINENO: result: need${libp_link}${libsm_ice_link}" >&5
31222 echo "${ECHO_T}need${libp_link}${libsm_ice_link}" >&6; }
31226 echo "$as_me: failed program was:" >&5
31227 sed 's/^/| /' conftest.
$ac_ext >&5
31233 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
31234 conftest
$ac_exeext conftest.
$ac_ext
31237 CFLAGS
=$save_CFLAGS
31243 if test "$libs_found" = "0"; then
31244 { echo "$as_me:$LINENO: result: can't find the right libraries" >&5
31245 echo "${ECHO_T}can't find the right libraries" >&6; }
31246 { { echo "$as_me:$LINENO: error: can't link a simple motif program" >&5
31247 echo "$as_me: error: can't link a simple motif program" >&2;}
31248 { (exit 1); exit 1; }; }
31251 { echo "$as_me:$LINENO: checking for SgCreateList in -lSgm" >&5
31252 echo $ECHO_N "checking for SgCreateList in -lSgm... $ECHO_C" >&6; }
31253 if test "${ac_cv_lib_Sgm_SgCreateList+set}" = set; then
31254 echo $ECHO_N "(cached) $ECHO_C" >&6
31256 ac_check_lib_save_LIBS
=$LIBS
31258 cat >conftest.
$ac_ext <<_ACEOF
31261 cat confdefs.h
>>conftest.
$ac_ext
31262 cat >>conftest.
$ac_ext <<_ACEOF
31263 /* end confdefs.h. */
31265 /* Override any GCC internal prototype to avoid an error.
31266 Use char because int might match the return type of a GCC
31267 builtin and then its argument prototype would still apply. */
31271 char SgCreateList ();
31275 return SgCreateList ();
31280 rm -f conftest.
$ac_objext conftest
$ac_exeext
31281 if { (ac_try
="$ac_link"
31282 case "(($ac_try" in
31283 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
31284 *) ac_try_echo=$ac_try;;
31286 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31287 (eval "$ac_link") 2>conftest.er1
31289 grep -v '^ *+' conftest.er1 >conftest.err
31291 cat conftest.err >&5
31292 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31293 (exit $ac_status); } && {
31294 test -z "$ac_c_werror_flag" ||
31295 test ! -s conftest.err
31296 } && test -s conftest$ac_exeext &&
31297 $as_test_x conftest$ac_exeext; then
31298 ac_cv_lib_Sgm_SgCreateList=yes
31300 echo "$as_me: failed program was:" >&5
31301 sed 's/^/| /' conftest.$ac_ext >&5
31303 ac_cv_lib_Sgm_SgCreateList=no
31306 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31307 conftest$ac_exeext conftest.$ac_ext
31308 LIBS=$ac_check_lib_save_LIBS
31310 { echo "$as_me:$LINENO: result: $ac_cv_lib_Sgm_SgCreateList" >&5
31311 echo "${ECHO_T}$ac_cv_lib_Sgm_SgCreateList" >&6; }
31312 if test $ac_cv_lib_Sgm_SgCreateList = yes; then
31313 libsgm_link=" -lSgm"
31317 save_CFLAGS=$CFLAGS
31318 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
31320 { echo "$as_me:$LINENO: checking for Motif 2" >&5
31321 echo $ECHO_N "checking for Motif 2... $ECHO_C" >&6; }
31322 if test "${wx_cv_lib_motif2+set}" = set; then
31323 echo $ECHO_N "(cached) $ECHO_C" >&6
31325 cat >conftest.$ac_ext <<_ACEOF
31328 cat confdefs.h >>conftest.$ac_ext
31329 cat >>conftest.$ac_ext <<_ACEOF
31330 /* end confdefs.h. */
31338 #if XmVersion < 2000
31346 rm -f conftest.$ac_objext
31347 if { (ac_try="$ac_compile"
31348 case "(($ac_try" in
31349 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
31350 *) ac_try_echo
=$ac_try;;
31352 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31353 (eval "$ac_compile") 2>conftest.er1
31355 grep -v '^ *+' conftest.er1
>conftest.err
31357 cat conftest.err
>&5
31358 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31359 (exit $ac_status); } && {
31360 test -z "$ac_c_werror_flag" ||
31361 test ! -s conftest.err
31362 } && test -s conftest.
$ac_objext; then
31363 wx_cv_lib_motif2
="yes"
31365 echo "$as_me: failed program was:" >&5
31366 sed 's/^/| /' conftest.
$ac_ext >&5
31368 wx_cv_lib_motif2
="no"
31371 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
31373 { echo "$as_me:$LINENO: result: $wx_cv_lib_motif2" >&5
31374 echo "${ECHO_T}$wx_cv_lib_motif2" >&6; }
31375 if test "$wx_cv_lib_motif2" = "yes"; then
31376 cat >>confdefs.h
<<\_ACEOF
31377 #define __WXMOTIF20__ 1
31381 cat >>confdefs.h
<<\_ACEOF
31382 #define __WXMOTIF20__ 0
31387 { echo "$as_me:$LINENO: checking whether Motif is Lesstif" >&5
31388 echo $ECHO_N "checking whether Motif is Lesstif... $ECHO_C" >&6; }
31389 if test "${wx_cv_lib_lesstif+set}" = set; then
31390 echo $ECHO_N "(cached) $ECHO_C" >&6
31392 cat >conftest.
$ac_ext <<_ACEOF
31395 cat confdefs.h
>>conftest.
$ac_ext
31396 cat >>conftest.
$ac_ext <<_ACEOF
31397 /* end confdefs.h. */
31405 #if !defined(LesstifVersion) || LesstifVersion <= 0
31413 rm -f conftest.
$ac_objext
31414 if { (ac_try
="$ac_compile"
31415 case "(($ac_try" in
31416 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
31417 *) ac_try_echo=$ac_try;;
31419 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31420 (eval "$ac_compile") 2>conftest.er1
31422 grep -v '^ *+' conftest.er1 >conftest.err
31424 cat conftest.err >&5
31425 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31426 (exit $ac_status); } && {
31427 test -z "$ac_c_werror_flag" ||
31428 test ! -s conftest.err
31429 } && test -s conftest.$ac_objext; then
31430 wx_cv_lib_lesstif="yes"
31432 echo "$as_me: failed program was:" >&5
31433 sed 's/^/| /' conftest.$ac_ext >&5
31435 wx_cv_lib_lesstif="no"
31438 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31441 { echo "$as_me:$LINENO: result: $wx_cv_lib_lesstif" >&5
31442 echo "${ECHO_T}$wx_cv_lib_lesstif" >&6; }
31443 if test "$wx_cv_lib_lesstif" = "yes"; then
31444 cat >>confdefs.h <<\_ACEOF
31445 #define __WXLESSTIF__ 1
31449 cat >>confdefs.h <<\_ACEOF
31450 #define __WXLESSTIF__ 0
31455 CFLAGS=$save_CFLAGS
31457 GUI_TK_LIBRARY="$GUI_TK_LIBRARY${libsgm_link} -lXm${libp_link} -lXmu -lXext -lXt${libsm_ice_link} -lX11"
31462 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
31463 if test "$wxUSE_LIBXPM" = "sys"; then
31464 { echo "$as_me:$LINENO: checking for Xpm library" >&5
31465 echo $ECHO_N "checking for Xpm library... $ECHO_C" >&6; }
31468 for ac_dir in $SEARCH_LIB;
31470 for ac_extension in a so sl dylib dll.a; do
31471 if test -f "$ac_dir/libXpm.$ac_extension"; then
31472 ac_find_libraries=$ac_dir
31478 if test "$ac_find_libraries" != "" ; then
31480 if test "$ac_find_libraries" = "default location"; then
31483 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
31485 if test $result = 0; then
31488 ac_path_to_link=" -L$ac_find_libraries"
31492 GUI_TK_LIBRARY="$GUI_TK_LIBRARY$ac_path_to_link"
31493 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
31494 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
31496 { echo "$as_me:$LINENO: checking for X11/xpm.h" >&5
31497 echo $ECHO_N "checking for X11/xpm.h... $ECHO_C" >&6; }
31498 if test "${wx_cv_x11_xpm_h+set}" = set; then
31499 echo $ECHO_N "(cached) $ECHO_C" >&6
31502 save_CFLAGS=$CFLAGS
31503 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
31505 cat >conftest.$ac_ext <<_ACEOF
31508 cat confdefs.h >>conftest.$ac_ext
31509 cat >>conftest.$ac_ext <<_ACEOF
31510 /* end confdefs.h. */
31512 #include <X11/xpm.h>
31519 version = XpmLibraryVersion();
31525 rm -f conftest.$ac_objext
31526 if { (ac_try="$ac_compile"
31527 case "(($ac_try" in
31528 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
31529 *) ac_try_echo
=$ac_try;;
31531 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31532 (eval "$ac_compile") 2>conftest.er1
31534 grep -v '^ *+' conftest.er1
>conftest.err
31536 cat conftest.err
>&5
31537 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31538 (exit $ac_status); } && {
31539 test -z "$ac_c_werror_flag" ||
31540 test ! -s conftest.err
31541 } && test -s conftest.
$ac_objext; then
31542 wx_cv_x11_xpm_h
=yes
31544 echo "$as_me: failed program was:" >&5
31545 sed 's/^/| /' conftest.
$ac_ext >&5
31551 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
31553 CFLAGS
=$save_CFLAGS
31557 { echo "$as_me:$LINENO: result: $wx_cv_x11_xpm_h" >&5
31558 echo "${ECHO_T}$wx_cv_x11_xpm_h" >&6; }
31560 if test $wx_cv_x11_xpm_h = "yes"; then
31561 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lXpm"
31562 cat >>confdefs.h
<<\_ACEOF
31563 #define wxHAVE_LIB_XPM 1
31567 { echo "$as_me:$LINENO: WARNING: built-in less efficient XPM decoder will be used" >&5
31568 echo "$as_me: WARNING: built-in less efficient XPM decoder will be used" >&2;}
31574 { echo "$as_me:$LINENO: checking for XShapeQueryExtension in -lXext" >&5
31575 echo $ECHO_N "checking for XShapeQueryExtension in -lXext... $ECHO_C" >&6; }
31576 if test "${ac_cv_lib_Xext_XShapeQueryExtension+set}" = set; then
31577 echo $ECHO_N "(cached) $ECHO_C" >&6
31579 ac_check_lib_save_LIBS
=$LIBS
31580 LIBS
="-lXext $GUI_TK_LIBRARY -lX11 $LIBS"
31581 cat >conftest.
$ac_ext <<_ACEOF
31584 cat confdefs.h
>>conftest.
$ac_ext
31585 cat >>conftest.
$ac_ext <<_ACEOF
31586 /* end confdefs.h. */
31588 /* Override any GCC internal prototype to avoid an error.
31589 Use char because int might match the return type of a GCC
31590 builtin and then its argument prototype would still apply. */
31594 char XShapeQueryExtension ();
31598 return XShapeQueryExtension ();
31603 rm -f conftest.
$ac_objext conftest
$ac_exeext
31604 if { (ac_try
="$ac_link"
31605 case "(($ac_try" in
31606 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
31607 *) ac_try_echo=$ac_try;;
31609 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31610 (eval "$ac_link") 2>conftest.er1
31612 grep -v '^ *+' conftest.er1 >conftest.err
31614 cat conftest.err >&5
31615 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31616 (exit $ac_status); } && {
31617 test -z "$ac_c_werror_flag" ||
31618 test ! -s conftest.err
31619 } && test -s conftest$ac_exeext &&
31620 $as_test_x conftest$ac_exeext; then
31621 ac_cv_lib_Xext_XShapeQueryExtension=yes
31623 echo "$as_me: failed program was:" >&5
31624 sed 's/^/| /' conftest.$ac_ext >&5
31626 ac_cv_lib_Xext_XShapeQueryExtension=no
31629 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31630 conftest$ac_exeext conftest.$ac_ext
31631 LIBS=$ac_check_lib_save_LIBS
31633 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
31634 echo "${ECHO_T}$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
31635 if test $ac_cv_lib_Xext_XShapeQueryExtension = yes; then
31637 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXext"
31643 if test "$wxHAVE_XEXT_LIB" = 1; then
31644 save_CFLAGS="$CFLAGS"
31645 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
31647 { echo "$as_me:$LINENO: checking for X11/extensions/shape.h" >&5
31648 echo $ECHO_N "checking for X11/extensions/shape.h... $ECHO_C" >&6; }
31649 cat >conftest.$ac_ext <<_ACEOF
31652 cat confdefs.h >>conftest.$ac_ext
31653 cat >>conftest.$ac_ext <<_ACEOF
31654 /* end confdefs.h. */
31656 #include <X11/Xlib.h>
31657 #include <X11/extensions/shape.h>
31663 int dummy1, dummy2;
31664 XShapeQueryExtension((Display*)NULL,
31665 (int*)NULL, (int*)NULL);
31671 rm -f conftest.$ac_objext
31672 if { (ac_try="$ac_compile"
31673 case "(($ac_try" in
31674 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
31675 *) ac_try_echo
=$ac_try;;
31677 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31678 (eval "$ac_compile") 2>conftest.er1
31680 grep -v '^ *+' conftest.er1
>conftest.err
31682 cat conftest.err
>&5
31683 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31684 (exit $ac_status); } && {
31685 test -z "$ac_c_werror_flag" ||
31686 test ! -s conftest.err
31687 } && test -s conftest.
$ac_objext; then
31689 cat >>confdefs.h
<<\_ACEOF
31690 #define HAVE_XSHAPE 1
31693 { echo "$as_me:$LINENO: result: found" >&5
31694 echo "${ECHO_T}found" >&6; }
31697 echo "$as_me: failed program was:" >&5
31698 sed 's/^/| /' conftest.
$ac_ext >&5
31701 { echo "$as_me:$LINENO: result: not found" >&5
31702 echo "${ECHO_T}not found" >&6; }
31706 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
31707 CFLAGS
="$save_CFLAGS"
31712 if test "$wxUSE_MAC" = 1; then
31713 { echo "$as_me:$LINENO: checking for compiler syntax to enable Pascal strings" >&5
31714 echo $ECHO_N "checking for compiler syntax to enable Pascal strings... $ECHO_C" >&6; }
31715 if test "$GCC" = yes; then
31716 { echo "$as_me:$LINENO: result: gcc" >&5
31717 echo "${ECHO_T}gcc" >&6; }
31718 CPPFLAGS_PASCAL
="-fpascal-strings"
31719 elif test "`echo $CXX | sed -e 's@.*/@@'`" = "xlC"; then
31720 { echo "$as_me:$LINENO: result: xlc" >&5
31721 echo "${ECHO_T}xlc" >&6; }
31722 CPPFLAGS_PASCAL
="-qmacpstr"
31724 { echo "$as_me:$LINENO: result: none" >&5
31725 echo "${ECHO_T}none" >&6; }
31728 if test "x$wxUSE_UNIX" = "xyes"; then
31729 CPPFLAGS
="$CPPFLAGS_PASCAL -I\${top_srcdir}/src/mac/carbon/morefilex -I/Developer/Headers/FlatCarbon $CPPFLAGS"
31731 CPPFLAGS
="$CPPFLAGS_PASCAL -I\${top_srcdir}/src/mac/carbon/morefilex -DTARGET_CARBON $CPPFLAGS"
31736 WXBASEPORT
="_carbon"
31739 if test "$wxUSE_COCOA" = 1; then
31744 if test "$wxUSE_PM" = 1; then
31747 { echo "$as_me:$LINENO: checking for type SPBCDATA" >&5
31748 echo $ECHO_N "checking for type SPBCDATA... $ECHO_C" >&6; }
31749 if test "${wx_cv_spbcdata+set}" = set; then
31750 echo $ECHO_N "(cached) $ECHO_C" >&6
31753 cat >conftest.
$ac_ext <<_ACEOF
31756 cat confdefs.h
>>conftest.
$ac_ext
31757 cat >>conftest.
$ac_ext <<_ACEOF
31758 /* end confdefs.h. */
31773 rm -f conftest.
$ac_objext
31774 if { (ac_try
="$ac_compile"
31775 case "(($ac_try" in
31776 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
31777 *) ac_try_echo=$ac_try;;
31779 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31780 (eval "$ac_compile") 2>conftest.er1
31782 grep -v '^ *+' conftest.er1 >conftest.err
31784 cat conftest.err >&5
31785 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31786 (exit $ac_status); } && {
31787 test -z "$ac_c_werror_flag" ||
31788 test ! -s conftest.err
31789 } && test -s conftest.$ac_objext; then
31792 echo "$as_me: failed program was:" >&5
31793 sed 's/^/| /' conftest.$ac_ext >&5
31799 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31803 { echo "$as_me:$LINENO: result: $wx_cv_spbcdata" >&5
31804 echo "${ECHO_T}$wx_cv_spbcdata" >&6; }
31806 if test $wx_cv_spbcdata = "yes"; then
31807 cat >>confdefs.h <<\_ACEOF
31808 #define HAVE_SPBCDATA 1
31814 if test "$TOOLKIT" = "PM" ; then
31817 TOOLKIT_DIR=`echo ${TOOLKIT} | tr "[A-Z]" "[a-z]"`
31820 if test "$wxUSE_UNIVERSAL" = "yes"; then
31821 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXUNIVERSAL__"
31825 GUIDIST="${GUIDIST} SAMPLES_DIST DEMOS_DIST UTILS_DIST MISC_DIST"
31826 DISTDIR="wx\$(TOOLKIT)"
31832 if test "$USE_WIN32" = 1 ; then
31836 GUIDIST="BASE_DIST"
31841 if test "$wxUSE_GUI" = "yes"; then
31842 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_PM" != 1; then
31843 { echo "$as_me:$LINENO: checking for X11/Xlib.h" >&5
31844 echo $ECHO_N "checking for X11/Xlib.h... $ECHO_C" >&6; }
31845 if test "${ac_cv_header_X11_Xlib_h+set}" = set; then
31846 echo $ECHO_N "(cached) $ECHO_C" >&6
31848 cat >conftest.$ac_ext <<_ACEOF
31851 cat confdefs.h >>conftest.$ac_ext
31852 cat >>conftest.$ac_ext <<_ACEOF
31853 /* end confdefs.h. */
31856 #include <X11/Xlib.h>
31858 rm -f conftest.$ac_objext
31859 if { (ac_try="$ac_compile"
31860 case "(($ac_try" in
31861 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
31862 *) ac_try_echo
=$ac_try;;
31864 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31865 (eval "$ac_compile") 2>conftest.er1
31867 grep -v '^ *+' conftest.er1
>conftest.err
31869 cat conftest.err
>&5
31870 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31871 (exit $ac_status); } && {
31872 test -z "$ac_c_werror_flag" ||
31873 test ! -s conftest.err
31874 } && test -s conftest.
$ac_objext; then
31875 ac_cv_header_X11_Xlib_h
=yes
31877 echo "$as_me: failed program was:" >&5
31878 sed 's/^/| /' conftest.
$ac_ext >&5
31880 ac_cv_header_X11_Xlib_h
=no
31883 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
31885 { echo "$as_me:$LINENO: result: $ac_cv_header_X11_Xlib_h" >&5
31886 echo "${ECHO_T}$ac_cv_header_X11_Xlib_h" >&6; }
31889 { echo "$as_me:$LINENO: checking for X11/XKBlib.h" >&5
31890 echo $ECHO_N "checking for X11/XKBlib.h... $ECHO_C" >&6; }
31891 if test "${ac_cv_header_X11_XKBlib_h+set}" = set; then
31892 echo $ECHO_N "(cached) $ECHO_C" >&6
31894 cat >conftest.
$ac_ext <<_ACEOF
31897 cat confdefs.h
>>conftest.
$ac_ext
31898 cat >>conftest.
$ac_ext <<_ACEOF
31899 /* end confdefs.h. */
31901 #if HAVE_X11_XLIB_H
31902 #include <X11/Xlib.h>
31906 #include <X11/XKBlib.h>
31908 rm -f conftest.
$ac_objext
31909 if { (ac_try
="$ac_compile"
31910 case "(($ac_try" in
31911 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
31912 *) ac_try_echo=$ac_try;;
31914 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31915 (eval "$ac_compile") 2>conftest.er1
31917 grep -v '^ *+' conftest.er1 >conftest.err
31919 cat conftest.err >&5
31920 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31921 (exit $ac_status); } && {
31922 test -z "$ac_c_werror_flag" ||
31923 test ! -s conftest.err
31924 } && test -s conftest.$ac_objext; then
31925 ac_cv_header_X11_XKBlib_h=yes
31927 echo "$as_me: failed program was:" >&5
31928 sed 's/^/| /' conftest.$ac_ext >&5
31930 ac_cv_header_X11_XKBlib_h=no
31933 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31935 { echo "$as_me:$LINENO: result: $ac_cv_header_X11_XKBlib_h" >&5
31936 echo "${ECHO_T}$ac_cv_header_X11_XKBlib_h" >&6; }
31947 if test "$TOOLKIT" != "MSW" ; then
31949 if test "$wxUSE_ODBC" = "sys" -o "$wxUSE_ODBC" = "yes" ; then
31951 { echo "$as_me:$LINENO: checking for sql.h" >&5
31952 echo $ECHO_N "checking for sql.h... $ECHO_C" >&6; }
31953 if test "${ac_cv_header_sql_h+set}" = set; then
31954 echo $ECHO_N "(cached) $ECHO_C" >&6
31956 cat >conftest.$ac_ext <<_ACEOF
31959 cat confdefs.h >>conftest.$ac_ext
31960 cat >>conftest.$ac_ext <<_ACEOF
31961 /* end confdefs.h. */
31966 rm -f conftest.$ac_objext
31967 if { (ac_try="$ac_compile"
31968 case "(($ac_try" in
31969 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
31970 *) ac_try_echo
=$ac_try;;
31972 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31973 (eval "$ac_compile") 2>conftest.er1
31975 grep -v '^ *+' conftest.er1
>conftest.err
31977 cat conftest.err
>&5
31978 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31979 (exit $ac_status); } && {
31980 test -z "$ac_c_werror_flag" ||
31981 test ! -s conftest.err
31982 } && test -s conftest.
$ac_objext; then
31983 ac_cv_header_sql_h
=yes
31985 echo "$as_me: failed program was:" >&5
31986 sed 's/^/| /' conftest.
$ac_ext >&5
31988 ac_cv_header_sql_h
=no
31991 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
31993 { echo "$as_me:$LINENO: result: $ac_cv_header_sql_h" >&5
31994 echo "${ECHO_T}$ac_cv_header_sql_h" >&6; }
31995 if test $ac_cv_header_sql_h = yes; then
32000 if test "x$found_sql_h" = "x1" ; then
32001 { echo "$as_me:$LINENO: checking for SQLAllocEnv in -liodbc" >&5
32002 echo $ECHO_N "checking for SQLAllocEnv in -liodbc... $ECHO_C" >&6; }
32003 if test "${ac_cv_lib_iodbc_SQLAllocEnv+set}" = set; then
32004 echo $ECHO_N "(cached) $ECHO_C" >&6
32006 ac_check_lib_save_LIBS
=$LIBS
32007 LIBS
="-liodbc $LIBS"
32008 cat >conftest.
$ac_ext <<_ACEOF
32011 cat confdefs.h
>>conftest.
$ac_ext
32012 cat >>conftest.
$ac_ext <<_ACEOF
32013 /* end confdefs.h. */
32015 /* Override any GCC internal prototype to avoid an error.
32016 Use char because int might match the return type of a GCC
32017 builtin and then its argument prototype would still apply. */
32021 char SQLAllocEnv ();
32025 return SQLAllocEnv ();
32030 rm -f conftest.
$ac_objext conftest
$ac_exeext
32031 if { (ac_try
="$ac_link"
32032 case "(($ac_try" in
32033 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
32034 *) ac_try_echo=$ac_try;;
32036 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32037 (eval "$ac_link") 2>conftest.er1
32039 grep -v '^ *+' conftest.er1 >conftest.err
32041 cat conftest.err >&5
32042 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32043 (exit $ac_status); } && {
32044 test -z "$ac_c_werror_flag" ||
32045 test ! -s conftest.err
32046 } && test -s conftest$ac_exeext &&
32047 $as_test_x conftest$ac_exeext; then
32048 ac_cv_lib_iodbc_SQLAllocEnv=yes
32050 echo "$as_me: failed program was:" >&5
32051 sed 's/^/| /' conftest.$ac_ext >&5
32053 ac_cv_lib_iodbc_SQLAllocEnv=no
32056 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32057 conftest$ac_exeext conftest.$ac_ext
32058 LIBS=$ac_check_lib_save_LIBS
32060 { echo "$as_me:$LINENO: result: $ac_cv_lib_iodbc_SQLAllocEnv" >&5
32061 echo "${ECHO_T}$ac_cv_lib_iodbc_SQLAllocEnv" >&6; }
32062 if test $ac_cv_lib_iodbc_SQLAllocEnv = yes; then
32063 ODBC_LINK=" -liodbc"
32066 { echo "$as_me:$LINENO: checking for SQLAllocEnv in -lunixodbc" >&5
32067 echo $ECHO_N "checking for SQLAllocEnv in -lunixodbc... $ECHO_C" >&6; }
32068 if test "${ac_cv_lib_unixodbc_SQLAllocEnv+set}" = set; then
32069 echo $ECHO_N "(cached) $ECHO_C" >&6
32071 ac_check_lib_save_LIBS=$LIBS
32072 LIBS="-lunixodbc $LIBS"
32073 cat >conftest.$ac_ext <<_ACEOF
32076 cat confdefs.h >>conftest.$ac_ext
32077 cat >>conftest.$ac_ext <<_ACEOF
32078 /* end confdefs.h. */
32080 /* Override any GCC internal prototype to avoid an error.
32081 Use char because int might match the return type of a GCC
32082 builtin and then its argument prototype would still apply. */
32086 char SQLAllocEnv ();
32090 return SQLAllocEnv ();
32095 rm -f conftest.$ac_objext conftest$ac_exeext
32096 if { (ac_try="$ac_link"
32097 case "(($ac_try" in
32098 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
32099 *) ac_try_echo
=$ac_try;;
32101 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32102 (eval "$ac_link") 2>conftest.er1
32104 grep -v '^ *+' conftest.er1
>conftest.err
32106 cat conftest.err
>&5
32107 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32108 (exit $ac_status); } && {
32109 test -z "$ac_c_werror_flag" ||
32110 test ! -s conftest.err
32111 } && test -s conftest
$ac_exeext &&
32112 $as_test_x conftest
$ac_exeext; then
32113 ac_cv_lib_unixodbc_SQLAllocEnv
=yes
32115 echo "$as_me: failed program was:" >&5
32116 sed 's/^/| /' conftest.
$ac_ext >&5
32118 ac_cv_lib_unixodbc_SQLAllocEnv
=no
32121 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
32122 conftest
$ac_exeext conftest.
$ac_ext
32123 LIBS
=$ac_check_lib_save_LIBS
32125 { echo "$as_me:$LINENO: result: $ac_cv_lib_unixodbc_SQLAllocEnv" >&5
32126 echo "${ECHO_T}$ac_cv_lib_unixodbc_SQLAllocEnv" >&6; }
32127 if test $ac_cv_lib_unixodbc_SQLAllocEnv = yes; then
32128 ODBC_LINK
=" -lunixodbc"
32131 { echo "$as_me:$LINENO: checking for SQLAllocEnv in -lodbc" >&5
32132 echo $ECHO_N "checking for SQLAllocEnv in -lodbc... $ECHO_C" >&6; }
32133 if test "${ac_cv_lib_odbc_SQLAllocEnv+set}" = set; then
32134 echo $ECHO_N "(cached) $ECHO_C" >&6
32136 ac_check_lib_save_LIBS
=$LIBS
32137 LIBS
="-lodbc $LIBS"
32138 cat >conftest.
$ac_ext <<_ACEOF
32141 cat confdefs.h
>>conftest.
$ac_ext
32142 cat >>conftest.
$ac_ext <<_ACEOF
32143 /* end confdefs.h. */
32145 /* Override any GCC internal prototype to avoid an error.
32146 Use char because int might match the return type of a GCC
32147 builtin and then its argument prototype would still apply. */
32151 char SQLAllocEnv ();
32155 return SQLAllocEnv ();
32160 rm -f conftest.
$ac_objext conftest
$ac_exeext
32161 if { (ac_try
="$ac_link"
32162 case "(($ac_try" in
32163 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
32164 *) ac_try_echo=$ac_try;;
32166 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32167 (eval "$ac_link") 2>conftest.er1
32169 grep -v '^ *+' conftest.er1 >conftest.err
32171 cat conftest.err >&5
32172 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32173 (exit $ac_status); } && {
32174 test -z "$ac_c_werror_flag" ||
32175 test ! -s conftest.err
32176 } && test -s conftest$ac_exeext &&
32177 $as_test_x conftest$ac_exeext; then
32178 ac_cv_lib_odbc_SQLAllocEnv=yes
32180 echo "$as_me: failed program was:" >&5
32181 sed 's/^/| /' conftest.$ac_ext >&5
32183 ac_cv_lib_odbc_SQLAllocEnv=no
32186 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32187 conftest$ac_exeext conftest.$ac_ext
32188 LIBS=$ac_check_lib_save_LIBS
32190 { echo "$as_me:$LINENO: result: $ac_cv_lib_odbc_SQLAllocEnv" >&5
32191 echo "${ECHO_T}$ac_cv_lib_odbc_SQLAllocEnv" >&6; }
32192 if test $ac_cv_lib_odbc_SQLAllocEnv = yes; then
32193 ODBC_LINK=" -lodbc"
32203 if test "x$ODBC_LINK" = "x" ; then
32204 if test "$wxUSE_ODBC" = "sys" ; then
32205 { { echo "$as_me:$LINENO: error: system ODBC library not found! Use --with-odbc=builtin to use built-in version" >&5
32206 echo "$as_me: error: system ODBC library not found! Use --with-odbc=builtin to use built-in version" >&2;}
32207 { (exit 1); exit 1; }; }
32209 { echo "$as_me:$LINENO: WARNING: system ODBC library not found, will use built-in instead" >&5
32210 echo "$as_me: WARNING: system ODBC library not found, will use built-in instead" >&2;}
32218 if test "$wxUSE_ODBC" = "builtin" ; then
32219 cat >>confdefs.h <<\_ACEOF
32220 #define wxUSE_BUILTIN_IODBC 1
32226 if test "$wxUSE_ODBC" != "no" ; then
32227 cat >>confdefs.h <<\_ACEOF
32228 #define wxUSE_ODBC 1
32231 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS db"
32233 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_IODBC_"
32237 if test "$wxUSE_DISPLAY" = "yes"; then
32238 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1; then
32239 { echo "$as_me:$LINENO: checking for Xinerama" >&5
32240 echo $ECHO_N "checking for Xinerama... $ECHO_C" >&6; }
32243 for ac_dir in $SEARCH_LIB;
32245 for ac_extension in a so sl dylib dll.a; do
32246 if test -f "$ac_dir/libXinerama.$ac_extension"; then
32247 ac_find_libraries=$ac_dir
32253 if test "$ac_find_libraries" != "" ; then
32255 if test "$ac_find_libraries" = "default location"; then
32258 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
32260 if test $result = 0; then
32263 ac_path_to_link=" -L$ac_find_libraries"
32267 if test "$ac_path_to_link" != " -L/usr/lib" ; then
32268 LDFLAGS="$LDFLAGS $ac_path_to_link"
32270 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXinerama"
32271 { echo "$as_me:$LINENO: result: yes" >&5
32272 echo "${ECHO_T}yes" >&6; }
32274 { echo "$as_me:$LINENO: checking for Xxf86vm extension" >&5
32275 echo $ECHO_N "checking for Xxf86vm extension... $ECHO_C" >&6; }
32278 for ac_dir in $SEARCH_LIB;
32280 for ac_extension in a so sl dylib dll.a; do
32281 if test -f "$ac_dir/libXxf86vm.$ac_extension"; then
32282 ac_find_libraries=$ac_dir
32288 if test "$ac_find_libraries" != "" ; then
32289 { echo "$as_me:$LINENO: result: yes" >&5
32290 echo "${ECHO_T}yes" >&6; }
32291 { echo "$as_me:$LINENO: checking for X11/extensions/xf86vmode.h" >&5
32292 echo $ECHO_N "checking for X11/extensions/xf86vmode.h... $ECHO_C" >&6; }
32293 if test "${ac_cv_header_X11_extensions_xf86vmode_h+set}" = set; then
32294 echo $ECHO_N "(cached) $ECHO_C" >&6
32296 cat >conftest.$ac_ext <<_ACEOF
32299 cat confdefs.h >>conftest.$ac_ext
32300 cat >>conftest.$ac_ext <<_ACEOF
32301 /* end confdefs.h. */
32303 #if HAVE_X11_XLIB_H
32304 #include <X11/Xlib.h>
32308 #include <X11/extensions/xf86vmode.h>
32310 rm -f conftest.$ac_objext
32311 if { (ac_try="$ac_compile"
32312 case "(($ac_try" in
32313 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
32314 *) ac_try_echo
=$ac_try;;
32316 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32317 (eval "$ac_compile") 2>conftest.er1
32319 grep -v '^ *+' conftest.er1
>conftest.err
32321 cat conftest.err
>&5
32322 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32323 (exit $ac_status); } && {
32324 test -z "$ac_c_werror_flag" ||
32325 test ! -s conftest.err
32326 } && test -s conftest.
$ac_objext; then
32327 ac_cv_header_X11_extensions_xf86vmode_h
=yes
32329 echo "$as_me: failed program was:" >&5
32330 sed 's/^/| /' conftest.
$ac_ext >&5
32332 ac_cv_header_X11_extensions_xf86vmode_h
=no
32335 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
32337 { echo "$as_me:$LINENO: result: $ac_cv_header_X11_extensions_xf86vmode_h" >&5
32338 echo "${ECHO_T}$ac_cv_header_X11_extensions_xf86vmode_h" >&6; }
32339 if test $ac_cv_header_X11_extensions_xf86vmode_h = yes; then
32341 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lXxf86vm"
32347 { echo "$as_me:$LINENO: result: no" >&5
32348 echo "${ECHO_T}no" >&6; }
32352 { echo "$as_me:$LINENO: result: no" >&5
32353 echo "${ECHO_T}no" >&6; }
32354 { echo "$as_me:$LINENO: WARNING: Xinerama not found; disabling wxDisplay" >&5
32355 echo "$as_me: WARNING: Xinerama not found; disabling wxDisplay" >&2;}
32358 elif test "$wxUSE_MSW" = 1; then
32359 { echo "$as_me:$LINENO: checking for ddraw.h" >&5
32360 echo $ECHO_N "checking for ddraw.h... $ECHO_C" >&6; }
32361 if test "${ac_cv_header_ddraw_h+set}" = set; then
32362 echo $ECHO_N "(cached) $ECHO_C" >&6
32364 cat >conftest.
$ac_ext <<_ACEOF
32367 cat confdefs.h
>>conftest.
$ac_ext
32368 cat >>conftest.
$ac_ext <<_ACEOF
32369 /* end confdefs.h. */
32370 #include <windows.h>
32374 rm -f conftest.
$ac_objext
32375 if { (ac_try
="$ac_compile"
32376 case "(($ac_try" in
32377 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
32378 *) ac_try_echo=$ac_try;;
32380 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32381 (eval "$ac_compile") 2>conftest.er1
32383 grep -v '^ *+' conftest.er1 >conftest.err
32385 cat conftest.err >&5
32386 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32387 (exit $ac_status); } && {
32388 test -z "$ac_c_werror_flag" ||
32389 test ! -s conftest.err
32390 } && test -s conftest.$ac_objext; then
32391 ac_cv_header_ddraw_h=yes
32393 echo "$as_me: failed program was:" >&5
32394 sed 's/^/| /' conftest.$ac_ext >&5
32396 ac_cv_header_ddraw_h=no
32399 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32401 { echo "$as_me:$LINENO: result: $ac_cv_header_ddraw_h" >&5
32402 echo "${ECHO_T}$ac_cv_header_ddraw_h" >&6; }
32408 if test "$wxUSE_DETECT_SM" = "yes"; then
32409 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1; then
32410 { echo "$as_me:$LINENO: checking for -lSM - X11 session management" >&5
32411 echo $ECHO_N "checking for -lSM - X11 session management... $ECHO_C" >&6; }
32414 for ac_dir in $SEARCH_LIB;
32416 for ac_extension in a so sl dylib dll.a; do
32417 if test -f "$ac_dir/libSM.$ac_extension"; then
32418 ac_find_libraries=$ac_dir
32424 if test "$ac_find_libraries" != "" ; then
32426 if test "$ac_find_libraries" = "default location"; then
32429 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
32431 if test $result = 0; then
32434 ac_path_to_link=" -L$ac_find_libraries"
32438 if test "$ac_path_to_link" != " -L/usr/lib" ; then
32439 LDFLAGS="$LDFLAGS $ac_path_to_link"
32441 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lSM"
32442 { echo "$as_me:$LINENO: result: yes" >&5
32443 echo "${ECHO_T}yes" >&6; }
32445 { echo "$as_me:$LINENO: result: no" >&5
32446 echo "${ECHO_T}no" >&6; }
32447 { echo "$as_me:$LINENO: WARNING: libSM not found; disabling session management detection" >&5
32448 echo "$as_me: WARNING: libSM not found; disabling session management detection" >&2;}
32449 wxUSE_DETECT_SM="no"
32452 wxUSE_DETECT_SM="no"
32459 if test "$wxUSE_OPENGL" = "yes"; then
32460 if test "$wxUSE_MGL" = 1 -o "$wxUSE_DFB" = "1"; then
32461 { echo "$as_me:$LINENO: WARNING: wxGLCanvas not implemented for this port, library will be compiled without it." >&5
32462 echo "$as_me: WARNING: wxGLCanvas not implemented for this port, library will be compiled without it." >&2;}
32464 elif test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = "1"; then
32465 OPENGL_LIBS="-framework OpenGL -framework AGL"
32466 elif test "$wxUSE_MSW" = 1; then
32467 OPENGL_LIBS="-lopengl32 -lglu32"
32469 { echo "$as_me:$LINENO: checking for OpenGL headers" >&5
32470 echo $ECHO_N "checking for OpenGL headers... $ECHO_C" >&6; }
32473 for ac_dir in $SEARCH_INCLUDE /opt/graphics/OpenGL/include /usr/include;
32475 if test -f "$ac_dir/GL/gl.h"; then
32476 ac_find_includes=$ac_dir
32481 if test "$ac_find_includes" != "" ; then
32482 { echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
32483 echo "${ECHO_T}found in $ac_find_includes" >&6; }
32485 if test "x$ac_find_includes" = "x/usr/include"; then
32486 ac_path_to_include=""
32488 echo "$CPPFLAGS" | grep "\-I$ac_find_includes" > /dev/null
32490 if test $result = 0; then
32491 ac_path_to_include=""
32493 ac_path_to_include=" -I$ac_find_includes"
32497 CPPFLAGS="$ac_path_to_include $CPPFLAGS"
32499 { echo "$as_me:$LINENO: result: not found" >&5
32500 echo "${ECHO_T}not found" >&6; }
32503 { echo "$as_me:$LINENO: checking for GL/gl.h" >&5
32504 echo $ECHO_N "checking for GL/gl.h... $ECHO_C" >&6; }
32505 if test "${ac_cv_header_GL_gl_h+set}" = set; then
32506 echo $ECHO_N "(cached) $ECHO_C" >&6
32508 cat >conftest.$ac_ext <<_ACEOF
32511 cat confdefs.h >>conftest.$ac_ext
32512 cat >>conftest.$ac_ext <<_ACEOF
32513 /* end confdefs.h. */
32518 rm -f conftest.$ac_objext
32519 if { (ac_try="$ac_compile"
32520 case "(($ac_try" in
32521 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
32522 *) ac_try_echo
=$ac_try;;
32524 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32525 (eval "$ac_compile") 2>conftest.er1
32527 grep -v '^ *+' conftest.er1
>conftest.err
32529 cat conftest.err
>&5
32530 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32531 (exit $ac_status); } && {
32532 test -z "$ac_c_werror_flag" ||
32533 test ! -s conftest.err
32534 } && test -s conftest.
$ac_objext; then
32535 ac_cv_header_GL_gl_h
=yes
32537 echo "$as_me: failed program was:" >&5
32538 sed 's/^/| /' conftest.
$ac_ext >&5
32540 ac_cv_header_GL_gl_h
=no
32543 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
32545 { echo "$as_me:$LINENO: result: $ac_cv_header_GL_gl_h" >&5
32546 echo "${ECHO_T}$ac_cv_header_GL_gl_h" >&6; }
32547 if test $ac_cv_header_GL_gl_h = yes; then
32549 if test "${ac_cv_header_GL_glu_h+set}" = set; then
32550 { echo "$as_me:$LINENO: checking for GL/glu.h" >&5
32551 echo $ECHO_N "checking for GL/glu.h... $ECHO_C" >&6; }
32552 if test "${ac_cv_header_GL_glu_h+set}" = set; then
32553 echo $ECHO_N "(cached) $ECHO_C" >&6
32555 { echo "$as_me:$LINENO: result: $ac_cv_header_GL_glu_h" >&5
32556 echo "${ECHO_T}$ac_cv_header_GL_glu_h" >&6; }
32558 # Is the header compilable?
32559 { echo "$as_me:$LINENO: checking GL/glu.h usability" >&5
32560 echo $ECHO_N "checking GL/glu.h usability... $ECHO_C" >&6; }
32561 cat >conftest.
$ac_ext <<_ACEOF
32564 cat confdefs.h
>>conftest.
$ac_ext
32565 cat >>conftest.
$ac_ext <<_ACEOF
32566 /* end confdefs.h. */
32567 $ac_includes_default
32568 #include <GL/glu.h>
32570 rm -f conftest.
$ac_objext
32571 if { (ac_try
="$ac_compile"
32572 case "(($ac_try" in
32573 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
32574 *) ac_try_echo=$ac_try;;
32576 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32577 (eval "$ac_compile") 2>conftest.er1
32579 grep -v '^ *+' conftest.er1 >conftest.err
32581 cat conftest.err >&5
32582 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32583 (exit $ac_status); } && {
32584 test -z "$ac_c_werror_flag" ||
32585 test ! -s conftest.err
32586 } && test -s conftest.$ac_objext; then
32587 ac_header_compiler=yes
32589 echo "$as_me: failed program was:" >&5
32590 sed 's/^/| /' conftest.$ac_ext >&5
32592 ac_header_compiler=no
32595 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32596 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
32597 echo "${ECHO_T}$ac_header_compiler" >&6; }
32599 # Is the header present?
32600 { echo "$as_me:$LINENO: checking GL/glu.h presence" >&5
32601 echo $ECHO_N "checking GL/glu.h presence... $ECHO_C" >&6; }
32602 cat >conftest.$ac_ext <<_ACEOF
32605 cat confdefs.h >>conftest.$ac_ext
32606 cat >>conftest.$ac_ext <<_ACEOF
32607 /* end confdefs.h. */
32608 #include <GL/glu.h>
32610 if { (ac_try="$ac_cpp conftest.$ac_ext"
32611 case "(($ac_try" in
32612 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
32613 *) ac_try_echo
=$ac_try;;
32615 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32616 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
32618 grep -v '^ *+' conftest.er1
>conftest.err
32620 cat conftest.err
>&5
32621 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32622 (exit $ac_status); } >/dev
/null
&& {
32623 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
32624 test ! -s conftest.err
32626 ac_header_preproc
=yes
32628 echo "$as_me: failed program was:" >&5
32629 sed 's/^/| /' conftest.
$ac_ext >&5
32631 ac_header_preproc
=no
32634 rm -f conftest.err conftest.
$ac_ext
32635 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
32636 echo "${ECHO_T}$ac_header_preproc" >&6; }
32638 # So? What about this header?
32639 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
32641 { echo "$as_me:$LINENO: WARNING: GL/glu.h: accepted by the compiler, rejected by the preprocessor!" >&5
32642 echo "$as_me: WARNING: GL/glu.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
32643 { echo "$as_me:$LINENO: WARNING: GL/glu.h: proceeding with the compiler's result" >&5
32644 echo "$as_me: WARNING: GL/glu.h: proceeding with the compiler's result" >&2;}
32645 ac_header_preproc
=yes
32648 { echo "$as_me:$LINENO: WARNING: GL/glu.h: present but cannot be compiled" >&5
32649 echo "$as_me: WARNING: GL/glu.h: present but cannot be compiled" >&2;}
32650 { echo "$as_me:$LINENO: WARNING: GL/glu.h: check for missing prerequisite headers?" >&5
32651 echo "$as_me: WARNING: GL/glu.h: check for missing prerequisite headers?" >&2;}
32652 { echo "$as_me:$LINENO: WARNING: GL/glu.h: see the Autoconf documentation" >&5
32653 echo "$as_me: WARNING: GL/glu.h: see the Autoconf documentation" >&2;}
32654 { echo "$as_me:$LINENO: WARNING: GL/glu.h: section \"Present But Cannot Be Compiled\"" >&5
32655 echo "$as_me: WARNING: GL/glu.h: section \"Present But Cannot Be Compiled\"" >&2;}
32656 { echo "$as_me:$LINENO: WARNING: GL/glu.h: proceeding with the preprocessor's result" >&5
32657 echo "$as_me: WARNING: GL/glu.h: proceeding with the preprocessor's result" >&2;}
32658 { echo "$as_me:$LINENO: WARNING: GL/glu.h: in the future, the compiler will take precedence" >&5
32659 echo "$as_me: WARNING: GL/glu.h: in the future, the compiler will take precedence" >&2;}
32661 ## ----------------------------------------- ##
32662 ## Report this to wx-dev@lists.wxwidgets.org ##
32663 ## ----------------------------------------- ##
32665 ) | sed "s/^/$as_me: WARNING: /" >&2
32668 { echo "$as_me:$LINENO: checking for GL/glu.h" >&5
32669 echo $ECHO_N "checking for GL/glu.h... $ECHO_C" >&6; }
32670 if test "${ac_cv_header_GL_glu_h+set}" = set; then
32671 echo $ECHO_N "(cached) $ECHO_C" >&6
32673 ac_cv_header_GL_glu_h
=$ac_header_preproc
32675 { echo "$as_me:$LINENO: result: $ac_cv_header_GL_glu_h" >&5
32676 echo "${ECHO_T}$ac_cv_header_GL_glu_h" >&6; }
32679 if test $ac_cv_header_GL_glu_h = yes; then
32683 { echo "$as_me:$LINENO: checking for -lGL" >&5
32684 echo $ECHO_N "checking for -lGL... $ECHO_C" >&6; }
32687 for ac_dir
in $SEARCH_LIB /opt
/graphics
/OpenGL
/lib
;
32689 for ac_extension
in a so sl dylib dll.a
; do
32690 if test -f "$ac_dir/libGL.$ac_extension"; then
32691 ac_find_libraries
=$ac_dir
32697 if test "$ac_find_libraries" != "" ; then
32698 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
32699 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
32702 if test "$ac_find_libraries" = "default location"; then
32705 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev
/null
32707 if test $result = 0; then
32710 ac_path_to_link
=" -L$ac_find_libraries"
32714 if test "$ac_path_to_link" != " -L/usr/lib" ; then
32715 LDFLAGS_GL
="$ac_path_to_link"
32718 { echo "$as_me:$LINENO: checking for -lGLU" >&5
32719 echo $ECHO_N "checking for -lGLU... $ECHO_C" >&6; }
32722 for ac_dir
in $SEARCH_LIB;
32724 for ac_extension
in a so sl dylib dll.a
; do
32725 if test -f "$ac_dir/libGLU.$ac_extension"; then
32726 ac_find_libraries
=$ac_dir
32732 if test "$ac_find_libraries" != "" ; then
32734 if test "$ac_find_libraries" = "default location"; then
32737 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev
/null
32739 if test $result = 0; then
32742 ac_path_to_link
=" -L$ac_find_libraries"
32746 if test "$ac_path_to_link" != " -L/usr/lib" -a \
32747 "$ac_path_to_link" != "$LDFLAGS_GL"; then
32748 LDFLAGS_GL
="$LDFLAGS_GL$ac_path_to_link"
32752 OPENGL_LIBS
="-lGL -lGLU"
32753 { echo "$as_me:$LINENO: result: yes" >&5
32754 echo "${ECHO_T}yes" >&6; }
32756 { echo "$as_me:$LINENO: result: no" >&5
32757 echo "${ECHO_T}no" >&6; }
32760 { echo "$as_me:$LINENO: result: no" >&5
32761 echo "${ECHO_T}no" >&6; }
32764 if test "$found_gl" != 1; then
32765 { echo "$as_me:$LINENO: checking for -lMesaGL" >&5
32766 echo $ECHO_N "checking for -lMesaGL... $ECHO_C" >&6; }
32769 for ac_dir
in $SEARCH_LIB;
32771 for ac_extension
in a so sl dylib dll.a
; do
32772 if test -f "$ac_dir/libMesaGL.$ac_extension"; then
32773 ac_find_libraries
=$ac_dir
32779 if test "$ac_find_libraries" != "" ; then
32781 if test "$ac_find_libraries" = "default location"; then
32784 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev
/null
32786 if test $result = 0; then
32789 ac_path_to_link
=" -L$ac_find_libraries"
32793 LDFLAGS_GL
="$LDFLAGS$ac_path_to_link"
32794 OPENGL_LIBS
="-lMesaGL -lMesaGLU"
32795 { echo "$as_me:$LINENO: result: yes" >&5
32796 echo "${ECHO_T}yes" >&6; }
32798 { echo "$as_me:$LINENO: result: no" >&5
32799 echo "${ECHO_T}no" >&6; }
32811 if test "x$OPENGL_LIBS" = "x"; then
32812 { { echo "$as_me:$LINENO: error: OpenGL libraries not available" >&5
32813 echo "$as_me: error: OpenGL libraries not available" >&2;}
32814 { (exit 1); exit 1; }; }
32818 if test "$wxUSE_OPENGL" = "yes"; then
32820 cat >>confdefs.h
<<\_ACEOF
32821 #define wxUSE_OPENGL 1
32824 cat >>confdefs.h
<<\_ACEOF
32825 #define wxUSE_GLCANVAS 1
32828 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS opengl opengl/cube opengl/penguin opengl/isosurf"
32833 if test -n "$TOOLKIT" ; then
32834 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WX${TOOLKIT}__"
32839 if test "$wxUSE_SHARED" = "yes"; then
32843 { echo "$as_me:$LINENO: WARNING: Host system doesn't support shared libraries, disabling" >&5
32844 echo "$as_me: WARNING: Host system doesn't support shared libraries, disabling" >&2;}
32849 if test "$wxUSE_SHARED" = "yes"; then
32853 *-*-cygwin* | *-*-mingw* )
32854 wx_cv_version_script
=no
32858 { echo "$as_me:$LINENO: checking if the linker accepts --version-script" >&5
32859 echo $ECHO_N "checking if the linker accepts --version-script... $ECHO_C" >&6; }
32860 if test "${wx_cv_version_script+set}" = set; then
32861 echo $ECHO_N "(cached) $ECHO_C" >&6
32864 echo "VER_1 { *; };" >conftest.sym
32865 echo "int main() { return 0; }" >conftest.cpp
32868 $CXX -o conftest.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
32869 -Wl,--version-script,conftest.sym >/dev/null 2>conftest.stderr'
32870 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32871 (eval $ac_try) 2>&5
32873 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32874 (exit $ac_status); }; } ; then
32875 if test -s conftest.stderr
; then
32876 wx_cv_version_script
=no
32878 wx_cv_version_script
=yes
32881 wx_cv_version_script
=no
32884 if test $wx_cv_version_script = yes
32886 echo "struct B { virtual ~B() { } }; \
32887 struct D : public B { }; \
32888 void F() { D d; }" > conftest.cpp
32891 $CXX -shared -fPIC -o conftest1.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
32892 -Wl,--version-script,conftest.sym >/dev/null 2>/dev/null'
32893 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32894 (eval $ac_try) 2>&5
32896 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32897 (exit $ac_status); }; } &&
32899 $CXX -shared -fPIC -o conftest2.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
32900 -Wl,--version-script,conftest.sym conftest1.output >/dev/null 2>/dev/null'
32901 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32902 (eval $ac_try) 2>&5
32904 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32905 (exit $ac_status); }; }
32908 $CXX -shared -fPIC -o conftest3.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
32909 -Wl,--version-script,conftest.sym conftest2.output conftest1.output >/dev/null 2>/dev/null'
32910 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32911 (eval $ac_try) 2>&5
32913 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32914 (exit $ac_status); }; }
32916 wx_cv_version_script
=yes
32918 wx_cv_version_script
=no
32923 rm -f conftest.output conftest.stderr conftest.sym conftest.cpp
32924 rm -f conftest1.output conftest2.output conftest3.output
32927 { echo "$as_me:$LINENO: result: $wx_cv_version_script" >&5
32928 echo "${ECHO_T}$wx_cv_version_script" >&6; }
32930 if test $wx_cv_version_script = yes ; then
32931 LDFLAGS_VERSIONING
="-Wl,--version-script,\$(wx_top_builddir)/version-script"
32938 *-*-linux* | *-*-gnu* )
32939 SAMPLES_RPATH_FLAG
="-Wl,-rpath,\$(wx_top_builddir)/lib"
32940 WXCONFIG_RPATH
="-Wl,-rpath,\$libdir"
32944 if test "$GCC" = yes ; then
32945 CPPFLAGS
="-isystem /usr/openwin/include $CPPFLAGS"
32947 saveLdflags
="$LDFLAGS"
32948 LDFLAGS
="$saveLdflags -Wl,-rpath,/"
32949 { echo "$as_me:$LINENO: checking if the linker accepts -rpath" >&5
32950 echo $ECHO_N "checking if the linker accepts -rpath... $ECHO_C" >&6; }
32951 cat >conftest.
$ac_ext <<_ACEOF
32954 cat confdefs.h
>>conftest.
$ac_ext
32955 cat >>conftest.
$ac_ext <<_ACEOF
32956 /* end confdefs.h. */
32966 rm -f conftest.
$ac_objext conftest
$ac_exeext
32967 if { (ac_try
="$ac_link"
32968 case "(($ac_try" in
32969 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
32970 *) ac_try_echo=$ac_try;;
32972 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32973 (eval "$ac_link") 2>conftest.er1
32975 grep -v '^ *+' conftest.er1 >conftest.err
32977 cat conftest.err >&5
32978 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32979 (exit $ac_status); } && {
32980 test -z "$ac_c_werror_flag" ||
32981 test ! -s conftest.err
32982 } && test -s conftest$ac_exeext &&
32983 $as_test_x conftest$ac_exeext; then
32985 { echo "$as_me:$LINENO: result: yes" >&5
32986 echo "${ECHO_T}yes" >&6; }
32987 SAMPLES_RPATH_FLAG="-Wl,-rpath,\$(wx_top_builddir)/lib"
32988 WXCONFIG_RPATH="-Wl,-rpath,\$libdir"
32991 echo "$as_me: failed program was:" >&5
32992 sed 's/^/| /' conftest.$ac_ext >&5
32995 { echo "$as_me:$LINENO: result: no" >&5
32996 echo "${ECHO_T}no" >&6; }
32997 { echo "$as_me:$LINENO: checking if the linker accepts -R" >&5
32998 echo $ECHO_N "checking if the linker accepts -R... $ECHO_C" >&6; }
32999 LDFLAGS="$saveLdflags -Wl,-R,/"
33000 cat >conftest.$ac_ext <<_ACEOF
33003 cat confdefs.h >>conftest.$ac_ext
33004 cat >>conftest.$ac_ext <<_ACEOF
33005 /* end confdefs.h. */
33015 rm -f conftest.$ac_objext conftest$ac_exeext
33016 if { (ac_try="$ac_link"
33017 case "(($ac_try" in
33018 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
33019 *) ac_try_echo
=$ac_try;;
33021 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33022 (eval "$ac_link") 2>conftest.er1
33024 grep -v '^ *+' conftest.er1
>conftest.err
33026 cat conftest.err
>&5
33027 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33028 (exit $ac_status); } && {
33029 test -z "$ac_c_werror_flag" ||
33030 test ! -s conftest.err
33031 } && test -s conftest
$ac_exeext &&
33032 $as_test_x conftest
$ac_exeext; then
33034 { echo "$as_me:$LINENO: result: yes" >&5
33035 echo "${ECHO_T}yes" >&6; }
33036 SAMPLES_RPATH_FLAG
="-Wl,-R,\$(wx_top_builddir)/lib"
33037 WXCONFIG_RPATH
="-Wl,-R,\$libdir"
33040 echo "$as_me: failed program was:" >&5
33041 sed 's/^/| /' conftest.
$ac_ext >&5
33044 { echo "$as_me:$LINENO: result: no" >&5
33045 echo "${ECHO_T}no" >&6; }
33049 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
33050 conftest
$ac_exeext conftest.
$ac_ext
33054 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
33055 conftest
$ac_exeext conftest.
$ac_ext
33056 LDFLAGS
="$saveLdflags"
33058 SAMPLES_RPATH_FLAG
="-R\$(wx_top_builddir)/lib"
33059 WXCONFIG_RPATH
="-R\$libdir"
33064 install_name_tool
=`which install_name_tool`
33065 if test "$install_name_tool" -a -x "$install_name_tool"; then
33066 SAMPLES_RPATH_POSTLINK
="\$(wx_top_builddir)/change-install-names \$(LIBDIRNAME) \$(prefix) \$@"
33067 cat <<EOF >change-install-names
33069 libnames=\`cd \${1} ; ls -1 | grep '\.[0-9][0-9]*\.dylib\$'\`
33070 inst_cmd="install_name_tool "
33071 for i in \${libnames} ; do
33072 inst_cmd="\${inst_cmd} -change \${2}/lib/\${i} \${1}/\${i}"
33076 chmod +x change
-install-names
33080 *-*-cygwin* | *-*-mingw32* )
33081 WXCONFIG_ONLY_CPPFLAGS
="$WXCONFIG_ONLY_CPPFLAGS -DWXUSINGDLL"
33085 SAMPLES_RPATH_FLAG
="-Wl,+b,\$(wx_top_builddir)/lib"
33086 WXCONFIG_RPATH
="-Wl,+b,\$libdir"
33091 if test $wxUSE_RPATH = "no"; then
33092 SAMPLES_RPATH_FLAG
=''
33093 SAMPLES_RPATH_POSTLINK
=''
33101 config_linkage_component
="-static"
33108 lib_unicode_suffix
=
33110 if test "$wxUSE_UNICODE" = "yes"; then
33111 lib_unicode_suffix
=u
33112 WX_CHARTYPE
="unicode"
33117 WX_DEBUGTYPE
="release"
33119 if test "$wxUSE_DEBUG_FLAG" = "yes"; then
33121 WX_DEBUGTYPE
="debug"
33125 WX_FLAVOUR
=${WX_FLAVOUR:+-$WX_FLAVOUR}
33126 WX_LIB_FLAVOUR
=`echo $WX_FLAVOUR | tr '-' '_'`
33129 if test "$wxUSE_DEBUG_INFO" = "yes"; then
33133 WX_VERSION_TAG
=`echo WX${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}_${WX_RELEASE} | tr "[a-z]" "[A-Z]"`
33135 TOOLCHAIN_NAME
="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}"
33137 TOOLCHAIN_FULLNAME
="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}-${WX_CHARTYPE}-${WX_DEBUGTYPE}${config_linkage_component}-${WX_RELEASE}${WX_FLAVOUR}"
33139 if test "$cross_compiling" = "yes"; then
33140 HOST_SUFFIX
="-$host_alias"
33141 TOOLCHAIN_NAME
="$TOOLCHAIN_NAME$HOST_SUFFIX"
33142 TOOLCHAIN_FULLNAME
="${host_alias}-$TOOLCHAIN_FULLNAME"
33145 WX_LIBRARY_BASENAME_NOGUI
="wx_base${WXBASEPORT}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
33146 if test "${TOOLKIT_DIR}" = "os2"; then
33147 WX_LIBRARY_BASENAME_GUI
="wx_pm${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
33149 WX_LIBRARY_BASENAME_GUI
="wx_${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
33154 if test "$wxUSE_COCOA" = 1; then
33157 ac_cpp
='$CPP $CPPFLAGS'
33158 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33159 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33160 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
33164 { echo "$as_me:$LINENO: checking if AppKit/NSEvent.h conflicts with CoreFoundation" >&5
33165 echo $ECHO_N "checking if AppKit/NSEvent.h conflicts with CoreFoundation... $ECHO_C" >&6; }
33166 cat >conftest.
$ac_ext <<_ACEOF
33169 cat confdefs.h
>>conftest.
$ac_ext
33170 cat >>conftest.
$ac_ext <<_ACEOF
33171 /* end confdefs.h. */
33172 #include <AppKit/NSEvent.h>
33173 #include <CoreFoundation/CoreFoundation.h>
33183 rm -f conftest.
$ac_objext
33184 if { (ac_try
="$ac_compile"
33185 case "(($ac_try" in
33186 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
33187 *) ac_try_echo=$ac_try;;
33189 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33190 (eval "$ac_compile") 2>conftest.er1
33192 grep -v '^ *+' conftest.er1 >conftest.err
33194 cat conftest.err >&5
33195 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33196 (exit $ac_status); } && {
33197 test -z "$ac_c_werror_flag" ||
33198 test ! -s conftest.err
33199 } && test -s conftest.$ac_objext; then
33200 { echo "$as_me:$LINENO: result: no" >&5
33201 echo "${ECHO_T}no" >&6; }
33203 echo "$as_me: failed program was:" >&5
33204 sed 's/^/| /' conftest.$ac_ext >&5
33206 { echo "$as_me:$LINENO: result: yes" >&5
33207 echo "${ECHO_T}yes" >&6; }
33208 { echo "$as_me:$LINENO: checking if defining __Point__ will fix it" >&5
33209 echo $ECHO_N "checking if defining __Point__ will fix it... $ECHO_C" >&6; }
33210 cat >conftest.$ac_ext <<_ACEOF
33213 cat confdefs.h >>conftest.$ac_ext
33214 cat >>conftest.$ac_ext <<_ACEOF
33215 /* end confdefs.h. */
33216 #define __Point__ 1
33217 #include <AppKit/NSEvent.h>
33218 #include <CoreFoundation/CoreFoundation.h>
33228 rm -f conftest.$ac_objext
33229 if { (ac_try="$ac_compile"
33230 case "(($ac_try" in
33231 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
33232 *) ac_try_echo
=$ac_try;;
33234 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33235 (eval "$ac_compile") 2>conftest.er1
33237 grep -v '^ *+' conftest.er1
>conftest.err
33239 cat conftest.err
>&5
33240 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33241 (exit $ac_status); } && {
33242 test -z "$ac_c_werror_flag" ||
33243 test ! -s conftest.err
33244 } && test -s conftest.
$ac_objext; then
33245 { echo "$as_me:$LINENO: result: yes" >&5
33246 echo "${ECHO_T}yes" >&6; }
33247 cat >>confdefs.h
<<\_ACEOF
33248 #define __Point__ 1
33253 echo "$as_me: failed program was:" >&5
33254 sed 's/^/| /' conftest.
$ac_ext >&5
33256 { { echo "$as_me:$LINENO: error: no
33257 See \`config.log' for more details." >&5
33258 echo "$as_me: error: no
33259 See \`config.log' for more details." >&2;}
33260 { (exit 1); exit 1; }; }
33264 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
33268 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
33270 ac_cpp
='$CPP $CPPFLAGS'
33271 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33272 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33273 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
33277 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1; then
33278 WX_RESOURCES_MACOSX_ASCII
="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.r"
33279 WX_RESOURCES_MACOSX_DATA
="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.rsrc"
33281 LIBWXMACRES
="\$(wx_top_builddir)/lib/${WX_RESOURCES_MACOSX_ASCII}"
33283 # Extract the first word of "Rez", so it can be a program name with args.
33284 set dummy Rez
; ac_word
=$2
33285 { echo "$as_me:$LINENO: checking for $ac_word" >&5
33286 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
33287 if test "${ac_cv_prog_REZ+set}" = set; then
33288 echo $ECHO_N "(cached) $ECHO_C" >&6
33290 if test -n "$REZ"; then
33291 ac_cv_prog_REZ
="$REZ" # Let the user override the test.
33293 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
33294 for as_dir
in $PATH
33297 test -z "$as_dir" && as_dir
=.
33298 for ac_exec_ext
in '' $ac_executable_extensions; do
33299 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
33300 ac_cv_prog_REZ
="Rez"
33301 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
33308 test -z "$ac_cv_prog_REZ" && ac_cv_prog_REZ
="/Developer/Tools/Rez"
33311 REZ
=$ac_cv_prog_REZ
33312 if test -n "$REZ"; then
33313 { echo "$as_me:$LINENO: result: $REZ" >&5
33314 echo "${ECHO_T}$REZ" >&6; }
33316 { echo "$as_me:$LINENO: result: no" >&5
33317 echo "${ECHO_T}no" >&6; }
33321 # Extract the first word of "DeRez", so it can be a program name with args.
33322 set dummy DeRez
; ac_word
=$2
33323 { echo "$as_me:$LINENO: checking for $ac_word" >&5
33324 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
33325 if test "${ac_cv_prog_DEREZ+set}" = set; then
33326 echo $ECHO_N "(cached) $ECHO_C" >&6
33328 if test -n "$DEREZ"; then
33329 ac_cv_prog_DEREZ
="$DEREZ" # Let the user override the test.
33331 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
33332 for as_dir
in $PATH
33335 test -z "$as_dir" && as_dir
=.
33336 for ac_exec_ext
in '' $ac_executable_extensions; do
33337 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
33338 ac_cv_prog_DEREZ
="DeRez"
33339 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
33346 test -z "$ac_cv_prog_DEREZ" && ac_cv_prog_DEREZ
="/Developer/Tools/DeRez"
33349 DEREZ
=$ac_cv_prog_DEREZ
33350 if test -n "$DEREZ"; then
33351 { echo "$as_me:$LINENO: result: $DEREZ" >&5
33352 echo "${ECHO_T}$DEREZ" >&6; }
33354 { echo "$as_me:$LINENO: result: no" >&5
33355 echo "${ECHO_T}no" >&6; }
33359 # Extract the first word of "SetFile", so it can be a program name with args.
33360 set dummy SetFile
; ac_word
=$2
33361 { echo "$as_me:$LINENO: checking for $ac_word" >&5
33362 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
33363 if test "${ac_cv_prog_SETFILE+set}" = set; then
33364 echo $ECHO_N "(cached) $ECHO_C" >&6
33366 if test -n "$SETFILE"; then
33367 ac_cv_prog_SETFILE
="$SETFILE" # Let the user override the test.
33369 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
33370 for as_dir
in $PATH
33373 test -z "$as_dir" && as_dir
=.
33374 for ac_exec_ext
in '' $ac_executable_extensions; do
33375 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
33376 ac_cv_prog_SETFILE
="SetFile"
33377 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
33384 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE
="/Developer/Tools/SetFile"
33387 SETFILE
=$ac_cv_prog_SETFILE
33388 if test -n "$SETFILE"; then
33389 { echo "$as_me:$LINENO: result: $SETFILE" >&5
33390 echo "${ECHO_T}$SETFILE" >&6; }
33392 { echo "$as_me:$LINENO: result: no" >&5
33393 echo "${ECHO_T}no" >&6; }
33398 MACSETFILE
="\$(SETFILE)"
33400 if test "$wxUSE_MAC" = 1; then
33401 POSTLINK_COMMAND
="\$(REZ) -d __DARWIN__ -t APPL Carbon.r -o"
33403 WXCONFIG_RESFLAGS
="-d __DARWIN__ -t APPL Carbon.r -o"
33405 POSTLINK_COMMAND
="echo -n | \$(REZ) -d __DARWIN__ -t APPL ${LIBWXMACRES}"
33406 RESCOMP
="echo -n \| $REZ"
33407 WXCONFIG_RESFLAGS
="-d __DARWIN__ -t APPL \$libdir/$WX_RESOURCES_MACOSX_ASCII"
33413 if test "$wxUSE_PM" = 1; then
33415 WXCONFIG_RESFLAGS
="-ep"
33417 POSTLINK_COMMAND
="$RESCOMP $WXCONFIG_RESFLAGS"
33419 POSTLINK_COMMAND
="@true"
33426 { echo "$as_me:$LINENO: checking for mode_t" >&5
33427 echo $ECHO_N "checking for mode_t... $ECHO_C" >&6; }
33428 if test "${ac_cv_type_mode_t+set}" = set; then
33429 echo $ECHO_N "(cached) $ECHO_C" >&6
33431 cat >conftest.
$ac_ext <<_ACEOF
33434 cat confdefs.h
>>conftest.
$ac_ext
33435 cat >>conftest.
$ac_ext <<_ACEOF
33436 /* end confdefs.h. */
33437 $ac_includes_default
33438 typedef mode_t ac__type_new_;
33442 if ((ac__type_new_ *) 0)
33444 if (sizeof (ac__type_new_))
33450 rm -f conftest.
$ac_objext
33451 if { (ac_try
="$ac_compile"
33452 case "(($ac_try" in
33453 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
33454 *) ac_try_echo=$ac_try;;
33456 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33457 (eval "$ac_compile") 2>conftest.er1
33459 grep -v '^ *+' conftest.er1 >conftest.err
33461 cat conftest.err >&5
33462 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33463 (exit $ac_status); } && {
33464 test -z "$ac_c_werror_flag" ||
33465 test ! -s conftest.err
33466 } && test -s conftest.$ac_objext; then
33467 ac_cv_type_mode_t=yes
33469 echo "$as_me: failed program was:" >&5
33470 sed 's/^/| /' conftest.$ac_ext >&5
33472 ac_cv_type_mode_t=no
33475 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33477 { echo "$as_me:$LINENO: result: $ac_cv_type_mode_t" >&5
33478 echo "${ECHO_T}$ac_cv_type_mode_t" >&6; }
33479 if test $ac_cv_type_mode_t = yes; then
33483 cat >>confdefs.h <<_ACEOF
33489 { echo "$as_me:$LINENO: checking for off_t" >&5
33490 echo $ECHO_N "checking for off_t... $ECHO_C" >&6; }
33491 if test "${ac_cv_type_off_t+set}" = set; then
33492 echo $ECHO_N "(cached) $ECHO_C" >&6
33494 cat >conftest.$ac_ext <<_ACEOF
33497 cat confdefs.h >>conftest.$ac_ext
33498 cat >>conftest.$ac_ext <<_ACEOF
33499 /* end confdefs.h. */
33500 $ac_includes_default
33501 typedef off_t ac__type_new_;
33505 if ((ac__type_new_ *) 0)
33507 if (sizeof (ac__type_new_))
33513 rm -f conftest.$ac_objext
33514 if { (ac_try="$ac_compile"
33515 case "(($ac_try" in
33516 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
33517 *) ac_try_echo
=$ac_try;;
33519 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33520 (eval "$ac_compile") 2>conftest.er1
33522 grep -v '^ *+' conftest.er1
>conftest.err
33524 cat conftest.err
>&5
33525 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33526 (exit $ac_status); } && {
33527 test -z "$ac_c_werror_flag" ||
33528 test ! -s conftest.err
33529 } && test -s conftest.
$ac_objext; then
33530 ac_cv_type_off_t
=yes
33532 echo "$as_me: failed program was:" >&5
33533 sed 's/^/| /' conftest.
$ac_ext >&5
33535 ac_cv_type_off_t
=no
33538 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
33540 { echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
33541 echo "${ECHO_T}$ac_cv_type_off_t" >&6; }
33542 if test $ac_cv_type_off_t = yes; then
33546 cat >>confdefs.h
<<_ACEOF
33547 #define off_t long int
33552 { echo "$as_me:$LINENO: checking for pid_t" >&5
33553 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6; }
33554 if test "${ac_cv_type_pid_t+set}" = set; then
33555 echo $ECHO_N "(cached) $ECHO_C" >&6
33557 cat >conftest.
$ac_ext <<_ACEOF
33560 cat confdefs.h
>>conftest.
$ac_ext
33561 cat >>conftest.
$ac_ext <<_ACEOF
33562 /* end confdefs.h. */
33563 $ac_includes_default
33564 typedef pid_t ac__type_new_;
33568 if ((ac__type_new_ *) 0)
33570 if (sizeof (ac__type_new_))
33576 rm -f conftest.
$ac_objext
33577 if { (ac_try
="$ac_compile"
33578 case "(($ac_try" in
33579 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
33580 *) ac_try_echo=$ac_try;;
33582 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33583 (eval "$ac_compile") 2>conftest.er1
33585 grep -v '^ *+' conftest.er1 >conftest.err
33587 cat conftest.err >&5
33588 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33589 (exit $ac_status); } && {
33590 test -z "$ac_c_werror_flag" ||
33591 test ! -s conftest.err
33592 } && test -s conftest.$ac_objext; then
33593 ac_cv_type_pid_t=yes
33595 echo "$as_me: failed program was:" >&5
33596 sed 's/^/| /' conftest.$ac_ext >&5
33598 ac_cv_type_pid_t=no
33601 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33603 { echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
33604 echo "${ECHO_T}$ac_cv_type_pid_t" >&6; }
33605 if test $ac_cv_type_pid_t = yes; then
33609 cat >>confdefs.h <<_ACEOF
33615 { echo "$as_me:$LINENO: checking for size_t" >&5
33616 echo $ECHO_N "checking for size_t... $ECHO_C" >&6; }
33617 if test "${ac_cv_type_size_t+set}" = set; then
33618 echo $ECHO_N "(cached) $ECHO_C" >&6
33620 cat >conftest.$ac_ext <<_ACEOF
33623 cat confdefs.h >>conftest.$ac_ext
33624 cat >>conftest.$ac_ext <<_ACEOF
33625 /* end confdefs.h. */
33626 $ac_includes_default
33627 typedef size_t ac__type_new_;
33631 if ((ac__type_new_ *) 0)
33633 if (sizeof (ac__type_new_))
33639 rm -f conftest.$ac_objext
33640 if { (ac_try="$ac_compile"
33641 case "(($ac_try" in
33642 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
33643 *) ac_try_echo
=$ac_try;;
33645 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33646 (eval "$ac_compile") 2>conftest.er1
33648 grep -v '^ *+' conftest.er1
>conftest.err
33650 cat conftest.err
>&5
33651 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33652 (exit $ac_status); } && {
33653 test -z "$ac_c_werror_flag" ||
33654 test ! -s conftest.err
33655 } && test -s conftest.
$ac_objext; then
33656 ac_cv_type_size_t
=yes
33658 echo "$as_me: failed program was:" >&5
33659 sed 's/^/| /' conftest.
$ac_ext >&5
33661 ac_cv_type_size_t
=no
33664 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
33666 { echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
33667 echo "${ECHO_T}$ac_cv_type_size_t" >&6; }
33668 if test $ac_cv_type_size_t = yes; then
33672 cat >>confdefs.h
<<_ACEOF
33673 #define size_t unsigned int
33678 { echo "$as_me:$LINENO: checking for uid_t in sys/types.h" >&5
33679 echo $ECHO_N "checking for uid_t in sys/types.h... $ECHO_C" >&6; }
33680 if test "${ac_cv_type_uid_t+set}" = set; then
33681 echo $ECHO_N "(cached) $ECHO_C" >&6
33683 cat >conftest.
$ac_ext <<_ACEOF
33686 cat confdefs.h
>>conftest.
$ac_ext
33687 cat >>conftest.
$ac_ext <<_ACEOF
33688 /* end confdefs.h. */
33689 #include <sys/types.h>
33692 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
33693 $EGREP "uid_t" >/dev
/null
2>&1; then
33694 ac_cv_type_uid_t
=yes
33696 ac_cv_type_uid_t
=no
33701 { echo "$as_me:$LINENO: result: $ac_cv_type_uid_t" >&5
33702 echo "${ECHO_T}$ac_cv_type_uid_t" >&6; }
33703 if test $ac_cv_type_uid_t = no
; then
33705 cat >>confdefs.h
<<\_ACEOF
33710 cat >>confdefs.h
<<\_ACEOF
33717 { echo "$as_me:$LINENO: checking for ssize_t" >&5
33718 echo $ECHO_N "checking for ssize_t... $ECHO_C" >&6; }
33719 if test "${ac_cv_type_ssize_t+set}" = set; then
33720 echo $ECHO_N "(cached) $ECHO_C" >&6
33722 cat >conftest.
$ac_ext <<_ACEOF
33725 cat confdefs.h
>>conftest.
$ac_ext
33726 cat >>conftest.
$ac_ext <<_ACEOF
33727 /* end confdefs.h. */
33728 $ac_includes_default
33729 typedef ssize_t ac__type_new_;
33733 if ((ac__type_new_ *) 0)
33735 if (sizeof (ac__type_new_))
33741 rm -f conftest.
$ac_objext
33742 if { (ac_try
="$ac_compile"
33743 case "(($ac_try" in
33744 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
33745 *) ac_try_echo=$ac_try;;
33747 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33748 (eval "$ac_compile") 2>conftest.er1
33750 grep -v '^ *+' conftest.er1 >conftest.err
33752 cat conftest.err >&5
33753 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33754 (exit $ac_status); } && {
33755 test -z "$ac_c_werror_flag" ||
33756 test ! -s conftest.err
33757 } && test -s conftest.$ac_objext; then
33758 ac_cv_type_ssize_t=yes
33760 echo "$as_me: failed program was:" >&5
33761 sed 's/^/| /' conftest.$ac_ext >&5
33763 ac_cv_type_ssize_t=no
33766 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33768 { echo "$as_me:$LINENO: result: $ac_cv_type_ssize_t" >&5
33769 echo "${ECHO_T}$ac_cv_type_ssize_t" >&6; }
33770 if test $ac_cv_type_ssize_t = yes; then
33772 cat >>confdefs.h <<_ACEOF
33773 #define HAVE_SSIZE_T 1
33781 ac_cpp='$CXXCPP $CPPFLAGS'
33782 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33783 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33784 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33785 { echo "$as_me:$LINENO: checking if size_t is unsigned int" >&5
33786 echo $ECHO_N "checking if size_t is unsigned int... $ECHO_C" >&6; }
33787 if test "${wx_cv_size_t_is_uint+set}" = set; then
33788 echo $ECHO_N "(cached) $ECHO_C" >&6
33791 cat >conftest.$ac_ext <<_ACEOF
33794 cat confdefs.h >>conftest.$ac_ext
33795 cat >>conftest.$ac_ext <<_ACEOF
33796 /* end confdefs.h. */
33797 #include <stddef.h>
33804 struct Foo { void foo(size_t); void foo(unsigned int); };
33812 rm -f conftest.$ac_objext
33813 if { (ac_try="$ac_compile"
33814 case "(($ac_try" in
33815 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
33816 *) ac_try_echo
=$ac_try;;
33818 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33819 (eval "$ac_compile") 2>conftest.er1
33821 grep -v '^ *+' conftest.er1
>conftest.err
33823 cat conftest.err
>&5
33824 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33825 (exit $ac_status); } && {
33826 test -z "$ac_cxx_werror_flag" ||
33827 test ! -s conftest.err
33828 } && test -s conftest.
$ac_objext; then
33829 wx_cv_size_t_is_uint
=no
33831 echo "$as_me: failed program was:" >&5
33832 sed 's/^/| /' conftest.
$ac_ext >&5
33834 wx_cv_size_t_is_uint
=yes
33838 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
33842 { echo "$as_me:$LINENO: result: $wx_cv_size_t_is_uint" >&5
33843 echo "${ECHO_T}$wx_cv_size_t_is_uint" >&6; }
33845 if test "$wx_cv_size_t_is_uint" = "yes"; then
33846 cat >>confdefs.h
<<\_ACEOF
33847 #define wxSIZE_T_IS_UINT 1
33851 { echo "$as_me:$LINENO: checking if size_t is unsigned long" >&5
33852 echo $ECHO_N "checking if size_t is unsigned long... $ECHO_C" >&6; }
33853 if test "${wx_cv_size_t_is_ulong+set}" = set; then
33854 echo $ECHO_N "(cached) $ECHO_C" >&6
33856 cat >conftest.
$ac_ext <<_ACEOF
33859 cat confdefs.h
>>conftest.
$ac_ext
33860 cat >>conftest.
$ac_ext <<_ACEOF
33861 /* end confdefs.h. */
33862 #include <stddef.h>
33869 struct Foo { void foo(size_t); void foo(unsigned long); };
33877 rm -f conftest.
$ac_objext
33878 if { (ac_try
="$ac_compile"
33879 case "(($ac_try" in
33880 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
33881 *) ac_try_echo=$ac_try;;
33883 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33884 (eval "$ac_compile") 2>conftest.er1
33886 grep -v '^ *+' conftest.er1 >conftest.err
33888 cat conftest.err >&5
33889 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33890 (exit $ac_status); } && {
33891 test -z "$ac_cxx_werror_flag" ||
33892 test ! -s conftest.err
33893 } && test -s conftest.$ac_objext; then
33894 wx_cv_size_t_is_ulong=no
33896 echo "$as_me: failed program was:" >&5
33897 sed 's/^/| /' conftest.$ac_ext >&5
33899 wx_cv_size_t_is_ulong=yes
33903 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33906 { echo "$as_me:$LINENO: result: $wx_cv_size_t_is_ulong" >&5
33907 echo "${ECHO_T}$wx_cv_size_t_is_ulong" >&6; }
33909 if test "$wx_cv_size_t_is_ulong" = "yes"; then
33910 cat >>confdefs.h <<\_ACEOF
33911 #define wxSIZE_T_IS_ULONG 1
33918 ac_cpp='$CPP $CPPFLAGS'
33919 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33920 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33921 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33924 { echo "$as_me:$LINENO: checking for pw_gecos in struct passwd" >&5
33925 echo $ECHO_N "checking for pw_gecos in struct passwd... $ECHO_C" >&6; }
33926 if test "${wx_cv_struct_pw_gecos+set}" = set; then
33927 echo $ECHO_N "(cached) $ECHO_C" >&6
33930 cat >conftest.$ac_ext <<_ACEOF
33933 cat confdefs.h >>conftest.$ac_ext
33934 cat >>conftest.$ac_ext <<_ACEOF
33935 /* end confdefs.h. */
33949 rm -f conftest.$ac_objext
33950 if { (ac_try="$ac_compile"
33951 case "(($ac_try" in
33952 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
33953 *) ac_try_echo
=$ac_try;;
33955 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33956 (eval "$ac_compile") 2>conftest.er1
33958 grep -v '^ *+' conftest.er1
>conftest.err
33960 cat conftest.err
>&5
33961 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33962 (exit $ac_status); } && {
33963 test -z "$ac_c_werror_flag" ||
33964 test ! -s conftest.err
33965 } && test -s conftest.
$ac_objext; then
33967 wx_cv_struct_pw_gecos
=yes
33970 echo "$as_me: failed program was:" >&5
33971 sed 's/^/| /' conftest.
$ac_ext >&5
33974 wx_cv_struct_pw_gecos
=no
33979 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
33983 { echo "$as_me:$LINENO: result: $wx_cv_struct_pw_gecos" >&5
33984 echo "${ECHO_T}$wx_cv_struct_pw_gecos" >&6; }
33986 if test "$wx_cv_struct_pw_gecos" = "yes"; then
33987 cat >>confdefs.h
<<\_ACEOF
33988 #define HAVE_PW_GECOS 1
33994 if test "$wxUSE_WCHAR_T" = "yes"; then
33995 cat >>confdefs.h
<<\_ACEOF
33996 #define wxUSE_WCHAR_T 1
34003 for ac_func
in wcslen
34005 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34006 { echo "$as_me:$LINENO: checking for $ac_func" >&5
34007 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
34008 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
34009 echo $ECHO_N "(cached) $ECHO_C" >&6
34011 cat >conftest.
$ac_ext <<_ACEOF
34014 cat confdefs.h
>>conftest.
$ac_ext
34015 cat >>conftest.
$ac_ext <<_ACEOF
34016 /* end confdefs.h. */
34017 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34018 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34019 #define $ac_func innocuous_$ac_func
34021 /* System header to define __stub macros and hopefully few prototypes,
34022 which can conflict with char $ac_func (); below.
34023 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34024 <limits.h> exists even on freestanding compilers. */
34027 # include <limits.h>
34029 # include <assert.h>
34034 /* Override any GCC internal prototype to avoid an error.
34035 Use char because int might match the return type of a GCC
34036 builtin and then its argument prototype would still apply. */
34041 /* The GNU C library defines this for functions which it implements
34042 to always fail with ENOSYS. Some functions are actually named
34043 something starting with __ and the normal name is an alias. */
34044 #if defined __stub_$ac_func || defined __stub___$ac_func
34051 return $ac_func ();
34056 rm -f conftest.
$ac_objext conftest
$ac_exeext
34057 if { (ac_try
="$ac_link"
34058 case "(($ac_try" in
34059 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
34060 *) ac_try_echo=$ac_try;;
34062 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34063 (eval "$ac_link") 2>conftest.er1
34065 grep -v '^ *+' conftest.er1 >conftest.err
34067 cat conftest.err >&5
34068 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34069 (exit $ac_status); } && {
34070 test -z "$ac_c_werror_flag" ||
34071 test ! -s conftest.err
34072 } && test -s conftest$ac_exeext &&
34073 $as_test_x conftest$ac_exeext; then
34074 eval "$as_ac_var=yes"
34076 echo "$as_me: failed program was:" >&5
34077 sed 's/^/| /' conftest.$ac_ext >&5
34079 eval "$as_ac_var=no"
34082 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
34083 conftest$ac_exeext conftest.$ac_ext
34085 ac_res=`eval echo '${'$as_ac_var'}'`
34086 { echo "$as_me:$LINENO: result: $ac_res" >&5
34087 echo "${ECHO_T}$ac_res" >&6; }
34088 if test `eval echo '${'$as_ac_var'}'` = yes; then
34089 cat >>confdefs.h <<_ACEOF
34090 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34097 if test "$WCSLEN_FOUND" = 0; then
34098 if test "$TOOLKIT" = "MSW"; then
34099 { echo "$as_me:$LINENO: checking for wcslen in -lmsvcrt" >&5
34100 echo $ECHO_N "checking for wcslen in -lmsvcrt... $ECHO_C" >&6; }
34101 if test "${ac_cv_lib_msvcrt_wcslen+set}" = set; then
34102 echo $ECHO_N "(cached) $ECHO_C" >&6
34104 ac_check_lib_save_LIBS=$LIBS
34105 LIBS="-lmsvcrt $LIBS"
34106 cat >conftest.$ac_ext <<_ACEOF
34109 cat confdefs.h >>conftest.$ac_ext
34110 cat >>conftest.$ac_ext <<_ACEOF
34111 /* end confdefs.h. */
34113 /* Override any GCC internal prototype to avoid an error.
34114 Use char because int might match the return type of a GCC
34115 builtin and then its argument prototype would still apply. */
34128 rm -f conftest.$ac_objext conftest$ac_exeext
34129 if { (ac_try="$ac_link"
34130 case "(($ac_try" in
34131 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
34132 *) ac_try_echo
=$ac_try;;
34134 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34135 (eval "$ac_link") 2>conftest.er1
34137 grep -v '^ *+' conftest.er1
>conftest.err
34139 cat conftest.err
>&5
34140 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34141 (exit $ac_status); } && {
34142 test -z "$ac_c_werror_flag" ||
34143 test ! -s conftest.err
34144 } && test -s conftest
$ac_exeext &&
34145 $as_test_x conftest
$ac_exeext; then
34146 ac_cv_lib_msvcrt_wcslen
=yes
34148 echo "$as_me: failed program was:" >&5
34149 sed 's/^/| /' conftest.
$ac_ext >&5
34151 ac_cv_lib_msvcrt_wcslen
=no
34154 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
34155 conftest
$ac_exeext conftest.
$ac_ext
34156 LIBS
=$ac_check_lib_save_LIBS
34158 { echo "$as_me:$LINENO: result: $ac_cv_lib_msvcrt_wcslen" >&5
34159 echo "${ECHO_T}$ac_cv_lib_msvcrt_wcslen" >&6; }
34160 if test $ac_cv_lib_msvcrt_wcslen = yes; then
34165 { echo "$as_me:$LINENO: checking for wcslen in -lw" >&5
34166 echo $ECHO_N "checking for wcslen in -lw... $ECHO_C" >&6; }
34167 if test "${ac_cv_lib_w_wcslen+set}" = set; then
34168 echo $ECHO_N "(cached) $ECHO_C" >&6
34170 ac_check_lib_save_LIBS
=$LIBS
34172 cat >conftest.
$ac_ext <<_ACEOF
34175 cat confdefs.h
>>conftest.
$ac_ext
34176 cat >>conftest.
$ac_ext <<_ACEOF
34177 /* end confdefs.h. */
34179 /* Override any GCC internal prototype to avoid an error.
34180 Use char because int might match the return type of a GCC
34181 builtin and then its argument prototype would still apply. */
34194 rm -f conftest.
$ac_objext conftest
$ac_exeext
34195 if { (ac_try
="$ac_link"
34196 case "(($ac_try" in
34197 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
34198 *) ac_try_echo=$ac_try;;
34200 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34201 (eval "$ac_link") 2>conftest.er1
34203 grep -v '^ *+' conftest.er1 >conftest.err
34205 cat conftest.err >&5
34206 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34207 (exit $ac_status); } && {
34208 test -z "$ac_c_werror_flag" ||
34209 test ! -s conftest.err
34210 } && test -s conftest$ac_exeext &&
34211 $as_test_x conftest$ac_exeext; then
34212 ac_cv_lib_w_wcslen=yes
34214 echo "$as_me: failed program was:" >&5
34215 sed 's/^/| /' conftest.$ac_ext >&5
34217 ac_cv_lib_w_wcslen=no
34220 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
34221 conftest$ac_exeext conftest.$ac_ext
34222 LIBS=$ac_check_lib_save_LIBS
34224 { echo "$as_me:$LINENO: result: $ac_cv_lib_w_wcslen" >&5
34225 echo "${ECHO_T}$ac_cv_lib_w_wcslen" >&6; }
34226 if test $ac_cv_lib_w_wcslen = yes; then
34236 if test "$WCSLEN_FOUND" = 1; then
34237 cat >>confdefs.h <<\_ACEOF
34238 #define HAVE_WCSLEN 1
34243 if test "$USE_HPUX" = 1 -a "$GCC" != "yes"; then
34244 CPPFLAGS="-D_INCLUDE__STDC_A1_SOURCE $CPPFLAGS"
34247 { echo "$as_me:$LINENO: checking for mbstate_t" >&5
34248 echo $ECHO_N "checking for mbstate_t... $ECHO_C" >&6; }
34249 if test "${ac_cv_type_mbstate_t+set}" = set; then
34250 echo $ECHO_N "(cached) $ECHO_C" >&6
34252 cat >conftest.$ac_ext <<_ACEOF
34255 cat confdefs.h >>conftest.$ac_ext
34256 cat >>conftest.$ac_ext <<_ACEOF
34257 /* end confdefs.h. */
34260 typedef mbstate_t ac__type_new_;
34264 if ((ac__type_new_ *) 0)
34266 if (sizeof (ac__type_new_))
34272 rm -f conftest.$ac_objext
34273 if { (ac_try="$ac_compile"
34274 case "(($ac_try" in
34275 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
34276 *) ac_try_echo
=$ac_try;;
34278 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34279 (eval "$ac_compile") 2>conftest.er1
34281 grep -v '^ *+' conftest.er1
>conftest.err
34283 cat conftest.err
>&5
34284 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34285 (exit $ac_status); } && {
34286 test -z "$ac_c_werror_flag" ||
34287 test ! -s conftest.err
34288 } && test -s conftest.
$ac_objext; then
34289 ac_cv_type_mbstate_t
=yes
34291 echo "$as_me: failed program was:" >&5
34292 sed 's/^/| /' conftest.
$ac_ext >&5
34294 ac_cv_type_mbstate_t
=no
34297 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
34299 { echo "$as_me:$LINENO: result: $ac_cv_type_mbstate_t" >&5
34300 echo "${ECHO_T}$ac_cv_type_mbstate_t" >&6; }
34301 if test $ac_cv_type_mbstate_t = yes; then
34303 cat >>confdefs.h
<<_ACEOF
34304 #define HAVE_MBSTATE_T 1
34308 for ac_func
in wcsrtombs
34310 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34311 { echo "$as_me:$LINENO: checking for $ac_func" >&5
34312 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
34313 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
34314 echo $ECHO_N "(cached) $ECHO_C" >&6
34316 cat >conftest.
$ac_ext <<_ACEOF
34319 cat confdefs.h
>>conftest.
$ac_ext
34320 cat >>conftest.
$ac_ext <<_ACEOF
34321 /* end confdefs.h. */
34322 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34323 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34324 #define $ac_func innocuous_$ac_func
34326 /* System header to define __stub macros and hopefully few prototypes,
34327 which can conflict with char $ac_func (); below.
34328 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34329 <limits.h> exists even on freestanding compilers. */
34332 # include <limits.h>
34334 # include <assert.h>
34339 /* Override any GCC internal prototype to avoid an error.
34340 Use char because int might match the return type of a GCC
34341 builtin and then its argument prototype would still apply. */
34346 /* The GNU C library defines this for functions which it implements
34347 to always fail with ENOSYS. Some functions are actually named
34348 something starting with __ and the normal name is an alias. */
34349 #if defined __stub_$ac_func || defined __stub___$ac_func
34356 return $ac_func ();
34361 rm -f conftest.
$ac_objext conftest
$ac_exeext
34362 if { (ac_try
="$ac_link"
34363 case "(($ac_try" in
34364 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
34365 *) ac_try_echo=$ac_try;;
34367 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34368 (eval "$ac_link") 2>conftest.er1
34370 grep -v '^ *+' conftest.er1 >conftest.err
34372 cat conftest.err >&5
34373 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34374 (exit $ac_status); } && {
34375 test -z "$ac_c_werror_flag" ||
34376 test ! -s conftest.err
34377 } && test -s conftest$ac_exeext &&
34378 $as_test_x conftest$ac_exeext; then
34379 eval "$as_ac_var=yes"
34381 echo "$as_me: failed program was:" >&5
34382 sed 's/^/| /' conftest.$ac_ext >&5
34384 eval "$as_ac_var=no"
34387 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
34388 conftest$ac_exeext conftest.$ac_ext
34390 ac_res=`eval echo '${'$as_ac_var'}'`
34391 { echo "$as_me:$LINENO: result: $ac_res" >&5
34392 echo "${ECHO_T}$ac_res" >&6; }
34393 if test `eval echo '${'$as_ac_var'}'` = yes; then
34394 cat >>confdefs.h <<_ACEOF
34395 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34404 { echo "$as_me:$LINENO: WARNING: Wide character support is unavailable" >&5
34405 echo "$as_me: WARNING: Wide character support is unavailable" >&2;}
34410 for ac_func in snprintf vsnprintf
34412 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34413 { echo "$as_me:$LINENO: checking for $ac_func" >&5
34414 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
34415 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
34416 echo $ECHO_N "(cached) $ECHO_C" >&6
34418 cat >conftest.$ac_ext <<_ACEOF
34421 cat confdefs.h >>conftest.$ac_ext
34422 cat >>conftest.$ac_ext <<_ACEOF
34423 /* end confdefs.h. */
34424 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34425 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34426 #define $ac_func innocuous_$ac_func
34428 /* System header to define __stub macros and hopefully few prototypes,
34429 which can conflict with char $ac_func (); below.
34430 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34431 <limits.h> exists even on freestanding compilers. */
34434 # include <limits.h>
34436 # include <assert.h>
34441 /* Override any GCC internal prototype to avoid an error.
34442 Use char because int might match the return type of a GCC
34443 builtin and then its argument prototype would still apply. */
34448 /* The GNU C library defines this for functions which it implements
34449 to always fail with ENOSYS. Some functions are actually named
34450 something starting with __ and the normal name is an alias. */
34451 #if defined __stub_$ac_func || defined __stub___$ac_func
34458 return $ac_func ();
34463 rm -f conftest.$ac_objext conftest$ac_exeext
34464 if { (ac_try="$ac_link"
34465 case "(($ac_try" in
34466 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
34467 *) ac_try_echo
=$ac_try;;
34469 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34470 (eval "$ac_link") 2>conftest.er1
34472 grep -v '^ *+' conftest.er1
>conftest.err
34474 cat conftest.err
>&5
34475 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34476 (exit $ac_status); } && {
34477 test -z "$ac_c_werror_flag" ||
34478 test ! -s conftest.err
34479 } && test -s conftest
$ac_exeext &&
34480 $as_test_x conftest
$ac_exeext; then
34481 eval "$as_ac_var=yes"
34483 echo "$as_me: failed program was:" >&5
34484 sed 's/^/| /' conftest.
$ac_ext >&5
34486 eval "$as_ac_var=no"
34489 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
34490 conftest
$ac_exeext conftest.
$ac_ext
34492 ac_res
=`eval echo '${'$as_ac_var'}'`
34493 { echo "$as_me:$LINENO: result: $ac_res" >&5
34494 echo "${ECHO_T}$ac_res" >&6; }
34495 if test `eval echo '${'$as_ac_var'}'` = yes; then
34496 cat >>confdefs.h
<<_ACEOF
34497 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34504 if test "$ac_cv_func_vsnprintf" = "yes"; then
34505 { echo "$as_me:$LINENO: checking for vsnprintf declaration" >&5
34506 echo $ECHO_N "checking for vsnprintf declaration... $ECHO_C" >&6; }
34507 if test "${wx_cv_func_vsnprintf_decl+set}" = set; then
34508 echo $ECHO_N "(cached) $ECHO_C" >&6
34511 cat >conftest.
$ac_ext <<_ACEOF
34514 cat confdefs.h
>>conftest.
$ac_ext
34515 cat >>conftest.
$ac_ext <<_ACEOF
34516 /* end confdefs.h. */
34519 #include <stdarg.h>
34521 #if __MSL__ >= 0x6000
34523 using namespace std;
34533 vsnprintf(buf, 10u, "%s", ap);
34539 rm -f conftest.
$ac_objext
34540 if { (ac_try
="$ac_compile"
34541 case "(($ac_try" in
34542 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
34543 *) ac_try_echo=$ac_try;;
34545 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34546 (eval "$ac_compile") 2>conftest.er1
34548 grep -v '^ *+' conftest.er1 >conftest.err
34550 cat conftest.err >&5
34551 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34552 (exit $ac_status); } && {
34553 test -z "$ac_c_werror_flag" ||
34554 test ! -s conftest.err
34555 } && test -s conftest.$ac_objext; then
34556 wx_cv_func_vsnprintf_decl=yes
34558 echo "$as_me: failed program was:" >&5
34559 sed 's/^/| /' conftest.$ac_ext >&5
34561 wx_cv_func_vsnprintf_decl=no
34565 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34569 { echo "$as_me:$LINENO: result: $wx_cv_func_vsnprintf_decl" >&5
34570 echo "${ECHO_T}$wx_cv_func_vsnprintf_decl" >&6; }
34572 if test "$wx_cv_func_vsnprintf_decl" = "yes"; then
34573 cat >>confdefs.h <<\_ACEOF
34574 #define HAVE_VSNPRINTF_DECL 1
34578 { echo "$as_me:$LINENO: checking if vsnprintf declaration is broken" >&5
34579 echo $ECHO_N "checking if vsnprintf declaration is broken... $ECHO_C" >&6; }
34580 if test "${wx_cv_func_broken_vsnprintf_decl+set}" = set; then
34581 echo $ECHO_N "(cached) $ECHO_C" >&6
34584 cat >conftest.$ac_ext <<_ACEOF
34587 cat confdefs.h >>conftest.$ac_ext
34588 cat >>conftest.$ac_ext <<_ACEOF
34589 /* end confdefs.h. */
34592 #include <stdarg.h>
34594 #if __MSL__ >= 0x6000
34596 using namespace std;
34606 const char *fmt = "%s";
34607 vsnprintf(buf, 10u, fmt, ap);
34613 rm -f conftest.$ac_objext
34614 if { (ac_try="$ac_compile"
34615 case "(($ac_try" in
34616 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
34617 *) ac_try_echo
=$ac_try;;
34619 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34620 (eval "$ac_compile") 2>conftest.er1
34622 grep -v '^ *+' conftest.er1
>conftest.err
34624 cat conftest.err
>&5
34625 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34626 (exit $ac_status); } && {
34627 test -z "$ac_c_werror_flag" ||
34628 test ! -s conftest.err
34629 } && test -s conftest.
$ac_objext; then
34630 wx_cv_func_broken_vsnprintf_decl
=no
34632 echo "$as_me: failed program was:" >&5
34633 sed 's/^/| /' conftest.
$ac_ext >&5
34635 wx_cv_func_broken_vsnprintf_decl
=yes
34639 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
34643 { echo "$as_me:$LINENO: result: $wx_cv_func_broken_vsnprintf_decl" >&5
34644 echo "${ECHO_T}$wx_cv_func_broken_vsnprintf_decl" >&6; }
34646 if test "$wx_cv_func_broken_vsnprintf_decl" = "yes"; then
34647 cat >>confdefs.h
<<\_ACEOF
34648 #define HAVE_BROKEN_VSNPRINTF_DECL 1
34655 if test "$ac_cv_func_snprintf" = "yes"; then
34656 { echo "$as_me:$LINENO: checking for snprintf declaration" >&5
34657 echo $ECHO_N "checking for snprintf declaration... $ECHO_C" >&6; }
34658 if test "${wx_cv_func_snprintf_decl+set}" = set; then
34659 echo $ECHO_N "(cached) $ECHO_C" >&6
34662 cat >conftest.
$ac_ext <<_ACEOF
34665 cat confdefs.h
>>conftest.
$ac_ext
34666 cat >>conftest.
$ac_ext <<_ACEOF
34667 /* end confdefs.h. */
34670 #include <stdarg.h>
34672 #if __MSL__ >= 0x6000
34674 using namespace std;
34683 snprintf(buf, 10u, "%s", "wx");
34689 rm -f conftest.
$ac_objext
34690 if { (ac_try
="$ac_compile"
34691 case "(($ac_try" in
34692 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
34693 *) ac_try_echo=$ac_try;;
34695 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34696 (eval "$ac_compile") 2>conftest.er1
34698 grep -v '^ *+' conftest.er1 >conftest.err
34700 cat conftest.err >&5
34701 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34702 (exit $ac_status); } && {
34703 test -z "$ac_c_werror_flag" ||
34704 test ! -s conftest.err
34705 } && test -s conftest.$ac_objext; then
34706 wx_cv_func_snprintf_decl=yes
34708 echo "$as_me: failed program was:" >&5
34709 sed 's/^/| /' conftest.$ac_ext >&5
34711 wx_cv_func_snprintf_decl=no
34715 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34719 { echo "$as_me:$LINENO: result: $wx_cv_func_snprintf_decl" >&5
34720 echo "${ECHO_T}$wx_cv_func_snprintf_decl" >&6; }
34722 if test "$wx_cv_func_snprintf_decl" = "yes"; then
34723 cat >>confdefs.h <<\_ACEOF
34724 #define HAVE_SNPRINTF_DECL 1
34728 { echo "$as_me:$LINENO: checking if snprintf declaration is broken" >&5
34729 echo $ECHO_N "checking if snprintf declaration is broken... $ECHO_C" >&6; }
34730 if test "${wx_cv_func_broken_snprintf_decl+set}" = set; then
34731 echo $ECHO_N "(cached) $ECHO_C" >&6
34734 cat >conftest.$ac_ext <<_ACEOF
34737 cat confdefs.h >>conftest.$ac_ext
34738 cat >>conftest.$ac_ext <<_ACEOF
34739 /* end confdefs.h. */
34742 #include <stdarg.h>
34744 #if __MSL__ >= 0x6000
34746 using namespace std;
34755 const char *fmt = "%s";
34756 snprintf(buf, 10u, fmt, "wx");
34762 rm -f conftest.$ac_objext
34763 if { (ac_try="$ac_compile"
34764 case "(($ac_try" in
34765 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
34766 *) ac_try_echo
=$ac_try;;
34768 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34769 (eval "$ac_compile") 2>conftest.er1
34771 grep -v '^ *+' conftest.er1
>conftest.err
34773 cat conftest.err
>&5
34774 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34775 (exit $ac_status); } && {
34776 test -z "$ac_c_werror_flag" ||
34777 test ! -s conftest.err
34778 } && test -s conftest.
$ac_objext; then
34779 wx_cv_func_broken_snprintf_decl
=no
34781 echo "$as_me: failed program was:" >&5
34782 sed 's/^/| /' conftest.
$ac_ext >&5
34784 wx_cv_func_broken_snprintf_decl
=yes
34788 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
34792 { echo "$as_me:$LINENO: result: $wx_cv_func_broken_snprintf_decl" >&5
34793 echo "${ECHO_T}$wx_cv_func_broken_snprintf_decl" >&6; }
34795 if test "$wx_cv_func_broken_snprintf_decl" = "yes"; then
34796 cat >>confdefs.h
<<\_ACEOF
34797 #define HAVE_BROKEN_SNPRINTF_DECL 1
34803 if test "$wxUSE_PRINTF_POS_PARAMS" = "yes"; then
34805 { echo "$as_me:$LINENO: checking if snprintf supports positional arguments" >&5
34806 echo $ECHO_N "checking if snprintf supports positional arguments... $ECHO_C" >&6; }
34807 if test "${wx_cv_func_snprintf_pos_params+set}" = set; then
34808 echo $ECHO_N "(cached) $ECHO_C" >&6
34811 if test "$cross_compiling" = yes; then
34813 { echo "$as_me:$LINENO: WARNING: Assuming Unix98 printf() is not available,
34814 define HAVE_UNIX98_PRINTF as 1 in setup.h if it is available." >&5
34815 echo "$as_me: WARNING: Assuming Unix98 printf() is not available,
34816 define HAVE_UNIX98_PRINTF as 1 in setup.h if it is available." >&2;}
34817 wx_cv_func_snprintf_pos_params
=no
34821 cat >conftest.
$ac_ext <<_ACEOF
34824 cat confdefs.h
>>conftest.
$ac_ext
34825 cat >>conftest.
$ac_ext <<_ACEOF
34826 /* end confdefs.h. */
34833 snprintf (buffer, 128, "%2$d %3$d %1$d", 1, 2, 3);
34834 if (strcmp ("2 3 1", buffer) == 0)
34840 rm -f conftest
$ac_exeext
34841 if { (ac_try
="$ac_link"
34842 case "(($ac_try" in
34843 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
34844 *) ac_try_echo=$ac_try;;
34846 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34847 (eval "$ac_link") 2>&5
34849 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34850 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
34851 { (case "(($ac_try" in
34852 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
34853 *) ac_try_echo
=$ac_try;;
34855 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34856 (eval "$ac_try") 2>&5
34858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34859 (exit $ac_status); }; }; then
34860 wx_cv_func_snprintf_pos_params
=no
34862 echo "$as_me: program exited with status $ac_status" >&5
34863 echo "$as_me: failed program was:" >&5
34864 sed 's/^/| /' conftest.
$ac_ext >&5
34866 ( exit $ac_status )
34867 wx_cv_func_snprintf_pos_params
=yes
34869 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
34876 { echo "$as_me:$LINENO: result: $wx_cv_func_snprintf_pos_params" >&5
34877 echo "${ECHO_T}$wx_cv_func_snprintf_pos_params" >&6; }
34879 if test "$wx_cv_func_snprintf_pos_params" = "yes"; then
34880 cat >>confdefs.h
<<\_ACEOF
34881 #define HAVE_UNIX98_PRINTF 1
34888 if test "$wxUSE_UNICODE" = yes; then
34891 for ac_func
in swprintf
34893 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34894 { echo "$as_me:$LINENO: checking for $ac_func" >&5
34895 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
34896 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
34897 echo $ECHO_N "(cached) $ECHO_C" >&6
34899 cat >conftest.
$ac_ext <<_ACEOF
34902 cat confdefs.h
>>conftest.
$ac_ext
34903 cat >>conftest.
$ac_ext <<_ACEOF
34904 /* end confdefs.h. */
34905 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34906 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34907 #define $ac_func innocuous_$ac_func
34909 /* System header to define __stub macros and hopefully few prototypes,
34910 which can conflict with char $ac_func (); below.
34911 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34912 <limits.h> exists even on freestanding compilers. */
34915 # include <limits.h>
34917 # include <assert.h>
34922 /* Override any GCC internal prototype to avoid an error.
34923 Use char because int might match the return type of a GCC
34924 builtin and then its argument prototype would still apply. */
34929 /* The GNU C library defines this for functions which it implements
34930 to always fail with ENOSYS. Some functions are actually named
34931 something starting with __ and the normal name is an alias. */
34932 #if defined __stub_$ac_func || defined __stub___$ac_func
34939 return $ac_func ();
34944 rm -f conftest.
$ac_objext conftest
$ac_exeext
34945 if { (ac_try
="$ac_link"
34946 case "(($ac_try" in
34947 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
34948 *) ac_try_echo=$ac_try;;
34950 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34951 (eval "$ac_link") 2>conftest.er1
34953 grep -v '^ *+' conftest.er1 >conftest.err
34955 cat conftest.err >&5
34956 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34957 (exit $ac_status); } && {
34958 test -z "$ac_c_werror_flag" ||
34959 test ! -s conftest.err
34960 } && test -s conftest$ac_exeext &&
34961 $as_test_x conftest$ac_exeext; then
34962 eval "$as_ac_var=yes"
34964 echo "$as_me: failed program was:" >&5
34965 sed 's/^/| /' conftest.$ac_ext >&5
34967 eval "$as_ac_var=no"
34970 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
34971 conftest$ac_exeext conftest.$ac_ext
34973 ac_res=`eval echo '${'$as_ac_var'}'`
34974 { echo "$as_me:$LINENO: result: $ac_res" >&5
34975 echo "${ECHO_T}$ac_res" >&6; }
34976 if test `eval echo '${'$as_ac_var'}'` = yes; then
34977 cat >>confdefs.h <<_ACEOF
34978 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34985 if test "$ac_cv_func_swprintf" = "yes"; then
34986 { echo "$as_me:$LINENO: checking if swprintf declaration is broken" >&5
34987 echo $ECHO_N "checking if swprintf declaration is broken... $ECHO_C" >&6; }
34988 if test "${wx_cv_func_broken_swprintf_decl+set}" = set; then
34989 echo $ECHO_N "(cached) $ECHO_C" >&6
34992 cat >conftest.$ac_ext <<_ACEOF
34995 cat confdefs.h >>conftest.$ac_ext
34996 cat >>conftest.$ac_ext <<_ACEOF
34997 /* end confdefs.h. */
35000 #include <stdarg.h>
35008 const wchar_t *fmt = L"test";
35009 swprintf(buf, 10u, fmt);
35015 rm -f conftest.$ac_objext
35016 if { (ac_try="$ac_compile"
35017 case "(($ac_try" in
35018 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
35019 *) ac_try_echo
=$ac_try;;
35021 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35022 (eval "$ac_compile") 2>conftest.er1
35024 grep -v '^ *+' conftest.er1
>conftest.err
35026 cat conftest.err
>&5
35027 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35028 (exit $ac_status); } && {
35029 test -z "$ac_c_werror_flag" ||
35030 test ! -s conftest.err
35031 } && test -s conftest.
$ac_objext; then
35032 wx_cv_func_broken_swprintf_decl
=no
35034 echo "$as_me: failed program was:" >&5
35035 sed 's/^/| /' conftest.
$ac_ext >&5
35037 wx_cv_func_broken_swprintf_decl
=yes
35041 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
35045 { echo "$as_me:$LINENO: result: $wx_cv_func_broken_swprintf_decl" >&5
35046 echo "${ECHO_T}$wx_cv_func_broken_swprintf_decl" >&6; }
35048 if test "$wx_cv_func_broken_swprintf_decl" = "yes"; then
35049 cat >>confdefs.h
<<\_ACEOF
35050 #define HAVE_BROKEN_SWPRINTF_DECL 1
35056 wchar_headers
="#include <stdio.h>
35057 #include <wchar.h>"
35060 { echo "$as_me:$LINENO: checking for widec.h" >&5
35061 echo $ECHO_N "checking for widec.h... $ECHO_C" >&6; }
35062 if test "${ac_cv_header_widec_h+set}" = set; then
35063 echo $ECHO_N "(cached) $ECHO_C" >&6
35065 cat >conftest.
$ac_ext <<_ACEOF
35068 cat confdefs.h
>>conftest.
$ac_ext
35069 cat >>conftest.
$ac_ext <<_ACEOF
35070 /* end confdefs.h. */
35071 $ac_includes_default
35075 rm -f conftest.
$ac_objext
35076 if { (ac_try
="$ac_compile"
35077 case "(($ac_try" in
35078 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
35079 *) ac_try_echo=$ac_try;;
35081 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35082 (eval "$ac_compile") 2>conftest.er1
35084 grep -v '^ *+' conftest.er1 >conftest.err
35086 cat conftest.err >&5
35087 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35088 (exit $ac_status); } && {
35089 test -z "$ac_c_werror_flag" ||
35090 test ! -s conftest.err
35091 } && test -s conftest.$ac_objext; then
35092 ac_cv_header_widec_h=yes
35094 echo "$as_me: failed program was:" >&5
35095 sed 's/^/| /' conftest.$ac_ext >&5
35097 ac_cv_header_widec_h=no
35100 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35102 { echo "$as_me:$LINENO: result: $ac_cv_header_widec_h" >&5
35103 echo "${ECHO_T}$ac_cv_header_widec_h" >&6; }
35106 if test "$ac_cv_header_widec_h" = "yes"; then
35107 wchar_headers="$wchar_headers
35108 #include <widec.h>"
35113 for wx_func in wputc wputchar putws fputws wprintf vswprintf
35115 { echo "$as_me:$LINENO: checking for $wx_func" >&5
35116 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
35117 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
35118 echo $ECHO_N "(cached) $ECHO_C" >&6
35121 cat >conftest.$ac_ext <<_ACEOF
35125 cat confdefs.h >>conftest.$ac_ext
35126 cat >>conftest.$ac_ext <<_ACEOF
35127 /* end confdefs.h. */
35130 $ac_includes_default
35146 rm -f conftest.$ac_objext conftest$ac_exeext
35147 if { (ac_try="$ac_link"
35148 case "(($ac_try" in
35149 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
35150 *) ac_try_echo
=$ac_try;;
35152 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35153 (eval "$ac_link") 2>conftest.er1
35155 grep -v '^ *+' conftest.er1
>conftest.err
35157 cat conftest.err
>&5
35158 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35159 (exit $ac_status); } && {
35160 test -z "$ac_c_werror_flag" ||
35161 test ! -s conftest.err
35162 } && test -s conftest
$ac_exeext &&
35163 $as_test_x conftest
$ac_exeext; then
35164 eval wx_cv_func_
$wx_func=yes
35166 echo "$as_me: failed program was:" >&5
35167 sed 's/^/| /' conftest.
$ac_ext >&5
35169 eval wx_cv_func_
$wx_func=no
35172 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
35173 conftest
$ac_exeext conftest.
$ac_ext
35176 ac_res
=`eval echo '${'wx_cv_func_$wx_func'}'`
35177 { echo "$as_me:$LINENO: result: $ac_res" >&5
35178 echo "${ECHO_T}$ac_res" >&6; }
35180 if eval test \
$wx_cv_func_$wx_func = yes
35182 cat >>confdefs.h
<<_ACEOF
35183 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
35194 { echo "$as_me:$LINENO: checking for _vsnwprintf" >&5
35195 echo $ECHO_N "checking for _vsnwprintf... $ECHO_C" >&6; }
35196 cat >conftest.
$ac_ext <<_ACEOF
35199 cat confdefs.h
>>conftest.
$ac_ext
35200 cat >>conftest.
$ac_ext <<_ACEOF
35201 /* end confdefs.h. */
35211 rm -f conftest.
$ac_objext
35212 if { (ac_try
="$ac_compile"
35213 case "(($ac_try" in
35214 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
35215 *) ac_try_echo=$ac_try;;
35217 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35218 (eval "$ac_compile") 2>conftest.er1
35220 grep -v '^ *+' conftest.er1 >conftest.err
35222 cat conftest.err >&5
35223 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35224 (exit $ac_status); } && {
35225 test -z "$ac_c_werror_flag" ||
35226 test ! -s conftest.err
35227 } && test -s conftest.$ac_objext; then
35228 { echo "$as_me:$LINENO: result: yes" >&5
35229 echo "${ECHO_T}yes" >&6; }
35230 cat >>confdefs.h <<\_ACEOF
35231 #define HAVE__VSNWPRINTF 1
35235 echo "$as_me: failed program was:" >&5
35236 sed 's/^/| /' conftest.$ac_ext >&5
35238 { echo "$as_me:$LINENO: result: no" >&5
35239 echo "${ECHO_T}no" >&6; }
35242 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext;
35245 if test "x$ac_cv_header_fnmatch_h" = "xyes"; then
35247 for wx_func in fnmatch
35249 { echo "$as_me:$LINENO: checking for $wx_func" >&5
35250 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
35251 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
35252 echo $ECHO_N "(cached) $ECHO_C" >&6
35255 cat >conftest.$ac_ext <<_ACEOF
35259 cat confdefs.h >>conftest.$ac_ext
35260 cat >>conftest.$ac_ext <<_ACEOF
35261 /* end confdefs.h. */
35263 #include <fnmatch.h>
35264 $ac_includes_default
35280 rm -f conftest.$ac_objext conftest$ac_exeext
35281 if { (ac_try="$ac_link"
35282 case "(($ac_try" in
35283 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
35284 *) ac_try_echo
=$ac_try;;
35286 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35287 (eval "$ac_link") 2>conftest.er1
35289 grep -v '^ *+' conftest.er1
>conftest.err
35291 cat conftest.err
>&5
35292 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35293 (exit $ac_status); } && {
35294 test -z "$ac_c_werror_flag" ||
35295 test ! -s conftest.err
35296 } && test -s conftest
$ac_exeext &&
35297 $as_test_x conftest
$ac_exeext; then
35298 eval wx_cv_func_
$wx_func=yes
35300 echo "$as_me: failed program was:" >&5
35301 sed 's/^/| /' conftest.
$ac_ext >&5
35303 eval wx_cv_func_
$wx_func=no
35306 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
35307 conftest
$ac_exeext conftest.
$ac_ext
35310 ac_res
=`eval echo '${'wx_cv_func_$wx_func'}'`
35311 { echo "$as_me:$LINENO: result: $ac_res" >&5
35312 echo "${ECHO_T}$ac_res" >&6; }
35314 if eval test \
$wx_cv_func_$wx_func = yes
35316 cat >>confdefs.h
<<_ACEOF
35317 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
35329 if test "$wxUSE_FILE" = "yes"; then
35331 for wx_func
in fsync
35333 { echo "$as_me:$LINENO: checking for $wx_func" >&5
35334 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
35335 if { as_var
=wx_cv_func_
$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
35336 echo $ECHO_N "(cached) $ECHO_C" >&6
35339 cat >conftest.
$ac_ext <<_ACEOF
35343 cat confdefs.h
>>conftest.
$ac_ext
35344 cat >>conftest.
$ac_ext <<_ACEOF
35345 /* end confdefs.h. */
35348 $ac_includes_default
35364 rm -f conftest.
$ac_objext conftest
$ac_exeext
35365 if { (ac_try
="$ac_link"
35366 case "(($ac_try" in
35367 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
35368 *) ac_try_echo=$ac_try;;
35370 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35371 (eval "$ac_link") 2>conftest.er1
35373 grep -v '^ *+' conftest.er1 >conftest.err
35375 cat conftest.err >&5
35376 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35377 (exit $ac_status); } && {
35378 test -z "$ac_c_werror_flag" ||
35379 test ! -s conftest.err
35380 } && test -s conftest$ac_exeext &&
35381 $as_test_x conftest$ac_exeext; then
35382 eval wx_cv_func_$wx_func=yes
35384 echo "$as_me: failed program was:" >&5
35385 sed 's/^/| /' conftest.$ac_ext >&5
35387 eval wx_cv_func_$wx_func=no
35390 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35391 conftest$ac_exeext conftest.$ac_ext
35394 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
35395 { echo "$as_me:$LINENO: result: $ac_res" >&5
35396 echo "${ECHO_T}$ac_res" >&6; }
35398 if eval test \$wx_cv_func_$wx_func = yes
35400 cat >>confdefs.h <<_ACEOF
35401 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
35414 for wx_func in round
35416 { echo "$as_me:$LINENO: checking for $wx_func" >&5
35417 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
35418 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
35419 echo $ECHO_N "(cached) $ECHO_C" >&6
35422 cat >conftest.$ac_ext <<_ACEOF
35426 cat confdefs.h >>conftest.$ac_ext
35427 cat >>conftest.$ac_ext <<_ACEOF
35428 /* end confdefs.h. */
35431 $ac_includes_default
35447 rm -f conftest.$ac_objext conftest$ac_exeext
35448 if { (ac_try="$ac_link"
35449 case "(($ac_try" in
35450 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
35451 *) ac_try_echo
=$ac_try;;
35453 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35454 (eval "$ac_link") 2>conftest.er1
35456 grep -v '^ *+' conftest.er1
>conftest.err
35458 cat conftest.err
>&5
35459 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35460 (exit $ac_status); } && {
35461 test -z "$ac_c_werror_flag" ||
35462 test ! -s conftest.err
35463 } && test -s conftest
$ac_exeext &&
35464 $as_test_x conftest
$ac_exeext; then
35465 eval wx_cv_func_
$wx_func=yes
35467 echo "$as_me: failed program was:" >&5
35468 sed 's/^/| /' conftest.
$ac_ext >&5
35470 eval wx_cv_func_
$wx_func=no
35473 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
35474 conftest
$ac_exeext conftest.
$ac_ext
35477 ac_res
=`eval echo '${'wx_cv_func_$wx_func'}'`
35478 { echo "$as_me:$LINENO: result: $ac_res" >&5
35479 echo "${ECHO_T}$ac_res" >&6; }
35481 if eval test \
$wx_cv_func_$wx_func = yes
35483 cat >>confdefs.h
<<_ACEOF
35484 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
35495 if test "$TOOLKIT" != "MSW"; then
35501 # Check whether --with-libiconv-prefix was given.
35502 if test "${with_libiconv_prefix+set}" = set; then
35503 withval
=$with_libiconv_prefix;
35504 for dir
in `echo "$withval" | tr : ' '`; do
35505 if test -d $dir/include
; then CPPFLAGS
="$CPPFLAGS -I$dir/include"; fi
35506 if test -d $dir/lib
; then LDFLAGS
="$LDFLAGS -L$dir/lib"; fi
35512 { echo "$as_me:$LINENO: checking for iconv" >&5
35513 echo $ECHO_N "checking for iconv... $ECHO_C" >&6; }
35514 if test "${am_cv_func_iconv+set}" = set; then
35515 echo $ECHO_N "(cached) $ECHO_C" >&6
35518 am_cv_func_iconv
="no, consider installing GNU libiconv"
35520 cat >conftest.
$ac_ext <<_ACEOF
35523 cat confdefs.h
>>conftest.
$ac_ext
35524 cat >>conftest.
$ac_ext <<_ACEOF
35525 /* end confdefs.h. */
35526 #include <stdlib.h>
35531 iconv_t cd = iconv_open("","");
35532 iconv(cd,NULL,NULL,NULL,NULL);
35538 rm -f conftest.
$ac_objext conftest
$ac_exeext
35539 if { (ac_try
="$ac_link"
35540 case "(($ac_try" in
35541 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
35542 *) ac_try_echo=$ac_try;;
35544 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35545 (eval "$ac_link") 2>conftest.er1
35547 grep -v '^ *+' conftest.er1 >conftest.err
35549 cat conftest.err >&5
35550 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35551 (exit $ac_status); } && {
35552 test -z "$ac_c_werror_flag" ||
35553 test ! -s conftest.err
35554 } && test -s conftest$ac_exeext &&
35555 $as_test_x conftest$ac_exeext; then
35556 am_cv_func_iconv=yes
35558 echo "$as_me: failed program was:" >&5
35559 sed 's/^/| /' conftest.$ac_ext >&5
35564 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35565 conftest$ac_exeext conftest.$ac_ext
35566 if test "$am_cv_func_iconv" != yes; then
35567 am_save_LIBS="$LIBS"
35568 LIBS="$LIBS -liconv"
35569 cat >conftest.$ac_ext <<_ACEOF
35572 cat confdefs.h >>conftest.$ac_ext
35573 cat >>conftest.$ac_ext <<_ACEOF
35574 /* end confdefs.h. */
35575 #include <stdlib.h>
35580 iconv_t cd = iconv_open("","");
35581 iconv(cd,NULL,NULL,NULL,NULL);
35587 rm -f conftest.$ac_objext conftest$ac_exeext
35588 if { (ac_try="$ac_link"
35589 case "(($ac_try" in
35590 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
35591 *) ac_try_echo
=$ac_try;;
35593 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35594 (eval "$ac_link") 2>conftest.er1
35596 grep -v '^ *+' conftest.er1
>conftest.err
35598 cat conftest.err
>&5
35599 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35600 (exit $ac_status); } && {
35601 test -z "$ac_c_werror_flag" ||
35602 test ! -s conftest.err
35603 } && test -s conftest
$ac_exeext &&
35604 $as_test_x conftest
$ac_exeext; then
35605 am_cv_lib_iconv
=yes
35606 am_cv_func_iconv
=yes
35608 echo "$as_me: failed program was:" >&5
35609 sed 's/^/| /' conftest.
$ac_ext >&5
35614 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
35615 conftest
$ac_exeext conftest.
$ac_ext
35616 LIBS
="$am_save_LIBS"
35620 { echo "$as_me:$LINENO: result: $am_cv_func_iconv" >&5
35621 echo "${ECHO_T}$am_cv_func_iconv" >&6; }
35622 if test "$am_cv_func_iconv" = yes; then
35624 cat >>confdefs.h
<<\_ACEOF
35625 #define HAVE_ICONV 1
35628 { echo "$as_me:$LINENO: checking if iconv needs const" >&5
35629 echo $ECHO_N "checking if iconv needs const... $ECHO_C" >&6; }
35630 if test "${wx_cv_func_iconv_const+set}" = set; then
35631 echo $ECHO_N "(cached) $ECHO_C" >&6
35633 cat >conftest.
$ac_ext <<_ACEOF
35636 cat confdefs.h
>>conftest.
$ac_ext
35637 cat >>conftest.
$ac_ext <<_ACEOF
35638 /* end confdefs.h. */
35640 #include <stdlib.h>
35646 #if defined(__STDC__) || defined(__cplusplus)
35647 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
35660 rm -f conftest.
$ac_objext
35661 if { (ac_try
="$ac_compile"
35662 case "(($ac_try" in
35663 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
35664 *) ac_try_echo=$ac_try;;
35666 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35667 (eval "$ac_compile") 2>conftest.er1
35669 grep -v '^ *+' conftest.er1 >conftest.err
35671 cat conftest.err >&5
35672 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35673 (exit $ac_status); } && {
35674 test -z "$ac_c_werror_flag" ||
35675 test ! -s conftest.err
35676 } && test -s conftest.$ac_objext; then
35677 wx_cv_func_iconv_const="no"
35679 echo "$as_me: failed program was:" >&5
35680 sed 's/^/| /' conftest.$ac_ext >&5
35682 wx_cv_func_iconv_const="yes"
35686 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35689 { echo "$as_me:$LINENO: result: $wx_cv_func_iconv_const" >&5
35690 echo "${ECHO_T}$wx_cv_func_iconv_const" >&6; }
35693 if test "x$wx_cv_func_iconv_const" = "xyes"; then
35694 iconv_const="const"
35698 cat >>confdefs.h <<_ACEOF
35699 #define ICONV_CONST $iconv_const
35704 if test "$am_cv_lib_iconv" = yes; then
35709 LIBS="$LIBICONV $LIBS"
35711 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes" -a "$wxUSE_UNIX" = "yes"; then
35713 for ac_func in sigaction
35715 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35716 { echo "$as_me:$LINENO: checking for $ac_func" >&5
35717 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
35718 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
35719 echo $ECHO_N "(cached) $ECHO_C" >&6
35721 cat >conftest.$ac_ext <<_ACEOF
35724 cat confdefs.h >>conftest.$ac_ext
35725 cat >>conftest.$ac_ext <<_ACEOF
35726 /* end confdefs.h. */
35727 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35728 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35729 #define $ac_func innocuous_$ac_func
35731 /* System header to define __stub macros and hopefully few prototypes,
35732 which can conflict with char $ac_func (); below.
35733 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35734 <limits.h> exists even on freestanding compilers. */
35737 # include <limits.h>
35739 # include <assert.h>
35744 /* Override any GCC internal prototype to avoid an error.
35745 Use char because int might match the return type of a GCC
35746 builtin and then its argument prototype would still apply. */
35751 /* The GNU C library defines this for functions which it implements
35752 to always fail with ENOSYS. Some functions are actually named
35753 something starting with __ and the normal name is an alias. */
35754 #if defined __stub_$ac_func || defined __stub___$ac_func
35761 return $ac_func ();
35766 rm -f conftest.$ac_objext conftest$ac_exeext
35767 if { (ac_try="$ac_link"
35768 case "(($ac_try" in
35769 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
35770 *) ac_try_echo
=$ac_try;;
35772 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35773 (eval "$ac_link") 2>conftest.er1
35775 grep -v '^ *+' conftest.er1
>conftest.err
35777 cat conftest.err
>&5
35778 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35779 (exit $ac_status); } && {
35780 test -z "$ac_c_werror_flag" ||
35781 test ! -s conftest.err
35782 } && test -s conftest
$ac_exeext &&
35783 $as_test_x conftest
$ac_exeext; then
35784 eval "$as_ac_var=yes"
35786 echo "$as_me: failed program was:" >&5
35787 sed 's/^/| /' conftest.
$ac_ext >&5
35789 eval "$as_ac_var=no"
35792 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
35793 conftest
$ac_exeext conftest.
$ac_ext
35795 ac_res
=`eval echo '${'$as_ac_var'}'`
35796 { echo "$as_me:$LINENO: result: $ac_res" >&5
35797 echo "${ECHO_T}$ac_res" >&6; }
35798 if test `eval echo '${'$as_ac_var'}'` = yes; then
35799 cat >>confdefs.h
<<_ACEOF
35800 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35807 if test "$ac_cv_func_sigaction" = "no"; then
35808 { echo "$as_me:$LINENO: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&5
35809 echo "$as_me: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&2;}
35810 wxUSE_ON_FATAL_EXCEPTION
=no
35813 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
35814 { echo "$as_me:$LINENO: checking for sa_handler type" >&5
35815 echo $ECHO_N "checking for sa_handler type... $ECHO_C" >&6; }
35816 if test "${wx_cv_type_sa_handler+set}" = set; then
35817 echo $ECHO_N "(cached) $ECHO_C" >&6
35821 ac_cpp
='$CXXCPP $CPPFLAGS'
35822 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35823 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35824 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
35826 cat >conftest.
$ac_ext <<_ACEOF
35829 cat confdefs.h
>>conftest.
$ac_ext
35830 cat >>conftest.
$ac_ext <<_ACEOF
35831 /* end confdefs.h. */
35832 #include <signal.h>
35837 extern void testSigHandler(int);
35839 struct sigaction sa;
35840 sa.sa_handler = testSigHandler;
35846 rm -f conftest.
$ac_objext
35847 if { (ac_try
="$ac_compile"
35848 case "(($ac_try" in
35849 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
35850 *) ac_try_echo=$ac_try;;
35852 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35853 (eval "$ac_compile") 2>conftest.er1
35855 grep -v '^ *+' conftest.er1 >conftest.err
35857 cat conftest.err >&5
35858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35859 (exit $ac_status); } && {
35860 test -z "$ac_cxx_werror_flag" ||
35861 test ! -s conftest.err
35862 } && test -s conftest.$ac_objext; then
35864 wx_cv_type_sa_handler=int
35867 echo "$as_me: failed program was:" >&5
35868 sed 's/^/| /' conftest.$ac_ext >&5
35871 wx_cv_type_sa_handler=void
35875 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35877 ac_cpp='$CPP $CPPFLAGS'
35878 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35879 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35880 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35884 { echo "$as_me:$LINENO: result: $wx_cv_type_sa_handler" >&5
35885 echo "${ECHO_T}$wx_cv_type_sa_handler" >&6; }
35887 cat >>confdefs.h <<_ACEOF
35888 #define wxTYPE_SA_HANDLER $wx_cv_type_sa_handler
35894 if test "$wxUSE_STACKWALKER" = "yes" -a "$wxUSE_UNIX" = "yes"; then
35895 { echo "$as_me:$LINENO: checking for backtrace() in <execinfo.h>" >&5
35896 echo $ECHO_N "checking for backtrace() in <execinfo.h>... $ECHO_C" >&6; }
35897 if test "${wx_cv_func_backtrace+set}" = set; then
35898 echo $ECHO_N "(cached) $ECHO_C" >&6
35902 ac_cpp='$CXXCPP $CPPFLAGS'
35903 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35904 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35905 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35907 cat >conftest.$ac_ext <<_ACEOF
35910 cat confdefs.h >>conftest.$ac_ext
35911 cat >>conftest.$ac_ext <<_ACEOF
35912 /* end confdefs.h. */
35913 #include <execinfo.h>
35921 backtrace(trace, 1);
35922 messages = backtrace_symbols(trace, 1);
35928 rm -f conftest.$ac_objext
35929 if { (ac_try="$ac_compile"
35930 case "(($ac_try" in
35931 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
35932 *) ac_try_echo
=$ac_try;;
35934 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35935 (eval "$ac_compile") 2>conftest.er1
35937 grep -v '^ *+' conftest.er1
>conftest.err
35939 cat conftest.err
>&5
35940 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35941 (exit $ac_status); } && {
35942 test -z "$ac_cxx_werror_flag" ||
35943 test ! -s conftest.err
35944 } && test -s conftest.
$ac_objext; then
35945 wx_cv_func_backtrace
=yes
35947 echo "$as_me: failed program was:" >&5
35948 sed 's/^/| /' conftest.
$ac_ext >&5
35950 wx_cv_func_backtrace
=no
35954 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
35956 ac_cpp
='$CPP $CPPFLAGS'
35957 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35958 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35959 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
35964 { echo "$as_me:$LINENO: result: $wx_cv_func_backtrace" >&5
35965 echo "${ECHO_T}$wx_cv_func_backtrace" >&6; }
35968 if test "$wx_cv_func_backtrace" = "no"; then
35969 { echo "$as_me:$LINENO: WARNING: backtrace() is not available, wxStackWalker will not be available" >&5
35970 echo "$as_me: WARNING: backtrace() is not available, wxStackWalker will not be available" >&2;}
35971 wxUSE_STACKWALKER
=no
35973 { echo "$as_me:$LINENO: checking for __cxa_demangle() in <cxxabi.h>" >&5
35974 echo $ECHO_N "checking for __cxa_demangle() in <cxxabi.h>... $ECHO_C" >&6; }
35975 if test "${wx_cv_func_cxa_demangle+set}" = set; then
35976 echo $ECHO_N "(cached) $ECHO_C" >&6
35980 ac_cpp
='$CXXCPP $CPPFLAGS'
35981 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35982 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35983 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
35985 cat >conftest.
$ac_ext <<_ACEOF
35988 cat confdefs.h
>>conftest.
$ac_ext
35989 cat >>conftest.
$ac_ext <<_ACEOF
35990 /* end confdefs.h. */
35991 #include <cxxabi.h>
35997 __cxxabiv1::__cxa_demangle("foo", 0, 0, &rc);
36003 rm -f conftest.
$ac_objext conftest
$ac_exeext
36004 if { (ac_try
="$ac_link"
36005 case "(($ac_try" in
36006 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
36007 *) ac_try_echo=$ac_try;;
36009 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36010 (eval "$ac_link") 2>conftest.er1
36012 grep -v '^ *+' conftest.er1 >conftest.err
36014 cat conftest.err >&5
36015 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36016 (exit $ac_status); } && {
36017 test -z "$ac_cxx_werror_flag" ||
36018 test ! -s conftest.err
36019 } && test -s conftest$ac_exeext &&
36020 $as_test_x conftest$ac_exeext; then
36021 wx_cv_func_cxa_demangle=yes
36023 echo "$as_me: failed program was:" >&5
36024 sed 's/^/| /' conftest.$ac_ext >&5
36026 wx_cv_func_cxa_demangle=no
36030 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36031 conftest$ac_exeext conftest.$ac_ext
36033 ac_cpp='$CPP $CPPFLAGS'
36034 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36035 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36036 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36041 { echo "$as_me:$LINENO: result: $wx_cv_func_cxa_demangle" >&5
36042 echo "${ECHO_T}$wx_cv_func_cxa_demangle" >&6; }
36044 if test "$wx_cv_func_cxa_demangle" = "yes"; then
36045 cat >>confdefs.h <<\_ACEOF
36046 #define HAVE_CXA_DEMANGLE 1
36053 if test "$wxUSE_STACKWALKER" = "yes" -a "$USE_WIN32" != "1" -a "$USE_UNIX" != "1"; then
36054 { echo "$as_me:$LINENO: WARNING: wxStackWalker is only available on Win32 and UNIX... disabled" >&5
36055 echo "$as_me: WARNING: wxStackWalker is only available on Win32 and UNIX... disabled" >&2;}
36056 wxUSE_STACKWALKER=no
36062 for ac_func in mkstemp mktemp
36064 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36065 { echo "$as_me:$LINENO: checking for $ac_func" >&5
36066 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
36067 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
36068 echo $ECHO_N "(cached) $ECHO_C" >&6
36070 cat >conftest.$ac_ext <<_ACEOF
36073 cat confdefs.h >>conftest.$ac_ext
36074 cat >>conftest.$ac_ext <<_ACEOF
36075 /* end confdefs.h. */
36076 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36077 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36078 #define $ac_func innocuous_$ac_func
36080 /* System header to define __stub macros and hopefully few prototypes,
36081 which can conflict with char $ac_func (); below.
36082 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36083 <limits.h> exists even on freestanding compilers. */
36086 # include <limits.h>
36088 # include <assert.h>
36093 /* Override any GCC internal prototype to avoid an error.
36094 Use char because int might match the return type of a GCC
36095 builtin and then its argument prototype would still apply. */
36100 /* The GNU C library defines this for functions which it implements
36101 to always fail with ENOSYS. Some functions are actually named
36102 something starting with __ and the normal name is an alias. */
36103 #if defined __stub_$ac_func || defined __stub___$ac_func
36110 return $ac_func ();
36115 rm -f conftest.$ac_objext conftest$ac_exeext
36116 if { (ac_try="$ac_link"
36117 case "(($ac_try" in
36118 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
36119 *) ac_try_echo
=$ac_try;;
36121 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36122 (eval "$ac_link") 2>conftest.er1
36124 grep -v '^ *+' conftest.er1
>conftest.err
36126 cat conftest.err
>&5
36127 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36128 (exit $ac_status); } && {
36129 test -z "$ac_c_werror_flag" ||
36130 test ! -s conftest.err
36131 } && test -s conftest
$ac_exeext &&
36132 $as_test_x conftest
$ac_exeext; then
36133 eval "$as_ac_var=yes"
36135 echo "$as_me: failed program was:" >&5
36136 sed 's/^/| /' conftest.
$ac_ext >&5
36138 eval "$as_ac_var=no"
36141 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
36142 conftest
$ac_exeext conftest.
$ac_ext
36144 ac_res
=`eval echo '${'$as_ac_var'}'`
36145 { echo "$as_me:$LINENO: result: $ac_res" >&5
36146 echo "${ECHO_T}$ac_res" >&6; }
36147 if test `eval echo '${'$as_ac_var'}'` = yes; then
36148 cat >>confdefs.h
<<_ACEOF
36149 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36156 { echo "$as_me:$LINENO: checking for statfs" >&5
36157 echo $ECHO_N "checking for statfs... $ECHO_C" >&6; }
36158 if test "${wx_cv_func_statfs+set}" = set; then
36159 echo $ECHO_N "(cached) $ECHO_C" >&6
36161 cat >conftest.
$ac_ext <<_ACEOF
36164 cat confdefs.h
>>conftest.
$ac_ext
36165 cat >>conftest.
$ac_ext <<_ACEOF
36166 /* end confdefs.h. */
36168 #if defined(__BSD__)
36169 #include <sys/param.h>
36170 #include <sys/mount.h>
36172 #include <sys/vfs.h>
36190 rm -f conftest.
$ac_objext
36191 if { (ac_try
="$ac_compile"
36192 case "(($ac_try" in
36193 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
36194 *) ac_try_echo=$ac_try;;
36196 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36197 (eval "$ac_compile") 2>conftest.er1
36199 grep -v '^ *+' conftest.er1 >conftest.err
36201 cat conftest.err >&5
36202 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36203 (exit $ac_status); } && {
36204 test -z "$ac_c_werror_flag" ||
36205 test ! -s conftest.err
36206 } && test -s conftest.$ac_objext; then
36207 wx_cv_func_statfs=yes
36209 echo "$as_me: failed program was:" >&5
36210 sed 's/^/| /' conftest.$ac_ext >&5
36212 wx_cv_func_statfs=no
36216 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36219 { echo "$as_me:$LINENO: result: $wx_cv_func_statfs" >&5
36220 echo "${ECHO_T}$wx_cv_func_statfs" >&6; }
36222 if test "$wx_cv_func_statfs" = "yes"; then
36223 { echo "$as_me:$LINENO: checking for statfs declaration" >&5
36224 echo $ECHO_N "checking for statfs declaration... $ECHO_C" >&6; }
36225 if test "${wx_cv_func_statfs_decl+set}" = set; then
36226 echo $ECHO_N "(cached) $ECHO_C" >&6
36229 ac_cpp='$CXXCPP $CPPFLAGS'
36230 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36231 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36232 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36234 cat >conftest.$ac_ext <<_ACEOF
36237 cat confdefs.h >>conftest.$ac_ext
36238 cat >>conftest.$ac_ext <<_ACEOF
36239 /* end confdefs.h. */
36241 #if defined(__BSD__)
36242 #include <sys/param.h>
36243 #include <sys/mount.h>
36245 #include <sys/vfs.h>
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_cxx_werror_flag" ||
36274 test ! -s conftest.err
36275 } && test -s conftest.
$ac_objext; then
36276 wx_cv_func_statfs_decl
=yes
36278 echo "$as_me: failed program was:" >&5
36279 sed 's/^/| /' conftest.
$ac_ext >&5
36281 wx_cv_func_statfs_decl
=no
36285 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
36287 ac_cpp
='$CPP $CPPFLAGS'
36288 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36289 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36290 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
36294 { echo "$as_me:$LINENO: result: $wx_cv_func_statfs_decl" >&5
36295 echo "${ECHO_T}$wx_cv_func_statfs_decl" >&6; }
36297 if test "$wx_cv_func_statfs_decl" = "yes"; then
36298 cat >>confdefs.h
<<\_ACEOF
36299 #define HAVE_STATFS_DECL 1
36304 wx_cv_type_statvfs_t
="struct statfs"
36305 cat >>confdefs.h
<<\_ACEOF
36306 #define HAVE_STATFS 1
36310 { echo "$as_me:$LINENO: checking for statvfs" >&5
36311 echo $ECHO_N "checking for statvfs... $ECHO_C" >&6; }
36312 if test "${wx_cv_func_statvfs+set}" = set; then
36313 echo $ECHO_N "(cached) $ECHO_C" >&6
36315 cat >conftest.
$ac_ext <<_ACEOF
36318 cat confdefs.h
>>conftest.
$ac_ext
36319 cat >>conftest.
$ac_ext <<_ACEOF
36320 /* end confdefs.h. */
36322 #include <stddef.h>
36323 #include <sys/statvfs.h>
36329 statvfs("/", NULL);
36335 rm -f conftest.
$ac_objext
36336 if { (ac_try
="$ac_compile"
36337 case "(($ac_try" in
36338 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
36339 *) ac_try_echo=$ac_try;;
36341 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36342 (eval "$ac_compile") 2>conftest.er1
36344 grep -v '^ *+' conftest.er1 >conftest.err
36346 cat conftest.err >&5
36347 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36348 (exit $ac_status); } && {
36349 test -z "$ac_c_werror_flag" ||
36350 test ! -s conftest.err
36351 } && test -s conftest.$ac_objext; then
36352 wx_cv_func_statvfs=yes
36354 echo "$as_me: failed program was:" >&5
36355 sed 's/^/| /' conftest.$ac_ext >&5
36357 wx_cv_func_statvfs=no
36361 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36364 { echo "$as_me:$LINENO: result: $wx_cv_func_statvfs" >&5
36365 echo "${ECHO_T}$wx_cv_func_statvfs" >&6; }
36367 if test "$wx_cv_func_statvfs" = "yes"; then
36368 { echo "$as_me:$LINENO: checking for statvfs argument type" >&5
36369 echo $ECHO_N "checking for statvfs argument type... $ECHO_C" >&6; }
36370 if test "${wx_cv_type_statvfs_t+set}" = set; then
36371 echo $ECHO_N "(cached) $ECHO_C" >&6
36374 ac_cpp='$CXXCPP $CPPFLAGS'
36375 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36376 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36377 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36379 cat >conftest.$ac_ext <<_ACEOF
36382 cat confdefs.h >>conftest.$ac_ext
36383 cat >>conftest.$ac_ext <<_ACEOF
36384 /* end confdefs.h. */
36386 #include <sys/statvfs.h>
36403 rm -f conftest.$ac_objext
36404 if { (ac_try="$ac_compile"
36405 case "(($ac_try" in
36406 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
36407 *) ac_try_echo
=$ac_try;;
36409 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36410 (eval "$ac_compile") 2>conftest.er1
36412 grep -v '^ *+' conftest.er1
>conftest.err
36414 cat conftest.err
>&5
36415 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36416 (exit $ac_status); } && {
36417 test -z "$ac_cxx_werror_flag" ||
36418 test ! -s conftest.err
36419 } && test -s conftest.
$ac_objext; then
36420 wx_cv_type_statvfs_t
=statvfs_t
36422 echo "$as_me: failed program was:" >&5
36423 sed 's/^/| /' conftest.
$ac_ext >&5
36426 cat >conftest.
$ac_ext <<_ACEOF
36429 cat confdefs.h
>>conftest.
$ac_ext
36430 cat >>conftest.
$ac_ext <<_ACEOF
36431 /* end confdefs.h. */
36433 #include <sys/statvfs.h>
36450 rm -f conftest.
$ac_objext
36451 if { (ac_try
="$ac_compile"
36452 case "(($ac_try" in
36453 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
36454 *) ac_try_echo=$ac_try;;
36456 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36457 (eval "$ac_compile") 2>conftest.er1
36459 grep -v '^ *+' conftest.er1 >conftest.err
36461 cat conftest.err >&5
36462 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36463 (exit $ac_status); } && {
36464 test -z "$ac_cxx_werror_flag" ||
36465 test ! -s conftest.err
36466 } && test -s conftest.$ac_objext; then
36467 wx_cv_type_statvfs_t="struct statvfs"
36469 echo "$as_me: failed program was:" >&5
36470 sed 's/^/| /' conftest.$ac_ext >&5
36472 wx_cv_type_statvfs_t="unknown"
36476 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36481 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36483 ac_cpp='$CPP $CPPFLAGS'
36484 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36485 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36486 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36490 { echo "$as_me:$LINENO: result: $wx_cv_type_statvfs_t" >&5
36491 echo "${ECHO_T}$wx_cv_type_statvfs_t" >&6; }
36493 if test "$wx_cv_type_statvfs_t" != "unknown"; then
36494 cat >>confdefs.h <<\_ACEOF
36495 #define HAVE_STATVFS 1
36500 wx_cv_type_statvfs_t="unknown"
36504 if test "$wx_cv_type_statvfs_t" != "unknown"; then
36505 cat >>confdefs.h <<_ACEOF
36506 #define WX_STATFS_T $wx_cv_type_statvfs_t
36510 { echo "$as_me:$LINENO: WARNING: wxGetDiskSpace() function won't work without statfs()" >&5
36511 echo "$as_me: WARNING: wxGetDiskSpace() function won't work without statfs()" >&2;}
36514 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
36517 for ac_func in fcntl flock
36519 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36520 { echo "$as_me:$LINENO: checking for $ac_func" >&5
36521 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
36522 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
36523 echo $ECHO_N "(cached) $ECHO_C" >&6
36525 cat >conftest.$ac_ext <<_ACEOF
36528 cat confdefs.h >>conftest.$ac_ext
36529 cat >>conftest.$ac_ext <<_ACEOF
36530 /* end confdefs.h. */
36531 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36532 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36533 #define $ac_func innocuous_$ac_func
36535 /* System header to define __stub macros and hopefully few prototypes,
36536 which can conflict with char $ac_func (); below.
36537 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36538 <limits.h> exists even on freestanding compilers. */
36541 # include <limits.h>
36543 # include <assert.h>
36548 /* Override any GCC internal prototype to avoid an error.
36549 Use char because int might match the return type of a GCC
36550 builtin and then its argument prototype would still apply. */
36555 /* The GNU C library defines this for functions which it implements
36556 to always fail with ENOSYS. Some functions are actually named
36557 something starting with __ and the normal name is an alias. */
36558 #if defined __stub_$ac_func || defined __stub___$ac_func
36565 return $ac_func ();
36570 rm -f conftest.$ac_objext conftest$ac_exeext
36571 if { (ac_try="$ac_link"
36572 case "(($ac_try" in
36573 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
36574 *) ac_try_echo
=$ac_try;;
36576 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36577 (eval "$ac_link") 2>conftest.er1
36579 grep -v '^ *+' conftest.er1
>conftest.err
36581 cat conftest.err
>&5
36582 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36583 (exit $ac_status); } && {
36584 test -z "$ac_c_werror_flag" ||
36585 test ! -s conftest.err
36586 } && test -s conftest
$ac_exeext &&
36587 $as_test_x conftest
$ac_exeext; then
36588 eval "$as_ac_var=yes"
36590 echo "$as_me: failed program was:" >&5
36591 sed 's/^/| /' conftest.
$ac_ext >&5
36593 eval "$as_ac_var=no"
36596 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
36597 conftest
$ac_exeext conftest.
$ac_ext
36599 ac_res
=`eval echo '${'$as_ac_var'}'`
36600 { echo "$as_me:$LINENO: result: $ac_res" >&5
36601 echo "${ECHO_T}$ac_res" >&6; }
36602 if test `eval echo '${'$as_ac_var'}'` = yes; then
36603 cat >>confdefs.h
<<_ACEOF
36604 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36611 if test "$ac_cv_func_fcntl" != "yes" -a "$ac_cv_func_flock" != "yes"; then
36612 { echo "$as_me:$LINENO: WARNING: wxSingleInstanceChecker not available" >&5
36613 echo "$as_me: WARNING: wxSingleInstanceChecker not available" >&2;}
36614 wxUSE_SNGLINST_CHECKER
=no
36619 for ac_func
in timegm
36621 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36622 { echo "$as_me:$LINENO: checking for $ac_func" >&5
36623 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
36624 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
36625 echo $ECHO_N "(cached) $ECHO_C" >&6
36627 cat >conftest.
$ac_ext <<_ACEOF
36630 cat confdefs.h
>>conftest.
$ac_ext
36631 cat >>conftest.
$ac_ext <<_ACEOF
36632 /* end confdefs.h. */
36633 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36634 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36635 #define $ac_func innocuous_$ac_func
36637 /* System header to define __stub macros and hopefully few prototypes,
36638 which can conflict with char $ac_func (); below.
36639 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36640 <limits.h> exists even on freestanding compilers. */
36643 # include <limits.h>
36645 # include <assert.h>
36650 /* Override any GCC internal prototype to avoid an error.
36651 Use char because int might match the return type of a GCC
36652 builtin and then its argument prototype would still apply. */
36657 /* The GNU C library defines this for functions which it implements
36658 to always fail with ENOSYS. Some functions are actually named
36659 something starting with __ and the normal name is an alias. */
36660 #if defined __stub_$ac_func || defined __stub___$ac_func
36667 return $ac_func ();
36672 rm -f conftest.
$ac_objext conftest
$ac_exeext
36673 if { (ac_try
="$ac_link"
36674 case "(($ac_try" in
36675 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
36676 *) ac_try_echo=$ac_try;;
36678 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36679 (eval "$ac_link") 2>conftest.er1
36681 grep -v '^ *+' conftest.er1 >conftest.err
36683 cat conftest.err >&5
36684 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36685 (exit $ac_status); } && {
36686 test -z "$ac_c_werror_flag" ||
36687 test ! -s conftest.err
36688 } && test -s conftest$ac_exeext &&
36689 $as_test_x conftest$ac_exeext; then
36690 eval "$as_ac_var=yes"
36692 echo "$as_me: failed program was:" >&5
36693 sed 's/^/| /' conftest.$ac_ext >&5
36695 eval "$as_ac_var=no"
36698 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36699 conftest$ac_exeext conftest.$ac_ext
36701 ac_res=`eval echo '${'$as_ac_var'}'`
36702 { echo "$as_me:$LINENO: result: $ac_res" >&5
36703 echo "${ECHO_T}$ac_res" >&6; }
36704 if test `eval echo '${'$as_ac_var'}'` = yes; then
36705 cat >>confdefs.h <<_ACEOF
36706 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36715 for ac_func in putenv setenv
36717 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36718 { echo "$as_me:$LINENO: checking for $ac_func" >&5
36719 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
36720 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
36721 echo $ECHO_N "(cached) $ECHO_C" >&6
36723 cat >conftest.$ac_ext <<_ACEOF
36726 cat confdefs.h >>conftest.$ac_ext
36727 cat >>conftest.$ac_ext <<_ACEOF
36728 /* end confdefs.h. */
36729 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36730 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36731 #define $ac_func innocuous_$ac_func
36733 /* System header to define __stub macros and hopefully few prototypes,
36734 which can conflict with char $ac_func (); below.
36735 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36736 <limits.h> exists even on freestanding compilers. */
36739 # include <limits.h>
36741 # include <assert.h>
36746 /* Override any GCC internal prototype to avoid an error.
36747 Use char because int might match the return type of a GCC
36748 builtin and then its argument prototype would still apply. */
36753 /* The GNU C library defines this for functions which it implements
36754 to always fail with ENOSYS. Some functions are actually named
36755 something starting with __ and the normal name is an alias. */
36756 #if defined __stub_$ac_func || defined __stub___$ac_func
36763 return $ac_func ();
36768 rm -f conftest.$ac_objext conftest$ac_exeext
36769 if { (ac_try="$ac_link"
36770 case "(($ac_try" in
36771 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
36772 *) ac_try_echo
=$ac_try;;
36774 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36775 (eval "$ac_link") 2>conftest.er1
36777 grep -v '^ *+' conftest.er1
>conftest.err
36779 cat conftest.err
>&5
36780 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36781 (exit $ac_status); } && {
36782 test -z "$ac_c_werror_flag" ||
36783 test ! -s conftest.err
36784 } && test -s conftest
$ac_exeext &&
36785 $as_test_x conftest
$ac_exeext; then
36786 eval "$as_ac_var=yes"
36788 echo "$as_me: failed program was:" >&5
36789 sed 's/^/| /' conftest.
$ac_ext >&5
36791 eval "$as_ac_var=no"
36794 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
36795 conftest
$ac_exeext conftest.
$ac_ext
36797 ac_res
=`eval echo '${'$as_ac_var'}'`
36798 { echo "$as_me:$LINENO: result: $ac_res" >&5
36799 echo "${ECHO_T}$ac_res" >&6; }
36800 if test `eval echo '${'$as_ac_var'}'` = yes; then
36801 cat >>confdefs.h
<<_ACEOF
36802 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36809 HAVE_SOME_SLEEP_FUNC
=0
36810 if test "$USE_BEOS" = 1; then
36811 cat >>confdefs.h
<<\_ACEOF
36812 #define HAVE_SLEEP 1
36815 HAVE_SOME_SLEEP_FUNC
=1
36818 if test "$USE_DARWIN" = 1; then
36819 cat >>confdefs.h
<<\_ACEOF
36820 #define HAVE_USLEEP 1
36823 HAVE_SOME_SLEEP_FUNC
=1
36826 if test "$HAVE_SOME_SLEEP_FUNC" != 1; then
36829 for ac_func
in nanosleep
36831 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36832 { echo "$as_me:$LINENO: checking for $ac_func" >&5
36833 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
36834 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
36835 echo $ECHO_N "(cached) $ECHO_C" >&6
36837 cat >conftest.
$ac_ext <<_ACEOF
36840 cat confdefs.h
>>conftest.
$ac_ext
36841 cat >>conftest.
$ac_ext <<_ACEOF
36842 /* end confdefs.h. */
36843 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36844 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36845 #define $ac_func innocuous_$ac_func
36847 /* System header to define __stub macros and hopefully few prototypes,
36848 which can conflict with char $ac_func (); below.
36849 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36850 <limits.h> exists even on freestanding compilers. */
36853 # include <limits.h>
36855 # include <assert.h>
36860 /* Override any GCC internal prototype to avoid an error.
36861 Use char because int might match the return type of a GCC
36862 builtin and then its argument prototype would still apply. */
36867 /* The GNU C library defines this for functions which it implements
36868 to always fail with ENOSYS. Some functions are actually named
36869 something starting with __ and the normal name is an alias. */
36870 #if defined __stub_$ac_func || defined __stub___$ac_func
36877 return $ac_func ();
36882 rm -f conftest.
$ac_objext conftest
$ac_exeext
36883 if { (ac_try
="$ac_link"
36884 case "(($ac_try" in
36885 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
36886 *) ac_try_echo=$ac_try;;
36888 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36889 (eval "$ac_link") 2>conftest.er1
36891 grep -v '^ *+' conftest.er1 >conftest.err
36893 cat conftest.err >&5
36894 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36895 (exit $ac_status); } && {
36896 test -z "$ac_c_werror_flag" ||
36897 test ! -s conftest.err
36898 } && test -s conftest$ac_exeext &&
36899 $as_test_x conftest$ac_exeext; then
36900 eval "$as_ac_var=yes"
36902 echo "$as_me: failed program was:" >&5
36903 sed 's/^/| /' conftest.$ac_ext >&5
36905 eval "$as_ac_var=no"
36908 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36909 conftest$ac_exeext conftest.$ac_ext
36911 ac_res=`eval echo '${'$as_ac_var'}'`
36912 { echo "$as_me:$LINENO: result: $ac_res" >&5
36913 echo "${ECHO_T}$ac_res" >&6; }
36914 if test `eval echo '${'$as_ac_var'}'` = yes; then
36915 cat >>confdefs.h <<_ACEOF
36916 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36918 cat >>confdefs.h <<\_ACEOF
36919 #define HAVE_NANOSLEEP 1
36924 { echo "$as_me:$LINENO: checking for nanosleep in -lposix4" >&5
36925 echo $ECHO_N "checking for nanosleep in -lposix4... $ECHO_C" >&6; }
36926 if test "${ac_cv_lib_posix4_nanosleep+set}" = set; then
36927 echo $ECHO_N "(cached) $ECHO_C" >&6
36929 ac_check_lib_save_LIBS=$LIBS
36930 LIBS="-lposix4 $LIBS"
36931 cat >conftest.$ac_ext <<_ACEOF
36934 cat confdefs.h >>conftest.$ac_ext
36935 cat >>conftest.$ac_ext <<_ACEOF
36936 /* end confdefs.h. */
36938 /* Override any GCC internal prototype to avoid an error.
36939 Use char because int might match the return type of a GCC
36940 builtin and then its argument prototype would still apply. */
36948 return nanosleep ();
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 ac_cv_lib_posix4_nanosleep
=yes
36973 echo "$as_me: failed program was:" >&5
36974 sed 's/^/| /' conftest.
$ac_ext >&5
36976 ac_cv_lib_posix4_nanosleep
=no
36979 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
36980 conftest
$ac_exeext conftest.
$ac_ext
36981 LIBS
=$ac_check_lib_save_LIBS
36983 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_nanosleep" >&5
36984 echo "${ECHO_T}$ac_cv_lib_posix4_nanosleep" >&6; }
36985 if test $ac_cv_lib_posix4_nanosleep = yes; then
36987 cat >>confdefs.h
<<\_ACEOF
36988 #define HAVE_NANOSLEEP 1
36991 POSIX4_LINK
=" -lposix4"
36996 for wx_func
in usleep
36998 { echo "$as_me:$LINENO: checking for $wx_func" >&5
36999 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
37000 if { as_var
=wx_cv_func_
$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
37001 echo $ECHO_N "(cached) $ECHO_C" >&6
37004 cat >conftest.
$ac_ext <<_ACEOF
37008 cat confdefs.h
>>conftest.
$ac_ext
37009 cat >>conftest.
$ac_ext <<_ACEOF
37010 /* end confdefs.h. */
37013 $ac_includes_default
37029 rm -f conftest.
$ac_objext conftest
$ac_exeext
37030 if { (ac_try
="$ac_link"
37031 case "(($ac_try" in
37032 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
37033 *) ac_try_echo=$ac_try;;
37035 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37036 (eval "$ac_link") 2>conftest.er1
37038 grep -v '^ *+' conftest.er1 >conftest.err
37040 cat conftest.err >&5
37041 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37042 (exit $ac_status); } && {
37043 test -z "$ac_c_werror_flag" ||
37044 test ! -s conftest.err
37045 } && test -s conftest$ac_exeext &&
37046 $as_test_x conftest$ac_exeext; then
37047 eval wx_cv_func_$wx_func=yes
37049 echo "$as_me: failed program was:" >&5
37050 sed 's/^/| /' conftest.$ac_ext >&5
37052 eval wx_cv_func_$wx_func=no
37055 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37056 conftest$ac_exeext conftest.$ac_ext
37059 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
37060 { echo "$as_me:$LINENO: result: $ac_res" >&5
37061 echo "${ECHO_T}$ac_res" >&6; }
37063 if eval test \$wx_cv_func_$wx_func = yes
37065 cat >>confdefs.h <<_ACEOF
37066 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
37072 { echo "$as_me:$LINENO: WARNING: wxSleep() function will not work" >&5
37073 echo "$as_me: WARNING: wxSleep() function will not work" >&2;}
37090 for wx_func in uname
37092 { echo "$as_me:$LINENO: checking for $wx_func" >&5
37093 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
37094 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
37095 echo $ECHO_N "(cached) $ECHO_C" >&6
37098 cat >conftest.$ac_ext <<_ACEOF
37102 cat confdefs.h >>conftest.$ac_ext
37103 cat >>conftest.$ac_ext <<_ACEOF
37104 /* end confdefs.h. */
37106 #include <sys/utsname.h>
37107 $ac_includes_default
37123 rm -f conftest.$ac_objext conftest$ac_exeext
37124 if { (ac_try="$ac_link"
37125 case "(($ac_try" in
37126 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
37127 *) ac_try_echo
=$ac_try;;
37129 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37130 (eval "$ac_link") 2>conftest.er1
37132 grep -v '^ *+' conftest.er1
>conftest.err
37134 cat conftest.err
>&5
37135 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37136 (exit $ac_status); } && {
37137 test -z "$ac_c_werror_flag" ||
37138 test ! -s conftest.err
37139 } && test -s conftest
$ac_exeext &&
37140 $as_test_x conftest
$ac_exeext; then
37141 eval wx_cv_func_
$wx_func=yes
37143 echo "$as_me: failed program was:" >&5
37144 sed 's/^/| /' conftest.
$ac_ext >&5
37146 eval wx_cv_func_
$wx_func=no
37149 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
37150 conftest
$ac_exeext conftest.
$ac_ext
37153 ac_res
=`eval echo '${'wx_cv_func_$wx_func'}'`
37154 { echo "$as_me:$LINENO: result: $ac_res" >&5
37155 echo "${ECHO_T}$ac_res" >&6; }
37157 if eval test \
$wx_cv_func_$wx_func = yes
37159 cat >>confdefs.h
<<_ACEOF
37160 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
37170 if test "$wx_cv_func_uname" != yes; then
37172 for wx_func
in gethostname
37174 { echo "$as_me:$LINENO: checking for $wx_func" >&5
37175 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
37176 if { as_var
=wx_cv_func_
$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
37177 echo $ECHO_N "(cached) $ECHO_C" >&6
37180 cat >conftest.
$ac_ext <<_ACEOF
37184 cat confdefs.h
>>conftest.
$ac_ext
37185 cat >>conftest.
$ac_ext <<_ACEOF
37186 /* end confdefs.h. */
37189 $ac_includes_default
37205 rm -f conftest.
$ac_objext conftest
$ac_exeext
37206 if { (ac_try
="$ac_link"
37207 case "(($ac_try" in
37208 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
37209 *) ac_try_echo=$ac_try;;
37211 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37212 (eval "$ac_link") 2>conftest.er1
37214 grep -v '^ *+' conftest.er1 >conftest.err
37216 cat conftest.err >&5
37217 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37218 (exit $ac_status); } && {
37219 test -z "$ac_c_werror_flag" ||
37220 test ! -s conftest.err
37221 } && test -s conftest$ac_exeext &&
37222 $as_test_x conftest$ac_exeext; then
37223 eval wx_cv_func_$wx_func=yes
37225 echo "$as_me: failed program was:" >&5
37226 sed 's/^/| /' conftest.$ac_ext >&5
37228 eval wx_cv_func_$wx_func=no
37231 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37232 conftest$ac_exeext conftest.$ac_ext
37235 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
37236 { echo "$as_me:$LINENO: result: $ac_res" >&5
37237 echo "${ECHO_T}$ac_res" >&6; }
37239 if eval test \$wx_cv_func_$wx_func = yes
37241 cat >>confdefs.h <<_ACEOF
37242 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
37255 for wx_func in strtok_r
37257 { echo "$as_me:$LINENO: checking for $wx_func" >&5
37258 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
37259 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
37260 echo $ECHO_N "(cached) $ECHO_C" >&6
37263 cat >conftest.$ac_ext <<_ACEOF
37267 cat confdefs.h >>conftest.$ac_ext
37268 cat >>conftest.$ac_ext <<_ACEOF
37269 /* end confdefs.h. */
37272 $ac_includes_default
37288 rm -f conftest.$ac_objext conftest$ac_exeext
37289 if { (ac_try="$ac_link"
37290 case "(($ac_try" in
37291 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
37292 *) ac_try_echo
=$ac_try;;
37294 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37295 (eval "$ac_link") 2>conftest.er1
37297 grep -v '^ *+' conftest.er1
>conftest.err
37299 cat conftest.err
>&5
37300 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37301 (exit $ac_status); } && {
37302 test -z "$ac_c_werror_flag" ||
37303 test ! -s conftest.err
37304 } && test -s conftest
$ac_exeext &&
37305 $as_test_x conftest
$ac_exeext; then
37306 eval wx_cv_func_
$wx_func=yes
37308 echo "$as_me: failed program was:" >&5
37309 sed 's/^/| /' conftest.
$ac_ext >&5
37311 eval wx_cv_func_
$wx_func=no
37314 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
37315 conftest
$ac_exeext conftest.
$ac_ext
37318 ac_res
=`eval echo '${'wx_cv_func_$wx_func'}'`
37319 { echo "$as_me:$LINENO: result: $ac_res" >&5
37320 echo "${ECHO_T}$ac_res" >&6; }
37322 if eval test \
$wx_cv_func_$wx_func = yes
37324 cat >>confdefs.h
<<_ACEOF
37325 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
37338 for ac_func
in inet_addr
37340 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37341 { echo "$as_me:$LINENO: checking for $ac_func" >&5
37342 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
37343 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
37344 echo $ECHO_N "(cached) $ECHO_C" >&6
37346 cat >conftest.
$ac_ext <<_ACEOF
37349 cat confdefs.h
>>conftest.
$ac_ext
37350 cat >>conftest.
$ac_ext <<_ACEOF
37351 /* end confdefs.h. */
37352 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37353 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37354 #define $ac_func innocuous_$ac_func
37356 /* System header to define __stub macros and hopefully few prototypes,
37357 which can conflict with char $ac_func (); below.
37358 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37359 <limits.h> exists even on freestanding compilers. */
37362 # include <limits.h>
37364 # include <assert.h>
37369 /* Override any GCC internal prototype to avoid an error.
37370 Use char because int might match the return type of a GCC
37371 builtin and then its argument prototype would still apply. */
37376 /* The GNU C library defines this for functions which it implements
37377 to always fail with ENOSYS. Some functions are actually named
37378 something starting with __ and the normal name is an alias. */
37379 #if defined __stub_$ac_func || defined __stub___$ac_func
37386 return $ac_func ();
37391 rm -f conftest.
$ac_objext conftest
$ac_exeext
37392 if { (ac_try
="$ac_link"
37393 case "(($ac_try" in
37394 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
37395 *) ac_try_echo=$ac_try;;
37397 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37398 (eval "$ac_link") 2>conftest.er1
37400 grep -v '^ *+' conftest.er1 >conftest.err
37402 cat conftest.err >&5
37403 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37404 (exit $ac_status); } && {
37405 test -z "$ac_c_werror_flag" ||
37406 test ! -s conftest.err
37407 } && test -s conftest$ac_exeext &&
37408 $as_test_x conftest$ac_exeext; then
37409 eval "$as_ac_var=yes"
37411 echo "$as_me: failed program was:" >&5
37412 sed 's/^/| /' conftest.$ac_ext >&5
37414 eval "$as_ac_var=no"
37417 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37418 conftest$ac_exeext conftest.$ac_ext
37420 ac_res=`eval echo '${'$as_ac_var'}'`
37421 { echo "$as_me:$LINENO: result: $ac_res" >&5
37422 echo "${ECHO_T}$ac_res" >&6; }
37423 if test `eval echo '${'$as_ac_var'}'` = yes; then
37424 cat >>confdefs.h <<_ACEOF
37425 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37427 cat >>confdefs.h <<\_ACEOF
37428 #define HAVE_INET_ADDR 1
37433 { echo "$as_me:$LINENO: checking for inet_addr in -lnsl" >&5
37434 echo $ECHO_N "checking for inet_addr in -lnsl... $ECHO_C" >&6; }
37435 if test "${ac_cv_lib_nsl_inet_addr+set}" = set; then
37436 echo $ECHO_N "(cached) $ECHO_C" >&6
37438 ac_check_lib_save_LIBS=$LIBS
37440 cat >conftest.$ac_ext <<_ACEOF
37443 cat confdefs.h >>conftest.$ac_ext
37444 cat >>conftest.$ac_ext <<_ACEOF
37445 /* end confdefs.h. */
37447 /* Override any GCC internal prototype to avoid an error.
37448 Use char because int might match the return type of a GCC
37449 builtin and then its argument prototype would still apply. */
37457 return inet_addr ();
37462 rm -f conftest.$ac_objext conftest$ac_exeext
37463 if { (ac_try="$ac_link"
37464 case "(($ac_try" in
37465 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
37466 *) ac_try_echo
=$ac_try;;
37468 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37469 (eval "$ac_link") 2>conftest.er1
37471 grep -v '^ *+' conftest.er1
>conftest.err
37473 cat conftest.err
>&5
37474 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37475 (exit $ac_status); } && {
37476 test -z "$ac_c_werror_flag" ||
37477 test ! -s conftest.err
37478 } && test -s conftest
$ac_exeext &&
37479 $as_test_x conftest
$ac_exeext; then
37480 ac_cv_lib_nsl_inet_addr
=yes
37482 echo "$as_me: failed program was:" >&5
37483 sed 's/^/| /' conftest.
$ac_ext >&5
37485 ac_cv_lib_nsl_inet_addr
=no
37488 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
37489 conftest
$ac_exeext conftest.
$ac_ext
37490 LIBS
=$ac_check_lib_save_LIBS
37492 { echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_inet_addr" >&5
37493 echo "${ECHO_T}$ac_cv_lib_nsl_inet_addr" >&6; }
37494 if test $ac_cv_lib_nsl_inet_addr = yes; then
37498 { echo "$as_me:$LINENO: checking for inet_addr in -lresolv" >&5
37499 echo $ECHO_N "checking for inet_addr in -lresolv... $ECHO_C" >&6; }
37500 if test "${ac_cv_lib_resolv_inet_addr+set}" = set; then
37501 echo $ECHO_N "(cached) $ECHO_C" >&6
37503 ac_check_lib_save_LIBS
=$LIBS
37504 LIBS
="-lresolv $LIBS"
37505 cat >conftest.
$ac_ext <<_ACEOF
37508 cat confdefs.h
>>conftest.
$ac_ext
37509 cat >>conftest.
$ac_ext <<_ACEOF
37510 /* end confdefs.h. */
37512 /* Override any GCC internal prototype to avoid an error.
37513 Use char because int might match the return type of a GCC
37514 builtin and then its argument prototype would still apply. */
37522 return inet_addr ();
37527 rm -f conftest.
$ac_objext conftest
$ac_exeext
37528 if { (ac_try
="$ac_link"
37529 case "(($ac_try" in
37530 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
37531 *) ac_try_echo=$ac_try;;
37533 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37534 (eval "$ac_link") 2>conftest.er1
37536 grep -v '^ *+' conftest.er1 >conftest.err
37538 cat conftest.err >&5
37539 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37540 (exit $ac_status); } && {
37541 test -z "$ac_c_werror_flag" ||
37542 test ! -s conftest.err
37543 } && test -s conftest$ac_exeext &&
37544 $as_test_x conftest$ac_exeext; then
37545 ac_cv_lib_resolv_inet_addr=yes
37547 echo "$as_me: failed program was:" >&5
37548 sed 's/^/| /' conftest.$ac_ext >&5
37550 ac_cv_lib_resolv_inet_addr=no
37553 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37554 conftest$ac_exeext conftest.$ac_ext
37555 LIBS=$ac_check_lib_save_LIBS
37557 { echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_inet_addr" >&5
37558 echo "${ECHO_T}$ac_cv_lib_resolv_inet_addr" >&6; }
37559 if test $ac_cv_lib_resolv_inet_addr = yes; then
37563 { echo "$as_me:$LINENO: checking for inet_addr in -lsocket" >&5
37564 echo $ECHO_N "checking for inet_addr in -lsocket... $ECHO_C" >&6; }
37565 if test "${ac_cv_lib_socket_inet_addr+set}" = set; then
37566 echo $ECHO_N "(cached) $ECHO_C" >&6
37568 ac_check_lib_save_LIBS=$LIBS
37569 LIBS="-lsocket $LIBS"
37570 cat >conftest.$ac_ext <<_ACEOF
37573 cat confdefs.h >>conftest.$ac_ext
37574 cat >>conftest.$ac_ext <<_ACEOF
37575 /* end confdefs.h. */
37577 /* Override any GCC internal prototype to avoid an error.
37578 Use char because int might match the return type of a GCC
37579 builtin and then its argument prototype would still apply. */
37587 return inet_addr ();
37592 rm -f conftest.$ac_objext conftest$ac_exeext
37593 if { (ac_try="$ac_link"
37594 case "(($ac_try" in
37595 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
37596 *) ac_try_echo
=$ac_try;;
37598 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37599 (eval "$ac_link") 2>conftest.er1
37601 grep -v '^ *+' conftest.er1
>conftest.err
37603 cat conftest.err
>&5
37604 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37605 (exit $ac_status); } && {
37606 test -z "$ac_c_werror_flag" ||
37607 test ! -s conftest.err
37608 } && test -s conftest
$ac_exeext &&
37609 $as_test_x conftest
$ac_exeext; then
37610 ac_cv_lib_socket_inet_addr
=yes
37612 echo "$as_me: failed program was:" >&5
37613 sed 's/^/| /' conftest.
$ac_ext >&5
37615 ac_cv_lib_socket_inet_addr
=no
37618 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
37619 conftest
$ac_exeext conftest.
$ac_ext
37620 LIBS
=$ac_check_lib_save_LIBS
37622 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_inet_addr" >&5
37623 echo "${ECHO_T}$ac_cv_lib_socket_inet_addr" >&6; }
37624 if test $ac_cv_lib_socket_inet_addr = yes; then
37644 for ac_func
in inet_aton
37646 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37647 { echo "$as_me:$LINENO: checking for $ac_func" >&5
37648 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
37649 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
37650 echo $ECHO_N "(cached) $ECHO_C" >&6
37652 cat >conftest.
$ac_ext <<_ACEOF
37655 cat confdefs.h
>>conftest.
$ac_ext
37656 cat >>conftest.
$ac_ext <<_ACEOF
37657 /* end confdefs.h. */
37658 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37659 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37660 #define $ac_func innocuous_$ac_func
37662 /* System header to define __stub macros and hopefully few prototypes,
37663 which can conflict with char $ac_func (); below.
37664 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37665 <limits.h> exists even on freestanding compilers. */
37668 # include <limits.h>
37670 # include <assert.h>
37675 /* Override any GCC internal prototype to avoid an error.
37676 Use char because int might match the return type of a GCC
37677 builtin and then its argument prototype would still apply. */
37682 /* The GNU C library defines this for functions which it implements
37683 to always fail with ENOSYS. Some functions are actually named
37684 something starting with __ and the normal name is an alias. */
37685 #if defined __stub_$ac_func || defined __stub___$ac_func
37692 return $ac_func ();
37697 rm -f conftest.
$ac_objext conftest
$ac_exeext
37698 if { (ac_try
="$ac_link"
37699 case "(($ac_try" in
37700 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
37701 *) ac_try_echo=$ac_try;;
37703 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37704 (eval "$ac_link") 2>conftest.er1
37706 grep -v '^ *+' conftest.er1 >conftest.err
37708 cat conftest.err >&5
37709 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37710 (exit $ac_status); } && {
37711 test -z "$ac_c_werror_flag" ||
37712 test ! -s conftest.err
37713 } && test -s conftest$ac_exeext &&
37714 $as_test_x conftest$ac_exeext; then
37715 eval "$as_ac_var=yes"
37717 echo "$as_me: failed program was:" >&5
37718 sed 's/^/| /' conftest.$ac_ext >&5
37720 eval "$as_ac_var=no"
37723 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37724 conftest$ac_exeext conftest.$ac_ext
37726 ac_res=`eval echo '${'$as_ac_var'}'`
37727 { echo "$as_me:$LINENO: result: $ac_res" >&5
37728 echo "${ECHO_T}$ac_res" >&6; }
37729 if test `eval echo '${'$as_ac_var'}'` = yes; then
37730 cat >>confdefs.h <<_ACEOF
37731 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37733 cat >>confdefs.h <<\_ACEOF
37734 #define HAVE_INET_ATON 1
37739 as_ac_Lib=`echo "ac_cv_lib_$INET_LINK''_inet_aton" | $as_tr_sh`
37740 { echo "$as_me:$LINENO: checking for inet_aton in -l$INET_LINK" >&5
37741 echo $ECHO_N "checking for inet_aton in -l$INET_LINK... $ECHO_C" >&6; }
37742 if { as_var=$as_ac_Lib; eval "test \"\${$as_var+set}\" = set"; }; then
37743 echo $ECHO_N "(cached) $ECHO_C" >&6
37745 ac_check_lib_save_LIBS=$LIBS
37746 LIBS="-l$INET_LINK $LIBS"
37747 cat >conftest.$ac_ext <<_ACEOF
37750 cat confdefs.h >>conftest.$ac_ext
37751 cat >>conftest.$ac_ext <<_ACEOF
37752 /* end confdefs.h. */
37754 /* Override any GCC internal prototype to avoid an error.
37755 Use char because int might match the return type of a GCC
37756 builtin and then its argument prototype would still apply. */
37764 return inet_aton ();
37769 rm -f conftest.$ac_objext conftest$ac_exeext
37770 if { (ac_try="$ac_link"
37771 case "(($ac_try" in
37772 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
37773 *) ac_try_echo
=$ac_try;;
37775 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37776 (eval "$ac_link") 2>conftest.er1
37778 grep -v '^ *+' conftest.er1
>conftest.err
37780 cat conftest.err
>&5
37781 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37782 (exit $ac_status); } && {
37783 test -z "$ac_c_werror_flag" ||
37784 test ! -s conftest.err
37785 } && test -s conftest
$ac_exeext &&
37786 $as_test_x conftest
$ac_exeext; then
37787 eval "$as_ac_Lib=yes"
37789 echo "$as_me: failed program was:" >&5
37790 sed 's/^/| /' conftest.
$ac_ext >&5
37792 eval "$as_ac_Lib=no"
37795 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
37796 conftest
$ac_exeext conftest.
$ac_ext
37797 LIBS
=$ac_check_lib_save_LIBS
37799 ac_res
=`eval echo '${'$as_ac_Lib'}'`
37800 { echo "$as_me:$LINENO: result: $ac_res" >&5
37801 echo "${ECHO_T}$ac_res" >&6; }
37802 if test `eval echo '${'$as_ac_Lib'}'` = yes; then
37803 cat >>confdefs.h
<<\_ACEOF
37804 #define HAVE_INET_ATON 1
37814 if test "x$INET_LINK" != "x"; then
37815 cat >>confdefs.h
<<\_ACEOF
37816 #define HAVE_INET_ADDR 1
37819 INET_LINK
=" -l$INET_LINK"
37823 for wx_func
in fdopen
37825 { echo "$as_me:$LINENO: checking for $wx_func" >&5
37826 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
37827 if { as_var
=wx_cv_func_
$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
37828 echo $ECHO_N "(cached) $ECHO_C" >&6
37831 cat >conftest.
$ac_ext <<_ACEOF
37835 cat confdefs.h
>>conftest.
$ac_ext
37836 cat >>conftest.
$ac_ext <<_ACEOF
37837 /* end confdefs.h. */
37840 $ac_includes_default
37856 rm -f conftest.
$ac_objext conftest
$ac_exeext
37857 if { (ac_try
="$ac_link"
37858 case "(($ac_try" in
37859 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
37860 *) ac_try_echo=$ac_try;;
37862 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37863 (eval "$ac_link") 2>conftest.er1
37865 grep -v '^ *+' conftest.er1 >conftest.err
37867 cat conftest.err >&5
37868 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37869 (exit $ac_status); } && {
37870 test -z "$ac_c_werror_flag" ||
37871 test ! -s conftest.err
37872 } && test -s conftest$ac_exeext &&
37873 $as_test_x conftest$ac_exeext; then
37874 eval wx_cv_func_$wx_func=yes
37876 echo "$as_me: failed program was:" >&5
37877 sed 's/^/| /' conftest.$ac_ext >&5
37879 eval wx_cv_func_$wx_func=no
37882 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37883 conftest$ac_exeext conftest.$ac_ext
37886 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
37887 { echo "$as_me:$LINENO: result: $ac_res" >&5
37888 echo "${ECHO_T}$ac_res" >&6; }
37890 if eval test \$wx_cv_func_$wx_func = yes
37892 cat >>confdefs.h <<_ACEOF
37893 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
37910 { echo "$as_me:$LINENO: checking for esd_close in -lesd" >&5
37911 echo $ECHO_N "checking for esd_close in -lesd... $ECHO_C" >&6; }
37912 if test "${ac_cv_lib_esd_esd_close+set}" = set; then
37913 echo $ECHO_N "(cached) $ECHO_C" >&6
37915 ac_check_lib_save_LIBS=$LIBS
37917 cat >conftest.$ac_ext <<_ACEOF
37920 cat confdefs.h >>conftest.$ac_ext
37921 cat >>conftest.$ac_ext <<_ACEOF
37922 /* end confdefs.h. */
37924 /* Override any GCC internal prototype to avoid an error.
37925 Use char because int might match the return type of a GCC
37926 builtin and then its argument prototype would still apply. */
37934 return esd_close ();
37939 rm -f conftest.$ac_objext conftest$ac_exeext
37940 if { (ac_try="$ac_link"
37941 case "(($ac_try" in
37942 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
37943 *) ac_try_echo
=$ac_try;;
37945 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37946 (eval "$ac_link") 2>conftest.er1
37948 grep -v '^ *+' conftest.er1
>conftest.err
37950 cat conftest.err
>&5
37951 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37952 (exit $ac_status); } && {
37953 test -z "$ac_c_werror_flag" ||
37954 test ! -s conftest.err
37955 } && test -s conftest
$ac_exeext &&
37956 $as_test_x conftest
$ac_exeext; then
37957 ac_cv_lib_esd_esd_close
=yes
37959 echo "$as_me: failed program was:" >&5
37960 sed 's/^/| /' conftest.
$ac_ext >&5
37962 ac_cv_lib_esd_esd_close
=no
37965 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
37966 conftest
$ac_exeext conftest.
$ac_ext
37967 LIBS
=$ac_check_lib_save_LIBS
37969 { echo "$as_me:$LINENO: result: $ac_cv_lib_esd_esd_close" >&5
37970 echo "${ECHO_T}$ac_cv_lib_esd_esd_close" >&6; }
37971 if test $ac_cv_lib_esd_esd_close = yes; then
37973 { echo "$as_me:$LINENO: checking for esd.h" >&5
37974 echo $ECHO_N "checking for esd.h... $ECHO_C" >&6; }
37975 if test "${ac_cv_header_esd_h+set}" = set; then
37976 echo $ECHO_N "(cached) $ECHO_C" >&6
37978 cat >conftest.
$ac_ext <<_ACEOF
37981 cat confdefs.h
>>conftest.
$ac_ext
37982 cat >>conftest.
$ac_ext <<_ACEOF
37983 /* end confdefs.h. */
37988 rm -f conftest.
$ac_objext
37989 if { (ac_try
="$ac_compile"
37990 case "(($ac_try" in
37991 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
37992 *) ac_try_echo=$ac_try;;
37994 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37995 (eval "$ac_compile") 2>conftest.er1
37997 grep -v '^ *+' conftest.er1 >conftest.err
37999 cat conftest.err >&5
38000 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38001 (exit $ac_status); } && {
38002 test -z "$ac_c_werror_flag" ||
38003 test ! -s conftest.err
38004 } && test -s conftest.$ac_objext; then
38005 ac_cv_header_esd_h=yes
38007 echo "$as_me: failed program was:" >&5
38008 sed 's/^/| /' conftest.$ac_ext >&5
38010 ac_cv_header_esd_h=no
38013 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38015 { echo "$as_me:$LINENO: result: $ac_cv_header_esd_h" >&5
38016 echo "${ECHO_T}$ac_cv_header_esd_h" >&6; }
38017 if test $ac_cv_header_esd_h = yes; then
38019 EXTRALIBS_ESD="-lesd"
38029 { echo "$as_me:$LINENO: checking for known CD-ROM interface" >&5
38030 echo $ECHO_N "checking for known CD-ROM interface... $ECHO_C" >&6; }
38031 cat >conftest.$ac_ext <<_ACEOF
38034 cat confdefs.h >>conftest.$ac_ext
38035 cat >>conftest.$ac_ext <<_ACEOF
38036 /* end confdefs.h. */
38038 #include <linux/cdrom.h>
38041 #include <sys/cdio.h>
38047 struct cdrom_tocentry entry, old_entry;
38052 rm -f conftest.$ac_objext
38053 if { (ac_try="$ac_compile"
38054 case "(($ac_try" in
38055 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
38056 *) ac_try_echo
=$ac_try;;
38058 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38059 (eval "$ac_compile") 2>conftest.er1
38061 grep -v '^ *+' conftest.er1
>conftest.err
38063 cat conftest.err
>&5
38064 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38065 (exit $ac_status); } && {
38066 test -z "$ac_c_werror_flag" ||
38067 test ! -s conftest.err
38068 } && test -s conftest.
$ac_objext; then
38069 { echo "$as_me:$LINENO: result: yes" >&5
38070 echo "${ECHO_T}yes" >&6; }
38071 cat >>confdefs.h
<<\_ACEOF
38072 #define HAVE_KNOWN_CDROM_INTERFACE 1
38076 echo "$as_me: failed program was:" >&5
38077 sed 's/^/| /' conftest.
$ac_ext >&5
38079 { echo "$as_me:$LINENO: result: no" >&5
38080 echo "${ECHO_T}no" >&6; }
38083 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
38086 cat >confcache
<<\_ACEOF
38087 # This file is a shell script that caches the results of configure
38088 # tests run on this system so they can be shared between configure
38089 # scripts and configure runs, see configure's option --config-cache.
38090 # It is not useful on other systems. If it contains results you don't
38091 # want to keep, you may remove or edit it.
38093 # config.status only pays attention to the cache file if you give it
38094 # the --recheck option to rerun configure.
38096 # `ac_cv_env_foo' variables (set or unset) will be overridden when
38097 # loading this file, other *unset* `ac_cv_foo' will be assigned the
38098 # following values.
38102 # The following way of writing the cache mishandles newlines in values,
38103 # but we know of no workaround that is simple, portable, and efficient.
38104 # So, we kill variables containing newlines.
38105 # Ultrix sh set writes to stderr and can't be redirected directly,
38106 # and sets the high bit in the cache file unless we assign to the vars.
38108 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
38109 eval ac_val
=\$
$ac_var
38113 *_cv_
*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
38114 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
38117 _
| IFS
| as_nl
) ;; #(
38118 *) $as_unset $ac_var ;;
38124 case $as_nl`(ac_space=' '; set) 2>&1` in #(
38125 *${as_nl}ac_space
=\
*)
38126 # `set' does not quote correctly, so add quotes (double-quote
38127 # substitution turns \\\\ into \\, and sed turns \\ into \).
38130 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
38133 # `set' quotes correctly as required by POSIX, so do not add quotes.
38134 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
38143 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
38145 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
38147 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
38148 if test -w "$cache_file"; then
38149 test "x$cache_file" != "x/dev/null" &&
38150 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
38151 echo "$as_me: updating cache $cache_file" >&6;}
38152 cat confcache
>$cache_file
38154 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
38155 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
38161 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
38167 if test "$wxUSE_THREADS" = "yes" ; then
38168 if test "$USE_BEOS" = 1; then
38169 { echo "$as_me:$LINENO: WARNING: BeOS threads are not yet supported... disabled" >&5
38170 echo "$as_me: WARNING: BeOS threads are not yet supported... disabled" >&2;}
38175 if test "$wxUSE_THREADS" = "yes" ; then
38178 THREAD_OPTS
="-pthread"
38180 *-*-solaris2* | *-*-sunos4* )
38181 if test "x$GCC" = "xyes"; then
38182 THREAD_OPTS
="-pthreads $THREAD_OPTS"
38184 THREAD_OPTS
="-mt $THREAD_OPTS"
38188 THREAD_OPTS
="-kthread lthread $THREAD_OPTS c_r"
38190 *-*-darwin* | *-*-cygwin* )
38194 THREAD_OPTS
="pthreads"
38197 if test "x$GCC" = "xyes"; then
38198 $CXX -dumpspecs | grep 'pthread:' >/dev
/null
||
38206 if test "x$GCC" = "xyes"; then
38212 if test "x$GCC" != "xyes"; then
38213 THREAD_OPTS
="-Ethread"
38218 THREAD_OPTS
="$THREAD_OPTS pthread none"
38221 for flag
in $THREAD_OPTS; do
38224 { echo "$as_me:$LINENO: checking whether pthreads work without any flags" >&5
38225 echo $ECHO_N "checking whether pthreads work without any flags... $ECHO_C" >&6; }
38229 { echo "$as_me:$LINENO: checking whether pthreads work with $flag" >&5
38230 echo $ECHO_N "checking whether pthreads work with $flag... $ECHO_C" >&6; }
38231 THREADS_CFLAGS
="$flag"
38235 { echo "$as_me:$LINENO: checking for the pthreads library -l$flag" >&5
38236 echo $ECHO_N "checking for the pthreads library -l$flag... $ECHO_C" >&6; }
38237 THREADS_LINK
="-l$flag"
38242 save_CFLAGS
="$CFLAGS"
38243 LIBS
="$THREADS_LINK $LIBS"
38244 CFLAGS
="$THREADS_CFLAGS $CFLAGS"
38246 cat >conftest.
$ac_ext <<_ACEOF
38249 cat confdefs.h
>>conftest.
$ac_ext
38250 cat >>conftest.
$ac_ext <<_ACEOF
38251 /* end confdefs.h. */
38252 #include <pthread.h>
38256 pthread_create(0,0,0,0);
38261 rm -f conftest.
$ac_objext conftest
$ac_exeext
38262 if { (ac_try
="$ac_link"
38263 case "(($ac_try" in
38264 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
38265 *) ac_try_echo=$ac_try;;
38267 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38268 (eval "$ac_link") 2>conftest.er1
38270 grep -v '^ *+' conftest.er1 >conftest.err
38272 cat conftest.err >&5
38273 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38274 (exit $ac_status); } && {
38275 test -z "$ac_c_werror_flag" ||
38276 test ! -s conftest.err
38277 } && test -s conftest$ac_exeext &&
38278 $as_test_x conftest$ac_exeext; then
38281 echo "$as_me: failed program was:" >&5
38282 sed 's/^/| /' conftest.$ac_ext >&5
38287 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38288 conftest$ac_exeext conftest.$ac_ext
38291 CFLAGS="$save_CFLAGS"
38293 { echo "$as_me:$LINENO: result: $THREADS_OK" >&5
38294 echo "${ECHO_T}$THREADS_OK" >&6; }
38295 if test "x$THREADS_OK" = "xyes"; then
38303 if test "x$THREADS_OK" != "xyes"; then
38305 { echo "$as_me:$LINENO: WARNING: No thread support on this system... disabled" >&5
38306 echo "$as_me: WARNING: No thread support on this system... disabled" >&2;}
38308 LDFLAGS="$THREADS_CFLAGS $LDFLAGS"
38309 LIBS="$THREADS_LINK $LIBS"
38311 { echo "$as_me:$LINENO: checking if more special flags are required for pthreads" >&5
38312 echo $ECHO_N "checking if more special flags are required for pthreads... $ECHO_C" >&6; }
38316 LDFLAGS="-L/usr/lib/threads $LDFLAGS"
38317 flag="-D_THREAD_SAFE"
38320 flag="-D_THREAD_SAFE"
38323 flag="-D_REENTRANT"
38324 if test "x$GCC" != "xyes"; then
38325 flag="$flag -D_RWSTD_MULTI_THREAD"
38328 *solaris* | alpha*-osf*)
38329 flag="-D_REENTRANT"
38332 { echo "$as_me:$LINENO: result: ${flag}" >&5
38333 echo "${ECHO_T}${flag}" >&6; }
38334 if test "x$flag" != xno; then
38335 THREADS_CFLAGS="$THREADS_CFLAGS $flag"
38338 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS $THREADS_CFLAGS"
38342 if test "$wxUSE_THREADS" = "yes" ; then
38344 for ac_func in thr_setconcurrency
38346 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38347 { echo "$as_me:$LINENO: checking for $ac_func" >&5
38348 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
38349 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
38350 echo $ECHO_N "(cached) $ECHO_C" >&6
38352 cat >conftest.$ac_ext <<_ACEOF
38355 cat confdefs.h >>conftest.$ac_ext
38356 cat >>conftest.$ac_ext <<_ACEOF
38357 /* end confdefs.h. */
38358 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38359 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38360 #define $ac_func innocuous_$ac_func
38362 /* System header to define __stub macros and hopefully few prototypes,
38363 which can conflict with char $ac_func (); below.
38364 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38365 <limits.h> exists even on freestanding compilers. */
38368 # include <limits.h>
38370 # include <assert.h>
38375 /* Override any GCC internal prototype to avoid an error.
38376 Use char because int might match the return type of a GCC
38377 builtin and then its argument prototype would still apply. */
38382 /* The GNU C library defines this for functions which it implements
38383 to always fail with ENOSYS. Some functions are actually named
38384 something starting with __ and the normal name is an alias. */
38385 #if defined __stub_$ac_func || defined __stub___$ac_func
38392 return $ac_func ();
38397 rm -f conftest.$ac_objext conftest$ac_exeext
38398 if { (ac_try="$ac_link"
38399 case "(($ac_try" in
38400 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
38401 *) ac_try_echo
=$ac_try;;
38403 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38404 (eval "$ac_link") 2>conftest.er1
38406 grep -v '^ *+' conftest.er1
>conftest.err
38408 cat conftest.err
>&5
38409 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38410 (exit $ac_status); } && {
38411 test -z "$ac_c_werror_flag" ||
38412 test ! -s conftest.err
38413 } && test -s conftest
$ac_exeext &&
38414 $as_test_x conftest
$ac_exeext; then
38415 eval "$as_ac_var=yes"
38417 echo "$as_me: failed program was:" >&5
38418 sed 's/^/| /' conftest.
$ac_ext >&5
38420 eval "$as_ac_var=no"
38423 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
38424 conftest
$ac_exeext conftest.
$ac_ext
38426 ac_res
=`eval echo '${'$as_ac_var'}'`
38427 { echo "$as_me:$LINENO: result: $ac_res" >&5
38428 echo "${ECHO_T}$ac_res" >&6; }
38429 if test `eval echo '${'$as_ac_var'}'` = yes; then
38430 cat >>confdefs.h
<<_ACEOF
38431 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38438 { echo "$as_me:$LINENO: checking for pthread_cleanup_push/pop" >&5
38439 echo $ECHO_N "checking for pthread_cleanup_push/pop... $ECHO_C" >&6; }
38440 if test "${wx_cv_func_pthread_cleanup+set}" = set; then
38441 echo $ECHO_N "(cached) $ECHO_C" >&6
38444 cat >conftest.
$ac_ext <<_ACEOF
38447 cat confdefs.h
>>conftest.
$ac_ext
38448 cat >>conftest.
$ac_ext <<_ACEOF
38449 /* end confdefs.h. */
38450 #include <pthread.h>
38451 void ThreadCleanupFunc(void *p);
38458 pthread_cleanup_push(ThreadCleanupFunc, p);
38459 pthread_cleanup_pop(0);
38465 rm -f conftest.
$ac_objext
38466 if { (ac_try
="$ac_compile"
38467 case "(($ac_try" in
38468 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
38469 *) ac_try_echo=$ac_try;;
38471 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38472 (eval "$ac_compile") 2>conftest.er1
38474 grep -v '^ *+' conftest.er1 >conftest.err
38476 cat conftest.err >&5
38477 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38478 (exit $ac_status); } && {
38479 test -z "$ac_c_werror_flag" ||
38480 test ! -s conftest.err
38481 } && test -s conftest.$ac_objext; then
38483 wx_cv_func_pthread_cleanup=yes
38486 echo "$as_me: failed program was:" >&5
38487 sed 's/^/| /' conftest.$ac_ext >&5
38490 wx_cv_func_pthread_cleanup=no
38495 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38498 { echo "$as_me:$LINENO: result: $wx_cv_func_pthread_cleanup" >&5
38499 echo "${ECHO_T}$wx_cv_func_pthread_cleanup" >&6; }
38500 if test "x$wx_cv_func_pthread_cleanup" = "xyes"; then
38501 cat >>confdefs.h <<\_ACEOF
38502 #define wxHAVE_PTHREAD_CLEANUP 1
38507 { echo "$as_me:$LINENO: checking for sched.h" >&5
38508 echo $ECHO_N "checking for sched.h... $ECHO_C" >&6; }
38509 if test "${ac_cv_header_sched_h+set}" = set; then
38510 echo $ECHO_N "(cached) $ECHO_C" >&6
38512 cat >conftest.$ac_ext <<_ACEOF
38515 cat confdefs.h >>conftest.$ac_ext
38516 cat >>conftest.$ac_ext <<_ACEOF
38517 /* end confdefs.h. */
38518 $ac_includes_default
38522 rm -f conftest.$ac_objext
38523 if { (ac_try="$ac_compile"
38524 case "(($ac_try" in
38525 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
38526 *) ac_try_echo
=$ac_try;;
38528 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38529 (eval "$ac_compile") 2>conftest.er1
38531 grep -v '^ *+' conftest.er1
>conftest.err
38533 cat conftest.err
>&5
38534 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38535 (exit $ac_status); } && {
38536 test -z "$ac_c_werror_flag" ||
38537 test ! -s conftest.err
38538 } && test -s conftest.
$ac_objext; then
38539 ac_cv_header_sched_h
=yes
38541 echo "$as_me: failed program was:" >&5
38542 sed 's/^/| /' conftest.
$ac_ext >&5
38544 ac_cv_header_sched_h
=no
38547 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
38549 { echo "$as_me:$LINENO: result: $ac_cv_header_sched_h" >&5
38550 echo "${ECHO_T}$ac_cv_header_sched_h" >&6; }
38553 if test "$ac_cv_header_sched_h" = "yes"; then
38554 { echo "$as_me:$LINENO: checking for sched_yield" >&5
38555 echo $ECHO_N "checking for sched_yield... $ECHO_C" >&6; }
38556 if test "${ac_cv_func_sched_yield+set}" = set; then
38557 echo $ECHO_N "(cached) $ECHO_C" >&6
38559 cat >conftest.
$ac_ext <<_ACEOF
38562 cat confdefs.h
>>conftest.
$ac_ext
38563 cat >>conftest.
$ac_ext <<_ACEOF
38564 /* end confdefs.h. */
38565 /* Define sched_yield to an innocuous variant, in case <limits.h> declares sched_yield.
38566 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38567 #define sched_yield innocuous_sched_yield
38569 /* System header to define __stub macros and hopefully few prototypes,
38570 which can conflict with char sched_yield (); below.
38571 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38572 <limits.h> exists even on freestanding compilers. */
38575 # include <limits.h>
38577 # include <assert.h>
38582 /* Override any GCC internal prototype to avoid an error.
38583 Use char because int might match the return type of a GCC
38584 builtin and then its argument prototype would still apply. */
38588 char sched_yield ();
38589 /* The GNU C library defines this for functions which it implements
38590 to always fail with ENOSYS. Some functions are actually named
38591 something starting with __ and the normal name is an alias. */
38592 #if defined __stub_sched_yield || defined __stub___sched_yield
38599 return sched_yield ();
38604 rm -f conftest.
$ac_objext conftest
$ac_exeext
38605 if { (ac_try
="$ac_link"
38606 case "(($ac_try" in
38607 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
38608 *) ac_try_echo=$ac_try;;
38610 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38611 (eval "$ac_link") 2>conftest.er1
38613 grep -v '^ *+' conftest.er1 >conftest.err
38615 cat conftest.err >&5
38616 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38617 (exit $ac_status); } && {
38618 test -z "$ac_c_werror_flag" ||
38619 test ! -s conftest.err
38620 } && test -s conftest$ac_exeext &&
38621 $as_test_x conftest$ac_exeext; then
38622 ac_cv_func_sched_yield=yes
38624 echo "$as_me: failed program was:" >&5
38625 sed 's/^/| /' conftest.$ac_ext >&5
38627 ac_cv_func_sched_yield=no
38630 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38631 conftest$ac_exeext conftest.$ac_ext
38633 { echo "$as_me:$LINENO: result: $ac_cv_func_sched_yield" >&5
38634 echo "${ECHO_T}$ac_cv_func_sched_yield" >&6; }
38635 if test $ac_cv_func_sched_yield = yes; then
38636 cat >>confdefs.h <<\_ACEOF
38637 #define HAVE_SCHED_YIELD 1
38642 { echo "$as_me:$LINENO: checking for sched_yield in -lposix4" >&5
38643 echo $ECHO_N "checking for sched_yield in -lposix4... $ECHO_C" >&6; }
38644 if test "${ac_cv_lib_posix4_sched_yield+set}" = set; then
38645 echo $ECHO_N "(cached) $ECHO_C" >&6
38647 ac_check_lib_save_LIBS=$LIBS
38648 LIBS="-lposix4 $LIBS"
38649 cat >conftest.$ac_ext <<_ACEOF
38652 cat confdefs.h >>conftest.$ac_ext
38653 cat >>conftest.$ac_ext <<_ACEOF
38654 /* end confdefs.h. */
38656 /* Override any GCC internal prototype to avoid an error.
38657 Use char because int might match the return type of a GCC
38658 builtin and then its argument prototype would still apply. */
38662 char sched_yield ();
38666 return sched_yield ();
38671 rm -f conftest.$ac_objext conftest$ac_exeext
38672 if { (ac_try="$ac_link"
38673 case "(($ac_try" in
38674 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
38675 *) ac_try_echo
=$ac_try;;
38677 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38678 (eval "$ac_link") 2>conftest.er1
38680 grep -v '^ *+' conftest.er1
>conftest.err
38682 cat conftest.err
>&5
38683 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38684 (exit $ac_status); } && {
38685 test -z "$ac_c_werror_flag" ||
38686 test ! -s conftest.err
38687 } && test -s conftest
$ac_exeext &&
38688 $as_test_x conftest
$ac_exeext; then
38689 ac_cv_lib_posix4_sched_yield
=yes
38691 echo "$as_me: failed program was:" >&5
38692 sed 's/^/| /' conftest.
$ac_ext >&5
38694 ac_cv_lib_posix4_sched_yield
=no
38697 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
38698 conftest
$ac_exeext conftest.
$ac_ext
38699 LIBS
=$ac_check_lib_save_LIBS
38701 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_yield" >&5
38702 echo "${ECHO_T}$ac_cv_lib_posix4_sched_yield" >&6; }
38703 if test $ac_cv_lib_posix4_sched_yield = yes; then
38704 cat >>confdefs.h
<<\_ACEOF
38705 #define HAVE_SCHED_YIELD 1
38707 POSIX4_LINK
=" -lposix4"
38709 { echo "$as_me:$LINENO: WARNING: wxThread::Yield will not work properly" >&5
38710 echo "$as_me: WARNING: wxThread::Yield will not work properly" >&2;}
38721 { echo "$as_me:$LINENO: checking for pthread_attr_getschedpolicy" >&5
38722 echo $ECHO_N "checking for pthread_attr_getschedpolicy... $ECHO_C" >&6; }
38723 if test "${ac_cv_func_pthread_attr_getschedpolicy+set}" = set; then
38724 echo $ECHO_N "(cached) $ECHO_C" >&6
38726 cat >conftest.
$ac_ext <<_ACEOF
38729 cat confdefs.h
>>conftest.
$ac_ext
38730 cat >>conftest.
$ac_ext <<_ACEOF
38731 /* end confdefs.h. */
38732 /* Define pthread_attr_getschedpolicy to an innocuous variant, in case <limits.h> declares pthread_attr_getschedpolicy.
38733 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38734 #define pthread_attr_getschedpolicy innocuous_pthread_attr_getschedpolicy
38736 /* System header to define __stub macros and hopefully few prototypes,
38737 which can conflict with char pthread_attr_getschedpolicy (); below.
38738 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38739 <limits.h> exists even on freestanding compilers. */
38742 # include <limits.h>
38744 # include <assert.h>
38747 #undef pthread_attr_getschedpolicy
38749 /* Override any GCC internal prototype to avoid an error.
38750 Use char because int might match the return type of a GCC
38751 builtin and then its argument prototype would still apply. */
38755 char pthread_attr_getschedpolicy ();
38756 /* The GNU C library defines this for functions which it implements
38757 to always fail with ENOSYS. Some functions are actually named
38758 something starting with __ and the normal name is an alias. */
38759 #if defined __stub_pthread_attr_getschedpolicy || defined __stub___pthread_attr_getschedpolicy
38766 return pthread_attr_getschedpolicy ();
38771 rm -f conftest.
$ac_objext conftest
$ac_exeext
38772 if { (ac_try
="$ac_link"
38773 case "(($ac_try" in
38774 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
38775 *) ac_try_echo=$ac_try;;
38777 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38778 (eval "$ac_link") 2>conftest.er1
38780 grep -v '^ *+' conftest.er1 >conftest.err
38782 cat conftest.err >&5
38783 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38784 (exit $ac_status); } && {
38785 test -z "$ac_c_werror_flag" ||
38786 test ! -s conftest.err
38787 } && test -s conftest$ac_exeext &&
38788 $as_test_x conftest$ac_exeext; then
38789 ac_cv_func_pthread_attr_getschedpolicy=yes
38791 echo "$as_me: failed program was:" >&5
38792 sed 's/^/| /' conftest.$ac_ext >&5
38794 ac_cv_func_pthread_attr_getschedpolicy=no
38797 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38798 conftest$ac_exeext conftest.$ac_ext
38800 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_getschedpolicy" >&5
38801 echo "${ECHO_T}$ac_cv_func_pthread_attr_getschedpolicy" >&6; }
38802 if test $ac_cv_func_pthread_attr_getschedpolicy = yes; then
38803 { echo "$as_me:$LINENO: checking for pthread_attr_setschedparam" >&5
38804 echo $ECHO_N "checking for pthread_attr_setschedparam... $ECHO_C" >&6; }
38805 if test "${ac_cv_func_pthread_attr_setschedparam+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_attr_setschedparam to an innocuous variant, in case <limits.h> declares pthread_attr_setschedparam.
38815 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38816 #define pthread_attr_setschedparam innocuous_pthread_attr_setschedparam
38818 /* System header to define __stub macros and hopefully few prototypes,
38819 which can conflict with char pthread_attr_setschedparam (); 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_attr_setschedparam
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_attr_setschedparam ();
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_attr_setschedparam || defined __stub___pthread_attr_setschedparam
38848 return pthread_attr_setschedparam ();
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_attr_setschedparam
=yes
38873 echo "$as_me: failed program was:" >&5
38874 sed 's/^/| /' conftest.
$ac_ext >&5
38876 ac_cv_func_pthread_attr_setschedparam
=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_attr_setschedparam" >&5
38883 echo "${ECHO_T}$ac_cv_func_pthread_attr_setschedparam" >&6; }
38884 if test $ac_cv_func_pthread_attr_setschedparam = yes; then
38885 { echo "$as_me:$LINENO: checking for sched_get_priority_max" >&5
38886 echo $ECHO_N "checking for sched_get_priority_max... $ECHO_C" >&6; }
38887 if test "${ac_cv_func_sched_get_priority_max+set}" = set; then
38888 echo $ECHO_N "(cached) $ECHO_C" >&6
38890 cat >conftest.
$ac_ext <<_ACEOF
38893 cat confdefs.h
>>conftest.
$ac_ext
38894 cat >>conftest.
$ac_ext <<_ACEOF
38895 /* end confdefs.h. */
38896 /* Define sched_get_priority_max to an innocuous variant, in case <limits.h> declares sched_get_priority_max.
38897 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38898 #define sched_get_priority_max innocuous_sched_get_priority_max
38900 /* System header to define __stub macros and hopefully few prototypes,
38901 which can conflict with char sched_get_priority_max (); below.
38902 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38903 <limits.h> exists even on freestanding compilers. */
38906 # include <limits.h>
38908 # include <assert.h>
38911 #undef sched_get_priority_max
38913 /* Override any GCC internal prototype to avoid an error.
38914 Use char because int might match the return type of a GCC
38915 builtin and then its argument prototype would still apply. */
38919 char sched_get_priority_max ();
38920 /* The GNU C library defines this for functions which it implements
38921 to always fail with ENOSYS. Some functions are actually named
38922 something starting with __ and the normal name is an alias. */
38923 #if defined __stub_sched_get_priority_max || defined __stub___sched_get_priority_max
38930 return sched_get_priority_max ();
38935 rm -f conftest.
$ac_objext conftest
$ac_exeext
38936 if { (ac_try
="$ac_link"
38937 case "(($ac_try" in
38938 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
38939 *) ac_try_echo=$ac_try;;
38941 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38942 (eval "$ac_link") 2>conftest.er1
38944 grep -v '^ *+' conftest.er1 >conftest.err
38946 cat conftest.err >&5
38947 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38948 (exit $ac_status); } && {
38949 test -z "$ac_c_werror_flag" ||
38950 test ! -s conftest.err
38951 } && test -s conftest$ac_exeext &&
38952 $as_test_x conftest$ac_exeext; then
38953 ac_cv_func_sched_get_priority_max=yes
38955 echo "$as_me: failed program was:" >&5
38956 sed 's/^/| /' conftest.$ac_ext >&5
38958 ac_cv_func_sched_get_priority_max=no
38961 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38962 conftest$ac_exeext conftest.$ac_ext
38964 { echo "$as_me:$LINENO: result: $ac_cv_func_sched_get_priority_max" >&5
38965 echo "${ECHO_T}$ac_cv_func_sched_get_priority_max" >&6; }
38966 if test $ac_cv_func_sched_get_priority_max = yes; then
38969 { echo "$as_me:$LINENO: checking for sched_get_priority_max in -lposix4" >&5
38970 echo $ECHO_N "checking for sched_get_priority_max in -lposix4... $ECHO_C" >&6; }
38971 if test "${ac_cv_lib_posix4_sched_get_priority_max+set}" = set; then
38972 echo $ECHO_N "(cached) $ECHO_C" >&6
38974 ac_check_lib_save_LIBS=$LIBS
38975 LIBS="-lposix4 $LIBS"
38976 cat >conftest.$ac_ext <<_ACEOF
38979 cat confdefs.h >>conftest.$ac_ext
38980 cat >>conftest.$ac_ext <<_ACEOF
38981 /* end confdefs.h. */
38983 /* Override any GCC internal prototype to avoid an error.
38984 Use char because int might match the return type of a GCC
38985 builtin and then its argument prototype would still apply. */
38989 char sched_get_priority_max ();
38993 return sched_get_priority_max ();
38998 rm -f conftest.$ac_objext conftest$ac_exeext
38999 if { (ac_try="$ac_link"
39000 case "(($ac_try" in
39001 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
39002 *) ac_try_echo
=$ac_try;;
39004 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39005 (eval "$ac_link") 2>conftest.er1
39007 grep -v '^ *+' conftest.er1
>conftest.err
39009 cat conftest.err
>&5
39010 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39011 (exit $ac_status); } && {
39012 test -z "$ac_c_werror_flag" ||
39013 test ! -s conftest.err
39014 } && test -s conftest
$ac_exeext &&
39015 $as_test_x conftest
$ac_exeext; then
39016 ac_cv_lib_posix4_sched_get_priority_max
=yes
39018 echo "$as_me: failed program was:" >&5
39019 sed 's/^/| /' conftest.
$ac_ext >&5
39021 ac_cv_lib_posix4_sched_get_priority_max
=no
39024 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
39025 conftest
$ac_exeext conftest.
$ac_ext
39026 LIBS
=$ac_check_lib_save_LIBS
39028 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_get_priority_max" >&5
39029 echo "${ECHO_T}$ac_cv_lib_posix4_sched_get_priority_max" >&6; }
39030 if test $ac_cv_lib_posix4_sched_get_priority_max = yes; then
39033 POSIX4_LINK
=" -lposix4"
39047 if test "$HAVE_PRIOR_FUNCS" = 1; then
39048 cat >>confdefs.h
<<\_ACEOF
39049 #define HAVE_THREAD_PRIORITY_FUNCTIONS 1
39053 { echo "$as_me:$LINENO: WARNING: Setting thread priority will not work" >&5
39054 echo "$as_me: WARNING: Setting thread priority will not work" >&2;}
39057 { echo "$as_me:$LINENO: checking for pthread_cancel" >&5
39058 echo $ECHO_N "checking for pthread_cancel... $ECHO_C" >&6; }
39059 if test "${ac_cv_func_pthread_cancel+set}" = set; then
39060 echo $ECHO_N "(cached) $ECHO_C" >&6
39062 cat >conftest.
$ac_ext <<_ACEOF
39065 cat confdefs.h
>>conftest.
$ac_ext
39066 cat >>conftest.
$ac_ext <<_ACEOF
39067 /* end confdefs.h. */
39068 /* Define pthread_cancel to an innocuous variant, in case <limits.h> declares pthread_cancel.
39069 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39070 #define pthread_cancel innocuous_pthread_cancel
39072 /* System header to define __stub macros and hopefully few prototypes,
39073 which can conflict with char pthread_cancel (); below.
39074 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39075 <limits.h> exists even on freestanding compilers. */
39078 # include <limits.h>
39080 # include <assert.h>
39083 #undef pthread_cancel
39085 /* Override any GCC internal prototype to avoid an error.
39086 Use char because int might match the return type of a GCC
39087 builtin and then its argument prototype would still apply. */
39091 char pthread_cancel ();
39092 /* The GNU C library defines this for functions which it implements
39093 to always fail with ENOSYS. Some functions are actually named
39094 something starting with __ and the normal name is an alias. */
39095 #if defined __stub_pthread_cancel || defined __stub___pthread_cancel
39102 return pthread_cancel ();
39107 rm -f conftest.
$ac_objext conftest
$ac_exeext
39108 if { (ac_try
="$ac_link"
39109 case "(($ac_try" in
39110 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
39111 *) ac_try_echo=$ac_try;;
39113 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39114 (eval "$ac_link") 2>conftest.er1
39116 grep -v '^ *+' conftest.er1 >conftest.err
39118 cat conftest.err >&5
39119 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39120 (exit $ac_status); } && {
39121 test -z "$ac_c_werror_flag" ||
39122 test ! -s conftest.err
39123 } && test -s conftest$ac_exeext &&
39124 $as_test_x conftest$ac_exeext; then
39125 ac_cv_func_pthread_cancel=yes
39127 echo "$as_me: failed program was:" >&5
39128 sed 's/^/| /' conftest.$ac_ext >&5
39130 ac_cv_func_pthread_cancel=no
39133 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39134 conftest$ac_exeext conftest.$ac_ext
39136 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_cancel" >&5
39137 echo "${ECHO_T}$ac_cv_func_pthread_cancel" >&6; }
39138 if test $ac_cv_func_pthread_cancel = yes; then
39139 cat >>confdefs.h <<\_ACEOF
39140 #define HAVE_PTHREAD_CANCEL 1
39144 { echo "$as_me:$LINENO: WARNING: wxThread::Kill() will not work properly" >&5
39145 echo "$as_me: WARNING: wxThread::Kill() will not work properly" >&2;}
39149 { echo "$as_me:$LINENO: checking for pthread_attr_setstacksize" >&5
39150 echo $ECHO_N "checking for pthread_attr_setstacksize... $ECHO_C" >&6; }
39151 if test "${ac_cv_func_pthread_attr_setstacksize+set}" = set; then
39152 echo $ECHO_N "(cached) $ECHO_C" >&6
39154 cat >conftest.$ac_ext <<_ACEOF
39157 cat confdefs.h >>conftest.$ac_ext
39158 cat >>conftest.$ac_ext <<_ACEOF
39159 /* end confdefs.h. */
39160 /* Define pthread_attr_setstacksize to an innocuous variant, in case <limits.h> declares pthread_attr_setstacksize.
39161 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39162 #define pthread_attr_setstacksize innocuous_pthread_attr_setstacksize
39164 /* System header to define __stub macros and hopefully few prototypes,
39165 which can conflict with char pthread_attr_setstacksize (); below.
39166 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39167 <limits.h> exists even on freestanding compilers. */
39170 # include <limits.h>
39172 # include <assert.h>
39175 #undef pthread_attr_setstacksize
39177 /* Override any GCC internal prototype to avoid an error.
39178 Use char because int might match the return type of a GCC
39179 builtin and then its argument prototype would still apply. */
39183 char pthread_attr_setstacksize ();
39184 /* The GNU C library defines this for functions which it implements
39185 to always fail with ENOSYS. Some functions are actually named
39186 something starting with __ and the normal name is an alias. */
39187 #if defined __stub_pthread_attr_setstacksize || defined __stub___pthread_attr_setstacksize
39194 return pthread_attr_setstacksize ();
39199 rm -f conftest.$ac_objext conftest$ac_exeext
39200 if { (ac_try="$ac_link"
39201 case "(($ac_try" in
39202 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
39203 *) ac_try_echo
=$ac_try;;
39205 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39206 (eval "$ac_link") 2>conftest.er1
39208 grep -v '^ *+' conftest.er1
>conftest.err
39210 cat conftest.err
>&5
39211 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39212 (exit $ac_status); } && {
39213 test -z "$ac_c_werror_flag" ||
39214 test ! -s conftest.err
39215 } && test -s conftest
$ac_exeext &&
39216 $as_test_x conftest
$ac_exeext; then
39217 ac_cv_func_pthread_attr_setstacksize
=yes
39219 echo "$as_me: failed program was:" >&5
39220 sed 's/^/| /' conftest.
$ac_ext >&5
39222 ac_cv_func_pthread_attr_setstacksize
=no
39225 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
39226 conftest
$ac_exeext conftest.
$ac_ext
39228 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setstacksize" >&5
39229 echo "${ECHO_T}$ac_cv_func_pthread_attr_setstacksize" >&6; }
39230 if test $ac_cv_func_pthread_attr_setstacksize = yes; then
39231 cat >>confdefs.h
<<\_ACEOF
39232 #define HAVE_PTHREAD_ATTR_SETSTACKSIZE 1
39239 { echo "$as_me:$LINENO: checking for pthread_mutexattr_t" >&5
39240 echo $ECHO_N "checking for pthread_mutexattr_t... $ECHO_C" >&6; }
39241 if test "${wx_cv_type_pthread_mutexattr_t+set}" = set; then
39242 echo $ECHO_N "(cached) $ECHO_C" >&6
39245 cat >conftest.
$ac_ext <<_ACEOF
39248 cat confdefs.h
>>conftest.
$ac_ext
39249 cat >>conftest.
$ac_ext <<_ACEOF
39250 /* end confdefs.h. */
39251 #include <pthread.h>
39256 pthread_mutexattr_t attr;
39257 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
39263 rm -f conftest.
$ac_objext
39264 if { (ac_try
="$ac_compile"
39265 case "(($ac_try" in
39266 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
39267 *) ac_try_echo=$ac_try;;
39269 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39270 (eval "$ac_compile") 2>conftest.er1
39272 grep -v '^ *+' conftest.er1 >conftest.err
39274 cat conftest.err >&5
39275 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39276 (exit $ac_status); } && {
39277 test -z "$ac_c_werror_flag" ||
39278 test ! -s conftest.err
39279 } && test -s conftest.$ac_objext; then
39280 wx_cv_type_pthread_mutexattr_t=yes
39282 echo "$as_me: failed program was:" >&5
39283 sed 's/^/| /' conftest.$ac_ext >&5
39285 wx_cv_type_pthread_mutexattr_t=no
39289 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39292 { echo "$as_me:$LINENO: result: $wx_cv_type_pthread_mutexattr_t" >&5
39293 echo "${ECHO_T}$wx_cv_type_pthread_mutexattr_t" >&6; }
39295 if test "$wx_cv_type_pthread_mutexattr_t" = "yes"; then
39296 cat >>confdefs.h <<\_ACEOF
39297 #define HAVE_PTHREAD_MUTEXATTR_T 1
39301 { echo "$as_me:$LINENO: checking for pthread_mutexattr_settype declaration" >&5
39302 echo $ECHO_N "checking for pthread_mutexattr_settype declaration... $ECHO_C" >&6; }
39303 if test "${wx_cv_func_pthread_mutexattr_settype_decl+set}" = set; then
39304 echo $ECHO_N "(cached) $ECHO_C" >&6
39307 cat >conftest.$ac_ext <<_ACEOF
39310 cat confdefs.h >>conftest.$ac_ext
39311 cat >>conftest.$ac_ext <<_ACEOF
39312 /* end confdefs.h. */
39313 #include <pthread.h>
39318 pthread_mutexattr_t attr;
39319 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
39325 rm -f conftest.$ac_objext
39326 if { (ac_try="$ac_compile"
39327 case "(($ac_try" in
39328 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
39329 *) ac_try_echo
=$ac_try;;
39331 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39332 (eval "$ac_compile") 2>conftest.er1
39334 grep -v '^ *+' conftest.er1
>conftest.err
39336 cat conftest.err
>&5
39337 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39338 (exit $ac_status); } && {
39339 test -z "$ac_c_werror_flag" ||
39340 test ! -s conftest.err
39341 } && test -s conftest.
$ac_objext; then
39342 wx_cv_func_pthread_mutexattr_settype_decl
=yes
39344 echo "$as_me: failed program was:" >&5
39345 sed 's/^/| /' conftest.
$ac_ext >&5
39347 wx_cv_func_pthread_mutexattr_settype_decl
=no
39351 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
39354 { echo "$as_me:$LINENO: result: $wx_cv_func_pthread_mutexattr_settype_decl" >&5
39355 echo "${ECHO_T}$wx_cv_func_pthread_mutexattr_settype_decl" >&6; }
39356 if test "$wx_cv_func_pthread_mutexattr_settype_decl" = "yes"; then
39357 cat >>confdefs.h
<<\_ACEOF
39358 #define HAVE_PTHREAD_MUTEXATTR_SETTYPE_DECL 1
39363 { echo "$as_me:$LINENO: checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER" >&5
39364 echo $ECHO_N "checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER... $ECHO_C" >&6; }
39365 if test "${wx_cv_type_pthread_rec_mutex_init+set}" = set; then
39366 echo $ECHO_N "(cached) $ECHO_C" >&6
39369 cat >conftest.
$ac_ext <<_ACEOF
39372 cat confdefs.h
>>conftest.
$ac_ext
39373 cat >>conftest.
$ac_ext <<_ACEOF
39374 /* end confdefs.h. */
39375 #include <pthread.h>
39380 pthread_mutex_t attr = PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP;
39386 rm -f conftest.
$ac_objext
39387 if { (ac_try
="$ac_compile"
39388 case "(($ac_try" in
39389 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
39390 *) ac_try_echo=$ac_try;;
39392 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39393 (eval "$ac_compile") 2>conftest.er1
39395 grep -v '^ *+' conftest.er1 >conftest.err
39397 cat conftest.err >&5
39398 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39399 (exit $ac_status); } && {
39400 test -z "$ac_c_werror_flag" ||
39401 test ! -s conftest.err
39402 } && test -s conftest.$ac_objext; then
39404 wx_cv_type_pthread_rec_mutex_init=yes
39407 echo "$as_me: failed program was:" >&5
39408 sed 's/^/| /' conftest.$ac_ext >&5
39411 wx_cv_type_pthread_rec_mutex_init=no
39416 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39419 { echo "$as_me:$LINENO: result: $wx_cv_type_pthread_rec_mutex_init" >&5
39420 echo "${ECHO_T}$wx_cv_type_pthread_rec_mutex_init" >&6; }
39421 if test "$wx_cv_type_pthread_rec_mutex_init" = "yes"; then
39422 cat >>confdefs.h <<\_ACEOF
39423 #define HAVE_PTHREAD_RECURSIVE_MUTEX_INITIALIZER 1
39427 { echo "$as_me:$LINENO: WARNING: wxMutex won't be recursive on this platform" >&5
39428 echo "$as_me: WARNING: wxMutex won't be recursive on this platform" >&2;}
39434 if test "$wxUSE_THREADS" = "yes" ; then
39437 { echo "$as_me:$LINENO: checking if compiler supports -mthreads" >&5
39438 echo $ECHO_N "checking if compiler supports -mthreads... $ECHO_C" >&6; }
39439 if test "${wx_cv_cflags_mthread+set}" = set; then
39440 echo $ECHO_N "(cached) $ECHO_C" >&6
39443 CFLAGS_OLD="$CFLAGS"
39444 CFLAGS="-mthreads $CFLAGS"
39445 cat >conftest.$ac_ext <<_ACEOF
39448 cat confdefs.h >>conftest.$ac_ext
39449 cat >>conftest.$ac_ext <<_ACEOF
39450 /* end confdefs.h. */
39460 rm -f conftest.$ac_objext
39461 if { (ac_try="$ac_compile"
39462 case "(($ac_try" in
39463 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
39464 *) ac_try_echo
=$ac_try;;
39466 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39467 (eval "$ac_compile") 2>conftest.er1
39469 grep -v '^ *+' conftest.er1
>conftest.err
39471 cat conftest.err
>&5
39472 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39473 (exit $ac_status); } && {
39474 test -z "$ac_c_werror_flag" ||
39475 test ! -s conftest.err
39476 } && test -s conftest.
$ac_objext; then
39477 wx_cv_cflags_mthread
=yes
39479 echo "$as_me: failed program was:" >&5
39480 sed 's/^/| /' conftest.
$ac_ext >&5
39482 wx_cv_cflags_mthread
=no
39486 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
39490 { echo "$as_me:$LINENO: result: $wx_cv_cflags_mthread" >&5
39491 echo "${ECHO_T}$wx_cv_cflags_mthread" >&6; }
39493 if test "$wx_cv_cflags_mthread" = "yes"; then
39494 WXCONFIG_CFLAGS
="$WXCONFIG_CFLAGS -mthreads"
39495 LDFLAGS
="$LDFLAGS -mthreads"
39497 CFLAGS
="$CFLAGS_OLD"
39501 WXCONFIG_CFLAGS
="$WXCONFIG_CFLAGS -Zmt -D__ST_MT_ERRNO__"
39502 LDFLAGS
="$LDFLAGS -Zmt"
39508 { echo "$as_me:$LINENO: checking for localtime_r" >&5
39509 echo $ECHO_N "checking for localtime_r... $ECHO_C" >&6; }
39510 if test "${ac_cv_func_localtime_r+set}" = set; then
39511 echo $ECHO_N "(cached) $ECHO_C" >&6
39513 cat >conftest.
$ac_ext <<_ACEOF
39516 cat confdefs.h
>>conftest.
$ac_ext
39517 cat >>conftest.
$ac_ext <<_ACEOF
39518 /* end confdefs.h. */
39519 /* Define localtime_r to an innocuous variant, in case <limits.h> declares localtime_r.
39520 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39521 #define localtime_r innocuous_localtime_r
39523 /* System header to define __stub macros and hopefully few prototypes,
39524 which can conflict with char localtime_r (); below.
39525 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39526 <limits.h> exists even on freestanding compilers. */
39529 # include <limits.h>
39531 # include <assert.h>
39536 /* Override any GCC internal prototype to avoid an error.
39537 Use char because int might match the return type of a GCC
39538 builtin and then its argument prototype would still apply. */
39542 char localtime_r ();
39543 /* The GNU C library defines this for functions which it implements
39544 to always fail with ENOSYS. Some functions are actually named
39545 something starting with __ and the normal name is an alias. */
39546 #if defined __stub_localtime_r || defined __stub___localtime_r
39553 return localtime_r ();
39558 rm -f conftest.
$ac_objext conftest
$ac_exeext
39559 if { (ac_try
="$ac_link"
39560 case "(($ac_try" in
39561 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
39562 *) ac_try_echo=$ac_try;;
39564 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39565 (eval "$ac_link") 2>conftest.er1
39567 grep -v '^ *+' conftest.er1 >conftest.err
39569 cat conftest.err >&5
39570 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39571 (exit $ac_status); } && {
39572 test -z "$ac_c_werror_flag" ||
39573 test ! -s conftest.err
39574 } && test -s conftest$ac_exeext &&
39575 $as_test_x conftest$ac_exeext; then
39576 ac_cv_func_localtime_r=yes
39578 echo "$as_me: failed program was:" >&5
39579 sed 's/^/| /' conftest.$ac_ext >&5
39581 ac_cv_func_localtime_r=no
39584 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39585 conftest$ac_exeext conftest.$ac_ext
39587 { echo "$as_me:$LINENO: result: $ac_cv_func_localtime_r" >&5
39588 echo "${ECHO_T}$ac_cv_func_localtime_r" >&6; }
39589 if test $ac_cv_func_localtime_r = yes; then
39590 cat >>confdefs.h <<\_ACEOF
39591 #define HAVE_LOCALTIME_R 1
39596 { echo "$as_me:$LINENO: checking for gmtime_r" >&5
39597 echo $ECHO_N "checking for gmtime_r... $ECHO_C" >&6; }
39598 if test "${ac_cv_func_gmtime_r+set}" = set; then
39599 echo $ECHO_N "(cached) $ECHO_C" >&6
39601 cat >conftest.$ac_ext <<_ACEOF
39604 cat confdefs.h >>conftest.$ac_ext
39605 cat >>conftest.$ac_ext <<_ACEOF
39606 /* end confdefs.h. */
39607 /* Define gmtime_r to an innocuous variant, in case <limits.h> declares gmtime_r.
39608 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39609 #define gmtime_r innocuous_gmtime_r
39611 /* System header to define __stub macros and hopefully few prototypes,
39612 which can conflict with char gmtime_r (); below.
39613 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39614 <limits.h> exists even on freestanding compilers. */
39617 # include <limits.h>
39619 # include <assert.h>
39624 /* Override any GCC internal prototype to avoid an error.
39625 Use char because int might match the return type of a GCC
39626 builtin and then its argument prototype would still apply. */
39631 /* The GNU C library defines this for functions which it implements
39632 to always fail with ENOSYS. Some functions are actually named
39633 something starting with __ and the normal name is an alias. */
39634 #if defined __stub_gmtime_r || defined __stub___gmtime_r
39641 return gmtime_r ();
39646 rm -f conftest.$ac_objext conftest$ac_exeext
39647 if { (ac_try="$ac_link"
39648 case "(($ac_try" in
39649 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
39650 *) ac_try_echo
=$ac_try;;
39652 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39653 (eval "$ac_link") 2>conftest.er1
39655 grep -v '^ *+' conftest.er1
>conftest.err
39657 cat conftest.err
>&5
39658 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39659 (exit $ac_status); } && {
39660 test -z "$ac_c_werror_flag" ||
39661 test ! -s conftest.err
39662 } && test -s conftest
$ac_exeext &&
39663 $as_test_x conftest
$ac_exeext; then
39664 ac_cv_func_gmtime_r
=yes
39666 echo "$as_me: failed program was:" >&5
39667 sed 's/^/| /' conftest.
$ac_ext >&5
39669 ac_cv_func_gmtime_r
=no
39672 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
39673 conftest
$ac_exeext conftest.
$ac_ext
39675 { echo "$as_me:$LINENO: result: $ac_cv_func_gmtime_r" >&5
39676 echo "${ECHO_T}$ac_cv_func_gmtime_r" >&6; }
39677 if test $ac_cv_func_gmtime_r = yes; then
39678 cat >>confdefs.h
<<\_ACEOF
39679 #define HAVE_GMTIME_R 1
39684 { echo "$as_me:$LINENO: checking for readdir_r" >&5
39685 echo $ECHO_N "checking for readdir_r... $ECHO_C" >&6; }
39686 if test "${ac_cv_func_readdir_r+set}" = set; then
39687 echo $ECHO_N "(cached) $ECHO_C" >&6
39689 cat >conftest.
$ac_ext <<_ACEOF
39692 cat confdefs.h
>>conftest.
$ac_ext
39693 cat >>conftest.
$ac_ext <<_ACEOF
39694 /* end confdefs.h. */
39695 /* Define readdir_r to an innocuous variant, in case <limits.h> declares readdir_r.
39696 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39697 #define readdir_r innocuous_readdir_r
39699 /* System header to define __stub macros and hopefully few prototypes,
39700 which can conflict with char readdir_r (); below.
39701 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39702 <limits.h> exists even on freestanding compilers. */
39705 # include <limits.h>
39707 # include <assert.h>
39712 /* Override any GCC internal prototype to avoid an error.
39713 Use char because int might match the return type of a GCC
39714 builtin and then its argument prototype would still apply. */
39719 /* The GNU C library defines this for functions which it implements
39720 to always fail with ENOSYS. Some functions are actually named
39721 something starting with __ and the normal name is an alias. */
39722 #if defined __stub_readdir_r || defined __stub___readdir_r
39729 return readdir_r ();
39734 rm -f conftest.
$ac_objext conftest
$ac_exeext
39735 if { (ac_try
="$ac_link"
39736 case "(($ac_try" in
39737 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
39738 *) ac_try_echo=$ac_try;;
39740 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39741 (eval "$ac_link") 2>conftest.er1
39743 grep -v '^ *+' conftest.er1 >conftest.err
39745 cat conftest.err >&5
39746 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39747 (exit $ac_status); } && {
39748 test -z "$ac_c_werror_flag" ||
39749 test ! -s conftest.err
39750 } && test -s conftest$ac_exeext &&
39751 $as_test_x conftest$ac_exeext; then
39752 ac_cv_func_readdir_r=yes
39754 echo "$as_me: failed program was:" >&5
39755 sed 's/^/| /' conftest.$ac_ext >&5
39757 ac_cv_func_readdir_r=no
39760 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39761 conftest$ac_exeext conftest.$ac_ext
39763 { echo "$as_me:$LINENO: result: $ac_cv_func_readdir_r" >&5
39764 echo "${ECHO_T}$ac_cv_func_readdir_r" >&6; }
39765 if test $ac_cv_func_readdir_r = yes; then
39766 cat >>confdefs.h <<\_ACEOF
39767 #define HAVE_READDIR_R 1
39776 ac_cpp='$CPP $CPPFLAGS'
39777 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39778 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39779 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39781 { echo "$as_me:$LINENO: checking how many arguments gethostbyname_r() takes" >&5
39782 echo $ECHO_N "checking how many arguments gethostbyname_r() takes... $ECHO_C" >&6; }
39784 if test "${ac_cv_func_which_gethostbyname_r+set}" = set; then
39785 echo $ECHO_N "(cached) $ECHO_C" >&6
39789 ################################################################
39791 ac_cv_func_which_gethostbyname_r=unknown
39794 # ONE ARGUMENT (sanity check)
39797 # This should fail, as there is no variant of gethostbyname_r() that takes
39798 # a single argument. If it actually compiles, then we can assume that
39799 # netdb.h is not declaring the function, and the compiler is thereby
39800 # assuming an implicit prototype. In which case, we're out of luck.
39802 cat >conftest.$ac_ext <<_ACEOF
39805 cat confdefs.h >>conftest.$ac_ext
39806 cat >>conftest.$ac_ext <<_ACEOF
39807 /* end confdefs.h. */
39813 char *name = "www.gnu.org";
39814 (void)gethostbyname_r(name) /* ; */
39820 rm -f conftest.$ac_objext
39821 if { (ac_try="$ac_compile"
39822 case "(($ac_try" in
39823 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
39824 *) ac_try_echo
=$ac_try;;
39826 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39827 (eval "$ac_compile") 2>conftest.er1
39829 grep -v '^ *+' conftest.er1
>conftest.err
39831 cat conftest.err
>&5
39832 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39833 (exit $ac_status); } && {
39834 test -z "$ac_c_werror_flag" ||
39835 test ! -s conftest.err
39836 } && test -s conftest.
$ac_objext; then
39837 ac_cv_func_which_gethostbyname_r
=no
39839 echo "$as_me: failed program was:" >&5
39840 sed 's/^/| /' conftest.
$ac_ext >&5
39845 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
39852 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
39854 cat >conftest.
$ac_ext <<_ACEOF
39857 cat confdefs.h
>>conftest.
$ac_ext
39858 cat >>conftest.
$ac_ext <<_ACEOF
39859 /* end confdefs.h. */
39865 char *name = "www.gnu.org";
39866 struct hostent ret, *retp;
39870 (void)gethostbyname_r(name, &ret, buf, buflen, &retp, &my_h_errno) /* ; */
39876 rm -f conftest.
$ac_objext
39877 if { (ac_try
="$ac_compile"
39878 case "(($ac_try" in
39879 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
39880 *) ac_try_echo=$ac_try;;
39882 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39883 (eval "$ac_compile") 2>conftest.er1
39885 grep -v '^ *+' conftest.er1 >conftest.err
39887 cat conftest.err >&5
39888 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39889 (exit $ac_status); } && {
39890 test -z "$ac_c_werror_flag" ||
39891 test ! -s conftest.err
39892 } && test -s conftest.$ac_objext; then
39893 ac_cv_func_which_gethostbyname_r=six
39895 echo "$as_me: failed program was:" >&5
39896 sed 's/^/| /' conftest.$ac_ext >&5
39901 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39910 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
39912 cat >conftest.$ac_ext <<_ACEOF
39915 cat confdefs.h >>conftest.$ac_ext
39916 cat >>conftest.$ac_ext <<_ACEOF
39917 /* end confdefs.h. */
39923 char *name = "www.gnu.org";
39924 struct hostent ret;
39928 (void)gethostbyname_r(name, &ret, buf, buflen, &my_h_errno) /* ; */
39934 rm -f conftest.$ac_objext
39935 if { (ac_try="$ac_compile"
39936 case "(($ac_try" in
39937 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
39938 *) ac_try_echo
=$ac_try;;
39940 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39941 (eval "$ac_compile") 2>conftest.er1
39943 grep -v '^ *+' conftest.er1
>conftest.err
39945 cat conftest.err
>&5
39946 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39947 (exit $ac_status); } && {
39948 test -z "$ac_c_werror_flag" ||
39949 test ! -s conftest.err
39950 } && test -s conftest.
$ac_objext; then
39951 ac_cv_func_which_gethostbyname_r
=five
39953 echo "$as_me: failed program was:" >&5
39954 sed 's/^/| /' conftest.
$ac_ext >&5
39959 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
39965 # (e.g. AIX, HP-UX, Tru64)
39968 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
39970 cat >conftest.
$ac_ext <<_ACEOF
39973 cat confdefs.h
>>conftest.
$ac_ext
39974 cat >>conftest.
$ac_ext <<_ACEOF
39975 /* end confdefs.h. */
39981 char *name = "www.gnu.org";
39982 struct hostent ret;
39983 struct hostent_data data;
39984 (void)gethostbyname_r(name, &ret, &data) /* ; */
39990 rm -f conftest.
$ac_objext
39991 if { (ac_try
="$ac_compile"
39992 case "(($ac_try" in
39993 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
39994 *) ac_try_echo=$ac_try;;
39996 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39997 (eval "$ac_compile") 2>conftest.er1
39999 grep -v '^ *+' conftest.er1 >conftest.err
40001 cat conftest.err >&5
40002 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40003 (exit $ac_status); } && {
40004 test -z "$ac_c_werror_flag" ||
40005 test ! -s conftest.err
40006 } && test -s conftest.$ac_objext; then
40007 ac_cv_func_which_gethostbyname_r=three
40009 echo "$as_me: failed program was:" >&5
40010 sed 's/^/| /' conftest.$ac_ext >&5
40015 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40019 ################################################################
40024 case "$ac_cv_func_which_gethostbyname_r" in
40026 { echo "$as_me:$LINENO: result: three" >&5
40027 echo "${ECHO_T}three" >&6; }
40028 cat >>confdefs.h <<\_ACEOF
40029 #define HAVE_FUNC_GETHOSTBYNAME_R_3 1
40035 { echo "$as_me:$LINENO: result: five" >&5
40036 echo "${ECHO_T}five" >&6; }
40037 cat >>confdefs.h <<\_ACEOF
40038 #define HAVE_FUNC_GETHOSTBYNAME_R_5 1
40044 { echo "$as_me:$LINENO: result: six" >&5
40045 echo "${ECHO_T}six" >&6; }
40046 cat >>confdefs.h <<\_ACEOF
40047 #define HAVE_FUNC_GETHOSTBYNAME_R_6 1
40053 { echo "$as_me:$LINENO: result: cannot find function declaration in netdb.h" >&5
40054 echo "${ECHO_T}cannot find function declaration in netdb.h" >&6; }
40058 { echo "$as_me:$LINENO: result: can't tell" >&5
40059 echo "${ECHO_T}can't tell" >&6; }
40063 { { echo "$as_me:$LINENO: error: internal error" >&5
40064 echo "$as_me: error: internal error" >&2;}
40065 { (exit 1); exit 1; }; }
40070 ac_cpp='$CPP $CPPFLAGS'
40071 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40072 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40073 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40077 if test "x$ac_cv_func_which_gethostbyname_r" = "xno" -o \
40078 "x$ac_cv_func_which_gethostbyname_r" = "xunknown" ; then
40079 { echo "$as_me:$LINENO: checking for gethostbyname" >&5
40080 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6; }
40081 if test "${ac_cv_func_gethostbyname+set}" = set; then
40082 echo $ECHO_N "(cached) $ECHO_C" >&6
40084 cat >conftest.$ac_ext <<_ACEOF
40087 cat confdefs.h >>conftest.$ac_ext
40088 cat >>conftest.$ac_ext <<_ACEOF
40089 /* end confdefs.h. */
40090 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
40091 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40092 #define gethostbyname innocuous_gethostbyname
40094 /* System header to define __stub macros and hopefully few prototypes,
40095 which can conflict with char gethostbyname (); below.
40096 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40097 <limits.h> exists even on freestanding compilers. */
40100 # include <limits.h>
40102 # include <assert.h>
40105 #undef gethostbyname
40107 /* Override any GCC internal prototype to avoid an error.
40108 Use char because int might match the return type of a GCC
40109 builtin and then its argument prototype would still apply. */
40113 char gethostbyname ();
40114 /* The GNU C library defines this for functions which it implements
40115 to always fail with ENOSYS. Some functions are actually named
40116 something starting with __ and the normal name is an alias. */
40117 #if defined __stub_gethostbyname || defined __stub___gethostbyname
40124 return gethostbyname ();
40129 rm -f conftest.$ac_objext conftest$ac_exeext
40130 if { (ac_try="$ac_link"
40131 case "(($ac_try" in
40132 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
40133 *) ac_try_echo
=$ac_try;;
40135 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40136 (eval "$ac_link") 2>conftest.er1
40138 grep -v '^ *+' conftest.er1
>conftest.err
40140 cat conftest.err
>&5
40141 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40142 (exit $ac_status); } && {
40143 test -z "$ac_c_werror_flag" ||
40144 test ! -s conftest.err
40145 } && test -s conftest
$ac_exeext &&
40146 $as_test_x conftest
$ac_exeext; then
40147 ac_cv_func_gethostbyname
=yes
40149 echo "$as_me: failed program was:" >&5
40150 sed 's/^/| /' conftest.
$ac_ext >&5
40152 ac_cv_func_gethostbyname
=no
40155 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
40156 conftest
$ac_exeext conftest.
$ac_ext
40158 { echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
40159 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6; }
40160 if test $ac_cv_func_gethostbyname = yes; then
40161 cat >>confdefs.h
<<\_ACEOF
40162 #define HAVE_GETHOSTBYNAME 1
40169 { echo "$as_me:$LINENO: checking how many arguments getservbyname_r() takes" >&5
40170 echo $ECHO_N "checking how many arguments getservbyname_r() takes... $ECHO_C" >&6; }
40171 if test "${ac_cv_func_which_getservbyname_r+set}" = set; then
40172 echo $ECHO_N "(cached) $ECHO_C" >&6
40176 ac_cpp
='$CXXCPP $CPPFLAGS'
40177 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40178 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40179 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
40182 cat >conftest.
$ac_ext <<_ACEOF
40185 cat confdefs.h
>>conftest.
$ac_ext
40186 cat >>conftest.
$ac_ext <<_ACEOF
40187 /* end confdefs.h. */
40195 struct servent *se, *res;
40198 (void) getservbyname_r(name, proto, se, buffer, buflen, &res)
40204 rm -f conftest.
$ac_objext
40205 if { (ac_try
="$ac_compile"
40206 case "(($ac_try" in
40207 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
40208 *) ac_try_echo=$ac_try;;
40210 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40211 (eval "$ac_compile") 2>conftest.er1
40213 grep -v '^ *+' conftest.er1 >conftest.err
40215 cat conftest.err >&5
40216 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40217 (exit $ac_status); } && {
40218 test -z "$ac_cxx_werror_flag" ||
40219 test ! -s conftest.err
40220 } && test -s conftest.$ac_objext; then
40221 ac_cv_func_which_getservbyname_r=six
40223 echo "$as_me: failed program was:" >&5
40224 sed 's/^/| /' conftest.$ac_ext >&5
40227 cat >conftest.$ac_ext <<_ACEOF
40230 cat confdefs.h >>conftest.$ac_ext
40231 cat >>conftest.$ac_ext <<_ACEOF
40232 /* end confdefs.h. */
40240 struct servent *se;
40243 (void) getservbyname_r(name, proto, se, buffer, buflen)
40249 rm -f conftest.$ac_objext
40250 if { (ac_try="$ac_compile"
40251 case "(($ac_try" in
40252 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
40253 *) ac_try_echo
=$ac_try;;
40255 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40256 (eval "$ac_compile") 2>conftest.er1
40258 grep -v '^ *+' conftest.er1
>conftest.err
40260 cat conftest.err
>&5
40261 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40262 (exit $ac_status); } && {
40263 test -z "$ac_cxx_werror_flag" ||
40264 test ! -s conftest.err
40265 } && test -s conftest.
$ac_objext; then
40266 ac_cv_func_which_getservbyname_r
=five
40268 echo "$as_me: failed program was:" >&5
40269 sed 's/^/| /' conftest.
$ac_ext >&5
40272 cat >conftest.
$ac_ext <<_ACEOF
40275 cat confdefs.h
>>conftest.
$ac_ext
40276 cat >>conftest.
$ac_ext <<_ACEOF
40277 /* end confdefs.h. */
40285 struct servent *se;
40286 struct servent_data data;
40287 (void) getservbyname_r(name, proto, se, &data);
40293 rm -f conftest.
$ac_objext
40294 if { (ac_try
="$ac_compile"
40295 case "(($ac_try" in
40296 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
40297 *) ac_try_echo=$ac_try;;
40299 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40300 (eval "$ac_compile") 2>conftest.er1
40302 grep -v '^ *+' conftest.er1 >conftest.err
40304 cat conftest.err >&5
40305 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40306 (exit $ac_status); } && {
40307 test -z "$ac_cxx_werror_flag" ||
40308 test ! -s conftest.err
40309 } && test -s conftest.$ac_objext; then
40310 ac_cv_func_which_getservbyname_r=four
40312 echo "$as_me: failed program was:" >&5
40313 sed 's/^/| /' conftest.$ac_ext >&5
40315 ac_cv_func_which_getservbyname_r=no
40319 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40324 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40329 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40331 ac_cpp='$CPP $CPPFLAGS'
40332 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40333 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40334 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40339 { echo "$as_me:$LINENO: result: $ac_cv_func_which_getservbyname_r" >&5
40340 echo "${ECHO_T}$ac_cv_func_which_getservbyname_r" >&6; }
40342 if test $ac_cv_func_which_getservbyname_r = six; then
40343 cat >>confdefs.h <<\_ACEOF
40344 #define HAVE_FUNC_GETSERVBYNAME_R_6 1
40347 elif test $ac_cv_func_which_getservbyname_r = five; then
40348 cat >>confdefs.h <<\_ACEOF
40349 #define HAVE_FUNC_GETSERVBYNAME_R_5 1
40352 elif test $ac_cv_func_which_getservbyname_r = four; then
40353 cat >>confdefs.h <<\_ACEOF
40354 #define HAVE_FUNC_GETSERVBYNAME_R_4 1
40360 if test "x$ac_cv_func_which_getservbyname_r" = "xno" -o \
40361 "x$ac_cv_func_which_getservbyname_r" = "xunknown" ; then
40363 for ac_func in getservbyname
40365 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40366 { echo "$as_me:$LINENO: checking for $ac_func" >&5
40367 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
40368 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
40369 echo $ECHO_N "(cached) $ECHO_C" >&6
40371 cat >conftest.$ac_ext <<_ACEOF
40374 cat confdefs.h >>conftest.$ac_ext
40375 cat >>conftest.$ac_ext <<_ACEOF
40376 /* end confdefs.h. */
40377 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40378 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40379 #define $ac_func innocuous_$ac_func
40381 /* System header to define __stub macros and hopefully few prototypes,
40382 which can conflict with char $ac_func (); below.
40383 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40384 <limits.h> exists even on freestanding compilers. */
40387 # include <limits.h>
40389 # include <assert.h>
40394 /* Override any GCC internal prototype to avoid an error.
40395 Use char because int might match the return type of a GCC
40396 builtin and then its argument prototype would still apply. */
40401 /* The GNU C library defines this for functions which it implements
40402 to always fail with ENOSYS. Some functions are actually named
40403 something starting with __ and the normal name is an alias. */
40404 #if defined __stub_$ac_func || defined __stub___$ac_func
40411 return $ac_func ();
40416 rm -f conftest.$ac_objext conftest$ac_exeext
40417 if { (ac_try="$ac_link"
40418 case "(($ac_try" in
40419 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
40420 *) ac_try_echo
=$ac_try;;
40422 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40423 (eval "$ac_link") 2>conftest.er1
40425 grep -v '^ *+' conftest.er1
>conftest.err
40427 cat conftest.err
>&5
40428 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40429 (exit $ac_status); } && {
40430 test -z "$ac_c_werror_flag" ||
40431 test ! -s conftest.err
40432 } && test -s conftest
$ac_exeext &&
40433 $as_test_x conftest
$ac_exeext; then
40434 eval "$as_ac_var=yes"
40436 echo "$as_me: failed program was:" >&5
40437 sed 's/^/| /' conftest.
$ac_ext >&5
40439 eval "$as_ac_var=no"
40442 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
40443 conftest
$ac_exeext conftest.
$ac_ext
40445 ac_res
=`eval echo '${'$as_ac_var'}'`
40446 { echo "$as_me:$LINENO: result: $ac_res" >&5
40447 echo "${ECHO_T}$ac_res" >&6; }
40448 if test `eval echo '${'$as_ac_var'}'` = yes; then
40449 cat >>confdefs.h
<<_ACEOF
40450 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40452 cat >>confdefs.h
<<\_ACEOF
40453 #define HAVE_GETSERVBYNAME 1
40461 if test "$wxUSE_THREADS" = "yes"; then
40462 cat >>confdefs.h
<<\_ACEOF
40463 #define wxUSE_THREADS 1
40467 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS thread"
40469 if test "$wx_cv_func_strtok_r" = "yes"; then
40470 { echo "$as_me:$LINENO: checking if -D_REENTRANT is needed" >&5
40471 echo $ECHO_N "checking if -D_REENTRANT is needed... $ECHO_C" >&6; }
40472 if test "$NEEDS_D_REENTRANT_FOR_R_FUNCS" = 1; then
40473 WXCONFIG_CPPFLAGS
="$WXCONFIG_CPPFLAGS -D_REENTRANT"
40474 { echo "$as_me:$LINENO: result: yes" >&5
40475 echo "${ECHO_T}yes" >&6; }
40477 { echo "$as_me:$LINENO: result: no" >&5
40478 echo "${ECHO_T}no" >&6; }
40483 if test "$WXGTK20" = 1 ; then
40484 cat >>confdefs.h
<<_ACEOF
40485 #define __WXGTK20__ $WXGTK20
40491 if test "$WXGTK12" = 1 ; then
40492 cat >>confdefs.h
<<_ACEOF
40493 #define __WXGTK12__ $WXGTK12
40498 if test "$WXGTK127" = 1 ; then
40499 cat >>confdefs.h
<<_ACEOF
40500 #define __WXGTK127__ $WXGTK127
40505 if test "$WXGPE" = 1 ; then
40506 cat >>confdefs.h
<<_ACEOF
40507 #define __WXGPE__ $WXGPE
40513 if test "$wxUSE_DEBUG_INFO" = "yes" ; then
40518 if test "$wxUSE_DEBUG_GDB" = "yes" ; then
40519 wxUSE_DEBUG_INFO
=yes
40520 if test "$GCC" = yes; then
40521 DEBUG_CFLAGS
="-ggdb"
40525 if test "$wxUSE_DEBUG_FLAG" = "yes" ; then
40526 cat >>confdefs.h
<<\_ACEOF
40530 WXCONFIG_CPPFLAGS
="$WXCONFIG_CPPFLAGS -D__WXDEBUG__"
40532 if test "$wxUSE_GTK" = 1 ; then
40533 if test "x$wxGTK_VERSION" = "x1" ; then
40534 CPPFLAGS
="-DGTK_NO_CHECK_CASTS $CPPFLAGS"
40539 if test "$wxUSE_MEM_TRACING" = "yes" ; then
40540 cat >>confdefs.h
<<\_ACEOF
40541 #define wxUSE_MEMORY_TRACING 1
40544 cat >>confdefs.h
<<\_ACEOF
40545 #define wxUSE_GLOBAL_MEMORY_OPERATORS 1
40548 cat >>confdefs.h
<<\_ACEOF
40549 #define wxUSE_DEBUG_NEW_ALWAYS 1
40552 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS memcheck"
40555 if test "$wxUSE_DMALLOC" = "yes" ; then
40556 DMALLOC_LIBS
="-ldmallocthcxx"
40560 if test "$wxUSE_PROFILE" = "yes" ; then
40561 PROFILE_FLAGS
=" -pg"
40564 if test "$GCC" = "yes" ; then
40565 if test "$wxUSE_NO_RTTI" = "yes" ; then
40566 WXCONFIG_CXXFLAGS
="$WXCONFIG_CXXFLAGS -fno-rtti"
40568 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
40569 WXCONFIG_CXXFLAGS
="$WXCONFIG_CXXFLAGS -fno-exceptions"
40571 if test "$wxUSE_PERMISSIVE" = "yes" ; then
40572 WXCONFIG_CFLAGS
="$WXCONFIG_CFLAGS -fpermissive"
40577 WXCONFIG_CFLAGS
="$WXCONFIG_CFLAGS -mminimal-toc"
40580 WXCONFIG_CFLAGS
="$WXCONFIG_CFLAGS -ffunction-sections"
40586 if test "$wxUSE_OPTIMISE" = "no" ; then
40587 if test "$GCC" = yes ; then
40588 OPTIMISE_CFLAGS
="-O0"
40591 if test "$GCC" = yes ; then
40593 *-pc-os2_emx | *-pc-os2-emx )
40594 OPTIMISE_CFLAGS
="-O2"
40597 OPTIMISE_CFLAGS
="-O2 -fno-strict-aliasing"
40601 OPTIMISE_CFLAGS
="-O"
40606 if test "x$WXWIN_COMPATIBILITY_2_6" = "xyes"; then
40607 cat >>confdefs.h
<<\_ACEOF
40608 #define WXWIN_COMPATIBILITY_2_6 1
40612 WXWIN_COMPATIBILITY_2_8
="yes"
40615 if test "x$WXWIN_COMPATIBILITY_2_8" != "xno"; then
40616 cat >>confdefs.h
<<\_ACEOF
40617 #define WXWIN_COMPATIBILITY_2_8 1
40623 if test "$wxUSE_GUI" = "yes"; then
40624 cat >>confdefs.h
<<\_ACEOF
40625 #define wxUSE_GUI 1
40632 if test "$wxUSE_UNIX" = "yes"; then
40633 cat >>confdefs.h
<<\_ACEOF
40634 #define wxUSE_UNIX 1
40640 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
40644 if test "$wxUSE_DYNAMIC_LOADER" = "yes" -o "$wxUSE_DYNLIB_CLASS" = "yes" ; then
40645 if test "$USE_DARWIN" = 1; then
40647 elif test "$USE_DOS" = 1; then
40651 for ac_func
in dlopen
40653 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40654 { echo "$as_me:$LINENO: checking for $ac_func" >&5
40655 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
40656 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
40657 echo $ECHO_N "(cached) $ECHO_C" >&6
40659 cat >conftest.
$ac_ext <<_ACEOF
40662 cat confdefs.h
>>conftest.
$ac_ext
40663 cat >>conftest.
$ac_ext <<_ACEOF
40664 /* end confdefs.h. */
40665 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40666 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40667 #define $ac_func innocuous_$ac_func
40669 /* System header to define __stub macros and hopefully few prototypes,
40670 which can conflict with char $ac_func (); below.
40671 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40672 <limits.h> exists even on freestanding compilers. */
40675 # include <limits.h>
40677 # include <assert.h>
40682 /* Override any GCC internal prototype to avoid an error.
40683 Use char because int might match the return type of a GCC
40684 builtin and then its argument prototype would still apply. */
40689 /* The GNU C library defines this for functions which it implements
40690 to always fail with ENOSYS. Some functions are actually named
40691 something starting with __ and the normal name is an alias. */
40692 #if defined __stub_$ac_func || defined __stub___$ac_func
40699 return $ac_func ();
40704 rm -f conftest.
$ac_objext conftest
$ac_exeext
40705 if { (ac_try
="$ac_link"
40706 case "(($ac_try" in
40707 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
40708 *) ac_try_echo=$ac_try;;
40710 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40711 (eval "$ac_link") 2>conftest.er1
40713 grep -v '^ *+' conftest.er1 >conftest.err
40715 cat conftest.err >&5
40716 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40717 (exit $ac_status); } && {
40718 test -z "$ac_c_werror_flag" ||
40719 test ! -s conftest.err
40720 } && test -s conftest$ac_exeext &&
40721 $as_test_x conftest$ac_exeext; then
40722 eval "$as_ac_var=yes"
40724 echo "$as_me: failed program was:" >&5
40725 sed 's/^/| /' conftest.$ac_ext >&5
40727 eval "$as_ac_var=no"
40730 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40731 conftest$ac_exeext conftest.$ac_ext
40733 ac_res=`eval echo '${'$as_ac_var'}'`
40734 { echo "$as_me:$LINENO: result: $ac_res" >&5
40735 echo "${ECHO_T}$ac_res" >&6; }
40736 if test `eval echo '${'$as_ac_var'}'` = yes; then
40737 cat >>confdefs.h <<_ACEOF
40738 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40741 cat >>confdefs.h <<\_ACEOF
40742 #define HAVE_DLOPEN 1
40749 { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
40750 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
40751 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
40752 echo $ECHO_N "(cached) $ECHO_C" >&6
40754 ac_check_lib_save_LIBS=$LIBS
40756 cat >conftest.$ac_ext <<_ACEOF
40759 cat confdefs.h >>conftest.$ac_ext
40760 cat >>conftest.$ac_ext <<_ACEOF
40761 /* end confdefs.h. */
40763 /* Override any GCC internal prototype to avoid an error.
40764 Use char because int might match the return type of a GCC
40765 builtin and then its argument prototype would still apply. */
40778 rm -f conftest.$ac_objext conftest$ac_exeext
40779 if { (ac_try="$ac_link"
40780 case "(($ac_try" in
40781 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
40782 *) ac_try_echo
=$ac_try;;
40784 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40785 (eval "$ac_link") 2>conftest.er1
40787 grep -v '^ *+' conftest.er1
>conftest.err
40789 cat conftest.err
>&5
40790 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40791 (exit $ac_status); } && {
40792 test -z "$ac_c_werror_flag" ||
40793 test ! -s conftest.err
40794 } && test -s conftest
$ac_exeext &&
40795 $as_test_x conftest
$ac_exeext; then
40796 ac_cv_lib_dl_dlopen
=yes
40798 echo "$as_me: failed program was:" >&5
40799 sed 's/^/| /' conftest.
$ac_ext >&5
40801 ac_cv_lib_dl_dlopen
=no
40804 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
40805 conftest
$ac_exeext conftest.
$ac_ext
40806 LIBS
=$ac_check_lib_save_LIBS
40808 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
40809 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
40810 if test $ac_cv_lib_dl_dlopen = yes; then
40812 cat >>confdefs.h
<<\_ACEOF
40813 #define HAVE_DLOPEN 1
40817 DL_LINK
=" -ldl$DL_LINK"
40822 for ac_func
in shl_load
40824 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40825 { echo "$as_me:$LINENO: checking for $ac_func" >&5
40826 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
40827 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
40828 echo $ECHO_N "(cached) $ECHO_C" >&6
40830 cat >conftest.
$ac_ext <<_ACEOF
40833 cat confdefs.h
>>conftest.
$ac_ext
40834 cat >>conftest.
$ac_ext <<_ACEOF
40835 /* end confdefs.h. */
40836 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40837 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40838 #define $ac_func innocuous_$ac_func
40840 /* System header to define __stub macros and hopefully few prototypes,
40841 which can conflict with char $ac_func (); below.
40842 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40843 <limits.h> exists even on freestanding compilers. */
40846 # include <limits.h>
40848 # include <assert.h>
40853 /* Override any GCC internal prototype to avoid an error.
40854 Use char because int might match the return type of a GCC
40855 builtin and then its argument prototype would still apply. */
40860 /* The GNU C library defines this for functions which it implements
40861 to always fail with ENOSYS. Some functions are actually named
40862 something starting with __ and the normal name is an alias. */
40863 #if defined __stub_$ac_func || defined __stub___$ac_func
40870 return $ac_func ();
40875 rm -f conftest.
$ac_objext conftest
$ac_exeext
40876 if { (ac_try
="$ac_link"
40877 case "(($ac_try" in
40878 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
40879 *) ac_try_echo=$ac_try;;
40881 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40882 (eval "$ac_link") 2>conftest.er1
40884 grep -v '^ *+' conftest.er1 >conftest.err
40886 cat conftest.err >&5
40887 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40888 (exit $ac_status); } && {
40889 test -z "$ac_c_werror_flag" ||
40890 test ! -s conftest.err
40891 } && test -s conftest$ac_exeext &&
40892 $as_test_x conftest$ac_exeext; then
40893 eval "$as_ac_var=yes"
40895 echo "$as_me: failed program was:" >&5
40896 sed 's/^/| /' conftest.$ac_ext >&5
40898 eval "$as_ac_var=no"
40901 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40902 conftest$ac_exeext conftest.$ac_ext
40904 ac_res=`eval echo '${'$as_ac_var'}'`
40905 { echo "$as_me:$LINENO: result: $ac_res" >&5
40906 echo "${ECHO_T}$ac_res" >&6; }
40907 if test `eval echo '${'$as_ac_var'}'` = yes; then
40908 cat >>confdefs.h <<_ACEOF
40909 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40912 cat >>confdefs.h <<\_ACEOF
40913 #define HAVE_SHL_LOAD 1
40920 { echo "$as_me:$LINENO: checking for dld in -lshl_load" >&5
40921 echo $ECHO_N "checking for dld in -lshl_load... $ECHO_C" >&6; }
40922 if test "${ac_cv_lib_shl_load_dld+set}" = set; then
40923 echo $ECHO_N "(cached) $ECHO_C" >&6
40925 ac_check_lib_save_LIBS=$LIBS
40926 LIBS="-lshl_load $LIBS"
40927 cat >conftest.$ac_ext <<_ACEOF
40930 cat confdefs.h >>conftest.$ac_ext
40931 cat >>conftest.$ac_ext <<_ACEOF
40932 /* end confdefs.h. */
40934 /* Override any GCC internal prototype to avoid an error.
40935 Use char because int might match the return type of a GCC
40936 builtin and then its argument prototype would still apply. */
40949 rm -f conftest.$ac_objext conftest$ac_exeext
40950 if { (ac_try="$ac_link"
40951 case "(($ac_try" in
40952 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
40953 *) ac_try_echo
=$ac_try;;
40955 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40956 (eval "$ac_link") 2>conftest.er1
40958 grep -v '^ *+' conftest.er1
>conftest.err
40960 cat conftest.err
>&5
40961 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40962 (exit $ac_status); } && {
40963 test -z "$ac_c_werror_flag" ||
40964 test ! -s conftest.err
40965 } && test -s conftest
$ac_exeext &&
40966 $as_test_x conftest
$ac_exeext; then
40967 ac_cv_lib_shl_load_dld
=yes
40969 echo "$as_me: failed program was:" >&5
40970 sed 's/^/| /' conftest.
$ac_ext >&5
40972 ac_cv_lib_shl_load_dld
=no
40975 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
40976 conftest
$ac_exeext conftest.
$ac_ext
40977 LIBS
=$ac_check_lib_save_LIBS
40979 { echo "$as_me:$LINENO: result: $ac_cv_lib_shl_load_dld" >&5
40980 echo "${ECHO_T}$ac_cv_lib_shl_load_dld" >&6; }
40981 if test $ac_cv_lib_shl_load_dld = yes; then
40984 DL_LINK
=" -ldld$DL_LINK"
41000 if test "$HAVE_DL_FUNCS" = 1; then
41002 for ac_func
in dlerror
41004 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41005 { echo "$as_me:$LINENO: checking for $ac_func" >&5
41006 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
41007 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
41008 echo $ECHO_N "(cached) $ECHO_C" >&6
41010 cat >conftest.
$ac_ext <<_ACEOF
41013 cat confdefs.h
>>conftest.
$ac_ext
41014 cat >>conftest.
$ac_ext <<_ACEOF
41015 /* end confdefs.h. */
41016 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41017 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41018 #define $ac_func innocuous_$ac_func
41020 /* System header to define __stub macros and hopefully few prototypes,
41021 which can conflict with char $ac_func (); below.
41022 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41023 <limits.h> exists even on freestanding compilers. */
41026 # include <limits.h>
41028 # include <assert.h>
41033 /* Override any GCC internal prototype to avoid an error.
41034 Use char because int might match the return type of a GCC
41035 builtin and then its argument prototype would still apply. */
41040 /* The GNU C library defines this for functions which it implements
41041 to always fail with ENOSYS. Some functions are actually named
41042 something starting with __ and the normal name is an alias. */
41043 #if defined __stub_$ac_func || defined __stub___$ac_func
41050 return $ac_func ();
41055 rm -f conftest.
$ac_objext conftest
$ac_exeext
41056 if { (ac_try
="$ac_link"
41057 case "(($ac_try" in
41058 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
41059 *) ac_try_echo=$ac_try;;
41061 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41062 (eval "$ac_link") 2>conftest.er1
41064 grep -v '^ *+' conftest.er1 >conftest.err
41066 cat conftest.err >&5
41067 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41068 (exit $ac_status); } && {
41069 test -z "$ac_c_werror_flag" ||
41070 test ! -s conftest.err
41071 } && test -s conftest$ac_exeext &&
41072 $as_test_x conftest$ac_exeext; then
41073 eval "$as_ac_var=yes"
41075 echo "$as_me: failed program was:" >&5
41076 sed 's/^/| /' conftest.$ac_ext >&5
41078 eval "$as_ac_var=no"
41081 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41082 conftest$ac_exeext conftest.$ac_ext
41084 ac_res=`eval echo '${'$as_ac_var'}'`
41085 { echo "$as_me:$LINENO: result: $ac_res" >&5
41086 echo "${ECHO_T}$ac_res" >&6; }
41087 if test `eval echo '${'$as_ac_var'}'` = yes; then
41088 cat >>confdefs.h <<_ACEOF
41089 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41091 cat >>confdefs.h <<\_ACEOF
41092 #define HAVE_DLERROR 1
41097 { echo "$as_me:$LINENO: checking for dlerror in -ldl" >&5
41098 echo $ECHO_N "checking for dlerror in -ldl... $ECHO_C" >&6; }
41099 if test "${ac_cv_lib_dl_dlerror+set}" = set; then
41100 echo $ECHO_N "(cached) $ECHO_C" >&6
41102 ac_check_lib_save_LIBS=$LIBS
41104 cat >conftest.$ac_ext <<_ACEOF
41107 cat confdefs.h >>conftest.$ac_ext
41108 cat >>conftest.$ac_ext <<_ACEOF
41109 /* end confdefs.h. */
41111 /* Override any GCC internal prototype to avoid an error.
41112 Use char because int might match the return type of a GCC
41113 builtin and then its argument prototype would still apply. */
41126 rm -f conftest.$ac_objext conftest$ac_exeext
41127 if { (ac_try="$ac_link"
41128 case "(($ac_try" in
41129 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
41130 *) ac_try_echo
=$ac_try;;
41132 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41133 (eval "$ac_link") 2>conftest.er1
41135 grep -v '^ *+' conftest.er1
>conftest.err
41137 cat conftest.err
>&5
41138 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41139 (exit $ac_status); } && {
41140 test -z "$ac_c_werror_flag" ||
41141 test ! -s conftest.err
41142 } && test -s conftest
$ac_exeext &&
41143 $as_test_x conftest
$ac_exeext; then
41144 ac_cv_lib_dl_dlerror
=yes
41146 echo "$as_me: failed program was:" >&5
41147 sed 's/^/| /' conftest.
$ac_ext >&5
41149 ac_cv_lib_dl_dlerror
=no
41152 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
41153 conftest
$ac_exeext conftest.
$ac_ext
41154 LIBS
=$ac_check_lib_save_LIBS
41156 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlerror" >&5
41157 echo "${ECHO_T}$ac_cv_lib_dl_dlerror" >&6; }
41158 if test $ac_cv_lib_dl_dlerror = yes; then
41159 cat >>confdefs.h
<<\_ACEOF
41160 #define HAVE_DLERROR 1
41173 if test "$HAVE_DL_FUNCS" = 0; then
41174 if test "$HAVE_SHL_FUNCS" = 0; then
41175 if test "$USE_UNIX" = 1 -o "$USE_DOS" = 1; then
41176 { echo "$as_me:$LINENO: WARNING: Missing dynamic loading support, several features will be disabled" >&5
41177 echo "$as_me: WARNING: Missing dynamic loading support, several features will be disabled" >&2;}
41178 wxUSE_DYNAMIC_LOADER
=no
41179 wxUSE_DYNLIB_CLASS
=no
41181 { echo "$as_me:$LINENO: WARNING: Assuming wxLibrary class works on this platform" >&5
41182 echo "$as_me: WARNING: Assuming wxLibrary class works on this platform" >&2;}
41189 if test "$wxUSE_DYNAMIC_LOADER" = "yes" ; then
41190 cat >>confdefs.h
<<\_ACEOF
41191 #define wxUSE_DYNAMIC_LOADER 1
41195 if test "$wxUSE_DYNLIB_CLASS" = "yes" ; then
41196 cat >>confdefs.h
<<\_ACEOF
41197 #define wxUSE_DYNLIB_CLASS 1
41204 if test "$wxUSE_PLUGINS" = "yes" ; then
41205 if test "$wxUSE_SHARED" = "no" ; then
41206 { echo "$as_me:$LINENO: WARNING: plugins supported only in shared build, disabling" >&5
41207 echo "$as_me: WARNING: plugins supported only in shared build, disabling" >&2;}
41210 if test "$wxUSE_MONOLITHIC" = "yes" ; then
41211 { echo "$as_me:$LINENO: WARNING: plugins not supported monolithic build, disabling" >&5
41212 echo "$as_me: WARNING: plugins not supported monolithic build, disabling" >&2;}
41215 if test "$wxUSE_DYNLIB_CLASS" = "no" ; then
41216 { echo "$as_me:$LINENO: WARNING: plugins require wxDynamicLibrary, disabling" >&5
41217 echo "$as_me: WARNING: plugins require wxDynamicLibrary, disabling" >&2;}
41220 if test "$wxUSE_PLUGINS" = "yes" ; then
41221 cat >>confdefs.h
<<\_ACEOF
41222 #define wxUSE_PLUGINS 1
41229 if test "$wxUSE_STL" = "yes"; then
41230 cat >>confdefs.h
<<\_ACEOF
41231 #define wxUSE_STL 1
41236 if test "$wxUSE_APPLE_IEEE" = "yes"; then
41237 cat >>confdefs.h
<<\_ACEOF
41238 #define wxUSE_APPLE_IEEE 1
41243 if test "$wxUSE_TIMER" = "yes"; then
41244 cat >>confdefs.h
<<\_ACEOF
41245 #define wxUSE_TIMER 1
41250 if test "$USE_UNIX" = "1" ; then
41251 if test "$wxUSE_MGL" != 1; then
41252 { echo "$as_me:$LINENO: checking for SNDCTL_DSP_SPEED in sys/soundcard.h" >&5
41253 echo $ECHO_N "checking for SNDCTL_DSP_SPEED in sys/soundcard.h... $ECHO_C" >&6; }
41254 if test "${ac_cv_header_sys_soundcard+set}" = set; then
41255 echo $ECHO_N "(cached) $ECHO_C" >&6
41258 cat >conftest.
$ac_ext <<_ACEOF
41261 cat confdefs.h
>>conftest.
$ac_ext
41262 cat >>conftest.
$ac_ext <<_ACEOF
41263 /* end confdefs.h. */
41265 #include <sys/ioctl.h>
41266 #include <sys/soundcard.h>
41272 ioctl(0, SNDCTL_DSP_SPEED, 0);
41278 rm -f conftest.
$ac_objext conftest
$ac_exeext
41279 if { (ac_try
="$ac_link"
41280 case "(($ac_try" in
41281 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
41282 *) ac_try_echo=$ac_try;;
41284 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41285 (eval "$ac_link") 2>conftest.er1
41287 grep -v '^ *+' conftest.er1 >conftest.err
41289 cat conftest.err >&5
41290 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41291 (exit $ac_status); } && {
41292 test -z "$ac_c_werror_flag" ||
41293 test ! -s conftest.err
41294 } && test -s conftest$ac_exeext &&
41295 $as_test_x conftest$ac_exeext; then
41296 ac_cv_header_sys_soundcard=yes
41298 echo "$as_me: failed program was:" >&5
41299 sed 's/^/| /' conftest.$ac_ext >&5
41303 LIBS="$saveLibs -lossaudio"
41304 cat >conftest.$ac_ext <<_ACEOF
41307 cat confdefs.h >>conftest.$ac_ext
41308 cat >>conftest.$ac_ext <<_ACEOF
41309 /* end confdefs.h. */
41311 #include <sys/ioctl.h>
41312 #include <sys/soundcard.h>
41318 ioctl(0, SNDCTL_DSP_SPEED, 0);
41324 rm -f conftest.$ac_objext conftest$ac_exeext
41325 if { (ac_try="$ac_link"
41326 case "(($ac_try" in
41327 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
41328 *) ac_try_echo
=$ac_try;;
41330 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41331 (eval "$ac_link") 2>conftest.er1
41333 grep -v '^ *+' conftest.er1
>conftest.err
41335 cat conftest.err
>&5
41336 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41337 (exit $ac_status); } && {
41338 test -z "$ac_c_werror_flag" ||
41339 test ! -s conftest.err
41340 } && test -s conftest
$ac_exeext &&
41341 $as_test_x conftest
$ac_exeext; then
41342 ac_cv_header_sys_soundcard
=yes
41344 echo "$as_me: failed program was:" >&5
41345 sed 's/^/| /' conftest.
$ac_ext >&5
41349 ac_cv_header_sys_soundcard
=no
41354 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
41355 conftest
$ac_exeext conftest.
$ac_ext
41360 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
41361 conftest
$ac_exeext conftest.
$ac_ext
41364 { echo "$as_me:$LINENO: result: $ac_cv_header_sys_soundcard" >&5
41365 echo "${ECHO_T}$ac_cv_header_sys_soundcard" >&6; }
41368 if test "$ac_cv_header_sys_soundcard" = "yes"; then
41369 cat >>confdefs.h
<<\_ACEOF
41370 #define HAVE_SYS_SOUNDCARD_H 1
41374 DISABLED_CONTRIB
="$DISABLED_CONTRIB mmedia"
41379 if test "$wxUSE_SOUND" = "yes"; then
41380 if test "$USE_UNIX" = "1" ; then
41381 if test "$wxUSE_LIBSDL" != "no"; then
41383 # Check whether --with-sdl-prefix was given.
41384 if test "${with_sdl_prefix+set}" = set; then
41385 withval
=$with_sdl_prefix; sdl_prefix
="$withval"
41391 # Check whether --with-sdl-exec-prefix was given.
41392 if test "${with_sdl_exec_prefix+set}" = set; then
41393 withval
=$with_sdl_exec_prefix; sdl_exec_prefix
="$withval"
41398 # Check whether --enable-sdltest was given.
41399 if test "${enable_sdltest+set}" = set; then
41400 enableval
=$enable_sdltest;
41406 if test x
$sdl_exec_prefix != x
; then
41407 sdl_args
="$sdl_args --exec-prefix=$sdl_exec_prefix"
41408 if test x
${SDL_CONFIG+set} != xset
; then
41409 SDL_CONFIG
=$sdl_exec_prefix/bin
/sdl
-config
41412 if test x
$sdl_prefix != x
; then
41413 sdl_args
="$sdl_args --prefix=$sdl_prefix"
41414 if test x
${SDL_CONFIG+set} != xset
; then
41415 SDL_CONFIG
=$sdl_prefix/bin
/sdl
-config
41419 if test "x$prefix" != xNONE
; then
41420 PATH
="$prefix/bin:$prefix/usr/bin:$PATH"
41422 # Extract the first word of "sdl-config", so it can be a program name with args.
41423 set dummy sdl
-config; ac_word
=$2
41424 { echo "$as_me:$LINENO: checking for $ac_word" >&5
41425 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
41426 if test "${ac_cv_path_SDL_CONFIG+set}" = set; then
41427 echo $ECHO_N "(cached) $ECHO_C" >&6
41429 case $SDL_CONFIG in
41431 ac_cv_path_SDL_CONFIG
="$SDL_CONFIG" # Let the user override the test with a path.
41434 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
41435 for as_dir
in $PATH
41438 test -z "$as_dir" && as_dir
=.
41439 for ac_exec_ext
in '' $ac_executable_extensions; do
41440 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
41441 ac_cv_path_SDL_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
41442 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
41449 test -z "$ac_cv_path_SDL_CONFIG" && ac_cv_path_SDL_CONFIG
="no"
41453 SDL_CONFIG
=$ac_cv_path_SDL_CONFIG
41454 if test -n "$SDL_CONFIG"; then
41455 { echo "$as_me:$LINENO: result: $SDL_CONFIG" >&5
41456 echo "${ECHO_T}$SDL_CONFIG" >&6; }
41458 { echo "$as_me:$LINENO: result: no" >&5
41459 echo "${ECHO_T}no" >&6; }
41463 min_sdl_version
=1.2.0
41464 { echo "$as_me:$LINENO: checking for SDL - version >= $min_sdl_version" >&5
41465 echo $ECHO_N "checking for SDL - version >= $min_sdl_version... $ECHO_C" >&6; }
41467 if test "$SDL_CONFIG" = "no" ; then
41470 SDL_CFLAGS
=`$SDL_CONFIG $sdlconf_args --cflags`
41471 SDL_LIBS
=`$SDL_CONFIG $sdlconf_args --libs`
41473 sdl_major_version
=`$SDL_CONFIG $sdl_args --version | \
41474 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
41475 sdl_minor_version
=`$SDL_CONFIG $sdl_args --version | \
41476 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
41477 sdl_micro_version
=`$SDL_CONFIG $sdl_config_args --version | \
41478 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
41479 if test "x$enable_sdltest" = "xyes" ; then
41480 ac_save_CFLAGS
="$CFLAGS"
41481 ac_save_CXXFLAGS
="$CXXFLAGS"
41482 ac_save_LIBS
="$LIBS"
41483 CFLAGS
="$CFLAGS $SDL_CFLAGS"
41484 CXXFLAGS
="$CXXFLAGS $SDL_CFLAGS"
41485 LIBS
="$LIBS $SDL_LIBS"
41487 if test "$cross_compiling" = yes; then
41488 echo $ac_n "cross compiling; assumed OK... $ac_c"
41490 cat >conftest.
$ac_ext <<_ACEOF
41493 cat confdefs.h
>>conftest.
$ac_ext
41494 cat >>conftest.
$ac_ext <<_ACEOF
41495 /* end confdefs.h. */
41498 #include <stdlib.h>
41499 #include <string.h>
41503 my_strdup (char *str)
41509 new_str = (char *)malloc ((strlen (str) + 1) * sizeof(char));
41510 strcpy (new_str, str);
41518 int main (int argc, char *argv[])
41520 int major, minor, micro;
41523 /* This hangs on some systems (?)
41524 system ("touch conf.sdltest");
41526 { FILE *fp = fopen("conf.sdltest", "a"); if ( fp ) fclose(fp); }
41528 /* HP/UX 9 (%@#!) writes to sscanf strings */
41529 tmp_version = my_strdup("$min_sdl_version");
41530 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
41531 printf("%s, bad version string\n", "$min_sdl_version");
41535 if (($sdl_major_version > major) ||
41536 (($sdl_major_version == major) && ($sdl_minor_version > minor)) ||
41537 (($sdl_major_version == major) && ($sdl_minor_version == minor) && ($sdl_micro_version >= micro)))
41543 printf("\n*** 'sdl-config --version' returned %d.%d.%d, but the minimum version\n", $sdl_major_version, $sdl_minor_version, $sdl_micro_version);
41544 printf("*** of SDL required is %d.%d.%d. If sdl-config is correct, then it is\n", major, minor, micro);
41545 printf("*** best to upgrade to the required version.\n");
41546 printf("*** If sdl-config was wrong, set the environment variable SDL_CONFIG\n");
41547 printf("*** to point to the correct copy of sdl-config, and remove the file\n");
41548 printf("*** config.cache before re-running configure\n");
41555 rm -f conftest
$ac_exeext
41556 if { (ac_try
="$ac_link"
41557 case "(($ac_try" in
41558 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
41559 *) ac_try_echo=$ac_try;;
41561 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41562 (eval "$ac_link") 2>&5
41564 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41565 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
41566 { (case "(($ac_try" in
41567 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
41568 *) ac_try_echo
=$ac_try;;
41570 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41571 (eval "$ac_try") 2>&5
41573 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41574 (exit $ac_status); }; }; then
41577 echo "$as_me: program exited with status $ac_status" >&5
41578 echo "$as_me: failed program was:" >&5
41579 sed 's/^/| /' conftest.
$ac_ext >&5
41581 ( exit $ac_status )
41584 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
41588 CFLAGS
="$ac_save_CFLAGS"
41589 CXXFLAGS
="$ac_save_CXXFLAGS"
41590 LIBS
="$ac_save_LIBS"
41593 if test "x$no_sdl" = x
; then
41594 { echo "$as_me:$LINENO: result: yes" >&5
41595 echo "${ECHO_T}yes" >&6; }
41597 EXTRALIBS_SDL
="$SDL_LIBS"
41598 CFLAGS
="$SDL_CFLAGS $CFLAGS"
41599 CXXFLAGS
="$SDL_CFLAGS $CXXFLAGS"
41600 cat >>confdefs.h
<<\_ACEOF
41601 #define wxUSE_LIBSDL 1
41606 { echo "$as_me:$LINENO: result: no" >&5
41607 echo "${ECHO_T}no" >&6; }
41608 if test "$SDL_CONFIG" = "no" ; then
41609 echo "*** The sdl-config script installed by SDL could not be found"
41610 echo "*** If SDL was installed in PREFIX, make sure PREFIX/bin is in"
41611 echo "*** your path, or set the SDL_CONFIG environment variable to the"
41612 echo "*** full path to sdl-config."
41614 if test -f conf.sdltest
; then
41617 echo "*** Could not run SDL test program, checking why..."
41618 CFLAGS
="$CFLAGS $SDL_CFLAGS"
41619 CXXFLAGS
="$CXXFLAGS $SDL_CFLAGS"
41620 LIBS
="$LIBS $SDL_LIBS"
41621 cat >conftest.
$ac_ext <<_ACEOF
41624 cat confdefs.h
>>conftest.
$ac_ext
41625 cat >>conftest.
$ac_ext <<_ACEOF
41626 /* end confdefs.h. */
41631 int main(int argc, char *argv[])
41634 #define main K_and_R_C_main
41644 rm -f conftest.
$ac_objext conftest
$ac_exeext
41645 if { (ac_try
="$ac_link"
41646 case "(($ac_try" in
41647 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
41648 *) ac_try_echo=$ac_try;;
41650 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41651 (eval "$ac_link") 2>conftest.er1
41653 grep -v '^ *+' conftest.er1 >conftest.err
41655 cat conftest.err >&5
41656 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41657 (exit $ac_status); } && {
41658 test -z "$ac_c_werror_flag" ||
41659 test ! -s conftest.err
41660 } && test -s conftest$ac_exeext &&
41661 $as_test_x conftest$ac_exeext; then
41662 echo "*** The test program compiled, but did not run. This usually means"
41663 echo "*** that the run-time linker is not finding SDL or finding the wrong"
41664 echo "*** version of SDL. If it is not finding SDL, you'll need to set your"
41665 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
41666 echo "*** to the installed location Also, make sure you have run ldconfig if that"
41667 echo "*** is required on your system"
41669 echo "*** If you have an old version installed, it is best to remove it, although"
41670 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
41672 echo "$as_me: failed program was:" >&5
41673 sed 's/^/| /' conftest.$ac_ext >&5
41675 echo "*** The test program failed to compile or link. See the file config.log for the"
41676 echo "*** exact error that occured. This usually means SDL was incorrectly installed"
41677 echo "*** or that you have moved SDL since it was installed. In the latter case, you"
41678 echo "*** may want to edit the sdl-config script: $SDL_CONFIG"
41681 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41682 conftest$ac_exeext conftest.$ac_ext
41683 CFLAGS="$ac_save_CFLAGS"
41684 CXXFLAGS="$ac_save_CXXFLAGS"
41685 LIBS="$ac_save_LIBS"
41696 if test "$wxUSE_LIBSDL" = "yes" -a "$wxUSE_PLUGINS" = "yes" ; then
41701 if test "$wxUSE_MGL" = 1; then
41702 { echo "$as_me:$LINENO: WARNING: wxSound not supported in MGL under DOS... disabled" >&5
41703 echo "$as_me: WARNING: wxSound not supported in MGL under DOS... disabled" >&2;}
41709 if test "$wxUSE_SOUND" = "yes"; then
41710 cat >>confdefs.h <<\_ACEOF
41711 #define wxUSE_SOUND 1
41714 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sound"
41717 if test "$WXGTK20" = 1; then
41720 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
41721 if test -n "$ac_tool_prefix"; then
41722 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
41723 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
41724 { echo "$as_me:$LINENO: checking for $ac_word" >&5
41725 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
41726 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
41727 echo $ECHO_N "(cached) $ECHO_C" >&6
41729 case $PKG_CONFIG in
41731 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
41734 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
41735 for as_dir in $PATH
41738 test -z "$as_dir" && as_dir=.
41739 for ac_exec_ext in '' $ac_executable_extensions; do
41740 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
41741 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
41742 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
41752 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
41753 if test -n "$PKG_CONFIG"; then
41754 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
41755 echo "${ECHO_T}$PKG_CONFIG" >&6; }
41757 { echo "$as_me:$LINENO: result: no" >&5
41758 echo "${ECHO_T}no" >&6; }
41763 if test -z "$ac_cv_path_PKG_CONFIG"; then
41764 ac_pt_PKG_CONFIG=$PKG_CONFIG
41765 # Extract the first word of "pkg-config", so it can be a program name with args.
41766 set dummy pkg-config; ac_word=$2
41767 { echo "$as_me:$LINENO: checking for $ac_word" >&5
41768 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
41769 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
41770 echo $ECHO_N "(cached) $ECHO_C" >&6
41772 case $ac_pt_PKG_CONFIG in
41774 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
41777 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
41778 for as_dir in $PATH
41781 test -z "$as_dir" && as_dir=.
41782 for ac_exec_ext in '' $ac_executable_extensions; do
41783 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
41784 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
41785 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
41795 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
41796 if test -n "$ac_pt_PKG_CONFIG"; then
41797 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
41798 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
41800 { echo "$as_me:$LINENO: result: no" >&5
41801 echo "${ECHO_T}no" >&6; }
41804 if test "x$ac_pt_PKG_CONFIG" = x; then
41807 case $cross_compiling:$ac_tool_warned in
41809 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
41810 whose name does not start with the host triplet. If you think this
41811 configuration is useful to you, please write to autoconf@gnu.org." >&5
41812 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
41813 whose name does not start with the host triplet. If you think this
41814 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
41815 ac_tool_warned=yes ;;
41817 PKG_CONFIG=$ac_pt_PKG_CONFIG
41820 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
41824 if test -n "$PKG_CONFIG"; then
41825 _pkg_min_version=0.9.0
41826 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
41827 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
41828 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
41829 { echo "$as_me:$LINENO: result: yes" >&5
41830 echo "${ECHO_T}yes" >&6; }
41832 { echo "$as_me:$LINENO: result: no" >&5
41833 echo "${ECHO_T}no" >&6; }
41839 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
41840 if test "$wxUSE_LIBGNOMEPRINT" = "yes" ; then
41844 { echo "$as_me:$LINENO: checking for LIBGNOMEPRINTUI" >&5
41845 echo $ECHO_N "checking for LIBGNOMEPRINTUI... $ECHO_C" >&6; }
41847 if test -n "$PKG_CONFIG"; then
41848 if test -n "$LIBGNOMEPRINTUI_CFLAGS"; then
41849 pkg_cv_LIBGNOMEPRINTUI_CFLAGS="$LIBGNOMEPRINTUI_CFLAGS"
41851 if test -n "$PKG_CONFIG" && \
41852 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libgnomeprintui-2.2 >= 2.8\"") >&5
41853 ($PKG_CONFIG --exists --print-errors "libgnomeprintui-2.2 >= 2.8") 2>&5
41855 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41856 (exit $ac_status); }; then
41857 pkg_cv_LIBGNOMEPRINTUI_CFLAGS=`$PKG_CONFIG --cflags "libgnomeprintui-2.2 >= 2.8" 2>/dev
/null
`
41865 if test -n "$PKG_CONFIG"; then
41866 if test -n "$LIBGNOMEPRINTUI_LIBS"; then
41867 pkg_cv_LIBGNOMEPRINTUI_LIBS="$LIBGNOMEPRINTUI_LIBS"
41869 if test -n "$PKG_CONFIG" && \
41870 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libgnomeprintui-2.2 >= 2.8\"") >&5
41871 ($PKG_CONFIG --exists --print-errors "libgnomeprintui-2.2 >= 2.8") 2>&5
41873 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41874 (exit $ac_status); }; then
41875 pkg_cv_LIBGNOMEPRINTUI_LIBS=`$PKG_CONFIG --libs "libgnomeprintui-2.2 >= 2.8" 2>/dev
/null
`
41886 if test $pkg_failed = yes; then
41888 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
41889 _pkg_short_errors_supported=yes
41891 _pkg_short_errors_supported=no
41893 if test $_pkg_short_errors_supported = yes; then
41894 LIBGNOMEPRINTUI_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libgnomeprintui-2.2 >= 2.8"`
41896 LIBGNOMEPRINTUI_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "libgnomeprintui-2.2 >= 2.8"`
41898 # Put the nasty error message in config.log where it belongs
41899 echo "$LIBGNOMEPRINTUI_PKG_ERRORS" >&5
41902 { echo "$as_me:$LINENO: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&5
41903 echo "$as_me: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&2;}
41904 wxUSE_LIBGNOMEPRINT="no"
41907 elif test $pkg_failed = untried; then
41909 { echo "$as_me:$LINENO: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&5
41910 echo "$as_me: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&2;}
41911 wxUSE_LIBGNOMEPRINT="no"
41915 LIBGNOMEPRINTUI_CFLAGS=$pkg_cv_LIBGNOMEPRINTUI_CFLAGS
41916 LIBGNOMEPRINTUI_LIBS=$pkg_cv_LIBGNOMEPRINTUI_LIBS
41917 { echo "$as_me:$LINENO: result: yes" >&5
41918 echo "${ECHO_T}yes" >&6; }
41920 CFLAGS="$LIBGNOMEPRINTUI_CFLAGS $CFLAGS"
41921 CXXFLAGS="$LIBGNOMEPRINTUI_CFLAGS $CXXFLAGS"
41922 cat >>confdefs.h <<\_ACEOF
41923 #define wxUSE_LIBGNOMEPRINT 1
41931 if test "$wxUSE_MIMETYPE" = "yes" ; then
41932 if test "$wxUSE_LIBGNOMEVFS" = "yes" ; then
41936 { echo "$as_me:$LINENO: checking for GNOMEVFS" >&5
41937 echo $ECHO_N "checking for GNOMEVFS... $ECHO_C" >&6; }
41939 if test -n "$PKG_CONFIG"; then
41940 if test -n "$GNOMEVFS_CFLAGS"; then
41941 pkg_cv_GNOMEVFS_CFLAGS="$GNOMEVFS_CFLAGS"
41943 if test -n "$PKG_CONFIG" && \
41944 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gnome-vfs-2.0 >= 2.0\"") >&5
41945 ($PKG_CONFIG --exists --print-errors "gnome-vfs-2.0 >= 2.0") 2>&5
41947 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41948 (exit $ac_status); }; then
41949 pkg_cv_GNOMEVFS_CFLAGS=`$PKG_CONFIG --cflags "gnome-vfs-2.0 >= 2.0" 2>/dev
/null
`
41957 if test -n "$PKG_CONFIG"; then
41958 if test -n "$GNOMEVFS_LIBS"; then
41959 pkg_cv_GNOMEVFS_LIBS="$GNOMEVFS_LIBS"
41961 if test -n "$PKG_CONFIG" && \
41962 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gnome-vfs-2.0 >= 2.0\"") >&5
41963 ($PKG_CONFIG --exists --print-errors "gnome-vfs-2.0 >= 2.0") 2>&5
41965 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41966 (exit $ac_status); }; then
41967 pkg_cv_GNOMEVFS_LIBS=`$PKG_CONFIG --libs "gnome-vfs-2.0 >= 2.0" 2>/dev
/null
`
41978 if test $pkg_failed = yes; then
41980 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
41981 _pkg_short_errors_supported=yes
41983 _pkg_short_errors_supported=no
41985 if test $_pkg_short_errors_supported = yes; then
41986 GNOMEVFS_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gnome-vfs-2.0 >= 2.0"`
41988 GNOMEVFS_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gnome-vfs-2.0 >= 2.0"`
41990 # Put the nasty error message in config.log where it belongs
41991 echo "$GNOMEVFS_PKG_ERRORS" >&5
41994 { echo "$as_me:$LINENO: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&5
41995 echo "$as_me: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&2;}
41996 wxUSE_LIBGNOMEVFS="no"
41999 elif test $pkg_failed = untried; then
42001 { echo "$as_me:$LINENO: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&5
42002 echo "$as_me: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&2;}
42003 wxUSE_LIBGNOMEVFS="no"
42007 GNOMEVFS_CFLAGS=$pkg_cv_GNOMEVFS_CFLAGS
42008 GNOMEVFS_LIBS=$pkg_cv_GNOMEVFS_LIBS
42009 { echo "$as_me:$LINENO: result: yes" >&5
42010 echo "${ECHO_T}yes" >&6; }
42012 CFLAGS="$GNOMEVFS_CFLAGS $CFLAGS"
42013 CXXFLAGS="$GNOMEVFS_CFLAGS $CXXFLAGS"
42014 cat >>confdefs.h <<\_ACEOF
42015 #define wxUSE_LIBGNOMEVFS 1
42023 if test "$wxUSE_LIBHILDON" = "yes" ; then
42026 { echo "$as_me:$LINENO: checking for HILDON" >&5
42027 echo $ECHO_N "checking for HILDON... $ECHO_C" >&6; }
42029 if test -n "$PKG_CONFIG"; then
42030 if test -n "$HILDON_CFLAGS"; then
42031 pkg_cv_HILDON_CFLAGS="$HILDON_CFLAGS"
42033 if test -n "$PKG_CONFIG" && \
42034 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-lgpl >= 0.9\"") >&5
42035 ($PKG_CONFIG --exists --print-errors "hildon-lgpl >= 0.9") 2>&5
42037 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42038 (exit $ac_status); }; then
42039 pkg_cv_HILDON_CFLAGS=`$PKG_CONFIG --cflags "hildon-lgpl >= 0.9" 2>/dev
/null
`
42047 if test -n "$PKG_CONFIG"; then
42048 if test -n "$HILDON_LIBS"; then
42049 pkg_cv_HILDON_LIBS="$HILDON_LIBS"
42051 if test -n "$PKG_CONFIG" && \
42052 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-lgpl >= 0.9\"") >&5
42053 ($PKG_CONFIG --exists --print-errors "hildon-lgpl >= 0.9") 2>&5
42055 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42056 (exit $ac_status); }; then
42057 pkg_cv_HILDON_LIBS=`$PKG_CONFIG --libs "hildon-lgpl >= 0.9" 2>/dev
/null
`
42068 if test $pkg_failed = yes; then
42070 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
42071 _pkg_short_errors_supported=yes
42073 _pkg_short_errors_supported=no
42075 if test $_pkg_short_errors_supported = yes; then
42076 HILDON_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "hildon-lgpl >= 0.9"`
42078 HILDON_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "hildon-lgpl >= 0.9"`
42080 # Put the nasty error message in config.log where it belongs
42081 echo "$HILDON_PKG_ERRORS" >&5
42084 { echo "$as_me:$LINENO: WARNING: libhildon_lgpl not found" >&5
42085 echo "$as_me: WARNING: libhildon_lgpl not found" >&2;}
42086 wxUSE_LIBHILDON="no"
42089 elif test $pkg_failed = untried; then
42091 { echo "$as_me:$LINENO: WARNING: libhildon_lgpl not found" >&5
42092 echo "$as_me: WARNING: libhildon_lgpl not found" >&2;}
42093 wxUSE_LIBHILDON="no"
42097 HILDON_CFLAGS=$pkg_cv_HILDON_CFLAGS
42098 HILDON_LIBS=$pkg_cv_HILDON_LIBS
42099 { echo "$as_me:$LINENO: result: yes" >&5
42100 echo "${ECHO_T}yes" >&6; }
42102 EXTRALIBS_HILDON="$HILDON_LIBS"
42103 CFLAGS="$CFLAGS $HILDON_CFLAGS"
42104 CXXFLAGS="$CXXFLAGS $HILDON_CFLAGS"
42105 cat >>confdefs.h <<\_ACEOF
42106 #define wxUSE_LIBHILDON 1
42114 if test "$wxUSE_CMDLINE_PARSER" = "yes"; then
42115 cat >>confdefs.h <<\_ACEOF
42116 #define wxUSE_CMDLINE_PARSER 1
42121 if test "$wxUSE_STOPWATCH" = "yes"; then
42122 cat >>confdefs.h <<\_ACEOF
42123 #define wxUSE_STOPWATCH 1
42128 if test "$wxUSE_DATETIME" = "yes"; then
42129 cat >>confdefs.h <<\_ACEOF
42130 #define wxUSE_DATETIME 1
42135 if test "$wxUSE_FILE" = "yes"; then
42136 cat >>confdefs.h <<\_ACEOF
42137 #define wxUSE_FILE 1
42142 if test "$wxUSE_FFILE" = "yes"; then
42143 cat >>confdefs.h <<\_ACEOF
42144 #define wxUSE_FFILE 1
42149 if test "$wxUSE_ARCHIVE_STREAMS" = "yes"; then
42150 if test "$wxUSE_STREAMS" != yes; then
42151 { echo "$as_me:$LINENO: WARNING: wxArchive requires wxStreams... disabled" >&5
42152 echo "$as_me: WARNING: wxArchive requires wxStreams... disabled" >&2;}
42153 wxUSE_ARCHIVE_STREAMS=no
42155 cat >>confdefs.h <<\_ACEOF
42156 #define wxUSE_ARCHIVE_STREAMS 1
42162 if test "$wxUSE_ZIPSTREAM" = "yes"; then
42163 if test "$wxUSE_ARCHIVE_STREAMS" != "yes"; then
42164 { echo "$as_me:$LINENO: WARNING: wxZip requires wxArchive... disabled" >&5
42165 echo "$as_me: WARNING: wxZip requires wxArchive... disabled" >&2;}
42166 elif test "$wxUSE_ZLIB" = "no"; then
42167 { echo "$as_me:$LINENO: WARNING: wxZip requires wxZlib... disabled" >&5
42168 echo "$as_me: WARNING: wxZip requires wxZlib... disabled" >&2;}
42170 cat >>confdefs.h <<\_ACEOF
42171 #define wxUSE_ZIPSTREAM 1
42177 if test "$wxUSE_TARSTREAM" = "yes"; then
42178 if test "$wxUSE_ARCHIVE_STREAMS" != "yes"; then
42179 { echo "$as_me:$LINENO: WARNING: wxTar requires wxArchive... disabled" >&5
42180 echo "$as_me: WARNING: wxTar requires wxArchive... disabled" >&2;}
42182 cat >>confdefs.h <<\_ACEOF
42183 #define wxUSE_TARSTREAM 1
42189 if test "$wxUSE_FILESYSTEM" = "yes"; then
42190 if test "$wxUSE_STREAMS" != yes -o \( "$wxUSE_FILE" != yes -a "$wxUSE_FFILE" != yes \); then
42191 { echo "$as_me:$LINENO: WARNING: wxFileSystem requires wxStreams and wxFile or wxFFile... disabled" >&5
42192 echo "$as_me: WARNING: wxFileSystem requires wxStreams and wxFile or wxFFile... disabled" >&2;}
42193 wxUSE_FILESYSTEM=no
42195 cat >>confdefs.h <<\_ACEOF
42196 #define wxUSE_FILESYSTEM 1
42202 if test "$wxUSE_FS_ARCHIVE" = "yes"; then
42203 if test "$wxUSE_FILESYSTEM" != yes -o "$wxUSE_ARCHIVE_STREAMS" != yes; then
42204 { echo "$as_me:$LINENO: WARNING: wxArchiveFSHandler requires wxArchive and wxFileSystem... disabled" >&5
42205 echo "$as_me: WARNING: wxArchiveFSHandler requires wxArchive and wxFileSystem... disabled" >&2;}
42207 cat >>confdefs.h <<\_ACEOF
42208 #define wxUSE_FS_ARCHIVE 1
42214 if test "$wxUSE_FS_ZIP" = "yes"; then
42215 if test "$wxUSE_FS_ARCHIVE" != yes; then
42216 { echo "$as_me:$LINENO: WARNING: wxZipFSHandler requires wxArchiveFSHandler... disabled" >&5
42217 echo "$as_me: WARNING: wxZipFSHandler requires wxArchiveFSHandler... disabled" >&2;}
42219 cat >>confdefs.h <<\_ACEOF
42220 #define wxUSE_FS_ZIP 1
42226 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
42227 if test "$USE_UNIX" != 1; then
42228 { echo "$as_me:$LINENO: WARNING: Catching fatal exceptions not currently supported on this system, wxApp::OnFatalException will not be called" >&5
42229 echo "$as_me: WARNING: Catching fatal exceptions not currently supported on this system, wxApp::OnFatalException will not be called" >&2;}
42230 wxUSE_ON_FATAL_EXCEPTION=no
42232 cat >>confdefs.h <<\_ACEOF
42233 #define wxUSE_ON_FATAL_EXCEPTION 1
42239 if test "$wxUSE_STACKWALKER" = "yes"; then
42240 cat >>confdefs.h <<\_ACEOF
42241 #define wxUSE_STACKWALKER 1
42246 if test "$wxUSE_DEBUGREPORT" = "yes"; then
42247 if test "$USE_UNIX" != "1" -a "$USE_WIN32" != "1"; then
42248 { echo "$as_me:$LINENO: WARNING: Creating debug reports not currently supported on this system, disabled" >&5
42249 echo "$as_me: WARNING: Creating debug reports not currently supported on this system, disabled" >&2;}
42250 wxUSE_DEBUGREPORT=no
42252 cat >>confdefs.h <<\_ACEOF
42253 #define wxUSE_DEBUGREPORT 1
42256 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
42257 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS debugrpt"
42262 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
42263 cat >>confdefs.h <<\_ACEOF
42264 #define wxUSE_SNGLINST_CHECKER 1
42269 if test "$wxUSE_BUSYINFO" = "yes"; then
42270 cat >>confdefs.h <<\_ACEOF
42271 #define wxUSE_BUSYINFO 1
42276 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
42277 cat >>confdefs.h <<\_ACEOF
42278 #define wxUSE_STD_IOSTREAM 1
42283 if test "$wxUSE_STD_STRING" = "yes"; then
42284 cat >>confdefs.h <<\_ACEOF
42285 #define wxUSE_STD_STRING 1
42290 if test "$wxUSE_STDPATHS" = "yes"; then
42291 cat >>confdefs.h <<\_ACEOF
42292 #define wxUSE_STDPATHS 1
42297 if test "$wxUSE_TEXTBUFFER" = "yes"; then
42298 cat >>confdefs.h <<\_ACEOF
42299 #define wxUSE_TEXTBUFFER 1
42304 if test "$wxUSE_TEXTFILE" = "yes"; then
42305 if test "$wxUSE_FILE" != "yes" -o "$wxUSE_TEXTBUFFER" != "yes" ; then
42306 { echo "$as_me:$LINENO: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&5
42307 echo "$as_me: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&2;}
42309 cat >>confdefs.h <<\_ACEOF
42310 #define wxUSE_TEXTFILE 1
42316 if test "$wxUSE_CONFIG" = "yes" ; then
42317 if test "$wxUSE_TEXTFILE" != "yes"; then
42318 { echo "$as_me:$LINENO: WARNING: wxConfig requires wxTextFile... disabled" >&5
42319 echo "$as_me: WARNING: wxConfig requires wxTextFile... disabled" >&2;}
42321 cat >>confdefs.h <<\_ACEOF
42322 #define wxUSE_CONFIG 1
42325 cat >>confdefs.h <<\_ACEOF
42326 #define wxUSE_CONFIG_NATIVE 1
42329 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS config"
42333 if test "$wxUSE_INTL" = "yes" ; then
42334 if test "$wxUSE_FILE" != "yes"; then
42335 { echo "$as_me:$LINENO: WARNING: I18n code requires wxFile... disabled" >&5
42336 echo "$as_me: WARNING: I18n code requires wxFile... disabled" >&2;}
42338 cat >>confdefs.h <<\_ACEOF
42339 #define wxUSE_INTL 1
42342 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS internat"
42343 GUIDIST="$GUIDIST INTL_DIST"
42347 if test "$wxUSE_LOG" = "yes"; then
42348 cat >>confdefs.h <<\_ACEOF
42349 #define wxUSE_LOG 1
42353 if test "$wxUSE_LOGGUI" = "yes"; then
42354 cat >>confdefs.h <<\_ACEOF
42355 #define wxUSE_LOGGUI 1
42360 if test "$wxUSE_LOGWINDOW" = "yes"; then
42361 cat >>confdefs.h <<\_ACEOF
42362 #define wxUSE_LOGWINDOW 1
42367 if test "$wxUSE_LOGDIALOG" = "yes"; then
42368 cat >>confdefs.h <<\_ACEOF
42369 #define wxUSE_LOG_DIALOG 1
42374 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS keyboard"
42377 if test "$wxUSE_LONGLONG" = "yes"; then
42378 cat >>confdefs.h <<\_ACEOF
42379 #define wxUSE_LONGLONG 1
42384 if test "$wxUSE_GEOMETRY" = "yes"; then
42385 cat >>confdefs.h <<\_ACEOF
42386 #define wxUSE_GEOMETRY 1
42391 if test "$wxUSE_STREAMS" = "yes" ; then
42392 cat >>confdefs.h <<\_ACEOF
42393 #define wxUSE_STREAMS 1
42398 if test "$wxUSE_PRINTF_POS_PARAMS" = "yes"; then
42399 cat >>confdefs.h <<\_ACEOF
42400 #define wxUSE_PRINTF_POS_PARAMS 1
42407 if test "$wxUSE_DATETIME" = "yes"; then
42409 for ac_func in strptime
42411 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
42412 { echo "$as_me:$LINENO: checking for $ac_func" >&5
42413 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
42414 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
42415 echo $ECHO_N "(cached) $ECHO_C" >&6
42417 cat >conftest.$ac_ext <<_ACEOF
42420 cat confdefs.h >>conftest.$ac_ext
42421 cat >>conftest.$ac_ext <<_ACEOF
42422 /* end confdefs.h. */
42423 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
42424 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42425 #define $ac_func innocuous_$ac_func
42427 /* System header to define __stub macros and hopefully few prototypes,
42428 which can conflict with char $ac_func (); below.
42429 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42430 <limits.h> exists even on freestanding compilers. */
42433 # include <limits.h>
42435 # include <assert.h>
42440 /* Override any GCC internal prototype to avoid an error.
42441 Use char because int might match the return type of a GCC
42442 builtin and then its argument prototype would still apply. */
42447 /* The GNU C library defines this for functions which it implements
42448 to always fail with ENOSYS. Some functions are actually named
42449 something starting with __ and the normal name is an alias. */
42450 #if defined __stub_$ac_func || defined __stub___$ac_func
42457 return $ac_func ();
42462 rm -f conftest.$ac_objext conftest$ac_exeext
42463 if { (ac_try="$ac_link"
42464 case "(($ac_try" in
42465 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
42466 *) ac_try_echo
=$ac_try;;
42468 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42469 (eval "$ac_link") 2>conftest.er1
42471 grep -v '^ *+' conftest.er1
>conftest.err
42473 cat conftest.err
>&5
42474 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42475 (exit $ac_status); } && {
42476 test -z "$ac_c_werror_flag" ||
42477 test ! -s conftest.err
42478 } && test -s conftest
$ac_exeext &&
42479 $as_test_x conftest
$ac_exeext; then
42480 eval "$as_ac_var=yes"
42482 echo "$as_me: failed program was:" >&5
42483 sed 's/^/| /' conftest.
$ac_ext >&5
42485 eval "$as_ac_var=no"
42488 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
42489 conftest
$ac_exeext conftest.
$ac_ext
42491 ac_res
=`eval echo '${'$as_ac_var'}'`
42492 { echo "$as_me:$LINENO: result: $ac_res" >&5
42493 echo "${ECHO_T}$ac_res" >&6; }
42494 if test `eval echo '${'$as_ac_var'}'` = yes; then
42495 cat >>confdefs.h
<<_ACEOF
42496 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
42502 if test "$ac_cv_func_strptime" = "yes"; then
42503 { echo "$as_me:$LINENO: checking for strptime declaration" >&5
42504 echo $ECHO_N "checking for strptime declaration... $ECHO_C" >&6; }
42505 if test "${wx_cv_func_strptime_decl+set}" = set; then
42506 echo $ECHO_N "(cached) $ECHO_C" >&6
42510 ac_cpp
='$CXXCPP $CPPFLAGS'
42511 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42512 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42513 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
42515 cat >conftest.
$ac_ext <<_ACEOF
42518 cat confdefs.h
>>conftest.
$ac_ext
42519 cat >>conftest.
$ac_ext <<_ACEOF
42520 /* end confdefs.h. */
42529 strptime("foo", "bar", &t);
42535 rm -f conftest.
$ac_objext
42536 if { (ac_try
="$ac_compile"
42537 case "(($ac_try" in
42538 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
42539 *) ac_try_echo=$ac_try;;
42541 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42542 (eval "$ac_compile") 2>conftest.er1
42544 grep -v '^ *+' conftest.er1 >conftest.err
42546 cat conftest.err >&5
42547 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42548 (exit $ac_status); } && {
42549 test -z "$ac_cxx_werror_flag" ||
42550 test ! -s conftest.err
42551 } && test -s conftest.$ac_objext; then
42552 wx_cv_func_strptime_decl=yes
42554 echo "$as_me: failed program was:" >&5
42555 sed 's/^/| /' conftest.$ac_ext >&5
42557 wx_cv_func_strptime_decl=no
42561 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42563 ac_cpp='$CPP $CPPFLAGS'
42564 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42565 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42566 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42571 { echo "$as_me:$LINENO: result: $wx_cv_func_strptime_decl" >&5
42572 echo "${ECHO_T}$wx_cv_func_strptime_decl" >&6; }
42574 if test "$wx_cv_func_strptime_decl" = "yes"; then
42575 cat >>confdefs.h <<\_ACEOF
42576 #define HAVE_STRPTIME_DECL 1
42581 { echo "$as_me:$LINENO: checking for timezone variable in <time.h>" >&5
42582 echo $ECHO_N "checking for timezone variable in <time.h>... $ECHO_C" >&6; }
42583 if test "${wx_cv_var_timezone+set}" = set; then
42584 echo $ECHO_N "(cached) $ECHO_C" >&6
42588 ac_cpp='$CXXCPP $CPPFLAGS'
42589 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42590 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42591 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42593 cat >conftest.$ac_ext <<_ACEOF
42596 cat confdefs.h >>conftest.$ac_ext
42597 cat >>conftest.$ac_ext <<_ACEOF
42598 /* end confdefs.h. */
42613 rm -f conftest.$ac_objext
42614 if { (ac_try="$ac_compile"
42615 case "(($ac_try" in
42616 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
42617 *) ac_try_echo
=$ac_try;;
42619 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42620 (eval "$ac_compile") 2>conftest.er1
42622 grep -v '^ *+' conftest.er1
>conftest.err
42624 cat conftest.err
>&5
42625 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42626 (exit $ac_status); } && {
42627 test -z "$ac_cxx_werror_flag" ||
42628 test ! -s conftest.err
42629 } && test -s conftest.
$ac_objext; then
42631 wx_cv_var_timezone
=timezone
42634 echo "$as_me: failed program was:" >&5
42635 sed 's/^/| /' conftest.
$ac_ext >&5
42638 cat >conftest.
$ac_ext <<_ACEOF
42641 cat confdefs.h
>>conftest.
$ac_ext
42642 cat >>conftest.
$ac_ext <<_ACEOF
42643 /* end confdefs.h. */
42658 rm -f conftest.
$ac_objext
42659 if { (ac_try
="$ac_compile"
42660 case "(($ac_try" in
42661 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
42662 *) ac_try_echo=$ac_try;;
42664 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42665 (eval "$ac_compile") 2>conftest.er1
42667 grep -v '^ *+' conftest.er1 >conftest.err
42669 cat conftest.err >&5
42670 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42671 (exit $ac_status); } && {
42672 test -z "$ac_cxx_werror_flag" ||
42673 test ! -s conftest.err
42674 } && test -s conftest.$ac_objext; then
42676 wx_cv_var_timezone=_timezone
42679 echo "$as_me: failed program was:" >&5
42680 sed 's/^/| /' conftest.$ac_ext >&5
42683 cat >conftest.$ac_ext <<_ACEOF
42686 cat confdefs.h >>conftest.$ac_ext
42687 cat >>conftest.$ac_ext <<_ACEOF
42688 /* end confdefs.h. */
42703 rm -f conftest.$ac_objext
42704 if { (ac_try="$ac_compile"
42705 case "(($ac_try" in
42706 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
42707 *) ac_try_echo
=$ac_try;;
42709 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42710 (eval "$ac_compile") 2>conftest.er1
42712 grep -v '^ *+' conftest.er1
>conftest.err
42714 cat conftest.err
>&5
42715 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42716 (exit $ac_status); } && {
42717 test -z "$ac_cxx_werror_flag" ||
42718 test ! -s conftest.err
42719 } && test -s conftest.
$ac_objext; then
42721 wx_cv_var_timezone
=__timezone
42724 echo "$as_me: failed program was:" >&5
42725 sed 's/^/| /' conftest.
$ac_ext >&5
42728 if test "$USE_DOS" = 0 ; then
42729 { echo "$as_me:$LINENO: WARNING: no timezone variable" >&5
42730 echo "$as_me: WARNING: no timezone variable" >&2;}
42736 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
42741 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
42746 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
42748 ac_cpp
='$CPP $CPPFLAGS'
42749 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42750 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42751 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
42756 { echo "$as_me:$LINENO: result: $wx_cv_var_timezone" >&5
42757 echo "${ECHO_T}$wx_cv_var_timezone" >&6; }
42759 if test "x$wx_cv_var_timezone" != x
; then
42760 cat >>confdefs.h
<<_ACEOF
42761 #define WX_TIMEZONE $wx_cv_var_timezone
42767 for ac_func
in localtime
42769 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
42770 { echo "$as_me:$LINENO: checking for $ac_func" >&5
42771 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
42772 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
42773 echo $ECHO_N "(cached) $ECHO_C" >&6
42775 cat >conftest.
$ac_ext <<_ACEOF
42778 cat confdefs.h
>>conftest.
$ac_ext
42779 cat >>conftest.
$ac_ext <<_ACEOF
42780 /* end confdefs.h. */
42781 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
42782 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42783 #define $ac_func innocuous_$ac_func
42785 /* System header to define __stub macros and hopefully few prototypes,
42786 which can conflict with char $ac_func (); below.
42787 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42788 <limits.h> exists even on freestanding compilers. */
42791 # include <limits.h>
42793 # include <assert.h>
42798 /* Override any GCC internal prototype to avoid an error.
42799 Use char because int might match the return type of a GCC
42800 builtin and then its argument prototype would still apply. */
42805 /* The GNU C library defines this for functions which it implements
42806 to always fail with ENOSYS. Some functions are actually named
42807 something starting with __ and the normal name is an alias. */
42808 #if defined __stub_$ac_func || defined __stub___$ac_func
42815 return $ac_func ();
42820 rm -f conftest.
$ac_objext conftest
$ac_exeext
42821 if { (ac_try
="$ac_link"
42822 case "(($ac_try" in
42823 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
42824 *) ac_try_echo=$ac_try;;
42826 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42827 (eval "$ac_link") 2>conftest.er1
42829 grep -v '^ *+' conftest.er1 >conftest.err
42831 cat conftest.err >&5
42832 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42833 (exit $ac_status); } && {
42834 test -z "$ac_c_werror_flag" ||
42835 test ! -s conftest.err
42836 } && test -s conftest$ac_exeext &&
42837 $as_test_x conftest$ac_exeext; then
42838 eval "$as_ac_var=yes"
42840 echo "$as_me: failed program was:" >&5
42841 sed 's/^/| /' conftest.$ac_ext >&5
42843 eval "$as_ac_var=no"
42846 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42847 conftest$ac_exeext conftest.$ac_ext
42849 ac_res=`eval echo '${'$as_ac_var'}'`
42850 { echo "$as_me:$LINENO: result: $ac_res" >&5
42851 echo "${ECHO_T}$ac_res" >&6; }
42852 if test `eval echo '${'$as_ac_var'}'` = yes; then
42853 cat >>confdefs.h <<_ACEOF
42854 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
42861 if test "$ac_cv_func_localtime" = "yes"; then
42862 { echo "$as_me:$LINENO: checking for tm_gmtoff in struct tm" >&5
42863 echo $ECHO_N "checking for tm_gmtoff in struct tm... $ECHO_C" >&6; }
42864 if test "${wx_cv_struct_tm_has_gmtoff+set}" = set; then
42865 echo $ECHO_N "(cached) $ECHO_C" >&6
42868 cat >conftest.$ac_ext <<_ACEOF
42871 cat confdefs.h >>conftest.$ac_ext
42872 cat >>conftest.$ac_ext <<_ACEOF
42873 /* end confdefs.h. */
42888 rm -f conftest.$ac_objext
42889 if { (ac_try="$ac_compile"
42890 case "(($ac_try" in
42891 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
42892 *) ac_try_echo
=$ac_try;;
42894 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42895 (eval "$ac_compile") 2>conftest.er1
42897 grep -v '^ *+' conftest.er1
>conftest.err
42899 cat conftest.err
>&5
42900 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42901 (exit $ac_status); } && {
42902 test -z "$ac_c_werror_flag" ||
42903 test ! -s conftest.err
42904 } && test -s conftest.
$ac_objext; then
42906 wx_cv_struct_tm_has_gmtoff
=yes
42909 echo "$as_me: failed program was:" >&5
42910 sed 's/^/| /' conftest.
$ac_ext >&5
42912 wx_cv_struct_tm_has_gmtoff
=no
42916 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
42919 { echo "$as_me:$LINENO: result: $wx_cv_struct_tm_has_gmtoff" >&5
42920 echo "${ECHO_T}$wx_cv_struct_tm_has_gmtoff" >&6; }
42923 if test "$wx_cv_struct_tm_has_gmtoff" = "yes"; then
42924 cat >>confdefs.h
<<\_ACEOF
42925 #define WX_GMTOFF_IN_TM 1
42932 for ac_func
in gettimeofday ftime
42934 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
42935 { echo "$as_me:$LINENO: checking for $ac_func" >&5
42936 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
42937 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
42938 echo $ECHO_N "(cached) $ECHO_C" >&6
42940 cat >conftest.
$ac_ext <<_ACEOF
42943 cat confdefs.h
>>conftest.
$ac_ext
42944 cat >>conftest.
$ac_ext <<_ACEOF
42945 /* end confdefs.h. */
42946 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
42947 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42948 #define $ac_func innocuous_$ac_func
42950 /* System header to define __stub macros and hopefully few prototypes,
42951 which can conflict with char $ac_func (); below.
42952 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42953 <limits.h> exists even on freestanding compilers. */
42956 # include <limits.h>
42958 # include <assert.h>
42963 /* Override any GCC internal prototype to avoid an error.
42964 Use char because int might match the return type of a GCC
42965 builtin and then its argument prototype would still apply. */
42970 /* The GNU C library defines this for functions which it implements
42971 to always fail with ENOSYS. Some functions are actually named
42972 something starting with __ and the normal name is an alias. */
42973 #if defined __stub_$ac_func || defined __stub___$ac_func
42980 return $ac_func ();
42985 rm -f conftest.
$ac_objext conftest
$ac_exeext
42986 if { (ac_try
="$ac_link"
42987 case "(($ac_try" in
42988 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
42989 *) ac_try_echo=$ac_try;;
42991 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42992 (eval "$ac_link") 2>conftest.er1
42994 grep -v '^ *+' conftest.er1 >conftest.err
42996 cat conftest.err >&5
42997 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42998 (exit $ac_status); } && {
42999 test -z "$ac_c_werror_flag" ||
43000 test ! -s conftest.err
43001 } && test -s conftest$ac_exeext &&
43002 $as_test_x conftest$ac_exeext; then
43003 eval "$as_ac_var=yes"
43005 echo "$as_me: failed program was:" >&5
43006 sed 's/^/| /' conftest.$ac_ext >&5
43008 eval "$as_ac_var=no"
43011 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
43012 conftest$ac_exeext conftest.$ac_ext
43014 ac_res=`eval echo '${'$as_ac_var'}'`
43015 { echo "$as_me:$LINENO: result: $ac_res" >&5
43016 echo "${ECHO_T}$ac_res" >&6; }
43017 if test `eval echo '${'$as_ac_var'}'` = yes; then
43018 cat >>confdefs.h <<_ACEOF
43019 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43026 if test "$ac_cv_func_gettimeofday" = "yes"; then
43027 { echo "$as_me:$LINENO: checking whether gettimeofday takes two arguments" >&5
43028 echo $ECHO_N "checking whether gettimeofday takes two arguments... $ECHO_C" >&6; }
43029 if test "${wx_cv_func_gettimeofday_has_2_args+set}" = set; then
43030 echo $ECHO_N "(cached) $ECHO_C" >&6
43033 cat >conftest.$ac_ext <<_ACEOF
43036 cat confdefs.h >>conftest.$ac_ext
43037 cat >>conftest.$ac_ext <<_ACEOF
43038 /* end confdefs.h. */
43040 #include <sys/time.h>
43041 #include <unistd.h>
43048 gettimeofday(&tv, NULL);
43054 rm -f conftest.$ac_objext
43055 if { (ac_try="$ac_compile"
43056 case "(($ac_try" in
43057 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
43058 *) ac_try_echo
=$ac_try;;
43060 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43061 (eval "$ac_compile") 2>conftest.er1
43063 grep -v '^ *+' conftest.er1
>conftest.err
43065 cat conftest.err
>&5
43066 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43067 (exit $ac_status); } && {
43068 test -z "$ac_c_werror_flag" ||
43069 test ! -s conftest.err
43070 } && test -s conftest.
$ac_objext; then
43071 wx_cv_func_gettimeofday_has_2_args
=yes
43073 echo "$as_me: failed program was:" >&5
43074 sed 's/^/| /' conftest.
$ac_ext >&5
43076 cat >conftest.
$ac_ext <<_ACEOF
43079 cat confdefs.h
>>conftest.
$ac_ext
43080 cat >>conftest.
$ac_ext <<_ACEOF
43081 /* end confdefs.h. */
43083 #include <sys/time.h>
43084 #include <unistd.h>
43097 rm -f conftest.
$ac_objext
43098 if { (ac_try
="$ac_compile"
43099 case "(($ac_try" in
43100 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
43101 *) ac_try_echo=$ac_try;;
43103 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43104 (eval "$ac_compile") 2>conftest.er1
43106 grep -v '^ *+' conftest.er1 >conftest.err
43108 cat conftest.err >&5
43109 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43110 (exit $ac_status); } && {
43111 test -z "$ac_c_werror_flag" ||
43112 test ! -s conftest.err
43113 } && test -s conftest.$ac_objext; then
43114 wx_cv_func_gettimeofday_has_2_args=no
43116 echo "$as_me: failed program was:" >&5
43117 sed 's/^/| /' conftest.$ac_ext >&5
43120 { echo "$as_me:$LINENO: WARNING: failed to determine number of gettimeofday() arguments" >&5
43121 echo "$as_me: WARNING: failed to determine number of gettimeofday() arguments" >&2;}
43122 wx_cv_func_gettimeofday_has_2_args=unknown
43127 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43131 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43134 { echo "$as_me:$LINENO: result: $wx_cv_func_gettimeofday_has_2_args" >&5
43135 echo "${ECHO_T}$wx_cv_func_gettimeofday_has_2_args" >&6; }
43137 if test "$wx_cv_func_gettimeofday_has_2_args" != "yes"; then
43138 cat >>confdefs.h <<\_ACEOF
43139 #define WX_GETTIMEOFDAY_NO_TZ 1
43145 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS typetest"
43149 if test "$wxUSE_SOCKETS" = "yes"; then
43150 if test "$wxUSE_MGL" = "1"; then
43151 { echo "$as_me:$LINENO: WARNING: wxSocket not yet supported under MGL... disabled" >&5
43152 echo "$as_me: WARNING: wxSocket not yet supported under MGL... disabled" >&2;}
43157 if test "$wxUSE_SOCKETS" = "yes"; then
43158 if test "$TOOLKIT" != "MSW"; then
43159 { echo "$as_me:$LINENO: checking for socket" >&5
43160 echo $ECHO_N "checking for socket... $ECHO_C" >&6; }
43161 if test "${ac_cv_func_socket+set}" = set; then
43162 echo $ECHO_N "(cached) $ECHO_C" >&6
43164 cat >conftest.$ac_ext <<_ACEOF
43167 cat confdefs.h >>conftest.$ac_ext
43168 cat >>conftest.$ac_ext <<_ACEOF
43169 /* end confdefs.h. */
43170 /* Define socket to an innocuous variant, in case <limits.h> declares socket.
43171 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43172 #define socket innocuous_socket
43174 /* System header to define __stub macros and hopefully few prototypes,
43175 which can conflict with char socket (); below.
43176 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43177 <limits.h> exists even on freestanding compilers. */
43180 # include <limits.h>
43182 # include <assert.h>
43187 /* Override any GCC internal prototype to avoid an error.
43188 Use char because int might match the return type of a GCC
43189 builtin and then its argument prototype would still apply. */
43194 /* The GNU C library defines this for functions which it implements
43195 to always fail with ENOSYS. Some functions are actually named
43196 something starting with __ and the normal name is an alias. */
43197 #if defined __stub_socket || defined __stub___socket
43209 rm -f conftest.$ac_objext conftest$ac_exeext
43210 if { (ac_try="$ac_link"
43211 case "(($ac_try" in
43212 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
43213 *) ac_try_echo
=$ac_try;;
43215 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43216 (eval "$ac_link") 2>conftest.er1
43218 grep -v '^ *+' conftest.er1
>conftest.err
43220 cat conftest.err
>&5
43221 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43222 (exit $ac_status); } && {
43223 test -z "$ac_c_werror_flag" ||
43224 test ! -s conftest.err
43225 } && test -s conftest
$ac_exeext &&
43226 $as_test_x conftest
$ac_exeext; then
43227 ac_cv_func_socket
=yes
43229 echo "$as_me: failed program was:" >&5
43230 sed 's/^/| /' conftest.
$ac_ext >&5
43232 ac_cv_func_socket
=no
43235 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
43236 conftest
$ac_exeext conftest.
$ac_ext
43238 { echo "$as_me:$LINENO: result: $ac_cv_func_socket" >&5
43239 echo "${ECHO_T}$ac_cv_func_socket" >&6; }
43240 if test $ac_cv_func_socket = yes; then
43244 { echo "$as_me:$LINENO: checking for socket in -lsocket" >&5
43245 echo $ECHO_N "checking for socket in -lsocket... $ECHO_C" >&6; }
43246 if test "${ac_cv_lib_socket_socket+set}" = set; then
43247 echo $ECHO_N "(cached) $ECHO_C" >&6
43249 ac_check_lib_save_LIBS
=$LIBS
43250 LIBS
="-lsocket $LIBS"
43251 cat >conftest.
$ac_ext <<_ACEOF
43254 cat confdefs.h
>>conftest.
$ac_ext
43255 cat >>conftest.
$ac_ext <<_ACEOF
43256 /* end confdefs.h. */
43258 /* Override any GCC internal prototype to avoid an error.
43259 Use char because int might match the return type of a GCC
43260 builtin and then its argument prototype would still apply. */
43273 rm -f conftest.
$ac_objext conftest
$ac_exeext
43274 if { (ac_try
="$ac_link"
43275 case "(($ac_try" in
43276 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
43277 *) ac_try_echo=$ac_try;;
43279 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43280 (eval "$ac_link") 2>conftest.er1
43282 grep -v '^ *+' conftest.er1 >conftest.err
43284 cat conftest.err >&5
43285 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43286 (exit $ac_status); } && {
43287 test -z "$ac_c_werror_flag" ||
43288 test ! -s conftest.err
43289 } && test -s conftest$ac_exeext &&
43290 $as_test_x conftest$ac_exeext; then
43291 ac_cv_lib_socket_socket=yes
43293 echo "$as_me: failed program was:" >&5
43294 sed 's/^/| /' conftest.$ac_ext >&5
43296 ac_cv_lib_socket_socket=no
43299 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
43300 conftest$ac_exeext conftest.$ac_ext
43301 LIBS=$ac_check_lib_save_LIBS
43303 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_socket" >&5
43304 echo "${ECHO_T}$ac_cv_lib_socket_socket" >&6; }
43305 if test $ac_cv_lib_socket_socket = yes; then
43306 if test "$INET_LINK" != " -lsocket"; then
43307 INET_LINK="$INET_LINK -lsocket"
43311 { echo "$as_me:$LINENO: WARNING: socket library not found - sockets will be disabled" >&5
43312 echo "$as_me: WARNING: socket library not found - sockets will be disabled" >&2;}
43325 if test "$wxUSE_SOCKETS" = "yes" ; then
43326 if test "$TOOLKIT" != "MSW"; then
43327 { echo "$as_me:$LINENO: checking what is the type of the third argument of getsockname" >&5
43328 echo $ECHO_N "checking what is the type of the third argument of getsockname... $ECHO_C" >&6; }
43329 if test "${wx_cv_type_getsockname3+set}" = set; then
43330 echo $ECHO_N "(cached) $ECHO_C" >&6
43334 ac_cpp='$CXXCPP $CPPFLAGS'
43335 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43336 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43337 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43339 cat >conftest.$ac_ext <<_ACEOF
43342 cat confdefs.h >>conftest.$ac_ext
43343 cat >>conftest.$ac_ext <<_ACEOF
43344 /* end confdefs.h. */
43346 #include <sys/types.h>
43347 #include <sys/socket.h>
43354 getsockname(0, 0, &len);
43360 rm -f conftest.$ac_objext
43361 if { (ac_try="$ac_compile"
43362 case "(($ac_try" in
43363 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
43364 *) ac_try_echo
=$ac_try;;
43366 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43367 (eval "$ac_compile") 2>conftest.er1
43369 grep -v '^ *+' conftest.er1
>conftest.err
43371 cat conftest.err
>&5
43372 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43373 (exit $ac_status); } && {
43374 test -z "$ac_cxx_werror_flag" ||
43375 test ! -s conftest.err
43376 } && test -s conftest.
$ac_objext; then
43377 wx_cv_type_getsockname3
=socklen_t
43379 echo "$as_me: failed program was:" >&5
43380 sed 's/^/| /' conftest.
$ac_ext >&5
43383 CFLAGS_OLD
="$CFLAGS"
43384 if test "$GCC" = yes ; then
43385 CFLAGS
="-Werror $CFLAGS"
43388 cat >conftest.
$ac_ext <<_ACEOF
43391 cat confdefs.h
>>conftest.
$ac_ext
43392 cat >>conftest.
$ac_ext <<_ACEOF
43393 /* end confdefs.h. */
43395 #include <sys/types.h>
43396 #include <sys/socket.h>
43403 getsockname(0, 0, &len);
43409 rm -f conftest.
$ac_objext
43410 if { (ac_try
="$ac_compile"
43411 case "(($ac_try" in
43412 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
43413 *) ac_try_echo=$ac_try;;
43415 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43416 (eval "$ac_compile") 2>conftest.er1
43418 grep -v '^ *+' conftest.er1 >conftest.err
43420 cat conftest.err >&5
43421 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43422 (exit $ac_status); } && {
43423 test -z "$ac_cxx_werror_flag" ||
43424 test ! -s conftest.err
43425 } && test -s conftest.$ac_objext; then
43426 wx_cv_type_getsockname3=size_t
43428 echo "$as_me: failed program was:" >&5
43429 sed 's/^/| /' conftest.$ac_ext >&5
43431 cat >conftest.$ac_ext <<_ACEOF
43434 cat confdefs.h >>conftest.$ac_ext
43435 cat >>conftest.$ac_ext <<_ACEOF
43436 /* end confdefs.h. */
43438 #include <sys/types.h>
43439 #include <sys/socket.h>
43446 getsockname(0, 0, &len);
43452 rm -f conftest.$ac_objext
43453 if { (ac_try="$ac_compile"
43454 case "(($ac_try" in
43455 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
43456 *) ac_try_echo
=$ac_try;;
43458 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43459 (eval "$ac_compile") 2>conftest.er1
43461 grep -v '^ *+' conftest.er1
>conftest.err
43463 cat conftest.err
>&5
43464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43465 (exit $ac_status); } && {
43466 test -z "$ac_cxx_werror_flag" ||
43467 test ! -s conftest.err
43468 } && test -s conftest.
$ac_objext; then
43469 wx_cv_type_getsockname3
=int
43471 echo "$as_me: failed program was:" >&5
43472 sed 's/^/| /' conftest.
$ac_ext >&5
43474 wx_cv_type_getsockname3
=unknown
43478 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
43482 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
43484 CFLAGS
="$CFLAGS_OLD"
43489 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
43491 ac_cpp
='$CPP $CPPFLAGS'
43492 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43493 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43494 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
43498 { echo "$as_me:$LINENO: result: $wx_cv_type_getsockname3" >&5
43499 echo "${ECHO_T}$wx_cv_type_getsockname3" >&6; }
43501 if test "$wx_cv_type_getsockname3" = "unknown"; then
43503 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
43504 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
43506 cat >>confdefs.h
<<_ACEOF
43507 #define WX_SOCKLEN_T $wx_cv_type_getsockname3
43511 { echo "$as_me:$LINENO: checking what is the type of the fifth argument of getsockopt" >&5
43512 echo $ECHO_N "checking what is the type of the fifth argument of getsockopt... $ECHO_C" >&6; }
43513 if test "${wx_cv_type_getsockopt5+set}" = set; then
43514 echo $ECHO_N "(cached) $ECHO_C" >&6
43517 cat >conftest.
$ac_ext <<_ACEOF
43520 cat confdefs.h
>>conftest.
$ac_ext
43521 cat >>conftest.
$ac_ext <<_ACEOF
43522 /* end confdefs.h. */
43524 #include <sys/types.h>
43525 #include <sys/socket.h>
43532 getsockopt(0, 0, 0, 0, &len);
43538 rm -f conftest.
$ac_objext
43539 if { (ac_try
="$ac_compile"
43540 case "(($ac_try" in
43541 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
43542 *) ac_try_echo=$ac_try;;
43544 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43545 (eval "$ac_compile") 2>conftest.er1
43547 grep -v '^ *+' conftest.er1 >conftest.err
43549 cat conftest.err >&5
43550 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43551 (exit $ac_status); } && {
43552 test -z "$ac_c_werror_flag" ||
43553 test ! -s conftest.err
43554 } && test -s conftest.$ac_objext; then
43555 wx_cv_type_getsockopt5=socklen_t
43557 echo "$as_me: failed program was:" >&5
43558 sed 's/^/| /' conftest.$ac_ext >&5
43562 ac_cpp='$CXXCPP $CPPFLAGS'
43563 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43564 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43565 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43567 cat >conftest.$ac_ext <<_ACEOF
43570 cat confdefs.h >>conftest.$ac_ext
43571 cat >>conftest.$ac_ext <<_ACEOF
43572 /* end confdefs.h. */
43574 #include <sys/types.h>
43575 #include <sys/socket.h>
43582 getsockopt(0, 0, 0, 0, &len);
43588 rm -f conftest.$ac_objext
43589 if { (ac_try="$ac_compile"
43590 case "(($ac_try" in
43591 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
43592 *) ac_try_echo
=$ac_try;;
43594 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43595 (eval "$ac_compile") 2>conftest.er1
43597 grep -v '^ *+' conftest.er1
>conftest.err
43599 cat conftest.err
>&5
43600 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43601 (exit $ac_status); } && {
43602 test -z "$ac_cxx_werror_flag" ||
43603 test ! -s conftest.err
43604 } && test -s conftest.
$ac_objext; then
43605 wx_cv_type_getsockopt5
=size_t
43607 echo "$as_me: failed program was:" >&5
43608 sed 's/^/| /' conftest.
$ac_ext >&5
43610 cat >conftest.
$ac_ext <<_ACEOF
43613 cat confdefs.h
>>conftest.
$ac_ext
43614 cat >>conftest.
$ac_ext <<_ACEOF
43615 /* end confdefs.h. */
43617 #include <sys/types.h>
43618 #include <sys/socket.h>
43625 getsockopt(0, 0, 0, 0, &len);
43631 rm -f conftest.
$ac_objext
43632 if { (ac_try
="$ac_compile"
43633 case "(($ac_try" in
43634 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
43635 *) ac_try_echo=$ac_try;;
43637 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43638 (eval "$ac_compile") 2>conftest.er1
43640 grep -v '^ *+' conftest.er1 >conftest.err
43642 cat conftest.err >&5
43643 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43644 (exit $ac_status); } && {
43645 test -z "$ac_cxx_werror_flag" ||
43646 test ! -s conftest.err
43647 } && test -s conftest.$ac_objext; then
43648 wx_cv_type_getsockopt5=int
43650 echo "$as_me: failed program was:" >&5
43651 sed 's/^/| /' conftest.$ac_ext >&5
43653 wx_cv_type_getsockopt5=unknown
43657 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43661 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43663 ac_cpp='$CPP $CPPFLAGS'
43664 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43665 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43666 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43672 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43675 { echo "$as_me:$LINENO: result: $wx_cv_type_getsockopt5" >&5
43676 echo "${ECHO_T}$wx_cv_type_getsockopt5" >&6; }
43678 if test "$wx_cv_type_getsockopt5" = "unknown"; then
43680 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
43681 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
43683 cat >>confdefs.h <<_ACEOF
43684 #define SOCKOPTLEN_T $wx_cv_type_getsockopt5
43691 if test "$wxUSE_SOCKETS" = "yes" ; then
43692 cat >>confdefs.h <<\_ACEOF
43693 #define wxUSE_SOCKETS 1
43696 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sockets"
43699 if test "$wxUSE_PROTOCOL" = "yes"; then
43700 if test "$wxUSE_SOCKETS" != "yes"; then
43701 { echo "$as_me:$LINENO: WARNING: Protocol classes require sockets... disabled" >&5
43702 echo "$as_me: WARNING: Protocol classes require sockets... disabled" >&2;}
43707 if test "$wxUSE_PROTOCOL" = "yes"; then
43708 cat >>confdefs.h <<\_ACEOF
43709 #define wxUSE_PROTOCOL 1
43713 if test "$wxUSE_PROTOCOL_HTTP" = "yes"; then
43714 cat >>confdefs.h <<\_ACEOF
43715 #define wxUSE_PROTOCOL_HTTP 1
43719 if test "$wxUSE_PROTOCOL_FTP" = "yes"; then
43720 cat >>confdefs.h <<\_ACEOF
43721 #define wxUSE_PROTOCOL_FTP 1
43725 if test "$wxUSE_PROTOCOL_FILE" = "yes"; then
43726 cat >>confdefs.h <<\_ACEOF
43727 #define wxUSE_PROTOCOL_FILE 1
43732 if test "$wxUSE_FS_INET" = "yes"; then
43733 { echo "$as_me:$LINENO: WARNING: HTTP filesystem require protocol classes... disabled" >&5
43734 echo "$as_me: WARNING: HTTP filesystem require protocol classes... disabled" >&2;}
43739 if test "$wxUSE_URL" = "yes"; then
43740 if test "$wxUSE_PROTOCOL" != "yes"; then
43741 { echo "$as_me:$LINENO: WARNING: wxURL class requires wxProtocol... disabled" >&5
43742 echo "$as_me: WARNING: wxURL class requires wxProtocol... disabled" >&2;}
43745 if test "$wxUSE_URL" = "yes"; then
43746 cat >>confdefs.h <<\_ACEOF
43747 #define wxUSE_URL 1
43753 if test "$wxUSE_VARIANT" = "yes"; then
43754 cat >>confdefs.h <<\_ACEOF
43755 #define wxUSE_VARIANT 1
43760 if test "$wxUSE_FS_INET" = "yes"; then
43761 cat >>confdefs.h <<\_ACEOF
43762 #define wxUSE_FS_INET 1
43768 if test "$wxUSE_GUI" = "yes" -a "$wxUSE_JOYSTICK" = "yes"; then
43771 if test "$TOOLKIT" = "MSW"; then
43774 elif test "$TOOLKIT" = "MAC" -o "$TOOLKIT" = "COCOA"; then
43775 if test "$USE_DARWIN" = 1; then
43776 { echo "$as_me:$LINENO: checking headers have declarations needed for joystick support" >&5
43777 echo $ECHO_N "checking headers have declarations needed for joystick support... $ECHO_C" >&6; }
43779 ac_cpp='$CXXCPP $CPPFLAGS'
43780 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43781 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43782 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43784 cat >conftest.$ac_ext <<_ACEOF
43787 cat confdefs.h >>conftest.$ac_ext
43788 cat >>conftest.$ac_ext <<_ACEOF
43789 /* end confdefs.h. */
43790 #include <IOKit/hid/IOHIDLib.h>
43794 IOHIDQueueInterface *qi = NULL;
43795 IOHIDCallbackFunction cb = NULL;
43796 qi->setEventCallout(NULL, cb, NULL, NULL);
43801 rm -f conftest.$ac_objext
43802 if { (ac_try="$ac_compile"
43803 case "(($ac_try" in
43804 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
43805 *) ac_try_echo
=$ac_try;;
43807 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43808 (eval "$ac_compile") 2>conftest.er1
43810 grep -v '^ *+' conftest.er1
>conftest.err
43812 cat conftest.err
>&5
43813 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43814 (exit $ac_status); } && {
43815 test -z "$ac_cxx_werror_flag" ||
43816 test ! -s conftest.err
43817 } && test -s conftest.
$ac_objext; then
43821 echo "$as_me: failed program was:" >&5
43822 sed 's/^/| /' conftest.
$ac_ext >&5
43827 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
43829 ac_cpp
='$CPP $CPPFLAGS'
43830 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43831 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43832 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
43834 { echo "$as_me:$LINENO: result: $wxUSE_JOYSTICK" >&5
43835 echo "${ECHO_T}$wxUSE_JOYSTICK" >&6; }
43839 if test "$wxUSE_MGL" != "1"; then
43840 { echo "$as_me:$LINENO: checking for linux/joystick.h" >&5
43841 echo $ECHO_N "checking for linux/joystick.h... $ECHO_C" >&6; }
43842 if test "${ac_cv_header_linux_joystick_h+set}" = set; then
43843 echo $ECHO_N "(cached) $ECHO_C" >&6
43845 cat >conftest.
$ac_ext <<_ACEOF
43848 cat confdefs.h
>>conftest.
$ac_ext
43849 cat >>conftest.
$ac_ext <<_ACEOF
43850 /* end confdefs.h. */
43851 $ac_includes_default
43853 #include <linux/joystick.h>
43855 rm -f conftest.
$ac_objext
43856 if { (ac_try
="$ac_compile"
43857 case "(($ac_try" in
43858 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
43859 *) ac_try_echo=$ac_try;;
43861 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43862 (eval "$ac_compile") 2>conftest.er1
43864 grep -v '^ *+' conftest.er1 >conftest.err
43866 cat conftest.err >&5
43867 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43868 (exit $ac_status); } && {
43869 test -z "$ac_c_werror_flag" ||
43870 test ! -s conftest.err
43871 } && test -s conftest.$ac_objext; then
43872 ac_cv_header_linux_joystick_h=yes
43874 echo "$as_me: failed program was:" >&5
43875 sed 's/^/| /' conftest.$ac_ext >&5
43877 ac_cv_header_linux_joystick_h=no
43880 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43882 { echo "$as_me:$LINENO: result: $ac_cv_header_linux_joystick_h" >&5
43883 echo "${ECHO_T}$ac_cv_header_linux_joystick_h" >&6; }
43884 if test $ac_cv_header_linux_joystick_h = yes; then
43892 if test "$wxUSE_JOYSTICK" = "yes"; then
43893 cat >>confdefs.h <<\_ACEOF
43894 #define wxUSE_JOYSTICK 1
43897 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS joytest"
43899 { echo "$as_me:$LINENO: WARNING: Joystick not supported by this system... disabled" >&5
43900 echo "$as_me: WARNING: Joystick not supported by this system... disabled" >&2;}
43906 if test "$wxUSE_FONTMAP" = "yes" ; then
43907 cat >>confdefs.h <<\_ACEOF
43908 #define wxUSE_FONTMAP 1
43913 if test "$wxUSE_UNICODE" = "yes" ; then
43914 cat >>confdefs.h <<\_ACEOF
43915 #define wxUSE_UNICODE 1
43919 if test "$USE_WIN32" != 1; then
43920 wxUSE_UNICODE_MSLU=no
43923 if test "$USE_WIN32" = 1 -a "$wxUSE_UNICODE_MSLU" = "yes"; then
43924 { echo "$as_me:$LINENO: checking for main in -lunicows" >&5
43925 echo $ECHO_N "checking for main in -lunicows... $ECHO_C" >&6; }
43926 if test "${ac_cv_lib_unicows_main+set}" = set; then
43927 echo $ECHO_N "(cached) $ECHO_C" >&6
43929 ac_check_lib_save_LIBS=$LIBS
43930 LIBS="-lunicows $LIBS"
43931 cat >conftest.$ac_ext <<_ACEOF
43934 cat confdefs.h >>conftest.$ac_ext
43935 cat >>conftest.$ac_ext <<_ACEOF
43936 /* end confdefs.h. */
43947 rm -f conftest.$ac_objext conftest$ac_exeext
43948 if { (ac_try="$ac_link"
43949 case "(($ac_try" in
43950 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
43951 *) ac_try_echo
=$ac_try;;
43953 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43954 (eval "$ac_link") 2>conftest.er1
43956 grep -v '^ *+' conftest.er1
>conftest.err
43958 cat conftest.err
>&5
43959 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43960 (exit $ac_status); } && {
43961 test -z "$ac_c_werror_flag" ||
43962 test ! -s conftest.err
43963 } && test -s conftest
$ac_exeext &&
43964 $as_test_x conftest
$ac_exeext; then
43965 ac_cv_lib_unicows_main
=yes
43967 echo "$as_me: failed program was:" >&5
43968 sed 's/^/| /' conftest.
$ac_ext >&5
43970 ac_cv_lib_unicows_main
=no
43973 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
43974 conftest
$ac_exeext conftest.
$ac_ext
43975 LIBS
=$ac_check_lib_save_LIBS
43977 { echo "$as_me:$LINENO: result: $ac_cv_lib_unicows_main" >&5
43978 echo "${ECHO_T}$ac_cv_lib_unicows_main" >&6; }
43979 if test $ac_cv_lib_unicows_main = yes; then
43981 cat >>confdefs.h
<<\_ACEOF
43982 #define wxUSE_UNICODE_MSLU 1
43988 { echo "$as_me:$LINENO: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
43989 Applications will only run on Windows NT/2000/XP!" >&5
43990 echo "$as_me: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
43991 Applications will only run on Windows NT/2000/XP!" >&2;}
43992 wxUSE_UNICODE_MSLU
=no
43999 if test "$wxUSE_wxUSE_EXPERIMENTAL_PRINTF" = "yes"; then
44000 cat >>confdefs.h
<<\_ACEOF
44001 #define wxUSE_EXPERIMENTAL_PRINTF 1
44007 if test "$wxUSE_POSTSCRIPT" = "yes" ; then
44008 cat >>confdefs.h
<<\_ACEOF
44009 #define wxUSE_POSTSCRIPT 1
44014 cat >>confdefs.h
<<\_ACEOF
44015 #define wxUSE_AFM_FOR_POSTSCRIPT 1
44019 cat >>confdefs.h
<<\_ACEOF
44020 #define wxUSE_NORMALIZED_PS_FONTS 1
44025 if test "$wxUSE_CONSTRAINTS" = "yes"; then
44026 cat >>confdefs.h
<<\_ACEOF
44027 #define wxUSE_CONSTRAINTS 1
44030 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS layout"
44033 if test "$wxUSE_MDI" = "yes"; then
44034 cat >>confdefs.h
<<\_ACEOF
44035 #define wxUSE_MDI 1
44039 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
44040 cat >>confdefs.h
<<\_ACEOF
44041 #define wxUSE_MDI_ARCHITECTURE 1
44044 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS mdi"
44048 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = "yes" ; then
44049 cat >>confdefs.h
<<\_ACEOF
44050 #define wxUSE_DOC_VIEW_ARCHITECTURE 1
44053 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS docview"
44054 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
44055 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS docvwmdi"
44059 if test "$wxUSE_HELP" = "yes"; then
44060 cat >>confdefs.h
<<\_ACEOF
44061 #define wxUSE_HELP 1
44064 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS help"
44066 if test "$wxUSE_MSW" = 1; then
44067 if test "$wxUSE_MS_HTML_HELP" = "yes"; then
44068 cat >>confdefs.h
<<\_ACEOF
44069 #define wxUSE_MS_HTML_HELP 1
44075 if test "$wxUSE_WXHTML_HELP" = "yes"; then
44076 if test "$wxUSE_HTML" = "yes"; then
44077 cat >>confdefs.h
<<\_ACEOF
44078 #define wxUSE_WXHTML_HELP 1
44082 { echo "$as_me:$LINENO: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&5
44083 echo "$as_me: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&2;}
44084 wxUSE_WXHTML_HELP
=no
44089 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
44090 if test "$wxUSE_CONSTRAINTS" != "yes"; then
44091 { echo "$as_me:$LINENO: WARNING: Printing support cannot be used without constraints so it won't be compiled without it" >&5
44092 echo "$as_me: WARNING: Printing support cannot be used without constraints so it won't be compiled without it" >&2;}
44094 cat >>confdefs.h
<<\_ACEOF
44095 #define wxUSE_PRINTING_ARCHITECTURE 1
44099 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS printing"
44102 if test "$wxUSE_PROLOGIO" = "yes" -o "$wxUSE_RESOURCES" = "yes"; then
44103 { { echo "$as_me:$LINENO: error: wxExpr and old-style resources are now available in contrib only" >&5
44104 echo "$as_me: error: wxExpr and old-style resources are now available in contrib only" >&2;}
44105 { (exit 1); exit 1; }; }
44109 if test "$wxUSE_METAFILE" = "yes"; then
44110 if test "$wxUSE_MSW" != 1 -a "$wxUSE_MAC" != 1 -a "$wxUSE_PM" != 1; then
44111 { echo "$as_me:$LINENO: WARNING: wxMetafile is not available on this system... disabled" >&5
44112 echo "$as_me: WARNING: wxMetafile is not available on this system... disabled" >&2;}
44118 if test "$USE_WIN32" = 1 -a \
( "$wxUSE_DATAOBJ" = "yes" \
44119 -o "$wxUSE_CLIPBOARD" = "yes" \
44120 -o "$wxUSE_OLE" = "yes" \
44121 -o "$wxUSE_DRAG_AND_DROP" = "yes" \
) ; then
44122 { echo "$as_me:$LINENO: checking for ole2.h" >&5
44123 echo $ECHO_N "checking for ole2.h... $ECHO_C" >&6; }
44124 if test "${ac_cv_header_ole2_h+set}" = set; then
44125 echo $ECHO_N "(cached) $ECHO_C" >&6
44127 cat >conftest.
$ac_ext <<_ACEOF
44130 cat confdefs.h
>>conftest.
$ac_ext
44131 cat >>conftest.
$ac_ext <<_ACEOF
44132 /* end confdefs.h. */
44137 rm -f conftest.
$ac_objext
44138 if { (ac_try
="$ac_compile"
44139 case "(($ac_try" in
44140 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
44141 *) ac_try_echo=$ac_try;;
44143 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44144 (eval "$ac_compile") 2>conftest.er1
44146 grep -v '^ *+' conftest.er1 >conftest.err
44148 cat conftest.err >&5
44149 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44150 (exit $ac_status); } && {
44151 test -z "$ac_c_werror_flag" ||
44152 test ! -s conftest.err
44153 } && test -s conftest.$ac_objext; then
44154 ac_cv_header_ole2_h=yes
44156 echo "$as_me: failed program was:" >&5
44157 sed 's/^/| /' conftest.$ac_ext >&5
44159 ac_cv_header_ole2_h=no
44162 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44164 { echo "$as_me:$LINENO: result: $ac_cv_header_ole2_h" >&5
44165 echo "${ECHO_T}$ac_cv_header_ole2_h" >&6; }
44169 if test "$ac_cv_header_ole2_h" = "yes" ; then
44170 if test "$GCC" = yes ; then
44171 { echo "$as_me:$LINENO: checking if g++ requires -fvtable-thunks" >&5
44172 echo $ECHO_N "checking if g++ requires -fvtable-thunks... $ECHO_C" >&6; }
44173 cat >conftest.$ac_ext <<_ACEOF
44176 cat confdefs.h >>conftest.$ac_ext
44177 cat >>conftest.$ac_ext <<_ACEOF
44178 /* end confdefs.h. */
44179 #include <windows.h>
44189 rm -f conftest.$ac_objext
44190 if { (ac_try="$ac_compile"
44191 case "(($ac_try" in
44192 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
44193 *) ac_try_echo
=$ac_try;;
44195 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44196 (eval "$ac_compile") 2>conftest.er1
44198 grep -v '^ *+' conftest.er1
>conftest.err
44200 cat conftest.err
>&5
44201 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44202 (exit $ac_status); } && {
44203 test -z "$ac_c_werror_flag" ||
44204 test ! -s conftest.err
44205 } && test -s conftest.
$ac_objext; then
44206 { echo "$as_me:$LINENO: result: no" >&5
44207 echo "${ECHO_T}no" >&6; }
44209 echo "$as_me: failed program was:" >&5
44210 sed 's/^/| /' conftest.
$ac_ext >&5
44212 { echo "$as_me:$LINENO: result: yes" >&5
44213 echo "${ECHO_T}yes" >&6; }
44214 WXCONFIG_CXXFLAGS
="$WXCONFIG_CXXFLAGS -fvtable-thunks"
44217 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
44218 LIBS
=" -lrpcrt4 -loleaut32 -lole32 -luuid$LIBS"
44219 if test "$wxUSE_OLE" = "yes" ; then
44220 cat >>confdefs.h
<<\_ACEOF
44221 #define wxUSE_OLE 1
44224 cat >>confdefs.h
<<\_ACEOF
44225 #define wxUSE_OLE_AUTOMATION 1
44228 cat >>confdefs.h
<<\_ACEOF
44229 #define wxUSE_ACTIVEX 1
44232 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS oleauto"
44236 if test "$wxUSE_DATAOBJ" = "yes" ; then
44237 cat >>confdefs.h
<<\_ACEOF
44238 #define wxUSE_DATAOBJ 1
44243 { echo "$as_me:$LINENO: WARNING: Some features disabled because OLE headers not found" >&5
44244 echo "$as_me: WARNING: Some features disabled because OLE headers not found" >&2;}
44247 wxUSE_DRAG_AND_DROP
=no
44252 if test "$wxUSE_METAFILE" = "yes"; then
44253 cat >>confdefs.h
<<\_ACEOF
44254 #define wxUSE_METAFILE 1
44258 cat >>confdefs.h
<<\_ACEOF
44259 #define wxUSE_ENH_METAFILE 1
44265 if test "$wxUSE_IPC" = "yes"; then
44266 if test "$wxUSE_SOCKETS" != "yes" -a "$USE_WIN32" != 1; then
44267 { echo "$as_me:$LINENO: WARNING: wxWidgets IPC classes require sockets... disabled" >&5
44268 echo "$as_me: WARNING: wxWidgets IPC classes require sockets... disabled" >&2;}
44272 if test "$wxUSE_IPC" = "yes"; then
44273 cat >>confdefs.h
<<\_ACEOF
44274 #define wxUSE_IPC 1
44277 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS ipc"
44281 if test "$wxUSE_DATAOBJ" = "yes"; then
44282 if test "$wxUSE_MGL" = 1 -o "$wxUSE_DFB" = 1; then
44283 { echo "$as_me:$LINENO: WARNING: wxDataObject not yet supported under $TOOLKIT... disabled" >&5
44284 echo "$as_me: WARNING: wxDataObject not yet supported under $TOOLKIT... disabled" >&2;}
44287 cat >>confdefs.h
<<\_ACEOF
44288 #define wxUSE_DATAOBJ 1
44293 { echo "$as_me:$LINENO: WARNING: Clipboard and drag-and-drop require wxDataObject -- disabled" >&5
44294 echo "$as_me: WARNING: Clipboard and drag-and-drop require wxDataObject -- disabled" >&2;}
44296 wxUSE_DRAG_AND_DROP
=no
44299 if test "$wxUSE_CLIPBOARD" = "yes"; then
44300 if test "$wxUSE_MGL" = 1 -o "$wxUSE_DFB" = 1; then
44301 { echo "$as_me:$LINENO: WARNING: Clipboard not yet supported under $TOOLKIT... disabled" >&5
44302 echo "$as_me: WARNING: Clipboard not yet supported under $TOOLKIT... disabled" >&2;}
44306 if test "$wxUSE_CLIPBOARD" = "yes"; then
44307 cat >>confdefs.h
<<\_ACEOF
44308 #define wxUSE_CLIPBOARD 1
44314 if test "$wxUSE_DRAG_AND_DROP" = "yes" ; then
44315 if test "$wxUSE_GTK" = 1; then
44316 if test "$WXGTK12" != 1; then
44317 { echo "$as_me:$LINENO: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&5
44318 echo "$as_me: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&2;}
44319 wxUSE_DRAG_AND_DROP
=no
44323 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_X11" = 1 -o "$wxUSE_MGL" = 1 -o \
44324 "$wxUSE_DFB" = 1; then
44325 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under $TOOLKIT... disabled" >&5
44326 echo "$as_me: WARNING: Drag and drop not yet supported under $TOOLKIT... disabled" >&2;}
44327 wxUSE_DRAG_AND_DROP
=no
44330 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
44331 cat >>confdefs.h
<<\_ACEOF
44332 #define wxUSE_DRAG_AND_DROP 1
44339 if test "$wxUSE_DRAG_AND_DROP" = "yes" -o "$wxUSE_CLIPBOARD" = "yes"; then
44340 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dnd"
44343 if test "$wxUSE_SPLINES" = "yes" ; then
44344 cat >>confdefs.h
<<\_ACEOF
44345 #define wxUSE_SPLINES 1
44350 if test "$wxUSE_MOUSEWHEEL" = "yes" ; then
44351 cat >>confdefs.h
<<\_ACEOF
44352 #define wxUSE_MOUSEWHEEL 1
44359 if test "$wxUSE_CONTROLS" = "yes"; then
44363 if test "$wxUSE_ACCEL" = "yes"; then
44364 cat >>confdefs.h
<<\_ACEOF
44365 #define wxUSE_ACCEL 1
44371 if test "$wxUSE_ANIMATIONCTRL" = "yes"; then
44372 cat >>confdefs.h
<<\_ACEOF
44373 #define wxUSE_ANIMATIONCTRL 1
44377 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS animate"
44380 if test "$wxUSE_BUTTON" = "yes"; then
44381 cat >>confdefs.h
<<\_ACEOF
44382 #define wxUSE_BUTTON 1
44388 if test "$wxUSE_BMPBUTTON" = "yes"; then
44389 cat >>confdefs.h
<<\_ACEOF
44390 #define wxUSE_BMPBUTTON 1
44396 if test "$wxUSE_CALCTRL" = "yes"; then
44397 cat >>confdefs.h
<<\_ACEOF
44398 #define wxUSE_CALENDARCTRL 1
44402 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS calendar"
44405 if test "$wxUSE_CARET" = "yes"; then
44406 cat >>confdefs.h
<<\_ACEOF
44407 #define wxUSE_CARET 1
44411 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS caret"
44414 if test "$wxUSE_COLLPANE" = "yes"; then
44415 cat >>confdefs.h
<<\_ACEOF
44416 #define wxUSE_COLLPANE 1
44420 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS collpane"
44423 if test "$wxUSE_COMBOBOX" = "yes"; then
44424 cat >>confdefs.h
<<\_ACEOF
44425 #define wxUSE_COMBOBOX 1
44431 if test "$wxUSE_COMBOCTRL" = "yes"; then
44432 cat >>confdefs.h
<<\_ACEOF
44433 #define wxUSE_COMBOCTRL 1
44439 if test "$wxUSE_CHOICE" = "yes"; then
44440 cat >>confdefs.h
<<\_ACEOF
44441 #define wxUSE_CHOICE 1
44447 if test "$wxUSE_CHOICEBOOK" = "yes"; then
44448 cat >>confdefs.h
<<\_ACEOF
44449 #define wxUSE_CHOICEBOOK 1
44455 if test "$wxUSE_CHECKBOX" = "yes"; then
44456 cat >>confdefs.h
<<\_ACEOF
44457 #define wxUSE_CHECKBOX 1
44463 if test "$wxUSE_CHECKLST" = "yes"; then
44464 cat >>confdefs.h
<<\_ACEOF
44465 #define wxUSE_CHECKLISTBOX 1
44469 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS checklst"
44472 if test "$wxUSE_COLOURPICKERCTRL" = "yes"; then
44473 cat >>confdefs.h
<<\_ACEOF
44474 #define wxUSE_COLOURPICKERCTRL 1
44480 if test "$wxUSE_DATEPICKCTRL" = "yes"; then
44481 cat >>confdefs.h
<<\_ACEOF
44482 #define wxUSE_DATEPICKCTRL 1
44488 if test "$wxUSE_DIRPICKERCTRL" = "yes"; then
44489 cat >>confdefs.h
<<\_ACEOF
44490 #define wxUSE_DIRPICKERCTRL 1
44496 if test "$wxUSE_FILEPICKERCTRL" = "yes"; then
44497 cat >>confdefs.h
<<\_ACEOF
44498 #define wxUSE_FILEPICKERCTRL 1
44504 if test "$wxUSE_FONTPICKERCTRL" = "yes"; then
44505 cat >>confdefs.h
<<\_ACEOF
44506 #define wxUSE_FONTPICKERCTRL 1
44512 if test "$wxUSE_DISPLAY" = "yes"; then
44513 if test "$wxUSE_DFB" = 1 -o "$wxUSE_MGL" = 1; then
44514 { echo "$as_me:$LINENO: WARNING: wxDisplay not yet supported under $TOOLKIT... disabled" >&5
44515 echo "$as_me: WARNING: wxDisplay not yet supported under $TOOLKIT... disabled" >&2;}
44518 cat >>confdefs.h
<<\_ACEOF
44519 #define wxUSE_DISPLAY 1
44522 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS display multimon"
44526 if test "$wxUSE_DETECT_SM" = "yes"; then
44527 cat >>confdefs.h
<<\_ACEOF
44528 #define wxUSE_DETECT_SM 1
44533 if test "$wxUSE_GAUGE" = "yes"; then
44534 cat >>confdefs.h
<<\_ACEOF
44535 #define wxUSE_GAUGE 1
44541 if test "$wxUSE_GRID" = "yes"; then
44542 cat >>confdefs.h
<<\_ACEOF
44543 #define wxUSE_GRID 1
44547 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS grid"
44550 if test "$wxUSE_HYPERLINKCTRL" = "yes"; then
44551 cat >>confdefs.h
<<\_ACEOF
44552 #define wxUSE_HYPERLINKCTRL 1
44558 if test "$wxUSE_BITMAPCOMBOBOX" = "yes"; then
44559 cat >>confdefs.h
<<\_ACEOF
44560 #define wxUSE_BITMAPCOMBOBOX 1
44566 if test "$wxUSE_DATAVIEWCTRL" = "yes"; then
44567 cat >>confdefs.h
<<\_ACEOF
44568 #define wxUSE_DATAVIEWCTRL 1
44572 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dataview"
44575 if test "$wxUSE_IMAGLIST" = "yes"; then
44576 cat >>confdefs.h
<<\_ACEOF
44577 #define wxUSE_IMAGLIST 1
44582 if test "$wxUSE_LISTBOOK" = "yes"; then
44583 cat >>confdefs.h
<<\_ACEOF
44584 #define wxUSE_LISTBOOK 1
44590 if test "$wxUSE_LISTBOX" = "yes"; then
44591 cat >>confdefs.h
<<\_ACEOF
44592 #define wxUSE_LISTBOX 1
44596 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS listbox"
44599 if test "$wxUSE_LISTCTRL" = "yes"; then
44600 if test "$wxUSE_IMAGLIST" = "yes"; then
44601 cat >>confdefs.h
<<\_ACEOF
44602 #define wxUSE_LISTCTRL 1
44606 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS listctrl"
44608 { echo "$as_me:$LINENO: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&5
44609 echo "$as_me: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&2;}
44613 if test "$wxUSE_NOTEBOOK" = "yes"; then
44614 cat >>confdefs.h
<<\_ACEOF
44615 #define wxUSE_NOTEBOOK 1
44619 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS notebook"
44622 if test "$wxUSE_ODCOMBOBOX" = "yes"; then
44623 cat >>confdefs.h
<<\_ACEOF
44624 #define wxUSE_ODCOMBOBOX 1
44628 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS combo"
44632 if test "$wxUSE_RADIOBOX" = "yes"; then
44633 cat >>confdefs.h
<<\_ACEOF
44634 #define wxUSE_RADIOBOX 1
44640 if test "$wxUSE_RADIOBTN" = "yes"; then
44641 cat >>confdefs.h
<<\_ACEOF
44642 #define wxUSE_RADIOBTN 1
44648 if test "$wxUSE_SASH" = "yes"; then
44649 cat >>confdefs.h
<<\_ACEOF
44650 #define wxUSE_SASH 1
44653 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS sashtest"
44656 if test "$wxUSE_SCROLLBAR" = "yes"; then
44657 cat >>confdefs.h
<<\_ACEOF
44658 #define wxUSE_SCROLLBAR 1
44662 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS scroll scrollsub"
44665 if test "$wxUSE_SEARCHCTRL" = "yes"; then
44666 cat >>confdefs.h
<<\_ACEOF
44667 #define wxUSE_SEARCHCTRL 1
44673 if test "$wxUSE_SLIDER" = "yes"; then
44674 cat >>confdefs.h
<<\_ACEOF
44675 #define wxUSE_SLIDER 1
44681 if test "$wxUSE_SPINBTN" = "yes"; then
44682 cat >>confdefs.h
<<\_ACEOF
44683 #define wxUSE_SPINBTN 1
44689 if test "$wxUSE_SPINCTRL" = "yes"; then
44690 cat >>confdefs.h
<<\_ACEOF
44691 #define wxUSE_SPINCTRL 1
44697 if test "$wxUSE_SPLITTER" = "yes"; then
44698 cat >>confdefs.h
<<\_ACEOF
44699 #define wxUSE_SPLITTER 1
44702 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS splitter"
44705 if test "$wxUSE_STATBMP" = "yes"; then
44706 cat >>confdefs.h
<<\_ACEOF
44707 #define wxUSE_STATBMP 1
44713 if test "$wxUSE_STATBOX" = "yes"; then
44714 cat >>confdefs.h
<<\_ACEOF
44715 #define wxUSE_STATBOX 1
44721 if test "$wxUSE_STATTEXT" = "yes"; then
44722 cat >>confdefs.h
<<\_ACEOF
44723 #define wxUSE_STATTEXT 1
44729 if test "$wxUSE_STATLINE" = "yes"; then
44730 cat >>confdefs.h
<<\_ACEOF
44731 #define wxUSE_STATLINE 1
44737 if test "$wxUSE_STATUSBAR" = "yes"; then
44738 cat >>confdefs.h
<<\_ACEOF
44739 #define wxUSE_NATIVE_STATUSBAR 1
44742 cat >>confdefs.h
<<\_ACEOF
44743 #define wxUSE_STATUSBAR 1
44748 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS statbar"
44751 if test "$wxUSE_TAB_DIALOG" = "yes"; then
44752 cat >>confdefs.h
<<\_ACEOF
44753 #define wxUSE_TAB_DIALOG 1
44758 if test "$wxUSE_TEXTCTRL" = "yes"; then
44759 cat >>confdefs.h
<<\_ACEOF
44760 #define wxUSE_TEXTCTRL 1
44764 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS text"
44767 if test "$wxUSE_TOGGLEBTN" = "yes"; then
44768 if test "$wxUSE_COCOA" = 1 ; then
44769 { echo "$as_me:$LINENO: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&5
44770 echo "$as_me: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&2;}
44774 if test "$wxUSE_TOGGLEBTN" = "yes"; then
44775 cat >>confdefs.h
<<\_ACEOF
44776 #define wxUSE_TOGGLEBTN 1
44783 if test "$wxUSE_TOOLBAR" = "yes"; then
44784 cat >>confdefs.h
<<\_ACEOF
44785 #define wxUSE_TOOLBAR 1
44790 if test "$wxUSE_UNIVERSAL" = "yes"; then
44791 wxUSE_TOOLBAR_NATIVE
="no"
44793 wxUSE_TOOLBAR_NATIVE
="yes"
44794 cat >>confdefs.h
<<\_ACEOF
44795 #define wxUSE_TOOLBAR_NATIVE 1
44800 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS toolbar"
44803 if test "$wxUSE_TOOLTIPS" = "yes"; then
44804 if test "$wxUSE_MOTIF" = 1; then
44805 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet under Motif... disabled" >&5
44806 echo "$as_me: WARNING: wxTooltip not supported yet under Motif... disabled" >&2;}
44808 if test "$wxUSE_UNIVERSAL" = "yes"; then
44809 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&5
44810 echo "$as_me: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&2;}
44812 cat >>confdefs.h
<<\_ACEOF
44813 #define wxUSE_TOOLTIPS 1
44820 if test "$wxUSE_TREEBOOK" = "yes"; then
44821 cat >>confdefs.h
<<\_ACEOF
44822 #define wxUSE_TREEBOOK 1
44828 if test "$wxUSE_TOOLBOOK" = "yes"; then
44829 cat >>confdefs.h
<<\_ACEOF
44830 #define wxUSE_TOOLBOOK 1
44836 if test "$wxUSE_TREECTRL" = "yes"; then
44837 if test "$wxUSE_IMAGLIST" = "yes"; then
44838 cat >>confdefs.h
<<\_ACEOF
44839 #define wxUSE_TREECTRL 1
44843 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS treectrl"
44845 { echo "$as_me:$LINENO: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&5
44846 echo "$as_me: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&2;}
44850 if test "$wxUSE_POPUPWIN" = "yes"; then
44851 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 ; then
44852 { echo "$as_me:$LINENO: WARNING: Popup window not yet supported under Mac OS X... disabled" >&5
44853 echo "$as_me: WARNING: Popup window not yet supported under Mac OS X... disabled" >&2;}
44855 if test "$wxUSE_PM" = 1; then
44856 { echo "$as_me:$LINENO: WARNING: wxPopupWindow not yet supported under PM... disabled" >&5
44857 echo "$as_me: WARNING: wxPopupWindow not yet supported under PM... disabled" >&2;}
44859 cat >>confdefs.h
<<\_ACEOF
44860 #define wxUSE_POPUPWIN 1
44863 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS popup"
44870 if test "$wxUSE_DIALUP_MANAGER" = "yes"; then
44871 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 -o "$wxUSE_MGL" = 1; then
44872 { echo "$as_me:$LINENO: WARNING: Dialup manager not supported on this platform... disabled" >&5
44873 echo "$as_me: WARNING: Dialup manager not supported on this platform... disabled" >&2;}
44875 cat >>confdefs.h
<<\_ACEOF
44876 #define wxUSE_DIALUP_MANAGER 1
44879 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dialup"
44883 if test "$wxUSE_TIPWINDOW" = "yes"; then
44884 if test "$wxUSE_PM" = 1; then
44885 { echo "$as_me:$LINENO: WARNING: wxTipWindow not yet supported under PM... disabled" >&5
44886 echo "$as_me: WARNING: wxTipWindow not yet supported under PM... disabled" >&2;}
44888 cat >>confdefs.h
<<\_ACEOF
44889 #define wxUSE_TIPWINDOW 1
44895 if test "$USES_CONTROLS" = 1; then
44896 cat >>confdefs.h
<<\_ACEOF
44897 #define wxUSE_CONTROLS 1
44903 if test "$wxUSE_ACCESSIBILITY" = "yes"; then
44904 cat >>confdefs.h
<<\_ACEOF
44905 #define wxUSE_ACCESSIBILITY 1
44908 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS access"
44911 if test "$wxUSE_DC_CACHEING" = "yes"; then
44912 cat >>confdefs.h
<<\_ACEOF
44913 #define wxUSE_DC_CACHEING 1
44918 if test "$wxUSE_DRAGIMAGE" = "yes"; then
44919 cat >>confdefs.h
<<\_ACEOF
44920 #define wxUSE_DRAGIMAGE 1
44923 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dragimag"
44926 if test "$wxUSE_EXCEPTIONS" = "yes"; then
44927 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
44928 { echo "$as_me:$LINENO: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&5
44929 echo "$as_me: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&2;}
44931 cat >>confdefs.h
<<\_ACEOF
44932 #define wxUSE_EXCEPTIONS 1
44935 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS except"
44940 if test "$wxUSE_HTML" = "yes"; then
44941 cat >>confdefs.h
<<\_ACEOF
44942 #define wxUSE_HTML 1
44946 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS html html/about html/help html/helpview html/printing html/test html/virtual html/widget html/zip htlbox"
44947 if test "$wxUSE_MAC" = 1; then
44948 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS html/htmlctrl"
44951 if test "$wxUSE_WEBKIT" = "yes"; then
44952 if test "$wxUSE_MAC" = 1 -a "$USE_DARWIN" = 1; then
44953 old_CPPFLAGS
="$CPPFLAGS"
44954 CPPFLAGS
="-x objective-c++ $CPPFLAGS"
44955 { echo "$as_me:$LINENO: checking for WebKit/HIWebView.h" >&5
44956 echo $ECHO_N "checking for WebKit/HIWebView.h... $ECHO_C" >&6; }
44957 if test "${ac_cv_header_WebKit_HIWebView_h+set}" = set; then
44958 echo $ECHO_N "(cached) $ECHO_C" >&6
44960 cat >conftest.
$ac_ext <<_ACEOF
44963 cat confdefs.h
>>conftest.
$ac_ext
44964 cat >>conftest.
$ac_ext <<_ACEOF
44965 /* end confdefs.h. */
44967 #include <Carbon/Carbon.h>
44968 #include <WebKit/WebKit.h>
44971 #include <WebKit/HIWebView.h>
44973 rm -f conftest.
$ac_objext
44974 if { (ac_try
="$ac_compile"
44975 case "(($ac_try" in
44976 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
44977 *) ac_try_echo=$ac_try;;
44979 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44980 (eval "$ac_compile") 2>conftest.er1
44982 grep -v '^ *+' conftest.er1 >conftest.err
44984 cat conftest.err >&5
44985 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44986 (exit $ac_status); } && {
44987 test -z "$ac_c_werror_flag" ||
44988 test ! -s conftest.err
44989 } && test -s conftest.$ac_objext; then
44990 ac_cv_header_WebKit_HIWebView_h=yes
44992 echo "$as_me: failed program was:" >&5
44993 sed 's/^/| /' conftest.$ac_ext >&5
44995 ac_cv_header_WebKit_HIWebView_h=no
44998 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45000 { echo "$as_me:$LINENO: result: $ac_cv_header_WebKit_HIWebView_h" >&5
45001 echo "${ECHO_T}$ac_cv_header_WebKit_HIWebView_h" >&6; }
45002 if test $ac_cv_header_WebKit_HIWebView_h = yes; then
45004 cat >>confdefs.h <<\_ACEOF
45005 #define wxUSE_WEBKIT 1
45008 WEBKIT_LINK="-framework WebKit"
45012 { echo "$as_me:$LINENO: WARNING: WebKit headers not found; disabling wxWebKit" >&5
45013 echo "$as_me: WARNING: WebKit headers not found; disabling wxWebKit" >&2;}
45019 CPPFLAGS="$old_CPPFLAGS"
45020 elif test "$wxUSE_COCOA" = 1; then
45021 cat >>confdefs.h <<\_ACEOF
45022 #define wxUSE_WEBKIT 1
45031 if test "$wxUSE_XRC" = "yes"; then
45032 if test "$wxUSE_XML" != "yes"; then
45033 { echo "$as_me:$LINENO: WARNING: XML library not built, XRC resources disabled" >&5
45034 echo "$as_me: WARNING: XML library not built, XRC resources disabled" >&2;}
45037 cat >>confdefs.h <<\_ACEOF
45038 #define wxUSE_XRC 1
45042 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS xrc"
45047 if test "$wxUSE_AUI" = "yes"; then
45048 cat >>confdefs.h <<\_ACEOF
45049 #define wxUSE_AUI 1
45053 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS aui"
45056 if test "$wxUSE_MENUS" = "yes"; then
45057 cat >>confdefs.h <<\_ACEOF
45058 #define wxUSE_MENUS 1
45061 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS menu"
45064 if test "$wxUSE_METAFILE" = "yes"; then
45065 cat >>confdefs.h <<\_ACEOF
45066 #define wxUSE_METAFILE 1
45071 if test "$wxUSE_MIMETYPE" = "yes"; then
45072 cat >>confdefs.h <<\_ACEOF
45073 #define wxUSE_MIMETYPE 1
45078 if test "$wxUSE_MINIFRAME" = "yes"; then
45079 cat >>confdefs.h <<\_ACEOF
45080 #define wxUSE_MINIFRAME 1
45083 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS minifram"
45086 if test "$wxUSE_SYSTEM_OPTIONS" = "yes"; then
45087 cat >>confdefs.h <<\_ACEOF
45088 #define wxUSE_SYSTEM_OPTIONS 1
45091 if test "$TOOLKIT" = "MSW" -o "$TOOLKIT" = "GTK" -o "$TOOLKIT" = "X11" -o \
45092 "$TOOLKIT" = "MOTIF" -o "$TOOLKIT" = "COCOA"; then
45093 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS taskbar"
45098 if test "$wxUSE_VALIDATORS" = "yes"; then
45099 cat >>confdefs.h <<\_ACEOF
45100 #define wxUSE_VALIDATORS 1
45103 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS validate"
45106 if test "$wxUSE_PALETTE" = "yes" ; then
45107 if test "$wxUSE_DFB" = 1; then
45108 { echo "$as_me:$LINENO: WARNING: wxPalette not yet supported under DFB... disabled" >&5
45109 echo "$as_me: WARNING: wxPalette not yet supported under DFB... disabled" >&2;}
45112 cat >>confdefs.h <<\_ACEOF
45113 #define wxUSE_PALETTE 1
45119 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_MSLU" = "yes" ; then
45120 LIBS=" -lunicows $LIBS"
45124 if test "$wxUSE_RICHTEXT" = "yes"; then
45125 cat >>confdefs.h <<\_ACEOF
45126 #define wxUSE_RICHTEXT 1
45130 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS richtext"
45134 if test "$wxUSE_IMAGE" = "yes" ; then
45135 cat >>confdefs.h <<\_ACEOF
45136 #define wxUSE_IMAGE 1
45140 if test "$wxUSE_GIF" = "yes" ; then
45141 cat >>confdefs.h <<\_ACEOF
45142 #define wxUSE_GIF 1
45147 if test "$wxUSE_PCX" = "yes" ; then
45148 cat >>confdefs.h <<\_ACEOF
45149 #define wxUSE_PCX 1
45154 if test "$wxUSE_TGA" = "yes" ; then
45155 cat >>confdefs.h <<\_ACEOF
45156 #define wxUSE_TGA 1
45161 if test "$wxUSE_IFF" = "yes" ; then
45162 cat >>confdefs.h <<\_ACEOF
45163 #define wxUSE_IFF 1
45168 if test "$wxUSE_PNM" = "yes" ; then
45169 cat >>confdefs.h <<\_ACEOF
45170 #define wxUSE_PNM 1
45175 if test "$wxUSE_XPM" = "yes" ; then
45176 cat >>confdefs.h <<\_ACEOF
45177 #define wxUSE_XPM 1
45182 if test "$wxUSE_ICO_CUR" = "yes" ; then
45183 cat >>confdefs.h <<\_ACEOF
45184 #define wxUSE_ICO_CUR 1
45191 if test "$wxUSE_ABOUTDLG" = "yes"; then
45192 cat >>confdefs.h <<\_ACEOF
45193 #define wxUSE_ABOUTDLG 1
45198 if test "$wxUSE_CHOICEDLG" = "yes"; then
45199 cat >>confdefs.h <<\_ACEOF
45200 #define wxUSE_CHOICEDLG 1
45205 if test "$wxUSE_COLOURDLG" = "yes"; then
45206 cat >>confdefs.h <<\_ACEOF
45207 #define wxUSE_COLOURDLG 1
45212 if test "$wxUSE_FILEDLG" = "yes"; then
45213 cat >>confdefs.h <<\_ACEOF
45214 #define wxUSE_FILEDLG 1
45219 if test "$wxUSE_FINDREPLDLG" = "yes"; then
45220 cat >>confdefs.h <<\_ACEOF
45221 #define wxUSE_FINDREPLDLG 1
45226 if test "$wxUSE_FONTDLG" = "yes"; then
45227 cat >>confdefs.h <<\_ACEOF
45228 #define wxUSE_FONTDLG 1
45233 if test "$wxUSE_DIRDLG" = "yes"; then
45234 if test "$wxUSE_TREECTRL" != "yes"; then
45235 { echo "$as_me:$LINENO: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&5
45236 echo "$as_me: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&2;}
45238 cat >>confdefs.h <<\_ACEOF
45239 #define wxUSE_DIRDLG 1
45245 if test "$wxUSE_MSGDLG" = "yes"; then
45246 cat >>confdefs.h <<\_ACEOF
45247 #define wxUSE_MSGDLG 1
45252 if test "$wxUSE_NUMBERDLG" = "yes"; then
45253 cat >>confdefs.h <<\_ACEOF
45254 #define wxUSE_NUMBERDLG 1
45259 if test "$wxUSE_PROGRESSDLG" = "yes"; then
45260 if test "$wxUSE_CONSTRAINTS" != "yes"; then
45261 { echo "$as_me:$LINENO: WARNING: wxProgressDialog requires constraints so it won't be compiled without them" >&5
45262 echo "$as_me: WARNING: wxProgressDialog requires constraints so it won't be compiled without them" >&2;}
45264 cat >>confdefs.h <<\_ACEOF
45265 #define wxUSE_PROGRESSDLG 1
45271 if test "$wxUSE_SPLASH" = "yes"; then
45272 cat >>confdefs.h <<\_ACEOF
45273 #define wxUSE_SPLASH 1
45276 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS splash"
45279 if test "$wxUSE_STARTUP_TIPS" = "yes"; then
45280 if test "$wxUSE_CONSTRAINTS" != "yes"; then
45281 { echo "$as_me:$LINENO: WARNING: Startup tips requires constraints and won't be compiled without them" >&5
45282 echo "$as_me: WARNING: Startup tips requires constraints and won't be compiled without them" >&2;}
45284 cat >>confdefs.h <<\_ACEOF
45285 #define wxUSE_STARTUP_TIPS 1
45291 if test "$wxUSE_TEXTDLG" = "yes"; then
45292 cat >>confdefs.h <<\_ACEOF
45293 #define wxUSE_TEXTDLG 1
45298 if test "$wxUSE_WIZARDDLG" = "yes"; then
45299 cat >>confdefs.h <<\_ACEOF
45300 #define wxUSE_WIZARDDLG 1
45303 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS wizard"
45307 if test "$wxUSE_GRAPHICS_CONTEXT" = "yes"; then
45308 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = "1"; then
45309 cat >>confdefs.h <<\_ACEOF
45310 #define wxUSE_GRAPHICS_CONTEXT 1
45313 elif test "$wxUSE_GTK" != 1; then
45314 cat >>confdefs.h <<\_ACEOF
45315 #define wxUSE_GRAPHICS_CONTEXT 1
45321 { echo "$as_me:$LINENO: checking for CAIRO" >&5
45322 echo $ECHO_N "checking for CAIRO... $ECHO_C" >&6; }
45324 if test -n "$PKG_CONFIG"; then
45325 if test -n "$CAIRO_CFLAGS"; then
45326 pkg_cv_CAIRO_CFLAGS="$CAIRO_CFLAGS"
45328 if test -n "$PKG_CONFIG" && \
45329 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"cairo\"") >&5
45330 ($PKG_CONFIG --exists --print-errors "cairo") 2>&5
45332 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45333 (exit $ac_status); }; then
45334 pkg_cv_CAIRO_CFLAGS=`$PKG_CONFIG --cflags "cairo" 2>/dev
/null
`
45342 if test -n "$PKG_CONFIG"; then
45343 if test -n "$CAIRO_LIBS"; then
45344 pkg_cv_CAIRO_LIBS="$CAIRO_LIBS"
45346 if test -n "$PKG_CONFIG" && \
45347 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"cairo\"") >&5
45348 ($PKG_CONFIG --exists --print-errors "cairo") 2>&5
45350 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45351 (exit $ac_status); }; then
45352 pkg_cv_CAIRO_LIBS=`$PKG_CONFIG --libs "cairo" 2>/dev
/null
`
45363 if test $pkg_failed = yes; then
45365 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
45366 _pkg_short_errors_supported=yes
45368 _pkg_short_errors_supported=no
45370 if test $_pkg_short_errors_supported = yes; then
45371 CAIRO_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "cairo"`
45373 CAIRO_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "cairo"`
45375 # Put the nasty error message in config.log where it belongs
45376 echo "$CAIRO_PKG_ERRORS" >&5
45378 { echo "$as_me:$LINENO: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&5
45379 echo "$as_me: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&2;}
45381 elif test $pkg_failed = untried; then
45382 { echo "$as_me:$LINENO: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&5
45383 echo "$as_me: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&2;}
45386 CAIRO_CFLAGS=$pkg_cv_CAIRO_CFLAGS
45387 CAIRO_LIBS=$pkg_cv_CAIRO_LIBS
45388 { echo "$as_me:$LINENO: result: yes" >&5
45389 echo "${ECHO_T}yes" >&6; }
45390 cat >>confdefs.h <<\_ACEOF
45391 #define wxUSE_GRAPHICS_CONTEXT 1
45401 if test "$wxUSE_MEDIACTRL" = "yes"; then
45404 if test "$wxUSE_GTK" = 1; then
45405 wxUSE_GSTREAMER="no"
45407 GST_VERSION_MAJOR=0
45408 GST_VERSION_MINOR=10
45409 GST_VERSION=$GST_VERSION_MAJOR.$GST_VERSION_MINOR
45411 if test "$wxUSE_GSTREAMER8" = "no"; then
45414 { echo "$as_me:$LINENO: checking for GST" >&5
45415 echo $ECHO_N "checking for GST... $ECHO_C" >&6; }
45417 if test -n "$PKG_CONFIG"; then
45418 if test -n "$GST_CFLAGS"; then
45419 pkg_cv_GST_CFLAGS="$GST_CFLAGS"
45421 if test -n "$PKG_CONFIG" && \
45422 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-plugins-base-\$GST_VERSION gconf-2.0\"") >&5
45423 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0") 2>&5
45425 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45426 (exit $ac_status); }; then
45427 pkg_cv_GST_CFLAGS=`$PKG_CONFIG --cflags "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0" 2>/dev
/null
`
45435 if test -n "$PKG_CONFIG"; then
45436 if test -n "$GST_LIBS"; then
45437 pkg_cv_GST_LIBS="$GST_LIBS"
45439 if test -n "$PKG_CONFIG" && \
45440 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-plugins-base-\$GST_VERSION gconf-2.0\"") >&5
45441 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0") 2>&5
45443 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45444 (exit $ac_status); }; then
45445 pkg_cv_GST_LIBS=`$PKG_CONFIG --libs "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0" 2>/dev
/null
`
45456 if test $pkg_failed = yes; then
45458 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
45459 _pkg_short_errors_supported=yes
45461 _pkg_short_errors_supported=no
45463 if test $_pkg_short_errors_supported = yes; then
45464 GST_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0"`
45466 GST_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0"`
45468 # Put the nasty error message in config.log where it belongs
45469 echo "$GST_PKG_ERRORS" >&5
45472 { echo "$as_me:$LINENO: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&5
45473 echo "$as_me: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&2;}
45474 GST_VERSION_MINOR=8
45477 elif test $pkg_failed = untried; then
45479 { echo "$as_me:$LINENO: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&5
45480 echo "$as_me: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&2;}
45481 GST_VERSION_MINOR=8
45485 GST_CFLAGS=$pkg_cv_GST_CFLAGS
45486 GST_LIBS=$pkg_cv_GST_LIBS
45487 { echo "$as_me:$LINENO: result: yes" >&5
45488 echo "${ECHO_T}yes" >&6; }
45490 wxUSE_GSTREAMER="yes"
45491 GST_LIBS="$GST_LIBS -lgstinterfaces-$GST_VERSION"
45495 GST_VERSION_MINOR=8
45498 if test $GST_VERSION_MINOR = "8"; then
45499 GST_VERSION=$GST_VERSION_MAJOR.$GST_VERSION_MINOR
45502 { echo "$as_me:$LINENO: checking for GST" >&5
45503 echo $ECHO_N "checking for GST... $ECHO_C" >&6; }
45505 if test -n "$PKG_CONFIG"; then
45506 if test -n "$GST_CFLAGS"; then
45507 pkg_cv_GST_CFLAGS="$GST_CFLAGS"
45509 if test -n "$PKG_CONFIG" && \
45510 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-interfaces-\$GST_VERSION gstreamer-gconf-\$GST_VERSION\"") >&5
45511 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION") 2>&5
45513 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45514 (exit $ac_status); }; then
45515 pkg_cv_GST_CFLAGS=`$PKG_CONFIG --cflags "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION" 2>/dev
/null
`
45523 if test -n "$PKG_CONFIG"; then
45524 if test -n "$GST_LIBS"; then
45525 pkg_cv_GST_LIBS="$GST_LIBS"
45527 if test -n "$PKG_CONFIG" && \
45528 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-interfaces-\$GST_VERSION gstreamer-gconf-\$GST_VERSION\"") >&5
45529 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION") 2>&5
45531 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45532 (exit $ac_status); }; then
45533 pkg_cv_GST_LIBS=`$PKG_CONFIG --libs "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION" 2>/dev
/null
`
45544 if test $pkg_failed = yes; then
45546 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
45547 _pkg_short_errors_supported=yes
45549 _pkg_short_errors_supported=no
45551 if test $_pkg_short_errors_supported = yes; then
45552 GST_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION"`
45554 GST_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION"`
45556 # Put the nasty error message in config.log where it belongs
45557 echo "$GST_PKG_ERRORS" >&5
45560 { echo "$as_me:$LINENO: WARNING: GStreamer 0.8/0.10 not available." >&5
45561 echo "$as_me: WARNING: GStreamer 0.8/0.10 not available." >&2;}
45563 elif test $pkg_failed = untried; then
45565 { echo "$as_me:$LINENO: WARNING: GStreamer 0.8/0.10 not available." >&5
45566 echo "$as_me: WARNING: GStreamer 0.8/0.10 not available." >&2;}
45569 GST_CFLAGS=$pkg_cv_GST_CFLAGS
45570 GST_LIBS=$pkg_cv_GST_LIBS
45571 { echo "$as_me:$LINENO: result: yes" >&5
45572 echo "${ECHO_T}yes" >&6; }
45573 wxUSE_GSTREAMER="yes"
45578 if test "$wxUSE_GSTREAMER" = "yes"; then
45581 if "$GCC" = yes; then
45582 GST_CFLAGS=`echo $GST_CFLAGS | sed 's/-mt//'`
45583 GST_LIBS=`echo $GST_LIBS | sed 's/-mt//'`
45587 CPPFLAGS="$GST_CFLAGS $CPPFLAGS"
45588 LIBS="$GST_LIBS $LIBS"
45590 cat >>confdefs.h <<\_ACEOF
45591 #define wxUSE_GSTREAMER 1
45599 if test $USE_MEDIA = 1; then
45600 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS mediaplayer"
45601 cat >>confdefs.h <<\_ACEOF
45602 #define wxUSE_MEDIACTRL 1
45609 if test "$cross_compiling" = "yes"; then
45612 OSINFO=`uname
-s -r -m`
45613 OSINFO="\"$OSINFO\""
45616 cat >>confdefs.h <<_ACEOF
45617 #define WXWIN_OS_DESCRIPTION $OSINFO
45622 if test "x$prefix" != "xNONE"; then
45625 wxPREFIX=$ac_default_prefix
45628 cat >>confdefs.h <<_ACEOF
45629 #define wxINSTALL_PREFIX "$wxPREFIX"
45635 CORE_BASE_LIBS="net base"
45636 CORE_GUI_LIBS="adv core"
45638 if test "$wxUSE_XML" = "yes" ; then
45639 CORE_BASE_LIBS="xml $CORE_BASE_LIBS"
45641 if test "$wxUSE_ODBC" != "no" ; then
45642 CORE_BASE_LIBS="odbc $CORE_BASE_LIBS"
45643 CORE_GUI_LIBS="dbgrid $CORE_GUI_LIBS"
45645 if test "$wxUSE_HTML" = "yes" ; then
45646 CORE_GUI_LIBS="html $CORE_GUI_LIBS"
45648 if test "$wxUSE_DEBUGREPORT" = "yes" ; then
45649 CORE_GUI_LIBS="qa $CORE_GUI_LIBS"
45651 if test "$wxUSE_XRC" = "yes" ; then
45652 CORE_GUI_LIBS="xrc $CORE_GUI_LIBS"
45654 if test "$wxUSE_AUI" = "yes" ; then
45655 CORE_GUI_LIBS="aui $CORE_GUI_LIBS"
45658 if test "$wxUSE_GUI" != "yes"; then
45667 if test "$wxUSE_MAC" = 1 ; then
45668 if test "$wxUSE_SOUND" = "yes" || test "$wxUSE_MEDIACTRL" = "yes"; then
45669 if test "$USE_DARWIN" = 1; then
45670 LDFLAGS="$LDFLAGS -framework QuickTime"
45672 LDFLAGS="$LDFLAGS -lQuickTimeLib"
45675 if test "$USE_DARWIN" = 1; then
45676 LDFLAGS="$LDFLAGS -framework IOKit -framework Carbon -framework Cocoa -framework System"
45678 LDFLAGS="$LDFLAGS -lCarbonLib"
45681 if test "$wxUSE_COCOA" = 1 ; then
45682 LDFLAGS="$LDFLAGS -framework IOKit -framework Cocoa"
45683 if test "$wxUSE_MEDIACTRL" = "yes"; then
45684 LDFLAGS="$LDFLAGS -framework QuickTime"
45687 if test "$USE_DARWIN" = 1 -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1 ; then
45688 LDFLAGS="$LDFLAGS -framework IOKit -framework CoreServices -framework System -framework ApplicationServices"
45691 LIBS="$ZLIB_LINK $POSIX4_LINK $INET_LINK $WCHAR_LINK $DL_LINK $LIBS"
45693 if test "$wxUSE_GUI" = "yes"; then
45696 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS artprov controls dialogs drawing \
45697 dynamic erase event exec font image minimal mobile \
45698 mobile/wxedit mobile/styles propsize render \
45699 rotate shaped vscroll widgets"
45701 if test "$wxUSE_MONOLITHIC" != "yes"; then
45702 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS console"
45704 if test "$TOOLKIT" = "MSW"; then
45705 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS regtest"
45706 if test "$wxUSE_UNIVERSAL" != "yes"; then
45707 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ownerdrw nativdlg"
45710 if test "$TOOLKIT" = "PM" -a "$wxUSE_UNIVERSAL" != "yes"; then
45711 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ownerdrw"
45714 SAMPLES_SUBDIRS="console"
45718 if test "x$INTELCC" = "xyes" ; then
45719 CWARNINGS="-Wall -wd810,869,981,1418,1572,1684"
45720 elif test "$GCC" = yes ; then
45721 CWARNINGS="-Wall -Wundef"
45724 if test "x$INTELCXX" = "xyes" ; then
45725 CXXWARNINGS="-Wall -wd279,383,444,810,869,981,1418,1419"
45726 elif test "$GXX" = yes ; then
45727 CXXWARNINGS="-Wall -Wundef -Wno-ctor-dtor-privacy"
45731 WXCONFIG_CFLAGS=`echo $WXCONFIG_CFLAGS`
45732 WXCONFIG_CXXFLAGS=`echo $WXCONFIG_CFLAGS $WXCONFIG_CXXFLAGS`
45735 CPPFLAGS=`echo $WXCONFIG_CPPFLAGS \
45736 -I\\${wx_top_builddir}/lib
/wx
/include
/${TOOLCHAIN_FULLNAME} \
45737 -I\\${top_srcdir}/include
$TOOLKIT_INCLUDE \
45740 C_AND_CXX_FLAGS="$DEBUG_CFLAGS $PROFILE_FLAGS $OPTIMISE_CFLAGS"
45741 CFLAGS=`echo $WXCONFIG_CFLAGS $CWARNINGS $C_AND_CXX_FLAGS $CFLAGS `
45742 CXXFLAGS=`echo $WXCONFIG_CXXFLAGS $CXXWARNINGS $C_AND_CXX_FLAGS $CXXFLAGS `
45744 WXCONFIG_CPPFLAGS=`echo $WXCONFIG_CPPFLAGS $WXCONFIG_ONLY_CPPFLAGS`
45747 if test "x$MWCC" = "xyes"; then
45749 CC="$CC -cwd source -I-"
45750 CXX="$CXX -cwd source -I-"
45755 EXTRALIBS="$LDFLAGS $LDFLAGS_VERSIONING $LIBS $DMALLOC_LIBS"
45756 EXTRALIBS_XML="$EXPAT_LINK"
45757 EXTRALIBS_HTML="$MSPACK_LINK"
45758 EXTRALIBS_ODBC="$ODBC_LINK"
45759 if test "$wxUSE_GUI" = "yes"; then
45760 EXTRALIBS_GUI=`echo $GUI_TK_LIBRARY $PNG_LINK $JPEG_LINK $TIFF_LINK $WEBKIT_LINK $EXTRALIBS_HILDON $EXTRALIBS_GNOMEVFS $EXTRALIBS_GNOMEPRINT`
45762 if test "$wxUSE_OPENGL" = "yes"; then
45763 EXTRALIBS_OPENGL="$LDFLAGS_GL $OPENGL_LIBS"
45766 LDFLAGS="$LDFLAGS $PROFILE_FLAGS"
45768 WXCONFIG_LIBS="$LIBS"
45770 if test "$wxUSE_REGEX" = "builtin" ; then
45771 wxconfig_3rdparty="regex${lib_unicode_suffix} $wxconfig_3rdparty"
45773 if test "$wxUSE_EXPAT" = "builtin" ; then
45774 wxconfig_3rdparty="expat $wxconfig_3rdparty"
45776 if test "$wxUSE_ODBC" = "builtin" ; then
45777 wxconfig_3rdparty="odbc $wxconfig_3rdparty"
45779 if test "$wxUSE_LIBTIFF" = "builtin" ; then
45780 wxconfig_3rdparty="tiff $wxconfig_3rdparty"
45782 if test "$wxUSE_LIBJPEG" = "builtin" ; then
45783 wxconfig_3rdparty="jpeg $wxconfig_3rdparty"
45785 if test "$wxUSE_LIBPNG" = "builtin" ; then
45786 wxconfig_3rdparty="png $wxconfig_3rdparty"
45788 if test "$wxUSE_ZLIB" = "builtin" ; then
45789 wxconfig_3rdparty="zlib $wxconfig_3rdparty"
45792 for i in $wxconfig_3rdparty ; do
45793 WXCONFIG_LIBS="-lwx${i}${lib_debug_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX} $WXCONFIG_LIBS"
45797 if test "x$wxUSE_UNIVERSAL" = "xyes" ; then
45800 case "$wxUNIV_THEMES" in
45802 cat >>confdefs.h <<\_ACEOF
45803 #define wxUSE_ALL_THEMES 1
45809 for t in `echo $wxUNIV_THEMES | tr , ' ' | tr a
-z A
-Z`; do
45810 cat >>confdefs.h <<_ACEOF
45811 #define wxUSE_THEME_$t 1
45828 if test $wxUSE_MONOLITHIC = "yes" ; then
45834 if test $wxUSE_PLUGINS = "yes" ; then
45840 if test $wxUSE_ODBC != "no" ; then
45846 if test "$wxUSE_DEBUGREPORT" = "yes" ; then
45852 if test $wxUSE_OFFICIAL_BUILD = "yes" ; then
45882 TOOLKIT_LOWERCASE=`echo $TOOLKIT | tr "[A-Z]" "[a-z]"`
45893 TOOLKIT_DESC="GTK+"
45894 if test "$WXGTK20" = 1; then
45895 TOOLKIT_DESC="$TOOLKIT_DESC 2"
45896 if test "$wxUSE_LIBGNOMEPRINT" = "yes" ; then
45897 TOOLKIT_EXTRA="$TOOLKIT_EXTRA gnomeprint";
45899 if test "$wxUSE_LIBGNOMEVFS" = "yes" ; then
45900 TOOLKIT_EXTRA="$TOOLKIT_EXTRA gnomevfs"
45902 if test "$wxUSE_LIBHILDON" = "yes"; then
45903 TOOLKIT_EXTRA="$TOOLKIT_EXTRA hildon"
45906 if test "$TOOLKIT_EXTRA" != ""; then
45907 TOOLKIT_DESC="$TOOLKIT_DESC with support for `echo $TOOLKIT_EXTRA | tr -s ' '`"
45913 TOOLKIT_DESC=$TOOLKIT_LOWERCASE
45917 TOOLKIT_DESC="base only"
45921 if test "$wxUSE_WINE" = "yes"; then
45922 BAKEFILE_FORCE_PLATFORM=win32
45925 if test "$wxUSE_MAC" = 1 ; then
45926 if test "x$wxUSE_UNIVERSAL_BINARY" != xno ; then
45927 if test "x$wxUSE_UNIVERSAL_BINARY" == xyes; then
45928 OSX_UNIV_OPTS="-isysroot /Developer/SDKs/MacOSX10.4u.sdk"
45930 OSX_UNIV_OPTS=${wxUSE_UNIVERSAL_BINARY:+"-isysroot '$wxUSE_UNIVERSAL_BINARY'"}
45932 OSX_UNIV_OPTS="$OSX_UNIV_OPTS -arch ppc -arch i386"
45933 CXXFLAGS="$OSX_UNIV_OPTS $CXXFLAGS"
45934 CFLAGS="$OSX_UNIV_OPTS $CFLAGS"
45935 LDFLAGS="$OSX_UNIV_OPTS $LDFLAGS"
45938 # TODO: where do we add "-syslibroot,/Developer/SDKs/MacOSX10.4u.sdk" for libtool (static builds only)?
45939 # The makefile currently uses AR and RANLIB, which libtool apparently supercedes.
45942 if test "$wxUSE_UNICODE" = yes -a "$GCC" = yes -a "$bk_use_pch" != no
45944 { echo "$as_me:$LINENO: checking for gcc precompiled header bug" >&5
45945 echo $ECHO_N "checking for gcc precompiled header bug... $ECHO_C" >&6; }
45946 if test "${wx_cv_gcc_pch_bug+set}" = set; then
45947 echo $ECHO_N "(cached) $ECHO_C" >&6
45950 echo '#include <stdio.h>
45951 const wchar_t test_var[] = L"awidetest";' > conftest.h
45953 echo '#include "conftest.h"
45956 printf("%ls", test_var);
45960 wx_cv_gcc_pch_bug="pch not supported"
45962 if $CXX conftest.h >/dev/null 2>&1
45966 if $CXX -o conftest$PROGRAM_EXT conftest.cpp >/dev/null 2>&1
45968 if tr -dc '[a-z]' < conftest$PROGRAM_EXT |
45969 grep awidetest >/dev/null
45971 wx_cv_gcc_pch_bug=no
45973 wx_cv_gcc_pch_bug=yes
45978 rm -f conftest.h conftest.gch conftest.cpp conftest$PROGRAM_EXT
45981 { echo "$as_me:$LINENO: result: $wx_cv_gcc_pch_bug" >&5
45982 echo "${ECHO_T}$wx_cv_gcc_pch_bug" >&6; }
45984 if test "$wx_cv_gcc_pch_bug" = yes; then
45992 if test "x$BAKEFILE_HOST" = "x"; then
45993 if test "x${host}" = "x" ; then
45994 { { echo "$as_me:$LINENO: error: You must call the autoconf \"CANONICAL_HOST\" macro in your configure.ac (or .in) file." >&5
45995 echo "$as_me: error: You must call the autoconf \"CANONICAL_HOST\" macro in your configure.ac (or .in) file." >&2;}
45996 { (exit 1); exit 1; }; }
45999 BAKEFILE_HOST="${host}"
46002 if test "x$BAKEFILE_CHECK_BASICS" != "xno"; then
46004 if test -n "$ac_tool_prefix"; then
46005 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
46006 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
46007 { echo "$as_me:$LINENO: checking for $ac_word" >&5
46008 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
46009 if test "${ac_cv_prog_RANLIB+set}" = set; then
46010 echo $ECHO_N "(cached) $ECHO_C" >&6
46012 if test -n "$RANLIB"; then
46013 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
46015 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
46016 for as_dir in $PATH
46019 test -z "$as_dir" && as_dir=.
46020 for ac_exec_ext in '' $ac_executable_extensions; do
46021 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
46022 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
46023 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
46032 RANLIB=$ac_cv_prog_RANLIB
46033 if test -n "$RANLIB"; then
46034 { echo "$as_me:$LINENO: result: $RANLIB" >&5
46035 echo "${ECHO_T}$RANLIB" >&6; }
46037 { echo "$as_me:$LINENO: result: no" >&5
46038 echo "${ECHO_T}no" >&6; }
46043 if test -z "$ac_cv_prog_RANLIB"; then
46044 ac_ct_RANLIB=$RANLIB
46045 # Extract the first word of "ranlib", so it can be a program name with args.
46046 set dummy ranlib; ac_word=$2
46047 { echo "$as_me:$LINENO: checking for $ac_word" >&5
46048 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
46049 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
46050 echo $ECHO_N "(cached) $ECHO_C" >&6
46052 if test -n "$ac_ct_RANLIB"; then
46053 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
46055 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
46056 for as_dir in $PATH
46059 test -z "$as_dir" && as_dir=.
46060 for ac_exec_ext in '' $ac_executable_extensions; do
46061 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
46062 ac_cv_prog_ac_ct_RANLIB="ranlib"
46063 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
46072 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
46073 if test -n "$ac_ct_RANLIB"; then
46074 { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
46075 echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
46077 { echo "$as_me:$LINENO: result: no" >&5
46078 echo "${ECHO_T}no" >&6; }
46081 if test "x$ac_ct_RANLIB" = x; then
46084 case $cross_compiling:$ac_tool_warned in
46086 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
46087 whose name does not start with the host triplet. If you think this
46088 configuration is useful to you, please write to autoconf@gnu.org." >&5
46089 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
46090 whose name does not start with the host triplet. If you think this
46091 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
46092 ac_tool_warned=yes ;;
46094 RANLIB=$ac_ct_RANLIB
46097 RANLIB="$ac_cv_prog_RANLIB"
46100 # Find a good install program. We prefer a C program (faster),
46101 # so one script is as good as another. But avoid the broken or
46102 # incompatible versions:
46103 # SysV /etc/install, /usr/sbin/install
46104 # SunOS /usr/etc/install
46105 # IRIX /sbin/install
46107 # AmigaOS /C/install, which installs bootblocks on floppy discs
46108 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
46109 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
46110 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
46111 # OS/2's system install, which has a completely different semantic
46112 # ./install, which can be erroneously created by make from ./install.sh.
46113 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
46114 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
46115 if test -z "$INSTALL"; then
46116 if test "${ac_cv_path_install+set}" = set; then
46117 echo $ECHO_N "(cached) $ECHO_C" >&6
46119 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
46120 for as_dir in $PATH
46123 test -z "$as_dir" && as_dir=.
46124 # Account for people who put trailing slashes in PATH elements.
46126 ./ | .// | /cC/* | \
46127 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
46128 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
46131 # OSF1 and SCO ODT 3.0 have their own names for install.
46132 # Don't use installbsd from OSF since it installs stuff as root
46134 for ac_prog in ginstall scoinst install; do
46135 for ac_exec_ext in '' $ac_executable_extensions; do
46136 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
46137 if test $ac_prog = install &&
46138 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
46139 # AIX install. It has an incompatible calling convention.
46141 elif test $ac_prog = install &&
46142 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
46143 # program-specific install script used by HP pwplus--don't use.
46146 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
46159 if test "${ac_cv_path_install+set}" = set; then
46160 INSTALL=$ac_cv_path_install
46162 # As a last resort, use the slow shell script. Don't cache a
46163 # value for INSTALL within a source directory, because that will
46164 # break other packages using the cache if that directory is
46165 # removed, or if the value is a relative name.
46166 INSTALL=$ac_install_sh
46169 { echo "$as_me:$LINENO: result: $INSTALL" >&5
46170 echo "${ECHO_T}$INSTALL" >&6; }
46172 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
46173 # It thinks the first close brace ends the variable substitution.
46174 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
46176 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
46178 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
46180 { echo "$as_me:$LINENO: checking whether ln -s works" >&5
46181 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; }
46183 if test "$LN_S" = "ln -s"; then
46184 { echo "$as_me:$LINENO: result: yes" >&5
46185 echo "${ECHO_T}yes" >&6; }
46187 { echo "$as_me:$LINENO: result: no, using $LN_S" >&5
46188 echo "${ECHO_T}no, using $LN_S" >&6; }
46192 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
46193 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
46194 set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
46195 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
46196 echo $ECHO_N "(cached) $ECHO_C" >&6
46198 cat >conftest.make <<\_ACEOF
46201 @echo '@@@%%%=$(MAKE)=@@@%%%'
46203 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
46204 case `${MAKE-make} -f conftest.
make 2>/dev
/null
` in
46205 *@@@%%%=?*=@@@%%%*)
46206 eval ac_cv_prog_make_${ac_make}_set=yes;;
46208 eval ac_cv_prog_make_${ac_make}_set=no;;
46210 rm -f conftest.make
46212 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
46213 { echo "$as_me:$LINENO: result: yes" >&5
46214 echo "${ECHO_T}yes" >&6; }
46217 { echo "$as_me:$LINENO: result: no" >&5
46218 echo "${ECHO_T}no" >&6; }
46219 SET_MAKE="MAKE=${MAKE-make}"
46224 if test "x$SUNCXX" = "xyes"; then
46226 AROPTIONS="-xar -o"
46228 elif test "x$SGICC" = "xyes"; then
46233 if test -n "$ac_tool_prefix"; then
46234 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
46235 set dummy ${ac_tool_prefix}ar; ac_word=$2
46236 { echo "$as_me:$LINENO: checking for $ac_word" >&5
46237 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
46238 if test "${ac_cv_prog_AR+set}" = set; then
46239 echo $ECHO_N "(cached) $ECHO_C" >&6
46241 if test -n "$AR"; then
46242 ac_cv_prog_AR="$AR" # Let the user override the test.
46244 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
46245 for as_dir in $PATH
46248 test -z "$as_dir" && as_dir=.
46249 for ac_exec_ext in '' $ac_executable_extensions; do
46250 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
46251 ac_cv_prog_AR="${ac_tool_prefix}ar"
46252 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
46262 if test -n "$AR"; then
46263 { echo "$as_me:$LINENO: result: $AR" >&5
46264 echo "${ECHO_T}$AR" >&6; }
46266 { echo "$as_me:$LINENO: result: no" >&5
46267 echo "${ECHO_T}no" >&6; }
46272 if test -z "$ac_cv_prog_AR"; then
46274 # Extract the first word of "ar", so it can be a program name with args.
46275 set dummy ar; ac_word=$2
46276 { echo "$as_me:$LINENO: checking for $ac_word" >&5
46277 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
46278 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
46279 echo $ECHO_N "(cached) $ECHO_C" >&6
46281 if test -n "$ac_ct_AR"; then
46282 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
46284 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
46285 for as_dir in $PATH
46288 test -z "$as_dir" && as_dir=.
46289 for ac_exec_ext in '' $ac_executable_extensions; do
46290 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
46291 ac_cv_prog_ac_ct_AR="ar"
46292 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
46301 ac_ct_AR=$ac_cv_prog_ac_ct_AR
46302 if test -n "$ac_ct_AR"; then
46303 { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
46304 echo "${ECHO_T}$ac_ct_AR" >&6; }
46306 { echo "$as_me:$LINENO: result: no" >&5
46307 echo "${ECHO_T}no" >&6; }
46310 if test "x$ac_ct_AR" = x; then
46313 case $cross_compiling:$ac_tool_warned in
46315 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
46316 whose name does not start with the host triplet. If you think this
46317 configuration is useful to you, please write to autoconf@gnu.org." >&5
46318 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
46319 whose name does not start with the host triplet. If you think this
46320 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
46321 ac_tool_warned=yes ;;
46326 AR="$ac_cv_prog_AR"
46333 if test -n "$ac_tool_prefix"; then
46334 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
46335 set dummy ${ac_tool_prefix}strip; ac_word=$2
46336 { echo "$as_me:$LINENO: checking for $ac_word" >&5
46337 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
46338 if test "${ac_cv_prog_STRIP+set}" = set; then
46339 echo $ECHO_N "(cached) $ECHO_C" >&6
46341 if test -n "$STRIP"; then
46342 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
46344 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
46345 for as_dir in $PATH
46348 test -z "$as_dir" && as_dir=.
46349 for ac_exec_ext in '' $ac_executable_extensions; do
46350 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
46351 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
46352 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
46361 STRIP=$ac_cv_prog_STRIP
46362 if test -n "$STRIP"; then
46363 { echo "$as_me:$LINENO: result: $STRIP" >&5
46364 echo "${ECHO_T}$STRIP" >&6; }
46366 { echo "$as_me:$LINENO: result: no" >&5
46367 echo "${ECHO_T}no" >&6; }
46372 if test -z "$ac_cv_prog_STRIP"; then
46374 # Extract the first word of "strip", so it can be a program name with args.
46375 set dummy strip; ac_word=$2
46376 { echo "$as_me:$LINENO: checking for $ac_word" >&5
46377 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
46378 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
46379 echo $ECHO_N "(cached) $ECHO_C" >&6
46381 if test -n "$ac_ct_STRIP"; then
46382 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
46384 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
46385 for as_dir in $PATH
46388 test -z "$as_dir" && as_dir=.
46389 for ac_exec_ext in '' $ac_executable_extensions; do
46390 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
46391 ac_cv_prog_ac_ct_STRIP="strip"
46392 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
46401 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
46402 if test -n "$ac_ct_STRIP"; then
46403 { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
46404 echo "${ECHO_T}$ac_ct_STRIP" >&6; }
46406 { echo "$as_me:$LINENO: result: no" >&5
46407 echo "${ECHO_T}no" >&6; }
46410 if test "x$ac_ct_STRIP" = x; then
46413 case $cross_compiling:$ac_tool_warned in
46415 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
46416 whose name does not start with the host triplet. If you think this
46417 configuration is useful to you, please write to autoconf@gnu.org." >&5
46418 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
46419 whose name does not start with the host triplet. If you think this
46420 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
46421 ac_tool_warned=yes ;;
46426 STRIP="$ac_cv_prog_STRIP"
46429 if test -n "$ac_tool_prefix"; then
46430 # Extract the first word of "${ac_tool_prefix}nm", so it can be a program name with args.
46431 set dummy ${ac_tool_prefix}nm; ac_word=$2
46432 { echo "$as_me:$LINENO: checking for $ac_word" >&5
46433 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
46434 if test "${ac_cv_prog_NM+set}" = set; then
46435 echo $ECHO_N "(cached) $ECHO_C" >&6
46437 if test -n "$NM"; then
46438 ac_cv_prog_NM="$NM" # Let the user override the test.
46440 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
46441 for as_dir in $PATH
46444 test -z "$as_dir" && as_dir=.
46445 for ac_exec_ext in '' $ac_executable_extensions; do
46446 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
46447 ac_cv_prog_NM="${ac_tool_prefix}nm"
46448 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
46458 if test -n "$NM"; then
46459 { echo "$as_me:$LINENO: result: $NM" >&5
46460 echo "${ECHO_T}$NM" >&6; }
46462 { echo "$as_me:$LINENO: result: no" >&5
46463 echo "${ECHO_T}no" >&6; }
46468 if test -z "$ac_cv_prog_NM"; then
46470 # Extract the first word of "nm", so it can be a program name with args.
46471 set dummy nm; ac_word=$2
46472 { echo "$as_me:$LINENO: checking for $ac_word" >&5
46473 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
46474 if test "${ac_cv_prog_ac_ct_NM+set}" = set; then
46475 echo $ECHO_N "(cached) $ECHO_C" >&6
46477 if test -n "$ac_ct_NM"; then
46478 ac_cv_prog_ac_ct_NM="$ac_ct_NM" # Let the user override the test.
46480 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
46481 for as_dir in $PATH
46484 test -z "$as_dir" && as_dir=.
46485 for ac_exec_ext in '' $ac_executable_extensions; do
46486 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
46487 ac_cv_prog_ac_ct_NM="nm"
46488 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
46497 ac_ct_NM=$ac_cv_prog_ac_ct_NM
46498 if test -n "$ac_ct_NM"; then
46499 { echo "$as_me:$LINENO: result: $ac_ct_NM" >&5
46500 echo "${ECHO_T}$ac_ct_NM" >&6; }
46502 { echo "$as_me:$LINENO: result: no" >&5
46503 echo "${ECHO_T}no" >&6; }
46506 if test "x$ac_ct_NM" = x; then
46509 case $cross_compiling:$ac_tool_warned in
46511 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
46512 whose name does not start with the host triplet. If you think this
46513 configuration is useful to you, please write to autoconf@gnu.org." >&5
46514 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
46515 whose name does not start with the host triplet. If you think this
46516 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
46517 ac_tool_warned=yes ;;
46522 NM="$ac_cv_prog_NM"
46526 case ${BAKEFILE_HOST} in
46528 INSTALL_DIR="mkdir -p"
46531 INSTALL_DIR='$(INSTALL) -d'
46537 case ${BAKEFILE_HOST} in
46538 *-*-cygwin* | *-*-mingw32* )
46539 LDFLAGS_GUI="-mwindows"
46545 { echo "$as_me:$LINENO: checking if make is GNU make" >&5
46546 echo $ECHO_N "checking if make is GNU make... $ECHO_C" >&6; }
46547 if test "${bakefile_cv_prog_makeisgnu+set}" = set; then
46548 echo $ECHO_N "(cached) $ECHO_C" >&6
46551 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev/null |
46552 egrep -s GNU > /dev/null); then
46553 bakefile_cv_prog_makeisgnu="yes"
46555 bakefile_cv_prog_makeisgnu="no"
46559 { echo "$as_me:$LINENO: result: $bakefile_cv_prog_makeisgnu" >&5
46560 echo "${ECHO_T}$bakefile_cv_prog_makeisgnu" >&6; }
46562 if test "x$bakefile_cv_prog_makeisgnu" = "xyes"; then
46579 if test "x$BAKEFILE_FORCE_PLATFORM" = "x"; then
46580 case "${BAKEFILE_HOST}" in
46587 *-pc-os2_emx | *-pc-os2-emx )
46597 powerpc-apple-macos* )
46606 case "$BAKEFILE_FORCE_PLATFORM" in
46641 # Check whether --enable-omf was given.
46642 if test "${enable_omf+set}" = set; then
46643 enableval=$enable_omf; bk_os2_use_omf="$enableval"
46647 case "${BAKEFILE_HOST}" in
46649 if test "x$GCC" = "xyes"; then
46650 CFLAGS="$CFLAGS -fno-common"
46651 CXXFLAGS="$CXXFLAGS -fno-common"
46653 if test "x$XLCC" = "xyes"; then
46654 CFLAGS="$CFLAGS -qnocommon"
46655 CXXFLAGS="$CXXFLAGS -qnocommon"
46659 *-pc-os2_emx | *-pc-os2-emx )
46660 if test "x$bk_os2_use_omf" = "xyes" ; then
46663 LDFLAGS="-Zomf $LDFLAGS"
46664 CFLAGS="-Zomf $CFLAGS"
46665 CXXFLAGS="-Zomf $CXXFLAGS"
46673 LDFLAGS="-L/boot/develop/lib/x86 $LDFLAGS"
46679 SO_SUFFIX_MODULE="so"
46684 DLLPREFIX_MODULE=""
46688 case "${BAKEFILE_HOST}" in
46691 SO_SUFFIX_MODULE="sl"
46695 SO_SUFFIX_MODULE="a"
46699 SO_SUFFIX_MODULE="dll"
46700 DLLIMP_SUFFIX="dll.a"
46707 SO_SUFFIX_MODULE="dll"
46708 DLLIMP_SUFFIX="dll.a"
46718 *-pc-os2_emx | *-pc-os2-emx )
46720 SO_SUFFIX_MODULE="dll"
46721 DLLIMP_SUFFIX=$OS2_LIBEXT
46725 LIBEXT=".$OS2_LIBEXT"
46730 SO_SUFFIX_MODULE="bundle"
46734 if test "x$DLLIMP_SUFFIX" = "x" ; then
46735 DLLIMP_SUFFIX="$SO_SUFFIX"
46750 if test "x$GCC" = "xyes"; then
46754 SHARED_LD_CC="\$(CC) -shared ${PIC_FLAG} -o"
46755 SHARED_LD_CXX="\$(CXX) -shared ${PIC_FLAG} -o"
46758 case "${BAKEFILE_HOST}" in
46760 if test "x$GCC" != "xyes"; then
46761 LDFLAGS="$LDFLAGS -L/usr/lib"
46763 SHARED_LD_CC="${CC} -b -o"
46764 SHARED_LD_CXX="${CXX} -b -o"
46770 if test "x$GCC" != "xyes"; then
46771 { echo "$as_me:$LINENO: checking for Intel compiler" >&5
46772 echo $ECHO_N "checking for Intel compiler... $ECHO_C" >&6; }
46773 if test "${bakefile_cv_prog_icc+set}" = set; then
46774 echo $ECHO_N "(cached) $ECHO_C" >&6
46777 cat >conftest.$ac_ext <<_ACEOF
46780 cat confdefs.h >>conftest.$ac_ext
46781 cat >>conftest.$ac_ext <<_ACEOF
46782 /* end confdefs.h. */
46788 #ifndef __INTEL_COMPILER
46796 rm -f conftest.$ac_objext
46797 if { (ac_try="$ac_compile"
46798 case "(($ac_try" in
46799 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
46800 *) ac_try_echo
=$ac_try;;
46802 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46803 (eval "$ac_compile") 2>conftest.er1
46805 grep -v '^ *+' conftest.er1
>conftest.err
46807 cat conftest.err
>&5
46808 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46809 (exit $ac_status); } && {
46810 test -z "$ac_c_werror_flag" ||
46811 test ! -s conftest.err
46812 } && test -s conftest.
$ac_objext; then
46813 bakefile_cv_prog_icc
=yes
46815 echo "$as_me: failed program was:" >&5
46816 sed 's/^/| /' conftest.
$ac_ext >&5
46818 bakefile_cv_prog_icc
=no
46822 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
46825 { echo "$as_me:$LINENO: result: $bakefile_cv_prog_icc" >&5
46826 echo "${ECHO_T}$bakefile_cv_prog_icc" >&6; }
46827 if test "$bakefile_cv_prog_icc" = "yes"; then
46834 if test "x$GCC" != xyes
; then
46835 SHARED_LD_CC
="${CC} -G -o"
46836 SHARED_LD_CXX
="${CXX} -G -o"
46844 cat <<EOF >shared-ld-sh
46846 #-----------------------------------------------------------------------------
46847 #-- Name: distrib/mac/shared-ld-sh
46848 #-- Purpose: Link a mach-o dynamic shared library for Darwin / Mac OS X
46849 #-- Author: Gilles Depeyrot
46850 #-- Copyright: (c) 2002 Gilles Depeyrot
46851 #-- Licence: any use permitted
46852 #-----------------------------------------------------------------------------
46857 linking_flag="-dynamiclib"
46858 ldargs="-r -keep_private_externs -nostdlib"
46860 while test ${D}# -gt 0; do
46867 -o|-compatibility_version|-current_version|-framework|-undefined|-install_name)
46868 # collect these options and values
46869 args="${D}{args} ${D}1 ${D}2"
46874 # collect these load args
46875 ldargs="${D}{ldargs} ${D}1"
46878 -l*|-L*|-flat_namespace|-headerpad_max_install_names)
46879 # collect these options
46880 args="${D}{args} ${D}1"
46883 -dynamiclib|-bundle)
46884 linking_flag="${D}1"
46888 echo "shared-ld: unhandled option '${D}1'"
46892 *.o | *.a | *.dylib)
46893 # collect object files
46894 objects="${D}{objects} ${D}1"
46898 echo "shared-ld: unhandled argument '${D}1'"
46909 # Link one module containing all the others
46911 if test ${D}{verbose} = 1; then
46912 echo "c++ ${D}{ldargs} ${D}{objects} -o master.${D}${D}.o"
46914 c++ ${D}{ldargs} ${D}{objects} -o master.${D}${D}.o
46918 # Link the shared library from the single module created, but only if the
46919 # previous command didn't fail:
46921 if test ${D}{status} = 0; then
46922 if test ${D}{verbose} = 1; then
46923 echo "c++ ${D}{linking_flag} master.${D}${D}.o ${D}{args}"
46925 c++ ${D}{linking_flag} master.${D}${D}.o ${D}{args}
46930 # Remove intermediate module
46932 rm -f master.${D}${D}.o
46937 chmod +x shared
-ld-sh
46939 SHARED_LD_MODULE_CC
="`pwd`/shared-ld-sh -bundle -headerpad_max_install_names -o"
46940 SHARED_LD_MODULE_CXX
="$SHARED_LD_MODULE_CC"
46943 { echo "$as_me:$LINENO: checking for gcc 3.1 or later" >&5
46944 echo $ECHO_N "checking for gcc 3.1 or later... $ECHO_C" >&6; }
46945 if test "${bakefile_cv_gcc31+set}" = set; then
46946 echo $ECHO_N "(cached) $ECHO_C" >&6
46949 cat >conftest.
$ac_ext <<_ACEOF
46952 cat confdefs.h
>>conftest.
$ac_ext
46953 cat >>conftest.
$ac_ext <<_ACEOF
46954 /* end confdefs.h. */
46960 #if (__GNUC__ < 3) || \
46961 ((__GNUC__ == 3) && (__GNUC_MINOR__ < 1))
46969 rm -f conftest.
$ac_objext
46970 if { (ac_try
="$ac_compile"
46971 case "(($ac_try" in
46972 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
46973 *) ac_try_echo=$ac_try;;
46975 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46976 (eval "$ac_compile") 2>conftest.er1
46978 grep -v '^ *+' conftest.er1 >conftest.err
46980 cat conftest.err >&5
46981 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46982 (exit $ac_status); } && {
46983 test -z "$ac_c_werror_flag" ||
46984 test ! -s conftest.err
46985 } && test -s conftest.$ac_objext; then
46987 bakefile_cv_gcc31=yes
46990 echo "$as_me: failed program was:" >&5
46991 sed 's/^/| /' conftest.$ac_ext >&5
46994 bakefile_cv_gcc31=no
46999 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47002 { echo "$as_me:$LINENO: result: $bakefile_cv_gcc31" >&5
47003 echo "${ECHO_T}$bakefile_cv_gcc31" >&6; }
47004 if test "$bakefile_cv_gcc31" = "no"; then
47005 SHARED_LD_CC="`pwd`/shared-ld-sh -dynamiclib -headerpad_max_install_names -o"
47006 SHARED_LD_CXX="$SHARED_LD_CC"
47008 SHARED_LD_CC="\${CC} -dynamiclib -single_module -headerpad_max_install_names -o"
47009 SHARED_LD_CXX="\${CXX} -dynamiclib -single_module -headerpad_max_install_names -o"
47012 if test "x$GCC" == "xyes"; then
47013 PIC_FLAG="-dynamic -fPIC"
47015 if test "x$XLCC" = "xyes"; then
47016 PIC_FLAG="-dynamic -DPIC"
47021 if test "x$GCC" = "xyes"; then
47024 case "${BAKEFILE_HOST}" in
47026 LD_EXPFULL="-Wl,-bexpfull"
47030 SHARED_LD_CC="\$(CC) -shared $LD_EXPFULL -o"
47031 SHARED_LD_CXX="\$(CXX) -shared $LD_EXPFULL -o"
47033 # Extract the first word of "makeC++SharedLib", so it can be a program name with args.
47034 set dummy makeC++SharedLib; ac_word=$2
47035 { echo "$as_me:$LINENO: checking for $ac_word" >&5
47036 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
47037 if test "${ac_cv_prog_AIX_CXX_LD+set}" = set; then
47038 echo $ECHO_N "(cached) $ECHO_C" >&6
47040 if test -n "$AIX_CXX_LD"; then
47041 ac_cv_prog_AIX_CXX_LD="$AIX_CXX_LD" # Let the user override the test.
47043 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
47044 for as_dir in $PATH
47047 test -z "$as_dir" && as_dir=.
47048 for ac_exec_ext in '' $ac_executable_extensions; do
47049 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
47050 ac_cv_prog_AIX_CXX_LD="makeC++SharedLib"
47051 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47058 test -z "$ac_cv_prog_AIX_CXX_LD" && ac_cv_prog_AIX_CXX_LD="/usr/lpp/xlC/bin/makeC++SharedLib"
47061 AIX_CXX_LD=$ac_cv_prog_AIX_CXX_LD
47062 if test -n "$AIX_CXX_LD"; then
47063 { echo "$as_me:$LINENO: result: $AIX_CXX_LD" >&5
47064 echo "${ECHO_T}$AIX_CXX_LD" >&6; }
47066 { echo "$as_me:$LINENO: result: no" >&5
47067 echo "${ECHO_T}no" >&6; }
47071 SHARED_LD_CC="$AIX_CC_LD -p 0 -o"
47072 SHARED_LD_CXX="$AIX_CXX_LD -p 0 -o"
47077 SHARED_LD_CC="${LD} -nostart -o"
47078 SHARED_LD_CXX="${LD} -nostart -o"
47082 if test "x$GCC" != "xyes"; then
47087 *-*-cygwin* | *-*-mingw32* )
47089 SHARED_LD_CC="\$(CC) -shared -o"
47090 SHARED_LD_CXX="\$(CXX) -shared -o"
47094 *-pc-os2_emx | *-pc-os2-emx )
47095 SHARED_LD_CC="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
47096 SHARED_LD_CXX="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
47100 cat <<EOF >dllar.sh
47103 # dllar - a tool to build both a .dll and an .a file
47104 # from a set of object (.o) files for EMX/OS2.
47106 # Written by Andrew Zabolotny, bit@freya.etu.ru
47107 # Ported to Unix like shell by Stefan Neis, Stefan.Neis@t-online.de
47109 # This script will accept a set of files on the command line.
47110 # All the public symbols from the .o files will be exported into
47111 # a .DEF file, then linker will be run (through gcc) against them to
47112 # build a shared library consisting of all given .o files. All libraries
47113 # (.a) will be first decompressed into component .o files then act as
47114 # described above. You can optionally give a description (-d "description")
47115 # which will be put into .DLL. To see the list of accepted options (as well
47116 # as command-line format) simply run this program without options. The .DLL
47117 # is built to be imported by name (there is no guarantee that new versions
47118 # of the library you build will have same ordinals for same symbols).
47120 # dllar is free software; you can redistribute it and/or modify
47121 # it under the terms of the GNU General Public License as published by
47122 # the Free Software Foundation; either version 2, or (at your option)
47123 # any later version.
47125 # dllar is distributed in the hope that it will be useful,
47126 # but WITHOUT ANY WARRANTY; without even the implied warranty of
47127 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
47128 # GNU General Public License for more details.
47130 # You should have received a copy of the GNU General Public License
47131 # along with dllar; see the file COPYING. If not, write to the Free
47132 # Software Foundation, 59 Temple Place - Suite 330, Boston, MA
47135 # To successfuly run this program you will need:
47136 # - Current drive should have LFN support (HPFS, ext2, network, etc)
47137 # (Sometimes dllar generates filenames which won't fit 8.3 scheme)
47139 # (used to build the .dll)
47141 # (used to create .def file from .o files)
47143 # (used to create .a file from .def file)
47144 # - GNU text utilites (cat, sort, uniq)
47145 # used to process emxexp output
47146 # - GNU file utilities (mv, rm)
47148 # - lxlite (optional, see flag below)
47149 # (used for general .dll cleanup)
47156 # basnam, variant of basename, which does _not_ remove the path, _iff_
47157 # second argument (suffix to remove) is given
47161 echo ${D}1 | sed 's/.*\\///' | sed 's/.*\\\\//'
47164 echo ${D}1 | sed 's/'${D}2'${D}//'
47167 echo "error in basnam ${D}*"
47173 # Cleanup temporary files and output
47176 for i in ${D}inputFiles ; do
47179 rm -rf \`basnam
${D}i
!\
`
47186 # Kill result in case of failure as there is just to many stupid make/nmake
47187 # things out there which doesn't do this.
47188 if [ ${D}# -eq 0 ]; then
47189 rm -f ${D}arcFile ${D}arcFile2 ${D}defFile ${D}dllFile
47193 # Print usage and exit script with rc=1.
47195 echo 'Usage: dllar.sh [-o[utput] output_file] [-i[mport] importlib_name]'
47196 echo ' [-name-mangler-script script.sh]'
47197 echo ' [-d[escription] "dll descrption"] [-cc "CC"] [-f[lags] "CFLAGS"]'
47198 echo ' [-ord[inals]] -ex[clude] "symbol(s)"'
47199 echo ' [-libf[lags] "{INIT|TERM}{GLOBAL|INSTANCE}"] [-nocrt[dll]] [-nolxl[ite]]'
47200 echo ' [*.o] [*.a]'
47201 echo '*> "output_file" should have no extension.'
47202 echo ' If it has the .o, .a or .dll extension, it is automatically removed.'
47203 echo ' The import library name is derived from this and is set to "name".a,'
47204 echo ' unless overridden by -import'
47205 echo '*> "importlib_name" should have no extension.'
47206 echo ' If it has the .o, or .a extension, it is automatically removed.'
47207 echo ' This name is used as the import library name and may be longer and'
47208 echo ' more descriptive than the DLL name which has to follow the old '
47209 echo ' 8.3 convention of FAT.'
47210 echo '*> "script.sh may be given to override the output_file name by a'
47211 echo ' different name. It is mainly useful if the regular make process'
47212 echo ' of some package does not take into account OS/2 restriction of'
47213 echo ' DLL name lengths. It takes the importlib name as input and is'
47214 echo ' supposed to procude a shorter name as output. The script should'
47215 echo ' expect to get importlib_name without extension and should produce'
47216 echo ' a (max.) 8 letter name without extension.'
47217 echo '*> "cc" is used to use another GCC executable. (default: gcc.exe)'
47218 echo '*> "flags" should be any set of valid GCC flags. (default: -s -Zcrtdll)'
47219 echo ' These flags will be put at the start of GCC command line.'
47220 echo '*> -ord[inals] tells dllar to export entries by ordinals. Be careful.'
47221 echo '*> -ex[clude] defines symbols which will not be exported. You can define'
47222 echo ' multiple symbols, for example -ex "myfunc yourfunc _GLOBAL*".'
47223 echo ' If the last character of a symbol is "*", all symbols beginning'
47224 echo ' with the prefix before "*" will be exclude, (see _GLOBAL* above).'
47225 echo '*> -libf[lags] can be used to add INITGLOBAL/INITINSTANCE and/or'
47226 echo ' TERMGLOBAL/TERMINSTANCE flags to the dynamically-linked library.'
47227 echo '*> -nocrt[dll] switch will disable linking the library against emx''s'
47228 echo ' C runtime DLLs.'
47229 echo '*> -nolxl[ite] switch will disable running lxlite on the resulting DLL.'
47230 echo '*> All other switches (for example -L./ or -lmylib) will be passed'
47231 echo ' unchanged to GCC at the end of command line.'
47232 echo '*> If you create a DLL from a library and you do not specify -o,'
47233 echo ' the basename for DLL and import library will be set to library name,'
47234 echo ' the initial library will be renamed to 'name'_s.a (_s for static)'
47235 echo ' i.e. "dllar gcc.a" will create gcc.dll and gcc.a, and the initial'
47236 echo ' library will be renamed into gcc_s.a.'
47239 echo ' dllar -o gcc290.dll libgcc.a -d "GNU C runtime library" -ord'
47240 echo ' -ex "__main __ctordtor*" -libf "INITINSTANCE TERMINSTANCE"'
47245 # Execute a command.
47246 # If exit code of the commnad <> 0 CleanUp() is called and we'll exit the script.
47247 # @Uses Whatever CleanUp() uses.
47253 if [ ${D}rcCmd -ne 0 ]; then
47254 echo "command failed, exit code="${D}rcCmd
47269 CFLAGS="-s -Zcrtdll"
47271 EXPORT_BY_ORDINALS=0
47276 case ${D}curDirS in
47280 curDirS=${D}{curDirS}"/"
47283 # Parse commandline
47286 while [ ${D}1 ]; do
47289 EXPORT_BY_ORDINALS=1;
47299 -name-mangler-script)
47320 exclude_symbols=${D}{exclude_symbols}${D}1" "
47324 library_flags=${D}{library_flags}${D}1" "
47343 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
47346 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS} \`basnam
${D}1 .dll\
`"
47347 if [ ${D}omfLinking -eq 1 ]; then
47348 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.lib"
47350 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.a"
47355 if [ ${D}libsToLink -ne 0 ]; then
47356 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
47358 for file in ${D}1 ; do
47359 if [ -f ${D}file ]; then
47360 inputFiles="${D}{inputFiles} ${D}file"
47364 if [ ${D}found -eq 0 ]; then
47365 echo "ERROR: No file(s) found: "${D}1
47372 done # iterate cmdline words
47375 if [ -z "${D}inputFiles" ]; then
47376 echo "dllar: no input files"
47380 # Now extract all .o files from .a files
47382 for file in ${D}inputFiles ; do
47393 EXTRA_CFLAGS="${D}EXTRA_CFLAGS -Zomf"
47398 dirname=\`basnam
${D}file ${D}suffix\
`"_%"
47400 if [ ${D}? -ne 0 ]; then
47401 echo "Failed to create subdirectory ./${D}dirname"
47405 # Append '!' to indicate archive
47406 newInputFiles="${D}newInputFiles ${D}{dirname}!"
47407 doCommand "cd ${D}dirname; ${D}AR x ../${D}file"
47410 for subfile in ${D}dirname/*.o* ; do
47411 if [ -f ${D}subfile ]; then
47413 if [ -s ${D}subfile ]; then
47414 # FIXME: This should be: is file size > 32 byte, _not_ > 0!
47415 newInputFiles="${D}newInputFiles ${D}subfile"
47419 if [ ${D}found -eq 0 ]; then
47420 echo "WARNING: there are no files in archive \\'${D}file\\'"
47424 newInputFiles="${D}{newInputFiles} ${D}file"
47428 inputFiles="${D}newInputFiles"
47430 # Output filename(s).
47432 if [ -z ${D}outFile ]; then
47434 set outFile ${D}inputFiles; outFile=${D}2
47437 # If it is an archive, remove the '!' and the '_%' suffixes
47438 case ${D}outFile in
47440 outFile=\`basnam
${D}outFile _
%!\
`
47445 case ${D}outFile in
47447 outFile=\`basnam
${D}outFile .dll\
`
47450 outFile=\`basnam
${D}outFile .DLL\
`
47453 outFile=\`basnam
${D}outFile .o\
`
47456 outFile=\`basnam
${D}outFile .obj\
`
47459 outFile=\`basnam
${D}outFile .a\
`
47462 outFile=\`basnam
${D}outFile .lib\
`
47467 case ${D}outimpFile in
47469 outimpFile=\`basnam
${D}outimpFile .a\
`
47472 outimpFile=\`basnam
${D}outimpFile .lib\
`
47477 if [ -z ${D}outimpFile ]; then
47478 outimpFile=${D}outFile
47480 defFile="${D}{outFile}.def"
47481 arcFile="${D}{outimpFile}.a"
47482 arcFile2="${D}{outimpFile}.lib"
47484 #create ${D}dllFile as something matching 8.3 restrictions,
47485 if [ -z ${D}renameScript ] ; then
47486 dllFile="${D}outFile"
47488 dllFile=\`${D}renameScript
${D}outimpFile\
`
47491 if [ ${D}do_backup -ne 0 ] ; then
47492 if [ -f ${D}arcFile ] ; then
47493 doCommand "mv ${D}arcFile ${D}{outFile}_s.a"
47495 if [ -f ${D}arcFile2 ] ; then
47496 doCommand "mv ${D}arcFile2 ${D}{outFile}_s.lib"
47500 # Extract public symbols from all the object files.
47501 tmpdefFile=${D}{defFile}_%
47502 rm -f ${D}tmpdefFile
47503 for file in ${D}inputFiles ; do
47508 doCommand "emxexp -u ${D}file >> ${D}tmpdefFile"
47513 # Create the def file.
47515 echo "LIBRARY \`basnam
${D}dllFile\
` ${D}library_flags" >> ${D}defFile
47516 dllFile="${D}{dllFile}.dll"
47517 if [ ! -z ${D}description ]; then
47518 echo "DESCRIPTION \\"${D}{description}\\"" >> ${D}defFile
47520 echo "EXPORTS" >> ${D}defFile
47522 doCommand "cat ${D}tmpdefFile | sort.exe | uniq.exe > ${D}{tmpdefFile}%"
47523 grep -v "^ *;" < ${D}{tmpdefFile}% | grep -v "^ *${D}" >${D}tmpdefFile
47525 # Checks if the export is ok or not.
47526 for word in ${D}exclude_symbols; do
47527 grep -v ${D}word < ${D}tmpdefFile >${D}{tmpdefFile}%
47528 mv ${D}{tmpdefFile}% ${D}tmpdefFile
47532 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
47533 sed "=" < ${D}tmpdefFile | \\
47537 s/^\\([0-9]\\+\\)\\([^;]*\\)\\(;.*\\)\\?/\\2 @\\1 NONAME/
47539 ' > ${D}{tmpdefFile}%
47540 grep -v "^ *${D}" < ${D}{tmpdefFile}% > ${D}tmpdefFile
47542 rm -f ${D}{tmpdefFile}%
47544 cat ${D}tmpdefFile >> ${D}defFile
47545 rm -f ${D}tmpdefFile
47547 # Do linking, create implib, and apply lxlite.
47549 for file in ${D}inputFiles ; do
47554 gccCmdl="${D}gccCmdl ${D}file"
47558 doCommand "${D}CC ${D}CFLAGS -Zdll -o ${D}dllFile ${D}defFile ${D}gccCmdl ${D}EXTRA_CFLAGS"
47559 touch "${D}{outFile}.dll"
47561 doCommand "emximp -o ${D}arcFile ${D}defFile"
47562 if [ ${D}flag_USE_LXLITE -ne 0 ]; then
47564 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
47567 doCommand "lxlite -cs -t: -mrn -mln ${D}add_flags ${D}dllFile"
47569 doCommand "emxomf -s -l ${D}arcFile"
47579 powerpc-apple-macos* | \
47580 *-*-freebsd* | *-*-openbsd* | *-*-netbsd* | *-*-k*bsd*-gnu | \
47590 { { echo "$as_me:$LINENO: error: unknown system type $BAKEFILE_HOST." >&5
47591 echo "$as_me: error: unknown system type $BAKEFILE_HOST." >&2;}
47592 { (exit 1); exit 1; }; }
47595 if test "x$PIC_FLAG" != "x" ; then
47596 PIC_FLAG="$PIC_FLAG -DPIC"
47599 if test "x$SHARED_LD_MODULE_CC" = "x" ; then
47600 SHARED_LD_MODULE_CC="$SHARED_LD_CC"
47602 if test "x$SHARED_LD_MODULE_CXX" = "x" ; then
47603 SHARED_LD_MODULE_CXX="$SHARED_LD_CXX"
47622 case "${BAKEFILE_HOST}" in
47623 *-*-linux* | *-*-freebsd* | *-*-k*bsd*-gnu )
47624 SONAME_FLAG="-Wl,-soname,"
47658 # Check whether --enable-dependency-tracking was given.
47659 if test "${enable_dependency_tracking+set}" = set; then
47660 enableval=$enable_dependency_tracking; bk_use_trackdeps="$enableval"
47664 { echo "$as_me:$LINENO: checking for dependency tracking method" >&5
47665 echo $ECHO_N "checking for dependency tracking method... $ECHO_C" >&6; }
47668 if test "x$bk_use_trackdeps" = "xno" ; then
47670 { echo "$as_me:$LINENO: result: disabled" >&5
47671 echo "${ECHO_T}disabled" >&6; }
47675 if test "x$GCC" = "xyes"; then
47677 case "${BAKEFILE_HOST}" in
47679 DEPSFLAG="-no-cpp-precomp -MMD"
47685 { echo "$as_me:$LINENO: result: gcc" >&5
47686 echo "${ECHO_T}gcc" >&6; }
47687 elif test "x$MWCC" = "xyes"; then
47690 { echo "$as_me:$LINENO: result: mwcc" >&5
47691 echo "${ECHO_T}mwcc" >&6; }
47692 elif test "x$SUNCC" = "xyes"; then
47695 { echo "$as_me:$LINENO: result: Sun cc" >&5
47696 echo "${ECHO_T}Sun cc" >&6; }
47697 elif test "x$SGICC" = "xyes"; then
47700 { echo "$as_me:$LINENO: result: SGI cc" >&5
47701 echo "${ECHO_T}SGI cc" >&6; }
47702 elif test "x$HPCC" = "xyes"; then
47705 { echo "$as_me:$LINENO: result: HP cc" >&5
47706 echo "${ECHO_T}HP cc" >&6; }
47707 elif test "x$COMPAQCC" = "xyes"; then
47710 { echo "$as_me:$LINENO: result: Compaq cc" >&5
47711 echo "${ECHO_T}Compaq cc" >&6; }
47714 { echo "$as_me:$LINENO: result: none" >&5
47715 echo "${ECHO_T}none" >&6; }
47718 if test $DEPS_TRACKING = 1 ; then
47724 # This script is part of Bakefile (http://bakefile.sourceforge.net) autoconf
47725 # script. It is used to track C/C++ files dependencies in portable way.
47727 # Permission is given to use this file in any way.
47729 DEPSMODE=${DEPSMODE}
47731 DEPSFLAG="${DEPSFLAG}"
47733 mkdir -p ${D}DEPSDIR
47735 if test ${D}DEPSMODE = gcc ; then
47736 ${D}* ${D}{DEPSFLAG}
47738 if test ${D}{status} != 0 ; then
47741 # move created file to the location we want it in:
47742 while test ${D}# -gt 0; do
47756 depfile=\`basename ${D}srcfile
| sed -e 's/\\..*${D}/.d/g'\
`
47757 depobjname=\`echo ${D}depfile
|sed -e 's/\\.d/.o/g'\
`
47758 if test -f ${D}depfile ; then
47759 sed -e "s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{DEPSDIR}/${D}{objfile}.d
47762 # "g++ -MMD -o fooobj.o foosrc.cpp" produces fooobj.d
47763 depfile=\`basename ${D}objfile
| sed -e 's/\\..*${D}/.d/g'\
`
47764 if test ! -f ${D}depfile ; then
47765 # "cxx -MD -o fooobj.o foosrc.cpp" creates fooobj.o.d (Compaq C++)
47766 depfile="${D}objfile.d"
47768 if test -f ${D}depfile ; then
47769 sed -e "/^${D}objfile/!s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{DEPSDIR}/${D}{objfile}.d
47774 elif test ${D}DEPSMODE = mwcc ; then
47775 ${D}* || exit ${D}?
47776 # Run mwcc again with -MM and redirect into the dep file we want
47777 # NOTE: We can't use shift here because we need ${D}* to be valid
47779 for arg in ${D}* ; do
47780 if test "${D}prevarg" = "-o"; then
47793 ${D}* ${D}DEPSFLAG >${D}{DEPSDIR}/${D}{objfile}.d
47795 elif test ${D}DEPSMODE = unixcc; then
47796 ${D}* || exit ${D}?
47797 # Run compiler again with deps flag and redirect into the dep file.
47798 # It doesn't work if the '-o FILE' option is used, but without it the
47799 # dependency file will contain the wrong name for the object. So it is
47800 # removed from the command line, and the dep file is fixed with sed.
47802 while test ${D}# -gt 0; do
47809 eval arg${D}#=\\${D}1
47810 cmd="${D}cmd \\${D}arg${D}#"
47815 eval "${D}cmd ${D}DEPSFLAG" | sed "s|.*:|${D}objfile:|" >${D}{DEPSDIR}/${D}{objfile}.d
47824 BK_DEPS="`pwd`/bk-deps"
47832 case ${BAKEFILE_HOST} in
47833 *-*-cygwin* | *-*-mingw32* )
47834 if test -n "$ac_tool_prefix"; then
47835 # Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args.
47836 set dummy ${ac_tool_prefix}windres; ac_word=$2
47837 { echo "$as_me:$LINENO: checking for $ac_word" >&5
47838 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
47839 if test "${ac_cv_prog_WINDRES+set}" = set; then
47840 echo $ECHO_N "(cached) $ECHO_C" >&6
47842 if test -n "$WINDRES"; then
47843 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
47845 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
47846 for as_dir in $PATH
47849 test -z "$as_dir" && as_dir=.
47850 for ac_exec_ext in '' $ac_executable_extensions; do
47851 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
47852 ac_cv_prog_WINDRES="${ac_tool_prefix}windres"
47853 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47862 WINDRES=$ac_cv_prog_WINDRES
47863 if test -n "$WINDRES"; then
47864 { echo "$as_me:$LINENO: result: $WINDRES" >&5
47865 echo "${ECHO_T}$WINDRES" >&6; }
47867 { echo "$as_me:$LINENO: result: no" >&5
47868 echo "${ECHO_T}no" >&6; }
47873 if test -z "$ac_cv_prog_WINDRES"; then
47874 ac_ct_WINDRES=$WINDRES
47875 # Extract the first word of "windres", so it can be a program name with args.
47876 set dummy windres; ac_word=$2
47877 { echo "$as_me:$LINENO: checking for $ac_word" >&5
47878 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
47879 if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then
47880 echo $ECHO_N "(cached) $ECHO_C" >&6
47882 if test -n "$ac_ct_WINDRES"; then
47883 ac_cv_prog_ac_ct_WINDRES="$ac_ct_WINDRES" # Let the user override the test.
47885 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
47886 for as_dir in $PATH
47889 test -z "$as_dir" && as_dir=.
47890 for ac_exec_ext in '' $ac_executable_extensions; do
47891 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
47892 ac_cv_prog_ac_ct_WINDRES="windres"
47893 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47902 ac_ct_WINDRES=$ac_cv_prog_ac_ct_WINDRES
47903 if test -n "$ac_ct_WINDRES"; then
47904 { echo "$as_me:$LINENO: result: $ac_ct_WINDRES" >&5
47905 echo "${ECHO_T}$ac_ct_WINDRES" >&6; }
47907 { echo "$as_me:$LINENO: result: no" >&5
47908 echo "${ECHO_T}no" >&6; }
47911 if test "x$ac_ct_WINDRES" = x; then
47914 case $cross_compiling:$ac_tool_warned in
47916 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
47917 whose name does not start with the host triplet. If you think this
47918 configuration is useful to you, please write to autoconf@gnu.org." >&5
47919 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
47920 whose name does not start with the host triplet. If you think this
47921 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
47922 ac_tool_warned=yes ;;
47924 WINDRES=$ac_ct_WINDRES
47927 WINDRES="$ac_cv_prog_WINDRES"
47932 *-*-darwin* | powerpc-apple-macos* )
47933 # Extract the first word of "Rez", so it can be a program name with args.
47934 set dummy Rez; ac_word=$2
47935 { echo "$as_me:$LINENO: checking for $ac_word" >&5
47936 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
47937 if test "${ac_cv_prog_REZ+set}" = set; then
47938 echo $ECHO_N "(cached) $ECHO_C" >&6
47940 if test -n "$REZ"; then
47941 ac_cv_prog_REZ="$REZ" # Let the user override the test.
47943 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
47944 for as_dir in $PATH
47947 test -z "$as_dir" && as_dir=.
47948 for ac_exec_ext in '' $ac_executable_extensions; do
47949 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
47950 ac_cv_prog_REZ="Rez"
47951 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47958 test -z "$ac_cv_prog_REZ" && ac_cv_prog_REZ="/Developer/Tools/Rez"
47961 REZ=$ac_cv_prog_REZ
47962 if test -n "$REZ"; then
47963 { echo "$as_me:$LINENO: result: $REZ" >&5
47964 echo "${ECHO_T}$REZ" >&6; }
47966 { echo "$as_me:$LINENO: result: no" >&5
47967 echo "${ECHO_T}no" >&6; }
47971 # Extract the first word of "SetFile", so it can be a program name with args.
47972 set dummy SetFile; ac_word=$2
47973 { echo "$as_me:$LINENO: checking for $ac_word" >&5
47974 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
47975 if test "${ac_cv_prog_SETFILE+set}" = set; then
47976 echo $ECHO_N "(cached) $ECHO_C" >&6
47978 if test -n "$SETFILE"; then
47979 ac_cv_prog_SETFILE="$SETFILE" # Let the user override the test.
47981 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
47982 for as_dir in $PATH
47985 test -z "$as_dir" && as_dir=.
47986 for ac_exec_ext in '' $ac_executable_extensions; do
47987 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
47988 ac_cv_prog_SETFILE="SetFile"
47989 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47996 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE="/Developer/Tools/SetFile"
47999 SETFILE=$ac_cv_prog_SETFILE
48000 if test -n "$SETFILE"; then
48001 { echo "$as_me:$LINENO: result: $SETFILE" >&5
48002 echo "${ECHO_T}$SETFILE" >&6; }
48004 { echo "$as_me:$LINENO: result: no" >&5
48005 echo "${ECHO_T}no" >&6; }
48017 BAKEFILE_BAKEFILE_M4_VERSION="0.2.2"
48020 BAKEFILE_AUTOCONF_INC_M4_VERSION="0.2.2"
48024 # Check whether --enable-precomp-headers was given.
48025 if test "${enable_precomp_headers+set}" = set; then
48026 enableval=$enable_precomp_headers; bk_use_pch="$enableval"
48035 case ${BAKEFILE_HOST} in
48041 if test "x$bk_use_pch" = "x" -o "x$bk_use_pch" = "xyes" ; then
48042 if test "x$GCC" = "xyes"; then
48043 { echo "$as_me:$LINENO: checking if the compiler supports precompiled headers" >&5
48044 echo $ECHO_N "checking if the compiler supports precompiled headers... $ECHO_C" >&6; }
48045 cat >conftest.$ac_ext <<_ACEOF
48048 cat confdefs.h >>conftest.$ac_ext
48049 cat >>conftest.$ac_ext <<_ACEOF
48050 /* end confdefs.h. */
48056 #if !defined(__GNUC__) || !defined(__GNUC_MINOR__)
48057 There is no PCH support
48060 There is no PCH support
48062 #if (__GNUC__ == 3) && \
48063 ((!defined(__APPLE_CC__) && (__GNUC_MINOR__ < 4)) || \
48064 ( defined(__APPLE_CC__) && (__GNUC_MINOR__ < 3))) || \
48065 ( defined(__INTEL_COMPILER) )
48066 There is no PCH support
48073 rm -f conftest.$ac_objext
48074 if { (ac_try="$ac_compile"
48075 case "(($ac_try" in
48076 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
48077 *) ac_try_echo
=$ac_try;;
48079 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
48080 (eval "$ac_compile") 2>conftest.er1
48082 grep -v '^ *+' conftest.er1
>conftest.err
48084 cat conftest.err
>&5
48085 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48086 (exit $ac_status); } && {
48087 test -z "$ac_c_werror_flag" ||
48088 test ! -s conftest.err
48089 } && test -s conftest.
$ac_objext; then
48091 { echo "$as_me:$LINENO: result: yes" >&5
48092 echo "${ECHO_T}yes" >&6; }
48096 echo "$as_me: failed program was:" >&5
48097 sed 's/^/| /' conftest.
$ac_ext >&5
48100 cat >conftest.
$ac_ext <<_ACEOF
48103 cat confdefs.h
>>conftest.
$ac_ext
48104 cat >>conftest.
$ac_ext <<_ACEOF
48105 /* end confdefs.h. */
48111 #if !defined(__INTEL_COMPILER) || \
48112 (__INTEL_COMPILER < 800)
48113 There is no PCH support
48120 rm -f conftest.
$ac_objext
48121 if { (ac_try
="$ac_compile"
48122 case "(($ac_try" in
48123 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
48124 *) ac_try_echo=$ac_try;;
48126 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
48127 (eval "$ac_compile") 2>conftest.er1
48129 grep -v '^ *+' conftest.er1 >conftest.err
48131 cat conftest.err >&5
48132 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48133 (exit $ac_status); } && {
48134 test -z "$ac_c_werror_flag" ||
48135 test ! -s conftest.err
48136 } && test -s conftest.$ac_objext; then
48138 { echo "$as_me:$LINENO: result: yes" >&5
48139 echo "${ECHO_T}yes" >&6; }
48143 echo "$as_me: failed program was:" >&5
48144 sed 's/^/| /' conftest.$ac_ext >&5
48147 { echo "$as_me:$LINENO: result: no" >&5
48148 echo "${ECHO_T}no" >&6; }
48152 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48156 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48157 if test $GCC_PCH = 1 -o $ICC_PCH = 1 ; then
48161 cat <<EOF >bk-make-pch
48164 # This script is part of Bakefile (http://bakefile.sourceforge.net) autoconf
48165 # script. It is used to generated precompiled headers.
48167 # Permission is given to use this file in any way.
48177 while test ${D}{#} -gt 0; do
48181 incdir=\`echo ${D}{1} | sed -e 's/-I\\(.*\\)/\\1/g'\
`
48182 if test "x${D}{headerfile}" = "x" -a -f "${D}{incdir}/${D}{header}" ; then
48183 headerfile="${D}{incdir}/${D}{header}"
48186 -use-pch|-use_pch )
48191 if test ${D}add_to_cmdline = 1 ; then
48192 compiler="${D}{compiler} ${D}{1}"
48197 if test "x${D}{headerfile}" = "x" ; then
48198 echo "error: can't find header ${D}{header} in include paths" >&2
48200 if test -f ${D}{outfile} ; then
48201 rm -f ${D}{outfile}
48203 mkdir -p \`dirname ${D}{outfile
}\
`
48205 depsfile=".deps/\`echo ${D}{outfile
} | tr '/.' '__'\
`.d"
48207 if test "x${GCC_PCH}" = "x1" ; then
48208 # can do this because gcc is >= 3.4:
48209 ${D}{compiler} -o ${D}{outfile} -MMD -MF "${D}{depsfile}" "${D}{headerfile}"
48210 elif test "x${ICC_PCH}" = "x1" ; then
48211 filename=pch_gen-${D}${D}
48212 file=${D}{filename}.c
48213 dfile=${D}{filename}.d
48214 cat > ${D}file <<EOT
48215 #include "${D}header"
48217 # using -MF icc complains about differing command lines in creation/use
48218 ${D}compiler -c -create_pch ${D}outfile -MMD ${D}file && \\
48219 sed -e "s,^.*:,${D}outfile:," -e "s, ${D}file,," < ${D}dfile > ${D}depsfile && \\
48220 rm -f ${D}file ${D}dfile ${D}{filename}.o
48226 chmod +x bk-make-pch
48227 BK_MAKE_PCH="`pwd`/bk-make-pch"
48236 COND_BUILD_DEBUG="#"
48237 if test "x$BUILD" = "xdebug" ; then
48238 COND_BUILD_DEBUG=""
48241 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT="#"
48242 if test "x$BUILD" = "xdebug" -a "x$DEBUG_FLAG" = "xdefault" ; then
48243 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT=""
48246 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT="#"
48247 if test "x$BUILD" = "xdebug" -a "x$DEBUG_INFO" = "xdefault" ; then
48248 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT=""
48251 COND_BUILD_DEBUG_UNICODE_0="#"
48252 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x0" ; then
48253 COND_BUILD_DEBUG_UNICODE_0=""
48256 COND_BUILD_DEBUG_UNICODE_1="#"
48257 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x1" ; then
48258 COND_BUILD_DEBUG_UNICODE_1=""
48261 COND_BUILD_RELEASE="#"
48262 if test "x$BUILD" = "xrelease" ; then
48263 COND_BUILD_RELEASE=""
48266 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT="#"
48267 if test "x$BUILD" = "xrelease" -a "x$DEBUG_INFO" = "xdefault" ; then
48268 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT=""
48271 COND_BUILD_RELEASE_UNICODE_0="#"
48272 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x0" ; then
48273 COND_BUILD_RELEASE_UNICODE_0=""
48276 COND_BUILD_RELEASE_UNICODE_1="#"
48277 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x1" ; then
48278 COND_BUILD_RELEASE_UNICODE_1=""
48281 COND_DEBUG_FLAG_1="#"
48282 if test "x$DEBUG_FLAG" = "x1" ; then
48283 COND_DEBUG_FLAG_1=""
48286 COND_DEBUG_INFO_0="#"
48287 if test "x$DEBUG_INFO" = "x0" ; then
48288 COND_DEBUG_INFO_0=""
48291 COND_DEBUG_INFO_1="#"
48292 if test "x$DEBUG_INFO" = "x1" ; then
48293 COND_DEBUG_INFO_1=""
48296 COND_DEPS_TRACKING_0="#"
48297 if test "x$DEPS_TRACKING" = "x0" ; then
48298 COND_DEPS_TRACKING_0=""
48301 COND_DEPS_TRACKING_1="#"
48302 if test "x$DEPS_TRACKING" = "x1" ; then
48303 COND_DEPS_TRACKING_1=""
48307 if test "x$GCC_PCH" = "x1" ; then
48312 if test "x$ICC_PCH" = "x1" ; then
48316 COND_MONOLITHIC_0="#"
48317 if test "x$MONOLITHIC" = "x0" ; then
48318 COND_MONOLITHIC_0=""
48321 COND_MONOLITHIC_0_SHARED_0="#"
48322 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" ; then
48323 COND_MONOLITHIC_0_SHARED_0=""
48326 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1="#"
48327 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_AUI" = "x1" ; then
48328 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1=""
48331 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1="#"
48332 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" ; then
48333 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1=""
48336 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1="#"
48337 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
48338 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1=""
48341 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1="#"
48342 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
48343 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1=""
48346 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1="#"
48347 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_ODBC" = "x1" ; then
48348 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1=""
48351 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1="#"
48352 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_QA" = "x1" ; then
48353 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1=""
48356 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1="#"
48357 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_ODBC" = "x1" ; then
48358 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1=""
48361 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1="#"
48362 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_RICHTEXT" = "x1" ; then
48363 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1=""
48366 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1="#"
48367 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_XRC" = "x1" ; then
48368 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1=""
48371 COND_MONOLITHIC_0_SHARED_1="#"
48372 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" ; then
48373 COND_MONOLITHIC_0_SHARED_1=""
48376 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1="#"
48377 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_AUI" = "x1" ; then
48378 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1=""
48381 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1="#"
48382 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" ; then
48383 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1=""
48386 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1="#"
48387 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
48388 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1=""
48391 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1="#"
48392 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
48393 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1=""
48396 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1="#"
48397 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_ODBC" = "x1" ; then
48398 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1=""
48401 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1="#"
48402 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_QA" = "x1" ; then
48403 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1=""
48406 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1="#"
48407 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_ODBC" = "x1" ; then
48408 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1=""
48411 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1="#"
48412 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_RICHTEXT" = "x1" ; then
48413 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1=""
48416 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1="#"
48417 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_XRC" = "x1" ; then
48418 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1=""
48421 COND_MONOLITHIC_0_USE_MEDIA_1="#"
48422 if test "x$MONOLITHIC" = "x0" -a "x$USE_MEDIA" = "x1" ; then
48423 COND_MONOLITHIC_0_USE_MEDIA_1=""
48426 COND_MONOLITHIC_0_USE_ODBC_1="#"
48427 if test "x$MONOLITHIC" = "x0" -a "x$USE_ODBC" = "x1" ; then
48428 COND_MONOLITHIC_0_USE_ODBC_1=""
48431 COND_MONOLITHIC_1="#"
48432 if test "x$MONOLITHIC" = "x1" ; then
48433 COND_MONOLITHIC_1=""
48436 COND_MONOLITHIC_1_SHARED_0="#"
48437 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x0" ; then
48438 COND_MONOLITHIC_1_SHARED_0=""
48441 COND_MONOLITHIC_1_SHARED_1="#"
48442 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x1" ; then
48443 COND_MONOLITHIC_1_SHARED_1=""
48446 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1="#"
48447 if test "x$OFFICIAL_BUILD" = "x0" -a "x$PLATFORM_WIN32" = "x1" ; then
48448 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1=""
48451 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1="#"
48452 if test "x$OFFICIAL_BUILD" = "x1" -a "x$PLATFORM_WIN32" = "x1" ; then
48453 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1=""
48456 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1="#"
48457 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERCYGWIN" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
48458 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1=""
48461 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1="#"
48462 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
48463 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1=""
48466 COND_PLATFORM_MACOSX_1="#"
48467 if test "x$PLATFORM_MACOSX" = "x1" ; then
48468 COND_PLATFORM_MACOSX_1=""
48471 COND_PLATFORM_MACOSX_1_TOOLKIT_="#"
48472 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "x" ; then
48473 COND_PLATFORM_MACOSX_1_TOOLKIT_=""
48476 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA="#"
48477 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xCOCOA" ; then
48478 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA=""
48481 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK="#"
48482 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xGTK" ; then
48483 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK=""
48486 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC="#"
48487 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMAC" ; then
48488 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC=""
48491 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1="#"
48492 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" ; then
48493 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1=""
48496 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF="#"
48497 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMOTIF" ; then
48498 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF=""
48501 COND_PLATFORM_MACOSX_1_TOOLKIT_X11="#"
48502 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xX11" ; then
48503 COND_PLATFORM_MACOSX_1_TOOLKIT_X11=""
48506 COND_PLATFORM_MACOSX_1_USE_GUI_1="#"
48507 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_GUI" = "x1" ; then
48508 COND_PLATFORM_MACOSX_1_USE_GUI_1=""
48511 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1="#"
48512 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
48513 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1=""
48516 COND_PLATFORM_MACOS_1="#"
48517 if test "x$PLATFORM_MACOS" = "x1" ; then
48518 COND_PLATFORM_MACOS_1=""
48521 COND_PLATFORM_MAC_1="#"
48522 if test "x$PLATFORM_MAC" = "x1" ; then
48523 COND_PLATFORM_MAC_1=""
48526 COND_PLATFORM_MSDOS_0="#"
48527 if test "x$PLATFORM_MSDOS" = "x0" ; then
48528 COND_PLATFORM_MSDOS_0=""
48531 COND_PLATFORM_MSDOS_1="#"
48532 if test "x$PLATFORM_MSDOS" = "x1" ; then
48533 COND_PLATFORM_MSDOS_1=""
48536 COND_PLATFORM_OS2_1="#"
48537 if test "x$PLATFORM_OS2" = "x1" ; then
48538 COND_PLATFORM_OS2_1=""
48541 COND_PLATFORM_UNIX_0="#"
48542 if test "x$PLATFORM_UNIX" = "x0" ; then
48543 COND_PLATFORM_UNIX_0=""
48546 COND_PLATFORM_UNIX_1="#"
48547 if test "x$PLATFORM_UNIX" = "x1" ; then
48548 COND_PLATFORM_UNIX_1=""
48551 COND_PLATFORM_UNIX_1_TOOLKIT_MGL="#"
48552 if test "x$PLATFORM_UNIX" = "x1" -a "x$TOOLKIT" = "xMGL" ; then
48553 COND_PLATFORM_UNIX_1_TOOLKIT_MGL=""
48556 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1="#"
48557 if test "x$PLATFORM_UNIX" = "x1" -a "x$TOOLKIT" = "xMGL" -a "x$USE_GUI" = "x1" ; then
48558 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1=""
48561 COND_PLATFORM_UNIX_1_USE_GUI_1="#"
48562 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_GUI" = "x1" ; then
48563 COND_PLATFORM_UNIX_1_USE_GUI_1=""
48566 COND_PLATFORM_UNIX_1_USE_PLUGINS_0="#"
48567 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_PLUGINS" = "x0" ; then
48568 COND_PLATFORM_UNIX_1_USE_PLUGINS_0=""
48571 COND_PLATFORM_WIN32_0="#"
48572 if test "x$PLATFORM_WIN32" = "x0" ; then
48573 COND_PLATFORM_WIN32_0=""
48576 COND_PLATFORM_WIN32_1="#"
48577 if test "x$PLATFORM_WIN32" = "x1" ; then
48578 COND_PLATFORM_WIN32_1=""
48582 if test "x$SHARED" = "x0" ; then
48586 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0="#"
48587 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMAC" -a "x$WXUNIV" = "x0" ; then
48588 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0=""
48591 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0="#"
48592 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
48593 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0=""
48596 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0="#"
48597 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xPM" -a "x$WXUNIV" = "x0" ; then
48598 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0=""
48601 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1="#"
48602 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
48603 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1=""
48606 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN="#"
48607 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
48608 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN=""
48611 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN="#"
48612 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
48613 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN=""
48616 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN="#"
48617 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
48618 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN=""
48621 COND_SHARED_0_USE_XRC_1="#"
48622 if test "x$SHARED" = "x0" -a "x$USE_XRC" = "x1" ; then
48623 COND_SHARED_0_USE_XRC_1=""
48626 COND_SHARED_0_WXUSE_EXPAT_BUILTIN="#"
48627 if test "x$SHARED" = "x0" -a "x$wxUSE_EXPAT" = "xbuiltin" ; then
48628 COND_SHARED_0_WXUSE_EXPAT_BUILTIN=""
48631 COND_SHARED_0_WXUSE_ODBC_BUILTIN="#"
48632 if test "x$SHARED" = "x0" -a "x$wxUSE_ODBC" = "xbuiltin" ; then
48633 COND_SHARED_0_WXUSE_ODBC_BUILTIN=""
48636 COND_SHARED_0_WXUSE_REGEX_BUILTIN="#"
48637 if test "x$SHARED" = "x0" -a "x$wxUSE_REGEX" = "xbuiltin" ; then
48638 COND_SHARED_0_WXUSE_REGEX_BUILTIN=""
48641 COND_SHARED_0_WXUSE_ZLIB_BUILTIN="#"
48642 if test "x$SHARED" = "x0" -a "x$wxUSE_ZLIB" = "xbuiltin" ; then
48643 COND_SHARED_0_WXUSE_ZLIB_BUILTIN=""
48647 if test "x$SHARED" = "x1" ; then
48651 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1="#"
48652 if test "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
48653 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1=""
48656 COND_SHARED_1_USE_XRC_1="#"
48657 if test "x$SHARED" = "x1" -a "x$USE_XRC" = "x1" ; then
48658 COND_SHARED_1_USE_XRC_1=""
48662 if test "x$TOOLKIT" = "x" ; then
48666 COND_TOOLKIT_COCOA="#"
48667 if test "x$TOOLKIT" = "xCOCOA" ; then
48668 COND_TOOLKIT_COCOA=""
48671 COND_TOOLKIT_COCOA_USE_GUI_1="#"
48672 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" ; then
48673 COND_TOOLKIT_COCOA_USE_GUI_1=""
48676 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0="#"
48677 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
48678 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0=""
48681 COND_TOOLKIT_DFB="#"
48682 if test "x$TOOLKIT" = "xDFB" ; then
48683 COND_TOOLKIT_DFB=""
48686 COND_TOOLKIT_DFB_USE_GUI_1="#"
48687 if test "x$TOOLKIT" = "xDFB" -a "x$USE_GUI" = "x1" ; then
48688 COND_TOOLKIT_DFB_USE_GUI_1=""
48691 COND_TOOLKIT_GTK="#"
48692 if test "x$TOOLKIT" = "xGTK" ; then
48693 COND_TOOLKIT_GTK=""
48696 COND_TOOLKIT_GTK_TOOLKIT_VERSION_="#"
48697 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" ; then
48698 COND_TOOLKIT_GTK_TOOLKIT_VERSION_=""
48701 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2="#"
48702 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" ; then
48703 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2=""
48706 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1="#"
48707 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" ; then
48708 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1=""
48711 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0="#"
48712 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
48713 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0=""
48716 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1="#"
48717 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" -a "x$USE_GUI" = "x1" ; then
48718 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1=""
48721 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0="#"
48722 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
48723 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0=""
48726 COND_TOOLKIT_GTK_USE_GUI_1="#"
48727 if test "x$TOOLKIT" = "xGTK" -a "x$USE_GUI" = "x1" ; then
48728 COND_TOOLKIT_GTK_USE_GUI_1=""
48731 COND_TOOLKIT_MAC="#"
48732 if test "x$TOOLKIT" = "xMAC" ; then
48733 COND_TOOLKIT_MAC=""
48736 COND_TOOLKIT_MAC_USE_GUI_1="#"
48737 if test "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" ; then
48738 COND_TOOLKIT_MAC_USE_GUI_1=""
48741 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0="#"
48742 if test "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
48743 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0=""
48746 COND_TOOLKIT_MGL="#"
48747 if test "x$TOOLKIT" = "xMGL" ; then
48748 COND_TOOLKIT_MGL=""
48751 COND_TOOLKIT_MGL_USE_GUI_1="#"
48752 if test "x$TOOLKIT" = "xMGL" -a "x$USE_GUI" = "x1" ; then
48753 COND_TOOLKIT_MGL_USE_GUI_1=""
48756 COND_TOOLKIT_MOTIF="#"
48757 if test "x$TOOLKIT" = "xMOTIF" ; then
48758 COND_TOOLKIT_MOTIF=""
48761 COND_TOOLKIT_MOTIF_USE_GUI_1="#"
48762 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" ; then
48763 COND_TOOLKIT_MOTIF_USE_GUI_1=""
48766 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0="#"
48767 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
48768 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0=""
48771 COND_TOOLKIT_MSW="#"
48772 if test "x$TOOLKIT" = "xMSW" ; then
48773 COND_TOOLKIT_MSW=""
48776 COND_TOOLKIT_MSW_USE_GUI_1="#"
48777 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" ; then
48778 COND_TOOLKIT_MSW_USE_GUI_1=""
48781 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0="#"
48782 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
48783 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0=""
48786 COND_TOOLKIT_MSW_WXUNIV_0="#"
48787 if test "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
48788 COND_TOOLKIT_MSW_WXUNIV_0=""
48791 COND_TOOLKIT_PM="#"
48792 if test "x$TOOLKIT" = "xPM" ; then
48796 COND_TOOLKIT_PM_USE_GUI_1="#"
48797 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" ; then
48798 COND_TOOLKIT_PM_USE_GUI_1=""
48801 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0="#"
48802 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
48803 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0=""
48806 COND_TOOLKIT_WINCE="#"
48807 if test "x$TOOLKIT" = "xWINCE" ; then
48808 COND_TOOLKIT_WINCE=""
48811 COND_TOOLKIT_WINCE_USE_GUI_1="#"
48812 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" ; then
48813 COND_TOOLKIT_WINCE_USE_GUI_1=""
48816 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0="#"
48817 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
48818 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0=""
48821 COND_TOOLKIT_WINCE_WXUNIV_0="#"
48822 if test "x$TOOLKIT" = "xWINCE" -a "x$WXUNIV" = "x0" ; then
48823 COND_TOOLKIT_WINCE_WXUNIV_0=""
48826 COND_TOOLKIT_X11="#"
48827 if test "x$TOOLKIT" = "xX11" ; then
48828 COND_TOOLKIT_X11=""
48831 COND_TOOLKIT_X11_USE_GUI_1="#"
48832 if test "x$TOOLKIT" = "xX11" -a "x$USE_GUI" = "x1" ; then
48833 COND_TOOLKIT_X11_USE_GUI_1=""
48837 if test "x$UNICODE" = "x1" ; then
48841 COND_USE_EXCEPTIONS_0="#"
48842 if test "x$USE_EXCEPTIONS" = "x0" ; then
48843 COND_USE_EXCEPTIONS_0=""
48846 COND_USE_EXCEPTIONS_1="#"
48847 if test "x$USE_EXCEPTIONS" = "x1" ; then
48848 COND_USE_EXCEPTIONS_1=""
48852 if test "x$USE_GUI" = "x0" ; then
48857 if test "x$USE_GUI" = "x1" ; then
48861 COND_USE_GUI_1_WXUNIV_0="#"
48862 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
48863 COND_USE_GUI_1_WXUNIV_0=""
48866 COND_USE_GUI_1_WXUNIV_1="#"
48867 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x1" ; then
48868 COND_USE_GUI_1_WXUNIV_1=""
48871 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN="#"
48872 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
48873 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN=""
48876 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN="#"
48877 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
48878 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN=""
48881 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN="#"
48882 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
48883 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN=""
48886 COND_USE_ODBC_1="#"
48887 if test "x$USE_ODBC" = "x1" ; then
48891 COND_USE_OPENGL_1="#"
48892 if test "x$USE_OPENGL" = "x1" ; then
48893 COND_USE_OPENGL_1=""
48897 if test "x$USE_PCH" = "x1" ; then
48901 COND_USE_PLUGINS_0="#"
48902 if test "x$USE_PLUGINS" = "x0" ; then
48903 COND_USE_PLUGINS_0=""
48906 COND_USE_RTTI_0="#"
48907 if test "x$USE_RTTI" = "x0" ; then
48911 COND_USE_RTTI_1="#"
48912 if test "x$USE_RTTI" = "x1" ; then
48916 COND_USE_SOSYMLINKS_1="#"
48917 if test "x$USE_SOSYMLINKS" = "x1" ; then
48918 COND_USE_SOSYMLINKS_1=""
48921 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1="#"
48922 if test "x$USE_SOVERCYGWIN" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
48923 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1=""
48926 COND_USE_SOVERLINUX_1="#"
48927 if test "x$USE_SOVERLINUX" = "x1" ; then
48928 COND_USE_SOVERLINUX_1=""
48931 COND_USE_SOVERSION_0="#"
48932 if test "x$USE_SOVERSION" = "x0" ; then
48933 COND_USE_SOVERSION_0=""
48936 COND_USE_SOVERSOLARIS_1="#"
48937 if test "x$USE_SOVERSOLARIS" = "x1" ; then
48938 COND_USE_SOVERSOLARIS_1=""
48941 COND_USE_THREADS_0="#"
48942 if test "x$USE_THREADS" = "x0" ; then
48943 COND_USE_THREADS_0=""
48946 COND_USE_THREADS_1="#"
48947 if test "x$USE_THREADS" = "x1" ; then
48948 COND_USE_THREADS_1=""
48952 if test "x$USE_XRC" = "x1" ; then
48956 COND_WINDOWS_IMPLIB_1="#"
48957 if test "x$WINDOWS_IMPLIB" = "x1" ; then
48958 COND_WINDOWS_IMPLIB_1=""
48961 COND_WITH_PLUGIN_SDL_1="#"
48962 if test "x$WITH_PLUGIN_SDL" = "x1" ; then
48963 COND_WITH_PLUGIN_SDL_1=""
48967 if test "x$WXUNIV" = "x0" ; then
48972 if test "x$WXUNIV" = "x1" ; then
48976 COND_WXUSE_EXPAT_BUILTIN="#"
48977 if test "x$wxUSE_EXPAT" = "xbuiltin" ; then
48978 COND_WXUSE_EXPAT_BUILTIN=""
48981 COND_WXUSE_LIBJPEG_BUILTIN="#"
48982 if test "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
48983 COND_WXUSE_LIBJPEG_BUILTIN=""
48986 COND_WXUSE_LIBPNG_BUILTIN="#"
48987 if test "x$wxUSE_LIBPNG" = "xbuiltin" ; then
48988 COND_WXUSE_LIBPNG_BUILTIN=""
48991 COND_WXUSE_LIBTIFF_BUILTIN="#"
48992 if test "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
48993 COND_WXUSE_LIBTIFF_BUILTIN=""
48996 COND_WXUSE_ODBC_BUILTIN="#"
48997 if test "x$wxUSE_ODBC" = "xbuiltin" ; then
48998 COND_WXUSE_ODBC_BUILTIN=""
49001 COND_WXUSE_REGEX_BUILTIN="#"
49002 if test "x$wxUSE_REGEX" = "xbuiltin" ; then
49003 COND_WXUSE_REGEX_BUILTIN=""
49006 COND_WXUSE_ZLIB_BUILTIN="#"
49007 if test "x$wxUSE_ZLIB" = "xbuiltin" ; then
49008 COND_WXUSE_ZLIB_BUILTIN=""
49013 if test "$BAKEFILE_AUTOCONF_INC_M4_VERSION" = "" ; then
49014 { { 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
49015 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;}
49016 { (exit 1); exit 1; }; }
49019 if test "$BAKEFILE_BAKEFILE_M4_VERSION" != "$BAKEFILE_AUTOCONF_INC_M4_VERSION" ; then
49020 { { 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
49021 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;}
49022 { (exit 1); exit 1; }; }
49026 if test $GCC_PCH = 1
49028 if test "$wx_cv_gcc_pch_bug" = yes; then
49029 { echo "$as_me:$LINENO: WARNING: *** Precompiled header support is broken on this compiler" >&5
49030 echo "$as_me: WARNING: *** Precompiled header support is broken on this compiler" >&2;}
49031 { echo "$as_me:$LINENO: WARNING: *** --enable-precomp-headers is not recommended" >&5
49032 echo "$as_me: WARNING: *** --enable-precomp-headers is not recommended" >&2;}
49033 { echo "$as_me:$LINENO: WARNING: *** see http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13361" >&5
49034 echo "$as_me: WARNING: *** see http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13361" >&2;}
49037 CPPFLAGS="-DWX_PRECOMP $CPPFLAGS"
49041 if test "$wxUSE_MAC" = 1 ; then
49042 if test "x$wxUSE_UNIVERSAL_BINARY" != "xno" ; then
49043 sed "s/DEPSMODE=gcc/DEPSMODE=none/" < bk-deps > temp
49049 if test "$wxUSE_SHARED" = "yes"; then
49051 sanitised_bakefile_mess=`echo "$SHARED_LD_CXX" | tr -d '()'`
49052 EXE_LINKER=`eval echo "$sanitised_bakefile_mess"`
49055 *-pc-os2_emx | *-pc-os2-emx )
49056 SHARED_LD_CC="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
49057 SHARED_LD_CXX="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
49058 cp -p ${srcdir}/src/os2/dllnames.sh .
49059 cp -p ${srcdir}/src/os2/dllar.sh .
49064 EXE_LINKER="$CXX -o"
49067 if test "$wxUSE_OMF" = "yes"; then
49069 *-pc-os2_emx | *-pc-os2-emx )
49070 LDFLAGS="$LDFLAGS -Zlinker /EXEPACK"
49071 LDFLAGS_GUI="-Zlinker /PMTYPE:PM"
49072 WXCONFIG_LDFLAGS_GUI="-Zlinker /PMTYPE:PM"
49077 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS $TOOLCHAIN_DEFS"
49079 SAMPLES_SUBDIRS="`echo $SAMPLES_SUBDIRS | tr -s ' ' | tr ' ' '\n' | sort | uniq | tr '\n' ' '| tr -d '\r'`"
49141 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
49142 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
49143 set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
49144 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
49145 echo $ECHO_N "(cached) $ECHO_C" >&6
49147 cat >conftest.make <<\_ACEOF
49150 @echo '@@@%%%=$(MAKE)=@@@%%%'
49152 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
49153 case `${MAKE-make} -f conftest.
make 2>/dev
/null
` in
49154 *@@@%%%=?*=@@@%%%*)
49155 eval ac_cv_prog_make_${ac_make}_set=yes;;
49157 eval ac_cv_prog_make_${ac_make}_set=no;;
49159 rm -f conftest.make
49161 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
49162 { echo "$as_me:$LINENO: result: yes" >&5
49163 echo "${ECHO_T}yes" >&6; }
49166 { echo "$as_me:$LINENO: result: no" >&5
49167 echo "${ECHO_T}no" >&6; }
49168 SET_MAKE="MAKE=${MAKE-make}"
49173 ac_config_headers="$ac_config_headers lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in"
49176 if test "$USE_WIN32" = 1; then
49177 ac_config_commands="$ac_config_commands
49183 ac_config_files="$ac_config_files lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in"
49186 ac_config_files="$ac_config_files lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in"
49189 if test "$wx_cv_version_script" = "yes"; then
49190 ac_config_files="$ac_config_files version-script"
49193 ac_config_files="$ac_config_files Makefile"
49196 ac_config_commands="$ac_config_commands wx-config"
49200 if test "$wxWITH_SUBDIRS" != "no"; then
49201 if test "$wxUSE_GUI" = "yes"; then
49202 SUBDIRS="samples demos utils contrib"
49203 else SUBDIRS="samples utils"
49208 # Check whether --with-cppunit-prefix was given.
49209 if test "${with_cppunit_prefix+set}" = set; then
49210 withval=$with_cppunit_prefix; cppunit_config_prefix="$withval"
49212 cppunit_config_prefix=""
49216 # Check whether --with-cppunit-exec-prefix was given.
49217 if test "${with_cppunit_exec_prefix+set}" = set; then
49218 withval=$with_cppunit_exec_prefix; cppunit_config_exec_prefix="$withval"
49220 cppunit_config_exec_prefix=""
49224 if test x$cppunit_config_exec_prefix != x ; then
49225 cppunit_config_args="$cppunit_config_args --exec-prefix=$cppunit_config_exec_prefix"
49226 if test x${CPPUNIT_CONFIG+set} != xset ; then
49227 CPPUNIT_CONFIG=$cppunit_config_exec_prefix/bin/cppunit-config
49230 if test x$cppunit_config_prefix != x ; then
49231 cppunit_config_args="$cppunit_config_args --prefix=$cppunit_config_prefix"
49232 if test x${CPPUNIT_CONFIG+set} != xset ; then
49233 CPPUNIT_CONFIG=$cppunit_config_prefix/bin/cppunit-config
49237 # Extract the first word of "cppunit-config", so it can be a program name with args.
49238 set dummy cppunit-config; ac_word=$2
49239 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49240 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49241 if test "${ac_cv_path_CPPUNIT_CONFIG+set}" = set; then
49242 echo $ECHO_N "(cached) $ECHO_C" >&6
49244 case $CPPUNIT_CONFIG in
49246 ac_cv_path_CPPUNIT_CONFIG="$CPPUNIT_CONFIG" # Let the user override the test with a path.
49249 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49250 for as_dir in $PATH
49253 test -z "$as_dir" && as_dir=.
49254 for ac_exec_ext in '' $ac_executable_extensions; do
49255 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49256 ac_cv_path_CPPUNIT_CONFIG="$as_dir/$ac_word$ac_exec_ext"
49257 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49264 test -z "$ac_cv_path_CPPUNIT_CONFIG" && ac_cv_path_CPPUNIT_CONFIG="no"
49268 CPPUNIT_CONFIG=$ac_cv_path_CPPUNIT_CONFIG
49269 if test -n "$CPPUNIT_CONFIG"; then
49270 { echo "$as_me:$LINENO: result: $CPPUNIT_CONFIG" >&5
49271 echo "${ECHO_T}$CPPUNIT_CONFIG" >&6; }
49273 { echo "$as_me:$LINENO: result: no" >&5
49274 echo "${ECHO_T}no" >&6; }
49278 cppunit_version_min=1.8.0
49280 { echo "$as_me:$LINENO: checking for Cppunit - version >= $cppunit_version_min" >&5
49281 echo $ECHO_N "checking for Cppunit - version >= $cppunit_version_min... $ECHO_C" >&6; }
49283 if test "$CPPUNIT_CONFIG" = "no" ; then
49284 { echo "$as_me:$LINENO: result: no" >&5
49285 echo "${ECHO_T}no" >&6; }
49288 CPPUNIT_CFLAGS=`$CPPUNIT_CONFIG --cflags`
49289 CPPUNIT_LIBS=`$CPPUNIT_CONFIG --libs`
49290 cppunit_version=`$CPPUNIT_CONFIG --version`
49292 cppunit_major_version=`echo $cppunit_version | \
49293 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
49294 cppunit_minor_version=`echo $cppunit_version | \
49295 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
49296 cppunit_micro_version=`echo $cppunit_version | \
49297 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
49299 cppunit_major_min=`echo $cppunit_version_min | \
49300 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
49301 cppunit_minor_min=`echo $cppunit_version_min | \
49302 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
49303 cppunit_micro_min=`echo $cppunit_version_min | \
49304 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
49306 cppunit_version_proper=`expr \
49307 $cppunit_major_version \
> $cppunit_major_min \
| \
49308 $cppunit_major_version \
= $cppunit_major_min \
& \
49309 $cppunit_minor_version \
> $cppunit_minor_min \
| \
49310 $cppunit_major_version \
= $cppunit_major_min \
& \
49311 $cppunit_minor_version \
= $cppunit_minor_min \
& \
49312 $cppunit_micro_version \
>= $cppunit_micro_min `
49314 if test "$cppunit_version_proper" = "1" ; then
49315 { echo "$as_me:$LINENO: result: $cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&5
49316 echo "${ECHO_T}$cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&6; }
49318 { echo "$as_me:$LINENO: result: no" >&5
49319 echo "${ECHO_T}no" >&6; }
49324 if test "x$no_cppunit" = x ; then
49325 SUBDIRS="$SUBDIRS tests"
49336 if test "$USE_UNIX" != "1" -a "$USE_WIN32" != "1"; then
49337 DISABLED_CONTRIB="$DISABLED_CONTRIB net"
49340 for subdir in `echo $SUBDIRS`; do
49341 if test -d ${srcdir}/${subdir} ; then
49342 if test "$wxUSE_GUI" = "yes"; then
49343 if test ${subdir} = "samples"; then
49344 makefiles="samples/Makefile.in $makefiles"
49345 for sample in `echo $SAMPLES_SUBDIRS`; do
49346 if test -d $srcdir/samples/$sample; then
49347 makefiles="samples/$sample/Makefile.in $makefiles"
49351 disabled_var=DISABLED_`echo $subdir | tr [a
-z] [A
-Z]`;
49352 eval "disabled=\$$disabled_var"
49353 disabled=/`echo X
$disabled | sed 's@ @/|/@g'`/
49354 makefiles=`(cd $srcdir ; find $subdir -name Makefile.
in) | $EGREP -v "$disabled"`
49356 else if test ${subdir} = "samples"; then
49357 makefiles="samples/Makefile.in samples/console/Makefile.in"
49358 elif test ${subdir} = "utils"; then
49360 for util in HelpGen tex2rtf ; do
49361 if test -d $srcdir/utils/$util ; then
49362 makefiles="utils/$util/Makefile.in \
49363 utils/$util/src/Makefile.in \
49367 else makefiles=`(cd $srcdir ; find $subdir -name Makefile.
in)`
49371 for mkin in $makefiles ; do
49372 mk=`echo $mkin | sed 's/Makefile\.in/Makefile/g'`
49373 ac_config_files="$ac_config_files $mk"
49379 cat >confcache <<\_ACEOF
49380 # This file is a shell script that caches the results of configure
49381 # tests run on this system so they can be shared between configure
49382 # scripts and configure runs, see configure's option --config-cache.
49383 # It is not useful on other systems. If it contains results you don't
49384 # want to keep, you may remove or edit it.
49386 # config.status only pays attention to the cache file if you give it
49387 # the --recheck option to rerun configure.
49389 # `ac_cv_env_foo
' variables (set or unset) will be overridden when
49390 # loading this file, other *unset* `ac_cv_foo' will be assigned the
49391 # following values.
49395 # The following way of writing the cache mishandles newlines in values,
49396 # but we know of no workaround that is simple, portable, and efficient.
49397 # So, we kill variables containing newlines.
49398 # Ultrix sh set writes to stderr and can't be redirected directly,
49399 # and sets the high bit in the cache file unless we assign to the vars.
49401 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
49402 eval ac_val
=\$
$ac_var
49406 *_cv_
*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
49407 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
49410 _
| IFS
| as_nl
) ;; #(
49411 *) $as_unset $ac_var ;;
49417 case $as_nl`(ac_space=' '; set) 2>&1` in #(
49418 *${as_nl}ac_space
=\
*)
49419 # `set' does not quote correctly, so add quotes (double-quote
49420 # substitution turns \\\\ into \\, and sed turns \\ into \).
49423 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
49426 # `set' quotes correctly as required by POSIX, so do not add quotes.
49427 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
49436 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
49438 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
49440 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
49441 if test -w "$cache_file"; then
49442 test "x$cache_file" != "x/dev/null" &&
49443 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
49444 echo "$as_me: updating cache $cache_file" >&6;}
49445 cat confcache
>$cache_file
49447 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
49448 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
49453 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
49454 # Let make expand exec_prefix.
49455 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
49457 DEFS
=-DHAVE_CONFIG_H
49461 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
49462 # 1. Remove the extension, and $U if already installed.
49463 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
49464 ac_i
=`echo "$ac_i" | sed "$ac_script"`
49465 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
49466 # will be set to the directory where LIBOBJS objects are built.
49467 ac_libobjs
="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
49468 ac_ltlibobjs
="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
49470 LIBOBJS
=$ac_libobjs
49472 LTLIBOBJS
=$ac_ltlibobjs
49476 : ${CONFIG_STATUS=./config.status}
49477 ac_clean_files_save
=$ac_clean_files
49478 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
49479 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
49480 echo "$as_me: creating $CONFIG_STATUS" >&6;}
49481 cat >$CONFIG_STATUS <<_ACEOF
49483 # Generated by $as_me.
49484 # Run this file to recreate the current configuration.
49485 # Compiler output produced by configure, useful for debugging
49486 # configure, is in config.log if it exists.
49489 ac_cs_recheck=false
49491 SHELL=\${CONFIG_SHELL-$SHELL}
49494 cat >>$CONFIG_STATUS <<\_ACEOF
49495 ## --------------------- ##
49496 ## M4sh Initialization. ##
49497 ## --------------------- ##
49499 # Be more Bourne compatible
49500 DUALCASE
=1; export DUALCASE
# for MKS sh
49501 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
49504 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
49505 # is contrary to our usage. Disable this feature.
49506 alias -g '${1+"$@"}'='"$@"'
49507 setopt NO_GLOB_SUBST
49509 case `(set -o) 2>/dev/null` in
49510 *posix
*) set -o posix
;;
49519 # Avoid depending upon Character Ranges.
49520 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
49521 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
49522 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
49523 as_cr_digits
='0123456789'
49524 as_cr_alnum
=$as_cr_Letters$as_cr_digits
49526 # The user is always right.
49527 if test "${PATH_SEPARATOR+set}" != set; then
49528 echo "#! /bin/sh" >conf$$.sh
49529 echo "exit 0" >>conf$$.sh
49531 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
49539 # Support unset when possible.
49540 if ( (MAIL
=60; unset MAIL
) || exit) >/dev
/null
2>&1; then
49548 # We need space, tab and new line, in precisely that order. Quoting is
49549 # there to prevent editors from complaining about space-tab.
49550 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
49551 # splitting by setting IFS to empty value.)
49556 # Find who we are. Look in the path if we contain no directory separator.
49558 *[\\/]* ) as_myself
=$0 ;;
49559 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
49560 for as_dir
in $PATH
49563 test -z "$as_dir" && as_dir
=.
49564 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
49570 # We did not find ourselves, most probably we were run as `sh COMMAND'
49571 # in which case we are not to be found in the path.
49572 if test "x$as_myself" = x
; then
49575 if test ! -f "$as_myself"; then
49576 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
49577 { (exit 1); exit 1; }
49580 # Work around bugs in pre-3.0 UWIN ksh.
49581 for as_var
in ENV MAIL MAILPATH
49582 do ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
49590 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
49591 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
49592 LC_TELEPHONE LC_TIME
49594 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
49595 eval $as_var=C
; export $as_var
49597 ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
49601 # Required to use basename.
49602 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
49603 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
49609 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
49610 as_basename
=basename
49616 # Name of the executable.
49617 as_me
=`$as_basename -- "$0" ||
49618 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
49619 X"$0" : 'X\(//\)$' \| \
49620 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
49622 sed '/^.*\/\([^/][^/]*\)\/*$/{
49641 as_lineno_1
=$LINENO
49642 as_lineno_2
=$LINENO
49643 test "x$as_lineno_1" != "x$as_lineno_2" &&
49644 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
49646 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
49647 # uniformly replaced by the line number. The first 'sed' inserts a
49648 # line-number line after each line using $LINENO; the second 'sed'
49649 # does the real work. The second script uses 'N' to pair each
49650 # line-number line with the line containing $LINENO, and appends
49651 # trailing '-' during substitution so that $LINENO is not a special
49652 # case at line end.
49653 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
49654 # scripts with optimization help from Paolo Bonzini. Blame Lee
49655 # E. McMahon (1931-1989) for sed's syntax. :-)
49667 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
49670 ' >$as_me.lineno
&&
49671 chmod +x
"$as_me.lineno" ||
49672 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
49673 { (exit 1); exit 1; }; }
49675 # Don't try to exec as it changes $[0], causing all sort of problems
49676 # (the dirname of $[0] is not the place where we might find the
49677 # original and so on. Autoconf is especially sensitive to this).
49678 .
"./$as_me.lineno"
49679 # Exit status is that of the last command.
49684 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
49690 ECHO_C
= ECHO_N
= ECHO_T
=
49691 case `echo -n x` in
49693 case `echo 'x\c'` in
49694 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
49701 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
49702 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
49708 rm -f conf$$ conf$$.exe conf$$.
file
49709 if test -d conf$$.dir
; then
49710 rm -f conf$$.dir
/conf$$.
file
49716 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
49718 # ... but there are two gotchas:
49719 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
49720 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
49721 # In both cases, we have to default to `cp -p'.
49722 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe
||
49724 elif ln conf$$.
file conf$$
2>/dev
/null
; then
49729 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
49730 rmdir conf$$.dir
2>/dev
/null
49732 if mkdir -p .
2>/dev
/null
; then
49735 test -d .
/-p && rmdir .
/-p
49739 if test -x / >/dev
/null
2>&1; then
49740 as_test_x
='test -x'
49742 if ls -dL / >/dev
/null
2>&1; then
49749 if test -d "$1"; then
49755 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
49756 ???[sx]*):;;*)false;;esac;fi
49760 as_executable_p
=$as_test_x
49762 # Sed expression to map a string onto a valid CPP name.
49763 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
49765 # Sed expression to map a string onto a valid variable name.
49766 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
49771 # Save the log message, to keep $[0] and so on meaningful, and to
49772 # report actual input values of CONFIG_FILES etc. instead of their
49773 # values after options handling.
49775 This file was extended by wxWidgets $as_me 2.9.0, which was
49776 generated by GNU Autoconf 2.61. Invocation command line was
49778 CONFIG_FILES = $CONFIG_FILES
49779 CONFIG_HEADERS = $CONFIG_HEADERS
49780 CONFIG_LINKS = $CONFIG_LINKS
49781 CONFIG_COMMANDS = $CONFIG_COMMANDS
49784 on `(hostname || uname -n) 2>/dev/null | sed 1q`
49789 cat >>$CONFIG_STATUS <<_ACEOF
49790 # Files that config.status was made for.
49791 config_files="$ac_config_files"
49792 config_headers="$ac_config_headers"
49793 config_commands="$ac_config_commands"
49797 cat >>$CONFIG_STATUS <<\_ACEOF
49799 \`$as_me' instantiates files from templates according to the
49800 current configuration.
49802 Usage: $0 [OPTIONS] [FILE]...
49804 -h, --help print this help, then exit
49805 -V, --version print version number and configuration settings, then exit
49806 -q, --quiet do not print progress messages
49807 -d, --debug don't remove temporary files
49808 --recheck update $as_me by reconfiguring in the same conditions
49809 --file=FILE[:TEMPLATE]
49810 instantiate the configuration file FILE
49811 --header=FILE[:TEMPLATE]
49812 instantiate the configuration header FILE
49814 Configuration files:
49817 Configuration headers:
49820 Configuration commands:
49823 Report bugs to <bug-autoconf@gnu.org>."
49826 cat >>$CONFIG_STATUS <<_ACEOF
49828 wxWidgets config.status 2.9.0
49829 configured by $0, generated by GNU Autoconf 2.61,
49830 with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
49832 Copyright (C) 2006 Free Software Foundation, Inc.
49833 This config.status script is free software; the Free Software Foundation
49834 gives unlimited permission to copy, distribute and modify it."
49841 cat >>$CONFIG_STATUS <<\_ACEOF
49842 # If no file are specified by the user, then we need to provide default
49843 # value. By we need to know if files were specified by the user.
49849 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
49850 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
49861 # Handling of the options.
49862 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
49864 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
49865 echo "$ac_cs_version"; exit ;;
49866 --debug | --debu | --deb | --de | --d | -d )
49868 --file | --fil | --fi | --f )
49870 CONFIG_FILES
="$CONFIG_FILES $ac_optarg"
49871 ac_need_defaults
=false
;;
49872 --header | --heade | --head | --hea )
49874 CONFIG_HEADERS
="$CONFIG_HEADERS $ac_optarg"
49875 ac_need_defaults
=false
;;
49877 # Conflict between --help and --header
49878 { echo "$as_me: error: ambiguous option: $1
49879 Try \`$0 --help' for more information." >&2
49880 { (exit 1); exit 1; }; };;
49881 --help | --hel | -h )
49882 echo "$ac_cs_usage"; exit ;;
49883 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
49884 | -silent | --silent | --silen | --sile | --sil | --si | --s)
49887 # This is an error.
49888 -*) { echo "$as_me: error: unrecognized option: $1
49889 Try \`$0 --help' for more information." >&2
49890 { (exit 1); exit 1; }; } ;;
49892 *) ac_config_targets
="$ac_config_targets $1"
49893 ac_need_defaults
=false
;;
49899 ac_configure_extra_args
=
49901 if $ac_cs_silent; then
49903 ac_configure_extra_args
="$ac_configure_extra_args --silent"
49907 cat >>$CONFIG_STATUS <<_ACEOF
49908 if \$ac_cs_recheck; then
49909 echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
49910 CONFIG_SHELL=$SHELL
49911 export CONFIG_SHELL
49912 exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
49916 cat >>$CONFIG_STATUS <<\_ACEOF
49920 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
49921 ## Running $as_me. ##
49927 cat >>$CONFIG_STATUS <<_ACEOF
49933 infile="$srcdir/include/wx/msw/genrcdefs.h"
49934 outdir="lib/wx/include/$TOOLCHAIN_FULLNAME/wx/msw"
49937 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
49938 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
49939 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
49945 cat >>$CONFIG_STATUS <<\_ACEOF
49947 # Handling of arguments.
49948 for ac_config_target
in $ac_config_targets
49950 case $ac_config_target in
49951 "lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h") CONFIG_HEADERS
="$CONFIG_HEADERS lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in" ;;
49952 "rcdefs.h") CONFIG_COMMANDS
="$CONFIG_COMMANDS rcdefs.h" ;;
49953 "lib/wx/config/${TOOLCHAIN_FULLNAME}") CONFIG_FILES
="$CONFIG_FILES lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in" ;;
49954 "lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}") CONFIG_FILES
="$CONFIG_FILES lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in" ;;
49955 "version-script") CONFIG_FILES
="$CONFIG_FILES version-script" ;;
49956 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
49957 "wx-config") CONFIG_COMMANDS
="$CONFIG_COMMANDS wx-config" ;;
49958 "$mk") CONFIG_FILES
="$CONFIG_FILES $mk" ;;
49960 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
49961 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
49962 { (exit 1); exit 1; }; };;
49967 # If the user did not use the arguments to specify the items to instantiate,
49968 # then the envvar interface is used. Set only those that are not.
49969 # We use the long form for the default assignment because of an extremely
49970 # bizarre bug on SunOS 4.1.3.
49971 if $ac_need_defaults; then
49972 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
49973 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
49974 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
49977 # Have a temporary directory for convenience. Make it in the build tree
49978 # simply because there is no reason against having it here, and in addition,
49979 # creating and moving files from /tmp can sometimes cause problems.
49980 # Hook for its removal unless debugging.
49981 # Note that there is a small window in which the directory will not be cleaned:
49982 # after its creation but before its name has been assigned to `$tmp'.
49986 trap 'exit_status=$?
49987 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
49989 trap '{ (exit 1); exit 1; }' 1 2 13 15
49991 # Create a (secure) tmp directory for tmp files.
49994 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
49995 test -n "$tmp" && test -d "$tmp"
49998 tmp
=.
/conf$$
-$RANDOM
49999 (umask 077 && mkdir "$tmp")
50002 echo "$me: cannot create a temporary directory in ." >&2
50003 { (exit 1); exit 1; }
50007 # Set up the sed scripts for CONFIG_FILES section.
50010 # No need to generate the scripts if there are no CONFIG_FILES.
50011 # This happens for instance when ./config.status config.h
50012 if test -n "$CONFIG_FILES"; then
50019 for ac_last_try
in false false false false false
:; do
50020 cat >conf$
$subs.
sed <<_ACEOF
50021 SHELL!$SHELL$ac_delim
50022 PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
50023 PACKAGE_NAME!$PACKAGE_NAME$ac_delim
50024 PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
50025 PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
50026 PACKAGE_STRING!$PACKAGE_STRING$ac_delim
50027 PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
50028 exec_prefix!$exec_prefix$ac_delim
50029 prefix!$prefix$ac_delim
50030 program_transform_name!$program_transform_name$ac_delim
50031 bindir!$bindir$ac_delim
50032 sbindir!$sbindir$ac_delim
50033 libexecdir!$libexecdir$ac_delim
50034 datarootdir!$datarootdir$ac_delim
50035 datadir!$datadir$ac_delim
50036 sysconfdir!$sysconfdir$ac_delim
50037 sharedstatedir!$sharedstatedir$ac_delim
50038 localstatedir!$localstatedir$ac_delim
50039 includedir!$includedir$ac_delim
50040 oldincludedir!$oldincludedir$ac_delim
50041 docdir!$docdir$ac_delim
50042 infodir!$infodir$ac_delim
50043 htmldir!$htmldir$ac_delim
50044 dvidir!$dvidir$ac_delim
50045 pdfdir!$pdfdir$ac_delim
50046 psdir!$psdir$ac_delim
50047 libdir!$libdir$ac_delim
50048 localedir!$localedir$ac_delim
50049 mandir!$mandir$ac_delim
50050 DEFS!$DEFS$ac_delim
50051 ECHO_C!$ECHO_C$ac_delim
50052 ECHO_N!$ECHO_N$ac_delim
50053 ECHO_T!$ECHO_T$ac_delim
50054 LIBS!$LIBS$ac_delim
50055 build_alias!$build_alias$ac_delim
50056 host_alias!$host_alias$ac_delim
50057 target_alias!$target_alias$ac_delim
50058 build!$build$ac_delim
50059 build_cpu!$build_cpu$ac_delim
50060 build_vendor!$build_vendor$ac_delim
50061 build_os!$build_os$ac_delim
50062 host!$host$ac_delim
50063 host_cpu!$host_cpu$ac_delim
50064 host_vendor!$host_vendor$ac_delim
50065 host_os!$host_os$ac_delim
50066 target!$target$ac_delim
50067 target_cpu!$target_cpu$ac_delim
50068 target_vendor!$target_vendor$ac_delim
50069 target_os!$target_os$ac_delim
50070 wx_top_builddir!$wx_top_builddir$ac_delim
50072 CFLAGS!$CFLAGS$ac_delim
50073 LDFLAGS!$LDFLAGS$ac_delim
50074 CPPFLAGS!$CPPFLAGS$ac_delim
50075 ac_ct_CC!$ac_ct_CC$ac_delim
50076 EXEEXT!$EXEEXT$ac_delim
50077 OBJEXT!$OBJEXT$ac_delim
50079 GREP!$GREP$ac_delim
50080 EGREP!$EGREP$ac_delim
50082 CXXFLAGS!$CXXFLAGS$ac_delim
50083 ac_ct_CXX!$ac_ct_CXX$ac_delim
50084 RANLIB!$RANLIB$ac_delim
50086 INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
50087 INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
50088 INSTALL_DATA!$INSTALL_DATA$ac_delim
50089 STRIP!$STRIP$ac_delim
50090 WINDRES!$WINDRES$ac_delim
50091 DLLTOOL!$DLLTOOL$ac_delim
50092 IF_GNU_MAKE!$IF_GNU_MAKE$ac_delim
50093 LN_S!$LN_S$ac_delim
50094 subdirs!$subdirs$ac_delim
50095 PKG_CONFIG!$PKG_CONFIG$ac_delim
50096 GTK_CFLAGS!$GTK_CFLAGS$ac_delim
50097 GTK_LIBS!$GTK_LIBS$ac_delim
50098 GTK_CONFIG!$GTK_CONFIG$ac_delim
50099 DIRECTFB_CFLAGS!$DIRECTFB_CFLAGS$ac_delim
50100 DIRECTFB_LIBS!$DIRECTFB_LIBS$ac_delim
50101 XMKMF!$XMKMF$ac_delim
50102 X_CFLAGS!$X_CFLAGS$ac_delim
50103 X_PRE_LIBS!$X_PRE_LIBS$ac_delim
50104 X_LIBS!$X_LIBS$ac_delim
50105 X_EXTRA_LIBS!$X_EXTRA_LIBS$ac_delim
50106 PANGOX_CFLAGS!$PANGOX_CFLAGS$ac_delim
50107 PANGOX_LIBS!$PANGOX_LIBS$ac_delim
50108 PANGOFT2_CFLAGS!$PANGOFT2_CFLAGS$ac_delim
50109 PANGOFT2_LIBS!$PANGOFT2_LIBS$ac_delim
50110 PANGOXFT_CFLAGS!$PANGOXFT_CFLAGS$ac_delim
50111 PANGOXFT_LIBS!$PANGOXFT_LIBS$ac_delim
50113 DEREZ!$DEREZ$ac_delim
50114 SETFILE!$SETFILE$ac_delim
50115 LIBICONV!$LIBICONV$ac_delim
50116 EXTRALIBS_ESD!$EXTRALIBS_ESD$ac_delim
50117 SDL_CONFIG!$SDL_CONFIG$ac_delim
50120 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
50122 elif $ac_last_try; then
50123 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
50124 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
50125 { (exit 1); exit 1; }; }
50127 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
50131 ac_eof
=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
50132 if test -n "$ac_eof"; then
50133 ac_eof
=`echo "$ac_eof" | sort -nru | sed 1q`
50134 ac_eof
=`expr $ac_eof + 1`
50137 cat >>$CONFIG_STATUS <<_ACEOF
50138 cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
50139 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
50142 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
50143 s/^/s,@/; s/!/@,|#_!!_#|/
50146 s/'"$ac_delim"'$/,g/; t
50148 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
50149 ' >>$CONFIG_STATUS <conf$
$subs.
sed
50150 rm -f conf$
$subs.
sed
50151 cat >>$CONFIG_STATUS <<_ACEOF
50157 for ac_last_try
in false false false false false
:; do
50158 cat >conf$
$subs.
sed <<_ACEOF
50159 SDL_CFLAGS!$SDL_CFLAGS$ac_delim
50160 SDL_LIBS!$SDL_LIBS$ac_delim
50161 LIBGNOMEPRINTUI_CFLAGS!$LIBGNOMEPRINTUI_CFLAGS$ac_delim
50162 LIBGNOMEPRINTUI_LIBS!$LIBGNOMEPRINTUI_LIBS$ac_delim
50163 GNOMEVFS_CFLAGS!$GNOMEVFS_CFLAGS$ac_delim
50164 GNOMEVFS_LIBS!$GNOMEVFS_LIBS$ac_delim
50165 HILDON_CFLAGS!$HILDON_CFLAGS$ac_delim
50166 HILDON_LIBS!$HILDON_LIBS$ac_delim
50167 CAIRO_CFLAGS!$CAIRO_CFLAGS$ac_delim
50168 CAIRO_LIBS!$CAIRO_LIBS$ac_delim
50169 GST_CFLAGS!$GST_CFLAGS$ac_delim
50170 GST_LIBS!$GST_LIBS$ac_delim
50171 CORE_BASE_LIBS!$CORE_BASE_LIBS$ac_delim
50172 CORE_GUI_LIBS!$CORE_GUI_LIBS$ac_delim
50173 wxUSE_ZLIB!$wxUSE_ZLIB$ac_delim
50174 wxUSE_REGEX!$wxUSE_REGEX$ac_delim
50175 wxUSE_EXPAT!$wxUSE_EXPAT$ac_delim
50176 wxUSE_ODBC!$wxUSE_ODBC$ac_delim
50177 wxUSE_LIBJPEG!$wxUSE_LIBJPEG$ac_delim
50178 wxUSE_LIBPNG!$wxUSE_LIBPNG$ac_delim
50179 wxUSE_LIBTIFF!$wxUSE_LIBTIFF$ac_delim
50180 VENDOR!$VENDOR$ac_delim
50181 OFFICIAL_BUILD!$OFFICIAL_BUILD$ac_delim
50182 WX_FLAVOUR!$WX_FLAVOUR$ac_delim
50183 WX_LIB_FLAVOUR!$WX_LIB_FLAVOUR$ac_delim
50184 WXUNIV!$WXUNIV$ac_delim
50185 MONOLITHIC!$MONOLITHIC$ac_delim
50186 USE_PLUGINS!$USE_PLUGINS$ac_delim
50187 EXTRALIBS!$EXTRALIBS$ac_delim
50188 EXTRALIBS_XML!$EXTRALIBS_XML$ac_delim
50189 EXTRALIBS_HTML!$EXTRALIBS_HTML$ac_delim
50190 EXTRALIBS_ODBC!$EXTRALIBS_ODBC$ac_delim
50191 EXTRALIBS_GUI!$EXTRALIBS_GUI$ac_delim
50192 EXTRALIBS_OPENGL!$EXTRALIBS_OPENGL$ac_delim
50193 EXTRALIBS_SDL!$EXTRALIBS_SDL$ac_delim
50194 WITH_PLUGIN_SDL!$WITH_PLUGIN_SDL$ac_delim
50195 EXTRALIBS_GNOMEPRINT!$EXTRALIBS_GNOMEPRINT$ac_delim
50196 EXTRALIBS_GNOMEVFS!$EXTRALIBS_GNOMEVFS$ac_delim
50197 EXTRALIBS_HILDON!$EXTRALIBS_HILDON$ac_delim
50198 UNICODE!$UNICODE$ac_delim
50199 BUILD!$BUILD$ac_delim
50200 DEBUG_INFO!$DEBUG_INFO$ac_delim
50201 DEBUG_FLAG!$DEBUG_FLAG$ac_delim
50202 TOOLKIT_LOWERCASE!$TOOLKIT_LOWERCASE$ac_delim
50203 TOOLKIT_VERSION!$TOOLKIT_VERSION$ac_delim
50204 SAMPLES_RPATH_FLAG!$SAMPLES_RPATH_FLAG$ac_delim
50205 SAMPLES_RPATH_POSTLINK!$SAMPLES_RPATH_POSTLINK$ac_delim
50206 HOST_SUFFIX!$HOST_SUFFIX$ac_delim
50207 CPPUNIT_CFLAGS!$CPPUNIT_CFLAGS$ac_delim
50208 CPPUNIT_LIBS!$CPPUNIT_LIBS$ac_delim
50209 SET_MAKE!$SET_MAKE$ac_delim
50210 MAKE_SET!$MAKE_SET$ac_delim
50211 AROPTIONS!$AROPTIONS$ac_delim
50213 INSTALL_DIR!$INSTALL_DIR$ac_delim
50214 LDFLAGS_GUI!$LDFLAGS_GUI$ac_delim
50215 PLATFORM_UNIX!$PLATFORM_UNIX$ac_delim
50216 PLATFORM_WIN32!$PLATFORM_WIN32$ac_delim
50217 PLATFORM_MSDOS!$PLATFORM_MSDOS$ac_delim
50218 PLATFORM_MAC!$PLATFORM_MAC$ac_delim
50219 PLATFORM_MACOS!$PLATFORM_MACOS$ac_delim
50220 PLATFORM_MACOSX!$PLATFORM_MACOSX$ac_delim
50221 PLATFORM_OS2!$PLATFORM_OS2$ac_delim
50222 PLATFORM_BEOS!$PLATFORM_BEOS$ac_delim
50223 SO_SUFFIX!$SO_SUFFIX$ac_delim
50224 SO_SUFFIX_MODULE!$SO_SUFFIX_MODULE$ac_delim
50225 DLLIMP_SUFFIX!$DLLIMP_SUFFIX$ac_delim
50226 LIBPREFIX!$LIBPREFIX$ac_delim
50227 LIBEXT!$LIBEXT$ac_delim
50228 DLLPREFIX!$DLLPREFIX$ac_delim
50229 DLLPREFIX_MODULE!$DLLPREFIX_MODULE$ac_delim
50230 dlldir!$dlldir$ac_delim
50231 AIX_CXX_LD!$AIX_CXX_LD$ac_delim
50232 SHARED_LD_CC!$SHARED_LD_CC$ac_delim
50233 SHARED_LD_CXX!$SHARED_LD_CXX$ac_delim
50234 SHARED_LD_MODULE_CC!$SHARED_LD_MODULE_CC$ac_delim
50235 SHARED_LD_MODULE_CXX!$SHARED_LD_MODULE_CXX$ac_delim
50236 PIC_FLAG!$PIC_FLAG$ac_delim
50237 WINDOWS_IMPLIB!$WINDOWS_IMPLIB$ac_delim
50238 USE_SOVERSION!$USE_SOVERSION$ac_delim
50239 USE_SOVERLINUX!$USE_SOVERLINUX$ac_delim
50240 USE_SOVERSOLARIS!$USE_SOVERSOLARIS$ac_delim
50241 USE_SOVERCYGWIN!$USE_SOVERCYGWIN$ac_delim
50242 USE_MACVERSION!$USE_MACVERSION$ac_delim
50243 USE_SOSYMLINKS!$USE_SOSYMLINKS$ac_delim
50244 SONAME_FLAG!$SONAME_FLAG$ac_delim
50245 DEPS_TRACKING!$DEPS_TRACKING$ac_delim
50246 BK_DEPS!$BK_DEPS$ac_delim
50247 GCC_PCH!$GCC_PCH$ac_delim
50248 ICC_PCH!$ICC_PCH$ac_delim
50249 BK_MAKE_PCH!$BK_MAKE_PCH$ac_delim
50250 COND_BUILD_DEBUG!$COND_BUILD_DEBUG$ac_delim
50251 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT!$COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT$ac_delim
50252 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT!$COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT$ac_delim
50253 COND_BUILD_DEBUG_UNICODE_0!$COND_BUILD_DEBUG_UNICODE_0$ac_delim
50254 COND_BUILD_DEBUG_UNICODE_1!$COND_BUILD_DEBUG_UNICODE_1$ac_delim
50255 COND_BUILD_RELEASE!$COND_BUILD_RELEASE$ac_delim
50258 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
50260 elif $ac_last_try; then
50261 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
50262 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
50263 { (exit 1); exit 1; }; }
50265 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
50269 ac_eof
=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
50270 if test -n "$ac_eof"; then
50271 ac_eof
=`echo "$ac_eof" | sort -nru | sed 1q`
50272 ac_eof
=`expr $ac_eof + 1`
50275 cat >>$CONFIG_STATUS <<_ACEOF
50276 cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof
50277 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
50280 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
50281 s/^/s,@/; s/!/@,|#_!!_#|/
50284 s/'"$ac_delim"'$/,g/; t
50286 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
50287 ' >>$CONFIG_STATUS <conf$
$subs.
sed
50288 rm -f conf$
$subs.
sed
50289 cat >>$CONFIG_STATUS <<_ACEOF
50295 for ac_last_try
in false false false false false
:; do
50296 cat >conf$
$subs.
sed <<_ACEOF
50297 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT!$COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT$ac_delim
50298 COND_BUILD_RELEASE_UNICODE_0!$COND_BUILD_RELEASE_UNICODE_0$ac_delim
50299 COND_BUILD_RELEASE_UNICODE_1!$COND_BUILD_RELEASE_UNICODE_1$ac_delim
50300 COND_DEBUG_FLAG_1!$COND_DEBUG_FLAG_1$ac_delim
50301 COND_DEBUG_INFO_0!$COND_DEBUG_INFO_0$ac_delim
50302 COND_DEBUG_INFO_1!$COND_DEBUG_INFO_1$ac_delim
50303 COND_DEPS_TRACKING_0!$COND_DEPS_TRACKING_0$ac_delim
50304 COND_DEPS_TRACKING_1!$COND_DEPS_TRACKING_1$ac_delim
50305 COND_GCC_PCH_1!$COND_GCC_PCH_1$ac_delim
50306 COND_ICC_PCH_1!$COND_ICC_PCH_1$ac_delim
50307 COND_MONOLITHIC_0!$COND_MONOLITHIC_0$ac_delim
50308 COND_MONOLITHIC_0_SHARED_0!$COND_MONOLITHIC_0_SHARED_0$ac_delim
50309 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1!$COND_MONOLITHIC_0_SHARED_0_USE_AUI_1$ac_delim
50310 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1$ac_delim
50311 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1$ac_delim
50312 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1$ac_delim
50313 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1$ac_delim
50314 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1$ac_delim
50315 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1!$COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1$ac_delim
50316 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1!$COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1$ac_delim
50317 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1!$COND_MONOLITHIC_0_SHARED_0_USE_XRC_1$ac_delim
50318 COND_MONOLITHIC_0_SHARED_1!$COND_MONOLITHIC_0_SHARED_1$ac_delim
50319 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1!$COND_MONOLITHIC_0_SHARED_1_USE_AUI_1$ac_delim
50320 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1$ac_delim
50321 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1$ac_delim
50322 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1$ac_delim
50323 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1$ac_delim
50324 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1$ac_delim
50325 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1!$COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1$ac_delim
50326 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1!$COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1$ac_delim
50327 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1!$COND_MONOLITHIC_0_SHARED_1_USE_XRC_1$ac_delim
50328 COND_MONOLITHIC_0_USE_MEDIA_1!$COND_MONOLITHIC_0_USE_MEDIA_1$ac_delim
50329 COND_MONOLITHIC_0_USE_ODBC_1!$COND_MONOLITHIC_0_USE_ODBC_1$ac_delim
50330 COND_MONOLITHIC_1!$COND_MONOLITHIC_1$ac_delim
50331 COND_MONOLITHIC_1_SHARED_0!$COND_MONOLITHIC_1_SHARED_0$ac_delim
50332 COND_MONOLITHIC_1_SHARED_1!$COND_MONOLITHIC_1_SHARED_1$ac_delim
50333 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1!$COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1$ac_delim
50334 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1!$COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1$ac_delim
50335 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1!$COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1$ac_delim
50336 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1!$COND_PLATFORM_MACOSX_0_USE_SOVERSION_1$ac_delim
50337 COND_PLATFORM_MACOSX_1!$COND_PLATFORM_MACOSX_1$ac_delim
50338 COND_PLATFORM_MACOSX_1_TOOLKIT_!$COND_PLATFORM_MACOSX_1_TOOLKIT_$ac_delim
50339 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA!$COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA$ac_delim
50340 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK!$COND_PLATFORM_MACOSX_1_TOOLKIT_GTK$ac_delim
50341 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC!$COND_PLATFORM_MACOSX_1_TOOLKIT_MAC$ac_delim
50342 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1!$COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1$ac_delim
50343 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF!$COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF$ac_delim
50344 COND_PLATFORM_MACOSX_1_TOOLKIT_X11!$COND_PLATFORM_MACOSX_1_TOOLKIT_X11$ac_delim
50345 COND_PLATFORM_MACOSX_1_USE_GUI_1!$COND_PLATFORM_MACOSX_1_USE_GUI_1$ac_delim
50346 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1!$COND_PLATFORM_MACOSX_1_USE_SOVERSION_1$ac_delim
50347 COND_PLATFORM_MACOS_1!$COND_PLATFORM_MACOS_1$ac_delim
50348 COND_PLATFORM_MAC_1!$COND_PLATFORM_MAC_1$ac_delim
50349 COND_PLATFORM_MSDOS_0!$COND_PLATFORM_MSDOS_0$ac_delim
50350 COND_PLATFORM_MSDOS_1!$COND_PLATFORM_MSDOS_1$ac_delim
50351 COND_PLATFORM_OS2_1!$COND_PLATFORM_OS2_1$ac_delim
50352 COND_PLATFORM_UNIX_0!$COND_PLATFORM_UNIX_0$ac_delim
50353 COND_PLATFORM_UNIX_1!$COND_PLATFORM_UNIX_1$ac_delim
50354 COND_PLATFORM_UNIX_1_TOOLKIT_MGL!$COND_PLATFORM_UNIX_1_TOOLKIT_MGL$ac_delim
50355 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1!$COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1$ac_delim
50356 COND_PLATFORM_UNIX_1_USE_GUI_1!$COND_PLATFORM_UNIX_1_USE_GUI_1$ac_delim
50357 COND_PLATFORM_UNIX_1_USE_PLUGINS_0!$COND_PLATFORM_UNIX_1_USE_PLUGINS_0$ac_delim
50358 COND_PLATFORM_WIN32_0!$COND_PLATFORM_WIN32_0$ac_delim
50359 COND_PLATFORM_WIN32_1!$COND_PLATFORM_WIN32_1$ac_delim
50360 COND_SHARED_0!$COND_SHARED_0$ac_delim
50361 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0!$COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0$ac_delim
50362 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0!$COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0$ac_delim
50363 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0!$COND_SHARED_0_TOOLKIT_PM_WXUNIV_0$ac_delim
50364 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1!$COND_SHARED_0_USE_GUI_1_USE_OPENGL_1$ac_delim
50365 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN!$COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN$ac_delim
50366 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN!$COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN$ac_delim
50367 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN!$COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN$ac_delim
50368 COND_SHARED_0_USE_XRC_1!$COND_SHARED_0_USE_XRC_1$ac_delim
50369 COND_SHARED_0_WXUSE_EXPAT_BUILTIN!$COND_SHARED_0_WXUSE_EXPAT_BUILTIN$ac_delim
50370 COND_SHARED_0_WXUSE_ODBC_BUILTIN!$COND_SHARED_0_WXUSE_ODBC_BUILTIN$ac_delim
50371 COND_SHARED_0_WXUSE_REGEX_BUILTIN!$COND_SHARED_0_WXUSE_REGEX_BUILTIN$ac_delim
50372 COND_SHARED_0_WXUSE_ZLIB_BUILTIN!$COND_SHARED_0_WXUSE_ZLIB_BUILTIN$ac_delim
50373 COND_SHARED_1!$COND_SHARED_1$ac_delim
50374 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1!$COND_SHARED_1_USE_GUI_1_USE_OPENGL_1$ac_delim
50375 COND_SHARED_1_USE_XRC_1!$COND_SHARED_1_USE_XRC_1$ac_delim
50376 COND_TOOLKIT_!$COND_TOOLKIT_$ac_delim
50377 COND_TOOLKIT_COCOA!$COND_TOOLKIT_COCOA$ac_delim
50378 COND_TOOLKIT_COCOA_USE_GUI_1!$COND_TOOLKIT_COCOA_USE_GUI_1$ac_delim
50379 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0$ac_delim
50380 COND_TOOLKIT_DFB!$COND_TOOLKIT_DFB$ac_delim
50381 COND_TOOLKIT_DFB_USE_GUI_1!$COND_TOOLKIT_DFB_USE_GUI_1$ac_delim
50382 COND_TOOLKIT_GTK!$COND_TOOLKIT_GTK$ac_delim
50383 COND_TOOLKIT_GTK_TOOLKIT_VERSION_!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_$ac_delim
50384 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2$ac_delim
50385 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1$ac_delim
50386 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0$ac_delim
50387 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1!$COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1$ac_delim
50388 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0$ac_delim
50389 COND_TOOLKIT_GTK_USE_GUI_1!$COND_TOOLKIT_GTK_USE_GUI_1$ac_delim
50390 COND_TOOLKIT_MAC!$COND_TOOLKIT_MAC$ac_delim
50391 COND_TOOLKIT_MAC_USE_GUI_1!$COND_TOOLKIT_MAC_USE_GUI_1$ac_delim
50392 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0$ac_delim
50393 COND_TOOLKIT_MGL!$COND_TOOLKIT_MGL$ac_delim
50396 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
50398 elif $ac_last_try; then
50399 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
50400 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
50401 { (exit 1); exit 1; }; }
50403 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
50407 ac_eof
=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
50408 if test -n "$ac_eof"; then
50409 ac_eof
=`echo "$ac_eof" | sort -nru | sed 1q`
50410 ac_eof
=`expr $ac_eof + 1`
50413 cat >>$CONFIG_STATUS <<_ACEOF
50414 cat >"\$tmp/subs-3.sed" <<\CEOF$ac_eof
50415 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
50418 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
50419 s/^/s,@/; s/!/@,|#_!!_#|/
50422 s/'"$ac_delim"'$/,g/; t
50424 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
50425 ' >>$CONFIG_STATUS <conf$
$subs.
sed
50426 rm -f conf$
$subs.
sed
50427 cat >>$CONFIG_STATUS <<_ACEOF
50433 for ac_last_try
in false false false false false
:; do
50434 cat >conf$
$subs.
sed <<_ACEOF
50435 COND_TOOLKIT_MGL_USE_GUI_1!$COND_TOOLKIT_MGL_USE_GUI_1$ac_delim
50436 COND_TOOLKIT_MOTIF!$COND_TOOLKIT_MOTIF$ac_delim
50437 COND_TOOLKIT_MOTIF_USE_GUI_1!$COND_TOOLKIT_MOTIF_USE_GUI_1$ac_delim
50438 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0$ac_delim
50439 COND_TOOLKIT_MSW!$COND_TOOLKIT_MSW$ac_delim
50440 COND_TOOLKIT_MSW_USE_GUI_1!$COND_TOOLKIT_MSW_USE_GUI_1$ac_delim
50441 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0$ac_delim
50442 COND_TOOLKIT_MSW_WXUNIV_0!$COND_TOOLKIT_MSW_WXUNIV_0$ac_delim
50443 COND_TOOLKIT_PM!$COND_TOOLKIT_PM$ac_delim
50444 COND_TOOLKIT_PM_USE_GUI_1!$COND_TOOLKIT_PM_USE_GUI_1$ac_delim
50445 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0$ac_delim
50446 COND_TOOLKIT_WINCE!$COND_TOOLKIT_WINCE$ac_delim
50447 COND_TOOLKIT_WINCE_USE_GUI_1!$COND_TOOLKIT_WINCE_USE_GUI_1$ac_delim
50448 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0$ac_delim
50449 COND_TOOLKIT_WINCE_WXUNIV_0!$COND_TOOLKIT_WINCE_WXUNIV_0$ac_delim
50450 COND_TOOLKIT_X11!$COND_TOOLKIT_X11$ac_delim
50451 COND_TOOLKIT_X11_USE_GUI_1!$COND_TOOLKIT_X11_USE_GUI_1$ac_delim
50452 COND_UNICODE_1!$COND_UNICODE_1$ac_delim
50453 COND_USE_EXCEPTIONS_0!$COND_USE_EXCEPTIONS_0$ac_delim
50454 COND_USE_EXCEPTIONS_1!$COND_USE_EXCEPTIONS_1$ac_delim
50455 COND_USE_GUI_0!$COND_USE_GUI_0$ac_delim
50456 COND_USE_GUI_1!$COND_USE_GUI_1$ac_delim
50457 COND_USE_GUI_1_WXUNIV_0!$COND_USE_GUI_1_WXUNIV_0$ac_delim
50458 COND_USE_GUI_1_WXUNIV_1!$COND_USE_GUI_1_WXUNIV_1$ac_delim
50459 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN!$COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN$ac_delim
50460 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN!$COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN$ac_delim
50461 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN!$COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN$ac_delim
50462 COND_USE_ODBC_1!$COND_USE_ODBC_1$ac_delim
50463 COND_USE_OPENGL_1!$COND_USE_OPENGL_1$ac_delim
50464 COND_USE_PCH_1!$COND_USE_PCH_1$ac_delim
50465 COND_USE_PLUGINS_0!$COND_USE_PLUGINS_0$ac_delim
50466 COND_USE_RTTI_0!$COND_USE_RTTI_0$ac_delim
50467 COND_USE_RTTI_1!$COND_USE_RTTI_1$ac_delim
50468 COND_USE_SOSYMLINKS_1!$COND_USE_SOSYMLINKS_1$ac_delim
50469 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1!$COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1$ac_delim
50470 COND_USE_SOVERLINUX_1!$COND_USE_SOVERLINUX_1$ac_delim
50471 COND_USE_SOVERSION_0!$COND_USE_SOVERSION_0$ac_delim
50472 COND_USE_SOVERSOLARIS_1!$COND_USE_SOVERSOLARIS_1$ac_delim
50473 COND_USE_THREADS_0!$COND_USE_THREADS_0$ac_delim
50474 COND_USE_THREADS_1!$COND_USE_THREADS_1$ac_delim
50475 COND_USE_XRC_1!$COND_USE_XRC_1$ac_delim
50476 COND_WINDOWS_IMPLIB_1!$COND_WINDOWS_IMPLIB_1$ac_delim
50477 COND_WITH_PLUGIN_SDL_1!$COND_WITH_PLUGIN_SDL_1$ac_delim
50478 COND_WXUNIV_0!$COND_WXUNIV_0$ac_delim
50479 COND_WXUNIV_1!$COND_WXUNIV_1$ac_delim
50480 COND_WXUSE_EXPAT_BUILTIN!$COND_WXUSE_EXPAT_BUILTIN$ac_delim
50481 COND_WXUSE_LIBJPEG_BUILTIN!$COND_WXUSE_LIBJPEG_BUILTIN$ac_delim
50482 COND_WXUSE_LIBPNG_BUILTIN!$COND_WXUSE_LIBPNG_BUILTIN$ac_delim
50483 COND_WXUSE_LIBTIFF_BUILTIN!$COND_WXUSE_LIBTIFF_BUILTIN$ac_delim
50484 COND_WXUSE_ODBC_BUILTIN!$COND_WXUSE_ODBC_BUILTIN$ac_delim
50485 COND_WXUSE_REGEX_BUILTIN!$COND_WXUSE_REGEX_BUILTIN$ac_delim
50486 COND_WXUSE_ZLIB_BUILTIN!$COND_WXUSE_ZLIB_BUILTIN$ac_delim
50487 SHARED!$SHARED$ac_delim
50488 WX_LIBRARY_BASENAME_NOGUI!$WX_LIBRARY_BASENAME_NOGUI$ac_delim
50489 WX_LIBRARY_BASENAME_GUI!$WX_LIBRARY_BASENAME_GUI$ac_delim
50490 USE_GUI!$USE_GUI$ac_delim
50491 AFMINSTALL!$AFMINSTALL$ac_delim
50492 WIN32INSTALL!$WIN32INSTALL$ac_delim
50493 TOOLKIT!$TOOLKIT$ac_delim
50494 TOOLKIT_DIR!$TOOLKIT_DIR$ac_delim
50495 TOOLCHAIN_NAME!$TOOLCHAIN_NAME$ac_delim
50496 TOOLCHAIN_FULLNAME!$TOOLCHAIN_FULLNAME$ac_delim
50497 cross_compiling!$cross_compiling$ac_delim
50498 WIDGET_SET!$WIDGET_SET$ac_delim
50499 WX_RELEASE!$WX_RELEASE$ac_delim
50500 WX_VERSION!$WX_VERSION$ac_delim
50501 WX_SUBVERSION!$WX_SUBVERSION$ac_delim
50502 WX_CHARTYPE!$WX_CHARTYPE$ac_delim
50503 WX_DEBUGTYPE!$WX_DEBUGTYPE$ac_delim
50504 WXCONFIG_CPPFLAGS!$WXCONFIG_CPPFLAGS$ac_delim
50505 WXCONFIG_CFLAGS!$WXCONFIG_CFLAGS$ac_delim
50506 WXCONFIG_CXXFLAGS!$WXCONFIG_CXXFLAGS$ac_delim
50507 WXCONFIG_LIBS!$WXCONFIG_LIBS$ac_delim
50508 WXCONFIG_RPATH!$WXCONFIG_RPATH$ac_delim
50509 WXCONFIG_LDFLAGS_GUI!$WXCONFIG_LDFLAGS_GUI$ac_delim
50510 WXCONFIG_RESFLAGS!$WXCONFIG_RESFLAGS$ac_delim
50511 EXE_LINKER!$EXE_LINKER$ac_delim
50512 GUIDIST!$GUIDIST$ac_delim
50513 DISTDIR!$DISTDIR$ac_delim
50514 SAMPLES_SUBDIRS!$SAMPLES_SUBDIRS$ac_delim
50515 LDFLAGS_GL!$LDFLAGS_GL$ac_delim
50516 OPENGL_LIBS!$OPENGL_LIBS$ac_delim
50517 DMALLOC_LIBS!$DMALLOC_LIBS$ac_delim
50518 WX_VERSION_TAG!$WX_VERSION_TAG$ac_delim
50519 RESCOMP!$RESCOMP$ac_delim
50520 RESFLAGS!$RESFLAGS$ac_delim
50521 RESPROGRAMOBJ!$RESPROGRAMOBJ$ac_delim
50522 WX_RESOURCES_MACOSX_ASCII!$WX_RESOURCES_MACOSX_ASCII$ac_delim
50523 WX_RESOURCES_MACOSX_DATA!$WX_RESOURCES_MACOSX_DATA$ac_delim
50524 LIBWXMACRES!$LIBWXMACRES$ac_delim
50525 POSTLINK_COMMAND!$POSTLINK_COMMAND$ac_delim
50526 MACSETFILE!$MACSETFILE$ac_delim
50528 CPPUNIT_CONFIG!$CPPUNIT_CONFIG$ac_delim
50529 LIBOBJS!$LIBOBJS$ac_delim
50530 LTLIBOBJS!$LTLIBOBJS$ac_delim
50533 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 96; then
50535 elif $ac_last_try; then
50536 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
50537 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
50538 { (exit 1); exit 1; }; }
50540 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
50544 ac_eof
=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
50545 if test -n "$ac_eof"; then
50546 ac_eof
=`echo "$ac_eof" | sort -nru | sed 1q`
50547 ac_eof
=`expr $ac_eof + 1`
50550 cat >>$CONFIG_STATUS <<_ACEOF
50551 cat >"\$tmp/subs-4.sed" <<\CEOF$ac_eof
50552 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
50555 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
50556 s/^/s,@/; s/!/@,|#_!!_#|/
50559 s/'"$ac_delim"'$/,g/; t
50561 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
50562 ' >>$CONFIG_STATUS <conf$
$subs.
sed
50563 rm -f conf$
$subs.
sed
50564 cat >>$CONFIG_STATUS <<_ACEOF
50569 # VPATH may cause trouble with some makes, so we remove $(srcdir),
50570 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
50571 # trailing colons and then remove the whole line if VPATH becomes empty
50572 # (actually we leave an empty line to preserve line numbers).
50573 if test "x$srcdir" = x.
; then
50574 ac_vpsub
='/^[ ]*VPATH[ ]*=/{
50575 s/:*\$(srcdir):*/:/
50576 s/:*\${srcdir}:*/:/
50578 s/^\([^=]*=[ ]*\):*/\1/
50584 cat >>$CONFIG_STATUS <<\_ACEOF
50585 fi # test -n "$CONFIG_FILES"
50588 for ac_tag
in :F
$CONFIG_FILES :H
$CONFIG_HEADERS :C
$CONFIG_COMMANDS
50591 :[FHLC
]) ac_mode
=$ac_tag; continue;;
50593 case $ac_mode$ac_tag in
50595 :L
* | :C
*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
50596 echo "$as_me: error: Invalid tag $ac_tag." >&2;}
50597 { (exit 1); exit 1; }; };;
50598 :[FH
]-) ac_tag
=-:-;;
50599 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
50616 -) ac_f
="$tmp/stdin";;
50617 *) # Look for the file first in the build tree, then in the source tree
50618 # (if the path is not absolute). The absolute path cannot be DOS-style,
50619 # because $ac_f cannot contain `:'.
50623 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
50625 { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
50626 echo "$as_me: error: cannot find input file: $ac_f" >&2;}
50627 { (exit 1); exit 1; }; };;
50629 ac_file_inputs
="$ac_file_inputs $ac_f"
50632 # Let's still pretend it is `configure' which instantiates (i.e., don't
50633 # use $as_me), people would be surprised to read:
50634 # /* config.h. Generated by config.status. */
50635 configure_input
="Generated from "`IFS=:
50636 echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
50637 if test x
"$ac_file" != x
-; then
50638 configure_input
="$ac_file. $configure_input"
50639 { echo "$as_me:$LINENO: creating $ac_file" >&5
50640 echo "$as_me: creating $ac_file" >&6;}
50644 *:-:* | *:-) cat >"$tmp/stdin";;
50649 ac_dir
=`$as_dirname -- "$ac_file" ||
50650 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
50651 X"$ac_file" : 'X\(//\)[^/]' \| \
50652 X"$ac_file" : 'X\(//\)$' \| \
50653 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
50655 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
50659 /^X\(\/\/\)[^/].*/{
50674 -*) as_dir
=.
/$as_dir;;
50676 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
50680 *\'*) as_qdir
=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
50681 *) as_qdir
=$as_dir;;
50683 as_dirs
="'$as_qdir' $as_dirs"
50684 as_dir
=`$as_dirname -- "$as_dir" ||
50685 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
50686 X"$as_dir" : 'X\(//\)[^/]' \| \
50687 X"$as_dir" : 'X\(//\)$' \| \
50688 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
50690 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
50694 /^X\(\/\/\)[^/].*/{
50707 test -d "$as_dir" && break
50709 test -z "$as_dirs" || eval "mkdir $as_dirs"
50710 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
50711 echo "$as_me: error: cannot create directory $as_dir" >&2;}
50712 { (exit 1); exit 1; }; }; }
50716 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
50718 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
50719 # A ".." for each directory in $ac_dir_suffix.
50720 ac_top_builddir_sub
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
50721 case $ac_top_builddir_sub in
50722 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
50723 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
50726 ac_abs_top_builddir
=$ac_pwd
50727 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
50728 # for backward compatibility:
50729 ac_top_builddir
=$ac_top_build_prefix
50732 .
) # We are building in place.
50734 ac_top_srcdir
=$ac_top_builddir_sub
50735 ac_abs_top_srcdir
=$ac_pwd ;;
50736 [\\/]* | ?
:[\\/]* ) # Absolute name.
50737 ac_srcdir
=$srcdir$ac_dir_suffix;
50738 ac_top_srcdir
=$srcdir
50739 ac_abs_top_srcdir
=$srcdir ;;
50740 *) # Relative name.
50741 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
50742 ac_top_srcdir
=$ac_top_build_prefix$srcdir
50743 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
50745 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
50755 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
50756 *) ac_INSTALL
=$ac_top_build_prefix$INSTALL ;;
50760 cat >>$CONFIG_STATUS <<\_ACEOF
50761 # If the template does not know about datarootdir, expand it.
50762 # FIXME: This hack should be removed a few years after 2.60.
50763 ac_datarootdir_hack
=; ac_datarootdir_seen
=
50765 case `sed -n '/datarootdir/ {
50774 ' $ac_file_inputs` in
50775 *datarootdir
*) ac_datarootdir_seen
=yes;;
50776 *@datadir@
*|*@docdir@
*|*@infodir@
*|*@localedir@
*|*@mandir@
*)
50777 { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
50778 echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
50780 cat >>$CONFIG_STATUS <<_ACEOF
50781 ac_datarootdir_hack='
50782 s&@datadir@&$datadir&g
50783 s&@docdir@&$docdir&g
50784 s&@infodir@&$infodir&g
50785 s&@localedir@&$localedir&g
50786 s&@mandir@&$mandir&g
50787 s&\\\${datarootdir}&$datarootdir&g' ;;
50791 # Neutralize VPATH when `$srcdir' = `.'.
50792 # Shell code in configure.ac might set extrasub.
50793 # FIXME: do we really want to maintain this feature?
50794 cat >>$CONFIG_STATUS <<_ACEOF
50798 cat >>$CONFIG_STATUS <<\_ACEOF
50800 /@
[a
-zA-Z_][a
-zA-Z_0-9]*@
/!b
50801 s
&@configure_input@
&$configure_input&;t t
50802 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
50803 s
&@srcdir@
&$ac_srcdir&;t t
50804 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
50805 s
&@top_srcdir@
&$ac_top_srcdir&;t t
50806 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
50807 s
&@builddir@
&$ac_builddir&;t t
50808 s
&@abs_builddir@
&$ac_abs_builddir&;t t
50809 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
50810 s
&@INSTALL@
&$ac_INSTALL&;t t
50811 $ac_datarootdir_hack
50812 " $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 's/|#_!!_#|//g' >$tmp/out
50814 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
50815 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out
"`; test -n "$ac_out"; } &&
50816 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out
"`; test -z "$ac_out"; } &&
50817 { echo "$as_me:$LINENO: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
50818 which seems to be undefined. Please make sure it is defined." >&5
50819 echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
50820 which seems to be undefined. Please make sure it is defined." >&2;}
50824 -) cat "$tmp/out"; rm -f "$tmp/out";;
50825 *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
50834 # Transform confdefs.h into a sed script `conftest.defines', that
50835 # substitutes the proper values into config.h.in to produce config.h.
50836 rm -f conftest.defines conftest.
tail
50837 # First, append a space to every undef/define line, to ease matching.
50838 echo 's/$/ /' >conftest.defines
50839 # Then, protect against being on the right side of a sed subst, or in
50840 # an unquoted here document, in config.status. If some macros were
50841 # called several times there might be several #defines for the same
50842 # symbol, which is useless. But do not sort them, since the last
50843 # AC_DEFINE must be honored.
50844 ac_word_re
=[_
$as_cr_Letters][_
$as_cr_alnum]*
50845 # These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
50846 # NAME is the cpp macro being defined, VALUE is the value it is being given.
50847 # PARAMS is the parameter list in the macro definition--in most cases, it's
50848 # just an empty string.
50849 ac_dA
='s,^\\([ #]*\\)[^ ]*\\([ ]*'
50850 ac_dB
='\\)[ (].*,\\1define\\2'
50858 s/^[ ]*#[ ]*define[ ][ ]*//
50863 s/^\('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
50864 s/^\('"$ac_word_re"'\)[ ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
50865 ' >>conftest.defines
50867 # Remove the space that was appended to ease matching.
50868 # Then replace #undef with comments. This is necessary, for
50869 # example, in the case of _POSIX_SOURCE, which is predefined and required
50870 # on some systems where configure will not decide to define it.
50871 # (The regexp can be short, since the line contains either #define or #undef.)
50873 s,^[ #]*u.*,/* & */,' >>conftest.defines
50875 # Break up conftest.defines:
50876 ac_max_sed_lines
=50
50878 # First sed command is: sed -f defines.sed $ac_file_inputs >"$tmp/out1"
50879 # Second one is: sed -f defines.sed "$tmp/out1" >"$tmp/out2"
50880 # Third one will be: sed -f defines.sed "$tmp/out2" >"$tmp/out1"
50882 ac_in
='$ac_file_inputs'
50883 ac_out
='"$tmp/out1"'
50884 ac_nxt
='"$tmp/out2"'
50888 # Write a here document:
50889 cat >>$CONFIG_STATUS <<_ACEOF
50890 # First, check the format of the line:
50891 cat >"\$tmp/defines.sed" <<\\CEOF
50892 /^[ ]*#[ ]*undef[ ][ ]*$ac_word_re[ ]*\$/b def
50893 /^[ ]*#[ ]*define[ ][ ]*$ac_word_re[( ]/b def
50897 sed ${ac_max_sed_lines}q conftest.defines
>>$CONFIG_STATUS
50899 sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
50900 ac_in
=$ac_out; ac_out
=$ac_nxt; ac_nxt
=$ac_in
50901 sed 1,${ac_max_sed_lines}d conftest.defines
>conftest.
tail
50902 grep . conftest.
tail >/dev
/null
|| break
50903 rm -f conftest.defines
50904 mv conftest.
tail conftest.defines
50906 rm -f conftest.defines conftest.
tail
50908 echo "ac_result=$ac_in" >>$CONFIG_STATUS
50909 cat >>$CONFIG_STATUS <<\_ACEOF
50910 if test x
"$ac_file" != x
-; then
50911 echo "/* $configure_input */" >"$tmp/config.h"
50912 cat "$ac_result" >>"$tmp/config.h"
50913 if diff $ac_file "$tmp/config.h" >/dev
/null
2>&1; then
50914 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
50915 echo "$as_me: $ac_file is unchanged" >&6;}
50918 mv "$tmp/config.h" $ac_file
50921 echo "/* $configure_input */"
50927 :C
) { echo "$as_me:$LINENO: executing $ac_file commands" >&5
50928 echo "$as_me: executing $ac_file commands" >&6;}
50933 case $ac_file$ac_mode in
50935 mkdir -p $outdir &&
50936 $CPP $infile | sed 's/^# *[1-9].*//;s/^ *//;/./,/^$/!d' > $outdir/rcdefs.h
50938 "lib/wx/config/${TOOLCHAIN_FULLNAME}":F
) chmod +x lib
/wx
/config
/${TOOLCHAIN_FULLNAME} ;;
50939 "lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}":F
) chmod +x lib
/wx
/config
/inplace
-${TOOLCHAIN_FULLNAME} ;;
50940 "wx-config":C
) rm -f wx
-config
50941 ${LN_S} lib
/wx
/config
/inplace
-${TOOLCHAIN_FULLNAME} wx
-config
50948 { (exit 0); exit 0; }
50950 chmod +x
$CONFIG_STATUS
50951 ac_clean_files
=$ac_clean_files_save
50954 # configure is writing to config.log, and then calls config.status.
50955 # config.status does its own redirection, appending to config.log.
50956 # Unfortunately, on DOS this fails, as config.log is still kept open
50957 # by configure, so config.status won't be able to write to it; its
50958 # output is simply discarded. So we exec the FD to /dev/null,
50959 # effectively closing config.log, so it can be properly (re)opened and
50960 # appended to by config.status. When coming back to configure, we
50961 # need to make the FD available again.
50962 if test "$no_create" != yes; then
50964 ac_config_status_args
=
50965 test "$silent" = yes &&
50966 ac_config_status_args
="$ac_config_status_args --quiet"
50968 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
50970 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
50971 # would make configure fail if this is the last instruction.
50972 $ac_cs_success || { (exit 1); exit 1; }
50976 # CONFIG_SUBDIRS section.
50978 if test "$no_recursion" != yes; then
50980 # Remove --cache-file and --srcdir arguments so they do not pile up.
50981 ac_sub_configure_args
=
50983 eval "set x $ac_configure_args"
50987 if test -n "$ac_prev"; then
50992 -cache-file | --cache-file | --cache-fil | --cache-fi \
50993 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
50994 ac_prev
=cache_file
;;
50995 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
50996 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \
50999 --config-cache | -C)
51001 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
51003 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
51005 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
51007 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
51011 *\'*) ac_arg
=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
51013 ac_sub_configure_args
="$ac_sub_configure_args '$ac_arg'" ;;
51017 # Always prepend --prefix to ensure using the same prefix
51018 # in subdir configurations.
51019 ac_arg
="--prefix=$prefix"
51021 *\'*) ac_arg
=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
51023 ac_sub_configure_args
="'$ac_arg' $ac_sub_configure_args"
51026 if test "$silent" = yes; then
51027 ac_sub_configure_args
="--silent $ac_sub_configure_args"
51031 for ac_dir
in : $subdirs; do test "x$ac_dir" = x
: && continue
51033 # Do not complain, so a configure script can configure whichever
51034 # parts of a large source tree are present.
51035 test -d "$srcdir/$ac_dir" || continue
51037 ac_msg
="=== configuring in $ac_dir (`pwd`/$ac_dir)"
51038 echo "$as_me:$LINENO: $ac_msg" >&5
51042 -*) as_dir
=.
/$as_dir;;
51044 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
51048 *\'*) as_qdir
=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
51049 *) as_qdir
=$as_dir;;
51051 as_dirs
="'$as_qdir' $as_dirs"
51052 as_dir
=`$as_dirname -- "$as_dir" ||
51053 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
51054 X"$as_dir" : 'X\(//\)[^/]' \| \
51055 X"$as_dir" : 'X\(//\)$' \| \
51056 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
51058 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
51062 /^X\(\/\/\)[^/].*/{
51075 test -d "$as_dir" && break
51077 test -z "$as_dirs" || eval "mkdir $as_dirs"
51078 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
51079 echo "$as_me: error: cannot create directory $as_dir" >&2;}
51080 { (exit 1); exit 1; }; }; }
51084 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
51086 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
51087 # A ".." for each directory in $ac_dir_suffix.
51088 ac_top_builddir_sub
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
51089 case $ac_top_builddir_sub in
51090 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
51091 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
51094 ac_abs_top_builddir
=$ac_pwd
51095 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
51096 # for backward compatibility:
51097 ac_top_builddir
=$ac_top_build_prefix
51100 .
) # We are building in place.
51102 ac_top_srcdir
=$ac_top_builddir_sub
51103 ac_abs_top_srcdir
=$ac_pwd ;;
51104 [\\/]* | ?
:[\\/]* ) # Absolute name.
51105 ac_srcdir
=$srcdir$ac_dir_suffix;
51106 ac_top_srcdir
=$srcdir
51107 ac_abs_top_srcdir
=$srcdir ;;
51108 *) # Relative name.
51109 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
51110 ac_top_srcdir
=$ac_top_build_prefix$srcdir
51111 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
51113 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
51118 # Check for guested configure; otherwise get Cygnus style configure.
51119 if test -f "$ac_srcdir/configure.gnu"; then
51120 ac_sub_configure
=$ac_srcdir/configure.gnu
51121 elif test -f "$ac_srcdir/configure"; then
51122 ac_sub_configure
=$ac_srcdir/configure
51123 elif test -f "$ac_srcdir/configure.in"; then
51124 # This should be Cygnus configure.
51125 ac_sub_configure
=$ac_aux_dir/configure
51127 { echo "$as_me:$LINENO: WARNING: no configuration information is in $ac_dir" >&5
51128 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
51132 # The recursion is here.
51133 if test -n "$ac_sub_configure"; then
51134 # Make the cache file name correct relative to the subdirectory.
51135 case $cache_file in
51136 [\\/]* | ?
:[\\/]* ) ac_sub_cache_file
=$cache_file ;;
51137 *) # Relative name.
51138 ac_sub_cache_file
=$ac_top_build_prefix$cache_file ;;
51141 { echo "$as_me:$LINENO: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
51142 echo "$as_me: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
51143 # The eval makes quoting arguments work.
51144 eval "\$SHELL \"\$ac_sub_configure\" $ac_sub_configure_args \
51145 --cache-file=\"\$ac_sub_cache_file\" --srcdir=\"\$ac_srcdir\"" ||
51146 { { echo "$as_me:$LINENO: error: $ac_sub_configure failed for $ac_dir" >&5
51147 echo "$as_me: error: $ac_sub_configure failed for $ac_dir" >&2;}
51148 { (exit 1); exit 1; }; }
51157 echo "Configured wxWidgets ${WX_VERSION} for \`${host}'"
51159 echo " Which GUI toolkit should wxWidgets use? ${TOOLKIT_DESC}"
51160 echo " Should wxWidgets be compiled into single library? ${wxUSE_MONOLITHIC:-yes}"
51162 echo " Should wxWidgets be compiled in debug mode? ${wxUSE_DEBUG:-no}"
51163 echo " Should wxWidgets be linked as a shared library? ${wxUSE_SHARED:-no}"
51164 echo " Should wxWidgets be compiled in Unicode mode? ${wxUSE_UNICODE:-no}"
51166 echo " What level of wxWidgets compatibility should be enabled?"
51167 echo " wxWidgets 2.6 ${WXWIN_COMPATIBILITY_2_6:-no}"
51168 echo " wxWidgets 2.8 ${WXWIN_COMPATIBILITY_2_8:-yes}"
51170 echo " Which libraries should wxWidgets use?"
51171 echo " jpeg ${wxUSE_LIBJPEG-none}"
51172 echo " png ${wxUSE_LIBPNG-none}"
51173 echo " regex ${wxUSE_REGEX}"
51174 echo " tiff ${wxUSE_LIBTIFF-none}"
51175 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
51176 echo " xpm ${wxUSE_LIBXPM-none}"
51178 echo " zlib ${wxUSE_ZLIB}"
51179 echo " odbc ${wxUSE_ODBC}"
51180 echo " expat ${wxUSE_EXPAT}"
51181 echo " libmspack ${wxUSE_LIBMSPACK}"
51182 echo " sdl ${wxUSE_LIBSDL}"